@redocly/openapi-docs 3.24.0 → 3.25.0-next.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{redocly-openapi-docs.min.AiChatProvider-CIrPFbvX.js → redocly-openapi-docs.min.AiChatProvider-bGaukVg3.js} +1 -1
- package/dist/{redocly-openapi-docs.min.AiChatSqliteDBStorage-eAy3scC4.js → redocly-openapi-docs.min.AiChatSqliteDBStorage-B3WqCo8T.js} +1 -1
- package/dist/{redocly-openapi-docs.min.AiPanel-C6CGDyzy.js → redocly-openapi-docs.min.AiPanel-DN-LBEFO.js} +1 -1
- package/dist/{redocly-openapi-docs.min.FileWatcher-dIKl80Ec.js → redocly-openapi-docs.min.FileWatcher-DmfKwKtE.js} +1 -1
- package/dist/{redocly-openapi-docs.min.SemanticSearchService-D4V6-td8.js → redocly-openapi-docs.min.SemanticSearchService-CNsu4oc7.js} +1 -1
- package/dist/{redocly-openapi-docs.min.SqliteDBStorage-D9-Rb-N7.js → redocly-openapi-docs.min.SqliteDBStorage-fJ7jdmg7.js} +1 -1
- package/dist/{redocly-openapi-docs.min.TauriFileSystemAdapter-CHW6hO3z.js → redocly-openapi-docs.min.TauriFileSystemAdapter-D_vLcthi.js} +1 -1
- package/dist/{redocly-openapi-docs.min.TauriRootStorage-CHiKNUn2.js → redocly-openapi-docs.min.TauriRootStorage-DT-GmHcE.js} +1 -1
- package/dist/{redocly-openapi-docs.min.ai-chat-mappers-C19k85fj.js → redocly-openapi-docs.min.ai-chat-mappers-Bo4t2Sy6.js} +1 -1
- package/dist/{redocly-openapi-docs.min.external-resolver-BH7DBWU-.js → redocly-openapi-docs.min.external-resolver-DZoJqn9O.js} +1 -1
- package/dist/{redocly-openapi-docs.min.index-BuFUmOUm.js → redocly-openapi-docs.min.index-BIgyny5h.js} +1240 -1209
- package/dist/{redocly-openapi-docs.min.index-dirYvuKs.js → redocly-openapi-docs.min.index-Dulume-e.js} +1 -1
- package/dist/{redocly-openapi-docs.min.index-DLlCa16R.js → redocly-openapi-docs.min.index-ZyDXzS2H.js} +1 -1
- package/dist/{redocly-openapi-docs.min.index-BQp5pipW.js → redocly-openapi-docs.min.index-gXOxeqhU.js} +1 -1
- package/dist/redocly-openapi-docs.min.js +1 -1
- package/dist/{redocly-openapi-docs.min.lint-Xu623Q1T.js → redocly-openapi-docs.min.lint-cWLSm0Jf.js} +2 -2
- package/dist/{redocly-openapi-docs.min.lint-graphql-D-Nm5P1M.js → redocly-openapi-docs.min.lint-graphql-IVB8qwzh.js} +1 -1
- package/dist/{redocly-openapi-docs.min.respect-run-CWNqYysq.js → redocly-openapi-docs.min.respect-run-sEcNkZpj.js} +1 -1
- package/dist/{redocly-openapi-docs.min.standalone-CRo0Sa5b.js → redocly-openapi-docs.min.standalone-B-Xybril.js} +3 -3
- package/dist/{redocly-openapi-docs.min.tauri-path-BUSVirPk.js → redocly-openapi-docs.min.tauri-path-C6nMSC2F.js} +1 -1
- package/dist/{redocly-openapi-docs.min.useAiChatQueries-CXyQzME7.js → redocly-openapi-docs.min.useAiChatQueries-BdApwGag.js} +2 -2
- package/package.json +5 -5
|
@@ -6688,7 +6688,7 @@ function useAtomValueWithDelay<Value>(
|
|
|
6688
6688
|
pointer-events: none;
|
|
6689
6689
|
animation: ${ZZ()} 1.2s infinite;
|
|
6690
6690
|
`}
|
|
6691
|
-
`,rX=e=>{const{languageInsensitive:t,fullWidth:r,blinking:n,iconPosition:o,icon:a,children:i,variant:l,tone:p,size:u,extraClass:h,to:f,external:b,className:v,...y}=e,x="tabIndex"in e?e.tabIndex:e.to?-1:void 0,k=m.jsxs(tX,{"data-component-name":"Button/Button",...y,className:eX({variant:l,tone:p,size:u,extraClass:h,className:v}),$fullWidth:r,$blinking:n,$iconPosition:o,$icon:a,$iconOnly:!i&&a!=null,$variant:l,$size:u,tabIndex:x,children:[a&&o!=="right"&&a,i,a&&o==="right"&&a]});return f?m.jsx(XZ,{to:f,external:b,languageInsensitive:t,onClick:e.onClick,children:k}):k},ft=xe(rX)``;function _a(){const e=D.useId().replace(/:/g,"_");return t=>`${t}-${e}`}var Ic={},Pc={},j9={},L9;function nX(){return L9||(L9=1,Object.defineProperty(j9,"__esModule",{value:!0})),j9}var Hu={},Mc={},Vu={};const sl="1.9.1",N9=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function oX(e){const t=new Set([e]),r=new Set,n=e.match(N9);if(!n)return()=>!1;const o={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(o.prerelease!=null)return function(l){return l===e};function a(l){return r.add(l),!1}function i(l){return t.add(l),!0}return function(l){if(t.has(l))return!0;if(r.has(l))return!1;const p=l.match(N9);if(!p)return a(l);const u={major:+p[1],minor:+p[2],patch:+p[3],prerelease:p[4]};return u.prerelease!=null||o.major!==u.major?a(l):o.major===0?o.minor===u.minor&&o.patch<=u.patch?i(l):a(l):o.minor<=u.minor?i(l):a(l)}}const aX=oX(sl),iX=sl.split(".")[0],Gu=Symbol.for(`opentelemetry.js.api.${iX}`),Wu=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof globalThis=="object"?globalThis:{};function Yu(e,t,r,n=!1){var o;const a=Wu[Gu]=(o=Wu[Gu])!==null&&o!==void 0?o:{version:sl};if(!n&&a[e]){const i=new Error(`@opentelemetry/api: Attempted duplicate registration of API: ${e}`);return r.error(i.stack||i.message),!1}if(a.version!==sl){const i=new Error(`@opentelemetry/api: Registration of version v${a.version} for ${e} does not match previously registered API v${sl}`);return r.error(i.stack||i.message),!1}return a[e]=t,r.debug(`@opentelemetry/api: Registered a global for ${e} v${sl}.`),!0}function ll(e){var t,r;const n=(t=Wu[Gu])===null||t===void 0?void 0:t.version;if(!(!n||!aX(n)))return(r=Wu[Gu])===null||r===void 0?void 0:r[e]}function Ku(e,t){t.debug(`@opentelemetry/api: Unregistering a global for ${e} v${sl}.`);const r=Wu[Gu];r&&delete r[e]}class sX{constructor(t){this._namespace=t.namespace||"DiagComponentLogger"}debug(...t){return Ju("debug",this._namespace,t)}error(...t){return Ju("error",this._namespace,t)}info(...t){return Ju("info",this._namespace,t)}warn(...t){return Ju("warn",this._namespace,t)}verbose(...t){return Ju("verbose",this._namespace,t)}}function Ju(e,t,r){const n=ll("diag");if(n)return n[e](t,...r)}var Vn;(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"})(Vn||(Vn={}));function lX(e,t){e<Vn.NONE?e=Vn.NONE:e>Vn.ALL&&(e=Vn.ALL),t=t||{};function r(n,o){const a=t[n];return typeof a=="function"&&e>=o?a.bind(t):function(){}}return{error:r("error",Vn.ERROR),warn:r("warn",Vn.WARN),info:r("info",Vn.INFO),debug:r("debug",Vn.DEBUG),verbose:r("verbose",Vn.VERBOSE)}}const cX="diag";class Uo{static instance(){return this._instance||(this._instance=new Uo),this._instance}constructor(){function t(o){return function(...a){const i=ll("diag");if(i)return i[o](...a)}}const r=this,n=(o,a={logLevel:Vn.INFO})=>{var i,l,p;if(o===r){const f=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return r.error((i=f.stack)!==null&&i!==void 0?i:f.message),!1}typeof a=="number"&&(a={logLevel:a});const u=ll("diag"),h=lX((l=a.logLevel)!==null&&l!==void 0?l:Vn.INFO,o);if(u&&!a.suppressOverrideMessage){const f=(p=new Error().stack)!==null&&p!==void 0?p:"<failed to generate stacktrace>";u.warn(`Current logger will be overwritten from ${f}`),h.warn(`Current logger will overwrite one already registered from ${f}`)}return Yu("diag",h,r,!0)};r.setLogger=n,r.disable=()=>{Ku(cX,r)},r.createComponentLogger=o=>new sX(o),r.verbose=t("verbose"),r.debug=t("debug"),r.info=t("info"),r.warn=t("warn"),r.error=t("error")}}class Tp{constructor(t){this._entries=t?new Map(t):new Map}getEntry(t){const r=this._entries.get(t);if(r)return Object.assign({},r)}getAllEntries(){return Array.from(this._entries.entries())}setEntry(t,r){const n=new Tp(this._entries);return n._entries.set(t,r),n}removeEntry(t){const r=new Tp(this._entries);return r._entries.delete(t),r}removeEntries(...t){const r=new Tp(this._entries);for(const n of t)r._entries.delete(n);return r}clear(){return new Tp}}const pX=Symbol("BaggageEntryMetadata"),uX=Uo.instance();function dX(e={}){return new Tp(new Map(Object.entries(e)))}function I9(e){return typeof e!="string"&&(uX.error(`Cannot create baggage metadata from unknown type: ${typeof e}`),e=""),{__TYPE__:pX,toString(){return e}}}function pm(e){return Symbol.for(e)}class N1{constructor(t){const r=this;r._currentContext=t?new Map(t):new Map,r.getValue=n=>r._currentContext.get(n),r.setValue=(n,o)=>{const a=new N1(r._currentContext);return a._currentContext.set(n,o),a},r.deleteValue=n=>{const o=new N1(r._currentContext);return o._currentContext.delete(n),o}}}const cl=new N1,H0=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}],V0={};if(typeof console<"u"){const e=["error","warn","info","debug","trace","log"];for(const t of e)typeof console[t]=="function"&&(V0[t]=console[t])}class hX{constructor(){function t(r){return function(...n){let o=V0[r];if(typeof o!="function"&&(o=V0.log),typeof o!="function"&&console&&(o=console[r],typeof o!="function"&&(o=console.log)),typeof o=="function")return o.apply(console,n)}}for(let r=0;r<H0.length;r++)this[H0[r].n]=t(H0[r].c)}}class fX{constructor(){}createGauge(t,r){return CX}createHistogram(t,r){return kX}createCounter(t,r){return SX}createUpDownCounter(t,r){return _X}createObservableGauge(t,r){return EX}createObservableCounter(t,r){return AX}createObservableUpDownCounter(t,r){return TX}addBatchObservableCallback(t,r){}removeBatchObservableCallback(t){}}class um{}class mX extends um{add(t,r){}}class gX extends um{add(t,r){}}class bX extends um{record(t,r){}}class vX extends um{record(t,r){}}class G0{addCallback(t){}removeCallback(t){}}class yX extends G0{}class xX extends G0{}class wX extends G0{}const P9=new fX,SX=new mX,CX=new bX,kX=new vX,_X=new gX,AX=new yX,EX=new xX,TX=new wX;function M9(){return P9}var W0;(function(e){e[e.INT=0]="INT",e[e.DOUBLE=1]="DOUBLE"})(W0||(W0={}));const D9={get(e,t){if(e!=null)return e[t]},keys(e){return e==null?[]:Object.keys(e)}},$9={set(e,t,r){e!=null&&(e[t]=r)}};class OX{active(){return cl}with(t,r,n,...o){return r.call(n,...o)}bind(t,r){return r}enable(){return this}disable(){return this}}const Y0="context",RX=new OX;class Op{constructor(){}static getInstance(){return this._instance||(this._instance=new Op),this._instance}setGlobalContextManager(t){return Yu(Y0,t,Uo.instance())}active(){return this._getContextManager().active()}with(t,r,n,...o){return this._getContextManager().with(t,r,n,...o)}bind(t,r){return this._getContextManager().bind(t,r)}_getContextManager(){return ll(Y0)||RX}disable(){this._getContextManager().disable(),Ku(Y0,Uo.instance())}}var ta;(function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"})(ta||(ta={}));const K0="0000000000000000",J0="00000000000000000000000000000000",Q0={traceId:J0,spanId:K0,traceFlags:ta.NONE};class Qu{constructor(t=Q0){this._spanContext=t}spanContext(){return this._spanContext}setAttribute(t,r){return this}setAttributes(t){return this}addEvent(t,r){return this}addLink(t){return this}addLinks(t){return this}setStatus(t){return this}updateName(t){return this}end(t){}isRecording(){return!1}recordException(t,r){}}const Z0=pm("OpenTelemetry Context Key SPAN");function X0(e){return e.getValue(Z0)||void 0}function jX(){return X0(Op.getInstance().active())}function ey(e,t){return e.setValue(Z0,t)}function LX(e){return e.deleteValue(Z0)}function NX(e,t){return ey(e,new Qu(t))}function z9(e){var t;return(t=X0(e))===null||t===void 0?void 0:t.spanContext()}const dm=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 U9(e,t){if(typeof e!="string"||e.length!==t)return!1;let r=0;for(let n=0;n<e.length;n+=4)r+=(dm[e.charCodeAt(n)]|0)+(dm[e.charCodeAt(n+1)]|0)+(dm[e.charCodeAt(n+2)]|0)+(dm[e.charCodeAt(n+3)]|0);return r===t}function ty(e){return U9(e,32)&&e!==J0}function F9(e){return U9(e,16)&&e!==K0}function Zu(e){return ty(e.traceId)&&F9(e.spanId)}function IX(e){return new Qu(e)}const ry=Op.getInstance();class B9{startSpan(t,r,n=ry.active()){if(r?.root)return new Qu;const o=n&&z9(n);return PX(o)&&Zu(o)?new Qu(o):new Qu}startActiveSpan(t,r,n,o){let a,i,l;if(arguments.length<2)return;arguments.length===2?l=r:arguments.length===3?(a=r,l=n):(a=r,i=n,l=o);const p=i??ry.active(),u=this.startSpan(t,a,p),h=ey(p,u);return ry.with(h,l,void 0,u)}}function PX(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"}const MX=new B9;class q9{constructor(t,r,n,o){this._provider=t,this.name=r,this.version=n,this.options=o}startSpan(t,r,n){return this._getTracer().startSpan(t,r,n)}startActiveSpan(t,r,n,o){const a=this._getTracer();return Reflect.apply(a.startActiveSpan,a,arguments)}_getTracer(){if(this._delegate)return this._delegate;const t=this._provider.getDelegateTracer(this.name,this.version,this.options);return t?(this._delegate=t,this._delegate):MX}}class DX{getTracer(t,r,n){return new B9}}const $X=new DX;class ny{getTracer(t,r,n){var o;return(o=this.getDelegateTracer(t,r,n))!==null&&o!==void 0?o:new q9(this,t,r,n)}getDelegate(){var t;return(t=this._delegate)!==null&&t!==void 0?t:$X}setDelegate(t){this._delegate=t}getDelegateTracer(t,r,n){var o;return(o=this._delegate)===null||o===void 0?void 0:o.getTracer(t,r,n)}}var Xu;(function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(Xu||(Xu={}));var ed;(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"})(ed||(ed={}));var ns;(function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"})(ns||(ns={}));const oy="[_0-9a-z-*/]",zX=`[a-z]${oy}{0,255}`,UX=`[a-z0-9]${oy}{0,240}@[a-z]${oy}{0,13}`,FX=new RegExp(`^(?:${zX}|${UX})$`),BX=/^[ -~]{0,255}[!-~]$/,qX=/,|=/;function HX(e){return FX.test(e)}function VX(e){return BX.test(e)&&!qX.test(e)}const H9=32,GX=512,V9=",",G9="=";class A3{constructor(t){this._internalState=new Map,t&&this._parse(t)}set(t,r){const n=this._clone();return n._internalState.has(t)&&n._internalState.delete(t),n._internalState.set(t,r),n}unset(t){const r=this._clone();return r._internalState.delete(t),r}get(t){return this._internalState.get(t)}serialize(){return Array.from(this._internalState.keys()).reduceRight((t,r)=>(t.push(r+G9+this.get(r)),t),[]).join(V9)}_parse(t){t.length>GX||(this._internalState=t.split(V9).reduceRight((r,n)=>{const o=n.trim(),a=o.indexOf(G9);if(a!==-1){const i=o.slice(0,a),l=o.slice(a+1,n.length);HX(i)&&VX(l)&&r.set(i,l)}return r},new Map),this._internalState.size>H9&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,H9))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){const t=new A3;return t._internalState=new Map(this._internalState),t}}function WX(e){return new A3(e)}const Po=Op.getInstance(),ct=Uo.instance();class YX{getMeter(t,r,n){return P9}}const KX=new YX,ay="metrics";class E3{constructor(){}static getInstance(){return this._instance||(this._instance=new E3),this._instance}setGlobalMeterProvider(t){return Yu(ay,t,Uo.instance())}getMeterProvider(){return ll(ay)||KX}getMeter(t,r,n){return this.getMeterProvider().getMeter(t,r,n)}disable(){Ku(ay,Uo.instance())}}const hm=E3.getInstance();class JX{inject(t,r){}extract(t,r){return t}fields(){return[]}}const iy=pm("OpenTelemetry Baggage Key");function W9(e){return e.getValue(iy)||void 0}function QX(){return W9(Op.getInstance().active())}function ZX(e,t){return e.setValue(iy,t)}function XX(e){return e.deleteValue(iy)}const sy="propagation",eee=new JX;class T3{constructor(){this.createBaggage=dX,this.getBaggage=W9,this.getActiveBaggage=QX,this.setBaggage=ZX,this.deleteBaggage=XX}static getInstance(){return this._instance||(this._instance=new T3),this._instance}setGlobalPropagator(t){return Yu(sy,t,Uo.instance())}inject(t,r,n=$9){return this._getGlobalPropagator().inject(t,r,n)}extract(t,r,n=D9){return this._getGlobalPropagator().extract(t,r,n)}fields(){return this._getGlobalPropagator().fields()}disable(){Ku(sy,Uo.instance())}_getGlobalPropagator(){return ll(sy)||eee}}const pl=T3.getInstance(),ly="trace";class O3{constructor(){this._proxyTracerProvider=new ny,this.wrapSpanContext=IX,this.isSpanContextValid=Zu,this.deleteSpan=LX,this.getSpan=X0,this.getActiveSpan=jX,this.getSpanContext=z9,this.setSpan=ey,this.setSpanContext=NX}static getInstance(){return this._instance||(this._instance=new O3),this._instance}setGlobalTracerProvider(t){const r=Yu(ly,this._proxyTracerProvider,Uo.instance());return r&&this._proxyTracerProvider.setDelegate(t),r}getTracerProvider(){return ll(ly)||this._proxyTracerProvider}getTracer(t,r){return this.getTracerProvider().getTracer(t,r)}disable(){Ku(ly,Uo.instance()),this._proxyTracerProvider=new ny}}const On=O3.getInstance(),tee={context:Po,diag:ct,metrics:hm,propagation:pl,trace:On},ree=Object.freeze(Object.defineProperty({__proto__:null,DiagConsoleLogger:hX,get DiagLogLevel(){return Vn},INVALID_SPANID:K0,INVALID_SPAN_CONTEXT:Q0,INVALID_TRACEID:J0,ProxyTracer:q9,ProxyTracerProvider:ny,ROOT_CONTEXT:cl,get SamplingDecision(){return Xu},get SpanKind(){return ed},get SpanStatusCode(){return ns},get TraceFlags(){return ta},get ValueType(){return W0},baggageEntryMetadataFromString:I9,context:Po,createContextKey:pm,createNoopMeter:M9,createTraceState:WX,default:tee,defaultTextMapGetter:D9,defaultTextMapSetter:$9,diag:ct,isSpanContextValid:Zu,isValidSpanId:F9,isValidTraceId:ty,metrics:hm,propagation:pl,trace:On},Symbol.toStringTag,{value:"Module"})),Y9=pm("OpenTelemetry SDK Context Key SUPPRESS_TRACING");function K9(e){return e.setValue(Y9,!0)}function cy(e){return e.getValue(Y9)===!0}const nee="=",J9=";",Q9=",",py="baggage",Z9=180,X9=4096,e_=8192;function oee(e){return e.reduce((t,r)=>{const n=`${t}${t!==""?Q9:""}${r}`;return n.length>e_?t:n},"")}function aee(e){return e.getAllEntries().map(([t,r])=>{let n=`${encodeURIComponent(t)}=${encodeURIComponent(r.value)}`;return r.metadata!==void 0&&(n+=J9+r.metadata.toString()),n})}function iee(e){if(!e)return;const t=e.indexOf(J9),r=t===-1?e:e.substring(0,t),n=r.indexOf(nee);if(n<=0)return;const o=r.substring(0,n).trim(),a=r.substring(n+1).trim();if(!o||!a)return;let i,l;try{i=decodeURIComponent(o),l=decodeURIComponent(a)}catch{return}let p;if(t!==-1&&t<e.length-1){const u=e.substring(t+1);p=I9(u)}return{key:i,value:l,metadata:p}}function t_(e,t,r,n){let o=0;for(;o<e.length&&r<Z9;){const a=e.indexOf(Q9,o),i=a===-1?e.length:a,l=i-o;if(l<=X9){const p=iee(e.substring(o,i));if(p){const u=(r===0?0:1)+l;if(n+u>e_)break;t[p.key]=p.metadata?{value:p.value,metadata:p.metadata}:{value:p.value},r++,n+=u}}if(a===-1)break;o=a+1}return[r,n]}class see{inject(t,r,n){const o=pl.getBaggage(t);if(!o||cy(t))return;const a=aee(o).filter(l=>l.length<=X9).slice(0,Z9),i=oee(a);i.length>0&&n.set(r,py,i)}extract(t,r,n){const o=n.get(r,py);if(!o)return t;const a={};let i=0,l=0;if(Array.isArray(o))for(let p=0;p<o.length;p++)[i,l]=t_(o[p],a,i,l);else[i]=t_(o,a,i,l);return i===0?t:pl.setBaggage(t,pl.createBaggage(a))}fields(){return[py]}}function td(e){const t={};if(typeof e!="object"||e==null)return t;for(const r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;if(!lee(r)){ct.warn(`Invalid attribute key: ${r}`);continue}const n=e[r];if(!r_(n)){ct.warn(`Invalid attribute value set for key: ${r}`);continue}Array.isArray(n)?t[r]=n.slice():t[r]=n}return t}function lee(e){return typeof e=="string"&&e!==""}function r_(e){return e==null?!0:Array.isArray(e)?cee(e):n_(typeof e)}function cee(e){let t;for(const r of e){if(r==null)continue;const n=typeof r;if(n!==t){if(!t){if(n_(n)){t=n;continue}return!1}return!1}}return!0}function n_(e){switch(e){case"number":case"boolean":case"string":return!0}return!1}function pee(){return e=>{ct.error(uee(e))}}function uee(e){return typeof e=="string"?e:JSON.stringify(dee(e))}function dee(e){const t={};let r=e;for(;r!==null;)Object.getOwnPropertyNames(r).forEach(n=>{if(t[n])return;const o=r[n];o&&(t[n]=String(o))}),r=Object.getPrototypeOf(r);return t}let hee=pee();function ul(e){try{hee(e)}catch{}}const fee="2.8.0";function Br(e){let t={};const r=e.length;for(let n=0;n<r;n++){const o=e[n];o&&(t[String(o).toUpperCase().replace(/[-.]/g,"_")]=o)}return t}const o_="aws.lambda.invoked_arn",a_="db.system",i_="db.connection_string",s_="db.user",l_="db.jdbc.driver_classname",c_="db.name",p_="db.statement",u_="db.operation",d_="db.mssql.instance_name",h_="db.cassandra.keyspace",f_="db.cassandra.page_size",m_="db.cassandra.consistency_level",g_="db.cassandra.table",b_="db.cassandra.idempotence",v_="db.cassandra.speculative_execution_count",y_="db.cassandra.coordinator.id",x_="db.cassandra.coordinator.dc",w_="db.hbase.namespace",S_="db.redis.database_index",C_="db.mongodb.collection",k_="db.sql.table",__="exception.type",A_="exception.message",E_="exception.stacktrace",T_="exception.escaped",O_="faas.trigger",R_="faas.execution",j_="faas.document.collection",L_="faas.document.operation",N_="faas.document.time",I_="faas.document.name",P_="faas.time",M_="faas.cron",D_="faas.coldstart",$_="faas.invoked_name",z_="faas.invoked_provider",U_="faas.invoked_region",F_="net.transport",B_="net.peer.ip",q_="net.peer.port",H_="net.peer.name",V_="net.host.ip",G_="net.host.port",W_="net.host.name",Y_="net.host.connection.type",K_="net.host.connection.subtype",J_="net.host.carrier.name",Q_="net.host.carrier.mcc",Z_="net.host.carrier.mnc",X_="net.host.carrier.icc",eA="peer.service",tA="enduser.id",rA="enduser.role",nA="enduser.scope",oA="thread.id",aA="thread.name",iA="code.function",sA="code.namespace",lA="code.filepath",cA="code.lineno",pA="http.method",uA="http.url",dA="http.target",hA="http.host",fA="http.scheme",mA="http.status_code",gA="http.flavor",bA="http.user_agent",vA="http.request_content_length",yA="http.request_content_length_uncompressed",xA="http.response_content_length",wA="http.response_content_length_uncompressed",SA="http.server_name",CA="http.route",kA="http.client_ip",_A="aws.dynamodb.table_names",AA="aws.dynamodb.consumed_capacity",EA="aws.dynamodb.item_collection_metrics",TA="aws.dynamodb.provisioned_read_capacity",OA="aws.dynamodb.provisioned_write_capacity",RA="aws.dynamodb.consistent_read",jA="aws.dynamodb.projection",LA="aws.dynamodb.limit",NA="aws.dynamodb.attributes_to_get",IA="aws.dynamodb.index_name",PA="aws.dynamodb.select",MA="aws.dynamodb.global_secondary_indexes",DA="aws.dynamodb.local_secondary_indexes",$A="aws.dynamodb.exclusive_start_table",zA="aws.dynamodb.table_count",UA="aws.dynamodb.scan_forward",FA="aws.dynamodb.segment",BA="aws.dynamodb.total_segments",qA="aws.dynamodb.count",HA="aws.dynamodb.scanned_count",VA="aws.dynamodb.attribute_definitions",GA="aws.dynamodb.global_secondary_index_updates",WA="messaging.system",YA="messaging.destination",KA="messaging.destination_kind",JA="messaging.temp_destination",QA="messaging.protocol",ZA="messaging.protocol_version",XA="messaging.url",eE="messaging.message_id",tE="messaging.conversation_id",rE="messaging.message_payload_size_bytes",nE="messaging.message_payload_compressed_size_bytes",oE="messaging.operation",aE="messaging.consumer_id",iE="messaging.rabbitmq.routing_key",sE="messaging.kafka.message_key",lE="messaging.kafka.consumer_group",cE="messaging.kafka.client_id",pE="messaging.kafka.partition",uE="messaging.kafka.tombstone",dE="rpc.system",hE="rpc.service",fE="rpc.method",mE="rpc.grpc.status_code",gE="rpc.jsonrpc.version",bE="rpc.jsonrpc.request_id",vE="rpc.jsonrpc.error_code",yE="rpc.jsonrpc.error_message",xE="message.type",wE="message.id",SE="message.compressed_size",CE="message.uncompressed_size",mee=o_,gee=a_,bee=i_,vee=s_,yee=l_,xee=c_,wee=p_,See=u_,Cee=d_,kee=h_,_ee=f_,Aee=m_,Eee=g_,Tee=b_,Oee=v_,Ree=y_,jee=x_,Lee=w_,Nee=S_,Iee=C_,Pee=k_,Mee=__,Dee=A_,$ee=E_,zee=T_,Uee=O_,Fee=R_,Bee=j_,qee=L_,Hee=N_,Vee=I_,Gee=P_,Wee=M_,Yee=D_,Kee=$_,Jee=z_,Qee=U_,Zee=F_,Xee=B_,ete=q_,tte=H_,rte=V_,nte=G_,ote=W_,ate=Y_,ite=K_,ste=J_,lte=Q_,cte=Z_,pte=X_,ute=eA,dte=tA,hte=rA,fte=nA,mte=oA,gte=aA,bte=iA,vte=sA,yte=lA,xte=cA,wte=pA,Ste=uA,Cte=dA,kte=hA,_te=fA,Ate=mA,Ete=gA,Tte=bA,Ote=vA,Rte=yA,jte=xA,Lte=wA,Nte=SA,Ite=CA,Pte=kA,Mte=_A,Dte=AA,$te=EA,zte=TA,Ute=OA,Fte=RA,Bte=jA,qte=LA,Hte=NA,Vte=IA,Gte=PA,Wte=MA,Yte=DA,Kte=$A,Jte=zA,Qte=UA,Zte=FA,Xte=BA,ere=qA,tre=HA,rre=VA,nre=GA,ore=WA,are=YA,ire=KA,sre=JA,lre=QA,cre=ZA,pre=XA,ure=eE,dre=tE,hre=rE,fre=nE,mre=oE,gre=aE,bre=iE,vre=sE,yre=lE,xre=cE,wre=pE,Sre=uE,Cre=dE,kre=hE,_re=fE,Are=mE,Ere=gE,Tre=bE,Ore=vE,Rre=yE,jre=xE,Lre=wE,Nre=SE,Ire=CE,Pre=Br([o_,a_,i_,s_,l_,c_,p_,u_,d_,h_,f_,m_,g_,b_,v_,y_,x_,w_,S_,C_,k_,__,A_,E_,T_,O_,R_,j_,L_,N_,I_,P_,M_,D_,$_,z_,U_,F_,B_,q_,H_,V_,G_,W_,Y_,K_,J_,Q_,Z_,X_,eA,tA,rA,nA,oA,aA,iA,sA,lA,cA,pA,uA,dA,hA,fA,mA,gA,bA,vA,yA,xA,wA,SA,CA,kA,_A,AA,EA,TA,OA,RA,jA,LA,NA,IA,PA,MA,DA,$A,zA,UA,FA,BA,qA,HA,VA,GA,WA,YA,KA,JA,QA,ZA,XA,eE,tE,rE,nE,oE,aE,iE,sE,lE,cE,pE,uE,dE,hE,fE,mE,gE,bE,vE,yE,xE,wE,SE,CE]),kE="other_sql",_E="mssql",AE="mysql",EE="oracle",TE="db2",OE="postgresql",RE="redshift",jE="hive",LE="cloudscape",NE="hsqldb",IE="progress",PE="maxdb",ME="hanadb",DE="ingres",$E="firstsql",zE="edb",UE="cache",FE="adabas",BE="firebird",qE="derby",HE="filemaker",VE="informix",GE="instantdb",WE="interbase",YE="mariadb",KE="netezza",JE="pervasive",QE="pointbase",ZE="sqlite",XE="sybase",e8="teradata",t8="vertica",r8="h2",n8="coldfusion",o8="cassandra",a8="hbase",i8="mongodb",s8="redis",l8="couchbase",c8="couchdb",p8="cosmosdb",u8="dynamodb",d8="neo4j",h8="geode",f8="elasticsearch",m8="memcached",g8="cockroachdb",Mre=kE,Dre=_E,$re=AE,zre=EE,Ure=TE,Fre=OE,Bre=RE,qre=jE,Hre=LE,Vre=NE,Gre=IE,Wre=PE,Yre=ME,Kre=DE,Jre=$E,Qre=zE,Zre=UE,Xre=FE,ene=BE,tne=qE,rne=HE,nne=VE,one=GE,ane=WE,ine=YE,sne=KE,lne=JE,cne=QE,pne=ZE,une=XE,dne=e8,hne=t8,fne=r8,mne=n8,gne=o8,bne=a8,vne=i8,yne=s8,xne=l8,wne=c8,Sne=p8,Cne=u8,kne=d8,_ne=h8,Ane=f8,Ene=m8,Tne=g8,One=Br([kE,_E,AE,EE,TE,OE,RE,jE,LE,NE,IE,PE,ME,DE,$E,zE,UE,FE,BE,qE,HE,VE,GE,WE,YE,KE,JE,QE,ZE,XE,e8,t8,r8,n8,o8,a8,i8,s8,l8,c8,p8,u8,d8,h8,f8,m8,g8]),b8="all",v8="each_quorum",y8="quorum",x8="local_quorum",w8="one",S8="two",C8="three",k8="local_one",_8="any",A8="serial",E8="local_serial",Rne=b8,jne=v8,Lne=y8,Nne=x8,Ine=w8,Pne=S8,Mne=C8,Dne=k8,$ne=_8,zne=A8,Une=E8,Fne=Br([b8,v8,y8,x8,w8,S8,C8,k8,_8,A8,E8]),T8="datasource",O8="http",R8="pubsub",j8="timer",L8="other",Bne=T8,qne=O8,Hne=R8,Vne=j8,Gne=L8,Wne=Br([T8,O8,R8,j8,L8]),N8="insert",I8="edit",P8="delete",Yne=N8,Kne=I8,Jne=P8,Qne=Br([N8,I8,P8]),M8="alibaba_cloud",D8="aws",$8="azure",z8="gcp",Zne=M8,Xne=D8,eoe=$8,toe=z8,roe=Br([M8,D8,$8,z8]),U8="ip_tcp",F8="ip_udp",B8="ip",q8="unix",H8="pipe",V8="inproc",G8="other",noe=U8,ooe=F8,aoe=B8,ioe=q8,soe=H8,loe=V8,coe=G8,poe=Br([U8,F8,B8,q8,H8,V8,G8]),W8="wifi",Y8="wired",K8="cell",J8="unavailable",Q8="unknown",uoe=W8,doe=Y8,hoe=K8,foe=J8,moe=Q8,goe=Br([W8,Y8,K8,J8,Q8]),Z8="gprs",X8="edge",e7="umts",t7="cdma",r7="evdo_0",n7="evdo_a",o7="cdma2000_1xrtt",a7="hsdpa",i7="hsupa",s7="hspa",l7="iden",c7="evdo_b",p7="lte",u7="ehrpd",d7="hspap",h7="gsm",f7="td_scdma",m7="iwlan",g7="nr",b7="nrnsa",v7="lte_ca",boe=Z8,voe=X8,yoe=e7,xoe=t7,woe=r7,Soe=n7,Coe=o7,koe=a7,_oe=i7,Aoe=s7,Eoe=l7,Toe=c7,Ooe=p7,Roe=u7,joe=d7,Loe=h7,Noe=f7,Ioe=m7,Poe=g7,Moe=b7,Doe=v7,$oe=Br([Z8,X8,e7,t7,r7,n7,o7,a7,i7,s7,l7,c7,p7,u7,d7,h7,f7,m7,g7,b7,v7]),y7="1.0",x7="1.1",w7="2.0",S7="SPDY",C7="QUIC",zoe=y7,Uoe=x7,Foe=w7,Boe=S7,qoe=C7,Hoe={HTTP_1_0:y7,HTTP_1_1:x7,HTTP_2_0:w7,SPDY:S7,QUIC:C7},k7="queue",_7="topic",Voe=k7,Goe=_7,Woe=Br([k7,_7]),A7="receive",E7="process",Yoe=A7,Koe=E7,Joe=Br([A7,E7]),T7=0,O7=1,R7=2,j7=3,L7=4,N7=5,I7=6,P7=7,M7=8,D7=9,$7=10,z7=11,U7=12,F7=13,B7=14,q7=15,H7=16,Qoe=T7,Zoe=O7,Xoe=R7,eae=j7,tae=L7,rae=N7,nae=I7,oae=P7,aae=M7,iae=D7,sae=$7,lae=z7,cae=U7,pae=F7,uae=B7,dae=q7,hae=H7,fae={OK:T7,CANCELLED:O7,UNKNOWN:R7,INVALID_ARGUMENT:j7,DEADLINE_EXCEEDED:L7,NOT_FOUND:N7,ALREADY_EXISTS:I7,PERMISSION_DENIED:P7,RESOURCE_EXHAUSTED:M7,FAILED_PRECONDITION:D7,ABORTED:$7,OUT_OF_RANGE:z7,UNIMPLEMENTED:U7,INTERNAL:F7,UNAVAILABLE:B7,DATA_LOSS:q7,UNAUTHENTICATED:H7},V7="SENT",G7="RECEIVED",mae=V7,gae=G7,bae=Br([V7,G7]),W7="cloud.provider",Y7="cloud.account.id",K7="cloud.region",J7="cloud.availability_zone",Q7="cloud.platform",Z7="aws.ecs.container.arn",X7="aws.ecs.cluster.arn",eT="aws.ecs.launchtype",tT="aws.ecs.task.arn",rT="aws.ecs.task.family",nT="aws.ecs.task.revision",oT="aws.eks.cluster.arn",aT="aws.log.group.names",iT="aws.log.group.arns",sT="aws.log.stream.names",lT="aws.log.stream.arns",cT="container.name",pT="container.id",uT="container.runtime",dT="container.image.name",hT="container.image.tag",fT="deployment.environment",mT="device.id",gT="device.model.identifier",bT="device.model.name",vT="faas.name",yT="faas.id",xT="faas.version",wT="faas.instance",ST="faas.max_memory",CT="host.id",kT="host.name",_T="host.type",AT="host.arch",ET="host.image.name",TT="host.image.id",OT="host.image.version",RT="k8s.cluster.name",jT="k8s.node.name",LT="k8s.node.uid",NT="k8s.namespace.name",IT="k8s.pod.uid",PT="k8s.pod.name",MT="k8s.container.name",DT="k8s.replicaset.uid",$T="k8s.replicaset.name",zT="k8s.deployment.uid",UT="k8s.deployment.name",FT="k8s.statefulset.uid",BT="k8s.statefulset.name",qT="k8s.daemonset.uid",HT="k8s.daemonset.name",VT="k8s.job.uid",GT="k8s.job.name",WT="k8s.cronjob.uid",YT="k8s.cronjob.name",KT="os.type",JT="os.description",QT="os.name",ZT="os.version",XT="process.pid",eO="process.executable.name",tO="process.executable.path",rO="process.command",nO="process.command_line",oO="process.command_args",aO="process.owner",iO="process.runtime.name",sO="process.runtime.version",lO="process.runtime.description",cO="service.name",pO="service.namespace",uO="service.instance.id",dO="service.version",hO="telemetry.sdk.name",fO="telemetry.sdk.language",mO="telemetry.sdk.version",gO="telemetry.auto.version",bO="webengine.name",vO="webengine.version",yO="webengine.description",vae=W7,yae=Y7,xae=K7,wae=J7,Sae=Q7,Cae=Z7,kae=X7,_ae=eT,Aae=tT,Eae=rT,Tae=nT,Oae=oT,Rae=aT,jae=iT,Lae=sT,Nae=lT,Iae=cT,Pae=pT,Mae=uT,Dae=dT,$ae=hT,zae=fT,Uae=mT,Fae=gT,Bae=bT,qae=vT,Hae=yT,Vae=xT,Gae=wT,Wae=ST,Yae=CT,Kae=kT,Jae=_T,Qae=AT,Zae=ET,Xae=TT,eie=OT,tie=RT,rie=jT,nie=LT,oie=NT,aie=IT,iie=PT,sie=MT,lie=DT,cie=$T,pie=zT,uie=UT,die=FT,hie=BT,fie=qT,mie=HT,gie=VT,bie=GT,vie=WT,yie=YT,xie=KT,wie=JT,Sie=QT,Cie=ZT,kie=XT,_ie=eO,Aie=tO,Eie=rO,Tie=nO,Oie=oO,Rie=aO,jie=iO,Lie=sO,Nie=lO,Iie=cO,Pie=pO,Mie=uO,Die=dO,$ie=hO,zie=fO,Uie=mO,Fie=gO,Bie=bO,qie=vO,Hie=yO,Vie=Br([W7,Y7,K7,J7,Q7,Z7,X7,eT,tT,rT,nT,oT,aT,iT,sT,lT,cT,pT,uT,dT,hT,fT,mT,gT,bT,vT,yT,xT,wT,ST,CT,kT,_T,AT,ET,TT,OT,RT,jT,LT,NT,IT,PT,MT,DT,$T,zT,UT,FT,BT,qT,HT,VT,GT,WT,YT,KT,JT,QT,ZT,XT,eO,tO,rO,nO,oO,aO,iO,sO,lO,cO,pO,uO,dO,hO,fO,mO,gO,bO,vO,yO]),xO="alibaba_cloud",wO="aws",SO="azure",CO="gcp",Gie=xO,Wie=wO,Yie=SO,Kie=CO,Jie=Br([xO,wO,SO,CO]),kO="alibaba_cloud_ecs",_O="alibaba_cloud_fc",AO="aws_ec2",EO="aws_ecs",TO="aws_eks",OO="aws_lambda",RO="aws_elastic_beanstalk",jO="azure_vm",LO="azure_container_instances",NO="azure_aks",IO="azure_functions",PO="azure_app_service",MO="gcp_compute_engine",DO="gcp_cloud_run",$O="gcp_kubernetes_engine",zO="gcp_cloud_functions",UO="gcp_app_engine",Qie=kO,Zie=_O,Xie=AO,ese=EO,tse=TO,rse=OO,nse=RO,ose=jO,ase=LO,ise=NO,sse=IO,lse=PO,cse=MO,pse=DO,use=$O,dse=zO,hse=UO,fse=Br([kO,_O,AO,EO,TO,OO,RO,jO,LO,NO,IO,PO,MO,DO,$O,zO,UO]),FO="ec2",BO="fargate",mse=FO,gse=BO,bse=Br([FO,BO]),qO="amd64",HO="arm32",VO="arm64",GO="ia64",WO="ppc32",YO="ppc64",KO="x86",vse=qO,yse=HO,xse=VO,wse=GO,Sse=WO,Cse=YO,kse=KO,_se=Br([qO,HO,VO,GO,WO,YO,KO]),JO="windows",QO="linux",ZO="darwin",XO="freebsd",eR="netbsd",tR="openbsd",rR="dragonflybsd",nR="hpux",oR="aix",aR="solaris",iR="z_os",Ase=JO,Ese=QO,Tse=ZO,Ose=XO,Rse=eR,jse=tR,Lse=rR,Nse=nR,Ise=oR,Pse=aR,Mse=iR,Dse=Br([JO,QO,ZO,XO,eR,tR,rR,nR,oR,aR,iR]),sR="cpp",lR="dotnet",cR="erlang",pR="go",uR="java",dR="nodejs",hR="php",fR="python",mR="ruby",gR="webjs",$se=sR,zse=lR,Use=cR,Fse=pR,Bse=uR,qse=dR,Hse=hR,Vse=fR,Gse=mR,Wse=gR,Yse=Br([sR,lR,cR,pR,uR,dR,hR,fR,mR,gR]),Kse="aspnetcore.diagnostics.exception.result",Jse="aborted",Qse="handled",Zse="skipped",Xse="unhandled",ele="aspnetcore.diagnostics.handler.type",tle="aspnetcore.rate_limiting.policy",rle="aspnetcore.rate_limiting.result",nle="acquired",ole="endpoint_limiter",ale="global_limiter",ile="request_canceled",sle="aspnetcore.request.is_unhandled",lle="aspnetcore.routing.is_fallback",cle="aspnetcore.routing.match_status",ple="failure",ule="success",dle="aspnetcore.user.is_authenticated",hle="client.address",fle="client.port",mle="code.column.number",gle="code.file.path",ble="code.function.name",vle="code.line.number",yle="code.stacktrace",xle="db.collection.name",wle="db.namespace",Sle="db.operation.batch.size",Cle="db.operation.name",kle="db.query.summary",_le="db.query.text",Ale="db.response.status_code",Ele="db.stored_procedure.name",Tle="db.system.name",Ole="mariadb",Rle="microsoft.sql_server",jle="mysql",Lle="postgresql",Nle="dotnet.gc.heap.generation",Ile="gen0",Ple="gen1",Mle="gen2",Dle="loh",$le="poh",zle="error.type",Ule="_OTHER",Fle="exception.escaped",fm="exception.message",bR="exception.stacktrace",mm="exception.type",Ble=e=>`http.request.header.${e}`,qle="http.request.method",Hle="_OTHER",Vle="CONNECT",Gle="DELETE",Wle="GET",Yle="HEAD",Kle="OPTIONS",Jle="PATCH",Qle="POST",Zle="PUT",Xle="TRACE",ece="http.request.method_original",tce="http.request.resend_count",rce=e=>`http.response.header.${e}`,nce="http.response.status_code",oce="http.route",ace="jvm.gc.action",ice="jvm.gc.name",sce="jvm.memory.pool.name",lce="jvm.memory.type",cce="heap",pce="non_heap",uce="jvm.thread.daemon",dce="jvm.thread.state",hce="blocked",fce="new",mce="runnable",gce="terminated",bce="timed_waiting",vce="waiting",yce="network.local.address",xce="network.local.port",wce="network.peer.address",Sce="network.peer.port",Cce="network.protocol.name",kce="network.protocol.version",_ce="network.transport",Ace="pipe",Ece="quic",Tce="tcp",Oce="udp",Rce="unix",jce="network.type",Lce="ipv4",Nce="ipv6",Ice="otel.scope.name",Pce="otel.scope.version",Mce="otel.status_code",Dce="ERROR",$ce="OK",zce="otel.status_description",Uce="server.address",Fce="server.port",Bce="service.instance.id",uy="service.name",qce="service.namespace",vR="service.version",Hce="signalr.connection.status",Vce="app_shutdown",Gce="normal_closure",Wce="timeout",Yce="signalr.transport",Kce="long_polling",Jce="server_sent_events",Qce="web_sockets",gm="telemetry.sdk.language",Zce="cpp",Xce="dotnet",epe="erlang",tpe="go",rpe="java",npe="nodejs",ope="php",ape="python",ipe="ruby",spe="rust",lpe="swift",yR="webjs",bm="telemetry.sdk.name",vm="telemetry.sdk.version",cpe="url.fragment",ppe="url.full",upe="url.path",dpe="url.query",hpe="url.scheme",fpe="user_agent.original",mpe="aspnetcore.diagnostics.exceptions",gpe="aspnetcore.rate_limiting.active_request_leases",bpe="aspnetcore.rate_limiting.queued_requests",vpe="aspnetcore.rate_limiting.request.time_in_queue",ype="aspnetcore.rate_limiting.request_lease.duration",xpe="aspnetcore.rate_limiting.requests",wpe="aspnetcore.routing.match_attempts",Spe="db.client.operation.duration",Cpe="dotnet.assembly.count",kpe="dotnet.exceptions",_pe="dotnet.gc.collections",Ape="dotnet.gc.heap.total_allocated",Epe="dotnet.gc.last_collection.heap.fragmentation.size",Tpe="dotnet.gc.last_collection.heap.size",Ope="dotnet.gc.last_collection.memory.committed_size",Rpe="dotnet.gc.pause.time",jpe="dotnet.jit.compilation.time",Lpe="dotnet.jit.compiled_il.size",Npe="dotnet.jit.compiled_methods",Ipe="dotnet.monitor.lock_contentions",Ppe="dotnet.process.cpu.count",Mpe="dotnet.process.cpu.time",Dpe="dotnet.process.memory.working_set",$pe="dotnet.thread_pool.queue.length",zpe="dotnet.thread_pool.thread.count",Upe="dotnet.thread_pool.work_item.count",Fpe="dotnet.timer.count",Bpe="http.client.request.duration",qpe="http.server.request.duration",Hpe="jvm.class.count",Vpe="jvm.class.loaded",Gpe="jvm.class.unloaded",Wpe="jvm.cpu.count",Ype="jvm.cpu.recent_utilization",Kpe="jvm.cpu.time",Jpe="jvm.gc.duration",Qpe="jvm.memory.committed",Zpe="jvm.memory.limit",Xpe="jvm.memory.used",eue="jvm.memory.used_after_last_gc",tue="jvm.thread.count",rue="kestrel.active_connections",nue="kestrel.active_tls_handshakes",oue="kestrel.connection.duration",aue="kestrel.queued_connections",iue="kestrel.queued_requests",sue="kestrel.rejected_connections",lue="kestrel.tls_handshake.duration",cue="kestrel.upgraded_connections",pue="signalr.server.active_connections",uue="signalr.server.connection.duration",due="exception",hue=Object.freeze(Object.defineProperty({__proto__:null,ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED:Jse,ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED:Qse,ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED:Zse,ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED:Xse,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED:nle,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER:ole,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER:ale,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED:ile,ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE:ple,ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS:ule,ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT:Kse,ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE:ele,ATTR_ASPNETCORE_RATE_LIMITING_POLICY:tle,ATTR_ASPNETCORE_RATE_LIMITING_RESULT:rle,ATTR_ASPNETCORE_REQUEST_IS_UNHANDLED:sle,ATTR_ASPNETCORE_ROUTING_IS_FALLBACK:lle,ATTR_ASPNETCORE_ROUTING_MATCH_STATUS:cle,ATTR_ASPNETCORE_USER_IS_AUTHENTICATED:dle,ATTR_CLIENT_ADDRESS:hle,ATTR_CLIENT_PORT:fle,ATTR_CODE_COLUMN_NUMBER:mle,ATTR_CODE_FILE_PATH:gle,ATTR_CODE_FUNCTION_NAME:ble,ATTR_CODE_LINE_NUMBER:vle,ATTR_CODE_STACKTRACE:yle,ATTR_DB_COLLECTION_NAME:xle,ATTR_DB_NAMESPACE:wle,ATTR_DB_OPERATION_BATCH_SIZE:Sle,ATTR_DB_OPERATION_NAME:Cle,ATTR_DB_QUERY_SUMMARY:kle,ATTR_DB_QUERY_TEXT:_le,ATTR_DB_RESPONSE_STATUS_CODE:Ale,ATTR_DB_STORED_PROCEDURE_NAME:Ele,ATTR_DB_SYSTEM_NAME:Tle,ATTR_DOTNET_GC_HEAP_GENERATION:Nle,ATTR_ERROR_TYPE:zle,ATTR_EXCEPTION_ESCAPED:Fle,ATTR_EXCEPTION_MESSAGE:fm,ATTR_EXCEPTION_STACKTRACE:bR,ATTR_EXCEPTION_TYPE:mm,ATTR_HTTP_REQUEST_HEADER:Ble,ATTR_HTTP_REQUEST_METHOD:qle,ATTR_HTTP_REQUEST_METHOD_ORIGINAL:ece,ATTR_HTTP_REQUEST_RESEND_COUNT:tce,ATTR_HTTP_RESPONSE_HEADER:rce,ATTR_HTTP_RESPONSE_STATUS_CODE:nce,ATTR_HTTP_ROUTE:oce,ATTR_JVM_GC_ACTION:ace,ATTR_JVM_GC_NAME:ice,ATTR_JVM_MEMORY_POOL_NAME:sce,ATTR_JVM_MEMORY_TYPE:lce,ATTR_JVM_THREAD_DAEMON:uce,ATTR_JVM_THREAD_STATE:dce,ATTR_NETWORK_LOCAL_ADDRESS:yce,ATTR_NETWORK_LOCAL_PORT:xce,ATTR_NETWORK_PEER_ADDRESS:wce,ATTR_NETWORK_PEER_PORT:Sce,ATTR_NETWORK_PROTOCOL_NAME:Cce,ATTR_NETWORK_PROTOCOL_VERSION:kce,ATTR_NETWORK_TRANSPORT:_ce,ATTR_NETWORK_TYPE:jce,ATTR_OTEL_SCOPE_NAME:Ice,ATTR_OTEL_SCOPE_VERSION:Pce,ATTR_OTEL_STATUS_CODE:Mce,ATTR_OTEL_STATUS_DESCRIPTION:zce,ATTR_SERVER_ADDRESS:Uce,ATTR_SERVER_PORT:Fce,ATTR_SERVICE_INSTANCE_ID:Bce,ATTR_SERVICE_NAME:uy,ATTR_SERVICE_NAMESPACE:qce,ATTR_SERVICE_VERSION:vR,ATTR_SIGNALR_CONNECTION_STATUS:Hce,ATTR_SIGNALR_TRANSPORT:Yce,ATTR_TELEMETRY_SDK_LANGUAGE:gm,ATTR_TELEMETRY_SDK_NAME:bm,ATTR_TELEMETRY_SDK_VERSION:vm,ATTR_URL_FRAGMENT:cpe,ATTR_URL_FULL:ppe,ATTR_URL_PATH:upe,ATTR_URL_QUERY:dpe,ATTR_URL_SCHEME:hpe,ATTR_USER_AGENT_ORIGINAL:fpe,AWSECSLAUNCHTYPEVALUES_EC2:mse,AWSECSLAUNCHTYPEVALUES_FARGATE:gse,AwsEcsLaunchtypeValues:bse,CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS:Qie,CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC:Zie,CLOUDPLATFORMVALUES_AWS_EC2:Xie,CLOUDPLATFORMVALUES_AWS_ECS:ese,CLOUDPLATFORMVALUES_AWS_EKS:tse,CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK:nse,CLOUDPLATFORMVALUES_AWS_LAMBDA:rse,CLOUDPLATFORMVALUES_AZURE_AKS:ise,CLOUDPLATFORMVALUES_AZURE_APP_SERVICE:lse,CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES:ase,CLOUDPLATFORMVALUES_AZURE_FUNCTIONS:sse,CLOUDPLATFORMVALUES_AZURE_VM:ose,CLOUDPLATFORMVALUES_GCP_APP_ENGINE:hse,CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS:dse,CLOUDPLATFORMVALUES_GCP_CLOUD_RUN:pse,CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE:cse,CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE:use,CLOUDPROVIDERVALUES_ALIBABA_CLOUD:Gie,CLOUDPROVIDERVALUES_AWS:Wie,CLOUDPROVIDERVALUES_AZURE:Yie,CLOUDPROVIDERVALUES_GCP:Kie,CloudPlatformValues:fse,CloudProviderValues:Jie,DBCASSANDRACONSISTENCYLEVELVALUES_ALL:Rne,DBCASSANDRACONSISTENCYLEVELVALUES_ANY:$ne,DBCASSANDRACONSISTENCYLEVELVALUES_EACH_QUORUM:jne,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_ONE:Dne,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_QUORUM:Nne,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_SERIAL:Une,DBCASSANDRACONSISTENCYLEVELVALUES_ONE:Ine,DBCASSANDRACONSISTENCYLEVELVALUES_QUORUM:Lne,DBCASSANDRACONSISTENCYLEVELVALUES_SERIAL:zne,DBCASSANDRACONSISTENCYLEVELVALUES_THREE:Mne,DBCASSANDRACONSISTENCYLEVELVALUES_TWO:Pne,DBSYSTEMVALUES_ADABAS:Xre,DBSYSTEMVALUES_CACHE:Zre,DBSYSTEMVALUES_CASSANDRA:gne,DBSYSTEMVALUES_CLOUDSCAPE:Hre,DBSYSTEMVALUES_COCKROACHDB:Tne,DBSYSTEMVALUES_COLDFUSION:mne,DBSYSTEMVALUES_COSMOSDB:Sne,DBSYSTEMVALUES_COUCHBASE:xne,DBSYSTEMVALUES_COUCHDB:wne,DBSYSTEMVALUES_DB2:Ure,DBSYSTEMVALUES_DERBY:tne,DBSYSTEMVALUES_DYNAMODB:Cne,DBSYSTEMVALUES_EDB:Qre,DBSYSTEMVALUES_ELASTICSEARCH:Ane,DBSYSTEMVALUES_FILEMAKER:rne,DBSYSTEMVALUES_FIREBIRD:ene,DBSYSTEMVALUES_FIRSTSQL:Jre,DBSYSTEMVALUES_GEODE:_ne,DBSYSTEMVALUES_H2:fne,DBSYSTEMVALUES_HANADB:Yre,DBSYSTEMVALUES_HBASE:bne,DBSYSTEMVALUES_HIVE:qre,DBSYSTEMVALUES_HSQLDB:Vre,DBSYSTEMVALUES_INFORMIX:nne,DBSYSTEMVALUES_INGRES:Kre,DBSYSTEMVALUES_INSTANTDB:one,DBSYSTEMVALUES_INTERBASE:ane,DBSYSTEMVALUES_MARIADB:ine,DBSYSTEMVALUES_MAXDB:Wre,DBSYSTEMVALUES_MEMCACHED:Ene,DBSYSTEMVALUES_MONGODB:vne,DBSYSTEMVALUES_MSSQL:Dre,DBSYSTEMVALUES_MYSQL:$re,DBSYSTEMVALUES_NEO4J:kne,DBSYSTEMVALUES_NETEZZA:sne,DBSYSTEMVALUES_ORACLE:zre,DBSYSTEMVALUES_OTHER_SQL:Mre,DBSYSTEMVALUES_PERVASIVE:lne,DBSYSTEMVALUES_POINTBASE:cne,DBSYSTEMVALUES_POSTGRESQL:Fre,DBSYSTEMVALUES_PROGRESS:Gre,DBSYSTEMVALUES_REDIS:yne,DBSYSTEMVALUES_REDSHIFT:Bre,DBSYSTEMVALUES_SQLITE:pne,DBSYSTEMVALUES_SYBASE:une,DBSYSTEMVALUES_TERADATA:dne,DBSYSTEMVALUES_VERTICA:hne,DB_SYSTEM_NAME_VALUE_MARIADB:Ole,DB_SYSTEM_NAME_VALUE_MICROSOFT_SQL_SERVER:Rle,DB_SYSTEM_NAME_VALUE_MYSQL:jle,DB_SYSTEM_NAME_VALUE_POSTGRESQL:Lle,DOTNET_GC_HEAP_GENERATION_VALUE_GEN0:Ile,DOTNET_GC_HEAP_GENERATION_VALUE_GEN1:Ple,DOTNET_GC_HEAP_GENERATION_VALUE_GEN2:Mle,DOTNET_GC_HEAP_GENERATION_VALUE_LOH:Dle,DOTNET_GC_HEAP_GENERATION_VALUE_POH:$le,DbCassandraConsistencyLevelValues:Fne,DbSystemValues:One,ERROR_TYPE_VALUE_OTHER:Ule,EVENT_EXCEPTION:due,FAASDOCUMENTOPERATIONVALUES_DELETE:Jne,FAASDOCUMENTOPERATIONVALUES_EDIT:Kne,FAASDOCUMENTOPERATIONVALUES_INSERT:Yne,FAASINVOKEDPROVIDERVALUES_ALIBABA_CLOUD:Zne,FAASINVOKEDPROVIDERVALUES_AWS:Xne,FAASINVOKEDPROVIDERVALUES_AZURE:eoe,FAASINVOKEDPROVIDERVALUES_GCP:toe,FAASTRIGGERVALUES_DATASOURCE:Bne,FAASTRIGGERVALUES_HTTP:qne,FAASTRIGGERVALUES_OTHER:Gne,FAASTRIGGERVALUES_PUBSUB:Hne,FAASTRIGGERVALUES_TIMER:Vne,FaasDocumentOperationValues:Qne,FaasInvokedProviderValues:roe,FaasTriggerValues:Wne,HOSTARCHVALUES_AMD64:vse,HOSTARCHVALUES_ARM32:yse,HOSTARCHVALUES_ARM64:xse,HOSTARCHVALUES_IA64:wse,HOSTARCHVALUES_PPC32:Sse,HOSTARCHVALUES_PPC64:Cse,HOSTARCHVALUES_X86:kse,HTTPFLAVORVALUES_HTTP_1_0:zoe,HTTPFLAVORVALUES_HTTP_1_1:Uoe,HTTPFLAVORVALUES_HTTP_2_0:Foe,HTTPFLAVORVALUES_QUIC:qoe,HTTPFLAVORVALUES_SPDY:Boe,HTTP_REQUEST_METHOD_VALUE_CONNECT:Vle,HTTP_REQUEST_METHOD_VALUE_DELETE:Gle,HTTP_REQUEST_METHOD_VALUE_GET:Wle,HTTP_REQUEST_METHOD_VALUE_HEAD:Yle,HTTP_REQUEST_METHOD_VALUE_OPTIONS:Kle,HTTP_REQUEST_METHOD_VALUE_OTHER:Hle,HTTP_REQUEST_METHOD_VALUE_PATCH:Jle,HTTP_REQUEST_METHOD_VALUE_POST:Qle,HTTP_REQUEST_METHOD_VALUE_PUT:Zle,HTTP_REQUEST_METHOD_VALUE_TRACE:Xle,HostArchValues:_se,HttpFlavorValues:Hoe,JVM_MEMORY_TYPE_VALUE_HEAP:cce,JVM_MEMORY_TYPE_VALUE_NON_HEAP:pce,JVM_THREAD_STATE_VALUE_BLOCKED:hce,JVM_THREAD_STATE_VALUE_NEW:fce,JVM_THREAD_STATE_VALUE_RUNNABLE:mce,JVM_THREAD_STATE_VALUE_TERMINATED:gce,JVM_THREAD_STATE_VALUE_TIMED_WAITING:bce,JVM_THREAD_STATE_VALUE_WAITING:vce,MESSAGETYPEVALUES_RECEIVED:gae,MESSAGETYPEVALUES_SENT:mae,MESSAGINGDESTINATIONKINDVALUES_QUEUE:Voe,MESSAGINGDESTINATIONKINDVALUES_TOPIC:Goe,MESSAGINGOPERATIONVALUES_PROCESS:Koe,MESSAGINGOPERATIONVALUES_RECEIVE:Yoe,METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS:mpe,METRIC_ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES:gpe,METRIC_ASPNETCORE_RATE_LIMITING_QUEUED_REQUESTS:bpe,METRIC_ASPNETCORE_RATE_LIMITING_REQUESTS:xpe,METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION:ype,METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_TIME_IN_QUEUE:vpe,METRIC_ASPNETCORE_ROUTING_MATCH_ATTEMPTS:wpe,METRIC_DB_CLIENT_OPERATION_DURATION:Spe,METRIC_DOTNET_ASSEMBLY_COUNT:Cpe,METRIC_DOTNET_EXCEPTIONS:kpe,METRIC_DOTNET_GC_COLLECTIONS:_pe,METRIC_DOTNET_GC_HEAP_TOTAL_ALLOCATED:Ape,METRIC_DOTNET_GC_LAST_COLLECTION_HEAP_FRAGMENTATION_SIZE:Epe,METRIC_DOTNET_GC_LAST_COLLECTION_HEAP_SIZE:Tpe,METRIC_DOTNET_GC_LAST_COLLECTION_MEMORY_COMMITTED_SIZE:Ope,METRIC_DOTNET_GC_PAUSE_TIME:Rpe,METRIC_DOTNET_JIT_COMPILATION_TIME:jpe,METRIC_DOTNET_JIT_COMPILED_IL_SIZE:Lpe,METRIC_DOTNET_JIT_COMPILED_METHODS:Npe,METRIC_DOTNET_MONITOR_LOCK_CONTENTIONS:Ipe,METRIC_DOTNET_PROCESS_CPU_COUNT:Ppe,METRIC_DOTNET_PROCESS_CPU_TIME:Mpe,METRIC_DOTNET_PROCESS_MEMORY_WORKING_SET:Dpe,METRIC_DOTNET_THREAD_POOL_QUEUE_LENGTH:$pe,METRIC_DOTNET_THREAD_POOL_THREAD_COUNT:zpe,METRIC_DOTNET_THREAD_POOL_WORK_ITEM_COUNT:Upe,METRIC_DOTNET_TIMER_COUNT:Fpe,METRIC_HTTP_CLIENT_REQUEST_DURATION:Bpe,METRIC_HTTP_SERVER_REQUEST_DURATION:qpe,METRIC_JVM_CLASS_COUNT:Hpe,METRIC_JVM_CLASS_LOADED:Vpe,METRIC_JVM_CLASS_UNLOADED:Gpe,METRIC_JVM_CPU_COUNT:Wpe,METRIC_JVM_CPU_RECENT_UTILIZATION:Ype,METRIC_JVM_CPU_TIME:Kpe,METRIC_JVM_GC_DURATION:Jpe,METRIC_JVM_MEMORY_COMMITTED:Qpe,METRIC_JVM_MEMORY_LIMIT:Zpe,METRIC_JVM_MEMORY_USED:Xpe,METRIC_JVM_MEMORY_USED_AFTER_LAST_GC:eue,METRIC_JVM_THREAD_COUNT:tue,METRIC_KESTREL_ACTIVE_CONNECTIONS:rue,METRIC_KESTREL_ACTIVE_TLS_HANDSHAKES:nue,METRIC_KESTREL_CONNECTION_DURATION:oue,METRIC_KESTREL_QUEUED_CONNECTIONS:aue,METRIC_KESTREL_QUEUED_REQUESTS:iue,METRIC_KESTREL_REJECTED_CONNECTIONS:sue,METRIC_KESTREL_TLS_HANDSHAKE_DURATION:lue,METRIC_KESTREL_UPGRADED_CONNECTIONS:cue,METRIC_SIGNALR_SERVER_ACTIVE_CONNECTIONS:pue,METRIC_SIGNALR_SERVER_CONNECTION_DURATION:uue,MessageTypeValues:bae,MessagingDestinationKindValues:Woe,MessagingOperationValues:Joe,NETHOSTCONNECTIONSUBTYPEVALUES_CDMA:xoe,NETHOSTCONNECTIONSUBTYPEVALUES_CDMA2000_1XRTT:Coe,NETHOSTCONNECTIONSUBTYPEVALUES_EDGE:voe,NETHOSTCONNECTIONSUBTYPEVALUES_EHRPD:Roe,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_0:woe,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_A:Soe,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_B:Toe,NETHOSTCONNECTIONSUBTYPEVALUES_GPRS:boe,NETHOSTCONNECTIONSUBTYPEVALUES_GSM:Loe,NETHOSTCONNECTIONSUBTYPEVALUES_HSDPA:koe,NETHOSTCONNECTIONSUBTYPEVALUES_HSPA:Aoe,NETHOSTCONNECTIONSUBTYPEVALUES_HSPAP:joe,NETHOSTCONNECTIONSUBTYPEVALUES_HSUPA:_oe,NETHOSTCONNECTIONSUBTYPEVALUES_IDEN:Eoe,NETHOSTCONNECTIONSUBTYPEVALUES_IWLAN:Ioe,NETHOSTCONNECTIONSUBTYPEVALUES_LTE:Ooe,NETHOSTCONNECTIONSUBTYPEVALUES_LTE_CA:Doe,NETHOSTCONNECTIONSUBTYPEVALUES_NR:Poe,NETHOSTCONNECTIONSUBTYPEVALUES_NRNSA:Moe,NETHOSTCONNECTIONSUBTYPEVALUES_TD_SCDMA:Noe,NETHOSTCONNECTIONSUBTYPEVALUES_UMTS:yoe,NETHOSTCONNECTIONTYPEVALUES_CELL:hoe,NETHOSTCONNECTIONTYPEVALUES_UNAVAILABLE:foe,NETHOSTCONNECTIONTYPEVALUES_UNKNOWN:moe,NETHOSTCONNECTIONTYPEVALUES_WIFI:uoe,NETHOSTCONNECTIONTYPEVALUES_WIRED:doe,NETTRANSPORTVALUES_INPROC:loe,NETTRANSPORTVALUES_IP:aoe,NETTRANSPORTVALUES_IP_TCP:noe,NETTRANSPORTVALUES_IP_UDP:ooe,NETTRANSPORTVALUES_OTHER:coe,NETTRANSPORTVALUES_PIPE:soe,NETTRANSPORTVALUES_UNIX:ioe,NETWORK_TRANSPORT_VALUE_PIPE:Ace,NETWORK_TRANSPORT_VALUE_QUIC:Ece,NETWORK_TRANSPORT_VALUE_TCP:Tce,NETWORK_TRANSPORT_VALUE_UDP:Oce,NETWORK_TRANSPORT_VALUE_UNIX:Rce,NETWORK_TYPE_VALUE_IPV4:Lce,NETWORK_TYPE_VALUE_IPV6:Nce,NetHostConnectionSubtypeValues:$oe,NetHostConnectionTypeValues:goe,NetTransportValues:poe,OSTYPEVALUES_AIX:Ise,OSTYPEVALUES_DARWIN:Tse,OSTYPEVALUES_DRAGONFLYBSD:Lse,OSTYPEVALUES_FREEBSD:Ose,OSTYPEVALUES_HPUX:Nse,OSTYPEVALUES_LINUX:Ese,OSTYPEVALUES_NETBSD:Rse,OSTYPEVALUES_OPENBSD:jse,OSTYPEVALUES_SOLARIS:Pse,OSTYPEVALUES_WINDOWS:Ase,OSTYPEVALUES_Z_OS:Mse,OTEL_STATUS_CODE_VALUE_ERROR:Dce,OTEL_STATUS_CODE_VALUE_OK:$ce,OsTypeValues:Dse,RPCGRPCSTATUSCODEVALUES_ABORTED:sae,RPCGRPCSTATUSCODEVALUES_ALREADY_EXISTS:nae,RPCGRPCSTATUSCODEVALUES_CANCELLED:Zoe,RPCGRPCSTATUSCODEVALUES_DATA_LOSS:dae,RPCGRPCSTATUSCODEVALUES_DEADLINE_EXCEEDED:tae,RPCGRPCSTATUSCODEVALUES_FAILED_PRECONDITION:iae,RPCGRPCSTATUSCODEVALUES_INTERNAL:pae,RPCGRPCSTATUSCODEVALUES_INVALID_ARGUMENT:eae,RPCGRPCSTATUSCODEVALUES_NOT_FOUND:rae,RPCGRPCSTATUSCODEVALUES_OK:Qoe,RPCGRPCSTATUSCODEVALUES_OUT_OF_RANGE:lae,RPCGRPCSTATUSCODEVALUES_PERMISSION_DENIED:oae,RPCGRPCSTATUSCODEVALUES_RESOURCE_EXHAUSTED:aae,RPCGRPCSTATUSCODEVALUES_UNAUTHENTICATED:hae,RPCGRPCSTATUSCODEVALUES_UNAVAILABLE:uae,RPCGRPCSTATUSCODEVALUES_UNIMPLEMENTED:cae,RPCGRPCSTATUSCODEVALUES_UNKNOWN:Xoe,RpcGrpcStatusCodeValues:fae,SEMATTRS_AWS_DYNAMODB_ATTRIBUTES_TO_GET:Hte,SEMATTRS_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS:rre,SEMATTRS_AWS_DYNAMODB_CONSISTENT_READ:Fte,SEMATTRS_AWS_DYNAMODB_CONSUMED_CAPACITY:Dte,SEMATTRS_AWS_DYNAMODB_COUNT:ere,SEMATTRS_AWS_DYNAMODB_EXCLUSIVE_START_TABLE:Kte,SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES:Wte,SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES:nre,SEMATTRS_AWS_DYNAMODB_INDEX_NAME:Vte,SEMATTRS_AWS_DYNAMODB_ITEM_COLLECTION_METRICS:$te,SEMATTRS_AWS_DYNAMODB_LIMIT:qte,SEMATTRS_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES:Yte,SEMATTRS_AWS_DYNAMODB_PROJECTION:Bte,SEMATTRS_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY:zte,SEMATTRS_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY:Ute,SEMATTRS_AWS_DYNAMODB_SCANNED_COUNT:tre,SEMATTRS_AWS_DYNAMODB_SCAN_FORWARD:Qte,SEMATTRS_AWS_DYNAMODB_SEGMENT:Zte,SEMATTRS_AWS_DYNAMODB_SELECT:Gte,SEMATTRS_AWS_DYNAMODB_TABLE_COUNT:Jte,SEMATTRS_AWS_DYNAMODB_TABLE_NAMES:Mte,SEMATTRS_AWS_DYNAMODB_TOTAL_SEGMENTS:Xte,SEMATTRS_AWS_LAMBDA_INVOKED_ARN:mee,SEMATTRS_CODE_FILEPATH:yte,SEMATTRS_CODE_FUNCTION:bte,SEMATTRS_CODE_LINENO:xte,SEMATTRS_CODE_NAMESPACE:vte,SEMATTRS_DB_CASSANDRA_CONSISTENCY_LEVEL:Aee,SEMATTRS_DB_CASSANDRA_COORDINATOR_DC:jee,SEMATTRS_DB_CASSANDRA_COORDINATOR_ID:Ree,SEMATTRS_DB_CASSANDRA_IDEMPOTENCE:Tee,SEMATTRS_DB_CASSANDRA_KEYSPACE:kee,SEMATTRS_DB_CASSANDRA_PAGE_SIZE:_ee,SEMATTRS_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT:Oee,SEMATTRS_DB_CASSANDRA_TABLE:Eee,SEMATTRS_DB_CONNECTION_STRING:bee,SEMATTRS_DB_HBASE_NAMESPACE:Lee,SEMATTRS_DB_JDBC_DRIVER_CLASSNAME:yee,SEMATTRS_DB_MONGODB_COLLECTION:Iee,SEMATTRS_DB_MSSQL_INSTANCE_NAME:Cee,SEMATTRS_DB_NAME:xee,SEMATTRS_DB_OPERATION:See,SEMATTRS_DB_REDIS_DATABASE_INDEX:Nee,SEMATTRS_DB_SQL_TABLE:Pee,SEMATTRS_DB_STATEMENT:wee,SEMATTRS_DB_SYSTEM:gee,SEMATTRS_DB_USER:vee,SEMATTRS_ENDUSER_ID:dte,SEMATTRS_ENDUSER_ROLE:hte,SEMATTRS_ENDUSER_SCOPE:fte,SEMATTRS_EXCEPTION_ESCAPED:zee,SEMATTRS_EXCEPTION_MESSAGE:Dee,SEMATTRS_EXCEPTION_STACKTRACE:$ee,SEMATTRS_EXCEPTION_TYPE:Mee,SEMATTRS_FAAS_COLDSTART:Yee,SEMATTRS_FAAS_CRON:Wee,SEMATTRS_FAAS_DOCUMENT_COLLECTION:Bee,SEMATTRS_FAAS_DOCUMENT_NAME:Vee,SEMATTRS_FAAS_DOCUMENT_OPERATION:qee,SEMATTRS_FAAS_DOCUMENT_TIME:Hee,SEMATTRS_FAAS_EXECUTION:Fee,SEMATTRS_FAAS_INVOKED_NAME:Kee,SEMATTRS_FAAS_INVOKED_PROVIDER:Jee,SEMATTRS_FAAS_INVOKED_REGION:Qee,SEMATTRS_FAAS_TIME:Gee,SEMATTRS_FAAS_TRIGGER:Uee,SEMATTRS_HTTP_CLIENT_IP:Pte,SEMATTRS_HTTP_FLAVOR:Ete,SEMATTRS_HTTP_HOST:kte,SEMATTRS_HTTP_METHOD:wte,SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH:Ote,SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED:Rte,SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH:jte,SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED:Lte,SEMATTRS_HTTP_ROUTE:Ite,SEMATTRS_HTTP_SCHEME:_te,SEMATTRS_HTTP_SERVER_NAME:Nte,SEMATTRS_HTTP_STATUS_CODE:Ate,SEMATTRS_HTTP_TARGET:Cte,SEMATTRS_HTTP_URL:Ste,SEMATTRS_HTTP_USER_AGENT:Tte,SEMATTRS_MESSAGE_COMPRESSED_SIZE:Nre,SEMATTRS_MESSAGE_ID:Lre,SEMATTRS_MESSAGE_TYPE:jre,SEMATTRS_MESSAGE_UNCOMPRESSED_SIZE:Ire,SEMATTRS_MESSAGING_CONSUMER_ID:gre,SEMATTRS_MESSAGING_CONVERSATION_ID:dre,SEMATTRS_MESSAGING_DESTINATION:are,SEMATTRS_MESSAGING_DESTINATION_KIND:ire,SEMATTRS_MESSAGING_KAFKA_CLIENT_ID:xre,SEMATTRS_MESSAGING_KAFKA_CONSUMER_GROUP:yre,SEMATTRS_MESSAGING_KAFKA_MESSAGE_KEY:vre,SEMATTRS_MESSAGING_KAFKA_PARTITION:wre,SEMATTRS_MESSAGING_KAFKA_TOMBSTONE:Sre,SEMATTRS_MESSAGING_MESSAGE_ID:ure,SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES:fre,SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES:hre,SEMATTRS_MESSAGING_OPERATION:mre,SEMATTRS_MESSAGING_PROTOCOL:lre,SEMATTRS_MESSAGING_PROTOCOL_VERSION:cre,SEMATTRS_MESSAGING_RABBITMQ_ROUTING_KEY:bre,SEMATTRS_MESSAGING_SYSTEM:ore,SEMATTRS_MESSAGING_TEMP_DESTINATION:sre,SEMATTRS_MESSAGING_URL:pre,SEMATTRS_NET_HOST_CARRIER_ICC:pte,SEMATTRS_NET_HOST_CARRIER_MCC:lte,SEMATTRS_NET_HOST_CARRIER_MNC:cte,SEMATTRS_NET_HOST_CARRIER_NAME:ste,SEMATTRS_NET_HOST_CONNECTION_SUBTYPE:ite,SEMATTRS_NET_HOST_CONNECTION_TYPE:ate,SEMATTRS_NET_HOST_IP:rte,SEMATTRS_NET_HOST_NAME:ote,SEMATTRS_NET_HOST_PORT:nte,SEMATTRS_NET_PEER_IP:Xee,SEMATTRS_NET_PEER_NAME:tte,SEMATTRS_NET_PEER_PORT:ete,SEMATTRS_NET_TRANSPORT:Zee,SEMATTRS_PEER_SERVICE:ute,SEMATTRS_RPC_GRPC_STATUS_CODE:Are,SEMATTRS_RPC_JSONRPC_ERROR_CODE:Ore,SEMATTRS_RPC_JSONRPC_ERROR_MESSAGE:Rre,SEMATTRS_RPC_JSONRPC_REQUEST_ID:Tre,SEMATTRS_RPC_JSONRPC_VERSION:Ere,SEMATTRS_RPC_METHOD:_re,SEMATTRS_RPC_SERVICE:kre,SEMATTRS_RPC_SYSTEM:Cre,SEMATTRS_THREAD_ID:mte,SEMATTRS_THREAD_NAME:gte,SEMRESATTRS_AWS_ECS_CLUSTER_ARN:kae,SEMRESATTRS_AWS_ECS_CONTAINER_ARN:Cae,SEMRESATTRS_AWS_ECS_LAUNCHTYPE:_ae,SEMRESATTRS_AWS_ECS_TASK_ARN:Aae,SEMRESATTRS_AWS_ECS_TASK_FAMILY:Eae,SEMRESATTRS_AWS_ECS_TASK_REVISION:Tae,SEMRESATTRS_AWS_EKS_CLUSTER_ARN:Oae,SEMRESATTRS_AWS_LOG_GROUP_ARNS:jae,SEMRESATTRS_AWS_LOG_GROUP_NAMES:Rae,SEMRESATTRS_AWS_LOG_STREAM_ARNS:Nae,SEMRESATTRS_AWS_LOG_STREAM_NAMES:Lae,SEMRESATTRS_CLOUD_ACCOUNT_ID:yae,SEMRESATTRS_CLOUD_AVAILABILITY_ZONE:wae,SEMRESATTRS_CLOUD_PLATFORM:Sae,SEMRESATTRS_CLOUD_PROVIDER:vae,SEMRESATTRS_CLOUD_REGION:xae,SEMRESATTRS_CONTAINER_ID:Pae,SEMRESATTRS_CONTAINER_IMAGE_NAME:Dae,SEMRESATTRS_CONTAINER_IMAGE_TAG:$ae,SEMRESATTRS_CONTAINER_NAME:Iae,SEMRESATTRS_CONTAINER_RUNTIME:Mae,SEMRESATTRS_DEPLOYMENT_ENVIRONMENT:zae,SEMRESATTRS_DEVICE_ID:Uae,SEMRESATTRS_DEVICE_MODEL_IDENTIFIER:Fae,SEMRESATTRS_DEVICE_MODEL_NAME:Bae,SEMRESATTRS_FAAS_ID:Hae,SEMRESATTRS_FAAS_INSTANCE:Gae,SEMRESATTRS_FAAS_MAX_MEMORY:Wae,SEMRESATTRS_FAAS_NAME:qae,SEMRESATTRS_FAAS_VERSION:Vae,SEMRESATTRS_HOST_ARCH:Qae,SEMRESATTRS_HOST_ID:Yae,SEMRESATTRS_HOST_IMAGE_ID:Xae,SEMRESATTRS_HOST_IMAGE_NAME:Zae,SEMRESATTRS_HOST_IMAGE_VERSION:eie,SEMRESATTRS_HOST_NAME:Kae,SEMRESATTRS_HOST_TYPE:Jae,SEMRESATTRS_K8S_CLUSTER_NAME:tie,SEMRESATTRS_K8S_CONTAINER_NAME:sie,SEMRESATTRS_K8S_CRONJOB_NAME:yie,SEMRESATTRS_K8S_CRONJOB_UID:vie,SEMRESATTRS_K8S_DAEMONSET_NAME:mie,SEMRESATTRS_K8S_DAEMONSET_UID:fie,SEMRESATTRS_K8S_DEPLOYMENT_NAME:uie,SEMRESATTRS_K8S_DEPLOYMENT_UID:pie,SEMRESATTRS_K8S_JOB_NAME:bie,SEMRESATTRS_K8S_JOB_UID:gie,SEMRESATTRS_K8S_NAMESPACE_NAME:oie,SEMRESATTRS_K8S_NODE_NAME:rie,SEMRESATTRS_K8S_NODE_UID:nie,SEMRESATTRS_K8S_POD_NAME:iie,SEMRESATTRS_K8S_POD_UID:aie,SEMRESATTRS_K8S_REPLICASET_NAME:cie,SEMRESATTRS_K8S_REPLICASET_UID:lie,SEMRESATTRS_K8S_STATEFULSET_NAME:hie,SEMRESATTRS_K8S_STATEFULSET_UID:die,SEMRESATTRS_OS_DESCRIPTION:wie,SEMRESATTRS_OS_NAME:Sie,SEMRESATTRS_OS_TYPE:xie,SEMRESATTRS_OS_VERSION:Cie,SEMRESATTRS_PROCESS_COMMAND:Eie,SEMRESATTRS_PROCESS_COMMAND_ARGS:Oie,SEMRESATTRS_PROCESS_COMMAND_LINE:Tie,SEMRESATTRS_PROCESS_EXECUTABLE_NAME:_ie,SEMRESATTRS_PROCESS_EXECUTABLE_PATH:Aie,SEMRESATTRS_PROCESS_OWNER:Rie,SEMRESATTRS_PROCESS_PID:kie,SEMRESATTRS_PROCESS_RUNTIME_DESCRIPTION:Nie,SEMRESATTRS_PROCESS_RUNTIME_NAME:jie,SEMRESATTRS_PROCESS_RUNTIME_VERSION:Lie,SEMRESATTRS_SERVICE_INSTANCE_ID:Mie,SEMRESATTRS_SERVICE_NAME:Iie,SEMRESATTRS_SERVICE_NAMESPACE:Pie,SEMRESATTRS_SERVICE_VERSION:Die,SEMRESATTRS_TELEMETRY_AUTO_VERSION:Fie,SEMRESATTRS_TELEMETRY_SDK_LANGUAGE:zie,SEMRESATTRS_TELEMETRY_SDK_NAME:$ie,SEMRESATTRS_TELEMETRY_SDK_VERSION:Uie,SEMRESATTRS_WEBENGINE_DESCRIPTION:Hie,SEMRESATTRS_WEBENGINE_NAME:Bie,SEMRESATTRS_WEBENGINE_VERSION:qie,SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN:Vce,SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE:Gce,SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT:Wce,SIGNALR_TRANSPORT_VALUE_LONG_POLLING:Kce,SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS:Jce,SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS:Qce,SemanticAttributes:Pre,SemanticResourceAttributes:Vie,TELEMETRYSDKLANGUAGEVALUES_CPP:$se,TELEMETRYSDKLANGUAGEVALUES_DOTNET:zse,TELEMETRYSDKLANGUAGEVALUES_ERLANG:Use,TELEMETRYSDKLANGUAGEVALUES_GO:Fse,TELEMETRYSDKLANGUAGEVALUES_JAVA:Bse,TELEMETRYSDKLANGUAGEVALUES_NODEJS:qse,TELEMETRYSDKLANGUAGEVALUES_PHP:Hse,TELEMETRYSDKLANGUAGEVALUES_PYTHON:Vse,TELEMETRYSDKLANGUAGEVALUES_RUBY:Gse,TELEMETRYSDKLANGUAGEVALUES_WEBJS:Wse,TELEMETRY_SDK_LANGUAGE_VALUE_CPP:Zce,TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET:Xce,TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG:epe,TELEMETRY_SDK_LANGUAGE_VALUE_GO:tpe,TELEMETRY_SDK_LANGUAGE_VALUE_JAVA:rpe,TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS:npe,TELEMETRY_SDK_LANGUAGE_VALUE_PHP:ope,TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON:ape,TELEMETRY_SDK_LANGUAGE_VALUE_RUBY:ipe,TELEMETRY_SDK_LANGUAGE_VALUE_RUST:spe,TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT:lpe,TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS:yR,TelemetrySdkLanguageValues:Yse},Symbol.toStringTag,{value:"Module"})),fue="process.runtime.name",dy={[bm]:"opentelemetry",[fue]:"browser",[gm]:yR,[vm]:fee},dl=performance,mue=9,gue=6,bue=Math.pow(10,gue),ym=Math.pow(10,mue);function os(e){const t=e/1e3,r=Math.trunc(t),n=Math.round(e%1e3*bue);return[r,n]}function xR(e){const t=os(dl.timeOrigin),r=os(typeof e=="number"?e:dl.now());return CR(t,r)}function rd(e){if(hy(e))return e;if(typeof e=="number")return e<dl.timeOrigin?xR(e):os(e);if(e instanceof Date)return os(e.getTime());throw TypeError("Invalid input type")}function vue(e,t){let r=t[0]-e[0],n=t[1]-e[1];return n<0&&(r-=1,n+=ym),[r,n]}function fi(e){return e[0]*ym+e[1]}function wR(e){return e[0]*1e6+e[1]/1e3}function hy(e){return Array.isArray(e)&&e.length===2&&typeof e[0]=="number"&&typeof e[1]=="number"}function SR(e){return hy(e)||typeof e=="number"||e instanceof Date}function CR(e,t){const r=[e[0]+t[0],e[1]+t[1]];return r[1]>=ym&&(r[1]-=ym,r[0]+=1),r}var Gn;(function(e){e[e.SUCCESS=0]="SUCCESS",e[e.FAILED=1]="FAILED"})(Gn||(Gn={}));class yue{_propagators;_fields;constructor(t={}){this._propagators=t.propagators??[];const r=new Set;for(const n of this._propagators){const o=typeof n.fields=="function"?n.fields():[];for(const a of o)r.add(a)}this._fields=Array.from(r)}inject(t,r,n){for(const o of this._propagators)try{o.inject(t,r,n)}catch(a){ct.warn(`Failed to inject with ${o.constructor.name}. Err: ${a.message}`)}}extract(t,r,n){return this._propagators.reduce((o,a)=>{try{return a.extract(o,r,n)}catch(i){ct.warn(`Failed to extract with ${a.constructor.name}. Err: ${i.message}`)}return o},t)}fields(){return this._fields.slice()}}const fy="[_0-9a-z-*/]",xue=`[a-z]${fy}{0,255}`,wue=`[a-z0-9]${fy}{0,240}@[a-z]${fy}{0,13}`,Sue=new RegExp(`^(?:${xue}|${wue})$`),Cue=/^[ -~]{0,255}[!-~]$/,kue=/,|=/;function kR(e){return Sue.test(e)}function _R(e){return Cue.test(e)&&!kue.test(e)}const _ue=32,AR=512,ER=",",TR="=";class R3{_length;_rawTraceState;_internalState;constructor(t){this._rawTraceState=typeof t=="string"?t:"",this._length=this._rawTraceState.length}set(t,r){if(!kR(t)||!_R(r))return this;const n=this._getState(),o=n.get(t);let a=this._length;if(typeof o=="string"?a+=r.length-o.length:a+=t.length+r.length+(n.size>0?2:1),a>AR)return this;const i=new Map(n);return i.delete(t),i.set(t,r),this._fromState(i,a)}unset(t){const r=this._getState(),n=r.get(t);if(typeof n!="string")return this;let o=this._length-(t.length+n.length+1);r.size>1&&(o=o-1);const a=new Map(r);return a.delete(t),this._fromState(a,o)}get(t){return this._getState().get(t)}serialize(){let t="",r=0;for(const n of this._getState())r>0&&(t=ER+t),t=`${n[0]}${TR}${n[1]}`+t,r++;return t}_getState(){if(this._internalState)return this._internalState;const t=this._rawTraceState.split(ER),r=new Map;let n=0;for(const o of t){const a=o.trim(),i=a.indexOf(TR);if(i===-1)continue;const l=a.slice(0,i),p=a.slice(i+1);if(!kR(l)||!_R(p))continue;const u=n+a.length+(r.size>0?1:0);if(!(u>AR)&&(r.set(l,p),n=u,r.size>=_ue))break}return this._length=n,this._internalState=new Map(Array.from(r.entries()).reverse()),this._internalState}_fromState(t,r){const n=Object.create(R3.prototype);return n._internalState=t,n._length=r,n}}const my="traceparent",gy="tracestate",Aue="00",Eue="(?!ff)[\\da-f]{2}",Tue="(?![0]{32})[\\da-f]{32}",Oue="(?![0]{16})[\\da-f]{16}",Rue="[\\da-f]{2}",jue=new RegExp(`^\\s?(${Eue})-(${Tue})-(${Oue})-(${Rue})(-.*)?\\s?$`);function Lue(e){const t=jue.exec(e);return!t||t[1]==="00"&&t[5]?null:{traceId:t[2],spanId:t[3],traceFlags:parseInt(t[4],16)}}class Nue{inject(t,r,n){const o=On.getSpanContext(t);if(!o||cy(t)||!Zu(o))return;const a=`${Aue}-${o.traceId}-${o.spanId}-0${Number(o.traceFlags||ta.NONE).toString(16)}`;n.set(r,my,a),o.traceState&&n.set(r,gy,o.traceState.serialize())}extract(t,r,n){const o=n.get(r,my);if(!o)return t;const a=Array.isArray(o)?o[0]:o;if(typeof a!="string")return t;const i=Lue(a);if(!i)return t;i.isRemote=!0;const l=n.get(r,gy);if(l){const p=Array.isArray(l)?l.join(","):l;i.traceState=new R3(typeof p=="string"?p:void 0)}return On.setSpanContext(t,i)}fields(){return[my,gy]}}const Iue="[object Object]",Pue="[object Null]",Mue="[object Undefined]",Due=Function.prototype,OR=Due.toString,$ue=OR.call(Object),zue=Object.getPrototypeOf,RR=Object.prototype,jR=RR.hasOwnProperty,hl=Symbol?Symbol.toStringTag:void 0,LR=RR.toString;function NR(e){if(!Uue(e)||Fue(e)!==Iue)return!1;const t=zue(e);if(t===null)return!0;const r=jR.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&OR.call(r)===$ue}function Uue(e){return e!=null&&typeof e=="object"}function Fue(e){return e==null?e===void 0?Mue:Pue:hl&&hl in Object(e)?Bue(e):que(e)}function Bue(e){const t=jR.call(e,hl),r=e[hl];let n=!1;try{e[hl]=void 0,n=!0}catch{}const o=LR.call(e);return n&&(t?e[hl]=r:delete e[hl]),o}function que(e){return LR.call(e)}const Hue=20;function Vue(...e){let t=e.shift();const r=new WeakMap;for(;e.length>0;)t=IR(t,e.shift(),0,r);return t}function by(e){return xm(e)?e.slice():e}function IR(e,t,r=0,n){let o;if(!(r>Hue)){if(r++,wm(e)||wm(t)||MR(t))o=by(t);else if(xm(e)){if(o=e.slice(),xm(t))for(let a=0,i=t.length;a<i;a++)o.push(by(t[a]));else if(nd(t)){const a=Object.keys(t);for(let i=0,l=a.length;i<l;i++){const p=a[i];p==="__proto__"||p==="constructor"||p==="prototype"||(o[p]=by(t[p]))}}}else if(nd(e))if(nd(t)){if(!Gue(e,t))return t;o=Object.assign({},e);const a=Object.keys(t);for(let i=0,l=a.length;i<l;i++){const p=a[i];if(p==="__proto__"||p==="constructor"||p==="prototype")continue;const u=t[p];if(wm(u))typeof u>"u"?delete o[p]:o[p]=u;else{const h=o[p],f=u;if(PR(e,p,n)||PR(t,p,n))delete o[p];else{if(nd(h)&&nd(f)){const b=n.get(h)||[],v=n.get(f)||[];b.push({obj:e,key:p}),v.push({obj:t,key:p}),n.set(h,b),n.set(f,v)}o[p]=IR(o[p],u,r,n)}}}}else o=t;return o}}function PR(e,t,r){const n=r.get(e[t])||[];for(let o=0,a=n.length;o<a;o++){const i=n[o];if(i.key===t&&i.obj===e)return!0}return!1}function xm(e){return Array.isArray(e)}function MR(e){return typeof e=="function"}function nd(e){return!wm(e)&&!xm(e)&&!MR(e)&&typeof e=="object"}function wm(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e>"u"||e instanceof Date||e instanceof RegExp||e===null}function Gue(e,t){return!(!NR(e)||!NR(t))}function Wue(e,t){return typeof t=="string"?e===t:!!e.match(t)}class Yue{_promise;_resolve;_reject;constructor(){this._promise=new Promise((t,r)=>{this._resolve=t,this._reject=r})}get promise(){return this._promise}resolve(t){this._resolve(t)}reject(t){this._reject(t)}}class DR{_isCalled=!1;_deferred=new Yue;_callback;_that;constructor(t,r){this._callback=t,this._that=r}get isCalled(){return this._isCalled}get promise(){return this._deferred.promise}call(...t){if(!this._isCalled){this._isCalled=!0;try{Promise.resolve(this._callback.call(this._that,...t)).then(r=>this._deferred.resolve(r),r=>this._deferred.reject(r))}catch(r){this._deferred.reject(r)}}return this._deferred.promise}}function Kue(e,t){return new Promise(r=>{Po.with(K9(Po.active()),()=>{e.export(t,r)})})}const Jue={_export:Kue};let Sm;function $R(){if(Sm===void 0)try{const e=globalThis.process.argv0;Sm=e?`unknown_service:${e}`:"unknown_service"}catch{Sm="unknown_service"}return Sm}const od=e=>e!==null&&typeof e=="object"&&typeof e.then=="function";class fh{_rawAttributes;_asyncAttributesPending=!1;_schemaUrl;_memoizedAttributes;static FromAttributeList(t,r){const n=new fh({},r);return n._rawAttributes=UR(t),n._asyncAttributesPending=t.filter(([o,a])=>od(a)).length>0,n}constructor(t,r){const n=t.attributes??{};this._rawAttributes=Object.entries(n).map(([o,a])=>(od(a)&&(this._asyncAttributesPending=!0),[o,a])),this._rawAttributes=UR(this._rawAttributes),this._schemaUrl=Zue(r?.schemaUrl)}get asyncAttributesPending(){return this._asyncAttributesPending}async waitForAsyncAttributes(){if(this.asyncAttributesPending){for(let t=0;t<this._rawAttributes.length;t++){const[r,n]=this._rawAttributes[t];this._rawAttributes[t]=[r,od(n)?await n:n]}this._asyncAttributesPending=!1}}get attributes(){if(this.asyncAttributesPending&&ct.error("Accessing resource attributes before async attributes settled"),this._memoizedAttributes)return this._memoizedAttributes;const t={};for(const[r,n]of this._rawAttributes){if(od(n)){ct.debug(`Unsettled resource attribute ${r} skipped`);continue}n!=null&&(t[r]??=n)}return this._asyncAttributesPending||(this._memoizedAttributes=t),t}getRawAttributes(){return this._rawAttributes}get schemaUrl(){return this._schemaUrl}merge(t){if(t==null)return this;const r=Xue(this,t),n=r?{schemaUrl:r}:void 0;return fh.FromAttributeList([...t.getRawAttributes(),...this.getRawAttributes()],n)}}function Cm(e,t){return fh.FromAttributeList(Object.entries(e),t)}function Que(e,t){return new fh(e,t)}function vy(){return Cm({})}function zR(){return Cm({[uy]:$R(),[gm]:dy[gm],[bm]:dy[bm],[vm]:dy[vm]})}function UR(e){return e.map(([t,r])=>od(r)?[t,r.catch(n=>{ct.debug("promise rejection for resource attribute: %s - %s",t,n)})]:[t,r])}function Zue(e){if(typeof e=="string"||e===void 0)return e;ct.warn("Schema URL must be string or undefined, got %s. Schema URL will be ignored.",e)}function Xue(e,t){const r=e?.schemaUrl,n=t?.schemaUrl,o=r===void 0||r==="",a=n===void 0||n==="";if(o)return n;if(a||r===n)return r;ct.warn('Schema URL merge conflict: old resource has "%s", updating resource has "%s". Resulting resource will have undefined Schema URL.',r,n)}const ede=(e={})=>(e.detectors||[]).map(t=>{try{const r=Que(t.detect(e));return ct.debug(`${t.constructor.name} found resource.`,r),r}catch(r){return ct.debug(`${t.constructor.name} failed: ${r.message}`),vy()}}).reduce((t,r)=>t.merge(r),vy());class tde{_MAX_LENGTH=255;_COMMA_SEPARATOR=",";_LABEL_KEY_VALUE_SPLITTER="=";detect(t){return{attributes:{}}}_parseResourceAttributes(t){if(!t)return{};const r={},n=t.split(this._COMMA_SEPARATOR).filter(o=>o.trim()!=="");for(const o of n){const a=o.split(this._LABEL_KEY_VALUE_SPLITTER);if(a.length!==2)throw new Error(`Invalid format for OTEL_RESOURCE_ATTRIBUTES: "${o}". Expected format: key=value. The ',' and '=' characters must be percent-encoded in keys and values.`);const[i,l]=a,p=i.trim(),u=l.trim();if(p.length===0)throw new Error(`Invalid OTEL_RESOURCE_ATTRIBUTES: empty attribute key in "${o}".`);let h,f;try{h=decodeURIComponent(p),f=decodeURIComponent(u)}catch(b){throw new Error(`Failed to percent-decode OTEL_RESOURCE_ATTRIBUTES entry "${o}": ${b instanceof Error?b.message:b}`,{cause:b})}if(h.length>this._MAX_LENGTH)throw new Error(`Attribute key exceeds the maximum length of ${this._MAX_LENGTH} characters: "${h}".`);if(f.length>this._MAX_LENGTH)throw new Error(`Attribute value exceeds the maximum length of ${this._MAX_LENGTH} characters for key "${h}".`);r[h]=f}return r}}const rde=new tde;class nde{detect(){return{attributes:{}}}}const km=new nde,ode=km,ade=km,ide=km,sde=km,lde=Object.freeze(Object.defineProperty({__proto__:null,defaultResource:zR,defaultServiceName:$R,detectResources:ede,emptyResource:vy,envDetector:rde,hostDetector:ode,osDetector:ade,processDetector:ide,resourceFromAttributes:Cm,serviceInstanceIdDetector:sde},Symbol.toStringTag,{value:"Module"})),cde="exception",yy=Symbol.for("nodejs.util.inspect.custom");function xy(e){const t={};for(const[r,n]of e.getRawAttributes())typeof n?.then!="function"&&n!=null&&(t[r]??=n);return t}function wy(e,t,r,n,o){if(typeof r=="number"&&r<0){const i=`[${e}]`;return n?.stylize?n.stylize(i,"special"):i}if(typeof o!="function"||!n)return t;const a={...n,depth:n.depth==null?n.depth:n.depth-1};return`${e} ${o(t,a)}`}class pde{_spanContext;kind;parentSpanContext;attributes={};links=[];events=[];startTime;resource;instrumentationScope;_droppedAttributesCount=0;_droppedEventsCount=0;_droppedLinksCount=0;_attributesCount=0;name;status={code:ns.UNSET};endTime=[0,0];_ended=!1;_duration=[-1,-1];_spanProcessor;_spanLimits;_attributeValueLengthLimit;_recordEndMetrics;_performanceStartTime;_performanceOffset;_startTimeProvided;constructor(t){const r=Date.now();if(this._spanContext=t.spanContext,this._performanceStartTime=dl.now(),this._performanceOffset=r-(this._performanceStartTime+dl.timeOrigin),this._startTimeProvided=t.startTime!=null,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,t.links)for(const n of t.links)this.addLink(n);this.startTime=this._getTime(t.startTime??r),this.resource=t.resource,this.instrumentationScope=t.scope,this._recordEndMetrics=t.recordEndMetrics,t.attributes!=null&&this.setAttributes(t.attributes),this._spanProcessor.onStart(this,t.context)}spanContext(){return this._spanContext}setAttribute(t,r){if(r==null||this._isSpanEnded())return this;if(t.length===0)return ct.warn(`Invalid attribute key: ${t}`),this;if(!r_(r))return ct.warn(`Invalid attribute value set for key: ${t}`),this;const{attributeCountLimit:n}=this._spanLimits,o=!Object.prototype.hasOwnProperty.call(this.attributes,t);return n!==void 0&&this._attributesCount>=n&&o?(this._droppedAttributesCount++,this):(this.attributes[t]=this._truncateToSize(r),o&&this._attributesCount++,this)}setAttributes(t){for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&this.setAttribute(r,t[r]);return this}addEvent(t,r,n){if(this._isSpanEnded())return this;const{eventCountLimit:o}=this._spanLimits;if(o===0)return ct.warn("No events allowed."),this._droppedEventsCount++,this;o!==void 0&&this.events.length>=o&&(this._droppedEventsCount===0&&ct.debug("Dropping extra events."),this.events.shift(),this._droppedEventsCount++),SR(r)&&(SR(n)||(n=r),r=void 0);const a=td(r),{attributePerEventCountLimit:i}=this._spanLimits,l={};let p=0,u=0;for(const h in a){if(!Object.prototype.hasOwnProperty.call(a,h))continue;const f=a[h];if(i!==void 0&&u>=i){p++;continue}l[h]=this._truncateToSize(f),u++}return this.events.push({name:t,attributes:l,time:this._getTime(n),droppedAttributesCount:p}),this}addLink(t){if(this._isSpanEnded())return this;const{linkCountLimit:r}=this._spanLimits;if(r===0)return this._droppedLinksCount++,this;r!==void 0&&this.links.length>=r&&(this._droppedLinksCount===0&&ct.debug("Dropping extra links."),this.links.shift(),this._droppedLinksCount++);const{attributePerLinkCountLimit:n}=this._spanLimits,o=td(t.attributes),a={};let i=0,l=0;for(const u in o){if(!Object.prototype.hasOwnProperty.call(o,u))continue;const h=o[u];if(n!==void 0&&l>=n){i++;continue}a[u]=this._truncateToSize(h),l++}const p={context:t.context};return l>0&&(p.attributes=a),i>0&&(p.droppedAttributesCount=i),this.links.push(p),this}addLinks(t){for(const r of t)this.addLink(r);return this}setStatus(t){if(this._isSpanEnded())return this;if(t.code===ns.UNSET)return this;if(this.status.code===ns.OK)return this;const r={code:t.code};return t.code===ns.ERROR&&(typeof t.message=="string"?r.message=t.message:t.message!=null&&ct.warn(`Dropping invalid status.message of type '${typeof t.message}', expected 'string'`)),this.status=r,this}updateName(t){return this._isSpanEnded()?this:(this.name=t,this)}end(t){if(this._isSpanEnded()){ct.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);return}this.endTime=this._getTime(t),this._duration=vue(this.startTime,this.endTime),this._duration[0]<0&&(ct.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&&ct.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`),this._droppedLinksCount>0&&ct.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(t){if(typeof t=="number"&&t<=dl.now())return xR(t+this._performanceOffset);if(typeof t=="number")return os(t);if(t instanceof Date)return os(t.getTime());if(hy(t))return t;if(this._startTimeProvided)return os(Date.now());const r=dl.now()-this._performanceStartTime;return CR(this.startTime,os(r))}isRecording(){return this._ended===!1}recordException(t,r){const n={};typeof t=="string"?n[fm]=t:t&&(t.code?n[mm]=t.code.toString():t.name&&(n[mm]=t.name),t.message&&(n[fm]=t.message),t.stack&&(n[bR]=t.stack)),n[mm]||n[fm]?this.addEvent(cde,n,r):ct.warn(`Failed to record an exception ${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: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`);ct.warn(`Cannot execute the operation on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`,t)}return this._ended}_truncateToLimitUtil(t,r){return t.length<=r?t:t.substring(0,r)}_truncateToSize(t){const r=this._attributeValueLengthLimit;return r<=0?(ct.warn(`Attribute value limit must be positive, got ${r}`),t):typeof t=="string"?this._truncateToLimitUtil(t,r):Array.isArray(t)?t.map(n=>typeof n=="string"?this._truncateToLimitUtil(n,r):n):t}[yy](t,r,n){const o={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:xy(this.resource)}};return wy("SpanImpl",o,t,r,n)}}var ra;(function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(ra||(ra={}));class ad{shouldSample(){return{decision:ra.NOT_RECORD}}toString(){return"AlwaysOffSampler"}}class fl{shouldSample(){return{decision:ra.RECORD_AND_SAMPLED}}toString(){return"AlwaysOnSampler"}}class id{_root;_remoteParentSampled;_remoteParentNotSampled;_localParentSampled;_localParentNotSampled;constructor(t){this._root=t.root,this._root||(ul(new Error("ParentBasedSampler must have a root sampler configured")),this._root=new fl),this._remoteParentSampled=t.remoteParentSampled??new fl,this._remoteParentNotSampled=t.remoteParentNotSampled??new ad,this._localParentSampled=t.localParentSampled??new fl,this._localParentNotSampled=t.localParentNotSampled??new ad}shouldSample(t,r,n,o,a,i){const l=On.getSpanContext(t);return!l||!Zu(l)?this._root.shouldSample(t,r,n,o,a,i):l.isRemote?l.traceFlags&ta.SAMPLED?this._remoteParentSampled.shouldSample(t,r,n,o,a,i):this._remoteParentNotSampled.shouldSample(t,r,n,o,a,i):l.traceFlags&ta.SAMPLED?this._localParentSampled.shouldSample(t,r,n,o,a,i):this._localParentNotSampled.shouldSample(t,r,n,o,a,i)}toString(){return`ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`}}class Sy{_ratio;_upperBound;constructor(t=0){this._ratio=this._normalize(t),this._upperBound=Math.floor(this._ratio*4294967295)}shouldSample(t,r){return{decision:ty(r)&&this._accumulate(r)<this._upperBound?ra.RECORD_AND_SAMPLED:ra.NOT_RECORD}}toString(){return`TraceIdRatioBased{${this._ratio}}`}_normalize(t){return typeof t!="number"||isNaN(t)?0:t>=1?1:t<=0?0:t}_accumulate(t){let r=0;for(let n=0;n<32;n+=8){let o=0;for(let a=0;a<8;a++){const i=t.charCodeAt(n+a),l=i<58?i-48:i<71?i-55:i-87;o=o<<4|l}r=(r^o)>>>0}return r}}var Aa;(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"})(Aa||(Aa={}));const FR=1;function BR(){return{sampler:qR(),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128},spanLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128,linkCountLimit:128,eventCountLimit:128,attributePerEventCountLimit:128,attributePerLinkCountLimit:128}}}function qR(){const e=Aa.ParentBasedAlwaysOn;switch(e){case Aa.AlwaysOn:return new fl;case Aa.AlwaysOff:return new ad;case Aa.ParentBasedAlwaysOn:return new id({root:new fl});case Aa.ParentBasedAlwaysOff:return new id({root:new ad});case Aa.TraceIdRatio:return new Sy(HR());case Aa.ParentBasedTraceIdRatio:return new id({root:new Sy(HR())});default:return ct.error(`OTEL_TRACES_SAMPLER value "${e}" invalid, defaulting to "${Aa.ParentBasedAlwaysOn}".`),new id({root:new fl})}}function HR(){return ct.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${FR}.`),FR}const ude=128,dde=1/0;function hde(e){const t={sampler:qR()},r=BR(),n=Object.assign({},r,t,e);return n.generalLimits=Object.assign({},r.generalLimits,e.generalLimits||{}),n.spanLimits=Object.assign({},r.spanLimits,e.spanLimits||{}),n}function fde(e){const t=Object.assign({},e.spanLimits);return t.attributeCountLimit=e.spanLimits?.attributeCountLimit??e.generalLimits?.attributeCountLimit??void 0??void 0??ude,t.attributeValueLengthLimit=e.spanLimits?.attributeValueLengthLimit??e.generalLimits?.attributeValueLengthLimit??void 0??void 0??dde,Object.assign({},e,{spanLimits:t})}class mde{_maxExportBatchSize;_maxQueueSize;_scheduledDelayMillis;_exportTimeoutMillis;_exporter;_isExporting=!1;_finishedSpans=[];_timer;_shutdownOnce;_droppedSpansCount=0;constructor(t,r){this._exporter=t,this._maxExportBatchSize=typeof r?.maxExportBatchSize=="number"?r.maxExportBatchSize:512,this._maxQueueSize=typeof r?.maxQueueSize=="number"?r.maxQueueSize:2048,this._scheduledDelayMillis=typeof r?.scheduledDelayMillis=="number"?r.scheduledDelayMillis:5e3,this._exportTimeoutMillis=typeof r?.exportTimeoutMillis=="number"?r.exportTimeoutMillis:3e4,this._shutdownOnce=new DR(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(ct.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,r){}onEnd(t){this._shutdownOnce.isCalled||(t.spanContext().traceFlags&ta.SAMPLED)!==0&&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){this._droppedSpansCount===0&&ct.debug("maxQueueSize reached, dropping spans"),this._droppedSpansCount++;return}this._droppedSpansCount>0&&(ct.warn(`Dropped ${this._droppedSpansCount} spans because maxQueueSize reached`),this._droppedSpansCount=0),this._finishedSpans.push(t),this._maybeStartTimer()}_flushAll(){return new Promise((t,r)=>{const n=[],o=Math.ceil(this._finishedSpans.length/this._maxExportBatchSize);for(let a=0,i=o;a<i;a++)n.push(this._flushOneBatch());Promise.all(n).then(()=>{t()}).catch(r)})}_flushOneBatch(){return this._clearTimer(),this._finishedSpans.length===0?Promise.resolve():new Promise((t,r)=>{const n=setTimeout(()=>{r(new Error("Timeout"))},this._exportTimeoutMillis);Po.with(K9(Po.active()),()=>{let o;this._finishedSpans.length<=this._maxExportBatchSize?(o=this._finishedSpans,this._finishedSpans=[]):o=this._finishedSpans.splice(0,this._maxExportBatchSize);const a=()=>this._exporter.export(o,l=>{clearTimeout(n),l.code===Gn.SUCCESS?t():r(l.error??new Error("BatchSpanProcessor: span export failed"))});let i=null;for(let l=0,p=o.length;l<p;l++){const u=o[l];u.resource.asyncAttributesPending&&u.resource.waitForAsyncAttributes&&(i??=[],i.push(u.resource.waitForAsyncAttributes()))}i===null?a():Promise.all(i).then(a,l=>{ul(l),r(l)})})})}_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(r=>{this._isExporting=!1,ul(r)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return t();this._timer===void 0&&(this._timer=setTimeout(()=>t(),this._scheduledDelayMillis),typeof this._timer!="number"&&this._timer.unref())}_clearTimer(){this._timer!==void 0&&(clearTimeout(this._timer),this._timer=void 0)}}class VR extends mde{_visibilityChangeListener;_pageHideListener;constructor(t,r){super(t,r),this.onInit(r)}onInit(t){t?.disableAutoFlushOnDocumentHide!==!0&&typeof document<"u"&&(this._visibilityChangeListener=()=>{document.visibilityState==="hidden"&&this.forceFlush().catch(r=>{ul(r)})},this._pageHideListener=()=>{this.forceFlush().catch(r=>{ul(r)})},document.addEventListener("visibilitychange",this._visibilityChangeListener),document.addEventListener("pagehide",this._pageHideListener))}onShutdown(){typeof document<"u"&&(this._visibilityChangeListener&&document.removeEventListener("visibilitychange",this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener("pagehide",this._pageHideListener))}}const gde=16,bde=8,GR=new Uint8Array(gde),WR=new Uint8Array(bde),vde=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function YR(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 KR(e){let t="";for(let r=0;r<e.length;r++)t+=vde[e[r]];return t}class JR{generateTraceId(){return YR(GR),KR(GR)}generateSpanId(){return YR(WR),KR(WR)}}const yde="otel.span.parent.origin",QR="otel.span.sampling_result",xde="otel.sdk.span.live",wde="otel.sdk.span.started";class Sde{startedSpans;liveSpans;constructor(t){this.startedSpans=t.createCounter(wde,{unit:"{span}",description:"The number of created spans."}),this.liveSpans=t.createUpDownCounter(xde,{unit:"{span}",description:"The number of currently live spans."})}startSpan(t,r){const n=kde(r);if(this.startedSpans.add(1,{[yde]:Cde(t),[QR]:n}),r===ra.NOT_RECORD)return()=>{};const o={[QR]:n};return this.liveSpans.add(1,o),()=>{this.liveSpans.add(-1,o)}}}function Cde(e){return e?e.isRemote?"remote":"local":"none"}function kde(e){switch(e){case ra.RECORD_AND_SAMPLED:return"RECORD_AND_SAMPLE";case ra.RECORD:return"RECORD_ONLY";case ra.NOT_RECORD:return"DROP"}}const _de="2.8.0";class Ade{_sampler;_generalLimits;_spanLimits;_idGenerator;instrumentationScope;_resource;_spanProcessor;_tracerMetrics;constructor(t,r,n,o){const a=hde(r);this._sampler=a.sampler,this._generalLimits=a.generalLimits,this._spanLimits=a.spanLimits,this._idGenerator=r.idGenerator||new JR,this._resource=n,this._spanProcessor=o,this.instrumentationScope=t;const i=a.meterProvider?a.meterProvider.getMeter("@opentelemetry/sdk-trace",_de):M9();this._tracerMetrics=new Sde(i)}startSpan(t,r={},n=Po.active()){r.root&&(n=On.deleteSpan(n));const o=On.getSpan(n);if(cy(n))return ct.debug("Instrumentation suppressed, returning Noop Span"),On.wrapSpanContext(Q0);const a=o?.spanContext(),i=this._idGenerator.generateSpanId();let l,p,u;!a||!On.isSpanContextValid(a)?p=this._idGenerator.generateTraceId():(p=a.traceId,u=a.traceState,l=a);const h=r.kind??ed.INTERNAL,f=(r.links??[]).map(_=>({context:_.context,attributes:td(_.attributes)})),b=td(r.attributes),v=this._sampler.shouldSample(n,p,t,h,b,f),y=this._tracerMetrics.startSpan(a,v.decision);u=v.traceState??u;const x=v.decision===Xu.RECORD_AND_SAMPLED?ta.SAMPLED:ta.NONE,k={traceId:p,spanId:i,traceFlags:x,traceState:u};if(v.decision===Xu.NOT_RECORD)return ct.debug("Recording is off, propagating context in a non-recording span"),On.wrapSpanContext(k);const w=td(Object.assign(b,v.attributes));return new pde({resource:this._resource,scope:this.instrumentationScope,context:n,spanContext:k,name:t,kind:h,links:f,parentSpanContext:l,attributes:w,startTime:r.startTime,spanProcessor:this._spanProcessor,spanLimits:this._spanLimits,recordEndMetrics:y})}startActiveSpan(t,r,n,o){let a,i,l;if(arguments.length<2)return;arguments.length===2?l=r:arguments.length===3?(a=r,l=n):(a=r,i=n,l=o);const p=i??Po.active(),u=this.startSpan(t,a,p),h=On.setSpan(p,u);return Po.with(h,l,void 0,u)}getGeneralLimits(){return this._generalLimits}getSpanLimits(){return this._spanLimits}[yy](t,r,n){const o={instrumentationScope:this.instrumentationScope,resource:{attributes:xy(this._resource)},spanLimits:this._spanLimits,generalLimits:this._generalLimits};return wy("Tracer",o,t,r,n)}}class Ede{_spanProcessors;constructor(t){this._spanProcessors=t}forceFlush(){const t=[];for(const r of this._spanProcessors)t.push(r.forceFlush());return new Promise(r=>{Promise.all(t).then(()=>{r()}).catch(n=>{ul(n||new Error("MultiSpanProcessor: forceFlush failed")),r()})})}onStart(t,r){for(const n of this._spanProcessors)n.onStart(t,r)}onEnding(t){for(const r of this._spanProcessors)r.onEnding&&r.onEnding(t)}onEnd(t){for(const r of this._spanProcessors)r.onEnd(t)}shutdown(){const t=[];for(const r of this._spanProcessors)t.push(r.shutdown());return new Promise((r,n)=>{Promise.all(t).then(()=>{r()},n)})}}var ml;(function(e){e[e.resolved=0]="resolved",e[e.timeout=1]="timeout",e[e.error=2]="error",e[e.unresolved=3]="unresolved"})(ml||(ml={}));class ZR{_config;_tracers=new Map;_resource;_activeSpanProcessor;constructor(t={}){const r=Vue({},BR(),fde(t));this._resource=r.resource??zR(),this._config=Object.assign({},r,{resource:this._resource});const n=[];t.spanProcessors?.length&&n.push(...t.spanProcessors),this._activeSpanProcessor=new Ede(n)}getTracer(t,r,n){const o=`${t}@${r||""}:${n?.schemaUrl||""}`;return this._tracers.has(o)||this._tracers.set(o,new Ade({name:t,version:r,schemaUrl:n?.schemaUrl},this._config,this._resource,this._activeSpanProcessor)),this._tracers.get(o)}forceFlush(){const t=this._config.forceFlushTimeoutMillis,r=this._activeSpanProcessor._spanProcessors.map(n=>new Promise(o=>{let a;const i=setTimeout(()=>{o(new Error(`Span processor did not completed within timeout period of ${t} ms`)),a=ml.timeout},t);n.forceFlush().then(()=>{clearTimeout(i),a!==ml.timeout&&(a=ml.resolved,o(a))}).catch(l=>{clearTimeout(i),a=ml.error,o(l)})}));return new Promise((n,o)=>{Promise.all(r).then(a=>{const i=a.filter(l=>l!==ml.resolved);i.length>0?o(i):n()}).catch(a=>o([a]))})}shutdown(){return this._activeSpanProcessor.shutdown()}[yy](t,r,n){const o=this._activeSpanProcessor._spanProcessors,a={resource:{attributes:xy(this._resource)},tracers:Array.from(this._tracers.keys()),spanProcessors:o.map(i=>i.constructor?.name??"SpanProcessor")};return wy("BasicTracerProvider",a,t,r,n)}}class Tde{export(t,r){return this._sendSpans(t,r)}shutdown(){return this._sendSpans([]),this.forceFlush()}forceFlush(){return Promise.resolve()}_exportInfo(t){return{resource:{attributes:t.resource.attributes},instrumentationScope:t.instrumentationScope,traceId:t.spanContext().traceId,parentSpanContext:t.parentSpanContext,traceState:t.spanContext().traceState?.serialize(),name:t.name,id:t.spanContext().spanId,kind:t.kind,timestamp:wR(t.startTime),duration:wR(t.duration),attributes:t.attributes,status:t.status,events:t.events,links:t.links}}_sendSpans(t,r){for(const n of t)console.dir(this._exportInfo(n),{depth:3});if(r)return r({code:Gn.SUCCESS})}}class Ode{_finishedSpans=[];_stopped=!1;export(t,r){if(this._stopped)return r({code:Gn.FAILED,error:new Error("Exporter has been stopped")});this._finishedSpans.push(...t),setTimeout(()=>r({code:Gn.SUCCESS}),0)}shutdown(){return this._stopped=!0,this._finishedSpans=[],this.forceFlush()}forceFlush(){return Promise.resolve()}reset(){this._finishedSpans=[]}getFinishedSpans(){return this._finishedSpans}}class Rde{_exporter;_shutdownOnce;_pendingExports;constructor(t){this._exporter=t,this._shutdownOnce=new DR(this._shutdown,this),this._pendingExports=new Set}async forceFlush(){await Promise.all(Array.from(this._pendingExports)),this._exporter.forceFlush&&await this._exporter.forceFlush()}onStart(t,r){}onEnd(t){if(this._shutdownOnce.isCalled||(t.spanContext().traceFlags&ta.SAMPLED)===0)return;const r=this._doExport(t).catch(n=>ul(n));this._pendingExports.add(r),r.finally(()=>this._pendingExports.delete(r))}async _doExport(t){t.resource.asyncAttributesPending&&await t.resource.waitForAsyncAttributes?.();const r=await Jue._export(this._exporter,[t]);if(r.code!==Gn.SUCCESS)throw r.error??new Error(`SimpleSpanProcessor: span export failed (status ${r})`)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return this._exporter.shutdown()}}class jde{onStart(t,r){}onEnd(t){}shutdown(){return Promise.resolve()}forceFlush(){return Promise.resolve()}}class XR{_enabled=!1;_currentContext=cl;_bindFunction(t=cl,r){const n=this,o=function(...a){return n.with(t,()=>r.apply(this,a))};return Object.defineProperty(o,"length",{enumerable:!1,configurable:!0,writable:!1,value:r.length}),o}active(){return this._currentContext}bind(t,r){return t===void 0&&(t=this.active()),typeof r=="function"?this._bindFunction(t,r):r}disable(){return this._currentContext=cl,this._enabled=!1,this}enable(){return this._enabled?this:(this._enabled=!0,this._currentContext=cl,this)}with(t,r,n,...o){const a=this._currentContext;this._currentContext=t||cl;try{return r.call(n,...o)}finally{this._currentContext=a}}}function Lde(e){if(e!==null){if(e===void 0){const t=new XR;t.enable(),Po.setGlobalContextManager(t);return}e.enable(),Po.setGlobalContextManager(e)}}function Nde(e){if(e!==null){if(e===void 0){pl.setGlobalPropagator(new yue({propagators:[new Nue,new see]}));return}pl.setGlobalPropagator(e)}}class ej extends ZR{constructor(t={}){super(t)}register(t={}){On.setGlobalTracerProvider(this),Nde(t.propagator),Lde(t.contextManager)}}var xr;(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"})(xr||(xr={}));const Ide="http.response_content_length",Pde="http.response_content_length_uncompressed";let Cy;function Mde(){return Cy||(Cy=document.createElement("a")),Cy}function tj(e,t){return t in e}function Ea(e,t,r,n=!0){if(tj(r,t)&&typeof r[t]=="number"&&!(n&&r[t]===0))return e.addEvent(t,r[t])}function Dde(e,t,r=!1,n,o){if(n===void 0&&(n=t[xr.START_TIME]!==0),r||(Ea(e,xr.FETCH_START,t,n),Ea(e,xr.DOMAIN_LOOKUP_START,t,n),Ea(e,xr.DOMAIN_LOOKUP_END,t,n),Ea(e,xr.CONNECT_START,t,n),Ea(e,xr.SECURE_CONNECTION_START,t,n),Ea(e,xr.CONNECT_END,t,n),Ea(e,xr.REQUEST_START,t,n),Ea(e,xr.RESPONSE_START,t,n),Ea(e,xr.RESPONSE_END,t,n)),!o){const a=t[xr.ENCODED_BODY_SIZE];a!==void 0&&e.setAttribute(Ide,a);const i=t[xr.DECODED_BODY_SIZE];i!==void 0&&a!==i&&e.setAttribute(Pde,i)}}function rj(e){return e.slice().sort((t,r)=>{const n=t[xr.FETCH_START],o=r[xr.FETCH_START];return n>o?1:n<o?-1:0})}function nj(){return typeof location<"u"?location.origin:void 0}function $de(e,t,r,n,o=new WeakSet,a){const i=_m(e);e=i.toString();const l=Ude(e,t,r,n,o,a);if(l.length===0)return{mainRequest:void 0};if(l.length===1)return{mainRequest:l[0]};const p=rj(l);if(i.origin!==nj()&&p.length>1){let u=p[0],h=zde(p,u[xr.RESPONSE_END],r);const f=u[xr.RESPONSE_END];return h[xr.FETCH_START]<f&&(h=u,u=void 0),{corsPreFlightRequest:u,mainRequest:h}}else return{mainRequest:l[0]}}function zde(e,t,r){const n=fi(r),o=fi(rd(t));let a=e[1],i;const l=e.length;for(let p=1;p<l;p++){const u=e[p],h=fi(rd(u[xr.FETCH_START])),f=fi(rd(u[xr.RESPONSE_END])),b=n-f;h>=o&&(!i||b<i)&&(i=b,a=u)}return a}function Ude(e,t,r,n,o,a){const i=fi(t),l=fi(r);let p=n.filter(u=>{const h=fi(rd(u[xr.FETCH_START])),f=fi(rd(u[xr.RESPONSE_END]));return u.initiatorType.toLowerCase()===(a||"xmlhttprequest")&&u.name===e&&h>=i&&f<=l});return p.length>0&&(p=p.filter(u=>!o.has(u))),p}function _m(e){if(typeof URL=="function")return new URL(e,typeof document<"u"?document.baseURI:typeof location<"u"?location.href:void 0);const t=Mde();return t.href=e,t}function Fde(e){return _m(e).href}function oj(e,t){if(e.nodeType===Node.DOCUMENT_NODE)return"/";const r=qde(e,t);if(t&&r.indexOf("@id")>0)return r;let n="";return e.parentNode&&(n+=oj(e.parentNode,t)),n+=r,n}function Bde(e){if(!e.parentNode)return 0;const t=[e.nodeType];e.nodeType===Node.CDATA_SECTION_NODE&&t.push(Node.TEXT_NODE);let r=Array.from(e.parentNode.childNodes);return r=r.filter(n=>{const o=n.localName;return t.indexOf(n.nodeType)>=0&&o===e.localName}),r.length>=1?r.indexOf(e)+1:0}function qde(e,t){const r=e.nodeType,n=Bde(e);let o;if(r===Node.ELEMENT_NODE){const a=e.getAttribute("id");if(t&&a)return`//*[@id="${a}"]`;o=e.localName}else if(r===Node.TEXT_NODE||r===Node.CDATA_SECTION_NODE)o="text()";else if(r===Node.COMMENT_NODE)o="comment()";else return"";return o&&n>1?`/${o}[${n}]`:`/${o}`}function Hde(e,t){let r=t||[];return(typeof r=="string"||r instanceof RegExp)&&(r=[r]),_m(e).origin===nj()?!0:r.some(n=>Wue(e,n))}const Vde=Object.freeze(Object.defineProperty({__proto__:null,AlwaysOffSampler:ad,AlwaysOnSampler:fl,BasicTracerProvider:ZR,BatchSpanProcessor:VR,ConsoleSpanExporter:Tde,InMemorySpanExporter:Ode,NoopSpanProcessor:jde,ParentBasedSampler:id,get PerformanceTimingNames(){return xr},RandomIdGenerator:JR,get SamplingDecision(){return ra},SimpleSpanProcessor:Rde,StackContextManager:XR,TraceIdRatioBasedSampler:Sy,WebTracerProvider:ej,addSpanNetworkEvent:Ea,addSpanNetworkEvents:Dde,getElementXPath:oj,getResource:$de,hasKey:tj,normalizeUrl:Fde,parseUrl:_m,shouldPropagateTraceHeaders:Hde,sortResources:rj},Symbol.toStringTag,{value:"Module"})),Gde=Sa(Vde),Wde=Sa(lde);class Yde{_delegate;constructor(t){this._delegate=t}export(t,r){this._delegate.export(t,r)}forceFlush(){return this._delegate.forceFlush()}shutdown(){return this._delegate.shutdown()}}class aj extends Error{code;name="OTLPExporterError";data;constructor(t,r,n){super(t),this.data=n,this.code=r}}function Kde(e){if(Number.isFinite(e)&&e>0)return e;throw new Error(`Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '${e}')`)}function Jde(e){if(e!=null)return async()=>e}function Qde(e,t,r){return{timeoutMillis:Kde(e.timeoutMillis??t.timeoutMillis??r.timeoutMillis),concurrencyLimit:e.concurrencyLimit??t.concurrencyLimit??r.concurrencyLimit,compression:e.compression??t.compression??r.compression}}function Zde(){return{timeoutMillis:1e4,concurrencyLimit:30,compression:"none"}}class Xde{_concurrencyLimit;_sendingPromises=[];constructor(t){this._concurrencyLimit=t}pushPromise(t){if(this.hasReachedLimit())throw new Error("Concurrency Limit reached");this._sendingPromises.push(t);const r=()=>{const n=this._sendingPromises.indexOf(t);this._sendingPromises.splice(n,1)};t.then(r,r)}hasReachedLimit(){return this._sendingPromises.length>=this._concurrencyLimit}async awaitAll(){await Promise.all(this._sendingPromises)}}function ehe(e){return new Xde(e.concurrencyLimit)}function the(e){return Object.prototype.hasOwnProperty.call(e,"partialSuccess")}function rhe(){return{handleResponse(e){e==null||!the(e)||e.partialSuccess==null||Object.keys(e.partialSuccess).length===0||ct.warn("Received Partial Success response:",JSON.stringify(e.partialSuccess))}}}class nhe{_diagLogger;_transport;_serializer;_responseHandler;_promiseQueue;_timeout;constructor(t,r,n,o,a){this._transport=t,this._serializer=r,this._responseHandler=n,this._promiseQueue=o,this._timeout=a,this._diagLogger=ct.createComponentLogger({namespace:"OTLPExportDelegate"})}export(t,r){if(this._diagLogger.debug("items to be sent",t),this._promiseQueue.hasReachedLimit()){r({code:Gn.FAILED,error:new Error("Concurrent export limit reached")});return}const n=this._serializer.serializeRequest(t);if(n==null){r({code:Gn.FAILED,error:new Error("Nothing to send")});return}this._promiseQueue.pushPromise(this._transport.send(n,this._timeout).then(o=>{if(o.status==="success"){if(o.data!=null)try{this._responseHandler.handleResponse(this._serializer.deserializeResponse(o.data))}catch(a){this._diagLogger.warn("Export succeeded but could not deserialize response - is the response specification compliant?",a,o.data)}r({code:Gn.SUCCESS});return}else if(o.status==="failure"&&o.error){r({code:Gn.FAILED,error:o.error});return}else o.status==="retryable"?r({code:Gn.FAILED,error:o.error??new aj("Export failed with retryable status")}):r({code:Gn.FAILED,error:new aj("Export failed with unknown error")})},o=>r({code:Gn.FAILED,error:o})))}forceFlush(){return this._promiseQueue.awaitAll()}async shutdown(){this._diagLogger.debug("shutdown started"),await this.forceFlush(),this._transport.shutdown()}}function ohe(e,t){return new nhe(e.transport,e.serializer,rhe(),e.promiseHandler,t.timeout)}function ahe(e,t,r){return ohe({transport:r,serializer:t,promiseHandler:ehe(e)},{timeout:e.timeoutMillis})}class ij{emit(t){}enabled(){return!1}}const ihe=new ij,Am=Symbol.for("io.opentelemetry.js.api.logs"),sd=globalThis;function she(e,t,r){return n=>n===e?t:r}const sj=1;class lhe{getLogger(t,r,n){return new ij}}const lj=new lhe;class che{constructor(t,r,n,o){this._provider=t,this.name=r,this.version=n,this.options=o}emit(t){this._getLogger().emit(t)}enabled(t){return this._getLogger().enabled(t)}_getLogger(){if(this._delegate)return this._delegate;const t=this._provider._getDelegateLogger(this.name,this.version,this.options);return t?(this._delegate=t,this._delegate):ihe}}class cj{getLogger(t,r,n){var o;return(o=this._getDelegateLogger(t,r,n))!==null&&o!==void 0?o:new che(this,t,r,n)}_getDelegate(){var t;return(t=this._delegate)!==null&&t!==void 0?t:lj}_setDelegate(t){this._delegate=t}_getDelegateLogger(t,r,n){var o;return(o=this._delegate)===null||o===void 0?void 0:o.getLogger(t,r,n)}}class j3{constructor(){this._proxyLoggerProvider=new cj}static getInstance(){return this._instance||(this._instance=new j3),this._instance}setGlobalLoggerProvider(t){return sd[Am]?this.getLoggerProvider():(sd[Am]=she(sj,t,lj),this._proxyLoggerProvider._setDelegate(t),t)}getLoggerProvider(){var t,r;return(r=(t=sd[Am])===null||t===void 0?void 0:t.call(sd,sj))!==null&&r!==void 0?r:this._proxyLoggerProvider}getLogger(t,r,n){return this.getLoggerProvider().getLogger(t,r,n)}disable(){delete sd[Am],this._proxyLoggerProvider=new cj}}const pj=j3.getInstance();function phe(e,t){const r={attributes:ld(e.attributes,t),droppedAttributesCount:0},n=e.schemaUrl;return n&&n!==""&&(r.schemaUrl=n),r}function uhe(e,t){const r={name:e.name,version:e.version};return e.attributes&&Object.keys(e.attributes).length>0&&(r.attributes=ld(e.attributes,t),r.droppedAttributesCount=e.droppedAttributesCount??0),r}function ld(e,t){return Object.keys(e).map(r=>dhe(r,e[r],t))}function dhe(e,t,r){return{key:e,value:ky(t,r)}}function ky(e,t){const r=typeof e;if(r==="string")return{stringValue:e};if(r==="number")return Number.isInteger(e)?{intValue:e}:{doubleValue:e};if(r==="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 o=0;o<e.length;o++)n[o]=ky(e[o],t);return{arrayValue:{values:n}}}if(r==="object"&&e!=null){const n=Object.keys(e),o=new Array(n.length);for(let a=0;a<n.length;a++)o[a]={key:n[a],value:ky(e[n[a]],t)};return{kvlistValue:{values:o}}}return{}}function hhe(e){const t=BigInt(1e9);return BigInt(Math.trunc(e[0]))*t+BigInt(Math.trunc(e[1]))}function fhe(e){return hhe(e).toString()}const mhe=typeof BigInt<"u"?fhe:fi;function uj(e){return e}const ghe={encodeHrTime:mhe,encodeSpanContext:uj,encodeOptionalSpanContext:uj,encodeUint8Array:e=>{if(typeof Buffer<"u")return Buffer.from(e).toString("base64");const t=new Array(e.length);for(let r=0;r<e.length;r++)t[r]=String.fromCharCode(e[r]);return btoa(t.join(""))}},bhe=256,vhe=512;function dj(e,t){let r=e&255|bhe;return t&&(r|=vhe),r}function yhe(e,t){const r=e.spanContext(),n=e.status,o=e.parentSpanContext?.spanId?t.encodeSpanContext(e.parentSpanContext?.spanId):void 0;return{traceId:t.encodeSpanContext(r.traceId),spanId:t.encodeSpanContext(r.spanId),parentSpanId:o,traceState:r.traceState?.serialize(),name:e.name,kind:e.kind==null?0:e.kind+1,startTimeUnixNano:t.encodeHrTime(e.startTime),endTimeUnixNano:t.encodeHrTime(e.endTime),attributes:ld(e.attributes,t),droppedAttributesCount:e.droppedAttributesCount,events:e.events.map(a=>whe(a,t)),droppedEventsCount:e.droppedEventsCount,status:{code:n.code,message:n.message},links:e.links.map(a=>xhe(a,t)),droppedLinksCount:e.droppedLinksCount,flags:dj(r.traceFlags,e.parentSpanContext?.isRemote)}}function xhe(e,t){return{attributes:e.attributes?ld(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:dj(e.context.traceFlags,e.context.isRemote)}}function whe(e,t){return{attributes:e.attributes?ld(e.attributes,t):[],name:e.name,timeUnixNano:t.encodeHrTime(e.time),droppedAttributesCount:e.droppedAttributesCount||0}}function She(e,t){return{resourceSpans:khe(e,t)}}function Che(e){const t=new Map;for(const r of e){let n=t.get(r.resource);n||(n=new Map,t.set(r.resource,n));const o=`${r.instrumentationScope.name}@${r.instrumentationScope.version||""}:${r.instrumentationScope.schemaUrl||""}`;let a=n.get(o);a||(a=[],n.set(o,a)),a.push(r)}return t}function khe(e,t){const r=Che(e),n=[],o=r.entries();let a=o.next();for(;!a.done;){const[i,l]=a.value,p=[],u=l.values();let h=u.next();for(;!h.done;){const v=h.value;if(v.length>0){const y=v.map(x=>yhe(x,t));p.push({scope:uhe(v[0].instrumentationScope,t),spans:y,schemaUrl:v[0].instrumentationScope.schemaUrl})}h=u.next()}const f=phe(i,t),b={resource:f,scopeSpans:p,schemaUrl:f.schemaUrl};n.push(b),a=o.next()}return n}const _he={serializeRequest:e=>{const t=She(e,ghe);return new TextEncoder().encode(JSON.stringify(t))},deserializeResponse:e=>{if(e.length===0)return{};const t=new TextDecoder;try{return JSON.parse(t.decode(e))}catch(r){return ct.warn(`Failed to parse trace export response: ${r.message}. Returning empty response`),{}}}},_y=5,Ahe=1e3,Ehe=5e3,The=1.5,hj=.2;function Ohe(){return Math.random()*(2*hj)-hj}class Rhe{_transport;constructor(t){this._transport=t}retry(t,r,n){return new Promise((o,a)=>{setTimeout(()=>{this._transport.send(t,r).then(o,a)},n)})}async send(t,r){let n=_y,o=Ahe;const a=Date.now()+r;let i=await this._transport.send(t,r);for(;i.status==="retryable"&&n>0;){n--;const l=Math.max(Math.min(o*(1+Ohe()),Ehe),0);o=o*The;const p=i.retryInMillis??l,u=a-Date.now();if(p>u)return ct.info(`Export retry time ${Math.round(p)}ms exceeds remaining timeout ${Math.round(u)}ms, not retrying further.`),i;ct.verbose(`Scheduling export retry in ${Math.round(p)}ms`),i=await this.retry(t,u,p)}return i.status==="success"?ct.verbose(`Export succeeded after ${_y-n} retry attempts.`):i.status==="retryable"?ct.info(`Export failed after maximum retry attempts (${_y}).`):ct.info(`Export failed with non-retryable error: ${i.error}`),i}shutdown(){return this._transport.shutdown()}}function jhe(e){return new Rhe(e.transport)}function Lhe(e){return e===429||e===502||e===503||e===504}function Nhe(e){if(e==null)return;const t=Number.parseInt(e,10);if(Number.isInteger(t))return t>0?t*1e3:-1;const r=new Date(e).getTime()-Date.now();return r>=0?r:0}const Ihe=60*1024,Phe=9;let Ay=0,Em=0;class Mhe{_parameters;constructor(t){this._parameters=t}async send(t,r){const n=new AbortController,o=setTimeout(()=>n.abort(),r);let a=globalThis.fetch;typeof a.__original=="function"&&(a=a.__original);const i=t.byteLength,l=Ay+i>Ihe,p=Em>=Phe,u=!l&&!p;if(u)Ay+=i,Em++;else{const h=l?"size limit":"count limit";ct.debug(`keepalive disabled: ${(i/1024).toFixed(1)}KB payload, ${Em} pending (${h})`)}try{const h=new URL(this._parameters.url),f=await a(h.href,{method:"POST",headers:await this._parameters.headers(),body:t,signal:n.signal,keepalive:u,mode:globalThis.location?globalThis.location.origin===h.origin?"same-origin":"cors":"no-cors"});if(f.status>=200&&f.status<=299)return ct.debug(`export response success (status: ${f.status})`),{status:"success"};if(Lhe(f.status)){ct.warn(`export response retryable (status: ${f.status})`);const b=f.headers.get("Retry-After");return{status:"retryable",retryInMillis:Nhe(b)}}return ct.error(`export response failure (status: ${f.status})`),{status:"failure",error:new Error(`Fetch request failed with non-retryable status ${f.status}`)}}catch(h){return $he(h)?(ct.warn(`export request retryable (network error: ${h})`),{status:"retryable",error:new Error("Fetch request encountered a network error",{cause:h})}):(ct.error(`export request failure (error: ${h})`),{status:"failure",error:new Error("Fetch request errored",{cause:h})})}finally{clearTimeout(o),u&&(Ay-=i,Em--)}}shutdown(){}}function Dhe(e){return new Mhe(e)}function $he(e){return e instanceof TypeError&&!e.cause}function zhe(e,t){return ahe(e,t,jhe({transport:Dhe(e)}))}function Uhe(e){const t={};return Object.entries(e??{}).forEach(([r,n])=>{typeof n<"u"?t[r]=String(n):ct.warn(`Header "${r}" has invalid value (${n}) and will be ignored`)}),t}function Fhe(e,t,r){return async()=>{const n={...await r()},o={};return t!=null&&Object.assign(o,await t()),e!=null&&Object.assign(o,Uhe(await e())),Object.assign(o,n)}}function Bhe(e){if(e!=null)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 qhe(e,t,r){return{...Qde(e,t,r),headers:Fhe(e.headers,t.headers,r.headers),url:Bhe(e.url)??t.url??r.url}}function Hhe(e,t){return{...Zde(),headers:async()=>e,url:"http://localhost:4318/"+t}}function Vhe(e){return typeof e.headers=="function"?e.headers:Jde(e.headers)}function Ghe(e,t,r){return qhe({url:e.url,timeoutMillis:e.timeoutMillis,headers:Vhe(e),concurrencyLimit:e.concurrencyLimit},{},Hhe(r,t))}function Whe(e,t,r,n){const o=Ghe(e,r,n);return zhe(o,t)}class fj extends Yde{constructor(t={}){super(Whe(t,_he,"v1/traces",{"Content-Type":"application/json"}))}}const Yhe=Object.freeze(Object.defineProperty({__proto__:null,OTLPTraceExporter:fj},Symbol.toStringTag,{value:"Module"})),Khe=Sa(Yhe),Jhe=Sa(hue);function Qhe(e,t,r,n){for(let o=0,a=e.length;o<a;o++){const i=e[o];t&&i.setTracerProvider(t),r&&i.setMeterProvider(r),n&&i.setLoggerProvider&&i.setLoggerProvider(n),i.getConfig().enabled||i.enable()}}function Zhe(e){e.forEach(t=>t.disable())}function mj(e){const t=e.tracerProvider||On.getTracerProvider(),r=e.meterProvider||hm.getMeterProvider(),n=e.loggerProvider||pj.getLoggerProvider(),o=e.instrumentations?.flat()??[];return Qhe(o,t,r,n),()=>{Zhe(o)}}let go=console.error.bind(console);function cd(e,t,r){const n=!!e[t]&&Object.prototype.propertyIsEnumerable.call(e,t);Object.defineProperty(e,t,{configurable:!0,enumerable:n,writable:!0,value:r})}const gj=(e,t,r)=>{if(!e||!e[t]){go("no original function "+String(t)+" to wrap");return}if(!r){go("no wrapper function"),go(new Error().stack);return}const n=e[t];if(typeof n!="function"||typeof r!="function"){go("original object and wrapper must be functions");return}const o=r(n,t);return cd(o,"__original",n),cd(o,"__unwrap",()=>{e[t]===o&&cd(e,t,n)}),cd(o,"__wrapped",!0),cd(e,t,o),o},Xhe=(e,t,r)=>{if(e)Array.isArray(e)||(e=[e]);else{go("must provide one or more modules to patch"),go(new Error().stack);return}if(!(t&&Array.isArray(t))){go("must provide one or more functions to wrap on modules");return}e.forEach(n=>{t.forEach(o=>{gj(n,o,r)})})},bj=(e,t)=>{if(!e||!e[t]){go("no function to unwrap."),go(new Error().stack);return}const r=e[t];if(!r.__unwrap)go("no original to unwrap to -- has "+String(t)+" already been unwrapped?");else{r.__unwrap();return}},efe=(e,t)=>{if(e)Array.isArray(e)||(e=[e]);else{go("must provide one or more modules to patch"),go(new Error().stack);return}if(!(t&&Array.isArray(t))){go("must provide one or more functions to unwrap on modules");return}e.forEach(r=>{t.forEach(n=>{bj(r,n)})})};class tfe{_config={};_tracer;_meter;_logger;_diag;instrumentationName;instrumentationVersion;constructor(t,r,n){this.instrumentationName=t,this.instrumentationVersion=r,this.setConfig(n),this._diag=ct.createComponentLogger({namespace:t}),this._tracer=On.getTracer(t,r),this._meter=hm.getMeter(t,r),this._logger=pj.getLogger(t,r),this._updateMetricInstruments()}_wrap=gj;_unwrap=bj;_massWrap=Xhe;_massUnwrap=efe;get meter(){return this._meter}setMeterProvider(t){this._meter=t.getMeter(this.instrumentationName,this.instrumentationVersion),this._updateMetricInstruments()}get logger(){return this._logger}setLoggerProvider(t){this._logger=t.getLogger(this.instrumentationName,this.instrumentationVersion)}getModuleDefinitions(){const t=this.init()??[];return Array.isArray(t)?t:[t]}_updateMetricInstruments(){}getConfig(){return this._config}setConfig(t){this._config={enabled:!0,...t}}setTracerProvider(t){this._tracer=t.getTracer(this.instrumentationName,this.instrumentationVersion)}get tracer(){return this._tracer}_runSpanCustomizationHook(t,r,n,o){if(t)try{t(n,o)}catch(a){this._diag.error("Error running span customization hook due to exception in handler",{triggerName:r},a)}}}class vj extends tfe{constructor(t,r,n){super(t,r,n),this._config.enabled&&this.enable()}}function rfe(e){return ct.warn("Path normalization is not implemented for this platform. To silence this warning, ensure no node-specific instrumentations are loaded, and node-specific types (e.g. InstrumentationNodeModuleFile), are not used in a browser context)"),e}class nfe{files;name;supportedVersions;patch;unpatch;constructor(t,r,n,o,a){this.files=a||[],this.name=t,this.supportedVersions=r,this.patch=n,this.unpatch=o}}class ofe{name;supportedVersions;patch;unpatch;constructor(t,r,n,o){this.name=rfe(t),this.supportedVersions=r,this.patch=n,this.unpatch=o}}function afe(e,t,r){let n,o;try{o=e()}catch(a){n=a}finally{if(t(n,o),n&&!r)throw n;return o}}async function ife(e,t,r){let n,o;try{o=await e()}catch(a){n=a}finally{if(await t(n,o),n&&!r)throw n;return o}}function sfe(e){return typeof e=="function"&&typeof e.__original=="function"&&typeof e.__unwrap=="function"&&e.__wrapped===!0}var Dc;(function(e){e[e.STABLE=1]="STABLE",e[e.OLD=2]="OLD",e[e.DUPLICATE=3]="DUPLICATE"})(Dc||(Dc={}));function lfe(e,t){let r=Dc.OLD;const n=t?.split(",").map(o=>o.trim()).filter(o=>o!=="");for(const o of n??[])if(o.toLowerCase()===e+"/dup"){r=Dc.DUPLICATE;break}else o.toLowerCase()===e&&(r=Dc.STABLE);return r}const cfe=Object.freeze(Object.defineProperty({__proto__:null,InstrumentationBase:vj,InstrumentationNodeModuleDefinition:nfe,InstrumentationNodeModuleFile:ofe,get SemconvStability(){return Dc},isWrapped:sfe,registerInstrumentations:mj,safeExecuteInTheMiddle:afe,safeExecuteInTheMiddleAsync:ife,semconvStabilityFromStr:lfe},Symbol.toStringTag,{value:"Module"})),pfe=Sa(cfe);function mi(e){const t=new Error(e);return t.source="ulid",t}const gl="0123456789ABCDEFGHJKMNPQRSTVWXYZ",bl=gl.length,Ey=Math.pow(2,48)-1,pd=10,Ty=16;function Oy(e,t,r){return t>e.length-1?e:e.substr(0,t)+r+e.substr(t+1)}function yj(e){let t,r=e.length,n,o;const a=bl-1;for(;!t&&r-->=0;){if(n=e[r],o=gl.indexOf(n),o===-1)throw mi("incorrectly encoded string");if(o===a){e=Oy(e,r,gl[0]);continue}t=Oy(e,r,gl[o+1])}if(typeof t=="string")return t;throw mi("cannot increment this string")}function xj(e){let t=Math.floor(e()*bl);return t===bl&&(t=bl-1),gl.charAt(t)}function Tm(e,t){if(isNaN(e))throw new Error(e+" must be a number");if(e>Ey)throw mi("cannot encode time greater than "+Ey);if(e<0)throw mi("time must be positive");if(Number.isInteger(Number(e))===!1)throw mi("time must be an integer");let r,n="";for(;t>0;t--)r=e%bl,n=gl.charAt(r)+n,e=(e-r)/bl;return n}function Ry(e,t){let r="";for(;e>0;e--)r=xj(t)+r;return r}function ufe(e){if(e.length!==pd+Ty)throw mi("malformed ulid");var t=e.substr(0,pd).split("").reverse().reduce((r,n,o)=>{const a=gl.indexOf(n);if(a===-1)throw mi("invalid character found: "+n);return r+=a*Math.pow(bl,o)},0);if(t>Ey)throw mi("malformed ulid, timestamp too large");return t}function jy(e=!1,t){t||(t=typeof window<"u"?window:null);const r=t&&(t.crypto||t.msCrypto);if(r)return()=>{const n=new Uint8Array(1);return r.getRandomValues(n),n[0]/255};try{const n=require("crypto");return()=>n.randomBytes(1).readUInt8()/255}catch{}if(e){try{console.error("secure crypto unusable, falling back to insecure Math.random()!")}catch{}return()=>Math.random()}throw mi("secure crypto unusable, insecure Math.random not allowed")}function wj(e){return e||(e=jy()),function(t){return isNaN(t)&&(t=Date.now()),Tm(t,pd)+Ry(Ty,e)}}function dfe(e){e||(e=jy());let t=0,r;return function(n){if(isNaN(n)&&(n=Date.now()),n<=t){const a=r=yj(r);return Tm(t,pd)+a}t=n;const o=r=Ry(Ty,e);return Tm(n,pd)+o}}const Sj=wj(),hfe=Object.freeze(Object.defineProperty({__proto__:null,decodeTime:ufe,detectPrng:jy,encodeRandom:Ry,encodeTime:Tm,factory:wj,incrementBase32:yj,monotonicFactory:dfe,randomChar:xj,replaceCharAt:Oy,ulid:Sj},Symbol.toStringTag,{value:"Module"})),Cj=Sa(hfe);var $c={};const kj=Sa(ree);var ud={},_j;function ffe(){if(_j)return ud;_j=1,Object.defineProperty(ud,"__esModule",{value:!0}),ud.TraceStep=void 0;const e=kj;class t{constructor(n){Object.defineProperty(this,"span",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.span=n}get context(){var n;return(n=this.span)===null||n===void 0?void 0:n.context}error(n){this.span&&(this.span.setStatus(e.SpanStatusCode.ERROR,n.message),this.span.recordException(n),this.span.end())}setAttribute(n,o){this.span&&this.span.setAttribute(n,o)}setStatus(n,o){this.span&&this.span.setStatus(n,o)}end(){this.span&&(this.span.setStatus(e.SpanStatusCode.OK),this.span.end())}}return ud.TraceStep=t,ud}var zc={},Aj;function Ej(){if(Aj)return zc;Aj=1,Object.defineProperty(zc,"__esModule",{value:!0}),zc.CLOUD_EVENT_STANDARD_KEYS=void 0,zc.mapToCloudEvent=t;const e=Cj;zc.CLOUD_EVENT_STANDARD_KEYS=["id","specversion","object","datacontenttype","type","time","origin","env","category","signal","source","subject","subjects","data","actor","requestId","clientIp","organizationId","organizationSlug","projectId","projectSlug","osPlatform","userAgent","sessionId"];function t(r){var n,o,a,i,l,p,u,h;const{type:f,data:b,actor:v,requestId:y,clientIp:x,origin:k,env:w,source:_,organizationId:A,organizationSlug:R,projectId:E,projectSlug:L,category:I="product",signal:O="log",osPlatform:P,userAgent:U,sessionId:Y}=r,q=!!(b&&Array.isArray(b)),Q=v?{id:(a=v.id)!==null&&a!==void 0?a:`ann_${(0,e.ulid)()}`,object:(i=v.object)!==null&&i!==void 0?i:"user",uri:(l=v.uri)!==null&&l!==void 0?l:""}:null,ne=`evt_${(0,e.ulid)()}`.toLowerCase(),le=new Date,G=(p=_??Q?.uri)!==null&&p!==void 0?p:null,ce=Object.assign(Object.assign(Object.assign(Object.assign({},A!==void 0&&{organizationId:A}),R!==void 0&&{organizationSlug:R}),E!==void 0&&{projectId:E}),L!==void 0&&{projectSlug:L}),ee={specversion:"1.0",object:"event",datacontenttype:"application/json; charset=utf-8",origin:k,env:w,category:I,signal:O,osPlatform:P,userAgent:U,clientIp:x,sessionId:Y};if(q){const fe=b,oe=fe.map(ie=>{var W,V,pe;return{id:(W=ie.id)!==null&&W!==void 0?W:"",object:(V=ie.object)!==null&&V!==void 0?V:"",uri:(pe=ie.uri)!==null&&pe!==void 0?pe:""}}),F=(u=(n=fe[0])===null||n===void 0?void 0:n.id)!==null&&u!==void 0?u:null;Object.assign(ee,Object.assign(Object.assign({},ce),{id:ne,type:f,time:le,source:G,actor:Q,subject:F,subjects:oe,data:fe,requestId:y??""}))}else{const fe=(h=(o=Array.isArray(b)?b[0]:b)===null||o===void 0?void 0:o.id)!==null&&h!==void 0?h:null;Object.assign(ee,Object.assign(Object.assign(Object.assign({},ce),{id:ne,type:f,time:le,source:G,actor:Q,subject:fe,requestId:y??"",data:b}),_!=null&&{request:{source:_}}))}return ee}return zc}var gi={},Tj;function mfe(){if(Tj)return gi;Tj=1,Object.defineProperty(gi,"__esModule",{value:!0}),gi.toSnakeCase=t,gi.isNonNullish=r,gi.isOtelAttributeValue=n,gi.flattenToAttributes=o,gi.flattenNestedObject=a,gi.flattenWithMaxDepth=i;const e=3;function t(l){return l.replace(/([A-Z])/g,"_$1").toLowerCase()}function r(l){return l!=null}function n(l){return typeof l=="string"||typeof l=="number"||typeof l=="boolean"}function o(l,p,u,h=!0,f){const b=f?.length?new Set(f):null;for(const[v,y]of Object.entries(l))if(!b?.has(v)&&y!==void 0){const x=h?t(v):v;u[`${p}${x}`]=y}}function a(l,p,u){for(const[h,f]of Object.entries(l))f==null||typeof f=="object"||(u[`${p}.${t(h)}`]=f)}function i(l,p,u,h){var f,b,v;const y=(f=h?.currentDepth)!==null&&f!==void 0?f:0,x=(b=h?.useSnakeCase)!==null&&b!==void 0?b:!0,k=(v=h?.maxNestingLevels)!==null&&v!==void 0?v:e,w=p.endsWith(".")?p.slice(0,-1):p;for(const[_,A]of Object.entries(l)){if(!r(A))continue;const R=x?t(_):_,E=`${w}.${R}`;typeof A=="object"&&!Array.isArray(A)?y<k&&i(A,E,u,{currentDepth:y+1,useSnakeCase:x,maxNestingLevels:k}):n(A)&&(u[E]=A)}}return gi}var Oj;function gfe(){return Oj||(Oj=1,(function(e){var t=$c&&$c.__awaiter||function(O,P,U,Y){function q(Q){return Q instanceof U?Q:new U(function(ne){ne(Q)})}return new(U||(U=Promise))(function(Q,ne){function le(ee){try{ce(Y.next(ee))}catch(fe){ne(fe)}}function G(ee){try{ce(Y.throw(ee))}catch(fe){ne(fe)}}function ce(ee){ee.done?Q(ee.value):q(ee.value).then(le,G)}ce((Y=Y.apply(O,P||[])).next())})},r=$c&&$c.__rest||function(O,P){var U={};for(var Y in O)Object.prototype.hasOwnProperty.call(O,Y)&&P.indexOf(Y)<0&&(U[Y]=O[Y]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,Y=Object.getOwnPropertySymbols(O);q<Y.length;q++)P.indexOf(Y[q])<0&&Object.prototype.propertyIsEnumerable.call(O,Y[q])&&(U[Y[q]]=O[Y[q]]);return U};Object.defineProperty(e,"__esModule",{value:!0}),e.BaseOtelClient=e.BUS_STYLE_SNAPSHOT_CONTEXT_KEY=void 0,e.groupByObjectProperty=p,e.processCloudEventAttributes=y,e.processObjectData=A,e.processAttributes=L;const n=kj,o=ffe(),a=Ej(),i=mfe();e.BUS_STYLE_SNAPSHOT_CONTEXT_KEY="context";const l=[e.BUS_STYLE_SNAPSHOT_CONTEXT_KEY];function p(O){const P={updated:[],notUpdated:[]};for(const U of O){if(!U||typeof U!="object")continue;const Y=U.object;if(typeof Y!="string")continue;const q=U,Q=P.notUpdated.find(ne=>ne.object===Y);Q?(P.updated=[Q,q],P.notUpdated=P.notUpdated.filter(ne=>ne.object!==Y)):P.updated.some(ne=>ne.object===Y)||P.notUpdated.push(q)}return P}function u(O,P,U){const Y=U?`${U}.`:"",q=P===""?"":`${(0,i.toSnakeCase)(P)}.`;return`${O}.${Y}${q}`}function h(O,P){const U=O[e.BUS_STYLE_SNAPSHOT_CONTEXT_KEY];return U==="before"||U==="after"?U:P===0?"after":"before"}function f(O){const P=O,U=e.BUS_STYLE_SNAPSHOT_CONTEXT_KEY;return r(P,[typeof U=="symbol"?U:U+""])}function b(O){return O.endsWith(".")?O:`${O}.`}function v(O,P,U){var Y,q,Q,ne,le,G,ce,ee,fe,oe;const F=P instanceof Date?P.toISOString():new Date(P).toISOString();return{"cloudevents.event_id":O.id,"cloudevents.event_type":O.type,"cloudevents.event_source":(ne=O.source)!==null&&ne!==void 0?ne:void 0,"cloudevents.event_spec_version":O.specversion,"cloudevents.event_data_content_type":(le=O.datacontenttype)!==null&&le!==void 0?le:"application/json; charset=utf-8","cloudevents.event_time":F,"cloudevents.event_subject":(G=O.subject)!==null&&G!==void 0?G:"","cloudevents.event_version":U?.version,"cloudevents.event_origin":(ce=O.origin)!==null&&ce!==void 0?ce:U?.serviceName,"cloudevents.event_env":O.env,"cloudevents.event_client_ip":O.clientIp,"cloudevents.event_object":O.object||"event","cloudevents.event_category":O.category,"cloudevents.event_signal":O.signal,"cloudevents.event_actor.id":(ee=(Y=O.actor)===null||Y===void 0?void 0:Y.id)!==null&&ee!==void 0?ee:void 0,"cloudevents.event_actor.object":(fe=(q=O.actor)===null||q===void 0?void 0:q.object)!==null&&fe!==void 0?fe:void 0,"cloudevents.event_actor.uri":(oe=(Q=O.actor)===null||Q===void 0?void 0:Q.uri)!==null&&oe!==void 0?oe:void 0,"cloudevents.event_organization_id":O.organizationId,"cloudevents.event_organization_slug":O.organizationSlug,"cloudevents.event_project_id":O.projectId,"cloudevents.event_project_slug":O.projectSlug,"cloudevents.event_request_id":O.requestId,"cloudevents.event_os_platform":O.osPlatform,"cloudevents.event_user_agent":O.userAgent,"cloudevents.event_session_id":O.sessionId}}function y(O,P,U){const Y=O.data,q=Object.assign({},v(O,P,U));return x(Y,q),R(O,q),E(O,q),q}function x(O,P){!O||typeof O!="object"||(Array.isArray(O)?k(O,P):A(O,P))}function k(O,P){O.some(U=>U&&typeof U=="object"&&typeof U.object=="string")?w(O,P):_(O,P)}function w(O,P){const U=p(O);U.updated.forEach((Y,q)=>{const Q=u("cloudevents.event_data",Y.object,h(Y,q));(0,i.flattenWithMaxDepth)(f(Y),b(Q),P)}),U.notUpdated.forEach(Y=>{const q=u("cloudevents.event_data",Y.object,void 0);(0,i.flattenWithMaxDepth)(f(Y),b(q),P)})}function _(O,P){for(const U of O)!U||typeof U!="object"||(0,i.flattenWithMaxDepth)(U,"cloudevents.event_data.",P)}function A(O,P){for(const[U,Y]of Object.entries(O)){if(!(0,i.isNonNullish)(Y))continue;const q=(0,i.toSnakeCase)(U);if(typeof Y=="object"&&!Array.isArray(Y))for(const[Q,ne]of Object.entries(Y))(0,i.isNonNullish)(ne)&&(0,i.isOtelAttributeValue)(ne)&&(P[`cloudevents.event_data.${q}.${Q}`]=ne);else(0,i.isOtelAttributeValue)(Y)&&(P[`cloudevents.event_data.${q}`]=Y)}}function R(O,P){if(!O.subjects||!Array.isArray(O.subjects))return;const U=p(O.subjects);U.updated.forEach((Y,q)=>{const Q=u("cloudevents.event_subjects",Y.object,h(Y,q));(0,i.flattenToAttributes)(Y,Q,P,!1,l)}),U.notUpdated.forEach(Y=>{const q=u("cloudevents.event_subjects",Y.object,void 0);(0,i.flattenToAttributes)(Y,q,P,!1,l)})}function E(O,P){for(const[U,Y]of Object.entries(O))if(!(a.CLOUD_EVENT_STANDARD_KEYS.includes(U)||Y===void 0))if(Y instanceof Object)for(const[q,Q]of Object.entries(Y))Q!==void 0&&(P[`cloudevents.${U}.${q}`]=Q);else P[`cloudevents.${U}`]=Y}function L(O,P,U){return y(O,P,U)}class I{constructor(){Object.defineProperty(this,"config",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"tracer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"tracerProvider",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"initialized",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"sessionId",{enumerable:!0,configurable:!0,writable:!0,value:null})}initTracer(P){throw new Error("initTracer must be implemented by the environment-specific client")}init(P){this.config=P,this.initTracer(P)}send(P){var U;try{if(!this.tracer||!this.config)return;const Y=P,q="time"in Y&&Y.time?new Date(Y.time):new Date;this.tracer.startSpan(`event.${Y.type}`,{attributes:this.processAttributes(Y,q),startTime:q}).end(q)}catch(Y){!((U=this.config)===null||U===void 0)&&U.isProd||console.error("Event reporting failed:",Y)}}processAttributes(P,U){return L(P,U,this.config)}startSpan(P,U){var Y;try{if(!this.tracer)return;let q;const Q=P.time?new Date(P.time):new Date,ne=this.tracer.startSpan(`event.${P.type}`,{attributes:this.processAttributes(P,Q),root:!U},U);return U||(q=n.trace.setSpan(n.context.active(),ne)),{end:()=>ne.end(),setAttribute:(le,G)=>{ne.setAttribute(`cloudevents.event_data.${(0,i.toSnakeCase)(le)}`,G)},setStatus:(le,G)=>ne.setStatus({code:le,message:G}),parentCtx:q}}catch(q){!((Y=this.config)===null||Y===void 0)&&Y.isProd||console.error("Event reporting failed:",q);return}}startStepSpan(P,U){var Y;try{if(!this.tracer)return;const q=U||n.context.active(),Q=P,ne=Q.time?new Date(Q.time):new Date,le=this.tracer.startSpan(`event.${Q.type}`,{attributes:this.processAttributes(Q,ne)},q),G=n.trace.setSpan(q,le);return{end:()=>le.end(),setAttribute:(ce,ee)=>{le.setAttribute(`cloudevents.event_data.${(0,i.toSnakeCase)(ce)}`,ee)},setStatus:(ce,ee)=>le.setStatus({code:ce,message:ee}),recordException:ce=>le.recordException(ce),context:G}}catch(q){!((Y=this.config)===null||Y===void 0)&&Y.isProd||console.error("Event reporting failed:",q);return}}traceStep(P){const U=this.startStepSpan(P);if(U)return new o.TraceStep(U)}forceFlush(){return t(this,void 0,void 0,function*(){var P;return(P=this.tracerProvider)===null||P===void 0?void 0:P.forceFlush()})}shutdown(){return t(this,void 0,void 0,function*(){var P;return(P=this.tracerProvider)===null||P===void 0?void 0:P.shutdown()})}}e.BaseOtelClient=I})($c)),$c}var Rj;function bfe(){if(Rj)return Vu;Rj=1,Object.defineProperty(Vu,"__esModule",{value:!0}),Vu.OtelClient=void 0;const e=Gde,t=Wde,r=Khe,n=Jhe,o=pfe,a=Cj,i=gfe();class l extends i.BaseOtelClient{constructor(){super(),Object.defineProperty(this,"tracer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"initialized",{enumerable:!0,configurable:!0,writable:!0,value:!1})}initTracer(u){var h,f;if(!u.collectorUrl&&!u.collectorTraceUrl)return;const b=`ses_${(0,a.ulid)()}`;this.sessionId=b;const v=(0,t.resourceFromAttributes)({[n.ATTR_SERVICE_NAME]:u.serviceName,[n.ATTR_SERVICE_VERSION]:u.serviceVersion,session_id:b}),y=u.collectorTraceUrl||`${u.collectorUrl}/v1/traces`;this.tracerProvider=new e.WebTracerProvider({resource:v,spanProcessors:[...(h=u.spanProcessors)!==null&&h!==void 0?h:[],new e.BatchSpanProcessor(new r.OTLPTraceExporter({url:y,headers:{}}))]}),this.tracer=this.tracerProvider.getTracer(u.tracerName),this.tracerProvider.register(),(0,o.registerInstrumentations)({instrumentations:(f=u.instrumentations)!==null&&f!==void 0?f:[]}),this.initialized=!0}}return Vu.OtelClient=l,Vu}var jj={},Lj;function vfe(){return Lj||(Lj=1,Object.defineProperty(jj,"__esModule",{value:!0})),jj}var Nj;function Ij(){return Nj||(Nj=1,(function(e){var t=Mc&&Mc.__createBinding||(Object.create?(function(n,o,a,i){i===void 0&&(i=a);var l=Object.getOwnPropertyDescriptor(o,a);(!l||("get"in l?!o.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return o[a]}}),Object.defineProperty(n,i,l)}):(function(n,o,a,i){i===void 0&&(i=a),n[i]=o[a]})),r=Mc&&Mc.__exportStar||function(n,o){for(var a in n)a!=="default"&&!Object.prototype.hasOwnProperty.call(o,a)&&t(o,n,a)};Object.defineProperty(e,"__esModule",{value:!0}),r(bfe(),e),r(vfe(),e)})(Mc)),Mc}var Uc={},Pj;function yfe(){if(Pj)return Uc;Pj=1,Object.defineProperty(Uc,"__esModule",{value:!0}),Uc.buildPageResourceItem=t,Uc.appendPageResourceIfNeeded=r,Uc.enrichMessageWithPageResource=n;const e=()=>({location:typeof location<"u"?location:void 0,document:typeof document<"u"?document:void 0});function t(a=e()){var i;if(!a.location)return;const l=((i=a.document)===null||i===void 0?void 0:i.referrer)||void 0;return Object.assign({id:a.location.href,object:"page",uri:a.location.href},l?{referrer:l}:{})}function r(a,i,l){if(!l.has(a)||!Array.isArray(i)||i.some(o))return i;const p=t();return p?[...i,p]:i}function n(a,i){const l=r(a.type,a.data,i);return l===a.data?a:Object.assign(Object.assign({},a),{data:l})}function o(a){return a!=null&&typeof a=="object"&&a.object==="page"}return Uc}var Mj;function xfe(){if(Mj)return Hu;Mj=1,Object.defineProperty(Hu,"__esModule",{value:!0}),Hu.Telemetry=void 0;const e=Ij(),t=Ej(),r=yfe(),n=new Set(["com.redocly.downloadDefinition.clicked","com.redocly.copyCodeSnippet.clicked","com.redocly.referencedIn.clicked","com.redocly.selectLanguage.clicked","com.redocly.expandCollapseAll.clicked","com.redocly.examplesSwitcher.clicked","com.redocly.switchServers.clicked","com.redocly.tryIt.opened","com.redocly.changeLayout.clicked","com.redocly.viewSecurityDetails.clicked","com.redocly.viewSecurityDetails.closed","com.redocly.search.opened","com.redocly.searchResult.clicked","com.redocly.searchInputReset.clicked","com.redocly.switchMessage.clicked","com.redocly.switchExample.clicked","com.redocly.message.clicked","com.redocly.serverModal.opened","com.redocly.requiredScopesModal.opened"]);class o{constructor(){Object.defineProperty(this,"config",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"initialized",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"useCloudEventData",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"otelClient",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"tracer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"updateCloudEventData",{enumerable:!0,configurable:!0,writable:!0,value:i=>{var l;!((l=this.config)===null||l===void 0)&&l.disabled||(this.useCloudEventData=i)}}),this.useCloudEventData=()=>({origin:"redocUi",signal:"log"}),this.otelClient=new e.OtelClient,this.tracer={traceStep:(i,l)=>{const p=this.constructCloudEvent(i,l,{signal:"trace"});return this.otelClient.traceStep(p)}}}send(i,l,p){var u,h;try{if(!(!((u=this.config)===null||u===void 0)&&u.otel.isProd))return;const f=i&&typeof i=="object"&&"type"in i&&"data"in i?(0,r.enrichMessageWithPageResource)(i,n):this.constructCloudEvent(i,l,Object.assign(Object.assign({},p),{signal:"log"}));this.sendToOtelService(f)}catch(f){!((h=this.config)===null||h===void 0)&&h.otel.isProd||console.error("Event reporting failed:",f)}}init(i){i.disabled||this.initialized||(this.config=i,this.initialized=!0,this.otelClient.init({serviceVersion:i.otel.serviceVersion,version:i.otel.version,isProd:i.otel.isProd,collectorUrl:i.otel.collectorUrl,collectorTraceUrl:i.otel.collectorTraceUrl,serviceName:i.otel.serviceName,tracerName:i.otel.tracerName,spanProcessors:i.otel.spanProcessors,instrumentations:[...i.otel.instrumentations||[]]}))}startSpan(i,l,p){var u;if(!((u=this.config)===null||u===void 0)&&u.disabled)return;const h=this.constructCloudEvent(i,l,{signal:"trace"});return this.otelClient.startSpan(h,p)}constructCloudEvent(i,l,p){const u=Object.assign(Object.assign({},this.useCloudEventData()),p);return(0,t.mapToCloudEvent)(Object.assign(Object.assign({type:i,data:(0,r.appendPageResourceIfNeeded)(i,l,n)},u),this.otelClient.sessionId&&{sessionId:this.otelClient.sessionId}))}sendToOtelService(i){var l;!((l=this.config)===null||l===void 0)&&l.otel.isProd||console.log("CloudEvent to be sent to OTEL service:",i),this.otelClient.send(Object.assign(Object.assign({},i),{signal:"log"}))}forceFlush(){var i;return!((i=this.config)===null||i===void 0)&&i.disabled?Promise.resolve():this.otelClient.forceFlush()}shutdown(){var i;return!((i=this.config)===null||i===void 0)&&i.disabled?Promise.resolve():this.otelClient.shutdown()}sendViewedMessage(i,l){this.send("com.redocly.page.viewed",i,l)}sendPerformanceMetricsMessage(i,l){this.send("com.redocly.performanceMetrics.collected",i,l)}sendDownloadDefinitionClickedMessage(i,l){this.send("com.redocly.downloadDefinition.clicked",i,l)}sendCopyCodeSnippetClickedMessage(i,l){this.send("com.redocly.copyCodeSnippet.clicked",i,l)}sendReferencedInClickedMessage(i,l){this.send("com.redocly.referencedIn.clicked",i,l)}sendSelectLanguageClickedMessage(i,l){this.send("com.redocly.selectLanguage.clicked",i,l)}sendExpandCollapseAllClickedMessage(i,l){this.send("com.redocly.expandCollapseAll.clicked",i,l)}sendExamplesSwitcherClickedMessage(i,l){this.send("com.redocly.examplesSwitcher.clicked",i,l)}sendSwitchServersClickedMessage(i,l){this.send("com.redocly.switchServers.clicked",i,l)}sendTryItOpenedMessage(i,l){this.send("com.redocly.tryIt.opened",i,l)}sendChangeLayoutClickedMessage(i,l){this.send("com.redocly.changeLayout.clicked",i,l)}sendViewSecurityDetailsClickedMessage(i,l){this.send("com.redocly.viewSecurityDetails.clicked",i,l)}sendViewSecurityDetailsClosedMessage(i,l){this.send("com.redocly.viewSecurityDetails.closed",i,l)}sendSearchOpenedMessage(i,l){this.send("com.redocly.search.opened",i,l)}sendSearchResultClickedMessage(i,l){this.send("com.redocly.searchResult.clicked",i,l)}sendSearchInputResetClickedMessage(i,l){this.send("com.redocly.searchInputReset.clicked",i,l)}sendSwitchMessageClickedMessage(i,l){this.send("com.redocly.switchMessage.clicked",i,l)}sendSwitchExampleClickedMessage(i,l){this.send("com.redocly.switchExample.clicked",i,l)}sendMessageClickedMessage(i,l){this.send("com.redocly.message.clicked",i,l)}sendServerModalOpenedMessage(i,l){this.send("com.redocly.serverModal.opened",i,l)}sendRequiredScopesModalOpenedMessage(i,l){this.send("com.redocly.requiredScopesModal.opened",i,l)}sendInitialMessage(i,l){this.send("com.redocly.redoc.initialized",i,l)}sendErrorMessage(i,l){this.send("com.redocly.error.occurred",i,l)}}return Hu.Telemetry=o,Hu}var Dj;function wfe(){return Dj||(Dj=1,(function(e){var t=Pc&&Pc.__createBinding||(Object.create?(function(n,o,a,i){i===void 0&&(i=a);var l=Object.getOwnPropertyDescriptor(o,a);(!l||("get"in l?!o.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return o[a]}}),Object.defineProperty(n,i,l)}):(function(n,o,a,i){i===void 0&&(i=a),n[i]=o[a]})),r=Pc&&Pc.__exportStar||function(n,o){for(var a in n)a!=="default"&&!Object.prototype.hasOwnProperty.call(o,a)&&t(o,n,a)};Object.defineProperty(e,"__esModule",{value:!0}),r(nX(),e),r(xfe(),e),r(Ij(),e)})(Pc)),Pc}var $j={},zj;function Sfe(){return zj||(zj=1,Object.defineProperty($j,"__esModule",{value:!0})),$j}var Uj;function Cfe(){return Uj||(Uj=1,(function(e){var t=Ic&&Ic.__createBinding||(Object.create?(function(o,a,i,l){l===void 0&&(l=i);var p=Object.getOwnPropertyDescriptor(a,i);(!p||("get"in p?!a.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(o,l,p)}):(function(o,a,i,l){l===void 0&&(l=i),o[l]=a[i]})),r=Ic&&Ic.__exportStar||function(o,a){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&t(a,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),e.Telemetry=void 0;var n=wfe();Object.defineProperty(e,"Telemetry",{enumerable:!0,get:function(){return n.Telemetry}}),r(Sfe(),e)})(Ic)),Ic}var kfe=Cfe();const _fe="@redocly/openapi-docs",Afe="3.24.0",Fj={name:_fe,version:Afe},Efe="https://otel.cloud.redocly.com/v1/traces";class Bj extends kfe.Telemetry{specType;constructor(t){super(),this.specType=t.specType,this.init({otel:{isProd:!0,serviceVersion:t.serviceVersion||`${Fj.name}@${Fj.version}`,version:"1.0.0",collectorTraceUrl:t.collectorUrl||Efe,serviceName:t.serviceName||"redoc-ce",tracerName:"client-telemetry"},disabled:t.disabled||!1})}send(t,r){r&&Array.isArray(r)&&r.length>0&&(r=r.map(n=>n&&typeof n=="object"?{...n,specType:this.specType}:n)),super.send(t,r,{env:"production"})}}var Tfe=Object.create,Om=Object.defineProperty,Ofe=Object.getOwnPropertyDescriptor,Rfe=Object.getOwnPropertyNames,jfe=Object.getPrototypeOf,Lfe=Object.prototype.hasOwnProperty,qj=e=>Om(e,"__esModule",{value:!0}),Qe=(e,t)=>function(){return t||(0,e[Object.keys(e)[0]])((t={exports:{}}).exports,t),t.exports},Hj=(e,t)=>{qj(e);for(var r in t)Om(e,r,{get:t[r],enumerable:!0})},Nfe=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Rfe(t))!Lfe.call(e,n)&&n!=="default"&&Om(e,n,{get:()=>t[n],enumerable:!(r=Ofe(t,n))||r.enumerable});return e},Rm=e=>Nfe(qj(Om(e!=null?Tfe(jfe(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),Vj=Qe({"src/grammar/tag.js"(e,t){function r(a,i){function l(){this.constructor=a}l.prototype=i.prototype,a.prototype=new l}function n(a,i,l,p){this.message=a,this.expected=i,this.found=l,this.location=p,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,n)}r(n,Error),n.buildMessage=function(a,i,l){var p={literal:function(x){return'"'+h(x.text)+'"'},class:function(x){var k=x.parts.map(function(w){return Array.isArray(w)?f(w[0])+"-"+f(w[1]):f(w)});return"["+(x.inverted?"^":"")+k+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(x){return x.description},not:function(x){return"not "+b(x.expected)}};function u(x){return x.charCodeAt(0).toString(16).toUpperCase()}function h(x){return x.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(k){return"\\x0"+u(k)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(k){return"\\x"+u(k)})}function f(x){return x.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(k){return"\\x0"+u(k)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(k){return"\\x"+u(k)})}function b(x){return p[x.type](x)}function v(x){var k=x.map(b),w,_;if(k.sort(),k.length>0){for(w=1,_=1;w<k.length;w++)k[w-1]!==k[w]&&(k[_]=k[w],_++);k.length=_}switch(k.length){case 1:return k[0];case 2:return k[0]+" or "+k[1];default:return k.slice(0,-1).join(", ")+", or "+k[k.length-1]}}function y(x){return x?'"'+h(x)+'"':"end of input"}return"Expected "+v(a)+" but "+y(i)+" found."};function o(a,i){i=i!==void 0?i:{};var l={},p={Top:qo},u=qo,h="/",f=".",b="#",v="=",y="(",x=")",k=",",w="[",_="]",A="null",R="true",E="false",L="{",I="}",O=":",P='"',U="\\",Y="n",q="r",Q="t",ne=/^[$@]/,le=/^[0-9]/,G=/^[^\0-\x1F"\\]/,ce=/^[a-zA-Z0-9_\-]/,ee=/^[ \n\t]/,fe=Wt("/",!1),oe=br("tag name"),F=br("class"),ie=br("id"),W=Wt("=",!1),V=Wt("(",!1),pe=Wt(")",!1),K=Wt(",",!1),se=br("variable"),X=br("null"),te=br("boolean"),_e=Wt("[",!1),S=Wt("]",!1),N=Wt("{",!1),B=Wt("}",!1),re=Wt(":",!1),ye=br("number"),ue=br("string"),me=br("identifier"),je=br("whitespace"),he=function(H){return{type:"variable",meta:{variable:H}}},Ye=function(H){return{type:"annotation",meta:{attributes:H}}},Ke=function(H,ge){return ge},Ge=function(H,ge,Se,Te){ge&&(Se=Se||[],Se.unshift({type:"attribute",name:"primary",value:ge}));const[qe,Ve]=Te?["tag",0]:["tag_open",1];return{type:qe,nesting:Ve,meta:{tag:H,attributes:Se}}},Je=function(H){return{type:"tag_close",nesting:-1,meta:{tag:H}}},He=function(H,ge){return H?[H,...ge]:[]},ot=function(H){return H},ur=function(H){return H},j=function(H){return H},M=function(H){return H},z=function(H){return{type:"class",name:H,value:!0}},de=function(H){return{type:"attribute",name:"id",value:H}},ke=function(H,ge){return{type:"attribute",name:H,value:ge}},Ne=function(H,ge,Se){return ge?[ge,...Se]:[]},De=function(H,ge){let Se={};for(let[Te,{name:qe,value:Ve}]of ge.entries())Se[qe||Te]=Ve;return new xt(H,Se)},at=function(H){return H},yt=function(H,ge){return{name:H,value:ge}},ht=function(H){return H},Nt=function(H,ge,Se){return H==="@"?[ge,...Se]:new lt([ge,...Se])},Ht=function(){return null},In=function(){return!0},ma=function(){return!1},Ba=function(H,ge){return[H,...ge]},qa=function(H){return H||[]},ao=function(H,ge){return Object.assign(H,...ge)},Ha=function(H){return H||{}},xo=function(H,ge){return H==="$$mdtype"?{}:{[H]:ge}},_i=function(){return parseFloat(Co())},An=function(H){return H.join("")},wo=function(){return`
|
|
6691
|
+
`,rX=e=>{const{languageInsensitive:t,fullWidth:r,blinking:n,iconPosition:o,icon:a,children:i,variant:l,tone:p,size:u,extraClass:h,to:f,external:b,className:v,...y}=e,x="tabIndex"in e?e.tabIndex:e.to?-1:void 0,k=m.jsxs(tX,{"data-component-name":"Button/Button",...y,className:eX({variant:l,tone:p,size:u,extraClass:h,className:v}),$fullWidth:r,$blinking:n,$iconPosition:o,$icon:a,$iconOnly:!i&&a!=null,$variant:l,$size:u,tabIndex:x,children:[a&&o!=="right"&&a,i,a&&o==="right"&&a]});return f?m.jsx(XZ,{to:f,external:b,languageInsensitive:t,onClick:e.onClick,children:k}):k},ft=xe(rX)``;function _a(){const e=D.useId().replace(/:/g,"_");return t=>`${t}-${e}`}var Ic={},Pc={},j9={},L9;function nX(){return L9||(L9=1,Object.defineProperty(j9,"__esModule",{value:!0})),j9}var Hu={},Mc={},Vu={};const sl="1.9.1",N9=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;function oX(e){const t=new Set([e]),r=new Set,n=e.match(N9);if(!n)return()=>!1;const o={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(o.prerelease!=null)return function(l){return l===e};function a(l){return r.add(l),!1}function i(l){return t.add(l),!0}return function(l){if(t.has(l))return!0;if(r.has(l))return!1;const p=l.match(N9);if(!p)return a(l);const u={major:+p[1],minor:+p[2],patch:+p[3],prerelease:p[4]};return u.prerelease!=null||o.major!==u.major?a(l):o.major===0?o.minor===u.minor&&o.patch<=u.patch?i(l):a(l):o.minor<=u.minor?i(l):a(l)}}const aX=oX(sl),iX=sl.split(".")[0],Gu=Symbol.for(`opentelemetry.js.api.${iX}`),Wu=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof globalThis=="object"?globalThis:{};function Yu(e,t,r,n=!1){var o;const a=Wu[Gu]=(o=Wu[Gu])!==null&&o!==void 0?o:{version:sl};if(!n&&a[e]){const i=new Error(`@opentelemetry/api: Attempted duplicate registration of API: ${e}`);return r.error(i.stack||i.message),!1}if(a.version!==sl){const i=new Error(`@opentelemetry/api: Registration of version v${a.version} for ${e} does not match previously registered API v${sl}`);return r.error(i.stack||i.message),!1}return a[e]=t,r.debug(`@opentelemetry/api: Registered a global for ${e} v${sl}.`),!0}function ll(e){var t,r;const n=(t=Wu[Gu])===null||t===void 0?void 0:t.version;if(!(!n||!aX(n)))return(r=Wu[Gu])===null||r===void 0?void 0:r[e]}function Ku(e,t){t.debug(`@opentelemetry/api: Unregistering a global for ${e} v${sl}.`);const r=Wu[Gu];r&&delete r[e]}class sX{constructor(t){this._namespace=t.namespace||"DiagComponentLogger"}debug(...t){return Ju("debug",this._namespace,t)}error(...t){return Ju("error",this._namespace,t)}info(...t){return Ju("info",this._namespace,t)}warn(...t){return Ju("warn",this._namespace,t)}verbose(...t){return Ju("verbose",this._namespace,t)}}function Ju(e,t,r){const n=ll("diag");if(n)return n[e](t,...r)}var Vn;(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"})(Vn||(Vn={}));function lX(e,t){e<Vn.NONE?e=Vn.NONE:e>Vn.ALL&&(e=Vn.ALL),t=t||{};function r(n,o){const a=t[n];return typeof a=="function"&&e>=o?a.bind(t):function(){}}return{error:r("error",Vn.ERROR),warn:r("warn",Vn.WARN),info:r("info",Vn.INFO),debug:r("debug",Vn.DEBUG),verbose:r("verbose",Vn.VERBOSE)}}const cX="diag";class Uo{static instance(){return this._instance||(this._instance=new Uo),this._instance}constructor(){function t(o){return function(...a){const i=ll("diag");if(i)return i[o](...a)}}const r=this,n=(o,a={logLevel:Vn.INFO})=>{var i,l,p;if(o===r){const f=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return r.error((i=f.stack)!==null&&i!==void 0?i:f.message),!1}typeof a=="number"&&(a={logLevel:a});const u=ll("diag"),h=lX((l=a.logLevel)!==null&&l!==void 0?l:Vn.INFO,o);if(u&&!a.suppressOverrideMessage){const f=(p=new Error().stack)!==null&&p!==void 0?p:"<failed to generate stacktrace>";u.warn(`Current logger will be overwritten from ${f}`),h.warn(`Current logger will overwrite one already registered from ${f}`)}return Yu("diag",h,r,!0)};r.setLogger=n,r.disable=()=>{Ku(cX,r)},r.createComponentLogger=o=>new sX(o),r.verbose=t("verbose"),r.debug=t("debug"),r.info=t("info"),r.warn=t("warn"),r.error=t("error")}}class Tp{constructor(t){this._entries=t?new Map(t):new Map}getEntry(t){const r=this._entries.get(t);if(r)return Object.assign({},r)}getAllEntries(){return Array.from(this._entries.entries())}setEntry(t,r){const n=new Tp(this._entries);return n._entries.set(t,r),n}removeEntry(t){const r=new Tp(this._entries);return r._entries.delete(t),r}removeEntries(...t){const r=new Tp(this._entries);for(const n of t)r._entries.delete(n);return r}clear(){return new Tp}}const pX=Symbol("BaggageEntryMetadata"),uX=Uo.instance();function dX(e={}){return new Tp(new Map(Object.entries(e)))}function I9(e){return typeof e!="string"&&(uX.error(`Cannot create baggage metadata from unknown type: ${typeof e}`),e=""),{__TYPE__:pX,toString(){return e}}}function pm(e){return Symbol.for(e)}class N1{constructor(t){const r=this;r._currentContext=t?new Map(t):new Map,r.getValue=n=>r._currentContext.get(n),r.setValue=(n,o)=>{const a=new N1(r._currentContext);return a._currentContext.set(n,o),a},r.deleteValue=n=>{const o=new N1(r._currentContext);return o._currentContext.delete(n),o}}}const cl=new N1,H0=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}],V0={};if(typeof console<"u"){const e=["error","warn","info","debug","trace","log"];for(const t of e)typeof console[t]=="function"&&(V0[t]=console[t])}class hX{constructor(){function t(r){return function(...n){let o=V0[r];if(typeof o!="function"&&(o=V0.log),typeof o!="function"&&console&&(o=console[r],typeof o!="function"&&(o=console.log)),typeof o=="function")return o.apply(console,n)}}for(let r=0;r<H0.length;r++)this[H0[r].n]=t(H0[r].c)}}class fX{constructor(){}createGauge(t,r){return CX}createHistogram(t,r){return kX}createCounter(t,r){return SX}createUpDownCounter(t,r){return _X}createObservableGauge(t,r){return EX}createObservableCounter(t,r){return AX}createObservableUpDownCounter(t,r){return TX}addBatchObservableCallback(t,r){}removeBatchObservableCallback(t){}}class um{}class mX extends um{add(t,r){}}class gX extends um{add(t,r){}}class bX extends um{record(t,r){}}class vX extends um{record(t,r){}}class G0{addCallback(t){}removeCallback(t){}}class yX extends G0{}class xX extends G0{}class wX extends G0{}const P9=new fX,SX=new mX,CX=new bX,kX=new vX,_X=new gX,AX=new yX,EX=new xX,TX=new wX;function M9(){return P9}var W0;(function(e){e[e.INT=0]="INT",e[e.DOUBLE=1]="DOUBLE"})(W0||(W0={}));const D9={get(e,t){if(e!=null)return e[t]},keys(e){return e==null?[]:Object.keys(e)}},$9={set(e,t,r){e!=null&&(e[t]=r)}};class OX{active(){return cl}with(t,r,n,...o){return r.call(n,...o)}bind(t,r){return r}enable(){return this}disable(){return this}}const Y0="context",RX=new OX;class Op{constructor(){}static getInstance(){return this._instance||(this._instance=new Op),this._instance}setGlobalContextManager(t){return Yu(Y0,t,Uo.instance())}active(){return this._getContextManager().active()}with(t,r,n,...o){return this._getContextManager().with(t,r,n,...o)}bind(t,r){return this._getContextManager().bind(t,r)}_getContextManager(){return ll(Y0)||RX}disable(){this._getContextManager().disable(),Ku(Y0,Uo.instance())}}var ta;(function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"})(ta||(ta={}));const K0="0000000000000000",J0="00000000000000000000000000000000",Q0={traceId:J0,spanId:K0,traceFlags:ta.NONE};class Qu{constructor(t=Q0){this._spanContext=t}spanContext(){return this._spanContext}setAttribute(t,r){return this}setAttributes(t){return this}addEvent(t,r){return this}addLink(t){return this}addLinks(t){return this}setStatus(t){return this}updateName(t){return this}end(t){}isRecording(){return!1}recordException(t,r){}}const Z0=pm("OpenTelemetry Context Key SPAN");function X0(e){return e.getValue(Z0)||void 0}function jX(){return X0(Op.getInstance().active())}function ey(e,t){return e.setValue(Z0,t)}function LX(e){return e.deleteValue(Z0)}function NX(e,t){return ey(e,new Qu(t))}function z9(e){var t;return(t=X0(e))===null||t===void 0?void 0:t.spanContext()}const dm=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 U9(e,t){if(typeof e!="string"||e.length!==t)return!1;let r=0;for(let n=0;n<e.length;n+=4)r+=(dm[e.charCodeAt(n)]|0)+(dm[e.charCodeAt(n+1)]|0)+(dm[e.charCodeAt(n+2)]|0)+(dm[e.charCodeAt(n+3)]|0);return r===t}function ty(e){return U9(e,32)&&e!==J0}function F9(e){return U9(e,16)&&e!==K0}function Zu(e){return ty(e.traceId)&&F9(e.spanId)}function IX(e){return new Qu(e)}const ry=Op.getInstance();class B9{startSpan(t,r,n=ry.active()){if(r?.root)return new Qu;const o=n&&z9(n);return PX(o)&&Zu(o)?new Qu(o):new Qu}startActiveSpan(t,r,n,o){let a,i,l;if(arguments.length<2)return;arguments.length===2?l=r:arguments.length===3?(a=r,l=n):(a=r,i=n,l=o);const p=i??ry.active(),u=this.startSpan(t,a,p),h=ey(p,u);return ry.with(h,l,void 0,u)}}function PX(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"}const MX=new B9;class q9{constructor(t,r,n,o){this._provider=t,this.name=r,this.version=n,this.options=o}startSpan(t,r,n){return this._getTracer().startSpan(t,r,n)}startActiveSpan(t,r,n,o){const a=this._getTracer();return Reflect.apply(a.startActiveSpan,a,arguments)}_getTracer(){if(this._delegate)return this._delegate;const t=this._provider.getDelegateTracer(this.name,this.version,this.options);return t?(this._delegate=t,this._delegate):MX}}class DX{getTracer(t,r,n){return new B9}}const $X=new DX;class ny{getTracer(t,r,n){var o;return(o=this.getDelegateTracer(t,r,n))!==null&&o!==void 0?o:new q9(this,t,r,n)}getDelegate(){var t;return(t=this._delegate)!==null&&t!==void 0?t:$X}setDelegate(t){this._delegate=t}getDelegateTracer(t,r,n){var o;return(o=this._delegate)===null||o===void 0?void 0:o.getTracer(t,r,n)}}var Xu;(function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(Xu||(Xu={}));var ed;(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"})(ed||(ed={}));var ns;(function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"})(ns||(ns={}));const oy="[_0-9a-z-*/]",zX=`[a-z]${oy}{0,255}`,UX=`[a-z0-9]${oy}{0,240}@[a-z]${oy}{0,13}`,FX=new RegExp(`^(?:${zX}|${UX})$`),BX=/^[ -~]{0,255}[!-~]$/,qX=/,|=/;function HX(e){return FX.test(e)}function VX(e){return BX.test(e)&&!qX.test(e)}const H9=32,GX=512,V9=",",G9="=";class A3{constructor(t){this._internalState=new Map,t&&this._parse(t)}set(t,r){const n=this._clone();return n._internalState.has(t)&&n._internalState.delete(t),n._internalState.set(t,r),n}unset(t){const r=this._clone();return r._internalState.delete(t),r}get(t){return this._internalState.get(t)}serialize(){return Array.from(this._internalState.keys()).reduceRight((t,r)=>(t.push(r+G9+this.get(r)),t),[]).join(V9)}_parse(t){t.length>GX||(this._internalState=t.split(V9).reduceRight((r,n)=>{const o=n.trim(),a=o.indexOf(G9);if(a!==-1){const i=o.slice(0,a),l=o.slice(a+1,n.length);HX(i)&&VX(l)&&r.set(i,l)}return r},new Map),this._internalState.size>H9&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,H9))))}_keys(){return Array.from(this._internalState.keys()).reverse()}_clone(){const t=new A3;return t._internalState=new Map(this._internalState),t}}function WX(e){return new A3(e)}const Po=Op.getInstance(),ct=Uo.instance();class YX{getMeter(t,r,n){return P9}}const KX=new YX,ay="metrics";class E3{constructor(){}static getInstance(){return this._instance||(this._instance=new E3),this._instance}setGlobalMeterProvider(t){return Yu(ay,t,Uo.instance())}getMeterProvider(){return ll(ay)||KX}getMeter(t,r,n){return this.getMeterProvider().getMeter(t,r,n)}disable(){Ku(ay,Uo.instance())}}const hm=E3.getInstance();class JX{inject(t,r){}extract(t,r){return t}fields(){return[]}}const iy=pm("OpenTelemetry Baggage Key");function W9(e){return e.getValue(iy)||void 0}function QX(){return W9(Op.getInstance().active())}function ZX(e,t){return e.setValue(iy,t)}function XX(e){return e.deleteValue(iy)}const sy="propagation",eee=new JX;class T3{constructor(){this.createBaggage=dX,this.getBaggage=W9,this.getActiveBaggage=QX,this.setBaggage=ZX,this.deleteBaggage=XX}static getInstance(){return this._instance||(this._instance=new T3),this._instance}setGlobalPropagator(t){return Yu(sy,t,Uo.instance())}inject(t,r,n=$9){return this._getGlobalPropagator().inject(t,r,n)}extract(t,r,n=D9){return this._getGlobalPropagator().extract(t,r,n)}fields(){return this._getGlobalPropagator().fields()}disable(){Ku(sy,Uo.instance())}_getGlobalPropagator(){return ll(sy)||eee}}const pl=T3.getInstance(),ly="trace";class O3{constructor(){this._proxyTracerProvider=new ny,this.wrapSpanContext=IX,this.isSpanContextValid=Zu,this.deleteSpan=LX,this.getSpan=X0,this.getActiveSpan=jX,this.getSpanContext=z9,this.setSpan=ey,this.setSpanContext=NX}static getInstance(){return this._instance||(this._instance=new O3),this._instance}setGlobalTracerProvider(t){const r=Yu(ly,this._proxyTracerProvider,Uo.instance());return r&&this._proxyTracerProvider.setDelegate(t),r}getTracerProvider(){return ll(ly)||this._proxyTracerProvider}getTracer(t,r){return this.getTracerProvider().getTracer(t,r)}disable(){Ku(ly,Uo.instance()),this._proxyTracerProvider=new ny}}const On=O3.getInstance(),tee={context:Po,diag:ct,metrics:hm,propagation:pl,trace:On},ree=Object.freeze(Object.defineProperty({__proto__:null,DiagConsoleLogger:hX,get DiagLogLevel(){return Vn},INVALID_SPANID:K0,INVALID_SPAN_CONTEXT:Q0,INVALID_TRACEID:J0,ProxyTracer:q9,ProxyTracerProvider:ny,ROOT_CONTEXT:cl,get SamplingDecision(){return Xu},get SpanKind(){return ed},get SpanStatusCode(){return ns},get TraceFlags(){return ta},get ValueType(){return W0},baggageEntryMetadataFromString:I9,context:Po,createContextKey:pm,createNoopMeter:M9,createTraceState:WX,default:tee,defaultTextMapGetter:D9,defaultTextMapSetter:$9,diag:ct,isSpanContextValid:Zu,isValidSpanId:F9,isValidTraceId:ty,metrics:hm,propagation:pl,trace:On},Symbol.toStringTag,{value:"Module"})),Y9=pm("OpenTelemetry SDK Context Key SUPPRESS_TRACING");function K9(e){return e.setValue(Y9,!0)}function cy(e){return e.getValue(Y9)===!0}const nee="=",J9=";",Q9=",",py="baggage",Z9=180,X9=4096,e_=8192;function oee(e){return e.reduce((t,r)=>{const n=`${t}${t!==""?Q9:""}${r}`;return n.length>e_?t:n},"")}function aee(e){return e.getAllEntries().map(([t,r])=>{let n=`${encodeURIComponent(t)}=${encodeURIComponent(r.value)}`;return r.metadata!==void 0&&(n+=J9+r.metadata.toString()),n})}function iee(e){if(!e)return;const t=e.indexOf(J9),r=t===-1?e:e.substring(0,t),n=r.indexOf(nee);if(n<=0)return;const o=r.substring(0,n).trim(),a=r.substring(n+1).trim();if(!o||!a)return;let i,l;try{i=decodeURIComponent(o),l=decodeURIComponent(a)}catch{return}let p;if(t!==-1&&t<e.length-1){const u=e.substring(t+1);p=I9(u)}return{key:i,value:l,metadata:p}}function t_(e,t,r,n){let o=0;for(;o<e.length&&r<Z9;){const a=e.indexOf(Q9,o),i=a===-1?e.length:a,l=i-o;if(l<=X9){const p=iee(e.substring(o,i));if(p){const u=(r===0?0:1)+l;if(n+u>e_)break;t[p.key]=p.metadata?{value:p.value,metadata:p.metadata}:{value:p.value},r++,n+=u}}if(a===-1)break;o=a+1}return[r,n]}class see{inject(t,r,n){const o=pl.getBaggage(t);if(!o||cy(t))return;const a=aee(o).filter(l=>l.length<=X9).slice(0,Z9),i=oee(a);i.length>0&&n.set(r,py,i)}extract(t,r,n){const o=n.get(r,py);if(!o)return t;const a={};let i=0,l=0;if(Array.isArray(o))for(let p=0;p<o.length;p++)[i,l]=t_(o[p],a,i,l);else[i]=t_(o,a,i,l);return i===0?t:pl.setBaggage(t,pl.createBaggage(a))}fields(){return[py]}}function td(e){const t={};if(typeof e!="object"||e==null)return t;for(const r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;if(!lee(r)){ct.warn(`Invalid attribute key: ${r}`);continue}const n=e[r];if(!r_(n)){ct.warn(`Invalid attribute value set for key: ${r}`);continue}Array.isArray(n)?t[r]=n.slice():t[r]=n}return t}function lee(e){return typeof e=="string"&&e!==""}function r_(e){return e==null?!0:Array.isArray(e)?cee(e):n_(typeof e)}function cee(e){let t;for(const r of e){if(r==null)continue;const n=typeof r;if(n!==t){if(!t){if(n_(n)){t=n;continue}return!1}return!1}}return!0}function n_(e){switch(e){case"number":case"boolean":case"string":return!0}return!1}function pee(){return e=>{ct.error(uee(e))}}function uee(e){return typeof e=="string"?e:JSON.stringify(dee(e))}function dee(e){const t={};let r=e;for(;r!==null;)Object.getOwnPropertyNames(r).forEach(n=>{if(t[n])return;const o=r[n];o&&(t[n]=String(o))}),r=Object.getPrototypeOf(r);return t}let hee=pee();function ul(e){try{hee(e)}catch{}}const fee="2.8.0";function Br(e){let t={};const r=e.length;for(let n=0;n<r;n++){const o=e[n];o&&(t[String(o).toUpperCase().replace(/[-.]/g,"_")]=o)}return t}const o_="aws.lambda.invoked_arn",a_="db.system",i_="db.connection_string",s_="db.user",l_="db.jdbc.driver_classname",c_="db.name",p_="db.statement",u_="db.operation",d_="db.mssql.instance_name",h_="db.cassandra.keyspace",f_="db.cassandra.page_size",m_="db.cassandra.consistency_level",g_="db.cassandra.table",b_="db.cassandra.idempotence",v_="db.cassandra.speculative_execution_count",y_="db.cassandra.coordinator.id",x_="db.cassandra.coordinator.dc",w_="db.hbase.namespace",S_="db.redis.database_index",C_="db.mongodb.collection",k_="db.sql.table",__="exception.type",A_="exception.message",E_="exception.stacktrace",T_="exception.escaped",O_="faas.trigger",R_="faas.execution",j_="faas.document.collection",L_="faas.document.operation",N_="faas.document.time",I_="faas.document.name",P_="faas.time",M_="faas.cron",D_="faas.coldstart",$_="faas.invoked_name",z_="faas.invoked_provider",U_="faas.invoked_region",F_="net.transport",B_="net.peer.ip",q_="net.peer.port",H_="net.peer.name",V_="net.host.ip",G_="net.host.port",W_="net.host.name",Y_="net.host.connection.type",K_="net.host.connection.subtype",J_="net.host.carrier.name",Q_="net.host.carrier.mcc",Z_="net.host.carrier.mnc",X_="net.host.carrier.icc",eA="peer.service",tA="enduser.id",rA="enduser.role",nA="enduser.scope",oA="thread.id",aA="thread.name",iA="code.function",sA="code.namespace",lA="code.filepath",cA="code.lineno",pA="http.method",uA="http.url",dA="http.target",hA="http.host",fA="http.scheme",mA="http.status_code",gA="http.flavor",bA="http.user_agent",vA="http.request_content_length",yA="http.request_content_length_uncompressed",xA="http.response_content_length",wA="http.response_content_length_uncompressed",SA="http.server_name",CA="http.route",kA="http.client_ip",_A="aws.dynamodb.table_names",AA="aws.dynamodb.consumed_capacity",EA="aws.dynamodb.item_collection_metrics",TA="aws.dynamodb.provisioned_read_capacity",OA="aws.dynamodb.provisioned_write_capacity",RA="aws.dynamodb.consistent_read",jA="aws.dynamodb.projection",LA="aws.dynamodb.limit",NA="aws.dynamodb.attributes_to_get",IA="aws.dynamodb.index_name",PA="aws.dynamodb.select",MA="aws.dynamodb.global_secondary_indexes",DA="aws.dynamodb.local_secondary_indexes",$A="aws.dynamodb.exclusive_start_table",zA="aws.dynamodb.table_count",UA="aws.dynamodb.scan_forward",FA="aws.dynamodb.segment",BA="aws.dynamodb.total_segments",qA="aws.dynamodb.count",HA="aws.dynamodb.scanned_count",VA="aws.dynamodb.attribute_definitions",GA="aws.dynamodb.global_secondary_index_updates",WA="messaging.system",YA="messaging.destination",KA="messaging.destination_kind",JA="messaging.temp_destination",QA="messaging.protocol",ZA="messaging.protocol_version",XA="messaging.url",eE="messaging.message_id",tE="messaging.conversation_id",rE="messaging.message_payload_size_bytes",nE="messaging.message_payload_compressed_size_bytes",oE="messaging.operation",aE="messaging.consumer_id",iE="messaging.rabbitmq.routing_key",sE="messaging.kafka.message_key",lE="messaging.kafka.consumer_group",cE="messaging.kafka.client_id",pE="messaging.kafka.partition",uE="messaging.kafka.tombstone",dE="rpc.system",hE="rpc.service",fE="rpc.method",mE="rpc.grpc.status_code",gE="rpc.jsonrpc.version",bE="rpc.jsonrpc.request_id",vE="rpc.jsonrpc.error_code",yE="rpc.jsonrpc.error_message",xE="message.type",wE="message.id",SE="message.compressed_size",CE="message.uncompressed_size",mee=o_,gee=a_,bee=i_,vee=s_,yee=l_,xee=c_,wee=p_,See=u_,Cee=d_,kee=h_,_ee=f_,Aee=m_,Eee=g_,Tee=b_,Oee=v_,Ree=y_,jee=x_,Lee=w_,Nee=S_,Iee=C_,Pee=k_,Mee=__,Dee=A_,$ee=E_,zee=T_,Uee=O_,Fee=R_,Bee=j_,qee=L_,Hee=N_,Vee=I_,Gee=P_,Wee=M_,Yee=D_,Kee=$_,Jee=z_,Qee=U_,Zee=F_,Xee=B_,ete=q_,tte=H_,rte=V_,nte=G_,ote=W_,ate=Y_,ite=K_,ste=J_,lte=Q_,cte=Z_,pte=X_,ute=eA,dte=tA,hte=rA,fte=nA,mte=oA,gte=aA,bte=iA,vte=sA,yte=lA,xte=cA,wte=pA,Ste=uA,Cte=dA,kte=hA,_te=fA,Ate=mA,Ete=gA,Tte=bA,Ote=vA,Rte=yA,jte=xA,Lte=wA,Nte=SA,Ite=CA,Pte=kA,Mte=_A,Dte=AA,$te=EA,zte=TA,Ute=OA,Fte=RA,Bte=jA,qte=LA,Hte=NA,Vte=IA,Gte=PA,Wte=MA,Yte=DA,Kte=$A,Jte=zA,Qte=UA,Zte=FA,Xte=BA,ere=qA,tre=HA,rre=VA,nre=GA,ore=WA,are=YA,ire=KA,sre=JA,lre=QA,cre=ZA,pre=XA,ure=eE,dre=tE,hre=rE,fre=nE,mre=oE,gre=aE,bre=iE,vre=sE,yre=lE,xre=cE,wre=pE,Sre=uE,Cre=dE,kre=hE,_re=fE,Are=mE,Ere=gE,Tre=bE,Ore=vE,Rre=yE,jre=xE,Lre=wE,Nre=SE,Ire=CE,Pre=Br([o_,a_,i_,s_,l_,c_,p_,u_,d_,h_,f_,m_,g_,b_,v_,y_,x_,w_,S_,C_,k_,__,A_,E_,T_,O_,R_,j_,L_,N_,I_,P_,M_,D_,$_,z_,U_,F_,B_,q_,H_,V_,G_,W_,Y_,K_,J_,Q_,Z_,X_,eA,tA,rA,nA,oA,aA,iA,sA,lA,cA,pA,uA,dA,hA,fA,mA,gA,bA,vA,yA,xA,wA,SA,CA,kA,_A,AA,EA,TA,OA,RA,jA,LA,NA,IA,PA,MA,DA,$A,zA,UA,FA,BA,qA,HA,VA,GA,WA,YA,KA,JA,QA,ZA,XA,eE,tE,rE,nE,oE,aE,iE,sE,lE,cE,pE,uE,dE,hE,fE,mE,gE,bE,vE,yE,xE,wE,SE,CE]),kE="other_sql",_E="mssql",AE="mysql",EE="oracle",TE="db2",OE="postgresql",RE="redshift",jE="hive",LE="cloudscape",NE="hsqldb",IE="progress",PE="maxdb",ME="hanadb",DE="ingres",$E="firstsql",zE="edb",UE="cache",FE="adabas",BE="firebird",qE="derby",HE="filemaker",VE="informix",GE="instantdb",WE="interbase",YE="mariadb",KE="netezza",JE="pervasive",QE="pointbase",ZE="sqlite",XE="sybase",e8="teradata",t8="vertica",r8="h2",n8="coldfusion",o8="cassandra",a8="hbase",i8="mongodb",s8="redis",l8="couchbase",c8="couchdb",p8="cosmosdb",u8="dynamodb",d8="neo4j",h8="geode",f8="elasticsearch",m8="memcached",g8="cockroachdb",Mre=kE,Dre=_E,$re=AE,zre=EE,Ure=TE,Fre=OE,Bre=RE,qre=jE,Hre=LE,Vre=NE,Gre=IE,Wre=PE,Yre=ME,Kre=DE,Jre=$E,Qre=zE,Zre=UE,Xre=FE,ene=BE,tne=qE,rne=HE,nne=VE,one=GE,ane=WE,ine=YE,sne=KE,lne=JE,cne=QE,pne=ZE,une=XE,dne=e8,hne=t8,fne=r8,mne=n8,gne=o8,bne=a8,vne=i8,yne=s8,xne=l8,wne=c8,Sne=p8,Cne=u8,kne=d8,_ne=h8,Ane=f8,Ene=m8,Tne=g8,One=Br([kE,_E,AE,EE,TE,OE,RE,jE,LE,NE,IE,PE,ME,DE,$E,zE,UE,FE,BE,qE,HE,VE,GE,WE,YE,KE,JE,QE,ZE,XE,e8,t8,r8,n8,o8,a8,i8,s8,l8,c8,p8,u8,d8,h8,f8,m8,g8]),b8="all",v8="each_quorum",y8="quorum",x8="local_quorum",w8="one",S8="two",C8="three",k8="local_one",_8="any",A8="serial",E8="local_serial",Rne=b8,jne=v8,Lne=y8,Nne=x8,Ine=w8,Pne=S8,Mne=C8,Dne=k8,$ne=_8,zne=A8,Une=E8,Fne=Br([b8,v8,y8,x8,w8,S8,C8,k8,_8,A8,E8]),T8="datasource",O8="http",R8="pubsub",j8="timer",L8="other",Bne=T8,qne=O8,Hne=R8,Vne=j8,Gne=L8,Wne=Br([T8,O8,R8,j8,L8]),N8="insert",I8="edit",P8="delete",Yne=N8,Kne=I8,Jne=P8,Qne=Br([N8,I8,P8]),M8="alibaba_cloud",D8="aws",$8="azure",z8="gcp",Zne=M8,Xne=D8,eoe=$8,toe=z8,roe=Br([M8,D8,$8,z8]),U8="ip_tcp",F8="ip_udp",B8="ip",q8="unix",H8="pipe",V8="inproc",G8="other",noe=U8,ooe=F8,aoe=B8,ioe=q8,soe=H8,loe=V8,coe=G8,poe=Br([U8,F8,B8,q8,H8,V8,G8]),W8="wifi",Y8="wired",K8="cell",J8="unavailable",Q8="unknown",uoe=W8,doe=Y8,hoe=K8,foe=J8,moe=Q8,goe=Br([W8,Y8,K8,J8,Q8]),Z8="gprs",X8="edge",e7="umts",t7="cdma",r7="evdo_0",n7="evdo_a",o7="cdma2000_1xrtt",a7="hsdpa",i7="hsupa",s7="hspa",l7="iden",c7="evdo_b",p7="lte",u7="ehrpd",d7="hspap",h7="gsm",f7="td_scdma",m7="iwlan",g7="nr",b7="nrnsa",v7="lte_ca",boe=Z8,voe=X8,yoe=e7,xoe=t7,woe=r7,Soe=n7,Coe=o7,koe=a7,_oe=i7,Aoe=s7,Eoe=l7,Toe=c7,Ooe=p7,Roe=u7,joe=d7,Loe=h7,Noe=f7,Ioe=m7,Poe=g7,Moe=b7,Doe=v7,$oe=Br([Z8,X8,e7,t7,r7,n7,o7,a7,i7,s7,l7,c7,p7,u7,d7,h7,f7,m7,g7,b7,v7]),y7="1.0",x7="1.1",w7="2.0",S7="SPDY",C7="QUIC",zoe=y7,Uoe=x7,Foe=w7,Boe=S7,qoe=C7,Hoe={HTTP_1_0:y7,HTTP_1_1:x7,HTTP_2_0:w7,SPDY:S7,QUIC:C7},k7="queue",_7="topic",Voe=k7,Goe=_7,Woe=Br([k7,_7]),A7="receive",E7="process",Yoe=A7,Koe=E7,Joe=Br([A7,E7]),T7=0,O7=1,R7=2,j7=3,L7=4,N7=5,I7=6,P7=7,M7=8,D7=9,$7=10,z7=11,U7=12,F7=13,B7=14,q7=15,H7=16,Qoe=T7,Zoe=O7,Xoe=R7,eae=j7,tae=L7,rae=N7,nae=I7,oae=P7,aae=M7,iae=D7,sae=$7,lae=z7,cae=U7,pae=F7,uae=B7,dae=q7,hae=H7,fae={OK:T7,CANCELLED:O7,UNKNOWN:R7,INVALID_ARGUMENT:j7,DEADLINE_EXCEEDED:L7,NOT_FOUND:N7,ALREADY_EXISTS:I7,PERMISSION_DENIED:P7,RESOURCE_EXHAUSTED:M7,FAILED_PRECONDITION:D7,ABORTED:$7,OUT_OF_RANGE:z7,UNIMPLEMENTED:U7,INTERNAL:F7,UNAVAILABLE:B7,DATA_LOSS:q7,UNAUTHENTICATED:H7},V7="SENT",G7="RECEIVED",mae=V7,gae=G7,bae=Br([V7,G7]),W7="cloud.provider",Y7="cloud.account.id",K7="cloud.region",J7="cloud.availability_zone",Q7="cloud.platform",Z7="aws.ecs.container.arn",X7="aws.ecs.cluster.arn",eT="aws.ecs.launchtype",tT="aws.ecs.task.arn",rT="aws.ecs.task.family",nT="aws.ecs.task.revision",oT="aws.eks.cluster.arn",aT="aws.log.group.names",iT="aws.log.group.arns",sT="aws.log.stream.names",lT="aws.log.stream.arns",cT="container.name",pT="container.id",uT="container.runtime",dT="container.image.name",hT="container.image.tag",fT="deployment.environment",mT="device.id",gT="device.model.identifier",bT="device.model.name",vT="faas.name",yT="faas.id",xT="faas.version",wT="faas.instance",ST="faas.max_memory",CT="host.id",kT="host.name",_T="host.type",AT="host.arch",ET="host.image.name",TT="host.image.id",OT="host.image.version",RT="k8s.cluster.name",jT="k8s.node.name",LT="k8s.node.uid",NT="k8s.namespace.name",IT="k8s.pod.uid",PT="k8s.pod.name",MT="k8s.container.name",DT="k8s.replicaset.uid",$T="k8s.replicaset.name",zT="k8s.deployment.uid",UT="k8s.deployment.name",FT="k8s.statefulset.uid",BT="k8s.statefulset.name",qT="k8s.daemonset.uid",HT="k8s.daemonset.name",VT="k8s.job.uid",GT="k8s.job.name",WT="k8s.cronjob.uid",YT="k8s.cronjob.name",KT="os.type",JT="os.description",QT="os.name",ZT="os.version",XT="process.pid",eO="process.executable.name",tO="process.executable.path",rO="process.command",nO="process.command_line",oO="process.command_args",aO="process.owner",iO="process.runtime.name",sO="process.runtime.version",lO="process.runtime.description",cO="service.name",pO="service.namespace",uO="service.instance.id",dO="service.version",hO="telemetry.sdk.name",fO="telemetry.sdk.language",mO="telemetry.sdk.version",gO="telemetry.auto.version",bO="webengine.name",vO="webengine.version",yO="webengine.description",vae=W7,yae=Y7,xae=K7,wae=J7,Sae=Q7,Cae=Z7,kae=X7,_ae=eT,Aae=tT,Eae=rT,Tae=nT,Oae=oT,Rae=aT,jae=iT,Lae=sT,Nae=lT,Iae=cT,Pae=pT,Mae=uT,Dae=dT,$ae=hT,zae=fT,Uae=mT,Fae=gT,Bae=bT,qae=vT,Hae=yT,Vae=xT,Gae=wT,Wae=ST,Yae=CT,Kae=kT,Jae=_T,Qae=AT,Zae=ET,Xae=TT,eie=OT,tie=RT,rie=jT,nie=LT,oie=NT,aie=IT,iie=PT,sie=MT,lie=DT,cie=$T,pie=zT,uie=UT,die=FT,hie=BT,fie=qT,mie=HT,gie=VT,bie=GT,vie=WT,yie=YT,xie=KT,wie=JT,Sie=QT,Cie=ZT,kie=XT,_ie=eO,Aie=tO,Eie=rO,Tie=nO,Oie=oO,Rie=aO,jie=iO,Lie=sO,Nie=lO,Iie=cO,Pie=pO,Mie=uO,Die=dO,$ie=hO,zie=fO,Uie=mO,Fie=gO,Bie=bO,qie=vO,Hie=yO,Vie=Br([W7,Y7,K7,J7,Q7,Z7,X7,eT,tT,rT,nT,oT,aT,iT,sT,lT,cT,pT,uT,dT,hT,fT,mT,gT,bT,vT,yT,xT,wT,ST,CT,kT,_T,AT,ET,TT,OT,RT,jT,LT,NT,IT,PT,MT,DT,$T,zT,UT,FT,BT,qT,HT,VT,GT,WT,YT,KT,JT,QT,ZT,XT,eO,tO,rO,nO,oO,aO,iO,sO,lO,cO,pO,uO,dO,hO,fO,mO,gO,bO,vO,yO]),xO="alibaba_cloud",wO="aws",SO="azure",CO="gcp",Gie=xO,Wie=wO,Yie=SO,Kie=CO,Jie=Br([xO,wO,SO,CO]),kO="alibaba_cloud_ecs",_O="alibaba_cloud_fc",AO="aws_ec2",EO="aws_ecs",TO="aws_eks",OO="aws_lambda",RO="aws_elastic_beanstalk",jO="azure_vm",LO="azure_container_instances",NO="azure_aks",IO="azure_functions",PO="azure_app_service",MO="gcp_compute_engine",DO="gcp_cloud_run",$O="gcp_kubernetes_engine",zO="gcp_cloud_functions",UO="gcp_app_engine",Qie=kO,Zie=_O,Xie=AO,ese=EO,tse=TO,rse=OO,nse=RO,ose=jO,ase=LO,ise=NO,sse=IO,lse=PO,cse=MO,pse=DO,use=$O,dse=zO,hse=UO,fse=Br([kO,_O,AO,EO,TO,OO,RO,jO,LO,NO,IO,PO,MO,DO,$O,zO,UO]),FO="ec2",BO="fargate",mse=FO,gse=BO,bse=Br([FO,BO]),qO="amd64",HO="arm32",VO="arm64",GO="ia64",WO="ppc32",YO="ppc64",KO="x86",vse=qO,yse=HO,xse=VO,wse=GO,Sse=WO,Cse=YO,kse=KO,_se=Br([qO,HO,VO,GO,WO,YO,KO]),JO="windows",QO="linux",ZO="darwin",XO="freebsd",eR="netbsd",tR="openbsd",rR="dragonflybsd",nR="hpux",oR="aix",aR="solaris",iR="z_os",Ase=JO,Ese=QO,Tse=ZO,Ose=XO,Rse=eR,jse=tR,Lse=rR,Nse=nR,Ise=oR,Pse=aR,Mse=iR,Dse=Br([JO,QO,ZO,XO,eR,tR,rR,nR,oR,aR,iR]),sR="cpp",lR="dotnet",cR="erlang",pR="go",uR="java",dR="nodejs",hR="php",fR="python",mR="ruby",gR="webjs",$se=sR,zse=lR,Use=cR,Fse=pR,Bse=uR,qse=dR,Hse=hR,Vse=fR,Gse=mR,Wse=gR,Yse=Br([sR,lR,cR,pR,uR,dR,hR,fR,mR,gR]),Kse="aspnetcore.diagnostics.exception.result",Jse="aborted",Qse="handled",Zse="skipped",Xse="unhandled",ele="aspnetcore.diagnostics.handler.type",tle="aspnetcore.rate_limiting.policy",rle="aspnetcore.rate_limiting.result",nle="acquired",ole="endpoint_limiter",ale="global_limiter",ile="request_canceled",sle="aspnetcore.request.is_unhandled",lle="aspnetcore.routing.is_fallback",cle="aspnetcore.routing.match_status",ple="failure",ule="success",dle="aspnetcore.user.is_authenticated",hle="client.address",fle="client.port",mle="code.column.number",gle="code.file.path",ble="code.function.name",vle="code.line.number",yle="code.stacktrace",xle="db.collection.name",wle="db.namespace",Sle="db.operation.batch.size",Cle="db.operation.name",kle="db.query.summary",_le="db.query.text",Ale="db.response.status_code",Ele="db.stored_procedure.name",Tle="db.system.name",Ole="mariadb",Rle="microsoft.sql_server",jle="mysql",Lle="postgresql",Nle="dotnet.gc.heap.generation",Ile="gen0",Ple="gen1",Mle="gen2",Dle="loh",$le="poh",zle="error.type",Ule="_OTHER",Fle="exception.escaped",fm="exception.message",bR="exception.stacktrace",mm="exception.type",Ble=e=>`http.request.header.${e}`,qle="http.request.method",Hle="_OTHER",Vle="CONNECT",Gle="DELETE",Wle="GET",Yle="HEAD",Kle="OPTIONS",Jle="PATCH",Qle="POST",Zle="PUT",Xle="TRACE",ece="http.request.method_original",tce="http.request.resend_count",rce=e=>`http.response.header.${e}`,nce="http.response.status_code",oce="http.route",ace="jvm.gc.action",ice="jvm.gc.name",sce="jvm.memory.pool.name",lce="jvm.memory.type",cce="heap",pce="non_heap",uce="jvm.thread.daemon",dce="jvm.thread.state",hce="blocked",fce="new",mce="runnable",gce="terminated",bce="timed_waiting",vce="waiting",yce="network.local.address",xce="network.local.port",wce="network.peer.address",Sce="network.peer.port",Cce="network.protocol.name",kce="network.protocol.version",_ce="network.transport",Ace="pipe",Ece="quic",Tce="tcp",Oce="udp",Rce="unix",jce="network.type",Lce="ipv4",Nce="ipv6",Ice="otel.scope.name",Pce="otel.scope.version",Mce="otel.status_code",Dce="ERROR",$ce="OK",zce="otel.status_description",Uce="server.address",Fce="server.port",Bce="service.instance.id",uy="service.name",qce="service.namespace",vR="service.version",Hce="signalr.connection.status",Vce="app_shutdown",Gce="normal_closure",Wce="timeout",Yce="signalr.transport",Kce="long_polling",Jce="server_sent_events",Qce="web_sockets",gm="telemetry.sdk.language",Zce="cpp",Xce="dotnet",epe="erlang",tpe="go",rpe="java",npe="nodejs",ope="php",ape="python",ipe="ruby",spe="rust",lpe="swift",yR="webjs",bm="telemetry.sdk.name",vm="telemetry.sdk.version",cpe="url.fragment",ppe="url.full",upe="url.path",dpe="url.query",hpe="url.scheme",fpe="user_agent.original",mpe="aspnetcore.diagnostics.exceptions",gpe="aspnetcore.rate_limiting.active_request_leases",bpe="aspnetcore.rate_limiting.queued_requests",vpe="aspnetcore.rate_limiting.request.time_in_queue",ype="aspnetcore.rate_limiting.request_lease.duration",xpe="aspnetcore.rate_limiting.requests",wpe="aspnetcore.routing.match_attempts",Spe="db.client.operation.duration",Cpe="dotnet.assembly.count",kpe="dotnet.exceptions",_pe="dotnet.gc.collections",Ape="dotnet.gc.heap.total_allocated",Epe="dotnet.gc.last_collection.heap.fragmentation.size",Tpe="dotnet.gc.last_collection.heap.size",Ope="dotnet.gc.last_collection.memory.committed_size",Rpe="dotnet.gc.pause.time",jpe="dotnet.jit.compilation.time",Lpe="dotnet.jit.compiled_il.size",Npe="dotnet.jit.compiled_methods",Ipe="dotnet.monitor.lock_contentions",Ppe="dotnet.process.cpu.count",Mpe="dotnet.process.cpu.time",Dpe="dotnet.process.memory.working_set",$pe="dotnet.thread_pool.queue.length",zpe="dotnet.thread_pool.thread.count",Upe="dotnet.thread_pool.work_item.count",Fpe="dotnet.timer.count",Bpe="http.client.request.duration",qpe="http.server.request.duration",Hpe="jvm.class.count",Vpe="jvm.class.loaded",Gpe="jvm.class.unloaded",Wpe="jvm.cpu.count",Ype="jvm.cpu.recent_utilization",Kpe="jvm.cpu.time",Jpe="jvm.gc.duration",Qpe="jvm.memory.committed",Zpe="jvm.memory.limit",Xpe="jvm.memory.used",eue="jvm.memory.used_after_last_gc",tue="jvm.thread.count",rue="kestrel.active_connections",nue="kestrel.active_tls_handshakes",oue="kestrel.connection.duration",aue="kestrel.queued_connections",iue="kestrel.queued_requests",sue="kestrel.rejected_connections",lue="kestrel.tls_handshake.duration",cue="kestrel.upgraded_connections",pue="signalr.server.active_connections",uue="signalr.server.connection.duration",due="exception",hue=Object.freeze(Object.defineProperty({__proto__:null,ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED:Jse,ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED:Qse,ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED:Zse,ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED:Xse,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED:nle,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER:ole,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER:ale,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED:ile,ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE:ple,ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS:ule,ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT:Kse,ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE:ele,ATTR_ASPNETCORE_RATE_LIMITING_POLICY:tle,ATTR_ASPNETCORE_RATE_LIMITING_RESULT:rle,ATTR_ASPNETCORE_REQUEST_IS_UNHANDLED:sle,ATTR_ASPNETCORE_ROUTING_IS_FALLBACK:lle,ATTR_ASPNETCORE_ROUTING_MATCH_STATUS:cle,ATTR_ASPNETCORE_USER_IS_AUTHENTICATED:dle,ATTR_CLIENT_ADDRESS:hle,ATTR_CLIENT_PORT:fle,ATTR_CODE_COLUMN_NUMBER:mle,ATTR_CODE_FILE_PATH:gle,ATTR_CODE_FUNCTION_NAME:ble,ATTR_CODE_LINE_NUMBER:vle,ATTR_CODE_STACKTRACE:yle,ATTR_DB_COLLECTION_NAME:xle,ATTR_DB_NAMESPACE:wle,ATTR_DB_OPERATION_BATCH_SIZE:Sle,ATTR_DB_OPERATION_NAME:Cle,ATTR_DB_QUERY_SUMMARY:kle,ATTR_DB_QUERY_TEXT:_le,ATTR_DB_RESPONSE_STATUS_CODE:Ale,ATTR_DB_STORED_PROCEDURE_NAME:Ele,ATTR_DB_SYSTEM_NAME:Tle,ATTR_DOTNET_GC_HEAP_GENERATION:Nle,ATTR_ERROR_TYPE:zle,ATTR_EXCEPTION_ESCAPED:Fle,ATTR_EXCEPTION_MESSAGE:fm,ATTR_EXCEPTION_STACKTRACE:bR,ATTR_EXCEPTION_TYPE:mm,ATTR_HTTP_REQUEST_HEADER:Ble,ATTR_HTTP_REQUEST_METHOD:qle,ATTR_HTTP_REQUEST_METHOD_ORIGINAL:ece,ATTR_HTTP_REQUEST_RESEND_COUNT:tce,ATTR_HTTP_RESPONSE_HEADER:rce,ATTR_HTTP_RESPONSE_STATUS_CODE:nce,ATTR_HTTP_ROUTE:oce,ATTR_JVM_GC_ACTION:ace,ATTR_JVM_GC_NAME:ice,ATTR_JVM_MEMORY_POOL_NAME:sce,ATTR_JVM_MEMORY_TYPE:lce,ATTR_JVM_THREAD_DAEMON:uce,ATTR_JVM_THREAD_STATE:dce,ATTR_NETWORK_LOCAL_ADDRESS:yce,ATTR_NETWORK_LOCAL_PORT:xce,ATTR_NETWORK_PEER_ADDRESS:wce,ATTR_NETWORK_PEER_PORT:Sce,ATTR_NETWORK_PROTOCOL_NAME:Cce,ATTR_NETWORK_PROTOCOL_VERSION:kce,ATTR_NETWORK_TRANSPORT:_ce,ATTR_NETWORK_TYPE:jce,ATTR_OTEL_SCOPE_NAME:Ice,ATTR_OTEL_SCOPE_VERSION:Pce,ATTR_OTEL_STATUS_CODE:Mce,ATTR_OTEL_STATUS_DESCRIPTION:zce,ATTR_SERVER_ADDRESS:Uce,ATTR_SERVER_PORT:Fce,ATTR_SERVICE_INSTANCE_ID:Bce,ATTR_SERVICE_NAME:uy,ATTR_SERVICE_NAMESPACE:qce,ATTR_SERVICE_VERSION:vR,ATTR_SIGNALR_CONNECTION_STATUS:Hce,ATTR_SIGNALR_TRANSPORT:Yce,ATTR_TELEMETRY_SDK_LANGUAGE:gm,ATTR_TELEMETRY_SDK_NAME:bm,ATTR_TELEMETRY_SDK_VERSION:vm,ATTR_URL_FRAGMENT:cpe,ATTR_URL_FULL:ppe,ATTR_URL_PATH:upe,ATTR_URL_QUERY:dpe,ATTR_URL_SCHEME:hpe,ATTR_USER_AGENT_ORIGINAL:fpe,AWSECSLAUNCHTYPEVALUES_EC2:mse,AWSECSLAUNCHTYPEVALUES_FARGATE:gse,AwsEcsLaunchtypeValues:bse,CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS:Qie,CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC:Zie,CLOUDPLATFORMVALUES_AWS_EC2:Xie,CLOUDPLATFORMVALUES_AWS_ECS:ese,CLOUDPLATFORMVALUES_AWS_EKS:tse,CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK:nse,CLOUDPLATFORMVALUES_AWS_LAMBDA:rse,CLOUDPLATFORMVALUES_AZURE_AKS:ise,CLOUDPLATFORMVALUES_AZURE_APP_SERVICE:lse,CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES:ase,CLOUDPLATFORMVALUES_AZURE_FUNCTIONS:sse,CLOUDPLATFORMVALUES_AZURE_VM:ose,CLOUDPLATFORMVALUES_GCP_APP_ENGINE:hse,CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS:dse,CLOUDPLATFORMVALUES_GCP_CLOUD_RUN:pse,CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE:cse,CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE:use,CLOUDPROVIDERVALUES_ALIBABA_CLOUD:Gie,CLOUDPROVIDERVALUES_AWS:Wie,CLOUDPROVIDERVALUES_AZURE:Yie,CLOUDPROVIDERVALUES_GCP:Kie,CloudPlatformValues:fse,CloudProviderValues:Jie,DBCASSANDRACONSISTENCYLEVELVALUES_ALL:Rne,DBCASSANDRACONSISTENCYLEVELVALUES_ANY:$ne,DBCASSANDRACONSISTENCYLEVELVALUES_EACH_QUORUM:jne,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_ONE:Dne,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_QUORUM:Nne,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_SERIAL:Une,DBCASSANDRACONSISTENCYLEVELVALUES_ONE:Ine,DBCASSANDRACONSISTENCYLEVELVALUES_QUORUM:Lne,DBCASSANDRACONSISTENCYLEVELVALUES_SERIAL:zne,DBCASSANDRACONSISTENCYLEVELVALUES_THREE:Mne,DBCASSANDRACONSISTENCYLEVELVALUES_TWO:Pne,DBSYSTEMVALUES_ADABAS:Xre,DBSYSTEMVALUES_CACHE:Zre,DBSYSTEMVALUES_CASSANDRA:gne,DBSYSTEMVALUES_CLOUDSCAPE:Hre,DBSYSTEMVALUES_COCKROACHDB:Tne,DBSYSTEMVALUES_COLDFUSION:mne,DBSYSTEMVALUES_COSMOSDB:Sne,DBSYSTEMVALUES_COUCHBASE:xne,DBSYSTEMVALUES_COUCHDB:wne,DBSYSTEMVALUES_DB2:Ure,DBSYSTEMVALUES_DERBY:tne,DBSYSTEMVALUES_DYNAMODB:Cne,DBSYSTEMVALUES_EDB:Qre,DBSYSTEMVALUES_ELASTICSEARCH:Ane,DBSYSTEMVALUES_FILEMAKER:rne,DBSYSTEMVALUES_FIREBIRD:ene,DBSYSTEMVALUES_FIRSTSQL:Jre,DBSYSTEMVALUES_GEODE:_ne,DBSYSTEMVALUES_H2:fne,DBSYSTEMVALUES_HANADB:Yre,DBSYSTEMVALUES_HBASE:bne,DBSYSTEMVALUES_HIVE:qre,DBSYSTEMVALUES_HSQLDB:Vre,DBSYSTEMVALUES_INFORMIX:nne,DBSYSTEMVALUES_INGRES:Kre,DBSYSTEMVALUES_INSTANTDB:one,DBSYSTEMVALUES_INTERBASE:ane,DBSYSTEMVALUES_MARIADB:ine,DBSYSTEMVALUES_MAXDB:Wre,DBSYSTEMVALUES_MEMCACHED:Ene,DBSYSTEMVALUES_MONGODB:vne,DBSYSTEMVALUES_MSSQL:Dre,DBSYSTEMVALUES_MYSQL:$re,DBSYSTEMVALUES_NEO4J:kne,DBSYSTEMVALUES_NETEZZA:sne,DBSYSTEMVALUES_ORACLE:zre,DBSYSTEMVALUES_OTHER_SQL:Mre,DBSYSTEMVALUES_PERVASIVE:lne,DBSYSTEMVALUES_POINTBASE:cne,DBSYSTEMVALUES_POSTGRESQL:Fre,DBSYSTEMVALUES_PROGRESS:Gre,DBSYSTEMVALUES_REDIS:yne,DBSYSTEMVALUES_REDSHIFT:Bre,DBSYSTEMVALUES_SQLITE:pne,DBSYSTEMVALUES_SYBASE:une,DBSYSTEMVALUES_TERADATA:dne,DBSYSTEMVALUES_VERTICA:hne,DB_SYSTEM_NAME_VALUE_MARIADB:Ole,DB_SYSTEM_NAME_VALUE_MICROSOFT_SQL_SERVER:Rle,DB_SYSTEM_NAME_VALUE_MYSQL:jle,DB_SYSTEM_NAME_VALUE_POSTGRESQL:Lle,DOTNET_GC_HEAP_GENERATION_VALUE_GEN0:Ile,DOTNET_GC_HEAP_GENERATION_VALUE_GEN1:Ple,DOTNET_GC_HEAP_GENERATION_VALUE_GEN2:Mle,DOTNET_GC_HEAP_GENERATION_VALUE_LOH:Dle,DOTNET_GC_HEAP_GENERATION_VALUE_POH:$le,DbCassandraConsistencyLevelValues:Fne,DbSystemValues:One,ERROR_TYPE_VALUE_OTHER:Ule,EVENT_EXCEPTION:due,FAASDOCUMENTOPERATIONVALUES_DELETE:Jne,FAASDOCUMENTOPERATIONVALUES_EDIT:Kne,FAASDOCUMENTOPERATIONVALUES_INSERT:Yne,FAASINVOKEDPROVIDERVALUES_ALIBABA_CLOUD:Zne,FAASINVOKEDPROVIDERVALUES_AWS:Xne,FAASINVOKEDPROVIDERVALUES_AZURE:eoe,FAASINVOKEDPROVIDERVALUES_GCP:toe,FAASTRIGGERVALUES_DATASOURCE:Bne,FAASTRIGGERVALUES_HTTP:qne,FAASTRIGGERVALUES_OTHER:Gne,FAASTRIGGERVALUES_PUBSUB:Hne,FAASTRIGGERVALUES_TIMER:Vne,FaasDocumentOperationValues:Qne,FaasInvokedProviderValues:roe,FaasTriggerValues:Wne,HOSTARCHVALUES_AMD64:vse,HOSTARCHVALUES_ARM32:yse,HOSTARCHVALUES_ARM64:xse,HOSTARCHVALUES_IA64:wse,HOSTARCHVALUES_PPC32:Sse,HOSTARCHVALUES_PPC64:Cse,HOSTARCHVALUES_X86:kse,HTTPFLAVORVALUES_HTTP_1_0:zoe,HTTPFLAVORVALUES_HTTP_1_1:Uoe,HTTPFLAVORVALUES_HTTP_2_0:Foe,HTTPFLAVORVALUES_QUIC:qoe,HTTPFLAVORVALUES_SPDY:Boe,HTTP_REQUEST_METHOD_VALUE_CONNECT:Vle,HTTP_REQUEST_METHOD_VALUE_DELETE:Gle,HTTP_REQUEST_METHOD_VALUE_GET:Wle,HTTP_REQUEST_METHOD_VALUE_HEAD:Yle,HTTP_REQUEST_METHOD_VALUE_OPTIONS:Kle,HTTP_REQUEST_METHOD_VALUE_OTHER:Hle,HTTP_REQUEST_METHOD_VALUE_PATCH:Jle,HTTP_REQUEST_METHOD_VALUE_POST:Qle,HTTP_REQUEST_METHOD_VALUE_PUT:Zle,HTTP_REQUEST_METHOD_VALUE_TRACE:Xle,HostArchValues:_se,HttpFlavorValues:Hoe,JVM_MEMORY_TYPE_VALUE_HEAP:cce,JVM_MEMORY_TYPE_VALUE_NON_HEAP:pce,JVM_THREAD_STATE_VALUE_BLOCKED:hce,JVM_THREAD_STATE_VALUE_NEW:fce,JVM_THREAD_STATE_VALUE_RUNNABLE:mce,JVM_THREAD_STATE_VALUE_TERMINATED:gce,JVM_THREAD_STATE_VALUE_TIMED_WAITING:bce,JVM_THREAD_STATE_VALUE_WAITING:vce,MESSAGETYPEVALUES_RECEIVED:gae,MESSAGETYPEVALUES_SENT:mae,MESSAGINGDESTINATIONKINDVALUES_QUEUE:Voe,MESSAGINGDESTINATIONKINDVALUES_TOPIC:Goe,MESSAGINGOPERATIONVALUES_PROCESS:Koe,MESSAGINGOPERATIONVALUES_RECEIVE:Yoe,METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS:mpe,METRIC_ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES:gpe,METRIC_ASPNETCORE_RATE_LIMITING_QUEUED_REQUESTS:bpe,METRIC_ASPNETCORE_RATE_LIMITING_REQUESTS:xpe,METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION:ype,METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_TIME_IN_QUEUE:vpe,METRIC_ASPNETCORE_ROUTING_MATCH_ATTEMPTS:wpe,METRIC_DB_CLIENT_OPERATION_DURATION:Spe,METRIC_DOTNET_ASSEMBLY_COUNT:Cpe,METRIC_DOTNET_EXCEPTIONS:kpe,METRIC_DOTNET_GC_COLLECTIONS:_pe,METRIC_DOTNET_GC_HEAP_TOTAL_ALLOCATED:Ape,METRIC_DOTNET_GC_LAST_COLLECTION_HEAP_FRAGMENTATION_SIZE:Epe,METRIC_DOTNET_GC_LAST_COLLECTION_HEAP_SIZE:Tpe,METRIC_DOTNET_GC_LAST_COLLECTION_MEMORY_COMMITTED_SIZE:Ope,METRIC_DOTNET_GC_PAUSE_TIME:Rpe,METRIC_DOTNET_JIT_COMPILATION_TIME:jpe,METRIC_DOTNET_JIT_COMPILED_IL_SIZE:Lpe,METRIC_DOTNET_JIT_COMPILED_METHODS:Npe,METRIC_DOTNET_MONITOR_LOCK_CONTENTIONS:Ipe,METRIC_DOTNET_PROCESS_CPU_COUNT:Ppe,METRIC_DOTNET_PROCESS_CPU_TIME:Mpe,METRIC_DOTNET_PROCESS_MEMORY_WORKING_SET:Dpe,METRIC_DOTNET_THREAD_POOL_QUEUE_LENGTH:$pe,METRIC_DOTNET_THREAD_POOL_THREAD_COUNT:zpe,METRIC_DOTNET_THREAD_POOL_WORK_ITEM_COUNT:Upe,METRIC_DOTNET_TIMER_COUNT:Fpe,METRIC_HTTP_CLIENT_REQUEST_DURATION:Bpe,METRIC_HTTP_SERVER_REQUEST_DURATION:qpe,METRIC_JVM_CLASS_COUNT:Hpe,METRIC_JVM_CLASS_LOADED:Vpe,METRIC_JVM_CLASS_UNLOADED:Gpe,METRIC_JVM_CPU_COUNT:Wpe,METRIC_JVM_CPU_RECENT_UTILIZATION:Ype,METRIC_JVM_CPU_TIME:Kpe,METRIC_JVM_GC_DURATION:Jpe,METRIC_JVM_MEMORY_COMMITTED:Qpe,METRIC_JVM_MEMORY_LIMIT:Zpe,METRIC_JVM_MEMORY_USED:Xpe,METRIC_JVM_MEMORY_USED_AFTER_LAST_GC:eue,METRIC_JVM_THREAD_COUNT:tue,METRIC_KESTREL_ACTIVE_CONNECTIONS:rue,METRIC_KESTREL_ACTIVE_TLS_HANDSHAKES:nue,METRIC_KESTREL_CONNECTION_DURATION:oue,METRIC_KESTREL_QUEUED_CONNECTIONS:aue,METRIC_KESTREL_QUEUED_REQUESTS:iue,METRIC_KESTREL_REJECTED_CONNECTIONS:sue,METRIC_KESTREL_TLS_HANDSHAKE_DURATION:lue,METRIC_KESTREL_UPGRADED_CONNECTIONS:cue,METRIC_SIGNALR_SERVER_ACTIVE_CONNECTIONS:pue,METRIC_SIGNALR_SERVER_CONNECTION_DURATION:uue,MessageTypeValues:bae,MessagingDestinationKindValues:Woe,MessagingOperationValues:Joe,NETHOSTCONNECTIONSUBTYPEVALUES_CDMA:xoe,NETHOSTCONNECTIONSUBTYPEVALUES_CDMA2000_1XRTT:Coe,NETHOSTCONNECTIONSUBTYPEVALUES_EDGE:voe,NETHOSTCONNECTIONSUBTYPEVALUES_EHRPD:Roe,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_0:woe,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_A:Soe,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_B:Toe,NETHOSTCONNECTIONSUBTYPEVALUES_GPRS:boe,NETHOSTCONNECTIONSUBTYPEVALUES_GSM:Loe,NETHOSTCONNECTIONSUBTYPEVALUES_HSDPA:koe,NETHOSTCONNECTIONSUBTYPEVALUES_HSPA:Aoe,NETHOSTCONNECTIONSUBTYPEVALUES_HSPAP:joe,NETHOSTCONNECTIONSUBTYPEVALUES_HSUPA:_oe,NETHOSTCONNECTIONSUBTYPEVALUES_IDEN:Eoe,NETHOSTCONNECTIONSUBTYPEVALUES_IWLAN:Ioe,NETHOSTCONNECTIONSUBTYPEVALUES_LTE:Ooe,NETHOSTCONNECTIONSUBTYPEVALUES_LTE_CA:Doe,NETHOSTCONNECTIONSUBTYPEVALUES_NR:Poe,NETHOSTCONNECTIONSUBTYPEVALUES_NRNSA:Moe,NETHOSTCONNECTIONSUBTYPEVALUES_TD_SCDMA:Noe,NETHOSTCONNECTIONSUBTYPEVALUES_UMTS:yoe,NETHOSTCONNECTIONTYPEVALUES_CELL:hoe,NETHOSTCONNECTIONTYPEVALUES_UNAVAILABLE:foe,NETHOSTCONNECTIONTYPEVALUES_UNKNOWN:moe,NETHOSTCONNECTIONTYPEVALUES_WIFI:uoe,NETHOSTCONNECTIONTYPEVALUES_WIRED:doe,NETTRANSPORTVALUES_INPROC:loe,NETTRANSPORTVALUES_IP:aoe,NETTRANSPORTVALUES_IP_TCP:noe,NETTRANSPORTVALUES_IP_UDP:ooe,NETTRANSPORTVALUES_OTHER:coe,NETTRANSPORTVALUES_PIPE:soe,NETTRANSPORTVALUES_UNIX:ioe,NETWORK_TRANSPORT_VALUE_PIPE:Ace,NETWORK_TRANSPORT_VALUE_QUIC:Ece,NETWORK_TRANSPORT_VALUE_TCP:Tce,NETWORK_TRANSPORT_VALUE_UDP:Oce,NETWORK_TRANSPORT_VALUE_UNIX:Rce,NETWORK_TYPE_VALUE_IPV4:Lce,NETWORK_TYPE_VALUE_IPV6:Nce,NetHostConnectionSubtypeValues:$oe,NetHostConnectionTypeValues:goe,NetTransportValues:poe,OSTYPEVALUES_AIX:Ise,OSTYPEVALUES_DARWIN:Tse,OSTYPEVALUES_DRAGONFLYBSD:Lse,OSTYPEVALUES_FREEBSD:Ose,OSTYPEVALUES_HPUX:Nse,OSTYPEVALUES_LINUX:Ese,OSTYPEVALUES_NETBSD:Rse,OSTYPEVALUES_OPENBSD:jse,OSTYPEVALUES_SOLARIS:Pse,OSTYPEVALUES_WINDOWS:Ase,OSTYPEVALUES_Z_OS:Mse,OTEL_STATUS_CODE_VALUE_ERROR:Dce,OTEL_STATUS_CODE_VALUE_OK:$ce,OsTypeValues:Dse,RPCGRPCSTATUSCODEVALUES_ABORTED:sae,RPCGRPCSTATUSCODEVALUES_ALREADY_EXISTS:nae,RPCGRPCSTATUSCODEVALUES_CANCELLED:Zoe,RPCGRPCSTATUSCODEVALUES_DATA_LOSS:dae,RPCGRPCSTATUSCODEVALUES_DEADLINE_EXCEEDED:tae,RPCGRPCSTATUSCODEVALUES_FAILED_PRECONDITION:iae,RPCGRPCSTATUSCODEVALUES_INTERNAL:pae,RPCGRPCSTATUSCODEVALUES_INVALID_ARGUMENT:eae,RPCGRPCSTATUSCODEVALUES_NOT_FOUND:rae,RPCGRPCSTATUSCODEVALUES_OK:Qoe,RPCGRPCSTATUSCODEVALUES_OUT_OF_RANGE:lae,RPCGRPCSTATUSCODEVALUES_PERMISSION_DENIED:oae,RPCGRPCSTATUSCODEVALUES_RESOURCE_EXHAUSTED:aae,RPCGRPCSTATUSCODEVALUES_UNAUTHENTICATED:hae,RPCGRPCSTATUSCODEVALUES_UNAVAILABLE:uae,RPCGRPCSTATUSCODEVALUES_UNIMPLEMENTED:cae,RPCGRPCSTATUSCODEVALUES_UNKNOWN:Xoe,RpcGrpcStatusCodeValues:fae,SEMATTRS_AWS_DYNAMODB_ATTRIBUTES_TO_GET:Hte,SEMATTRS_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS:rre,SEMATTRS_AWS_DYNAMODB_CONSISTENT_READ:Fte,SEMATTRS_AWS_DYNAMODB_CONSUMED_CAPACITY:Dte,SEMATTRS_AWS_DYNAMODB_COUNT:ere,SEMATTRS_AWS_DYNAMODB_EXCLUSIVE_START_TABLE:Kte,SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES:Wte,SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES:nre,SEMATTRS_AWS_DYNAMODB_INDEX_NAME:Vte,SEMATTRS_AWS_DYNAMODB_ITEM_COLLECTION_METRICS:$te,SEMATTRS_AWS_DYNAMODB_LIMIT:qte,SEMATTRS_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES:Yte,SEMATTRS_AWS_DYNAMODB_PROJECTION:Bte,SEMATTRS_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY:zte,SEMATTRS_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY:Ute,SEMATTRS_AWS_DYNAMODB_SCANNED_COUNT:tre,SEMATTRS_AWS_DYNAMODB_SCAN_FORWARD:Qte,SEMATTRS_AWS_DYNAMODB_SEGMENT:Zte,SEMATTRS_AWS_DYNAMODB_SELECT:Gte,SEMATTRS_AWS_DYNAMODB_TABLE_COUNT:Jte,SEMATTRS_AWS_DYNAMODB_TABLE_NAMES:Mte,SEMATTRS_AWS_DYNAMODB_TOTAL_SEGMENTS:Xte,SEMATTRS_AWS_LAMBDA_INVOKED_ARN:mee,SEMATTRS_CODE_FILEPATH:yte,SEMATTRS_CODE_FUNCTION:bte,SEMATTRS_CODE_LINENO:xte,SEMATTRS_CODE_NAMESPACE:vte,SEMATTRS_DB_CASSANDRA_CONSISTENCY_LEVEL:Aee,SEMATTRS_DB_CASSANDRA_COORDINATOR_DC:jee,SEMATTRS_DB_CASSANDRA_COORDINATOR_ID:Ree,SEMATTRS_DB_CASSANDRA_IDEMPOTENCE:Tee,SEMATTRS_DB_CASSANDRA_KEYSPACE:kee,SEMATTRS_DB_CASSANDRA_PAGE_SIZE:_ee,SEMATTRS_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT:Oee,SEMATTRS_DB_CASSANDRA_TABLE:Eee,SEMATTRS_DB_CONNECTION_STRING:bee,SEMATTRS_DB_HBASE_NAMESPACE:Lee,SEMATTRS_DB_JDBC_DRIVER_CLASSNAME:yee,SEMATTRS_DB_MONGODB_COLLECTION:Iee,SEMATTRS_DB_MSSQL_INSTANCE_NAME:Cee,SEMATTRS_DB_NAME:xee,SEMATTRS_DB_OPERATION:See,SEMATTRS_DB_REDIS_DATABASE_INDEX:Nee,SEMATTRS_DB_SQL_TABLE:Pee,SEMATTRS_DB_STATEMENT:wee,SEMATTRS_DB_SYSTEM:gee,SEMATTRS_DB_USER:vee,SEMATTRS_ENDUSER_ID:dte,SEMATTRS_ENDUSER_ROLE:hte,SEMATTRS_ENDUSER_SCOPE:fte,SEMATTRS_EXCEPTION_ESCAPED:zee,SEMATTRS_EXCEPTION_MESSAGE:Dee,SEMATTRS_EXCEPTION_STACKTRACE:$ee,SEMATTRS_EXCEPTION_TYPE:Mee,SEMATTRS_FAAS_COLDSTART:Yee,SEMATTRS_FAAS_CRON:Wee,SEMATTRS_FAAS_DOCUMENT_COLLECTION:Bee,SEMATTRS_FAAS_DOCUMENT_NAME:Vee,SEMATTRS_FAAS_DOCUMENT_OPERATION:qee,SEMATTRS_FAAS_DOCUMENT_TIME:Hee,SEMATTRS_FAAS_EXECUTION:Fee,SEMATTRS_FAAS_INVOKED_NAME:Kee,SEMATTRS_FAAS_INVOKED_PROVIDER:Jee,SEMATTRS_FAAS_INVOKED_REGION:Qee,SEMATTRS_FAAS_TIME:Gee,SEMATTRS_FAAS_TRIGGER:Uee,SEMATTRS_HTTP_CLIENT_IP:Pte,SEMATTRS_HTTP_FLAVOR:Ete,SEMATTRS_HTTP_HOST:kte,SEMATTRS_HTTP_METHOD:wte,SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH:Ote,SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED:Rte,SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH:jte,SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED:Lte,SEMATTRS_HTTP_ROUTE:Ite,SEMATTRS_HTTP_SCHEME:_te,SEMATTRS_HTTP_SERVER_NAME:Nte,SEMATTRS_HTTP_STATUS_CODE:Ate,SEMATTRS_HTTP_TARGET:Cte,SEMATTRS_HTTP_URL:Ste,SEMATTRS_HTTP_USER_AGENT:Tte,SEMATTRS_MESSAGE_COMPRESSED_SIZE:Nre,SEMATTRS_MESSAGE_ID:Lre,SEMATTRS_MESSAGE_TYPE:jre,SEMATTRS_MESSAGE_UNCOMPRESSED_SIZE:Ire,SEMATTRS_MESSAGING_CONSUMER_ID:gre,SEMATTRS_MESSAGING_CONVERSATION_ID:dre,SEMATTRS_MESSAGING_DESTINATION:are,SEMATTRS_MESSAGING_DESTINATION_KIND:ire,SEMATTRS_MESSAGING_KAFKA_CLIENT_ID:xre,SEMATTRS_MESSAGING_KAFKA_CONSUMER_GROUP:yre,SEMATTRS_MESSAGING_KAFKA_MESSAGE_KEY:vre,SEMATTRS_MESSAGING_KAFKA_PARTITION:wre,SEMATTRS_MESSAGING_KAFKA_TOMBSTONE:Sre,SEMATTRS_MESSAGING_MESSAGE_ID:ure,SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES:fre,SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES:hre,SEMATTRS_MESSAGING_OPERATION:mre,SEMATTRS_MESSAGING_PROTOCOL:lre,SEMATTRS_MESSAGING_PROTOCOL_VERSION:cre,SEMATTRS_MESSAGING_RABBITMQ_ROUTING_KEY:bre,SEMATTRS_MESSAGING_SYSTEM:ore,SEMATTRS_MESSAGING_TEMP_DESTINATION:sre,SEMATTRS_MESSAGING_URL:pre,SEMATTRS_NET_HOST_CARRIER_ICC:pte,SEMATTRS_NET_HOST_CARRIER_MCC:lte,SEMATTRS_NET_HOST_CARRIER_MNC:cte,SEMATTRS_NET_HOST_CARRIER_NAME:ste,SEMATTRS_NET_HOST_CONNECTION_SUBTYPE:ite,SEMATTRS_NET_HOST_CONNECTION_TYPE:ate,SEMATTRS_NET_HOST_IP:rte,SEMATTRS_NET_HOST_NAME:ote,SEMATTRS_NET_HOST_PORT:nte,SEMATTRS_NET_PEER_IP:Xee,SEMATTRS_NET_PEER_NAME:tte,SEMATTRS_NET_PEER_PORT:ete,SEMATTRS_NET_TRANSPORT:Zee,SEMATTRS_PEER_SERVICE:ute,SEMATTRS_RPC_GRPC_STATUS_CODE:Are,SEMATTRS_RPC_JSONRPC_ERROR_CODE:Ore,SEMATTRS_RPC_JSONRPC_ERROR_MESSAGE:Rre,SEMATTRS_RPC_JSONRPC_REQUEST_ID:Tre,SEMATTRS_RPC_JSONRPC_VERSION:Ere,SEMATTRS_RPC_METHOD:_re,SEMATTRS_RPC_SERVICE:kre,SEMATTRS_RPC_SYSTEM:Cre,SEMATTRS_THREAD_ID:mte,SEMATTRS_THREAD_NAME:gte,SEMRESATTRS_AWS_ECS_CLUSTER_ARN:kae,SEMRESATTRS_AWS_ECS_CONTAINER_ARN:Cae,SEMRESATTRS_AWS_ECS_LAUNCHTYPE:_ae,SEMRESATTRS_AWS_ECS_TASK_ARN:Aae,SEMRESATTRS_AWS_ECS_TASK_FAMILY:Eae,SEMRESATTRS_AWS_ECS_TASK_REVISION:Tae,SEMRESATTRS_AWS_EKS_CLUSTER_ARN:Oae,SEMRESATTRS_AWS_LOG_GROUP_ARNS:jae,SEMRESATTRS_AWS_LOG_GROUP_NAMES:Rae,SEMRESATTRS_AWS_LOG_STREAM_ARNS:Nae,SEMRESATTRS_AWS_LOG_STREAM_NAMES:Lae,SEMRESATTRS_CLOUD_ACCOUNT_ID:yae,SEMRESATTRS_CLOUD_AVAILABILITY_ZONE:wae,SEMRESATTRS_CLOUD_PLATFORM:Sae,SEMRESATTRS_CLOUD_PROVIDER:vae,SEMRESATTRS_CLOUD_REGION:xae,SEMRESATTRS_CONTAINER_ID:Pae,SEMRESATTRS_CONTAINER_IMAGE_NAME:Dae,SEMRESATTRS_CONTAINER_IMAGE_TAG:$ae,SEMRESATTRS_CONTAINER_NAME:Iae,SEMRESATTRS_CONTAINER_RUNTIME:Mae,SEMRESATTRS_DEPLOYMENT_ENVIRONMENT:zae,SEMRESATTRS_DEVICE_ID:Uae,SEMRESATTRS_DEVICE_MODEL_IDENTIFIER:Fae,SEMRESATTRS_DEVICE_MODEL_NAME:Bae,SEMRESATTRS_FAAS_ID:Hae,SEMRESATTRS_FAAS_INSTANCE:Gae,SEMRESATTRS_FAAS_MAX_MEMORY:Wae,SEMRESATTRS_FAAS_NAME:qae,SEMRESATTRS_FAAS_VERSION:Vae,SEMRESATTRS_HOST_ARCH:Qae,SEMRESATTRS_HOST_ID:Yae,SEMRESATTRS_HOST_IMAGE_ID:Xae,SEMRESATTRS_HOST_IMAGE_NAME:Zae,SEMRESATTRS_HOST_IMAGE_VERSION:eie,SEMRESATTRS_HOST_NAME:Kae,SEMRESATTRS_HOST_TYPE:Jae,SEMRESATTRS_K8S_CLUSTER_NAME:tie,SEMRESATTRS_K8S_CONTAINER_NAME:sie,SEMRESATTRS_K8S_CRONJOB_NAME:yie,SEMRESATTRS_K8S_CRONJOB_UID:vie,SEMRESATTRS_K8S_DAEMONSET_NAME:mie,SEMRESATTRS_K8S_DAEMONSET_UID:fie,SEMRESATTRS_K8S_DEPLOYMENT_NAME:uie,SEMRESATTRS_K8S_DEPLOYMENT_UID:pie,SEMRESATTRS_K8S_JOB_NAME:bie,SEMRESATTRS_K8S_JOB_UID:gie,SEMRESATTRS_K8S_NAMESPACE_NAME:oie,SEMRESATTRS_K8S_NODE_NAME:rie,SEMRESATTRS_K8S_NODE_UID:nie,SEMRESATTRS_K8S_POD_NAME:iie,SEMRESATTRS_K8S_POD_UID:aie,SEMRESATTRS_K8S_REPLICASET_NAME:cie,SEMRESATTRS_K8S_REPLICASET_UID:lie,SEMRESATTRS_K8S_STATEFULSET_NAME:hie,SEMRESATTRS_K8S_STATEFULSET_UID:die,SEMRESATTRS_OS_DESCRIPTION:wie,SEMRESATTRS_OS_NAME:Sie,SEMRESATTRS_OS_TYPE:xie,SEMRESATTRS_OS_VERSION:Cie,SEMRESATTRS_PROCESS_COMMAND:Eie,SEMRESATTRS_PROCESS_COMMAND_ARGS:Oie,SEMRESATTRS_PROCESS_COMMAND_LINE:Tie,SEMRESATTRS_PROCESS_EXECUTABLE_NAME:_ie,SEMRESATTRS_PROCESS_EXECUTABLE_PATH:Aie,SEMRESATTRS_PROCESS_OWNER:Rie,SEMRESATTRS_PROCESS_PID:kie,SEMRESATTRS_PROCESS_RUNTIME_DESCRIPTION:Nie,SEMRESATTRS_PROCESS_RUNTIME_NAME:jie,SEMRESATTRS_PROCESS_RUNTIME_VERSION:Lie,SEMRESATTRS_SERVICE_INSTANCE_ID:Mie,SEMRESATTRS_SERVICE_NAME:Iie,SEMRESATTRS_SERVICE_NAMESPACE:Pie,SEMRESATTRS_SERVICE_VERSION:Die,SEMRESATTRS_TELEMETRY_AUTO_VERSION:Fie,SEMRESATTRS_TELEMETRY_SDK_LANGUAGE:zie,SEMRESATTRS_TELEMETRY_SDK_NAME:$ie,SEMRESATTRS_TELEMETRY_SDK_VERSION:Uie,SEMRESATTRS_WEBENGINE_DESCRIPTION:Hie,SEMRESATTRS_WEBENGINE_NAME:Bie,SEMRESATTRS_WEBENGINE_VERSION:qie,SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN:Vce,SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE:Gce,SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT:Wce,SIGNALR_TRANSPORT_VALUE_LONG_POLLING:Kce,SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS:Jce,SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS:Qce,SemanticAttributes:Pre,SemanticResourceAttributes:Vie,TELEMETRYSDKLANGUAGEVALUES_CPP:$se,TELEMETRYSDKLANGUAGEVALUES_DOTNET:zse,TELEMETRYSDKLANGUAGEVALUES_ERLANG:Use,TELEMETRYSDKLANGUAGEVALUES_GO:Fse,TELEMETRYSDKLANGUAGEVALUES_JAVA:Bse,TELEMETRYSDKLANGUAGEVALUES_NODEJS:qse,TELEMETRYSDKLANGUAGEVALUES_PHP:Hse,TELEMETRYSDKLANGUAGEVALUES_PYTHON:Vse,TELEMETRYSDKLANGUAGEVALUES_RUBY:Gse,TELEMETRYSDKLANGUAGEVALUES_WEBJS:Wse,TELEMETRY_SDK_LANGUAGE_VALUE_CPP:Zce,TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET:Xce,TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG:epe,TELEMETRY_SDK_LANGUAGE_VALUE_GO:tpe,TELEMETRY_SDK_LANGUAGE_VALUE_JAVA:rpe,TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS:npe,TELEMETRY_SDK_LANGUAGE_VALUE_PHP:ope,TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON:ape,TELEMETRY_SDK_LANGUAGE_VALUE_RUBY:ipe,TELEMETRY_SDK_LANGUAGE_VALUE_RUST:spe,TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT:lpe,TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS:yR,TelemetrySdkLanguageValues:Yse},Symbol.toStringTag,{value:"Module"})),fue="process.runtime.name",dy={[bm]:"opentelemetry",[fue]:"browser",[gm]:yR,[vm]:fee},dl=performance,mue=9,gue=6,bue=Math.pow(10,gue),ym=Math.pow(10,mue);function os(e){const t=e/1e3,r=Math.trunc(t),n=Math.round(e%1e3*bue);return[r,n]}function xR(e){const t=os(dl.timeOrigin),r=os(typeof e=="number"?e:dl.now());return CR(t,r)}function rd(e){if(hy(e))return e;if(typeof e=="number")return e<dl.timeOrigin?xR(e):os(e);if(e instanceof Date)return os(e.getTime());throw TypeError("Invalid input type")}function vue(e,t){let r=t[0]-e[0],n=t[1]-e[1];return n<0&&(r-=1,n+=ym),[r,n]}function fi(e){return e[0]*ym+e[1]}function wR(e){return e[0]*1e6+e[1]/1e3}function hy(e){return Array.isArray(e)&&e.length===2&&typeof e[0]=="number"&&typeof e[1]=="number"}function SR(e){return hy(e)||typeof e=="number"||e instanceof Date}function CR(e,t){const r=[e[0]+t[0],e[1]+t[1]];return r[1]>=ym&&(r[1]-=ym,r[0]+=1),r}var Gn;(function(e){e[e.SUCCESS=0]="SUCCESS",e[e.FAILED=1]="FAILED"})(Gn||(Gn={}));class yue{_propagators;_fields;constructor(t={}){this._propagators=t.propagators??[];const r=new Set;for(const n of this._propagators){const o=typeof n.fields=="function"?n.fields():[];for(const a of o)r.add(a)}this._fields=Array.from(r)}inject(t,r,n){for(const o of this._propagators)try{o.inject(t,r,n)}catch(a){ct.warn(`Failed to inject with ${o.constructor.name}. Err: ${a.message}`)}}extract(t,r,n){return this._propagators.reduce((o,a)=>{try{return a.extract(o,r,n)}catch(i){ct.warn(`Failed to extract with ${a.constructor.name}. Err: ${i.message}`)}return o},t)}fields(){return this._fields.slice()}}const fy="[_0-9a-z-*/]",xue=`[a-z]${fy}{0,255}`,wue=`[a-z0-9]${fy}{0,240}@[a-z]${fy}{0,13}`,Sue=new RegExp(`^(?:${xue}|${wue})$`),Cue=/^[ -~]{0,255}[!-~]$/,kue=/,|=/;function kR(e){return Sue.test(e)}function _R(e){return Cue.test(e)&&!kue.test(e)}const _ue=32,AR=512,ER=",",TR="=";class R3{_length;_rawTraceState;_internalState;constructor(t){this._rawTraceState=typeof t=="string"?t:"",this._length=this._rawTraceState.length}set(t,r){if(!kR(t)||!_R(r))return this;const n=this._getState(),o=n.get(t);let a=this._length;if(typeof o=="string"?a+=r.length-o.length:a+=t.length+r.length+(n.size>0?2:1),a>AR)return this;const i=new Map(n);return i.delete(t),i.set(t,r),this._fromState(i,a)}unset(t){const r=this._getState(),n=r.get(t);if(typeof n!="string")return this;let o=this._length-(t.length+n.length+1);r.size>1&&(o=o-1);const a=new Map(r);return a.delete(t),this._fromState(a,o)}get(t){return this._getState().get(t)}serialize(){let t="",r=0;for(const n of this._getState())r>0&&(t=ER+t),t=`${n[0]}${TR}${n[1]}`+t,r++;return t}_getState(){if(this._internalState)return this._internalState;const t=this._rawTraceState.split(ER),r=new Map;let n=0;for(const o of t){const a=o.trim(),i=a.indexOf(TR);if(i===-1)continue;const l=a.slice(0,i),p=a.slice(i+1);if(!kR(l)||!_R(p))continue;const u=n+a.length+(r.size>0?1:0);if(!(u>AR)&&(r.set(l,p),n=u,r.size>=_ue))break}return this._length=n,this._internalState=new Map(Array.from(r.entries()).reverse()),this._internalState}_fromState(t,r){const n=Object.create(R3.prototype);return n._internalState=t,n._length=r,n}}const my="traceparent",gy="tracestate",Aue="00",Eue="(?!ff)[\\da-f]{2}",Tue="(?![0]{32})[\\da-f]{32}",Oue="(?![0]{16})[\\da-f]{16}",Rue="[\\da-f]{2}",jue=new RegExp(`^\\s?(${Eue})-(${Tue})-(${Oue})-(${Rue})(-.*)?\\s?$`);function Lue(e){const t=jue.exec(e);return!t||t[1]==="00"&&t[5]?null:{traceId:t[2],spanId:t[3],traceFlags:parseInt(t[4],16)}}class Nue{inject(t,r,n){const o=On.getSpanContext(t);if(!o||cy(t)||!Zu(o))return;const a=`${Aue}-${o.traceId}-${o.spanId}-0${Number(o.traceFlags||ta.NONE).toString(16)}`;n.set(r,my,a),o.traceState&&n.set(r,gy,o.traceState.serialize())}extract(t,r,n){const o=n.get(r,my);if(!o)return t;const a=Array.isArray(o)?o[0]:o;if(typeof a!="string")return t;const i=Lue(a);if(!i)return t;i.isRemote=!0;const l=n.get(r,gy);if(l){const p=Array.isArray(l)?l.join(","):l;i.traceState=new R3(typeof p=="string"?p:void 0)}return On.setSpanContext(t,i)}fields(){return[my,gy]}}const Iue="[object Object]",Pue="[object Null]",Mue="[object Undefined]",Due=Function.prototype,OR=Due.toString,$ue=OR.call(Object),zue=Object.getPrototypeOf,RR=Object.prototype,jR=RR.hasOwnProperty,hl=Symbol?Symbol.toStringTag:void 0,LR=RR.toString;function NR(e){if(!Uue(e)||Fue(e)!==Iue)return!1;const t=zue(e);if(t===null)return!0;const r=jR.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&OR.call(r)===$ue}function Uue(e){return e!=null&&typeof e=="object"}function Fue(e){return e==null?e===void 0?Mue:Pue:hl&&hl in Object(e)?Bue(e):que(e)}function Bue(e){const t=jR.call(e,hl),r=e[hl];let n=!1;try{e[hl]=void 0,n=!0}catch{}const o=LR.call(e);return n&&(t?e[hl]=r:delete e[hl]),o}function que(e){return LR.call(e)}const Hue=20;function Vue(...e){let t=e.shift();const r=new WeakMap;for(;e.length>0;)t=IR(t,e.shift(),0,r);return t}function by(e){return xm(e)?e.slice():e}function IR(e,t,r=0,n){let o;if(!(r>Hue)){if(r++,wm(e)||wm(t)||MR(t))o=by(t);else if(xm(e)){if(o=e.slice(),xm(t))for(let a=0,i=t.length;a<i;a++)o.push(by(t[a]));else if(nd(t)){const a=Object.keys(t);for(let i=0,l=a.length;i<l;i++){const p=a[i];p==="__proto__"||p==="constructor"||p==="prototype"||(o[p]=by(t[p]))}}}else if(nd(e))if(nd(t)){if(!Gue(e,t))return t;o=Object.assign({},e);const a=Object.keys(t);for(let i=0,l=a.length;i<l;i++){const p=a[i];if(p==="__proto__"||p==="constructor"||p==="prototype")continue;const u=t[p];if(wm(u))typeof u>"u"?delete o[p]:o[p]=u;else{const h=o[p],f=u;if(PR(e,p,n)||PR(t,p,n))delete o[p];else{if(nd(h)&&nd(f)){const b=n.get(h)||[],v=n.get(f)||[];b.push({obj:e,key:p}),v.push({obj:t,key:p}),n.set(h,b),n.set(f,v)}o[p]=IR(o[p],u,r,n)}}}}else o=t;return o}}function PR(e,t,r){const n=r.get(e[t])||[];for(let o=0,a=n.length;o<a;o++){const i=n[o];if(i.key===t&&i.obj===e)return!0}return!1}function xm(e){return Array.isArray(e)}function MR(e){return typeof e=="function"}function nd(e){return!wm(e)&&!xm(e)&&!MR(e)&&typeof e=="object"}function wm(e){return typeof e=="string"||typeof e=="number"||typeof e=="boolean"||typeof e>"u"||e instanceof Date||e instanceof RegExp||e===null}function Gue(e,t){return!(!NR(e)||!NR(t))}function Wue(e,t){return typeof t=="string"?e===t:!!e.match(t)}class Yue{_promise;_resolve;_reject;constructor(){this._promise=new Promise((t,r)=>{this._resolve=t,this._reject=r})}get promise(){return this._promise}resolve(t){this._resolve(t)}reject(t){this._reject(t)}}class DR{_isCalled=!1;_deferred=new Yue;_callback;_that;constructor(t,r){this._callback=t,this._that=r}get isCalled(){return this._isCalled}get promise(){return this._deferred.promise}call(...t){if(!this._isCalled){this._isCalled=!0;try{Promise.resolve(this._callback.call(this._that,...t)).then(r=>this._deferred.resolve(r),r=>this._deferred.reject(r))}catch(r){this._deferred.reject(r)}}return this._deferred.promise}}function Kue(e,t){return new Promise(r=>{Po.with(K9(Po.active()),()=>{e.export(t,r)})})}const Jue={_export:Kue};let Sm;function $R(){if(Sm===void 0)try{const e=globalThis.process.argv0;Sm=e?`unknown_service:${e}`:"unknown_service"}catch{Sm="unknown_service"}return Sm}const od=e=>e!==null&&typeof e=="object"&&typeof e.then=="function";class fh{_rawAttributes;_asyncAttributesPending=!1;_schemaUrl;_memoizedAttributes;static FromAttributeList(t,r){const n=new fh({},r);return n._rawAttributes=UR(t),n._asyncAttributesPending=t.filter(([o,a])=>od(a)).length>0,n}constructor(t,r){const n=t.attributes??{};this._rawAttributes=Object.entries(n).map(([o,a])=>(od(a)&&(this._asyncAttributesPending=!0),[o,a])),this._rawAttributes=UR(this._rawAttributes),this._schemaUrl=Zue(r?.schemaUrl)}get asyncAttributesPending(){return this._asyncAttributesPending}async waitForAsyncAttributes(){if(this.asyncAttributesPending){for(let t=0;t<this._rawAttributes.length;t++){const[r,n]=this._rawAttributes[t];this._rawAttributes[t]=[r,od(n)?await n:n]}this._asyncAttributesPending=!1}}get attributes(){if(this.asyncAttributesPending&&ct.error("Accessing resource attributes before async attributes settled"),this._memoizedAttributes)return this._memoizedAttributes;const t={};for(const[r,n]of this._rawAttributes){if(od(n)){ct.debug(`Unsettled resource attribute ${r} skipped`);continue}n!=null&&(t[r]??=n)}return this._asyncAttributesPending||(this._memoizedAttributes=t),t}getRawAttributes(){return this._rawAttributes}get schemaUrl(){return this._schemaUrl}merge(t){if(t==null)return this;const r=Xue(this,t),n=r?{schemaUrl:r}:void 0;return fh.FromAttributeList([...t.getRawAttributes(),...this.getRawAttributes()],n)}}function Cm(e,t){return fh.FromAttributeList(Object.entries(e),t)}function Que(e,t){return new fh(e,t)}function vy(){return Cm({})}function zR(){return Cm({[uy]:$R(),[gm]:dy[gm],[bm]:dy[bm],[vm]:dy[vm]})}function UR(e){return e.map(([t,r])=>od(r)?[t,r.catch(n=>{ct.debug("promise rejection for resource attribute: %s - %s",t,n)})]:[t,r])}function Zue(e){if(typeof e=="string"||e===void 0)return e;ct.warn("Schema URL must be string or undefined, got %s. Schema URL will be ignored.",e)}function Xue(e,t){const r=e?.schemaUrl,n=t?.schemaUrl,o=r===void 0||r==="",a=n===void 0||n==="";if(o)return n;if(a||r===n)return r;ct.warn('Schema URL merge conflict: old resource has "%s", updating resource has "%s". Resulting resource will have undefined Schema URL.',r,n)}const ede=(e={})=>(e.detectors||[]).map(t=>{try{const r=Que(t.detect(e));return ct.debug(`${t.constructor.name} found resource.`,r),r}catch(r){return ct.debug(`${t.constructor.name} failed: ${r.message}`),vy()}}).reduce((t,r)=>t.merge(r),vy());class tde{_MAX_LENGTH=255;_COMMA_SEPARATOR=",";_LABEL_KEY_VALUE_SPLITTER="=";detect(t){return{attributes:{}}}_parseResourceAttributes(t){if(!t)return{};const r={},n=t.split(this._COMMA_SEPARATOR).filter(o=>o.trim()!=="");for(const o of n){const a=o.split(this._LABEL_KEY_VALUE_SPLITTER);if(a.length!==2)throw new Error(`Invalid format for OTEL_RESOURCE_ATTRIBUTES: "${o}". Expected format: key=value. The ',' and '=' characters must be percent-encoded in keys and values.`);const[i,l]=a,p=i.trim(),u=l.trim();if(p.length===0)throw new Error(`Invalid OTEL_RESOURCE_ATTRIBUTES: empty attribute key in "${o}".`);let h,f;try{h=decodeURIComponent(p),f=decodeURIComponent(u)}catch(b){throw new Error(`Failed to percent-decode OTEL_RESOURCE_ATTRIBUTES entry "${o}": ${b instanceof Error?b.message:b}`,{cause:b})}if(h.length>this._MAX_LENGTH)throw new Error(`Attribute key exceeds the maximum length of ${this._MAX_LENGTH} characters: "${h}".`);if(f.length>this._MAX_LENGTH)throw new Error(`Attribute value exceeds the maximum length of ${this._MAX_LENGTH} characters for key "${h}".`);r[h]=f}return r}}const rde=new tde;class nde{detect(){return{attributes:{}}}}const km=new nde,ode=km,ade=km,ide=km,sde=km,lde=Object.freeze(Object.defineProperty({__proto__:null,defaultResource:zR,defaultServiceName:$R,detectResources:ede,emptyResource:vy,envDetector:rde,hostDetector:ode,osDetector:ade,processDetector:ide,resourceFromAttributes:Cm,serviceInstanceIdDetector:sde},Symbol.toStringTag,{value:"Module"})),cde="exception",yy=Symbol.for("nodejs.util.inspect.custom");function xy(e){const t={};for(const[r,n]of e.getRawAttributes())typeof n?.then!="function"&&n!=null&&(t[r]??=n);return t}function wy(e,t,r,n,o){if(typeof r=="number"&&r<0){const i=`[${e}]`;return n?.stylize?n.stylize(i,"special"):i}if(typeof o!="function"||!n)return t;const a={...n,depth:n.depth==null?n.depth:n.depth-1};return`${e} ${o(t,a)}`}class pde{_spanContext;kind;parentSpanContext;attributes={};links=[];events=[];startTime;resource;instrumentationScope;_droppedAttributesCount=0;_droppedEventsCount=0;_droppedLinksCount=0;_attributesCount=0;name;status={code:ns.UNSET};endTime=[0,0];_ended=!1;_duration=[-1,-1];_spanProcessor;_spanLimits;_attributeValueLengthLimit;_recordEndMetrics;_performanceStartTime;_performanceOffset;_startTimeProvided;constructor(t){const r=Date.now();if(this._spanContext=t.spanContext,this._performanceStartTime=dl.now(),this._performanceOffset=r-(this._performanceStartTime+dl.timeOrigin),this._startTimeProvided=t.startTime!=null,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,t.links)for(const n of t.links)this.addLink(n);this.startTime=this._getTime(t.startTime??r),this.resource=t.resource,this.instrumentationScope=t.scope,this._recordEndMetrics=t.recordEndMetrics,t.attributes!=null&&this.setAttributes(t.attributes),this._spanProcessor.onStart(this,t.context)}spanContext(){return this._spanContext}setAttribute(t,r){if(r==null||this._isSpanEnded())return this;if(t.length===0)return ct.warn(`Invalid attribute key: ${t}`),this;if(!r_(r))return ct.warn(`Invalid attribute value set for key: ${t}`),this;const{attributeCountLimit:n}=this._spanLimits,o=!Object.prototype.hasOwnProperty.call(this.attributes,t);return n!==void 0&&this._attributesCount>=n&&o?(this._droppedAttributesCount++,this):(this.attributes[t]=this._truncateToSize(r),o&&this._attributesCount++,this)}setAttributes(t){for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&this.setAttribute(r,t[r]);return this}addEvent(t,r,n){if(this._isSpanEnded())return this;const{eventCountLimit:o}=this._spanLimits;if(o===0)return ct.warn("No events allowed."),this._droppedEventsCount++,this;o!==void 0&&this.events.length>=o&&(this._droppedEventsCount===0&&ct.debug("Dropping extra events."),this.events.shift(),this._droppedEventsCount++),SR(r)&&(SR(n)||(n=r),r=void 0);const a=td(r),{attributePerEventCountLimit:i}=this._spanLimits,l={};let p=0,u=0;for(const h in a){if(!Object.prototype.hasOwnProperty.call(a,h))continue;const f=a[h];if(i!==void 0&&u>=i){p++;continue}l[h]=this._truncateToSize(f),u++}return this.events.push({name:t,attributes:l,time:this._getTime(n),droppedAttributesCount:p}),this}addLink(t){if(this._isSpanEnded())return this;const{linkCountLimit:r}=this._spanLimits;if(r===0)return this._droppedLinksCount++,this;r!==void 0&&this.links.length>=r&&(this._droppedLinksCount===0&&ct.debug("Dropping extra links."),this.links.shift(),this._droppedLinksCount++);const{attributePerLinkCountLimit:n}=this._spanLimits,o=td(t.attributes),a={};let i=0,l=0;for(const u in o){if(!Object.prototype.hasOwnProperty.call(o,u))continue;const h=o[u];if(n!==void 0&&l>=n){i++;continue}a[u]=this._truncateToSize(h),l++}const p={context:t.context};return l>0&&(p.attributes=a),i>0&&(p.droppedAttributesCount=i),this.links.push(p),this}addLinks(t){for(const r of t)this.addLink(r);return this}setStatus(t){if(this._isSpanEnded())return this;if(t.code===ns.UNSET)return this;if(this.status.code===ns.OK)return this;const r={code:t.code};return t.code===ns.ERROR&&(typeof t.message=="string"?r.message=t.message:t.message!=null&&ct.warn(`Dropping invalid status.message of type '${typeof t.message}', expected 'string'`)),this.status=r,this}updateName(t){return this._isSpanEnded()?this:(this.name=t,this)}end(t){if(this._isSpanEnded()){ct.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);return}this.endTime=this._getTime(t),this._duration=vue(this.startTime,this.endTime),this._duration[0]<0&&(ct.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&&ct.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`),this._droppedLinksCount>0&&ct.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(t){if(typeof t=="number"&&t<=dl.now())return xR(t+this._performanceOffset);if(typeof t=="number")return os(t);if(t instanceof Date)return os(t.getTime());if(hy(t))return t;if(this._startTimeProvided)return os(Date.now());const r=dl.now()-this._performanceStartTime;return CR(this.startTime,os(r))}isRecording(){return this._ended===!1}recordException(t,r){const n={};typeof t=="string"?n[fm]=t:t&&(t.code?n[mm]=t.code.toString():t.name&&(n[mm]=t.name),t.message&&(n[fm]=t.message),t.stack&&(n[bR]=t.stack)),n[mm]||n[fm]?this.addEvent(cde,n,r):ct.warn(`Failed to record an exception ${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: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`);ct.warn(`Cannot execute the operation on ended Span {traceId: ${this._spanContext.traceId}, spanId: ${this._spanContext.spanId}}`,t)}return this._ended}_truncateToLimitUtil(t,r){return t.length<=r?t:t.substring(0,r)}_truncateToSize(t){const r=this._attributeValueLengthLimit;return r<=0?(ct.warn(`Attribute value limit must be positive, got ${r}`),t):typeof t=="string"?this._truncateToLimitUtil(t,r):Array.isArray(t)?t.map(n=>typeof n=="string"?this._truncateToLimitUtil(n,r):n):t}[yy](t,r,n){const o={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:xy(this.resource)}};return wy("SpanImpl",o,t,r,n)}}var ra;(function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})(ra||(ra={}));class ad{shouldSample(){return{decision:ra.NOT_RECORD}}toString(){return"AlwaysOffSampler"}}class fl{shouldSample(){return{decision:ra.RECORD_AND_SAMPLED}}toString(){return"AlwaysOnSampler"}}class id{_root;_remoteParentSampled;_remoteParentNotSampled;_localParentSampled;_localParentNotSampled;constructor(t){this._root=t.root,this._root||(ul(new Error("ParentBasedSampler must have a root sampler configured")),this._root=new fl),this._remoteParentSampled=t.remoteParentSampled??new fl,this._remoteParentNotSampled=t.remoteParentNotSampled??new ad,this._localParentSampled=t.localParentSampled??new fl,this._localParentNotSampled=t.localParentNotSampled??new ad}shouldSample(t,r,n,o,a,i){const l=On.getSpanContext(t);return!l||!Zu(l)?this._root.shouldSample(t,r,n,o,a,i):l.isRemote?l.traceFlags&ta.SAMPLED?this._remoteParentSampled.shouldSample(t,r,n,o,a,i):this._remoteParentNotSampled.shouldSample(t,r,n,o,a,i):l.traceFlags&ta.SAMPLED?this._localParentSampled.shouldSample(t,r,n,o,a,i):this._localParentNotSampled.shouldSample(t,r,n,o,a,i)}toString(){return`ParentBased{root=${this._root.toString()}, remoteParentSampled=${this._remoteParentSampled.toString()}, remoteParentNotSampled=${this._remoteParentNotSampled.toString()}, localParentSampled=${this._localParentSampled.toString()}, localParentNotSampled=${this._localParentNotSampled.toString()}}`}}class Sy{_ratio;_upperBound;constructor(t=0){this._ratio=this._normalize(t),this._upperBound=Math.floor(this._ratio*4294967295)}shouldSample(t,r){return{decision:ty(r)&&this._accumulate(r)<this._upperBound?ra.RECORD_AND_SAMPLED:ra.NOT_RECORD}}toString(){return`TraceIdRatioBased{${this._ratio}}`}_normalize(t){return typeof t!="number"||isNaN(t)?0:t>=1?1:t<=0?0:t}_accumulate(t){let r=0;for(let n=0;n<32;n+=8){let o=0;for(let a=0;a<8;a++){const i=t.charCodeAt(n+a),l=i<58?i-48:i<71?i-55:i-87;o=o<<4|l}r=(r^o)>>>0}return r}}var Aa;(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"})(Aa||(Aa={}));const FR=1;function BR(){return{sampler:qR(),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128},spanLimits:{attributeValueLengthLimit:1/0,attributeCountLimit:128,linkCountLimit:128,eventCountLimit:128,attributePerEventCountLimit:128,attributePerLinkCountLimit:128}}}function qR(){const e=Aa.ParentBasedAlwaysOn;switch(e){case Aa.AlwaysOn:return new fl;case Aa.AlwaysOff:return new ad;case Aa.ParentBasedAlwaysOn:return new id({root:new fl});case Aa.ParentBasedAlwaysOff:return new id({root:new ad});case Aa.TraceIdRatio:return new Sy(HR());case Aa.ParentBasedTraceIdRatio:return new id({root:new Sy(HR())});default:return ct.error(`OTEL_TRACES_SAMPLER value "${e}" invalid, defaulting to "${Aa.ParentBasedAlwaysOn}".`),new id({root:new fl})}}function HR(){return ct.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${FR}.`),FR}const ude=128,dde=1/0;function hde(e){const t={sampler:qR()},r=BR(),n=Object.assign({},r,t,e);return n.generalLimits=Object.assign({},r.generalLimits,e.generalLimits||{}),n.spanLimits=Object.assign({},r.spanLimits,e.spanLimits||{}),n}function fde(e){const t=Object.assign({},e.spanLimits);return t.attributeCountLimit=e.spanLimits?.attributeCountLimit??e.generalLimits?.attributeCountLimit??void 0??void 0??ude,t.attributeValueLengthLimit=e.spanLimits?.attributeValueLengthLimit??e.generalLimits?.attributeValueLengthLimit??void 0??void 0??dde,Object.assign({},e,{spanLimits:t})}class mde{_maxExportBatchSize;_maxQueueSize;_scheduledDelayMillis;_exportTimeoutMillis;_exporter;_isExporting=!1;_finishedSpans=[];_timer;_shutdownOnce;_droppedSpansCount=0;constructor(t,r){this._exporter=t,this._maxExportBatchSize=typeof r?.maxExportBatchSize=="number"?r.maxExportBatchSize:512,this._maxQueueSize=typeof r?.maxQueueSize=="number"?r.maxQueueSize:2048,this._scheduledDelayMillis=typeof r?.scheduledDelayMillis=="number"?r.scheduledDelayMillis:5e3,this._exportTimeoutMillis=typeof r?.exportTimeoutMillis=="number"?r.exportTimeoutMillis:3e4,this._shutdownOnce=new DR(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(ct.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,r){}onEnd(t){this._shutdownOnce.isCalled||(t.spanContext().traceFlags&ta.SAMPLED)!==0&&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){this._droppedSpansCount===0&&ct.debug("maxQueueSize reached, dropping spans"),this._droppedSpansCount++;return}this._droppedSpansCount>0&&(ct.warn(`Dropped ${this._droppedSpansCount} spans because maxQueueSize reached`),this._droppedSpansCount=0),this._finishedSpans.push(t),this._maybeStartTimer()}_flushAll(){return new Promise((t,r)=>{const n=[],o=Math.ceil(this._finishedSpans.length/this._maxExportBatchSize);for(let a=0,i=o;a<i;a++)n.push(this._flushOneBatch());Promise.all(n).then(()=>{t()}).catch(r)})}_flushOneBatch(){return this._clearTimer(),this._finishedSpans.length===0?Promise.resolve():new Promise((t,r)=>{const n=setTimeout(()=>{r(new Error("Timeout"))},this._exportTimeoutMillis);Po.with(K9(Po.active()),()=>{let o;this._finishedSpans.length<=this._maxExportBatchSize?(o=this._finishedSpans,this._finishedSpans=[]):o=this._finishedSpans.splice(0,this._maxExportBatchSize);const a=()=>this._exporter.export(o,l=>{clearTimeout(n),l.code===Gn.SUCCESS?t():r(l.error??new Error("BatchSpanProcessor: span export failed"))});let i=null;for(let l=0,p=o.length;l<p;l++){const u=o[l];u.resource.asyncAttributesPending&&u.resource.waitForAsyncAttributes&&(i??=[],i.push(u.resource.waitForAsyncAttributes()))}i===null?a():Promise.all(i).then(a,l=>{ul(l),r(l)})})})}_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(r=>{this._isExporting=!1,ul(r)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return t();this._timer===void 0&&(this._timer=setTimeout(()=>t(),this._scheduledDelayMillis),typeof this._timer!="number"&&this._timer.unref())}_clearTimer(){this._timer!==void 0&&(clearTimeout(this._timer),this._timer=void 0)}}class VR extends mde{_visibilityChangeListener;_pageHideListener;constructor(t,r){super(t,r),this.onInit(r)}onInit(t){t?.disableAutoFlushOnDocumentHide!==!0&&typeof document<"u"&&(this._visibilityChangeListener=()=>{document.visibilityState==="hidden"&&this.forceFlush().catch(r=>{ul(r)})},this._pageHideListener=()=>{this.forceFlush().catch(r=>{ul(r)})},document.addEventListener("visibilitychange",this._visibilityChangeListener),document.addEventListener("pagehide",this._pageHideListener))}onShutdown(){typeof document<"u"&&(this._visibilityChangeListener&&document.removeEventListener("visibilitychange",this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener("pagehide",this._pageHideListener))}}const gde=16,bde=8,GR=new Uint8Array(gde),WR=new Uint8Array(bde),vde=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function YR(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 KR(e){let t="";for(let r=0;r<e.length;r++)t+=vde[e[r]];return t}class JR{generateTraceId(){return YR(GR),KR(GR)}generateSpanId(){return YR(WR),KR(WR)}}const yde="otel.span.parent.origin",QR="otel.span.sampling_result",xde="otel.sdk.span.live",wde="otel.sdk.span.started";class Sde{startedSpans;liveSpans;constructor(t){this.startedSpans=t.createCounter(wde,{unit:"{span}",description:"The number of created spans."}),this.liveSpans=t.createUpDownCounter(xde,{unit:"{span}",description:"The number of currently live spans."})}startSpan(t,r){const n=kde(r);if(this.startedSpans.add(1,{[yde]:Cde(t),[QR]:n}),r===ra.NOT_RECORD)return()=>{};const o={[QR]:n};return this.liveSpans.add(1,o),()=>{this.liveSpans.add(-1,o)}}}function Cde(e){return e?e.isRemote?"remote":"local":"none"}function kde(e){switch(e){case ra.RECORD_AND_SAMPLED:return"RECORD_AND_SAMPLE";case ra.RECORD:return"RECORD_ONLY";case ra.NOT_RECORD:return"DROP"}}const _de="2.8.0";class Ade{_sampler;_generalLimits;_spanLimits;_idGenerator;instrumentationScope;_resource;_spanProcessor;_tracerMetrics;constructor(t,r,n,o){const a=hde(r);this._sampler=a.sampler,this._generalLimits=a.generalLimits,this._spanLimits=a.spanLimits,this._idGenerator=r.idGenerator||new JR,this._resource=n,this._spanProcessor=o,this.instrumentationScope=t;const i=a.meterProvider?a.meterProvider.getMeter("@opentelemetry/sdk-trace",_de):M9();this._tracerMetrics=new Sde(i)}startSpan(t,r={},n=Po.active()){r.root&&(n=On.deleteSpan(n));const o=On.getSpan(n);if(cy(n))return ct.debug("Instrumentation suppressed, returning Noop Span"),On.wrapSpanContext(Q0);const a=o?.spanContext(),i=this._idGenerator.generateSpanId();let l,p,u;!a||!On.isSpanContextValid(a)?p=this._idGenerator.generateTraceId():(p=a.traceId,u=a.traceState,l=a);const h=r.kind??ed.INTERNAL,f=(r.links??[]).map(_=>({context:_.context,attributes:td(_.attributes)})),b=td(r.attributes),v=this._sampler.shouldSample(n,p,t,h,b,f),y=this._tracerMetrics.startSpan(a,v.decision);u=v.traceState??u;const x=v.decision===Xu.RECORD_AND_SAMPLED?ta.SAMPLED:ta.NONE,k={traceId:p,spanId:i,traceFlags:x,traceState:u};if(v.decision===Xu.NOT_RECORD)return ct.debug("Recording is off, propagating context in a non-recording span"),On.wrapSpanContext(k);const w=td(Object.assign(b,v.attributes));return new pde({resource:this._resource,scope:this.instrumentationScope,context:n,spanContext:k,name:t,kind:h,links:f,parentSpanContext:l,attributes:w,startTime:r.startTime,spanProcessor:this._spanProcessor,spanLimits:this._spanLimits,recordEndMetrics:y})}startActiveSpan(t,r,n,o){let a,i,l;if(arguments.length<2)return;arguments.length===2?l=r:arguments.length===3?(a=r,l=n):(a=r,i=n,l=o);const p=i??Po.active(),u=this.startSpan(t,a,p),h=On.setSpan(p,u);return Po.with(h,l,void 0,u)}getGeneralLimits(){return this._generalLimits}getSpanLimits(){return this._spanLimits}[yy](t,r,n){const o={instrumentationScope:this.instrumentationScope,resource:{attributes:xy(this._resource)},spanLimits:this._spanLimits,generalLimits:this._generalLimits};return wy("Tracer",o,t,r,n)}}class Ede{_spanProcessors;constructor(t){this._spanProcessors=t}forceFlush(){const t=[];for(const r of this._spanProcessors)t.push(r.forceFlush());return new Promise(r=>{Promise.all(t).then(()=>{r()}).catch(n=>{ul(n||new Error("MultiSpanProcessor: forceFlush failed")),r()})})}onStart(t,r){for(const n of this._spanProcessors)n.onStart(t,r)}onEnding(t){for(const r of this._spanProcessors)r.onEnding&&r.onEnding(t)}onEnd(t){for(const r of this._spanProcessors)r.onEnd(t)}shutdown(){const t=[];for(const r of this._spanProcessors)t.push(r.shutdown());return new Promise((r,n)=>{Promise.all(t).then(()=>{r()},n)})}}var ml;(function(e){e[e.resolved=0]="resolved",e[e.timeout=1]="timeout",e[e.error=2]="error",e[e.unresolved=3]="unresolved"})(ml||(ml={}));class ZR{_config;_tracers=new Map;_resource;_activeSpanProcessor;constructor(t={}){const r=Vue({},BR(),fde(t));this._resource=r.resource??zR(),this._config=Object.assign({},r,{resource:this._resource});const n=[];t.spanProcessors?.length&&n.push(...t.spanProcessors),this._activeSpanProcessor=new Ede(n)}getTracer(t,r,n){const o=`${t}@${r||""}:${n?.schemaUrl||""}`;return this._tracers.has(o)||this._tracers.set(o,new Ade({name:t,version:r,schemaUrl:n?.schemaUrl},this._config,this._resource,this._activeSpanProcessor)),this._tracers.get(o)}forceFlush(){const t=this._config.forceFlushTimeoutMillis,r=this._activeSpanProcessor._spanProcessors.map(n=>new Promise(o=>{let a;const i=setTimeout(()=>{o(new Error(`Span processor did not completed within timeout period of ${t} ms`)),a=ml.timeout},t);n.forceFlush().then(()=>{clearTimeout(i),a!==ml.timeout&&(a=ml.resolved,o(a))}).catch(l=>{clearTimeout(i),a=ml.error,o(l)})}));return new Promise((n,o)=>{Promise.all(r).then(a=>{const i=a.filter(l=>l!==ml.resolved);i.length>0?o(i):n()}).catch(a=>o([a]))})}shutdown(){return this._activeSpanProcessor.shutdown()}[yy](t,r,n){const o=this._activeSpanProcessor._spanProcessors,a={resource:{attributes:xy(this._resource)},tracers:Array.from(this._tracers.keys()),spanProcessors:o.map(i=>i.constructor?.name??"SpanProcessor")};return wy("BasicTracerProvider",a,t,r,n)}}class Tde{export(t,r){return this._sendSpans(t,r)}shutdown(){return this._sendSpans([]),this.forceFlush()}forceFlush(){return Promise.resolve()}_exportInfo(t){return{resource:{attributes:t.resource.attributes},instrumentationScope:t.instrumentationScope,traceId:t.spanContext().traceId,parentSpanContext:t.parentSpanContext,traceState:t.spanContext().traceState?.serialize(),name:t.name,id:t.spanContext().spanId,kind:t.kind,timestamp:wR(t.startTime),duration:wR(t.duration),attributes:t.attributes,status:t.status,events:t.events,links:t.links}}_sendSpans(t,r){for(const n of t)console.dir(this._exportInfo(n),{depth:3});if(r)return r({code:Gn.SUCCESS})}}class Ode{_finishedSpans=[];_stopped=!1;export(t,r){if(this._stopped)return r({code:Gn.FAILED,error:new Error("Exporter has been stopped")});this._finishedSpans.push(...t),setTimeout(()=>r({code:Gn.SUCCESS}),0)}shutdown(){return this._stopped=!0,this._finishedSpans=[],this.forceFlush()}forceFlush(){return Promise.resolve()}reset(){this._finishedSpans=[]}getFinishedSpans(){return this._finishedSpans}}class Rde{_exporter;_shutdownOnce;_pendingExports;constructor(t){this._exporter=t,this._shutdownOnce=new DR(this._shutdown,this),this._pendingExports=new Set}async forceFlush(){await Promise.all(Array.from(this._pendingExports)),this._exporter.forceFlush&&await this._exporter.forceFlush()}onStart(t,r){}onEnd(t){if(this._shutdownOnce.isCalled||(t.spanContext().traceFlags&ta.SAMPLED)===0)return;const r=this._doExport(t).catch(n=>ul(n));this._pendingExports.add(r),r.finally(()=>this._pendingExports.delete(r))}async _doExport(t){t.resource.asyncAttributesPending&&await t.resource.waitForAsyncAttributes?.();const r=await Jue._export(this._exporter,[t]);if(r.code!==Gn.SUCCESS)throw r.error??new Error(`SimpleSpanProcessor: span export failed (status ${r})`)}shutdown(){return this._shutdownOnce.call()}_shutdown(){return this._exporter.shutdown()}}class jde{onStart(t,r){}onEnd(t){}shutdown(){return Promise.resolve()}forceFlush(){return Promise.resolve()}}class XR{_enabled=!1;_currentContext=cl;_bindFunction(t=cl,r){const n=this,o=function(...a){return n.with(t,()=>r.apply(this,a))};return Object.defineProperty(o,"length",{enumerable:!1,configurable:!0,writable:!1,value:r.length}),o}active(){return this._currentContext}bind(t,r){return t===void 0&&(t=this.active()),typeof r=="function"?this._bindFunction(t,r):r}disable(){return this._currentContext=cl,this._enabled=!1,this}enable(){return this._enabled?this:(this._enabled=!0,this._currentContext=cl,this)}with(t,r,n,...o){const a=this._currentContext;this._currentContext=t||cl;try{return r.call(n,...o)}finally{this._currentContext=a}}}function Lde(e){if(e!==null){if(e===void 0){const t=new XR;t.enable(),Po.setGlobalContextManager(t);return}e.enable(),Po.setGlobalContextManager(e)}}function Nde(e){if(e!==null){if(e===void 0){pl.setGlobalPropagator(new yue({propagators:[new Nue,new see]}));return}pl.setGlobalPropagator(e)}}class ej extends ZR{constructor(t={}){super(t)}register(t={}){On.setGlobalTracerProvider(this),Nde(t.propagator),Lde(t.contextManager)}}var xr;(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"})(xr||(xr={}));const Ide="http.response_content_length",Pde="http.response_content_length_uncompressed";let Cy;function Mde(){return Cy||(Cy=document.createElement("a")),Cy}function tj(e,t){return t in e}function Ea(e,t,r,n=!0){if(tj(r,t)&&typeof r[t]=="number"&&!(n&&r[t]===0))return e.addEvent(t,r[t])}function Dde(e,t,r=!1,n,o){if(n===void 0&&(n=t[xr.START_TIME]!==0),r||(Ea(e,xr.FETCH_START,t,n),Ea(e,xr.DOMAIN_LOOKUP_START,t,n),Ea(e,xr.DOMAIN_LOOKUP_END,t,n),Ea(e,xr.CONNECT_START,t,n),Ea(e,xr.SECURE_CONNECTION_START,t,n),Ea(e,xr.CONNECT_END,t,n),Ea(e,xr.REQUEST_START,t,n),Ea(e,xr.RESPONSE_START,t,n),Ea(e,xr.RESPONSE_END,t,n)),!o){const a=t[xr.ENCODED_BODY_SIZE];a!==void 0&&e.setAttribute(Ide,a);const i=t[xr.DECODED_BODY_SIZE];i!==void 0&&a!==i&&e.setAttribute(Pde,i)}}function rj(e){return e.slice().sort((t,r)=>{const n=t[xr.FETCH_START],o=r[xr.FETCH_START];return n>o?1:n<o?-1:0})}function nj(){return typeof location<"u"?location.origin:void 0}function $de(e,t,r,n,o=new WeakSet,a){const i=_m(e);e=i.toString();const l=Ude(e,t,r,n,o,a);if(l.length===0)return{mainRequest:void 0};if(l.length===1)return{mainRequest:l[0]};const p=rj(l);if(i.origin!==nj()&&p.length>1){let u=p[0],h=zde(p,u[xr.RESPONSE_END],r);const f=u[xr.RESPONSE_END];return h[xr.FETCH_START]<f&&(h=u,u=void 0),{corsPreFlightRequest:u,mainRequest:h}}else return{mainRequest:l[0]}}function zde(e,t,r){const n=fi(r),o=fi(rd(t));let a=e[1],i;const l=e.length;for(let p=1;p<l;p++){const u=e[p],h=fi(rd(u[xr.FETCH_START])),f=fi(rd(u[xr.RESPONSE_END])),b=n-f;h>=o&&(!i||b<i)&&(i=b,a=u)}return a}function Ude(e,t,r,n,o,a){const i=fi(t),l=fi(r);let p=n.filter(u=>{const h=fi(rd(u[xr.FETCH_START])),f=fi(rd(u[xr.RESPONSE_END]));return u.initiatorType.toLowerCase()===(a||"xmlhttprequest")&&u.name===e&&h>=i&&f<=l});return p.length>0&&(p=p.filter(u=>!o.has(u))),p}function _m(e){if(typeof URL=="function")return new URL(e,typeof document<"u"?document.baseURI:typeof location<"u"?location.href:void 0);const t=Mde();return t.href=e,t}function Fde(e){return _m(e).href}function oj(e,t){if(e.nodeType===Node.DOCUMENT_NODE)return"/";const r=qde(e,t);if(t&&r.indexOf("@id")>0)return r;let n="";return e.parentNode&&(n+=oj(e.parentNode,t)),n+=r,n}function Bde(e){if(!e.parentNode)return 0;const t=[e.nodeType];e.nodeType===Node.CDATA_SECTION_NODE&&t.push(Node.TEXT_NODE);let r=Array.from(e.parentNode.childNodes);return r=r.filter(n=>{const o=n.localName;return t.indexOf(n.nodeType)>=0&&o===e.localName}),r.length>=1?r.indexOf(e)+1:0}function qde(e,t){const r=e.nodeType,n=Bde(e);let o;if(r===Node.ELEMENT_NODE){const a=e.getAttribute("id");if(t&&a)return`//*[@id="${a}"]`;o=e.localName}else if(r===Node.TEXT_NODE||r===Node.CDATA_SECTION_NODE)o="text()";else if(r===Node.COMMENT_NODE)o="comment()";else return"";return o&&n>1?`/${o}[${n}]`:`/${o}`}function Hde(e,t){let r=t||[];return(typeof r=="string"||r instanceof RegExp)&&(r=[r]),_m(e).origin===nj()?!0:r.some(n=>Wue(e,n))}const Vde=Object.freeze(Object.defineProperty({__proto__:null,AlwaysOffSampler:ad,AlwaysOnSampler:fl,BasicTracerProvider:ZR,BatchSpanProcessor:VR,ConsoleSpanExporter:Tde,InMemorySpanExporter:Ode,NoopSpanProcessor:jde,ParentBasedSampler:id,get PerformanceTimingNames(){return xr},RandomIdGenerator:JR,get SamplingDecision(){return ra},SimpleSpanProcessor:Rde,StackContextManager:XR,TraceIdRatioBasedSampler:Sy,WebTracerProvider:ej,addSpanNetworkEvent:Ea,addSpanNetworkEvents:Dde,getElementXPath:oj,getResource:$de,hasKey:tj,normalizeUrl:Fde,parseUrl:_m,shouldPropagateTraceHeaders:Hde,sortResources:rj},Symbol.toStringTag,{value:"Module"})),Gde=Sa(Vde),Wde=Sa(lde);class Yde{_delegate;constructor(t){this._delegate=t}export(t,r){this._delegate.export(t,r)}forceFlush(){return this._delegate.forceFlush()}shutdown(){return this._delegate.shutdown()}}class aj extends Error{code;name="OTLPExporterError";data;constructor(t,r,n){super(t),this.data=n,this.code=r}}function Kde(e){if(Number.isFinite(e)&&e>0)return e;throw new Error(`Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '${e}')`)}function Jde(e){if(e!=null)return async()=>e}function Qde(e,t,r){return{timeoutMillis:Kde(e.timeoutMillis??t.timeoutMillis??r.timeoutMillis),concurrencyLimit:e.concurrencyLimit??t.concurrencyLimit??r.concurrencyLimit,compression:e.compression??t.compression??r.compression}}function Zde(){return{timeoutMillis:1e4,concurrencyLimit:30,compression:"none"}}class Xde{_concurrencyLimit;_sendingPromises=[];constructor(t){this._concurrencyLimit=t}pushPromise(t){if(this.hasReachedLimit())throw new Error("Concurrency Limit reached");this._sendingPromises.push(t);const r=()=>{const n=this._sendingPromises.indexOf(t);this._sendingPromises.splice(n,1)};t.then(r,r)}hasReachedLimit(){return this._sendingPromises.length>=this._concurrencyLimit}async awaitAll(){await Promise.all(this._sendingPromises)}}function ehe(e){return new Xde(e.concurrencyLimit)}function the(e){return Object.prototype.hasOwnProperty.call(e,"partialSuccess")}function rhe(){return{handleResponse(e){e==null||!the(e)||e.partialSuccess==null||Object.keys(e.partialSuccess).length===0||ct.warn("Received Partial Success response:",JSON.stringify(e.partialSuccess))}}}class nhe{_diagLogger;_transport;_serializer;_responseHandler;_promiseQueue;_timeout;constructor(t,r,n,o,a){this._transport=t,this._serializer=r,this._responseHandler=n,this._promiseQueue=o,this._timeout=a,this._diagLogger=ct.createComponentLogger({namespace:"OTLPExportDelegate"})}export(t,r){if(this._diagLogger.debug("items to be sent",t),this._promiseQueue.hasReachedLimit()){r({code:Gn.FAILED,error:new Error("Concurrent export limit reached")});return}const n=this._serializer.serializeRequest(t);if(n==null){r({code:Gn.FAILED,error:new Error("Nothing to send")});return}this._promiseQueue.pushPromise(this._transport.send(n,this._timeout).then(o=>{if(o.status==="success"){if(o.data!=null)try{this._responseHandler.handleResponse(this._serializer.deserializeResponse(o.data))}catch(a){this._diagLogger.warn("Export succeeded but could not deserialize response - is the response specification compliant?",a,o.data)}r({code:Gn.SUCCESS});return}else if(o.status==="failure"&&o.error){r({code:Gn.FAILED,error:o.error});return}else o.status==="retryable"?r({code:Gn.FAILED,error:o.error??new aj("Export failed with retryable status")}):r({code:Gn.FAILED,error:new aj("Export failed with unknown error")})},o=>r({code:Gn.FAILED,error:o})))}forceFlush(){return this._promiseQueue.awaitAll()}async shutdown(){this._diagLogger.debug("shutdown started"),await this.forceFlush(),this._transport.shutdown()}}function ohe(e,t){return new nhe(e.transport,e.serializer,rhe(),e.promiseHandler,t.timeout)}function ahe(e,t,r){return ohe({transport:r,serializer:t,promiseHandler:ehe(e)},{timeout:e.timeoutMillis})}class ij{emit(t){}enabled(){return!1}}const ihe=new ij,Am=Symbol.for("io.opentelemetry.js.api.logs"),sd=globalThis;function she(e,t,r){return n=>n===e?t:r}const sj=1;class lhe{getLogger(t,r,n){return new ij}}const lj=new lhe;class che{constructor(t,r,n,o){this._provider=t,this.name=r,this.version=n,this.options=o}emit(t){this._getLogger().emit(t)}enabled(t){return this._getLogger().enabled(t)}_getLogger(){if(this._delegate)return this._delegate;const t=this._provider._getDelegateLogger(this.name,this.version,this.options);return t?(this._delegate=t,this._delegate):ihe}}class cj{getLogger(t,r,n){var o;return(o=this._getDelegateLogger(t,r,n))!==null&&o!==void 0?o:new che(this,t,r,n)}_getDelegate(){var t;return(t=this._delegate)!==null&&t!==void 0?t:lj}_setDelegate(t){this._delegate=t}_getDelegateLogger(t,r,n){var o;return(o=this._delegate)===null||o===void 0?void 0:o.getLogger(t,r,n)}}class j3{constructor(){this._proxyLoggerProvider=new cj}static getInstance(){return this._instance||(this._instance=new j3),this._instance}setGlobalLoggerProvider(t){return sd[Am]?this.getLoggerProvider():(sd[Am]=she(sj,t,lj),this._proxyLoggerProvider._setDelegate(t),t)}getLoggerProvider(){var t,r;return(r=(t=sd[Am])===null||t===void 0?void 0:t.call(sd,sj))!==null&&r!==void 0?r:this._proxyLoggerProvider}getLogger(t,r,n){return this.getLoggerProvider().getLogger(t,r,n)}disable(){delete sd[Am],this._proxyLoggerProvider=new cj}}const pj=j3.getInstance();function phe(e,t){const r={attributes:ld(e.attributes,t),droppedAttributesCount:0},n=e.schemaUrl;return n&&n!==""&&(r.schemaUrl=n),r}function uhe(e,t){const r={name:e.name,version:e.version};return e.attributes&&Object.keys(e.attributes).length>0&&(r.attributes=ld(e.attributes,t),r.droppedAttributesCount=e.droppedAttributesCount??0),r}function ld(e,t){return Object.keys(e).map(r=>dhe(r,e[r],t))}function dhe(e,t,r){return{key:e,value:ky(t,r)}}function ky(e,t){const r=typeof e;if(r==="string")return{stringValue:e};if(r==="number")return Number.isInteger(e)?{intValue:e}:{doubleValue:e};if(r==="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 o=0;o<e.length;o++)n[o]=ky(e[o],t);return{arrayValue:{values:n}}}if(r==="object"&&e!=null){const n=Object.keys(e),o=new Array(n.length);for(let a=0;a<n.length;a++)o[a]={key:n[a],value:ky(e[n[a]],t)};return{kvlistValue:{values:o}}}return{}}function hhe(e){const t=BigInt(1e9);return BigInt(Math.trunc(e[0]))*t+BigInt(Math.trunc(e[1]))}function fhe(e){return hhe(e).toString()}const mhe=typeof BigInt<"u"?fhe:fi;function uj(e){return e}const ghe={encodeHrTime:mhe,encodeSpanContext:uj,encodeOptionalSpanContext:uj,encodeUint8Array:e=>{if(typeof Buffer<"u")return Buffer.from(e).toString("base64");const t=new Array(e.length);for(let r=0;r<e.length;r++)t[r]=String.fromCharCode(e[r]);return btoa(t.join(""))}},bhe=256,vhe=512;function dj(e,t){let r=e&255|bhe;return t&&(r|=vhe),r}function yhe(e,t){const r=e.spanContext(),n=e.status,o=e.parentSpanContext?.spanId?t.encodeSpanContext(e.parentSpanContext?.spanId):void 0;return{traceId:t.encodeSpanContext(r.traceId),spanId:t.encodeSpanContext(r.spanId),parentSpanId:o,traceState:r.traceState?.serialize(),name:e.name,kind:e.kind==null?0:e.kind+1,startTimeUnixNano:t.encodeHrTime(e.startTime),endTimeUnixNano:t.encodeHrTime(e.endTime),attributes:ld(e.attributes,t),droppedAttributesCount:e.droppedAttributesCount,events:e.events.map(a=>whe(a,t)),droppedEventsCount:e.droppedEventsCount,status:{code:n.code,message:n.message},links:e.links.map(a=>xhe(a,t)),droppedLinksCount:e.droppedLinksCount,flags:dj(r.traceFlags,e.parentSpanContext?.isRemote)}}function xhe(e,t){return{attributes:e.attributes?ld(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:dj(e.context.traceFlags,e.context.isRemote)}}function whe(e,t){return{attributes:e.attributes?ld(e.attributes,t):[],name:e.name,timeUnixNano:t.encodeHrTime(e.time),droppedAttributesCount:e.droppedAttributesCount||0}}function She(e,t){return{resourceSpans:khe(e,t)}}function Che(e){const t=new Map;for(const r of e){let n=t.get(r.resource);n||(n=new Map,t.set(r.resource,n));const o=`${r.instrumentationScope.name}@${r.instrumentationScope.version||""}:${r.instrumentationScope.schemaUrl||""}`;let a=n.get(o);a||(a=[],n.set(o,a)),a.push(r)}return t}function khe(e,t){const r=Che(e),n=[],o=r.entries();let a=o.next();for(;!a.done;){const[i,l]=a.value,p=[],u=l.values();let h=u.next();for(;!h.done;){const v=h.value;if(v.length>0){const y=v.map(x=>yhe(x,t));p.push({scope:uhe(v[0].instrumentationScope,t),spans:y,schemaUrl:v[0].instrumentationScope.schemaUrl})}h=u.next()}const f=phe(i,t),b={resource:f,scopeSpans:p,schemaUrl:f.schemaUrl};n.push(b),a=o.next()}return n}const _he={serializeRequest:e=>{const t=She(e,ghe);return new TextEncoder().encode(JSON.stringify(t))},deserializeResponse:e=>{if(e.length===0)return{};const t=new TextDecoder;try{return JSON.parse(t.decode(e))}catch(r){return ct.warn(`Failed to parse trace export response: ${r.message}. Returning empty response`),{}}}},_y=5,Ahe=1e3,Ehe=5e3,The=1.5,hj=.2;function Ohe(){return Math.random()*(2*hj)-hj}class Rhe{_transport;constructor(t){this._transport=t}retry(t,r,n){return new Promise((o,a)=>{setTimeout(()=>{this._transport.send(t,r).then(o,a)},n)})}async send(t,r){let n=_y,o=Ahe;const a=Date.now()+r;let i=await this._transport.send(t,r);for(;i.status==="retryable"&&n>0;){n--;const l=Math.max(Math.min(o*(1+Ohe()),Ehe),0);o=o*The;const p=i.retryInMillis??l,u=a-Date.now();if(p>u)return ct.info(`Export retry time ${Math.round(p)}ms exceeds remaining timeout ${Math.round(u)}ms, not retrying further.`),i;ct.verbose(`Scheduling export retry in ${Math.round(p)}ms`),i=await this.retry(t,u,p)}return i.status==="success"?ct.verbose(`Export succeeded after ${_y-n} retry attempts.`):i.status==="retryable"?ct.info(`Export failed after maximum retry attempts (${_y}).`):ct.info(`Export failed with non-retryable error: ${i.error}`),i}shutdown(){return this._transport.shutdown()}}function jhe(e){return new Rhe(e.transport)}function Lhe(e){return e===429||e===502||e===503||e===504}function Nhe(e){if(e==null)return;const t=Number.parseInt(e,10);if(Number.isInteger(t))return t>0?t*1e3:-1;const r=new Date(e).getTime()-Date.now();return r>=0?r:0}const Ihe=60*1024,Phe=9;let Ay=0,Em=0;class Mhe{_parameters;constructor(t){this._parameters=t}async send(t,r){const n=new AbortController,o=setTimeout(()=>n.abort(),r);let a=globalThis.fetch;typeof a.__original=="function"&&(a=a.__original);const i=t.byteLength,l=Ay+i>Ihe,p=Em>=Phe,u=!l&&!p;if(u)Ay+=i,Em++;else{const h=l?"size limit":"count limit";ct.debug(`keepalive disabled: ${(i/1024).toFixed(1)}KB payload, ${Em} pending (${h})`)}try{const h=new URL(this._parameters.url),f=await a(h.href,{method:"POST",headers:await this._parameters.headers(),body:t,signal:n.signal,keepalive:u,mode:globalThis.location?globalThis.location.origin===h.origin?"same-origin":"cors":"no-cors"});if(f.status>=200&&f.status<=299)return ct.debug(`export response success (status: ${f.status})`),{status:"success"};if(Lhe(f.status)){ct.warn(`export response retryable (status: ${f.status})`);const b=f.headers.get("Retry-After");return{status:"retryable",retryInMillis:Nhe(b)}}return ct.error(`export response failure (status: ${f.status})`),{status:"failure",error:new Error(`Fetch request failed with non-retryable status ${f.status}`)}}catch(h){return $he(h)?(ct.warn(`export request retryable (network error: ${h})`),{status:"retryable",error:new Error("Fetch request encountered a network error",{cause:h})}):(ct.error(`export request failure (error: ${h})`),{status:"failure",error:new Error("Fetch request errored",{cause:h})})}finally{clearTimeout(o),u&&(Ay-=i,Em--)}}shutdown(){}}function Dhe(e){return new Mhe(e)}function $he(e){return e instanceof TypeError&&!e.cause}function zhe(e,t){return ahe(e,t,jhe({transport:Dhe(e)}))}function Uhe(e){const t={};return Object.entries(e??{}).forEach(([r,n])=>{typeof n<"u"?t[r]=String(n):ct.warn(`Header "${r}" has invalid value (${n}) and will be ignored`)}),t}function Fhe(e,t,r){return async()=>{const n={...await r()},o={};return t!=null&&Object.assign(o,await t()),e!=null&&Object.assign(o,Uhe(await e())),Object.assign(o,n)}}function Bhe(e){if(e!=null)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 qhe(e,t,r){return{...Qde(e,t,r),headers:Fhe(e.headers,t.headers,r.headers),url:Bhe(e.url)??t.url??r.url}}function Hhe(e,t){return{...Zde(),headers:async()=>e,url:"http://localhost:4318/"+t}}function Vhe(e){return typeof e.headers=="function"?e.headers:Jde(e.headers)}function Ghe(e,t,r){return qhe({url:e.url,timeoutMillis:e.timeoutMillis,headers:Vhe(e),concurrencyLimit:e.concurrencyLimit},{},Hhe(r,t))}function Whe(e,t,r,n){const o=Ghe(e,r,n);return zhe(o,t)}class fj extends Yde{constructor(t={}){super(Whe(t,_he,"v1/traces",{"Content-Type":"application/json"}))}}const Yhe=Object.freeze(Object.defineProperty({__proto__:null,OTLPTraceExporter:fj},Symbol.toStringTag,{value:"Module"})),Khe=Sa(Yhe),Jhe=Sa(hue);function Qhe(e,t,r,n){for(let o=0,a=e.length;o<a;o++){const i=e[o];t&&i.setTracerProvider(t),r&&i.setMeterProvider(r),n&&i.setLoggerProvider&&i.setLoggerProvider(n),i.getConfig().enabled||i.enable()}}function Zhe(e){e.forEach(t=>t.disable())}function mj(e){const t=e.tracerProvider||On.getTracerProvider(),r=e.meterProvider||hm.getMeterProvider(),n=e.loggerProvider||pj.getLoggerProvider(),o=e.instrumentations?.flat()??[];return Qhe(o,t,r,n),()=>{Zhe(o)}}let go=console.error.bind(console);function cd(e,t,r){const n=!!e[t]&&Object.prototype.propertyIsEnumerable.call(e,t);Object.defineProperty(e,t,{configurable:!0,enumerable:n,writable:!0,value:r})}const gj=(e,t,r)=>{if(!e||!e[t]){go("no original function "+String(t)+" to wrap");return}if(!r){go("no wrapper function"),go(new Error().stack);return}const n=e[t];if(typeof n!="function"||typeof r!="function"){go("original object and wrapper must be functions");return}const o=r(n,t);return cd(o,"__original",n),cd(o,"__unwrap",()=>{e[t]===o&&cd(e,t,n)}),cd(o,"__wrapped",!0),cd(e,t,o),o},Xhe=(e,t,r)=>{if(e)Array.isArray(e)||(e=[e]);else{go("must provide one or more modules to patch"),go(new Error().stack);return}if(!(t&&Array.isArray(t))){go("must provide one or more functions to wrap on modules");return}e.forEach(n=>{t.forEach(o=>{gj(n,o,r)})})},bj=(e,t)=>{if(!e||!e[t]){go("no function to unwrap."),go(new Error().stack);return}const r=e[t];if(!r.__unwrap)go("no original to unwrap to -- has "+String(t)+" already been unwrapped?");else{r.__unwrap();return}},efe=(e,t)=>{if(e)Array.isArray(e)||(e=[e]);else{go("must provide one or more modules to patch"),go(new Error().stack);return}if(!(t&&Array.isArray(t))){go("must provide one or more functions to unwrap on modules");return}e.forEach(r=>{t.forEach(n=>{bj(r,n)})})};class tfe{_config={};_tracer;_meter;_logger;_diag;instrumentationName;instrumentationVersion;constructor(t,r,n){this.instrumentationName=t,this.instrumentationVersion=r,this.setConfig(n),this._diag=ct.createComponentLogger({namespace:t}),this._tracer=On.getTracer(t,r),this._meter=hm.getMeter(t,r),this._logger=pj.getLogger(t,r),this._updateMetricInstruments()}_wrap=gj;_unwrap=bj;_massWrap=Xhe;_massUnwrap=efe;get meter(){return this._meter}setMeterProvider(t){this._meter=t.getMeter(this.instrumentationName,this.instrumentationVersion),this._updateMetricInstruments()}get logger(){return this._logger}setLoggerProvider(t){this._logger=t.getLogger(this.instrumentationName,this.instrumentationVersion)}getModuleDefinitions(){const t=this.init()??[];return Array.isArray(t)?t:[t]}_updateMetricInstruments(){}getConfig(){return this._config}setConfig(t){this._config={enabled:!0,...t}}setTracerProvider(t){this._tracer=t.getTracer(this.instrumentationName,this.instrumentationVersion)}get tracer(){return this._tracer}_runSpanCustomizationHook(t,r,n,o){if(t)try{t(n,o)}catch(a){this._diag.error("Error running span customization hook due to exception in handler",{triggerName:r},a)}}}class vj extends tfe{constructor(t,r,n){super(t,r,n),this._config.enabled&&this.enable()}}function rfe(e){return ct.warn("Path normalization is not implemented for this platform. To silence this warning, ensure no node-specific instrumentations are loaded, and node-specific types (e.g. InstrumentationNodeModuleFile), are not used in a browser context)"),e}class nfe{files;name;supportedVersions;patch;unpatch;constructor(t,r,n,o,a){this.files=a||[],this.name=t,this.supportedVersions=r,this.patch=n,this.unpatch=o}}class ofe{name;supportedVersions;patch;unpatch;constructor(t,r,n,o){this.name=rfe(t),this.supportedVersions=r,this.patch=n,this.unpatch=o}}function afe(e,t,r){let n,o;try{o=e()}catch(a){n=a}finally{if(t(n,o),n&&!r)throw n;return o}}async function ife(e,t,r){let n,o;try{o=await e()}catch(a){n=a}finally{if(await t(n,o),n&&!r)throw n;return o}}function sfe(e){return typeof e=="function"&&typeof e.__original=="function"&&typeof e.__unwrap=="function"&&e.__wrapped===!0}var Dc;(function(e){e[e.STABLE=1]="STABLE",e[e.OLD=2]="OLD",e[e.DUPLICATE=3]="DUPLICATE"})(Dc||(Dc={}));function lfe(e,t){let r=Dc.OLD;const n=t?.split(",").map(o=>o.trim()).filter(o=>o!=="");for(const o of n??[])if(o.toLowerCase()===e+"/dup"){r=Dc.DUPLICATE;break}else o.toLowerCase()===e&&(r=Dc.STABLE);return r}const cfe=Object.freeze(Object.defineProperty({__proto__:null,InstrumentationBase:vj,InstrumentationNodeModuleDefinition:nfe,InstrumentationNodeModuleFile:ofe,get SemconvStability(){return Dc},isWrapped:sfe,registerInstrumentations:mj,safeExecuteInTheMiddle:afe,safeExecuteInTheMiddleAsync:ife,semconvStabilityFromStr:lfe},Symbol.toStringTag,{value:"Module"})),pfe=Sa(cfe);function mi(e){const t=new Error(e);return t.source="ulid",t}const gl="0123456789ABCDEFGHJKMNPQRSTVWXYZ",bl=gl.length,Ey=Math.pow(2,48)-1,pd=10,Ty=16;function Oy(e,t,r){return t>e.length-1?e:e.substr(0,t)+r+e.substr(t+1)}function yj(e){let t,r=e.length,n,o;const a=bl-1;for(;!t&&r-->=0;){if(n=e[r],o=gl.indexOf(n),o===-1)throw mi("incorrectly encoded string");if(o===a){e=Oy(e,r,gl[0]);continue}t=Oy(e,r,gl[o+1])}if(typeof t=="string")return t;throw mi("cannot increment this string")}function xj(e){let t=Math.floor(e()*bl);return t===bl&&(t=bl-1),gl.charAt(t)}function Tm(e,t){if(isNaN(e))throw new Error(e+" must be a number");if(e>Ey)throw mi("cannot encode time greater than "+Ey);if(e<0)throw mi("time must be positive");if(Number.isInteger(Number(e))===!1)throw mi("time must be an integer");let r,n="";for(;t>0;t--)r=e%bl,n=gl.charAt(r)+n,e=(e-r)/bl;return n}function Ry(e,t){let r="";for(;e>0;e--)r=xj(t)+r;return r}function ufe(e){if(e.length!==pd+Ty)throw mi("malformed ulid");var t=e.substr(0,pd).split("").reverse().reduce((r,n,o)=>{const a=gl.indexOf(n);if(a===-1)throw mi("invalid character found: "+n);return r+=a*Math.pow(bl,o)},0);if(t>Ey)throw mi("malformed ulid, timestamp too large");return t}function jy(e=!1,t){t||(t=typeof window<"u"?window:null);const r=t&&(t.crypto||t.msCrypto);if(r)return()=>{const n=new Uint8Array(1);return r.getRandomValues(n),n[0]/255};try{const n=require("crypto");return()=>n.randomBytes(1).readUInt8()/255}catch{}if(e){try{console.error("secure crypto unusable, falling back to insecure Math.random()!")}catch{}return()=>Math.random()}throw mi("secure crypto unusable, insecure Math.random not allowed")}function wj(e){return e||(e=jy()),function(t){return isNaN(t)&&(t=Date.now()),Tm(t,pd)+Ry(Ty,e)}}function dfe(e){e||(e=jy());let t=0,r;return function(n){if(isNaN(n)&&(n=Date.now()),n<=t){const a=r=yj(r);return Tm(t,pd)+a}t=n;const o=r=Ry(Ty,e);return Tm(n,pd)+o}}const Sj=wj(),hfe=Object.freeze(Object.defineProperty({__proto__:null,decodeTime:ufe,detectPrng:jy,encodeRandom:Ry,encodeTime:Tm,factory:wj,incrementBase32:yj,monotonicFactory:dfe,randomChar:xj,replaceCharAt:Oy,ulid:Sj},Symbol.toStringTag,{value:"Module"})),Cj=Sa(hfe);var $c={};const kj=Sa(ree);var ud={},_j;function ffe(){if(_j)return ud;_j=1,Object.defineProperty(ud,"__esModule",{value:!0}),ud.TraceStep=void 0;const e=kj;class t{constructor(n){Object.defineProperty(this,"span",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.span=n}get context(){var n;return(n=this.span)===null||n===void 0?void 0:n.context}error(n){this.span&&(this.span.setStatus(e.SpanStatusCode.ERROR,n.message),this.span.recordException(n),this.span.end())}setAttribute(n,o){this.span&&this.span.setAttribute(n,o)}setStatus(n,o){this.span&&this.span.setStatus(n,o)}end(){this.span&&(this.span.setStatus(e.SpanStatusCode.OK),this.span.end())}}return ud.TraceStep=t,ud}var zc={},Aj;function Ej(){if(Aj)return zc;Aj=1,Object.defineProperty(zc,"__esModule",{value:!0}),zc.CLOUD_EVENT_STANDARD_KEYS=void 0,zc.mapToCloudEvent=t;const e=Cj;zc.CLOUD_EVENT_STANDARD_KEYS=["id","specversion","object","datacontenttype","type","time","origin","env","category","signal","source","subject","subjects","data","actor","requestId","clientIp","organizationId","organizationSlug","projectId","projectSlug","osPlatform","userAgent","sessionId"];function t(r){var n,o,a,i,l,p,u,h;const{type:f,data:b,actor:v,requestId:y,clientIp:x,origin:k,env:w,source:_,organizationId:A,organizationSlug:R,projectId:E,projectSlug:L,category:I="product",signal:O="log",osPlatform:P,userAgent:U,sessionId:Y}=r,q=!!(b&&Array.isArray(b)),Q=v?{id:(a=v.id)!==null&&a!==void 0?a:`ann_${(0,e.ulid)()}`,object:(i=v.object)!==null&&i!==void 0?i:"user",uri:(l=v.uri)!==null&&l!==void 0?l:""}:null,ne=`evt_${(0,e.ulid)()}`.toLowerCase(),le=new Date,G=(p=_??Q?.uri)!==null&&p!==void 0?p:null,ce=Object.assign(Object.assign(Object.assign(Object.assign({},A!==void 0&&{organizationId:A}),R!==void 0&&{organizationSlug:R}),E!==void 0&&{projectId:E}),L!==void 0&&{projectSlug:L}),ee={specversion:"1.0",object:"event",datacontenttype:"application/json; charset=utf-8",origin:k,env:w,category:I,signal:O,osPlatform:P,userAgent:U,clientIp:x,sessionId:Y};if(q){const fe=b,oe=fe.map(ie=>{var W,V,pe;return{id:(W=ie.id)!==null&&W!==void 0?W:"",object:(V=ie.object)!==null&&V!==void 0?V:"",uri:(pe=ie.uri)!==null&&pe!==void 0?pe:""}}),F=(u=(n=fe[0])===null||n===void 0?void 0:n.id)!==null&&u!==void 0?u:null;Object.assign(ee,Object.assign(Object.assign({},ce),{id:ne,type:f,time:le,source:G,actor:Q,subject:F,subjects:oe,data:fe,requestId:y??""}))}else{const fe=(h=(o=Array.isArray(b)?b[0]:b)===null||o===void 0?void 0:o.id)!==null&&h!==void 0?h:null;Object.assign(ee,Object.assign(Object.assign(Object.assign({},ce),{id:ne,type:f,time:le,source:G,actor:Q,subject:fe,requestId:y??"",data:b}),_!=null&&{request:{source:_}}))}return ee}return zc}var gi={},Tj;function mfe(){if(Tj)return gi;Tj=1,Object.defineProperty(gi,"__esModule",{value:!0}),gi.toSnakeCase=t,gi.isNonNullish=r,gi.isOtelAttributeValue=n,gi.flattenToAttributes=o,gi.flattenNestedObject=a,gi.flattenWithMaxDepth=i;const e=3;function t(l){return l.replace(/([A-Z])/g,"_$1").toLowerCase()}function r(l){return l!=null}function n(l){return typeof l=="string"||typeof l=="number"||typeof l=="boolean"}function o(l,p,u,h=!0,f){const b=f?.length?new Set(f):null;for(const[v,y]of Object.entries(l))if(!b?.has(v)&&y!==void 0){const x=h?t(v):v;u[`${p}${x}`]=y}}function a(l,p,u){for(const[h,f]of Object.entries(l))f==null||typeof f=="object"||(u[`${p}.${t(h)}`]=f)}function i(l,p,u,h){var f,b,v;const y=(f=h?.currentDepth)!==null&&f!==void 0?f:0,x=(b=h?.useSnakeCase)!==null&&b!==void 0?b:!0,k=(v=h?.maxNestingLevels)!==null&&v!==void 0?v:e,w=p.endsWith(".")?p.slice(0,-1):p;for(const[_,A]of Object.entries(l)){if(!r(A))continue;const R=x?t(_):_,E=`${w}.${R}`;typeof A=="object"&&!Array.isArray(A)?y<k&&i(A,E,u,{currentDepth:y+1,useSnakeCase:x,maxNestingLevels:k}):n(A)&&(u[E]=A)}}return gi}var Oj;function gfe(){return Oj||(Oj=1,(function(e){var t=$c&&$c.__awaiter||function(O,P,U,Y){function q(Q){return Q instanceof U?Q:new U(function(ne){ne(Q)})}return new(U||(U=Promise))(function(Q,ne){function le(ee){try{ce(Y.next(ee))}catch(fe){ne(fe)}}function G(ee){try{ce(Y.throw(ee))}catch(fe){ne(fe)}}function ce(ee){ee.done?Q(ee.value):q(ee.value).then(le,G)}ce((Y=Y.apply(O,P||[])).next())})},r=$c&&$c.__rest||function(O,P){var U={};for(var Y in O)Object.prototype.hasOwnProperty.call(O,Y)&&P.indexOf(Y)<0&&(U[Y]=O[Y]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var q=0,Y=Object.getOwnPropertySymbols(O);q<Y.length;q++)P.indexOf(Y[q])<0&&Object.prototype.propertyIsEnumerable.call(O,Y[q])&&(U[Y[q]]=O[Y[q]]);return U};Object.defineProperty(e,"__esModule",{value:!0}),e.BaseOtelClient=e.BUS_STYLE_SNAPSHOT_CONTEXT_KEY=void 0,e.groupByObjectProperty=p,e.processCloudEventAttributes=y,e.processObjectData=A,e.processAttributes=L;const n=kj,o=ffe(),a=Ej(),i=mfe();e.BUS_STYLE_SNAPSHOT_CONTEXT_KEY="context";const l=[e.BUS_STYLE_SNAPSHOT_CONTEXT_KEY];function p(O){const P={updated:[],notUpdated:[]};for(const U of O){if(!U||typeof U!="object")continue;const Y=U.object;if(typeof Y!="string")continue;const q=U,Q=P.notUpdated.find(ne=>ne.object===Y);Q?(P.updated=[Q,q],P.notUpdated=P.notUpdated.filter(ne=>ne.object!==Y)):P.updated.some(ne=>ne.object===Y)||P.notUpdated.push(q)}return P}function u(O,P,U){const Y=U?`${U}.`:"",q=P===""?"":`${(0,i.toSnakeCase)(P)}.`;return`${O}.${Y}${q}`}function h(O,P){const U=O[e.BUS_STYLE_SNAPSHOT_CONTEXT_KEY];return U==="before"||U==="after"?U:P===0?"after":"before"}function f(O){const P=O,U=e.BUS_STYLE_SNAPSHOT_CONTEXT_KEY;return r(P,[typeof U=="symbol"?U:U+""])}function b(O){return O.endsWith(".")?O:`${O}.`}function v(O,P,U){var Y,q,Q,ne,le,G,ce,ee,fe,oe;const F=P instanceof Date?P.toISOString():new Date(P).toISOString();return{"cloudevents.event_id":O.id,"cloudevents.event_type":O.type,"cloudevents.event_source":(ne=O.source)!==null&&ne!==void 0?ne:void 0,"cloudevents.event_spec_version":O.specversion,"cloudevents.event_data_content_type":(le=O.datacontenttype)!==null&&le!==void 0?le:"application/json; charset=utf-8","cloudevents.event_time":F,"cloudevents.event_subject":(G=O.subject)!==null&&G!==void 0?G:"","cloudevents.event_version":U?.version,"cloudevents.event_origin":(ce=O.origin)!==null&&ce!==void 0?ce:U?.serviceName,"cloudevents.event_env":O.env,"cloudevents.event_client_ip":O.clientIp,"cloudevents.event_object":O.object||"event","cloudevents.event_category":O.category,"cloudevents.event_signal":O.signal,"cloudevents.event_actor.id":(ee=(Y=O.actor)===null||Y===void 0?void 0:Y.id)!==null&&ee!==void 0?ee:void 0,"cloudevents.event_actor.object":(fe=(q=O.actor)===null||q===void 0?void 0:q.object)!==null&&fe!==void 0?fe:void 0,"cloudevents.event_actor.uri":(oe=(Q=O.actor)===null||Q===void 0?void 0:Q.uri)!==null&&oe!==void 0?oe:void 0,"cloudevents.event_organization_id":O.organizationId,"cloudevents.event_organization_slug":O.organizationSlug,"cloudevents.event_project_id":O.projectId,"cloudevents.event_project_slug":O.projectSlug,"cloudevents.event_request_id":O.requestId,"cloudevents.event_os_platform":O.osPlatform,"cloudevents.event_user_agent":O.userAgent,"cloudevents.event_session_id":O.sessionId}}function y(O,P,U){const Y=O.data,q=Object.assign({},v(O,P,U));return x(Y,q),R(O,q),E(O,q),q}function x(O,P){!O||typeof O!="object"||(Array.isArray(O)?k(O,P):A(O,P))}function k(O,P){O.some(U=>U&&typeof U=="object"&&typeof U.object=="string")?w(O,P):_(O,P)}function w(O,P){const U=p(O);U.updated.forEach((Y,q)=>{const Q=u("cloudevents.event_data",Y.object,h(Y,q));(0,i.flattenWithMaxDepth)(f(Y),b(Q),P)}),U.notUpdated.forEach(Y=>{const q=u("cloudevents.event_data",Y.object,void 0);(0,i.flattenWithMaxDepth)(f(Y),b(q),P)})}function _(O,P){for(const U of O)!U||typeof U!="object"||(0,i.flattenWithMaxDepth)(U,"cloudevents.event_data.",P)}function A(O,P){for(const[U,Y]of Object.entries(O)){if(!(0,i.isNonNullish)(Y))continue;const q=(0,i.toSnakeCase)(U);if(typeof Y=="object"&&!Array.isArray(Y))for(const[Q,ne]of Object.entries(Y))(0,i.isNonNullish)(ne)&&(0,i.isOtelAttributeValue)(ne)&&(P[`cloudevents.event_data.${q}.${Q}`]=ne);else(0,i.isOtelAttributeValue)(Y)&&(P[`cloudevents.event_data.${q}`]=Y)}}function R(O,P){if(!O.subjects||!Array.isArray(O.subjects))return;const U=p(O.subjects);U.updated.forEach((Y,q)=>{const Q=u("cloudevents.event_subjects",Y.object,h(Y,q));(0,i.flattenToAttributes)(Y,Q,P,!1,l)}),U.notUpdated.forEach(Y=>{const q=u("cloudevents.event_subjects",Y.object,void 0);(0,i.flattenToAttributes)(Y,q,P,!1,l)})}function E(O,P){for(const[U,Y]of Object.entries(O))if(!(a.CLOUD_EVENT_STANDARD_KEYS.includes(U)||Y===void 0))if(Y instanceof Object)for(const[q,Q]of Object.entries(Y))Q!==void 0&&(P[`cloudevents.${U}.${q}`]=Q);else P[`cloudevents.${U}`]=Y}function L(O,P,U){return y(O,P,U)}class I{constructor(){Object.defineProperty(this,"config",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"tracer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"tracerProvider",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"initialized",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"sessionId",{enumerable:!0,configurable:!0,writable:!0,value:null})}initTracer(P){throw new Error("initTracer must be implemented by the environment-specific client")}init(P){this.config=P,this.initTracer(P)}send(P){var U;try{if(!this.tracer||!this.config)return;const Y=P,q="time"in Y&&Y.time?new Date(Y.time):new Date;this.tracer.startSpan(`event.${Y.type}`,{attributes:this.processAttributes(Y,q),startTime:q}).end(q)}catch(Y){!((U=this.config)===null||U===void 0)&&U.isProd||console.error("Event reporting failed:",Y)}}processAttributes(P,U){return L(P,U,this.config)}startSpan(P,U){var Y;try{if(!this.tracer)return;let q;const Q=P.time?new Date(P.time):new Date,ne=this.tracer.startSpan(`event.${P.type}`,{attributes:this.processAttributes(P,Q),root:!U},U);return U||(q=n.trace.setSpan(n.context.active(),ne)),{end:()=>ne.end(),setAttribute:(le,G)=>{ne.setAttribute(`cloudevents.event_data.${(0,i.toSnakeCase)(le)}`,G)},setStatus:(le,G)=>ne.setStatus({code:le,message:G}),parentCtx:q}}catch(q){!((Y=this.config)===null||Y===void 0)&&Y.isProd||console.error("Event reporting failed:",q);return}}startStepSpan(P,U){var Y;try{if(!this.tracer)return;const q=U||n.context.active(),Q=P,ne=Q.time?new Date(Q.time):new Date,le=this.tracer.startSpan(`event.${Q.type}`,{attributes:this.processAttributes(Q,ne)},q),G=n.trace.setSpan(q,le);return{end:()=>le.end(),setAttribute:(ce,ee)=>{le.setAttribute(`cloudevents.event_data.${(0,i.toSnakeCase)(ce)}`,ee)},setStatus:(ce,ee)=>le.setStatus({code:ce,message:ee}),recordException:ce=>le.recordException(ce),context:G}}catch(q){!((Y=this.config)===null||Y===void 0)&&Y.isProd||console.error("Event reporting failed:",q);return}}traceStep(P){const U=this.startStepSpan(P);if(U)return new o.TraceStep(U)}forceFlush(){return t(this,void 0,void 0,function*(){var P;return(P=this.tracerProvider)===null||P===void 0?void 0:P.forceFlush()})}shutdown(){return t(this,void 0,void 0,function*(){var P;return(P=this.tracerProvider)===null||P===void 0?void 0:P.shutdown()})}}e.BaseOtelClient=I})($c)),$c}var Rj;function bfe(){if(Rj)return Vu;Rj=1,Object.defineProperty(Vu,"__esModule",{value:!0}),Vu.OtelClient=void 0;const e=Gde,t=Wde,r=Khe,n=Jhe,o=pfe,a=Cj,i=gfe();class l extends i.BaseOtelClient{constructor(){super(),Object.defineProperty(this,"tracer",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"initialized",{enumerable:!0,configurable:!0,writable:!0,value:!1})}initTracer(u){var h,f;if(!u.collectorUrl&&!u.collectorTraceUrl)return;const b=`ses_${(0,a.ulid)()}`;this.sessionId=b;const v=(0,t.resourceFromAttributes)({[n.ATTR_SERVICE_NAME]:u.serviceName,[n.ATTR_SERVICE_VERSION]:u.serviceVersion,session_id:b}),y=u.collectorTraceUrl||`${u.collectorUrl}/v1/traces`;this.tracerProvider=new e.WebTracerProvider({resource:v,spanProcessors:[...(h=u.spanProcessors)!==null&&h!==void 0?h:[],new e.BatchSpanProcessor(new r.OTLPTraceExporter({url:y,headers:{}}))]}),this.tracer=this.tracerProvider.getTracer(u.tracerName),this.tracerProvider.register(),(0,o.registerInstrumentations)({instrumentations:(f=u.instrumentations)!==null&&f!==void 0?f:[]}),this.initialized=!0}}return Vu.OtelClient=l,Vu}var jj={},Lj;function vfe(){return Lj||(Lj=1,Object.defineProperty(jj,"__esModule",{value:!0})),jj}var Nj;function Ij(){return Nj||(Nj=1,(function(e){var t=Mc&&Mc.__createBinding||(Object.create?(function(n,o,a,i){i===void 0&&(i=a);var l=Object.getOwnPropertyDescriptor(o,a);(!l||("get"in l?!o.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return o[a]}}),Object.defineProperty(n,i,l)}):(function(n,o,a,i){i===void 0&&(i=a),n[i]=o[a]})),r=Mc&&Mc.__exportStar||function(n,o){for(var a in n)a!=="default"&&!Object.prototype.hasOwnProperty.call(o,a)&&t(o,n,a)};Object.defineProperty(e,"__esModule",{value:!0}),r(bfe(),e),r(vfe(),e)})(Mc)),Mc}var Uc={},Pj;function yfe(){if(Pj)return Uc;Pj=1,Object.defineProperty(Uc,"__esModule",{value:!0}),Uc.buildPageResourceItem=t,Uc.appendPageResourceIfNeeded=r,Uc.enrichMessageWithPageResource=n;const e=()=>({location:typeof location<"u"?location:void 0,document:typeof document<"u"?document:void 0});function t(a=e()){var i;if(!a.location)return;const l=((i=a.document)===null||i===void 0?void 0:i.referrer)||void 0;return Object.assign({id:a.location.href,object:"page",uri:a.location.href},l?{referrer:l}:{})}function r(a,i,l){if(!l.has(a)||!Array.isArray(i)||i.some(o))return i;const p=t();return p?[...i,p]:i}function n(a,i){const l=r(a.type,a.data,i);return l===a.data?a:Object.assign(Object.assign({},a),{data:l})}function o(a){return a!=null&&typeof a=="object"&&a.object==="page"}return Uc}var Mj;function xfe(){if(Mj)return Hu;Mj=1,Object.defineProperty(Hu,"__esModule",{value:!0}),Hu.Telemetry=void 0;const e=Ij(),t=Ej(),r=yfe(),n=new Set(["com.redocly.downloadDefinition.clicked","com.redocly.copyCodeSnippet.clicked","com.redocly.referencedIn.clicked","com.redocly.selectLanguage.clicked","com.redocly.expandCollapseAll.clicked","com.redocly.examplesSwitcher.clicked","com.redocly.switchServers.clicked","com.redocly.tryIt.opened","com.redocly.changeLayout.clicked","com.redocly.viewSecurityDetails.clicked","com.redocly.viewSecurityDetails.closed","com.redocly.search.opened","com.redocly.searchResult.clicked","com.redocly.searchInputReset.clicked","com.redocly.switchMessage.clicked","com.redocly.switchExample.clicked","com.redocly.message.clicked","com.redocly.serverModal.opened","com.redocly.requiredScopesModal.opened"]);class o{constructor(){Object.defineProperty(this,"config",{enumerable:!0,configurable:!0,writable:!0,value:null}),Object.defineProperty(this,"initialized",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"useCloudEventData",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"otelClient",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"tracer",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"updateCloudEventData",{enumerable:!0,configurable:!0,writable:!0,value:i=>{var l;!((l=this.config)===null||l===void 0)&&l.disabled||(this.useCloudEventData=i)}}),this.useCloudEventData=()=>({origin:"redocUi",signal:"log"}),this.otelClient=new e.OtelClient,this.tracer={traceStep:(i,l)=>{const p=this.constructCloudEvent(i,l,{signal:"trace"});return this.otelClient.traceStep(p)}}}send(i,l,p){var u,h;try{if(!(!((u=this.config)===null||u===void 0)&&u.otel.isProd))return;const f=i&&typeof i=="object"&&"type"in i&&"data"in i?(0,r.enrichMessageWithPageResource)(i,n):this.constructCloudEvent(i,l,Object.assign(Object.assign({},p),{signal:"log"}));this.sendToOtelService(f)}catch(f){!((h=this.config)===null||h===void 0)&&h.otel.isProd||console.error("Event reporting failed:",f)}}init(i){i.disabled||this.initialized||(this.config=i,this.initialized=!0,this.otelClient.init({serviceVersion:i.otel.serviceVersion,version:i.otel.version,isProd:i.otel.isProd,collectorUrl:i.otel.collectorUrl,collectorTraceUrl:i.otel.collectorTraceUrl,serviceName:i.otel.serviceName,tracerName:i.otel.tracerName,spanProcessors:i.otel.spanProcessors,instrumentations:[...i.otel.instrumentations||[]]}))}startSpan(i,l,p){var u;if(!((u=this.config)===null||u===void 0)&&u.disabled)return;const h=this.constructCloudEvent(i,l,{signal:"trace"});return this.otelClient.startSpan(h,p)}constructCloudEvent(i,l,p){const u=Object.assign(Object.assign({},this.useCloudEventData()),p);return(0,t.mapToCloudEvent)(Object.assign(Object.assign({type:i,data:(0,r.appendPageResourceIfNeeded)(i,l,n)},u),this.otelClient.sessionId&&{sessionId:this.otelClient.sessionId}))}sendToOtelService(i){var l;!((l=this.config)===null||l===void 0)&&l.otel.isProd||console.log("CloudEvent to be sent to OTEL service:",i),this.otelClient.send(Object.assign(Object.assign({},i),{signal:"log"}))}forceFlush(){var i;return!((i=this.config)===null||i===void 0)&&i.disabled?Promise.resolve():this.otelClient.forceFlush()}shutdown(){var i;return!((i=this.config)===null||i===void 0)&&i.disabled?Promise.resolve():this.otelClient.shutdown()}sendViewedMessage(i,l){this.send("com.redocly.page.viewed",i,l)}sendPerformanceMetricsMessage(i,l){this.send("com.redocly.performanceMetrics.collected",i,l)}sendDownloadDefinitionClickedMessage(i,l){this.send("com.redocly.downloadDefinition.clicked",i,l)}sendCopyCodeSnippetClickedMessage(i,l){this.send("com.redocly.copyCodeSnippet.clicked",i,l)}sendReferencedInClickedMessage(i,l){this.send("com.redocly.referencedIn.clicked",i,l)}sendSelectLanguageClickedMessage(i,l){this.send("com.redocly.selectLanguage.clicked",i,l)}sendExpandCollapseAllClickedMessage(i,l){this.send("com.redocly.expandCollapseAll.clicked",i,l)}sendExamplesSwitcherClickedMessage(i,l){this.send("com.redocly.examplesSwitcher.clicked",i,l)}sendSwitchServersClickedMessage(i,l){this.send("com.redocly.switchServers.clicked",i,l)}sendTryItOpenedMessage(i,l){this.send("com.redocly.tryIt.opened",i,l)}sendChangeLayoutClickedMessage(i,l){this.send("com.redocly.changeLayout.clicked",i,l)}sendViewSecurityDetailsClickedMessage(i,l){this.send("com.redocly.viewSecurityDetails.clicked",i,l)}sendViewSecurityDetailsClosedMessage(i,l){this.send("com.redocly.viewSecurityDetails.closed",i,l)}sendSearchOpenedMessage(i,l){this.send("com.redocly.search.opened",i,l)}sendSearchResultClickedMessage(i,l){this.send("com.redocly.searchResult.clicked",i,l)}sendSearchInputResetClickedMessage(i,l){this.send("com.redocly.searchInputReset.clicked",i,l)}sendSwitchMessageClickedMessage(i,l){this.send("com.redocly.switchMessage.clicked",i,l)}sendSwitchExampleClickedMessage(i,l){this.send("com.redocly.switchExample.clicked",i,l)}sendMessageClickedMessage(i,l){this.send("com.redocly.message.clicked",i,l)}sendServerModalOpenedMessage(i,l){this.send("com.redocly.serverModal.opened",i,l)}sendRequiredScopesModalOpenedMessage(i,l){this.send("com.redocly.requiredScopesModal.opened",i,l)}sendInitialMessage(i,l){this.send("com.redocly.redoc.initialized",i,l)}sendErrorMessage(i,l){this.send("com.redocly.error.occurred",i,l)}}return Hu.Telemetry=o,Hu}var Dj;function wfe(){return Dj||(Dj=1,(function(e){var t=Pc&&Pc.__createBinding||(Object.create?(function(n,o,a,i){i===void 0&&(i=a);var l=Object.getOwnPropertyDescriptor(o,a);(!l||("get"in l?!o.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return o[a]}}),Object.defineProperty(n,i,l)}):(function(n,o,a,i){i===void 0&&(i=a),n[i]=o[a]})),r=Pc&&Pc.__exportStar||function(n,o){for(var a in n)a!=="default"&&!Object.prototype.hasOwnProperty.call(o,a)&&t(o,n,a)};Object.defineProperty(e,"__esModule",{value:!0}),r(nX(),e),r(xfe(),e),r(Ij(),e)})(Pc)),Pc}var $j={},zj;function Sfe(){return zj||(zj=1,Object.defineProperty($j,"__esModule",{value:!0})),$j}var Uj;function Cfe(){return Uj||(Uj=1,(function(e){var t=Ic&&Ic.__createBinding||(Object.create?(function(o,a,i,l){l===void 0&&(l=i);var p=Object.getOwnPropertyDescriptor(a,i);(!p||("get"in p?!a.__esModule:p.writable||p.configurable))&&(p={enumerable:!0,get:function(){return a[i]}}),Object.defineProperty(o,l,p)}):(function(o,a,i,l){l===void 0&&(l=i),o[l]=a[i]})),r=Ic&&Ic.__exportStar||function(o,a){for(var i in o)i!=="default"&&!Object.prototype.hasOwnProperty.call(a,i)&&t(a,o,i)};Object.defineProperty(e,"__esModule",{value:!0}),e.Telemetry=void 0;var n=wfe();Object.defineProperty(e,"Telemetry",{enumerable:!0,get:function(){return n.Telemetry}}),r(Sfe(),e)})(Ic)),Ic}var kfe=Cfe();const _fe="@redocly/openapi-docs",Afe="3.25.0-next.0",Fj={name:_fe,version:Afe},Efe="https://otel.cloud.redocly.com/v1/traces";class Bj extends kfe.Telemetry{specType;constructor(t){super(),this.specType=t.specType,this.init({otel:{isProd:!0,serviceVersion:t.serviceVersion||`${Fj.name}@${Fj.version}`,version:"1.0.0",collectorTraceUrl:t.collectorUrl||Efe,serviceName:t.serviceName||"redoc-ce",tracerName:"client-telemetry"},disabled:t.disabled||!1})}send(t,r){r&&Array.isArray(r)&&r.length>0&&(r=r.map(n=>n&&typeof n=="object"?{...n,specType:this.specType}:n)),super.send(t,r,{env:"production"})}}var Tfe=Object.create,Om=Object.defineProperty,Ofe=Object.getOwnPropertyDescriptor,Rfe=Object.getOwnPropertyNames,jfe=Object.getPrototypeOf,Lfe=Object.prototype.hasOwnProperty,qj=e=>Om(e,"__esModule",{value:!0}),Qe=(e,t)=>function(){return t||(0,e[Object.keys(e)[0]])((t={exports:{}}).exports,t),t.exports},Hj=(e,t)=>{qj(e);for(var r in t)Om(e,r,{get:t[r],enumerable:!0})},Nfe=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Rfe(t))!Lfe.call(e,n)&&n!=="default"&&Om(e,n,{get:()=>t[n],enumerable:!(r=Ofe(t,n))||r.enumerable});return e},Rm=e=>Nfe(qj(Om(e!=null?Tfe(jfe(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e),Vj=Qe({"src/grammar/tag.js"(e,t){function r(a,i){function l(){this.constructor=a}l.prototype=i.prototype,a.prototype=new l}function n(a,i,l,p){this.message=a,this.expected=i,this.found=l,this.location=p,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,n)}r(n,Error),n.buildMessage=function(a,i,l){var p={literal:function(x){return'"'+h(x.text)+'"'},class:function(x){var k=x.parts.map(function(w){return Array.isArray(w)?f(w[0])+"-"+f(w[1]):f(w)});return"["+(x.inverted?"^":"")+k+"]"},any:function(){return"any character"},end:function(){return"end of input"},other:function(x){return x.description},not:function(x){return"not "+b(x.expected)}};function u(x){return x.charCodeAt(0).toString(16).toUpperCase()}function h(x){return x.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(k){return"\\x0"+u(k)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(k){return"\\x"+u(k)})}function f(x){return x.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(k){return"\\x0"+u(k)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(k){return"\\x"+u(k)})}function b(x){return p[x.type](x)}function v(x){var k=x.map(b),w,_;if(k.sort(),k.length>0){for(w=1,_=1;w<k.length;w++)k[w-1]!==k[w]&&(k[_]=k[w],_++);k.length=_}switch(k.length){case 1:return k[0];case 2:return k[0]+" or "+k[1];default:return k.slice(0,-1).join(", ")+", or "+k[k.length-1]}}function y(x){return x?'"'+h(x)+'"':"end of input"}return"Expected "+v(a)+" but "+y(i)+" found."};function o(a,i){i=i!==void 0?i:{};var l={},p={Top:qo},u=qo,h="/",f=".",b="#",v="=",y="(",x=")",k=",",w="[",_="]",A="null",R="true",E="false",L="{",I="}",O=":",P='"',U="\\",Y="n",q="r",Q="t",ne=/^[$@]/,le=/^[0-9]/,G=/^[^\0-\x1F"\\]/,ce=/^[a-zA-Z0-9_\-]/,ee=/^[ \n\t]/,fe=Wt("/",!1),oe=br("tag name"),F=br("class"),ie=br("id"),W=Wt("=",!1),V=Wt("(",!1),pe=Wt(")",!1),K=Wt(",",!1),se=br("variable"),X=br("null"),te=br("boolean"),_e=Wt("[",!1),S=Wt("]",!1),N=Wt("{",!1),B=Wt("}",!1),re=Wt(":",!1),ye=br("number"),ue=br("string"),me=br("identifier"),je=br("whitespace"),he=function(H){return{type:"variable",meta:{variable:H}}},Ye=function(H){return{type:"annotation",meta:{attributes:H}}},Ke=function(H,ge){return ge},Ge=function(H,ge,Se,Te){ge&&(Se=Se||[],Se.unshift({type:"attribute",name:"primary",value:ge}));const[qe,Ve]=Te?["tag",0]:["tag_open",1];return{type:qe,nesting:Ve,meta:{tag:H,attributes:Se}}},Je=function(H){return{type:"tag_close",nesting:-1,meta:{tag:H}}},He=function(H,ge){return H?[H,...ge]:[]},ot=function(H){return H},ur=function(H){return H},j=function(H){return H},M=function(H){return H},z=function(H){return{type:"class",name:H,value:!0}},de=function(H){return{type:"attribute",name:"id",value:H}},ke=function(H,ge){return{type:"attribute",name:H,value:ge}},Ne=function(H,ge,Se){return ge?[ge,...Se]:[]},De=function(H,ge){let Se={};for(let[Te,{name:qe,value:Ve}]of ge.entries())Se[qe||Te]=Ve;return new xt(H,Se)},at=function(H){return H},yt=function(H,ge){return{name:H,value:ge}},ht=function(H){return H},Nt=function(H,ge,Se){return H==="@"?[ge,...Se]:new lt([ge,...Se])},Ht=function(){return null},In=function(){return!0},ma=function(){return!1},Ba=function(H,ge){return[H,...ge]},qa=function(H){return H||[]},ao=function(H,ge){return Object.assign(H,...ge)},Ha=function(H){return H||{}},xo=function(H,ge){return H==="$$mdtype"?{}:{[H]:ge}},_i=function(){return parseFloat(Co())},An=function(H){return H.join("")},wo=function(){return`
|
|
6692
6692
|
`},Fo=function(){return"\r"},_s=function(){return" "},Vl=function(H){return H},Ce=0,mt=0,Bo=[{line:1,column:1}],So=[],ut=0,io;if("startRule"in i){if(!(i.startRule in p))throw new Error(`Can't start parsing from rule "`+i.startRule+'".');u=p[i.startRule]}function Co(){return a.substring(mt,Ce)}function Wt(H,ge){return{type:"literal",text:H,ignoreCase:ge}}function kt(){return{type:"end"}}function br(H){return{type:"other",description:H}}function Ai(H){var ge=Bo[H],Se;if(ge)return ge;for(Se=H-1;!Bo[Se];)Se--;for(ge=Bo[Se],ge={line:ge.line,column:ge.column};Se<H;)a.charCodeAt(Se)===10?(ge.line++,ge.column=1):ge.column++,Se++;return Bo[H]=ge,ge}var Gl=typeof i.filename=="string"&&i.filename.length>0;function Ei(H,ge){var Se={};Gl&&(Se.filename=i.filename);var Te=Ai(H);Se.start={offset:H,line:Te.line,column:Te.column};var qe=Ai(ge);return Se.end={offset:ge,line:qe.line,column:qe.column},Se}function As(){So.push({pos:Ce,variants:[]})}function zt(H){var ge=So[So.length-1];Ce<ge.pos||(Ce>ge.pos&&(ge.pos=Ce,ge.variants=[]),ge.variants.push(H))}function Es(H,ge,Se){return new n(n.buildMessage(H,ge,Se),H,ge,Se)}function ga(){var H=So[0],ge=H.pos;return Es(H.variants,ge<a.length?a.charAt(ge):null,ge<a.length?Ei(ge,ge+1):Ei(ge,ge))}function qo(){var H;return H=Va(),H===l&&(H=dn(),H===l&&(H=dr(),H===l&&(H=ko()))),H}function Va(){var H,ge;return H=Ce,ge=Ls(),ge===l&&(ge=_o()),ge!==l&&(mt=H,ge=he(ge)),H=ge,H}function dn(){var H,ge,Se,Te;if(H=Ce,ge=hn(),ge!==l){for(Se=[],Te=Ue();Te!==l;)Se.push(Te),Te=Ue();mt=H,H=Ye(ge)}else Ce=H,H=l;return H}function dr(){var H,ge,Se,Te,qe,Ve,gt,Er=function(Vo){ut===0&&zt(Vo)};if(H=Ce,ge=Ts(),ge!==l){for(Se=[],Te=Ue();Te!==l;)Se.push(Te),Te=Ue();for(Te=Ce,qe=so(),qe!==l?(Ve=Ue(),Ve===l&&(Ve=null),mt=Te,Te=Ke(ge,qe)):(Ce=Te,Te=l),Te===l&&(Te=null),qe=hn(),qe===l&&(qe=null),Ve=[],gt=Ue();gt!==l;)Ve.push(gt),gt=Ue();Er(fe),a.charCodeAt(Ce)===47?(gt=h,Ce++):gt=l,gt===l&&(gt=null),mt=H,H=Ge(ge,Te,qe,gt)}else Ce=H,H=l;return H}function ko(){var H,ge,Se,Te=function(qe){ut===0&&zt(qe)};return H=Ce,Te(fe),a.charCodeAt(Ce)===47?(ge=h,Ce++):ge=l,ge!==l?(Se=Ts(),Se!==l?(mt=H,H=Je(Se)):(Ce=H,H=l)):(Ce=H,H=l),H}function Ts(){var H,ge=function(Se){ut===0&&zt(Se)};return ge(oe),ut++,H=Me(),ut--,H}function hn(){var H,ge,Se,Te;if(H=Ce,ge=Os(),ge!==l){for(Se=[],Te=Ho();Te!==l;)Se.push(Te),Te=Ho();mt=H,H=He(ge,Se)}else Ce=H,H=l;return H}function Ho(){var H,ge,Se;if(H=Ce,ge=[],Se=Ue(),Se!==l)for(;Se!==l;)ge.push(Se),Se=Ue();else ge=l;return ge!==l?(Se=Os(),Se!==l?(mt=H,H=ot(Se)):(Ce=H,H=l)):(Ce=H,H=l),H}function Os(){var H,ge;return H=Ce,ge=Ga(),ge!==l&&(mt=H,ge=ur(ge)),H=ge,H===l&&(H=Ce,ge=Rs(),ge!==l&&(mt=H,ge=j(ge)),H=ge,H===l&&(H=Ce,ge=js(),ge!==l&&(mt=H,ge=M(ge)),H=ge)),H}function Rs(){var H,ge,Se,Te=function(qe){ut===0&&zt(qe)};return Te(F),ut++,H=Ce,a.charCodeAt(Ce)===46?(ge=f,Ce++):ge=l,ge!==l?(Se=Me(),Se!==l?(mt=H,H=z(Se)):(Ce=H,H=l)):(Ce=H,H=l),ut--,H}function Ga(){var H,ge,Se,Te=function(qe){ut===0&&zt(qe)};return Te(ie),ut++,H=Ce,a.charCodeAt(Ce)===35?(ge=b,Ce++):ge=l,ge!==l?(Se=Me(),Se!==l?(mt=H,H=de(Se)):(Ce=H,H=l)):(Ce=H,H=l),ut--,H}function js(){var H,ge,Se,Te,qe=function(Ve){ut===0&&zt(Ve)};return H=Ce,ge=Me(),ge!==l?(qe(W),a.charCodeAt(Ce)===61?(Se=v,Ce++):Se=l,Se!==l?(Te=so(),Te!==l?(mt=H,H=ke(ge,Te)):(Ce=H,H=l)):(Ce=H,H=l)):(Ce=H,H=l),H}function _o(){var H,ge,Se,Te,qe,Ve,gt,Er,Vo=function(Ip){ut===0&&zt(Ip)};if(H=Ce,ge=Me(),ge!==l)if(Vo(V),a.charCodeAt(Ce)===40?(Se=y,Ce++):Se=l,Se!==l){for(Te=[],qe=Ue();qe!==l;)Te.push(qe),qe=Ue();for(qe=Ce,Ve=Pn(),Ve===l&&(Ve=null),gt=[],Er=Wr();Er!==l;)gt.push(Er),Er=Wr();mt=qe,qe=Ne(ge,Ve,gt),Vo(pe),a.charCodeAt(Ce)===41?(Ve=x,Ce++):Ve=l,Ve!==l?(mt=H,H=De(ge,qe)):(Ce=H,H=l)}else Ce=H,H=l;else Ce=H,H=l;return H}function Pn(){var H,ge,Se,Te,qe=function(Ve){ut===0&&zt(Ve)};return H=Ce,ge=Ce,Se=Me(),Se!==l?(qe(W),a.charCodeAt(Ce)===61?(Te=v,Ce++):Te=l,Te!==l?(mt=ge,ge=at(Se)):(Ce=ge,ge=l)):(Ce=ge,ge=l),ge===l&&(ge=null),Se=so(),Se!==l?(mt=H,H=yt(ge,Se)):(Ce=H,H=l),H}function Wr(){var H,ge,Se,Te,qe,Ve=function(gt){ut===0&&zt(gt)};for(H=Ce,ge=[],Se=Ue();Se!==l;)ge.push(Se),Se=Ue();if(Ve(K),a.charCodeAt(Ce)===44?(Se=k,Ce++):Se=l,Se!==l){for(Te=[],qe=Ue();qe!==l;)Te.push(qe),qe=Ue();qe=Pn(),qe!==l?(mt=H,H=ht(qe)):(Ce=H,H=l)}else Ce=H,H=l;return H}function lr(){var H,ge,Se,Te=function(qe){ut===0&&zt(qe)};for(H=Ce,ge=[],Se=Ue();Se!==l;)ge.push(Se),Se=Ue();return Te(K),a.charCodeAt(Ce)===44?(Se=k,Ce++):Se=l,Se!==l?(ge=[ge,Se],H=ge):(Ce=H,H=l),H===l&&(H=null),H}function Ls(){var H,ge,Se,Te,qe,Ve=function(gt){ut===0&&zt(gt)};if(Ve(se),ut++,H=Ce,ne.test(a.charAt(Ce))?(ge=a.charAt(Ce),Ce++):ge=l,ge!==l)if(Se=Me(),Se!==l){for(Te=[],qe=Wl();qe!==l;)Te.push(qe),qe=Wl();mt=H,H=Nt(ge,Se,Te)}else Ce=H,H=l;else Ce=H,H=l;return ut--,H}function Wl(){var H,ge,Se,Te;return H=Ce,a.charCodeAt(Ce)===46?(ge=f,Ce++):ge=l,ge!==l?(Se=Me(),Se!==l?(mt=H,H=at(Se)):(Ce=H,H=l)):(Ce=H,H=l),H===l&&(H=Ce,a.charCodeAt(Ce)===91?(ge=w,Ce++):ge=l,ge!==l?(Se=Mn(),Se===l&&(Se=ba()),Se!==l?(a.charCodeAt(Ce)===93?(Te=_,Ce++):Te=l,Te!==l?(mt=H,H=ht(Se)):(Ce=H,H=l)):(Ce=H,H=l)):(Ce=H,H=l)),H}function so(){var H;return H=Ns(),H===l&&(H=Wa(),H===l&&(H=ba(),H===l&&(H=Mn(),H===l&&(H=Np(),H===l&&(H=Is(),H===l&&(H=_o(),H===l&&(H=Ls()))))))),H}function Ns(){var H,ge,Se=function(Te){ut===0&&zt(Te)};return Se(X),ut++,H=Ce,a.substr(Ce,4)===A?(ge=A,Ce+=4):ge=l,ge!==l&&(mt=H,ge=Ht()),H=ge,ut--,H}function Wa(){var H,ge,Se=function(Te){ut===0&&zt(Te)};return Se(te),ut++,H=Ce,a.substr(Ce,4)===R?(ge=R,Ce+=4):ge=l,ge!==l&&(mt=H,ge=In()),H=ge,H===l&&(H=Ce,a.substr(Ce,5)===E?(ge=E,Ce+=5):ge=l,ge!==l&&(mt=H,ge=ma()),H=ge),ut--,H}function Np(){var H,ge,Se,Te,qe,Ve,gt,Er=function(Vo){ut===0&&zt(Vo)};if(H=Ce,Er(_e),a.charCodeAt(Ce)===91?(ge=w,Ce++):ge=l,ge!==l){for(Se=[],Te=Ue();Te!==l;)Se.push(Te),Te=Ue();if(Te=Ce,qe=so(),qe!==l){for(Ve=[],gt=en();gt!==l;)Ve.push(gt),gt=en();gt=lr(),mt=Te,Te=Ba(qe,Ve)}else Ce=Te,Te=l;for(Te===l&&(Te=null),qe=[],Ve=Ue();Ve!==l;)qe.push(Ve),Ve=Ue();Er(S),a.charCodeAt(Ce)===93?(Ve=_,Ce++):Ve=l,Ve!==l?(mt=H,H=qa(Te)):(Ce=H,H=l)}else Ce=H,H=l;return H}function en(){var H,ge,Se,Te,qe,Ve=function(gt){ut===0&&zt(gt)};for(H=Ce,ge=[],Se=Ue();Se!==l;)ge.push(Se),Se=Ue();if(Ve(K),a.charCodeAt(Ce)===44?(Se=k,Ce++):Se=l,Se!==l){for(Te=[],qe=Ue();qe!==l;)Te.push(qe),qe=Ue();qe=so(),qe!==l?(mt=H,H=ht(qe)):(Ce=H,H=l)}else Ce=H,H=l;return H}function Is(){var H,ge,Se,Te,qe,Ve,gt,Er=function(Vo){ut===0&&zt(Vo)};if(H=Ce,Er(N),a.charCodeAt(Ce)===123?(ge=L,Ce++):ge=l,ge!==l){for(Se=[],Te=Ue();Te!==l;)Se.push(Te),Te=Ue();if(Te=Ce,qe=Ya(),qe!==l){for(Ve=[],gt=Ps();gt!==l;)Ve.push(gt),gt=Ps();gt=lr(),mt=Te,Te=ao(qe,Ve)}else Ce=Te,Te=l;for(Te===l&&(Te=null),qe=[],Ve=Ue();Ve!==l;)qe.push(Ve),Ve=Ue();Er(B),a.charCodeAt(Ce)===125?(Ve=I,Ce++):Ve=l,Ve!==l?(mt=H,H=Ha(Te)):(Ce=H,H=l)}else Ce=H,H=l;return H}function Ps(){var H,ge,Se,Te,qe,Ve=function(gt){ut===0&&zt(gt)};for(H=Ce,ge=[],Se=Ue();Se!==l;)ge.push(Se),Se=Ue();if(Ve(K),a.charCodeAt(Ce)===44?(Se=k,Ce++):Se=l,Se!==l){for(Te=[],qe=Ue();qe!==l;)Te.push(qe),qe=Ue();qe=Ya(),qe!==l?(mt=H,H=ot(qe)):(Ce=H,H=l)}else Ce=H,H=l;return H}function Ya(){var H,ge,Se,Te,qe,Ve=function(gt){ut===0&&zt(gt)};if(H=Ce,ge=Me(),ge===l&&(ge=ba()),ge!==l)if(Ve(re),a.charCodeAt(Ce)===58?(Se=O,Ce++):Se=l,Se!==l){for(Te=[],qe=Ue();qe!==l;)Te.push(qe),qe=Ue();qe=so(),qe!==l?(mt=H,H=xo(ge,qe)):(Ce=H,H=l)}else Ce=H,H=l;else Ce=H,H=l;return H}function Mn(){var H,ge,Se,Te,qe,Ve,gt=function(Er){ut===0&&zt(Er)};if(gt(ye),ut++,H=Ce,a.charCodeAt(Ce)===45&&Ce++,ge=[],le.test(a.charAt(Ce))?(Se=a.charAt(Ce),Ce++):Se=l,Se!==l)for(;Se!==l;)ge.push(Se),le.test(a.charAt(Ce))?(Se=a.charAt(Ce),Ce++):Se=l;else ge=l;if(ge!==l){if(Se=Ce,a.charCodeAt(Ce)===46?(Te=f,Ce++):Te=l,Te!==l){if(qe=[],le.test(a.charAt(Ce))?(Ve=a.charAt(Ce),Ce++):Ve=l,Ve!==l)for(;Ve!==l;)qe.push(Ve),le.test(a.charAt(Ce))?(Ve=a.charAt(Ce),Ce++):Ve=l;else qe=l;qe!==l?(Te=[Te,qe],Se=Te):(Ce=Se,Se=l)}else Ce=Se,Se=l;Se===l&&(Se=null),mt=H,H=_i()}else Ce=H,H=l;return ut--,H}function ba(){var H,ge,Se,Te,qe=function(Ve){ut===0&&zt(Ve)};if(qe(ue),ut++,H=Ce,a.charCodeAt(Ce)===34?(ge=P,Ce++):ge=l,ge!==l){for(Se=[],Te=Z();Te!==l;)Se.push(Te),Te=Z();a.charCodeAt(Ce)===34?(Te=P,Ce++):Te=l,Te!==l?(mt=H,H=An(Se)):(Ce=H,H=l)}else Ce=H,H=l;return ut--,H}function Z(){var H;return G.test(a.charAt(Ce))?(H=a.charAt(Ce),Ce++):H=l,H===l&&(H=Le()),H}function Le(){var H,ge,Se,Te;return H=Ce,a.charCodeAt(Ce)===92?(ge=U,Ce++):ge=l,ge!==l?(a.charCodeAt(Ce)===34?(Se=P,Ce++):Se=l,Se===l&&(a.charCodeAt(Ce)===92?(Se=U,Ce++):Se=l,Se===l&&(Se=Ce,a.charCodeAt(Ce)===110?(Te=Y,Ce++):Te=l,Te!==l&&(mt=Se,Te=wo()),Se=Te,Se===l&&(Se=Ce,a.charCodeAt(Ce)===114?(Te=q,Ce++):Te=l,Te!==l&&(mt=Se,Te=Fo()),Se=Te,Se===l&&(Se=Ce,a.charCodeAt(Ce)===116?(Te=Q,Ce++):Te=l,Te!==l&&(mt=Se,Te=_s()),Se=Te)))),Se!==l?(mt=H,H=Vl(Se)):(Ce=H,H=l)):(Ce=H,H=l),H}function Me(){var H,ge,Se,Te=function(qe){ut===0&&zt(qe)};if(Te(me),ut++,H=Ce,ge=[],ce.test(a.charAt(Ce))?(Se=a.charAt(Ce),Ce++):Se=l,Se!==l)for(;Se!==l;)ge.push(Se),ce.test(a.charAt(Ce))?(Se=a.charAt(Ce),Ce++):Se=l;else ge=l;return ge!==l?H=a.substring(H,Ce):H=ge,ut--,H}function Ue(){var H,ge=function(Se){ut===0&&zt(Se)};return ge(je),ut++,ee.test(a.charAt(Ce))?(H=a.charAt(Ce),Ce++):H=l,ut--,H}const{Variable:lt,Function:xt}=i;if(As(),io=u(),io!==l&&Ce===a.length)return io;throw io!==l&&Ce<a.length&&zt(kt()),ga()}t.exports={SyntaxError:n,parse:o}}}),Ife=Qe({"node_modules/entities/lib/maps/entities.json"(e,t){t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
|
|
6693
6693
|
`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}}),Gj=Qe({"node_modules/markdown-it/lib/common/entities.js"(e,t){t.exports=Ife()}}),Ly=Qe({"node_modules/uc.micro/categories/P/regex.js"(e,t){t.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/}}),Pfe=Qe({"node_modules/mdurl/encode.js"(e,t){var r={};function n(a){var i,l,p=r[a];if(p)return p;for(p=r[a]=[],i=0;i<128;i++)l=String.fromCharCode(i),/^[0-9a-z]$/i.test(l)?p.push(l):p.push("%"+("0"+i.toString(16).toUpperCase()).slice(-2));for(i=0;i<a.length;i++)p[a.charCodeAt(i)]=a[i];return p}function o(a,i,l){var p,u,h,f,b,v="";for(typeof i!="string"&&(l=i,i=o.defaultChars),typeof l>"u"&&(l=!0),b=n(i),p=0,u=a.length;p<u;p++){if(h=a.charCodeAt(p),l&&h===37&&p+2<u&&/^[0-9a-f]{2}$/i.test(a.slice(p+1,p+3))){v+=a.slice(p,p+3),p+=2;continue}if(h<128){v+=b[h];continue}if(h>=55296&&h<=57343){if(h>=55296&&h<=56319&&p+1<u&&(f=a.charCodeAt(p+1),f>=56320&&f<=57343)){v+=encodeURIComponent(a[p]+a[p+1]),p++;continue}v+="%EF%BF%BD";continue}v+=encodeURIComponent(a[p])}return v}o.defaultChars=";/?:@&=+$,-_.!~*'()#",o.componentChars="-_.!~*'()",t.exports=o}}),Mfe=Qe({"node_modules/mdurl/decode.js"(e,t){var r={};function n(a){var i,l,p=r[a];if(p)return p;for(p=r[a]=[],i=0;i<128;i++)l=String.fromCharCode(i),p.push(l);for(i=0;i<a.length;i++)l=a.charCodeAt(i),p[l]="%"+("0"+l.toString(16).toUpperCase()).slice(-2);return p}function o(a,i){var l;return typeof i!="string"&&(i=o.defaultChars),l=n(i),a.replace(/(%[a-f0-9]{2})+/gi,function(p){var u,h,f,b,v,y,x,k="";for(u=0,h=p.length;u<h;u+=3){if(f=parseInt(p.slice(u+1,u+3),16),f<128){k+=l[f];continue}if((f&224)===192&&u+3<h&&(b=parseInt(p.slice(u+4,u+6),16),(b&192)===128)){x=f<<6&1984|b&63,x<128?k+="\uFFFD\uFFFD":k+=String.fromCharCode(x),u+=3;continue}if((f&240)===224&&u+6<h&&(b=parseInt(p.slice(u+4,u+6),16),v=parseInt(p.slice(u+7,u+9),16),(b&192)===128&&(v&192)===128)){x=f<<12&61440|b<<6&4032|v&63,x<2048||x>=55296&&x<=57343?k+="\uFFFD\uFFFD\uFFFD":k+=String.fromCharCode(x),u+=6;continue}if((f&248)===240&&u+9<h&&(b=parseInt(p.slice(u+4,u+6),16),v=parseInt(p.slice(u+7,u+9),16),y=parseInt(p.slice(u+10,u+12),16),(b&192)===128&&(v&192)===128&&(y&192)===128)){x=f<<18&1835008|b<<12&258048|v<<6&4032|y&63,x<65536||x>1114111?k+="\uFFFD\uFFFD\uFFFD\uFFFD":(x-=65536,k+=String.fromCharCode(55296+(x>>10),56320+(x&1023))),u+=9;continue}k+="\uFFFD"}return k})}o.defaultChars=";/?:@&=+$,#",o.componentChars="",t.exports=o}}),Dfe=Qe({"node_modules/mdurl/format.js"(e,t){t.exports=function(r){var n="";return n+=r.protocol||"",n+=r.slashes?"//":"",n+=r.auth?r.auth+"@":"",r.hostname&&r.hostname.indexOf(":")!==-1?n+="["+r.hostname+"]":n+=r.hostname||"",n+=r.port?":"+r.port:"",n+=r.pathname||"",n+=r.search||"",n+=r.hash||"",n}}}),$fe=Qe({"node_modules/mdurl/parse.js"(e,t){function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var n=/^([a-z0-9.+-]+:)/i,o=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["<",">",'"',"`"," ","\r",`
|
|
6694
6694
|
`," "],l=["{","}","|","\\","^","`"].concat(i),p=["'"].concat(l),u=["%","/","?",";","#"].concat(p),h=["/","?","#"],f=255,b=/^[+a-z0-9A-Z_-]{0,63}$/,v=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,y={javascript:!0,"javascript:":!0},x={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function k(w,_){if(w&&w instanceof r)return w;var A=new r;return A.parse(w,_),A}r.prototype.parse=function(w,_){var A,R,E,L,I,O=w;if(O=O.trim(),!_&&w.split("#").length===1){var P=a.exec(O);if(P)return this.pathname=P[1],P[2]&&(this.search=P[2]),this}var U=n.exec(O);if(U&&(U=U[0],E=U.toLowerCase(),this.protocol=U,O=O.substr(U.length)),(_||U||O.match(/^\/\/[^@\/]+@[^@\/]+/))&&(I=O.substr(0,2)==="//",I&&!(U&&y[U])&&(O=O.substr(2),this.slashes=!0)),!y[U]&&(I||U&&!x[U])){var Y=-1;for(A=0;A<h.length;A++)L=O.indexOf(h[A]),L!==-1&&(Y===-1||L<Y)&&(Y=L);var q,Q;for(Y===-1?Q=O.lastIndexOf("@"):Q=O.lastIndexOf("@",Y),Q!==-1&&(q=O.slice(0,Q),O=O.slice(Q+1),this.auth=q),Y=-1,A=0;A<u.length;A++)L=O.indexOf(u[A]),L!==-1&&(Y===-1||L<Y)&&(Y=L);Y===-1&&(Y=O.length),O[Y-1]===":"&&Y--;var ne=O.slice(0,Y);O=O.slice(Y),this.parseHost(ne),this.hostname=this.hostname||"";var le=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!le){var G=this.hostname.split(/\./);for(A=0,R=G.length;A<R;A++){var ce=G[A];if(ce&&!ce.match(b)){for(var ee="",fe=0,oe=ce.length;fe<oe;fe++)ce.charCodeAt(fe)>127?ee+="x":ee+=ce[fe];if(!ee.match(b)){var F=G.slice(0,A),ie=G.slice(A+1),W=ce.match(v);W&&(F.push(W[1]),ie.unshift(W[2])),ie.length&&(O=ie.join(".")+O),this.hostname=F.join(".");break}}}}this.hostname.length>f&&(this.hostname=""),le&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var V=O.indexOf("#");V!==-1&&(this.hash=O.substr(V),O=O.slice(0,V));var pe=O.indexOf("?");return pe!==-1&&(this.search=O.substr(pe),O=O.slice(0,pe)),O&&(this.pathname=O),x[E]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(w){var _=o.exec(w);_&&(_=_[0],_!==":"&&(this.port=_.substr(1)),w=w.substr(0,w.length-_.length)),w&&(this.hostname=w)},t.exports=k}}),Wj=Qe({"node_modules/mdurl/index.js"(e,t){t.exports.encode=Pfe(),t.exports.decode=Mfe(),t.exports.format=Dfe(),t.exports.parse=$fe()}}),Yj=Qe({"node_modules/uc.micro/properties/Any/regex.js"(e,t){t.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/}}),Kj=Qe({"node_modules/uc.micro/categories/Cc/regex.js"(e,t){t.exports=/[\0-\x1F\x7F-\x9F]/}}),zfe=Qe({"node_modules/uc.micro/categories/Cf/regex.js"(e,t){t.exports=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/}}),Jj=Qe({"node_modules/uc.micro/categories/Z/regex.js"(e,t){t.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/}}),Ufe=Qe({"node_modules/uc.micro/index.js"(e){e.Any=Yj(),e.Cc=Kj(),e.Cf=zfe(),e.P=Ly(),e.Z=Jj()}}),Yt=Qe({"node_modules/markdown-it/lib/common/utils.js"(e){function t(ne){return Object.prototype.toString.call(ne)}function r(ne){return t(ne)==="[object String]"}var n=Object.prototype.hasOwnProperty;function o(ne,le){return n.call(ne,le)}function a(ne){var le=Array.prototype.slice.call(arguments,1);return le.forEach(function(G){if(G){if(typeof G!="object")throw new TypeError(G+"must be object");Object.keys(G).forEach(function(ce){ne[ce]=G[ce]})}}),ne}function i(ne,le,G){return[].concat(ne.slice(0,le),G,ne.slice(le+1))}function l(ne){return!(ne>=55296&&ne<=57343||ne>=64976&&ne<=65007||(ne&65535)===65535||(ne&65535)===65534||ne>=0&&ne<=8||ne===11||ne>=14&&ne<=31||ne>=127&&ne<=159||ne>1114111)}function p(ne){if(ne>65535){ne-=65536;var le=55296+(ne>>10),G=56320+(ne&1023);return String.fromCharCode(le,G)}return String.fromCharCode(ne)}var u=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,h=/&([a-z#][a-z0-9]{1,31});/gi,f=new RegExp(u.source+"|"+h.source,"gi"),b=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,v=Gj();function y(ne,le){var G=0;return o(v,le)?v[le]:le.charCodeAt(0)===35&&b.test(le)&&(G=le[1].toLowerCase()==="x"?parseInt(le.slice(2),16):parseInt(le.slice(1),10),l(G))?p(G):ne}function x(ne){return ne.indexOf("\\")<0?ne:ne.replace(u,"$1")}function k(ne){return ne.indexOf("\\")<0&&ne.indexOf("&")<0?ne:ne.replace(f,function(le,G,ce){return G||y(le,ce)})}var w=/[&<>"]/,_=/[&<>"]/g,A={"&":"&","<":"<",">":">",'"':"""};function R(ne){return A[ne]}function E(ne){return w.test(ne)?ne.replace(_,R):ne}var L=/[.?*+^$[\]\\(){}|-]/g;function I(ne){return ne.replace(L,"\\$&")}function O(ne){switch(ne){case 9:case 32:return!0}return!1}function P(ne){if(ne>=8192&&ne<=8202)return!0;switch(ne){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var U=Ly();function Y(ne){return U.test(ne)}function q(ne){switch(ne){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Q(ne){return ne=ne.trim().replace(/\s+/g," "),"\u1E9E".toLowerCase()==="\u1E7E"&&(ne=ne.replace(/ẞ/g,"\xDF")),ne.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=Wj(),e.lib.ucmicro=Ufe(),e.assign=a,e.isString=r,e.has=o,e.unescapeMd=x,e.unescapeAll=k,e.isValidEntityCode=l,e.fromCodePoint=p,e.escapeHtml=E,e.arrayReplaceAt=i,e.isSpace=O,e.isWhiteSpace=P,e.isMdAsciiPunct=q,e.isPunctChar=Y,e.escapeRE=I,e.normalizeReference=Q}}),Ffe=Qe({"node_modules/markdown-it/lib/helpers/parse_link_label.js"(e,t){t.exports=function(r,n,o){var a,i,l,p,u=-1,h=r.posMax,f=r.pos;for(r.pos=n+1,a=1;r.pos<h;){if(l=r.src.charCodeAt(r.pos),l===93&&(a--,a===0)){i=!0;break}if(p=r.pos,r.md.inline.skipToken(r),l===91){if(p===r.pos-1)a++;else if(o)return r.pos=f,-1}}return i&&(u=r.pos),r.pos=f,u}}}),Bfe=Qe({"node_modules/markdown-it/lib/helpers/parse_link_destination.js"(e,t){var r=Yt().unescapeAll;t.exports=function(n,o,a){var i,l,p=0,u=o,h={ok:!1,pos:0,lines:0,str:""};if(n.charCodeAt(o)===60){for(o++;o<a;){if(i=n.charCodeAt(o),i===10||i===60)return h;if(i===62)return h.pos=o+1,h.str=r(n.slice(u+1,o)),h.ok=!0,h;if(i===92&&o+1<a){o+=2;continue}o++}return h}for(l=0;o<a&&(i=n.charCodeAt(o),!(i===32||i<32||i===127));){if(i===92&&o+1<a){if(n.charCodeAt(o+1)===32)break;o+=2;continue}if(i===40&&(l++,l>32))return h;if(i===41){if(l===0)break;l--}o++}return u===o||l!==0||(h.str=r(n.slice(u,o)),h.lines=p,h.pos=o,h.ok=!0),h}}}),qfe=Qe({"node_modules/markdown-it/lib/helpers/parse_link_title.js"(e,t){var r=Yt().unescapeAll;t.exports=function(n,o,a){var i,l,p=0,u=o,h={ok:!1,pos:0,lines:0,str:""};if(o>=a||(l=n.charCodeAt(o),l!==34&&l!==39&&l!==40))return h;for(o++,l===40&&(l=41);o<a;){if(i=n.charCodeAt(o),i===l)return h.pos=o+1,h.lines=p,h.str=r(n.slice(u+1,o)),h.ok=!0,h;if(i===40&&l===41)return h;i===10?p++:i===92&&o+1<a&&(o++,n.charCodeAt(o)===10&&p++),o++}return h}}}),Hfe=Qe({"node_modules/markdown-it/lib/helpers/index.js"(e){e.parseLinkLabel=Ffe(),e.parseLinkDestination=Bfe(),e.parseLinkTitle=qfe()}}),Vfe=Qe({"node_modules/markdown-it/lib/renderer.js"(e,t){var r=Yt().assign,n=Yt().unescapeAll,o=Yt().escapeHtml,a={};a.code_inline=function(l,p,u,h,f){var b=l[p];return"<code"+f.renderAttrs(b)+">"+o(l[p].content)+"</code>"},a.code_block=function(l,p,u,h,f){var b=l[p];return"<pre"+f.renderAttrs(b)+"><code>"+o(l[p].content)+`</code></pre>
|
|
@@ -11699,7 +11699,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
11699
11699
|
|
|
11700
11700
|
height: ${({size:e})=>e||"16px"};
|
|
11701
11701
|
width: ${({size:e})=>e||"16px"};
|
|
11702
|
-
`;async function VAe(e){return null}function GAe(e,t){const[r,n]=D.useState(),o=D.useCallback(async()=>{try{const
|
|
11702
|
+
`;async function VAe(e){return null}function GAe(e,t){const[r,n]=D.useState(),o=D.useRef(e);o.current=e;const a=D.useCallback(async()=>{try{const i=await VAe();n(i)}catch(i){console.warn("Failed to configure replay for operation:",o.current.operation.operationId,i)}},[]);return D.useEffect(()=>{t&&a()},[t,a]),{config:r,refresh:a}}const WAe=Pr(Cl.NOT_LOADED),Mz=Pr([]);function YAe(e,t,r,n,o,a,i,l){if(!r)return;const p=new EN(r),u=p.definition.paths?.[e];let h=u?.[t];!h&&u?.additionalOperations&&(h=u.additionalOperations[t]);const f=A2(p,{...h,pathName:e,httpVerb:t,pathParameters:u.parameters||[],pathServers:u.servers||[]},void 0,l??gx({}),"",{isCallback:!1},n,i);if(!f)return;const b=f.requestBody?.content?.mediaTypes[0]?.name||"application/json";return{id:f.id,name:f.name,method:f.httpVerb,operationId:f.operationId,parameters:JAe(f.parameters,o?.requestValues),body:eEe(f.requestBody,r,o?.requestValues?.body?{activeExampleName:o?.activeExampleName,[b]:o?.requestValues?.body}:o?.activeExampleName?{activeExampleName:o?.activeExampleName}:void 0),path:f.path,href:f.href,servers:f.servers,security:tEe(f.security),responses:Object.fromEntries(f.responses.map(v=>[v.code,{code:v.code,description:v.description,mediaTypes:v.content?.mediaTypes.reduce((y,x)=>(y[x.name]={name:x.name,schema:Dz(x.schema?.rawSchema,r)},y),{})}]))}}function KAe(e,t,r,n){return function(o,a,i){const l=qt.compile(["paths",o,a]),p=n?.[l],u=YAe(o,a,i,e,p,void 0,t,r);if(u)return{...u,operationId:u.operationId||qt.compile(["paths",u.path,u.method])}}}function JAe(e,t){const r=new Set,n=e.map(o=>(r.add(o.in+":"+o.name),{name:o.name,in:o.in,required:o.required,description:o.description,example:t?.[String(o.in)]?.[o.name]||o.example,schema:o.schema,...o.allowReserved&&{allowReserved:o.allowReserved}}));for(const[o,a]of Object.entries(t||{}))for(const[i,l]of Object.entries(a||{}))r.has(o+":"+i)||n.push({name:i,in:o,required:!1,description:"",example:String(l),schema:void 0});return n}function QAe({type:e,format:t,enum:r}){return e==="string"&&(t==="binary"||t==="base64")?"file":e==="object"?"multiline":r.length>0?"select":"text"}function ZAe(e,t){const r=e[0]?.example||e[0]?.examples;if(r)return r;if(e.schema?.example)return e.schema.example;const n=t?.default?.value||t?.default?.rawValue;return n?.[e.name]?sY(n?.[e.name])?String(n?.[e.name]):JSON.stringify(n?.[e.name]):""}function XAe(e){if(e?.fields)return e.fields;if(e?.oneOf){for(const t of e.oneOf)if(t?.fields)return t.fields}}function eEe(e,t,r){if(!e||!e.content?.mediaTypes){if(!r)return;const{activeExampleName:n,...o}=r;return{activeExampleName:n,mediaTypes:Object.fromEntries(Object.entries(o).map(([a,i])=>[a,{name:a,examples:{default:{value:i}},schema:{},parameters:[]}]))}}return{required:e.required,activeExampleName:r?.activeExampleName,mediaTypes:e.content.mediaTypes.reduce((n,o)=>{const a=o.schema,i=r?.[o.name]?{default:{value:r?.[o.name],rawValue:r?.[o.name],mime:o.name}}:o.examples||o.formExamples,l=XAe(a);return n[o.name]={name:o.name,examples:i,schema:Dz(o.schema?.rawSchema,t),parameters:l?.map(p=>({inputType:QAe(p.schema),name:p.name,example:ZAe(p,i)}))},n},{})}}function Dz(e,t){if(!(!e||!t))return{...e,components:t?.components||{}}}function tEe(e){if(e)return e.map(({schemes:t})=>t.map(r=>{const n={id:r.id,type:r.type,in:r.in,openIdConnectUrl:r.openIdConnectUrl,scopes:r.scopes,scheme:r.scheme,name:r.name,flows:r.flows,serverValues:r.serverValues,"x-defaultAccessToken":r["x-defaultAccessToken"],"x-defaultTokenType":r["x-defaultTokenType"],"x-defaultClientId":r["x-defaultClientId"],"x-defaultClientSecret":r["x-defaultClientSecret"],"x-defaultUsername":r["x-defaultUsername"],"x-defaultPassword":r["x-defaultPassword"]};return Object.keys(n).forEach(o=>n[o]===void 0&&delete n[o]),n}))}const rEe=D.lazy(async()=>import("./redocly-openapi-docs.min.index-BIgyny5h.js").then(e=>e.bk).then(e=>({default:e.ReplayOverlay})));function nEe({operation:e,corsProxyUrl:t,fullOpenApi:r}){const n=St(),o=Ia(),a=D.useRef(null),i=Ze(sn),{oAuth2RedirectURI:l,routingBasePath:p}=i,u=Ze(Mz),{parser:h,options:{events:f}}=Ze(Vr),b=Ze(N2),[v,y]=D.useState(!1),[x,k]=an(WAe),[w,_]=an(mg),[[,A],R]=an(gg),E=D.useMemo(()=>({userClaims:b,info:h?.definition.info,operation:{name:e.name,path:e.path,operationId:e.operationId||"",href:e.href,method:e.httpVerb},servers:e.servers}),[b,h?.definition.info,e.name,e.path,e.operationId,e.href,e.httpVerb,e.servers]),{config:L,refresh:I}=GAe(E,v),O=D.useCallback(()=>I(),[I]),P=D.useCallback(le=>{if(!le)return;const G=u.find(ce=>ce.operationId===le);return Dr(p,G?.href)},[u,p]),U=D.useMemo(()=>KAe(b,L,i,w),[b,L,i,w]),Y=D.useMemo(()=>({corsProxyUrl:t,selectedEnvironment:A,apiId:h?.definition.info?.["x-metadata"]?.apiId,oAuth2RedirectURI:l,disableCollectionsTab:!0,storageKey:p,telemetry:{tracerName:"try-it",collectorUrl:tve()},HTTPSnippet:Zn,convertOperationToReplayValue:U,dynamicReplayValues:L,getOperationUrl:P,onRequestReset:O}),[t,A,h?.definition.info,l,p,U,L,P,O]);S0(a),$u(v);const q=D.useCallback(({operations:le,environment:G,environments:ce})=>{const ee=le.reduce((fe,oe)=>{oe.requestValues.body=oe.requestValues.body instanceof URLSearchParams?Object.fromEntries(oe.requestValues.body.entries()):oe.requestValues.body;const{path:F,method:ie}=oe.apiPath,W=qt.compile(["paths",F,ie]);return fe[W]=Vc(fg(W),oe),fe},{});_({...w,...ee}),R({environment:G,environments:ce})},[w,_,R]),Q=()=>{if(x!==Cl.LOADING){if(!v&&(o.sendTryItOpenedMessage([{id:"tryItButton",object:"button",uri:"urn:redocly:redoc:ui:button:tryItButton"}]),f?.tryItOpen&&e)){const le=RAe({operation:e});f.tryItOpen(le)}y(!v)}x===Cl.NOT_LOADED&&k(Cl.LOADING)},ne=D.useCallback(le=>{if(f?.tryItSent&&e){const G=LAe({operation:e,isSuccess:le});f.tryItSent(G)}},[f,e]);return r?m.jsxs(m.Fragment,{children:[m.jsx(ft,{onClick:Q,variant:"primary",iconPosition:"left",icon:x===Cl.LOADING?m.jsx(z0,{}):m.jsx(Pz,{}),children:x===Cl.LOADING?n("openapi.loading","Loading..."):n("openapi.tryIt","Try it")}),v&&m.jsx(D.Suspense,{children:m.jsx(Nc,{mountId:"api-content",children:m.jsx("div",{ref:a,children:m.jsx(rEe,{ReplayGate:Nz,ReplayTopBarActions:Iz,activeOperationId:e.operationId||e.pointer,api:r,onRequestChange:q,onClose:Q,onLoad:()=>k(Cl.LOADED),settings:Y,onRequestSent:ne})})})})]}):null}const $z=D.memo(nEe);function oEe({operation:e,disableFooter:t,onPanelToggle:r,...n}){const o=Ia(),[{activeLanguage:a,languages:i},l]=an(bg),{samples:p}=BAe(e),{parser:u,options:{events:h,corsProxyUrl:f,hideReplay:b}}=Ze(Vr),v=!t&&!e.isWebhook&&!b&&!e.hideReplay,y=!!i?.length,x=WM(p,a),k=O=>{l(O),o.sendSelectLanguageClickedMessage([{id:"selectLanguageButton",object:"button",uri:"urn:redocly:redoc:ui:button:selectLanguageButton",language:O}]);const P=i?.find(U=>U.key===O);if(h?.codeSamplesLanguageSwitch&&P){const U=CAe({operation:e,sample:{lang:P.lang,label:P.title}});h.codeSamplesLanguageSwitch(U)}},w=Ze(Na),{activeExampleName:_}=Ze(Xn(e.pointer)),A=D.useCallback(({lang:O,title:P})=>()=>{const U=Rz({operation:e,label:P,lang:O,type:"request",activeMimeName:w,activeExampleName:_});o.sendCopyCodeSnippetClickedMessage([{id:"copyCodeSnippetButton",object:"button",uri:"urn:redocly:redoc:ui:button:copyCodeSnippetButton",snippetType:"request",language:O}]),h?.codeSamplesCopy?.(U)},[e,o,h,w,_]),R=D.useCallback(O=>{r?.(O,"request-samples")},[r]),E=()=>m.jsxs(iEe,{isExpandable:!1,$withReplay:!y&&v,children:[m.jsx(sEe,{operation:e}),y&&m.jsx(ez,{activeTab:x,samples:p,onChange:k}),!y&&v&&m.jsx($z,{operation:e,corsProxyUrl:f,fullOpenApi:u.definition})]}),L=D.useMemo(()=>{if(v&&y)return m.jsx(lEe,{children:m.jsx($z,{operation:e,corsProxyUrl:f,fullOpenApi:u.definition})})},[v,y,e,f,u.definition]),I=D.useMemo(()=>p.map(O=>O.key===x?m.jsx("div",{children:s2e(O)?m.jsx(pw,{content:O.requestBodyContent,onCopyClick:A(O),onPanelToggle:R,...n}):m.jsx(FAe,{lang:O.lang,source:O.source,externalSample:O,operation:e,onCopyClick:A(O),...n})},O.key+e.id):null),[x,A,R,e,n,p]);return i&&!p.length?m.jsx(hs,{className:"panel-request-samples",header:E,isExpandable:!1,expanded:!1}):p.length?m.jsx(hs,{className:"panel-request-samples",header:E,footer:L,isExpandable:!1,children:I}):null}const aEe=D.memo(oEe),iEe=ae(tp)`
|
|
11703
11703
|
flex-wrap: nowrap;
|
|
11704
11704
|
${({$withReplay:e})=>e&&"padding: var(--spacing-xs) var(--spacing-sm);"}
|
|
11705
11705
|
`,sEe=ae(jz)`
|
|
@@ -11992,4 +11992,4 @@ ${i.commentBefore}`:a}e.comment=r.after.join(`
|
|
|
11992
11992
|
`)||null}}function HPe({tagPrefixes:e},t){const[r,n]=t.parameters;if(!r||!n){const o="Insufficient parameters given for %TAG directive";throw new vt(t,o)}if(e.some(o=>o.handle===r)){const o="The %TAG directive must only be given at most once per handle in the same document.";throw new vt(t,o)}return{handle:r,prefix:n}}function VPe(e,t){let[r]=t.parameters;if(t.name==="YAML:1.0"&&(r="1.0"),!r){const n="Insufficient parameters given for %YAML directive";throw new vt(t,n)}if(!MB[r]){const n=`Document will be parsed as YAML ${e.version||e.options.version} rather than YAML ${r}`;e.warnings.push(new Sp(t,n))}return r}function GPe(e,t,r){const n=[];let o=!1;for(const a of t){const{comment:i,name:l}=a;switch(l){case"TAG":try{e.tagPrefixes.push(HPe(e,a))}catch(p){e.errors.push(p)}o=!0;break;case"YAML":case"YAML:1.0":if(e.version){const p="The %YAML directive must only be given at most once per document.";e.errors.push(new vt(a,p))}try{e.version=VPe(e,a)}catch(p){e.errors.push(p)}o=!0;break;default:if(l){const p=`YAML only supports %TAG and %YAML directives, and not %${l}`;e.warnings.push(new Sp(a,p))}}i&&n.push(i)}if(r&&!o&&(e.version||r.version||e.options.version)==="1.1"){const a=({handle:i,prefix:l})=>({handle:i,prefix:l});e.tagPrefixes=r.tagPrefixes.map(a),e.version=r.version}e.commentBefore=n.join(`
|
|
11993
11993
|
`)||null}function _p(e){if(e instanceof Sr)return!0;throw new Error("Expected a YAML collection as document contents")}class Lp{constructor(t){this.anchors=new I3(t.anchorPrefix),this.commentBefore=null,this.comment=null,this.contents=null,this.directivesEndMarker=null,this.errors=[],this.options=t,this.schema=null,this.tagPrefixes=[],this.version=null,this.warnings=[]}add(t){return _p(this.contents),this.contents.add(t)}addIn(t,r){_p(this.contents),this.contents.addIn(t,r)}delete(t){return _p(this.contents),this.contents.delete(t)}deleteIn(t){return ah(t)?this.contents==null?!1:(this.contents=null,!0):(_p(this.contents),this.contents.deleteIn(t))}getDefaults(){return Lp.defaults[this.version]||Lp.defaults[this.options.version]||{}}get(t,r){return this.contents instanceof Sr?this.contents.get(t,r):void 0}getIn(t,r){return ah(t)?!r&&this.contents instanceof Xt?this.contents.value:this.contents:this.contents instanceof Sr?this.contents.getIn(t,r):void 0}has(t){return this.contents instanceof Sr?this.contents.has(t):!1}hasIn(t){return ah(t)?this.contents!==void 0:this.contents instanceof Sr?this.contents.hasIn(t):!1}set(t,r){_p(this.contents),this.contents.set(t,r)}setIn(t,r){ah(t)?this.contents=r:(_p(this.contents),this.contents.setIn(t,r))}setSchema(t,r){if(!t&&!r&&this.schema)return;typeof t=="number"&&(t=t.toFixed(1)),t==="1.0"||t==="1.1"||t==="1.2"?(this.version?this.version=t:this.options.version=t,delete this.options.schema):t&&typeof t=="string"&&(this.options.schema=t),Array.isArray(r)&&(this.options.customTags=r);const n=Object.assign({},this.getDefaults(),this.options);this.schema=new Hl(n)}parse(t,r){this.options.keepCstNodes&&(this.cstNode=t),this.options.keepNodeTypes&&(this.type="DOCUMENT");const{directives:n=[],contents:o=[],directivesEndMarker:a,error:i,valueRange:l}=t;if(i&&(i.source||(i.source=this),this.errors.push(i)),GPe(this,n,r),a&&(this.directivesEndMarker=!0),this.range=l?[l.start,l.end]:null,this.setSchema(),this.anchors._cstAliases=[],qPe(this,o),this.anchors.resolveNodes(),this.options.prettyErrors){for(const p of this.errors)p instanceof zl&&p.makePretty();for(const p of this.warnings)p instanceof zl&&p.makePretty()}return this}listNonDefaultTags(){return BPe(this.contents).filter(t=>t.indexOf(Hl.defaultPrefix)!==0)}setTagPrefix(t,r){if(t[0]!=="!"||t[t.length-1]!=="!")throw new Error("Handle must start and end with !");if(r){const n=this.tagPrefixes.find(o=>o.handle===t);n?n.prefix=r:this.tagPrefixes.push({handle:t,prefix:r})}else this.tagPrefixes=this.tagPrefixes.filter(n=>n.handle!==t)}toJSON(t,r){const{keepBlobsInJSON:n,mapAsMap:o,maxAliasCount:a}=this.options,i=n&&(typeof t!="string"||!(this.contents instanceof Xt)),l={doc:this,indentStep:" ",keep:i,mapAsMap:i&&!!o,maxAliasCount:a,stringify:A1},p=Object.keys(this.anchors.map);p.length>0&&(l.anchors=new Map(p.map(h=>[this.anchors.map[h],{alias:[],aliasCount:0,count:1}])));const u=ha(this.contents,t,l);if(typeof r=="function"&&l.anchors)for(const{count:h,res:f}of l.anchors.values())r(f,h);return u}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");const t=this.options.indent;if(!Number.isInteger(t)||t<=0){const p=JSON.stringify(t);throw new Error(`"indent" option must be a positive integer, not ${p}`)}this.setSchema();const r=[];let n=!1;if(this.version){let p="%YAML 1.2";this.schema.name==="yaml-1.1"&&(this.version==="1.0"?p="%YAML:1.0":this.version==="1.1"&&(p="%YAML 1.1")),r.push(p),n=!0}const o=this.listNonDefaultTags();this.tagPrefixes.forEach(({handle:p,prefix:u})=>{o.some(h=>h.indexOf(u)===0)&&(r.push(`%TAG ${p} ${u}`),n=!0)}),(n||this.directivesEndMarker)&&r.push("---"),this.commentBefore&&((n||!this.directivesEndMarker)&&r.unshift(""),r.unshift(this.commentBefore.replace(/^/gm,"#")));const a={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(t),stringify:A1};let i=!1,l=null;if(this.contents){this.contents instanceof no&&(this.contents.spaceBefore&&(n||this.directivesEndMarker)&&r.push(""),this.contents.commentBefore&&r.push(this.contents.commentBefore.replace(/^/gm,"#")),a.forceBlockIndent=!!this.comment,l=this.contents.comment);const p=l?null:()=>i=!0,u=A1(this.contents,a,()=>l=null,p);r.push(Cp(u,"",l))}else this.contents!==void 0&&r.push(A1(this.contents,a));return this.comment&&((!i||l)&&r[r.length-1]!==""&&r.push(""),r.push(this.comment.replace(/^/gm,"#"))),r.join(`
|
|
11994
11994
|
`)+`
|
|
11995
|
-
`}}_n(Lp,"defaults",MB);function WPe(e,t=!0,r){r===void 0&&typeof t=="string"&&(r=t,t=!0);const n=Object.assign({},Lp.defaults[_1.version],_1);return new Hl(n).createNode(e,t,r)}class T1 extends Lp{constructor(t){super(Object.assign({},_1,t))}}function YPe(e,t){const r=[];let n;for(const o of DS(e)){const a=new T1(t);a.parse(o,n),r.push(a),n=a}return r}function $B(e,t){const r=DS(e),n=new T1(t).parse(r[0]);if(r.length>1){const o="Source contains multiple documents; please use YAML.parseAllDocuments()";n.errors.unshift(new vt(r[1],o))}return n}function KPe(e,t){const r=$B(e,t);if(r.warnings.forEach(n=>SB(n)),r.errors.length>0)throw r.errors[0];return r.toJSON()}function JPe(e,t){const r=new T1(t);return r.contents=e,String(r)}const QPe={createNode:WPe,defaultOptions:_1,Document:T1,parse:KPe,parseAllDocuments:YPe,parseCST:DS,parseDocument:$B,scalarOptions:zPe,stringify:JPe},ZPe=Object.freeze(Object.defineProperty({__proto__:null,YAML:QPe},Symbol.toStringTag,{value:"Module"})),XPe=Sa(ZPe);var zB,UB;function FB(){return UB||(UB=1,zB=XPe.YAML),zB}var GS,BB;function O1(){if(BB)return GS;BB=1;function e(n){return n.replace(/\~/g,"~0").replace(/\//g,"~1")}function t(n){return n.replace(/\~1/g,"/").replace(/~0/g,"~")}function r(n,o,a){if(typeof n>"u")return!1;if(!o||typeof o!="string"||o==="#")return typeof a<"u"?a:n;if(o.indexOf("#")>=0){let l=o.split("#");if(l[0])return!1;o=l[1],o=decodeURIComponent(o.slice(1).split("+").join(" "))}o.startsWith("/")&&(o=o.slice(1));let i=o.split("/");for(let l=0;l<i.length;l++){i[l]=t(i[l]);let p=typeof a<"u"&&l==i.length-1,u=parseInt(i[l],10);if(!Array.isArray(n)||isNaN(u)||u.toString()!==i[l]?u=Array.isArray(n)&&i[l]==="-"?-2:-1:i[l]=l>0?i[l-1]:"",u!=-1||n&&n.hasOwnProperty(i[l]))if(u>=0)p&&(n[u]=a),n=n[u];else{if(u===-2)return p?(Array.isArray(n)&&n.push(a),a):void 0;p&&(n[i[l]]=a),n=n[i[l]]}else if(typeof a<"u"&&typeof n=="object"&&!Array.isArray(n))n[i[l]]=p?a:i[l+1]==="0"||i[l+1]==="-"?[]:{},n=n[i[l]];else return!1}return n}return GS={jptr:r,jpescape:e,jpunescape:t},GS}var WS,qB;function YS(){if(qB)return WS;qB=1;function e(t,r){return r==="$ref"&&!!t&&typeof t[r]=="string"}return WS={isRef:e},WS}var KS,HB;function R1(){if(HB)return KS;HB=1;function e(i){return i}function t(i){return JSON.parse(JSON.stringify(i))}function r(i){let l={};for(let p in i)i.hasOwnProperty(p)&&(l[p]=i[p]);return l}function n(i){let l=Array.isArray(i)?[]:{};for(let p in i)(i.hasOwnProperty(p)||Array.isArray(i))&&(l[p]=typeof i[p]=="object"?n(i[p]):i[p]);return l}function o(i){return Object.assign({},i)}function a(i,l){if(l||(l=new WeakMap),Object(i)!==i||i instanceof Function)return i;if(l.has(i))return l.get(i);try{var p=new i.constructor}catch{p=Object.create(Object.getPrototypeOf(i))}return l.set(i,p),Object.assign(p,...Object.keys(i).map(u=>({[u]:a(i[u],l)})))}return KS={nop:e,clone:t,shallowClone:r,deepClone:n,fastClone:o,circularClone:a},KS}var JS,VB;function QS(){if(VB)return JS;VB=1;const e=O1().jpescape;function t(){return{path:"#",depth:0,pkey:"",parent:{},payload:{},seen:new WeakMap,identity:!1,identityDetection:!1}}function r(n,o,a){if(o||(o={depth:0}),o.depth||(o=Object.assign({},t(),o)),typeof n!="object")return;let i=o.path;for(let l in n){if(o.key=l,o.path=o.path+"/"+encodeURIComponent(e(l)),o.identityPath=o.seen.get(n[l]),o.identity=typeof o.identityPath<"u",n.hasOwnProperty(l)&&a(n,l,o),typeof n[l]=="object"&&!o.identity){o.identityDetection&&!Array.isArray(n[l])&&n[l]!==null&&o.seen.set(n[l],o.path);let p={};p.parent=n,p.path=o.path,p.depth=o.depth?o.depth+1:1,p.pkey=l,p.payload=o.payload,p.seen=o.seen,p.identity=!1,p.identityDetection=o.identityDetection,r(n[l],p,a)}o.path=i}}return JS={recurse:r},JS}var ZS,GB;function eMe(){if(GB)return ZS;GB=1;const e=QS().recurse,t=R1().shallowClone,r=O1().jptr,n=YS().isRef;var o=function(i){return i&&i.verbose?{warn:function(){var l=Array.prototype.slice.call(arguments);console.warn.apply(console,l)}}:{warn:function(){}}};function a(i,l,p){p||(p={}),p.cache||(p.cache={}),p.state||(p.state={}),p.state.identityDetection=!0,p.depth=p.depth?p.depth+1:1;let u=p.depth>1?i:t(i),h={data:u},f=p.depth>1?l:t(l);p.master||(p.master=u);let b=o(p),v=1;for(;v>0;)v=0,e(h,p.state,function(y,x,k){if(n(y,x)){let w=y[x];if(v++,p.cache[w]){let _=p.cache[w];if(_.resolved)b.warn("Patching %s for %s",w,_.path),k.parent[k.pkey]=_.data,p.$ref&&typeof k.parent[k.pkey]=="object"&&k.parent[k.pkey]!==null&&(k.parent[k.pkey][p.$ref]=w);else{if(w===_.path)throw new Error(`Tight circle at ${_.path}`);b.warn("Unresolved ref"),k.parent[k.pkey]=r(_.source,_.path),k.parent[k.pkey]===!1&&(k.parent[k.pkey]=r(_.source,_.key)),p.$ref&&typeof k.parent[k.pkey]=="object"&&k.parent[k.pkey]!==null&&(k.parent[p.$ref]=w)}}else{let _={};_.path=k.path.split("/$ref")[0],_.key=w,b.warn("Dereffing %s at %s",w,_.path),_.source=f,_.data=r(_.source,_.key),_.data===!1&&(_.data=r(p.master,_.key),_.source=p.master),_.data===!1&&b.warn("Missing $ref target",_.key),p.cache[w]=_,_.data=k.parent[k.pkey]=a(r(_.source,_.key),_.source,p),p.$ref&&typeof k.parent[k.pkey]=="object"&&k.parent[k.pkey]!==null&&(k.parent[k.pkey][p.$ref]=w),_.resolved=!0}}});return h.data}return ZS={dereference:a},ZS}var XS,WB;function tMe(){if(WB)return XS;WB=1,XS=a,a.default=a,a.stable=u,a.stableStringify=u;var e="[...]",t="[Circular]",r=[],n=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function a(b,v,y,x){typeof x>"u"&&(x=o()),l(b,"",0,[],void 0,0,x);var k;try{n.length===0?k=JSON.stringify(b,v,y):k=JSON.stringify(b,f(v),y)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var w=r.pop();w.length===4?Object.defineProperty(w[0],w[1],w[3]):w[0][w[1]]=w[2]}}return k}function i(b,v,y,x){var k=Object.getOwnPropertyDescriptor(x,y);k.get!==void 0?k.configurable?(Object.defineProperty(x,y,{value:b}),r.push([x,y,v,k])):n.push([v,y,b]):(x[y]=b,r.push([x,y,v]))}function l(b,v,y,x,k,w,_){w+=1;var A;if(typeof b=="object"&&b!==null){for(A=0;A<x.length;A++)if(x[A]===b){i(t,b,v,k);return}if(typeof _.depthLimit<"u"&&w>_.depthLimit){i(e,b,v,k);return}if(typeof _.edgesLimit<"u"&&y+1>_.edgesLimit){i(e,b,v,k);return}if(x.push(b),Array.isArray(b))for(A=0;A<b.length;A++)l(b[A],A,A,x,b,w,_);else{var R=Object.keys(b);for(A=0;A<R.length;A++){var E=R[A];l(b[E],E,A,x,b,w,_)}}x.pop()}}function p(b,v){return b<v?-1:b>v?1:0}function u(b,v,y,x){typeof x>"u"&&(x=o());var k=h(b,"",0,[],void 0,0,x)||b,w;try{n.length===0?w=JSON.stringify(k,v,y):w=JSON.stringify(k,f(v),y)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var _=r.pop();_.length===4?Object.defineProperty(_[0],_[1],_[3]):_[0][_[1]]=_[2]}}return w}function h(b,v,y,x,k,w,_){w+=1;var A;if(typeof b=="object"&&b!==null){for(A=0;A<x.length;A++)if(x[A]===b){i(t,b,v,k);return}try{if(typeof b.toJSON=="function")return}catch{return}if(typeof _.depthLimit<"u"&&w>_.depthLimit){i(e,b,v,k);return}if(typeof _.edgesLimit<"u"&&y+1>_.edgesLimit){i(e,b,v,k);return}if(x.push(b),Array.isArray(b))for(A=0;A<b.length;A++)h(b[A],A,A,x,b,w,_);else{var R={},E=Object.keys(b).sort(p);for(A=0;A<E.length;A++){var L=E[A];h(b[L],L,A,x,b,w,_),R[L]=b[L]}if(typeof k<"u")r.push([k,v,b]),k[v]=R;else return R}x.pop()}}function f(b){return b=typeof b<"u"?b:function(v,y){return y},function(v,y){if(n.length>0)for(var x=0;x<n.length;x++){var k=n[x];if(k[1]===v&&k[0]===y){y=k[2],n.splice(x,1);break}}return b.call(this,v,y)}}return XS}var e3,YB;function KB(){if(YB)return e3;YB=1;var e={};const t=tMe(),r=e.NODE_DISABLE_COLORS?{red:"",yellow:"",green:"",normal:""}:{red:"\x1B[31m",yellow:"\x1B[33;1m",green:"\x1B[32m",normal:"\x1B[0m"};function n(k,w,_){return _.indexOf(k)===w}function o(k){return new Set(k).size!==k.length}function a(k){return new Set(k).size<=1}function i(k,w){function _(A,R){return t.stringify(A)===t.stringify(Object.assign({},A,R))}return _(k,w)&&_(w,k)}function l(k){let w=[];for(let _ of k)w.find(function(A,R,E){return i(A,_)})||w.push(_);return w}function p(k){return k.length===l(k).length}function u(k){return k.find(function(w,_,A){return k.indexOf(w)<_})}function h(k){let w=0,_;if(k.length===0)return w;for(let A=0;A<k.length;A++)_=k.charCodeAt(A),w=(w<<5)-w+_,w|=0;return w}String.prototype.toCamelCase=function(){return this.toLowerCase().replace(/[-_ \/\.](.)/g,function(k,w){return w.toUpperCase()})};const f=["format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","minLength","maxLength","multipleOf","minItems","maxItems","uniqueItems","minProperties","maxProperties","additionalProperties","pattern","enum","default"],b=["items","minItems","maxItems","uniqueItems"],v=["get","post","put","delete","patch","head","options","trace"];function y(k){k=k.replace("[]","Array");let w=k.split("/");return w[0]=w[0].replace(/[^A-Za-z0-9_\-\.]+|\s+/gm,"_"),w.join("/")}function x(k){return y(k.split("/").join("_"))}return e3={colour:r,uniqueOnly:n,hasDuplicates:o,allSame:a,distinctArray:p,firstDupe:u,hash:h,parameterTypeProperties:f,arrayProperties:b,httpMethods:v,sanitise:y,sanitiseAll:x},e3}var t3,JB;function rMe(){if(JB)return t3;JB=1;const e=d1,t=DL(),r=jS(),n=d1,o=FB(),a=O1().jptr,i=QS().recurse,l=R1().clone,p=eMe().dereference,u=YS().isRef,h=KB();function f(O){return[...new Set(O)]}function b(O,P,U,Y,q){return new Promise(function(Q,ne){e.readFile(O,P,function(le,G){le?U.ignoreIOErrors&&q?(U.verbose&&console.warn("FAILED",Y),U.externalRefs[Y].failed=!0,Q(q)):ne(le):Q(G)})})}function v(O,P,U,Y,q,Q){let ne=Q.externalRefs[U+Y].paths[0],le=r.parse(q),G={},ce=1;for(;ce;)ce=0,i(O,{identityDetection:!0},function(ee,fe,oe){if(u(ee,fe)){if(ee[fe].startsWith("#")){if(!G[ee[fe]]&&!ee.$fixed){let F=l(a(P,ee[fe]));if(Q.verbose>1&&console.warn((F===!1?h.colour.red:h.colour.green)+"Fragment resolution",ee[fe],h.colour.normal),F===!1){if(oe.parent[oe.pkey]={},Q.fatal){let ie=new Error("Fragment $ref resolution failed "+ee[fe]);if(Q.promise)Q.promise.reject(ie);else throw ie}}else ce++,oe.parent[oe.pkey]=F,G[ee[fe]]=oe.path.replace("/%24ref","")}else if(!ee.$fixed){let F=(ne+"/"+G[ee[fe]]).split("/#/").join("/");oe.parent[oe.pkey]={$ref:F,"x-miro":ee[fe],$fixed:!0},Q.verbose>1&&console.warn("Replacing with",F),ce++}}else if(le.protocol){let F=r.resolve(q,ee[fe]).toString();Q.verbose>1&&console.warn(h.colour.yellow+"Rewriting external url ref",ee[fe],"as",F,h.colour.normal),ee["x-miro"]=ee[fe],Q.externalRefs[ee[fe]]&&(Q.externalRefs[F]||(Q.externalRefs[F]=Q.externalRefs[ee[fe]]),Q.externalRefs[F].failed=Q.externalRefs[ee[fe]].failed),ee[fe]=F}else if(!ee["x-miro"]){let F=r.resolve(q,ee[fe]).toString(),ie=!1;Q.externalRefs[ee[fe]]&&(ie=Q.externalRefs[ee[fe]].failed),ie||(Q.verbose>1&&console.warn(h.colour.yellow+"Rewriting external ref",ee[fe],"as",F,h.colour.normal),ee["x-miro"]=ee[fe],ee[fe]=F)}}});return i(O,{},function(ee,fe,oe){u(ee,fe)&&typeof ee.$fixed<"u"&&delete ee.$fixed}),Q.verbose>1&&console.warn("Finished fragment resolution"),O}function y(O,P){if(!P.filters||!P.filters.length)return O;for(let U of P.filters)O=U(O,P);return O}function x(O,P){return O&&O.length>2?O:P&&P.length>2?P:"file:"}function k(O,P,U,Y){var q=r.parse(U.source),Q=U.source.split("\\").join("/").split("/");Q.pop()||Q.pop();let ne="",le=P.split("#");le.length>1&&(ne="#"+le[1],P=le[0]),Q=Q.join("/");let G=r.parse(P),ce=x(G.protocol,q.protocol),ee;if(ce==="file:"?ee=t.resolve(Q?Q+"/":"",P):ee=r.resolve(Q?Q+"/":"",P),U.cache[ee]){U.verbose&&console.warn("CACHED",ee,ne);let fe=l(U.cache[ee]),oe=U.externalRef=fe;if(ne&&(oe=a(oe,ne),oe===!1&&(oe={},U.fatal))){let F=new Error("Cached $ref resolution failed "+ee+ne);if(U.promise)U.promise.reject(F);else throw F}return oe=v(oe,fe,P,ne,ee,U),oe=y(oe,U),Y(l(oe),ee,U),Promise.resolve(oe)}if(U.verbose&&console.warn("GET",ee,ne),U.handlers&&U.handlers[ce])return U.handlers[ce](Q,P,ne,U).then(function(fe){return U.externalRef=fe,fe=y(fe,U),U.cache[ee]=fe,Y(fe,ee,U),fe}).catch(function(fe){throw U.verbose&&console.warn(fe),fe});if(ce&&ce.startsWith("http")){const fe=Object.assign({},U.fetchOptions,{agent:U.agent});return U.fetch(ee,fe).then(function(oe){if(oe.status!==200){if(U.ignoreIOErrors)return U.verbose&&console.warn("FAILED",P),U.externalRefs[P].failed=!0,'{"$ref":"'+P+'"}';throw new Error(`Received status code ${oe.status}: ${ee}`)}return oe.text()}).then(function(oe){try{let F=o.parse(oe,{schema:"core",prettyErrors:!0});if(oe=U.externalRef=F,U.cache[ee]=l(oe),ne&&(oe=a(oe,ne),oe===!1&&(oe={},U.fatal))){let ie=new Error("Remote $ref resolution failed "+ee+ne);if(U.promise)U.promise.reject(ie);else throw ie}oe=v(oe,F,P,ne,ee,U),oe=y(oe,U)}catch(F){if(U.verbose&&console.warn(F),U.promise&&U.fatal)U.promise.reject(F);else throw F}return Y(oe,ee,U),oe}).catch(function(oe){if(U.verbose&&console.warn(oe),U.cache[ee]={},U.promise&&U.fatal)U.promise.reject(oe);else throw oe})}else{const fe='{"$ref":"'+P+'"}';return b(ee,U.encoding||"utf8",U,P,fe).then(function(oe){try{let F=o.parse(oe,{schema:"core",prettyErrors:!0});if(oe=U.externalRef=F,U.cache[ee]=l(oe),ne&&(oe=a(oe,ne),oe===!1&&(oe={},U.fatal))){let ie=new Error("File $ref resolution failed "+ee+ne);if(U.promise)U.promise.reject(ie);else throw ie}oe=v(oe,F,P,ne,ee,U),oe=y(oe,U)}catch(F){if(U.verbose&&console.warn(F),U.promise&&U.fatal)U.promise.reject(F);else throw F}return Y(oe,ee,U),oe}).catch(function(oe){if(U.verbose&&console.warn(oe),U.promise&&U.fatal)U.promise.reject(oe);else throw oe})}}function w(O){return new Promise(function(P,U){function Y(Q,ne,le){if(Q[ne]&&u(Q[ne],"$ref")){let G=Q[ne].$ref;if(!G.startsWith("#")){let ce="";if(!q[G]){let ee=Object.keys(q).find(function(fe,oe,F){return G.startsWith(fe+"/")});ee&&(O.verbose&&console.warn("Found potential subschema at",ee),ce="/"+(G.split("#")[1]||"").replace(ee.split("#")[1]||""),ce=ce.split("/undefined").join(""),G=ee)}if(q[G]||(q[G]={resolved:!1,paths:[],extras:{},description:Q[ne].description}),q[G].resolved){if(!q[G].failed)if(O.rewriteRefs){let ee=q[G].resolvedAt;O.verbose>1&&console.warn("Rewriting ref",G,ee),Q[ne]["x-miro"]=G,Q[ne].$ref=ee+ce}else Q[ne]=l(q[G].data)}else q[G].paths.push(le.path),q[G].extras[le.path]=ce}}}let q=O.externalRefs;if(O.resolver.depth>0&&O.source===O.resolver.base)return P(q);i(O.openapi.definitions,{identityDetection:!0,path:"#/definitions"},Y),i(O.openapi.components,{identityDetection:!0,path:"#/components"},Y),i(O.openapi,{identityDetection:!0},Y),P(q)})}function _(O){return new Promise(function(P,U){w(O).then(function(q){for(let Q in q)if(!q[Q].resolved){let ne=O.resolver.depth;ne>0&&ne++,O.resolver.actions[ne].push(function(){return k(O.openapi,Q,O,function(le,G,ce){if(!q[Q].resolved){let oe={};oe.context=q[Q],oe.$ref=Q,oe.original=l(le),oe.updated=le,oe.source=G,ce.externals.push(oe),q[Q].resolved=!0}let ee=Object.assign({},ce,{source:"",resolver:{actions:ce.resolver.actions,depth:ce.resolver.actions.length-1,base:ce.resolver.base}});ce.patch&&q[Q].description&&!le.description&&typeof le=="object"&&(le.description=q[Q].description),q[Q].data=le;let fe=f(q[Q].paths);fe=fe.sort(function(oe,F){const ie=oe.startsWith("#/components/")||oe.startsWith("#/definitions/"),W=F.startsWith("#/components/")||F.startsWith("#/definitions/");return ie&&!W?-1:W&&!ie?1:0});for(let oe of fe)if(q[Q].resolvedAt&&oe!==q[Q].resolvedAt&&oe.indexOf("x-ms-examples/")<0)ce.verbose>1&&console.warn("Creating pointer to data at",oe),a(ce.openapi,oe,{$ref:q[Q].resolvedAt+q[Q].extras[oe],"x-miro":Q+q[Q].extras[oe]});else{q[Q].resolvedAt?ce.verbose>1&&console.warn("Avoiding circular reference"):(q[Q].resolvedAt=oe,ce.verbose>1&&console.warn("Creating initial clone of data at",oe));let F=l(le);a(ce.openapi,oe,F)}ce.resolver.actions[ee.resolver.depth].length===0&&ce.resolver.actions[ee.resolver.depth].push(function(){return _(ee)})})})}}).catch(function(q){O.verbose&&console.warn(q),U(q)});let Y={options:O};Y.actions=O.resolver.actions[O.resolver.depth],P(Y)})}const A=O=>O.reduce((P,U)=>P.then(Y=>U().then(Array.prototype.concat.bind(Y))),Promise.resolve([]));function R(O,P,U){O.resolver.actions.push([]),_(O).then(function(Y){A(Y.actions).then(function(){if(O.resolver.depth>=O.resolver.actions.length)return console.warn("Ran off the end of resolver actions"),P(!0);O.resolver.depth++,O.resolver.actions[O.resolver.depth].length?setTimeout(function(){R(Y.options,P,U)},0):(O.verbose>1&&console.warn(h.colour.yellow+"Finished external resolution!",h.colour.normal),O.resolveInternal&&(O.verbose>1&&console.warn(h.colour.yellow+"Starting internal resolution!",h.colour.normal),O.openapi=p(O.openapi,O.original,{verbose:O.verbose-1}),O.verbose>1&&console.warn(h.colour.yellow+"Finished internal resolution!",h.colour.normal)),i(O.openapi,{},function(q,Q,ne){u(q,Q)&&(O.preserveMiro||delete q["x-miro"])}),P(O))}).catch(function(q){O.verbose&&console.warn(q),U(q)})}).catch(function(Y){O.verbose&&console.warn(Y),U(Y)})}function E(O){if(O.cache||(O.cache={}),O.fetch||(O.fetch=n),O.source){let P=r.parse(O.source);(!P.protocol||P.protocol.length<=2)&&(O.source=t.resolve(O.source))}O.externals=[],O.externalRefs={},O.rewriteRefs=!0,O.resolver={},O.resolver.depth=0,O.resolver.base=O.source,O.resolver.actions=[[]]}function L(O){return E(O),new Promise(function(P,U){O.resolve?R(O,P,U):P(O)})}function I(O,P,U){return U||(U={}),U.openapi=O,U.source=P,U.resolve=!0,E(U),new Promise(function(Y,q){R(U,Y,q)})}return t3={optionalResolve:L,resolve:I},t3}var r3,QB;function nMe(){if(QB)return r3;QB=1;function e(){return{depth:0,seen:new WeakMap,top:!0,combine:!1,allowRefSiblings:!1}}function t(r,n,o,a){if(typeof o.depth>"u"&&(o=e()),r===null||typeof r>"u")return r;if(typeof r.$ref<"u"){let i={$ref:r.$ref};return o.allowRefSiblings&&r.description&&(i.description=r.description),a(i,n,o),i}if(o.combine&&(r.allOf&&Array.isArray(r.allOf)&&r.allOf.length===1&&(r=Object.assign({},r.allOf[0],r),delete r.allOf),r.anyOf&&Array.isArray(r.anyOf)&&r.anyOf.length===1&&(r=Object.assign({},r.anyOf[0],r),delete r.anyOf),r.oneOf&&Array.isArray(r.oneOf)&&r.oneOf.length===1&&(r=Object.assign({},r.oneOf[0],r),delete r.oneOf)),a(r,n,o),o.seen.has(r))return r;if(typeof r=="object"&&r!==null&&o.seen.set(r,!0),o.top=!1,o.depth++,typeof r.items<"u"&&(o.property="items",t(r.items,r,o,a)),r.additionalItems&&typeof r.additionalItems=="object"&&(o.property="additionalItems",t(r.additionalItems,r,o,a)),r.additionalProperties&&typeof r.additionalProperties=="object"&&(o.property="additionalProperties",t(r.additionalProperties,r,o,a)),r.properties)for(let i in r.properties){let l=r.properties[i];o.property="properties/"+i,t(l,r,o,a)}if(r.patternProperties)for(let i in r.patternProperties){let l=r.patternProperties[i];o.property="patternProperties/"+i,t(l,r,o,a)}if(r.allOf)for(let i in r.allOf){let l=r.allOf[i];o.property="allOf/"+i,t(l,r,o,a)}if(r.anyOf)for(let i in r.anyOf){let l=r.anyOf[i];o.property="anyOf/"+i,t(l,r,o,a)}if(r.oneOf)for(let i in r.oneOf){let l=r.oneOf[i];o.property="oneOf/"+i,t(l,r,o,a)}return r.not&&(o.property="not",t(r.not,r,o,a)),o.depth--,r}return r3={getDefaultState:e,walkSchema:t},r3}var ZB={},n3={exports:{}},XB={},eq;function tq(){return eq||(eq=1,(function(e){e.fetch=o(globalThis.fetch)&&o(globalThis.ReadableStream),e.writableStream=o(globalThis.WritableStream),e.abortController=o(globalThis.AbortController);var t;function r(){if(t!==void 0)return t;if(globalThis.XMLHttpRequest){t=new globalThis.XMLHttpRequest;try{t.open("GET",globalThis.XDomainRequest?"/":"https://example.com")}catch{t=null}}else t=null;return t}function n(a){var i=r();if(!i)return!1;try{return i.responseType=a,i.responseType===a}catch{}return!1}e.arraybuffer=e.fetch||n("arraybuffer"),e.msstream=!e.fetch&&n("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&n("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||(r()?o(r().overrideMimeType):!1);function o(a){return typeof a=="function"}t=null})(XB)),XB}var j1={},o3={exports:{}},L1={exports:{}},rq;function oMe(){if(rq)return L1.exports;rq=1;var e=typeof Reflect=="object"?Reflect:null,t=e&&typeof e.apply=="function"?e.apply:function(R,E,L){return Function.prototype.apply.call(R,E,L)},r;e&&typeof e.ownKeys=="function"?r=e.ownKeys:Object.getOwnPropertySymbols?r=function(R){return Object.getOwnPropertyNames(R).concat(Object.getOwnPropertySymbols(R))}:r=function(R){return Object.getOwnPropertyNames(R)};function n(R){console&&console.warn&&console.warn(R)}var o=Number.isNaN||function(R){return R!==R};function a(){a.init.call(this)}L1.exports=a,L1.exports.once=w,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var i=10;function l(R){if(typeof R!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof R)}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return i},set:function(R){if(typeof R!="number"||R<0||o(R))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+R+".");i=R}}),a.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(R){if(typeof R!="number"||R<0||o(R))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+R+".");return this._maxListeners=R,this};function p(R){return R._maxListeners===void 0?a.defaultMaxListeners:R._maxListeners}a.prototype.getMaxListeners=function(){return p(this)},a.prototype.emit=function(R){for(var E=[],L=1;L<arguments.length;L++)E.push(arguments[L]);var I=R==="error",O=this._events;if(O!==void 0)I=I&&O.error===void 0;else if(!I)return!1;if(I){var P;if(E.length>0&&(P=E[0]),P instanceof Error)throw P;var U=new Error("Unhandled error."+(P?" ("+P.message+")":""));throw U.context=P,U}var Y=O[R];if(Y===void 0)return!1;if(typeof Y=="function")t(Y,this,E);else for(var q=Y.length,Q=y(Y,q),L=0;L<q;++L)t(Q[L],this,E);return!0};function u(R,E,L,I){var O,P,U;if(l(L),P=R._events,P===void 0?(P=R._events=Object.create(null),R._eventsCount=0):(P.newListener!==void 0&&(R.emit("newListener",E,L.listener?L.listener:L),P=R._events),U=P[E]),U===void 0)U=P[E]=L,++R._eventsCount;else if(typeof U=="function"?U=P[E]=I?[L,U]:[U,L]:I?U.unshift(L):U.push(L),O=p(R),O>0&&U.length>O&&!U.warned){U.warned=!0;var Y=new Error("Possible EventEmitter memory leak detected. "+U.length+" "+String(E)+" listeners added. Use emitter.setMaxListeners() to increase limit");Y.name="MaxListenersExceededWarning",Y.emitter=R,Y.type=E,Y.count=U.length,n(Y)}return R}a.prototype.addListener=function(R,E){return u(this,R,E,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(R,E){return u(this,R,E,!0)};function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(R,E,L){var I={fired:!1,wrapFn:void 0,target:R,type:E,listener:L},O=h.bind(I);return O.listener=L,I.wrapFn=O,O}a.prototype.once=function(R,E){return l(E),this.on(R,f(this,R,E)),this},a.prototype.prependOnceListener=function(R,E){return l(E),this.prependListener(R,f(this,R,E)),this},a.prototype.removeListener=function(R,E){var L,I,O,P,U;if(l(E),I=this._events,I===void 0)return this;if(L=I[R],L===void 0)return this;if(L===E||L.listener===E)--this._eventsCount===0?this._events=Object.create(null):(delete I[R],I.removeListener&&this.emit("removeListener",R,L.listener||E));else if(typeof L!="function"){for(O=-1,P=L.length-1;P>=0;P--)if(L[P]===E||L[P].listener===E){U=L[P].listener,O=P;break}if(O<0)return this;O===0?L.shift():x(L,O),L.length===1&&(I[R]=L[0]),I.removeListener!==void 0&&this.emit("removeListener",R,U||E)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(R){var E,L,I;if(L=this._events,L===void 0)return this;if(L.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):L[R]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete L[R]),this;if(arguments.length===0){var O=Object.keys(L),P;for(I=0;I<O.length;++I)P=O[I],P!=="removeListener"&&this.removeAllListeners(P);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(E=L[R],typeof E=="function")this.removeListener(R,E);else if(E!==void 0)for(I=E.length-1;I>=0;I--)this.removeListener(R,E[I]);return this};function b(R,E,L){var I=R._events;if(I===void 0)return[];var O=I[E];return O===void 0?[]:typeof O=="function"?L?[O.listener||O]:[O]:L?k(O):y(O,O.length)}a.prototype.listeners=function(R){return b(this,R,!0)},a.prototype.rawListeners=function(R){return b(this,R,!1)},a.listenerCount=function(R,E){return typeof R.listenerCount=="function"?R.listenerCount(E):v.call(R,E)},a.prototype.listenerCount=v;function v(R){var E=this._events;if(E!==void 0){var L=E[R];if(typeof L=="function")return 1;if(L!==void 0)return L.length}return 0}a.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]};function y(R,E){for(var L=new Array(E),I=0;I<E;++I)L[I]=R[I];return L}function x(R,E){for(;E+1<R.length;E++)R[E]=R[E+1];R.pop()}function k(R){for(var E=new Array(R.length),L=0;L<E.length;++L)E[L]=R[L].listener||R[L];return E}function w(R,E){return new Promise(function(L,I){function O(U){R.removeListener(E,P),I(U)}function P(){typeof R.removeListener=="function"&&R.removeListener("error",O),L([].slice.call(arguments))}A(R,E,P,{once:!0}),E!=="error"&&_(R,O,{once:!0})})}function _(R,E,L){typeof R.on=="function"&&A(R,"error",E,L)}function A(R,E,L,I){if(typeof R.on=="function")I.once?R.once(E,L):R.on(E,L);else if(typeof R.addEventListener=="function")R.addEventListener(E,function O(P){I.once&&R.removeEventListener(E,O),L(P)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof R)}return L1.exports}var nq,oq;function aq(){return oq||(oq=1,nq=oMe().EventEmitter),nq}var iq={},ph={},sq;function aMe(){if(sq)return ph;sq=1,ph.byteLength=l,ph.toByteArray=u,ph.fromByteArray=b;for(var e=[],t=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,a=n.length;o<a;++o)e[o]=n[o],t[n.charCodeAt(o)]=o;t[45]=62,t[95]=63;function i(v){var y=v.length;if(y%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var x=v.indexOf("=");x===-1&&(x=y);var k=x===y?0:4-x%4;return[x,k]}function l(v){var y=i(v),x=y[0],k=y[1];return(x+k)*3/4-k}function p(v,y,x){return(y+x)*3/4-x}function u(v){var y,x=i(v),k=x[0],w=x[1],_=new r(p(v,k,w)),A=0,R=w>0?k-4:k,E;for(E=0;E<R;E+=4)y=t[v.charCodeAt(E)]<<18|t[v.charCodeAt(E+1)]<<12|t[v.charCodeAt(E+2)]<<6|t[v.charCodeAt(E+3)],_[A++]=y>>16&255,_[A++]=y>>8&255,_[A++]=y&255;return w===2&&(y=t[v.charCodeAt(E)]<<2|t[v.charCodeAt(E+1)]>>4,_[A++]=y&255),w===1&&(y=t[v.charCodeAt(E)]<<10|t[v.charCodeAt(E+1)]<<4|t[v.charCodeAt(E+2)]>>2,_[A++]=y>>8&255,_[A++]=y&255),_}function h(v){return e[v>>18&63]+e[v>>12&63]+e[v>>6&63]+e[v&63]}function f(v,y,x){for(var k,w=[],_=y;_<x;_+=3)k=(v[_]<<16&16711680)+(v[_+1]<<8&65280)+(v[_+2]&255),w.push(h(k));return w.join("")}function b(v){for(var y,x=v.length,k=x%3,w=[],_=16383,A=0,R=x-k;A<R;A+=_)w.push(f(v,A,A+_>R?R:A+_));return k===1?(y=v[x-1],w.push(e[y>>2]+e[y<<4&63]+"==")):k===2&&(y=(v[x-2]<<8)+v[x-1],w.push(e[y>>10]+e[y>>4&63]+e[y<<2&63]+"=")),w.join("")}return ph}var a3={},lq;function iMe(){return lq||(lq=1,a3.read=function(e,t,r,n,o){var a,i,l=o*8-n-1,p=(1<<l)-1,u=p>>1,h=-7,f=r?o-1:0,b=r?-1:1,v=e[t+f];for(f+=b,a=v&(1<<-h)-1,v>>=-h,h+=l;h>0;a=a*256+e[t+f],f+=b,h-=8);for(i=a&(1<<-h)-1,a>>=-h,h+=n;h>0;i=i*256+e[t+f],f+=b,h-=8);if(a===0)a=1-u;else{if(a===p)return i?NaN:(v?-1:1)*(1/0);i=i+Math.pow(2,n),a=a-u}return(v?-1:1)*i*Math.pow(2,a-n)},a3.write=function(e,t,r,n,o,a){var i,l,p,u=a*8-o-1,h=(1<<u)-1,f=h>>1,b=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=n?0:a-1,y=n?1:-1,x=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,i=h):(i=Math.floor(Math.log(t)/Math.LN2),t*(p=Math.pow(2,-i))<1&&(i--,p*=2),i+f>=1?t+=b/p:t+=b*Math.pow(2,1-f),t*p>=2&&(i++,p/=2),i+f>=h?(l=0,i=h):i+f>=1?(l=(t*p-1)*Math.pow(2,o),i=i+f):(l=t*Math.pow(2,f-1)*Math.pow(2,o),i=0));o>=8;e[r+v]=l&255,v+=y,l/=256,o-=8);for(i=i<<o|l,u+=o;u>0;e[r+v]=i&255,v+=y,i/=256,u-=8);e[r+v-y]|=x*128}),a3}var cq;function uh(){return cq||(cq=1,(function(e){const t=aMe(),r=iMe(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=l,e.SlowBuffer=_,e.INSPECT_MAX_BYTES=50;const o=2147483647;e.kMaxLength=o,l.TYPED_ARRAY_SUPPORT=a(),!l.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function a(){try{const j=new Uint8Array(1),M={foo:function(){return 42}};return Object.setPrototypeOf(M,Uint8Array.prototype),Object.setPrototypeOf(j,M),j.foo()===42}catch{return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}});function i(j){if(j>o)throw new RangeError('The value "'+j+'" is invalid for option "size"');const M=new Uint8Array(j);return Object.setPrototypeOf(M,l.prototype),M}function l(j,M,z){if(typeof j=="number"){if(typeof M=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return f(j)}return p(j,M,z)}l.poolSize=8192;function p(j,M,z){if(typeof j=="string")return b(j,M);if(ArrayBuffer.isView(j))return y(j);if(j==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof j);if(Ge(j,ArrayBuffer)||j&&Ge(j.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ge(j,SharedArrayBuffer)||j&&Ge(j.buffer,SharedArrayBuffer)))return x(j,M,z);if(typeof j=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const de=j.valueOf&&j.valueOf();if(de!=null&&de!==j)return l.from(de,M,z);const ke=k(j);if(ke)return ke;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof j[Symbol.toPrimitive]=="function")return l.from(j[Symbol.toPrimitive]("string"),M,z);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof j)}l.from=function(j,M,z){return p(j,M,z)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array);function u(j){if(typeof j!="number")throw new TypeError('"size" argument must be of type number');if(j<0)throw new RangeError('The value "'+j+'" is invalid for option "size"')}function h(j,M,z){return u(j),j<=0?i(j):M!==void 0?typeof z=="string"?i(j).fill(M,z):i(j).fill(M):i(j)}l.alloc=function(j,M,z){return h(j,M,z)};function f(j){return u(j),i(j<0?0:w(j)|0)}l.allocUnsafe=function(j){return f(j)},l.allocUnsafeSlow=function(j){return f(j)};function b(j,M){if((typeof M!="string"||M==="")&&(M="utf8"),!l.isEncoding(M))throw new TypeError("Unknown encoding: "+M);const z=A(j,M)|0;let de=i(z);const ke=de.write(j,M);return ke!==z&&(de=de.slice(0,ke)),de}function v(j){const M=j.length<0?0:w(j.length)|0,z=i(M);for(let de=0;de<M;de+=1)z[de]=j[de]&255;return z}function y(j){if(Ge(j,Uint8Array)){const M=new Uint8Array(j);return x(M.buffer,M.byteOffset,M.byteLength)}return v(j)}function x(j,M,z){if(M<0||j.byteLength<M)throw new RangeError('"offset" is outside of buffer bounds');if(j.byteLength<M+(z||0))throw new RangeError('"length" is outside of buffer bounds');let de;return M===void 0&&z===void 0?de=new Uint8Array(j):z===void 0?de=new Uint8Array(j,M):de=new Uint8Array(j,M,z),Object.setPrototypeOf(de,l.prototype),de}function k(j){if(l.isBuffer(j)){const M=w(j.length)|0,z=i(M);return z.length===0||j.copy(z,0,0,M),z}if(j.length!==void 0)return typeof j.length!="number"||Je(j.length)?i(0):v(j);if(j.type==="Buffer"&&Array.isArray(j.data))return v(j.data)}function w(j){if(j>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return j|0}function _(j){return+j!=j&&(j=0),l.alloc(+j)}l.isBuffer=function(j){return j!=null&&j._isBuffer===!0&&j!==l.prototype},l.compare=function(j,M){if(Ge(j,Uint8Array)&&(j=l.from(j,j.offset,j.byteLength)),Ge(M,Uint8Array)&&(M=l.from(M,M.offset,M.byteLength)),!l.isBuffer(j)||!l.isBuffer(M))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(j===M)return 0;let z=j.length,de=M.length;for(let ke=0,Ne=Math.min(z,de);ke<Ne;++ke)if(j[ke]!==M[ke]){z=j[ke],de=M[ke];break}return z<de?-1:de<z?1:0},l.isEncoding=function(j){switch(String(j).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(j,M){if(!Array.isArray(j))throw new TypeError('"list" argument must be an Array of Buffers');if(j.length===0)return l.alloc(0);let z;if(M===void 0)for(M=0,z=0;z<j.length;++z)M+=j[z].length;const de=l.allocUnsafe(M);let ke=0;for(z=0;z<j.length;++z){let Ne=j[z];if(Ge(Ne,Uint8Array))ke+Ne.length>de.length?(l.isBuffer(Ne)||(Ne=l.from(Ne)),Ne.copy(de,ke)):Uint8Array.prototype.set.call(de,Ne,ke);else if(l.isBuffer(Ne))Ne.copy(de,ke);else throw new TypeError('"list" argument must be an Array of Buffers');ke+=Ne.length}return de};function A(j,M){if(l.isBuffer(j))return j.length;if(ArrayBuffer.isView(j)||Ge(j,ArrayBuffer))return j.byteLength;if(typeof j!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof j);const z=j.length,de=arguments.length>2&&arguments[2]===!0;if(!de&&z===0)return 0;let ke=!1;for(;;)switch(M){case"ascii":case"latin1":case"binary":return z;case"utf8":case"utf-8":return me(j).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z*2;case"hex":return z>>>1;case"base64":return Ye(j).length;default:if(ke)return de?-1:me(j).length;M=(""+M).toLowerCase(),ke=!0}}l.byteLength=A;function R(j,M,z){let de=!1;if((M===void 0||M<0)&&(M=0),M>this.length||((z===void 0||z>this.length)&&(z=this.length),z<=0)||(z>>>=0,M>>>=0,z<=M))return"";for(j||(j="utf8");;)switch(j){case"hex":return fe(this,M,z);case"utf8":case"utf-8":return ne(this,M,z);case"ascii":return ce(this,M,z);case"latin1":case"binary":return ee(this,M,z);case"base64":return Q(this,M,z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return oe(this,M,z);default:if(de)throw new TypeError("Unknown encoding: "+j);j=(j+"").toLowerCase(),de=!0}}l.prototype._isBuffer=!0;function E(j,M,z){const de=j[M];j[M]=j[z],j[z]=de}l.prototype.swap16=function(){const j=this.length;if(j%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let M=0;M<j;M+=2)E(this,M,M+1);return this},l.prototype.swap32=function(){const j=this.length;if(j%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let M=0;M<j;M+=4)E(this,M,M+3),E(this,M+1,M+2);return this},l.prototype.swap64=function(){const j=this.length;if(j%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let M=0;M<j;M+=8)E(this,M,M+7),E(this,M+1,M+6),E(this,M+2,M+5),E(this,M+3,M+4);return this},l.prototype.toString=function(){const j=this.length;return j===0?"":arguments.length===0?ne(this,0,j):R.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(j){if(!l.isBuffer(j))throw new TypeError("Argument must be a Buffer");return this===j?!0:l.compare(this,j)===0},l.prototype.inspect=function(){let j="";const M=e.INSPECT_MAX_BYTES;return j=this.toString("hex",0,M).replace(/(.{2})/g,"$1 ").trim(),this.length>M&&(j+=" ... "),"<Buffer "+j+">"},n&&(l.prototype[n]=l.prototype.inspect),l.prototype.compare=function(j,M,z,de,ke){if(Ge(j,Uint8Array)&&(j=l.from(j,j.offset,j.byteLength)),!l.isBuffer(j))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof j);if(M===void 0&&(M=0),z===void 0&&(z=j?j.length:0),de===void 0&&(de=0),ke===void 0&&(ke=this.length),M<0||z>j.length||de<0||ke>this.length)throw new RangeError("out of range index");if(de>=ke&&M>=z)return 0;if(de>=ke)return-1;if(M>=z)return 1;if(M>>>=0,z>>>=0,de>>>=0,ke>>>=0,this===j)return 0;let Ne=ke-de,De=z-M;const at=Math.min(Ne,De),yt=this.slice(de,ke),ht=j.slice(M,z);for(let Nt=0;Nt<at;++Nt)if(yt[Nt]!==ht[Nt]){Ne=yt[Nt],De=ht[Nt];break}return Ne<De?-1:De<Ne?1:0};function L(j,M,z,de,ke){if(j.length===0)return-1;if(typeof z=="string"?(de=z,z=0):z>2147483647?z=2147483647:z<-2147483648&&(z=-2147483648),z=+z,Je(z)&&(z=ke?0:j.length-1),z<0&&(z=j.length+z),z>=j.length){if(ke)return-1;z=j.length-1}else if(z<0)if(ke)z=0;else return-1;if(typeof M=="string"&&(M=l.from(M,de)),l.isBuffer(M))return M.length===0?-1:I(j,M,z,de,ke);if(typeof M=="number")return M=M&255,typeof Uint8Array.prototype.indexOf=="function"?ke?Uint8Array.prototype.indexOf.call(j,M,z):Uint8Array.prototype.lastIndexOf.call(j,M,z):I(j,[M],z,de,ke);throw new TypeError("val must be string, number or Buffer")}function I(j,M,z,de,ke){let Ne=1,De=j.length,at=M.length;if(de!==void 0&&(de=String(de).toLowerCase(),de==="ucs2"||de==="ucs-2"||de==="utf16le"||de==="utf-16le")){if(j.length<2||M.length<2)return-1;Ne=2,De/=2,at/=2,z/=2}function yt(Nt,Ht){return Ne===1?Nt[Ht]:Nt.readUInt16BE(Ht*Ne)}let ht;if(ke){let Nt=-1;for(ht=z;ht<De;ht++)if(yt(j,ht)===yt(M,Nt===-1?0:ht-Nt)){if(Nt===-1&&(Nt=ht),ht-Nt+1===at)return Nt*Ne}else Nt!==-1&&(ht-=ht-Nt),Nt=-1}else for(z+at>De&&(z=De-at),ht=z;ht>=0;ht--){let Nt=!0;for(let Ht=0;Ht<at;Ht++)if(yt(j,ht+Ht)!==yt(M,Ht)){Nt=!1;break}if(Nt)return ht}return-1}l.prototype.includes=function(j,M,z){return this.indexOf(j,M,z)!==-1},l.prototype.indexOf=function(j,M,z){return L(this,j,M,z,!0)},l.prototype.lastIndexOf=function(j,M,z){return L(this,j,M,z,!1)};function O(j,M,z,de){z=Number(z)||0;const ke=j.length-z;de?(de=Number(de),de>ke&&(de=ke)):de=ke;const Ne=M.length;de>Ne/2&&(de=Ne/2);let De;for(De=0;De<de;++De){const at=parseInt(M.substr(De*2,2),16);if(Je(at))return De;j[z+De]=at}return De}function P(j,M,z,de){return Ke(me(M,j.length-z),j,z,de)}function U(j,M,z,de){return Ke(je(M),j,z,de)}function Y(j,M,z,de){return Ke(Ye(M),j,z,de)}function q(j,M,z,de){return Ke(he(M,j.length-z),j,z,de)}l.prototype.write=function(j,M,z,de){if(M===void 0)de="utf8",z=this.length,M=0;else if(z===void 0&&typeof M=="string")de=M,z=this.length,M=0;else if(isFinite(M))M=M>>>0,isFinite(z)?(z=z>>>0,de===void 0&&(de="utf8")):(de=z,z=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const ke=this.length-M;if((z===void 0||z>ke)&&(z=ke),j.length>0&&(z<0||M<0)||M>this.length)throw new RangeError("Attempt to write outside buffer bounds");de||(de="utf8");let Ne=!1;for(;;)switch(de){case"hex":return O(this,j,M,z);case"utf8":case"utf-8":return P(this,j,M,z);case"ascii":case"latin1":case"binary":return U(this,j,M,z);case"base64":return Y(this,j,M,z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,j,M,z);default:if(Ne)throw new TypeError("Unknown encoding: "+de);de=(""+de).toLowerCase(),Ne=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Q(j,M,z){return M===0&&z===j.length?t.fromByteArray(j):t.fromByteArray(j.slice(M,z))}function ne(j,M,z){z=Math.min(j.length,z);const de=[];let ke=M;for(;ke<z;){const Ne=j[ke];let De=null,at=Ne>239?4:Ne>223?3:Ne>191?2:1;if(ke+at<=z){let yt,ht,Nt,Ht;switch(at){case 1:Ne<128&&(De=Ne);break;case 2:yt=j[ke+1],(yt&192)===128&&(Ht=(Ne&31)<<6|yt&63,Ht>127&&(De=Ht));break;case 3:yt=j[ke+1],ht=j[ke+2],(yt&192)===128&&(ht&192)===128&&(Ht=(Ne&15)<<12|(yt&63)<<6|ht&63,Ht>2047&&(Ht<55296||Ht>57343)&&(De=Ht));break;case 4:yt=j[ke+1],ht=j[ke+2],Nt=j[ke+3],(yt&192)===128&&(ht&192)===128&&(Nt&192)===128&&(Ht=(Ne&15)<<18|(yt&63)<<12|(ht&63)<<6|Nt&63,Ht>65535&&Ht<1114112&&(De=Ht))}}De===null?(De=65533,at=1):De>65535&&(De-=65536,de.push(De>>>10&1023|55296),De=56320|De&1023),de.push(De),ke+=at}return G(de)}const le=4096;function G(j){const M=j.length;if(M<=le)return String.fromCharCode.apply(String,j);let z="",de=0;for(;de<M;)z+=String.fromCharCode.apply(String,j.slice(de,de+=le));return z}function ce(j,M,z){let de="";z=Math.min(j.length,z);for(let ke=M;ke<z;++ke)de+=String.fromCharCode(j[ke]&127);return de}function ee(j,M,z){let de="";z=Math.min(j.length,z);for(let ke=M;ke<z;++ke)de+=String.fromCharCode(j[ke]);return de}function fe(j,M,z){const de=j.length;(!M||M<0)&&(M=0),(!z||z<0||z>de)&&(z=de);let ke="";for(let Ne=M;Ne<z;++Ne)ke+=He[j[Ne]];return ke}function oe(j,M,z){const de=j.slice(M,z);let ke="";for(let Ne=0;Ne<de.length-1;Ne+=2)ke+=String.fromCharCode(de[Ne]+de[Ne+1]*256);return ke}l.prototype.slice=function(j,M){const z=this.length;j=~~j,M=M===void 0?z:~~M,j<0?(j+=z,j<0&&(j=0)):j>z&&(j=z),M<0?(M+=z,M<0&&(M=0)):M>z&&(M=z),M<j&&(M=j);const de=this.subarray(j,M);return Object.setPrototypeOf(de,l.prototype),de};function F(j,M,z){if(j%1!==0||j<0)throw new RangeError("offset is not uint");if(j+M>z)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(j,M,z){j=j>>>0,M=M>>>0,z||F(j,M,this.length);let de=this[j],ke=1,Ne=0;for(;++Ne<M&&(ke*=256);)de+=this[j+Ne]*ke;return de},l.prototype.readUintBE=l.prototype.readUIntBE=function(j,M,z){j=j>>>0,M=M>>>0,z||F(j,M,this.length);let de=this[j+--M],ke=1;for(;M>0&&(ke*=256);)de+=this[j+--M]*ke;return de},l.prototype.readUint8=l.prototype.readUInt8=function(j,M){return j=j>>>0,M||F(j,1,this.length),this[j]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(j,M){return j=j>>>0,M||F(j,2,this.length),this[j]|this[j+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(j,M){return j=j>>>0,M||F(j,2,this.length),this[j]<<8|this[j+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(j,M){return j=j>>>0,M||F(j,4,this.length),(this[j]|this[j+1]<<8|this[j+2]<<16)+this[j+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(j,M){return j=j>>>0,M||F(j,4,this.length),this[j]*16777216+(this[j+1]<<16|this[j+2]<<8|this[j+3])},l.prototype.readBigUInt64LE=ot(function(j){j=j>>>0,B(j,"offset");const M=this[j],z=this[j+7];(M===void 0||z===void 0)&&re(j,this.length-8);const de=M+this[++j]*2**8+this[++j]*2**16+this[++j]*2**24,ke=this[++j]+this[++j]*2**8+this[++j]*2**16+z*2**24;return BigInt(de)+(BigInt(ke)<<BigInt(32))}),l.prototype.readBigUInt64BE=ot(function(j){j=j>>>0,B(j,"offset");const M=this[j],z=this[j+7];(M===void 0||z===void 0)&&re(j,this.length-8);const de=M*2**24+this[++j]*2**16+this[++j]*2**8+this[++j],ke=this[++j]*2**24+this[++j]*2**16+this[++j]*2**8+z;return(BigInt(de)<<BigInt(32))+BigInt(ke)}),l.prototype.readIntLE=function(j,M,z){j=j>>>0,M=M>>>0,z||F(j,M,this.length);let de=this[j],ke=1,Ne=0;for(;++Ne<M&&(ke*=256);)de+=this[j+Ne]*ke;return ke*=128,de>=ke&&(de-=Math.pow(2,8*M)),de},l.prototype.readIntBE=function(j,M,z){j=j>>>0,M=M>>>0,z||F(j,M,this.length);let de=M,ke=1,Ne=this[j+--de];for(;de>0&&(ke*=256);)Ne+=this[j+--de]*ke;return ke*=128,Ne>=ke&&(Ne-=Math.pow(2,8*M)),Ne},l.prototype.readInt8=function(j,M){return j=j>>>0,M||F(j,1,this.length),this[j]&128?(255-this[j]+1)*-1:this[j]},l.prototype.readInt16LE=function(j,M){j=j>>>0,M||F(j,2,this.length);const z=this[j]|this[j+1]<<8;return z&32768?z|4294901760:z},l.prototype.readInt16BE=function(j,M){j=j>>>0,M||F(j,2,this.length);const z=this[j+1]|this[j]<<8;return z&32768?z|4294901760:z},l.prototype.readInt32LE=function(j,M){return j=j>>>0,M||F(j,4,this.length),this[j]|this[j+1]<<8|this[j+2]<<16|this[j+3]<<24},l.prototype.readInt32BE=function(j,M){return j=j>>>0,M||F(j,4,this.length),this[j]<<24|this[j+1]<<16|this[j+2]<<8|this[j+3]},l.prototype.readBigInt64LE=ot(function(j){j=j>>>0,B(j,"offset");const M=this[j],z=this[j+7];(M===void 0||z===void 0)&&re(j,this.length-8);const de=this[j+4]+this[j+5]*2**8+this[j+6]*2**16+(z<<24);return(BigInt(de)<<BigInt(32))+BigInt(M+this[++j]*2**8+this[++j]*2**16+this[++j]*2**24)}),l.prototype.readBigInt64BE=ot(function(j){j=j>>>0,B(j,"offset");const M=this[j],z=this[j+7];(M===void 0||z===void 0)&&re(j,this.length-8);const de=(M<<24)+this[++j]*2**16+this[++j]*2**8+this[++j];return(BigInt(de)<<BigInt(32))+BigInt(this[++j]*2**24+this[++j]*2**16+this[++j]*2**8+z)}),l.prototype.readFloatLE=function(j,M){return j=j>>>0,M||F(j,4,this.length),r.read(this,j,!0,23,4)},l.prototype.readFloatBE=function(j,M){return j=j>>>0,M||F(j,4,this.length),r.read(this,j,!1,23,4)},l.prototype.readDoubleLE=function(j,M){return j=j>>>0,M||F(j,8,this.length),r.read(this,j,!0,52,8)},l.prototype.readDoubleBE=function(j,M){return j=j>>>0,M||F(j,8,this.length),r.read(this,j,!1,52,8)};function ie(j,M,z,de,ke,Ne){if(!l.isBuffer(j))throw new TypeError('"buffer" argument must be a Buffer instance');if(M>ke||M<Ne)throw new RangeError('"value" argument is out of bounds');if(z+de>j.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(j,M,z,de){if(j=+j,M=M>>>0,z=z>>>0,!de){const De=Math.pow(2,8*z)-1;ie(this,j,M,z,De,0)}let ke=1,Ne=0;for(this[M]=j&255;++Ne<z&&(ke*=256);)this[M+Ne]=j/ke&255;return M+z},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(j,M,z,de){if(j=+j,M=M>>>0,z=z>>>0,!de){const De=Math.pow(2,8*z)-1;ie(this,j,M,z,De,0)}let ke=z-1,Ne=1;for(this[M+ke]=j&255;--ke>=0&&(Ne*=256);)this[M+ke]=j/Ne&255;return M+z},l.prototype.writeUint8=l.prototype.writeUInt8=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,1,255,0),this[M]=j&255,M+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,2,65535,0),this[M]=j&255,this[M+1]=j>>>8,M+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,2,65535,0),this[M]=j>>>8,this[M+1]=j&255,M+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,4,4294967295,0),this[M+3]=j>>>24,this[M+2]=j>>>16,this[M+1]=j>>>8,this[M]=j&255,M+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,4,4294967295,0),this[M]=j>>>24,this[M+1]=j>>>16,this[M+2]=j>>>8,this[M+3]=j&255,M+4};function W(j,M,z,de,ke){N(M,de,ke,j,z,7);let Ne=Number(M&BigInt(4294967295));j[z++]=Ne,Ne=Ne>>8,j[z++]=Ne,Ne=Ne>>8,j[z++]=Ne,Ne=Ne>>8,j[z++]=Ne;let De=Number(M>>BigInt(32)&BigInt(4294967295));return j[z++]=De,De=De>>8,j[z++]=De,De=De>>8,j[z++]=De,De=De>>8,j[z++]=De,z}function V(j,M,z,de,ke){N(M,de,ke,j,z,7);let Ne=Number(M&BigInt(4294967295));j[z+7]=Ne,Ne=Ne>>8,j[z+6]=Ne,Ne=Ne>>8,j[z+5]=Ne,Ne=Ne>>8,j[z+4]=Ne;let De=Number(M>>BigInt(32)&BigInt(4294967295));return j[z+3]=De,De=De>>8,j[z+2]=De,De=De>>8,j[z+1]=De,De=De>>8,j[z]=De,z+8}l.prototype.writeBigUInt64LE=ot(function(j,M=0){return W(this,j,M,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=ot(function(j,M=0){return V(this,j,M,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(j,M,z,de){if(j=+j,M=M>>>0,!de){const at=Math.pow(2,8*z-1);ie(this,j,M,z,at-1,-at)}let ke=0,Ne=1,De=0;for(this[M]=j&255;++ke<z&&(Ne*=256);)j<0&&De===0&&this[M+ke-1]!==0&&(De=1),this[M+ke]=(j/Ne>>0)-De&255;return M+z},l.prototype.writeIntBE=function(j,M,z,de){if(j=+j,M=M>>>0,!de){const at=Math.pow(2,8*z-1);ie(this,j,M,z,at-1,-at)}let ke=z-1,Ne=1,De=0;for(this[M+ke]=j&255;--ke>=0&&(Ne*=256);)j<0&&De===0&&this[M+ke+1]!==0&&(De=1),this[M+ke]=(j/Ne>>0)-De&255;return M+z},l.prototype.writeInt8=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,1,127,-128),j<0&&(j=255+j+1),this[M]=j&255,M+1},l.prototype.writeInt16LE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,2,32767,-32768),this[M]=j&255,this[M+1]=j>>>8,M+2},l.prototype.writeInt16BE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,2,32767,-32768),this[M]=j>>>8,this[M+1]=j&255,M+2},l.prototype.writeInt32LE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,4,2147483647,-2147483648),this[M]=j&255,this[M+1]=j>>>8,this[M+2]=j>>>16,this[M+3]=j>>>24,M+4},l.prototype.writeInt32BE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,4,2147483647,-2147483648),j<0&&(j=4294967295+j+1),this[M]=j>>>24,this[M+1]=j>>>16,this[M+2]=j>>>8,this[M+3]=j&255,M+4},l.prototype.writeBigInt64LE=ot(function(j,M=0){return W(this,j,M,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=ot(function(j,M=0){return V(this,j,M,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function pe(j,M,z,de,ke,Ne){if(z+de>j.length)throw new RangeError("Index out of range");if(z<0)throw new RangeError("Index out of range")}function K(j,M,z,de,ke){return M=+M,z=z>>>0,ke||pe(j,M,z,4),r.write(j,M,z,de,23,4),z+4}l.prototype.writeFloatLE=function(j,M,z){return K(this,j,M,!0,z)},l.prototype.writeFloatBE=function(j,M,z){return K(this,j,M,!1,z)};function se(j,M,z,de,ke){return M=+M,z=z>>>0,ke||pe(j,M,z,8),r.write(j,M,z,de,52,8),z+8}l.prototype.writeDoubleLE=function(j,M,z){return se(this,j,M,!0,z)},l.prototype.writeDoubleBE=function(j,M,z){return se(this,j,M,!1,z)},l.prototype.copy=function(j,M,z,de){if(!l.isBuffer(j))throw new TypeError("argument should be a Buffer");if(z||(z=0),!de&&de!==0&&(de=this.length),M>=j.length&&(M=j.length),M||(M=0),de>0&&de<z&&(de=z),de===z||j.length===0||this.length===0)return 0;if(M<0)throw new RangeError("targetStart out of bounds");if(z<0||z>=this.length)throw new RangeError("Index out of range");if(de<0)throw new RangeError("sourceEnd out of bounds");de>this.length&&(de=this.length),j.length-M<de-z&&(de=j.length-M+z);const ke=de-z;return this===j&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(M,z,de):Uint8Array.prototype.set.call(j,this.subarray(z,de),M),ke},l.prototype.fill=function(j,M,z,de){if(typeof j=="string"){if(typeof M=="string"?(de=M,M=0,z=this.length):typeof z=="string"&&(de=z,z=this.length),de!==void 0&&typeof de!="string")throw new TypeError("encoding must be a string");if(typeof de=="string"&&!l.isEncoding(de))throw new TypeError("Unknown encoding: "+de);if(j.length===1){const Ne=j.charCodeAt(0);(de==="utf8"&&Ne<128||de==="latin1")&&(j=Ne)}}else typeof j=="number"?j=j&255:typeof j=="boolean"&&(j=Number(j));if(M<0||this.length<M||this.length<z)throw new RangeError("Out of range index");if(z<=M)return this;M=M>>>0,z=z===void 0?this.length:z>>>0,j||(j=0);let ke;if(typeof j=="number")for(ke=M;ke<z;++ke)this[ke]=j;else{const Ne=l.isBuffer(j)?j:l.from(j,de),De=Ne.length;if(De===0)throw new TypeError('The value "'+j+'" is invalid for argument "value"');for(ke=0;ke<z-M;++ke)this[ke+M]=Ne[ke%De]}return this};const X={};function te(j,M,z){X[j]=class extends z{constructor(){super(),Object.defineProperty(this,"message",{value:M.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${j}]`,delete this.name}get code(){return j}set code(de){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:de,writable:!0})}toString(){return`${this.name} [${j}]: ${this.message}`}}}te("ERR_BUFFER_OUT_OF_BOUNDS",function(j){return j?`${j} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),te("ERR_INVALID_ARG_TYPE",function(j,M){return`The "${j}" argument must be of type number. Received type ${typeof M}`},TypeError),te("ERR_OUT_OF_RANGE",function(j,M,z){let de=`The value of "${j}" is out of range.`,ke=z;return Number.isInteger(z)&&Math.abs(z)>2**32?ke=_e(String(z)):typeof z=="bigint"&&(ke=String(z),(z>BigInt(2)**BigInt(32)||z<-(BigInt(2)**BigInt(32)))&&(ke=_e(ke)),ke+="n"),de+=` It must be ${M}. Received ${ke}`,de},RangeError);function _e(j){let M="",z=j.length;const de=j[0]==="-"?1:0;for(;z>=de+4;z-=3)M=`_${j.slice(z-3,z)}${M}`;return`${j.slice(0,z)}${M}`}function S(j,M,z){B(M,"offset"),(j[M]===void 0||j[M+z]===void 0)&&re(M,j.length-(z+1))}function N(j,M,z,de,ke,Ne){if(j>z||j<M){const De=typeof M=="bigint"?"n":"";let at;throw M===0||M===BigInt(0)?at=`>= 0${De} and < 2${De} ** ${(Ne+1)*8}${De}`:at=`>= -(2${De} ** ${(Ne+1)*8-1}${De}) and < 2 ** ${(Ne+1)*8-1}${De}`,new X.ERR_OUT_OF_RANGE("value",at,j)}S(de,ke,Ne)}function B(j,M){if(typeof j!="number")throw new X.ERR_INVALID_ARG_TYPE(M,"number",j)}function re(j,M,z){throw Math.floor(j)!==j?(B(j,z),new X.ERR_OUT_OF_RANGE("offset","an integer",j)):M<0?new X.ERR_BUFFER_OUT_OF_BOUNDS:new X.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${M}`,j)}const ye=/[^+/0-9A-Za-z-_]/g;function ue(j){if(j=j.split("=")[0],j=j.trim().replace(ye,""),j.length<2)return"";for(;j.length%4!==0;)j=j+"=";return j}function me(j,M){M=M||1/0;let z;const de=j.length;let ke=null;const Ne=[];for(let De=0;De<de;++De){if(z=j.charCodeAt(De),z>55295&&z<57344){if(!ke){if(z>56319){(M-=3)>-1&&Ne.push(239,191,189);continue}else if(De+1===de){(M-=3)>-1&&Ne.push(239,191,189);continue}ke=z;continue}if(z<56320){(M-=3)>-1&&Ne.push(239,191,189),ke=z;continue}z=(ke-55296<<10|z-56320)+65536}else ke&&(M-=3)>-1&&Ne.push(239,191,189);if(ke=null,z<128){if((M-=1)<0)break;Ne.push(z)}else if(z<2048){if((M-=2)<0)break;Ne.push(z>>6|192,z&63|128)}else if(z<65536){if((M-=3)<0)break;Ne.push(z>>12|224,z>>6&63|128,z&63|128)}else if(z<1114112){if((M-=4)<0)break;Ne.push(z>>18|240,z>>12&63|128,z>>6&63|128,z&63|128)}else throw new Error("Invalid code point")}return Ne}function je(j){const M=[];for(let z=0;z<j.length;++z)M.push(j.charCodeAt(z)&255);return M}function he(j,M){let z,de,ke;const Ne=[];for(let De=0;De<j.length&&!((M-=2)<0);++De)z=j.charCodeAt(De),de=z>>8,ke=z%256,Ne.push(ke),Ne.push(de);return Ne}function Ye(j){return t.toByteArray(ue(j))}function Ke(j,M,z,de){let ke;for(ke=0;ke<de&&!(ke+z>=M.length||ke>=j.length);++ke)M[ke+z]=j[ke];return ke}function Ge(j,M){return j instanceof M||j!=null&&j.constructor!=null&&j.constructor.name!=null&&j.constructor.name===M.name}function Je(j){return j!==j}const He=(function(){const j="0123456789abcdef",M=new Array(256);for(let z=0;z<16;++z){const de=z*16;for(let ke=0;ke<16;++ke)M[de+ke]=j[z]+j[ke]}return M})();function ot(j){return typeof BigInt>"u"?ur:j}function ur(){throw new Error("BigInt not supported")}})(iq)),iq}const pq=Sa(Kz);var i3,uq;function sMe(){if(uq)return i3;uq=1;function e(y,x){var k=Object.keys(y);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(y);x&&(w=w.filter(function(_){return Object.getOwnPropertyDescriptor(y,_).enumerable})),k.push.apply(k,w)}return k}function t(y){for(var x=1;x<arguments.length;x++){var k=arguments[x]!=null?arguments[x]:{};x%2?e(Object(k),!0).forEach(function(w){r(y,w,k[w])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(k)):e(Object(k)).forEach(function(w){Object.defineProperty(y,w,Object.getOwnPropertyDescriptor(k,w))})}return y}function r(y,x,k){return x=i(x),x in y?Object.defineProperty(y,x,{value:k,enumerable:!0,configurable:!0,writable:!0}):y[x]=k,y}function n(y,x){if(!(y instanceof x))throw new TypeError("Cannot call a class as a function")}function o(y,x){for(var k=0;k<x.length;k++){var w=x[k];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(y,i(w.key),w)}}function a(y,x,k){return x&&o(y.prototype,x),Object.defineProperty(y,"prototype",{writable:!1}),y}function i(y){var x=l(y,"string");return typeof x=="symbol"?x:String(x)}function l(y,x){if(typeof y!="object"||y===null)return y;var k=y[Symbol.toPrimitive];if(k!==void 0){var w=k.call(y,x);if(typeof w!="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(y)}var p=uh(),u=p.Buffer,h=pq,f=h.inspect,b=f&&f.custom||"inspect";function v(y,x,k){u.prototype.copy.call(y,x,k)}return i3=(function(){function y(){n(this,y),this.head=null,this.tail=null,this.length=0}return a(y,[{key:"push",value:function(x){var k={data:x,next:null};this.length>0?this.tail.next=k:this.head=k,this.tail=k,++this.length}},{key:"unshift",value:function(x){var k={data:x,next:this.head};this.length===0&&(this.tail=k),this.head=k,++this.length}},{key:"shift",value:function(){if(this.length!==0){var x=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,x}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(x){if(this.length===0)return"";for(var k=this.head,w=""+k.data;k=k.next;)w+=x+k.data;return w}},{key:"concat",value:function(x){if(this.length===0)return u.alloc(0);for(var k=u.allocUnsafe(x>>>0),w=this.head,_=0;w;)v(w.data,k,_),_+=w.data.length,w=w.next;return k}},{key:"consume",value:function(x,k){var w;return x<this.head.data.length?(w=this.head.data.slice(0,x),this.head.data=this.head.data.slice(x)):x===this.head.data.length?w=this.shift():w=k?this._getString(x):this._getBuffer(x),w}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(x){var k=this.head,w=1,_=k.data;for(x-=_.length;k=k.next;){var A=k.data,R=x>A.length?A.length:x;if(R===A.length?_+=A:_+=A.slice(0,x),x-=R,x===0){R===A.length?(++w,k.next?this.head=k.next:this.head=this.tail=null):(this.head=k,k.data=A.slice(R));break}++w}return this.length-=w,_}},{key:"_getBuffer",value:function(x){var k=u.allocUnsafe(x),w=this.head,_=1;for(w.data.copy(k),x-=w.data.length;w=w.next;){var A=w.data,R=x>A.length?A.length:x;if(A.copy(k,k.length-x,0,R),x-=R,x===0){R===A.length?(++_,w.next?this.head=w.next:this.head=this.tail=null):(this.head=w,w.data=A.slice(R));break}++_}return this.length-=_,k}},{key:b,value:function(x,k){return f(this,t(t({},k),{},{depth:0,customInspect:!1}))}}]),y})(),i3}var s3,dq;function hq(){if(dq)return s3;dq=1;function e(i,l){var p=this,u=this._readableState&&this._readableState.destroyed,h=this._writableState&&this._writableState.destroyed;return u||h?(l?l(i):i&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(o,this,i)):process.nextTick(o,this,i)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(i||null,function(f){!l&&f?p._writableState?p._writableState.errorEmitted?process.nextTick(r,p):(p._writableState.errorEmitted=!0,process.nextTick(t,p,f)):process.nextTick(t,p,f):l?(process.nextTick(r,p),l(f)):process.nextTick(r,p)}),this)}function t(i,l){o(i,l),r(i)}function r(i){i._writableState&&!i._writableState.emitClose||i._readableState&&!i._readableState.emitClose||i.emit("close")}function n(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function o(i,l){i.emit("error",l)}function a(i,l){var p=i._readableState,u=i._writableState;p&&p.autoDestroy||u&&u.autoDestroy?i.destroy(l):i.emit("error",l)}return s3={destroy:e,undestroy:n,errorOrDestroy:a},s3}var l3={},fq;function Ap(){if(fq)return l3;fq=1;function e(l,p){l.prototype=Object.create(p.prototype),l.prototype.constructor=l,l.__proto__=p}var t={};function r(l,p,u){u||(u=Error);function h(b,v,y){return typeof p=="string"?p:p(b,v,y)}var f=(function(b){e(v,b);function v(y,x,k){return b.call(this,h(y,x,k))||this}return v})(u);f.prototype.name=u.name,f.prototype.code=l,t[l]=f}function n(l,p){if(Array.isArray(l)){var u=l.length;return l=l.map(function(h){return String(h)}),u>2?"one of ".concat(p," ").concat(l.slice(0,u-1).join(", "),", or ")+l[u-1]:u===2?"one of ".concat(p," ").concat(l[0]," or ").concat(l[1]):"of ".concat(p," ").concat(l[0])}else return"of ".concat(p," ").concat(String(l))}function o(l,p,u){return l.substr(0,p.length)===p}function a(l,p,u){return(u===void 0||u>l.length)&&(u=l.length),l.substring(u-p.length,u)===p}function i(l,p,u){return typeof u!="number"&&(u=0),u+p.length>l.length?!1:l.indexOf(p,u)!==-1}return r("ERR_INVALID_OPT_VALUE",function(l,p){return'The value "'+p+'" is invalid for option "'+l+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(l,p,u){var h;typeof p=="string"&&o(p,"not ")?(h="must not be",p=p.replace(/^not /,"")):h="must be";var f;if(a(l," argument"))f="The ".concat(l," ").concat(h," ").concat(n(p,"type"));else{var b=i(l,".")?"property":"argument";f='The "'.concat(l,'" ').concat(b," ").concat(h," ").concat(n(p,"type"))}return f+=". Received type ".concat(typeof u),f},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(l){return"The "+l+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(l){return"Cannot call "+l+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(l){return"Unknown encoding: "+l},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),l3.codes=t,l3}var c3,mq;function gq(){if(mq)return c3;mq=1;var e=Ap().codes.ERR_INVALID_OPT_VALUE;function t(n,o,a){return n.highWaterMark!=null?n.highWaterMark:o?n[a]:null}function r(n,o,a,i){var l=t(o,i,a);if(l!=null){if(!(isFinite(l)&&Math.floor(l)===l)||l<0){var p=i?a:"highWaterMark";throw new e(p,l)}return Math.floor(l)}return n.objectMode?16:16*1024}return c3={getHighWaterMark:r},c3}var p3,bq;function lMe(){if(bq)return p3;bq=1,p3=e;function e(r,n){if(t("noDeprecation"))return r;var o=!1;function a(){if(!o){if(t("throwDeprecation"))throw new Error(n);t("traceDeprecation")?console.trace(n):console.warn(n),o=!0}return r.apply(this,arguments)}return a}function t(r){try{if(!globalThis.localStorage)return!1}catch{return!1}var n=globalThis.localStorage[r];return n==null?!1:String(n).toLowerCase()==="true"}return p3}var u3,vq;function yq(){if(vq)return u3;vq=1,u3=O;function e(K){var se=this;this.next=null,this.entry=null,this.finish=function(){pe(se,K)}}var t;O.WritableState=L;var r={deprecate:lMe()},n=aq(),o=uh().Buffer,a=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function i(K){return o.from(K)}function l(K){return o.isBuffer(K)||K instanceof a}var p=hq(),u=gq(),h=u.getHighWaterMark,f=Ap().codes,b=f.ERR_INVALID_ARG_TYPE,v=f.ERR_METHOD_NOT_IMPLEMENTED,y=f.ERR_MULTIPLE_CALLBACK,x=f.ERR_STREAM_CANNOT_PIPE,k=f.ERR_STREAM_DESTROYED,w=f.ERR_STREAM_NULL_VALUES,_=f.ERR_STREAM_WRITE_AFTER_END,A=f.ERR_UNKNOWN_ENCODING,R=p.errorOrDestroy;function E(){}function L(K,se,X){t=t||Ep(),K=K||{},typeof X!="boolean"&&(X=se instanceof t),this.objectMode=!!K.objectMode,X&&(this.objectMode=this.objectMode||!!K.writableObjectMode),this.highWaterMark=h(this,K,"writableHighWaterMark",X),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var te=K.decodeStrings===!1;this.decodeStrings=!te,this.defaultEncoding=K.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(_e){G(se,_e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=K.emitClose!==!1,this.autoDestroy=!!K.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}L.prototype.getBuffer=function(){for(var K=this.bufferedRequest,se=[];K;)se.push(K),K=K.next;return se},(function(){try{Object.defineProperty(L.prototype,"buffer",{get:r.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var I;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(I=Function.prototype[Symbol.hasInstance],Object.defineProperty(O,Symbol.hasInstance,{value:function(K){return I.call(this,K)?!0:this!==O?!1:K&&K._writableState instanceof L}})):I=function(K){return K instanceof this};function O(K){t=t||Ep();var se=this instanceof t;if(!se&&!I.call(O,this))return new O(K);this._writableState=new L(K,this,se),this.writable=!0,K&&(typeof K.write=="function"&&(this._write=K.write),typeof K.writev=="function"&&(this._writev=K.writev),typeof K.destroy=="function"&&(this._destroy=K.destroy),typeof K.final=="function"&&(this._final=K.final)),n.call(this)}O.prototype.pipe=function(){R(this,new x)};function P(K,se){var X=new _;R(K,X),process.nextTick(se,X)}function U(K,se,X,te){var _e;return X===null?_e=new w:typeof X!="string"&&!se.objectMode&&(_e=new b("chunk",["string","Buffer"],X)),_e?(R(K,_e),process.nextTick(te,_e),!1):!0}O.prototype.write=function(K,se,X){var te=this._writableState,_e=!1,S=!te.objectMode&&l(K);return S&&!o.isBuffer(K)&&(K=i(K)),typeof se=="function"&&(X=se,se=null),S?se="buffer":se||(se=te.defaultEncoding),typeof X!="function"&&(X=E),te.ending?P(this,X):(S||U(this,te,K,X))&&(te.pendingcb++,_e=q(this,te,S,K,se,X)),_e},O.prototype.cork=function(){this._writableState.corked++},O.prototype.uncork=function(){var K=this._writableState;K.corked&&(K.corked--,!K.writing&&!K.corked&&!K.bufferProcessing&&K.bufferedRequest&&fe(this,K))},O.prototype.setDefaultEncoding=function(K){if(typeof K=="string"&&(K=K.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((K+"").toLowerCase())>-1))throw new A(K);return this._writableState.defaultEncoding=K,this},Object.defineProperty(O.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Y(K,se,X){return!K.objectMode&&K.decodeStrings!==!1&&typeof se=="string"&&(se=o.from(se,X)),se}Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function q(K,se,X,te,_e,S){if(!X){var N=Y(se,te,_e);te!==N&&(X=!0,_e="buffer",te=N)}var B=se.objectMode?1:te.length;se.length+=B;var re=se.length<se.highWaterMark;if(re||(se.needDrain=!0),se.writing||se.corked){var ye=se.lastBufferedRequest;se.lastBufferedRequest={chunk:te,encoding:_e,isBuf:X,callback:S,next:null},ye?ye.next=se.lastBufferedRequest:se.bufferedRequest=se.lastBufferedRequest,se.bufferedRequestCount+=1}else Q(K,se,!1,B,te,_e,S);return re}function Q(K,se,X,te,_e,S,N){se.writelen=te,se.writecb=N,se.writing=!0,se.sync=!0,se.destroyed?se.onwrite(new k("write")):X?K._writev(_e,se.onwrite):K._write(_e,S,se.onwrite),se.sync=!1}function ne(K,se,X,te,_e){--se.pendingcb,X?(process.nextTick(_e,te),process.nextTick(W,K,se),K._writableState.errorEmitted=!0,R(K,te)):(_e(te),K._writableState.errorEmitted=!0,R(K,te),W(K,se))}function le(K){K.writing=!1,K.writecb=null,K.length-=K.writelen,K.writelen=0}function G(K,se){var X=K._writableState,te=X.sync,_e=X.writecb;if(typeof _e!="function")throw new y;if(le(X),se)ne(K,X,te,se,_e);else{var S=oe(X)||K.destroyed;!S&&!X.corked&&!X.bufferProcessing&&X.bufferedRequest&&fe(K,X),te?process.nextTick(ce,K,X,S,_e):ce(K,X,S,_e)}}function ce(K,se,X,te){X||ee(K,se),se.pendingcb--,te(),W(K,se)}function ee(K,se){se.length===0&&se.needDrain&&(se.needDrain=!1,K.emit("drain"))}function fe(K,se){se.bufferProcessing=!0;var X=se.bufferedRequest;if(K._writev&&X&&X.next){var te=se.bufferedRequestCount,_e=new Array(te),S=se.corkedRequestsFree;S.entry=X;for(var N=0,B=!0;X;)_e[N]=X,X.isBuf||(B=!1),X=X.next,N+=1;_e.allBuffers=B,Q(K,se,!0,se.length,_e,"",S.finish),se.pendingcb++,se.lastBufferedRequest=null,S.next?(se.corkedRequestsFree=S.next,S.next=null):se.corkedRequestsFree=new e(se),se.bufferedRequestCount=0}else{for(;X;){var re=X.chunk,ye=X.encoding,ue=X.callback,me=se.objectMode?1:re.length;if(Q(K,se,!1,me,re,ye,ue),X=X.next,se.bufferedRequestCount--,se.writing)break}X===null&&(se.lastBufferedRequest=null)}se.bufferedRequest=X,se.bufferProcessing=!1}O.prototype._write=function(K,se,X){X(new v("_write()"))},O.prototype._writev=null,O.prototype.end=function(K,se,X){var te=this._writableState;return typeof K=="function"?(X=K,K=null,se=null):typeof se=="function"&&(X=se,se=null),K!=null&&this.write(K,se),te.corked&&(te.corked=1,this.uncork()),te.ending||V(this,te,X),this},Object.defineProperty(O.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function oe(K){return K.ending&&K.length===0&&K.bufferedRequest===null&&!K.finished&&!K.writing}function F(K,se){K._final(function(X){se.pendingcb--,X&&R(K,X),se.prefinished=!0,K.emit("prefinish"),W(K,se)})}function ie(K,se){!se.prefinished&&!se.finalCalled&&(typeof K._final=="function"&&!se.destroyed?(se.pendingcb++,se.finalCalled=!0,process.nextTick(F,K,se)):(se.prefinished=!0,K.emit("prefinish")))}function W(K,se){var X=oe(se);if(X&&(ie(K,se),se.pendingcb===0&&(se.finished=!0,K.emit("finish"),se.autoDestroy))){var te=K._readableState;(!te||te.autoDestroy&&te.endEmitted)&&K.destroy()}return X}function V(K,se,X){se.ending=!0,W(K,se),X&&(se.finished?process.nextTick(X):K.once("finish",X)),se.ended=!0,K.writable=!1}function pe(K,se,X){var te=K.entry;for(K.entry=null;te;){var _e=te.callback;se.pendingcb--,_e(X),te=te.next}se.corkedRequestsFree.next=K}return Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(K){this._writableState&&(this._writableState.destroyed=K)}}),O.prototype.destroy=p.destroy,O.prototype._undestroy=p.undestroy,O.prototype._destroy=function(K,se){se(K)},u3}var d3,xq;function Ep(){if(xq)return d3;xq=1;var e=Object.keys||function(u){var h=[];for(var f in u)h.push(f);return h};d3=i;for(var t=Oq(),r=yq(),n=e(r.prototype),o=0;o<n.length;o++){var a=n[o];i.prototype[a]||(i.prototype[a]=r.prototype[a])}function i(u){if(!(this instanceof i))return new i(u);t.call(this,u),r.call(this,u),this.allowHalfOpen=!0,u&&(u.readable===!1&&(this.readable=!1),u.writable===!1&&(this.writable=!1),u.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",l)))}Object.defineProperty(i.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(i.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(i.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function l(){this._writableState.ended||process.nextTick(p,this)}function p(u){u.end()}return Object.defineProperty(i.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(u){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=u,this._writableState.destroyed=u)}}),d3}var h3={},f3={exports:{}},wq;function cMe(){return wq||(wq=1,(function(e,t){var r=uh(),n=r.Buffer;function o(i,l){for(var p in i)l[p]=i[p]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a);function a(i,l,p){return n(i,l,p)}a.prototype=Object.create(n.prototype),o(n,a),a.from=function(i,l,p){if(typeof i=="number")throw new TypeError("Argument must not be a number");return n(i,l,p)},a.alloc=function(i,l,p){if(typeof i!="number")throw new TypeError("Argument must be a number");var u=n(i);return l!==void 0?typeof p=="string"?u.fill(l,p):u.fill(l):u.fill(0),u},a.allocUnsafe=function(i){if(typeof i!="number")throw new TypeError("Argument must be a number");return n(i)},a.allocUnsafeSlow=function(i){if(typeof i!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(i)}})(f3,f3.exports)),f3.exports}var Sq;function Cq(){if(Sq)return h3;Sq=1;var e=cMe().Buffer,t=e.isEncoding||function(w){switch(w=""+w,w&&w.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r(w){if(!w)return"utf8";for(var _;;)switch(w){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return w;default:if(_)return;w=(""+w).toLowerCase(),_=!0}}function n(w){var _=r(w);if(typeof _!="string"&&(e.isEncoding===t||!t(w)))throw new Error("Unknown encoding: "+w);return _||w}h3.StringDecoder=o;function o(w){this.encoding=n(w);var _;switch(this.encoding){case"utf16le":this.text=f,this.end=b,_=4;break;case"utf8":this.fillLast=p,_=4;break;case"base64":this.text=v,this.end=y,_=3;break;default:this.write=x,this.end=k;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(_)}o.prototype.write=function(w){if(w.length===0)return"";var _,A;if(this.lastNeed){if(_=this.fillLast(w),_===void 0)return"";A=this.lastNeed,this.lastNeed=0}else A=0;return A<w.length?_?_+this.text(w,A):this.text(w,A):_||""},o.prototype.end=h,o.prototype.text=u,o.prototype.fillLast=function(w){if(this.lastNeed<=w.length)return w.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);w.copy(this.lastChar,this.lastTotal-this.lastNeed,0,w.length),this.lastNeed-=w.length};function a(w){return w<=127?0:w>>5===6?2:w>>4===14?3:w>>3===30?4:w>>6===2?-1:-2}function i(w,_,A){var R=_.length-1;if(R<A)return 0;var E=a(_[R]);return E>=0?(E>0&&(w.lastNeed=E-1),E):--R<A||E===-2?0:(E=a(_[R]),E>=0?(E>0&&(w.lastNeed=E-2),E):--R<A||E===-2?0:(E=a(_[R]),E>=0?(E>0&&(E===2?E=0:w.lastNeed=E-3),E):0))}function l(w,_,A){if((_[0]&192)!==128)return w.lastNeed=0,"\uFFFD";if(w.lastNeed>1&&_.length>1){if((_[1]&192)!==128)return w.lastNeed=1,"\uFFFD";if(w.lastNeed>2&&_.length>2&&(_[2]&192)!==128)return w.lastNeed=2,"\uFFFD"}}function p(w){var _=this.lastTotal-this.lastNeed,A=l(this,w);if(A!==void 0)return A;if(this.lastNeed<=w.length)return w.copy(this.lastChar,_,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);w.copy(this.lastChar,_,0,w.length),this.lastNeed-=w.length}function u(w,_){var A=i(this,w,_);if(!this.lastNeed)return w.toString("utf8",_);this.lastTotal=A;var R=w.length-(A-this.lastNeed);return w.copy(this.lastChar,0,R),w.toString("utf8",_,R)}function h(w){var _=w&&w.length?this.write(w):"";return this.lastNeed?_+"\uFFFD":_}function f(w,_){if((w.length-_)%2===0){var A=w.toString("utf16le",_);if(A){var R=A.charCodeAt(A.length-1);if(R>=55296&&R<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=w[w.length-2],this.lastChar[1]=w[w.length-1],A.slice(0,-1)}return A}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=w[w.length-1],w.toString("utf16le",_,w.length-1)}function b(w){var _=w&&w.length?this.write(w):"";if(this.lastNeed){var A=this.lastTotal-this.lastNeed;return _+this.lastChar.toString("utf16le",0,A)}return _}function v(w,_){var A=(w.length-_)%3;return A===0?w.toString("base64",_):(this.lastNeed=3-A,this.lastTotal=3,A===1?this.lastChar[0]=w[w.length-1]:(this.lastChar[0]=w[w.length-2],this.lastChar[1]=w[w.length-1]),w.toString("base64",_,w.length-A))}function y(w){var _=w&&w.length?this.write(w):"";return this.lastNeed?_+this.lastChar.toString("base64",0,3-this.lastNeed):_}function x(w){return w.toString(this.encoding)}function k(w){return w&&w.length?this.write(w):""}return h3}var m3,kq;function g3(){if(kq)return m3;kq=1;var e=Ap().codes.ERR_STREAM_PREMATURE_CLOSE;function t(a){var i=!1;return function(){if(!i){i=!0;for(var l=arguments.length,p=new Array(l),u=0;u<l;u++)p[u]=arguments[u];a.apply(this,p)}}}function r(){}function n(a){return a.setHeader&&typeof a.abort=="function"}function o(a,i,l){if(typeof i=="function")return o(a,null,i);i||(i={}),l=t(l||r);var p=i.readable||i.readable!==!1&&a.readable,u=i.writable||i.writable!==!1&&a.writable,h=function(){a.writable||b()},f=a._writableState&&a._writableState.finished,b=function(){u=!1,f=!0,p||l.call(a)},v=a._readableState&&a._readableState.endEmitted,y=function(){p=!1,v=!0,u||l.call(a)},x=function(_){l.call(a,_)},k=function(){var _;if(p&&!v)return(!a._readableState||!a._readableState.ended)&&(_=new e),l.call(a,_);if(u&&!f)return(!a._writableState||!a._writableState.ended)&&(_=new e),l.call(a,_)},w=function(){a.req.on("finish",b)};return n(a)?(a.on("complete",b),a.on("abort",k),a.req?w():a.on("request",w)):u&&!a._writableState&&(a.on("end",h),a.on("close",h)),a.on("end",y),a.on("finish",b),i.error!==!1&&a.on("error",x),a.on("close",k),function(){a.removeListener("complete",b),a.removeListener("abort",k),a.removeListener("request",w),a.req&&a.req.removeListener("finish",b),a.removeListener("end",h),a.removeListener("close",h),a.removeListener("finish",b),a.removeListener("end",y),a.removeListener("error",x),a.removeListener("close",k)}}return m3=o,m3}var b3,_q;function pMe(){if(_q)return b3;_q=1;var e;function t(A,R,E){return R=r(R),R in A?Object.defineProperty(A,R,{value:E,enumerable:!0,configurable:!0,writable:!0}):A[R]=E,A}function r(A){var R=n(A,"string");return typeof R=="symbol"?R:String(R)}function n(A,R){if(typeof A!="object"||A===null)return A;var E=A[Symbol.toPrimitive];if(E!==void 0){var L=E.call(A,R);if(typeof L!="object")return L;throw new TypeError("@@toPrimitive must return a primitive value.")}return(R==="string"?String:Number)(A)}var o=g3(),a=Symbol("lastResolve"),i=Symbol("lastReject"),l=Symbol("error"),p=Symbol("ended"),u=Symbol("lastPromise"),h=Symbol("handlePromise"),f=Symbol("stream");function b(A,R){return{value:A,done:R}}function v(A){var R=A[a];if(R!==null){var E=A[f].read();E!==null&&(A[u]=null,A[a]=null,A[i]=null,R(b(E,!1)))}}function y(A){process.nextTick(v,A)}function x(A,R){return function(E,L){A.then(function(){if(R[p]){E(b(void 0,!0));return}R[h](E,L)},L)}}var k=Object.getPrototypeOf(function(){}),w=Object.setPrototypeOf((e={get stream(){return this[f]},next:function(){var A=this,R=this[l];if(R!==null)return Promise.reject(R);if(this[p])return Promise.resolve(b(void 0,!0));if(this[f].destroyed)return new Promise(function(O,P){process.nextTick(function(){A[l]?P(A[l]):O(b(void 0,!0))})});var E=this[u],L;if(E)L=new Promise(x(E,this));else{var I=this[f].read();if(I!==null)return Promise.resolve(b(I,!1));L=new Promise(this[h])}return this[u]=L,L}},t(e,Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var A=this;return new Promise(function(R,E){A[f].destroy(null,function(L){if(L){E(L);return}R(b(void 0,!0))})})}),e),k),_=function(A){var R,E=Object.create(w,(R={},t(R,f,{value:A,writable:!0}),t(R,a,{value:null,writable:!0}),t(R,i,{value:null,writable:!0}),t(R,l,{value:null,writable:!0}),t(R,p,{value:A._readableState.endEmitted,writable:!0}),t(R,h,{value:function(L,I){var O=E[f].read();O?(E[u]=null,E[a]=null,E[i]=null,L(b(O,!1))):(E[a]=L,E[i]=I)},writable:!0}),R));return E[u]=null,o(A,function(L){if(L&&L.code!=="ERR_STREAM_PREMATURE_CLOSE"){var I=E[i];I!==null&&(E[u]=null,E[a]=null,E[i]=null,I(L)),E[l]=L;return}var O=E[a];O!==null&&(E[u]=null,E[a]=null,E[i]=null,O(b(void 0,!0))),E[p]=!0}),A.on("readable",y.bind(null,E)),E};return b3=_,b3}var Aq,Eq;function uMe(){return Eq||(Eq=1,Aq=function(){throw new Error("Readable.from is not available in the browser")}),Aq}var v3,Tq;function Oq(){if(Tq)return v3;Tq=1,v3=P;var e;P.ReadableState=O;var t=function(S,N){return S.listeners(N).length},r=aq(),n=uh().Buffer,o=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function a(S){return n.from(S)}function i(S){return n.isBuffer(S)||S instanceof o}var l=pq,p;l&&l.debuglog?p=l.debuglog("stream"):p=function(){};var u=sMe(),h=hq(),f=gq(),b=f.getHighWaterMark,v=Ap().codes,y=v.ERR_INVALID_ARG_TYPE,x=v.ERR_STREAM_PUSH_AFTER_EOF,k=v.ERR_METHOD_NOT_IMPLEMENTED,w=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,_,A,R,E=h.errorOrDestroy,L=["error","close","destroy","pause","resume"];function I(S,N,B){if(typeof S.prependListener=="function")return S.prependListener(N,B);!S._events||!S._events[N]?S.on(N,B):Array.isArray(S._events[N])?S._events[N].unshift(B):S._events[N]=[B,S._events[N]]}function O(S,N,B){e=e||Ep(),S=S||{},typeof B!="boolean"&&(B=N instanceof e),this.objectMode=!!S.objectMode,B&&(this.objectMode=this.objectMode||!!S.readableObjectMode),this.highWaterMark=b(this,S,"readableHighWaterMark",B),this.buffer=new u,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=S.emitClose!==!1,this.autoDestroy=!!S.autoDestroy,this.destroyed=!1,this.defaultEncoding=S.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,S.encoding&&(_||(_=Cq().StringDecoder),this.decoder=new _(S.encoding),this.encoding=S.encoding)}function P(S){if(e=e||Ep(),!(this instanceof P))return new P(S);var N=this instanceof e;this._readableState=new O(S,this,N),this.readable=!0,S&&(typeof S.read=="function"&&(this._read=S.read),typeof S.destroy=="function"&&(this._destroy=S.destroy)),r.call(this)}Object.defineProperty(P.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(S){this._readableState&&(this._readableState.destroyed=S)}}),P.prototype.destroy=h.destroy,P.prototype._undestroy=h.undestroy,P.prototype._destroy=function(S,N){N(S)},P.prototype.push=function(S,N){var B=this._readableState,re;return B.objectMode?re=!0:typeof S=="string"&&(N=N||B.defaultEncoding,N!==B.encoding&&(S=n.from(S,N),N=""),re=!0),U(this,S,N,!1,re)},P.prototype.unshift=function(S){return U(this,S,null,!0,!1)};function U(S,N,B,re,ye){p("readableAddChunk",N);var ue=S._readableState;if(N===null)ue.reading=!1,G(S,ue);else{var me;if(ye||(me=q(ue,N)),me)E(S,me);else if(ue.objectMode||N&&N.length>0)if(typeof N!="string"&&!ue.objectMode&&Object.getPrototypeOf(N)!==n.prototype&&(N=a(N)),re)ue.endEmitted?E(S,new w):Y(S,ue,N,!0);else if(ue.ended)E(S,new x);else{if(ue.destroyed)return!1;ue.reading=!1,ue.decoder&&!B?(N=ue.decoder.write(N),ue.objectMode||N.length!==0?Y(S,ue,N,!1):fe(S,ue)):Y(S,ue,N,!1)}else re||(ue.reading=!1,fe(S,ue))}return!ue.ended&&(ue.length<ue.highWaterMark||ue.length===0)}function Y(S,N,B,re){N.flowing&&N.length===0&&!N.sync?(N.awaitDrain=0,S.emit("data",B)):(N.length+=N.objectMode?1:B.length,re?N.buffer.unshift(B):N.buffer.push(B),N.needReadable&&ce(S)),fe(S,N)}function q(S,N){var B;return!i(N)&&typeof N!="string"&&N!==void 0&&!S.objectMode&&(B=new y("chunk",["string","Buffer","Uint8Array"],N)),B}P.prototype.isPaused=function(){return this._readableState.flowing===!1},P.prototype.setEncoding=function(S){_||(_=Cq().StringDecoder);var N=new _(S);this._readableState.decoder=N,this._readableState.encoding=this._readableState.decoder.encoding;for(var B=this._readableState.buffer.head,re="";B!==null;)re+=N.write(B.data),B=B.next;return this._readableState.buffer.clear(),re!==""&&this._readableState.buffer.push(re),this._readableState.length=re.length,this};var Q=1073741824;function ne(S){return S>=Q?S=Q:(S--,S|=S>>>1,S|=S>>>2,S|=S>>>4,S|=S>>>8,S|=S>>>16,S++),S}function le(S,N){return S<=0||N.length===0&&N.ended?0:N.objectMode?1:S!==S?N.flowing&&N.length?N.buffer.head.data.length:N.length:(S>N.highWaterMark&&(N.highWaterMark=ne(S)),S<=N.length?S:N.ended?N.length:(N.needReadable=!0,0))}P.prototype.read=function(S){p("read",S),S=parseInt(S,10);var N=this._readableState,B=S;if(S!==0&&(N.emittedReadable=!1),S===0&&N.needReadable&&((N.highWaterMark!==0?N.length>=N.highWaterMark:N.length>0)||N.ended))return p("read: emitReadable",N.length,N.ended),N.length===0&&N.ended?X(this):ce(this),null;if(S=le(S,N),S===0&&N.ended)return N.length===0&&X(this),null;var re=N.needReadable;p("need readable",re),(N.length===0||N.length-S<N.highWaterMark)&&(re=!0,p("length less than watermark",re)),N.ended||N.reading?(re=!1,p("reading or ended",re)):re&&(p("do read"),N.reading=!0,N.sync=!0,N.length===0&&(N.needReadable=!0),this._read(N.highWaterMark),N.sync=!1,N.reading||(S=le(B,N)));var ye;return S>0?ye=se(S,N):ye=null,ye===null?(N.needReadable=N.length<=N.highWaterMark,S=0):(N.length-=S,N.awaitDrain=0),N.length===0&&(N.ended||(N.needReadable=!0),B!==S&&N.ended&&X(this)),ye!==null&&this.emit("data",ye),ye};function G(S,N){if(p("onEofChunk"),!N.ended){if(N.decoder){var B=N.decoder.end();B&&B.length&&(N.buffer.push(B),N.length+=N.objectMode?1:B.length)}N.ended=!0,N.sync?ce(S):(N.needReadable=!1,N.emittedReadable||(N.emittedReadable=!0,ee(S)))}}function ce(S){var N=S._readableState;p("emitReadable",N.needReadable,N.emittedReadable),N.needReadable=!1,N.emittedReadable||(p("emitReadable",N.flowing),N.emittedReadable=!0,process.nextTick(ee,S))}function ee(S){var N=S._readableState;p("emitReadable_",N.destroyed,N.length,N.ended),!N.destroyed&&(N.length||N.ended)&&(S.emit("readable"),N.emittedReadable=!1),N.needReadable=!N.flowing&&!N.ended&&N.length<=N.highWaterMark,K(S)}function fe(S,N){N.readingMore||(N.readingMore=!0,process.nextTick(oe,S,N))}function oe(S,N){for(;!N.reading&&!N.ended&&(N.length<N.highWaterMark||N.flowing&&N.length===0);){var B=N.length;if(p("maybeReadMore read 0"),S.read(0),B===N.length)break}N.readingMore=!1}P.prototype._read=function(S){E(this,new k("_read()"))},P.prototype.pipe=function(S,N){var B=this,re=this._readableState;switch(re.pipesCount){case 0:re.pipes=S;break;case 1:re.pipes=[re.pipes,S];break;default:re.pipes.push(S);break}re.pipesCount+=1,p("pipe count=%d opts=%j",re.pipesCount,N);var ye=(!N||N.end!==!1)&&S!==null&&S!==process.stderr,ue=ye?je:ur;re.endEmitted?process.nextTick(ue):B.once("end",ue),S.on("unpipe",me);function me(j,M){p("onunpipe"),j===B&&M&&M.hasUnpiped===!1&&(M.hasUnpiped=!0,Ke())}function je(){p("onend"),S.end()}var he=F(B);S.on("drain",he);var Ye=!1;function Ke(){p("cleanup"),S.removeListener("close",He),S.removeListener("finish",ot),S.removeListener("drain",he),S.removeListener("error",Je),S.removeListener("unpipe",me),B.removeListener("end",je),B.removeListener("end",ur),B.removeListener("data",Ge),Ye=!0,re.awaitDrain&&(!S._writableState||S._writableState.needDrain)&&he()}B.on("data",Ge);function Ge(j){p("ondata");var M=S.write(j);p("dest.write",M),M===!1&&((re.pipesCount===1&&re.pipes===S||re.pipesCount>1&&_e(re.pipes,S)!==-1)&&!Ye&&(p("false write response, pause",re.awaitDrain),re.awaitDrain++),B.pause())}function Je(j){p("onerror",j),ur(),S.removeListener("error",Je),t(S,"error")===0&&E(S,j)}I(S,"error",Je);function He(){S.removeListener("finish",ot),ur()}S.once("close",He);function ot(){p("onfinish"),S.removeListener("close",He),ur()}S.once("finish",ot);function ur(){p("unpipe"),B.unpipe(S)}return S.emit("pipe",B),re.flowing||(p("pipe resume"),B.resume()),S};function F(S){return function(){var N=S._readableState;p("pipeOnDrain",N.awaitDrain),N.awaitDrain&&N.awaitDrain--,N.awaitDrain===0&&t(S,"data")&&(N.flowing=!0,K(S))}}P.prototype.unpipe=function(S){var N=this._readableState,B={hasUnpiped:!1};if(N.pipesCount===0)return this;if(N.pipesCount===1)return S&&S!==N.pipes?this:(S||(S=N.pipes),N.pipes=null,N.pipesCount=0,N.flowing=!1,S&&S.emit("unpipe",this,B),this);if(!S){var re=N.pipes,ye=N.pipesCount;N.pipes=null,N.pipesCount=0,N.flowing=!1;for(var ue=0;ue<ye;ue++)re[ue].emit("unpipe",this,{hasUnpiped:!1});return this}var me=_e(N.pipes,S);return me===-1?this:(N.pipes.splice(me,1),N.pipesCount-=1,N.pipesCount===1&&(N.pipes=N.pipes[0]),S.emit("unpipe",this,B),this)},P.prototype.on=function(S,N){var B=r.prototype.on.call(this,S,N),re=this._readableState;return S==="data"?(re.readableListening=this.listenerCount("readable")>0,re.flowing!==!1&&this.resume()):S==="readable"&&!re.endEmitted&&!re.readableListening&&(re.readableListening=re.needReadable=!0,re.flowing=!1,re.emittedReadable=!1,p("on readable",re.length,re.reading),re.length?ce(this):re.reading||process.nextTick(W,this)),B},P.prototype.addListener=P.prototype.on,P.prototype.removeListener=function(S,N){var B=r.prototype.removeListener.call(this,S,N);return S==="readable"&&process.nextTick(ie,this),B},P.prototype.removeAllListeners=function(S){var N=r.prototype.removeAllListeners.apply(this,arguments);return(S==="readable"||S===void 0)&&process.nextTick(ie,this),N};function ie(S){var N=S._readableState;N.readableListening=S.listenerCount("readable")>0,N.resumeScheduled&&!N.paused?N.flowing=!0:S.listenerCount("data")>0&&S.resume()}function W(S){p("readable nexttick read 0"),S.read(0)}P.prototype.resume=function(){var S=this._readableState;return S.flowing||(p("resume"),S.flowing=!S.readableListening,V(this,S)),S.paused=!1,this};function V(S,N){N.resumeScheduled||(N.resumeScheduled=!0,process.nextTick(pe,S,N))}function pe(S,N){p("resume",N.reading),N.reading||S.read(0),N.resumeScheduled=!1,S.emit("resume"),K(S),N.flowing&&!N.reading&&S.read(0)}P.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function K(S){var N=S._readableState;for(p("flow",N.flowing);N.flowing&&S.read()!==null;);}P.prototype.wrap=function(S){var N=this,B=this._readableState,re=!1;S.on("end",function(){if(p("wrapped end"),B.decoder&&!B.ended){var me=B.decoder.end();me&&me.length&&N.push(me)}N.push(null)}),S.on("data",function(me){if(p("wrapped data"),B.decoder&&(me=B.decoder.write(me)),!(B.objectMode&&me==null)&&!(!B.objectMode&&(!me||!me.length))){var je=N.push(me);je||(re=!0,S.pause())}});for(var ye in S)this[ye]===void 0&&typeof S[ye]=="function"&&(this[ye]=(function(me){return function(){return S[me].apply(S,arguments)}})(ye));for(var ue=0;ue<L.length;ue++)S.on(L[ue],this.emit.bind(this,L[ue]));return this._read=function(me){p("wrapped _read",me),re&&(re=!1,S.resume())},this},typeof Symbol=="function"&&(P.prototype[Symbol.asyncIterator]=function(){return A===void 0&&(A=pMe()),A(this)}),Object.defineProperty(P.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(P.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(P.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(S){this._readableState&&(this._readableState.flowing=S)}}),P._fromList=se,Object.defineProperty(P.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function se(S,N){if(N.length===0)return null;var B;return N.objectMode?B=N.buffer.shift():!S||S>=N.length?(N.decoder?B=N.buffer.join(""):N.buffer.length===1?B=N.buffer.first():B=N.buffer.concat(N.length),N.buffer.clear()):B=N.buffer.consume(S,N.decoder),B}function X(S){var N=S._readableState;p("endReadable",N.endEmitted),N.endEmitted||(N.ended=!0,process.nextTick(te,N,S))}function te(S,N){if(p("endReadableNT",S.endEmitted,S.length),!S.endEmitted&&S.length===0&&(S.endEmitted=!0,N.readable=!1,N.emit("end"),S.autoDestroy)){var B=N._writableState;(!B||B.autoDestroy&&B.finished)&&N.destroy()}}typeof Symbol=="function"&&(P.from=function(S,N){return R===void 0&&(R=uMe()),R(P,S,N)});function _e(S,N){for(var B=0,re=S.length;B<re;B++)if(S[B]===N)return B;return-1}return v3}var y3,Rq;function jq(){if(Rq)return y3;Rq=1,y3=l;var e=Ap().codes,t=e.ERR_METHOD_NOT_IMPLEMENTED,r=e.ERR_MULTIPLE_CALLBACK,n=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,o=e.ERR_TRANSFORM_WITH_LENGTH_0,a=Ep();function i(h,f){var b=this._transformState;b.transforming=!1;var v=b.writecb;if(v===null)return this.emit("error",new r);b.writechunk=null,b.writecb=null,f!=null&&this.push(f),v(h);var y=this._readableState;y.reading=!1,(y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}function l(h){if(!(this instanceof l))return new l(h);a.call(this,h),this._transformState={afterTransform:i.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,h&&(typeof h.transform=="function"&&(this._transform=h.transform),typeof h.flush=="function"&&(this._flush=h.flush)),this.on("prefinish",p)}function p(){var h=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(f,b){u(h,f,b)}):u(this,null,null)}l.prototype.push=function(h,f){return this._transformState.needTransform=!1,a.prototype.push.call(this,h,f)},l.prototype._transform=function(h,f,b){b(new t("_transform()"))},l.prototype._write=function(h,f,b){var v=this._transformState;if(v.writecb=b,v.writechunk=h,v.writeencoding=f,!v.transforming){var y=this._readableState;(v.needTransform||y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}},l.prototype._read=function(h){var f=this._transformState;f.writechunk!==null&&!f.transforming?(f.transforming=!0,this._transform(f.writechunk,f.writeencoding,f.afterTransform)):f.needTransform=!0},l.prototype._destroy=function(h,f){a.prototype._destroy.call(this,h,function(b){f(b)})};function u(h,f,b){if(f)return h.emit("error",f);if(b!=null&&h.push(b),h._writableState.length)throw new o;if(h._transformState.transforming)throw new n;return h.push(null)}return y3}var x3,Lq;function dMe(){if(Lq)return x3;Lq=1,x3=t;var e=jq();function t(r){if(!(this instanceof t))return new t(r);e.call(this,r)}return t.prototype._transform=function(r,n,o){o(null,r)},x3}var w3,Nq;function hMe(){if(Nq)return w3;Nq=1;var e;function t(b){var v=!1;return function(){v||(v=!0,b.apply(void 0,arguments))}}var r=Ap().codes,n=r.ERR_MISSING_ARGS,o=r.ERR_STREAM_DESTROYED;function a(b){if(b)throw b}function i(b){return b.setHeader&&typeof b.abort=="function"}function l(b,v,y,x){x=t(x);var k=!1;b.on("close",function(){k=!0}),e===void 0&&(e=g3()),e(b,{readable:v,writable:y},function(_){if(_)return x(_);k=!0,x()});var w=!1;return function(_){if(!k&&!w){if(w=!0,i(b))return b.abort();if(typeof b.destroy=="function")return b.destroy();x(_||new o("pipe"))}}}function p(b){b()}function u(b,v){return b.pipe(v)}function h(b){return!b.length||typeof b[b.length-1]!="function"?a:b.pop()}function f(){for(var b=arguments.length,v=new Array(b),y=0;y<b;y++)v[y]=arguments[y];var x=h(v);if(Array.isArray(v[0])&&(v=v[0]),v.length<2)throw new n("streams");var k,w=v.map(function(_,A){var R=A<v.length-1,E=A>0;return l(_,R,E,function(L){k||(k=L),L&&w.forEach(p),!R&&(w.forEach(p),x(k))})});return v.reduce(u)}return w3=f,w3}var Iq;function Pq(){return Iq||(Iq=1,(function(e,t){t=e.exports=Oq(),t.Stream=t,t.Readable=t,t.Writable=yq(),t.Duplex=Ep(),t.Transform=jq(),t.PassThrough=dMe(),t.finished=g3(),t.pipeline=hMe()})(o3,o3.exports)),o3.exports}var Mq;function Dq(){if(Mq)return j1;Mq=1;var e=tq(),t=p2(),r=Pq(),n=j1.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},o=j1.IncomingMessage=function(a,i,l,p){var u=this;if(r.Readable.call(u),u._mode=l,u.headers={},u.rawHeaders=[],u.trailers={},u.rawTrailers=[],u.on("end",function(){process.nextTick(function(){u.emit("close")})}),l==="fetch"){let x=function(){f.read().then(function(k){if(!u._destroyed){if(p(k.done),k.done){u.push(null);return}u.push(Buffer.from(k.value)),x()}}).catch(function(k){p(!0),u._destroyed||u.emit("error",k)})};if(u._fetchResponse=i,u.url=i.url,u.statusCode=i.status,u.statusMessage=i.statusText,i.headers.forEach(function(k,w){u.headers[w.toLowerCase()]=k,u.rawHeaders.push(w,k)}),e.writableStream){var h=new WritableStream({write:function(k){return p(!1),new Promise(function(w,_){u._destroyed?_():u.push(Buffer.from(k))?w():u._resumeFetch=w})},close:function(){p(!0),u._destroyed||u.push(null)},abort:function(k){p(!0),u._destroyed||u.emit("error",k)}});try{i.body.pipeTo(h).catch(function(k){p(!0),u._destroyed||u.emit("error",k)});return}catch{}}var f=i.body.getReader();x()}else{u._xhr=a,u._pos=0,u.url=a.responseURL,u.statusCode=a.status,u.statusMessage=a.statusText;var b=a.getAllResponseHeaders().split(/\r?\n/);if(b.forEach(function(x){var k=x.match(/^([^:]+):\s*(.*)/);if(k){var w=k[1].toLowerCase();w==="set-cookie"?(u.headers[w]===void 0&&(u.headers[w]=[]),u.headers[w].push(k[2])):u.headers[w]!==void 0?u.headers[w]+=", "+k[2]:u.headers[w]=k[2],u.rawHeaders.push(k[1],k[2])}}),u._charset="x-user-defined",!e.overrideMimeType){var v=u.rawHeaders["mime-type"];if(v){var y=v.match(/;\s*charset=([^;])(;|$)/);y&&(u._charset=y[1].toLowerCase())}u._charset||(u._charset="utf-8")}}};return t(o,r.Readable),o.prototype._read=function(){var a=this,i=a._resumeFetch;i&&(a._resumeFetch=null,i())},o.prototype._onXHRProgress=function(a){var i=this,l=i._xhr,p=null;switch(i._mode){case"text":if(p=l.responseText,p.length>i._pos){var u=p.substr(i._pos);if(i._charset==="x-user-defined"){for(var h=Buffer.alloc(u.length),f=0;f<u.length;f++)h[f]=u.charCodeAt(f)&255;i.push(h)}else i.push(u,i._charset);i._pos=p.length}break;case"arraybuffer":if(l.readyState!==n.DONE||!l.response)break;p=l.response,i.push(Buffer.from(new Uint8Array(p)));break;case"moz-chunked-arraybuffer":if(p=l.response,l.readyState!==n.LOADING||!p)break;i.push(Buffer.from(new Uint8Array(p)));break;case"ms-stream":if(p=l.response,l.readyState!==n.LOADING)break;var b=new globalThis.MSStreamReader;b.onprogress=function(){b.result.byteLength>i._pos&&(i.push(Buffer.from(new Uint8Array(b.result.slice(i._pos)))),i._pos=b.result.byteLength)},b.onload=function(){a(!0),i.push(null)},b.readAsArrayBuffer(p);break}i._xhr.readyState===n.DONE&&i._mode!=="ms-stream"&&(a(!0),i.push(null))},j1}var $q;function fMe(){if($q)return n3.exports;$q=1;var e=tq(),t=p2(),r=Dq(),n=Pq(),o=r.IncomingMessage,a=r.readyStates;function i(h,f){return e.fetch&&f?"fetch":e.mozchunkedarraybuffer?"moz-chunked-arraybuffer":e.msstream?"ms-stream":e.arraybuffer&&h?"arraybuffer":"text"}var l=n3.exports=function(h){var f=this;n.Writable.call(f),f._opts=h,f._body=[],f._headers={},h.auth&&f.setHeader("Authorization","Basic "+Buffer.from(h.auth).toString("base64")),Object.keys(h.headers).forEach(function(y){f.setHeader(y,h.headers[y])});var b,v=!0;if(h.mode==="disable-fetch"||"requestTimeout"in h&&!e.abortController)v=!1,b=!0;else if(h.mode==="prefer-streaming")b=!1;else if(h.mode==="allow-wrong-content-type")b=!e.overrideMimeType;else if(!h.mode||h.mode==="default"||h.mode==="prefer-fast")b=!0;else throw new Error("Invalid value for opts.mode");f._mode=i(b,v),f._fetchTimer=null,f._socketTimeout=null,f._socketTimer=null,f.on("finish",function(){f._onFinish()})};t(l,n.Writable),l.prototype.setHeader=function(h,f){var b=this,v=h.toLowerCase();u.indexOf(v)===-1&&(b._headers[v]={name:h,value:f})},l.prototype.getHeader=function(h){var f=this._headers[h.toLowerCase()];return f?f.value:null},l.prototype.removeHeader=function(h){var f=this;delete f._headers[h.toLowerCase()]},l.prototype._onFinish=function(){var h=this;if(!h._destroyed){var f=h._opts;"timeout"in f&&f.timeout!==0&&h.setTimeout(f.timeout);var b=h._headers,v=null;f.method!=="GET"&&f.method!=="HEAD"&&(v=new Blob(h._body,{type:(b["content-type"]||{}).value||""}));var y=[];if(Object.keys(b).forEach(function(_){var A=b[_].name,R=b[_].value;Array.isArray(R)?R.forEach(function(E){y.push([A,E])}):y.push([A,R])}),h._mode==="fetch"){var x=null;if(e.abortController){var k=new AbortController;x=k.signal,h._fetchAbortController=k,"requestTimeout"in f&&f.requestTimeout!==0&&(h._fetchTimer=globalThis.setTimeout(function(){h.emit("requestTimeout"),h._fetchAbortController&&h._fetchAbortController.abort()},f.requestTimeout))}globalThis.fetch(h._opts.url,{method:h._opts.method,headers:y,body:v||void 0,mode:"cors",credentials:f.withCredentials?"include":"same-origin",signal:x}).then(function(_){h._fetchResponse=_,h._resetTimers(!1),h._connect()},function(_){h._resetTimers(!0),h._destroyed||h.emit("error",_)})}else{var w=h._xhr=new globalThis.XMLHttpRequest;try{w.open(h._opts.method,h._opts.url,!0)}catch(_){process.nextTick(function(){h.emit("error",_)});return}"responseType"in w&&(w.responseType=h._mode),"withCredentials"in w&&(w.withCredentials=!!f.withCredentials),h._mode==="text"&&"overrideMimeType"in w&&w.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in f&&(w.timeout=f.requestTimeout,w.ontimeout=function(){h.emit("requestTimeout")}),y.forEach(function(_){w.setRequestHeader(_[0],_[1])}),h._response=null,w.onreadystatechange=function(){switch(w.readyState){case a.LOADING:case a.DONE:h._onXHRProgress();break}},h._mode==="moz-chunked-arraybuffer"&&(w.onprogress=function(){h._onXHRProgress()}),w.onerror=function(){h._destroyed||(h._resetTimers(!0),h.emit("error",new Error("XHR error")))};try{w.send(v)}catch(_){process.nextTick(function(){h.emit("error",_)});return}}}};function p(h){try{var f=h.status;return f!==null&&f!==0}catch{return!1}}l.prototype._onXHRProgress=function(){var h=this;h._resetTimers(!1),!(!p(h._xhr)||h._destroyed)&&(h._response||h._connect(),h._response._onXHRProgress(h._resetTimers.bind(h)))},l.prototype._connect=function(){var h=this;h._destroyed||(h._response=new o(h._xhr,h._fetchResponse,h._mode,h._resetTimers.bind(h)),h._response.on("error",function(f){h.emit("error",f)}),h.emit("response",h._response))},l.prototype._write=function(h,f,b){var v=this;v._body.push(h),b()},l.prototype._resetTimers=function(h){var f=this;globalThis.clearTimeout(f._socketTimer),f._socketTimer=null,h?(globalThis.clearTimeout(f._fetchTimer),f._fetchTimer=null):f._socketTimeout&&(f._socketTimer=globalThis.setTimeout(function(){f.emit("timeout")},f._socketTimeout))},l.prototype.abort=l.prototype.destroy=function(h){var f=this;f._destroyed=!0,f._resetTimers(!0),f._response&&(f._response._destroyed=!0),f._xhr?f._xhr.abort():f._fetchAbortController&&f._fetchAbortController.abort(),h&&f.emit("error",h)},l.prototype.end=function(h,f,b){var v=this;typeof h=="function"&&(b=h,h=void 0),n.Writable.prototype.end.call(v,h,f,b)},l.prototype.setTimeout=function(h,f){var b=this;f&&b.once("timeout",f),b._socketTimeout=h,b._resetTimers(!1)},l.prototype.flushHeaders=function(){},l.prototype.setNoDelay=function(){},l.prototype.setSocketKeepAlive=function(){};var u=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"];return n3.exports}var S3,zq;function mMe(){if(zq)return S3;zq=1,S3=t;var e=Object.prototype.hasOwnProperty;function t(){for(var r={},n=0;n<arguments.length;n++){var o=arguments[n];for(var a in o)e.call(o,a)&&(r[a]=o[a])}return r}return S3}var Uq,Fq;function gMe(){return Fq||(Fq=1,Uq={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}),Uq}var Bq;function bMe(){return Bq||(Bq=1,(function(e){var t=fMe(),r=Dq(),n=mMe(),o=gMe(),a=jS(),i=e;i.request=function(l,p){typeof l=="string"?l=a.parse(l):l=n(l);var u=globalThis.location.protocol.search(/^https?:$/)===-1?"http:":"",h=l.protocol||u,f=l.hostname||l.host,b=l.port,v=l.path||"/";f&&f.indexOf(":")!==-1&&(f="["+f+"]"),l.url=(f?h+"//"+f:"")+(b?":"+b:"")+v,l.method=(l.method||"GET").toUpperCase(),l.headers=l.headers||{};var y=new t(l);return p&&y.on("response",p),y},i.get=function(l,p){var u=i.request(l,p);return u.end(),u},i.ClientRequest=t,i.IncomingMessage=r.IncomingMessage,i.Agent=function(){},i.Agent.defaultMaxSockets=4,i.globalAgent=new i.Agent,i.STATUS_CODES=o,i.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]})(ZB)),ZB}var qq,Hq;function vMe(){return Hq||(Hq=1,qq={statusCodes:Object.assign({},{default:"Default response","1XX":"Informational",103:"Early hints","2XX":"Successful","3XX":"Redirection","4XX":"Client Error","5XX":"Server Error","7XX":"Developer Error"},bMe().STATUS_CODES)}),qq}const yMe="7.0.8",xMe={version:yMe};var C3,Vq;function wMe(){if(Vq)return C3;Vq=1;const e=d1,t=jS(),r=YIe(),n=d1,o=FB(),a=O1(),i=a.jptr,l=YS().isRef,p=R1().clone,u=R1().circularClone,h=QS().recurse,f=rMe(),b=nMe(),v=KB(),y=vMe().statusCodes,x=xMe.version,k="3.0.0";let w;class _ extends Error{constructor(N){super(N),this.name="S2OError"}}function A(S,N){let B=new _(S);if(B.options=N,N.promise)N.promise.reject(B);else throw B}function R(S,N,B){B.warnOnly?N[B.warnProperty||"x-s2o-warning"]=S:A(S,B)}function E(S,N,B){if(S.nullable&&B.patches++,S.discriminator&&typeof S.discriminator=="string"&&(S.discriminator={propertyName:S.discriminator}),S.items&&Array.isArray(S.items)&&(S.items.length===0?S.items={}:S.items.length===1?S.items=S.items[0]:S.items={anyOf:S.items}),S.type&&Array.isArray(S.type))if(B.patch){if(B.patches++,S.type.length===0)delete S.type;else{S.oneOf||(S.oneOf=[]);for(let re of S.type){let ye={};if(re==="null")S.nullable=!0;else{ye.type=re;for(let ue of v.arrayProperties)typeof S.prop<"u"&&(ye[ue]=S[ue],delete S[ue])}ye.type&&S.oneOf.push(ye)}delete S.type,S.oneOf.length===0?delete S.oneOf:S.oneOf.length<2&&(S.type=S.oneOf[0].type,Object.keys(S.oneOf[0]).length>1&&R("Lost properties from oneOf",S,B),delete S.oneOf)}S.type&&Array.isArray(S.type)&&S.type.length===1&&(S.type=S.type[0])}else A("(Patchable) schema type must not be an array",B);S.type&&S.type==="null"&&(delete S.type,S.nullable=!0),S.type==="array"&&!S.items&&(S.items={}),S.type==="file"&&(S.type="string",S.format="binary"),typeof S.required=="boolean"&&(S.required&&S.name&&(typeof N.required>"u"&&(N.required=[]),Array.isArray(N.required)&&N.required.push(S.name)),delete S.required),S.xml&&typeof S.xml.namespace=="string"&&(S.xml.namespace||delete S.xml.namespace),typeof S.allowEmptyValue<"u"&&(B.patches++,delete S.allowEmptyValue)}function L(S,N){if(S["x-required"]&&Array.isArray(S["x-required"])&&(S.required||(S.required=[]),S.required=S.required.concat(S["x-required"]),delete S["x-required"]),S["x-anyOf"]&&(S.anyOf=S["x-anyOf"],delete S["x-anyOf"]),S["x-oneOf"]&&(S.oneOf=S["x-oneOf"],delete S["x-oneOf"]),S["x-not"]&&(S.not=S["x-not"],delete S["x-not"]),typeof S["x-nullable"]=="boolean"&&(S.nullable=S["x-nullable"],delete S["x-nullable"]),typeof S["x-discriminator"]=="object"&&typeof S["x-discriminator"].propertyName=="string"){S.discriminator=S["x-discriminator"],delete S["x-discriminator"];for(let B in S.discriminator.mapping){let re=S.discriminator.mapping[B];re.startsWith("#/definitions/")&&(S.discriminator.mapping[B]=re.replace("#/definitions/","#/components/schemas/"))}}}function I(S,N){b.walkSchema(S,{},{},function(B,re,ye){L(B),E(B,re,N)})}function O(S){return S.indexOf("#")>=0?S=S.split("#")[1].split("/").pop():S=S.split("/").pop().split(".")[0],encodeURIComponent(v.sanitise(S))}function P(S,N,B){let re=B.payload.options;if(l(S,N)){if(!S[N].startsWith("#/components/")){if(S[N]==="#/consumes")delete S[N],B.parent[B.pkey]=p(re.openapi.consumes);else if(S[N]==="#/produces")delete S[N],B.parent[B.pkey]=p(re.openapi.produces);else if(S[N].startsWith("#/definitions/")){let ye=S[N].replace("#/definitions/","").split("/");const ue=a.jpunescape(ye[0]);let me=w.schemas[decodeURIComponent(ue)];me?ye[0]=me:R("Could not resolve reference "+S[N],S,re),S[N]="#/components/schemas/"+ye.join("/")}else if(S[N].startsWith("#/parameters/"))S[N]="#/components/parameters/"+v.sanitise(S[N].replace("#/parameters/",""));else if(S[N].startsWith("#/responses/"))S[N]="#/components/responses/"+v.sanitise(S[N].replace("#/responses/",""));else if(S[N].startsWith("#")){let ye=p(a.jptr(re.openapi,S[N]));if(ye===!1)R("direct $ref not found "+S[N],S,re);else if(re.refmap[S[N]])S[N]=re.refmap[S[N]];else{let ue=S[N];ue=ue.replace("/properties/headers/",""),ue=ue.replace("/properties/responses/",""),ue=ue.replace("/properties/parameters/",""),ue=ue.replace("/properties/schemas/","");let me="schemas",je=ue.lastIndexOf("/schema");if(me=ue.indexOf("/headers/")>je?"headers":ue.indexOf("/responses/")>je?"responses":ue.indexOf("/example")>je?"examples":ue.indexOf("/x-")>je?"extensions":ue.indexOf("/parameters/")>je?"parameters":"schemas",me==="schemas"&&I(ye,re),me!=="responses"&&me!=="extensions"){let he=me.substr(0,me.length-1);he==="parameter"&&ye.name&&ye.name===v.sanitise(ye.name)&&(he=encodeURIComponent(ye.name));let Ye=1;for(S["x-miro"]&&(he=O(S["x-miro"]),Ye="");a.jptr(re.openapi,"#/components/"+me+"/"+he+Ye);)Ye=Ye===""?2:++Ye;let Ke="#/components/"+me+"/"+he+Ye,Ge="";me==="examples"&&(ye={value:ye},Ge="/value"),a.jptr(re.openapi,Ke,ye),re.refmap[S[N]]=Ke+Ge,S[N]=Ke+Ge}}}}if(delete S["x-miro"],Object.keys(S).length>1){const ye=S[N],ue=B.path.indexOf("/schema")>=0;re.refSiblings==="preserve"||(ue&&re.refSiblings==="allOf"?(delete S.$ref,B.parent[B.pkey]={allOf:[{$ref:ye},S]}):B.parent[B.pkey]={$ref:ye})}}if(N==="x-ms-odata"&&typeof S[N]=="string"&&S[N].startsWith("#/")){let ye=S[N].replace("#/definitions/","").replace("#/components/schemas/","").split("/"),ue=w.schemas[decodeURIComponent(ye[0])];ue?ye[0]=ue:R("Could not resolve reference "+S[N],S,re),S[N]="#/components/schemas/"+ye.join("/")}}function U(S,N){for(let B in N.refmap)a.jptr(S,B,{$ref:N.refmap[B]})}function Y(S){for(let N in S)for(let B in S[N]){let re=v.sanitise(B);B!==re&&(S[N][re]=S[N][B],delete S[N][B])}}function q(S,N){if(S.type==="basic"&&(S.type="http",S.scheme="basic"),S.type==="oauth2"){let B={},re=S.flow;S.flow==="application"&&(re="clientCredentials"),S.flow==="accessCode"&&(re="authorizationCode"),typeof S.authorizationUrl<"u"&&(B.authorizationUrl=S.authorizationUrl.split("?")[0].trim()||"/"),typeof S.tokenUrl=="string"&&(B.tokenUrl=S.tokenUrl.split("?")[0].trim()||"/"),B.scopes=S.scopes||{},S.flows={},S.flows[re]=B,delete S.flow,delete S.authorizationUrl,delete S.tokenUrl,delete S.scopes,typeof S.name<"u"&&(N.patch?(N.patches++,delete S.name):A("(Patchable) oauth2 securitySchemes should not have name property",N))}}function Q(S){return S&&!S["x-s2o-delete"]}function ne(S,N){if(S.$ref)S.$ref=S.$ref.replace("#/responses/","#/components/responses/");else{S.type&&!S.schema&&(S.schema={}),S.type&&(S.schema.type=S.type),S.items&&S.items.type!=="array"&&(S.items.collectionFormat!==S.collectionFormat&&R("Nested collectionFormats are not supported",S,N),delete S.items.collectionFormat),S.type==="array"?(S.collectionFormat==="ssv"?R("collectionFormat:ssv is no longer supported for headers",S,N):S.collectionFormat==="pipes"?R("collectionFormat:pipes is no longer supported for headers",S,N):S.collectionFormat==="multi"?S.explode=!0:S.collectionFormat==="tsv"?(R("collectionFormat:tsv is no longer supported",S,N),S["x-collectionFormat"]="tsv"):S.style="simple",delete S.collectionFormat):S.collectionFormat&&(N.patch?(N.patches++,delete S.collectionFormat):A("(Patchable) collectionFormat is only applicable to header.type array",N)),delete S.type;for(let B of v.parameterTypeProperties)typeof S[B]<"u"&&(S.schema[B]=S[B],delete S[B]);for(let B of v.arrayProperties)typeof S[B]<"u"&&(S.schema[B]=S[B],delete S[B])}}function le(S,N){if(S.$ref.indexOf("#/parameters/")>=0){let B=S.$ref.split("#/parameters/");S.$ref=B[0]+"#/components/parameters/"+v.sanitise(B[1])}S.$ref.indexOf("#/definitions/")>=0&&R("Definition used as parameter",S,N)}function G(S,N){let B={};for(let re of Object.keys(S))B[re]=S[re],re==="parameters"&&(B.requestBody={},N.rbname&&(B[N.rbname]=""));return B.requestBody={},B}function ce(S,N,B,re,ye,ue,me){let je={},he=!0,Ye;if(N&&N.consumes&&typeof N.consumes=="string")if(me.patch)me.patches++,N.consumes=[N.consumes];else return A("(Patchable) operation.consumes must be an array",me);Array.isArray(ue.consumes)||delete ue.consumes;let Ke=((N?N.consumes:null)||ue.consumes||[]).filter(v.uniqueOnly);if(S&&S.$ref&&typeof S.$ref=="string"){le(S,me);let Ge=decodeURIComponent(S.$ref.replace("#/components/parameters/","")),Je=!1,He=ue.components.parameters[Ge];if((!He||He["x-s2o-delete"])&&S.$ref.startsWith("#/")&&(S["x-s2o-delete"]=!0,Je=!0),Je){let ot=S.$ref,ur=i(ue,S.$ref);!ur&&ot.startsWith("#/")?R("Could not resolve reference "+ot,S,me):ur&&(S=ur)}}if(S&&(S.name||S.in)){typeof S["x-deprecated"]=="boolean"&&(S.deprecated=S["x-deprecated"],delete S["x-deprecated"]),typeof S["x-example"]<"u"&&(S.example=S["x-example"],delete S["x-example"]),S.in!=="body"&&!S.type&&(me.patch?(me.patches++,S.type="string"):A("(Patchable) parameter.type is mandatory for non-body parameters",me)),S.type&&typeof S.type=="object"&&S.type.$ref&&(S.type=i(ue,S.type.$ref)),S.type==="file"&&(S["x-s2o-originalType"]=S.type,Ye=S.type),S.description&&typeof S.description=="object"&&S.description.$ref&&(S.description=i(ue,S.description.$ref)),S.description===null&&delete S.description;let Ge=S.collectionFormat;if(S.type==="array"&&!Ge&&(Ge="csv"),Ge&&(S.type!=="array"&&(me.patch?(me.patches++,delete S.collectionFormat):A("(Patchable) collectionFormat is only applicable to param.type array",me)),Ge==="csv"&&(S.in==="query"||S.in==="cookie")&&(S.style="form",S.explode=!1),Ge==="csv"&&(S.in==="path"||S.in==="header")&&(S.style="simple"),Ge==="ssv"&&(S.in==="query"?S.style="spaceDelimited":R("collectionFormat:ssv is no longer supported except for in:query parameters",S,me)),Ge==="pipes"&&(S.in==="query"?S.style="pipeDelimited":R("collectionFormat:pipes is no longer supported except for in:query parameters",S,me)),Ge==="multi"&&(S.explode=!0),Ge==="tsv"&&(R("collectionFormat:tsv is no longer supported",S,me),S["x-collectionFormat"]="tsv"),delete S.collectionFormat),S.type&&S.type!=="body"&&S.in!=="formData")if(S.items&&S.schema)R("parameter has array,items and schema",S,me);else{S.schema&&me.patches++,(!S.schema||typeof S.schema!="object")&&(S.schema={}),S.schema.type=S.type,S.items&&(S.schema.items=S.items,delete S.items,h(S.schema.items,null,function(Je,He,ot){He==="collectionFormat"&&typeof Je[He]=="string"&&(Ge&&Je[He]!==Ge&&R("Nested collectionFormats are not supported",S,me),delete Je[He])}));for(let Je of v.parameterTypeProperties)typeof S[Je]<"u"&&(S.schema[Je]=S[Je]),delete S[Je]}S.schema&&I(S.schema,me),S["x-ms-skip-url-encoding"]&&S.in==="query"&&(S.allowReserved=!0,delete S["x-ms-skip-url-encoding"])}if(S&&S.in==="formData"){he=!1,je.content={};let Ge="application/x-www-form-urlencoded";if(Ke.length&&Ke.indexOf("multipart/form-data")>=0&&(Ge="multipart/form-data"),je.content[Ge]={},S.schema)je.content[Ge].schema=S.schema,S.schema.$ref&&(je["x-s2o-name"]=decodeURIComponent(S.schema.$ref.replace("#/components/schemas/","")));else{je.content[Ge].schema={},je.content[Ge].schema.type="object",je.content[Ge].schema.properties={},je.content[Ge].schema.properties[S.name]={};let Je=je.content[Ge].schema,He=je.content[Ge].schema.properties[S.name];S.description&&(He.description=S.description),S.example&&(He.example=S.example),S.type&&(He.type=S.type);for(let ot of v.parameterTypeProperties)typeof S[ot]<"u"&&(He[ot]=S[ot]);S.required===!0&&(Je.required||(Je.required=[]),Je.required.push(S.name),je.required=!0),typeof S.default<"u"&&(He.default=S.default),He.properties&&(He.properties=S.properties),S.allOf&&(He.allOf=S.allOf),S.type==="array"&&S.items&&(He.items=S.items,He.items.collectionFormat&&delete He.items.collectionFormat),(Ye==="file"||S["x-s2o-originalType"]==="file")&&(He.type="string",He.format="binary"),ee(S,He)}}else S&&S.type==="file"&&(S.required&&(je.required=S.required),je.content={},je.content["application/octet-stream"]={},je.content["application/octet-stream"].schema={},je.content["application/octet-stream"].schema.type="string",je.content["application/octet-stream"].schema.format="binary",ee(S,je));if(S&&S.in==="body"){je.content={},S.name&&(je["x-s2o-name"]=(N&&N.operationId?v.sanitiseAll(N.operationId):"")+("_"+S.name).toCamelCase()),S.description&&(je.description=S.description),S.required&&(je.required=S.required),N&&me.rbname&&S.name&&(N[me.rbname]=S.name),S.schema&&S.schema.$ref?je["x-s2o-name"]=decodeURIComponent(S.schema.$ref.replace("#/components/schemas/","")):S.schema&&S.schema.type==="array"&&S.schema.items&&S.schema.items.$ref&&(je["x-s2o-name"]=decodeURIComponent(S.schema.items.$ref.replace("#/components/schemas/",""))+"Array"),Ke.length||Ke.push("application/json");for(let Ge of Ke)je.content[Ge]={},je.content[Ge].schema=p(S.schema||{}),I(je.content[Ge].schema,me);ee(S,je)}if(Object.keys(je).length>0&&(S["x-s2o-delete"]=!0,N))if(N.requestBody&&he){N.requestBody["x-s2o-overloaded"]=!0;let Ge=N.operationId||ye;R("Operation "+Ge+" has multiple requestBodies",N,me)}else N.requestBody||(N=B[re]=G(N,me)),N.requestBody.content&&N.requestBody.content["multipart/form-data"]&&N.requestBody.content["multipart/form-data"].schema&&N.requestBody.content["multipart/form-data"].schema.properties&&je.content["multipart/form-data"]&&je.content["multipart/form-data"].schema&&je.content["multipart/form-data"].schema.properties?(N.requestBody.content["multipart/form-data"].schema.properties=Object.assign(N.requestBody.content["multipart/form-data"].schema.properties,je.content["multipart/form-data"].schema.properties),N.requestBody.content["multipart/form-data"].schema.required=(N.requestBody.content["multipart/form-data"].schema.required||[]).concat(je.content["multipart/form-data"].schema.required||[]),N.requestBody.content["multipart/form-data"].schema.required.length||delete N.requestBody.content["multipart/form-data"].schema.required):N.requestBody.content&&N.requestBody.content["application/x-www-form-urlencoded"]&&N.requestBody.content["application/x-www-form-urlencoded"].schema&&N.requestBody.content["application/x-www-form-urlencoded"].schema.properties&&je.content["application/x-www-form-urlencoded"]&&je.content["application/x-www-form-urlencoded"].schema&&je.content["application/x-www-form-urlencoded"].schema.properties?(N.requestBody.content["application/x-www-form-urlencoded"].schema.properties=Object.assign(N.requestBody.content["application/x-www-form-urlencoded"].schema.properties,je.content["application/x-www-form-urlencoded"].schema.properties),N.requestBody.content["application/x-www-form-urlencoded"].schema.required=(N.requestBody.content["application/x-www-form-urlencoded"].schema.required||[]).concat(je.content["application/x-www-form-urlencoded"].schema.required||[]),N.requestBody.content["application/x-www-form-urlencoded"].schema.required.length||delete N.requestBody.content["application/x-www-form-urlencoded"].schema.required):(N.requestBody=Object.assign(N.requestBody,je),N.requestBody["x-s2o-name"]||(N.requestBody.schema&&N.requestBody.schema.$ref?N.requestBody["x-s2o-name"]=decodeURIComponent(N.requestBody.schema.$ref.replace("#/components/schemas/","")).split("/").join(""):N.operationId&&(N.requestBody["x-s2o-name"]=v.sanitiseAll(N.operationId))));if(S&&!S["x-s2o-delete"]){delete S.type;for(let Ge of v.parameterTypeProperties)delete S[Ge];S.in==="path"&&(typeof S.required>"u"||S.required!==!0)&&(me.patch?(me.patches++,S.required=!0):A("(Patchable) path parameters must be required:true ["+S.name+" in "+ye+"]",me))}return N}function ee(S,N){for(let B in S)B.startsWith("x-")&&!B.startsWith("x-s2o")&&(N[B]=S[B])}function fe(S,N,B,re,ye){if(!S)return!1;if(S.$ref&&typeof S.$ref=="string")S.$ref.indexOf("#/definitions/")>=0?R("definition used as response: "+S.$ref,S,ye):S.$ref.startsWith("#/responses/")&&(S.$ref="#/components/responses/"+v.sanitise(decodeURIComponent(S.$ref.replace("#/responses/",""))));else{if((typeof S.description>"u"||S.description===null||S.description===""&&ye.patch)&&(ye.patch?typeof S=="object"&&!Array.isArray(S)&&(ye.patches++,S.description=y[S]||""):A("(Patchable) response.description is mandatory",ye)),typeof S.schema<"u"){if(I(S.schema,ye),S.schema.$ref&&typeof S.schema.$ref=="string"&&S.schema.$ref.startsWith("#/responses/")&&(S.schema.$ref="#/components/responses/"+v.sanitise(decodeURIComponent(S.schema.$ref.replace("#/responses/","")))),B&&B.produces&&typeof B.produces=="string")if(ye.patch)ye.patches++,B.produces=[B.produces];else return A("(Patchable) operation.produces must be an array",ye);re.produces&&!Array.isArray(re.produces)&&delete re.produces;let ue=((B?B.produces:null)||re.produces||[]).filter(v.uniqueOnly);ue.length||ue.push("*/*"),S.content={};for(let me of ue){if(S.content[me]={},S.content[me].schema=p(S.schema),S.examples&&S.examples[me]){let je={};je.value=S.examples[me],S.content[me].examples={},S.content[me].examples.response=je,delete S.examples[me]}S.content[me].schema.type==="file"&&(S.content[me].schema={type:"string",format:"binary"})}delete S.schema}for(let ue in S.examples)S.content||(S.content={}),S.content[ue]||(S.content[ue]={}),S.content[ue].examples={},S.content[ue].examples.response={},S.content[ue].examples.response.value=S.examples[ue];if(delete S.examples,S.headers)for(let ue in S.headers)ue.toLowerCase()==="status code"?ye.patch?(ye.patches++,delete S.headers[ue]):A('(Patchable) "Status Code" is not a valid header',ye):ne(S.headers[ue],ye)}}function oe(S,N,B,re,ye){for(let ue in S){let me=S[ue];me&&me["x-trace"]&&typeof me["x-trace"]=="object"&&(me.trace=me["x-trace"],delete me["x-trace"]),me&&me["x-summary"]&&typeof me["x-summary"]=="string"&&(me.summary=me["x-summary"],delete me["x-summary"]),me&&me["x-description"]&&typeof me["x-description"]=="string"&&(me.description=me["x-description"],delete me["x-description"]),me&&me["x-servers"]&&Array.isArray(me["x-servers"])&&(me.servers=me["x-servers"],delete me["x-servers"]);for(let je in me)if(v.httpMethods.indexOf(je)>=0||je==="x-amazon-apigateway-any-method"){let he=me[je];if(he&&he.parameters&&Array.isArray(he.parameters)){if(me.parameters)for(let Ye of me.parameters)typeof Ye.$ref=="string"&&(le(Ye,B),Ye=i(ye,Ye.$ref)),!he.parameters.find(function(Ke,Ge,Je){return Ke.name===Ye.name&&Ke.in===Ye.in})&&(Ye.in==="formData"||Ye.in==="body"||Ye.type==="file")&&(he=ce(Ye,he,me,je,ue,ye,B),B.rbname&&he[B.rbname]===""&&delete he[B.rbname]);for(let Ye of he.parameters)he=ce(Ye,he,me,je,je+":"+ue,ye,B);B.rbname&&he[B.rbname]===""&&delete he[B.rbname],B.debug||he.parameters&&(he.parameters=he.parameters.filter(Q))}if(he&&he.security&&Y(he.security),typeof he=="object"){if(!he.responses){let Ye={};Ye.description="Default response",he.responses={default:Ye}}for(let Ye in he.responses){let Ke=he.responses[Ye];fe(Ke,Ye,he,ye,B)}}if(he&&he["x-servers"]&&Array.isArray(he["x-servers"]))he.servers=he["x-servers"],delete he["x-servers"];else if(he&&he.schemes&&he.schemes.length){for(let Ye of he.schemes)if((!ye.schemes||ye.schemes.indexOf(Ye)<0)&&(he.servers||(he.servers=[]),Array.isArray(ye.servers)))for(let Ke of ye.servers){let Ge=p(Ke),Je=t.parse(Ge.url);Je.protocol=Ye,Ge.url=Je.format(),he.servers.push(Ge)}}if(B.debug&&(he["x-s2o-consumes"]=he.consumes||[],he["x-s2o-produces"]=he.produces||[]),he){if(delete he.consumes,delete he.produces,delete he.schemes,he["x-ms-examples"]){for(let Ye in he["x-ms-examples"]){let Ke=he["x-ms-examples"][Ye],Ge=v.sanitiseAll(Ye);if(Ke.parameters)for(let Je in Ke.parameters){let He=Ke.parameters[Je];for(let ot of(he.parameters||[]).concat(me.parameters||[]))ot.$ref&&(ot=a.jptr(ye,ot.$ref)),ot.name===Je&&!ot.example&&(ot.examples||(ot.examples={}),ot.examples[Ye]={value:He})}if(Ke.responses)for(let Je in Ke.responses){if(Ke.responses[Je].headers)for(let He in Ke.responses[Je].headers){let ot=Ke.responses[Je].headers[He];for(let ur in he.responses[Je].headers)if(ur===He){let j=he.responses[Je].headers[ur];j.example=ot}}if(Ke.responses[Je].body&&(ye.components.examples[Ge]={value:p(Ke.responses[Je].body)},he.responses[Je]&&he.responses[Je].content))for(let He in he.responses[Je].content){let ot=he.responses[Je].content[He];ot.examples||(ot.examples={}),ot.examples[Ye]={$ref:"#/components/examples/"+Ge}}}}delete he["x-ms-examples"]}if(he.parameters&&he.parameters.length===0&&delete he.parameters,he.requestBody){let Ye=he.operationId?v.sanitiseAll(he.operationId):v.sanitiseAll(je+ue).toCamelCase(),Ke=v.sanitise(he.requestBody["x-s2o-name"]||Ye||"");delete he.requestBody["x-s2o-name"];let Ge=JSON.stringify(he.requestBody),Je=v.hash(Ge);if(!re[Je]){let ot={};ot.name=Ke,ot.body=he.requestBody,ot.refs=[],re[Je]=ot}let He="#/"+N+"/"+encodeURIComponent(a.jpescape(ue))+"/"+je+"/requestBody";re[Je].refs.push(He)}}}if(me&&me.parameters){for(let je in me.parameters){let he=me.parameters[je];ce(he,null,me,null,ue,ye,B)}!B.debug&&Array.isArray(me.parameters)&&(me.parameters=me.parameters.filter(Q))}}}function F(S,N){let B={};w={schemas:{}},S.security&&Y(S.security);for(let ye in S.components.securitySchemes){let ue=v.sanitise(ye);ye!==ue&&(S.components.securitySchemes[ue]&&A("Duplicate sanitised securityScheme name "+ue,N),S.components.securitySchemes[ue]=S.components.securitySchemes[ye],delete S.components.securitySchemes[ye]),q(S.components.securitySchemes[ue],N)}for(let ye in S.components.schemas){let ue=v.sanitiseAll(ye),me="";if(ye!==ue){for(;S.components.schemas[ue+me];)me=me?++me:2;S.components.schemas[ue+me]=S.components.schemas[ye],delete S.components.schemas[ye]}w.schemas[ye]=ue+me,I(S.components.schemas[ue+me],N)}N.refmap={},h(S,{payload:{options:N}},P),U(S,N);for(let ye in S.components.parameters){let ue=v.sanitise(ye);ye!==ue&&(S.components.parameters[ue]&&A("Duplicate sanitised parameter name "+ue,N),S.components.parameters[ue]=S.components.parameters[ye],delete S.components.parameters[ye]);let me=S.components.parameters[ue];ce(me,null,null,null,ue,S,N)}for(let ye in S.components.responses){let ue=v.sanitise(ye);ye!==ue&&(S.components.responses[ue]&&A("Duplicate sanitised response name "+ue,N),S.components.responses[ue]=S.components.responses[ye],delete S.components.responses[ye]);let me=S.components.responses[ue];if(fe(me,ue,null,S,N),me.headers)for(let je in me.headers)je.toLowerCase()==="status code"?N.patch?(N.patches++,delete me.headers[je]):A('(Patchable) "Status Code" is not a valid header',N):ne(me.headers[je],N)}for(let ye in S.components.requestBodies){let ue=S.components.requestBodies[ye],me=JSON.stringify(ue),je=v.hash(me),he={};he.name=ye,he.body=ue,he.refs=[],B[je]=he}if(oe(S.paths,"paths",N,B,S),S["x-ms-paths"]&&oe(S["x-ms-paths"],"x-ms-paths",N,B,S),!N.debug)for(let ye in S.components.parameters)S.components.parameters[ye]["x-s2o-delete"]&&delete S.components.parameters[ye];N.debug&&(S["x-s2o-consumes"]=S.consumes||[],S["x-s2o-produces"]=S.produces||[]),delete S.consumes,delete S.produces,delete S.schemes;let re=[];if(S.components.requestBodies={},!N.resolveInternal){let ye=1;for(let ue in B){let me=B[ue];if(me.refs.length>1){let je="";for(me.name||(me.name="requestBody",je=ye++);re.indexOf(me.name+je)>=0;)je=je?++je:2;me.name=me.name+je,re.push(me.name),S.components.requestBodies[me.name]=p(me.body);for(let he in me.refs){let Ye={};Ye.$ref="#/components/requestBodies/"+me.name,a.jptr(S,me.refs[he],Ye)}}}}return S.components.responses&&Object.keys(S.components.responses).length===0&&delete S.components.responses,S.components.parameters&&Object.keys(S.components.parameters).length===0&&delete S.components.parameters,S.components.examples&&Object.keys(S.components.examples).length===0&&delete S.components.examples,S.components.requestBodies&&Object.keys(S.components.requestBodies).length===0&&delete S.components.requestBodies,S.components.securitySchemes&&Object.keys(S.components.securitySchemes).length===0&&delete S.components.securitySchemes,S.components.headers&&Object.keys(S.components.headers).length===0&&delete S.components.headers,S.components.schemas&&Object.keys(S.components.schemas).length===0&&delete S.components.schemas,S.components&&Object.keys(S.components).length===0&&delete S.components,S}function ie(S){return!S||!S.url||typeof S.url!="string"||(S.url=S.url.split("{{").join("{"),S.url=S.url.split("}}").join("}"),S.url.replace(/\{(.+?)\}/g,function(N,B){S.variables||(S.variables={}),S.variables[B]={default:"unknown"}})),S}function W(S,N,B){if(typeof S.info>"u"||S.info===null)if(N.patch)N.patches++,S.info={version:"",title:""};else return B(new _("(Patchable) info object is mandatory"));if(typeof S.info!="object"||Array.isArray(S.info))return B(new _("info must be an object"));if(typeof S.info.title>"u"||S.info.title===null)if(N.patch)N.patches++,S.info.title="";else return B(new _("(Patchable) info.title cannot be null"));if(typeof S.info.version>"u"||S.info.version===null)if(N.patch)N.patches++,S.info.version="";else return B(new _("(Patchable) info.version cannot be null"));if(typeof S.info.version!="string")if(N.patch)N.patches++,S.info.version=S.info.version.toString();else return B(new _("(Patchable) info.version must be a string"));if(typeof S.info.logo<"u")if(N.patch)N.patches++,S.info["x-logo"]=S.info.logo,delete S.info.logo;else return B(new _("(Patchable) info should not have logo property"));if(typeof S.info.termsOfService<"u"){if(S.info.termsOfService===null)if(N.patch)N.patches++,S.info.termsOfService="";else return B(new _("(Patchable) info.termsOfService cannot be null"));try{new URL(S.info.termsOfService)}catch{if(N.patch)N.patches++,delete S.info.termsOfService;else return B(new _("(Patchable) info.termsOfService must be a URL"))}}}function V(S,N,B){if(typeof S.paths>"u")if(N.patch)N.patches++,S.paths={};else return B(new _("(Patchable) paths object is mandatory"))}function pe(S,N){const B=new WeakSet;h(S,{identityDetection:!0},function(re,ye,ue){typeof re[ye]=="object"&&re[ye]!==null&&(B.has(re[ye])?N.anchors?re[ye]=p(re[ye]):A("YAML anchor or merge key at "+ue.path,N):B.add(re[ye]))})}function K(S,N,B){return r(B,new Promise(function(re,ye){if(S||(S={}),N.original=S,N.text||(N.text=o.stringify(S)),N.externals=[],N.externalRefs={},N.rewriteRefs=!0,N.preserveMiro=!0,N.promise={},N.promise.resolve=re,N.promise.reject=ye,N.patches=0,N.cache||(N.cache={}),N.source&&(N.cache[N.source]=N.original),pe(S,N),S.openapi&&typeof S.openapi=="string"&&S.openapi.startsWith("3.")){N.openapi=u(S),W(N.openapi,N,ye),V(N.openapi,N,ye),f.optionalResolve(N).then(function(){return N.direct?re(N.openapi):re(N)}).catch(function(me){console.warn(me),ye(me)});return}if(!S.swagger||S.swagger!="2.0")return ye(new _("Unsupported swagger/OpenAPI version: "+(S.openapi?S.openapi:S.swagger)));let ue=N.openapi={};if(ue.openapi=typeof N.targetVersion=="string"&&N.targetVersion.startsWith("3.")?N.targetVersion:k,N.origin){ue["x-origin"]||(ue["x-origin"]=[]);let me={};me.url=N.source||N.origin,me.format="swagger",me.version=S.swagger,me.converter={},me.converter.url="https://github.com/mermade/oas-kit",me.converter.version=x,ue["x-origin"].push(me)}if(ue=Object.assign(ue,u(S)),delete ue.swagger,h(ue,{},function(me,je,he){me[je]===null&&!je.startsWith("x-")&&je!=="default"&&he.path.indexOf("/example")<0&&delete me[je]}),S.host)for(let me of Array.isArray(S.schemes)?S.schemes:[""]){let je={},he=(S.basePath||"").replace(/\/$/,"");je.url=(me?me+":":"")+"//"+S.host+he,ie(je),ue.servers||(ue.servers=[]),ue.servers.push(je)}else if(S.basePath){let me={};me.url=S.basePath,ie(me),ue.servers||(ue.servers=[]),ue.servers.push(me)}if(delete ue.host,delete ue.basePath,ue["x-servers"]&&Array.isArray(ue["x-servers"])&&(ue.servers=ue["x-servers"],delete ue["x-servers"]),S["x-ms-parameterized-host"]){let me=S["x-ms-parameterized-host"],je={};je.url=me.hostTemplate+(S.basePath?S.basePath:""),je.variables={};const he=je.url.match(/\{\w+\}/g);for(let Ye in me.parameters){let Ke=me.parameters[Ye];Ke.$ref&&(Ke=p(i(ue,Ke.$ref))),Ye.startsWith("x-")||(delete Ke.required,delete Ke.type,delete Ke.in,typeof Ke.default>"u"&&(Ke.enum?Ke.default=Ke.enum[0]:Ke.default="none"),Ke.name||(Ke.name=he[Ye].replace("{","").replace("}","")),je.variables[Ke.name]=Ke,delete Ke.name)}ue.servers||(ue.servers=[]),me.useSchemePrefix===!1?ue.servers.push(je):S.schemes.forEach(Ye=>{ue.servers.push(Object.assign({},je,{url:Ye+"://"+je.url}))}),delete ue["x-ms-parameterized-host"]}W(ue,N,ye),V(ue,N,ye),typeof ue.consumes=="string"&&(ue.consumes=[ue.consumes]),typeof ue.produces=="string"&&(ue.produces=[ue.produces]),ue.components={},ue["x-callbacks"]&&(ue.components.callbacks=ue["x-callbacks"],delete ue["x-callbacks"]),ue.components.examples={},ue.components.headers={},ue["x-links"]&&(ue.components.links=ue["x-links"],delete ue["x-links"]),ue.components.parameters=ue.parameters||{},ue.components.responses=ue.responses||{},ue.components.requestBodies={},ue.components.securitySchemes=ue.securityDefinitions||{},ue.components.schemas=ue.definitions||{},delete ue.definitions,delete ue.responses,delete ue.parameters,delete ue.securityDefinitions,f.optionalResolve(N).then(function(){F(N.openapi,N),N.direct?re(N.openapi):re(N)}).catch(function(me){console.warn(me),ye(me)})}))}function se(S,N,B){return r(B,new Promise(function(re,ye){let ue=null,me=null;try{ue=JSON.parse(S),N.text=JSON.stringify(ue,null,2)}catch(je){me=je;try{ue=o.parse(S,{schema:"core",prettyErrors:!0}),N.sourceYaml=!0,N.text=S}catch(he){me=he}}ue?K(ue,N).then(je=>re(je)).catch(je=>ye(je)):ye(new _(me?me.message:"Could not parse string"))}))}function X(S,N,B){return r(B,new Promise(function(re,ye){N.origin=!0,N.source||(N.source=S),N.verbose&&console.warn("GET "+S),N.fetch||(N.fetch=n);const ue=Object.assign({},N.fetchOptions,{agent:N.agent});N.fetch(S,ue).then(function(me){if(me.status!==200)throw new _(`Received status code ${me.status}: ${S}`);return me.text()}).then(function(me){se(me,N).then(je=>re(je)).catch(je=>ye(je))}).catch(function(me){ye(me)})}))}function te(S,N,B){return r(B,new Promise(function(re,ye){e.readFile(S,N.encoding||"utf8",function(ue,me){ue?ye(ue):(N.sourceFile=S,se(me,N).then(je=>re(je)).catch(je=>ye(je)))})}))}function _e(S,N,B){return r(B,new Promise(function(re,ye){let ue="";S.on("data",function(me){ue+=me}).on("end",function(){se(ue,N).then(me=>re(me)).catch(me=>ye(me))})}))}return C3={S2OError:_,targetVersion:k,convert:K,convertObj:K,convertUrl:X,convertStr:se,convertFile:te,convertStream:_e},C3}var SMe=wMe();const CMe=Tn(SMe);function kMe(e){return e.paths||(e.paths={}),new Promise((t,r)=>CMe.convertObj(e,{patch:!0,warnOnly:!0,text:"{}",anchors:!0},(n,o)=>{if(n)return r(n);t(o?.openapi)}))}async function _Me(){try{return(await $F())?.resolvedConfig.openapi||{}}catch{return{}}}async function AMe(e){const t=await $F(),r={config:t,base:Ca?window.location.origin:typeof globalThis.process<"u"?globalThis.process.cwd():""};Ca&&(t.resolve.http.customFetch=globalThis.fetch),typeof e=="object"&&e!==null?r.doc=EMe(e):r.ref=e;const{bundle:{parsed:n}}=await zIe(r);return n.swagger!==void 0?kMe(n):n}function EMe(e){return{source:{absoluteRef:""},parsed:e}}async function TMe(e,t,r){let n;if(r?.skipBundle){if(!e)throw new Error('spec must be specified when using "skipBundleAndConvert"');n=e}else n=await AMe(e||t);try{jCe(n)}catch{}return n}const OMe=({options:e,definitionUrl:t,definition:r,activeSampleLanguage:n,children:o})=>{const[a,i]=D.useState(),[l,p]=D.useState(!0),[u,h]=D.useState(null),[f,b]=D.useState(e||{});D.useEffect(()=>{async function y(){p(!0);try{const x=await _Me();b({...e,...x}),h(await TMe(r,t,e))}catch(x){i(x.message)}}y()},[r,t,e]);const v=D.useMemo(()=>{if(u)return{definition:u,options:f,definitionUrl:t,activeSampleLanguage:n}},LCe([u,t,f]));return D.useEffect(()=>{v&&p(!1)},[v]),a||!v?null:l?bo(e?.hideLoading,!1)?null:m.jsx(e8e,{color:"--loading-spinner-color"}):D.isValidElement(o)?D.cloneElement(o,{store:v}):null};function RMe({definition:e,definitionUrl:t,options:r={},activeItemId:n,activeSampleLanguage:o,activeDeepLink:a,router:i}){return m.jsx(OMe,{definition:e,definitionUrl:t,options:r,activeItemId:n,activeSampleLanguage:o,activeDeepLink:a,children:m.jsx(Wz,{withCommonStyles:!0,router:i||"hash"})})}function jMe(e){const t={},r=e.attributes;for(let n=0;n<r.length;n++){const o=r[n];t[o.name]=o.value}return t}function LMe(e){const t=jMe(e),r={};for(const n in t){const o=n.replace(/-(.)/g,(a,i)=>i.toUpperCase());r[o]=t[n]}return r}function NMe(e,t=document.querySelector("redoc")){E4.hydrateRoot(t,m.jsx(Wz,{store:e}),{onRecoverableError:(r,n)=>{r.message.includes("Minified React error #418")||console.error(r.message,n)}})}function Gq(e,t={},r=$v("redoc")){if(r===null)throw new Error('"element" argument is not provided and <redoc> tag is not found on the page');const{router:n,...o}={...t,...LMe(r)};let a,i;typeof e=="string"?a=e:typeof e=="object"&&(i=e),E4.createRoot(r).render(D.createElement(RMe,{definition:i,definitionUrl:a,options:o,router:n??"hash"},["Loading..."]))}const IMe="3.24.0",PMe="44e390f34a";function MMe(){const e=$v("redoc");if(!e)return;const t=e.getAttribute("spec-url");t&&Gq(t,{},e)}MMe();export{wl as $,Sj as A,ft as B,z0 as C,On as D,Bf as E,Po as F,Cm as G,vR as H,uy as I,Oa as J,ej as K,VR as L,mj as M,vj as N,fj as O,Nc as P,K$ as Q,At as R,hi as S,Ky as T,zd as U,Du as V,_9 as W,vw as X,Yf as Y,xl as Z,FM as _,xe as a,cIe as a$,as as a0,N$ as a1,rp as a2,al as a3,LL as a4,EL as a5,uD as a6,q$ as a7,h$ as a8,uw as a9,T9 as aA,c1 as aB,l1 as aC,HU as aD,p1 as aE,s1 as aF,OF as aG,u1 as aH,TIe as aI,jIe as aJ,pn as aK,KU as aL,iF as aM,sF as aN,lIe as aO,iIe as aP,I1 as aQ,sIe as aR,pIe as aS,fF as aT,hF as aU,vS as aV,zo as aW,sr as aX,Xr as aY,lF as aZ,cF as a_,H2 as aa,us as ab,wr as ac,Al as ad,_$ as ae,eo as af,cr as ag,jc as ah,H$ as ai,gr as aj,Sz as ak,V$ as al,G$ as am,tz as an,K1e as ao,rl as ap,S0 as aq,q0 as ar,Pz as as,L$ as at,j$ as au,Iz as av,Nz as aw,Kk as ax,ed as ay,O9 as az,il as b,P1 as b0,i1 as b1,ql as b2,DF as b3,yS as b4,Dl as b5,jTe as b6,vF as b7,aIe as b8,da as b9,dIe as bA,Bl as bB,wS as bC,jF as bD,Ml as bE,vs as bF,pF as bG,uS as bH,Yz as bI,mF as bJ,uh as bK,WU as bL,EF as bM,TS as bN,NMe as bO,Gq as bP,PMe as bQ,Bbe as bR,Fbe as bS,zbe as bT,IMe as bU,AIe as ba,xS as bb,yp as bc,za as bd,xs as be,yF as bf,$a as bg,ES as bh,pS as bi,TF as bj,n1 as bk,LTe as bl,dF as bm,qU as bn,GU as bo,ZN as bp,k$ as bq,t1 as br,rt as bs,tt as bt,uF as bu,LF as bv,IF as bw,Kz as bx,gF as by,hIe as bz,_f as c,Tn as d,lm as e,$0 as f,dt as g,ve as h,$u as i,m as j,zF as k,Pt as l,sm as m,yZ as n,eG as o,Kn as p,mx as q,D as r,Jn as s,mn as t,ir as u,Rc as v,ns as w,Ld as x,jL as y,yl as z};
|
|
11995
|
+
`}}_n(Lp,"defaults",MB);function WPe(e,t=!0,r){r===void 0&&typeof t=="string"&&(r=t,t=!0);const n=Object.assign({},Lp.defaults[_1.version],_1);return new Hl(n).createNode(e,t,r)}class T1 extends Lp{constructor(t){super(Object.assign({},_1,t))}}function YPe(e,t){const r=[];let n;for(const o of DS(e)){const a=new T1(t);a.parse(o,n),r.push(a),n=a}return r}function $B(e,t){const r=DS(e),n=new T1(t).parse(r[0]);if(r.length>1){const o="Source contains multiple documents; please use YAML.parseAllDocuments()";n.errors.unshift(new vt(r[1],o))}return n}function KPe(e,t){const r=$B(e,t);if(r.warnings.forEach(n=>SB(n)),r.errors.length>0)throw r.errors[0];return r.toJSON()}function JPe(e,t){const r=new T1(t);return r.contents=e,String(r)}const QPe={createNode:WPe,defaultOptions:_1,Document:T1,parse:KPe,parseAllDocuments:YPe,parseCST:DS,parseDocument:$B,scalarOptions:zPe,stringify:JPe},ZPe=Object.freeze(Object.defineProperty({__proto__:null,YAML:QPe},Symbol.toStringTag,{value:"Module"})),XPe=Sa(ZPe);var zB,UB;function FB(){return UB||(UB=1,zB=XPe.YAML),zB}var GS,BB;function O1(){if(BB)return GS;BB=1;function e(n){return n.replace(/\~/g,"~0").replace(/\//g,"~1")}function t(n){return n.replace(/\~1/g,"/").replace(/~0/g,"~")}function r(n,o,a){if(typeof n>"u")return!1;if(!o||typeof o!="string"||o==="#")return typeof a<"u"?a:n;if(o.indexOf("#")>=0){let l=o.split("#");if(l[0])return!1;o=l[1],o=decodeURIComponent(o.slice(1).split("+").join(" "))}o.startsWith("/")&&(o=o.slice(1));let i=o.split("/");for(let l=0;l<i.length;l++){i[l]=t(i[l]);let p=typeof a<"u"&&l==i.length-1,u=parseInt(i[l],10);if(!Array.isArray(n)||isNaN(u)||u.toString()!==i[l]?u=Array.isArray(n)&&i[l]==="-"?-2:-1:i[l]=l>0?i[l-1]:"",u!=-1||n&&n.hasOwnProperty(i[l]))if(u>=0)p&&(n[u]=a),n=n[u];else{if(u===-2)return p?(Array.isArray(n)&&n.push(a),a):void 0;p&&(n[i[l]]=a),n=n[i[l]]}else if(typeof a<"u"&&typeof n=="object"&&!Array.isArray(n))n[i[l]]=p?a:i[l+1]==="0"||i[l+1]==="-"?[]:{},n=n[i[l]];else return!1}return n}return GS={jptr:r,jpescape:e,jpunescape:t},GS}var WS,qB;function YS(){if(qB)return WS;qB=1;function e(t,r){return r==="$ref"&&!!t&&typeof t[r]=="string"}return WS={isRef:e},WS}var KS,HB;function R1(){if(HB)return KS;HB=1;function e(i){return i}function t(i){return JSON.parse(JSON.stringify(i))}function r(i){let l={};for(let p in i)i.hasOwnProperty(p)&&(l[p]=i[p]);return l}function n(i){let l=Array.isArray(i)?[]:{};for(let p in i)(i.hasOwnProperty(p)||Array.isArray(i))&&(l[p]=typeof i[p]=="object"?n(i[p]):i[p]);return l}function o(i){return Object.assign({},i)}function a(i,l){if(l||(l=new WeakMap),Object(i)!==i||i instanceof Function)return i;if(l.has(i))return l.get(i);try{var p=new i.constructor}catch{p=Object.create(Object.getPrototypeOf(i))}return l.set(i,p),Object.assign(p,...Object.keys(i).map(u=>({[u]:a(i[u],l)})))}return KS={nop:e,clone:t,shallowClone:r,deepClone:n,fastClone:o,circularClone:a},KS}var JS,VB;function QS(){if(VB)return JS;VB=1;const e=O1().jpescape;function t(){return{path:"#",depth:0,pkey:"",parent:{},payload:{},seen:new WeakMap,identity:!1,identityDetection:!1}}function r(n,o,a){if(o||(o={depth:0}),o.depth||(o=Object.assign({},t(),o)),typeof n!="object")return;let i=o.path;for(let l in n){if(o.key=l,o.path=o.path+"/"+encodeURIComponent(e(l)),o.identityPath=o.seen.get(n[l]),o.identity=typeof o.identityPath<"u",n.hasOwnProperty(l)&&a(n,l,o),typeof n[l]=="object"&&!o.identity){o.identityDetection&&!Array.isArray(n[l])&&n[l]!==null&&o.seen.set(n[l],o.path);let p={};p.parent=n,p.path=o.path,p.depth=o.depth?o.depth+1:1,p.pkey=l,p.payload=o.payload,p.seen=o.seen,p.identity=!1,p.identityDetection=o.identityDetection,r(n[l],p,a)}o.path=i}}return JS={recurse:r},JS}var ZS,GB;function eMe(){if(GB)return ZS;GB=1;const e=QS().recurse,t=R1().shallowClone,r=O1().jptr,n=YS().isRef;var o=function(i){return i&&i.verbose?{warn:function(){var l=Array.prototype.slice.call(arguments);console.warn.apply(console,l)}}:{warn:function(){}}};function a(i,l,p){p||(p={}),p.cache||(p.cache={}),p.state||(p.state={}),p.state.identityDetection=!0,p.depth=p.depth?p.depth+1:1;let u=p.depth>1?i:t(i),h={data:u},f=p.depth>1?l:t(l);p.master||(p.master=u);let b=o(p),v=1;for(;v>0;)v=0,e(h,p.state,function(y,x,k){if(n(y,x)){let w=y[x];if(v++,p.cache[w]){let _=p.cache[w];if(_.resolved)b.warn("Patching %s for %s",w,_.path),k.parent[k.pkey]=_.data,p.$ref&&typeof k.parent[k.pkey]=="object"&&k.parent[k.pkey]!==null&&(k.parent[k.pkey][p.$ref]=w);else{if(w===_.path)throw new Error(`Tight circle at ${_.path}`);b.warn("Unresolved ref"),k.parent[k.pkey]=r(_.source,_.path),k.parent[k.pkey]===!1&&(k.parent[k.pkey]=r(_.source,_.key)),p.$ref&&typeof k.parent[k.pkey]=="object"&&k.parent[k.pkey]!==null&&(k.parent[p.$ref]=w)}}else{let _={};_.path=k.path.split("/$ref")[0],_.key=w,b.warn("Dereffing %s at %s",w,_.path),_.source=f,_.data=r(_.source,_.key),_.data===!1&&(_.data=r(p.master,_.key),_.source=p.master),_.data===!1&&b.warn("Missing $ref target",_.key),p.cache[w]=_,_.data=k.parent[k.pkey]=a(r(_.source,_.key),_.source,p),p.$ref&&typeof k.parent[k.pkey]=="object"&&k.parent[k.pkey]!==null&&(k.parent[k.pkey][p.$ref]=w),_.resolved=!0}}});return h.data}return ZS={dereference:a},ZS}var XS,WB;function tMe(){if(WB)return XS;WB=1,XS=a,a.default=a,a.stable=u,a.stableStringify=u;var e="[...]",t="[Circular]",r=[],n=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function a(b,v,y,x){typeof x>"u"&&(x=o()),l(b,"",0,[],void 0,0,x);var k;try{n.length===0?k=JSON.stringify(b,v,y):k=JSON.stringify(b,f(v),y)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var w=r.pop();w.length===4?Object.defineProperty(w[0],w[1],w[3]):w[0][w[1]]=w[2]}}return k}function i(b,v,y,x){var k=Object.getOwnPropertyDescriptor(x,y);k.get!==void 0?k.configurable?(Object.defineProperty(x,y,{value:b}),r.push([x,y,v,k])):n.push([v,y,b]):(x[y]=b,r.push([x,y,v]))}function l(b,v,y,x,k,w,_){w+=1;var A;if(typeof b=="object"&&b!==null){for(A=0;A<x.length;A++)if(x[A]===b){i(t,b,v,k);return}if(typeof _.depthLimit<"u"&&w>_.depthLimit){i(e,b,v,k);return}if(typeof _.edgesLimit<"u"&&y+1>_.edgesLimit){i(e,b,v,k);return}if(x.push(b),Array.isArray(b))for(A=0;A<b.length;A++)l(b[A],A,A,x,b,w,_);else{var R=Object.keys(b);for(A=0;A<R.length;A++){var E=R[A];l(b[E],E,A,x,b,w,_)}}x.pop()}}function p(b,v){return b<v?-1:b>v?1:0}function u(b,v,y,x){typeof x>"u"&&(x=o());var k=h(b,"",0,[],void 0,0,x)||b,w;try{n.length===0?w=JSON.stringify(k,v,y):w=JSON.stringify(k,f(v),y)}catch{return JSON.stringify("[unable to serialize, circular reference is too complex to analyze]")}finally{for(;r.length!==0;){var _=r.pop();_.length===4?Object.defineProperty(_[0],_[1],_[3]):_[0][_[1]]=_[2]}}return w}function h(b,v,y,x,k,w,_){w+=1;var A;if(typeof b=="object"&&b!==null){for(A=0;A<x.length;A++)if(x[A]===b){i(t,b,v,k);return}try{if(typeof b.toJSON=="function")return}catch{return}if(typeof _.depthLimit<"u"&&w>_.depthLimit){i(e,b,v,k);return}if(typeof _.edgesLimit<"u"&&y+1>_.edgesLimit){i(e,b,v,k);return}if(x.push(b),Array.isArray(b))for(A=0;A<b.length;A++)h(b[A],A,A,x,b,w,_);else{var R={},E=Object.keys(b).sort(p);for(A=0;A<E.length;A++){var L=E[A];h(b[L],L,A,x,b,w,_),R[L]=b[L]}if(typeof k<"u")r.push([k,v,b]),k[v]=R;else return R}x.pop()}}function f(b){return b=typeof b<"u"?b:function(v,y){return y},function(v,y){if(n.length>0)for(var x=0;x<n.length;x++){var k=n[x];if(k[1]===v&&k[0]===y){y=k[2],n.splice(x,1);break}}return b.call(this,v,y)}}return XS}var e3,YB;function KB(){if(YB)return e3;YB=1;var e={};const t=tMe(),r=e.NODE_DISABLE_COLORS?{red:"",yellow:"",green:"",normal:""}:{red:"\x1B[31m",yellow:"\x1B[33;1m",green:"\x1B[32m",normal:"\x1B[0m"};function n(k,w,_){return _.indexOf(k)===w}function o(k){return new Set(k).size!==k.length}function a(k){return new Set(k).size<=1}function i(k,w){function _(A,R){return t.stringify(A)===t.stringify(Object.assign({},A,R))}return _(k,w)&&_(w,k)}function l(k){let w=[];for(let _ of k)w.find(function(A,R,E){return i(A,_)})||w.push(_);return w}function p(k){return k.length===l(k).length}function u(k){return k.find(function(w,_,A){return k.indexOf(w)<_})}function h(k){let w=0,_;if(k.length===0)return w;for(let A=0;A<k.length;A++)_=k.charCodeAt(A),w=(w<<5)-w+_,w|=0;return w}String.prototype.toCamelCase=function(){return this.toLowerCase().replace(/[-_ \/\.](.)/g,function(k,w){return w.toUpperCase()})};const f=["format","minimum","maximum","exclusiveMinimum","exclusiveMaximum","minLength","maxLength","multipleOf","minItems","maxItems","uniqueItems","minProperties","maxProperties","additionalProperties","pattern","enum","default"],b=["items","minItems","maxItems","uniqueItems"],v=["get","post","put","delete","patch","head","options","trace"];function y(k){k=k.replace("[]","Array");let w=k.split("/");return w[0]=w[0].replace(/[^A-Za-z0-9_\-\.]+|\s+/gm,"_"),w.join("/")}function x(k){return y(k.split("/").join("_"))}return e3={colour:r,uniqueOnly:n,hasDuplicates:o,allSame:a,distinctArray:p,firstDupe:u,hash:h,parameterTypeProperties:f,arrayProperties:b,httpMethods:v,sanitise:y,sanitiseAll:x},e3}var t3,JB;function rMe(){if(JB)return t3;JB=1;const e=d1,t=DL(),r=jS(),n=d1,o=FB(),a=O1().jptr,i=QS().recurse,l=R1().clone,p=eMe().dereference,u=YS().isRef,h=KB();function f(O){return[...new Set(O)]}function b(O,P,U,Y,q){return new Promise(function(Q,ne){e.readFile(O,P,function(le,G){le?U.ignoreIOErrors&&q?(U.verbose&&console.warn("FAILED",Y),U.externalRefs[Y].failed=!0,Q(q)):ne(le):Q(G)})})}function v(O,P,U,Y,q,Q){let ne=Q.externalRefs[U+Y].paths[0],le=r.parse(q),G={},ce=1;for(;ce;)ce=0,i(O,{identityDetection:!0},function(ee,fe,oe){if(u(ee,fe)){if(ee[fe].startsWith("#")){if(!G[ee[fe]]&&!ee.$fixed){let F=l(a(P,ee[fe]));if(Q.verbose>1&&console.warn((F===!1?h.colour.red:h.colour.green)+"Fragment resolution",ee[fe],h.colour.normal),F===!1){if(oe.parent[oe.pkey]={},Q.fatal){let ie=new Error("Fragment $ref resolution failed "+ee[fe]);if(Q.promise)Q.promise.reject(ie);else throw ie}}else ce++,oe.parent[oe.pkey]=F,G[ee[fe]]=oe.path.replace("/%24ref","")}else if(!ee.$fixed){let F=(ne+"/"+G[ee[fe]]).split("/#/").join("/");oe.parent[oe.pkey]={$ref:F,"x-miro":ee[fe],$fixed:!0},Q.verbose>1&&console.warn("Replacing with",F),ce++}}else if(le.protocol){let F=r.resolve(q,ee[fe]).toString();Q.verbose>1&&console.warn(h.colour.yellow+"Rewriting external url ref",ee[fe],"as",F,h.colour.normal),ee["x-miro"]=ee[fe],Q.externalRefs[ee[fe]]&&(Q.externalRefs[F]||(Q.externalRefs[F]=Q.externalRefs[ee[fe]]),Q.externalRefs[F].failed=Q.externalRefs[ee[fe]].failed),ee[fe]=F}else if(!ee["x-miro"]){let F=r.resolve(q,ee[fe]).toString(),ie=!1;Q.externalRefs[ee[fe]]&&(ie=Q.externalRefs[ee[fe]].failed),ie||(Q.verbose>1&&console.warn(h.colour.yellow+"Rewriting external ref",ee[fe],"as",F,h.colour.normal),ee["x-miro"]=ee[fe],ee[fe]=F)}}});return i(O,{},function(ee,fe,oe){u(ee,fe)&&typeof ee.$fixed<"u"&&delete ee.$fixed}),Q.verbose>1&&console.warn("Finished fragment resolution"),O}function y(O,P){if(!P.filters||!P.filters.length)return O;for(let U of P.filters)O=U(O,P);return O}function x(O,P){return O&&O.length>2?O:P&&P.length>2?P:"file:"}function k(O,P,U,Y){var q=r.parse(U.source),Q=U.source.split("\\").join("/").split("/");Q.pop()||Q.pop();let ne="",le=P.split("#");le.length>1&&(ne="#"+le[1],P=le[0]),Q=Q.join("/");let G=r.parse(P),ce=x(G.protocol,q.protocol),ee;if(ce==="file:"?ee=t.resolve(Q?Q+"/":"",P):ee=r.resolve(Q?Q+"/":"",P),U.cache[ee]){U.verbose&&console.warn("CACHED",ee,ne);let fe=l(U.cache[ee]),oe=U.externalRef=fe;if(ne&&(oe=a(oe,ne),oe===!1&&(oe={},U.fatal))){let F=new Error("Cached $ref resolution failed "+ee+ne);if(U.promise)U.promise.reject(F);else throw F}return oe=v(oe,fe,P,ne,ee,U),oe=y(oe,U),Y(l(oe),ee,U),Promise.resolve(oe)}if(U.verbose&&console.warn("GET",ee,ne),U.handlers&&U.handlers[ce])return U.handlers[ce](Q,P,ne,U).then(function(fe){return U.externalRef=fe,fe=y(fe,U),U.cache[ee]=fe,Y(fe,ee,U),fe}).catch(function(fe){throw U.verbose&&console.warn(fe),fe});if(ce&&ce.startsWith("http")){const fe=Object.assign({},U.fetchOptions,{agent:U.agent});return U.fetch(ee,fe).then(function(oe){if(oe.status!==200){if(U.ignoreIOErrors)return U.verbose&&console.warn("FAILED",P),U.externalRefs[P].failed=!0,'{"$ref":"'+P+'"}';throw new Error(`Received status code ${oe.status}: ${ee}`)}return oe.text()}).then(function(oe){try{let F=o.parse(oe,{schema:"core",prettyErrors:!0});if(oe=U.externalRef=F,U.cache[ee]=l(oe),ne&&(oe=a(oe,ne),oe===!1&&(oe={},U.fatal))){let ie=new Error("Remote $ref resolution failed "+ee+ne);if(U.promise)U.promise.reject(ie);else throw ie}oe=v(oe,F,P,ne,ee,U),oe=y(oe,U)}catch(F){if(U.verbose&&console.warn(F),U.promise&&U.fatal)U.promise.reject(F);else throw F}return Y(oe,ee,U),oe}).catch(function(oe){if(U.verbose&&console.warn(oe),U.cache[ee]={},U.promise&&U.fatal)U.promise.reject(oe);else throw oe})}else{const fe='{"$ref":"'+P+'"}';return b(ee,U.encoding||"utf8",U,P,fe).then(function(oe){try{let F=o.parse(oe,{schema:"core",prettyErrors:!0});if(oe=U.externalRef=F,U.cache[ee]=l(oe),ne&&(oe=a(oe,ne),oe===!1&&(oe={},U.fatal))){let ie=new Error("File $ref resolution failed "+ee+ne);if(U.promise)U.promise.reject(ie);else throw ie}oe=v(oe,F,P,ne,ee,U),oe=y(oe,U)}catch(F){if(U.verbose&&console.warn(F),U.promise&&U.fatal)U.promise.reject(F);else throw F}return Y(oe,ee,U),oe}).catch(function(oe){if(U.verbose&&console.warn(oe),U.promise&&U.fatal)U.promise.reject(oe);else throw oe})}}function w(O){return new Promise(function(P,U){function Y(Q,ne,le){if(Q[ne]&&u(Q[ne],"$ref")){let G=Q[ne].$ref;if(!G.startsWith("#")){let ce="";if(!q[G]){let ee=Object.keys(q).find(function(fe,oe,F){return G.startsWith(fe+"/")});ee&&(O.verbose&&console.warn("Found potential subschema at",ee),ce="/"+(G.split("#")[1]||"").replace(ee.split("#")[1]||""),ce=ce.split("/undefined").join(""),G=ee)}if(q[G]||(q[G]={resolved:!1,paths:[],extras:{},description:Q[ne].description}),q[G].resolved){if(!q[G].failed)if(O.rewriteRefs){let ee=q[G].resolvedAt;O.verbose>1&&console.warn("Rewriting ref",G,ee),Q[ne]["x-miro"]=G,Q[ne].$ref=ee+ce}else Q[ne]=l(q[G].data)}else q[G].paths.push(le.path),q[G].extras[le.path]=ce}}}let q=O.externalRefs;if(O.resolver.depth>0&&O.source===O.resolver.base)return P(q);i(O.openapi.definitions,{identityDetection:!0,path:"#/definitions"},Y),i(O.openapi.components,{identityDetection:!0,path:"#/components"},Y),i(O.openapi,{identityDetection:!0},Y),P(q)})}function _(O){return new Promise(function(P,U){w(O).then(function(q){for(let Q in q)if(!q[Q].resolved){let ne=O.resolver.depth;ne>0&&ne++,O.resolver.actions[ne].push(function(){return k(O.openapi,Q,O,function(le,G,ce){if(!q[Q].resolved){let oe={};oe.context=q[Q],oe.$ref=Q,oe.original=l(le),oe.updated=le,oe.source=G,ce.externals.push(oe),q[Q].resolved=!0}let ee=Object.assign({},ce,{source:"",resolver:{actions:ce.resolver.actions,depth:ce.resolver.actions.length-1,base:ce.resolver.base}});ce.patch&&q[Q].description&&!le.description&&typeof le=="object"&&(le.description=q[Q].description),q[Q].data=le;let fe=f(q[Q].paths);fe=fe.sort(function(oe,F){const ie=oe.startsWith("#/components/")||oe.startsWith("#/definitions/"),W=F.startsWith("#/components/")||F.startsWith("#/definitions/");return ie&&!W?-1:W&&!ie?1:0});for(let oe of fe)if(q[Q].resolvedAt&&oe!==q[Q].resolvedAt&&oe.indexOf("x-ms-examples/")<0)ce.verbose>1&&console.warn("Creating pointer to data at",oe),a(ce.openapi,oe,{$ref:q[Q].resolvedAt+q[Q].extras[oe],"x-miro":Q+q[Q].extras[oe]});else{q[Q].resolvedAt?ce.verbose>1&&console.warn("Avoiding circular reference"):(q[Q].resolvedAt=oe,ce.verbose>1&&console.warn("Creating initial clone of data at",oe));let F=l(le);a(ce.openapi,oe,F)}ce.resolver.actions[ee.resolver.depth].length===0&&ce.resolver.actions[ee.resolver.depth].push(function(){return _(ee)})})})}}).catch(function(q){O.verbose&&console.warn(q),U(q)});let Y={options:O};Y.actions=O.resolver.actions[O.resolver.depth],P(Y)})}const A=O=>O.reduce((P,U)=>P.then(Y=>U().then(Array.prototype.concat.bind(Y))),Promise.resolve([]));function R(O,P,U){O.resolver.actions.push([]),_(O).then(function(Y){A(Y.actions).then(function(){if(O.resolver.depth>=O.resolver.actions.length)return console.warn("Ran off the end of resolver actions"),P(!0);O.resolver.depth++,O.resolver.actions[O.resolver.depth].length?setTimeout(function(){R(Y.options,P,U)},0):(O.verbose>1&&console.warn(h.colour.yellow+"Finished external resolution!",h.colour.normal),O.resolveInternal&&(O.verbose>1&&console.warn(h.colour.yellow+"Starting internal resolution!",h.colour.normal),O.openapi=p(O.openapi,O.original,{verbose:O.verbose-1}),O.verbose>1&&console.warn(h.colour.yellow+"Finished internal resolution!",h.colour.normal)),i(O.openapi,{},function(q,Q,ne){u(q,Q)&&(O.preserveMiro||delete q["x-miro"])}),P(O))}).catch(function(q){O.verbose&&console.warn(q),U(q)})}).catch(function(Y){O.verbose&&console.warn(Y),U(Y)})}function E(O){if(O.cache||(O.cache={}),O.fetch||(O.fetch=n),O.source){let P=r.parse(O.source);(!P.protocol||P.protocol.length<=2)&&(O.source=t.resolve(O.source))}O.externals=[],O.externalRefs={},O.rewriteRefs=!0,O.resolver={},O.resolver.depth=0,O.resolver.base=O.source,O.resolver.actions=[[]]}function L(O){return E(O),new Promise(function(P,U){O.resolve?R(O,P,U):P(O)})}function I(O,P,U){return U||(U={}),U.openapi=O,U.source=P,U.resolve=!0,E(U),new Promise(function(Y,q){R(U,Y,q)})}return t3={optionalResolve:L,resolve:I},t3}var r3,QB;function nMe(){if(QB)return r3;QB=1;function e(){return{depth:0,seen:new WeakMap,top:!0,combine:!1,allowRefSiblings:!1}}function t(r,n,o,a){if(typeof o.depth>"u"&&(o=e()),r===null||typeof r>"u")return r;if(typeof r.$ref<"u"){let i={$ref:r.$ref};return o.allowRefSiblings&&r.description&&(i.description=r.description),a(i,n,o),i}if(o.combine&&(r.allOf&&Array.isArray(r.allOf)&&r.allOf.length===1&&(r=Object.assign({},r.allOf[0],r),delete r.allOf),r.anyOf&&Array.isArray(r.anyOf)&&r.anyOf.length===1&&(r=Object.assign({},r.anyOf[0],r),delete r.anyOf),r.oneOf&&Array.isArray(r.oneOf)&&r.oneOf.length===1&&(r=Object.assign({},r.oneOf[0],r),delete r.oneOf)),a(r,n,o),o.seen.has(r))return r;if(typeof r=="object"&&r!==null&&o.seen.set(r,!0),o.top=!1,o.depth++,typeof r.items<"u"&&(o.property="items",t(r.items,r,o,a)),r.additionalItems&&typeof r.additionalItems=="object"&&(o.property="additionalItems",t(r.additionalItems,r,o,a)),r.additionalProperties&&typeof r.additionalProperties=="object"&&(o.property="additionalProperties",t(r.additionalProperties,r,o,a)),r.properties)for(let i in r.properties){let l=r.properties[i];o.property="properties/"+i,t(l,r,o,a)}if(r.patternProperties)for(let i in r.patternProperties){let l=r.patternProperties[i];o.property="patternProperties/"+i,t(l,r,o,a)}if(r.allOf)for(let i in r.allOf){let l=r.allOf[i];o.property="allOf/"+i,t(l,r,o,a)}if(r.anyOf)for(let i in r.anyOf){let l=r.anyOf[i];o.property="anyOf/"+i,t(l,r,o,a)}if(r.oneOf)for(let i in r.oneOf){let l=r.oneOf[i];o.property="oneOf/"+i,t(l,r,o,a)}return r.not&&(o.property="not",t(r.not,r,o,a)),o.depth--,r}return r3={getDefaultState:e,walkSchema:t},r3}var ZB={},n3={exports:{}},XB={},eq;function tq(){return eq||(eq=1,(function(e){e.fetch=o(globalThis.fetch)&&o(globalThis.ReadableStream),e.writableStream=o(globalThis.WritableStream),e.abortController=o(globalThis.AbortController);var t;function r(){if(t!==void 0)return t;if(globalThis.XMLHttpRequest){t=new globalThis.XMLHttpRequest;try{t.open("GET",globalThis.XDomainRequest?"/":"https://example.com")}catch{t=null}}else t=null;return t}function n(a){var i=r();if(!i)return!1;try{return i.responseType=a,i.responseType===a}catch{}return!1}e.arraybuffer=e.fetch||n("arraybuffer"),e.msstream=!e.fetch&&n("ms-stream"),e.mozchunkedarraybuffer=!e.fetch&&n("moz-chunked-arraybuffer"),e.overrideMimeType=e.fetch||(r()?o(r().overrideMimeType):!1);function o(a){return typeof a=="function"}t=null})(XB)),XB}var j1={},o3={exports:{}},L1={exports:{}},rq;function oMe(){if(rq)return L1.exports;rq=1;var e=typeof Reflect=="object"?Reflect:null,t=e&&typeof e.apply=="function"?e.apply:function(R,E,L){return Function.prototype.apply.call(R,E,L)},r;e&&typeof e.ownKeys=="function"?r=e.ownKeys:Object.getOwnPropertySymbols?r=function(R){return Object.getOwnPropertyNames(R).concat(Object.getOwnPropertySymbols(R))}:r=function(R){return Object.getOwnPropertyNames(R)};function n(R){console&&console.warn&&console.warn(R)}var o=Number.isNaN||function(R){return R!==R};function a(){a.init.call(this)}L1.exports=a,L1.exports.once=w,a.EventEmitter=a,a.prototype._events=void 0,a.prototype._eventsCount=0,a.prototype._maxListeners=void 0;var i=10;function l(R){if(typeof R!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof R)}Object.defineProperty(a,"defaultMaxListeners",{enumerable:!0,get:function(){return i},set:function(R){if(typeof R!="number"||R<0||o(R))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+R+".");i=R}}),a.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},a.prototype.setMaxListeners=function(R){if(typeof R!="number"||R<0||o(R))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+R+".");return this._maxListeners=R,this};function p(R){return R._maxListeners===void 0?a.defaultMaxListeners:R._maxListeners}a.prototype.getMaxListeners=function(){return p(this)},a.prototype.emit=function(R){for(var E=[],L=1;L<arguments.length;L++)E.push(arguments[L]);var I=R==="error",O=this._events;if(O!==void 0)I=I&&O.error===void 0;else if(!I)return!1;if(I){var P;if(E.length>0&&(P=E[0]),P instanceof Error)throw P;var U=new Error("Unhandled error."+(P?" ("+P.message+")":""));throw U.context=P,U}var Y=O[R];if(Y===void 0)return!1;if(typeof Y=="function")t(Y,this,E);else for(var q=Y.length,Q=y(Y,q),L=0;L<q;++L)t(Q[L],this,E);return!0};function u(R,E,L,I){var O,P,U;if(l(L),P=R._events,P===void 0?(P=R._events=Object.create(null),R._eventsCount=0):(P.newListener!==void 0&&(R.emit("newListener",E,L.listener?L.listener:L),P=R._events),U=P[E]),U===void 0)U=P[E]=L,++R._eventsCount;else if(typeof U=="function"?U=P[E]=I?[L,U]:[U,L]:I?U.unshift(L):U.push(L),O=p(R),O>0&&U.length>O&&!U.warned){U.warned=!0;var Y=new Error("Possible EventEmitter memory leak detected. "+U.length+" "+String(E)+" listeners added. Use emitter.setMaxListeners() to increase limit");Y.name="MaxListenersExceededWarning",Y.emitter=R,Y.type=E,Y.count=U.length,n(Y)}return R}a.prototype.addListener=function(R,E){return u(this,R,E,!1)},a.prototype.on=a.prototype.addListener,a.prototype.prependListener=function(R,E){return u(this,R,E,!0)};function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(R,E,L){var I={fired:!1,wrapFn:void 0,target:R,type:E,listener:L},O=h.bind(I);return O.listener=L,I.wrapFn=O,O}a.prototype.once=function(R,E){return l(E),this.on(R,f(this,R,E)),this},a.prototype.prependOnceListener=function(R,E){return l(E),this.prependListener(R,f(this,R,E)),this},a.prototype.removeListener=function(R,E){var L,I,O,P,U;if(l(E),I=this._events,I===void 0)return this;if(L=I[R],L===void 0)return this;if(L===E||L.listener===E)--this._eventsCount===0?this._events=Object.create(null):(delete I[R],I.removeListener&&this.emit("removeListener",R,L.listener||E));else if(typeof L!="function"){for(O=-1,P=L.length-1;P>=0;P--)if(L[P]===E||L[P].listener===E){U=L[P].listener,O=P;break}if(O<0)return this;O===0?L.shift():x(L,O),L.length===1&&(I[R]=L[0]),I.removeListener!==void 0&&this.emit("removeListener",R,U||E)}return this},a.prototype.off=a.prototype.removeListener,a.prototype.removeAllListeners=function(R){var E,L,I;if(L=this._events,L===void 0)return this;if(L.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):L[R]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete L[R]),this;if(arguments.length===0){var O=Object.keys(L),P;for(I=0;I<O.length;++I)P=O[I],P!=="removeListener"&&this.removeAllListeners(P);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(E=L[R],typeof E=="function")this.removeListener(R,E);else if(E!==void 0)for(I=E.length-1;I>=0;I--)this.removeListener(R,E[I]);return this};function b(R,E,L){var I=R._events;if(I===void 0)return[];var O=I[E];return O===void 0?[]:typeof O=="function"?L?[O.listener||O]:[O]:L?k(O):y(O,O.length)}a.prototype.listeners=function(R){return b(this,R,!0)},a.prototype.rawListeners=function(R){return b(this,R,!1)},a.listenerCount=function(R,E){return typeof R.listenerCount=="function"?R.listenerCount(E):v.call(R,E)},a.prototype.listenerCount=v;function v(R){var E=this._events;if(E!==void 0){var L=E[R];if(typeof L=="function")return 1;if(L!==void 0)return L.length}return 0}a.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]};function y(R,E){for(var L=new Array(E),I=0;I<E;++I)L[I]=R[I];return L}function x(R,E){for(;E+1<R.length;E++)R[E]=R[E+1];R.pop()}function k(R){for(var E=new Array(R.length),L=0;L<E.length;++L)E[L]=R[L].listener||R[L];return E}function w(R,E){return new Promise(function(L,I){function O(U){R.removeListener(E,P),I(U)}function P(){typeof R.removeListener=="function"&&R.removeListener("error",O),L([].slice.call(arguments))}A(R,E,P,{once:!0}),E!=="error"&&_(R,O,{once:!0})})}function _(R,E,L){typeof R.on=="function"&&A(R,"error",E,L)}function A(R,E,L,I){if(typeof R.on=="function")I.once?R.once(E,L):R.on(E,L);else if(typeof R.addEventListener=="function")R.addEventListener(E,function O(P){I.once&&R.removeEventListener(E,O),L(P)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof R)}return L1.exports}var nq,oq;function aq(){return oq||(oq=1,nq=oMe().EventEmitter),nq}var iq={},ph={},sq;function aMe(){if(sq)return ph;sq=1,ph.byteLength=l,ph.toByteArray=u,ph.fromByteArray=b;for(var e=[],t=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,a=n.length;o<a;++o)e[o]=n[o],t[n.charCodeAt(o)]=o;t[45]=62,t[95]=63;function i(v){var y=v.length;if(y%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var x=v.indexOf("=");x===-1&&(x=y);var k=x===y?0:4-x%4;return[x,k]}function l(v){var y=i(v),x=y[0],k=y[1];return(x+k)*3/4-k}function p(v,y,x){return(y+x)*3/4-x}function u(v){var y,x=i(v),k=x[0],w=x[1],_=new r(p(v,k,w)),A=0,R=w>0?k-4:k,E;for(E=0;E<R;E+=4)y=t[v.charCodeAt(E)]<<18|t[v.charCodeAt(E+1)]<<12|t[v.charCodeAt(E+2)]<<6|t[v.charCodeAt(E+3)],_[A++]=y>>16&255,_[A++]=y>>8&255,_[A++]=y&255;return w===2&&(y=t[v.charCodeAt(E)]<<2|t[v.charCodeAt(E+1)]>>4,_[A++]=y&255),w===1&&(y=t[v.charCodeAt(E)]<<10|t[v.charCodeAt(E+1)]<<4|t[v.charCodeAt(E+2)]>>2,_[A++]=y>>8&255,_[A++]=y&255),_}function h(v){return e[v>>18&63]+e[v>>12&63]+e[v>>6&63]+e[v&63]}function f(v,y,x){for(var k,w=[],_=y;_<x;_+=3)k=(v[_]<<16&16711680)+(v[_+1]<<8&65280)+(v[_+2]&255),w.push(h(k));return w.join("")}function b(v){for(var y,x=v.length,k=x%3,w=[],_=16383,A=0,R=x-k;A<R;A+=_)w.push(f(v,A,A+_>R?R:A+_));return k===1?(y=v[x-1],w.push(e[y>>2]+e[y<<4&63]+"==")):k===2&&(y=(v[x-2]<<8)+v[x-1],w.push(e[y>>10]+e[y>>4&63]+e[y<<2&63]+"=")),w.join("")}return ph}var a3={},lq;function iMe(){return lq||(lq=1,a3.read=function(e,t,r,n,o){var a,i,l=o*8-n-1,p=(1<<l)-1,u=p>>1,h=-7,f=r?o-1:0,b=r?-1:1,v=e[t+f];for(f+=b,a=v&(1<<-h)-1,v>>=-h,h+=l;h>0;a=a*256+e[t+f],f+=b,h-=8);for(i=a&(1<<-h)-1,a>>=-h,h+=n;h>0;i=i*256+e[t+f],f+=b,h-=8);if(a===0)a=1-u;else{if(a===p)return i?NaN:(v?-1:1)*(1/0);i=i+Math.pow(2,n),a=a-u}return(v?-1:1)*i*Math.pow(2,a-n)},a3.write=function(e,t,r,n,o,a){var i,l,p,u=a*8-o-1,h=(1<<u)-1,f=h>>1,b=o===23?Math.pow(2,-24)-Math.pow(2,-77):0,v=n?0:a-1,y=n?1:-1,x=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,i=h):(i=Math.floor(Math.log(t)/Math.LN2),t*(p=Math.pow(2,-i))<1&&(i--,p*=2),i+f>=1?t+=b/p:t+=b*Math.pow(2,1-f),t*p>=2&&(i++,p/=2),i+f>=h?(l=0,i=h):i+f>=1?(l=(t*p-1)*Math.pow(2,o),i=i+f):(l=t*Math.pow(2,f-1)*Math.pow(2,o),i=0));o>=8;e[r+v]=l&255,v+=y,l/=256,o-=8);for(i=i<<o|l,u+=o;u>0;e[r+v]=i&255,v+=y,i/=256,u-=8);e[r+v-y]|=x*128}),a3}var cq;function uh(){return cq||(cq=1,(function(e){const t=aMe(),r=iMe(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;e.Buffer=l,e.SlowBuffer=_,e.INSPECT_MAX_BYTES=50;const o=2147483647;e.kMaxLength=o,l.TYPED_ARRAY_SUPPORT=a(),!l.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function a(){try{const j=new Uint8Array(1),M={foo:function(){return 42}};return Object.setPrototypeOf(M,Uint8Array.prototype),Object.setPrototypeOf(j,M),j.foo()===42}catch{return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}});function i(j){if(j>o)throw new RangeError('The value "'+j+'" is invalid for option "size"');const M=new Uint8Array(j);return Object.setPrototypeOf(M,l.prototype),M}function l(j,M,z){if(typeof j=="number"){if(typeof M=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return f(j)}return p(j,M,z)}l.poolSize=8192;function p(j,M,z){if(typeof j=="string")return b(j,M);if(ArrayBuffer.isView(j))return y(j);if(j==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof j);if(Ge(j,ArrayBuffer)||j&&Ge(j.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ge(j,SharedArrayBuffer)||j&&Ge(j.buffer,SharedArrayBuffer)))return x(j,M,z);if(typeof j=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const de=j.valueOf&&j.valueOf();if(de!=null&&de!==j)return l.from(de,M,z);const ke=k(j);if(ke)return ke;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof j[Symbol.toPrimitive]=="function")return l.from(j[Symbol.toPrimitive]("string"),M,z);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof j)}l.from=function(j,M,z){return p(j,M,z)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array);function u(j){if(typeof j!="number")throw new TypeError('"size" argument must be of type number');if(j<0)throw new RangeError('The value "'+j+'" is invalid for option "size"')}function h(j,M,z){return u(j),j<=0?i(j):M!==void 0?typeof z=="string"?i(j).fill(M,z):i(j).fill(M):i(j)}l.alloc=function(j,M,z){return h(j,M,z)};function f(j){return u(j),i(j<0?0:w(j)|0)}l.allocUnsafe=function(j){return f(j)},l.allocUnsafeSlow=function(j){return f(j)};function b(j,M){if((typeof M!="string"||M==="")&&(M="utf8"),!l.isEncoding(M))throw new TypeError("Unknown encoding: "+M);const z=A(j,M)|0;let de=i(z);const ke=de.write(j,M);return ke!==z&&(de=de.slice(0,ke)),de}function v(j){const M=j.length<0?0:w(j.length)|0,z=i(M);for(let de=0;de<M;de+=1)z[de]=j[de]&255;return z}function y(j){if(Ge(j,Uint8Array)){const M=new Uint8Array(j);return x(M.buffer,M.byteOffset,M.byteLength)}return v(j)}function x(j,M,z){if(M<0||j.byteLength<M)throw new RangeError('"offset" is outside of buffer bounds');if(j.byteLength<M+(z||0))throw new RangeError('"length" is outside of buffer bounds');let de;return M===void 0&&z===void 0?de=new Uint8Array(j):z===void 0?de=new Uint8Array(j,M):de=new Uint8Array(j,M,z),Object.setPrototypeOf(de,l.prototype),de}function k(j){if(l.isBuffer(j)){const M=w(j.length)|0,z=i(M);return z.length===0||j.copy(z,0,0,M),z}if(j.length!==void 0)return typeof j.length!="number"||Je(j.length)?i(0):v(j);if(j.type==="Buffer"&&Array.isArray(j.data))return v(j.data)}function w(j){if(j>=o)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+o.toString(16)+" bytes");return j|0}function _(j){return+j!=j&&(j=0),l.alloc(+j)}l.isBuffer=function(j){return j!=null&&j._isBuffer===!0&&j!==l.prototype},l.compare=function(j,M){if(Ge(j,Uint8Array)&&(j=l.from(j,j.offset,j.byteLength)),Ge(M,Uint8Array)&&(M=l.from(M,M.offset,M.byteLength)),!l.isBuffer(j)||!l.isBuffer(M))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(j===M)return 0;let z=j.length,de=M.length;for(let ke=0,Ne=Math.min(z,de);ke<Ne;++ke)if(j[ke]!==M[ke]){z=j[ke],de=M[ke];break}return z<de?-1:de<z?1:0},l.isEncoding=function(j){switch(String(j).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(j,M){if(!Array.isArray(j))throw new TypeError('"list" argument must be an Array of Buffers');if(j.length===0)return l.alloc(0);let z;if(M===void 0)for(M=0,z=0;z<j.length;++z)M+=j[z].length;const de=l.allocUnsafe(M);let ke=0;for(z=0;z<j.length;++z){let Ne=j[z];if(Ge(Ne,Uint8Array))ke+Ne.length>de.length?(l.isBuffer(Ne)||(Ne=l.from(Ne)),Ne.copy(de,ke)):Uint8Array.prototype.set.call(de,Ne,ke);else if(l.isBuffer(Ne))Ne.copy(de,ke);else throw new TypeError('"list" argument must be an Array of Buffers');ke+=Ne.length}return de};function A(j,M){if(l.isBuffer(j))return j.length;if(ArrayBuffer.isView(j)||Ge(j,ArrayBuffer))return j.byteLength;if(typeof j!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof j);const z=j.length,de=arguments.length>2&&arguments[2]===!0;if(!de&&z===0)return 0;let ke=!1;for(;;)switch(M){case"ascii":case"latin1":case"binary":return z;case"utf8":case"utf-8":return me(j).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return z*2;case"hex":return z>>>1;case"base64":return Ye(j).length;default:if(ke)return de?-1:me(j).length;M=(""+M).toLowerCase(),ke=!0}}l.byteLength=A;function R(j,M,z){let de=!1;if((M===void 0||M<0)&&(M=0),M>this.length||((z===void 0||z>this.length)&&(z=this.length),z<=0)||(z>>>=0,M>>>=0,z<=M))return"";for(j||(j="utf8");;)switch(j){case"hex":return fe(this,M,z);case"utf8":case"utf-8":return ne(this,M,z);case"ascii":return ce(this,M,z);case"latin1":case"binary":return ee(this,M,z);case"base64":return Q(this,M,z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return oe(this,M,z);default:if(de)throw new TypeError("Unknown encoding: "+j);j=(j+"").toLowerCase(),de=!0}}l.prototype._isBuffer=!0;function E(j,M,z){const de=j[M];j[M]=j[z],j[z]=de}l.prototype.swap16=function(){const j=this.length;if(j%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let M=0;M<j;M+=2)E(this,M,M+1);return this},l.prototype.swap32=function(){const j=this.length;if(j%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let M=0;M<j;M+=4)E(this,M,M+3),E(this,M+1,M+2);return this},l.prototype.swap64=function(){const j=this.length;if(j%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let M=0;M<j;M+=8)E(this,M,M+7),E(this,M+1,M+6),E(this,M+2,M+5),E(this,M+3,M+4);return this},l.prototype.toString=function(){const j=this.length;return j===0?"":arguments.length===0?ne(this,0,j):R.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(j){if(!l.isBuffer(j))throw new TypeError("Argument must be a Buffer");return this===j?!0:l.compare(this,j)===0},l.prototype.inspect=function(){let j="";const M=e.INSPECT_MAX_BYTES;return j=this.toString("hex",0,M).replace(/(.{2})/g,"$1 ").trim(),this.length>M&&(j+=" ... "),"<Buffer "+j+">"},n&&(l.prototype[n]=l.prototype.inspect),l.prototype.compare=function(j,M,z,de,ke){if(Ge(j,Uint8Array)&&(j=l.from(j,j.offset,j.byteLength)),!l.isBuffer(j))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof j);if(M===void 0&&(M=0),z===void 0&&(z=j?j.length:0),de===void 0&&(de=0),ke===void 0&&(ke=this.length),M<0||z>j.length||de<0||ke>this.length)throw new RangeError("out of range index");if(de>=ke&&M>=z)return 0;if(de>=ke)return-1;if(M>=z)return 1;if(M>>>=0,z>>>=0,de>>>=0,ke>>>=0,this===j)return 0;let Ne=ke-de,De=z-M;const at=Math.min(Ne,De),yt=this.slice(de,ke),ht=j.slice(M,z);for(let Nt=0;Nt<at;++Nt)if(yt[Nt]!==ht[Nt]){Ne=yt[Nt],De=ht[Nt];break}return Ne<De?-1:De<Ne?1:0};function L(j,M,z,de,ke){if(j.length===0)return-1;if(typeof z=="string"?(de=z,z=0):z>2147483647?z=2147483647:z<-2147483648&&(z=-2147483648),z=+z,Je(z)&&(z=ke?0:j.length-1),z<0&&(z=j.length+z),z>=j.length){if(ke)return-1;z=j.length-1}else if(z<0)if(ke)z=0;else return-1;if(typeof M=="string"&&(M=l.from(M,de)),l.isBuffer(M))return M.length===0?-1:I(j,M,z,de,ke);if(typeof M=="number")return M=M&255,typeof Uint8Array.prototype.indexOf=="function"?ke?Uint8Array.prototype.indexOf.call(j,M,z):Uint8Array.prototype.lastIndexOf.call(j,M,z):I(j,[M],z,de,ke);throw new TypeError("val must be string, number or Buffer")}function I(j,M,z,de,ke){let Ne=1,De=j.length,at=M.length;if(de!==void 0&&(de=String(de).toLowerCase(),de==="ucs2"||de==="ucs-2"||de==="utf16le"||de==="utf-16le")){if(j.length<2||M.length<2)return-1;Ne=2,De/=2,at/=2,z/=2}function yt(Nt,Ht){return Ne===1?Nt[Ht]:Nt.readUInt16BE(Ht*Ne)}let ht;if(ke){let Nt=-1;for(ht=z;ht<De;ht++)if(yt(j,ht)===yt(M,Nt===-1?0:ht-Nt)){if(Nt===-1&&(Nt=ht),ht-Nt+1===at)return Nt*Ne}else Nt!==-1&&(ht-=ht-Nt),Nt=-1}else for(z+at>De&&(z=De-at),ht=z;ht>=0;ht--){let Nt=!0;for(let Ht=0;Ht<at;Ht++)if(yt(j,ht+Ht)!==yt(M,Ht)){Nt=!1;break}if(Nt)return ht}return-1}l.prototype.includes=function(j,M,z){return this.indexOf(j,M,z)!==-1},l.prototype.indexOf=function(j,M,z){return L(this,j,M,z,!0)},l.prototype.lastIndexOf=function(j,M,z){return L(this,j,M,z,!1)};function O(j,M,z,de){z=Number(z)||0;const ke=j.length-z;de?(de=Number(de),de>ke&&(de=ke)):de=ke;const Ne=M.length;de>Ne/2&&(de=Ne/2);let De;for(De=0;De<de;++De){const at=parseInt(M.substr(De*2,2),16);if(Je(at))return De;j[z+De]=at}return De}function P(j,M,z,de){return Ke(me(M,j.length-z),j,z,de)}function U(j,M,z,de){return Ke(je(M),j,z,de)}function Y(j,M,z,de){return Ke(Ye(M),j,z,de)}function q(j,M,z,de){return Ke(he(M,j.length-z),j,z,de)}l.prototype.write=function(j,M,z,de){if(M===void 0)de="utf8",z=this.length,M=0;else if(z===void 0&&typeof M=="string")de=M,z=this.length,M=0;else if(isFinite(M))M=M>>>0,isFinite(z)?(z=z>>>0,de===void 0&&(de="utf8")):(de=z,z=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const ke=this.length-M;if((z===void 0||z>ke)&&(z=ke),j.length>0&&(z<0||M<0)||M>this.length)throw new RangeError("Attempt to write outside buffer bounds");de||(de="utf8");let Ne=!1;for(;;)switch(de){case"hex":return O(this,j,M,z);case"utf8":case"utf-8":return P(this,j,M,z);case"ascii":case"latin1":case"binary":return U(this,j,M,z);case"base64":return Y(this,j,M,z);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,j,M,z);default:if(Ne)throw new TypeError("Unknown encoding: "+de);de=(""+de).toLowerCase(),Ne=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Q(j,M,z){return M===0&&z===j.length?t.fromByteArray(j):t.fromByteArray(j.slice(M,z))}function ne(j,M,z){z=Math.min(j.length,z);const de=[];let ke=M;for(;ke<z;){const Ne=j[ke];let De=null,at=Ne>239?4:Ne>223?3:Ne>191?2:1;if(ke+at<=z){let yt,ht,Nt,Ht;switch(at){case 1:Ne<128&&(De=Ne);break;case 2:yt=j[ke+1],(yt&192)===128&&(Ht=(Ne&31)<<6|yt&63,Ht>127&&(De=Ht));break;case 3:yt=j[ke+1],ht=j[ke+2],(yt&192)===128&&(ht&192)===128&&(Ht=(Ne&15)<<12|(yt&63)<<6|ht&63,Ht>2047&&(Ht<55296||Ht>57343)&&(De=Ht));break;case 4:yt=j[ke+1],ht=j[ke+2],Nt=j[ke+3],(yt&192)===128&&(ht&192)===128&&(Nt&192)===128&&(Ht=(Ne&15)<<18|(yt&63)<<12|(ht&63)<<6|Nt&63,Ht>65535&&Ht<1114112&&(De=Ht))}}De===null?(De=65533,at=1):De>65535&&(De-=65536,de.push(De>>>10&1023|55296),De=56320|De&1023),de.push(De),ke+=at}return G(de)}const le=4096;function G(j){const M=j.length;if(M<=le)return String.fromCharCode.apply(String,j);let z="",de=0;for(;de<M;)z+=String.fromCharCode.apply(String,j.slice(de,de+=le));return z}function ce(j,M,z){let de="";z=Math.min(j.length,z);for(let ke=M;ke<z;++ke)de+=String.fromCharCode(j[ke]&127);return de}function ee(j,M,z){let de="";z=Math.min(j.length,z);for(let ke=M;ke<z;++ke)de+=String.fromCharCode(j[ke]);return de}function fe(j,M,z){const de=j.length;(!M||M<0)&&(M=0),(!z||z<0||z>de)&&(z=de);let ke="";for(let Ne=M;Ne<z;++Ne)ke+=He[j[Ne]];return ke}function oe(j,M,z){const de=j.slice(M,z);let ke="";for(let Ne=0;Ne<de.length-1;Ne+=2)ke+=String.fromCharCode(de[Ne]+de[Ne+1]*256);return ke}l.prototype.slice=function(j,M){const z=this.length;j=~~j,M=M===void 0?z:~~M,j<0?(j+=z,j<0&&(j=0)):j>z&&(j=z),M<0?(M+=z,M<0&&(M=0)):M>z&&(M=z),M<j&&(M=j);const de=this.subarray(j,M);return Object.setPrototypeOf(de,l.prototype),de};function F(j,M,z){if(j%1!==0||j<0)throw new RangeError("offset is not uint");if(j+M>z)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(j,M,z){j=j>>>0,M=M>>>0,z||F(j,M,this.length);let de=this[j],ke=1,Ne=0;for(;++Ne<M&&(ke*=256);)de+=this[j+Ne]*ke;return de},l.prototype.readUintBE=l.prototype.readUIntBE=function(j,M,z){j=j>>>0,M=M>>>0,z||F(j,M,this.length);let de=this[j+--M],ke=1;for(;M>0&&(ke*=256);)de+=this[j+--M]*ke;return de},l.prototype.readUint8=l.prototype.readUInt8=function(j,M){return j=j>>>0,M||F(j,1,this.length),this[j]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(j,M){return j=j>>>0,M||F(j,2,this.length),this[j]|this[j+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(j,M){return j=j>>>0,M||F(j,2,this.length),this[j]<<8|this[j+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(j,M){return j=j>>>0,M||F(j,4,this.length),(this[j]|this[j+1]<<8|this[j+2]<<16)+this[j+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(j,M){return j=j>>>0,M||F(j,4,this.length),this[j]*16777216+(this[j+1]<<16|this[j+2]<<8|this[j+3])},l.prototype.readBigUInt64LE=ot(function(j){j=j>>>0,B(j,"offset");const M=this[j],z=this[j+7];(M===void 0||z===void 0)&&re(j,this.length-8);const de=M+this[++j]*2**8+this[++j]*2**16+this[++j]*2**24,ke=this[++j]+this[++j]*2**8+this[++j]*2**16+z*2**24;return BigInt(de)+(BigInt(ke)<<BigInt(32))}),l.prototype.readBigUInt64BE=ot(function(j){j=j>>>0,B(j,"offset");const M=this[j],z=this[j+7];(M===void 0||z===void 0)&&re(j,this.length-8);const de=M*2**24+this[++j]*2**16+this[++j]*2**8+this[++j],ke=this[++j]*2**24+this[++j]*2**16+this[++j]*2**8+z;return(BigInt(de)<<BigInt(32))+BigInt(ke)}),l.prototype.readIntLE=function(j,M,z){j=j>>>0,M=M>>>0,z||F(j,M,this.length);let de=this[j],ke=1,Ne=0;for(;++Ne<M&&(ke*=256);)de+=this[j+Ne]*ke;return ke*=128,de>=ke&&(de-=Math.pow(2,8*M)),de},l.prototype.readIntBE=function(j,M,z){j=j>>>0,M=M>>>0,z||F(j,M,this.length);let de=M,ke=1,Ne=this[j+--de];for(;de>0&&(ke*=256);)Ne+=this[j+--de]*ke;return ke*=128,Ne>=ke&&(Ne-=Math.pow(2,8*M)),Ne},l.prototype.readInt8=function(j,M){return j=j>>>0,M||F(j,1,this.length),this[j]&128?(255-this[j]+1)*-1:this[j]},l.prototype.readInt16LE=function(j,M){j=j>>>0,M||F(j,2,this.length);const z=this[j]|this[j+1]<<8;return z&32768?z|4294901760:z},l.prototype.readInt16BE=function(j,M){j=j>>>0,M||F(j,2,this.length);const z=this[j+1]|this[j]<<8;return z&32768?z|4294901760:z},l.prototype.readInt32LE=function(j,M){return j=j>>>0,M||F(j,4,this.length),this[j]|this[j+1]<<8|this[j+2]<<16|this[j+3]<<24},l.prototype.readInt32BE=function(j,M){return j=j>>>0,M||F(j,4,this.length),this[j]<<24|this[j+1]<<16|this[j+2]<<8|this[j+3]},l.prototype.readBigInt64LE=ot(function(j){j=j>>>0,B(j,"offset");const M=this[j],z=this[j+7];(M===void 0||z===void 0)&&re(j,this.length-8);const de=this[j+4]+this[j+5]*2**8+this[j+6]*2**16+(z<<24);return(BigInt(de)<<BigInt(32))+BigInt(M+this[++j]*2**8+this[++j]*2**16+this[++j]*2**24)}),l.prototype.readBigInt64BE=ot(function(j){j=j>>>0,B(j,"offset");const M=this[j],z=this[j+7];(M===void 0||z===void 0)&&re(j,this.length-8);const de=(M<<24)+this[++j]*2**16+this[++j]*2**8+this[++j];return(BigInt(de)<<BigInt(32))+BigInt(this[++j]*2**24+this[++j]*2**16+this[++j]*2**8+z)}),l.prototype.readFloatLE=function(j,M){return j=j>>>0,M||F(j,4,this.length),r.read(this,j,!0,23,4)},l.prototype.readFloatBE=function(j,M){return j=j>>>0,M||F(j,4,this.length),r.read(this,j,!1,23,4)},l.prototype.readDoubleLE=function(j,M){return j=j>>>0,M||F(j,8,this.length),r.read(this,j,!0,52,8)},l.prototype.readDoubleBE=function(j,M){return j=j>>>0,M||F(j,8,this.length),r.read(this,j,!1,52,8)};function ie(j,M,z,de,ke,Ne){if(!l.isBuffer(j))throw new TypeError('"buffer" argument must be a Buffer instance');if(M>ke||M<Ne)throw new RangeError('"value" argument is out of bounds');if(z+de>j.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(j,M,z,de){if(j=+j,M=M>>>0,z=z>>>0,!de){const De=Math.pow(2,8*z)-1;ie(this,j,M,z,De,0)}let ke=1,Ne=0;for(this[M]=j&255;++Ne<z&&(ke*=256);)this[M+Ne]=j/ke&255;return M+z},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(j,M,z,de){if(j=+j,M=M>>>0,z=z>>>0,!de){const De=Math.pow(2,8*z)-1;ie(this,j,M,z,De,0)}let ke=z-1,Ne=1;for(this[M+ke]=j&255;--ke>=0&&(Ne*=256);)this[M+ke]=j/Ne&255;return M+z},l.prototype.writeUint8=l.prototype.writeUInt8=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,1,255,0),this[M]=j&255,M+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,2,65535,0),this[M]=j&255,this[M+1]=j>>>8,M+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,2,65535,0),this[M]=j>>>8,this[M+1]=j&255,M+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,4,4294967295,0),this[M+3]=j>>>24,this[M+2]=j>>>16,this[M+1]=j>>>8,this[M]=j&255,M+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,4,4294967295,0),this[M]=j>>>24,this[M+1]=j>>>16,this[M+2]=j>>>8,this[M+3]=j&255,M+4};function W(j,M,z,de,ke){N(M,de,ke,j,z,7);let Ne=Number(M&BigInt(4294967295));j[z++]=Ne,Ne=Ne>>8,j[z++]=Ne,Ne=Ne>>8,j[z++]=Ne,Ne=Ne>>8,j[z++]=Ne;let De=Number(M>>BigInt(32)&BigInt(4294967295));return j[z++]=De,De=De>>8,j[z++]=De,De=De>>8,j[z++]=De,De=De>>8,j[z++]=De,z}function V(j,M,z,de,ke){N(M,de,ke,j,z,7);let Ne=Number(M&BigInt(4294967295));j[z+7]=Ne,Ne=Ne>>8,j[z+6]=Ne,Ne=Ne>>8,j[z+5]=Ne,Ne=Ne>>8,j[z+4]=Ne;let De=Number(M>>BigInt(32)&BigInt(4294967295));return j[z+3]=De,De=De>>8,j[z+2]=De,De=De>>8,j[z+1]=De,De=De>>8,j[z]=De,z+8}l.prototype.writeBigUInt64LE=ot(function(j,M=0){return W(this,j,M,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=ot(function(j,M=0){return V(this,j,M,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(j,M,z,de){if(j=+j,M=M>>>0,!de){const at=Math.pow(2,8*z-1);ie(this,j,M,z,at-1,-at)}let ke=0,Ne=1,De=0;for(this[M]=j&255;++ke<z&&(Ne*=256);)j<0&&De===0&&this[M+ke-1]!==0&&(De=1),this[M+ke]=(j/Ne>>0)-De&255;return M+z},l.prototype.writeIntBE=function(j,M,z,de){if(j=+j,M=M>>>0,!de){const at=Math.pow(2,8*z-1);ie(this,j,M,z,at-1,-at)}let ke=z-1,Ne=1,De=0;for(this[M+ke]=j&255;--ke>=0&&(Ne*=256);)j<0&&De===0&&this[M+ke+1]!==0&&(De=1),this[M+ke]=(j/Ne>>0)-De&255;return M+z},l.prototype.writeInt8=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,1,127,-128),j<0&&(j=255+j+1),this[M]=j&255,M+1},l.prototype.writeInt16LE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,2,32767,-32768),this[M]=j&255,this[M+1]=j>>>8,M+2},l.prototype.writeInt16BE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,2,32767,-32768),this[M]=j>>>8,this[M+1]=j&255,M+2},l.prototype.writeInt32LE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,4,2147483647,-2147483648),this[M]=j&255,this[M+1]=j>>>8,this[M+2]=j>>>16,this[M+3]=j>>>24,M+4},l.prototype.writeInt32BE=function(j,M,z){return j=+j,M=M>>>0,z||ie(this,j,M,4,2147483647,-2147483648),j<0&&(j=4294967295+j+1),this[M]=j>>>24,this[M+1]=j>>>16,this[M+2]=j>>>8,this[M+3]=j&255,M+4},l.prototype.writeBigInt64LE=ot(function(j,M=0){return W(this,j,M,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=ot(function(j,M=0){return V(this,j,M,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function pe(j,M,z,de,ke,Ne){if(z+de>j.length)throw new RangeError("Index out of range");if(z<0)throw new RangeError("Index out of range")}function K(j,M,z,de,ke){return M=+M,z=z>>>0,ke||pe(j,M,z,4),r.write(j,M,z,de,23,4),z+4}l.prototype.writeFloatLE=function(j,M,z){return K(this,j,M,!0,z)},l.prototype.writeFloatBE=function(j,M,z){return K(this,j,M,!1,z)};function se(j,M,z,de,ke){return M=+M,z=z>>>0,ke||pe(j,M,z,8),r.write(j,M,z,de,52,8),z+8}l.prototype.writeDoubleLE=function(j,M,z){return se(this,j,M,!0,z)},l.prototype.writeDoubleBE=function(j,M,z){return se(this,j,M,!1,z)},l.prototype.copy=function(j,M,z,de){if(!l.isBuffer(j))throw new TypeError("argument should be a Buffer");if(z||(z=0),!de&&de!==0&&(de=this.length),M>=j.length&&(M=j.length),M||(M=0),de>0&&de<z&&(de=z),de===z||j.length===0||this.length===0)return 0;if(M<0)throw new RangeError("targetStart out of bounds");if(z<0||z>=this.length)throw new RangeError("Index out of range");if(de<0)throw new RangeError("sourceEnd out of bounds");de>this.length&&(de=this.length),j.length-M<de-z&&(de=j.length-M+z);const ke=de-z;return this===j&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(M,z,de):Uint8Array.prototype.set.call(j,this.subarray(z,de),M),ke},l.prototype.fill=function(j,M,z,de){if(typeof j=="string"){if(typeof M=="string"?(de=M,M=0,z=this.length):typeof z=="string"&&(de=z,z=this.length),de!==void 0&&typeof de!="string")throw new TypeError("encoding must be a string");if(typeof de=="string"&&!l.isEncoding(de))throw new TypeError("Unknown encoding: "+de);if(j.length===1){const Ne=j.charCodeAt(0);(de==="utf8"&&Ne<128||de==="latin1")&&(j=Ne)}}else typeof j=="number"?j=j&255:typeof j=="boolean"&&(j=Number(j));if(M<0||this.length<M||this.length<z)throw new RangeError("Out of range index");if(z<=M)return this;M=M>>>0,z=z===void 0?this.length:z>>>0,j||(j=0);let ke;if(typeof j=="number")for(ke=M;ke<z;++ke)this[ke]=j;else{const Ne=l.isBuffer(j)?j:l.from(j,de),De=Ne.length;if(De===0)throw new TypeError('The value "'+j+'" is invalid for argument "value"');for(ke=0;ke<z-M;++ke)this[ke+M]=Ne[ke%De]}return this};const X={};function te(j,M,z){X[j]=class extends z{constructor(){super(),Object.defineProperty(this,"message",{value:M.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${j}]`,delete this.name}get code(){return j}set code(de){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:de,writable:!0})}toString(){return`${this.name} [${j}]: ${this.message}`}}}te("ERR_BUFFER_OUT_OF_BOUNDS",function(j){return j?`${j} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),te("ERR_INVALID_ARG_TYPE",function(j,M){return`The "${j}" argument must be of type number. Received type ${typeof M}`},TypeError),te("ERR_OUT_OF_RANGE",function(j,M,z){let de=`The value of "${j}" is out of range.`,ke=z;return Number.isInteger(z)&&Math.abs(z)>2**32?ke=_e(String(z)):typeof z=="bigint"&&(ke=String(z),(z>BigInt(2)**BigInt(32)||z<-(BigInt(2)**BigInt(32)))&&(ke=_e(ke)),ke+="n"),de+=` It must be ${M}. Received ${ke}`,de},RangeError);function _e(j){let M="",z=j.length;const de=j[0]==="-"?1:0;for(;z>=de+4;z-=3)M=`_${j.slice(z-3,z)}${M}`;return`${j.slice(0,z)}${M}`}function S(j,M,z){B(M,"offset"),(j[M]===void 0||j[M+z]===void 0)&&re(M,j.length-(z+1))}function N(j,M,z,de,ke,Ne){if(j>z||j<M){const De=typeof M=="bigint"?"n":"";let at;throw M===0||M===BigInt(0)?at=`>= 0${De} and < 2${De} ** ${(Ne+1)*8}${De}`:at=`>= -(2${De} ** ${(Ne+1)*8-1}${De}) and < 2 ** ${(Ne+1)*8-1}${De}`,new X.ERR_OUT_OF_RANGE("value",at,j)}S(de,ke,Ne)}function B(j,M){if(typeof j!="number")throw new X.ERR_INVALID_ARG_TYPE(M,"number",j)}function re(j,M,z){throw Math.floor(j)!==j?(B(j,z),new X.ERR_OUT_OF_RANGE("offset","an integer",j)):M<0?new X.ERR_BUFFER_OUT_OF_BOUNDS:new X.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${M}`,j)}const ye=/[^+/0-9A-Za-z-_]/g;function ue(j){if(j=j.split("=")[0],j=j.trim().replace(ye,""),j.length<2)return"";for(;j.length%4!==0;)j=j+"=";return j}function me(j,M){M=M||1/0;let z;const de=j.length;let ke=null;const Ne=[];for(let De=0;De<de;++De){if(z=j.charCodeAt(De),z>55295&&z<57344){if(!ke){if(z>56319){(M-=3)>-1&&Ne.push(239,191,189);continue}else if(De+1===de){(M-=3)>-1&&Ne.push(239,191,189);continue}ke=z;continue}if(z<56320){(M-=3)>-1&&Ne.push(239,191,189),ke=z;continue}z=(ke-55296<<10|z-56320)+65536}else ke&&(M-=3)>-1&&Ne.push(239,191,189);if(ke=null,z<128){if((M-=1)<0)break;Ne.push(z)}else if(z<2048){if((M-=2)<0)break;Ne.push(z>>6|192,z&63|128)}else if(z<65536){if((M-=3)<0)break;Ne.push(z>>12|224,z>>6&63|128,z&63|128)}else if(z<1114112){if((M-=4)<0)break;Ne.push(z>>18|240,z>>12&63|128,z>>6&63|128,z&63|128)}else throw new Error("Invalid code point")}return Ne}function je(j){const M=[];for(let z=0;z<j.length;++z)M.push(j.charCodeAt(z)&255);return M}function he(j,M){let z,de,ke;const Ne=[];for(let De=0;De<j.length&&!((M-=2)<0);++De)z=j.charCodeAt(De),de=z>>8,ke=z%256,Ne.push(ke),Ne.push(de);return Ne}function Ye(j){return t.toByteArray(ue(j))}function Ke(j,M,z,de){let ke;for(ke=0;ke<de&&!(ke+z>=M.length||ke>=j.length);++ke)M[ke+z]=j[ke];return ke}function Ge(j,M){return j instanceof M||j!=null&&j.constructor!=null&&j.constructor.name!=null&&j.constructor.name===M.name}function Je(j){return j!==j}const He=(function(){const j="0123456789abcdef",M=new Array(256);for(let z=0;z<16;++z){const de=z*16;for(let ke=0;ke<16;++ke)M[de+ke]=j[z]+j[ke]}return M})();function ot(j){return typeof BigInt>"u"?ur:j}function ur(){throw new Error("BigInt not supported")}})(iq)),iq}const pq=Sa(Kz);var i3,uq;function sMe(){if(uq)return i3;uq=1;function e(y,x){var k=Object.keys(y);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(y);x&&(w=w.filter(function(_){return Object.getOwnPropertyDescriptor(y,_).enumerable})),k.push.apply(k,w)}return k}function t(y){for(var x=1;x<arguments.length;x++){var k=arguments[x]!=null?arguments[x]:{};x%2?e(Object(k),!0).forEach(function(w){r(y,w,k[w])}):Object.getOwnPropertyDescriptors?Object.defineProperties(y,Object.getOwnPropertyDescriptors(k)):e(Object(k)).forEach(function(w){Object.defineProperty(y,w,Object.getOwnPropertyDescriptor(k,w))})}return y}function r(y,x,k){return x=i(x),x in y?Object.defineProperty(y,x,{value:k,enumerable:!0,configurable:!0,writable:!0}):y[x]=k,y}function n(y,x){if(!(y instanceof x))throw new TypeError("Cannot call a class as a function")}function o(y,x){for(var k=0;k<x.length;k++){var w=x[k];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(y,i(w.key),w)}}function a(y,x,k){return x&&o(y.prototype,x),Object.defineProperty(y,"prototype",{writable:!1}),y}function i(y){var x=l(y,"string");return typeof x=="symbol"?x:String(x)}function l(y,x){if(typeof y!="object"||y===null)return y;var k=y[Symbol.toPrimitive];if(k!==void 0){var w=k.call(y,x);if(typeof w!="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(y)}var p=uh(),u=p.Buffer,h=pq,f=h.inspect,b=f&&f.custom||"inspect";function v(y,x,k){u.prototype.copy.call(y,x,k)}return i3=(function(){function y(){n(this,y),this.head=null,this.tail=null,this.length=0}return a(y,[{key:"push",value:function(x){var k={data:x,next:null};this.length>0?this.tail.next=k:this.head=k,this.tail=k,++this.length}},{key:"unshift",value:function(x){var k={data:x,next:this.head};this.length===0&&(this.tail=k),this.head=k,++this.length}},{key:"shift",value:function(){if(this.length!==0){var x=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,x}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(x){if(this.length===0)return"";for(var k=this.head,w=""+k.data;k=k.next;)w+=x+k.data;return w}},{key:"concat",value:function(x){if(this.length===0)return u.alloc(0);for(var k=u.allocUnsafe(x>>>0),w=this.head,_=0;w;)v(w.data,k,_),_+=w.data.length,w=w.next;return k}},{key:"consume",value:function(x,k){var w;return x<this.head.data.length?(w=this.head.data.slice(0,x),this.head.data=this.head.data.slice(x)):x===this.head.data.length?w=this.shift():w=k?this._getString(x):this._getBuffer(x),w}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(x){var k=this.head,w=1,_=k.data;for(x-=_.length;k=k.next;){var A=k.data,R=x>A.length?A.length:x;if(R===A.length?_+=A:_+=A.slice(0,x),x-=R,x===0){R===A.length?(++w,k.next?this.head=k.next:this.head=this.tail=null):(this.head=k,k.data=A.slice(R));break}++w}return this.length-=w,_}},{key:"_getBuffer",value:function(x){var k=u.allocUnsafe(x),w=this.head,_=1;for(w.data.copy(k),x-=w.data.length;w=w.next;){var A=w.data,R=x>A.length?A.length:x;if(A.copy(k,k.length-x,0,R),x-=R,x===0){R===A.length?(++_,w.next?this.head=w.next:this.head=this.tail=null):(this.head=w,w.data=A.slice(R));break}++_}return this.length-=_,k}},{key:b,value:function(x,k){return f(this,t(t({},k),{},{depth:0,customInspect:!1}))}}]),y})(),i3}var s3,dq;function hq(){if(dq)return s3;dq=1;function e(i,l){var p=this,u=this._readableState&&this._readableState.destroyed,h=this._writableState&&this._writableState.destroyed;return u||h?(l?l(i):i&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process.nextTick(o,this,i)):process.nextTick(o,this,i)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(i||null,function(f){!l&&f?p._writableState?p._writableState.errorEmitted?process.nextTick(r,p):(p._writableState.errorEmitted=!0,process.nextTick(t,p,f)):process.nextTick(t,p,f):l?(process.nextTick(r,p),l(f)):process.nextTick(r,p)}),this)}function t(i,l){o(i,l),r(i)}function r(i){i._writableState&&!i._writableState.emitClose||i._readableState&&!i._readableState.emitClose||i.emit("close")}function n(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function o(i,l){i.emit("error",l)}function a(i,l){var p=i._readableState,u=i._writableState;p&&p.autoDestroy||u&&u.autoDestroy?i.destroy(l):i.emit("error",l)}return s3={destroy:e,undestroy:n,errorOrDestroy:a},s3}var l3={},fq;function Ap(){if(fq)return l3;fq=1;function e(l,p){l.prototype=Object.create(p.prototype),l.prototype.constructor=l,l.__proto__=p}var t={};function r(l,p,u){u||(u=Error);function h(b,v,y){return typeof p=="string"?p:p(b,v,y)}var f=(function(b){e(v,b);function v(y,x,k){return b.call(this,h(y,x,k))||this}return v})(u);f.prototype.name=u.name,f.prototype.code=l,t[l]=f}function n(l,p){if(Array.isArray(l)){var u=l.length;return l=l.map(function(h){return String(h)}),u>2?"one of ".concat(p," ").concat(l.slice(0,u-1).join(", "),", or ")+l[u-1]:u===2?"one of ".concat(p," ").concat(l[0]," or ").concat(l[1]):"of ".concat(p," ").concat(l[0])}else return"of ".concat(p," ").concat(String(l))}function o(l,p,u){return l.substr(0,p.length)===p}function a(l,p,u){return(u===void 0||u>l.length)&&(u=l.length),l.substring(u-p.length,u)===p}function i(l,p,u){return typeof u!="number"&&(u=0),u+p.length>l.length?!1:l.indexOf(p,u)!==-1}return r("ERR_INVALID_OPT_VALUE",function(l,p){return'The value "'+p+'" is invalid for option "'+l+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(l,p,u){var h;typeof p=="string"&&o(p,"not ")?(h="must not be",p=p.replace(/^not /,"")):h="must be";var f;if(a(l," argument"))f="The ".concat(l," ").concat(h," ").concat(n(p,"type"));else{var b=i(l,".")?"property":"argument";f='The "'.concat(l,'" ').concat(b," ").concat(h," ").concat(n(p,"type"))}return f+=". Received type ".concat(typeof u),f},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(l){return"The "+l+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(l){return"Cannot call "+l+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(l){return"Unknown encoding: "+l},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),l3.codes=t,l3}var c3,mq;function gq(){if(mq)return c3;mq=1;var e=Ap().codes.ERR_INVALID_OPT_VALUE;function t(n,o,a){return n.highWaterMark!=null?n.highWaterMark:o?n[a]:null}function r(n,o,a,i){var l=t(o,i,a);if(l!=null){if(!(isFinite(l)&&Math.floor(l)===l)||l<0){var p=i?a:"highWaterMark";throw new e(p,l)}return Math.floor(l)}return n.objectMode?16:16*1024}return c3={getHighWaterMark:r},c3}var p3,bq;function lMe(){if(bq)return p3;bq=1,p3=e;function e(r,n){if(t("noDeprecation"))return r;var o=!1;function a(){if(!o){if(t("throwDeprecation"))throw new Error(n);t("traceDeprecation")?console.trace(n):console.warn(n),o=!0}return r.apply(this,arguments)}return a}function t(r){try{if(!globalThis.localStorage)return!1}catch{return!1}var n=globalThis.localStorage[r];return n==null?!1:String(n).toLowerCase()==="true"}return p3}var u3,vq;function yq(){if(vq)return u3;vq=1,u3=O;function e(K){var se=this;this.next=null,this.entry=null,this.finish=function(){pe(se,K)}}var t;O.WritableState=L;var r={deprecate:lMe()},n=aq(),o=uh().Buffer,a=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function i(K){return o.from(K)}function l(K){return o.isBuffer(K)||K instanceof a}var p=hq(),u=gq(),h=u.getHighWaterMark,f=Ap().codes,b=f.ERR_INVALID_ARG_TYPE,v=f.ERR_METHOD_NOT_IMPLEMENTED,y=f.ERR_MULTIPLE_CALLBACK,x=f.ERR_STREAM_CANNOT_PIPE,k=f.ERR_STREAM_DESTROYED,w=f.ERR_STREAM_NULL_VALUES,_=f.ERR_STREAM_WRITE_AFTER_END,A=f.ERR_UNKNOWN_ENCODING,R=p.errorOrDestroy;function E(){}function L(K,se,X){t=t||Ep(),K=K||{},typeof X!="boolean"&&(X=se instanceof t),this.objectMode=!!K.objectMode,X&&(this.objectMode=this.objectMode||!!K.writableObjectMode),this.highWaterMark=h(this,K,"writableHighWaterMark",X),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var te=K.decodeStrings===!1;this.decodeStrings=!te,this.defaultEncoding=K.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(_e){G(se,_e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=K.emitClose!==!1,this.autoDestroy=!!K.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new e(this)}L.prototype.getBuffer=function(){for(var K=this.bufferedRequest,se=[];K;)se.push(K),K=K.next;return se},(function(){try{Object.defineProperty(L.prototype,"buffer",{get:r.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}})();var I;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(I=Function.prototype[Symbol.hasInstance],Object.defineProperty(O,Symbol.hasInstance,{value:function(K){return I.call(this,K)?!0:this!==O?!1:K&&K._writableState instanceof L}})):I=function(K){return K instanceof this};function O(K){t=t||Ep();var se=this instanceof t;if(!se&&!I.call(O,this))return new O(K);this._writableState=new L(K,this,se),this.writable=!0,K&&(typeof K.write=="function"&&(this._write=K.write),typeof K.writev=="function"&&(this._writev=K.writev),typeof K.destroy=="function"&&(this._destroy=K.destroy),typeof K.final=="function"&&(this._final=K.final)),n.call(this)}O.prototype.pipe=function(){R(this,new x)};function P(K,se){var X=new _;R(K,X),process.nextTick(se,X)}function U(K,se,X,te){var _e;return X===null?_e=new w:typeof X!="string"&&!se.objectMode&&(_e=new b("chunk",["string","Buffer"],X)),_e?(R(K,_e),process.nextTick(te,_e),!1):!0}O.prototype.write=function(K,se,X){var te=this._writableState,_e=!1,S=!te.objectMode&&l(K);return S&&!o.isBuffer(K)&&(K=i(K)),typeof se=="function"&&(X=se,se=null),S?se="buffer":se||(se=te.defaultEncoding),typeof X!="function"&&(X=E),te.ending?P(this,X):(S||U(this,te,K,X))&&(te.pendingcb++,_e=q(this,te,S,K,se,X)),_e},O.prototype.cork=function(){this._writableState.corked++},O.prototype.uncork=function(){var K=this._writableState;K.corked&&(K.corked--,!K.writing&&!K.corked&&!K.bufferProcessing&&K.bufferedRequest&&fe(this,K))},O.prototype.setDefaultEncoding=function(K){if(typeof K=="string"&&(K=K.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((K+"").toLowerCase())>-1))throw new A(K);return this._writableState.defaultEncoding=K,this},Object.defineProperty(O.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Y(K,se,X){return!K.objectMode&&K.decodeStrings!==!1&&typeof se=="string"&&(se=o.from(se,X)),se}Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function q(K,se,X,te,_e,S){if(!X){var N=Y(se,te,_e);te!==N&&(X=!0,_e="buffer",te=N)}var B=se.objectMode?1:te.length;se.length+=B;var re=se.length<se.highWaterMark;if(re||(se.needDrain=!0),se.writing||se.corked){var ye=se.lastBufferedRequest;se.lastBufferedRequest={chunk:te,encoding:_e,isBuf:X,callback:S,next:null},ye?ye.next=se.lastBufferedRequest:se.bufferedRequest=se.lastBufferedRequest,se.bufferedRequestCount+=1}else Q(K,se,!1,B,te,_e,S);return re}function Q(K,se,X,te,_e,S,N){se.writelen=te,se.writecb=N,se.writing=!0,se.sync=!0,se.destroyed?se.onwrite(new k("write")):X?K._writev(_e,se.onwrite):K._write(_e,S,se.onwrite),se.sync=!1}function ne(K,se,X,te,_e){--se.pendingcb,X?(process.nextTick(_e,te),process.nextTick(W,K,se),K._writableState.errorEmitted=!0,R(K,te)):(_e(te),K._writableState.errorEmitted=!0,R(K,te),W(K,se))}function le(K){K.writing=!1,K.writecb=null,K.length-=K.writelen,K.writelen=0}function G(K,se){var X=K._writableState,te=X.sync,_e=X.writecb;if(typeof _e!="function")throw new y;if(le(X),se)ne(K,X,te,se,_e);else{var S=oe(X)||K.destroyed;!S&&!X.corked&&!X.bufferProcessing&&X.bufferedRequest&&fe(K,X),te?process.nextTick(ce,K,X,S,_e):ce(K,X,S,_e)}}function ce(K,se,X,te){X||ee(K,se),se.pendingcb--,te(),W(K,se)}function ee(K,se){se.length===0&&se.needDrain&&(se.needDrain=!1,K.emit("drain"))}function fe(K,se){se.bufferProcessing=!0;var X=se.bufferedRequest;if(K._writev&&X&&X.next){var te=se.bufferedRequestCount,_e=new Array(te),S=se.corkedRequestsFree;S.entry=X;for(var N=0,B=!0;X;)_e[N]=X,X.isBuf||(B=!1),X=X.next,N+=1;_e.allBuffers=B,Q(K,se,!0,se.length,_e,"",S.finish),se.pendingcb++,se.lastBufferedRequest=null,S.next?(se.corkedRequestsFree=S.next,S.next=null):se.corkedRequestsFree=new e(se),se.bufferedRequestCount=0}else{for(;X;){var re=X.chunk,ye=X.encoding,ue=X.callback,me=se.objectMode?1:re.length;if(Q(K,se,!1,me,re,ye,ue),X=X.next,se.bufferedRequestCount--,se.writing)break}X===null&&(se.lastBufferedRequest=null)}se.bufferedRequest=X,se.bufferProcessing=!1}O.prototype._write=function(K,se,X){X(new v("_write()"))},O.prototype._writev=null,O.prototype.end=function(K,se,X){var te=this._writableState;return typeof K=="function"?(X=K,K=null,se=null):typeof se=="function"&&(X=se,se=null),K!=null&&this.write(K,se),te.corked&&(te.corked=1,this.uncork()),te.ending||V(this,te,X),this},Object.defineProperty(O.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function oe(K){return K.ending&&K.length===0&&K.bufferedRequest===null&&!K.finished&&!K.writing}function F(K,se){K._final(function(X){se.pendingcb--,X&&R(K,X),se.prefinished=!0,K.emit("prefinish"),W(K,se)})}function ie(K,se){!se.prefinished&&!se.finalCalled&&(typeof K._final=="function"&&!se.destroyed?(se.pendingcb++,se.finalCalled=!0,process.nextTick(F,K,se)):(se.prefinished=!0,K.emit("prefinish")))}function W(K,se){var X=oe(se);if(X&&(ie(K,se),se.pendingcb===0&&(se.finished=!0,K.emit("finish"),se.autoDestroy))){var te=K._readableState;(!te||te.autoDestroy&&te.endEmitted)&&K.destroy()}return X}function V(K,se,X){se.ending=!0,W(K,se),X&&(se.finished?process.nextTick(X):K.once("finish",X)),se.ended=!0,K.writable=!1}function pe(K,se,X){var te=K.entry;for(K.entry=null;te;){var _e=te.callback;se.pendingcb--,_e(X),te=te.next}se.corkedRequestsFree.next=K}return Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(K){this._writableState&&(this._writableState.destroyed=K)}}),O.prototype.destroy=p.destroy,O.prototype._undestroy=p.undestroy,O.prototype._destroy=function(K,se){se(K)},u3}var d3,xq;function Ep(){if(xq)return d3;xq=1;var e=Object.keys||function(u){var h=[];for(var f in u)h.push(f);return h};d3=i;for(var t=Oq(),r=yq(),n=e(r.prototype),o=0;o<n.length;o++){var a=n[o];i.prototype[a]||(i.prototype[a]=r.prototype[a])}function i(u){if(!(this instanceof i))return new i(u);t.call(this,u),r.call(this,u),this.allowHalfOpen=!0,u&&(u.readable===!1&&(this.readable=!1),u.writable===!1&&(this.writable=!1),u.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",l)))}Object.defineProperty(i.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(i.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(i.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function l(){this._writableState.ended||process.nextTick(p,this)}function p(u){u.end()}return Object.defineProperty(i.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(u){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=u,this._writableState.destroyed=u)}}),d3}var h3={},f3={exports:{}},wq;function cMe(){return wq||(wq=1,(function(e,t){var r=uh(),n=r.Buffer;function o(i,l){for(var p in i)l[p]=i[p]}n.from&&n.alloc&&n.allocUnsafe&&n.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=a);function a(i,l,p){return n(i,l,p)}a.prototype=Object.create(n.prototype),o(n,a),a.from=function(i,l,p){if(typeof i=="number")throw new TypeError("Argument must not be a number");return n(i,l,p)},a.alloc=function(i,l,p){if(typeof i!="number")throw new TypeError("Argument must be a number");var u=n(i);return l!==void 0?typeof p=="string"?u.fill(l,p):u.fill(l):u.fill(0),u},a.allocUnsafe=function(i){if(typeof i!="number")throw new TypeError("Argument must be a number");return n(i)},a.allocUnsafeSlow=function(i){if(typeof i!="number")throw new TypeError("Argument must be a number");return r.SlowBuffer(i)}})(f3,f3.exports)),f3.exports}var Sq;function Cq(){if(Sq)return h3;Sq=1;var e=cMe().Buffer,t=e.isEncoding||function(w){switch(w=""+w,w&&w.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function r(w){if(!w)return"utf8";for(var _;;)switch(w){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return w;default:if(_)return;w=(""+w).toLowerCase(),_=!0}}function n(w){var _=r(w);if(typeof _!="string"&&(e.isEncoding===t||!t(w)))throw new Error("Unknown encoding: "+w);return _||w}h3.StringDecoder=o;function o(w){this.encoding=n(w);var _;switch(this.encoding){case"utf16le":this.text=f,this.end=b,_=4;break;case"utf8":this.fillLast=p,_=4;break;case"base64":this.text=v,this.end=y,_=3;break;default:this.write=x,this.end=k;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=e.allocUnsafe(_)}o.prototype.write=function(w){if(w.length===0)return"";var _,A;if(this.lastNeed){if(_=this.fillLast(w),_===void 0)return"";A=this.lastNeed,this.lastNeed=0}else A=0;return A<w.length?_?_+this.text(w,A):this.text(w,A):_||""},o.prototype.end=h,o.prototype.text=u,o.prototype.fillLast=function(w){if(this.lastNeed<=w.length)return w.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);w.copy(this.lastChar,this.lastTotal-this.lastNeed,0,w.length),this.lastNeed-=w.length};function a(w){return w<=127?0:w>>5===6?2:w>>4===14?3:w>>3===30?4:w>>6===2?-1:-2}function i(w,_,A){var R=_.length-1;if(R<A)return 0;var E=a(_[R]);return E>=0?(E>0&&(w.lastNeed=E-1),E):--R<A||E===-2?0:(E=a(_[R]),E>=0?(E>0&&(w.lastNeed=E-2),E):--R<A||E===-2?0:(E=a(_[R]),E>=0?(E>0&&(E===2?E=0:w.lastNeed=E-3),E):0))}function l(w,_,A){if((_[0]&192)!==128)return w.lastNeed=0,"\uFFFD";if(w.lastNeed>1&&_.length>1){if((_[1]&192)!==128)return w.lastNeed=1,"\uFFFD";if(w.lastNeed>2&&_.length>2&&(_[2]&192)!==128)return w.lastNeed=2,"\uFFFD"}}function p(w){var _=this.lastTotal-this.lastNeed,A=l(this,w);if(A!==void 0)return A;if(this.lastNeed<=w.length)return w.copy(this.lastChar,_,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);w.copy(this.lastChar,_,0,w.length),this.lastNeed-=w.length}function u(w,_){var A=i(this,w,_);if(!this.lastNeed)return w.toString("utf8",_);this.lastTotal=A;var R=w.length-(A-this.lastNeed);return w.copy(this.lastChar,0,R),w.toString("utf8",_,R)}function h(w){var _=w&&w.length?this.write(w):"";return this.lastNeed?_+"\uFFFD":_}function f(w,_){if((w.length-_)%2===0){var A=w.toString("utf16le",_);if(A){var R=A.charCodeAt(A.length-1);if(R>=55296&&R<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=w[w.length-2],this.lastChar[1]=w[w.length-1],A.slice(0,-1)}return A}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=w[w.length-1],w.toString("utf16le",_,w.length-1)}function b(w){var _=w&&w.length?this.write(w):"";if(this.lastNeed){var A=this.lastTotal-this.lastNeed;return _+this.lastChar.toString("utf16le",0,A)}return _}function v(w,_){var A=(w.length-_)%3;return A===0?w.toString("base64",_):(this.lastNeed=3-A,this.lastTotal=3,A===1?this.lastChar[0]=w[w.length-1]:(this.lastChar[0]=w[w.length-2],this.lastChar[1]=w[w.length-1]),w.toString("base64",_,w.length-A))}function y(w){var _=w&&w.length?this.write(w):"";return this.lastNeed?_+this.lastChar.toString("base64",0,3-this.lastNeed):_}function x(w){return w.toString(this.encoding)}function k(w){return w&&w.length?this.write(w):""}return h3}var m3,kq;function g3(){if(kq)return m3;kq=1;var e=Ap().codes.ERR_STREAM_PREMATURE_CLOSE;function t(a){var i=!1;return function(){if(!i){i=!0;for(var l=arguments.length,p=new Array(l),u=0;u<l;u++)p[u]=arguments[u];a.apply(this,p)}}}function r(){}function n(a){return a.setHeader&&typeof a.abort=="function"}function o(a,i,l){if(typeof i=="function")return o(a,null,i);i||(i={}),l=t(l||r);var p=i.readable||i.readable!==!1&&a.readable,u=i.writable||i.writable!==!1&&a.writable,h=function(){a.writable||b()},f=a._writableState&&a._writableState.finished,b=function(){u=!1,f=!0,p||l.call(a)},v=a._readableState&&a._readableState.endEmitted,y=function(){p=!1,v=!0,u||l.call(a)},x=function(_){l.call(a,_)},k=function(){var _;if(p&&!v)return(!a._readableState||!a._readableState.ended)&&(_=new e),l.call(a,_);if(u&&!f)return(!a._writableState||!a._writableState.ended)&&(_=new e),l.call(a,_)},w=function(){a.req.on("finish",b)};return n(a)?(a.on("complete",b),a.on("abort",k),a.req?w():a.on("request",w)):u&&!a._writableState&&(a.on("end",h),a.on("close",h)),a.on("end",y),a.on("finish",b),i.error!==!1&&a.on("error",x),a.on("close",k),function(){a.removeListener("complete",b),a.removeListener("abort",k),a.removeListener("request",w),a.req&&a.req.removeListener("finish",b),a.removeListener("end",h),a.removeListener("close",h),a.removeListener("finish",b),a.removeListener("end",y),a.removeListener("error",x),a.removeListener("close",k)}}return m3=o,m3}var b3,_q;function pMe(){if(_q)return b3;_q=1;var e;function t(A,R,E){return R=r(R),R in A?Object.defineProperty(A,R,{value:E,enumerable:!0,configurable:!0,writable:!0}):A[R]=E,A}function r(A){var R=n(A,"string");return typeof R=="symbol"?R:String(R)}function n(A,R){if(typeof A!="object"||A===null)return A;var E=A[Symbol.toPrimitive];if(E!==void 0){var L=E.call(A,R);if(typeof L!="object")return L;throw new TypeError("@@toPrimitive must return a primitive value.")}return(R==="string"?String:Number)(A)}var o=g3(),a=Symbol("lastResolve"),i=Symbol("lastReject"),l=Symbol("error"),p=Symbol("ended"),u=Symbol("lastPromise"),h=Symbol("handlePromise"),f=Symbol("stream");function b(A,R){return{value:A,done:R}}function v(A){var R=A[a];if(R!==null){var E=A[f].read();E!==null&&(A[u]=null,A[a]=null,A[i]=null,R(b(E,!1)))}}function y(A){process.nextTick(v,A)}function x(A,R){return function(E,L){A.then(function(){if(R[p]){E(b(void 0,!0));return}R[h](E,L)},L)}}var k=Object.getPrototypeOf(function(){}),w=Object.setPrototypeOf((e={get stream(){return this[f]},next:function(){var A=this,R=this[l];if(R!==null)return Promise.reject(R);if(this[p])return Promise.resolve(b(void 0,!0));if(this[f].destroyed)return new Promise(function(O,P){process.nextTick(function(){A[l]?P(A[l]):O(b(void 0,!0))})});var E=this[u],L;if(E)L=new Promise(x(E,this));else{var I=this[f].read();if(I!==null)return Promise.resolve(b(I,!1));L=new Promise(this[h])}return this[u]=L,L}},t(e,Symbol.asyncIterator,function(){return this}),t(e,"return",function(){var A=this;return new Promise(function(R,E){A[f].destroy(null,function(L){if(L){E(L);return}R(b(void 0,!0))})})}),e),k),_=function(A){var R,E=Object.create(w,(R={},t(R,f,{value:A,writable:!0}),t(R,a,{value:null,writable:!0}),t(R,i,{value:null,writable:!0}),t(R,l,{value:null,writable:!0}),t(R,p,{value:A._readableState.endEmitted,writable:!0}),t(R,h,{value:function(L,I){var O=E[f].read();O?(E[u]=null,E[a]=null,E[i]=null,L(b(O,!1))):(E[a]=L,E[i]=I)},writable:!0}),R));return E[u]=null,o(A,function(L){if(L&&L.code!=="ERR_STREAM_PREMATURE_CLOSE"){var I=E[i];I!==null&&(E[u]=null,E[a]=null,E[i]=null,I(L)),E[l]=L;return}var O=E[a];O!==null&&(E[u]=null,E[a]=null,E[i]=null,O(b(void 0,!0))),E[p]=!0}),A.on("readable",y.bind(null,E)),E};return b3=_,b3}var Aq,Eq;function uMe(){return Eq||(Eq=1,Aq=function(){throw new Error("Readable.from is not available in the browser")}),Aq}var v3,Tq;function Oq(){if(Tq)return v3;Tq=1,v3=P;var e;P.ReadableState=O;var t=function(S,N){return S.listeners(N).length},r=aq(),n=uh().Buffer,o=(typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function a(S){return n.from(S)}function i(S){return n.isBuffer(S)||S instanceof o}var l=pq,p;l&&l.debuglog?p=l.debuglog("stream"):p=function(){};var u=sMe(),h=hq(),f=gq(),b=f.getHighWaterMark,v=Ap().codes,y=v.ERR_INVALID_ARG_TYPE,x=v.ERR_STREAM_PUSH_AFTER_EOF,k=v.ERR_METHOD_NOT_IMPLEMENTED,w=v.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,_,A,R,E=h.errorOrDestroy,L=["error","close","destroy","pause","resume"];function I(S,N,B){if(typeof S.prependListener=="function")return S.prependListener(N,B);!S._events||!S._events[N]?S.on(N,B):Array.isArray(S._events[N])?S._events[N].unshift(B):S._events[N]=[B,S._events[N]]}function O(S,N,B){e=e||Ep(),S=S||{},typeof B!="boolean"&&(B=N instanceof e),this.objectMode=!!S.objectMode,B&&(this.objectMode=this.objectMode||!!S.readableObjectMode),this.highWaterMark=b(this,S,"readableHighWaterMark",B),this.buffer=new u,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=S.emitClose!==!1,this.autoDestroy=!!S.autoDestroy,this.destroyed=!1,this.defaultEncoding=S.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,S.encoding&&(_||(_=Cq().StringDecoder),this.decoder=new _(S.encoding),this.encoding=S.encoding)}function P(S){if(e=e||Ep(),!(this instanceof P))return new P(S);var N=this instanceof e;this._readableState=new O(S,this,N),this.readable=!0,S&&(typeof S.read=="function"&&(this._read=S.read),typeof S.destroy=="function"&&(this._destroy=S.destroy)),r.call(this)}Object.defineProperty(P.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(S){this._readableState&&(this._readableState.destroyed=S)}}),P.prototype.destroy=h.destroy,P.prototype._undestroy=h.undestroy,P.prototype._destroy=function(S,N){N(S)},P.prototype.push=function(S,N){var B=this._readableState,re;return B.objectMode?re=!0:typeof S=="string"&&(N=N||B.defaultEncoding,N!==B.encoding&&(S=n.from(S,N),N=""),re=!0),U(this,S,N,!1,re)},P.prototype.unshift=function(S){return U(this,S,null,!0,!1)};function U(S,N,B,re,ye){p("readableAddChunk",N);var ue=S._readableState;if(N===null)ue.reading=!1,G(S,ue);else{var me;if(ye||(me=q(ue,N)),me)E(S,me);else if(ue.objectMode||N&&N.length>0)if(typeof N!="string"&&!ue.objectMode&&Object.getPrototypeOf(N)!==n.prototype&&(N=a(N)),re)ue.endEmitted?E(S,new w):Y(S,ue,N,!0);else if(ue.ended)E(S,new x);else{if(ue.destroyed)return!1;ue.reading=!1,ue.decoder&&!B?(N=ue.decoder.write(N),ue.objectMode||N.length!==0?Y(S,ue,N,!1):fe(S,ue)):Y(S,ue,N,!1)}else re||(ue.reading=!1,fe(S,ue))}return!ue.ended&&(ue.length<ue.highWaterMark||ue.length===0)}function Y(S,N,B,re){N.flowing&&N.length===0&&!N.sync?(N.awaitDrain=0,S.emit("data",B)):(N.length+=N.objectMode?1:B.length,re?N.buffer.unshift(B):N.buffer.push(B),N.needReadable&&ce(S)),fe(S,N)}function q(S,N){var B;return!i(N)&&typeof N!="string"&&N!==void 0&&!S.objectMode&&(B=new y("chunk",["string","Buffer","Uint8Array"],N)),B}P.prototype.isPaused=function(){return this._readableState.flowing===!1},P.prototype.setEncoding=function(S){_||(_=Cq().StringDecoder);var N=new _(S);this._readableState.decoder=N,this._readableState.encoding=this._readableState.decoder.encoding;for(var B=this._readableState.buffer.head,re="";B!==null;)re+=N.write(B.data),B=B.next;return this._readableState.buffer.clear(),re!==""&&this._readableState.buffer.push(re),this._readableState.length=re.length,this};var Q=1073741824;function ne(S){return S>=Q?S=Q:(S--,S|=S>>>1,S|=S>>>2,S|=S>>>4,S|=S>>>8,S|=S>>>16,S++),S}function le(S,N){return S<=0||N.length===0&&N.ended?0:N.objectMode?1:S!==S?N.flowing&&N.length?N.buffer.head.data.length:N.length:(S>N.highWaterMark&&(N.highWaterMark=ne(S)),S<=N.length?S:N.ended?N.length:(N.needReadable=!0,0))}P.prototype.read=function(S){p("read",S),S=parseInt(S,10);var N=this._readableState,B=S;if(S!==0&&(N.emittedReadable=!1),S===0&&N.needReadable&&((N.highWaterMark!==0?N.length>=N.highWaterMark:N.length>0)||N.ended))return p("read: emitReadable",N.length,N.ended),N.length===0&&N.ended?X(this):ce(this),null;if(S=le(S,N),S===0&&N.ended)return N.length===0&&X(this),null;var re=N.needReadable;p("need readable",re),(N.length===0||N.length-S<N.highWaterMark)&&(re=!0,p("length less than watermark",re)),N.ended||N.reading?(re=!1,p("reading or ended",re)):re&&(p("do read"),N.reading=!0,N.sync=!0,N.length===0&&(N.needReadable=!0),this._read(N.highWaterMark),N.sync=!1,N.reading||(S=le(B,N)));var ye;return S>0?ye=se(S,N):ye=null,ye===null?(N.needReadable=N.length<=N.highWaterMark,S=0):(N.length-=S,N.awaitDrain=0),N.length===0&&(N.ended||(N.needReadable=!0),B!==S&&N.ended&&X(this)),ye!==null&&this.emit("data",ye),ye};function G(S,N){if(p("onEofChunk"),!N.ended){if(N.decoder){var B=N.decoder.end();B&&B.length&&(N.buffer.push(B),N.length+=N.objectMode?1:B.length)}N.ended=!0,N.sync?ce(S):(N.needReadable=!1,N.emittedReadable||(N.emittedReadable=!0,ee(S)))}}function ce(S){var N=S._readableState;p("emitReadable",N.needReadable,N.emittedReadable),N.needReadable=!1,N.emittedReadable||(p("emitReadable",N.flowing),N.emittedReadable=!0,process.nextTick(ee,S))}function ee(S){var N=S._readableState;p("emitReadable_",N.destroyed,N.length,N.ended),!N.destroyed&&(N.length||N.ended)&&(S.emit("readable"),N.emittedReadable=!1),N.needReadable=!N.flowing&&!N.ended&&N.length<=N.highWaterMark,K(S)}function fe(S,N){N.readingMore||(N.readingMore=!0,process.nextTick(oe,S,N))}function oe(S,N){for(;!N.reading&&!N.ended&&(N.length<N.highWaterMark||N.flowing&&N.length===0);){var B=N.length;if(p("maybeReadMore read 0"),S.read(0),B===N.length)break}N.readingMore=!1}P.prototype._read=function(S){E(this,new k("_read()"))},P.prototype.pipe=function(S,N){var B=this,re=this._readableState;switch(re.pipesCount){case 0:re.pipes=S;break;case 1:re.pipes=[re.pipes,S];break;default:re.pipes.push(S);break}re.pipesCount+=1,p("pipe count=%d opts=%j",re.pipesCount,N);var ye=(!N||N.end!==!1)&&S!==null&&S!==process.stderr,ue=ye?je:ur;re.endEmitted?process.nextTick(ue):B.once("end",ue),S.on("unpipe",me);function me(j,M){p("onunpipe"),j===B&&M&&M.hasUnpiped===!1&&(M.hasUnpiped=!0,Ke())}function je(){p("onend"),S.end()}var he=F(B);S.on("drain",he);var Ye=!1;function Ke(){p("cleanup"),S.removeListener("close",He),S.removeListener("finish",ot),S.removeListener("drain",he),S.removeListener("error",Je),S.removeListener("unpipe",me),B.removeListener("end",je),B.removeListener("end",ur),B.removeListener("data",Ge),Ye=!0,re.awaitDrain&&(!S._writableState||S._writableState.needDrain)&&he()}B.on("data",Ge);function Ge(j){p("ondata");var M=S.write(j);p("dest.write",M),M===!1&&((re.pipesCount===1&&re.pipes===S||re.pipesCount>1&&_e(re.pipes,S)!==-1)&&!Ye&&(p("false write response, pause",re.awaitDrain),re.awaitDrain++),B.pause())}function Je(j){p("onerror",j),ur(),S.removeListener("error",Je),t(S,"error")===0&&E(S,j)}I(S,"error",Je);function He(){S.removeListener("finish",ot),ur()}S.once("close",He);function ot(){p("onfinish"),S.removeListener("close",He),ur()}S.once("finish",ot);function ur(){p("unpipe"),B.unpipe(S)}return S.emit("pipe",B),re.flowing||(p("pipe resume"),B.resume()),S};function F(S){return function(){var N=S._readableState;p("pipeOnDrain",N.awaitDrain),N.awaitDrain&&N.awaitDrain--,N.awaitDrain===0&&t(S,"data")&&(N.flowing=!0,K(S))}}P.prototype.unpipe=function(S){var N=this._readableState,B={hasUnpiped:!1};if(N.pipesCount===0)return this;if(N.pipesCount===1)return S&&S!==N.pipes?this:(S||(S=N.pipes),N.pipes=null,N.pipesCount=0,N.flowing=!1,S&&S.emit("unpipe",this,B),this);if(!S){var re=N.pipes,ye=N.pipesCount;N.pipes=null,N.pipesCount=0,N.flowing=!1;for(var ue=0;ue<ye;ue++)re[ue].emit("unpipe",this,{hasUnpiped:!1});return this}var me=_e(N.pipes,S);return me===-1?this:(N.pipes.splice(me,1),N.pipesCount-=1,N.pipesCount===1&&(N.pipes=N.pipes[0]),S.emit("unpipe",this,B),this)},P.prototype.on=function(S,N){var B=r.prototype.on.call(this,S,N),re=this._readableState;return S==="data"?(re.readableListening=this.listenerCount("readable")>0,re.flowing!==!1&&this.resume()):S==="readable"&&!re.endEmitted&&!re.readableListening&&(re.readableListening=re.needReadable=!0,re.flowing=!1,re.emittedReadable=!1,p("on readable",re.length,re.reading),re.length?ce(this):re.reading||process.nextTick(W,this)),B},P.prototype.addListener=P.prototype.on,P.prototype.removeListener=function(S,N){var B=r.prototype.removeListener.call(this,S,N);return S==="readable"&&process.nextTick(ie,this),B},P.prototype.removeAllListeners=function(S){var N=r.prototype.removeAllListeners.apply(this,arguments);return(S==="readable"||S===void 0)&&process.nextTick(ie,this),N};function ie(S){var N=S._readableState;N.readableListening=S.listenerCount("readable")>0,N.resumeScheduled&&!N.paused?N.flowing=!0:S.listenerCount("data")>0&&S.resume()}function W(S){p("readable nexttick read 0"),S.read(0)}P.prototype.resume=function(){var S=this._readableState;return S.flowing||(p("resume"),S.flowing=!S.readableListening,V(this,S)),S.paused=!1,this};function V(S,N){N.resumeScheduled||(N.resumeScheduled=!0,process.nextTick(pe,S,N))}function pe(S,N){p("resume",N.reading),N.reading||S.read(0),N.resumeScheduled=!1,S.emit("resume"),K(S),N.flowing&&!N.reading&&S.read(0)}P.prototype.pause=function(){return p("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(p("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function K(S){var N=S._readableState;for(p("flow",N.flowing);N.flowing&&S.read()!==null;);}P.prototype.wrap=function(S){var N=this,B=this._readableState,re=!1;S.on("end",function(){if(p("wrapped end"),B.decoder&&!B.ended){var me=B.decoder.end();me&&me.length&&N.push(me)}N.push(null)}),S.on("data",function(me){if(p("wrapped data"),B.decoder&&(me=B.decoder.write(me)),!(B.objectMode&&me==null)&&!(!B.objectMode&&(!me||!me.length))){var je=N.push(me);je||(re=!0,S.pause())}});for(var ye in S)this[ye]===void 0&&typeof S[ye]=="function"&&(this[ye]=(function(me){return function(){return S[me].apply(S,arguments)}})(ye));for(var ue=0;ue<L.length;ue++)S.on(L[ue],this.emit.bind(this,L[ue]));return this._read=function(me){p("wrapped _read",me),re&&(re=!1,S.resume())},this},typeof Symbol=="function"&&(P.prototype[Symbol.asyncIterator]=function(){return A===void 0&&(A=pMe()),A(this)}),Object.defineProperty(P.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(P.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(P.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(S){this._readableState&&(this._readableState.flowing=S)}}),P._fromList=se,Object.defineProperty(P.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function se(S,N){if(N.length===0)return null;var B;return N.objectMode?B=N.buffer.shift():!S||S>=N.length?(N.decoder?B=N.buffer.join(""):N.buffer.length===1?B=N.buffer.first():B=N.buffer.concat(N.length),N.buffer.clear()):B=N.buffer.consume(S,N.decoder),B}function X(S){var N=S._readableState;p("endReadable",N.endEmitted),N.endEmitted||(N.ended=!0,process.nextTick(te,N,S))}function te(S,N){if(p("endReadableNT",S.endEmitted,S.length),!S.endEmitted&&S.length===0&&(S.endEmitted=!0,N.readable=!1,N.emit("end"),S.autoDestroy)){var B=N._writableState;(!B||B.autoDestroy&&B.finished)&&N.destroy()}}typeof Symbol=="function"&&(P.from=function(S,N){return R===void 0&&(R=uMe()),R(P,S,N)});function _e(S,N){for(var B=0,re=S.length;B<re;B++)if(S[B]===N)return B;return-1}return v3}var y3,Rq;function jq(){if(Rq)return y3;Rq=1,y3=l;var e=Ap().codes,t=e.ERR_METHOD_NOT_IMPLEMENTED,r=e.ERR_MULTIPLE_CALLBACK,n=e.ERR_TRANSFORM_ALREADY_TRANSFORMING,o=e.ERR_TRANSFORM_WITH_LENGTH_0,a=Ep();function i(h,f){var b=this._transformState;b.transforming=!1;var v=b.writecb;if(v===null)return this.emit("error",new r);b.writechunk=null,b.writecb=null,f!=null&&this.push(f),v(h);var y=this._readableState;y.reading=!1,(y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}function l(h){if(!(this instanceof l))return new l(h);a.call(this,h),this._transformState={afterTransform:i.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,h&&(typeof h.transform=="function"&&(this._transform=h.transform),typeof h.flush=="function"&&(this._flush=h.flush)),this.on("prefinish",p)}function p(){var h=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(f,b){u(h,f,b)}):u(this,null,null)}l.prototype.push=function(h,f){return this._transformState.needTransform=!1,a.prototype.push.call(this,h,f)},l.prototype._transform=function(h,f,b){b(new t("_transform()"))},l.prototype._write=function(h,f,b){var v=this._transformState;if(v.writecb=b,v.writechunk=h,v.writeencoding=f,!v.transforming){var y=this._readableState;(v.needTransform||y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}},l.prototype._read=function(h){var f=this._transformState;f.writechunk!==null&&!f.transforming?(f.transforming=!0,this._transform(f.writechunk,f.writeencoding,f.afterTransform)):f.needTransform=!0},l.prototype._destroy=function(h,f){a.prototype._destroy.call(this,h,function(b){f(b)})};function u(h,f,b){if(f)return h.emit("error",f);if(b!=null&&h.push(b),h._writableState.length)throw new o;if(h._transformState.transforming)throw new n;return h.push(null)}return y3}var x3,Lq;function dMe(){if(Lq)return x3;Lq=1,x3=t;var e=jq();function t(r){if(!(this instanceof t))return new t(r);e.call(this,r)}return t.prototype._transform=function(r,n,o){o(null,r)},x3}var w3,Nq;function hMe(){if(Nq)return w3;Nq=1;var e;function t(b){var v=!1;return function(){v||(v=!0,b.apply(void 0,arguments))}}var r=Ap().codes,n=r.ERR_MISSING_ARGS,o=r.ERR_STREAM_DESTROYED;function a(b){if(b)throw b}function i(b){return b.setHeader&&typeof b.abort=="function"}function l(b,v,y,x){x=t(x);var k=!1;b.on("close",function(){k=!0}),e===void 0&&(e=g3()),e(b,{readable:v,writable:y},function(_){if(_)return x(_);k=!0,x()});var w=!1;return function(_){if(!k&&!w){if(w=!0,i(b))return b.abort();if(typeof b.destroy=="function")return b.destroy();x(_||new o("pipe"))}}}function p(b){b()}function u(b,v){return b.pipe(v)}function h(b){return!b.length||typeof b[b.length-1]!="function"?a:b.pop()}function f(){for(var b=arguments.length,v=new Array(b),y=0;y<b;y++)v[y]=arguments[y];var x=h(v);if(Array.isArray(v[0])&&(v=v[0]),v.length<2)throw new n("streams");var k,w=v.map(function(_,A){var R=A<v.length-1,E=A>0;return l(_,R,E,function(L){k||(k=L),L&&w.forEach(p),!R&&(w.forEach(p),x(k))})});return v.reduce(u)}return w3=f,w3}var Iq;function Pq(){return Iq||(Iq=1,(function(e,t){t=e.exports=Oq(),t.Stream=t,t.Readable=t,t.Writable=yq(),t.Duplex=Ep(),t.Transform=jq(),t.PassThrough=dMe(),t.finished=g3(),t.pipeline=hMe()})(o3,o3.exports)),o3.exports}var Mq;function Dq(){if(Mq)return j1;Mq=1;var e=tq(),t=p2(),r=Pq(),n=j1.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},o=j1.IncomingMessage=function(a,i,l,p){var u=this;if(r.Readable.call(u),u._mode=l,u.headers={},u.rawHeaders=[],u.trailers={},u.rawTrailers=[],u.on("end",function(){process.nextTick(function(){u.emit("close")})}),l==="fetch"){let x=function(){f.read().then(function(k){if(!u._destroyed){if(p(k.done),k.done){u.push(null);return}u.push(Buffer.from(k.value)),x()}}).catch(function(k){p(!0),u._destroyed||u.emit("error",k)})};if(u._fetchResponse=i,u.url=i.url,u.statusCode=i.status,u.statusMessage=i.statusText,i.headers.forEach(function(k,w){u.headers[w.toLowerCase()]=k,u.rawHeaders.push(w,k)}),e.writableStream){var h=new WritableStream({write:function(k){return p(!1),new Promise(function(w,_){u._destroyed?_():u.push(Buffer.from(k))?w():u._resumeFetch=w})},close:function(){p(!0),u._destroyed||u.push(null)},abort:function(k){p(!0),u._destroyed||u.emit("error",k)}});try{i.body.pipeTo(h).catch(function(k){p(!0),u._destroyed||u.emit("error",k)});return}catch{}}var f=i.body.getReader();x()}else{u._xhr=a,u._pos=0,u.url=a.responseURL,u.statusCode=a.status,u.statusMessage=a.statusText;var b=a.getAllResponseHeaders().split(/\r?\n/);if(b.forEach(function(x){var k=x.match(/^([^:]+):\s*(.*)/);if(k){var w=k[1].toLowerCase();w==="set-cookie"?(u.headers[w]===void 0&&(u.headers[w]=[]),u.headers[w].push(k[2])):u.headers[w]!==void 0?u.headers[w]+=", "+k[2]:u.headers[w]=k[2],u.rawHeaders.push(k[1],k[2])}}),u._charset="x-user-defined",!e.overrideMimeType){var v=u.rawHeaders["mime-type"];if(v){var y=v.match(/;\s*charset=([^;])(;|$)/);y&&(u._charset=y[1].toLowerCase())}u._charset||(u._charset="utf-8")}}};return t(o,r.Readable),o.prototype._read=function(){var a=this,i=a._resumeFetch;i&&(a._resumeFetch=null,i())},o.prototype._onXHRProgress=function(a){var i=this,l=i._xhr,p=null;switch(i._mode){case"text":if(p=l.responseText,p.length>i._pos){var u=p.substr(i._pos);if(i._charset==="x-user-defined"){for(var h=Buffer.alloc(u.length),f=0;f<u.length;f++)h[f]=u.charCodeAt(f)&255;i.push(h)}else i.push(u,i._charset);i._pos=p.length}break;case"arraybuffer":if(l.readyState!==n.DONE||!l.response)break;p=l.response,i.push(Buffer.from(new Uint8Array(p)));break;case"moz-chunked-arraybuffer":if(p=l.response,l.readyState!==n.LOADING||!p)break;i.push(Buffer.from(new Uint8Array(p)));break;case"ms-stream":if(p=l.response,l.readyState!==n.LOADING)break;var b=new globalThis.MSStreamReader;b.onprogress=function(){b.result.byteLength>i._pos&&(i.push(Buffer.from(new Uint8Array(b.result.slice(i._pos)))),i._pos=b.result.byteLength)},b.onload=function(){a(!0),i.push(null)},b.readAsArrayBuffer(p);break}i._xhr.readyState===n.DONE&&i._mode!=="ms-stream"&&(a(!0),i.push(null))},j1}var $q;function fMe(){if($q)return n3.exports;$q=1;var e=tq(),t=p2(),r=Dq(),n=Pq(),o=r.IncomingMessage,a=r.readyStates;function i(h,f){return e.fetch&&f?"fetch":e.mozchunkedarraybuffer?"moz-chunked-arraybuffer":e.msstream?"ms-stream":e.arraybuffer&&h?"arraybuffer":"text"}var l=n3.exports=function(h){var f=this;n.Writable.call(f),f._opts=h,f._body=[],f._headers={},h.auth&&f.setHeader("Authorization","Basic "+Buffer.from(h.auth).toString("base64")),Object.keys(h.headers).forEach(function(y){f.setHeader(y,h.headers[y])});var b,v=!0;if(h.mode==="disable-fetch"||"requestTimeout"in h&&!e.abortController)v=!1,b=!0;else if(h.mode==="prefer-streaming")b=!1;else if(h.mode==="allow-wrong-content-type")b=!e.overrideMimeType;else if(!h.mode||h.mode==="default"||h.mode==="prefer-fast")b=!0;else throw new Error("Invalid value for opts.mode");f._mode=i(b,v),f._fetchTimer=null,f._socketTimeout=null,f._socketTimer=null,f.on("finish",function(){f._onFinish()})};t(l,n.Writable),l.prototype.setHeader=function(h,f){var b=this,v=h.toLowerCase();u.indexOf(v)===-1&&(b._headers[v]={name:h,value:f})},l.prototype.getHeader=function(h){var f=this._headers[h.toLowerCase()];return f?f.value:null},l.prototype.removeHeader=function(h){var f=this;delete f._headers[h.toLowerCase()]},l.prototype._onFinish=function(){var h=this;if(!h._destroyed){var f=h._opts;"timeout"in f&&f.timeout!==0&&h.setTimeout(f.timeout);var b=h._headers,v=null;f.method!=="GET"&&f.method!=="HEAD"&&(v=new Blob(h._body,{type:(b["content-type"]||{}).value||""}));var y=[];if(Object.keys(b).forEach(function(_){var A=b[_].name,R=b[_].value;Array.isArray(R)?R.forEach(function(E){y.push([A,E])}):y.push([A,R])}),h._mode==="fetch"){var x=null;if(e.abortController){var k=new AbortController;x=k.signal,h._fetchAbortController=k,"requestTimeout"in f&&f.requestTimeout!==0&&(h._fetchTimer=globalThis.setTimeout(function(){h.emit("requestTimeout"),h._fetchAbortController&&h._fetchAbortController.abort()},f.requestTimeout))}globalThis.fetch(h._opts.url,{method:h._opts.method,headers:y,body:v||void 0,mode:"cors",credentials:f.withCredentials?"include":"same-origin",signal:x}).then(function(_){h._fetchResponse=_,h._resetTimers(!1),h._connect()},function(_){h._resetTimers(!0),h._destroyed||h.emit("error",_)})}else{var w=h._xhr=new globalThis.XMLHttpRequest;try{w.open(h._opts.method,h._opts.url,!0)}catch(_){process.nextTick(function(){h.emit("error",_)});return}"responseType"in w&&(w.responseType=h._mode),"withCredentials"in w&&(w.withCredentials=!!f.withCredentials),h._mode==="text"&&"overrideMimeType"in w&&w.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in f&&(w.timeout=f.requestTimeout,w.ontimeout=function(){h.emit("requestTimeout")}),y.forEach(function(_){w.setRequestHeader(_[0],_[1])}),h._response=null,w.onreadystatechange=function(){switch(w.readyState){case a.LOADING:case a.DONE:h._onXHRProgress();break}},h._mode==="moz-chunked-arraybuffer"&&(w.onprogress=function(){h._onXHRProgress()}),w.onerror=function(){h._destroyed||(h._resetTimers(!0),h.emit("error",new Error("XHR error")))};try{w.send(v)}catch(_){process.nextTick(function(){h.emit("error",_)});return}}}};function p(h){try{var f=h.status;return f!==null&&f!==0}catch{return!1}}l.prototype._onXHRProgress=function(){var h=this;h._resetTimers(!1),!(!p(h._xhr)||h._destroyed)&&(h._response||h._connect(),h._response._onXHRProgress(h._resetTimers.bind(h)))},l.prototype._connect=function(){var h=this;h._destroyed||(h._response=new o(h._xhr,h._fetchResponse,h._mode,h._resetTimers.bind(h)),h._response.on("error",function(f){h.emit("error",f)}),h.emit("response",h._response))},l.prototype._write=function(h,f,b){var v=this;v._body.push(h),b()},l.prototype._resetTimers=function(h){var f=this;globalThis.clearTimeout(f._socketTimer),f._socketTimer=null,h?(globalThis.clearTimeout(f._fetchTimer),f._fetchTimer=null):f._socketTimeout&&(f._socketTimer=globalThis.setTimeout(function(){f.emit("timeout")},f._socketTimeout))},l.prototype.abort=l.prototype.destroy=function(h){var f=this;f._destroyed=!0,f._resetTimers(!0),f._response&&(f._response._destroyed=!0),f._xhr?f._xhr.abort():f._fetchAbortController&&f._fetchAbortController.abort(),h&&f.emit("error",h)},l.prototype.end=function(h,f,b){var v=this;typeof h=="function"&&(b=h,h=void 0),n.Writable.prototype.end.call(v,h,f,b)},l.prototype.setTimeout=function(h,f){var b=this;f&&b.once("timeout",f),b._socketTimeout=h,b._resetTimers(!1)},l.prototype.flushHeaders=function(){},l.prototype.setNoDelay=function(){},l.prototype.setSocketKeepAlive=function(){};var u=["accept-charset","accept-encoding","access-control-request-headers","access-control-request-method","connection","content-length","cookie","cookie2","date","dnt","expect","host","keep-alive","origin","referer","te","trailer","transfer-encoding","upgrade","via"];return n3.exports}var S3,zq;function mMe(){if(zq)return S3;zq=1,S3=t;var e=Object.prototype.hasOwnProperty;function t(){for(var r={},n=0;n<arguments.length;n++){var o=arguments[n];for(var a in o)e.call(o,a)&&(r[a]=o[a])}return r}return S3}var Uq,Fq;function gMe(){return Fq||(Fq=1,Uq={100:"Continue",101:"Switching Protocols",102:"Processing",200:"OK",201:"Created",202:"Accepted",203:"Non-Authoritative Information",204:"No Content",205:"Reset Content",206:"Partial Content",207:"Multi-Status",208:"Already Reported",226:"IM Used",300:"Multiple Choices",301:"Moved Permanently",302:"Found",303:"See Other",304:"Not Modified",305:"Use Proxy",307:"Temporary Redirect",308:"Permanent Redirect",400:"Bad Request",401:"Unauthorized",402:"Payment Required",403:"Forbidden",404:"Not Found",405:"Method Not Allowed",406:"Not Acceptable",407:"Proxy Authentication Required",408:"Request Timeout",409:"Conflict",410:"Gone",411:"Length Required",412:"Precondition Failed",413:"Payload Too Large",414:"URI Too Long",415:"Unsupported Media Type",416:"Range Not Satisfiable",417:"Expectation Failed",418:"I'm a teapot",421:"Misdirected Request",422:"Unprocessable Entity",423:"Locked",424:"Failed Dependency",425:"Unordered Collection",426:"Upgrade Required",428:"Precondition Required",429:"Too Many Requests",431:"Request Header Fields Too Large",451:"Unavailable For Legal Reasons",500:"Internal Server Error",501:"Not Implemented",502:"Bad Gateway",503:"Service Unavailable",504:"Gateway Timeout",505:"HTTP Version Not Supported",506:"Variant Also Negotiates",507:"Insufficient Storage",508:"Loop Detected",509:"Bandwidth Limit Exceeded",510:"Not Extended",511:"Network Authentication Required"}),Uq}var Bq;function bMe(){return Bq||(Bq=1,(function(e){var t=fMe(),r=Dq(),n=mMe(),o=gMe(),a=jS(),i=e;i.request=function(l,p){typeof l=="string"?l=a.parse(l):l=n(l);var u=globalThis.location.protocol.search(/^https?:$/)===-1?"http:":"",h=l.protocol||u,f=l.hostname||l.host,b=l.port,v=l.path||"/";f&&f.indexOf(":")!==-1&&(f="["+f+"]"),l.url=(f?h+"//"+f:"")+(b?":"+b:"")+v,l.method=(l.method||"GET").toUpperCase(),l.headers=l.headers||{};var y=new t(l);return p&&y.on("response",p),y},i.get=function(l,p){var u=i.request(l,p);return u.end(),u},i.ClientRequest=t,i.IncomingMessage=r.IncomingMessage,i.Agent=function(){},i.Agent.defaultMaxSockets=4,i.globalAgent=new i.Agent,i.STATUS_CODES=o,i.METHODS=["CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LOCK","M-SEARCH","MERGE","MKACTIVITY","MKCOL","MOVE","NOTIFY","OPTIONS","PATCH","POST","PROPFIND","PROPPATCH","PURGE","PUT","REPORT","SEARCH","SUBSCRIBE","TRACE","UNLOCK","UNSUBSCRIBE"]})(ZB)),ZB}var qq,Hq;function vMe(){return Hq||(Hq=1,qq={statusCodes:Object.assign({},{default:"Default response","1XX":"Informational",103:"Early hints","2XX":"Successful","3XX":"Redirection","4XX":"Client Error","5XX":"Server Error","7XX":"Developer Error"},bMe().STATUS_CODES)}),qq}const yMe="7.0.8",xMe={version:yMe};var C3,Vq;function wMe(){if(Vq)return C3;Vq=1;const e=d1,t=jS(),r=YIe(),n=d1,o=FB(),a=O1(),i=a.jptr,l=YS().isRef,p=R1().clone,u=R1().circularClone,h=QS().recurse,f=rMe(),b=nMe(),v=KB(),y=vMe().statusCodes,x=xMe.version,k="3.0.0";let w;class _ extends Error{constructor(N){super(N),this.name="S2OError"}}function A(S,N){let B=new _(S);if(B.options=N,N.promise)N.promise.reject(B);else throw B}function R(S,N,B){B.warnOnly?N[B.warnProperty||"x-s2o-warning"]=S:A(S,B)}function E(S,N,B){if(S.nullable&&B.patches++,S.discriminator&&typeof S.discriminator=="string"&&(S.discriminator={propertyName:S.discriminator}),S.items&&Array.isArray(S.items)&&(S.items.length===0?S.items={}:S.items.length===1?S.items=S.items[0]:S.items={anyOf:S.items}),S.type&&Array.isArray(S.type))if(B.patch){if(B.patches++,S.type.length===0)delete S.type;else{S.oneOf||(S.oneOf=[]);for(let re of S.type){let ye={};if(re==="null")S.nullable=!0;else{ye.type=re;for(let ue of v.arrayProperties)typeof S.prop<"u"&&(ye[ue]=S[ue],delete S[ue])}ye.type&&S.oneOf.push(ye)}delete S.type,S.oneOf.length===0?delete S.oneOf:S.oneOf.length<2&&(S.type=S.oneOf[0].type,Object.keys(S.oneOf[0]).length>1&&R("Lost properties from oneOf",S,B),delete S.oneOf)}S.type&&Array.isArray(S.type)&&S.type.length===1&&(S.type=S.type[0])}else A("(Patchable) schema type must not be an array",B);S.type&&S.type==="null"&&(delete S.type,S.nullable=!0),S.type==="array"&&!S.items&&(S.items={}),S.type==="file"&&(S.type="string",S.format="binary"),typeof S.required=="boolean"&&(S.required&&S.name&&(typeof N.required>"u"&&(N.required=[]),Array.isArray(N.required)&&N.required.push(S.name)),delete S.required),S.xml&&typeof S.xml.namespace=="string"&&(S.xml.namespace||delete S.xml.namespace),typeof S.allowEmptyValue<"u"&&(B.patches++,delete S.allowEmptyValue)}function L(S,N){if(S["x-required"]&&Array.isArray(S["x-required"])&&(S.required||(S.required=[]),S.required=S.required.concat(S["x-required"]),delete S["x-required"]),S["x-anyOf"]&&(S.anyOf=S["x-anyOf"],delete S["x-anyOf"]),S["x-oneOf"]&&(S.oneOf=S["x-oneOf"],delete S["x-oneOf"]),S["x-not"]&&(S.not=S["x-not"],delete S["x-not"]),typeof S["x-nullable"]=="boolean"&&(S.nullable=S["x-nullable"],delete S["x-nullable"]),typeof S["x-discriminator"]=="object"&&typeof S["x-discriminator"].propertyName=="string"){S.discriminator=S["x-discriminator"],delete S["x-discriminator"];for(let B in S.discriminator.mapping){let re=S.discriminator.mapping[B];re.startsWith("#/definitions/")&&(S.discriminator.mapping[B]=re.replace("#/definitions/","#/components/schemas/"))}}}function I(S,N){b.walkSchema(S,{},{},function(B,re,ye){L(B),E(B,re,N)})}function O(S){return S.indexOf("#")>=0?S=S.split("#")[1].split("/").pop():S=S.split("/").pop().split(".")[0],encodeURIComponent(v.sanitise(S))}function P(S,N,B){let re=B.payload.options;if(l(S,N)){if(!S[N].startsWith("#/components/")){if(S[N]==="#/consumes")delete S[N],B.parent[B.pkey]=p(re.openapi.consumes);else if(S[N]==="#/produces")delete S[N],B.parent[B.pkey]=p(re.openapi.produces);else if(S[N].startsWith("#/definitions/")){let ye=S[N].replace("#/definitions/","").split("/");const ue=a.jpunescape(ye[0]);let me=w.schemas[decodeURIComponent(ue)];me?ye[0]=me:R("Could not resolve reference "+S[N],S,re),S[N]="#/components/schemas/"+ye.join("/")}else if(S[N].startsWith("#/parameters/"))S[N]="#/components/parameters/"+v.sanitise(S[N].replace("#/parameters/",""));else if(S[N].startsWith("#/responses/"))S[N]="#/components/responses/"+v.sanitise(S[N].replace("#/responses/",""));else if(S[N].startsWith("#")){let ye=p(a.jptr(re.openapi,S[N]));if(ye===!1)R("direct $ref not found "+S[N],S,re);else if(re.refmap[S[N]])S[N]=re.refmap[S[N]];else{let ue=S[N];ue=ue.replace("/properties/headers/",""),ue=ue.replace("/properties/responses/",""),ue=ue.replace("/properties/parameters/",""),ue=ue.replace("/properties/schemas/","");let me="schemas",je=ue.lastIndexOf("/schema");if(me=ue.indexOf("/headers/")>je?"headers":ue.indexOf("/responses/")>je?"responses":ue.indexOf("/example")>je?"examples":ue.indexOf("/x-")>je?"extensions":ue.indexOf("/parameters/")>je?"parameters":"schemas",me==="schemas"&&I(ye,re),me!=="responses"&&me!=="extensions"){let he=me.substr(0,me.length-1);he==="parameter"&&ye.name&&ye.name===v.sanitise(ye.name)&&(he=encodeURIComponent(ye.name));let Ye=1;for(S["x-miro"]&&(he=O(S["x-miro"]),Ye="");a.jptr(re.openapi,"#/components/"+me+"/"+he+Ye);)Ye=Ye===""?2:++Ye;let Ke="#/components/"+me+"/"+he+Ye,Ge="";me==="examples"&&(ye={value:ye},Ge="/value"),a.jptr(re.openapi,Ke,ye),re.refmap[S[N]]=Ke+Ge,S[N]=Ke+Ge}}}}if(delete S["x-miro"],Object.keys(S).length>1){const ye=S[N],ue=B.path.indexOf("/schema")>=0;re.refSiblings==="preserve"||(ue&&re.refSiblings==="allOf"?(delete S.$ref,B.parent[B.pkey]={allOf:[{$ref:ye},S]}):B.parent[B.pkey]={$ref:ye})}}if(N==="x-ms-odata"&&typeof S[N]=="string"&&S[N].startsWith("#/")){let ye=S[N].replace("#/definitions/","").replace("#/components/schemas/","").split("/"),ue=w.schemas[decodeURIComponent(ye[0])];ue?ye[0]=ue:R("Could not resolve reference "+S[N],S,re),S[N]="#/components/schemas/"+ye.join("/")}}function U(S,N){for(let B in N.refmap)a.jptr(S,B,{$ref:N.refmap[B]})}function Y(S){for(let N in S)for(let B in S[N]){let re=v.sanitise(B);B!==re&&(S[N][re]=S[N][B],delete S[N][B])}}function q(S,N){if(S.type==="basic"&&(S.type="http",S.scheme="basic"),S.type==="oauth2"){let B={},re=S.flow;S.flow==="application"&&(re="clientCredentials"),S.flow==="accessCode"&&(re="authorizationCode"),typeof S.authorizationUrl<"u"&&(B.authorizationUrl=S.authorizationUrl.split("?")[0].trim()||"/"),typeof S.tokenUrl=="string"&&(B.tokenUrl=S.tokenUrl.split("?")[0].trim()||"/"),B.scopes=S.scopes||{},S.flows={},S.flows[re]=B,delete S.flow,delete S.authorizationUrl,delete S.tokenUrl,delete S.scopes,typeof S.name<"u"&&(N.patch?(N.patches++,delete S.name):A("(Patchable) oauth2 securitySchemes should not have name property",N))}}function Q(S){return S&&!S["x-s2o-delete"]}function ne(S,N){if(S.$ref)S.$ref=S.$ref.replace("#/responses/","#/components/responses/");else{S.type&&!S.schema&&(S.schema={}),S.type&&(S.schema.type=S.type),S.items&&S.items.type!=="array"&&(S.items.collectionFormat!==S.collectionFormat&&R("Nested collectionFormats are not supported",S,N),delete S.items.collectionFormat),S.type==="array"?(S.collectionFormat==="ssv"?R("collectionFormat:ssv is no longer supported for headers",S,N):S.collectionFormat==="pipes"?R("collectionFormat:pipes is no longer supported for headers",S,N):S.collectionFormat==="multi"?S.explode=!0:S.collectionFormat==="tsv"?(R("collectionFormat:tsv is no longer supported",S,N),S["x-collectionFormat"]="tsv"):S.style="simple",delete S.collectionFormat):S.collectionFormat&&(N.patch?(N.patches++,delete S.collectionFormat):A("(Patchable) collectionFormat is only applicable to header.type array",N)),delete S.type;for(let B of v.parameterTypeProperties)typeof S[B]<"u"&&(S.schema[B]=S[B],delete S[B]);for(let B of v.arrayProperties)typeof S[B]<"u"&&(S.schema[B]=S[B],delete S[B])}}function le(S,N){if(S.$ref.indexOf("#/parameters/")>=0){let B=S.$ref.split("#/parameters/");S.$ref=B[0]+"#/components/parameters/"+v.sanitise(B[1])}S.$ref.indexOf("#/definitions/")>=0&&R("Definition used as parameter",S,N)}function G(S,N){let B={};for(let re of Object.keys(S))B[re]=S[re],re==="parameters"&&(B.requestBody={},N.rbname&&(B[N.rbname]=""));return B.requestBody={},B}function ce(S,N,B,re,ye,ue,me){let je={},he=!0,Ye;if(N&&N.consumes&&typeof N.consumes=="string")if(me.patch)me.patches++,N.consumes=[N.consumes];else return A("(Patchable) operation.consumes must be an array",me);Array.isArray(ue.consumes)||delete ue.consumes;let Ke=((N?N.consumes:null)||ue.consumes||[]).filter(v.uniqueOnly);if(S&&S.$ref&&typeof S.$ref=="string"){le(S,me);let Ge=decodeURIComponent(S.$ref.replace("#/components/parameters/","")),Je=!1,He=ue.components.parameters[Ge];if((!He||He["x-s2o-delete"])&&S.$ref.startsWith("#/")&&(S["x-s2o-delete"]=!0,Je=!0),Je){let ot=S.$ref,ur=i(ue,S.$ref);!ur&&ot.startsWith("#/")?R("Could not resolve reference "+ot,S,me):ur&&(S=ur)}}if(S&&(S.name||S.in)){typeof S["x-deprecated"]=="boolean"&&(S.deprecated=S["x-deprecated"],delete S["x-deprecated"]),typeof S["x-example"]<"u"&&(S.example=S["x-example"],delete S["x-example"]),S.in!=="body"&&!S.type&&(me.patch?(me.patches++,S.type="string"):A("(Patchable) parameter.type is mandatory for non-body parameters",me)),S.type&&typeof S.type=="object"&&S.type.$ref&&(S.type=i(ue,S.type.$ref)),S.type==="file"&&(S["x-s2o-originalType"]=S.type,Ye=S.type),S.description&&typeof S.description=="object"&&S.description.$ref&&(S.description=i(ue,S.description.$ref)),S.description===null&&delete S.description;let Ge=S.collectionFormat;if(S.type==="array"&&!Ge&&(Ge="csv"),Ge&&(S.type!=="array"&&(me.patch?(me.patches++,delete S.collectionFormat):A("(Patchable) collectionFormat is only applicable to param.type array",me)),Ge==="csv"&&(S.in==="query"||S.in==="cookie")&&(S.style="form",S.explode=!1),Ge==="csv"&&(S.in==="path"||S.in==="header")&&(S.style="simple"),Ge==="ssv"&&(S.in==="query"?S.style="spaceDelimited":R("collectionFormat:ssv is no longer supported except for in:query parameters",S,me)),Ge==="pipes"&&(S.in==="query"?S.style="pipeDelimited":R("collectionFormat:pipes is no longer supported except for in:query parameters",S,me)),Ge==="multi"&&(S.explode=!0),Ge==="tsv"&&(R("collectionFormat:tsv is no longer supported",S,me),S["x-collectionFormat"]="tsv"),delete S.collectionFormat),S.type&&S.type!=="body"&&S.in!=="formData")if(S.items&&S.schema)R("parameter has array,items and schema",S,me);else{S.schema&&me.patches++,(!S.schema||typeof S.schema!="object")&&(S.schema={}),S.schema.type=S.type,S.items&&(S.schema.items=S.items,delete S.items,h(S.schema.items,null,function(Je,He,ot){He==="collectionFormat"&&typeof Je[He]=="string"&&(Ge&&Je[He]!==Ge&&R("Nested collectionFormats are not supported",S,me),delete Je[He])}));for(let Je of v.parameterTypeProperties)typeof S[Je]<"u"&&(S.schema[Je]=S[Je]),delete S[Je]}S.schema&&I(S.schema,me),S["x-ms-skip-url-encoding"]&&S.in==="query"&&(S.allowReserved=!0,delete S["x-ms-skip-url-encoding"])}if(S&&S.in==="formData"){he=!1,je.content={};let Ge="application/x-www-form-urlencoded";if(Ke.length&&Ke.indexOf("multipart/form-data")>=0&&(Ge="multipart/form-data"),je.content[Ge]={},S.schema)je.content[Ge].schema=S.schema,S.schema.$ref&&(je["x-s2o-name"]=decodeURIComponent(S.schema.$ref.replace("#/components/schemas/","")));else{je.content[Ge].schema={},je.content[Ge].schema.type="object",je.content[Ge].schema.properties={},je.content[Ge].schema.properties[S.name]={};let Je=je.content[Ge].schema,He=je.content[Ge].schema.properties[S.name];S.description&&(He.description=S.description),S.example&&(He.example=S.example),S.type&&(He.type=S.type);for(let ot of v.parameterTypeProperties)typeof S[ot]<"u"&&(He[ot]=S[ot]);S.required===!0&&(Je.required||(Je.required=[]),Je.required.push(S.name),je.required=!0),typeof S.default<"u"&&(He.default=S.default),He.properties&&(He.properties=S.properties),S.allOf&&(He.allOf=S.allOf),S.type==="array"&&S.items&&(He.items=S.items,He.items.collectionFormat&&delete He.items.collectionFormat),(Ye==="file"||S["x-s2o-originalType"]==="file")&&(He.type="string",He.format="binary"),ee(S,He)}}else S&&S.type==="file"&&(S.required&&(je.required=S.required),je.content={},je.content["application/octet-stream"]={},je.content["application/octet-stream"].schema={},je.content["application/octet-stream"].schema.type="string",je.content["application/octet-stream"].schema.format="binary",ee(S,je));if(S&&S.in==="body"){je.content={},S.name&&(je["x-s2o-name"]=(N&&N.operationId?v.sanitiseAll(N.operationId):"")+("_"+S.name).toCamelCase()),S.description&&(je.description=S.description),S.required&&(je.required=S.required),N&&me.rbname&&S.name&&(N[me.rbname]=S.name),S.schema&&S.schema.$ref?je["x-s2o-name"]=decodeURIComponent(S.schema.$ref.replace("#/components/schemas/","")):S.schema&&S.schema.type==="array"&&S.schema.items&&S.schema.items.$ref&&(je["x-s2o-name"]=decodeURIComponent(S.schema.items.$ref.replace("#/components/schemas/",""))+"Array"),Ke.length||Ke.push("application/json");for(let Ge of Ke)je.content[Ge]={},je.content[Ge].schema=p(S.schema||{}),I(je.content[Ge].schema,me);ee(S,je)}if(Object.keys(je).length>0&&(S["x-s2o-delete"]=!0,N))if(N.requestBody&&he){N.requestBody["x-s2o-overloaded"]=!0;let Ge=N.operationId||ye;R("Operation "+Ge+" has multiple requestBodies",N,me)}else N.requestBody||(N=B[re]=G(N,me)),N.requestBody.content&&N.requestBody.content["multipart/form-data"]&&N.requestBody.content["multipart/form-data"].schema&&N.requestBody.content["multipart/form-data"].schema.properties&&je.content["multipart/form-data"]&&je.content["multipart/form-data"].schema&&je.content["multipart/form-data"].schema.properties?(N.requestBody.content["multipart/form-data"].schema.properties=Object.assign(N.requestBody.content["multipart/form-data"].schema.properties,je.content["multipart/form-data"].schema.properties),N.requestBody.content["multipart/form-data"].schema.required=(N.requestBody.content["multipart/form-data"].schema.required||[]).concat(je.content["multipart/form-data"].schema.required||[]),N.requestBody.content["multipart/form-data"].schema.required.length||delete N.requestBody.content["multipart/form-data"].schema.required):N.requestBody.content&&N.requestBody.content["application/x-www-form-urlencoded"]&&N.requestBody.content["application/x-www-form-urlencoded"].schema&&N.requestBody.content["application/x-www-form-urlencoded"].schema.properties&&je.content["application/x-www-form-urlencoded"]&&je.content["application/x-www-form-urlencoded"].schema&&je.content["application/x-www-form-urlencoded"].schema.properties?(N.requestBody.content["application/x-www-form-urlencoded"].schema.properties=Object.assign(N.requestBody.content["application/x-www-form-urlencoded"].schema.properties,je.content["application/x-www-form-urlencoded"].schema.properties),N.requestBody.content["application/x-www-form-urlencoded"].schema.required=(N.requestBody.content["application/x-www-form-urlencoded"].schema.required||[]).concat(je.content["application/x-www-form-urlencoded"].schema.required||[]),N.requestBody.content["application/x-www-form-urlencoded"].schema.required.length||delete N.requestBody.content["application/x-www-form-urlencoded"].schema.required):(N.requestBody=Object.assign(N.requestBody,je),N.requestBody["x-s2o-name"]||(N.requestBody.schema&&N.requestBody.schema.$ref?N.requestBody["x-s2o-name"]=decodeURIComponent(N.requestBody.schema.$ref.replace("#/components/schemas/","")).split("/").join(""):N.operationId&&(N.requestBody["x-s2o-name"]=v.sanitiseAll(N.operationId))));if(S&&!S["x-s2o-delete"]){delete S.type;for(let Ge of v.parameterTypeProperties)delete S[Ge];S.in==="path"&&(typeof S.required>"u"||S.required!==!0)&&(me.patch?(me.patches++,S.required=!0):A("(Patchable) path parameters must be required:true ["+S.name+" in "+ye+"]",me))}return N}function ee(S,N){for(let B in S)B.startsWith("x-")&&!B.startsWith("x-s2o")&&(N[B]=S[B])}function fe(S,N,B,re,ye){if(!S)return!1;if(S.$ref&&typeof S.$ref=="string")S.$ref.indexOf("#/definitions/")>=0?R("definition used as response: "+S.$ref,S,ye):S.$ref.startsWith("#/responses/")&&(S.$ref="#/components/responses/"+v.sanitise(decodeURIComponent(S.$ref.replace("#/responses/",""))));else{if((typeof S.description>"u"||S.description===null||S.description===""&&ye.patch)&&(ye.patch?typeof S=="object"&&!Array.isArray(S)&&(ye.patches++,S.description=y[S]||""):A("(Patchable) response.description is mandatory",ye)),typeof S.schema<"u"){if(I(S.schema,ye),S.schema.$ref&&typeof S.schema.$ref=="string"&&S.schema.$ref.startsWith("#/responses/")&&(S.schema.$ref="#/components/responses/"+v.sanitise(decodeURIComponent(S.schema.$ref.replace("#/responses/","")))),B&&B.produces&&typeof B.produces=="string")if(ye.patch)ye.patches++,B.produces=[B.produces];else return A("(Patchable) operation.produces must be an array",ye);re.produces&&!Array.isArray(re.produces)&&delete re.produces;let ue=((B?B.produces:null)||re.produces||[]).filter(v.uniqueOnly);ue.length||ue.push("*/*"),S.content={};for(let me of ue){if(S.content[me]={},S.content[me].schema=p(S.schema),S.examples&&S.examples[me]){let je={};je.value=S.examples[me],S.content[me].examples={},S.content[me].examples.response=je,delete S.examples[me]}S.content[me].schema.type==="file"&&(S.content[me].schema={type:"string",format:"binary"})}delete S.schema}for(let ue in S.examples)S.content||(S.content={}),S.content[ue]||(S.content[ue]={}),S.content[ue].examples={},S.content[ue].examples.response={},S.content[ue].examples.response.value=S.examples[ue];if(delete S.examples,S.headers)for(let ue in S.headers)ue.toLowerCase()==="status code"?ye.patch?(ye.patches++,delete S.headers[ue]):A('(Patchable) "Status Code" is not a valid header',ye):ne(S.headers[ue],ye)}}function oe(S,N,B,re,ye){for(let ue in S){let me=S[ue];me&&me["x-trace"]&&typeof me["x-trace"]=="object"&&(me.trace=me["x-trace"],delete me["x-trace"]),me&&me["x-summary"]&&typeof me["x-summary"]=="string"&&(me.summary=me["x-summary"],delete me["x-summary"]),me&&me["x-description"]&&typeof me["x-description"]=="string"&&(me.description=me["x-description"],delete me["x-description"]),me&&me["x-servers"]&&Array.isArray(me["x-servers"])&&(me.servers=me["x-servers"],delete me["x-servers"]);for(let je in me)if(v.httpMethods.indexOf(je)>=0||je==="x-amazon-apigateway-any-method"){let he=me[je];if(he&&he.parameters&&Array.isArray(he.parameters)){if(me.parameters)for(let Ye of me.parameters)typeof Ye.$ref=="string"&&(le(Ye,B),Ye=i(ye,Ye.$ref)),!he.parameters.find(function(Ke,Ge,Je){return Ke.name===Ye.name&&Ke.in===Ye.in})&&(Ye.in==="formData"||Ye.in==="body"||Ye.type==="file")&&(he=ce(Ye,he,me,je,ue,ye,B),B.rbname&&he[B.rbname]===""&&delete he[B.rbname]);for(let Ye of he.parameters)he=ce(Ye,he,me,je,je+":"+ue,ye,B);B.rbname&&he[B.rbname]===""&&delete he[B.rbname],B.debug||he.parameters&&(he.parameters=he.parameters.filter(Q))}if(he&&he.security&&Y(he.security),typeof he=="object"){if(!he.responses){let Ye={};Ye.description="Default response",he.responses={default:Ye}}for(let Ye in he.responses){let Ke=he.responses[Ye];fe(Ke,Ye,he,ye,B)}}if(he&&he["x-servers"]&&Array.isArray(he["x-servers"]))he.servers=he["x-servers"],delete he["x-servers"];else if(he&&he.schemes&&he.schemes.length){for(let Ye of he.schemes)if((!ye.schemes||ye.schemes.indexOf(Ye)<0)&&(he.servers||(he.servers=[]),Array.isArray(ye.servers)))for(let Ke of ye.servers){let Ge=p(Ke),Je=t.parse(Ge.url);Je.protocol=Ye,Ge.url=Je.format(),he.servers.push(Ge)}}if(B.debug&&(he["x-s2o-consumes"]=he.consumes||[],he["x-s2o-produces"]=he.produces||[]),he){if(delete he.consumes,delete he.produces,delete he.schemes,he["x-ms-examples"]){for(let Ye in he["x-ms-examples"]){let Ke=he["x-ms-examples"][Ye],Ge=v.sanitiseAll(Ye);if(Ke.parameters)for(let Je in Ke.parameters){let He=Ke.parameters[Je];for(let ot of(he.parameters||[]).concat(me.parameters||[]))ot.$ref&&(ot=a.jptr(ye,ot.$ref)),ot.name===Je&&!ot.example&&(ot.examples||(ot.examples={}),ot.examples[Ye]={value:He})}if(Ke.responses)for(let Je in Ke.responses){if(Ke.responses[Je].headers)for(let He in Ke.responses[Je].headers){let ot=Ke.responses[Je].headers[He];for(let ur in he.responses[Je].headers)if(ur===He){let j=he.responses[Je].headers[ur];j.example=ot}}if(Ke.responses[Je].body&&(ye.components.examples[Ge]={value:p(Ke.responses[Je].body)},he.responses[Je]&&he.responses[Je].content))for(let He in he.responses[Je].content){let ot=he.responses[Je].content[He];ot.examples||(ot.examples={}),ot.examples[Ye]={$ref:"#/components/examples/"+Ge}}}}delete he["x-ms-examples"]}if(he.parameters&&he.parameters.length===0&&delete he.parameters,he.requestBody){let Ye=he.operationId?v.sanitiseAll(he.operationId):v.sanitiseAll(je+ue).toCamelCase(),Ke=v.sanitise(he.requestBody["x-s2o-name"]||Ye||"");delete he.requestBody["x-s2o-name"];let Ge=JSON.stringify(he.requestBody),Je=v.hash(Ge);if(!re[Je]){let ot={};ot.name=Ke,ot.body=he.requestBody,ot.refs=[],re[Je]=ot}let He="#/"+N+"/"+encodeURIComponent(a.jpescape(ue))+"/"+je+"/requestBody";re[Je].refs.push(He)}}}if(me&&me.parameters){for(let je in me.parameters){let he=me.parameters[je];ce(he,null,me,null,ue,ye,B)}!B.debug&&Array.isArray(me.parameters)&&(me.parameters=me.parameters.filter(Q))}}}function F(S,N){let B={};w={schemas:{}},S.security&&Y(S.security);for(let ye in S.components.securitySchemes){let ue=v.sanitise(ye);ye!==ue&&(S.components.securitySchemes[ue]&&A("Duplicate sanitised securityScheme name "+ue,N),S.components.securitySchemes[ue]=S.components.securitySchemes[ye],delete S.components.securitySchemes[ye]),q(S.components.securitySchemes[ue],N)}for(let ye in S.components.schemas){let ue=v.sanitiseAll(ye),me="";if(ye!==ue){for(;S.components.schemas[ue+me];)me=me?++me:2;S.components.schemas[ue+me]=S.components.schemas[ye],delete S.components.schemas[ye]}w.schemas[ye]=ue+me,I(S.components.schemas[ue+me],N)}N.refmap={},h(S,{payload:{options:N}},P),U(S,N);for(let ye in S.components.parameters){let ue=v.sanitise(ye);ye!==ue&&(S.components.parameters[ue]&&A("Duplicate sanitised parameter name "+ue,N),S.components.parameters[ue]=S.components.parameters[ye],delete S.components.parameters[ye]);let me=S.components.parameters[ue];ce(me,null,null,null,ue,S,N)}for(let ye in S.components.responses){let ue=v.sanitise(ye);ye!==ue&&(S.components.responses[ue]&&A("Duplicate sanitised response name "+ue,N),S.components.responses[ue]=S.components.responses[ye],delete S.components.responses[ye]);let me=S.components.responses[ue];if(fe(me,ue,null,S,N),me.headers)for(let je in me.headers)je.toLowerCase()==="status code"?N.patch?(N.patches++,delete me.headers[je]):A('(Patchable) "Status Code" is not a valid header',N):ne(me.headers[je],N)}for(let ye in S.components.requestBodies){let ue=S.components.requestBodies[ye],me=JSON.stringify(ue),je=v.hash(me),he={};he.name=ye,he.body=ue,he.refs=[],B[je]=he}if(oe(S.paths,"paths",N,B,S),S["x-ms-paths"]&&oe(S["x-ms-paths"],"x-ms-paths",N,B,S),!N.debug)for(let ye in S.components.parameters)S.components.parameters[ye]["x-s2o-delete"]&&delete S.components.parameters[ye];N.debug&&(S["x-s2o-consumes"]=S.consumes||[],S["x-s2o-produces"]=S.produces||[]),delete S.consumes,delete S.produces,delete S.schemes;let re=[];if(S.components.requestBodies={},!N.resolveInternal){let ye=1;for(let ue in B){let me=B[ue];if(me.refs.length>1){let je="";for(me.name||(me.name="requestBody",je=ye++);re.indexOf(me.name+je)>=0;)je=je?++je:2;me.name=me.name+je,re.push(me.name),S.components.requestBodies[me.name]=p(me.body);for(let he in me.refs){let Ye={};Ye.$ref="#/components/requestBodies/"+me.name,a.jptr(S,me.refs[he],Ye)}}}}return S.components.responses&&Object.keys(S.components.responses).length===0&&delete S.components.responses,S.components.parameters&&Object.keys(S.components.parameters).length===0&&delete S.components.parameters,S.components.examples&&Object.keys(S.components.examples).length===0&&delete S.components.examples,S.components.requestBodies&&Object.keys(S.components.requestBodies).length===0&&delete S.components.requestBodies,S.components.securitySchemes&&Object.keys(S.components.securitySchemes).length===0&&delete S.components.securitySchemes,S.components.headers&&Object.keys(S.components.headers).length===0&&delete S.components.headers,S.components.schemas&&Object.keys(S.components.schemas).length===0&&delete S.components.schemas,S.components&&Object.keys(S.components).length===0&&delete S.components,S}function ie(S){return!S||!S.url||typeof S.url!="string"||(S.url=S.url.split("{{").join("{"),S.url=S.url.split("}}").join("}"),S.url.replace(/\{(.+?)\}/g,function(N,B){S.variables||(S.variables={}),S.variables[B]={default:"unknown"}})),S}function W(S,N,B){if(typeof S.info>"u"||S.info===null)if(N.patch)N.patches++,S.info={version:"",title:""};else return B(new _("(Patchable) info object is mandatory"));if(typeof S.info!="object"||Array.isArray(S.info))return B(new _("info must be an object"));if(typeof S.info.title>"u"||S.info.title===null)if(N.patch)N.patches++,S.info.title="";else return B(new _("(Patchable) info.title cannot be null"));if(typeof S.info.version>"u"||S.info.version===null)if(N.patch)N.patches++,S.info.version="";else return B(new _("(Patchable) info.version cannot be null"));if(typeof S.info.version!="string")if(N.patch)N.patches++,S.info.version=S.info.version.toString();else return B(new _("(Patchable) info.version must be a string"));if(typeof S.info.logo<"u")if(N.patch)N.patches++,S.info["x-logo"]=S.info.logo,delete S.info.logo;else return B(new _("(Patchable) info should not have logo property"));if(typeof S.info.termsOfService<"u"){if(S.info.termsOfService===null)if(N.patch)N.patches++,S.info.termsOfService="";else return B(new _("(Patchable) info.termsOfService cannot be null"));try{new URL(S.info.termsOfService)}catch{if(N.patch)N.patches++,delete S.info.termsOfService;else return B(new _("(Patchable) info.termsOfService must be a URL"))}}}function V(S,N,B){if(typeof S.paths>"u")if(N.patch)N.patches++,S.paths={};else return B(new _("(Patchable) paths object is mandatory"))}function pe(S,N){const B=new WeakSet;h(S,{identityDetection:!0},function(re,ye,ue){typeof re[ye]=="object"&&re[ye]!==null&&(B.has(re[ye])?N.anchors?re[ye]=p(re[ye]):A("YAML anchor or merge key at "+ue.path,N):B.add(re[ye]))})}function K(S,N,B){return r(B,new Promise(function(re,ye){if(S||(S={}),N.original=S,N.text||(N.text=o.stringify(S)),N.externals=[],N.externalRefs={},N.rewriteRefs=!0,N.preserveMiro=!0,N.promise={},N.promise.resolve=re,N.promise.reject=ye,N.patches=0,N.cache||(N.cache={}),N.source&&(N.cache[N.source]=N.original),pe(S,N),S.openapi&&typeof S.openapi=="string"&&S.openapi.startsWith("3.")){N.openapi=u(S),W(N.openapi,N,ye),V(N.openapi,N,ye),f.optionalResolve(N).then(function(){return N.direct?re(N.openapi):re(N)}).catch(function(me){console.warn(me),ye(me)});return}if(!S.swagger||S.swagger!="2.0")return ye(new _("Unsupported swagger/OpenAPI version: "+(S.openapi?S.openapi:S.swagger)));let ue=N.openapi={};if(ue.openapi=typeof N.targetVersion=="string"&&N.targetVersion.startsWith("3.")?N.targetVersion:k,N.origin){ue["x-origin"]||(ue["x-origin"]=[]);let me={};me.url=N.source||N.origin,me.format="swagger",me.version=S.swagger,me.converter={},me.converter.url="https://github.com/mermade/oas-kit",me.converter.version=x,ue["x-origin"].push(me)}if(ue=Object.assign(ue,u(S)),delete ue.swagger,h(ue,{},function(me,je,he){me[je]===null&&!je.startsWith("x-")&&je!=="default"&&he.path.indexOf("/example")<0&&delete me[je]}),S.host)for(let me of Array.isArray(S.schemes)?S.schemes:[""]){let je={},he=(S.basePath||"").replace(/\/$/,"");je.url=(me?me+":":"")+"//"+S.host+he,ie(je),ue.servers||(ue.servers=[]),ue.servers.push(je)}else if(S.basePath){let me={};me.url=S.basePath,ie(me),ue.servers||(ue.servers=[]),ue.servers.push(me)}if(delete ue.host,delete ue.basePath,ue["x-servers"]&&Array.isArray(ue["x-servers"])&&(ue.servers=ue["x-servers"],delete ue["x-servers"]),S["x-ms-parameterized-host"]){let me=S["x-ms-parameterized-host"],je={};je.url=me.hostTemplate+(S.basePath?S.basePath:""),je.variables={};const he=je.url.match(/\{\w+\}/g);for(let Ye in me.parameters){let Ke=me.parameters[Ye];Ke.$ref&&(Ke=p(i(ue,Ke.$ref))),Ye.startsWith("x-")||(delete Ke.required,delete Ke.type,delete Ke.in,typeof Ke.default>"u"&&(Ke.enum?Ke.default=Ke.enum[0]:Ke.default="none"),Ke.name||(Ke.name=he[Ye].replace("{","").replace("}","")),je.variables[Ke.name]=Ke,delete Ke.name)}ue.servers||(ue.servers=[]),me.useSchemePrefix===!1?ue.servers.push(je):S.schemes.forEach(Ye=>{ue.servers.push(Object.assign({},je,{url:Ye+"://"+je.url}))}),delete ue["x-ms-parameterized-host"]}W(ue,N,ye),V(ue,N,ye),typeof ue.consumes=="string"&&(ue.consumes=[ue.consumes]),typeof ue.produces=="string"&&(ue.produces=[ue.produces]),ue.components={},ue["x-callbacks"]&&(ue.components.callbacks=ue["x-callbacks"],delete ue["x-callbacks"]),ue.components.examples={},ue.components.headers={},ue["x-links"]&&(ue.components.links=ue["x-links"],delete ue["x-links"]),ue.components.parameters=ue.parameters||{},ue.components.responses=ue.responses||{},ue.components.requestBodies={},ue.components.securitySchemes=ue.securityDefinitions||{},ue.components.schemas=ue.definitions||{},delete ue.definitions,delete ue.responses,delete ue.parameters,delete ue.securityDefinitions,f.optionalResolve(N).then(function(){F(N.openapi,N),N.direct?re(N.openapi):re(N)}).catch(function(me){console.warn(me),ye(me)})}))}function se(S,N,B){return r(B,new Promise(function(re,ye){let ue=null,me=null;try{ue=JSON.parse(S),N.text=JSON.stringify(ue,null,2)}catch(je){me=je;try{ue=o.parse(S,{schema:"core",prettyErrors:!0}),N.sourceYaml=!0,N.text=S}catch(he){me=he}}ue?K(ue,N).then(je=>re(je)).catch(je=>ye(je)):ye(new _(me?me.message:"Could not parse string"))}))}function X(S,N,B){return r(B,new Promise(function(re,ye){N.origin=!0,N.source||(N.source=S),N.verbose&&console.warn("GET "+S),N.fetch||(N.fetch=n);const ue=Object.assign({},N.fetchOptions,{agent:N.agent});N.fetch(S,ue).then(function(me){if(me.status!==200)throw new _(`Received status code ${me.status}: ${S}`);return me.text()}).then(function(me){se(me,N).then(je=>re(je)).catch(je=>ye(je))}).catch(function(me){ye(me)})}))}function te(S,N,B){return r(B,new Promise(function(re,ye){e.readFile(S,N.encoding||"utf8",function(ue,me){ue?ye(ue):(N.sourceFile=S,se(me,N).then(je=>re(je)).catch(je=>ye(je)))})}))}function _e(S,N,B){return r(B,new Promise(function(re,ye){let ue="";S.on("data",function(me){ue+=me}).on("end",function(){se(ue,N).then(me=>re(me)).catch(me=>ye(me))})}))}return C3={S2OError:_,targetVersion:k,convert:K,convertObj:K,convertUrl:X,convertStr:se,convertFile:te,convertStream:_e},C3}var SMe=wMe();const CMe=Tn(SMe);function kMe(e){return e.paths||(e.paths={}),new Promise((t,r)=>CMe.convertObj(e,{patch:!0,warnOnly:!0,text:"{}",anchors:!0},(n,o)=>{if(n)return r(n);t(o?.openapi)}))}async function _Me(){try{return(await $F())?.resolvedConfig.openapi||{}}catch{return{}}}async function AMe(e){const t=await $F(),r={config:t,base:Ca?window.location.origin:typeof globalThis.process<"u"?globalThis.process.cwd():""};Ca&&(t.resolve.http.customFetch=globalThis.fetch),typeof e=="object"&&e!==null?r.doc=EMe(e):r.ref=e;const{bundle:{parsed:n}}=await zIe(r);return n.swagger!==void 0?kMe(n):n}function EMe(e){return{source:{absoluteRef:""},parsed:e}}async function TMe(e,t,r){let n;if(r?.skipBundle){if(!e)throw new Error('spec must be specified when using "skipBundleAndConvert"');n=e}else n=await AMe(e||t);try{jCe(n)}catch{}return n}const OMe=({options:e,definitionUrl:t,definition:r,activeSampleLanguage:n,children:o})=>{const[a,i]=D.useState(),[l,p]=D.useState(!0),[u,h]=D.useState(null),[f,b]=D.useState(e||{});D.useEffect(()=>{async function y(){p(!0);try{const x=await _Me();b({...e,...x}),h(await TMe(r,t,e))}catch(x){i(x.message)}}y()},[r,t,e]);const v=D.useMemo(()=>{if(u)return{definition:u,options:f,definitionUrl:t,activeSampleLanguage:n}},LCe([u,t,f]));return D.useEffect(()=>{v&&p(!1)},[v]),a||!v?null:l?bo(e?.hideLoading,!1)?null:m.jsx(e8e,{color:"--loading-spinner-color"}):D.isValidElement(o)?D.cloneElement(o,{store:v}):null};function RMe({definition:e,definitionUrl:t,options:r={},activeItemId:n,activeSampleLanguage:o,activeDeepLink:a,router:i}){return m.jsx(OMe,{definition:e,definitionUrl:t,options:r,activeItemId:n,activeSampleLanguage:o,activeDeepLink:a,children:m.jsx(Wz,{withCommonStyles:!0,router:i||"hash"})})}function jMe(e){const t={},r=e.attributes;for(let n=0;n<r.length;n++){const o=r[n];t[o.name]=o.value}return t}function LMe(e){const t=jMe(e),r={};for(const n in t){const o=n.replace(/-(.)/g,(a,i)=>i.toUpperCase());r[o]=t[n]}return r}function NMe(e,t=document.querySelector("redoc")){E4.hydrateRoot(t,m.jsx(Wz,{store:e}),{onRecoverableError:(r,n)=>{r.message.includes("Minified React error #418")||console.error(r.message,n)}})}function Gq(e,t={},r=$v("redoc")){if(r===null)throw new Error('"element" argument is not provided and <redoc> tag is not found on the page');const{router:n,...o}={...t,...LMe(r)};let a,i;typeof e=="string"?a=e:typeof e=="object"&&(i=e),E4.createRoot(r).render(D.createElement(RMe,{definition:i,definitionUrl:a,options:o,router:n??"hash"},["Loading..."]))}const IMe="3.25.0-next.0",PMe="5581f2d0";function MMe(){const e=$v("redoc");if(!e)return;const t=e.getAttribute("spec-url");t&&Gq(t,{},e)}MMe();export{wl as $,Sj as A,ft as B,z0 as C,On as D,Bf as E,Po as F,Cm as G,vR as H,uy as I,Oa as J,ej as K,VR as L,mj as M,vj as N,fj as O,Nc as P,K$ as Q,At as R,hi as S,Ky as T,zd as U,Du as V,_9 as W,vw as X,Yf as Y,xl as Z,FM as _,xe as a,cIe as a$,as as a0,N$ as a1,rp as a2,al as a3,LL as a4,EL as a5,uD as a6,q$ as a7,h$ as a8,uw as a9,T9 as aA,c1 as aB,l1 as aC,HU as aD,p1 as aE,s1 as aF,OF as aG,u1 as aH,TIe as aI,jIe as aJ,pn as aK,KU as aL,iF as aM,sF as aN,lIe as aO,iIe as aP,I1 as aQ,sIe as aR,pIe as aS,fF as aT,hF as aU,vS as aV,zo as aW,sr as aX,Xr as aY,lF as aZ,cF as a_,H2 as aa,us as ab,wr as ac,Al as ad,_$ as ae,eo as af,cr as ag,jc as ah,H$ as ai,gr as aj,Sz as ak,V$ as al,G$ as am,tz as an,K1e as ao,rl as ap,S0 as aq,q0 as ar,Pz as as,L$ as at,j$ as au,Iz as av,Nz as aw,Kk as ax,ed as ay,O9 as az,il as b,P1 as b0,i1 as b1,ql as b2,DF as b3,yS as b4,Dl as b5,jTe as b6,vF as b7,aIe as b8,da as b9,dIe as bA,Bl as bB,wS as bC,jF as bD,Ml as bE,vs as bF,pF as bG,uS as bH,Yz as bI,mF as bJ,uh as bK,WU as bL,EF as bM,TS as bN,NMe as bO,Gq as bP,PMe as bQ,Bbe as bR,Fbe as bS,zbe as bT,IMe as bU,AIe as ba,xS as bb,yp as bc,za as bd,xs as be,yF as bf,$a as bg,ES as bh,pS as bi,TF as bj,n1 as bk,LTe as bl,dF as bm,qU as bn,GU as bo,ZN as bp,k$ as bq,t1 as br,rt as bs,tt as bt,uF as bu,LF as bv,IF as bw,Kz as bx,gF as by,hIe as bz,_f as c,Tn as d,lm as e,$0 as f,dt as g,ve as h,$u as i,m as j,zF as k,Pt as l,sm as m,yZ as n,eG as o,Kn as p,mx as q,D as r,Jn as s,mn as t,ir as u,Rc as v,ns as w,Ld as x,jL as y,yl as z};
|