try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c5812d67-b8a1-43df-91b4-07e81b3d9e5a",e._sentryDebugIdIdentifier="sentry-dbid-c5812d67-b8a1-43df-91b4-07e81b3d9e5a")}catch(e){}{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=Object.assign({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:anthropic-apps":!0})}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[33986],{0x81d6300:(e,t,r)=>{"use strict";var n;r.d(t,{i:()=>n}),function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}(n||(n={}))},0x176ac88f:(e,t,r)=>{"use strict";r.d(t,{Z:()=>i});var n=r(0xfc89b4a4);function i(e){let t=(0,n.useRef)(void 0);return(0,n.useEffect)(()=>{t.current=e},[e]),t.current}},0x181c610f:(e,t,r)=>{var n=r(0x1aa4c8d8d),i=r(0x134bfb711),s=r(0x1be1cffce);e.exports=function(e,t,r){for(var a=-1,o=t.length,u={};++a{"use strict";r.d(t,{x:()=>u});var n=r(0x22102fd88),i=r(0xfc89b4a4),s=r(0x12991165e),a=r(0x224afcc47),o=r(0x251c06d07);function u(e){let{children:t,isValidProp:r,...u}=e;r&&(0,a.D)(r),(u={...(0,i.useContext)(s.Q),...u}).isStatic=(0,o.M)(()=>u.isStatic);let c=(0,i.useMemo)(()=>u,[JSON.stringify(u.transition),u.transformPagePoint,u.reducedMotion]);return(0,n.jsx)(s.Q.Provider,{value:c,children:t})}},0x36add605:(e,t,r)=>{"use strict";function n(e){}function i(e){}function s(e){}r.d(t,{HF:()=>n,Jk:()=>i,f7:()=>s})},0x36ae4918:(e,t,r)=>{"use strict";var n;r.d(t,{V:()=>n}),function(e){e[e.SUCCESS=0]="SUCCESS",e[e.FAILED=1]="FAILED"}(n||(n={}))},0x37a98772:(e,t,r)=>{"use strict";r.d(t,{A2:()=>d,E$:()=>f,HZ:()=>p,Mb:()=>s,Mz:()=>v,OR:()=>c,UX:()=>h,WQ:()=>b,aJ:()=>_,aO:()=>g,d6:()=>a,kS:()=>l,n4:()=>o,nW:()=>u,oJ:()=>n,qV:()=>m,wL:()=>i});let n="error.type",i="exception.message",s="exception.stacktrace",a="exception.type",o="http.request.method",u="http.request.method_original",c="http.response.status_code",l="server.address",d="server.port",h="service.name",p="service.version",f="telemetry.sdk.language",m="webjs",g="telemetry.sdk.name",_="telemetry.sdk.version",b="url.full",v="user_agent.original"},0x37cf97f9:(e,t,r)=>{var n=r(0x1827645eb),i=r(0x4ebaf396),s=r(0x181c610f),a=r(0x247d6601a);e.exports=function(e,t){if(null==e)return{};var r=n(a(e),function(e){return[e]});return t=i(t),s(e,r,function(e,r){return t(e,r[0])})}},0x3addc8e8:(e,t,r)=>{"use strict";r.d(t,{q:()=>o});var n=r(0xfce32b33),i=r(0x16c83ac9a),s=r(0x1eb4fc9be),a=r(0x2afb34dc),o=class extends a.Q{constructor(e={}){super(),this.config=e,this.#e=new Map,this.#t=Date.now()}#e;#t;build(e,t,r){let n=new i.s({mutationCache:this,mutationId:++this.#t,options:e.defaultMutationOptions(t),state:r});return this.add(n),n}add(e){let t=u(e),r=this.#e.get(t)??[];r.push(e),this.#e.set(t,r),this.notify({type:"added",mutation:e})}remove(e){let t=u(e);if(this.#e.has(t)){let r=this.#e.get(t)?.filter(t=>t!==e);r&&(0===r.length?this.#e.delete(t):this.#e.set(t,r))}this.notify({type:"removed",mutation:e})}canRun(e){let t=this.#e.get(u(e))?.find(e=>"pending"===e.state.status);return!t||t===e}runNext(e){let t=this.#e.get(u(e))?.find(t=>t!==e&&t.state.isPaused);return t?.continue()??Promise.resolve()}clear(){n.j.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}getAll(){return[...this.#e.values()].flat()}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,s.nJ)(t,e))}findAll(e={}){return this.getAll().filter(t=>(0,s.nJ)(e,t))}notify(e){n.j.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){let e=this.getAll().filter(e=>e.state.isPaused);return n.j.batch(()=>Promise.all(e.map(e=>e.continue().catch(s.lQ))))}};function u(e){return e.options.scope?.id??String(e.mutationId)}},0x3b607ede:(e,t,r)=>{"use strict";r.d(t,{mM:()=>s});var n=r(0x6096d538),i=r(0x1ea37ebb5);let s={_export:function(e,t){return new Promise(r=>{n._.with((0,i.M1)(n._.active()),()=>{e.export(t,e=>{r(e)})})})}}},0x3c5047a3:(e,t,r)=>{"use strict";r.d(t,{F:()=>i});var n=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}],i=function(){for(var e=0;e{"use strict";let n;r.d(t,{CL:()=>u,v4:()=>c,Qd:()=>function e(t,r){if(t.nodeType===Node.DOCUMENT_NODE)return"/";let n=function(e,t){let r=e.nodeType,n=function(e){if(!e.parentNode)return 0;let t=[e.nodeType];e.nodeType===Node.CDATA_SECTION_NODE&&t.push(Node.TEXT_NODE);let r=Array.from(e.parentNode.childNodes);return(r=r.filter(r=>{let n=r.localName;return t.indexOf(r.nodeType)>=0&&n===e.localName})).length>=1?r.indexOf(e)+1:0}(e),i="";if(r===Node.ELEMENT_NODE){let r=e.getAttribute("id");if(t&&r)return`//*[@id="${r}"]`;i=e.localName}else if(r===Node.TEXT_NODE||r===Node.CDATA_SECTION_NODE)i="text()";else{if(r!==Node.COMMENT_NODE)return"";i="comment()"}return i&&n>1?`/${i}[${n}]`:`/${i}`}(t,r);if(r&&n.indexOf("@id")>0)return n;let i="";return t.parentNode&&(i+=e(t.parentNode,!1)),i+=n},hZ:()=>d,CJ:()=>o,Dl:()=>h,wF:()=>p});var i=r(0x10d145d28),s=r(0x7b83eb4a),a=r(0x7a430a46);function o(e,t){return t in e}function u(e,t,r,n=!0){if(t in r&&"number"==typeof r[t]&&!(n&&0===r[t]))return e.addEvent(t,r[t])}function c(e,t,r=!1,n,s){if(void 0===n&&(n=0!==t[i.D.START_TIME]),r||(u(e,i.D.FETCH_START,t,n),u(e,i.D.DOMAIN_LOOKUP_START,t,n),u(e,i.D.DOMAIN_LOOKUP_END,t,n),u(e,i.D.CONNECT_START,t,n),u(e,i.D.SECURE_CONNECTION_START,t,n),u(e,i.D.CONNECT_END,t,n),u(e,i.D.REQUEST_START,t,n),u(e,i.D.RESPONSE_START,t,n),u(e,i.D.RESPONSE_END,t,n)),!s){let r=t[i.D.ENCODED_BODY_SIZE];void 0!==r&&e.setAttribute("http.response_content_length",r);let n=t[i.D.DECODED_BODY_SIZE];void 0!==n&&r!==n&&e.setAttribute("http.response_content_length_uncompressed",n)}}function l(){return"undefined"!=typeof location?location.origin:void 0}function d(e,t,r,n,a=new WeakSet,o){let u=h(e),c=function(e,t,r,n,a,o){let u=(0,s.u5)(t),c=(0,s.u5)(r),l=n.filter(t=>{let r=(0,s.u5)((0,s.KJ)(t[i.D.FETCH_START])),n=(0,s.u5)((0,s.KJ)(t[i.D.RESPONSE_END]));return t.initiatorType.toLowerCase()===(o||"xmlhttprequest")&&t.name===e&&r>=u&&n<=c});return l.length>0&&(l=l.filter(e=>!a.has(e))),l}(e=u.toString(),t,r,n,a,o);if(0===c.length)return{mainRequest:void 0};if(1===c.length)return{mainRequest:c[0]};let p=c.slice().sort((e,t)=>{let r=e[i.D.FETCH_START],n=t[i.D.FETCH_START];return r>n?1:r1))return{mainRequest:c[0]};{let e=p[0],t=function(e,t,r){let n,a=(0,s.u5)(r),o=(0,s.u5)((0,s.KJ)(t)),u=e[1],c=e.length;for(let t=1;t=o&&(!n||l(0,a.f)(e,t))}},0x455aadbb:(e,t,r)=>{"use strict";r.d(t,{f:()=>i});var n=r(0x81d6300);class i{shouldSample(){return{decision:n.i.RECORD_AND_SAMPLED}}toString(){return"AlwaysOnSampler"}}},0x45e3076c:(e,t,r)=>{"use strict";r.d(t,{e:()=>c});var n=r(0x243825738),i=r(0x23743853f),s=r(0xc3467dc9),a=r(0x9624e0f3),o=r(0x1c5bc9c37),u=r(0x455aadbb);class c{_root;_remoteParentSampled;_remoteParentNotSampled;_localParentSampled;_localParentNotSampled;constructor(e){this._root=e.root,this._root||((0,a.s)(Error("ParentBasedSampler must have a root sampler configured")),this._root=new u.f),this._remoteParentSampled=e.remoteParentSampled??new u.f,this._remoteParentNotSampled=e.remoteParentNotSampled??new o.t,this._localParentSampled=e.localParentSampled??new u.f,this._localParentNotSampled=e.localParentNotSampled??new o.t}shouldSample(e,t,r,a,o,u){let c=n.u.getSpanContext(e);return c&&(0,i.YA)(c)?c.isRemote?c.traceFlags&s.X.SAMPLED?this._remoteParentSampled.shouldSample(e,t,r,a,o,u):this._remoteParentNotSampled.shouldSample(e,t,r,a,o,u):c.traceFlags&s.X.SAMPLED?this._localParentSampled.shouldSample(e,t,r,a,o,u):this._localParentNotSampled.shouldSample(e,t,r,a,o,u):this._root.shouldSample(e,t,r,a,o,u)}toString(){return`ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`}}},0x629470a8:(e,t,r)=>{"use strict";function n(e){return{attributes:s(e.attributes),droppedAttributesCount:0}}function i(e){return{name:e.name,version:e.version}}function s(e){return Object.keys(e).map(t=>a(t,e[t]))}function a(e,t){return{key:e,value:o(t)}}function o(e){let t=typeof e;return"string"===t?{stringValue:e}:"number"===t?Number.isInteger(e)?{intValue:e}:{doubleValue:e}:"boolean"===t?{boolValue:e}:e instanceof Uint8Array?{bytesValue:e}:Array.isArray(e)?{arrayValue:{values:e.map(o)}}:"object"===t&&null!=e?{kvlistValue:{values:Object.entries(e).map(([e,t])=>a(e,t))}}:{}}r.d(t,{EB:()=>a,Ff:()=>o,Zg:()=>n,Zs:()=>s,d1:()=>i})},0x715769ec:(e,t,r)=>{"use strict";r.d(t,{J:()=>p});var n=r(0xfa1bd25c),i=r(0xc3467dc9),s=r(0x6096d538),a=r(0x36add605),o=r(0x2340451cc),u=r(0x1ea37ebb5),c=r(0x36ae4918),l=r(0x9624e0f3),d=r(0x2333d6080);class h{_exporter;_maxExportBatchSize;_maxQueueSize;_scheduledDelayMillis;_exportTimeoutMillis;_isExporting=!1;_finishedSpans=[];_timer;_shutdownOnce;_droppedSpansCount=0;constructor(e,t){this._exporter=e,this._maxExportBatchSize="number"==typeof t?.maxExportBatchSize?t.maxExportBatchSize:(0,a.Jk)("OTEL_BSP_MAX_EXPORT_BATCH_SIZE")??512,this._maxQueueSize="number"==typeof t?.maxQueueSize?t.maxQueueSize:(0,a.Jk)("OTEL_BSP_MAX_QUEUE_SIZE")??2048,this._scheduledDelayMillis="number"==typeof t?.scheduledDelayMillis?t.scheduledDelayMillis:(0,a.Jk)("OTEL_BSP_SCHEDULE_DELAY")??5e3,this._exportTimeoutMillis="number"==typeof t?.exportTimeoutMillis?t.exportTimeoutMillis:(0,a.Jk)("OTEL_BSP_EXPORT_TIMEOUT")??3e4,this._shutdownOnce=new o.I(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(n.s.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"),this._maxExportBatchSize=this._maxQueueSize)}forceFlush(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()}onStart(e,t){}onEnd(e){this._shutdownOnce.isCalled||(e.spanContext().traceFlags&i.X.SAMPLED)!=0&&this._addToBuffer(e)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return Promise.resolve().then(()=>this.onShutdown()).then(()=>this._flushAll()).then(()=>this._exporter.shutdown())}_addToBuffer(e){if(this._finishedSpans.length>=this._maxQueueSize){0===this._droppedSpansCount&&n.s.debug("maxQueueSize reached, dropping spans"),this._droppedSpansCount++;return}this._droppedSpansCount>0&&(n.s.warn(`Dropped ${this._droppedSpansCount} spans because maxQueueSize reached`),this._droppedSpansCount=0),this._finishedSpans.push(e),this._maybeStartTimer()}_flushAll(){return new Promise((e,t)=>{let r=[],n=Math.ceil(this._finishedSpans.length/this._maxExportBatchSize);for(let e=0;e{e()}).catch(t)})}_flushOneBatch(){return(this._clearTimer(),0===this._finishedSpans.length)?Promise.resolve():new Promise((e,t)=>{let r=setTimeout(()=>{t(Error("Timeout"))},this._exportTimeoutMillis);s._.with((0,u.M1)(s._.active()),()=>{let n;this._finishedSpans.length<=this._maxExportBatchSize?(n=this._finishedSpans,this._finishedSpans=[]):n=this._finishedSpans.splice(0,this._maxExportBatchSize);let i=()=>this._exporter.export(n,n=>{clearTimeout(r),n.code===c.V.SUCCESS?e():t(n.error??Error("BatchSpanProcessor: span export failed"))}),s=null;for(let e=0,t=n.length;e{(0,l.s)(e),t(e)})})})}_maybeStartTimer(){if(this._isExporting)return;let e=()=>{this._isExporting=!0,this._flushOneBatch().finally(()=>{this._isExporting=!1,this._finishedSpans.length>0&&(this._clearTimer(),this._maybeStartTimer())}).catch(e=>{this._isExporting=!1,(0,l.s)(e)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return e();void 0===this._timer&&(this._timer=setTimeout(()=>e(),this._scheduledDelayMillis),(0,d.K)(this._timer))}_clearTimer(){void 0!==this._timer&&(clearTimeout(this._timer),this._timer=void 0)}}class p extends h{_visibilityChangeListener;_pageHideListener;constructor(e,t){super(e,t),this.onInit(t)}onInit(e){e?.disableAutoFlushOnDocumentHide!==!0&&"undefined"!=typeof document&&(this._visibilityChangeListener=()=>{"hidden"===document.visibilityState&&this.forceFlush().catch(e=>{(0,l.s)(e)})},this._pageHideListener=()=>{this.forceFlush().catch(e=>{(0,l.s)(e)})},document.addEventListener("visibilitychange",this._visibilityChangeListener),document.addEventListener("pagehide",this._pageHideListener))}onShutdown(){"undefined"!=typeof document&&(this._visibilityChangeListener&&document.removeEventListener("visibilitychange",this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener("pagehide",this._pageHideListener))}}},0x738739f4:(e,t,r)=>{"use strict";r.d(t,{o:()=>i});class n extends Error{constructor(e){super(e),Object.setPrototypeOf(this,n.prototype)}}function i(e,t){let r;return Promise.race([e,new Promise(function(e,i){r=setTimeout(function(){i(new n("Operation timed out."))},t)})]).then(e=>(clearTimeout(r),e),e=>{throw clearTimeout(r),e})}},0x75b256ef:(e,t,r)=>{"use strict";r.d(t,{Z:()=>q});var n,i,s=r(0xb17e92ac),a=r(0x22b8d2099),o=r(0x6096d538),u=r(0x243825738),c=r(0xfa1bd25c),l=r(0x221394bea),d=r(0xcbc4dfcf);!function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}(n||(n={}));var h=r(0xc3467dc9),p=r(0x1ea37ebb5),f=r(0x22412967a),m=r(0x1fe52c542),g=r(0x222bc84d2),_=r(0x7b83eb4a),b=r(0x37a98772);class v{_spanContext;kind;parentSpanContext;attributes={};links=[];events=[];startTime;resource;instrumentationScope;_droppedAttributesCount=0;_droppedEventsCount=0;_droppedLinksCount=0;name;status={code:m.s.UNSET};endTime=[0,0];_ended=!1;_duration=[-1,-1];_spanProcessor;_spanLimits;_attributeValueLengthLimit;_performanceStartTime;_performanceOffset;_startTimeProvided;constructor(e){let t=Date.now();this._spanContext=e.spanContext,this._performanceStartTime=g.u.now(),this._performanceOffset=t-(this._performanceStartTime+(0,_.uc)()),this._startTimeProvided=null!=e.startTime,this._spanLimits=e.spanLimits,this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit||0,this._spanProcessor=e.spanProcessor,this.name=e.name,this.parentSpanContext=e.parentSpanContext,this.kind=e.kind,this.links=e.links||[],this.startTime=this._getTime(e.startTime??t),this.resource=e.resource,this.instrumentationScope=e.scope,null!=e.attributes&&this.setAttributes(e.attributes),this._spanProcessor.onStart(this,e.context)}spanContext(){return this._spanContext}setAttribute(e,t){if(null==t||this._isSpanEnded())return this;if(0===e.length)return c.s.warn(`Invalid attribute key: ${e}`),this;if(!(0,f.m)(t))return c.s.warn(`Invalid attribute value set for key: ${e}`),this;let{attributeCountLimit:r}=this._spanLimits;return void 0!==r&&Object.keys(this.attributes).length>=r&&!Object.prototype.hasOwnProperty.call(this.attributes,e)?this._droppedAttributesCount++:this.attributes[e]=this._truncateToSize(t),this}setAttributes(e){for(let[t,r]of Object.entries(e))this.setAttribute(t,r);return this}addEvent(e,t,r){if(this._isSpanEnded())return this;let{eventCountLimit:n}=this._spanLimits;if(0===n)return c.s.warn("No events allowed."),this._droppedEventsCount++,this;void 0!==n&&this.events.length>=n&&(0===this._droppedEventsCount&&c.s.debug("Dropping extra events."),this.events.shift(),this._droppedEventsCount++),(0,_.Ir)(t)&&((0,_.Ir)(r)||(r=t),t=void 0);let i=(0,f.L)(t);return this.events.push({name:e,attributes:i,time:this._getTime(r),droppedAttributesCount:0}),this}addLink(e){return this.links.push(e),this}addLinks(e){return this.links.push(...e),this}setStatus(e){return this._isSpanEnded()||(this.status={...e},null!=this.status.message&&"string"!=typeof e.message&&(c.s.warn(`Dropping invalid status.message of type '${typeof e.message}', expected 'string'`),delete this.status.message)),this}updateName(e){return this._isSpanEnded()||(this.name=e),this}end(e){if(this._isSpanEnded())return void c.s.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);this._ended=!0,this.endTime=this._getTime(e),this._duration=(0,_.W5)(this.startTime,this.endTime),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._droppedEventsCount>0&&c.s.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`),this._spanProcessor.onEnd(this)}_getTime(e){if("number"==typeof e&&e<=g.u.now())return(0,_._5)(e+this._performanceOffset);if("number"==typeof e)return(0,_.lg)(e);if(e instanceof Date)return(0,_.lg)(e.getTime());if((0,_.VL)(e))return e;if(this._startTimeProvided)return(0,_.lg)(Date.now());let t=g.u.now()-this._performanceStartTime;return(0,_.mw)(this.startTime,(0,_.lg)(t))}isRecording(){return!1===this._ended}recordException(e,t){let r={};"string"==typeof e?r[b.wL]=e:e&&(e.code?r[b.d6]=e.code.toString():e.name&&(r[b.d6]=e.name),e.message&&(r[b.wL]=e.message),e.stack&&(r[b.Mb]=e.stack)),r[b.d6]||r[b.wL]?this.addEvent("exception",r,t):c.s.warn(`Failed to record an exception ${e}`)}get duration(){return this._duration}get ended(){return this._ended}get droppedAttributesCount(){return this._droppedAttributesCount}get droppedEventsCount(){return this._droppedEventsCount}get droppedLinksCount(){return this._droppedLinksCount}_isSpanEnded(){if(this._ended){let e=Error(`Operation attempted on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`);c.s.warn(`Cannot execute the operation on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`,e)}return this._ended}_truncateToLimitUtil(e,t){return e.length<=t?e:e.substring(0,t)}_truncateToSize(e){let t=this._attributeValueLengthLimit;return t<=0?(c.s.warn(`Attribute value limit must be positive, got ${t}`),e):"string"==typeof e?this._truncateToLimitUtil(e,t):Array.isArray(e)?e.map(e=>"string"==typeof e?this._truncateToLimitUtil(e,t):e):e}}var w=r(0x36add605),E=r(0x1c5bc9c37),y=r(0x455aadbb),T=r(0x45e3076c),S=r(0x23ade8457);function x(){return{sampler:A(),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:(0,w.Jk)("OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT")??1/0,attributeCountLimit:(0,w.Jk)("OTEL_ATTRIBUTE_COUNT_LIMIT")??128},spanLimits:{attributeValueLengthLimit:(0,w.Jk)("OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT")??1/0,attributeCountLimit:(0,w.Jk)("OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT")??128,linkCountLimit:(0,w.Jk)("OTEL_SPAN_LINK_COUNT_LIMIT")??128,eventCountLimit:(0,w.Jk)("OTEL_SPAN_EVENT_COUNT_LIMIT")??128,attributePerEventCountLimit:(0,w.Jk)("OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT")??128,attributePerLinkCountLimit:(0,w.Jk)("OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT")??128}}}function A(){let e=(0,w.HF)("OTEL_TRACES_SAMPLER")??"parentbased_always_on";switch(e){case"always_on":return new y.f;case"always_off":return new E.t;case"parentbased_always_on":return new T.e({root:new y.f});case"parentbased_always_off":return new T.e({root:new E.t});case"traceidratio":return new S.h(O());case"parentbased_traceidratio":return new T.e({root:new S.h(O())});default:return c.s.error(`OTEL_TRACES_SAMPLER value "${e}" invalid, defaulting to "parentbased_always_on".`),new T.e({root:new y.f})}}function O(){let e=(0,w.Jk)("OTEL_TRACES_SAMPLER_ARG");return null==e?(c.s.error("OTEL_TRACES_SAMPLER_ARG is blank, defaulting to 1."),1):e<0||e>1?(c.s.error(`OTEL_TRACES_SAMPLER_ARG=${e} was given, but it is out of range ([0..1]), defaulting to 1.`),1):e}let C=1/0;var L=r(0x1f6e45358);class R{_sampler;_generalLimits;_spanLimits;_idGenerator;instrumentationScope;_resource;_spanProcessor;constructor(e,t,r,n){let i=function(e){let t={sampler:A()},r=x(),n=Object.assign({},r,t,e);return n.generalLimits=Object.assign({},r.generalLimits,e.generalLimits||{}),n.spanLimits=Object.assign({},r.spanLimits,e.spanLimits||{}),n}(t);this._sampler=i.sampler,this._generalLimits=i.generalLimits,this._spanLimits=i.spanLimits,this._idGenerator=t.idGenerator||new L.s,this._resource=r,this._spanProcessor=n,this.instrumentationScope=e}startSpan(e,t={},r=o._.active()){let i,s,a;t.root&&(r=u.u.deleteSpan(r));let m=u.u.getSpan(r);if((0,p.Zf)(r))return c.s.debug("Instrumentation suppressed, returning Noop Span"),u.u.wrapSpanContext(l.dM);let g=m?.spanContext(),_=this._idGenerator.generateSpanId();g&&u.u.isSpanContextValid(g)?(s=g.traceId,a=g.traceState,i=g):s=this._idGenerator.generateTraceId();let b=t.kind??d.v.INTERNAL,w=(t.links??[]).map(e=>({context:e.context,attributes:(0,f.L)(e.attributes)})),E=(0,f.L)(t.attributes),y=this._sampler.shouldSample(r,s,e,b,E,w);a=y.traceState??a;let T={traceId:s,spanId:_,traceFlags:y.decision===n.RECORD_AND_SAMPLED?h.X.SAMPLED:h.X.NONE,traceState:a};if(y.decision===n.NOT_RECORD)return c.s.debug("Recording is off, propagating context in a non-recording span"),u.u.wrapSpanContext(T);let S=(0,f.L)(Object.assign(E,y.attributes));return new v({resource:this._resource,scope:this.instrumentationScope,context:r,spanContext:T,name:e,kind:b,links:w,parentSpanContext:i,attributes:S,startTime:t.startTime,spanProcessor:this._spanProcessor,spanLimits:this._spanLimits})}startActiveSpan(e,t,r,n){let i,s,a;if(arguments.length<2)return;2==arguments.length?a=t:3==arguments.length?(i=t,a=r):(i=t,s=r,a=n);let c=s??o._.active(),l=this.startSpan(e,i,c),d=u.u.setSpan(c,l);return o._.with(d,a,void 0,l)}getGeneralLimits(){return this._generalLimits}getSpanLimits(){return this._spanLimits}}var N=r(0x9624e0f3);class P{_spanProcessors;constructor(e){this._spanProcessors=e}forceFlush(){let e=[];for(let t of this._spanProcessors)e.push(t.forceFlush());return new Promise(t=>{Promise.all(e).then(()=>{t()}).catch(e=>{(0,N.s)(e||Error("MultiSpanProcessor: forceFlush failed")),t()})})}onStart(e,t){for(let r of this._spanProcessors)r.onStart(e,t)}onEnd(e){for(let t of this._spanProcessors)t.onEnd(e)}shutdown(){let e=[];for(let t of this._spanProcessors)e.push(t.shutdown());return new Promise((t,r)=>{Promise.all(e).then(()=>{t()},r)})}}!function(e){e[e.resolved=0]="resolved",e[e.timeout=1]="timeout",e[e.error=2]="error",e[e.unresolved=3]="unresolved"}(i||(i={}));class k{_config;_tracers=new Map;_resource;_activeSpanProcessor;constructor(e={}){let t=(0,s.h)({},x(),function(e){let t=Object.assign({},e.spanLimits);return t.attributeCountLimit=e.spanLimits?.attributeCountLimit??e.generalLimits?.attributeCountLimit??(0,w.Jk)("OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT")??(0,w.Jk)("OTEL_ATTRIBUTE_COUNT_LIMIT")??128,t.attributeValueLengthLimit=e.spanLimits?.attributeValueLengthLimit??e.generalLimits?.attributeValueLengthLimit??(0,w.Jk)("OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT")??(0,w.Jk)("OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT")??C,Object.assign({},e,{spanLimits:t})}(e));this._resource=t.resource??(0,a.gk)(),this._config=Object.assign({},t,{resource:this._resource});let r=[];e.spanProcessors?.length&&r.push(...e.spanProcessors),this._activeSpanProcessor=new P(r)}getTracer(e,t,r){let n=`${e}@${t||""}:${r?.schemaUrl||""}`;return this._tracers.has(n)||this._tracers.set(n,new R({name:e,version:t,schemaUrl:r?.schemaUrl},this._config,this._resource,this._activeSpanProcessor)),this._tracers.get(n)}forceFlush(){let e=this._config.forceFlushTimeoutMillis,t=this._activeSpanProcessor._spanProcessors.map(t=>new Promise(r=>{let n,s=setTimeout(()=>{r(Error(`Span processor did not completed within timeout period of ${e} ms`)),n=i.timeout},e);t.forceFlush().then(()=>{clearTimeout(s),n!==i.timeout&&r(n=i.resolved)}).catch(e=>{clearTimeout(s),n=i.error,r(e)})}));return new Promise((e,r)=>{Promise.all(t).then(t=>{let n=t.filter(e=>e!==i.resolved);n.length>0?r(n):e()}).catch(e=>r([e]))})}shutdown(){return this._activeSpanProcessor.shutdown()}}var M=r(0x112ace885);class D{_enabled=!1;_currentContext=M.l;_bindFunction(e=M.l,t){let r=this,n=function(...n){return r.with(e,()=>t.apply(this,n))};return Object.defineProperty(n,"length",{enumerable:!1,configurable:!0,writable:!1,value:t.length}),n}active(){return this._currentContext}bind(e,t){return(void 0===e&&(e=this.active()),"function"==typeof t)?this._bindFunction(e,t):t}disable(){return this._currentContext=M.l,this._enabled=!1,this}enable(){return this._enabled||(this._enabled=!0,this._currentContext=M.l),this}with(e,t,r,...n){let i=this._currentContext;this._currentContext=e||M.l;try{return t.call(r,...n)}finally{this._currentContext=i}}}var I=r(0x16e3c6c98);class U{_propagators;_fields;constructor(e={}){this._propagators=e.propagators??[],this._fields=Array.from(new Set(this._propagators.map(e=>"function"==typeof e.fields?e.fields():[]).reduce((e,t)=>e.concat(t),[])))}inject(e,t,r){for(let n of this._propagators)try{n.inject(e,t,r)}catch(e){c.s.warn(`Failed to inject with ${n.constructor.name}. Err: ${e.message}`)}}extract(e,t,r){return this._propagators.reduce((e,n)=>{try{return n.extract(e,t,r)}catch(e){c.s.warn(`Failed to extract with ${n.constructor.name}. Err: ${e.message}`)}return e},e)}fields(){return this._fields.slice()}}var H=r(0x103db03f6);let B="baggage";var F=r(0x16f8c0a96);class j{inject(e,t,r){let n=I.$.getBaggage(e);if(!n||(0,p.Zf)(e))return;let i=n.getAllEntries().map(([e,t])=>{let r=`${encodeURIComponent(e)}=${encodeURIComponent(t.value)}`;return void 0!==t.metadata&&(r+=";"+t.metadata.toString()),r}).filter(e=>e.length<=4096).slice(0,180).reduce((e,t)=>{let r=`${e}${""!==e?",":""}${t}`;return r.length>8192?e:r},"");i.length>0&&r.set(t,B,i)}extract(e,t,r){let n=r.get(t,B),i=Array.isArray(n)?n.join(","):n;if(!i)return e;let s={};return 0===i.length||(i.split(",").forEach(e=>{let t=function(e){let t,r=e.split(";");if(r.length<=0)return;let n=r.shift();if(!n)return;let i=n.indexOf("=");if(i<=0)return;let s=decodeURIComponent(n.substring(0,i).trim()),a=decodeURIComponent(n.substring(i+1).trim());return r.length>0&&(t=(0,F.B)(r.join(";"))),{key:s,value:a,metadata:t}}(e);if(t){let e={value:t.value};t.metadata&&(e.metadata=t.metadata),s[t.key]=e}}),0===Object.entries(s).length)?e:I.$.setBaggage(e,I.$.createBaggage(s))}fields(){return[B]}}class q extends k{constructor(e={}){super(e)}register(e={}){u.u.setGlobalTracerProvider(this),function(e){if(null!==e){if(void 0===e)return I.$.setGlobalPropagator(new U({propagators:[new H.lm,new j]}));I.$.setGlobalPropagator(e)}}(e.propagator),function(e){if(null!==e){if(void 0===e){let e=new D;e.enable(),o._.setGlobalContextManager(e);return}e.enable(),o._.setGlobalContextManager(e)}}(e.contextManager)}}},0x7a430a46:(e,t,r)=>{"use strict";function n(e,t){return"string"==typeof t?e===t:!!e.match(t)}function i(e,t){if(!t)return!1;for(let r of t)if(n(e,r))return!0;return!1}r.d(t,{K:()=>i,f:()=>n})},0x7b83eb4a:(e,t,r)=>{"use strict";r.d(t,{Ir:()=>h,KJ:()=>o,VL:()=>d,W5:()=>u,_5:()=>a,lg:()=>i,mw:()=>p,u5:()=>c,uc:()=>s,w_:()=>l});var n=r(0x222bc84d2);function i(e){return[Math.trunc(e/1e3),Math.round(e%1e3*1e6)]}function s(){let e=n.u.timeOrigin;if("number"!=typeof e){let t=n.u;e=t.timing&&t.timing.fetchStart}return e}function a(e){return p(i(s()),i("number"==typeof e?e:n.u.now()))}function o(e){if(d(e))return e;if("number"==typeof e)if(e=1e9&&(r[1]-=1e9,r[0]+=1),r}},0x9624e0f3:(e,t,r)=>{"use strict";r.d(t,{s:()=>i});var n=r(0xfa1bd25c);function i(e){try{var t;n.s.error((t=e,"string"==typeof t?t:JSON.stringify(function(e){let t={},r=e;for(;null!==r;)Object.getOwnPropertyNames(r).forEach(e=>{if(t[e])return;let n=r[e];n&&(t[e]=String(n))}),r=Object.getPrototypeOf(r);return t}(t))))}catch{}}},0x9ddc5bcc:(e,t,r)=>{"use strict";r.d(t,{t:()=>h});var n=r(0xfc89b4a4),i=r(0x3019b84d),s=["added","removed","updated"];function a(e){return s.includes(e)}async function o({queryClient:e,persister:t,maxAge:r=864e5,buster:n="",hydrateOptions:s}){try{let a=await t.restoreClient();if(a)if(a.timestamp){let o=Date.now()-a.timestamp>r,u=a.buster!==n;o||u?t.removeClient():(0,i.Qv)(e,a.clientState,s)}else t.removeClient()}catch(e){t.removeClient()}}async function u({queryClient:e,persister:t,buster:r="",dehydrateOptions:n}){let s={buster:r,timestamp:Date.now(),clientState:(0,i.hw)(e,n)};await t.persistClient(s)}var c=r(0x17e725145),l=r(0x1b4057ba6),d=r(0x22102fd88),h=e=>{let{client:t,children:r,persistOptions:i,onSuccess:s,...h}=e,[p,f]=n.useState(!0),m=n.useRef({persistOptions:i,onSuccess:s}),g=n.useRef(!1);return n.useEffect(()=>{m.current={persistOptions:i,onSuccess:s}}),n.useEffect(()=>{let e={...m.current.persistOptions,queryClient:t};return g.current||(g.current=!0,o(e).then(async()=>{try{var e,t;await (null==(e=(t=m.current).onSuccess)?void 0:e.call(t))}finally{f(!1)}})),p?void 0:function(e){let t=e.queryClient.getQueryCache().subscribe(t=>{a(t.type)&&u(e)}),r=e.queryClient.getMutationCache().subscribe(t=>{a(t.type)&&u(e)});return()=>{t(),r()}}(e)},[t,p]),(0,d.jsx)(c.QueryClientProvider,{client:t,...h,children:(0,d.jsx)(l.IsRestoringProvider,{value:p,children:r})})}},0xa6a34c14:(e,t,r)=>{"use strict";r.d(t,{N:()=>o,i:()=>a});var n=r(0xfc89b4a4),i=r(0xecad5eef),s=r(0x22927aaa6);let a=n.forwardRef((e,t)=>n.createElement(i.A,{ref:t,...e,weights:s.A}));a.displayName="WarningIcon";let o=a},0xb17e92ac:(e,t,r)=>{"use strict";r.d(t,{h:()=>d});let n=Function.prototype.toString,i=n.call(Object),s=Object.getPrototypeOf,a=Object.prototype,o=a.hasOwnProperty,u=Symbol?Symbol.toStringTag:void 0,c=a.toString;function l(e){var t,r,a;if(null==(t=e)||"object"!=typeof t||"[object Object]"!==(null==(r=e)?void 0===r?"[object Undefined]":"[object Null]":u&&u in Object(r)?function(e){let t=o.call(e,u),r=e[u],n=!1;try{e[u]=void 0,n=!0}catch(e){}let i=c.call(e);return n&&(t?e[u]=r:delete e[u]),i}(r):(a=r,c.call(a))))return!1;let l=s(e);if(null===l)return!0;let d=o.call(l,"constructor")&&l.constructor;return"function"==typeof d&&d instanceof d&&n.call(d)===i}function d(...e){let t=e.shift(),r=new WeakMap;for(;e.length>0;)t=function e(t,r,n=0,i){let s;if(!(n>20)){if(n++,_(t)||_(r)||m(r))s=h(r);else if(f(t)){if(s=t.slice(),f(r))for(let e=0,t=r.length;e{"use strict";r.d(t,{M:()=>p});class n{_transport;constructor(e){this._transport=e}retry(e,t,r){return new Promise((n,i)=>{setTimeout(()=>{this._transport.send(e,t).then(n,i)},r)})}async send(e,t){let r=Date.now()+t,n=await this._transport.send(e,t),i=5,s=1e3;for(;"retryable"===n.status&&i>0;){i--;let t=Math.max(Math.min(s,5e3)+(.4*Math.random()-.2),0);s*=1.5;let a=n.retryInMillis??t,o=r-Date.now();if(a>o)break;n=await this.retry(e,o,a)}return n}shutdown(){return this._transport.shutdown()}}function i(e){return new n(e.transport)}var s=r(0xfa1bd25c);class a{_parameters;constructor(e){this._parameters=e}send(e,t){return new Promise(r=>{let n=new XMLHttpRequest;n.timeout=t,n.open("POST",this._parameters.url),Object.entries(this._parameters.headers()).forEach(([e,t])=>{n.setRequestHeader(e,t)}),n.ontimeout=e=>{r({status:"failure",error:Error("XHR request timed out")})},n.onreadystatechange=()=>{n.status>=200&&n.status<=299?(s.s.debug("XHR success"),r({status:"success"})):n.status&&[429,502,503,504].includes(n.status)?r({status:"retryable",retryInMillis:function(e){if(null==e)return;let t=Number.parseInt(e,10);if(Number.isInteger(t))return t>0?1e3*t:-1;let r=new Date(e).getTime()-Date.now();return r>=0?r:0}(n.getResponseHeader("Retry-After"))}):0!==n.status&&r({status:"failure",error:Error("XHR request failed with non-retryable status")})},n.onabort=()=>{r({status:"failure",error:Error("XHR request aborted")})},n.onerror=()=>{r({status:"failure",error:Error("XHR request errored")})},n.send(e)})}shutdown(){}}class o{_params;constructor(e){this._params=e}send(e){return new Promise(t=>{navigator.sendBeacon(this._params.url,new Blob([e],{type:this._params.blobType}))?(s.s.debug("SendBeacon success"),t({status:"success"})):t({status:"failure",error:Error("SendBeacon failed")})})}shutdown(){}}class u{_concurrencyLimit;_sendingPromises=[];constructor(e){this._concurrencyLimit=e}pushPromise(e){if(this.hasReachedLimit())throw Error("Concurrency Limit reached");this._sendingPromises.push(e);let t=()=>{let t=this._sendingPromises.indexOf(e);this._sendingPromises.splice(t,1)};e.then(t,t)}hasReachedLimit(){return this._sendingPromises.length>=this._concurrencyLimit}async awaitAll(){await Promise.all(this._sendingPromises)}}var c=r(0x36ae4918);class l extends Error{code;name="OTLPExporterError";data;constructor(e,t,r){super(e),this.data=r,this.code=t}}class d{_transport;_serializer;_responseHandler;_promiseQueue;_timeout;_diagLogger;constructor(e,t,r,n,i){this._transport=e,this._serializer=t,this._responseHandler=r,this._promiseQueue=n,this._timeout=i,this._diagLogger=s.s.createComponentLogger({namespace:"OTLPExportDelegate"})}export(e,t){if(this._diagLogger.debug("items to be sent",e),this._promiseQueue.hasReachedLimit())return void t({code:c.V.FAILED,error:Error("Concurrent export limit reached")});let r=this._serializer.serializeRequest(e);if(null==r)return void t({code:c.V.FAILED,error:Error("Nothing to send")});this._promiseQueue.pushPromise(this._transport.send(r,this._timeout).then(e=>{if("success"===e.status){if(null!=e.data)try{this._responseHandler.handleResponse(this._serializer.deserializeResponse(e.data))}catch(t){this._diagLogger.warn("Export succeeded but could not deserialize response - is the response specification compliant?",t,e.data)}t({code:c.V.SUCCESS});return}if("failure"===e.status&&e.error)return void t({code:c.V.FAILED,error:e.error});"retryable"===e.status?t({code:c.V.FAILED,error:new l("Export failed with retryable status")}):t({code:c.V.FAILED,error:new l("Export failed with unknown error")})},e=>t({code:c.V.FAILED,error:e})))}forceFlush(){return this._promiseQueue.awaitAll()}async shutdown(){this._diagLogger.debug("shutdown started"),await this.forceFlush(),this._transport.shutdown()}}function h(e,t,r){var n,i;return n={transport:r,serializer:t,promiseHandler:new u(e.concurrencyLimit)},i={timeout:e.timeoutMillis},new d(n.transport,n.serializer,{handleResponse(e){null!=e&&Object.prototype.hasOwnProperty.call(e,"partialSuccess")&&null!=e.partialSuccess&&0!==Object.keys(e.partialSuccess).length&&s.s.warn("Received Partial Success response:",JSON.stringify(e.partialSuccess))}},n.promiseHandler,i.timeout)}function p(e,t,r,n){let u=!!e.headers||"function"!=typeof navigator.sendBeacon,c=(l={url:e.url,timeoutMillis:e.timeoutMillis,headers:function(e){if(null!=e)return()=>e}(e.headers),concurrencyLimit:e.concurrencyLimit},{...(d={},p={timeoutMillis:1e4,concurrencyLimit:30,compression:"none",headers:()=>n,url:"http://localhost:4318/"+r,agentOptions:{keepAlive:!0}},{timeoutMillis:function(e){if(Number.isFinite(e)&&e>0)return e;throw Error(`Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '${e}')`)}(l.timeoutMillis??d.timeoutMillis??p.timeoutMillis),concurrencyLimit:l.concurrencyLimit??d.concurrencyLimit??p.concurrencyLimit,compression:l.compression??d.compression??p.compression}),headers:function(e,t,r){let n={...r()},i={};return()=>(null!=t&&Object.assign(i,t()),null!=e&&Object.assign(i,e()),Object.assign(i,n))}((f=l.headers,()=>{let e={};return Object.entries(f?.()??{}).forEach(([t,r])=>{void 0!==r?e[t]=String(r):s.s.warn(`Header "${t}" has invalid value (${r}) and will be ignored`)}),e}),d.headers,p.headers),url:function(e){if(null!=e)try{return new URL(e),e}catch{throw Error(`Configuration: Could not parse user-provided export URL: '${e}'`)}}(l.url)??d.url??p.url,agentOptions:l.agentOptions??d.agentOptions??p.agentOptions});if(u){var l,d,p,f;return h(c,t,i({transport:new a(c)}))}return h(c,t,i({transport:new o({url:c.url,blobType:c.headers()["Content-Type"]})}))}},0xbf298269:(e,t,r)=>{"use strict";r.d(t,{r:()=>T});var n,i,s,a,o,u,c=r(0x36add605);!function(e){e[e.DELTA=0]="DELTA",e[e.CUMULATIVE=1]="CUMULATIVE"}(n||(n={})),function(e){e.COUNTER="COUNTER",e.GAUGE="GAUGE",e.HISTOGRAM="HISTOGRAM",e.UP_DOWN_COUNTER="UP_DOWN_COUNTER",e.OBSERVABLE_COUNTER="OBSERVABLE_COUNTER",e.OBSERVABLE_GAUGE="OBSERVABLE_GAUGE",e.OBSERVABLE_UP_DOWN_COUNTER="OBSERVABLE_UP_DOWN_COUNTER"}(i||(i={})),function(e){e[e.HISTOGRAM=0]="HISTOGRAM",e[e.EXPONENTIAL_HISTOGRAM=1]="EXPONENTIAL_HISTOGRAM",e[e.GAUGE=2]="GAUGE",e[e.SUM=3]="SUM"}(s||(s={})),function(e){e[e.DEFAULT=0]="DEFAULT",e[e.DROP=1]="DROP",e[e.SUM=2]="SUM",e[e.LAST_VALUE=3]="LAST_VALUE",e[e.EXPLICIT_BUCKET_HISTOGRAM=4]="EXPLICIT_BUCKET_HISTOGRAM",e[e.EXPONENTIAL_HISTOGRAM=5]="EXPONENTIAL_HISTOGRAM"}(a||(a={})),function(e){e[e.DELTA=0]="DELTA",e[e.CUMULATIVE=1]="CUMULATIVE",e[e.LOWMEMORY=2]="LOWMEMORY"}(o||(o={}));var l=r(0x219c4f970),d=r(0xfa1bd25c);let h=()=>n.CUMULATIVE,p=e=>{switch(e){case i.COUNTER:case i.OBSERVABLE_COUNTER:case i.GAUGE:case i.HISTOGRAM:case i.OBSERVABLE_GAUGE:return n.DELTA;case i.UP_DOWN_COUNTER:case i.OBSERVABLE_UP_DOWN_COUNTER:return n.CUMULATIVE}},f=e=>{switch(e){case i.COUNTER:case i.HISTOGRAM:return n.DELTA;case i.GAUGE:case i.UP_DOWN_COUNTER:case i.OBSERVABLE_UP_DOWN_COUNTER:case i.OBSERVABLE_COUNTER:case i.OBSERVABLE_GAUGE:return n.CUMULATIVE}},m=Object.freeze({type:a.DEFAULT});class g extends l.S{_aggregationTemporalitySelector;_aggregationSelector;constructor(e,t){super(e),this._aggregationSelector=t?.aggregationPreference??(()=>m),this._aggregationTemporalitySelector=function(e){if(null!=e)return e===o.DELTA?p:e===o.LOWMEMORY?f:h;let t=((0,c.HF)("OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE")??"cumulative").toLowerCase();return"cumulative"===t?h:"delta"===t?p:"lowmemory"===t?f:(d.s.warn(`OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE is set to '${t}', but only 'cumulative' and 'delta' are allowed. Using default ('cumulative') instead.`),h)}(t?.temporalityPreference)}selectAggregation(e){return this._aggregationSelector(e)}selectAggregationTemporality(e){return this._aggregationTemporalitySelector(e)}}var _=r(0x1709dbbfc);!function(e){e[e.AGGREGATION_TEMPORALITY_UNSPECIFIED=0]="AGGREGATION_TEMPORALITY_UNSPECIFIED",e[e.AGGREGATION_TEMPORALITY_DELTA=1]="AGGREGATION_TEMPORALITY_DELTA",e[e.AGGREGATION_TEMPORALITY_CUMULATIVE=2]="AGGREGATION_TEMPORALITY_CUMULATIVE"}(u||(u={}));var b=r(0x1fc746519),v=r(0x629470a8);function w(e,t){return e.dataPoints.map(r=>(function(e,t,r){let n={attributes:(0,v.Zs)(e.attributes),startTimeUnixNano:r.encodeHrTime(e.startTime),timeUnixNano:r.encodeHrTime(e.endTime)};switch(t){case _.e.INT:n.asInt=e.value;break;case _.e.DOUBLE:n.asDouble=e.value}return n})(r,e.descriptor.valueType,t))}let E={serializeRequest:e=>{var t;let r=(t={useLongBits:!1},{resourceMetrics:[e].map(e=>(function(e,t){var r,i;let a=(0,b.Az)(t);return{resource:(0,v.Zg)(e.resource),schemaUrl:void 0,scopeMetrics:(r=e.scopeMetrics,i=a,Array.from(r.map(e=>({scope:(0,v.d1)(e.scope),metrics:e.metrics.map(e=>(function(e,t){var r,i,a,o;let c={name:e.descriptor.name,description:e.descriptor.description,unit:e.descriptor.unit},l=function(e){switch(e){case n.DELTA:return u.AGGREGATION_TEMPORALITY_DELTA;case n.CUMULATIVE:return u.AGGREGATION_TEMPORALITY_CUMULATIVE}}(e.aggregationTemporality);switch(e.dataPointType){case s.SUM:c.sum={aggregationTemporality:l,isMonotonic:e.isMonotonic,dataPoints:w(e,t)};break;case s.GAUGE:c.gauge={dataPoints:w(e,t)};break;case s.HISTOGRAM:c.histogram={aggregationTemporality:l,dataPoints:(r=e,i=t,r.dataPoints.map(e=>{let t=e.value;return{attributes:(0,v.Zs)(e.attributes),bucketCounts:t.buckets.counts,explicitBounds:t.buckets.boundaries,count:t.count,sum:t.sum,min:t.min,max:t.max,startTimeUnixNano:i.encodeHrTime(e.startTime),timeUnixNano:i.encodeHrTime(e.endTime)}}))};break;case s.EXPONENTIAL_HISTOGRAM:c.exponentialHistogram={aggregationTemporality:l,dataPoints:(a=e,o=t,a.dataPoints.map(e=>{let t=e.value;return{attributes:(0,v.Zs)(e.attributes),count:t.count,min:t.min,max:t.max,sum:t.sum,positive:{offset:t.positive.offset,bucketCounts:t.positive.bucketCounts},negative:{offset:t.negative.offset,bucketCounts:t.negative.bucketCounts},scale:t.scale,zeroCount:t.zeroCount,startTimeUnixNano:o.encodeHrTime(e.startTime),timeUnixNano:o.encodeHrTime(e.endTime)}}))}}return c})(e,i)),schemaUrl:e.scope.schemaUrl}))))}})(e,t))});return new TextEncoder().encode(JSON.stringify(r))},deserializeResponse:e=>0===e.length?{}:JSON.parse(new TextDecoder().decode(e))};var y=r(0xbd8451d8);class T extends g{constructor(e){super((0,y.M)(e??{},E,"v1/metrics",{"Content-Type":"application/json"}),e)}}},0xcbc4dfcf:(e,t,r)=>{"use strict";var n;r.d(t,{v:()=>n}),function(e){e[e.INTERNAL=0]="INTERNAL",e[e.SERVER=1]="SERVER",e[e.CLIENT=2]="CLIENT",e[e.PRODUCER=3]="PRODUCER",e[e.CONSUMER=4]="CONSUMER"}(n||(n={}))},0xd09fadb8:e=>{"use strict";let t=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],r=["B","kiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],n=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],i=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],s=(e,t,r)=>{let n=e;return"string"==typeof t||Array.isArray(t)?n=e.toLocaleString(t,r):(!0===t||void 0!==r)&&(n=e.toLocaleString(void 0,r)),n};e.exports=(e,a)=>{let o;if(!Number.isFinite(e))throw TypeError(`Expected a finite number, got ${typeof e}: ${e}`);let u=(a=Object.assign({bits:!1,binary:!1},a)).bits?a.binary?i:n:a.binary?r:t;if(a.signed&&0===e)return` 0 ${u[0]}`;let c=e<0,l=c?"-":a.signed?"+":"";if(c&&(e=-e),void 0!==a.minimumFractionDigits&&(o={minimumFractionDigits:a.minimumFractionDigits}),void 0!==a.maximumFractionDigits&&(o=Object.assign({maximumFractionDigits:a.maximumFractionDigits},o)),e<1)return l+s(e,a.locale,o)+" "+u[0];let d=Math.min(Math.floor(a.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),u.length-1);return e/=Math.pow(a.binary?1024:1e3,d),o||(e=e.toPrecision(3)),l+s(Number(e),a.locale,o)+" "+u[d]}},0xd8906a07:(e,t,r)=>{"use strict";r.d(t,{B:()=>b,F:()=>_});var n=r(0xfc89b4a4),i=Object.defineProperty,s=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable,u=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,c=(e,t)=>{for(var r in t||(t={}))a.call(t,r)&&u(e,r,t[r]);if(s)for(var r of s(t))o.call(t,r)&&u(e,r,t[r]);return e},l=(e,t)=>{let r="[react-use-intercom]";switch(e){case"info":default:console.log(`${r} ${t}`);break;case"warn":console.warn(`${r} ${t}`);break;case"error":console.error(`${r} ${t}`)}},d="undefined"==typeof window,h=e=>(Object.keys(e).forEach(t=>{e[t]&&"object"==typeof e[t]?h(e[t]):void 0===e[t]&&delete e[t]}),e),p=(e,...t)=>{if(!d&&window.Intercom)return window.Intercom.apply(null,[e,...t]);l("error",`${e} Intercom instance is not initalized yet`)},f=n.createContext(void 0),m=e=>c({company_id:e.companyId,name:e.name,created_at:e.createdAt,plan:e.plan,monthly_spend:e.monthlySpend,user_count:e.userCount,size:e.size,website:e.website,industry:e.industry},e.customAttributes),g=e=>h(c(c({},(e=>({custom_launcher_selector:e.customLauncherSelector,alignment:e.alignment,vertical_padding:e.verticalPadding,horizontal_padding:e.horizontalPadding,hide_default_launcher:e.hideDefaultLauncher,session_duration:e.sessionDuration,action_color:e.actionColor,background_color:e.backgroundColor}))(e)),(e=>{var t;return c({email:e.email,user_id:e.userId,created_at:e.createdAt,name:e.name,phone:e.phone,last_request_at:e.lastRequestAt,unsubscribed_from_emails:e.unsubscribedFromEmails,language_override:e.languageOverride,utm_campaign:e.utmCampaign,utm_content:e.utmContent,utm_medium:e.utmMedium,utm_source:e.utmSource,utm_term:e.utmTerm,avatar:e.avatar&&(e=>({type:e.type,image_url:e.imageUrl}))(e.avatar),user_hash:e.userHash,company:e.company&&m(e.company),companies:null==(t=e.companies)?void 0:t.map(m)},e.customAttributes)})(e))),_=e=>{var{appId:t,autoBoot:r=!1,autoBootProps:i,children:u,onHide:h,onShow:m,onUnreadCountChange:_,onUserEmailSupplied:b,shouldInitialize:v=!d,apiBase:w,initializeDelay:E}=e,y=((e,t)=>{var r={};for(var n in e)a.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&s)for(var n of s(e))0>t.indexOf(n)&&o.call(e,n)&&(r[n]=e[n]);return r})(e,["appId","autoBoot","autoBootProps","children","onHide","onShow","onUnreadCountChange","onUserEmailSupplied","shouldInitialize","apiBase","initializeDelay"]);let T=n.useRef(!1),S=n.useRef(!1),x=Object.keys(y).filter(e=>!e.startsWith("data-"));x.length>0&&l("warn",`some invalid props were passed to IntercomProvider. Please check following props: ${x.join(", ")}.`);let A=n.useCallback(e=>{if(!window.Intercom&&!v)return void l("warn","Intercom instance is not initialized because `shouldInitialize` is set to `false` in `IntercomProvider`");let r=c(c({app_id:t},w&&{api_base:w}),e&&g(e));window.intercomSettings=r,p("boot",r),T.current=!0},[w,t,v]),[O,C]=n.useState(!1),L=n.useCallback(()=>{C(!1),h&&h()},[h,C]),R=n.useCallback(()=>{C(!0),m&&m()},[m,C]);d||!v||S.current||(((e,t=0)=>{var r=window,n=r.Intercom;if("function"==typeof n)n("reattach_activator"),n("update",r.intercomSettings);else{var i=document,s=function(){s.c(arguments)};s.q=[],s.c=function(e){s.q.push(e)},r.Intercom=s;var a=function(){setTimeout(function(){var t=i.createElement("script");t.type="text/javascript",t.async=!0,t.src="https://widget.intercom.io/widget/"+e;var r=i.getElementsByTagName("script")[0];r.parentNode.insertBefore(t,r)},t)};"complete"===document.readyState?a():r.attachEvent?r.attachEvent("onload",a):r.addEventListener("load",a,!1)}})(t,E),p("onHide",L),p("onShow",R),p("onUserEmailSupplied",b),_&&p("onUnreadCountChange",_),r&&A(i),S.current=!0);let N=n.useCallback((e,t)=>window.Intercom||v?T.current?t():void l("warn",`"${e}" was called but Intercom has not booted yet. Please call 'boot' before calling '${e}' or set 'autoBoot' to true in the IntercomProvider.`):void l("warn","Intercom instance is not initialized because `shouldInitialize` is set to `false` in `IntercomProvider`"),[v]),P=n.useCallback(()=>{T.current&&(p("shutdown"),delete window.intercomSettings,T.current=!1)},[]),k=n.useCallback(()=>{T.current&&(p("shutdown"),delete window.Intercom,delete window.intercomSettings,T.current=!1)},[]),M=n.useCallback(()=>{N("update",()=>{p("update",{last_request_at:Math.floor(new Date().getTime()/1e3)})})},[N]),D=n.useCallback(e=>{N("update",()=>{if(!e)return void M();let t=g(e);window.intercomSettings=c(c({},window.intercomSettings),t),p("update",t)})},[N,M]),I=n.useCallback(()=>{N("hide",()=>{p("hide")})},[N]),U=n.useCallback(()=>{N("show",()=>p("show"))},[N]),H=n.useCallback(()=>{N("showMessages",()=>{p("showMessages")})},[N]),B=n.useCallback(e=>{N("showNewMessage",()=>{e?p("showNewMessage",e):p("showNewMessage")})},[N]),F=n.useCallback(()=>N("getVisitorId",()=>p("getVisitorId")),[N]),j=n.useCallback(e=>{N("startTour",()=>{p("startTour",e)})},[N]),q=n.useCallback((e,t)=>{N("trackEvent",()=>{t?p("trackEvent",e,t):p("trackEvent",e)})},[N]),V=n.useCallback(e=>N("showArticle",()=>{p("showArticle",e)}),[N]),$=n.useCallback(e=>N("showSpace",()=>{p("showSpace",e)}),[N]),z=n.useCallback(e=>{N("startSurvey",()=>{p("startSurvey",e)})},[N]),Z=n.useMemo(()=>({boot:A,shutdown:P,hardShutdown:k,update:D,hide:I,show:U,isOpen:O,showMessages:H,showNewMessage:B,getVisitorId:F,startTour:j,trackEvent:q,showArticle:V,startSurvey:z,showSpace:$}),[A,P,k,D,I,U,O,H,B,F,j,q,V,z,$]);return n.createElement(f.Provider,{value:Z},u)},b=()=>(()=>{let e=n.useContext(f);if(void 0===e)throw Error('"useIntercom" must be used within `IntercomProvider`.');return e})()},0xdc12822f:(e,t,r)=>{"use strict";r.d(t,{U:()=>i});var n=r(0xfc89b4a4);function i(e,t){let{getInitialValueInEffect:r}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{getInitialValueInEffect:!0},[i,s]=(0,n.useState)(r?t:!!("undefined"!=typeof window&&"matchMedia"in window)&&window.matchMedia(e).matches),a=(0,n.useRef)(null);return(0,n.useEffect)(()=>{if("matchMedia"in window){a.current=window.matchMedia(e),s(a.current.matches);var t=a.current,r=e=>s(e.matches);try{return t.addEventListener("change",r),()=>t.removeEventListener("change",r)}catch(e){return t.addListener(r),()=>t.removeListener(r)}}},[e]),i}},0xe62571ff:(e,t,r)=>{"use strict";r.d(t,{q:()=>u});var n=r(0x1223f14b9),i=new(function(){function e(){}return e.prototype.getMeter=function(e,t,r){return n.Dq},e}()),s=r(0x3200185f),a=r(0x2014713fd),o="metrics",u=(function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalMeterProvider=function(e){return(0,s.$G)(o,e,a.K.instance())},e.prototype.getMeterProvider=function(){return(0,s.mS)(o)||i},e.prototype.getMeter=function(e,t,r){return this.getMeterProvider().getMeter(e,t,r)},e.prototype.disable=function(){(0,s.kv)(o,a.K.instance())},e})().getInstance()},0xe7d09562:(e,t,r)=>{"use strict";r.d(t,{R:()=>a});var n=r(0x243825738),i=r(0xe62571ff),s=r(0x1c47b4762);function a(e){let t=e.tracerProvider||n.u.getTracerProvider(),r=e.meterProvider||i.q.getMeterProvider(),a=e.loggerProvider||s.K9.getLoggerProvider(),o=e.instrumentations?.flat()??[];for(let e=0,n=o.length;e{o.forEach(e=>e.disable())}}},0xfa1bd25c:(e,t,r)=>{"use strict";r.d(t,{s:()=>n});var n=r(0x2014713fd).K.instance()},0x103db03f6:(e,t,r)=>{"use strict";r.d(t,{ZS:()=>f,lm:()=>_});var n=r(0x243825738),i=r(0x23743853f),s=r(0xc3467dc9),a=r(0x1ea37ebb5);let o="[_0-9a-z-*/]",u=`[a-z]${o}{0,255}`,c=`[a-z0-9]${o}{0,240}@[a-z]${o}{0,13}`,l=RegExp(`^(?:${u}|${c})$`),d=/^[ -~]{0,255}[!-~]$/,h=/,|=/;class p{_internalState=new Map;constructor(e){e&&this._parse(e)}set(e,t){let r=this._clone();return r._internalState.has(e)&&r._internalState.delete(e),r._internalState.set(e,t),r}unset(e){let t=this._clone();return t._internalState.delete(e),t}get(e){return this._internalState.get(e)}serialize(){return this._keys().reduce((e,t)=>(e.push(t+"="+this.get(t)),e),[]).join(",")}_parse(e){!(e.length>512)&&(this._internalState=e.split(",").reverse().reduce((e,t)=>{let r=t.trim(),n=r.indexOf("=");if(-1!==n){let i=r.slice(0,n),s=r.slice(n+1,t.length);l.test(i)&&d.test(s)&&!h.test(s)&&e.set(i,s)}return e},new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){let e=new p;return e._internalState=new Map(this._internalState),e}}let f="traceparent",m="tracestate",g=RegExp("^\\s?((?!ff)[\\da-f]{2})-((?![0]{32})[\\da-f]{32})-((?![0]{16})[\\da-f]{16})-([\\da-f]{2})(-.*)?\\s?$");class _{inject(e,t,r){let o=n.u.getSpanContext(e);if(!o||(0,a.Zf)(e)||!(0,i.YA)(o))return;let u=`00-${o.traceId}-${o.spanId}-0${Number(o.traceFlags||s.X.NONE).toString(16)}`;r.set(t,f,u),o.traceState&&r.set(t,m,o.traceState.serialize())}extract(e,t,r){let i=r.get(t,f);if(!i)return e;let s=Array.isArray(i)?i[0]:i;if("string"!=typeof s)return e;let a=function(e){let t=g.exec(e);return!t||"00"===t[1]&&t[5]?null:{traceId:t[2],spanId:t[3],traceFlags:parseInt(t[4],16)}}(s);if(!a)return e;a.isRemote=!0;let o=r.get(t,m);if(o){let e=Array.isArray(o)?o.join(","):o;a.traceState=new p("string"==typeof e?e:void 0)}return n.u.setSpanContext(e,a)}fields(){return[f,m]}}},0x10d145d28:(e,t,r)=>{"use strict";var n;r.d(t,{D:()=>n}),function(e){e.CONNECT_END="connectEnd",e.CONNECT_START="connectStart",e.DECODED_BODY_SIZE="decodedBodySize",e.DOM_COMPLETE="domComplete",e.DOM_CONTENT_LOADED_EVENT_END="domContentLoadedEventEnd",e.DOM_CONTENT_LOADED_EVENT_START="domContentLoadedEventStart",e.DOM_INTERACTIVE="domInteractive",e.DOMAIN_LOOKUP_END="domainLookupEnd",e.DOMAIN_LOOKUP_START="domainLookupStart",e.ENCODED_BODY_SIZE="encodedBodySize",e.FETCH_START="fetchStart",e.LOAD_EVENT_END="loadEventEnd",e.LOAD_EVENT_START="loadEventStart",e.NAVIGATION_START="navigationStart",e.REDIRECT_END="redirectEnd",e.REDIRECT_START="redirectStart",e.REQUEST_START="requestStart",e.RESPONSE_END="responseEnd",e.RESPONSE_START="responseStart",e.SECURE_CONNECTION_START="secureConnectionStart",e.START_TIME="startTime",e.UNLOAD_EVENT_END="unloadEventEnd",e.UNLOAD_EVENT_START="unloadEventStart"}(n||(n={}))},0x1223f14b9:(e,t,r)=>{"use strict";r.d(t,{Ac:()=>y,Dq:()=>f});var n=function(){var e=function(t,r){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=function(){function e(){}return e.prototype.createGauge=function(e,t){return g},e.prototype.createHistogram=function(e,t){return _},e.prototype.createCounter=function(e,t){return m},e.prototype.createUpDownCounter=function(e,t){return b},e.prototype.createObservableGauge=function(e,t){return w},e.prototype.createObservableCounter=function(e,t){return v},e.prototype.createObservableUpDownCounter=function(e,t){return E},e.prototype.addBatchObservableCallback=function(e,t){},e.prototype.removeBatchObservableCallback=function(e){},e}(),s=function(){},a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.add=function(e,t){},t}(s),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.add=function(e,t){},t}(s),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.record=function(e,t){},t}(s),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.record=function(e,t){},t}(s),l=function(){function e(){}return e.prototype.addCallback=function(e){},e.prototype.removeCallback=function(e){},e}(),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(l),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(l),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t}(l),f=new i,m=new a,g=new u,_=new c,b=new o,v=new d,w=new h,E=new p;function y(){return f}},0x122559418:(e,t,r)=>{"use strict";r.d(t,{X:()=>o});var n=r(0xfa1bd25c),i=r(0x22b8d2099);let s={PLATFORM:"browser.platform",BRANDS:"browser.brands",MOBILE:"browser.mobile",LANGUAGE:"browser.language",USER_AGENT:"browser.user_agent"};class a{detect(e){if("undefined"==typeof navigator)return(0,i.sq)();let t=function(){let e={},t=navigator.userAgentData;return t?(e[s.PLATFORM]=t.platform,e[s.BRANDS]=t.brands.map(e=>`${e.brand} ${e.version}`),e[s.MOBILE]=t.mobile):e[s.USER_AGENT]=navigator.userAgent,e[s.LANGUAGE]=navigator.language,e}();return this._getResourceAttributes(t,e)}_getResourceAttributes(e,t){return e[s.USER_AGENT]||e[s.PLATFORM]?{attributes:e}:(n.s.debug("BrowserDetector failed: Unable to find required browser resources. "),(0,i.sq)())}}let o=new a},0x12a3a86b6:(e,t,r)=>{"use strict";r.d(t,{vd:()=>o,sj:()=>a});var n=r(0xfc89b4a4),i=r(0xecad5eef);let s=new Map([["bold",n.createElement(n.Fragment,null,n.createElement("path",{d:"M216,68H133.39l-26-29.29a20,20,0,0,0-15-6.71H40A20,20,0,0,0,20,52V200.62A19.41,19.41,0,0,0,39.38,220H216.89A19.13,19.13,0,0,0,236,200.89V88A20,20,0,0,0,216,68ZM44,56H90.61l10.67,12H44ZM212,196H44V92H212Z"}))],["duotone",n.createElement(n.Fragment,null,n.createElement("path",{d:"M128,80H32V56a8,8,0,0,1,8-8H92.69a8,8,0,0,1,5.65,2.34Z",opacity:"0.2"}),n.createElement("path",{d:"M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM92.69,56l16,16H40V56ZM216,200H40V88H216Z"}))],["fill",n.createElement(n.Fragment,null,n.createElement("path",{d:"M216,72H131.31L104,44.69A15.88,15.88,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.41,15.41,0,0,0,39.39,216h177.5A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40Z"}))],["light",n.createElement(n.Fragment,null,n.createElement("path",{d:"M216,74H130.49l-27.9-27.9a13.94,13.94,0,0,0-9.9-4.1H40A14,14,0,0,0,26,56V200.62A13.39,13.39,0,0,0,39.38,214H216.89A13.12,13.12,0,0,0,230,200.89V88A14,14,0,0,0,216,74ZM40,54H92.69a2,2,0,0,1,1.41.59L113.51,74H38V56A2,2,0,0,1,40,54ZM218,200.89a1.11,1.11,0,0,1-1.11,1.11H39.38A1.4,1.4,0,0,1,38,200.62V86H216a2,2,0,0,1,2,2Z"}))],["regular",n.createElement(n.Fragment,null,n.createElement("path",{d:"M216,72H131.31L104,44.69A15.86,15.86,0,0,0,92.69,40H40A16,16,0,0,0,24,56V200.62A15.4,15.4,0,0,0,39.38,216H216.89A15.13,15.13,0,0,0,232,200.89V88A16,16,0,0,0,216,72ZM40,56H92.69l16,16H40ZM216,200H40V88H216Z"}))],["thin",n.createElement(n.Fragment,null,n.createElement("path",{d:"M216,76H129.66L101.17,47.52A11.9,11.9,0,0,0,92.69,44H40A12,12,0,0,0,28,56V200.62A11.4,11.4,0,0,0,39.38,212H216.89A11.12,11.12,0,0,0,228,200.89V88A12,12,0,0,0,216,76ZM36,56a4,4,0,0,1,4-4H92.69a4,4,0,0,1,2.82,1.17L118.34,76H36ZM220,200.89a3.12,3.12,0,0,1-3.11,3.11H39.38A3.39,3.39,0,0,1,36,200.62V84H216a4,4,0,0,1,4,4Z"}))]]),a=n.forwardRef((e,t)=>n.createElement(i.A,{ref:t,...e,weights:s}));a.displayName="FolderIcon";let o=a},0x1315c1671:(e,t,r)=>{"use strict";r.d(t,{r:()=>i});class n{_sessionIdProvider;constructor(e){this._sessionIdProvider=e}async forceFlush(){}onStart(e,t){let r=this._sessionIdProvider?.getSessionId();r&&e.setAttribute("session.id",r)}onEnd(e){}async shutdown(){}}function i(e){return new n(e)}},0x135495fde:(e,t,r)=>{"use strict";r.d(t,{$:()=>s});var n=r(0xfa1bd25c),i=r(0x22b8d2099);let s=(e={})=>(e.detectors||[]).map(t=>{try{let r=(0,i.Lm)(t.detect(e));return n.s.debug(`${t.constructor.name} found resource.`,r),r}catch(e){return n.s.debug(`${t.constructor.name} failed: ${e.message}`),(0,i.sq)()}}).reduce((e,t)=>e.merge(t),(0,i.sq)())},0x136be843d:e=>{e.exports={style:{fontFamily:"'jetbrains', 'jetbrains Fallback', ui-monospace, SFMono-Regular, Menlo, Monaco, monospace",fontWeight:400,fontStyle:"normal"},className:"__className_e4195f",variable:"__variable_e4195f"}},0x139b90133:(e,t,r)=>{"use strict";r.d(t,{Q:()=>u});var n=r(0x219c4f970),i=r(0x629470a8),s=r(0x1fc746519);let a={serializeRequest:e=>{var t;let r=(t={useHex:!0,useLongBits:!1},{resourceSpans:function(e,t){let r=function(e){let t=new Map;for(let r of e){let e=t.get(r.resource);e||(e=new Map,t.set(r.resource,e));let n=`${r.instrumentationScope.name}@${r.instrumentationScope.version||""}:${r.instrumentationScope.schemaUrl||""}`,i=e.get(n);i||(i=[],e.set(n,i)),i.push(r)}return t}(e),n=[],s=r.entries(),a=s.next();for(;!a.done;){let[e,r]=a.value,o=[],u=r.values(),c=u.next();for(;!c.done;){let e=c.value;if(e.length>0){let r=e.map(e=>(function(e,t){let r=e.spanContext(),n=e.status,s=e.parentSpanContext?.spanId?t.encodeSpanContext(e.parentSpanContext?.spanId):void 0;return{traceId:t.encodeSpanContext(r.traceId),spanId:t.encodeSpanContext(r.spanId),parentSpanId:s,traceState:r.traceState?.serialize(),name:e.name,kind:null==e.kind?0:e.kind+1,startTimeUnixNano:t.encodeHrTime(e.startTime),endTimeUnixNano:t.encodeHrTime(e.endTime),attributes:(0,i.Zs)(e.attributes),droppedAttributesCount:e.droppedAttributesCount,events:e.events.map(e=>{var r,n;return r=e,n=t,{attributes:r.attributes?(0,i.Zs)(r.attributes):[],name:r.name,timeUnixNano:n.encodeHrTime(r.time),droppedAttributesCount:r.droppedAttributesCount||0}}),droppedEventsCount:e.droppedEventsCount,status:{code:n.code,message:n.message},links:e.links.map(e=>{var r,n;return r=e,n=t,{attributes:r.attributes?(0,i.Zs)(r.attributes):[],spanId:n.encodeSpanContext(r.context.spanId),traceId:n.encodeSpanContext(r.context.traceId),traceState:r.context.traceState?.serialize(),droppedAttributesCount:r.droppedAttributesCount||0}}),droppedLinksCount:e.droppedLinksCount}})(e,t));o.push({scope:(0,i.d1)(e[0].instrumentationScope),spans:r,schemaUrl:e[0].instrumentationScope.schemaUrl})}c=u.next()}let l={resource:(0,i.Zg)(e),scopeSpans:o,schemaUrl:void 0};n.push(l),a=s.next()}return n}(e,(0,s.Az)(t))});return new TextEncoder().encode(JSON.stringify(r))},deserializeResponse:e=>0===e.length?{}:JSON.parse(new TextDecoder().decode(e))};var o=r(0xbd8451d8);class u extends n.S{constructor(e={}){super((0,o.M)(e,a,"v1/traces",{"Content-Type":"application/json"}))}}},0x13b553575:e=>{e.exports={style:{fontFamily:"'anthropicSerif', 'anthropicSerif Fallback', Georgia, Times New Roman, Times, serif"},className:"__className_2d8cf6",variable:"__variable_2d8cf6"}},0x1428fa160:(e,t,r)=>{"use strict";r.d(t,{B:()=>u});var n=r(0x219c4f970),i=r(0x1fc746519),s=r(0x629470a8);let a={serializeRequest:e=>{var t,r,n;let a=(t={useHex:!0,useLongBits:!1},{resourceLogs:(r=e,n=(0,i.Az)(t),Array.from(function(e){let t=new Map;for(let r of e){let{resource:e,instrumentationScope:{name:n,version:i="",schemaUrl:s=""}}=r,a=t.get(e);a||(a=new Map,t.set(e,a));let o=`${n}@${i}:${s}`,u=a.get(o);u||(u=[],a.set(o,u)),u.push(r)}return t}(r),([e,t])=>({resource:(0,s.Zg)(e),scopeLogs:Array.from(t,([,e])=>({scope:(0,s.d1)(e[0].instrumentationScope),logRecords:e.map(e=>{var t,r,i;return t=e,{timeUnixNano:(r=n).encodeHrTime(t.hrTime),observedTimeUnixNano:r.encodeHrTime(t.hrTimeObserved),severityNumber:t.severityNumber,severityText:t.severityText,body:(0,s.Ff)(t.body),eventName:t.eventName,attributes:Object.keys(i=t.attributes).map(e=>(0,s.EB)(e,i[e])),droppedAttributesCount:t.droppedAttributesCount,flags:t.spanContext?.traceFlags,traceId:r.encodeOptionalSpanContext(t.spanContext?.traceId),spanId:r.encodeOptionalSpanContext(t.spanContext?.spanId)}}),schemaUrl:e[0].instrumentationScope.schemaUrl})),schemaUrl:void 0})))});return new TextEncoder().encode(JSON.stringify(a))},deserializeResponse:e=>0===e.length?{}:JSON.parse(new TextDecoder().decode(e))};var o=r(0xbd8451d8);class u extends n.S{constructor(e={}){super((0,o.M)(e,a,"v1/logs",{"Content-Type":"application/json"}))}}},0x14b0cea34:e=>{e.exports={style:{fontFamily:"'anthropicSans', 'anthropicSans Fallback', system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif"},className:"__className_8d1da5",variable:"__variable_8d1da5"}},0x1545b4a5a:e=>{e.exports={style:{fontFamily:"'openDyslexic', 'openDyslexic Fallback'"},className:"__className_e4ce97",variable:"__variable_e4ce97"}},0x16d6c2e8f:(e,t,r)=>{"use strict";r.d(t,{$:()=>o});var n=r(0x1eb4fc9be),i=r(0x232ae7c8f),s=r(0xfce32b33),a=r(0x2afb34dc),o=class extends a.Q{constructor(e={}){super(),this.config=e,this.#r=new Map}#r;build(e,t,r){let s=t.queryKey,a=t.queryHash??(0,n.F$)(s,t),o=this.get(a);return o||(o=new i.X({cache:this,queryKey:s,queryHash:a,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(s)}),this.add(o)),o}add(e){this.#r.has(e.queryHash)||(this.#r.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){let t=this.#r.get(e.queryHash);t&&(e.destroy(),t===e&&this.#r.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){s.j.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#r.get(e)}getAll(){return[...this.#r.values()]}find(e){let t={exact:!0,...e};return this.getAll().find(e=>(0,n.MK)(t,e))}findAll(e={}){let t=this.getAll();return Object.keys(e).length>0?t.filter(t=>(0,n.MK)(e,t)):t}notify(e){s.j.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){s.j.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){s.j.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}}},0x16e3c6c98:(e,t,r)=>{"use strict";r.d(t,{$:()=>_});var n=r(0x3200185f),i=function(){function e(){}return e.prototype.inject=function(e,t){},e.prototype.extract=function(e,t){return e},e.prototype.fields=function(){return[]},e}(),s={get:function(e,t){if(null!=e)return e[t]},keys:function(e){return null==e?[]:Object.keys(e)}},a={set:function(e,t,r){null!=e&&(e[t]=r)}},o=r(0xb184befb),u=(0,r(0x112ace885).n)("OpenTelemetry Baggage Key");function c(e){return e.getValue(u)||void 0}function l(){return c(o._.getInstance().active())}function d(e,t){return e.setValue(u,t)}function h(e){return e.deleteValue(u)}var p=r(0x16f8c0a96),f=r(0x2014713fd),m="propagation",g=new i,_=(function(){function e(){this.createBaggage=p.L,this.getBaggage=c,this.getActiveBaggage=l,this.setBaggage=d,this.deleteBaggage=h}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalPropagator=function(e){return(0,n.$G)(m,e,f.K.instance())},e.prototype.inject=function(e,t,r){return void 0===r&&(r=a),this._getGlobalPropagator().inject(e,t,r)},e.prototype.extract=function(e,t,r){return void 0===r&&(r=s),this._getGlobalPropagator().extract(e,t,r)},e.prototype.fields=function(){return this._getGlobalPropagator().fields()},e.prototype.disable=function(){(0,n.kv)(m,f.K.instance())},e.prototype._getGlobalPropagator=function(){return(0,n.mS)(m)||g},e})().getInstance()},0x16f8c0a96:(e,t,r)=>{"use strict";r.d(t,{B:()=>l,L:()=>c});var n=r(0x2014713fd),i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,s=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)a.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=s.return)&&r.call(s)}finally{if(i)throw i.error}}return a},s=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},a=function(){function e(e){this._entries=e?new Map(e):new Map}return e.prototype.getEntry=function(e){var t=this._entries.get(e);if(t)return Object.assign({},t)},e.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map(function(e){var t=i(e,2);return[t[0],t[1]]})},e.prototype.setEntry=function(t,r){var n=new e(this._entries);return n._entries.set(t,r),n},e.prototype.removeEntry=function(t){var r=new e(this._entries);return r._entries.delete(t),r},e.prototype.removeEntries=function(){for(var t,r,n=[],i=0;i{"use strict";var n;r.d(t,{e:()=>n}),function(e){e[e.INT=0]="INT",e[e.DOUBLE=1]="DOUBLE"}(n||(n={}))},0x17e242400:function(e,t,r){var n;!function(i,s){"use strict";var a="function",o="undefined",u="object",c="string",l="major",d="model",h="name",p="type",f="vendor",m="version",g="architecture",_="console",b="mobile",v="tablet",w="smarttv",E="wearable",y="embedded",T="Amazon",S="Apple",x="ASUS",A="BlackBerry",O="Browser",C="Chrome",L="Firefox",R="Google",N="Huawei",P="Microsoft",k="Motorola",M="Opera",D="Samsung",I="Sharp",U="Sony",H="Xiaomi",B="Zebra",F="Facebook",j="Chromium OS",q="Mac OS",V=" Browser",$=function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},z=function(e){for(var t={},r=0;r0?2===o.length?typeof o[1]==a?this[o[0]]=o[1].call(this,l):this[o[0]]=o[1]:3===o.length?typeof o[1]!==a||o[1].exec&&o[1].test?this[o[0]]=l?l.replace(o[1],o[2]):void 0:this[o[0]]=l?o[1].call(this,l,o[2]):void 0:4===o.length&&(this[o[0]]=l?o[3].call(this,l.replace(o[1],o[2])):s):this[o]=l||s;d+=2}},W=function(e,t){for(var r in t)if(typeof t[r]===u&&t[r].length>0){for(var n=0;n2&&(e[d]="iPad",e[p]=v),e},this.getEngine=function(){var e={};return e[h]=s,e[m]=s,X.call(e,n,w.engine),e},this.getOS=function(){var e={};return e[h]=s,e[m]=s,X.call(e,n,w.os),E&&!e[h]&&_&&_.platform&&"Unknown"!=_.platform&&(e[h]=_.platform.replace(/chrome os/i,j).replace(/macos/i,q)),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return n},this.setUA=function(e){return n=typeof e===c&&e.length>500?Q(e,500):e,this},this.setUA(n),this};Y.VERSION="1.0.40",Y.BROWSER=z([h,m,l]),Y.CPU=z([g]),Y.DEVICE=z([d,f,p,_,b,w,v,E,y]),Y.ENGINE=Y.OS=z([h,m]),typeof t!==o?(e.exports&&(t=e.exports=Y),t.UAParser=Y):r.amdO?s===(n=(function(){return Y}).call(t,r,t,e))||(e.exports=n):typeof i!==o&&(i.UAParser=Y);var ee=typeof i!==o&&(i.jQuery||i.Zepto);if(ee&&!ee.ua){var et=new Y;ee.ua=et.getResult(),ee.ua.get=function(){return et.getUA()},ee.ua.set=function(e){et.setUA(e);var t=et.getResult();for(var r in t)ee.ua[r]=t[r]}}}("object"==typeof window?window:this)},0x18c0eaa61:(e,t,r)=>{"use strict";r.d(t,{V:()=>o});var n=r(0x243825738),i=r(0x6096d538),s=r(0x1d0e53780),a=r(0x3fd70490);let o="1.1.0",u="@honeycombio/user-instrumentation",c=["click"];class l extends s.O{constructor(e={}){var t,r;super(u,o,e),this._config=e,this._isEnabled=null!=(t=this._config.enabled)&&t,this._listeners=null!=(r=this._listeners)?r:[]}init(){}static handleEndSpan(e){var t;null==(t=l._eventMap.get(e))||t.end()}static createGlobalEventListener(e,t,r){return s=>{let o=s.target;if(!1===r()||l._eventMap.has(s)||!d(s,o,e,t))return;let c=(0,a.Qd)(o),h=n.u.getTracer(u);i._.with(i._.active(),()=>{h.startActiveSpan(e,{attributes:{event_type:e,target_element:o.tagName,target_xpath:c,"http.url":window.location.href}},e=>{p(s,"stopPropagation",e),p(s,"stopImmediatePropagation",e),l._eventMap.set(s,e)})})}}enable(){var e;if(this._isEnabled)return;let t=this.getRootNode();this._listeners=[],(null!=(e=this._config.eventNames)?e:c).forEach(e=>{let r=l.createGlobalEventListener(e,this._config.rootNodeId,()=>this._isEnabled);this._listeners.push({eventName:e,handler:r}),t.addEventListener(e,r,{capture:!0}),t.addEventListener(e,l.handleEndSpan)}),this._isEnabled=!0}getRootNode(){if(this._config.rootNodeId){let e=document.getElementById(this._config.rootNodeId);return null===e?(this._diag.warn(`Root Node id: ${this._config.rootNodeId} not found!`),document):e}return document}disable(){this._isEnabled=!1,this._listeners.forEach(({eventName:e,handler:t})=>{document.removeEventListener(e,t,{capture:!0}),document.removeEventListener(e,l.handleEndSpan)}),this._listeners=[]}}l._eventMap=new WeakMap;let d=(e,t,r,n)=>!(!(t instanceof HTMLElement)||!h(t,`on${r}`,n)||!t.getAttribute||t.hasAttribute("disabled")),h=(e,t,r)=>!!e&&(!r||e.id!==r)&&(!!e[t]||h(e.parentElement,t,r)),p=(e,t,r)=>{let n=e[t].bind(e);e[t]=()=>{r.end(),n()}}},0x1a8741d9f:e=>{"use strict";function t(e){return"function"==typeof e}var r=console.error.bind(console);function n(e,t,r){var n=!!e[t]&&e.propertyIsEnumerable(t);Object.defineProperty(e,t,{configurable:!0,enumerable:n,writable:!0,value:r})}function i(e){e&&e.logger&&(t(e.logger)?r=e.logger:r("new logger isn't a function, not replacing"))}function s(e,i,s){if(!e||!e[i])return void r("no original function "+i+" to wrap");if(!s){r("no wrapper function"),r(Error().stack);return}if(!t(e[i])||!t(s))return void r("original object and wrapper must be functions");var a=e[i],o=s(a,i);return n(o,"__original",a),n(o,"__unwrap",function(){e[i]===o&&n(e,i,a)}),n(o,"__wrapped",!0),n(e,i,o),o}function a(e,t){if(!e||!e[t]){r("no function to unwrap."),r(Error().stack);return}if(e[t].__unwrap)return e[t].__unwrap();r("no original to unwrap to -- has "+t+" already been unwrapped?")}i.wrap=s,i.massWrap=function(e,t,n){if(e)Array.isArray(e)||(e=[e]);else{r("must provide one or more modules to patch"),r(Error().stack);return}if(!(t&&Array.isArray(t)))return void r("must provide one or more functions to wrap on modules");e.forEach(function(e){t.forEach(function(t){s(e,t,n)})})},i.unwrap=a,i.massUnwrap=function(e,t){if(e)Array.isArray(e)||(e=[e]);else{r("must provide one or more modules to patch"),r(Error().stack);return}if(!(t&&Array.isArray(t)))return void r("must provide one or more functions to unwrap on modules");e.forEach(function(e){t.forEach(function(t){a(e,t)})})},e.exports=i},0x1c47b4762:(e,t,r)=>{"use strict";r.d(t,{K9:()=>h});let n="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof r.g?r.g:{},i=Symbol.for("io.opentelemetry.js.api.logs");class s{emit(e){}}let a=new s;class o{getLogger(e,t,r){return new s}}let u=new o;class c{constructor(e,t,r,n){this._provider=e,this.name=t,this.version=r,this.options=n}emit(e){this._getLogger().emit(e)}_getLogger(){if(this._delegate)return this._delegate;let e=this._provider.getDelegateLogger(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):a}}class l{getLogger(e,t,r){var n;return null!=(n=this.getDelegateLogger(e,t,r))?n:new c(this,e,t,r)}getDelegate(){var e;return null!=(e=this._delegate)?e:u}setDelegate(e){this._delegate=e}getDelegateLogger(e,t,r){var n;return null==(n=this._delegate)?void 0:n.getLogger(e,t,r)}}class d{constructor(){this._proxyLoggerProvider=new l}static getInstance(){return this._instance||(this._instance=new d),this._instance}setGlobalLoggerProvider(e){return n[i]?this.getLoggerProvider():(n[i]=t=>1===t?e:u,this._proxyLoggerProvider.setDelegate(e),e)}getLoggerProvider(){var e,t;return null!=(t=null==(e=n[i])?void 0:e.call(n,1))?t:this._proxyLoggerProvider}getLogger(e,t,r){return this.getLoggerProvider().getLogger(e,t,r)}disable(){delete n[i],this._proxyLoggerProvider=new l}}let h=d.getInstance()},0x1c5bc9c37:(e,t,r)=>{"use strict";r.d(t,{t:()=>i});var n=r(0x81d6300);class i{shouldSample(){return{decision:n.i.NOT_RECORD}}toString(){return"AlwaysOffSampler"}}},0x1d0e53780:(e,t,r)=>{"use strict";r.d(t,{O:()=>m});var n=r(0xfa1bd25c),i=r(0x243825738),s=r(0xe62571ff),a=r(0x1c47b4762);let o=console.error.bind(console);function u(e,t,r){let n=!!e[t]&&Object.prototype.propertyIsEnumerable.call(e,t);Object.defineProperty(e,t,{configurable:!0,enumerable:n,writable:!0,value:r})}let c=(e,t,r)=>{if(!e||!e[t])return void o("no original function "+String(t)+" to wrap");if(!r){o("no wrapper function"),o(Error().stack);return}let n=e[t];if("function"!=typeof n||"function"!=typeof r)return void o("original object and wrapper must be functions");let i=r(n,t);return u(i,"__original",n),u(i,"__unwrap",()=>{e[t]===i&&u(e,t,n)}),u(i,"__wrapped",!0),u(e,t,i),i},l=(e,t,r)=>{if(e)Array.isArray(e)||(e=[e]);else{o("must provide one or more modules to patch"),o(Error().stack);return}if(!(t&&Array.isArray(t)))return void o("must provide one or more functions to wrap on modules");e.forEach(e=>{t.forEach(t=>{c(e,t,r)})})},d=(e,t)=>{if(!e||!e[t]){o("no function to unwrap."),o(Error().stack);return}let r=e[t];if(r.__unwrap)return void r.__unwrap();o("no original to unwrap to -- has "+String(t)+" already been unwrapped?")},h=(e,t)=>{if(e)Array.isArray(e)||(e=[e]);else{o("must provide one or more modules to patch"),o(Error().stack);return}if(!(t&&Array.isArray(t)))return void o("must provide one or more functions to unwrap on modules");e.forEach(e=>{t.forEach(t=>{d(e,t)})})};function p(e){e&&e.logger&&("function"!=typeof e.logger?o("new logger isn't a function, not replacing"):o=e.logger)}p.wrap=c,p.massWrap=l,p.unwrap=d,p.massUnwrap=h;class f{instrumentationName;instrumentationVersion;_config={};_tracer;_meter;_logger;_diag;constructor(e,t,r){this.instrumentationName=e,this.instrumentationVersion=t,this.setConfig(r),this._diag=n.s.createComponentLogger({namespace:e}),this._tracer=i.u.getTracer(e,t),this._meter=s.q.getMeter(e,t),this._logger=a.K9.getLogger(e,t),this._updateMetricInstruments()}_wrap=c;_unwrap=d;_massWrap=l;_massUnwrap=h;get meter(){return this._meter}setMeterProvider(e){this._meter=e.getMeter(this.instrumentationName,this.instrumentationVersion),this._updateMetricInstruments()}get logger(){return this._logger}setLoggerProvider(e){this._logger=e.getLogger(this.instrumentationName,this.instrumentationVersion)}getModuleDefinitions(){let e=this.init()??[];return Array.isArray(e)?e:[e]}_updateMetricInstruments(){}getConfig(){return this._config}setConfig(e){this._config={enabled:!0,...e}}setTracerProvider(e){this._tracer=e.getTracer(this.instrumentationName,this.instrumentationVersion)}get tracer(){return this._tracer}_runSpanCustomizationHook(e,t,r,n){if(e)try{e(r,n)}catch(e){this._diag.error("Error running span customization hook due to exception in handler",{triggerName:t},e)}}}class m extends f{constructor(e,t,r){super(e,t,r),this._config.enabled&&this.enable()}}},0x1e6127894:(e,t,r)=>{"use strict";r.d(t,{R:()=>o,m:()=>a});var n=r(0xfc89b4a4),i=r(0xecad5eef),s=r(0x219974a22);let a=n.forwardRef((e,t)=>n.createElement(i.A,{ref:t,...e,weights:s.A}));a.displayName="InfoIcon";let o=a},0x1e711c04c:(e,t,r)=>{"use strict";r.d(t,{H:()=>o,o:()=>a});var n=r(0xfc89b4a4),i=r(0xecad5eef),s=r(0x2497fb686);let a=n.forwardRef((e,t)=>n.createElement(i.A,{ref:t,...e,weights:s.A}));a.displayName="DotsThreeIcon";let o=a},0x1e8acf8e9:(e,t,r)=>{"use strict";let n;function i(e){return new Promise((t,r)=>{e.oncomplete=e.onsuccess=()=>t(e.result),e.onabort=e.onerror=()=>r(e.error)})}function s(){var e;let t;return n||(e="keyval",n=(r,n)=>(()=>{if(t)return t;let r=indexedDB.open("keyval-store");return r.onupgradeneeded=()=>r.result.createObjectStore(e),(t=i(r)).then(e=>{e.onclose=()=>t=void 0},()=>{}),t})().then(t=>n(t.transaction(e,r).objectStore(e)))),n}function a(e,t=s()){return t("readonly",t=>i(t.get(e)))}function o(e,t,r=s()){return r("readwrite",r=>(r.put(t,e),i(r.transaction)))}function u(e,t=s()){return t("readwrite",t=>(t.delete(e),i(t.transaction)))}r.d(t,{Jt:()=>a,hZ:()=>o,yH:()=>u})},0x1ea37ebb5:(e,t,r)=>{"use strict";r.d(t,{M1:()=>i,Zf:()=>s});let n=(0,r(0x112ace885).n)("OpenTelemetry SDK Context Key SUPPRESS_TRACING");function i(e){return e.setValue(n,!0)}function s(e){return!0===e.getValue(n)}},0x1f6e45358:(e,t,r)=>{"use strict";r.d(t,{s:()=>n});class n{generateTraceId=s(16);generateSpanId=s(8)}let i=Array(32);function s(e){return function(){for(let t=0;t<2*e;t++)i[t]=Math.floor(16*Math.random())+48,i[t]>=58&&(i[t]+=39);return String.fromCharCode.apply(null,i.slice(0,2*e))}}},0x1fc746519:(e,t,r)=>{"use strict";r.d(t,{Az:()=>h});var n=r(0x7b83eb4a);function i(e){return e>=48&&e<=57?e-48:e>=97&&e<=102?e-87:e-55}function s(e){let t=new Uint8Array(e.length/2),r=0;for(let n=0;n>BigInt(32)))}}let u="undefined"!=typeof BigInt?function(e){return a(e).toString()}:n.u5;function c(e){return e}function l(e){if(void 0!==e)return s(e)}let d={encodeHrTime:o,encodeSpanContext:s,encodeOptionalSpanContext:l};function h(e){if(void 0===e)return d;let t=e.useLongBits??!0,r=e.useHex??!1;return{encodeHrTime:t?o:u,encodeSpanContext:r?c:s,encodeOptionalSpanContext:r?c:l}}},0x1fe52c542:(e,t,r)=>{"use strict";var n;r.d(t,{s:()=>n}),function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"}(n||(n={}))},0x202043e2b:(e,t,r)=>{"use strict";r.d(t,{M:()=>i});var n=r(0x231b3092);function i(e){return(0,n.w)("localStorage","use-local-storage")(e)}(0,n.d)("localStorage")},0x208001087:(e,t,r)=>{"use strict";let n,i;r.d(t,{R:()=>en});var s,a,o,u,c,l,d,h=r(0xfa1bd25c),p=r(0x6096d538),f=r(0x16e3c6c98),m=r(0x112ace885),g=r(0x243825738),_=r(0x222bc84d2),b=r(0x103db03f6),v=r(0x10d145d28),w=r(0x3fd70490),E=r(0x1d0e53780);function y(e,t,r){let n,i;try{i=e()}catch(e){n=e}finally{if(t(n,i),n&&!r)throw n;return i}}function T(e){return"function"==typeof e&&"function"==typeof e.__original&&"function"==typeof e.__unwrap&&!0===e.__wrapped}!function(e){e.DOCUMENT_LOAD="documentLoad",e.DOCUMENT_FETCH="documentFetch",e.RESOURCE_FETCH="resourceFetch"}(s||(s={}));let S="http.url";!function(e){e.FIRST_PAINT="firstPaint",e.FIRST_CONTENTFUL_PAINT="firstContentfulPaint"}(a||(a={}));let x={"first-paint":a.FIRST_PAINT,"first-contentful-paint":a.FIRST_CONTENTFUL_PAINT};class A extends E.O{component="document-load";version="1";moduleName=this.component;constructor(e={}){super("@opentelemetry/instrumentation-document-load","0.48.0",e)}init(){}_onDocumentLoaded(){window.setTimeout(()=>{this._collectPerformance()})}_addResourcesSpans(e){let t=_.u.getEntriesByType?.("resource");t&&t.forEach(t=>{this._initResourceSpan(t,e)})}_collectPerformance(){let e=Array.from(document.getElementsByTagName("meta")).find(e=>e.getAttribute("name")===b.ZS),t=(()=>{let e={},t=_.u.getEntriesByType?.("navigation")[0];if(t)Object.values(v.D).forEach(r=>{if((0,w.CJ)(t,r)){let n=t[r];"number"==typeof n&&(e[r]=n)}});else{let t=_.u.timing;t&&Object.values(v.D).forEach(r=>{if((0,w.CJ)(t,r)){let n=t[r];"number"==typeof n&&(e[r]=n)}})}return e})(),r=e&&e.content||"";p._.with(f.$.extract(m.l,{traceparent:r}),()=>{let e=this._startSpan(s.DOCUMENT_LOAD,v.D.FETCH_START,t);e&&(p._.with(g.u.setSpan(p._.active(),e),()=>{let e=this._startSpan(s.DOCUMENT_FETCH,v.D.FETCH_START,t);e&&(e.setAttribute(S,location.href),p._.with(g.u.setSpan(p._.active(),e),()=>{(0,w.v4)(e,t,this.getConfig().ignoreNetworkEvents),this._addCustomAttributesOnSpan(e,this.getConfig().applyCustomAttributesOnSpan?.documentFetch),this._endSpan(e,v.D.RESPONSE_END,t)}))}),e.setAttribute(S,location.href),e.setAttribute("http.user_agent",navigator.userAgent),this._addResourcesSpans(e),this.getConfig().ignoreNetworkEvents||((0,w.CL)(e,v.D.FETCH_START,t),(0,w.CL)(e,v.D.UNLOAD_EVENT_START,t),(0,w.CL)(e,v.D.UNLOAD_EVENT_END,t),(0,w.CL)(e,v.D.DOM_INTERACTIVE,t),(0,w.CL)(e,v.D.DOM_CONTENT_LOADED_EVENT_START,t),(0,w.CL)(e,v.D.DOM_CONTENT_LOADED_EVENT_END,t),(0,w.CL)(e,v.D.DOM_COMPLETE,t),(0,w.CL)(e,v.D.LOAD_EVENT_START,t),(0,w.CL)(e,v.D.LOAD_EVENT_END,t)),this.getConfig().ignorePerformancePaintEvents||(e=>{let t=_.u.getEntriesByType?.("paint");t&&t.forEach(({name:t,startTime:r})=>{(0,w.CJ)(x,t)&&e.addEvent(x[t],r)})})(e),this._addCustomAttributesOnSpan(e,this.getConfig().applyCustomAttributesOnSpan?.documentLoad),this._endSpan(e,v.D.LOAD_EVENT_END,t))})}_endSpan(e,t,r){e&&((0,w.CJ)(r,t)?e.end(r[t]):e.end())}_initResourceSpan(e,t){let r=this._startSpan(s.RESOURCE_FETCH,v.D.FETCH_START,e,t);r&&(r.setAttribute(S,e.name),(0,w.v4)(r,e,this.getConfig().ignoreNetworkEvents),this._addCustomAttributesOnResourceSpan(r,e,this.getConfig().applyCustomAttributesOnSpan?.resourceFetch),this._endSpan(r,v.D.RESPONSE_END,e))}_startSpan(e,t,r,n){if((0,w.CJ)(r,t)&&"number"==typeof r[t])return this.tracer.startSpan(e,{startTime:r[t]},n?g.u.setSpan(p._.active(),n):void 0)}_waitForPageLoad(){"complete"===window.document.readyState?this._onDocumentLoaded():(this._onDocumentLoaded=this._onDocumentLoaded.bind(this),window.addEventListener("load",this._onDocumentLoaded))}_addCustomAttributesOnSpan(e,t){t&&y(()=>t(e),e=>{e&&this._diag.error("addCustomAttributesOnSpan",e)},!0)}_addCustomAttributesOnResourceSpan(e,t,r){r&&y(()=>r(e,t),e=>{e&&this._diag.error("addCustomAttributesOnResourceSpan",e)},!0)}enable(){window.removeEventListener("load",this._onDocumentLoaded),this._waitForPageLoad()}disable(){window.removeEventListener("load",this._onDocumentLoaded)}}var O=r(0xcbc4dfcf),C=r(0x1fe52c542);function L(e,t){let r=o.OLD;for(let n of t?.split(",").map(e=>e.trim()).filter(e=>""!==e)??[])if(n.toLowerCase()===e+"/dup"){r=o.DUPLICATE;break}else n.toLowerCase()===e&&(r=o.STABLE);return r}!function(e){e[e.STABLE=1]="STABLE",e[e.OLD=2]="OLD",e[e.DUPLICATE=3]="DUPLICATE"}(o||(o={}));var R=r(0x7a430a46),N=r(0x7b83eb4a);!function(e){e.COMPONENT="component",e.HTTP_STATUS_TEXT="http.status_text"}(u||(u={}));var P=r(0x22c3b5df9),k=r(0x37a98772),M=r(0x36add605);let D=h.s.createComponentLogger({namespace:"@opentelemetry/opentelemetry-instrumentation-fetch/utils"}),I=new TextEncoder;function U(e){return I.encode(e).byteLength}let H={CONNECT:!0,DELETE:!0,GET:!0,HEAD:!0,OPTIONS:!0,PATCH:!0,POST:!0,PUT:!0,TRACE:!0},B={"https:":"443","http:":"80"},F="0.203.0",j="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof r.g?r.g:{};var q=r(0xc6857cab);let V="object"==typeof q&&q.release?.name==="node";class $ extends E.O{component="fetch";version=F;moduleName=this.component;_usedResources=new WeakSet;_tasksCount=0;_semconvStability;constructor(e={}){super("@opentelemetry/instrumentation-fetch",F,e),this._semconvStability=L("http",e?.semconvStabilityOptIn)}init(){}_addChildSpan(e,t){let r=this.tracer.startSpan("CORS Preflight",{startTime:t[v.D.FETCH_START]},g.u.setSpan(p._.active(),e)),n=!(this._semconvStability&o.OLD);w.v4(r,t,this.getConfig().ignoreNetworkEvents,void 0,n),r.end(t[v.D.RESPONSE_END])}_addFinalSpanAttributes(e,t){let r=w.Dl(t.url);if(this._semconvStability&o.OLD&&(e.setAttribute(P.a3,t.status),null!=t.statusText&&e.setAttribute(u.HTTP_STATUS_TEXT,t.statusText),e.setAttribute(P.Mm,r.host),e.setAttribute(P.v8,r.protocol.replace(":","")),"undefined"!=typeof navigator&&e.setAttribute(P.ds,navigator.userAgent)),this._semconvStability&o.STABLE){e.setAttribute(k.OR,t.status),e.setAttribute(k.kS,r.hostname);let n=function(e){let t=Number(e.port||B[e.protocol]);return t&&!isNaN(t)?t:void 0}(r);n&&e.setAttribute(k.A2,n)}}_addHeaders(e,t){if(!w.wF(t,this.getConfig().propagateTraceHeaderCorsUrls)){let e={};f.$.inject(p._.active(),e),Object.keys(e).length>0&&this._diag.debug("headers inject skipped due to CORS policy");return}let r={set:(e,t,r)=>e.set(t,"string"==typeof r?r:String(r))};if(e instanceof Request)f.$.inject(p._.active(),e.headers,r);else{let t=new Headers(e.headers);f.$.inject(p._.active(),t,r),e.headers=t}}_clearResources(){0===this._tasksCount&&this.getConfig().clearTimingResources&&(performance.clearResourceTimings(),this._usedResources=new WeakSet)}_createSpan(e,t={}){if(R.K(e,this.getConfig().ignoreUrls))return void this._diag.debug("ignoring span as url matches ignored url");let r="",i={};if(this._semconvStability&o.OLD){let n=(t.method||"GET").toUpperCase();r=`HTTP ${n}`,i[u.COMPONENT]=this.moduleName,i[P.rp]=n,i[P.XV]=e}if(this._semconvStability&o.STABLE){let s=t.method,a=function(e){let t=function(){if(void 0===n){let e=(0,M.f7)("OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS");e&&e.length>0?(n={},e.forEach(e=>{n[e]=!0})):n=H}return n}(),r=e.toUpperCase();return r in t?r:"_OTHER"}(t.method||"GET");r||(r=a),i[k.n4]=a,a!==s&&(i[k.nW]=s),i[k.WQ]=e}return this.tracer.startSpan(r,{kind:O.v.CLIENT,attributes:i})}_findResourceAndAddNetworkEvents(e,t,r){let n=t.entries;if(!n.length){if(!performance.getEntriesByType)return;n=performance.getEntriesByType("resource")}let i=w.hZ(t.spanUrl,t.startTime,r,n,this._usedResources,"fetch");if(i.mainRequest){let t=i.mainRequest;this._markResourceAsUsed(t);let r=i.corsPreFlightRequest;r&&(this._addChildSpan(e,r),this._markResourceAsUsed(r));let n=!(this._semconvStability&o.OLD);w.v4(e,t,this.getConfig().ignoreNetworkEvents,void 0,n)}}_markResourceAsUsed(e){this._usedResources.add(e)}_endSpan(e,t,r){let n=N.lg(Date.now()),i=N._5();this._addFinalSpanAttributes(e,r),this._semconvStability&o.STABLE&&r.status>=400&&(e.setStatus({code:C.s.ERROR}),e.setAttribute(k.oJ,String(r.status))),setTimeout(()=>{t.observer?.disconnect(),this._findResourceAndAddNetworkEvents(e,t,i),this._tasksCount--,this._clearResources(),e.end(n)},300)}_patchConstructor(){return e=>{let t=this;return function(...r){let n=this,i=w.Dl(r[0]instanceof Request?r[0].url:String(r[0])).href,s=r[0]instanceof Request?r[0]:r[1]||{},a=t._createSpan(i,s);if(!a)return e.apply(this,r);let u=t._prepareSpanData(i);function c(e,r){t._applyAttributesAfterFetch(e,s,r),t._endSpan(e,u,{status:r.status||0,statusText:r.message,url:i})}function l(e,r){t._applyAttributesAfterFetch(e,s,r),r.status>=200&&r.status<400?t._endSpan(e,u,r):t._endSpan(e,u,{status:r.status,statusText:r.statusText,url:i})}function d(e,t,r){try{let t=r.clone().body;if(t){let n=t.getReader(),i=()=>{n.read().then(({done:t})=>{t?l(e,r):i()},t=>{c(e,t)})};i()}else l(e,r)}finally{t(r)}}function h(e,t,r){try{c(e,r)}finally{t(r)}}return t.getConfig().measureRequestSize&&(function(...e){if(e[0]instanceof URL||"string"==typeof e[0]){let t=e[1];if(!t?.body)return Promise.resolve();if(!(t.body instanceof ReadableStream))return Promise.resolve(function(e){return"undefined"!=typeof Document&&e instanceof Document?new XMLSerializer().serializeToString(document).length:"string"==typeof e?U(e):e instanceof Blob?e.size:e instanceof FormData?function(e){let t=0;for(let[r,n]of e.entries())t+=r.length,n instanceof Blob?t+=n.size:t+=n.length;return t}(e):e instanceof URLSearchParams?U(e.toString()):void 0!==e.byteLength?e.byteLength:void D.warn("unknown body type")}(t.body));{let{body:e,length:r}=function(e){let t;if(!e.pipeThrough)return D.warn("Platform has ReadableStream but not pipeThrough!"),{body:e,length:Promise.resolve(void 0)};let r=0,n=new Promise(e=>{t=e}),i=new TransformStream({start(){},async transform(e,t){let n=await e;r+=n.byteLength,t.enqueue(e)},flush(){t(r)}});return{body:e.pipeThrough(i),length:n}}(t.body);return t.body=e,r}}{let t=e[0];return t?.body?t.clone().text().then(e=>U(e)):Promise.resolve()}})(...r).then(e=>{e&&(t._semconvStability&o.OLD&&a.setAttribute(P.z4,e),t._semconvStability&o.STABLE&&a.setAttribute(P.Me,e))}).catch(e=>{t._diag.warn("getFetchBodyLength",e)}),new Promise((r,o)=>p._.with(g.u.setSpan(p._.active(),a),()=>(t._addHeaders(s,i),t._callRequestHook(a,s),t._tasksCount++,e.apply(n,s instanceof Request?[s]:[i,s]).then(d.bind(n,a,r),h.bind(n,a,o)))))}}}_applyAttributesAfterFetch(e,t,r){let n=this.getConfig().applyCustomAttributesOnSpan;n&&y(()=>n(e,t,r),e=>{e&&this._diag.error("applyCustomAttributesOnSpan",e)},!0)}_callRequestHook(e,t){let r=this.getConfig().requestHook;r&&y(()=>r(e,t),e=>{e&&this._diag.error("requestHook",e)},!0)}_prepareSpanData(e){let t=N._5(),r=[];if("function"!=typeof PerformanceObserver)return{entries:r,startTime:t,spanUrl:e};let n=new PerformanceObserver(t=>{t.getEntries().forEach(t=>{"fetch"===t.initiatorType&&t.name===e&&r.push(t)})});return n.observe({entryTypes:["resource"]}),{entries:r,observer:n,startTime:t,spanUrl:e}}enable(){if(V)return void this._diag.warn("this instrumentation is intended for web usage only, it does not instrument Node.js's fetch()");T(fetch)&&(this._unwrap(j,"fetch"),this._diag.debug("removing previous patch for constructor")),this._wrap(j,"fetch",this._patchConstructor())}disable(){V||(this._unwrap(j,"fetch"),this._usedResources=new WeakSet)}}!function(e){e.EVENT_TYPE="event_type",e.TARGET_ELEMENT="target_element",e.TARGET_XPATH="target_xpath",e.HTTP_URL="http.url"}(c||(c={}));let z="0.48.1",Z=["click"];function G(){return!1}class Q extends E.O{version=z;moduleName="user-interaction";_spansData=new WeakMap;_wrappedListeners=new WeakMap;_eventsSpanMap=new WeakMap;_eventNames;_shouldPreventSpanCreation;constructor(e={}){super("@opentelemetry/instrumentation-user-interaction",z,e),this._eventNames=new Set(e?.eventNames??Z),this._shouldPreventSpanCreation="function"==typeof e?.shouldPreventSpanCreation?e.shouldPreventSpanCreation:G}init(){}_checkForTimeout(e,t){let r=this._spansData.get(t);r&&("setTimeout"===e.source?r.hrTimeLastTimeout=(0,N._5)():"Promise.then"!==e.source&&"setTimeout"!==e.source&&(r.hrTimeLastTimeout=void 0))}_allowEventName(e){return this._eventNames.has(e)}_createSpan(e,t,r){if(!(e instanceof HTMLElement)||!e.getAttribute||e.hasAttribute("disabled")||!this._allowEventName(t))return;let n=(0,w.Qd)(e,!0);try{let i=this.tracer.startSpan(t,{attributes:{[c.EVENT_TYPE]:t,[c.TARGET_ELEMENT]:e.tagName,[c.TARGET_XPATH]:n,[c.HTTP_URL]:window.location.href}},r?g.u.setSpan(p._.active(),r):void 0);if(!0===this._shouldPreventSpanCreation(t,e,i))return;return this._spansData.set(i,{taskCount:0}),i}catch(e){this._diag.error("failed to start create new user interaction span",e)}}_decrementTask(e){let t=this._spansData.get(e);t&&(t.taskCount--,0===t.taskCount&&this._tryToEndSpan(e,t.hrTimeLastTimeout))}_getCurrentSpan(e){let t=e.get("OT_ZONE_CONTEXT");return t?g.u.getSpan(t):t}_incrementTask(e){let t=this._spansData.get(e);t&&t.taskCount++}addPatchedListener(e,t,r,n){let i=this._wrappedListeners.get(r);i||(i=new Map,this._wrappedListeners.set(r,i));let s=i.get(t);return s||(s=new Map,i.set(t,s)),!s.has(e)&&(s.set(e,n),!0)}removePatchedListener(e,t,r){let n=this._wrappedListeners.get(r);if(!n)return;let i=n.get(t);if(!i)return;let s=i.get(e);return s&&(i.delete(e),0===i.size&&(n.delete(t),0===n.size&&this._wrappedListeners.delete(r))),s}_invokeListener(e,t,r){return"function"==typeof e?e.apply(t,r):e.handleEvent(r[0])}_patchAddEventListener(){let e=this;return t=>function(r,n,i){if(!n)return t.call(this,r,n,i);let s=i&&"object"==typeof i&&i.once,a=function(...t){let i,a=t[0],o=a?.target;a&&(i=e._eventsSpanMap.get(a)),s&&e.removePatchedListener(this,r,n);let u=e._createSpan(o,r,i);return u?(a&&e._eventsSpanMap.set(a,u),p._.with(g.u.setSpan(p._.active(),u),()=>{let r=e._invokeListener(n,this,t);return u.end(),r})):e._invokeListener(n,this,t)};if(e.addPatchedListener(this,r,n,a))return t.call(this,r,a,i)}}_patchRemoveEventListener(){let e=this;return t=>function(r,n,i){let s=e.removePatchedListener(this,r,n);return s?t.call(this,r,s,i):t.call(this,r,n,i)}}_getPatchableEventTargets(){return window.EventTarget?[EventTarget.prototype]:[Node.prototype,Window.prototype]}_patchHistoryApi(){this._unpatchHistoryApi(),this._wrap(history,"replaceState",this._patchHistoryMethod()),this._wrap(history,"pushState",this._patchHistoryMethod()),this._wrap(history,"back",this._patchHistoryMethod()),this._wrap(history,"forward",this._patchHistoryMethod()),this._wrap(history,"go",this._patchHistoryMethod())}_patchHistoryMethod(){let e=this;return t=>function(...r){let n=`${location.pathname}${location.hash}${location.search}`,i=t.apply(this,r),s=`${location.pathname}${location.hash}${location.search}`;return n!==s&&e._updateInteractionName(s),i}}_unpatchHistoryApi(){T(history.replaceState)&&this._unwrap(history,"replaceState"),T(history.pushState)&&this._unwrap(history,"pushState"),T(history.back)&&this._unwrap(history,"back"),T(history.forward)&&this._unwrap(history,"forward"),T(history.go)&&this._unwrap(history,"go")}_updateInteractionName(e){let t=g.u.getSpan(p._.active());t&&"function"==typeof t.updateName&&t.updateName(`Navigation: ${e}`)}_patchZoneCancelTask(){let e=this;return t=>function(r){let n=Zone.current,i=e._getCurrentSpan(n);return i&&e._shouldCountTask(r,n)&&e._decrementTask(i),t.call(this,r)}}_patchZoneScheduleTask(){let e=this;return t=>function(r){let n=Zone.current,i=e._getCurrentSpan(n);return i&&e._shouldCountTask(r,n)&&(e._incrementTask(i),e._checkForTimeout(r,i)),t.call(this,r)}}_patchZoneRunTask(){let e=this;return t=>function(r,n,i){let s,a=Array.isArray(i)&&i[0]instanceof Event?i[0]:void 0,o=a?.target;if(o){if(s=e._createSpan(o,r.eventName))return e._incrementTask(s),this.run(()=>{try{return p._.with(g.u.setSpan(p._.active(),s),()=>{let e=Zone.current;return r._zone=e,t.call(e,r,n,i)})}finally{e._decrementTask(s)}})}else s=e._getCurrentSpan(this);try{return t.call(this,r,n,i)}finally{s&&e._shouldCountTask(r,this)&&e._decrementTask(s)}}}_shouldCountTask(e,t){if(e._zone&&(t=e._zone),!t||!e.data||e.data.isPeriodic)return!1;let r=this._getCurrentSpan(t);return!!r&&!!this._spansData.get(r)&&("macroTask"===e.type||"microTask"===e.type)}_tryToEndSpan(e,t){e&&this._spansData.get(e)&&(e.end(t),this._spansData.delete(e))}enable(){let e=this._getZoneWithPrototype();this._diag.debug("applying patch to",this.moduleName,this.version,"zone:",!!e),e?(T(e.prototype.runTask)&&(this._unwrap(e.prototype,"runTask"),this._diag.debug("removing previous patch from method runTask")),T(e.prototype.scheduleTask)&&(this._unwrap(e.prototype,"scheduleTask"),this._diag.debug("removing previous patch from method scheduleTask")),T(e.prototype.cancelTask)&&(this._unwrap(e.prototype,"cancelTask"),this._diag.debug("removing previous patch from method cancelTask")),this._zonePatched=!0,this._wrap(e.prototype,"runTask",this._patchZoneRunTask()),this._wrap(e.prototype,"scheduleTask",this._patchZoneScheduleTask()),this._wrap(e.prototype,"cancelTask",this._patchZoneCancelTask())):(this._zonePatched=!1,this._getPatchableEventTargets().forEach(e=>{T(e.addEventListener)&&(this._unwrap(e,"addEventListener"),this._diag.debug("removing previous patch from method addEventListener")),T(e.removeEventListener)&&(this._unwrap(e,"removeEventListener"),this._diag.debug("removing previous patch from method removeEventListener")),this._wrap(e,"addEventListener",this._patchAddEventListener()),this._wrap(e,"removeEventListener",this._patchRemoveEventListener())})),this._patchHistoryApi()}disable(){let e=this._getZoneWithPrototype();this._diag.debug("removing patch from",this.moduleName,this.version,"zone:",!!e),e&&this._zonePatched?(T(e.prototype.runTask)&&this._unwrap(e.prototype,"runTask"),T(e.prototype.scheduleTask)&&this._unwrap(e.prototype,"scheduleTask"),T(e.prototype.cancelTask)&&this._unwrap(e.prototype,"cancelTask")):this._getPatchableEventTargets().forEach(e=>{T(e.addEventListener)&&this._unwrap(e,"addEventListener"),T(e.removeEventListener)&&this._unwrap(e,"removeEventListener")}),this._unpatchHistoryApi()}_getZoneWithPrototype(){return window.Zone}}!function(e){e.METHOD_OPEN="open",e.METHOD_SEND="send",e.EVENT_ABORT="abort",e.EVENT_ERROR="error",e.EVENT_LOAD="loaded",e.EVENT_TIMEOUT="timeout"}(l||(l={}));let X=h.s.createComponentLogger({namespace:"@opentelemetry/opentelemetry-instrumentation-xml-http-request/utils"}),W=new TextEncoder;function J(e){return W.encode(e).byteLength}let K={CONNECT:!0,DELETE:!0,GET:!0,HEAD:!0,OPTIONS:!0,PATCH:!0,POST:!0,PUT:!0,TRACE:!0},Y={"https:":"443","http:":"80"},ee="0.203.0";(d||(d={})).HTTP_STATUS_TEXT="http.status_text";class et extends E.O{component="xml-http-request";version=ee;moduleName=this.component;_tasksCount=0;_xhrMem=new WeakMap;_usedResources=new WeakSet;_semconvStability;constructor(e={}){super("@opentelemetry/instrumentation-xml-http-request",ee,e),this._semconvStability=L("http",e?.semconvStabilityOptIn)}init(){}_addHeaders(e,t){let r=(0,w.Dl)(t).href;if(!(0,w.wF)(r,this.getConfig().propagateTraceHeaderCorsUrls)){let e={};f.$.inject(p._.active(),e),Object.keys(e).length>0&&this._diag.debug("headers inject skipped due to CORS policy");return}let n={};f.$.inject(p._.active(),n),Object.keys(n).forEach(t=>{e.setRequestHeader(t,String(n[t]))})}_addChildSpan(e,t){p._.with(g.u.setSpan(p._.active(),e),()=>{let e=this.tracer.startSpan("CORS Preflight",{startTime:t[v.D.FETCH_START]}),r=!(this._semconvStability&o.OLD);(0,w.v4)(e,t,this.getConfig().ignoreNetworkEvents,void 0,r),e.end(t[v.D.RESPONSE_END])})}_addFinalSpanAttributes(e,t,r){if(this._semconvStability&o.OLD){if(void 0!==t.status&&e.setAttribute("http.status_code",t.status),void 0!==t.statusText&&e.setAttribute(d.HTTP_STATUS_TEXT,t.statusText),"string"==typeof r){let t=(0,w.Dl)(r);e.setAttribute("http.host",t.host),e.setAttribute("http.scheme",t.protocol.replace(":",""))}e.setAttribute("http.user_agent",navigator.userAgent)}this._semconvStability&o.STABLE&&t.status&&e.setAttribute(k.OR,t.status)}_applyAttributesAfterXHR(e,t){let r=this.getConfig().applyCustomAttributesOnSpan;"function"==typeof r&&y(()=>r(e,t),e=>{e&&this._diag.error("applyCustomAttributesOnSpan",e)},!0)}_addResourceObserver(e,t){let r=this._xhrMem.get(e);r&&"function"==typeof PerformanceObserver&&"function"==typeof PerformanceResourceTiming&&(r.createdResources={observer:new PerformanceObserver(e=>{let n=e.getEntries(),i=(0,w.Dl)(t);n.forEach(e=>{"xmlhttprequest"===e.initiatorType&&e.name===i.href&&r.createdResources&&r.createdResources.entries.push(e)})}),entries:[]},r.createdResources.observer.observe({entryTypes:["resource"]}))}_clearResources(){0===this._tasksCount&&this.getConfig().clearTimingResources&&(_.u.clearResourceTimings(),this._xhrMem=new WeakMap,this._usedResources=new WeakSet)}_findResourceAndAddNetworkEvents(e,t,r,n,i){if(!r||!n||!i||!e.createdResources)return;let s=e.createdResources.entries;s&&s.length||(s=_.u.getEntriesByType("resource"));let a=(0,w.hZ)((0,w.Dl)(r).href,n,i,s,this._usedResources);if(a.mainRequest){let e=a.mainRequest;this._markResourceAsUsed(e);let r=a.corsPreFlightRequest;r&&(this._addChildSpan(t,r),this._markResourceAsUsed(r));let n=!(this._semconvStability&o.OLD);(0,w.v4)(t,e,this.getConfig().ignoreNetworkEvents,void 0,n)}}_cleanPreviousSpanInformation(e){let t=this._xhrMem.get(e);if(t){let r=t.callbackToRemoveEvents;r&&r(),this._xhrMem.delete(e)}}_createSpan(e,t,r){if((0,R.K)(t,this.getConfig().ignoreUrls))return void this._diag.debug("ignoring span as url matches ignored url");let n="",s=(0,w.Dl)(t),a={};if(this._semconvStability&o.OLD&&(n=r.toUpperCase(),a["http.method"]=r,a["http.url"]=s.toString()),this._semconvStability&o.STABLE){let e=function(e){let t=function(){if(void 0===i){let e=(0,M.f7)("OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS");e&&e.length>0?(i={},e.forEach(e=>{i[e]=!0})):i=K}return i}(),r=e.toUpperCase();return r in t?r:"_OTHER"}(r);n||(n=e),a[k.n4]=e,e!==r&&(a[k.nW]=r),a[k.WQ]=s.toString(),a[k.kS]=s.hostname;let t=function(e){let t=Number(e.port||Y[e.protocol]);return t&&!isNaN(t)?t:void 0}(s);t&&(a[k.A2]=t)}let u=this.tracer.startSpan(n,{kind:O.v.CLIENT,attributes:a});return u.addEvent(l.METHOD_OPEN),this._cleanPreviousSpanInformation(e),this._xhrMem.set(e,{span:u,spanUrl:t}),u}_markResourceAsUsed(e){this._usedResources.add(e)}_patchOpen(){return e=>{let t=this;return function(...r){let n=r[0],i=r[1];return t._createSpan(this,i,n),e.apply(this,r)}}}_patchSend(){let e=this;function t(t,r,n,i){let s=e._xhrMem.get(r);if(!s)return;if(s.status=r.status,s.statusText=r.statusText,e._xhrMem.delete(r),s.span){let t=s.span;e._applyAttributesAfterXHR(t,r),e._semconvStability&o.STABLE&&(n?i&&(t.setStatus({code:C.s.ERROR,message:i}),t.setAttribute(k.oJ,i)):s.status&&s.status>=400&&(t.setStatus({code:C.s.ERROR}),t.setAttribute(k.oJ,String(s.status))))}let a=(0,N._5)(),u=Date.now();setTimeout(()=>{let r=s.callbackToRemoveEvents;"function"==typeof r&&r();let{span:n,spanUrl:i,sendStartTime:o}=s;n&&(e._findResourceAndAddNetworkEvents(s,n,i,o,a),n.addEvent(t,u),e._addFinalSpanAttributes(n,s,i),n.end(u),e._tasksCount--),e._clearResources()},300)}function r(){t(l.EVENT_ERROR,this,!0,"error")}function n(){t(l.EVENT_ABORT,this,!1)}function i(){t(l.EVENT_TIMEOUT,this,!0,"timeout")}function s(){this.status<299?t(l.EVENT_LOAD,this,!1):t(l.EVENT_ERROR,this,!1)}return t=>function(...a){let u=e._xhrMem.get(this);if(!u)return t.apply(this,a);let c=u.span,d=u.spanUrl;if(c&&d){if(e.getConfig().measureRequestSize&&a?.[0]){var h,f;let t=(f=h=a[0],"undefined"!=typeof Document&&f instanceof Document)?new XMLSerializer().serializeToString(document).length:"string"==typeof h?J(h):h instanceof Blob?h.size:h instanceof FormData?function(e){let t=0;for(let[r,n]of e.entries())t+=r.length,n instanceof Blob?t+=n.size:t+=n.length;return t}(h):h instanceof URLSearchParams?J(h.toString()):void 0!==h.byteLength?h.byteLength:void X.warn("unknown body type");void 0!==t&&(e._semconvStability&o.OLD&&c.setAttribute("http.request_content_length_uncompressed",t),e._semconvStability&o.STABLE&&c.setAttribute("http.request.body.size",t))}p._.with(g.u.setSpan(p._.active(),c),()=>{e._tasksCount++,u.sendStartTime=(0,N._5)(),c.addEvent(l.METHOD_SEND),this.addEventListener("abort",n),this.addEventListener("error",r),this.addEventListener("load",s),this.addEventListener("timeout",i),u.callbackToRemoveEvents=()=>{this.removeEventListener("abort",n),this.removeEventListener("error",r),this.removeEventListener("load",s),this.removeEventListener("timeout",i);let t=e._xhrMem.get(this);t&&(t.callbackToRemoveEvents=void 0),u.createdResources&&u.createdResources.observer.disconnect()},e._addHeaders(this,d),e._addResourceObserver(this,d)})}return t.apply(this,a)}}enable(){this._diag.debug("applying patch to",this.moduleName,this.version),T(XMLHttpRequest.prototype.open)&&(this._unwrap(XMLHttpRequest.prototype,"open"),this._diag.debug("removing previous patch from method open")),T(XMLHttpRequest.prototype.send)&&(this._unwrap(XMLHttpRequest.prototype,"send"),this._diag.debug("removing previous patch from method send")),this._wrap(XMLHttpRequest.prototype,"open",this._patchOpen()),this._wrap(XMLHttpRequest.prototype,"send",this._patchSend())}disable(){this._diag.debug("removing patch from",this.moduleName,this.version),this._unwrap(XMLHttpRequest.prototype,"open"),this._unwrap(XMLHttpRequest.prototype,"send"),this._tasksCount=0,this._xhrMem=new WeakMap,this._usedResources=new WeakSet}}let er={"@opentelemetry/instrumentation-document-load":A,"@opentelemetry/instrumentation-fetch":$,"@opentelemetry/instrumentation-user-interaction":Q,"@opentelemetry/instrumentation-xml-http-request":et};function en(e={}){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(er,t)){h.s.error(`Provided instrumentation name "${t}" not found`);continue}let t=[];for(let r of Object.keys(er)){let n=er[r],i=e[r]??{};if(!1===i.enabled){h.s.debug(`Disabling instrumentation for ${r}`);continue}try{h.s.debug(`Loading instrumentation for ${r}`),t.push(new n(i))}catch(e){h.s.error(e)}}return t}},0x219974a22:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(0xfc89b4a4);let i=new Map([["bold",n.createElement(n.Fragment,null,n.createElement("path",{d:"M108,84a16,16,0,1,1,16,16A16,16,0,0,1,108,84Zm128,44A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-24,0a84,84,0,1,0-84,84A84.09,84.09,0,0,0,212,128Zm-72,36.68V132a20,20,0,0,0-20-20,12,12,0,0,0-4,23.32V168a20,20,0,0,0,20,20,12,12,0,0,0,4-23.32Z"}))],["duotone",n.createElement(n.Fragment,null,n.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),n.createElement("path",{d:"M144,176a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176Zm88-48A104,104,0,1,1,128,24,104.11,104.11,0,0,1,232,128Zm-16,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128ZM124,96a12,12,0,1,0-12-12A12,12,0,0,0,124,96Z"}))],["fill",n.createElement(n.Fragment,null,n.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm-4,48a12,12,0,1,1-12,12A12,12,0,0,1,124,72Zm12,112a16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40a8,8,0,0,1,0,16Z"}))],["light",n.createElement(n.Fragment,null,n.createElement("path",{d:"M142,176a6,6,0,0,1-6,6,14,14,0,0,1-14-14V128a2,2,0,0,0-2-2,6,6,0,0,1,0-12,14,14,0,0,1,14,14v40a2,2,0,0,0,2,2A6,6,0,0,1,142,176ZM124,94a10,10,0,1,0-10-10A10,10,0,0,0,124,94Zm106,34A102,102,0,1,1,128,26,102.12,102.12,0,0,1,230,128Zm-12,0a90,90,0,1,0-90,90A90.1,90.1,0,0,0,218,128Z"}))],["regular",n.createElement(n.Fragment,null,n.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm16-40a8,8,0,0,1-8,8,16,16,0,0,1-16-16V128a8,8,0,0,1,0-16,16,16,0,0,1,16,16v40A8,8,0,0,1,144,176ZM112,84a12,12,0,1,1,12,12A12,12,0,0,1,112,84Z"}))],["thin",n.createElement(n.Fragment,null,n.createElement("path",{d:"M140,176a4,4,0,0,1-4,4,12,12,0,0,1-12-12V128a4,4,0,0,0-4-4,4,4,0,0,1,0-8,12,12,0,0,1,12,12v40a4,4,0,0,0,4,4A4,4,0,0,1,140,176ZM124,92a8,8,0,1,0-8-8A8,8,0,0,0,124,92Zm104,36A100,100,0,1,1,128,28,100.11,100.11,0,0,1,228,128Zm-8,0a92,92,0,1,0-92,92A92.1,92.1,0,0,0,220,128Z"}))]])},0x219c4f970:(e,t,r)=>{"use strict";r.d(t,{S:()=>n});class n{_delegate;constructor(e){this._delegate=e}export(e,t){this._delegate.export(e,t)}forceFlush(){return this._delegate.forceFlush()}shutdown(){return this._delegate.shutdown()}}},0x222bc84d2:(e,t,r)=>{"use strict";r.d(t,{u:()=>n});let n=performance},0x22356fa20:(e,t,r)=>{"use strict";r.d(t,{E:()=>l});var n=r(0x1eb4fc9be),i=r(0x16d6c2e8f),s=r(0x3addc8e8),a=r(0x24c5a0956),o=r(0x1896cbfcd),u=r(0xfce32b33),c=r(0x8398c321),l=class{#n;#i;#s;#a;#o;#u;#c;#l;constructor(e={}){this.#n=e.queryCache||new i.$,this.#i=e.mutationCache||new s.q,this.#s=e.defaultOptions||{},this.#a=new Map,this.#o=new Map,this.#u=0}mount(){this.#u++,1===this.#u&&(this.#c=a.m.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#n.onFocus())}),this.#l=o.t.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#n.onOnline())}))}unmount(){this.#u--,0===this.#u&&(this.#c?.(),this.#c=void 0,this.#l?.(),this.#l=void 0)}isFetching(e){return this.#n.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#i.findAll({...e,status:"pending"}).length}getQueryData(e){let t=this.defaultQueryOptions({queryKey:e});return this.#n.get(t.queryHash)?.state.data}ensureQueryData(e){let t=this.getQueryData(e.queryKey);if(void 0===t)return this.fetchQuery(e);{let r=this.defaultQueryOptions(e),i=this.#n.build(this,r);return e.revalidateIfStale&&i.isStaleByTime((0,n.d2)(r.staleTime,i))&&this.prefetchQuery(r),Promise.resolve(t)}}getQueriesData(e){return this.#n.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,r){let i=this.defaultQueryOptions({queryKey:e}),s=this.#n.get(i.queryHash),a=s?.state.data,o=(0,n.Zw)(t,a);if(void 0!==o)return this.#n.build(this,i).setData(o,{...r,manual:!0})}setQueriesData(e,t,r){return u.j.batch(()=>this.#n.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,r)]))}getQueryState(e){let t=this.defaultQueryOptions({queryKey:e});return this.#n.get(t.queryHash)?.state}removeQueries(e){let t=this.#n;u.j.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){let r=this.#n,n={type:"active",...e};return u.j.batch(()=>(r.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries(n,t)))}cancelQueries(e={},t={}){let r={revert:!0,...t};return Promise.all(u.j.batch(()=>this.#n.findAll(e).map(e=>e.cancel(r)))).then(n.lQ).catch(n.lQ)}invalidateQueries(e={},t={}){return u.j.batch(()=>{if(this.#n.findAll(e).forEach(e=>{e.invalidate()}),"none"===e.refetchType)return Promise.resolve();let r={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(r,t)})}refetchQueries(e={},t){let r={...t,cancelRefetch:t?.cancelRefetch??!0};return Promise.all(u.j.batch(()=>this.#n.findAll(e).filter(e=>!e.isDisabled()).map(e=>{let t=e.fetch(void 0,r);return r.throwOnError||(t=t.catch(n.lQ)),"paused"===e.state.fetchStatus?Promise.resolve():t}))).then(n.lQ)}fetchQuery(e){let t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);let r=this.#n.build(this,t);return r.isStaleByTime((0,n.d2)(t.staleTime,r))?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(n.lQ).catch(n.lQ)}fetchInfiniteQuery(e){return e.behavior=(0,c.PL)(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(n.lQ).catch(n.lQ)}ensureInfiniteQueryData(e){return e.behavior=(0,c.PL)(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return o.t.isOnline()?this.#i.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#n}getMutationCache(){return this.#i}getDefaultOptions(){return this.#s}setDefaultOptions(e){this.#s=e}setQueryDefaults(e,t){this.#a.set((0,n.EN)(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){let t=[...this.#a.values()],r={};return t.forEach(t=>{(0,n.Cp)(e,t.queryKey)&&(r={...r,...t.defaultOptions})}),r}setMutationDefaults(e,t){this.#o.set((0,n.EN)(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){let t=[...this.#o.values()],r={};return t.forEach(t=>{(0,n.Cp)(e,t.mutationKey)&&(r={...r,...t.defaultOptions})}),r}defaultQueryOptions(e){if(e._defaulted)return e;let t={...this.#s.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=(0,n.F$)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),!0!==t.enabled&&t.queryFn===n.hT&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#s.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#n.clear(),this.#i.clear()}}},0x2236b2f28:e=>{e.exports=function(e,t){return e>t}},0x22412967a:(e,t,r)=>{"use strict";r.d(t,{L:()=>i,m:()=>s});var n=r(0xfa1bd25c);function i(e){let t={};if("object"!=typeof e||null==e)return t;for(let[i,a]of Object.entries(e)){var r;if(!("string"==typeof(r=i)&&r.length>0)){n.s.warn(`Invalid attribute key: ${i}`);continue}if(!s(a)){n.s.warn(`Invalid attribute value set for key: ${i}`);continue}Array.isArray(a)?t[i]=a.slice():t[i]=a}return t}function s(e){return null==e||(Array.isArray(e)?function(e){let t;for(let r of e)if(null!=r){if(!t){if(a(r)){t=typeof r;continue}return!1}if(typeof r!==t)return!1}return!0}(e):a(e))}function a(e){switch(typeof e){case"number":case"boolean":case"string":return!0}return!1}},0x22927aaa6:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(0xfc89b4a4);let i=new Map([["bold",n.createElement(n.Fragment,null,n.createElement("path",{d:"M240.26,186.1,152.81,34.23h0a28.74,28.74,0,0,0-49.62,0L15.74,186.1a27.45,27.45,0,0,0,0,27.71A28.31,28.31,0,0,0,40.55,228h174.9a28.31,28.31,0,0,0,24.79-14.19A27.45,27.45,0,0,0,240.26,186.1Zm-20.8,15.7a4.46,4.46,0,0,1-4,2.2H40.55a4.46,4.46,0,0,1-4-2.2,3.56,3.56,0,0,1,0-3.73L124,46.2a4.77,4.77,0,0,1,8,0l87.44,151.87A3.56,3.56,0,0,1,219.46,201.8ZM116,136V104a12,12,0,0,1,24,0v32a12,12,0,0,1-24,0Zm28,40a16,16,0,1,1-16-16A16,16,0,0,1,144,176Z"}))],["duotone",n.createElement(n.Fragment,null,n.createElement("path",{d:"M215.46,216H40.54C27.92,216,20,202.79,26.13,192.09L113.59,40.22c6.3-11,22.52-11,28.82,0l87.46,151.87C236,202.79,228.08,216,215.46,216Z",opacity:"0.2"}),n.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",n.createElement(n.Fragment,null,n.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM120,104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm8,88a12,12,0,1,1,12-12A12,12,0,0,1,128,192Z"}))],["light",n.createElement(n.Fragment,null,n.createElement("path",{d:"M235.07,189.09,147.61,37.22h0a22.75,22.75,0,0,0-39.22,0L20.93,189.09a21.53,21.53,0,0,0,0,21.72A22.35,22.35,0,0,0,40.55,222h174.9a22.35,22.35,0,0,0,19.6-11.19A21.53,21.53,0,0,0,235.07,189.09ZM224.66,204.8a10.46,10.46,0,0,1-9.21,5.2H40.55a10.46,10.46,0,0,1-9.21-5.2,9.51,9.51,0,0,1,0-9.72L118.79,43.21a10.75,10.75,0,0,1,18.42,0l87.46,151.87A9.51,9.51,0,0,1,224.66,204.8ZM122,144V104a6,6,0,0,1,12,0v40a6,6,0,0,1-12,0Zm16,36a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",n.createElement(n.Fragment,null,n.createElement("path",{d:"M236.8,188.09,149.35,36.22h0a24.76,24.76,0,0,0-42.7,0L19.2,188.09a23.51,23.51,0,0,0,0,23.72A24.35,24.35,0,0,0,40.55,224h174.9a24.35,24.35,0,0,0,21.33-12.19A23.51,23.51,0,0,0,236.8,188.09ZM222.93,203.8a8.5,8.5,0,0,1-7.48,4.2H40.55a8.5,8.5,0,0,1-7.48-4.2,7.59,7.59,0,0,1,0-7.72L120.52,44.21a8.75,8.75,0,0,1,15,0l87.45,151.87A7.59,7.59,0,0,1,222.93,203.8ZM120,144V104a8,8,0,0,1,16,0v40a8,8,0,0,1-16,0Zm20,36a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",n.createElement(n.Fragment,null,n.createElement("path",{d:"M233.34,190.09,145.88,38.22h0a20.75,20.75,0,0,0-35.76,0L22.66,190.09a19.52,19.52,0,0,0,0,19.71A20.36,20.36,0,0,0,40.54,220H215.46a20.36,20.36,0,0,0,17.86-10.2A19.52,19.52,0,0,0,233.34,190.09ZM226.4,205.8a12.47,12.47,0,0,1-10.94,6.2H40.54a12.47,12.47,0,0,1-10.94-6.2,11.45,11.45,0,0,1,0-11.72L117.05,42.21a12.76,12.76,0,0,1,21.9,0L226.4,194.08A11.45,11.45,0,0,1,226.4,205.8ZM124,144V104a4,4,0,0,1,8,0v40a4,4,0,0,1-8,0Zm12,36a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]])},0x22b8d2099:(e,t,r)=>{"use strict";r.d(t,{gk:()=>d,sq:()=>l,QZ:()=>u,Lm:()=>c});var n=r(0xfa1bd25c),i=r(0x37a98772);let s={[i.aO]:"opentelemetry","process.runtime.name":"browser",[i.E$]:i.qV,[i.aJ]:"2.0.1"},a=e=>null!==e&&"object"==typeof e&&"function"==typeof e.then;class o{_rawAttributes;_asyncAttributesPending=!1;_memoizedAttributes;static FromAttributeList(e){let t=new o({});return t._rawAttributes=h(e),t._asyncAttributesPending=e.filter(([e,t])=>a(t)).length>0,t}constructor(e){let t=e.attributes??{};this._rawAttributes=Object.entries(t).map(([e,t])=>(a(t)&&(this._asyncAttributesPending=!0),[e,t])),this._rawAttributes=h(this._rawAttributes)}get asyncAttributesPending(){return this._asyncAttributesPending}async waitForAsyncAttributes(){if(this.asyncAttributesPending){for(let e=0;ea(t)?[e,t.catch(t=>{n.s.debug("promise rejection for resource attribute: %s - %s",e,t)})]:[e,t])}},0x22c3b5df9:(e,t)=>{"use strict";t.ds=t.XV=t.a3=t.v8=t.z4=t.Me=t.rp=t.Mm=void 0,t.Mm="http.host",t.rp="http.method",t.Me="http.request.body.size",t.z4="http.request_content_length_uncompressed",t.v8="http.scheme",t.a3="http.status_code",t.XV="http.url",t.ds="http.user_agent"},0x22ee7349c:(e,t,r)=>{"use strict";r.d(t,{r:()=>o});var n=r(0xfc89b4a4),i=r(0xecad5eef),s=r(0xe00f6e9a);let a=n.forwardRef((e,t)=>n.createElement(i.A,{ref:t,...e,weights:s.A}));a.displayName="CheckCircleIcon";let o=a},0x2333cef0c:(e,t,r)=>{var n,i,s;!function(r,a){if(r){var o={},u=r.TraceKit,c=[].slice,l=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;o.noConflict=function(){return r.TraceKit=u,o},o.wrap=function(e){return function(){try{return e.apply(this,arguments)}catch(e){throw o.report(e),e}}},o.report=function(){var e,t,n,i,s=[],a=null,u=null;function c(e,t,r){var n=null;if(!t||o.collectWindowErrors){for(var i in s)if(d(s,i))try{s[i](e,t,r)}catch(e){n=e}if(n)throw n}}function h(t,r,n,i,s){if(u)o.computeStackTrace.augmentStackTraceWithInitialElement(u,r,n,t),f();else if(s)c(o.computeStackTrace(s),!0,s);else{var a,d={url:r,line:n,column:i},h=t;if("[object String]"===({}).toString.call(t)){var p=t.match(l);p&&(a=p[1],h=p[2])}d.func=o.computeStackTrace.guessFunctionName(d.url,d.line),d.context=o.computeStackTrace.gatherContext(d.url,d.line),c({name:a,message:h,mode:"onerror",stack:[d]},!0,null)}return!!e&&e.apply(this,arguments)}function p(e){c(o.computeStackTrace(e.reason),!0,e.reason)}function f(){var e=u,t=a;u=null,a=null,c(e,!1,t)}function m(e){if(u)if(a===e)return;else f();var t=o.computeStackTrace(e);throw u=t,a=e,setTimeout(function(){a===e&&f()},2e3*!!t.incomplete),e}return m.subscribe=function(a){!0!==t&&(e=r.onerror,r.onerror=h,t=!0),!0!==i&&(n=r.onunhandledrejection,r.onunhandledrejection=p,i=!0),s.push(a)},m.unsubscribe=function(a){for(var o=s.length-1;o>=0;--o)s[o]===a&&s.splice(o,1);0===s.length&&(t&&(r.onerror=e,t=!1),i&&(r.onunhandledrejection=n,i=!1))},m}(),o.computeStackTrace=function(){var e={};function t(t){if("string"!=typeof t)return[];if(!d(e,t)){var n="",i="";try{i=r.document.domain}catch(e){}var s=/(.*)\:\/\/([^:\/]+)([:\d]*)\/{0,1}([\s\S]*)/.exec(t);s&&s[2]===i&&(n=function(e){if(!o.remoteFetching)return"";try{var t=function(){try{return new r.XMLHttpRequest}catch(e){return new r.ActiveXObject("Microsoft.XMLHTTP")}}();return t.open("GET",e,!1),t.send(""),t.responseText}catch(e){return""}}(t)),e[t]=n?n.split("\n"):[]}return e[t]}function n(e,r){var n,i=/function ([^(]*)\(([^)]*)\)/,s=/['"]?([0-9A-Za-z$_]+)['"]?\s*[:=]\s*(function|eval|new Function)/,a="",o=t(e);if(!o.length)return"?";for(var u=0;u<10;++u)if(!h(a=o[r-u]+a)){if(n=s.exec(a))return n[1];else if(n=i.exec(a))return n[1]}return"?"}function i(e,r){var n=t(e);if(!n.length)return null;var i=[],s=Math.floor(o.linesOfContext/2),a=s+o.linesOfContext%2,u=Math.max(0,r-s-1),c=Math.min(n.length,r+a-1);r-=1;for(var l=u;l0?i:null}function s(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#]/g,"\\$&")}function a(e){return s(e).replace("<","(?:<|<)").replace(">","(?:>|>)").replace("&","(?:&|&)").replace('"','(?:"|")').replace(/\s+/g,"\\s+")}function u(e,r){for(var n,i,s=0,a=r.length;sn&&(i=o.exec(a[n])))?i.index:null}function l(e){if(!e.stack)return null;for(var t,r,s,a,o=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,u=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,l=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,d=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,p=/\((\S*)(?::(\d+))(?::(\d+))\)/,f=e.stack.split("\n"),m=[],g=/^(.*) is undefined$/.exec(e.message),_=0,b=f.length;_ eval")>-1&&(r=d.exec(s[3]))?(s[3]=r[1],s[4]=r[2],s[5]=null):0!==_||s[5]||h(e.columnNumber)||(m[0].column=e.columnNumber+1),a={url:s[3],func:s[1]||"?",args:s[2]?s[2].split(","):[],line:s[4]?+s[4]:null,column:s[5]?+s[5]:null}}!a.func&&a.line&&(a.func=n(a.url,a.line)),a.context=a.line?i(a.url,a.line):null,m.push(a)}return m.length?(m[0]&&m[0].line&&!m[0].column&&g&&(m[0].column=c(g[1],m[0].url,m[0].line)),{mode:"stack",name:e.name,message:e.message,stack:m}):null}function p(e,t,r,s){var a={url:t,line:r};if(a.url&&a.line){e.incomplete=!1,a.func||(a.func=n(a.url,a.line)),a.context||(a.context=i(a.url,a.line));var o=/ '([^']+)' /.exec(s);if(o&&(a.column=c(o[1],a.url,a.line)),e.stack.length>0&&e.stack[0].url===a.url){if(e.stack[0].line===a.line)return!1;else if(!e.stack[0].line&&e.stack[0].func===a.func)return e.stack[0].line=a.line,e.stack[0].context=a.context,!1}return e.stack.unshift(a),e.partial=!0,!0}return e.incomplete=!0,!1}function f(e,m){var g=null;m=null==m?0:+m;try{if(g=function(e){var t=e.stacktrace;if(t){for(var r,s=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,a=/ line (\d+), column (\d+)\s*(?:in (?:]+)>|([^\)]+))\((.*)\))? in (.*):\s*$/i,o=t.split("\n"),u=[],c=0;c=0&&(b.line=v+E.substring(0,y).split("\n").length)}}}else if(o=h.exec(s[_])){var T=r.location.href.replace(/#.*$/,""),S=u(new RegExp(a(s[_+1])),[T]);b={url:T,func:"",args:[],line:S?S.line:o[1],column:null}}if(b){b.func||(b.func=n(b.url,b.line));var x=i(b.url,b.line),A=x?x[Math.floor(x.length/2)]:null;x&&A.replace(/^\s*/,"")===s[_+1].replace(/^\s*/,"")?b.context=x:b.context=[s[_+1]],p.push(b)}}return p.length?{mode:"multiline",name:e.name,message:s[0],stack:p}:null}(e))return g}catch(e){}try{if(g=function e(t,i){for(var l,d,m,g=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,_=[],b={},v=!1,w=e.caller;w&&!v;w=w.caller)if(w!==f&&w!==o.report){if(d={url:null,func:"?",args:[],line:null,column:null},w.name?d.func=w.name:(l=g.exec(w.toString()))&&(d.func=l[1]),void 0===d.func)try{d.func=l.input.substring(0,l.input.indexOf("{"))}catch(e){}if(m=function(e){if(!h(r&&r.document)){for(var t,n,i,o,c=[r.location.href],l=r.document.getElementsByTagName("script"),d=""+e,p=0;p{"use strict";function n(e){}r.d(t,{K:()=>n})},0x2340451cc:(e,t,r)=>{"use strict";r.d(t,{I:()=>i});class n{_promise;_resolve;_reject;constructor(){this._promise=new Promise((e,t)=>{this._resolve=e,this._reject=t})}get promise(){return this._promise}resolve(e){this._resolve(e)}reject(e){this._reject(e)}}class i{_callback;_that;_isCalled=!1;_deferred=new n;constructor(e,t){this._callback=e,this._that=t}get isCalled(){return this._isCalled}get promise(){return this._deferred.promise}call(...e){if(!this._isCalled){this._isCalled=!0;try{Promise.resolve(this._callback.call(this._that,...e)).then(e=>this._deferred.resolve(e),e=>this._deferred.reject(e))}catch(e){this._deferred.reject(e)}}return this._deferred.promise}}},0x23ade8457:(e,t,r)=>{"use strict";r.d(t,{h:()=>s});var n=r(0x23743853f),i=r(0x81d6300);class s{_ratio;_upperBound;constructor(e=0){this._ratio=e,this._ratio=this._normalize(e),this._upperBound=Math.floor(0xffffffff*this._ratio)}shouldSample(e,t){return{decision:(0,n.hX)(t)&&this._accumulate(t)=1?1:e<=0?0:e}_accumulate(e){let t=0;for(let r=0;r>>0}return t}}},0x2404de40f:(e,t,r)=>{"use strict";function n(){}r.d(t,{$:()=>i});var i=({storage:e,key:t="REACT_QUERY_OFFLINE_CACHE",throttleTime:r=1e3,serialize:i=JSON.stringify,deserialize:s=JSON.parse,retry:a})=>{if(e){let o=async r=>{try{let n=await i(r);await e.setItem(t,n);return}catch(e){return e}};return{persistClient:function(e,{interval:t=1e3,onError:r=n}={}){if("function"!=typeof e)throw Error("argument is not function.");let i=0,s=null,a=!1,o=!1;return async(...n)=>{if(s=n,!o){for(o=!0;a;)await new Promise(e=>setTimeout(e,t));for(;Date.now()setTimeout(e,i-Date.now()));o=!1,a=!0;try{await e(...s)}catch(e){try{r(e)}catch{}}i=Date.now()+t,a=!1}}}(async e=>{let t=e,r=await o(t),n=0;for(;r&&t;)n++,(t=await a?.({persistedClient:t,error:r,errorCount:n}))&&(r=await o(t))},{interval:r}),restoreClient:async()=>{let r=await e.getItem(t);if(r)return await s(r)},removeClient:()=>e.removeItem(t)}}return{persistClient:n,restoreClient:()=>Promise.resolve(void 0),removeClient:n}}},0x2443efed0:(e,t,r)=>{"use strict";r.d(t,{default:()=>i.a});var n=r(0x213e301ed),i=r.n(n)},0x2486ddd6c:(e,t,r)=>{var n=r(0x232ef43a0),i=r(0x2236b2f28),s=r(0x4ebaf396);e.exports=function(e,t){return e&&e.length?n(e,s(t,2),i):void 0}}}]);