/**
 * Minified by jsDelivr using Terser v5.39.0.
 * Original file: /npm/@splunk/otel-web@2.5.1/dist/cjs/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
(()=>{var e={7797(e,t,r){"use strict";r.d(t,{K9:()=>c});var n="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof r.g?r.g:{},i=Symbol.for("io.opentelemetry.js.api.logs"),o=n,s=function(){function e(){}return e.prototype.emit=function(e){},e}(),a=(new s,new(function(){function e(){}return e.prototype.getLogger=function(e,t,r){return new s},e}())),c=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalLoggerProvider=function(e){return o[i]?this.getLoggerProvider():(o[i]=(t=e,r=a,function(e){return 1===e?t:r}),e);var t,r},e.prototype.getLoggerProvider=function(){var e,t;return null!==(t=null===(e=o[i])||void 0===e?void 0:e.call(o,1))&&void 0!==t?t:a},e.prototype.getLogger=function(e,t,r){return this.getLoggerProvider().getLogger(e,t,r)},e.prototype.disable=function(){delete o[i]},e}().getInstance()},138(e,t,r){"use strict";r.d(t,{_:()=>u});var n=r(1239),i=function(){function e(){}return e.prototype.active=function(){return n.l},e.prototype.with=function(e,t,r){for(var n=[],i=3;i<arguments.length;i++)n[i-3]=arguments[i];return t.call.apply(t,function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}([r],function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(n),!1))},e.prototype.bind=function(e,t){return t},e.prototype.enable=function(){return this},e.prototype.disable=function(){return this},e}(),o=r(1730),s=r(605),a="context",c=new i,u=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalContextManager=function(e){return(0,o.$G)(a,e,s.K.instance())},e.prototype.active=function(){return this._getContextManager().active()},e.prototype.with=function(e,t,r){for(var n,i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];return(n=this._getContextManager()).with.apply(n,function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}([e,t,r],function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(i),!1))},e.prototype.bind=function(e,t){return this._getContextManager().bind(e,t)},e.prototype._getContextManager=function(){return(0,o.mS)(a)||c},e.prototype.disable=function(){this._getContextManager().disable(),(0,o.kv)(a,s.K.instance())},e}()},605(e,t,r){"use strict";r.d(t,{K:()=>a});var n=r(1730),i=function(){function e(e){this._namespace=e.namespace||"DiagComponentLogger"}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o("debug",this._namespace,e)},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o("error",this._namespace,e)},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o("info",this._namespace,e)},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o("warn",this._namespace,e)},e.prototype.verbose=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o("verbose",this._namespace,e)},e}();function o(e,t,r){var i=(0,n.mS)("diag");if(i)return r.unshift(t),i[e].apply(i,function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}([],function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(r),!1))}var s=r(3991),a=function(){function e(){function e(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var i=(0,n.mS)("diag");if(i)return i[e].apply(i,function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}([],function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(t),!1))}}var t=this;t.setLogger=function(e,r){var i,o,a;if(void 0===r&&(r={logLevel:s.u.INFO}),e===t){var c=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return t.error(null!==(i=c.stack)&&void 0!==i?i:c.message),!1}"number"==typeof r&&(r={logLevel:r});var u=(0,n.mS)("diag"),l=function(e,t){function r(r,n){var i=t[r];return"function"==typeof i&&e>=n?i.bind(t):function(){}}return e<s.u.NONE?e=s.u.NONE:e>s.u.ALL&&(e=s.u.ALL),t=t||{},{error:r("error",s.u.ERROR),warn:r("warn",s.u.WARN),info:r("info",s.u.INFO),debug:r("debug",s.u.DEBUG),verbose:r("verbose",s.u.VERBOSE)}}(null!==(o=r.logLevel)&&void 0!==o?o:s.u.INFO,e);if(u&&!r.suppressOverrideMessage){var d=null!==(a=(new Error).stack)&&void 0!==a?a:"<failed to generate stacktrace>";u.warn("Current logger will be overwritten from "+d),l.warn("Current logger will overwrite one already registered from "+d)}return(0,n.$G)("diag",l,t,!0)},t.disable=function(){(0,n.kv)("diag",t)},t.createComponentLogger=function(e){return new i(e)},t.verbose=e("verbose"),t.debug=e("debug"),t.info=e("info"),t.warn=e("warn"),t.error=e("error")}return e.instance=function(){return this._instance||(this._instance=new e),this._instance},e}()},7420(e,t,r){"use strict";r.d(t,{B:()=>c,L:()=>a});var n=r(605),i=function(){function e(e){this._entries=e?new Map(e):new Map}return e.prototype.getEntry=function(e){var t=this._entries.get(e);if(t)return Object.assign({},t)},e.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map((function(e){var t=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(e,2);return[t[0],t[1]]}))},e.prototype.setEntry=function(t,r){var n=new e(this._entries);return n._entries.set(t,r),n},e.prototype.removeEntry=function(t){var r=new e(this._entries);return r._entries.delete(t),r},e.prototype.removeEntries=function(){for(var t,r,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=new e(this._entries);try{for(var s=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),a=s.next();!a.done;a=s.next()){var c=a.value;o._entries.delete(c)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return o},e.prototype.clear=function(){return new e},e}(),o=Symbol("BaggageEntryMetadata"),s=n.K.instance();function a(e){return void 0===e&&(e={}),new i(new Map(Object.entries(e)))}function c(e){return"string"!=typeof e&&(s.error("Cannot create baggage metadata from unknown type: "+typeof e),e=""),{__TYPE__:o,toString:function(){return e}}}},1514(e,t,r){"use strict";r.d(t,{_:()=>n});var n=r(138)._.getInstance()},1239(e,t,r){"use strict";function n(e){return Symbol.for(e)}r.d(t,{l:()=>i,n:()=>n});var i=new function e(t){var r=this;r._currentContext=t?new Map(t):new Map,r.getValue=function(e){return r._currentContext.get(e)},r.setValue=function(t,n){var i=new e(r._currentContext);return i._currentContext.set(t,n),i},r.deleteValue=function(t){var n=new e(r._currentContext);return n._currentContext.delete(t),n}}},6280(e,t,r){"use strict";r.d(t,{s:()=>n});var n=r(605).K.instance()},3991(e,t,r){"use strict";var n;r.d(t,{u:()=>n}),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"}(n||(n={}))},4299(e,t,r){"use strict";r.r(t),r.d(t,{DiagConsoleLogger:()=>s,DiagLogLevel:()=>a.u,INVALID_SPANID:()=>b.w9,INVALID_SPAN_CONTEXT:()=>b.dM,INVALID_TRACEID:()=>b.RH,ProxyTracer:()=>d.y,ProxyTracerProvider:()=>p.n,ROOT_CONTEXT:()=>i.l,SamplingDecision:()=>h.i,SpanKind:()=>f.v,SpanStatusCode:()=>_.s,TraceFlags:()=>E.X,ValueType:()=>u.e,baggageEntryMetadataFromString:()=>n.B,context:()=>A._,createContextKey:()=>i.n,createNoopMeter:()=>c.Ac,createTraceState:()=>y,default:()=>N,defaultTextMapGetter:()=>l.q,defaultTextMapSetter:()=>l.U,diag:()=>R.s,isSpanContextValid:()=>O.YA,isValidSpanId:()=>O.wN,isValidTraceId:()=>O.hX,metrics:()=>w.q,propagation:()=>L.$,trace:()=>C.u});var n=r(7420),i=r(1239),o=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}],s=function(){function e(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];if(console){var n=console[e];if("function"!=typeof n&&(n=console.log),"function"==typeof n)return n.apply(console,t)}}}for(var t=0;t<o.length;t++)this[o[t].n]=e(o[t].c)},a=r(3991),c=r(8435),u=r(7876),l=r(3583),d=r(1843),p=r(5009),h=r(9160),f=r(8117),_=r(4350),E=r(843),g="[_0-9a-z-*/]",T=new RegExp("^(?:[a-z]"+g+"{0,255}|[a-z0-9]"+g+"{0,240}@[a-z]"+g+"{0,13})$"),S=/^[ -~]{0,255}[!-~]$/,v=/,|=/,m=function(){function e(e){this._internalState=new Map,e&&this._parse(e)}return e.prototype.set=function(e,t){var r=this._clone();return r._internalState.has(e)&&r._internalState.delete(e),r._internalState.set(e,t),r},e.prototype.unset=function(e){var t=this._clone();return t._internalState.delete(e),t},e.prototype.get=function(e){return this._internalState.get(e)},e.prototype.serialize=function(){var e=this;return this._keys().reduce((function(t,r){return t.push(r+"="+e.get(r)),t}),[]).join(",")},e.prototype._parse=function(e){e.length>512||(this._internalState=e.split(",").reverse().reduce((function(e,t){var r=t.trim(),n=r.indexOf("=");if(-1!==n){var i=r.slice(0,n),o=r.slice(n+1,t.length);(function(e){return T.test(e)})(i)&&function(e){return S.test(e)&&!v.test(e)}(o)&&e.set(i,o)}return e}),new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))},e.prototype._keys=function(){return Array.from(this._internalState.keys()).reverse()},e.prototype._clone=function(){var t=new e;return t._internalState=new Map(this._internalState),t},e}();function y(e){return new m(e)}var O=r(4029),b=r(3482),A=r(1514),R=r(6280),w=r(753),L=r(4895),C=r(6678);const N={context:A._,diag:R.s,metrics:w.q,propagation:L.$,trace:C.u}},1730(e,t,r){"use strict";r.d(t,{mS:()=>d,$G:()=>l,kv:()=>p});var n="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof r.g?r.g:{},i="1.9.0",o=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/,s=function(e){var t=new Set([e]),r=new Set,n=e.match(o);if(!n)return function(){return!1};var i=+n[1],s=+n[2],a=+n[3];if(null!=n[4])return function(t){return t===e};function c(e){return r.add(e),!1}function u(e){return t.add(e),!0}return function(e){if(t.has(e))return!0;if(r.has(e))return!1;var n=e.match(o);if(!n)return c(e);var l=+n[1],d=+n[2],p=+n[3];return null!=n[4]||i!==l?c(e):0===i?s===d&&a<=p?u(e):c(e):s<=d?u(e):c(e)}}(i),a=i.split(".")[0],c=Symbol.for("opentelemetry.js.api."+a),u=n;function l(e,t,r,n){var o;void 0===n&&(n=!1);var s=u[c]=null!==(o=u[c])&&void 0!==o?o:{version:i};if(!n&&s[e]){var a=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+e);return r.error(a.stack||a.message),!1}return s.version!==i?(a=new Error("@opentelemetry/api: Registration of version v"+s.version+" for "+e+" does not match previously registered API v"+i),r.error(a.stack||a.message),!1):(s[e]=t,r.debug("@opentelemetry/api: Registered a global for "+e+" v"+i+"."),!0)}function d(e){var t,r,n=null===(t=u[c])||void 0===t?void 0:t.version;if(n&&s(n))return null===(r=u[c])||void 0===r?void 0:r[e]}function p(e,t){t.debug("@opentelemetry/api: Unregistering a global for "+e+" v"+i+".");var r=u[c];r&&delete r[e]}},753(e,t,r){"use strict";r.d(t,{q:()=>c});var n=r(8435),i=new(function(){function e(){}return e.prototype.getMeter=function(e,t,r){return n.Dq},e}()),o=r(1730),s=r(605),a="metrics",c=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalMeterProvider=function(e){return(0,o.$G)(a,e,s.K.instance())},e.prototype.getMeterProvider=function(){return(0,o.mS)(a)||i},e.prototype.getMeter=function(e,t,r){return this.getMeterProvider().getMeter(e,t,r)},e.prototype.disable=function(){(0,o.kv)(a,s.K.instance())},e}().getInstance()},7876(e,t,r){"use strict";var n;r.d(t,{e:()=>n}),function(e){e[e.INT=0]="INT",e[e.DOUBLE=1]="DOUBLE"}(n||(n={}))},8435(e,t,r){"use strict";r.d(t,{Ac:()=>O,Dq:()=>_});var n,i=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=function(){function e(){}return e.prototype.createGauge=function(e,t){return g},e.prototype.createHistogram=function(e,t){return T},e.prototype.createCounter=function(e,t){return E},e.prototype.createUpDownCounter=function(e,t){return S},e.prototype.createObservableGauge=function(e,t){return m},e.prototype.createObservableCounter=function(e,t){return v},e.prototype.createObservableUpDownCounter=function(e,t){return y},e.prototype.addBatchObservableCallback=function(e,t){},e.prototype.removeBatchObservableCallback=function(e){},e}(),s=function(){},a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.add=function(e,t){},t}(s),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.add=function(e,t){},t}(s),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.record=function(e,t){},t}(s),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.record=function(e,t){},t}(s),d=function(){function e(){}return e.prototype.addCallback=function(e){},e.prototype.removeCallback=function(e){},e}(),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(d),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(d),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t}(d),_=new o,E=new a,g=new u,T=new l,S=new c,v=new p,m=new h,y=new f;function O(){return _}},4895(e,t,r){"use strict";r.d(t,{$:()=>g});var n=r(1730),i=function(){function e(){}return e.prototype.inject=function(e,t){},e.prototype.extract=function(e,t){return e},e.prototype.fields=function(){return[]},e}(),o=r(3583),s=r(138),a=(0,r(1239).n)("OpenTelemetry Baggage Key");function c(e){return e.getValue(a)||void 0}function u(){return c(s._.getInstance().active())}function l(e,t){return e.setValue(a,t)}function d(e){return e.deleteValue(a)}var p=r(7420),h=r(605),f="propagation",_=new i,E=function(){function e(){this.createBaggage=p.L,this.getBaggage=c,this.getActiveBaggage=u,this.setBaggage=l,this.deleteBaggage=d}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalPropagator=function(e){return(0,n.$G)(f,e,h.K.instance())},e.prototype.inject=function(e,t,r){return void 0===r&&(r=o.U),this._getGlobalPropagator().inject(e,t,r)},e.prototype.extract=function(e,t,r){return void 0===r&&(r=o.q),this._getGlobalPropagator().extract(e,t,r)},e.prototype.fields=function(){return this._getGlobalPropagator().fields()},e.prototype.disable=function(){(0,n.kv)(f,h.K.instance())},e.prototype._getGlobalPropagator=function(){return(0,n.mS)(f)||_},e}(),g=E.getInstance()},3583(e,t,r){"use strict";r.d(t,{U:()=>i,q:()=>n});var n={get:function(e,t){if(null!=e)return e[t]},keys:function(e){return null==e?[]:Object.keys(e)}},i={set:function(e,t,r){null!=e&&(e[t]=r)}}},6678(e,t,r){"use strict";r.d(t,{u:()=>u});var n=r(1730),i=r(5009),o=r(4029),s=r(1065),a=r(605),c="trace",u=function(){function e(){this._proxyTracerProvider=new i.n,this.wrapSpanContext=o.IP,this.isSpanContextValid=o.YA,this.deleteSpan=s.EW,this.getSpan=s.fU,this.getActiveSpan=s.Bk,this.getSpanContext=s.w8,this.setSpan=s.Bx,this.setSpanContext=s.g_}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalTracerProvider=function(e){var t=(0,n.$G)(c,this._proxyTracerProvider,a.K.instance());return t&&this._proxyTracerProvider.setDelegate(e),t},e.prototype.getTracerProvider=function(){return(0,n.mS)(c)||this._proxyTracerProvider},e.prototype.getTracer=function(e,t){return this.getTracerProvider().getTracer(e,t)},e.prototype.disable=function(){(0,n.kv)(c,a.K.instance()),this._proxyTracerProvider=new i.n},e}().getInstance()},7150(e,t,r){"use strict";r.d(t,{d:()=>i});var n=r(3482),i=function(){function e(e){void 0===e&&(e=n.dM),this._spanContext=e}return e.prototype.spanContext=function(){return this._spanContext},e.prototype.setAttribute=function(e,t){return this},e.prototype.setAttributes=function(e){return this},e.prototype.addEvent=function(e,t){return this},e.prototype.addLink=function(e){return this},e.prototype.addLinks=function(e){return this},e.prototype.setStatus=function(e){return this},e.prototype.updateName=function(e){return this},e.prototype.end=function(e){},e.prototype.isRecording=function(){return!1},e.prototype.recordException=function(e,t){},e}()},9189(e,t,r){"use strict";r.d(t,{o:()=>c});var n=r(138),i=r(1065),o=r(7150),s=r(4029),a=n._.getInstance(),c=function(){function e(){}return e.prototype.startSpan=function(e,t,r){if(void 0===r&&(r=a.active()),Boolean(null==t?void 0:t.root))return new o.d;var n,c=r&&(0,i.w8)(r);return"object"==typeof(n=c)&&"string"==typeof n.spanId&&"string"==typeof n.traceId&&"number"==typeof n.traceFlags&&(0,s.YA)(c)?new o.d(c):new o.d},e.prototype.startActiveSpan=function(e,t,r,n){var o,s,c;if(!(arguments.length<2)){2===arguments.length?c=t:3===arguments.length?(o=t,c=r):(o=t,s=r,c=n);var u=null!=s?s:a.active(),l=this.startSpan(e,o,u),d=(0,i.Bx)(u,l);return a.with(d,c,void 0,l)}},e}()},1843(e,t,r){"use strict";r.d(t,{y:()=>i});var n=new(r(9189).o),i=function(){function e(e,t,r,n){this._provider=e,this.name=t,this.version=r,this.options=n}return e.prototype.startSpan=function(e,t,r){return this._getTracer().startSpan(e,t,r)},e.prototype.startActiveSpan=function(e,t,r,n){var i=this._getTracer();return Reflect.apply(i.startActiveSpan,i,arguments)},e.prototype._getTracer=function(){if(this._delegate)return this._delegate;var e=this._provider.getDelegateTracer(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):n},e}()},5009(e,t,r){"use strict";r.d(t,{n:()=>s});var n=r(1843),i=r(9189),o=new(function(){function e(){}return e.prototype.getTracer=function(e,t,r){return new i.o},e}()),s=function(){function e(){}return e.prototype.getTracer=function(e,t,r){var i;return null!==(i=this.getDelegateTracer(e,t,r))&&void 0!==i?i:new n.y(this,e,t,r)},e.prototype.getDelegate=function(){var e;return null!==(e=this._delegate)&&void 0!==e?e:o},e.prototype.setDelegate=function(e){this._delegate=e},e.prototype.getDelegateTracer=function(e,t,r){var n;return null===(n=this._delegate)||void 0===n?void 0:n.getTracer(e,t,r)},e}()},9160(e,t,r){"use strict";var n;r.d(t,{i:()=>n}),function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}(n||(n={}))},1065(e,t,r){"use strict";r.d(t,{Bk:()=>c,Bx:()=>u,EW:()=>l,fU:()=>a,g_:()=>d,w8:()=>p});var n=r(1239),i=r(7150),o=r(138),s=(0,n.n)("OpenTelemetry Context Key SPAN");function a(e){return e.getValue(s)||void 0}function c(){return a(o._.getInstance().active())}function u(e,t){return e.setValue(s,t)}function l(e){return e.deleteValue(s)}function d(e,t){return u(e,new i.d(t))}function p(e){var t;return null===(t=a(e))||void 0===t?void 0:t.spanContext()}},3482(e,t,r){"use strict";r.d(t,{RH:()=>o,dM:()=>s,w9:()=>i});var n=r(843),i="0000000000000000",o="00000000000000000000000000000000",s={traceId:o,spanId:i,traceFlags:n.X.NONE}},8117(e,t,r){"use strict";var n;r.d(t,{v:()=>n}),function(e){e[e.INTERNAL=0]="INTERNAL",e[e.SERVER=1]="SERVER",e[e.CLIENT=2]="CLIENT",e[e.PRODUCER=3]="PRODUCER",e[e.CONSUMER=4]="CONSUMER"}(n||(n={}))},4029(e,t,r){"use strict";r.d(t,{IP:()=>l,YA:()=>u,hX:()=>a,wN:()=>c});var n=r(3482),i=r(7150),o=/^([0-9a-f]{32})$/i,s=/^[0-9a-f]{16}$/i;function a(e){return o.test(e)&&e!==n.RH}function c(e){return s.test(e)&&e!==n.w9}function u(e){return a(e.traceId)&&c(e.spanId)}function l(e){return new i.d(e)}},4350(e,t,r){"use strict";var n;r.d(t,{s:()=>n}),function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"}(n||(n={}))},843(e,t,r){"use strict";var n;r.d(t,{X:()=>n}),function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"}(n||(n={}))},5337(e,t,r){"use strict";r.d(t,{KJ:()=>u,_5:()=>c,lg:()=>s,u5:()=>l});var n=r(5469),i=Math.pow(10,6),o=Math.pow(10,9);function s(e){var t=e/1e3;return[Math.trunc(t),Math.round(e%1e3*i)]}function a(){var e=n.u.timeOrigin;if("number"!=typeof e){var t=n.u;e=t.timing&&t.timing.fetchStart}return e}function c(e){return function(e,t){var r=[e[0]+t[0],e[1]+t[1]];return r[1]>=o&&(r[1]-=o,r[0]+=1),r}(s(a()),s("number"==typeof e?e:n.u.now()))}function u(e){if(function(e){return Array.isArray(e)&&2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]}(e))return e;if("number"==typeof e)return e<a()?c(e):s(e);if(e instanceof Date)return s(e.getTime());throw TypeError("Invalid input type")}function l(e){return e[0]*o+e[1]}},8960(e,t,r){"use strict";r.d(t,{X:()=>n});var n="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof r.g?r.g:{}},5469(e,t,r){"use strict";r.d(t,{u:()=>n});var n=performance},9821(e,t,r){"use strict";r.d(t,{K:()=>i,f:()=>n});function n(e,t){return"string"==typeof t?e===t:!!e.match(t)}function i(e,t){var r,i;if(!t)return!1;try{for(var o=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),s=o.next();!s.done;s=o.next())if(n(e,s.value))return!0}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return!1}},7513(e,t,r){"use strict";var n;r.d(t,{V:()=>n}),function(e){e[e.SUCCESS=0]="SUCCESS",e[e.FAILED=1]="FAILED"}(n||(n={}))},7264(e,t,r){"use strict";r.d(t,{EC:()=>o,KV:()=>c,QC:()=>a,hN:()=>i,kI:()=>u,r_:()=>s,un:()=>n});var n="=",i=";",o=",",s="baggage",a=180,c=4096,u=8192},9620(e,t,r){"use strict";r.d(t,{t:()=>a});var n=r(4895),i=r(8100),o=r(7264),s=r(1316),a=function(){function e(){}return e.prototype.inject=function(e,t,r){var a=n.$.getBaggage(e);if(a&&!(0,i.Zf)(e)){var c=(0,s.pX)(a).filter((function(e){return e.length<=o.KV})).slice(0,o.QC),u=(0,s.L7)(c);u.length>0&&r.set(t,o.r_,u)}},e.prototype.extract=function(e,t,r){var i=r.get(t,o.r_),a=Array.isArray(i)?i.join(o.EC):i;if(!a)return e;var c={};return 0===a.length?e:(a.split(o.EC).forEach((function(e){var t=(0,s.Qd)(e);if(t){var r={value:t.value};t.metadata&&(r.metadata=t.metadata),c[t.key]=r}})),0===Object.entries(c).length?e:n.$.setBaggage(e,n.$.createBaggage(c)))},e.prototype.fields=function(){return[o.r_]},e}()},1316(e,t,r){"use strict";r.d(t,{L7:()=>o,Qd:()=>a,hD:()=>c,pX:()=>s});var n=r(7420),i=r(7264);function o(e){return e.reduce((function(e,t){var r=""+e+(""!==e?i.EC:"")+t;return r.length>i.kI?e:r}),"")}function s(e){return e.getAllEntries().map((function(e){var t=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(e,2),r=t[0],n=t[1],o=encodeURIComponent(r)+"="+encodeURIComponent(n.value);return void 0!==n.metadata&&(o+=i.hN+n.metadata.toString()),o}))}function a(e){var t=e.split(i.hN);if(!(t.length<=0)){var r=t.shift();if(r){var o=r.indexOf(i.un);if(!(o<=0)){var s,a=decodeURIComponent(r.substring(0,o).trim()),c=decodeURIComponent(r.substring(o+1).trim());return t.length>0&&(s=(0,n.B)(t.join(i.hN))),{key:a,value:c,metadata:s}}}}}function c(e){return"string"!=typeof e||0===e.length?{}:e.split(i.EC).map((function(e){return a(e)})).filter((function(e){return void 0!==e&&e.value.length>0})).reduce((function(e,t){return e[t.key]=t.value,e}),{})}},7251(e,t,r){"use strict";r.d(t,{L:()=>s,m:()=>c,oU:()=>a});var n=r(6280),i=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s};function s(e){var t,r,s={};if("object"!=typeof e||null==e)return s;try{for(var u=i(Object.entries(e)),l=u.next();!l.done;l=u.next()){var d=o(l.value,2),p=d[0],h=d[1];a(p)?c(h)?Array.isArray(h)?s[p]=h.slice():s[p]=h:n.s.warn("Invalid attribute value set for key: "+p):n.s.warn("Invalid attribute key: "+p)}}catch(e){t={error:e}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(t)throw t.error}}return s}function a(e){return"string"==typeof e&&e.length>0}function c(e){return null==e||(Array.isArray(e)?function(e){var t,r,n;try{for(var o=i(e),s=o.next();!s.done;s=o.next()){var a=s.value;if(null!=a){if(!n){if(u(a)){n=typeof a;continue}return!1}if(typeof a!==n)return!1}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return!0}(e):u(e))}function u(e){switch(typeof e){case"number":case"boolean":case"string":return!0}return!1}},9011(e,t,r){"use strict";r.d(t,{s:()=>o,u:()=>i});var n=(0,r(8315).o)();function i(e){n=e}function o(e){try{n(e)}catch(e){}}},8315(e,t,r){"use strict";r.d(t,{o:()=>i});var n=r(6280);function i(){return function(e){n.s.error(function(e){return"string"==typeof e?e:JSON.stringify(function(e){for(var t={},r=e;null!==r;)Object.getOwnPropertyNames(r).forEach((function(e){if(!t[e]){var n=r[e];n&&(t[e]=String(n))}})),r=Object.getPrototypeOf(r);return t}(e))}(e))}}},5667(e,t,r){"use strict";r.d(t,{Ir:()=>E,JU:()=>h,KJ:()=>u,VL:()=>_,W5:()=>l,_5:()=>c,lg:()=>s,mw:()=>g,tq:()=>d,u5:()=>p,uc:()=>a,w_:()=>f});var n=r(3787),i=Math.pow(10,6),o=Math.pow(10,9);function s(e){var t=e/1e3;return[Math.trunc(t),Math.round(e%1e3*i)]}function a(){var e=n.u.timeOrigin;if("number"!=typeof e){var t=n.u;e=t.timing&&t.timing.fetchStart}return e}function c(e){return g(s(a()),s("number"==typeof e?e:n.u.now()))}function u(e){if(_(e))return e;if("number"==typeof e)return e<a()?c(e):s(e);if(e instanceof Date)return s(e.getTime());throw TypeError("Invalid input type")}function l(e,t){var r=t[0]-e[0],n=t[1]-e[1];return n<0&&(r-=1,n+=o),[r,n]}function d(e){var t=""+"0".repeat(9)+e[1]+"Z",r=t.substring(t.length-9-1);return new Date(1e3*e[0]).toISOString().replace("000Z",r)}function p(e){return e[0]*o+e[1]}function h(e){return 1e3*e[0]+e[1]/1e6}function f(e){return 1e6*e[0]+e[1]/1e3}function _(e){return Array.isArray(e)&&2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]}function E(e){return _(e)||"number"==typeof e||e instanceof Date}function g(e,t){var r=[e[0]+t[0],e[1]+t[1]];return r[1]>=o&&(r[1]-=o,r[0]+=1),r}},2401(e,t,r){"use strict";r.r(t),r.d(t,{AlwaysOffSampler:()=>P,AlwaysOnSampler:()=>I,AnchoredClock:()=>i,BindOnceFuture:()=>K.I,CompositePropagator:()=>O.n,DEFAULT_ATTRIBUTE_COUNT_LIMIT:()=>B.fv,DEFAULT_ATTRIBUTE_VALUE_LENGTH_LIMIT:()=>B.aE,DEFAULT_ENVIRONMENT:()=>B.Uz,DEFAULT_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT:()=>B.h9,DEFAULT_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT:()=>B.V,ExportResultCode:()=>d.V,ParentBasedSampler:()=>U,RPCType:()=>g,RandomIdGenerator:()=>h,SDK_INFO:()=>T.q,TRACE_PARENT_HEADER:()=>b.ZS,TRACE_STATE_HEADER:()=>b.UD,TimeoutError:()=>Y,TraceIdRatioBasedSampler:()=>k,TraceState:()=>V.n,TracesSamplerValues:()=>G.R,VERSION:()=>q.x,W3CBaggagePropagator:()=>n.t,W3CTraceContextPropagator:()=>b.lm,_globalThis:()=>S.X,addHrTimes:()=>c.mw,baggageUtils:()=>$,callWithTimeout:()=>X,deleteRPCMetadata:()=>w,getEnv:()=>v._,getEnvWithoutDefaults:()=>v.w,getRPCMetadata:()=>L,getTimeOrigin:()=>c.uc,globalErrorHandler:()=>s.s,hexToBase64:()=>E,hexToBinary:()=>l,hrTime:()=>c._5,hrTimeDuration:()=>c.W5,hrTimeToMicroseconds:()=>c.w_,hrTimeToMilliseconds:()=>c.JU,hrTimeToNanoseconds:()=>c.u5,hrTimeToTimeStamp:()=>c.tq,internal:()=>Q,isAttributeKey:()=>o.oU,isAttributeValue:()=>o.m,isTimeInput:()=>c.Ir,isTimeInputHrTime:()=>c.VL,isTracingSuppressed:()=>j.Zf,isUrlIgnored:()=>W.K,isWrapped:()=>z,loggingErrorHandler:()=>a.o,merge:()=>H.h,millisToHrTime:()=>c.lg,otperformance:()=>m.u,parseEnvironment:()=>B.Nq,parseTraceParent:()=>b.ZI,sanitizeAttributes:()=>o.L,setGlobalErrorHandler:()=>s.u,setRPCMetadata:()=>R,suppressTracing:()=>j.M1,timeInputToHrTime:()=>c.KJ,unrefTimer:()=>y.K,unsuppressTracing:()=>j.FU,urlMatches:()=>W.f});var n=r(9620),i=function(){function e(e,t){this._monotonicClock=t,this._epochMillis=e.now(),this._performanceMillis=t.now()}return e.prototype.now=function(){var e=this._monotonicClock.now()-this._performanceMillis;return this._epochMillis+e},e}(),o=r(7251),s=r(9011),a=r(8315),c=r(5667);function u(e){return e>=48&&e<=57?e-48:e>=97&&e<=102?e-87:e-55}function l(e){for(var t=new Uint8Array(e.length/2),r=0,n=0;n<e.length;n+=2){var i=u(e.charCodeAt(n)),o=u(e.charCodeAt(n+1));t[r++]=i<<4|o}return t}var d=r(7513),p=r(1316),h=function(){this.generateTraceId=_(16),this.generateSpanId=_(8)},f=Array(32);function _(e){return function(){for(var t=0;t<2*e;t++)f[t]=Math.floor(16*Math.random())+48,f[t]>=58&&(f[t]+=39);return String.fromCharCode.apply(null,f.slice(0,2*e))}}function E(e){return btoa(String.fromCharCode.apply(String,function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}([],function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(l(e)),!1)))}var g,T=r(422),S=r(4258),v=r(1300),m=r(3787),y=r(2473),O=r(1990),b=r(5624),A=(0,r(1239).n)("OpenTelemetry SDK Context Key RPC_METADATA");function R(e,t){return e.setValue(A,t)}function w(e){return e.deleteValue(A)}function L(e){return e.getValue(A)}!function(e){e.HTTP="http"}(g||(g={}));var C,N=r(9160),P=function(){function e(){}return e.prototype.shouldSample=function(){return{decision:N.i.NOT_RECORD}},e.prototype.toString=function(){return"AlwaysOffSampler"},e}(),I=function(){function e(){}return e.prototype.shouldSample=function(){return{decision:N.i.RECORD_AND_SAMPLED}},e.prototype.toString=function(){return"AlwaysOnSampler"},e}(),M=r(6678),D=r(4029),x=r(843),U=function(){function e(e){var t,r,n,i;this._root=e.root,this._root||((0,s.s)(new Error("ParentBasedSampler must have a root sampler configured")),this._root=new I),this._remoteParentSampled=null!==(t=e.remoteParentSampled)&&void 0!==t?t:new I,this._remoteParentNotSampled=null!==(r=e.remoteParentNotSampled)&&void 0!==r?r:new P,this._localParentSampled=null!==(n=e.localParentSampled)&&void 0!==n?n:new I,this._localParentNotSampled=null!==(i=e.localParentNotSampled)&&void 0!==i?i:new P}return e.prototype.shouldSample=function(e,t,r,n,i,o){var s=M.u.getSpanContext(e);return s&&(0,D.YA)(s)?s.isRemote?s.traceFlags&x.X.SAMPLED?this._remoteParentSampled.shouldSample(e,t,r,n,i,o):this._remoteParentNotSampled.shouldSample(e,t,r,n,i,o):s.traceFlags&x.X.SAMPLED?this._localParentSampled.shouldSample(e,t,r,n,i,o):this._localParentNotSampled.shouldSample(e,t,r,n,i,o):this._root.shouldSample(e,t,r,n,i,o)},e.prototype.toString=function(){return"ParentBased{root="+this._root.toString()+", remoteParentSampled="+this._remoteParentSampled.toString()+", remoteParentNotSampled="+this._remoteParentNotSampled.toString()+", localParentSampled="+this._localParentSampled.toString()+", localParentNotSampled="+this._localParentNotSampled.toString()+"}"},e}(),k=function(){function e(e){void 0===e&&(e=0),this._ratio=e,this._ratio=this._normalize(e),this._upperBound=Math.floor(4294967295*this._ratio)}return e.prototype.shouldSample=function(e,t){return{decision:(0,D.hX)(t)&&this._accumulate(t)<this._upperBound?N.i.RECORD_AND_SAMPLED:N.i.NOT_RECORD}},e.prototype.toString=function(){return"TraceIdRatioBased{"+this._ratio+"}"},e.prototype._normalize=function(e){return"number"!=typeof e||isNaN(e)?0:e>=1?1:e<=0?0:e},e.prototype._accumulate=function(e){for(var t=0,r=0;r<e.length/8;r++){var n=8*r;t=(t^parseInt(e.slice(n,n+8),16))>>>0}return t},e}(),j=r(8100),V=r(9019),B=r(1327),H=r(7760),G=r(6793),F=(C=function(e,t){return C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},C(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}C(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),Y=function(e){function t(r){var n=e.call(this,r)||this;return Object.setPrototypeOf(n,t.prototype),n}return F(t,e),t}(Error);function X(e,t){var r,n=new Promise((function(e,n){r=setTimeout((function(){n(new Y("Operation timed out."))}),t)}));return Promise.race([e,n]).then((function(e){return clearTimeout(r),e}),(function(e){throw clearTimeout(r),e}))}var W=r(887);function z(e){return"function"==typeof e&&"function"==typeof e.__original&&"function"==typeof e.__unwrap&&!0===e.__wrapped}var K=r(7972),q=r(4944),J=r(1514),$={getKeyPairs:p.pX,serializeKeyPairs:p.L7,parseKeyPairsIntoRecord:p.hD,parsePairKeyValue:p.Qd},Q={_export:function(e,t){return new Promise((function(r){J._.with((0,j.M1)(J._.active()),(function(){e.export(t,(function(e){r(e)}))}))}))}}},1300(e,t,r){"use strict";r.d(t,{_:()=>o,w:()=>s});var n=r(1327),i=r(4258);function o(){var e=(0,n.Nq)(i.X);return Object.assign({},n.Uz,e)}function s(){return(0,n.Nq)(i.X)}},4258(e,t,r){"use strict";r.d(t,{X:()=>n});var n="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof r.g?r.g:{}},3787(e,t,r){"use strict";r.d(t,{u:()=>n});var n=performance},422(e,t,r){"use strict";r.d(t,{q:()=>s});var n,i=r(4944),o=r(127),s=((n={})[o.$L]="opentelemetry",n[o.lb]="browser",n[o.Pl]=o.uh,n[o.y$]=i.x,n)},2473(e,t,r){"use strict";function n(e){}r.d(t,{K:()=>n})},1990(e,t,r){"use strict";r.d(t,{n:()=>i});var n=r(6280),i=function(){function e(e){var t;void 0===e&&(e={}),this._propagators=null!==(t=e.propagators)&&void 0!==t?t:[],this._fields=Array.from(new Set(this._propagators.map((function(e){return"function"==typeof e.fields?e.fields():[]})).reduce((function(e,t){return e.concat(t)}),[])))}return e.prototype.inject=function(e,t,r){var i,o;try{for(var s=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(this._propagators),a=s.next();!a.done;a=s.next()){var c=a.value;try{c.inject(e,t,r)}catch(e){n.s.warn("Failed to inject with "+c.constructor.name+". Err: "+e.message)}}}catch(e){i={error:e}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}},e.prototype.extract=function(e,t,r){return this._propagators.reduce((function(e,i){try{return i.extract(e,t,r)}catch(e){n.s.warn("Failed to extract with "+i.constructor.name+". Err: "+e.message)}return e}),e)},e.prototype.fields=function(){return this._fields.slice()},e}()},9019(e,t,r){"use strict";r.d(t,{n:()=>a});var n="[_0-9a-z-*/]",i=new RegExp("^(?:[a-z]"+n+"{0,255}|[a-z0-9]"+n+"{0,240}@[a-z]"+n+"{0,13})$"),o=/^[ -~]{0,255}[!-~]$/,s=/,|=/,a=function(){function e(e){this._internalState=new Map,e&&this._parse(e)}return e.prototype.set=function(e,t){var r=this._clone();return r._internalState.has(e)&&r._internalState.delete(e),r._internalState.set(e,t),r},e.prototype.unset=function(e){var t=this._clone();return t._internalState.delete(e),t},e.prototype.get=function(e){return this._internalState.get(e)},e.prototype.serialize=function(){var e=this;return this._keys().reduce((function(t,r){return t.push(r+"="+e.get(r)),t}),[]).join(",")},e.prototype._parse=function(e){e.length>512||(this._internalState=e.split(",").reverse().reduce((function(e,t){var r=t.trim(),n=r.indexOf("=");if(-1!==n){var a=r.slice(0,n),c=r.slice(n+1,t.length);(function(e){return i.test(e)})(a)&&function(e){return o.test(e)&&!s.test(e)}(c)&&e.set(a,c)}return e}),new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))},e.prototype._keys=function(){return Array.from(this._internalState.keys()).reverse()},e.prototype._clone=function(){var t=new e;return t._internalState=new Map(this._internalState),t},e}()},5624(e,t,r){"use strict";r.d(t,{UD:()=>u,ZI:()=>d,ZS:()=>c,lm:()=>p});var n=r(843),i=r(4029),o=r(6678),s=r(8100),a=r(9019),c="traceparent",u="tracestate",l=new RegExp("^\\s?((?!ff)[\\da-f]{2})-((?![0]{32})[\\da-f]{32})-((?![0]{16})[\\da-f]{16})-([\\da-f]{2})(-.*)?\\s?$");function d(e){var t=l.exec(e);return t?"00"===t[1]&&t[5]?null:{traceId:t[2],spanId:t[3],traceFlags:parseInt(t[4],16)}:null}var p=function(){function e(){}return e.prototype.inject=function(e,t,r){var a=o.u.getSpanContext(e);if(a&&!(0,s.Zf)(e)&&(0,i.YA)(a)){var l="00-"+a.traceId+"-"+a.spanId+"-0"+Number(a.traceFlags||n.X.NONE).toString(16);r.set(t,c,l),a.traceState&&r.set(t,u,a.traceState.serialize())}},e.prototype.extract=function(e,t,r){var n=r.get(t,c);if(!n)return e;var i=Array.isArray(n)?n[0]:n;if("string"!=typeof i)return e;var s=d(i);if(!s)return e;s.isRemote=!0;var l=r.get(t,u);if(l){var p=Array.isArray(l)?l.join(","):l;s.traceState=new a.n("string"==typeof p?p:void 0)}return o.u.setSpanContext(e,s)},e.prototype.fields=function(){return[c,u]},e}()},8100(e,t,r){"use strict";r.d(t,{FU:()=>o,M1:()=>i,Zf:()=>s});var n=(0,r(1239).n)("OpenTelemetry SDK Context Key SUPPRESS_TRACING");function i(e){return e.setValue(n,!0)}function o(e){return e.deleteValue(n)}function s(e){return!0===e.getValue(n)}},7972(e,t,r){"use strict";r.d(t,{I:()=>i});var n=function(){function e(){var e=this;this._promise=new Promise((function(t,r){e._resolve=t,e._reject=r}))}return Object.defineProperty(e.prototype,"promise",{get:function(){return this._promise},enumerable:!1,configurable:!0}),e.prototype.resolve=function(e){this._resolve(e)},e.prototype.reject=function(e){this._reject(e)},e}(),i=function(){function e(e,t){this._callback=e,this._that=t,this._isCalled=!1,this._deferred=new n}return Object.defineProperty(e.prototype,"isCalled",{get:function(){return this._isCalled},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"promise",{get:function(){return this._deferred.promise},enumerable:!1,configurable:!0}),e.prototype.call=function(){for(var e,t=this,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];if(!this._isCalled){this._isCalled=!0;try{Promise.resolve((e=this._callback).call.apply(e,function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}([this._that],function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(r),!1))).then((function(e){return t._deferred.resolve(e)}),(function(e){return t._deferred.reject(e)}))}catch(e){this._deferred.reject(e)}}return this._deferred.promise},e}()},1327(e,t,r){"use strict";r.d(t,{Nq:()=>m,Uz:()=>_,V:()=>f,aE:()=>d,fv:()=>p,h9:()=>h});var n=r(3991),i=r(6793),o=["OTEL_SDK_DISABLED"];function s(e){return o.indexOf(e)>-1}var a=["OTEL_BSP_EXPORT_TIMEOUT","OTEL_BSP_MAX_EXPORT_BATCH_SIZE","OTEL_BSP_MAX_QUEUE_SIZE","OTEL_BSP_SCHEDULE_DELAY","OTEL_BLRP_EXPORT_TIMEOUT","OTEL_BLRP_MAX_EXPORT_BATCH_SIZE","OTEL_BLRP_MAX_QUEUE_SIZE","OTEL_BLRP_SCHEDULE_DELAY","OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_ATTRIBUTE_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT","OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT","OTEL_SPAN_EVENT_COUNT_LIMIT","OTEL_SPAN_LINK_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT","OTEL_EXPORTER_OTLP_TIMEOUT","OTEL_EXPORTER_OTLP_TRACES_TIMEOUT","OTEL_EXPORTER_OTLP_METRICS_TIMEOUT","OTEL_EXPORTER_OTLP_LOGS_TIMEOUT","OTEL_EXPORTER_JAEGER_AGENT_PORT"];function c(e){return a.indexOf(e)>-1}var u=["OTEL_NO_PATCH_MODULES","OTEL_PROPAGATORS","OTEL_SEMCONV_STABILITY_OPT_IN"];function l(e){return u.indexOf(e)>-1}var d=1/0,p=128,h=128,f=128,_={OTEL_SDK_DISABLED:!1,CONTAINER_NAME:"",ECS_CONTAINER_METADATA_URI_V4:"",ECS_CONTAINER_METADATA_URI:"",HOSTNAME:"",KUBERNETES_SERVICE_HOST:"",NAMESPACE:"",OTEL_BSP_EXPORT_TIMEOUT:3e4,OTEL_BSP_MAX_EXPORT_BATCH_SIZE:512,OTEL_BSP_MAX_QUEUE_SIZE:2048,OTEL_BSP_SCHEDULE_DELAY:5e3,OTEL_BLRP_EXPORT_TIMEOUT:3e4,OTEL_BLRP_MAX_EXPORT_BATCH_SIZE:512,OTEL_BLRP_MAX_QUEUE_SIZE:2048,OTEL_BLRP_SCHEDULE_DELAY:5e3,OTEL_EXPORTER_JAEGER_AGENT_HOST:"",OTEL_EXPORTER_JAEGER_AGENT_PORT:6832,OTEL_EXPORTER_JAEGER_ENDPOINT:"",OTEL_EXPORTER_JAEGER_PASSWORD:"",OTEL_EXPORTER_JAEGER_USER:"",OTEL_EXPORTER_OTLP_ENDPOINT:"",OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:"",OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:"",OTEL_EXPORTER_OTLP_LOGS_ENDPOINT:"",OTEL_EXPORTER_OTLP_HEADERS:"",OTEL_EXPORTER_OTLP_TRACES_HEADERS:"",OTEL_EXPORTER_OTLP_METRICS_HEADERS:"",OTEL_EXPORTER_OTLP_LOGS_HEADERS:"",OTEL_EXPORTER_OTLP_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_TRACES_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_METRICS_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_LOGS_TIMEOUT:1e4,OTEL_EXPORTER_ZIPKIN_ENDPOINT:"http://localhost:9411/api/v2/spans",OTEL_LOG_LEVEL:n.u.INFO,OTEL_NO_PATCH_MODULES:[],OTEL_PROPAGATORS:["tracecontext","baggage"],OTEL_RESOURCE_ATTRIBUTES:"",OTEL_SERVICE_NAME:"",OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT:d,OTEL_ATTRIBUTE_COUNT_LIMIT:p,OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT:d,OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT:p,OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT:d,OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT:p,OTEL_SPAN_EVENT_COUNT_LIMIT:128,OTEL_SPAN_LINK_COUNT_LIMIT:128,OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT:h,OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT:f,OTEL_TRACES_EXPORTER:"",OTEL_TRACES_SAMPLER:i.R.ParentBasedAlwaysOn,OTEL_TRACES_SAMPLER_ARG:"",OTEL_LOGS_EXPORTER:"",OTEL_EXPORTER_OTLP_INSECURE:"",OTEL_EXPORTER_OTLP_TRACES_INSECURE:"",OTEL_EXPORTER_OTLP_METRICS_INSECURE:"",OTEL_EXPORTER_OTLP_LOGS_INSECURE:"",OTEL_EXPORTER_OTLP_CERTIFICATE:"",OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE:"",OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE:"",OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE:"",OTEL_EXPORTER_OTLP_COMPRESSION:"",OTEL_EXPORTER_OTLP_TRACES_COMPRESSION:"",OTEL_EXPORTER_OTLP_METRICS_COMPRESSION:"",OTEL_EXPORTER_OTLP_LOGS_COMPRESSION:"",OTEL_EXPORTER_OTLP_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_TRACES_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_LOGS_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_TRACES_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_LOGS_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_TRACES_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_METRICS_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_LOGS_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE:"cumulative",OTEL_SEMCONV_STABILITY_OPT_IN:[]};function E(e,t,r){if(void 0!==r[e]){var n=String(r[e]);t[e]="true"===n.toLowerCase()}}function g(e,t,r,n,i){if(void 0===n&&(n=-1/0),void 0===i&&(i=1/0),void 0!==r[e]){var o=Number(r[e]);isNaN(o)||(t[e]=o<n?n:o>i?i:o)}}function T(e,t,r,n){void 0===n&&(n=",");var i=r[e];"string"==typeof i&&(t[e]=i.split(n).map((function(e){return e.trim()})))}var S={ALL:n.u.ALL,VERBOSE:n.u.VERBOSE,DEBUG:n.u.DEBUG,INFO:n.u.INFO,WARN:n.u.WARN,ERROR:n.u.ERROR,NONE:n.u.NONE};function v(e,t,r){var n=r[e];if("string"==typeof n){var i=S[n.toUpperCase()];null!=i&&(t[e]=i)}}function m(e){var t={};for(var r in _){var n=r;if("OTEL_LOG_LEVEL"===n)v(n,t,e);else if(s(n))E(n,t,e);else if(c(n))g(n,t,e);else if(l(n))T(n,t,e);else{var i=e[n];null!=i&&(t[n]=String(i))}}return t}},7760(e,t,r){"use strict";r.d(t,{h:()=>h});var n,i,o=Function.prototype.toString,s=o.call(Object),a=(n=Object.getPrototypeOf,i=Object,function(e){return n(i(e))}),c=Object.prototype,u=c.hasOwnProperty,l=Symbol?Symbol.toStringTag:void 0,d=c.toString;function p(e){if(!function(e){return null!=e&&"object"==typeof e}(e)||"[object Object]"!==function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":l&&l in Object(e)?function(e){var t=u.call(e,l),r=e[l],n=!1;try{e[l]=void 0,n=!0}catch(e){}var i=d.call(e);return n&&(t?e[l]=r:delete e[l]),i}(e):function(e){return d.call(e)}(e)}(e))return!1;var t=a(e);if(null===t)return!0;var r=u.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&o.call(r)===s}function h(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e.shift(),n=new WeakMap;e.length>0;)r=_(r,e.shift(),0,n);return r}function f(e){return g(e)?e.slice():e}function _(e,t,r,n){var i;if(void 0===r&&(r=0),!(r>20)){if(r++,v(e)||v(t)||T(t))i=f(t);else if(g(e)){if(i=e.slice(),g(t))for(var o=0,s=t.length;o<s;o++)i.push(f(t[o]));else if(S(t))for(o=0,s=(a=Object.keys(t)).length;o<s;o++)i[c=a[o]]=f(t[c])}else if(S(e))if(S(t)){if(!function(e,t){return!(!p(e)||!p(t))}(e,t))return t;var a;for(i=Object.assign({},e),o=0,s=(a=Object.keys(t)).length;o<s;o++){var c,u=t[c=a[o]];if(v(u))void 0===u?delete i[c]:i[c]=u;else{var l=i[c],d=u;if(E(e,c,n)||E(t,c,n))delete i[c];else{if(S(l)&&S(d)){var h=n.get(l)||[],m=n.get(d)||[];h.push({obj:e,key:c}),m.push({obj:t,key:c}),n.set(l,h),n.set(d,m)}i[c]=_(i[c],u,r,n)}}}}else i=t;return i}}function E(e,t,r){for(var n=r.get(e[t])||[],i=0,o=n.length;i<o;i++){var s=n[i];if(s.key===t&&s.obj===e)return!0}return!1}function g(e){return Array.isArray(e)}function T(e){return"function"==typeof e}function S(e){return!v(e)&&!g(e)&&!T(e)&&"object"==typeof e}function v(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e||void 0===e||e instanceof Date||e instanceof RegExp||null===e}},6793(e,t,r){"use strict";var n;r.d(t,{R:()=>n}),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"}(n||(n={}))},887(e,t,r){"use strict";r.d(t,{K:()=>i,f:()=>n});function n(e,t){return"string"==typeof t?e===t:!!e.match(t)}function i(e,t){var r,i;if(!t)return!1;try{for(var o=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),s=o.next();!s.done;s=o.next())if(n(e,s.value))return!0}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return!1}},4944(e,t,r){"use strict";r.d(t,{x:()=>n});var n="1.30.1"},878(e,t,r){"use strict";r.r(t),r.d(t,{OTLPTraceExporter:()=>se});var n=r(7420);function i(e){return"string"!=typeof e||0===e.length?{}:e.split(",").map((function(e){return function(e){var t=e.split(";");if(!(t.length<=0)){var r=t.shift();if(r){var i=r.indexOf("=");if(!(i<=0)){var o,s=decodeURIComponent(r.substring(0,i).trim()),a=decodeURIComponent(r.substring(i+1).trim());return t.length>0&&(o=(0,n.B)(t.join(";"))),{key:s,value:a,metadata:o}}}}}(e)})).filter((function(e){return void 0!==e&&e.value.length>0})).reduce((function(e,t){return e[t.key]=t.value,e}),{})}var o,s=r(3991);!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"}(o||(o={}));var a=["OTEL_SDK_DISABLED"];function c(e){return a.indexOf(e)>-1}var u=["OTEL_BSP_EXPORT_TIMEOUT","OTEL_BSP_MAX_EXPORT_BATCH_SIZE","OTEL_BSP_MAX_QUEUE_SIZE","OTEL_BSP_SCHEDULE_DELAY","OTEL_BLRP_EXPORT_TIMEOUT","OTEL_BLRP_MAX_EXPORT_BATCH_SIZE","OTEL_BLRP_MAX_QUEUE_SIZE","OTEL_BLRP_SCHEDULE_DELAY","OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_ATTRIBUTE_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT","OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT","OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT","OTEL_SPAN_EVENT_COUNT_LIMIT","OTEL_SPAN_LINK_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT","OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT","OTEL_EXPORTER_OTLP_TIMEOUT","OTEL_EXPORTER_OTLP_TRACES_TIMEOUT","OTEL_EXPORTER_OTLP_METRICS_TIMEOUT","OTEL_EXPORTER_OTLP_LOGS_TIMEOUT","OTEL_EXPORTER_JAEGER_AGENT_PORT"];function l(e){return u.indexOf(e)>-1}var d=["OTEL_NO_PATCH_MODULES","OTEL_PROPAGATORS"];function p(e){return d.indexOf(e)>-1}var h=1/0,f={OTEL_SDK_DISABLED:!1,CONTAINER_NAME:"",ECS_CONTAINER_METADATA_URI_V4:"",ECS_CONTAINER_METADATA_URI:"",HOSTNAME:"",KUBERNETES_SERVICE_HOST:"",NAMESPACE:"",OTEL_BSP_EXPORT_TIMEOUT:3e4,OTEL_BSP_MAX_EXPORT_BATCH_SIZE:512,OTEL_BSP_MAX_QUEUE_SIZE:2048,OTEL_BSP_SCHEDULE_DELAY:5e3,OTEL_BLRP_EXPORT_TIMEOUT:3e4,OTEL_BLRP_MAX_EXPORT_BATCH_SIZE:512,OTEL_BLRP_MAX_QUEUE_SIZE:2048,OTEL_BLRP_SCHEDULE_DELAY:5e3,OTEL_EXPORTER_JAEGER_AGENT_HOST:"",OTEL_EXPORTER_JAEGER_AGENT_PORT:6832,OTEL_EXPORTER_JAEGER_ENDPOINT:"",OTEL_EXPORTER_JAEGER_PASSWORD:"",OTEL_EXPORTER_JAEGER_USER:"",OTEL_EXPORTER_OTLP_ENDPOINT:"",OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:"",OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:"",OTEL_EXPORTER_OTLP_LOGS_ENDPOINT:"",OTEL_EXPORTER_OTLP_HEADERS:"",OTEL_EXPORTER_OTLP_TRACES_HEADERS:"",OTEL_EXPORTER_OTLP_METRICS_HEADERS:"",OTEL_EXPORTER_OTLP_LOGS_HEADERS:"",OTEL_EXPORTER_OTLP_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_TRACES_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_METRICS_TIMEOUT:1e4,OTEL_EXPORTER_OTLP_LOGS_TIMEOUT:1e4,OTEL_EXPORTER_ZIPKIN_ENDPOINT:"http://localhost:9411/api/v2/spans",OTEL_LOG_LEVEL:s.u.INFO,OTEL_NO_PATCH_MODULES:[],OTEL_PROPAGATORS:["tracecontext","baggage"],OTEL_RESOURCE_ATTRIBUTES:"",OTEL_SERVICE_NAME:"",OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT:h,OTEL_ATTRIBUTE_COUNT_LIMIT:128,OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT:h,OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT:128,OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT:h,OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT:128,OTEL_SPAN_EVENT_COUNT_LIMIT:128,OTEL_SPAN_LINK_COUNT_LIMIT:128,OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT:128,OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT:128,OTEL_TRACES_EXPORTER:"",OTEL_TRACES_SAMPLER:o.ParentBasedAlwaysOn,OTEL_TRACES_SAMPLER_ARG:"",OTEL_LOGS_EXPORTER:"",OTEL_EXPORTER_OTLP_INSECURE:"",OTEL_EXPORTER_OTLP_TRACES_INSECURE:"",OTEL_EXPORTER_OTLP_METRICS_INSECURE:"",OTEL_EXPORTER_OTLP_LOGS_INSECURE:"",OTEL_EXPORTER_OTLP_CERTIFICATE:"",OTEL_EXPORTER_OTLP_TRACES_CERTIFICATE:"",OTEL_EXPORTER_OTLP_METRICS_CERTIFICATE:"",OTEL_EXPORTER_OTLP_LOGS_CERTIFICATE:"",OTEL_EXPORTER_OTLP_COMPRESSION:"",OTEL_EXPORTER_OTLP_TRACES_COMPRESSION:"",OTEL_EXPORTER_OTLP_METRICS_COMPRESSION:"",OTEL_EXPORTER_OTLP_LOGS_COMPRESSION:"",OTEL_EXPORTER_OTLP_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_TRACES_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_LOGS_CLIENT_KEY:"",OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_TRACES_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_LOGS_CLIENT_CERTIFICATE:"",OTEL_EXPORTER_OTLP_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_TRACES_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_METRICS_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_LOGS_PROTOCOL:"http/protobuf",OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE:"cumulative"};function _(e,t,r){if(void 0!==r[e]){var n=String(r[e]);t[e]="true"===n.toLowerCase()}}function E(e,t,r,n,i){if(void 0===n&&(n=-1/0),void 0===i&&(i=1/0),void 0!==r[e]){var o=Number(r[e]);isNaN(o)||(t[e]=o<n?n:o>i?i:o)}}function g(e,t,r,n){void 0===n&&(n=",");var i=r[e];"string"==typeof i&&(t[e]=i.split(n).map((function(e){return e.trim()})))}var T={ALL:s.u.ALL,VERBOSE:s.u.VERBOSE,DEBUG:s.u.DEBUG,INFO:s.u.INFO,WARN:s.u.WARN,ERROR:s.u.ERROR,NONE:s.u.NONE};function S(e,t,r){var n=r[e];if("string"==typeof n){var i=T[n.toUpperCase()];null!=i&&(t[e]=i)}}var v=r(8960);function m(){var e=function(e){var t={};for(var r in f){var n=r;if("OTEL_LOG_LEVEL"===n)S(n,t,e);else if(c(n))_(n,t,e);else if(l(n))E(n,t,e);else if(p(n))g(n,t,e);else{var i=e[n];null!=i&&(t[n]=String(i))}}return t}(v.X);return Object.assign({},f,e)}var y=r(6280);function O(e,t){return y.s.warn("Timeout must be greater than 0",e),t}var b,A=function(){function e(){var e=this;this._promise=new Promise((function(t,r){e._resolve=t,e._reject=r}))}return Object.defineProperty(e.prototype,"promise",{get:function(){return this._promise},enumerable:!1,configurable:!0}),e.prototype.resolve=function(e){this._resolve(e)},e.prototype.reject=function(e){this._reject(e)},e}(),R=function(){function e(e,t){this._callback=e,this._that=t,this._isCalled=!1,this._deferred=new A}return Object.defineProperty(e.prototype,"isCalled",{get:function(){return this._isCalled},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"promise",{get:function(){return this._deferred.promise},enumerable:!1,configurable:!0}),e.prototype.call=function(){for(var e,t=this,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];if(!this._isCalled){this._isCalled=!0;try{Promise.resolve((e=this._callback).call.apply(e,function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}([this._that],function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(r),!1))).then((function(e){return t._deferred.resolve(e)}),(function(e){return t._deferred.reject(e)}))}catch(e){this._deferred.reject(e)}}return this._deferred.promise},e}();!function(e){e[e.SUCCESS=0]="SUCCESS",e[e.FAILED=1]="FAILED"}(b||(b={}));var w,L=function(){function e(e){void 0===e&&(e={}),this._sendingPromises=[],this.url=this.getDefaultUrl(e),"string"==typeof e.hostname&&(this.hostname=e.hostname),this.shutdown=this.shutdown.bind(this),this._shutdownOnce=new R(this._shutdown,this),this._concurrencyLimit="number"==typeof e.concurrencyLimit?e.concurrencyLimit:30,this.timeoutMillis=function(e){return"number"==typeof e?e<=0?O(e,1e4):e:(r=Number(null!==(t=m().OTEL_EXPORTER_OTLP_TRACES_TIMEOUT)&&void 0!==t?t:m().OTEL_EXPORTER_OTLP_TIMEOUT))<=0?O(r,1e4):r;var t,r}(e.timeoutMillis),this.onInit(e)}return e.prototype.export=function(e,t){this._shutdownOnce.isCalled?t({code:b.FAILED,error:new Error("Exporter has been shutdown")}):this._sendingPromises.length>=this._concurrencyLimit?t({code:b.FAILED,error:new Error("Concurrent export limit reached")}):this._export(e).then((function(){t({code:b.SUCCESS})})).catch((function(e){t({code:b.FAILED,error:e})}))},e.prototype._export=function(e){var t=this;return new Promise((function(r,n){try{y.s.debug("items to be sent",e),t.send(e,r,n)}catch(e){n(e)}}))},e.prototype.shutdown=function(){return this._shutdownOnce.call()},e.prototype.forceFlush=function(){return Promise.all(this._sendingPromises).then((function(){}))},e.prototype._shutdown=function(){return y.s.debug("shutdown started"),this.onShutdown(),this.forceFlush()},e}(),C=(w=function(e,t){return w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},w(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}w(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),N=function(e){function t(t,r,n){var i=e.call(this,t)||this;return i.name="OTLPExporterError",i.data=n,i.code=r,i}return C(t,e),t}(Error),P=function(){return P=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},P.apply(this,arguments)};function I(e,t,r,n,i,o){var s,a,c=!1,u=setTimeout((function(){if(clearTimeout(s),c=!0,a.readyState===XMLHttpRequest.DONE){var e=new N("Request Timeout");o(e)}else a.abort()}),n),l=function(n,d){void 0===n&&(n=5),void 0===d&&(d=1e3),(a=new XMLHttpRequest).open("POST",t),Object.entries(P(P({},{Accept:"application/json","Content-Type":"application/json"}),r)).forEach((function(e){var t=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(e,2),r=t[0],n=t[1];a.setRequestHeader(r,n)})),a.send(e),a.onreadystatechange=function(){if(a.readyState===XMLHttpRequest.DONE&&!1===c)if(a.status>=200&&a.status<=299)y.s.debug("xhr success",e),i(),clearTimeout(u),clearTimeout(s);else if(a.status&&(p=a.status,[429,502,503,504].includes(p))&&n>0){var t;d*=1.5,t=a.getResponseHeader("Retry-After")?function(e){if(null==e)return-1;var t=Number.parseInt(e,10);if(Number.isInteger(t))return t>0?1e3*t:-1;var r=new Date(e).getTime()-Date.now();return r>=0?r:0}(a.getResponseHeader("Retry-After")):Math.round(Math.random()*(5e3-d)+d),s=setTimeout((function(){l(n-1,d)}),t)}else{var r=new N("Failed to export with XHR (status: "+a.status+")",a.status);o(r),clearTimeout(u),clearTimeout(s)}var p},a.onabort=function(){if(c){var e=new N("Request Timeout");o(e)}clearTimeout(u),clearTimeout(s)},a.onerror=function(){if(c){var e=new N("Request Timeout");o(e)}clearTimeout(u),clearTimeout(s)}};l()}var M=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),D=function(){return D=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},D.apply(this,arguments)},x=function(e){function t(t,r,n){void 0===t&&(t={});var o=e.call(this,t)||this;return o._useXHR=!1,o._serializer=r,o._contentType=n,o._useXHR=!!t.headers||"function"!=typeof navigator.sendBeacon,o._useXHR?o._headers=Object.assign({},function(e){void 0===e&&(e={});var t={};return Object.entries(e).forEach((function(e){var r=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(e,2),n=r[0],i=r[1];void 0!==i?t[n]=String(i):y.s.warn('Header "'+n+'" has invalid value ('+i+") and will be ignored")})),t}(t.headers),i(m().OTEL_EXPORTER_OTLP_HEADERS)):o._headers={},o}return M(t,e),t.prototype.onInit=function(){},t.prototype.onShutdown=function(){},t.prototype.send=function(e,t,r){var n,i=this;if(this._shutdownOnce.isCalled)y.s.debug("Shutdown already started. Cannot send objects");else{var o=null!==(n=this._serializer.serializeRequest(e))&&void 0!==n?n:new Uint8Array,s=new Promise((function(e,t){i._useXHR?I(o,i.url,D(D({},i._headers),{"Content-Type":i._contentType}),i.timeoutMillis,e,t):function(e,t,r,n,i){navigator.sendBeacon(t,new Blob([e],r))?(y.s.debug("sendBeacon - can send",e),n()):i(new N("sendBeacon - cannot send "+e))}(o,i.url,{type:i._contentType},e,t)})).then(t,r);this._sendingPromises.push(s);var a=function(){var e=i._sendingPromises.indexOf(s);i._sendingPromises.splice(e,1)};s.then(a,a)}},t}(L);function U(e){return{name:e.name,version:e.version}}function k(e){return Object.keys(e).map((function(t){return j(t,e[t])}))}function j(e,t){return{key:e,value:V(t)}}function V(e){var t=typeof e;return"string"===t?{stringValue:e}:"number"===t?Number.isInteger(e)?{intValue:e}:{doubleValue:e}:"boolean"===t?{boolValue:e}:e instanceof Uint8Array?{bytesValue:e}:Array.isArray(e)?{arrayValue:{values:e.map(V)}}:"object"===t&&null!=e?{kvlistValue:{values:Object.entries(e).map((function(e){var t=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(e,2);return j(t[0],t[1])}))}}:{}}function B(e,t){var r,n=e.spanContext(),i=e.status;return{traceId:t.encodeSpanContext(n.traceId),spanId:t.encodeSpanContext(n.spanId),parentSpanId:t.encodeOptionalSpanContext(e.parentSpanId),traceState:null===(r=n.traceState)||void 0===r?void 0:r.serialize(),name:e.name,kind:null==e.kind?0:e.kind+1,startTimeUnixNano:t.encodeHrTime(e.startTime),endTimeUnixNano:t.encodeHrTime(e.endTime),attributes:k(e.attributes),droppedAttributesCount:e.droppedAttributesCount,events:e.events.map((function(e){return function(e,t){return{attributes:e.attributes?k(e.attributes):[],name:e.name,timeUnixNano:t.encodeHrTime(e.time),droppedAttributesCount:e.droppedAttributesCount||0}}(e,t)})),droppedEventsCount:e.droppedEventsCount,status:{code:i.code,message:i.message},links:e.links.map((function(e){return function(e,t){var r;return{attributes:e.attributes?k(e.attributes):[],spanId:t.encodeSpanContext(e.context.spanId),traceId:t.encodeSpanContext(e.context.traceId),traceState:null===(r=e.context.traceState)||void 0===r?void 0:r.serialize(),droppedAttributesCount:e.droppedAttributesCount||0}}(e,t)})),droppedLinksCount:e.droppedLinksCount}}var H=r(5337);function G(e){return e>=48&&e<=57?e-48:e>=97&&e<=102?e-87:e-55}function F(e){for(var t=new Uint8Array(e.length/2),r=0,n=0;n<e.length;n+=2){var i=G(e.charCodeAt(n)),o=G(e.charCodeAt(n+1));t[r++]=i<<4|o}return t}function Y(e){var t=BigInt(1e9);return BigInt(e[0])*t+BigInt(e[1])}function X(e){var t;return t=Y(e),{low:Number(BigInt.asUintN(32,t)),high:Number(BigInt.asUintN(32,t>>BigInt(32)))}}var W="undefined"!=typeof BigInt?function(e){return Y(e).toString()}:H.u5;function z(e){return e}function K(e){if(void 0!==e)return F(e)}var q={encodeHrTime:X,encodeSpanContext:F,encodeOptionalSpanContext:K};function J(e){var t,r;if(void 0===e)return q;var n=null===(t=e.useLongBits)||void 0===t||t,i=null!==(r=e.useHex)&&void 0!==r&&r;return{encodeHrTime:n?X:W,encodeSpanContext:i?z:F,encodeOptionalSpanContext:i?z:K}}function $(e){return{attributes:k(e.attributes),droppedAttributesCount:0}}var Q,Z,ee=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s};function te(e,t){for(var r=function(e){var t,r,n=new Map;try{for(var i=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),o=i.next();!o.done;o=i.next()){var s=o.value,a=n.get(s.resource);a||(a=new Map,n.set(s.resource,a));var c=s.instrumentationLibrary.name+"@"+(s.instrumentationLibrary.version||"")+":"+(s.instrumentationLibrary.schemaUrl||""),u=a.get(c);u||(u=[],a.set(c,u)),u.push(s)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}(e),n=[],i=r.entries(),o=i.next();!o.done;){for(var s=ee(o.value,2),a=s[0],c=[],u=s[1].values(),l=u.next();!l.done;){var d=l.value;if(d.length>0){var p=d.map((function(e){return B(e,t)}));c.push({scope:U(d[0].instrumentationLibrary),spans:p,schemaUrl:d[0].instrumentationLibrary.schemaUrl})}l=u.next()}var h={resource:$(a),scopeSpans:c,schemaUrl:void 0};n.push(h),o=i.next()}return n}r(7876),function(e){e[e.HISTOGRAM=0]="HISTOGRAM",e[e.EXPONENTIAL_HISTOGRAM=1]="EXPONENTIAL_HISTOGRAM",e[e.GAUGE=2]="GAUGE",e[e.SUM=3]="SUM"}(Q||(Q={})),function(e){e[e.DELTA=0]="DELTA",e[e.CUMULATIVE=1]="CUMULATIVE"}(Z||(Z={}));var re={serializeRequest:function(e){var t={resourceSpans:te(e,J({useHex:!0,useLongBits:!1}))};return(new TextEncoder).encode(JSON.stringify(t))},deserializeResponse:function(e){var t=new TextDecoder;return JSON.parse(t.decode(e))}},ne=function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),ie="v1/traces",oe="http://localhost:4318/"+ie,se=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,t,re,"application/json")||this;return r._headers=Object.assign(r._headers,i(m().OTEL_EXPORTER_OTLP_TRACES_HEADERS)),r}return ne(t,e),t.prototype.getDefaultUrl=function(e){return"string"==typeof e.url?e.url:m().OTEL_EXPORTER_OTLP_TRACES_ENDPOINT.length>0?function(e){try{var t=new URL(e);return""===t.pathname&&(t.pathname=t.pathname+"/"),t.toString()}catch(t){return y.s.warn("Could not parse export URL: '"+e+"'"),e}}(m().OTEL_EXPORTER_OTLP_TRACES_ENDPOINT):m().OTEL_EXPORTER_OTLP_ENDPOINT.length>0?(t=m().OTEL_EXPORTER_OTLP_ENDPOINT,r=ie,t.endsWith("/")||(t+="/"),t+r):oe;var t,r},t}(x)},8511(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._toZipkinAnnotations=t._toZipkinTags=t.toZipkinSpan=t.defaultStatusErrorTagName=t.defaultStatusCodeTagName=void 0;const n=r(4299),i=r(2401),o=r(3350),s={[n.SpanKind.CLIENT]:o.SpanKind.CLIENT,[n.SpanKind.SERVER]:o.SpanKind.SERVER,[n.SpanKind.CONSUMER]:o.SpanKind.CONSUMER,[n.SpanKind.PRODUCER]:o.SpanKind.PRODUCER,[n.SpanKind.INTERNAL]:void 0};function a({attributes:e,resource:t,status:r,droppedAttributesCount:i,droppedEventsCount:o,droppedLinksCount:s},a,c){const u={};for(const t of Object.keys(e))u[t]=String(e[t]);return r.code!==n.SpanStatusCode.UNSET&&(u[a]=String(n.SpanStatusCode[r.code])),r.code===n.SpanStatusCode.ERROR&&r.message&&(u[c]=r.message),i&&(u["otel.dropped_attributes_count"]=String(i)),o&&(u["otel.dropped_events_count"]=String(o)),s&&(u["otel.dropped_links_count"]=String(s)),Object.keys(t.attributes).forEach((e=>u[e]=String(t.attributes[e]))),u}function c(e){return e.map((e=>({timestamp:Math.round((0,i.hrTimeToMicroseconds)(e.time)),value:e.name})))}t.defaultStatusCodeTagName="otel.status_code",t.defaultStatusErrorTagName="error",t.toZipkinSpan=function(e,t,r,n){return{traceId:e.spanContext().traceId,parentId:e.parentSpanId,name:e.name,id:e.spanContext().spanId,kind:s[e.kind],timestamp:(0,i.hrTimeToMicroseconds)(e.startTime),duration:Math.round((0,i.hrTimeToMicroseconds)(e.duration)),localEndpoint:{serviceName:t},tags:a(e,r,n),annotations:e.events.length?c(e.events):void 0}},t._toZipkinTags=a,t._toZipkinAnnotations=c},3350(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SpanKind=void 0,function(e){e.CLIENT="CLIENT",e.SERVER="SERVER",e.CONSUMER="CONSUMER",e.PRODUCER="PRODUCER"}(t.SpanKind||(t.SpanKind={}))},1091(e,t,r){"use strict";r.r(t),r.d(t,{AttributeNames:()=>n,DocumentLoadInstrumentation:()=>S});var n,i=r(1514),o=r(4895),s=r(1239),a=r(6678),c=r(3787),u=r(5624),l=r(967),d=r(8503),p=r(1496),h=r(3716);!function(e){e.DOCUMENT_LOAD="documentLoad",e.DOCUMENT_FETCH="documentFetch",e.RESOURCE_FETCH="resourceFetch"}(n||(n={}));var f,_=r(7466);!function(e){e.FIRST_PAINT="firstPaint",e.FIRST_CONTENTFUL_PAINT="firstContentfulPaint"}(f||(f={}));var E,g={"first-paint":f.FIRST_PAINT,"first-contentful-paint":f.FIRST_CONTENTFUL_PAINT},T=(E=function(e,t){return E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},E(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}E(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),S=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,"@opentelemetry/instrumentation-document-load","0.39.0",t)||this;return r.component="document-load",r.version="1",r.moduleName=r.component,r}return T(t,e),t.prototype.init=function(){},t.prototype._onDocumentLoaded=function(){var e=this;window.setTimeout((function(){e._collectPerformance()}))},t.prototype._addResourcesSpans=function(e){var t,r,n=this,i=null===(r=(t=c.u).getEntriesByType)||void 0===r?void 0:r.call(t,"resource");i&&i.forEach((function(t){n._initResourceSpan(t,e)}))},t.prototype._collectPerformance=function(){var e=this,t=Array.from(document.getElementsByTagName("meta")).find((function(e){return e.getAttribute("name")===u.ZS})),r=function(){var e,t,r={},n=null===(t=(e=c.u).getEntriesByType)||void 0===t?void 0:t.call(e,"navigation")[0];if(n)Object.values(l.D).forEach((function(e){if((0,d.CJ)(n,e)){var t=n[e];"number"==typeof t&&(r[e]=t)}}));else{var i=c.u.timing;i&&Object.values(l.D).forEach((function(e){if((0,d.CJ)(i,e)){var t=i[e];"number"==typeof t&&(r[e]=t)}}))}return r}(),p=t&&t.content||"";i._.with(o.$.extract(s.l,{traceparent:p}),(function(){var t,o=e._startSpan(n.DOCUMENT_LOAD,l.D.FETCH_START,r);o&&(i._.with(a.u.setSpan(i._.active(),o),(function(){var t=e._startSpan(n.DOCUMENT_FETCH,l.D.FETCH_START,r);t&&(t.setAttribute(_.vSt,location.href),i._.with(a.u.setSpan(i._.active(),t),(function(){var n;e._getConfig().ignoreNetworkEvents||(0,d.v4)(t,r),e._addCustomAttributesOnSpan(t,null===(n=e._getConfig().applyCustomAttributesOnSpan)||void 0===n?void 0:n.documentFetch),e._endSpan(t,l.D.RESPONSE_END,r)})))})),o.setAttribute(_.vSt,location.href),o.setAttribute(_.Nz$,navigator.userAgent),e._addResourcesSpans(o),e._getConfig().ignoreNetworkEvents||((0,d.CL)(o,l.D.FETCH_START,r),(0,d.CL)(o,l.D.UNLOAD_EVENT_START,r),(0,d.CL)(o,l.D.UNLOAD_EVENT_END,r),(0,d.CL)(o,l.D.DOM_INTERACTIVE,r),(0,d.CL)(o,l.D.DOM_CONTENT_LOADED_EVENT_START,r),(0,d.CL)(o,l.D.DOM_CONTENT_LOADED_EVENT_END,r),(0,d.CL)(o,l.D.DOM_COMPLETE,r),(0,d.CL)(o,l.D.LOAD_EVENT_START,r),(0,d.CL)(o,l.D.LOAD_EVENT_END,r)),e._getConfig().ignorePerformancePaintEvents||function(e){var t,r,n=null===(r=(t=c.u).getEntriesByType)||void 0===r?void 0:r.call(t,"paint");n&&n.forEach((function(t){var r=t.name,n=t.startTime;(0,d.CJ)(g,r)&&e.addEvent(g[r],n)}))}(o),e._addCustomAttributesOnSpan(o,null===(t=e._getConfig().applyCustomAttributesOnSpan)||void 0===t?void 0:t.documentLoad),e._endSpan(o,l.D.LOAD_EVENT_END,r))}))},t.prototype._endSpan=function(e,t,r){e&&((0,d.CJ)(r,t)?e.end(r[t]):e.end())},t.prototype._initResourceSpan=function(e,t){var r,i=this._startSpan(n.RESOURCE_FETCH,l.D.FETCH_START,e,t);i&&(i.setAttribute(_.vSt,e.name),this._getConfig().ignoreNetworkEvents||(0,d.v4)(i,e),this._addCustomAttributesOnResourceSpan(i,e,null===(r=this._getConfig().applyCustomAttributesOnSpan)||void 0===r?void 0:r.resourceFetch),this._endSpan(i,l.D.RESPONSE_END,e))},t.prototype._startSpan=function(e,t,r,n){if((0,d.CJ)(r,t)&&"number"==typeof r[t])return this.tracer.startSpan(e,{startTime:r[t]},n?a.u.setSpan(i._.active(),n):void 0)},t.prototype._waitForPageLoad=function(){"complete"===window.document.readyState?this._onDocumentLoaded():(this._onDocumentLoaded=this._onDocumentLoaded.bind(this),window.addEventListener("load",this._onDocumentLoaded))},t.prototype._getConfig=function(){return this._config},t.prototype._addCustomAttributesOnSpan=function(e,t){var r=this;t&&(0,p.m3)((function(){return t(e)}),(function(e){e&&r._diag.error("addCustomAttributesOnSpan",e)}),!0)},t.prototype._addCustomAttributesOnResourceSpan=function(e,t,r){var n=this;r&&(0,p.m3)((function(){return r(e,t)}),(function(e){e&&n._diag.error("addCustomAttributesOnResourceSpan",e)}),!0)},t.prototype.enable=function(){window.removeEventListener("load",this._onDocumentLoaded),this._waitForPageLoad()},t.prototype.disable=function(){window.removeEventListener("load",this._onDocumentLoaded)},t}(h.O)},9820(e,t,r){"use strict";r.r(t),r.d(t,{FetchInstrumentation:()=>m});var n,i=r(6678),o=r(1514),s=r(4895),a=r(8117),c=r(1496),u=r(3716),l=r(9821),d=r(5337),p=r(7401),h=r(9173);!function(e){e.COMPONENT="component",e.HTTP_ERROR_NAME="http.error_name",e.HTTP_STATUS_TEXT="http.status_text"}(n||(n={}));var f,_,E=r(5901),g="0.52.1",T=r(8960),S=(f=function(e,t){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},f(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),v="object"==typeof process&&"node"===(null===(_=process.release)||void 0===_?void 0:_.name),m=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,"@opentelemetry/instrumentation-fetch",g,t)||this;return r.component="fetch",r.version=g,r.moduleName=r.component,r._usedResources=new WeakSet,r._tasksCount=0,r}return S(t,e),t.prototype.init=function(){},t.prototype._addChildSpan=function(e,t){var r=this.tracer.startSpan("CORS Preflight",{startTime:t[p.D.FETCH_START]},i.u.setSpan(o._.active(),e));this.getConfig().ignoreNetworkEvents||h.v4(r,t),r.end(t[p.D.RESPONSE_END])},t.prototype._addFinalSpanAttributes=function(e,t){var r=h.Dl(t.url);e.setAttribute(E.W_O,t.status),null!=t.statusText&&e.setAttribute(n.HTTP_STATUS_TEXT,t.statusText),e.setAttribute(E.Qv9,r.host),e.setAttribute(E.zPu,r.protocol.replace(":","")),"undefined"!=typeof navigator&&e.setAttribute(E.Nz$,navigator.userAgent)},t.prototype._addHeaders=function(e,t){if(!h.wF(t,this.getConfig().propagateTraceHeaderCorsUrls)){var r={};return s.$.inject(o._.active(),r),void(Object.keys(r).length>0&&this._diag.debug("headers inject skipped due to CORS policy"))}e instanceof Request||e.headers instanceof Headers||e.headers instanceof Map?s.$.inject(o._.active(),e.headers,{set:function(e,t,r){return e.set(t,"string"==typeof r?r:String(r))}}):(r={},s.$.inject(o._.active(),r),e.headers=Object.assign({},r,e.headers||{}))},t.prototype._clearResources=function(){0===this._tasksCount&&this.getConfig().clearTimingResources&&(performance.clearResourceTimings(),this._usedResources=new WeakSet)},t.prototype._createSpan=function(e,t){var r;if(void 0===t&&(t={}),!l.K(e,this.getConfig().ignoreUrls)){var i=(t.method||"GET").toUpperCase(),o="HTTP "+i;return this.tracer.startSpan(o,{kind:a.v.CLIENT,attributes:(r={},r[n.COMPONENT]=this.moduleName,r[E.vof]=i,r[E.vSt]=e,r)})}this._diag.debug("ignoring span as url matches ignored url")},t.prototype._findResourceAndAddNetworkEvents=function(e,t,r){var n=t.entries;if(!n.length){if(!performance.getEntriesByType)return;n=performance.getEntriesByType("resource")}var i=h.hZ(t.spanUrl,t.startTime,r,n,this._usedResources,"fetch");if(i.mainRequest){var o=i.mainRequest;this._markResourceAsUsed(o);var s=i.corsPreFlightRequest;s&&(this._addChildSpan(e,s),this._markResourceAsUsed(s)),this.getConfig().ignoreNetworkEvents||h.v4(e,o)}},t.prototype._markResourceAsUsed=function(e){this._usedResources.add(e)},t.prototype._endSpan=function(e,t,r){var n=this,i=d.lg(Date.now()),o=d._5();this._addFinalSpanAttributes(e,r),setTimeout((function(){var r;null===(r=t.observer)||void 0===r||r.disconnect(),n._findResourceAndAddNetworkEvents(e,t,o),n._tasksCount--,n._clearResources(),e.end(i)}),300)},t.prototype._patchConstructor=function(){var e=this;return function(t){var r=e;return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var s=this,a=h.Dl(e[0]instanceof Request?e[0].url:String(e[0])).href,c=e[0]instanceof Request?e[0]:e[1]||{},u=r._createSpan(a,c);if(!u)return t.apply(this,e);var l=r._prepareSpanData(a);function d(e,t){r._applyAttributesAfterFetch(e,c,t),r._endSpan(e,l,{status:t.status||0,statusText:t.message,url:a})}function p(e,t){r._applyAttributesAfterFetch(e,c,t),t.status>=200&&t.status<400?r._endSpan(e,l,t):r._endSpan(e,l,{status:t.status,statusText:t.statusText,url:a})}function f(e,t,r){try{var n=r.clone(),i=r.clone(),o=n.body;if(o){var s=o.getReader(),a=function(){s.read().then((function(t){t.done?p(e,i):a()}),(function(t){d(e,t)}))};a()}else p(e,r)}finally{t(r)}}function _(e,t,r){try{d(e,r)}finally{t(r)}}return new Promise((function(e,n){return o._.with(i.u.setSpan(o._.active(),u),(function(){return r._addHeaders(c,a),r._tasksCount++,t.apply(s,c instanceof Request?[c]:[a,c]).then(f.bind(s,u,e),_.bind(s,u,n))}))}))}}},t.prototype._applyAttributesAfterFetch=function(e,t,r){var n=this,i=this.getConfig().applyCustomAttributesOnSpan;i&&(0,c.m3)((function(){return i(e,t,r)}),(function(e){e&&n._diag.error("applyCustomAttributesOnSpan",e)}),!0)},t.prototype._prepareSpanData=function(e){var t=d._5(),r=[];if("function"!=typeof PerformanceObserver)return{entries:r,startTime:t,spanUrl:e};var n=new PerformanceObserver((function(t){t.getEntries().forEach((function(t){"fetch"===t.initiatorType&&t.name===e&&r.push(t)}))}));return n.observe({entryTypes:["resource"]}),{entries:r,observer:n,startTime:t,spanUrl:e}},t.prototype.enable=function(){v?this._diag.warn("this instrumentation is intended for web usage only, it does not instrument Node.js's fetch()"):((0,c.Yu)(fetch)&&(this._unwrap(T.X,"fetch"),this._diag.debug("removing previous patch for constructor")),this._wrap(T.X,"fetch",this._patchConstructor()))},t.prototype.disable=function(){v||(this._unwrap(T.X,"fetch"),this._usedResources=new WeakSet)},t}(u.O)},2210(e,t,r){"use strict";r.r(t),r.d(t,{XMLHttpRequestInstrumentation:()=>v});var n,i=r(4895),o=r(1514),s=r(6678),a=r(8117),c=r(1496),u=r(3716),l=r(5469),d=r(9821),p=r(5337),h=r(5901),f=r(9173),_=r(7401);!function(e){e.METHOD_OPEN="open",e.METHOD_SEND="send",e.EVENT_ABORT="abort",e.EVENT_ERROR="error",e.EVENT_LOAD="loaded",e.EVENT_TIMEOUT="timeout"}(n||(n={}));var E,g="0.52.1";!function(e){e.HTTP_STATUS_TEXT="http.status_text"}(E||(E={}));var T,S=(T=function(e,t){return T=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},T(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}T(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),v=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,"@opentelemetry/instrumentation-xml-http-request",g,t)||this;return r.component="xml-http-request",r.version=g,r.moduleName=r.component,r._tasksCount=0,r._xhrMem=new WeakMap,r._usedResources=new WeakSet,r}return S(t,e),t.prototype.init=function(){},t.prototype._addHeaders=function(e,t){var r=(0,f.Dl)(t).href;if(!(0,f.wF)(r,this.getConfig().propagateTraceHeaderCorsUrls)){var n={};return i.$.inject(o._.active(),n),void(Object.keys(n).length>0&&this._diag.debug("headers inject skipped due to CORS policy"))}var s={};i.$.inject(o._.active(),s),Object.keys(s).forEach((function(t){e.setRequestHeader(t,String(s[t]))}))},t.prototype._addChildSpan=function(e,t){var r=this;o._.with(s.u.setSpan(o._.active(),e),(function(){var e=r.tracer.startSpan("CORS Preflight",{startTime:t[_.D.FETCH_START]});r.getConfig().ignoreNetworkEvents||(0,f.v4)(e,t),e.end(t[_.D.RESPONSE_END])}))},t.prototype._addFinalSpanAttributes=function(e,t,r){if("string"==typeof r){var n=(0,f.Dl)(r);void 0!==t.status&&e.setAttribute(h.W_O,t.status),void 0!==t.statusText&&e.setAttribute(E.HTTP_STATUS_TEXT,t.statusText),e.setAttribute(h.Qv9,n.host),e.setAttribute(h.zPu,n.protocol.replace(":","")),e.setAttribute(h.Nz$,navigator.userAgent)}},t.prototype._applyAttributesAfterXHR=function(e,t){var r=this,n=this.getConfig().applyCustomAttributesOnSpan;"function"==typeof n&&(0,c.m3)((function(){return n(e,t)}),(function(e){e&&r._diag.error("applyCustomAttributesOnSpan",e)}),!0)},t.prototype._addResourceObserver=function(e,t){var r=this._xhrMem.get(e);r&&"function"==typeof PerformanceObserver&&"function"==typeof PerformanceResourceTiming&&(r.createdResources={observer:new PerformanceObserver((function(e){var n=e.getEntries(),i=(0,f.Dl)(t);n.forEach((function(e){"xmlhttprequest"===e.initiatorType&&e.name===i.href&&r.createdResources&&r.createdResources.entries.push(e)}))})),entries:[]},r.createdResources.observer.observe({entryTypes:["resource"]}))},t.prototype._clearResources=function(){0===this._tasksCount&&this.getConfig().clearTimingResources&&(l.u.clearResourceTimings(),this._xhrMem=new WeakMap,this._usedResources=new WeakSet)},t.prototype._findResourceAndAddNetworkEvents=function(e,t,r,n,i){if(r&&n&&i&&e.createdResources){var o=e.createdResources.entries;o&&o.length||(o=l.u.getEntriesByType("resource"));var s=(0,f.hZ)((0,f.Dl)(r).href,n,i,o,this._usedResources);if(s.mainRequest){var a=s.mainRequest;this._markResourceAsUsed(a);var c=s.corsPreFlightRequest;c&&(this._addChildSpan(t,c),this._markResourceAsUsed(c)),this.getConfig().ignoreNetworkEvents||(0,f.v4)(t,a)}}},t.prototype._cleanPreviousSpanInformation=function(e){var t=this._xhrMem.get(e);if(t){var r=t.callbackToRemoveEvents;r&&r(),this._xhrMem.delete(e)}},t.prototype._createSpan=function(e,t,r){var i;if(!(0,d.K)(t,this.getConfig().ignoreUrls)){var o=r.toUpperCase(),s=this.tracer.startSpan(o,{kind:a.v.CLIENT,attributes:(i={},i[h.vof]=r,i[h.vSt]=(0,f.Dl)(t).toString(),i)});return s.addEvent(n.METHOD_OPEN),this._cleanPreviousSpanInformation(e),this._xhrMem.set(e,{span:s,spanUrl:t}),s}this._diag.debug("ignoring span as url matches ignored url")},t.prototype._markResourceAsUsed=function(e){this._usedResources.add(e)},t.prototype._patchOpen=function(){var e=this;return function(t){var r=e;return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];var i=e[0],o=e[1];return r._createSpan(this,o,i),t.apply(this,e)}}},t.prototype._patchSend=function(){var e=this;function t(t,r){var n=e._xhrMem.get(r);if(n){n.status=r.status,n.statusText=r.statusText,e._xhrMem.delete(r),n.span&&e._applyAttributesAfterXHR(n.span,r);var i=(0,p._5)(),o=Date.now();setTimeout((function(){!function(t,r,n,i){var o=r.callbackToRemoveEvents;"function"==typeof o&&o();var s=r.span,a=r.spanUrl,c=r.sendStartTime;s&&(e._findResourceAndAddNetworkEvents(r,s,a,c,n),s.addEvent(t,i),e._addFinalSpanAttributes(s,r,a),s.end(i),e._tasksCount--),e._clearResources()}(t,n,i,o)}),300)}}function r(){t(n.EVENT_ERROR,this)}function i(){t(n.EVENT_ABORT,this)}function a(){t(n.EVENT_TIMEOUT,this)}function c(){this.status<299?t(n.EVENT_LOAD,this):t(n.EVENT_ERROR,this)}return function(t){return function(){for(var u=this,l=[],d=0;d<arguments.length;d++)l[d]=arguments[d];var h=e._xhrMem.get(this);if(!h)return t.apply(this,l);var f=h.span,_=h.spanUrl;return f&&_&&o._.with(s.u.setSpan(o._.active(),f),(function(){e._tasksCount++,h.sendStartTime=(0,p._5)(),f.addEvent(n.METHOD_SEND),u.addEventListener("abort",i),u.addEventListener("error",r),u.addEventListener("load",c),u.addEventListener("timeout",a),h.callbackToRemoveEvents=function(){!function(t){t.removeEventListener("abort",i),t.removeEventListener("error",r),t.removeEventListener("load",c),t.removeEventListener("timeout",a);var n=e._xhrMem.get(t);n&&(n.callbackToRemoveEvents=void 0)}(u),h.createdResources&&h.createdResources.observer.disconnect()},e._addHeaders(u,_),e._addResourceObserver(u,_)})),t.apply(this,l)}}},t.prototype.enable=function(){this._diag.debug("applying patch to",this.moduleName,this.version),(0,c.Yu)(XMLHttpRequest.prototype.open)&&(this._unwrap(XMLHttpRequest.prototype,"open"),this._diag.debug("removing previous patch from method open")),(0,c.Yu)(XMLHttpRequest.prototype.send)&&(this._unwrap(XMLHttpRequest.prototype,"send"),this._diag.debug("removing previous patch from method send")),this._wrap(XMLHttpRequest.prototype,"open",this._patchOpen()),this._wrap(XMLHttpRequest.prototype,"send",this._patchSend())},t.prototype.disable=function(){this._diag.debug("removing patch from",this.moduleName,this.version),this._unwrap(XMLHttpRequest.prototype,"open"),this._unwrap(XMLHttpRequest.prototype,"send"),this._tasksCount=0,this._xhrMem=new WeakMap,this._usedResources=new WeakSet},t}(u.O)},2903(e,t,r){"use strict";r.r(t),r.d(t,{InstrumentationBase:()=>a.O,InstrumentationNodeModuleDefinition:()=>c,InstrumentationNodeModuleFile:()=>l,isWrapped:()=>d.Yu,registerInstrumentations:()=>s,safeExecuteInTheMiddle:()=>d.m3,safeExecuteInTheMiddleAsync:()=>d.mr});var n=r(6678),i=r(753),o=r(7797);function s(e){var t,r,s=e.tracerProvider||n.u.getTracerProvider(),a=e.meterProvider||i.q.getMeterProvider(),c=e.loggerProvider||o.K9.getLoggerProvider(),u=null!==(r=null===(t=e.instrumentations)||void 0===t?void 0:t.flat())&&void 0!==r?r:[];return function(e,t,r,n){for(var i=0,o=e.length;i<o;i++){var s=e[i];t&&s.setTracerProvider(t),r&&s.setMeterProvider(r),n&&s.setLoggerProvider&&s.setLoggerProvider(n),s.getConfig().enabled||s.enable()}}(u,s,a,c),function(){!function(e){e.forEach((function(e){return e.disable()}))}(u)}}var a=r(3716),c=function(e,t,r,n,i){this.name=e,this.supportedVersions=t,this.patch=r,this.unpatch=n,this.files=i||[]},u=r(6280),l=function(e,t,r,n){var i;this.supportedVersions=t,this.patch=r,this.unpatch=n,this.name=(i=e,u.s.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)"),i)},d=r(1496)},3716(e,t,r){"use strict";r.d(t,{O:()=>p});var n,i=r(6280),o=r(6678),s=r(753),a=r(7797),c=r(2567),u=function(){return u=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},u.apply(this,arguments)},l=function(){function e(e,t,r){this.instrumentationName=e,this.instrumentationVersion=t,this._wrap=c.wrap,this._unwrap=c.unwrap,this._massWrap=c.massWrap,this._massUnwrap=c.massUnwrap,this._config=u({enabled:!0},r),this._diag=i.s.createComponentLogger({namespace:e}),this._tracer=o.u.getTracer(e,t),this._meter=s.q.getMeter(e,t),this._logger=a.K9.getLogger(e,t),this._updateMetricInstruments()}return Object.defineProperty(e.prototype,"meter",{get:function(){return this._meter},enumerable:!1,configurable:!0}),e.prototype.setMeterProvider=function(e){this._meter=e.getMeter(this.instrumentationName,this.instrumentationVersion),this._updateMetricInstruments()},Object.defineProperty(e.prototype,"logger",{get:function(){return this._logger},enumerable:!1,configurable:!0}),e.prototype.setLoggerProvider=function(e){this._logger=e.getLogger(this.instrumentationName,this.instrumentationVersion)},e.prototype.getModuleDefinitions=function(){var e,t=null!==(e=this.init())&&void 0!==e?e:[];return Array.isArray(t)?t:[t]},e.prototype._updateMetricInstruments=function(){},e.prototype.getConfig=function(){return this._config},e.prototype.setConfig=function(e){this._config=u({},e)},e.prototype.setTracerProvider=function(e){this._tracer=e.getTracer(this.instrumentationName,this.instrumentationVersion)},Object.defineProperty(e.prototype,"tracer",{get:function(){return this._tracer},enumerable:!1,configurable:!0}),e.prototype._runSpanCustomizationHook=function(e,t,r,n){if(e)try{e(r,n)}catch(e){this._diag.error("Error running span customization hook due to exception in handler",{triggerName:t},e)}},e}(),d=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),p=function(e){function t(t,r,n){var i=e.call(this,t,r,n)||this;return i._config.enabled&&i.enable(),i}return d(t,e),t}(l)},1496(e,t,r){"use strict";r.d(t,{Yu:()=>o,m3:()=>n,mr:()=>i});function n(e,t,r){var n,i;try{i=e()}catch(e){n=e}finally{if(t(n,i),n&&!r)throw n;return i}}function i(e,t,r){return function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))}(this,void 0,void 0,(function(){var n,i,o;return function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}(this,(function(s){switch(s.label){case 0:return s.trys.push([0,2,3,4]),[4,e()];case 1:return i=s.sent(),[3,4];case 2:return o=s.sent(),n=o,[3,4];case 3:if(t(n,i),n&&!r)throw n;return[2,i];case 4:return[2]}}))}))}function o(e){return"function"==typeof e&&"function"==typeof e.__original&&"function"==typeof e.__unwrap&&!0===e.__wrapped}},5004(e,t,r){"use strict";r.d(t,{F:()=>c});var n=r(6280),i=r(127),o=r(422),s=r(14),a=function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},a.apply(this,arguments)},c=function(){function e(e,t){var r,i=this;this._attributes=e,this.asyncAttributesPending=null!=t,this._syncAttributes=null!==(r=this._attributes)&&void 0!==r?r:{},this._asyncAttributesPromise=null==t?void 0:t.then((function(e){return i._attributes=Object.assign({},i._attributes,e),i.asyncAttributesPending=!1,e}),(function(e){return n.s.debug("a resource's async attributes promise rejected: %s",e),i.asyncAttributesPending=!1,{}}))}return e.empty=function(){return e.EMPTY},e.default=function(){var t;return new e(((t={})[i.AV]=(0,s.m)(),t[i.Pl]=o.q[i.Pl],t[i.$L]=o.q[i.$L],t[i.y$]=o.q[i.y$],t))},Object.defineProperty(e.prototype,"attributes",{get:function(){var e;return this.asyncAttributesPending&&n.s.error("Accessing resource attributes before async attributes settled"),null!==(e=this._attributes)&&void 0!==e?e:{}},enumerable:!1,configurable:!0}),e.prototype.waitForAsyncAttributes=function(){return function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))}(this,void 0,void 0,(function(){return function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}(this,(function(e){switch(e.label){case 0:return this.asyncAttributesPending?[4,this._asyncAttributesPromise]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}}))}))},e.prototype.merge=function(t){var r,n=this;if(!t)return this;var i=a(a({},this._syncAttributes),null!==(r=t._syncAttributes)&&void 0!==r?r:t.attributes);if(!this._asyncAttributesPromise&&!t._asyncAttributesPromise)return new e(i);var o=Promise.all([this._asyncAttributesPromise,t._asyncAttributesPromise]).then((function(e){var r,i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(e,2),o=i[0],s=i[1];return a(a(a(a({},n._syncAttributes),o),null!==(r=t._syncAttributes)&&void 0!==r?r:t.attributes),s)}));return new e(i,o)},e.EMPTY=new e({}),e}()},9432(e,t,r){"use strict";r.r(t),r.d(t,{Resource:()=>n.F,browserDetector:()=>u,browserDetectorSync:()=>c,defaultServiceName:()=>i.m,detectResources:()=>A,detectResourcesSync:()=>R,envDetector:()=>h,envDetectorSync:()=>p,hostDetector:()=>E,hostDetectorSync:()=>g,osDetector:()=>T,osDetectorSync:()=>S,processDetector:()=>v,processDetectorSync:()=>m,serviceInstanceIdDetectorSync:()=>y});var n=r(5004),i=r(14),o=r(127),s=r(6280),a=function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},a.apply(this,arguments)},c=new(function(){function e(){}return e.prototype.detect=function(e){var t,i,s,a;if("undefined"==typeof navigator||void 0!==(null===(s=null===(i=r.g.process)||void 0===i?void 0:i.versions)||void 0===s?void 0:s.node)||void 0!==(null===(a=r.g.Bun)||void 0===a?void 0:a.version))return n.F.empty();var c=((t={})[o.lb]="browser",t[o.C3]="Web Browser",t[o.cV]=navigator.userAgent,t);return this._getResourceAttributes(c,e)},e.prototype._getResourceAttributes=function(e,t){return""===e[o.cV]?(s.s.debug("BrowserDetector failed: Unable to find required browser resources. "),n.F.empty()):new n.F(a({},e))},e}()),u=new(function(){function e(){}return e.prototype.detect=function(e){return Promise.resolve(c.detect(e))},e}()),l=r(1300),d=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s},p=new(function(){function e(){this._MAX_LENGTH=255,this._COMMA_SEPARATOR=",",this._LABEL_KEY_VALUE_SPLITTER="=",this._ERROR_MESSAGE_INVALID_CHARS="should be a ASCII string with a length greater than 0 and not exceed "+this._MAX_LENGTH+" characters.",this._ERROR_MESSAGE_INVALID_VALUE="should be a ASCII string with a length not exceed "+this._MAX_LENGTH+" characters."}return e.prototype.detect=function(e){var t={},r=(0,l._)(),i=r.OTEL_RESOURCE_ATTRIBUTES,a=r.OTEL_SERVICE_NAME;if(i)try{var c=this._parseResourceAttributes(i);Object.assign(t,c)}catch(e){s.s.debug("EnvDetector failed: "+e.message)}return a&&(t[o.AV]=a),new n.F(t)},e.prototype._parseResourceAttributes=function(e){var t,r;if(!e)return{};var n={},i=e.split(this._COMMA_SEPARATOR,-1);try{for(var o=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(i),s=o.next();!s.done;s=o.next()){var a=s.value.split(this._LABEL_KEY_VALUE_SPLITTER,-1);if(2===a.length){var c=d(a,2),u=c[0],l=c[1];if(u=u.trim(),l=l.trim().split(/^"|"$/).join(""),!this._isValidAndNotEmpty(u))throw new Error("Attribute key "+this._ERROR_MESSAGE_INVALID_CHARS);if(!this._isValid(l))throw new Error("Attribute value "+this._ERROR_MESSAGE_INVALID_VALUE);n[u]=decodeURIComponent(l)}}}catch(e){t={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(t)throw t.error}}return n},e.prototype._isValid=function(e){return e.length<=this._MAX_LENGTH&&this._isBaggageOctetString(e)},e.prototype._isBaggageOctetString=function(e){for(var t=0;t<e.length;t++){var r=e.charCodeAt(t);if(r<33||44===r||59===r||92===r||r>126)return!1}return!0},e.prototype._isValidAndNotEmpty=function(e){return e.length>0&&this._isValid(e)},e}()),h=new(function(){function e(){}return e.prototype.detect=function(e){return Promise.resolve(p.detect(e))},e}()),f=new(function(){function e(){}return e.prototype.detect=function(){return new n.F({})},e}()),_=new(function(){function e(){}return e.prototype.detect=function(){return Promise.resolve(f.detect())},e}()),E=_,g=f,T=_,S=f,v=_,m=_,y=f,O=function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},b=function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},A=function(e){return void 0===e&&(e={}),O(void 0,void 0,void 0,(function(){var t;return b(this,(function(r){switch(r.label){case 0:return[4,Promise.all((e.detectors||[]).map((function(t){return O(void 0,void 0,void 0,(function(){var r,i;return b(this,(function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,t.detect(e)];case 1:return r=o.sent(),s.s.debug(t.constructor.name+" found resource.",r),[2,r];case 2:return i=o.sent(),s.s.debug(t.constructor.name+" failed: "+i.message),[2,n.F.empty()];case 3:return[2]}}))}))})))];case 1:return t=r.sent(),w(t),[2,t.reduce((function(e,t){return e.merge(t)}),n.F.empty())]}}))}))},R=function(e){var t;void 0===e&&(e={});var r=(null!==(t=e.detectors)&&void 0!==t?t:[]).map((function(t){try{var r,i=t.detect(e);return r=null!==(o=i)&&"object"==typeof o&&"function"==typeof o.then?new n.F({},O(void 0,void 0,void 0,(function(){var e,t;return b(this,(function(r){switch(r.label){case 0:return[4,i];case 1:return e=r.sent(),[4,null===(t=e.waitForAsyncAttributes)||void 0===t?void 0:t.call(e)];case 2:return r.sent(),[2,e.attributes]}}))}))):i,r.waitForAsyncAttributes?r.waitForAsyncAttributes().then((function(){return s.s.debug(t.constructor.name+" found resource.",r)})):s.s.debug(t.constructor.name+" found resource.",r),r}catch(e){return s.s.error(t.constructor.name+" failed: "+e.message),n.F.empty()}var o})),i=r.reduce((function(e,t){return e.merge(t)}),n.F.empty());return i.waitForAsyncAttributes&&i.waitForAsyncAttributes().then((function(){w(r)})),i},w=function(e){e.forEach((function(e){if(Object.keys(e.attributes).length>0){var t=JSON.stringify(e.attributes,null,4);s.s.verbose(t)}}))}},14(e,t,r){"use strict";function n(){return"unknown_service"}r.d(t,{m:()=>n})},2593(e,t,r){"use strict";r.d(t,{l:()=>y,d:()=>n});var n,i=r(6280),o=r(6678),s=r(1514),a=r(4895),c=r(7760),u=r(1300),l=r(1990),d=r(5624),p=r(9620),h=r(5004),f=r(2041),_=r(7754),E=r(9011),g=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},T=function(){function e(e){this._spanProcessors=e}return e.prototype.forceFlush=function(){var e,t,r=[];try{for(var n=g(this._spanProcessors),i=n.next();!i.done;i=n.next()){var o=i.value;r.push(o.forceFlush())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return new Promise((function(e){Promise.all(r).then((function(){e()})).catch((function(t){(0,E.s)(t||new Error("MultiSpanProcessor: forceFlush failed")),e()}))}))},e.prototype.onStart=function(e,t){var r,n;try{for(var i=g(this._spanProcessors),o=i.next();!o.done;o=i.next())o.value.onStart(e,t)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},e.prototype.onEnd=function(e){var t,r;try{for(var n=g(this._spanProcessors),i=n.next();!i.done;i=n.next())i.value.onEnd(e)}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},e.prototype.shutdown=function(){var e,t,r=[];try{for(var n=g(this._spanProcessors),i=n.next();!i.done;i=n.next()){var o=i.value;r.push(o.shutdown())}}catch(t){e={error:t}}finally{try{i&&!i.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}return new Promise((function(e,t){Promise.all(r).then((function(){e()}),t)}))},e}(),S=r(6357),v=r(1982),m=r(2906);!function(e){e[e.resolved=0]="resolved",e[e.timeout=1]="timeout",e[e.error=2]="error",e[e.unresolved=3]="unresolved"}(n||(n={}));var y=function(){function e(e){var t,r;void 0===e&&(e={}),this._registeredSpanProcessors=[],this._tracers=new Map;var n=(0,c.h)({},(0,_.S)(),(0,m.W)(e));if(this.resource=null!==(t=n.resource)&&void 0!==t?t:h.F.empty(),n.mergeResourceWithDefaults&&(this.resource=h.F.default().merge(this.resource)),this._config=Object.assign({},n,{resource:this.resource}),null===(r=e.spanProcessors)||void 0===r?void 0:r.length)this._registeredSpanProcessors=function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}([],function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(e.spanProcessors),!1),this.activeSpanProcessor=new T(this._registeredSpanProcessors);else{var i=this._buildExporterFromEnv();if(void 0!==i){var o=new v.J(i);this.activeSpanProcessor=o}else this.activeSpanProcessor=new S.N}}return e.prototype.getTracer=function(e,t,r){var n=e+"@"+(t||"")+":"+((null==r?void 0:r.schemaUrl)||"");return this._tracers.has(n)||this._tracers.set(n,new f.s({name:e,version:t,schemaUrl:null==r?void 0:r.schemaUrl},this._config,this)),this._tracers.get(n)},e.prototype.addSpanProcessor=function(e){0===this._registeredSpanProcessors.length&&this.activeSpanProcessor.shutdown().catch((function(e){return i.s.error("Error while trying to shutdown current span processor",e)})),this._registeredSpanProcessors.push(e),this.activeSpanProcessor=new T(this._registeredSpanProcessors)},e.prototype.getActiveSpanProcessor=function(){return this.activeSpanProcessor},e.prototype.register=function(e){void 0===e&&(e={}),o.u.setGlobalTracerProvider(this),void 0===e.propagator&&(e.propagator=this._buildPropagatorFromEnv()),e.contextManager&&s._.setGlobalContextManager(e.contextManager),e.propagator&&a.$.setGlobalPropagator(e.propagator)},e.prototype.forceFlush=function(){var e=this._config.forceFlushTimeoutMillis,t=this._registeredSpanProcessors.map((function(t){return new Promise((function(r){var i,o=setTimeout((function(){r(new Error("Span processor did not completed within timeout period of "+e+" ms")),i=n.timeout}),e);t.forceFlush().then((function(){clearTimeout(o),i!==n.timeout&&(i=n.resolved,r(i))})).catch((function(e){clearTimeout(o),i=n.error,r(e)}))}))}));return new Promise((function(e,r){Promise.all(t).then((function(t){var i=t.filter((function(e){return e!==n.resolved}));i.length>0?r(i):e()})).catch((function(e){return r([e])}))}))},e.prototype.shutdown=function(){return this.activeSpanProcessor.shutdown()},e.prototype._getPropagator=function(e){var t;return null===(t=this.constructor._registeredPropagators.get(e))||void 0===t?void 0:t()},e.prototype._getSpanExporter=function(e){var t;return null===(t=this.constructor._registeredExporters.get(e))||void 0===t?void 0:t()},e.prototype._buildPropagatorFromEnv=function(){var e=this,t=Array.from(new Set((0,u._)().OTEL_PROPAGATORS)),r=t.map((function(t){var r=e._getPropagator(t);return r||i.s.warn('Propagator "'+t+'" requested through environment variable is unavailable.'),r})).reduce((function(e,t){return t&&e.push(t),e}),[]);return 0===r.length?void 0:1===t.length?r[0]:new l.n({propagators:r})},e.prototype._buildExporterFromEnv=function(){var e=(0,u._)().OTEL_TRACES_EXPORTER;if("none"!==e&&""!==e){var t=this._getSpanExporter(e);return t||i.s.error('Exporter "'+e+'" requested through environment variable is unavailable.'),t}},e._registeredPropagators=new Map([["tracecontext",function(){return new d.lm}],["baggage",function(){return new p.t}]]),e._registeredExporters=new Map,e}()},6890(e,t,r){"use strict";var n;r.d(t,{i:()=>n}),function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}(n||(n={}))},3925(e,t,r){"use strict";r.d(t,{L:()=>d});var n=r(4350),i=r(6280),o=r(3787),s=r(5667),a=r(7251),c=r(8723),u=function(){return u=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},u.apply(this,arguments)},l=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s},d=function(){function e(e,t,r,i,a,c,u,l,d,p){void 0===u&&(u=[]),this.attributes={},this.links=[],this.events=[],this._droppedAttributesCount=0,this._droppedEventsCount=0,this._droppedLinksCount=0,this.status={code:n.s.UNSET},this.endTime=[0,0],this._ended=!1,this._duration=[-1,-1],this.name=r,this._spanContext=i,this.parentSpanId=c,this.kind=a,this.links=u;var h=Date.now();this._performanceStartTime=o.u.now(),this._performanceOffset=h-(this._performanceStartTime+(0,s.uc)()),this._startTimeProvided=null!=l,this.startTime=this._getTime(null!=l?l:h),this.resource=e.resource,this.instrumentationLibrary=e.instrumentationLibrary,this._spanLimits=e.getSpanLimits(),this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit||0,null!=p&&this.setAttributes(p),this._spanProcessor=e.getActiveSpanProcessor(),this._spanProcessor.onStart(this,t)}return e.prototype.spanContext=function(){return this._spanContext},e.prototype.setAttribute=function(e,t){return null==t||this._isSpanEnded()?this:0===e.length?(i.s.warn("Invalid attribute key: "+e),this):(0,a.m)(t)?Object.keys(this.attributes).length>=this._spanLimits.attributeCountLimit&&!Object.prototype.hasOwnProperty.call(this.attributes,e)?(this._droppedAttributesCount++,this):(this.attributes[e]=this._truncateToSize(t),this):(i.s.warn("Invalid attribute value set for key: "+e),this)},e.prototype.setAttributes=function(e){var t,r;try{for(var n=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(Object.entries(e)),i=n.next();!i.done;i=n.next()){var o=l(i.value,2),s=o[0],a=o[1];this.setAttribute(s,a)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return this},e.prototype.addEvent=function(e,t,r){if(this._isSpanEnded())return this;if(0===this._spanLimits.eventCountLimit)return i.s.warn("No events allowed."),this._droppedEventsCount++,this;this.events.length>=this._spanLimits.eventCountLimit&&(0===this._droppedEventsCount&&i.s.debug("Dropping extra events."),this.events.shift(),this._droppedEventsCount++),(0,s.Ir)(t)&&((0,s.Ir)(r)||(r=t),t=void 0);var n=(0,a.L)(t);return this.events.push({name:e,attributes:n,time:this._getTime(r),droppedAttributesCount:0}),this},e.prototype.addLink=function(e){return this.links.push(e),this},e.prototype.addLinks=function(e){var t;return(t=this.links).push.apply(t,function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}([],l(e),!1)),this},e.prototype.setStatus=function(e){return this._isSpanEnded()||(this.status=u({},e),null!=this.status.message&&"string"!=typeof e.message&&(i.s.warn("Dropping invalid status.message of type '"+typeof e.message+"', expected 'string'"),delete this.status.message)),this},e.prototype.updateName=function(e){return this._isSpanEnded()||(this.name=e),this},e.prototype.end=function(e){this._isSpanEnded()?i.s.error(this.name+" "+this._spanContext.traceId+"-"+this._spanContext.spanId+" - You can only call end() on a span once."):(this._ended=!0,this.endTime=this._getTime(e),this._duration=(0,s.W5)(this.startTime,this.endTime),this._duration[0]<0&&(i.s.warn("Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.",this.startTime,this.endTime),this.endTime=this.startTime.slice(),this._duration=[0,0]),this._droppedEventsCount>0&&i.s.warn("Dropped "+this._droppedEventsCount+" events because eventCountLimit reached"),this._spanProcessor.onEnd(this))},e.prototype._getTime=function(e){if("number"==typeof e&&e<=o.u.now())return(0,s._5)(e+this._performanceOffset);if("number"==typeof e)return(0,s.lg)(e);if(e instanceof Date)return(0,s.lg)(e.getTime());if((0,s.VL)(e))return e;if(this._startTimeProvided)return(0,s.lg)(Date.now());var t=o.u.now()-this._performanceStartTime;return(0,s.mw)(this.startTime,(0,s.lg)(t))},e.prototype.isRecording=function(){return!1===this._ended},e.prototype.recordException=function(e,t){var r={};"string"==typeof e?r[c.aP6]=e:e&&(e.code?r[c.P4J]=e.code.toString():e.name&&(r[c.P4J]=e.name),e.message&&(r[c.aP6]=e.message),e.stack&&(r[c.ipG]=e.stack)),r[c.P4J]||r[c.aP6]?this.addEvent("exception",r,t):i.s.warn("Failed to record an exception "+e)},Object.defineProperty(e.prototype,"duration",{get:function(){return this._duration},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ended",{get:function(){return this._ended},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"droppedAttributesCount",{get:function(){return this._droppedAttributesCount},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"droppedEventsCount",{get:function(){return this._droppedEventsCount},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"droppedLinksCount",{get:function(){return this._droppedLinksCount},enumerable:!1,configurable:!0}),e.prototype._isSpanEnded=function(){return this._ended&&i.s.warn("Can not execute the operation on ended Span {traceId: "+this._spanContext.traceId+", spanId: "+this._spanContext.spanId+"}"),this._ended},e.prototype._truncateToLimitUtil=function(e,t){return e.length<=t?e:e.substring(0,t)},e.prototype._truncateToSize=function(e){var t=this,r=this._attributeValueLengthLimit;return r<=0?(i.s.warn("Attribute value limit must be positive, got "+r),e):"string"==typeof e?this._truncateToLimitUtil(e,r):Array.isArray(e)?e.map((function(e){return"string"==typeof e?t._truncateToLimitUtil(e,r):e})):e},e}()},2041(e,t,r){"use strict";r.d(t,{s:()=>_});var n=r(9160),i=r(8117),o=r(843),s=r(3482),a=r(1514),c=r(6280),u=r(6678),l=r(7251),d=r(8100),p=r(3925),h=r(2906),f=r(2472),_=function(){function e(e,t,r){this._tracerProvider=r;var n=(0,h.R)(t);this._sampler=n.sampler,this._generalLimits=n.generalLimits,this._spanLimits=n.spanLimits,this._idGenerator=t.idGenerator||new f.s,this.resource=r.resource,this.instrumentationLibrary=e}return e.prototype.startSpan=function(e,t,r){var h,f,_;void 0===t&&(t={}),void 0===r&&(r=a._.active()),t.root&&(r=u.u.deleteSpan(r));var E=u.u.getSpan(r);if((0,d.Zf)(r))return c.s.debug("Instrumentation suppressed, returning Noop Span"),u.u.wrapSpanContext(s.dM);var g,T,S,v=null==E?void 0:E.spanContext(),m=this._idGenerator.generateSpanId();v&&u.u.isSpanContextValid(v)?(g=v.traceId,T=v.traceState,S=v.spanId):g=this._idGenerator.generateTraceId();var y=null!==(h=t.kind)&&void 0!==h?h:i.v.INTERNAL,O=(null!==(f=t.links)&&void 0!==f?f:[]).map((function(e){return{context:e.context,attributes:(0,l.L)(e.attributes)}})),b=(0,l.L)(t.attributes),A=this._sampler.shouldSample(r,g,e,y,b,O);T=null!==(_=A.traceState)&&void 0!==_?_:T;var R={traceId:g,spanId:m,traceFlags:A.decision===n.i.RECORD_AND_SAMPLED?o.X.SAMPLED:o.X.NONE,traceState:T};if(A.decision===n.i.NOT_RECORD)return c.s.debug("Recording is off, propagating context in a non-recording span"),u.u.wrapSpanContext(R);var w=(0,l.L)(Object.assign(b,A.attributes));return new p.L(this,r,e,R,y,S,O,t.startTime,void 0,w)},e.prototype.startActiveSpan=function(e,t,r,n){var i,o,s;if(!(arguments.length<2)){2===arguments.length?s=t:3===arguments.length?(i=t,s=r):(i=t,o=r,s=n);var c=null!=o?o:a._.active(),l=this.startSpan(e,i,c),d=u.u.setSpan(c,l);return a._.with(d,s,void 0,l)}},e.prototype.getGeneralLimits=function(){return this._generalLimits},e.prototype.getSpanLimits=function(){return this._spanLimits},e.prototype.getActiveSpanProcessor=function(){return this._tracerProvider.getActiveSpanProcessor()},e}()},7754(e,t,r){"use strict";r.d(t,{S:()=>d,m:()=>p});var n=r(6280),i=r(1300),o=r(6793),s=r(7547),a=r(4969),c=r(5152),u=r(175),l=o.R.AlwaysOn;function d(){var e=(0,i._)();return{sampler:p(e),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:e.OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT,attributeCountLimit:e.OTEL_ATTRIBUTE_COUNT_LIMIT},spanLimits:{attributeValueLengthLimit:e.OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT,attributeCountLimit:e.OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT,linkCountLimit:e.OTEL_SPAN_LINK_COUNT_LIMIT,eventCountLimit:e.OTEL_SPAN_EVENT_COUNT_LIMIT,attributePerEventCountLimit:e.OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT,attributePerLinkCountLimit:e.OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT},mergeResourceWithDefaults:!0}}function p(e){switch(void 0===e&&(e=(0,i._)()),e.OTEL_TRACES_SAMPLER){case o.R.AlwaysOn:return new a.f;case o.R.AlwaysOff:return new s.t;case o.R.ParentBasedAlwaysOn:return new c.e({root:new a.f});case o.R.ParentBasedAlwaysOff:return new c.e({root:new s.t});case o.R.TraceIdRatio:return new u.h(h(e));case o.R.ParentBasedTraceIdRatio:return new c.e({root:new u.h(h(e))});default:return n.s.error('OTEL_TRACES_SAMPLER value "'+e.OTEL_TRACES_SAMPLER+" invalid, defaulting to "+l+'".'),new a.f}}function h(e){if(void 0===e.OTEL_TRACES_SAMPLER_ARG||""===e.OTEL_TRACES_SAMPLER_ARG)return n.s.error("OTEL_TRACES_SAMPLER_ARG is blank, defaulting to 1."),1;var t=Number(e.OTEL_TRACES_SAMPLER_ARG);return isNaN(t)?(n.s.error("OTEL_TRACES_SAMPLER_ARG="+e.OTEL_TRACES_SAMPLER_ARG+" was given, but it is invalid, defaulting to 1."),1):t<0||t>1?(n.s.error("OTEL_TRACES_SAMPLER_ARG="+e.OTEL_TRACES_SAMPLER_ARG+" was given, but it is out of range ([0..1]), defaulting to 1."),1):t}},2233(e,t,r){"use strict";r.d(t,{V:()=>o});var n=r(5667),i=r(7513),o=function(){function e(){}return e.prototype.export=function(e,t){return this._sendSpans(e,t)},e.prototype.shutdown=function(){return this._sendSpans([]),this.forceFlush()},e.prototype.forceFlush=function(){return Promise.resolve()},e.prototype._exportInfo=function(e){var t;return{resource:{attributes:e.resource.attributes},instrumentationScope:e.instrumentationLibrary,traceId:e.spanContext().traceId,parentId:e.parentSpanId,traceState:null===(t=e.spanContext().traceState)||void 0===t?void 0:t.serialize(),name:e.name,id:e.spanContext().spanId,kind:e.kind,timestamp:(0,n.w_)(e.startTime),duration:(0,n.w_)(e.duration),attributes:e.attributes,status:e.status,events:e.events,links:e.links}},e.prototype._sendSpans=function(e,t){var r,n;try{for(var o=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),s=o.next();!s.done;s=o.next()){var a=s.value;console.dir(this._exportInfo(a),{depth:3})}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}if(t)return t({code:i.V.SUCCESS})},e}()},7888(e,t,r){"use strict";r.d(t,{O:()=>i});var n=r(7513),i=function(){function e(){this._finishedSpans=[],this._stopped=!1}return e.prototype.export=function(e,t){var r;if(this._stopped)return t({code:n.V.FAILED,error:new Error("Exporter has been stopped")});(r=this._finishedSpans).push.apply(r,function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}([],function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(e),!1)),setTimeout((function(){return t({code:n.V.SUCCESS})}),0)},e.prototype.shutdown=function(){return this._stopped=!0,this._finishedSpans=[],this.forceFlush()},e.prototype.forceFlush=function(){return Promise.resolve()},e.prototype.reset=function(){this._finishedSpans=[]},e.prototype.getFinishedSpans=function(){return this._finishedSpans},e}()},6357(e,t,r){"use strict";r.d(t,{N:()=>n});var n=function(){function e(){}return e.prototype.onStart=function(e,t){},e.prototype.onEnd=function(e){},e.prototype.shutdown=function(){return Promise.resolve()},e.prototype.forceFlush=function(){return Promise.resolve()},e}()},811(e,t,r){"use strict";r.d(t,{t:()=>c});var n=r(843),i=r(2401),o=r(9011),s=r(7513),a=r(7972),c=function(){function e(e){this._exporter=e,this._shutdownOnce=new a.I(this._shutdown,this),this._unresolvedExports=new Set}return e.prototype.forceFlush=function(){return function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))}(this,void 0,void 0,(function(){return function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}(this,(function(e){switch(e.label){case 0:return[4,Promise.all(Array.from(this._unresolvedExports))];case 1:return e.sent(),this._exporter.forceFlush?[4,this._exporter.forceFlush()]:[3,3];case 2:e.sent(),e.label=3;case 3:return[2]}}))}))},e.prototype.onStart=function(e,t){},e.prototype.onEnd=function(e){var t,r,a=this;if(!this._shutdownOnce.isCalled&&e.spanContext().traceFlags&n.X.SAMPLED){var c=function(){return i.internal._export(a._exporter,[e]).then((function(e){var t;e.code!==s.V.SUCCESS&&(0,o.s)(null!==(t=e.error)&&void 0!==t?t:new Error("SimpleSpanProcessor: span export failed (status "+e+")"))})).catch((function(e){(0,o.s)(e)}))};if(e.resource.asyncAttributesPending){var u=null===(r=(t=e.resource).waitForAsyncAttributes)||void 0===r?void 0:r.call(t).then((function(){return null!=u&&a._unresolvedExports.delete(u),c()}),(function(e){return(0,o.s)(e)}));null!=u&&this._unresolvedExports.add(u)}else c()}},e.prototype.shutdown=function(){return this._shutdownOnce.call()},e.prototype._shutdown=function(){return this._exporter.shutdown()},e}()},8418(e,t,r){"use strict";r.r(t),r.d(t,{AlwaysOffSampler:()=>d.t,AlwaysOnSampler:()=>p.f,BasicTracerProvider:()=>i.l,BatchSpanProcessor:()=>o.J,ConsoleSpanExporter:()=>a.V,ForceFlushState:()=>i.d,InMemorySpanExporter:()=>c.O,NoopSpanProcessor:()=>l.N,ParentBasedSampler:()=>h.e,RandomIdGenerator:()=>s.s,SamplingDecision:()=>_.i,SimpleSpanProcessor:()=>u.t,Span:()=>E.L,TraceIdRatioBasedSampler:()=>f.h,Tracer:()=>n.s});var n=r(2041),i=r(2593),o=r(1982),s=r(2472),a=r(2233),c=r(7888),u=r(811),l=r(6357),d=r(7547),p=r(4969),h=r(5152),f=r(175),_=r(6890),E=r(3925)},2472(e,t,r){"use strict";r.d(t,{s:()=>n});var n=function(){this.generateTraceId=o(16),this.generateSpanId=o(8)},i=Array(32);function o(e){return function(){for(var t=0;t<2*e;t++)i[t]=Math.floor(16*Math.random())+48,i[t]>=58&&(i[t]+=39);return String.fromCharCode.apply(null,i.slice(0,2*e))}}},1982(e,t,r){"use strict";r.d(t,{J:()=>_});var n,i=r(6280),o=r(843),s=r(1514),a=r(1300),c=r(7972),u=r(8100),l=r(7513),d=r(9011),p=r(2473),h=function(){function e(e,t){this._exporter=e,this._isExporting=!1,this._finishedSpans=[],this._droppedSpansCount=0;var r=(0,a._)();this._maxExportBatchSize="number"==typeof(null==t?void 0:t.maxExportBatchSize)?t.maxExportBatchSize:r.OTEL_BSP_MAX_EXPORT_BATCH_SIZE,this._maxQueueSize="number"==typeof(null==t?void 0:t.maxQueueSize)?t.maxQueueSize:r.OTEL_BSP_MAX_QUEUE_SIZE,this._scheduledDelayMillis="number"==typeof(null==t?void 0:t.scheduledDelayMillis)?t.scheduledDelayMillis:r.OTEL_BSP_SCHEDULE_DELAY,this._exportTimeoutMillis="number"==typeof(null==t?void 0:t.exportTimeoutMillis)?t.exportTimeoutMillis:r.OTEL_BSP_EXPORT_TIMEOUT,this._shutdownOnce=new c.I(this._shutdown,this),this._maxExportBatchSize>this._maxQueueSize&&(i.s.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"),this._maxExportBatchSize=this._maxQueueSize)}return e.prototype.forceFlush=function(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()},e.prototype.onStart=function(e,t){},e.prototype.onEnd=function(e){this._shutdownOnce.isCalled||e.spanContext().traceFlags&o.X.SAMPLED&&this._addToBuffer(e)},e.prototype.shutdown=function(){return this._shutdownOnce.call()},e.prototype._shutdown=function(){var e=this;return Promise.resolve().then((function(){return e.onShutdown()})).then((function(){return e._flushAll()})).then((function(){return e._exporter.shutdown()}))},e.prototype._addToBuffer=function(e){if(this._finishedSpans.length>=this._maxQueueSize)return 0===this._droppedSpansCount&&i.s.debug("maxQueueSize reached, dropping spans"),void this._droppedSpansCount++;this._droppedSpansCount>0&&(i.s.warn("Dropped "+this._droppedSpansCount+" spans because maxQueueSize reached"),this._droppedSpansCount=0),this._finishedSpans.push(e),this._maybeStartTimer()},e.prototype._flushAll=function(){var e=this;return new Promise((function(t,r){for(var n=[],i=0,o=Math.ceil(e._finishedSpans.length/e._maxExportBatchSize);i<o;i++)n.push(e._flushOneBatch());Promise.all(n).then((function(){t()})).catch(r)}))},e.prototype._flushOneBatch=function(){var e=this;return this._clearTimer(),0===this._finishedSpans.length?Promise.resolve():new Promise((function(t,r){var n=setTimeout((function(){r(new Error("Timeout"))}),e._exportTimeoutMillis);s._.with((0,u.M1)(s._.active()),(function(){var i;e._finishedSpans.length<=e._maxExportBatchSize?(i=e._finishedSpans,e._finishedSpans=[]):i=e._finishedSpans.splice(0,e._maxExportBatchSize);for(var o=function(){return e._exporter.export(i,(function(e){var i;clearTimeout(n),e.code===l.V.SUCCESS?t():r(null!==(i=e.error)&&void 0!==i?i:new Error("BatchSpanProcessor: span export failed"))}))},s=null,a=0,c=i.length;a<c;a++){var u=i[a];u.resource.asyncAttributesPending&&u.resource.waitForAsyncAttributes&&(null!=s||(s=[]),s.push(u.resource.waitForAsyncAttributes()))}null===s?o():Promise.all(s).then(o,(function(e){(0,d.s)(e),r(e)}))}))}))},e.prototype._maybeStartTimer=function(){var e=this;if(!this._isExporting){var t=function(){e._isExporting=!0,e._flushOneBatch().finally((function(){e._isExporting=!1,e._finishedSpans.length>0&&(e._clearTimer(),e._maybeStartTimer())})).catch((function(t){e._isExporting=!1,(0,d.s)(t)}))};if(this._finishedSpans.length>=this._maxExportBatchSize)return t();void 0===this._timer&&(this._timer=setTimeout((function(){return t()}),this._scheduledDelayMillis),(0,p.K)(this._timer))}},e.prototype._clearTimer=function(){void 0!==this._timer&&(clearTimeout(this._timer),this._timer=void 0)},e}(),f=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),_=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.onInit(r),n}return f(t,e),t.prototype.onInit=function(e){var t=this;!0!==(null==e?void 0:e.disableAutoFlushOnDocumentHide)&&"undefined"!=typeof document&&(this._visibilityChangeListener=function(){"hidden"===document.visibilityState&&t.forceFlush().catch((function(e){(0,d.s)(e)}))},this._pageHideListener=function(){t.forceFlush().catch((function(e){(0,d.s)(e)}))},document.addEventListener("visibilitychange",this._visibilityChangeListener),document.addEventListener("pagehide",this._pageHideListener))},t.prototype.onShutdown=function(){"undefined"!=typeof document&&(this._visibilityChangeListener&&document.removeEventListener("visibilitychange",this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener("pagehide",this._pageHideListener))},t}(h)},7547(e,t,r){"use strict";r.d(t,{t:()=>i});var n=r(6890),i=function(){function e(){}return e.prototype.shouldSample=function(){return{decision:n.i.NOT_RECORD}},e.prototype.toString=function(){return"AlwaysOffSampler"},e}()},4969(e,t,r){"use strict";r.d(t,{f:()=>i});var n=r(6890),i=function(){function e(){}return e.prototype.shouldSample=function(){return{decision:n.i.RECORD_AND_SAMPLED}},e.prototype.toString=function(){return"AlwaysOnSampler"},e}()},5152(e,t,r){"use strict";r.d(t,{e:()=>u});var n=r(843),i=r(4029),o=r(6678),s=r(9011),a=r(7547),c=r(4969),u=function(){function e(e){var t,r,n,i;this._root=e.root,this._root||((0,s.s)(new Error("ParentBasedSampler must have a root sampler configured")),this._root=new c.f),this._remoteParentSampled=null!==(t=e.remoteParentSampled)&&void 0!==t?t:new c.f,this._remoteParentNotSampled=null!==(r=e.remoteParentNotSampled)&&void 0!==r?r:new a.t,this._localParentSampled=null!==(n=e.localParentSampled)&&void 0!==n?n:new c.f,this._localParentNotSampled=null!==(i=e.localParentNotSampled)&&void 0!==i?i:new a.t}return e.prototype.shouldSample=function(e,t,r,s,a,c){var u=o.u.getSpanContext(e);return u&&(0,i.YA)(u)?u.isRemote?u.traceFlags&n.X.SAMPLED?this._remoteParentSampled.shouldSample(e,t,r,s,a,c):this._remoteParentNotSampled.shouldSample(e,t,r,s,a,c):u.traceFlags&n.X.SAMPLED?this._localParentSampled.shouldSample(e,t,r,s,a,c):this._localParentNotSampled.shouldSample(e,t,r,s,a,c):this._root.shouldSample(e,t,r,s,a,c)},e.prototype.toString=function(){return"ParentBased{root="+this._root.toString()+", remoteParentSampled="+this._remoteParentSampled.toString()+", remoteParentNotSampled="+this._remoteParentNotSampled.toString()+", localParentSampled="+this._localParentSampled.toString()+", localParentNotSampled="+this._localParentNotSampled.toString()+"}"},e}()},175(e,t,r){"use strict";r.d(t,{h:()=>o});var n=r(4029),i=r(6890),o=function(){function e(e){void 0===e&&(e=0),this._ratio=e,this._ratio=this._normalize(e),this._upperBound=Math.floor(4294967295*this._ratio)}return e.prototype.shouldSample=function(e,t){return{decision:(0,n.hX)(t)&&this._accumulate(t)<this._upperBound?i.i.RECORD_AND_SAMPLED:i.i.NOT_RECORD}},e.prototype.toString=function(){return"TraceIdRatioBased{"+this._ratio+"}"},e.prototype._normalize=function(e){return"number"!=typeof e||isNaN(e)?0:e>=1?1:e<=0?0:e},e.prototype._accumulate=function(e){for(var t=0,r=0;r<e.length/8;r++){var n=8*r;t=(t^parseInt(e.slice(n,n+8),16))>>>0}return t},e}()},2906(e,t,r){"use strict";r.d(t,{R:()=>s,W:()=>a});var n=r(7754),i=r(1300),o=r(1327);function s(e){var t={sampler:(0,n.m)()},r=(0,n.S)(),i=Object.assign({},r,t,e);return i.generalLimits=Object.assign({},r.generalLimits,e.generalLimits||{}),i.spanLimits=Object.assign({},r.spanLimits,e.spanLimits||{}),i}function a(e){var t,r,n,s,a,c,u,l,d,p,h,f,_=Object.assign({},e.spanLimits),E=(0,i.w)();return _.attributeCountLimit=null!==(c=null!==(a=null!==(s=null!==(r=null===(t=e.spanLimits)||void 0===t?void 0:t.attributeCountLimit)&&void 0!==r?r:null===(n=e.generalLimits)||void 0===n?void 0:n.attributeCountLimit)&&void 0!==s?s:E.OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT)&&void 0!==a?a:E.OTEL_ATTRIBUTE_COUNT_LIMIT)&&void 0!==c?c:o.fv,_.attributeValueLengthLimit=null!==(f=null!==(h=null!==(p=null!==(l=null===(u=e.spanLimits)||void 0===u?void 0:u.attributeValueLengthLimit)&&void 0!==l?l:null===(d=e.generalLimits)||void 0===d?void 0:d.attributeValueLengthLimit)&&void 0!==p?p:E.OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT)&&void 0!==h?h:E.OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT)&&void 0!==f?f:o.aE,Object.assign({},e,{spanLimits:_})}},7401(e,t,r){"use strict";var n;r.d(t,{D:()=>n}),function(e){e.CONNECT_END="connectEnd",e.CONNECT_START="connectStart",e.DECODED_BODY_SIZE="decodedBodySize",e.DOM_COMPLETE="domComplete",e.DOM_CONTENT_LOADED_EVENT_END="domContentLoadedEventEnd",e.DOM_CONTENT_LOADED_EVENT_START="domContentLoadedEventStart",e.DOM_INTERACTIVE="domInteractive",e.DOMAIN_LOOKUP_END="domainLookupEnd",e.DOMAIN_LOOKUP_START="domainLookupStart",e.ENCODED_BODY_SIZE="encodedBodySize",e.FETCH_START="fetchStart",e.LOAD_EVENT_END="loadEventEnd",e.LOAD_EVENT_START="loadEventStart",e.NAVIGATION_START="navigationStart",e.REDIRECT_END="redirectEnd",e.REDIRECT_START="redirectStart",e.REQUEST_START="requestStart",e.RESPONSE_END="responseEnd",e.RESPONSE_START="responseStart",e.SECURE_CONNECTION_START="secureConnectionStart",e.UNLOAD_EVENT_END="unloadEventEnd",e.UNLOAD_EVENT_START="unloadEventStart"}(n||(n={}))},9173(e,t,r){"use strict";r.d(t,{Dl:()=>h,hZ:()=>p,v4:()=>l,wF:()=>f});var n,i=r(7401),o=r(5337),s=r(9821),a=r(5901);function c(e,t){return t in e}function u(e,t,r,n){var o=void 0,s=void 0;c(r,t)&&"number"==typeof r[t]&&(o=r[t]);var a=n||i.D.FETCH_START;if(c(r,a)&&"number"==typeof r[a]&&(s=r[a]),void 0!==o&&void 0!==s&&o>=s)return e.addEvent(t,o),e}function l(e,t){u(e,i.D.FETCH_START,t),u(e,i.D.DOMAIN_LOOKUP_START,t),u(e,i.D.DOMAIN_LOOKUP_END,t),u(e,i.D.CONNECT_START,t),c(t,"name")&&t.name.startsWith("https:")&&u(e,i.D.SECURE_CONNECTION_START,t),u(e,i.D.CONNECT_END,t),u(e,i.D.REQUEST_START,t),u(e,i.D.RESPONSE_START,t),u(e,i.D.RESPONSE_END,t);var r=t[i.D.ENCODED_BODY_SIZE];void 0!==r&&e.setAttribute(a.crS,r);var n=t[i.D.DECODED_BODY_SIZE];void 0!==n&&r!==n&&e.setAttribute(a.XyR,n)}function d(){return"undefined"!=typeof location?location.origin:void 0}function p(e,t,r,n,s,a){void 0===s&&(s=new WeakSet);var c=h(e),u=function(e,t,r,n,s,a){var c=(0,o.u5)(t),u=(0,o.u5)(r),l=n.filter((function(t){var r=(0,o.u5)((0,o.KJ)(t[i.D.FETCH_START])),n=(0,o.u5)((0,o.KJ)(t[i.D.RESPONSE_END]));return t.initiatorType.toLowerCase()===(a||"xmlhttprequest")&&t.name===e&&r>=c&&n<=u}));return l.length>0&&(l=l.filter((function(e){return!s.has(e)}))),l}(e=c.toString(),t,r,n,s,a);if(0===u.length)return{mainRequest:void 0};if(1===u.length)return{mainRequest:u[0]};var l=function(e){return e.slice().sort((function(e,t){var r=e[i.D.FETCH_START],n=t[i.D.FETCH_START];return r>n?1:r<n?-1:0}))}(u);if(c.origin!==d()&&l.length>1){var p=l[0],f=function(e,t,r){for(var n,s=(0,o.u5)(r),a=(0,o.u5)((0,o.KJ)(t)),c=e[1],u=e.length,l=1;l<u;l++){var d=e[l],p=(0,o.u5)((0,o.KJ)(d[i.D.FETCH_START])),h=s-(0,o.u5)((0,o.KJ)(d[i.D.RESPONSE_END]));p>=a&&(!n||h<n)&&(n=h,c=d)}return c}(l,p[i.D.RESPONSE_END],r),_=p[i.D.RESPONSE_END];return f[i.D.FETCH_START]<_&&(f=p,p=void 0),{corsPreFlightRequest:p,mainRequest:f}}return{mainRequest:u[0]}}function h(e){if("function"==typeof URL)return new URL(e,"undefined"!=typeof document?document.baseURI:"undefined"!=typeof location?location.href:void 0);var t=(n||(n=document.createElement("a")),n);return t.href=e,t}function f(e,t){var r=t||[];return("string"==typeof r||r instanceof RegExp)&&(r=[r]),h(e).origin===d()||r.some((function(t){return(0,s.f)(e,t)}))}},967(e,t,r){"use strict";var n;r.d(t,{D:()=>n}),function(e){e.CONNECT_END="connectEnd",e.CONNECT_START="connectStart",e.DECODED_BODY_SIZE="decodedBodySize",e.DOM_COMPLETE="domComplete",e.DOM_CONTENT_LOADED_EVENT_END="domContentLoadedEventEnd",e.DOM_CONTENT_LOADED_EVENT_START="domContentLoadedEventStart",e.DOM_INTERACTIVE="domInteractive",e.DOMAIN_LOOKUP_END="domainLookupEnd",e.DOMAIN_LOOKUP_START="domainLookupStart",e.ENCODED_BODY_SIZE="encodedBodySize",e.FETCH_START="fetchStart",e.LOAD_EVENT_END="loadEventEnd",e.LOAD_EVENT_START="loadEventStart",e.NAVIGATION_START="navigationStart",e.REDIRECT_END="redirectEnd",e.REDIRECT_START="redirectStart",e.REQUEST_START="requestStart",e.RESPONSE_END="responseEnd",e.RESPONSE_START="responseStart",e.SECURE_CONNECTION_START="secureConnectionStart",e.UNLOAD_EVENT_END="unloadEventEnd",e.UNLOAD_EVENT_START="unloadEventStart"}(n||(n={}))},9816(e,t,r){"use strict";r.r(t),r.d(t,{AlwaysOffSampler:()=>d.t,AlwaysOnSampler:()=>p.f,BasicTracerProvider:()=>i.l,BatchSpanProcessor:()=>h.J,ConsoleSpanExporter:()=>f.V,ForceFlushState:()=>i.d,InMemorySpanExporter:()=>_.O,NoopSpanProcessor:()=>E.N,ParentBasedSampler:()=>g.e,PerformanceTimingNames:()=>u.D,RandomIdGenerator:()=>T.s,SamplingDecision:()=>S.i,SimpleSpanProcessor:()=>v.t,Span:()=>m.L,StackContextManager:()=>s,TraceIdRatioBasedSampler:()=>y.h,Tracer:()=>O.s,WebTracerProvider:()=>c,addSpanNetworkEvent:()=>l.CL,addSpanNetworkEvents:()=>l.v4,getElementXPath:()=>l.Qd,getResource:()=>l.hZ,hasKey:()=>l.CJ,normalizeUrl:()=>l.l2,parseUrl:()=>l.Dl,shouldPropagateTraceHeaders:()=>l.wF,sortResources:()=>l.ql});var n,i=r(2593),o=r(1239),s=function(){function e(){this._enabled=!1,this._currentContext=o.l}return e.prototype._bindFunction=function(e,t){void 0===e&&(e=o.l);var r=this,n=function(){for(var n=this,i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];return r.with(e,(function(){return t.apply(n,i)}))};return Object.defineProperty(n,"length",{enumerable:!1,configurable:!0,writable:!1,value:t.length}),n},e.prototype.active=function(){return this._currentContext},e.prototype.bind=function(e,t){return void 0===e&&(e=this.active()),"function"==typeof t?this._bindFunction(e,t):t},e.prototype.disable=function(){return this._currentContext=o.l,this._enabled=!1,this},e.prototype.enable=function(){return this._enabled||(this._enabled=!0,this._currentContext=o.l),this},e.prototype.with=function(e,t,r){for(var n=[],i=3;i<arguments.length;i++)n[i-3]=arguments[i];var s=this._currentContext;this._currentContext=e||o.l;try{return t.call.apply(t,function(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}([r],function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(n),!1))}finally{this._currentContext=s}},e}(),a=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),c=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,t)||this;if(t.contextManager)throw"contextManager should be defined in register method not in constructor";if(t.propagator)throw"propagator should be defined in register method not in constructor";return r}return a(t,e),t.prototype.register=function(t){void 0===t&&(t={}),void 0===t.contextManager&&(t.contextManager=new s),t.contextManager&&t.contextManager.enable(),e.prototype.register.call(this,t)},t}(i.l),u=r(967),l=r(8503),d=r(7547),p=r(4969),h=r(1982),f=r(2233),_=r(7888),E=r(6357),g=r(5152),T=r(2472),S=r(6890),v=r(811),m=r(3925),y=r(175),O=r(2041)},8503(e,t,r){"use strict";r.d(t,{CJ:()=>c,CL:()=>u,Dl:()=>f,Qd:()=>E,hZ:()=>h,l2:()=>_,ql:()=>d,v4:()=>l,wF:()=>g});var n,i=r(967),o=r(5667),s=r(887),a=r(8723);function c(e,t){return t in e}function u(e,t,r,n){var o=void 0,s=void 0;c(r,t)&&"number"==typeof r[t]&&(o=r[t]);var a=n||i.D.FETCH_START;if(c(r,a)&&"number"==typeof r[a]&&(s=r[a]),void 0!==o&&void 0!==s&&o>=s)return e.addEvent(t,o),e}function l(e,t,r){void 0===r&&(r=!1),r||(u(e,i.D.FETCH_START,t),u(e,i.D.DOMAIN_LOOKUP_START,t),u(e,i.D.DOMAIN_LOOKUP_END,t),u(e,i.D.CONNECT_START,t),c(t,"name")&&t.name.startsWith("https:")&&u(e,i.D.SECURE_CONNECTION_START,t),u(e,i.D.CONNECT_END,t),u(e,i.D.REQUEST_START,t),u(e,i.D.RESPONSE_START,t),u(e,i.D.RESPONSE_END,t));var n=t[i.D.ENCODED_BODY_SIZE];void 0!==n&&e.setAttribute(a.crS,n);var o=t[i.D.DECODED_BODY_SIZE];void 0!==o&&n!==o&&e.setAttribute(a.XyR,o)}function d(e){return e.slice().sort((function(e,t){var r=e[i.D.FETCH_START],n=t[i.D.FETCH_START];return r>n?1:r<n?-1:0}))}function p(){return"undefined"!=typeof location?location.origin:void 0}function h(e,t,r,n,s,a){void 0===s&&(s=new WeakSet);var c=f(e),u=function(e,t,r,n,s,a){var c=(0,o.u5)(t),u=(0,o.u5)(r),l=n.filter((function(t){var r=(0,o.u5)((0,o.KJ)(t[i.D.FETCH_START])),n=(0,o.u5)((0,o.KJ)(t[i.D.RESPONSE_END]));return t.initiatorType.toLowerCase()===(a||"xmlhttprequest")&&t.name===e&&r>=c&&n<=u}));return l.length>0&&(l=l.filter((function(e){return!s.has(e)}))),l}(e=c.toString(),t,r,n,s,a);if(0===u.length)return{mainRequest:void 0};if(1===u.length)return{mainRequest:u[0]};var l=d(u);if(c.origin!==p()&&l.length>1){var h=l[0],_=function(e,t,r){for(var n,s=(0,o.u5)(r),a=(0,o.u5)((0,o.KJ)(t)),c=e[1],u=e.length,l=1;l<u;l++){var d=e[l],p=(0,o.u5)((0,o.KJ)(d[i.D.FETCH_START])),h=s-(0,o.u5)((0,o.KJ)(d[i.D.RESPONSE_END]));p>=a&&(!n||h<n)&&(n=h,c=d)}return c}(l,h[i.D.RESPONSE_END],r),E=h[i.D.RESPONSE_END];return _[i.D.FETCH_START]<E&&(_=h,h=void 0),{corsPreFlightRequest:h,mainRequest:_}}return{mainRequest:u[0]}}function f(e){if("function"==typeof URL)return new URL(e,"undefined"!=typeof document?document.baseURI:"undefined"!=typeof location?location.href:void 0);var t=(n||(n=document.createElement("a")),n);return t.href=e,t}function _(e){return f(e).href}function E(e,t){if(e.nodeType===Node.DOCUMENT_NODE)return"/";var r=function(e,t){var r=e.nodeType,n=function(e){if(!e.parentNode)return 0;var t=[e.nodeType];e.nodeType===Node.CDATA_SECTION_NODE&&t.push(Node.TEXT_NODE);var r=Array.from(e.parentNode.childNodes);return r=r.filter((function(r){var n=r.localName;return t.indexOf(r.nodeType)>=0&&n===e.localName})),r.length>=1?r.indexOf(e)+1:0}(e),i="";if(r===Node.ELEMENT_NODE){var o=e.getAttribute("id");if(t&&o)return'//*[@id="'+o+'"]';i=e.localName}else if(r===Node.TEXT_NODE||r===Node.CDATA_SECTION_NODE)i="text()";else{if(r!==Node.COMMENT_NODE)return"";i="comment()"}return i&&n>1?"/"+i+"["+n+"]":"/"+i}(e,t);if(t&&r.indexOf("@id")>0)return r;var n="";return e.parentNode&&(n+=E(e.parentNode,!1)),n+r}function g(e,t){var r=t||[];return("string"==typeof r||r instanceof RegExp)&&(r=[r]),f(e).origin===p()||r.some((function(t){return(0,s.f)(e,t)}))}},5901(e,t,r){"use strict";r.d(t,{Qv9:()=>o,vof:()=>n,crS:()=>u,XyR:()=>l,zPu:()=>s,W_O:()=>a,vSt:()=>i,Nz$:()=>c});var n="http.method",i="http.url",o="http.host",s="http.scheme",a="http.status_code",c="http.user_agent",u="http.response_content_length",l="http.response_content_length_uncompressed"},9984(e,t,r){"use strict";function n(e){for(var t={},r=e.length,n=0;n<r;n++){var i=e[n];i&&(t[String(i).toUpperCase().replace(/[-.]/g,"_")]=i)}return t}r.d(t,{O:()=>n})},127(e,t,r){"use strict";r.d(t,{$L:()=>a,AV:()=>s,C3:()=>o,Pl:()=>c,cV:()=>i,lb:()=>n,uh:()=>l,y$:()=>u}),r(9984);var n="process.runtime.name",i="process.runtime.version",o="process.runtime.description",s="service.name",a="telemetry.sdk.name",c="telemetry.sdk.language",u="telemetry.sdk.version",l="webjs"},8723(e,t,r){"use strict";r.d(t,{P4J:()=>n,XyR:()=>a,aP6:()=>i,crS:()=>s,ipG:()=>o}),r(9984);var n="exception.type",i="exception.message",o="exception.stacktrace",s="http.response_content_length",a="http.response_content_length_uncompressed"},900(e,t,r){"use strict";r.r(t),r.d(t,{ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED:()=>ei,ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED:()=>ti,ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED:()=>ri,ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED:()=>ni,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED:()=>ai,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER:()=>ci,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER:()=>ui,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED:()=>li,ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE:()=>fi,ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS:()=>_i,ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT:()=>Zn,ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE:()=>ii,ATTR_ASPNETCORE_RATE_LIMITING_POLICY:()=>oi,ATTR_ASPNETCORE_RATE_LIMITING_RESULT:()=>si,ATTR_ASPNETCORE_REQUEST_IS_UNHANDLED:()=>di,ATTR_ASPNETCORE_ROUTING_IS_FALLBACK:()=>pi,ATTR_ASPNETCORE_ROUTING_MATCH_STATUS:()=>hi,ATTR_ASPNETCORE_USER_IS_AUTHENTICATED:()=>Ei,ATTR_CLIENT_ADDRESS:()=>gi,ATTR_CLIENT_PORT:()=>Ti,ATTR_CODE_COLUMN_NUMBER:()=>Si,ATTR_CODE_FILE_PATH:()=>vi,ATTR_CODE_FUNCTION_NAME:()=>mi,ATTR_CODE_LINE_NUMBER:()=>yi,ATTR_CODE_STACKTRACE:()=>Oi,ATTR_DB_COLLECTION_NAME:()=>bi,ATTR_DB_NAMESPACE:()=>Ai,ATTR_DB_OPERATION_BATCH_SIZE:()=>Ri,ATTR_DB_OPERATION_NAME:()=>wi,ATTR_DB_QUERY_SUMMARY:()=>Li,ATTR_DB_QUERY_TEXT:()=>Ci,ATTR_DB_RESPONSE_STATUS_CODE:()=>Ni,ATTR_DB_STORED_PROCEDURE_NAME:()=>Pi,ATTR_DB_SYSTEM_NAME:()=>Ii,ATTR_DOTNET_GC_HEAP_GENERATION:()=>ki,ATTR_ERROR_TYPE:()=>Fi,ATTR_EXCEPTION_ESCAPED:()=>Xi,ATTR_EXCEPTION_MESSAGE:()=>Wi,ATTR_EXCEPTION_STACKTRACE:()=>zi,ATTR_EXCEPTION_TYPE:()=>Ki,ATTR_HTTP_REQUEST_HEADER:()=>qi,ATTR_HTTP_REQUEST_METHOD:()=>Ji,ATTR_HTTP_REQUEST_METHOD_ORIGINAL:()=>ao,ATTR_HTTP_REQUEST_RESEND_COUNT:()=>co,ATTR_HTTP_RESPONSE_HEADER:()=>uo,ATTR_HTTP_RESPONSE_STATUS_CODE:()=>lo,ATTR_HTTP_ROUTE:()=>po,ATTR_JVM_GC_ACTION:()=>ho,ATTR_JVM_GC_NAME:()=>fo,ATTR_JVM_MEMORY_POOL_NAME:()=>_o,ATTR_JVM_MEMORY_TYPE:()=>Eo,ATTR_JVM_THREAD_DAEMON:()=>So,ATTR_JVM_THREAD_STATE:()=>vo,ATTR_NETWORK_LOCAL_ADDRESS:()=>wo,ATTR_NETWORK_LOCAL_PORT:()=>Lo,ATTR_NETWORK_PEER_ADDRESS:()=>Co,ATTR_NETWORK_PEER_PORT:()=>No,ATTR_NETWORK_PROTOCOL_NAME:()=>Po,ATTR_NETWORK_PROTOCOL_VERSION:()=>Io,ATTR_NETWORK_TRANSPORT:()=>Mo,ATTR_NETWORK_TYPE:()=>Vo,ATTR_OTEL_SCOPE_NAME:()=>Go,ATTR_OTEL_SCOPE_VERSION:()=>Fo,ATTR_OTEL_STATUS_CODE:()=>Yo,ATTR_OTEL_STATUS_DESCRIPTION:()=>zo,ATTR_SERVER_ADDRESS:()=>Ko,ATTR_SERVER_PORT:()=>qo,ATTR_SERVICE_NAME:()=>Jo,ATTR_SERVICE_VERSION:()=>$o,ATTR_SIGNALR_CONNECTION_STATUS:()=>Qo,ATTR_SIGNALR_TRANSPORT:()=>rs,ATTR_TELEMETRY_SDK_LANGUAGE:()=>ss,ATTR_TELEMETRY_SDK_NAME:()=>Ss,ATTR_TELEMETRY_SDK_VERSION:()=>vs,ATTR_URL_FRAGMENT:()=>ms,ATTR_URL_FULL:()=>ys,ATTR_URL_PATH:()=>Os,ATTR_URL_QUERY:()=>bs,ATTR_URL_SCHEME:()=>As,ATTR_USER_AGENT_ORIGINAL:()=>Rs,AWSECSLAUNCHTYPEVALUES_EC2:()=>qr,AWSECSLAUNCHTYPEVALUES_FARGATE:()=>Jr,AwsEcsLaunchtypeValues:()=>$r,CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS:()=>Nr,CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC:()=>Pr,CLOUDPLATFORMVALUES_AWS_EC2:()=>Ir,CLOUDPLATFORMVALUES_AWS_ECS:()=>Mr,CLOUDPLATFORMVALUES_AWS_EKS:()=>Dr,CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK:()=>Ur,CLOUDPLATFORMVALUES_AWS_LAMBDA:()=>xr,CLOUDPLATFORMVALUES_AZURE_AKS:()=>Vr,CLOUDPLATFORMVALUES_AZURE_APP_SERVICE:()=>Hr,CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES:()=>jr,CLOUDPLATFORMVALUES_AZURE_FUNCTIONS:()=>Br,CLOUDPLATFORMVALUES_AZURE_VM:()=>kr,CLOUDPLATFORMVALUES_GCP_APP_ENGINE:()=>Wr,CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS:()=>Xr,CLOUDPLATFORMVALUES_GCP_CLOUD_RUN:()=>Fr,CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE:()=>Gr,CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE:()=>Yr,CLOUDPROVIDERVALUES_ALIBABA_CLOUD:()=>cr,CLOUDPROVIDERVALUES_AWS:()=>ur,CLOUDPROVIDERVALUES_AZURE:()=>lr,CLOUDPROVIDERVALUES_GCP:()=>dr,CloudPlatformValues:()=>zr,CloudProviderValues:()=>pr,DBCASSANDRACONSISTENCYLEVELVALUES_ALL:()=>n.Bh9,DBCASSANDRACONSISTENCYLEVELVALUES_ANY:()=>n.Eo2,DBCASSANDRACONSISTENCYLEVELVALUES_EACH_QUORUM:()=>n.$8v,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_ONE:()=>n.slN,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_QUORUM:()=>n.VMk,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_SERIAL:()=>n.g9x,DBCASSANDRACONSISTENCYLEVELVALUES_ONE:()=>n.G49,DBCASSANDRACONSISTENCYLEVELVALUES_QUORUM:()=>n.vhy,DBCASSANDRACONSISTENCYLEVELVALUES_SERIAL:()=>n.OSW,DBCASSANDRACONSISTENCYLEVELVALUES_THREE:()=>n.O2W,DBCASSANDRACONSISTENCYLEVELVALUES_TWO:()=>n.WJJ,DBSYSTEMVALUES_ADABAS:()=>n.nWK,DBSYSTEMVALUES_CACHE:()=>n.V02,DBSYSTEMVALUES_CASSANDRA:()=>n.Rk0,DBSYSTEMVALUES_CLOUDSCAPE:()=>n.CQB,DBSYSTEMVALUES_COCKROACHDB:()=>n.y__,DBSYSTEMVALUES_COLDFUSION:()=>n.TKU,DBSYSTEMVALUES_COSMOSDB:()=>n.zmF,DBSYSTEMVALUES_COUCHBASE:()=>n.oBD,DBSYSTEMVALUES_COUCHDB:()=>n.hV,DBSYSTEMVALUES_DB2:()=>n.xhJ,DBSYSTEMVALUES_DERBY:()=>n.XTF,DBSYSTEMVALUES_DYNAMODB:()=>n.poY,DBSYSTEMVALUES_EDB:()=>n.ynC,DBSYSTEMVALUES_ELASTICSEARCH:()=>n.Ylk,DBSYSTEMVALUES_FILEMAKER:()=>n.Xdf,DBSYSTEMVALUES_FIREBIRD:()=>n.IOi,DBSYSTEMVALUES_FIRSTSQL:()=>n.$wW,DBSYSTEMVALUES_GEODE:()=>n.N4Y,DBSYSTEMVALUES_H2:()=>n.JZz,DBSYSTEMVALUES_HANADB:()=>n.Dzx,DBSYSTEMVALUES_HBASE:()=>n.Spc,DBSYSTEMVALUES_HIVE:()=>n.nwz,DBSYSTEMVALUES_HSQLDB:()=>n.pfp,DBSYSTEMVALUES_INFORMIX:()=>n.L5D,DBSYSTEMVALUES_INGRES:()=>n.L2R,DBSYSTEMVALUES_INSTANTDB:()=>n.K2_,DBSYSTEMVALUES_INTERBASE:()=>n.y6V,DBSYSTEMVALUES_MARIADB:()=>n.ngE,DBSYSTEMVALUES_MAXDB:()=>n.XER,DBSYSTEMVALUES_MEMCACHED:()=>n.Oe4,DBSYSTEMVALUES_MONGODB:()=>n.X36,DBSYSTEMVALUES_MSSQL:()=>n.Vp5,DBSYSTEMVALUES_MYSQL:()=>n.bfK,DBSYSTEMVALUES_NEO4J:()=>n.BJ_,DBSYSTEMVALUES_NETEZZA:()=>n.irN,DBSYSTEMVALUES_ORACLE:()=>n.PU4,DBSYSTEMVALUES_OTHER_SQL:()=>n.Wb_,DBSYSTEMVALUES_PERVASIVE:()=>n.mc2,DBSYSTEMVALUES_POINTBASE:()=>n.Y$v,DBSYSTEMVALUES_POSTGRESQL:()=>n.jCw,DBSYSTEMVALUES_PROGRESS:()=>n.KjL,DBSYSTEMVALUES_REDIS:()=>n.W_f,DBSYSTEMVALUES_REDSHIFT:()=>n.MpS,DBSYSTEMVALUES_SQLITE:()=>n.vl2,DBSYSTEMVALUES_SYBASE:()=>n.K0$,DBSYSTEMVALUES_TERADATA:()=>n.Xuz,DBSYSTEMVALUES_VERTICA:()=>n.lcm,DB_SYSTEM_NAME_VALUE_MARIADB:()=>Mi,DB_SYSTEM_NAME_VALUE_MICROSOFT_SQL_SERVER:()=>Di,DB_SYSTEM_NAME_VALUE_MYSQL:()=>xi,DB_SYSTEM_NAME_VALUE_POSTGRESQL:()=>Ui,DOTNET_GC_HEAP_GENERATION_VALUE_GEN0:()=>ji,DOTNET_GC_HEAP_GENERATION_VALUE_GEN1:()=>Vi,DOTNET_GC_HEAP_GENERATION_VALUE_GEN2:()=>Bi,DOTNET_GC_HEAP_GENERATION_VALUE_LOH:()=>Hi,DOTNET_GC_HEAP_GENERATION_VALUE_POH:()=>Gi,DbCassandraConsistencyLevelValues:()=>n.Nxd,DbSystemValues:()=>n.Q5s,ERROR_TYPE_VALUE_OTHER:()=>Yi,EVENT_EXCEPTION:()=>ba,FAASDOCUMENTOPERATIONVALUES_DELETE:()=>n.mlL,FAASDOCUMENTOPERATIONVALUES_EDIT:()=>n.VEl,FAASDOCUMENTOPERATIONVALUES_INSERT:()=>n.oF4,FAASINVOKEDPROVIDERVALUES_ALIBABA_CLOUD:()=>n.y3W,FAASINVOKEDPROVIDERVALUES_AWS:()=>n.Tl5,FAASINVOKEDPROVIDERVALUES_AZURE:()=>n.d3j,FAASINVOKEDPROVIDERVALUES_GCP:()=>n.kOl,FAASTRIGGERVALUES_DATASOURCE:()=>n.uZf,FAASTRIGGERVALUES_HTTP:()=>n.v8K,FAASTRIGGERVALUES_OTHER:()=>n.ToY,FAASTRIGGERVALUES_PUBSUB:()=>n.CK9,FAASTRIGGERVALUES_TIMER:()=>n.IxL,FaasDocumentOperationValues:()=>n.Ijl,FaasInvokedProviderValues:()=>n.zI8,FaasTriggerValues:()=>n.iPC,HOSTARCHVALUES_AMD64:()=>on,HOSTARCHVALUES_ARM32:()=>sn,HOSTARCHVALUES_ARM64:()=>an,HOSTARCHVALUES_IA64:()=>cn,HOSTARCHVALUES_PPC32:()=>un,HOSTARCHVALUES_PPC64:()=>ln,HOSTARCHVALUES_X86:()=>dn,HTTPFLAVORVALUES_HTTP_1_0:()=>n.dbJ,HTTPFLAVORVALUES_HTTP_1_1:()=>n.kPW,HTTPFLAVORVALUES_HTTP_2_0:()=>n.gGD,HTTPFLAVORVALUES_QUIC:()=>n.iFX,HTTPFLAVORVALUES_SPDY:()=>n.QhH,HTTP_REQUEST_METHOD_VALUE_CONNECT:()=>Qi,HTTP_REQUEST_METHOD_VALUE_DELETE:()=>Zi,HTTP_REQUEST_METHOD_VALUE_GET:()=>eo,HTTP_REQUEST_METHOD_VALUE_HEAD:()=>to,HTTP_REQUEST_METHOD_VALUE_OPTIONS:()=>ro,HTTP_REQUEST_METHOD_VALUE_OTHER:()=>$i,HTTP_REQUEST_METHOD_VALUE_PATCH:()=>no,HTTP_REQUEST_METHOD_VALUE_POST:()=>io,HTTP_REQUEST_METHOD_VALUE_PUT:()=>oo,HTTP_REQUEST_METHOD_VALUE_TRACE:()=>so,HostArchValues:()=>pn,HttpFlavorValues:()=>n.dNH,JVM_MEMORY_TYPE_VALUE_HEAP:()=>go,JVM_MEMORY_TYPE_VALUE_NON_HEAP:()=>To,JVM_THREAD_STATE_VALUE_BLOCKED:()=>mo,JVM_THREAD_STATE_VALUE_NEW:()=>yo,JVM_THREAD_STATE_VALUE_RUNNABLE:()=>Oo,JVM_THREAD_STATE_VALUE_TERMINATED:()=>bo,JVM_THREAD_STATE_VALUE_TIMED_WAITING:()=>Ao,JVM_THREAD_STATE_VALUE_WAITING:()=>Ro,MESSAGETYPEVALUES_RECEIVED:()=>n.sr7,MESSAGETYPEVALUES_SENT:()=>n.bZN,MESSAGINGDESTINATIONKINDVALUES_QUEUE:()=>n.npt,MESSAGINGDESTINATIONKINDVALUES_TOPIC:()=>n.HXm,MESSAGINGOPERATIONVALUES_PROCESS:()=>n.AVC,MESSAGINGOPERATIONVALUES_RECEIVE:()=>n.mO,METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS:()=>ws,METRIC_ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES:()=>Ls,METRIC_ASPNETCORE_RATE_LIMITING_QUEUED_REQUESTS:()=>Cs,METRIC_ASPNETCORE_RATE_LIMITING_REQUESTS:()=>Is,METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION:()=>Ps,METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_TIME_IN_QUEUE:()=>Ns,METRIC_ASPNETCORE_ROUTING_MATCH_ATTEMPTS:()=>Ms,METRIC_DB_CLIENT_OPERATION_DURATION:()=>Ds,METRIC_DOTNET_ASSEMBLY_COUNT:()=>xs,METRIC_DOTNET_EXCEPTIONS:()=>Us,METRIC_DOTNET_GC_COLLECTIONS:()=>ks,METRIC_DOTNET_GC_HEAP_TOTAL_ALLOCATED:()=>js,METRIC_DOTNET_GC_LAST_COLLECTION_HEAP_FRAGMENTATION_SIZE:()=>Vs,METRIC_DOTNET_GC_LAST_COLLECTION_HEAP_SIZE:()=>Bs,METRIC_DOTNET_GC_LAST_COLLECTION_MEMORY_COMMITTED_SIZE:()=>Hs,METRIC_DOTNET_GC_PAUSE_TIME:()=>Gs,METRIC_DOTNET_JIT_COMPILATION_TIME:()=>Fs,METRIC_DOTNET_JIT_COMPILED_IL_SIZE:()=>Ys,METRIC_DOTNET_JIT_COMPILED_METHODS:()=>Xs,METRIC_DOTNET_MONITOR_LOCK_CONTENTIONS:()=>Ws,METRIC_DOTNET_PROCESS_CPU_COUNT:()=>zs,METRIC_DOTNET_PROCESS_CPU_TIME:()=>Ks,METRIC_DOTNET_PROCESS_MEMORY_WORKING_SET:()=>qs,METRIC_DOTNET_THREAD_POOL_QUEUE_LENGTH:()=>Js,METRIC_DOTNET_THREAD_POOL_THREAD_COUNT:()=>$s,METRIC_DOTNET_THREAD_POOL_WORK_ITEM_COUNT:()=>Qs,METRIC_DOTNET_TIMER_COUNT:()=>Zs,METRIC_HTTP_CLIENT_REQUEST_DURATION:()=>ea,METRIC_HTTP_SERVER_REQUEST_DURATION:()=>ta,METRIC_JVM_CLASS_COUNT:()=>ra,METRIC_JVM_CLASS_LOADED:()=>na,METRIC_JVM_CLASS_UNLOADED:()=>ia,METRIC_JVM_CPU_COUNT:()=>oa,METRIC_JVM_CPU_RECENT_UTILIZATION:()=>sa,METRIC_JVM_CPU_TIME:()=>aa,METRIC_JVM_GC_DURATION:()=>ca,METRIC_JVM_MEMORY_COMMITTED:()=>ua,METRIC_JVM_MEMORY_LIMIT:()=>la,METRIC_JVM_MEMORY_USED:()=>da,METRIC_JVM_MEMORY_USED_AFTER_LAST_GC:()=>pa,METRIC_JVM_THREAD_COUNT:()=>ha,METRIC_KESTREL_ACTIVE_CONNECTIONS:()=>fa,METRIC_KESTREL_ACTIVE_TLS_HANDSHAKES:()=>_a,METRIC_KESTREL_CONNECTION_DURATION:()=>Ea,METRIC_KESTREL_QUEUED_CONNECTIONS:()=>ga,METRIC_KESTREL_QUEUED_REQUESTS:()=>Ta,METRIC_KESTREL_REJECTED_CONNECTIONS:()=>Sa,METRIC_KESTREL_TLS_HANDSHAKE_DURATION:()=>va,METRIC_KESTREL_UPGRADED_CONNECTIONS:()=>ma,METRIC_SIGNALR_SERVER_ACTIVE_CONNECTIONS:()=>ya,METRIC_SIGNALR_SERVER_CONNECTION_DURATION:()=>Oa,MessageTypeValues:()=>n.Ywq,MessagingDestinationKindValues:()=>n.b7t,MessagingOperationValues:()=>n.Qgf,NETHOSTCONNECTIONSUBTYPEVALUES_CDMA:()=>n.i9b,NETHOSTCONNECTIONSUBTYPEVALUES_CDMA2000_1XRTT:()=>n.mN_,NETHOSTCONNECTIONSUBTYPEVALUES_EDGE:()=>n.Q_6,NETHOSTCONNECTIONSUBTYPEVALUES_EHRPD:()=>n.EPu,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_0:()=>n.uzh,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_A:()=>n.Bez,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_B:()=>n.uwh,NETHOSTCONNECTIONSUBTYPEVALUES_GPRS:()=>n.Rpt,NETHOSTCONNECTIONSUBTYPEVALUES_GSM:()=>n.AdO,NETHOSTCONNECTIONSUBTYPEVALUES_HSDPA:()=>n.hu9,NETHOSTCONNECTIONSUBTYPEVALUES_HSPA:()=>n.x0j,NETHOSTCONNECTIONSUBTYPEVALUES_HSPAP:()=>n.hze,NETHOSTCONNECTIONSUBTYPEVALUES_HSUPA:()=>n.kgK,NETHOSTCONNECTIONSUBTYPEVALUES_IDEN:()=>n.rBh,NETHOSTCONNECTIONSUBTYPEVALUES_IWLAN:()=>n.IMI,NETHOSTCONNECTIONSUBTYPEVALUES_LTE:()=>n.wYf,NETHOSTCONNECTIONSUBTYPEVALUES_LTE_CA:()=>n.bWQ,NETHOSTCONNECTIONSUBTYPEVALUES_NR:()=>n.JPM,NETHOSTCONNECTIONSUBTYPEVALUES_NRNSA:()=>n.ddb,NETHOSTCONNECTIONSUBTYPEVALUES_TD_SCDMA:()=>n._28,NETHOSTCONNECTIONSUBTYPEVALUES_UMTS:()=>n.yIV,NETHOSTCONNECTIONTYPEVALUES_CELL:()=>n.j7z,NETHOSTCONNECTIONTYPEVALUES_UNAVAILABLE:()=>n.D3U,NETHOSTCONNECTIONTYPEVALUES_UNKNOWN:()=>n.Vur,NETHOSTCONNECTIONTYPEVALUES_WIFI:()=>n.CGC,NETHOSTCONNECTIONTYPEVALUES_WIRED:()=>n.c1V,NETTRANSPORTVALUES_INPROC:()=>n.JjG,NETTRANSPORTVALUES_IP:()=>n.fN3,NETTRANSPORTVALUES_IP_TCP:()=>n.x85,NETTRANSPORTVALUES_IP_UDP:()=>n.ZUK,NETTRANSPORTVALUES_OTHER:()=>n.EUV,NETTRANSPORTVALUES_PIPE:()=>n.cjY,NETTRANSPORTVALUES_UNIX:()=>n.GR7,NETWORK_TRANSPORT_VALUE_PIPE:()=>Do,NETWORK_TRANSPORT_VALUE_QUIC:()=>xo,NETWORK_TRANSPORT_VALUE_TCP:()=>Uo,NETWORK_TRANSPORT_VALUE_UDP:()=>ko,NETWORK_TRANSPORT_VALUE_UNIX:()=>jo,NETWORK_TYPE_VALUE_IPV4:()=>Bo,NETWORK_TYPE_VALUE_IPV6:()=>Ho,NetHostConnectionSubtypeValues:()=>n.cAF,NetHostConnectionTypeValues:()=>n.KSs,NetTransportValues:()=>n.z4S,OSTYPEVALUES_AIX:()=>Pn,OSTYPEVALUES_DARWIN:()=>An,OSTYPEVALUES_DRAGONFLYBSD:()=>Cn,OSTYPEVALUES_FREEBSD:()=>Rn,OSTYPEVALUES_HPUX:()=>Nn,OSTYPEVALUES_LINUX:()=>bn,OSTYPEVALUES_NETBSD:()=>wn,OSTYPEVALUES_OPENBSD:()=>Ln,OSTYPEVALUES_SOLARIS:()=>In,OSTYPEVALUES_WINDOWS:()=>On,OSTYPEVALUES_Z_OS:()=>Mn,OTEL_STATUS_CODE_VALUE_ERROR:()=>Xo,OTEL_STATUS_CODE_VALUE_OK:()=>Wo,OsTypeValues:()=>Dn,RPCGRPCSTATUSCODEVALUES_ABORTED:()=>n.$5b,RPCGRPCSTATUSCODEVALUES_ALREADY_EXISTS:()=>n.TiO,RPCGRPCSTATUSCODEVALUES_CANCELLED:()=>n.Ryq,RPCGRPCSTATUSCODEVALUES_DATA_LOSS:()=>n.ueJ,RPCGRPCSTATUSCODEVALUES_DEADLINE_EXCEEDED:()=>n.wAY,RPCGRPCSTATUSCODEVALUES_FAILED_PRECONDITION:()=>n._pX,RPCGRPCSTATUSCODEVALUES_INTERNAL:()=>n.dXK,RPCGRPCSTATUSCODEVALUES_INVALID_ARGUMENT:()=>n.njt,RPCGRPCSTATUSCODEVALUES_NOT_FOUND:()=>n.ay9,RPCGRPCSTATUSCODEVALUES_OK:()=>n.wJ,RPCGRPCSTATUSCODEVALUES_OUT_OF_RANGE:()=>n.GY$,RPCGRPCSTATUSCODEVALUES_PERMISSION_DENIED:()=>n.nXs,RPCGRPCSTATUSCODEVALUES_RESOURCE_EXHAUSTED:()=>n.KNN,RPCGRPCSTATUSCODEVALUES_UNAUTHENTICATED:()=>n._Q_,RPCGRPCSTATUSCODEVALUES_UNAVAILABLE:()=>n.gFG,RPCGRPCSTATUSCODEVALUES_UNIMPLEMENTED:()=>n.p1q,RPCGRPCSTATUSCODEVALUES_UNKNOWN:()=>n.ch2,RpcGrpcStatusCodeValues:()=>n.f3T,SEMATTRS_AWS_DYNAMODB_ATTRIBUTES_TO_GET:()=>n.wpU,SEMATTRS_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS:()=>n.fhG,SEMATTRS_AWS_DYNAMODB_CONSISTENT_READ:()=>n.tGA,SEMATTRS_AWS_DYNAMODB_CONSUMED_CAPACITY:()=>n.byW,SEMATTRS_AWS_DYNAMODB_COUNT:()=>n.F7w,SEMATTRS_AWS_DYNAMODB_EXCLUSIVE_START_TABLE:()=>n.Wif,SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES:()=>n.TVZ,SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES:()=>n.Ouu,SEMATTRS_AWS_DYNAMODB_INDEX_NAME:()=>n.gUJ,SEMATTRS_AWS_DYNAMODB_ITEM_COLLECTION_METRICS:()=>n.Wx7,SEMATTRS_AWS_DYNAMODB_LIMIT:()=>n.La$,SEMATTRS_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES:()=>n.ti,SEMATTRS_AWS_DYNAMODB_PROJECTION:()=>n.frU,SEMATTRS_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY:()=>n.a4d,SEMATTRS_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY:()=>n.p30,SEMATTRS_AWS_DYNAMODB_SCANNED_COUNT:()=>n.sxk,SEMATTRS_AWS_DYNAMODB_SCAN_FORWARD:()=>n.r0m,SEMATTRS_AWS_DYNAMODB_SEGMENT:()=>n.F0K,SEMATTRS_AWS_DYNAMODB_SELECT:()=>n.u4L,SEMATTRS_AWS_DYNAMODB_TABLE_COUNT:()=>n.mGg,SEMATTRS_AWS_DYNAMODB_TABLE_NAMES:()=>n.Ta3,SEMATTRS_AWS_DYNAMODB_TOTAL_SEGMENTS:()=>n.DBy,SEMATTRS_AWS_LAMBDA_INVOKED_ARN:()=>n.TCh,SEMATTRS_CODE_FILEPATH:()=>n.cvh,SEMATTRS_CODE_FUNCTION:()=>n.jrL,SEMATTRS_CODE_LINENO:()=>n.usz,SEMATTRS_CODE_NAMESPACE:()=>n.klU,SEMATTRS_DB_CASSANDRA_CONSISTENCY_LEVEL:()=>n.Qt9,SEMATTRS_DB_CASSANDRA_COORDINATOR_DC:()=>n.DNX,SEMATTRS_DB_CASSANDRA_COORDINATOR_ID:()=>n.xq_,SEMATTRS_DB_CASSANDRA_IDEMPOTENCE:()=>n._iR,SEMATTRS_DB_CASSANDRA_KEYSPACE:()=>n.Unu,SEMATTRS_DB_CASSANDRA_PAGE_SIZE:()=>n.Itx,SEMATTRS_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT:()=>n.NlD,SEMATTRS_DB_CASSANDRA_TABLE:()=>n.zri,SEMATTRS_DB_CONNECTION_STRING:()=>n.cd9,SEMATTRS_DB_HBASE_NAMESPACE:()=>n.bd4,SEMATTRS_DB_JDBC_DRIVER_CLASSNAME:()=>n.qGX,SEMATTRS_DB_MONGODB_COLLECTION:()=>n.NlA,SEMATTRS_DB_MSSQL_INSTANCE_NAME:()=>n.Eh5,SEMATTRS_DB_NAME:()=>n.Rt6,SEMATTRS_DB_OPERATION:()=>n.l60,SEMATTRS_DB_REDIS_DATABASE_INDEX:()=>n.wy2,SEMATTRS_DB_SQL_TABLE:()=>n.pHC,SEMATTRS_DB_STATEMENT:()=>n.FoJ,SEMATTRS_DB_SYSTEM:()=>n.V0Q,SEMATTRS_DB_USER:()=>n.N9D,SEMATTRS_ENDUSER_ID:()=>n.RHQ,SEMATTRS_ENDUSER_ROLE:()=>n.cSi,SEMATTRS_ENDUSER_SCOPE:()=>n.MWE,SEMATTRS_EXCEPTION_ESCAPED:()=>n.GKr,SEMATTRS_EXCEPTION_MESSAGE:()=>n.aP6,SEMATTRS_EXCEPTION_STACKTRACE:()=>n.ipG,SEMATTRS_EXCEPTION_TYPE:()=>n.P4J,SEMATTRS_FAAS_COLDSTART:()=>n.TRX,SEMATTRS_FAAS_CRON:()=>n.HVV,SEMATTRS_FAAS_DOCUMENT_COLLECTION:()=>n.LxM,SEMATTRS_FAAS_DOCUMENT_NAME:()=>n.aTe,SEMATTRS_FAAS_DOCUMENT_OPERATION:()=>n.abe,SEMATTRS_FAAS_DOCUMENT_TIME:()=>n.aKn,SEMATTRS_FAAS_EXECUTION:()=>n.dsp,SEMATTRS_FAAS_INVOKED_NAME:()=>n.PIi,SEMATTRS_FAAS_INVOKED_PROVIDER:()=>n.XNY,SEMATTRS_FAAS_INVOKED_REGION:()=>n.imY,SEMATTRS_FAAS_TIME:()=>n.cFk,SEMATTRS_FAAS_TRIGGER:()=>n.bes,SEMATTRS_HTTP_CLIENT_IP:()=>n.nS0,SEMATTRS_HTTP_FLAVOR:()=>n.o8O,SEMATTRS_HTTP_HOST:()=>n.Qv9,SEMATTRS_HTTP_METHOD:()=>n.vof,SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH:()=>n.OdI,SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED:()=>n.Plv,SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH:()=>n.crS,SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED:()=>n.XyR,SEMATTRS_HTTP_ROUTE:()=>n.tto,SEMATTRS_HTTP_SCHEME:()=>n.zPu,SEMATTRS_HTTP_SERVER_NAME:()=>n.H35,SEMATTRS_HTTP_STATUS_CODE:()=>n.W_O,SEMATTRS_HTTP_TARGET:()=>n.fub,SEMATTRS_HTTP_URL:()=>n.vSt,SEMATTRS_HTTP_USER_AGENT:()=>n.Nz$,SEMATTRS_MESSAGE_COMPRESSED_SIZE:()=>n.U5o,SEMATTRS_MESSAGE_ID:()=>n.Gsd,SEMATTRS_MESSAGE_TYPE:()=>n.$58,SEMATTRS_MESSAGE_UNCOMPRESSED_SIZE:()=>n.LfK,SEMATTRS_MESSAGING_CONSUMER_ID:()=>n.w54,SEMATTRS_MESSAGING_CONVERSATION_ID:()=>n.nN_,SEMATTRS_MESSAGING_DESTINATION:()=>n.Yjy,SEMATTRS_MESSAGING_DESTINATION_KIND:()=>n.lDI,SEMATTRS_MESSAGING_KAFKA_CLIENT_ID:()=>n.cZl,SEMATTRS_MESSAGING_KAFKA_CONSUMER_GROUP:()=>n.rsL,SEMATTRS_MESSAGING_KAFKA_MESSAGE_KEY:()=>n.yRs,SEMATTRS_MESSAGING_KAFKA_PARTITION:()=>n.tNm,SEMATTRS_MESSAGING_KAFKA_TOMBSTONE:()=>n.E__,SEMATTRS_MESSAGING_MESSAGE_ID:()=>n.XH7,SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES:()=>n.CdG,SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES:()=>n._Zr,SEMATTRS_MESSAGING_OPERATION:()=>n.zpg,SEMATTRS_MESSAGING_PROTOCOL:()=>n._af,SEMATTRS_MESSAGING_PROTOCOL_VERSION:()=>n.DA0,SEMATTRS_MESSAGING_RABBITMQ_ROUTING_KEY:()=>n.Zl1,SEMATTRS_MESSAGING_SYSTEM:()=>n.zBy,SEMATTRS_MESSAGING_TEMP_DESTINATION:()=>n.JK9,SEMATTRS_MESSAGING_URL:()=>n.t8j,SEMATTRS_NET_HOST_CARRIER_ICC:()=>n.wgx,SEMATTRS_NET_HOST_CARRIER_MCC:()=>n.cA3,SEMATTRS_NET_HOST_CARRIER_MNC:()=>n.hXS,SEMATTRS_NET_HOST_CARRIER_NAME:()=>n.ynP,SEMATTRS_NET_HOST_CONNECTION_SUBTYPE:()=>n.Ltc,SEMATTRS_NET_HOST_CONNECTION_TYPE:()=>n.PfM,SEMATTRS_NET_HOST_IP:()=>n.j$y,SEMATTRS_NET_HOST_NAME:()=>n.h70,SEMATTRS_NET_HOST_PORT:()=>n.Puv,SEMATTRS_NET_PEER_IP:()=>n.RvY,SEMATTRS_NET_PEER_NAME:()=>n.nvt,SEMATTRS_NET_PEER_PORT:()=>n.ZUg,SEMATTRS_NET_TRANSPORT:()=>n.Ac3,SEMATTRS_PEER_SERVICE:()=>n.RyT,SEMATTRS_RPC_GRPC_STATUS_CODE:()=>n.C2y,SEMATTRS_RPC_JSONRPC_ERROR_CODE:()=>n.Zwr,SEMATTRS_RPC_JSONRPC_ERROR_MESSAGE:()=>n.z_u,SEMATTRS_RPC_JSONRPC_REQUEST_ID:()=>n.yew,SEMATTRS_RPC_JSONRPC_VERSION:()=>n.ZSz,SEMATTRS_RPC_METHOD:()=>n.Y3v,SEMATTRS_RPC_SERVICE:()=>n.GOV,SEMATTRS_RPC_SYSTEM:()=>n.sLO,SEMATTRS_THREAD_ID:()=>n.lpz,SEMATTRS_THREAD_NAME:()=>n.taz,SEMRESATTRS_AWS_ECS_CLUSTER_ARN:()=>je,SEMRESATTRS_AWS_ECS_CONTAINER_ARN:()=>ke,SEMRESATTRS_AWS_ECS_LAUNCHTYPE:()=>Ve,SEMRESATTRS_AWS_ECS_TASK_ARN:()=>Be,SEMRESATTRS_AWS_ECS_TASK_FAMILY:()=>He,SEMRESATTRS_AWS_ECS_TASK_REVISION:()=>Ge,SEMRESATTRS_AWS_EKS_CLUSTER_ARN:()=>Fe,SEMRESATTRS_AWS_LOG_GROUP_ARNS:()=>Xe,SEMRESATTRS_AWS_LOG_GROUP_NAMES:()=>Ye,SEMRESATTRS_AWS_LOG_STREAM_ARNS:()=>ze,SEMRESATTRS_AWS_LOG_STREAM_NAMES:()=>We,SEMRESATTRS_CLOUD_ACCOUNT_ID:()=>Me,SEMRESATTRS_CLOUD_AVAILABILITY_ZONE:()=>xe,SEMRESATTRS_CLOUD_PLATFORM:()=>Ue,SEMRESATTRS_CLOUD_PROVIDER:()=>Ie,SEMRESATTRS_CLOUD_REGION:()=>De,SEMRESATTRS_CONTAINER_ID:()=>qe,SEMRESATTRS_CONTAINER_IMAGE_NAME:()=>$e,SEMRESATTRS_CONTAINER_IMAGE_TAG:()=>Qe,SEMRESATTRS_CONTAINER_NAME:()=>Ke,SEMRESATTRS_CONTAINER_RUNTIME:()=>Je,SEMRESATTRS_DEPLOYMENT_ENVIRONMENT:()=>Ze,SEMRESATTRS_DEVICE_ID:()=>et,SEMRESATTRS_DEVICE_MODEL_IDENTIFIER:()=>tt,SEMRESATTRS_DEVICE_MODEL_NAME:()=>rt,SEMRESATTRS_FAAS_ID:()=>it,SEMRESATTRS_FAAS_INSTANCE:()=>st,SEMRESATTRS_FAAS_MAX_MEMORY:()=>at,SEMRESATTRS_FAAS_NAME:()=>nt,SEMRESATTRS_FAAS_VERSION:()=>ot,SEMRESATTRS_HOST_ARCH:()=>dt,SEMRESATTRS_HOST_ID:()=>ct,SEMRESATTRS_HOST_IMAGE_ID:()=>ht,SEMRESATTRS_HOST_IMAGE_NAME:()=>pt,SEMRESATTRS_HOST_IMAGE_VERSION:()=>ft,SEMRESATTRS_HOST_NAME:()=>ut,SEMRESATTRS_HOST_TYPE:()=>lt,SEMRESATTRS_K8S_CLUSTER_NAME:()=>_t,SEMRESATTRS_K8S_CONTAINER_NAME:()=>mt,SEMRESATTRS_K8S_CRONJOB_NAME:()=>Mt,SEMRESATTRS_K8S_CRONJOB_UID:()=>It,SEMRESATTRS_K8S_DAEMONSET_NAME:()=>Ct,SEMRESATTRS_K8S_DAEMONSET_UID:()=>Lt,SEMRESATTRS_K8S_DEPLOYMENT_NAME:()=>At,SEMRESATTRS_K8S_DEPLOYMENT_UID:()=>bt,SEMRESATTRS_K8S_JOB_NAME:()=>Pt,SEMRESATTRS_K8S_JOB_UID:()=>Nt,SEMRESATTRS_K8S_NAMESPACE_NAME:()=>Tt,SEMRESATTRS_K8S_NODE_NAME:()=>Et,SEMRESATTRS_K8S_NODE_UID:()=>gt,SEMRESATTRS_K8S_POD_NAME:()=>vt,SEMRESATTRS_K8S_POD_UID:()=>St,SEMRESATTRS_K8S_REPLICASET_NAME:()=>Ot,SEMRESATTRS_K8S_REPLICASET_UID:()=>yt,SEMRESATTRS_K8S_STATEFULSET_NAME:()=>wt,SEMRESATTRS_K8S_STATEFULSET_UID:()=>Rt,SEMRESATTRS_OS_DESCRIPTION:()=>xt,SEMRESATTRS_OS_NAME:()=>Ut,SEMRESATTRS_OS_TYPE:()=>Dt,SEMRESATTRS_OS_VERSION:()=>kt,SEMRESATTRS_PROCESS_COMMAND:()=>Ht,SEMRESATTRS_PROCESS_COMMAND_ARGS:()=>Ft,SEMRESATTRS_PROCESS_COMMAND_LINE:()=>Gt,SEMRESATTRS_PROCESS_EXECUTABLE_NAME:()=>Vt,SEMRESATTRS_PROCESS_EXECUTABLE_PATH:()=>Bt,SEMRESATTRS_PROCESS_OWNER:()=>Yt,SEMRESATTRS_PROCESS_PID:()=>jt,SEMRESATTRS_PROCESS_RUNTIME_DESCRIPTION:()=>zt,SEMRESATTRS_PROCESS_RUNTIME_NAME:()=>Xt,SEMRESATTRS_PROCESS_RUNTIME_VERSION:()=>Wt,SEMRESATTRS_SERVICE_INSTANCE_ID:()=>Jt,SEMRESATTRS_SERVICE_NAME:()=>Kt,SEMRESATTRS_SERVICE_NAMESPACE:()=>qt,SEMRESATTRS_SERVICE_VERSION:()=>$t,SEMRESATTRS_TELEMETRY_AUTO_VERSION:()=>tr,SEMRESATTRS_TELEMETRY_SDK_LANGUAGE:()=>Zt,SEMRESATTRS_TELEMETRY_SDK_NAME:()=>Qt,SEMRESATTRS_TELEMETRY_SDK_VERSION:()=>er,SEMRESATTRS_WEBENGINE_DESCRIPTION:()=>ir,SEMRESATTRS_WEBENGINE_NAME:()=>rr,SEMRESATTRS_WEBENGINE_VERSION:()=>nr,SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN:()=>Zo,SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE:()=>es,SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT:()=>ts,SIGNALR_TRANSPORT_VALUE_LONG_POLLING:()=>ns,SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS:()=>is,SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS:()=>os,SemanticAttributes:()=>n.IXq,SemanticResourceAttributes:()=>or,TELEMETRYSDKLANGUAGEVALUES_CPP:()=>Gn,TELEMETRYSDKLANGUAGEVALUES_DOTNET:()=>Fn,TELEMETRYSDKLANGUAGEVALUES_ERLANG:()=>Yn,TELEMETRYSDKLANGUAGEVALUES_GO:()=>Xn,TELEMETRYSDKLANGUAGEVALUES_JAVA:()=>Wn,TELEMETRYSDKLANGUAGEVALUES_NODEJS:()=>zn,TELEMETRYSDKLANGUAGEVALUES_PHP:()=>Kn,TELEMETRYSDKLANGUAGEVALUES_PYTHON:()=>qn,TELEMETRYSDKLANGUAGEVALUES_RUBY:()=>Jn,TELEMETRYSDKLANGUAGEVALUES_WEBJS:()=>$n,TELEMETRY_SDK_LANGUAGE_VALUE_CPP:()=>as,TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET:()=>cs,TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG:()=>us,TELEMETRY_SDK_LANGUAGE_VALUE_GO:()=>ls,TELEMETRY_SDK_LANGUAGE_VALUE_JAVA:()=>ds,TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS:()=>ps,TELEMETRY_SDK_LANGUAGE_VALUE_PHP:()=>hs,TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON:()=>fs,TELEMETRY_SDK_LANGUAGE_VALUE_RUBY:()=>_s,TELEMETRY_SDK_LANGUAGE_VALUE_RUST:()=>Es,TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT:()=>gs,TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS:()=>Ts,TelemetrySdkLanguageValues:()=>Qn});var n=r(7466),i=r(4690);const o="cloud.provider",s="cloud.account.id",a="cloud.region",c="cloud.availability_zone",u="cloud.platform",l="aws.ecs.container.arn",d="aws.ecs.cluster.arn",p="aws.ecs.launchtype",h="aws.ecs.task.arn",f="aws.ecs.task.family",_="aws.ecs.task.revision",E="aws.eks.cluster.arn",g="aws.log.group.names",T="aws.log.group.arns",S="aws.log.stream.names",v="aws.log.stream.arns",m="container.name",y="container.id",O="container.runtime",b="container.image.name",A="container.image.tag",R="deployment.environment",w="device.id",L="device.model.identifier",C="device.model.name",N="faas.name",P="faas.id",I="faas.version",M="faas.instance",D="faas.max_memory",x="host.id",U="host.name",k="host.type",j="host.arch",V="host.image.name",B="host.image.id",H="host.image.version",G="k8s.cluster.name",F="k8s.node.name",Y="k8s.node.uid",X="k8s.namespace.name",W="k8s.pod.uid",z="k8s.pod.name",K="k8s.container.name",q="k8s.replicaset.uid",J="k8s.replicaset.name",$="k8s.deployment.uid",Q="k8s.deployment.name",Z="k8s.statefulset.uid",ee="k8s.statefulset.name",te="k8s.daemonset.uid",re="k8s.daemonset.name",ne="k8s.job.uid",ie="k8s.job.name",oe="k8s.cronjob.uid",se="k8s.cronjob.name",ae="os.type",ce="os.description",ue="os.name",le="os.version",de="process.pid",pe="process.executable.name",he="process.executable.path",fe="process.command",_e="process.command_line",Ee="process.command_args",ge="process.owner",Te="process.runtime.name",Se="process.runtime.version",ve="process.runtime.description",me="service.name",ye="service.namespace",Oe="service.instance.id",be="service.version",Ae="telemetry.sdk.name",Re="telemetry.sdk.language",we="telemetry.sdk.version",Le="telemetry.auto.version",Ce="webengine.name",Ne="webengine.version",Pe="webengine.description",Ie=o,Me=s,De=a,xe=c,Ue=u,ke=l,je=d,Ve=p,Be=h,He=f,Ge=_,Fe=E,Ye=g,Xe=T,We=S,ze=v,Ke=m,qe=y,Je=O,$e=b,Qe=A,Ze=R,et=w,tt=L,rt=C,nt=N,it=P,ot=I,st=M,at=D,ct=x,ut=U,lt=k,dt=j,pt=V,ht=B,ft=H,_t=G,Et=F,gt=Y,Tt=X,St=W,vt=z,mt=K,yt=q,Ot=J,bt=$,At=Q,Rt=Z,wt=ee,Lt=te,Ct=re,Nt=ne,Pt=ie,It=oe,Mt=se,Dt=ae,xt=ce,Ut=ue,kt=le,jt=de,Vt=pe,Bt=he,Ht=fe,Gt=_e,Ft=Ee,Yt=ge,Xt=Te,Wt=Se,zt=ve,Kt=me,qt=ye,Jt=Oe,$t=be,Qt=Ae,Zt=Re,er=we,tr=Le,rr=Ce,nr=Ne,ir=Pe,or=(0,i.O)([o,s,a,c,u,l,d,p,h,f,_,E,g,T,S,v,m,y,O,b,A,R,w,L,C,N,P,I,M,D,x,U,k,j,V,B,H,G,F,Y,X,W,z,K,q,J,$,Q,Z,ee,te,re,ne,ie,oe,se,ae,ce,ue,le,de,pe,he,fe,_e,Ee,ge,Te,Se,ve,me,ye,Oe,be,Ae,Re,we,Le,Ce,Ne,Pe]),sr="alibaba_cloud",ar="azure",cr=sr,ur="aws",lr=ar,dr="gcp",pr=(0,i.O)([sr,"aws",ar,"gcp"]),hr="alibaba_cloud_ecs",fr="alibaba_cloud_fc",_r="aws_ec2",Er="aws_ecs",gr="aws_eks",Tr="aws_lambda",Sr="aws_elastic_beanstalk",vr="azure_vm",mr="azure_container_instances",yr="azure_aks",Or="azure_functions",br="azure_app_service",Ar="gcp_compute_engine",Rr="gcp_cloud_run",wr="gcp_kubernetes_engine",Lr="gcp_cloud_functions",Cr="gcp_app_engine",Nr=hr,Pr=fr,Ir=_r,Mr=Er,Dr=gr,xr=Tr,Ur=Sr,kr=vr,jr=mr,Vr=yr,Br=Or,Hr=br,Gr=Ar,Fr=Rr,Yr=wr,Xr=Lr,Wr=Cr,zr=(0,i.O)([hr,fr,_r,Er,gr,Tr,Sr,vr,mr,yr,Or,br,Ar,Rr,wr,Lr,Cr]),Kr="fargate",qr="ec2",Jr=Kr,$r=(0,i.O)(["ec2",Kr]),Qr="amd64",Zr="arm32",en="arm64",tn="ia64",rn="ppc32",nn="ppc64",on=Qr,sn=Zr,an=en,cn=tn,un=rn,ln=nn,dn="x86",pn=(0,i.O)([Qr,Zr,en,tn,rn,nn,"x86"]),hn="windows",fn="linux",_n="darwin",En="freebsd",gn="netbsd",Tn="openbsd",Sn="dragonflybsd",vn="hpux",mn="solaris",yn="z_os",On=hn,bn=fn,An=_n,Rn=En,wn=gn,Ln=Tn,Cn=Sn,Nn=vn,Pn="aix",In=mn,Mn=yn,Dn=(0,i.O)([hn,fn,_n,En,gn,Tn,Sn,vn,"aix",mn,yn]),xn="dotnet",Un="erlang",kn="java",jn="nodejs",Vn="python",Bn="ruby",Hn="webjs",Gn="cpp",Fn=xn,Yn=Un,Xn="go",Wn=kn,zn=jn,Kn="php",qn=Vn,Jn=Bn,$n=Hn,Qn=(0,i.O)(["cpp",xn,Un,"go",kn,jn,"php",Vn,Bn,Hn]),Zn="aspnetcore.diagnostics.exception.result",ei="aborted",ti="handled",ri="skipped",ni="unhandled",ii="aspnetcore.diagnostics.handler.type",oi="aspnetcore.rate_limiting.policy",si="aspnetcore.rate_limiting.result",ai="acquired",ci="endpoint_limiter",ui="global_limiter",li="request_canceled",di="aspnetcore.request.is_unhandled",pi="aspnetcore.routing.is_fallback",hi="aspnetcore.routing.match_status",fi="failure",_i="success",Ei="aspnetcore.user.is_authenticated",gi="client.address",Ti="client.port",Si="code.column.number",vi="code.file.path",mi="code.function.name",yi="code.line.number",Oi="code.stacktrace",bi="db.collection.name",Ai="db.namespace",Ri="db.operation.batch.size",wi="db.operation.name",Li="db.query.summary",Ci="db.query.text",Ni="db.response.status_code",Pi="db.stored_procedure.name",Ii="db.system.name",Mi="mariadb",Di="microsoft.sql_server",xi="mysql",Ui="postgresql",ki="dotnet.gc.heap.generation",ji="gen0",Vi="gen1",Bi="gen2",Hi="loh",Gi="poh",Fi="error.type",Yi="_OTHER",Xi="exception.escaped",Wi="exception.message",zi="exception.stacktrace",Ki="exception.type",qi=e=>`http.request.header.${e}`,Ji="http.request.method",$i="_OTHER",Qi="CONNECT",Zi="DELETE",eo="GET",to="HEAD",ro="OPTIONS",no="PATCH",io="POST",oo="PUT",so="TRACE",ao="http.request.method_original",co="http.request.resend_count",uo=e=>`http.response.header.${e}`,lo="http.response.status_code",po="http.route",ho="jvm.gc.action",fo="jvm.gc.name",_o="jvm.memory.pool.name",Eo="jvm.memory.type",go="heap",To="non_heap",So="jvm.thread.daemon",vo="jvm.thread.state",mo="blocked",yo="new",Oo="runnable",bo="terminated",Ao="timed_waiting",Ro="waiting",wo="network.local.address",Lo="network.local.port",Co="network.peer.address",No="network.peer.port",Po="network.protocol.name",Io="network.protocol.version",Mo="network.transport",Do="pipe",xo="quic",Uo="tcp",ko="udp",jo="unix",Vo="network.type",Bo="ipv4",Ho="ipv6",Go="otel.scope.name",Fo="otel.scope.version",Yo="otel.status_code",Xo="ERROR",Wo="OK",zo="otel.status_description",Ko="server.address",qo="server.port",Jo="service.name",$o="service.version",Qo="signalr.connection.status",Zo="app_shutdown",es="normal_closure",ts="timeout",rs="signalr.transport",ns="long_polling",is="server_sent_events",os="web_sockets",ss="telemetry.sdk.language",as="cpp",cs="dotnet",us="erlang",ls="go",ds="java",ps="nodejs",hs="php",fs="python",_s="ruby",Es="rust",gs="swift",Ts="webjs",Ss="telemetry.sdk.name",vs="telemetry.sdk.version",ms="url.fragment",ys="url.full",Os="url.path",bs="url.query",As="url.scheme",Rs="user_agent.original",ws="aspnetcore.diagnostics.exceptions",Ls="aspnetcore.rate_limiting.active_request_leases",Cs="aspnetcore.rate_limiting.queued_requests",Ns="aspnetcore.rate_limiting.request.time_in_queue",Ps="aspnetcore.rate_limiting.request_lease.duration",Is="aspnetcore.rate_limiting.requests",Ms="aspnetcore.routing.match_attempts",Ds="db.client.operation.duration",xs="dotnet.assembly.count",Us="dotnet.exceptions",ks="dotnet.gc.collections",js="dotnet.gc.heap.total_allocated",Vs="dotnet.gc.last_collection.heap.fragmentation.size",Bs="dotnet.gc.last_collection.heap.size",Hs="dotnet.gc.last_collection.memory.committed_size",Gs="dotnet.gc.pause.time",Fs="dotnet.jit.compilation.time",Ys="dotnet.jit.compiled_il.size",Xs="dotnet.jit.compiled_methods",Ws="dotnet.monitor.lock_contentions",zs="dotnet.process.cpu.count",Ks="dotnet.process.cpu.time",qs="dotnet.process.memory.working_set",Js="dotnet.thread_pool.queue.length",$s="dotnet.thread_pool.thread.count",Qs="dotnet.thread_pool.work_item.count",Zs="dotnet.timer.count",ea="http.client.request.duration",ta="http.server.request.duration",ra="jvm.class.count",na="jvm.class.loaded",ia="jvm.class.unloaded",oa="jvm.cpu.count",sa="jvm.cpu.recent_utilization",aa="jvm.cpu.time",ca="jvm.gc.duration",ua="jvm.memory.committed",la="jvm.memory.limit",da="jvm.memory.used",pa="jvm.memory.used_after_last_gc",ha="jvm.thread.count",fa="kestrel.active_connections",_a="kestrel.active_tls_handshakes",Ea="kestrel.connection.duration",ga="kestrel.queued_connections",Ta="kestrel.queued_requests",Sa="kestrel.rejected_connections",va="kestrel.tls_handshake.duration",ma="kestrel.upgraded_connections",ya="signalr.server.active_connections",Oa="signalr.server.connection.duration",ba="exception"},4690(e,t,r){"use strict";function n(e){let t={};const r=e.length;for(let n=0;n<r;n++){const r=e[n];r&&(t[String(r).toUpperCase().replace(/[-.]/g,"_")]=r)}return t}r.d(t,{O:()=>n})},7466(e,t,r){"use strict";r.d(t,{$58:()=>Hn,$5b:()=>sc,$8v:()=>Vo,$wW:()=>Ji,AVC:()=>Ka,Ac3:()=>ar,AdO:()=>Aa,BJ_:()=>Ao,Bez:()=>_a,Bh9:()=>jo,C2y:()=>Un,CGC:()=>Bs,CK9:()=>ns,CQB:()=>Yi,CdG:()=>bn,D3U:()=>Fs,DA0:()=>Sn,DBy:()=>un,DNX:()=>Bt,Dzx:()=>Ki,EPu:()=>Oa,EUV:()=>Ms,E__:()=>In,Eh5:()=>It,Eo2:()=>Wo,F0K:()=>cn,F7w:()=>ln,FoJ:()=>Nt,G49:()=>Go,GKr:()=>Kt,GOV:()=>Dn,GR7:()=>Ns,GY$:()=>ac,Gsd:()=>Gn,H35:()=>Gr,HVV:()=>rr,HXm:()=>Fa,IMI:()=>wa,IOi:()=>eo,IXq:()=>Xn,Ijl:()=>hs,Itx:()=>Dt,IxL:()=>is,JK9:()=>gn,JPM:()=>La,JZz:()=>_o,JjG:()=>Is,K0$:()=>po,K2_:()=>io,KNN:()=>ic,KSs:()=>Xs,KjL:()=>Wi,L2R:()=>qi,L5D:()=>no,La$:()=>Qr,LfK:()=>Yn,Ltc:()=>_r,LxM:()=>$t,MWE:()=>Or,MpS:()=>Gi,N4Y:()=>Ro,N9D:()=>wt,NlA:()=>Ft,NlD:()=>jt,Nxd:()=>qo,Nz$:()=>kr,O2W:()=>Yo,OSW:()=>zo,OdI:()=>jr,Oe4:()=>Lo,Ouu:()=>hn,P4J:()=>Xt,PIi:()=>ir,PU4:()=>Vi,PfM:()=>fr,Plv:()=>Vr,Puv:()=>pr,Q5s:()=>No,Q_6:()=>da,Qgf:()=>qa,QhH:()=>ka,Qt9:()=>xt,Qv9:()=>Mr,RHQ:()=>mr,Rk0:()=>go,Rpt:()=>la,Rt6:()=>Ct,RvY:()=>cr,RyT:()=>vr,Ryq:()=>$a,Spc:()=>To,TCh:()=>bt,TKU:()=>Eo,TRX:()=>nr,TVZ:()=>rn,Ta3:()=>Xr,TiO:()=>rc,Tl5:()=>gs,ToY:()=>os,U5o:()=>Fn,Unu:()=>Mt,V02:()=>Qi,V0Q:()=>At,VEl:()=>ds,VMk:()=>Ho,Vp5:()=>ki,Vur:()=>Ys,WJJ:()=>Fo,W_O:()=>xr,W_f:()=>vo,Wb_:()=>Ui,Wif:()=>on,Wx7:()=>zr,X36:()=>So,XER:()=>zi,XH7:()=>mn,XNY:()=>or,XTF:()=>to,Xdf:()=>ro,Xuz:()=>ho,XyR:()=>Hr,Y$v:()=>uo,Y3v:()=>xn,Yjy:()=>_n,Ylk:()=>wo,Ywq:()=>Tc,ZSz:()=>kn,ZUK:()=>Ls,ZUg:()=>ur,Zl1:()=>wn,Zwr:()=>Vn,_28:()=>Ra,_Q_:()=>pc,_Zr:()=>On,_af:()=>Tn,_iR:()=>kt,_pX:()=>oc,a4d:()=>Kr,aKn:()=>Zt,aP6:()=>Wt,aTe:()=>er,abe:()=>Qt,ay9:()=>tc,b7t:()=>Ya,bWQ:()=>Na,bZN:()=>Ec,bd4:()=>Ht,bes:()=>qt,bfK:()=>ji,byW:()=>Wr,c1V:()=>Hs,cA3:()=>gr,cAF:()=>Pa,cFk:()=>tr,cSi:()=>yr,cZl:()=>Nn,cd9:()=>Rt,ch2:()=>Qa,cjY:()=>Ps,crS:()=>Br,cvh:()=>Lr,d3j:()=>Ts,dNH:()=>Va,dXK:()=>uc,dbJ:()=>Da,ddb:()=>Ca,dsp:()=>Jt,f3T:()=>hc,fN3:()=>Cs,fhG:()=>pn,frU:()=>$r,fub:()=>Ir,g9x:()=>Ko,gFG:()=>lc,gGD:()=>Ua,gUJ:()=>en,h70:()=>hr,hV:()=>yo,hXS:()=>Tr,hu9:()=>ga,hze:()=>ba,i9b:()=>ha,iFX:()=>ja,iPC:()=>ss,imY:()=>sr,ipG:()=>zt,irN:()=>ao,j$y:()=>dr,j7z:()=>Gs,jCw:()=>Hi,jrL:()=>Rr,kOl:()=>Ss,kPW:()=>xa,kgK:()=>Ta,klU:()=>wr,l60:()=>Pt,lDI:()=>En,lcm:()=>fo,lpz:()=>br,mGg:()=>sn,mN_:()=>Ea,mO:()=>za,mc2:()=>co,mlL:()=>ps,nN_:()=>yn,nS0:()=>Yr,nWK:()=>Zi,nXs:()=>nc,ngE:()=>so,njt:()=>Za,npt:()=>Ga,nvt:()=>lr,nwz:()=>Fi,o8O:()=>Ur,oBD:()=>mo,oF4:()=>ls,p1q:()=>cc,p30:()=>qr,pHC:()=>Yt,pfp:()=>Xi,poY:()=>bo,qGX:()=>Lt,r0m:()=>an,rBh:()=>va,rsL:()=>Cn,sLO:()=>Mn,slN:()=>Xo,sr7:()=>gc,sxk:()=>dn,t8j:()=>vn,tGA:()=>Jr,tNm:()=>Pn,taz:()=>Ar,ti:()=>nn,tto:()=>Fr,u4L:()=>tn,uZf:()=>ts,ueJ:()=>dc,usz:()=>Cr,uwh:()=>ma,uzh:()=>fa,v8K:()=>rs,vSt:()=>Pr,vhy:()=>Bo,vl2:()=>lo,vof:()=>Nr,w54:()=>Rn,wAY:()=>ec,wJ:()=>Ja,wYf:()=>ya,wgx:()=>Sr,wpU:()=>Zr,wy2:()=>Gt,x0j:()=>Sa,x85:()=>ws,xhJ:()=>Bi,xq_:()=>Vt,y3W:()=>Es,y6V:()=>oo,yIV:()=>pa,yRs:()=>Ln,y__:()=>Co,yew:()=>jn,ynC:()=>$i,ynP:()=>Er,z4S:()=>Ds,zBy:()=>fn,zI8:()=>vs,zPu:()=>Dr,z_u:()=>Bn,zmF:()=>Oo,zpg:()=>An,zri:()=>Ut});var n=r(4690);const i="aws.lambda.invoked_arn",o="db.system",s="db.connection_string",a="db.user",c="db.jdbc.driver_classname",u="db.name",l="db.statement",d="db.operation",p="db.mssql.instance_name",h="db.cassandra.keyspace",f="db.cassandra.page_size",_="db.cassandra.consistency_level",E="db.cassandra.table",g="db.cassandra.idempotence",T="db.cassandra.speculative_execution_count",S="db.cassandra.coordinator.id",v="db.cassandra.coordinator.dc",m="db.hbase.namespace",y="db.redis.database_index",O="db.mongodb.collection",b="db.sql.table",A="exception.type",R="exception.message",w="exception.stacktrace",L="exception.escaped",C="faas.trigger",N="faas.execution",P="faas.document.collection",I="faas.document.operation",M="faas.document.time",D="faas.document.name",x="faas.time",U="faas.cron",k="faas.coldstart",j="faas.invoked_name",V="faas.invoked_provider",B="faas.invoked_region",H="net.transport",G="net.peer.ip",F="net.peer.port",Y="net.peer.name",X="net.host.ip",W="net.host.port",z="net.host.name",K="net.host.connection.type",q="net.host.connection.subtype",J="net.host.carrier.name",$="net.host.carrier.mcc",Q="net.host.carrier.mnc",Z="net.host.carrier.icc",ee="peer.service",te="enduser.id",re="enduser.role",ne="enduser.scope",ie="thread.id",oe="thread.name",se="code.function",ae="code.namespace",ce="code.filepath",ue="code.lineno",le="http.method",de="http.url",pe="http.target",he="http.host",fe="http.scheme",_e="http.status_code",Ee="http.flavor",ge="http.user_agent",Te="http.request_content_length",Se="http.request_content_length_uncompressed",ve="http.response_content_length",me="http.response_content_length_uncompressed",ye="http.server_name",Oe="http.route",be="http.client_ip",Ae="aws.dynamodb.table_names",Re="aws.dynamodb.consumed_capacity",we="aws.dynamodb.item_collection_metrics",Le="aws.dynamodb.provisioned_read_capacity",Ce="aws.dynamodb.provisioned_write_capacity",Ne="aws.dynamodb.consistent_read",Pe="aws.dynamodb.projection",Ie="aws.dynamodb.limit",Me="aws.dynamodb.attributes_to_get",De="aws.dynamodb.index_name",xe="aws.dynamodb.select",Ue="aws.dynamodb.global_secondary_indexes",ke="aws.dynamodb.local_secondary_indexes",je="aws.dynamodb.exclusive_start_table",Ve="aws.dynamodb.table_count",Be="aws.dynamodb.scan_forward",He="aws.dynamodb.segment",Ge="aws.dynamodb.total_segments",Fe="aws.dynamodb.count",Ye="aws.dynamodb.scanned_count",Xe="aws.dynamodb.attribute_definitions",We="aws.dynamodb.global_secondary_index_updates",ze="messaging.system",Ke="messaging.destination",qe="messaging.destination_kind",Je="messaging.temp_destination",$e="messaging.protocol",Qe="messaging.protocol_version",Ze="messaging.url",et="messaging.message_id",tt="messaging.conversation_id",rt="messaging.message_payload_size_bytes",nt="messaging.message_payload_compressed_size_bytes",it="messaging.operation",ot="messaging.consumer_id",st="messaging.rabbitmq.routing_key",at="messaging.kafka.message_key",ct="messaging.kafka.consumer_group",ut="messaging.kafka.client_id",lt="messaging.kafka.partition",dt="messaging.kafka.tombstone",pt="rpc.system",ht="rpc.service",ft="rpc.method",_t="rpc.grpc.status_code",Et="rpc.jsonrpc.version",gt="rpc.jsonrpc.request_id",Tt="rpc.jsonrpc.error_code",St="rpc.jsonrpc.error_message",vt="message.type",mt="message.id",yt="message.compressed_size",Ot="message.uncompressed_size",bt=i,At=o,Rt=s,wt=a,Lt=c,Ct=u,Nt=l,Pt=d,It=p,Mt=h,Dt=f,xt=_,Ut=E,kt=g,jt=T,Vt=S,Bt=v,Ht=m,Gt=y,Ft=O,Yt=b,Xt=A,Wt=R,zt=w,Kt=L,qt=C,Jt=N,$t=P,Qt=I,Zt=M,er=D,tr=x,rr=U,nr=k,ir=j,or=V,sr=B,ar=H,cr=G,ur=F,lr=Y,dr=X,pr=W,hr=z,fr=K,_r=q,Er=J,gr=$,Tr=Q,Sr=Z,vr=ee,mr=te,yr=re,Or=ne,br=ie,Ar=oe,Rr=se,wr=ae,Lr=ce,Cr=ue,Nr=le,Pr=de,Ir=pe,Mr=he,Dr=fe,xr=_e,Ur=Ee,kr=ge,jr=Te,Vr=Se,Br=ve,Hr=me,Gr=ye,Fr=Oe,Yr=be,Xr=Ae,Wr=Re,zr=we,Kr=Le,qr=Ce,Jr=Ne,$r=Pe,Qr=Ie,Zr=Me,en=De,tn=xe,rn=Ue,nn=ke,on=je,sn=Ve,an=Be,cn=He,un=Ge,ln=Fe,dn=Ye,pn=Xe,hn=We,fn=ze,_n=Ke,En=qe,gn=Je,Tn=$e,Sn=Qe,vn=Ze,mn=et,yn=tt,On=rt,bn=nt,An=it,Rn=ot,wn=st,Ln=at,Cn=ct,Nn=ut,Pn=lt,In=dt,Mn=pt,Dn=ht,xn=ft,Un=_t,kn=Et,jn=gt,Vn=Tt,Bn=St,Hn=vt,Gn=mt,Fn=yt,Yn=Ot,Xn=(0,n.O)([i,o,s,a,c,u,l,d,p,h,f,_,E,g,T,S,v,m,y,O,b,A,R,w,L,C,N,P,I,M,D,x,U,k,j,V,B,H,G,F,Y,X,W,z,K,q,J,$,Q,Z,ee,te,re,ne,ie,oe,se,ae,ce,ue,le,de,pe,he,fe,_e,Ee,ge,Te,Se,ve,me,ye,Oe,be,Ae,Re,we,Le,Ce,Ne,Pe,Ie,Me,De,xe,Ue,ke,je,Ve,Be,He,Ge,Fe,Ye,Xe,We,ze,Ke,qe,Je,$e,Qe,Ze,et,tt,rt,nt,it,ot,st,at,ct,ut,lt,dt,pt,ht,ft,_t,Et,gt,Tt,St,vt,mt,yt,Ot]),Wn="other_sql",zn="mssql",Kn="mysql",qn="oracle",Jn="postgresql",$n="redshift",Qn="hive",Zn="cloudscape",ei="hsqldb",ti="progress",ri="maxdb",ni="hanadb",ii="ingres",oi="firstsql",si="cache",ai="adabas",ci="firebird",ui="derby",li="filemaker",di="informix",pi="instantdb",hi="interbase",fi="mariadb",_i="netezza",Ei="pervasive",gi="pointbase",Ti="sqlite",Si="sybase",vi="teradata",mi="vertica",yi="coldfusion",Oi="cassandra",bi="hbase",Ai="mongodb",Ri="redis",wi="couchbase",Li="couchdb",Ci="cosmosdb",Ni="dynamodb",Pi="neo4j",Ii="geode",Mi="elasticsearch",Di="memcached",xi="cockroachdb",Ui=Wn,ki=zn,ji=Kn,Vi=qn,Bi="db2",Hi=Jn,Gi=$n,Fi=Qn,Yi=Zn,Xi=ei,Wi=ti,zi=ri,Ki=ni,qi=ii,Ji=oi,$i="edb",Qi=si,Zi=ai,eo=ci,to=ui,ro=li,no=di,io=pi,oo=hi,so=fi,ao=_i,co=Ei,uo=gi,lo=Ti,po=Si,ho=vi,fo=mi,_o="h2",Eo=yi,go=Oi,To=bi,So=Ai,vo=Ri,mo=wi,yo=Li,Oo=Ci,bo=Ni,Ao=Pi,Ro=Ii,wo=Mi,Lo=Di,Co=xi,No=(0,n.O)([Wn,zn,Kn,qn,"db2",Jn,$n,Qn,Zn,ei,ti,ri,ni,ii,oi,"edb",si,ai,ci,ui,li,di,pi,hi,fi,_i,Ei,gi,Ti,Si,vi,mi,"h2",yi,Oi,bi,Ai,Ri,wi,Li,Ci,Ni,Pi,Ii,Mi,Di,xi]),Po="each_quorum",Io="quorum",Mo="local_quorum",Do="three",xo="local_one",Uo="serial",ko="local_serial",jo="all",Vo=Po,Bo=Io,Ho=Mo,Go="one",Fo="two",Yo=Do,Xo=xo,Wo="any",zo=Uo,Ko=ko,qo=(0,n.O)(["all",Po,Io,Mo,"one","two",Do,xo,"any",Uo,ko]),Jo="datasource",$o="http",Qo="pubsub",Zo="timer",es="other",ts=Jo,rs=$o,ns=Qo,is=Zo,os=es,ss=(0,n.O)([Jo,$o,Qo,Zo,es]),as="insert",cs="edit",us="delete",ls=as,ds=cs,ps=us,hs=(0,n.O)([as,cs,us]),fs="alibaba_cloud",_s="azure",Es=fs,gs="aws",Ts=_s,Ss="gcp",vs=(0,n.O)([fs,"aws",_s,"gcp"]),ms="ip_tcp",ys="ip_udp",Os="unix",bs="pipe",As="inproc",Rs="other",ws=ms,Ls=ys,Cs="ip",Ns=Os,Ps=bs,Is=As,Ms=Rs,Ds=(0,n.O)([ms,ys,"ip",Os,bs,As,Rs]),xs="wifi",Us="wired",ks="cell",js="unavailable",Vs="unknown",Bs=xs,Hs=Us,Gs=ks,Fs=js,Ys=Vs,Xs=(0,n.O)([xs,Us,ks,js,Vs]),Ws="gprs",zs="edge",Ks="umts",qs="cdma",Js="evdo_0",$s="evdo_a",Qs="cdma2000_1xrtt",Zs="hsdpa",ea="hsupa",ta="hspa",ra="iden",na="evdo_b",ia="ehrpd",oa="hspap",sa="td_scdma",aa="iwlan",ca="nrnsa",ua="lte_ca",la=Ws,da=zs,pa=Ks,ha=qs,fa=Js,_a=$s,Ea=Qs,ga=Zs,Ta=ea,Sa=ta,va=ra,ma=na,ya="lte",Oa=ia,ba=oa,Aa="gsm",Ra=sa,wa=aa,La="nr",Ca=ca,Na=ua,Pa=(0,n.O)([Ws,zs,Ks,qs,Js,$s,Qs,Zs,ea,ta,ra,na,"lte",ia,oa,"gsm",sa,aa,"nr",ca,ua]),Ia="SPDY",Ma="QUIC",Da="1.0",xa="1.1",Ua="2.0",ka=Ia,ja=Ma,Va={HTTP_1_0:"1.0",HTTP_1_1:"1.1",HTTP_2_0:"2.0",SPDY:Ia,QUIC:Ma},Ba="queue",Ha="topic",Ga=Ba,Fa=Ha,Ya=(0,n.O)([Ba,Ha]),Xa="receive",Wa="process",za=Xa,Ka=Wa,qa=(0,n.O)([Xa,Wa]),Ja=0,$a=1,Qa=2,Za=3,ec=4,tc=5,rc=6,nc=7,ic=8,oc=9,sc=10,ac=11,cc=12,uc=13,lc=14,dc=15,pc=16,hc={OK:0,CANCELLED:1,UNKNOWN:2,INVALID_ARGUMENT:3,DEADLINE_EXCEEDED:4,NOT_FOUND:5,ALREADY_EXISTS:6,PERMISSION_DENIED:7,RESOURCE_EXHAUSTED:8,FAILED_PRECONDITION:9,ABORTED:10,OUT_OF_RANGE:11,UNIMPLEMENTED:12,INTERNAL:13,UNAVAILABLE:14,DATA_LOSS:15,UNAUTHENTICATED:16},fc="SENT",_c="RECEIVED",Ec=fc,gc=_c,Tc=(0,n.O)([fc,_c])},2567(e){"use strict";function t(e){return"function"==typeof e}var r=console.error.bind(console);function n(e,t,r){var n=!!e[t]&&e.propertyIsEnumerable(t);Object.defineProperty(e,t,{configurable:!0,enumerable:n,writable:!0,value:r})}function i(e){e&&e.logger&&(t(e.logger)?r=e.logger:r("new logger isn't a function, not replacing"))}function o(e,i,o){if(e&&e[i]){if(!o)return r("no wrapper function"),void r((new Error).stack);if(t(e[i])&&t(o)){var s=e[i],a=o(s,i);return n(a,"__original",s),n(a,"__unwrap",(function(){e[i]===a&&n(e,i,s)})),n(a,"__wrapped",!0),n(e,i,a),a}r("original object and wrapper must be functions")}else r("no original function "+i+" to wrap")}function s(e,t){return e&&e[t]?e[t].__unwrap?e[t].__unwrap():void r("no original to unwrap to -- has "+t+" already been unwrapped?"):(r("no function to unwrap."),void r((new Error).stack))}i.wrap=o,i.massWrap=function(e,t,n){if(!e)return r("must provide one or more modules to patch"),void r((new Error).stack);Array.isArray(e)||(e=[e]),t&&Array.isArray(t)?e.forEach((function(e){t.forEach((function(t){o(e,t,n)}))})):r("must provide one or more functions to wrap on modules")},i.unwrap=s,i.massUnwrap=function(e,t){if(!e)return r("must provide one or more modules to patch"),void r((new Error).stack);Array.isArray(e)||(e=[e]),t&&Array.isArray(t)?e.forEach((function(e){t.forEach((function(t){s(e,t)}))})):r("must provide one or more functions to unwrap on modules")},e.exports=i},1832(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"InternalEventTarget",{enumerable:!0,get:function(){return i}});const n=r(4609);r(4229),r(4452),r(6841);class i{addEventListener(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.events[e]||(this.events[e]=[]),this.events[e].push({listener:t,options:r})}emit(e,t){const r=this.events[e];r&&r.forEach((r=>{let{listener:n,options:i}=r;try{n({payload:t})}catch(e){console.error("Error in event listener",e)}i.once&&this.removeEventListener(e,n)}))}removeEventListener(e,t){if(this.events[e])for(let r=0;r<this.events[e].length;r++){const{listener:n}=this.events[e][r];if(n===t){this.events[e].splice(r,1);break}}}constructor(){n._(this,"events",{})}}},4752(e,t,r){"use strict";function n(e){return e}function i(e,t,r){const n=new XMLHttpRequest;n.open("POST",e),Object.entries(Object.assign(Object.assign({},{Accept:"application/json","Content-Type":"application/json"}),r)).forEach((e=>{let[t,r]=e;n.setRequestHeader(t,r)})),n.send(t)}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get NATIVE_BEACON_SENDER(){return o},get NATIVE_XHR_SENDER(){return i},get NOOP_ATTRIBUTES_TRANSFORMER(){return n}}),r(4452),r(6841),r(3076);const o="undefined"!=typeof navigator&&navigator.sendBeacon?(e,t,r)=>{const n=r?new Blob([t],r):t;navigator.sendBeacon(e,n)}:void 0},7542(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SplunkOTLPTraceExporter",{enumerable:!0,get:function(){return a}});const n=r(4609);r(4452),r(8612),r(8298),r(6644),r(4061),r(5253),r(2188),r(7387),r(4747),r(1302),r(91),r(4460),r(7886),r(7934),r(7609),r(2534);const i=r(4299),o=r(878),s=r(4752);class a extends o.OTLPTraceExporter{send(e,t){var r;if(this._shutdownOnce.isCalled)return void i.diag.debug("Shutdown already started. Cannot send objects");const n=e.length;if((e=e.filter((e=>Boolean(e.attributes["splunk.rumSessionId"])))).length!==n&&i.diag.debug("Some spans were dropped because they are missing the splunk.rumSessionId attribute. This usually means the session has reached its maximum allowed duration."),0===(e=e.map((e=>(e.attributes=this._onAttributesSerializing?this._onAttributesSerializing(e.attributes,e):e.attributes,e)))).length)return void t();const o=null!==(r=this._serializer.serializeRequest(e))&&void 0!==r?r:new Uint8Array;document.hidden&&this._beaconSender&&o.length<=64e3?this._beaconSender(this.url,o,{type:"application/json"}):this._xhrSender&&this._xhrSender(this.url,o,{Accept:"application/json","Content-Type":"application/json",...this.headers}),t()}constructor(e){super(e),n._(this,"_beaconSender",s.NATIVE_BEACON_SENDER),n._(this,"_onAttributesSerializing",void 0),n._(this,"_xhrSender",s.NATIVE_XHR_SENDER),this._onAttributesSerializing=e.onAttributesSerializing||s.NOOP_ATTRIBUTES_TRANSFORMER}}},5530(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SplunkZipkinExporter",{enumerable:!0,get:function(){return l}});const n=r(4609);r(4452),r(8612),r(8298),r(1125),r(3871),r(3076);const i=r(4299),o=r(2401),s=r(8511),a=r(558),c=r(6465),u=r(4752);class l{export(e,t){const r=e.length;if((e=e.filter((e=>Boolean(e.attributes["splunk.rumSessionId"])))).length!==r&&i.diag.debug("Some spans were dropped because they are missing the splunk.rumSessionId attribute. This usually means the session has reached its maximum allowed duration."),0===e.length)return void t({code:o.ExportResultCode.SUCCESS});const n=e.map((e=>this._mapToZipkinSpan(e))),s=JSON.stringify(n);document.hidden&&this._beaconSender&&s.length<=64e3?this._beaconSender(this.beaconUrl,s):this._xhrSender&&this._xhrSender(this.beaconUrl,s,{Accept:"*/*","Content-Type":"text/plain;charset=UTF-8"}),t({code:o.ExportResultCode.SUCCESS})}shutdown(){return Promise.resolve()}_mapToZipkinSpan(e){const t=this._preTranslateSpan(e),r=(0,s.toZipkinSpan)(t,"browser",s.defaultStatusCodeTagName,s.defaultStatusErrorTagName);return this._postTranslateSpan(r)}_postTranslateSpan(e){delete e.localEndpoint,e.name=(0,c.limitLen)(e.name,4096);for(const[t,r]of Object.entries(e.tags))(0,a.hasToString)(r)&&(e.tags[t]=(0,c.limitLen)(r.toString(),4096));const t=1e3*performance.timeOrigin;return e.tags["http.url"]&&!e.tags["http.url"].startsWith(location.origin)&&e.timestamp>t&&e.annotations&&(e.annotations=e.annotations.filter((e=>{let{timestamp:r}=e;return r>t}))),e}_preTranslateSpan(e){return{attributes:this._onAttributesSerializing?this._onAttributesSerializing(e.attributes,e):e.attributes,droppedAttributesCount:e.droppedAttributesCount,droppedEventsCount:e.droppedEventsCount,droppedLinksCount:e.droppedLinksCount,duration:e.duration,ended:e.ended,endTime:e.endTime,events:e.events,instrumentationLibrary:e.instrumentationLibrary,kind:e.kind,links:e.links,name:e.name,parentSpanId:e.parentSpanId,resource:e.resource,spanContext:e.spanContext.bind(e),startTime:e.startTime,status:e.status}}constructor({beaconSender:e=u.NATIVE_BEACON_SENDER,onAttributesSerializing:t=u.NOOP_ATTRIBUTES_TRANSFORMER,url:r,xhrSender:i=u.NATIVE_XHR_SENDER}){n._(this,"beaconUrl",void 0),n._(this,"_beaconSender",void 0),n._(this,"_onAttributesSerializing",void 0),n._(this,"_xhrSender",void 0),this.beaconUrl=r,this._onAttributesSerializing=t,this._xhrSender=i,this._beaconSender=e}}},9592(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(5235)._(r(8594),t)},8594(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get isAllWhitespaceTextNode(){return o},get isNodeNotRecorded(){return s},get shouldSkipProcessingChildren(){return a}}),r(7490),r(8808);const n=r(8728),i=r(7034),o=e=>null!==e.textContent&&!/[^\t\n\r ]/.test(e.textContent),s=e=>{var t;if((0,n.isCommentNode)(e))return!0;if((0,n.isScriptOrNoScriptElement)(e))return!0;if((0,n.isTextNode)(e)&&(null===e.previousSibling||null===e.nextSibling)&&o(e))return!0;if((0,n.isLinkElement)(e)&&["manifest","preload","prefetch","modulepreload"].includes(null!==(t=e.getAttribute("rel"))&&void 0!==t?t:""))return!0;if((0,n.isMetaElement)(e)){var r,s;if(["content-security-policy","refresh"].includes((null!==(r=e.getAttribute("http-equiv"))&&void 0!==r?r:"").toLowerCase()))return!0;if(["facebook-domain-verification","apple-itunes-app","google-site-verification"].includes((null!==(s=e.getAttribute("name"))&&void 0!==s?s:"").toLowerCase()))return!0}return!(!(0,n.isLinkElement)(e)||!((0,i.isExtensionUrl)(e.href)||(0,i.isBlobUrl)(e.href)&&"stylesheet"!==e.rel))},a=e=>!!(0,n.isStyleElement)(e)||!!(0,n.isScriptOrNoScriptElement)(e)},4557(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get getGlobal(){return d},get registerGlobal(){return u},get unregisterGlobal(){return l}});const n=r(4299),i=r(2240),o=Symbol.for("opentelemetry.js.api.1"),s="splunk.rum",a="".concat(s,".version"),c=globalThis;function u(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!c[o])return n.diag.error("SplunkRum: Tried to access global before otel setup"),!1;const r=c[o];return r[a]||(r[a]=i.VERSION),r[a]!==i.VERSION?(n.diag.error("SplunkRum: Global: Multiple versions detected (".concat(i.VERSION," already registered)")),!1):!t&&r[s]?(n.diag.error("SplunkRum: Attempted duplicate registration of otel API ".concat(s)),!1):(r[s]=e,!0)}function l(){const e=c[o];return e?(e[a]&&e[a]!==i.VERSION&&n.diag.warn("SplunkRum version in OTel API ref (".concat(e[a],") didn't match our version (").concat(i.VERSION,").")),delete e[s],delete e[a],!0):(n.diag.warn("OTel API ref was missing while trying to unregister ".concat(s," or ").concat(a)),!1)}function d(){var e;return null===(e=c[o])||void 0===e?void 0:e[s]}},5460(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get INSTRUMENTATIONS_ALL_DISABLED(){return k},get SplunkRum(){return z},get SplunkZipkinExporter(){return p.SplunkZipkinExporter},get default(){return K}});const n=r(5235);r(4452),r(8298),r(9375),r(2260),r(4229),r(3076),r(8612),r(3871);const i=r(4299),o=r(2401),s=r(2903),a=r(9432),c=r(8418),u=r(900),l=r(1832),d=r(7542),p=r(5530),h=r(4557),f=r(1650),_=r(4715),E=n._(r(6475),t),g=r(8581),T=r(8585),S=r(1050),v=n._(r(3118),t),m=r(1554),y=r(558),O=r(6465),b=r(1037),A=r(8764),R=r(5252),w=r(3468),L=r(510),C=r(9491),N=r(2240),P=r(7861),I=r(5790),M=r(7034),D=r(7020),x={applicationName:"unknown-browser-app",beaconEndpoint:void 0,bufferSize:50,bufferTimeout:4e3,disableAutomationFrameworks:!1,disableBots:!1,exporter:{factory:e=>e.otlp?new d.SplunkOTLPTraceExporter(e):new p.SplunkZipkinExporter(e)},instrumentations:{},persistence:"cookie",rumAccessToken:void 0,sessionMetadata:void 0,spanProcessor:{factory:(e,t)=>new c.BatchSpanProcessor(e,t)}},U=[{confKey:"document",disable:!1,Instrument:f.SplunkDocumentLoadInstrumentation},{confKey:"xhr",disable:!1,Instrument:f.SplunkXhrInstrumentation},{confKey:"fetch",disable:!1,Instrument:f.SplunkFetchInstrumentation},{confKey:f.FRUSTRATION_SIGNALS_INSTRUMENTATION_NAME,disable:!1,Instrument:f.SplunkFrustrationSignalsInstrumentation},{confKey:"webvitals",disable:!1,Instrument:f.SplunkWebVitalsInstrumentation},{confKey:"interactions",disable:!1,Instrument:f.SplunkUserInteractionInstrumentation},{confKey:"postload",disable:!1,Instrument:f.SplunkPostDocLoadResourceInstrumentation},{confKey:"websocket",disable:!0,Instrument:f.SplunkWebSocketInstrumentation},{confKey:"longtask",disable:!1,Instrument:f.SplunkLongTaskInstrumentation},{confKey:f.ERROR_INSTRUMENTATION_NAME,disable:!1,Instrument:f.SplunkErrorInstrumentation},{confKey:"visibility",disable:!0,Instrument:f.SplunkPageVisibilityInstrumentation},{confKey:"connectivity",disable:!0,Instrument:f.SplunkConnectivityInstrumentation},{confKey:"socketio",disable:!0,Instrument:f.SplunkSocketIoClientInstrumentation}],k=U.map((e=>e.confKey)).reduce(((e,t)=>(e[t]=!1,e)),{webvitals:!1});let j,V,B,H,G,F,Y=!1;const X=(0,A.isAgentLoadedViaLatestTag)(),W=(0,A.isAgentLoadedViaNextTag)(),z={_internalInit:function(e){z.init({...x,...e})},_processedOptions:null,addEventListener(e,t){null==G||G.addEventListener(e,t)},AlwaysOffSampler:c.AlwaysOffSampler,AlwaysOnSampler:c.AlwaysOnSampler,DEFAULT_AUTO_INSTRUMENTED_EVENT_NAMES:f.DEFAULT_AUTO_INSTRUMENTED_EVENT_NAMES,DEFAULT_AUTO_INSTRUMENTED_EVENTS:f.DEFAULT_AUTO_INSTRUMENTED_EVENTS,deinit(){if(Y||arguments.length>0&&void 0!==arguments[0]&&arguments[0])try{var e,t,r,n;null==j||j(),j=void 0,null==V||V(),V=void 0,null==F||F(),null===(e=this.sessionManager)||void 0===e||e.stop(),null===(t=this.provider)||void 0===t||t.shutdown(),delete this.provider,null===(r=this._spanEmitter)||void 0===r||r.shutdown(),delete this._spanEmitter,G=void 0,(0,h.unregisterGlobal)(),null===(n=this.userManager)||void 0===n||n.forgetAnonymousId()}catch(e){i.diag.warn("[Splunk]: SplunkRum.deinit() encountered an error during cleanup.",{error:e})}finally{Y=!1,i.diag.disable()}},getAnonymousId(){var e;return null===(e=this.userManager)||void 0===e?void 0:e.getAnonymousIdIfEnabled()},getGlobalAttributes(){var e;return(null===(e=this.attributesProcessor)||void 0===e?void 0:e.getGlobalAttributes())||{}},getSessionId(){if(Y)try{var e;return null===(e=this.sessionManager)||void 0===e?void 0:e.getSessionId()}catch(e){i.diag.warn("[Splunk]: SplunkRum.getSessionId() encountered an error while trying to get session ID.",{error:e})}},getSessionMetadata(){if(!Y||!this.sessionManager)return null;const e=this.sessionManager.getSessionMetadata();if(!e)return null;const t={...e},r=this.getAnonymousId();return r&&(t.anonymousUserId=r),t},getSessionState(){if(Y)try{var e;return null===(e=this.sessionManager)||void 0===e?void 0:e.getSessionState()}catch(e){i.diag.warn("[Splunk]: SplunkRum.getSessionState() encountered an error while trying to get session state.",{error:e})}},init:function(e){var t,r;const n=null!==(t=null===(r=e.user)||void 0===r?void 0:r.trackingMode)&&void 0!==t?t:"anonymousTracking";var d,p;if("object"==typeof window)if("OTEL_TRACES_EXPORTER"in o._globalThis||(o._globalThis.OTEL_TRACES_EXPORTER="none"),Y)i.diag.warn("[Splunk]: SplunkRum.init() - already initialized.");else try{var E,b,A,k;if(i.diag.setLogger(new i.DiagConsoleLogger,(null!==(E=null==e?void 0:e.debug)&&void 0!==E?E:(0,D.isDebugMode)())?i.DiagLogLevel.DEBUG:i.DiagLogLevel.WARN),X){const{majorVersion:e}=(0,w.parseVersion)(N.VERSION),t="https://cdn.observability.splunkcloud.com/o11y-gdi-rum";i.diag.warn('[Splunk]: The "latest" CDN tag is deprecated and will remain pinned to v2.5.x — it will not receive new features or major updates. Please migrate to a versioned URL on the new CDN domain:\n'+"  - Major version lock (recommended): ".concat(t,"/").concat(e,"/splunk-otel-web.js\n\n")+"The CDN domain is also changing from cdn.signalfx.com to cdn.observability.splunkcloud.com. If your application uses a Content Security Policy (CSP), update your script-src directive to allow the new domain.\n\nSee: https://quickdraw.splunk.com/redirect/?location=rum.browser.cdn&product=Observability&version=current")}if(!(0,h.registerGlobal)(this))return;if("function"!=typeof Symbol)return void i.diag.warn("[Splunk]: SplunkRum.init() - browser not supported, disabling instrumentation.");if(e.disableBots&&(0,R.isBot)(navigator.userAgent))return this.disabledByBotDetection=!0,void i.diag.warn("[Splunk]: SplunkRum.init() - will not be initialized, bots are not allowed.");if(e.disableAutomationFrameworks&&navigator.webdriver)return this.disabledByAutomationFrameworkDetection=!0,void i.diag.warn("[Splunk]: SplunkRum.init() - will not be initialized, automation frameworks are not allowed.");G=new l.InternalEventTarget;const t=Object.assign({},x,e,{exporter:Object.assign({},x.exporter,e.exporter)});if(!t.persistence||t.persistence&&!(0,y.isPersistenceType)(t.persistence))return void i.diag.error('[Splunk]: SplunkRum.init() - Invalid persistence flag: The value for "persistence" must be either "cookie", "localStorage", or omitted entirely, but was: '.concat(t.persistence));if(this._processedOptions=t,(0,L.isPickerWindow)()){const e=()=>{try{(0,L.createPicker)({getElementText:e=>(0,M.getTextFromNode)(e,(e=>!P.PrivacyManager.shouldMaskTextNode(e,t.privacy))),getElementXPath:e=>(0,M.getElementXPath)(e,!0)})}catch(e){i.diag.error("[Splunk]: SplunkSessionRecorder.init() - Failed to initialize picker.",{error:e})}};return void("loading"===document.readyState?window.addEventListener("DOMContentLoaded",e,{once:!0}):e())}if(t.realm&&(t.beaconEndpoint?i.diag.warn("[Splunk]: SplunkRum.init() - Realm value ignored (beaconEndpoint has been specified)"):t.beaconEndpoint=(null===(p=(d=t).exporter)||void 0===p?void 0:p.otlp)?"https://rum-ingest.".concat(d.realm,".signalfx.com/v1/rumotlp"):"https://rum-ingest.".concat(d.realm,".signalfx.com/v1/rum")),!t.debug){if(!t.beaconEndpoint)return void i.diag.error("[Splunk]: SplunkRum.init() - beaconEndpoint is required. SplunkRum will not be initialized.");if(!t.beaconEndpoint.startsWith("https")&&!t.allowInsecureBeacon)return void i.diag.error("[Splunk]: SplunkRum.init() - beaconEndpoint not using https is unsafe, if you want to force it use allowInsecureBeacon option. SplunkRum will not be initialized.");t.rumAccessToken||i.diag.warn("[Splunk]: SplunkRum.init() - rumAccessToken will be required in the future")}const r=(0,O.generateId)(64),{applicationName:V,deploymentEnvironment:z,ignoreUrls:K,version:q}=t,J={enabled:!1,ignoreUrls:K},$={...o.SDK_INFO,app:V,[u.SemanticResourceAttributes.TELEMETRY_SDK_NAME]:"@splunk/otel-web",[u.SemanticResourceAttributes.TELEMETRY_SDK_VERSION]:N.VERSION,"splunk.rumVersion":N.VERSION,"splunk.scriptInstance":r};_.BrowserInstanceService.id&&($["browser.instance.id"]=_.BrowserInstanceService.id);const Q=(0,m.getSyntheticsRunId)();Q&&($[m.SYNTHETICS_RUN_ID_ATTRIBUTE]=Q),W&&"string"==typeof __COMMIT_HASH__&&__COMMIT_HASH__&&($["splunk.rumVersionFull"]=__COMMIT_HASH__);const Z=new P.StorageManager({domain:t.cookieDomain,persistence:t.persistence});let ee;this.resource=new a.Resource($),t.sessionMetadata&&(0,I.isValidExternalSessionMetadata)(t.sessionMetadata)&&(ee=t.sessionMetadata),this.sessionManager=new P.SessionManager(Z,ee,t._experimental_adjustSessionStartToTimeOrigin),this.userManager=new P.UserManager(n,Z,null==ee?void 0:ee.anonymousUserId),F=this.sessionManager.subscribe((e=>{let{currentState:t,previousState:r}=e;t.isNew&&"external"!==t.source&&re.getTracer("splunk-sessions").startSpan("session.start",{startTime:t.startTime}).end(t.startTime),r?r.id!==t.id&&(null==G||G.emit("session-changed",{sessionId:t.id})):null==G||G.emit("session-changed",{sessionId:t.id})})),this.attributesProcessor=new g.SpanAttributesProcessor(this.sessionManager,this.userManager,{...z?{"deployment.environment":z,environment:z}:{},...q?{"app.version":q}:{},...X?{"splunk.rum.is_latest_tag":!0}:{},...t.globalAttributes},t._experimental_discardDataAfterInactivity,t._experimental_adjustSessionStartToTimeOrigin),this._spanEmitter=new g.SpanEmitterProcessor,t.spanEmitter=this._spanEmitter;const te=[this.attributesProcessor,this._spanEmitter];if(t.beaconEndpoint){const e=function(e){const t=e.beaconEndpoint+(e.rumAccessToken?"?auth="+e.rumAccessToken:"");return e.exporter.factory({onAttributesSerializing:e.exporter.onAttributesSerializing,otlp:e.exporter.otlp,url:t})}(t),r=t.spanProcessor.factory(e,{maxExportBatchSize:t.bufferSize,scheduledDelayMillis:t.bufferTimeout});te.push(r),this._processor=r}t.debug&&te.push(new c.SimpleSpanProcessor(new c.ConsoleSpanExporter)),e.spanProcessors&&te.push(...e.spanProcessors);const re=new v.SplunkWebTracerProvider({...t.tracer,resource:this.resource,sampler:new S.SplunkSamplerWrapper({decider:null!==(b=null===(A=t.tracer)||void 0===A?void 0:A.sampler)&&void 0!==b?b:new c.AlwaysOnSampler}),spanProcessors:te});this.sessionManager.start();const ne=U.map((e=>{let{confKey:r,disable:n,Instrument:i}=e;const o=(0,O.getPluginConfig)(t.instrumentations[r],J,n);if(o){const e=new i(o,t,this.sessionManager);return r===f.ERROR_INSTRUMENTATION_NAME&&e instanceof f.SplunkErrorInstrumentation&&(B=e),"postload"===r&&e instanceof f.SplunkPostDocLoadResourceInstrumentation&&(H=e),e}return null})).filter((e=>Boolean(e)));window.addEventListener("visibilitychange",(()=>{var e;"hidden"===document.visibilityState&&(null===(e=this._processor)||void 0===e||e.forceFlush())})),re.register({contextManager:new T.SplunkContextManager({...t.context,onBeforeContextEnd:()=>null==H?void 0:H.onBeforeContextChange(),onBeforeContextStart:()=>null==H?void 0:H.onBeforeContextChange()})}),j=(0,s.registerInstrumentations)({instrumentations:ne,tracerProvider:re}),null===(k=this._spanEmitter)||void 0===k||k.enable(),this.provider=re;const ie=(0,C.getBasicPlatformInfo)();this.setGlobalAttributes(ie),Y=!0,i.diag.info("SplunkRum.init() complete"),(0,C.getEnhancedPlatformInfo)().then((e=>{this.setGlobalAttributes(e),i.diag.debug("[Splunk]: Enhanced platform attributes updated")}))}catch(e){i.diag.warn("[Splunk]: SplunkRum.init() - Failed to initialize due to internal exception.",{error:e})}else console.warn("[Splunk]: SplunkRum.init() - Error: This library is intended to run in a browser environment. Please ensure the code is evaluated within a browser context.")},get inited(){return Y},ParentBasedSampler:c.ParentBasedSampler,removeEventListener(e,t){try{null==G||G.removeEventListener(e,t)}catch(e){i.diag.warn("[Splunk]: SplunkRum.removeEventListener() encountered an error while trying to remove event listener.",{error:e})}},async reportError(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Y)if(B)if(e)if(B.isValidErrorArg(e))try{const r=(0,b.getValidAttributes)(t);await B.report("SplunkRum.reportError",e,r)}catch(e){i.diag.warn("[Splunk]: SplunkRum.reportError() - Failed to report error due to internal exception.",{error:e})}else i.diag.warn("[Splunk]: SplunkRum.reportError() - Invalid error argument type. Expected string, Error, ErrorEvent, or Event object. Error will not be reported.");else i.diag.warn("[Splunk]: SplunkRum.reportError() - Called with empty or null error argument. Provide a valid error to report.");else i.diag.warn("[Splunk]: SplunkRum.reportError() - Error instrumentation is disabled. Enable it in configuration to report errors.");else i.diag.warn("[Splunk]: SplunkRum.reportError() - Splunk RUM agent is not initialized. Call SplunkRum.init() first. Error will not be reported.")},SessionBasedSampler:E.SessionBasedSampler,setGlobalAttributes(e){try{var t,r;null===(t=this.attributesProcessor)||void 0===t||t.setGlobalAttributes(e),null==G||G.emit("global-attributes-changed",{attributes:(null===(r=this.attributesProcessor)||void 0===r?void 0:r.getGlobalAttributes())||{}})}catch(e){i.diag.warn("[Splunk]: SplunkRum.setGlobalAttributes() - Failed to set global attributes due to internal error. Check attribute format and values.",{error:e})}},setUserTrackingMode(e){Y&&this.userManager?P.UserManager.isUserTrackingMode(e)?this.userManager.userTrackingMode=e:i.diag.warn("[Splunk]: SplunkRum.setUserTrackingMode() - Invalid user tracking mode: ".concat(e,". Valid modes are 'noTracking' and 'anonymousTracking'. User tracking mode will not be set.")):i.diag.warn("[Splunk]: SplunkRum.setUserTrackingMode() - Splunk RUM agent is not initialized. Call SplunkRum.init() first. User tracking mode will not be set.")},get userTrackingMode(){return Y&&this.userManager?this.userManager.userTrackingMode:(i.diag.warn("[Splunk]: SplunkRum.userTrackingMode - Splunk RUM agent is not initialized. Call SplunkRum.init() first."),"anonymousTracking")}},K=z},7550(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"DeadClickDetector",{enumerable:!0,get:function(){return a}});const n=r(4609);r(3076),r(4229),r(4452),r(8612);const i=r(2401),o=r(558),s={ignoreUrls:[],timeWindowMs:1e3};class a{static create(e,t){const r=a.resolveConfig(t);if(r)return new a(e,t,r)}disable(){var e,t,r,n;this.domContentLoadedListener&&(document.removeEventListener("DOMContentLoaded",this.domContentLoadedListener),this.domContentLoadedListener=void 0),this.clickSpanEmitterListener&&(null===(t=this.otelConfig.spanEmitter)||void 0===t||t.removeEventListener("user-interaction",this.clickSpanEmitterListener),this.clickSpanEmitterListener=void 0),this.fetchSpanEmitterListener&&(null===(r=this.otelConfig.spanEmitter)||void 0===r||r.removeEventListener("fetch:start",this.fetchSpanEmitterListener),this.fetchSpanEmitterListener=void 0),this.xhrSpanEmitterListener&&(null===(n=this.otelConfig.spanEmitter)||void 0===n||n.removeEventListener("xml-http-request:start",this.xhrSpanEmitterListener),this.xhrSpanEmitterListener=void 0),null===(e=this.mutationObserver)||void 0===e||e.disconnect(),this.mutationObserver=void 0;for(const e of this.pendingClicks)clearTimeout(e.timer);this.pendingClicks=[],this.processedClickTraceIds.clear(),this.recentNetworkStartTimes=[],this.lastMutationTime=-1/0}enable(){var e,t,r;if(this.clickSpanEmitterListener)return;this.mutationObserver=new MutationObserver((()=>{this.lastMutationTime=performance.now()}));const n=()=>{var e;this.domContentLoadedListener=void 0;const t=null!==(e=document.body)&&void 0!==e?e:document.documentElement;var r;t&&(null===(r=this.mutationObserver)||void 0===r||r.observe(t,{attributes:!0,characterData:!0,childList:!0,subtree:!0}))};document.body?n():(this.domContentLoadedListener=n,document.addEventListener("DOMContentLoaded",n,{once:!0})),this.clickSpanEmitterListener=e=>{this.onClickSpan(e)},null===(e=this.otelConfig.spanEmitter)||void 0===e||e.addEventListener("user-interaction",this.clickSpanEmitterListener),this.fetchSpanEmitterListener=e=>{this.onNetworkSpan(e)},null===(t=this.otelConfig.spanEmitter)||void 0===t||t.addEventListener("fetch:start",this.fetchSpanEmitterListener),this.xhrSpanEmitterListener=e=>{this.onNetworkSpan(e)},null===(r=this.otelConfig.spanEmitter)||void 0===r||r.addEventListener("xml-http-request:start",this.xhrSpanEmitterListener)}static normalizeConfig(e){if(!0===e)return s;const t="number"==typeof e.timeWindowMs&&e.timeWindowMs>0?e.timeWindowMs:s.timeWindowMs;return{ignoreUrls:Array.isArray(e.ignoreUrls)?e.ignoreUrls:s.ignoreUrls,timeWindowMs:t}}static resolveConfig(e){var t;const r=null===(t=e.instrumentations)||void 0===t?void 0:t.frustrationSignals;if(r&&"object"==typeof r){const e=r.deadClick;if("object"==typeof e||!0===e)return a.normalizeConfig(e)}}emitFrustrationSpan(e){const t=e.span,r=[{context:t.spanContext()}],n=this.tracer.startSpan("frustration",{links:r,startTime:e.startTimeMs});n.setAttribute("frustration_type","dead"),n.setAttribute("interaction_type","click"),n.setAttribute("component","user-interaction");const i=t.attributes.target_xpath;(0,o.isString)(i)&&n.setAttribute("target_xpath",i);const s=t.attributes.target_text;(0,o.isString)(s)&&n.setAttribute("target_text",s);for(const[e,r]of Object.entries(t.attributes))e.startsWith("data.")&&n.setAttribute(e,r);n.setAttribute("click.span_id",t.spanContext().spanId),n.end(e.endTimeMs)}evaluateClick(e){const t=this.pendingClicks.indexOf(e);-1!==t&&this.pendingClicks.splice(t,1);const r=this.lastMutationTime>e.registeredAt;e.networkDetected||r||this.emitFrustrationSpan(e)}hasRecentNetworkForClick(e){for(const t of this.recentNetworkStartTimes)if(this.isNetworkInClickWindow(t,e))return!0;return!1}isInteractiveElement(e){return!0===e.attributes.target_interactive}isNetworkInClickWindow(e,t){return e>=t-100&&e<=t+this.config.timeWindowMs}onClickSpan(e){if("click"!==e.attributes.event_type)return;if((0,i.isUrlIgnored)(window.location.href,this.config.ignoreUrls))return;if(!this.isInteractiveElement(e))return;const t=(0,i.hrTimeToMilliseconds)(e.startTime),r=(0,i.hrTimeToMilliseconds)(e.endTime),n=e.spanContext().traceId;if(this.pruneProcessedClickTraceIds(t),this.processedClickTraceIds.has(n))return;this.processedClickTraceIds.set(n,t),this.pruneRecentNetworkStarts(t);const o={endTimeMs:r,networkDetected:this.hasRecentNetworkForClick(t),registeredAt:performance.now(),span:e,startTimeMs:t,timer:setTimeout((()=>{this.evaluateClick(o)}),this.config.timeWindowMs)};this.pendingClicks.push(o)}onNetworkSpan(e){const t=(0,i.hrTimeToMilliseconds)(e.startTime);this.pruneRecentNetworkStarts(t),this.recentNetworkStartTimes.push(t);for(const e of this.pendingClicks)this.isNetworkInClickWindow(t,e.startTimeMs)&&(e.networkDetected=!0)}pruneProcessedClickTraceIds(e){const t=e-this.config.timeWindowMs;for(const[e,r]of this.processedClickTraceIds.entries())r<t&&this.processedClickTraceIds.delete(e)}pruneRecentNetworkStarts(e){const t=e-this.config.timeWindowMs-100;this.recentNetworkStartTimes=this.recentNetworkStartTimes.filter((e=>e>=t))}constructor(e,t,r){n._(this,"tracer",void 0),n._(this,"otelConfig",void 0),n._(this,"config",void 0),n._(this,"clickSpanEmitterListener",void 0),n._(this,"domContentLoadedListener",void 0),n._(this,"fetchSpanEmitterListener",void 0),n._(this,"lastMutationTime",void 0),n._(this,"mutationObserver",void 0),n._(this,"pendingClicks",void 0),n._(this,"processedClickTraceIds",void 0),n._(this,"recentNetworkStartTimes",void 0),n._(this,"xhrSpanEmitterListener",void 0),this.tracer=e,this.otelConfig=t,this.config=r,this.lastMutationTime=-1/0,this.pendingClicks=[],this.processedClickTraceIds=new Map,this.recentNetworkStartTimes=[]}}},9892(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ErrorClickDetector",{enumerable:!0,get:function(){return a}});const n=r(4609);r(3076),r(4229),r(4452),r(8612);const i=r(2401),o=r(558),s={ignoreUrls:[],timeWindowMs:1e3};class a{static create(e,t){const r=a.resolveConfig(t);if(r)return new a(e,t,r)}disable(){var e,t;this.clickSpanEmitterListener&&(null===(e=this.otelConfig.spanEmitter)||void 0===e||e.removeEventListener("user-interaction",this.clickSpanEmitterListener),this.clickSpanEmitterListener=void 0),this.errorSpanEmitterListener&&(null===(t=this.otelConfig.spanEmitter)||void 0===t||t.removeEventListener("error",this.errorSpanEmitterListener),this.errorSpanEmitterListener=void 0),this.recentClicks=[]}enable(){var e,t;this.clickSpanEmitterListener||(this.clickSpanEmitterListener=e=>{this.onClickSpan(e)},null===(e=this.otelConfig.spanEmitter)||void 0===e||e.addEventListener("user-interaction",this.clickSpanEmitterListener),this.errorSpanEmitterListener=e=>{this.onErrorSpan(e)},null===(t=this.otelConfig.spanEmitter)||void 0===t||t.addEventListener("error",this.errorSpanEmitterListener))}static normalizeConfig(e){if(!0===e)return s;const t="number"==typeof e.timeWindowMs&&e.timeWindowMs>0?e.timeWindowMs:s.timeWindowMs;return{ignoreUrls:Array.isArray(e.ignoreUrls)?e.ignoreUrls:s.ignoreUrls,timeWindowMs:t}}static resolveConfig(e){var t;const r=null===(t=e.instrumentations)||void 0===t?void 0:t.frustrationSignals;if(r&&"object"==typeof r){const e=r.errorClick;if("object"==typeof e||!0===e)return a.normalizeConfig(e)}}emitFrustrationSpan(e,t){const r=e.span,n=[{context:t.spanContext()},{context:r.spanContext()}],i=this.tracer.startSpan("frustration",{links:n,startTime:e.startTimeMs});i.setAttribute("frustration_type","error"),i.setAttribute("interaction_type","click"),i.setAttribute("component","user-interaction");const s=r.attributes.target_xpath;(0,o.isString)(s)&&i.setAttribute("target_xpath",s);const a=r.attributes.target_text;(0,o.isString)(a)&&i.setAttribute("target_text",a);for(const[e,t]of Object.entries(r.attributes))e.startsWith("data.")&&i.setAttribute(e,t);const c=t.attributes["error.message"];(0,o.isString)(c)&&i.setAttribute("error.message",c);const u=t.attributes["error.object"];(0,o.isString)(u)&&i.setAttribute("error.object",u),i.setAttribute("error.source",t.name),i.setAttribute("error.span_id",t.spanContext().spanId),i.setAttribute("click.span_id",r.spanContext().spanId),i.end(e.endTimeMs)}onClickSpan(e){if("click"!==e.attributes.event_type)return;const t=(0,i.hrTimeToMilliseconds)(e.startTime),r=(0,i.hrTimeToMilliseconds)(e.endTime);this.pruneOldClicks(t),this.recentClicks.push({consumed:!1,endTimeMs:r,span:e,startTimeMs:t})}onErrorSpan(e){if((0,i.isUrlIgnored)(window.location.href,this.config.ignoreUrls))return;const t=(0,i.hrTimeToMilliseconds)(e.endTime);this.pruneOldClicks(t);for(let r=this.recentClicks.length-1;r>=0;r--){const n=this.recentClicks[r];if(!(n.consumed||t-n.startTimeMs>this.config.timeWindowMs))return this.emitFrustrationSpan(n,e),void(n.consumed=!0)}}pruneOldClicks(e){this.recentClicks=this.recentClicks.filter((t=>e-t.startTimeMs<=this.config.timeWindowMs))}constructor(e,t,r){n._(this,"tracer",void 0),n._(this,"otelConfig",void 0),n._(this,"config",void 0),n._(this,"clickSpanEmitterListener",void 0),n._(this,"errorSpanEmitterListener",void 0),n._(this,"recentClicks",void 0),this.tracer=e,this.otelConfig=t,this.config=r,this.recentClicks=[]}}},7878(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get angleDifference(){return s},get calculateAngle(){return o},get distance(){return i}}),r(3210);const n=180/Math.PI;function i(e,t,r,n){return Math.hypot(r-e,n-t)}function o(e,t,r,i){const o=Math.atan2(i-t,r-e)*n;return o>=0?o:o+360}function s(e,t){const r=Math.abs(e-t);return r>180?360-r:r}},1219(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RageClickDetector",{enumerable:!0,get:function(){return a}});const n=r(4609);r(3076),r(4452),r(8612),r(4229),r(4354);const i=r(7861),o=r(558),s=r(7034);class a{static create(e,t){const r=a.resolveConfig(t);if(r)return new a(e,t,r)}disable(){this.clickTimesByNode=new WeakMap,this.listener&&(document.removeEventListener("click",this.listener,!0),this.listener=void 0)}enable(){this.listener||(this.listener=e=>{const t=e.target;t&&(0,o.isNode)(t)&&this.processRageClick(t)},document.addEventListener("click",this.listener,!0))}static normalizeConfig(e){if(!0===e)return{count:4,ignoreSelectors:[],timeframeMs:1e3};const t="number"==typeof e.count&&e.count>0?Math.floor(e.count):4,r="number"==typeof e.timeframeSeconds&&e.timeframeSeconds>0?e.timeframeSeconds:1;return{count:t,ignoreSelectors:Array.isArray(e.ignoreSelectors)?e.ignoreSelectors:[],timeframeMs:1e3*r}}static resolveConfig(e){var t,r;const n=null!==(t=null===(r=e.instrumentations)||void 0===r?void 0:r.frustrationSignals)&&void 0!==t?t:{rageClick:!0};if(n&&"object"==typeof n){const e=n.rageClick;if("object"==typeof e||!0===e)return a.normalizeConfig(e)}}processRageClick(e){const t=performance.now();let r=this.clickTimesByNode.get(e)||[];if(r=r.filter((e=>t-e<this.config.timeframeMs)),r.push(t),r.length>=this.config.count&&(r=[],!(0,o.isElement)(e)||!this.config.ignoreSelectors.some((t=>e.matches(t))))){const t=Date.now(),r=this.tracer.startSpan("frustration",{startTime:t});r.setAttribute("frustration_type","rage"),r.setAttribute("interaction_type","click"),r.setAttribute("component","user-interaction"),r.setAttribute("target_xpath",(0,s.getElementXPath)(e,!0));const n=(0,s.getTextFromNode)(e,(e=>!i.PrivacyManager.shouldMaskTextNode(e,this.otelConfig.privacy)));r.setAttribute("target_text",n||"<".concat(e.nodeName.toLowerCase(),">")),(0,s.captureElementDataAttributes)(r,e,this.otelConfig._experimental_dataAttributesToCapture),r.end(t)}this.clickTimesByNode.set(e,r)}constructor(e,t,r){n._(this,"tracer",void 0),n._(this,"otelConfig",void 0),n._(this,"config",void 0),n._(this,"clickTimesByNode",void 0),n._(this,"listener",void 0),this.tracer=e,this.otelConfig=t,this.config=r,this.clickTimesByNode=new WeakMap}}},8013(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ThrashedCursorDetector",{enumerable:!0,get:function(){return a}});const n=r(4609),i=r(2401),o=r(7878),s={ignoreUrls:[],maxConfinedAreaSize:200,maxVelocity:5e3,minAverageVelocity:300,minDirectionChangeDegrees:45,minDirectionChanges:4,minMovementDistance:5,minTotalDistance:300,scoreWeightConfinedArea:.3,scoreWeightDirectionChanges:.4,scoreWeightVelocity:.3,thrashingScoreThreshold:.65,throttleMs:16,timeWindowMs:2e3};class a{static create(e,t){const r=a.resolveConfig(t);if(r)return new a(e,t,r)}disable(){this.listener&&(document.removeEventListener("mousemove",this.listener,!0),this.listener=void 0),this.resetState()}enable(){this.listener||(this.cachedDeadZone=this.config.minMovementDistance*(window.devicePixelRatio||1),this.initRingBuffer(),this.listener=e=>{this.handleMouseMove(e)},document.addEventListener("mousemove",this.listener,!0))}static normalizeConfig(e){return!0===e?{...s}:{ignoreUrls:Array.isArray(e.ignoreUrls)?e.ignoreUrls:s.ignoreUrls,maxConfinedAreaSize:c(e.maxConfinedAreaSize,s.maxConfinedAreaSize),maxVelocity:c(e.maxVelocity,s.maxVelocity),minAverageVelocity:c(e.minAverageVelocity,s.minAverageVelocity),minDirectionChangeDegrees:c(e.minDirectionChangeDegrees,s.minDirectionChangeDegrees),minDirectionChanges:c(e.minDirectionChanges,s.minDirectionChanges),minMovementDistance:c(e.minMovementDistance,s.minMovementDistance),minTotalDistance:c(e.minTotalDistance,s.minTotalDistance),scoreWeightConfinedArea:c(e.scoreWeightConfinedArea,s.scoreWeightConfinedArea),scoreWeightDirectionChanges:c(e.scoreWeightDirectionChanges,s.scoreWeightDirectionChanges),scoreWeightVelocity:c(e.scoreWeightVelocity,s.scoreWeightVelocity),thrashingScoreThreshold:c(e.thrashingScoreThreshold,s.thrashingScoreThreshold),throttleMs:c(e.throttleMs,s.throttleMs,16),timeWindowMs:c(e.timeWindowMs,s.timeWindowMs)}}static resolveConfig(e){var t;const r=null===(t=e.instrumentations)||void 0===t?void 0:t.frustrationSignals;if(r&&"object"==typeof r){const e=r.thrashedCursor;if("object"==typeof e||!0===e)return a.normalizeConfig(e)}}addSample(e,t,r){const n=this.ringBuffer[this.writeIndex];n.x=e,n.y=t,n.timestamp=r,this.writeIndex=(this.writeIndex+1)%this.bufferCapacity,this.sampleCount<this.bufferCapacity&&(this.sampleCount+=1)}analyzeThrashing(e){if(this.sampleCount<3)return this.setAnalysisResult(!1,void 0);if(e-this.lastThrashingTime<this.config.timeWindowMs)return this.setAnalysisResult(!1,void 0);if(this.calculateMetrics(e),this.metricsResult.sampleCount<3)return this.setAnalysisResult(!1,void 0);if(this.metricsResult.totalDistance<this.config.minTotalDistance)return this.setAnalysisResult(!1,void 0);if(this.metricsResult.averageVelocity<this.config.minAverageVelocity)return this.setAnalysisResult(!1,void 0);if(this.metricsResult.directionChanges<this.config.minDirectionChanges)return this.setAnalysisResult(!1,void 0);const t=this.calculateThrashingScore();return t>=this.config.thrashingScoreThreshold?this.setAnalysisResult(!0,t):this.setAnalysisResult(!1,t)}calculateMetrics(e){const t=e-this.config.timeWindowMs;let r=0,n=0,i=-1,s=0,a=0,c=0,u=0,l=0,d=1/0,p=-1/0,h=1/0,f=-1/0,_=0,E=0,g=0;for(let e=0;e<this.sampleCount;e+=1){const T=this.ringBuffer[this.getSampleIndex(e)];if(T.timestamp<t)continue;if(c+=1,T.x<d&&(d=T.x),T.x>p&&(p=T.x),T.y<h&&(h=T.y),T.y>f&&(f=T.y),1===c){u=T.timestamp,l=T.timestamp,_=T.x,E=T.y,g=T.timestamp;continue}l=T.timestamp;const S=(0,o.distance)(_,E,T.x,T.y);r+=S;const v=(T.timestamp-g)/1e3;if(v>0&&(s+=S/v,a+=1),S>this.cachedDeadZone){const e=(0,o.calculateAngle)(_,E,T.x,T.y);i>=0&&(0,o.angleDifference)(i,e)>=this.config.minDirectionChangeDegrees&&(n+=1),i=e}_=T.x,E=T.y,g=T.timestamp}const T=l-u;this.metricsResult.sampleCount=c,this.metricsResult.totalDistance=r,this.metricsResult.directionChanges=n,this.metricsResult.averageVelocity=a>0?s/a:0,this.metricsResult.duration=T,this.metricsResult.directionChangesPerSecond=T>0?n/T*1e3:0,c>0?(this.boundingBoxResult.minX=d,this.boundingBoxResult.maxX=p,this.boundingBoxResult.minY=h,this.boundingBoxResult.maxY=f,this.boundingBoxResult.width=p-d,this.boundingBoxResult.height=f-h,this.boundingBoxResult.size=Math.max(p-d,f-h)):(this.boundingBoxResult.minX=0,this.boundingBoxResult.maxX=0,this.boundingBoxResult.minY=0,this.boundingBoxResult.maxY=0,this.boundingBoxResult.width=0,this.boundingBoxResult.height=0,this.boundingBoxResult.size=0)}calculateThrashingScore(){let e=0;return e+=Math.min(this.metricsResult.directionChanges/(2*this.config.minDirectionChanges),1)*this.config.scoreWeightDirectionChanges,e+=Math.max(0,Math.min((this.metricsResult.averageVelocity-this.config.minAverageVelocity)/this.config.minAverageVelocity,1))*this.config.scoreWeightVelocity,e+=1/(1+((this.metricsResult.boundingBox.size||0)/this.config.maxConfinedAreaSize)**2)*this.config.scoreWeightConfinedArea,Math.min(e,1)}getSampleIndex(e){return this.sampleCount<this.bufferCapacity?e:(this.writeIndex+e)%this.bufferCapacity}handleMouseMove(e){const t=performance.now();if(this.config.throttleMs>0&&t-this.lastSampleTime<this.config.throttleMs)return;this.lastSampleTime=t;const r=e.clientX,n=e.clientY;if(this.hasLastMouse&&this.sampleCount>0){const e=(this.writeIndex-1+this.bufferCapacity)%this.bufferCapacity,i=(0,o.distance)(this.lastMouseX,this.lastMouseY,r,n),s=(t-this.ringBuffer[e].timestamp)/1e3;if(s>0&&i/s>this.config.maxVelocity)return this.lastMouseX=r,void(this.lastMouseY=n)}this.addSample(r,n,t),this.lastMouseX=r,this.lastMouseY=n,this.hasLastMouse=!0;const i=this.analyzeThrashing(t);i.isThrashing&&this.onThrashingDetected(i,t)}initRingBuffer(){this.ringBuffer=Array.from({length:this.bufferCapacity},(()=>({timestamp:0,x:0,y:0}))),this.sampleCount=0,this.writeIndex=0}onThrashingDetected(e,t){if(this.lastThrashingTime=t,(0,i.isUrlIgnored)(window.location.href,this.config.ignoreUrls))return;const r=Date.now(),n=r-this.metricsResult.duration,o=this.tracer.startSpan("frustration",{startTime:n});o.setAttribute("frustration_type","thrash"),o.setAttribute("interaction_type","cursor"),o.setAttribute("component","user-interaction"),o.setAttribute("thrashing_score",e.thrashingScore),o.end(r)}resetState(){this.sampleCount=0,this.writeIndex=0,this.lastMouseX=0,this.lastMouseY=0,this.hasLastMouse=!1,this.lastSampleTime=0,this.lastThrashingTime=-1/0,this.cachedDeadZone=0}setAnalysisResult(e,t){return this.analysisResult.isThrashing=e,this.analysisResult.thrashingScore=t,this.analysisResult}constructor(e,t,r){n._(this,"tracer",void 0),n._(this,"otelConfig",void 0),n._(this,"config",void 0),n._(this,"analysisResult",void 0),n._(this,"boundingBoxResult",void 0),n._(this,"bufferCapacity",void 0),n._(this,"cachedDeadZone",void 0),n._(this,"hasLastMouse",void 0),n._(this,"lastMouseX",void 0),n._(this,"lastMouseY",void 0),n._(this,"lastSampleTime",void 0),n._(this,"lastThrashingTime",void 0),n._(this,"listener",void 0),n._(this,"metricsResult",void 0),n._(this,"ringBuffer",void 0),n._(this,"sampleCount",void 0),n._(this,"writeIndex",void 0),this.tracer=e,this.otelConfig=t,this.config=r,this.analysisResult={isThrashing:!1,thrashingScore:void 0},this.boundingBoxResult={height:0,maxX:0,maxY:0,minX:0,minY:0,size:0,width:0},this.cachedDeadZone=0,this.hasLastMouse=!1,this.lastMouseX=0,this.lastMouseY=0,this.lastSampleTime=0,this.lastThrashingTime=-1/0,this.metricsResult={averageVelocity:0,boundingBox:this.boundingBoxResult,directionChanges:0,directionChangesPerSecond:0,duration:0,sampleCount:0,totalDistance:0},this.ringBuffer=[],this.sampleCount=0,this.writeIndex=0,this.bufferCapacity=2*Math.ceil(r.timeWindowMs/r.throttleMs)}}function c(e,t){return"number"==typeof e&&e>(arguments.length>2&&void 0!==arguments[2]?arguments[2]:0)?e:t}},1650(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5235);n._(r(8836),t),n._(r(4713),t),n._(r(1383),t),n._(r(5521),t),n._(r(1766),t),n._(r(1053),t),n._(r(3279),t),n._(r(9576),t),n._(r(5759),t),n._(r(5953),t),n._(r(2227),t),n._(r(2623),t),n._(r(8795),t)},8836(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SplunkConnectivityInstrumentation",{enumerable:!0,get:function(){return s}});const n=r(4609),i=r(2903),o=r(2240);class s extends i.InstrumentationBase{disable(){window.removeEventListener("offline",this.offlineListener),window.removeEventListener("online",this.onlineListener)}enable(){this.offlineListener=()=>{this.offlineStart=Date.now()},this.onlineListener=()=>{this.offlineStart&&(this._createSpan(!1,this.offlineStart),this._createSpan(!0,Date.now()))},window.addEventListener("offline",this.offlineListener),window.addEventListener("online",this.onlineListener)}init(){}_createSpan(e,t){const r=this.tracer.startSpan("connectivity",{startTime:t});r.setAttribute("online",e),r.end(t)}constructor(e={},t,r){super("splunk-connectivity",o.VERSION,Object.assign({},e)),n._(this,"otelConfig",void 0),n._(this,"sessionManager",void 0),n._(this,"offlineListener",void 0),n._(this,"offlineStart",void 0),n._(this,"onlineListener",void 0),this.otelConfig=t,this.sessionManager=r,this.offlineStart=navigator.onLine?null:Date.now()}}},4713(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SplunkDocumentLoadInstrumentation",{enumerable:!0,get:function(){return l}});const n=r(4609);r(259),r(6093),r(7544),r(8909),r(6718),r(5493),r(313),r(3076);const i=r(2401),o=r(1091),s=r(9816),a=r(900),c=r(63),u=new Set(["beacon","fetch","xmlhttprequest"]);class l extends o.DocumentLoadInstrumentation{constructor(e={},t,r){super(e),n._(this,"otelConfig",void 0),n._(this,"sessionManager",void 0),this.otelConfig=t,this.sessionManager=r;const l=this,d=l._endSpan.bind(this);l._onDocumentLoaded=e=>{e&&!e.isTrusted||window.setTimeout((()=>{l._collectPerformance()}))},l._endSpan=(e,t,r)=>{const n=e;if(e&&e.setAttribute("component",this.component),e&&n.name!==o.AttributeNames.DOCUMENT_LOAD){if(n.name===o.AttributeNames.DOCUMENT_FETCH&&performance.getEntriesByType){var i;const t=performance.getEntriesByType("navigation");!r.serverTiming&&(null===(i=t[0])||void 0===i?void 0:i.serverTiming)&&(r.serverTiming=t[0].serverTiming),t[0]&&"number"==typeof t[0].responseStatus&&t[0].responseStatus>0&&e.setAttribute(a.SemanticAttributes.HTTP_STATUS_CODE,t[0].responseStatus)}(0,c.captureTraceParentFromPerformanceEntries)(r,e),e.setAttribute(a.SemanticAttributes.HTTP_METHOD,"GET")}return e&&n.name===o.AttributeNames.DOCUMENT_LOAD&&function(e){document.referrer&&""!==document.referrer&&e.setAttribute("document.referrer",document.referrer),window.screen&&e.setAttribute("screen.xy",window.screen.width+"x"+window.screen.height)}(e),d(e,t,r)},l._initResourceSpan=(t,r)=>{if(u.has(t.initiatorType)||(0,i.isUrlIgnored)(t.name,e.ignoreUrls))return;const n=l._startSpan(o.AttributeNames.RESOURCE_FETCH,s.PerformanceTimingNames.FETCH_START,t,r);var c;n&&(n.setAttribute(a.SEMATTRS_HTTP_URL,t.name),l.getConfig().ignoreNetworkEvents||((0,s.addSpanNetworkEvents)(n,t),"number"==typeof t.responseStatus&&t.responseStatus>0&&n.setAttribute(a.SemanticAttributes.HTTP_STATUS_CODE,t.responseStatus)),l._addCustomAttributesOnResourceSpan(n,t,null===(c=l.getConfig().applyCustomAttributesOnSpan)||void 0===c?void 0:c.resourceFetch),l._endSpan(n,s.PerformanceTimingNames.RESPONSE_END,t))}}}},1383(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get ERROR_INSTRUMENTATION_NAME(){return T},get ERROR_INSTRUMENTATION_VERSION(){return S},get STACK_TRACE_URL_PATTER(){return f},get SplunkErrorInstrumentation(){return m}});const n=r(4609),i=r(4922);r(7490),r(4452),r(6841),r(1125),r(5601),r(9493),r(8298),r(3871),r(8641),r(3076);const o=r(4299),s=r(2401),a=r(2903),c=i._(r(2567)),u=r(558),l=r(6465),d=r(1037),p=r(2304),h=r(7034),f=/[\w]+:\/\/[^\s]+?(?::\d+)?(?=:[\d]+:[\d]+)/g;function _(e){return e&&""!==e.trim()&&!e.startsWith("[object")&&"error"!==e}function E(e){if(void 0===e)return"(undefined)";if(null===e)return"(null)";if(e.toString)return e.toString();try{return Object.prototype.toString.call(e)}catch{return"(unknown)"}}function g(e,t){if(t&&t.stack&&_(t.stack)){e.setAttribute("error.stack",(0,l.limitLen)(t.stack.toString(),4096));const r=function(e){const t={},r=e.match(f);return r&&r.forEach((e=>{const r=e.split(/:(?=\d+$)/)[0],n=window.sourceMapIds;n&&n[r]&&!t[r]&&(t[r]=n[r])})),JSON.stringify(t)}(t.stack);r&&e.setAttribute("error.source_map_ids",r)}}const T="errors",S="1",v=(e,t)=>({context:t,error:e});class m extends a.InstrumentationBase{disable(){c.unwrap(console,"error"),window.removeEventListener("unhandledrejection",this.unhandledRejectionListener),window.removeEventListener("error",this.errorListener),document.documentElement.removeEventListener("error",this.documentErrorListener,{capture:!0}),clearInterval(this.clearingIntervalId),this.throttleMap.clear()}enable(){c.wrap(console,"error",this.consoleErrorHandler),window.addEventListener("unhandledrejection",this.unhandledRejectionListener),window.addEventListener("error",this.errorListener),document.documentElement.addEventListener("error",this.documentErrorListener,{capture:!0}),this.attachClearingInterval()}init(){}async report(e,t,r){if(Array.isArray(t)&&0===t.length)return;Array.isArray(t)&&1===t.length&&(t=t[0]);const n=this.transform(t,r);if(null===n)return;const{context:i,error:o}=n;if(o instanceof Error)await this.reportError(e,o,i);else if(o instanceof ErrorEvent)await this.reportErrorEvent(e,o,i);else if(o instanceof Event)await this.reportEvent(e,o,i);else if("string"==typeof o)await this.reportString(e,o,void 0,i);else if(Array.isArray(o)){const t=o.find((e=>e instanceof Error));await this.reportString(e,o.map((e=>E(e))).join(" "),t,i)}else await this.reportString(e,E(o),void 0,i)}async reportError(e,t,r){const n=t.message||t.toString();if(!_(n)&&!t.stack)return;const i=Date.now(),o=this.tracer.startSpan(e,{startTime:i});this.attachSpanContext(o,t,r),o.setAttribute("component","error"),o.setAttribute("error",!0),o.setAttribute("error.object",_(t.name)?t.name:t.constructor&&t.constructor.name?t.constructor.name:"Error"),o.setAttribute("error.message",(0,l.limitLen)(n,1024)),g(o,t),await this.endSpanWithThrottle(o,i)}async reportErrorEvent(e,t,r){t.error?await this.report(e,t.error,r):t.message&&await this.report(e,t.message,r)}async reportEvent(e,t,r){if(!t.target&&!_(t.type))return;const n=Date.now(),i=this.tracer.startSpan(e,{startTime:n});if(this.attachSpanContext(i,t,r),i.setAttribute("component","error"),i.setAttribute("error.type",t.type),t.target&&(i.setAttribute("target_xpath",(0,h.getElementXPath)(t.target,!0)),(0,u.isElement)(t.target))){var o;i.setAttribute("target_element",t.target.tagName);let e=null!==(o=t.target.getAttribute("src"))&&void 0!==o?o:"";e=e.startsWith("blob://")?"blob://":e.startsWith("data:")?"".concat(e.slice(0,47),"..."):e.slice(0,800),e&&(i.setAttribute("target_src",e),e=' src="'.concat(e,'"')),i.setAttribute("error.message","Failed to load <".concat(t.target.tagName.toLowerCase()).concat(e," />"))}await this.endSpanWithThrottle(i,n)}async reportString(e,t,r,n){if(!_(t))return;const i=Date.now(),o=this.tracer.startSpan(e,{startTime:i});this.attachSpanContext(o,null!=r?r:t,n),o.setAttribute("component","error"),o.setAttribute("error",!0),o.setAttribute("error.object","String"),o.setAttribute("error.message",(0,l.limitLen)(t,1024)),r&&g(o,r),await this.endSpanWithThrottle(o,i)}transform(e,t){let r,n;try{let i=null;if(o.context.with((0,s.suppressTracing)(o.context.active()),(()=>{var r;const n=null!==(r=this._splunkConfig.onError)&&void 0!==r?r:v;i=n(e,t)})),null===i)return null;if(void 0===i)return o.diag.warn("onError can use null explicitly to cancel reporting, but cannot use undefined implicitly"),{context:t,error:e};({context:n,error:r}=i)}catch(r){return o.diag.warn("onError handler failed:",r),{context:t,error:e}}return r===e||this.isValidErrorArg(r)||Array.isArray(r)?this.isValidContext(n)?(n=(0,d.removePropertiesWithAdvancedTypes)(n),{context:n,error:r}):(o.diag.warn("onError handler was expected to produce a valid context (POJO), but instead returned: ".concat(typeof n)),{context:t,error:e}):(o.diag.warn("ignoring an error because onError handler was expected to produce a valid error, but instead returned: ".concat(typeof r)),{context:t,error:e})}attachClearingInterval(){this.clearingIntervalId=setInterval((()=>{"function"==typeof requestIdleCallback?requestIdleCallback(this.clearExpiredItemsInThrottleMap,{timeout:1e3}):this.clearExpiredItemsInThrottleMap()}),5e3)}attachSpanContext(e,t,r){const n=t,i=(0,d.getValidAttributes)(n.splunkContext||{}),o=Object.entries({...r,...i});for(const[t,r]of o)e.setAttribute(t,r)}async endSpanWithThrottle(e,t){try{var r;const n=JSON.stringify([e.attributes,e.name]),i=null!==(r=await(0,p.hashSHA256)(n))&&void 0!==r?r:n;(!this.throttleMap.has(i)||performance.now()-(this.throttleMap.get(i)||0)>1e3)&&(this.throttleMap.size<1e4&&this.throttleMap.set(i,performance.now()),e.end(t))}catch(e){return void o.diag.debug("Error while ending span",e)}}constructor(e,t,r){super(T,S,e),n._(this,"_splunkConfig",void 0),n._(this,"otelConfig",void 0),n._(this,"sessionManager",void 0),n._(this,"clearingIntervalId",void 0),n._(this,"throttleMap",void 0),n._(this,"isValidContext",void 0),n._(this,"isValidErrorArg",void 0),n._(this,"clearExpiredItemsInThrottleMap",void 0),n._(this,"consoleErrorHandler",void 0),n._(this,"documentErrorListener",void 0),n._(this,"errorListener",void 0),n._(this,"unhandledRejectionListener",void 0),this._splunkConfig=e,this.otelConfig=t,this.sessionManager=r,this.throttleMap=new Map,this.isValidContext=e=>(0,d.isPlainObject)(e),this.isValidErrorArg=e=>e instanceof Error||e instanceof ErrorEvent||e instanceof Event||"string"==typeof e,this.clearExpiredItemsInThrottleMap=()=>{this.throttleMap.forEach(((e,t)=>{performance.now()-e>1e3&&this.throttleMap.delete(t)}))},this.consoleErrorHandler=e=>{var t=this;return async function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return await t.report("console.error",n,{}),e.apply(t,n)}},this.documentErrorListener=async e=>{await this.report("eventListener.error",e,{})},this.errorListener=async e=>{await this.report("onerror",e,{})},this.unhandledRejectionListener=async e=>{await this.report("unhandledrejection",e.reason,{})}}}},5521(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SplunkFetchInstrumentation",{enumerable:!0,get:function(){return u}});const n=r(4609),i=r(4922);r(3871),r(8641);const o=i._(r(4299)),s=r(2401),a=r(9820),c=r(63);class u extends a.FetchInstrumentation{enable(){window.fetch&&super.enable()}constructor(e={},t,r){var i,a;const u=null!==(i=null!==(a=e.separateTraces)&&void 0!==a?a:t.separateTraces)&&void 0!==i&&i,l=e.applyCustomAttributesOnSpan;if(e.applyCustomAttributesOnSpan=function(e,t,r){if(e.updateName("HTTP ".concat((t.method||"GET").toUpperCase())),e.setAttribute("component","fetch"),e&&r instanceof Response&&r.headers){const t=r.headers.get("Server-Timing");t&&(0,c.captureTraceParent)(t,e)}l&&l(e,t,r)},super(e),n._(this,"sessionManager",void 0),n._(this,"otelConfig",void 0),this.sessionManager=r,this.otelConfig=t,u){var d;const e=null===(d=this._createSpan)||void 0===d?void 0:d.bind(this);this._createSpan=(t,r)=>{const n=o.context.active(),i=o.trace.getSpan(n),a=null==i?void 0:i.spanContext(),c=(0,s.isTracingSuppressed)(n)?(0,s.suppressTracing)(o.ROOT_CONTEXT):o.ROOT_CONTEXT,u=o.context.with(c,(()=>e(t,r)));return u&&(null==a?void 0:a.traceId)&&u.setAttributes({"link.interaction.spanId":a.spanId,"link.interaction.traceId":a.traceId}),u}}const p=this._addHeaders.bind(this);this._addHeaders=(e,t)=>{try{e.headers&&Array.isArray(e.headers)&&(e.headers=new Headers(e.headers))}catch(e){o.diag.error("Error fixing headers",e)}return p(e,t)}}}},1766(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get FRUSTRATION_SIGNALS_INSTRUMENTATION_NAME(){return l},get SplunkFrustrationSignalsInstrumentation(){return d}});const n=r(4609),i=r(2903),o=r(2240),s=r(7550),a=r(9892),c=r(1219),u=r(8013),l="frustrationSignals";class d extends i.InstrumentationBase{disable(){var e,t,r,n;null===(e=this.deadClickDetector)||void 0===e||e.disable(),this.deadClickDetector=void 0,null===(t=this.rageClickDetector)||void 0===t||t.disable(),this.rageClickDetector=void 0,null===(r=this.thrashedCursorDetector)||void 0===r||r.disable(),this.thrashedCursorDetector=void 0,null===(n=this.errorClickDetector)||void 0===n||n.disable(),this.errorClickDetector=void 0}enable(){var e,t,r,n;this.deadClickDetector||(this.deadClickDetector=s.DeadClickDetector.create(this.tracer,this.otelConfig)),null===(e=this.deadClickDetector)||void 0===e||e.enable(),this.rageClickDetector||(this.rageClickDetector=c.RageClickDetector.create(this.tracer,this.otelConfig)),null===(t=this.rageClickDetector)||void 0===t||t.enable(),this.thrashedCursorDetector||(this.thrashedCursorDetector=u.ThrashedCursorDetector.create(this.tracer,this.otelConfig)),null===(r=this.thrashedCursorDetector)||void 0===r||r.enable(),this.errorClickDetector||(this.errorClickDetector=a.ErrorClickDetector.create(this.tracer,this.otelConfig)),null===(n=this.errorClickDetector)||void 0===n||n.enable()}init(){}constructor(e={},t,r){super("splunk-frustration-signals",o.VERSION,e),n._(this,"otelConfig",void 0),n._(this,"sessionManager",void 0),n._(this,"deadClickDetector",void 0),n._(this,"errorClickDetector",void 0),n._(this,"rageClickDetector",void 0),n._(this,"thrashedCursorDetector",void 0),this.otelConfig=t,this.sessionManager=r}}},1053(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SplunkLongTaskInstrumentation",{enumerable:!0,get:function(){return c}});const n=r(4609);r(4452),r(6841),r(8808);const i=r(2903),o=r(2240),s="longtask",a="splunk-longtask";class c extends i.InstrumentationBase{disable(){var e;this.isSupported()&&(null===(e=this._longtaskObserver)||void 0===e||e.disconnect())}enable(){this.isSupported()&&(this._longtaskObserver=new PerformanceObserver((e=>{e.getEntries().forEach((e=>this._createSpanFromEntry(e)))})),this._longtaskObserver.observe({buffered:!0,type:s}))}init(){}_createSpanFromEntry(e){const t=this.tracer.startSpan(s,{startTime:e.startTime});t.setAttribute("component",a),t.setAttribute("longtask.name",e.name),t.setAttribute("longtask.entry_type",e.entryType),t.setAttribute("longtask.duration",e.duration);const r=e.attribution;Array.isArray(r)&&r.forEach(((e,r)=>{const n=e>1?"longtask.attribution[".concat(r,"]"):"longtask.attribution";t.setAttribute("".concat(n,".name"),e.name),t.setAttribute("".concat(n,".entry_type"),e.entryType),t.setAttribute("".concat(n,".start_time"),e.startTime),t.setAttribute("".concat(n,".duration"),e.duration),t.setAttribute("".concat(n,".container_type"),e.containerType),t.setAttribute("".concat(n,".container_src"),e.containerSrc),t.setAttribute("".concat(n,".container_id"),e.containerId),t.setAttribute("".concat(n,".container_name"),e.containerName)})),t.end(e.startTime+e.duration)}isSupported(){return(window.PerformanceObserver&&PerformanceObserver.supportedEntryTypes||[]).includes(s)}constructor(e={},t,r){super(a,o.VERSION,Object.assign({},e)),n._(this,"sessionManager",void 0),n._(this,"_longtaskObserver",void 0),n._(this,"initOptions",void 0),this.sessionManager=r,this.initOptions=t}}},3279(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SplunkPageVisibilityInstrumentation",{enumerable:!0,get:function(){return s}});const n=r(4609),i=r(2903),o=r(2240);class s extends i.InstrumentationBase{disable(){window.removeEventListener("beforeunload",this.unloadListener),window.removeEventListener("visibilitychange",this.visibilityListener)}enable(){document.hidden&&this._createSpan(document.hidden),this.unloadListener=()=>{this.unloading=!0},this.visibilityListener=()=>{this.unloading||this._createSpan(document.hidden)},window.addEventListener("beforeunload",this.unloadListener),window.addEventListener("visibilitychange",this.visibilityListener)}init(){}_createSpan(e){const t=Date.now(),r=this.tracer.startSpan("visibility",{startTime:t});r.setAttribute("hidden",e),r.end(t)}constructor(e={},t,r){super("splunk-visibility",o.VERSION,Object.assign({},e)),n._(this,"otelConfig",void 0),n._(this,"sessionManager",void 0),n._(this,"unloadListener",void 0),n._(this,"unloading",void 0),n._(this,"visibilityListener",void 0),this.otelConfig=t,this.sessionManager=r,this.unloading=!1}}},9576(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SplunkPostDocLoadResourceInstrumentation",{enumerable:!0,get:function(){return h}});const n=r(4609);r(3076),r(2795),r(8027),r(3863),r(4942),r(3621),r(6552),r(8066),r(4452),r(6098),r(8612),r(6841),r(8808);const i=r(4299),o=r(2401),s=r(2903),a=r(9816),c=r(900),u=r(2240),l="splunk-post-doc-load-resource",d=["img","script"],p=e=>e instanceof HTMLScriptElement||e instanceof HTMLImageElement;class h extends s.InstrumentationBase{disable(){this.performanceObserver&&this.performanceObserver.disconnect(),this.headMutationObserver&&this.headMutationObserver.disconnect()}enable(){window.PerformanceObserver&&("complete"===window.document.readyState?this._startPerformanceObserver():window.addEventListener("load",(e=>{this._startPerformanceObserver(e)}))),window.MutationObserver&&this._startHeadMutationObserver()}init(){}onBeforeContextChange(){this.headMutationObserver&&this._processHeadMutationObserverRecords(this.headMutationObserver.takeRecords())}_createSpan(e){if((0,o.isUrlIgnored)(e.name,this.config.ignoreUrls))return;const t=new URL(e.name,location.origin),r=this.tracer.startSpan("resourceFetch",{startTime:e.fetchStart},this.urlToContextMap[t.toString()]);r.setAttribute("component",l),r.setAttribute(c.SemanticAttributes.HTTP_URL,e.name),r.setAttribute(c.SemanticAttributes.HTTP_METHOD,"GET"),(0,a.addSpanNetworkEvents)(r,e);const n=e.responseEnd;n&&n>0?r.end(n):r.end()}_processHeadMutationObserverRecords(e){i.context.active()!==i.ROOT_CONTEXT&&e.flatMap((e=>Array.from(e.addedNodes||[]))).filter(p).forEach((e=>{const t=e.getAttribute("src");if(!t)return;const r=new URL(t,location.origin);this.urlToContextMap[r.toString()]=i.context.active()}))}_startHeadMutationObserver(){this.headMutationObserver=new MutationObserver(this._processHeadMutationObserverRecords.bind(this)),this.headMutationObserver.observe(document.head,{childList:!0})}_startPerformanceObserver(e){e&&!e.isTrusted||this.performanceObserver||(this.performanceObserver=new PerformanceObserver((e=>{"complete"===window.document.readyState&&e.getEntries().forEach((e=>{var t;(null===(t=this.config.allowedInitiatorTypes)||void 0===t?void 0:t.includes(e.initiatorType))&&this._createSpan(e)}))})),this.performanceObserver.observe({entryTypes:["resource"]}))}constructor(e={},t,r){const i=Object.assign({},{allowedInitiatorTypes:d},e);super(l,u.VERSION,i),n._(this,"otelConfig",void 0),n._(this,"sessionManager",void 0),n._(this,"config",void 0),n._(this,"headMutationObserver",void 0),n._(this,"performanceObserver",void 0),n._(this,"urlToContextMap",void 0),this.otelConfig=t,this.sessionManager=r,this.config=i,this.urlToContextMap={}}}},5759(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SplunkSocketIoClientInstrumentation",{enumerable:!0,get:function(){return p}});const n=r(4609);r(259),r(6093),r(7544),r(8909),r(6718),r(5493),r(313),r(3076),r(8641),r(2537),r(5601);const i=r(4299),o=r(2903),s=r(900),a=r(6465),c=r(2240),u="messaging.socket.io.event_name",l="messaging.socket.io.namespace",d=new Set(["connect","connect_error","disconnect","disconnecting","newListener","removeListener"]);class p extends o.InstrumentationBase{disable(){this._onDisable&&(this._onDisable(),this._onDisable=void 0)}enable(){const e=this.getConfig();e.target&&("string"==typeof e.target?this._onDisable=(0,a.waitForGlobal)(e.target,(e=>this.patchSocketIo(e))):this.patchSocketIo(e.target))}getConfig(){return this._config}init(){}patchSocketIo(e){if(!function(e){return"function"==typeof e&&"function"==typeof e.Socket}(e))return void this._diag.debug("Doesn't seem like socket.io-client",e);const t=this;this._wrap(e.Socket.prototype,"emit",(e=>function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];const c=t.tracer.startSpan("".concat(r," send"),{attributes:{[s.SemanticAttributes.MESSAGING_DESTINATION]:this.nsp,[s.SemanticAttributes.MESSAGING_DESTINATION_KIND]:s.MessagingDestinationKindValues.TOPIC,[s.SemanticAttributes.MESSAGING_SYSTEM]:"socket.io",[u]:r,[l]:this.nsp},kind:i.SpanKind.PRODUCER});try{return i.context.with(i.trace.setSpan(i.context.active(),c),(()=>Reflect.apply(e,this,[r,...o])))}catch(e){let t;throw e instanceof Error&&(c.recordException(e),t=e.message),c.setStatus({code:i.SpanStatusCode.ERROR,message:t}),e}finally{c.end()}})),this._wrap(e.Socket.prototype,"on",(e=>function(r,n){if(d.has(r)||"function"!=typeof n)return e.call(this,r,n);let o=t.listeners.get(n);return o||(o=function(){for(var e=arguments.length,o=new Array(e),a=0;a<e;a++)o[a]=arguments[a];const c=t.tracer.startSpan("".concat(r," ").concat(s.MessagingOperationValues.RECEIVE),{attributes:{[s.SemanticAttributes.MESSAGING_DESTINATION]:this.nsp,[s.SemanticAttributes.MESSAGING_DESTINATION_KIND]:s.MessagingDestinationKindValues.TOPIC,[s.SemanticAttributes.MESSAGING_OPERATION]:s.MessagingOperationValues.RECEIVE,[s.SemanticAttributes.MESSAGING_SYSTEM]:"socket.io",[u]:r,[l]:this.nsp},kind:i.SpanKind.CONSUMER});try{n.apply(this,o)}catch(e){throw e instanceof Error&&c.recordException(e),e}finally{c.end()}},t.listeners.set(n,o)),e.call(this,r,o)})),e.Socket.prototype.addEventListener=e.Socket.prototype.on,this._wrap(e.Socket.prototype,"off",(e=>function(r,n){return!r||d.has(r)||"function"!=typeof n?e.call(this,r,n):t.listeners.has(n)?e.call(this,r,t.listeners.get(n)):e.call(this,r,n)})),e.Socket.prototype.removeListener=e.Socket.prototype.off,e.Socket.prototype.removeEventListener=e.Socket.prototype.off,e.Socket.prototype.removeAllListeners=e.Socket.prototype.off,this._onDisable=()=>{this._unwrap(e.Socket.prototype,"emit"),this._unwrap(e.Socket.prototype,"on"),e.Socket.prototype.addEventListener=e.Socket.prototype.on,this._unwrap(e.Socket.prototype,"off"),e.Socket.prototype.removeListener=e.Socket.prototype.off,e.Socket.prototype.removeEventListener=e.Socket.prototype.off,e.Socket.prototype.removeAllListeners=e.Socket.prototype.off}}constructor(e={},t,r){super("splunk-socket.io-client",c.VERSION,Object.assign({target:"io"},e)),n._(this,"otelConfig",void 0),n._(this,"sessionManager",void 0),n._(this,"_onDisable",void 0),n._(this,"listeners",void 0),this.otelConfig=t,this.sessionManager=r,this.listeners=new WeakMap}}},5953(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get DEFAULT_AUTO_INSTRUMENTED_EVENTS(){return c},get DEFAULT_AUTO_INSTRUMENTED_EVENT_NAMES(){return u},get SplunkUserInteractionInstrumentation(){return d}});const n=r(4609);r(3871),r(4452),r(8612),r(3076),r(8298);const i=r(4299),o=r(2401),s=r(7861),a=r(1761),c={change:!0,click:!0,dblclick:!0,dragend:!0,drop:!0,ended:!0,mousedown:!0,mouseup:!0,pause:!0,play:!0,reset:!0,submit:!0},u=Object.keys(c),l="route";class d extends a.UserInteractionInstrumentation{_patchHistoryMethod(){const e=this;return t=>function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];const o=location.href,s=t.apply(this,n);return o!==location.href&&e._emitRouteChangeSpan(o),s}}disable(){var e;super.disable(),this.__hashChangeHandler&&window.removeEventListener("hashchange",this.__hashChangeHandler),null===(e=this.spaMetricsManager)||void 0===e||e.stop()}enable(){var e;null===(e=this.spaMetricsManager)||void 0===e||e.start(),this.__hashChangeHandler=e=>{this._emitRouteChangeSpan(e.oldURL)},window.addEventListener("hashchange",this.__hashChangeHandler),super.enable()}getZoneWithPrototype(){}setTracerProvider(e){super.setTracerProvider(e),this._routingTracer=e.getTracer(l,"1")}async _emitRouteChangeSpan(e){const t=this.getConfig();if((0,o.isUrlIgnored)(location.href,t.ignoreUrls))return;const r=Date.now(),n=this._routingTracer.startSpan("routeChange",{startTime:r});if(n.setAttribute("component",this.moduleName),n.setAttribute("prev.href",e),this.spaMetricsManager){const{loadTime:e,timestampOfLastLoadedResource:t}=await this.spaMetricsManager.waitForPageLoad({startTime:performance.now()});n.end(r+e),i.diag.debug("Route change span ended",{loadTime:e,span:n,timestampOfLastLoadedResource:t})}else n.end(r)}constructor(e={},t,r){if(!e.eventNames){const t=Object.assign({},c,e.events),r=Object.entries(t).filter((e=>{let[,t]=e;return t})).map((e=>{let[t]=e;return t}));e.eventNames=r}if(super(e,t),n._(this,"sessionManager",void 0),n._(this,"__hashChangeHandler",void 0),n._(this,"_routingTracer",void 0),n._(this,"spaMetricsManager",void 0),this.sessionManager=r,this.spaMetricsManager=null,t._experimental_spaMetrics&&!t.spaMetrics&&(t.spaMetrics=t._experimental_spaMetrics),t.spaMetrics){const e=!0===t.spaMetrics?{}:t.spaMetrics;this.spaMetricsManager=new s.SpaMetricsManager({beaconEndpoint:t.beaconEndpoint,...e})}this._routingTracer=i.trace.getTracer(l,"1");const o=this._createSpan.bind(this);this._createSpan=(e,t,r)=>(e===document&&(e=document.documentElement),o(e,t,r));const a=this._patchAddEventListener.bind(this);this._patchAddEventListener=()=>{const e=a();return t=>{const r=e(t);return function(e,n,i){return function(e){return e&&("function"==typeof e||"object"==typeof e&&"function"==typeof e.handleEvent)}(n)?(null===i&&(i=void 0),r.call(this,e,n,i)):t.call(this,e,n,i)}}}}}},2227(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SplunkWebSocketInstrumentation",{enumerable:!0,get:function(){return p}});const n=r(4609),i=r(4922);r(1125),r(5601),r(3076),r(8641);const o=r(4299),s=r(2401),a=r(2903),c=i._(r(2567)),u=r(558),l=r(6661),d=r(2240);class p extends a.InstrumentationBase{disable(){c.unwrap(window,"WebSocket")}enable(){const e=this;c.wrap(window,"WebSocket",(function(){class t extends WebSocket{constructor(t,r){const n="string"==typeof t?t:t.toString();if((0,s.isUrlIgnored)(n,e._config.ignoreUrls))return void super(t,r);const i=e.tracer.startSpan("connect",{attributes:{component:"websocket"},kind:o.SpanKind.CLIENT});t&&i.setAttribute("http.url",n),r&&("string"==typeof r?i.setAttribute("protocols",r):i.setAttribute("protocols",JSON.stringify(r)));try{super(t,r)}catch(t){throw(0,u.isError)(t)&&e.endSpanExceptionally(i,t),t}this.addEventListener("open",(function(){i.end()})),this.addEventListener("error",(function(t){if(i.isRecording()){let r="Could not connect.";"error"in t&&"string"==typeof t.error&&t.error?r=t.error:"message"in t&&"string"==typeof t.message&&t.message&&(r=t.message),e.endSpanExceptionally(i,new Error(r))}else e.startSpan(this,"error",o.SpanKind.CLIENT).end()})),e.patchSend(this),e.patchEventListener(this)}}return t}))}init(){}addPatchedListener(e,t,r){let n=this.listener2ws2patched.get(t);return n||(n=new Map,this.listener2ws2patched.set(t,n)),!n.has(e)&&(n.set(e,r),!0)}endSpanExceptionally(e,t){var r;e.setAttribute("error",!0),e.setAttribute("error.message",t.message),e.setAttribute("error.object",t.name||(null===(r=t.constructor)||void 0===r?void 0:r.name)||"Error"),e.end()}patchEventListener(e){const t=this,r=e.addEventListener.bind(e);e.addEventListener=function(n,i,s){if("message"!==n)return void r(n,i,s);const a="boolean"==typeof s||null==s?void 0:s.once,c=function(){for(var r=arguments.length,n=new Array(r),s=0;s<r;s++)n[s]=arguments[s];const c=this,u=n;a&&t.removePatchedListener(e,i);const d=t.startSpan(e,"onmessage",o.SpanKind.CONSUMER);if(u&&u[0]&&"data"in u[0]){const e=u[0].data;if((0,l.hasSizeLikeProperty)(e)){const t=(0,l.getSize)(e);void 0!==t&&d.setAttribute("http.response_content_length",t)}}o.context.with(o.trace.setSpan(o.context.active(),d),(()=>{const e="function"==typeof i?i.apply(c,u):i.handleEvent(n[0]);return d.end(),e}))};t.addPatchedListener(e,i,c)&&r.apply(e,[n,c,s])};const n=e.removeEventListener;e.removeEventListener=function(r,i,o){if("message"!==r)return n.call(e,r,i,o);const s=t.removePatchedListener(e,i);return s?n.call(e,r,s,o):n.call(e,r,i,o)}}patchSend(e){const t=this,r=e.send;e.send=function(){for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];const a=t.startSpan(e,"send",o.SpanKind.PRODUCER);if(i.length>0&&(0,l.hasSizeLikeProperty)(i[0])){const e=(0,l.getSize)(i[0]);e&&a.setAttribute("http.request_content_length",e)}let c;try{c=r.apply(e,i)}catch(e){throw(0,u.isError)(e)&&t.endSpanExceptionally(a,e),e}return!1===c&&t.endSpanExceptionally(a,new Error("Failed to send frame.")),a.end(),c}}removePatchedListener(e,t){const r=this.listener2ws2patched.get(t);if(!r)return;const n=r.get(e);return n&&(r.delete(e),0===r.size&&this.listener2ws2patched.delete(e)),n}startSpan(e,t,r){const n=this.tracer.startSpan(t,{kind:r});return n.setAttribute("component","websocket"),n.setAttribute("protocol",e.protocol),n.setAttribute("http.url",e.url),n}constructor(e,t,r){super("splunk-websocket",d.VERSION,e),n._(this,"otelConfig",void 0),n._(this,"sessionManager",void 0),n._(this,"listener2ws2patched",void 0),this.otelConfig=t,this.sessionManager=r,this.listener2ws2patched=new WeakMap,this._config=e}}},2623(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SplunkWebVitalsInstrumentation",{enumerable:!0,get:function(){return c}});const n=r(4609);r(3871);const i=r(2401),o=r(2903),s=r(1916),a=r(2240);class c extends o.InstrumentationBase{disable(){this.isRecording=!1}enable(){this.isRecording=!0,this.areCallbackAttached||(this.areCallbackAttached=!0,!1!==this._config.cls&&(0,s.onCLS)((e=>{this.reportMetric("cls",e)}),"object"==typeof this._config.cls?this._config.cls:void 0),!1!==this._config.lcp&&(0,s.onLCP)((e=>{this.reportMetric("lcp",e)}),"object"==typeof this._config.lcp?this._config.lcp:void 0),!1!==this._config.inp&&(0,s.onINP)((e=>{this.reportMetric("inp",e)}),"object"==typeof this._config.inp?this._config.inp:void 0))}init(){}async reportMetric(e,t){if(!this.isRecording)return;if(this.reported[e])return;this.reported[e]=!0;const r=t.value;if("number"!=typeof r||!Number.isFinite(r)||r<0)return;const n=Date.now();let o,s=n;if(this._config.experimental_alignWebVitalsSpansWithDocumentLoad){var a;const e=await this.docLoadSpanPromise;let t=(0,i.hrTimeToMilliseconds)(e.startTime)+1;s=t;const r=null===(a=this.sessionManager)||void 0===a?void 0:a.getSessionMetadata();r&&r.sessionStart-t>6e4&&(t=r.sessionStart,s=r.sessionStart),o=this.tracer.startSpan("webvitals",{startTime:t});const n=null==e?void 0:e.attributes["location.href"];n&&o.setAttribute("location.href",n)}else o=this.tracer.startSpan("webvitals",{startTime:n});o.setAttribute(e,r),o.end(s)}constructor(e={},t,r){var i;super("splunk-webvitals",a.VERSION,e),n._(this,"otelConfig",void 0),n._(this,"sessionManager",void 0),n._(this,"areCallbackAttached",void 0),n._(this,"docLoadSpanPromise",void 0),n._(this,"docLoadSpanResolve",void 0),n._(this,"isRecording",void 0),n._(this,"reported",void 0),this.otelConfig=t,this.sessionManager=r,this.areCallbackAttached=!1,this.isRecording=!1,this.reported={},this.docLoadSpanPromise=new Promise((e=>{this.docLoadSpanResolve=e})),null===(i=this.otelConfig.spanEmitter)||void 0===i||i.addEventListener("document-load",(e=>{var t;"documentLoad"===e.name&&(null===(t=this.docLoadSpanResolve)||void 0===t||t.call(this,e),this.docLoadSpanResolve=void 0)}))}}},8795(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SplunkXhrInstrumentation",{enumerable:!0,get:function(){return u}});const n=r(4609),i=r(4922);r(8641),r(8808);const o=i._(r(4299)),s=r(2401),a=r(2210),c=r(63);class u extends a.XMLHttpRequestInstrumentation{constructor(e={},t,r){var i,a;super(e),n._(this,"sessionManager",void 0),n._(this,"otelConfig",void 0),this.sessionManager=r,this.otelConfig=t;const u=null!==(i=null!==(a=e.separateTraces)&&void 0!==a?a:t.separateTraces)&&void 0!==i&&i,l=this._createSpan.bind(this),d=this._addResourceObserver.bind(this);this._createSpan=(e,t,r)=>{let n;if(u){const i=o.context.active(),a=o.trace.getSpan(i),c=null==a?void 0:a.spanContext(),u=(0,s.isTracingSuppressed)(i)?(0,s.suppressTracing)(o.ROOT_CONTEXT):o.ROOT_CONTEXT;n=o.context.with(u,(()=>l(e,t,r))),n&&(null==c?void 0:c.traceId)&&n.setAttributes({"link.interaction.spanId":c.spanId,"link.interaction.traceId":c.traceId})}else n=l(e,t,r);var i;return n&&(e.addEventListener("readystatechange",(function(){if(e.readyState===e.HEADERS_RECEIVED&&e.getAllResponseHeaders().toLowerCase().includes("server-timing")){const t=e.getResponseHeader("server-timing");null!==t&&(0,c.captureTraceParent)(t,n)}})),n.setAttribute("component",this.moduleName),null===(i=this.otelConfig.spanEmitter)||void 0===i||i.emitSpan(n,"start"),n.updateName("HTTP ".concat(r.toUpperCase()))),n},this._addResourceObserver=(e,t)=>{"function"==typeof PerformanceObserver&&"function"==typeof PerformanceResourceTiming&&d(e,t)}}}},7861(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5235);n._(r(1333),t),n._(r(2220),t),n._(r(7633),t),n._(r(5791),t),n._(r(6015),t)},1333(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(5235)._(r(2228),t)},2228(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PrivacyManager",{enumerable:!0,get:function(){return s}});const n=r(4609);r(8808),r(3076);const i=r(7034),o=r(423);class s{}n._(s,"shouldMaskTextNode",((e,t)=>{const r={maskAllText:!0,sensitivityRules:[],...t},n=s.retrieveNodePrivacyInfo(r,e);return!!["mask","exclude"].includes(n.sensitivityRuleType)||!(!r.maskAllText||"unmask"===n.sensitivityRuleType)})),n._(s,"retrieveNodePrivacyInfo",((e,t)=>{const r=(0,i.getParentNode)(t),n=e.sensitivityRules,s=r?(0,o.getNodePrivacyInfo)(r,n):null,a=(0,o.getNodePrivacyInfo)(t,n);let c;if(s)c=(0,o.mergePrivacyInfo)(s,a);else{c={...a};for(const e of(0,i.traverseElementsToRoot)(t)){const t=(0,o.getNodePrivacyInfo)(e,n);c=(0,o.mergePrivacyInfo)(t,c)}}return{...c,parent:r}}))},423(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get SensitivityRuleTypesArray(){return o},get createSelectorsWithChildrenMatch(){return u},get getNodePrivacyInfo(){return a},get getSensitivityRuleType(){return c},get maskText(){return s},get mergePrivacyInfo(){return d}}),r(7490),r(4327),r(8981),r(6131),r(4452),r(4354),r(3076),r(8066),r(6098);const n=r(558),i=r(7034),o=["mask","unmask","exclude"],s=e=>e.replaceAll(/\S/gi,"*"),a=(e,t)=>({isPasswordInput:(0,n.isInputElement)(e)&&"password"===e.type,sensitivityRuleType:c(e,t)}),c=function(e){let t=null;const r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).toReversed();for(const n of r)if(u(n.selector).some(l(e))){t=n.rule;break}return t},u=e=>e.split(",").flatMap((e=>[e,"".concat(e," *")])),l=e=>t=>{const r=(0,n.isElement)(e)?e:(0,i.getParentElement)(e);return null!==r&&r.matches(t)},d=(e,t)=>{const r={...e};return t.isPasswordInput&&(r.isPasswordInput=!0),"exclude"!==r.sensitivityRuleType&&(r.sensitivityRuleType=t.sensitivityRuleType),r}},9177(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get SESSION_DURATION_MS(){return i},get SESSION_DURATION_SECONDS(){return n},get SESSION_ID_LENGTH(){return r},get SESSION_INACTIVITY_TIMEOUT_MS(){return o}});const r=32,n=14400,i=1e3*n,o=9e5},2220(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5235);n._(r(9177),t),n._(r(5114),t),n._(r(8040),t)},5114(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SessionManager",{enumerable:!0,get:function(){return d}});const n=r(4609);r(4452),r(6841),r(4229),r(3076),r(259),r(6093),r(7544),r(8909),r(6718),r(5493),r(313);const i=r(4299),o=r(5790),s=r(6465),a=r(9383),c=r(4305),u=r(9177),l=["click","touchstart","keydown","scroll"];class d{get session(){return this._session}set session(e){const t=this._session;this._session=e,this.previousSessionState=null!=t?t:null,this.sessionHistory.set(e.id,e),i.diag.debug("SessionManager: Updating session",{currentState:e,previousState:t}),"active"===e.state&&this.storageManager.persistSessionState(this._session),this.isStarted&&this.notifySessionStateChange()}static getExternalSession(){if("undefined"==typeof window)return null;try{if(window.SplunkRumExternal&&window.SplunkRumExternal.getSessionMetadata){const e=window.SplunkRumExternal.getSessionMetadata();if(!(0,o.isValidExternalSessionMetadata)(e))return null;const t={expiresAt:e.sessionLastActivity+u.SESSION_INACTIVITY_TIMEOUT_MS,id:e.sessionId,source:"external",startTime:e.sessionStart,state:"active"};if(d.canContinueUsingSession(t))return t;i.diag.warn("Retrieved session from SplunkRumExternal, but it cannot be continued (it may be expired or have reached its maximum duration). Ignoring the external session.")}else if(window.SplunkRumNative&&window.SplunkRumNative.getNativeSessionId){const e=window.SplunkRumNative.getNativeSessionId();return{expiresAt:Date.now()+u.SESSION_INACTIVITY_TIMEOUT_MS,id:e,source:"external",startTime:Date.now(),state:"active"}}}catch(e){i.diag.warn("Error while retrieving external session",e)}return null}static hasExternalSession(){if("undefined"==typeof window)return!1;const e=Boolean(window.SplunkRumNative&&window.SplunkRumNative.getNativeSessionId),t=Boolean(window.SplunkRumExternal&&window.SplunkRumExternal.getSessionMetadata);return e||t}getSessionId(){var e,t;return this.ensureSessionStateIsUpToDate(),null!==(e=null===(t=d.getExternalSession())||void 0===t?void 0:t.id)&&void 0!==e?e:this.session.id}getSessionMetadata(){this.ensureSessionStateIsUpToDate();const e=this.session;return{sessionId:e.id,sessionLastActivity:e.expiresAt-u.SESSION_INACTIVITY_TIMEOUT_MS,sessionStart:e.startTime}}getSessionState(){return this.ensureSessionStateIsUpToDate(),this.session}start(){this.isStarted?i.diag.warn("SessionManager is already started."):(this.isStarted=!0,this.notifySessionStateChange(),d.hasExternalSession()?this.attachExternalSessionWatcher():(this.attachUserActivityListeners(),this.attachStorageWatch(),this.attachVisibilityListener(),this.attachWatchSessionState()))}stop(){this.isStarted?(this.isStarted=!1,this.stopCallbacks.forEach((e=>e())),this.stopCallbacks=[]):i.diag.warn("SessionManager is already stopped.")}subscribe(e){return this.sessionStateChange.subscribe(e)}static canContinueUsingSession(e){return!d.isSessionExpired(e)&&!d.isSessionMaxDurationReached(e)}static generateNewSession(e){let t=(0,s.generateId)(4*u.SESSION_ID_LENGTH);return window.__splunkRumIntegrationTestSessionId&&(t=window.__splunkRumIntegrationTestSessionId),{expiresAt:Date.now()+u.SESSION_INACTIVITY_TIMEOUT_MS,id:t,source:"web",startTime:Date.now(),state:e}}static isSessionExpired(e){return Date.now()>e.expiresAt}static isSessionMaxDurationReached(e){return Date.now()>e.startTime+u.SESSION_DURATION_MS}addEventListeners(e,t,r,n){return t.forEach((t=>e.addEventListener(t,r,n))),{removeListenersCallback:()=>t.forEach((t=>e.removeEventListener(t,r,n)))}}attachExternalSessionWatcher(){const e=setInterval((()=>{const e=d.getExternalSession(),t=this.session;e&&(this.session={...t,...e})}),1e3);this.stopCallbacks.push((()=>clearInterval(e)))}attachStorageWatch(){const e=setInterval(this.synchronizeStorageWithCurrentSessionState,1e3);this.stopCallbacks.push((()=>clearInterval(e)))}attachUserActivityListeners(){const{removeListenersCallback:e}=this.addEventListeners(window,l,this.extendOrCreateNewSession,{capture:!0,passive:!0});this.stopCallbacks.push(e)}attachVisibilityListener(){const e=()=>{"visible"===document.visibilityState&&(i.diag.debug("SessionManager: Document is in visible state. Synchronizing storage."),this.synchronizeStorageWithCurrentSessionState())};document.addEventListener("visibilitychange",e,{capture:!0,passive:!0}),this.stopCallbacks.push((()=>{document.removeEventListener("visibilitychange",e)}))}attachWatchSessionState(){const e=setInterval(this.watchSessionState,1e3);this.stopCallbacks.push((()=>clearInterval(e)))}ensureSessionStateIsUpToDate(){this.getUpdatedSessionStateIfExpired()&&this.watchSessionState()}getSessionStateFromStorageAndValidate(){const e=this.storageManager.getSessionState();if(!e)return null;const t={source:"web",...e,state:"active"};return d.canContinueUsingSession(t)?t:null}constructor(e,t,r=!1){if(n._(this,"storageManager",void 0),n._(this,"externalSessionMetadata",void 0),n._(this,"adjustSessionStartToTimeOrigin",void 0),n._(this,"sessionHistory",void 0),n._(this,"_session",void 0),n._(this,"isStarted",void 0),n._(this,"lastActivityProcessed",void 0),n._(this,"newSessionsPendingToReport",void 0),n._(this,"previousSessionState",void 0),n._(this,"sessionStateChange",void 0),n._(this,"stopCallbacks",void 0),n._(this,"extendOrCreateNewSession",void 0),n._(this,"getUpdatedSessionStateIfExpired",void 0),n._(this,"notifySessionStateChange",void 0),n._(this,"synchronizeStorageWithCurrentSessionState",void 0),n._(this,"watchSessionState",void 0),this.storageManager=e,this.externalSessionMetadata=t,this.adjustSessionStartToTimeOrigin=r,this.sessionHistory=new Map,this.isStarted=!1,this.lastActivityProcessed=0,this.newSessionsPendingToReport=new Set,this.previousSessionState=null,this.sessionStateChange=new c.Observable,this.stopCallbacks=[],this.extendOrCreateNewSession=e=>{const t=performance.now();if(0!==this.lastActivityProcessed&&t-this.lastActivityProcessed<1e3)return void i.diag.debug("SessionManager: User activity is throttled.");if(this.lastActivityProcessed=t,i.diag.debug("SessionManager: User activity detected - checking if session should be extended or a new one created."),!(0,a.isTrustedEvent)(e))return void i.diag.debug("SessionManager: extendOrCreateNewSession received untrusted event.");if(d.hasExternalSession())return void i.diag.debug("SessionManager: External session ID detected. Session extension or creation is managed externally.");const r=this.session;if(d.canContinueUsingSession(r))i.diag.debug("SessionManager: Extending expiration of the current session.",{previousState:r}),this.session={...r,expiresAt:Date.now()+u.SESSION_INACTIVITY_TIMEOUT_MS};else{i.diag.debug("SessionManager: Cannot continue current session: session has expired or reached its maximum duration.");const e=this.getSessionStateFromStorageAndValidate();if(e)this.session={...e,expiresAt:Date.now()+u.SESSION_INACTIVITY_TIMEOUT_MS,state:"active"};else{const e=d.generateNewSession("active");this.newSessionsPendingToReport.add(e.id),this.session=e}}},this.getUpdatedSessionStateIfExpired=()=>{if(!d.canContinueUsingSession(this.session)){const e=d.isSessionMaxDurationReached(this.session)?"expired-duration":"expired-inactivity";if(this.session.state!==e)return{...this.session,state:e}}},this.notifySessionStateChange=()=>{const e=this.newSessionsPendingToReport.has(this._session.id);this.sessionStateChange.notify({currentState:e?{...this._session,isNew:!0}:this._session,previousState:this.previousSessionState}),e&&this.newSessionsPendingToReport.delete(this._session.id)},this.synchronizeStorageWithCurrentSessionState=()=>{const e=this.getSessionStateFromStorageAndValidate();if(e)return e.id!==this.session.id?(i.diag.debug("SessionManager: Session in storage changed.",{persistedSessionState:e}),void(this.session={...e,state:"active"})):e.expiresAt>this.session.expiresAt?(i.diag.debug("SessionManager: Expiration of session changed."),void(this.session={...e})):void 0},this.watchSessionState=()=>{const e=this.getUpdatedSessionStateIfExpired();e&&(this.session=e)},t){const e={expiresAt:t.sessionLastActivity+u.SESSION_INACTIVITY_TIMEOUT_MS,id:t.sessionId,source:"external",startTime:t.sessionStart,state:"active"};if(d.canContinueUsingSession(e))return this.session=e,void i.diag.debug("SessionManager: Initialized with provided external session metadata.",{state:this._session})}const o=d.getExternalSession();if(o)this.session={...o};else{const e=this.getSessionStateFromStorageAndValidate();if(e)this.session=e;else{const e=d.generateNewSession("active");r&&(e.startTime=Math.trunc(e.startTime-performance.now())),this.newSessionsPendingToReport.add(e.id),this.session=e}}i.diag.debug("SessionManager: Initialized. Current session state",{state:this._session})}}},8040(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},7633(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(5235)._(r(7826),t)},824(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"FetchXhrMonitor",{enumerable:!0,get:function(){return u}});const n=r(4609),i=r(4922);r(3871),r(3076),r(2795),r(8027),r(3863),r(4942),r(3621),r(6552),r(2206);const o=r(4299),s=r(2401),a=i._(r(2567)),c=r(9278);class u extends c.Monitor{start(){this.isMonitoring?o.diag.warn("PageLoadingManager.FetchXhrMonitor: Already monitoring fetch/XHR requests."):(this.isMonitoring=!0,this.patchFetch(),this.patchXhr(),o.diag.debug("PageLoadingManager.FetchXhrMonitor: Started monitoring fetch/XHR requests."))}stop(){this.isMonitoring&&(this.restoreFetch(),this.restoreXhr(),this.isMonitoring=!1,o.diag.debug("PageLoadingManager.FetchXhrMonitor: Stopped monitoring."))}patchFetch(){if("undefined"==typeof window||!window.fetch)return;const e=this;a.wrap(window,"fetch",(t=>function(r,n){const i="string"==typeof r?r:r instanceof URL?r.toString():r.url;if((0,s.isUrlIgnored)(i,e.config.ignoreUrls))return t(r,n);const o=performance.now();return e.config.onResourceStateChange({state:c.ResourceState.DISCOVERED,url:i}),t(r,n).then((t=>{const r=performance.now()-o;return e.config.onResourceStateChange({loadTime:r,state:c.ResourceState.LOADED,timestamp:performance.now(),url:i}),t})).catch((t=>{throw e.config.onResourceStateChange({state:c.ResourceState.ERROR,timestamp:performance.now(),url:i}),t}))}))}patchXhr(){const e=this;a.wrap(XMLHttpRequest.prototype,"open",(e=>function(t,r,n,i,o){return this._splunkMonitorUrl="string"==typeof r?r:r.toString(),e.call(this,t,r,null==n||n,i,o)})),a.wrap(XMLHttpRequest.prototype,"send",(t=>function(r){const n=this._splunkMonitorUrl;if(n&&!(0,s.isUrlIgnored)(n,e.config.ignoreUrls)){const t=performance.now();e.config.onResourceStateChange({state:c.ResourceState.DISCOVERED,url:n});const r=()=>{const r=performance.now()-t;e.config.onResourceStateChange({loadTime:r,state:c.ResourceState.LOADED,timestamp:performance.now(),url:n}),o()},i=()=>{e.config.onResourceStateChange({state:c.ResourceState.ERROR,timestamp:performance.now(),url:n}),o()},o=()=>{this.removeEventListener("load",r),this.removeEventListener("error",i),this.removeEventListener("abort",i)};this.addEventListener("load",r),this.addEventListener("error",i),this.addEventListener("abort",i)}return t.call(this,r)}))}restoreFetch(){a.unwrap(window,"fetch")}restoreXhr(){a.unwrap(XMLHttpRequest.prototype,"open"),a.unwrap(XMLHttpRequest.prototype,"send")}constructor(...e){super(...e),n._(this,"isMonitoring",!1)}}},3748(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get FetchXhrMonitor(){return n.FetchXhrMonitor},get MediaMonitor(){return i.MediaMonitor},get PerformanceMonitor(){return s.PerformanceMonitor},get ResourceState(){return o.ResourceState}});const n=r(824),i=r(1627),o=r(9278),s=r(7845)},1627(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"MediaMonitor",{enumerable:!0,get:function(){return c}});const n=r(4609);r(3076),r(4452),r(6841),r(259),r(6093),r(7544),r(8909),r(6718),r(5493),r(313);const i=r(4299),o=r(2401),s=r(558),a=r(9278);class c extends a.Monitor{start(){this.isMonitoring?i.diag.warn("PageLoadingManager.MediaMonitor: Already monitoring media elements."):(this.isMonitoring=!0,this.monitorExistingMediaElements(),this.setupMutationObserver(),i.diag.debug("PageLoadingManager.MediaMonitor: Started monitoring media elements."))}stop(){var e;this.isMonitoring&&(null===(e=this.observer)||void 0===e||e.disconnect(),this.observer=null,this.isMonitoring=!1,i.diag.debug("PageLoadingManager.MediaMonitor: Stopped monitoring."))}attachMediaListener(e){if(this.monitoredMediaElements.has(e))return;if((0,o.isUrlIgnored)(e.src,this.config.ignoreUrls))return;if(e instanceof HTMLImageElement&&"lazy"===e.loading)return;if(this.monitoredMediaElements.add(e),this.isElementAlreadyLoaded(e))return void this.config.onResourceStateChange({loadTime:0,state:a.ResourceState.LOADED,timestamp:performance.now(),url:e.src});this.config.onResourceStateChange({state:a.ResourceState.DISCOVERED,url:e.src});const t=performance.now(),r=()=>{this.config.onResourceStateChange({loadTime:performance.now()-t,state:a.ResourceState.LOADED,timestamp:performance.now(),url:e.src}),e.removeEventListener("load",r),e.removeEventListener("error",n)},n=()=>{e.removeEventListener("load",r),e.removeEventListener("error",n)};e.addEventListener("load",r,{once:!0,passive:!0}),e.addEventListener("error",n,{once:!0,passive:!0})}isElementAlreadyLoaded(e){return e instanceof HTMLImageElement?e.complete&&0!==e.naturalHeight:(e instanceof HTMLVideoElement||e instanceof HTMLAudioElement)&&e.readyState>=2}monitorExistingMediaElements(){const e=document.querySelectorAll("img"),t=document.querySelectorAll("video"),r=document.querySelectorAll("audio");[...Array.from(e),...Array.from(t),...Array.from(r)].forEach((e=>this.attachMediaListener(e)))}setupMutationObserver(){this.observer=new MutationObserver((e=>{e.forEach((e=>{e.addedNodes.forEach((e=>{(0,s.isElement)(e)&&((0,s.isMediaElement)(e)?this.attachMediaListener(e):e.querySelectorAll("img, video, audio").forEach((e=>{(0,s.isMediaElement)(e)&&this.attachMediaListener(e)})))}))}))})),document.body?this.observer.observe(document.body,{childList:!0,subtree:!0}):document.addEventListener("DOMContentLoaded",(()=>{var e;null===(e=this.observer)||void 0===e||e.observe(document.body,{childList:!0,subtree:!0})}),{once:!0})}constructor(...e){super(...e),n._(this,"isMonitoring",!1),n._(this,"monitoredMediaElements",new Set),n._(this,"observer",null)}}},9278(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get Monitor(){return o},get ResourceState(){return i}});const n=r(4609);var i=function(e){return e.DISCOVERED="discovered",e.ERROR="error",e.LOADED="loaded",e}({});class o{constructor(e){n._(this,"config",void 0),this.config=e}}},7845(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PerformanceMonitor",{enumerable:!0,get:function(){return c}});const n=r(4609);r(259),r(6093),r(7544),r(8909),r(6718),r(5493),r(313),r(3076);const i=r(4299),o=r(2401),s=r(9278),a=new Set(["css","font","img","link","other"]);class c extends s.Monitor{start(){if(this.isMonitoring)i.diag.warn("PageLoadingManager.PerformanceMonitor: Already monitoring.");else if("undefined"!=typeof PerformanceObserver){this.isMonitoring=!0,this.observer=new PerformanceObserver((e=>{for(const t of e.getEntries())this.handleResourceEntry(t)}));try{this.observer.observe({buffered:!0,type:"resource"})}catch{this.observer.observe({entryTypes:["resource"]})}i.diag.debug("PageLoadingManager.PerformanceMonitor: Started monitoring resource timing.")}else i.diag.warn("PageLoadingManager.PerformanceMonitor: PerformanceObserver not available.")}stop(){var e;this.isMonitoring&&(null===(e=this.observer)||void 0===e||e.disconnect(),this.observer=null,this.isMonitoring=!1,i.diag.debug("PageLoadingManager.PerformanceMonitor: Stopped monitoring."))}handleResourceEntry(e){const t=e.name;if(!a.has(e.initiatorType))return;if((0,o.isUrlIgnored)(t,this.config.ignoreUrls))return;const r=e.responseEnd-e.startTime;this.config.onResourceStateChange({loadTime:r,state:s.ResourceState.LOADED,timestamp:e.responseEnd,url:t}),i.diag.debug("PageLoadingManager.PerformanceMonitor: Resource loaded",{initiatorType:e.initiatorType,loadTime:r,url:t})}constructor(...e){super(...e),n._(this,"isMonitoring",!1),n._(this,"observer",null)}}},2266(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"QuietPeriodAwaiter",{enumerable:!0,get:function(){return o}});const n=r(4609);r(3871);const i=r(4299);class o{complete(e){let{areResourcesStillLoading:t}=e;if(this.isResolved)return;this.isResolved=!0,clearTimeout(this.timeoutId);let r=performance.now();!t&&this.lastResourceTimestamp&&(i.diag.debug("No resources loading. Using last resource timestamp."),r=this.lastResourceTimestamp);const n=r-this.startTime;i.diag.debug("QuietPeriodAwaiter: Complete",{loadTime:n}),this.resolve({loadTime:n,timestampOfLastLoadedResource:r})}removeQuietTimer(){void 0!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=void 0)}startQuietTimer(e){let{resourceLoadedTimestamp:t}=e;this.lastResourceTimestamp=t,clearTimeout(this.timeoutId),this.timeoutId=setTimeout((()=>{i.diag.debug("QuietPeriodAwaiter: Quiet period expired"),this.isResolved||(this.isResolved=!0,this.resolve({loadTime:Math.max(t-this.startTime,0),timestampOfLastLoadedResource:t}))}),this.quietTime)}constructor(e=1e3,t=performance.now()){n._(this,"promise",void 0),n._(this,"isResolved",!1),n._(this,"lastResourceTimestamp",void 0),n._(this,"quietTime",void 0),n._(this,"startTime",void 0),n._(this,"timeoutId",void 0),n._(this,"resolve",(()=>{})),this.startTime=t,this.quietTime=e,this.promise=new Promise((e=>{this.resolve=e}))}}},7826(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SpaMetricsManager",{enumerable:!0,get:function(){return a}});const n=r(4609);r(3076),r(2795),r(8027),r(3863),r(4942),r(3621),r(6552),r(4229),r(803),r(38),r(7490);const i=r(4299),o=r(3748),s=r(2266);class a{get loadingResourcesCount(){let e=0;for(const t of this.loadingUrls.values())e+=t;return e}start(){this.isMonitoring?i.diag.warn("SpaMetricsManager: Already monitoring."):(this.isMonitoring=!0,this.fetchXhrMonitor.start(),this.mediaMonitor.start(),this.performanceMonitor.start(),i.diag.debug("SpaMetricsManager: Started monitoring."))}stop(){this.isMonitoring&&(this.isMonitoring=!1,this.fetchXhrMonitor.stop(),this.mediaMonitor.stop(),this.performanceMonitor.stop(),this.loadingUrls.clear(),i.diag.debug("SpaMetricsManager: Stopped monitoring."))}waitForPageLoad(e){let{startTime:t}=e;return this.quietPeriodAwaiter.complete({areResourcesStillLoading:this.loadingResourcesCount>0}),this.quietPeriodAwaiter=new s.QuietPeriodAwaiter(this.config.quietTime,t),0===this.loadingResourcesCount&&(this.quietPeriodAwaiter.startQuietTimer({resourceLoadedTimestamp:t}),i.diag.debug("No loading resources. Starting quit timer.")),this.quietPeriodAwaiter.promise}constructor(e={}){var t,r,a;n._(this,"config",void 0),n._(this,"fetchXhrMonitor",void 0),n._(this,"isMonitoring",!1),n._(this,"loadingUrls",new Map),n._(this,"mediaMonitor",void 0),n._(this,"performanceMonitor",void 0),n._(this,"quietPeriodAwaiter",new s.QuietPeriodAwaiter),n._(this,"onResourceStateChange",(e=>{if(e.state===o.ResourceState.DISCOVERED){var t;if(this.loadingResourcesCount>=this.config.maxResourcesToWatch)return void i.diag.debug("SpaMetricsManager: Max resources limit reached, ignoring new resource",e.url);const r=null!==(t=this.loadingUrls.get(e.url))&&void 0!==t?t:0;this.loadingUrls.set(e.url,r+1),i.diag.debug("Detected resource. Resetting quiet timer",e.url),this.quietPeriodAwaiter.removeQuietTimer()}else{var r;const t=null!==(r=this.loadingUrls.get(e.url))&&void 0!==r?r:0;t>0&&(1===t?this.loadingUrls.delete(e.url):this.loadingUrls.set(e.url,t-1),0===this.loadingResourcesCount&&(i.diag.debug("No loading resources. Starting quit timer."),this.quietPeriodAwaiter.startQuietTimer({resourceLoadedTimestamp:e.timestamp})))}}));const c=[...null!==(t=e.ignoreUrls)&&void 0!==t?t:[]];if(e.beaconEndpoint)try{const t=new URL(e.beaconEndpoint).origin;c.push(new RegExp("^".concat(t)))}catch{c.push(e.beaconEndpoint)}this.config={ignoreUrls:c,maxResourcesToWatch:null!==(r=e.maxResourcesToWatch)&&void 0!==r?r:100,quietTime:null!==(a=e.quietTime)&&void 0!==a?a:5e3},this.fetchXhrMonitor=new o.FetchXhrMonitor({ignoreUrls:this.config.ignoreUrls,onResourceStateChange:this.onResourceStateChange}),this.mediaMonitor=new o.MediaMonitor({onResourceStateChange:this.onResourceStateChange}),this.performanceMonitor=new o.PerformanceMonitor({ignoreUrls:this.config.ignoreUrls,onResourceStateChange:this.onResourceStateChange})}}},7562(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get ANONYMOUS_USER_ID_EXPIRATION_SEC(){return a},get ANONYMOUS_USER_ID_STORAGE_KEY(){return s},get SESSION_EXPIRATION_COOKIE_SEC(){return o},get SESSION_STORAGE_KEY(){return i}});const n=r(2220),i="_splunk_rum_sid",o=n.SESSION_INACTIVITY_TIMEOUT_MS/1e3,s="_splunk_rum_user_anonymousId",a=3456e4},5791(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5235);n._(r(7562),t),n._(r(6846),t),n._(r(4340),t)},7247(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BaseStorageProvider",{enumerable:!0,get:function(){return i}}),r(5601),r(1125);const n=r(4299);class i{safelyParseJson(e){const t=this.getValue(e);if(t)try{return JSON.parse(t)}catch(r){return void n.diag.warn("Failed to parse JSON from ".concat(this.providerName),{error:r instanceof Error?r.message:"Unknown error",key:e,value:t})}}safelyStoreJson(e,t,r){try{const n=JSON.stringify(t);return this.setValue(e,n,r)}catch(r){return n.diag.warn("Failed to serialize and store JSON in ".concat(this.providerName),{data:t,error:r instanceof Error?r.message:"Unknown error",key:e}),!1}}}},2733(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CookieStorageProvider",{enumerable:!0,get:function(){return c}});const n=r(4609);r(7490),r(3076),r(5601),r(8808);const i=r(4299),o=r(6465),s=r(3217),a=r(7247);class c extends a.BaseStorageProvider{static safelyGetValue(e){try{const t=document.cookie.split(";");for(const r of t){const[t,n]=r.trim().split("=");if(t===e)return decodeURIComponent(n||"")}}catch(t){i.diag.warn("Failed to retrieve cookie",{error:t instanceof Error?t.message:"Unknown error",key:e})}return null}static safelyRemoveValue(e,t){try{const r="Thu, 01 Jan 1970 00:00:01 GMT";return document.cookie="".concat(e,"=;expires=").concat(r,";domain=").concat(t.domain,";path=/"),!0}catch(r){return i.diag.warn("Failed to remove cookie",{domain:t.domain,error:r,key:e}),!1}}static safelySetValue(e,t,r){try{const n=r.domain?";domain=".concat(r.domain):"",i=encodeURIComponent(t);let a="".concat(e,"=").concat(i,";max-age=").concat(r.expires).concat(n,";path=/");return(0,o.isIframe)()?a+=["localhost","127.0.0.1"].includes(window.location.hostname)&&(0,s.isSafari)()?";SameSite=None":";SameSite=None;Secure":a+=";SameSite=Strict",document.cookie=a,!0}catch(t){return i.diag.warn("Failed to set cookie",{domain:r.domain,error:t,key:e}),!1}}getValue(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return c.safelyGetValue(...t)}removeValue(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return c.safelyRemoveValue(...t)}setValue(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return c.safelySetValue(...t)}constructor(...e){super(...e),n._(this,"providerName","cookie")}}},6846(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5235);n._(r(7247),t),n._(r(2733),t),n._(r(6356),t),n._(r(9066),t)},6356(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LocalStorageProvider",{enumerable:!0,get:function(){return s}});const n=r(4609);r(5601),r(3076);const i=r(4299),o=r(7247);class s extends o.BaseStorageProvider{static safelyGetValue(e){try{return window.localStorage.getItem(e)}catch(t){return i.diag.warn("Failed to retrieve item from localStorage",{error:t,key:e}),null}}static safelyRemoveValue(e){try{return window.localStorage.removeItem(e),!0}catch(t){return i.diag.warn("Failed to remove item from localStorage",{error:t instanceof Error?t.message:"Unknown error",key:e}),!1}}static safelySetValue(e,t){try{return window.localStorage.setItem(e,t),!0}catch(t){return i.diag.warn("Failed to store item in localStorage",{error:t,key:e}),!1}}getValue(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return s.safelyGetValue(...t)}removeValue(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return s.safelyRemoveValue(...t)}setValue(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return s.safelySetValue(...t)}constructor(...e){super(...e),n._(this,"providerName","localStorage")}}},9066(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SessionStorageProvider",{enumerable:!0,get:function(){return s}});const n=r(4609);r(5601),r(3076);const i=r(4299),o=r(7247);class s extends o.BaseStorageProvider{static safelyGetValue(e){try{return window.sessionStorage.getItem(e)}catch(t){return i.diag.warn("Failed to retrieve item from sessionStorage",{error:t,key:e}),null}}static safelyRemoveValue(e){try{return window.sessionStorage.removeItem(e),!0}catch(t){return i.diag.warn("Failed to remove item from sessionStorage",{error:t instanceof Error?t.message:"Unknown error",key:e}),!1}}static safelySetValue(e,t){try{return window.sessionStorage.setItem(e,t),!0}catch(t){return i.diag.warn("Failed to store item in sessionStorage",{error:t,key:e}),!1}}getValue(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return s.safelyGetValue(...t)}removeValue(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return s.safelyRemoveValue(...t)}setValue(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return s.safelySetValue(...t)}constructor(...e){super(...e),n._(this,"providerName","sessionStorage")}}},4340(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"StorageManager",{enumerable:!0,get:function(){return a}});const n=r(4609);r(5601);const i=r(4299),o=r(7562),s=r(6846);class a{get storageProvider(){switch(this.options.persistence){case"cookie":return this.cookieStorageProvider;case"localStorage":return this.localStorageProvider;default:throw new Error("Unknown persistence type: ".concat(this.options.persistence))}}getAnonymousUserId(){try{return this.storageProvider.getValue(o.ANONYMOUS_USER_ID_STORAGE_KEY)||void 0}catch(e){return void i.diag.warn("Failed to retrieve anonymous user ID",{error:e instanceof Error?e.message:"Unknown error",options:this.options})}}getSessionState(){try{return this.storageProvider.safelyParseJson(o.SESSION_STORAGE_KEY)}catch(e){return void i.diag.warn("Failed to retrieve session state",{error:e instanceof Error?e.message:"Unknown error",options:this.options})}}persistAnonymousUserId(e){i.diag.debug("StorageManager: Persisting anonymous user ID",{anonymousUserId:e});try{return this.storageProvider.setValue(o.ANONYMOUS_USER_ID_STORAGE_KEY,e,{...this.options,expires:o.ANONYMOUS_USER_ID_EXPIRATION_SEC})}catch(t){return i.diag.warn("Failed to persist anonymous user ID",{anonymousUserId:e,error:t instanceof Error?t.message:"Unknown error",options:this.options}),!1}}persistSessionState(e){const{expiresAt:t,id:r,startTime:n}=e;i.diag.debug("SessionManager: Persisting session state",{expiresAt:t,id:r,startTime:n});try{return this.storageProvider.safelyStoreJson(o.SESSION_STORAGE_KEY,{expiresAt:t,id:r,startTime:n},{...this.options,expires:o.SESSION_EXPIRATION_COOKIE_SEC})}catch(t){return i.diag.warn("Failed to persist session state",{error:t instanceof Error?t.message:"Unknown error",options:this.options,sessionState:e}),!1}}constructor(e){n._(this,"options",void 0),n._(this,"cookieStorageProvider",void 0),n._(this,"localStorageProvider",void 0),this.options=e,this.cookieStorageProvider=new s.CookieStorageProvider,this.localStorageProvider=new s.LocalStorageProvider}}},3146(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ANONYMOUS_USER_ID_LENGTH",{enumerable:!0,get:function(){return r}});const r=128},6015(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5235);n._(r(3146),t),n._(r(2398),t)},2398(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"UserManager",{enumerable:!0,get:function(){return a}});const n=r(4609);r(5601);const i=r(4299),o=r(6465),s=r(3146);class a{forgetAnonymousId(){this.anonymousId=void 0}getAnonymousIdIfEnabled(){if("anonymousTracking"!==this.userTrackingMode)return;if(this.anonymousId)return this.anonymousId;const e=this.getAnonymousIdFromStorage();if(e)return this.anonymousId=e,this.persistAnonymousId(e),e;const t=a.generateAnonymousId();this.persistAnonymousId(t);const r=this.getAnonymousIdFromStorage();return this.anonymousId=r!==t&&void 0!==r?r:t,this.anonymousId}static generateAnonymousId(){return(0,o.generateId)(s.ANONYMOUS_USER_ID_LENGTH)}getAnonymousIdFromStorage(){try{return this.storageManager.getAnonymousUserId()}catch(e){return void i.diag.warn("Failed to retrieve anonymous user ID from storage",{error:e instanceof Error?e.message:"Unknown error"})}}persistAnonymousId(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;for(let r=1;r<=t;r++)try{if(this.storageManager.persistAnonymousUserId(e),this.storageManager.getAnonymousUserId())return!0;i.diag.debug("Anonymous user ID persistence verification failed (attempt ".concat(r,"/").concat(t,")"),{id:e})}catch(n){i.diag.warn("Failed to persist anonymous user ID (attempt ".concat(r,"/").concat(t,")"),{error:n instanceof Error?n.message:"Unknown error",id:e})}return i.diag.warn("Failed to persist anonymous user ID after all retries",{id:e,maxRetries:t}),!1}constructor(e,t,r){n._(this,"userTrackingMode",void 0),n._(this,"storageManager",void 0),n._(this,"anonymousId",void 0),this.userTrackingMode=e,this.storageManager=t,"anonymousTracking"===e&&(r?(this.anonymousId=r,this.persistAnonymousId(r)):this.getAnonymousIdIfEnabled())}}n._(a,"isUserTrackingMode",(e=>"noTracking"===e||"anonymousTracking"===e))},63(e,t,r){"use strict";function n(e,t){if(e&&e[1]&&e[2]){const r=e[1],n=e[2];t.setAttribute("link.traceId",r),t.setAttribute("link.spanId",n)}}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get captureTraceParent(){return o},get captureTraceParentFromPerformanceEntries(){return a}}),r(803),r(38),r(7490),r(3076);const i=new RegExp("traceparent;desc=['\"]00-([0-9a-f]{32})-([0-9a-f]{16})-01['\"]");function o(e,t){for(let r of e.split(",")){r=r.trim();const e=r.match(i);e&&n(e,t)}}const s=new RegExp("00-([0-9a-f]{32})-([0-9a-f]{16})-01");function a(e,t){if(e.serverTiming)for(const r of e.serverTiming)"traceparent"===r.name&&r.description&&n(r.description.match(s),t)}},4715(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BrowserInstanceService",{enumerable:!0,get:function(){return a}});const n=r(4609),i=r(5791),o=r(6465),s="browser_instance_id";class a{static get id(){if(null!==this._id)return this._id;let e=i.SessionStorageProvider.safelyGetValue(s);return e?this._id=e:null===e?(e=(0,o.generateId)(64),this._id=e,i.SessionStorageProvider.safelySetValue(s,e)):this._id=void 0,this._id}}n._(a,"_id",null)},6475(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SessionBasedSampler",{enumerable:!0,get:function(){return s}});const n=r(4609);r(5601);const i=r(9816),o=r(4557);class s{isSessionSampled(e){return this._accumulate(e)<this.upperBound}shouldSample(e,t,r,n,i,s){const a=(0,o.getGlobal)();if(!a.sessionManager)throw new Error("SplunkRum is not initialized");const c=a.sessionManager.getSessionId();return this.currentSessionId!==c&&(this.currentSessionSampled=this._accumulate(c)<this.upperBound,this.currentSessionId=c),(this.currentSessionSampled?this.sampled:this.notSampled).shouldSample(e,t,r,n,i,s)}toString(){return"SessionBased{ratio=".concat(this.ratio,", sampled=").concat(this.sampled.toString(),", notSampled=").concat(this.notSampled.toString(),"}")}_accumulate(e){let t=0;for(let r=0;r<e.length/8;r++){const n=8*r;t=(t^Number.parseInt(e.slice(n,n+8),16))>>>0}return t}_normalize(e){return"number"!=typeof e||Number.isNaN(e)?0:e>=1?1:Math.max(e,0)}constructor({notSampled:e=new i.AlwaysOffSampler,ratio:t=1,sampled:r=new i.AlwaysOnSampler}={}){n._(this,"currentSessionId",void 0),n._(this,"currentSessionSampled",void 0),n._(this,"notSampled",void 0),n._(this,"ratio",void 0),n._(this,"sampled",void 0),n._(this,"upperBound",void 0),this.ratio=this._normalize(t),this.upperBound=Math.floor(4294967295*this.ratio),this.sampled=r,this.notSampled=e}}},8581(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5235);n._(r(9206),t),n._(r(9347),t)},9206(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SpanAttributesProcessor",{enumerable:!0,get:function(){return a}});const n=r(4609);r(3871),r(3076);const i=r(4299),o=r(2401),s=r(7861);class a{forceFlush(){return Promise.resolve()}getGlobalAttributes(){return this._globalAttributes}onEnd(e){var t;const r=e.endTime[0],n=null!==(t=e.attributes["splunk.rumSessionId"])&&void 0!==t?t:"",i=this.sessionManager.sessionHistory.get(n);if(i){const t=(i.startTime+s.SESSION_DURATION_MS)/1e3;r>t&&(e.endTime[0]=t,e.endTime[1]=0,e.duration[0]=t-e.startTime[0],e.duration[1]=0)}}onStart(e){e.setAttribute("location.href",location.href),e.setAttributes(this._globalAttributes);const t=this.sessionManager.getSessionState();"expired-duration"===t.state||"expired-inactivity"===t.state&&this._experimental_discardDataAfterInactivity||(this._experimental_adjustSessionStartToTimeOrigin&&(0,o.hrTimeToMilliseconds)(e.startTime)<t.startTime?i.diag.warn("Dropping span that started before the session",{diffMs:t.startTime-(0,o.hrTimeToMilliseconds)(e.startTime),sessionStartTime:t.startTime,spanName:e.name,spanStartTime:(0,o.hrTimeToMilliseconds)(e.startTime)}):e.setAttribute("splunk.rumSessionId",t.id));const r=this.userManager.getAnonymousIdIfEnabled();r&&e.setAttribute("user.anonymous_id",r),e.setAttribute("browser.instance.visibility_state",document.visibilityState),"unknown_service"===e.resource.attributes["service.name"]&&delete e.resource.attributes["service.name"]}setGlobalAttributes(e){if(e)Object.assign(this._globalAttributes,e);else for(const e of Object.keys(this._globalAttributes))delete this._globalAttributes[e]}shutdown(){return Promise.resolve()}constructor(e,t,r,i=!1,o=!1){n._(this,"sessionManager",void 0),n._(this,"userManager",void 0),n._(this,"_experimental_discardDataAfterInactivity",void 0),n._(this,"_experimental_adjustSessionStartToTimeOrigin",void 0),n._(this,"_globalAttributes",void 0),this.sessionManager=e,this.userManager=t,this._experimental_discardDataAfterInactivity=i,this._experimental_adjustSessionStartToTimeOrigin=o,this._globalAttributes=null!=r?r:{}}}},9347(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SpanEmitterProcessor",{enumerable:!0,get:function(){return i}});const n=r(4609);r(259),r(6093),r(7544),r(8909),r(6718),r(5493),r(313),r(3076),r(3871),r(4229);class i{addEventListener(e,t){this.listeners.has(e)||this.listeners.set(e,new Set),this.listeners.get(e).add(t)}emitSpan(e,t){var r,n;const i=null===(n=e.attributes)||void 0===n?void 0:n.component;if(!i)return;const o="start"===t?"".concat(i,":start"):i,s=null!==(r=this.listeners.get(o))&&void 0!==r?r:[];for(const t of s)try{t(e)}catch{}}enable(){this.isEnabled=!0;for(const e of this.buffer)this.emitSpan(e,"end");this.buffer=[]}forceFlush(){return Promise.resolve()}onEnd(e){this.isEnabled?this.emitSpan(e,"end"):this.buffer.push(e)}onStart(e){this.isEnabled&&this.emitSpan(e,"start")}removeEventListener(e,t){var r;null===(r=this.listeners.get(e))||void 0===r||r.delete(t)}shutdown(){return this.listeners.clear(),Promise.resolve()}constructor(){n._(this,"buffer",[]),n._(this,"isEnabled",!1),n._(this,"listeners",new Map)}}},8585(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SplunkContextManager",{enumerable:!0,get:function(){return c}});const n=r(4609);r(3076),r(8641),r(4452),r(6841),r(3871),r(1051);const i=r(4299),o=r(2567),s=r(6465),a="__splunk_context";class c{active(){return this._currentContext}bind(e,t){return(0,s.isFunction)(t)?this._bindFunction(t,e):t}disable(){return this._enabled?(this._config.async&&(this._unpatchTimeouts(),this._unpatchPromise(),this._unpatchMutationObserver(),this._unpatchEvents(),this._unpatchMessageChannel()),this._currentContext=i.ROOT_CONTEXT,this._enabled=!1,this):this}enable(){return this._enabled||(this._config.async&&(this._patchTimeouts(),this._patchPromise(),this._patchMutationObserver(),this._patchEvents(),this._patchMessageChannel()),this._enabled=!0,this._currentContext=i.ROOT_CONTEXT),this}with(e,t,r){for(var n=arguments.length,o=new Array(n>3?n-3:0),a=3;a<n;a++)o[a-3]=arguments[a];try{var c,u;null===(c=(u=this._config).onBeforeContextStart)||void 0===c||c.call(u)}catch{}const l=this._currentContext;this._currentContext=e||i.ROOT_CONTEXT;const d=location.hash;try{var p,h;const e=t.call(r,...o);return null===(p=(h=this._config).onBeforeContextEnd)||void 0===p||p.call(h),e}finally{this._currentContext=l,d!==location.hash&&(this._hashChangeContext=e,(0,s.getOriginalFunction)(setTimeout)((()=>{this._hashChangeContext===e&&(this._hashChangeContext=null)}),33))}}_bindFunction(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.ROOT_CONTEXT;const r=this,n=function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return r.with(t,(()=>e.apply(this,i)))};return Object.defineProperty(n,"length",{configurable:!0,enumerable:!1,value:e.length,writable:!1}),n}_getListenersMap(e,t){this._contextResumingListeners.has(e)||this._contextResumingListeners.set(e,new Map);const r=this._contextResumingListeners.get(e);return(null==r?void 0:r.has(t))||null==r||r.set(t,new WeakMap),null==r?void 0:r.get(t)}_getWrappedEventListener(e,t){const r=this;return function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];const s=t();return s&&r._enabled?r.with(s,e,this,...i):e.apply(this,i)}}_patchEvents(){const e=this;(0,s.wrapNatively)(XMLHttpRequest.prototype,"addEventListener",(t=>function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];if((0,s.isFunction)(n[1])){const t=e._getListenersMap(this,n[0]);let r=null==t?void 0:t.get(n[1]);r||(r=e.bind(e.active(),n[1]),null==t||t.set(n[1],r)),n[1]=r}return t.apply(this,n)})),(0,s.wrapNatively)(XMLHttpRequest.prototype,"removeEventListener",(t=>function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];if((0,s.isFunction)(n[1])){const t=e._getListenersMap(this,n[0]),r=null==t?void 0:t.get(n[1]);r&&(n[1]=r)}return t.apply(this,n)})),["onabort","onerror","onload","onloadend","onloadstart","onprogress","ontimeout"].forEach((t=>{const r=Object.getOwnPropertyDescriptor(XMLHttpRequestEventTarget.prototype,t);r&&((0,s.wrapNatively)(r,"get",(e=>function(){const t=null==e?void 0:e.call(this);return(0,s.isFunction)(t)&&t._orig?t._orig:t})),(0,s.wrapNatively)(r,"set",(t=>function(r){if((0,s.isFunction)(r)){const t=r,n=e.bind(e.active(),r);n._orig=t,r=n}return null==t?void 0:t.call(this,r)})),Object.defineProperty(XMLHttpRequestEventTarget.prototype,t,r))})),(0,s.wrapNatively)(Window.prototype,"addEventListener",(t=>function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];if("hashchange"===n[0]&&(0,s.isFunction)(n[1])){const t=e._getListenersMap(this,n[0]);let r=null==t?void 0:t.get(n[1]);r||(r=e._getWrappedEventListener(n[1],(()=>e._hashChangeContext)),null==t||t.set(n[1],r)),n[1]=r}return t.apply(this,n)}));const t=Object.getOwnPropertyDescriptor(window,"onhashchange");t&&((0,s.wrapNatively)(t,"get",(e=>function(){const t=null==e?void 0:e.call(this);return(0,s.isFunction)(t)&&t._orig?t._orig:t})),(0,s.wrapNatively)(t,"set",(t=>function(r){if((0,s.isFunction)(r)){const t=e._getWrappedEventListener(r,(()=>e._hashChangeContext));t._orig=r,r=t}return null==t?void 0:t.call(this,r)})),Object.defineProperty(window,"onhashchange",t))}_patchMessageChannel(){const e=this;(0,s.wrapNatively)(window,"MessageChannel",(t=>class extends t{constructor(...t){super(...t),e._messagePorts.set(this.port1,this.port2),e._messagePorts.set(this.port2,this.port1),Object.defineProperty(this.port1,a,{enumerable:!1,value:null,writable:!0}),Object.defineProperty(this.port2,a,{enumerable:!1,value:null,writable:!0})}})),(0,s.wrapNatively)(MessagePort.prototype,"postMessage",(t=>function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];const o=e.active();if(!e._messagePorts.has(this)||!o)return t.apply(this,n);const c=e._messagePorts.get(this);c[a]=o;const u=t.apply(this,n);return(0,s.getOriginalFunction)(setTimeout)((()=>{c[a]===o&&(c[a]=null)}),100),u})),(0,s.wrapNatively)(MessagePort.prototype,"addEventListener",(t=>function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];if("message"===n[0]&&(0,s.isFunction)(n[1])){const t=e._getListenersMap(this,n[0]);let r=null==t?void 0:t.get(n[1]);r||(r=e._getWrappedEventListener(n[1],(()=>this[a])),null==t||t.set(n[1],r)),n[1]=r}return t.apply(this,n)})),(0,s.wrapNatively)(MessagePort.prototype,"removeEventListener",(t=>function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];if("message"===n[0]&&(0,s.isFunction)(n[1])){const t=e._getListenersMap(this,n[0]),r=null==t?void 0:t.get(n[1]);r&&(n[1]=r)}return t.apply(this,n)}));const t=Object.getOwnPropertyDescriptor(MessagePort.prototype,"onmessage");t&&((0,s.wrapNatively)(t,"get",(e=>function(){const t=null==e?void 0:e.call(this);return(0,s.isFunction)(t)&&t._orig?t._orig:t})),(0,s.wrapNatively)(t,"set",(t=>function(r){if((0,s.isFunction)(r)){const t=e._getWrappedEventListener(r,(()=>this[a]));t._orig=r,r=t}return null==t?void 0:t.call(this,r)})),Object.defineProperty(MessagePort.prototype,"onmessage",t))}_patchMutationObserver(){const e=this;(0,s.wrapNatively)(window,"MutationObserver",(t=>class extends t{observe(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];if(r[0]&&r[0]instanceof Text&&!r[0].parentNode&&r[1]&&r[1].characterData){const t=this,n=r[0],i=Object.getOwnPropertyDescriptor(CharacterData.prototype,"data");Object.defineProperty(n,"data",{...i,enumerable:!1,set:function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];var s;const c=e.active();return c&&(t[a]=c),null==i||null===(s=i.set)||void 0===s?void 0:s.apply(this,n)}})}return super.observe(...r)}constructor(...t){if((0,s.isFunction)(t[0])){const r=t[0];t[0]=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return this[a]&&e._enabled?e.with(this[a],r,this,...n):r.apply(this,n)}}super(...t),Object.defineProperty(this,a,{enumerable:!1,value:null,writable:!0})}}))}_patchPromise(){if(!window.Promise)return;const e=this;(0,s.wrapNatively)(Promise.prototype,"then",(t=>function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return e.bindActiveToArgument(n,0),e.bindActiveToArgument(n,1),t.apply(this,n)})),(0,s.wrapNatively)(Promise.prototype,"catch",(t=>function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return e.bindActiveToArgument(n,0),t.apply(this,n)})),(0,s.wrapNatively)(Promise.prototype,"finally",(t=>function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return e.bindActiveToArgument(n,0),t.apply(this,n)}))}_patchTimeouts(){const e=this;(0,s.wrapNatively)(window,"setTimeout",(t=>function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return(!n[1]||n[1]<=34)&&e.bindActiveToArgument(n,0),t.apply(this,n)})),window.setImmediate&&(0,s.wrapNatively)(window,"setImmediate",(t=>function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return e.bindActiveToArgument(n,0),t.apply(this,n)})),window.requestAnimationFrame&&(0,s.wrapNatively)(window,"requestAnimationFrame",(t=>function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return e.bindActiveToArgument(n,0),t.apply(this,n)}))}_unpatchEvents(){(0,o.unwrap)(XMLHttpRequest.prototype,"addEventListener"),(0,o.unwrap)(XMLHttpRequest.prototype,"removeEventListener")}_unpatchMessageChannel(){(0,o.unwrap)(window,"MessageChannel"),(0,o.unwrap)(MessagePort.prototype,"postMessage"),(0,o.unwrap)(MessagePort.prototype,"addEventListener"),(0,o.unwrap)(MessagePort.prototype,"removeEventListener");const e=Object.getOwnPropertyDescriptor(MessagePort.prototype,"onmessage");e&&((0,o.unwrap)(e,"get"),(0,o.unwrap)(e,"set"),Object.defineProperty(MessagePort.prototype,"onmessage",e))}_unpatchMutationObserver(){(0,o.unwrap)(window,"MutationObserver")}_unpatchPromise(){window.Promise&&((0,o.unwrap)(Promise.prototype,"then"),(0,o.unwrap)(Promise.prototype,"catch"),(0,o.unwrap)(Promise.prototype,"finally"))}_unpatchTimeouts(){(0,o.unwrap)(window,"setTimeout"),window.setImmediate&&(0,o.unwrap)(window,"setImmediate")}bindActiveToArgument(e,t){(0,s.isFunction)(e[t])&&(e[t]=this.bind(this.active(),e[t]))}constructor(e={}){n._(this,"_config",void 0),n._(this,"_currentContext",void 0),n._(this,"_contextResumingListeners",void 0),n._(this,"_enabled",void 0),n._(this,"_hashChangeContext",void 0),n._(this,"_messagePorts",void 0),this._config=e,this._currentContext=i.ROOT_CONTEXT,this._contextResumingListeners=new WeakMap,this._enabled=!1,this._hashChangeContext=null,this._messagePorts=new WeakMap}}},1050(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SplunkSamplerWrapper",{enumerable:!0,get:function(){return i}});const n=r(4609);class i{shouldSample(e,t,r,n,i,o){return this.options.decider.shouldSample(e,t,r,n,i,o)}toString(){return"SplunkSampler{decider=".concat(this.options.decider.toString(),"}")}constructor(e){n._(this,"options",void 0),this.options=e}}},3118(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"SplunkWebTracerProvider",{enumerable:!0,get:function(){return o}}),r(3871);const n=r(4299),i=r(9816);class o extends i.WebTracerProvider{shutdown(){return new Promise((e=>{n.propagation.disable(),n.context.disable(),n.trace.disable(),e()})).then((()=>super.shutdown()))}}},1554(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get SYNTHETICS_RUN_ID_ATTRIBUTE(){return r},get getSyntheticsRunId(){return n}});const r="Synthetics-RunId";function n(){return window.syntheticsRunId}},3722(e,t,r){"use strict";function n(e){return["cookie","localStorage"].includes(e)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isPersistenceType",{enumerable:!0,get:function(){return n}}),r(8808)},5790(e,t){"use strict";function r(e){if("object"!=typeof e||null===e)return!1;const t=e;return"string"==typeof t.sessionId&&t.sessionId.length>0&&"number"==typeof t.sessionStart&&Number.isFinite(t.sessionStart)&&t.sessionStart>0&&"number"==typeof t.sessionLastActivity&&Number.isFinite(t.sessionLastActivity)&&t.sessionLastActivity>0&&"string"==typeof t.anonymousUserId&&t.anonymousUserId.length>0}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isValidExternalSessionMetadata",{enumerable:!0,get:function(){return r}})},558(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5235);n._(r(3722),t),n._(r(8728),t),n._(r(2600),t)},362(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isError",{enumerable:!0,get:function(){return n}}),r(5601);const n=e=>{var t,r;return null!==e&&"object"==typeof e&&(e instanceof Error||(null===(t=e.constructor.name)||void 0===t?void 0:t.endsWith("Error"))||(null===(r=e.constructor.name)||void 0===r?void 0:r.endsWith("Exception")))}},8728(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5235);n._(r(362),t),n._(r(9074),t),n._(r(7479),t)},9074(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get isCommentNode(){return c},get isDocumentNode(){return o},get isElement(){return n},get isInputElement(){return i},get isLinkElement(){return u},get isMediaElement(){return _},get isMetaElement(){return l},get isNode(){return r},get isNonNativeShadowRoot(){return a},get isScriptElement(){return p},get isScriptOrNoScriptElement(){return h},get isShadowRoot(){return s},get isStyleElement(){return d},get isTextNode(){return f}});const r=e=>void 0!==(null==e?void 0:e.nodeName),n=e=>(null==e?void 0:e.nodeType)===Node.ELEMENT_NODE,i=e=>"INPUT"===e.nodeName,o=e=>Boolean(e)&&(null==e?void 0:e.nodeType)===Node.DOCUMENT_NODE,s=e=>"#document-fragment"===e.nodeName&&"ShadowRoot"===e.constructor.name,a=e=>"#document-fragment"===e.nodeName&&"ShadowRoot"!==e.constructor.name,c=e=>"#comment"===e.nodeName,u=e=>"LINK"===e.nodeName,l=e=>"META"===e.nodeName,d=e=>null!==e&&("STYLE"===e.nodeName||"style"===e.nodeName),p=e=>"SCRIPT"===e.nodeName,h=e=>"SCRIPT"===e.nodeName||"NOSCRIPT"===e.nodeName,f=e=>e.nodeType===Node.TEXT_NODE,_=e=>"IMG"===e.tagName||"VIDEO"===e.tagName||"AUDIO"===e.tagName},7479(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get hasToString(){return r},get isString(){return n}});const r=e=>!!e&&"function"==typeof e.toString,n=e=>"string"==typeof e},2600(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0})},2851(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AttributeNames",{enumerable:!0,get:function(){return r}});var r=function(e){return e.EVENT_TYPE="event_type",e.TARGET_ELEMENT="target_element",e.TARGET_INTERACTIVE="target_interactive",e.TARGET_XPATH="target_xpath",e.HTTP_URL="http.url",e}({})},1761(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"UserInteractionInstrumentation",{enumerable:!0,get:function(){return f}});const n=r(4609),i=r(4922);r(7490),r(4452),r(6841),r(8641),r(3076),r(259),r(6093),r(7544),r(8909),r(6718),r(5493),r(313);const o=i._(r(4299)),s=r(2903),a=r(2228),c=r(558),u=r(7034),l=r(2851),d=r(1255),p=["click"];function h(){return!1}class f extends s.InstrumentationBase{_patchHistoryApi(){this._unpatchHistoryApi(),this._wrap(history,"replaceState",this._patchHistoryMethod()),this._wrap(history,"pushState",this._patchHistoryMethod()),this._wrap(history,"back",this._patchHistoryMethod()),this._wrap(history,"forward",this._patchHistoryMethod()),this._wrap(history,"go",this._patchHistoryMethod())}_patchHistoryMethod(){const e=this;return t=>function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];const o="".concat(location.pathname).concat(location.hash).concat(location.search),s=t.apply(this,n),a="".concat(location.pathname).concat(location.hash).concat(location.search);return o!==a&&e._updateInteractionName(a),s}}_unpatchHistoryApi(){(0,s.isWrapped)(history.replaceState)&&this._unwrap(history,"replaceState"),(0,s.isWrapped)(history.pushState)&&this._unwrap(history,"pushState"),(0,s.isWrapped)(history.back)&&this._unwrap(history,"back"),(0,s.isWrapped)(history.forward)&&this._unwrap(history,"forward"),(0,s.isWrapped)(history.go)&&this._unwrap(history,"go")}_updateInteractionName(e){const t=o.trace.getSpan(o.context.active());t&&"function"==typeof t.updateName&&t.updateName("".concat("Navigation:"," ").concat(e))}disable(){this._getPatchableEventTargets().forEach((e=>{(0,s.isWrapped)(e.addEventListener)&&this._unwrap(e,"addEventListener"),(0,s.isWrapped)(e.removeEventListener)&&this._unwrap(e,"removeEventListener")})),this._unpatchHistoryApi()}enable(){this._zonePatched=!1,this._getPatchableEventTargets().forEach((e=>{(0,s.isWrapped)(e.addEventListener)&&(this._unwrap(e,"addEventListener"),this._diag.debug("removing previous patch from method addEventListener")),(0,s.isWrapped)(e.removeEventListener)&&(this._unwrap(e,"removeEventListener"),this._diag.debug("removing previous patch from method removeEventListener")),this._wrap(e,"addEventListener",this._patchAddEventListener()),this._wrap(e,"removeEventListener",this._patchRemoveEventListener())})),this._patchHistoryApi()}getZoneWithPrototype(){}init(){}_allowEventName(e){return this._eventNames.has(e)}_createSpan(e,t,r){if(!(e instanceof Element))return;if(!e.getAttribute)return;if(e.hasAttribute("disabled"))return;if(!this._allowEventName(t))return;const n=(0,u.getElementXPath)(e,!0),i=this._isInteractiveElement(e);try{const s=this.tracer.startSpan(t,{attributes:{[l.AttributeNames.EVENT_TYPE]:t,[l.AttributeNames.HTTP_URL]:window.location.href,[l.AttributeNames.TARGET_ELEMENT]:e.tagName,[l.AttributeNames.TARGET_INTERACTIVE]:i,[l.AttributeNames.TARGET_XPATH]:n,component:this.moduleName}},r?o.trace.setSpan(o.context.active(),r):void 0);if(!0===this._shouldPreventSpanCreation(t,e,s))return;return this._spansData.set(s,{taskCount:0}),s}catch(e){this._diag.error("failed to start create new user interaction span",e)}}_getPatchableEventTargets(){return window.EventTarget?[EventTarget.prototype]:[Node.prototype,Window.prototype]}_invokeListener(e,t,r){return"function"==typeof e?e.apply(t,r):e.handleEvent(r[0])}_isInteractiveElement(e){const t=e.tagName.toUpperCase();if("BUTTON"===t)return!0;if("A"===t){const t=e.getAttribute("href");return!(t&&!t.startsWith("javascript:"))}var r;return"INPUT"===t?"submit"===(null!==(r=e.getAttribute("type"))&&void 0!==r?r:"").toLowerCase():"button"===e.getAttribute("role")}_patchAddEventListener(){const e=this;return t=>function(r,n,i){if(!n)return t.call(this,r,n,i);const s=i&&"object"==typeof i&&i.once,l=function(){for(var t=arguments.length,i=new Array(t),l=0;l<t;l++)i[l]=arguments[l];const d=i[0],p=e._eventsSpanMap.get(d),h=null==d?void 0:d.target;s&&e.removePatchedListener(this,r,n);const f=e._createSpan(h,r,p);if(!f)return e._invokeListener(n,this,i);if("click"===d.type&&d.target&&(0,c.isNode)(d.target)){const t=(0,u.getTextFromNode)(d.target,(t=>!a.PrivacyManager.shouldMaskTextNode(t,e.otelConfig.privacy)));f.setAttribute("target_text",t||"<".concat(d.target.nodeName.toLowerCase(),">")),(0,u.captureElementDataAttributes)(f,d.target,e.otelConfig._experimental_dataAttributesToCapture)}return e._eventsSpanMap.set(d,f),o.context.with(o.trace.setSpan(o.context.active(),f),(()=>{const t=e._invokeListener(n,this,i);return f.end(),t}))};return e.addPatchedListener(this,r,n,l)?t.call(this,r,l,i):void 0}}_patchRemoveEventListener(){const e=this;return t=>function(r,n,i){const o=n&&e.removePatchedListener(this,r,n);return o?t.call(this,r,o,i):t.call(this,r,n,i)}}addPatchedListener(e,t,r,n){let i=this._wrappedListeners.get(r);i||(i=new Map,this._wrappedListeners.set(r,i));let o=i.get(t);return o||(o=new Map,i.set(t,o)),!o.has(e)&&(o.set(e,n),!0)}removePatchedListener(e,t,r){const n=this._wrappedListeners.get(r);if(!n)return;const i=n.get(t);if(!i)return;const o=i.get(e);return o&&(i.delete(e),0===i.size&&(n.delete(t),0===n.size&&this._wrappedListeners.delete(r))),o}constructor(e,t){var r;super("@opentelemetry/instrumentation-user-interaction",d.VERSION,e),n._(this,"otelConfig",void 0),n._(this,"moduleName",void 0),n._(this,"version",void 0),n._(this,"_eventNames",void 0),n._(this,"_eventsSpanMap",void 0),n._(this,"_shouldPreventSpanCreation",void 0),n._(this,"_spansData",void 0),n._(this,"_wrappedListeners",void 0),n._(this,"_zonePatched",void 0),this.otelConfig=t,this.moduleName="user-interaction",this.version=d.VERSION,this._eventsSpanMap=new WeakMap,this._spansData=new WeakMap,this._wrappedListeners=new WeakMap,this._eventNames=new Set(null!==(r=null==e?void 0:e.eventNames)&&void 0!==r?r:p),this._shouldPreventSpanCreation="function"==typeof(null==e?void 0:e.shouldPreventSpanCreation)?e.shouldPreventSpanCreation:h}}},1255(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VERSION",{enumerable:!0,get:function(){return r}});const r="0.34.0"},6465(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get generateId(){return s},get getOriginalFunction(){return p},get getPluginConfig(){return c},get isFunction(){return u},get isIframe(){return l},get limitLen(){return a},get waitForGlobal(){return h},get wrapNatively(){return d}}),r(2206);const n=r(768),i=r(2567),o=(0,n.customAlphabet)("0123456789abcdef");function s(e){return o(e/4)}function a(e,t){return e.length>t?e.slice(0,Math.max(0,t)):e}function c(e,t,r){return!1===e?e:(void 0!==e||!r)&&Object.assign({},t,e)}function u(e){return"function"==typeof e}function l(){try{return window.self!==window.top}catch{return!0}}function d(e,t,r){const n=e[t];(0,i.wrap)(e,t,r);const o=e[t];n.toString&&(o.toString=n.toString.bind(n))}function p(e){for(;e.__original&&e.__original!==e;)e=e.__original;return e}function h(e,t){const r=window;if(r[e])return t(r[e]),()=>{};const n=r[e];let i=!1;return Object.defineProperty(window,e,{configurable:!0,enumerable:!1,get:()=>n,set(n){delete r[e],i=!0,r[e]=n,t(n)}}),()=>{i||r[e]!==n||(delete window[e],void 0!==n&&(r[e]=n))}}},1037(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get getValidAttributes(){return i},get isPlainObject(){return n},get isValidAttributeValue(){return a},get removeEmptyProperties(){return s},get removePropertiesWithAdvancedTypes(){return o}}),r(3076),r(4452),r(6841);const n=e=>{if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype},i=e=>n(e)?o(s(e)):{},o=e=>{const t={};for(const[r,n]of Object.entries(e))a(n)&&(t[r]=n);return t},s=e=>{const t={...e};return Object.entries(t).forEach((e=>{let[r,n]=e;""!==n&&null!=n||delete t[r]})),t},a=e=>"string"==typeof e||"number"==typeof e||"boolean"==typeof e},8764(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get isAgentLoadedViaLatestTag(){return i},get isAgentLoadedViaNextTag(){return o}}),r(7490);const n=r(558),i=()=>{let e=!1;try{if(document.currentScript&&(0,n.isScriptElement)(document.currentScript)){const t=document.currentScript.src;e=/\/o11y-gdi-rum\/latest\//i.test(t)}}catch{}return e},o=()=>{let e=!1;try{if(document.currentScript&&(0,n.isScriptElement)(document.currentScript)){const t=document.currentScript.src;e=/\/o11y-gdi-rum\/next\//i.test(t)}}catch{}return e}},1818(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get captureElementDataAttributes(){return s},get normalizeDataAttributeName(){return i}}),r(7490),r(4327),r(8981),r(3076);const n=r(558);function i(e){const t=e.slice(5).toLowerCase().replaceAll(/-([a-z])/g,((e,t)=>t.toUpperCase()));return"element.dataset.".concat(t)}function o(e){const t=e.replaceAll(/([A-Z])/g,"-$1").toLowerCase();return"data-".concat(t)}function s(e,t,r){if(r&&0!==r.length&&(0,n.isElement)(t))for(const n of r){const r=n.startsWith("data-")?n:o(n),s=t.getAttribute(r);if(null!==s){const t=i(r);e.setAttribute(t,s)}}}},2304(e,t,r){"use strict";async function n(e){if("undefined"==typeof crypto||!crypto.subtle||!crypto.subtle.digest)return null;try{const t=(new TextEncoder).encode(e),r=await crypto.subtle.digest("SHA-256",t);return Array.from(new Uint8Array(r)).map((e=>e.toString(16).padStart(2,"0"))).join("")}catch{return null}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"hashSHA256",{enumerable:!0,get:function(){return n}}),r(6644),r(4061),r(5253),r(2188),r(7387),r(4747),r(1302),r(91),r(4460),r(7886),r(7934),r(7609),r(2534),r(4452),r(8298),r(3871)},4048(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"safelyAccessFrameElementFromDocument",{enumerable:!0,get:function(){return r}});const r=e=>{let t=null;try{var r,n;t=null!==(r=null===(n=e.defaultView)||void 0===n?void 0:n.frameElement)&&void 0!==r?r:null}catch{}return t}},7034(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=r(5235);n._(r(8764),t),n._(r(1818),t),n._(r(3791),t),n._(r(4122),t),n._(r(911),t),n._(r(873),t)},5252(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isBot",{enumerable:!0,get:function(){return o}});const n=r(6523);function i(){const e=n._([" daum[ /]| deusu/| yadirectfetcher|(?:^|[^g])news(?!sapphire)|(?<! (?:channel/|google/))google(?!(app|/google| pixel))|(?<! cu)bots?(?:\b|_)|(?<!(?:lib))http|(?<![hg]m)score|@[a-z][w-]+.|()|.com\b|\btime/|^<|^[w .-(?:):%]+(?:/v?d+(?:.d+)?(?:.d{1,10})*?)?(?:,|$)|^[^ ]{50,}$|^d+\b|^w*search\b|^w+/[w()]*$|^active|^ad muncher|^amaya|^avsdevicesdk/|^biglotron|^bot|^bw/|^clamav[ /]|^client/|^cobweb/|^custom|^ddg[_-]android|^discourse|^dispatch/d|^downcast/|^duckduckgo|^email|^facebook|^getright/|^gozilla/|^hobbit|^hotzonu|^hwcdn/|^igetter/|^jeode/|^jetty/|^jigsaw|^microsoft bits|^movabletype|^mozilla/5.0s[a-z.-]+$|^mozilla/d.d (compatible;?)$|^mozilla/d.d w*$|^navermailapp|^netsurf|^offline|^openai/|^owler|^php|^postman|^python|^rank|^read|^reed|^rest|^rss|^snapchat|^space bison|^svn|^swcd |^taringa|^thumbor/|^track|^w3c|^webbandit/|^webcopier|^wget|^whatsapp|^wordpress|^xenu link sleuth|^yahoo|^yandex|^zdm/d|^zoom marketplace/|^{{.*}}$|adscanner/|analyzer|archive|ask jeeves/teoma|audit|bit.ly/|bluecoat drtr|browsex|burpcollaborator|capture|catch|check\b|checker|chrome-lighthouse|chromeframe|classifier|cloudflare|convertify|cookiehubscan|crawl|cypress/|dareboost|datanyze|dejaclick|detect|dmbrowser|download|evc-batch/|exaleadcloudview|feed|firephp|functionize|gomezagent|headless|httrack|hubspot marketing grader|hydra|ibisbrowser|images|infrawatch|insight|inspect|iplabel|ips-agent|java(?!;)|jsjcw_scanner|library|linkcheck|mail.ru/|manager|measure|neustar wpm|node|nutch|offbyone|optimize|pageburst|pagespeed|parser|perl|phantomjs|pingdom|powermarks|preview|proxy|ptst[ /]d|reputation|resolver|retriever|rexx;|rigor|rss\b|scanner.|scrape|server|sogou|sparkler/|speedcurve|spider|splash|statuscake|supercleaner|synapse|tools|torrent|trace|transcoder|url|validator|virtuoso|wappalyzer|webglance|webkit2png|whatcms/|zgrab"],[" daum[ /]| deusu/| yadirectfetcher|(?:^|[^g])news(?!sapphire)|(?<! (?:channel/|google/))google(?!(app|/google| pixel))|(?<! cu)bots?(?:\\b|_)|(?<!(?:lib))http|(?<![hg]m)score|@[a-z][\\w-]+\\.|\\(\\)|\\.com\\b|\\btime/|^<|^[\\w \\.\\-\\(?:\\):%]+(?:/v?\\d+(?:\\.\\d+)?(?:\\.\\d{1,10})*?)?(?:,|$)|^[^ ]{50,}$|^\\d+\\b|^\\w*search\\b|^\\w+/[\\w\\(\\)]*$|^active|^ad muncher|^amaya|^avsdevicesdk/|^biglotron|^bot|^bw/|^clamav[ /]|^client/|^cobweb/|^custom|^ddg[_-]android|^discourse|^dispatch/\\d|^downcast/|^duckduckgo|^email|^facebook|^getright/|^gozilla/|^hobbit|^hotzonu|^hwcdn/|^igetter/|^jeode/|^jetty/|^jigsaw|^microsoft bits|^movabletype|^mozilla/5\\.0\\s[a-z\\.-]+$|^mozilla/\\d\\.\\d \\(compatible;?\\)$|^mozilla/\\d\\.\\d \\w*$|^navermailapp|^netsurf|^offline|^openai/|^owler|^php|^postman|^python|^rank|^read|^reed|^rest|^rss|^snapchat|^space bison|^svn|^swcd |^taringa|^thumbor/|^track|^w3c|^webbandit/|^webcopier|^wget|^whatsapp|^wordpress|^xenu link sleuth|^yahoo|^yandex|^zdm/\\d|^zoom marketplace/|^{{.*}}$|adscanner/|analyzer|archive|ask jeeves/teoma|audit|bit\\.ly/|bluecoat drtr|browsex|burpcollaborator|capture|catch|check\\b|checker|chrome-lighthouse|chromeframe|classifier|cloudflare|convertify|cookiehubscan|crawl|cypress/|dareboost|datanyze|dejaclick|detect|dmbrowser|download|evc-batch/|exaleadcloudview|feed|firephp|functionize|gomezagent|headless|httrack|hubspot marketing grader|hydra|ibisbrowser|images|infrawatch|insight|inspect|iplabel|ips-agent|java(?!;)|jsjcw_scanner|library|linkcheck|mail\\.ru/|manager|measure|neustar wpm|node|nutch|offbyone|optimize|pageburst|pagespeed|parser|perl|phantomjs|pingdom|powermarks|preview|proxy|ptst[ /]\\d|reputation|resolver|retriever|rexx;|rigor|rss\\b|scanner\\.|scrape|server|sogou|sparkler/|speedcurve|spider|splash|statuscake|supercleaner|synapse|tools|torrent|trace|transcoder|url|validator|virtuoso|wappalyzer|webglance|webkit2png|whatcms/|zgrab"]);return i=function(){return e},e}function o(e){if(!e)return!1;try{const t=new RegExp(String.raw(i()),"i");return Boolean(e)&&t.test(e)}catch{return!1}}r(803),r(38),r(7490)},7020(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isDebugMode",{enumerable:!0,get:function(){return i}});const n=r(7861),i=()=>"true"===n.LocalStorageProvider.safelyGetValue("splunk_otel_web_debug_mode")},3217(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isSafari",{enumerable:!0,get:function(){return n}}),r(7490);const n=()=>/^((?!chrome|android).)*safari/i.test(navigator.userAgent)},9383(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isTrustedEvent",{enumerable:!0,get:function(){return r}});const r=e=>void 0===e.isTrusted||e.isTrusted},4305(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Observable",{enumerable:!0,get:function(){return o}});const n=r(4609);r(4452),r(6841),r(4229);const i=r(4299);class o{notify(e){this.observers.forEach((t=>{try{t(e)}catch(e){i.diag.error("Observable: Error happened in subscriber",e)}}))}subscribe(e){return this.observers.push(e),()=>{const t=this.observers.indexOf(e);-1!==t&&this.observers.splice(t,1)}}constructor(){n._(this,"observers",[])}}},3468(e,t,r){"use strict";function n(e){const t=e.split("-")[0],r=t.split(".");return{exactVersion:"v".concat(t),majorVersion:"v".concat(r[0]),minorVersion:"v".concat(r[0],".").concat(r[1])}}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"parseVersion",{enumerable:!0,get:function(){return n}}),r(7490)},510(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get createPicker(){return n.createPicker},get isPickerWindow(){return n.isPickerWindow}});const n=r(3469)},9491(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get getBasicPlatformInfo(){return i},get getEnhancedPlatformInfo(){return o}}),r(3871);const n=r(5252);function i(){const e=navigator.userAgentData;return{"user_agent.is_automated":!!navigator.webdriver,"user_agent.is_bot":(0,n.isBot)(navigator.userAgent),"user_agent.language":navigator.language,"user_agent.mobile":null==e?void 0:e.mobile,"user_agent.original":navigator.userAgent,"user_agent.os.name":(null==e?void 0:e.platform)||navigator.platform}}async function o(){var e;const t=i();if(!(null===(e=navigator.userAgentData)||void 0===e?void 0:e.getHighEntropyValues))return t;try{const e=await navigator.userAgentData.getHighEntropyValues(["platformVersion"]);return(null==e?void 0:e.platformVersion)?{...t,"user_agent.os.version":e.platformVersion}:t}catch(e){return console.warn("[Splunk]: Could not get enhanced platform information:",e),t}}},6661(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get getSize(){return n},get hasSizeLikeProperty(){return r}});const r=e=>"string"==typeof e||"object"==typeof e&&null!==e&&("byteLength"in e||"length"in e||"size"in e),n=e=>e.byteLength||e.size||e.length},3791(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get MAX_CLICK_TEXT_LENGTH(){return i},get getTextFromNode(){return s},get trimClickText(){return o}}),r(3076),r(7490),r(4327),r(8981);const n=r(4122),i=50,o=e=>e.length>i?"".concat(e.slice(0,i-3),"..."):e,s=(e,t)=>{let r="";for(const o of(0,n.traverseDFS)(e,{shouldProcessNode:t}))if(o.nodeValue&&(r+=o.nodeValue),r.length>i)break;return r.length>i&&(r=o(r)),r.replaceAll(/\s\s+/g," ").trim()}},4122(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get getParentElement(){return l},get getParentNode(){return u},get traverseDFS(){return a},get traverseElementsToRoot(){return c}}),r(4229),r(259),r(6093),r(7544),r(8909),r(6718),r(5493),r(313),r(3076),r(4452),r(9493);const n=r(9592),i=r(8728),o=r(4048),s=e=>{const t=[];let r=(0,i.isShadowRoot)(e)||(0,i.isNonNativeShadowRoot)(e)?e.host:e.parentNode;for(;r;){t.push(r);const e=r.parentNode;r=null===e&&(0,i.isShadowRoot)(r)?r.host:e}return t};function*a(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{recoverOnNotConnectedNodes:r,shouldProcessNode:o}=t;if((0,n.isNodeNotRecorded)(e))return;if(o&&!o(e))return;const c=new Set,u=document.createTreeWalker(e,NodeFilter.SHOW_ALL,{acceptNode:e=>c.has(e)||(0,n.isNodeNotRecorded)(e)?NodeFilter.FILTER_REJECT:o?o(e)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT});let l=u.currentNode;for(;l;){const e=s(l);if(yield l,(0,i.isElement)(l)&&l.shadowRoot&&(yield*a(l.shadowRoot,t)),c.add(l),r)if(l.isConnected){const t=s(l);for(const[r,n]of e.entries())if(t[r]!==n){u.currentNode=n;break}}else{const t=e.find((e=>e.isConnected));if(!t)return;u.currentNode=t}l=(0,n.shouldSkipProcessingChildren)(u.currentNode)?u.nextSibling():u.nextNode()}}function*c(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t&&(0,i.isDocumentNode)(e))return;let r=(0,i.isElement)(e)?e:l(e);for(;r;){if(yield r,t&&r.parentNode&&(0,i.isDocumentNode)(r.parentNode))return;r=l(r)}}const u=e=>{let t=e.parentNode;return null===t&&((0,i.isShadowRoot)(e)||(0,i.isNonNativeShadowRoot)(e)?t=e.host:(0,i.isDocumentNode)(e)&&(t=(0,o.safelyAccessFrameElementFromDocument)(e))),t},l=e=>{let t=e.parentElement;return null===t&&((0,i.isShadowRoot)(e)||(0,i.isNonNativeShadowRoot)(e)?t=e.host:e.parentNode&&(0,i.isDocumentNode)(e.parentNode)&&(t=(0,o.safelyAccessFrameElementFromDocument)(e.parentNode))),t}},911(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(t,r).get})}(t,{get isBlobUrl(){return i},get isExtensionUrl(){return n}}),r(4452),r(4354);const n=e=>["chrome-extension://","moz-extension://"].some((t=>e.startsWith(t))),i=e=>e.startsWith("blob:")},873(e,t,r){"use strict";function n(e,t){if(e.nodeType===Node.DOCUMENT_NODE)return"/";const r=function(e,t){const r=e.nodeType,n=function(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((r=>{const n=r.localName;return t.includes(r.nodeType)&&n===e.localName})),r.length>0?r.indexOf(e)+1:0}(e);let i;switch(r){case Node.ELEMENT_NODE:{const r=e.getAttribute("id");if(t&&r)return'//*[@id="'.concat(r,'"]');i=e.localName;break}case Node.TEXT_NODE:case Node.CDATA_SECTION_NODE:i="text()";break;case Node.COMMENT_NODE:i="comment()";break;default:return""}return i&&n>1?"/".concat(i,"[").concat(n,"]"):"/".concat(i)}(e,t);if(t&&r.indexOf("@id")>0)return r;let i="";return e.parentNode&&(i+=n(e.parentNode,t)),i+=r,i}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getElementXPath",{enumerable:!0,get:function(){return n}}),r(4229),r(4452),r(8612),r(8808)},2240(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"VERSION",{enumerable:!0,get:function(){return r}});const r="2.5.1"},3435(e,t,r){"use strict";var n=r(2958),i=r(6572),o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not a function")}},9967(e,t,r){"use strict";var n=r(2984),i=r(6572),o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not a constructor")}},6383(e,t,r){"use strict";var n=r(4094),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o("Can't set "+i(e)+" as a prototype")}},7171(e,t,r){"use strict";var n=r(4197).has;e.exports=function(e){return n(e),e}},8440(e,t,r){"use strict";var n=r(1420),i=r(2671),o=r(6680).f,s=n("unscopables"),a=Array.prototype;void 0===a[s]&&o(a,s,{configurable:!0,value:i(null)}),e.exports=function(e){a[s][e]=!0}},4860(e,t,r){"use strict";var n=r(354).charAt;e.exports=function(e,t,r){return t+(r&&n(e,t).length||1)}},2424(e,t,r){"use strict";var n=r(1236),i=TypeError;e.exports=function(e,t){if(n(t,e))return e;throw new i("Incorrect invocation")}},5028(e,t,r){"use strict";var n=r(6201),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not an object")}},8182(e){"use strict";e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},5127(e,t,r){"use strict";var n=r(8619),i=r(7947),o=r(9715),s=n.ArrayBuffer,a=n.TypeError;e.exports=s&&i(s.prototype,"byteLength","get")||function(e){if("ArrayBuffer"!==o(e))throw new a("ArrayBuffer expected");return e.byteLength}},1839(e,t,r){"use strict";var n=r(8619),i=r(8182),o=r(5127),s=n.DataView;e.exports=function(e){if(!i||0!==o(e))return!1;try{return new s(e),!1}catch(e){return!0}}},5878(e,t,r){"use strict";var n=r(1839),i=TypeError;e.exports=function(e){if(n(e))throw new i("ArrayBuffer is detached");return e}},8591(e,t,r){"use strict";var n=r(8619),i=r(9055),o=r(7947),s=r(3149),a=r(5878),c=r(5127),u=r(3316),l=r(2785),d=n.structuredClone,p=n.ArrayBuffer,h=n.DataView,f=Math.max,_=Math.min,E=p.prototype,g=h.prototype,T=i(E.slice),S=o(E,"resizable","get"),v=o(E,"maxByteLength","get"),m=i(g.getInt8),y=i(g.setInt8);e.exports=(l||u)&&function(e,t,r){var n,i=c(e),o=void 0===t?i:s(t),E=!S||!S(e);if(a(e),l&&(e=d(e,{transfer:[e]}),i===o&&(r||E)))return e;if(i>=o&&(!r||E))n=T(e,0,o);else{var g=r&&!E&&v?{maxByteLength:f(o,v(e))}:void 0;n=new p(o,g);for(var O=new h(e),b=new h(n),A=_(o,i),R=0;R<A;R++)y(b,R,m(O,R))}return l||u(e),n}},9997(e,t,r){"use strict";var n,i,o,s=r(8182),a=r(3683),c=r(8619),u=r(2958),l=r(6201),d=r(4608),p=r(1104),h=r(6572),f=r(7574),_=r(6587),E=r(2215),g=r(1236),T=r(912),S=r(8284),v=r(1420),m=r(3759),y=r(9168),O=y.enforce,b=y.get,A=c.Int8Array,R=A&&A.prototype,w=c.Uint8ClampedArray,L=w&&w.prototype,C=A&&T(A),N=R&&T(R),P=Object.prototype,I=c.TypeError,M=v("toStringTag"),D=m("TYPED_ARRAY_TAG"),x="TypedArrayConstructor",U=s&&!!S&&"Opera"!==p(c.opera),k=!1,j={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},V={BigInt64Array:8,BigUint64Array:8},B=function(e){var t=T(e);if(l(t)){var r=b(t);return r&&d(r,x)?r[x]:B(t)}},H=function(e){if(!l(e))return!1;var t=p(e);return d(j,t)||d(V,t)};for(n in j)(o=(i=c[n])&&i.prototype)?O(o)[x]=i:U=!1;for(n in V)(o=(i=c[n])&&i.prototype)&&(O(o)[x]=i);if((!U||!u(C)||C===Function.prototype)&&(C=function(){throw new I("Incorrect invocation")},U))for(n in j)c[n]&&S(c[n],C);if((!U||!N||N===P)&&(N=C.prototype,U))for(n in j)c[n]&&S(c[n].prototype,N);if(U&&T(L)!==N&&S(L,N),a&&!d(N,M))for(n in k=!0,E(N,M,{configurable:!0,get:function(){return l(this)?this[D]:void 0}}),j)c[n]&&f(c[n].prototype,D,n);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:U,TYPED_ARRAY_TAG:k&&D,aTypedArray:function(e){if(H(e))return e;throw new I("Target is not a typed array")},aTypedArrayConstructor:function(e){if(u(e)&&(!S||g(C,e)))return e;throw new I(h(e)+" is not a typed array constructor")},exportTypedArrayMethod:function(e,t,r,n){if(a){if(r)for(var i in j){var o=c[i];if(o&&d(o.prototype,e))try{delete o.prototype[e]}catch(r){try{o.prototype[e]=t}catch(e){}}}N[e]&&!r||_(N,e,r?t:U&&R[e]||t,n)}},exportTypedArrayStaticMethod:function(e,t,r){var n,i;if(a){if(S){if(r)for(n in j)if((i=c[n])&&d(i,e))try{delete i[e]}catch(e){}if(C[e]&&!r)return;try{return _(C,e,r?t:U&&C[e]||t)}catch(e){}}for(n in j)!(i=c[n])||i[e]&&!r||_(i,e,t)}},getTypedArrayConstructor:B,isView:function(e){if(!l(e))return!1;var t=p(e);return"DataView"===t||d(j,t)||d(V,t)},isTypedArray:H,TypedArray:C,TypedArrayPrototype:N}},7051(e,t,r){"use strict";var n=r(8619),i=r(9055),o=r(3683),s=r(8182),a=r(4893),c=r(7574),u=r(2215),l=r(5566),d=r(2264),p=r(2424),h=r(4486),f=r(3149),_=r(1706),E=r(2977),g=r(912),T=r(8284),S=r(8188),v=r(4551),m=r(4064),y=r(5871),O=r(1668),b=r(9168),A=a.PROPER,R=a.CONFIGURABLE,w="ArrayBuffer",L="DataView",C="prototype",N="Wrong index",P=b.getterFor(w),I=b.getterFor(L),M=b.set,D=n[w],x=D,U=x&&x[C],k=n[L],j=k&&k[C],V=Object.prototype,B=n.Array,H=n.RangeError,G=i(S),F=i([].reverse),Y=E.pack,X=E.unpack,W=function(e){return[255&e]},z=function(e){return[255&e,e>>8&255]},K=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},q=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},J=function(e){return Y(_(e),23,4)},$=function(e){return Y(e,52,8)},Q=function(e,t,r){u(e[C],t,{configurable:!0,get:function(){return r(this)[t]}})},Z=function(e,t,r,n){var i=I(e),o=f(r),s=!!n;if(o+t>i.byteLength)throw new H(N);var a=i.bytes,c=o+i.byteOffset,u=v(a,c,c+t);return s?u:F(u)},ee=function(e,t,r,n,i,o){var s=I(e),a=f(r),c=n(+i),u=!!o;if(a+t>s.byteLength)throw new H(N);for(var l=s.bytes,d=a+s.byteOffset,p=0;p<t;p++)l[d+p]=c[u?p:t-p-1]};if(s){var te=A&&D.name!==w;d((function(){D(1)}))&&d((function(){new D(-1)}))&&!d((function(){return new D,new D(1.5),new D(NaN),1!==D.length||te&&!R}))?te&&R&&c(D,"name",w):((x=function(e){return p(this,U),m(new D(f(e)),this,x)})[C]=U,U.constructor=x,y(x,D)),T&&g(j)!==V&&T(j,V);var re=new k(new x(2)),ne=i(j.setInt8);re.setInt8(0,2147483648),re.setInt8(1,2147483649),!re.getInt8(0)&&re.getInt8(1)||l(j,{setInt8:function(e,t){ne(this,e,t<<24>>24)},setUint8:function(e,t){ne(this,e,t<<24>>24)}},{unsafe:!0})}else U=(x=function(e){p(this,U);var t=f(e);M(this,{type:w,bytes:G(B(t),0),byteLength:t}),o||(this.byteLength=t,this.detached=!1)})[C],j=(k=function(e,t,r){p(this,j),p(e,U);var n=P(e),i=n.byteLength,s=h(t);if(s<0||s>i)throw new H("Wrong offset");if(s+(r=void 0===r?i-s:f(r))>i)throw new H("Wrong length");M(this,{type:L,buffer:e,byteLength:r,byteOffset:s,bytes:n.bytes}),o||(this.buffer=e,this.byteLength=r,this.byteOffset=s)})[C],o&&(Q(x,"byteLength",P),Q(k,"buffer",I),Q(k,"byteLength",I),Q(k,"byteOffset",I)),l(j,{getInt8:function(e){return Z(this,1,e)[0]<<24>>24},getUint8:function(e){return Z(this,1,e)[0]},getInt16:function(e){var t=Z(this,2,e,arguments.length>1&&arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=Z(this,2,e,arguments.length>1&&arguments[1]);return t[1]<<8|t[0]},getInt32:function(e){return q(Z(this,4,e,arguments.length>1&&arguments[1]))},getUint32:function(e){return q(Z(this,4,e,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(e){return X(Z(this,4,e,arguments.length>1&&arguments[1]),23)},getFloat64:function(e){return X(Z(this,8,e,arguments.length>1&&arguments[1]),52)},setInt8:function(e,t){ee(this,1,e,W,t)},setUint8:function(e,t){ee(this,1,e,W,t)},setInt16:function(e,t){ee(this,2,e,z,t,arguments.length>2&&arguments[2])},setUint16:function(e,t){ee(this,2,e,z,t,arguments.length>2&&arguments[2])},setInt32:function(e,t){ee(this,4,e,K,t,arguments.length>2&&arguments[2])},setUint32:function(e,t){ee(this,4,e,K,t,arguments.length>2&&arguments[2])},setFloat32:function(e,t){ee(this,4,e,J,t,arguments.length>2&&arguments[2])},setFloat64:function(e,t){ee(this,8,e,$,t,arguments.length>2&&arguments[2])}});O(x,w),O(k,L),e.exports={ArrayBuffer:x,DataView:k}},8188(e,t,r){"use strict";var n=r(5230),i=r(4637),o=r(307);e.exports=function(e){for(var t=n(this),r=o(t),s=arguments.length,a=i(s>1?arguments[1]:void 0,r),c=s>2?arguments[2]:void 0,u=void 0===c?r:i(c,r);u>a;)t[a++]=e;return t}},6473(e,t,r){"use strict";var n=r(307);e.exports=function(e,t,r){for(var i=0,o=arguments.length>2?r:n(t),s=new e(o);o>i;)s[i]=t[i++];return s}},9569(e,t,r){"use strict";var n=r(1099),i=r(3022),o=r(5230),s=r(6590),a=r(4072),c=r(2984),u=r(307),l=r(9147),d=r(2806),p=r(7840),h=r(7492),f=r(7454),_=Array;e.exports=function(e){var t=c(this),r=arguments.length,E=r>1?arguments[1]:void 0,g=void 0!==E;g&&(E=n(E,r>2?arguments[2]:void 0));var T,S,v,m,y,O,b=o(e),A=h(b),R=0;if(!A||this===_&&a(A))for(T=u(b),S=t?new this(T):_(T);T>R;R++)O=g?E(b[R],R):b[R],l(S,R,O);else for(S=t?new this:[],y=(m=p(b,A)).next;!(v=i(y,m)).done;R++){O=g?s(m,E,[v.value,R],!0):v.value;try{l(S,R,O)}catch(e){f(m,"throw",e)}}return d(S,R),S}},3032(e,t,r){"use strict";var n=r(3882),i=r(4637),o=r(307),s=function(e){return function(t,r,s){var a=n(t),c=o(a);if(0===c)return!e&&-1;var u,l=i(s,c);if(e&&r!=r){for(;c>l;)if((u=a[l++])!=u)return!0}else for(;c>l;l++)if((e||l in a)&&a[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},1480(e,t,r){"use strict";var n=r(1099),i=r(382),o=r(5230),s=r(307),a=function(e){var t=1===e;return function(r,a,c){for(var u,l=o(r),d=i(l),p=s(d),h=n(a,c);p-- >0;)if(h(u=d[p],p,l))switch(e){case 0:return u;case 1:return p}return t?-1:void 0}};e.exports={findLast:a(0),findLastIndex:a(1)}},2962(e,t,r){"use strict";var n=r(1099),i=r(382),o=r(5230),s=r(307),a=r(3252),c=r(9147),u=function(e){var t=1===e,r=2===e,u=3===e,l=4===e,d=6===e,p=7===e,h=5===e||d;return function(f,_,E){for(var g,T,S=o(f),v=i(S),m=s(v),y=n(_,E),O=0,b=0,A=t?a(f,m):r||p?a(f,0):void 0;m>O;O++)if((h||O in v)&&(T=y(g=v[O],O,S),e))if(t)c(A,O,T);else if(T)switch(e){case 3:return!0;case 5:return g;case 6:return O;case 2:c(A,b++,g)}else switch(e){case 4:return!1;case 7:c(A,b++,g)}return d?-1:u||l?l:A}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},6731(e,t,r){"use strict";var n=r(2264);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},2943(e,t,r){"use strict";var n=r(3435),i=r(5230),o=r(382),s=r(307),a=TypeError,c="Reduce of empty array with no initial value",u=function(e){return function(t,r,u,l){var d=i(t),p=o(d),h=s(d);if(n(r),0===h&&u<2)throw new a(c);var f=e?h-1:0,_=e?-1:1;if(u<2)for(;;){if(f in p){l=p[f],f+=_;break}if(f+=_,e?f<0:h<=f)throw new a(c)}for(;e?f>=0:h>f;f+=_)f in p&&(l=r(l,p[f],f,d));return l}};e.exports={left:u(!1),right:u(!0)}},2806(e,t,r){"use strict";var n=r(3683),i=r(3357),o=TypeError,s=Object.getOwnPropertyDescriptor,a=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}();e.exports=a?function(e,t){if(i(e)&&!s(e,"length").writable)throw new o("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t}},4551(e,t,r){"use strict";var n=r(9055);e.exports=n([].slice)},3501(e,t,r){"use strict";var n=r(4551),i=Math.floor,o=function(e,t){var r=e.length;if(r<8)for(var s,a,c=1;c<r;){for(a=c,s=e[c];a&&t(e[a-1],s)>0;)e[a]=e[--a];a!==c++&&(e[a]=s)}else for(var u=i(r/2),l=o(n(e,0,u),t),d=o(n(e,u),t),p=l.length,h=d.length,f=0,_=0;f<p||_<h;)e[f+_]=f<p&&_<h?t(l[f],d[_])<=0?l[f++]:d[_++]:f<p?l[f++]:d[_++];return e};e.exports=o},3318(e,t,r){"use strict";var n=r(3357),i=r(2984),o=r(6201),s=r(1420)("species"),a=Array;e.exports=function(e){var t;return n(e)&&(t=e.constructor,(i(t)&&(t===a||n(t.prototype))||o(t)&&null===(t=t[s]))&&(t=void 0)),void 0===t?a:t}},3252(e,t,r){"use strict";var n=r(3318);e.exports=function(e,t){return new(n(e))(0===t?0:t)}},6590(e,t,r){"use strict";var n=r(5028),i=r(7454);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){i(e,"throw",t)}}},173(e,t,r){"use strict";var n=r(1420)("iterator"),i=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){i=!0}};s[n]=function(){return this},Array.from(s,(function(){throw 2}))}catch(e){}e.exports=function(e,t){try{if(!t&&!i)return!1}catch(e){return!1}var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},e(o)}catch(e){}return r}},9715(e,t,r){"use strict";var n=r(9055),i=n({}.toString),o=n("".slice);e.exports=function(e){return o(i(e),8,-1)}},1104(e,t,r){"use strict";var n=r(547),i=r(2958),o=r(9715),s=r(1420)("toStringTag"),a=Object,c="Arguments"===o(function(){return arguments}());e.exports=n?o:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=a(e),s))?r:c?o(t):"Object"===(n=o(t))&&i(t.callee)?"Arguments":n}},5871(e,t,r){"use strict";var n=r(4608),i=r(9838),o=r(1530),s=r(6680);e.exports=function(e,t,r){for(var a=i(t),c=s.f,u=o.f,l=0;l<a.length;l++){var d=a[l];n(e,d)||r&&n(r,d)||c(e,d,u(t,d))}}},802(e,t,r){"use strict";var n=r(2264);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},5186(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},7574(e,t,r){"use strict";var n=r(3683),i=r(6680),o=r(205);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},205(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},9147(e,t,r){"use strict";var n=r(3683),i=r(6680),o=r(205);e.exports=function(e,t,r){n?i.f(e,t,o(0,r)):e[t]=r}},2215(e,t,r){"use strict";var n=r(5572),i=r(6680);e.exports=function(e,t,r){return r.get&&n(r.get,t,{getter:!0}),r.set&&n(r.set,t,{setter:!0}),i.f(e,t,r)}},6587(e,t,r){"use strict";var n=r(2958),i=r(6680),o=r(5572),s=r(5800);e.exports=function(e,t,r,a){a||(a={});var c=a.enumerable,u=void 0!==a.name?a.name:t;if(n(r)&&o(r,u,a),a.global)c?e[t]=r:s(t,r);else{try{a.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=r:i.f(e,t,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return e}},5566(e,t,r){"use strict";var n=r(6587);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},5800(e,t,r){"use strict";var n=r(8619),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},3683(e,t,r){"use strict";var n=r(2264);e.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},3316(e,t,r){"use strict";var n,i,o,s,a=r(8619),c=r(1384),u=r(2785),l=a.structuredClone,d=a.ArrayBuffer,p=a.MessageChannel,h=!1;if(u)h=function(e){l(e,{transfer:[e]})};else if(d)try{p||(n=c("worker_threads"))&&(p=n.MessageChannel),p&&(i=new p,o=new d(2),s=function(e){i.port1.postMessage(null,[e])},2===o.byteLength&&(s(o),0===o.byteLength&&(h=s)))}catch(e){}e.exports=h},2772(e,t,r){"use strict";var n=r(8619),i=r(6201),o=n.document,s=i(o)&&i(o.createElement);e.exports=function(e){return s?o.createElement(e):{}}},2820(e){"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw new t("Maximum allowed index exceeded");return e}},3107(e){"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8553(e,t,r){"use strict";var n=r(2772)("span").classList,i=n&&n.constructor&&n.constructor.prototype;e.exports=i===Object.prototype?void 0:i},140(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1612(e,t,r){"use strict";var n=r(1190).match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},6684(e,t,r){"use strict";var n=r(1190);e.exports=/MSIE|Trident/.test(n)},3290(e,t,r){"use strict";var n=r(1190);e.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},7113(e,t,r){"use strict";var n=r(1190);e.exports=/ipad|iphone|ipod/i.test(n)&&/applewebkit/i.test(n)},8342(e,t,r){"use strict";var n=r(8196);e.exports="NODE"===n},3127(e,t,r){"use strict";var n=r(1190);e.exports=/web0s(?!.*chrome)/i.test(n)},1190(e,t,r){"use strict";var n=r(8619).navigator,i=n&&n.userAgent;e.exports=i?String(i):""},6514(e,t,r){"use strict";var n,i,o=r(8619),s=r(1190),a=o.process,c=o.Deno,u=a&&a.versions||c&&c.version,l=u&&u.v8;l&&(i=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},3822(e,t,r){"use strict";var n=r(1190).match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},8196(e,t,r){"use strict";var n=r(8619),i=r(1190),o=r(9715),s=function(e){return i.slice(0,e.length)===e};e.exports=s("Bun/")?"BUN":s("Cloudflare-Workers")?"CLOUDFLARE":s("Deno/")?"DENO":s("Node.js/")?"NODE":n.Bun&&"string"==typeof Bun.version?"BUN":n.Deno&&"object"==typeof Deno.version?"DENO":"process"===o(n.process)?"NODE":n.window&&n.document?"BROWSER":"REST"},2886(e,t,r){"use strict";var n=r(9055),i=Error,o=n("".replace),s=String(new i("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,c=a.test(s);e.exports=function(e,t){if(c&&"string"==typeof e&&!i.prepareStackTrace)for(;t--;)e=o(e,a,"");return e}},784(e,t,r){"use strict";var n=r(7574),i=r(2886),o=r(3876),s=Error.captureStackTrace;e.exports=function(e,t,r,a){o&&(s?s(e,t):n(e,"stack",i(r,a)))}},3876(e,t,r){"use strict";var n=r(2264),i=r(205);e.exports=!n((function(){var e=new Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",i(1,7)),7!==e.stack)}))},2879(e,t,r){"use strict";var n=r(8619),i=r(1530).f,o=r(7574),s=r(6587),a=r(5800),c=r(5871),u=r(4411);e.exports=function(e,t){var r,l,d,p,h,f=e.target,_=e.global,E=e.stat;if(r=_?n:E?n[f]||a(f,{}):n[f]&&n[f].prototype)for(l in t){if(p=t[l],d=e.dontCallGetSet?(h=i(r,l))&&h.value:r[l],!u(_?l:f+(E?".":"#")+l,e.forced)&&void 0!==d){if(typeof p==typeof d)continue;c(p,d)}(e.sham||d&&d.sham)&&o(p,"sham",!0),s(r,l,p,e)}}},2264(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9897(e,t,r){"use strict";r(7490);var n=r(3022),i=r(6587),o=r(1200),s=r(2264),a=r(1420),c=r(7574),u=a("species"),l=RegExp.prototype;e.exports=function(e,t,r,d){var p=a(e),h=!s((function(){var t={};return t[p]=function(){return 7},7!==""[e](t)})),f=h&&!s((function(){var t=!1,r=/a/;if("split"===e){var n={};n[u]=function(){return r},(r={constructor:n,flags:""})[p]=/./[p]}return r.exec=function(){return t=!0,null},r[p](""),!t}));if(!h||!f||r){var _=/./[p],E=t(p,""[e],(function(e,t,r,i,s){var a=t.exec;return a===o||a===l.exec?h&&!s?{done:!0,value:n(_,t,r,i)}:{done:!0,value:n(e,r,t,i)}:{done:!1}}));i(String.prototype,e,E[0]),i(l,p,E[1])}d&&c(l[p],"sham",!0)}},8332(e,t,r){"use strict";var n=r(3189),i=Function.prototype,o=i.apply,s=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(o):function(){return s.apply(o,arguments)})},1099(e,t,r){"use strict";var n=r(2701),i=r(3435),o=r(3189),s=n(n.bind);e.exports=function(e,t){return i(e),void 0===t?e:o?s(e,t):function(){return e.apply(t,arguments)}}},3189(e,t,r){"use strict";var n=r(2264);e.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},3022(e,t,r){"use strict";var n=r(3189),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},4893(e,t,r){"use strict";var n=r(3683),i=r(4608),o=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=i(o,"name"),c=a&&"something"===function(){}.name,u=a&&(!n||n&&s(o,"name").configurable);e.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},7947(e,t,r){"use strict";var n=r(9055),i=r(3435);e.exports=function(e,t,r){try{return n(i(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},2701(e,t,r){"use strict";var n=r(9715),i=r(9055);e.exports=function(e){if("Function"===n(e))return i(e)}},9055(e,t,r){"use strict";var n=r(3189),i=Function.prototype,o=i.call,s=n&&i.bind.bind(o,o);e.exports=n?s:function(e){return function(){return o.apply(e,arguments)}}},1384(e,t,r){"use strict";var n=r(8619),i=r(8342);e.exports=function(e){if(i){try{return n.process.getBuiltinModule(e)}catch(e){}try{return Function('return require("'+e+'")')()}catch(e){}}}},8538(e,t,r){"use strict";var n=r(8619),i=r(2958);e.exports=function(e,t){return arguments.length<2?(r=n[e],i(r)?r:void 0):n[e]&&n[e][t];var r}},6976(e){"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},1451(e,t,r){"use strict";var n=r(3022),i=r(5028),o=r(6976),s=r(7492);e.exports=function(e,t){t&&"string"==typeof e||i(e);var r=s(e);return o(i(void 0!==r?n(r,e):e))}},7492(e,t,r){"use strict";var n=r(1104),i=r(6627),o=r(8516),s=r(1722),a=r(1420)("iterator");e.exports=function(e){if(!o(e))return i(e,a)||i(e,"@@iterator")||s[n(e)]}},7840(e,t,r){"use strict";var n=r(3022),i=r(3435),o=r(5028),s=r(6572),a=r(7492),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?a(e):t;if(i(r))return o(n(r,e));throw new c(s(e)+" is not iterable")}},6627(e,t,r){"use strict";var n=r(3435),i=r(8516);e.exports=function(e,t){var r=e[t];return i(r)?void 0:n(r)}},4560(e,t,r){"use strict";var n=r(3435),i=r(5028),o=r(3022),s=r(4486),a=r(6976),c="Invalid size",u=RangeError,l=TypeError,d=Math.max,p=function(e,t){this.set=e,this.size=d(t,0),this.has=n(e.has),this.keys=n(e.keys)};p.prototype={getIterator:function(){return a(i(o(this.keys,this.set)))},includes:function(e){return o(this.has,this.set,e)}},e.exports=function(e){i(e);var t=+e.size;if(t!=t)throw new l(c);var r=s(t);if(r<0)throw new u(c);return new p(e,r)}},2147(e,t,r){"use strict";var n=r(9055),i=r(5230),o=Math.floor,s=n("".charAt),a=n("".replace),c=n("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,d,p){var h=r+e.length,f=n.length,_=l;return void 0!==d&&(d=i(d),_=u),a(p,_,(function(i,a){var u;switch(s(a,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,r);case"'":return c(t,h);case"<":u=d[c(a,1,-1)];break;default:var l=+a;if(0===l)return i;if(l>f){var p=o(l/10);return 0===p?i:p<=f?void 0===n[p-1]?s(a,1):n[p-1]+s(a,1):i}u=n[l-1]}return void 0===u?"":u}))}},8619(e,t,r){"use strict";var n=function(e){return e&&e.Math===Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4608(e,t,r){"use strict";var n=r(9055),i=r(5230),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},1646(e){"use strict";e.exports={}},1292(e){"use strict";e.exports=function(e,t){try{1===arguments.length?console.error(e):console.error(e,t)}catch(e){}}},4908(e,t,r){"use strict";var n=r(8538);e.exports=n("document","documentElement")},652(e,t,r){"use strict";var n=r(3683),i=r(2264),o=r(2772);e.exports=!n&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},2977(e){"use strict";var t=Array,r=Math.abs,n=Math.pow,i=Math.floor,o=Math.log,s=Math.LN2;e.exports={pack:function(e,a,c){var u,l,d,p=t(c),h=8*c-a-1,f=(1<<h)-1,_=f>>1,E=23===a?n(2,-24)-n(2,-77):0,g=e<0||0===e&&1/e<0?1:0,T=0;for((e=r(e))!=e||e===1/0?(l=e!=e?1:0,u=f):(u=i(o(e)/s),e*(d=n(2,-u))<1&&(u--,d*=2),(e+=u+_>=1?E/d:E*n(2,1-_))*d>=2&&(u++,d/=2),u+_>=f?(l=0,u=f):u+_>=1?(l=(e*d-1)*n(2,a),u+=_):(l=e*n(2,_-1)*n(2,a),u=0));a>=8;)p[T++]=255&l,l/=256,a-=8;for(u=u<<a|l,h+=a;h>0;)p[T++]=255&u,u/=256,h-=8;return p[T-1]|=128*g,p},unpack:function(e,t){var r,i=e.length,o=8*i-t-1,s=(1<<o)-1,a=s>>1,c=o-7,u=i-1,l=e[u--],d=127&l;for(l>>=7;c>0;)d=256*d+e[u--],c-=8;for(r=d&(1<<-c)-1,d>>=-c,c+=t;c>0;)r=256*r+e[u--],c-=8;if(0===d)d=1-a;else{if(d===s)return r?NaN:l?-1/0:1/0;r+=n(2,t),d-=a}return(l?-1:1)*r*n(2,d-t)}}},382(e,t,r){"use strict";var n=r(9055),i=r(2264),o=r(9715),s=Object,a=n("".split);e.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"===o(e)?a(e,""):s(e)}:s},4064(e,t,r){"use strict";var n=r(2958),i=r(6201),o=r(8284);e.exports=function(e,t,r){var s,a;return o&&n(s=t.constructor)&&s!==r&&i(a=s.prototype)&&a!==r.prototype&&o(e,a),e}},3395(e,t,r){"use strict";var n=r(9055),i=r(2958),o=r(660),s=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(e){return s(e)}),e.exports=o.inspectSource},823(e,t,r){"use strict";var n=r(6201),i=r(7574);e.exports=function(e,t){n(t)&&"cause"in t&&i(e,"cause",t.cause)}},9168(e,t,r){"use strict";var n,i,o,s=r(5683),a=r(8619),c=r(6201),u=r(7574),l=r(4608),d=r(660),p=r(1886),h=r(1646),f="Object already initialized",_=a.TypeError,E=a.WeakMap;if(s||d.state){var g=d.state||(d.state=new E);g.get=g.get,g.has=g.has,g.set=g.set,n=function(e,t){if(g.has(e))throw new _(f);return t.facade=e,g.set(e,t),t},i=function(e){return g.get(e)||{}},o=function(e){return g.has(e)}}else{var T=p("state");h[T]=!0,n=function(e,t){if(l(e,T))throw new _(f);return t.facade=e,u(e,T,t),t},i=function(e){return l(e,T)?e[T]:{}},o=function(e){return l(e,T)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=i(t)).type!==e)throw new _("Incompatible receiver, "+e+" required");return r}}}},4072(e,t,r){"use strict";var n=r(1420),i=r(1722),o=n("iterator"),s=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||s[o]===e)}},3357(e,t,r){"use strict";var n=r(9715);e.exports=Array.isArray||function(e){return"Array"===n(e)}},7138(e,t,r){"use strict";var n=r(1104);e.exports=function(e){var t=n(e);return"BigInt64Array"===t||"BigUint64Array"===t}},2958(e){"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},2984(e,t,r){"use strict";var n=r(9055),i=r(2264),o=r(2958),s=r(1104),a=r(8538),c=r(3395),u=function(){},l=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=n(d.exec),h=!d.test(u),f=function(e){if(!o(e))return!1;try{return l(u,[],e),!0}catch(e){return!1}},_=function(e){if(!o(e))return!1;switch(s(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(d,c(e))}catch(e){return!0}};_.sham=!0,e.exports=!l||i((function(){var e;return f(f.call)||!f(Object)||!f((function(){e=!0}))||e}))?_:f},4411(e,t,r){"use strict";var n=r(2264),i=r(2958),o=/#|\.prototype\./,s=function(e,t){var r=c[a(e)];return r===l||r!==u&&(i(t)?n(t):!!t)},a=s.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=s.data={},u=s.NATIVE="N",l=s.POLYFILL="P";e.exports=s},7958(e,t,r){"use strict";var n=r(6201),i=Math.floor;e.exports=Number.isInteger||function(e){return!n(e)&&isFinite(e)&&i(e)===e}},8516(e){"use strict";e.exports=function(e){return null==e}},6201(e,t,r){"use strict";var n=r(2958);e.exports=function(e){return"object"==typeof e?null!==e:n(e)}},4094(e,t,r){"use strict";var n=r(6201);e.exports=function(e){return n(e)||null===e}},5876(e){"use strict";e.exports=!1},6621(e,t,r){"use strict";var n=r(6201),i=r(9168).get;e.exports=function(e){if(!n(e))return!1;var t=i(e);return!!t&&"RawJSON"===t.type}},4659(e,t,r){"use strict";var n=r(6201),i=r(9715),o=r(1420)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"===i(e))}},8422(e,t,r){"use strict";var n=r(8538),i=r(2958),o=r(1236),s=r(3411),a=Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return i(t)&&o(t.prototype,a(e))}},7442(e,t,r){"use strict";var n=r(3022);e.exports=function(e,t,r){for(var i,o,s=r?e:e.iterator,a=e.next;!(i=n(a,s)).done;)if(void 0!==(o=t(i.value)))return o}},3251(e,t,r){"use strict";var n=r(1099),i=r(3022),o=r(5028),s=r(6572),a=r(4072),c=r(307),u=r(1236),l=r(7840),d=r(7492),p=r(7454),h=TypeError,f=function(e,t){this.stopped=e,this.result=t},_=f.prototype;e.exports=function(e,t,r){var E,g,T,S,v,m,y,O=r&&r.that,b=!(!r||!r.AS_ENTRIES),A=!(!r||!r.IS_RECORD),R=!(!r||!r.IS_ITERATOR),w=!(!r||!r.INTERRUPTED),L=n(t,O),C=function(e){var t=E;return E=void 0,t&&p(t,"normal"),new f(!0,e)},N=function(e){return b?(o(e),w?L(e[0],e[1],C):L(e[0],e[1])):w?L(e,C):L(e)};if(A)E=e.iterator;else if(R)E=e;else{if(!(g=d(e)))throw new h(s(e)+" is not iterable");if(a(g)){for(T=0,S=c(e);S>T;T++)if((v=N(e[T]))&&u(_,v))return v;return new f(!1)}E=l(e,g)}for(m=A?e.next:E.next;!(y=i(m,E)).done;){var P=y.value;try{v=N(P)}catch(e){if(!E)throw e;p(E,"throw",e)}if("object"==typeof v&&v&&u(_,v))return v}return new f(!1)}},4928(e,t,r){"use strict";var n=r(7454);e.exports=function(e,t,r){for(var i=e.length-1;i>=0;i--)if(void 0!==e[i])try{r=n(e[i].iterator,t,r)}catch(e){t="throw",r=e}if("throw"===t)throw r;return r}},7454(e,t,r){"use strict";var n=r(3022),i=r(5028),o=r(6627);e.exports=function(e,t,r){var s,a;i(e);try{if(!(s=o(e,"return"))){if("throw"===t)throw r;return r}s=n(s,e)}catch(e){a=!0,s=e}if("throw"===t)throw r;if(a)throw s;return i(s),r}},2257(e,t,r){"use strict";var n=r(6296).IteratorPrototype,i=r(2671),o=r(205),s=r(1668),a=r(1722),c=function(){return this};e.exports=function(e,t,r,u){var l=t+" Iterator";return e.prototype=i(n,{next:o(+!u,r)}),s(e,l,!1,!0),a[l]=c,e}},1853(e,t,r){"use strict";var n=r(3022),i=r(2671),o=r(7574),s=r(5566),a=r(1420),c=r(9168),u=r(6627),l=r(6296).IteratorPrototype,d=r(5186),p=r(7454),h=r(4928),f=a("toStringTag"),_="IteratorHelper",E="WrapForValidIterator",g="normal",T="throw",S=c.set,v=function(e){var t=c.getterFor(e?E:_);return s(i(l),{next:function(){var r=t(this);if(e)return r.nextHandler();if(r.done)return d(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:d(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),i=r.iterator,o=r.done;if(r.done=!0,e){var s=u(i,"return");return s?n(s,i):d(void 0,!0)}if(o)return d(void 0,!0);if(r.inner)try{p(r.inner.iterator,g)}catch(e){return p(i,T,e)}if(r.openIters)try{h(r.openIters,g)}catch(e){if(i)return p(i,T,e);throw e}return i&&p(i,g),d(void 0,!0)}})},m=v(!0),y=v(!1);o(y,f,"Iterator Helper"),e.exports=function(e,t,r){var n=function(n,i){i?(i.iterator=n.iterator,i.next=n.next):i=n,i.type=t?E:_,i.returnHandlerResult=!!r,i.nextHandler=e,i.counter=0,i.done=!1,S(this,i)};return n.prototype=t?m:y,n}},9507(e,t,r){"use strict";var n=r(2879),i=r(3022),o=r(5876),s=r(4893),a=r(2958),c=r(2257),u=r(912),l=r(8284),d=r(1668),p=r(7574),h=r(6587),f=r(1420),_=r(1722),E=r(6296),g=s.PROPER,T=s.CONFIGURABLE,S=E.IteratorPrototype,v=E.BUGGY_SAFARI_ITERATORS,m=f("iterator"),y="keys",O="values",b="entries",A=function(){return this};e.exports=function(e,t,r,s,f,E,R){c(r,t,s);var w,L,C,N=function(e){if(e===f&&x)return x;if(!v&&e&&e in M)return M[e];switch(e){case y:case O:case b:return function(){return new r(this,e)}}return function(){return new r(this)}},P=t+" Iterator",I=!1,M=e.prototype,D=M[m]||M["@@iterator"]||f&&M[f],x=!v&&D||N(f),U="Array"===t&&M.entries||D;if(U&&(w=u(U.call(new e)))!==Object.prototype&&w.next&&(o||u(w)===S||(l?l(w,S):a(w[m])||h(w,m,A)),d(w,P,!0,!0),o&&(_[P]=A)),g&&f===O&&D&&D.name!==O&&(!o&&T?p(M,"name",O):(I=!0,x=function(){return i(D,this)})),f)if(L={values:N(O),keys:E?x:N(y),entries:N(b)},R)for(C in L)(v||I||!(C in M))&&h(M,C,L[C]);else n({target:t,proto:!0,forced:v||I},L);return o&&!R||M[m]===x||h(M,m,x,{name:f}),_[t]=x,L}},3305(e){"use strict";e.exports=function(e,t){var r="function"==typeof Iterator&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch(e){return!0}}},6612(e,t,r){"use strict";var n=r(8619);e.exports=function(e,t){var r=n.Iterator,i=r&&r.prototype,o=i&&i[e],s=!1;if(o)try{o.call({next:function(){return{done:!0}},return:function(){s=!0}},-1)}catch(e){e instanceof t||(s=!1)}if(!s)return o}},6296(e,t,r){"use strict";var n,i,o,s=r(2264),a=r(2958),c=r(6201),u=r(2671),l=r(912),d=r(6587),p=r(1420),h=r(5876),f=p("iterator"),_=!1;[].keys&&("next"in(o=[].keys())?(i=l(l(o)))!==Object.prototype&&(n=i):_=!0),!c(n)||s((function(){var e={};return n[f].call(e)!==e}))?n={}:h&&(n=u(n)),a(n[f])||d(n,f,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:_}},1722(e){"use strict";e.exports={}},307(e,t,r){"use strict";var n=r(1069);e.exports=function(e){return n(e.length)}},5572(e,t,r){"use strict";var n=r(9055),i=r(2264),o=r(2958),s=r(4608),a=r(3683),c=r(4893).CONFIGURABLE,u=r(3395),l=r(9168),d=l.enforce,p=l.get,h=String,f=Object.defineProperty,_=n("".slice),E=n("".replace),g=n([].join),T=a&&!i((function(){return 8!==f((function(){}),"length",{value:8}).length})),S=String(String).split("String"),v=e.exports=function(e,t,r){"Symbol("===_(h(t),0,7)&&(t="["+E(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!s(e,"name")||c&&e.name!==t)&&(a?f(e,"name",{value:t,configurable:!0}):e.name=t),T&&r&&s(r,"arity")&&e.length!==r.arity&&f(e,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?a&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=d(e);return s(n,"source")||(n.source=g(S,"string"==typeof t?t:"")),e};Function.prototype.toString=v((function(){return o(this)&&p(this).source||u(this)}),"toString")},3213(e,t,r){"use strict";var n=r(3509),i=r(7873),o=Math.abs;e.exports=function(e,t,r,s){var a=+e,c=o(a),u=n(a);if(c<s)return u*i(c/s/t)*s*t;var l=(1+t/2220446049250313e-31)*c,d=l-(l-c);return d>r||d!=d?u*(1/0):u*d}},1706(e,t,r){"use strict";var n=r(3213);e.exports=Math.fround||function(e){return n(e,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)}},7873(e){"use strict";var t=4503599627370496;e.exports=function(e){return e+t-t}},3509(e){"use strict";e.exports=Math.sign||function(e){var t=+e;return 0===t||t!=t?t:t<0?-1:1}},7868(e){"use strict";var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},4424(e,t,r){"use strict";var n,i,o,s,a,c=r(8619),u=r(9086),l=r(1099),d=r(3948).set,p=r(9638),h=r(7113),f=r(3290),_=r(3127),E=r(8342),g=c.MutationObserver||c.WebKitMutationObserver,T=c.document,S=c.process,v=c.Promise,m=u("queueMicrotask");if(!m){var y=new p,O=function(){var e,t;for(E&&(e=S.domain)&&e.exit();t=y.get();)try{t()}catch(e){throw y.head&&n(),e}e&&e.enter()};h||E||_||!g||!T?!f&&v&&v.resolve?((s=v.resolve(void 0)).constructor=v,a=l(s.then,s),n=function(){a(O)}):E?n=function(){S.nextTick(O)}:(d=l(d,c),n=function(){d(O)}):(i=!0,o=T.createTextNode(""),new g(O).observe(o,{characterData:!0}),n=function(){o.data=i=!i}),m=function(e){y.head||n(),y.add(e)}}e.exports=m},6180(e,t,r){"use strict";var n=r(2264);e.exports=!n((function(){var e="9007199254740993",t=JSON.rawJSON(e);return!JSON.isRawJSON(t)||JSON.stringify(t)!==e}))},3714(e,t,r){"use strict";var n=r(3435),i=TypeError,o=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw new i("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new o(e)}},6940(e,t,r){"use strict";var n=r(9164);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:n(e)}},8126(e,t,r){"use strict";var n=r(3683),i=r(9055),o=r(3022),s=r(2264),a=r(7519),c=r(4326),u=r(8234),l=r(5230),d=r(382),p=Object.assign,h=Object.defineProperty,f=i([].concat);e.exports=!p||s((function(){if(n&&1!==p({b:1},p(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[r]=7,i.split("").forEach((function(e){t[e]=e})),7!==p({},e)[r]||a(p({},t)).join("")!==i}))?function(e,t){for(var r=l(e),i=arguments.length,s=1,p=c.f,h=u.f;i>s;)for(var _,E=d(arguments[s++]),g=p?f(a(E),p(E)):a(E),T=g.length,S=0;T>S;)_=g[S++],n&&!o(h,E,_)||(r[_]=E[_]);return r}:p},2671(e,t,r){"use strict";var n,i=r(5028),o=r(864),s=r(140),a=r(1646),c=r(4908),u=r(2772),l=r(1886),d="prototype",p="script",h=l("IE_PROTO"),f=function(){},_=function(e){return"<"+p+">"+e+"</"+p+">"},E=function(e){e.write(_("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}var e,t,r;g="undefined"!=typeof document?document.domain&&n?E(n):(t=u("iframe"),r="java"+p+":",t.style.display="none",c.appendChild(t),t.src=String(r),(e=t.contentWindow.document).open(),e.write(_("document.F=Object")),e.close(),e.F):E(n);for(var i=s.length;i--;)delete g[d][s[i]];return g()};a[h]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(f[d]=i(e),r=new f,f[d]=null,r[h]=e):r=g(),void 0===t?r:o.f(r,t)}},864(e,t,r){"use strict";var n=r(3683),i=r(4017),o=r(6680),s=r(5028),a=r(3882),c=r(7519);t.f=n&&!i?Object.defineProperties:function(e,t){s(e);for(var r,n=a(t),i=c(t),u=i.length,l=0;u>l;)o.f(e,r=i[l++],n[r]);return e}},6680(e,t,r){"use strict";var n=r(3683),i=r(652),o=r(4017),s=r(5028),a=r(5842),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",h="writable";t.f=n?o?function(e,t,r){if(s(e),t=a(t),s(r),"function"==typeof e&&"prototype"===t&&"value"in r&&h in r&&!r[h]){var n=l(e,t);n&&n[h]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:d in r?r[d]:n[d],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(s(e),t=a(t),s(r),i)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw new c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},1530(e,t,r){"use strict";var n=r(3683),i=r(3022),o=r(8234),s=r(205),a=r(3882),c=r(5842),u=r(4608),l=r(652),d=Object.getOwnPropertyDescriptor;t.f=n?d:function(e,t){if(e=a(e),t=c(t),l)try{return d(e,t)}catch(e){}if(u(e,t))return s(!i(o.f,e,t),e[t])}},4463(e,t,r){"use strict";var n=r(5793),i=r(140).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},4326(e,t){"use strict";t.f=Object.getOwnPropertySymbols},912(e,t,r){"use strict";var n=r(4608),i=r(2958),o=r(5230),s=r(1886),a=r(802),c=s("IE_PROTO"),u=Object,l=u.prototype;e.exports=a?u.getPrototypeOf:function(e){var t=o(e);if(n(t,c))return t[c];var r=t.constructor;return i(r)&&t instanceof r?r.prototype:t instanceof u?l:null}},1236(e,t,r){"use strict";var n=r(9055);e.exports=n({}.isPrototypeOf)},5793(e,t,r){"use strict";var n=r(9055),i=r(4608),o=r(3882),s=r(3032).indexOf,a=r(1646),c=n([].push);e.exports=function(e,t){var r,n=o(e),u=0,l=[];for(r in n)!i(a,r)&&i(n,r)&&c(l,r);for(;t.length>u;)i(n,r=t[u++])&&(~s(l,r)||c(l,r));return l}},7519(e,t,r){"use strict";var n=r(5793),i=r(140);e.exports=Object.keys||function(e){return n(e,i)}},8234(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},8284(e,t,r){"use strict";var n=r(7947),i=r(6201),o=r(8963),s=r(6383);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return o(r),s(n),i(r)?(t?e(r,n):r.__proto__=n,r):r}}():void 0)},969(e,t,r){"use strict";var n=r(3022),i=r(2958),o=r(6201),s=TypeError;e.exports=function(e,t){var r,a;if("string"===t&&i(r=e.toString)&&!o(a=n(r,e)))return a;if(i(r=e.valueOf)&&!o(a=n(r,e)))return a;if("string"!==t&&i(r=e.toString)&&!o(a=n(r,e)))return a;throw new s("Can't convert object to primitive value")}},9838(e,t,r){"use strict";var n=r(8538),i=r(9055),o=r(4463),s=r(4326),a=r(5028),c=i([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),r=s.f;return r?c(t,r(e)):t}},6103(e,t,r){"use strict";var n=r(9055),i=r(4608),o=SyntaxError,s=parseInt,a=String.fromCharCode,c=n("".charAt),u=n("".slice),l=n(/./.exec),d={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},p=/^[\da-f]{4}$/i,h=/^[\u0000-\u001F]$/;e.exports=function(e,t){for(var r=!0,n="";t<e.length;){var f=c(e,t);if("\\"===f){var _=u(e,t,t+2);if(i(d,_))n+=d[_],t+=2;else{if("\\u"!==_)throw new o('Unknown escape sequence: "'+_+'"');var E=u(e,t+=2,t+4);if(!l(p,E))throw new o("Bad Unicode escape at: "+t);n+=a(s(E,16)),t+=4}}else{if('"'===f){r=!1,t++;break}if(l(h,f))throw new o("Bad control character in string literal at: "+t);n+=f,t++}}if(r)throw new o("Unterminated string at: "+t);return{value:n,end:t}}},4170(e,t,r){"use strict";var n=r(8619);e.exports=n},3488(e){"use strict";e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},5387(e,t,r){"use strict";var n=r(8619),i=r(8995),o=r(2958),s=r(4411),a=r(3395),c=r(1420),u=r(8196),l=r(5876),d=r(6514),p=i&&i.prototype,h=c("species"),f=!1,_=o(n.PromiseRejectionEvent),E=s("Promise",(function(){var e=a(i),t=e!==String(i);if(!t&&66===d)return!0;if(l&&(!p.catch||!p.finally))return!0;if(!d||d<51||!/native code/.test(e)){var r=new i((function(e){e(1)})),n=function(e){e((function(){}),(function(){}))};if((r.constructor={})[h]=n,!(f=r.then((function(){}))instanceof n))return!0}return!(t||"BROWSER"!==u&&"DENO"!==u||_)}));e.exports={CONSTRUCTOR:E,REJECTION_EVENT:_,SUBCLASSING:f}},8995(e,t,r){"use strict";var n=r(8619);e.exports=n.Promise},4533(e,t,r){"use strict";var n=r(5028),i=r(6201),o=r(3714);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e);return(0,r.resolve)(t),r.promise}},998(e,t,r){"use strict";var n=r(8995),i=r(173),o=r(5387).CONSTRUCTOR;e.exports=o||!i((function(e){n.all(e).then(void 0,(function(){}))}))},6577(e,t,r){"use strict";var n=r(6680).f;e.exports=function(e,t,r){r in e||n(e,r,{configurable:!0,get:function(){return t[r]},set:function(e){t[r]=e}})}},9638(e){"use strict";var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},6903(e,t,r){"use strict";var n=r(3022),i=r(5028),o=r(2958),s=r(9715),a=r(1200),c=TypeError;e.exports=function(e,t){var r=e.exec;if(o(r)){var u=n(r,e,t);return null!==u&&i(u),u}if("RegExp"===s(e))return n(a,e,t);throw new c("RegExp#exec called on incompatible receiver")}},1200(e,t,r){"use strict";var n,i,o=r(3022),s=r(9055),a=r(9164),c=r(3330),u=r(7850),l=r(8876),d=r(2671),p=r(9168).get,h=r(4810),f=r(263),_=l("native-string-replace",String.prototype.replace),E=RegExp.prototype.exec,g=E,T=s("".charAt),S=s("".indexOf),v=s("".replace),m=s("".slice),y=(i=/b*/g,o(E,n=/a/,"a"),o(E,i,"a"),0!==n.lastIndex||0!==i.lastIndex),O=u.BROKEN_CARET,b=void 0!==/()??/.exec("")[1],A=function(e,t){for(var r=e.groups=d(null),n=0;n<t.length;n++){var i=t[n];r[i[0]]=e[i[1]]}};(y||b||O||h||f)&&(g=function(e){var t,r,n,i=this,s=p(i),u=a(e),l=s.raw;if(l)return l.lastIndex=i.lastIndex,t=o(g,l,u),i.lastIndex=l.lastIndex,t&&s.groups&&A(t,s.groups),t;var d=s.groups,h=O&&i.sticky,f=o(c,i),R=i.source,w=0,L=u;if(h){f=v(f,"y",""),-1===S(f,"g")&&(f+="g"),L=m(u,i.lastIndex);var C=i.lastIndex>0&&T(u,i.lastIndex-1);i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==C&&"\r"!==C&&"\u2028"!==C&&"\u2029"!==C)&&(R="(?: (?:"+R+"))",L=" "+L,w++),r=new RegExp("^(?:"+R+")",f)}b&&(r=new RegExp("^"+R+"$(?!\\s)",f)),y&&(n=i.lastIndex);var N=o(E,h?r:i,L);return h?N?(N.input=u,N[0]=m(N[0],w),N.index=i.lastIndex,i.lastIndex+=N[0].length):i.lastIndex=0:y&&N&&(i.lastIndex=i.global?N.index+N[0].length:n),b&&N&&N.length>1&&o(_,N[0],r,(function(){for(var e=1;e<arguments.length-2;e++)void 0===arguments[e]&&(N[e]=void 0)})),N&&d&&A(N,d),N}),e.exports=g},3956(e,t,r){"use strict";var n=r(8619),i=r(2264),o=n.RegExp,s=!i((function(){var e=!0;try{o(".","d")}catch(t){e=!1}var t={},r="",n=e?"dgimsy":"gimsy",i=function(e,n){Object.defineProperty(t,e,{get:function(){return r+=n,!0}})},s={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in e&&(s.hasIndices="d"),s)i(a,s[a]);return Object.getOwnPropertyDescriptor(o.prototype,"flags").get.call(t)!==n||r!==n}));e.exports={correct:s}},3330(e,t,r){"use strict";var n=r(5028);e.exports=function(){var e=n(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},8243(e,t,r){"use strict";var n=r(3022),i=r(4608),o=r(1236),s=r(3956),a=r(3330),c=RegExp.prototype;e.exports=s.correct?function(e){return e.flags}:function(e){return s.correct||!o(c,e)||i(e,"flags")?e.flags:n(a,e)}},7850(e,t,r){"use strict";var n=r(2264),i=r(8619).RegExp,o=n((function(){var e=i("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),s=o||n((function(){return!i("a","y").sticky})),a=o||n((function(){var e=i("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:a,MISSED_STICKY:s,UNSUPPORTED_Y:o}},4810(e,t,r){"use strict";var n=r(2264),i=r(8619).RegExp;e.exports=n((function(){var e=i(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},263(e,t,r){"use strict";var n=r(2264),i=r(8619).RegExp;e.exports=n((function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},8963(e,t,r){"use strict";var n=r(8516),i=TypeError;e.exports=function(e){if(n(e))throw new i("Can't call method on "+e);return e}},9086(e,t,r){"use strict";var n=r(8619),i=r(3683),o=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!i)return n[e];var t=o(n,e);return t&&t.value}},7361(e,t,r){"use strict";var n,i=r(8619),o=r(8332),s=r(2958),a=r(8196),c=r(1190),u=r(4551),l=r(767),d=i.Function,p=/MSIE .\./.test(c)||"BUN"===a&&((n=i.Bun.version.split(".")).length<3||"0"===n[0]&&(n[1]<3||"3"===n[1]&&"0"===n[2]));e.exports=function(e,t){var r=t?2:1;return p?function(n,i){var a=l(arguments.length,1)>r,c=s(n)?n:d(n),p=a?u(arguments,r):[],h=a?function(){o(c,this,p)}:c;return t?e(h,i):e(h)}:e}},3829(e,t,r){"use strict";var n=r(4197),i=r(9750),o=n.Set,s=n.add;e.exports=function(e){var t=new o;return i(e,(function(e){s(t,e)})),t}},6613(e,t,r){"use strict";var n=r(7171),i=r(4197),o=r(3829),s=r(435),a=r(4560),c=r(9750),u=r(7442),l=i.has,d=i.remove;e.exports=function(e){var t=n(this),r=a(e),i=o(t);return s(i)<=r.size?c(i,(function(e){r.includes(e)&&d(i,e)})):u(r.getIterator(),(function(e){l(i,e)&&d(i,e)})),i}},4197(e,t,r){"use strict";var n=r(9055),i=Set.prototype;e.exports={Set:Set,add:n(i.add),has:n(i.has),remove:n(i.delete),proto:i}},2391(e,t,r){"use strict";var n=r(7171),i=r(4197),o=r(435),s=r(4560),a=r(9750),c=r(7442),u=i.Set,l=i.add,d=i.has;e.exports=function(e){var t=n(this),r=s(e),i=new u;return o(t)>r.size?c(r.getIterator(),(function(e){d(t,e)&&l(i,e)})):a(t,(function(e){r.includes(e)&&l(i,e)})),i}},744(e,t,r){"use strict";var n=r(7171),i=r(4197).has,o=r(435),s=r(4560),a=r(9750),c=r(7442),u=r(7454);e.exports=function(e){var t=n(this),r=s(e);if(o(t)<=r.size)return!1!==a(t,(function(e){if(r.includes(e))return!1}),!0);var l=r.getIterator();return!1!==c(l,(function(e){if(i(t,e))return u(l.iterator,"normal",!1)}))}},3975(e,t,r){"use strict";var n=r(7171),i=r(435),o=r(9750),s=r(4560);e.exports=function(e){var t=n(this),r=s(e);return!(i(t)>r.size)&&!1!==o(t,(function(e){if(!r.includes(e))return!1}),!0)}},7038(e,t,r){"use strict";var n=r(7171),i=r(4197).has,o=r(435),s=r(4560),a=r(7442),c=r(7454);e.exports=function(e){var t=n(this),r=s(e);if(o(t)<r.size)return!1;var u=r.getIterator();return!1!==a(u,(function(e){if(!i(t,e))return c(u.iterator,"normal",!1)}))}},9750(e,t,r){"use strict";var n=r(9055),i=r(7442),o=r(4197),s=o.Set,a=o.proto,c=n(a.forEach),u=n(a.keys),l=u(new s).next;e.exports=function(e,t,r){return r?i({iterator:u(e),next:l},t):c(e,t)}},4225(e,t,r){"use strict";var n=r(8538),i=function(e){return{size:e,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},o=function(e){return{size:e,has:function(){return!0},keys:function(){throw new Error("e")}}};e.exports=function(e,t){var r=n("Set");try{(new r)[e](i(0));try{return(new r)[e](i(-1)),!1}catch(n){if(!t)return!0;try{return(new r)[e](o(-1/0)),!1}catch(n){return t(new r([1,2])[e](o(1/0)))}}}catch(e){return!1}}},7210(e){"use strict";e.exports=function(e){try{var t=new Set,r={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}},n=t[e](r);return 1===n.size&&4===n.values().next().value}catch(e){return!1}}},435(e,t,r){"use strict";var n=r(7947),i=r(4197);e.exports=n(i.proto,"size","get")||function(e){return e.size}},2866(e,t,r){"use strict";var n=r(8538),i=r(2215),o=r(1420),s=r(3683),a=o("species");e.exports=function(e){var t=n(e);s&&t&&!t[a]&&i(t,a,{configurable:!0,get:function(){return this}})}},607(e,t,r){"use strict";var n=r(7171),i=r(4197),o=r(3829),s=r(4560),a=r(7442),c=i.add,u=i.has,l=i.remove;e.exports=function(e){var t=n(this),r=s(e).getIterator(),i=o(t);return a(r,(function(e){u(t,e)?l(i,e):c(i,e)})),i}},1668(e,t,r){"use strict";var n=r(6680).f,i=r(4608),o=r(1420)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!i(e,o)&&n(e,o,{configurable:!0,value:t})}},7851(e,t,r){"use strict";var n=r(7171),i=r(4197).add,o=r(3829),s=r(4560),a=r(7442);e.exports=function(e){var t=n(this),r=s(e).getIterator(),c=o(t);return a(r,(function(e){i(c,e)})),c}},1886(e,t,r){"use strict";var n=r(8876),i=r(3759),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},660(e,t,r){"use strict";var n=r(5876),i=r(8619),o=r(5800),s="__core-js_shared__",a=e.exports=i[s]||o(s,{});(a.versions||(a.versions=[])).push({version:"3.49.0",mode:n?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"})},8876(e,t,r){"use strict";var n=r(660);e.exports=function(e,t){return n[e]||(n[e]=t||{})}},1158(e,t,r){"use strict";var n=r(5028),i=r(9967),o=r(8516),s=r(1420)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||o(r=n(a)[s])?t:i(r)}},354(e,t,r){"use strict";var n=r(9055),i=r(4486),o=r(9164),s=r(8963),a=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,r){var n,l,d=o(s(t)),p=i(r),h=d.length;return p<0||p>=h?e?"":void 0:(n=c(d,p))<55296||n>56319||p+1===h||(l=c(d,p+1))<56320||l>57343?e?a(d,p):n:e?u(d,p,p+2):l-56320+(n-55296<<10)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},6064(e,t,r){"use strict";var n=r(9055),i=2147483647,o=/[^\0-\u007E]/,s=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",c=RangeError,u=n(s.exec),l=Math.floor,d=String.fromCharCode,p=n("".charCodeAt),h=n([].join),f=n([].push),_=n("".replace),E=n("".split),g=n("".toLowerCase),T=function(e){return e+22+75*(e<26)},S=function(e,t,r){var n=0;for(e=r?l(e/700):e>>1,e+=l(e/t);e>455;)e=l(e/35),n+=36;return l(n+36*e/(e+38))},v=function(e){var t=[];e=function(e){for(var t=[],r=0,n=e.length;r<n;){var i=p(e,r++);if(i>=55296&&i<=56319&&r<n){var o=p(e,r++);56320==(64512&o)?f(t,((1023&i)<<10)+(1023&o)+65536):(f(t,i),r--)}else f(t,i)}return t}(e);var r,n,o=e.length,s=128,u=0,_=72;for(r=0;r<e.length;r++)(n=e[r])<128&&f(t,d(n));var E=t.length,g=E;for(E&&f(t,"-");g<o;){var v=i;for(r=0;r<e.length;r++)(n=e[r])>=s&&n<v&&(v=n);var m=g+1;if(v-s>l((i-u)/m))throw new c(a);for(u+=(v-s)*m,s=v,r=0;r<e.length;r++){if((n=e[r])<s&&++u>i)throw new c(a);if(n===s){for(var y=u,O=36;;){var b=O<=_?1:O>=_+26?26:O-_;if(y<b)break;var A=y-b,R=36-b;f(t,d(T(b+A%R))),y=l(A/R),O+=36}f(t,d(T(y))),_=S(u,m,g===E),u=0,g++}}u++,s++}return h(t,"")};e.exports=function(e){var t,r,n=[],i=E(_(g(e),s,"."),".");for(t=0;t<i.length;t++)r=i[t],f(n,u(o,r)?"xn--"+v(r):r);return h(n,".")}},2785(e,t,r){"use strict";var n=r(8619),i=r(2264),o=r(6514),s=r(8196),a=n.structuredClone;e.exports=!!a&&!i((function(){if("DENO"===s&&o>92||"NODE"===s&&o>94||"BROWSER"===s&&o>97)return!1;var e=new ArrayBuffer(8),t=a(e,{transfer:[e]});return 0!==e.byteLength||8!==t.byteLength}))},7450(e,t,r){"use strict";var n=r(6514),i=r(2264),o=r(8619).String;e.exports=!!Object.getOwnPropertySymbols&&!i((function(){var e=Symbol("symbol detection");return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},3948(e,t,r){"use strict";var n,i,o,s,a=r(8619),c=r(8332),u=r(1099),l=r(2958),d=r(4608),p=r(2264),h=r(4908),f=r(4551),_=r(2772),E=r(767),g=r(7113),T=r(8342),S=a.setImmediate,v=a.clearImmediate,m=a.process,y=a.Dispatch,O=a.Function,b=a.MessageChannel,A=a.String,R=0,w={},L="onreadystatechange";p((function(){n=a.location}));var C=function(e){if(d(w,e)){var t=w[e];delete w[e],t()}},N=function(e){return function(){C(e)}},P=function(e){C(e.data)},I=function(e){a.postMessage(A(e),n.protocol+"//"+n.host)};S&&v||(S=function(e){E(arguments.length,1);var t=l(e)?e:O(e),r=f(arguments,1);return w[++R]=function(){c(t,void 0,r)},i(R),R},v=function(e){delete w[e]},T?i=function(e){m.nextTick(N(e))}:y&&y.now?i=function(e){y.now(N(e))}:b&&!g?(s=(o=new b).port2,o.port1.onmessage=P,i=u(s.postMessage,s)):a.addEventListener&&l(a.postMessage)&&!a.importScripts&&n&&"file:"!==n.protocol&&!p(I)?(i=I,a.addEventListener("message",P,!1)):i=L in _("script")?function(e){h.appendChild(_("script"))[L]=function(){h.removeChild(this),C(e)}}:function(e){setTimeout(N(e),0)}),e.exports={set:S,clear:v}},4637(e,t,r){"use strict";var n=r(4486),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},9719(e,t,r){"use strict";var n=r(2888),i=TypeError;e.exports=function(e){var t=n(e,"number");if("number"==typeof t)throw new i("Can't convert number to bigint");return BigInt(t)}},3149(e,t,r){"use strict";var n=r(4486),i=r(1069),o=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=n(e),r=i(t);if(t!==r)throw new o("Wrong length or index");return r}},3882(e,t,r){"use strict";var n=r(382),i=r(8963);e.exports=function(e){return n(i(e))}},4486(e,t,r){"use strict";var n=r(7868);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},1069(e,t,r){"use strict";var n=r(4486),i=Math.min;e.exports=function(e){var t=n(e);return t>0?i(t,9007199254740991):0}},5230(e,t,r){"use strict";var n=r(8963),i=Object;e.exports=function(e){return i(n(e))}},4146(e,t,r){"use strict";var n=r(4109),i=RangeError;e.exports=function(e,t){var r=n(e);if(r%t)throw new i("Wrong offset");return r}},4109(e,t,r){"use strict";var n=r(4486),i=RangeError;e.exports=function(e){var t=n(e);if(t<0)throw new i("The argument can't be less than 0");return t}},2888(e,t,r){"use strict";var n=r(3022),i=r(6201),o=r(8422),s=r(6627),a=r(969),c=r(1420),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!i(e)||o(e))return e;var r,c=s(e,l);if(c){if(void 0===t&&(t="default"),r=n(c,e,t),!i(r)||o(r))return r;throw new u("Can't convert object to primitive value")}return void 0===t&&(t="number"),a(e,t)}},5842(e,t,r){"use strict";var n=r(2888),i=r(8422);e.exports=function(e){var t=n(e,"string");return i(t)?t:t+""}},547(e,t,r){"use strict";var n={};n[r(1420)("toStringTag")]="z",e.exports="[object z]"===String(n)},9164(e,t,r){"use strict";var n=r(1104),i=String;e.exports=function(e){if("Symbol"===n(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},6946(e){"use strict";var t=Math.floor;e.exports=function(e){var r=+e;if(r!=r||r<=0)return 0;if(r>=255)return 255;var n=t(r);return n+.5<r?n+1:r<n+.5||n%2==0?n:n+1}},6572(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},6779(e,t,r){"use strict";var n=r(2879),i=r(8619),o=r(3022),s=r(3683),a=r(2214),c=r(9997),u=r(7051),l=r(2424),d=r(205),p=r(7574),h=r(7958),f=r(3149),_=r(4146),E=r(6946),g=r(5842),T=r(4608),S=r(1104),v=r(6201),m=r(8422),y=r(2671),O=r(1236),b=r(8284),A=r(4463).f,R=r(6306),w=r(2962).forEach,L=r(2866),C=r(2215),N=r(6680),P=r(1530),I=r(6473),M=r(9168),D=r(4064),x=M.get,U=M.set,k=M.enforce,j=N.f,V=P.f,B=i.RangeError,H=u.ArrayBuffer,G=H.prototype,F=u.DataView,Y=c.NATIVE_ARRAY_BUFFER_VIEWS,X=c.TYPED_ARRAY_TAG,W=c.TypedArray,z=c.TypedArrayPrototype,K=c.isTypedArray,q="BYTES_PER_ELEMENT",J="Wrong length",$=function(e,t){C(e,t,{configurable:!0,get:function(){return x(this)[t]}})},Q=function(e){var t;return O(G,e)||"ArrayBuffer"===(t=S(e))||"SharedArrayBuffer"===t},Z=function(e,t){return K(e)&&!m(t)&&t in e&&h(+t)&&t>=0},ee=function(e,t){return t=g(t),Z(e,t)?d(2,e[t]):V(e,t)},te=function(e,t,r){return t=g(t),!(Z(e,t)&&v(r)&&T(r,"value"))||T(r,"get")||T(r,"set")||r.configurable||T(r,"writable")&&!r.writable||T(r,"enumerable")&&!r.enumerable?j(e,t,r):(e[t]=r.value,e)};s?(Y||(P.f=ee,N.f=te,$(z,"buffer"),$(z,"byteOffset"),$(z,"byteLength"),$(z,"length")),n({target:"Object",stat:!0,forced:!Y},{getOwnPropertyDescriptor:ee,defineProperty:te}),e.exports=function(e,t,r){var s=e.match(/\d+/)[0]/8,c=e+(r?"Clamped":"")+"Array",u="get"+e,d="set"+e,h=i[c],g=h,T=g&&g.prototype,S={},m=function(e,t){j(e,t,{get:function(){return function(e,t){var r=x(e);return r.view[u](t*s+r.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,n){var i=x(e);i.view[d](t*s+i.byteOffset,r?E(n):n,!0)}(this,t,e)},enumerable:!0})};Y?a&&(g=t((function(e,t,r,n){return l(e,T),D(v(t)?Q(t)?void 0!==n?new h(t,_(r,s),n):void 0!==r?new h(t,_(r,s)):new h(t):K(t)?I(g,t):o(R,g,t):new h(f(t)),e,g)})),b&&b(g,W),w(A(h),(function(e){e in g||p(g,e,h[e])})),g.prototype=T):(g=t((function(e,t,r,n){l(e,T);var i,a,c,u=0,d=0;if(v(t)){if(!Q(t))return K(t)?I(g,t):o(R,g,t);i=t,d=_(r,s);var p=t.byteLength;if(void 0===n){if(p%s)throw new B(J);if((a=p-d)<0)throw new B(J)}else if((a=f(n)*s)+d>p)throw new B(J);c=a/s}else c=f(t),i=new H(a=c*s);for(U(e,{buffer:i,byteOffset:d,byteLength:a,length:c,view:new F(i)});u<c;)m(e,u++)})),b&&b(g,W),T=g.prototype=y(z)),T.constructor!==g&&p(T,"constructor",g),k(T).TypedArrayConstructor=g,X&&p(T,X,c);var O=g!==h;S[c]=g,n({global:!0,constructor:!0,forced:O,sham:!Y},S),q in g||p(g,q,s),q in T||p(T,q,s),L(c)}):e.exports=function(){}},2214(e,t,r){"use strict";var n=r(8619),i=r(2264),o=r(173),s=r(9997).NATIVE_ARRAY_BUFFER_VIEWS,a=n.ArrayBuffer,c=n.Int8Array;e.exports=!s||!i((function(){c(1)}))||!i((function(){new c(-1)}))||!o((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||i((function(){return 1!==new c(new a(2),1,void 0).length}))},6306(e,t,r){"use strict";var n=r(1099),i=r(3022),o=r(3435),s=r(9967),a=r(5230),c=r(307),u=r(7840),l=r(7492),d=r(4072),p=r(7138),h=r(9997).aTypedArrayConstructor,f=r(9719);e.exports=function(e){var t=s(this),r=arguments.length,_=r>1?arguments[1]:void 0,E=void 0!==_;E&&o(_);var g,T,S,v,m,y,O,b,A=a(e),R=l(A);if(R&&!d(R))for(b=(O=u(A,R)).next,A=[];!(y=i(b,O)).done;)A.push(y.value);for(E&&r>2&&(_=n(_,arguments[2])),T=c(A),S=new(h(t))(T),v=p(S),g=0;T>g;g++)m=E?_(A[g],g):A[g],S[g]=v?f(m):+m;return S}},3759(e,t,r){"use strict";var n=r(9055),i=0,o=Math.random(),s=n(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+s(++i+o,36)}},1723(e,t,r){"use strict";var n=r(2264),i=r(1420),o=r(3683),s=r(5876),a=i("iterator");e.exports=!n((function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),r.delete("a",2),r.delete("b",void 0),s&&(!e.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!t.size&&(s||!o)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==n||"x"!==new URL("https://x",void 0).host}))},3411(e,t,r){"use strict";var n=r(7450);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},4017(e,t,r){"use strict";var n=r(3683),i=r(2264);e.exports=n&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},767(e){"use strict";var t=TypeError;e.exports=function(e,r){if(e<r)throw new t("Not enough arguments");return e}},5683(e,t,r){"use strict";var n=r(8619),i=r(2958),o=n.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},1420(e,t,r){"use strict";var n=r(8619),i=r(8876),o=r(4608),s=r(3759),a=r(7450),c=r(3411),u=n.Symbol,l=i("wks"),d=c?u.for||u:u&&u.withoutSetter||s;e.exports=function(e){return o(l,e)||(l[e]=a&&o(u,e)?u[e]:d("Symbol."+e)),l[e]}},8178(e,t,r){"use strict";var n=r(8538),i=r(4608),o=r(7574),s=r(1236),a=r(8284),c=r(5871),u=r(6577),l=r(4064),d=r(6940),p=r(823),h=r(784),f=r(3683),_=r(5876);e.exports=function(e,t,r,E){var g="stackTraceLimit",T=E?2:1,S=e.split("."),v=S[S.length-1],m=n.apply(null,S);if(m){var y=m.prototype;if(!_&&i(y,"cause")&&delete y.cause,!r)return m;var O=n("Error"),b=t((function(e,t){var r=d(E?t:e,void 0),n=E?new m(e):new m;return void 0!==r&&o(n,"message",r),h(n,b,n.stack,2),this&&s(y,this)&&l(n,this,b),arguments.length>T&&p(n,arguments[T]),n}));if(b.prototype=y,"Error"!==v?a?a(b,O):c(b,O,{name:!0}):f&&g in m&&(u(b,m,g),u(b,m,"prepareStackTrace")),c(b,m),!_)try{y.name!==v&&o(y,"name",v),y.constructor=b}catch(e){}return b}}},6644(e,t,r){"use strict";var n=r(3683),i=r(2215),o=r(1839),s=ArrayBuffer.prototype;n&&!("detached"in s)&&i(s,"detached",{configurable:!0,get:function(){return o(this)}})},5253(e,t,r){"use strict";var n=r(2879),i=r(8591);i&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return i(this,arguments.length?arguments[0]:void 0,!1)}})},4061(e,t,r){"use strict";var n=r(2879),i=r(8591);i&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return i(this,arguments.length?arguments[0]:void 0,!0)}})},8808(e,t,r){"use strict";var n=r(2879),i=r(3032).includes,o=r(2264),s=r(8440),a=o((function(){return!Array(1).includes()})),c=o((function(){return[,1].includes(void 0,1)}));n({target:"Array",proto:!0,forced:a||c},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),s("includes")},3743(e,t,r){"use strict";var n=r(3882),i=r(8440),o=r(1722),s=r(9168),a=r(6680).f,c=r(9507),u=r(5186),l=r(5876),d=r(3683),p="Array Iterator",h=s.set,f=s.getterFor(p);e.exports=c(Array,"Array",(function(e,t){h(this,{type:p,target:n(e),index:0,kind:t})}),(function(){var e=f(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,u(void 0,!0);switch(e.kind){case"keys":return u(r,!1);case"values":return u(t[r],!1)}return u([r,t[r]],!1)}),"values");var _=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!l&&d&&"values"!==_.name)try{a(_,"name",{value:"values"})}catch(e){}},4229(e,t,r){"use strict";var n=r(2879),i=r(5230),o=r(307),s=r(2806),a=r(2820);n({target:"Array",proto:!0,arity:1,forced:r(2264)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}}()},{push:function(e){var t=i(this),r=o(t),n=arguments.length;a(r+n);for(var c=0;c<n;c++)t[r]=arguments[c],r++;return s(t,r),r}})},9375(e,t,r){"use strict";var n=r(2879),i=r(2943).left,o=r(6731),s=r(6514);n({target:"Array",proto:!0,forced:!r(8342)&&s>79&&s<83||!o("reduce")},{reduce:function(e){var t=arguments.length;return i(this,e,t,t>1?arguments[1]:void 0)}})},6131(e,t,r){"use strict";var n=r(2879),i=r(307),o=r(3882),s=r(9147),a=r(8440),c=Array;n({target:"Array",proto:!0},{toReversed:function(){for(var e=o(this),t=i(e),r=new c(t),n=0;n<t;n++)s(r,n,e[t-n-1]);return r}}),a("toReversed")},8066(e,t,r){"use strict";r(8440)("flatMap")},8641(e,t,r){"use strict";var n=r(2879),i=r(307),o=r(4486),s=r(3882),a=r(9147),c=Array,u=RangeError;n({target:"Array",proto:!0,forced:function(){try{[].with({valueOf:function(){throw 4}},null)}catch(e){return 4!==e}}()},{with:function(e,t){var r=s(this),n=i(r),l=o(e),d=l<0?n+l:l;if(d>=n||d<0)throw new u("Incorrect index");for(var p=new c(n),h=0;h<n;h++)a(p,h,h===d?t:r[h]);return p}})},5601(e,t,r){"use strict";var n=r(2879),i=r(8619),o=r(8332),s=r(8178),a="WebAssembly",c=i[a],u=7!==new Error("e",{cause:7}).cause,l=function(e,t){var r={};r[e]=s(e,t,u),n({global:!0,constructor:!0,arity:1,forced:u},r)},d=function(e,t){if(c&&c[e]){var r={};r[e]=s(a+"."+e,t,u),n({target:a,stat:!0,constructor:!0,arity:1,forced:u},r)}};l("Error",(function(e){return function(t){return o(e,this,arguments)}})),l("EvalError",(function(e){return function(t){return o(e,this,arguments)}})),l("RangeError",(function(e){return function(t){return o(e,this,arguments)}})),l("ReferenceError",(function(e){return function(t){return o(e,this,arguments)}})),l("SyntaxError",(function(e){return function(t){return o(e,this,arguments)}})),l("TypeError",(function(e){return function(t){return o(e,this,arguments)}})),l("URIError",(function(e){return function(t){return o(e,this,arguments)}})),d("CompileError",(function(e){return function(t){return o(e,this,arguments)}})),d("LinkError",(function(e){return function(t){return o(e,this,arguments)}})),d("RuntimeError",(function(e){return function(t){return o(e,this,arguments)}}))},4452(e,t,r){"use strict";var n=r(2879),i=r(8619),o=r(2424),s=r(5028),a=r(2958),c=r(912),u=r(2215),l=r(9147),d=r(2264),p=r(4608),h=r(1420),f=r(6296).IteratorPrototype,_=r(3683),E=r(5876),g="constructor",T="Iterator",S=h("toStringTag"),v=TypeError,m=i[T],y=E||!a(m)||m.prototype!==f||!d((function(){m({})})),O=function(){if(o(this,f),c(this)===f)throw new v("Abstract class Iterator not directly constructable")},b=function(e,t){_?u(f,e,{configurable:!0,get:function(){return t},set:function(t){if(s(this),this===f)throw new v("You can't redefine this property");p(this,e)?this[e]=t:l(this,e,t)}}):f[e]=t};p(f,S)||b(S,T),!y&&p(f,g)&&f[g]!==Object||b(g,O),O.prototype=f,n({global:!0,constructor:!0,forced:y},{Iterator:O})},8612(e,t,r){"use strict";var n=r(2879),i=r(3022),o=r(3435),s=r(5028),a=r(6976),c=r(1853),u=r(6590),l=r(5876),d=r(7454),p=r(3305),h=r(6612),f=!l&&!p("filter",(function(){})),_=!l&&!f&&h("filter",TypeError),E=l||f||_,g=c((function(){for(var e,t,r=this.iterator,n=this.predicate,o=this.next;;){if(e=s(i(o,r)),this.done=!!e.done)return;if(t=e.value,u(r,n,[t,this.counter++],!0))return t}}));n({target:"Iterator",proto:!0,real:!0,forced:E},{filter:function(e){s(this);try{o(e)}catch(e){d(this,"throw",e)}return _?i(_,this,e):new g(a(this),{predicate:e})}})},9493(e,t,r){"use strict";var n=r(2879),i=r(3022),o=r(3251),s=r(3435),a=r(5028),c=r(6976),u=r(7454),l=r(6612)("find",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:l},{find:function(e){a(this);try{s(e)}catch(e){u(this,"throw",e)}if(l)return i(l,this,e);var t=c(this),r=0;return o(t,(function(t,n){if(e(t,r++))return n(t)}),{IS_RECORD:!0,INTERRUPTED:!0}).result}})},6098(e,t,r){"use strict";var n=r(2879),i=r(3022),o=r(3435),s=r(5028),a=r(6976),c=r(1451),u=r(1853),l=r(7454),d=r(5876),p=r(3305),h=r(6612),f=!d&&!p("flatMap",(function(){})),_=!d&&!f&&h("flatMap",TypeError),E=d||f||_||function(){try{var e=Iterator.prototype.flatMap.call(new Map([[4,5]]).entries(),(function(e){return e}));e.next(),e.return()}catch(e){return!0}}(),g=u((function(){for(var e,t,r=this.iterator,n=this.mapper;;){if(t=this.inner)try{if(!(e=s(i(t.next,t.iterator))).done)return e.value;this.inner=null}catch(e){l(r,"throw",e)}if(e=s(i(this.next,r)),this.done=!!e.done)return;try{this.inner=c(n(e.value,this.counter++),!1)}catch(e){l(r,"throw",e)}}}));n({target:"Iterator",proto:!0,real:!0,forced:E},{flatMap:function(e){s(this);try{o(e)}catch(e){l(this,"throw",e)}return _?i(_,this,e):new g(a(this),{mapper:e,inner:null})}})},6841(e,t,r){"use strict";var n=r(2879),i=r(3022),o=r(3251),s=r(3435),a=r(5028),c=r(6976),u=r(7454),l=r(6612)("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:l},{forEach:function(e){a(this);try{s(e)}catch(e){u(this,"throw",e)}if(l)return i(l,this,e);var t=c(this),r=0;o(t,(function(t){e(t,r++)}),{IS_RECORD:!0})}})},8298(e,t,r){"use strict";var n=r(2879),i=r(3022),o=r(3435),s=r(5028),a=r(6976),c=r(1853),u=r(6590),l=r(7454),d=r(3305),p=r(6612),h=r(5876),f=!h&&!d("map",(function(){})),_=!h&&!f&&p("map",TypeError),E=h||f||_,g=c((function(){var e=this.iterator,t=s(i(this.next,e));if(!(this.done=!!t.done))return u(e,this.mapper,[t.value,this.counter++],!0)}));n({target:"Iterator",proto:!0,real:!0,forced:E},{map:function(e){s(this);try{o(e)}catch(e){l(this,"throw",e)}return _?i(_,this,e):new g(a(this),{mapper:e})}})},2260(e,t,r){"use strict";var n=r(2879),i=r(3251),o=r(3435),s=r(5028),a=r(6976),c=r(7454),u=r(6612),l=r(8332),d=r(2264),p=TypeError,h=d((function(){[].keys().reduce((function(){}),void 0)})),f=!h&&u("reduce",p);n({target:"Iterator",proto:!0,real:!0,forced:h||f},{reduce:function(e){s(this);try{o(e)}catch(e){c(this,"throw",e)}var t=arguments.length<2,r=t?void 0:arguments[1];if(f)return l(f,this,t?[e]:[e,r]);var n=a(this),u=0;if(i(n,(function(n){t?(t=!1,r=n):r=e(r,n,u),u++}),{IS_RECORD:!0}),t)throw new p("Reduce of empty iterator with no initial value");return r}})},4354(e,t,r){"use strict";var n=r(2879),i=r(3022),o=r(3251),s=r(3435),a=r(5028),c=r(6976),u=r(7454),l=r(6612)("some",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:l},{some:function(e){a(this);try{s(e)}catch(e){u(this,"throw",e)}if(l)return i(l,this,e);var t=c(this),r=0;return o(t,(function(t,n){if(e(t,r++))return n()}),{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},1125(e,t,r){"use strict";var n=r(2879),i=r(8538),o=r(8332),s=r(3022),a=r(9055),c=r(2264),u=r(3357),l=r(2958),d=r(6621),p=r(8422),h=r(9715),f=r(9164),_=r(4551),E=r(6103),g=r(3759),T=r(7450),S=r(6180),v=String,m=i("JSON","stringify"),y=a(/./.exec),O=a("".charAt),b=a("".charCodeAt),A=a("".replace),R=a("".slice),w=a([].push),L=a(1.1.toString),C=/[\uD800-\uDFFF]/g,N=/^[\uD800-\uDBFF]$/,P=/^[\uDC00-\uDFFF]$/,I=g(),M=I.length,D=!T||c((function(){var e=i("Symbol")("stringify detection");return"[null]"!==m([e])||"{}"!==m({a:e})||"{}"!==m(Object(e))})),x=c((function(){return'"\\udf06\\ud834"'!==m("\udf06\ud834")||'"\\udead"'!==m("\udead")})),U=D?function(e,t){var r=_(arguments),n=j(t);if(l(n)||void 0!==e&&!p(e))return r[1]=function(e,t){if(l(n)&&(t=s(n,this,v(e),t)),!p(t))return t},o(m,null,r)}:m,k=function(e,t,r){var n=O(r,t-1),i=O(r,t+1);return y(N,e)&&!y(P,i)||y(P,e)&&!y(N,n)?"\\u"+L(b(e,0),16):e},j=function(e){if(l(e))return e;if(u(e)){for(var t=e.length,r=[],n=0;n<t;n++){var i=e[n];"string"==typeof i?w(r,i):"number"!=typeof i&&"Number"!==h(i)&&"String"!==h(i)||w(r,f(i))}var o=r.length,s=!0;return function(e,t){if(s)return s=!1,t;if(u(this))return t;for(var n=0;n<o;n++)if(r[n]===e)return t}}};m&&n({target:"JSON",stat:!0,arity:3,forced:D||x||!S},{stringify:function(e,t,r){var n=j(t),i=[],o=U(e,(function(e,t){var r=l(n)?s(n,this,v(e),t):t;return!S&&d(r)?I+(w(i,r.rawJSON)-1):r}),r);if("string"!=typeof o)return o;if(x&&(o=A(o,C,k)),S)return o;for(var a="",c=o.length,u=0;u<c;u++){var p=O(o,u);if('"'===p){var h=E(o,++u).end-1,f=R(o,u,h);a+=R(f,0,M)===I?i[R(f,M)]:'"'+f+'"',u=h}else a+=p}return a}})},3210(e,t,r){"use strict";var n=r(2879),i=Math.hypot,o=Math.abs,s=Math.sqrt;n({target:"Math",stat:!0,arity:2,forced:!!i&&i(1/0,NaN)!==1/0},{hypot:function(e,t){for(var r,n,i=0,a=0,c=arguments.length,u=0;a<c;)u<(r=o(arguments[a++]))?(i=i*(n=u/r)*n+1,u=r):i+=r>0?(n=r/u)*n:r;return u===1/0?1/0:u*s(i)}})},1810(e,t,r){"use strict";var n=r(2879),i=r(3022),o=r(3435),s=r(3714),a=r(3488),c=r(3251);n({target:"Promise",stat:!0,forced:r(998)},{all:function(e){var t=this,r=s.f(t),n=r.resolve,u=r.reject,l=a((function(){var r=o(t.resolve),s=[],a=0,l=1;c(e,(function(e){var o=a++,c=!1;l++,i(r,t,e).then((function(e){c||(c=!0,s[o]=e,--l||n(s))}),u)})),--l||n(s)}));return l.error&&u(l.value),r.promise}})},9182(e,t,r){"use strict";var n=r(2879),i=r(5876),o=r(5387).CONSTRUCTOR,s=r(8995),a=r(8538),c=r(2958),u=r(6587),l=s&&s.prototype;if(n({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(e){return this.then(void 0,e)}}),!i&&c(s)){var d=a("Promise").prototype.catch;l.catch!==d&&u(l,"catch",d,{unsafe:!0})}},5082(e,t,r){"use strict";var n,i,o,s,a=r(2879),c=r(5876),u=r(8342),l=r(8619),d=r(4170),p=r(3022),h=r(6587),f=r(8284),_=r(1668),E=r(2866),g=r(3435),T=r(2958),S=r(6201),v=r(2424),m=r(1158),y=r(3948).set,O=r(4424),b=r(1292),A=r(3488),R=r(9638),w=r(9168),L=r(8995),C=r(5387),N=r(3714),P="Promise",I=C.CONSTRUCTOR,M=C.REJECTION_EVENT,D=C.SUBCLASSING,x=w.getterFor(P),U=w.set,k=L&&L.prototype,j=L,V=k,B=l.TypeError,H=l.document,G=l.process,F=N.f,Y=F,X=!!(H&&H.createEvent&&l.dispatchEvent),W="unhandledrejection",z=function(e){var t;return!(!S(e)||!T(t=e.then))&&t},K=function(e,t){var r,n,i,o=t.value,s=1===t.state,a=s?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{a?(s||(2===t.rejection&&Z(t),t.rejection=1),!0===a?r=o:(l&&l.enter(),r=a(o),l&&(l.exit(),i=!0)),r===e.promise?u(new B("Promise-chain cycle")):(n=z(r))?p(n,r,c,u):c(r)):u(o)}catch(e){l&&!i&&l.exit(),u(e)}},q=function(e,t){e.notified||(e.notified=!0,O((function(){for(var r,n=e.reactions;r=n.get();)K(r,e);e.notified=!1,t&&!e.rejection&&$(e)})))},J=function(e,t,r){var n,i;X?((n=H.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),l.dispatchEvent(n)):n={promise:t,reason:r},!M&&(i=l["on"+e])?i(n):e===W&&b("Unhandled promise rejection",r)},$=function(e){p(y,l,(function(){var t,r=e.facade,n=e.value;if(Q(e)&&(t=A((function(){u?G.emit("unhandledRejection",n,r):J(W,r,n)})),e.rejection=u||Q(e)?2:1,t.error))throw t.value}))},Q=function(e){return 1!==e.rejection&&!e.parent},Z=function(e){p(y,l,(function(){var t=e.facade;u?G.emit("rejectionHandled",t):J("rejectionhandled",t,e.value)}))},ee=function(e,t,r){return function(n){e(t,n,r)}},te=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,q(e,!0))},re=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw new B("Promise can't be resolved itself");var n=z(t);n?O((function(){var r={done:!1};try{p(n,t,ee(re,r,e),ee(te,r,e))}catch(t){te(r,t,e)}})):(e.value=t,e.state=1,q(e,!1))}catch(t){te({done:!1},t,e)}}};if(I&&(V=(j=function(e){v(this,V),g(e),p(n,this);var t=x(this);try{e(ee(re,t),ee(te,t))}catch(e){te(t,e)}}).prototype,(n=function(e){U(this,{type:P,done:!1,notified:!1,parent:!1,reactions:new R,rejection:!1,state:0,value:null})}).prototype=h(V,"then",(function(e,t){var r=x(this),n=F(m(this,j));return r.parent=!0,n.ok=!T(e)||e,n.fail=T(t)&&t,n.domain=u?G.domain:void 0,0===r.state?r.reactions.add(n):O((function(){K(n,r)})),n.promise})),i=function(){var e=new n,t=x(e);this.promise=e,this.resolve=ee(re,t),this.reject=ee(te,t)},N.f=F=function(e){return e===j||e===o?new i(e):Y(e)},!c&&T(L)&&k!==Object.prototype)){s=k.then,D||h(k,"then",(function(e,t){var r=this;return new j((function(e,t){p(s,r,e,t)})).then(e,t)}),{unsafe:!0});try{delete k.constructor}catch(e){}f&&f(k,V)}a({global:!0,constructor:!0,wrap:!0,forced:I},{Promise:j}),o=d.Promise,_(j,P,!1,!0),E(P)},3871(e,t,r){"use strict";r(5082),r(1810),r(9182),r(3292),r(50),r(5725)},3292(e,t,r){"use strict";var n=r(2879),i=r(3022),o=r(3435),s=r(3714),a=r(3488),c=r(3251);n({target:"Promise",stat:!0,forced:r(998)},{race:function(e){var t=this,r=s.f(t),n=r.reject,u=a((function(){var s=o(t.resolve);c(e,(function(e){i(s,t,e).then(r.resolve,n)}))}));return u.error&&n(u.value),r.promise}})},50(e,t,r){"use strict";var n=r(2879),i=r(3714);n({target:"Promise",stat:!0,forced:r(5387).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return(0,t.reject)(e),t.promise}})},5725(e,t,r){"use strict";var n=r(2879),i=r(8538),o=r(5876),s=r(8995),a=r(5387).CONSTRUCTOR,c=r(4533),u=i("Promise"),l=o&&!a;n({target:"Promise",stat:!0,forced:o||a},{resolve:function(e){return c(l&&this===u?s:this,e)}})},2537(e,t,r){"use strict";var n=r(2879),i=r(8619),o=r(1668);n({global:!0},{Reflect:{}}),o(i.Reflect,"Reflect",!0)},803(e,t,r){"use strict";var n=r(3683),i=r(8619),o=r(9055),s=r(4411),a=r(4064),c=r(7574),u=r(2671),l=r(4463).f,d=r(1236),p=r(4659),h=r(9164),f=r(8243),_=r(7850),E=r(6577),g=r(6587),T=r(2264),S=r(4608),v=r(9168).enforce,m=r(2866),y=r(1420),O=r(4810),b=r(263),A=y("match"),R=i.RegExp,w=R.prototype,L=i.SyntaxError,C=o(w.exec),N=o("".charAt),P=o("".replace),I=o("".indexOf),M=o("".slice),D=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,x=/a/g,U=/a/g,k=new R(x)!==x,j=_.MISSED_STICKY,V=_.UNSUPPORTED_Y;if(s("RegExp",n&&(!k||j||O||b||T((function(){return U[A]=!1,R(x)!==x||R(U)===U||"/a/i"!==String(R(x,"i"))}))))){for(var B=function(e,t){var r,n,i,o,s,l,_=d(w,this),E=p(e),g=void 0===t,T=[],m=e;if(!_&&E&&g&&e.constructor===B)return e;if((E||d(w,e))&&(e=e.source,g&&(t=f(m))),e=void 0===e?"":h(e),t=void 0===t?"":h(t),m=e,O&&"dotAll"in x&&(n=!!t&&I(t,"s")>-1)&&(t=P(t,/s/g,"")),r=t,j&&"sticky"in x&&(i=!!t&&I(t,"y")>-1)&&V&&(t=P(t,/y/g,"")),b&&(o=function(e){for(var t,r=e.length,n=0,i="",o=[],s=u(null),a=!1,c=!1,l=0,d="";n<r;n++){if("\\"===(t=N(e,n))){if(t+=N(e,++n),!c&&"\\"===N(t,1)){i+="\\x5c";continue}}else if("]"===t)a=!1;else if(!a)switch(!0){case"["===t:a=!0;break;case"("===t:i+=t,C(D,M(e,n+1))?(n+=2,c=!0,l++):"?"!==N(e,n+1)&&l++;continue;case">"===t&&c:if(""===d||S(s,d))throw new L("Invalid capture group name");s[d]=!0,o[o.length]=[d,l],c=!1,d="";continue}c?d+=t:i+=t}for(var p=0;p<o.length;p++)for(var h="\\k<"+o[p][0]+">",f="\\"+o[p][1];I(i,h)>-1;)i=P(i,h,f);return[i,o]}(e),e=o[0],T=o[1]),s=a(R(e,t),_?this:w,B),(n||i||T.length)&&(l=v(s),n&&(l.dotAll=!0,l.raw=B(function(e){for(var t,r=e.length,n=0,i="",o=!1;n<r;n++)"\\"!==(t=N(e,n))?o||"."!==t?("["===t?o=!0:"]"===t&&(o=!1),i+=t):i+="[\\s\\S]":i+=t+N(e,++n);return i}(e),r)),i&&(l.sticky=!0),T.length&&(l.groups=T)),e!==m)try{c(s,"source",""===m?"(?:)":m)}catch(e){}return s},H=l(R),G=0;H.length>G;)E(B,R,H[G++]);w.constructor=B,B.prototype=w,g(i,"RegExp",B,{constructor:!0})}m("RegExp")},38(e,t,r){"use strict";var n=r(3683),i=r(4810),o=r(9715),s=r(2215),a=r(9168).get,c=RegExp.prototype,u=TypeError;n&&i&&s(c,"dotAll",{configurable:!0,get:function(){if(this!==c){if("RegExp"===o(this))return!!a(this).dotAll;throw new u("Incompatible receiver, RegExp required")}}})},7490(e,t,r){"use strict";var n=r(2879),i=r(1200);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},259(e,t,r){"use strict";var n=r(2879),i=r(6613),o=r(2264);n({target:"Set",proto:!0,real:!0,forced:!r(4225)("difference",(function(e){return 0===e.size}))||o((function(){var e={size:1,has:function(){return!0},keys:function(){var e=0;return{next:function(){var r=e++>1;return t.has(1)&&t.clear(),{done:r,value:2}}}}},t=new Set([1,2,3,4]);return 3!==t.difference(e).size}))},{difference:i})},6093(e,t,r){"use strict";var n=r(2879),i=r(2264),o=r(2391);n({target:"Set",proto:!0,real:!0,forced:!r(4225)("intersection",(function(e){return 2===e.size&&e.has(1)&&e.has(2)}))||i((function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))}))},{intersection:o})},7544(e,t,r){"use strict";var n=r(2879),i=r(744);n({target:"Set",proto:!0,real:!0,forced:!r(4225)("isDisjointFrom",(function(e){return!e}))},{isDisjointFrom:i})},8909(e,t,r){"use strict";var n=r(2879),i=r(3975);n({target:"Set",proto:!0,real:!0,forced:!r(4225)("isSubsetOf",(function(e){return e}))},{isSubsetOf:i})},6718(e,t,r){"use strict";var n=r(2879),i=r(7038);n({target:"Set",proto:!0,real:!0,forced:!r(4225)("isSupersetOf",(function(e){return!e}))},{isSupersetOf:i})},5493(e,t,r){"use strict";var n=r(2879),i=r(607),o=r(7210);n({target:"Set",proto:!0,real:!0,forced:!r(4225)("symmetricDifference")||!o("symmetricDifference")},{symmetricDifference:i})},313(e,t,r){"use strict";var n=r(2879),i=r(7851),o=r(7210);n({target:"Set",proto:!0,real:!0,forced:!r(4225)("union")||!o("union")},{union:i})},9406(e,t,r){"use strict";var n=r(2879),i=r(9055),o=r(4637),s=RangeError,a=String.fromCharCode,c=String.fromCodePoint,u=i([].join);n({target:"String",stat:!0,arity:1,forced:!!c&&1!==c.length},{fromCodePoint:function(e){for(var t,r=[],n=arguments.length,i=0;n>i;){if(o(t=+arguments[i],1114111)!==t)throw new s(t+" is not a valid code point");r[i++]=t<65536?a(t):a(55296+((t-=65536)>>10),t%1024+56320)}return u(r,"")}})},1453(e,t,r){"use strict";var n=r(354).charAt,i=r(9164),o=r(9168),s=r(9507),a=r(5186),c="String Iterator",u=o.set,l=o.getterFor(c);s(String,"String",(function(e){u(this,{type:c,string:i(e),index:0})}),(function(){var e,t=l(this),r=t.string,i=t.index;return i>=r.length?a(void 0,!0):(e=n(r,i),t.index+=e.length,a(e,!1))}))},8981(e,t,r){"use strict";var n=r(2879),i=r(3022),o=r(9055),s=r(8963),a=r(2958),c=r(6201),u=r(4659),l=r(9164),d=r(6627),p=r(8243),h=r(2147),f=r(1420),_=r(5876),E=f("replace"),g=TypeError,T=o("".indexOf),S=o("".replace),v=o("".slice),m=Math.max;n({target:"String",proto:!0},{replaceAll:function(e,t){var r,n,o,f,y,O,b,A,R,w,L=s(this),C=0,N="";if(c(e)){if((r=u(e))&&(n=l(s(p(e))),!~T(n,"g")))throw new g("`.replaceAll` does not allow non-global regexes");if(o=d(e,E))return i(o,e,L,t);if(_&&r)return S(l(L),e,t)}for(f=l(L),y=l(e),(O=a(t))||(t=l(t)),b=y.length,A=m(1,b),R=T(f,y);-1!==R;)w=O?l(t(y,R,f)):h(y,f,R,[],void 0,t),N+=v(f,C,R)+w,C=R+b,R=R+A>f.length?-1:T(f,y,R+A);return C<f.length&&(N+=v(f,C)),N}})},4327(e,t,r){"use strict";var n=r(8332),i=r(3022),o=r(9055),s=r(9897),a=r(2264),c=r(5028),u=r(2958),l=r(6201),d=r(4486),p=r(1069),h=r(9164),f=r(8963),_=r(4860),E=r(6627),g=r(2147),T=r(8243),S=r(6903),v=r(1420)("replace"),m=Math.max,y=Math.min,O=o([].concat),b=o([].push),A=o("".indexOf),R=o("".slice),w=function(e){return void 0===e?e:String(e)},L="$0"==="a".replace(/./,"$0"),C=!!/./[v]&&""===/./[v]("a","$0");s("replace",(function(e,t,r){var o=C?"$":"$0";return[function(e,r){var n=f(this),o=l(e)?E(e,v):void 0;return o?i(o,e,n,r):i(t,h(n),e,r)},function(e,i){var s=c(this),a=h(e),l=u(i);l||(i=h(i));var f=h(T(s));if("string"==typeof i&&!~A(i,o)&&!~A(i,"$<")&&!~A(f,"y")){var E=r(t,s,a,i);if(E.done)return E.value}var v,L=!!~A(f,"g");L&&(v=!!~A(f,"u")||!!~A(f,"v"),s.lastIndex=0);for(var C,N=[];null!==(C=S(s,a))&&(b(N,C),L);)""===h(C[0])&&(s.lastIndex=_(a,p(s.lastIndex),v));for(var P="",I=0,M=0;M<N.length;M++){for(var D,x=h((C=N[M])[0]),U=m(y(d(C.index),a.length),0),k=[],j=1;j<C.length;j++)b(k,w(C[j]));var V=C.groups;if(l){var B=O([x],k,U,a);void 0!==V&&b(B,V),D=h(n(i,void 0,B))}else D=g(x,a,U,k,V,i);U>=I&&(P+=R(a,I,U)+D,I=U+x.length)}return P+R(a,I)}]}),!!a((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!L||C)},7387(e,t,r){"use strict";var n=r(9997),i=r(307),o=r(4486),s=n.aTypedArray;(0,n.exportTypedArrayMethod)("at",(function(e){var t=s(this),r=i(t),n=o(e),a=n>=0?n:r+n;return a<0||a>=r?void 0:t[a]}))},4747(e,t,r){"use strict";var n=r(9997),i=r(8188),o=r(9719),s=r(1104),a=r(3022),c=r(9055),u=r(2264),l=n.aTypedArray,d=n.exportTypedArrayMethod,p=c("".slice);d("fill",(function(e){var t=arguments.length;l(this);var r="Big"===p(s(this),0,3)?o(e):+e;return a(i,this,r,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),u((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e})))},91(e,t,r){"use strict";var n=r(9997),i=r(1480).findLastIndex,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLastIndex",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},1302(e,t,r){"use strict";var n=r(9997),i=r(1480).findLast,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLast",(function(e){return i(o(this),e,arguments.length>1?arguments[1]:void 0)}))},4460(e,t,r){"use strict";var n=r(8619),i=r(3022),o=r(9997),s=r(307),a=r(4146),c=r(5230),u=r(2264),l=n.RangeError,d=n.Int8Array,p=d&&d.prototype,h=p&&p.set,f=o.aTypedArray,_=o.exportTypedArrayMethod,E=!u((function(){var e=new Uint8ClampedArray(2);return i(h,e,{length:1,0:3},1),3!==e[1]})),g=E&&o.NATIVE_ARRAY_BUFFER_VIEWS&&u((function(){var e=new d(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));_("set",(function(e){f(this);var t=a(arguments.length>1?arguments[1]:void 0,1),r=c(e);if(E)return i(h,this,r,t);var n=this.length,o=s(r),u=0;if(o+t>n)throw new l("Wrong length");for(;u<o;)this[t+u]=r[u++]}),!E||g)},7886(e,t,r){"use strict";var n=r(8619),i=r(2701),o=r(2264),s=r(3435),a=r(3501),c=r(9997),u=r(1612),l=r(6684),d=r(6514),p=r(3822),h=c.aTypedArray,f=c.exportTypedArrayMethod,_=n.Uint16Array,E=_&&i(_.prototype.sort),g=!(!E||o((function(){E(new _(2),null)}))&&o((function(){E(new _(2),{})}))),T=!!E&&!o((function(){if(d)return d<74;if(u)return u<67;if(l)return!0;if(p)return p<602;var e,t,r=new _(516),n=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,n[e]=e-2*t+3;for(E(r,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(r[e]!==n[e])return!0}));f("sort",(function(e){return void 0!==e&&s(e),T?E(this,e):a(h(this),function(e){return function(t,r){return void 0!==e?+e(t,r)||0:r!=r?t!=t?0:-1:t!=t?1:0===t&&0===r?1/t>0?1/r>0?0:1:1/r>0?-1:0:t>r?1:t<r?-1:0}}(e))}),!T||g)},7934(e,t,r){"use strict";var n=r(307),i=r(9997),o=i.aTypedArray,s=i.exportTypedArrayMethod,a=i.getTypedArrayConstructor;s("toReversed",(function(){for(var e=o(this),t=n(e),r=new(a(e))(t),i=0;i<t;i++)r[i]=e[t-i-1];return r}))},7609(e,t,r){"use strict";var n=r(9997),i=r(9055),o=r(3435),s=r(6473),a=n.aTypedArray,c=n.getTypedArrayConstructor,u=n.exportTypedArrayMethod,l=i(n.TypedArrayPrototype.sort);u("toSorted",(function(e){void 0!==e&&o(e);var t=a(this),r=s(c(t),t);return l(r,e)}))},2188(e,t,r){"use strict";r(6779)("Uint8",(function(e){return function(t,r,n){return e(this,t,r,n)}}))},2534(e,t,r){"use strict";var n=r(9997),i=r(7138),o=r(307),s=r(4486),a=r(9719),c=n.aTypedArray,u=n.getTypedArrayConstructor,l=n.exportTypedArrayMethod,d=RangeError,p=function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}(),h=p&&function(){try{new Int8Array(1).with(-.5,1)}catch(e){return!0}}();l("with",{with:function(e,t){var r=c(this),n=o(r),l=s(e),p=l<0?n+l:l,h=i(r)?a(t):+t;if(p>=n||p<0)throw new d("Incorrect index");for(var f=new(u(r))(n),_=0;_<n;_++)f[_]=_===p?h:r[_];return f}}.with,!p||h)},9907(e,t,r){"use strict";var n=r(2879),i=r(8619),o=r(3948).clear;n({global:!0,bind:!0,enumerable:!0,forced:i.clearImmediate!==o},{clearImmediate:o})},3076(e,t,r){"use strict";var n=r(8619),i=r(3107),o=r(8553),s=r(3743),a=r(7574),c=r(1668),u=r(1420)("iterator"),l=s.values,d=function(e,t){if(e){if(e[u]!==l)try{a(e,u,l)}catch(t){e[u]=l}if(c(e,t,!0),i[t])for(var r in s)if(e[r]!==s[r])try{a(e,r,s[r])}catch(t){e[r]=s[r]}}};for(var p in i)d(n[p]&&n[p].prototype,p);d(o,"DOMTokenList")},1051(e,t,r){"use strict";r(9907),r(8421)},2206(e,t,r){"use strict";var n=r(2879),i=r(8619),o=r(2215),s=r(3683),a=TypeError,c=Object.defineProperty,u=i.self!==i;try{if(s){var l=Object.getOwnPropertyDescriptor(i,"self");!u&&l&&l.get&&l.enumerable||o(i,"self",{get:function(){return i},set:function(e){if(this!==i)throw new a("Illegal invocation");c(i,"self",{value:e,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else n({global:!0,simple:!0,forced:u},{self:i})}catch(e){}},8421(e,t,r){"use strict";var n=r(2879),i=r(8619),o=r(3948).set,s=r(7361),a=i.setImmediate?s(o,!1):o;n({global:!0,bind:!0,enumerable:!0,forced:i.setImmediate!==a},{setImmediate:a})},2453(e,t,r){"use strict";r(3743),r(9406);var n=r(2879),i=r(8619),o=r(9086),s=r(8538),a=r(3022),c=r(9055),u=r(3683),l=r(1723),d=r(6587),p=r(2215),h=r(5566),f=r(1668),_=r(2257),E=r(9168),g=r(2424),T=r(2958),S=r(4608),v=r(1099),m=r(1104),y=r(5028),O=r(6201),b=r(9164),A=r(2671),R=r(205),w=r(7840),L=r(7492),C=r(5186),N=r(767),P=r(1420),I=r(3501),M=P("iterator"),D="URLSearchParams",x=D+"Iterator",U=E.set,k=E.getterFor(D),j=E.getterFor(x),V=o("fetch"),B=o("Request"),H=o("Headers"),G=B&&B.prototype,F=H&&H.prototype,Y=i.TypeError,X=i.encodeURIComponent,W=String.fromCharCode,z=s("String","fromCodePoint"),K=parseInt,q=c("".charAt),J=c([].join),$=c([].push),Q=c("".replace),Z=c([].shift),ee=c([].splice),te=c("".split),re=c("".slice),ne=c(/./.exec),ie=/\+/g,oe=/^[0-9a-f]+$/i,se=function(e,t){var r=re(e,t,t+2);return ne(oe,r)?K(r,16):NaN},ae=function(e){for(var t=0,r=128;r>0&&e&r;r>>=1)t++;return t},ce=function(e){var t=null,r=e.length;switch(r){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return null===t||t>1114111||t>=55296&&t<=57343||t<(r>3?65536:r>2?2048:r>1?128:0)?null:t},ue=function(e){for(var t=(e=Q(e,ie," ")).length,r="",n=0;n<t;){var i=q(e,n);if("%"===i){if("%"===q(e,n+1)||n+3>t){r+="%",n++;continue}var o=se(e,n+1);if(o!=o){r+=i,n++;continue}n+=2;var s=ae(o);if(0===s)i=W(o);else{if(1===s||s>4){r+="�",n++;continue}for(var a=[o],c=1;c<s&&!(3+ ++n>t||"%"!==q(e,n));){var u=se(e,n+1);if(u!=u||u>191||u<128)break;if(1===c){if(224===o&&u<160)break;if(237===o&&u>159)break;if(240===o&&u<144)break;if(244===o&&u>143)break}$(a,u),n+=2,c++}if(a.length!==s){r+="�";continue}var l=ce(a);if(null===l){for(var d=0;d<s;d++)r+="�";n++;continue}i=z(l)}}r+=i,n++}return r},le=/[!'()~]|%20/g,de={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},pe=function(e){return de[e]},he=function(e){return Q(X(e),le,pe)},fe=_((function(e,t){U(this,{type:x,target:k(e).entries,index:0,kind:t})}),D,(function(){var e=j(this),t=e.target,r=e.index++;if(!t||r>=t.length)return e.target=null,C(void 0,!0);var n=t[r];switch(e.kind){case"keys":return C(n.key,!1);case"values":return C(n.value,!1)}return C([n.key,n.value],!1)}),!0),_e=function(e){this.entries=[],this.url=null,void 0!==e&&(O(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===q(e,0)?re(e,1):e:b(e)))};_e.prototype={type:D,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,n,i,o,s,c,u=this.entries,l=L(e);if(l)for(r=(t=w(e,l)).next;!(n=a(r,t)).done;){if(o=(i=w(y(n.value))).next,(s=a(o,i)).done||(c=a(o,i)).done||!a(o,i).done)throw new Y("Expected sequence with length 2");$(u,{key:b(s.value),value:b(c.value)})}else for(var d in e)S(e,d)&&$(u,{key:d,value:b(e[d])})},parseQuery:function(e){if(e)for(var t,r,n=this.entries,i=te(e,"&"),o=0;o<i.length;)(t=i[o++]).length&&(r=te(t,"="),$(n,{key:ue(Z(r)),value:ue(J(r,"="))}))},serialize:function(){for(var e,t=this.entries,r=[],n=0;n<t.length;)e=t[n++],$(r,he(e.key)+"="+he(e.value));return J(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Ee=function(){g(this,ge);var e=U(this,new _e(arguments.length>0?arguments[0]:void 0));u||(this.size=e.entries.length)},ge=Ee.prototype;if(h(ge,{append:function(e,t){var r=k(this);N(arguments.length,2),$(r.entries,{key:b(e),value:b(t)}),u||this.size++,r.updateURL()},delete:function(e){for(var t=k(this),r=N(arguments.length,1),n=t.entries,i=b(e),o=r<2?void 0:arguments[1],s=void 0===o?o:b(o),a=0;a<n.length;){var c=n[a];c.key!==i||void 0!==s&&c.value!==s?a++:ee(n,a,1)}u||(this.size=n.length),t.updateURL()},get:function(e){var t=k(this).entries;N(arguments.length,1);for(var r=b(e),n=0;n<t.length;n++)if(t[n].key===r)return t[n].value;return null},getAll:function(e){var t=k(this).entries;N(arguments.length,1);for(var r=b(e),n=[],i=0;i<t.length;i++)t[i].key===r&&$(n,t[i].value);return n},has:function(e){for(var t=k(this).entries,r=N(arguments.length,1),n=b(e),i=r<2?void 0:arguments[1],o=void 0===i?i:b(i),s=0;s<t.length;){var a=t[s++];if(a.key===n&&(void 0===o||a.value===o))return!0}return!1},set:function(e,t){var r=k(this);N(arguments.length,2);for(var n,i=r.entries,o=!1,s=b(e),a=b(t),c=0;c<i.length;c++)(n=i[c]).key===s&&(o?ee(i,c--,1):(o=!0,n.value=a));o||$(i,{key:s,value:a}),u||(this.size=i.length),r.updateURL()},sort:function(){var e=k(this);I(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,r=k(this).entries,n=v(e,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((t=r[i++]).value,t.key,this)},keys:function(){return new fe(this,"keys")},values:function(){return new fe(this,"values")},entries:function(){return new fe(this,"entries")}},{enumerable:!0}),d(ge,M,ge.entries,{name:"entries"}),d(ge,"toString",(function(){return k(this).serialize()}),{enumerable:!0}),u&&p(ge,"size",{get:function(){return k(this).entries.length},configurable:!0,enumerable:!0}),f(Ee,D),n({global:!0,constructor:!0,forced:!l},{URLSearchParams:Ee}),!l&&T(H)){var Te=c(F.has),Se=c(F.set),ve=function(e){if(O(e)){var t,r=e.body;if(m(r)===D)return t=e.headers?new H(e.headers):new H,Te(t,"content-type")||Se(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),A(e,{body:R(0,b(r)),headers:R(0,t)})}return e};if(T(V)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return V(e,arguments.length>1?ve(arguments[1]):{})}}),T(B)){var me=function(e){return g(this,G),new B(e,arguments.length>1?ve(arguments[1]):{})};G.constructor=me,me.prototype=G,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:me})}}e.exports={URLSearchParams:Ee,getState:k}},4942(e,t,r){"use strict";var n=r(6587),i=r(9055),o=r(9164),s=r(767),a=URLSearchParams,c=a.prototype,u=i(c.append),l=i(c.delete),d=i(c.forEach),p=i([].push),h=new a("a=1&a=2&b=3");h.delete("a",1),h.delete("b",void 0),h+""!="a=2"&&n(c,"delete",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return l(this,e);var n=[];d(this,(function(e,t){p(n,{key:t,value:e})})),s(t,1);for(var i,a=o(e),c=o(r),h=0,f=n.length;h<f;)l(this,(i=n[h]).key),h++;for(h=0;h<f;)(i=n[h++]).key===a&&i.value===c||u(this,i.key,i.value)}),{enumerable:!0,unsafe:!0})},3621(e,t,r){"use strict";var n=r(6587),i=r(9055),o=r(9164),s=r(767),a=URLSearchParams,c=a.prototype,u=i(c.getAll),l=i(c.has),d=new a("a=1");!d.has("a",2)&&d.has("a",void 0)||n(c,"has",(function(e){var t=arguments.length,r=t<2?void 0:arguments[1];if(t&&void 0===r)return l(this,e);var n=u(this,e);s(t,1);for(var i=o(r),a=0;a<n.length;)if(n[a++]===i)return!0;return!1}),{enumerable:!0,unsafe:!0})},3863(e,t,r){"use strict";r(2453)},6552(e,t,r){"use strict";var n=r(3683),i=r(9055),o=r(2215),s=URLSearchParams.prototype,a=i(s.forEach);n&&!("size"in s)&&o(s,"size",{get:function(){var e=0;return a(this,(function(){e++})),e},configurable:!0,enumerable:!0})},8225(e,t,r){"use strict";r(1453);var n,i=r(2879),o=r(3683),s=r(1723),a=r(8619),c=r(1099),u=r(9055),l=r(6587),d=r(2215),p=r(2424),h=r(4608),f=r(8126),_=r(9569),E=r(4551),g=r(354).codeAt,T=r(6064),S=r(9164),v=r(1668),m=r(767),y=r(2453),O=r(9168),b=O.set,A=O.getterFor("URL"),R=y.URLSearchParams,w=y.getState,L=a.URL,C=a.TypeError,N=a.encodeURIComponent,P=a.parseInt,I=Math.floor,M=Math.pow,D=u("".charAt),x=u(/./.exec),U=u([].join),k=u(1.1.toString),j=u([].pop),V=u([].push),B=u("".replace),H=u([].shift),G=u("".split),F=u("".slice),Y=u("".toLowerCase),X=u([].unshift),W="Invalid scheme",z="Invalid host",K="Invalid port",q=/[a-z]/i,J=/[\d+\-.a-z]/i,$=/\d/,Q=/^0x/i,Z=/^[0-7]+$/,ee=/^\d+$/,te=/^[\da-f]+$/i,re=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,ie=/^[\u0000-\u0020]+/,oe=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,se=/[\t\n\r]/g,ae=function(e){var t,r,n,i;if("number"==typeof e){for(t=[],r=0;r<4;r++)X(t,e%256),e=I(e/256);return U(t,".")}if("object"==typeof e){for(t="",n=function(e){for(var t=null,r=1,n=null,i=0,o=0;o<8;o++)0!==e[o]?(i>r&&(t=n,r=i),n=null,i=0):(null===n&&(n=o),++i);return i>r?n:t}(e),r=0;r<8;r++)i&&0===e[r]||(i&&(i=!1),n===r?(t+=r?":":"::",i=!0):(t+=k(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},ce={},ue=f({},ce,{" ":1,'"':1,"#":1,"<":1,">":1}),le=f({},ue,{"'":1}),de=f({},ce,{" ":1,'"':1,"<":1,">":1,"`":1}),pe=f({},de,{"#":1,"?":1,"{":1,"}":1,"^":1}),he=f({},pe,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),fe=function(e,t){var r=g(e,0);return r>=32&&r<127&&!h(t,e)?e:"'"===e&&h(t,e)?"%27":N(e)},_e={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Ee=function(e,t){var r;return 2===e.length&&x(q,D(e,0))&&(":"===(r=D(e,1))||!t&&"|"===r)},ge=function(e){var t;return e.length>1&&Ee(F(e,0,2))&&(2===e.length||"/"===(t=D(e,2))||"\\"===t||"?"===t||"#"===t)},Te=function(e){return"."===e||"%2e"===Y(e)},Se=function(e){return".."===(e=Y(e))||"%2e."===e||".%2e"===e||"%2e%2e"===e},ve={},me={},ye={},Oe={},be={},Ae={},Re={},we={},Le={},Ce={},Ne={},Pe={},Ie={},Me={},De={},xe={},Ue={},ke={},je={},Ve={},Be={},He=function(e,t,r){var n,i,o,s=S(e);if(t){if(i=this.parse(s))throw new C(i);this.searchParams=null}else{if(void 0!==r&&(n=new He(r,!0)),i=this.parse(s,null,n))throw new C(i);(o=w(new R)).bindURL(this),this.searchParams=o}};He.prototype={type:"URL",parse:function(e,t,r){var i,o,s,a,c=this,u=t||ve,l=0,d="",p=!1,f=!1,g=!1;for(e=S(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=B(e,ie,""),e=B(e,oe,"$1")),e=B(e,se,""),i=_(e);l<=i.length;){switch(o=i[l],u){case ve:if(!o||!x(q,o)){if(t)return W;u=ye;continue}d+=Y(o),u=me;break;case me:if(o&&x(J,o))d+=Y(o);else{if(":"!==o){if(t)return W;d="",u=ye,l=0;continue}if(t&&(c.isSpecial()!==h(_e,d)||"file"===d&&(c.includesCredentials()||null!==c.port)||"file"===c.scheme&&""===c.host))return;if(c.scheme=d,t)return void(c.isSpecial()&&_e[c.scheme]===c.port&&(c.port=null));d="","file"===c.scheme?u=Me:c.isSpecial()&&r&&r.scheme===c.scheme?u=Oe:c.isSpecial()?u=we:"/"===i[l+1]?(u=be,l++):(c.cannotBeABaseURL=!0,V(c.path,""),u=je)}break;case ye:if(!r||r.cannotBeABaseURL&&"#"!==o)return W;if(r.cannotBeABaseURL&&"#"===o){c.scheme=r.scheme,c.path=E(r.path),c.query=r.query,c.fragment="",c.cannotBeABaseURL=!0,u=Be;break}u="file"===r.scheme?Me:Ae;continue;case Oe:if("/"!==o||"/"!==i[l+1]){u=Ae;continue}u=Le,l++;break;case be:if("/"===o){u=Ce;break}u=ke;continue;case Ae:if(c.scheme=r.scheme,o===n)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=E(r.path),c.query=r.query;else if("/"===o||"\\"===o&&c.isSpecial())u=Re;else if("?"===o)c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=E(r.path),c.query="",u=Ve;else{if("#"!==o){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=E(r.path),c.path.length&&c.path.length--,u=ke;continue}c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,c.path=E(r.path),c.query=r.query,c.fragment="",u=Be}break;case Re:if(!c.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){c.username=r.username,c.password=r.password,c.host=r.host,c.port=r.port,u=ke;continue}u=Ce}else u=Le;break;case we:if(u=Le,"/"!==o||"/"!==i[l+1])continue;l++;break;case Le:if("/"!==o&&"\\"!==o){u=Ce;continue}break;case Ce:if("@"===o){p&&(d="%40"+d),p=!0,s=_(d);for(var T=0;T<s.length;T++){var v=s[T];if(":"!==v||g){var m=fe(v,he);g?c.password+=m:c.username+=m}else g=!0}d=""}else if(o===n||"/"===o||"?"===o||"#"===o||"\\"===o&&c.isSpecial()){if(p&&""===d)return"Invalid authority";l-=_(d).length+1,d="",u=Ne}else d+=o;break;case Ne:case Pe:if(t&&"file"===c.scheme){u=xe;continue}if(":"!==o||f){if(o===n||"/"===o||"?"===o||"#"===o||"\\"===o&&c.isSpecial()){if(c.isSpecial()&&""===d)return z;if(t&&""===d&&(c.includesCredentials()||null!==c.port))return;if(a=c.parseHost(d))return a;if(d="",u=Ue,t)return;continue}"["===o?f=!0:"]"===o&&(f=!1),d+=o}else{if(""===d)return z;if(t===Pe)return;if(a=c.parseHost(d))return a;d="",u=Ie}break;case Ie:if(!x($,o)){if(o===n||"/"===o||"?"===o||"#"===o||"\\"===o&&c.isSpecial()||t){if(""!==d){var y=P(d,10);if(y>65535)return K;c.port=c.isSpecial()&&y===_e[c.scheme]?null:y,d=""}if(t)return;u=Ue;continue}return K}d+=o;break;case Me:if(c.scheme="file",c.host="","/"===o||"\\"===o)u=De;else{if(!r||"file"!==r.scheme){u=ke;continue}switch(o){case n:c.host=r.host,c.path=E(r.path),c.query=r.query;break;case"?":c.host=r.host,c.path=E(r.path),c.query="",u=Ve;break;case"#":c.host=r.host,c.path=E(r.path),c.query=r.query,c.fragment="",u=Be;break;default:c.host=r.host,ge(U(E(i,l),""))||(c.path=E(r.path),c.shortenPath()),u=ke;continue}}break;case De:if("/"===o||"\\"===o){u=xe;break}r&&"file"===r.scheme&&(c.host=r.host,!ge(U(E(i,l),""))&&Ee(r.path[0],!0)&&V(c.path,r.path[0])),u=ke;continue;case xe:if(o===n||"/"===o||"\\"===o||"?"===o||"#"===o){if(!t&&Ee(d))u=ke;else if(""===d){if(c.host="",t)return;u=Ue}else{if(a=c.parseHost(d))return a;if("localhost"===c.host&&(c.host=""),t)return;d="",u=Ue}continue}d+=o;break;case Ue:if(c.isSpecial()){if(u=ke,"/"!==o&&"\\"!==o)continue}else if(t||"?"!==o)if(t||"#"!==o){if(o!==n&&(u=ke,"/"!==o))continue}else c.fragment="",u=Be;else c.query="",u=Ve;break;case ke:if(o===n||"/"===o||"\\"===o&&c.isSpecial()||!t&&("?"===o||"#"===o)){if(Se(d)?(c.shortenPath(),"/"===o||"\\"===o&&c.isSpecial()||V(c.path,"")):Te(d)?"/"===o||"\\"===o&&c.isSpecial()||V(c.path,""):("file"===c.scheme&&!c.path.length&&Ee(d)&&(null!==c.host&&""!==c.host&&(c.host=""),d=D(d,0)+":"),V(c.path,d)),d="","file"===c.scheme&&(o===n||"?"===o||"#"===o))for(;c.path.length>1&&""===c.path[0];)H(c.path);"?"===o?(c.query="",u=Ve):"#"===o&&(c.fragment="",u=Be)}else d+=fe(o,pe);break;case je:"?"===o?(c.query="",u=Ve):"#"===o?(c.fragment="",u=Be):o!==n&&(c.path[0]+=fe(o,ce));break;case Ve:t||"#"!==o?o!==n&&(c.query+=fe(o,c.isSpecial()?le:ue)):(c.fragment="",u=Be);break;case Be:o!==n&&(c.fragment+=fe(o,de))}l++}},parseHost:function(e){var t,r,n;if("["===D(e,0)){if("]"!==D(e,e.length-1))return z;if(t=function(e){var t,r,n,i,o,s,a,c=[0,0,0,0,0,0,0,0],u=0,l=null,d=0,p=function(){return D(e,d)};if(":"===p()){if(":"!==D(e,1))return;d+=2,l=++u}for(;p();){if(8===u)return;if(":"!==p()){for(t=r=0;r<4&&x(te,p());)t=16*t+P(p(),16),d++,r++;if("."===p()){if(0===r)return;if(d-=r,u>6)return;for(n=0;p();){if(i=null,n>0){if(!("."===p()&&n<4))return;d++}if(!x($,p()))return;for(;x($,p());){if(o=P(p(),10),null===i)i=o;else{if(0===i)return;i=10*i+o}if(i>255)return;d++}c[u]=256*c[u]+i,2!=++n&&4!==n||u++}if(4!==n)return;break}if(":"===p()){if(d++,!p())return}else if(p())return;c[u++]=t}else{if(null!==l)return;d++,l=++u}}if(null!==l)for(s=u-l,u=7;0!==u&&s>0;)a=c[u],c[u--]=c[l+s-1],c[l+--s]=a;else if(8!==u)return;return c}(F(e,1,-1)),!t)return z;this.host=t}else if(this.isSpecial()){if(e=T(e),x(re,e))return z;if(function(e){var t,r,n=G(e,".");if(""===n[n.length-1]){if(1===n.length)return!1;n.length--}return t=n[n.length-1],!!x(ee,t)||!!x(Q,t)&&(""===(r=F(t,2))||!!x(te,r))}(e)){if(t=function(e){var t,r,n,i,o,s,a,c=G(e,".");if(c.length&&""===c[c.length-1]&&c.length--,(t=c.length)>4)return null;for(r=[],n=0;n<t;n++){if(""===(i=c[n]))return null;if(o=10,i.length>1&&"0"===D(i,0)&&(o=x(Q,i)?16:8,i=F(i,8===o?1:2)),""===i)s=0;else{if(!x(10===o?ee:8===o?Z:te,i))return null;s=P(i,o)}V(r,s)}for(n=0;n<t;n++)if(s=r[n],n===t-1){if(s>=M(256,5-t))return null}else if(s>255)return null;for(a=j(r),n=0;n<r.length;n++)a+=r[n]*M(256,3-n);return a}(e),null===t)return z;this.host=t}else this.host=e}else{if(x(ne,e))return z;for(t="",r=_(e),n=0;n<r.length;n++)t+=fe(r[n],ce);this.host=t}},cannotHaveUsernamePasswordPort:function(){return null===this.host||""===this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return h(_e,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&Ee(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,n=e.password,i=e.host,o=e.port,s=e.path,a=e.query,c=e.fragment,u=t+":";return null!==i?(u+="//",e.includesCredentials()&&(u+=r+(n?":"+n:"")+"@"),u+=ae(i),null!==o&&(u+=":"+o)):"file"===t&&(u+="//"),null===i&&!e.cannotBeABaseURL&&s.length>1&&""===s[0]&&(u+="/."),u+=e.cannotBeABaseURL?s[0]:s.length?"/"+U(s,"/"):"",null!==a&&(u+="?"+a),null!==c&&(u+="#"+c),u},setHref:function(e){var t=this.parse(e);if(t)throw new C(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Ge(this.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+ae(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(S(e)+":",ve)},getUsername:function(){return this.username},setUsername:function(e){var t=_(S(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=fe(t[r],he)}},getPassword:function(){return this.password},setPassword:function(e){var t=_(S(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=fe(t[r],he)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ae(e):ae(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Ne)},getHostname:function(){var e=this.host;return null===e?"":ae(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Pe)},getPort:function(){var e=this.port;return null===e?"":S(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=S(e))?this.port=null:this.parse(e,Ie))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+U(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Ue))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=S(e))?this.query=null:("?"===D(e,0)&&(e=F(e,1)),this.query="",this.parse(e,Ve)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=S(e))?("#"===D(e,0)&&(e=F(e,1)),this.fragment="",this.parse(e,Be)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ge=function(e){var t=p(this,Fe),r=m(arguments.length,1)>1?arguments[1]:void 0,n=b(t,new He(e,!1,r));o||(t.href=n.serialize(),t.origin=n.getOrigin(),t.protocol=n.getProtocol(),t.username=n.getUsername(),t.password=n.getPassword(),t.host=n.getHost(),t.hostname=n.getHostname(),t.port=n.getPort(),t.pathname=n.getPathname(),t.search=n.getSearch(),t.searchParams=n.getSearchParams(),t.hash=n.getHash())},Fe=Ge.prototype,Ye=function(e,t){return{get:function(){return A(this)[e]()},set:t&&function(e){return A(this)[t](e)},configurable:!0,enumerable:!0}};if(o&&(d(Fe,"href",Ye("serialize","setHref")),d(Fe,"origin",Ye("getOrigin")),d(Fe,"protocol",Ye("getProtocol","setProtocol")),d(Fe,"username",Ye("getUsername","setUsername")),d(Fe,"password",Ye("getPassword","setPassword")),d(Fe,"host",Ye("getHost","setHost")),d(Fe,"hostname",Ye("getHostname","setHostname")),d(Fe,"port",Ye("getPort","setPort")),d(Fe,"pathname",Ye("getPathname","setPathname")),d(Fe,"search",Ye("getSearch","setSearch")),d(Fe,"searchParams",Ye("getSearchParams")),d(Fe,"hash",Ye("getHash","setHash"))),l(Fe,"toJSON",(function(){return A(this).serialize()}),{enumerable:!0}),l(Fe,"toString",(function(){return A(this).serialize()}),{enumerable:!0}),L){var Xe=L.createObjectURL,We=L.revokeObjectURL;Xe&&l(Ge,"createObjectURL",c(Xe,L)),We&&l(Ge,"revokeObjectURL",c(We,L))}v(Ge,"URL"),i({global:!0,constructor:!0,forced:!s,sham:!o},{URL:Ge})},2795(e,t,r){"use strict";r(8225)},8027(e,t,r){"use strict";var n=r(2879),i=r(3022);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},1916(e,t){!function(e){"use strict";let t=-1;const r=e=>{addEventListener("pageshow",(r=>{r.persisted&&(t=r.timeStamp,e(r))}),!0)},n=(e,t,r,n)=>{let i,o;return s=>{t.value>=0&&(s||n)&&(o=t.value-(i??0),(o||void 0===i)&&(i=t.value,t.delta=o,t.rating=((e,t)=>e>t[1]?"poor":e>t[0]?"needs-improvement":"good")(t.value,r),e(t)))}},i=e=>{requestAnimationFrame((()=>requestAnimationFrame(e)))},o=()=>{const e=performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},s=()=>o()?.activationStart??0,a=(e,r=-1)=>{const n=o();let i="navigate";return t>=0?i="back-forward-cache":n&&(document.prerendering||s()>0?i="prerender":document.wasDiscarded?i="restore":n.type&&(i=n.type.replace(/_/g,"-"))),{name:e,value:r,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:i}},c=new WeakMap;function u(e,t){return c.get(e)||c.set(e,new t),c.get(e)}class l{t;i=0;o=[];h(e){if(e.hadRecentInput)return;const t=this.o[0],r=this.o.at(-1);this.i&&t&&r&&e.startTime-r.startTime<1e3&&e.startTime-t.startTime<5e3?(this.i+=e.value,this.o.push(e)):(this.i=e.value,this.o=[e]),this.t?.(e)}}const d=(e,t,r={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(e)){const n=new PerformanceObserver((e=>{queueMicrotask((()=>{t(e.getEntries())}))}));return n.observe({type:e,buffered:!0,...r}),n}}catch{}},p=e=>{let t=!1;return()=>{t||(e(),t=!0)}};let h=-1;const f=new Set,_=()=>"hidden"!==document.visibilityState||document.prerendering?1/0:0,E=e=>{if("hidden"===document.visibilityState){if("visibilitychange"===e.type)for(const e of f)e();isFinite(h)||(h="visibilitychange"===e.type?e.timeStamp:0,removeEventListener("prerenderingchange",E,!0))}},g=()=>{if(h<0){const e=s(),t=document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").find((t=>"hidden"===t.name&&t.startTime>=e))?.startTime;h=t??_(),addEventListener("visibilitychange",E,!0),addEventListener("prerenderingchange",E,!0),r((()=>{setTimeout((()=>{h=_()}))}))}return{get firstHiddenTime(){return h},onHidden(e){f.add(e)}}},T=e=>{document.prerendering?addEventListener("prerenderingchange",e,!0):e()},S=[1800,3e3],v=(e,t={})=>{T((()=>{const o=g();let c,u=a("FCP");const l=d("paint",(e=>{for(const t of e)"first-contentful-paint"===t.name&&(l.disconnect(),t.startTime<o.firstHiddenTime&&(u.value=Math.max(t.startTime-s(),0),u.entries.push(t),c(!0)))}));l&&(c=n(e,u,S,t.reportAllChanges),r((r=>{u=a("FCP"),c=n(e,u,S,t.reportAllChanges),i((()=>{u.value=performance.now()-r.timeStamp,c(!0)}))})))}))},m=[.1,.25];let y=0,O=1/0,b=0;const A=e=>{for(const t of e)t.interactionId&&(O=Math.min(O,t.interactionId),b=Math.max(b,t.interactionId),y=b?(b-O)/7+1:0)};let R;const w=()=>R?y:performance.interactionCount??0;let L=0;class C{l=[];u=new Map;p;m;v(){L=w(),this.l.length=0,this.u.clear()}T(){const e=Math.min(this.l.length-1,Math.floor((w()-L)/50));return this.l[e]}h(e){if(this.p?.(e),!e.interactionId&&"first-input"!==e.entryType)return;const t=this.l.at(-1);let r=this.u.get(e.interactionId);if(r||this.l.length<10||e.duration>t.L){if(r?e.duration>r.L?(r.entries=[e],r.L=e.duration):e.duration===r.L&&e.startTime===r.entries[0].startTime&&r.entries.push(e):(r={id:e.interactionId,entries:[e],L:e.duration},this.u.set(r.id,r),this.l.push(r)),this.l.sort(((e,t)=>t.L-e.L)),this.l.length>10){const e=this.l.splice(10);for(const t of e)this.u.delete(t.id)}this.m?.(r)}}}const N=e=>{const t=globalThis.requestIdleCallback||setTimeout,r=globalThis.cancelIdleCallback||clearTimeout;if("hidden"===document.visibilityState)e();else{const n=p(e);let i=-1;const o=()=>{r(i),n()};addEventListener("visibilitychange",o,{once:!0,capture:!0}),i=t((()=>{removeEventListener("visibilitychange",o,{capture:!0}),n()}))}},P=[200,500];class I{p;h(e){this.p?.(e)}}const M=[2500,4e3],D=[800,1800],x=e=>{document.prerendering?T((()=>x(e))):"complete"!==document.readyState?addEventListener("load",(()=>x(e)),!0):setTimeout(e)};e.CLSThresholds=m,e.FCPThresholds=S,e.INPThresholds=P,e.LCPThresholds=M,e.TTFBThresholds=D,e.onCLS=(e,t={})=>{const o=g();v(p((()=>{let s,c=a("CLS",0);const p=u(t,l),h=e=>{for(const t of e)p.h(t);p.i>c.value&&(c.value=p.i,c.entries=p.o,s())},f=d("layout-shift",h);f&&(s=n(e,c,m,t.reportAllChanges),o.onHidden((()=>{h(f.takeRecords()),s(!0)})),r((()=>{p.i=0,c=a("CLS",0),s=n(e,c,m,t.reportAllChanges),i(s)})),setTimeout(s))})))},e.onFCP=v,e.onINP=(e,t={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const i=g();T((()=>{"interactionCount"in performance||R||(R=d("event",A,{durationThreshold:0}));let o,s=a("INP");const c=u(t,C),l=e=>{N((()=>{for(const t of e)c.h(t);const t=c.T();t&&t.L!==s.value&&(s.value=t.L,s.entries=t.entries,o())}))},p=d("event",l,{durationThreshold:t.durationThreshold??40});o=n(e,s,P,t.reportAllChanges),p&&(p.observe({type:"first-input",buffered:!0}),i.onHidden((()=>{l(p.takeRecords()),o(!0)})),r((()=>{c.v(),s=a("INP"),o=n(e,s,P,t.reportAllChanges)})))}))},e.onLCP=(e,t={})=>{T((()=>{const o=g();let c,l=a("LCP");const h=u(t,I),f=e=>{t.reportAllChanges||(e=e.slice(-1));for(const t of e)h.h(t),t.startTime<o.firstHiddenTime&&(l.value=Math.max(t.startTime-s(),0),l.entries=[t],c())},_=d("largest-contentful-paint",f);if(_){c=n(e,l,M,t.reportAllChanges);const o=p((()=>{f(_.takeRecords()),_.disconnect(),c(!0)})),s=e=>{e.isTrusted&&(N(o),removeEventListener(e.type,s,{capture:!0}))};for(const e of["keydown","click","visibilitychange"])addEventListener(e,s,{capture:!0});r((r=>{l=a("LCP"),c=n(e,l,M,t.reportAllChanges),i((()=>{l.value=performance.now()-r.timeStamp,c(!0)}))}))}}))},e.onTTFB=(e,t={})=>{let i=a("TTFB"),c=n(e,i,D,t.reportAllChanges);x((()=>{const u=o();u&&(i.value=Math.max(u.responseStart-s(),0),i.entries=[u],c(!0),r((()=>{i=a("TTFB",0),c=n(e,i,D,t.reportAllChanges),c(!0)})))}))}}(t)},4609(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.r(t),r.d(t,{_:()=>n})},5235(e,t,r){"use strict";function n(e,t){return Object.keys(e).forEach((function(r){"default"===r||Object.prototype.hasOwnProperty.call(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:function(){return e[r]}})})),e}r.r(t),r.d(t,{_:()=>n})},4922(e,t,r){"use strict";function n(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(n=function(e){return e?r:t})(e)}function i(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=n(t);if(r&&r.has(e))return r.get(e);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var a=o?Object.getOwnPropertyDescriptor(e,s):null;a&&(a.get||a.set)?Object.defineProperty(i,s,a):i[s]=e[s]}return i.default=e,r&&r.set(e,i),i}r.r(t),r.d(t,{_:()=>i})},6523(e,t,r){"use strict";function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.r(t),r.d(t,{_:()=>n})},768(e,t,r){"use strict";r.r(t),r.d(t,{customAlphabet:()=>s,customRandom:()=>o,nanoid:()=>a,random:()=>i,urlAlphabet:()=>n});let n="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",i=e=>crypto.getRandomValues(new Uint8Array(e)),o=(e,t,r)=>{let n=(2<<Math.log2(e.length-1))-1,i=-~(1.6*n*t/e.length);return(o=t)=>{let s="";for(;;){let t=r(i),a=0|i;for(;a--;)if(s+=e[t[a]&n]||"",s.length>=o)return s}}},s=(e,t=21)=>o(e,0|t,i),a=(e=21)=>{let t="",r=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+=n[63&r[e]];return t}},3469(e,t,r){"use strict";r.r(t),r.d(t,{createPicker:()=>se,isPickerWindow:()=>ae,openPickerWindow:()=>ce});var n,i,o,s,a={d:(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)},c={};function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a.d(c,{$:()=>ie,Fn:()=>Z,Xe:()=>re}),(n=s||(s={}))[n.DEBUG=0]="DEBUG",n[n.INFO=1]="INFO",n[n.WARN=2]="WARN",n[n.ERROR=3]="ERROR",n[n.CRITICAL=4]="CRITICAL";class l{constructor(){u(this,"loggingLevel",null),u(this,"loggingPrefix",""),u(this,"middlewares",[]),u(this,"critical",((e,...t)=>{this.processMiddlewares("console","critical",e,...t),null!==this.loggingLevel&&s.CRITICAL>=this.loggingLevel&&console.error(`${this.loggingPrefix}${e}`,...t)})),u(this,"debug",((e,...t)=>{this.processMiddlewares("console","debug",e,...t),null!==this.loggingLevel&&s.DEBUG>=this.loggingLevel&&console.debug(`${this.loggingPrefix}${e}`,...t)})),u(this,"debugNoConsole",((e,...t)=>{this.processMiddlewares("internal","debug",e,...t)})),u(this,"error",((e,...t)=>{this.processMiddlewares("console","error",e,...t),null!==this.loggingLevel&&s.ERROR>=this.loggingLevel&&console.error(`${this.loggingPrefix}${e}`,...t)})),u(this,"errorNoConsole",((e,...t)=>{this.processMiddlewares("internal","error",e,...t)})),u(this,"info",((e,...t)=>{this.processMiddlewares("console","info",e,...t),null!==this.loggingLevel&&s.INFO>=this.loggingLevel&&console.log(`${this.loggingPrefix}${e}`,...t)})),u(this,"infoNoConsole",((e,...t)=>{this.processMiddlewares("internal","info",e,...t)})),u(this,"setLoggingLevel",(e=>{this.loggingLevel=l.convertLogLevelToNumber(e)})),u(this,"setLoggingPrefix",(e=>{this.loggingPrefix=e})),u(this,"setMiddleware",(e=>{this.middlewares.push(e)})),u(this,"warn",((e,...t)=>{this.processMiddlewares("console","warn",e,...t),null!==this.loggingLevel&&s.WARN>=this.loggingLevel&&console.warn(`${this.loggingPrefix}${e}`,...t)})),u(this,"warnNoConsole",((e,...t)=>{this.processMiddlewares("internal","warn",e,...t)})),u(this,"processMiddlewares",((e,t,r,...n)=>{this.middlewares.forEach((i=>i(e,t,r,...n)))}))}}u(l,"convertLogLevelToNumber",(e=>{switch(e){case"debug":return s.DEBUG;case"info":return s.INFO;case"warn":return s.WARN;case"error":default:return s.ERROR;case"critical":return s.CRITICAL}}));let d=new l,p="1px solid #8f8f8f",h="#f5f5f5",f="#BD410B",_="#0264d7",E="https://cdn.signalfx.com/o11y-gdi-rum/session-replay/picker/off.gif",g="splunk-web-element-picker",T="replay-web-picker-confirm",S="replay-web-picker-connect",v="replay-web-picker-get-stats",m="replay-web-picker-stats";function y(e,t,r,n,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(n,i)}function O(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class b{cancelAll(e){for(let[t,{reject:r,timeoutId:n}]of this.pendingRequests.entries())this.window.clearTimeout(n),r(e),this.pendingRequests.delete(t);this.updateMessageListener()}dispose(){this.cancelAll(Error("StatsRequestManager disposed")),this.messageListener&&(this.window.removeEventListener("message",this.messageListener),this.messageListener=null)}requestStats(e){var t;return(t=function*(){var t,r,n,i;let o=this.getCommunicationWindow(this.window);if(!o||o.closed)return this.getEmptyStats();this.requestIdCounter+=1;let s=`req_${Date.now()}_${this.requestIdCounter}`;return this.postMessage(this.window,(n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}))}return e}({},(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){O(e,t,r[t])}))}return e}({},e),r=r={requestId:s},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})),t)),i=i={type:v},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}(Object(i)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(i,e))})),n)),new Promise(((t,r)=>{let n=this.window.setTimeout((()=>{this.pendingRequests.delete(s),this.updateMessageListener(),r(Error(`Stats request timed out after 20000ms for xpath: ${e.xpath}`))}),2e4);this.pendingRequests.set(s,{reject:r,resolve:t,timeoutId:n}),this.updateMessageListener()}))},function(){var e=this,r=arguments;return new Promise((function(n,i){var o=t.apply(e,r);function s(e){y(o,n,i,s,a,"next",e)}function a(e){y(o,n,i,s,a,"throw",e)}s(void 0)}))}).call(this)}getEmptyStats(){return{total:0,unique:0}}updateMessageListener(){let e=this.pendingRequests.size>0,t=null!==this.messageListener;e&&!t?(this.messageListener=this.handleMessage,this.window.addEventListener("message",this.messageListener)):!e&&t&&this.messageListener&&(this.window.removeEventListener("message",this.messageListener),this.messageListener=null)}constructor(e,t,r,n){O(this,"window",void 0),O(this,"targetOrigin",void 0),O(this,"getCommunicationWindow",void 0),O(this,"postMessage",void 0),O(this,"messageListener",void 0),O(this,"pendingRequests",void 0),O(this,"requestIdCounter",void 0),O(this,"handleMessage",void 0),this.window=e,this.targetOrigin=t,this.getCommunicationWindow=r,this.postMessage=n,this.messageListener=null,this.pendingRequests=new Map,this.requestIdCounter=0,this.handleMessage=e=>{if(!(e=>{if(null===e||"object"!=typeof e||e.type!==m||"string"!=typeof e.xpath||"object"!=typeof e.stats)return!1;let t=e.stats;return"number"==typeof t.total&&(void 0===t.unique||"number"==typeof t.unique)})(e.data)||!e.data.requestId)return;let t=this.getCommunicationWindow(this.window),r="*"===this.targetOrigin||e.origin===this.targetOrigin;if(null!==t&&e.source!==t||!r)return;let n=this.pendingRequests.get(e.data.requestId);n&&(this.window.clearTimeout(n.timeoutId),this.pendingRequests.delete(e.data.requestId),n.resolve(e.data.stats),this.updateMessageListener())}}}class A{dispose(){this.stop()}start(){null===this.intervalId&&(this.intervalId=this.window.setInterval((()=>{let e=this.getCommunicationWindow(this.window);e&&e.closed&&(this.stop(),this.onOpenerClosed(),this.window.close())}),this.intervalMs))}stop(){null!==this.intervalId&&(this.window.clearInterval(this.intervalId),this.intervalId=null)}constructor(e,t,r,n=1e3){O(this,"window",void 0),O(this,"getCommunicationWindow",void 0),O(this,"onOpenerClosed",void 0),O(this,"intervalMs",void 0),O(this,"intervalId",void 0),this.window=e,this.getCommunicationWindow=t,this.onOpenerClosed=r,this.intervalMs=n,this.intervalId=null}}class R{dispose(){this.window.removeEventListener("beforeunload",this.beforeUnloadHandler),this.windowMonitor.dispose(),this.statsRequestManager.dispose()}getStatsHandler(){return this.handleStatsRequest.bind(this)}handleStatsRequest(e){return this.statsRequestManager.requestStats(e)}constructor(e,t,r,n){O(this,"window",void 0),O(this,"beforeUnloadHandler",void 0),O(this,"statsRequestManager",void 0),O(this,"windowMonitor",void 0),this.window=e,this.statsRequestManager=new b(e,t,r,n),this.windowMonitor=new A(e,r,(()=>{this.statsRequestManager.cancelAll(Error("Opener window closed"))})),this.beforeUnloadHandler=()=>{this.statsRequestManager.dispose(),this.windowMonitor.dispose()},this.window.addEventListener("beforeunload",this.beforeUnloadHandler),this.windowMonitor.start()}}let w=(e,...t)=>{let r=[e[0]];return t.forEach((function(t,n){r.push(t,e[n+1])})),r.join("")},L={html:w`<style>.buttons{text-align:center;padding:8px;margin-bottom:12px;}.buttons button{padding:4px 8px;height:28px;border:1px solid rgba(0,0,0,0.48);border-radius:4px;background:white;margin:0 4px;transition:background-color 0.2s ease-in-out;cursor:pointer;color:black;}.buttons button:hover{background-color:${h};}.buttons button.primary{background:${_};color:white;}.buttons button.primary:hover{background:#00336d;}.buttons .confirm{display:none;}.show-content .buttons .confirm{display:inline-block;}.turned-on .buttons .turn-on{display:none;}</style><div class="buttons"><button class="secondary" aria-label="Cancel and close the element picker">Cancel</button><button class="primary turn-on" aria-label="Turn on the element picker to start selecting elements">
Turn on
</button><button class="primary confirm" aria-label="Confirm the selected element and its properties">
Confirm
</button></div>`,selectors:{cancel:".buttons .secondary",confirm:".buttons .primary.confirm",container:".buttons",turnOn:".buttons .primary.turn-on"}},C={html:w`<div class="handle"></div><style>.handle{padding:13px 0 10px;width:100%;cursor:move;}.handle::before{height:4px;width:60px;background:${_};border-radius:2px;content:'';display:block;margin:0 auto;}.handle:hover::before{background:${f};}</style>`,selectors:{handle:".handle"}},N=w`<?xml version="1.0" encoding="UTF-8"?><div class="splunk-logo"><svg height="20" fill="none" version="1.1" viewBox="0 0 122 36" xmlns="http://www.w3.org/2000/svg"><path
d="m12.93 21.8c0 0.8019-0.1696 1.547-0.5088 2.236-0.3392 0.6793-0.8198 1.264-1.423 1.736-0.6125 0.4811-1.338 0.849-2.177 1.113-0.8386 0.2641-1.762 0.3962-2.761 0.3962-1.197 0-2.271-0.1604-3.213-0.4905-0.9423-0.3208-1.894-0.868-2.846-1.623l1.574-2.557c0.7538 0.6321 1.432 1.094 2.045 1.387 0.6031 0.2925 1.225 0.434 1.866 0.434 0.7821 0 1.404-0.1982 1.885-0.6038 0.4806-0.4057 0.7067-0.9434 0.7067-1.632 0-0.2924-0.04712-0.566-0.1319-0.8207-0.08481-0.2548-0.245-0.5189-0.4711-0.7925-0.2262-0.2641-0.5465-0.566-0.9517-0.8773-0.3958-0.3114-0.914-0.7076-1.555-1.17-0.4806-0.3396-0.9611-0.6981-1.423-1.057-0.4617-0.3679-0.8763-0.7547-1.263-1.17-0.3769-0.4151-0.6784-0.8773-0.914-1.396-0.2262-0.5094-0.3486-1.104-0.3486-1.755 0-0.7547 0.1602-1.453 0.4711-2.076s0.7444-1.151 1.291-1.594c0.5465-0.4434 1.197-0.783 1.969-1.028 0.7632-0.2453 1.592-0.3679 2.497-0.3679 0.9517 0 1.866 0.1226 2.751 0.3774 0.8857 0.2547 1.706 0.6226 2.469 1.113l-1.423 2.302c-0.9705-0.6793-1.998-1.028-3.072-1.028-0.6502 0-1.197 0.1698-1.621 0.5094s-0.6408 0.7642-0.6408 1.283c0 0.4906 0.1885 0.934 0.5654 1.321 0.3769 0.3962 1.027 0.934 1.951 1.651 0.9329 0.6793 1.706 1.283 2.309 1.792 0.6125 0.5094 1.093 1 1.451 1.453 0.3581 0.4529 0.5937 0.9057 0.735 1.377 0.1413 0.4811 0.2073 0.9905 0.2073 1.557zm16.16-4.311c0 0.7075-0.0754 1.472-0.2261 2.292-0.1414 0.8208-0.3958 1.576-0.7538 2.274-0.3581 0.6981-0.8198 1.274-1.395 1.717-0.5748 0.4528-1.31 0.6792-2.186 0.6792-1.47 0-2.629-0.5849-3.477-1.764-0.8481-1.17-1.272-2.783-1.272-4.83 0-2.104 0.424-3.764 1.291-5 0.8575-1.236 2.026-1.849 3.496-1.849 1.395 0 2.497 0.5849 3.307 1.736 0.8104 1.16 1.216 2.745 1.216 4.745zm5.107-0.1793c0-1.368-0.1979-2.613-0.5842-3.726-0.3958-1.123-0.9423-2.085-1.668-2.896-0.7255-0.8113-1.574-1.434-2.563-1.887s-2.082-0.6792-3.279-0.6792c-1.319 0-2.478 0.2547-3.477 0.7453-0.9988 0.5-1.932 1.283-2.78 2.358l-0.0282-2.67h-4.702v27.44h4.693v-11.59c0.4617 0.5377 0.9045 0.9905 1.338 1.358 0.424 0.3679 0.8575 0.6698 1.3 0.8962 0.4428 0.2264 0.9045 0.3962 1.394 0.4906 0.49 0.0943 1.018 0.1415 1.574 0.1415 1.244 0 2.412-0.2548 3.486-0.7453 1.074-0.5 2.007-1.198 2.789-2.104s1.395-1.962 1.838-3.16c0.4523-1.208 0.669-2.538 0.669-3.972zm2.092 9.538h4.824v-26.85h-4.824v26.85zm25.4 0.0094v-18.32h-4.824v9.858c0 0.8774-0.0377 1.557-0.1131 2.038-0.0754 0.4811-0.1979 0.9056-0.3675 1.302-0.6784 1.509-1.932 2.274-3.75 2.274-1.423 0-2.412-0.5094-2.978-1.538-0.2261-0.3868-0.3769-0.8302-0.4617-1.321-0.0848-0.4905-0.1319-1.198-0.1319-2.132v-10.48h-4.824v10.41c0 0.7075 0.0094 1.311 0.0189 1.792 0.0094 0.4811 0.0471 0.9245 0.0942 1.302 0.0471 0.3774 0.1036 0.717 0.1696 1.01 0.0565 0.2924 0.1508 0.5754 0.2733 0.8396 0.4428 1.123 1.15 1.972 2.139 2.547 0.9894 0.5754 2.205 0.8585 3.637 0.8585 1.291 0 2.431-0.2265 3.411-0.6793s1.932-1.189 2.855-2.217l0.0094 2.453 4.843 0.0094zm20.79-0.0094v-10.39c0-0.7076-0.0094-1.311-0.0189-1.811-0.0094-0.5-0.0376-0.9339-0.0942-1.302-0.0471-0.368-0.113-0.6887-0.179-0.9623-0.0754-0.283-0.1602-0.5566-0.2544-0.8208-0.4429-1.094-1.15-1.943-2.139-2.538s-2.205-0.8962-3.647-0.8962c-1.291 0-2.431 0.2264-3.411 0.6792s-1.932 1.198-2.855 2.217l-0.0094-2.453h-4.853v18.28h4.862v-9.868c0-0.8491 0.0283-1.519 0.0942-1.991 0.0565-0.4717 0.1791-0.9151 0.3487-1.34 0.3109-0.7359 0.8009-1.283 1.451-1.66s1.423-0.566 2.327-0.566c1.423 0 2.412 0.5094 2.978 1.538 0.2168 0.3868 0.3675 0.8302 0.4523 1.311 0.0848 0.4812 0.1319 1.198 0.1319 2.123v10.43l4.815 0.0095zm19.96-1.208-7.349-9.142 6.209-6.66-3.656-1.575-6.464 7.5h-0.5088v-15.76h-4.862v26.85h4.862v-9.726l7.274 10.09 4.494-1.576zm18.79-6.566v-2.991l-14.62-7.34v3.292l11.33 5.519-11.33 5.594v3.217l14.62-7.292zm-13.2-15.08c-0.895 0-1.621 0.7358-1.621 1.642 0 0.9245 0.726 1.651 1.621 1.651 0.905 0 1.621-0.7264 1.621-1.651 0-0.9151-0.716-1.642-1.621-1.642zm0.01 0.2547c0.725 0 1.309 0.6226 1.309 1.396 0 0.7736-0.584 1.396-1.309 1.387-0.735 0-1.32-0.6132-1.32-1.396 0-0.7642 0.585-1.387 1.32-1.387zm-0.311 1.557h0.197c0.236 0 0.349 0.08491 0.396 0.3208 0.038 0.2453 0.085 0.4057 0.123 0.4623h0.311c-0.029-0.0566-0.076-0.1698-0.113-0.4528-0.038-0.2736-0.142-0.4151-0.311-0.4434v-0.01888c0.198-0.0566 0.358-0.2075 0.358-0.4434 0-0.1698-0.057-0.3019-0.17-0.3774-0.113-0.0849-0.292-0.1415-0.565-0.1415-0.217 0-0.368 0.01887-0.518 0.04717v1.83h0.292v-0.783zm0-0.8491c0.047-0.00943 0.113-0.01886 0.207-0.01886 0.33 0 0.443 0.1604 0.443 0.3208 0 0.2264-0.208 0.3113-0.443 0.3113h-0.207v-0.6132z"
fill="#0C1724"
/></svg><span>Element picker</span></div><style>.splunk-logo{margin-left:20px;display:flex;align-items:center;gap:8px;height:30px;width:220px;font-size:12pt;font-weight:bold;color:black;}</style>`,P=w`<style>.segmented-control{display:flex;border:${p};border-radius:5px;overflow:hidden;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Helvetica,Arial,sans-serif;}.segmented-control input[type='radio']{display:none;}.segmented-control label{padding:6px 18px;cursor:pointer;background-color:#ffffff;color:#2c2c2c;font-weight:500;text-align:center;transition:background-color 0.2s ease-in-out;flex:1;border-right:${p};text-wrap:nowrap;}.segmented-control label:last-of-type{border-right:none;}.segmented-control input[type='radio']:checked + label{background-color:#e0e0e0;}.segmented-control input[type='radio']:not(:checked) + label:hover{background-color:${h};}</style><div class="segmented-control"><input type="radio" id="all-urls" name="url-filter" value="all-urls" checked /><label for="all-urls">All URLs</label><input type="radio" id="this-url" name="url-filter" value="this-url" /><label for="this-url">This URL</label></div>`,I=w`<style>.slider-container{display:flex;align-items:center;margin:8px 0;}.slider-container button{height:28px;border:1px solid rgba(0,0,0,0.48);border-radius:4px;background:white;padding:5px;transition:background-color 0.2s ease-in-out;cursor:pointer;}.slider-container button:hover{background-color:${h};}.slider{flex:1;margin:0 10px;}input[type='range']{-webkit-appearance:none;appearance:none;background:transparent;cursor:pointer;}input[type='range']:focus{outline:none;}input[type='range']::-webkit-slider-runnable-track{background-color:#dddddd;border-radius:6px;height:6px;border:${p};}input[type='range']::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;margin-top:-7px;background-color:#ffffff;border-radius:10px;height:20px;width:20px;outline:2px solid #6b6b6b;}input[type='range']:focus::-webkit-slider-thumb{outline:2px solid #6b6b6b;}input[type='range']::-moz-range-track{background-color:#dddddd;border-radius:6px;height:6px;border:${p};}input[type='range']::-moz-range-thumb{background-color:#ffffff;border:none;border-radius:10px;height:20px;width:20px;outline:2px solid #6b6b6b;}input[type='range']:focus::-moz-range-thumb{outline:2px solid #6b6b6b;}</style><div class="slider-container"><button class="slider-prev-button"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path
fill-rule="evenodd"
clip-rule="evenodd"
d="M6.14279 8.00006L10.3429 3.79994C10.6033 3.53959 10.6033 3.11748 10.3429 2.85713C10.0826 2.59678 9.66045 2.59678 9.4001 2.85713L4.96428 7.29295C4.57375 7.68348 4.57376 8.31664 4.96428 8.70717L9.4001 13.143C9.66045 13.4033 10.0826 13.4033 10.3429 13.143C10.6033 12.8826 10.6033 12.4605 10.3429 12.2002L6.14279 8.00006Z"
fill="#2C2C2C"
/></svg></button><input type="range" class="slider" /><button class="slider-next-button"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path
fill-rule="evenodd"
clip-rule="evenodd"
d="M9.85718 8.00006L5.65705 3.79994C5.3967 3.53959 5.3967 3.11748 5.65705 2.85713C5.9174 2.59678 6.33951 2.59678 6.59986 2.85713L11.0357 7.29296C11.4262 7.68348 11.4262 8.31665 11.0357 8.70717L6.60076 13.1421C6.34041 13.4024 5.9183 13.4024 5.65795 13.1421C5.3976 12.8817 5.3976 12.4596 5.65795 12.1993L9.85718 8.00006Z"
fill="#2C2C2C"
/></svg></button></div>`,M=".slider-container .slider-next-button",D=".slider-container .slider-prev-button",x=".slider-container .slider",U=w`<table class="stats-table"><tr><th colspan="2">Last 7 days stats</th></tr><tr><td>Total clicks</td><td class="total-clicks">-</td></tr><tr class="unique-users-row"><td>Unique users</td><td class="unique-clicks">-</td></tr></table><style>.stats-table{width:100%;margin:16px 0;background:#f7f7f7;padding:12px;border-radius:4px;font-size:10pt;}.stats-table th,.stats-table td{padding:4px 0;}.stats-table th{text-align:left;text-transform:uppercase;color:#6b6b6b;}.stats-table td{color:#4d4d4d;}.stats-table td:last-child{text-align:right;}.stats-table .unique-users-row{display:none;}.stats-table .unique-users-row.show{display:table-row;}</style>`,k={html:w`<div class="skeleton-container"><img id="skeleton-img" src="${E}" /><div id="skeleton-content"><textarea readonly></textarea>
${I}
<div class="skeleton-checkbox"><input type="checkbox" id="include-text" checked /><label for="include-text">Include text property</label></div><div class="skeleton-track-title">Track on</div>
${P} ${U}
</div><div class="comment"></div></div><style>.skeleton-container{display:flex;margin:12px 21px;flex-direction:column;color:#2c2c2c;}.skeleton-container img{border:4px solid #eff2f5;border-radius:8px;margin:0 auto;width:312px;height:194px;box-sizing:border-box;}.skeleton-container textarea{background:#f7f7f7;border-radius:4px;border:0;resize:none;flex:1;width:100%;padding:12px 8px;box-sizing:border-box;color:#4d4d4d;}.skeleton-container input[type='checkbox']{position:absolute;overflow:hidden;clip:rect(0 0 0 0);height:1px;width:1px;margin:-1px;padding:0;border:0;}.skeleton-container input[type='checkbox'] + label{position:relative;cursor:pointer;display:inline-flex;align-items:center;height:20px;}.skeleton-container input[type='checkbox']:disabled + label{cursor:not-allowed;opacity:0.5;}.skeleton-container input[type='checkbox'] + label::before{content:' ';display:inline-block;vertical-align:middle;margin-right:9px;width:18px;height:18px;background-color:white;border-width:1px;border-style:solid;border-color:rgb(133,133,133);border-radius:4px;box-shadow:none;}.skeleton-container input[type='checkbox']:checked + label::after{content:' ';background-image:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIiIGQ9Ik0xNzMuODk4IDQzOS40MDRsLTE2Ni40LTE2Ni40Yy05Ljk5Ny05Ljk5Ny05Ljk5Ny0yNi4yMDYgMC0zNi4yMDRsMzYuMjAzLTM2LjIwNGM5Ljk5Ny05Ljk5OCAyNi4yMDctOS45OTggMzYuMjA0IDBMMTkyIDMxMi42OSA0MzIuMDk1IDcyLjU5NmM5Ljk5Ny05Ljk5NyAyNi4yMDctOS45OTcgMzYuMjA0IDBsMzYuMjAzIDM2LjIwNGM5Ljk5NyA5Ljk5NyA5Ljk5NyAyNi4yMDYgMCAzNi4yMDRsLTI5NC40IDI5NC40MDFjLTkuOTk4IDkuOTk3LTI2LjIwNyA5Ljk5Ny0zNi4yMDQtLjAwMXoiLz48L3N2Zz4=');background-repeat:no-repeat;background-size:10px 10px;background-position:center center;position:absolute;display:flex;justify-content:center;align-items:center;margin-left:0px;left:0px;top:0px;text-align:center;background-color:transparent;height:20px;width:20px;}.skeleton-container .comment,.skeleton-container #skeleton-img{display:block;}.skeleton-container #skeleton-content,.show-content .skeleton-container .comment,.show-content .skeleton-container #skeleton-img{display:none;}.show-content .skeleton-container #skeleton-content{display:block;}.skeleton-container .skeleton-checkbox{margin:16px 0;}.skeleton-container .skeleton-track-title{margin:20px 0 8px;}.skeleton-container .comment{color:#4d4d4d;text-align:center;margin:12px 0;font-size:10pt;}</style>`,selectors:{comment:".comment",includeText:"#include-text",selectedUrlFilter:'input[name="url-filter"]:checked',skeletonContainer:".skeleton-container",skeletonImg:"#skeleton-img",textarea:"textarea",totalClicks:".total-clicks",uniqueClicks:".unique-clicks"}},j=w`<div class="toggle-container"><input type="checkbox" id="toggle-switch" class="toggle-input" /><label for="toggle-switch" class="toggle-label"></label><span class="toggle-text" aria-live="polite"><span class="toggle-text-on">ON</span><span class="toggle-text-off">OFF</span></span></div><style>.toggle-container{display:inline-flex;align-items:center;gap:8px;flex-direction:row-reverse;margin:4px 20px 0 0;}.toggle-input{display:none;}.toggle-label{display:block;width:38px;height:18px;border-radius:15px;position:relative;cursor:pointer;transition:background-color 0.3s ease;border:1px solid #858585;}.toggle-label::before{content:'';position:absolute;top:3px;left:3px;width:12px;height:12px;background-color:#000;border-radius:50%;transition:transform 0.3s ease;}.toggle-input:checked + .toggle-label{background-color:${_};border:1px solid ${_};}.toggle-input:checked + .toggle-label::before{background-color:#fff;transform:translateX(20px);}.toggle-text{font-family:sans-serif;color:#000;min-width:32px;text-align:right;margin-top:2px;}.toggle-text-on{display:none;}.toggle-input:checked + .toggle-label + .toggle-text .toggle-text-on{display:inline;}.toggle-input:checked + .toggle-label + .toggle-text .toggle-text-off{display:none;}</style>`,V={html:w`<style>.title-container{display:flex;border-bottom:1px solid #e0e0e0;flex-direction:row;padding-bottom:14px;justify-content:space-between;width:100%;}.logo-container{cursor:move;margin:2px 0 0 1px;}.toggle-container input:focus-visible + .toggle-label{outline:2px solid ${_};outline-offset:2px;}</style><div class="title-container"><div class="logo-container">${N}</div>
${j}
</div>`,selectors:(i=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}))}return e}({},{toggleInput:".toggle-container input"}),o=o={container:".title-container",logo:".title-container .logo-container"},Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}(Object(o)).forEach((function(e){Object.defineProperty(i,e,Object.getOwnPropertyDescriptor(o,e))})),i)};function B(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let H=w`<div id="picker-root">${[C.html,V.html,k.html,L.html].join("\n")}</div>`;class G{dispose(){this.cancelButton.removeEventListener("click",this.cancelHandler)}queryElement(e,t){let r=this.shadowRoot.querySelector(e);if(!r)throw Error(t);return r}get cancelButton(){return this.queryElement(L.selectors.cancel,"Cancel button not found in shadow DOM")}get confirmButton(){return this.queryElement(L.selectors.confirm,"Confirm button not found in shadow DOM")}get document(){return this.params.window.document}get logoContainer(){return this.queryElement(V.selectors.logo,"Logo container not found in shadow DOM")}get rootElement(){return this.queryElement("#picker-root","Picker root element not found in shadow DOM")}get toggleElement(){return this.queryElement(V.selectors.toggleInput,"Toggle element not found in shadow DOM")}get turnOnButton(){return this.queryElement(L.selectors.turnOn,"Turn on button not found in shadow DOM")}get window(){return this.params.window}setRootStyle(){let e=this.hostElement.style;e.position="fixed",e.top="0",e.left="0",e.width="360px",e.background="white",e.boxSizing="border-box",e.border=`3px solid ${_}`,e.borderRadius="12px",e.fontSize="10pt",e.fontFamily="Trebuchet MS, sans-serif",e.zIndex="2147483647"}constructor(e){B(this,"params",void 0),B(this,"hostElement",void 0),B(this,"shadowRoot",void 0),B(this,"cancelHandler",void 0),this.params=e,this.cancelHandler=()=>this.window.close(),this.hostElement=this.document.createElement("div"),this.setRootStyle(),this.params.rootElement.append(this.hostElement),this.shadowRoot=this.hostElement.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=H,this.cancelButton.addEventListener("click",this.cancelHandler)}}let F={html:w`<div class="loader"><span class="dot"></span><span class="dot"></span><span class="dot"></span></div><style>.loader{display:flex;justify-content:end;align-items:center;}.dot{width:5px;height:5px;margin:0 2px;background-color:#b6b6b6;border-radius:1px;transform:translateY(0);}@keyframes dot-jump-1{0%,33.33%{transform:translateY(0);}16.66%{transform:translateY(-5px);}33.34%,100%{transform:translateY(0);}}@keyframes dot-jump-2{0%,33.33%{transform:translateY(0);}33.34%,66.66%{transform:translateY(0);}50%{transform:translateY(-5px);}66.67%,100%{transform:translateY(0);}}@keyframes dot-jump-3{0%,66.66%{transform:translateY(0);}66.67%,100%{transform:translateY(0);}83.33%{transform:translateY(-5px);}}.dot:nth-child(1){animation:dot-jump-1 2.4s infinite ease-in-out;}.dot:nth-child(2){animation:dot-jump-2 2.4s infinite ease-in-out;}.dot:nth-child(3){animation:dot-jump-3 2.4s infinite ease-in-out;}</style>`};function Y(e,t,r,n,i,o,s){try{var a=e[o](s),c=a.value}catch(e){return void r(e)}a.done?t(c):Promise.resolve(c).then(n,i)}function X(e){return function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function s(e){Y(o,n,i,s,a,"next",e)}function a(e){Y(o,n,i,s,a,"throw",e)}s(void 0)}))}}function W(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function z(e){let{text:t,url:r,xpath:n}=e;return[n,t,r].filter(Boolean).join("|")}class K extends G{dispose(){this.skeletonContainer.querySelectorAll('input[name="url-filter"]').forEach((e=>e.removeEventListener("change",this.updateSelectedElementStats))),this.sliderRangeElement.removeEventListener("input",this.handleSliderInput),this.sliderPrevButtonElement.removeEventListener("click",this.sliderPrevHandler),this.sliderNextButtonElement.removeEventListener("click",this.sliderNextHandler),this.includeTextInputElement.removeEventListener("change",this.includeTextHandler),this.statsUpdateDebounceTimer&&clearTimeout(this.statsUpdateDebounceTimer),super.dispose()}get commentElement(){return this.queryElement(k.selectors.comment,"Comment element not found in shadow DOM")}get skeletonImgElement(){return this.queryElement(k.selectors.skeletonImg,"Skeleton image element not found in shadow DOM")}get selectedUrlFilter(){return this.queryElement(k.selectors.selectedUrlFilter,"Selected URL filter not found in shadow DOM")}get selectedElement(){if(!this.elementPath.length)throw Error("No element selected");let e=Number.parseInt(this.sliderRangeElement.value),t=Math.min(Math.max(e,0),this.elementPath.length-1);t!==e&&(this.sliderRangeElement.value=t.toString());let r=this.elementPath[t];if(!r)throw Error("No element selected at the specified index");return r}get sliderRangeElement(){return this.queryElement(x,"Slider range element not found in shadow DOM")}get textareaElement(){return this.queryElement(k.selectors.textarea,"Textarea element not found in shadow DOM")}get totalClicksElement(){return this.queryElement(k.selectors.totalClicks,"Total clicks element not found in shadow DOM")}get skeletonContainer(){return this.queryElement(k.selectors.skeletonContainer,"Skeleton container not found in shadow DOM")}get uniqueClicksElement(){return this.queryElement(k.selectors.uniqueClicks,"Unique clicks element not found in shadow DOM")}getStatsForSelectedElement(){if(!this.elementPath.length)return;let e=z(this.buildStatsParams());return this.statsCache.get(e)}evictCacheIfNeeded(){for(;this.statsCache.size>K.MAX_CACHE_SIZE;){let e=this.statsCache.keys().next().value;if(!e)break;this.statsCache.delete(e)}}fetchStatsIfNeeded(){return X((function*(){let e=this.buildStatsParams();this.showLoadingState();let t=z(e),r=this.inFlightStats.get(t);if(r)return r;try{let r=this.params.getStats(e).then((e=>{var r;return this.updateStatsCache(t,e),null!=(r=this.getStatsForSelectedElement())?r:{total:0,unique:0}})).catch((e=>(d.error("Failed to retrieve stats:",e),{total:0,unique:0}))).finally((()=>{this.inFlightStats.delete(t)}));return this.inFlightStats.set(t,r),yield r}catch(e){throw this.inFlightStats.delete(t),e}})).call(this)}get includeTextInputElement(){return this.queryElement(k.selectors.includeText,"Include text input element not found in shadow DOM")}get sliderNextButtonElement(){return this.queryElement(M,"Slider next button not found in shadow DOM")}get sliderPrevButtonElement(){return this.queryElement(D,"Slider prev button not found in shadow DOM")}showLoadingState(){this.totalClicksElement.innerHTML=F.html,this.uniqueClicksElement.innerHTML=F.html}updateStatsCache(e,t){var r;let n=null!=(r=this.statsCache.get(e))?r:{};this.statsCache.set(e,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){W(e,t,r[t])}))}return e}({},n,t)),this.evictCacheIfNeeded()}updateStatsDisplay(e){this.totalClicksElement.textContent=e.total.toString();let t=this.uniqueClicksElement.closest("tr");t&&(void 0===e.unique?t.classList.remove("show"):(t.classList.add("show"),this.uniqueClicksElement.textContent=e.unique.toString()))}constructor(e){var t;super(e),t=this,W(this,"elementPath",[]),W(this,"lastTarget",void 0),W(this,"boxShadowBackup",void 0),W(this,"inFlightStats",new Map),W(this,"statsCache",new Map),W(this,"statsUpdateDebounceTimer",void 0),W(this,"buildConfirmParams",(()=>this.buildStatsParams())),W(this,"buildStatsParams",(()=>{let e;if(!this.selectedElement)throw Error("No element selected");"this-url"===this.selectedUrlFilter.value&&((e=new URL(this.window.location.href)).searchParams.delete(g),e=e.toString());let t=this.params.getElementXPath(this.selectedElement),r=this.params.getElementText(this.selectedElement),n=""!==r;return this.includeTextInputElement.disabled=!n,{text:this.includeTextInputElement.checked&&n?r:void 0,url:e,xpath:t}})),W(this,"clearHighlight",(()=>{this.lastTarget&&(this.lastTarget.style.boxShadow=this.boxShadowBackup||"",this.lastTarget=void 0,this.boxShadowBackup=void 0)})),W(this,"highlightElement",(e=>{this.lastTarget&&(this.lastTarget.style.boxShadow=this.boxShadowBackup||""),this.lastTarget=e,this.boxShadowBackup=this.lastTarget.style.boxShadow,this.lastTarget.style.boxShadow=`0 0 8px 3px ${f}`})),W(this,"updateSelectedElementStats",(()=>X((function*(){if(!t.elementPath.length)return;let e=z(t.buildStatsParams()),r=t.statsCache.get(e);r||(r=yield t.fetchStatsIfNeeded()),t.elementPath.length&&z(t.buildStatsParams())===e&&t.updateStatsDisplay(r)}))())),W(this,"updateTextarea",(()=>{if(!this.elementPath.length)return;let e=this.selectedElement;this.highlightElement(e);let{text:t,xpath:r}=this.buildStatsParams(),n=r;t&&(n+=`\n\n${t}`),this.textareaElement.value=n,this.textareaElement.scrollTop=this.textareaElement.scrollHeight})),W(this,"handleSliderInput",(()=>{this.elementPath.length&&(this.updateTextarea(),this.statsUpdateDebounceTimer&&clearTimeout(this.statsUpdateDebounceTimer),this.statsUpdateDebounceTimer=setTimeout((()=>{this.statsUpdateDebounceTimer=void 0,this.updateSelectedElementStats()}),500))})),W(this,"includeTextHandler",(()=>{this.updateTextarea(),this.updateSelectedElementStats()})),W(this,"sliderNextHandler",(()=>{let e=Math.min(Number.parseInt(this.sliderRangeElement.max),Number.parseInt(this.sliderRangeElement.value)+1);this.sliderRangeElement.value=e.toString(),this.updateTextarea(),this.updateSelectedElementStats()})),W(this,"sliderPrevHandler",(()=>{let e=Math.max(0,Number.parseInt(this.sliderRangeElement.value)-1);this.sliderRangeElement.value=e.toString(),this.updateTextarea(),this.updateSelectedElementStats()})),this.skeletonContainer.querySelectorAll('input[name="url-filter"]').forEach((e=>e.addEventListener("change",this.updateSelectedElementStats))),this.sliderRangeElement.addEventListener("input",this.handleSliderInput),this.sliderPrevButtonElement.addEventListener("click",this.sliderPrevHandler),this.sliderNextButtonElement.addEventListener("click",this.sliderNextHandler),this.includeTextInputElement.addEventListener("change",this.includeTextHandler)}}function q(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}W(K,"MAX_CACHE_SIZE",100);class J extends K{dispose(){this.stopDragging(),this.handleElement.removeEventListener("pointerdown",this.handlePointerDown),this.logoContainer.removeEventListener("pointerdown",this.handlePointerDown),this.hostElement.removeEventListener("pointermove",this.handlePointerMove),this.hostElement.removeEventListener("pointerup",this.handlePointerEnd),this.hostElement.removeEventListener("pointercancel",this.handlePointerEnd),super.dispose()}attachDragEvents(){this.handleElement.addEventListener("pointerdown",this.handlePointerDown),this.logoContainer.addEventListener("pointerdown",this.handlePointerDown),this.hostElement.addEventListener("pointermove",this.handlePointerMove),this.hostElement.addEventListener("pointerup",this.handlePointerEnd),this.hostElement.addEventListener("pointercancel",this.handlePointerEnd)}stopDragging(){null!==this.dragPointerId&&(this.handleElement.releasePointerCapture(this.dragPointerId),this.logoContainer.releasePointerCapture(this.dragPointerId),this.dragPointerId=null,this.hostElement.style.border=`3px solid ${_}`)}updatePosition(e,t){this.top=Math.max(0,this.startTop+(t-this.startClientY)),this.left=Math.max(0,this.startLeft+(e-this.startClientX)),this.top=Math.min(this.window.innerHeight-this.hostElement.offsetHeight,this.top),this.left=Math.min(this.window.innerWidth-this.hostElement.offsetWidth,this.left),this.hostElement.style.top=`${this.top}px`,this.hostElement.style.left=`${this.left}px`}constructor(e){super(e),q(this,"dragPointerId",null),q(this,"handleElement",void 0),q(this,"left",0),q(this,"startClientX",0),q(this,"startClientY",0),q(this,"startLeft",0),q(this,"startTop",0),q(this,"top",0),q(this,"handlePointerDown",(e=>{e.isPrimary&&null===this.dragPointerId&&(e.preventDefault(),this.dragPointerId=e.pointerId,this.startClientX=e.clientX,this.startClientY=e.clientY,this.startTop=this.top,this.startLeft=this.left,this.handleElement.setPointerCapture(this.dragPointerId),this.logoContainer.setPointerCapture(this.dragPointerId),this.hostElement.style.border=`3px solid ${f}`)})),q(this,"handlePointerEnd",(e=>{e.pointerId===this.dragPointerId&&this.stopDragging()})),q(this,"handlePointerMove",(e=>{e.pointerId===this.dragPointerId&&this.updatePosition(e.clientX,e.clientY)})),this.handleElement=this.queryElement(".handle","Handle element not found in shadow DOM"),this.attachDragEvents()}}function $(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class Q extends J{dispose(){this.document.removeEventListener("mousemove",this.handleMouseMove,!0),this.document.removeEventListener("click",this.handleClick,!0),this.toggleElement.removeEventListener("change",this.handleToggleChange),this.turnOnButton.removeEventListener("click",this.handleTurnOn),this.confirmButton.removeEventListener("click",this.handleConfirmClick),this.clearHighlight(),super.dispose(),this.hostElement.remove()}composeElementPath(){let e=this.clickedElement;if(!e)return;for(this.elementPath=[],this.elementPath.push(e);e.parentElement;)e=e.parentElement,this.elementPath.push(e);this.elementPath.reverse();let t=(this.elementPath.length-1).toString();this.sliderRangeElement.max=t,this.sliderRangeElement.value=t}handleElementSelection(e){this.clickedElement=e,this.rootElement.classList.add("show-content"),this.composeElementPath(),this.updateTextareaSize(),this.updateTextarea(),this.updateSelectedElementStats()}setCommentText(e){for(let[t,r]of(this.commentElement.textContent="",e.split("<br>").entries()))t>0&&this.commentElement.append(this.document.createElement("br")),this.commentElement.append(this.document.createTextNode(r))}updateTextareaSize(){let{text:e,xpath:t}=this.buildStatsParams(),r=Math.ceil(t.length/38);e&&(r+=1+Math.ceil(e.length/38)),this.textareaElement.rows=Math.min(5,r)}constructor(e){super(e),$(this,"clickedElement",void 0),$(this,"hoveringOverPicker",!1),$(this,"handleClick",(e=>{e.target!==this.hostElement&&(e.preventDefault(),e.stopPropagation(),this.handleElementSelection(e.target))})),$(this,"handleConfirmClick",(()=>{let e=this.buildConfirmParams();this.params.onConfirm(e)})),$(this,"handleMouseMove",(e=>{let t=e.target;if(t&&this.lastTarget!==t){if(t===this.hostElement||this.hostElement.contains(t))return void(!this.hoveringOverPicker&&this.clickedElement&&(this.hoveringOverPicker=!0,this.updateTextarea()));this.hoveringOverPicker=!1,t instanceof HTMLElement&&this.highlightElement(t)}})),$(this,"handleToggleChange",(()=>{this.toggleElement.checked?this.handleTurnOn():this.handleTurnOff()})),$(this,"handleTurnOff",(()=>{this.toggleElement.checked=!1,this.setCommentText("You can interact with your website as normal.<br>Navigate to the element you want to track, then turn on the Element picker."),this.skeletonImgElement.src=E,this.rootElement.classList.remove("show-content","turned-on"),this.document.removeEventListener("mousemove",this.handleMouseMove,!0),this.document.removeEventListener("click",this.handleClick,!0),this.clearHighlight()})),$(this,"handleTurnOn",(()=>{this.toggleElement.checked=!0,this.rootElement.classList.add("turned-on"),this.skeletonImgElement.src="https://cdn.signalfx.com/o11y-gdi-rum/session-replay/picker/on.gif",this.setCommentText("The Element picker is now active.<br>Click the element you want to track."),this.document.addEventListener("mousemove",this.handleMouseMove,!0),this.document.addEventListener("click",this.handleClick,!0)})),this.toggleElement.addEventListener("change",this.handleToggleChange),this.params.onConnect(),this.handleToggleChange(),this.turnOnButton.addEventListener("click",this.handleTurnOn),this.confirmButton.addEventListener("click",this.handleConfirmClick)}}let Z=()=>window.name===g||window.location.search.includes(`${g}=1`)||window.location.search.includes("smartlook-web-element-picker=1")||"1"===(e=>{let t=null;try{t=window.sessionStorage.getItem(e)}catch(e){}return t})(g);function ee(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}class te{dispose(){this.stopMonitoring(),this.removeMessageListener()}createStatsSetter(e){return t=>{if(!this.pickerWindow.closed)try{var r,n,i;this.pickerWindow.postMessage((r={requestId:e.requestId,stats:t,xpath:e.xpath},n=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}))}return e}({},r),i=i={type:m},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}(Object(i)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(i,e))})),n),this.url.origin)}catch(e){d.error("Picker: failed to send stats message:",e)}}}handleMessage(e){var t,r,n;null!==(t=e.data)&&"object"==typeof t&&t.type===T&&"string"==typeof t.xpath&&(void 0===t.text||"string"==typeof t.text)&&(void 0===t.url||"string"==typeof t.url)&&this.callbacks.onConfirm(e.data),null!==(r=e.data)&&"object"==typeof r&&r.type===v&&"string"==typeof r.xpath&&(void 0===r.requestId||"string"==typeof r.requestId)&&(void 0===r.text||"string"==typeof r.text)&&(void 0===r.url||"string"==typeof r.url)&&this.callbacks.onGetStats(e.data,this.createStatsSetter(e.data)),null!==(n=e.data)&&"object"==typeof n&&n.type===S&&1===Object.keys(n).length&&this.callbacks.onConnect()}isMessageFromPickerWindow(e){return e.source===this.pickerWindow&&e.origin===this.url.origin}removeMessageListener(){this.messageListener&&(window.removeEventListener("message",this.messageListener),this.messageListener=null)}setupMessageListener(){this.messageListener=e=>{this.isMessageFromPickerWindow(e)&&this.handleMessage(e)},window.addEventListener("message",this.messageListener)}startMonitoring(){null===this.intervalId&&(this.intervalId=setInterval((()=>{this.pickerWindow.closed&&(this.callbacks.onClose(),this.dispose())}),500))}stopMonitoring(){null!==this.intervalId&&(clearInterval(this.intervalId),this.intervalId=null)}constructor(e,t,r){ee(this,"callbacks",void 0),ee(this,"intervalId",void 0),ee(this,"messageListener",void 0),ee(this,"pickerWindow",void 0),ee(this,"url",void 0),this.callbacks=r,this.intervalId=null,this.messageListener=null,this.pickerWindow=e,this.url=t,this.startMonitoring(),this.setupMessageListener()}}let re=({onClose:e,onConfirm:t,onConnect:r,onGetStats:n,url:i})=>{d.setLoggingLevel("warn");let o=new URL(i);o.searchParams.set(g,"1");let s=window.open(o,g);if(!s)throw Error("Failed to open picker window");return new te(s,o,{onClose:e,onConfirm:t,onConnect:r,onGetStats:n})},ne=e=>{var t;return null!=(t=e.opener)?t:null},ie=e=>{var t,r;d.setLoggingLevel("warn"),(e=>{try{return window.sessionStorage.setItem(e,"1"),!0}catch(e){return!1}})(g);let n=new URL(document.referrer).origin,i=oe(n),o=new R(window,n,ne,i),s=new Q((t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}))}return e}({},e),r=r={getStats:o.getStatsHandler(),onConfirm:e=>{var t,r;i(window,(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter((function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable})))),n.forEach((function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}))}return e}({},e),r=r={type:T},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})),t)),window.setTimeout((()=>window.close()))},onConnect:()=>{i(window,{type:S})},rootElement:window.document.body,window:window},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t.push.apply(t,r)}return t}(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))})),t)),a=s.dispose.bind(s);s.dispose=()=>{o.dispose(),a()}},oe=e=>(t,r)=>{let n=ne(t);if(n)if(n.closed)d.warn("Picker: opener window already closed");else try{n.postMessage(r,e)}catch(e){d.error("Picker: failed to send postMessage:",e)}else d.warn("Picker: no opener window available for postMessage")};var se=c.$,ae=c.Fn,ce=c.Xe}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={exports:{}};return e[n].call(o.exports,o,o.exports,r),o.exports}r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n=r(5460);module.exports=n})();
//# sourceMappingURL=/sm/57231ecc356e395285cb933900707e47fc4c4514d8b3288f27f948f596de9c02.map