1try{let t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="1f0577f4-525b-4660-ac84-50d5b26e8bb0",t._sentryDebugIdIdentifier="sentry-dbid-1f0577f4-525b-4660-ac84-50d5b26e8bb0")}catch(e){}("undefined"!==typeof window?window:"undefined"!==typeof global?global:"undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:{}).SENTRY_RELEASE={id:"9cb72ea89ec863b936df198cf001debb1a3ffea2"};(self.webpackChunkapp_next=self.webpackChunkapp_next||[]).push([[11507],{4377:(t,e,n)=>{n.d(e,{lm:()=>v});var r=n(6752),i=n(19301),s=n(23651),o=n(90455),a=n(64467);const c="[_0-9a-z-*/]",u="[a-z]".concat(c,"{0,255}"),l="[a-z0-9]".concat(c,"{0,240}@[a-z]").concat(c,"{0,13}"),d=new RegExp("^(?:".concat(u,"|").concat(l,")$")),h=/^[ -~]{0,255}[!-~]$/,p=/,|=/;class f{constructor(t){(0,a.A)(this,"_internalState",new Map),t&&this._parse(t)}set(t,e){const n=this._clone();return n._internalState.has(t)&&n._internalState.delete(t),n._internalState.set(t,e),n}unset(t){const e=this._clone();return e._internalState.delete(t),e}get(t){return this._internalState.get(t)}serialize(){return this._keys().reduce((t,e)=>(t.push(e+"="+this.get(e)),t),[]).join(",")}_parse(t){t.length>512||(this._internalState=t.split(",").reverse().reduce((t,e)=>{const n=e.trim(),r=n.indexOf("=");if(-1!==r){const i=n.slice(0,r),s=n.slice(r+1,e.length);(function(t){return d.test(t)})(i)&&function(t){return h.test(t)&&!p.test(t)}(s)&&t.set(i,s)}return t},new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){const t=new f;return t._internalState=new Map(this._internalState),t}}const _="traceparent",m="tracestate",g=new RegExp("^\\s?(".concat("(?!ff)[\\da-f]{2}",")-(").concat("(?![0]{32})[\\da-f]{32}",")-(").concat("(?![0]{16})[\\da-f]{16}",")-(").concat("[\\da-f]{2}",")(-.*)?\\s?$"));class v{inject(t,e,n){const a=r.u.getSpanContext(t);if(!a||(0,o.Zf)(t)||!(0,i.YA)(a))return;const c="".concat("00","-").concat(a.traceId,"-").concat(a.spanId,"-0").concat(Number(a.traceFlags||s.X.NONE).toString(16));n.set(e,_,c),a.traceState&&n.set(e,m,a.traceState.serialize())}extract(t,e,n){const i=n.get(e,_);if(!i)return t;const s=Array.isArray(i)?i[0]:i;if("string"!==typeof s)return t;const o=function(t){const e=g.exec(t);return e?"00"===e[1]&&e[5]?null:{traceId:e[2],spanId:e[3],traceFlags:parseInt(e[4],16)}:null}(s);if(!o)return t;o.isRemote=!0;const a=n.get(e,m);if(a){const t=Array.isArray(a)?a.join(","):a;o.traceState=new f("string"===typeof t?t:void 0)}return r.u.setSpanContext(t,o)}fields(){return[_,m]}}},4627:(t,e)=>{function n(t){return t>=48&&t<=57?t-48:t>=97&&t<=102?t-87:t-55}Object.defineProperty(e,"__esModule",{value:!0}),e.hexToBinary=void 0,e.hexToBinary=function(t){const e=new Uint8Array(t.length/2);let r=0;for(let i=0;i<t.length;i+=2){const s=n(t.charCodeAt(i)),o=n(t.charCodeAt(i+1));e[r++]=s<<4|o}return e}},5794:(t,e,n)=>{n.d(e,{E$:()=>a,Mb:()=>i,UX:()=>o,aJ:()=>l,aO:()=>u,d6:()=>s,qV:()=>c,wL:()=>r});const r="exception.message",i="exception.stacktrace",s="exception.type",o="service.name",a="telemetry.sdk.language",c="webjs",u="telemetry.sdk.name",l="telemetry.sdk.version"},10078:(t,n,r)=>{r.r(n),r.d(n,{AnchoredClock:()=>S,BindOnceFuture:()=>$t,CompositePropagator:()=>et,ExportResultCode:()=>K,RPCType:()=>vt,SDK_INFO:()=>X,TRACE_PARENT_HEADER:()=>ht,TRACE_STATE_HEADER:()=>pt,TimeoutError:()=>Vt,TraceState:()=>dt,W3CBaggagePropagator:()=>g,W3CTraceContextPropagator:()=>mt,_globalThis:()=>Q,addHrTimes:()=>J,callWithTimeout:()=>Ht,deleteRPCMetadata:()=>At,diagLogLevelFromString:()=>Zt,getBooleanFromEnv:()=>W,getNumberFromEnv:()=>Y,getRPCMetadata:()=>bt,getStringFromEnv:()=>Z,getStringListFromEnv:()=>q,getTimeOrigin:()=>k,globalErrorHandler:()=>L,hrTime:()=>j,hrTimeDuration:()=>M,hrTimeToMicroseconds:()=>z,hrTimeToMilliseconds:()=>F,hrTimeToNanoseconds:()=>B,hrTimeToTimeStamp:()=>D,internal:()=>Yt,isAttributeValue:()=>T,isTimeInput:()=>H,isTimeInputHrTime:()=>V,isTracingSuppressed:()=>u,isUrlIgnored:()=>Kt,loggingErrorHandler:()=>w,merge:()=>kt,millisToHrTime:()=>N,otperformance:()=>P,parseKeyPairsIntoRecord:()=>m,parseTraceParent:()=>_t,sanitizeAttributes:()=>b,setGlobalErrorHandler:()=>O,setRPCMetadata:()=>St,suppressTracing:()=>a,timeInputToHrTime:()=>U,unrefTimer:()=>tt,unsuppressTracing:()=>c,urlMatches:()=>Jt});var i=r(74230),s=r(76975);const o=(0,s.n)("OpenTelemetry SDK Context Key SUPPRESS_TRACING");function a(t){return t.setValue(o,!0)}function c(t){return t.deleteValue(o)}function u(t){return!0===t.getValue(o)}const l="=",d=";",h=",",p="baggage";var f=r(12108);function _(t){const e=t.split(d);if(e.length<=0)return;const n=e.shift();if(!n)return;const r=n.indexOf(l);if(r<=0)return;const i=decodeURIComponent(n.substring(0,r).trim()),s=decodeURIComponent(n.substring(r+1).trim());let o;return e.length>0&&(o=(0,f.B)(e.join(d))),{key:i,value:s,metadata:o}}function m(t){const e={};return"string"===typeof t&&t.length>
10&&t.split(h).forEach(t=>{const n=_(t);void 0!==n&&n.value.length>0&&(e[n.key]=n.value)}),e}class g{inject(t,e,n){const r=i.$.getBaggage(t);if(!r||u(t))return;const s=function(t){return t.getAllEntries().map(t=>{let[e,n]=t,r="".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(n.value));return void 0!==n.metadata&&(r+=d+n.metadata.toString()),r})}(r).filter(t=>t.length<=4096).slice(0,180),o=function(t){return t.reduce((t,e)=>{const n="".concat(t).concat(""!==t?h:"").concat(e);return n.length>8192?t:n},"")}(s);o.length>0&&n.set(e,p,o)}extract(t,e,n){const r=n.get(e,p),s=Array.isArray(r)?r.join(h):r;if(!s)return t;const o={};if(0===s.length)return t;return s.split(h).forEach(t=>{const e=_(t);if(e){const t={value:e.value};e.metadata&&(t.metadata=e.metadata),o[e.key]=t}}),0===Object.entries(o).length?t:i.$.setBaggage(t,i.$.createBaggage(o))}fields(){return[p]}}var v=r(64467);class S{constructor(t,e){(0,v.A)(this,"_monotonicClock",void 0),(0,v.A)(this,"_epochMillis",void 0),(0,v.A)(this,"_performanceMillis",void 0),this._monotonicClock=e,this._epochMillis=t.now(),this._performanceMillis=e.now()}now(){const t=this._monotonicClock.now()-this._performanceMillis;return this._epochMillis+t}}var A=r(85376);function b(t){const e={};if("object"!==typeof t||null==t)return e;for(const[n,r]of Object.entries(t))y(n)?T(r)?Array.isArray(r)?e[n]=r.slice():e[n]=r:A.s.warn("Invalid attribute value set for key: ".concat(n)):A.s.warn("Invalid attribute key: ".concat(n));return e}function y(t){return"string"===typeof t&&t.length>0}function T(t){return null==t||(Array.isArray(t)?function(t){let e;for(const n of t)if(null!=n){if(!e){if(E(n)){e=typeof n;continue}return!1}if(typeof n!==e)return!1}return!0}(t):E(t))}function E(t){switch(typeof t){case"number":case"boolean":case"string":return!0}return!1}function w(){return t=>{A.s.error(function(t){return"string"===typeof t?t:JSON.stringify(function(t){const e={};let n=t;for(;null!==n;)Object.getOwnPropertyNames(n).forEach(t=>{if(e[t])return;const r=n[t];r&&(e[t]=String(r))}),n=Object.getPrototypeOf(n);return e}(t))}(t))}}let C=w();function O(t){C=t}function L(t){try{C(t)}catch(e){}}const P=performance,x=9,I=Math.pow(10,6),R=Math.pow(10,x);function N(t){const e=t/1e3;return[Math.trunc(e),Math.round(t%1e3*I)]}function k(){let t=P.timeOrigin;if("number"!==typeof t){const e=P;t=e.timing&&e.timing.fetchStart}return t}function j(t){return J(N(k()),N("number"===typeof t?t:P.now()))}function U(t){if(V(t))return t;if("number"===typeof t)return t<k()?j(t):N(t);if(t instanceof Date)return N(t.getTime());throw TypeError("Invalid input type")}function M(t,e){let n=e[0]-t[0],r=e[1]-t[1];return r<0&&(n-=1,r+=R),[n,r]}function D(t){const e=x,n="".concat("0".repeat(e)).concat(t[1],"Z"),r=n.substring(n.length-e-1);return new Date(1e3*t[0]).toISOString().replace("000Z",r)}function B(t){return t[0]*R+t[1]}function F(t){return 1e3*t[0]+t[1]/1e6}function z(t){return 1e6*t[0]+t[1]/1e3}function V(t){return Array.isArray(t)&&2===t.length&&"number"===typeof t[0]&&"number"===typeof t[1]}function H(t){return V(t)||"number"===typeof t||t instanceof Date}function J(t,e){const n=[t[0]+e[0],t[1]+e[1]];return n[1]>=R&&(n[1]-=R,n[0]+=1),n}var K;!function(t){t[t.SUCCESS=0]="SUCCESS",t[t.FAILED=1]="FAILED"}(K||(K={}));var G=r(5794);const $="process.runtime.name",X={[G.aO]:"opentelemetry",[$]:"browser",[G.E$]:G.qV,[G.aJ]:"2.0.1"},Q="object"===typeof globalThis?globalThis:"object"===typeof self?self:"object"===typeof window?window:"object"===typeof r.g?r.g:{};function Z(t){}function W(t){}function Y(t){}function q(t){}function tt(t){}class et{constructor(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,v.A)(this,"_propagators",void 0),(0,v.A)(this,"_fields",void 0),this._propagators=null!==(t=e.propagators)&&void 0!==t?t:[],this._fields=Array.from(new Set(this._propagators.map(t=>"function"===typeof t.fields?t.fields():[]).reduce((t,e)=>t.concat(e),[])))}inject(t,e,n){for(const i of this._propagators)try{i.inject(t,e,n)}catch(r){A.s.warn("Failed to inject with ".concat(i.constructor.name,". Err: ").concat(r.message))}}extract(t,e,n){return this._propagators.reduce((t,r)=>{try{return r.extract(t,e,n)}catch(i){A.s.warn("Failed to extract with ".concat(r.constructor.name,". Err: ").concat(i.message))}return t},t)}fields(){return this._fields.slice()}}var nt=r(6752),rt=r(19301),it=r(23651);const st="[_0-9a-z-*/]",ot="[a-z]".concat(st,"{0,255}"),at="[a-z0-9]".concat(st,"{0,240}@[a-z]").concat(st,"{0,13}"),ct=new RegExp("^(?:".concat(ot,"|").concat(at,")$")),ut=/^[ -~]{0,255}[!-~]$/,lt=/,|=/;class dt{constructor(t){(0,v.A)(this,"_internalState",new Map),t&&this._parse(t)}set(t,e){const n=this._clone();return n._internalState.has(t)&&n._internalState.delete(t),n._internalState.set(t,e),n}unset(t){const e=this._clone();return e._internalState.delete(t),e}get(t){return this._internalState.get(t)}serialize(){return this._keys().reduce((t,e)=>(t.push(e+"="+this.get(e)),t),[]).join(",")}_parse(t){t.length>512||(this._internalState=t.split(",").reverse().reduce((t,e)=>
1{const n=e.trim(),r=n.indexOf("=");if(-1!==r){const i=n.slice(0,r),s=n.slice(r+1,e.length);(function(t){return ct.test(t)})(i)&&function(t){return ut.test(t)&&!lt.test(t)}(s)&&t.set(i,s)}return t},new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){const t=new dt;return t._internalState=new Map(this._internalState),t}}const ht="traceparent",pt="tracestate",ft=new RegExp("^\\s?(".concat("(?!ff)[\\da-f]{2}",")-(").concat("(?![0]{32})[\\da-f]{32}",")-(").concat("(?![0]{16})[\\da-f]{16}",")-(").concat("[\\da-f]{2}",")(-.*)?\\s?$"));function _t(t){const e=ft.exec(t);return e?"00"===e[1]&&e[5]?null:{traceId:e[2],spanId:e[3],traceFlags:parseInt(e[4],16)}:null}class mt{inject(t,e,n){const r=nt.u.getSpanContext(t);if(!r||u(t)||!(0,rt.YA)(r))return;const i="".concat("00","-").concat(r.traceId,"-").concat(r.spanId,"-0").concat(Number(r.traceFlags||it.X.NONE).toString(16));n.set(e,ht,i),r.traceState&&n.set(e,pt,r.traceState.serialize())}extract(t,e,n){const r=n.get(e,ht);if(!r)return t;const i=Array.isArray(r)?r[0]:r;if("string"!==typeof i)return t;const s=_t(i);if(!s)return t;s.isRemote=!0;const o=n.get(e,pt);if(o){const t=Array.isArray(o)?o.join(","):o;s.traceState=new dt("string"===typeof t?t:void 0)}return nt.u.setSpanContext(t,s)}fields(){return[ht,pt]}}const gt=(0,s.n)("OpenTelemetry SDK Context Key RPC_METADATA");var vt;function St(t,e){return t.setValue(gt,e)}function At(t){return t.deleteValue(gt)}function bt(t){return t.getValue(gt)}!function(t){t.HTTP="http"}(vt||(vt={}));const yt="[object Object]",Tt="[object Null]",Et="[object Undefined]",wt=Function.prototype.toString,Ct=wt.call(Object),Ot=Object.getPrototypeOf,Lt=Object.prototype,Pt=Lt.hasOwnProperty,xt=Symbol?Symbol.toStringTag:void 0,It=Lt.toString;function Rt(t){if(!function(t){return null!=t&&"object"==typeof t}(t)||function(t){if(null==t)return void 0===t?Et:Tt;return xt&&xt in Object(t)?function(t){const n=Pt.call(t,xt),r=t[xt];let i=!1;try{t[xt]=void 0,i=!0}catch(e){}const s=It.call(t);i&&(n?t[xt]=r:delete t[xt]);return s}(t):function(t){return It.call(t)}(t)}(t)!==yt)return!1;const n=Ot(t);if(null===n)return!0;const r=Pt.call(n,"constructor")&&n.constructor;return"function"==typeof r&&r instanceof r&&wt.call(r)===Ct}const Nt=20;function kt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];let r=e.shift();const i=new WeakMap;for(;e.length>0;)r=Ut(r,e.shift(),0,i);return r}function jt(t){return Dt(t)?t.slice():t}function Ut(t,e){let n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3?arguments[3]:void 0;if(!(r>Nt)){if(r++,zt(t)||zt(e)||Bt(e))n=jt(e);else if(Dt(t)){if(n=t.slice(),Dt(e))for(let t=0,r=e.length;t<r;t++)n.push(jt(e[t]));else if(Ft(e)){const t=Object.keys(e);for(let r=0,i=t.length;r<i;r++){const i=t[r];n[i]=jt(e[i])}}}else if(Ft(t))if(Ft(e)){if(!function(t,e){if(!Rt(t)||!Rt(e))return!1;return!0}(t,e))return e;n=Object.assign({},t);const s=Object.keys(e);for(let o=0,a=s.length;o<a;o++){const a=s[o],c=e[a];if(zt(c))"undefined"===typeof c?delete n[a]:n[a]=c;else{const s=n[a],o=c;if(Mt(t,a,i)||Mt(e,a,i))delete n[a];else{if(Ft(s)&&Ft(o)){const n=i.get(s)||[],r=i.get(o)||[];n.push({obj:t,key:a}),r.push({obj:e,key:a}),i.set(s,n),i.set(o,r)}n[a]=Ut(n[a],c,r,i)}}}}else n=e;return n}}function Mt(t,e,n){const r=n.get(t[e])||[];for(let i=0,s=r.length;i<s;i++){const n=r[i];if(n.key===e&&n.obj===t)return!0}return!1}function Dt(t){return Array.isArray(t)}function Bt(t){return"function"===typeof t}function Ft(t){return!zt(t)&&!Dt(t)&&!Bt(t)&&"object"===typeof t}function zt(t){return"string"===typeof t||"number"===typeof t||"boolean"===typeof t||"undefined"===typeof t||t instanceof Date||t instanceof RegExp||null===t}class Vt extends Error{constructor(t){super(t),Object.setPrototypeOf(this,Vt.prototype)}}function Ht(t,e){let n;const r=new Promise(function(t,r){n=setTimeout(function(){r(new Vt("Operation timed out."))},e)});return Promise.race([t,r]).then(t=>(clearTimeout(n),t),t=>{throw clearTimeout(n),t})}function Jt(t,e){return"string"===typeof e?t===e:!!t.match(e)}function Kt(t,e){if(!e)return!1;for(const n of e)if(Jt(t,n))return!0;return!1}class Gt{constructor(){(0,v.A)(this,"_promise",void 0),(0,v.A)(this,"_resolve",void 0),(0,v.A)(this,"_reject",void 0),this._promise=new Promise((t,e)=>{this._resolve=t,this._reject=e})}get promise(){return this._promise}resolve(t){this._resolve(t)}reject(t){this._reject(t)}}class $t{constructor(t,e){(0,v.A)(this,"_callback",void 0),(0,v.A)(this,"_that",void 0),(0,v.A)(this,"_isCalled",!1),(0,v.A)(this,"_deferred",new Gt),this._callback=t,this._that=e}get isCalled(){return this._isCalled}get promise(){return this._deferred.promise}call(){if(!this._isCalled){this._isCalled=!0;try{for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];Promise.resolve(this._callback.call(this._that,...e)).then(t=>this._deferred.resolve(t),t=>this._deferred.reject(t))}catch(r){this._deferred.reject(r)}}return this._deferred.promise}}var Xt=r(2303);const Qt={ALL:Xt.u.ALL,VERBOSE:Xt.u.VERBOSE,DEBUG:Xt.u.DEBUG,INFO:Xt.u.INFO,WARN:Xt.u.WARN,ERROR:Xt.u.ERROR,NONE:Xt.u.NONE};function Zt(t){if(null==t)return;const e=Qt[t.toUpperCase()];return null==e?(A.s.warn('Unknown log level "'.concat(t,'", expected one of ').concat(Object.keys(Qt),", using default")),Xt.u.INFO):e}var Wt=r(45282);const Yt={_export:function(t,e){return new Promise(n=>{Wt._.with(a(Wt._.active()),()=>{t.export(e,t=>{n(t)})})})}}},13354:(t,e,n)=>{var r;n.d(e,{V:()=>r}),function(t){t[t.SUCCESS=0]="SUCCESS",t[t.FAILED=1]="FAILED"}(r||(r={}))},16266:(t,e,n)=>{n.d(e,{Z:()=>yt});var r=n(64467);
1const i="[object Null]",s="[object Undefined]",o=Function.prototype.toString,a=o.call(Object),c=Object.getPrototypeOf,u=Object.prototype,l=u.hasOwnProperty,d=Symbol?Symbol.toStringTag:void 0,h=u.toString;function p(t){if(!function(t){return null!=t&&"object"==typeof t}(t)||"[object Object]"!==function(t){if(null==t)return void 0===t?s:i;return d&&d in Object(t)?function(t){const e=l.call(t,d),n=t[d];let r=!1;try{t[d]=void 0,r=!0}catch(s){}const i=h.call(t);r&&(e?t[d]=n:delete t[d]);return i}(t):function(t){return h.call(t)}(t)}(t))return!1;const e=c(t);if(null===e)return!0;const n=l.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&o.call(n)===a}function f(t){return g(t)?t.slice():t}function _(t,e){let n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3?arguments[3]:void 0;if(!(r>20)){if(r++,A(t)||A(e)||v(e))n=f(e);else if(g(t)){if(n=t.slice(),g(e))for(let t=0,r=e.length;t<r;t++)n.push(f(e[t]));else if(S(e)){const t=Object.keys(e);for(let r=0,i=t.length;r<i;r++){const i=t[r];n[i]=f(e[i])}}}else if(S(t))if(S(e)){if(!function(t,e){if(!p(t)||!p(e))return!1;return!0}(t,e))return e;n=Object.assign({},t);const s=Object.keys(e);for(let o=0,a=s.length;o<a;o++){const a=s[o],c=e[a];if(A(c))"undefined"===typeof c?delete n[a]:n[a]=c;else{const s=n[a],o=c;if(m(t,a,i)||m(e,a,i))delete n[a];else{if(S(s)&&S(o)){const n=i.get(s)||[],r=i.get(o)||[];n.push({obj:t,key:a}),r.push({obj:e,key:a}),i.set(s,n),i.set(o,r)}n[a]=_(n[a],c,r,i)}}}}else n=e;return n}}function m(t,e,n){const r=n.get(t[e])||[];for(let i=0,s=r.length;i<s;i++){const n=r[i];if(n.key===e&&n.obj===t)return!0}return!1}function g(t){return Array.isArray(t)}function v(t){return"function"===typeof t}function S(t){return!A(t)&&!g(t)&&!v(t)&&"object"===typeof t}function A(t){return"string"===typeof t||"number"===typeof t||"boolean"===typeof t||"undefined"===typeof t||t instanceof Date||t instanceof RegExp||null===t}var b=n(66548),y=n(45282),T=n(6752),E=n(85376),w=n(48466),C=n(96765),O=n(96944),L=n(23651),P=n(90455);function x(t){const e={};if("object"!==typeof t||null==t)return e;for(const n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;if(!I(n)){E.s.warn("Invalid attribute key: ".concat(n));continue}const r=t[n];R(r)?Array.isArray(r)?e[n]=r.slice():e[n]=r:E.s.warn("Invalid attribute value set for key: ".concat(n))}return e}function I(t){return"string"===typeof t&&""!==t}function R(t){return null==t||(Array.isArray(t)?function(t){let e;for(const n of t){if(null==n)continue;const t=typeof n;if(t!==e){if(!e){if(N(t)){e=t;continue}return!1}return!1}}return!0}(t):N(typeof t))}function N(t){switch(t){case"number":case"boolean":case"string":return!0}return!1}var k=n(89379),j=n(36310);const U=performance,M=Math.pow(10,6),D=Math.pow(10,9);function B(t){const e=t/1e3;return[Math.trunc(e),Math.round(t%1e3*M)]}function F(){let t=U.timeOrigin;if("number"!==typeof t){const e=U;t=e.timing&&e.timing.fetchStart}return t}function z(t){return J(B(F()),B("number"===typeof t?t:U.now()))}function V(t){return Array.isArray(t)&&2===t.length&&"number"===typeof t[0]&&"number"===typeof t[1]}function H(t){return V(t)||"number"===typeof t||t instanceof Date}function J(t,e){const n=[t[0]+e[0],t[1]+e[1]];return n[1]>=D&&(n[1]-=D,n[0]+=1),n}var K=n(5794);class G{constructor(t){var e;(0,r.A)(this,"_spanContext",void 0),(0,r.A)(this,"kind",void 0),(0,r.A)(this,"parentSpanContext",void 0),(0,r.A)(this,"attributes",{}),(0,r.A)(this,"links",[]),(0,r.A)(this,"events",[]),(0,r.A)(this,"startTime",void 0),(0,r.A)(this,"resource",void 0),(0,r.A)(this,"instrumentationScope",void 0),(0,r.A)(this,"_droppedAttributesCount",0),(0,r.A)(this,"_droppedEventsCount",0),(0,r.A)(this,"_droppedLinksCount",0),(0,r.A)(this,"name",void 0),(0,r.A)(this,"status",{code:j.s.UNSET}),(0,r.A)(this,"endTime",[0,0]),(0,r.A)(this,"_ended",!1),(0,r.A)(this,"_duration",[-1,-1]),(0,r.A)(this,"_spanProcessor",void 0),(0,r.A)(this,"_spanLimits",void 0),(0,r.A)(this,"_attributeValueLengthLimit",void 0),(0,r.A)(this,"_performanceStartTime",void 0),(0,r.A)(this,"_performanceOffset",void 0),(0,r.A)(this,"_startTimeProvided",void 0);const n=Date.now();this._spanContext=t.spanContext,this._performanceStartTime=U.now(),this._performanceOffset=n-(this._performanceStartTime+F()),this._startTimeProvided=null!=t.startTime,this._spanLimits=t.spanLimits,this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit||0,this._spanProcessor=t.spanProcessor,this.name=t.name,this.parentSpanContext=t.parentSpanContext,this.kind=t.kind,this.links=t.links||[],this.startTime=this._getTime(null!==(e=t.startTime)&&void 0!==e?e:n),this.resource=t.resource,this.instrumentationScope=t.scope,null!=t.attributes&&this.setAttributes(t.attributes),this._spanProcessor.onStart(this,t.context)}spanContext(){return this._spanContext}setAttribute(t,e){if(null==e||this._isSpanEnded())return this;if(0===t.length)return E.s.warn("Invalid attribute key: ".concat(t)),this;if(!R(e))return E.s.warn("Invalid attribute value set for key: ".concat(t)),this;const{attributeCountLimit:n}=this._spanLimits;return void 0!==n&&Object.keys(this.attributes).length>=n&&!Object.prototype.hasOwnProperty.call(this.attributes,t)?(this._droppedAttributesCount++,this):(this.attributes[t]=this._truncateToSize(e),this)}setAttributes(t){for(const[e,n]of Object.entries(t))this.setAttribute(e,n);return this}addEvent(t,e,n){if(this._isSpanEnded())return this;const{eventCountLimit:r}=this._spanLimits;if(0===r)return E.s.warn("No events allowed."),this._droppedEventsCount++,this;void 0!==r&&this.events.length>=r&&(0===this._droppedEventsCount&&E.s.debug("Dropping extra events."),this.events.shift(),this._droppedEventsCount++),H(e)&&(H(n)||(n=e),e=void 0);const i=x(e);return this.events.push({name:t,attributes:i,time:this._getTime(n),droppedAttributesCount:0}),this}addLink(t){return this.links.push(t),this}addLinks(t){return this.links.push(...t),this}setStatus(t){return this._isSpanEnded()||(this.status=(0,k.A)({},t),null!=this.status.message&&"string"!==typeof t.message&&(E.s.warn("Dropping invalid status.message of type '".concat(typeof t.message,"', expected 'string'")),delete this.status.message)),this}updateName(t){return this._isSpanEnded()||(this.name=t),this}end(t){this._isSpanEnded()?E.s.error("".concat(this.name," ").concat(this._spanContext.traceId,"-").concat(this._spanContext.spanId," - You can only call end() on a span once.")):(this._ended=!0,this.endTime=this._getTime(t),this._duration=function(t,e){let n=e[0]-t[0],r=e[1]-t[1];return r<0&&(n-=1,r+=D),[n,r]}(this.startTime,this.endTime),this._duration[0]<0&&(E.s.warn("Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.",this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0]),this._droppedEventsCount>0&&E.s.warn("Dropped ".concat(this._droppedEventsCount," events because eventCountLimit reached")),this._spanProcessor.onEnd(this))}_getTime(t){if("number"===typeof t&&t<=U.now())return z(t+this._performanceOffset);if("number"===typeof t)return B(t);if(t instanceof Date)return B(t.getTime());if(V(t))return t;if(this._startTimeProvided)return B(Date.now());const e=U.now()-this._performanceStartTime;return J(this.startTime,B(e))}isRecording(){return!1===this._ended}recordException(t,e){const n={};"string"===typeof t?n[K.wL]=t:t&&(t.code?n[K.d6]=t.code.toString():t.name&&(n[K.d6]=t.name),t.message&&(n[K.wL]=t.message),t.stack&&(n[K.Mb]=t.stack)),n[K.d6]||n[K.wL]?this.addEvent("exception",n,e):E.s.warn("Failed to record an exception ".concat(t))}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 t=new Error("Operation attempted on ended Span {traceId: ".concat(this._spanContext.traceId,", spanId: ").concat(this._spanContext.spanId,"}"));E.s.warn("Cannot execute the operation on ended Span {traceId: ".concat(this._spanContext.traceId,", spanId: ").concat(this._spanContext.spanId,"}"),t)}return this._ended}_truncateToLimitUtil(t,e){return t.length<=e?t:t.substring(0,e)}_truncateToSize(t){const e=this._attributeValueLengthLimit;return e<=0?(E.s.warn("Attribute value limit must be positive, got ".concat(e)),t):"str
1ing"===typeof t?this._truncateToLimitUtil(t,e):Array.isArray(t)?t.map(t=>"string"===typeof t?this._truncateToLimitUtil(t,e):t):t}}var $=n(71283),X=n(90953);class Q{shouldSample(){return{decision:X.i.NOT_RECORD}}toString(){return"AlwaysOffSampler"}}class Z{shouldSample(){return{decision:X.i.RECORD_AND_SAMPLED}}toString(){return"AlwaysOnSampler"}}var W=n(19301),Y=n(57654);class q{constructor(t){var e,n,i,s;(0,r.A)(this,"_root",void 0),(0,r.A)(this,"_remoteParentSampled",void 0),(0,r.A)(this,"_remoteParentNotSampled",void 0),(0,r.A)(this,"_localParentSampled",void 0),(0,r.A)(this,"_localParentNotSampled",void 0),this._root=t.root,this._root||((0,Y.s)(new Error("ParentBasedSampler must have a root sampler configured")),this._root=new Z),this._remoteParentSampled=null!==(e=t.remoteParentSampled)&&void 0!==e?e:new Z,this._remoteParentNotSampled=null!==(n=t.remoteParentNotSampled)&&void 0!==n?n:new Q,this._localParentSampled=null!==(i=t.localParentSampled)&&void 0!==i?i:new Z,this._localParentNotSampled=null!==(s=t.localParentNotSampled)&&void 0!==s?s:new Q}shouldSample(t,e,n,r,i,s){const o=T.u.getSpanContext(t);return o&&(0,W.YA)(o)?o.isRemote?o.traceFlags&L.X.SAMPLED?this._remoteParentSampled.shouldSample(t,e,n,r,i,s):this._remoteParentNotSampled.shouldSample(t,e,n,r,i,s):o.traceFlags&L.X.SAMPLED?this._localParentSampled.shouldSample(t,e,n,r,i,s):this._localParentNotSampled.shouldSample(t,e,n,r,i,s):this._root.shouldSample(t,e,n,r,i,s)}toString(){return"ParentBased{root=".concat(this._root.toString(),", remoteParentSampled=").concat(this._remoteParentSampled.toString(),", remoteParentNotSampled=").concat(this._remoteParentNotSampled.toString(),", localParentSampled=").concat(this._localParentSampled.toString(),", localParentNotSampled=").concat(this._localParentNotSampled.toString(),"}")}}var tt,et=n(25902);!function(t){t.AlwaysOff="always_off",t.AlwaysOn="always_on",t.ParentBasedAlwaysOff="parentbased_always_off",t.ParentBasedAlwaysOn="parentbased_always_on",t.ParentBasedTraceIdRatio="parentbased_traceidratio",t.TraceIdRatio="traceidratio"}(tt||(tt={}));function nt(){var t,e,n,r,i,s,o,a;return{sampler:rt(),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:null!==(t=(0,$.Jk)("OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT"))&&void 0!==t?t:1/0,attributeCountLimit:null!==(e=(0,$.Jk)("OTEL_ATTRIBUTE_COUNT_LIMIT"))&&void 0!==e?e:128},spanLimits:{attributeValueLengthLimit:null!==(n=(0,$.Jk)("OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT"))&&void 0!==n?n:1/0,attributeCountLimit:null!==(r=(0,$.Jk)("OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT"))&&void 0!==r?r:128,linkCountLimit:null!==(i=(0,$.Jk)("OTEL_SPAN_LINK_COUNT_LIMIT"))&&void 0!==i?i:128,eventCountLimit:null!==(s=(0,$.Jk)("OTEL_SPAN_EVENT_COUNT_LIMIT"))&&void 0!==s?s:128,attributePerEventCountLimit:null!==(o=(0,$.Jk)("OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT"))&&void 0!==o?o:128,attributePerLinkCountLimit:null!==(a=(0,$.Jk)("OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT"))&&void 0!==a?a:128}}}function rt(){var t;const e=null!==(t=(0,$.HF)("OTEL_TRACES_SAMPLER"))&&void 0!==t?t:tt.ParentBasedAlwaysOn;switch(e){case tt.AlwaysOn:return new Z;case tt.AlwaysOff:return new Q;case tt.ParentBasedAlwaysOn:return new q({root:new Z});case tt.ParentBasedAlwaysOff:return new q({root:new Q});case tt.TraceIdRatio:return new et.h(it());case tt.ParentBasedTraceIdRatio:return new q({root:new et.h(it())});default:return E.s.error('OTEL_TRACES_SAMPLER value "'.concat(e,'" invalid, defaulting to "').concat(tt.ParentBasedAlwaysOn,'".')),new q({root:new Z})}}function it(){const t=(0,$.Jk)("OTEL_TRACES_SAMPLER_ARG");return null==t?(E.s.error("OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ".concat(1,".")),1):t<0||t>1?(E.s.error("OTEL_TRACES_SAMPLER_ARG=".concat(t," was given, but it is out of range ([0..1]), defaulting to ").concat(1,".")),1):t}const st=1/0;class ot{constructor(){(0,r.A)(this,"generateTraceId",ct(16)),(0,r.A)(this,"generateSpanId",ct(8))}}const at=Array(32);function ct(t){return function(){for(let e=0;e<2*t;e++)at[e]=Math.floor(16*Math.random())+48,at[e]>=58&&(at[e]+=39);return String.fromCharCode.apply(null,at.slice(0,2*t))}}class ut{constructor(t,e,n,i){(0,r.A)(this,"_sampler",void 0),(0,r.A)(this,"_generalLimits",void 0),(0,r.A)(this,"_spanLimits",void 0),(0,r.A)(this,"_idGenerator",void 0),(0,r.A)(this,"instrumentationScope",void 0),(0,r.A)(this,"_resource",void 0),(0,r.A)(this,"_spanProcessor",void 0);const s=function(t){const e={sampler:rt()},n=nt(),r=Object.assign({},n,e,t);return r.generalLimits=Object.assign({},n.generalLimits,t.generalLimits||{}),r.spanLimits=Object.assign({},n.spanLimits,t.spanLimits||{}),r}(e);this._sampler=s.sampler,this._generalLimits=s.generalLimits,this._spanLimits=s.spanLimits,this._idGenerator=e.idGenerator||new ot,this._resource=n,this._spanProcessor=i,this.instrumentationScope=t}startSpan(t){var e,n,r;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:y._.active();i.root&&(s=T.u.deleteSpan(s));const o=T.u.getSpan(s);if((0,P.Zf)(s)){E.s.debug("Instrumentation suppressed, returning Noop Span");return T.u.wrapSpanContext(w.dM)}const a=null===o||void 0===o?void 0:o.spanContext(),c=this._idGenerator.generateSpanId();let u,l,d;a&&T.u.isSpanContextValid(a)?(l=a.traceId,d=a.traceState,u=a):l=this._idGenerator.generateTraceId();const h=null!==(e=i.kind)&&void 0!==e?e:C.v.INTERNAL,p=(null!==(n=i.links)&&void 0!==n?n:[]).map(t=>({context:t.context,attributes:x(t.attributes)})),f=x(i.attributes),_=this._sampler.shouldSample(s,l,t,h,f,p);d=null!==(r=_.traceState)&&void 0!==r?r:d;const m={traceId:l,spanId:c,traceFlags:_.decision===O.i.RECORD_AND_SAMPLED?L.X.SAMPLED:L.X.NONE,traceState:d};if(_.decision===O.i.NOT_RECORD){E.s.debug("Recording is off, prop
1agating context in a non-recording span");return T.u.wrapSpanContext(m)}const g=x(Object.assign(f,_.attributes));return new G({resource:this._resource,scope:this.instrumentationScope,context:s,spanContext:m,name:t,kind:h,links:p,parentSpanContext:u,attributes:g,startTime:i.startTime,spanProcessor:this._spanProcessor,spanLimits:this._spanLimits})}startActiveSpan(t,e,n,r){let i,s,o;if(arguments.length<2)return;2===arguments.length?o=e:3===arguments.length?(i=e,o=n):(i=e,s=n,o=r);const a=null!==s&&void 0!==s?s:y._.active(),c=this.startSpan(t,i,a),u=T.u.setSpan(a,c);return y._.with(u,o,void 0,c)}getGeneralLimits(){return this._generalLimits}getSpanLimits(){return this._spanLimits}}class lt{constructor(t){(0,r.A)(this,"_spanProcessors",void 0),this._spanProcessors=t}forceFlush(){const t=[];for(const e of this._spanProcessors)t.push(e.forceFlush());return new Promise(e=>{Promise.all(t).then(()=>{e()}).catch(t=>{(0,Y.s)(t||new Error("MultiSpanProcessor: forceFlush failed")),e()})})}onStart(t,e){for(const n of this._spanProcessors)n.onStart(t,e)}onEnd(t){for(const e of this._spanProcessors)e.onEnd(t)}shutdown(){const t=[];for(const e of this._spanProcessors)t.push(e.shutdown());return new Promise((e,n)=>{Promise.all(t).then(()=>{e()},n)})}}var dt;!function(t){t[t.resolved=0]="resolved",t[t.timeout=1]="timeout",t[t.error=2]="error",t[t.unresolved=3]="unresolved"}(dt||(dt={}));class ht{constructor(){var t,e;let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,r.A)(this,"_config",void 0),(0,r.A)(this,"_tracers",new Map),(0,r.A)(this,"_resource",void 0),(0,r.A)(this,"_activeSpanProcessor",void 0);const i=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];let r=e.shift();const i=new WeakMap;for(;e.length>0;)r=_(r,e.shift(),0,i);return r}({},nt(),function(t){var e,n,r,i,s,o,a,c,u,l,d,h;const p=Object.assign({},t.spanLimits);return p.attributeCountLimit=null!==(e=null!==(n=null!==(r=null!==(i=null===(s=t.spanLimits)||void 0===s?void 0:s.attributeCountLimit)&&void 0!==i?i:null===(o=t.generalLimits)||void 0===o?void 0:o.attributeCountLimit)&&void 0!==r?r:(0,$.Jk)("OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT"))&&void 0!==n?n:(0,$.Jk)("OTEL_ATTRIBUTE_COUNT_LIMIT"))&&void 0!==e?e:128,p.attributeValueLengthLimit=null!==(a=null!==(c=null!==(u=null!==(l=null===(d=t.spanLimits)||void 0===d?void 0:d.attributeValueLengthLimit)&&void 0!==l?l:null===(h=t.generalLimits)||void 0===h?void 0:h.attributeValueLengthLimit)&&void 0!==u?u:(0,$.Jk)("OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT"))&&void 0!==c?c:(0,$.Jk)("OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT"))&&void 0!==a?a:st,Object.assign({},t,{spanLimits:p})}(n));this._resource=null!==(t=i.resource)&&void 0!==t?t:(0,b.gk)(),this._config=Object.assign({},i,{resource:this._resource});const s=[];null!==(e=n.spanProcessors)&&void 0!==e&&e.length&&s.push(...n.spanProcessors),this._activeSpanProcessor=new lt(s)}getTracer(t,e,n){const r="".concat(t,"@").concat(e||"",":").concat((null===n||void 0===n?void 0:n.schemaUrl)||"");return this._tracers.has(r)||this._tracers.set(r,new ut({name:t,version:e,schemaUrl:null===n||void 0===n?void 0:n.schemaUrl},this._config,this._resource,this._activeSpanProcessor)),this._tracers.get(r)}forceFlush(){const t=this._config.forceFlushTimeoutMillis,e=this._activeSpanProcessor._spanProcessors.map(e=>new Promise(n=>{let r;const i=setTimeout(()=>{n(new Error("Span processor did not completed within timeout period of ".concat(t," ms"))),r=dt.timeout},t);e.forceFlush().then(()=>{clearTimeout(i),r!==dt.timeout&&(r=dt.resolved,n(r))}).catch(t=>{clearTimeout(i),r=dt.error,n(t)})}));return new Promise((t,n)=>{Promise.all(e).then(e=>{const r=e.filter(t=>t!==dt.resolved);r.length>0?n(r):t()}).catch(t=>n([t]))})}shutdown(){return this._activeSpanProcessor.shutdown()}}var pt=n(76975);class ft{constructor(){(0,r.A)(this,"_enabled",!1),(0,r.A)(this,"_currentContext",pt.l)}_bindFunction(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pt.l,e=arguments.length>1?arguments[1]:void 0;const n=this,r=function(){for(var r=arguments.length,i=new Array(r),s=0;s<r;s++)i[s]=arguments[s];return n.with(t,()=>e.apply(this,i))};
1return Object.defineProperty(r,"length",{enumerable:!1,configurable:!0,writable:!1,value:e.length}),r}active(){return this._currentContext}bind(t,e){return void 0===t&&(t=this.active()),"function"===typeof e?this._bindFunction(t,e):e}disable(){return this._currentContext=pt.l,this._enabled=!1,this}enable(){return this._enabled||(this._enabled=!0,this._currentContext=pt.l),this}with(t,e,n){const r=this._currentContext;this._currentContext=t||pt.l;try{for(var i=arguments.length,s=new Array(i>3?i-3:0),o=3;o<i;o++)s[o-3]=arguments[o];return e.call(n,...s)}finally{this._currentContext=r}}}var _t=n(74230);class mt{constructor(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,r.A)(this,"_propagators",void 0),(0,r.A)(this,"_fields",void 0),this._propagators=null!==(t=e.propagators)&&void 0!==t?t:[],this._fields=Array.from(new Set(this._propagators.map(t=>"function"===typeof t.fields?t.fields():[]).reduce((t,e)=>t.concat(e),[])))}inject(t,e,n){for(const i of this._propagators)try{i.inject(t,e,n)}catch(r){E.s.warn("Failed to inject with ".concat(i.constructor.name,". Err: ").concat(r.message))}}extract(t,e,n){return this._propagators.reduce((t,r)=>{try{return r.extract(t,e,n)}catch(i){E.s.warn("Failed to extract with ".concat(r.constructor.name,". Err: ").concat(i.message))}return t},t)}fields(){return this._fields.slice()}}var gt=n(4377);const vt="baggage";var St=n(12108);function At(t){const e=t.split(";");if(e.length<=0)return;const n=e.shift();if(!n)return;const r=n.indexOf("=");if(r<=0)return;const i=decodeURIComponent(n.substring(0,r).trim()),s=decodeURIComponent(n.substring(r+1).trim());let o;return e.length>0&&(o=(0,St.B)(e.join(";"))),{key:i,value:s,metadata:o}}class bt{inject(t,e,n){const r=_t.$.getBaggage(t);if(!r||(0,P.Zf)(t))return;const i=function(t){return t.getAllEntries().map(t=>{let[e,n]=t,r="".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(n.value));return void 0!==n.metadata&&(r+=";"+n.metadata.toString()),r})}(r).filter(t=>t.length<=4096).slice(0,180),s=function(t){return t.reduce((t,e)=>{const n="".concat(t).concat(""!==t?",":"").concat(e);return n.length>8192?t:n},"")}(i);s.length>0&&n.set(e,vt,s)}extract(t,e,n){const r=n.get(e,vt),i=Array.isArray(r)?r.join(","):r;if(!i)return t;const s={};if(0===i.length)return t;return i.split(",").forEach(t=>{const e=At(t);if(e){const t={value:e.value};e.metadata&&(t.metadata=e.metadata),s[e.key]=t}}),0===Object.entries(s).length?t:_t.$.setBaggage(t,_t.$.createBaggage(s))}fields(){return[vt]}}class yt extends ht{constructor(){super(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}register(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var e;T.u.setGlobalTracerProvider(this),null!==(e=t.propagator)&&(void 0!==e?_t.$.setGlobalPropagator(e):_t.$.setGlobalPropagator(new mt({propagators:[new gt.lm,new bt]}))),function(t){if(null!==t){if(void 0===t){const t=new ft;return t.enable(),void y._.setGlobalContextManager(t)}t.enable(),y._.setGlobalContextManager(t)}}(t.contextManager)}}},25902:(t,e,n)=>{n.d(e,{h:()=>o});var r=n(64467),i=n(19301),s=n(90953);class o{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;(0,r.A)(this,"_ratio",void 0),(0,r.A)(this,"_upperBound",void 0),this._ratio=t,this._ratio=this._normalize(t),this._upperBound=Math.floor(4294967295*this._ratio)}shouldSample(t,e){return{decision:(0,i.hX)(e)&&this._accumulate(e)<this._upperBound?s.i.RECORD_AND_SAMPLED:s.i.NOT_RECORD}}toString(){return"TraceIdRatioBased{".concat(this._ratio,"}")}_normalize(t){return"number"!==typeof t||isNaN(t)?0:t>=1?1:t<=0?0:t}_accumulate(t){let e=0;for(let n=0;n<t.length/8;n++){const r=8*n;e=(e^parseInt(t.slice(r,r+8),16))>>>0}return e}}},38315:(t,e)=>{e.BR=e.i1=void 0,function(t){t[t.SPAN_KIND_UNSPECIFIED=0]="SPAN_KIND_UNSPECIFIED",t[t.SPAN_KIND_INTERNAL=1]="SPAN_KIND_INTERNAL",t[t.SPAN_KIND_SERVER=2]="SPAN_KIND_SERVER",t[t.SPAN_KIND_CLIENT=3]="SPAN_KIND_CLIENT",t[t.SPAN_KIND_PRODUCER=4]="SPAN_KIND_PRODUCER",t[t.SPAN_KIND_CONSUMER=5]="SPAN_KIND_CONSUMER"}(e.i1||(e.i1={})),function(t){t[t.STATUS_CODE_UNSET=0]="STATUS_CODE_UNSET",t[t.STATUS_CODE_OK=1]="STATUS_CODE_OK",t[t.STATUS_CODE_ERROR=2]="STATUS_CODE_ERROR"}(e.BR||(e.BR={}))},43712:(t,e,n)=>{n.d(e,{J:()=>f});var r=n(64467),i=n(85376),s=n(23651),o=n(45282),a=n(71283);class c{constructor(){(0,r.A)(this,"_promise",void 0),(0,r.A)(this,"_resolve",void 0),(0,r.A)(this,"_reject",void 0),this._promise=new Promise((t,e)=>{this._resolve=t,this._reject=e})}get promise(){return this._promise}resolve(t){this._resolve(t)}reject(t){this._reject(t)}}class u{constructor(t,e){(0,r.A)(this,"_callback",void 0),(0,r.A)(this,"_that",void 0),(0,r.A)(this,"_isCalled",!1),(0,r.A)(this,"_deferred",new c),this._callback=t,this._that=e}get isCalled(){return this._isCalled}get promise(){return this._deferred.promise}call(){if(!this._isCalled){this._isCalled=!0;try{for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];Promise.resolve(this._callback.call(this._that,...e)).then(t=>this._deferred.resolve(t),t=>this._deferred.reject(t))}catch(r){this._deferred.reject(r)}}return this._deferred.promise}}var l=n(90455),d=n(13354),h=n(57654);class p{constructor(t,e){var n,s,o,c;(0,r.A)(this,"_exporter",void 0),(0,r.A)(this,"_maxExportBatchSize",void 0),(0,r.A)(this,"_maxQueueSize",void 0),(0,r.A)(this,"_scheduledDelayMillis",void 0),(0,r.A)(this,"_exportTimeoutMillis",void 0),(0,r.A)(this,"_isExporting",!1),(0,r.A)(this,"_finishedSpans",[]),(0,r.A)(this,"_timer",void 0),(0,r.A)(this,"_shutdownOnce",void 0),(0,r.A)(this,"_droppedSpansCount",0),this._exporter=t,this._maxExportBatchSize="number"===typeof(null===e||void 0===e?void 0:e.maxExportBatchSize)?e.maxExportBatchSize:null!==(n=(0,a.Jk)("OTEL_BSP_MAX_EXPORT_BATCH_SIZE"))&&void 0!==n?n:512,this._maxQueueSize="number"===typeof(null===e||void 0===e?void 0:e.maxQueueSize)?e.maxQueueSize:null!==(s=(0,a.Jk)("OTEL_BSP_MAX_QUEUE_SIZE"))&&void 0!==s?s:2048,this._scheduledDelayMillis="number"===typeof(null===e||void 0===e?void 0:e.sc
1heduledDelayMillis)?e.scheduledDelayMillis:null!==(o=(0,a.Jk)("OTEL_BSP_SCHEDULE_DELAY"))&&void 0!==o?o:5e3,this._exportTimeoutMillis="number"===typeof(null===e||void 0===e?void 0:e.exportTimeoutMillis)?e.exportTimeoutMillis:null!==(c=(0,a.Jk)("OTEL_BSP_EXPORT_TIMEOUT"))&&void 0!==c?c:3e4,this._shutdownOnce=new u(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(i.s.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"),this._maxExportBatchSize=this._maxQueueSize)}forceFlush(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()}onStart(t,e){}onEnd(t){this._shutdownOnce.isCalled||0!==(t.spanContext().traceFlags&s.X.SAMPLED)&&this._addToBuffer(t)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return Promise.resolve().then(()=>this.onShutdown()).then(()=>this._flushAll()).then(()=>this._exporter.shutdown())}_addToBuffer(t){if(this._finishedSpans.length>=this._maxQueueSize)return 0===this._droppedSpansCount&&i.s.debug("maxQueueSize reached, dropping spans"),void this._droppedSpansCount++;this._droppedSpansCount>0&&(i.s.warn("Dropped ".concat(this._droppedSpansCount," spans because maxQueueSize reached")),this._droppedSpansCount=0),this._finishedSpans.push(t),this._maybeStartTimer()}_flushAll(){return new Promise((t,e)=>{const n=[];for(let r=0,i=Math.ceil(this._finishedSpans.length/this._maxExportBatchSize);r<i;r++)n.push(this._flushOneBatch());Promise.all(n).then(()=>{t()}).catch(e)})}_flushOneBatch(){return this._clearTimer(),0===this._finishedSpans.length?Promise.resolve():new Promise((t,e)=>{const n=setTimeout(()=>{e(new Error("Timeout"))},this._exportTimeoutMillis);o._.with((0,l.M1)(o._.active()),()=>{let r;this._finishedSpans.length<=this._maxExportBatchSize?(r=this._finishedSpans,this._finishedSpans=[]):r=this._finishedSpans.splice(0,this._maxExportBatchSize);const i=()=>this._exporter.export(r,r=>{var i;(clearTimeout(n),r.code===d.V.SUCCESS)?t():e(null!==(i=r.error)&&void 0!==i?i:new Error("BatchSpanProcessor: span export failed"))});let s=null;for(let t=0,e=r.length;t<e;t++){const e=r[t];e.resource.asyncAttributesPending&&e.resource.waitForAsyncAttributes&&(null!==s&&void 0!==s||(s=[]),s.push(e.resource.waitForAsyncAttributes()))}null===s?i():Promise.all(s).then(i,t=>{(0,h.s)(t),e(t)})})})}_maybeStartTimer(){if(this._isExporting)return;const t=()=>{this._isExporting=!0,this._flushOneBatch().finally(()=>{this._isExporting=!1,this._finishedSpans.length>0&&(this._clearTimer(),this._maybeStartTimer())}).catch(t=>{this._isExporting=!1,(0,h.s)(t)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return t();void 0===this._timer&&(this._timer=setTimeout(()=>t(),this._scheduledDelayMillis),"number"!==typeof this._timer&&this._timer.unref())}_clearTimer(){void 0!==this._timer&&(clearTimeout(this._timer),this._timer=void 0)}}class f extends p{constructor(t,e){super(t,e),(0,r.A)(this,"_visibilityChangeListener",void 0),(0,r.A)(this,"_pageHideListener",void 0),this.onInit(e)}onInit(t){!0!==(null===t||void 0===t?void 0:t.disableAutoFlushOnDocumentHide)&&"undefined"!==typeof document&&(this._visibilityChangeListener=()=>{"hidden"===document.visibilityState&&this.forceFlush().catch(t=>{(0,h.s)(t)})},this._pageHideListener=()=>{this.forceFlush().catch(t=>{(0,h.s)(t)})},document.addEventListener("visibilitychange",this._visibilityChangeListener),document.addEventListener("pagehide",this._pageHideListener))}onShutdown(){"undefined"!==typeof document&&(this._visibilityChangeListener&&document.removeEventListener("visibilitychange",this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener("pagehide",this._pageHideListener))}}},50815:(t,e,n)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getOtlpEncoder=e.encodeAsString=e.encodeAsLongBits=e.toLongBits=e.hrTimeToNanos=void 0;const r=n(10078),i=n(4627);function s(t){const e=BigInt(1e9);return BigInt(t[0])*e+BigInt(t[1])}function o(t){return{low:Number(BigInt.asUintN(32,t)),high:Number(BigInt.asUintN(32,t>>BigInt(32)))}}function a(t){return o(s(t))}function c(t){return s(t).toString()}e.hrTimeToNanos=s,e.toLongBits=o,e.encodeAsLongBits=a,e.encodeAsString=c;const u="undefined"!==typeof BigInt?c:r.hrTimeToNanoseconds;function l(t){return t}function d(t){if(void 0!==t)return(0,i.hexToBinary)(t)}const h={encodeHrTime:a,encodeSpanContext:i.hexToBinary,encodeOptionalSpanContext:d};e.getOtlpEncoder=function(t){var e,n;if(void 0===t)return h;const r=null===(e=t.useLongBits)||void 0===e||e,s=null!==(n=t.useHex)&&void 0!==n&&n;return{encodeHrTime:r?a:u,encodeSpanContext:s?l:i.hexToBinary,encodeOptionalSpanContext:s?l:d}}},57654:(t,e,n)=>{n.d(e,{s:()=>s});var r=n(85376);let i=t=>{r.s.error(function(t){return"string"===typeof t?t:JSON.stringify(function(t){const e={};let n=t;for(;null!==n;
1)Object.getOwnPropertyNames(n).forEach(t=>{if(e[t])return;const r=n[t];r&&(e[t]=String(r))}),n=Object.getPrototypeOf(n);return e}(t))}(t))};function s(t){try{i(t)}catch(e){}}},61575:(t,e,n)=>{e.sJ=void 0;const r=n(96561),i=n(50815);function s(t,e){var n,i,s;const c=t.spanContext(),u=t.status,l=null!==(n=t.parentSpanContext)&&void 0!==n&&n.spanId?e.encodeSpanContext(null===(i=t.parentSpanContext)||void 0===i?void 0:i.spanId):void 0;return{traceId:e.encodeSpanContext(c.traceId),spanId:e.encodeSpanContext(c.spanId),parentSpanId:l,traceState:null===(s=c.traceState)||void 0===s?void 0:s.serialize(),name:t.name,kind:null==t.kind?0:t.kind+1,startTimeUnixNano:e.encodeHrTime(t.startTime),endTimeUnixNano:e.encodeHrTime(t.endTime),attributes:(0,r.toAttributes)(t.attributes),droppedAttributesCount:t.droppedAttributesCount,events:t.events.map(t=>a(t,e)),droppedEventsCount:t.droppedEventsCount,status:{code:u.code,message:u.message},links:t.links.map(t=>o(t,e)),droppedLinksCount:t.droppedLinksCount}}function o(t,e){var n;return{attributes:t.attributes?(0,r.toAttributes)(t.attributes):[],spanId:e.encodeSpanContext(t.context.spanId),traceId:e.encodeSpanContext(t.context.traceId),traceState:null===(n=t.context.traceState)||void 0===n?void 0:n.serialize(),droppedAttributesCount:t.droppedAttributesCount||0}}function a(t,e){return{attributes:t.attributes?(0,r.toAttributes)(t.attributes):[],name:t.name,timeUnixNano:e.encodeHrTime(t.time),droppedAttributesCount:t.droppedAttributesCount||0}}function c(t,e){const n=function(t){const e=new Map;for(const n of t){let t=e.get(n.resource);t||(t=new Map,e.set(n.resource,t));const r="".concat(n.instrumentationScope.name,"@").concat(n.instrumentationScope.version||"",":").concat(n.instrumentationScope.schemaUrl||"");let i=t.get(r);i||(i=[],t.set(r,i)),i.push(n)}return e}(t),i=[],o=n.entries();let a=o.next();for(;!a.done;){const[t,n]=a.value,c=[],u=n.values();let l=u.next();for(;!l.done;){const t=l.value;if(t.length>0){const n=t.map(t=>s(t,e));c.push({scope:(0,r.createInstrumentationScope)(t[0].instrumentationScope),spans:n,schemaUrl:t[0].instrumentationScope.schemaUrl})}l=u.next()}const d={resource:(0,r.createResource)(t),scopeSpans:c,schemaUrl:void 0};i.push(d),a=o.next()}return i}e.sJ=function(t,e){return{resourceSpans:c(t,(0,i.getOtlpEncoder)(e))}}},66548:(t,e,n)=>{n.d(e,{gk:()=>d,QZ:()=>l});var r=n(64467),i=n(85376);var s=n(5794);const o="process.runtime.name",a={[s.aO]:"opentelemetry",[o]:"browser",[s.E$]:s.qV,[s.aJ]:"2.2.0"};const c=t=>null!==t&&"object"===typeof t&&"function"===typeof t.then;class u{static FromAttributeList(t,e){const n=new u({},e);return n._rawAttributes=h(t),n._asyncAttributesPending=t.filter(t=>{let[e,n]=t;return c(n)}).length>0,n}constructor(t,e){var n;(0,r.A)(this,"_rawAttributes",void 0),(0,r.A)(this,"_asyncAttributesPending",!1),(0,r.A)(this,"_schemaUrl",void 0),(0,r.A)(this,"_memoizedAttributes",void 0);const s=null!==(n=t.attributes)&&void 0!==n?n:{};this._rawAttributes=Object.entries(s).map(t=>{let[e,n]=t;return c(n)&&(this._asyncAttributesPending=!0),[e,n]}),this._rawAttributes=h(this._rawAttributes),this._schemaUrl=function(t){if("string"===typeof t||void 0===t)return t;return void i.s.warn("Schema URL must be string or undefined, got %s. Schema URL will be ignored.",t)}(null===e||void 0===e?void 0:e.schemaUrl)}get asyncAttributesPending(){return this._asyncAttributesPending}async waitForAsyncAttributes(){if(this.asyncAttributesPending){for(let t=0;t<this._rawAttributes.length;t++){const[e,n]=this._rawAttributes[t];this._rawAttributes[t]=[e,c(n)?await n:n]}this._asyncAttributesPending=!1}}get attributes(){if(this.asyncAttributesPending&&i.s.error("Accessing resource attributes before async attributes settled"),this._memoizedAttributes)return this._memoizedAttributes;const t={};for(const[n,r]of this._rawAttributes){var e;if(c(r))i.s.debug("Unsettled resource attribute ".concat(n," skipped"));else if(null!=r)null!==(e=t[n])&&void 0!==e||(t[n]=r)}return this._asyncAttributesPending||(this._memoizedAttributes=t),t}getRawAttributes(){return this._rawAttributes}get schemaUrl(){return this._schemaUrl}merge(t){if(null==t)return this;const e=function(t,e){const n=null===t||void 0===t?void 0:t.schemaUrl,r=null===e||void 0===e?void 0:e.sc
1hemaUrl,s=void 0===n||""===n,o=void 0===r||""===r;if(s)return r;if(o)return n;if(n===r)return n;return void i.s.warn('Schema URL merge conflict: old resource has "%s", updating resource has "%s". Resulting resource will have undefined Schema URL.',n,r)}(this,t),n=e?{schemaUrl:e}:void 0;return u.FromAttributeList([...t.getRawAttributes(),...this.getRawAttributes()],n)}}function l(t,e){return u.FromAttributeList(Object.entries(t),e)}function d(){return l({[s.UX]:"unknown_service",[s.E$]:a[s.E$],[s.aO]:a[s.aO],[s.aJ]:a[s.aJ]})}function h(t){return t.map(t=>{let[e,n]=t;return c(n)?[e,n.catch(t=>{i.s.debug("promise rejection for resource attribute: %s - %s",e,t)})]:[e,n]})}},70311:(t,e,n)=>{n.r(e),n.d(e,{Field:()=>i.A,FieldContext:()=>u.A,FormProvider:()=>c.O,List:()=>s.A,ListContext:()=>l.A,default:()=>p,useForm:()=>o.A,useWatch:()=>d.A});var r=n(53858),i=n(81301),s=n(99867),o=n(29333),a=n(19477),c=n(29294),u=n(43040),l=n(36628),d=n(55513),h=r.forwardRef(a.A);h.FormProvider=c.O,h.Field=i.A,h.List=s.A,h.useForm=o.A,h.useWatch=d.A;const p=h},71283:(t,e,n)=>{function r(t){}function i(t){}n.d(e,{HF:()=>r,Jk:()=>i})},90455:(t,e,n)=>{n.d(e,{M1:()=>i,Zf:()=>s});const r=(0,n(76975).n)("OpenTelemetry SDK Context Key SUPPRESS_TRACING");function i(t){return t.setValue(r,!0)}function s(t){return!0===t.getValue(r)}},90953:(t,e,n)=>{var r;n.d(e,{i:()=>r}),function(t){t[t.NOT_RECORD=0]="NOT_RECORD",t[t.RECORD=1]="RECORD",t[t.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}(r||(r={}))},96561:(t,e)=>{function n(t){return Object.keys(t).map(e=>r(e,t[e]))}function r(t,e){return{key:t,value:i(e)}}function i(t){const e=typeof t;return"string"===e?{stringValue:t}:"number"===e?Number.isInteger(t)?{intValue:t}:{doubleValue:t}:"boolean"===e?{boolValue:t}:t instanceof Uint8Array?{bytesValue:t}:Array.isArray(t)?{arrayValue:{values:t.map(i)}}:"object"===e&&null!=t?{kvlistValue:{values:Object.entries(t).map(t=>{let[e,n]=t;return r(e,n)})}}:{}}Object.defineProperty(e,"__esModule",{value:!0}),e.toAnyValue=e.toKeyValue=e.toAttributes=e.createInstrumentationScope=e.createResource=void 0,e.createResource=function(t){return{attributes:n(t.attributes),droppedAttributesCount:0}},e.createInstrumentationScope=function(t){return{name:t.name,version:t.version}},e.toAttributes=n,e.toKeyValue=r,e.toAnyValue=i}}]);
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.