"use strict"; !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="47f28e36-e103-5fca-be3d-863bb9206032")}catch(e){}}(); (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7760],{58867:(t,e,n)=>{n.d(e,{s:()=>r});var r=n(95677).K.instance()},4291:(t,e,n)=>{n.d(e,{q:()=>b});var r=function(){var t=function(e,n){return(t=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(){function t(){}return t.prototype.createHistogram=function(t,e){return f},t.prototype.createCounter=function(t,e){return _},t.prototype.createUpDownCounter=function(t,e){return g},t.prototype.createObservableGauge=function(t,e){return E},t.prototype.createObservableCounter=function(t,e){return m},t.prototype.createObservableUpDownCounter=function(t,e){return v},t.prototype.addBatchObservableCallback=function(t,e){},t.prototype.removeBatchObservableCallback=function(t){},t}(),s=function(){},o=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.add=function(t,e){},e}(s),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.add=function(t,e){},e}(s),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e.prototype.record=function(t,e){},e}(s),c=function(){function t(){}return t.prototype.addCallback=function(t){},t.prototype.removeCallback=function(t){},t}(),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(c),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(c),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return r(e,t),e}(c),d=new i,_=new o,f=new u,g=new a,m=new l,E=new p,v=new h,y=new(function(){function t(){}return t.prototype.getMeter=function(t,e,n){return d},t}()),T=n(60591),S=n(95677),O="metrics",b=(function(){function t(){}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalMeterProvider=function(t){return(0,T.$G)(O,t,S.K.instance())},t.prototype.getMeterProvider=function(){return(0,T.mS)(O)||y},t.prototype.getMeter=function(t,e,n){return this.getMeterProvider().getMeter(t,e,n)},t.prototype.disable=function(){(0,T.kv)(O,S.K.instance())},t})().getInstance()},31858:(t,e,n)=>{var r;n.d(e,{V:()=>r}),function(t){t[t.SUCCESS=0]="SUCCESS",t[t.FAILED=1]="FAILED"}(r||(r={}))},80891:(t,e,n)=>{n.d(e,{s:()=>s});var r=n(58867),i=function(t){r.s.error("string"==typeof t?t:JSON.stringify(function(t){for(var e={},n=t;null!==n;)Object.getOwnPropertyNames(n).forEach(function(t){if(!e[t]){var r=n[t];r&&(e[t]=String(r))}}),n=Object.getPrototypeOf(n);return e}(t)))};function s(t){try{i(t)}catch(t){}}},76115:(t,e,n)=>{n.d(e,{_:()=>s});var r=n(37484),i=n(84333);function s(){var t=(0,r.Nq)(i.X);return Object.assign({},r.Uz,t)}},84333:(t,e,n)=>{n.d(e,{X:()=>r});var r="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{}},37484:(t,e,n)=>{n.d(e,{Nq:()=>_,Uz:()=>h,aE:()=>l,fv:()=>p,wn:()=>f});var r=n(28040),i=n(22510),s=n(84333),o=n(73124),a=["OTEL_SDK_DISABLED"],u=["OTEL_BSP_EXPORT_TIMEOUT","OTEL_BSP_MAX_EXPORT_BATCH_SIZE","OTEL_BSP_MAX_QUEUE_SIZE","OTEL_BSP_SCHEDULE_DELAY","OTEL_BLRP_EXPORT_TIMEOUT","OTEL_BLRP_MAX_EXPORT_BATCH_SIZE","OTEL_BLRP_MAX_QUEUE_SIZE","OTEL_BLRP_SCHEDULE_DELAY","OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_ATTRIBUTE_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT","OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT","OTEL_SPAN_EVENT_COUNT_LIMIT","OTEL_SPAN_LINK_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT","OTEL_EXPORTER_OTLP_TIMEOUT","OTEL_EXPORTER_OTLP_TRACES_TIMEOUT","OTEL_EXPORTER_OTLP_METRICS_TIMEOUT","OTEL_EXPORTER_OTLP_LOGS_TIMEOUT","OTEL_EXPORTER_JAEGER_AGENT_PORT"],c=["OTEL_NO_PATCH_MODULES","OTEL_PROPAGATORS"],l=1/0,p=128,h={OTEL_SDK_DISABLED:!1,CONTAINER_NAME:"",ECS_CONTAINER_METADATA_URI_V4:"",ECS_CONTAINER_METADATA_URI:"",HOSTNAME:"",KUBERNETES_SERVICE_HOST:"",NAMESPACE:"",OTEL_BSP_EXPORT_TIMEOUT:3e4,OTEL_BSP_MAX_EXPORT_BATCH_SIZE:512,OTEL_BSP_MAX_QUEUE_SIZE:2048,OTEL_BSP_SCHEDULE_DELAY:5e3,OTEL_BLRP_EXPORT_TIMEOUT:3e4,OTEL_BLRP_MAX_EXPORT_BATCH_SIZE:512,OTEL_BLRP_MAX_QUEUE_SIZE:2048,OTEL_BLRP_SCHEDULE_DELAY:5e3,OTEL_EXPORTER_JAEGER_AGENT_HOST:"",OTEL_EXPORTER_JAEGER_AGENT_PORT:6832,OTEL_EXPORTER_JAEGER_ENDPOINT:"",OTEL_EXPORTER_JAEGER_PASSWORD:"",OTEL_EXPORTER_JAEGER_USER:"",OTEL_EXPORTER_OTLP_ENDPOINT:"",OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:"",OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:"",OTEL_EXPORTER_OTLP_LOGS_ENDPOINT:"",OTEL_EXPORTER_OTLP_HEADERS:"",OTEL_EXPORTER_OTLP_TRACES_HEADERS:"",OTEL_EXPORTER_OTLP_METRICS_HEADERS:"",OTEL_EXPORTER_OTLP_LOGS_HEADERS:"",OTEL_EXPORTER_OTLP_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_TRACES_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_METRICS_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_LOGS_TIMEOUT:1e4,OTEL_EXPORTER_ZIPKIN_ENDPOINT:"http://localhost:9411/api/v2/spans",OTEL_LOG_LEVEL:r.u.INFO,OTEL_NO_PATCH_MODULES:[],OTEL_PROPAGATORS:["tracecontext","baggage"],OTEL_RESOURCE_ATTRIBUTES:"",OTEL_SERVICE_NAME:"",OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT:l,OTEL_ATTRIBUTE_COUNT_LIMIT:p,OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT:l,OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT:p,OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT:l,OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT:p,OTEL_SPAN_EVENT_COUNT_LIMIT:128,OTEL_SPAN_LINK_COUNT_LIMIT:128,OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT:128,OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT:128,OTEL_TRACES_EXPORTER:"",OTEL_TRACES_SAMPLER:i.R.ParentBasedAlwaysOn,OTEL_TRACES_SAMPLER_ARG:"",OTEL_LOGS_EXPORTER:"",OTEL_EXPORTER_OTLP_INSECURE:"",OTEL_EXPORTER_OTLP_TRACES_INSECURE:"",OTEL_EXPORTER_OTLP_METRICS_INSECURE:"",OTEL_EXPORTER_OTLP_LOGS_INSECURE:"",OTEL_EXPORTER_OTLP_CERTIFICATE:"",OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE:"",OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE:"",OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE:"",OTEL_EXPORTER_OTLP_COMPRESSION:"",OTEL_EXPORTER_OTLP_TRACES_COMPRESSION:"",OTEL_EXPORTER_OTLP_METRICS_COMPRESSION:"",OTEL_EXPORTER_OTLP_LOGS_COMPRESSION:"",OTEL_EXPORTER_OTLP_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_TRACES_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_LOGS_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_TRACES_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_LOGS_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_TRACES_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_METRICS_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_LOGS_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE:"cumulative"},d={ALL:r.u.ALL,VERBOSE:r.u.VERBOSE,DEBUG:r.u.DEBUG,INFO:r.u.INFO,WARN:r.u.WARN,ERROR:r.u.ERROR,NONE:r.u.NONE};function _(t){var e={};for(var n in h)if("OTEL_LOG_LEVEL"===n)!function(t,e,n){var r=n[t];if("string"==typeof r){var i=d[r.toUpperCase()];null!=i&&(e[t]=i)}}(n,e,t);else if(a.indexOf(n)>-1)!function(t,e,n){if(void 0!==n[t]){var r=String(n[t]);e[t]="true"===r.toLowerCase()}}(n,e,t);else if(u.indexOf(n)>-1)!function(t,e,n,r,i){if(void 0===r&&(r=-1/0),void 0===i&&(i=1/0),void 0!==n[t]){var s=Number(n[t]);isNaN(s)||(si?e[t]=i:e[t]=s)}}(n,e,t);else if(c.indexOf(n)>-1)!function(t,e,n,r){void 0===r&&(r=",");var i=n[t];"string"==typeof i&&(e[t]=i.split(r).map(function(t){return t.trim()}))}(n,e,t);else{var r=t[n];null!=r&&(e[n]=String(r))}return e}function f(){return void 0!==o&&o&&o.env?_(o.env):_(s.X)}},22510:(t,e,n)=>{var r;n.d(e,{R:()=>r}),function(t){t.AlwaysOff="always_off",t.AlwaysOn="always_on",t.ParentBasedAlwaysOff="parentbased_always_off",t.ParentBasedAlwaysOn="parentbased_always_on",t.ParentBasedTraceIdRatio="parentbased_traceidratio",t.TraceIdRatio="traceidratio"}(r||(r={}))},51906:(t,e,n)=>{n.d(e,{R:()=>s});var r=n(49761),i=n(4291);function s(t){var e=function t(e){void 0===e&&(e=[]);for(var n=[],r=0,i=e.length;r{n.d(e,{F:()=>l});var r,i=n(58867),s=n(91397),o=((r={})[s._2.TELEMETRY_SDK_NAME]="opentelemetry",r[s._2.PROCESS_RUNTIME_NAME]="browser",r[s._2.TELEMETRY_SDK_LANGUAGE]=s.wP.WEBJS,r[s._2.TELEMETRY_SDK_VERSION]="1.17.1",r),a=function(){return(a=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]0)&&!(r=s.next()).done;)o.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}return o},l=function(){function t(t,e){var n,r=this;this._attributes=t,this.asyncAttributesPending=null!=e,this._syncAttributes=null!==(n=this._attributes)&&void 0!==n?n:{},this._asyncAttributesPromise=null==e?void 0:e.then(function(t){return r._attributes=Object.assign({},r._attributes,t),r.asyncAttributesPending=!1,t},function(t){return i.s.debug("a resource's async attributes promise rejected: %s",t),r.asyncAttributesPending=!1,{}})}return t.empty=function(){return t.EMPTY},t.default=function(){var e;return new t(((e={})[s._2.SERVICE_NAME]="unknown_service",e[s._2.TELEMETRY_SDK_LANGUAGE]=o[s._2.TELEMETRY_SDK_LANGUAGE],e[s._2.TELEMETRY_SDK_NAME]=o[s._2.TELEMETRY_SDK_NAME],e[s._2.TELEMETRY_SDK_VERSION]=o[s._2.TELEMETRY_SDK_VERSION],e))},Object.defineProperty(t.prototype,"attributes",{get:function(){var t;return this.asyncAttributesPending&&i.s.error("Accessing resource attributes before async attributes settled"),null!==(t=this._attributes)&&void 0!==t?t:{}},enumerable:!1,configurable:!0}),t.prototype.waitForAsyncAttributes=function(){var t,e,n,r;return t=this,e=void 0,n=void 0,r=function(){return u(this,function(t){switch(t.label){case 0:if(!this.asyncAttributesPending)return[3,2];return[4,this._asyncAttributesPromise];case 1:t.sent(),t.label=2;case 2:return[2]}})},new(n||(n=Promise))(function(i,s){function o(t){try{u(r.next(t))}catch(t){s(t)}}function a(t){try{u(r.throw(t))}catch(t){s(t)}}function u(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,a)}u((r=r.apply(t,e||[])).next())})},t.prototype.merge=function(e){var n,r=this;if(!e)return this;var i=a(a({},this._syncAttributes),null!==(n=e._syncAttributes)&&void 0!==n?n:e.attributes);return this._asyncAttributesPromise||e._asyncAttributesPromise?new t(i,Promise.all([this._asyncAttributesPromise,e._asyncAttributesPromise]).then(function(t){var n,i=c(t,2),s=i[0],o=i[1];return a(a(a(a({},r._syncAttributes),s),null!==(n=e._syncAttributes)&&void 0!==n?n:e.attributes),o)})):new t(i)},t.EMPTY=new t({}),t}()},7893:(t,e,n)=>{var r;n.d(e,{i:()=>r}),function(t){t[t.NOT_RECORD=0]="NOT_RECORD",t[t.RECORD=1]="RECORD",t[t.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}(r||(r={}))},15221:(t,e,n)=>{n.d(e,{J:()=>g});var r=n(58867),i=n(49632),s=n(53425),o=n(76115),a=function(){function t(){var t=this;this._promise=new Promise(function(e,n){t._resolve=e,t._reject=n})}return Object.defineProperty(t.prototype,"promise",{get:function(){return this._promise},enumerable:!1,configurable:!0}),t.prototype.resolve=function(t){this._resolve(t)},t.prototype.reject=function(t){this._reject(t)},t}(),u=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,s=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(r=s.next()).done;)o.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}return o},c=function(t,e,n){if(n||2==arguments.length)for(var r,i=0,s=e.length;ithis._maxQueueSize&&(r.s.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"),this._maxExportBatchSize=this._maxQueueSize)}return t.prototype.forceFlush=function(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()},t.prototype.onStart=function(t,e){},t.prototype.onEnd=function(t){this._shutdownOnce.isCalled||(t.spanContext().traceFlags&i.X.SAMPLED)==0||this._addToBuffer(t)},t.prototype.shutdown=function(){return this._shutdownOnce.call()},t.prototype._shutdown=function(){var t=this;return Promise.resolve().then(function(){return t.onShutdown()}).then(function(){return t._flushAll()}).then(function(){return t._exporter.shutdown()})},t.prototype._addToBuffer=function(t){if(this._finishedSpans.length>=this._maxQueueSize){0===this._droppedSpansCount&&r.s.debug("maxQueueSize reached, dropping spans"),this._droppedSpansCount++;return}this._droppedSpansCount>0&&(r.s.warn("Dropped "+this._droppedSpansCount+" spans because maxQueueSize reached"),this._droppedSpansCount=0),this._finishedSpans.push(t),this._maybeStartTimer()},t.prototype._flushAll=function(){var t=this;return new Promise(function(e,n){for(var r=[],i=Math.ceil(t._finishedSpans.length/t._maxExportBatchSize),s=0;s0&&(t._clearTimer(),t._maybeStartTimer())}).catch(function(t){(0,d.s)(t)})},this._scheduledDelayMillis),this._timer)},t.prototype._clearTimer=function(){void 0!==this._timer&&(clearTimeout(this._timer),this._timer=void 0)},t}(),f=function(){var t=function(e,n){return(t=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(e,n)};return function(e,n){if("function"!=typeof n&&null!==n)throw TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(t){function e(e,n){var r=t.call(this,e,n)||this;return r.onInit(n),r}return f(e,t),e.prototype.onInit=function(t){var e=this;(null==t?void 0:t.disableAutoFlushOnDocumentHide)!==!0&&"undefined"!=typeof document&&(this._visibilityChangeListener=function(){"hidden"===document.visibilityState&&e.forceFlush()},this._pageHideListener=function(){e.forceFlush()},document.addEventListener("visibilitychange",this._visibilityChangeListener),document.addEventListener("pagehide",this._pageHideListener))},e.prototype.onShutdown=function(){"undefined"!=typeof document&&(this._visibilityChangeListener&&document.removeEventListener("visibilitychange",this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener("pagehide",this._pageHideListener))},e}(_)},63760:(t,e,n)=>{n.d(e,{t:()=>i});var r=n(7893),i=function(){function t(){}return t.prototype.shouldSample=function(){return{decision:r.i.NOT_RECORD}},t.prototype.toString=function(){return"AlwaysOffSampler"},t}()},38334:(t,e,n)=>{n.d(e,{f:()=>i});var r=n(7893),i=function(){function t(){}return t.prototype.shouldSample=function(){return{decision:r.i.RECORD_AND_SAMPLED}},t.prototype.toString=function(){return"AlwaysOnSampler"},t}()},79635:(t,e,n)=>{n.d(e,{e:()=>c});var r=n(49761),i=n(95754),s=n(49632),o=n(80891),a=n(63760),u=n(38334),c=function(){function t(t){var e,n,r,i;this._root=t.root,this._root||((0,o.s)(Error("ParentBasedSampler must have a root sampler configured")),this._root=new u.f),this._remoteParentSampled=null!==(e=t.remoteParentSampled)&&void 0!==e?e:new u.f,this._remoteParentNotSampled=null!==(n=t.remoteParentNotSampled)&&void 0!==n?n:new a.t,this._localParentSampled=null!==(r=t.localParentSampled)&&void 0!==r?r:new u.f,this._localParentNotSampled=null!==(i=t.localParentNotSampled)&&void 0!==i?i:new a.t}return t.prototype.shouldSample=function(t,e,n,o,a,u){var c=r.u.getSpanContext(t);return c&&(0,i.YA)(c)?c.isRemote?c.traceFlags&s.X.SAMPLED?this._remoteParentSampled.shouldSample(t,e,n,o,a,u):this._remoteParentNotSampled.shouldSample(t,e,n,o,a,u):c.traceFlags&s.X.SAMPLED?this._localParentSampled.shouldSample(t,e,n,o,a,u):this._localParentNotSampled.shouldSample(t,e,n,o,a,u):this._root.shouldSample(t,e,n,o,a,u)},t.prototype.toString=function(){return"ParentBased{root="+this._root.toString()+", remoteParentSampled="+this._remoteParentSampled.toString()+", remoteParentNotSampled="+this._remoteParentNotSampled.toString()+", localParentSampled="+this._localParentSampled.toString()+", localParentNotSampled="+this._localParentNotSampled.toString()+"}"},t}()},22094:(t,e,n)=>{n.d(e,{Z:()=>tQ});var r,i,s,o,a,u,c=n(58867),l=n(49761),p=n(53425),h=n(60591),d=function(){function t(){}return t.prototype.inject=function(t,e){},t.prototype.extract=function(t,e){return t},t.prototype.fields=function(){return[]},t}(),_={get:function(t,e){if(null!=t)return t[e]},keys:function(t){return null==t?[]:Object.keys(t)}},f={set:function(t,e,n){null!=t&&(t[e]=n)}},g=n(2075),m=n(55108),E=(0,m.n)("OpenTelemetry Baggage Key");function v(t){return t.getValue(E)||void 0}function y(){return v(g._.getInstance().active())}function T(t,e){return t.setValue(E,e)}function S(t){return t.deleteValue(E)}var O=n(95677),b=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,s=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(r=s.next()).done;)o.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}return o},R=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},A=function(){function t(t){this._entries=t?new Map(t):new Map}return t.prototype.getEntry=function(t){var e=this._entries.get(t);if(e)return Object.assign({},e)},t.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map(function(t){var e=b(t,2);return[e[0],e[1]]})},t.prototype.setEntry=function(e,n){var r=new t(this._entries);return r._entries.set(e,n),r},t.prototype.removeEntry=function(e){var n=new t(this._entries);return n._entries.delete(e),n},t.prototype.removeEntries=function(){for(var e,n,r=[],i=0;i=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},q=function(){function t(t){var e;void 0===t&&(t={}),this._propagators=null!==(e=t.propagators)&&void 0!==e?e:[],this._fields=Array.from(new Set(this._propagators.map(function(t){return"function"==typeof t.fields?t.fields():[]}).reduce(function(t,e){return t.concat(e)},[])))}return t.prototype.inject=function(t,e,n){var r,i;try{for(var s=W(this._propagators),o=s.next();!o.done;o=s.next()){var a=o.value;try{a.inject(t,e,n)}catch(t){c.s.warn("Failed to inject with "+a.constructor.name+". Err: "+t.message)}}}catch(t){r={error:t}}finally{try{o&&!o.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}},t.prototype.extract=function(t,e,n){return this._propagators.reduce(function(t,r){try{return r.extract(t,e,n)}catch(t){c.s.warn("Failed to inject with "+r.constructor.name+". Err: "+t.message)}return t},t)},t.prototype.fields=function(){return this._fields.slice()},t}(),J=n(17e3),z=n(12585),Q="baggage",Z=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,s=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(r=s.next()).done;)o.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}return o},tt=function(){function t(){}return t.prototype.inject=function(t,e,n){var r=w.getBaggage(t);if(!(!r||(0,z.Zf)(t))){var i=r.getAllEntries().map(function(t){var e=Z(t,2),n=e[0],r=e[1],i=encodeURIComponent(n)+"="+encodeURIComponent(r.value);return void 0!==r.metadata&&(i+=";"+r.metadata.toString()),i}).filter(function(t){return t.length<=4096}).slice(0,180).reduce(function(t,e){var n=""+t+(""!==t?",":"")+e;return n.length>8192?t:n},"");i.length>0&&n.set(e,Q,i)}},t.prototype.extract=function(t,e,n){var r=n.get(e,Q),i=Array.isArray(r)?r.join(","):r;if(!i)return t;var s={};return 0===i.length?t:(i.split(",").forEach(function(t){var e=function(t){var e,n=t.split(";");if(!(n.length<=0)){var r=n.shift();if(r){var i=r.indexOf("=");if(!(i<=0)){var s,o=decodeURIComponent(r.substring(0,i).trim()),a=decodeURIComponent(r.substring(i+1).trim());return n.length>0&&("string"!=typeof(s=n.join(";"))&&(P.error("Cannot create baggage metadata from unknown type: "+typeof s),s=""),e={__TYPE__:L,toString:function(){return s}}),{key:o,value:a,metadata:e}}}}}(t);if(e){var n={value:e.value};e.metadata&&(n.metadata=e.metadata),s[e.key]=n}}),0===Object.entries(s).length)?t:w.setBaggage(t,w.createBaggage(s))},t.prototype.fields=function(){return[Q]},t}(),te={PROCESS_RUNTIME_NAME:"process.runtime.name",SERVICE_NAME:"service.name",TELEMETRY_SDK_NAME:"telemetry.sdk.name",TELEMETRY_SDK_LANGUAGE:"telemetry.sdk.language",TELEMETRY_SDK_VERSION:"telemetry.sdk.version"},tn=((s={})[te.TELEMETRY_SDK_NAME]="opentelemetry",s[te.PROCESS_RUNTIME_NAME]="browser",s[te.TELEMETRY_SDK_LANGUAGE]="webjs",s[te.TELEMETRY_SDK_VERSION]="1.17.0",s),tr=function(){return(tr=Object.assign||function(t){for(var e,n=1,r=arguments.length;n0&&i[i.length-1])&&(6===s[0]||2===s[0])){o=0;continue}if(3===s[0]&&(!i||s[1]>i[0]&&s[1]0)&&!(r=s.next()).done;)o.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}return o},to=function(){function t(t,e){var n,r=this;this._attributes=t,this.asyncAttributesPending=null!=e,this._syncAttributes=null!==(n=this._attributes)&&void 0!==n?n:{},this._asyncAttributesPromise=null==e?void 0:e.then(function(t){return r._attributes=Object.assign({},r._attributes,t),r.asyncAttributesPending=!1,t},function(t){return c.s.debug("a resource's async attributes promise rejected: %s",t),r.asyncAttributesPending=!1,{}})}return t.empty=function(){return t.EMPTY},t.default=function(){var e;return new t(((e={})[te.SERVICE_NAME]="unknown_service",e[te.TELEMETRY_SDK_LANGUAGE]=tn[te.TELEMETRY_SDK_LANGUAGE],e[te.TELEMETRY_SDK_NAME]=tn[te.TELEMETRY_SDK_NAME],e[te.TELEMETRY_SDK_VERSION]=tn[te.TELEMETRY_SDK_VERSION],e))},Object.defineProperty(t.prototype,"attributes",{get:function(){var t;return this.asyncAttributesPending&&c.s.error("Accessing resource attributes before async attributes settled"),null!==(t=this._attributes)&&void 0!==t?t:{}},enumerable:!1,configurable:!0}),t.prototype.waitForAsyncAttributes=function(){var t,e,n,r;return t=this,e=void 0,n=void 0,r=function(){return ti(this,function(t){switch(t.label){case 0:if(!this.asyncAttributesPending)return[3,2];return[4,this._asyncAttributesPromise];case 1:t.sent(),t.label=2;case 2:return[2]}})},new(n||(n=Promise))(function(i,s){function o(t){try{u(r.next(t))}catch(t){s(t)}}function a(t){try{u(r.throw(t))}catch(t){s(t)}}function u(t){var e;t.done?i(t.value):((e=t.value)instanceof n?e:new n(function(t){t(e)})).then(o,a)}u((r=r.apply(t,e||[])).next())})},t.prototype.merge=function(e){var n,r=this;if(!e)return this;var i=tr(tr({},this._syncAttributes),null!==(n=e._syncAttributes)&&void 0!==n?n:e.attributes);return this._asyncAttributesPromise||e._asyncAttributesPromise?new t(i,Promise.all([this._asyncAttributesPromise,e._asyncAttributesPromise]).then(function(t){var n,i=ts(t,2),s=i[0],o=i[1];return tr(tr(tr(tr({},r._syncAttributes),s),null!==(n=e._syncAttributes)&&void 0!==n?n:e.attributes),o)})):new t(i)},t.EMPTY=new t({}),t}(),ta=n(30877);!function(t){t[t.INTERNAL=0]="INTERNAL",t[t.SERVER=1]="SERVER",t[t.CLIENT=2]="CLIENT",t[t.PRODUCER=3]="PRODUCER",t[t.CONSUMER=4]="CONSUMER"}(o||(o={})),function(t){t[t.NOT_RECORD=0]="NOT_RECORD",t[t.RECORD=1]="RECORD",t[t.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}(a||(a={}));var tu=n(49632),tc=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},tl=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,s=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(r=s.next()).done;)o.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}return o};function tp(t){var e,n,r={};if("object"!=typeof t||null==t)return r;try{for(var i=tc(Object.entries(t)),s=i.next();!s.done;s=i.next()){var o=tl(s.value,2),a=o[0],u=o[1];if("string"!=typeof a||!(a.length>0)){c.s.warn("Invalid attribute key: "+a);continue}if(!th(u)){c.s.warn("Invalid attribute value set for key: "+a);continue}Array.isArray(u)?r[a]=u.slice():r[a]=u}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r}function th(t){return null==t||(Array.isArray(t)?function(t){try{for(var e,n,r,i=tc(t),s=i.next();!s.done;s=i.next()){var o=s.value;if(null!=o){if(!r){if(td(o)){r=typeof o;continue}return!1}if(typeof o===r)continue;return!1}}}catch(t){e={error:t}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return!0}(t):td(t))}function td(t){switch(typeof t){case"number":case"boolean":case"string":return!0}return!1}var t_=n(46385),tf=performance;function tg(t){return[Math.trunc(t/1e3),Math.round(t%1e3*1e6)]}function tm(){var t=tf.timeOrigin;return"number"!=typeof t&&(t=tf.timing&&tf.timing.fetchStart),t}function tE(t){return Array.isArray(t)&&2===t.length&&"number"==typeof t[0]&&"number"==typeof t[1]}function tv(t){return tE(t)||"number"==typeof t||t instanceof Date}function ty(t,e){var n=[t[0]+e[0],t[1]+e[1]];return n[1]>=1e9&&(n[1]-=1e9,n[0]+=1),n}var tT={EXCEPTION_TYPE:"exception.type",EXCEPTION_MESSAGE:"exception.message",EXCEPTION_STACKTRACE:"exception.stacktrace"},tS=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},tO=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,s=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(r=s.next()).done;)o.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}return o},tb=function(){function t(t,e,n,r,i,s,o,a,u){void 0===o&&(o=[]),this.attributes={},this.links=[],this.events=[],this._droppedAttributesCount=0,this._droppedEventsCount=0,this._droppedLinksCount=0,this.status={code:t_.s.UNSET},this.endTime=[0,0],this._ended=!1,this._duration=[-1,-1],this.name=n,this._spanContext=r,this.parentSpanId=s,this.kind=i,this.links=o;var c=Date.now();this._performanceStartTime=tf.now(),this._performanceOffset=c-(this._performanceStartTime+tm()),this._startTimeProvided=null!=a,this.startTime=this._getTime(null!=a?a:c),this.resource=t.resource,this.instrumentationLibrary=t.instrumentationLibrary,this._spanLimits=t.getSpanLimits(),this._spanProcessor=t.getActiveSpanProcessor(),this._spanProcessor.onStart(this,e),this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit||0}return t.prototype.spanContext=function(){return this._spanContext},t.prototype.setAttribute=function(t,e){return null==e||this._isSpanEnded()||(0===t.length?c.s.warn("Invalid attribute key: "+t):th(e)?Object.keys(this.attributes).length>=this._spanLimits.attributeCountLimit&&!Object.prototype.hasOwnProperty.call(this.attributes,t)?this._droppedAttributesCount++:this.attributes[t]=this._truncateToSize(e):c.s.warn("Invalid attribute value set for key: "+t)),this},t.prototype.setAttributes=function(t){var e,n;try{for(var r=tS(Object.entries(t)),i=r.next();!i.done;i=r.next()){var s=tO(i.value,2),o=s[0],a=s[1];this.setAttribute(o,a)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}return this},t.prototype.addEvent=function(t,e,n){if(this._isSpanEnded())return this;if(0===this._spanLimits.eventCountLimit)return c.s.warn("No events allowed."),this._droppedEventsCount++,this;this.events.length>=this._spanLimits.eventCountLimit&&(c.s.warn("Dropping extra events."),this.events.shift(),this._droppedEventsCount++),tv(e)&&(tv(n)||(n=e),e=void 0);var r=tp(e);return this.events.push({name:t,attributes:r,time:this._getTime(n),droppedAttributesCount:0}),this},t.prototype.setStatus=function(t){return this._isSpanEnded()||(this.status=t),this},t.prototype.updateName=function(t){return this._isSpanEnded()||(this.name=t),this},t.prototype.end=function(t){var e,n,r,i;if(this._isSpanEnded()){c.s.error(this.name+" "+this._spanContext.traceId+"-"+this._spanContext.spanId+" - You can only call end() on a span once.");return}this._ended=!0,this.endTime=this._getTime(t),this._duration=(e=this.startTime,r=(n=this.endTime)[0]-e[0],(i=n[1]-e[1])<0&&(r-=1,i+=1e9),[r,i]),this._duration[0]<0&&(c.s.warn("Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.",this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0]),this._spanProcessor.onEnd(this)},t.prototype._getTime=function(t){if("number"==typeof t&&t=1?1:t<=0?0:t},t.prototype._accumulate=function(t){for(var e=0,n=0;n>>0}return e},t}(),tw=(0,Y._)(),tN=tR.R.AlwaysOn;function tM(){return{sampler:tk(tw),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:(0,Y._)().OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT,attributeCountLimit:(0,Y._)().OTEL_ATTRIBUTE_COUNT_LIMIT},spanLimits:{attributeValueLengthLimit:(0,Y._)().OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT,attributeCountLimit:(0,Y._)().OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT,linkCountLimit:(0,Y._)().OTEL_SPAN_LINK_COUNT_LIMIT,eventCountLimit:(0,Y._)().OTEL_SPAN_EVENT_COUNT_LIMIT,attributePerEventCountLimit:(0,Y._)().OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT,attributePerLinkCountLimit:(0,Y._)().OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT}}}function tk(t){switch(void 0===t&&(t=(0,Y._)()),t.OTEL_TRACES_SAMPLER){case tR.R.AlwaysOn:return new tL.f;case tR.R.AlwaysOff:return new tA.t;case tR.R.ParentBasedAlwaysOn:return new tP.e({root:new tL.f});case tR.R.ParentBasedAlwaysOff:return new tP.e({root:new tA.t});case tR.R.TraceIdRatio:return new tx(tD(t));case tR.R.ParentBasedTraceIdRatio:return new tP.e({root:new tx(tD(t))});default:return c.s.error('OTEL_TRACES_SAMPLER value "'+t.OTEL_TRACES_SAMPLER+" invalid, defaulting to "+tN+'".'),new tL.f}}function tD(t){if(void 0===t.OTEL_TRACES_SAMPLER_ARG||""===t.OTEL_TRACES_SAMPLER_ARG)return c.s.error("OTEL_TRACES_SAMPLER_ARG is blank, defaulting to 1."),1;var e=Number(t.OTEL_TRACES_SAMPLER_ARG);return isNaN(e)?(c.s.error("OTEL_TRACES_SAMPLER_ARG="+t.OTEL_TRACES_SAMPLER_ARG+" was given, but it is invalid, defaulting to 1."),1):e<0||e>1?(c.s.error("OTEL_TRACES_SAMPLER_ARG="+t.OTEL_TRACES_SAMPLER_ARG+" was given, but it is out of range ([0..1]), defaulting to 1."),1):e}var tU=n(37484),tj=function(){this.generateTraceId=tF(16),this.generateSpanId=tF(8)},t$=Array(32);function tF(t){return function(){for(var e=0;e<2*t;e++)t$[e]=Math.floor(16*Math.random())+48,t$[e]>=58&&(t$[e]+=39);return String.fromCharCode.apply(null,t$.slice(0,2*t))}}var tG=function(){function t(t,e,n){this._tracerProvider=n;var r,i,s,o=(r={sampler:tk()},(s=Object.assign({},i=tM(),r,e)).generalLimits=Object.assign({},i.generalLimits,e.generalLimits||{}),s.spanLimits=Object.assign({},i.spanLimits,e.spanLimits||{}),s);this._sampler=o.sampler,this._generalLimits=o.generalLimits,this._spanLimits=o.spanLimits,this._idGenerator=e.idGenerator||new tj,this.resource=n.resource,this.instrumentationLibrary=t}return t.prototype.startSpan=function(t,e,n){void 0===e&&(e={}),void 0===n&&(n=p._.active()),e.root&&(n=l.u.deleteSpan(n));var r,i,s,u,h,d,_=l.u.getSpan(n);if((0,z.Zf)(n)){c.s.debug("Instrumentation suppressed, returning Noop Span");var f=l.u.wrapSpanContext(ta.dM);return f}var g=null==_?void 0:_.spanContext(),m=this._idGenerator.generateSpanId();g&&l.u.isSpanContextValid(g)?(u=g.traceId,h=g.traceState,d=g.spanId):u=this._idGenerator.generateTraceId();var E=null!==(r=e.kind)&&void 0!==r?r:o.INTERNAL,v=(null!==(i=e.links)&&void 0!==i?i:[]).map(function(t){return{context:t.context,attributes:tp(t.attributes)}}),y=tp(e.attributes),T=this._sampler.shouldSample(n,u,t,E,y,v);h=null!==(s=T.traceState)&&void 0!==s?s:h;var S={traceId:u,spanId:m,traceFlags:T.decision===a.RECORD_AND_SAMPLED?tu.X.SAMPLED:tu.X.NONE,traceState:h};if(T.decision===a.NOT_RECORD){c.s.debug("Recording is off, propagating context in a non-recording span");var f=l.u.wrapSpanContext(S);return f}var O=new tb(this,n,t,S,E,d,v,e.startTime),b=tp(Object.assign(y,T.attributes));return O.setAttributes(b),O},t.prototype.startActiveSpan=function(t,e,n,r){if(!(arguments.length<2)){2==arguments.length?o=e:3==arguments.length?(i=e,o=n):(i=e,s=n,o=r);var i,s,o,a=null!=s?s:p._.active(),u=this.startSpan(t,i,a),c=l.u.setSpan(a,u);return p._.with(c,o,void 0,u)}},t.prototype.getGeneralLimits=function(){return this._generalLimits},t.prototype.getSpanLimits=function(){return this._spanLimits},t.prototype.getActiveSpanProcessor=function(){return this._tracerProvider.getActiveSpanProcessor()},t}(),tB=n(80891),tX=function(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},tK=function(){function t(t){this._spanProcessors=t}return t.prototype.forceFlush=function(){var t,e,n=[];try{for(var r=tX(this._spanProcessors),i=r.next();!i.done;i=r.next()){var s=i.value;n.push(s.forceFlush())}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}return new Promise(function(t){Promise.all(n).then(function(){t()}).catch(function(e){(0,tB.s)(e||Error("MultiSpanProcessor: forceFlush failed")),t()})})},t.prototype.onStart=function(t,e){var n,r;try{for(var i=tX(this._spanProcessors),s=i.next();!s.done;s=i.next())s.value.onStart(t,e)}catch(t){n={error:t}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},t.prototype.onEnd=function(t){var e,n;try{for(var r=tX(this._spanProcessors),i=r.next();!i.done;i=r.next())i.value.onEnd(t)}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}},t.prototype.shutdown=function(){var t,e,n=[];try{for(var r=tX(this._spanProcessors),i=r.next();!i.done;i=r.next()){var s=i.value;n.push(s.shutdown())}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}return new Promise(function(t,e){Promise.all(n).then(function(){t()},e)})},t}(),tH=function(){function t(){}return t.prototype.onStart=function(t,e){},t.prototype.onEnd=function(t){},t.prototype.shutdown=function(){return Promise.resolve()},t.prototype.forceFlush=function(){return Promise.resolve()},t}(),tV=n(15221);!function(t){t[t.resolved=0]="resolved",t[t.timeout=1]="timeout",t[t.error=2]="error",t[t.unresolved=3]="unresolved"}(u||(u={}));var tY=function(){function t(t){void 0===t&&(t={}),this._registeredSpanProcessors=[],this._tracers=new Map;var e,n,r,i,s,o,a,u,c,l,p,h,d,_,f,g,m=function(){for(var t=[],e=0;e0;)n=function t(e,n,r,i){if(void 0===r&&(r=0),!(r>20)){if(r++,V(e)||V(n)||K(n))s=G(n);else if(X(e)){if(s=e.slice(),X(n))for(var s,o=0,a=n.length;o0?n(r):t()}).catch(function(t){return n([t])})})},t.prototype.shutdown=function(){return this.activeSpanProcessor.shutdown()},t.prototype._getPropagator=function(t){var e;return null===(e=this.constructor._registeredPropagators.get(t))||void 0===e?void 0:e()},t.prototype._getSpanExporter=function(t){var e;return null===(e=this.constructor._registeredExporters.get(t))||void 0===e?void 0:e()},t.prototype._buildPropagatorFromEnv=function(){var t=this,e=Array.from(new Set((0,Y._)().OTEL_PROPAGATORS)),n=e.map(function(e){var n=t._getPropagator(e);return n||c.s.warn('Propagator "'+e+'" requested through environment variable is unavailable.'),n}).reduce(function(t,e){return e&&t.push(e),t},[]);return 0===n.length?void 0:1===e.length?n[0]:new q({propagators:n})},t.prototype._buildExporterFromEnv=function(){var t=(0,Y._)().OTEL_TRACES_EXPORTER;if("none"!==t&&""!==t){var e=this._getSpanExporter(t);return e||c.s.error('Exporter "'+t+'" requested through environment variable is unavailable.'),e}},t._registeredPropagators=new Map([["tracecontext",function(){return new J.lm}],["baggage",function(){return new tt}]]),t._registeredExporters=new Map,t}(),tW=function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,s=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(r=s.next()).done;)o.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=s.return)&&n.call(s)}finally{if(i)throw i.error}}return o},tq=function(t,e,n){if(n||2==arguments.length)for(var r,i=0,s=e.length;i{n.d(e,{_2:()=>r,wP:()=>i});var r={CLOUD_PROVIDER:"cloud.provider",CLOUD_ACCOUNT_ID:"cloud.account.id",CLOUD_REGION:"cloud.region",CLOUD_AVAILABILITY_ZONE:"cloud.availability_zone",CLOUD_PLATFORM:"cloud.platform",AWS_ECS_CONTAINER_ARN:"aws.ecs.container.arn",AWS_ECS_CLUSTER_ARN:"aws.ecs.cluster.arn",AWS_ECS_LAUNCHTYPE:"aws.ecs.launchtype",AWS_ECS_TASK_ARN:"aws.ecs.task.arn",AWS_ECS_TASK_FAMILY:"aws.ecs.task.family",AWS_ECS_TASK_REVISION:"aws.ecs.task.revision",AWS_EKS_CLUSTER_ARN:"aws.eks.cluster.arn",AWS_LOG_GROUP_NAMES:"aws.log.group.names",AWS_LOG_GROUP_ARNS:"aws.log.group.arns",AWS_LOG_STREAM_NAMES:"aws.log.stream.names",AWS_LOG_STREAM_ARNS:"aws.log.stream.arns",CONTAINER_NAME:"container.name",CONTAINER_ID:"container.id",CONTAINER_RUNTIME:"container.runtime",CONTAINER_IMAGE_NAME:"container.image.name",CONTAINER_IMAGE_TAG:"container.image.tag",DEPLOYMENT_ENVIRONMENT:"deployment.environment",DEVICE_ID:"device.id",DEVICE_MODEL_IDENTIFIER:"device.model.identifier",DEVICE_MODEL_NAME:"device.model.name",FAAS_NAME:"faas.name",FAAS_ID:"faas.id",FAAS_VERSION:"faas.version",FAAS_INSTANCE:"faas.instance",FAAS_MAX_MEMORY:"faas.max_memory",HOST_ID:"host.id",HOST_NAME:"host.name",HOST_TYPE:"host.type",HOST_ARCH:"host.arch",HOST_IMAGE_NAME:"host.image.name",HOST_IMAGE_ID:"host.image.id",HOST_IMAGE_VERSION:"host.image.version",K8S_CLUSTER_NAME:"k8s.cluster.name",K8S_NODE_NAME:"k8s.node.name",K8S_NODE_UID:"k8s.node.uid",K8S_NAMESPACE_NAME:"k8s.namespace.name",K8S_POD_UID:"k8s.pod.uid",K8S_POD_NAME:"k8s.pod.name",K8S_CONTAINER_NAME:"k8s.container.name",K8S_REPLICASET_UID:"k8s.replicaset.uid",K8S_REPLICASET_NAME:"k8s.replicaset.name",K8S_DEPLOYMENT_UID:"k8s.deployment.uid",K8S_DEPLOYMENT_NAME:"k8s.deployment.name",K8S_STATEFULSET_UID:"k8s.statefulset.uid",K8S_STATEFULSET_NAME:"k8s.statefulset.name",K8S_DAEMONSET_UID:"k8s.daemonset.uid",K8S_DAEMONSET_NAME:"k8s.daemonset.name",K8S_JOB_UID:"k8s.job.uid",K8S_JOB_NAME:"k8s.job.name",K8S_CRONJOB_UID:"k8s.cronjob.uid",K8S_CRONJOB_NAME:"k8s.cronjob.name",OS_TYPE:"os.type",OS_DESCRIPTION:"os.description",OS_NAME:"os.name",OS_VERSION:"os.version",PROCESS_PID:"process.pid",PROCESS_EXECUTABLE_NAME:"process.executable.name",PROCESS_EXECUTABLE_PATH:"process.executable.path",PROCESS_COMMAND:"process.command",PROCESS_COMMAND_LINE:"process.command_line",PROCESS_COMMAND_ARGS:"process.command_args",PROCESS_OWNER:"process.owner",PROCESS_RUNTIME_NAME:"process.runtime.name",PROCESS_RUNTIME_VERSION:"process.runtime.version",PROCESS_RUNTIME_DESCRIPTION:"process.runtime.description",SERVICE_NAME:"service.name",SERVICE_NAMESPACE:"service.namespace",SERVICE_INSTANCE_ID:"service.instance.id",SERVICE_VERSION:"service.version",TELEMETRY_SDK_NAME:"telemetry.sdk.name",TELEMETRY_SDK_LANGUAGE:"telemetry.sdk.language",TELEMETRY_SDK_VERSION:"telemetry.sdk.version",TELEMETRY_AUTO_VERSION:"telemetry.auto.version",WEBENGINE_NAME:"webengine.name",WEBENGINE_VERSION:"webengine.version",WEBENGINE_DESCRIPTION:"webengine.description"},i={CPP:"cpp",DOTNET:"dotnet",ERLANG:"erlang",GO:"go",JAVA:"java",NODEJS:"nodejs",PHP:"php",PYTHON:"python",RUBY:"ruby",WEBJS:"webjs"}},29921:(t,e,n)=>{let r,i,s,o,a,u;n.d(e,{Ts:()=>eo});var c=n(12596),l=n(69336),p=n(84733),h=n(79532),d=n(23720);let _=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/,/^ResizeObserver loop completed with undelivered notifications.$/,/^Cannot redefine property: googletag$/],f=[/^.*\/healthcheck$/,/^.*\/healthy$/,/^.*\/live$/,/^.*\/ready$/,/^.*\/heartbeat$/,/^.*\/health$/,/^.*\/healthz$/],g="InboundFilters",m=(0,d._C)((t={})=>({name:g,setupOnce(){},processEvent:(e,n,r)=>!function(t,e){var n;return e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(t){}return!1}(t)?(h.T&&c.vF.warn(`Event dropped due to being internal Sentry Error. Event: ${(0,l.$X)(t)}`),!0):(n=e.ignoreErrors,!t.type&&n&&n.length&&(function(t){let e;let n=[];t.message&&n.push(t.message);try{e=t.exception.values[t.exception.values.length-1]}catch(t){}return e&&e.value&&(n.push(e.value),e.type&&n.push(`${e.type}: ${e.value}`)),h.T&&0===n.length&&c.vF.error(`Could not extract message for event ${(0,l.$X)(t)}`),n})(t).some(t=>(0,p.Xr)(t,n)))?(h.T&&c.vF.warn(`Event dropped due to being matched by \`ignoreErrors\` option. Event: ${(0,l.$X)(t)}`),!0):!function(t,e){if("transaction"!==t.type||!e||!e.length)return!1;let n=t.transaction;return!!n&&(0,p.Xr)(n,e)}(t,e.ignoreTransactions)?!function(t,e){if(!e||!e.length)return!1;let n=E(t);return!!n&&(0,p.Xr)(n,e)}(t,e.denyUrls)?!function(t,e){if(!e||!e.length)return!0;let n=E(t);return!n||(0,p.Xr)(n,e)}(t,e.allowUrls)&&(h.T&&c.vF.warn(`Event dropped due to not being matched by \`allowUrls\` option. Event: ${(0,l.$X)(t)}. Url: ${E(t)}`),!0):(h.T&&c.vF.warn(`Event dropped due to being matched by \`denyUrls\` option. Event: ${(0,l.$X)(t)}. Url: ${E(t)}`),!0):(h.T&&c.vF.warn(`Event dropped due to being matched by \`ignoreTransactions\` option. Event: ${(0,l.$X)(t)}`),!0)}(e,function(t={},e={}){return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...t.disableErrorDefaults?[]:_],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[],...t.disableTransactionDefaults?[]:f],ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(t,r.getOptions()))?e:null}));function E(t){try{let e;try{e=t.exception.values[0].stacktrace.frames}catch(t){}return e?function(t=[]){for(let e=t.length-1;e>=0;e--){let n=t[e];if(n&&""!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(e):null}catch(e){return h.T&&c.vF.error(`Cannot extract url for event ${(0,l.$X)(t)}`),null}}(0,d.F)(g,m);var v=n(46063),y=n(96273);let T="FunctionToString",S=new WeakMap,O=(0,d._C)(()=>({name:T,setupOnce(){r=Function.prototype.toString;try{Function.prototype.toString=function(...t){let e=(0,v.sp)(this),n=S.has((0,y.KU)())&&void 0!==e?e:this;return r.apply(n,t)}}catch(t){}},setup(t){S.set(t,!0)}}));(0,d.F)(T,O);var b=n(38113),R=n(89273),A=n(6514),L=n(29671);let P=(0,L.VZ)();function I(){if(!("fetch"in P))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}function C(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}let x=(0,L.VZ)();var w=n(36118);let N=L.OW;function M(t){let e="history";(0,w.s5)(e,t),(0,w.AS)(e,k)}function k(){if(!function(){let t=x.chrome,e=t&&t.app&&t.app.runtime,n="history"in x&&!!x.history.pushState&&!!x.history.replaceState;return!e&&n}())return;let t=N.onpopstate;function e(t){return function(...e){let n=e.length>2?e[2]:void 0;if(n){let t=i,e=String(n);i=e,(0,w.aj)("history",{from:t,to:e})}return t.apply(this,e)}}N.onpopstate=function(...e){let n=N.location.href,r=i;if(i=n,(0,w.aj)("history",{from:r,to:n}),t)try{return t.apply(this,e)}catch(t){}},(0,v.GS)(N.history,"pushState",e),(0,v.GS)(N.history,"replaceState",e)}let D=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function U(t,e=!1){let{host:n,path:r,pass:i,port:s,projectId:o,protocol:a,publicKey:u}=t;return`${a}://${u}${e&&i?`:${i}`:""}@${n}${s?`:${s}`:""}/${r?`${r}/`:r}${o}`}function j(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}var $=n(16228),F=n(38380),G=n(32213);function B(t,e=[]){return[t,e]}function X(t,e){for(let n of t[1]){let t=n[0].type;if(e(n,t))return!0}return!1}function K(t,e){return(e||new TextEncoder).encode(t)}let H={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor",feedback:"feedback",span:"span",statsd:"metric_bucket"};function V(t){if(!t||!t.sdk)return;let{name:e,version:n}=t.sdk;return{name:e,version:n}}class Y 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 W=n(27445),q=n(94918),J=n(38690),z=n(46377);let Q="Not capturing exception because it's already been captured.";class Z{constructor(t){if(this._options=t,this._integrations={},this._integrationsInitialized=!1,this._numProcessing=0,this._outcomes={},this._hooks={},this._eventProcessors=[],t.dsn?this._dsn=function(t){let e="string"==typeof t?function(t){let e=D.exec(t);if(!e){(0,c.pq)(()=>{console.error(`Invalid Sentry Dsn: ${t}`)});return}let[n,r,i="",s,o="",a]=e.slice(1),u="",l=a,p=l.split("/");if(p.length>1&&(u=p.slice(0,-1).join("/"),l=p.pop()),l){let t=l.match(/^\d+/);t&&(l=t[0])}return j({host:s,pass:i,path:u,projectId:l,port:o,protocol:n,publicKey:r})}(t):j(t);if(e&&function(t){if(!A.T)return!0;let{port:e,projectId:n,protocol:r}=t;return!["protocol","publicKey","host","projectId"].find(e=>!t[e]&&(c.vF.error(`Invalid Sentry Dsn: ${e} missing`),!0))&&(n.match(/^\d+$/)?"http"===r||"https"===r?!(e&&isNaN(parseInt(e,10)))||(c.vF.error(`Invalid Sentry Dsn: Invalid port ${e}`),!1):(c.vF.error(`Invalid Sentry Dsn: Invalid protocol ${r}`),!1):(c.vF.error(`Invalid Sentry Dsn: Invalid projectId ${n}`),!1))}(e))return e}(t.dsn):h.T&&c.vF.warn("No DSN provided, client will not send events."),this._dsn){let e=function(t,e={}){let n="string"==typeof e?e:e.tunnel,r="string"!=typeof e&&e._metadata?e._metadata.sdk:void 0;return n||`${function(t){let e=t.protocol?`${t.protocol}:`:"",n=t.port?`:${t.port}`:"";return`${e}//${t.host}${n}${t.path?`/${t.path}`:""}/api/`}(t)}${t.projectId}/envelope/?${(0,v.u4)({sentry_key:t.publicKey,sentry_version:"7",...r&&{sentry_client:`${r.name}/${r.version}`}})}`}(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:e})}}captureException(t,e,n){if((0,l.GR)(t)){h.T&&c.vF.log(Q);return}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,s=(0,$.NF)(t)?t:String(t),o=(0,$.sO)(t)?this.eventFromMessage(s,e,n):this.eventFromException(t,n);return this._process(o.then(t=>this._captureEvent(t,n,r)).then(t=>{i=t})),i}captureEvent(t,e,n){if(e&&e.originalException&&(0,l.GR)(e.originalException)){h.T&&c.vF.log(Q);return}let r=e&&e.event_id,i=(t.sdkProcessingMetadata||{}).capturedSpanScope;return this._process(this._captureEvent(t,e,i||n).then(t=>{r=t})),r}captureSession(t){"string"!=typeof t.release?h.T&&c.vF.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),(0,q.qO)(t,{init:!1}))}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){let e=this._transport;return e?(this.metricsAggregator&&this.metricsAggregator.flush(),this._isClientDoneProcessing(t).then(n=>e.flush(t).then(t=>n&&t))):(0,F.XW)(!0)}close(t){return this.flush(t).then(t=>(this.getOptions().enabled=!1,this.metricsAggregator&&this.metricsAggregator.close(),t))}getEventProcessors(){return this._eventProcessors}addEventProcessor(t){this._eventProcessors.push(t)}setupIntegrations(t){(t&&!this._integrationsInitialized||this._isEnabled()&&!this._integrationsInitialized)&&this._setupIntegrations()}init(){this._isEnabled()&&this._setupIntegrations()}getIntegrationById(t){return this.getIntegrationByName(t)}getIntegrationByName(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch(e){return h.T&&c.vF.warn(`Cannot retrieve integration ${t.id} from the current Client`),null}}addIntegration(t){let e=this._integrations[t.name];(0,d.qm)(this,t,this._integrations),e||(0,d.lc)(this,[t])}sendEvent(t,e={}){this.emit("beforeSendEvent",t,e);let n=function(t,e,n,r){var i;let s=V(n),o=t.type&&"replay_event"!==t.type?t.type:"event";(i=n&&n.sdk)&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||i.name,t.sdk.version=t.sdk.version||i.version,t.sdk.integrations=[...t.sdk.integrations||[],...i.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...i.packages||[]]);let a=function(t,e,n,r){let i=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:new Date().toISOString(),...e&&{sdk:e},...!!n&&r&&{dsn:U(r)},...i&&{trace:(0,v.Ce)({...i})}}}(t,s,r,e);return delete t.sdkProcessingMetadata,B(a,[[{type:o},t]])}(t,this._dsn,this._options._metadata,this._options.tunnel);for(let t of e.attachments||[])n=function(t,e){let[n,r]=t;return[n,[...r,e]]}(n,function(t,e){let n="string"==typeof t.data?K(t.data,e):t.data;return[(0,v.Ce)({type:"attachment",length:n.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),n]}(t,this._options.transportOptions&&this._options.transportOptions.textEncoder));let r=this._sendEnvelope(n);r&&r.then(e=>this.emit("afterSendEvent",t,e),null)}sendSession(t){let e=function(t,e,n,r){let i=V(n);return B({sent_at:new Date().toISOString(),...i&&{sdk:i},...!!r&&e&&{dsn:U(e)}},["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t.toJSON()]])}(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(e)}recordDroppedEvent(t,e,n){if(this._options.sendClientReports){let n=`${t}:${e}`;h.T&&c.vF.log(`Adding outcome: "${n}"`),this._outcomes[n]=this._outcomes[n]+1||1}}captureAggregateMetrics(t){h.T&&c.vF.log(`Flushing aggregated metrics, number of metrics: ${t.length}`);let e=function(t,e,n,r){let i={sent_at:new Date().toISOString()};return n&&n.sdk&&(i.sdk={name:n.sdk.name,version:n.sdk.version}),r&&e&&(i.dsn=U(e)),B(i,[function(t){let e=(0,W.ik)(t);return[{type:"statsd",length:e.length},e]}(t)])}(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(e)}on(t,e){this._hooks[t]||(this._hooks[t]=[]),this._hooks[t].push(e)}emit(t,...e){this._hooks[t]&&this._hooks[t].forEach(t=>t(...e))}_setupIntegrations(){let{integrations:t}=this._options;this._integrations=(0,d.P$)(this,t),(0,d.lc)(this,t),this._integrationsInitialized=!0}_updateSessionFromEvent(t,e){let n=!1,r=!1,i=e.exception&&e.exception.values;if(i)for(let t of(r=!0,i)){let e=t.mechanism;if(e&&!1===e.handled){n=!0;break}}let s="ok"===t.status;(s&&0===t.errors||s&&n)&&((0,q.qO)(t,{...n&&{status:"crashed"},errors:t.errors||Number(r||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new F.T2(e=>{let n=0,r=setInterval(()=>{0==this._numProcessing?(clearInterval(r),e(!0)):(n+=1,t&&n>=t&&(clearInterval(r),e(!1)))},1)})}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._transport}_prepareEvent(t,e,n,r=(0,b.rm)()){let i=this.getOptions(),s=Object.keys(this._integrations);return!e.integrations&&s.length>0&&(e.integrations=s),this.emit("preprocessEvent",t,e),(0,z.mG)(i,t,e,n,this,r).then(t=>{if(null===t)return t;let e={...r.getPropagationContext(),...n?n.getPropagationContext():void 0};if(!(t.contexts&&t.contexts.trace)&&e){let{traceId:r,spanId:i,parentSpanId:s,dsc:o}=e;t.contexts={trace:{trace_id:r,span_id:i,parent_span_id:s},...t.contexts};let a=o||(0,J.l)(r,this,n);t.sdkProcessingMetadata={dynamicSamplingContext:a,...t.sdkProcessingMetadata}}return t})}_captureEvent(t,e={},n){return this._processEvent(t,e,n).then(t=>t.event_id,t=>{h.T&&("log"===t.logLevel?c.vF.log(t.message):c.vF.warn(t))})}_processEvent(t,e,n){let r=this.getOptions(),{sampleRate:i}=r,s=te(t),o=tt(t),a=t.type||"error",u=`before send for type \`${a}\``;if(o&&"number"==typeof i&&Math.random()>i)return this.recordDroppedEvent("sample_rate","error",t),(0,F.xg)(new Y(`Discarding event because it's not included in the random sample (sampling rate = ${i})`,"log"));let c="replay_event"===a?"replay":a,l=(t.sdkProcessingMetadata||{}).capturedSpanIsolationScope;return this._prepareEvent(t,e,n,l).then(n=>{if(null===n)throw this.recordDroppedEvent("event_processor",c,t),new Y("An event processor returned `null`, will not send event.","log");return e.data&&!0===e.data.__sentry__?n:function(t,e){let n=`${e} must return \`null\` or a valid event.`;if((0,$.Qg)(t))return t.then(t=>{if(!(0,$.Qd)(t)&&null!==t)throw new Y(n);return t},t=>{throw new Y(`${e} rejected with ${t}`)});if(!(0,$.Qd)(t)&&null!==t)throw new Y(n);return t}(function(t,e,n){let{beforeSend:r,beforeSendTransaction:i}=t;return tt(e)&&r?r(e,n):te(e)&&i?i(e,n):e}(r,n,e),u)}).then(r=>{if(null===r)throw this.recordDroppedEvent("before_send",c,t),new Y(`${u} returned \`null\`, will not send event.`,"log");let i=n&&n.getSession();!s&&i&&this._updateSessionFromEvent(i,r);let o=r.transaction_info;return s&&o&&r.transaction!==t.transaction&&(r.transaction_info={...o,source:"custom"}),this.sendEvent(r,e),r}).then(null,t=>{if(t instanceof Y)throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),new Y(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event. Reason: ${t}`)})}_process(t){this._numProcessing++,t.then(t=>(this._numProcessing--,t),t=>(this._numProcessing--,t))}_sendEnvelope(t){if(this.emit("beforeEnvelope",t),this._isEnabled()&&this._transport)return this._transport.send(t).then(null,t=>{h.T&&c.vF.error("Error while sending event:",t)});h.T&&c.vF.error("Transport disabled")}_clearOutcomes(){let t=this._outcomes;return this._outcomes={},Object.keys(t).map(e=>{let[n,r]=e.split(":");return{reason:n,category:r,quantity:t[e]}})}}function tt(t){return void 0===t.type}function te(t){return"transaction"===t.type}var tn=n(38718),tr=n(76869);function ti(t,e){let n=to(t,e),r={type:e&&e.name,value:function(t){let e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function ts(t,e){return{exception:{values:[ti(t,e)]}}}function to(t,e){let n=e.stacktrace||e.stack||"",r=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(ta.test(t.message))return 1}return 0}(e);try{return t(n,r)}catch(t){}return[]}let ta=/Minified React error #\d+;/i;function tu(t,e,n,r,i){let s;if((0,$.T2)(e)&&e.error)return ts(t,e.error);if((0,$.BD)(e)||(0,$.W6)(e)){if("stack"in e)s=ts(t,e);else{let i=e.name||((0,$.BD)(e)?"DOMError":"DOMException"),o=e.message?`${i}: ${e.message}`:i;s=tc(t,o,n,r),(0,l.gO)(s,o)}return"code"in e&&(s.tags={...s.tags,"DOMException.code":`${e.code}`}),s}return(0,$.bJ)(e)?ts(t,e):((0,$.Qd)(e)||(0,$.xH)(e)?s=function(t,e,n,r){let i=(0,y.KU)(),s=i&&i.getOptions().normalizeDepth,o={exception:{values:[{type:(0,$.xH)(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:function(t,{isUnhandledRejection:e}){let n=(0,v.HF)(t),r=e?"promise rejection":"exception";if((0,$.T2)(t))return`Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\``;if((0,$.xH)(t)){let e=function(t){try{let e=Object.getPrototypeOf(t);return e?e.constructor.name:void 0}catch(t){}}(t);return`Event \`${e}\` (type=${t.type}) captured as ${r}`}return`Object captured as ${r} with keys: ${n}`}(e,{isUnhandledRejection:r})}]},extra:{__serialized__:(0,G.cd)(e,s)}};if(n){let e=to(t,n);e.length&&(o.exception.values[0].stacktrace={frames:e})}return o}(t,e,n,i):(s=tc(t,e,n,r),(0,l.gO)(s,`${e}`,void 0)),(0,l.M6)(s,{synthetic:!0}),s)}function tc(t,e,n,r){let i={};if(r&&n){let r=to(t,n);r.length&&(i.exception={values:[{value:e,stacktrace:{frames:r}}]})}if((0,$.NF)(e)){let{__sentry_template_string__:t,__sentry_template_values__:n}=e;return i.logentry={message:t,params:n},i}return i.message=e,i}let tl=L.OW,tp=0;function th(t,e={},n){if("function"!=typeof t)return t;try{let e=t.__sentry_wrapped__;if(e)return e;if((0,v.sp)(t))return t}catch(e){return t}let r=function(){let r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);let i=r.map(t=>th(t,e));return t.apply(this,i)}catch(t){throw tp++,setTimeout(()=>{tp--}),(0,y.v4)(n=>{n.addEventProcessor(t=>(e.mechanism&&((0,l.gO)(t,void 0,void 0),(0,l.M6)(t,e.mechanism)),t.extra={...t.extra,arguments:r},t)),(0,y.Cp)(t)}),t}};try{for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=t[e])}catch(t){}(0,v.pO)(r,t),(0,v.my)(t,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get:()=>t.name})}catch(t){}return r}class td extends Z{constructor(t){!function(t,e,n=[e],r="npm"){let i=t._metadata||{};i.sdk||(i.sdk={name:`sentry.javascript.${e}`,packages:n.map(t=>({name:`${r}:@sentry/${t}`,version:tn.M})),version:tn.M}),t._metadata=i}(t,"browser",["browser"],tl.SENTRY_SDK_SOURCE||"npm"),super(t),t.sendClientReports&&tl.document&&tl.document.addEventListener("visibilitychange",()=>{"hidden"===tl.document.visibilityState&&this._flushOutcomes()})}eventFromException(t,e){return function(t,e,n,r){let i=tu(t,e,n&&n.syntheticException||void 0,r);return(0,l.M6)(i),i.level="error",n&&n.event_id&&(i.event_id=n.event_id),(0,F.XW)(i)}(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t,e="info",n){return function(t,e,n="info",r,i){let s=tc(t,e,r&&r.syntheticException||void 0,i);return s.level=n,r&&r.event_id&&(s.event_id=r.event_id),(0,F.XW)(s)}(this._options.stackParser,t,e,n,this._options.attachStacktrace)}captureUserFeedback(t){if(!this._isEnabled())return;let e=function(t,{metadata:e,tunnel:n,dsn:r}){return B({event_id:t.event_id,sent_at:new Date().toISOString(),...e&&e.sdk&&{sdk:{name:e.sdk.name,version:e.sdk.version}},...!!n&&!!r&&{dsn:U(r)}},[[{type:"user_report"},t]])}(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(e)}_prepareEvent(t,e,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n)}_flushOutcomes(){var t;let e=this._clearOutcomes();if(0===e.length||!this._dsn)return;let n=B((t=this._options.tunnel&&U(this._dsn))?{dsn:t}:{},[[{type:"client_report"},{timestamp:(0,tr.lu)(),discarded_events:e}]]);this._sendEnvelope(n)}}function t_(){"console"in L.OW&&c.Ow.forEach(function(t){t in L.OW.console&&(0,v.GS)(L.OW.console,t,function(e){return c.Z9[t]=e,function(...e){(0,w.aj)("console",{args:e,level:t});let n=c.Z9[t];n&&n.apply(L.OW.console,e)}})})}let tf=L.OW;function tg(){if(!tf.document)return;let t=w.aj.bind(null,"dom"),e=tm(t,!0);tf.document.addEventListener("click",e,!1),tf.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach(e=>{let n=tf[e]&&tf[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,v.GS)(n,"addEventListener",function(e){return function(n,r,i){if("click"===n||"keypress"==n)try{let r=this.__sentry_instrumentation_handlers__=this.__sentry_instrumentation_handlers__||{},s=r[n]=r[n]||{refCount:0};if(!s.handler){let r=tm(t);s.handler=r,e.call(this,n,r,i)}s.refCount++}catch(t){}return e.call(this,n,r,i)}}),(0,v.GS)(n,"removeEventListener",function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{let n=this.__sentry_instrumentation_handlers__||{},i=n[e];i&&(i.refCount--,i.refCount<=0&&(t.call(this,e,i.handler,r),i.handler=void 0,delete n[e]),0===Object.keys(n).length&&delete this.__sentry_instrumentation_handlers__)}catch(t){}return t.call(this,e,n,r)}}))})}function tm(t,e=!1){return n=>{if(!n||n._sentryCaptured)return;let r=function(t){try{return t.target}catch(t){return null}}(n);if("keypress"===n.type&&(!r||!r.tagName||"INPUT"!==r.tagName&&"TEXTAREA"!==r.tagName&&!r.isContentEditable))return;(0,v.my)(n,"_sentryCaptured",!0),r&&!r._sentryId&&(0,v.my)(r,"_sentryId",(0,l.eJ)());let i="keypress"===n.type?"input":n.type;!function(t){if(t.type!==o)return!1;try{if(!t.target||t.target._sentryId!==a)return!1}catch(t){}return!0}(n)&&(t({event:n,name:i,global:e}),o=n.type,a=r?r._sentryId:void 0),clearTimeout(s),s=tf.setTimeout(()=>{a=void 0,o=void 0},1e3)}}let tE=L.OW,tv="__sentry_xhr_v3__";function ty(){if(!tE.XMLHttpRequest)return;let t=XMLHttpRequest.prototype;(0,v.GS)(t,"open",function(t){return function(...e){let n=Date.now(),r=(0,$.Kg)(e[0])?e[0].toUpperCase():void 0,i=function(t){if((0,$.Kg)(t))return t;try{return t.toString()}catch(t){}}(e[1]);if(!r||!i)return t.apply(this,e);this[tv]={method:r,url:i,request_headers:{}},"POST"===r&&i.match(/sentry_key/)&&(this.__sentry_own_request__=!0);let s=()=>{let t=this[tv];if(t&&4===this.readyState){try{t.status_code=this.status}catch(t){}let e={args:[r,i],endTimestamp:Date.now(),startTimestamp:n,xhr:this};(0,w.aj)("xhr",e)}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?(0,v.GS)(this,"onreadystatechange",function(t){return function(...e){return s(),t.apply(this,e)}}):this.addEventListener("readystatechange",s),(0,v.GS)(this,"setRequestHeader",function(t){return function(...e){let[n,r]=e,i=this[tv];return i&&(0,$.Kg)(n)&&(0,$.Kg)(r)&&(i.request_headers[n.toLowerCase()]=r),t.apply(this,e)}}),t.apply(this,e)}}),(0,v.GS)(t,"send",function(t){return function(...e){let n=this[tv];if(!n)return t.apply(this,e);void 0!==e[0]&&(n.body=e[0]);let r={args:[n.method,n.url],startTimestamp:Date.now(),xhr:this};return(0,w.aj)("xhr",r),t.apply(this,e)}})}function tT(){(function(){if("string"==typeof EdgeRuntime)return!0;if(!I())return!1;if(C(P.fetch))return!0;let t=!1,e=P.document;if(e&&"function"==typeof e.createElement)try{let n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(t=C(n.contentWindow.fetch)),e.head.removeChild(n)}catch(t){A.T&&c.vF.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",t)}return t})()&&(0,v.GS)(L.OW,"fetch",function(t){return function(...e){let{method:n,url:r}=function(t){if(0===t.length)return{method:"GET",url:""};if(2===t.length){let[e,n]=t;return{url:tO(e),method:tS(n,"method")?String(n.method).toUpperCase():"GET"}}let e=t[0];return{url:tO(e),method:tS(e,"method")?String(e.method).toUpperCase():"GET"}}(e),i={args:e,fetchData:{method:n,url:r},startTimestamp:Date.now()};return(0,w.aj)("fetch",{...i}),t.apply(L.OW,e).then(t=>{let e={...i,endTimestamp:Date.now(),response:t};return(0,w.aj)("fetch",e),t},t=>{let e={...i,endTimestamp:Date.now(),error:t};throw(0,w.aj)("fetch",e),t})}})}function tS(t,e){return!!t&&"object"==typeof t&&!!t[e]}function tO(t){return"string"==typeof t?t:t?tS(t,"url")?t.url:t.toString?t.toString():"":""}var tb=n(82596);let tR=["fatal","error","warning","log","info","debug"];function tA(t){if(!t)return{};let e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};let n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}let tL="Breadcrumbs",tP=(0,d._C)((t={})=>{let e={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t};return{name:tL,setupOnce(){},setup(t){var n,r,i;e.console&&function(t){let e="console";(0,w.s5)(e,t),(0,w.AS)(e,t_)}(function(e){var n;if((0,y.KU)()!==t)return;let r={category:"console",data:{arguments:e.args,logger:"console"},level:"warn"===(n=e.level)?"warning":tR.includes(n)?n:"log",message:(0,p.gt)(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;r.message=`Assertion failed: ${(0,p.gt)(e.args.slice(1)," ")||"console.assert"}`,r.data.arguments=e.args.slice(1)}(0,y.ZQ)(r,{input:e.args,level:e.level})}),e.dom&&(i=e.dom,n=function(e){let n,r;if((0,y.KU)()!==t)return;let s="object"==typeof i?i.serializeAttribute:void 0,o="object"==typeof i&&"number"==typeof i.maxStringLength?i.maxStringLength:void 0;o&&o>1024&&(o=1024),"string"==typeof s&&(s=[s]);try{let t=e.event,i=t&&t.target?t.target:t;n=(0,tb.Hd)(i,{keyAttrs:s,maxStringLength:o}),r=(0,tb.xE)(i)}catch(t){n=""}if(0===n.length)return;let a={category:`ui.${e.name}`,message:n};r&&(a.data={"ui.component_name":r}),(0,y.ZQ)(a,{event:e.event,name:e.name,global:e.global})},(0,w.s5)("dom",n),(0,w.AS)("dom",tg)),e.xhr&&(r=function(e){if((0,y.KU)()!==t)return;let{startTimestamp:n,endTimestamp:r}=e,i=e.xhr[tv];if(!n||!r||!i)return;let{method:s,url:o,status_code:a,body:u}=i,c={xhr:e.xhr,input:u,startTimestamp:n,endTimestamp:r};(0,y.ZQ)({category:"xhr",data:{method:s,url:o,status_code:a},type:"http"},c)},(0,w.s5)("xhr",r),(0,w.AS)("xhr",ty)),e.fetch&&function(t){let e="fetch";(0,w.s5)(e,t),(0,w.AS)(e,tT)}(function(e){if((0,y.KU)()!==t)return;let{startTimestamp:n,endTimestamp:r}=e;if(!(!r||e.fetchData.url.match(/sentry_key/)&&"POST"===e.fetchData.method)){if(e.error){let t=e.fetchData,i={data:e.error,input:e.args,startTimestamp:n,endTimestamp:r};(0,y.ZQ)({category:"fetch",data:t,level:"error",type:"http"},i)}else{let t=e.response,i={...e.fetchData,status_code:t&&t.status},s={input:e.args,response:t,startTimestamp:n,endTimestamp:r};(0,y.ZQ)({category:"fetch",data:i,type:"http"},s)}}}),e.history&&M(function(e){if((0,y.KU)()!==t)return;let n=e.from,r=e.to,i=tA(tl.location.href),s=n?tA(n):void 0,o=tA(r);s&&s.path||(s=i),i.protocol===o.protocol&&i.host===o.host&&(r=o.relative),i.protocol===s.protocol&&i.host===s.host&&(n=s.relative),(0,y.ZQ)({category:"navigation",data:{from:n,to:r}})}),e.sentry&&t.on&&t.on("beforeSendEvent",function(e){(0,y.KU)()===t&&(0,y.ZQ)({category:`sentry.${"transaction"===e.type?"transaction":"event"}`,event_id:e.event_id,level:e.level,message:(0,l.$X)(e)},{event:e})})}}});(0,d.F)(tL,tP);let tI="Dedupe",tC=(0,d._C)(()=>{let t;return{name:tI,setupOnce(){},processEvent(e){if(e.type)return e;try{var n;if((n=t)&&(function(t,e){let n=t.message,r=e.message;return!!((n||r)&&(!n||r)&&(n||!r)&&n===r&&tw(t,e)&&tx(t,e))}(e,n)||function(t,e){let n=tN(e),r=tN(t);return!!(n&&r&&n.type===r.type&&n.value===r.value&&tw(t,e)&&tx(t,e))}(e,n)))return null}catch(t){}return t=e}}});function tx(t,e){let n=tM(t),r=tM(e);if(!n&&!r)return!0;if(n&&!r||!n&&r||r.length!==n.length)return!1;for(let t=0;t{let e={onerror:!0,onunhandledrejection:!0,...t};return{name:tU,setupOnce(){Error.stackTraceLimit=50},setup(t){e.onerror&&(0,tk.L)(e=>{let{stackParser:n,attachStacktrace:r}=tF();if((0,y.KU)()!==t||tp>0)return;let{msg:i,url:s,line:o,column:a,error:u}=e,c=void 0===u&&(0,$.Kg)(i)?function(t,e,n,r){let i=(0,$.T2)(t)?t.message:t,s="Error",o=i.match(/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i);return o&&(s=o[1],i=o[2]),t$({exception:{values:[{type:s,value:i}]}},e,n,r)}(i,s,o,a):t$(tu(n,u||i,void 0,r,!1),s,o,a);c.level="error",(0,y.r)(c,{originalException:u,mechanism:{handled:!1,type:"onerror"}})}),e.onunhandledrejection&&(0,tD.r)(e=>{let{stackParser:n,attachStacktrace:r}=tF();if((0,y.KU)()!==t||tp>0)return;let i=function(t){if((0,$.sO)(t))return t;try{if("reason"in t)return t.reason;if("detail"in t&&"reason"in t.detail)return t.detail.reason}catch(t){}return t}(e),s=(0,$.sO)(i)?{exception:{values:[{type:"UnhandledRejection",value:`Non-Error promise rejection captured with value: ${String(i)}`}]}}:tu(n,i,void 0,r,!0);s.level="error",(0,y.r)(s,{originalException:i,mechanism:{handled:!1,type:"onunhandledrejection"}})})}}});function t$(t,e,n,r){let i=t.exception=t.exception||{},s=i.values=i.values||[],o=s[0]=s[0]||{},a=o.stacktrace=o.stacktrace||{},u=a.frames=a.frames||[],c=isNaN(parseInt(r,10))?void 0:r,l=isNaN(parseInt(n,10))?void 0:n,p=(0,$.Kg)(e)&&e.length>0?e:(0,tb.$N)();return 0===u.length&&u.push({colno:c,filename:p,function:"?",in_app:!0,lineno:l}),t}function tF(){let t=(0,y.KU)();return t&&t.getOptions()||{stackParser:()=>[],attachStacktrace:!1}}(0,d.F)(tU,tj);let tG="HttpContext",tB=(0,d._C)(()=>({name:tG,setupOnce(){},preprocessEvent(t){if(!tl.navigator&&!tl.location&&!tl.document)return;let e=t.request&&t.request.url||tl.location&&tl.location.href,{referrer:n}=tl.document||{},{userAgent:r}=tl.navigator||{},i={...t.request&&t.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},s={...t.request,...e&&{url:e},headers:i};t.request=s}}));function tX(t,e){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,..."AggregateError"===t.type&&{is_exception_group:!0},exception_id:e}}function tK(t,e,n,r){t.mechanism=t.mechanism||{type:"generic",handled:!0},t.mechanism={...t.mechanism,type:"chained",source:e,exception_id:n,parent_id:r}}(0,d.F)(tG,tB);let tH="LinkedErrors",tV=(0,d._C)((t={})=>{let e=t.limit||5,n=t.key||"cause";return{name:tH,setupOnce(){},preprocessEvent(t,r,i){let s=i.getOptions();!function(t,e,n=250,r,i,s,o){if(!s.exception||!s.exception.values||!o||!(0,$.tH)(o.originalException,Error))return;let a=s.exception.values.length>0?s.exception.values[s.exception.values.length-1]:void 0;a&&(s.exception.values=(function t(e,n,r,i,s,o,a,u){if(o.length>=r+1)return o;let c=[...o];if((0,$.tH)(i[s],Error)){tX(a,u);let o=e(n,i[s]),l=c.length;tK(o,s,l,u),c=t(e,n,r,i[s],s,[o,...c],o,l)}return Array.isArray(i.errors)&&i.errors.forEach((i,o)=>{if((0,$.tH)(i,Error)){tX(a,u);let l=e(n,i),p=c.length;tK(l,`errors[${o}]`,p,u),c=t(e,n,r,i,s,[l,...c],l,p)}}),c})(t,e,i,o.originalException,r,s.exception.values,a,0).map(t=>(t.value&&(t.value=(0,p.xv)(t.value,n)),t)))}(ti,s.stackParser,s.maxValueLength,n,e,t,r)}}});(0,d.F)(tH,tV);let tY=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","BroadcastChannel","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","SharedWorker","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],tW="TryCatch",tq=(0,d._C)((t={})=>{let e={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t};return{name:tW,setupOnce(){e.setTimeout&&(0,v.GS)(tl,"setTimeout",tJ),e.setInterval&&(0,v.GS)(tl,"setInterval",tJ),e.requestAnimationFrame&&(0,v.GS)(tl,"requestAnimationFrame",tz),e.XMLHttpRequest&&"XMLHttpRequest"in tl&&(0,v.GS)(XMLHttpRequest.prototype,"send",tQ);let t=e.eventTarget;t&&(Array.isArray(t)?t:tY).forEach(tZ)}}});function tJ(t){return function(...e){let n=e[0];return e[0]=th(n,{mechanism:{data:{function:(0,R.qQ)(t)},handled:!1,type:"instrument"}}),t.apply(this,e)}}function tz(t){return function(e){return t.apply(this,[th(e,{mechanism:{data:{function:"requestAnimationFrame",handler:(0,R.qQ)(t)},handled:!1,type:"instrument"}})])}}function tQ(t){return function(...e){let n=this;return["onload","onerror","onprogress","onreadystatechange"].forEach(t=>{t in n&&"function"==typeof n[t]&&(0,v.GS)(n,t,function(e){let n={mechanism:{data:{function:t,handler:(0,R.qQ)(e)},handled:!1,type:"instrument"}},r=(0,v.sp)(e);return r&&(n.mechanism.data.handler=(0,R.qQ)(r)),th(e,n)})}),t.apply(this,e)}}function tZ(t){let e=tl[t]&&tl[t].prototype;e&&e.hasOwnProperty&&e.hasOwnProperty("addEventListener")&&((0,v.GS)(e,"addEventListener",function(e){return function(n,r,i){try{"function"==typeof r.handleEvent&&(r.handleEvent=th(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:(0,R.qQ)(r),target:t},handled:!1,type:"instrument"}}))}catch(t){}return e.apply(this,[n,th(r,{mechanism:{data:{function:"addEventListener",handler:(0,R.qQ)(r),target:t},handled:!1,type:"instrument"}}),i])}}),(0,v.GS)(e,"removeEventListener",function(t){return function(e,n,r){try{let i=n&&n.__sentry_wrapped__;i&&t.call(this,e,i,r)}catch(t){}return t.call(this,e,n,r)}}))}function t0(t,e,n,r){let i={filename:t,function:e,in_app:!0};return void 0!==n&&(i.lineno=n),void 0!==r&&(i.colno=r),i}(0,d.F)(tW,tq);let t1=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,t2=/\((\S*)(?::(\d+))(?::(\d+))\)/,t3=[30,t=>{let e=t1.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){let t=t2.exec(e[2]);t&&(e[2]=t[1],e[3]=t[2],e[4]=t[3])}let[t,n]=et(e[1]||"?",e[2]);return t0(n,t,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],t6=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,t8=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,t5=[50,t=>{let e=t6.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){let t=t8.exec(e[3]);t&&(e[1]=e[1]||"eval",e[3]=t[1],e[4]=t[2],e[5]="")}let t=e[3],n=e[1]||"?";return[n,t]=et(n,t),t0(t,n,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}],t9=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,t4=[40,t=>{let e=t9.exec(t);return e?t0(e[2],e[1]||"?",+e[3],e[4]?+e[4]:void 0):void 0}],t7=(0,R.gd)(t3,t5,t4),et=(t,e)=>{let n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:"?",n?`safari-extension:${e}`:`safari-web-extension:${e}`]:[t,e]};function ee(t,e,n=function(t){let e=[];function n(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(r){if(!(void 0===t||e.lengthn(i)).then(null,()=>n(i).then(null,()=>{})),i},drain:function(t){return new F.T2((n,r)=>{let i=e.length;if(!i)return n(!0);let s=setTimeout(()=>{t&&t>0&&n(!1)},t);e.forEach(t=>{(0,F.XW)(t).then(()=>{--i||(clearTimeout(s),n(!0))},r)})})}}}(t.bufferSize||30)){let r={};function i(i){let s=[];if(X(i,(e,n)=>{let i=H[n];if(function(t,e,n=Date.now()){return(t[e]||t.all||0)>n}(r,i)){let r=en(e,n);t.recordDroppedEvent("ratelimit_backoff",i,r)}else s.push(e)}),0===s.length)return(0,F.XW)();let o=B(i[0],s),a=e=>{X(o,(n,r)=>{let i=en(n,r);t.recordDroppedEvent(e,H[r],i)})};return n.add(()=>e({body:function(t,e){let[n,r]=t,i=JSON.stringify(n);function s(t){"string"==typeof i?i="string"==typeof t?i+t:[K(i,e),t]:i.push("string"==typeof t?K(t,e):t)}for(let t of r){let[e,n]=t;if(s(` ${JSON.stringify(e)} `),"string"==typeof n||n instanceof Uint8Array)s(n);else{let t;try{t=JSON.stringify(n)}catch(e){t=JSON.stringify((0,G.S8)(n))}s(t)}}return"string"==typeof i?i:function(t){let e=new Uint8Array(t.reduce((t,e)=>t+e.length,0)),n=0;for(let r of t)e.set(r,n),n+=r.length;return e}(i)}(o,t.textEncoder)}).then(t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&h.T&&c.vF.warn(`Sentry responded with status code ${t.statusCode} to sent event.`),r=function(t,{statusCode:e,headers:n},r=Date.now()){let i={...t},s=n&&n["x-sentry-rate-limits"],o=n&&n["retry-after"];if(s)for(let t of s.trim().split(",")){let[e,n,,,s]=t.split(":",5),o=parseInt(e,10),a=(isNaN(o)?60:o)*1e3;if(n)for(let t of n.split(";"))"metric_bucket"===t?(!s||s.split(";").includes("custom"))&&(i[t]=r+a):i[t]=r+a;else i.all=r+a}else o?i.all=r+function(t,e=Date.now()){let n=parseInt(`${t}`,10);if(!isNaN(n))return 1e3*n;let r=Date.parse(`${t}`);return isNaN(r)?6e4:r-e}(o,r):429===e&&(i.all=r+6e4);return i}(r,t),t),t=>{throw a("network_error"),t})).then(t=>t,t=>{if(t instanceof Y)return h.T&&c.vF.error("Skipped sending event because buffer is full."),a("queue_overflow"),(0,F.XW)();throw t})}return i.__sentry__baseTransport__=!0,{send:i,flush:t=>n.drain(t)}}function en(t,e){if("event"===e||"transaction"===e)return Array.isArray(t)?t[1]:void 0}function er(t,e=function(){if(u)return u;if(C(tl.fetch))return u=tl.fetch.bind(tl);let t=tl.document,e=tl.fetch;if(t&&"function"==typeof t.createElement)try{let n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);let r=n.contentWindow;r&&r.fetch&&(e=r.fetch),t.head.removeChild(n)}catch(t){}return u=e.bind(tl)}()){let n=0,r=0;return ee(t,function(i){let s=i.body.length;n+=s,r++;let o={body:i.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n<=6e4&&r<15,...t.fetchOptions};try{return e(t.url,o).then(t=>(n-=s,r--,{statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}}))}catch(t){return u=void 0,n-=s,r--,(0,F.xg)(t)}})}function ei(t){return ee(t,function(e){return new F.T2((n,r)=>{let i=new XMLHttpRequest;for(let e in i.onerror=r,i.onreadystatechange=()=>{4===i.readyState&&n({statusCode:i.status,headers:{"x-sentry-rate-limits":i.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":i.getResponseHeader("Retry-After")}})},i.open("POST",t.url),t.headers)Object.prototype.hasOwnProperty.call(t.headers,e)&&i.setRequestHeader(e,t.headers[e]);i.send(e.body)})})}let es=[m(),O(),tq(),tP(),tj(),tV(),tC(),tB()];function eo(t={}){void 0===t.defaultIntegrations&&(t.defaultIntegrations=[...es]),void 0===t.release&&("string"==typeof __SENTRY_RELEASE__&&(t.release=__SENTRY_RELEASE__),tl.SENTRY_RELEASE&&tl.SENTRY_RELEASE.id&&(t.release=tl.SENTRY_RELEASE.id)),void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0),function(t,e){!0===e.debug&&(h.T?c.vF.enable():(0,c.pq)(()=>{console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.")})),(0,y.o5)().update(e.initialScope);let n=new t(e);(function(t){let e=(0,b.BF)().getStackTop();e.client=t,e.scope.setClient(t)})(n),n.init?n.init():n.setupIntegrations&&n.setupIntegrations()}(td,{...t,stackParser:(0,R.vk)(t.stackParser||t7),integrations:(0,d.mH)(t),transport:t.transport||(I()?er:ei)}),t.autoSessionTracking&&void 0!==tl.document&&((0,y.J0)({ignoreDuration:!0}),(0,y.J5)(),M(({from:t,to:e})=>{void 0!==t&&t!==e&&((0,y.J0)({ignoreDuration:!0}),(0,y.J5)())}))}},48235:(t,e,n)=>{n.d(e,{U:()=>r});let r="production"},79532:(t,e,n)=>{n.d(e,{T:()=>r});let r=!1},55939:(t,e,n)=>{n.d(e,{jB:()=>function t(e,n,r,u=0){return new i.T2((i,c)=>{let l=e[u];if(null===n||"function"!=typeof l)i(n);else{let p=l({...n},r);a.T&&l.id&&null===p&&s.vF.log(`Event processor "${l.id}" dropped event`),(0,o.Qg)(p)?p.then(n=>t(e,n,r,u+1).then(i)).then(null,c):t(e,p,r,u+1).then(i).then(null,c)}})},lG:()=>u,lb:()=>c});var r=n(29671),i=n(38380),s=n(12596),o=n(16228),a=n(79532);function u(){return(0,r.BY)("globalEventProcessors",()=>[])}function c(t){u().push(t)}},96273:(t,e,n)=>{n.d(e,{Cp:()=>u,J0:()=>_,J5:()=>m,KU:()=>h,ZQ:()=>l,o5:()=>d,r:()=>c,v4:()=>p});var r=n(29671),i=n(48235),s=n(38113),o=n(94918),a=n(46377);function u(t,e){return(0,s.BF)().captureException(t,(0,a.li)(e))}function c(t,e){return(0,s.BF)().captureEvent(t,e)}function l(t,e){(0,s.BF)().addBreadcrumb(t,e)}function p(...t){let e=(0,s.BF)();if(2===t.length){let[n,r]=t;return n?e.withScope(()=>(e.getStackTop().scope=n,r(n))):e.withScope(r)}return e.withScope(t[0])}function h(){return(0,s.BF)().getClient()}function d(){return(0,s.BF)().getScope()}function _(t){let e=h(),n=(0,s.rm)(),a=d(),{release:u,environment:c=i.U}=e&&e.getOptions()||{},{userAgent:l}=r.OW.navigator||{},p=(0,o.fj)({release:u,environment:c,user:a.getUser()||n.getUser(),...l&&{userAgent:l},...t}),_=n.getSession();return _&&"ok"===_.status&&(0,o.qO)(_,{status:"exited"}),f(),n.setSession(p),a.setSession(p),p}function f(){let t=(0,s.rm)(),e=d(),n=e.getSession()||t.getSession();n&&(0,o.Vu)(n),g(),t.setSession(),e.setSession()}function g(){let t=(0,s.rm)(),e=d(),n=h(),r=e.getSession()||t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}function m(t=!1){if(t){f();return}g()}},38113:(t,e,n)=>{n.d(e,{BF:()=>g,EU:()=>_,rm:()=>m});var r=n(16228),i=n(69336),s=n(76869),o=n(12596),a=n(29671),u=n(48235),c=n(79532),l=n(53638),p=n(94918);let h=parseFloat(n(38718).M);class d{constructor(t,e,n,r=h){let i,s;this._version=r,e?i=e:(i=new l.HG).setClient(t),n?s=n:(s=new l.HG).setClient(t),this._stack=[{scope:i}],t&&this.bindClient(t),this._isolationScope=s}isOlderThan(t){return this._version(this.popScope(),t),t=>{throw this.popScope(),t}):(this.popScope(),e)}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getIsolationScope(){return this._isolationScope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,e){let n=this._lastEventId=e&&e.event_id?e.event_id:(0,i.eJ)(),r=Error("Sentry syntheticException");return this.getScope().captureException(t,{originalException:t,syntheticException:r,...e,event_id:n}),n}captureMessage(t,e,n){let r=this._lastEventId=n&&n.event_id?n.event_id:(0,i.eJ)(),s=Error(t);return this.getScope().captureMessage(t,e,{originalException:t,syntheticException:s,...n,event_id:r}),r}captureEvent(t,e){let n=e&&e.event_id?e.event_id:(0,i.eJ)();return t.type||(this._lastEventId=n),this.getScope().captureEvent(t,{...e,event_id:n}),n}lastEventId(){return this._lastEventId}addBreadcrumb(t,e){let{scope:n,client:r}=this.getStackTop();if(!r)return;let{beforeBreadcrumb:i=null,maxBreadcrumbs:a=100}=r.getOptions&&r.getOptions()||{};if(a<=0)return;let u={timestamp:(0,s.lu)(),...t},c=i?(0,o.pq)(()=>i(u,e)):u;null!==c&&(r.emit&&r.emit("beforeAddBreadcrumb",c,e),n.addBreadcrumb(c,a))}setUser(t){this.getScope().setUser(t),this.getIsolationScope().setUser(t)}setTags(t){this.getScope().setTags(t),this.getIsolationScope().setTags(t)}setExtras(t){this.getScope().setExtras(t),this.getIsolationScope().setExtras(t)}setTag(t,e){this.getScope().setTag(t,e),this.getIsolationScope().setTag(t,e)}setExtra(t,e){this.getScope().setExtra(t,e),this.getIsolationScope().setExtra(t,e)}setContext(t,e){this.getScope().setContext(t,e),this.getIsolationScope().setContext(t,e)}configureScope(t){let{scope:e,client:n}=this.getStackTop();n&&t(e)}run(t){let e=f(this);try{t(this)}finally{f(e)}}getIntegration(t){let e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(e){return c.T&&o.vF.warn(`Cannot retrieve integration ${t.id} from the current Hub`),null}}startTransaction(t,e){let n=this._callExtensionMethod("startTransaction",t,e);return c.T&&!n&&(this.getClient()?o.vF.warn(`Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init': Sentry.addTracingExtensions(); Sentry.init({...}); `):o.vF.warn("Tracing extension 'startTransaction' is missing. You should 'init' the SDK before calling 'startTransaction'")),n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(t=!1){if(t)return this.endSession();this._sendSessionUpdate()}endSession(){let t=this.getStackTop().scope,e=t.getSession();e&&(0,p.Vu)(e),this._sendSessionUpdate(),t.setSession()}startSession(t){let{scope:e,client:n}=this.getStackTop(),{release:r,environment:i=u.U}=n&&n.getOptions()||{},{userAgent:s}=a.OW.navigator||{},o=(0,p.fj)({release:r,environment:i,user:e.getUser(),...s&&{userAgent:s},...t}),c=e.getSession&&e.getSession();return c&&"ok"===c.status&&(0,p.qO)(c,{status:"exited"}),this.endSession(),e.setSession(o),o}shouldSendDefaultPii(){let t=this.getClient(),e=t&&t.getOptions();return!!(e&&e.sendDefaultPii)}_sendSessionUpdate(){let{scope:t,client:e}=this.getStackTop(),n=t.getSession();n&&e&&e.captureSession&&e.captureSession(n)}_callExtensionMethod(t,...e){let n=_().__SENTRY__;if(n&&n.extensions&&"function"==typeof n.extensions[t])return n.extensions[t].apply(this,e);c.T&&o.vF.warn(`Extension method ${t} couldn't be found, doing nothing.`)}}function _(){return a.OW.__SENTRY__=a.OW.__SENTRY__||{extensions:{},hub:void 0},a.OW}function f(t){let e=_(),n=E(e);return v(e,t),n}function g(){let t=_();if(t.__SENTRY__&&t.__SENTRY__.acs){let e=t.__SENTRY__.acs.getCurrentHub();if(e)return e}return function(t=_()){var e;return(!((e=t)&&e.__SENTRY__&&e.__SENTRY__.hub)||E(t).isOlderThan(h))&&v(t,new d),E(t)}(t)}function m(){return g().getIsolationScope()}function E(t){return(0,a.BY)("hub",()=>new d,t)}function v(t,e){return!!t&&((t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0)}},23720:(t,e,n)=>{n.d(e,{F:()=>d,P$:()=>l,_C:()=>_,lc:()=>p,mH:()=>c,qm:()=>h});var r=n(69336),i=n(12596),s=n(79532),o=n(55939),a=n(38113);let u=[];function c(t){let e=t.defaultIntegrations||[],n=t.integrations;e.forEach(t=>{t.isDefaultInstance=!0});let i=function(t){let e={};return t.forEach(t=>{let{name:n}=t,r=e[n];r&&!r.isDefaultInstance&&t.isDefaultInstance||(e[n]=t)}),Object.keys(e).map(t=>e[t])}(Array.isArray(n)?[...e,...n]:"function"==typeof n?(0,r.k9)(n(e)):e),s=function(t,e){for(let n=0;n"Debug"===t.name);if(-1!==s){let[t]=i.splice(s,1);i.push(t)}return i}function l(t,e){let n={};return e.forEach(e=>{e&&h(t,e,n)}),n}function p(t,e){for(let n of e)n&&n.afterAllSetup&&n.afterAllSetup(t)}function h(t,e,n){if(n[e.name]){s.T&&i.vF.log(`Integration skipped because it was already installed: ${e.name}`);return}if(n[e.name]=e,-1===u.indexOf(e.name)&&(e.setupOnce(o.lb,a.BF),u.push(e.name)),e.setup&&"function"==typeof e.setup&&e.setup(t),t.on&&"function"==typeof e.preprocessEvent){let n=e.preprocessEvent.bind(e);t.on("preprocessEvent",(e,r)=>n(e,r,t))}if(t.addEventProcessor&&"function"==typeof e.processEvent){let n=e.processEvent.bind(e),r=Object.assign((e,r)=>n(e,r,t),{id:e.name});t.addEventProcessor(r)}s.T&&i.vF.log(`Integration installed: ${e.name}`)}function d(t,e){return Object.assign(function(...t){return e(...t)},{id:t})}function _(t){return t}},21838:(t,e,n)=>{n.d(e,{qd:()=>y});var r=n(12596),i=n(79532),s=n(96273),o=n(69162),a=n(23720),u=n(76869),c=n(27445);class l{constructor(t){this._value=t}get weight(){return 1}add(t){this._value+=t}toString(){return`${this._value}`}}class p{constructor(t){this._last=t,this._min=t,this._max=t,this._sum=t,this._count=1}get weight(){return 5}add(t){this._last=t,tthis._max&&(this._max=t),this._sum+=t,this._count++}toString(){return`${this._last}:${this._min}:${this._max}:${this._sum}:${this._count}`}}class h{constructor(t){this._value=[t]}get weight(){return this._value.length}add(t){this._value.push(t)}toString(){return this._value.join(":")}}class d{constructor(t){this.first=t,this._value=new Set([t])}get weight(){return this._value.size}add(t){this._value.add(t)}toString(){return Array.from(this._value).map(t=>"string"==typeof t?(0,c.tx)(t):t).join(":")}}let _={c:l,g:p,d:h,s:d};var f=n(80933);class g{constructor(t){this._client=t,this._buckets=new Map,this._interval=setInterval(()=>this.flush(),5e3)}add(t,e,n,r="none",i={},s=(0,u.zf)()){let o=Math.floor(s),a=(0,c.T3)(e),l=(0,c.VZ)(i),p=(0,c.Mz)(r),h=(0,c.eG)(t,a,p,l),d=this._buckets.get(h),g=d&&"s"===t?d.metric.weight:0;d?(d.metric.add(n),d.timestampt);this._client.captureAggregateMetrics(t)}this._buckets.clear()}}close(){clearInterval(this._interval),this.flush()}}let m="MetricsAggregator",E=(0,a._C)(()=>({name:m,setupOnce(){},setup(t){t.metricsAggregator=new g(t)}}));function v(t,e,n,a={}){let u=(0,s.KU)(),c=(0,s.o5)();if(u){if(!u.metricsAggregator){i.T&&r.vF.warn("No metrics aggregator enabled. Please add the MetricsAggregator integration to use metrics APIs");return}let{unit:s,tags:l,timestamp:p}=a,{release:h,environment:d}=u.getOptions(),_=c.getTransaction(),f={};h&&(f.release=h),d&&(f.environment=d),_&&(f.transaction=(0,o.et)(_).description||""),i.T&&r.vF.log(`Adding value of ${n} to ${t} metric ${e}`),u.metricsAggregator.add(t,e,n,s,{...f,...l},p)}}let y={increment:function(t,e=1,n){v("c",t,e,n)},distribution:function(t,e,n){v("d",t,e,n)},set:function(t,e,n){v("s",t,e,n)},gauge:function(t,e,n){v("g",t,e,n)},MetricsAggregator:(0,a.F)(m,E),metricsAggregatorIntegration:E}},80933:(t,e,n)=>{let r;n.d(e,{g:()=>a,r:()=>u});var i=n(46063),s=n(36158);function o(t){return r?r.get(t):void 0}function a(t){let e=o(t);if(!e)return;let n={};for(let[,[t,r]]of e)n[t]||(n[t]=[]),n[t].push((0,i.Ce)(r));return n}function u(t,e,n,i,a,u){let c=(0,s.Bk)();if(c){let s=o(c)||new Map,l=`${t}:${e}@${i}`,p=s.get(u);if(p){let[,t]=p;s.set(u,[l,{min:Math.min(t.min,n),max:Math.max(t.max,n),count:t.count+=1,sum:t.sum+=n,tags:t.tags}])}else s.set(u,[l,{min:n,max:n,count:1,sum:n,tags:a}]);r||(r=new WeakMap),r.set(c,s)}}},27445:(t,e,n)=>{n.d(e,{Mz:()=>a,T3:()=>u,VZ:()=>l,eG:()=>i,ik:()=>o,tx:()=>s});var r=n(46063);function i(t,e,n,i){let s=Object.entries((0,r.Ce)(i)).sort((t,e)=>t[0].localeCompare(e[0]));return`${t}${e}${n}${s}`}function s(t){let e=0;for(let n=0;n>>0}function o(t){let e="";for(let n of t){let t=Object.entries(n.tags),r=t.length>0?`|#${t.map(([t,e])=>`${t}:${e}`).join(",")}`:"";e+=`${n.name}@${n.unit}:${n.metric}|${n.metricType}${r}|T${n.timestamp} `}return e}function a(t){return t.replace(/[^\w]+/gi,"_")}function u(t){return t.replace(/[^\w\-.]+/gi,"_")}let c=[["\n","\\n"],["\r","\\r"],[" ","\\t"],["\\","\\\\"],["|","\\u{7c}"],[",","\\u{2c}"]];function l(t){let e={};for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n.replace(/[^\w\-./]+/gi,"")]=[...String(t[n])].reduce((t,e)=>t+function(t){for(let[e,n]of c)if(t===e)return n;return t}(e),""));return e}},53638:(t,e,n)=>{let r;n.d(e,{HG:()=>p,m6:()=>h});var i=n(16228),s=n(76869),o=n(69336),a=n(12596),u=n(55939),c=n(94918),l=n(65147);class p{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={},this._propagationContext=d()}static clone(t){return t?t.clone():new p}clone(){let t=new p;return t._breadcrumbs=[...this._breadcrumbs],t._tags={...this._tags},t._extra={...this._extra},t._contexts={...this._contexts},t._user=this._user,t._level=this._level,t._span=this._span,t._session=this._session,t._transactionName=this._transactionName,t._fingerprint=this._fingerprint,t._eventProcessors=[...this._eventProcessors],t._requestSession=this._requestSession,t._attachments=[...this._attachments],t._sdkProcessingMetadata={...this._sdkProcessingMetadata},t._propagationContext={...this._propagationContext},t._client=this._client,t}setClient(t){this._client=t}getClient(){return this._client}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{email:void 0,id:void 0,ip_address:void 0,segment:void 0,username:void 0},this._session&&(0,c.qO)(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){let t=this._span;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;let e="function"==typeof t?t(this):t;if(e instanceof p){let t=e.getScopeData();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.length&&(this._fingerprint=t.fingerprint),e.getRequestSession()&&(this._requestSession=e.getRequestSession()),t.propagationContext&&(this._propagationContext=t.propagationContext)}else(0,i.Qd)(e)&&(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),t.propagationContext&&(this._propagationContext=t.propagationContext));return 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._propagationContext=d(),this}addBreadcrumb(t,e){let n="number"==typeof e?e:100;if(n<=0)return this;let r={timestamp:(0,s.lu)(),...t},i=this._breadcrumbs;return i.push(r),this._breadcrumbs=i.length>n?i.slice(-n):i,this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this.getScopeData().attachments}clearAttachments(){return this._attachments=[],this}getScopeData(){let{_breadcrumbs:t,_attachments:e,_contexts:n,_tags:r,_extra:i,_user:s,_level:o,_fingerprint:a,_eventProcessors:u,_propagationContext:c,_sdkProcessingMetadata:l,_transactionName:p,_span:h}=this;return{breadcrumbs:t,attachments:e,contexts:n,tags:r,extra:i,user:s,level:o,fingerprint:a||[],eventProcessors:u,propagationContext:c,sdkProcessingMetadata:l,transactionName:p,span:h}}applyToEvent(t,e={},n=[]){(0,l.e2)(t,this.getScopeData());let r=[...n,...(0,u.lG)(),...this._eventProcessors];return(0,u.jB)(r,t,e)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}setPropagationContext(t){return this._propagationContext=t,this}getPropagationContext(){return this._propagationContext}captureException(t,e){let n=e&&e.event_id?e.event_id:(0,o.eJ)();if(!this._client)return a.vF.warn("No client configured on scope - will not capture exception!"),n;let r=Error("Sentry syntheticException");return this._client.captureException(t,{originalException:t,syntheticException:r,...e,event_id:n},this),n}captureMessage(t,e,n){let r=n&&n.event_id?n.event_id:(0,o.eJ)();if(!this._client)return a.vF.warn("No client configured on scope - will not capture message!"),r;let i=Error(t);return this._client.captureMessage(t,e,{originalException:t,syntheticException:i,...n,event_id:r},this),r}captureEvent(t,e){let n=e&&e.event_id?e.event_id:(0,o.eJ)();return this._client?this._client.captureEvent(t,{...e,event_id:n},this):a.vF.warn("No client configured on scope - will not capture event!"),n}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach(t=>{t(this)}),this._notifyingListeners=!1)}}function h(){return r||(r=new p),r}function d(){return{traceId:(0,o.eJ)(),spanId:(0,o.eJ)().substring(16)}}},18371:(t,e,n)=>{n.d(e,{E1:()=>a,JD:()=>o,i_:()=>r,sy:()=>i,uT:()=>s});let r="sentry.source",i="sentry.sample_rate",s="sentry.op",o="sentry.origin",a="profile_id"},94918:(t,e,n)=>{n.d(e,{Vu:()=>u,fj:()=>o,qO:()=>a});var r=n(76869),i=n(69336),s=n(46063);function o(t){let e=(0,r.zf)(),n={sid:(0,i.eJ)(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>(0,s.Ce)({sid:`${n.sid}`,init:n.init,started:new Date(1e3*n.started).toISOString(),timestamp:new Date(1e3*n.timestamp).toISOString(),status:n.status,errors:n.errors,did:"number"==typeof n.did||"string"==typeof n.did?`${n.did}`:void 0,duration:n.duration,abnormal_mechanism:n.abnormal_mechanism,attrs:{release:n.release,environment:n.environment,ip_address:n.ipAddress,user_agent:n.userAgent}})};return t&&a(n,t),n}function a(t,e={}){if(!e.user||(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||(0,r.zf)(),e.abnormal_mechanism&&(t.abnormal_mechanism=e.abnormal_mechanism),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:(0,i.eJ)()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did=`${e.did}`),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{let e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}function u(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),a(t,n)}},38690:(t,e,n)=>{n.d(e,{k:()=>c,l:()=>u});var r=n(46063),i=n(48235),s=n(96273),o=n(8156),a=n(69162);function u(t,e,n){let s=e.getOptions(),{publicKey:o}=e.getDsn()||{},{segment:a}=n&&n.getUser()||{},u=(0,r.Ce)({environment:s.environment||i.U,release:s.release,user_segment:a,public_key:o,trace_id:t});return e.emit&&e.emit("createDsc",u),u}function c(t){let e=(0,s.KU)();if(!e)return{};let n=u((0,a.et)(t).trace_id||"",e,(0,s.o5)()),r=(0,o.z)(t);if(!r)return n;let i=r&&r._frozenDynamicSamplingContext;if(i)return i;let{sampleRate:c,source:l}=r.metadata;null!=c&&(n.sample_rate=`${c}`);let p=(0,a.et)(r);return l&&"url"!==l&&(n.transaction=p.description),n.sampled=String((0,a.pK)(r)),e.emit&&e.emit("createDsc",n),n}},12646:(t,e,n)=>{n.d(e,{U:()=>m});var r=n(12596),i=n(79532),s=n(38113),o=n(69162),a=n(25445),u=n(69300);let c=!1;function l(){let t=(0,s.BF)().getScope().getTransaction();if(t){let e="internal_error";i.T&&r.vF.log(`[Tracing] Transaction: ${e} -> Global error occured`),t.setStatus(e)}}l.tag="sentry_tracingErrorCallback";var p=n(16228),h=n(18371),d=n(96273),_=n(47903);function f(){let t=this.getScope().getSpan();return t?{"sentry-trace":(0,o.Qh)(t)}:{}}function g(t,e){var n,s,a;let u;let c=this.getClient(),l=c&&c.getOptions()||{},f=l.instrumenter||"sentry",g=t.instrumenter||"sentry";f!==g&&(i.T&&r.vF.error(`A transaction was started with instrumenter=\`${g}\`, but the SDK is configured with the \`${f}\` instrumenter. The transaction will not be sampled. Please use the ${f} instrumentation to start transactions.`),t.sampled=!1);let m=new _.Z(t,this);return n=m,s={name:t.name,parentSampled:t.parentSampled,transactionContext:t,attributes:{...t.data,...t.attributes},...e},((function(t){let e=(0,d.KU)(),n=t||e&&e.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)})(l)?void 0!==n.sampled?n.setAttribute(h.sy,Number(n.sampled)):("function"==typeof l.tracesSampler?(u=l.tracesSampler(s),n.setAttribute(h.sy,Number(u))):void 0!==s.parentSampled?u=s.parentSampled:void 0!==l.tracesSampleRate?(u=l.tracesSampleRate,n.setAttribute(h.sy,Number(u))):(u=1,n.setAttribute(h.sy,u)),a=u,(0,p.yr)(a)||!("number"==typeof a||"boolean"==typeof a)?(i.T&&r.vF.warn(`[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ${JSON.stringify(a)} of type ${JSON.stringify(typeof a)}.`),1):(a<0||a>1)&&(i.T&&r.vF.warn(`[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ${a}.`),1))?(i.T&&r.vF.warn("[Tracing] Discarding transaction because of invalid sample rate."),n.sampled=!1):u?(n.sampled=Math.random(){n.d(e,{Bk:()=>i,Lb:()=>s});var r=n(96273);function i(){return(0,r.o5)().getSpan()}function s(t){return{scope:t._sentryScope,isolationScope:t._sentryIsolationScope}}},47903:(t,e,n)=>{n.d(e,{Z:()=>E});var r,i=n(46063),s=n(12596),o=n(79532),a=n(38113),u=n(80933),c=n(18371),l=n(69162),p=n(38690),h=n(69336),d=n(76869),_=n(8156);!function(t){t.Ok="ok",t.DeadlineExceeded="deadline_exceeded",t.Unauthenticated="unauthenticated",t.PermissionDenied="permission_denied",t.NotFound="not_found",t.ResourceExhausted="resource_exhausted",t.InvalidArgument="invalid_argument",t.Unimplemented="unimplemented",t.Unavailable="unavailable",t.InternalError="internal_error",t.UnknownError="unknown_error",t.Cancelled="cancelled",t.AlreadyExists="already_exists",t.FailedPrecondition="failed_precondition",t.Aborted="aborted",t.OutOfRange="out_of_range",t.DataLoss="data_loss"}(r||(r={}));class f{constructor(t=1e3){this._maxlen=t,this.spans=[]}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class g{constructor(t={}){this._traceId=t.traceId||(0,h.eJ)(),this._spanId=t.spanId||(0,h.eJ)().substring(16),this._startTime=t.startTimestamp||(0,d.zf)(),this.tags=t.tags?{...t.tags}:{},this.data=t.data?{...t.data}:{},this.instrumenter=t.instrumenter||"sentry",this._attributes={},this.setAttributes({[c.JD]:t.origin||"manual",[c.uT]:t.op,...t.attributes}),this._name=t.name||t.description,t.parentSpanId&&(this._parentSpanId=t.parentSpanId),"sampled"in t&&(this._sampled=t.sampled),t.status&&(this._status=t.status),t.endTimestamp&&(this._endTime=t.endTimestamp),void 0!==t.exclusiveTime&&(this._exclusiveTime=t.exclusiveTime),this._measurements=t.measurements?{...t.measurements}:{}}get name(){return this._name||""}set name(t){this.updateName(t)}get description(){return this._name}set description(t){this._name=t}get traceId(){return this._traceId}set traceId(t){this._traceId=t}get spanId(){return this._spanId}set spanId(t){this._spanId=t}set parentSpanId(t){this._parentSpanId=t}get parentSpanId(){return this._parentSpanId}get sampled(){return this._sampled}set sampled(t){this._sampled=t}get attributes(){return this._attributes}set attributes(t){this._attributes=t}get startTimestamp(){return this._startTime}set startTimestamp(t){this._startTime=t}get endTimestamp(){return this._endTime}set endTimestamp(t){this._endTime=t}get status(){return this._status}set status(t){this._status=t}get op(){return this._attributes[c.uT]}set op(t){this.setAttribute(c.uT,t)}get origin(){return this._attributes[c.JD]}set origin(t){this.setAttribute(c.JD,t)}spanContext(){let{_spanId:t,_traceId:e,_sampled:n}=this;return{spanId:t,traceId:e,traceFlags:n?l.aO:l.CC}}startChild(t){let e=new g({...t,parentSpanId:this._spanId,sampled:this._sampled,traceId:this._traceId});e.spanRecorder=this.spanRecorder,e.spanRecorder&&e.spanRecorder.add(e);let n=(0,_.z)(this);if(e.transaction=n,o.T&&n){let r=t&&t.op||"< unknown op >",i=(0,l.et)(e).description||"< unknown name >",o=n.spanContext().spanId,a=`[Tracing] Starting '${r}' span on transaction '${i}' (${o}).`;s.vF.log(a),this._logMessage=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}setAttribute(t,e){void 0===e?delete this._attributes[t]:this._attributes[t]=e}setAttributes(t){Object.keys(t).forEach(e=>this.setAttribute(e,t[e]))}setStatus(t){return this._status=t,this}setHttpStatus(t){return!function(t,e){t.setTag("http.status_code",String(e)),t.setData("http.response.status_code",e);let n=function(t){if(t<400&&t>=100)return"ok";if(t>=400&&t<500)switch(t){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(t>=500&&t<600)switch(t){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}(e);"unknown_error"!==n&&t.setStatus(n)}(this,t),this}setName(t){this.updateName(t)}updateName(t){return this._name=t,this}isSuccess(){return"ok"===this._status}finish(t){return this.end(t)}end(t){if(this._endTime)return;let e=(0,_.z)(this);if(o.T&&e&&e.spanContext().spanId!==this._spanId){let t=this._logMessage;t&&s.vF.log(t.replace("Starting","Finishing"))}this._endTime=(0,l.cI)(t)}toTraceparent(){return(0,l.Qh)(this)}toContext(){return(0,i.Ce)({data:this._getData(),description:this._name,endTimestamp:this._endTime,op:this.op,parentSpanId:this._parentSpanId,sampled:this._sampled,spanId:this._spanId,startTimestamp:this._startTime,status:this._status,tags:this.tags,traceId:this._traceId})}updateWithContext(t){return this.data=t.data||{},this._name=t.name||t.description,this._endTime=t.endTimestamp,this.op=t.op,this._parentSpanId=t.parentSpanId,this._sampled=t.sampled,this._spanId=t.spanId||this._spanId,this._startTime=t.startTimestamp||this._startTime,this._status=t.status,this.tags=t.tags||{},this._traceId=t.traceId||this._traceId,this}getTraceContext(){return(0,l.kX)(this)}getSpanJSON(){return(0,i.Ce)({data:this._getData(),description:this._name,op:this._attributes[c.uT],parent_span_id:this._parentSpanId,span_id:this._spanId,start_timestamp:this._startTime,status:this._status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this._endTime,trace_id:this._traceId,origin:this._attributes[c.JD],_metrics_summary:(0,u.g)(this),profile_id:this._attributes[c.E1],exclusive_time:this._exclusiveTime,measurements:Object.keys(this._measurements).length>0?this._measurements:void 0})}isRecording(){return!this._endTime&&!!this._sampled}toJSON(){return this.getSpanJSON()}_getData(){let{data:t,_attributes:e}=this,n=Object.keys(t).length>0,r=Object.keys(e).length>0;return n||r?n&&r?{...t,...e}:n?t:e:void 0}}var m=n(36158);class E extends g{constructor(t,e){super(t),this._contexts={},this._hub=e||(0,a.BF)(),this._name=t.name||"",this._metadata={...t.metadata},this._trimEnd=t.trimEnd,this.transaction=this;let n=this._metadata.dynamicSamplingContext;n&&(this._frozenDynamicSamplingContext={...n})}get name(){return this._name}set name(t){this.setName(t)}get metadata(){return{source:"custom",spanMetadata:{},...this._metadata,...this._attributes[c.i_]&&{source:this._attributes[c.i_]},...this._attributes[c.sy]&&{sampleRate:this._attributes[c.sy]}}}set metadata(t){this._metadata=t}setName(t,e="custom"){this._name=t,this.setAttribute(c.i_,e)}updateName(t){return this._name=t,this}initSpanRecorder(t=1e3){this.spanRecorder||(this.spanRecorder=new f(t)),this.spanRecorder.add(this)}setContext(t,e){null===e?delete this._contexts[t]:this._contexts[t]=e}setMeasurement(t,e,n=""){this._measurements[t]={value:e,unit:n}}setMetadata(t){this._metadata={...this._metadata,...t}}end(t){let e=(0,l.cI)(t),n=this._finishTransaction(e);if(n)return this._hub.captureEvent(n)}toContext(){let t=super.toContext();return(0,i.Ce)({...t,name:this._name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this._name=t.name||"",this._trimEnd=t.trimEnd,this}getDynamicSamplingContext(){return(0,p.k)(this)}setHub(t){this._hub=t}getProfileId(){if(void 0!==this._contexts&&void 0!==this._contexts.profile)return this._contexts.profile.profile_id}_finishTransaction(t){if(void 0!==this._endTime)return;this._name||(o.T&&s.vF.warn("Transaction has no name, falling back to ``."),this._name=""),super.end(t);let e=this._hub.getClient();if(e&&e.emit&&e.emit("finishTransaction",this),!0!==this._sampled){o.T&&s.vF.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),e&&e.recordDroppedEvent("sample_rate","transaction");return}let n=this.spanRecorder?this.spanRecorder.spans.filter(t=>t!==this&&(0,l.et)(t).timestamp):[];if(this._trimEnd&&n.length>0){let t=n.map(t=>(0,l.et)(t).timestamp).filter(Boolean);this._endTime=t.reduce((t,e)=>t>e?t:e)}let{scope:r,isolationScope:a}=(0,m.Lb)(this),{metadata:c}=this,{source:h}=c,d={contexts:{...this._contexts,trace:(0,l.kX)(this)},spans:n,start_timestamp:this._startTime,tags:this.tags,timestamp:this._endTime,transaction:this._name,type:"transaction",sdkProcessingMetadata:{...c,capturedSpanScope:r,capturedSpanIsolationScope:a,...(0,i.Ce)({dynamicSamplingContext:(0,p.k)(this)})},_metrics_summary:(0,u.g)(this),...h&&{transaction_info:{source:h}}};return Object.keys(this._measurements).length>0&&(o.T&&s.vF.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),d.measurements=this._measurements),o.T&&s.vF.log(`[Tracing] Finishing ${this.op} transaction: ${this._name}.`),d}}},65147:(t,e,n)=>{n.d(e,{Rg:()=>c,e2:()=>u});var r=n(46063),i=n(69336),s=n(38690),o=n(8156),a=n(69162);function u(t,e){let{fingerprint:n,span:u,breadcrumbs:c,sdkProcessingMetadata:l}=e;(function(t,e){let{extra:n,tags:i,user:s,contexts:o,level:a,transactionName:u}=e,c=(0,r.Ce)(n);c&&Object.keys(c).length&&(t.extra={...c,...t.extra});let l=(0,r.Ce)(i);l&&Object.keys(l).length&&(t.tags={...l,...t.tags});let p=(0,r.Ce)(s);p&&Object.keys(p).length&&(t.user={...p,...t.user});let h=(0,r.Ce)(o);h&&Object.keys(h).length&&(t.contexts={...h,...t.contexts}),a&&(t.level=a),u&&(t.transaction=u)})(t,e),u&&function(t,e){t.contexts={trace:(0,a.kX)(e),...t.contexts};let n=(0,o.z)(e);if(n){t.sdkProcessingMetadata={dynamicSamplingContext:(0,s.k)(e),...t.sdkProcessingMetadata};let r=(0,a.et)(n).description;r&&(t.tags={transaction:r,...t.tags})}}(t,u),t.fingerprint=t.fingerprint?(0,i.k9)(t.fingerprint):[],n&&(t.fingerprint=t.fingerprint.concat(n)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint,function(t,e){let n=[...t.breadcrumbs||[],...e];t.breadcrumbs=n.length?n:void 0}(t,c),t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...l}}function c(t,e){let{extra:n,tags:r,user:i,contexts:s,level:o,sdkProcessingMetadata:a,breadcrumbs:u,fingerprint:c,eventProcessors:p,attachments:h,propagationContext:d,transactionName:_,span:f}=e;l(t,"extra",n),l(t,"tags",r),l(t,"user",i),l(t,"contexts",s),l(t,"sdkProcessingMetadata",a),o&&(t.level=o),_&&(t.transactionName=_),f&&(t.span=f),u.length&&(t.breadcrumbs=[...t.breadcrumbs,...u]),c.length&&(t.fingerprint=[...t.fingerprint,...c]),p.length&&(t.eventProcessors=[...t.eventProcessors,...p]),h.length&&(t.attachments=[...t.attachments,...h]),t.propagationContext={...t.propagationContext,...d}}function l(t,e,n){if(n&&Object.keys(n).length)for(let r in t[e]={...t[e]},n)Object.prototype.hasOwnProperty.call(n,r)&&(t[e][r]=n[r])}},8156:(t,e,n)=>{n.d(e,{z:()=>r});function r(t){return t.transaction}},28285:(t,e,n)=>{function r(t,e){let n=e&&void 0!==e.getClient?e.getClient():e,r=n&&n.getDsn(),s=n&&n.getOptions().tunnel;return!!r&&t.includes(r.host)||!!s&&i(t)===i(s)}function i(t){return"/"===t[t.length-1]?t.slice(0,-1):t}n.d(e,{A:()=>r})},46377:(t,e,n)=>{n.d(e,{li:()=>f,mG:()=>d});var r=n(69336),i=n(76869),s=n(84733),o=n(29671),a=n(32213),u=n(48235),c=n(55939),l=n(53638),p=n(65147),h=n(69162);function d(t,e,n,d,f,g){let{normalizeDepth:m=3,normalizeMaxBreadth:E=1e3}=t,v={...e,event_id:e.event_id||n.event_id||(0,r.eJ)(),timestamp:e.timestamp||(0,i.lu)()},y=n.integrations||t.integrations.map(t=>t.name);(function(t,e){let{environment:n,release:r,dist:i,maxValueLength:o=250}=e;"environment"in t||(t.environment="environment"in e?n:u.U),void 0===t.release&&void 0!==r&&(t.release=r),void 0===t.dist&&void 0!==i&&(t.dist=i),t.message&&(t.message=(0,s.xv)(t.message,o));let a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=(0,s.xv)(a.value,o));let c=t.request;c&&c.url&&(c.url=(0,s.xv)(c.url,o))})(v,t),y.length>0&&(v.sdk=v.sdk||{},v.sdk.integrations=[...v.sdk.integrations||[],...y]),void 0===e.type&&function(t,e){let n;let r=o.OW._sentryDebugIds;if(!r)return;let i=_.get(e);i?n=i:(n=new Map,_.set(e,n));let s=Object.keys(r).reduce((t,i)=>{let s;let o=n.get(i);o?s=o:(s=e(i),n.set(i,s));for(let e=s.length-1;e>=0;e--){let n=s[e];if(n.filename){t[n.filename]=r[i];break}}return t},{});try{t.exception.values.forEach(t=>{t.stacktrace.frames.forEach(t=>{t.filename&&(t.debug_id=s[t.filename])})})}catch(t){}}(v,t.stackParser);let T=function(t,e){if(!e)return t;let n=t?t.clone():new l.HG;return n.update(e),n}(d,n.captureContext);n.mechanism&&(0,r.M6)(v,n.mechanism);let S=f&&f.getEventProcessors?f.getEventProcessors():[],O=(0,l.m6)().getScopeData();if(g){let t=g.getScopeData();(0,p.Rg)(O,t)}if(T){let t=T.getScopeData();(0,p.Rg)(O,t)}let b=[...n.attachments||[],...O.attachments];b.length&&(n.attachments=b),(0,p.e2)(v,O);let R=[...S,...(0,c.lG)(),...O.eventProcessors];return(0,c.jB)(R,v,n).then(t=>(t&&function(t){let e={};try{t.exception.values.forEach(t=>{t.stacktrace.frames.forEach(t=>{t.debug_id&&(t.abs_path?e[t.abs_path]=t.debug_id:t.filename&&(e[t.filename]=t.debug_id),delete t.debug_id)})})}catch(t){}if(0===Object.keys(e).length)return;t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];let n=t.debug_meta.images;Object.keys(e).forEach(t=>{n.push({type:"sourcemap",code_file:t,debug_id:e[t]})})}(t),"number"==typeof m&&m>0)?function(t,e,n){if(!t)return null;let r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map(t=>({...t,...t.data&&{data:(0,a.S8)(t.data,e,n)}}))},...t.user&&{user:(0,a.S8)(t.user,e,n)},...t.contexts&&{contexts:(0,a.S8)(t.contexts,e,n)},...t.extra&&{extra:(0,a.S8)(t.extra,e,n)}};return t.contexts&&t.contexts.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=(0,a.S8)(t.contexts.trace.data,e,n))),t.spans&&(r.spans=t.spans.map(t=>{let r=(0,h.et)(t).data;return r&&(t.data=(0,a.S8)(r,e,n)),t})),r}(t,m,E):t)}let _=new WeakMap;function f(t){return t?t instanceof l.HG||"function"==typeof t||Object.keys(t).some(t=>g.includes(t))?{captureContext:t}:t:void 0}let g=["user","level","extra","contexts","tags","fingerprint","requestSession","propagationContext"]},69162:(t,e,n)=>{n.d(e,{CC:()=>o,aO:()=>a,pK:()=>d,cI:()=>l,et:()=>h,kX:()=>u,Qh:()=>c});var r=n(46063),i=n(69336),s=n(76869);let o=0,a=1;function u(t){let{spanId:e,traceId:n}=t.spanContext(),{data:i,op:s,parent_span_id:o,status:a,tags:u,origin:c}=h(t);return(0,r.Ce)({data:i,op:s,parent_span_id:o,span_id:e,status:a,tags:u,trace_id:n,origin:c})}function c(t){let{traceId:e,spanId:n}=t.spanContext();return function(t=(0,i.eJ)(),e=(0,i.eJ)().substring(16),n){let r="";return void 0!==n&&(r=n?"-1":"-0"),`${t}-${e}${r}`}(e,n,d(t))}function l(t){return"number"==typeof t?p(t):Array.isArray(t)?t[0]+t[1]/1e9:t instanceof Date?p(t.getTime()):(0,s.zf)()}function p(t){return t>0x2540be3ff?t/1e3:t}function h(t){return"function"==typeof t.getSpanJSON?t.getSpanJSON():"function"==typeof t.toJSON?t.toJSON():{}}function d(t){let{traceFlags:e}=t.spanContext();return!!(e&a)}},38718:(t,e,n)=>{n.d(e,{M:()=>r});let r="7.111.0"},82596:(t,e,n)=>{n.d(e,{$N:()=>o,Hd:()=>s,xE:()=>a});var r=n(16228);let i=(0,n(29671).VZ)();function s(t,e={}){if(!t)return"";try{let n,s=t,o=[],a=0,u=0,c=Array.isArray(e)?e:e.keyAttrs,l=!Array.isArray(e)&&e.maxStringLength||80;for(;s&&a++<5&&(n=function(t,e){let n,s,o,a,u;let c=[];if(!t||!t.tagName)return"";if(i.HTMLElement&&t instanceof HTMLElement&&t.dataset&&t.dataset.sentryComponent)return t.dataset.sentryComponent;c.push(t.tagName.toLowerCase());let l=e&&e.length?e.filter(e=>t.getAttribute(e)).map(e=>[e,t.getAttribute(e)]):null;if(l&&l.length)l.forEach(t=>{c.push(`[${t[0]}="${t[1]}"]`)});else if(t.id&&c.push(`#${t.id}`),(n=t.className)&&(0,r.Kg)(n))for(u=0,s=n.split(/\s+/);u1)||!(u+3*o.length+n.length>=l)));)o.push(n),u+=n.length,s=s.parentNode;return o.reverse().join(" > ")}catch(t){return""}}function o(){try{return i.document.location.href}catch(t){return""}}function a(t){if(!i.HTMLElement)return null;let e=t;for(let t=0;t<5&&e;t++){if(e instanceof HTMLElement&&e.dataset.sentryComponent)return e.dataset.sentryComponent;e=e.parentNode}return null}},6514:(t,e,n)=>{n.d(e,{T:()=>r});let r=!1},36118:(t,e,n)=>{n.d(e,{AS:()=>c,aj:()=>l,s5:()=>u});var r=n(6514),i=n(12596),s=n(89273);let o={},a={};function u(t,e){o[t]=o[t]||[],o[t].push(e)}function c(t,e){a[t]||(e(),a[t]=!0)}function l(t,e){let n=t&&o[t];if(n)for(let o of n)try{o(e)}catch(e){r.T&&i.vF.error(`Error while triggering instrumentation handler. Type: ${t} Name: ${(0,s.qQ)(o)} Error:`,e)}}},25445:(t,e,n)=>{n.d(e,{L:()=>o});var r=n(29671),i=n(36118);let s=null;function o(t){let e="error";(0,i.s5)(e,t),(0,i.AS)(e,a)}function a(){s=r.OW.onerror,r.OW.onerror=function(t,e,n,r,o){return(0,i.aj)("error",{column:r,error:o,line:n,msg:t,url:e}),!!s&&!s.__SENTRY_LOADER__&&s.apply(this,arguments)},r.OW.onerror.__SENTRY_INSTRUMENTED__=!0}},69300:(t,e,n)=>{n.d(e,{r:()=>o});var r=n(29671),i=n(36118);let s=null;function o(t){let e="unhandledrejection";(0,i.s5)(e,t),(0,i.AS)(e,a)}function a(){s=r.OW.onunhandledrejection,r.OW.onunhandledrejection=function(t){return(0,i.aj)("unhandledrejection",t),!s||!!s.__SENTRY_LOADER__||s.apply(this,arguments)},r.OW.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0}},16228:(t,e,n)=>{n.d(e,{BD:()=>a,Kg:()=>c,L2:()=>y,NF:()=>l,Qd:()=>h,Qg:()=>g,T2:()=>o,W6:()=>u,bJ:()=>i,gd:()=>f,mE:()=>m,sO:()=>p,tH:()=>v,vq:()=>_,xH:()=>d,yr:()=>E});let r=Object.prototype.toString;function i(t){switch(r.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return v(t,Error)}}function s(t,e){return r.call(t)===`[object ${e}]`}function o(t){return s(t,"ErrorEvent")}function a(t){return s(t,"DOMError")}function u(t){return s(t,"DOMException")}function c(t){return s(t,"String")}function l(t){return"object"==typeof t&&null!==t&&"__sentry_template_string__"in t&&"__sentry_template_values__"in t}function p(t){return null===t||l(t)||"object"!=typeof t&&"function"!=typeof t}function h(t){return s(t,"Object")}function d(t){return"undefined"!=typeof Event&&v(t,Event)}function _(t){return"undefined"!=typeof Element&&v(t,Element)}function f(t){return s(t,"RegExp")}function g(t){return!!(t&&t.then&&"function"==typeof t.then)}function m(t){return h(t)&&"nativeEvent"in t&&"preventDefault"in t&&"stopPropagation"in t}function E(t){return"number"==typeof t&&t!=t}function v(t,e){try{return t instanceof e}catch(t){return!1}}function y(t){return!!("object"==typeof t&&null!==t&&(t.__isVue||t._isVue))}},12596:(t,e,n)=>{n.d(e,{Ow:()=>s,Z9:()=>o,pq:()=>a,vF:()=>u});var r=n(6514),i=n(29671);let s=["debug","info","warn","error","log","assert","trace"],o={};function a(t){if(!("console"in i.OW))return t();let e=i.OW.console,n={},r=Object.keys(o);r.forEach(t=>{let r=o[t];n[t]=e[t],e[t]=r});try{return t()}finally{r.forEach(t=>{e[t]=n[t]})}}let u=function(){let t=!1,e={enable:()=>{t=!0},disable:()=>{t=!1},isEnabled:()=>t};return r.T?s.forEach(n=>{e[n]=(...e)=>{t&&a(()=>{i.OW.console[n](`Sentry Logger [${n}]:`,...e)})}}):s.forEach(t=>{e[t]=()=>void 0}),e}()},69336:(t,e,n)=>{n.d(e,{$X:()=>a,GR:()=>l,M6:()=>c,eJ:()=>s,gO:()=>u,k9:()=>p});var r=n(46063),i=n(29671);function s(){let t=i.OW,e=t.crypto||t.msCrypto,n=()=>16*Math.random();try{if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");e&&e.getRandomValues&&(n=()=>{let t=new Uint8Array(1);return e.getRandomValues(t),t[0]})}catch(t){}return"10000000100040008000100000000000".replace(/[018]/g,t=>(t^(15&n())>>t/4).toString(16))}function o(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function a(t){let{message:e,event_id:n}=t;if(e)return e;let r=o(t);return r?r.type&&r.value?`${r.type}: ${r.value}`:r.type||r.value||n||"":n||""}function u(t,e,n){let r=t.exception=t.exception||{},i=r.values=r.values||[],s=i[0]=i[0]||{};s.value||(s.value=e||""),s.type||(s.type=n||"Error")}function c(t,e){let n=o(t);if(!n)return;let r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){let t={...r&&r.data,...e.data};n.mechanism.data=t}}function l(t){if(t&&t.__sentry_captured__)return!0;try{(0,r.my)(t,"__sentry_captured__",!0)}catch(t){}return!1}function p(t){return Array.isArray(t)?t:[t]}},32213:(t,e,n)=>{n.d(e,{S8:()=>o,cd:()=>function t(e,n=3,r=102400){let i=o(e,n);return~-encodeURI(JSON.stringify(i)).split(/%..|./).length>r?t(e,n-1,r):i}});var r=n(16228),i=n(46063),s=n(89273);function o(t,e=100,a=Infinity){try{return function t(e,o,a=Infinity,u=Infinity,c=function(){let t="function"==typeof WeakSet,e=t?new WeakSet:[];return[function(n){if(t)return!!e.has(n)||(e.add(n),!1);for(let t=0;t=u){_[e]="[MaxProperties ~]";break}let n=g[e];_[e]=t(e,n,d-1,u,c),f++}return p(o),_}("",t,e,a)}catch(t){return{ERROR:`**non-serializable** (${t})`}}}},46063:(t,e,n)=>{n.d(e,{Ce:()=>m,GS:()=>u,HF:()=>g,W4:()=>d,my:()=>c,pO:()=>l,sp:()=>p,u4:()=>h});var r=n(82596),i=n(6514),s=n(16228),o=n(12596),a=n(84733);function u(t,e,n){if(!(e in t))return;let r=t[e],i=n(r);"function"==typeof i&&l(i,r),t[e]=i}function c(t,e,n){try{Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}catch(n){i.T&&o.vF.log(`Failed to add non-enumerable property "${e}" to object`,t)}}function l(t,e){try{let n=e.prototype||{};t.prototype=e.prototype=n,c(t,"__sentry_original__",e)}catch(t){}}function p(t){return t.__sentry_original__}function h(t){return Object.keys(t).map(e=>`${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`).join("&")}function d(t){if((0,s.bJ)(t))return{message:t.message,name:t.name,stack:t.stack,...f(t)};if(!(0,s.xH)(t))return t;{let e={type:t.type,target:_(t.target),currentTarget:_(t.currentTarget),...f(t)};return"undefined"!=typeof CustomEvent&&(0,s.tH)(t,CustomEvent)&&(e.detail=t.detail),e}}function _(t){try{return(0,s.vq)(t)?(0,r.Hd)(t):Object.prototype.toString.call(t)}catch(t){return""}}function f(t){if("object"!=typeof t||null===t)return{};{let e={};for(let n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}}function g(t,e=40){let n=Object.keys(d(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return(0,a.xv)(n[0],e);for(let t=n.length;t>0;t--){let r=n.slice(0,t).join(", ");if(!(r.length>e)){if(t===n.length)return r;return(0,a.xv)(r,e)}}return""}function m(t){return function t(e,n){if(function(t){if(!(0,s.Qd)(t))return!1;try{let e=Object.getPrototypeOf(t).constructor.name;return!e||"Object"===e}catch(t){return!0}}(e)){let r=n.get(e);if(void 0!==r)return r;let i={};for(let r of(n.set(e,i),Object.keys(e)))void 0!==e[r]&&(i[r]=t(e[r],n));return i}if(Array.isArray(e)){let r=n.get(e);if(void 0!==r)return r;let i=[];return n.set(e,i),e.forEach(e=>{i.push(t(e,n))}),i}return e}(t,new Map)}},89273:(t,e,n)=>{n.d(e,{gd:()=>s,qQ:()=>u,vk:()=>o});let r=/\(error: (.*)\)/,i=/captureMessage|captureException/;function s(...t){let e=t.sort((t,e)=>t[0]-e[0]).map(t=>t[1]);return(t,n=0)=>{let s=[],o=t.split("\n");for(let t=n;t1024)continue;let i=r.test(n)?n.replace(r,"$1"):n;if(!i.match(/\S*Error: /)){for(let t of e){let e=t(i);if(e){s.push(e);break}}if(s.length>=50)break}}return function(t){if(!t.length)return[];let e=Array.from(t);return/sentryWrapped/.test(e[e.length-1].function||"")&&e.pop(),e.reverse(),i.test(e[e.length-1].function||"")&&(e.pop(),i.test(e[e.length-1].function||"")&&e.pop()),e.slice(0,50).map(t=>({...t,filename:t.filename||e[e.length-1].filename,function:t.function||"?"}))}(s)}}function o(t){return Array.isArray(t)?s(...t):t}let a="";function u(t){try{if(!t||"function"!=typeof t)return a;return t.name||a}catch(t){return a}}},84733:(t,e,n)=>{n.d(e,{Xr:()=>o,gt:()=>s,xv:()=>i});var r=n(16228);function i(t,e=0){return"string"!=typeof t||0===e?t:t.length<=e?t:`${t.slice(0,e)}...`}function s(t,e){if(!Array.isArray(t))return"";let n=[];for(let e=0;e(function(t,e,n=!1){return!!(0,r.Kg)(t)&&((0,r.gd)(e)?e.test(t):!!(0,r.Kg)(e)&&(n?t===e:t.includes(e)))})(t,e,n))}},38380:(t,e,n)=>{n.d(e,{T2:()=>a,XW:()=>s,xg:()=>o});var r,i=n(16228);function s(t){return new a(e=>{e(t)})}function o(t){return new a((e,n)=>{n(t)})}!function(t){t[t.PENDING=0]="PENDING",t[t.RESOLVED=1]="RESOLVED",t[t.REJECTED=2]="REJECTED"}(r||(r={}));class a{constructor(t){a.prototype.__init.call(this),a.prototype.__init2.call(this),a.prototype.__init3.call(this),a.prototype.__init4.call(this),this._state=r.PENDING,this._handlers=[];try{t(this._resolve,this._reject)}catch(t){this._reject(t)}}then(t,e){return new a((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(t){r(t)}else n(e)},t=>{if(e)try{n(e(t))}catch(t){r(t)}else r(t)}]),this._executeHandlers()})}catch(t){return this.then(t=>t,t)}finally(t){return new a((e,n)=>{let r,i;return this.then(e=>{i=!1,r=e,t&&t()},e=>{i=!0,r=e,t&&t()}).then(()=>{if(i){n(r);return}e(r)})})}__init(){this._resolve=t=>{this._setResult(r.RESOLVED,t)}}__init2(){this._reject=t=>{this._setResult(r.REJECTED,t)}}__init3(){this._setResult=(t,e)=>{if(this._state===r.PENDING){if((0,i.Qg)(e)){e.then(this._resolve,this._reject);return}this._state=t,this._value=e,this._executeHandlers()}}}__init4(){this._executeHandlers=()=>{if(this._state===r.PENDING)return;let 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)})}}}},76869:(t,e,n)=>{n.d(e,{lu:()=>i,zf:()=>s});var r=n(29671);function i(){return Date.now()/1e3}let s=function(){let{performance:t}=r.OW;if(!t||!t.now)return i;let e=Date.now()-t.now(),n=void 0==t.timeOrigin?e:t.timeOrigin;return()=>(n+t.now())/1e3}();(()=>{let{performance:t}=r.OW;if(!t||!t.now)return;let e=t.now(),n=Date.now(),i=t.timeOrigin?Math.abs(t.timeOrigin+e-n):36e5,s=t.timing&&t.timing.navigationStart,o="number"==typeof s?Math.abs(s+e-n):36e5;if(i<36e5||o<36e5)return i<=o?t.timeOrigin:void 0})()},29671:(t,e,n)=>{function r(t){return t&&t.Math==Math?t:void 0}n.d(e,{BY:()=>o,OW:()=>i,VZ:()=>s});let i="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof n.g&&r(n.g)||function(){return this}()||{};function s(){return i}function o(t,e,n){let r=n||i,s=r.__SENTRY__=r.__SENTRY__||{};return s[t]||(s[t]=e())}}}]); //# debugId=47f28e36-e103-5fca-be3d-863bb9206032