1(()=>{var E,vn,ai,Xi,Va,M,L,I,$a,Rr,u,Mt,lc,kc,f,Fc,sc,ut,Jr,v,z,Kc,Bc,Dc,ne,Xr,se,qr,Wr,Hr,kr,De,xr,yr,jr,Fn,br,gr,mr,lr,cr,rr,ar,wn,ir,or,sr,Qa,Xa,Fe,Ka,ue,he,y,mn,hn,un,ln,xe,$,Re,ke,nt,oe,Ne,_e,Tt,Et,Ca,ja,ba,va,ha,ua,bt,oa,Ye,na,Yi,x,qi,o,J,$i,t,Bi,Di,Si,Ai,et,_i,yi,dt,ji,bi,vi,Ke,qo,We,Ko,$o,Vo,h,Bo,He,Io,Ro,i,Ao,s,Dt,K,xo,Rt,Pt,Me,It,Bt,Vt,st,eo,Js,Zs,Cs,ls,rs,es,Yn,qn,Kn,Un,$n,In,Nn,U,Ie,Dn,Xe,Cn,En,kn,An,Sn,Mn,tt,Ba,Le,Ue,N,Ln,Rn,Pn,Hn,w,Bn,Vn,Se,Wn,l,gn,ss,os,is,ve,cs,m,ds,us,hs,Oe,gs,vs,bs,js,ys,_s,ws,on,sn,nn,Es,ks,q,we,Fs,Ts,zs,Ds,Ns,Ls,Rs,Ps,Ws,Us,Ks,qs,Jt,Gs,Xs,Zt,Xt,A,Yt,to,ho,mo,go,vo,bo,jo,yo,wo,Oo,a,Pe,ko,W,So,No,Lo,At,Po,Ho,Be,Ve,Wo,Uo,g,te,Yo,Go,Tn,vt,Zo,Jo,ei,ti,ni,si,qe,ri,ci,li,di,ui,hi,mi,fi,ee,ft,k,Ze,D,lt,ct,wi,Oi,Ei,ki,at,it,Mi,Fi,Ti,zi,F,Ni,Li,Ri,Pi,Hi,Ii,$t,Vi,p,G,X,Gi,Qi,Zi,Ji,ea,ta,pt,sa,gt,ia,aa,la,da,n,yt,ma,fa,pa,Nt,Fa,S,Lt,Da,Ht,de,V,Kt,Ia,zn,Gt,en,Wa,Ua,bn,qa,Ya,Ga,jn,yn,er,nr,c,$e,On,Ge,xn,dr,ur,hr,Z,fr,pr,vr,P,Y,Wt,_r,wr,Or,Qe,Cr,Er,fn,Ar,Sr,Mr,Fr,Tr,zr,Dr,Ut,Ur,Kr,ie,Yr,Gr,Ot,Qr,Zr,jt,ec,tc,nc,B,oc,rt,ac,rc,dc,uc,hc,mc,fc,pc,gc,vc,bc,b,yc,Ac,Sc,Mc,ce,Tc,zc,ot,Nc,Lc,Rc,Pc,Hc,Je,Vc,$c,Wc,Uc,mt,Ic,_t,Ec,Cc,xc,wc,_c,jc,xt,cc,ic,$r,Vr,Br,St,Ir,Pr,Ft,Lr,Nr,tr,Ja,Za,Ha,za,Ta,Ma,ka,xa,Oa,ya,ga,ca,ra,Ee,Ui,Wi,pi,pn,ii,oi,Qo,Do,zo,ye,re,Eo,Co,_o,uo,lo,co,ao,no,Qs,$s,Vs,Bs,Is,Ms,As,xs,_n,Os,ps,Jn,Qn,Xo=Object.getOwnPropertyNames,e=(e,t,n)=>function(){if(n)throw n[0];try{return e&&(t=(0,e[Xo(e)[0]])(e=0)),t}catch(e){throw n=[e],e}},Vd=(e,t)=>function(){try{return t||(0,e[Xo(e)[0]])((t={exports:{}}).exports,t),t.exports}catch(e){throw t=0,e}},Fo=e({"node_modules/@opentelemetry/api/build/esm/version.js"(){E="1.9.1"}});function md(e){const o=new Set([e]),i=new Set,n=e.match(vn);if(!n)return()=>!1;const t={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(t.prerelease!=null)return function(n){return n===e};function s(e){return i.add(e),!1}function a(e){return o.add(e),!0}return function(n){if(o.has(n))return!0;if(i.has(n))return!1;const r=n.match(vn);if(!r)return s(n);const c={major:+r[1],minor:+r[2],patch:+r[3],prerelease:r[4]};return c.prerelease!=null?s(n):t.major!==c.major?s(n):t.major===0?t.minor===c.minor&&t.patch<=c.patch?a(n):s(n):t.minor<=c.minor?a(n):s(n)}}Xi=e({"node_modules/@opentelemetry/api/build/esm/internal/semver.js"(){Fo(),vn=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/,ai=md(E)}});function pe(e,t,n,s=!1){var i;const o=I[L]=(i=I[L])!==null&&i!==0[0]?i:{version:E};if(!s&&o[e]){const t=new Error(`@opentelemetry/api: Attempted duplicate registration of API: ${e}`);return n.error(t.stack||t.message),!1}if(o.version!==E){const t=new Error(`@opentelemetry/api: Registration of version v${o.version} for ${e} does not match previously registered API v${E}`);return n.error(t.stack||t.message),!1}return o[e]=t,n.debug(`@opentelemetry/api: Registered a global for ${e} v${E}.`),!0}function T(e){var t,n;const s=(t=I[L])===null||t===0[0]?0[0]:t.version;if(!s||!ai(s))return;return(n=I[L])===null||n===0[0]?0[0]:n[e]}function ge(e,t){t.debug(`@opentelemetry/api: Unregistering a global for ${e} v${E}.`);const n=I[L];n&&delete n[e]}M=e({"node_modules/@opentelemetry/api/build/esm/internal/global-utils.js"(){Fo(),Xi(),Va=E.split(".")[0],L=Symbol.for(`opentelemetry.js.api.${Va}`),I=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{}}});function be(e,t,n){const s=T("diag");if(!s)return;return s[e](t,...n)}Rr=e({"node_modules/@opentelemetry/api/build/esm/diag/ComponentLogger.js"(){M(),$a=class{constructor(e){this._namespace=e.namespace||"DiagComponentLogger"}debug(...e){return be("debug",this._namespace,e)}error(...e){return be("error",this._namespace,e)}info(...e){return be("info",this._namespace,e)}warn(...e){return be("warn",this._namespace,e)}verbose(...e){return be("verbose",this._namespace,e)}}}}),Mt=e({"node_modules/@opentelemetry/api/build/esm/diag/types.js"(){(function(e){e[e.NONE=0]="NONE",e[e.ERROR=30]="ERROR",e[e.WARN=50]="WARN",e[e.INFO=60]="INFO",e[e.DEBUG=70]="DEBUG",e[e.VERBOSE=80]="VERBOSE",e[e.ALL=9999]="ALL"})(u||(u={}))}});function gl(e,t){e<u.NONE?e=u.NONE:e>u.ALL&&(e=u.ALL),t=t||{};function n(n,s){const o=t[n];return typeof o=="function"&&e>=s?o.bind(t):function(){}}return{error:n("error",u.ERROR),warn:n("warn",u.WARN),info:n("info",u.INFO),debug:n("debug",u.DEBUG),verbose
1:n("verbose",u.VERBOSE)}}lc=e({"node_modules/@opentelemetry/api/build/esm/diag/internal/logLevelLogger.js"(){Mt()}}),z=e({"node_modules/@opentelemetry/api/build/esm/api/diag.js"(){Rr(),lc(),Mt(),M(),kc="diag",f=class _DiagAPI{static instance(){return this._instance||(this._instance=new _DiagAPI),this._instance}constructor(){function t(e){return function(...n){const t=T("diag");if(!t)return;return t[e](...n)}}const e=this,n=(t,n={logLevel:u.INFO})=>{var s,o,i;if(t===e){const t=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return e.error((s=t.stack)!==null&&s!==0[0]?s:t.message),!1}typeof n=="number"&&(n={logLevel:n});const a=T("diag"),r=gl((o=n.logLevel)!==null&&o!==0[0]?o:u.INFO,t);if(a&&!n.suppressOverrideMessage){const e=(i=(new Error).stack)!==null&&i!==0[0]?i:"<failed to generate stacktrace>";a.warn(`Current logger will be overwritten from ${e}`),r.warn(`Current logger will overwrite one already registered from ${e}`)}return pe("diag",r,e,!0)};e.setLogger=n,e.disable=()=>{ge(kc,e)},e.createComponentLogger=e=>new $a(e),e.verbose=t("verbose"),e.debug=t("debug"),e.info=t("info"),e.warn=t("warn"),e.error=t("error")}}}}),Bc=e({"node_modules/@opentelemetry/api/build/esm/baggage/internal/baggage-impl.js"(){Kc=class _BaggageImpl{constructor(e){this._entries=e?new Map(e):new Map}getEntry(e){const t=this._entries.get(e);return t?Object.assign({},t):0[0]}getAllEntries(){return Array.from(this._entries.entries())}setEntry(e,t){const n=new _BaggageImpl(this._entries);return n._entries.set(e,t),n}removeEntry(e){const t=new _BaggageImpl(this._entries);return t._entries.delete(e),t}removeEntries(...t){const e=new _BaggageImpl(this._entries);for(const n of t)e._entries.delete(n);return e}clear(){return new _BaggageImpl}}}}),Fc=e({"node_modules/@opentelemetry/api/build/esm/baggage/internal/symbol.js"(){Dc=Symbol("BaggageEntryMetadata")}});function ll(e={}){return new Kc(new Map(Object.entries(e)))}function hl(e){return typeof e!="string"&&(sc.error(`Cannot create baggage metadata from unknown type: ${typeof e}`),e=""),{__TYPE__:Dc,toString(){return e}}}ut=e({"node_modules/@opentelemetry/api/build/esm/baggage/utils.js"(){z(),Bc(),Fc(),sc=f.instance()}});function ht(e){return Symbol.for(e)}ne=e({"node_modules/@opentelemetry/api/build/esm/context/context.js"(){Jr=class _BaseContext{constructor(e){const t=this;t._currentContext=e?new Map(e):new Map,t.getValue=e=>t._currentContext.get(e),t.setValue=(e,n)=>{const s=new _BaseContext(t._currentContext);return s._currentContext.set(e,n),s},t.deleteValue=e=>{const n=new _BaseContext(t._currentContext);return n._currentContext.delete(e),n}}},v=new Jr}});function wt(){return Fn}wn=e({"node_modules/@opentelemetry/api/build/esm/metrics/NoopMeter.js"(){Xr=class{constructor(){}createGauge(){return gr}createHistogram(){return mr}createCounter(){return br}createUpDownCounter(){return lr}createObservableGauge(){return rr}createObservableCounter(){return cr}createObservableUpDownCounter(){return ar}addBatchObservableCallback(){}removeBatchObservableCallback(){}},se=class{},qr=class extends se{add(){}},Wr=class extends se{add(){}},Hr=class extends se{record(){}},kr=class extends se{record(){}},De=class{addCallback(){}removeCallback(){}},xr=class extends De{},yr=class extends De{},jr=class extends De{},Fn=new Xr,br=new qr,gr=new Hr,mr=new kr,lr=new Wr,cr=new xr,rr=new yr,ar=new jr}}),sr=e({"node_modules/@opentelemetry/api/build/esm/propagation/TextMapPropagator.js"(){ir={get(e,t){return e?.[t]},keys(e){return e==null?[]:Object.keys(e)}},or={set(e,t,n){if(e==null)return;e[t]=n}}}}),Xa=e({"node_modules/@opentelemetry/api/build/esm/context/NoopContextManager.js"(){ne(),Qa=class{active(){return v}with(s,e,t,...n){return e.call(t,...n)}bind(e,t){return t}enable(){return this}disable(){return this}}}}),he=e({"node_modules/@opentelemetry/api/build/esm/api/context.js"(){Xa(),M(),z(),Fe="context",Ka=new Qa,ue=class _ContextAPI{constructor(){}static getInstance(){return this._instance||(this._instance=new _ContextAPI),this._instance}setGlobalContextManager(e){return pe(Fe,e,f.instance())}active(){return this._getContextManager().active()}with(e,t,n,...s){return this._getContextManager().with(e,t,n,...s)}bind(e,t){return this._getContextManager().bind(e,t)}_getContextManager(){return T(Fe)||Ka}disable(){this._getContextManager().disable(),ge(Fe,f.instance())}}}}),mn=e({"node_modules/@opentelemetry/api/build/esm/trace/trace_flags.js"(){(function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"})(y||(y={}))}}),xe=e({"node_modules/@opentelemetry/api/build/esm/trace/invalid-span-constants.js"(){mn(),hn="0000000000000000",un="00000000000000000000000000000000",ln={traceId:un,spanId:hn,traceFlags:y.NONE}}}),Re=e({"node_modules/@opentelemetry/api/build/esm/trace/NonRecordingSpan.js"(){xe(),$=class{constructor(e=ln){this._spanContext=e}spanContext(){return this._spanContext}setAttribute(){return this}setAttributes(){return this}addEvent(){return this}addLink(){return this}addLinks(){return this}setStatus(){return this}updateName(){return this}end(){}isRecording(){return!1}recordException(){}}}});function tn(e){return e.getValue(ke)||0[0]}function kl(){return tn(ue.getInstance().active())}function Qt(e,t){return e.setValue(ke,t)}function Sl(e){return e.deleteValue(ke)}function Ml(e,t){return Qt(e,new $(t))}function Pa(e){var t;return(t=tn(e))===null||t===0[0]?0[0]:t.spanContext()}nt=e({"node_modules/@opentelemetry/api/build/esm/trace/context-utils.js"(){ne(),Re(),he(),ke=ht("OpenTelemetry Context Key SPAN")}});function Ra(e,t){if(typeof e!="string"||e.length!==t)return!1;let n=0;for(let t=0;t<e.length;t+=4)n+=(oe[e.charCodeAt(t)]|0)+(oe[e.charCodeAt(t+1)]|0)+(oe[e.charCodeAt(t+2)]|0)+(oe[e.charCodeAt(t+3)]|0);return n===t}function Na(e){return Ra(e,32)&&e!==un}function Dl(e){return Ra(e,16)&&e!==hn}function Te(e){return Na(e.traceId)&&Dl(e.spanId)}function Nl(e){return new $(e)}Ne=e({"node_modules/@opentelemetry/api/build/esm/trace/spancontext-utils.js"(){xe(),Re(),oe=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1])}});function Ll(e){return e!==null&&typeof e=="object"&&"spanId"in e&&typeof e.spanId=="string"&&"traceId"in e&&typeof e.traceId=="string"&&"traceFlags"in e&&typeof e.traceFlags=="number"}Et=e({"node_modules/@opentelemetry/api/build/esm/trace/NoopTracer.js"(){he(),nt(),Re(),Ne(),_e=ue.getInstance(),Tt=class{startSpan(e,t,n=_e.active()){const o=Bo
1olean(t?.root);if(o)return new $;const s=n&&Pa(n);return Ll(s)&&Te(s)?new $(s):new $}startActiveSpan(e,t,n,s){let a,o,i;if(arguments.length<2)return;arguments.length===2?i=t:arguments.length===3?(a=t,i=n):(a=t,o=n,i=s);const r=o??_e.active(),c=this.startSpan(e,a,r),l=Qt(r,c);return _e.with(l,i,0[0],c)}}}}),ba=e({"node_modules/@opentelemetry/api/build/esm/trace/ProxyTracer.js"(){Et(),Ca=new Tt,ja=class{constructor(e,t,n,s){this._provider=e,this.name=t,this.version=n,this.options=s}startSpan(e,t,n){return this._getTracer().startSpan(e,t,n)}startActiveSpan(){const o=this._getTracer();return Reflect.apply(o.startActiveSpan,o,arguments)}_getTracer(){if(this._delegate)return this._delegate;const e=this._provider.getDelegateTracer(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):Ca}}}}),ha=e({"node_modules/@opentelemetry/api/build/esm/trace/NoopTracerProvider.js"(){Et(),va=class{getTracer(){return new Tt}}}}),oa=e({"node_modules/@opentelemetry/api/build/esm/trace/ProxyTracerProvider.js"(){ba(),ha(),ua=new va,bt=class{getTracer(e,t,n){var s;return(s=this.getDelegateTracer(e,t,n))!==null&&s!==0[0]?s:new ja(this,e,t,n)}getDelegate(){var e;return(e=this._delegate)!==null&&e!==0[0]?e:ua}setDelegate(e){this._delegate=e}getDelegateTracer(e,t,n){var s;return(s=this._delegate)===null||s===0[0]?0[0]:s.getTracer(e,t,n)}}}}),na=e({"node_modules/@opentelemetry/api/build/esm/trace/SamplingResult.js"(){(function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(Ye||(Ye={}))}}),Yi=e({"node_modules/@opentelemetry/api/build/esm/trace/span_kind.js"(){(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"})(J||(J={}))}}),qi=e({"node_modules/@opentelemetry/api/build/esm/trace/status.js"(){(function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"})(x||(x={}))}}),$i=e({"node_modules/@opentelemetry/api/build/esm/context-api.js"(){he(),o=ue.getInstance()}}
1),Bi=e({"node_modules/@opentelemetry/api/build/esm/diag-api.js"(){z(),t=f.instance()}}),Ai=e({"node_modules/@opentelemetry/api/build/esm/metrics/NoopMeterProvider.js"(){wn(),Di=class{getMeter(){return Fn}},Si=new Di}}),yi=e({"node_modules/@opentelemetry/api/build/esm/api/metrics.js"(){Ai(),M(),z(),et="metrics",_i=class _MetricsAPI{constructor(){}static getInstance(){return this._instance||(this._instance=new _MetricsAPI),this._instance}setGlobalMeterProvider(e){return pe(et,e,f.instance())}getMeterProvider(){return T(et)||Si}getMeter(e,t,n){return this.getMeterProvider().getMeter(e,t,n)}disable(){ge(et,f.instance())}}}}),ji=e({"node_modules/@opentelemetry/api/build/esm/metrics-api.js"(){yi(),dt=_i.getInstance()}}),vi=e({"node_modules/@opentelemetry/api/build/esm/propagation/NoopTextMapPropagator.js"(){bi=class{inject(){}extract(e){return e}fields(){return[]}}}});function gi(e){return e.getValue(Ke)||0[0]}function nd(){return gi(ue.getInstance().active())}function id(e,t){return e.setValue(Ke,t)}function cd(e){return e.deleteValue(Ke)}qo=e({"node_modules/@opentelemetry/api/build/esm/baggage/context-helpers.js"(){he(),ne(),Ke=ht("OpenTelemetry Baggage Key")}}),Vo=e({"node_modules/@opentelemetry/api/build/esm/api/propagation.js"(){M(),vi(),sr(),qo(),ut(),z(),We="propagation",Ko=new bi,$o=class _PropagationAPI{constructor(){this.createBaggage=ll,this.getBaggage=gi,this.getActiveBaggage=nd,this.setBaggage=id,this.deleteBaggage=cd}static getInstance(){return this._instance||(this._instance=new _PropagationAPI),this._instance}setGlobalPropagator(e){return pe(We,e,f.instance())}inject(e,t,n=or){return this._getGlobalPropagator().inject(e,t,n)}extract(e,t,n=ir){return this._getGlobalPropagator().extract(e,t,n)}fields(){return this._getGlobalPropagator().fields()}disable(){ge(We,f.instance())}_getGlobalPropagator(){return T(We)||Ko}}}}),Bo=e({"node_modules/@opentelemetry/api/build/esm/propagation-api.js"(){Vo(),h=$o.getInstance()}}),Ro=e({"node_modules/@opentelemetry/api/build/esm/api/trace.js"(){M(),oa(),Ne(),nt(),z(),He="trace",Io=class _TraceAPI{constructor(){this._proxyTracerProvider=new bt,this.wrapSpanContext=Nl,this.isSpanContextValid=Te,this.deleteSpan=Sl,this.getSpan=tn,this.getActiveSpan=kl,this.getSpanContext=Pa,this.setSpan=Qt,this.setSpanContext=Ml}static getInstance(){return this._instance||(this._instance=new _TraceAPI),this._instance}setGlobalTracerProvider(e){const t=pe(He,this._proxyTracerProvider,f.instance());return t&&this._proxyTracerProvider.setDelegate(e),t}getTracerProvider(){return T(He)||this._proxyTracerProvider}getTracer(e,t){return this.getTracerProvider().getTracer(e,t)}disable(){ge(He,f.instance()),this._proxyTracerProvider=new bt}}}}),Ao=e({"node_modules/@opentelemetry/api/build/esm/trace-api.js"(){Ro(),i=Io.getInstance()}}),s=e({"node_modules/@opentelemetry/api/build/esm/index.js"(){ut(),ne(),wn(),na(),Yi(),qi(),mn(),Ne(),xe(),$i(),Bi(),ji(),Bo(),Ao()}});function pd(e){return e.setValue(Dt,!0)}function zt(e){return e.getValue(Dt)===!0}K=e({"node_modules/@opentelemetry/core/build/esm/trace/suppress-tracing.js"(){s(),Dt=ht("OpenTelemetry SDK Context Key SUPPRESS_TRACING")}}),st=e({"node_modules/@opentelemetry/core/build/esm/baggage/constants.js"(){xo="=",Rt=";",Pt=",",Me="baggage",It=180,Bt=4096,Vt=8192}});function Cd(e){return e.reduce((e,t)=>{const n=`${e}${e!==""?Pt:""}${t}`;return n.length>Vt?e:n},"")}function kd(e){return e.getAllEntries().map(([e,t])=>{let n=`${encodeURIComponent(e)}=${encodeURIComponent(t.value)}`;return t.metadata!==0[0]&&(n+=Rt+t.metadata.toString()),n})}function Sd(e){if(!e)return;const t=e.indexOf(Rt),n=t===-1?e:e.substring(0,t),s=n.indexOf(xo);if(s<=0)return;const o=n.substring(0,s).trim(),i=n.substring(s+1).trim();if(!o||!i)return;let a,r;try{a=decodeURIComponent(o),r=decodeURIComponent(i)}catch{return}let c;if(t!==-1&&t<e.length-1){const n=e.substring(t+1);c=hl(n)}return{key:a,value:r,metadata:c}}function so(e,t,n,s){let o=0;for(;o<e.length&&n<It;){const i=e.indexOf(Pt,o),a=i===-1?e.length:i,r=a-o;if(r<=Bt){const i=Sd(e.substring(o,a));if(i){const e=(n===0?0:1)+r;if(s+e>Vt)break;t[i.key]=i.metadata?{value:i.value,metadata:i.metadata}:{value:i.value},n++,s+=e}}if(i===-1)break;o=i+1}return[n,s]}
1eo=e({"node_modules/@opentelemetry/core/build/esm/baggage/utils.js"(){s(),st()}}),Zs=e({"node_modules/@opentelemetry/core/build/esm/baggage/propagation/W3CBaggagePropagator.js"(){s(),K(),st(),eo(),Js=class{inject(e,t,n){const s=h.getBaggage(e);if(!s||zt(e))return;const i=kd(s).filter(e=>e.length<=Bt).slice(0,It),o=Cd(i);o.length>0&&n.set(t,Me,o)}extract(e,t,n){const s=n.get(t,Me);if(!s)return e;const i={};let o=0,a=0;if(Array.isArray(s))for(let e=0;e<s.length;e++)[o,a]=so(s[e],i,o,a);else[o]=so(s,i,o,a);return o===0?e:h.setBaggage(e,h.createBaggage(i))}fields(){return[Me]}}}});function je(e){const n={};if(typeof e!="object"||e==null)return n;for(const s in e){if(!Object.prototype.hasOwnProperty.call(e,s))continue;if(!zd(s)){t.warn(`Invalid attribute key: ${s}`);continue}const o=e[s];if(!Ys(o)){t.warn(`Invalid attribute value set for key: ${s}`);continue}Array.isArray(o)?n[s]=o.slice():n[s]=o}return n}function zd(e){return typeof e=="string"&&e!==""}function Ys(e){return e==null||(Array.isArray(e)?Pd(e):Ss(typeof e))}function Pd(e){let t;for(const s of e){if(s==null)continue;const n=typeof s;if(n===t)continue;if(!t){if(Ss(n)){t=n;continue}return!1}return!1}return!0}function Ss(e){switch(e){case"number":case"boolean":case"string":return!0}return!1}Cs=e({"node_modules/@opentelemetry/core/build/esm/common/attributes.js"(){s()}});function Bd(){return e=>{t.error($d(e))}}function $d(e){return typeof e=="string"?e:JSON.stringify(Wd(e))}function Wd(e){const n={};let t=e;for(;t!==null;)Object.getOwnPropertyNames(t).forEach(e=>{if(n[e])return;const s=t[e];s&&(n[e]=String(s))}),t=Object.getPrototypeOf(t);return n}ls=e({"node_modules/@opentelemetry/core/build/esm/common/logging-error-handler.js"(){s()}});function cn(e){try{rs(e)}catch{}}es=e({"node_modules/@opentelemetry/core/build/esm/common/global-error-handler.js"(){ls(),rs=Bd()}});function Kd(){}function d(){}function Gn(){}Yn=e({"node_modules/@opentelemetry/core/build/esm/platform/browser/environment.js"(){}}),Kn=e({"node_modules/@opentelemetry/core/build/esm/version.js"(){qn="2.11.0"}}),Un=e({"node_modules/@opentelemetry/semantic-conventions/build/esm/trace/SemanticAttributes.js"(){}}),$n=e({"node_modules/@opentelemetry/semantic-conventions/build/esm/trace/index.js"(){Un()}}),In=e({"node_modules/@opentelemetry/semantic-conventions/build/esm/resource/SemanticResourceAttributes.js"(){}}),Nn=e({"node_modules/@opentelemetry/semantic-conventions/build/esm/resource/index.js"(){In()}}),Rn=e({"node_modules/@opentelemetry/semantic-conventions/build/esm/stable_attributes.js"(){U="error.type",Ie="exception.message",Dn="exception.stacktrace",Xe="exception.type",Cn="http.request.method",En="http.request.method_original",kn="http.response.status_code",An="server.address",Sn="server.port",Mn="service.name",tt="telemetry.sdk.language",Ba="webjs",Le="telemetry.sdk.name",Ue="telemetry.sdk.version",N="url.full",Ln="user_agent.original"}}),Pn=e({"node_modules/@opentelemetry/semantic-conventions/build/esm/stable_metrics.js"(){}}),Hn=e({"node_modules/@opentelemetry/semantic-conventions/build/esm/stable_events.js"(){}}),w=e({"node_modules/@opentelemetry/semantic-conventions/build/esm/index.js"(){$n(),Nn(),Rn(),Pn(),Hn()}}),Vn=e({"node_modules/@opentelemetry/core/build/esm/semconv.js"(){Bn="process.runtime.name"}}),Wn=e({"node_modules/@opentelemetry/core/build/esm/platform/browser/sdk-info.js"(){Kn(),w(),Vn(),Se={[Le]:"opentelemetry",[Bn]:"browser",[tt]:Ba,[Ue]:qn}}}),gn=e({"node_modules/@opentelemetry/core/build/esm/platform/browser/index.js"(){Yn(),Wn(),l=performance}});function j(e){const t=e/1e3,n=t|0,s=Math.round(e%1e3*is);return[n,s]}function O(e){const t=j(l.timeOrigin),n=j(typeof e=="number"?e:l.now());return ns(t,n)}function fe(e){if(dn(e))return e;if(typeof e=="number")return e<l.timeOrigin/2?O(e):j(e);else if(e instanceof Date)return j(e.getTime());else throw TypeError("Invalid input type")}function Xn(e,t){let s=t[0]-e[0],n=t[1]-e[1];return n<0&&(s-=1,n+=ve),[s,n]}function _(e){return e[0]*ve+e[1]}function Zn(e){return e[0]*1e6+e[1]/1e3}function Ud(e){return e[0]*1e3+e[1]/1e6}function dn(e){return Array.isArray(e)&&e.length===2&&typeof e[0]=="number"&&typeof e[1]=="number"}function ts(e){return dn(e)||typeof e=="number"||e instanceof Date}function ns(e,t){const n=[e[0]+t[0],e[1]+t[1]];return n[1]>=ve&&(n[1]-=ve,n[0]+=1),n}
1cs=e({"node_modules/@opentelemetry/core/build/esm/common/time.js"(){gn(),ss=9,os=6,is=10**os,ve=10**ss}}),ds=e({"node_modules/@opentelemetry/core/build/esm/ExportResult.js"(){(function(e){e[e.SUCCESS=0]="SUCCESS",e[e.FAILED=1]="FAILED"})(m||(m={}))}}),hs=e({"node_modules/@opentelemetry/core/build/esm/propagation/composite.js"(){s(),us=class{_propagators;_fields;constructor(e={}){this._propagators=e.propagators??[];const t=new Set;for(const e of this._propagators){const n=typeof e.fields=="function"?e.fields():[];for(const e of n)t.add(e)}this._fields=Array.from(t)}inject(e,n,s){for(const o of this._propagators)try{o.inject(e,n,s)}catch(e){t.warn(`Failed to inject with ${o.constructor.name}. Err: ${e.message}`)}}extract(e,n,s){return this._propagators.reduce((e,o)=>{try{return o.extract(e,n,s)}catch(e){t.warn(`Failed to extract with ${o.constructor.name}. Err: ${e.message}`)}return e},e)}fields(){return this._fields.slice()}}}});function ms(e){return bs.test(e)}function fs(e){return js.test(e)&&!ys.test(e)}_s=e({"node_modules/@opentelemetry/core/build/esm/internal/validators.js"(){Oe="[_0-9a-z-*/]",gs=`[a-z]${Oe}{0,255}`,vs=`[a-z0-9]${Oe}{0,240}@[a-z]${Oe}{0,13}`,bs=new RegExp(`^(?:${gs}|${vs})$`),js=/^[ -~]{0,255}[!-~]$/,ys=/,|=/}}),ks=e({"node_modules/@opentelemetry/core/build/esm/trace/TraceState.js"(){_s(),ws=32,on=512,sn=",",nn="=",Es=class _TraceState{_length;_rawTraceState;_internalState;constructor(e){this._rawTraceState=typeof e=="string"?e:"",this._length=this._rawTraceState.length}set(e,t){if(!ms(e)||!fs(t))return this;const s=this._getState(),i=s.get(e);let n=this._length;if(typeof i=="string"?n+=t.length-i.length:n+=e.length+t.length+(s.size>0?2:1),n>on)return this;const o=new Map(s);return o.delete(e),o.set(e,t),this._fromState(o,n)}unset(e){const t=this._getState(),s=t.get(e);if(typeof s!="string")return this;let n=this._length-(e.length+s.length+1);t.size>1&&(--n);const o=new Map(t);return o.delete(e),this._fromState(o,n)}get(e){const t=this._getState();return t.get(e)}serialize(){let e="",t=0;for(const n of this._getState())t>0&&(e=sn+e),e=`${n[0]}${nn}${n[1]}`+e,t++;return e}_getState(){if(this._internalState)return this._internalState;const n=this._rawTraceState.split(sn),e=new Map;let t=0;for(const c of n){const s=c.trim(),o=s.indexOf(nn);if(o===-1)continue;const i=s.slice(0,o),a=s.slice(o+1);if(!ms(i)||!fs(a))continue;const r=t+s.length+(e.size>0?1:0);if(r>on)continue;if(e.set(i,a),t=r,e.size>=ws)break}return this._length=t,this._internalState=new Map(Array.from(e.entries()).reverse()),this._internalState}_fromState(e,t){const n=Object.create(_TraceState.prototype);return n._internalState=e,n._length=t,n}}}});function Hd(e){const t=Ls.exec(e);return t?t[1]==="00"&&t[5]?null:{traceId:t[2],spanId:t[3],traceFlags:parseInt(t[4],16)}:null}Ps=e({"node_modules/@opentelemetry/core/build/esm/trace/W3CTraceContextPropagator.js"(){s(),K(),ks(),q="traceparent",we="tracestate",Fs="00",Ts="(?!ff)[\\da-f]{2}",zs="(?![0]{32})[\\da-f]{32}",Ds="(?![0]{16})[\\da-f]{16}",Ns="[\\da-f]{2}",Ls=new RegExp(`^\\s?(${Ts})-(${zs})-(${Ds})-(${Ns})(-.*)?\\s?$`),Rs=class{inject(e,t,n){const s=i.getSpanContext(e);if(!s||zt(e)||!Te(s))return;const o=`${Fs}-${s.traceId}-${s.spanId}-0${Number(s.traceFlags||y.NONE).toString(16)}`;n.set(t,q,o),s.traceState&&n.set(t,we,s.traceState.serialize())}extract(e,t,n){const s=n.get(t,q);if(!s)return e;const r=Array.isArray(s)?s[0]:s;if(typeof r!="string")return e;const o=Hd(r);if(!o)return e;o.isRemote=!0;const a=n.get(t,we);if(a){const e=Array.isArray(a)?a.join(","):a;o.traceState=new Es(typeof e=="string"?e:0[0])}return i.setSpanContext(e,o)}fields(){return[q,we]}}}});function Hs(e){if(!Rd(e)||Ld(e)!==Ws)return!1;const n=Xs(e);if(n===null)return!0;const t=Xt.call(n,"constructor")&&n.constructor;return typeof t=="function"&&t instanceof t&&Jt.call(t)===Gs}function Rd(e){return e!=null&&typeof e=="object"}function Ld(e){return e==null?e===0[0]?Ks:Us:A&&A in Object(e)?Nd(e):Dd(e)}function Nd(e){const n=Xt.call(e,A),s=e[A];let t=!1;try{e[A]=0[0],t=!0}catch{}const o=Yt.call(e);return t&&(n?e[A]=s:delete e[A]),o}function Dd(e){return Yt.call(e)}
1to=e({"node_modules/@opentelemetry/core/build/esm/utils/lodash.merge.js"(){Ws="[object Object]",Us="[object Null]",Ks="[object Undefined]",qs=Function.prototype,Jt=qs.toString,Gs=Jt.call(Object),Xs=Object.getPrototypeOf,Zt=Object.prototype,Xt=Zt.hasOwnProperty,A=Symbol?Symbol.toStringTag:0[0],Yt=Zt.toString}});function Td(...e){let t=e.shift();const n=new WeakMap;for(;e.length>0;)t=oo(t,e.shift(),0,n);return t}function qt(e){return Ce(e)?e.slice():e}function oo(e,t,n=0,s){let o;if(n>ho)return 0[0];if(n++,Ae(e)||Ae(t)||ro(t))o=qt(t);else if(Ce(e)){if(o=e.slice(),Ce(t))for(let e=0,n=t.length;e<n;e++)o.push(qt(t[e]));else if(me(t)){const e=Object.keys(t);for(let s=0,i=e.length;s<i;s++){const n=e[s];if(n==="__proto__"||n==="constructor"||n==="prototype")continue;o[n]=qt(t[n])}}}else if(me(e))if(me(t)){if(!yd(e,t))return t;o=Object.assign({},e);const i=Object.keys(t);for(let c=0,l=i.length;c<l;c++){const a=i[c];if(a==="__proto__"||a==="constructor"||a==="prototype")continue;const r=t[a];if(Ae(r))typeof r=="undefined"?delete o[a]:o[a]=r;else{const i=o[a],c=r;if(io(e,a,s)||io(t,a,s))delete o[a];else{if(me(i)&&me(c)){const n=s.get(i)||[],o=s.get(c)||[];n.push({obj:e,key:a}),o.push({obj:t,key:a}),s.set(i,n),s.set(c,o)}o[a]=oo(o[a],r,n,s)}}}}else o=t;return o}function io(e,t,n){const s=n.get(e[t])||[];for(let n=0,i=s.length;n<i;n++){const o=s[n];if(o.key===t&&o.obj===e)return!0}return!1}function Ce(e){return Array.isArray(e)}function ro(e){return typeof e=="function"}function me(e){return!Ae(e)&&!Ce(e)&&!ro(e)&&typeof e=="object"}function Ae(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e=="undefined"||e instanceof Date||e instanceof RegExp||e===null}function yd(e,t){return!!Hs(e)&&!!Hs(t)}mo=e({"node_modules/@opentelemetry/core/build/esm/utils/merge.js"(){to(),ho=20}});function fo(e,t){return typeof t=="string"?e===t:!!e.match(t)}function po(e,t){if(!t)return!1;for(const n of t)if(fo(e,n))return!0;return!1}go=e({"node_modules/@opentelemetry/core/build/esm/utils/url.js"(){}}),bo=e({"node_modules/@opentelemetry/core/build/esm/utils/promise.js"(){vo=class{_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)}}}}),yo=e({"node_modules/@opentelemetry/core/build/esm/utils/callback.js"(){bo(),jo=class{_isCalled=!1;_deferred=new vo;_callback;_that;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}}}});function bd(e,t){return new Promise(n=>{o.with(pd(o.active()),()=>{e.export(t,n)})})}wo=e({"node_modules/@opentelemetry/core/build/esm/internal/exporter.js"(){s(),K()}}),a=e({"node_modules/@opentelemetry/core/build/esm/index.js"(){Zs(),Cs(),es(),cs(),ds(),gn(),hs(),Ps(),K(),mo(),go(),yo(),wo(),Oo={_export:bd}}});function gd(){if(Pe===0[0])try{const e=globalThis.process.argv0;Pe=e?`unknown_service:${e}`:"unknown_service"}catch{Pe="unknown_service"}return Pe}ko=e({"node_modules/@opentelemetry/resources/build/esm/default-service-name.js"(){}}),So=e({"node_modules/@opentelemetry/resources/build/esm/utils.js"(){W=e=>e!==null&&typeof e=="object"&&typeof e.then=="function"}});function Mo(e,t){return No.FromAttributeList(Object.entries(e),t)}function fd(){return Mo({[Mn]:gd(),[tt]:Se[tt],[Le]:Se[Le],[Ue]:Se[Ue]})}function To(e){return e.map(([e,n])=>W(n)?[e,n.catch(n=>{t.debug("promise rejection for resource attribute: %s - %s",e,n)})]:[e,n])}function hd(e){return typeof e=="string"||e===0[0]?e:(t.warn("Schema URL must be string or undefined, got %s. Schema URL will be ignored.",e),0[0])}function ud(e,n){const s=e?.schemaUrl,o=n?.schemaUrl,i=s===0[0]||s==="",a=o===0[0]||o==="";return i?o:a?s:s===o?s:(t.warn('Schema URL merge conflict: old resource has "%s", updating resource has "%s". Resulting resource will have undefined Schema URL.',s,o),0[0])}Lo=e({"node_modules/@opentelemetry/resources/build/esm/ResourceImpl.js"(){s(),a(),w(),ko(),So(),No=class _ResourceImpl{_rawAttributes;_asyncAttributesPending=!1;_schemaUrl;_memoizedAttributes;static FromAttributeList(e,t){const n=new _ResourceImpl({},t);return n._rawAttributes=To(e),n._asyncAttributesPending=e.filter(([e,t])=>W(t)).length>0,n}constructor(e,t){const n=e.attributes??{};this._rawAttributes=Object.entries(n).map(([e,t])=>(W(t)&&(this._asyncAttributesPending=!0),[e,t])),this._rawAttributes=To(this._rawAttributes),this._schemaUrl=hd(t?.schemaUrl)}get asyncAttributesPending(){return this._asyncAttributesPending}async waitForAsyncAttributes(){if(!this.asyncAttributesPending)return;for(let e=0;e<this._rawAttributes.length;e++){const[n,t]=this._rawAttributes[e];this._rawAttributes[e]=[n,W(t)?await t:t]}this._asyncAttributesPending=!1}get attributes(){if(this.asyncAttributesPending&&t.error("Accessing resource attributes before async attributes settled"),this._memoizedAttributes)return this._memoizedAttributes;const e={};
1for(const[s,n]of this._rawAttributes){if(W(n)){t.debug(`Unsettled resource attribute ${s} skipped`);continue}n!=null&&(e[s]??=n)}return this._asyncAttributesPending||(this._memoizedAttributes=e),e}getRawAttributes(){return this._rawAttributes}get schemaUrl(){return this._schemaUrl}merge(e){if(e==null)return this;const t=ud(this,e),n=t?{schemaUrl:t}:0[0];return _ResourceImpl.FromAttributeList([...e.getRawAttributes(),...this.getRawAttributes()],n)}}}}),At=e({"node_modules/@opentelemetry/resources/build/esm/index.js"(){Lo()}}),Ho=e({"node_modules/@opentelemetry/sdk-trace/build/esm/enums.js"(){Po="exception"}});function kt(e){const t={};for(const[s,n]of e.getRawAttributes()){if(typeof n?.then=="function")continue;n!=null&&(t[s]??=n)}return t}function Ct(e,t,n,s,o){if(typeof n=="number"&&n<0){const t=`[${e}]`;return s?.stylize?s.stylize(t,"special"):t}if(typeof o!="function"||!s)return t;const i={...s,depth:s.depth==null?s.depth:s.depth-1};return`${e} ${o(t,i)}`}Ve=e({"node_modules/@opentelemetry/sdk-trace/build/esm/inspect.js"(){Be=Symbol.for("nodejs.util.inspect.custom")}}),Uo=e({"node_modules/@opentelemetry/sdk-trace/build/esm/Span.js"(){s(),a(),w(),Ho(),Ve(),Wo=class{_spanContext;kind;parentSpanContext;attributes={};links=[];events=[];startTime;resource;instrumentationScope;_droppedAttributesCount=0;_droppedEventsCount=0;_droppedLinksCount=0;_attributesCount=0;name;status={code:x.UNSET};endTime=[0,0];_ended=!1;_duration=[-1,-1];_spanProcessor;_spanLimits;_attributeValueLengthLimit;_recordEndMetrics;_performanceStartTime;_performanceOffset;_startTimeProvided;constructor(e){const t=Date.now();if(this._spanContext=e.spanContext,this._performanceStartTime=l.now(),this._performanceOffset=t-(this._performanceStartTime+l.timeOrigin),this._startTimeProvided=e.startTime!=null,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,e.links)for(const t of e.links)this.addLink(t);this.startTime=this._getTime(e.startTime??t),this.resource=e.resource,this.instrumentationScope=e.scope,this._recordEndMetrics=e.recordEndMetrics,e.attributes!=null&&this.setAttributes(e.attributes),this._spanProcessor.onStart(this,e.context)}spanContext(){return this._spanContext}setAttribute(e,n){if(n==null||this._isSpanEnded())return this;if(e.length===0)return t.warn(`Invalid attribute key: ${e}`),this;if(!Ys(n))return t.warn(`Invalid attribute value set for key: ${e}`),this;const{attributeCountLimit:s}=this._spanLimits,o=!Object.prototype.hasOwnProperty.call(this.attributes,e);return s!==0[0]&&this._attributesCount>=s&&o?(this._droppedAttributesCount++,this):(this.attributes[e]=this._truncateToSize(n),o&&this._attributesCount++,this)}setAttributes(e){for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&this.setAttribute(t,e[t]);return this}addEvent(e,n,s){if(this._isSpanEnded())return this;const{eventCountLimit:o}=this._spanLimits;if(o===0)return t.warn("No events allowed."),this._droppedEventsCount++,this;o!==0[0]&&this.events.length>=o&&(this._droppedEventsCount===0&&t.debug("Dropping extra events."),this.events.shift(),this._droppedEventsCount++),ts(n)&&(ts(s)||(s=n),n=0[0]);const{attributePerEventCountLimit:a}=this._spanLimits,i=je(n),r={};let c=0,l=0;for(const e in i){if(!Object.prototype.hasOwnProperty.call(i,e))continue;const t=i[e];if(a!==0[0]&&l>=a){c++;continue}r[e]=this._truncateToSize(t),l++}return this.events.push({name:e,attributes:r,time:this._getTime(s),droppedAttributesCount:c}),this}addLink(e){if(this._isSpanEnded())return this;const{linkCountLimit:n}=this._spanLimits;if(n===0)return this._droppedLinksCount++,this;n!==0[0]&&this.links.length>=n&&(this._droppedLinksCount===0&&t.debug("Dropping extra links."),this.links.shift(),this._droppedLinksCount++);const{attributePerLinkCountLimit:r}=this._spanLimits,s=je(e.attributes),c={};let o=0,i=0;for(const e in s){if(!Object.prototype.hasOwnProperty.call(s,e))continue;const t=s[e];if(r!==0[0]&&i>=r){o++;continue}c[e]=this._truncateToSize(t),i++}const a={context:e.context};return i>0&&(a.attributes=c),o>0&&(a.droppedAttributesCount=o),this.links.push(a),this}addLinks(e){for(const t of e)this.addLink(t);return this}setStatus(e){if(this._isSpanEnded())return this;if(e.code===x.UNSET)return this;if(this.status.code===x.OK)return this;const n={code:e.code};return e.code===x.ERROR&&(typeof e.message=="string"?n.message=e.message:e.message!=null&&t.warn(`Dropping invalid status.message of type '${typeof e.message}', expected 'string'`)),this.status=n,this}updateName(e){return this._isSpanEnded()?this:(this.name=e,this)}end(e){if(this._isSpanEnded()){t.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);return}this.endTime=this._getTime(e),this._duration=Xn(this.startTime,this.endTime),this._duration[0]<0&&(t.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&&t.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`),this._droppedLinksCount>0&&t.warn(`Dropped ${this._droppedLinksCount} links because linkCountLimit reached`),this._spanProcessor.onEnding&&this._spanProcessor.onEnding(this),this._recordEndMetrics?.(),this._ended=!0,this._spanProcessor.onEnd(this)}_getTime(e){if(typeof e=="number"&&e<=l.now())return O(e+this._performanceOffset);if(typeof e=="number")return j(e);if(e instanceof Date)return j(e.getTime());if(dn(e))return e;if(this._startTimeProvided)return j(Date.now());const t=l.now()-this._performanceStartTime;return ns(this.startTime,j(t))}isRecording(){return this._ended===!1}
1recordException(e,n){const s={};typeof e=="string"?s[Ie]=e:e&&(e.code?s[Xe]=e.code.toString():e.name&&(s[Xe]=e.name),e.message&&(s[Ie]=e.message),e.stack&&(s[Dn]=e.stack)),s[Xe]||s[Ie]?this.addEvent(Po,s,n):t.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){const e=new Error(`Operation attempted on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`);t.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){const n=this._attributeValueLengthLimit;return n<=0?(t.warn(`Attribute value limit must be positive, got ${n}`),e):typeof e=="string"?this._truncateToLimitUtil(e,n):Array.isArray(e)?e.map(e=>typeof e=="string"?this._truncateToLimitUtil(e,n):e):e}[Be](e,t,n){const s={name:this.name,kind:this.kind,spanContext:this._spanContext,parentSpanContext:this.parentSpanContext,status:this.status,startTime:this.startTime,endTime:this.endTime,duration:this._duration,ended:this._ended,attributes:this.attributes,events:this.events,links:this.links,droppedAttributesCount:this._droppedAttributesCount,droppedEventsCount:this._droppedEventsCount,droppedLinksCount:this._droppedLinksCount,instrumentationScope:this.instrumentationScope,resource:{attributes:kt(this.resource)}};return Ct("SpanImpl",s,e,t,n)}}}}),te=e({"node_modules/@opentelemetry/sdk-trace/build/esm/Sampler.js"(){(function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(g||(g={}))}}),qe=e({"node_modules/@opentelemetry/sdk-trace/build/esm/semconv.js"(){Yo="otel.component.name",Go="otel.component.type",Tn="otel.span.parent.origin",vt="otel.span.sampling_result",Zo="otel.sdk.processor.span.processed",Jo="otel.sdk.processor.span.queue.capacity",ei="otel.sdk.processor.span.queue.size",ti="otel.sdk.span.live",ni="otel.sdk.span.started",si="simple_span_processor"}});function od(e){return e?e.isRemote?"remote":"local":"none"}function sd(e){switch(e){case g.RECORD_AND_SAMPLED:return"RECORD_AND_SAMPLE";case g.RECORD:return"RECORD_ONLY";case g.NOT_RECORD:return"DROP"}}ci=e({"node_modules/@opentelemetry/sdk-trace/build/esm/TracerMetrics.js"(){te(),qe(),ri=class{startedSpans;liveSpans;constructor(e){this.startedSpans=e.createCounter(ni,{unit:"{span}",description:"The number of created spans."}),this.liveSpans=e.createUpDownCounter(ti,{unit:"{span}",description:"The number of currently live spans."})}startSpan(e,t){const n=sd(t);if(this.startedSpans.add(1,{[Tn]:od(e),[vt]:n}),t===g.NOT_RECORD)return()=>{};const s={[vt]:n};return this.liveSpans.add(1,s),()=>{this.liveSpans.add(-1,s)}}}}}),di=e({"node_modules/@opentelemetry/sdk-trace/build/esm/version.js"(){li="2.11.0"}}),hi=e({"node_modules/@opentelemetry/sdk-trace/build/esm/Tracer.js"(){s(),a(),Uo(),ci(),di(),Ve(),ui=class{_sampler;_spanLimits;_idGenerator;instrumentationScope;_resource;_spanProcessor;_tracerMetrics;constructor(e,t){this.instrumentationScope=e,this._sampler=t.sampler,this._spanLimits=t.spanLimits,this._resource=t.resource,this._idGenerator=t.idGenerator,this._spanProcessor=t.spanProcessor;const n=t.meterProvider.getMeter("@opentelemetry/sdk-trace",li);this._tracerMetrics=new ri(n)}startSpan(e,n={},s=o.active()){n.root&&(s=i.deleteSpan(s));const p=i.getSpan(s);if(zt(s)){t.debug("Instrumentation suppressed, returning Noop Span");const e=i.wrapSpanContext(ln);return e}const a=p?.spanContext(),g=this._idGenerator.generateSpanId();let d,c,l;!a||!i.isSpanContextValid(a)?c=this._idGenerator.generateTraceId():(c=a.traceId,l=a.traceState,d=a);const u=n.kind??J.INTERNAL,h=(n.links??[]).map(e=>({context:e.context,attributes:je(e.attributes)})),m=je(n.attributes),r=this._sampler.shouldSample(s,c,e,u,m,h),v=this._tracerMetrics.startSpan(a,r.decision);l=r.traceState??l;const b=r.decision===Ye.RECORD_AND_SAMPLED?y.SAMPLED:y.NONE,f={traceId:c,spanId:g,traceFlags:b,traceState:l};
1if(r.decision===Ye.NOT_RECORD){t.debug("Recording is off, propagating context in a non-recording span");const e=i.wrapSpanContext(f);return e}const j=je(Object.assign(m,r.attributes)),_=new Wo({resource:this._resource,scope:this.instrumentationScope,context:s,spanContext:f,name:e,kind:u,links:h,parentSpanContext:d,attributes:j,startTime:n.startTime,spanProcessor:this._spanProcessor,spanLimits:this._spanLimits,recordEndMetrics:v});return _}startActiveSpan(e,t,n,s){let r,c,a;if(arguments.length<2)return;arguments.length===2?a=t:arguments.length===3?(r=t,a=n):(r=t,c=n,a=s);const l=c??o.active(),d=this.startSpan(e,r,l),u=i.setSpan(l,d);return o.with(u,a,0[0],d)}[Be](e,t,n){const s={instrumentationScope:this.instrumentationScope,resource:{attributes:kt(this._resource)},spanLimits:this._spanLimits};return Ct("Tracer",s,e,t,n)}}}}),fi=e({"node_modules/@opentelemetry/sdk-trace/build/esm/MultiSpanProcessor.js"(){a(),mi=class{_spanProcessors;constructor(e){this._spanProcessors=e}forceFlush(){const e=[];for(const t of this._spanProcessors)e.push(t.forceFlush());return new Promise(t=>{Promise.all(e).then(()=>{t()}).catch(e=>{cn(e||new Error("MultiSpanProcessor: forceFlush failed")),t()})})}onStart(e,t){for(const n of this._spanProcessors)n.onStart(e,t)}onEnding(e){for(const t of this._spanProcessors)t.onEnding&&t.onEnding(e)}onEnd(e){for(const t of this._spanProcessors)t.onEnd(e)}shutdown(){const e=[];for(const t of this._spanProcessors)e.push(t.shutdown());return new Promise((t,n)=>{Promise.all(e).then(()=>{t()},n)})}}}}),ft=e({"node_modules/@opentelemetry/sdk-trace/build/esm/sampler/AlwaysOffSampler.js"(){te(),ee=class{shouldSample(){return{decision:g.NOT_RECORD}}toString(){return"AlwaysOffSampler"}}}}),Ze=e({"node_modules/@opentelemetry/sdk-trace/build/esm/sampler/AlwaysOnSampler.js"(){te(),k=class{shouldSample(){return{decision:g.RECORD_AND_SAMPLED}}toString(){return"AlwaysOnSampler"}}}}),lt=e({"node_modules/@opentelemetry/sdk-trace/build/esm/sampler/ParentBasedSampler.js"(){s(),a(),ft(),Ze(),D=class{_root;_remoteParentSampled;_remoteParentNotSampled;_localParentSampled;_localParentNotSampled;constructor(e){this._root=e.root,this._root||(cn(new Error("ParentBasedSampler must have a root sampler configured")),this._root=new k),this._remoteParentSampled=e.remoteParentSampled??new k,this._remoteParentNotSampled=e.remoteParentNotSampled??new ee,this._localParentSampled=e.localParentSampled??new k,this._localParentNotSampled=e.localParentNotSampled??new ee}shouldSample(e,t,n,s,o,a){const r=i.getSpanContext(e);return!r||!Te(r)?this._root.shouldSample(e,t,n,s,o,a):r.isRemote?r.traceFlags&y.SAMPLED?this._remoteParentSampled.shouldSample(e,t,n,s,o,a):this._remoteParentNotSampled.shouldSample(e,t,n,s,o,a):r.traceFlags&y.SAMPLED?this._localParentSampled.shouldSample(e,t,n,s,o,a):this._localParentNotSampled.shouldSample(e,t,n,s,o,a)}toString(){return`ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`}}}}),Oi=e({"node_modules/@opentelemetry/sdk-trace/build/esm/export/SpanProcessorMetrics.js"(){w(),qe(),ct=new Map,wi=class{processedSpans;queueSize;queueSizeCallback;standardAttrs;droppedAttrs;constructor(e,t,n){const s=ct.get(e)??0;if(ct.set(e,s+1),this.standardAttrs={[Go]:e,[Yo]:`${e}/${s}`},this.droppedAttrs={...this.standardAttrs,[U]:"queue_full"},this.processedSpans=t.createCounter(Zo,{unit:"{span}",description:"The number of spans for which the processing has finished, either successful or failed."}),n){const{capacity:e,getQueueSize:s}=n,o=t.createUpDownCounter(Jo,{unit:"{span}",description:"The maximum number of spans the queue of a given instance of an SDK span processor can hold."});o.add(e,this.standardAttrs),this.queueSize=t.createObservableUpDownCounter(ei,{unit:"{span}",description:"The number of spans in the queue of a given instance of an SDK span processor."}),this.queueSizeCallback=e=>e.observe(s(),this.standardAttrs),this.queueSize.addCallback(this.queueSizeCallback)}}dropSpans(e){this.processedSpans.add(e,this.droppedAttrs)}finishSpans(e,t){if(!t){this.processedSpans.add(e,this.standardAttrs);return}const n={...this.standardAttrs,[U]:t.name};this.processedSpans.add(e,n)}shutdown(){this.queueSize&&this.queueSizeCallback&&this.queueSize.removeCallback(this.queueSizeCallback)}}}});function xi(e){for(let t=0;t<e.length;t++)e[t]=Math.random()*256>>>0;for(let t=0;t<e.length;t++)if(e[t]>0)return;e[e.length-1]=1}function Ci(e){let t="";for(let n=0;n<e.length;n++)t+=Mi[e[n]];return t}Ti=e({"node_modules/@opentelemetry/sdk-trace/build/esm/platform/browser/RandomIdGenerator.js"(){Ei=16,ki=8,at=new Uint8Array(Ei),it=new Uint8Array(ki),Mi=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0")),Fi=class{generateTraceId(){return xi(at),Ci(at)}generateSpanId(){return xi(it),Ci(it)}}}}),zi=e({"node_modules/@opentelemetry/sdk-trace/build/esm/platform/browser/index.js"(){Ti()}}
1),Li=e({"node_modules/@opentelemetry/sdk-trace/build/esm/TracerProvider.js"(){s(),At(),hi(),fi(),lt(),Ze(),zi(),Ve(),function(e){e[e.resolved=0]="resolved",e[e.timeout=1]="timeout",e[e.error=2]="error",e[e.unresolved=3]="unresolved"}(F||(F={})),Ni=class{_resource;_activeSpanProcessor;_forceFlushTimeoutMillis;_tracerOptions;_tracers=new Map;constructor(e={}){this._forceFlushTimeoutMillis=e.forceFlushTimeoutMillis??3e4,this._resource=e.resource??fd();const t=e.spanProcessors??[];this._activeSpanProcessor=new mi(t),this._tracerOptions={resource:this._resource,sampler:e.sampler??new D({root:new k}),spanLimits:{attributeCountLimit:e.spanLimits?.attributeCountLimit??128,attributeValueLengthLimit:e.spanLimits?.attributeValueLengthLimit??1/0,eventCountLimit:e.spanLimits?.eventCountLimit??128,linkCountLimit:e.spanLimits?.linkCountLimit??128,attributePerEventCountLimit:e.spanLimits?.attributePerEventCountLimit??128,attributePerLinkCountLimit:e.spanLimits?.attributePerLinkCountLimit??128},idGenerator:e.idGenerator||new Fi,spanProcessor:this._activeSpanProcessor,meterProvider:e.meterProvider??{getMeter(){return wt()}}}}getTracer(e,t,n){const s=`${e}@${t||""}:${n?.schemaUrl||""}`;return this._tracers.has(s)||this._tracers.set(s,new ui({name:e,version:t,schemaUrl:n?.schemaUrl},this._tracerOptions)),this._tracers.get(s)}forceFlush(e){const t=e?.timeoutMillis??this._forceFlushTimeoutMillis,n=this._activeSpanProcessor._spanProcessors.map(e=>new Promise(n=>{let s;const o=setTimeout(()=>{n(new Error(`Span processor did not completed within timeout period of ${t} ms`)),s=F.timeout},t);e.forceFlush().then(()=>{clearTimeout(o),s!==F.timeout&&(s=F.resolved,n(s))}).catch(e=>{clearTimeout(o),s=F.error,n(e)})}));return new Promise((e,t)=>{Promise.all(n).then(n=>{const s=n.filter(e=>e!==F.resolved);s.length>0?t(s):e()}).catch(e=>t([e]))})}shutdown(){return this._activeSpanProcessor.shutdown()}[Be](e,t,n){const s=this._activeSpanProcessor._spanProcessors,o={resource:{attributes:kt(this._resource)},tracers:Array.from(this._tracers.keys()),spanProcessors:s.map(e=>e.constructor?.name??"SpanProcessor")};return Ct("TracerProvider",o,e,t,n)}}}}),Pi=e({"node_modules/@opentelemetry/sdk-trace/build/esm/export/ConsoleSpanExporter.js"(){a(),Ri=class{export(e,t){return this._sendSpans(e,t)}shutdown(){return this._sendSpans([]),this.forceFlush()}forceFlush(){return Promise.resolve()}_exportInfo(e){return{resource:{attributes:e.resource.attributes},instrumentationScope:e.instrumentationScope,traceId:e.spanContext().traceId,parentSpanContext:e.parentSpanContext,traceState:e.spanContext().traceState?.serialize(),name:e.name,id:e.spanContext().spanId,kind:e.kind,timestamp:Zn(e.startTime),duration:Zn(e.duration),attributes:e.attributes,status:e.status,events:e.events,links:e.links}}_sendSpans(e,t){for(const t of e)console.dir(this._exportInfo(t),{depth:3});if(t)return t({code:m.SUCCESS})}}}}
1),Ii=e({"node_modules/@opentelemetry/sdk-trace/build/esm/export/SimpleSpanProcessor.js"(){s(),a(),Oi(),qe(),Hi=class{_exporter;_metrics;_shutdownOnce;_pendingExports;constructor(e){this._exporter=e.exporter,this._shutdownOnce=new jo(this._shutdown,this),this._pendingExports=new Set;const t=e.selfObsMeterProvider?e.selfObsMeterProvider.getMeter("@opentelemetry/sdk-trace"):wt();this._metrics=new wi(si,t)}async forceFlush(){let e,t=!1;try{await Promise.all(Array.from(this._pendingExports))}catch(n){e=n,t=!0}if(this._exporter.forceFlush&&await this._exporter.forceFlush(),t)throw e}onStart(){}onEnd(e){if(this._shutdownOnce.isCalled)return;if((e.spanContext().traceFlags&y.SAMPLED)===0)return;const t=this._doExport(e);this._pendingExports.add(t),void t.then(()=>{this._pendingExports.delete(t)},e=>{cn(e),this._pendingExports.delete(t)})}async _doExport(e){e.resource.asyncAttributesPending&&await e.resource.waitForAsyncAttributes?.();const t=await Oo._export(this._exporter,[e]);if(this._metrics.finishSpans(1,t.error),t.code!==m.SUCCESS)throw t.error??new Error(`SimpleSpanProcessor: span export failed (status ${t})`)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return this._metrics.shutdown(),this._exporter.shutdown()}}}}),Vi=e({"node_modules/@opentelemetry/sdk-trace/build/esm/sampler/TraceIdRatioBasedSampler.js"(){s(),te(),$t=class{_ratio;_upperBound;constructor(e=0){this._ratio=this._normalize(e),this._upperBound=this._ratio===1?4294967296:Math.floor(this._ratio*4294967295)}shouldSample(e,t){return{decision:Na(t)&&this._accumulate(t)<this._upperBound?g.RECORD_AND_SAMPLED:g.NOT_RECORD}}toString(){return`TraceIdRatioBased{${this._ratio}}`}_normalize(e){return typeof e!="number"||isNaN(e)?0:e>=1?1:e<=0?0:e}_accumulate(e){let t=0;for(let n=0;n<32;n+=8){let s=0;for(let o=0;o<8;o++){const t=e.charCodeAt(n+o),i=t<58?t-48:t<71?t-55:t-87;s=s<<4|i}t=(t^s)>>>0}return t}}}}),G=e({"node_modules/@opentelemetry/sdk-trace/build/esm/index.js"(){Li(),Pi(),Ii(),ft(),Ze(),lt(),Vi()}});function td(){return{sampler:ed(),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:d("OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT")??1/0,attributeCountLimit:d("OTEL_ATTRIBUTE_COUNT_LIMIT")??128},spanLimits:{attributeValueLengthLimit:d("OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT")??1/0,attributeCountLimit:d("OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT")??128,linkCountLimit:d("OTEL_SPAN_LINK_COUNT_LIMIT")??128,eventCountLimit:d("OTEL_SPAN_EVENT_COUNT_LIMIT")??128,attributePerEventCountLimit:d("OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT")??128,attributePerLinkCountLimit:d("OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT")??128}}}function ed(){const e=Kd("OTEL_TRACES_SAMPLER")??p.ParentBasedAlwaysOn;switch(e){case p.AlwaysOn:return new k;case p.AlwaysOff:return new ee;case p.ParentBasedAlwaysOn:return new D({root:new k});case p.ParentBasedAlwaysOff:return new D({root:new ee});case p.TraceIdRatio:return new $t(Ki());case p.ParentBasedTraceIdRatio:return new D({root:new $t(Ki())});default:return t.error(`OTEL_TRACES_SAMPLER value "${e}" invalid, defaulting to "${p.ParentBasedAlwaysOn}".`),new D({root:new k})}}function Ki(){const e=d("OTEL_TRACES_SAMPLER_ARG");return e==null?(t.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${X}.`),X):e<0||e>1?(t.error(`OTEL_TRACES_SAMPLER_ARG=${e} was given, but it is out of range ([0..1]), defaulting to ${X}.`),X):e}Gi=e({"node_modules/@opentelemetry/sdk-trace-base/build/esm/config.js"(){s(),a(),G(),function(e){e.AlwaysOff="always_off",e.AlwaysOn="always_on",e.ParentBasedAlwaysOff="parentbased_always_off",e.ParentBasedAlwaysOn="parentbased_always_on",e.ParentBasedTraceIdRatio="parentbased_traceidratio",e.TraceIdRatio="traceidratio"}(p||(p={})),X=1}});function Jl(e){const t=Object.assign({},e.spanLimits);return t.attributeCountLimit=e.spanLimits?.attributeCountLimit??e.generalLimits?.attributeCountLimit??d("OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT")??d("OTEL_ATTRIBUTE_COUNT_LIMIT")??Qi,t.attributeValueLengthLimit=e.spanLimits?.attributeValueLengthLimit??e.generalLimits?.attributeValueLengthLimit??d("OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT")??d("OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT")??Zi,Object.assign({},e,{spanLimits:t})}Ji=e({"node_modules/@opentelemetry/sdk-trace-base/build/esm/utility.js"(){a(),Qi=128,Zi=1/0}}
1),ta=e({"node_modules/@opentelemetry/sdk-trace-base/build/esm/BasicTracerProvider-shim.js"(){a(),Gi(),Ji(),G(),ea=class extends Ni{constructor(e={}){const t=Td({},td(),Jl(e));delete t.generalLimits,super(t)}}}}),sa=e({"node_modules/@opentelemetry/sdk-trace-base/build/esm/SimpleSpanProcessor-shim.js"(){G(),pt=class extends Hi{constructor(e){super({exporter:e})}}}}),gt=e({"node_modules/@opentelemetry/sdk-trace-base/build/esm/index-shim.js"(){ta(),sa(),G()}}),aa=e({"node_modules/@opentelemetry/sdk-trace-web/build/esm/StackContextManager.js"(){s(),ia=class{_enabled=!1;_currentContext=v;_bindFunction(e=v,t){const s=this,n=function(...n){return s.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 e===0[0]&&(e=this.active()),typeof t=="function"?this._bindFunction(e,t):t}disable(){return this._currentContext=v,this._enabled=!1,this}enable(){return this._enabled?this:(this._enabled=!0,this._currentContext=v,this)}with(e,t,n,...s){const o=this._currentContext;this._currentContext=e||v;try{return t.call(n,...s)}finally{this._currentContext=o}}}}});function Xl(e){if(e===null)return;if(e===0[0]){const e=new ia;e.enable(),o.setGlobalContextManager(e);return}e.enable(),o.setGlobalContextManager(e)}function Gl(e){if(e===null)return;if(e===0[0]){h.setGlobalPropagator(new us({propagators:[new Rs,new Js]}));return}h.setGlobalPropagator(e)}da=e({"node_modules/@opentelemetry/sdk-trace-web/build/esm/WebTracerProvider.js"(){gt(),aa(),s(),a(),la=class extends ea{constructor(e={}){super(e)}register(e={}){i.setGlobalTracerProvider(this),Gl(e.propagator),Xl(e.contextManager)}}}}),yt=e({"node_modules/@opentelemetry/sdk-trace-web/build/esm/enums/PerformanceTimingNames.js"(){(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={}))}}),pa=e({"node_modules/@opentelemetry/sdk-trace-web/build/esm/semconv.js"(){ma="http.response_content_length",fa="http.response_content_length_uncompressed"}});function Yl(){return Nt||(Nt=document.createElement("a")),Nt}function R(e,t){return t in e}function r(e,t,n,s=!0){return R(n,t)&&typeof n[t]=="number"&&!(s&&n[t]===0)?e.addEvent(t,n[t]):0[0]}function H(e,t,s=!1,o,i){if(o===0[0]&&(o=t[n.START_TIME]!==0),s||(r(e,n.FETCH_START,t,o),r(e,n.DOMAIN_LOOKUP_START,t,o),r(e,n.DOMAIN_LOOKUP_END,t,o),r(e,n.CONNECT_START,t,o),r(e,n.SECURE_CONNECTION_START,t,o),r(e,n.CONNECT_END,t,o),r(e,n.REQUEST_START,t,o),r(e,n.RESPONSE_START,t,o),r(e,n.RESPONSE_END,t,o)),!i){const s=t[n.ENCODED_BODY_SIZE];s!==0[0]&&e.setAttribute(ma,s);const o=t[n.DECODED_BODY_SIZE];o!==0[0]&&s!==o&&e.setAttribute(fa,o)}}function qc(e){return e.slice().sort((e,t)=>{const s=e[n.FETCH_START],o=t[n.FETCH_START];return s>o?1:s<o?-1:0})}function _a(){return typeof location!="undefined"?location.origin:0[0]}function wa(e,t,s,o,i=new WeakSet,a){const l=C(e);e=l.toString();const r=Rl(e,t,s,o,i,a);if(r.length===0)return{mainRequest:0[0]};if(r.length===1)return{mainRequest:r[0]};const c=qc(r);if(l.origin!==_a()&&c.length>1){let e=c[0],t=xl(c,e[n.RESPONSE_END],s);const o=e[n.RESPONSE_END],i=t[n.FETCH_START];return i<o&&(t=e,e=0[0]),{corsPreFlightRequest:e,mainRequest:t}}return{mainRequest:r[0]}}function xl(e,t,s){const a=_(s),r=_(fe(t));let i=e[1],o;const c=e.length;for(let t=1;t<c;t++){const s=e[t],d=_(fe(s[n.FETCH_START])),u=_(fe(s[n.RESPONSE_END])),l=a-u;d>
1=r&&(!o||l<o)&&(o=l,i=s)}return i}function Rl(e,t,s,o,i,a){const c=_(t),l=_(s);let r=o.filter(t=>{const s=_(fe(t[n.FETCH_START])),o=_(fe(t[n.RESPONSE_END]));return t.initiatorType.toLowerCase()===(a||"xmlhttprequest")&&t.name===e&&s>=c&&o<=l});return r.length>0&&(r=r.filter(e=>!i.has(e))),r}function C(e){if(typeof URL=="function")return new URL(e,typeof document!="undefined"?document.baseURI:typeof location!="undefined"?location.href:0[0]);const t=Yl();return t.href=e,t}function Ea(e,t){if(e.nodeType===Node.DOCUMENT_NODE)return"/";const n=Ul(e,t);if(t&&n.indexOf("@id")>0)return n;let s="";return e.parentNode&&(s+=Ea(e.parentNode,t)),s+=n,s}function Wl(e){if(!e.parentNode)return 0;const n=[e.nodeType];e.nodeType===Node.CDATA_SECTION_NODE&&n.push(Node.TEXT_NODE);let t=Array.from(e.parentNode.childNodes);return t=t.filter(t=>{const s=t.localName;return n.indexOf(t.nodeType)>=0&&s===e.localName}),t.length>=1?t.indexOf(e)+1:0}function Ul(e,t){const s=e.nodeType,o=Wl(e);let n;if(s===Node.ELEMENT_NODE){const s=e.getAttribute("id");if(t&&s)return`//*[@id="${s}"]`;n=e.localName}else if(s===Node.TEXT_NODE||s===Node.CDATA_SECTION_NODE)n="text()";else if(s===Node.COMMENT_NODE)n="comment()";else return"";return n&&o>1?`/${n}[${o}]`:`/${n}`}function Sa(e,t){let n=t||[];(typeof n=="string"||n instanceof RegExp)&&(n=[n]);const s=C(e);return s.origin===_a()||n.some(t=>fo(e,t))}Fa=e({"node_modules/@opentelemetry/sdk-trace-web/build/esm/utils.js"(){yt(),a(),pa()}}),S=e({"node_modules/@opentelemetry/sdk-trace-web/build/esm/index.js"(){da(),yt(),Fa()}}),Ht=e({"node_modules/@opentelemetry/api-logs/build/esm/NoopLogger.js"(){Lt=class{emit(){}enabled(){return!1}},Da=new Lt}});function zl(e,t,n){return s=>s===e?t:n}Ia=e({"node_modules/@opentelemetry/api-logs/build/esm/internal/global-utils.js"(){de=Symbol.for("io.opentelemetry.js.api.logs"),V=globalThis,Kt=1}}),en=e({"node_modules/@opentelemetry/api-logs/build/esm/NoopLoggerProvider.js"(){Ht(),zn=class{getLogger(){return new Lt}},Gt=new zn}}),Ua=e({"node_modules/@opentelemetry/api-logs/build/esm/ProxyLogger.js"(){Ht(),Wa=class{constructor(e,t,n,s){this._provider=e,this.name=t,this.version=n,this.options=s}emit(e){this._getLogger().emit(e)}enabled(e){return this._getLogger().enabled(e)}_getLogger(){if(this._delegate)return this._delegate;const e=this._provider._getDelegateLogger(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):Da}}}}),qa=e({"node_modules/@opentelemetry/api-logs/build/esm/ProxyLoggerProvider.js"(){en(),Ua(),bn=class{getLogger(e,t,n){var s;return(s=this._getDelegateLogger(e,t,n))!==null&&s!==0[0]?s:new Wa(this,e,t,n)}_getDelegate(){var e;return(e=this._delegate)!==null&&e!==0[0]?e:Gt}_setDelegate(e){this._delegate=e}_getDelegateLogger(e,t,n){var s;return(s=this._delegate)===null||s===0[0]?0[0]:s.getLogger(e,t,n)}}}}),Ga=e({"node_modules/@opentelemetry/api-logs/build/esm/api/logs.js"(){Ia(),en(),qa(),Ya=class _LogsAPI{constructor(){this._proxyLoggerProvider=new bn}static getInstance(){return this._instance||(this._instance=new _LogsAPI),this._instance}setGlobalLoggerProvider(e){return V[de]?this.getLoggerProvider():(V[de]=zl(Kt,e,Gt),this._proxyLoggerProvider._setDelegate(e),e)}getLoggerProvider(){var e,t;return(t=(e=V[de])===null||e===0[0]?0[0]:e.call(V,Kt))!==null&&t!==0[0]?t:this._proxyLoggerProvider}getLogger(e,t,n){return this.getLoggerProvider().getLogger(e,t,n)}disable(){delete V[de],this._proxyLoggerProvider=new bn}}}}),yn=e({"node_modules/@opentelemetry/api-logs/build/esm/index.js"(){Ga(),jn=Ya.getInstance()}});function Yc(e,t,n,s){for(let i=0,a=e.length;i<a;i++){const o=e[i];t&&o.setTracerProvider(t),n&&o.setMeterProvider(n),s&&o.setLoggerProvider&&o.setLoggerProvider(s),o.getConfig().enabled||o.enable()}}function Ol(e){e.forEach(e=>e.disable())}er=e({"node_modules/@opentelemetry/instrumentation/build/esm/autoLoaderUtils.js"(){}});function wl(e){const n=e.tracerProvider||i.getTracerProvider(),s=e.meterProvider||dt.getMeterProvider(),o=e.loggerProvider||jn.getLoggerProvider(),t=e.instrumentations?.flat()??[];return Yc(t,n,s,o),()=>{Ol(t)}}nr=e({"node_modules/@opentelemetry/instrumentation/build/esm/autoLoader.js"(){s(),yn(),er()}});function ae(e,t,n){const s=!!e[t]&&Object.prototype.propertyIsEnumerable.call(e,t);Object.defineProperty(e,t,{configurable:!0,enumerable:s,writable:!0,value:n})}function ze(e){e&&e.logger&&(typeof e.logger!="function"?c("new logger isn't a function, not replacing"):c=e.logger)}dr=e({"node_modules/@opentelemetry/instrumentation/build/esm/shimmer.js"(){c=console.error.bind(console),$e=(e,t,n
1)=>{if(!e||!e[t]){c("no original function "+String(t)+" to wrap");return}if(!n){c("no wrapper function"),c((new Error).stack);return}const o=e[t];if(typeof o!="function"||typeof n!="function"){c("original object and wrapper must be functions");return}const s=n(o,t);return ae(s,"__original",o),ae(s,"__unwrap",()=>{e[t]===s&&ae(e,t,o)}),ae(s,"__wrapped",!0),ae(e,t,s),s},On=(e,t,n)=>{if(!e){c("must provide one or more modules to patch"),c((new Error).stack);return}if(Array.isArray(e)||(e=[e]),!t||!Array.isArray(t)){c("must provide one or more functions to wrap on modules");return}e.forEach(e=>{t.forEach(t=>{$e(e,t,n)})})},Ge=(e,t)=>{if(!e||!e[t]){c("no function to unwrap."),c((new Error).stack);return}const n=e[t];if(n.__unwrap){n.__unwrap();return}c("no original to unwrap to -- has "+String(t)+" already been unwrapped?")},xn=(e,t)=>{if(!e){c("must provide one or more modules to patch"),c((new Error).stack);return}if(Array.isArray(e)||(e=[e]),!t||!Array.isArray(t)){c("must provide one or more functions to unwrap on modules");return}e.forEach(e=>{t.forEach(t=>{Ge(e,t)})})},ze.wrap=$e,ze.massWrap=On,ze.unwrap=Ge,ze.massUnwrap=xn}}),hr=e({"node_modules/@opentelemetry/instrumentation/build/esm/instrumentation.js"(){s(),yn(),dr(),ur=class{_config={};_tracer;_meter;_logger;_diag;instrumentationName;instrumentationVersion;constructor(e,n,s){this.instrumentationName=e,this.instrumentationVersion=n,this.setConfig(s),this._diag=t.createComponentLogger({namespace:e}),this._tracer=i.getTracer(e,n),this._meter=dt.getMeter(e,n),this._logger=jn.getLogger(e,n),this._updateMetricInstruments()}_wrap=$e;_unwrap=Ge;_massWrap=On;_massUnwrap=xn;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(){const 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,n,s){if(!e)return;try{e(n,s)}catch(e){this._diag.error("Error running span customization hook due to exception in handler",{triggerName:t},e)}}}}}),fr=e({"node_modules/@opentelemetry/instrumentation/build/esm/platform/browser/instrumentation.js"(){hr(),Z=class extends ur{constructor(e,t,n){super(e,t,n),this._config.enabled&&this.enable()}}}}),pr=e({"node_modules/@opentelemetry/instrumentation/build/esm/platform/browser/index.js"(){fr()}});function Q(e,t,n){let s,o;try{o=e()}catch(e){s=e}finally{if(t(s,o),s&&!n)throw s;return o}}vr=e({"node_modules/@opentelemetry/instrumentation/build/esm/utils.js"(){}}),P=e({"node_modules/@opentelemetry/instrumentation/build/esm/index.js"(){nr(),pr(),vr()}}),Wt=e({"node_modules/@opentelemetry/instrumentation-document-load/build/esm/enums/AttributeNames.js"(){(function(e){e.DOCUMENT_LOAD="documentLoad",e.DOCUMENT_FETCH="documentFetch",e.RESOURCE_FETCH="resourceFetch"})(Y||(Y={}))}}),Or=e({"node_modules/@opentelemetry/instrumentation-document-load/build/esm/version.js"(){_r="0.67.0",wr="@opentelemetry/instrumentation-document-load"}}),Cr=e({"node_modules/@opentelemetry/instrumentation-document-load/build/esm/enums/EventNames.js"(){(function(e){e.FIRST_PAINT="firstPaint",e.FIRST_CONTENTFUL_PAINT="firstContentfulPaint"})(Qe||(Qe={}))}}),Sr=e({"node_modules/@opentelemetry/instrumentation-document-load/build/esm/utils.js"(){a(),S(),Cr(),Er=()=>{const e={},t=l.getEntriesByType?.("navigation")[0];if(t){const s=Object.values(n);s.forEach(n=>{if(R(t,n)){const s=t[n];typeof s=="number"&&(e[n]=s)}})}else{const s=l,t=s.timing;if(t){const s=Object.values(n);s.forEach(n=>{if(R(t,n)){const s=t[n];typeof s=="number"&&(e[n]=s)}})}}return e},fn={"first-paint":Qe.FIRST_PAINT,"first-contentful-paint":Qe.FIRST_CONTENTFUL_PAINT},Ar=e=>{const t=l.getEntriesByType?.("paint");t&&t.forEach(({name:t,startTime:n})=>{R(fn,t)&&e.addEvent(fn[t],n)})}}}),Fr=e({"node_modules/@opentelemetry/instrumentation-document-load/build/esm/instrumentation.js"(){s(),a(),S(),P(),w(),Wt(),Or(),Sr(),Mr=class extends Z{component="document-load";version="1";moduleName=this.component;constructor(e={}){super(wr,_r,e)}init(){}_onDocumentLoaded(){window.setTimeout(()=>{this._collectPerformance()})}_addResourcesSpans(e){const t=l.getEntriesByType?.("resource");t&&t.forEach(t=>{this._initResourceSpan(t,e)})}_collectPerformance(){const t=Array.from(document.getElementsByTagName("meta")).find(e=>e.getAttribute("name")===q),e=Er(),s=t&&t.content||"";o.with(h.extract(v,{traceparent:s}),()=>{const t=this._startSpan(Y.DOCUMENT_LOAD,n.FETCH_START,e);if(!t)return;o.with(i.setSpan(o.active(),t),()=>{const t=this._startSpan(Y.DOCUMENT_FETCH,n.FETCH_START,e);t&&(t.setAttribute(N,location.href),o.with(i.setSpan(o.active(),t),()=>{H(t,e,this.getConfig().ignoreNetworkEvents),this._addCustomAttributesOnSpan(t,this.getConfig().applyCustomAttributesOnSpan?.documentFetch),this._endSpan(t,n.RESPONSE_END,e)}))}),t.setAttribute(N,location.href),t.setAttribute(Ln,navigator.userAgent),this._addResourcesSpans(t),this.getConfig().ignoreNetworkEvents||(r(t,n.FETCH_START,e),r(t,n.UNLOAD_EVENT_START,e),r(t,n.UNLOAD_EVENT_END,e),r(t,n.DOM_INTERACTIVE,e),r(t,n.DOM_CONTENT_LOADED_EVENT_START,e),r(t,n.DOM_CONTENT_LOADED_EVENT_END,e),r(t,n.DOM_COMPLETE,e),r(t,n.LOAD_
1EVENT_START,e),r(t,n.LOAD_EVENT_END,e)),this.getConfig().ignorePerformancePaintEvents||Ar(t),this._addCustomAttributesOnSpan(t,this.getConfig().applyCustomAttributesOnSpan?.documentLoad),this._endSpan(t,n.LOAD_EVENT_END,e)})}_endSpan(e,t,n){e&&(R(n,t)?e.end(n[t]):e.end())}_initResourceSpan(e,t){const s=this._startSpan(Y.RESOURCE_FETCH,n.FETCH_START,e,t);s&&(s.setAttribute(N,e.name),H(s,e,this.getConfig().ignoreNetworkEvents),this._addCustomAttributesOnResourceSpan(s,e,this.getConfig().applyCustomAttributesOnSpan?.resourceFetch),this._endSpan(s,n.RESPONSE_END,e))}_startSpan(e,t,n,s){if(R(n,t)&&typeof n[t]=="number"){const a=this.tracer.startSpan(e,{startTime:n[t]},s?i.setSpan(o.active(),s):0[0]);return a}}_waitForPageLoad(){window.document.readyState==="complete"?this._onDocumentLoaded():(this._onDocumentLoaded=this._onDocumentLoaded.bind(this),window.addEventListener("load",this._onDocumentLoaded))}_addCustomAttributesOnSpan(e,t){t&&Q(()=>t(e),e=>{if(!e)return;this._diag.error("addCustomAttributesOnSpan",e)},!0)}_addCustomAttributesOnResourceSpan(e,t,n){n&&Q(()=>n(e,t),e=>{if(!e)return;this._diag.error("addCustomAttributesOnResourceSpan",e)},!0)}enable(){window.removeEventListener("load",this._onDocumentLoaded),this._waitForPageLoad()}disable(){window.removeEventListener("load",this._onDocumentLoaded)}}}}),Tr=e({"node_modules/@opentelemetry/instrumentation-document-load/build/esm/index.js"(){Fr(),Wt()}}),Dr=e({"node_modules/@opentelemetry/instrumentation-fetch/build/esm/semconv.js"(){zr="http.request.body.size"}});function _l(...e){if(e[0]instanceof URL||typeof e[0]=="string"){const t=e[1];if(!t?.body)return Promise.resolve();if(t.body instanceof ReadableStream){const{body:e,length:n}=yl(t.body);return t.body=e,n}return Promise.resolve(bl(t.body))}else{const t=e[0];return t?.body?t.clone().text().then(e=>an(e)):Promise.resolve()}}function yl(e){if(!e.pipeThrough)return Ut.warn("Platform has ReadableStream but not pipeThrough!"),{body:e,length:Promise.resolve(0[0])};let t=0,n;const s=new Promise(e=>{n=e}),o=new TransformStream({start(){},async transform(e,n){const s=await e;t+=s.byteLength,n.enqueue(e)},flush(){n(t)}});return{body:e.pipeThrough(o),length:s}}function jl(e){return typeof Document!="undefined"&&e instanceof Document}function bl(e){return jl(e)?(new XMLSerializer).serializeToString(document).length:typeof e=="string"?an(e):e instanceof Blob?e.size:e instanceof FormData?vl(e):e instanceof URLSearchParams?an(e.toString()):e.byteLength!==0[0]?e.byteLength:(Ut.warn("unknown body type"),0[0])}function an(e){return Ur.encode(e).byteLength}function vl(e){let t=0;for(const[s,n]of e.entries())t+=s.length,n instanceof Blob?t+=n.size:t+=n.length;return t}function pl(e){const n=fl(),t=e.toUpperCase();return t in n?t:"_OTHER"}function fl(){if(ie===0[0]){const e=Gn("OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS");e&&e.length>0?(ie={},e.forEach(e=>{ie[e]=!0})):ie=Kr}return ie}function ql(e){const t=Number(e.port||Yr[e.protocol]);return t&&!isNaN(t)?t:0[0]}Gr=e({"node_modules/@opentelemetry/instrumentation-fetch/build/esm/utils.js"(){s(),a(),Ut=t.createComponentLogger({namespace:"@opentelemetry/opentelemetry-instrumentation-fetch/utils"}),Ur=new TextEncoder,Kr={CONNECT:!0,DELETE:!0,GET:!0,HEAD:!0,OPTIONS:!0,PATCH:!0,POST:!0,PUT:!0,TRACE:!0,QUERY:!0},Yr={"https:":"443","http:":"80"}}}),Qr=e({"node_modules/@opentelemetry/instrumentation-fetch/build/esm/version.js"(){Ot="0.222.0"}}),tc=e({"node_modules/@opentelemetry/instrumentation-fetch/build/esm/fetch.js"(){s(),P(),a(),S(),Dr(),w(),Gr(),Qr(),Zr=300,jt=typeof PerformanceObserver!="undefined",ec=class extends Z{component="fetch";version=Ot;moduleName=this.component;_usedResources=new WeakSet;_tasksCount=0;constructor(e={}){super("@opentelemetry/instrumentation-fetch",Ot,e)}init(){}_addChildSpan(e,t){const s=this.tracer.startSpan("CORS Preflight",{startTime:t[n.FETCH_START]},i.setSpan(o.active(),e));H(s,t,this.getConfig().ignoreNetworkEvents,0[0],!0),s.end(t[n.RESPONSE_END])}_addFinalSpanAttributes(e,t){const n=C(t.url);e.setAttribute(kn,t.status),e.setAttribute(An,n.hostname);const s=ql(n);s&&e.setAttribute(Sn,s)}_addHeaders(e,t){if(!Sa(t,this.getConfig().propagateTraceHeaderCorsUrls)){const e={};h.inject(o.active(),e),Object.keys(e).length>0&&this._diag.debug("headers inject skipped due to CORS policy");return}if(e instanceof Request)h.inject(o.active(),e.headers,{set:(e,t,n)=>e.set(t,typeof n=="string"?n:String(n))});else{const t=new Headers(e.headers);h.inject(o.active(),t,{set:(e,t,n)=>e.set(t,typeof n=="string"?n:String(n))}),e.headers=t}}_clearResources(){this._tasksCount===0&&this.getConfig().clearTimingResources&&(performance.clearResourceTimings(),this._usedResources=new WeakSet)}_createSpan(e,t={}){if(po(e,this.getConfig().ignoreUrls)){this._diag.debug("ignoring span as url matches ignored url");return}const n={},o=t.method,s=pl(t.method||"GET"),i=s;return n[Cn]=s,s!==o&&(n[En]=o),n[N]=e,this.tracer.startSpan(i,{kind:J.CLIENT,attributes:n}
1)}_findResourceAndAddNetworkEvents(e,t,n){let s=t.entries;if(!s.length){if(!performance.getEntriesByType)return;s=performance.getEntriesByType("resource")}const o=wa(t.spanUrl,t.startTime,n,s,this._usedResources,"fetch");if(o.mainRequest){const n=o.mainRequest;this._markResourceAsUsed(n);const t=o.corsPreFlightRequest;t&&(this._addChildSpan(e,t),this._markResourceAsUsed(t)),H(e,n,this.getConfig().ignoreNetworkEvents,0[0],!0)}}_markResourceAsUsed(e){this._usedResources.add(e)}_endSpan(e,t,n){const s=j(Date.now()),o=O();this._addFinalSpanAttributes(e,n),n.status>=400&&(e.setStatus({code:x.ERROR}),e.setAttribute(U,String(n.status))),setTimeout(()=>{t.observer?.disconnect(),this._findResourceAndAddNetworkEvents(e,t,o),this._tasksCount--,this._clearResources(),e.end(s)},Zr)}_patchConstructor(){return e=>{const t=this;return function(...n){if(!t._isEnabled)return e.apply(this,n);const l=this,a=C(n[0]instanceof Request?n[0].url:String(n[0])).href;let s;n[0]instanceof Request?s=n[1]!=null?new Request(n[0],n[1]):n[0]:s=n[1]||{};const r=t._createSpan(a,s);if(!r)return e.apply(this,n);const c=t._prepareSpanData(a);t.getConfig().measureRequestSize&&_l(...n).then(e=>{if(!e)return;r.setAttribute(zr,e)}).catch(e=>{t._diag.warn("getFetchBodyLength",e)});function d(e,n){t._applyAttributesAfterFetch(e,s,n),t._endSpan(e,c,{status:n.status||0,statusText:n.message,url:a})}function u(e,n){t._applyAttributesAfterFetch(e,s,n),n.status>=200&&n.status<400?t._endSpan(e,c,n):t._endSpan(e,c,{status:n.status,statusText:n.statusText,url:a})}function h(e,n){try{const s=n.clone(),t=s.body;if(t){const o=t.getReader(),s=()=>{o.read().then(({done:t})=>{t?u(e,n):s()},t=>{d(e,t)})};s()}else u(e,n)}catch(n){t._diag.error("Failed to read fetch response body",n),t._endSpan(e,c,{status:0,url:a})}return n}function m(e,n){try{d(e,n)}catch(s){t._diag.error("Failed to end span on fetch error",s),t._endSpan(e,c,{status:n.status||0,url:a})}throw n}return o.with(i.setSpan(o.active(),r),()=>(t._callRequestHook(r,s),t._addHeaders(s,a),t._tasksCount++,e.apply(l,s instanceof Request?[s]:[a,s]).then(h.bind(l,r),m.bind(l,r))))}}}_applyAttributesAfterFetch(e,t,n){const s=this.getConfig().applyCustomAttributesOnSpan;s&&Q(()=>s(e,t,n),e=>{if(!e)return;this._diag.error("applyCustomAttributesOnSpan",e)},!0)}_callRequestHook(e,t){const n=this.getConfig().requestHook;n&&Q(()=>n(e,t),e=>{if(!e)return;this._diag.error("requestHook",e)},!0)}_prepareSpanData(e){const n=O(),t=[];if(typeof PerformanceObserver!="function")return{entries:t,startTime:n,spanUrl:e};const s=new PerformanceObserver(n=>{const s=n.getEntries();s.forEach(n=>{n.initiatorType==="fetch"&&n.name===e&&t.push(n)})});return s.observe({entryTypes:["resource"]}),{entries:t,observer:s,startTime:n,spanUrl:e}}enable(){if(!jt){this._diag.warn("this instrumentation is intended for web usage only, it does not instrument server-side fetch()");return}if(this._isEnabled)return;if(this._isFetchPatched){this._diag.debug("fetch constructor already patched"),this._isEnabled=!0;return}try{this._wrap(globalThis,"fetch",this._patchConstructor()),this._isFetchPatched=!0,this._isEnabled=!0}catch(e){this._diag.warn("Failed to patch globalThis.fetch; instrumentation will not be enabled. Another script may have locked globalThis.fetch via Object.defineProperty.",e)}}disable(){if(!jt)return;if(!this._isEnabled)return;this._isEnabled=!1,this._usedResources=new WeakSet}}}}),nc=e({"node_modules/@opentelemetry/instrumentation-fetch/build/esm/index.js"(){tc()}}),oc=e({"node_modules/@opentelemetry/instrumentation-user-interaction/build/esm/enums/AttributeNames.js"(){(function(e){e.EVENT_TYPE="event_type",e.TARGET_ELEMENT="target_element",e.TARGET_XPATH="target_xpath",e.URL_FULL="url.full"})(B||(B={}))}}),rc=e({"node_modules/@opentelemetry/instrumentation-user-interaction/build/esm/version.js"(){rt="0.66.0",ac="@opentelemetry/instrumentation-user-interaction"}});function ul(e){return typeof e=="object"&&e!==null||typeof e=="function"||typeof e=="symbol"&&Symbol.keyFor(e)===0[0]&&mc}function dl(){return!1}
1pc=e({"node_modules/@opentelemetry/instrumentation-user-interaction/build/esm/instrumentation.js"(){P(),s(),a(),S(),oc(),rc(),dc="OT_ZONE_CONTEXT",uc="Navigation:",hc=["click"],mc=(()=>{try{const e=Symbol();return(new WeakMap).set(e,!0),!0}catch{return!1}})(),fc=class extends Z{version=rt;moduleName="user-interaction";_spansData=new WeakMap;_wrappedListeners=new WeakMap;_eventsSpanMap=new WeakMap;_eventNames;_shouldPreventSpanCreation;constructor(e={}){super(ac,rt,e),this._eventNames=new Set(e?.eventNames??hc),this._shouldPreventSpanCreation=typeof e?.shouldPreventSpanCreation=="function"?e.shouldPreventSpanCreation:dl}init(){}_checkForTimeout(e,t){const n=this._spansData.get(t);n&&(e.source==="setTimeout"?n.hrTimeLastTimeout=O():e.source!=="Promise.then"&&e.source!=="setTimeout"&&(n.hrTimeLastTimeout=0[0]))}_allowEventName(e){return this._eventNames.has(e)}_createSpan(e,t,n){if(!this._isEnabled)return 0[0];if(!(e instanceof HTMLElement))return 0[0];if(!e.getAttribute)return 0[0];if(e.hasAttribute("disabled"))return 0[0];if(!this._allowEventName(t))return 0[0];try{const a=Ea(e,!0),s=this.tracer.startSpan(t,{attributes:{[B.EVENT_TYPE]:t,[B.TARGET_ELEMENT]:e.tagName,[B.TARGET_XPATH]:a,[B.URL_FULL]:window.location.href}},n?i.setSpan(o.active(),n):0[0]);return this._shouldPreventSpanCreation(t,e,s)===!0?0[0]:(this._spansData.set(s,{taskCount:0}),s)}catch(e){this._diag.error("failed to start create new user interaction span",e)}}_decrementTask(e){const t=this._spansData.get(e);t&&(t.taskCount--,t.taskCount===0&&this._tryToEndSpan(e,t.hrTimeLastTimeout))}_getCurrentSpan(e){const t=e.get(dc);return t&&i.getSpan(t)}_incrementTask(e){const t=this._spansData.get(e);t&&t.taskCount++}addPatchedListener(e,t,n,s){let o=this._wrappedListeners.get(n);o||(o=new Map,this._wrappedListeners.set(n,o));let i=o.get(t);return i||(i=new WeakMap,o.set(t,i)),!i.has(e)&&(i.set(e,s),!0)}removePatchedListener(e,t,n){const o=this._wrappedListeners.get(n);if(!o)return 0[0];const s=o.get(t);if(!s)return 0[0];const i=s.get(e);return i&&s.delete(e),i}_invokeListener(e,t,n){return typeof e=="function"?e.apply(t,n):e.handleEvent(n[0])}_patchAddEventListener(){const e=this;return t=>function(s,a,r){if(!a||!ul(this))return t.call(this,s,a,r);const l=r&&typeof r=="object"&&r.once,c=function(...r){let c;const t=r[0],d=t?.target;t&&(c=e._eventsSpanMap.get(t)),l&&e.removePatchedListener(this,s,a);const n=e._createSpan(d,s,c);return n?(t&&e._eventsSpanMap.set(t,n),o.with(i.setSpan(o.active(),n),()=>{const t=e._invokeListener(a,this,r);return n.end(),t})):e._invokeListener(a,this,r)};if(e.addPatchedListener(this,s,a,c))return t.call(this,s,c,r)}}_patchRemoveEventListener(){const e=this;return t=>function(s,o,i){const a=e.removePatchedListener(this,s,o);return a?t.call(this,s,a,i):t.call(this,s,o,i)}}_getPatchableEventTargets(){return window.EventTarget?[EventTarget.prototype]:[Node.prototype,Window.prototype]}_patchHistoryApi(){if(!this._isEnabled)return;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(){const e=this;return t=>function(...n){if(!e._isEnabled)return t.apply(this,n);const o=`${location.pathname}${location.hash}${location.search}`,i=t.apply(this,n),s=`${location.pathname}${location.hash}${location.search}`;return o!==s&&e._updateInteractionName(s),i}}_updateInteractionName(e){const t=i.getSpan(o.active());t&&typeof t.updateName=="function"&&t.updateName(`${uc} ${e}`)}_patchZoneCancelTask(){const e=this;return t=>function(s){const o=Zone.current,i=e._getCurrentSpan(o);return i&&e._shouldCountTask(s,o)&&e._decrementTask(i),t.call(this,s)}}_patchZoneScheduleTask(){const e=this;return t=>function(s){const i=Zone.current,o=e._getCurrentSpan(i);return o&&e._shouldCountTask(s,i)&&(e._incrementTask(o),e._checkForTimeout(s,o)),t.call(this,s)}}_patchZoneRunTask(){const e=this;return t=>function(s,a,r){const u=Array.isArray(r)&&r[0]instanceof Event?r[0]:0[0],d=u?.target;let c;const l=this;if(d){if(c=e._createSpan(d,s.eventName),c)return e._incrementTask(c),l.run(()=>
1{try{return o.with(i.setSpan(o.active(),c),()=>{const e=Zone.current;return s._zone=e,t.call(e,s,a,r)})}finally{e._decrementTask(c)}})}else c=e._getCurrentSpan(l);try{return t.call(l,s,a,r)}finally{c&&e._shouldCountTask(s,l)&&e._decrementTask(c)}}}_shouldCountTask(e,t){if(e._zone&&(t=e._zone),!t||!e.data||e.data.isPeriodic)return!1;const n=this._getCurrentSpan(t);return!!n&&!!this._spansData.get(n)&&(e.type==="macroTask"||e.type==="microTask")}_tryToEndSpan(e,t){if(e){const n=this._spansData.get(e);n&&(e.end(t),this._spansData.delete(e))}}enable(){if(this._isEnabled)return;if(this._isEnabled=!0,typeof this._zonePatched=="boolean")return;const e=this._getZoneWithPrototype();if(this._diag.debug("applying patch to",this.moduleName,this.version,"zone:",!!e),e)this._zonePatched=!0,this._wrap(e.prototype,"runTask",this._patchZoneRunTask()),this._wrap(e.prototype,"scheduleTask",this._patchZoneScheduleTask()),this._wrap(e.prototype,"cancelTask",this._patchZoneCancelTask());else{this._zonePatched=!1;const e=this._getPatchableEventTargets();e.forEach(e=>{this._wrap(e,"addEventListener",this._patchAddEventListener()),this._wrap(e,"removeEventListener",this._patchRemoveEventListener())})}this._patchHistoryApi()}disable(){if(!this._isEnabled)return;this._isEnabled=!1}_getZoneWithPrototype(){const e=window;return e.Zone}}}}),gc=e({"node_modules/@opentelemetry/instrumentation-user-interaction/build/esm/index.js"(){pc()}}),bc=e({"node_modules/@opentelemetry/instrumentation-xml-http-request/build/esm/semconv.js"(){vc="http.request.body.size"}}),yc=e({"node_modules/@opentelemetry/instrumentation-xml-http-request/build/esm/enums/EventNames.js"(){(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"})(b||(b={}))}});function rl(e){return typeof Document!="undefined"&&e instanceof Document}function al(e){return rl(e)?(new XMLSerializer).serializeToString(document).length:typeof e=="string"?Oc(e):e instanceof Blob?e.size:e instanceof FormData?ol(e):e instanceof URLSearchParams?Oc(e.toString()):e.byteLength!==0[0]?e.byteLength:(Ac.warn("unknown body type"),0[0])}function Oc(e){return Sc.encode(e).byteLength}function ol(e){let t=0;for(const[s,n]of e.entries())t+=s.length,n instanceof Blob?t+=n.size:t+=n.length;return t}function tl(e){const n=el(),t=e.toUpperCase();return t in n?t:"_OTHER"}function el(){if(ce===0[0]){const e=Gn("OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS");e&&e.length>0?(ce={},e.forEach(e=>{ce[e]=!0})):ce=Mc}return ce}function Zc(e){const t=Number(e.port||Tc[e.protocol]);return t&&!isNaN(t)?t:0[0]}zc=e({"node_modules/@opentelemetry/instrumentation-xml-http-request/build/esm/utils.js"(){s(),a(),Ac=t.createComponentLogger({namespace:"@opentelemetry/opentelemetry-instrumentation-xml-http-request/utils"}),Sc=new TextEncoder,Mc={CONNECT:!0,DELETE:!0,GET:!0,HEAD:!0,OPTIONS:!0,PATCH:!0,POST:!0,PUT:!0,TRACE:!0,QUERY:!0},Tc={"https:":"443","http:":"80"}}}
1),Nc=e({"node_modules/@opentelemetry/instrumentation-xml-http-request/build/esm/version.js"(){ot="0.222.0"}}),Pc=e({"node_modules/@opentelemetry/instrumentation-xml-http-request/build/esm/xhr.js"(){s(),P(),a(),S(),w(),bc(),yc(),zc(),Nc(),Lc=300,Rc=class extends Z{component="xml-http-request";version=ot;moduleName=this.component;_tasksCount=0;_xhrMem=new WeakMap;_usedResources=new WeakSet;constructor(e={}){super("@opentelemetry/instrumentation-xml-http-request",ot,e)}init(){}_addHeaders(e,t){const s=C(t).href;if(!Sa(s,this.getConfig().propagateTraceHeaderCorsUrls)){const e={};h.inject(o.active(),e),Object.keys(e).length>0&&this._diag.debug("headers inject skipped due to CORS policy");return}const n={};h.inject(o.active(),n),Object.keys(n).forEach(t=>{e.setRequestHeader(t,String(n[t]))})}_addChildSpan(e,t){o.with(i.setSpan(o.active(),e),()=>{const e=this.tracer.startSpan("CORS Preflight",{startTime:t[n.FETCH_START]});H(e,t,this.getConfig().ignoreNetworkEvents,0[0],!0),e.end(t[n.RESPONSE_END])})}_addFinalSpanAttributes(e,t){t.status&&e.setAttribute(kn,t.status)}_applyAttributesAfterXHR(e,t){const n=this.getConfig().applyCustomAttributesOnSpan;typeof n=="function"&&Q(()=>n(e,t),e=>{if(!e)return;this._diag.error("applyCustomAttributesOnSpan",e)},!0)}_addResourceObserver(e,t){const n=this._xhrMem.get(e);if(!n||typeof PerformanceObserver!="function"||typeof PerformanceResourceTiming!="function")return;n.createdResources={observer:new PerformanceObserver(e=>{const s=e.getEntries(),o=C(t);s.forEach(e=>{e.initiatorType==="xmlhttprequest"&&e.name===o.href&&n.createdResources&&n.createdResources.entries.push(e)})}),entries:[]},n.createdResources.observer.observe({entryTypes:["resource"]})}_clearResources(){this._tasksCount===0&&this.getConfig().clearTimingResources&&(l.clearResourceTimings(),this._xhrMem=new WeakMap,this._usedResources=new WeakSet)}_findResourceAndAddNetworkEvents(e,t,n,s,o){if(!n||!s||!o||!e.createdResources)return;let i=e.createdResources.entries;(!i||!i.length)&&(i=l.getEntriesByType("resource"));const a=wa(C(n).href,s,o,i,this._usedResources);if(a.mainRequest){const n=a.mainRequest;this._markResourceAsUsed(n);const e=a.corsPreFlightRequest;e&&(this._addChildSpan(t,e),this._markResourceAsUsed(e)),H(t,n,this.getConfig().ignoreNetworkEvents,0[0],!0)}}_cleanPreviousSpanInformation(e){const t=this._xhrMem.get(e);if(t){const n=t.callbackToRemoveEvents;n&&n(),this._xhrMem.delete(e)}}_createSpan(e,t,n){const o=C(t);if(po(o.href,this.getConfig().ignoreUrls)){this._diag.debug("ignoring span as url matches ignored url");return}const s={},r=n,i=tl(n),l=i;s[Cn]=i,i!==r&&(s[En]=r),s[N]=o.toString(),s[An]=o.hostname;const c=Zc(o);c&&(s[Sn]=c);const a=this.tracer.startSpan(l,{kind:J.CLIENT,attributes:s});return a.addEvent(b.METHOD_OPEN),this._cleanPreviousSpanInformation(e),this._xhrMem.set(e,{span:a,spanUrl:t}),a}_markResourceAsUsed(e){this._usedResources.add(e)}_patchOpen(){return e=>{const t=this;return function(...n){if(!t._isEnabled)return e.apply(this,n);const s=n[0],o=n[1];return t._createSpan(this,o,s),e.apply(this,n)}}}_patchSend(){const e=this;function c(t,n,s,o){const a=n.callbackToRemoveEvents;typeof a=="function"&&a();const{span:i,spanUrl:r,sendStartTime:c}=n;i&&(e._findResourceAndAddNetworkEvents(n,i,r,c,s),i.addEvent(t,o),e._addFinalSpanAttributes(i,n),i.end(o),e._tasksCount--),e._clearResources()}function t(t,n,s,o){const i=e._xhrMem.get(n);if(!i)return;if(i.status=n.status,i.statusText=n.statusText,e._xhrMem.delete(n),i.span){const t=i.span;e._applyAttributesAfterXHR(t,n),s?o&&(t.setStatus({code:x.ERROR,message:o}),t.setAttribute(U,o)):i.status&&i.status>=400&&(t.setStatus({code:x.ERROR}),t.setAttribute(U,String(i.status)))}const a=O(),r=Date.now();setTimeout(()=>{c(t,i,a,r)},Lc)}function n(){t(b.EVENT_ERROR,this,!0,"error")}function s(){t(b.EVENT_ABORT,this,!1)}function a(){t(b.EVENT_TIMEOUT,this,!0,"timeout")}function r(){this.status<299?t(b.EVENT_LOAD,this,!1):t(b.EVENT_ERROR,this,!1)}function l(t){t.removeEventListener("abort",s),t.removeEventListener("error",n),t.removeEventListener("load",r),t.removeEventListener("timeout",a);const o=e._xhrMem.get(t);o&&(o.callbackToRemoveEvents=0[0])}return t=>function(...d){if(!e._isEnabled)return t.apply(this,d);const c=e._xhrMem.get(this);if(!c)return t.apply(this,d);const u=c.span,h=c.spanUrl;if(u&&h){if(e.getConfig().measureRequestSize&&d?.[0]){const t=d[0],e=al(t);e!==0[0]&&u.setAttribute(vc,e)}o.with(i.setSpan(o.active(),u),()=>{e._tasksCount++,c.sendStartTime=O(),u.addEvent(b.METHOD_SEND),this.addEventListener("abort",s),this.addEventListener("error",n),this.addEventListener("load",r),this.addEventListener("timeout",a),c.callbackToRemoveEvents=()=>
1{l(this),c.createdResources&&c.createdResources.observer.disconnect()},e._addHeaders(this,h),e._addResourceObserver(this,h)})}return t.apply(this,d)}}enable(){if(this._isEnabled)return;if(this._isXhrPatched){this._diag.debug("reactivating existing patch on",this.moduleName,this.version),this._isEnabled=!0;return}try{this._diag.debug("applying patch to",this.moduleName,this.version),this._wrap(XMLHttpRequest.prototype,"open",this._patchOpen()),this._wrap(XMLHttpRequest.prototype,"send",this._patchSend()),this._isXhrPatched=!0,this._isEnabled=!0}catch(e){this._unwrap(XMLHttpRequest.prototype,"open"),this._unwrap(XMLHttpRequest.prototype,"send"),this._diag.warn("Failed to patch globalThis.XMLHttpRequest; instrumentation will not be enabled. Another script may have locked globalThis.XMLHttpRequest via Object.defineProperty.",e)}}disable(){if(!this._isEnabled)return;this._isEnabled=!1,this._tasksCount=0,this._xhrMem=new WeakMap,this._usedResources=new WeakSet}}}}),Hc=e({"node_modules/@opentelemetry/instrumentation-xml-http-request/build/esm/index.js"(){Pc()}});function ml(e={}){for(const n of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Je,n)){t.error(`Provided instrumentation name "${n}" not found`);continue}const n=[];for(const s of Object.keys(Je)){const i=Je[s],o=e[s]??{};if(o.enabled===!1){t.debug(`Disabling instrumentation for ${s}`);continue}try{t.debug(`Loading instrumentation for ${s}`),n.push(new i(o))}catch(e){t.error(e)}}return n}Vc=e({"node_modules/@opentelemetry/auto-instrumentations-web/build/esm/utils.js"(){s(),Tr(),nc(),gc(),Hc(),Je={"@opentelemetry/instrumentation-document-load":Mr,"@opentelemetry/instrumentation-fetch":ec,"@opentelemetry/instrumentation-user-interaction":fc,"@opentelemetry/instrumentation-xml-http-request":Rc}}}),$c=e({"node_modules/@opentelemetry/auto-instrumentations-web/build/esm/index.js"(){Vc()}}
1),Uc=e({"node_modules/@opentelemetry/otlp-exporter-base/build/esm/OTLPExporterBase.js"(){Wc=class{_delegate;constructor(e){this._delegate=e}export(e,t){this._delegate.export(e,t)}forceFlush(){return this._delegate.forceFlush()}shutdown(){return this._delegate.shutdown()}setMetrics(e){this._delegate.setMetrics(e)}}}}),Ic=e({"node_modules/@opentelemetry/otlp-exporter-base/build/esm/types.js"(){mt=class extends Error{code;name="OTLPExporterError";data;constructor(e,t,n){super(e),this.data=n,this.code=t}}}});function Kl(e){if(Number.isFinite(e)&&e>0)return e;throw new Error(`Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '${e}')`)}function Gc(e){return e==null?0[0]:async()=>e}function Xc(e,t,n){return{timeoutMillis:Kl(e.timeoutMillis??t.timeoutMillis??n.timeoutMillis),concurrencyLimit:e.concurrencyLimit??t.concurrencyLimit??n.concurrencyLimit,compression:e.compression??t.compression??n.compression}}function Qc(){return{timeoutMillis:1e4,concurrencyLimit:30,compression:"none"}}_t=e({"node_modules/@opentelemetry/otlp-exporter-base/build/esm/configuration/shared-configuration.js"(){}});function Jc(e){return new Ec(e.concurrencyLimit)}Cc=e({"node_modules/@opentelemetry/otlp-exporter-base/build/esm/bounded-queue-export-promise-handler.js"(){Ec=class{_concurrencyLimit;_sendingPromises=[];constructor(e){this._concurrencyLimit=e}pushPromise(e){if(this.hasReachedLimit())throw new Error("Concurrency Limit reached");this._sendingPromises.push(e);const t=()=>{const t=this._sendingPromises.indexOf(e);void this._sendingPromises.splice(t,1)};e.then(t,t)}hasReachedLimit(){return this._sendingPromises.length>=this._concurrencyLimit}async awaitAll(){await Promise.all(this._sendingPromises)}}}});function nl(e){return Object.prototype.hasOwnProperty.call(e,"partialSuccess")}function sl(){return{handleResponse(e){if(e==null||!nl(e)||e.partialSuccess==null||Object.keys(e.partialSuccess).length===0)return;t.warn("Received Partial Success response:",JSON.stringify(e.partialSuccess))}}}xc=e({"node_modules/@opentelemetry/otlp-exporter-base/build/esm/logging-response-handler.js"(){s()}});function il(e,t){return new wc(e.transport,e.serializer,sl(),e.promiseHandler,e.metrics,t.timeout)}_c=e({"node_modules/@opentelemetry/otlp-exporter-base/build/esm/otlp-export-delegate.js"(){a(),Ic(),xc(),s(),wc=class{_metrics;_diagLogger;_transport;_serializer;_responseHandler;_promiseQueue;_timeout;constructor(e,n,s,o,i,a){this._transport=e,this._serializer=n,this._responseHandler=s,this._promiseQueue=o,this._timeout=a,this._diagLogger=t.createComponentLogger({namespace:"OTLPExportDelegate"}),this._metrics=i}export(e,t){if(this._diagLogger.debug("items to be sent",e),this._promiseQueue.hasReachedLimit()){t({code:m.FAILED,error:new Error("Concurrent export limit reached")});return}const s=this._serializer.serializeRequest(e);if(s==null){t({code:m.FAILED,error:new Error("Nothing to send")});return}const n=this._metrics.startExport(e);this._promiseQueue.pushPromise(this._transport.send(s,this._timeout).then(e=>{if(e.status==="success"){if(n(0[0]),e.data!=null)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:m.SUCCESS});return}if(e.status==="failure"&&e.error){n(e.error),t({code:m.FAILED,error:e.error});return}e.status==="retryable"?(n("export_max_retries"),t({code:m.FAILED,error:e.error??new mt("Export failed with retryable status")})):(n("export_failed"),t({code:m.FAILED,error:new mt("Export failed with unknown error")}))},e=>{n(e),t({code:m.FAILED,error:e})}))}forceFlush(){return this._promiseQueue.awaitAll()}setMetrics(e){this._metrics=e}async shutdown(){this._diagLogger.debug("shutdown started"),await this.forceFlush(),this._transport.shutdown()}}}});function cl(e,t,n,s){return il({transport:s,serializer:t,promiseHandler:Jc(e),metrics:n},{timeout:e.timeoutMillis})}jc=e({"node_modules/@opentelemetry/otlp-exporter-base/build/esm/otlp-network-export-delegate.js"(){Cc(),_c()}}),St=e({"node_modules/@opentelemetry/otlp-exporter-base/build/esm/semconv.js"(){xt="http.response.status_code",cc="otel.component.name",ic="otel.component.type",$r="server.address",Vr="server.port",Br="error.type"}}),Pr=e({"node_modules/@opentelemetry/otlp-exporter-base/build/esm/version.js"(){Ir="0.222.0"}}),Nr=e({"node_modules/@opentelemetry/otlp-exporter-base/build/esm/ExporterMetrics.js"(){s(),a(),St(),Pr(),Ft=new Map,Lr=class{inflight;exported;duration;standardAttrs;responseAttributesFromError;helper;constructor(e){const{componentType:t,metricsHelper:a,meterProvider:o,url:n,responseAttributesFromError:r}=e;this.responseAttributesFromError=r;const s=o?o.getMeter("@opentelemetry/otlp-exporter",Ir):wt(),i=Ft.get(t)??0;if(Ft.set(t,i+1),this.standardAttrs={[ic]:t,[cc]:`${t}/${i}`},n){let e=n;n.includes("://")||(e=`http://${n}`);try{const t=new URL(e);this.standardAttrs[$r]=t.hostname;let n=0[0];t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443),typeof n=="number"&&(this.standardAttrs[Vr]=n)}catch{}}this.helper=a,this.inflight=s.createUpDownCounter(`otel.sdk.exporter.${this.helper.name}.inflight`,{unit:`{${this.helper.name}}`,description:`The number of ${this.helper.name}s which were passed to the exporter, but that have not been exported yet (neither successful, nor failed).`}),this.exported=s.createCounter(`otel.sdk.exporter.${this.helper.name}.exported`,{unit:`{${this.helper.name}}`,description:`The number of ${this.helper.name}s for which the export has finished, either successful or failed.`}),this.duration=s.createHistogram("otel.sdk.exporter.operation.duration",{unit:"s",description:"The duration of exporting a batch of telemetry records.",advice:{explicitBucketBoundaries:[]}})}startExport(e){const t=this.helper.countItems(e),n=O();return this.inflight.add(t,this.standardAttrs),e=>{const o=O();this.inflight.add(-t,this.standardAttrs);const s=e?{...this.standardAttrs,[Br]:e instanceof Error?e.name:"export_failed"}:this.standardAttrs;this.exported.add(t,s);const i={...s,...this.responseAttributesFromError(e)},a=Ud(Xn(n,o))/1e3;this.duration.record(a,i)}}}}}),tr=e({"node_modules/@opentelemetry/otlp-exporter-base/build/esm/index.js"(){Uc()}}),Za=e({"node_modules/@opentelemetry/otlp-transformer/build/esm/trace/index.js"(){Ja={name:"span",countItems:e=>e.length}}});function Cl(e,t){const s={attributes:le(e.attributes,t),droppedAttributesCount:0},n=e.schemaUrl;return n&&n!==""&&(s.schemaUrl=n),s}function El(e,t){const n={name:e.name,version:e.version};return e.attributes&&Object.keys(e.attributes).length>0&&(n.attributes=le(e.attributes,t),n.droppedAttributesCount=e.droppedAttributesCount??0),n}function le(e,t){return Object.keys(e).map(n=>Al(n,e[n],t))}function Al(e,t,n){return{key:e,value:rn(t,n)}}function rn(e,t){const n=typeof e;if(n==="string")return{stringValue:e};if(n==="number")return Number.isInteger(e)?{intValue:e}:{doubleValue:e};if(n==="boolean")return{boolValue:e};if(e instanceof Uint8Array)return{bytesValue:t.encodeUint8Array(e)};if(Array.isArray(e)){const n=new Array(e.length);for(let s=0;s<e.length;s++)n[s]=rn(e[s],t);return{arrayValue:{values:n}}}if(n==="object"&&e!=null){const n=Object.keys(e),s=new Array(n.length);for(let o=0;o<n.length;o++)s[o]={key:n[o],value:rn(e[n[o]],t)};return{kvlistValue:{values:s}}}return{}}Ha=e({"node_modules/@opentelemetry/otlp-transformer/build/esm/common/internal.js"(){}});function Fl(e){const t=BigInt(1e9);return BigInt(e[0]|0)*t+BigInt(e[1]|0)}function Tl(e){const t=Fl(e);return t.toString()}function La(e){return e}Ma=e({"node_modules/@opentelemetry/otlp-transformer/build/esm/common/utils.js"(){a(),za=typeof BigInt!="undefined"?Tl:_,Ta={encodeHrTime:za,encodeSpanContext:La,encodeOptionalSpanContext:La,encodeUint8Array:e=>{if(typeof Buffer!="undefined")return Buffer.from(e).toString("base64");const t=new Array(e.length);for(let n=0;n<e.length;n++)t[n]=String.fromCharCode(e[n]);return btoa(t.join(""))}}}});function Aa(e,t){let n=e&255|ka;return t&&(n|=xa),n}function Pl(e,t){const n=e.spanContext(),s=e.status,o=e.parentSpanContext?.spanId?t.encodeSpanContext(e.parentSpanContext?.spanId):0[0];return{traceId:t.encodeSpanContext(n.traceId),spanId:t.encodeSpanContext(n.spanId),parentSpanId:o,traceState:n.traceState?.serialize(),name:e.name,kind:e.kind==null?0:e.kind+1,startTimeUnixNano:t.encodeHrTime(e.startTime),endTimeUnixNano:t.encodeHrTime(e.endTime),attributes:le(e.attributes,t),droppedAttributesCount:e.droppedAttributesCount,events:e.events.map(e=>Il(e,t)),droppedEventsCount:e.droppedEventsCount,status:{code:s.code,message:s.message},links:e.links.map(e=>Hl(e,t)),droppedLinksCount:e.droppedLinksCount,flags:Aa(n.traceFlags,e.parentSpanContext?.isRemote)}}function Hl(e,t){return{attributes:e.attributes?le(e.attributes,t):[],spanId:t.encodeSpanContext(e.context.spanId),traceId:t.encodeSpanContext(e.context.traceId),traceState:e.context.traceState?.serialize(),droppedAttributesCount:e.droppedAttributesCount||0,flags:Aa(e.context.traceFlags,e.context.
1isRemote)}}function Il(e,t){return{attributes:e.attributes?le(e.attributes,t):[],name:e.name,timeUnixNano:t.encodeHrTime(e.time),droppedAttributesCount:e.droppedAttributesCount||0}}function Bl(e,t){return{resourceSpans:$l(e,t)}}function Vl(e){const t=new Map;for(const n of e){let s=t.get(n.resource);s||(s=new Map,t.set(n.resource,s));const i=`${n.instrumentationScope.name}@${n.instrumentationScope.version||""}:${n.instrumentationScope.schemaUrl||""}`;let o=s.get(i);o||(o=[],s.set(i,o)),o.push(n)}return t}function $l(e,t){const i=Vl(e),s=[],o=i.entries();let n=o.next();for(;!n.done;){const[c,l]=n.value,i=[],a=l.values();let e=a.next();for(;!e.done;){const n=e.value;if(n.length>0){const e=n.map(e=>Pl(e,t));i.push({scope:El(n[0].instrumentationScope,t),spans:e,schemaUrl:n[0].instrumentationScope.schemaUrl})}e=a.next()}const r=Cl(c,t),d={resource:r,scopeSpans:i,schemaUrl:r.schemaUrl};s.push(d),n=o.next()}return s}Oa=e({"node_modules/@opentelemetry/otlp-transformer/build/esm/trace/internal.js"(){Ha(),ka=256,xa=512}}),ga=e({"node_modules/@opentelemetry/otlp-transformer/build/esm/trace/json/trace.js"(){Oa(),Ma(),s(),ya={serializeRequest:e=>{const t=Bl(e,Ta),n=new TextEncoder;return n.encode(JSON.stringify(t))},deserializeResponse:e=>{if(e.length===0)return{};const n=new TextDecoder;try{return JSON.parse(n.decode(e))}catch(e){return t.warn(`Failed to parse trace export response: ${e.message}. Returning empty response`),{}}}}}}),ca=e({"node_modules/@opentelemetry/otlp-transformer/build/esm/trace/json/index.js"(){ga()}}),ra=e({"node_modules/@opentelemetry/otlp-transformer/build/esm/index.js"(){Za(),ca()}});function Ql(){return Math.random()*(2*pn)-pn}function Zl(e){return new ii(e.transport)}oi=e({"node_modules/@opentelemetry/otlp-exporter-base/build/esm/retrying-transport.js"(){s(),Ee=5,Ui=1e3,Wi=5e3,pi=1.5,pn=.2,ii=class{_transport;constructor(e){this._transport=e}retry(e,t,n){return new Promise((s,o)=>{setTimeout(()=>{this._transport.send(e,t).then(s,o)},n)})}async send(e,n){let o=Ee,i=Ui;const a=Date.now()+n;let s=await this._transport.send(e,n);for(;s.status==="retryable"&&o>0;){o--;const c=Math.max(Math.min(i*(1+Ql()),Wi),0);i=i*pi;const n=s.retryInMillis??c,r=a-Date.now();if(n>r)return t.info(`Export retry time ${Math.round(n)}ms exceeds remaining timeout ${Math.round(r)}ms, not retrying further.`),s;t.verbose(`Scheduling export retry in ${Math.round(n)}ms`),s=await this.retry(e,r,n)}return s.status==="success"?t.verbose(`Export succeeded after ${Ee-o} retry attempts.`):s.status==="retryable"?t.info(`Export failed after maximum retry attempts (${Ee}).`):t.info(`Export failed with non-retryable error: ${s.error}`),s}shutdown(){return this._transport.shutdown()}}}});function ad(e){return e===429||e===502||e===503||e===504}function rd(e){if(e==null)return 0[0];const t=Number.parseInt(e,10);if(Number.isInteger(t))return t>0?t*1e3:-1;const n=new Date(e).getTime()-Date.now();return n>=0?n:0}Qo=e({"node_modules/@opentelemetry/otlp-exporter-base/build/esm/is-export-retryable.js"(){}});function ld(e){return new Eo(e)}function dd(e){return e instanceof TypeError&&!e.cause}Co=e({"node_modules/@opentelemetry/otlp-exporter-base/build/esm/transport/fetch-transport.js"(){s(),Qo(),Do=60*1024,zo=9,ye=0,re=0,Eo=class{_parameters;constructor(e){this._parameters=e}async send(e,n){const a=new AbortController,c=setTimeout(()=>a.abort(),n);let s=globalThis.fetch;typeof s.__original=="function"&&(s=s.__original);const o=e.byteLength,r=ye+o>Do,l=re>=zo,i=!r&&!l;if(i)ye+=o,re++;else{const e=r?"size limit":"count limit";t.debug(`keepalive disabled: ${(o/1024).toFixed(1)}KB payload, ${re} pending (${e})`)}try{const o=new URL(this._parameters.url),n=await s(o.href,{method:"POST",headers:await this._parameters.headers(),body:e,signal:a.signal,keepalive:i,mode:globalThis.location?globalThis.location.origin===o.origin?"same-origin":"cors":"no-cors"});if(n.status>=200&&n.status<=299)return t.debug(`export response success (status: ${n.status})`),{status:"success"};if(ad(n.status)){t.warn(`export response retryable (status: ${n.status})`);const e=n.headers.get("Retry-After"),s=rd(e);return{status:"retryable",retryInMillis:s}}return t.error(`export response failure (status: ${n.status})`),{status:"failure",error:new Error(`Fetch request failed with non-retryable status ${n.status}`)}}catch(e){return dd(e)?(t.warn(`export request retryable (network error: ${e})`),{status:"retryable",error:new Error("Fetch request encountered a network error",{cause:e})}):(t.error(`export request failure (error: ${e})`),{status:"failure",error:new Error("Fetch request errored",{cause:e})})}finally{clearTimeout(c),i&&(ye-=o,re--)}}shutdown(){}}}});function vd(e,t,n){return cl(e,t,n,Zl({transport:ld(e)}))}
1_o=e({"node_modules/@opentelemetry/otlp-exporter-base/build/esm/otlp-browser-http-export-delegate.js"(){oi(),jc(),Co()}});function jd(e){const n={};return Object.entries(e??{}).forEach(([e,s])=>{typeof s!="undefined"?n[e]=String(s):t.warn(`Header "${e}" has invalid value (${s}) and will be ignored`)}),n}uo=e({"node_modules/@opentelemetry/otlp-exporter-base/build/esm/util.js"(){s()}});function _d(e,t,n){return async()=>{const o={...await n()},s={};return t!=null&&Object.assign(s,await t()),e!=null&&Object.assign(s,jd(await e())),Object.assign(s,o)}}function wd(e){if(e==null)return 0[0];try{const t=globalThis.location?.href;return new URL(e,t).href}catch{throw new Error(`Configuration: Could not parse user-provided export URL: '${e}'`)}}function Od(e,t,n){return{...Xc(e,t,n),headers:_d(e.headers,t.headers,n.headers),url:wd(e.url)??t.url??n.url}}function xd(e,t){return{...Qc(),headers:async()=>e,url:"http://localhost:4318/"+t}}lo=e({"node_modules/@opentelemetry/otlp-exporter-base/build/esm/configuration/otlp-http-configuration.js"(){_t(),uo()}});function Ed(e){return typeof e.headers=="function"?e.headers:Gc(e.headers)}co=e({"node_modules/@opentelemetry/otlp-exporter-base/build/esm/configuration/convert-legacy-http-options.js"(){_t()}});function Ad(e,t,n){return Od({url:e.url,timeoutMillis:e.timeoutMillis,headers:Ed(e),concurrencyLimit:e.concurrencyLimit},{},xd(n,t))}ao=e({"node_modules/@opentelemetry/otlp-exporter-base/build/esm/configuration/convert-legacy-browser-http-options.js"(){lo(),co()}});function Md(e,t,n,s){return new Lr({componentType:e,metricsHelper:t,url:n,meterProvider:s,responseAttributesFromError:e=>{if(!e)return{[xt]:200};if(!(e instanceof Error))return{};if(e.message.startsWith("Fetch request failed with non-retryable status ")){const t=e.message.substring("Fetch request failed with non-retryable status ".length);return{[xt]:Number(t)}}return{}}})}function Fd(e,t,n,s,o,i,a){const r=Ad(e,i,a);return vd(r,t,Md(n,s,r.url,e.selfObsMeterProvider))}no=e({"node_modules/@opentelemetry/otlp-exporter-base/build/esm/configuration/create-legacy-browser-delegate.js"(){_o(),ao(),St(),Nr()}}),Qs=e({"node_modules/@opentelemetry/otlp-exporter-base/build/esm/index-browser-http.js"(){no()}}),Vs=e({"node_modules/@opentelemetry/exporter-trace-otlp-http/build/esm/semconv.js"(){$s="otlp_http_span_exporter"}}),Is=e({"node_modules/@opentelemetry/exporter-trace-otlp-http/build/esm/platform/browser/OTLPTraceExporter.js"(){tr(),ra(),Qs(),Vs(),Bs=class extends Wc{constructor(e={}){super(Fd(e,ya,$s,Ja,e.selfObsMeterProvider,"v1/traces",{"Content-Type":"application/json"}))}}}}),Ms=e({"node_modules/@opentelemetry/exporter-trace-otlp-http/build/esm/platform/browser/index.js"(){Is()}}),As=e({"node_modules/@opentelemetry/exporter-trace-otlp-http/build/esm/index.js"(){Ms()}});function Id(e){return typeof e=="object"&&e!==null&&"addEventListener"in e&&typeof e.addEventListener=="function"&&"removeEventListener"in e&&typeof e.removeEventListener=="function"}xs=e({"node_modules/@opentelemetry/context-zone-peer-dep/build/esm/util.js"(){}}),ps=e({"node_modules/@opentelemetry/context-zone-peer-dep/build/esm/ZoneContextManager.js"(){s(),xs(),_n="OT_ZONE_CONTEXT",Os=class{_enabled=!1;_bindFunction(e,t){const s=this,n=function(...n){return s.with(e,()=>t.apply(this,n))};return Object.defineProperty(n,"length",{enumerable:!1,configurable:!0,writable:!1,value:t.length}),n}_bindListener(e,t){const n=t;return n.__ot_listeners!==0[0]?t:(n.__ot_listeners={},typeof n.addEventListener=="function"&&(n.addEventListener=this._patchAddEventListener(n,n.addEventListener,e)),typeof n.removeEventListener=="function"&&(n.removeEventListener=this._patchRemoveEventListener(n,n.removeEventListener)),t)}_createZone(e,t){return Zone.current.fork({name:e,properties:{[_n]:t},onCancelTask(e,t,n,s){return s.state==="notScheduled"||s.state==="running"?s:e.cancelTask(n,s)}})}_patchAddEventListener(e,t,n){const s=this;return function(o,i,a){e.__ot_listeners===0[0]&&(e.__ot_listeners={});let r=e.__ot_listeners[o];r===0[0]&&(r=new WeakMap,e.__ot_listeners[o]=r);const c=s.bind(n,i);return r.set(i,c),t.call(this,o,c,a)}}_patchRemoveEventListener(e,t){return function(n,s){if(e.__ot_listeners===0[0]||e.__ot_listeners[n]===0[0])return t.call(this,n,s);const o=e.__ot_listeners[n],i=o.get(s);return o.delete(s),t.call(this,n,i||s)}}active(){return!this._enabled||!Zone.current?v:Zone.current.get(_n)||v}bind(e,t){return typeof t=="function"?this._bindFunction(e,t):(Id(t)&&this._bindListener(e,t),t)}disable(){return this._enabled=!1,this}enable(){return this._enabled=!0,this}with(n,e,s,...o){let t="otel:with";return e.name&&(t+=`:${e.name}`),this._createZone(t,n).run(e,s,o)}}}}),Jn=e({"node_modules/@opentelemetry/context-zone-peer-dep/build/esm/index.js"(){ps()}}),Qn=Vd({"<stdin>"(e,t){gt(),S(),$c(),P(),As(),At(),w(),Jn();var s={url:"https://otelwebtelemetry.com/v1/traces"},o=new Bs(s),i=Mo({[Mn]:"opentelemetry.io","browser.language":navigator.language}
1),n=new la({resource:i,spanProcessors:[new pt(o),new pt(new Ri)]});wl({instrumentations:[ml({})],tracerProvider:n}),n.register({contextManger:new Os}),t.export=n.getTracer("otel-web")}}),Qn()})()
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.