/**
 * Minified by jsDelivr using Terser v5.48.0.
 * Original file: /npm/@splunk/otel-web@3.2.0/dist/cjs/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
(()=>{var t={68426(t,e,r){"use strict";r.d(e,{K9:()=>u});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 t(){}return t.prototype.emit=function(t){},t}(),a=(new s,new(function(){function t(){}return t.prototype.getLogger=function(t,e,r){return new s},t}())),u=function(){function t(){}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalLoggerProvider=function(t){return o[i]?this.getLoggerProvider():(o[i]=(e=t,r=a,function(t){return 1===t?e:r}),t);var e,r},t.prototype.getLoggerProvider=function(){var t,e;return null!==(e=null===(t=o[i])||void 0===t?void 0:t.call(o,1))&&void 0!==e?e:a},t.prototype.getLogger=function(t,e,r){return this.getLoggerProvider().getLogger(t,e,r)},t.prototype.disable=function(){delete o[i]},t}().getInstance()},29466(t,e,r){"use strict";r.d(e,{_:()=>c});var n=r(45350),i=function(){function t(){}return t.prototype.active=function(){return n.l},t.prototype.with=function(t,e,r){for(var n=[],i=3;i<arguments.length;i++)n[i-3]=arguments[i];return e.call.apply(e,function(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}([r],function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(n),!1))},t.prototype.bind=function(t,e){return e},t.prototype.enable=function(){return this},t.prototype.disable=function(){return this},t}(),o=r(59234),s=r(95236),a="context",u=new i,c=function(){function t(){}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalContextManager=function(t){return(0,o.$G)(a,t,s.K.instance())},t.prototype.active=function(){return this._getContextManager().active()},t.prototype.with=function(t,e,r){for(var n,i=[],o=3;o<arguments.length;o++)i[o-3]=arguments[o];return(n=this._getContextManager()).with.apply(n,function(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}([t,e,r],function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(i),!1))},t.prototype.bind=function(t,e){return this._getContextManager().bind(t,e)},t.prototype._getContextManager=function(){return(0,o.mS)(a)||u},t.prototype.disable=function(){this._getContextManager().disable(),(0,o.kv)(a,s.K.instance())},t}()},95236(t,e,r){"use strict";r.d(e,{K:()=>a});var n=r(59234),i=function(){function t(t){this._namespace=t.namespace||"DiagComponentLogger"}return t.prototype.debug=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o("debug",this._namespace,t)},t.prototype.error=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o("error",this._namespace,t)},t.prototype.info=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o("info",this._namespace,t)},t.prototype.warn=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o("warn",this._namespace,t)},t.prototype.verbose=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return o("verbose",this._namespace,t)},t}();function o(t,e,r){var i=(0,n.mS)("diag");if(i)return r.unshift(e),i[t].apply(i,function(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}([],function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(r),!1))}var s=r(26096),a=function(){function t(){function t(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=(0,n.mS)("diag");if(i)return i[t].apply(i,function(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}([],function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(e),!1))}}var e=this;e.setLogger=function(t,r){var i,o,a;if(void 0===r&&(r={logLevel:s.u.INFO}),t===e){var u=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return e.error(null!==(i=u.stack)&&void 0!==i?i:u.message),!1}"number"==typeof r&&(r={logLevel:r});var c=(0,n.mS)("diag"),l=function(t,e){function r(r,n){var i=e[r];return"function"==typeof i&&t>=n?i.bind(e):function(){}}return t<s.u.NONE?t=s.u.NONE:t>s.u.ALL&&(t=s.u.ALL),e=e||{},{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,t);if(c&&!r.suppressOverrideMessage){var d=null!==(a=(new Error).stack)&&void 0!==a?a:"<failed to generate stacktrace>";c.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,e,!0)},e.disable=function(){(0,n.kv)("diag",e)},e.createComponentLogger=function(t){return new i(t)},e.verbose=t("verbose"),e.debug=t("debug"),e.info=t("info"),e.warn=t("warn"),e.error=t("error")}return t.instance=function(){return this._instance||(this._instance=new t),this._instance},t}()},4624(t,e,r){"use strict";r.d(e,{B:()=>u,L:()=>a});var n=r(95236),i=function(){function t(t){this._entries=t?new Map(t):new Map}return t.prototype.getEntry=function(t){var e=this._entries.get(t);if(e)return Object.assign({},e)},t.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map(function(t){var e=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(t,2);return[e[0],e[1]]})},t.prototype.setEntry=function(e,r){var n=new t(this._entries);return n._entries.set(e,r),n},t.prototype.removeEntry=function(e){var r=new t(this._entries);return r._entries.delete(e),r},t.prototype.removeEntries=function(){for(var e,r,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=new t(this._entries);try{for(var s=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(n),a=s.next();!a.done;a=s.next()){var u=a.value;o._entries.delete(u)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(r=s.return)&&r.call(s)}finally{if(e)throw e.error}}return o},t.prototype.clear=function(){return new t},t}(),o=Symbol("BaggageEntryMetadata"),s=n.K.instance();function a(t){return void 0===t&&(t={}),new i(new Map(Object.entries(t)))}function u(t){return"string"!=typeof t&&(s.error("Cannot create baggage metadata from unknown type: "+typeof t),t=""),{__TYPE__:o,toString:function(){return t}}}},65339(t,e,r){"use strict";r.d(e,{_:()=>n});var n=r(29466)._.getInstance()},45350(t,e,r){"use strict";function n(t){return Symbol.for(t)}r.d(e,{l:()=>i,n:()=>n});var i=new function t(e){var r=this;r._currentContext=e?new Map(e):new Map,r.getValue=function(t){return r._currentContext.get(t)},r.setValue=function(e,n){var i=new t(r._currentContext);return i._currentContext.set(e,n),i},r.deleteValue=function(e){var n=new t(r._currentContext);return n._currentContext.delete(e),n}}},6547(t,e,r){"use strict";r.d(e,{s:()=>n});var n=r(95236).K.instance()},26096(t,e,r){"use strict";var n;r.d(e,{u:()=>n}),function(t){t[t.NONE=0]="NONE",t[t.ERROR=30]="ERROR",t[t.WARN=50]="WARN",t[t.INFO=60]="INFO",t[t.DEBUG=70]="DEBUG",t[t.VERBOSE=80]="VERBOSE",t[t.ALL=9999]="ALL"}(n||(n={}))},69209(t,e,r){"use strict";r.r(e),r.d(e,{DiagConsoleLogger:()=>s,DiagLogLevel:()=>a.u,INVALID_SPANID:()=>O.w9,INVALID_SPAN_CONTEXT:()=>O.dM,INVALID_TRACEID:()=>O.RH,ProxyTracer:()=>d.y,ProxyTracerProvider:()=>p.n,ROOT_CONTEXT:()=>i.l,SamplingDecision:()=>h.i,SpanKind:()=>f.v,SpanStatusCode:()=>g.s,TraceFlags:()=>E.X,ValueType:()=>c.e,baggageEntryMetadataFromString:()=>n.B,context:()=>A._,createContextKey:()=>i.n,createNoopMeter:()=>u.Ac,createTraceState:()=>y,default:()=>P,defaultTextMapGetter:()=>l.q,defaultTextMapSetter:()=>l.U,diag:()=>R.s,isSpanContextValid:()=>b.YA,isValidSpanId:()=>b.wN,isValidTraceId:()=>b.hX,metrics:()=>w.q,propagation:()=>L.$,trace:()=>C.u});var n=r(4624),i=r(45350),o=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}],s=function(){function t(t){return function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];if(console){var n=console[t];if("function"!=typeof n&&(n=console.log),"function"==typeof n)return n.apply(console,e)}}}for(var e=0;e<o.length;e++)this[o[e].n]=t(o[e].c)},a=r(26096),u=r(39526),c=r(49831),l=r(71298),d=r(21654),p=r(5719),h=r(49623),f=r(84956),g=r(84913),E=r(67722),_="[_0-9a-z-*/]",m=new RegExp("^(?:[a-z]"+_+"{0,255}|[a-z0-9]"+_+"{0,240}@[a-z]"+_+"{0,13})$"),v=/^[ -~]{0,255}[!-~]$/,T=/,|=/,S=function(){function t(t){this._internalState=new Map,t&&this._parse(t)}return t.prototype.set=function(t,e){var r=this._clone();return r._internalState.has(t)&&r._internalState.delete(t),r._internalState.set(t,e),r},t.prototype.unset=function(t){var e=this._clone();return e._internalState.delete(t),e},t.prototype.get=function(t){return this._internalState.get(t)},t.prototype.serialize=function(){var t=this;return this._keys().reduce(function(e,r){return e.push(r+"="+t.get(r)),e},[]).join(",")},t.prototype._parse=function(t){t.length>512||(this._internalState=t.split(",").reverse().reduce(function(t,e){var r=e.trim(),n=r.indexOf("=");if(-1!==n){var i=r.slice(0,n),o=r.slice(n+1,e.length);(function(t){return m.test(t)})(i)&&function(t){return v.test(t)&&!T.test(t)}(o)&&t.set(i,o)}return t},new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))},t.prototype._keys=function(){return Array.from(this._internalState.keys()).reverse()},t.prototype._clone=function(){var e=new t;return e._internalState=new Map(this._internalState),e},t}();function y(t){return new S(t)}var b=r(74624),O=r(94105),A=r(65339),R=r(6547),w=r(79457),L=r(70431),C=r(63837);const P={context:A._,diag:R.s,metrics:w.q,propagation:L.$,trace:C.u}},59234(t,e,r){"use strict";r.d(e,{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(t){var e=new Set([t]),r=new Set,n=t.match(o);if(!n)return function(){return!1};var i=+n[1],s=+n[2],a=+n[3];if(null!=n[4])return function(e){return e===t};function u(t){return r.add(t),!1}function c(t){return e.add(t),!0}return function(t){if(e.has(t))return!0;if(r.has(t))return!1;var n=t.match(o);if(!n)return u(t);var l=+n[1],d=+n[2],p=+n[3];return null!=n[4]||i!==l?u(t):0===i?s===d&&a<=p?c(t):u(t):s<=d?c(t):u(t)}}(i),a=i.split(".")[0],u=Symbol.for("opentelemetry.js.api."+a),c=n;function l(t,e,r,n){var o;void 0===n&&(n=!1);var s=c[u]=null!==(o=c[u])&&void 0!==o?o:{version:i};if(!n&&s[t]){var a=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+t);return r.error(a.stack||a.message),!1}return s.version!==i?(a=new Error("@opentelemetry/api: Registration of version v"+s.version+" for "+t+" does not match previously registered API v"+i),r.error(a.stack||a.message),!1):(s[t]=e,r.debug("@opentelemetry/api: Registered a global for "+t+" v"+i+"."),!0)}function d(t){var e,r,n=null===(e=c[u])||void 0===e?void 0:e.version;if(n&&s(n))return null===(r=c[u])||void 0===r?void 0:r[t]}function p(t,e){e.debug("@opentelemetry/api: Unregistering a global for "+t+" v"+i+".");var r=c[u];r&&delete r[t]}},79457(t,e,r){"use strict";r.d(e,{q:()=>u});var n=r(39526),i=new(function(){function t(){}return t.prototype.getMeter=function(t,e,r){return n.Dq},t}()),o=r(59234),s=r(95236),a="metrics",u=function(){function t(){}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalMeterProvider=function(t){return(0,o.$G)(a,t,s.K.instance())},t.prototype.getMeterProvider=function(){return(0,o.mS)(a)||i},t.prototype.getMeter=function(t,e,r){return this.getMeterProvider().getMeter(t,e,r)},t.prototype.disable=function(){(0,o.kv)(a,s.K.instance())},t}().getInstance()},49831(t,e,r){"use strict";var n;r.d(e,{e:()=>n}),function(t){t[t.INT=0]="INT",t[t.DOUBLE=1]="DOUBLE"}(n||(n={}))},39526(t,e,r){"use strict";r.d(e,{Ac:()=>b,Dq:()=>g});var n,i=(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),o=function(){function t(){}return t.prototype.createGauge=function(t,e){return _},t.prototype.createHistogram=function(t,e){return m},t.prototype.createCounter=function(t,e){return E},t.prototype.createUpDownCounter=function(t,e){return v},t.prototype.createObservableGauge=function(t,e){return S},t.prototype.createObservableCounter=function(t,e){return T},t.prototype.createObservableUpDownCounter=function(t,e){return y},t.prototype.addBatchObservableCallback=function(t,e){},t.prototype.removeBatchObservableCallback=function(t){},t}(),s=function(){},a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.add=function(t,e){},e}(s),u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.add=function(t,e){},e}(s),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.record=function(t,e){},e}(s),l=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e.prototype.record=function(t,e){},e}(s),d=function(){function t(){}return t.prototype.addCallback=function(t){},t.prototype.removeCallback=function(t){},t}(),p=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(d),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(d),f=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return i(e,t),e}(d),g=new o,E=new a,_=new c,m=new l,v=new u,T=new p,S=new h,y=new f;function b(){return g}},70431(t,e,r){"use strict";r.d(e,{$:()=>_});var n=r(59234),i=function(){function t(){}return t.prototype.inject=function(t,e){},t.prototype.extract=function(t,e){return t},t.prototype.fields=function(){return[]},t}(),o=r(71298),s=r(29466),a=(0,r(45350).n)("OpenTelemetry Baggage Key");function u(t){return t.getValue(a)||void 0}function c(){return u(s._.getInstance().active())}function l(t,e){return t.setValue(a,e)}function d(t){return t.deleteValue(a)}var p=r(4624),h=r(95236),f="propagation",g=new i,E=function(){function t(){this.createBaggage=p.L,this.getBaggage=u,this.getActiveBaggage=c,this.setBaggage=l,this.deleteBaggage=d}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalPropagator=function(t){return(0,n.$G)(f,t,h.K.instance())},t.prototype.inject=function(t,e,r){return void 0===r&&(r=o.U),this._getGlobalPropagator().inject(t,e,r)},t.prototype.extract=function(t,e,r){return void 0===r&&(r=o.q),this._getGlobalPropagator().extract(t,e,r)},t.prototype.fields=function(){return this._getGlobalPropagator().fields()},t.prototype.disable=function(){(0,n.kv)(f,h.K.instance())},t.prototype._getGlobalPropagator=function(){return(0,n.mS)(f)||g},t}(),_=E.getInstance()},71298(t,e,r){"use strict";r.d(e,{U:()=>i,q:()=>n});var n={get:function(t,e){if(null!=t)return t[e]},keys:function(t){return null==t?[]:Object.keys(t)}},i={set:function(t,e,r){null!=t&&(t[e]=r)}}},63837(t,e,r){"use strict";r.d(e,{u:()=>c});var n=r(59234),i=r(5719),o=r(74624),s=r(77888),a=r(95236),u="trace",c=function(){function t(){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 t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalTracerProvider=function(t){var e=(0,n.$G)(u,this._proxyTracerProvider,a.K.instance());return e&&this._proxyTracerProvider.setDelegate(t),e},t.prototype.getTracerProvider=function(){return(0,n.mS)(u)||this._proxyTracerProvider},t.prototype.getTracer=function(t,e){return this.getTracerProvider().getTracer(t,e)},t.prototype.disable=function(){(0,n.kv)(u,a.K.instance()),this._proxyTracerProvider=new i.n},t}().getInstance()},81005(t,e,r){"use strict";r.d(e,{d:()=>i});var n=r(94105),i=function(){function t(t){void 0===t&&(t=n.dM),this._spanContext=t}return t.prototype.spanContext=function(){return this._spanContext},t.prototype.setAttribute=function(t,e){return this},t.prototype.setAttributes=function(t){return this},t.prototype.addEvent=function(t,e){return this},t.prototype.addLink=function(t){return this},t.prototype.addLinks=function(t){return this},t.prototype.setStatus=function(t){return this},t.prototype.updateName=function(t){return this},t.prototype.end=function(t){},t.prototype.isRecording=function(){return!1},t.prototype.recordException=function(t,e){},t}()},6694(t,e,r){"use strict";r.d(e,{o:()=>u});var n=r(29466),i=r(77888),o=r(81005),s=r(74624),a=n._.getInstance(),u=function(){function t(){}return t.prototype.startSpan=function(t,e,r){if(void 0===r&&(r=a.active()),Boolean(null==e?void 0:e.root))return new o.d;var n,u=r&&(0,i.w8)(r);return"object"==typeof(n=u)&&"string"==typeof n.spanId&&"string"==typeof n.traceId&&"number"==typeof n.traceFlags&&(0,s.YA)(u)?new o.d(u):new o.d},t.prototype.startActiveSpan=function(t,e,r,n){var o,s,u;if(!(arguments.length<2)){2===arguments.length?u=e:3===arguments.length?(o=e,u=r):(o=e,s=r,u=n);var c=null!=s?s:a.active(),l=this.startSpan(t,o,c),d=(0,i.Bx)(c,l);return a.with(d,u,void 0,l)}},t}()},21654(t,e,r){"use strict";r.d(e,{y:()=>i});var n=new(r(6694).o),i=function(){function t(t,e,r,n){this._provider=t,this.name=e,this.version=r,this.options=n}return t.prototype.startSpan=function(t,e,r){return this._getTracer().startSpan(t,e,r)},t.prototype.startActiveSpan=function(t,e,r,n){var i=this._getTracer();return Reflect.apply(i.startActiveSpan,i,arguments)},t.prototype._getTracer=function(){if(this._delegate)return this._delegate;var t=this._provider.getDelegateTracer(this.name,this.version,this.options);return t?(this._delegate=t,this._delegate):n},t}()},5719(t,e,r){"use strict";r.d(e,{n:()=>s});var n=r(21654),i=r(6694),o=new(function(){function t(){}return t.prototype.getTracer=function(t,e,r){return new i.o},t}()),s=function(){function t(){}return t.prototype.getTracer=function(t,e,r){var i;return null!==(i=this.getDelegateTracer(t,e,r))&&void 0!==i?i:new n.y(this,t,e,r)},t.prototype.getDelegate=function(){var t;return null!==(t=this._delegate)&&void 0!==t?t:o},t.prototype.setDelegate=function(t){this._delegate=t},t.prototype.getDelegateTracer=function(t,e,r){var n;return null===(n=this._delegate)||void 0===n?void 0:n.getTracer(t,e,r)},t}()},49623(t,e,r){"use strict";var n;r.d(e,{i:()=>n}),function(t){t[t.NOT_RECORD=0]="NOT_RECORD",t[t.RECORD=1]="RECORD",t[t.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}(n||(n={}))},77888(t,e,r){"use strict";r.d(e,{Bk:()=>u,Bx:()=>c,EW:()=>l,fU:()=>a,g_:()=>d,w8:()=>p});var n=r(45350),i=r(81005),o=r(29466),s=(0,n.n)("OpenTelemetry Context Key SPAN");function a(t){return t.getValue(s)||void 0}function u(){return a(o._.getInstance().active())}function c(t,e){return t.setValue(s,e)}function l(t){return t.deleteValue(s)}function d(t,e){return c(t,new i.d(e))}function p(t){var e;return null===(e=a(t))||void 0===e?void 0:e.spanContext()}},94105(t,e,r){"use strict";r.d(e,{RH:()=>o,dM:()=>s,w9:()=>i});var n=r(67722),i="0000000000000000",o="00000000000000000000000000000000",s={traceId:o,spanId:i,traceFlags:n.X.NONE}},84956(t,e,r){"use strict";var n;r.d(e,{v:()=>n}),function(t){t[t.INTERNAL=0]="INTERNAL",t[t.SERVER=1]="SERVER",t[t.CLIENT=2]="CLIENT",t[t.PRODUCER=3]="PRODUCER",t[t.CONSUMER=4]="CONSUMER"}(n||(n={}))},74624(t,e,r){"use strict";r.d(e,{IP:()=>l,YA:()=>c,hX:()=>a,wN:()=>u});var n=r(94105),i=r(81005),o=/^([0-9a-f]{32})$/i,s=/^[0-9a-f]{16}$/i;function a(t){return o.test(t)&&t!==n.RH}function u(t){return s.test(t)&&t!==n.w9}function c(t){return a(t.traceId)&&u(t.spanId)}function l(t){return new i.d(t)}},84913(t,e,r){"use strict";var n;r.d(e,{s:()=>n}),function(t){t[t.UNSET=0]="UNSET",t[t.OK=1]="OK",t[t.ERROR=2]="ERROR"}(n||(n={}))},67722(t,e,r){"use strict";var n;r.d(e,{X:()=>n}),function(t){t[t.NONE=0]="NONE",t[t.SAMPLED=1]="SAMPLED"}(n||(n={}))},15776(t,e,r){"use strict";r.d(e,{KJ:()=>c,_5:()=>u,lg:()=>s,u5:()=>l});var n=r(93898),i=Math.pow(10,6),o=Math.pow(10,9);function s(t){var e=t/1e3;return[Math.trunc(e),Math.round(t%1e3*i)]}function a(){var t=n.u.timeOrigin;if("number"!=typeof t){var e=n.u;t=e.timing&&e.timing.fetchStart}return t}function u(t){return function(t,e){var r=[t[0]+e[0],t[1]+e[1]];return r[1]>=o&&(r[1]-=o,r[0]+=1),r}(s(a()),s("number"==typeof t?t:n.u.now()))}function c(t){if(function(t){return Array.isArray(t)&&2===t.length&&"number"==typeof t[0]&&"number"==typeof t[1]}(t))return t;if("number"==typeof t)return t<a()?u(t):s(t);if(t instanceof Date)return s(t.getTime());throw TypeError("Invalid input type")}function l(t){return t[0]*o+t[1]}},68885(t,e,r){"use strict";r.d(e,{X:()=>n});var n="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof r.g?r.g:{}},93898(t,e,r){"use strict";r.d(e,{u:()=>n});var n=performance},5124(t,e,r){"use strict";r.d(e,{K:()=>i,f:()=>n});function n(t,e){return"string"==typeof e?t===e:!!t.match(e)}function i(t,e){var r,i;if(!e)return!1;try{for(var o=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),s=o.next();!s.done;s=o.next())if(n(t,s.value))return!0}catch(t){r={error:t}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return!1}},62874(t,e,r){"use strict";var n;r.d(e,{V:()=>n}),function(t){t[t.SUCCESS=0]="SUCCESS",t[t.FAILED=1]="FAILED"}(n||(n={}))},23045(t,e,r){"use strict";r.d(e,{EC:()=>o,KV:()=>u,QC:()=>a,hN:()=>i,kI:()=>c,r_:()=>s,un:()=>n});var n="=",i=";",o=",",s="baggage",a=180,u=4096,c=8192},92559(t,e,r){"use strict";r.d(e,{t:()=>a});var n=r(70431),i=r(19239),o=r(23045),s=r(3849),a=function(){function t(){}return t.prototype.inject=function(t,e,r){var a=n.$.getBaggage(t);if(a&&!(0,i.Zf)(t)){var u=(0,s.pX)(a).filter(function(t){return t.length<=o.KV}).slice(0,o.QC),c=(0,s.L7)(u);c.length>0&&r.set(e,o.r_,c)}},t.prototype.extract=function(t,e,r){var i=r.get(e,o.r_),a=Array.isArray(i)?i.join(o.EC):i;if(!a)return t;var u={};return 0===a.length?t:(a.split(o.EC).forEach(function(t){var e=(0,s.Qd)(t);if(e){var r={value:e.value};e.metadata&&(r.metadata=e.metadata),u[e.key]=r}}),0===Object.entries(u).length?t:n.$.setBaggage(t,n.$.createBaggage(u)))},t.prototype.fields=function(){return[o.r_]},t}()},3849(t,e,r){"use strict";r.d(e,{L7:()=>o,Qd:()=>a,hD:()=>u,pX:()=>s});var n=r(4624),i=r(23045);function o(t){return t.reduce(function(t,e){var r=""+t+(""!==t?i.EC:"")+e;return r.length>i.kI?t:r},"")}function s(t){return t.getAllEntries().map(function(t){var e=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(t,2),r=e[0],n=e[1],o=encodeURIComponent(r)+"="+encodeURIComponent(n.value);return void 0!==n.metadata&&(o+=i.hN+n.metadata.toString()),o})}function a(t){var e=t.split(i.hN);if(!(e.length<=0)){var r=e.shift();if(r){var o=r.indexOf(i.un);if(!(o<=0)){var s,a=decodeURIComponent(r.substring(0,o).trim()),u=decodeURIComponent(r.substring(o+1).trim());return e.length>0&&(s=(0,n.B)(e.join(i.hN))),{key:a,value:u,metadata:s}}}}}function u(t){return"string"!=typeof t||0===t.length?{}:t.split(i.EC).map(function(t){return a(t)}).filter(function(t){return void 0!==t&&t.value.length>0}).reduce(function(t,e){return t[e.key]=e.value,t},{})}},14414(t,e,r){"use strict";r.d(e,{L:()=>s,m:()=>u,oU:()=>a});var n=r(6547),i=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},o=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s};function s(t){var e,r,s={};if("object"!=typeof t||null==t)return s;try{for(var c=i(Object.entries(t)),l=c.next();!l.done;l=c.next()){var d=o(l.value,2),p=d[0],h=d[1];a(p)?u(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(t){e={error:t}}finally{try{l&&!l.done&&(r=c.return)&&r.call(c)}finally{if(e)throw e.error}}return s}function a(t){return"string"==typeof t&&t.length>0}function u(t){return null==t||(Array.isArray(t)?function(t){var e,r,n;try{for(var o=i(t),s=o.next();!s.done;s=o.next()){var a=s.value;if(null!=a){if(!n){if(c(a)){n=typeof a;continue}return!1}if(typeof a!==n)return!1}}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return!0}(t):c(t))}function c(t){switch(typeof t){case"number":case"boolean":case"string":return!0}return!1}},76446(t,e,r){"use strict";r.d(e,{s:()=>o,u:()=>i});var n=(0,r(54772).o)();function i(t){n=t}function o(t){try{n(t)}catch(t){}}},54772(t,e,r){"use strict";r.d(e,{o:()=>i});var n=r(6547);function i(){return function(t){n.s.error(function(t){return"string"==typeof t?t:JSON.stringify(function(t){for(var e={},r=t;null!==r;)Object.getOwnPropertyNames(r).forEach(function(t){if(!e[t]){var n=r[t];n&&(e[t]=String(n))}}),r=Object.getPrototypeOf(r);return e}(t))}(t))}}},88958(t,e,r){"use strict";r.d(e,{Ir:()=>E,JU:()=>h,KJ:()=>c,VL:()=>g,W5:()=>l,_5:()=>u,lg:()=>s,mw:()=>_,tq:()=>d,u5:()=>p,uc:()=>a,w_:()=>f});var n=r(86452),i=Math.pow(10,6),o=Math.pow(10,9);function s(t){var e=t/1e3;return[Math.trunc(e),Math.round(t%1e3*i)]}function a(){var t=n.u.timeOrigin;if("number"!=typeof t){var e=n.u;t=e.timing&&e.timing.fetchStart}return t}function u(t){return _(s(a()),s("number"==typeof t?t:n.u.now()))}function c(t){if(g(t))return t;if("number"==typeof t)return t<a()?u(t):s(t);if(t instanceof Date)return s(t.getTime());throw TypeError("Invalid input type")}function l(t,e){var r=e[0]-t[0],n=e[1]-t[1];return n<0&&(r-=1,n+=o),[r,n]}function d(t){var e=""+"0".repeat(9)+t[1]+"Z",r=e.substring(e.length-9-1);return new Date(1e3*t[0]).toISOString().replace("000Z",r)}function p(t){return t[0]*o+t[1]}function h(t){return 1e3*t[0]+t[1]/1e6}function f(t){return 1e6*t[0]+t[1]/1e3}function g(t){return Array.isArray(t)&&2===t.length&&"number"==typeof t[0]&&"number"==typeof t[1]}function E(t){return g(t)||"number"==typeof t||t instanceof Date}function _(t,e){var r=[t[0]+e[0],t[1]+e[1]];return r[1]>=o&&(r[1]-=o,r[0]+=1),r}},87844(t,e,r){"use strict";r.r(e),r.d(e,{AlwaysOffSampler:()=>N,AlwaysOnSampler:()=>M,AnchoredClock:()=>i,BindOnceFuture:()=>z.I,CompositePropagator:()=>b.n,DEFAULT_ATTRIBUTE_COUNT_LIMIT:()=>V.fv,DEFAULT_ATTRIBUTE_VALUE_LENGTH_LIMIT:()=>V.aE,DEFAULT_ENVIRONMENT:()=>V.Uz,DEFAULT_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT:()=>V.h9,DEFAULT_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT:()=>V.V,ExportResultCode:()=>d.V,ParentBasedSampler:()=>U,RPCType:()=>_,RandomIdGenerator:()=>h,SDK_INFO:()=>m.q,TRACE_PARENT_HEADER:()=>O.ZS,TRACE_STATE_HEADER:()=>O.UD,TimeoutError:()=>W,TraceIdRatioBasedSampler:()=>k,TraceState:()=>B.n,TracesSamplerValues:()=>F.R,VERSION:()=>K.x,W3CBaggagePropagator:()=>n.t,W3CTraceContextPropagator:()=>O.lm,_globalThis:()=>v.X,addHrTimes:()=>u.mw,baggageUtils:()=>J,callWithTimeout:()=>Y,deleteRPCMetadata:()=>w,getEnv:()=>T._,getEnvWithoutDefaults:()=>T.w,getRPCMetadata:()=>L,getTimeOrigin:()=>u.uc,globalErrorHandler:()=>s.s,hexToBase64:()=>E,hexToBinary:()=>l,hrTime:()=>u._5,hrTimeDuration:()=>u.W5,hrTimeToMicroseconds:()=>u.w_,hrTimeToMilliseconds:()=>u.JU,hrTimeToNanoseconds:()=>u.u5,hrTimeToTimeStamp:()=>u.tq,internal:()=>Z,isAttributeKey:()=>o.oU,isAttributeValue:()=>o.m,isTimeInput:()=>u.Ir,isTimeInputHrTime:()=>u.VL,isTracingSuppressed:()=>j.Zf,isUrlIgnored:()=>X.K,isWrapped:()=>q,loggingErrorHandler:()=>a.o,merge:()=>G.h,millisToHrTime:()=>u.lg,otperformance:()=>S.u,parseEnvironment:()=>V.Nq,parseTraceParent:()=>O.ZI,sanitizeAttributes:()=>o.L,setGlobalErrorHandler:()=>s.u,setRPCMetadata:()=>R,suppressTracing:()=>j.M1,timeInputToHrTime:()=>u.KJ,unrefTimer:()=>y.K,unsuppressTracing:()=>j.FU,urlMatches:()=>X.f});var n=r(92559),i=function(){function t(t,e){this._monotonicClock=e,this._epochMillis=t.now(),this._performanceMillis=e.now()}return t.prototype.now=function(){var t=this._monotonicClock.now()-this._performanceMillis;return this._epochMillis+t},t}(),o=r(14414),s=r(76446),a=r(54772),u=r(88958);function c(t){return t>=48&&t<=57?t-48:t>=97&&t<=102?t-87:t-55}function l(t){for(var e=new Uint8Array(t.length/2),r=0,n=0;n<t.length;n+=2){var i=c(t.charCodeAt(n)),o=c(t.charCodeAt(n+1));e[r++]=i<<4|o}return e}var d=r(62874),p=r(3849),h=function(){this.generateTraceId=g(16),this.generateSpanId=g(8)},f=Array(32);function g(t){return function(){for(var e=0;e<2*t;e++)f[e]=Math.floor(16*Math.random())+48,f[e]>=58&&(f[e]+=39);return String.fromCharCode.apply(null,f.slice(0,2*t))}}function E(t){return btoa(String.fromCharCode.apply(String,function(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}([],function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(l(t)),!1)))}var _,m=r(387),v=r(85691),T=r(21347),S=r(86452),y=r(12168),b=r(41923),O=r(5077),A=(0,r(45350).n)("OpenTelemetry SDK Context Key RPC_METADATA");function R(t,e){return t.setValue(A,e)}function w(t){return t.deleteValue(A)}function L(t){return t.getValue(A)}!function(t){t.HTTP="http"}(_||(_={}));var C,P=r(49623),N=function(){function t(){}return t.prototype.shouldSample=function(){return{decision:P.i.NOT_RECORD}},t.prototype.toString=function(){return"AlwaysOffSampler"},t}(),M=function(){function t(){}return t.prototype.shouldSample=function(){return{decision:P.i.RECORD_AND_SAMPLED}},t.prototype.toString=function(){return"AlwaysOnSampler"},t}(),I=r(63837),D=r(74624),x=r(67722),U=function(){function t(t){var e,r,n,i;this._root=t.root,this._root||((0,s.s)(new Error("ParentBasedSampler must have a root sampler configured")),this._root=new M),this._remoteParentSampled=null!==(e=t.remoteParentSampled)&&void 0!==e?e:new M,this._remoteParentNotSampled=null!==(r=t.remoteParentNotSampled)&&void 0!==r?r:new N,this._localParentSampled=null!==(n=t.localParentSampled)&&void 0!==n?n:new M,this._localParentNotSampled=null!==(i=t.localParentNotSampled)&&void 0!==i?i:new N}return t.prototype.shouldSample=function(t,e,r,n,i,o){var s=I.u.getSpanContext(t);return s&&(0,D.YA)(s)?s.isRemote?s.traceFlags&x.X.SAMPLED?this._remoteParentSampled.shouldSample(t,e,r,n,i,o):this._remoteParentNotSampled.shouldSample(t,e,r,n,i,o):s.traceFlags&x.X.SAMPLED?this._localParentSampled.shouldSample(t,e,r,n,i,o):this._localParentNotSampled.shouldSample(t,e,r,n,i,o):this._root.shouldSample(t,e,r,n,i,o)},t.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()+"}"},t}(),k=function(){function t(t){void 0===t&&(t=0),this._ratio=t,this._ratio=this._normalize(t),this._upperBound=Math.floor(4294967295*this._ratio)}return t.prototype.shouldSample=function(t,e){return{decision:(0,D.hX)(e)&&this._accumulate(e)<this._upperBound?P.i.RECORD_AND_SAMPLED:P.i.NOT_RECORD}},t.prototype.toString=function(){return"TraceIdRatioBased{"+this._ratio+"}"},t.prototype._normalize=function(t){return"number"!=typeof t||isNaN(t)?0:t>=1?1:t<=0?0:t},t.prototype._accumulate=function(t){for(var e=0,r=0;r<t.length/8;r++){var n=8*r;e=(e^parseInt(t.slice(n,n+8),16))>>>0}return e},t}(),j=r(19239),B=r(56092),V=r(25146),G=r(59396),F=r(46758),H=(C=function(t,e){return C=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},C(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}C(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),W=function(t){function e(r){var n=t.call(this,r)||this;return Object.setPrototypeOf(n,e.prototype),n}return H(e,t),e}(Error);function Y(t,e){var r,n=new Promise(function(t,n){r=setTimeout(function(){n(new W("Operation timed out."))},e)});return Promise.race([t,n]).then(function(t){return clearTimeout(r),t},function(t){throw clearTimeout(r),t})}var X=r(53074);function q(t){return"function"==typeof t&&"function"==typeof t.__original&&"function"==typeof t.__unwrap&&!0===t.__wrapped}var z=r(21431),K=r(59905),$=r(65339),J={getKeyPairs:p.pX,serializeKeyPairs:p.L7,parseKeyPairsIntoRecord:p.hD,parsePairKeyValue:p.Qd},Z={_export:function(t,e){return new Promise(function(r){$._.with((0,j.M1)($._.active()),function(){t.export(e,function(t){r(t)})})})}}},21347(t,e,r){"use strict";r.d(e,{_:()=>o,w:()=>s});var n=r(25146),i=r(85691);function o(){var t=(0,n.Nq)(i.X);return Object.assign({},n.Uz,t)}function s(){return(0,n.Nq)(i.X)}},85691(t,e,r){"use strict";r.d(e,{X:()=>n});var n="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof r.g?r.g:{}},86452(t,e,r){"use strict";r.d(e,{u:()=>n});var n=performance},387(t,e,r){"use strict";r.d(e,{q:()=>s});var n,i=r(59905),o=r(76036),s=((n={})[o.$L]="opentelemetry",n[o.lb]="browser",n[o.Pl]=o.uh,n[o.y$]=i.x,n)},12168(t,e,r){"use strict";function n(t){}r.d(e,{K:()=>n})},41923(t,e,r){"use strict";r.d(e,{n:()=>i});var n=r(6547),i=function(){function t(t){var e;void 0===t&&(t={}),this._propagators=null!==(e=t.propagators)&&void 0!==e?e:[],this._fields=Array.from(new Set(this._propagators.map(function(t){return"function"==typeof t.fields?t.fields():[]}).reduce(function(t,e){return t.concat(e)},[])))}return t.prototype.inject=function(t,e,r){var i,o;try{for(var s=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(this._propagators),a=s.next();!a.done;a=s.next()){var u=a.value;try{u.inject(t,e,r)}catch(t){n.s.warn("Failed to inject with "+u.constructor.name+". Err: "+t.message)}}}catch(t){i={error:t}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}},t.prototype.extract=function(t,e,r){return this._propagators.reduce(function(t,i){try{return i.extract(t,e,r)}catch(t){n.s.warn("Failed to extract with "+i.constructor.name+". Err: "+t.message)}return t},t)},t.prototype.fields=function(){return this._fields.slice()},t}()},56092(t,e,r){"use strict";r.d(e,{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 t(t){this._internalState=new Map,t&&this._parse(t)}return t.prototype.set=function(t,e){var r=this._clone();return r._internalState.has(t)&&r._internalState.delete(t),r._internalState.set(t,e),r},t.prototype.unset=function(t){var e=this._clone();return e._internalState.delete(t),e},t.prototype.get=function(t){return this._internalState.get(t)},t.prototype.serialize=function(){var t=this;return this._keys().reduce(function(e,r){return e.push(r+"="+t.get(r)),e},[]).join(",")},t.prototype._parse=function(t){t.length>512||(this._internalState=t.split(",").reverse().reduce(function(t,e){var r=e.trim(),n=r.indexOf("=");if(-1!==n){var a=r.slice(0,n),u=r.slice(n+1,e.length);(function(t){return i.test(t)})(a)&&function(t){return o.test(t)&&!s.test(t)}(u)&&t.set(a,u)}return t},new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))},t.prototype._keys=function(){return Array.from(this._internalState.keys()).reverse()},t.prototype._clone=function(){var e=new t;return e._internalState=new Map(this._internalState),e},t}()},5077(t,e,r){"use strict";r.d(e,{UD:()=>c,ZI:()=>d,ZS:()=>u,lm:()=>p});var n=r(67722),i=r(74624),o=r(63837),s=r(19239),a=r(56092),u="traceparent",c="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(t){var e=l.exec(t);return e?"00"===e[1]&&e[5]?null:{traceId:e[2],spanId:e[3],traceFlags:parseInt(e[4],16)}:null}var p=function(){function t(){}return t.prototype.inject=function(t,e,r){var a=o.u.getSpanContext(t);if(a&&!(0,s.Zf)(t)&&(0,i.YA)(a)){var l="00-"+a.traceId+"-"+a.spanId+"-0"+Number(a.traceFlags||n.X.NONE).toString(16);r.set(e,u,l),a.traceState&&r.set(e,c,a.traceState.serialize())}},t.prototype.extract=function(t,e,r){var n=r.get(e,u);if(!n)return t;var i=Array.isArray(n)?n[0]:n;if("string"!=typeof i)return t;var s=d(i);if(!s)return t;s.isRemote=!0;var l=r.get(e,c);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(t,s)},t.prototype.fields=function(){return[u,c]},t}()},19239(t,e,r){"use strict";r.d(e,{FU:()=>o,M1:()=>i,Zf:()=>s});var n=(0,r(45350).n)("OpenTelemetry SDK Context Key SUPPRESS_TRACING");function i(t){return t.setValue(n,!0)}function o(t){return t.deleteValue(n)}function s(t){return!0===t.getValue(n)}},21431(t,e,r){"use strict";r.d(e,{I:()=>i});var n=function(){function t(){var t=this;this._promise=new Promise(function(e,r){t._resolve=e,t._reject=r})}return Object.defineProperty(t.prototype,"promise",{get:function(){return this._promise},enumerable:!1,configurable:!0}),t.prototype.resolve=function(t){this._resolve(t)},t.prototype.reject=function(t){this._reject(t)},t}(),i=function(){function t(t,e){this._callback=t,this._that=e,this._isCalled=!1,this._deferred=new n}return Object.defineProperty(t.prototype,"isCalled",{get:function(){return this._isCalled},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"promise",{get:function(){return this._deferred.promise},enumerable:!1,configurable:!0}),t.prototype.call=function(){for(var t,e=this,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];if(!this._isCalled){this._isCalled=!0;try{Promise.resolve((t=this._callback).call.apply(t,function(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}([this._that],function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(r),!1))).then(function(t){return e._deferred.resolve(t)},function(t){return e._deferred.reject(t)})}catch(t){this._deferred.reject(t)}}return this._deferred.promise},t}()},25146(t,e,r){"use strict";r.d(e,{Nq:()=>S,Uz:()=>g,V:()=>f,aE:()=>d,fv:()=>p,h9:()=>h});var n=r(26096),i=r(46758),o=["OTEL_SDK_DISABLED"];function s(t){return o.indexOf(t)>-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 u(t){return a.indexOf(t)>-1}var c=["OTEL_NO_PATCH_MODULES","OTEL_PROPAGATORS","OTEL_SEMCONV_STABILITY_OPT_IN"];function l(t){return c.indexOf(t)>-1}var d=1/0,p=128,h=128,f=128,g={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(t,e,r){if(void 0!==r[t]){var n=String(r[t]);e[t]="true"===n.toLowerCase()}}function _(t,e,r,n,i){if(void 0===n&&(n=-1/0),void 0===i&&(i=1/0),void 0!==r[t]){var o=Number(r[t]);isNaN(o)||(e[t]=o<n?n:o>i?i:o)}}function m(t,e,r,n){void 0===n&&(n=",");var i=r[t];"string"==typeof i&&(e[t]=i.split(n).map(function(t){return t.trim()}))}var v={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 T(t,e,r){var n=r[t];if("string"==typeof n){var i=v[n.toUpperCase()];null!=i&&(e[t]=i)}}function S(t){var e={};for(var r in g){var n=r;if("OTEL_LOG_LEVEL"===n)T(n,e,t);else if(s(n))E(n,e,t);else if(u(n))_(n,e,t);else if(l(n))m(n,e,t);else{var i=t[n];null!=i&&(e[n]=String(i))}}return e}},59396(t,e,r){"use strict";r.d(e,{h:()=>h});var n,i,o=Function.prototype.toString,s=o.call(Object),a=(n=Object.getPrototypeOf,i=Object,function(t){return n(i(t))}),u=Object.prototype,c=u.hasOwnProperty,l=Symbol?Symbol.toStringTag:void 0,d=u.toString;function p(t){if(!function(t){return null!=t&&"object"==typeof t}(t)||"[object Object]"!==function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":l&&l in Object(t)?function(t){var e=c.call(t,l),r=t[l],n=!1;try{t[l]=void 0,n=!0}catch(t){}var i=d.call(t);return n&&(e?t[l]=r:delete t[l]),i}(t):function(t){return d.call(t)}(t)}(t))return!1;var e=a(t);if(null===e)return!0;var r=c.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&o.call(r)===s}function h(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r=t.shift(),n=new WeakMap;t.length>0;)r=g(r,t.shift(),0,n);return r}function f(t){return _(t)?t.slice():t}function g(t,e,r,n){var i;if(void 0===r&&(r=0),!(r>20)){if(r++,T(t)||T(e)||m(e))i=f(e);else if(_(t)){if(i=t.slice(),_(e))for(var o=0,s=e.length;o<s;o++)i.push(f(e[o]));else if(v(e))for(o=0,s=(a=Object.keys(e)).length;o<s;o++)i[u=a[o]]=f(e[u])}else if(v(t))if(v(e)){if(!function(t,e){return!(!p(t)||!p(e))}(t,e))return e;var a;for(i=Object.assign({},t),o=0,s=(a=Object.keys(e)).length;o<s;o++){var u,c=e[u=a[o]];if(T(c))void 0===c?delete i[u]:i[u]=c;else{var l=i[u],d=c;if(E(t,u,n)||E(e,u,n))delete i[u];else{if(v(l)&&v(d)){var h=n.get(l)||[],S=n.get(d)||[];h.push({obj:t,key:u}),S.push({obj:e,key:u}),n.set(l,h),n.set(d,S)}i[u]=g(i[u],c,r,n)}}}}else i=e;return i}}function E(t,e,r){for(var n=r.get(t[e])||[],i=0,o=n.length;i<o;i++){var s=n[i];if(s.key===e&&s.obj===t)return!0}return!1}function _(t){return Array.isArray(t)}function m(t){return"function"==typeof t}function v(t){return!T(t)&&!_(t)&&!m(t)&&"object"==typeof t}function T(t){return"string"==typeof t||"number"==typeof t||"boolean"==typeof t||void 0===t||t instanceof Date||t instanceof RegExp||null===t}},46758(t,e,r){"use strict";var n;r.d(e,{R:()=>n}),function(t){t.AlwaysOff="always_off",t.AlwaysOn="always_on",t.ParentBasedAlwaysOff="parentbased_always_off",t.ParentBasedAlwaysOn="parentbased_always_on",t.ParentBasedTraceIdRatio="parentbased_traceidratio",t.TraceIdRatio="traceidratio"}(n||(n={}))},53074(t,e,r){"use strict";r.d(e,{K:()=>i,f:()=>n});function n(t,e){return"string"==typeof e?t===e:!!t.match(e)}function i(t,e){var r,i;if(!e)return!1;try{for(var o=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),s=o.next();!s.done;s=o.next())if(n(t,s.value))return!0}catch(t){r={error:t}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return!1}},59905(t,e,r){"use strict";r.d(e,{x:()=>n});var n="1.30.1"},86034(t,e,r){"use strict";r.r(e),r.d(e,{OTLPTraceExporter:()=>st});var n=r(4624);function i(t){return"string"!=typeof t||0===t.length?{}:t.split(",").map(function(t){return function(t){var e=t.split(";");if(!(e.length<=0)){var r=e.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 e.length>0&&(o=(0,n.B)(e.join(";"))),{key:s,value:a,metadata:o}}}}}(t)}).filter(function(t){return void 0!==t&&t.value.length>0}).reduce(function(t,e){return t[e.key]=e.value,t},{})}var o,s=r(26096);!function(t){t.AlwaysOff="always_off",t.AlwaysOn="always_on",t.ParentBasedAlwaysOff="parentbased_always_off",t.ParentBasedAlwaysOn="parentbased_always_on",t.ParentBasedTraceIdRatio="parentbased_traceidratio",t.TraceIdRatio="traceidratio"}(o||(o={}));var a=["OTEL_SDK_DISABLED"];function u(t){return a.indexOf(t)>-1}var c=["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(t){return c.indexOf(t)>-1}var d=["OTEL_NO_PATCH_MODULES","OTEL_PROPAGATORS"];function p(t){return d.indexOf(t)>-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 g(t,e,r){if(void 0!==r[t]){var n=String(r[t]);e[t]="true"===n.toLowerCase()}}function E(t,e,r,n,i){if(void 0===n&&(n=-1/0),void 0===i&&(i=1/0),void 0!==r[t]){var o=Number(r[t]);isNaN(o)||(e[t]=o<n?n:o>i?i:o)}}function _(t,e,r,n){void 0===n&&(n=",");var i=r[t];"string"==typeof i&&(e[t]=i.split(n).map(function(t){return t.trim()}))}var m={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 v(t,e,r){var n=r[t];if("string"==typeof n){var i=m[n.toUpperCase()];null!=i&&(e[t]=i)}}var T=r(68885);function S(){var t=function(t){var e={};for(var r in f){var n=r;if("OTEL_LOG_LEVEL"===n)v(n,e,t);else if(u(n))g(n,e,t);else if(l(n))E(n,e,t);else if(p(n))_(n,e,t);else{var i=t[n];null!=i&&(e[n]=String(i))}}return e}(T.X);return Object.assign({},f,t)}var y=r(6547);function b(t,e){return y.s.warn("Timeout must be greater than 0",t),e}var O,A=function(){function t(){var t=this;this._promise=new Promise(function(e,r){t._resolve=e,t._reject=r})}return Object.defineProperty(t.prototype,"promise",{get:function(){return this._promise},enumerable:!1,configurable:!0}),t.prototype.resolve=function(t){this._resolve(t)},t.prototype.reject=function(t){this._reject(t)},t}(),R=function(){function t(t,e){this._callback=t,this._that=e,this._isCalled=!1,this._deferred=new A}return Object.defineProperty(t.prototype,"isCalled",{get:function(){return this._isCalled},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"promise",{get:function(){return this._deferred.promise},enumerable:!1,configurable:!0}),t.prototype.call=function(){for(var t,e=this,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];if(!this._isCalled){this._isCalled=!0;try{Promise.resolve((t=this._callback).call.apply(t,function(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}([this._that],function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(r),!1))).then(function(t){return e._deferred.resolve(t)},function(t){return e._deferred.reject(t)})}catch(t){this._deferred.reject(t)}}return this._deferred.promise},t}();!function(t){t[t.SUCCESS=0]="SUCCESS",t[t.FAILED=1]="FAILED"}(O||(O={}));var w,L=function(){function t(t){void 0===t&&(t={}),this._sendingPromises=[],this.url=this.getDefaultUrl(t),"string"==typeof t.hostname&&(this.hostname=t.hostname),this.shutdown=this.shutdown.bind(this),this._shutdownOnce=new R(this._shutdown,this),this._concurrencyLimit="number"==typeof t.concurrencyLimit?t.concurrencyLimit:30,this.timeoutMillis=function(t){return"number"==typeof t?t<=0?b(t,1e4):t:(r=Number(null!==(e=S().OTEL_EXPORTER_OTLP_TRACES_TIMEOUT)&&void 0!==e?e:S().OTEL_EXPORTER_OTLP_TIMEOUT))<=0?b(r,1e4):r;var e,r}(t.timeoutMillis),this.onInit(t)}return t.prototype.export=function(t,e){this._shutdownOnce.isCalled?e({code:O.FAILED,error:new Error("Exporter has been shutdown")}):this._sendingPromises.length>=this._concurrencyLimit?e({code:O.FAILED,error:new Error("Concurrent export limit reached")}):this._export(t).then(function(){e({code:O.SUCCESS})}).catch(function(t){e({code:O.FAILED,error:t})})},t.prototype._export=function(t){var e=this;return new Promise(function(r,n){try{y.s.debug("items to be sent",t),e.send(t,r,n)}catch(t){n(t)}})},t.prototype.shutdown=function(){return this._shutdownOnce.call()},t.prototype.forceFlush=function(){return Promise.all(this._sendingPromises).then(function(){})},t.prototype._shutdown=function(){return y.s.debug("shutdown started"),this.onShutdown(),this.forceFlush()},t}(),C=(w=function(t,e){return w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},w(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}w(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),P=function(t){function e(e,r,n){var i=t.call(this,e)||this;return i.name="OTLPExporterError",i.data=n,i.code=r,i}return C(e,t),e}(Error),N=function(){return N=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},N.apply(this,arguments)};function M(t,e,r,n,i,o){var s,a,u=!1,c=setTimeout(function(){if(clearTimeout(s),u=!0,a.readyState===XMLHttpRequest.DONE){var t=new P("Request Timeout");o(t)}else a.abort()},n),l=function(n,d){void 0===n&&(n=5),void 0===d&&(d=1e3),(a=new XMLHttpRequest).open("POST",e),Object.entries(N(N({},{Accept:"application/json","Content-Type":"application/json"}),r)).forEach(function(t){var e=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(t,2),r=e[0],n=e[1];a.setRequestHeader(r,n)}),a.send(t),a.onreadystatechange=function(){if(a.readyState===XMLHttpRequest.DONE&&!1===u)if(a.status>=200&&a.status<=299)y.s.debug("xhr success",t),i(),clearTimeout(c),clearTimeout(s);else if(a.status&&(p=a.status,[429,502,503,504].includes(p))&&n>0){var e;d*=1.5,e=a.getResponseHeader("Retry-After")?function(t){if(null==t)return-1;var e=Number.parseInt(t,10);if(Number.isInteger(e))return e>0?1e3*e:-1;var r=new Date(t).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)},e)}else{var r=new P("Failed to export with XHR (status: "+a.status+")",a.status);o(r),clearTimeout(c),clearTimeout(s)}var p},a.onabort=function(){if(u){var t=new P("Request Timeout");o(t)}clearTimeout(c),clearTimeout(s)},a.onerror=function(){if(u){var t=new P("Request Timeout");o(t)}clearTimeout(c),clearTimeout(s)}};l()}var I=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)};return function(e,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=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),D=function(){return D=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},D.apply(this,arguments)},x=function(t){function e(e,r,n){void 0===e&&(e={});var o=t.call(this,e)||this;return o._useXHR=!1,o._serializer=r,o._contentType=n,o._useXHR=!!e.headers||"function"!=typeof navigator.sendBeacon,o._useXHR?o._headers=Object.assign({},function(t){void 0===t&&(t={});var e={};return Object.entries(t).forEach(function(t){var r=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(t,2),n=r[0],i=r[1];void 0!==i?e[n]=String(i):y.s.warn('Header "'+n+'" has invalid value ('+i+") and will be ignored")}),e}(e.headers),i(S().OTEL_EXPORTER_OTLP_HEADERS)):o._headers={},o}return I(e,t),e.prototype.onInit=function(){},e.prototype.onShutdown=function(){},e.prototype.send=function(t,e,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(t))&&void 0!==n?n:new Uint8Array,s=new Promise(function(t,e){i._useXHR?M(o,i.url,D(D({},i._headers),{"Content-Type":i._contentType}),i.timeoutMillis,t,e):function(t,e,r,n,i){navigator.sendBeacon(e,new Blob([t],r))?(y.s.debug("sendBeacon - can send",t),n()):i(new P("sendBeacon - cannot send "+t))}(o,i.url,{type:i._contentType},t,e)}).then(e,r);this._sendingPromises.push(s);var a=function(){var t=i._sendingPromises.indexOf(s);i._sendingPromises.splice(t,1)};s.then(a,a)}},e}(L);function U(t){return{name:t.name,version:t.version}}function k(t){return Object.keys(t).map(function(e){return j(e,t[e])})}function j(t,e){return{key:t,value:B(e)}}function B(t){var e=typeof t;return"string"===e?{stringValue:t}:"number"===e?Number.isInteger(t)?{intValue:t}:{doubleValue:t}:"boolean"===e?{boolValue:t}:t instanceof Uint8Array?{bytesValue:t}:Array.isArray(t)?{arrayValue:{values:t.map(B)}}:"object"===e&&null!=t?{kvlistValue:{values:Object.entries(t).map(function(t){var e=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(t,2);return j(e[0],e[1])})}}:{}}function V(t,e){var r,n=t.spanContext(),i=t.status;return{traceId:e.encodeSpanContext(n.traceId),spanId:e.encodeSpanContext(n.spanId),parentSpanId:e.encodeOptionalSpanContext(t.parentSpanId),traceState:null===(r=n.traceState)||void 0===r?void 0:r.serialize(),name:t.name,kind:null==t.kind?0:t.kind+1,startTimeUnixNano:e.encodeHrTime(t.startTime),endTimeUnixNano:e.encodeHrTime(t.endTime),attributes:k(t.attributes),droppedAttributesCount:t.droppedAttributesCount,events:t.events.map(function(t){return function(t,e){return{attributes:t.attributes?k(t.attributes):[],name:t.name,timeUnixNano:e.encodeHrTime(t.time),droppedAttributesCount:t.droppedAttributesCount||0}}(t,e)}),droppedEventsCount:t.droppedEventsCount,status:{code:i.code,message:i.message},links:t.links.map(function(t){return function(t,e){var r;return{attributes:t.attributes?k(t.attributes):[],spanId:e.encodeSpanContext(t.context.spanId),traceId:e.encodeSpanContext(t.context.traceId),traceState:null===(r=t.context.traceState)||void 0===r?void 0:r.serialize(),droppedAttributesCount:t.droppedAttributesCount||0}}(t,e)}),droppedLinksCount:t.droppedLinksCount}}var G=r(15776);function F(t){return t>=48&&t<=57?t-48:t>=97&&t<=102?t-87:t-55}function H(t){for(var e=new Uint8Array(t.length/2),r=0,n=0;n<t.length;n+=2){var i=F(t.charCodeAt(n)),o=F(t.charCodeAt(n+1));e[r++]=i<<4|o}return e}function W(t){var e=BigInt(1e9);return BigInt(t[0])*e+BigInt(t[1])}function Y(t){var e;return e=W(t),{low:Number(BigInt.asUintN(32,e)),high:Number(BigInt.asUintN(32,e>>BigInt(32)))}}var X="undefined"!=typeof BigInt?function(t){return W(t).toString()}:G.u5;function q(t){return t}function z(t){if(void 0!==t)return H(t)}var K={encodeHrTime:Y,encodeSpanContext:H,encodeOptionalSpanContext:z};function $(t){var e,r;if(void 0===t)return K;var n=null===(e=t.useLongBits)||void 0===e||e,i=null!==(r=t.useHex)&&void 0!==r&&r;return{encodeHrTime:n?Y:X,encodeSpanContext:i?q:H,encodeOptionalSpanContext:i?q:z}}function J(t){return{attributes:k(t.attributes),droppedAttributesCount:0}}var Z,Q,tt=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s};function et(t,e){for(var r=function(t){var e,r,n=new Map;try{for(var i=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),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 u=s.instrumentationLibrary.name+"@"+(s.instrumentationLibrary.version||"")+":"+(s.instrumentationLibrary.schemaUrl||""),c=a.get(u);c||(c=[],a.set(u,c)),c.push(s)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n}(t),n=[],i=r.entries(),o=i.next();!o.done;){for(var s=tt(o.value,2),a=s[0],u=[],c=s[1].values(),l=c.next();!l.done;){var d=l.value;if(d.length>0){var p=d.map(function(t){return V(t,e)});u.push({scope:U(d[0].instrumentationLibrary),spans:p,schemaUrl:d[0].instrumentationLibrary.schemaUrl})}l=c.next()}var h={resource:J(a),scopeSpans:u,schemaUrl:void 0};n.push(h),o=i.next()}return n}r(49831),function(t){t[t.HISTOGRAM=0]="HISTOGRAM",t[t.EXPONENTIAL_HISTOGRAM=1]="EXPONENTIAL_HISTOGRAM",t[t.GAUGE=2]="GAUGE",t[t.SUM=3]="SUM"}(Z||(Z={})),function(t){t[t.DELTA=0]="DELTA",t[t.CUMULATIVE=1]="CUMULATIVE"}(Q||(Q={}));var rt={serializeRequest:function(t){var e={resourceSpans:et(t,$({useHex:!0,useLongBits:!1}))};return(new TextEncoder).encode(JSON.stringify(e))},deserializeResponse:function(t){var e=new TextDecoder;return JSON.parse(e.decode(t))}},nt=function(){var t=function(e,r){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},t(e,r)};return function(e,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=e}t(e,r),e.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),it="v1/traces",ot="http://localhost:4318/"+it,st=function(t){function e(e){void 0===e&&(e={});var r=t.call(this,e,rt,"application/json")||this;return r._headers=Object.assign(r._headers,i(S().OTEL_EXPORTER_OTLP_TRACES_HEADERS)),r}return nt(e,t),e.prototype.getDefaultUrl=function(t){return"string"==typeof t.url?t.url:S().OTEL_EXPORTER_OTLP_TRACES_ENDPOINT.length>0?function(t){try{var e=new URL(t);return""===e.pathname&&(e.pathname=e.pathname+"/"),e.toString()}catch(e){return y.s.warn("Could not parse export URL: '"+t+"'"),t}}(S().OTEL_EXPORTER_OTLP_TRACES_ENDPOINT):S().OTEL_EXPORTER_OTLP_ENDPOINT.length>0?(e=S().OTEL_EXPORTER_OTLP_ENDPOINT,r=it,e.endsWith("/")||(e+="/"),e+r):ot;var e,r},e}(x)},41210(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._toZipkinAnnotations=e._toZipkinTags=e.toZipkinSpan=e.defaultStatusErrorTagName=e.defaultStatusCodeTagName=void 0;const n=r(69209),i=r(87844),o=r(57387),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:t,resource:e,status:r,droppedAttributesCount:i,droppedEventsCount:o,droppedLinksCount:s},a,u){const c={};for(const e of Object.keys(t))c[e]=String(t[e]);return r.code!==n.SpanStatusCode.UNSET&&(c[a]=String(n.SpanStatusCode[r.code])),r.code===n.SpanStatusCode.ERROR&&r.message&&(c[u]=r.message),i&&(c["otel.dropped_attributes_count"]=String(i)),o&&(c["otel.dropped_events_count"]=String(o)),s&&(c["otel.dropped_links_count"]=String(s)),Object.keys(e.attributes).forEach(t=>c[t]=String(e.attributes[t])),c}function u(t){return t.map(t=>({timestamp:Math.round((0,i.hrTimeToMicroseconds)(t.time)),value:t.name}))}e.defaultStatusCodeTagName="otel.status_code",e.defaultStatusErrorTagName="error",e.toZipkinSpan=function(t,e,r,n){return{traceId:t.spanContext().traceId,parentId:t.parentSpanId,name:t.name,id:t.spanContext().spanId,kind:s[t.kind],timestamp:(0,i.hrTimeToMicroseconds)(t.startTime),duration:Math.round((0,i.hrTimeToMicroseconds)(t.duration)),localEndpoint:{serviceName:e},tags:a(t,r,n),annotations:t.events.length?u(t.events):void 0}},e._toZipkinTags=a,e._toZipkinAnnotations=u},57387(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.SpanKind=void 0,function(t){t.CLIENT="CLIENT",t.SERVER="SERVER",t.CONSUMER="CONSUMER",t.PRODUCER="PRODUCER"}(e.SpanKind||(e.SpanKind={}))},99302(t,e,r){"use strict";r.r(e),r.d(e,{AttributeNames:()=>n,DocumentLoadInstrumentation:()=>v});var n,i=r(65339),o=r(70431),s=r(45350),a=r(63837),u=r(86452),c=r(5077),l=r(41584),d=r(35274),p=r(41445),h=r(66835);!function(t){t.DOCUMENT_LOAD="documentLoad",t.DOCUMENT_FETCH="documentFetch",t.RESOURCE_FETCH="resourceFetch"}(n||(n={}));const f="http.url";var g;!function(t){t.FIRST_PAINT="firstPaint",t.FIRST_CONTENTFUL_PAINT="firstContentfulPaint"}(g||(g={}));var E,_={"first-paint":g.FIRST_PAINT,"first-contentful-paint":g.FIRST_CONTENTFUL_PAINT},m=(E=function(t,e){return E=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},E(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}E(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),v=function(t){function e(e){void 0===e&&(e={});var r=t.call(this,"@opentelemetry/instrumentation-document-load","0.39.0",e)||this;return r.component="document-load",r.version="1",r.moduleName=r.component,r}return m(e,t),e.prototype.init=function(){},e.prototype._onDocumentLoaded=function(){var t=this;window.setTimeout(function(){t._collectPerformance()})},e.prototype._addResourcesSpans=function(t){var e,r,n=this,i=null===(r=(e=u.u).getEntriesByType)||void 0===r?void 0:r.call(e,"resource");i&&i.forEach(function(e){n._initResourceSpan(e,t)})},e.prototype._collectPerformance=function(){var t=this,e=Array.from(document.getElementsByTagName("meta")).find(function(t){return t.getAttribute("name")===c.ZS}),r=function(){var t,e,r={},n=null===(e=(t=u.u).getEntriesByType)||void 0===e?void 0:e.call(t,"navigation")[0];if(n)Object.values(l.D).forEach(function(t){if((0,d.CJ)(n,t)){var e=n[t];"number"==typeof e&&(r[t]=e)}});else{var i=u.u.timing;i&&Object.values(l.D).forEach(function(t){if((0,d.CJ)(i,t)){var e=i[t];"number"==typeof e&&(r[t]=e)}})}return r}(),p=e&&e.content||"";i._.with(o.$.extract(s.l,{traceparent:p}),function(){var e,o=t._startSpan(n.DOCUMENT_LOAD,l.D.FETCH_START,r);o&&(i._.with(a.u.setSpan(i._.active(),o),function(){var e=t._startSpan(n.DOCUMENT_FETCH,l.D.FETCH_START,r);e&&(e.setAttribute(f,location.href),i._.with(a.u.setSpan(i._.active(),e),function(){var n;t._getConfig().ignoreNetworkEvents||(0,d.v4)(e,r),t._addCustomAttributesOnSpan(e,null===(n=t._getConfig().applyCustomAttributesOnSpan)||void 0===n?void 0:n.documentFetch),t._endSpan(e,l.D.RESPONSE_END,r)}))}),o.setAttribute(f,location.href),o.setAttribute("http.user_agent",navigator.userAgent),t._addResourcesSpans(o),t._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)),t._getConfig().ignorePerformancePaintEvents||function(t){var e,r,n=null===(r=(e=u.u).getEntriesByType)||void 0===r?void 0:r.call(e,"paint");n&&n.forEach(function(e){var r=e.name,n=e.startTime;(0,d.CJ)(_,r)&&t.addEvent(_[r],n)})}(o),t._addCustomAttributesOnSpan(o,null===(e=t._getConfig().applyCustomAttributesOnSpan)||void 0===e?void 0:e.documentLoad),t._endSpan(o,l.D.LOAD_EVENT_END,r))})},e.prototype._endSpan=function(t,e,r){t&&((0,d.CJ)(r,e)?t.end(r[e]):t.end())},e.prototype._initResourceSpan=function(t,e){var r,i=this._startSpan(n.RESOURCE_FETCH,l.D.FETCH_START,t,e);i&&(i.setAttribute(f,t.name),this._getConfig().ignoreNetworkEvents||(0,d.v4)(i,t),this._addCustomAttributesOnResourceSpan(i,t,null===(r=this._getConfig().applyCustomAttributesOnSpan)||void 0===r?void 0:r.resourceFetch),this._endSpan(i,l.D.RESPONSE_END,t))},e.prototype._startSpan=function(t,e,r,n){if((0,d.CJ)(r,e)&&"number"==typeof r[e])return this.tracer.startSpan(t,{startTime:r[e]},n?a.u.setSpan(i._.active(),n):void 0)},e.prototype._waitForPageLoad=function(){"complete"===window.document.readyState?this._onDocumentLoaded():(this._onDocumentLoaded=this._onDocumentLoaded.bind(this),window.addEventListener("load",this._onDocumentLoaded))},e.prototype._getConfig=function(){return this._config},e.prototype._addCustomAttributesOnSpan=function(t,e){var r=this;e&&(0,p.m3)(function(){return e(t)},function(t){t&&r._diag.error("addCustomAttributesOnSpan",t)},!0)},e.prototype._addCustomAttributesOnResourceSpan=function(t,e,r){var n=this;r&&(0,p.m3)(function(){return r(t,e)},function(t){t&&n._diag.error("addCustomAttributesOnResourceSpan",t)},!0)},e.prototype.enable=function(){window.removeEventListener("load",this._onDocumentLoaded),this._waitForPageLoad()},e.prototype.disable=function(){window.removeEventListener("load",this._onDocumentLoaded)},e}(h.O)},50600(t,e,r){"use strict";r.r(e),r.d(e,{FetchInstrumentation:()=>S});var n,i=r(63837),o=r(65339),s=r(70431),a=r(84956),u=r(41445),c=r(66835),l=r(5124),d=r(15776),p=r(61958),h=r(91396);!function(t){t.COMPONENT="component",t.HTTP_ERROR_NAME="http.error_name",t.HTTP_STATUS_TEXT="http.status_text"}(n||(n={}));var f,g,E=r(18859),_="0.52.1",m=r(68885),v=(f=function(t,e){return f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},f(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}f(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),T="object"==typeof process&&"node"===(null===(g=process.release)||void 0===g?void 0:g.name),S=function(t){function e(e){void 0===e&&(e={});var r=t.call(this,"@opentelemetry/instrumentation-fetch",_,e)||this;return r.component="fetch",r.version=_,r.moduleName=r.component,r._usedResources=new WeakSet,r._tasksCount=0,r}return v(e,t),e.prototype.init=function(){},e.prototype._addChildSpan=function(t,e){var r=this.tracer.startSpan("CORS Preflight",{startTime:e[p.D.FETCH_START]},i.u.setSpan(o._.active(),t));this.getConfig().ignoreNetworkEvents||h.v4(r,e),r.end(e[p.D.RESPONSE_END])},e.prototype._addFinalSpanAttributes=function(t,e){var r=h.Dl(e.url);t.setAttribute(E.W_O,e.status),null!=e.statusText&&t.setAttribute(n.HTTP_STATUS_TEXT,e.statusText),t.setAttribute(E.Qv9,r.host),t.setAttribute(E.zPu,r.protocol.replace(":","")),"undefined"!=typeof navigator&&t.setAttribute(E.Nz$,navigator.userAgent)},e.prototype._addHeaders=function(t,e){if(!h.wF(e,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"))}t instanceof Request||t.headers instanceof Headers||t.headers instanceof Map?s.$.inject(o._.active(),t.headers,{set:function(t,e,r){return t.set(e,"string"==typeof r?r:String(r))}}):(r={},s.$.inject(o._.active(),r),t.headers=Object.assign({},r,t.headers||{}))},e.prototype._clearResources=function(){0===this._tasksCount&&this.getConfig().clearTimingResources&&(performance.clearResourceTimings(),this._usedResources=new WeakSet)},e.prototype._createSpan=function(t,e){var r;if(void 0===e&&(e={}),!l.K(t,this.getConfig().ignoreUrls)){var i=(e.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]=t,r)})}this._diag.debug("ignoring span as url matches ignored url")},e.prototype._findResourceAndAddNetworkEvents=function(t,e,r){var n=e.entries;if(!n.length){if(!performance.getEntriesByType)return;n=performance.getEntriesByType("resource")}var i=h.hZ(e.spanUrl,e.startTime,r,n,this._usedResources,"fetch");if(i.mainRequest){var o=i.mainRequest;this._markResourceAsUsed(o);var s=i.corsPreFlightRequest;s&&(this._addChildSpan(t,s),this._markResourceAsUsed(s)),this.getConfig().ignoreNetworkEvents||h.v4(t,o)}},e.prototype._markResourceAsUsed=function(t){this._usedResources.add(t)},e.prototype._endSpan=function(t,e,r){var n=this,i=d.lg(Date.now()),o=d._5();this._addFinalSpanAttributes(t,r),setTimeout(function(){var r;null===(r=e.observer)||void 0===r||r.disconnect(),n._findResourceAndAddNetworkEvents(t,e,o),n._tasksCount--,n._clearResources(),t.end(i)},300)},e.prototype._patchConstructor=function(){var t=this;return function(e){var r=t;return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var s=this,a=h.Dl(t[0]instanceof Request?t[0].url:String(t[0])).href,u=t[0]instanceof Request?t[0]:t[1]||{},c=r._createSpan(a,u);if(!c)return e.apply(this,t);var l=r._prepareSpanData(a);function d(t,e){r._applyAttributesAfterFetch(t,u,e),r._endSpan(t,l,{status:e.status||0,statusText:e.message,url:a})}function p(t,e){r._applyAttributesAfterFetch(t,u,e),e.status>=200&&e.status<400?r._endSpan(t,l,e):r._endSpan(t,l,{status:e.status,statusText:e.statusText,url:a})}function f(t,e,r){try{var n=r.clone(),i=r.clone(),o=n.body;if(o){var s=o.getReader(),a=function(){s.read().then(function(e){e.done?p(t,i):a()},function(e){d(t,e)})};a()}else p(t,r)}finally{e(r)}}function g(t,e,r){try{d(t,r)}finally{e(r)}}return new Promise(function(t,n){return o._.with(i.u.setSpan(o._.active(),c),function(){return r._addHeaders(u,a),r._tasksCount++,e.apply(s,u instanceof Request?[u]:[a,u]).then(f.bind(s,c,t),g.bind(s,c,n))})})}}},e.prototype._applyAttributesAfterFetch=function(t,e,r){var n=this,i=this.getConfig().applyCustomAttributesOnSpan;i&&(0,u.m3)(function(){return i(t,e,r)},function(t){t&&n._diag.error("applyCustomAttributesOnSpan",t)},!0)},e.prototype._prepareSpanData=function(t){var e=d._5(),r=[];if("function"!=typeof PerformanceObserver)return{entries:r,startTime:e,spanUrl:t};var n=new PerformanceObserver(function(e){e.getEntries().forEach(function(e){"fetch"===e.initiatorType&&e.name===t&&r.push(e)})});return n.observe({entryTypes:["resource"]}),{entries:r,observer:n,startTime:e,spanUrl:t}},e.prototype.enable=function(){T?this._diag.warn("this instrumentation is intended for web usage only, it does not instrument Node.js's fetch()"):((0,u.Yu)(fetch)&&(this._unwrap(m.X,"fetch"),this._diag.debug("removing previous patch for constructor")),this._wrap(m.X,"fetch",this._patchConstructor()))},e.prototype.disable=function(){T||(this._unwrap(m.X,"fetch"),this._usedResources=new WeakSet)},e}(c.O)},19975(t,e,r){"use strict";r.r(e),r.d(e,{XMLHttpRequestInstrumentation:()=>T});var n,i=r(70431),o=r(65339),s=r(63837),a=r(84956),u=r(41445),c=r(66835),l=r(93898),d=r(5124),p=r(15776),h=r(18859),f=r(91396),g=r(61958);!function(t){t.METHOD_OPEN="open",t.METHOD_SEND="send",t.EVENT_ABORT="abort",t.EVENT_ERROR="error",t.EVENT_LOAD="loaded",t.EVENT_TIMEOUT="timeout"}(n||(n={}));var E,_="0.52.1";!function(t){t.HTTP_STATUS_TEXT="http.status_text"}(E||(E={}));var m,v=(m=function(t,e){return m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},m(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}m(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),T=function(t){function e(e){void 0===e&&(e={});var r=t.call(this,"@opentelemetry/instrumentation-xml-http-request",_,e)||this;return r.component="xml-http-request",r.version=_,r.moduleName=r.component,r._tasksCount=0,r._xhrMem=new WeakMap,r._usedResources=new WeakSet,r}return v(e,t),e.prototype.init=function(){},e.prototype._addHeaders=function(t,e){var r=(0,f.Dl)(e).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(e){t.setRequestHeader(e,String(s[e]))})},e.prototype._addChildSpan=function(t,e){var r=this;o._.with(s.u.setSpan(o._.active(),t),function(){var t=r.tracer.startSpan("CORS Preflight",{startTime:e[g.D.FETCH_START]});r.getConfig().ignoreNetworkEvents||(0,f.v4)(t,e),t.end(e[g.D.RESPONSE_END])})},e.prototype._addFinalSpanAttributes=function(t,e,r){if("string"==typeof r){var n=(0,f.Dl)(r);void 0!==e.status&&t.setAttribute(h.W_O,e.status),void 0!==e.statusText&&t.setAttribute(E.HTTP_STATUS_TEXT,e.statusText),t.setAttribute(h.Qv9,n.host),t.setAttribute(h.zPu,n.protocol.replace(":","")),t.setAttribute(h.Nz$,navigator.userAgent)}},e.prototype._applyAttributesAfterXHR=function(t,e){var r=this,n=this.getConfig().applyCustomAttributesOnSpan;"function"==typeof n&&(0,u.m3)(function(){return n(t,e)},function(t){t&&r._diag.error("applyCustomAttributesOnSpan",t)},!0)},e.prototype._addResourceObserver=function(t,e){var r=this._xhrMem.get(t);r&&"function"==typeof PerformanceObserver&&"function"==typeof PerformanceResourceTiming&&(r.createdResources={observer:new PerformanceObserver(function(t){var n=t.getEntries(),i=(0,f.Dl)(e);n.forEach(function(t){"xmlhttprequest"===t.initiatorType&&t.name===i.href&&r.createdResources&&r.createdResources.entries.push(t)})}),entries:[]},r.createdResources.observer.observe({entryTypes:["resource"]}))},e.prototype._clearResources=function(){0===this._tasksCount&&this.getConfig().clearTimingResources&&(l.u.clearResourceTimings(),this._xhrMem=new WeakMap,this._usedResources=new WeakSet)},e.prototype._findResourceAndAddNetworkEvents=function(t,e,r,n,i){if(r&&n&&i&&t.createdResources){var o=t.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 u=s.corsPreFlightRequest;u&&(this._addChildSpan(e,u),this._markResourceAsUsed(u)),this.getConfig().ignoreNetworkEvents||(0,f.v4)(e,a)}}},e.prototype._cleanPreviousSpanInformation=function(t){var e=this._xhrMem.get(t);if(e){var r=e.callbackToRemoveEvents;r&&r(),this._xhrMem.delete(t)}},e.prototype._createSpan=function(t,e,r){var i;if(!(0,d.K)(e,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)(e).toString(),i)});return s.addEvent(n.METHOD_OPEN),this._cleanPreviousSpanInformation(t),this._xhrMem.set(t,{span:s,spanUrl:e}),s}this._diag.debug("ignoring span as url matches ignored url")},e.prototype._markResourceAsUsed=function(t){this._usedResources.add(t)},e.prototype._patchOpen=function(){var t=this;return function(e){var r=t;return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var i=t[0],o=t[1];return r._createSpan(this,o,i),e.apply(this,t)}}},e.prototype._patchSend=function(){var t=this;function e(e,r){var n=t._xhrMem.get(r);if(n){n.status=r.status,n.statusText=r.statusText,t._xhrMem.delete(r),n.span&&t._applyAttributesAfterXHR(n.span,r);var i=(0,p._5)(),o=Date.now();setTimeout(function(){!function(e,r,n,i){var o=r.callbackToRemoveEvents;"function"==typeof o&&o();var s=r.span,a=r.spanUrl,u=r.sendStartTime;s&&(t._findResourceAndAddNetworkEvents(r,s,a,u,n),s.addEvent(e,i),t._addFinalSpanAttributes(s,r,a),s.end(i),t._tasksCount--),t._clearResources()}(e,n,i,o)},300)}}function r(){e(n.EVENT_ERROR,this)}function i(){e(n.EVENT_ABORT,this)}function a(){e(n.EVENT_TIMEOUT,this)}function u(){this.status<299?e(n.EVENT_LOAD,this):e(n.EVENT_ERROR,this)}return function(e){return function(){for(var c=this,l=[],d=0;d<arguments.length;d++)l[d]=arguments[d];var h=t._xhrMem.get(this);if(!h)return e.apply(this,l);var f=h.span,g=h.spanUrl;return f&&g&&o._.with(s.u.setSpan(o._.active(),f),function(){t._tasksCount++,h.sendStartTime=(0,p._5)(),f.addEvent(n.METHOD_SEND),c.addEventListener("abort",i),c.addEventListener("error",r),c.addEventListener("load",u),c.addEventListener("timeout",a),h.callbackToRemoveEvents=function(){!function(e){e.removeEventListener("abort",i),e.removeEventListener("error",r),e.removeEventListener("load",u),e.removeEventListener("timeout",a);var n=t._xhrMem.get(e);n&&(n.callbackToRemoveEvents=void 0)}(c),h.createdResources&&h.createdResources.observer.disconnect()},t._addHeaders(c,g),t._addResourceObserver(c,g)}),e.apply(this,l)}}},e.prototype.enable=function(){this._diag.debug("applying patch to",this.moduleName,this.version),(0,u.Yu)(XMLHttpRequest.prototype.open)&&(this._unwrap(XMLHttpRequest.prototype,"open"),this._diag.debug("removing previous patch from method open")),(0,u.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())},e.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},e}(c.O)},76657(t,e,r){"use strict";r.r(e),r.d(e,{InstrumentationBase:()=>a.O,InstrumentationNodeModuleDefinition:()=>u,InstrumentationNodeModuleFile:()=>l,isWrapped:()=>d.Yu,registerInstrumentations:()=>s,safeExecuteInTheMiddle:()=>d.m3,safeExecuteInTheMiddleAsync:()=>d.mr});var n=r(63837),i=r(79457),o=r(68426);function s(t){var e,r,s=t.tracerProvider||n.u.getTracerProvider(),a=t.meterProvider||i.q.getMeterProvider(),u=t.loggerProvider||o.K9.getLoggerProvider(),c=null!==(r=null===(e=t.instrumentations)||void 0===e?void 0:e.flat())&&void 0!==r?r:[];return function(t,e,r,n){for(var i=0,o=t.length;i<o;i++){var s=t[i];e&&s.setTracerProvider(e),r&&s.setMeterProvider(r),n&&s.setLoggerProvider&&s.setLoggerProvider(n),s.getConfig().enabled||s.enable()}}(c,s,a,u),function(){!function(t){t.forEach(function(t){return t.disable()})}(c)}}var a=r(66835),u=function(t,e,r,n,i){this.name=t,this.supportedVersions=e,this.patch=r,this.unpatch=n,this.files=i||[]},c=r(6547),l=function(t,e,r,n){var i;this.supportedVersions=e,this.patch=r,this.unpatch=n,this.name=(i=t,c.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(41445)},66835(t,e,r){"use strict";r.d(e,{O:()=>p});var n,i=r(6547),o=r(63837),s=r(79457),a=r(68426),u=r(40554),c=function(){return c=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},c.apply(this,arguments)},l=function(){function t(t,e,r){this.instrumentationName=t,this.instrumentationVersion=e,this._wrap=u.wrap,this._unwrap=u.unwrap,this._massWrap=u.massWrap,this._massUnwrap=u.massUnwrap,this._config=c({enabled:!0},r),this._diag=i.s.createComponentLogger({namespace:t}),this._tracer=o.u.getTracer(t,e),this._meter=s.q.getMeter(t,e),this._logger=a.K9.getLogger(t,e),this._updateMetricInstruments()}return Object.defineProperty(t.prototype,"meter",{get:function(){return this._meter},enumerable:!1,configurable:!0}),t.prototype.setMeterProvider=function(t){this._meter=t.getMeter(this.instrumentationName,this.instrumentationVersion),this._updateMetricInstruments()},Object.defineProperty(t.prototype,"logger",{get:function(){return this._logger},enumerable:!1,configurable:!0}),t.prototype.setLoggerProvider=function(t){this._logger=t.getLogger(this.instrumentationName,this.instrumentationVersion)},t.prototype.getModuleDefinitions=function(){var t,e=null!==(t=this.init())&&void 0!==t?t:[];return Array.isArray(e)?e:[e]},t.prototype._updateMetricInstruments=function(){},t.prototype.getConfig=function(){return this._config},t.prototype.setConfig=function(t){this._config=c({},t)},t.prototype.setTracerProvider=function(t){this._tracer=t.getTracer(this.instrumentationName,this.instrumentationVersion)},Object.defineProperty(t.prototype,"tracer",{get:function(){return this._tracer},enumerable:!1,configurable:!0}),t.prototype._runSpanCustomizationHook=function(t,e,r,n){if(t)try{t(r,n)}catch(t){this._diag.error("Error running span customization hook due to exception in handler",{triggerName:e},t)}},t}(),d=(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),p=function(t){function e(e,r,n){var i=t.call(this,e,r,n)||this;return i._config.enabled&&i.enable(),i}return d(e,t),e}(l)},41445(t,e,r){"use strict";r.d(e,{Yu:()=>o,m3:()=>n,mr:()=>i});function n(t,e,r){var n,i;try{i=t()}catch(t){n=t}finally{if(e(n,i),n&&!r)throw n;return i}}function i(t,e,r){return function(t,e,r,n){return new(r||(r=Promise))(function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r(function(t){t(e)})).then(s,a)}u((n=n.apply(t,e||[])).next())})}(this,void 0,void 0,function(){var n,i,o;return function(t,e){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=e.call(t,s)}catch(t){o=[6,t],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,t()];case 1:return i=s.sent(),[3,4];case 2:return o=s.sent(),n=o,[3,4];case 3:if(e(n,i),n&&!r)throw n;return[2,i];case 4:return[2]}})})}function o(t){return"function"==typeof t&&"function"==typeof t.__original&&"function"==typeof t.__unwrap&&!0===t.__wrapped}},27651(t,e,r){"use strict";r.d(e,{F:()=>u});var n=r(6547),i=r(76036),o=r(387),s=r(2167),a=function(){return a=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},a.apply(this,arguments)},u=function(){function t(t,e){var r,i=this;this._attributes=t,this.asyncAttributesPending=null!=e,this._syncAttributes=null!==(r=this._attributes)&&void 0!==r?r:{},this._asyncAttributesPromise=null==e?void 0:e.then(function(t){return i._attributes=Object.assign({},i._attributes,t),i.asyncAttributesPending=!1,t},function(t){return n.s.debug("a resource's async attributes promise rejected: %s",t),i.asyncAttributesPending=!1,{}})}return t.empty=function(){return t.EMPTY},t.default=function(){var e;return new t(((e={})[i.AV]=(0,s.m)(),e[i.Pl]=o.q[i.Pl],e[i.$L]=o.q[i.$L],e[i.y$]=o.q[i.y$],e))},Object.defineProperty(t.prototype,"attributes",{get:function(){var t;return this.asyncAttributesPending&&n.s.error("Accessing resource attributes before async attributes settled"),null!==(t=this._attributes)&&void 0!==t?t:{}},enumerable:!1,configurable:!0}),t.prototype.waitForAsyncAttributes=function(){return function(t,e,r,n){return new(r||(r=Promise))(function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r(function(t){t(e)})).then(s,a)}u((n=n.apply(t,e||[])).next())})}(this,void 0,void 0,function(){return function(t,e){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=e.call(t,s)}catch(t){o=[6,t],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(t){switch(t.label){case 0:return this.asyncAttributesPending?[4,this._asyncAttributesPromise]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}})})},t.prototype.merge=function(e){var r,n=this;if(!e)return this;var i=a(a({},this._syncAttributes),null!==(r=e._syncAttributes)&&void 0!==r?r:e.attributes);if(!this._asyncAttributesPromise&&!e._asyncAttributesPromise)return new t(i);var o=Promise.all([this._asyncAttributesPromise,e._asyncAttributesPromise]).then(function(t){var r,i=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(t,2),o=i[0],s=i[1];return a(a(a(a({},n._syncAttributes),o),null!==(r=e._syncAttributes)&&void 0!==r?r:e.attributes),s)});return new t(i,o)},t.EMPTY=new t({}),t}()},40353(t,e,r){"use strict";r.r(e),r.d(e,{Resource:()=>n.F,browserDetector:()=>c,browserDetectorSync:()=>u,defaultServiceName:()=>i.m,detectResources:()=>A,detectResourcesSync:()=>R,envDetector:()=>h,envDetectorSync:()=>p,hostDetector:()=>E,hostDetectorSync:()=>_,osDetector:()=>m,osDetectorSync:()=>v,processDetector:()=>T,processDetectorSync:()=>S,serviceInstanceIdDetectorSync:()=>y});var n=r(27651),i=r(2167),o=r(76036),s=r(6547),a=function(){return a=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},a.apply(this,arguments)},u=new(function(){function t(){}return t.prototype.detect=function(t){var e,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 u=((e={})[o.lb]="browser",e[o.C3]="Web Browser",e[o.cV]=navigator.userAgent,e);return this._getResourceAttributes(u,t)},t.prototype._getResourceAttributes=function(t,e){return""===t[o.cV]?(s.s.debug("BrowserDetector failed: Unable to find required browser resources. "),n.F.empty()):new n.F(a({},t))},t}()),c=new(function(){function t(){}return t.prototype.detect=function(t){return Promise.resolve(u.detect(t))},t}()),l=r(21347),d=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s},p=new(function(){function t(){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 t.prototype.detect=function(t){var e={},r=(0,l._)(),i=r.OTEL_RESOURCE_ATTRIBUTES,a=r.OTEL_SERVICE_NAME;if(i)try{var u=this._parseResourceAttributes(i);Object.assign(e,u)}catch(t){s.s.debug("EnvDetector failed: "+t.message)}return a&&(e[o.AV]=a),new n.F(e)},t.prototype._parseResourceAttributes=function(t){var e,r;if(!t)return{};var n={},i=t.split(this._COMMA_SEPARATOR,-1);try{for(var o=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"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 u=d(a,2),c=u[0],l=u[1];if(c=c.trim(),l=l.trim().split(/^"|"$/).join(""),!this._isValidAndNotEmpty(c))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[c]=decodeURIComponent(l)}}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}return n},t.prototype._isValid=function(t){return t.length<=this._MAX_LENGTH&&this._isBaggageOctetString(t)},t.prototype._isBaggageOctetString=function(t){for(var e=0;e<t.length;e++){var r=t.charCodeAt(e);if(r<33||44===r||59===r||92===r||r>126)return!1}return!0},t.prototype._isValidAndNotEmpty=function(t){return t.length>0&&this._isValid(t)},t}()),h=new(function(){function t(){}return t.prototype.detect=function(t){return Promise.resolve(p.detect(t))},t}()),f=new(function(){function t(){}return t.prototype.detect=function(){return new n.F({})},t}()),g=new(function(){function t(){}return t.prototype.detect=function(){return Promise.resolve(f.detect())},t}()),E=g,_=f,m=g,v=f,T=g,S=g,y=f,b=function(t,e,r,n){return new(r||(r=Promise))(function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r(function(t){t(e)})).then(s,a)}u((n=n.apply(t,e||[])).next())})},O=function(t,e){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=e.call(t,s)}catch(t){o=[6,t],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(t){return void 0===t&&(t={}),b(void 0,void 0,void 0,function(){var e;return O(this,function(r){switch(r.label){case 0:return[4,Promise.all((t.detectors||[]).map(function(e){return b(void 0,void 0,void 0,function(){var r,i;return O(this,function(o){switch(o.label){case 0:return o.trys.push([0,2,,3]),[4,e.detect(t)];case 1:return r=o.sent(),s.s.debug(e.constructor.name+" found resource.",r),[2,r];case 2:return i=o.sent(),s.s.debug(e.constructor.name+" failed: "+i.message),[2,n.F.empty()];case 3:return[2]}})})}))];case 1:return e=r.sent(),w(e),[2,e.reduce(function(t,e){return t.merge(e)},n.F.empty())]}})})},R=function(t){var e;void 0===t&&(t={});var r=(null!==(e=t.detectors)&&void 0!==e?e:[]).map(function(e){try{var r,i=e.detect(t);return r=null!==(o=i)&&"object"==typeof o&&"function"==typeof o.then?new n.F({},b(void 0,void 0,void 0,function(){var t,e;return O(this,function(r){switch(r.label){case 0:return[4,i];case 1:return t=r.sent(),[4,null===(e=t.waitForAsyncAttributes)||void 0===e?void 0:e.call(t)];case 2:return r.sent(),[2,t.attributes]}})})):i,r.waitForAsyncAttributes?r.waitForAsyncAttributes().then(function(){return s.s.debug(e.constructor.name+" found resource.",r)}):s.s.debug(e.constructor.name+" found resource.",r),r}catch(t){return s.s.error(e.constructor.name+" failed: "+t.message),n.F.empty()}var o}),i=r.reduce(function(t,e){return t.merge(e)},n.F.empty());return i.waitForAsyncAttributes&&i.waitForAsyncAttributes().then(function(){w(r)}),i},w=function(t){t.forEach(function(t){if(Object.keys(t.attributes).length>0){var e=JSON.stringify(t.attributes,null,4);s.s.verbose(e)}})}},2167(t,e,r){"use strict";function n(){return"unknown_service"}r.d(e,{m:()=>n})},79514(t,e,r){"use strict";r.d(e,{l:()=>y,d:()=>n});var n,i=r(6547),o=r(63837),s=r(65339),a=r(70431),u=r(59396),c=r(21347),l=r(41923),d=r(5077),p=r(92559),h=r(27651),f=r(50318),g=r(12381),E=r(76446),_=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},m=function(){function t(t){this._spanProcessors=t}return t.prototype.forceFlush=function(){var t,e,r=[];try{for(var n=_(this._spanProcessors),i=n.next();!i.done;i=n.next()){var o=i.value;r.push(o.forceFlush())}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return new Promise(function(t){Promise.all(r).then(function(){t()}).catch(function(e){(0,E.s)(e||new Error("MultiSpanProcessor: forceFlush failed")),t()})})},t.prototype.onStart=function(t,e){var r,n;try{for(var i=_(this._spanProcessors),o=i.next();!o.done;o=i.next())o.value.onStart(t,e)}catch(t){r={error:t}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},t.prototype.onEnd=function(t){var e,r;try{for(var n=_(this._spanProcessors),i=n.next();!i.done;i=n.next())i.value.onEnd(t)}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}},t.prototype.shutdown=function(){var t,e,r=[];try{for(var n=_(this._spanProcessors),i=n.next();!i.done;i=n.next()){var o=i.value;r.push(o.shutdown())}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(t)throw t.error}}return new Promise(function(t,e){Promise.all(r).then(function(){t()},e)})},t}(),v=r(2890),T=r(40802),S=r(84891);!function(t){t[t.resolved=0]="resolved",t[t.timeout=1]="timeout",t[t.error=2]="error",t[t.unresolved=3]="unresolved"}(n||(n={}));var y=function(){function t(t){var e,r;void 0===t&&(t={}),this._registeredSpanProcessors=[],this._tracers=new Map;var n=(0,u.h)({},(0,g.S)(),(0,S.W)(t));if(this.resource=null!==(e=n.resource)&&void 0!==e?e:h.F.empty(),n.mergeResourceWithDefaults&&(this.resource=h.F.default().merge(this.resource)),this._config=Object.assign({},n,{resource:this.resource}),null===(r=t.spanProcessors)||void 0===r?void 0:r.length)this._registeredSpanProcessors=function(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}([],function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(t.spanProcessors),!1),this.activeSpanProcessor=new m(this._registeredSpanProcessors);else{var i=this._buildExporterFromEnv();if(void 0!==i){var o=new T.J(i);this.activeSpanProcessor=o}else this.activeSpanProcessor=new v.N}}return t.prototype.getTracer=function(t,e,r){var n=t+"@"+(e||"")+":"+((null==r?void 0:r.schemaUrl)||"");return this._tracers.has(n)||this._tracers.set(n,new f.s({name:t,version:e,schemaUrl:null==r?void 0:r.schemaUrl},this._config,this)),this._tracers.get(n)},t.prototype.addSpanProcessor=function(t){0===this._registeredSpanProcessors.length&&this.activeSpanProcessor.shutdown().catch(function(t){return i.s.error("Error while trying to shutdown current span processor",t)}),this._registeredSpanProcessors.push(t),this.activeSpanProcessor=new m(this._registeredSpanProcessors)},t.prototype.getActiveSpanProcessor=function(){return this.activeSpanProcessor},t.prototype.register=function(t){void 0===t&&(t={}),o.u.setGlobalTracerProvider(this),void 0===t.propagator&&(t.propagator=this._buildPropagatorFromEnv()),t.contextManager&&s._.setGlobalContextManager(t.contextManager),t.propagator&&a.$.setGlobalPropagator(t.propagator)},t.prototype.forceFlush=function(){var t=this._config.forceFlushTimeoutMillis,e=this._registeredSpanProcessors.map(function(e){return new Promise(function(r){var i,o=setTimeout(function(){r(new Error("Span processor did not completed within timeout period of "+t+" ms")),i=n.timeout},t);e.forceFlush().then(function(){clearTimeout(o),i!==n.timeout&&(i=n.resolved,r(i))}).catch(function(t){clearTimeout(o),i=n.error,r(t)})})});return new Promise(function(t,r){Promise.all(e).then(function(e){var i=e.filter(function(t){return t!==n.resolved});i.length>0?r(i):t()}).catch(function(t){return r([t])})})},t.prototype.shutdown=function(){return this.activeSpanProcessor.shutdown()},t.prototype._getPropagator=function(t){var e;return null===(e=this.constructor._registeredPropagators.get(t))||void 0===e?void 0:e()},t.prototype._getSpanExporter=function(t){var e;return null===(e=this.constructor._registeredExporters.get(t))||void 0===e?void 0:e()},t.prototype._buildPropagatorFromEnv=function(){var t=this,e=Array.from(new Set((0,c._)().OTEL_PROPAGATORS)),r=e.map(function(e){var r=t._getPropagator(e);return r||i.s.warn('Propagator "'+e+'" requested through environment variable is unavailable.'),r}).reduce(function(t,e){return e&&t.push(e),t},[]);return 0===r.length?void 0:1===e.length?r[0]:new l.n({propagators:r})},t.prototype._buildExporterFromEnv=function(){var t=(0,c._)().OTEL_TRACES_EXPORTER;if("none"!==t&&""!==t){var e=this._getSpanExporter(t);return e||i.s.error('Exporter "'+t+'" requested through environment variable is unavailable.'),e}},t._registeredPropagators=new Map([["tracecontext",function(){return new d.lm}],["baggage",function(){return new p.t}]]),t._registeredExporters=new Map,t}()},64419(t,e,r){"use strict";var n;r.d(e,{i:()=>n}),function(t){t[t.NOT_RECORD=0]="NOT_RECORD",t[t.RECORD=1]="RECORD",t[t.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}(n||(n={}))},11551(t,e,r){"use strict";r.d(e,{L:()=>d});var n=r(84913),i=r(6547),o=r(86452),s=r(88958),a=r(14414),u=r(12709),c=function(){return c=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var i in e=arguments[r])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},c.apply(this,arguments)},l=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s},d=function(){function t(t,e,r,i,a,u,c,l,d,p){void 0===c&&(c=[]),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=u,this.kind=a,this.links=c;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=t.resource,this.instrumentationLibrary=t.instrumentationLibrary,this._spanLimits=t.getSpanLimits(),this._attributeValueLengthLimit=this._spanLimits.attributeValueLengthLimit||0,null!=p&&this.setAttributes(p),this._spanProcessor=t.getActiveSpanProcessor(),this._spanProcessor.onStart(this,e)}return t.prototype.spanContext=function(){return this._spanContext},t.prototype.setAttribute=function(t,e){return null==e||this._isSpanEnded()?this:0===t.length?(i.s.warn("Invalid attribute key: "+t),this):(0,a.m)(e)?Object.keys(this.attributes).length>=this._spanLimits.attributeCountLimit&&!Object.prototype.hasOwnProperty.call(this.attributes,t)?(this._droppedAttributesCount++,this):(this.attributes[t]=this._truncateToSize(e),this):(i.s.warn("Invalid attribute value set for key: "+t),this)},t.prototype.setAttributes=function(t){var e,r;try{for(var n=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(Object.entries(t)),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(t){e={error:t}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(e)throw e.error}}return this},t.prototype.addEvent=function(t,e,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)(e)&&((0,s.Ir)(r)||(r=e),e=void 0);var n=(0,a.L)(e);return this.events.push({name:t,attributes:n,time:this._getTime(r),droppedAttributesCount:0}),this},t.prototype.addLink=function(t){return this.links.push(t),this},t.prototype.addLinks=function(t){var e;return(e=this.links).push.apply(e,function(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}([],l(t),!1)),this},t.prototype.setStatus=function(t){return this._isSpanEnded()||(this.status=c({},t),null!=this.status.message&&"string"!=typeof t.message&&(i.s.warn("Dropping invalid status.message of type '"+typeof t.message+"', expected 'string'"),delete this.status.message)),this},t.prototype.updateName=function(t){return this._isSpanEnded()||(this.name=t),this},t.prototype.end=function(t){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(t),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))},t.prototype._getTime=function(t){if("number"==typeof t&&t<=o.u.now())return(0,s._5)(t+this._performanceOffset);if("number"==typeof t)return(0,s.lg)(t);if(t instanceof Date)return(0,s.lg)(t.getTime());if((0,s.VL)(t))return t;if(this._startTimeProvided)return(0,s.lg)(Date.now());var e=o.u.now()-this._performanceStartTime;return(0,s.mw)(this.startTime,(0,s.lg)(e))},t.prototype.isRecording=function(){return!1===this._ended},t.prototype.recordException=function(t,e){var r={};"string"==typeof t?r[u.aP6]=t:t&&(t.code?r[u.P4J]=t.code.toString():t.name&&(r[u.P4J]=t.name),t.message&&(r[u.aP6]=t.message),t.stack&&(r[u.ipG]=t.stack)),r[u.P4J]||r[u.aP6]?this.addEvent("exception",r,e):i.s.warn("Failed to record an exception "+t)},Object.defineProperty(t.prototype,"duration",{get:function(){return this._duration},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ended",{get:function(){return this._ended},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"droppedAttributesCount",{get:function(){return this._droppedAttributesCount},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"droppedEventsCount",{get:function(){return this._droppedEventsCount},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"droppedLinksCount",{get:function(){return this._droppedLinksCount},enumerable:!1,configurable:!0}),t.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},t.prototype._truncateToLimitUtil=function(t,e){return t.length<=e?t:t.substring(0,e)},t.prototype._truncateToSize=function(t){var e=this,r=this._attributeValueLengthLimit;return r<=0?(i.s.warn("Attribute value limit must be positive, got "+r),t):"string"==typeof t?this._truncateToLimitUtil(t,r):Array.isArray(t)?t.map(function(t){return"string"==typeof t?e._truncateToLimitUtil(t,r):t}):t},t}()},50318(t,e,r){"use strict";r.d(e,{s:()=>g});var n=r(49623),i=r(84956),o=r(67722),s=r(94105),a=r(65339),u=r(6547),c=r(63837),l=r(14414),d=r(19239),p=r(11551),h=r(84891),f=r(94987),g=function(){function t(t,e,r){this._tracerProvider=r;var n=(0,h.R)(e);this._sampler=n.sampler,this._generalLimits=n.generalLimits,this._spanLimits=n.spanLimits,this._idGenerator=e.idGenerator||new f.s,this.resource=r.resource,this.instrumentationLibrary=t}return t.prototype.startSpan=function(t,e,r){var h,f,g;void 0===e&&(e={}),void 0===r&&(r=a._.active()),e.root&&(r=c.u.deleteSpan(r));var E=c.u.getSpan(r);if((0,d.Zf)(r))return u.s.debug("Instrumentation suppressed, returning Noop Span"),c.u.wrapSpanContext(s.dM);var _,m,v,T=null==E?void 0:E.spanContext(),S=this._idGenerator.generateSpanId();T&&c.u.isSpanContextValid(T)?(_=T.traceId,m=T.traceState,v=T.spanId):_=this._idGenerator.generateTraceId();var y=null!==(h=e.kind)&&void 0!==h?h:i.v.INTERNAL,b=(null!==(f=e.links)&&void 0!==f?f:[]).map(function(t){return{context:t.context,attributes:(0,l.L)(t.attributes)}}),O=(0,l.L)(e.attributes),A=this._sampler.shouldSample(r,_,t,y,O,b);m=null!==(g=A.traceState)&&void 0!==g?g:m;var R={traceId:_,spanId:S,traceFlags:A.decision===n.i.RECORD_AND_SAMPLED?o.X.SAMPLED:o.X.NONE,traceState:m};if(A.decision===n.i.NOT_RECORD)return u.s.debug("Recording is off, propagating context in a non-recording span"),c.u.wrapSpanContext(R);var w=(0,l.L)(Object.assign(O,A.attributes));return new p.L(this,r,t,R,y,v,b,e.startTime,void 0,w)},t.prototype.startActiveSpan=function(t,e,r,n){var i,o,s;if(!(arguments.length<2)){2===arguments.length?s=e:3===arguments.length?(i=e,s=r):(i=e,o=r,s=n);var u=null!=o?o:a._.active(),l=this.startSpan(t,i,u),d=c.u.setSpan(u,l);return a._.with(d,s,void 0,l)}},t.prototype.getGeneralLimits=function(){return this._generalLimits},t.prototype.getSpanLimits=function(){return this._spanLimits},t.prototype.getActiveSpanProcessor=function(){return this._tracerProvider.getActiveSpanProcessor()},t}()},12381(t,e,r){"use strict";r.d(e,{S:()=>d,m:()=>p});var n=r(6547),i=r(21347),o=r(46758),s=r(11060),a=r(86192),u=r(81679),c=r(15344),l=o.R.AlwaysOn;function d(){var t=(0,i._)();return{sampler:p(t),forceFlushTimeoutMillis:3e4,generalLimits:{attributeValueLengthLimit:t.OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT,attributeCountLimit:t.OTEL_ATTRIBUTE_COUNT_LIMIT},spanLimits:{attributeValueLengthLimit:t.OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT,attributeCountLimit:t.OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT,linkCountLimit:t.OTEL_SPAN_LINK_COUNT_LIMIT,eventCountLimit:t.OTEL_SPAN_EVENT_COUNT_LIMIT,attributePerEventCountLimit:t.OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT,attributePerLinkCountLimit:t.OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT},mergeResourceWithDefaults:!0}}function p(t){switch(void 0===t&&(t=(0,i._)()),t.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 u.e({root:new a.f});case o.R.ParentBasedAlwaysOff:return new u.e({root:new s.t});case o.R.TraceIdRatio:return new c.h(h(t));case o.R.ParentBasedTraceIdRatio:return new u.e({root:new c.h(h(t))});default:return n.s.error('OTEL_TRACES_SAMPLER value "'+t.OTEL_TRACES_SAMPLER+" invalid, defaulting to "+l+'".'),new a.f}}function h(t){if(void 0===t.OTEL_TRACES_SAMPLER_ARG||""===t.OTEL_TRACES_SAMPLER_ARG)return n.s.error("OTEL_TRACES_SAMPLER_ARG is blank, defaulting to 1."),1;var e=Number(t.OTEL_TRACES_SAMPLER_ARG);return isNaN(e)?(n.s.error("OTEL_TRACES_SAMPLER_ARG="+t.OTEL_TRACES_SAMPLER_ARG+" was given, but it is invalid, defaulting to 1."),1):e<0||e>1?(n.s.error("OTEL_TRACES_SAMPLER_ARG="+t.OTEL_TRACES_SAMPLER_ARG+" was given, but it is out of range ([0..1]), defaulting to 1."),1):e}},28878(t,e,r){"use strict";r.d(e,{V:()=>o});var n=r(88958),i=r(62874),o=function(){function t(){}return t.prototype.export=function(t,e){return this._sendSpans(t,e)},t.prototype.shutdown=function(){return this._sendSpans([]),this.forceFlush()},t.prototype.forceFlush=function(){return Promise.resolve()},t.prototype._exportInfo=function(t){var e;return{resource:{attributes:t.resource.attributes},instrumentationScope:t.instrumentationLibrary,traceId:t.spanContext().traceId,parentId:t.parentSpanId,traceState:null===(e=t.spanContext().traceState)||void 0===e?void 0:e.serialize(),name:t.name,id:t.spanContext().spanId,kind:t.kind,timestamp:(0,n.w_)(t.startTime),duration:(0,n.w_)(t.duration),attributes:t.attributes,status:t.status,events:t.events,links:t.links}},t.prototype._sendSpans=function(t,e){var r,n;try{for(var o=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),s=o.next();!s.done;s=o.next()){var a=s.value;console.dir(this._exportInfo(a),{depth:3})}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}if(e)return e({code:i.V.SUCCESS})},t}()},80893(t,e,r){"use strict";r.d(e,{O:()=>i});var n=r(62874),i=function(){function t(){this._finishedSpans=[],this._stopped=!1}return t.prototype.export=function(t,e){var r;if(this._stopped)return e({code:n.V.FAILED,error:new Error("Exporter has been stopped")});(r=this._finishedSpans).push.apply(r,function(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}([],function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}(t),!1)),setTimeout(function(){return e({code:n.V.SUCCESS})},0)},t.prototype.shutdown=function(){return this._stopped=!0,this._finishedSpans=[],this.forceFlush()},t.prototype.forceFlush=function(){return Promise.resolve()},t.prototype.reset=function(){this._finishedSpans=[]},t.prototype.getFinishedSpans=function(){return this._finishedSpans},t}()},2890(t,e,r){"use strict";r.d(e,{N:()=>n});var n=function(){function t(){}return t.prototype.onStart=function(t,e){},t.prototype.onEnd=function(t){},t.prototype.shutdown=function(){return Promise.resolve()},t.prototype.forceFlush=function(){return Promise.resolve()},t}()},66736(t,e,r){"use strict";r.d(e,{t:()=>u});var n=r(67722),i=r(87844),o=r(76446),s=r(62874),a=r(21431),u=function(){function t(t){this._exporter=t,this._shutdownOnce=new a.I(this._shutdown,this),this._unresolvedExports=new Set}return t.prototype.forceFlush=function(){return function(t,e,r,n){return new(r||(r=Promise))(function(i,o){function s(t){try{u(n.next(t))}catch(t){o(t)}}function a(t){try{u(n.throw(t))}catch(t){o(t)}}function u(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r(function(t){t(e)})).then(s,a)}u((n=n.apply(t,e||[])).next())})}(this,void 0,void 0,function(){return function(t,e){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=e.call(t,s)}catch(t){o=[6,t],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(t){switch(t.label){case 0:return[4,Promise.all(Array.from(this._unresolvedExports))];case 1:return t.sent(),this._exporter.forceFlush?[4,this._exporter.forceFlush()]:[3,3];case 2:t.sent(),t.label=3;case 3:return[2]}})})},t.prototype.onStart=function(t,e){},t.prototype.onEnd=function(t){var e,r,a=this;if(!this._shutdownOnce.isCalled&&0!==(t.spanContext().traceFlags&n.X.SAMPLED)){var u=function(){return i.internal._export(a._exporter,[t]).then(function(t){var e;t.code!==s.V.SUCCESS&&(0,o.s)(null!==(e=t.error)&&void 0!==e?e:new Error("SimpleSpanProcessor: span export failed (status "+t+")"))}).catch(function(t){(0,o.s)(t)})};if(t.resource.asyncAttributesPending){var c=null===(r=(e=t.resource).waitForAsyncAttributes)||void 0===r?void 0:r.call(e).then(function(){return null!=c&&a._unresolvedExports.delete(c),u()},function(t){return(0,o.s)(t)});null!=c&&this._unresolvedExports.add(c)}else u()}},t.prototype.shutdown=function(){return this._shutdownOnce.call()},t.prototype._shutdown=function(){return this._exporter.shutdown()},t}()},77559(t,e,r){"use strict";r.r(e),r.d(e,{AlwaysOffSampler:()=>d.t,AlwaysOnSampler:()=>p.f,BasicTracerProvider:()=>i.l,BatchSpanProcessor:()=>o.J,ConsoleSpanExporter:()=>a.V,ForceFlushState:()=>i.d,InMemorySpanExporter:()=>u.O,NoopSpanProcessor:()=>l.N,ParentBasedSampler:()=>h.e,RandomIdGenerator:()=>s.s,SamplingDecision:()=>g.i,SimpleSpanProcessor:()=>c.t,Span:()=>E.L,TraceIdRatioBasedSampler:()=>f.h,Tracer:()=>n.s});var n=r(50318),i=r(79514),o=r(40802),s=r(94987),a=r(28878),u=r(80893),c=r(66736),l=r(2890),d=r(11060),p=r(86192),h=r(81679),f=r(15344),g=r(64419),E=r(11551)},94987(t,e,r){"use strict";r.d(e,{s:()=>n});var n=function(){this.generateTraceId=o(16),this.generateSpanId=o(8)},i=Array(32);function o(t){return function(){for(var e=0;e<2*t;e++)i[e]=Math.floor(16*Math.random())+48,i[e]>=58&&(i[e]+=39);return String.fromCharCode.apply(null,i.slice(0,2*t))}}},40802(t,e,r){"use strict";r.d(e,{J:()=>g});var n,i=r(6547),o=r(67722),s=r(65339),a=r(21347),u=r(21431),c=r(19239),l=r(62874),d=r(76446),p=r(12168),h=function(){function t(t,e){this._exporter=t,this._isExporting=!1,this._finishedSpans=[],this._droppedSpansCount=0;var r=(0,a._)();this._maxExportBatchSize="number"==typeof(null==e?void 0:e.maxExportBatchSize)?e.maxExportBatchSize:r.OTEL_BSP_MAX_EXPORT_BATCH_SIZE,this._maxQueueSize="number"==typeof(null==e?void 0:e.maxQueueSize)?e.maxQueueSize:r.OTEL_BSP_MAX_QUEUE_SIZE,this._scheduledDelayMillis="number"==typeof(null==e?void 0:e.scheduledDelayMillis)?e.scheduledDelayMillis:r.OTEL_BSP_SCHEDULE_DELAY,this._exportTimeoutMillis="number"==typeof(null==e?void 0:e.exportTimeoutMillis)?e.exportTimeoutMillis:r.OTEL_BSP_EXPORT_TIMEOUT,this._shutdownOnce=new u.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 t.prototype.forceFlush=function(){return this._shutdownOnce.isCalled?this._shutdownOnce.promise:this._flushAll()},t.prototype.onStart=function(t,e){},t.prototype.onEnd=function(t){this._shutdownOnce.isCalled||0!==(t.spanContext().traceFlags&o.X.SAMPLED)&&this._addToBuffer(t)},t.prototype.shutdown=function(){return this._shutdownOnce.call()},t.prototype._shutdown=function(){var t=this;return Promise.resolve().then(function(){return t.onShutdown()}).then(function(){return t._flushAll()}).then(function(){return t._exporter.shutdown()})},t.prototype._addToBuffer=function(t){if(this._finishedSpans.length>=this._maxQueueSize)return 0===this._droppedSpansCount&&i.s.debug("maxQueueSize reached, dropping spans"),void this._droppedSpansCount++;this._droppedSpansCount>0&&(i.s.warn("Dropped "+this._droppedSpansCount+" spans because maxQueueSize reached"),this._droppedSpansCount=0),this._finishedSpans.push(t),this._maybeStartTimer()},t.prototype._flushAll=function(){var t=this;return new Promise(function(e,r){for(var n=[],i=0,o=Math.ceil(t._finishedSpans.length/t._maxExportBatchSize);i<o;i++)n.push(t._flushOneBatch());Promise.all(n).then(function(){e()}).catch(r)})},t.prototype._flushOneBatch=function(){var t=this;return this._clearTimer(),0===this._finishedSpans.length?Promise.resolve():new Promise(function(e,r){var n=setTimeout(function(){r(new Error("Timeout"))},t._exportTimeoutMillis);s._.with((0,c.M1)(s._.active()),function(){var i;t._finishedSpans.length<=t._maxExportBatchSize?(i=t._finishedSpans,t._finishedSpans=[]):i=t._finishedSpans.splice(0,t._maxExportBatchSize);for(var o=function(){return t._exporter.export(i,function(t){var i;clearTimeout(n),t.code===l.V.SUCCESS?e():r(null!==(i=t.error)&&void 0!==i?i:new Error("BatchSpanProcessor: span export failed"))})},s=null,a=0,u=i.length;a<u;a++){var c=i[a];c.resource.asyncAttributesPending&&c.resource.waitForAsyncAttributes&&(null!=s||(s=[]),s.push(c.resource.waitForAsyncAttributes()))}null===s?o():Promise.all(s).then(o,function(t){(0,d.s)(t),r(t)})})})},t.prototype._maybeStartTimer=function(){var t=this;if(!this._isExporting){var e=function(){t._isExporting=!0,t._flushOneBatch().finally(function(){t._isExporting=!1,t._finishedSpans.length>0&&(t._clearTimer(),t._maybeStartTimer())}).catch(function(e){t._isExporting=!1,(0,d.s)(e)})};if(this._finishedSpans.length>=this._maxExportBatchSize)return e();void 0===this._timer&&(this._timer=setTimeout(function(){return e()},this._scheduledDelayMillis),(0,p.K)(this._timer))}},t.prototype._clearTimer=function(){void 0!==this._timer&&(clearTimeout(this._timer),this._timer=void 0)},t}(),f=(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),g=function(t){function e(e,r){var n=t.call(this,e,r)||this;return n.onInit(r),n}return f(e,t),e.prototype.onInit=function(t){var e=this;!0!==(null==t?void 0:t.disableAutoFlushOnDocumentHide)&&"undefined"!=typeof document&&(this._visibilityChangeListener=function(){"hidden"===document.visibilityState&&e.forceFlush().catch(function(t){(0,d.s)(t)})},this._pageHideListener=function(){e.forceFlush().catch(function(t){(0,d.s)(t)})},document.addEventListener("visibilitychange",this._visibilityChangeListener),document.addEventListener("pagehide",this._pageHideListener))},e.prototype.onShutdown=function(){"undefined"!=typeof document&&(this._visibilityChangeListener&&document.removeEventListener("visibilitychange",this._visibilityChangeListener),this._pageHideListener&&document.removeEventListener("pagehide",this._pageHideListener))},e}(h)},11060(t,e,r){"use strict";r.d(e,{t:()=>i});var n=r(64419),i=function(){function t(){}return t.prototype.shouldSample=function(){return{decision:n.i.NOT_RECORD}},t.prototype.toString=function(){return"AlwaysOffSampler"},t}()},86192(t,e,r){"use strict";r.d(e,{f:()=>i});var n=r(64419),i=function(){function t(){}return t.prototype.shouldSample=function(){return{decision:n.i.RECORD_AND_SAMPLED}},t.prototype.toString=function(){return"AlwaysOnSampler"},t}()},81679(t,e,r){"use strict";r.d(e,{e:()=>c});var n=r(67722),i=r(74624),o=r(63837),s=r(76446),a=r(11060),u=r(86192),c=function(){function t(t){var e,r,n,i;this._root=t.root,this._root||((0,s.s)(new Error("ParentBasedSampler must have a root sampler configured")),this._root=new u.f),this._remoteParentSampled=null!==(e=t.remoteParentSampled)&&void 0!==e?e:new u.f,this._remoteParentNotSampled=null!==(r=t.remoteParentNotSampled)&&void 0!==r?r:new a.t,this._localParentSampled=null!==(n=t.localParentSampled)&&void 0!==n?n:new u.f,this._localParentNotSampled=null!==(i=t.localParentNotSampled)&&void 0!==i?i:new a.t}return t.prototype.shouldSample=function(t,e,r,s,a,u){var c=o.u.getSpanContext(t);return c&&(0,i.YA)(c)?c.isRemote?c.traceFlags&n.X.SAMPLED?this._remoteParentSampled.shouldSample(t,e,r,s,a,u):this._remoteParentNotSampled.shouldSample(t,e,r,s,a,u):c.traceFlags&n.X.SAMPLED?this._localParentSampled.shouldSample(t,e,r,s,a,u):this._localParentNotSampled.shouldSample(t,e,r,s,a,u):this._root.shouldSample(t,e,r,s,a,u)},t.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()+"}"},t}()},15344(t,e,r){"use strict";r.d(e,{h:()=>o});var n=r(74624),i=r(64419),o=function(){function t(t){void 0===t&&(t=0),this._ratio=t,this._ratio=this._normalize(t),this._upperBound=Math.floor(4294967295*this._ratio)}return t.prototype.shouldSample=function(t,e){return{decision:(0,n.hX)(e)&&this._accumulate(e)<this._upperBound?i.i.RECORD_AND_SAMPLED:i.i.NOT_RECORD}},t.prototype.toString=function(){return"TraceIdRatioBased{"+this._ratio+"}"},t.prototype._normalize=function(t){return"number"!=typeof t||isNaN(t)?0:t>=1?1:t<=0?0:t},t.prototype._accumulate=function(t){for(var e=0,r=0;r<t.length/8;r++){var n=8*r;e=(e^parseInt(t.slice(n,n+8),16))>>>0}return e},t}()},84891(t,e,r){"use strict";r.d(e,{R:()=>s,W:()=>a});var n=r(12381),i=r(21347),o=r(25146);function s(t){var e={sampler:(0,n.m)()},r=(0,n.S)(),i=Object.assign({},r,e,t);return i.generalLimits=Object.assign({},r.generalLimits,t.generalLimits||{}),i.spanLimits=Object.assign({},r.spanLimits,t.spanLimits||{}),i}function a(t){var e,r,n,s,a,u,c,l,d,p,h,f,g=Object.assign({},t.spanLimits),E=(0,i.w)();return g.attributeCountLimit=null!==(u=null!==(a=null!==(s=null!==(r=null===(e=t.spanLimits)||void 0===e?void 0:e.attributeCountLimit)&&void 0!==r?r:null===(n=t.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!==u?u:o.fv,g.attributeValueLengthLimit=null!==(f=null!==(h=null!==(p=null!==(l=null===(c=t.spanLimits)||void 0===c?void 0:c.attributeValueLengthLimit)&&void 0!==l?l:null===(d=t.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({},t,{spanLimits:g})}},61958(t,e,r){"use strict";var n;r.d(e,{D:()=>n}),function(t){t.CONNECT_END="connectEnd",t.CONNECT_START="connectStart",t.DECODED_BODY_SIZE="decodedBodySize",t.DOM_COMPLETE="domComplete",t.DOM_CONTENT_LOADED_EVENT_END="domContentLoadedEventEnd",t.DOM_CONTENT_LOADED_EVENT_START="domContentLoadedEventStart",t.DOM_INTERACTIVE="domInteractive",t.DOMAIN_LOOKUP_END="domainLookupEnd",t.DOMAIN_LOOKUP_START="domainLookupStart",t.ENCODED_BODY_SIZE="encodedBodySize",t.FETCH_START="fetchStart",t.LOAD_EVENT_END="loadEventEnd",t.LOAD_EVENT_START="loadEventStart",t.NAVIGATION_START="navigationStart",t.REDIRECT_END="redirectEnd",t.REDIRECT_START="redirectStart",t.REQUEST_START="requestStart",t.RESPONSE_END="responseEnd",t.RESPONSE_START="responseStart",t.SECURE_CONNECTION_START="secureConnectionStart",t.UNLOAD_EVENT_END="unloadEventEnd",t.UNLOAD_EVENT_START="unloadEventStart"}(n||(n={}))},91396(t,e,r){"use strict";r.d(e,{Dl:()=>h,hZ:()=>p,v4:()=>l,wF:()=>f});var n,i=r(61958),o=r(15776),s=r(5124),a=r(18859);function u(t,e){return e in t}function c(t,e,r,n){var o=void 0,s=void 0;u(r,e)&&"number"==typeof r[e]&&(o=r[e]);var a=n||i.D.FETCH_START;if(u(r,a)&&"number"==typeof r[a]&&(s=r[a]),void 0!==o&&void 0!==s&&o>=s)return t.addEvent(e,o),t}function l(t,e){c(t,i.D.FETCH_START,e),c(t,i.D.DOMAIN_LOOKUP_START,e),c(t,i.D.DOMAIN_LOOKUP_END,e),c(t,i.D.CONNECT_START,e),u(e,"name")&&e.name.startsWith("https:")&&c(t,i.D.SECURE_CONNECTION_START,e),c(t,i.D.CONNECT_END,e),c(t,i.D.REQUEST_START,e),c(t,i.D.RESPONSE_START,e),c(t,i.D.RESPONSE_END,e);var r=e[i.D.ENCODED_BODY_SIZE];void 0!==r&&t.setAttribute(a.crS,r);var n=e[i.D.DECODED_BODY_SIZE];void 0!==n&&r!==n&&t.setAttribute(a.XyR,n)}function d(){return"undefined"!=typeof location?location.origin:void 0}function p(t,e,r,n,s,a){void 0===s&&(s=new WeakSet);var u=h(t),c=function(t,e,r,n,s,a){var u=(0,o.u5)(e),c=(0,o.u5)(r),l=n.filter(function(e){var r=(0,o.u5)((0,o.KJ)(e[i.D.FETCH_START])),n=(0,o.u5)((0,o.KJ)(e[i.D.RESPONSE_END]));return e.initiatorType.toLowerCase()===(a||"xmlhttprequest")&&e.name===t&&r>=u&&n<=c});return l.length>0&&(l=l.filter(function(t){return!s.has(t)})),l}(t=u.toString(),e,r,n,s,a);if(0===c.length)return{mainRequest:void 0};if(1===c.length)return{mainRequest:c[0]};var l=function(t){return t.slice().sort(function(t,e){var r=t[i.D.FETCH_START],n=e[i.D.FETCH_START];return r>n?1:r<n?-1:0})}(c);if(u.origin!==d()&&l.length>1){var p=l[0],f=function(t,e,r){for(var n,s=(0,o.u5)(r),a=(0,o.u5)((0,o.KJ)(e)),u=t[1],c=t.length,l=1;l<c;l++){var d=t[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,u=d)}return u}(l,p[i.D.RESPONSE_END],r),g=p[i.D.RESPONSE_END];return f[i.D.FETCH_START]<g&&(f=p,p=void 0),{corsPreFlightRequest:p,mainRequest:f}}return{mainRequest:c[0]}}function h(t){if("function"==typeof URL)return new URL(t,"undefined"!=typeof document?document.baseURI:"undefined"!=typeof location?location.href:void 0);var e=(n||(n=document.createElement("a")),n);return e.href=t,e}function f(t,e){var r=e||[];return("string"==typeof r||r instanceof RegExp)&&(r=[r]),h(t).origin===d()||r.some(function(e){return(0,s.f)(t,e)})}},41584(t,e,r){"use strict";var n;r.d(e,{D:()=>n}),function(t){t.CONNECT_END="connectEnd",t.CONNECT_START="connectStart",t.DECODED_BODY_SIZE="decodedBodySize",t.DOM_COMPLETE="domComplete",t.DOM_CONTENT_LOADED_EVENT_END="domContentLoadedEventEnd",t.DOM_CONTENT_LOADED_EVENT_START="domContentLoadedEventStart",t.DOM_INTERACTIVE="domInteractive",t.DOMAIN_LOOKUP_END="domainLookupEnd",t.DOMAIN_LOOKUP_START="domainLookupStart",t.ENCODED_BODY_SIZE="encodedBodySize",t.FETCH_START="fetchStart",t.LOAD_EVENT_END="loadEventEnd",t.LOAD_EVENT_START="loadEventStart",t.NAVIGATION_START="navigationStart",t.REDIRECT_END="redirectEnd",t.REDIRECT_START="redirectStart",t.REQUEST_START="requestStart",t.RESPONSE_END="responseEnd",t.RESPONSE_START="responseStart",t.SECURE_CONNECTION_START="secureConnectionStart",t.UNLOAD_EVENT_END="unloadEventEnd",t.UNLOAD_EVENT_START="unloadEventStart"}(n||(n={}))},56490(t,e,r){"use strict";r.r(e),r.d(e,{AlwaysOffSampler:()=>d.t,AlwaysOnSampler:()=>p.f,BasicTracerProvider:()=>i.l,BatchSpanProcessor:()=>h.J,ConsoleSpanExporter:()=>f.V,ForceFlushState:()=>i.d,InMemorySpanExporter:()=>g.O,NoopSpanProcessor:()=>E.N,ParentBasedSampler:()=>_.e,PerformanceTimingNames:()=>c.D,RandomIdGenerator:()=>m.s,SamplingDecision:()=>v.i,SimpleSpanProcessor:()=>T.t,Span:()=>S.L,StackContextManager:()=>s,TraceIdRatioBasedSampler:()=>y.h,Tracer:()=>b.s,WebTracerProvider:()=>u,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(79514),o=r(45350),s=function(){function t(){this._enabled=!1,this._currentContext=o.l}return t.prototype._bindFunction=function(t,e){void 0===t&&(t=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(t,function(){return e.apply(n,i)})};return Object.defineProperty(n,"length",{enumerable:!1,configurable:!0,writable:!1,value:e.length}),n},t.prototype.active=function(){return this._currentContext},t.prototype.bind=function(t,e){return void 0===t&&(t=this.active()),"function"==typeof e?this._bindFunction(t,e):e},t.prototype.disable=function(){return this._currentContext=o.l,this._enabled=!1,this},t.prototype.enable=function(){return this._enabled||(this._enabled=!0,this._currentContext=o.l),this},t.prototype.with=function(t,e,r){for(var n=[],i=3;i<arguments.length;i++)n[i-3]=arguments[i];var s=this._currentContext;this._currentContext=t||o.l;try{return e.call.apply(e,function(t,e,r){if(r||2===arguments.length)for(var n,i=0,o=e.length;i<o;i++)!n&&i in e||(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}([r],function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,o=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){i={error:t}}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}},t}(),a=(n=function(t,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},n(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}),u=function(t){function e(e){void 0===e&&(e={});var r=t.call(this,e)||this;if(e.contextManager)throw"contextManager should be defined in register method not in constructor";if(e.propagator)throw"propagator should be defined in register method not in constructor";return r}return a(e,t),e.prototype.register=function(e){void 0===e&&(e={}),void 0===e.contextManager&&(e.contextManager=new s),e.contextManager&&e.contextManager.enable(),t.prototype.register.call(this,e)},e}(i.l),c=r(41584),l=r(35274),d=r(11060),p=r(86192),h=r(40802),f=r(28878),g=r(80893),E=r(2890),_=r(81679),m=r(94987),v=r(64419),T=r(66736),S=r(11551),y=r(15344),b=r(50318)},35274(t,e,r){"use strict";r.d(e,{CJ:()=>u,CL:()=>c,Dl:()=>f,Qd:()=>E,hZ:()=>h,l2:()=>g,ql:()=>d,v4:()=>l,wF:()=>_});var n,i=r(41584),o=r(88958),s=r(53074),a=r(12709);function u(t,e){return e in t}function c(t,e,r,n){var o=void 0,s=void 0;u(r,e)&&"number"==typeof r[e]&&(o=r[e]);var a=n||i.D.FETCH_START;if(u(r,a)&&"number"==typeof r[a]&&(s=r[a]),void 0!==o&&void 0!==s&&o>=s)return t.addEvent(e,o),t}function l(t,e,r){void 0===r&&(r=!1),r||(c(t,i.D.FETCH_START,e),c(t,i.D.DOMAIN_LOOKUP_START,e),c(t,i.D.DOMAIN_LOOKUP_END,e),c(t,i.D.CONNECT_START,e),u(e,"name")&&e.name.startsWith("https:")&&c(t,i.D.SECURE_CONNECTION_START,e),c(t,i.D.CONNECT_END,e),c(t,i.D.REQUEST_START,e),c(t,i.D.RESPONSE_START,e),c(t,i.D.RESPONSE_END,e));var n=e[i.D.ENCODED_BODY_SIZE];void 0!==n&&t.setAttribute(a.crS,n);var o=e[i.D.DECODED_BODY_SIZE];void 0!==o&&n!==o&&t.setAttribute(a.XyR,o)}function d(t){return t.slice().sort(function(t,e){var r=t[i.D.FETCH_START],n=e[i.D.FETCH_START];return r>n?1:r<n?-1:0})}function p(){return"undefined"!=typeof location?location.origin:void 0}function h(t,e,r,n,s,a){void 0===s&&(s=new WeakSet);var u=f(t),c=function(t,e,r,n,s,a){var u=(0,o.u5)(e),c=(0,o.u5)(r),l=n.filter(function(e){var r=(0,o.u5)((0,o.KJ)(e[i.D.FETCH_START])),n=(0,o.u5)((0,o.KJ)(e[i.D.RESPONSE_END]));return e.initiatorType.toLowerCase()===(a||"xmlhttprequest")&&e.name===t&&r>=u&&n<=c});return l.length>0&&(l=l.filter(function(t){return!s.has(t)})),l}(t=u.toString(),e,r,n,s,a);if(0===c.length)return{mainRequest:void 0};if(1===c.length)return{mainRequest:c[0]};var l=d(c);if(u.origin!==p()&&l.length>1){var h=l[0],g=function(t,e,r){for(var n,s=(0,o.u5)(r),a=(0,o.u5)((0,o.KJ)(e)),u=t[1],c=t.length,l=1;l<c;l++){var d=t[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,u=d)}return u}(l,h[i.D.RESPONSE_END],r),E=h[i.D.RESPONSE_END];return g[i.D.FETCH_START]<E&&(g=h,h=void 0),{corsPreFlightRequest:h,mainRequest:g}}return{mainRequest:c[0]}}function f(t){if("function"==typeof URL)return new URL(t,"undefined"!=typeof document?document.baseURI:"undefined"!=typeof location?location.href:void 0);var e=(n||(n=document.createElement("a")),n);return e.href=t,e}function g(t){return f(t).href}function E(t,e){if(t.nodeType===Node.DOCUMENT_NODE)return"/";var r=function(t,e){var r=t.nodeType,n=function(t){if(!t.parentNode)return 0;var e=[t.nodeType];t.nodeType===Node.CDATA_SECTION_NODE&&e.push(Node.TEXT_NODE);var r=Array.from(t.parentNode.childNodes);return r=r.filter(function(r){var n=r.localName;return e.indexOf(r.nodeType)>=0&&n===t.localName}),r.length>=1?r.indexOf(t)+1:0}(t),i="";if(r===Node.ELEMENT_NODE){var o=t.getAttribute("id");if(e&&o)return'//*[@id="'+o+'"]';i=t.localName}else if(r===Node.TEXT_NODE||r===Node.CDATA_SECTION_NODE)i="text()";else{if(r!==Node.COMMENT_NODE)return"";i="comment()"}return i&&n>1?"/"+i+"["+n+"]":"/"+i}(t,e);if(e&&r.indexOf("@id")>0)return r;var n="";return t.parentNode&&(n+=E(t.parentNode,!1)),n+r}function _(t,e){var r=e||[];return("string"==typeof r||r instanceof RegExp)&&(r=[r]),f(t).origin===p()||r.some(function(e){return(0,s.f)(t,e)})}},18859(t,e,r){"use strict";r.d(e,{Qv9:()=>o,vof:()=>n,crS:()=>c,XyR:()=>l,zPu:()=>s,W_O:()=>a,vSt:()=>i,Nz$:()=>u});var n="http.method",i="http.url",o="http.host",s="http.scheme",a="http.status_code",u="http.user_agent",c="http.response_content_length",l="http.response_content_length_uncompressed"},60685(t,e,r){"use strict";function n(t){for(var e={},r=t.length,n=0;n<r;n++){var i=t[n];i&&(e[String(i).toUpperCase().replace(/[-.]/g,"_")]=i)}return e}r.d(e,{O:()=>n})},76036(t,e,r){"use strict";r.d(e,{$L:()=>a,AV:()=>s,C3:()=>o,Pl:()=>u,cV:()=>i,lb:()=>n,uh:()=>l,y$:()=>c}),r(60685);var n="process.runtime.name",i="process.runtime.version",o="process.runtime.description",s="service.name",a="telemetry.sdk.name",u="telemetry.sdk.language",c="telemetry.sdk.version",l="webjs"},12709(t,e,r){"use strict";r.d(e,{P4J:()=>n,XyR:()=>a,aP6:()=>i,crS:()=>s,ipG:()=>o}),r(60685);var n="exception.type",i="exception.message",o="exception.stacktrace",s="http.response_content_length",a="http.response_content_length_uncompressed"},6850(t,e,r){"use strict";function n(t){let e={};const r=t.length;for(let n=0;n<r;n++){const r=t[n];r&&(e[String(r).toUpperCase().replace(/[-.]/g,"_")]=r)}return e}r.r(e),r.d(e,{ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_ABORTED:()=>hh,ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_HANDLED:()=>fh,ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_SKIPPED:()=>gh,ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT_VALUE_UNHANDLED:()=>Eh,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ACQUIRED:()=>Th,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_ENDPOINT_LIMITER:()=>Sh,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_GLOBAL_LIMITER:()=>yh,ASPNETCORE_RATE_LIMITING_RESULT_VALUE_REQUEST_CANCELED:()=>bh,ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_FAILURE:()=>wh,ASPNETCORE_ROUTING_MATCH_STATUS_VALUE_SUCCESS:()=>Lh,ATTR_ASPNETCORE_DIAGNOSTICS_EXCEPTION_RESULT:()=>ph,ATTR_ASPNETCORE_DIAGNOSTICS_HANDLER_TYPE:()=>_h,ATTR_ASPNETCORE_RATE_LIMITING_POLICY:()=>mh,ATTR_ASPNETCORE_RATE_LIMITING_RESULT:()=>vh,ATTR_ASPNETCORE_REQUEST_IS_UNHANDLED:()=>Oh,ATTR_ASPNETCORE_ROUTING_IS_FALLBACK:()=>Ah,ATTR_ASPNETCORE_ROUTING_MATCH_STATUS:()=>Rh,ATTR_ASPNETCORE_USER_IS_AUTHENTICATED:()=>Ch,ATTR_CLIENT_ADDRESS:()=>Ph,ATTR_CLIENT_PORT:()=>Nh,ATTR_CODE_COLUMN_NUMBER:()=>Mh,ATTR_CODE_FILE_PATH:()=>Ih,ATTR_CODE_FUNCTION_NAME:()=>Dh,ATTR_CODE_LINE_NUMBER:()=>xh,ATTR_CODE_STACKTRACE:()=>Uh,ATTR_DB_COLLECTION_NAME:()=>kh,ATTR_DB_NAMESPACE:()=>jh,ATTR_DB_OPERATION_BATCH_SIZE:()=>Bh,ATTR_DB_OPERATION_NAME:()=>Vh,ATTR_DB_QUERY_SUMMARY:()=>Gh,ATTR_DB_QUERY_TEXT:()=>Fh,ATTR_DB_RESPONSE_STATUS_CODE:()=>Hh,ATTR_DB_STORED_PROCEDURE_NAME:()=>Wh,ATTR_DB_SYSTEM_NAME:()=>Yh,ATTR_DOTNET_GC_HEAP_GENERATION:()=>$h,ATTR_ERROR_TYPE:()=>rf,ATTR_EXCEPTION_ESCAPED:()=>of,ATTR_EXCEPTION_MESSAGE:()=>sf,ATTR_EXCEPTION_STACKTRACE:()=>af,ATTR_EXCEPTION_TYPE:()=>uf,ATTR_HTTP_REQUEST_HEADER:()=>cf,ATTR_HTTP_REQUEST_METHOD:()=>lf,ATTR_HTTP_REQUEST_METHOD_ORIGINAL:()=>Sf,ATTR_HTTP_REQUEST_RESEND_COUNT:()=>yf,ATTR_HTTP_RESPONSE_HEADER:()=>bf,ATTR_HTTP_RESPONSE_STATUS_CODE:()=>Of,ATTR_HTTP_ROUTE:()=>Af,ATTR_JVM_GC_ACTION:()=>Rf,ATTR_JVM_GC_NAME:()=>wf,ATTR_JVM_MEMORY_POOL_NAME:()=>Lf,ATTR_JVM_MEMORY_TYPE:()=>Cf,ATTR_JVM_THREAD_DAEMON:()=>Mf,ATTR_JVM_THREAD_STATE:()=>If,ATTR_NETWORK_LOCAL_ADDRESS:()=>Vf,ATTR_NETWORK_LOCAL_PORT:()=>Gf,ATTR_NETWORK_PEER_ADDRESS:()=>Ff,ATTR_NETWORK_PEER_PORT:()=>Hf,ATTR_NETWORK_PROTOCOL_NAME:()=>Wf,ATTR_NETWORK_PROTOCOL_VERSION:()=>Yf,ATTR_NETWORK_TRANSPORT:()=>Xf,ATTR_NETWORK_TYPE:()=>Zf,ATTR_OTEL_SCOPE_NAME:()=>eg,ATTR_OTEL_SCOPE_VERSION:()=>rg,ATTR_OTEL_STATUS_CODE:()=>ng,ATTR_OTEL_STATUS_DESCRIPTION:()=>sg,ATTR_SERVER_ADDRESS:()=>ag,ATTR_SERVER_PORT:()=>ug,ATTR_SERVICE_NAME:()=>cg,ATTR_SERVICE_VERSION:()=>lg,ATTR_SIGNALR_CONNECTION_STATUS:()=>dg,ATTR_SIGNALR_TRANSPORT:()=>gg,ATTR_TELEMETRY_SDK_LANGUAGE:()=>vg,ATTR_TELEMETRY_SDK_NAME:()=>Mg,ATTR_TELEMETRY_SDK_VERSION:()=>Ig,ATTR_URL_FRAGMENT:()=>Dg,ATTR_URL_FULL:()=>xg,ATTR_URL_PATH:()=>Ug,ATTR_URL_QUERY:()=>kg,ATTR_URL_SCHEME:()=>jg,ATTR_USER_AGENT_ORIGINAL:()=>Bg,AWSECSLAUNCHTYPEVALUES_EC2:()=>cp,AWSECSLAUNCHTYPEVALUES_FARGATE:()=>lp,AwsEcsLaunchtypeValues:()=>dp,CLOUDPLATFORMVALUES_ALIBABA_CLOUD_ECS:()=>Wd,CLOUDPLATFORMVALUES_ALIBABA_CLOUD_FC:()=>Yd,CLOUDPLATFORMVALUES_AWS_EC2:()=>Xd,CLOUDPLATFORMVALUES_AWS_ECS:()=>qd,CLOUDPLATFORMVALUES_AWS_EKS:()=>zd,CLOUDPLATFORMVALUES_AWS_ELASTIC_BEANSTALK:()=>$d,CLOUDPLATFORMVALUES_AWS_LAMBDA:()=>Kd,CLOUDPLATFORMVALUES_AZURE_AKS:()=>Qd,CLOUDPLATFORMVALUES_AZURE_APP_SERVICE:()=>ep,CLOUDPLATFORMVALUES_AZURE_CONTAINER_INSTANCES:()=>Zd,CLOUDPLATFORMVALUES_AZURE_FUNCTIONS:()=>tp,CLOUDPLATFORMVALUES_AZURE_VM:()=>Jd,CLOUDPLATFORMVALUES_GCP_APP_ENGINE:()=>sp,CLOUDPLATFORMVALUES_GCP_CLOUD_FUNCTIONS:()=>op,CLOUDPLATFORMVALUES_GCP_CLOUD_RUN:()=>np,CLOUDPLATFORMVALUES_GCP_COMPUTE_ENGINE:()=>rp,CLOUDPLATFORMVALUES_GCP_KUBERNETES_ENGINE:()=>ip,CLOUDPROVIDERVALUES_ALIBABA_CLOUD:()=>yd,CLOUDPROVIDERVALUES_AWS:()=>bd,CLOUDPROVIDERVALUES_AZURE:()=>Od,CLOUDPROVIDERVALUES_GCP:()=>Ad,CloudPlatformValues:()=>ap,CloudProviderValues:()=>Rd,DBCASSANDRACONSISTENCYLEVELVALUES_ALL:()=>jo,DBCASSANDRACONSISTENCYLEVELVALUES_ANY:()=>Xo,DBCASSANDRACONSISTENCYLEVELVALUES_EACH_QUORUM:()=>Bo,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_ONE:()=>Yo,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_QUORUM:()=>Go,DBCASSANDRACONSISTENCYLEVELVALUES_LOCAL_SERIAL:()=>zo,DBCASSANDRACONSISTENCYLEVELVALUES_ONE:()=>Fo,DBCASSANDRACONSISTENCYLEVELVALUES_QUORUM:()=>Vo,DBCASSANDRACONSISTENCYLEVELVALUES_SERIAL:()=>qo,DBCASSANDRACONSISTENCYLEVELVALUES_THREE:()=>Wo,DBCASSANDRACONSISTENCYLEVELVALUES_TWO:()=>Ho,DBSYSTEMVALUES_ADABAS:()=>Qi,DBSYSTEMVALUES_CACHE:()=>Zi,DBSYSTEMVALUES_CASSANDRA:()=>_o,DBSYSTEMVALUES_CLOUDSCAPE:()=>Wi,DBSYSTEMVALUES_COCKROACHDB:()=>Co,DBSYSTEMVALUES_COLDFUSION:()=>Eo,DBSYSTEMVALUES_COSMOSDB:()=>bo,DBSYSTEMVALUES_COUCHBASE:()=>So,DBSYSTEMVALUES_COUCHDB:()=>yo,DBSYSTEMVALUES_DB2:()=>Vi,DBSYSTEMVALUES_DERBY:()=>eo,DBSYSTEMVALUES_DYNAMODB:()=>Oo,DBSYSTEMVALUES_EDB:()=>Ji,DBSYSTEMVALUES_ELASTICSEARCH:()=>wo,DBSYSTEMVALUES_FILEMAKER:()=>ro,DBSYSTEMVALUES_FIREBIRD:()=>to,DBSYSTEMVALUES_FIRSTSQL:()=>$i,DBSYSTEMVALUES_GEODE:()=>Ro,DBSYSTEMVALUES_H2:()=>go,DBSYSTEMVALUES_HANADB:()=>zi,DBSYSTEMVALUES_HBASE:()=>mo,DBSYSTEMVALUES_HIVE:()=>Hi,DBSYSTEMVALUES_HSQLDB:()=>Yi,DBSYSTEMVALUES_INFORMIX:()=>no,DBSYSTEMVALUES_INGRES:()=>Ki,DBSYSTEMVALUES_INSTANTDB:()=>io,DBSYSTEMVALUES_INTERBASE:()=>oo,DBSYSTEMVALUES_MARIADB:()=>so,DBSYSTEMVALUES_MAXDB:()=>qi,DBSYSTEMVALUES_MEMCACHED:()=>Lo,DBSYSTEMVALUES_MONGODB:()=>vo,DBSYSTEMVALUES_MSSQL:()=>ki,DBSYSTEMVALUES_MYSQL:()=>ji,DBSYSTEMVALUES_NEO4J:()=>Ao,DBSYSTEMVALUES_NETEZZA:()=>ao,DBSYSTEMVALUES_ORACLE:()=>Bi,DBSYSTEMVALUES_OTHER_SQL:()=>Ui,DBSYSTEMVALUES_PERVASIVE:()=>uo,DBSYSTEMVALUES_POINTBASE:()=>co,DBSYSTEMVALUES_POSTGRESQL:()=>Gi,DBSYSTEMVALUES_PROGRESS:()=>Xi,DBSYSTEMVALUES_REDIS:()=>To,DBSYSTEMVALUES_REDSHIFT:()=>Fi,DBSYSTEMVALUES_SQLITE:()=>lo,DBSYSTEMVALUES_SYBASE:()=>po,DBSYSTEMVALUES_TERADATA:()=>ho,DBSYSTEMVALUES_VERTICA:()=>fo,DB_SYSTEM_NAME_VALUE_MARIADB:()=>Xh,DB_SYSTEM_NAME_VALUE_MICROSOFT_SQL_SERVER:()=>qh,DB_SYSTEM_NAME_VALUE_MYSQL:()=>zh,DB_SYSTEM_NAME_VALUE_POSTGRESQL:()=>Kh,DOTNET_GC_HEAP_GENERATION_VALUE_GEN0:()=>Jh,DOTNET_GC_HEAP_GENERATION_VALUE_GEN1:()=>Zh,DOTNET_GC_HEAP_GENERATION_VALUE_GEN2:()=>Qh,DOTNET_GC_HEAP_GENERATION_VALUE_LOH:()=>tf,DOTNET_GC_HEAP_GENERATION_VALUE_POH:()=>ef,DbCassandraConsistencyLevelValues:()=>Ko,DbSystemValues:()=>Po,ERROR_TYPE_VALUE_OTHER:()=>nf,EVENT_EXCEPTION:()=>kE,FAASDOCUMENTOPERATIONVALUES_DELETE:()=>ps,FAASDOCUMENTOPERATIONVALUES_EDIT:()=>ds,FAASDOCUMENTOPERATIONVALUES_INSERT:()=>ls,FAASINVOKEDPROVIDERVALUES_ALIBABA_CLOUD:()=>Es,FAASINVOKEDPROVIDERVALUES_AWS:()=>_s,FAASINVOKEDPROVIDERVALUES_AZURE:()=>ms,FAASINVOKEDPROVIDERVALUES_GCP:()=>vs,FAASTRIGGERVALUES_DATASOURCE:()=>es,FAASTRIGGERVALUES_HTTP:()=>rs,FAASTRIGGERVALUES_OTHER:()=>os,FAASTRIGGERVALUES_PUBSUB:()=>ns,FAASTRIGGERVALUES_TIMER:()=>is,FaasDocumentOperationValues:()=>hs,FaasInvokedProviderValues:()=>Ts,FaasTriggerValues:()=>ss,HOSTARCHVALUES_AMD64:()=>mp,HOSTARCHVALUES_ARM32:()=>vp,HOSTARCHVALUES_ARM64:()=>Tp,HOSTARCHVALUES_IA64:()=>Sp,HOSTARCHVALUES_PPC32:()=>yp,HOSTARCHVALUES_PPC64:()=>bp,HOSTARCHVALUES_X86:()=>Op,HTTPFLAVORVALUES_HTTP_1_0:()=>Da,HTTPFLAVORVALUES_HTTP_1_1:()=>xa,HTTPFLAVORVALUES_HTTP_2_0:()=>Ua,HTTPFLAVORVALUES_QUIC:()=>ja,HTTPFLAVORVALUES_SPDY:()=>ka,HTTP_REQUEST_METHOD_VALUE_CONNECT:()=>pf,HTTP_REQUEST_METHOD_VALUE_DELETE:()=>hf,HTTP_REQUEST_METHOD_VALUE_GET:()=>ff,HTTP_REQUEST_METHOD_VALUE_HEAD:()=>gf,HTTP_REQUEST_METHOD_VALUE_OPTIONS:()=>Ef,HTTP_REQUEST_METHOD_VALUE_OTHER:()=>df,HTTP_REQUEST_METHOD_VALUE_PATCH:()=>_f,HTTP_REQUEST_METHOD_VALUE_POST:()=>mf,HTTP_REQUEST_METHOD_VALUE_PUT:()=>vf,HTTP_REQUEST_METHOD_VALUE_TRACE:()=>Tf,HostArchValues:()=>Ap,HttpFlavorValues:()=>Ba,JVM_MEMORY_TYPE_VALUE_HEAP:()=>Pf,JVM_MEMORY_TYPE_VALUE_NON_HEAP:()=>Nf,JVM_THREAD_STATE_VALUE_BLOCKED:()=>Df,JVM_THREAD_STATE_VALUE_NEW:()=>xf,JVM_THREAD_STATE_VALUE_RUNNABLE:()=>Uf,JVM_THREAD_STATE_VALUE_TERMINATED:()=>kf,JVM_THREAD_STATE_VALUE_TIMED_WAITING:()=>jf,JVM_THREAD_STATE_VALUE_WAITING:()=>Bf,MESSAGETYPEVALUES_RECEIVED:()=>_u,MESSAGETYPEVALUES_SENT:()=>Eu,MESSAGINGDESTINATIONKINDVALUES_QUEUE:()=>Fa,MESSAGINGDESTINATIONKINDVALUES_TOPIC:()=>Ha,MESSAGINGOPERATIONVALUES_PROCESS:()=>za,MESSAGINGOPERATIONVALUES_RECEIVE:()=>qa,METRIC_ASPNETCORE_DIAGNOSTICS_EXCEPTIONS:()=>Vg,METRIC_ASPNETCORE_RATE_LIMITING_ACTIVE_REQUEST_LEASES:()=>Gg,METRIC_ASPNETCORE_RATE_LIMITING_QUEUED_REQUESTS:()=>Fg,METRIC_ASPNETCORE_RATE_LIMITING_REQUESTS:()=>Yg,METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_LEASE_DURATION:()=>Wg,METRIC_ASPNETCORE_RATE_LIMITING_REQUEST_TIME_IN_QUEUE:()=>Hg,METRIC_ASPNETCORE_ROUTING_MATCH_ATTEMPTS:()=>Xg,METRIC_DB_CLIENT_OPERATION_DURATION:()=>qg,METRIC_DOTNET_ASSEMBLY_COUNT:()=>zg,METRIC_DOTNET_EXCEPTIONS:()=>Kg,METRIC_DOTNET_GC_COLLECTIONS:()=>$g,METRIC_DOTNET_GC_HEAP_TOTAL_ALLOCATED:()=>Jg,METRIC_DOTNET_GC_LAST_COLLECTION_HEAP_FRAGMENTATION_SIZE:()=>Zg,METRIC_DOTNET_GC_LAST_COLLECTION_HEAP_SIZE:()=>Qg,METRIC_DOTNET_GC_LAST_COLLECTION_MEMORY_COMMITTED_SIZE:()=>tE,METRIC_DOTNET_GC_PAUSE_TIME:()=>eE,METRIC_DOTNET_JIT_COMPILATION_TIME:()=>rE,METRIC_DOTNET_JIT_COMPILED_IL_SIZE:()=>nE,METRIC_DOTNET_JIT_COMPILED_METHODS:()=>iE,METRIC_DOTNET_MONITOR_LOCK_CONTENTIONS:()=>oE,METRIC_DOTNET_PROCESS_CPU_COUNT:()=>sE,METRIC_DOTNET_PROCESS_CPU_TIME:()=>aE,METRIC_DOTNET_PROCESS_MEMORY_WORKING_SET:()=>uE,METRIC_DOTNET_THREAD_POOL_QUEUE_LENGTH:()=>cE,METRIC_DOTNET_THREAD_POOL_THREAD_COUNT:()=>lE,METRIC_DOTNET_THREAD_POOL_WORK_ITEM_COUNT:()=>dE,METRIC_DOTNET_TIMER_COUNT:()=>pE,METRIC_HTTP_CLIENT_REQUEST_DURATION:()=>hE,METRIC_HTTP_SERVER_REQUEST_DURATION:()=>fE,METRIC_JVM_CLASS_COUNT:()=>gE,METRIC_JVM_CLASS_LOADED:()=>EE,METRIC_JVM_CLASS_UNLOADED:()=>_E,METRIC_JVM_CPU_COUNT:()=>mE,METRIC_JVM_CPU_RECENT_UTILIZATION:()=>vE,METRIC_JVM_CPU_TIME:()=>TE,METRIC_JVM_GC_DURATION:()=>SE,METRIC_JVM_MEMORY_COMMITTED:()=>yE,METRIC_JVM_MEMORY_LIMIT:()=>bE,METRIC_JVM_MEMORY_USED:()=>OE,METRIC_JVM_MEMORY_USED_AFTER_LAST_GC:()=>AE,METRIC_JVM_THREAD_COUNT:()=>RE,METRIC_KESTREL_ACTIVE_CONNECTIONS:()=>wE,METRIC_KESTREL_ACTIVE_TLS_HANDSHAKES:()=>LE,METRIC_KESTREL_CONNECTION_DURATION:()=>CE,METRIC_KESTREL_QUEUED_CONNECTIONS:()=>PE,METRIC_KESTREL_QUEUED_REQUESTS:()=>NE,METRIC_KESTREL_REJECTED_CONNECTIONS:()=>ME,METRIC_KESTREL_TLS_HANDSHAKE_DURATION:()=>IE,METRIC_KESTREL_UPGRADED_CONNECTIONS:()=>DE,METRIC_SIGNALR_SERVER_ACTIVE_CONNECTIONS:()=>xE,METRIC_SIGNALR_SERVER_CONNECTION_DURATION:()=>UE,MessageTypeValues:()=>mu,MessagingDestinationKindValues:()=>Wa,MessagingOperationValues:()=>Ka,NETHOSTCONNECTIONSUBTYPEVALUES_CDMA:()=>ha,NETHOSTCONNECTIONSUBTYPEVALUES_CDMA2000_1XRTT:()=>Ea,NETHOSTCONNECTIONSUBTYPEVALUES_EDGE:()=>da,NETHOSTCONNECTIONSUBTYPEVALUES_EHRPD:()=>ba,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_0:()=>fa,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_A:()=>ga,NETHOSTCONNECTIONSUBTYPEVALUES_EVDO_B:()=>Sa,NETHOSTCONNECTIONSUBTYPEVALUES_GPRS:()=>la,NETHOSTCONNECTIONSUBTYPEVALUES_GSM:()=>Aa,NETHOSTCONNECTIONSUBTYPEVALUES_HSDPA:()=>_a,NETHOSTCONNECTIONSUBTYPEVALUES_HSPA:()=>va,NETHOSTCONNECTIONSUBTYPEVALUES_HSPAP:()=>Oa,NETHOSTCONNECTIONSUBTYPEVALUES_HSUPA:()=>ma,NETHOSTCONNECTIONSUBTYPEVALUES_IDEN:()=>Ta,NETHOSTCONNECTIONSUBTYPEVALUES_IWLAN:()=>wa,NETHOSTCONNECTIONSUBTYPEVALUES_LTE:()=>ya,NETHOSTCONNECTIONSUBTYPEVALUES_LTE_CA:()=>Pa,NETHOSTCONNECTIONSUBTYPEVALUES_NR:()=>La,NETHOSTCONNECTIONSUBTYPEVALUES_NRNSA:()=>Ca,NETHOSTCONNECTIONSUBTYPEVALUES_TD_SCDMA:()=>Ra,NETHOSTCONNECTIONSUBTYPEVALUES_UMTS:()=>pa,NETHOSTCONNECTIONTYPEVALUES_CELL:()=>Fs,NETHOSTCONNECTIONTYPEVALUES_UNAVAILABLE:()=>Hs,NETHOSTCONNECTIONTYPEVALUES_UNKNOWN:()=>Ws,NETHOSTCONNECTIONTYPEVALUES_WIFI:()=>Vs,NETHOSTCONNECTIONTYPEVALUES_WIRED:()=>Gs,NETTRANSPORTVALUES_INPROC:()=>Ms,NETTRANSPORTVALUES_IP:()=>Cs,NETTRANSPORTVALUES_IP_TCP:()=>ws,NETTRANSPORTVALUES_IP_UDP:()=>Ls,NETTRANSPORTVALUES_OTHER:()=>Is,NETTRANSPORTVALUES_PIPE:()=>Ns,NETTRANSPORTVALUES_UNIX:()=>Ps,NETWORK_TRANSPORT_VALUE_PIPE:()=>qf,NETWORK_TRANSPORT_VALUE_QUIC:()=>zf,NETWORK_TRANSPORT_VALUE_TCP:()=>Kf,NETWORK_TRANSPORT_VALUE_UDP:()=>$f,NETWORK_TRANSPORT_VALUE_UNIX:()=>Jf,NETWORK_TYPE_VALUE_IPV4:()=>Qf,NETWORK_TYPE_VALUE_IPV6:()=>tg,NetHostConnectionSubtypeValues:()=>Na,NetHostConnectionTypeValues:()=>Ys,NetTransportValues:()=>Ds,OSTYPEVALUES_AIX:()=>Wp,OSTYPEVALUES_DARWIN:()=>jp,OSTYPEVALUES_DRAGONFLYBSD:()=>Fp,OSTYPEVALUES_FREEBSD:()=>Bp,OSTYPEVALUES_HPUX:()=>Hp,OSTYPEVALUES_LINUX:()=>kp,OSTYPEVALUES_NETBSD:()=>Vp,OSTYPEVALUES_OPENBSD:()=>Gp,OSTYPEVALUES_SOLARIS:()=>Yp,OSTYPEVALUES_WINDOWS:()=>Up,OSTYPEVALUES_Z_OS:()=>Xp,OTEL_STATUS_CODE_VALUE_ERROR:()=>ig,OTEL_STATUS_CODE_VALUE_OK:()=>og,OsTypeValues:()=>qp,RPCGRPCSTATUSCODEVALUES_ABORTED:()=>su,RPCGRPCSTATUSCODEVALUES_ALREADY_EXISTS:()=>ru,RPCGRPCSTATUSCODEVALUES_CANCELLED:()=>Ja,RPCGRPCSTATUSCODEVALUES_DATA_LOSS:()=>du,RPCGRPCSTATUSCODEVALUES_DEADLINE_EXCEEDED:()=>tu,RPCGRPCSTATUSCODEVALUES_FAILED_PRECONDITION:()=>ou,RPCGRPCSTATUSCODEVALUES_INTERNAL:()=>cu,RPCGRPCSTATUSCODEVALUES_INVALID_ARGUMENT:()=>Qa,RPCGRPCSTATUSCODEVALUES_NOT_FOUND:()=>eu,RPCGRPCSTATUSCODEVALUES_OK:()=>$a,RPCGRPCSTATUSCODEVALUES_OUT_OF_RANGE:()=>au,RPCGRPCSTATUSCODEVALUES_PERMISSION_DENIED:()=>nu,RPCGRPCSTATUSCODEVALUES_RESOURCE_EXHAUSTED:()=>iu,RPCGRPCSTATUSCODEVALUES_UNAUTHENTICATED:()=>pu,RPCGRPCSTATUSCODEVALUES_UNAVAILABLE:()=>lu,RPCGRPCSTATUSCODEVALUES_UNIMPLEMENTED:()=>uu,RPCGRPCSTATUSCODEVALUES_UNKNOWN:()=>Za,RpcGrpcStatusCodeValues:()=>hu,SEMATTRS_AWS_DYNAMODB_ATTRIBUTES_TO_GET:()=>Qr,SEMATTRS_AWS_DYNAMODB_ATTRIBUTE_DEFINITIONS:()=>pn,SEMATTRS_AWS_DYNAMODB_CONSISTENT_READ:()=>$r,SEMATTRS_AWS_DYNAMODB_CONSUMED_CAPACITY:()=>Xr,SEMATTRS_AWS_DYNAMODB_COUNT:()=>ln,SEMATTRS_AWS_DYNAMODB_EXCLUSIVE_START_TABLE:()=>on,SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEXES:()=>rn,SEMATTRS_AWS_DYNAMODB_GLOBAL_SECONDARY_INDEX_UPDATES:()=>hn,SEMATTRS_AWS_DYNAMODB_INDEX_NAME:()=>tn,SEMATTRS_AWS_DYNAMODB_ITEM_COLLECTION_METRICS:()=>qr,SEMATTRS_AWS_DYNAMODB_LIMIT:()=>Zr,SEMATTRS_AWS_DYNAMODB_LOCAL_SECONDARY_INDEXES:()=>nn,SEMATTRS_AWS_DYNAMODB_PROJECTION:()=>Jr,SEMATTRS_AWS_DYNAMODB_PROVISIONED_READ_CAPACITY:()=>zr,SEMATTRS_AWS_DYNAMODB_PROVISIONED_WRITE_CAPACITY:()=>Kr,SEMATTRS_AWS_DYNAMODB_SCANNED_COUNT:()=>dn,SEMATTRS_AWS_DYNAMODB_SCAN_FORWARD:()=>an,SEMATTRS_AWS_DYNAMODB_SEGMENT:()=>un,SEMATTRS_AWS_DYNAMODB_SELECT:()=>en,SEMATTRS_AWS_DYNAMODB_TABLE_COUNT:()=>sn,SEMATTRS_AWS_DYNAMODB_TABLE_NAMES:()=>Yr,SEMATTRS_AWS_DYNAMODB_TOTAL_SEGMENTS:()=>cn,SEMATTRS_AWS_LAMBDA_INVOKED_ARN:()=>Oe,SEMATTRS_CODE_FILEPATH:()=>Lr,SEMATTRS_CODE_FUNCTION:()=>Rr,SEMATTRS_CODE_LINENO:()=>Cr,SEMATTRS_CODE_NAMESPACE:()=>wr,SEMATTRS_DB_CASSANDRA_CONSISTENCY_LEVEL:()=>xe,SEMATTRS_DB_CASSANDRA_COORDINATOR_DC:()=>Ve,SEMATTRS_DB_CASSANDRA_COORDINATOR_ID:()=>Be,SEMATTRS_DB_CASSANDRA_IDEMPOTENCE:()=>ke,SEMATTRS_DB_CASSANDRA_KEYSPACE:()=>Ie,SEMATTRS_DB_CASSANDRA_PAGE_SIZE:()=>De,SEMATTRS_DB_CASSANDRA_SPECULATIVE_EXECUTION_COUNT:()=>je,SEMATTRS_DB_CASSANDRA_TABLE:()=>Ue,SEMATTRS_DB_CONNECTION_STRING:()=>Re,SEMATTRS_DB_HBASE_NAMESPACE:()=>Ge,SEMATTRS_DB_JDBC_DRIVER_CLASSNAME:()=>Le,SEMATTRS_DB_MONGODB_COLLECTION:()=>He,SEMATTRS_DB_MSSQL_INSTANCE_NAME:()=>Me,SEMATTRS_DB_NAME:()=>Ce,SEMATTRS_DB_OPERATION:()=>Ne,SEMATTRS_DB_REDIS_DATABASE_INDEX:()=>Fe,SEMATTRS_DB_SQL_TABLE:()=>We,SEMATTRS_DB_STATEMENT:()=>Pe,SEMATTRS_DB_SYSTEM:()=>Ae,SEMATTRS_DB_USER:()=>we,SEMATTRS_ENDUSER_ID:()=>Sr,SEMATTRS_ENDUSER_ROLE:()=>yr,SEMATTRS_ENDUSER_SCOPE:()=>br,SEMATTRS_EXCEPTION_ESCAPED:()=>ze,SEMATTRS_EXCEPTION_MESSAGE:()=>Xe,SEMATTRS_EXCEPTION_STACKTRACE:()=>qe,SEMATTRS_EXCEPTION_TYPE:()=>Ye,SEMATTRS_FAAS_COLDSTART:()=>nr,SEMATTRS_FAAS_CRON:()=>rr,SEMATTRS_FAAS_DOCUMENT_COLLECTION:()=>Je,SEMATTRS_FAAS_DOCUMENT_NAME:()=>tr,SEMATTRS_FAAS_DOCUMENT_OPERATION:()=>Ze,SEMATTRS_FAAS_DOCUMENT_TIME:()=>Qe,SEMATTRS_FAAS_EXECUTION:()=>$e,SEMATTRS_FAAS_INVOKED_NAME:()=>ir,SEMATTRS_FAAS_INVOKED_PROVIDER:()=>or,SEMATTRS_FAAS_INVOKED_REGION:()=>sr,SEMATTRS_FAAS_TIME:()=>er,SEMATTRS_FAAS_TRIGGER:()=>Ke,SEMATTRS_HTTP_CLIENT_IP:()=>Wr,SEMATTRS_HTTP_FLAVOR:()=>Ur,SEMATTRS_HTTP_HOST:()=>Ir,SEMATTRS_HTTP_METHOD:()=>Pr,SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH:()=>jr,SEMATTRS_HTTP_REQUEST_CONTENT_LENGTH_UNCOMPRESSED:()=>Br,SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH:()=>Vr,SEMATTRS_HTTP_RESPONSE_CONTENT_LENGTH_UNCOMPRESSED:()=>Gr,SEMATTRS_HTTP_ROUTE:()=>Hr,SEMATTRS_HTTP_SCHEME:()=>Dr,SEMATTRS_HTTP_SERVER_NAME:()=>Fr,SEMATTRS_HTTP_STATUS_CODE:()=>xr,SEMATTRS_HTTP_TARGET:()=>Mr,SEMATTRS_HTTP_URL:()=>Nr,SEMATTRS_HTTP_USER_AGENT:()=>kr,SEMATTRS_MESSAGE_COMPRESSED_SIZE:()=>Hn,SEMATTRS_MESSAGE_ID:()=>Fn,SEMATTRS_MESSAGE_TYPE:()=>Gn,SEMATTRS_MESSAGE_UNCOMPRESSED_SIZE:()=>Wn,SEMATTRS_MESSAGING_CONSUMER_ID:()=>Rn,SEMATTRS_MESSAGING_CONVERSATION_ID:()=>yn,SEMATTRS_MESSAGING_DESTINATION:()=>gn,SEMATTRS_MESSAGING_DESTINATION_KIND:()=>En,SEMATTRS_MESSAGING_KAFKA_CLIENT_ID:()=>Pn,SEMATTRS_MESSAGING_KAFKA_CONSUMER_GROUP:()=>Cn,SEMATTRS_MESSAGING_KAFKA_MESSAGE_KEY:()=>Ln,SEMATTRS_MESSAGING_KAFKA_PARTITION:()=>Nn,SEMATTRS_MESSAGING_KAFKA_TOMBSTONE:()=>Mn,SEMATTRS_MESSAGING_MESSAGE_ID:()=>Sn,SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_COMPRESSED_SIZE_BYTES:()=>On,SEMATTRS_MESSAGING_MESSAGE_PAYLOAD_SIZE_BYTES:()=>bn,SEMATTRS_MESSAGING_OPERATION:()=>An,SEMATTRS_MESSAGING_PROTOCOL:()=>mn,SEMATTRS_MESSAGING_PROTOCOL_VERSION:()=>vn,SEMATTRS_MESSAGING_RABBITMQ_ROUTING_KEY:()=>wn,SEMATTRS_MESSAGING_SYSTEM:()=>fn,SEMATTRS_MESSAGING_TEMP_DESTINATION:()=>_n,SEMATTRS_MESSAGING_URL:()=>Tn,SEMATTRS_NET_HOST_CARRIER_ICC:()=>vr,SEMATTRS_NET_HOST_CARRIER_MCC:()=>_r,SEMATTRS_NET_HOST_CARRIER_MNC:()=>mr,SEMATTRS_NET_HOST_CARRIER_NAME:()=>Er,SEMATTRS_NET_HOST_CONNECTION_SUBTYPE:()=>gr,SEMATTRS_NET_HOST_CONNECTION_TYPE:()=>fr,SEMATTRS_NET_HOST_IP:()=>dr,SEMATTRS_NET_HOST_NAME:()=>hr,SEMATTRS_NET_HOST_PORT:()=>pr,SEMATTRS_NET_PEER_IP:()=>ur,SEMATTRS_NET_PEER_NAME:()=>lr,SEMATTRS_NET_PEER_PORT:()=>cr,SEMATTRS_NET_TRANSPORT:()=>ar,SEMATTRS_PEER_SERVICE:()=>Tr,SEMATTRS_RPC_GRPC_STATUS_CODE:()=>Un,SEMATTRS_RPC_JSONRPC_ERROR_CODE:()=>Bn,SEMATTRS_RPC_JSONRPC_ERROR_MESSAGE:()=>Vn,SEMATTRS_RPC_JSONRPC_REQUEST_ID:()=>jn,SEMATTRS_RPC_JSONRPC_VERSION:()=>kn,SEMATTRS_RPC_METHOD:()=>xn,SEMATTRS_RPC_SERVICE:()=>Dn,SEMATTRS_RPC_SYSTEM:()=>In,SEMATTRS_THREAD_ID:()=>Or,SEMATTRS_THREAD_NAME:()=>Ar,SEMRESATTRS_AWS_ECS_CLUSTER_ARN:()=>Zc,SEMRESATTRS_AWS_ECS_CONTAINER_ARN:()=>Jc,SEMRESATTRS_AWS_ECS_LAUNCHTYPE:()=>Qc,SEMRESATTRS_AWS_ECS_TASK_ARN:()=>tl,SEMRESATTRS_AWS_ECS_TASK_FAMILY:()=>el,SEMRESATTRS_AWS_ECS_TASK_REVISION:()=>rl,SEMRESATTRS_AWS_EKS_CLUSTER_ARN:()=>nl,SEMRESATTRS_AWS_LOG_GROUP_ARNS:()=>ol,SEMRESATTRS_AWS_LOG_GROUP_NAMES:()=>il,SEMRESATTRS_AWS_LOG_STREAM_ARNS:()=>al,SEMRESATTRS_AWS_LOG_STREAM_NAMES:()=>sl,SEMRESATTRS_CLOUD_ACCOUNT_ID:()=>qc,SEMRESATTRS_CLOUD_AVAILABILITY_ZONE:()=>Kc,SEMRESATTRS_CLOUD_PLATFORM:()=>$c,SEMRESATTRS_CLOUD_PROVIDER:()=>Xc,SEMRESATTRS_CLOUD_REGION:()=>zc,SEMRESATTRS_CONTAINER_ID:()=>cl,SEMRESATTRS_CONTAINER_IMAGE_NAME:()=>dl,SEMRESATTRS_CONTAINER_IMAGE_TAG:()=>pl,SEMRESATTRS_CONTAINER_NAME:()=>ul,SEMRESATTRS_CONTAINER_RUNTIME:()=>ll,SEMRESATTRS_DEPLOYMENT_ENVIRONMENT:()=>hl,SEMRESATTRS_DEVICE_ID:()=>fl,SEMRESATTRS_DEVICE_MODEL_IDENTIFIER:()=>gl,SEMRESATTRS_DEVICE_MODEL_NAME:()=>El,SEMRESATTRS_FAAS_ID:()=>ml,SEMRESATTRS_FAAS_INSTANCE:()=>Tl,SEMRESATTRS_FAAS_MAX_MEMORY:()=>Sl,SEMRESATTRS_FAAS_NAME:()=>_l,SEMRESATTRS_FAAS_VERSION:()=>vl,SEMRESATTRS_HOST_ARCH:()=>Al,SEMRESATTRS_HOST_ID:()=>yl,SEMRESATTRS_HOST_IMAGE_ID:()=>wl,SEMRESATTRS_HOST_IMAGE_NAME:()=>Rl,SEMRESATTRS_HOST_IMAGE_VERSION:()=>Ll,SEMRESATTRS_HOST_NAME:()=>bl,SEMRESATTRS_HOST_TYPE:()=>Ol,SEMRESATTRS_K8S_CLUSTER_NAME:()=>Cl,SEMRESATTRS_K8S_CONTAINER_NAME:()=>xl,SEMRESATTRS_K8S_CRONJOB_NAME:()=>ql,SEMRESATTRS_K8S_CRONJOB_UID:()=>Xl,SEMRESATTRS_K8S_DAEMONSET_NAME:()=>Hl,SEMRESATTRS_K8S_DAEMONSET_UID:()=>Fl,SEMRESATTRS_K8S_DEPLOYMENT_NAME:()=>Bl,SEMRESATTRS_K8S_DEPLOYMENT_UID:()=>jl,SEMRESATTRS_K8S_JOB_NAME:()=>Yl,SEMRESATTRS_K8S_JOB_UID:()=>Wl,SEMRESATTRS_K8S_NAMESPACE_NAME:()=>Ml,SEMRESATTRS_K8S_NODE_NAME:()=>Pl,SEMRESATTRS_K8S_NODE_UID:()=>Nl,SEMRESATTRS_K8S_POD_NAME:()=>Dl,SEMRESATTRS_K8S_POD_UID:()=>Il,SEMRESATTRS_K8S_REPLICASET_NAME:()=>kl,SEMRESATTRS_K8S_REPLICASET_UID:()=>Ul,SEMRESATTRS_K8S_STATEFULSET_NAME:()=>Gl,SEMRESATTRS_K8S_STATEFULSET_UID:()=>Vl,SEMRESATTRS_OS_DESCRIPTION:()=>Kl,SEMRESATTRS_OS_NAME:()=>$l,SEMRESATTRS_OS_TYPE:()=>zl,SEMRESATTRS_OS_VERSION:()=>Jl,SEMRESATTRS_PROCESS_COMMAND:()=>ed,SEMRESATTRS_PROCESS_COMMAND_ARGS:()=>nd,SEMRESATTRS_PROCESS_COMMAND_LINE:()=>rd,SEMRESATTRS_PROCESS_EXECUTABLE_NAME:()=>Ql,SEMRESATTRS_PROCESS_EXECUTABLE_PATH:()=>td,SEMRESATTRS_PROCESS_OWNER:()=>id,SEMRESATTRS_PROCESS_PID:()=>Zl,SEMRESATTRS_PROCESS_RUNTIME_DESCRIPTION:()=>ad,SEMRESATTRS_PROCESS_RUNTIME_NAME:()=>od,SEMRESATTRS_PROCESS_RUNTIME_VERSION:()=>sd,SEMRESATTRS_SERVICE_INSTANCE_ID:()=>ld,SEMRESATTRS_SERVICE_NAME:()=>ud,SEMRESATTRS_SERVICE_NAMESPACE:()=>cd,SEMRESATTRS_SERVICE_VERSION:()=>dd,SEMRESATTRS_TELEMETRY_AUTO_VERSION:()=>gd,SEMRESATTRS_TELEMETRY_SDK_LANGUAGE:()=>hd,SEMRESATTRS_TELEMETRY_SDK_NAME:()=>pd,SEMRESATTRS_TELEMETRY_SDK_VERSION:()=>fd,SEMRESATTRS_WEBENGINE_DESCRIPTION:()=>md,SEMRESATTRS_WEBENGINE_NAME:()=>Ed,SEMRESATTRS_WEBENGINE_VERSION:()=>_d,SIGNALR_CONNECTION_STATUS_VALUE_APP_SHUTDOWN:()=>pg,SIGNALR_CONNECTION_STATUS_VALUE_NORMAL_CLOSURE:()=>hg,SIGNALR_CONNECTION_STATUS_VALUE_TIMEOUT:()=>fg,SIGNALR_TRANSPORT_VALUE_LONG_POLLING:()=>Eg,SIGNALR_TRANSPORT_VALUE_SERVER_SENT_EVENTS:()=>_g,SIGNALR_TRANSPORT_VALUE_WEB_SOCKETS:()=>mg,SemanticAttributes:()=>Yn,SemanticResourceAttributes:()=>vd,TELEMETRYSDKLANGUAGEVALUES_CPP:()=>eh,TELEMETRYSDKLANGUAGEVALUES_DOTNET:()=>rh,TELEMETRYSDKLANGUAGEVALUES_ERLANG:()=>nh,TELEMETRYSDKLANGUAGEVALUES_GO:()=>ih,TELEMETRYSDKLANGUAGEVALUES_JAVA:()=>oh,TELEMETRYSDKLANGUAGEVALUES_NODEJS:()=>sh,TELEMETRYSDKLANGUAGEVALUES_PHP:()=>ah,TELEMETRYSDKLANGUAGEVALUES_PYTHON:()=>uh,TELEMETRYSDKLANGUAGEVALUES_RUBY:()=>ch,TELEMETRYSDKLANGUAGEVALUES_WEBJS:()=>lh,TELEMETRY_SDK_LANGUAGE_VALUE_CPP:()=>Tg,TELEMETRY_SDK_LANGUAGE_VALUE_DOTNET:()=>Sg,TELEMETRY_SDK_LANGUAGE_VALUE_ERLANG:()=>yg,TELEMETRY_SDK_LANGUAGE_VALUE_GO:()=>bg,TELEMETRY_SDK_LANGUAGE_VALUE_JAVA:()=>Og,TELEMETRY_SDK_LANGUAGE_VALUE_NODEJS:()=>Ag,TELEMETRY_SDK_LANGUAGE_VALUE_PHP:()=>Rg,TELEMETRY_SDK_LANGUAGE_VALUE_PYTHON:()=>wg,TELEMETRY_SDK_LANGUAGE_VALUE_RUBY:()=>Lg,TELEMETRY_SDK_LANGUAGE_VALUE_RUST:()=>Cg,TELEMETRY_SDK_LANGUAGE_VALUE_SWIFT:()=>Pg,TELEMETRY_SDK_LANGUAGE_VALUE_WEBJS:()=>Ng,TelemetrySdkLanguageValues:()=>dh});const i="aws.lambda.invoked_arn",o="db.system",s="db.connection_string",a="db.user",u="db.jdbc.driver_classname",c="db.name",l="db.statement",d="db.operation",p="db.mssql.instance_name",h="db.cassandra.keyspace",f="db.cassandra.page_size",g="db.cassandra.consistency_level",E="db.cassandra.table",_="db.cassandra.idempotence",m="db.cassandra.speculative_execution_count",v="db.cassandra.coordinator.id",T="db.cassandra.coordinator.dc",S="db.hbase.namespace",y="db.redis.database_index",b="db.mongodb.collection",O="db.sql.table",A="exception.type",R="exception.message",w="exception.stacktrace",L="exception.escaped",C="faas.trigger",P="faas.execution",N="faas.document.collection",M="faas.document.operation",I="faas.document.time",D="faas.document.name",x="faas.time",U="faas.cron",k="faas.coldstart",j="faas.invoked_name",B="faas.invoked_provider",V="faas.invoked_region",G="net.transport",F="net.peer.ip",H="net.peer.port",W="net.peer.name",Y="net.host.ip",X="net.host.port",q="net.host.name",z="net.host.connection.type",K="net.host.connection.subtype",$="net.host.carrier.name",J="net.host.carrier.mcc",Z="net.host.carrier.mnc",Q="net.host.carrier.icc",tt="peer.service",et="enduser.id",rt="enduser.role",nt="enduser.scope",it="thread.id",ot="thread.name",st="code.function",at="code.namespace",ut="code.filepath",ct="code.lineno",lt="http.method",dt="http.url",pt="http.target",ht="http.host",ft="http.scheme",gt="http.status_code",Et="http.flavor",_t="http.user_agent",mt="http.request_content_length",vt="http.request_content_length_uncompressed",Tt="http.response_content_length",St="http.response_content_length_uncompressed",yt="http.server_name",bt="http.route",Ot="http.client_ip",At="aws.dynamodb.table_names",Rt="aws.dynamodb.consumed_capacity",wt="aws.dynamodb.item_collection_metrics",Lt="aws.dynamodb.provisioned_read_capacity",Ct="aws.dynamodb.provisioned_write_capacity",Pt="aws.dynamodb.consistent_read",Nt="aws.dynamodb.projection",Mt="aws.dynamodb.limit",It="aws.dynamodb.attributes_to_get",Dt="aws.dynamodb.index_name",xt="aws.dynamodb.select",Ut="aws.dynamodb.global_secondary_indexes",kt="aws.dynamodb.local_secondary_indexes",jt="aws.dynamodb.exclusive_start_table",Bt="aws.dynamodb.table_count",Vt="aws.dynamodb.scan_forward",Gt="aws.dynamodb.segment",Ft="aws.dynamodb.total_segments",Ht="aws.dynamodb.count",Wt="aws.dynamodb.scanned_count",Yt="aws.dynamodb.attribute_definitions",Xt="aws.dynamodb.global_secondary_index_updates",qt="messaging.system",zt="messaging.destination",Kt="messaging.destination_kind",$t="messaging.temp_destination",Jt="messaging.protocol",Zt="messaging.protocol_version",Qt="messaging.url",te="messaging.message_id",ee="messaging.conversation_id",re="messaging.message_payload_size_bytes",ne="messaging.message_payload_compressed_size_bytes",ie="messaging.operation",oe="messaging.consumer_id",se="messaging.rabbitmq.routing_key",ae="messaging.kafka.message_key",ue="messaging.kafka.consumer_group",ce="messaging.kafka.client_id",le="messaging.kafka.partition",de="messaging.kafka.tombstone",pe="rpc.system",he="rpc.service",fe="rpc.method",ge="rpc.grpc.status_code",Ee="rpc.jsonrpc.version",_e="rpc.jsonrpc.request_id",me="rpc.jsonrpc.error_code",ve="rpc.jsonrpc.error_message",Te="message.type",Se="message.id",ye="message.compressed_size",be="message.uncompressed_size",Oe=i,Ae=o,Re=s,we=a,Le=u,Ce=c,Pe=l,Ne=d,Me=p,Ie=h,De=f,xe=g,Ue=E,ke=_,je=m,Be=v,Ve=T,Ge=S,Fe=y,He=b,We=O,Ye=A,Xe=R,qe=w,ze=L,Ke=C,$e=P,Je=N,Ze=M,Qe=I,tr=D,er=x,rr=U,nr=k,ir=j,or=B,sr=V,ar=G,ur=F,cr=H,lr=W,dr=Y,pr=X,hr=q,fr=z,gr=K,Er=$,_r=J,mr=Z,vr=Q,Tr=tt,Sr=et,yr=rt,br=nt,Or=it,Ar=ot,Rr=st,wr=at,Lr=ut,Cr=ct,Pr=lt,Nr=dt,Mr=pt,Ir=ht,Dr=ft,xr=gt,Ur=Et,kr=_t,jr=mt,Br=vt,Vr=Tt,Gr=St,Fr=yt,Hr=bt,Wr=Ot,Yr=At,Xr=Rt,qr=wt,zr=Lt,Kr=Ct,$r=Pt,Jr=Nt,Zr=Mt,Qr=It,tn=Dt,en=xt,rn=Ut,nn=kt,on=jt,sn=Bt,an=Vt,un=Gt,cn=Ft,ln=Ht,dn=Wt,pn=Yt,hn=Xt,fn=qt,gn=zt,En=Kt,_n=$t,mn=Jt,vn=Zt,Tn=Qt,Sn=te,yn=ee,bn=re,On=ne,An=ie,Rn=oe,wn=se,Ln=ae,Cn=ue,Pn=ce,Nn=le,Mn=de,In=pe,Dn=he,xn=fe,Un=ge,kn=Ee,jn=_e,Bn=me,Vn=ve,Gn=Te,Fn=Se,Hn=ye,Wn=be,Yn=n([i,o,s,a,u,c,l,d,p,h,f,g,E,_,m,v,T,S,y,b,O,A,R,w,L,C,P,N,M,I,D,x,U,k,j,B,V,G,F,H,W,Y,X,q,z,K,$,J,Z,Q,tt,et,rt,nt,it,ot,st,at,ut,ct,lt,dt,pt,ht,ft,gt,Et,_t,mt,vt,Tt,St,yt,bt,Ot,At,Rt,wt,Lt,Ct,Pt,Nt,Mt,It,Dt,xt,Ut,kt,jt,Bt,Vt,Gt,Ft,Ht,Wt,Yt,Xt,qt,zt,Kt,$t,Jt,Zt,Qt,te,ee,re,ne,ie,oe,se,ae,ue,ce,le,de,pe,he,fe,ge,Ee,_e,me,ve,Te,Se,ye,be]),Xn="other_sql",qn="mssql",zn="mysql",Kn="oracle",$n="postgresql",Jn="redshift",Zn="hive",Qn="cloudscape",ti="hsqldb",ei="progress",ri="maxdb",ni="hanadb",ii="ingres",oi="firstsql",si="cache",ai="adabas",ui="firebird",ci="derby",li="filemaker",di="informix",pi="instantdb",hi="interbase",fi="mariadb",gi="netezza",Ei="pervasive",_i="pointbase",mi="sqlite",vi="sybase",Ti="teradata",Si="vertica",yi="coldfusion",bi="cassandra",Oi="hbase",Ai="mongodb",Ri="redis",wi="couchbase",Li="couchdb",Ci="cosmosdb",Pi="dynamodb",Ni="neo4j",Mi="geode",Ii="elasticsearch",Di="memcached",xi="cockroachdb",Ui=Xn,ki=qn,ji=zn,Bi=Kn,Vi="db2",Gi=$n,Fi=Jn,Hi=Zn,Wi=Qn,Yi=ti,Xi=ei,qi=ri,zi=ni,Ki=ii,$i=oi,Ji="edb",Zi=si,Qi=ai,to=ui,eo=ci,ro=li,no=di,io=pi,oo=hi,so=fi,ao=gi,uo=Ei,co=_i,lo=mi,po=vi,ho=Ti,fo=Si,go="h2",Eo=yi,_o=bi,mo=Oi,vo=Ai,To=Ri,So=wi,yo=Li,bo=Ci,Oo=Pi,Ao=Ni,Ro=Mi,wo=Ii,Lo=Di,Co=xi,Po=n([Xn,qn,zn,Kn,"db2",$n,Jn,Zn,Qn,ti,ei,ri,ni,ii,oi,"edb",si,ai,ui,ci,li,di,pi,hi,fi,gi,Ei,_i,mi,vi,Ti,Si,"h2",yi,bi,Oi,Ai,Ri,wi,Li,Ci,Pi,Ni,Mi,Ii,Di,xi]),No="each_quorum",Mo="quorum",Io="local_quorum",Do="three",xo="local_one",Uo="serial",ko="local_serial",jo="all",Bo=No,Vo=Mo,Go=Io,Fo="one",Ho="two",Wo=Do,Yo=xo,Xo="any",qo=Uo,zo=ko,Ko=n(["all",No,Mo,Io,"one","two",Do,xo,"any",Uo,ko]),$o="datasource",Jo="http",Zo="pubsub",Qo="timer",ts="other",es=$o,rs=Jo,ns=Zo,is=Qo,os=ts,ss=n([$o,Jo,Zo,Qo,ts]),as="insert",us="edit",cs="delete",ls=as,ds=us,ps=cs,hs=n([as,us,cs]),fs="alibaba_cloud",gs="azure",Es=fs,_s="aws",ms=gs,vs="gcp",Ts=n([fs,"aws",gs,"gcp"]),Ss="ip_tcp",ys="ip_udp",bs="unix",Os="pipe",As="inproc",Rs="other",ws=Ss,Ls=ys,Cs="ip",Ps=bs,Ns=Os,Ms=As,Is=Rs,Ds=n([Ss,ys,"ip",bs,Os,As,Rs]),xs="wifi",Us="wired",ks="cell",js="unavailable",Bs="unknown",Vs=xs,Gs=Us,Fs=ks,Hs=js,Ws=Bs,Ys=n([xs,Us,ks,js,Bs]),Xs="gprs",qs="edge",zs="umts",Ks="cdma",$s="evdo_0",Js="evdo_a",Zs="cdma2000_1xrtt",Qs="hsdpa",ta="hsupa",ea="hspa",ra="iden",na="evdo_b",ia="ehrpd",oa="hspap",sa="td_scdma",aa="iwlan",ua="nrnsa",ca="lte_ca",la=Xs,da=qs,pa=zs,ha=Ks,fa=$s,ga=Js,Ea=Zs,_a=Qs,ma=ta,va=ea,Ta=ra,Sa=na,ya="lte",ba=ia,Oa=oa,Aa="gsm",Ra=sa,wa=aa,La="nr",Ca=ua,Pa=ca,Na=n([Xs,qs,zs,Ks,$s,Js,Zs,Qs,ta,ea,ra,na,"lte",ia,oa,"gsm",sa,aa,"nr",ua,ca]),Ma="SPDY",Ia="QUIC",Da="1.0",xa="1.1",Ua="2.0",ka=Ma,ja=Ia,Ba={HTTP_1_0:"1.0",HTTP_1_1:"1.1",HTTP_2_0:"2.0",SPDY:Ma,QUIC:Ia},Va="queue",Ga="topic",Fa=Va,Ha=Ga,Wa=n([Va,Ga]),Ya="receive",Xa="process",qa=Ya,za=Xa,Ka=n([Ya,Xa]),$a=0,Ja=1,Za=2,Qa=3,tu=4,eu=5,ru=6,nu=7,iu=8,ou=9,su=10,au=11,uu=12,cu=13,lu=14,du=15,pu=16,hu={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},fu="SENT",gu="RECEIVED",Eu=fu,_u=gu,mu=n([fu,gu]),vu="cloud.provider",Tu="cloud.account.id",Su="cloud.region",yu="cloud.availability_zone",bu="cloud.platform",Ou="aws.ecs.container.arn",Au="aws.ecs.cluster.arn",Ru="aws.ecs.launchtype",wu="aws.ecs.task.arn",Lu="aws.ecs.task.family",Cu="aws.ecs.task.revision",Pu="aws.eks.cluster.arn",Nu="aws.log.group.names",Mu="aws.log.group.arns",Iu="aws.log.stream.names",Du="aws.log.stream.arns",xu="container.name",Uu="container.id",ku="container.runtime",ju="container.image.name",Bu="container.image.tag",Vu="deployment.environment",Gu="device.id",Fu="device.model.identifier",Hu="device.model.name",Wu="faas.name",Yu="faas.id",Xu="faas.version",qu="faas.instance",zu="faas.max_memory",Ku="host.id",$u="host.name",Ju="host.type",Zu="host.arch",Qu="host.image.name",tc="host.image.id",ec="host.image.version",rc="k8s.cluster.name",nc="k8s.node.name",ic="k8s.node.uid",oc="k8s.namespace.name",sc="k8s.pod.uid",ac="k8s.pod.name",uc="k8s.container.name",cc="k8s.replicaset.uid",lc="k8s.replicaset.name",dc="k8s.deployment.uid",pc="k8s.deployment.name",hc="k8s.statefulset.uid",fc="k8s.statefulset.name",gc="k8s.daemonset.uid",Ec="k8s.daemonset.name",_c="k8s.job.uid",mc="k8s.job.name",vc="k8s.cronjob.uid",Tc="k8s.cronjob.name",Sc="os.type",yc="os.description",bc="os.name",Oc="os.version",Ac="process.pid",Rc="process.executable.name",wc="process.executable.path",Lc="process.command",Cc="process.command_line",Pc="process.command_args",Nc="process.owner",Mc="process.runtime.name",Ic="process.runtime.version",Dc="process.runtime.description",xc="service.name",Uc="service.namespace",kc="service.instance.id",jc="service.version",Bc="telemetry.sdk.name",Vc="telemetry.sdk.language",Gc="telemetry.sdk.version",Fc="telemetry.auto.version",Hc="webengine.name",Wc="webengine.version",Yc="webengine.description",Xc=vu,qc=Tu,zc=Su,Kc=yu,$c=bu,Jc=Ou,Zc=Au,Qc=Ru,tl=wu,el=Lu,rl=Cu,nl=Pu,il=Nu,ol=Mu,sl=Iu,al=Du,ul=xu,cl=Uu,ll=ku,dl=ju,pl=Bu,hl=Vu,fl=Gu,gl=Fu,El=Hu,_l=Wu,ml=Yu,vl=Xu,Tl=qu,Sl=zu,yl=Ku,bl=$u,Ol=Ju,Al=Zu,Rl=Qu,wl=tc,Ll=ec,Cl=rc,Pl=nc,Nl=ic,Ml=oc,Il=sc,Dl=ac,xl=uc,Ul=cc,kl=lc,jl=dc,Bl=pc,Vl=hc,Gl=fc,Fl=gc,Hl=Ec,Wl=_c,Yl=mc,Xl=vc,ql=Tc,zl=Sc,Kl=yc,$l=bc,Jl=Oc,Zl=Ac,Ql=Rc,td=wc,ed=Lc,rd=Cc,nd=Pc,id=Nc,od=Mc,sd=Ic,ad=Dc,ud=xc,cd=Uc,ld=kc,dd=jc,pd=Bc,hd=Vc,fd=Gc,gd=Fc,Ed=Hc,_d=Wc,md=Yc,vd=n([vu,Tu,Su,yu,bu,Ou,Au,Ru,wu,Lu,Cu,Pu,Nu,Mu,Iu,Du,xu,Uu,ku,ju,Bu,Vu,Gu,Fu,Hu,Wu,Yu,Xu,qu,zu,Ku,$u,Ju,Zu,Qu,tc,ec,rc,nc,ic,oc,sc,ac,uc,cc,lc,dc,pc,hc,fc,gc,Ec,_c,mc,vc,Tc,Sc,yc,bc,Oc,Ac,Rc,wc,Lc,Cc,Pc,Nc,Mc,Ic,Dc,xc,Uc,kc,jc,Bc,Vc,Gc,Fc,Hc,Wc,Yc]),Td="alibaba_cloud",Sd="azure",yd=Td,bd="aws",Od=Sd,Ad="gcp",Rd=n([Td,"aws",Sd,"gcp"]),wd="alibaba_cloud_ecs",Ld="alibaba_cloud_fc",Cd="aws_ec2",Pd="aws_ecs",Nd="aws_eks",Md="aws_lambda",Id="aws_elastic_beanstalk",Dd="azure_vm",xd="azure_container_instances",Ud="azure_aks",kd="azure_functions",jd="azure_app_service",Bd="gcp_compute_engine",Vd="gcp_cloud_run",Gd="gcp_kubernetes_engine",Fd="gcp_cloud_functions",Hd="gcp_app_engine",Wd=wd,Yd=Ld,Xd=Cd,qd=Pd,zd=Nd,Kd=Md,$d=Id,Jd=Dd,Zd=xd,Qd=Ud,tp=kd,ep=jd,rp=Bd,np=Vd,ip=Gd,op=Fd,sp=Hd,ap=n([wd,Ld,Cd,Pd,Nd,Md,Id,Dd,xd,Ud,kd,jd,Bd,Vd,Gd,Fd,Hd]),up="fargate",cp="ec2",lp=up,dp=n(["ec2",up]),pp="amd64",hp="arm32",fp="arm64",gp="ia64",Ep="ppc32",_p="ppc64",mp=pp,vp=hp,Tp=fp,Sp=gp,yp=Ep,bp=_p,Op="x86",Ap=n([pp,hp,fp,gp,Ep,_p,"x86"]),Rp="windows",wp="linux",Lp="darwin",Cp="freebsd",Pp="netbsd",Np="openbsd",Mp="dragonflybsd",Ip="hpux",Dp="solaris",xp="z_os",Up=Rp,kp=wp,jp=Lp,Bp=Cp,Vp=Pp,Gp=Np,Fp=Mp,Hp=Ip,Wp="aix",Yp=Dp,Xp=xp,qp=n([Rp,wp,Lp,Cp,Pp,Np,Mp,Ip,"aix",Dp,xp]),zp="dotnet",Kp="erlang",$p="java",Jp="nodejs",Zp="python",Qp="ruby",th="webjs",eh="cpp",rh=zp,nh=Kp,ih="go",oh=$p,sh=Jp,ah="php",uh=Zp,ch=Qp,lh=th,dh=n(["cpp",zp,Kp,"go",$p,Jp,"php",Zp,Qp,th]),ph="aspnetcore.diagnostics.exception.result",hh="aborted",fh="handled",gh="skipped",Eh="unhandled",_h="aspnetcore.diagnostics.handler.type",mh="aspnetcore.rate_limiting.policy",vh="aspnetcore.rate_limiting.result",Th="acquired",Sh="endpoint_limiter",yh="global_limiter",bh="request_canceled",Oh="aspnetcore.request.is_unhandled",Ah="aspnetcore.routing.is_fallback",Rh="aspnetcore.routing.match_status",wh="failure",Lh="success",Ch="aspnetcore.user.is_authenticated",Ph="client.address",Nh="client.port",Mh="code.column.number",Ih="code.file.path",Dh="code.function.name",xh="code.line.number",Uh="code.stacktrace",kh="db.collection.name",jh="db.namespace",Bh="db.operation.batch.size",Vh="db.operation.name",Gh="db.query.summary",Fh="db.query.text",Hh="db.response.status_code",Wh="db.stored_procedure.name",Yh="db.system.name",Xh="mariadb",qh="microsoft.sql_server",zh="mysql",Kh="postgresql",$h="dotnet.gc.heap.generation",Jh="gen0",Zh="gen1",Qh="gen2",tf="loh",ef="poh",rf="error.type",nf="_OTHER",of="exception.escaped",sf="exception.message",af="exception.stacktrace",uf="exception.type",cf=t=>`http.request.header.${t}`,lf="http.request.method",df="_OTHER",pf="CONNECT",hf="DELETE",ff="GET",gf="HEAD",Ef="OPTIONS",_f="PATCH",mf="POST",vf="PUT",Tf="TRACE",Sf="http.request.method_original",yf="http.request.resend_count",bf=t=>`http.response.header.${t}`,Of="http.response.status_code",Af="http.route",Rf="jvm.gc.action",wf="jvm.gc.name",Lf="jvm.memory.pool.name",Cf="jvm.memory.type",Pf="heap",Nf="non_heap",Mf="jvm.thread.daemon",If="jvm.thread.state",Df="blocked",xf="new",Uf="runnable",kf="terminated",jf="timed_waiting",Bf="waiting",Vf="network.local.address",Gf="network.local.port",Ff="network.peer.address",Hf="network.peer.port",Wf="network.protocol.name",Yf="network.protocol.version",Xf="network.transport",qf="pipe",zf="quic",Kf="tcp",$f="udp",Jf="unix",Zf="network.type",Qf="ipv4",tg="ipv6",eg="otel.scope.name",rg="otel.scope.version",ng="otel.status_code",ig="ERROR",og="OK",sg="otel.status_description",ag="server.address",ug="server.port",cg="service.name",lg="service.version",dg="signalr.connection.status",pg="app_shutdown",hg="normal_closure",fg="timeout",gg="signalr.transport",Eg="long_polling",_g="server_sent_events",mg="web_sockets",vg="telemetry.sdk.language",Tg="cpp",Sg="dotnet",yg="erlang",bg="go",Og="java",Ag="nodejs",Rg="php",wg="python",Lg="ruby",Cg="rust",Pg="swift",Ng="webjs",Mg="telemetry.sdk.name",Ig="telemetry.sdk.version",Dg="url.fragment",xg="url.full",Ug="url.path",kg="url.query",jg="url.scheme",Bg="user_agent.original",Vg="aspnetcore.diagnostics.exceptions",Gg="aspnetcore.rate_limiting.active_request_leases",Fg="aspnetcore.rate_limiting.queued_requests",Hg="aspnetcore.rate_limiting.request.time_in_queue",Wg="aspnetcore.rate_limiting.request_lease.duration",Yg="aspnetcore.rate_limiting.requests",Xg="aspnetcore.routing.match_attempts",qg="db.client.operation.duration",zg="dotnet.assembly.count",Kg="dotnet.exceptions",$g="dotnet.gc.collections",Jg="dotnet.gc.heap.total_allocated",Zg="dotnet.gc.last_collection.heap.fragmentation.size",Qg="dotnet.gc.last_collection.heap.size",tE="dotnet.gc.last_collection.memory.committed_size",eE="dotnet.gc.pause.time",rE="dotnet.jit.compilation.time",nE="dotnet.jit.compiled_il.size",iE="dotnet.jit.compiled_methods",oE="dotnet.monitor.lock_contentions",sE="dotnet.process.cpu.count",aE="dotnet.process.cpu.time",uE="dotnet.process.memory.working_set",cE="dotnet.thread_pool.queue.length",lE="dotnet.thread_pool.thread.count",dE="dotnet.thread_pool.work_item.count",pE="dotnet.timer.count",hE="http.client.request.duration",fE="http.server.request.duration",gE="jvm.class.count",EE="jvm.class.loaded",_E="jvm.class.unloaded",mE="jvm.cpu.count",vE="jvm.cpu.recent_utilization",TE="jvm.cpu.time",SE="jvm.gc.duration",yE="jvm.memory.committed",bE="jvm.memory.limit",OE="jvm.memory.used",AE="jvm.memory.used_after_last_gc",RE="jvm.thread.count",wE="kestrel.active_connections",LE="kestrel.active_tls_handshakes",CE="kestrel.connection.duration",PE="kestrel.queued_connections",NE="kestrel.queued_requests",ME="kestrel.rejected_connections",IE="kestrel.tls_handshake.duration",DE="kestrel.upgraded_connections",xE="signalr.server.active_connections",UE="signalr.server.connection.duration",kE="exception"},40554(t){"use strict";function e(t){return"function"==typeof t}var r=console.error.bind(console);function n(t,e,r){var n=!!t[e]&&t.propertyIsEnumerable(e);Object.defineProperty(t,e,{configurable:!0,enumerable:n,writable:!0,value:r})}function i(t){t&&t.logger&&(e(t.logger)?r=t.logger:r("new logger isn't a function, not replacing"))}function o(t,i,o){if(t&&t[i]){if(!o)return r("no wrapper function"),void r((new Error).stack);if(e(t[i])&&e(o)){var s=t[i],a=o(s,i);return n(a,"__original",s),n(a,"__unwrap",function(){t[i]===a&&n(t,i,s)}),n(a,"__wrapped",!0),n(t,i,a),a}r("original object and wrapper must be functions")}else r("no original function "+i+" to wrap")}function s(t,e){return t&&t[e]?t[e].__unwrap?t[e].__unwrap():void r("no original to unwrap to -- has "+e+" already been unwrapped?"):(r("no function to unwrap."),void r((new Error).stack))}i.wrap=o,i.massWrap=function(t,e,n){if(!t)return r("must provide one or more modules to patch"),void r((new Error).stack);Array.isArray(t)||(t=[t]),e&&Array.isArray(e)?t.forEach(function(t){e.forEach(function(e){o(t,e,n)})}):r("must provide one or more functions to wrap on modules")},i.unwrap=s,i.massUnwrap=function(t,e){if(!t)return r("must provide one or more modules to patch"),void r((new Error).stack);Array.isArray(t)||(t=[t]),e&&Array.isArray(e)?t.forEach(function(t){e.forEach(function(e){s(t,e)})}):r("must provide one or more functions to unwrap on modules")},t.exports=i},87199(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"InternalEventTarget",{enumerable:!0,get:function(){return i}});const n=r(64333);r(15166),r(15731),r(47776);class i{addEventListener(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.events[t]||(this.events[t]=[]),this.events[t].push({listener:e,options:r})}emit(t,e){const r=this.events[t];r&&r.forEach(r=>{let{listener:n,options:i}=r;try{n({payload:e})}catch(t){console.error("Error in event listener",t)}i.once&&this.removeEventListener(t,n)})}removeEventListener(t,e){if(this.events[t])for(let r=0;r<this.events[t].length;r++){const{listener:n}=this.events[t][r];if(n===e){this.events[t].splice(r,1);break}}}constructor(){n._(this,"events",{})}}},88823(t,e,r){"use strict";function n(t){return t}function i(t,e,r){const n=new XMLHttpRequest;n.open("POST",t),Object.entries(Object.assign(Object.assign({},{Accept:"application/json","Content-Type":"application/json"}),r)).forEach(t=>{let[e,r]=t;n.setRequestHeader(e,r)}),n.send(e)}Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get NATIVE_BEACON_SENDER(){return o},get NATIVE_XHR_SENDER(){return i},get NOOP_ATTRIBUTES_TRANSFORMER(){return n}}),r(15731),r(47776),r(21717);const o="undefined"!=typeof navigator&&navigator.sendBeacon?(t,e,r)=>{const n=r?new Blob([e],r):e;navigator.sendBeacon(t,n)}:void 0},27129(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"SplunkOTLPTraceExporter",{enumerable:!0,get:function(){return a}});const n=r(64333);r(15731),r(96469),r(35505),r(97833),r(97896),r(88748),r(54765),r(73976),r(85008),r(95803),r(54570),r(66249),r(29881),r(22039),r(52768),r(39357);const i=r(69209),o=r(86034),s=r(88823);class a extends o.OTLPTraceExporter{send(t,e){var r;if(this._shutdownOnce.isCalled)return void i.diag.debug("Shutdown already started. Cannot send objects");const n=t.length;if((t=t.filter(t=>Boolean(t.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===(t=t.map(t=>(t.attributes=this._onAttributesSerializing?this._onAttributesSerializing(t.attributes,t):t.attributes,t))).length)return void e();const o=null!==(r=this._serializer.serializeRequest(t))&&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}),e()}constructor(t){var e,r;super(t),n._(this,"_beaconSender",void 0),n._(this,"_onAttributesSerializing",void 0),n._(this,"_xhrSender",void 0),this._beaconSender=null!==(e=t.beaconSender)&&void 0!==e?e:s.NATIVE_BEACON_SENDER,this._onAttributesSerializing=t.onAttributesSerializing||s.NOOP_ATTRIBUTES_TRANSFORMER,this._xhrSender=null!==(r=t.xhrSender)&&void 0!==r?r:s.NATIVE_XHR_SENDER}}},36181(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"SplunkZipkinExporter",{enumerable:!0,get:function(){return l}});const n=r(64333);r(15731),r(96469),r(35505),r(45178),r(97982),r(21717);const i=r(69209),o=r(87844),s=r(41210),a=r(6371),u=r(98056),c=r(88823);class l{export(t,e){const r=t.length;if((t=t.filter(t=>Boolean(t.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===t.length)return void e({code:o.ExportResultCode.SUCCESS});const n=t.map(t=>this._mapToZipkinSpan(t)),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"}),e({code:o.ExportResultCode.SUCCESS})}shutdown(){return Promise.resolve()}_mapToZipkinSpan(t){const e=this._preTranslateSpan(t),r=(0,s.toZipkinSpan)(e,"browser",s.defaultStatusCodeTagName,s.defaultStatusErrorTagName);return this._postTranslateSpan(r)}_postTranslateSpan(t){delete t.localEndpoint,t.name=(0,u.limitLen)(t.name,4096);for(const[e,r]of Object.entries(t.tags))(0,a.hasToString)(r)&&(t.tags[e]=(0,u.limitLen)(r.toString(),4096));const e=1e3*performance.timeOrigin;return t.tags["http.url"]&&!t.tags["http.url"].startsWith(location.origin)&&t.timestamp>e&&t.annotations&&(t.annotations=t.annotations.filter(t=>{let{timestamp:r}=t;return r>e})),t}_preTranslateSpan(t){return{attributes:this._onAttributesSerializing?this._onAttributesSerializing(t.attributes,t):t.attributes,droppedAttributesCount:t.droppedAttributesCount,droppedEventsCount:t.droppedEventsCount,droppedLinksCount:t.droppedLinksCount,duration:t.duration,ended:t.ended,endTime:t.endTime,events:t.events,instrumentationLibrary:t.instrumentationLibrary,kind:t.kind,links:t.links,name:t.name,parentSpanId:t.parentSpanId,resource:t.resource,spanContext:t.spanContext.bind(t),startTime:t.startTime,status:t.status}}constructor({beaconSender:t=c.NATIVE_BEACON_SENDER,onAttributesSerializing:e=c.NOOP_ATTRIBUTES_TRANSFORMER,url:r,xhrSender:i=c.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=e,this._xhrSender=i,this._beaconSender=t}}},97037(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),r(45999)._(r(21981),e)},21981(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get isAllWhitespaceTextNode(){return o},get isNodeNotRecorded(){return s},get shouldSkipProcessingChildren(){return a}}),r(54603),r(61571);const n=r(24441),i=r(21063),o=t=>null!==t.textContent&&!/[^\t\n\r ]/.test(t.textContent),s=t=>{var e;if((0,n.isCommentNode)(t))return!0;if((0,n.isScriptOrNoScriptElement)(t))return!0;if((0,n.isTextNode)(t)&&(null===t.previousSibling||null===t.nextSibling)&&o(t))return!0;if((0,n.isLinkElement)(t)&&["manifest","preload","prefetch","modulepreload"].includes(null!==(e=t.getAttribute("rel"))&&void 0!==e?e:""))return!0;if((0,n.isMetaElement)(t)){var r,s;if(["content-security-policy","refresh"].includes((null!==(r=t.getAttribute("http-equiv"))&&void 0!==r?r:"").toLowerCase()))return!0;if(["facebook-domain-verification","apple-itunes-app","google-site-verification"].includes((null!==(s=t.getAttribute("name"))&&void 0!==s?s:"").toLowerCase()))return!0}return!(!(0,n.isLinkElement)(t)||!((0,i.isExtensionUrl)(t.href)||(0,i.isBlobUrl)(t.href)&&"stylesheet"!==t.rel))},a=t=>!!(0,n.isStyleElement)(t)||!!(0,n.isScriptOrNoScriptElement)(t)},13094(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get getGlobal(){return d},get registerGlobal(){return c},get unregisterGlobal(){return l}});const n=r(69209),i=r(62537),o=Symbol.for("opentelemetry.js.api.1"),s="splunk.rum",a="".concat(s,".version"),u=globalThis;function c(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!u[o])return n.diag.error("SplunkRum: Tried to access global before otel setup"),!1;const r=u[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):!e&&r[s]?(n.diag.error("SplunkRum: Attempted duplicate registration of otel API ".concat(s)),!1):(r[s]=t,!0)}function l(){const t=u[o];return t?(t[a]&&t[a]!==i.VERSION&&n.diag.warn("SplunkRum version in OTel API ref (".concat(t[a],") didn't match our version (").concat(i.VERSION,").")),delete t[s],delete t[a],!0):(n.diag.warn("OTel API ref was missing while trying to unregister ".concat(s," or ").concat(a)),!1)}function d(){var t;return null===(t=u[o])||void 0===t?void 0:t[s]}},2465(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get INSTRUMENTATIONS_ALL_DISABLED(){return B},get SplunkRum(){return Z},get SplunkZipkinExporter(){return p.SplunkZipkinExporter},get default(){return Q}});const n=r(45999);r(15731),r(35505),r(28364),r(16089),r(15166),r(21717),r(96469),r(97982),r(5971);const i=r(69209),o=r(87844),s=r(76657),a=r(40353),u=r(77559),c=r(6850),l=r(87199),d=r(27129),p=r(36181),h=r(13094),f=r(28205),g=r(87805),E=r(13403),_=r(24514),m=n._(r(54662),e),v=r(62884),T=r(9541),S=r(42717),y=n._(r(71413),e),b=r(63181),O=r(6371),A=r(98056),R=r(54534),w=r(5858),L=r(91107),C=r(64301),P=r(57225),N=r(64088),M=r(62537),I=r(21586),D=r(30319),x=r(21063),U=r(40373),k={adjustSessionStartToTimeOrigin:!0,applicationName:"unknown-browser-app",beaconEndpoint:void 0,bufferSize:50,bufferTimeout:4e3,disableAutomationFrameworks:!1,disableBots:!1,disableResourceLoadErrorReporting:!1,discardDataAfterInactivity:!0,experimental:!1,exporter:{factory:t=>t.otlp?new d.SplunkOTLPTraceExporter(t):new p.SplunkZipkinExporter(t)},instrumentations:{},persistence:"cookie",rumAccessToken:void 0,sessionMetadata:void 0,spanProcessor:{factory:(t,e)=>new u.BatchSpanProcessor(t,e)}},j=[{confKey:"blockingElement",disable:!1,Instrument:f.SplunkBlockingElementInstrumentation},{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:"loaf",disable:!0,Instrument:f.SplunkLongAnimationFrameInstrumentation},{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}],B=j.map(t=>t.confKey).reduce((t,e)=>(t[e]=!1,t),{webvitals:!1});let V,G,F,H,W,Y,X,q,z,K=!1;const $=(0,w.isAgentLoadedViaLatestTag)(),J=(0,w.isAgentLoadedViaNextTag)()||(0,w.isAgentLoadedViaLockedVersionTag)();"object"==typeof window&&"object"==typeof document&&window.addEventListener("visibilitychange",()=>{"hidden"===document.visibilityState&&(null==X||X.interruptForHidden())});const Z={_internalInit:function(t){Z.init({...k,...t})},_processedOptions:null,addEventListener(t,e){null==q||q.addEventListener(t,e)},AlwaysOffSampler:u.AlwaysOffSampler,AlwaysOnSampler:u.AlwaysOnSampler,DEFAULT_AUTO_INSTRUMENTED_EVENT_NAMES:f.DEFAULT_AUTO_INSTRUMENTED_EVENT_NAMES,DEFAULT_AUTO_INSTRUMENTED_EVENTS:f.DEFAULT_AUTO_INSTRUMENTED_EVENTS,deinit(){if(K||arguments.length>0&&void 0!==arguments[0]&&arguments[0])try{var t,e,r,n;Y&&(window.removeEventListener("visibilitychange",Y),Y=void 0),null==V||V(),V=void 0,null==W||W.stop(),W=void 0,null==G||G(),G=void 0,null==z||z(),null===(t=this.sessionManager)||void 0===t||t.stop(),null===(e=this.provider)||void 0===e||e.shutdown(),delete this.provider,null===(r=this._spanEmitter)||void 0===r||r.shutdown(),delete this._spanEmitter,q=void 0,(0,h.unregisterGlobal)(),null===(n=this.userManager)||void 0===n||n.forgetAnonymousId()}catch(t){i.diag.warn("[Splunk]: SplunkRum.deinit() encountered an error during cleanup.",{error:t})}finally{K=!1,i.diag.disable()}},getAnonymousId(){var t;return null===(t=this.userManager)||void 0===t?void 0:t.getAnonymousIdIfEnabled()},getGlobalAttributes(){var t;return(null===(t=this.attributesProcessor)||void 0===t?void 0:t.getGlobalAttributes())||{}},getSessionId(){if(K)try{var t;return null===(t=this.sessionManager)||void 0===t?void 0:t.getSessionId()}catch(t){i.diag.warn("[Splunk]: SplunkRum.getSessionId() encountered an error while trying to get session ID.",{error:t})}},getSessionMetadata(){if(!K||!this.sessionManager)return null;const t=this.sessionManager.getSessionMetadata();if(!t)return null;const e={...t},r=this.getAnonymousId();return r&&(e.anonymousUserId=r),e},getSessionState(){if(K)try{var t;return null===(t=this.sessionManager)||void 0===t?void 0:t.getSessionState()}catch(t){i.diag.warn("[Splunk]: SplunkRum.getSessionState() encountered an error while trying to get session state.",{error:t})}},init:function(t){var e,r;const n=null!==(e=null===(r=t.user)||void 0===r?void 0:r.trackingMode)&&void 0!==e?e:"anonymousTracking";var d,p;if("object"==typeof window)if("OTEL_TRACES_EXPORTER"in o._globalThis||(o._globalThis.OTEL_TRACES_EXPORTER="none"),K)i.diag.warn("[Splunk]: SplunkRum.init() - already initialized.");else try{var m,R,w,B,G;if(i.diag.setLogger(new i.DiagConsoleLogger,(null!==(m=null==t?void 0:t.debug)&&void 0!==m?m:(0,U.isDebugMode)())?i.DiagLogLevel.DEBUG:i.DiagLogLevel.WARN),$){const{majorVersion:t}=(0,C.parseVersion)(M.VERSION),e="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(e,"/").concat(t,"/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(t.disableBots&&(0,L.isBot)(navigator.userAgent))return this.disabledByBotDetection=!0,void i.diag.warn("[Splunk]: SplunkRum.init() - will not be initialized, bots are not allowed.");if(t.disableAutomationFrameworks&&navigator.webdriver)return this.disabledByAutomationFrameworkDetection=!0,void i.diag.warn("[Splunk]: SplunkRum.init() - will not be initialized, automation frameworks are not allowed.");q=new l.InternalEventTarget;try{(0,A.normalizeIgnoreUrlsConfig)(t)}catch(t){i.diag.error('Could not update config to process "ignoreUrls"',t)}const e=Object.assign({},k,t,{exporter:Object.assign({},k.exporter,t.exporter)});if(void 0===(null===(w=t.exporter)||void 0===w?void 0:w.otlp)&&void 0===t.beaconEndpoint&&(e.exporter.otlp=!0),void 0!==t.beaconEndpoint&&!0!==e.exporter.otlp&&i.diag.warn('[Splunk]: SplunkRum.init() - Zipkin will be removed in the next major version in favor of OTLP. Set "exporter.otlp: true" and use an OTLP beacon endpoint or use "realm" option.'),!e.persistence||e.persistence&&!(0,O.isPersistenceType)(e.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(e.persistence));if(this._processedOptions=e,(0,P.isPickerWindow)()){const t=()=>{try{(0,P.createPicker)({getElementDataAttributes:t=>(0,x.getElementDataAttributes)(t,(0,x.resolveDataAttributesToCapture)(e)),getElementText:t=>(0,x.getTextFromNode)(t,t=>!I.PrivacyManager.shouldMaskTextNode(t,e.privacy)),getElementXPath:t=>(0,x.getElementXPath)(t,!0)})}catch(t){i.diag.error("[Splunk]: SplunkSessionRecorder.init() - Failed to initialize picker.",{error:t})}};return void("loading"===document.readyState?window.addEventListener("DOMContentLoaded",t,{once:!0}):t())}if(e.realm&&(e.beaconEndpoint?i.diag.warn("[Splunk]: SplunkRum.init() - Realm value ignored (beaconEndpoint has been specified)"):e.beaconEndpoint=(null===(p=(d=e).exporter)||void 0===p?void 0:p.otlp)?"https://rum-ingest.".concat(d.realm,".observability.splunkcloud.com/v1/rumotlp"):"https://rum-ingest.".concat(d.realm,".observability.splunkcloud.com/v1/rum")),!e.debug){if(!e.beaconEndpoint)return void i.diag.error("[Splunk]: SplunkRum.init() - beaconEndpoint is required. SplunkRum will not be initialized.");if(!e.beaconEndpoint.startsWith("https")&&!e.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.");e.rumAccessToken||i.diag.warn("[Splunk]: SplunkRum.init() - rumAccessToken will be required in the future")}const r=(0,A.generateId)(64),{applicationName:Z,deploymentEnvironment:Q,ignoreUrls:tt,version:et}=e,rt={enabled:!1,ignoreUrls:tt},nt={...o.SDK_INFO,app:Z,[c.SemanticResourceAttributes.TELEMETRY_SDK_NAME]:"@splunk/otel-web",[c.SemanticResourceAttributes.TELEMETRY_SDK_VERSION]:M.VERSION,"splunk.rumVersion":M.VERSION,"splunk.scriptInstance":r};_.BrowserInstanceService.id&&(nt["browser.instance.id"]=_.BrowserInstanceService.id);const it=(0,b.getSyntheticsRunId)();it&&(nt[b.SYNTHETICS_RUN_ID_ATTRIBUTE]=it);const ot=(0,b.getSyntheticsTestId)();ot&&(nt[b.SYNTHETICS_TEST_ID_ATTRIBUTE]=ot),J&&"string"==typeof __COMMIT_HASH__&&__COMMIT_HASH__&&(nt["splunk.rumVersionFull"]=__COMMIT_HASH__);const st=new I.StorageManager({domain:e.cookieDomain,persistence:e.persistence});let at;this.resource=new a.Resource(nt),e.sessionMetadata&&(0,D.isValidExternalSessionMetadata)(e.sessionMetadata)&&(at=e.sessionMetadata),this.sessionManager=new I.SessionManager(st,at,e.adjustSessionStartToTimeOrigin),this.userManager=new I.UserManager(n,st,null==at?void 0:at.anonymousUserId),z=this.sessionManager.subscribe(t=>{let{currentState:e,previousState:r}=t;e.isNew&&"external"!==e.source&&ft.getTracer("splunk-sessions").startSpan("session.start",{startTime:e.startTime}).end(e.startTime),r?r.id!==e.id&&(null==q||q.emit("session-changed",{sessionId:e.id})):null==q||q.emit("session-changed",{sessionId:e.id})});const ut={includeDebugInfo:e._experimental_captureBrowserDebugAttributes},ct=(0,N.getBasicPlatformInfo)(ut),lt=new g.ElementVisibilityObserver,dt=(0,I.resolveNavigationMetricsConfig)(e),pt=!1===dt?void 0:new I.NavigationMetricsManager({beaconEndpoint:e.beaconEndpoint,...!0===dt?{}:dt,elementVisibilityObserver:lt,emitNavigationAttributes:e.experimental});W=pt,this.attributesProcessor=new v.SpanAttributesProcessor(this.sessionManager,this.userManager,{...Q?{"deployment.environment":Q,environment:Q}:{},...et?{"app.version":et}:{},...$?{"splunk.rum.is_latest_tag":!0}:{},...e.globalAttributes,...ct},e.discardDataAfterInactivity,e.adjustSessionStartToTimeOrigin,pt),this._spanEmitter=new v.SpanEmitterProcessor,e.spanEmitter=this._spanEmitter;const ht=[this.attributesProcessor,this._spanEmitter];if(e.beaconEndpoint){const t=function(t){const e=t.beaconEndpoint+(t.rumAccessToken?"?auth="+t.rumAccessToken:"");return t.exporter.factory({onAttributesSerializing:t.exporter.onAttributesSerializing,otlp:t.exporter.otlp,url:e})}(e),r=e.spanProcessor.factory(t,{maxExportBatchSize:e.bufferSize,scheduledDelayMillis:e.bufferTimeout});ht.push(r),this._processor=r}e.debug&&ht.push(new u.SimpleSpanProcessor(new u.ConsoleSpanExporter)),t.spanProcessors&&ht.push(...t.spanProcessors);const ft=new y.SplunkWebTracerProvider({...e.tracer,resource:this.resource,sampler:new S.SplunkSamplerWrapper({decider:null!==(R=null===(B=e.tracer)||void 0===B?void 0:B.sampler)&&void 0!==R?R:new u.AlwaysOnSampler}),spanProcessors:ht});this.sessionManager.start();const gt=j.map(t=>{let{confKey:r,disable:n,Instrument:i}=t;const o=(0,A.getPluginConfig)(e.instrumentations[r],rt,n);if(o){const t=new i(o,e,this.sessionManager,pt,lt);return r===f.ERROR_INSTRUMENTATION_NAME&&t instanceof f.SplunkErrorInstrumentation&&(F=t),"postload"===r&&t instanceof f.SplunkPostDocLoadResourceInstrumentation&&(H=t),"blockingElement"===r&&t instanceof f.SplunkBlockingElementInstrumentation&&(X=t),t}return null}).filter(t=>Boolean(t));Y=()=>{var t;"hidden"===document.visibilityState&&(W?W.finalizeCurrentNavigation().finally(()=>{var t;null===(t=this._processor)||void 0===t||t.forceFlush()}):null===(t=this._processor)||void 0===t||t.forceFlush())},window.addEventListener("visibilitychange",Y),ft.register({contextManager:new T.SplunkContextManager({...e.context,onBeforeContextEnd:()=>null==H?void 0:H.onBeforeContextChange(),onBeforeContextStart:()=>null==H?void 0:H.onBeforeContextChange()}),propagator:new o.CompositePropagator({propagators:[new o.W3CTraceContextPropagator,new E.SafeW3CBaggagePropagator]})}),V=(0,s.registerInstrumentations)({instrumentations:gt,tracerProvider:ft}),null==pt||pt.start(),null===(G=this._spanEmitter)||void 0===G||G.enable(),this.provider=ft,K=!0,i.diag.info("SplunkRum.init() complete"),(0,N.getEnhancedPlatformInfo)(ut).then(t=>{this.setGlobalAttributes(t),i.diag.debug("[Splunk]: Enhanced platform attributes updated")})}catch(t){Y&&(window.removeEventListener("visibilitychange",Y),Y=void 0),i.diag.warn("[Splunk]: SplunkRum.init() - Failed to initialize due to internal exception.",{error:t})}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 K},ParentBasedSampler:u.ParentBasedSampler,registerManualPageLoad(){if(K){if(W)return W.registerManualPageLoad();i.diag.warn("[Splunk]: SplunkRum.registerManualPageLoad() - navigation metrics are disabled.")}else i.diag.warn("[Splunk]: SplunkRum.registerManualPageLoad() - RUM agent is not initialized.")},removeEventListener(t,e){try{null==q||q.removeEventListener(t,e)}catch(t){i.diag.warn("[Splunk]: SplunkRum.removeEventListener() encountered an error while trying to remove event listener.",{error:t})}},async reportError(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(K)if(F)if(t)if(F.isValidErrorArg(t))try{const r=(0,R.getValidAttributes)(e);await F.report("SplunkRum.reportError",t,r)}catch(t){i.diag.warn("[Splunk]: SplunkRum.reportError() - Failed to report error due to internal exception.",{error:t})}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:m.SessionBasedSampler,setGlobalAttributes(t){try{var e,r;null===(e=this.attributesProcessor)||void 0===e||e.setGlobalAttributes(t),null==q||q.emit("global-attributes-changed",{attributes:(null===(r=this.attributesProcessor)||void 0===r?void 0:r.getGlobalAttributes())||{}})}catch(t){i.diag.warn("[Splunk]: SplunkRum.setGlobalAttributes() - Failed to set global attributes due to internal error. Check attribute format and values.",{error:t})}},setUserTrackingMode(t){K&&this.userManager?I.UserManager.isUserTrackingMode(t)?this.userManager.userTrackingMode=t:i.diag.warn("[Splunk]: SplunkRum.setUserTrackingMode() - Invalid user tracking mode: ".concat(t,". 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 K&&this.userManager?this.userManager.userTrackingMode:(i.diag.warn("[Splunk]: SplunkRum.userTrackingMode - Splunk RUM agent is not initialized. Call SplunkRum.init() first."),"anonymousTracking")}},Q=Z},99085(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get BLOCKING_ELEMENT_MODULE_NAME(){return r},get BLOCKING_ELEMENT_SPAN_NAME(){return n},get BROWSER_ELEMENT_CLASS_ATTRIBUTE(){return s},get BROWSER_ELEMENT_COMPLETION_ATTRIBUTE(){return c},get BROWSER_ELEMENT_COMPLETION_COMPLETED(){return l},get BROWSER_ELEMENT_COMPLETION_INTERRUPTED(){return d},get BROWSER_ELEMENT_COMPLETION_TIMEOUT(){return p},get BROWSER_ELEMENT_COMPLETION_VISIBILITY_HIDDEN(){return h},get BROWSER_ELEMENT_ID_ATTRIBUTE(){return o},get BROWSER_ELEMENT_SELECTOR_ATTRIBUTE(){return i},get BROWSER_ELEMENT_TAG_ATTRIBUTE(){return a},get BROWSER_ELEMENT_XPATH_ATTRIBUTE(){return u},get DEFAULT_MAX_ELEMENT_SPAN_DURATION(){return g},get MAX_OPEN_ELEMENT_SPANS(){return f}});const r="splunk-blocking-element",n="blockingElement",i="browser.element.selector",o="browser.element.id",s="browser.element.class",a="browser.element.tag",u="browser.element.xpath",c="browser.element.completion",l="completed",d="interrupted",p="timeout",h="visibility_hidden",f=1e3,g=18e4},21600(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ElementSpanTracker",{enumerable:!0,get:function(){return a}});const n=r(64333);r(21717),r(11486),r(80792),r(10833),r(82376),r(9559),r(51868),r(31670);const i=r(69209),o=r(90052),s=r(99085);class a{completeSpan(t,e){this.endSpan(t,s.BROWSER_ELEMENT_COMPLETION_COMPLETED,e)}has(t){return this.tracked.has(t)}interruptAll(t){for(const e of this.trackedElements())this.interruptSpan(e,t)}interruptSpan(t,e){this.endSpan(t,e)}get openCount(){return this.tracked.size}startSpan(t,e,r){const n=this.tracked.get(t);if(n){for(const t of e)n.accumulatedSelectors.add(t);return}if(this.tracked.size>=s.MAX_OPEN_ELEMENT_SPANS)return void(this.hasWarnedAtCapacity||(this.hasWarnedAtCapacity=!0,i.diag.warn("ElementSpanTracker: Reached max open element spans; dropping further elements.",{max:s.MAX_OPEN_ELEMENT_SPANS})));const a=this.tracer.startSpan(s.BLOCKING_ELEMENT_SPAN_NAME,{root:!0,startTime:r});a.setAttribute("component",s.BLOCKING_ELEMENT_MODULE_NAME),a.setAttribute(s.BROWSER_ELEMENT_ID_ATTRIBUTE,t.id),a.setAttribute(s.BROWSER_ELEMENT_CLASS_ATTRIBUTE,function(t){var e;const r=t.className;return"string"==typeof r?r:null!==(e=r.animVal)&&void 0!==e?e:""}(t)),a.setAttribute(s.BROWSER_ELEMENT_TAG_ATTRIBUTE,t.tagName),a.setAttribute(s.BROWSER_ELEMENT_XPATH_ATTRIBUTE,(0,o.getElementXPath)(t,!0));const u=setTimeout(()=>{var e;this.endSpan(t,s.BROWSER_ELEMENT_COMPLETION_TIMEOUT,performance.now()),null===(e=this.onSpanTimeout)||void 0===e||e.call(this,t)},this.maxElementSpanDuration);this.tracked.set(t,{accumulatedSelectors:new Set(e),span:a,timeoutId:u})}trackedElements(){return Array.from(this.tracked.keys())}endSpan(t,e,r){const n=this.tracked.get(t);if(!n)return;clearTimeout(n.timeoutId),this.tracked.delete(t);const i=[...n.accumulatedSelectors].join(",");n.span.setAttribute(s.BROWSER_ELEMENT_SELECTOR_ATTRIBUTE,i),n.span.setAttribute(s.BROWSER_ELEMENT_COMPLETION_ATTRIBUTE,e),n.span.end(r)}constructor(t,e,r){n._(this,"tracer",void 0),n._(this,"maxElementSpanDuration",void 0),n._(this,"onSpanTimeout",void 0),n._(this,"hasWarnedAtCapacity",void 0),n._(this,"tracked",void 0),this.tracer=t,this.maxElementSpanDuration=e,this.onSpanTimeout=r,this.hasWarnedAtCapacity=!1,this.tracked=new Map}}},55671(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get isBlockingElementInstrumentationEnabled(){return s},get resolveBlockingElementSelectors(){return u},get resolveMaxElementSpanDuration(){return a}}),r(61571),r(54603),r(15731),r(82616);const n=r(9338),i=r(99085);function o(t,e){var r,n,i;const o=null===(i=t.urlOverrides)||void 0===i?void 0:i.find(t=>function(t,e){return"string"==typeof t?e.includes(t):(t.lastIndex=0,t.test(e))}(t.match,e));return o?{...o,blockingSelectors:null!==(r=o.blockingSelectors)&&void 0!==r?r:t.blockingSelectors,monitors:null!==(n=o.monitors)&&void 0!==n?n:t.monitors}:t}function s(t){var e;const r=null===(e=t.instrumentations)||void 0===e?void 0:e.blockingElement;return"object"==typeof r&&void 0!==r.enabled?r.enabled:"object"==typeof r||void 0===r?function(t){var e,r;const i=(0,n.resolveNavigationMetricsConfig)(t);if("object"!=typeof i)return!1;const s=o(i,location.href);return(null!==(e=s.monitors)&&void 0!==e?e:[]).includes("elements")&&(null!==(r=s.blockingSelectors)&&void 0!==r?r:[]).length>0}(t):r}function a(t){var e;const r=null===(e=t.instrumentations)||void 0===e?void 0:e.blockingElement;return"object"==typeof r&&void 0!==r.maxElementSpanDuration?r.maxElementSpanDuration:i.DEFAULT_MAX_ELEMENT_SPAN_DURATION}function u(t){var e;const r=(0,n.resolveNavigationMetricsConfig)(t);return"object"!=typeof r?[]:null!==(e=o(r,location.href).blockingSelectors)&&void 0!==e?e:[]}},56221(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DeadClickDetector",{enumerable:!0,get:function(){return a}});const n=r(64333);r(21717),r(15166),r(15731),r(96469);const i=r(87844),o=r(6371),s={ignoreUrls:[],timeWindowMs:1e3};class a{static create(t,e){const r=a.resolveConfig(e);if(r)return new a(t,e,r)}disable(){var t,e,r,n;this.domContentLoadedListener&&(document.removeEventListener("DOMContentLoaded",this.domContentLoadedListener),this.domContentLoadedListener=void 0),this.clickSpanEmitterListener&&(null===(e=this.otelConfig.spanEmitter)||void 0===e||e.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===(t=this.mutationObserver)||void 0===t||t.disconnect(),this.mutationObserver=void 0;for(const t of this.pendingClicks)clearTimeout(t.timer);this.pendingClicks=[],this.processedClickTraceIds.clear(),this.recentNetworkStartTimes=[],this.lastMutationTime=-1/0}enable(){var t,e,r;if(this.clickSpanEmitterListener)return;this.mutationObserver=new MutationObserver(()=>{this.lastMutationTime=performance.now()});const n=()=>{var t;this.domContentLoadedListener=void 0;const e=null!==(t=document.body)&&void 0!==t?t:document.documentElement;var r;e&&(null===(r=this.mutationObserver)||void 0===r||r.observe(e,{attributes:!0,characterData:!0,childList:!0,subtree:!0}))};document.body?n():(this.domContentLoadedListener=n,document.addEventListener("DOMContentLoaded",n,{once:!0})),this.clickSpanEmitterListener=t=>{this.onClickSpan(t)},null===(t=this.otelConfig.spanEmitter)||void 0===t||t.addEventListener("user-interaction",this.clickSpanEmitterListener),this.fetchSpanEmitterListener=t=>{this.onNetworkSpan(t)},null===(e=this.otelConfig.spanEmitter)||void 0===e||e.addEventListener("fetch:start",this.fetchSpanEmitterListener),this.xhrSpanEmitterListener=t=>{this.onNetworkSpan(t)},null===(r=this.otelConfig.spanEmitter)||void 0===r||r.addEventListener("xml-http-request:start",this.xhrSpanEmitterListener)}static normalizeConfig(t){if(!0===t)return s;const e="number"==typeof t.timeWindowMs&&t.timeWindowMs>0?t.timeWindowMs:s.timeWindowMs;return{ignoreUrls:Array.isArray(t.ignoreUrls)?t.ignoreUrls:s.ignoreUrls,timeWindowMs:e}}static resolveConfig(t){var e;const r=null===(e=t.instrumentations)||void 0===e?void 0:e.frustrationSignals;if(r&&"object"==typeof r){var n;if(!1===r.deadClick)return;return a.normalizeConfig(null===(n=r.deadClick)||void 0===n||n)}return a.normalizeConfig(!0)}emitFrustrationSpan(t){const e=t.span,r=[{context:e.spanContext()}],n=this.tracer.startSpan("frustration",{links:r,startTime:t.startTimeMs});n.setAttribute("frustration_type","dead"),n.setAttribute("interaction_type","click"),n.setAttribute("component","user-interaction");const i=e.attributes.target_xpath;(0,o.isString)(i)&&n.setAttribute("target_xpath",i);const s=e.attributes.target_text;(0,o.isString)(s)&&n.setAttribute("target_text",s);for(const[t,r]of Object.entries(e.attributes))t.startsWith("data.")&&n.setAttribute(t,r);n.setAttribute("click.span_id",e.spanContext().spanId),n.end(t.endTimeMs)}evaluateClick(t){const e=this.pendingClicks.indexOf(t);-1!==e&&this.pendingClicks.splice(e,1);const r=this.lastMutationTime>t.registeredAt;t.networkDetected||r||this.emitFrustrationSpan(t)}hasRecentNetworkForClick(t){for(const e of this.recentNetworkStartTimes)if(this.isNetworkInClickWindow(e,t))return!0;return!1}isInteractiveElement(t){return!0===t.attributes.target_interactive}isNetworkInClickWindow(t,e){return t>=e-100&&t<=e+this.config.timeWindowMs}onClickSpan(t){if("click"!==t.attributes.event_type)return;if((0,i.isUrlIgnored)(window.location.href,this.config.ignoreUrls))return;if(!this.isInteractiveElement(t))return;const e=(0,i.hrTimeToMilliseconds)(t.startTime),r=(0,i.hrTimeToMilliseconds)(t.endTime),n=t.spanContext().traceId;if(this.pruneProcessedClickTraceIds(e),this.processedClickTraceIds.has(n))return;this.processedClickTraceIds.set(n,e),this.pruneRecentNetworkStarts(e);const o={endTimeMs:r,networkDetected:this.hasRecentNetworkForClick(e),registeredAt:performance.now(),span:t,startTimeMs:e,timer:setTimeout(()=>{this.evaluateClick(o)},this.config.timeWindowMs)};this.pendingClicks.push(o)}onNetworkSpan(t){const e=(0,i.hrTimeToMilliseconds)(t.startTime);this.pruneRecentNetworkStarts(e),this.recentNetworkStartTimes.push(e);for(const t of this.pendingClicks)this.isNetworkInClickWindow(e,t.startTimeMs)&&(t.networkDetected=!0)}pruneProcessedClickTraceIds(t){const e=t-this.config.timeWindowMs;for(const[t,r]of this.processedClickTraceIds.entries())r<e&&this.processedClickTraceIds.delete(t)}pruneRecentNetworkStarts(t){const e=t-this.config.timeWindowMs-100;this.recentNetworkStartTimes=this.recentNetworkStartTimes.filter(t=>t>=e)}constructor(t,e,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=t,this.otelConfig=e,this.config=r,this.lastMutationTime=-1/0,this.pendingClicks=[],this.processedClickTraceIds=new Map,this.recentNetworkStartTimes=[]}}},64501(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ErrorClickDetector",{enumerable:!0,get:function(){return a}});const n=r(64333);r(21717),r(15166),r(15731),r(96469);const i=r(87844),o=r(6371),s={ignoreUrls:[],timeWindowMs:1e3};class a{static create(t,e){const r=a.resolveConfig(e);if(r)return new a(t,e,r)}disable(){var t,e;this.clickSpanEmitterListener&&(null===(t=this.otelConfig.spanEmitter)||void 0===t||t.removeEventListener("user-interaction",this.clickSpanEmitterListener),this.clickSpanEmitterListener=void 0),this.errorSpanEmitterListener&&(null===(e=this.otelConfig.spanEmitter)||void 0===e||e.removeEventListener("error",this.errorSpanEmitterListener),this.errorSpanEmitterListener=void 0),this.recentClicks=[]}enable(){var t,e;this.clickSpanEmitterListener||(this.clickSpanEmitterListener=t=>{this.onClickSpan(t)},null===(t=this.otelConfig.spanEmitter)||void 0===t||t.addEventListener("user-interaction",this.clickSpanEmitterListener),this.errorSpanEmitterListener=t=>{this.onErrorSpan(t)},null===(e=this.otelConfig.spanEmitter)||void 0===e||e.addEventListener("error",this.errorSpanEmitterListener))}static normalizeConfig(t){if(!0===t)return s;const e="number"==typeof t.timeWindowMs&&t.timeWindowMs>0?t.timeWindowMs:s.timeWindowMs;return{ignoreUrls:Array.isArray(t.ignoreUrls)?t.ignoreUrls:s.ignoreUrls,timeWindowMs:e}}static resolveConfig(t){var e;const r=null===(e=t.instrumentations)||void 0===e?void 0:e.frustrationSignals;if(r&&"object"==typeof r){var n;if(!1===r.errorClick)return;return a.normalizeConfig(null===(n=r.errorClick)||void 0===n||n)}return a.normalizeConfig(!0)}emitFrustrationSpan(t,e){const r=t.span,n=[{context:e.spanContext()},{context:r.spanContext()}],i=this.tracer.startSpan("frustration",{links:n,startTime:t.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[t,e]of Object.entries(r.attributes))t.startsWith("data.")&&i.setAttribute(t,e);const u=e.attributes["error.message"];(0,o.isString)(u)&&i.setAttribute("error.message",u);const c=e.attributes["error.object"];(0,o.isString)(c)&&i.setAttribute("error.object",c),i.setAttribute("error.source",e.name),i.setAttribute("error.span_id",e.spanContext().spanId),i.setAttribute("click.span_id",r.spanContext().spanId),i.end(t.endTimeMs)}onClickSpan(t){if("click"!==t.attributes.event_type)return;const e=(0,i.hrTimeToMilliseconds)(t.startTime),r=(0,i.hrTimeToMilliseconds)(t.endTime);this.pruneOldClicks(e),this.recentClicks.push({consumed:!1,endTimeMs:r,span:t,startTimeMs:e})}onErrorSpan(t){if((0,i.isUrlIgnored)(window.location.href,this.config.ignoreUrls))return;const e=(0,i.hrTimeToMilliseconds)(t.endTime);this.pruneOldClicks(e);for(let r=this.recentClicks.length-1;r>=0;r--){const n=this.recentClicks[r];if(!(n.consumed||e-n.startTimeMs>this.config.timeWindowMs))return this.emitFrustrationSpan(n,t),void(n.consumed=!0)}}pruneOldClicks(t){this.recentClicks=this.recentClicks.filter(e=>t-e.startTimeMs<=this.config.timeWindowMs)}constructor(t,e,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=t,this.otelConfig=e,this.config=r,this.recentClicks=[]}}},71163(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get angleDifference(){return s},get calculateAngle(){return o},get distance(){return i}}),r(35025);const n=180/Math.PI;function i(t,e,r,n){return Math.hypot(r-t,n-e)}function o(t,e,r,i){const o=Math.atan2(i-e,r-t)*n;return o>=0?o:o+360}function s(t,e){const r=Math.abs(t-e);return r>180?360-r:r}},79416(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"RageClickDetector",{enumerable:!0,get:function(){return a}});const n=r(64333);r(21717),r(15731),r(96469),r(15166),r(30879);const i=r(21586),o=r(6371),s=r(21063);class a{static create(t,e){const r=a.resolveConfig(e);if(r)return new a(t,e,r)}disable(){this.clickTimesByNode=new WeakMap,this.listener&&(document.removeEventListener("click",this.listener,!0),this.listener=void 0)}enable(){this.listener||(this.listener=t=>{const e=t.target;e&&(0,o.isNode)(e)&&this.processRageClick(e)},document.addEventListener("click",this.listener,!0))}static normalizeConfig(t){if(!0===t)return{count:4,ignoreSelectors:[],timeframeMs:1e3};const e="number"==typeof t.count&&t.count>0?Math.floor(t.count):4,r="number"==typeof t.timeframeSeconds&&t.timeframeSeconds>0?t.timeframeSeconds:1;return{count:e,ignoreSelectors:Array.isArray(t.ignoreSelectors)?t.ignoreSelectors:[],timeframeMs:1e3*r}}static resolveConfig(t){var e;const r=null===(e=t.instrumentations)||void 0===e?void 0:e.frustrationSignals;if(r&&"object"==typeof r){var n;if(!1===r.rageClick)return;return a.normalizeConfig(null===(n=r.rageClick)||void 0===n||n)}return a.normalizeConfig(!0)}processRageClick(t){const e=performance.now();let r=this.clickTimesByNode.get(t)||[];if(r=r.filter(t=>e-t<this.config.timeframeMs),r.push(e),r.length>=this.config.count&&(r=[],!(0,o.isElement)(t)||!this.config.ignoreSelectors.some(e=>t.matches(e)))){const e=Date.now(),r=this.tracer.startSpan("frustration",{startTime:e});r.setAttribute("frustration_type","rage"),r.setAttribute("interaction_type","click"),r.setAttribute("component","user-interaction"),r.setAttribute("target_xpath",(0,s.getElementXPath)(t,!0));const n=(0,s.getTextFromNode)(t,t=>!i.PrivacyManager.shouldMaskTextNode(t,this.otelConfig.privacy));r.setAttribute("target_text",n||"<".concat(t.nodeName.toLowerCase(),">")),(0,s.captureElementDataAttributes)(r,t,(0,s.resolveDataAttributesToCapture)(this.otelConfig)),r.end(e)}this.clickTimesByNode.set(t,r)}constructor(t,e,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=t,this.otelConfig=e,this.config=r,this.clickTimesByNode=new WeakMap}}},71012(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ThrashedCursorDetector",{enumerable:!0,get:function(){return a}});const n=r(64333),i=r(87844),o=r(71163),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(t,e){const r=a.resolveConfig(e);if(r)return new a(t,e,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=t=>{this.handleMouseMove(t)},document.addEventListener("mousemove",this.listener,!0))}static normalizeConfig(t){return!0===t?{...s}:{ignoreUrls:Array.isArray(t.ignoreUrls)?t.ignoreUrls:s.ignoreUrls,maxConfinedAreaSize:u(t.maxConfinedAreaSize,s.maxConfinedAreaSize),maxVelocity:u(t.maxVelocity,s.maxVelocity),minAverageVelocity:u(t.minAverageVelocity,s.minAverageVelocity),minDirectionChangeDegrees:u(t.minDirectionChangeDegrees,s.minDirectionChangeDegrees),minDirectionChanges:u(t.minDirectionChanges,s.minDirectionChanges),minMovementDistance:u(t.minMovementDistance,s.minMovementDistance),minTotalDistance:u(t.minTotalDistance,s.minTotalDistance),scoreWeightConfinedArea:u(t.scoreWeightConfinedArea,s.scoreWeightConfinedArea),scoreWeightDirectionChanges:u(t.scoreWeightDirectionChanges,s.scoreWeightDirectionChanges),scoreWeightVelocity:u(t.scoreWeightVelocity,s.scoreWeightVelocity),thrashingScoreThreshold:u(t.thrashingScoreThreshold,s.thrashingScoreThreshold),throttleMs:u(t.throttleMs,s.throttleMs,16),timeWindowMs:u(t.timeWindowMs,s.timeWindowMs)}}static resolveConfig(t){var e;const r=null===(e=t.instrumentations)||void 0===e?void 0:e.frustrationSignals;if(r&&"object"==typeof r){var n;if(!1===r.thrashedCursor)return;return a.normalizeConfig(null===(n=r.thrashedCursor)||void 0===n||n)}return a.normalizeConfig(!0)}addSample(t,e,r){const n=this.ringBuffer[this.writeIndex];n.x=t,n.y=e,n.timestamp=r,this.writeIndex=(this.writeIndex+1)%this.bufferCapacity,this.sampleCount<this.bufferCapacity&&(this.sampleCount+=1)}analyzeThrashing(t){if(this.sampleCount<3)return this.setAnalysisResult(!1,void 0);if(t-this.lastThrashingTime<this.config.timeWindowMs)return this.setAnalysisResult(!1,void 0);if(this.calculateMetrics(t),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 e=this.calculateThrashingScore();return e>=this.config.thrashingScoreThreshold?this.setAnalysisResult(!0,e):this.setAnalysisResult(!1,e)}calculateMetrics(t){const e=t-this.config.timeWindowMs;let r=0,n=0,i=-1,s=0,a=0,u=0,c=0,l=0,d=1/0,p=-1/0,h=1/0,f=-1/0,g=0,E=0,_=0;for(let t=0;t<this.sampleCount;t+=1){const m=this.ringBuffer[this.getSampleIndex(t)];if(m.timestamp<e)continue;if(u+=1,m.x<d&&(d=m.x),m.x>p&&(p=m.x),m.y<h&&(h=m.y),m.y>f&&(f=m.y),1===u){c=m.timestamp,l=m.timestamp,g=m.x,E=m.y,_=m.timestamp;continue}l=m.timestamp;const v=(0,o.distance)(g,E,m.x,m.y);r+=v;const T=(m.timestamp-_)/1e3;if(T>0&&(s+=v/T,a+=1),v>this.cachedDeadZone){const t=(0,o.calculateAngle)(g,E,m.x,m.y);i>=0&&(0,o.angleDifference)(i,t)>=this.config.minDirectionChangeDegrees&&(n+=1),i=t}g=m.x,E=m.y,_=m.timestamp}const m=l-c;this.metricsResult.sampleCount=u,this.metricsResult.totalDistance=r,this.metricsResult.directionChanges=n,this.metricsResult.averageVelocity=a>0?s/a:0,this.metricsResult.duration=m,this.metricsResult.directionChangesPerSecond=m>0?n/m*1e3:0,u>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 t=0;return t+=Math.min(this.metricsResult.directionChanges/(2*this.config.minDirectionChanges),1)*this.config.scoreWeightDirectionChanges,t+=Math.max(0,Math.min((this.metricsResult.averageVelocity-this.config.minAverageVelocity)/this.config.minAverageVelocity,1))*this.config.scoreWeightVelocity,t+=1/(1+((this.metricsResult.boundingBox.size||0)/this.config.maxConfinedAreaSize)**2)*this.config.scoreWeightConfinedArea,Math.min(t,1)}getSampleIndex(t){return this.sampleCount<this.bufferCapacity?t:(this.writeIndex+t)%this.bufferCapacity}handleMouseMove(t){const e=performance.now();if(this.config.throttleMs>0&&e-this.lastSampleTime<this.config.throttleMs)return;this.lastSampleTime=e;const r=t.clientX,n=t.clientY;if(this.hasLastMouse&&this.sampleCount>0){const t=(this.writeIndex-1+this.bufferCapacity)%this.bufferCapacity,i=(0,o.distance)(this.lastMouseX,this.lastMouseY,r,n),s=(e-this.ringBuffer[t].timestamp)/1e3;if(s>0&&i/s>this.config.maxVelocity)return this.lastMouseX=r,void(this.lastMouseY=n)}this.addSample(r,n,e),this.lastMouseX=r,this.lastMouseY=n,this.hasLastMouse=!0;const i=this.analyzeThrashing(e);i.isThrashing&&this.onThrashingDetected(i,e)}initRingBuffer(){this.ringBuffer=Array.from({length:this.bufferCapacity},()=>({timestamp:0,x:0,y:0})),this.sampleCount=0,this.writeIndex=0}onThrashingDetected(t,e){if(this.lastThrashingTime=e,(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",t.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(t,e){return this.analysisResult.isThrashing=t,this.analysisResult.thrashingScore=e,this.analysisResult}constructor(t,e,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=t,this.otelConfig=e,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 u(t,e){return"number"==typeof t&&t>(arguments.length>2&&void 0!==arguments[2]?arguments[2]:0)?t:e}},28205(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(45999);n._(r(6030),e),n._(r(5583),e),n._(r(52784),e),n._(r(17430),e),n._(r(53456),e),n._(r(79179),e),n._(r(79566),e),n._(r(62116),e),n._(r(87818),e),n._(r(12695),e),n._(r(36072),e),n._(r(32394),e),n._(r(89036),e),n._(r(21013),e),n._(r(64378),e)},9345(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get LOAF_MODULE_NAME(){return r},get LOAF_SOURCE_WINDOW_MS(){return n},get LONG_ANIMATION_FRAME_PERFORMANCE_TYPE(){return i},get MAX_LOAF_SCRIPT_SUMMARIES(){return o},get MAX_LOAF_SPANS_PER_SOURCE_WINDOW(){return s}});const r="splunk-loaf",n=6e4,i="long-animation-frame",o=3,s=50},71524(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get LOAF_MODULE_NAME(){return i.LOAF_MODULE_NAME},get LONG_ANIMATION_FRAME_PERFORMANCE_TYPE(){return i.LONG_ANIMATION_FRAME_PERFORMANCE_TYPE},get MAX_LOAF_SCRIPT_SUMMARIES(){return i.MAX_LOAF_SCRIPT_SUMMARIES}});const n=r(45999),i=r(9345);n._(r(92712),e),n._(r(41174),e),n._(r(68347),e),n._(r(35061),e)},67962(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get LoafSpanRateLimiter(){return o},get getLoafSourceRateLimitKey(){return s}});const n=r(64333);r(15166),r(21717),r(45178),r(28364),r(15731),r(16089);const i=r(9345);class o{shouldEmit(t){var e;const r=s(t),n=null!==(e=this.emittedTimestampsBySourceKey.get(r))&&void 0!==e?e:[],o=t.startTime-i.LOAF_SOURCE_WINDOW_MS;for(;n.length>0&&n[0]<=o;)n.shift();return!(n.length>=i.MAX_LOAF_SPANS_PER_SOURCE_WINDOW||(n.push(t.startTime),this.emittedTimestampsBySourceKey.set(r,n),0))}constructor(){n._(this,"emittedTimestampsBySourceKey",new Map)}}function s(t){const e=function(t){if(t&&0!==t.length)return t.reduce((t,e)=>e.duration>t.duration?e:t)}(t.scripts);return e?JSON.stringify(["script",e.sourceURL,e.invoker,e.invokerType,e.sourceFunctionName,e.sourceCharPosition]):JSON.stringify(["frame",t.entryType,t.name])}},92712(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getLoafScriptSummaries",{enumerable:!0,get:function(){return i}}),r(15731),r(35505),r(99757);const n=r(9345);function i(t){return t.map((t,e)=>({index:e,script:t})).toSorted((t,e)=>e.script.duration-t.script.duration||t.index-e.index).slice(0,n.MAX_LOAF_SCRIPT_SUMMARIES).map(t=>{let{script:e}=t;return{duration:e.duration,executionStart:e.executionStart,forcedStyleAndLayoutDuration:e.forcedStyleAndLayoutDuration,invoker:e.invoker,invokerType:e.invokerType,pauseDuration:e.pauseDuration,sourceCharPosition:e.sourceCharPosition,sourceFunctionName:e.sourceFunctionName,sourceURL:e.sourceURL,startTime:e.startTime,windowAttribution:e.windowAttribution}})}},41174(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"setLoafEntryAttributes",{enumerable:!0,get:function(){return s}}),r(15731),r(47776);const n=r(29893),i=r(9345),o=r(92712);function s(t,e){t.setAttribute("component",i.LOAF_MODULE_NAME),(0,n.setStringAttribute)(t,"loaf.name",e.name),(0,n.setStringAttribute)(t,"loaf.entry_type",e.entryType),(0,n.setRoundedNumberAttribute)(t,"loaf.duration",e.duration),(0,n.setRoundedNumberAttribute)(t,"loaf.blocking_duration",e.blockingDuration),(0,n.setRoundedNumberAttribute)(t,"loaf.paint_time",e.paintTime),(0,n.setRoundedNumberAttribute)(t,"loaf.presentation_time",e.presentationTime),(0,n.setRoundedNumberAttribute)(t,"loaf.render_start",e.renderStart),(0,n.setRoundedNumberAttribute)(t,"loaf.style_and_layout_start",e.styleAndLayoutStart),(0,n.setRoundedNumberAttribute)(t,"loaf.first_ui_event_timestamp",e.firstUIEventTimestamp),(0,n.setRoundedNumberAttribute)(t,"loaf.entry_start_time",e.startTime);const r=Array.isArray(e.scripts)?e.scripts:[];(0,n.setRoundedNumberAttribute)(t,"loaf.script_count",r.length),(0,o.getLoafScriptSummaries)(r).forEach((e,r)=>{const i="loaf.script[".concat(r,"]");(0,n.setRoundedNumberAttribute)(t,"".concat(i,".duration"),e.duration),(0,n.setRoundedNumberAttribute)(t,"".concat(i,".execution_start"),e.executionStart),(0,n.setStringAttribute)(t,"".concat(i,".invoker"),e.invoker),(0,n.setStringAttribute)(t,"".concat(i,".invoker_type"),e.invokerType),(0,n.setRoundedNumberAttribute)(t,"".concat(i,".pause_duration"),e.pauseDuration),(0,n.setRoundedNumberAttribute)(t,"".concat(i,".source_char_position"),e.sourceCharPosition),(0,n.setStringAttribute)(t,"".concat(i,".source_url"),e.sourceURL),(0,n.setStringAttribute)(t,"".concat(i,".source_function_name"),e.sourceFunctionName),(0,n.setRoundedNumberAttribute)(t,"".concat(i,".forced_style_and_layout_duration"),e.forcedStyleAndLayoutDuration),(0,n.setRoundedNumberAttribute)(t,"".concat(i,".start_time"),e.startTime),(0,n.setStringAttribute)(t,"".concat(i,".window_attribution"),e.windowAttribution)})}},68347(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get isLoafInstrumentationEnabled(){return o},get isLongAnimationFrameSupported(){return i}}),r(61571);const n=r(9345);function i(){var t,e;return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:null!==(t=null===(e=window.PerformanceObserver)||void 0===e?void 0:e.supportedEntryTypes)&&void 0!==t?t:[]).includes(n.LONG_ANIMATION_FRAME_PERFORMANCE_TYPE)}function o(t){return void 0!==t&&!1!==t&&("object"!=typeof t||!1!==t.enabled)}},35061(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},6030(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"SplunkBlockingElementInstrumentation",{enumerable:!0,get:function(){return h}});const n=r(64333);r(21717),r(11486),r(80792),r(10833),r(82376),r(9559),r(51868),r(31670),r(15731),r(96469),r(57332);const i=r(69209),o=r(76657),s=r(62537),a=r(99085),u=r(21600),c=r(55671),l={capture:!0},d={capture:!0},p={capture:!0};class h extends o.InstrumentationBase{disable(){var t,e;this.hasEnabled=!1,null===(t=this.routeChangeUnsubscribe)||void 0===t||t.call(this),this.routeChangeUnsubscribe=void 0,window.removeEventListener("pagehide",this.handlePagehide,l),window.removeEventListener("pageshow",this.handlePageshow,d),window.removeEventListener("visibilitychange",this.handleDocumentVisible,p),null===(e=this.elementSpanTracker)||void 0===e||e.interruptAll(a.BROWSER_ELEMENT_COMPLETION_INTERRUPTED),this.elementSpanTracker=void 0,this.selectors=[],this.activeSelectorsByElement.clear(),this.timedOutElements.clear(),this.elementVisibilityObserver.unwatch(this.consumerId)}enable(){var t;this.hasEnabled?i.diag.warn("SplunkBlockingElementInstrumentation: Already enabled."):(this.hasEnabled=!0,this.elementSpanTracker=new u.ElementSpanTracker(this.tracer,(0,c.resolveMaxElementSpanDuration)(this.otelConfig),t=>this.timedOutElements.add(t)),window.addEventListener("pagehide",this.handlePagehide,l),window.addEventListener("pageshow",this.handlePageshow,d),window.addEventListener("visibilitychange",this.handleDocumentVisible,p),this.routeChangeUnsubscribe=null===(t=this.navigationMetricsManager)||void 0===t?void 0:t.onRouteChange(this.applySelectors),this.applySelectors())}init(){}interruptForHidden(){var t;null===(t=this.elementSpanTracker)||void 0===t||t.interruptAll(a.BROWSER_ELEMENT_COMPLETION_VISIBILITY_HIDDEN),this.activeSelectorsByElement.clear(),this.timedOutElements.clear()}matchesSelector(t,e){try{return t.matches(e)}catch{return!1}}constructor(t={},e,r,i,o){if(super(a.BLOCKING_ELEMENT_MODULE_NAME,s.VERSION,{...t,enabled:!1}),n._(this,"otelConfig",void 0),n._(this,"activeSelectorsByElement",void 0),n._(this,"consumerId",void 0),n._(this,"elementSpanTracker",void 0),n._(this,"elementVisibilityObserver",void 0),n._(this,"hasEnabled",void 0),n._(this,"navigationMetricsManager",void 0),n._(this,"routeChangeUnsubscribe",void 0),n._(this,"selectors",void 0),n._(this,"timedOutElements",void 0),n._(this,"applySelectors",void 0),n._(this,"handleDocumentVisible",void 0),n._(this,"handlePagehide",void 0),n._(this,"handlePageshow",void 0),n._(this,"handleVisibilityChange",void 0),this.otelConfig=e,this.activeSelectorsByElement=new Map,this.consumerId=Symbol("splunk-blocking-element"),this.hasEnabled=!1,this.selectors=[],this.timedOutElements=new Set,this.applySelectors=()=>{this.selectors=(0,c.isBlockingElementInstrumentationEnabled)(this.otelConfig)?(0,c.resolveBlockingElementSelectors)(this.otelConfig):[],this.elementVisibilityObserver.watch(this.consumerId,this.selectors,this.handleVisibilityChange)},this.handleDocumentVisible=()=>{if("visible"===document.visibilityState)for(const t of this.selectors)this.elementVisibilityObserver.resync(this.consumerId,t)},this.handlePagehide=()=>{var t;null===(t=this.elementSpanTracker)||void 0===t||t.interruptAll(a.BROWSER_ELEMENT_COMPLETION_INTERRUPTED),this.activeSelectorsByElement.clear(),this.timedOutElements.clear()},this.handlePageshow=t=>{if(t.persisted)for(const t of this.selectors)this.elementVisibilityObserver.resync(this.consumerId,t)},this.handleVisibilityChange=t=>{const e=this.elementSpanTracker;if(!e)return;const{element:r,selector:n,visible:i}=t,o=performance.now();if(!i){const t=this.activeSelectorsByElement.get(r);if(null==t||t.delete(n),t&&t.size>0)return;return this.activeSelectorsByElement.delete(r),this.timedOutElements.delete(r),void e.completeSpan(r,o)}if("hidden"===document.visibilityState)return;const s=this.selectors.filter(t=>this.matchesSelector(r,t));this.activeSelectorsByElement.set(r,new Set(s)),this.timedOutElements.has(r)||e.startSpan(r,s,o)},!o)throw new Error("SplunkBlockingElementInstrumentation requires elementVisibilityObserver.");this.elementVisibilityObserver=o,this.navigationMetricsManager=i}}},5583(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"SplunkConnectivityInstrumentation",{enumerable:!0,get:function(){return s}});const n=r(64333),i=r(76657),o=r(62537);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(t,e){const r=this.tracer.startSpan("connectivity",{startTime:e});r.setAttribute("online",t),r.end(e)}constructor(t={},e,r){super("splunk-connectivity",o.VERSION,Object.assign({},t)),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=e,this.sessionManager=r,this.offlineStart=navigator.onLine?null:Date.now()}}},52784(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"SplunkDocumentLoadInstrumentation",{enumerable:!0,get:function(){return v}});const n=r(64333),i=r(82446);r(11486),r(80792),r(10833),r(82376),r(9559),r(51868),r(31670),r(21717);const o=i._(r(69209)),s=r(87844),a=r(99302),u=r(56490),c=r(6850),l=r(21586),d=r(65022),p=r(57763),h=r(200),f=r(70280),g=r(26233),E=r(2614),_=new Set(["beacon","fetch","xmlhttprequest"]);function m(t){document.referrer&&""!==document.referrer&&t.setAttribute("document.referrer",document.referrer),window.screen&&t.setAttribute("screen.xy",window.screen.width+"x"+window.screen.height)}class v extends a.DocumentLoadInstrumentation{disable(){var t;null===(t=this.navigationTimingObserver)||void 0===t||t.disconnect(),this.navigationTimingObserver=void 0,this.endPageLoadSpan(),super.disable()}setTracerProvider(t){super.setTracerProvider(t),this.startPageLoadSpanWhenNavigationTimingIsAvailable()}endPageLoadSpan(t){var e;null===(e=this.pageLoadSpan)||void 0===e||e.end(t),this.navigationStartTimeMillis=void 0,this.pageLoadSpan=void 0}startPageLoadSpan(t){var e,r,n;null!==(e=this.navigationStartTimeMillis)&&void 0!==e||(this.navigationStartTimeMillis=(0,s.hrTimeToMilliseconds)((0,s.timeInputToHrTime)(t))),!this.pageLoadSpan&&this.documentLoadMetricsPromise&&this.otelConfig.experimental&&(null===(r=this.navigationTimingObserver)||void 0===r||r.disconnect(),this.navigationTimingObserver=void 0,this.pageLoadSpan=this.tracer.startSpan("pageLoad",{startTime:this.navigationStartTimeMillis}),this.pageLoadSpan.setAttribute("component",this.component),this.pageLoadSpan.setAttribute(c.SEMATTRS_HTTP_URL,location.href),this.pageLoadSpan.setAttribute(c.SemanticAttributes.HTTP_USER_AGENT,navigator.userAgent),null===(n=this.navigationMetricsManager)||void 0===n||n.setCurrentNavigationSpan(this.pageLoadSpan,0,d.BROWSER_NAVIGATION_DOCUMENT_LOAD_OPERATION))}startPageLoadSpanWhenNavigationTimingIsAvailable(){if(!this.documentLoadMetricsPromise||!this.otelConfig.experimental||this.pageLoadSpan||this.navigationTimingObserver)return;const t=performance.getEntriesByType("navigation")[0];if(t&&Number.isFinite(t.fetchStart))this.startPageLoadSpan(t.fetchStart);else if("undefined"!=typeof PerformanceObserver)try{this.navigationTimingObserver=new PerformanceObserver(t=>{const e=t.getEntriesByType("navigation")[0];e&&Number.isFinite(e.fetchStart)&&this.startPageLoadSpan(e.fetchStart)}),this.navigationTimingObserver.observe({buffered:!0,type:"navigation"})}catch(t){var e;null===(e=this.navigationTimingObserver)||void 0===e||e.disconnect(),this.navigationTimingObserver=void 0,o.diag.debug("SplunkDocumentLoadInstrumentation: Unable to observe initial navigation timing.",{error:t})}}constructor(t={},e,r,i){var v;super(t),n._(this,"otelConfig",void 0),n._(this,"sessionManager",void 0),n._(this,"documentLoadMetricsPromise",void 0),n._(this,"navigationMetricsManager",void 0),n._(this,"navigationStartTimeMillis",void 0),n._(this,"navigationTimingObserver",void 0),n._(this,"pageLoadSpan",void 0),this.otelConfig=e,this.sessionManager=r,this.navigationMetricsManager=i,this.documentLoadMetricsPromise=null===(v=this.navigationMetricsManager)||void 0===v?void 0:v.waitForPageLoad({startTime:0});const T=this,S=T._startSpan.bind(this),y=T._endSpan.bind(this);T._startSpan=(t,e,r,n)=>{const i=t!==a.AttributeNames.DOCUMENT_LOAD&&t!==a.AttributeNames.DOCUMENT_FETCH||void 0===this.navigationStartTimeMillis?r:{...r,[u.PerformanceTimingNames.FETCH_START]:this.navigationStartTimeMillis},o=S(t,e,i,n);var s,c;o&&t===a.AttributeNames.DOCUMENT_LOAD&&(o.setAttribute(d.BROWSER_NAVIGATION_OPERATION_ATTRIBUTE,d.BROWSER_NAVIGATION_DOCUMENT_LOAD_OPERATION),o.setAttribute("component",this.component),m(o),this.pageLoadSpan||null===(c=this.navigationMetricsManager)||void 0===c||c.setCurrentNavigationSpan(o,0,d.BROWSER_NAVIGATION_DOCUMENT_LOAD_OPERATION),null===(s=this.otelConfig.spanEmitter)||void 0===s||s.emitSpan(o,"start"));return o},T._onDocumentLoaded=t=>{t&&!t.isTrusted||window.setTimeout(()=>{T._collectPerformance()})},T._endSpan=(t,e,r)=>{const n=t;if(t&&t.setAttribute("component",this.component),t&&n.name!==a.AttributeNames.DOCUMENT_LOAD){const e=n.name===a.AttributeNames.RESOURCE_FETCH,o=r[u.PerformanceTimingNames.FETCH_START];if("number"==typeof o){const n=e?o:Math.max(o,0);(0,p.setBrowserNavigationPageAttributes)(t,this.navigationMetricsManager,n,e?{monitorTypes:(0,h.getPctMonitorTypes)(r.initiatorType),type:"resource",url:r.name}:{type:"document"})}if(n.name===a.AttributeNames.DOCUMENT_FETCH&&performance.getEntriesByType){var i;const e=performance.getEntriesByType("navigation");!r.serverTiming&&(null===(i=e[0])||void 0===i?void 0:i.serverTiming)&&(r.serverTiming=e[0].serverTiming),e[0]&&"number"==typeof e[0].responseStatus&&e[0].responseStatus>0&&t.setAttribute(c.SemanticAttributes.HTTP_STATUS_CODE,e[0].responseStatus)}(0,f.captureTraceParentFromPerformanceEntries)(r,t),t.setAttribute(c.SemanticAttributes.HTTP_METHOD,"GET")}if(!t||n.name!==a.AttributeNames.DOCUMENT_LOAD||(m(t),!this.documentLoadMetricsPromise))return y(t,e,r);this.documentLoadMetricsPromise.then(n=>{var i,a,c;const d=(0,l.ensurePageLoadMetricsAtLeastDocumentLoadTime)(n,function(t){const e=t[u.PerformanceTimingNames.FETCH_START],r=t[u.PerformanceTimingNames.LOAD_EVENT_END];return"number"!=typeof e||"number"!=typeof r?0:r-e}(r));if(null===(a=this.navigationMetricsManager)||void 0===a||a.setPageLoadMetricAttributes(t,d),null===(c=this.navigationMetricsManager)||void 0===c||c.completeCurrentNavigationPct(null!==(i=this.pageLoadSpan)&&void 0!==i?i:t,d.pct),this.pageLoadSpan&&void 0!==this.navigationStartTimeMillis){var p;const t=this.pageLoadSpan;null===(p=this.navigationMetricsManager)||void 0===p||p.setPageLoadMetricAttributes(t,d),this.endPageLoadSpan((0,s.addHrTimes)(t.startTime,(0,s.millisToHrTime)(d.pct)))}o.diag.debug("Sending documentLoad span with PCT result",d),y(t,e,r)}).catch(n=>{var i,s;if(null===(s=this.navigationMetricsManager)||void 0===s||s.completeCurrentNavigationPct(null!==(i=this.pageLoadSpan)&&void 0!==i?i:t),o.diag.warn("SplunkDocumentLoadInstrumentation: Failed to resolve page load metrics.",{error:n}),this.pageLoadSpan){const t=r[e];this.endPageLoadSpan("number"==typeof t?t:void 0)}y(t,e,r)})},T._initResourceSpan=(e,r)=>{if(_.has(e.initiatorType)||(0,s.isUrlIgnored)(e.name,t.ignoreUrls))return;const n=T._startSpan(a.AttributeNames.RESOURCE_FETCH,u.PerformanceTimingNames.FETCH_START,e,r);if(n){var i;n.setAttribute(c.SEMATTRS_HTTP_URL,e.name);const t=(0,g.isCacheHit)(e);void 0!==t&&n.setAttribute("http.cache.hit",t),T.getConfig().ignoreNetworkEvents||((0,u.addSpanNetworkEvents)(n,e),(0,E.setResourceTimingStatus)(n,e)),T._addCustomAttributesOnResourceSpan(n,e,null===(i=T.getConfig().applyCustomAttributesOnSpan)||void 0===i?void 0:i.resourceFetch),T._endSpan(n,u.PerformanceTimingNames.RESPONSE_END,e)}}}}},17430(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get ERROR_INSTRUMENTATION_NAME(){return v},get ERROR_INSTRUMENTATION_VERSION(){return T},get STACK_TRACE_URL_PATTER(){return g},get SplunkErrorInstrumentation(){return y}});const n=r(64333),i=r(82446);r(54603),r(15731),r(47776),r(45178),r(57332),r(82616),r(35505),r(97982),r(43994),r(21717);const o=r(69209),s=r(87844),a=r(76657),u=i._(r(40554)),c=r(6371),l=r(98056),d=r(54534),p=r(74279),h=r(21063),f=r(2614),g=/[\w]+:\/\/[^\s]+?(?::\d+)?(?=:[\d]+:[\d]+)/g;function E(t){return t&&""!==t.trim()&&!t.startsWith("[object")&&"error"!==t}function _(t){if(void 0===t)return"(undefined)";if(null===t)return"(null)";if(t.toString)return t.toString();try{return Object.prototype.toString.call(t)}catch{return"(unknown)"}}function m(t,e){if(e&&e.stack&&E(e.stack)){t.setAttribute("error.stack",(0,l.limitLen)(e.stack.toString(),4096));const r=function(t){const e={},r=t.match(g);return r&&r.forEach(t=>{const r=t.split(/:(?=\d+$)/)[0],n=window.sourceMapIds;n&&n[r]&&!e[r]&&(e[r]=n[r])}),JSON.stringify(e)}(e.stack);r&&t.setAttribute("error.source_map_ids",r)}}const v="errors",T="1",S=(t,e)=>({context:e,error:t});class y extends a.InstrumentationBase{disable(){u.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(){u.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(t,e,r){if(Array.isArray(e)&&0===e.length)return;Array.isArray(e)&&1===e.length&&(e=e[0]);const n=this.transform(e,r);if(null===n)return;const{context:i,error:o}=n;if(o instanceof Error)await this.reportError(t,o,i);else if(o instanceof ErrorEvent)await this.reportErrorEvent(t,o,i);else if(o instanceof Event)await this.reportEvent(t,o,i);else if("string"==typeof o)await this.reportString(t,o,void 0,i);else if(Array.isArray(o)){const e=o.find(t=>t instanceof Error);await this.reportString(t,o.map(t=>_(t)).join(" "),e,i)}else await this.reportString(t,_(o),void 0,i)}async reportError(t,e,r){const n=e.message||e.toString();if(!E(n)&&!e.stack)return;const i=Date.now(),o=this.tracer.startSpan(t,{startTime:i});this.attachSpanContext(o,e,r),o.setAttribute("component","error"),o.setAttribute("error",!0),o.setAttribute("error.object",E(e.name)?e.name:e.constructor&&e.constructor.name?e.constructor.name:"Error"),o.setAttribute("error.message",(0,l.limitLen)(n,1024)),m(o,e),await this.endSpanWithThrottle(o,i)}async reportErrorEvent(t,e,r){e.error?await this.report(t,e.error,r):e.message&&await this.report(t,e.message,r)}async reportEvent(t,e,r){if(this.otelConfig.disableResourceLoadErrorReporting&&(0,f.isResourceElementLoadError)(e))return;if(!e.target&&!E(e.type))return;const n=Date.now(),i=this.tracer.startSpan(t,{startTime:n});if(this.attachSpanContext(i,e,r),i.setAttribute("component","error"),i.setAttribute("error.type",e.type),e.target&&(i.setAttribute("target_xpath",(0,h.getElementXPath)(e.target,!0)),(0,c.isElement)(e.target))){var o;i.setAttribute("target_element",e.target.tagName);let t=null!==(o=e.target.getAttribute("src"))&&void 0!==o?o:"";t=t.startsWith("blob://")?"blob://":t.startsWith("data:")?"".concat(t.slice(0,47),"..."):t.slice(0,800),t&&(i.setAttribute("target_src",t),t=' src="'.concat(t,'"')),i.setAttribute("error.message","Failed to load <".concat(e.target.tagName.toLowerCase()).concat(t," />"))}await this.endSpanWithThrottle(i,n)}async reportString(t,e,r,n){if(!E(e))return;const i=Date.now(),o=this.tracer.startSpan(t,{startTime:i});this.attachSpanContext(o,null!=r?r:e,n),o.setAttribute("component","error"),o.setAttribute("error",!0),o.setAttribute("error.object","String"),o.setAttribute("error.message",(0,l.limitLen)(e,1024)),r&&m(o,r),await this.endSpanWithThrottle(o,i)}transform(t,e){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:S;i=n(t,e)}),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:e,error:t};({context:n,error:r}=i)}catch(r){return o.diag.warn("onError handler failed:",r),{context:e,error:t}}return r===t||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:e,error:t}):(o.diag.warn("ignoring an error because onError handler was expected to produce a valid error, but instead returned: ".concat(typeof r)),{context:e,error:t})}attachClearingInterval(){this.clearingIntervalId=setInterval(()=>{"function"==typeof requestIdleCallback?requestIdleCallback(this.clearExpiredItemsInThrottleMap,{timeout:1e3}):this.clearExpiredItemsInThrottleMap()},5e3)}attachSpanContext(t,e,r){const n=e,i=(0,d.getValidAttributes)(n.splunkContext||{}),o=Object.entries({...r,...i});for(const[e,r]of o)t.setAttribute(e,r)}async endSpanWithThrottle(t,e){try{var r;const n=JSON.stringify([t.attributes,t.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()),t.end(e))}catch(t){return void o.diag.debug("Error while ending span",t)}}constructor(t,e,r){super(v,T,t),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=t,this.otelConfig=e,this.sessionManager=r,this.throttleMap=new Map,this.isValidContext=t=>(0,d.isPlainObject)(t),this.isValidErrorArg=t=>t instanceof Error||t instanceof ErrorEvent||t instanceof Event||"string"==typeof t,this.clearExpiredItemsInThrottleMap=()=>{this.throttleMap.forEach((t,e)=>{performance.now()-t>1e3&&this.throttleMap.delete(e)})},this.consoleErrorHandler=t=>{var e=this;return async function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return await e.report("console.error",n,{}),t.apply(e,n)}},this.documentErrorListener=async t=>{await this.report("eventListener.error",t,{})},this.errorListener=async t=>{await this.report("onerror",t,{})},this.unhandledRejectionListener=async t=>{await this.report("unhandledrejection",t.reason,{})}}}},53456(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"SplunkFetchInstrumentation",{enumerable:!0,get:function(){return l}});const n=r(64333),i=r(82446);r(97982),r(21717),r(43994);const o=i._(r(69209)),s=r(87844),a=r(50600),u=r(57763),c=r(70280);class l extends a.FetchInstrumentation{enable(){window.fetch&&super.enable()}constructor(t={},e,r,i){var a,l,d;const p=null!==(a=null!==(l=t.separateTraces)&&void 0!==l?l:e.separateTraces)&&void 0!==a&&a,h=t.applyCustomAttributesOnSpan,f=new WeakMap;t.applyCustomAttributesOnSpan=function(t,e,r){t.updateName("HTTP ".concat((e.method||"GET").toUpperCase())),t.setAttribute("component","fetch");const n=f.get(t);if(n&&(0,u.setBrowserNavigationPageAttributes)(t,i,n.startTime,{monitorTypes:["network"],type:"resource",url:n.url}),t&&r instanceof Response&&r.headers){const e=r.headers.get("Server-Timing");e&&(0,c.captureTraceParent)(e,t)}h&&h(t,e,r)},super(t),n._(this,"sessionManager",void 0),n._(this,"navigationMetricsManager",void 0),n._(this,"otelConfig",void 0),this.sessionManager=r,this.navigationMetricsManager=i,this.otelConfig=e;const g=null===(d=this._createSpan)||void 0===d?void 0:d.bind(this);this._createSpan=(t,e)=>{const r=performance.now();let n;if(p){const r=o.context.active(),i=o.trace.getSpan(r),a=null==i?void 0:i.spanContext(),u=(0,s.isTracingSuppressed)(r)?(0,s.suppressTracing)(o.ROOT_CONTEXT):o.ROOT_CONTEXT;n=o.context.with(u,()=>g(t,e)),n&&(null==a?void 0:a.traceId)&&n.setAttributes({"link.interaction.spanId":a.spanId,"link.interaction.traceId":a.traceId})}else n=g(t,e);return n&&(f.set(n,{startTime:r,url:t}),(0,u.setBrowserNavigationPageAttributes)(n,i,r)),n};const E=this._addHeaders.bind(this);this._addHeaders=(t,e)=>{try{t.headers&&Array.isArray(t.headers)&&(t.headers=new Headers(t.headers))}catch(t){o.diag.error("Error fixing headers",t)}return E(t,e)}}}},79179(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get FRUSTRATION_SIGNALS_INSTRUMENTATION_NAME(){return l},get SplunkFrustrationSignalsInstrumentation(){return d}});const n=r(64333),i=r(76657),o=r(62537),s=r(56221),a=r(64501),u=r(79416),c=r(71012),l="frustrationSignals";class d extends i.InstrumentationBase{disable(){var t,e,r,n;null===(t=this.deadClickDetector)||void 0===t||t.disable(),this.deadClickDetector=void 0,null===(e=this.rageClickDetector)||void 0===e||e.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 t,e,r,n;this.deadClickDetector||(this.deadClickDetector=s.DeadClickDetector.create(this.tracer,this.otelConfig)),null===(t=this.deadClickDetector)||void 0===t||t.enable(),this.rageClickDetector||(this.rageClickDetector=u.RageClickDetector.create(this.tracer,this.otelConfig)),null===(e=this.rageClickDetector)||void 0===e||e.enable(),this.thrashedCursorDetector||(this.thrashedCursorDetector=c.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(t={},e,r){super("splunk-frustration-signals",o.VERSION,t),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=e,this.sessionManager=r}}},79566(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get LONG_ANIMATION_FRAME_PERFORMANCE_TYPE(){return u.LONG_ANIMATION_FRAME_PERFORMANCE_TYPE},get MAX_LOAF_SCRIPT_SUMMARIES(){return u.MAX_LOAF_SCRIPT_SUMMARIES},get SplunkLongAnimationFrameInstrumentation(){return l},get getLoafScriptSummaries(){return u.getLoafScriptSummaries},get isLoafInstrumentationEnabled(){return u.isLoafInstrumentationEnabled},get isLongAnimationFrameSupported(){return u.isLongAnimationFrameSupported}});const n=r(64333);r(15731),r(47776);const i=r(69209),o=r(76657),s=r(57763),a=r(62537),u=r(71524),c=r(67962);class l extends o.InstrumentationBase{disable(){var t;null===(t=this.loafObserver)||void 0===t||t.disconnect(),this.loafObserver=void 0}enable(){if((0,u.isLongAnimationFrameSupported)()){this.loafObserver=new PerformanceObserver(t=>{t.getEntries().forEach(t=>this.createSpanFromEntry(t))});try{this.loafObserver.observe({buffered:!0,type:u.LONG_ANIMATION_FRAME_PERFORMANCE_TYPE})}catch(t){i.diag.warn("[Splunk]: LoAF instrumentation failed to observe long-animation-frame entries.",{error:t}),this.loafObserver.disconnect(),this.loafObserver=void 0}}}init(){}createSpanFromEntry(t){if(!this.spanRateLimiter.shouldEmit(t))return;const e=this.tracer.startSpan(u.LONG_ANIMATION_FRAME_PERFORMANCE_TYPE,{startTime:t.startTime});(0,u.setLoafEntryAttributes)(e,t),(0,s.setBrowserNavigationPageAttributes)(e,this.navigationMetricsManager,t.startTime),e.end(t.startTime+t.duration)}constructor(t={},e,r,i){super(u.LOAF_MODULE_NAME,a.VERSION,Object.assign({},t)),n._(this,"sessionManager",void 0),n._(this,"navigationMetricsManager",void 0),n._(this,"loafObserver",void 0),n._(this,"spanRateLimiter",void 0),this.sessionManager=r,this.navigationMetricsManager=i,this.spanRateLimiter=new c.LoafSpanRateLimiter}}},62116(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"SplunkLongTaskInstrumentation",{enumerable:!0,get:function(){return l}});const n=r(64333);r(15731),r(47776),r(61571);const i=r(76657),o=r(57763),s=r(62537),a=r(71524),u="longtask",c="splunk-longtask";class l extends i.InstrumentationBase{disable(){var t;this.isSupported()&&(null===(t=this._longtaskObserver)||void 0===t||t.disconnect())}enable(){this.isSupported()&&(this.shouldSuppressForLoaf()||(this._longtaskObserver=new PerformanceObserver(t=>{t.getEntries().forEach(t=>this._createSpanFromEntry(t))}),this._longtaskObserver.observe({buffered:!0,type:u})))}init(){}_createSpanFromEntry(t){const e=this.tracer.startSpan(u,{startTime:t.startTime});e.setAttribute("component",c),(0,o.setBrowserNavigationPageAttributes)(e,this.navigationMetricsManager,t.startTime),e.setAttribute("longtask.name",t.name),e.setAttribute("longtask.entry_type",t.entryType),e.setAttribute("longtask.duration",t.duration);const r=t.attribution;Array.isArray(r)&&r.forEach((t,r)=>{const n=t>1?"longtask.attribution[".concat(r,"]"):"longtask.attribution";e.setAttribute("".concat(n,".name"),t.name),e.setAttribute("".concat(n,".entry_type"),t.entryType),e.setAttribute("".concat(n,".start_time"),t.startTime),e.setAttribute("".concat(n,".duration"),t.duration),e.setAttribute("".concat(n,".container_type"),t.containerType),e.setAttribute("".concat(n,".container_src"),t.containerSrc),e.setAttribute("".concat(n,".container_id"),t.containerId),e.setAttribute("".concat(n,".container_name"),t.containerName)}),e.end(t.startTime+t.duration)}isSupported(){var t,e;return(null!==(t=null===(e=window.PerformanceObserver)||void 0===e?void 0:e.supportedEntryTypes)&&void 0!==t?t:[]).includes(u)}shouldSuppressForLoaf(){var t;return(0,a.isLoafInstrumentationEnabled)(null===(t=this.initOptions.instrumentations)||void 0===t?void 0:t.loaf)&&(0,a.isLongAnimationFrameSupported)()}constructor(t={},e,r,i){super(c,s.VERSION,Object.assign({},t)),n._(this,"sessionManager",void 0),n._(this,"navigationMetricsManager",void 0),n._(this,"_longtaskObserver",void 0),n._(this,"initOptions",void 0),this.sessionManager=r,this.navigationMetricsManager=i,this.initOptions=e}}},87818(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"SplunkPageVisibilityInstrumentation",{enumerable:!0,get:function(){return s}});const n=r(64333),i=r(76657),o=r(62537);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(t){const e=Date.now(),r=this.tracer.startSpan("visibility",{startTime:e});r.setAttribute("hidden",t),r.end(e)}constructor(t={},e,r){super("splunk-visibility",o.VERSION,Object.assign({},t)),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=e,this.sessionManager=r,this.unloading=!1}}},12695(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"SplunkPostDocLoadResourceInstrumentation",{enumerable:!0,get:function(){return m}});const n=r(64333);r(61571),r(54603),r(21717),r(65732),r(92940),r(10972),r(19679),r(59130),r(29597),r(59225),r(15731),r(78087),r(47776);const i=r(69209),o=r(87844),s=r(76657),a=r(56490),u=r(6850),c=r(57763),l=r(200),d=r(26233),p=r(2614),h=r(62537),f="splunk-post-doc-load-resource",g=["img","script"],E=["audio","css","font","iframe","img","link","other","script","video"],_=/\.(?:eot|otf|ttf|woff2?)(?:[?#]|$)/i;class m 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",t=>{this._startPerformanceObserver(t)})),window.MutationObserver&&this._startHeadMutationObserver()}init(){}onBeforeContextChange(){this.headMutationObserver&&this._processHeadMutationObserverRecords(this.headMutationObserver.takeRecords())}_createSpan(t){if((0,o.isUrlIgnored)(t.name,this.config.ignoreUrls))return;const e=new URL(t.name,location.origin),r=this.tracer.startSpan("resourceFetch",{startTime:t.fetchStart},this.urlToContextMap[e.toString()]);r.setAttribute("component",f),r.setAttribute(u.SemanticAttributes.HTTP_URL,t.name),r.setAttribute(u.SemanticAttributes.HTTP_METHOD,"GET"),(0,c.setBrowserNavigationPageAttributes)(r,this.navigationMetricsManager,t.fetchStart,{monitorTypes:(0,l.getPctMonitorTypes)(t.initiatorType),type:"resource",url:t.name});const n=(0,d.isCacheHit)(t);void 0!==n&&r.setAttribute("http.cache.hit",n),(0,a.addSpanNetworkEvents)(r,t),(0,p.setResourceTimingStatus)(r,t);const i=t.responseEnd;i&&i>0?r.end(i):r.end()}_processHeadMutationObserverRecords(t){i.context.active()!==i.ROOT_CONTEXT&&t.flatMap(t=>Array.from(t.addedNodes||[])).forEach(t=>{const e=t instanceof Element?(0,p.getResourceElementUrl)(t):void 0;if(!e)return;const r=new URL(e,document.baseURI);this.urlToContextMap[r.toString()]=i.context.active()})}_startHeadMutationObserver(){this.headMutationObserver=new MutationObserver(this._processHeadMutationObserverRecords.bind(this)),this.headMutationObserver.observe(document.head,{childList:!0})}_startPerformanceObserver(t){t&&!t.isTrusted||this.performanceObserver||(this.performanceObserver=new PerformanceObserver(t=>{"complete"===window.document.readyState&&t.getEntries().forEach(t=>{const e=t;((t,e)=>(null==e?void 0:e.includes(t.initiatorType))||(null==e?void 0:e.includes("font"))&&"other"===t.initiatorType&&_.test(t.name))(e,this.config.allowedInitiatorTypes)&&window.setTimeout(()=>this._createSpan(e))})}),this.performanceObserver.observe({entryTypes:["resource"]}))}constructor(t={},e,r,i){const o=Object.assign({},{allowedInitiatorTypes:e.experimental?E:g},t);super(f,h.VERSION,o),n._(this,"otelConfig",void 0),n._(this,"sessionManager",void 0),n._(this,"navigationMetricsManager",void 0),n._(this,"config",void 0),n._(this,"headMutationObserver",void 0),n._(this,"performanceObserver",void 0),n._(this,"urlToContextMap",void 0),this.otelConfig=e,this.sessionManager=r,this.navigationMetricsManager=i,this.config=o,this.urlToContextMap={}}}},36072(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"SplunkSocketIoClientInstrumentation",{enumerable:!0,get:function(){return p}});const n=r(64333);r(11486),r(80792),r(10833),r(82376),r(9559),r(51868),r(31670),r(21717),r(43994),r(58988),r(57332);const i=r(69209),o=r(76657),s=r(6850),a=r(98056),u=r(62537),c="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 t=this.getConfig();t.target&&("string"==typeof t.target?this._onDisable=(0,a.waitForGlobal)(t.target,t=>this.patchSocketIo(t)):this.patchSocketIo(t.target))}getConfig(){return this._config}init(){}patchSocketIo(t){if(!function(t){return"function"==typeof t&&"function"==typeof t.Socket}(t))return void this._diag.debug("Doesn't seem like socket.io-client",t);const e=this;this._wrap(t.Socket.prototype,"emit",t=>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 u=e.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",[c]:r,[l]:this.nsp},kind:i.SpanKind.PRODUCER});try{return i.context.with(i.trace.setSpan(i.context.active(),u),()=>Reflect.apply(t,this,[r,...o]))}catch(t){let e;throw t instanceof Error&&(u.recordException(t),e=t.message),u.setStatus({code:i.SpanStatusCode.ERROR,message:e}),t}finally{u.end()}}),this._wrap(t.Socket.prototype,"on",t=>function(r,n){if(d.has(r)||"function"!=typeof n)return t.call(this,r,n);let o=e.listeners.get(n);return o||(o=function(){for(var t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];const u=e.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",[c]:r,[l]:this.nsp},kind:i.SpanKind.CONSUMER});try{n.apply(this,o)}catch(t){throw t instanceof Error&&u.recordException(t),t}finally{u.end()}},e.listeners.set(n,o)),t.call(this,r,o)}),t.Socket.prototype.addEventListener=t.Socket.prototype.on,this._wrap(t.Socket.prototype,"off",t=>function(r,n){return!r||d.has(r)||"function"!=typeof n?t.call(this,r,n):e.listeners.has(n)?t.call(this,r,e.listeners.get(n)):t.call(this,r,n)}),t.Socket.prototype.removeListener=t.Socket.prototype.off,t.Socket.prototype.removeEventListener=t.Socket.prototype.off,t.Socket.prototype.removeAllListeners=t.Socket.prototype.off,this._onDisable=()=>{this._unwrap(t.Socket.prototype,"emit"),this._unwrap(t.Socket.prototype,"on"),t.Socket.prototype.addEventListener=t.Socket.prototype.on,this._unwrap(t.Socket.prototype,"off"),t.Socket.prototype.removeListener=t.Socket.prototype.off,t.Socket.prototype.removeEventListener=t.Socket.prototype.off,t.Socket.prototype.removeAllListeners=t.Socket.prototype.off}}constructor(t={},e,r){super("splunk-socket.io-client",u.VERSION,Object.assign({target:"io"},t)),n._(this,"otelConfig",void 0),n._(this,"sessionManager",void 0),n._(this,"_onDisable",void 0),n._(this,"listeners",void 0),this.otelConfig=e,this.sessionManager=r,this.listeners=new WeakMap}}},32394(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get DEFAULT_AUTO_INSTRUMENTED_EVENTS(){return u},get DEFAULT_AUTO_INSTRUMENTED_EVENT_NAMES(){return c},get SplunkUserInteractionInstrumentation(){return d}});const n=r(64333);r(97982),r(15731),r(96469),r(21717),r(35505);const i=r(69209),o=r(87844),s=r(65022),a=r(10484),u={change:!0,click:!0,dblclick:!0,dragend:!0,drop:!0,ended:!0,mousedown:!0,mouseup:!0,pause:!0,play:!0,reset:!0,submit:!0},c=Object.keys(u),l="route";class d extends a.UserInteractionInstrumentation{_patchHistoryMethod(){const t=this;return e=>function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];const o=location.href,s=e.apply(this,n),a=location.href;return o!==a&&t._emitRouteChangeSpan(o,a),s}}disable(){super.disable(),this.__hashChangeHandler&&window.removeEventListener("hashchange",this.__hashChangeHandler)}enable(){this.__hashChangeHandler=t=>{const e=t;this._emitRouteChangeSpan(e.oldURL,e.newURL,t.timeStamp)},window.addEventListener("hashchange",this.__hashChangeHandler),super.enable()}getZoneWithPrototype(){}setTracerProvider(t){super.setTracerProvider(t),this._routingTracer=t.getTracer(l,"1")}async _emitRouteChangeSpan(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:performance.now();const n=this.getConfig();if((0,o.isUrlIgnored)(e,n.ignoreUrls))return;const a=Date.now(),u=this._routingTracer.startSpan(s.BROWSER_NAVIGATION_ROUTE_CHANGE_OPERATION,{attributes:{[s.BROWSER_NAVIGATION_OPERATION_ATTRIBUTE]:s.BROWSER_NAVIGATION_ROUTE_CHANGE_OPERATION},startTime:a});if(u.setAttribute("component",this.moduleName),u.setAttribute("location.href",e),u.setAttribute("prev.href",t),this.navigationMetricsManager){const t=await this.navigationMetricsManager.waitForPageLoad({operation:s.BROWSER_NAVIGATION_ROUTE_CHANGE_OPERATION,span:u,startTime:r});i.diag.debug("Sending routeChange span with PCT result",t),u.end(a+t.pct),i.diag.debug("Route change span ended",{pct:t.pct,span:u})}else u.end(a)}constructor(t={},e,r,o){if(!t.eventNames){const e=Object.assign({},u,t.events),r=Object.entries(e).filter(t=>{let[,e]=t;return e}).map(t=>{let[e]=t;return e});t.eventNames=r}super(t,e),n._(this,"sessionManager",void 0),n._(this,"__hashChangeHandler",void 0),n._(this,"_routingTracer",void 0),n._(this,"navigationMetricsManager",void 0),this.sessionManager=r,this.navigationMetricsManager=o,this._routingTracer=i.trace.getTracer(l,"1");const s=this._createSpan.bind(this);this._createSpan=(t,e,r)=>(t===document&&(t=document.documentElement),s(t,e,r));const a=this._patchAddEventListener.bind(this);this._patchAddEventListener=()=>{const t=a();return e=>{const r=t(e);return function(t,n,i){return function(t){return t&&("function"==typeof t||"object"==typeof t&&"function"==typeof t.handleEvent)}(n)?(null===i&&(i=void 0),r.call(this,t,n,i)):e.call(this,t,n,i)}}}}}},89036(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"SplunkWebSocketInstrumentation",{enumerable:!0,get:function(){return p}});const n=r(64333),i=r(82446);r(45178),r(57332),r(21717),r(43994);const o=r(69209),s=r(87844),a=r(76657),u=i._(r(40554)),c=r(6371),l=r(78618),d=r(62537);class p extends a.InstrumentationBase{disable(){u.unwrap(window,"WebSocket")}enable(){const t=this;u.wrap(window,"WebSocket",function(){class e extends WebSocket{constructor(e,r){const n="string"==typeof e?e:e.toString();if((0,s.isUrlIgnored)(n,t._config.ignoreUrls))return void super(e,r);const i=t.tracer.startSpan("connect",{attributes:{component:"websocket"},kind:o.SpanKind.CLIENT});e&&i.setAttribute("http.url",n),r&&("string"==typeof r?i.setAttribute("protocols",r):i.setAttribute("protocols",JSON.stringify(r)));try{super(e,r)}catch(e){throw(0,c.isError)(e)&&t.endSpanExceptionally(i,e),e}this.addEventListener("open",function(){i.end()}),this.addEventListener("error",function(e){if(i.isRecording()){let r="Could not connect.";"error"in e&&"string"==typeof e.error&&e.error?r=e.error:"message"in e&&"string"==typeof e.message&&e.message&&(r=e.message),t.endSpanExceptionally(i,new Error(r))}else t.startSpan(this,"error",o.SpanKind.CLIENT).end()}),t.patchSend(this),t.patchEventListener(this)}}return e})}init(){}addPatchedListener(t,e,r){let n=this.listener2ws2patched.get(e);return n||(n=new Map,this.listener2ws2patched.set(e,n)),!n.has(t)&&(n.set(t,r),!0)}endSpanExceptionally(t,e){var r;t.setAttribute("error",!0),t.setAttribute("error.message",e.message),t.setAttribute("error.object",e.name||(null===(r=e.constructor)||void 0===r?void 0:r.name)||"Error"),t.end()}patchEventListener(t){const e=this,r=t.addEventListener.bind(t);t.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,u=function(){for(var r=arguments.length,n=new Array(r),s=0;s<r;s++)n[s]=arguments[s];const u=this,c=n;a&&e.removePatchedListener(t,i);const d=e.startSpan(t,"onmessage",o.SpanKind.CONSUMER);if(c&&c[0]&&"data"in c[0]){const t=c[0].data;if((0,l.hasSizeLikeProperty)(t)){const e=(0,l.getSize)(t);void 0!==e&&d.setAttribute("http.response_content_length",e)}}o.context.with(o.trace.setSpan(o.context.active(),d),()=>{const t="function"==typeof i?i.apply(u,c):i.handleEvent(n[0]);return d.end(),t})};e.addPatchedListener(t,i,u)&&r.apply(t,[n,u,s])};const n=t.removeEventListener;t.removeEventListener=function(r,i,o){if("message"!==r)return n.call(t,r,i,o);const s=e.removePatchedListener(t,i);return s?n.call(t,r,s,o):n.call(t,r,i,o)}}patchSend(t){const e=this,r=t.send;t.send=function(){for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];const a=e.startSpan(t,"send",o.SpanKind.PRODUCER);if(i.length>0&&(0,l.hasSizeLikeProperty)(i[0])){const t=(0,l.getSize)(i[0]);t&&a.setAttribute("http.request_content_length",t)}let u;try{u=r.apply(t,i)}catch(t){throw(0,c.isError)(t)&&e.endSpanExceptionally(a,t),t}return!1===u&&e.endSpanExceptionally(a,new Error("Failed to send frame.")),a.end(),u}}removePatchedListener(t,e){const r=this.listener2ws2patched.get(e);if(!r)return;const n=r.get(t);return n&&(r.delete(t),0===r.size&&this.listener2ws2patched.delete(t)),n}startSpan(t,e,r){const n=this.tracer.startSpan(e,{kind:r});return n.setAttribute("component","websocket"),n.setAttribute("protocol",t.protocol),n.setAttribute("http.url",t.url),n}constructor(t,e,r){super("splunk-websocket",d.VERSION,t),n._(this,"otelConfig",void 0),n._(this,"sessionManager",void 0),n._(this,"listener2ws2patched",void 0),this.otelConfig=e,this.sessionManager=r,this.listener2ws2patched=new WeakMap,this._config=t}}},21013(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"SplunkWebVitalsInstrumentation",{enumerable:!0,get:function(){return d}});const n=r(64333);r(97982),r(11486),r(80792),r(10833),r(82376),r(9559),r(51868),r(31670),r(21717);const i=r(87844),o=r(76657),s=r(31509),a=r(6371),u=r(29893),c=r(62537),l=r(29559);class d extends o.InstrumentationBase{disable(){this.isRecording=!1}enable(){this.isRecording=!0,this.reportedMetricKeys.clear(),this.attributionContext=void 0,this.areCallbackAttached||(this.areCallbackAttached=!0,!1!==this._config.cls&&(0,s.onCLS)(t=>{this.reportMetric({metric:t,name:"cls"})},this.getAttributionOptions(this._config.cls)),!1!==this._config.lcp&&(0,s.onLCP)(t=>{this.reportMetric({metric:t,name:"lcp"})},this.getAttributionOptions(this._config.lcp)),!1!==this._config.inp&&(0,s.onINP)(t=>{this.reportMetric({metric:t,name:"inp"})},this.getINPOptions()),this._config._experimental_fcp&&(0,s.onFCP)(t=>{this.reportMetric({metric:t,name:"fcp"})},this.getAttributionOptions(this._config._experimental_fcp)),this._config._experimental_ttfb&&(0,s.onTTFB)(t=>{this.reportMetric({metric:t,name:"ttfb"})},this.getAttributionOptions(this._config._experimental_ttfb)))}init(){}getAttributionContext(){if(!this.attributionContext){const t=(0,l.getResolvedWebVitalsAttributionConfig)(this._config._experimental_attribution);this.attributionContext={getLCPUrl:e=>(0,l.getLCPUrlForAttribution)(e,t),getTarget:e=>(0,l.getWebVitalsTargetForAttribution)(e,t)}}return this.attributionContext}getAttributionOptions(t){const e="object"==typeof t?{...t}:{};if(!(0,l.isWebVitalsAttributionEnabled)(this._config._experimental_attribution))return e;const{target:r}=(0,l.getResolvedWebVitalsAttributionConfig)(this._config._experimental_attribution);return"safe"===r&&(e.generateTarget=l.generateSafeWebVitalsTarget),e}getINPOptions(){var t;return{...this.getAttributionOptions(this._config.inp),includeProcessedEventEntries:"object"==typeof this._config.inp&&null!==(t=this._config.inp.includeProcessedEventEntries)&&void 0!==t&&t}}async reportMetric(t){if(!this.isRecording)return;const{metric:e,name:r}=t,n=e.value;if(!(0,a.isFiniteNumber)(n)||n<0)return;const o=(0,l.getWebVitalMetricReportKey)(r,e);if(this.reportedMetricKeys.has(o))return;this.reportedMetricKeys.add(o);const s=Date.now();let c,d=s;const p=this.shouldAlignWithDocumentLoad()?await this.docLoadSpanPromise:void 0;if(p){var h;const t=(0,i.addHrTimes)(p.startTime,(0,i.millisToHrTime)(1));let e=t;d=e;const r=null===(h=this.sessionManager)||void 0===h?void 0:h.getSessionMetadata();r&&r.sessionStart-(0,i.hrTimeToMilliseconds)(t)>6e4&&(e=r.sessionStart,d=r.sessionStart),c=this.tracer.startSpan("webvitals",{startTime:e});const n=p.attributes["location.href"];(0,a.isString)(n)&&(0,u.setStringAttribute)(c,"location.href",n)}else c=this.tracer.startSpan("webvitals",{startTime:s});(0,u.setNumberAttribute)(c,r,n),(0,l.isWebVitalsAttributionEnabled)(this._config._experimental_attribution)&&((0,u.setStringAttribute)(c,"webvitals.metric_id",e.id),(0,u.setNumberAttribute)(c,"webvitals.delta",e.delta),(0,u.setStringAttribute)(c,"webvitals.navigation_type",e.navigationType),this.setAttributionAttributes(c,t)),c.end(d)}setAttributionAttributes(t,e){const r=this.getAttributionContext();switch(e.name){case"cls":return void(0,l.setCLSAttributionAttributes)(t,e.metric,r);case"fcp":return void(0,l.setFCPAttributionAttributes)(t,e.metric);case"inp":return void(0,l.setINPAttributionAttributes)(t,e.metric,r);case"lcp":return void(0,l.setLCPAttributionAttributes)(t,e.metric,r);case"ttfb":return void(0,l.setTTFBAttributionAttributes)(t,e.metric)}}shouldAlignWithDocumentLoad(){var t;return null===(t=this._config.alignWebVitalsSpansWithDocumentLoad)||void 0===t||t}constructor(t={},e,r){var i,o;super("splunk-webvitals",c.VERSION,{...t,enabled:!1}),n._(this,"otelConfig",void 0),n._(this,"sessionManager",void 0),n._(this,"areCallbackAttached",void 0),n._(this,"attributionContext",void 0),n._(this,"docLoadSpanPromise",void 0),n._(this,"docLoadSpanResolve",void 0),n._(this,"isRecording",void 0),n._(this,"reportedMetricKeys",void 0),this.otelConfig=e,this.sessionManager=r,this.areCallbackAttached=!1,this.isRecording=!1,this.reportedMetricKeys=new Set,this.docLoadSpanPromise=new Promise(t=>{this.docLoadSpanResolve=t}),null===(o=this.otelConfig.spanEmitter)||void 0===o||o.addEventListener("document-load:start",t=>{var e;"documentLoad"===t.name&&(null===(e=this.docLoadSpanResolve)||void 0===e||e.call(this,t),this.docLoadSpanResolve=void 0)}),this._config.enabled=null===(i=t.enabled)||void 0===i||i,this._config.enabled&&this.enable()}}},64378(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"SplunkXhrInstrumentation",{enumerable:!0,get:function(){return l}});const n=r(64333),i=r(82446);r(43994),r(61571);const o=i._(r(69209)),s=r(87844),a=r(19975),u=r(57763),c=r(70280);class l extends a.XMLHttpRequestInstrumentation{constructor(t={},e,r,i){var a,l;super(t),n._(this,"sessionManager",void 0),n._(this,"navigationMetricsManager",void 0),n._(this,"otelConfig",void 0),this.sessionManager=r,this.navigationMetricsManager=i,this.otelConfig=e;const d=null!==(a=null!==(l=t.separateTraces)&&void 0!==l?l:e.separateTraces)&&void 0!==a&&a,p=this._createSpan.bind(this),h=this._addResourceObserver.bind(this);this._createSpan=(t,e,r)=>{const n=performance.now();let i;if(d){const n=o.context.active(),a=o.trace.getSpan(n),u=null==a?void 0:a.spanContext(),c=(0,s.isTracingSuppressed)(n)?(0,s.suppressTracing)(o.ROOT_CONTEXT):o.ROOT_CONTEXT;i=o.context.with(c,()=>p(t,e,r)),i&&(null==u?void 0:u.traceId)&&i.setAttributes({"link.interaction.spanId":u.spanId,"link.interaction.traceId":u.traceId})}else i=p(t,e,r);var a;return i&&(t.addEventListener("readystatechange",()=>{if(t.readyState===t.HEADERS_RECEIVED&&t.getAllResponseHeaders().toLowerCase().includes("server-timing")){const e=t.getResponseHeader("server-timing");null!==e&&(0,c.captureTraceParent)(e,i)}}),i.setAttribute("component",this.moduleName),(0,u.setBrowserNavigationPageAttributes)(i,this.navigationMetricsManager,n),t.addEventListener("loadend",()=>{(0,u.setBrowserNavigationPageAttributes)(i,this.navigationMetricsManager,n,{monitorTypes:["network"],resourceId:t._splunkMonitorResourceId,type:"resource",url:e})},{once:!0}),null===(a=this.otelConfig.spanEmitter)||void 0===a||a.emitSpan(i,"start"),i.updateName("HTTP ".concat(r.toUpperCase()))),i},this._addResourceObserver=(t,e)=>{"function"==typeof PerformanceObserver&&"function"==typeof PerformanceResourceTiming&&h(t,e)}}}},37157(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get getResolvedWebVitalsAttributionConfig(){return n},get isWebVitalsAttributionEnabled(){return i}});const r={lcpUrl:"sanitized",target:"safe"};function n(t){return{...r,...o(t)?t:{}}}function i(t){return!0===t||o(t)}function o(t){return"object"==typeof t&&null!==t}},51899(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"setCLSAttributionAttributes",{enumerable:!0,get:function(){return o}});const n=r(29893),i=r(96725);function o(t,e,r){var o,s;const{attribution:a}=e;(0,n.setStringAttribute)(t,"cls.largest_shift_target",r.getTarget(a.largestShiftTarget)),(0,n.setNumberAttribute)(t,"cls.largest_shift_time",a.largestShiftTime),(0,n.setNumberAttribute)(t,"cls.largest_shift_value",a.largestShiftValue),(0,n.setStringAttribute)(t,"cls.load_state",a.loadState),(0,i.setRectAttributes)(t,"cls.largest_shift_source.previous_rect",null===(o=a.largestShiftSource)||void 0===o?void 0:o.previousRect),(0,i.setRectAttributes)(t,"cls.largest_shift_source.current_rect",null===(s=a.largestShiftSource)||void 0===s?void 0:s.currentRect)}},5926(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"setFCPAttributionAttributes",{enumerable:!0,get:function(){return i}});const n=r(29893);function i(t,e){const{attribution:r}=e;(0,n.setNumberAttribute)(t,"fcp.time_to_first_byte",r.timeToFirstByte),(0,n.setNumberAttribute)(t,"fcp.first_byte_to_fcp",r.firstByteToFCP),(0,n.setStringAttribute)(t,"fcp.load_state",r.loadState)}},29559(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(45999);n._(r(37157),e),n._(r(51899),e),n._(r(5926),e),n._(r(46070),e),n._(r(83216),e),n._(r(96993),e),n._(r(24166),e),n._(r(96725),e),n._(r(49323),e),n._(r(85762),e)},46070(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"setINPAttributionAttributes",{enumerable:!0,get:function(){return o}});const n=r(29893),i="inp.longest_script";function o(t,e,r){var o,s,a;const{attribution:u}=e;(0,n.setStringAttribute)(t,"inp.interaction_target",r.getTarget(u.interactionTarget)),(0,n.setNumberAttribute)(t,"inp.interaction_time",u.interactionTime),(0,n.setStringAttribute)(t,"inp.interaction_type",u.interactionType),(0,n.setNumberAttribute)(t,"inp.next_paint_time",u.nextPaintTime),(0,n.setNumberAttribute)(t,"inp.input_delay",u.inputDelay),(0,n.setNumberAttribute)(t,"inp.processing_duration",u.processingDuration),(0,n.setNumberAttribute)(t,"inp.presentation_delay",u.presentationDelay),(0,n.setStringAttribute)(t,"inp.load_state",u.loadState),(0,n.setNumberAttribute)(t,"inp.total_script_duration",u.totalScriptDuration),(0,n.setNumberAttribute)(t,"inp.total_style_and_layout_duration",u.totalStyleAndLayoutDuration),(0,n.setNumberAttribute)(t,"inp.total_paint_duration",u.totalPaintDuration),(0,n.setNumberAttribute)(t,"inp.total_unattributed_duration",u.totalUnattributedDuration),(0,n.setStringAttribute)(t,"inp.longest_script_subpart",null===(o=u.longestScript)||void 0===o?void 0:o.subpart),(0,n.setNumberAttribute)(t,"inp.longest_script_intersecting_duration",null===(s=u.longestScript)||void 0===s?void 0:s.intersectingDuration);const c=null===(a=u.longestScript)||void 0===a?void 0:a.entry;c&&function(t,e){(0,n.setNumberAttribute)(t,"".concat(i,".duration"),e.duration),(0,n.setNumberAttribute)(t,"".concat(i,".execution_start"),e.executionStart),(0,n.setStringAttribute)(t,"".concat(i,".invoker"),e.invoker),(0,n.setStringAttribute)(t,"".concat(i,".invoker_type"),e.invokerType),(0,n.setNumberAttribute)(t,"".concat(i,".pause_duration"),e.pauseDuration),(0,n.setNumberAttribute)(t,"".concat(i,".source_char_position"),e.sourceCharPosition),(0,n.setStringAttribute)(t,"".concat(i,".source_function_name"),e.sourceFunctionName),(0,n.setStringAttribute)(t,"".concat(i,".source_url"),e.sourceURL),(0,n.setNumberAttribute)(t,"".concat(i,".start_time"),e.startTime),(0,n.setStringAttribute)(t,"".concat(i,".window_attribution"),e.windowAttribution)}(t,c)}},83216(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get getLCPResourceTimingAttributes(){return u},get getLCPUrlForAttribution(){return a},get sanitizeLCPUrl(){return s},get setLCPAttributionAttributes(){return c}}),r(21717),r(65732),r(92940),r(10972),r(19679),r(59130),r(29597);const n=r(6371),i=r(29893),o=r(37157);function s(t){if(t)try{const e=new URL(t,window.location.href);if("http:"!==e.protocol&&"https:"!==e.protocol)return;return"".concat(e.origin).concat(e.pathname)}catch{return}}function a(t,e){const r=(0,o.getResolvedWebVitalsAttributionConfig)(e).lcpUrl;if("off"!==r)return"raw"===r?t:s(t)}function u(t){const e={},r=t;return l(e,"lcp.resource.transfer_size",r.transferSize),l(e,"http.response.body.size",r.encodedBodySize),l(e,"http.response.body.uncompressed_size",r.decodedBodySize),l(e,"http.response.status_code",r.responseStatus),d(e,"network.protocol.name",r.nextHopProtocol),d(e,"lcp.resource.initiator_type",r.initiatorType),e}function c(t,e,r){const{attribution:n}=e;(0,i.setStringAttribute)(t,"lcp.target",r.getTarget(n.target)),(0,i.setStringAttribute)(t,"lcp.url",r.getLCPUrl(n.url)),(0,i.setNumberAttribute)(t,"lcp.time_to_first_byte",n.timeToFirstByte),(0,i.setNumberAttribute)(t,"lcp.resource_load_delay",n.resourceLoadDelay),(0,i.setNumberAttribute)(t,"lcp.resource_load_duration",n.resourceLoadDuration),(0,i.setNumberAttribute)(t,"lcp.element_render_delay",n.elementRenderDelay),n.lcpResourceEntry&&(0,i.setAttributes)(t,u(n.lcpResourceEntry))}function l(t,e,r){(0,n.isFiniteNumber)(r)&&(t[e]=r)}function d(t,e,r){"string"==typeof r&&r.length>0&&(t[e]=r)}},96993(t,e){"use strict";function r(t,e){return[t,e.id,e.value,e.delta,e.navigationType].join("|")}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getWebVitalMetricReportKey",{enumerable:!0,get:function(){return r}})},24166(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get generateSafeWebVitalsTarget(){return a},get getWebVitalsTargetForAttribution(){return c},get isSafeGeneratedWebVitalsTarget(){return l}}),r(56469),r(54603),r(15731),r(7672);const n=r(6371),i=r(37157),o=/^[a-zA-Z][\w-]*$/,s=/^[a-z][a-z0-9-]*(\[role=[a-zA-Z][\w-]*\])?(:nth-of-type\([1-9]\d*\))?$/;function a(t){if(!t||!(0,n.isElement)(t))return;const e=[];let r=t,i=0;for(;r&&e.length<6;){const{hasRole:t,part:n}=u(r),o=0===e.length?n.length:i+1+n.length;if(e.length>0&&o>120)break;if(e.unshift(n),i=o,t)break;r=r.parentElement}return e.join(">")}function u(t){const e=t.tagName.toLowerCase(),r=t.getAttribute("role"),n=null!==r&&function(t){return o.test(t)}(r),i=n?"[role=".concat(r,"]"):"",s=function(t){if(!t.parentElement)return"";const e=t.tagName;let r=0;for(let n=t.previousElementSibling;n;n=n.previousElementSibling)n.tagName===e&&(r+=1);let n=!1;for(let r=t.nextElementSibling;r;r=r.nextElementSibling)if(r.tagName===e){n=!0;break}return 0!==r||n?":nth-of-type(".concat(r+1,")"):""}(t);return{hasRole:n,part:"".concat(e).concat(i).concat(s)}}function c(t,e){const r=(0,i.getResolvedWebVitalsAttributionConfig)(e).target;if("off"!==r)return"raw"===r||l(t)?t:void 0}function l(t){if(!t||t.length>120)return!1;const e=t.split(">");return e.length>0&&e.length<=6&&e.every(t=>s.test(t))}},96725(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"setRectAttributes",{enumerable:!0,get:function(){return i}});const n=r(29893);function i(t,e,r){r&&((0,n.setNumberAttribute)(t,"".concat(e,".x"),r.x),(0,n.setNumberAttribute)(t,"".concat(e,".y"),r.y),(0,n.setNumberAttribute)(t,"".concat(e,".width"),r.width),(0,n.setNumberAttribute)(t,"".concat(e,".height"),r.height))}},49323(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"setTTFBAttributionAttributes",{enumerable:!0,get:function(){return i}});const n=r(29893);function i(t,e){const{attribution:r}=e;(0,n.setNumberAttribute)(t,"ttfb.waiting_duration",r.waitingDuration),(0,n.setNumberAttribute)(t,"ttfb.cache_duration",r.cacheDuration),(0,n.setNumberAttribute)(t,"ttfb.dns_duration",r.dnsDuration),(0,n.setNumberAttribute)(t,"ttfb.connection_duration",r.connectionDuration),(0,n.setNumberAttribute)(t,"ttfb.request_duration",r.requestDuration)}},85762(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},21586(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(45999);n._(r(26675),e),n._(r(22629),e),n._(r(32355),e),n._(r(89976),e),n._(r(13006),e)},65022(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get BROWSER_NAVIGATION_DETECTED_RESOURCE_COUNT_ATTRIBUTE(){return r},get BROWSER_NAVIGATION_DOCUMENT_LOAD_OPERATION(){return f},get BROWSER_NAVIGATION_LAST_LOADED_RESOURCES_ATTRIBUTE(){return n},get BROWSER_NAVIGATION_LOADING_RESOURCE_COUNT_ATTRIBUTE(){return i},get BROWSER_NAVIGATION_LOADING_RESOURCE_URLS_ATTRIBUTE(){return o},get BROWSER_NAVIGATION_LONGEST_LOADED_RESOURCE_ATTRIBUTE(){return s},get BROWSER_NAVIGATION_OPERATION_ATTRIBUTE(){return a},get BROWSER_NAVIGATION_PAGE_COMPLETION_SOURCE_ATTRIBUTE(){return u},get BROWSER_NAVIGATION_PAGE_COMPLETION_TIME_ATTRIBUTE(){return c},get BROWSER_NAVIGATION_PAGE_SPAN_ID_ATTRIBUTE(){return l},get BROWSER_NAVIGATION_PCT_RELEVANT_ATTRIBUTE(){return d},get BROWSER_NAVIGATION_QUIET_TIMER_RESET_COUNT_ATTRIBUTE(){return p},get BROWSER_NAVIGATION_ROUTE_CHANGE_OPERATION(){return g},get BROWSER_NAVIGATION_STATUS_ATTRIBUTE(){return h},get PAGE_LOAD_METRICS_STATUS_COMPLETED(){return E},get PAGE_LOAD_METRICS_STATUS_INTERRUPTED(){return _},get PAGE_LOAD_METRICS_STATUS_TIMEOUT(){return m}});const r="browser.navigation.detected_resource_count",n="browser.navigation.last_loaded_resources",i="browser.navigation.loading_resource_count",o="browser.navigation.loading_resource_urls",s="browser.navigation.longest_loaded_resource",a="browser.navigation.operation",u="browser.navigation.page_completion_source",c="browser.navigation.page_completion_time",l="browser.navigation.page_span_id",d="browser.navigation.pct_relevant",p="browser.navigation.quiet_timer_reset_count",h="browser.navigation.status",f="documentLoad",g="routeChange",E="completed",_="interrupted",m="timeout"},26675(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(45999);n._(r(65022),e),n._(r(22131),e),n._(r(9338),e)},85755(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"FetchXhrMonitor",{enumerable:!0,get:function(){return u}});const n=r(64333),i=r(82446);r(97982),r(21717),r(65732),r(92940),r(10972),r(19679),r(59130),r(29597),r(20943);const o=r(69209),s=i._(r(40554)),a=r(39021);class u extends a.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 t=this;s.wrap(window,"fetch",e=>function(r,n){const i="string"==typeof r?r:r instanceof URL?r.toString():r.url,o=a.Monitor.createDiscoveredEvent(i),s=performance.now();return t.emitResourceStateChange(o),e(r,n).then(e=>(t.emitResourceStateChange(a.Monitor.createLoadedEvent(o.id,i,performance.now()-s)),e)).catch(e=>{throw t.emitResourceStateChange(a.Monitor.createErrorEvent(o.id,i)),e})})}patchXhr(){const t=this;s.wrap(XMLHttpRequest.prototype,"open",t=>function(e,r,n,i,o){return this._splunkMonitorUrl="string"==typeof r?r:r.toString(),t.call(this,e,r,null==n||n,i,o)}),s.wrap(XMLHttpRequest.prototype,"send",e=>function(r){const n=this._splunkMonitorUrl;if(n){const e=a.Monitor.createDiscoveredEvent(n),r=performance.now();this._splunkMonitorResourceId=e.id,t.emitResourceStateChange(e);const i=()=>{t.emitResourceStateChange(a.Monitor.createLoadedEvent(e.id,n,performance.now()-r)),s()},o=()=>{t.emitResourceStateChange(a.Monitor.createErrorEvent(e.id,n)),s()},s=()=>{this.removeEventListener("load",i),this.removeEventListener("error",o),this.removeEventListener("abort",o)};this.addEventListener("load",i),this.addEventListener("error",o),this.addEventListener("abort",o)}return e.call(this,r)})}restoreFetch(){s.unwrap(window,"fetch")}restoreXhr(){s.unwrap(XMLHttpRequest.prototype,"open"),s.unwrap(XMLHttpRequest.prototype,"send")}constructor(...t){super(...t),n._(this,"monitorType","network"),n._(this,"isMonitoring",!1)}}},43927(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get FetchXhrMonitor(){return n.FetchXhrMonitor},get LoadingElementMonitor(){return i.LoadingElementMonitor},get MediaMonitor(){return o.MediaMonitor},get PerformanceMonitor(){return a.PerformanceMonitor},get ResourceState(){return s.ResourceState}});const n=r(85755),i=r(77253),o=r(50736),s=r(39021),a=r(33354)},77253(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"LoadingElementMonitor",{enumerable:!0,get:function(){return s}});const n=r(64333);r(61571),r(21717),r(11486),r(80792),r(10833),r(82376),r(9559),r(51868),r(31670),r(15166),r(57332);const i=r(69209),o=r(39021);class s extends o.Monitor{refresh(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=this.forgetDroppedResources(e.droppedResourceUrls);this.setSelectors(t),this.elementVisibilityObserver.watch(this.consumerId,this.selectors,this.handleVisibilityChange);for(const t of r)this.selectors.includes(t)&&this.elementVisibilityObserver.resync(this.consumerId,t)}start(){this.isMonitoring?i.diag.warn("PageLoadingManager.LoadingElementMonitor: Already monitoring loading elements."):(this.isMonitoring=!0,this.elementVisibilityObserver.watch(this.consumerId,this.selectors,this.handleVisibilityChange),i.diag.debug("PageLoadingManager.LoadingElementMonitor: Started monitoring loading elements."))}stop(){this.monitoredSelectors.clear(),this.visibleElementsBySelector.clear(),this.elementVisibilityObserver.unwatch(this.consumerId),this.isMonitoring&&(this.isMonitoring=!1,i.diag.debug("PageLoadingManager.LoadingElementMonitor: Stopped monitoring."))}completeSelector(t){const e=this.monitoredSelectors.get(t);e&&(this.monitoredSelectors.delete(t),this.emitResourceStateChange(o.Monitor.createLoadedEvent(e.id,e.url,performance.now()-e.startTime)))}forgetDroppedResources(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(0===t.length)return[];const e=new Set(t),r=[];for(const[t,n]of this.monitoredSelectors)e.has(n.url)&&(this.monitoredSelectors.delete(t),this.visibleElementsBySelector.delete(t),r.push(t));return r}getLoadingElementUrl(t){return"".concat("element:").concat(t)}setSelectors(t){const e=[...new Set(t)],r=new Set(e);for(const t of this.monitoredSelectors.keys())r.has(t)||(this.completeSelector(t),this.visibleElementsBySelector.delete(t));this.selectors=e}constructor(t){if(super(t),n._(this,"monitorType","elements"),n._(this,"consumerId",void 0),n._(this,"elementVisibilityObserver",void 0),n._(this,"isMonitoring",!1),n._(this,"monitoredSelectors",new Map),n._(this,"selectors",[]),n._(this,"visibleElementsBySelector",new Map),n._(this,"handleVisibilityChange",t=>{var e;const{element:r,selector:n,visible:i}=t,s=null!==(e=this.visibleElementsBySelector.get(n))&&void 0!==e?e:new Set,a=s.size>0;i?s.add(r):s.delete(r),0===s.size?this.visibleElementsBySelector.delete(n):this.visibleElementsBySelector.set(n,s);const u=s.size>0;if(u&&!a){const t=this.getLoadingElementUrl(n),e=o.Monitor.createDiscoveredEvent(t);this.monitoredSelectors.set(n,{id:e.id,startTime:performance.now(),url:t}),this.emitResourceStateChange(e)}else!u&&a&&this.completeSelector(n)}),!t.elementVisibilityObserver||!t.consumerId)throw new Error("LoadingElementMonitor requires elementVisibilityObserver and consumerId.");this.elementVisibilityObserver=t.elementVisibilityObserver,this.consumerId=t.consumerId}}},50736(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"MediaMonitor",{enumerable:!0,get:function(){return a}});const n=r(64333);r(15731),r(47776),r(21717),r(11486),r(80792),r(10833),r(82376),r(9559),r(51868),r(31670);const i=r(69209),o=r(6371),s=r(39021);class a extends s.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 t;this.isMonitoring&&(null===(t=this.observer)||void 0===t||t.disconnect(),this.observer=null,this.monitoredMediaElementControllers.forEach(t=>t.abort()),this.monitoredMediaElementControllers.clear(),this.monitoredMediaElements=new WeakMap,this.isMonitoring=!1,i.diag.debug("PageLoadingManager.MediaMonitor: Stopped monitoring."))}attachMediaListener(t){const e=this.monitoredMediaElements.get(t),r=this.getMediaUrl(t);if(!r)return void this.untrackMediaElement(t);if((null==e?void 0:e.url)===r)return;if(this.untrackMediaElement(t),t instanceof HTMLImageElement&&"lazy"===t.loading)return;const n=s.Monitor.createDiscoveredEvent(r);if(this.isElementAlreadyLoaded(t))return void this.emitResourceStateChange(s.Monitor.createLoadedEvent(n.id,r,0));if(this.isElementAlreadyFailed(t))return void this.emitResourceStateChange(s.Monitor.createErrorEvent(n.id,r));this.emitResourceStateChange(n);const i=performance.now(),o=t instanceof HTMLImageElement?"load":"loadeddata",a=new AbortController,u=t=>{this.emitResourceStateChange(s.Monitor.createErrorEvent(n.id,r)),this.cleanupMediaElement(t.currentTarget,a)};this.monitoredMediaElementControllers.add(a),this.monitoredMediaElements.set(t,{controller:a,id:n.id,url:r}),t.addEventListener(o,t=>{this.emitResourceStateChange(s.Monitor.createLoadedEvent(n.id,r,performance.now()-i)),this.cleanupMediaElement(t.currentTarget,a)},{once:!0,passive:!0,signal:a.signal}),t.addEventListener("error",u,{once:!0,passive:!0,signal:a.signal}),t.addEventListener("abort",u,{once:!0,passive:!0,signal:a.signal})}attachMediaListeners(t){(0,o.isElement)(t)&&((0,o.isMediaElement)(t)?this.attachMediaListener(t):t.querySelectorAll("img, video, audio").forEach(t=>{(0,o.isMediaElement)(t)&&this.attachMediaListener(t)}))}cleanupMediaElement(t,e){if(!t||!(0,o.isElement)(t)||!(0,o.isMediaElement)(t))return;const r=this.monitoredMediaElements.get(t);(null==r?void 0:r.controller)===e&&(e.abort(),this.monitoredMediaElementControllers.delete(e),this.monitoredMediaElements.delete(t))}getMediaUrl(t){if(t.getAttribute("src"))return t.src;return t.currentSrc||void 0}isElementAlreadyFailed(t){return t instanceof HTMLImageElement&&t.complete&&0===t.naturalHeight}isElementAlreadyLoaded(t){return t instanceof HTMLImageElement?t.complete&&0!==t.naturalHeight:(t instanceof HTMLVideoElement||t instanceof HTMLAudioElement)&&t.readyState>=2}monitorExistingMediaElements(){const t=document.querySelectorAll("img"),e=document.querySelectorAll("video"),r=document.querySelectorAll("audio");[...Array.from(t),...Array.from(e),...Array.from(r)].forEach(t=>this.attachMediaListener(t))}setupMutationObserver(){this.observer=new MutationObserver(t=>{t.forEach(t=>{"attributes"===t.type&&(0,o.isElement)(t.target)&&(0,o.isMediaElement)(t.target)?this.attachMediaListener(t.target):(t.addedNodes.forEach(t=>this.attachMediaListeners(t)),t.removedNodes.forEach(t=>this.untrackMediaElements(t)))})}),document.body?this.observer.observe(document.body,{attributeFilter:["src","srcset"],attributes:!0,childList:!0,subtree:!0}):document.addEventListener("DOMContentLoaded",()=>{var t;null===(t=this.observer)||void 0===t||t.observe(document.body,{attributeFilter:["src","srcset"],attributes:!0,childList:!0,subtree:!0})},{once:!0})}untrackMediaElement(t){const e=this.monitoredMediaElements.get(t);e&&(this.emitResourceStateChange(s.Monitor.createErrorEvent(e.id,e.url)),this.cleanupMediaElement(t,e.controller))}untrackMediaElements(t){(0,o.isElement)(t)&&((0,o.isMediaElement)(t)?this.untrackMediaElement(t):t.querySelectorAll("img, video, audio").forEach(t=>{(0,o.isMediaElement)(t)&&this.untrackMediaElement(t)}))}constructor(...t){super(...t),n._(this,"monitorType","media"),n._(this,"isMonitoring",!1),n._(this,"monitoredMediaElementControllers",new Set),n._(this,"monitoredMediaElements",new WeakMap),n._(this,"observer",null)}}},39021(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get Monitor(){return s},get ResourceState(){return o}});const n=r(64333),i=r(98056);var o=function(t){return t.DISCOVERED="discovered",t.ERROR="error",t.LOADED="loaded",t}({});class s{static createDiscoveredEvent(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:performance.now();return{id:(0,i.generateId)(64),state:"discovered",timestamp:e,url:t}}static createErrorEvent(t,e){return{id:t,state:"error",timestamp:performance.now(),url:e}}static createLoadedEvent(t,e,r){return{id:t,loadTime:r,state:"loaded",timestamp:arguments.length>3&&void 0!==arguments[3]?arguments[3]:performance.now(),url:e}}emitResourceStateChange(t){this.config.onResourceStateChange({...t,monitorType:this.monitorType})}constructor(t){n._(this,"config",void 0),this.config=t}}},33354(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"PerformanceMonitor",{enumerable:!0,get:function(){return a}});const n=r(64333);r(21717),r(61571);const i=r(69209),o=r(200),s=r(39021);class a 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(t=>{for(const e of t.getEntries())this.handleResourceEntry(e)});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 t;this.isMonitoring&&(null===(t=this.observer)||void 0===t||t.disconnect(),this.observer=null,this.isMonitoring=!1,i.diag.debug("PageLoadingManager.PerformanceMonitor: Stopped monitoring."))}handleResourceEntry(t){const e=t.name;if(!(0,o.getPctMonitorTypes)(t.initiatorType).includes(this.monitorType))return;const r=t.responseEnd-t.startTime,n=s.Monitor.createDiscoveredEvent(e,t.fetchStart);this.emitResourceStateChange(n),this.emitResourceStateChange(s.Monitor.createLoadedEvent(n.id,e,r,t.responseEnd)),i.diag.debug("PageLoadingManager.PerformanceMonitor: Resource loaded",{initiatorType:t.initiatorType,loadTime:r,url:e})}constructor(...t){super(...t),n._(this,"monitorType","performance"),n._(this,"isMonitoring",!1),n._(this,"observer",null)}}},22131(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get NavigationMetricsManager(){return f},get ensurePageLoadMetricsAtLeastDocumentLoadTime(){return h},get getDocumentLoadTime(){return p}});const n=r(64333);r(21717),r(15731),r(35505),r(97982),r(82616),r(54603),r(20711),r(34265),r(15166),r(45178),r(61571),r(30879),r(65732),r(92940),r(10972),r(19679),r(59130),r(29597),r(72764),r(77381),r(11486),r(80792),r(10833),r(82376),r(9559),r(51868),r(31670);const i=r(69209),o=r(87844),s=r(87805),a=r(10376),u=r(65022),c=r(43927),l=r(5457),d={blockingSelectors:[],clearLoadingResourcesOnNewPage:!0,ignoreUrls:[],maxPageLoadTimeoutForManualApi:18e4,maxPageLoadWaitTime:18e4,maxResourcesToWatch:100,monitors:["media","network","performance"],quietTime:1e3};function p(t){return t.loadEventEnd-t.fetchStart}function h(t,e){return"manual"===t.completionSource||t.status===u.PAGE_LOAD_METRICS_STATUS_TIMEOUT||(t.pct=Math.max(t.pct,e)),t}class f{get detectedResourcesCount(){var t,e;return null!==(t=null===(e=this.pageLoadResourceTracker)||void 0===e?void 0:e.detectedResourcesCount)&&void 0!==t?t:0}get loadingResourceUrls(){return Array.from(this.loadingResources.values()).slice(-3).map(t=>(0,a.truncateString)(t.url,100))}get lastLoadedResources(){var t,e;return null!==(t=null===(e=this.pageLoadResourceTracker)||void 0===e?void 0:e.lastLoadedResources)&&void 0!==t?t:[]}get loadingResourcesCount(){return this.loadingResources.size}get longestLoadedResource(){var t;return null===(t=this.pageLoadResourceTracker)||void 0===t?void 0:t.longestLoadedResource}completeCurrentNavigationPct(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:performance.now();const r=t.spanContext().spanId;for(let t=this.navigationHistory.length-1;t>=0;t--){const n=this.navigationHistory[t];if(n.spanId===r)return void(n.pctEndTime=e)}}async finalizeCurrentNavigation(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:performance.now();const e=this.pageLoadMetricsPromise;try{var r;null===(r=this.quietPeriodAwaiter)||void 0===r||r.interrupt(t),await e}catch{}}getConfigForUrl(t){var e,r;return null!==(e=null===(r=this.urlOverrides.find(e=>this.isUrlOverrideMatch(e.match,t)))||void 0===r?void 0:r.config)&&void 0!==e?e:this.config}getCurrentNavigationSpanId(){var t;return null===(t=this.navigationHistory.at(-1))||void 0===t?void 0:t.spanId}getNavigationOperation(t){var e,r;return null!==(e=null===(r=this.getNavigationAt(t))||void 0===r?void 0:r.operation)&&void 0!==e?e:u.BROWSER_NAVIGATION_DOCUMENT_LOAD_OPERATION}getNavigationPageAttributes(t,e){if(!this.emitNavigationAttributes)return;const r=this.getNavigationAt(t);if(!r)return;const n=void 0===r.pctEndTime||t<=r.pctEndTime,i=r.spanId===this.getCurrentNavigationSpanId()&&n&&("document"===(null==e?void 0:e.type)||"resource"===(null==e?void 0:e.type)&&this.evaluateResourceAdmission(e,t));return{pageSpanId:r.spanId,pctRelevant:i}}onRouteChange(t){return this.routeChangeSubscribers.add(t),()=>{this.routeChangeSubscribers.delete(t)}}registerManualPageLoad(){var t;return null===(t=this.quietPeriodAwaiter)||void 0===t?void 0:t.registerManualPageLoad()}setCurrentNavigationSpan(t,e,r){this.navigationHistory.push({operation:r,pctEndTime:this.manualCompletionCandidateTimestamp,spanId:t.spanContext().spanId,startTime:e}),this.navigationHistory.length>10&&this.navigationHistory.shift()}setPageLoadMetricAttributes(t,e,r){let{completionSource:n,detectedResourcesCount:i,lastLoadedResources:o,loadingResourcesCount:s,loadingResourceUrls:a,longestLoadedResource:c,pct:l,quietTimerResetCount:d,status:p}=e;(this.emitNavigationAttributes||r===u.BROWSER_NAVIGATION_ROUTE_CHANGE_OPERATION)&&(t.setAttribute(u.BROWSER_NAVIGATION_PAGE_COMPLETION_TIME_ATTRIBUTE,l),t.setAttribute(u.BROWSER_NAVIGATION_STATUS_ATTRIBUTE,p),n&&t.setAttribute(u.BROWSER_NAVIGATION_PAGE_COMPLETION_SOURCE_ATTRIBUTE,n)),this.emitNavigationAttributes&&(s>0&&(t.setAttribute(u.BROWSER_NAVIGATION_LOADING_RESOURCE_COUNT_ATTRIBUTE,s),a.length>0&&t.setAttribute(u.BROWSER_NAVIGATION_LOADING_RESOURCE_URLS_ATTRIBUTE,JSON.stringify(a))),t.setAttribute(u.BROWSER_NAVIGATION_DETECTED_RESOURCE_COUNT_ATTRIBUTE,i),t.setAttribute(u.BROWSER_NAVIGATION_QUIET_TIMER_RESET_COUNT_ATTRIBUTE,d),o.length>0&&t.setAttribute(u.BROWSER_NAVIGATION_LAST_LOADED_RESOURCES_ATTRIBUTE,JSON.stringify(o)),c&&t.setAttribute(u.BROWSER_NAVIGATION_LONGEST_LOADED_RESOURCE_ATTRIBUTE,JSON.stringify(c)))}get activeConfig(){return this.getConfigForUrl(location.href)}start(){if(this.isMonitoring)i.diag.warn("NavigationMetricsManager: Already monitoring.");else{this.isMonitoring=!0;for(const t of Object.values(this.monitors))t.start();i.diag.debug("NavigationMetricsManager: Started monitoring.")}}stop(){var t;if(null===(t=this.quietPeriodAwaiter)||void 0===t||t.interrupt(),this.quietPeriodAwaiter=void 0,this.manualCompletionCandidateTimestamp=void 0,this.pageLoadMetricsPromise=void 0,this.navigationHistory=[],this.resourceAdmissionDecisions.clear(),this.routeChangeSubscribers.clear(),this.isMonitoring){this.isMonitoring=!1;for(const t of Object.values(this.monitors))t.stop();this.loadingResources.clear(),i.diag.debug("NavigationMetricsManager: Stopped monitoring.")}}waitForPageLoad(t){let{operation:e,span:r,startTime:n}=t;var o;null===(o=this.quietPeriodAwaiter)||void 0===o||o.interrupt(),this.manualCompletionCandidateTimestamp=void 0,r&&this.setCurrentNavigationSpan(r,n,e);const s=this.activeConfig;for(const t of this.routeChangeSubscribers)t();const a=this.dropLoadingResourcesIgnoredByActiveConfig(s);this.pageLoadResourceTracker={detectedResourcesCount:this.loadingResourcesCount,lastLoadedResources:[],longestLoadedResource:void 0},this.monitors.elements.refresh(s.monitors.includes("elements")?s.blockingSelectors:[],{droppedResourceUrls:a.elementResourceUrls});const u=new l.QuietPeriodAwaiter({getDetectedResourcesCount:()=>this.detectedResourcesCount,getLastLoadedResources:()=>this.lastLoadedResources,getLoadingResourcesCount:()=>this.loadingResourcesCount,getLoadingResourceUrls:()=>this.loadingResourceUrls,getLongestLoadedResource:()=>this.longestLoadedResource,maxPageLoadTimeoutForManualApi:s.maxPageLoadTimeoutForManualApi,maxPageLoadWaitTime:s.maxPageLoadWaitTime,onManualCompletionCandidate:this.onManualCompletionCandidate,onManualRegistrationReopened:this.onManualRegistrationReopened,quietTime:s.quietTime,startTime:n});this.quietPeriodAwaiter=u,0===this.loadingResourcesCount&&(u.startQuietTimer({resourceLoadedTimestamp:n}),i.diag.debug("No loading resources. Starting quiet timer."));let c=u.promise;return 0===n&&(c=c.then(t=>{const e=performance.getEntriesByType("navigation")[0];return h(t,e?p(e):0)})),this.pageLoadMetricsPromise=c.then(t=>{try{return r&&this.setPageLoadMetricAttributes(r,t,e),t}finally{r&&this.completeCurrentNavigationPct(r,n+t.pct)}},t=>{throw r&&this.completeCurrentNavigationPct(r),t}),this.pageLoadMetricsPromise}static createMonitors(t){return{elements:new c.LoadingElementMonitor(t),media:new c.MediaMonitor(t),network:new c.FetchXhrMonitor(t),performance:new c.PerformanceMonitor(t)}}dropLoadingResourcesIgnoredByActiveConfig(t){const e={elementResourceUrls:[]},r=location.href;for(const[n,i]of this.loadingResources)(t.clearLoadingResourcesOnNewPage&&i.pageUrl!==r||!t.monitors.includes(i.monitorType)||this.isIgnoredUrl(i.url,t.ignoreUrls))&&(this.loadingResources.delete(n),"elements"===i.monitorType&&e.elementResourceUrls.push(i.url));return e}evaluateResourceAdmission(t,e){if(t.resourceId){const e=this.resourceAdmissionDecisions.get(t.resourceId);return!!e&&(e.consumed=!0,e.admitted)}const r=this.normalizeResourceUrl(t.url),n=new Map;for(const i of this.resourceAdmissionDecisions.values()){const o=Math.abs(i.startTime-e);if(i.consumed||!t.monitorTypes.includes(i.monitorType)||i.url!==r||o>100)continue;const s=n.get(i.monitorType);(!s||o<Math.abs(s.startTime-e))&&n.set(i.monitorType,i)}const i=Array.from(n.values());for(const t of i)t.consumed=!0;return i.some(t=>t.admitted)}getBeaconEndpointIgnoreUrls(t){if(!t)return[];try{const e=new URL(t).origin;return[new RegExp("^".concat(e))]}catch{return[t]}}getNavigationAt(t){for(let e=this.navigationHistory.length-1;e>=0;e--){const r=this.navigationHistory[e];if(t>=r.startTime)return r}}getResolvedIgnoreUrls(t,e){return[...new Set([...t,...e])]}isIgnoredUrl(t,e){return t.toLowerCase().startsWith("data:")||(0,o.isUrlIgnored)(t,e)}isUrlOverrideMatch(t,e){return"string"==typeof t?e.includes(t):(t.lastIndex=0,t.test(e))}normalizeResourceUrl(t){try{return new URL(t,location.href).toString()}catch{return t}}persistResourceAdmission(t,e){var r;const n=null!==(r=t.timestamp)&&void 0!==r?r:performance.now();if(this.resourceAdmissionDecisions.set(t.id,{admitted:e,consumed:!1,monitorType:t.monitorType,startTime:n,url:this.normalizeResourceUrl(t.url)}),this.resourceAdmissionDecisions.size>1e3){const t=this.resourceAdmissionDecisions.keys().next().value;"string"==typeof t&&this.resourceAdmissionDecisions.delete(t)}}recordLoadedResource(t,e){if(!this.pageLoadResourceTracker)return;const r={duration:e,monitorType:t.monitorType,url:(0,a.truncateString)(t.url,100)};this.pageLoadResourceTracker.lastLoadedResources=[...this.pageLoadResourceTracker.lastLoadedResources,r].slice(-3),(void 0===this.pageLoadResourceTracker.longestLoadedResource||e>this.pageLoadResourceTracker.longestLoadedResource.duration)&&(this.pageLoadResourceTracker.longestLoadedResource=r)}resolveConfig(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d;var n,i,o,s,a,u,c,p;const h=null!==(n=t.quietTime)&&void 0!==n?n:r.quietTime,f=null!==(i=t.maxPageLoadWaitTime)&&void 0!==i?i:r.maxPageLoadWaitTime;return{blockingSelectors:[...null!==(o=t.blockingSelectors)&&void 0!==o?o:r.blockingSelectors],clearLoadingResourcesOnNewPage:null!==(s=t.clearLoadingResourcesOnNewPage)&&void 0!==s?s:r.clearLoadingResourcesOnNewPage,ignoreUrls:this.getResolvedIgnoreUrls(null!==(a=t.ignoreUrls)&&void 0!==a?a:r.ignoreUrls,e),maxPageLoadTimeoutForManualApi:null!==(u=t.maxPageLoadTimeoutForManualApi)&&void 0!==u?u:r.maxPageLoadTimeoutForManualApi,maxPageLoadWaitTime:(0,l.normalizeMaxPageLoadWaitTime)({maxPageLoadWaitTime:f,quietTime:h}),maxResourcesToWatch:null!==(c=t.maxResourcesToWatch)&&void 0!==c?c:r.maxResourcesToWatch,monitors:[...null!==(p=t.monitors)&&void 0!==p?p:r.monitors],quietTime:h}}constructor(t={}){var e,r,o;n._(this,"config",void 0),n._(this,"emitNavigationAttributes",void 0),n._(this,"isMonitoring",!1),n._(this,"loadingResources",new Map),n._(this,"manualCompletionCandidateTimestamp",void 0),n._(this,"monitors",void 0),n._(this,"navigationHistory",[]),n._(this,"pageLoadMetricsPromise",void 0),n._(this,"pageLoadResourceTracker",void 0),n._(this,"quietPeriodAwaiter",void 0),n._(this,"resourceAdmissionDecisions",new Map),n._(this,"routeChangeSubscribers",new Set),n._(this,"urlOverrides",void 0),n._(this,"onManualCompletionCandidate",t=>{this.manualCompletionCandidateTimestamp=t;const e=this.navigationHistory.at(-1);e&&(e.pctEndTime=t)}),n._(this,"onManualRegistrationReopened",()=>{this.manualCompletionCandidateTimestamp=void 0;const t=this.navigationHistory.at(-1);t&&(t.pctEndTime=void 0)}),n._(this,"onResourceStateChange",t=>{if(t.state===c.ResourceState.DISCOVERED){var e;const r=this.activeConfig,n=r.monitors.includes(t.monitorType)&&!this.isIgnoredUrl(t.url,r.ignoreUrls)&&this.loadingResourcesCount<r.maxResourcesToWatch;if(this.persistResourceAdmission(t,n),!n)return void(this.loadingResourcesCount>=r.maxResourcesToWatch&&i.diag.debug("NavigationMetricsManager: Max resources limit reached, ignoring new resource",t.url));this.loadingResources.set(t.id,{monitorType:t.monitorType,pageUrl:location.href,url:t.url}),this.pageLoadResourceTracker&&(this.pageLoadResourceTracker.detectedResourcesCount+=1),i.diag.debug("Detected resource. Resetting quiet timer",t.url),null===(e=this.quietPeriodAwaiter)||void 0===e||e.removeQuietTimer()}else{const e=this.loadingResources.get(t.id);var r;e&&this.loadingResources.delete(t.id)&&(t.state===c.ResourceState.LOADED&&this.recordLoadedResource(e,t.loadTime),0===this.loadingResourcesCount&&(i.diag.debug("No loading resources. Starting quiet timer."),null===(r=this.quietPeriodAwaiter)||void 0===r||r.startQuietTimer({resourceLoadedTimestamp:t.timestamp})))}});const a=this.getBeaconEndpointIgnoreUrls(t.beaconEndpoint);this.config=this.resolveConfig(t,a),this.emitNavigationAttributes=null===(e=t.emitNavigationAttributes)||void 0===e||e,this.urlOverrides=(null!==(r=t.urlOverrides)&&void 0!==r?r:[]).map(t=>{let{match:e,...r}=t;return{config:this.resolveConfig(r,a,this.config),match:e}});const u={consumerId:Symbol("navigation-metrics-manager-elements"),elementVisibilityObserver:null!==(o=t.elementVisibilityObserver)&&void 0!==o?o:new s.ElementVisibilityObserver,onResourceStateChange:this.onResourceStateChange};this.monitors=f.createMonitors(u)}}},57763(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"setBrowserNavigationPageAttributes",{enumerable:!0,get:function(){return i}});const n=r(65022);function i(t,e,r,i){const o=null==e?void 0:e.getNavigationPageAttributes(r,i);o&&(t.setAttribute(n.BROWSER_NAVIGATION_PAGE_SPAN_ID_ATTRIBUTE,o.pageSpanId),t.setAttribute(n.BROWSER_NAVIGATION_PCT_RELEVANT_ATTRIBUTE,o.pctRelevant))}},5457(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get QuietPeriodAwaiter(){return c},get normalizeMaxPageLoadWaitTime(){return u}});const n=r(64333);r(11486),r(80792),r(10833),r(82376),r(9559),r(51868),r(31670),r(21717),r(97982);const i=r(69209),o=r(65022),s={capture:!0,once:!0},a={capture:!0};function u(t){let{maxPageLoadWaitTime:e,quietTime:r}=t;return e>=r?e:(i.diag.warn("navigationMetrics.maxPageLoadWaitTime cannot be lower than quietTime. Using quietTime as maxPageLoadWaitTime.",{maxPageLoadWaitTime:e,quietTime:r}),r)}class c{complete(t){let{areResourcesStillLoading:e}=t;if(this.isResolved)return;let r=performance.now();!e&&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",{pct:n}),this.resolveOnce({completionSource:"automatic",pct:n,status:o.PAGE_LOAD_METRICS_STATUS_COMPLETED})}interrupt(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:performance.now();if(this.isResolved)return;if(this.manualMode&&0===this.manualParticipants.size&&void 0!==this.lastManualCompletionTimestamp)return void this.resolveManualCompletion();const e=Math.max(t-this.startTime,0);i.diag.debug("QuietPeriodAwaiter: Interrupted",{pct:e}),this.resolveOnce({completionSource:this.manualMode?"manual":"automatic",pct:e,status:o.PAGE_LOAD_METRICS_STATUS_INTERRUPTED})}registerManualPageLoad(){if(this.isResolved)return;if(this.hasManualPageLoadTimedOut())return void this.resolveManualPageLoadAfterDeadline();const t=!this.manualMode;t?(this.manualMode=!0,this.clearQuietTimer()):0===this.manualParticipants.size&&(this.clearQuietTimer(),this.onManualRegistrationReopened()),t&&this.startManualPageLoadTimeout(),this.manualParticipantId+=1;const e=this.manualParticipantId;this.manualParticipants.add(e);let r=!1;return{markComplete:()=>!(r||this.isResolved||!this.manualParticipants.has(e)||(this.hasManualPageLoadTimedOut()?(this.resolveManualPageLoadTimeout(),1):(this.manualParticipants.delete(e),r=!0,this.lastManualCompletionTimestamp=performance.now(),0===this.manualParticipants.size&&(this.manualCompletionResourceDetails=this.getCurrentResourceDetails(),this.onManualCompletionCandidate(this.lastManualCompletionTimestamp),this.startManualRegistrationTimer()),0)))}}removeQuietTimer(){this.manualMode||void 0!==this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=void 0,this.quietTimerResetCount+=1)}startQuietTimer(t){let{resourceLoadedTimestamp:e}=t;var r;if(this.isResolved||this.manualMode)return;const n=Math.max(null!==(r=this.lastResourceTimestamp)&&void 0!==r?r:e,e);this.lastResourceTimestamp=n,clearTimeout(this.timeoutId),this.timeoutId=setTimeout(()=>{i.diag.debug("QuietPeriodAwaiter: Quiet period expired",this.quietTime),this.resolveOnce({completionSource:"automatic",pct:Math.max(n-this.startTime,0),status:o.PAGE_LOAD_METRICS_STATUS_COMPLETED})},this.quietTime)}clearQuietTimer(){clearTimeout(this.timeoutId),this.timeoutId=void 0}getCurrentResourceDetails(){return{detectedResourcesCount:this.getDetectedResourcesCount(),lastLoadedResources:this.getLastLoadedResources(),loadingResourcesCount:this.getLoadingResourcesCount(),loadingResourceUrls:this.getLoadingResourceUrls(),longestLoadedResource:this.getLongestLoadedResource(),quietTimerResetCount:this.quietTimerResetCount}}hasManualPageLoadTimedOut(){return Math.max(performance.now()-this.startTime,0)>=Math.max(this.maxPageLoadTimeoutForManualApi,0)}resolveManualCompletion(){if(void 0===this.lastManualCompletionTimestamp)return;const t=Math.max(this.lastManualCompletionTimestamp-this.startTime,0);i.diag.debug("QuietPeriodAwaiter: Manual completion",{pct:t}),this.resolveOnce({completionSource:"manual",pct:t,status:o.PAGE_LOAD_METRICS_STATUS_COMPLETED})}resolveManualPageLoadAfterDeadline(){0!==this.manualParticipants.size||void 0===this.lastManualCompletionTimestamp?this.resolveManualPageLoadTimeout():this.resolveManualCompletion()}resolveManualPageLoadTimeout(){const t=Math.max(this.maxPageLoadTimeoutForManualApi,0);i.diag.debug("QuietPeriodAwaiter: Manual page load timeout expired",{pct:t}),this.resolveOnce({completionSource:"manual",pct:t,status:o.PAGE_LOAD_METRICS_STATUS_TIMEOUT})}resolveOnce(t){this.isResolved||(this.isResolved=!0,this.clearQuietTimer(),clearTimeout(this.manualPageLoadTimeoutId),this.manualPageLoadTimeoutId=void 0,this.manualParticipants.clear(),window.removeEventListener("pagehide",this.interruptListener,a),this.resolve(this.withLoadingResourcesDetails(t)))}startManualPageLoadTimeout(){const t=Math.max(this.maxPageLoadTimeoutForManualApi,0),e=Math.max(performance.now()-this.startTime,0);this.manualPageLoadTimeoutId=setTimeout(()=>{this.resolveManualPageLoadAfterDeadline()},Math.max(t-e,0))}startManualRegistrationTimer(){this.clearQuietTimer(),this.timeoutId=setTimeout(()=>this.resolveManualCompletion(),this.quietTime)}withLoadingResourcesDetails(t){if("manual"===t.completionSource&&t.status===o.PAGE_LOAD_METRICS_STATUS_COMPLETED&&this.manualCompletionResourceDetails)return{...t,...this.manualCompletionResourceDetails};if(t.status===o.PAGE_LOAD_METRICS_STATUS_COMPLETED)return{...t,detectedResourcesCount:this.getDetectedResourcesCount(),lastLoadedResources:this.getLastLoadedResources(),loadingResourcesCount:0,loadingResourceUrls:[],longestLoadedResource:this.getLongestLoadedResource(),quietTimerResetCount:this.quietTimerResetCount};const e=this.getLoadingResourcesCount();return{...t,detectedResourcesCount:this.getDetectedResourcesCount(),lastLoadedResources:this.getLastLoadedResources(),loadingResourcesCount:e,loadingResourceUrls:this.getLoadingResourceUrls(),longestLoadedResource:this.getLongestLoadedResource(),quietTimerResetCount:this.quietTimerResetCount}}constructor({getDetectedResourcesCount:t,getLastLoadedResources:e,getLoadingResourcesCount:r,getLoadingResourceUrls:i,getLongestLoadedResource:o,maxPageLoadTimeoutForManualApi:a=18e4,onManualCompletionCandidate:u=()=>{},onManualRegistrationReopened:c=()=>{},quietTime:l=1e3,startTime:d=performance.now()}){n._(this,"promise",void 0),n._(this,"getDetectedResourcesCount",void 0),n._(this,"getLastLoadedResources",void 0),n._(this,"getLoadingResourceUrls",void 0),n._(this,"getLoadingResourcesCount",void 0),n._(this,"getLongestLoadedResource",void 0),n._(this,"isResolved",!1),n._(this,"lastManualCompletionTimestamp",void 0),n._(this,"lastResourceTimestamp",void 0),n._(this,"manualCompletionResourceDetails",void 0),n._(this,"manualMode",!1),n._(this,"manualPageLoadTimeoutId",void 0),n._(this,"manualParticipantId",0),n._(this,"manualParticipants",new Set),n._(this,"maxPageLoadTimeoutForManualApi",void 0),n._(this,"onManualCompletionCandidate",void 0),n._(this,"onManualRegistrationReopened",void 0),n._(this,"quietTime",void 0),n._(this,"quietTimerResetCount",0),n._(this,"startTime",void 0),n._(this,"timeoutId",void 0),n._(this,"interruptListener",()=>{this.interrupt()}),n._(this,"resolve",()=>{}),this.getDetectedResourcesCount=t,this.getLastLoadedResources=e,this.getLoadingResourceUrls=i,this.getLoadingResourcesCount=r,this.getLongestLoadedResource=o,this.maxPageLoadTimeoutForManualApi=a,this.onManualCompletionCandidate=u,this.onManualRegistrationReopened=c,this.startTime=d,this.quietTime=l,this.promise=new Promise(t=>{this.resolve=t}),window.addEventListener("pagehide",this.interruptListener,s)}}},9338(t,e){"use strict";function r(t){var e,r;return null===(e=null!==(r=t.navigationMetrics)&&void 0!==r?r:t.spaMetrics)||void 0===e||e}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"resolveNavigationMetricsConfig",{enumerable:!0,get:function(){return r}})},200(t,e,r){"use strict";function n(t){return"img"===t?["media","performance"]:"audio"===t||"video"===t?["media"]:["css","font","link","other"].includes(t)?["performance"]:[]}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getPctMonitorTypes",{enumerable:!0,get:function(){return n}}),r(61571)},22629(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),r(45999)._(r(37103),e)},37103(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"PrivacyManager",{enumerable:!0,get:function(){return s}});const n=r(64333);r(61571),r(21717);const i=r(21063),o=r(63660);class s{}n._(s,"shouldMaskTextNode",(t,e)=>{const r={maskAllText:!0,sensitivityRules:[],...e},n=s.retrieveNodePrivacyInfo(r,t);return!!["mask","exclude"].includes(n.sensitivityRuleType)||!(!r.maskAllText||"unmask"===n.sensitivityRuleType)}),n._(s,"retrieveNodePrivacyInfo",(t,e)=>{const r=(0,i.getParentNode)(e),n=t.sensitivityRules,s=r?(0,o.getNodePrivacyInfo)(r,n):null,a=(0,o.getNodePrivacyInfo)(e,n);let u;if(s)u=(0,o.mergePrivacyInfo)(s,a);else{u={...a};for(const t of(0,i.traverseElementsToRoot)(e)){const e=(0,o.getNodePrivacyInfo)(t,n);u=(0,o.mergePrivacyInfo)(e,u)}}return{...u,parent:r}})},63660(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get SensitivityRuleTypesArray(){return o},get createSelectorsWithChildrenMatch(){return c},get getNodePrivacyInfo(){return a},get getSensitivityRuleType(){return u},get maskText(){return s},get mergePrivacyInfo(){return d}}),r(54603),r(64724),r(10758),r(55498),r(15731),r(30879),r(21717),r(59225),r(78087);const n=r(6371),i=r(21063),o=["mask","unmask","exclude"],s=t=>t.replaceAll(/\S/gi,"*"),a=(t,e)=>({isPasswordInput:(0,n.isInputElement)(t)&&"password"===t.type,sensitivityRuleType:u(t,e)}),u=function(t){let e=null;const r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).toReversed();for(const n of r)if(c(n.selector).some(l(t))){e=n.rule;break}return e},c=t=>t.split(",").flatMap(t=>[t,"".concat(t," *")]),l=t=>e=>{const r=(0,n.isElement)(t)?t:(0,i.getParentElement)(t);return null!==r&&r.matches(e)},d=(t,e)=>{const r={...t};return e.isPasswordInput&&(r.isPasswordInput=!0),"exclude"!==r.sensitivityRuleType&&(r.sensitivityRuleType=e.sensitivityRuleType),r}},90318(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{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},32355(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(45999);n._(r(90318),e),n._(r(5709),e),n._(r(61471),e)},5709(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"SessionManager",{enumerable:!0,get:function(){return d}});const n=r(64333);r(15731),r(47776),r(15166),r(21717),r(11486),r(80792),r(10833),r(82376),r(9559),r(51868),r(31670);const i=r(69209),o=r(30319),s=r(98056),a=r(15180),u=r(77226),c=r(90318),l=["click","touchstart","keydown","scroll"];class d{get session(){return this._session}set session(t){const e=this._session;this._session=t,this.previousSessionState=null!=e?e:null,this.sessionHistory.set(t.id,t),i.diag.debug("SessionManager: Updating session",{currentState:t,previousState:e}),"active"===t.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 t=window.SplunkRumExternal.getSessionMetadata();if(!(0,o.isValidExternalSessionMetadata)(t))return null;const e={expiresAt:t.sessionLastActivity+c.SESSION_INACTIVITY_TIMEOUT_MS,id:t.sessionId,source:"external",startTime:t.sessionStart,state:"active"};if(d.canContinueUsingSession(e))return e;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 t=window.SplunkRumNative.getNativeSessionId();return{expiresAt:Date.now()+c.SESSION_INACTIVITY_TIMEOUT_MS,id:t,source:"external",startTime:Date.now(),state:"active"}}}catch(t){i.diag.warn("Error while retrieving external session",t)}return null}static hasExternalSession(){if("undefined"==typeof window)return!1;const t=Boolean(window.SplunkRumNative&&window.SplunkRumNative.getNativeSessionId),e=Boolean(window.SplunkRumExternal&&window.SplunkRumExternal.getSessionMetadata);return t||e}getSessionId(){var t,e;return this.ensureSessionStateIsUpToDate(),null!==(t=null===(e=d.getExternalSession())||void 0===e?void 0:e.id)&&void 0!==t?t:this.session.id}getSessionMetadata(){this.ensureSessionStateIsUpToDate();const t=this.session;return{sessionId:t.id,sessionLastActivity:t.expiresAt-c.SESSION_INACTIVITY_TIMEOUT_MS,sessionStart:t.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(t=>t()),this.stopCallbacks=[]):i.diag.warn("SessionManager is already stopped.")}subscribe(t){return this.sessionStateChange.subscribe(t)}static canContinueUsingSession(t){return!d.isSessionExpired(t)&&!d.isSessionMaxDurationReached(t)}static generateNewSession(t){let e=(0,s.generateId)(4*c.SESSION_ID_LENGTH);return window.__splunkRumIntegrationTestSessionId&&(e=window.__splunkRumIntegrationTestSessionId),{expiresAt:Date.now()+c.SESSION_INACTIVITY_TIMEOUT_MS,id:e,source:"web",startTime:Date.now(),state:t}}static isSessionExpired(t){return Date.now()>t.expiresAt}static isSessionMaxDurationReached(t){return Date.now()>t.startTime+c.SESSION_DURATION_MS}addEventListeners(t,e,r,n){return e.forEach(e=>t.addEventListener(e,r,n)),{removeListenersCallback:()=>e.forEach(e=>t.removeEventListener(e,r,n))}}attachExternalSessionWatcher(){const t=setInterval(()=>{const t=d.getExternalSession(),e=this.session;t&&(this.session={...e,...t})},1e3);this.stopCallbacks.push(()=>clearInterval(t))}attachStorageWatch(){const t=setInterval(this.synchronizeStorageWithCurrentSessionState,1e3);this.stopCallbacks.push(()=>clearInterval(t))}attachUserActivityListeners(){const{removeListenersCallback:t}=this.addEventListeners(window,l,this.extendOrCreateNewSession,{capture:!0,passive:!0});this.stopCallbacks.push(t)}attachVisibilityListener(){const t=()=>{"visible"===document.visibilityState&&(i.diag.debug("SessionManager: Document is in visible state. Synchronizing storage."),this.synchronizeStorageWithCurrentSessionState())};document.addEventListener("visibilitychange",t,{capture:!0,passive:!0}),this.stopCallbacks.push(()=>{document.removeEventListener("visibilitychange",t)})}attachWatchSessionState(){const t=setInterval(this.watchSessionState,1e3);this.stopCallbacks.push(()=>clearInterval(t))}ensureSessionStateIsUpToDate(){this.getUpdatedSessionStateIfExpired()&&this.watchSessionState()}getSessionStateFromStorageAndValidate(){const t=this.storageManager.getSessionState();if(!t)return null;const e={source:"web",...t,state:"active"};return d.canContinueUsingSession(e)?e:null}constructor(t,e,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=t,this.externalSessionMetadata=e,this.adjustSessionStartToTimeOrigin=r,this.sessionHistory=new Map,this.isStarted=!1,this.lastActivityProcessed=0,this.newSessionsPendingToReport=new Set,this.previousSessionState=null,this.sessionStateChange=new u.Observable,this.stopCallbacks=[],this.extendOrCreateNewSession=t=>{const e=performance.now();if(0!==this.lastActivityProcessed&&e-this.lastActivityProcessed<1e3)return void i.diag.debug("SessionManager: User activity is throttled.");if(this.lastActivityProcessed=e,i.diag.debug("SessionManager: User activity detected - checking if session should be extended or a new one created."),!(0,a.isTrustedEvent)(t))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()+c.SESSION_INACTIVITY_TIMEOUT_MS};else{i.diag.debug("SessionManager: Cannot continue current session: session has expired or reached its maximum duration.");const t=this.getSessionStateFromStorageAndValidate();if(t)this.session={...t,expiresAt:Date.now()+c.SESSION_INACTIVITY_TIMEOUT_MS,state:"active"};else{const t=d.generateNewSession("active");this.newSessionsPendingToReport.add(t.id),this.session=t}}},this.getUpdatedSessionStateIfExpired=()=>{if(!d.canContinueUsingSession(this.session)){const t=d.isSessionMaxDurationReached(this.session)?"expired-duration":"expired-inactivity";if(this.session.state!==t)return{...this.session,state:t}}},this.notifySessionStateChange=()=>{const t=this.newSessionsPendingToReport.has(this._session.id);this.sessionStateChange.notify({currentState:t?{...this._session,isNew:!0}:this._session,previousState:this.previousSessionState}),t&&this.newSessionsPendingToReport.delete(this._session.id)},this.synchronizeStorageWithCurrentSessionState=()=>{const t=this.getSessionStateFromStorageAndValidate();if(t)return t.id!==this.session.id?(i.diag.debug("SessionManager: Session in storage changed.",{persistedSessionState:t}),void(this.session={...t,state:"active"})):t.expiresAt>this.session.expiresAt?(i.diag.debug("SessionManager: Expiration of session changed."),void(this.session={...t})):void 0},this.watchSessionState=()=>{const t=this.getUpdatedSessionStateIfExpired();t&&(this.session=t)},e){const t={expiresAt:e.sessionLastActivity+c.SESSION_INACTIVITY_TIMEOUT_MS,id:e.sessionId,source:"external",startTime:e.sessionStart,state:"active"};if(d.canContinueUsingSession(t))return this.session=t,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 t=this.getSessionStateFromStorageAndValidate();if(t)this.session=t;else{const t=d.generateNewSession("active");r&&(t.startTime=Math.trunc(t.startTime-performance.now())),this.newSessionsPendingToReport.add(t.id),this.session=t}}i.diag.debug("SessionManager: Initialized. Current session state",{state:this._session})}}},61471(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},8405(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{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(32355),i="_splunk_rum_sid",o=n.SESSION_INACTIVITY_TIMEOUT_MS/1e3,s="_splunk_rum_user_anonymousId",a=3456e4},89976(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(45999);n._(r(8405),e),n._(r(54185),e),n._(r(53711),e)},83308(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BaseStorageProvider",{enumerable:!0,get:function(){return i}}),r(57332),r(45178);const n=r(69209);class i{safelyParseJson(t){const e=this.getValue(t);if(e)try{return JSON.parse(e)}catch(r){return void n.diag.warn("Failed to parse JSON from ".concat(this.providerName),{error:r instanceof Error?r.message:"Unknown error",key:t,value:e})}}safelyStoreJson(t,e,r){try{const n=JSON.stringify(e);return this.setValue(t,n,r)}catch(r){return n.diag.warn("Failed to serialize and store JSON in ".concat(this.providerName),{data:e,error:r instanceof Error?r.message:"Unknown error",key:t}),!1}}}},19721(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"CookieStorageProvider",{enumerable:!0,get:function(){return u}});const n=r(64333);r(54603),r(21717),r(57332),r(61571);const i=r(69209),o=r(98056),s=r(788),a=r(83308);class u extends a.BaseStorageProvider{static safelyGetValue(t){try{const e=document.cookie.split(";");for(const r of e){const[e,n]=r.trim().split("=");if(e===t)return decodeURIComponent(n||"")}}catch(e){i.diag.warn("Failed to retrieve cookie",{error:e instanceof Error?e.message:"Unknown error",key:t})}return null}static safelyRemoveValue(t,e){try{const r="Thu, 01 Jan 1970 00:00:01 GMT";return document.cookie="".concat(t,"=;expires=").concat(r,";domain=").concat(e.domain,";path=/"),!0}catch(r){return i.diag.warn("Failed to remove cookie",{domain:e.domain,error:r,key:t}),!1}}static safelySetValue(t,e,r){try{const n=r.domain?";domain=".concat(r.domain):"",i=encodeURIComponent(e);let a="".concat(t,"=").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(e){return i.diag.warn("Failed to set cookie",{domain:r.domain,error:e,key:t}),!1}}getValue(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return u.safelyGetValue(...e)}removeValue(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return u.safelyRemoveValue(...e)}setValue(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return u.safelySetValue(...e)}constructor(...t){super(...t),n._(this,"providerName","cookie")}}},54185(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(45999);n._(r(83308),e),n._(r(19721),e),n._(r(21014),e),n._(r(63571),e)},21014(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"LocalStorageProvider",{enumerable:!0,get:function(){return s}});const n=r(64333);r(57332),r(21717);const i=r(69209),o=r(83308);class s extends o.BaseStorageProvider{static safelyGetValue(t){try{return window.localStorage.getItem(t)}catch(e){return i.diag.warn("Failed to retrieve item from localStorage",{error:e,key:t}),null}}static safelyRemoveValue(t){try{return window.localStorage.removeItem(t),!0}catch(e){return i.diag.warn("Failed to remove item from localStorage",{error:e instanceof Error?e.message:"Unknown error",key:t}),!1}}static safelySetValue(t,e){try{return window.localStorage.setItem(t,e),!0}catch(e){return i.diag.warn("Failed to store item in localStorage",{error:e,key:t}),!1}}getValue(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return s.safelyGetValue(...e)}removeValue(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return s.safelyRemoveValue(...e)}setValue(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return s.safelySetValue(...e)}constructor(...t){super(...t),n._(this,"providerName","localStorage")}}},63571(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"SessionStorageProvider",{enumerable:!0,get:function(){return s}});const n=r(64333);r(57332),r(21717);const i=r(69209),o=r(83308);class s extends o.BaseStorageProvider{static safelyGetValue(t){try{return window.sessionStorage.getItem(t)}catch(e){return i.diag.warn("Failed to retrieve item from sessionStorage",{error:e,key:t}),null}}static safelyRemoveValue(t){try{return window.sessionStorage.removeItem(t),!0}catch(e){return i.diag.warn("Failed to remove item from sessionStorage",{error:e instanceof Error?e.message:"Unknown error",key:t}),!1}}static safelySetValue(t,e){try{return window.sessionStorage.setItem(t,e),!0}catch(e){return i.diag.warn("Failed to store item in sessionStorage",{error:e,key:t}),!1}}getValue(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return s.safelyGetValue(...e)}removeValue(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return s.safelyRemoveValue(...e)}setValue(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return s.safelySetValue(...e)}constructor(...t){super(...t),n._(this,"providerName","sessionStorage")}}},53711(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"StorageManager",{enumerable:!0,get:function(){return a}});const n=r(64333);r(57332);const i=r(69209),o=r(8405),s=r(54185);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(t){return void i.diag.warn("Failed to retrieve anonymous user ID",{error:t instanceof Error?t.message:"Unknown error",options:this.options})}}getSessionState(){try{return this.storageProvider.safelyParseJson(o.SESSION_STORAGE_KEY)}catch(t){return void i.diag.warn("Failed to retrieve session state",{error:t instanceof Error?t.message:"Unknown error",options:this.options})}}persistAnonymousUserId(t){i.diag.debug("StorageManager: Persisting anonymous user ID",{anonymousUserId:t});try{return this.storageProvider.setValue(o.ANONYMOUS_USER_ID_STORAGE_KEY,t,{...this.options,expires:o.ANONYMOUS_USER_ID_EXPIRATION_SEC})}catch(e){return i.diag.warn("Failed to persist anonymous user ID",{anonymousUserId:t,error:e instanceof Error?e.message:"Unknown error",options:this.options}),!1}}persistSessionState(t){const{expiresAt:e,id:r,startTime:n}=t;i.diag.debug("SessionManager: Persisting session state",{expiresAt:e,id:r,startTime:n});try{return this.storageProvider.safelyStoreJson(o.SESSION_STORAGE_KEY,{expiresAt:e,id:r,startTime:n},{...this.options,expires:o.SESSION_EXPIRATION_COOKIE_SEC})}catch(e){return i.diag.warn("Failed to persist session state",{error:e instanceof Error?e.message:"Unknown error",options:this.options,sessionState:t}),!1}}constructor(t){n._(this,"options",void 0),n._(this,"cookieStorageProvider",void 0),n._(this,"localStorageProvider",void 0),this.options=t,this.cookieStorageProvider=new s.CookieStorageProvider,this.localStorageProvider=new s.LocalStorageProvider}}},37511(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ANONYMOUS_USER_ID_LENGTH",{enumerable:!0,get:function(){return r}});const r=128},13006(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(45999);n._(r(37511),e),n._(r(37577),e)},37577(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"UserManager",{enumerable:!0,get:function(){return a}});const n=r(64333);r(57332);const i=r(69209),o=r(98056),s=r(37511);class a{forgetAnonymousId(){this.anonymousId=void 0}getAnonymousIdIfEnabled(){if("anonymousTracking"!==this.userTrackingMode)return;if(this.anonymousId)return this.anonymousId;const t=this.getAnonymousIdFromStorage();if(t)return this.anonymousId=t,this.persistAnonymousId(t),t;const e=a.generateAnonymousId();this.persistAnonymousId(e);const r=this.getAnonymousIdFromStorage();return this.anonymousId=r!==e&&void 0!==r?r:e,this.anonymousId}static generateAnonymousId(){return(0,o.generateId)(s.ANONYMOUS_USER_ID_LENGTH)}getAnonymousIdFromStorage(){try{return this.storageManager.getAnonymousUserId()}catch(t){return void i.diag.warn("Failed to retrieve anonymous user ID from storage",{error:t instanceof Error?t.message:"Unknown error"})}}persistAnonymousId(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;for(let r=1;r<=e;r++)try{if(this.storageManager.persistAnonymousUserId(t),this.storageManager.getAnonymousUserId())return!0;i.diag.debug("Anonymous user ID persistence verification failed (attempt ".concat(r,"/").concat(e,")"),{id:t})}catch(n){i.diag.warn("Failed to persist anonymous user ID (attempt ".concat(r,"/").concat(e,")"),{error:n instanceof Error?n.message:"Unknown error",id:t})}return i.diag.warn("Failed to persist anonymous user ID after all retries",{id:t,maxRetries:e}),!1}constructor(t,e,r){n._(this,"userTrackingMode",void 0),n._(this,"storageManager",void 0),n._(this,"anonymousId",void 0),this.userTrackingMode=t,this.storageManager=e,"anonymousTracking"===t&&(r?(this.anonymousId=r,this.persistAnonymousId(r)):this.getAnonymousIdIfEnabled())}}n._(a,"isUserTrackingMode",t=>"noTracking"===t||"anonymousTracking"===t)},87805(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ElementVisibilityObserver",{enumerable:!0,get:function(){return s}});const n=r(64333);r(11486),r(80792),r(10833),r(82376),r(9559),r(51868),r(31670),r(21717),r(15166),r(15731),r(96469),r(30879);const i=r(69209),o=r(6371);class s{resync(t,e){var r;(null===(r=this.consumersBySelector.get(e))||void 0===r?void 0:r.has(t))&&this.scanSelector(e,t)}unwatch(t){const e=this.callbacks.get(t);e&&(this.dropConsumerFromAllSelectors(t,e),this.callbacks.delete(t),this.syncMutationObserver())}watch(t,e,r){this.callbacks.set(t,r);const n=new Set(e);for(const e of n)this.addConsumerToSelector(t,e);for(const[e,i]of this.consumersBySelector)i.has(t)&&!n.has(e)&&this.dropConsumerFromSelector(t,e,r);this.syncMutationObserver()}addConsumerToSelector(t,e){var r,n;(null===(r=this.consumersBySelector.get(e))||void 0===r?void 0:r.has(t))||(this.consumersBySelector.has(e)||this.consumersBySelector.set(e,new Set),null===(n=this.consumersBySelector.get(e))||void 0===n||n.add(t),this.scanSelector(e,t))}clearScheduledScan(){void 0!==this.scanTimeoutId&&(clearTimeout(this.scanTimeoutId),this.scanTimeoutId=void 0)}computeVisibilityDelta(t){var e;const r=null!==(e=this.visibleElementsBySelector.get(t))&&void 0!==e?e:new Set,n=this.getVisibleMatches(t);this.visibleElementsBySelector.set(t,n);const i=[];for(const t of n)r.has(t)||i.push(t);const o=[];for(const t of r)n.has(t)||o.push(t);return{appeared:i,currentlyVisible:n,disappeared:o}}dropConsumerFromAllSelectors(t,e){for(const n of this.consumersBySelector.keys()){var r;(null===(r=this.consumersBySelector.get(n))||void 0===r?void 0:r.has(t))&&this.dropConsumerFromSelector(t,n,e)}}dropConsumerFromSelector(t,e,r){var n,o;null===(n=this.consumersBySelector.get(e))||void 0===n||n.delete(t);const s=this.visibleElementsBySelector.get(e);if(s)for(const n of s)try{r({element:n,selector:e,visible:!1})}catch(t){i.diag.warn("ElementVisibilityObserver: Consumer callback threw.",{error:t})}0===(null===(o=this.consumersBySelector.get(e))||void 0===o?void 0:o.size)&&(this.consumersBySelector.delete(e),this.visibleElementsBySelector.delete(e))}getVisibleMatches(t){let e;try{e=document.querySelectorAll(t)}catch(e){return this.warnedInvalidSelectors.has(t)||(this.warnedInvalidSelectors.add(t),i.diag.warn("ElementVisibilityObserver: Invalid selector.",{error:e,selector:t})),new Set}return new Set(Array.from(e).filter(t=>this.isElementVisible(t)))}invokeCallback(t,e){try{var r;null===(r=this.callbacks.get(t))||void 0===r||r(e)}catch(t){i.diag.warn("ElementVisibilityObserver: Consumer callback threw.",{error:t})}}isElementVisible(t){if(!t.isConnected||t.hasAttribute("hidden")||0===t.getClientRects().length)return!1;const e=getComputedStyle(t);return"none"!==e.display&&"hidden"!==e.visibility&&"collapse"!==e.visibility}notify(t,e){for(const r of t)this.invokeCallback(r,e)}scanSelector(t,e){var r;const{appeared:n,currentlyVisible:i,disappeared:o}=this.computeVisibilityDelta(t),s=null!==(r=this.consumersBySelector.get(t))&&void 0!==r?r:new Set,a=void 0===e?s:new Set([...s].filter(t=>t!==e));if(void 0!==e)for(const r of i)this.invokeCallback(e,{element:r,selector:t,visible:!0});for(const e of n)this.notify(a,{element:e,selector:t,visible:!0});for(const e of o)this.notify(a,{element:e,selector:t,visible:!1})}scanSelectors(){this.clearScheduledScan();const t=[],e=[];for(const r of this.consumersBySelector.keys()){const{appeared:n,disappeared:i}=this.computeVisibilityDelta(r);for(const e of n)t.push({element:e,selector:r});for(const t of i)e.push({element:t,selector:r})}for(const{element:e,selector:n}of t){var r;this.notify(null!==(r=this.consumersBySelector.get(n))&&void 0!==r?r:new Set,{element:e,selector:n,visible:!0})}for(const{element:t,selector:r}of e){var n;this.notify(null!==(n=this.consumersBySelector.get(r))&&void 0!==n?n:new Set,{element:t,selector:r,visible:!1})}}scheduleScan(){void 0===this.scanTimeoutId&&(this.scanTimeoutId=setTimeout(()=>{this.scanSelectors()},0))}syncMutationObserver(){var t;this.consumersBySelector.size>0?this.observer||(this.observer=new MutationObserver(t=>{t.some(t=>"childList"===t.type||"attributes"===t.type&&(0,o.isElement)(t.target))&&this.scheduleScan()}),this.observer.observe(document.documentElement,{attributes:!0,childList:!0,subtree:!0})):(null===(t=this.observer)||void 0===t||t.disconnect(),this.observer=null)}constructor(){n._(this,"callbacks",new Map),n._(this,"consumersBySelector",new Map),n._(this,"observer",null),n._(this,"scanTimeoutId",void 0),n._(this,"visibleElementsBySelector",new Map),n._(this,"warnedInvalidSelectors",new Set)}}},13403(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get SafeW3CBaggagePropagator(){return s},get getKeyPairs(){return a},get parseBaggageHeaderString(){return c},get parsePairKeyValue(){return u}}),r(21717),r(15731),r(96469),r(28364),r(16089),r(35505);const n=r(69209),i=r(87844),o="baggage";class s{extract(t,e,r){const i=r.get(e,o);if(!i)return t;const s={};let a=0,u=0;if(Array.isArray(i))for(const t of i)[a,u]=c(t,s,a,u);else[a]=c(i,s,a,u);return 0===a?t:n.propagation.setBaggage(t,n.propagation.createBaggage(s))}fields(){return[o]}inject(t,e,r){const s=n.propagation.getBaggage(t);if(!s||(0,i.isTracingSuppressed)(t))return;const u=function(t){return t.reduce((t,e)=>{const r="".concat(t).concat(""===t?"":",").concat(e);return r.length<=8192?r:t},"")}(a(s).filter(t=>t.length<=4096).slice(0,180));u.length>0&&r.set(e,o,u)}}function a(t){return t.getAllEntries().map(t=>{let[e,r]=t,n="".concat(encodeURIComponent(e),"=").concat(encodeURIComponent(r.value));return void 0!==r.metadata&&(n+=";"+r.metadata.toString()),n})}function u(t){if(!t)return;const e=t.indexOf(";"),r=-1===e?t:t.slice(0,Math.max(0,e)),i=r.indexOf("=");if(i<=0)return;const o=r.slice(0,Math.max(0,i)).trim(),s=r.slice(Math.max(0,i+1)).trim();if(!o||!s)return;let a,u,c;try{a=decodeURIComponent(o),u=decodeURIComponent(s)}catch{return}if(-1!==e&&e<t.length-1){const r=t.slice(Math.max(0,e+1));c=(0,n.baggageEntryMetadataFromString)(r)}return{key:a,metadata:c,value:u}}function c(t,e,r,n){let i=0;for(;i<t.length&&r<180;){const o=t.indexOf(",",i),s=-1===o?t.length:o,a=s-i;if(a<=4096){const o=u(t.substring(i,s));if(o){const t=(0===r?0:1)+a;if(n+t>8192)break;e[o.key]=o.metadata?{metadata:o.metadata,value:o.value}:{value:o.value},r+=1,n+=t}}if(-1===o)break;i=o+1}return[r,n]}},70280(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get captureTraceParent(){return s},get captureTraceParentFromPerformanceEntries(){return a}}),r(54603),r(21717);const n=r(87844);function i(t,e){const r=(0,n.parseTraceParent)(t);r&&(e.setAttribute("link.traceId",r.traceId),e.setAttribute("link.spanId",r.spanId))}const o=/traceparent;desc=(['"])([^'"]+)\1/;function s(t,e){for(let r of t.split(",")){r=r.trim();const t=r.match(o);(null==t?void 0:t[2])&&i(t[2],e)}}function a(t,e){if(t.serverTiming)for(const r of t.serverTiming)"traceparent"===r.name&&r.description&&i(r.description,e)}},24514(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"BrowserInstanceService",{enumerable:!0,get:function(){return a}});const n=r(64333),i=r(89976),o=r(98056),s="browser_instance_id";class a{static get id(){if(null!==this._id)return this._id;let t=i.SessionStorageProvider.safelyGetValue(s);return t?this._id=t:null===t?(t=(0,o.generateId)(64),this._id=t,i.SessionStorageProvider.safelySetValue(s,t)):this._id=void 0,this._id}}n._(a,"_id",null)},54662(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"SessionBasedSampler",{enumerable:!0,get:function(){return s}});const n=r(64333);r(57332);const i=r(56490),o=r(13094);class s{isSessionSampled(t){return this._accumulate(t)<this.upperBound}shouldSample(t,e,r,n,i,s){const a=(0,o.getGlobal)();if(!a.sessionManager)throw new Error("SplunkRum is not initialized");const u=a.sessionManager.getSessionId();return this.currentSessionId!==u&&(this.currentSessionSampled=this._accumulate(u)<this.upperBound,this.currentSessionId=u),(this.currentSessionSampled?this.sampled:this.notSampled).shouldSample(t,e,r,n,i,s)}toString(){return"SessionBased{ratio=".concat(this.ratio,", sampled=").concat(this.sampled.toString(),", notSampled=").concat(this.notSampled.toString(),"}")}_accumulate(t){let e=0;for(let r=0;r<t.length/8;r++){const n=8*r;e=(e^Number.parseInt(t.slice(n,n+8),16))>>>0}return e}_normalize(t){return"number"!=typeof t||Number.isNaN(t)?0:t>=1?1:Math.max(t,0)}constructor({notSampled:t=new i.AlwaysOffSampler,ratio:e=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(e),this.upperBound=Math.floor(4294967295*this.ratio),this.sampled=r,this.notSampled=t}}},62884(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(45999);n._(r(92739),e),n._(r(2280),e)},92739(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"SpanAttributesProcessor",{enumerable:!0,get:function(){return u}});const n=r(64333);r(97982),r(21717);const i=r(69209),o=r(87844),s=r(21586),a=r(65022);class u{forceFlush(){return Promise.resolve()}getGlobalAttributes(){return this._globalAttributes}onEnd(t){var e;const r=t.endTime[0],n=null!==(e=t.attributes["splunk.rumSessionId"])&&void 0!==e?e:"",i=this.sessionManager.sessionHistory.get(n);if(i){const e=(i.startTime+s.SESSION_DURATION_MS)/1e3;r>e&&(t.endTime[0]=e,t.endTime[1]=0,t.duration[0]=e-t.startTime[0],t.duration[1]=0)}}onStart(t){if(this.navigationMetricsManager&&void 0===t.attributes[a.BROWSER_NAVIGATION_OPERATION_ATTRIBUTE]){const e=(0,o.hrTimeToMilliseconds)(t.startTime)-performance.timeOrigin;t.setAttribute(a.BROWSER_NAVIGATION_OPERATION_ATTRIBUTE,this.navigationMetricsManager.getNavigationOperation(e))}void 0===t.attributes["location.href"]&&t.setAttribute("location.href",location.href),t.setAttributes(this._globalAttributes);const e=this.sessionManager.getSessionState();"expired-duration"===e.state||"expired-inactivity"===e.state&&this.discardDataAfterInactivity||(this.adjustSessionStartToTimeOrigin&&(0,o.hrTimeToMilliseconds)(t.startTime)<e.startTime-1e3?i.diag.warn("Dropping span that started before the session",{diffMs:e.startTime-(0,o.hrTimeToMilliseconds)(t.startTime),sessionStartTime:e.startTime,spanName:t.name,spanStartTime:(0,o.hrTimeToMilliseconds)(t.startTime)}):t.setAttribute("splunk.rumSessionId",e.id));const r=this.userManager.getAnonymousIdIfEnabled();r&&t.setAttribute("user.anonymous_id",r),t.setAttribute("browser.instance.visibility_state",document.visibilityState),"unknown_service"===t.resource.attributes["service.name"]&&delete t.resource.attributes["service.name"]}setGlobalAttributes(t){if(t)Object.assign(this._globalAttributes,t);else for(const t of Object.keys(this._globalAttributes))delete this._globalAttributes[t]}shutdown(){return Promise.resolve()}constructor(t,e,r,i=!0,o=!0,s){n._(this,"sessionManager",void 0),n._(this,"userManager",void 0),n._(this,"discardDataAfterInactivity",void 0),n._(this,"adjustSessionStartToTimeOrigin",void 0),n._(this,"navigationMetricsManager",void 0),n._(this,"_globalAttributes",void 0),this.sessionManager=t,this.userManager=e,this.discardDataAfterInactivity=i,this.adjustSessionStartToTimeOrigin=o,this.navigationMetricsManager=s,this._globalAttributes=null!=r?r:{}}}},2280(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"SpanEmitterProcessor",{enumerable:!0,get:function(){return i}});const n=r(64333);r(11486),r(80792),r(10833),r(82376),r(9559),r(51868),r(31670),r(21717),r(97982),r(15166);class i{addEventListener(t,e){this.listeners.has(t)||this.listeners.set(t,new Set),this.listeners.get(t).add(e)}emitSpan(t,e){var r,n;const i=null===(n=t.attributes)||void 0===n?void 0:n.component;if(!i)return;const o="start"===e?"".concat(i,":start"):i,s=null!==(r=this.listeners.get(o))&&void 0!==r?r:[];for(const e of s)try{e(t)}catch{}}enable(){this.isEnabled=!0;for(const t of this.buffer)this.emitSpan(t,"end");this.buffer=[]}forceFlush(){return Promise.resolve()}onEnd(t){this.isEnabled?this.emitSpan(t,"end"):this.buffer.push(t)}onStart(t){this.isEnabled&&this.emitSpan(t,"start")}removeEventListener(t,e){var r;null===(r=this.listeners.get(t))||void 0===r||r.delete(e)}shutdown(){return this.listeners.clear(),Promise.resolve()}constructor(){n._(this,"buffer",[]),n._(this,"isEnabled",!1),n._(this,"listeners",new Map)}}},9541(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"SplunkContextManager",{enumerable:!0,get:function(){return u}});const n=r(64333);r(21717),r(43994),r(15731),r(47776),r(97982),r(12380);const i=r(69209),o=r(40554),s=r(98056),a="__splunk_context";class u{active(){return this._currentContext}bind(t,e){return(0,s.isFunction)(e)?this._bindFunction(e,t):e}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(t,e,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 u,c;null===(u=(c=this._config).onBeforeContextStart)||void 0===u||u.call(c)}catch{}const l=this._currentContext;this._currentContext=t||i.ROOT_CONTEXT;const d=location.hash;try{var p,h;const t=e.call(r,...o);return null===(p=(h=this._config).onBeforeContextEnd)||void 0===p||p.call(h),t}finally{this._currentContext=l,d!==location.hash&&(this._hashChangeContext=t,(0,s.getOriginalFunction)(setTimeout)(()=>{this._hashChangeContext===t&&(this._hashChangeContext=null)},33))}}_bindFunction(t){let e=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(e,()=>t.apply(this,i))};return Object.defineProperty(n,"length",{configurable:!0,enumerable:!1,value:t.length,writable:!1}),n}_getListenersMap(t,e){this._contextResumingListeners.has(t)||this._contextResumingListeners.set(t,new Map);const r=this._contextResumingListeners.get(t);return(null==r?void 0:r.has(e))||null==r||r.set(e,new WeakMap),null==r?void 0:r.get(e)}_getWrappedEventListener(t,e){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=e();return s&&r._enabled?r.with(s,t,this,...i):t.apply(this,i)}}_patchEvents(){const t=this;(0,s.wrapNatively)(XMLHttpRequest.prototype,"addEventListener",e=>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 e=t._getListenersMap(this,n[0]);let r=null==e?void 0:e.get(n[1]);r||(r=t.bind(t.active(),n[1]),null==e||e.set(n[1],r)),n[1]=r}return e.apply(this,n)}),(0,s.wrapNatively)(XMLHttpRequest.prototype,"removeEventListener",e=>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 e=t._getListenersMap(this,n[0]),r=null==e?void 0:e.get(n[1]);r&&(n[1]=r)}return e.apply(this,n)}),["onabort","onerror","onload","onloadend","onloadstart","onprogress","ontimeout"].forEach(e=>{const r=Object.getOwnPropertyDescriptor(XMLHttpRequestEventTarget.prototype,e);r&&((0,s.wrapNatively)(r,"get",t=>function(){const e=null==t?void 0:t.call(this);return(0,s.isFunction)(e)&&e._orig?e._orig:e}),(0,s.wrapNatively)(r,"set",e=>function(r){if((0,s.isFunction)(r)){const e=r,n=t.bind(t.active(),r);n._orig=e,r=n}return null==e?void 0:e.call(this,r)}),Object.defineProperty(XMLHttpRequestEventTarget.prototype,e,r))}),(0,s.wrapNatively)(Window.prototype,"addEventListener",e=>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 e=t._getListenersMap(this,n[0]);let r=null==e?void 0:e.get(n[1]);r||(r=t._getWrappedEventListener(n[1],()=>t._hashChangeContext),null==e||e.set(n[1],r)),n[1]=r}return e.apply(this,n)});const e=Object.getOwnPropertyDescriptor(window,"onhashchange");e&&((0,s.wrapNatively)(e,"get",t=>function(){const e=null==t?void 0:t.call(this);return(0,s.isFunction)(e)&&e._orig?e._orig:e}),(0,s.wrapNatively)(e,"set",e=>function(r){if((0,s.isFunction)(r)){const e=t._getWrappedEventListener(r,()=>t._hashChangeContext);e._orig=r,r=e}return null==e?void 0:e.call(this,r)}),Object.defineProperty(window,"onhashchange",e))}_patchMessageChannel(){const t=this;(0,s.wrapNatively)(window,"MessageChannel",e=>class extends e{constructor(...e){super(...e),t._messagePorts.set(this.port1,this.port2),t._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",e=>function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];const o=t.active();if(!t._messagePorts.has(this)||!o)return e.apply(this,n);const u=t._messagePorts.get(this);u[a]=o;const c=e.apply(this,n);return(0,s.getOriginalFunction)(setTimeout)(()=>{u[a]===o&&(u[a]=null)},100),c}),(0,s.wrapNatively)(MessagePort.prototype,"addEventListener",e=>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 e=t._getListenersMap(this,n[0]);let r=null==e?void 0:e.get(n[1]);r||(r=t._getWrappedEventListener(n[1],()=>this[a]),null==e||e.set(n[1],r)),n[1]=r}return e.apply(this,n)}),(0,s.wrapNatively)(MessagePort.prototype,"removeEventListener",e=>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 e=t._getListenersMap(this,n[0]),r=null==e?void 0:e.get(n[1]);r&&(n[1]=r)}return e.apply(this,n)});const e=Object.getOwnPropertyDescriptor(MessagePort.prototype,"onmessage");e&&((0,s.wrapNatively)(e,"get",t=>function(){const e=null==t?void 0:t.call(this);return(0,s.isFunction)(e)&&e._orig?e._orig:e}),(0,s.wrapNatively)(e,"set",e=>function(r){if((0,s.isFunction)(r)){const e=t._getWrappedEventListener(r,()=>this[a]);e._orig=r,r=e}return null==e?void 0:e.call(this,r)}),Object.defineProperty(MessagePort.prototype,"onmessage",e))}_patchMutationObserver(){const t=this;(0,s.wrapNatively)(window,"MutationObserver",e=>class extends e{observe(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];if(r[0]&&r[0]instanceof Text&&!r[0].parentNode&&r[1]&&r[1].characterData){const e=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 u=t.active();return u&&(e[a]=u),null==i||null===(s=i.set)||void 0===s?void 0:s.apply(this,n)}})}return super.observe(...r)}constructor(...e){if((0,s.isFunction)(e[0])){const r=e[0];e[0]=function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return this[a]&&t._enabled?t.with(this[a],r,this,...n):r.apply(this,n)}}super(...e),Object.defineProperty(this,a,{enumerable:!1,value:null,writable:!0})}})}_patchPromise(){if(!window.Promise)return;const t=this;(0,s.wrapNatively)(Promise.prototype,"then",e=>function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t.bindActiveToArgument(n,0),t.bindActiveToArgument(n,1),e.apply(this,n)}),(0,s.wrapNatively)(Promise.prototype,"catch",e=>function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t.bindActiveToArgument(n,0),e.apply(this,n)}),(0,s.wrapNatively)(Promise.prototype,"finally",e=>function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t.bindActiveToArgument(n,0),e.apply(this,n)})}_patchTimeouts(){const t=this;(0,s.wrapNatively)(window,"setTimeout",e=>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)&&t.bindActiveToArgument(n,0),e.apply(this,n)}),window.setImmediate&&(0,s.wrapNatively)(window,"setImmediate",e=>function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t.bindActiveToArgument(n,0),e.apply(this,n)}),window.requestAnimationFrame&&(0,s.wrapNatively)(window,"requestAnimationFrame",e=>function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t.bindActiveToArgument(n,0),e.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 t=Object.getOwnPropertyDescriptor(MessagePort.prototype,"onmessage");t&&((0,o.unwrap)(t,"get"),(0,o.unwrap)(t,"set"),Object.defineProperty(MessagePort.prototype,"onmessage",t))}_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(t,e){(0,s.isFunction)(t[e])&&(t[e]=this.bind(this.active(),t[e]))}constructor(t={}){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=t,this._currentContext=i.ROOT_CONTEXT,this._contextResumingListeners=new WeakMap,this._enabled=!1,this._hashChangeContext=null,this._messagePorts=new WeakMap}}},42717(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"SplunkSamplerWrapper",{enumerable:!0,get:function(){return i}});const n=r(64333);class i{shouldSample(t,e,r,n,i,o){return this.options.decider.shouldSample(t,e,r,n,i,o)}toString(){return"SplunkSampler{decider=".concat(this.options.decider.toString(),"}")}constructor(t){n._(this,"options",void 0),this.options=t}}},71413(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"SplunkWebTracerProvider",{enumerable:!0,get:function(){return o}}),r(97982);const n=r(69209),i=r(56490);class o extends i.WebTracerProvider{shutdown(){return new Promise(t=>{n.propagation.disable(),n.context.disable(),n.trace.disable(),t()}).then(()=>super.shutdown())}}},63181(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get SYNTHETICS_RUN_ID_ATTRIBUTE(){return r},get SYNTHETICS_TEST_ID_ATTRIBUTE(){return i},get getSyntheticsRunId(){return n},get getSyntheticsTestId(){return o}});const r="Synthetics-RunId";function n(){return window.syntheticsRunId}const i="Synthetics-TestId";function o(){return window.syntheticsTestId}},50305(t,e,r){"use strict";function n(t){return["cookie","localStorage"].includes(t)}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isPersistenceType",{enumerable:!0,get:function(){return n}}),r(61571)},30319(t,e){"use strict";function r(t){if("object"!=typeof t||null===t)return!1;const e=t;return"string"==typeof e.sessionId&&e.sessionId.length>0&&"number"==typeof e.sessionStart&&Number.isFinite(e.sessionStart)&&e.sessionStart>0&&"number"==typeof e.sessionLastActivity&&Number.isFinite(e.sessionLastActivity)&&e.sessionLastActivity>0&&"string"==typeof e.anonymousUserId&&e.anonymousUserId.length>0}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isValidExternalSessionMetadata",{enumerable:!0,get:function(){return r}})},6371(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(45999);n._(r(50305),e),n._(r(24441),e),n._(r(71059),e)},63795(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isError",{enumerable:!0,get:function(){return n}}),r(57332);const n=t=>{var e,r;return null!==t&&"object"==typeof t&&(t instanceof Error||(null===(e=t.constructor.name)||void 0===e?void 0:e.endsWith("Error"))||(null===(r=t.constructor.name)||void 0===r?void 0:r.endsWith("Exception")))}},24441(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(45999);n._(r(63795),e),n._(r(15161),e),n._(r(9412),e),n._(r(96756),e)},15161(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get isCommentNode(){return u},get isDocumentNode(){return o},get isElement(){return n},get isInputElement(){return i},get isLinkElement(){return c},get isMediaElement(){return g},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=t=>void 0!==(null==t?void 0:t.nodeName),n=t=>(null==t?void 0:t.nodeType)===Node.ELEMENT_NODE,i=t=>"INPUT"===t.nodeName,o=t=>Boolean(t)&&(null==t?void 0:t.nodeType)===Node.DOCUMENT_NODE,s=t=>"#document-fragment"===t.nodeName&&"ShadowRoot"===t.constructor.name,a=t=>"#document-fragment"===t.nodeName&&"ShadowRoot"!==t.constructor.name,u=t=>"#comment"===t.nodeName,c=t=>"LINK"===t.nodeName,l=t=>"META"===t.nodeName,d=t=>null!==t&&("STYLE"===t.nodeName||"style"===t.nodeName),p=t=>"SCRIPT"===t.nodeName,h=t=>"SCRIPT"===t.nodeName||"NOSCRIPT"===t.nodeName,f=t=>t.nodeType===Node.TEXT_NODE,g=t=>"IMG"===t.tagName||"VIDEO"===t.tagName||"AUDIO"===t.tagName},9412(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isFiniteNumber",{enumerable:!0,get:function(){return r}});const r=t=>"number"==typeof t&&Number.isFinite(t)},96756(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get hasToString(){return r},get isString(){return n}});const r=t=>!!t&&"function"==typeof t.toString,n=t=>"string"==typeof t},71059(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0})},15514(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AttributeNames",{enumerable:!0,get:function(){return r}});var r=function(t){return t.EVENT_TYPE="event_type",t.TARGET_ELEMENT="target_element",t.TARGET_INTERACTIVE="target_interactive",t.TARGET_XPATH="target_xpath",t.HTTP_URL="http.url",t}({})},10484(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"UserInteractionInstrumentation",{enumerable:!0,get:function(){return f}});const n=r(64333),i=r(82446);r(54603),r(15731),r(47776),r(21717),r(43994),r(11486),r(80792),r(10833),r(82376),r(9559),r(51868),r(31670);const o=i._(r(69209)),s=r(76657),a=r(37103),u=r(6371),c=r(21063),l=r(15514),d=r(34398),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 t=this;return e=>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=e.apply(this,n),a="".concat(location.pathname).concat(location.hash).concat(location.search);return o!==a&&t._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(t){const e=o.trace.getSpan(o.context.active());e&&"function"==typeof e.updateName&&e.updateName("".concat("Navigation:"," ").concat(t))}disable(){this._getPatchableEventTargets().forEach(t=>{(0,s.isWrapped)(t.addEventListener)&&this._unwrap(t,"addEventListener"),(0,s.isWrapped)(t.removeEventListener)&&this._unwrap(t,"removeEventListener")}),this._unpatchHistoryApi()}enable(){this._zonePatched=!1,this._getPatchableEventTargets().forEach(t=>{(0,s.isWrapped)(t.addEventListener)&&(this._unwrap(t,"addEventListener"),this._diag.debug("removing previous patch from method addEventListener")),(0,s.isWrapped)(t.removeEventListener)&&(this._unwrap(t,"removeEventListener"),this._diag.debug("removing previous patch from method removeEventListener")),this._wrap(t,"addEventListener",this._patchAddEventListener()),this._wrap(t,"removeEventListener",this._patchRemoveEventListener())}),this._patchHistoryApi()}getZoneWithPrototype(){}init(){}_allowEventName(t){return this._eventNames.has(t)}_createSpan(t,e,r){if(!(t instanceof Element))return;if(!t.getAttribute)return;if(t.hasAttribute("disabled"))return;if(!this._allowEventName(e))return;const n=(0,c.getElementXPath)(t,!0),i=this._isInteractiveElement(t);try{const s=this.tracer.startSpan(e,{attributes:{[l.AttributeNames.EVENT_TYPE]:e,[l.AttributeNames.HTTP_URL]:window.location.href,[l.AttributeNames.TARGET_ELEMENT]:t.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(e,t,s))return;return this._spansData.set(s,{taskCount:0}),s}catch(t){this._diag.error("failed to start create new user interaction span",t)}}_getPatchableEventTargets(){return window.EventTarget?[EventTarget.prototype]:[Node.prototype,Window.prototype]}_invokeListener(t,e,r){return"function"==typeof t?t.apply(e,r):t.handleEvent(r[0])}_isInteractiveElement(t){var e;const r=null!==(e=this.getConfig().experimental_interactiveElementSelectors)&&void 0!==e?e:[];let n=!1;for(const e of r)if(!this._warnedInvalidInteractiveElementSelectors.has(e))try{const r=t.matches(e);n=n||r}catch(t){this._warnedInvalidInteractiveElementSelectors.add(e),o.diag.warn("UserInteractionInstrumentation: Invalid interactive element selector.",{error:t,selector:e})}if(n)return!0;const i=t.tagName.toUpperCase();if("BUTTON"===i)return!0;if("A"===i){const e=t.getAttribute("href");return!(e&&!e.startsWith("javascript:"))}var s;return"INPUT"===i?"submit"===(null!==(s=t.getAttribute("type"))&&void 0!==s?s:"").toLowerCase():"button"===t.getAttribute("role")}_patchAddEventListener(){const t=this;return e=>function(r,n,i){if(!n)return e.call(this,r,n,i);const s=i&&"object"==typeof i&&i.once,l=function(){for(var e=arguments.length,i=new Array(e),l=0;l<e;l++)i[l]=arguments[l];const d=i[0],p=t._eventsSpanMap.get(d),h=null==d?void 0:d.target;s&&t.removePatchedListener(this,r,n);const f=t._createSpan(h,r,p);if(!f)return t._invokeListener(n,this,i);if("click"===d.type&&d.target&&(0,u.isNode)(d.target)){const e=(0,c.getTextFromNode)(d.target,e=>!a.PrivacyManager.shouldMaskTextNode(e,t.otelConfig.privacy));f.setAttribute("target_text",e||"<".concat(d.target.nodeName.toLowerCase(),">")),(0,c.captureElementDataAttributes)(f,d.target,(0,c.resolveDataAttributesToCapture)(t.otelConfig))}return t._eventsSpanMap.set(d,f),o.context.with(o.trace.setSpan(o.context.active(),f),()=>{const e=t._invokeListener(n,this,i);return f.end(),e})};return t.addPatchedListener(this,r,n,l)?e.call(this,r,l,i):void 0}}_patchRemoveEventListener(){const t=this;return e=>function(r,n,i){const o=n&&t.removePatchedListener(this,r,n);return o?e.call(this,r,o,i):e.call(this,r,n,i)}}addPatchedListener(t,e,r,n){let i=this._wrappedListeners.get(r);i||(i=new Map,this._wrappedListeners.set(r,i));let o=i.get(e);return o||(o=new Map,i.set(e,o)),!o.has(t)&&(o.set(t,n),!0)}removePatchedListener(t,e,r){const n=this._wrappedListeners.get(r);if(!n)return;const i=n.get(e);if(!i)return;const o=i.get(t);return o&&(i.delete(t),0===i.size&&(n.delete(e),0===n.size&&this._wrappedListeners.delete(r))),o}constructor(t,e){var r;super("@opentelemetry/instrumentation-user-interaction",d.VERSION,t),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,"_warnedInvalidInteractiveElementSelectors",void 0),n._(this,"_wrappedListeners",void 0),n._(this,"_zonePatched",void 0),this.otelConfig=e,this.moduleName="user-interaction",this.version=d.VERSION,this._eventsSpanMap=new WeakMap,this._spansData=new WeakMap,this._warnedInvalidInteractiveElementSelectors=new Set,this._wrappedListeners=new WeakMap,this._eventNames=new Set(null!==(r=null==t?void 0:t.eventNames)&&void 0!==r?r:p),this._shouldPreventSpanCreation="function"==typeof(null==t?void 0:t.shouldPreventSpanCreation)?t.shouldPreventSpanCreation:h}}},34398(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"VERSION",{enumerable:!0,get:function(){return r}});const r="0.34.0"},98056(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get generateId(){return a},get getOriginalFunction(){return h},get getPluginConfig(){return c},get isFunction(){return l},get isIframe(){return d},get limitLen(){return u},get normalizeIgnoreUrlsConfig(){return m},get waitForGlobal(){return f},get wrapNatively(){return p}}),r(20943),r(54603),r(21717),r(72764),r(77381),r(15731),r(35505);const n=r(69209),i=r(52473),o=r(40554),s=(0,i.customAlphabet)("0123456789abcdef");function a(t){return s(t/4)}function u(t,e){return t.length>e?t.slice(0,Math.max(0,e)):t}function c(t,e,r){return!1===t?t:(void 0!==t||!r)&&Object.assign({},e,t)}function l(t){return"function"==typeof t}function d(){try{return window.self!==window.top}catch{return!0}}function p(t,e,r){const n=t[e];(0,o.wrap)(t,e,r);const i=t[e];n.toString&&(i.toString=n.toString.bind(n))}function h(t){for(;t.__original&&t.__original!==t;)t=t.__original;return t}function f(t,e){const r=window;if(r[t])return e(r[t]),()=>{};const n=r[t];let i=!1;return Object.defineProperty(window,t,{configurable:!0,enumerable:!1,get:()=>n,set(n){delete r[t],i=!0,r[t]=n,e(n)}}),()=>{i||r[t]!==n||(delete window[t],void 0!==n&&(r[t]=n))}}const g=/^regex\/([\s\S]*)\/([dgimsuvy]*)$/,E="SplunkRum: Invalid regex string in configuration; treating it as a literal string.";function _(t){const e=g.exec(t);if(!e)return t.startsWith("regex/")&&n.diag.error(E,{value:t}),null;const[,r,i]=e;try{return new RegExp(r,i)}catch(e){return n.diag.error(E,{error:e,value:t}),null}}function m(t){if(null!=t&&"object"==typeof t&&"[object Object]"===Object.prototype.toString.call(t)&&0!==Object.keys(t).length)for(const r of Object.keys(t))if("ignoreUrls"===r&&Array.isArray(t[r]))t[r]=t[r].map(t=>{var e;return"string"!=typeof t?t:null!==(e=_(t))&&void 0!==e?e:t});else if("urlOverrides"===r&&Array.isArray(t[r]))for(const n of t[r]){var e;null!=n&&"object"==typeof n&&"string"==typeof n.match&&(n.match=null!==(e=_(n.match))&&void 0!==e?e:n.match),m(n)}else m(t[r])}},54534(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get getValidAttributes(){return i},get isPlainObject(){return n},get isValidAttributeValue(){return a},get removeEmptyProperties(){return s},get removePropertiesWithAdvancedTypes(){return o}}),r(21717),r(15731),r(47776);const n=t=>{if("[object Object]"!==Object.prototype.toString.call(t))return!1;const e=Object.getPrototypeOf(t);return null===e||e===Object.prototype},i=t=>n(t)?o(s(t)):{},o=t=>{const e={};for(const[r,n]of Object.entries(t))a(n)&&(e[r]=n);return e},s=t=>{const e={...t};return Object.entries(e).forEach(t=>{let[r,n]=t;""!==n&&null!=n||delete e[r]}),e},a=t=>"string"==typeof t||"number"==typeof t||"boolean"==typeof t},26233(t,e){"use strict";function r(t){if("number"==typeof t.responseStatus&&304===t.responseStatus)return!0;if("number"==typeof t.transferSize&&"number"==typeof t.decodedBodySize){if(0===t.transferSize&&t.decodedBodySize>0)return!0;if(t.transferSize>0)return!1}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isCacheHit",{enumerable:!0,get:function(){return r}})},5858(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get isAgentLoadedViaLatestTag(){return o},get isAgentLoadedViaLockedVersionTag(){return s},get isAgentLoadedViaNextTag(){return a}}),r(54603);const n=r(6371),i=/\/o11y-gdi-rum\/v\d+\.\d+\.\d+-[0-9a-f]{40}\//i,o=()=>{let t=!1;try{if(document.currentScript&&(0,n.isScriptElement)(document.currentScript)){const e=document.currentScript.src;t=/\/o11y-gdi-rum\/latest\//i.test(e)}}catch{}return t},s=()=>{let t=!1;try{if(document.currentScript&&(0,n.isScriptElement)(document.currentScript)){const e=document.currentScript.src;t=i.test(e)}}catch{}return t},a=()=>{let t=!1;try{if(document.currentScript&&(0,n.isScriptElement)(document.currentScript)){const e=document.currentScript.src;t=/\/o11y-gdi-rum\/next\//i.test(e)}}catch{}return t}},84653(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get captureElementDataAttributes(){return u},get getElementDataAttributes(){return a},get normalizeDataAttributeName(){return i},get resolveDataAttributesToCapture(){return s}}),r(54603),r(64724),r(10758),r(21717);const n=r(6371);function i(t){const e=t.slice(5).toLowerCase().replaceAll(/-([a-z])/g,(t,e)=>e.toUpperCase());return"element.dataset.".concat(e)}function o(t){return t.startsWith("data-")?t:function(t){const e=t.replaceAll(/([A-Z])/g,"-$1").toLowerCase();return"data-".concat(e)}(t)}function s(t){var e;return null!==(e=t.dataAttributesToCapture)&&void 0!==e?e:t._experimental_dataAttributesToCapture}function a(t,e){if(!e||0===e.length||!(0,n.isElement)(t))return{};const r={};for(const n of e){const e=o(n),i=t.getAttribute(e);null!==i&&(r[e]=i)}return r}function u(t,e,r){for(const[n,o]of Object.entries(a(e,r))){const e=i(n);t.setAttribute(e,o)}}},74279(t,e,r){"use strict";async function n(t){if("undefined"==typeof crypto||!crypto.subtle||!crypto.subtle.digest)return null;try{const e=(new TextEncoder).encode(t),r=await crypto.subtle.digest("SHA-256",e);return Array.from(new Uint8Array(r)).map(t=>t.toString(16).padStart(2,"0")).join("")}catch{return null}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"hashSHA256",{enumerable:!0,get:function(){return n}}),r(97833),r(97896),r(88748),r(54765),r(73976),r(85008),r(95803),r(54570),r(66249),r(29881),r(22039),r(52768),r(39357),r(15731),r(35505),r(97982)},89763(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"safelyAccessFrameElementFromDocument",{enumerable:!0,get:function(){return r}});const r=t=>{let e=null;try{var r,n;e=null!==(r=null===(n=t.defaultView)||void 0===n?void 0:n.frameElement)&&void 0!==r?r:null}catch{}return e}},21063(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const n=r(45999);n._(r(5858),e),n._(r(84653),e),n._(r(10376),e),n._(r(17161),e),n._(r(954),e),n._(r(90052),e)},91107(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isBot",{enumerable:!0,get:function(){return o}});const n=r(38295);function i(){const t=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 t},t}function o(t){if(!t)return!1;try{const e=new RegExp(String.raw(i()),"i");return Boolean(t)&&e.test(t)}catch{return!1}}r(72764),r(77381),r(54603)},40373(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isDebugMode",{enumerable:!0,get:function(){return i}});const n=r(21586),i=()=>"true"===n.LocalStorageProvider.safelyGetValue("splunk_otel_web_debug_mode")},788(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isSafari",{enumerable:!0,get:function(){return n}}),r(54603);const n=()=>/^((?!chrome|android).)*safari/i.test(navigator.userAgent)},15180(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isTrustedEvent",{enumerable:!0,get:function(){return r}});const r=t=>void 0===t.isTrusted||t.isTrusted},77226(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Observable",{enumerable:!0,get:function(){return o}});const n=r(64333);r(15731),r(47776),r(15166);const i=r(69209);class o{notify(t){this.observers.forEach(e=>{try{e(t)}catch(t){i.diag.error("Observable: Error happened in subscriber",t)}})}subscribe(t){return this.observers.push(t),()=>{const e=this.observers.indexOf(t);-1!==e&&this.observers.splice(e,1)}}constructor(){n._(this,"observers",[])}}},64301(t,e,r){"use strict";function n(t){const e=t.split("-")[0],r=e.split(".");return{exactVersion:"v".concat(e),majorVersion:"v".concat(r[0]),minorVersion:"v".concat(r[0],".").concat(r[1])}}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"parseVersion",{enumerable:!0,get:function(){return n}}),r(54603)},57225(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get createPicker(){return n.createPicker},get isPickerWindow(){return n.isPickerWindow}});const n=r(92970)},64088(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get getBasicPlatformInfo(){return d},get getEnhancedPlatformInfo(){return p}}),r(45178),r(15731),r(35505),r(54603),r(64724),r(10758),r(21717),r(97982);const n=r(54534),i=r(91107),o=["architecture","bitness","fullVersionList","model","platformVersion","uaFullVersion","wow64"];function s(t,e,r){let i;try{i=function(t){return Array.isArray(t)?JSON.stringify(t):t}(r())}catch{return}(0,n.isValidAttributeValue)(i)&&(t[e]=i)}function a(t){return null==t?void 0:t.map(t=>{let{brand:e,version:r}=t;return"".concat(e,"/").concat(r)})}function u(t){return t.replaceAll(/([a-z0-9])([A-Z])/g,"$1_$2").toLowerCase()}function c(){const t={};return s(t,"browser.debug.hardware_concurrency",()=>navigator.hardwareConcurrency),s(t,"browser.debug.device_memory_gb",()=>navigator.deviceMemory),s(t,"browser.debug.max_touch_points",()=>navigator.maxTouchPoints),s(t,"browser.debug.cookie_enabled",()=>navigator.cookieEnabled),s(t,"browser.debug.do_not_track",()=>navigator.doNotTrack),s(t,"browser.debug.languages",()=>navigator.languages?[...navigator.languages]:void 0),s(t,"browser.debug.vendor",()=>navigator.vendor),s(t,"browser.debug.pdf_viewer_enabled",()=>navigator.pdfViewerEnabled),s(t,"browser.debug.online",()=>navigator.onLine),s(t,"browser.debug.connection.type",()=>{var t;return null===(t=navigator.connection)||void 0===t?void 0:t.type}),s(t,"browser.debug.connection.effective_type",()=>{var t;return null===(t=navigator.connection)||void 0===t?void 0:t.effectiveType}),s(t,"browser.debug.connection.downlink",()=>{var t;return null===(t=navigator.connection)||void 0===t?void 0:t.downlink}),s(t,"browser.debug.connection.rtt",()=>{var t;return null===(t=navigator.connection)||void 0===t?void 0:t.rtt}),s(t,"browser.debug.connection.save_data",()=>{var t;return null===(t=navigator.connection)||void 0===t?void 0:t.saveData}),s(t,"browser.debug.ua.brands",()=>{var t;return a(null===(t=navigator.userAgentData)||void 0===t?void 0:t.brands)}),t}function l(t){const e={};return s(e,"browser.debug.ua.architecture",()=>null==t?void 0:t.architecture),s(e,"browser.debug.ua.bitness",()=>null==t?void 0:t.bitness),s(e,"browser.debug.ua.full_version",()=>null==t?void 0:t.uaFullVersion),s(e,"browser.debug.ua.full_version_list",()=>a(null==t?void 0:t.fullVersionList)),s(e,"browser.debug.ua.model",()=>null==t?void 0:t.model),s(e,"browser.debug.ua.wow64",()=>null==t?void 0:t.wow64),e}function d(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e=navigator.userAgentData,r={"user_agent.is_automated":!!navigator.webdriver,"user_agent.is_bot":(0,i.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};return t.includeDebugInfo?{...r,...c()}:r}async function p(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};var e;const r=d(t),n=t.includeDebugInfo?await async function(){const t={};try{var e,r;if(!(null===(r=navigator.storage)||void 0===r?void 0:r.estimate))return t;const n=await navigator.storage.estimate();s(t,"browser.debug.storage.quota",()=>n.quota),s(t,"browser.debug.storage.usage",()=>n.usage);for(const[r,i]of Object.entries(null!==(e=n.usageDetails)&&void 0!==e?e:{}))s(t,"browser.debug.storage.usage_details.".concat(u(r)),()=>i)}catch(t){console.warn("[Splunk]: Could not get browser storage debug information:",t)}return t}():{};if(!(null===(e=navigator.userAgentData)||void 0===e?void 0:e.getHighEntropyValues))return{...r,...n};try{const e=await navigator.userAgentData.getHighEntropyValues(t.includeDebugInfo?o:["platformVersion"]),i={...r,...n,...t.includeDebugInfo?l(e):{}};return(null==e?void 0:e.platformVersion)?{...i,"user_agent.os.version":e.platformVersion}:i}catch(t){return console.warn("[Splunk]: Could not get enhanced platform information:",t),{...r,...n}}}},2614(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get getResourceElementUrl(){return o},get isResourceElementLoadError(){return s},get setResourceTimingStatus(){return a}});const n=r(69209),i=r(6850);function o(t){const e=t.tagName.toUpperCase();var r,n,i;return"LINK"===e?null!==(r=t.getAttribute("href"))&&void 0!==r?r:void 0:"AUDIO"===e||"EMBED"===e||"IFRAME"===e||"IMG"===e||"INPUT"===e||"SCRIPT"===e||"SOURCE"===e||"TRACK"===e||"VIDEO"===e?null!==(n=t.getAttribute("src"))&&void 0!==n?n:void 0:"OBJECT"===e&&null!==(i=t.getAttribute("data"))&&void 0!==i?i:void 0}function s(t){const e=t.target;return"error"===t.type&&e instanceof Element&&"SCRIPT"!==e.tagName.toUpperCase()&&void 0!==o(e)}function a(t,e){"number"!=typeof e.responseStatus||e.responseStatus<=0||(t.setAttribute(i.SemanticAttributes.HTTP_STATUS_CODE,e.responseStatus),e.responseStatus>=400&&t.setStatus({code:n.SpanStatusCode.ERROR}))}},78618(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get getSize(){return n},get hasSizeLikeProperty(){return r}});const r=t=>"string"==typeof t||"object"==typeof t&&null!==t&&("byteLength"in t||"length"in t||"size"in t),n=t=>t.byteLength||t.size||t.length},29893(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get setAttributes(){return i},get setNumberAttribute(){return o},get setRoundedNumberAttribute(){return s},get setStringAttribute(){return a}}),r(21717);const n=r(6371);function i(t,e){for(const[r,i]of Object.entries(e))(0,n.isFiniteNumber)(i)?o(t,r,i):a(t,r,i)}function o(t,e,r){(0,n.isFiniteNumber)(r)&&t.setAttribute(e,r)}function s(t,e,r){(0,n.isFiniteNumber)(r)&&t.setAttribute(e,Math.round(100*r)/100)}function a(t,e,r){(0,n.isString)(r)&&t.setAttribute(e,r)}},10376(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get MAX_CLICK_TEXT_LENGTH(){return i},get getTextFromNode(){return a},get trimClickText(){return s},get truncateString(){return o}}),r(21717),r(54603),r(64724),r(10758);const n=r(17161),i=50;function o(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"...";return t.length<=e?t:e<=0?"":r.length>=e?r.slice(0,e):"".concat(t.slice(0,e-r.length)).concat(r)}const s=t=>o(t,i),a=(t,e)=>{let r="";for(const o of(0,n.traverseDFS)(t,{shouldProcessNode:e}))if(o.nodeValue&&(r+=o.nodeValue),r.length>i)break;return r.length>i&&(r=s(r)),r.replaceAll(/\s\s+/g," ").trim()}},17161(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get getParentElement(){return l},get getParentNode(){return c},get traverseDFS(){return a},get traverseElementsToRoot(){return u}}),r(15166),r(11486),r(80792),r(10833),r(82376),r(9559),r(51868),r(31670),r(21717),r(15731),r(82616);const n=r(97037),i=r(24441),o=r(89763),s=t=>{const e=[];let r=(0,i.isShadowRoot)(t)||(0,i.isNonNativeShadowRoot)(t)?t.host:t.parentNode;for(;r;){e.push(r);const t=r.parentNode;r=null===t&&(0,i.isShadowRoot)(r)?r.host:t}return e};function*a(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const{recoverOnNotConnectedNodes:r,shouldProcessNode:o}=e;if((0,n.isNodeNotRecorded)(t))return;if(o&&!o(t))return;const u=new Set,c=document.createTreeWalker(t,NodeFilter.SHOW_ALL,{acceptNode:t=>u.has(t)||(0,n.isNodeNotRecorded)(t)?NodeFilter.FILTER_REJECT:o?o(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT});let l=c.currentNode;for(;l;){const t=s(l);if(yield l,(0,i.isElement)(l)&&l.shadowRoot&&(yield*a(l.shadowRoot,e)),u.add(l),r)if(l.isConnected){const e=s(l);for(const[r,n]of t.entries())if(e[r]!==n){c.currentNode=n;break}}else{const e=t.find(t=>t.isConnected);if(!e)return;c.currentNode=e}l=(0,n.shouldSkipProcessingChildren)(c.currentNode)?c.nextSibling():c.nextNode()}}function*u(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e&&(0,i.isDocumentNode)(t))return;let r=(0,i.isElement)(t)?t:l(t);for(;r;){if(yield r,e&&r.parentNode&&(0,i.isDocumentNode)(r.parentNode))return;r=l(r)}}const c=t=>{let e=t.parentNode;return null===e&&((0,i.isShadowRoot)(t)||(0,i.isNonNativeShadowRoot)(t)?e=t.host:(0,i.isDocumentNode)(t)&&(e=(0,o.safelyAccessFrameElementFromDocument)(t))),e},l=t=>{let e=t.parentElement;return null===e&&((0,i.isShadowRoot)(t)||(0,i.isNonNativeShadowRoot)(t)?e=t.host:t.parentNode&&(0,i.isDocumentNode)(t.parentNode)&&(e=(0,o.safelyAccessFrameElementFromDocument)(t.parentNode))),e}},954(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(t,e){for(var r in e)Object.defineProperty(t,r,{enumerable:!0,get:Object.getOwnPropertyDescriptor(e,r).get})}(e,{get isBlobUrl(){return i},get isExtensionUrl(){return n}}),r(15731),r(30879);const n=t=>["chrome-extension://","moz-extension://"].some(e=>t.startsWith(e)),i=t=>t.startsWith("blob:")},90052(t,e,r){"use strict";function n(t,e){if(t.nodeType===Node.DOCUMENT_NODE)return"/";const r=function(t,e){const r=t.nodeType,n=function(t){if(!t.parentNode)return 0;const e=[t.nodeType];t.nodeType===Node.CDATA_SECTION_NODE&&e.push(Node.TEXT_NODE);let r=Array.from(t.parentNode.childNodes);return r=r.filter(r=>{const n=r.localName;return e.includes(r.nodeType)&&n===t.localName}),r.length>0?r.indexOf(t)+1:0}(t);let i;switch(r){case Node.ELEMENT_NODE:{const r=t.getAttribute("id");if(e&&r)return'//*[@id="'.concat(r,'"]');i=t.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)}(t,e);if(e&&r.indexOf("@id")>0)return r;let i="";return t.parentNode&&(i+=n(t.parentNode,e)),i+=r,i}Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"getElementXPath",{enumerable:!0,get:function(){return n}}),r(15166),r(15731),r(96469),r(61571)},62537(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"VERSION",{enumerable:!0,get:function(){return r}});const r="3.2.0"},55934(t,e,r){"use strict";var n=r(35969),i=r(85275),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a function")}},26840(t,e,r){"use strict";var n=r(8017),i=r(85275),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a constructor")}},8286(t,e,r){"use strict";var n=r(89081),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o("Can't set "+i(t)+" as a prototype")}},49348(t,e,r){"use strict";var n=r(28470).has;t.exports=function(t){return n(t),t}},61801(t,e,r){"use strict";var n=r(37759),i=r(70596),o=r(62837).f,s=n("unscopables"),a=Array.prototype;void 0===a[s]&&o(a,s,{configurable:!0,value:i(null)}),t.exports=function(t){a[s][t]=!0}},84897(t,e,r){"use strict";var n=r(85123).charAt;t.exports=function(t,e,r){return e+(r&&n(t,e).length||1)}},26539(t,e,r){"use strict";var n=r(37165),i=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new i("Incorrect invocation")}},14467(t,e,r){"use strict";var n=r(41142),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not an object")}},31951(t){"use strict";t.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},44430(t,e,r){"use strict";var n=r(42100),i=r(1094),o=r(73132),s=n.ArrayBuffer,a=n.TypeError;t.exports=s&&i(s.prototype,"byteLength","get")||function(t){if("ArrayBuffer"!==o(t))throw new a("ArrayBuffer expected");return t.byteLength}},19490(t,e,r){"use strict";var n=r(42100),i=r(31951),o=r(44430),s=n.DataView;t.exports=function(t){if(!i||0!==o(t))return!1;try{return new s(t),!1}catch(t){return!0}}},81229(t,e,r){"use strict";var n=r(19490),i=TypeError;t.exports=function(t){if(n(t))throw new i("ArrayBuffer is detached");return t}},88632(t,e,r){"use strict";var n=r(42100),i=r(92244),o=r(1094),s=r(71628),a=r(81229),u=r(44430),c=r(85159),l=r(30400),d=n.structuredClone,p=n.ArrayBuffer,h=n.DataView,f=Math.max,g=Math.min,E=p.prototype,_=h.prototype,m=i(E.slice),v=o(E,"resizable","get"),T=o(E,"maxByteLength","get"),S=i(_.getInt8),y=i(_.setInt8);t.exports=(l||c)&&function(t,e,r){var n,i=u(t),o=void 0===e?i:s(e),E=!v||!v(t);if(a(t),l&&(t=d(t,{transfer:[t]}),i===o&&(r||E)))return t;if(i>=o&&(!r||E))n=m(t,0,o);else{var _=r&&!E&&T?{maxByteLength:f(o,T(t))}:void 0;n=new p(o,_);for(var b=new h(t),O=new h(n),A=g(o,i),R=0;R<A;R++)y(O,R,S(b,R))}return l||c(t),n}},34832(t,e,r){"use strict";var n,i,o,s=r(31951),a=r(88224),u=r(42100),c=r(35969),l=r(41142),d=r(50253),p=r(78023),h=r(85275),f=r(41519),g=r(83828),E=r(24966),_=r(37165),m=r(81959),v=r(71779),T=r(37759),S=r(53524),y=r(29265),b=y.enforce,O=y.get,A=u.Int8Array,R=A&&A.prototype,w=u.Uint8ClampedArray,L=w&&w.prototype,C=A&&m(A),P=R&&m(R),N=Object.prototype,M=u.TypeError,I=T("toStringTag"),D=S("TYPED_ARRAY_TAG"),x="TypedArrayConstructor",U=s&&!!v&&"Opera"!==p(u.opera),k=!1,j={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},B={BigInt64Array:8,BigUint64Array:8},V=function(t){var e=m(t);if(l(e)){var r=O(e);return r&&d(r,x)?r[x]:V(e)}},G=function(t){if(!l(t))return!1;var e=p(t);return d(j,e)||d(B,e)};for(n in j)(o=(i=u[n])&&i.prototype)?b(o)[x]=i:U=!1;for(n in B)(o=(i=u[n])&&i.prototype)&&(b(o)[x]=i);if((!U||!c(C)||C===Function.prototype)&&(C=function(){throw new M("Incorrect invocation")},U))for(n in j)u[n]&&v(u[n],C);if((!U||!P||P===N)&&(P=C.prototype,U))for(n in j)u[n]&&v(u[n].prototype,P);if(U&&m(L)!==P&&v(L,P),a&&!d(P,I))for(n in k=!0,E(P,I,{configurable:!0,get:function(){return l(this)?this[D]:void 0}}),j)u[n]&&f(u[n].prototype,D,n);t.exports={NATIVE_ARRAY_BUFFER_VIEWS:U,TYPED_ARRAY_TAG:k&&D,aTypedArray:function(t){if(G(t))return t;throw new M("Target is not a typed array")},aTypedArrayConstructor:function(t){if(c(t)&&(!v||_(C,t)))return t;throw new M(h(t)+" is not a typed array constructor")},exportTypedArrayMethod:function(t,e,r,n){if(a){if(r)for(var i in j){var o=u[i];if(o&&d(o.prototype,t))try{delete o.prototype[t]}catch(r){try{o.prototype[t]=e}catch(t){}}}P[t]&&!r||g(P,t,r?e:U&&R[t]||e,n)}},exportTypedArrayStaticMethod:function(t,e,r){var n,i;if(a){if(v){if(r)for(n in j)if((i=u[n])&&d(i,t))try{delete i[t]}catch(t){}if(C[t]&&!r)return;try{return g(C,t,r?e:U&&C[t]||e)}catch(t){}}for(n in j)!(i=u[n])||i[t]&&!r||g(i,t,e)}},getTypedArrayConstructor:V,isView:function(t){if(!l(t))return!1;var e=p(t);return"DataView"===e||d(j,e)||d(B,e)},isTypedArray:G,TypedArray:C,TypedArrayPrototype:P}},49710(t,e,r){"use strict";var n=r(42100),i=r(92244),o=r(88224),s=r(31951),a=r(18226),u=r(41519),c=r(24966),l=r(4699),d=r(7091),p=r(26539),h=r(66399),f=r(71628),g=r(76421),E=r(12462),_=r(81959),m=r(71779),v=r(81169),T=r(28348),S=r(87571),y=r(3720),b=r(70915),O=r(29265),A=a.PROPER,R=a.CONFIGURABLE,w="ArrayBuffer",L="DataView",C="prototype",P="Wrong index",N=O.getterFor(w),M=O.getterFor(L),I=O.set,D=n[w],x=D,U=x&&x[C],k=n[L],j=k&&k[C],B=Object.prototype,V=n.Array,G=n.RangeError,F=i(v),H=i([].reverse),W=E.pack,Y=E.unpack,X=function(t){return[255&t]},q=function(t){return[255&t,t>>8&255]},z=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},K=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},$=function(t){return W(g(t),23,4)},J=function(t){return W(t,52,8)},Z=function(t,e,r){c(t[C],e,{configurable:!0,get:function(){return r(this)[e]}})},Q=function(t,e,r,n){var i=M(t),o=f(r),s=!!n;if(o+e>i.byteLength)throw new G(P);var a=i.bytes,u=o+i.byteOffset,c=T(a,u,u+e);return s?c:H(c)},tt=function(t,e,r,n,i,o){var s=M(t),a=f(r),u=n(+i),c=!!o;if(a+e>s.byteLength)throw new G(P);for(var l=s.bytes,d=a+s.byteOffset,p=0;p<e;p++)l[d+p]=u[c?p:e-p-1]};if(s){var et=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||et&&!R})?et&&R&&u(D,"name",w):((x=function(t){return p(this,U),S(new D(f(t)),this,x)})[C]=U,U.constructor=x,y(x,D)),m&&_(j)!==B&&m(j,B);var rt=new k(new x(2)),nt=i(j.setInt8);rt.setInt8(0,2147483648),rt.setInt8(1,2147483649),!rt.getInt8(0)&&rt.getInt8(1)||l(j,{setInt8:function(t,e){nt(this,t,e<<24>>24)},setUint8:function(t,e){nt(this,t,e<<24>>24)}},{unsafe:!0})}else U=(x=function(t){p(this,U);var e=f(t);I(this,{type:w,bytes:F(V(e),0),byteLength:e}),o||(this.byteLength=e,this.detached=!1)})[C],j=(k=function(t,e,r){p(this,j),p(t,U);var n=N(t),i=n.byteLength,s=h(e);if(s<0||s>i)throw new G("Wrong offset");if(s+(r=void 0===r?i-s:f(r))>i)throw new G("Wrong length");I(this,{type:L,buffer:t,byteLength:r,byteOffset:s,bytes:n.bytes}),o||(this.buffer=t,this.byteLength=r,this.byteOffset=s)})[C],o&&(Z(x,"byteLength",N),Z(k,"buffer",M),Z(k,"byteLength",M),Z(k,"byteOffset",M)),l(j,{getInt8:function(t){return Q(this,1,t)[0]<<24>>24},getUint8:function(t){return Q(this,1,t)[0]},getInt16:function(t){var e=Q(this,2,t,arguments.length>1&&arguments[1]);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=Q(this,2,t,arguments.length>1&&arguments[1]);return e[1]<<8|e[0]},getInt32:function(t){return K(Q(this,4,t,arguments.length>1&&arguments[1]))},getUint32:function(t){return K(Q(this,4,t,arguments.length>1&&arguments[1]))>>>0},getFloat32:function(t){return Y(Q(this,4,t,arguments.length>1&&arguments[1]),23)},getFloat64:function(t){return Y(Q(this,8,t,arguments.length>1&&arguments[1]),52)},setInt8:function(t,e){tt(this,1,t,X,e)},setUint8:function(t,e){tt(this,1,t,X,e)},setInt16:function(t,e){tt(this,2,t,q,e,arguments.length>2&&arguments[2])},setUint16:function(t,e){tt(this,2,t,q,e,arguments.length>2&&arguments[2])},setInt32:function(t,e){tt(this,4,t,z,e,arguments.length>2&&arguments[2])},setUint32:function(t,e){tt(this,4,t,z,e,arguments.length>2&&arguments[2])},setFloat32:function(t,e){tt(this,4,t,$,e,arguments.length>2&&arguments[2])},setFloat64:function(t,e){tt(this,8,t,J,e,arguments.length>2&&arguments[2])}});b(x,w),b(k,L),t.exports={ArrayBuffer:x,DataView:k}},81169(t,e,r){"use strict";var n=r(43017),i=r(27326),o=r(64450);t.exports=function(t){for(var e=n(this),r=o(e),s=arguments.length,a=i(s>1?arguments[1]:void 0,r),u=s>2?arguments[2]:void 0,c=void 0===u?r:i(u,r);c>a;)e[a++]=t;return e}},88886(t,e,r){"use strict";var n=r(64450);t.exports=function(t,e,r){for(var i=0,o=arguments.length>2?r:n(e),s=new t(o);o>i;)s[i]=e[i++];return s}},40088(t,e,r){"use strict";var n=r(40716),i=r(69529),o=r(43017),s=r(76387),a=r(73485),u=r(8017),c=r(64450),l=r(78460),d=r(17875),p=r(78461),h=r(65031),f=r(92591),g=Array;t.exports=function(t){var e=u(this),r=arguments.length,E=r>1?arguments[1]:void 0,_=void 0!==E;_&&(E=n(E,r>2?arguments[2]:void 0));var m,v,T,S,y,b,O=o(t),A=h(O),R=0;if(!A||this===g&&a(A))for(m=c(O),v=e?new this(m):g(m);m>R;R++)b=_?E(O[R],R):O[R],l(v,R,b);else for(v=e?new this:[],y=(S=p(O,A)).next;!(T=i(y,S)).done;R++){b=_?s(S,E,[T.value,R],!0):T.value;try{l(v,R,b)}catch(t){f(S,"throw",t)}}return d(v,R),v}},15501(t,e,r){"use strict";var n=r(82377),i=r(27326),o=r(64450),s=function(t){return function(e,r,s){var a=n(e),u=o(a);if(0===u)return!t&&-1;var c,l=i(s,u);if(t&&r!=r){for(;u>l;)if((c=a[l++])!=c)return!0}else for(;u>l;l++)if((t||l in a)&&a[l]===r)return t||l||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},41195(t,e,r){"use strict";var n=r(40716),i=r(12243),o=r(43017),s=r(64450),a=function(t){var e=1===t;return function(r,a,u){for(var c,l=o(r),d=i(l),p=s(d),h=n(a,u);p-- >0;)if(h(c=d[p],p,l))switch(t){case 0:return c;case 1:return p}return e?-1:void 0}};t.exports={findLast:a(0),findLastIndex:a(1)}},90129(t,e,r){"use strict";var n=r(40716),i=r(12243),o=r(43017),s=r(64450),a=r(737),u=r(78460),c=function(t){var e=1===t,r=2===t,c=3===t,l=4===t,d=6===t,p=7===t,h=5===t||d;return function(f,g,E){for(var _,m,v=o(f),T=i(v),S=s(T),y=n(g,E),b=0,O=0,A=e?a(f,S):r||p?a(f,0):void 0;S>b;b++)if((h||b in T)&&(m=y(_=T[b],b,v),t))if(e)u(A,b,m);else if(m)switch(t){case 3:return!0;case 5:return _;case 6:return b;case 2:u(A,O++,_)}else switch(t){case 4:return!1;case 7:u(A,O++,_)}return d?-1:c||l?l:A}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},74290(t,e,r){"use strict";var n=r(7091);t.exports=function(t,e){var r=[][t];return!!r&&n(function(){r.call(null,e||function(){return 1},1)})}},76034(t,e,r){"use strict";var n=r(55934),i=r(43017),o=r(12243),s=r(64450),a=TypeError,u="Reduce of empty array with no initial value",c=function(t){return function(e,r,c,l){var d=i(e),p=o(d),h=s(d);if(n(r),0===h&&c<2)throw new a(u);var f=t?h-1:0,g=t?-1:1;if(c<2)for(;;){if(f in p){l=p[f],f+=g;break}if(f+=g,t?f<0:h<=f)throw new a(u)}for(;t?f>=0:h>f;f+=g)f in p&&(l=r(l,p[f],f,d));return l}};t.exports={left:c(!1),right:c(!0)}},17875(t,e,r){"use strict";var n=r(88224),i=r(27484),o=TypeError,s=Object.getOwnPropertyDescriptor,a=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=a?function(t,e){if(i(t)&&!s(t,"length").writable)throw new o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},28348(t,e,r){"use strict";var n=r(92244);t.exports=n([].slice)},20332(t,e,r){"use strict";var n=r(28348),i=Math.floor,o=function(t,e){var r=t.length;if(r<8)for(var s,a,u=1;u<r;){for(a=u,s=t[u];a&&e(t[a-1],s)>0;)t[a]=t[--a];a!==u++&&(t[a]=s)}else for(var c=i(r/2),l=o(n(t,0,c),e),d=o(n(t,c),e),p=l.length,h=d.length,f=0,g=0;f<p||g<h;)t[f+g]=f<p&&g<h?e(l[f],d[g])<=0?l[f++]:d[g++]:f<p?l[f++]:d[g++];return t};t.exports=o},96269(t,e,r){"use strict";var n=r(27484),i=r(8017),o=r(41142),s=r(37759)("species"),a=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(i(e)&&(e===a||n(e.prototype))||o(e)&&null===(e=e[s]))&&(e=void 0)),void 0===e?a:e}},737(t,e,r){"use strict";var n=r(96269);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},76387(t,e,r){"use strict";var n=r(14467),i=r(92591);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){i(t,"throw",e)}}},93928(t,e,r){"use strict";var n=r(37759)("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(t){}t.exports=function(t,e){try{if(!e&&!i)return!1}catch(t){return!1}var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},t(o)}catch(t){}return r}},73132(t,e,r){"use strict";var n=r(92244),i=n({}.toString),o=n("".slice);t.exports=function(t){return o(i(t),8,-1)}},78023(t,e,r){"use strict";var n=r(31048),i=r(35969),o=r(73132),s=r(37759)("toStringTag"),a=Object,u="Arguments"===o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=a(t),s))?r:u?o(e):"Object"===(n=o(e))&&i(e.callee)?"Arguments":n}},3720(t,e,r){"use strict";var n=r(50253),i=r(48619),o=r(91055),s=r(62837);t.exports=function(t,e,r){for(var a=i(e),u=s.f,c=o.f,l=0;l<a.length;l++){var d=a[l];n(t,d)||r&&n(r,d)||u(t,d,c(e,d))}}},3479(t,e,r){"use strict";var n=r(7091);t.exports=!n(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},83373(t){"use strict";t.exports=function(t,e){return{value:t,done:e}}},41519(t,e,r){"use strict";var n=r(88224),i=r(62837),o=r(12112);t.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},12112(t){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},78460(t,e,r){"use strict";var n=r(88224),i=r(62837),o=r(12112);t.exports=function(t,e,r){n?i.f(t,e,o(0,r)):t[e]=r}},24966(t,e,r){"use strict";var n=r(61679),i=r(62837);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),i.f(t,e,r)}},83828(t,e,r){"use strict";var n=r(35969),i=r(62837),o=r(61679),s=r(24021);t.exports=function(t,e,r,a){a||(a={});var u=a.enumerable,c=void 0!==a.name?a.name:e;if(n(r)&&o(r,c,a),a.global)u?t[e]=r:s(e,r);else{try{a.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:i.f(t,e,{value:r,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return t}},4699(t,e,r){"use strict";var n=r(83828);t.exports=function(t,e,r){for(var i in e)n(t,i,e[i],r);return t}},24021(t,e,r){"use strict";var n=r(42100),i=Object.defineProperty;t.exports=function(t,e){try{i(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},74026(t,e,r){"use strict";var n=r(85275),i=TypeError;t.exports=function(t,e){if(!delete t[e])throw new i("Cannot delete property "+n(e)+" of "+n(t))}},88224(t,e,r){"use strict";var n=r(7091);t.exports=!n(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},85159(t,e,r){"use strict";var n,i,o,s,a=r(42100),u=r(26281),c=r(30400),l=a.structuredClone,d=a.ArrayBuffer,p=a.MessageChannel,h=!1;if(c)h=function(t){l(t,{transfer:[t]})};else if(d)try{p||(n=u("worker_threads"))&&(p=n.MessageChannel),p&&(i=new p,o=new d(2),s=function(t){i.port1.postMessage(null,[t])},2===o.byteLength&&(s(o),0===o.byteLength&&(h=s)))}catch(t){}t.exports=h},27907(t,e,r){"use strict";var n=r(42100),i=r(41142),o=n.document,s=i(o)&&i(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},16569(t){"use strict";var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw new e("Maximum allowed index exceeded");return t}},15916(t){"use strict";t.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}},82084(t,e,r){"use strict";var n=r(27907)("span").classList,i=n&&n.constructor&&n.constructor.prototype;t.exports=i===Object.prototype?void 0:i},94499(t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},45185(t,e,r){"use strict";var n=r(66379).match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]},83871(t,e,r){"use strict";var n=r(66379);t.exports=/MSIE|Trident/.test(n)},87277(t,e,r){"use strict";var n=r(66379);t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},92052(t,e,r){"use strict";var n=r(66379);t.exports=/ipad|iphone|ipod/i.test(n)&&/applewebkit/i.test(n)},14189(t,e,r){"use strict";var n=r(35123);t.exports="NODE"===n},86424(t,e,r){"use strict";var n=r(66379);t.exports=/web0s(?!.*chrome)/i.test(n)},66379(t,e,r){"use strict";var n=r(42100).navigator,i=n&&n.userAgent;t.exports=i?String(i):""},88395(t,e,r){"use strict";var n,i,o=r(42100),s=r(66379),a=o.process,u=o.Deno,c=a&&a.versions||u&&u.version,l=c&&c.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]),t.exports=i},76419(t,e,r){"use strict";var n=r(66379).match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]},35123(t,e,r){"use strict";var n=r(42100),i=r(66379),o=r(73132),s=function(t){return i.slice(0,t.length)===t};t.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"},12989(t,e,r){"use strict";var n=r(92244),i=Error,o=n("".replace),s=String(new i("zxcasd").stack),a=/\n\s*at [^:]*:[^\n]*/,u=a.test(s);t.exports=function(t,e){if(u&&"string"==typeof t&&!i.prepareStackTrace)for(;e--;)t=o(t,a,"");return t}},88343(t,e,r){"use strict";var n=r(41519),i=r(12989),o=r(87727),s=Error.captureStackTrace;t.exports=function(t,e,r,a){o&&(s?s(t,e):n(t,"stack",i(r,a)))}},87727(t,e,r){"use strict";var n=r(7091),i=r(12112);t.exports=!n(function(){var t=new Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",i(1,7)),7!==t.stack)})},13322(t,e,r){"use strict";var n=r(42100),i=r(91055).f,o=r(41519),s=r(83828),a=r(24021),u=r(3720),c=r(9576);t.exports=function(t,e){var r,l,d,p,h,f=t.target,g=t.global,E=t.stat;if(r=g?n:E?n[f]||a(f,{}):n[f]&&n[f].prototype)for(l in e){if(p=e[l],d=t.dontCallGetSet?(h=i(r,l))&&h.value:r[l],!c(g?l:f+(E?".":"#")+l,t.forced)&&void 0!==d){if(typeof p==typeof d)continue;u(p,d)}(t.sham||d&&d.sham)&&o(p,"sham",!0),s(r,l,p,t)}}},7091(t){"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},44720(t,e,r){"use strict";r(54603);var n=r(69529),i=r(83828),o=r(75263),s=r(7091),a=r(37759),u=r(41519),c=a("species"),l=RegExp.prototype;t.exports=function(t,e,r,d){var p=a(t),h=!s(function(){var e={};return e[p]=function(){return 7},7!==""[t](e)}),f=h&&!s(function(){var e=!1,r=/a/;if("split"===t){var n={};n[c]=function(){return r},(r={constructor:n,flags:""})[p]=/./[p]}return r.exec=function(){return e=!0,null},r[p](""),!e});if(!h||!f||r){var g=/./[p],E=e(p,""[t],function(t,e,r,i,s){var a=e.exec;return a===o||a===l.exec?h&&!s?{done:!0,value:n(g,e,r,i)}:{done:!0,value:n(t,r,e,i)}:{done:!1}});i(String.prototype,t,E[0]),i(l,p,E[1])}d&&u(l[p],"sham",!0)}},27861(t,e,r){"use strict";var n=r(58100),i=Function.prototype,o=i.apply,s=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(o):function(){return s.apply(o,arguments)})},40716(t,e,r){"use strict";var n=r(56608),i=r(55934),o=r(58100),s=n(n.bind);t.exports=function(t,e){return i(t),void 0===e?t:o?s(t,e):function(){return t.apply(e,arguments)}}},58100(t,e,r){"use strict";var n=r(7091);t.exports=!n(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},69529(t,e,r){"use strict";var n=r(58100),i=Function.prototype.call;t.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},18226(t,e,r){"use strict";var n=r(88224),i=r(50253),o=Function.prototype,s=n&&Object.getOwnPropertyDescriptor,a=i(o,"name"),u=a&&"something"===function(){}.name,c=a&&(!n||n&&s(o,"name").configurable);t.exports={EXISTS:a,PROPER:u,CONFIGURABLE:c}},1094(t,e,r){"use strict";var n=r(92244),i=r(55934);t.exports=function(t,e,r){try{return n(i(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},56608(t,e,r){"use strict";var n=r(73132),i=r(92244);t.exports=function(t){if("Function"===n(t))return i(t)}},92244(t,e,r){"use strict";var n=r(58100),i=Function.prototype,o=i.call,s=n&&i.bind.bind(o,o);t.exports=n?s:function(t){return function(){return o.apply(t,arguments)}}},26281(t,e,r){"use strict";var n=r(42100),i=r(14189);t.exports=function(t){if(i){try{return n.process.getBuiltinModule(t)}catch(t){}try{return Function('return require("'+t+'")')()}catch(t){}}}},39496(t,e,r){"use strict";var n=r(42100);t.exports=function(t,e){var r=n[t],i=r&&r.prototype;return i&&i[e]}},7851(t,e,r){"use strict";var n=r(42100),i=r(35969);t.exports=function(t,e){return arguments.length<2?(r=n[t],i(r)?r:void 0):n[t]&&n[t][e];var r}},60891(t){"use strict";t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},93210(t,e,r){"use strict";var n=r(69529),i=r(14467),o=r(60891),s=r(65031);t.exports=function(t,e){e&&"string"==typeof t||i(t);var r=s(t);return o(i(void 0!==r?n(r,t):t))}},65031(t,e,r){"use strict";var n=r(78023),i=r(99794),o=r(99377),s=r(37505),a=r(37759)("iterator");t.exports=function(t){if(!o(t))return i(t,a)||i(t,"@@iterator")||s[n(t)]}},78461(t,e,r){"use strict";var n=r(69529),i=r(55934),o=r(14467),s=r(85275),a=r(65031),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?a(t):e;if(i(r))return o(n(r,t));throw new u(s(t)+" is not iterable")}},99794(t,e,r){"use strict";var n=r(55934),i=r(99377);t.exports=function(t,e){var r=t[e];return i(r)?void 0:n(r)}},18073(t,e,r){"use strict";var n=r(55934),i=r(14467),o=r(69529),s=r(66399),a=r(60891),u="Invalid size",c=RangeError,l=TypeError,d=Math.max,p=function(t,e){this.set=t,this.size=d(e,0),this.has=n(t.has),this.keys=n(t.keys)};p.prototype={getIterator:function(){return a(i(o(this.keys,this.set)))},includes:function(t){return o(this.has,this.set,t)}},t.exports=function(t){i(t);var e=+t.size;if(e!=e)throw new l(u);var r=s(e);if(r<0)throw new c(u);return new p(t,r)}},15986(t,e,r){"use strict";var n=r(92244),i=r(43017),o=Math.floor,s=n("".charAt),a=n("".replace),u=n("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,l=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,n,d,p){var h=r+t.length,f=n.length,g=l;return void 0!==d&&(d=i(d),g=c),a(p,g,function(i,a){var c;switch(s(a,0)){case"$":return"$";case"&":return t;case"`":return u(e,0,r);case"'":return u(e,h);case"<":c=d[u(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}c=n[l-1]}return void 0===c?"":c})}},42100(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.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")()},50253(t,e,r){"use strict";var n=r(92244),i=r(43017),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},62089(t){"use strict";t.exports={}},79417(t){"use strict";t.exports=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}},37441(t,e,r){"use strict";var n=r(7851);t.exports=n("document","documentElement")},20513(t,e,r){"use strict";var n=r(88224),i=r(7091),o=r(27907);t.exports=!n&&!i(function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a})},12462(t){"use strict";var e=Array,r=Math.abs,n=Math.pow,i=Math.floor,o=Math.log,s=Math.LN2;t.exports={pack:function(t,a,u){var c,l,d,p=e(u),h=8*u-a-1,f=(1<<h)-1,g=f>>1,E=23===a?n(2,-24)-n(2,-77):0,_=t<0||0===t&&1/t<0?1:0,m=0;for((t=r(t))!=t||t===1/0?(l=t!=t?1:0,c=f):(c=i(o(t)/s),t*(d=n(2,-c))<1&&(c--,d*=2),(t+=c+g>=1?E/d:E*n(2,1-g))*d>=2&&(c++,d/=2),c+g>=f?(l=0,c=f):c+g>=1?(l=(t*d-1)*n(2,a),c+=g):(l=t*n(2,g-1)*n(2,a),c=0));a>=8;)p[m++]=255&l,l/=256,a-=8;for(c=c<<a|l,h+=a;h>0;)p[m++]=255&c,c/=256,h-=8;return p[m-1]|=128*_,p},unpack:function(t,e){var r,i=t.length,o=8*i-e-1,s=(1<<o)-1,a=s>>1,u=o-7,c=i-1,l=t[c--],d=127&l;for(l>>=7;u>0;)d=256*d+t[c--],u-=8;for(r=d&(1<<-u)-1,d>>=-u,u+=e;u>0;)r=256*r+t[c--],u-=8;if(0===d)d=1-a;else{if(d===s)return r?NaN:l?-1/0:1/0;r+=n(2,e),d-=a}return(l?-1:1)*r*n(2,d-e)}}},12243(t,e,r){"use strict";var n=r(92244),i=r(7091),o=r(73132),s=Object,a=n("".split);t.exports=i(function(){return!s("z").propertyIsEnumerable(0)})?function(t){return"String"===o(t)?a(t,""):s(t)}:s},87571(t,e,r){"use strict";var n=r(35969),i=r(41142),o=r(71779);t.exports=function(t,e,r){var s,a;return o&&n(s=e.constructor)&&s!==r&&i(a=s.prototype)&&a!==r.prototype&&o(t,a),t}},67390(t,e,r){"use strict";var n=r(92244),i=r(35969),o=r(36953),s=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return s(t)}),t.exports=o.inspectSource},42212(t,e,r){"use strict";var n=r(41142),i=r(41519);t.exports=function(t,e){n(e)&&"cause"in e&&i(t,"cause",e.cause)}},29265(t,e,r){"use strict";var n,i,o,s=r(31922),a=r(42100),u=r(41142),c=r(41519),l=r(50253),d=r(36953),p=r(65747),h=r(62089),f="Object already initialized",g=a.TypeError,E=a.WeakMap;if(s||d.state){var _=d.state||(d.state=new E);_.get=_.get,_.has=_.has,_.set=_.set,n=function(t,e){if(_.has(t))throw new g(f);return e.facade=t,_.set(t,e),e},i=function(t){return _.get(t)||{}},o=function(t){return _.has(t)}}else{var m=p("state");h[m]=!0,n=function(t,e){if(l(t,m))throw new g(f);return e.facade=t,c(t,m,e),e},i=function(t){return l(t,m)?t[m]:{}},o=function(t){return l(t,m)}}t.exports={set:n,get:i,has:o,enforce:function(t){return o(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=i(e)).type!==t)throw new g("Incompatible receiver, "+t+" required");return r}}}},73485(t,e,r){"use strict";var n=r(37759),i=r(37505),o=n("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||s[o]===t)}},27484(t,e,r){"use strict";var n=r(73132);t.exports=Array.isArray||function(t){return"Array"===n(t)}},61859(t,e,r){"use strict";var n=r(78023);t.exports=function(t){var e=n(t);return"BigInt64Array"===e||"BigUint64Array"===e}},35969(t){"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},8017(t,e,r){"use strict";var n=r(92244),i=r(7091),o=r(35969),s=r(78023),a=r(7851),u=r(67390),c=function(){},l=a("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=n(d.exec),h=!d.test(c),f=function(t){if(!o(t))return!1;try{return l(c,[],t),!0}catch(t){return!1}},g=function(t){if(!o(t))return!1;switch(s(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(d,u(t))}catch(t){return!0}};g.sham=!0,t.exports=!l||i(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?g:f},9576(t,e,r){"use strict";var n=r(7091),i=r(35969),o=/#|\.prototype\./,s=function(t,e){var r=u[a(t)];return r===l||r!==c&&(i(e)?n(e):!!e)},a=s.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=s.data={},c=s.NATIVE="N",l=s.POLYFILL="P";t.exports=s},61131(t,e,r){"use strict";var n=r(41142),i=Math.floor;t.exports=Number.isInteger||function(t){return!n(t)&&isFinite(t)&&i(t)===t}},99377(t){"use strict";t.exports=function(t){return null==t}},41142(t,e,r){"use strict";var n=r(35969);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},89081(t,e,r){"use strict";var n=r(41142);t.exports=function(t){return n(t)||null===t}},44487(t){"use strict";t.exports=!1},97998(t,e,r){"use strict";var n=r(41142),i=r(29265).get;t.exports=function(t){if(!n(t))return!1;var e=i(t);return!!e&&"RawJSON"===e.type}},66251(t,e,r){"use strict";var n=r(41142),i=r(73132),o=r(37759)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"===i(t))}},47161(t,e,r){"use strict";var n=r(7851),i=r(35969),o=r(37165),s=r(56564),a=Object;t.exports=s?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return i(e)&&o(e.prototype,a(t))}},76775(t,e,r){"use strict";var n=r(69529);t.exports=function(t,e,r){for(var i,o,s=r?t:t.iterator,a=t.next;!(i=n(a,s)).done;)if(void 0!==(o=e(i.value)))return o}},69824(t,e,r){"use strict";var n=r(40716),i=r(69529),o=r(14467),s=r(85275),a=r(73485),u=r(64450),c=r(37165),l=r(78461),d=r(65031),p=r(92591),h=TypeError,f=function(t,e){this.stopped=t,this.result=e},g=f.prototype;t.exports=function(t,e,r){var E,_,m,v,T,S,y,b=r&&r.that,O=!(!r||!r.AS_ENTRIES),A=!(!r||!r.IS_RECORD),R=!(!r||!r.IS_ITERATOR),w=!(!r||!r.INTERRUPTED),L=n(e,b),C=function(t){var e=E;return E=void 0,e&&p(e,"normal"),new f(!0,t)},P=function(t){return O?(o(t),w?L(t[0],t[1],C):L(t[0],t[1])):w?L(t,C):L(t)};if(A)E=t.iterator;else if(R)E=t;else{if(!(_=d(t)))throw new h(s(t)+" is not iterable");if(a(_)){for(m=0,v=u(t);v>m;m++)if((T=P(t[m]))&&c(g,T))return T;return new f(!1)}E=l(t,_)}for(S=A?t.next:E.next;!(y=i(S,E)).done;){var N=y.value;try{T=P(N)}catch(t){if(!E)throw t;p(E,"throw",t)}if("object"==typeof T&&T&&c(g,T))return T}return new f(!1)}},90669(t,e,r){"use strict";var n=r(92591);t.exports=function(t,e,r){for(var i=t.length-1;i>=0;i--)if(void 0!==t[i])try{r=n(t[i].iterator,e,r)}catch(t){e="throw",r=t}if("throw"===e)throw r;return r}},92591(t,e,r){"use strict";var n=r(69529),i=r(14467),o=r(99794);t.exports=function(t,e,r){var s,a;i(t);try{if(!(s=o(t,"return"))){if("throw"===e)throw r;return r}s=n(s,t)}catch(t){a=!0,s=t}if("throw"===e)throw r;if(a)throw s;return i(s),r}},58182(t,e,r){"use strict";var n=r(47117).IteratorPrototype,i=r(70596),o=r(12112),s=r(70915),a=r(37505),u=function(){return this};t.exports=function(t,e,r,c){var l=e+" Iterator";return t.prototype=i(n,{next:o(+!c,r)}),s(t,l,!1,!0),a[l]=u,t}},37082(t,e,r){"use strict";var n=r(69529),i=r(70596),o=r(41519),s=r(4699),a=r(37759),u=r(29265),c=r(99794),l=r(47117).IteratorPrototype,d=r(83373),p=r(92591),h=r(90669),f=a("toStringTag"),g="IteratorHelper",E="WrapForValidIterator",_="normal",m="throw",v=u.set,T=function(t){var e=u.getterFor(t?E:g);return s(i(l),{next:function(){var r=e(this);if(t)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(t){throw r.done=!0,t}},return:function(){var r=e(this),i=r.iterator,o=r.done;if(r.done=!0,t){var s=c(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,_)}catch(t){return p(i,m,t)}if(r.openIters)try{h(r.openIters,_)}catch(t){if(i)return p(i,m,t);throw t}return i&&p(i,_),d(void 0,!0)}})},S=T(!0),y=T(!1);o(y,f,"Iterator Helper"),t.exports=function(t,e,r){var n=function(n,i){i?(i.iterator=n.iterator,i.next=n.next):i=n,i.type=e?E:g,i.returnHandlerResult=!!r,i.nextHandler=t,i.counter=0,i.done=!1,v(this,i)};return n.prototype=e?S:y,n}},84132(t,e,r){"use strict";var n=r(13322),i=r(69529),o=r(44487),s=r(18226),a=r(35969),u=r(58182),c=r(81959),l=r(71779),d=r(70915),p=r(41519),h=r(83828),f=r(37759),g=r(37505),E=r(47117),_=s.PROPER,m=s.CONFIGURABLE,v=E.IteratorPrototype,T=E.BUGGY_SAFARI_ITERATORS,S=f("iterator"),y="keys",b="values",O="entries",A=function(){return this};t.exports=function(t,e,r,s,f,E,R){u(r,e,s);var w,L,C,P=function(t){if(t===f&&x)return x;if(!T&&t&&t in I)return I[t];switch(t){case y:case b:case O:return function(){return new r(this,t)}}return function(){return new r(this)}},N=e+" Iterator",M=!1,I=t.prototype,D=I[S]||I["@@iterator"]||f&&I[f],x=!T&&D||P(f),U="Array"===e&&I.entries||D;if(U&&(w=c(U.call(new t)))!==Object.prototype&&w.next&&(o||c(w)===v||(l?l(w,v):a(w[S])||h(w,S,A)),d(w,N,!0,!0),o&&(g[N]=A)),_&&f===b&&D&&D.name!==b&&(!o&&m?p(I,"name",b):(M=!0,x=function(){return i(D,this)})),f)if(L={values:P(b),keys:E?x:P(y),entries:P(O)},R)for(C in L)(T||M||!(C in I))&&h(I,C,L[C]);else n({target:e,proto:!0,forced:T||M},L);return o&&!R||I[S]===x||h(I,S,x,{name:f}),g[e]=x,L}},49632(t){"use strict";t.exports=function(t,e){var r="function"==typeof Iterator&&Iterator.prototype[t];if(r)try{r.call({next:null},e).next()}catch(t){return!0}}},99441(t,e,r){"use strict";var n=r(42100);t.exports=function(t,e){var r=n.Iterator,i=r&&r.prototype,o=i&&i[t],s=!1;if(o)try{o.call({next:function(){return{done:!0}},return:function(){s=!0}},-1)}catch(t){t instanceof e||(s=!1)}if(!s)return o}},47117(t,e,r){"use strict";var n,i,o,s=r(7091),a=r(35969),u=r(41142),c=r(70596),l=r(81959),d=r(83828),p=r(37759),h=r(44487),f=p("iterator"),g=!1;[].keys&&("next"in(o=[].keys())?(i=l(l(o)))!==Object.prototype&&(n=i):g=!0),!u(n)||s(function(){var t={};return n[f].call(t)!==t})?n={}:h&&(n=c(n)),a(n[f])||d(n,f,function(){return this}),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},37505(t){"use strict";t.exports={}},64450(t,e,r){"use strict";var n=r(45378);t.exports=function(t){return n(t.length)}},61679(t,e,r){"use strict";var n=r(92244),i=r(7091),o=r(35969),s=r(50253),a=r(88224),u=r(18226).CONFIGURABLE,c=r(67390),l=r(29265),d=l.enforce,p=l.get,h=String,f=Object.defineProperty,g=n("".slice),E=n("".replace),_=n([].join),m=a&&!i(function(){return 8!==f(function(){},"length",{value:8}).length}),v=String(String).split("String"),T=t.exports=function(t,e,r){"Symbol("===g(h(e),0,7)&&(e="["+E(h(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!s(t,"name")||u&&t.name!==e)&&(a?f(t,"name",{value:e,configurable:!0}):t.name=e),m&&r&&s(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&s(r,"constructor")&&r.constructor?a&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=d(t);return s(n,"source")||(n.source=_(v,"string"==typeof e?e:"")),t};Function.prototype.toString=T(function(){return o(this)&&p(this).source||c(this)},"toString")},52744(t,e,r){"use strict";var n=r(51138),i=r(52134),o=Math.abs;t.exports=function(t,e,r,s){var a=+t,u=o(a),c=n(a);if(u<s)return c*i(u/s/e)*s*e;var l=(1+e/2220446049250313e-31)*u,d=l-(l-u);return d>r||d!=d?c*(1/0):c*d}},76421(t,e,r){"use strict";var n=r(52744);t.exports=Math.fround||function(t){return n(t,1.1920928955078125e-7,34028234663852886e22,11754943508222875e-54)}},52134(t){"use strict";var e=4503599627370496;t.exports=function(t){return t+e-e}},51138(t){"use strict";t.exports=Math.sign||function(t){var e=+t;return 0===e||e!=e?e:e<0?-1:1}},30897(t){"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},3535(t,e,r){"use strict";var n,i,o,s,a,u=r(42100),c=r(57185),l=r(40716),d=r(73853).set,p=r(28669),h=r(92052),f=r(87277),g=r(86424),E=r(14189),_=u.MutationObserver||u.WebKitMutationObserver,m=u.document,v=u.process,T=u.Promise,S=c("queueMicrotask");if(!S){var y=new p,b=function(){var t,e;for(E&&(t=v.domain)&&t.exit();e=y.get();)try{e()}catch(t){throw y.head&&n(),t}t&&t.enter()};h||E||g||!_||!m?!f&&T&&T.resolve?((s=T.resolve(void 0)).constructor=T,a=l(s.then,s),n=function(){a(b)}):E?n=function(){v.nextTick(b)}:(d=l(d,u),n=function(){d(b)}):(i=!0,o=m.createTextNode(""),new _(b).observe(o,{characterData:!0}),n=function(){o.data=i=!i}),S=function(t){y.head||n(),y.add(t)}}t.exports=S},98567(t,e,r){"use strict";var n=r(7091);t.exports=!n(function(){var t="9007199254740993",e=JSON.rawJSON(t);return!JSON.isRawJSON(e)||JSON.stringify(e)!==t})},96839(t,e,r){"use strict";var n=r(55934),i=TypeError,o=function(t){var e,r;this.promise=new t(function(t,n){if(void 0!==e||void 0!==r)throw new i("Bad Promise constructor");e=t,r=n}),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new o(t)}},31023(t,e,r){"use strict";var n=r(68371);t.exports=function(t,e){return void 0===t?arguments.length<2?"":e:n(t)}},105(t,e,r){"use strict";var n=r(88224),i=r(92244),o=r(69529),s=r(7091),a=r(81564),u=r(29297),c=r(20153),l=r(43017),d=r(12243),p=Object.assign,h=Object.defineProperty,f=i([].concat);t.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 t={},e={},r=Symbol("assign detection"),i="abcdefghijklmnopqrst";return t[r]=7,i.split("").forEach(function(t){e[t]=t}),7!==p({},t)[r]||a(p({},e)).join("")!==i})?function(t,e){for(var r=l(t),i=arguments.length,s=1,p=u.f,h=c.f;i>s;)for(var g,E=d(arguments[s++]),_=p?f(a(E),p(E)):a(E),m=_.length,v=0;m>v;)g=_[v++],n&&!o(h,E,g)||(r[g]=E[g]);return r}:p},70596(t,e,r){"use strict";var n,i=r(14467),o=r(67997),s=r(94499),a=r(62089),u=r(37441),c=r(27907),l=r(65747),d="prototype",p="script",h=l("IE_PROTO"),f=function(){},g=function(t){return"<"+p+">"+t+"</"+p+">"},E=function(t){t.write(g("")),t.close();var e=t.parentWindow.Object;return t=null,e},_=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e,r;_="undefined"!=typeof document?document.domain&&n?E(n):(e=c("iframe"),r="java"+p+":",e.style.display="none",u.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(g("document.F=Object")),t.close(),t.F):E(n);for(var i=s.length;i--;)delete _[d][s[i]];return _()};a[h]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(f[d]=i(t),r=new f,f[d]=null,r[h]=t):r=_(),void 0===e?r:o.f(r,e)}},67997(t,e,r){"use strict";var n=r(88224),i=r(13266),o=r(62837),s=r(14467),a=r(82377),u=r(81564);e.f=n&&!i?Object.defineProperties:function(t,e){s(t);for(var r,n=a(e),i=u(e),c=i.length,l=0;c>l;)o.f(t,r=i[l++],n[r]);return t}},62837(t,e,r){"use strict";var n=r(88224),i=r(20513),o=r(13266),s=r(14467),a=r(85661),u=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",h="writable";e.f=n?o?function(t,e,r){if(s(t),e=a(e),s(r),"function"==typeof t&&"prototype"===e&&"value"in r&&h in r&&!r[h]){var n=l(t,e);n&&n[h]&&(t[e]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:d in r?r[d]:n[d],writable:!1})}return c(t,e,r)}:c:function(t,e,r){if(s(t),e=a(e),s(r),i)try{return c(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},91055(t,e,r){"use strict";var n=r(88224),i=r(69529),o=r(20153),s=r(12112),a=r(82377),u=r(85661),c=r(50253),l=r(20513),d=Object.getOwnPropertyDescriptor;e.f=n?d:function(t,e){if(t=a(t),e=u(e),l)try{return d(t,e)}catch(t){}if(c(t,e))return s(!i(o.f,t,e),t[e])}},81756(t,e,r){"use strict";var n=r(4920),i=r(94499).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},29297(t,e){"use strict";e.f=Object.getOwnPropertySymbols},81959(t,e,r){"use strict";var n=r(50253),i=r(35969),o=r(43017),s=r(65747),a=r(3479),u=s("IE_PROTO"),c=Object,l=c.prototype;t.exports=a?c.getPrototypeOf:function(t){var e=o(t);if(n(e,u))return e[u];var r=e.constructor;return i(r)&&e instanceof r?r.prototype:e instanceof c?l:null}},37165(t,e,r){"use strict";var n=r(92244);t.exports=n({}.isPrototypeOf)},4920(t,e,r){"use strict";var n=r(92244),i=r(50253),o=r(82377),s=r(15501).indexOf,a=r(62089),u=n([].push);t.exports=function(t,e){var r,n=o(t),c=0,l=[];for(r in n)!i(a,r)&&i(n,r)&&u(l,r);for(;e.length>c;)i(n,r=e[c++])&&(~s(l,r)||u(l,r));return l}},81564(t,e,r){"use strict";var n=r(4920),i=r(94499);t.exports=Object.keys||function(t){return n(t,i)}},20153(t,e){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);e.f=i?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},71779(t,e,r){"use strict";var n=r(1094),i=r(41142),o=r(96034),s=r(8286);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return o(r),s(n),i(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},35402(t,e,r){"use strict";var n=r(69529),i=r(35969),o=r(41142),s=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&i(r=t.toString)&&!o(a=n(r,t)))return a;if(i(r=t.valueOf)&&!o(a=n(r,t)))return a;if("string"!==e&&i(r=t.toString)&&!o(a=n(r,t)))return a;throw new s("Can't convert object to primitive value")}},48619(t,e,r){"use strict";var n=r(7851),i=r(92244),o=r(81756),s=r(29297),a=r(14467),u=i([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(a(t)),r=s.f;return r?u(e,r(t)):e}},45084(t,e,r){"use strict";var n=r(92244),i=r(50253),o=SyntaxError,s=parseInt,a=String.fromCharCode,u=n("".charAt),c=n("".slice),l=n(/./.exec),d={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},p=/^[\da-f]{4}$/i,h=/^[\u0000-\u001F]$/;t.exports=function(t,e){for(var r=!0,n="";e<t.length;){var f=u(t,e);if("\\"===f){var g=c(t,e,e+2);if(i(d,g))n+=d[g],e+=2;else{if("\\u"!==g)throw new o('Unknown escape sequence: "'+g+'"');var E=c(t,e+=2,e+4);if(!l(p,E))throw new o("Bad Unicode escape at: "+e);n+=a(s(E,16)),e+=4}}else{if('"'===f){r=!1,e++;break}if(l(h,f))throw new o("Bad control character in string literal at: "+e);n+=f,e++}}if(r)throw new o("Unterminated string at: "+e);return{value:n,end:e}}},98403(t,e,r){"use strict";var n=r(42100);t.exports=n},72227(t){"use strict";t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},91288(t,e,r){"use strict";var n=r(42100),i=r(62458),o=r(35969),s=r(9576),a=r(67390),u=r(37759),c=r(35123),l=r(44487),d=r(88395),p=i&&i.prototype,h=u("species"),f=!1,g=o(n.PromiseRejectionEvent),E=s("Promise",function(){var t=a(i),e=t!==String(i);if(!e&&66===d)return!0;if(l&&(!p.catch||!p.finally))return!0;if(!d||d<51||!/native code/.test(t)){var r=new i(function(t){t(1)}),n=function(t){t(function(){},function(){})};if((r.constructor={})[h]=n,!(f=r.then(function(){})instanceof n))return!0}return!(e||"BROWSER"!==c&&"DENO"!==c||g)});t.exports={CONSTRUCTOR:E,REJECTION_EVENT:g,SUBCLASSING:f}},62458(t,e,r){"use strict";var n=r(42100);t.exports=n.Promise},53642(t,e,r){"use strict";var n=r(14467),i=r(41142),o=r(96839);t.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},54165(t,e,r){"use strict";var n=r(62458),i=r(93928),o=r(91288).CONSTRUCTOR;t.exports=o||!i(function(t){n.all(t).then(void 0,function(){})})},36364(t,e,r){"use strict";var n=r(62837).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},28669(t){"use strict";var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=e},58686(t,e,r){"use strict";var n=r(69529),i=r(14467),o=r(35969),s=r(73132),a=r(75263),u=TypeError;t.exports=function(t,e){var r=t.exec;if(o(r)){var c=n(r,t,e);return null!==c&&i(c),c}if("RegExp"===s(t))return n(a,t,e);throw new u("RegExp#exec called on incompatible receiver")}},75263(t,e,r){"use strict";var n,i,o=r(69529),s=r(92244),a=r(68371),u=r(76879),c=r(28617),l=r(62365),d=r(70596),p=r(29265).get,h=r(33583),f=r(77930),g=l("native-string-replace",String.prototype.replace),E=RegExp.prototype.exec,_=E,m=s("".charAt),v=s("".indexOf),T=s("".replace),S=s("".slice),y=(i=/b*/g,o(E,n=/a/,"a"),o(E,i,"a"),0!==n.lastIndex||0!==i.lastIndex),b=c.BROKEN_CARET,O=void 0!==/()??/.exec("")[1],A=function(t,e){for(var r=t.groups=d(null),n=0;n<e.length;n++){var i=e[n];r[i[0]]=t[i[1]]}};(y||O||b||h||f)&&(_=function(t){var e,r,n,i=this,s=p(i),c=a(t),l=s.raw;if(l)return l.lastIndex=i.lastIndex,e=o(_,l,c),i.lastIndex=l.lastIndex,e&&s.groups&&A(e,s.groups),e;var d=s.groups,h=b&&i.sticky,f=o(u,i),R=i.source,w=0,L=c;if(h){f=T(f,"y",""),-1===v(f,"g")&&(f+="g"),L=S(c,i.lastIndex);var C=i.lastIndex>0&&m(c,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)}O&&(r=new RegExp("^"+R+"$(?!\\s)",f)),y&&(n=i.lastIndex);var P=o(E,h?r:i,L);return h?P?(P.input=c,P[0]=S(P[0],w),P.index=i.lastIndex,i.lastIndex+=P[0].length):i.lastIndex=0:y&&P&&(i.lastIndex=i.global?P.index+P[0].length:n),O&&P&&P.length>1&&o(g,P[0],r,function(){for(var t=1;t<arguments.length-2;t++)void 0===arguments[t]&&(P[t]=void 0)}),P&&d&&A(P,d),P}),t.exports=_},79473(t,e,r){"use strict";var n=r(42100),i=r(7091),o=n.RegExp,s=!i(function(){var t=!0;try{o(".","d")}catch(e){t=!1}var e={},r="",n=t?"dgimsy":"gimsy",i=function(t,n){Object.defineProperty(e,t,{get:function(){return r+=n,!0}})},s={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(s.hasIndices="d"),s)i(a,s[a]);return Object.getOwnPropertyDescriptor(o.prototype,"flags").get.call(e)!==n||r!==n});t.exports={correct:s}},76879(t,e,r){"use strict";var n=r(14467);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},8830(t,e,r){"use strict";var n=r(69529),i=r(50253),o=r(37165),s=r(79473),a=r(76879),u=RegExp.prototype;t.exports=s.correct?function(t){return t.flags}:function(t){return s.correct||!o(u,t)||i(t,"flags")?t.flags:n(a,t)}},28617(t,e,r){"use strict";var n=r(7091),i=r(42100).RegExp,o=n(function(){var t=i("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),s=o||n(function(){return!i("a","y").sticky}),a=o||n(function(){var t=i("^r","gy");return t.lastIndex=2,null!==t.exec("str")});t.exports={BROKEN_CARET:a,MISSED_STICKY:s,UNSUPPORTED_Y:o}},33583(t,e,r){"use strict";var n=r(7091),i=r(42100).RegExp;t.exports=n(function(){var t=i(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})},77930(t,e,r){"use strict";var n=r(7091),i=r(42100).RegExp;t.exports=n(function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})},96034(t,e,r){"use strict";var n=r(99377),i=TypeError;t.exports=function(t){if(n(t))throw new i("Can't call method on "+t);return t}},57185(t,e,r){"use strict";var n=r(42100),i=r(88224),o=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!i)return n[t];var e=o(n,t);return e&&e.value}},67556(t,e,r){"use strict";var n,i=r(42100),o=r(27861),s=r(35969),a=r(35123),u=r(66379),c=r(28348),l=r(87584),d=i.Function,p=/MSIE .\./.test(u)||"BUN"===a&&((n=i.Bun.version.split(".")).length<3||"0"===n[0]&&(n[1]<3||"3"===n[1]&&"0"===n[2]));t.exports=function(t,e){var r=e?2:1;return p?function(n,i){var a=l(arguments.length,1)>r,u=s(n)?n:d(n),p=a?c(arguments,r):[],h=a?function(){o(u,this,p)}:u;return e?t(h,i):t(h)}:t}},26610(t,e,r){"use strict";var n=r(28470),i=r(25329),o=n.Set,s=n.add;t.exports=function(t){var e=new o;return i(t,function(t){s(e,t)}),e}},55100(t,e,r){"use strict";var n=r(49348),i=r(28470),o=r(26610),s=r(85502),a=r(18073),u=r(25329),c=r(76775),l=i.has,d=i.remove;t.exports=function(t){var e=n(this),r=a(t),i=o(e);return s(i)<=r.size?u(i,function(t){r.includes(t)&&d(i,t)}):c(r.getIterator(),function(t){l(i,t)&&d(i,t)}),i}},28470(t,e,r){"use strict";var n=r(92244),i=Set.prototype;t.exports={Set:Set,add:n(i.add),has:n(i.has),remove:n(i.delete),proto:i}},72778(t,e,r){"use strict";var n=r(49348),i=r(28470),o=r(85502),s=r(18073),a=r(25329),u=r(76775),c=i.Set,l=i.add,d=i.has;t.exports=function(t){var e=n(this),r=s(t),i=new c;return o(e)>r.size?u(r.getIterator(),function(t){d(e,t)&&l(i,t)}):a(e,function(t){r.includes(t)&&l(i,t)}),i}},68125(t,e,r){"use strict";var n=r(49348),i=r(28470).has,o=r(85502),s=r(18073),a=r(25329),u=r(76775),c=r(92591);t.exports=function(t){var e=n(this),r=s(t);if(o(e)<=r.size)return!1!==a(e,function(t){if(r.includes(t))return!1},!0);var l=r.getIterator();return!1!==u(l,function(t){if(i(e,t))return c(l.iterator,"normal",!1)})}},76026(t,e,r){"use strict";var n=r(49348),i=r(85502),o=r(25329),s=r(18073);t.exports=function(t){var e=n(this),r=s(t);return!(i(e)>r.size)&&!1!==o(e,function(t){if(!r.includes(t))return!1},!0)}},70979(t,e,r){"use strict";var n=r(49348),i=r(28470).has,o=r(85502),s=r(18073),a=r(76775),u=r(92591);t.exports=function(t){var e=n(this),r=s(t);if(o(e)<r.size)return!1;var c=r.getIterator();return!1!==a(c,function(t){if(!i(e,t))return u(c.iterator,"normal",!1)})}},25329(t,e,r){"use strict";var n=r(92244),i=r(76775),o=r(28470),s=o.Set,a=o.proto,u=n(a.forEach),c=n(a.keys),l=c(new s).next;t.exports=function(t,e,r){return r?i({iterator:c(t),next:l},e):u(t,e)}},20392(t,e,r){"use strict";var n=r(7851),i=function(t){return{size:t,has:function(){return!1},keys:function(){return{next:function(){return{done:!0}}}}}},o=function(t){return{size:t,has:function(){return!0},keys:function(){throw new Error("e")}}};t.exports=function(t,e){var r=n("Set");try{(new r)[t](i(0));try{return(new r)[t](i(-1)),!1}catch(n){if(!e)return!0;try{return(new r)[t](o(-1/0)),!1}catch(n){return e(new r([1,2])[t](o(1/0)))}}}catch(t){return!1}}},88015(t){"use strict";t.exports=function(t){try{var e=new Set,r={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return e.clear(),e.add(4),function(){return{done:!0}}}})}},n=e[t](r);return 1===n.size&&4===n.values().next().value}catch(t){return!1}}},85502(t,e,r){"use strict";var n=r(1094),i=r(28470);t.exports=n(i.proto,"size","get")||function(t){return t.size}},96941(t,e,r){"use strict";var n=r(7851),i=r(24966),o=r(37759),s=r(88224),a=o("species");t.exports=function(t){var e=n(t);s&&e&&!e[a]&&i(e,a,{configurable:!0,get:function(){return this}})}},66054(t,e,r){"use strict";var n=r(49348),i=r(28470),o=r(26610),s=r(18073),a=r(76775),u=i.add,c=i.has,l=i.remove;t.exports=function(t){var e=n(this),r=s(t).getIterator(),i=o(e);return a(r,function(t){c(e,t)?l(i,t):u(i,t)}),i}},70915(t,e,r){"use strict";var n=r(62837).f,i=r(50253),o=r(37759)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!i(t,o)&&n(t,o,{configurable:!0,value:e})}},84360(t,e,r){"use strict";var n=r(49348),i=r(28470).add,o=r(26610),s=r(18073),a=r(76775);t.exports=function(t){var e=n(this),r=s(t).getIterator(),u=o(e);return a(r,function(t){i(u,t)}),u}},65747(t,e,r){"use strict";var n=r(62365),i=r(53524),o=n("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},36953(t,e,r){"use strict";var n=r(44487),i=r(42100),o=r(24021),s="__core-js_shared__",a=t.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"})},62365(t,e,r){"use strict";var n=r(36953);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},14737(t,e,r){"use strict";var n=r(14467),i=r(26840),o=r(99377),s=r(37759)("species");t.exports=function(t,e){var r,a=n(t).constructor;return void 0===a||o(r=n(a)[s])?e:i(r)}},85123(t,e,r){"use strict";var n=r(92244),i=r(66399),o=r(68371),s=r(96034),a=n("".charAt),u=n("".charCodeAt),c=n("".slice),l=function(t){return function(e,r){var n,l,d=o(s(e)),p=i(r),h=d.length;return p<0||p>=h?t?"":void 0:(n=u(d,p))<55296||n>56319||p+1===h||(l=u(d,p+1))<56320||l>57343?t?a(d,p):n:t?c(d,p,p+2):l-56320+(n-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}},23465(t,e,r){"use strict";var n=r(92244),i=2147483647,o=/[^\0-\u007E]/,s=/[.\u3002\uFF0E\uFF61]/g,a="Overflow: input needs wider integers to process",u=RangeError,c=n(s.exec),l=Math.floor,d=String.fromCharCode,p=n("".charCodeAt),h=n([].join),f=n([].push),g=n("".replace),E=n("".split),_=n("".toLowerCase),m=function(t){return t+22+75*(t<26)},v=function(t,e,r){var n=0;for(t=r?l(t/700):t>>1,t+=l(t/e);t>455;)t=l(t/35),n+=36;return l(n+36*t/(t+38))},T=function(t){var e=[];t=function(t){for(var e=[],r=0,n=t.length;r<n;){var i=p(t,r++);if(i>=55296&&i<=56319&&r<n){var o=p(t,r++);56320==(64512&o)?f(e,((1023&i)<<10)+(1023&o)+65536):(f(e,i),r--)}else f(e,i)}return e}(t);var r,n,o=t.length,s=128,c=0,g=72;for(r=0;r<t.length;r++)(n=t[r])<128&&f(e,d(n));var E=e.length,_=E;for(E&&f(e,"-");_<o;){var T=i;for(r=0;r<t.length;r++)(n=t[r])>=s&&n<T&&(T=n);var S=_+1;if(T-s>l((i-c)/S))throw new u(a);for(c+=(T-s)*S,s=T,r=0;r<t.length;r++){if((n=t[r])<s&&++c>i)throw new u(a);if(n===s){for(var y=c,b=36;;){var O=b<=g?1:b>=g+26?26:b-g;if(y<O)break;var A=y-O,R=36-O;f(e,d(m(O+A%R))),y=l(A/R),b+=36}f(e,d(m(y))),g=v(c,S,_===E),c=0,_++}}c++,s++}return h(e,"")};t.exports=function(t){var e,r,n=[],i=E(g(_(t),s,"."),".");for(e=0;e<i.length;e++)r=i[e],f(n,c(o,r)?"xn--"+T(r):r);return h(n,".")}},30400(t,e,r){"use strict";var n=r(42100),i=r(7091),o=r(88395),s=r(35123),a=n.structuredClone;t.exports=!!a&&!i(function(){if("DENO"===s&&o>92||"NODE"===s&&o>94||"BROWSER"===s&&o>97)return!1;var t=new ArrayBuffer(8),e=a(t,{transfer:[t]});return 0!==t.byteLength||8!==e.byteLength})},21867(t,e,r){"use strict";var n=r(88395),i=r(7091),o=r(42100).String;t.exports=!!Object.getOwnPropertySymbols&&!i(function(){var t=Symbol("symbol detection");return!o(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41})},73853(t,e,r){"use strict";var n,i,o,s,a=r(42100),u=r(27861),c=r(40716),l=r(35969),d=r(50253),p=r(7091),h=r(37441),f=r(28348),g=r(27907),E=r(87584),_=r(92052),m=r(14189),v=a.setImmediate,T=a.clearImmediate,S=a.process,y=a.Dispatch,b=a.Function,O=a.MessageChannel,A=a.String,R=0,w={},L="onreadystatechange";p(function(){n=a.location});var C=function(t){if(d(w,t)){var e=w[t];delete w[t],e()}},P=function(t){return function(){C(t)}},N=function(t){C(t.data)},M=function(t){a.postMessage(A(t),n.protocol+"//"+n.host)};v&&T||(v=function(t){E(arguments.length,1);var e=l(t)?t:b(t),r=f(arguments,1);return w[++R]=function(){u(e,void 0,r)},i(R),R},T=function(t){delete w[t]},m?i=function(t){S.nextTick(P(t))}:y&&y.now?i=function(t){y.now(P(t))}:O&&!_?(s=(o=new O).port2,o.port1.onmessage=N,i=c(s.postMessage,s)):a.addEventListener&&l(a.postMessage)&&!a.importScripts&&n&&"file:"!==n.protocol&&!p(M)?(i=M,a.addEventListener("message",N,!1)):i=L in g("script")?function(t){h.appendChild(g("script"))[L]=function(){h.removeChild(this),C(t)}}:function(t){setTimeout(P(t),0)}),t.exports={set:v,clear:T}},27326(t,e,r){"use strict";var n=r(66399),i=Math.max,o=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):o(r,e)}},69938(t,e,r){"use strict";var n=r(47341),i=TypeError;t.exports=function(t){var e=n(t,"number");if("number"==typeof e)throw new i("Can't convert number to bigint");return BigInt(e)}},71628(t,e,r){"use strict";var n=r(66399),i=r(45378),o=RangeError;t.exports=function(t){if(void 0===t)return 0;var e=n(t),r=i(e);if(e!==r)throw new o("Wrong length or index");return r}},82377(t,e,r){"use strict";var n=r(12243),i=r(96034);t.exports=function(t){return n(i(t))}},66399(t,e,r){"use strict";var n=r(30897);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},45378(t,e,r){"use strict";var n=r(66399),i=Math.min;t.exports=function(t){var e=n(t);return e>0?i(e,9007199254740991):0}},43017(t,e,r){"use strict";var n=r(96034),i=Object;t.exports=function(t){return i(n(t))}},29977(t,e,r){"use strict";var n=r(15746),i=RangeError;t.exports=function(t,e){var r=n(t);if(r%e)throw new i("Wrong offset");return r}},15746(t,e,r){"use strict";var n=r(66399),i=RangeError;t.exports=function(t){var e=n(t);if(e<0)throw new i("The argument can't be less than 0");return e}},47341(t,e,r){"use strict";var n=r(69529),i=r(41142),o=r(47161),s=r(99794),a=r(35402),u=r(37759),c=TypeError,l=u("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var r,u=s(t,l);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!i(r)||o(r))return r;throw new c("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},85661(t,e,r){"use strict";var n=r(47341),i=r(47161);t.exports=function(t){var e=n(t,"string");return i(e)?e:e+""}},31048(t,e,r){"use strict";var n={};n[r(37759)("toStringTag")]="z",t.exports="[object z]"===String(n)},68371(t,e,r){"use strict";var n=r(78023),i=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return i(t)}},86835(t){"use strict";var e=Math.floor;t.exports=function(t){var r=+t;if(r!=r||r<=0)return 0;if(r>=255)return 255;var n=e(r);return n+.5<r?n+1:r<n+.5||n%2==0?n:n+1}},85275(t){"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},60347(t,e,r){"use strict";var n=r(13322),i=r(42100),o=r(69529),s=r(88224),a=r(29545),u=r(34832),c=r(49710),l=r(26539),d=r(12112),p=r(41519),h=r(61131),f=r(71628),g=r(29977),E=r(86835),_=r(85661),m=r(50253),v=r(78023),T=r(41142),S=r(47161),y=r(70596),b=r(37165),O=r(71779),A=r(81756).f,R=r(23167),w=r(90129).forEach,L=r(96941),C=r(24966),P=r(62837),N=r(91055),M=r(88886),I=r(29265),D=r(87571),x=I.get,U=I.set,k=I.enforce,j=P.f,B=N.f,V=i.RangeError,G=c.ArrayBuffer,F=G.prototype,H=c.DataView,W=u.NATIVE_ARRAY_BUFFER_VIEWS,Y=u.TYPED_ARRAY_TAG,X=u.TypedArray,q=u.TypedArrayPrototype,z=u.isTypedArray,K="BYTES_PER_ELEMENT",$="Wrong length",J=function(t,e){C(t,e,{configurable:!0,get:function(){return x(this)[e]}})},Z=function(t){var e;return b(F,t)||"ArrayBuffer"===(e=v(t))||"SharedArrayBuffer"===e},Q=function(t,e){return z(t)&&!S(e)&&e in t&&h(+e)&&e>=0},tt=function(t,e){return e=_(e),Q(t,e)?d(2,t[e]):B(t,e)},et=function(t,e,r){return e=_(e),!(Q(t,e)&&T(r)&&m(r,"value"))||m(r,"get")||m(r,"set")||r.configurable||m(r,"writable")&&!r.writable||m(r,"enumerable")&&!r.enumerable?j(t,e,r):(t[e]=r.value,t)};s?(W||(N.f=tt,P.f=et,J(q,"buffer"),J(q,"byteOffset"),J(q,"byteLength"),J(q,"length")),n({target:"Object",stat:!0,forced:!W},{getOwnPropertyDescriptor:tt,defineProperty:et}),t.exports=function(t,e,r){var s=t.match(/\d+/)[0]/8,u=t+(r?"Clamped":"")+"Array",c="get"+t,d="set"+t,h=i[u],_=h,m=_&&_.prototype,v={},S=function(t,e){j(t,e,{get:function(){return function(t,e){var r=x(t);return r.view[c](e*s+r.byteOffset,!0)}(this,e)},set:function(t){return function(t,e,n){var i=x(t);i.view[d](e*s+i.byteOffset,r?E(n):n,!0)}(this,e,t)},enumerable:!0})};W?a&&(_=e(function(t,e,r,n){return l(t,m),D(T(e)?Z(e)?void 0!==n?new h(e,g(r,s),n):void 0!==r?new h(e,g(r,s)):new h(e):z(e)?M(_,e):o(R,_,e):new h(f(e)),t,_)}),O&&O(_,X),w(A(h),function(t){t in _||p(_,t,h[t])}),_.prototype=m):(_=e(function(t,e,r,n){l(t,m);var i,a,u,c=0,d=0;if(T(e)){if(!Z(e))return z(e)?M(_,e):o(R,_,e);i=e,d=g(r,s);var p=e.byteLength;if(void 0===n){if(p%s)throw new V($);if((a=p-d)<0)throw new V($)}else if((a=f(n)*s)+d>p)throw new V($);u=a/s}else u=f(e),i=new G(a=u*s);for(U(t,{buffer:i,byteOffset:d,byteLength:a,length:u,view:new H(i)});c<u;)S(t,c++)}),O&&O(_,X),m=_.prototype=y(q)),m.constructor!==_&&p(m,"constructor",_),k(m).TypedArrayConstructor=_,Y&&p(m,Y,u);var b=_!==h;v[u]=_,n({global:!0,constructor:!0,forced:b,sham:!W},v),K in _||p(_,K,s),K in m||p(m,K,s),L(u)}):t.exports=function(){}},29545(t,e,r){"use strict";var n=r(42100),i=r(7091),o=r(93928),s=r(34832).NATIVE_ARRAY_BUFFER_VIEWS,a=n.ArrayBuffer,u=n.Int8Array;t.exports=!s||!i(function(){u(1)})||!i(function(){new u(-1)})||!o(function(t){new u,new u(null),new u(1.5),new u(t)},!0)||i(function(){return 1!==new u(new a(2),1,void 0).length})},23167(t,e,r){"use strict";var n=r(40716),i=r(69529),o=r(55934),s=r(26840),a=r(43017),u=r(64450),c=r(78461),l=r(65031),d=r(73485),p=r(61859),h=r(34832).aTypedArrayConstructor,f=r(69938);t.exports=function(t){var e=s(this),r=arguments.length,g=r>1?arguments[1]:void 0,E=void 0!==g;E&&o(g);var _,m,v,T,S,y,b,O,A=a(t),R=l(A);if(R&&!d(R))for(O=(b=c(A,R)).next,A=[];!(y=i(O,b)).done;)A.push(y.value);for(E&&r>2&&(g=n(g,arguments[2])),m=u(A),v=new(h(e))(m),T=p(v),_=0;m>_;_++)S=E?g(A[_],_):A[_],v[_]=T?f(S):+S;return v}},53524(t,e,r){"use strict";var n=r(92244),i=0,o=Math.random(),s=n(1.1.toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+s(++i+o,36)}},3204(t,e,r){"use strict";var n=r(7091),i=r(37759),o=r(88224),s=r(44487),a=i("iterator");t.exports=!n(function(){var t=new URL("b?a=1&b=2&c=3","https://a"),e=t.searchParams,r=new URLSearchParams("a=1&a=2&b=3"),n="";return t.pathname="c%20d",e.forEach(function(t,r){e.delete("b"),n+=r+t}),r.delete("a",2),r.delete("b",void 0),s&&(!t.toJSON||!r.has("a",1)||r.has("a",2)||!r.has("a",void 0)||r.has("b"))||!e.size&&(s||!o)||!e.sort||"https://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[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})},56564(t,e,r){"use strict";var n=r(21867);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},13266(t,e,r){"use strict";var n=r(88224),i=r(7091);t.exports=n&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},87584(t){"use strict";var e=TypeError;t.exports=function(t,r){if(t<r)throw new e("Not enough arguments");return t}},31922(t,e,r){"use strict";var n=r(42100),i=r(35969),o=n.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},37759(t,e,r){"use strict";var n=r(42100),i=r(62365),o=r(50253),s=r(53524),a=r(21867),u=r(56564),c=n.Symbol,l=i("wks"),d=u?c.for||c:c&&c.withoutSetter||s;t.exports=function(t){return o(l,t)||(l[t]=a&&o(c,t)?c[t]:d("Symbol."+t)),l[t]}},67653(t,e,r){"use strict";var n=r(7851),i=r(50253),o=r(41519),s=r(37165),a=r(71779),u=r(3720),c=r(36364),l=r(87571),d=r(31023),p=r(42212),h=r(88343),f=r(88224),g=r(44487);t.exports=function(t,e,r,E){var _="stackTraceLimit",m=E?2:1,v=t.split("."),T=v[v.length-1],S=n.apply(null,v);if(S){var y=S.prototype;if(!g&&i(y,"cause")&&delete y.cause,!r)return S;var b=n("Error"),O=e(function(t,e){var r=d(E?e:t,void 0),n=E?new S(t):new S;return void 0!==r&&o(n,"message",r),h(n,O,n.stack,2),this&&s(y,this)&&l(n,this,O),arguments.length>m&&p(n,arguments[m]),n});if(O.prototype=y,"Error"!==T?a?a(O,b):u(O,b,{name:!0}):f&&_ in S&&(c(O,S,_),c(O,S,"prepareStackTrace")),u(O,S),!g)try{y.name!==T&&o(y,"name",T),y.constructor=O}catch(t){}return O}}},97833(t,e,r){"use strict";var n=r(88224),i=r(24966),o=r(19490),s=ArrayBuffer.prototype;n&&!("detached"in s)&&i(s,"detached",{configurable:!0,get:function(){return o(this)}})},88748(t,e,r){"use strict";var n=r(13322),i=r(88632);i&&n({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return i(this,arguments.length?arguments[0]:void 0,!1)}})},97896(t,e,r){"use strict";var n=r(13322),i=r(88632);i&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return i(this,arguments.length?arguments[0]:void 0,!0)}})},20711(t,e,r){"use strict";var n=r(13322),i=r(43017),o=r(64450),s=r(66399),a=r(61801);n({target:"Array",proto:!0},{at:function(t){var e=i(this),r=o(e),n=s(t),a=n>=0?n:r+n;return a<0||a>=r?void 0:e[a]}}),a("at")},61571(t,e,r){"use strict";var n=r(13322),i=r(15501).includes,o=r(7091),s=r(61801),a=o(function(){return!Array(1).includes()}),u=o(function(){return[,1].includes(void 0,1)});n({target:"Array",proto:!0,forced:a||u},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),s("includes")},80148(t,e,r){"use strict";var n=r(82377),i=r(61801),o=r(37505),s=r(29265),a=r(62837).f,u=r(84132),c=r(83373),l=r(44487),d=r(88224),p="Array Iterator",h=s.set,f=s.getterFor(p);t.exports=u(Array,"Array",function(t,e){h(this,{type:p,target:n(t),index:0,kind:e})},function(){var t=f(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,c(void 0,!0);switch(t.kind){case"keys":return c(r,!1);case"values":return c(e[r],!1)}return c([r,e[r]],!1)},"values");var g=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!l&&d&&"values"!==g.name)try{a(g,"name",{value:"values"})}catch(t){}},15166(t,e,r){"use strict";var n=r(13322),i=r(43017),o=r(64450),s=r(17875),a=r(16569);n({target:"Array",proto:!0,arity:1,forced:r(7091)(function(){return 4294967297!==[].push.call({length:4294967296},1)})||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var e=i(this),r=o(e),n=arguments.length;a(r+n);for(var u=0;u<n;u++)e[r]=arguments[u],r++;return s(e,r),r}})},28364(t,e,r){"use strict";var n=r(13322),i=r(76034).left,o=r(74290),s=r(88395);n({target:"Array",proto:!0,forced:!r(14189)&&s>79&&s<83||!o("reduce")},{reduce:function(t){var e=arguments.length;return i(this,t,e,e>1?arguments[1]:void 0)}})},55498(t,e,r){"use strict";var n=r(13322),i=r(64450),o=r(82377),s=r(78460),a=r(61801),u=Array;n({target:"Array",proto:!0},{toReversed:function(){for(var t=o(this),e=i(t),r=new u(e),n=0;n<e;n++)s(r,n,t[e-n-1]);return r}}),a("toReversed")},99757(t,e,r){"use strict";var n=r(13322),i=r(92244),o=r(55934),s=r(82377),a=r(88886),u=r(39496),c=r(61801),l=Array,d=i(u("Array","sort"));n({target:"Array",proto:!0},{toSorted:function(t){void 0!==t&&o(t);var e=s(this),r=a(l,e);return d(r,t)}}),c("toSorted")},59225(t,e,r){"use strict";r(61801)("flatMap")},56469(t,e,r){"use strict";var n=r(13322),i=r(43017),o=r(64450),s=r(17875),a=r(74026),u=r(16569);n({target:"Array",proto:!0,arity:1,forced:1!==[].unshift(0)||!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(t){return t instanceof TypeError}}()},{unshift:function(t){var e=i(this),r=o(e),n=arguments.length;if(n){u(r+n);for(var c=r;c--;){var l=c+n;c in e?e[l]=e[c]:a(e,l)}for(var d=0;d<n;d++)e[d]=arguments[d]}return s(e,r+n)}})},43994(t,e,r){"use strict";var n=r(13322),i=r(64450),o=r(66399),s=r(82377),a=r(78460),u=Array,c=RangeError;n({target:"Array",proto:!0,forced:function(){try{[].with({valueOf:function(){throw 4}},null)}catch(t){return 4!==t}}()},{with:function(t,e){var r=s(this),n=i(r),l=o(t),d=l<0?n+l:l;if(d>=n||d<0)throw new c("Incorrect index");for(var p=new u(n),h=0;h<n;h++)a(p,h,h===d?e:r[h]);return p}})},57332(t,e,r){"use strict";var n=r(13322),i=r(42100),o=r(27861),s=r(67653),a="WebAssembly",u=i[a],c=7!==new Error("e",{cause:7}).cause,l=function(t,e){var r={};r[t]=s(t,e,c),n({global:!0,constructor:!0,arity:1,forced:c},r)},d=function(t,e){if(u&&u[t]){var r={};r[t]=s(a+"."+t,e,c),n({target:a,stat:!0,constructor:!0,arity:1,forced:c},r)}};l("Error",function(t){return function(e){return o(t,this,arguments)}}),l("EvalError",function(t){return function(e){return o(t,this,arguments)}}),l("RangeError",function(t){return function(e){return o(t,this,arguments)}}),l("ReferenceError",function(t){return function(e){return o(t,this,arguments)}}),l("SyntaxError",function(t){return function(e){return o(t,this,arguments)}}),l("TypeError",function(t){return function(e){return o(t,this,arguments)}}),l("URIError",function(t){return function(e){return o(t,this,arguments)}}),d("CompileError",function(t){return function(e){return o(t,this,arguments)}}),d("LinkError",function(t){return function(e){return o(t,this,arguments)}}),d("RuntimeError",function(t){return function(e){return o(t,this,arguments)}})},15731(t,e,r){"use strict";var n=r(13322),i=r(42100),o=r(26539),s=r(14467),a=r(35969),u=r(81959),c=r(24966),l=r(78460),d=r(7091),p=r(50253),h=r(37759),f=r(47117).IteratorPrototype,g=r(88224),E=r(44487),_="constructor",m="Iterator",v=h("toStringTag"),T=TypeError,S=i[m],y=E||!a(S)||S.prototype!==f||!d(function(){S({})}),b=function(){if(o(this,f),u(this)===f)throw new T("Abstract class Iterator not directly constructable")},O=function(t,e){g?c(f,t,{configurable:!0,get:function(){return e},set:function(e){if(s(this),this===f)throw new T("You can't redefine this property");p(this,t)?this[t]=e:l(this,t,e)}}):f[t]=e};p(f,v)||O(v,m),!y&&p(f,_)&&f[_]!==Object||O(_,b),b.prototype=f,n({global:!0,constructor:!0,forced:y},{Iterator:b})},7672(t,e,r){"use strict";var n=r(13322),i=r(69529),o=r(69824),s=r(55934),a=r(14467),u=r(60891),c=r(92591),l=r(99441)("every",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:l},{every:function(t){a(this);try{s(t)}catch(t){c(this,"throw",t)}if(l)return i(l,this,t);var e=u(this),r=0;return!o(e,function(e,n){if(!t(e,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},96469(t,e,r){"use strict";var n=r(13322),i=r(69529),o=r(55934),s=r(14467),a=r(60891),u=r(37082),c=r(76387),l=r(44487),d=r(92591),p=r(49632),h=r(99441),f=!l&&!p("filter",function(){}),g=!l&&!f&&h("filter",TypeError),E=l||f||g,_=u(function(){for(var t,e,r=this.iterator,n=this.predicate,o=this.next;;){if(t=s(i(o,r)),this.done=!!t.done)return;if(e=t.value,c(r,n,[e,this.counter++],!0))return e}});n({target:"Iterator",proto:!0,real:!0,forced:E},{filter:function(t){s(this);try{o(t)}catch(t){d(this,"throw",t)}return g?i(g,this,t):new _(a(this),{predicate:t})}})},82616(t,e,r){"use strict";var n=r(13322),i=r(69529),o=r(69824),s=r(55934),a=r(14467),u=r(60891),c=r(92591),l=r(99441)("find",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:l},{find:function(t){a(this);try{s(t)}catch(t){c(this,"throw",t)}if(l)return i(l,this,t);var e=u(this),r=0;return o(e,function(e,n){if(t(e,r++))return n(e)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},78087(t,e,r){"use strict";var n=r(13322),i=r(69529),o=r(55934),s=r(14467),a=r(60891),u=r(93210),c=r(37082),l=r(92591),d=r(44487),p=r(49632),h=r(99441),f=!d&&!p("flatMap",function(){}),g=!d&&!f&&h("flatMap",TypeError),E=d||f||g||function(){try{var t=Iterator.prototype.flatMap.call(new Map([[4,5]]).entries(),function(t){return t});t.next(),t.return()}catch(t){return!0}}(),_=c(function(){for(var t,e,r=this.iterator,n=this.mapper;;){if(e=this.inner)try{if(!(t=s(i(e.next,e.iterator))).done)return t.value;this.inner=null}catch(t){l(r,"throw",t)}if(t=s(i(this.next,r)),this.done=!!t.done)return;try{this.inner=u(n(t.value,this.counter++),!1)}catch(t){l(r,"throw",t)}}});n({target:"Iterator",proto:!0,real:!0,forced:E},{flatMap:function(t){s(this);try{o(t)}catch(t){l(this,"throw",t)}return g?i(g,this,t):new _(a(this),{mapper:t,inner:null})}})},47776(t,e,r){"use strict";var n=r(13322),i=r(69529),o=r(69824),s=r(55934),a=r(14467),u=r(60891),c=r(92591),l=r(99441)("forEach",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:l},{forEach:function(t){a(this);try{s(t)}catch(t){c(this,"throw",t)}if(l)return i(l,this,t);var e=u(this),r=0;o(e,function(e){t(e,r++)},{IS_RECORD:!0})}})},35505(t,e,r){"use strict";var n=r(13322),i=r(69529),o=r(55934),s=r(14467),a=r(60891),u=r(37082),c=r(76387),l=r(92591),d=r(49632),p=r(99441),h=r(44487),f=!h&&!d("map",function(){}),g=!h&&!f&&p("map",TypeError),E=h||f||g,_=u(function(){var t=this.iterator,e=s(i(this.next,t));if(!(this.done=!!e.done))return c(t,this.mapper,[e.value,this.counter++],!0)});n({target:"Iterator",proto:!0,real:!0,forced:E},{map:function(t){s(this);try{o(t)}catch(t){l(this,"throw",t)}return g?i(g,this,t):new _(a(this),{mapper:t})}})},16089(t,e,r){"use strict";var n=r(13322),i=r(69824),o=r(55934),s=r(14467),a=r(60891),u=r(92591),c=r(99441),l=r(27861),d=r(7091),p=TypeError,h=d(function(){[].keys().reduce(function(){},void 0)}),f=!h&&c("reduce",p);n({target:"Iterator",proto:!0,real:!0,forced:h||f},{reduce:function(t){s(this);try{o(t)}catch(t){u(this,"throw",t)}var e=arguments.length<2,r=e?void 0:arguments[1];if(f)return l(f,this,e?[t]:[t,r]);var n=a(this),c=0;if(i(n,function(n){e?(e=!1,r=n):r=t(r,n,c),c++},{IS_RECORD:!0}),e)throw new p("Reduce of empty iterator with no initial value");return r}})},30879(t,e,r){"use strict";var n=r(13322),i=r(69529),o=r(69824),s=r(55934),a=r(14467),u=r(60891),c=r(92591),l=r(99441)("some",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:l},{some:function(t){a(this);try{s(t)}catch(t){c(this,"throw",t)}if(l)return i(l,this,t);var e=u(this),r=0;return o(e,function(e,n){if(t(e,r++))return n()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},45178(t,e,r){"use strict";var n=r(13322),i=r(7851),o=r(27861),s=r(69529),a=r(92244),u=r(7091),c=r(27484),l=r(35969),d=r(97998),p=r(47161),h=r(73132),f=r(68371),g=r(28348),E=r(45084),_=r(53524),m=r(21867),v=r(98567),T=String,S=i("JSON","stringify"),y=a(/./.exec),b=a("".charAt),O=a("".charCodeAt),A=a("".replace),R=a("".slice),w=a([].push),L=a(1.1.toString),C=/[\uD800-\uDFFF]/g,P=/^[\uD800-\uDBFF]$/,N=/^[\uDC00-\uDFFF]$/,M=_(),I=M.length,D=!m||u(function(){var t=i("Symbol")("stringify detection");return"[null]"!==S([t])||"{}"!==S({a:t})||"{}"!==S(Object(t))}),x=u(function(){return'"\\udf06\\ud834"'!==S("\udf06\ud834")||'"\\udead"'!==S("\udead")}),U=D?function(t,e){var r=g(arguments),n=j(e);if(l(n)||void 0!==t&&!p(t))return r[1]=function(t,e){if(l(n)&&(e=s(n,this,T(t),e)),!p(e))return e},o(S,null,r)}:S,k=function(t,e,r){var n=b(r,e-1),i=b(r,e+1);return y(P,t)&&!y(N,i)||y(N,t)&&!y(P,n)?"\\u"+L(O(t,0),16):t},j=function(t){if(l(t))return t;if(c(t)){for(var e=t.length,r=[],n=0;n<e;n++){var i=t[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(t,e){if(s)return s=!1,e;if(c(this))return e;for(var n=0;n<o;n++)if(r[n]===t)return e}}};S&&n({target:"JSON",stat:!0,arity:3,forced:D||x||!v},{stringify:function(t,e,r){var n=j(e),i=[],o=U(t,function(t,e){var r=l(n)?s(n,this,T(t),e):e;return!v&&d(r)?M+(w(i,r.rawJSON)-1):r},r);if("string"!=typeof o)return o;if(x&&(o=A(o,C,k)),v)return o;for(var a="",u=o.length,c=0;c<u;c++){var p=b(o,c);if('"'===p){var h=E(o,++c).end-1,f=R(o,c,h);a+=R(f,0,I)===M?i[R(f,I)]:'"'+f+'"',c=h}else a+=p}return a}})},35025(t,e,r){"use strict";var n=r(13322),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(t,e){for(var r,n,i=0,a=0,u=arguments.length,c=0;a<u;)c<(r=o(arguments[a++]))?(i=i*(n=c/r)*n+1,c=r):i+=r>0?(n=r/c)*n:r;return c===1/0?1/0:c*s(i)}})},45895(t,e,r){"use strict";var n=r(13322),i=r(69529),o=r(55934),s=r(96839),a=r(72227),u=r(69824);n({target:"Promise",stat:!0,forced:r(54165)},{all:function(t){var e=this,r=s.f(e),n=r.resolve,c=r.reject,l=a(function(){var r=o(e.resolve),s=[],a=0,l=1;u(t,function(t){var o=a++,u=!1;l++,i(r,e,t).then(function(t){u||(u=!0,s[o]=t,--l||n(s))},c)}),--l||n(s)});return l.error&&c(l.value),r.promise}})},62319(t,e,r){"use strict";var n=r(13322),i=r(44487),o=r(91288).CONSTRUCTOR,s=r(62458),a=r(7851),u=r(35969),c=r(83828),l=s&&s.prototype;if(n({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(t){return this.then(void 0,t)}}),!i&&u(s)){var d=a("Promise").prototype.catch;l.catch!==d&&c(l,"catch",d,{unsafe:!0})}},99432(t,e,r){"use strict";var n,i,o,s,a=r(13322),u=r(44487),c=r(14189),l=r(42100),d=r(98403),p=r(69529),h=r(83828),f=r(71779),g=r(70915),E=r(96941),_=r(55934),m=r(35969),v=r(41142),T=r(26539),S=r(14737),y=r(73853).set,b=r(3535),O=r(79417),A=r(72227),R=r(28669),w=r(29265),L=r(62458),C=r(91288),P=r(96839),N="Promise",M=C.CONSTRUCTOR,I=C.REJECTION_EVENT,D=C.SUBCLASSING,x=w.getterFor(N),U=w.set,k=L&&L.prototype,j=L,B=k,V=l.TypeError,G=l.document,F=l.process,H=P.f,W=H,Y=!!(G&&G.createEvent&&l.dispatchEvent),X="unhandledrejection",q=function(t){var e;return!(!v(t)||!m(e=t.then))&&e},z=function(t,e){var r,n,i,o=e.value,s=1===e.state,a=s?t.ok:t.fail,u=t.resolve,c=t.reject,l=t.domain;try{a?(s||(2===e.rejection&&Q(e),e.rejection=1),!0===a?r=o:(l&&l.enter(),r=a(o),l&&(l.exit(),i=!0)),r===t.promise?c(new V("Promise-chain cycle")):(n=q(r))?p(n,r,u,c):u(r)):c(o)}catch(t){l&&!i&&l.exit(),c(t)}},K=function(t,e){t.notified||(t.notified=!0,b(function(){for(var r,n=t.reactions;r=n.get();)z(r,t);t.notified=!1,e&&!t.rejection&&J(t)}))},$=function(t,e,r){var n,i;Y?((n=G.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),l.dispatchEvent(n)):n={promise:e,reason:r},!I&&(i=l["on"+t])?i(n):t===X&&O("Unhandled promise rejection",r)},J=function(t){p(y,l,function(){var e,r=t.facade,n=t.value;if(Z(t)&&(e=A(function(){c?F.emit("unhandledRejection",n,r):$(X,r,n)}),t.rejection=c||Z(t)?2:1,e.error))throw e.value})},Z=function(t){return 1!==t.rejection&&!t.parent},Q=function(t){p(y,l,function(){var e=t.facade;c?F.emit("rejectionHandled",e):$("rejectionhandled",e,t.value)})},tt=function(t,e,r){return function(n){t(e,n,r)}},et=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,K(t,!0))},rt=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new V("Promise can't be resolved itself");var n=q(e);n?b(function(){var r={done:!1};try{p(n,e,tt(rt,r,t),tt(et,r,t))}catch(e){et(r,e,t)}}):(t.value=e,t.state=1,K(t,!1))}catch(e){et({done:!1},e,t)}}};if(M&&(B=(j=function(t){T(this,B),_(t),p(n,this);var e=x(this);try{t(tt(rt,e),tt(et,e))}catch(t){et(e,t)}}).prototype,(n=function(t){U(this,{type:N,done:!1,notified:!1,parent:!1,reactions:new R,rejection:!1,state:0,value:null})}).prototype=h(B,"then",function(t,e){var r=x(this),n=H(S(this,j));return r.parent=!0,n.ok=!m(t)||t,n.fail=m(e)&&e,n.domain=c?F.domain:void 0,0===r.state?r.reactions.add(n):b(function(){z(n,r)}),n.promise}),i=function(){var t=new n,e=x(t);this.promise=t,this.resolve=tt(rt,e),this.reject=tt(et,e)},P.f=H=function(t){return t===j||t===o?new i(t):W(t)},!u&&m(L)&&k!==Object.prototype)){s=k.then,D||h(k,"then",function(t,e){var r=this;return new j(function(t,e){p(s,r,t,e)}).then(t,e)},{unsafe:!0});try{delete k.constructor}catch(t){}f&&f(k,B)}a({global:!0,constructor:!0,wrap:!0,forced:M},{Promise:j}),o=d.Promise,g(j,N,!1,!0),E(N)},5971(t,e,r){"use strict";var n=r(13322),i=r(44487),o=r(62458),s=r(7091),a=r(7851),u=r(35969),c=r(14737),l=r(53642),d=r(83828),p=o&&o.prototype;if(n({target:"Promise",proto:!0,real:!0,forced:!!o&&s(function(){p.finally.call({then:function(){}},function(){})})},{finally:function(t){var e=c(this,a("Promise")),r=u(t);return this.then(r?function(r){return l(e,t()).then(function(){return r})}:t,r?function(r){return l(e,t()).then(function(){throw r})}:t)}}),!i&&u(o)){var h=a("Promise").prototype.finally;p.finally!==h&&d(p,"finally",h,{unsafe:!0})}},97982(t,e,r){"use strict";r(99432),r(45895),r(62319),r(60963),r(3021),r(94932)},60963(t,e,r){"use strict";var n=r(13322),i=r(69529),o=r(55934),s=r(96839),a=r(72227),u=r(69824);n({target:"Promise",stat:!0,forced:r(54165)},{race:function(t){var e=this,r=s.f(e),n=r.reject,c=a(function(){var s=o(e.resolve);u(t,function(t){i(s,e,t).then(r.resolve,n)})});return c.error&&n(c.value),r.promise}})},3021(t,e,r){"use strict";var n=r(13322),i=r(96839);n({target:"Promise",stat:!0,forced:r(91288).CONSTRUCTOR},{reject:function(t){var e=i.f(this);return(0,e.reject)(t),e.promise}})},94932(t,e,r){"use strict";var n=r(13322),i=r(7851),o=r(44487),s=r(62458),a=r(91288).CONSTRUCTOR,u=r(53642),c=i("Promise"),l=o&&!a;n({target:"Promise",stat:!0,forced:o||a},{resolve:function(t){return u(l&&this===c?s:this,t)}})},58988(t,e,r){"use strict";var n=r(13322),i=r(42100),o=r(70915);n({global:!0},{Reflect:{}}),o(i.Reflect,"Reflect",!0)},72764(t,e,r){"use strict";var n=r(88224),i=r(42100),o=r(92244),s=r(9576),a=r(87571),u=r(41519),c=r(70596),l=r(81756).f,d=r(37165),p=r(66251),h=r(68371),f=r(8830),g=r(28617),E=r(36364),_=r(83828),m=r(7091),v=r(50253),T=r(29265).enforce,S=r(96941),y=r(37759),b=r(33583),O=r(77930),A=y("match"),R=i.RegExp,w=R.prototype,L=i.SyntaxError,C=o(w.exec),P=o("".charAt),N=o("".replace),M=o("".indexOf),I=o("".slice),D=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,x=/a/g,U=/a/g,k=new R(x)!==x,j=g.MISSED_STICKY,B=g.UNSUPPORTED_Y;if(s("RegExp",n&&(!k||j||b||O||m(function(){return U[A]=!1,R(x)!==x||R(U)===U||"/a/i"!==String(R(x,"i"))})))){for(var V=function(t,e){var r,n,i,o,s,l,g=d(w,this),E=p(t),_=void 0===e,m=[],S=t;if(!g&&E&&_&&t.constructor===V)return t;if((E||d(w,t))&&(t=t.source,_&&(e=f(S))),t=void 0===t?"":h(t),e=void 0===e?"":h(e),S=t,b&&"dotAll"in x&&(n=!!e&&M(e,"s")>-1)&&(e=N(e,/s/g,"")),r=e,j&&"sticky"in x&&(i=!!e&&M(e,"y")>-1)&&B&&(e=N(e,/y/g,"")),O&&(o=function(t){for(var e,r=t.length,n=0,i="",o=[],s=c(null),a=!1,u=!1,l=0,d="";n<r;n++){if("\\"===(e=P(t,n))){if(e+=P(t,++n),!u&&"\\"===P(e,1)){i+="\\x5c";continue}}else if("]"===e)a=!1;else if(!a)switch(!0){case"["===e:a=!0;break;case"("===e:i+=e,C(D,I(t,n+1))?(n+=2,u=!0,l++):"?"!==P(t,n+1)&&l++;continue;case">"===e&&u:if(""===d||v(s,d))throw new L("Invalid capture group name");s[d]=!0,o[o.length]=[d,l],u=!1,d="";continue}u?d+=e:i+=e}for(var p=0;p<o.length;p++)for(var h="\\k<"+o[p][0]+">",f="\\"+o[p][1];M(i,h)>-1;)i=N(i,h,f);return[i,o]}(t),t=o[0],m=o[1]),s=a(R(t,e),g?this:w,V),(n||i||m.length)&&(l=T(s),n&&(l.dotAll=!0,l.raw=V(function(t){for(var e,r=t.length,n=0,i="",o=!1;n<r;n++)"\\"!==(e=P(t,n))?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),i+=e):i+="[\\s\\S]":i+=e+P(t,++n);return i}(t),r)),i&&(l.sticky=!0),m.length&&(l.groups=m)),t!==S)try{u(s,"source",""===S?"(?:)":S)}catch(t){}return s},G=l(R),F=0;G.length>F;)E(V,R,G[F++]);w.constructor=V,V.prototype=w,_(i,"RegExp",V,{constructor:!0})}S("RegExp")},77381(t,e,r){"use strict";var n=r(88224),i=r(33583),o=r(73132),s=r(24966),a=r(29265).get,u=RegExp.prototype,c=TypeError;n&&i&&s(u,"dotAll",{configurable:!0,get:function(){if(this!==u){if("RegExp"===o(this))return!!a(this).dotAll;throw new c("Incompatible receiver, RegExp required")}}})},54603(t,e,r){"use strict";var n=r(13322),i=r(75263);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},11486(t,e,r){"use strict";var n=r(13322),i=r(55100),o=r(7091);n({target:"Set",proto:!0,real:!0,forced:!r(20392)("difference",function(t){return 0===t.size})||o(function(){var t={size:1,has:function(){return!0},keys:function(){var t=0;return{next:function(){var r=t++>1;return e.has(1)&&e.clear(),{done:r,value:2}}}}},e=new Set([1,2,3,4]);return 3!==e.difference(t).size})},{difference:i})},80792(t,e,r){"use strict";var n=r(13322),i=r(7091),o=r(72778);n({target:"Set",proto:!0,real:!0,forced:!r(20392)("intersection",function(t){return 2===t.size&&t.has(1)&&t.has(2)})||i(function(){return"3,2"!==String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))})},{intersection:o})},10833(t,e,r){"use strict";var n=r(13322),i=r(68125);n({target:"Set",proto:!0,real:!0,forced:!r(20392)("isDisjointFrom",function(t){return!t})},{isDisjointFrom:i})},82376(t,e,r){"use strict";var n=r(13322),i=r(76026);n({target:"Set",proto:!0,real:!0,forced:!r(20392)("isSubsetOf",function(t){return t})},{isSubsetOf:i})},9559(t,e,r){"use strict";var n=r(13322),i=r(70979);n({target:"Set",proto:!0,real:!0,forced:!r(20392)("isSupersetOf",function(t){return!t})},{isSupersetOf:i})},51868(t,e,r){"use strict";var n=r(13322),i=r(66054),o=r(88015);n({target:"Set",proto:!0,real:!0,forced:!r(20392)("symmetricDifference")||!o("symmetricDifference")},{symmetricDifference:i})},31670(t,e,r){"use strict";var n=r(13322),i=r(84360),o=r(88015);n({target:"Set",proto:!0,real:!0,forced:!r(20392)("union")||!o("union")},{union:i})},34265(t,e,r){"use strict";var n=r(13322),i=r(92244),o=r(96034),s=r(66399),a=r(68371),u=r(7091),c=i("".charAt);n({target:"String",proto:!0,forced:u(function(){return"\ud842"!=="𠮷".at(-2)})},{at:function(t){var e=a(o(this)),r=e.length,n=s(t),i=n>=0?n:r+n;return i<0||i>=r?void 0:c(e,i)}})},46077(t,e,r){"use strict";var n=r(13322),i=r(92244),o=r(27326),s=RangeError,a=String.fromCharCode,u=String.fromCodePoint,c=i([].join);n({target:"String",stat:!0,arity:1,forced:!!u&&1!==u.length},{fromCodePoint:function(t){for(var e,r=[],n=arguments.length,i=0;n>i;){if(o(e=+arguments[i],1114111)!==e)throw new s(e+" is not a valid code point");r[i++]=e<65536?a(e):a(55296+((e-=65536)>>10),e%1024+56320)}return c(r,"")}})},53384(t,e,r){"use strict";var n=r(85123).charAt,i=r(68371),o=r(29265),s=r(84132),a=r(83373),u="String Iterator",c=o.set,l=o.getterFor(u);s(String,"String",function(t){c(this,{type:u,string:i(t),index:0})},function(){var t,e=l(this),r=e.string,i=e.index;return i>=r.length?a(void 0,!0):(t=n(r,i),e.index+=t.length,a(t,!1))})},10758(t,e,r){"use strict";var n=r(13322),i=r(69529),o=r(92244),s=r(96034),a=r(35969),u=r(41142),c=r(66251),l=r(68371),d=r(99794),p=r(8830),h=r(15986),f=r(37759),g=r(44487),E=f("replace"),_=TypeError,m=o("".indexOf),v=o("".replace),T=o("".slice),S=Math.max;n({target:"String",proto:!0},{replaceAll:function(t,e){var r,n,o,f,y,b,O,A,R,w,L=s(this),C=0,P="";if(u(t)){if((r=c(t))&&(n=l(s(p(t))),!~m(n,"g")))throw new _("`.replaceAll` does not allow non-global regexes");if(o=d(t,E))return i(o,t,L,e);if(g&&r)return v(l(L),t,e)}for(f=l(L),y=l(t),(b=a(e))||(e=l(e)),O=y.length,A=S(1,O),R=m(f,y);-1!==R;)w=b?l(e(y,R,f)):h(y,f,R,[],void 0,e),P+=T(f,C,R)+w,C=R+O,R=R+A>f.length?-1:m(f,y,R+A);return C<f.length&&(P+=T(f,C)),P}})},64724(t,e,r){"use strict";var n=r(27861),i=r(69529),o=r(92244),s=r(44720),a=r(7091),u=r(14467),c=r(35969),l=r(41142),d=r(66399),p=r(45378),h=r(68371),f=r(96034),g=r(84897),E=r(99794),_=r(15986),m=r(8830),v=r(58686),T=r(37759)("replace"),S=Math.max,y=Math.min,b=o([].concat),O=o([].push),A=o("".indexOf),R=o("".slice),w=function(t){return void 0===t?t:String(t)},L="$0"==="a".replace(/./,"$0"),C=!!/./[T]&&""===/./[T]("a","$0");s("replace",function(t,e,r){var o=C?"$":"$0";return[function(t,r){var n=f(this),o=l(t)?E(t,T):void 0;return o?i(o,t,n,r):i(e,h(n),t,r)},function(t,i){var s=u(this),a=h(t),l=c(i);l||(i=h(i));var f=h(m(s));if("string"==typeof i&&!~A(i,o)&&!~A(i,"$<")&&!~A(f,"y")){var E=r(e,s,a,i);if(E.done)return E.value}var T,L=!!~A(f,"g");L&&(T=!!~A(f,"u")||!!~A(f,"v"),s.lastIndex=0);for(var C,P=[];null!==(C=v(s,a))&&(O(P,C),L);)""===h(C[0])&&(s.lastIndex=g(a,p(s.lastIndex),T));for(var N="",M=0,I=0;I<P.length;I++){for(var D,x=h((C=P[I])[0]),U=S(y(d(C.index),a.length),0),k=[],j=1;j<C.length;j++)O(k,w(C[j]));var B=C.groups;if(l){var V=b([x],k,U,a);void 0!==B&&O(V,B),D=h(n(i,void 0,V))}else D=_(x,a,U,k,B,i);U>=M&&(N+=R(a,M,U)+D,M=U+x.length)}return N+R(a,M)}]},!!a(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!L||C)},73976(t,e,r){"use strict";var n=r(34832),i=r(64450),o=r(66399),s=n.aTypedArray;(0,n.exportTypedArrayMethod)("at",function(t){var e=s(this),r=i(e),n=o(t),a=n>=0?n:r+n;return a<0||a>=r?void 0:e[a]})},85008(t,e,r){"use strict";var n=r(34832),i=r(81169),o=r(69938),s=r(78023),a=r(69529),u=r(92244),c=r(7091),l=n.aTypedArray,d=n.exportTypedArrayMethod,p=u("".slice);d("fill",function(t){var e=arguments.length;l(this);var r="Big"===p(s(this),0,3)?o(t):+t;return a(i,this,r,e>1?arguments[1]:void 0,e>2?arguments[2]:void 0)},c(function(){var t=0;return new Int8Array(2).fill({valueOf:function(){return t++}}),1!==t}))},54570(t,e,r){"use strict";var n=r(34832),i=r(41195).findLastIndex,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLastIndex",function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)})},95803(t,e,r){"use strict";var n=r(34832),i=r(41195).findLast,o=n.aTypedArray;(0,n.exportTypedArrayMethod)("findLast",function(t){return i(o(this),t,arguments.length>1?arguments[1]:void 0)})},66249(t,e,r){"use strict";var n=r(42100),i=r(69529),o=r(34832),s=r(64450),a=r(29977),u=r(43017),c=r(7091),l=n.RangeError,d=n.Int8Array,p=d&&d.prototype,h=p&&p.set,f=o.aTypedArray,g=o.exportTypedArrayMethod,E=!c(function(){var t=new Uint8ClampedArray(2);return i(h,t,{length:1,0:3},1),3!==t[1]}),_=E&&o.NATIVE_ARRAY_BUFFER_VIEWS&&c(function(){var t=new d(2);return t.set(1),t.set("2",1),0!==t[0]||2!==t[1]});g("set",function(t){f(this);var e=a(arguments.length>1?arguments[1]:void 0,1),r=u(t);if(E)return i(h,this,r,e);var n=this.length,o=s(r),c=0;if(o+e>n)throw new l("Wrong length");for(;c<o;)this[e+c]=r[c++]},!E||_)},29881(t,e,r){"use strict";var n=r(42100),i=r(56608),o=r(7091),s=r(55934),a=r(20332),u=r(34832),c=r(45185),l=r(83871),d=r(88395),p=r(76419),h=u.aTypedArray,f=u.exportTypedArrayMethod,g=n.Uint16Array,E=g&&i(g.prototype.sort),_=!(!E||o(function(){E(new g(2),null)})&&o(function(){E(new g(2),{})})),m=!!E&&!o(function(){if(d)return d<74;if(c)return c<67;if(l)return!0;if(p)return p<602;var t,e,r=new g(516),n=Array(516);for(t=0;t<516;t++)e=t%4,r[t]=515-t,n[t]=t-2*e+3;for(E(r,function(t,e){return(t/4|0)-(e/4|0)}),t=0;t<516;t++)if(r[t]!==n[t])return!0});f("sort",function(t){return void 0!==t&&s(t),m?E(this,t):a(h(this),function(t){return function(e,r){return void 0!==t?+t(e,r)||0:r!=r?e!=e?0:-1:e!=e?1:0===e&&0===r?1/e>0?1/r>0?0:1:1/r>0?-1:0:e>r?1:e<r?-1:0}}(t))},!m||_)},22039(t,e,r){"use strict";var n=r(64450),i=r(34832),o=i.aTypedArray,s=i.exportTypedArrayMethod,a=i.getTypedArrayConstructor;s("toReversed",function(){for(var t=o(this),e=n(t),r=new(a(t))(e),i=0;i<e;i++)r[i]=t[e-i-1];return r})},52768(t,e,r){"use strict";var n=r(34832),i=r(92244),o=r(55934),s=r(88886),a=n.aTypedArray,u=n.getTypedArrayConstructor,c=n.exportTypedArrayMethod,l=i(n.TypedArrayPrototype.sort);c("toSorted",function(t){void 0!==t&&o(t);var e=a(this),r=s(u(e),e);return l(r,t)})},54765(t,e,r){"use strict";r(60347)("Uint8",function(t){return function(e,r,n){return t(this,e,r,n)}})},39357(t,e,r){"use strict";var n=r(34832),i=r(61859),o=r(64450),s=r(66399),a=r(69938),u=n.aTypedArray,c=n.getTypedArrayConstructor,l=n.exportTypedArrayMethod,d=RangeError,p=function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(t){return 8===t}}(),h=p&&function(){try{new Int8Array(1).with(-.5,1)}catch(t){return!0}}();l("with",{with:function(t,e){var r=u(this),n=o(r),l=s(t),p=l<0?n+l:l,h=i(r)?a(e):+e;if(p>=n||p<0)throw new d("Incorrect index");for(var f=new(c(r))(n),g=0;g<n;g++)f[g]=g===p?h:r[g];return f}}.with,!p||h)},7788(t,e,r){"use strict";var n=r(13322),i=r(42100),o=r(73853).clear;n({global:!0,bind:!0,enumerable:!0,forced:i.clearImmediate!==o},{clearImmediate:o})},21717(t,e,r){"use strict";var n=r(42100),i=r(15916),o=r(82084),s=r(80148),a=r(41519),u=r(70915),c=r(37759)("iterator"),l=s.values,d=function(t,e){if(t){if(t[c]!==l)try{a(t,c,l)}catch(e){t[c]=l}if(u(t,e,!0),i[e])for(var r in s)if(t[r]!==s[r])try{a(t,r,s[r])}catch(e){t[r]=s[r]}}};for(var p in i)d(n[p]&&n[p].prototype,p);d(o,"DOMTokenList")},12380(t,e,r){"use strict";r(7788),r(42521)},20943(t,e,r){"use strict";var n=r(13322),i=r(42100),o=r(24966),s=r(88224),a=TypeError,u=Object.defineProperty,c=i.self!==i;try{if(s){var l=Object.getOwnPropertyDescriptor(i,"self");!c&&l&&l.get&&l.enumerable||o(i,"self",{get:function(){return i},set:function(t){if(this!==i)throw new a("Illegal invocation");u(i,"self",{value:t,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else n({global:!0,simple:!0,forced:c},{self:i})}catch(t){}},42521(t,e,r){"use strict";var n=r(13322),i=r(42100),o=r(73853).set,s=r(67556),a=i.setImmediate?s(o,!1):o;n({global:!0,bind:!0,enumerable:!0,forced:i.setImmediate!==a},{setImmediate:a})},13122(t,e,r){"use strict";r(80148),r(46077);var n=r(13322),i=r(42100),o=r(57185),s=r(7851),a=r(69529),u=r(92244),c=r(88224),l=r(3204),d=r(83828),p=r(24966),h=r(4699),f=r(70915),g=r(58182),E=r(29265),_=r(26539),m=r(35969),v=r(50253),T=r(40716),S=r(78023),y=r(14467),b=r(41142),O=r(68371),A=r(70596),R=r(12112),w=r(78461),L=r(65031),C=r(83373),P=r(87584),N=r(37759),M=r(20332),I=N("iterator"),D="URLSearchParams",x=D+"Iterator",U=E.set,k=E.getterFor(D),j=E.getterFor(x),B=o("fetch"),V=o("Request"),G=o("Headers"),F=V&&V.prototype,H=G&&G.prototype,W=i.TypeError,Y=i.encodeURIComponent,X=String.fromCharCode,q=s("String","fromCodePoint"),z=parseInt,K=u("".charAt),$=u([].join),J=u([].push),Z=u("".replace),Q=u([].shift),tt=u([].splice),et=u("".split),rt=u("".slice),nt=u(/./.exec),it=/\+/g,ot=/^[0-9a-f]+$/i,st=function(t,e){var r=rt(t,e,e+2);return nt(ot,r)?z(r,16):NaN},at=function(t){for(var e=0,r=128;r>0&&0!==(t&r);r>>=1)e++;return e},ut=function(t){var e=null,r=t.length;switch(r){case 1:e=t[0];break;case 2:e=(31&t[0])<<6|63&t[1];break;case 3:e=(15&t[0])<<12|(63&t[1])<<6|63&t[2];break;case 4:e=(7&t[0])<<18|(63&t[1])<<12|(63&t[2])<<6|63&t[3]}return null===e||e>1114111||e>=55296&&e<=57343||e<(r>3?65536:r>2?2048:r>1?128:0)?null:e},ct=function(t){for(var e=(t=Z(t,it," ")).length,r="",n=0;n<e;){var i=K(t,n);if("%"===i){if("%"===K(t,n+1)||n+3>e){r+="%",n++;continue}var o=st(t,n+1);if(o!=o){r+=i,n++;continue}n+=2;var s=at(o);if(0===s)i=X(o);else{if(1===s||s>4){r+="�",n++;continue}for(var a=[o],u=1;u<s&&!(3+ ++n>e||"%"!==K(t,n));){var c=st(t,n+1);if(c!=c||c>191||c<128)break;if(1===u){if(224===o&&c<160)break;if(237===o&&c>159)break;if(240===o&&c<144)break;if(244===o&&c>143)break}J(a,c),n+=2,u++}if(a.length!==s){r+="�";continue}var l=ut(a);if(null===l){for(var d=0;d<s;d++)r+="�";n++;continue}i=q(l)}}r+=i,n++}return r},lt=/[!'()~]|%20/g,dt={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},pt=function(t){return dt[t]},ht=function(t){return Z(Y(t),lt,pt)},ft=g(function(t,e){U(this,{type:x,target:k(t).entries,index:0,kind:e})},D,function(){var t=j(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,C(void 0,!0);var n=e[r];switch(t.kind){case"keys":return C(n.key,!1);case"values":return C(n.value,!1)}return C([n.key,n.value],!1)},!0),gt=function(t){this.entries=[],this.url=null,void 0!==t&&(b(t)?this.parseObject(t):this.parseQuery("string"==typeof t?"?"===K(t,0)?rt(t,1):t:O(t)))};gt.prototype={type:D,bindURL:function(t){this.url=t,this.update()},parseObject:function(t){var e,r,n,i,o,s,u,c=this.entries,l=L(t);if(l)for(r=(e=w(t,l)).next;!(n=a(r,e)).done;){if(o=(i=w(y(n.value))).next,(s=a(o,i)).done||(u=a(o,i)).done||!a(o,i).done)throw new W("Expected sequence with length 2");J(c,{key:O(s.value),value:O(u.value)})}else for(var d in t)v(t,d)&&J(c,{key:d,value:O(t[d])})},parseQuery:function(t){if(t)for(var e,r,n=this.entries,i=et(t,"&"),o=0;o<i.length;)(e=i[o++]).length&&(r=et(e,"="),J(n,{key:ct(Q(r)),value:ct($(r,"="))}))},serialize:function(){for(var t,e=this.entries,r=[],n=0;n<e.length;)t=e[n++],J(r,ht(t.key)+"="+ht(t.value));return $(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var Et=function(){_(this,_t);var t=U(this,new gt(arguments.length>0?arguments[0]:void 0));c||(this.size=t.entries.length)},_t=Et.prototype;if(h(_t,{append:function(t,e){var r=k(this);P(arguments.length,2),J(r.entries,{key:O(t),value:O(e)}),c||this.size++,r.updateURL()},delete:function(t){for(var e=k(this),r=P(arguments.length,1),n=e.entries,i=O(t),o=r<2?void 0:arguments[1],s=void 0===o?o:O(o),a=0;a<n.length;){var u=n[a];u.key!==i||void 0!==s&&u.value!==s?a++:tt(n,a,1)}c||(this.size=n.length),e.updateURL()},get:function(t){var e=k(this).entries;P(arguments.length,1);for(var r=O(t),n=0;n<e.length;n++)if(e[n].key===r)return e[n].value;return null},getAll:function(t){var e=k(this).entries;P(arguments.length,1);for(var r=O(t),n=[],i=0;i<e.length;i++)e[i].key===r&&J(n,e[i].value);return n},has:function(t){for(var e=k(this).entries,r=P(arguments.length,1),n=O(t),i=r<2?void 0:arguments[1],o=void 0===i?i:O(i),s=0;s<e.length;){var a=e[s++];if(a.key===n&&(void 0===o||a.value===o))return!0}return!1},set:function(t,e){var r=k(this);P(arguments.length,2);for(var n,i=r.entries,o=!1,s=O(t),a=O(e),u=0;u<i.length;u++)(n=i[u]).key===s&&(o?tt(i,u--,1):(o=!0,n.value=a));o||J(i,{key:s,value:a}),c||(this.size=i.length),r.updateURL()},sort:function(){var t=k(this);M(t.entries,function(t,e){return t.key>e.key?1:-1}),t.updateURL()},forEach:function(t){for(var e,r=k(this).entries,n=T(t,arguments.length>1?arguments[1]:void 0),i=0;i<r.length;)n((e=r[i++]).value,e.key,this)},keys:function(){return new ft(this,"keys")},values:function(){return new ft(this,"values")},entries:function(){return new ft(this,"entries")}},{enumerable:!0}),d(_t,I,_t.entries,{name:"entries"}),d(_t,"toString",function(){return k(this).serialize()},{enumerable:!0}),c&&p(_t,"size",{get:function(){return k(this).entries.length},configurable:!0,enumerable:!0}),f(Et,D),n({global:!0,constructor:!0,forced:!l},{URLSearchParams:Et}),!l&&m(G)){var mt=u(H.has),vt=u(H.set),Tt=function(t){if(b(t)){var e,r=t.body;if(S(r)===D)return e=t.headers?new G(t.headers):new G,mt(e,"content-type")||vt(e,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),A(t,{body:R(0,O(r)),headers:R(0,e)})}return t};if(m(B)&&n({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(t){return B(t,arguments.length>1?Tt(arguments[1]):{})}}),m(V)){var St=function(t){return _(this,F),new V(t,arguments.length>1?Tt(arguments[1]):{})};F.constructor=St,St.prototype=F,n({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:St})}}t.exports={URLSearchParams:Et,getState:k}},19679(t,e,r){"use strict";var n=r(83828),i=r(92244),o=r(68371),s=r(87584),a=URLSearchParams,u=a.prototype,c=i(u.append),l=i(u.delete),d=i(u.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(u,"delete",function(t){var e=arguments.length,r=e<2?void 0:arguments[1];if(e&&void 0===r)return l(this,t);var n=[];d(this,function(t,e){p(n,{key:e,value:t})}),s(e,1);for(var i,a=o(t),u=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===u||c(this,i.key,i.value)},{enumerable:!0,unsafe:!0})},59130(t,e,r){"use strict";var n=r(83828),i=r(92244),o=r(68371),s=r(87584),a=URLSearchParams,u=a.prototype,c=i(u.getAll),l=i(u.has),d=new a("a=1");!d.has("a",2)&&d.has("a",void 0)||n(u,"has",function(t){var e=arguments.length,r=e<2?void 0:arguments[1];if(e&&void 0===r)return l(this,t);var n=c(this,t);s(e,1);for(var i=o(r),a=0;a<n.length;)if(n[a++]===i)return!0;return!1},{enumerable:!0,unsafe:!0})},10972(t,e,r){"use strict";r(13122)},29597(t,e,r){"use strict";var n=r(88224),i=r(92244),o=r(24966),s=URLSearchParams.prototype,a=i(s.forEach);n&&!("size"in s)&&o(s,"size",{get:function(){var t=0;return a(this,function(){t++}),t},configurable:!0,enumerable:!0})},51690(t,e,r){"use strict";r(53384);var n,i=r(13322),o=r(88224),s=r(3204),a=r(42100),u=r(40716),c=r(92244),l=r(83828),d=r(24966),p=r(26539),h=r(50253),f=r(105),g=r(40088),E=r(28348),_=r(85123).codeAt,m=r(23465),v=r(68371),T=r(70915),S=r(87584),y=r(13122),b=r(29265),O=b.set,A=b.getterFor("URL"),R=y.URLSearchParams,w=y.getState,L=a.URL,C=a.TypeError,P=a.encodeURIComponent,N=a.parseInt,M=Math.floor,I=Math.pow,D=c("".charAt),x=c(/./.exec),U=c([].join),k=c(1.1.toString),j=c([].pop),B=c([].push),V=c("".replace),G=c([].shift),F=c("".split),H=c("".slice),W=c("".toLowerCase),Y=c([].unshift),X="Invalid scheme",q="Invalid host",z="Invalid port",K=/[a-z]/i,$=/[\d+\-.a-z]/i,J=/\d/,Z=/^0x/i,Q=/^[0-7]+$/,tt=/^\d+$/,et=/^[\da-f]+$/i,rt=/[\0\t\n\r #%/:<>?@[\\\]^|]/,nt=/[\0\t\n\r #/:<>?@[\\\]^|]/,it=/^[\u0000-\u0020]+/,ot=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,st=/[\t\n\r]/g,at=function(t){var e,r,n,i;if("number"==typeof t){for(e=[],r=0;r<4;r++)Y(e,t%256),t=M(t/256);return U(e,".")}if("object"==typeof t){for(e="",n=function(t){for(var e=null,r=1,n=null,i=0,o=0;o<8;o++)0!==t[o]?(i>r&&(e=n,r=i),n=null,i=0):(null===n&&(n=o),++i);return i>r?n:e}(t),r=0;r<8;r++)i&&0===t[r]||(i&&(i=!1),n===r?(e+=r?":":"::",i=!0):(e+=k(t[r],16),r<7&&(e+=":")));return"["+e+"]"}return t},ut={},ct=f({},ut,{" ":1,'"':1,"#":1,"<":1,">":1}),lt=f({},ct,{"'":1}),dt=f({},ut,{" ":1,'"':1,"<":1,">":1,"`":1}),pt=f({},dt,{"#":1,"?":1,"{":1,"}":1,"^":1}),ht=f({},pt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),ft=function(t,e){var r=_(t,0);return r>=32&&r<127&&!h(e,t)?t:"'"===t&&h(e,t)?"%27":P(t)},gt={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Et=function(t,e){var r;return 2===t.length&&x(K,D(t,0))&&(":"===(r=D(t,1))||!e&&"|"===r)},_t=function(t){var e;return t.length>1&&Et(H(t,0,2))&&(2===t.length||"/"===(e=D(t,2))||"\\"===e||"?"===e||"#"===e)},mt=function(t){return"."===t||"%2e"===W(t)},vt=function(t){return".."===(t=W(t))||"%2e."===t||".%2e"===t||"%2e%2e"===t},Tt={},St={},yt={},bt={},Ot={},At={},Rt={},wt={},Lt={},Ct={},Pt={},Nt={},Mt={},It={},Dt={},xt={},Ut={},kt={},jt={},Bt={},Vt={},Gt=function(t,e,r){var n,i,o,s=v(t);if(e){if(i=this.parse(s))throw new C(i);this.searchParams=null}else{if(void 0!==r&&(n=new Gt(r,!0)),i=this.parse(s,null,n))throw new C(i);(o=w(new R)).bindURL(this),this.searchParams=o}};Gt.prototype={type:"URL",parse:function(t,e,r){var i,o,s,a,u=this,c=e||Tt,l=0,d="",p=!1,f=!1,_=!1;for(t=v(t),e||(u.scheme="",u.username="",u.password="",u.host=null,u.port=null,u.path=[],u.query=null,u.fragment=null,u.cannotBeABaseURL=!1,t=V(t,it,""),t=V(t,ot,"$1")),t=V(t,st,""),i=g(t);l<=i.length;){switch(o=i[l],c){case Tt:if(!o||!x(K,o)){if(e)return X;c=yt;continue}d+=W(o),c=St;break;case St:if(o&&x($,o))d+=W(o);else{if(":"!==o){if(e)return X;d="",c=yt,l=0;continue}if(e&&(u.isSpecial()!==h(gt,d)||"file"===d&&(u.includesCredentials()||null!==u.port)||"file"===u.scheme&&""===u.host))return;if(u.scheme=d,e)return void(u.isSpecial()&&gt[u.scheme]===u.port&&(u.port=null));d="","file"===u.scheme?c=It:u.isSpecial()&&r&&r.scheme===u.scheme?c=bt:u.isSpecial()?c=wt:"/"===i[l+1]?(c=Ot,l++):(u.cannotBeABaseURL=!0,B(u.path,""),c=jt)}break;case yt:if(!r||r.cannotBeABaseURL&&"#"!==o)return X;if(r.cannotBeABaseURL&&"#"===o){u.scheme=r.scheme,u.path=E(r.path),u.query=r.query,u.fragment="",u.cannotBeABaseURL=!0,c=Vt;break}c="file"===r.scheme?It:At;continue;case bt:if("/"!==o||"/"!==i[l+1]){c=At;continue}c=Lt,l++;break;case Ot:if("/"===o){c=Ct;break}c=kt;continue;case At:if(u.scheme=r.scheme,o===n)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=E(r.path),u.query=r.query;else if("/"===o||"\\"===o&&u.isSpecial())c=Rt;else if("?"===o)u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=E(r.path),u.query="",c=Bt;else{if("#"!==o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=E(r.path),u.path.length&&u.path.length--,c=kt;continue}u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,u.path=E(r.path),u.query=r.query,u.fragment="",c=Vt}break;case Rt:if(!u.isSpecial()||"/"!==o&&"\\"!==o){if("/"!==o){u.username=r.username,u.password=r.password,u.host=r.host,u.port=r.port,c=kt;continue}c=Ct}else c=Lt;break;case wt:if(c=Lt,"/"!==o||"/"!==i[l+1])continue;l++;break;case Lt:if("/"!==o&&"\\"!==o){c=Ct;continue}break;case Ct:if("@"===o){p&&(d="%40"+d),p=!0,s=g(d);for(var m=0;m<s.length;m++){var T=s[m];if(":"!==T||_){var S=ft(T,ht);_?u.password+=S:u.username+=S}else _=!0}d=""}else if(o===n||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()){if(p&&""===d)return"Invalid authority";l-=g(d).length+1,d="",c=Pt}else d+=o;break;case Pt:case Nt:if(e&&"file"===u.scheme){c=xt;continue}if(":"!==o||f){if(o===n||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()){if(u.isSpecial()&&""===d)return q;if(e&&""===d&&(u.includesCredentials()||null!==u.port))return;if(a=u.parseHost(d))return a;if(d="",c=Ut,e)return;continue}"["===o?f=!0:"]"===o&&(f=!1),d+=o}else{if(""===d)return q;if(e===Nt)return;if(a=u.parseHost(d))return a;d="",c=Mt}break;case Mt:if(!x(J,o)){if(o===n||"/"===o||"?"===o||"#"===o||"\\"===o&&u.isSpecial()||e){if(""!==d){var y=N(d,10);if(y>65535)return z;u.port=u.isSpecial()&&y===gt[u.scheme]?null:y,d=""}if(e)return;c=Ut;continue}return z}d+=o;break;case It:if(u.scheme="file",u.host="","/"===o||"\\"===o)c=Dt;else{if(!r||"file"!==r.scheme){c=kt;continue}switch(o){case n:u.host=r.host,u.path=E(r.path),u.query=r.query;break;case"?":u.host=r.host,u.path=E(r.path),u.query="",c=Bt;break;case"#":u.host=r.host,u.path=E(r.path),u.query=r.query,u.fragment="",c=Vt;break;default:u.host=r.host,_t(U(E(i,l),""))||(u.path=E(r.path),u.shortenPath()),c=kt;continue}}break;case Dt:if("/"===o||"\\"===o){c=xt;break}r&&"file"===r.scheme&&(u.host=r.host,!_t(U(E(i,l),""))&&Et(r.path[0],!0)&&B(u.path,r.path[0])),c=kt;continue;case xt:if(o===n||"/"===o||"\\"===o||"?"===o||"#"===o){if(!e&&Et(d))c=kt;else if(""===d){if(u.host="",e)return;c=Ut}else{if(a=u.parseHost(d))return a;if("localhost"===u.host&&(u.host=""),e)return;d="",c=Ut}continue}d+=o;break;case Ut:if(u.isSpecial()){if(c=kt,"/"!==o&&"\\"!==o)continue}else if(e||"?"!==o)if(e||"#"!==o){if(o!==n&&(c=kt,"/"!==o))continue}else u.fragment="",c=Vt;else u.query="",c=Bt;break;case kt:if(o===n||"/"===o||"\\"===o&&u.isSpecial()||!e&&("?"===o||"#"===o)){if(vt(d)?(u.shortenPath(),"/"===o||"\\"===o&&u.isSpecial()||B(u.path,"")):mt(d)?"/"===o||"\\"===o&&u.isSpecial()||B(u.path,""):("file"===u.scheme&&!u.path.length&&Et(d)&&(null!==u.host&&""!==u.host&&(u.host=""),d=D(d,0)+":"),B(u.path,d)),d="","file"===u.scheme&&(o===n||"?"===o||"#"===o))for(;u.path.length>1&&""===u.path[0];)G(u.path);"?"===o?(u.query="",c=Bt):"#"===o&&(u.fragment="",c=Vt)}else d+=ft(o,pt);break;case jt:"?"===o?(u.query="",c=Bt):"#"===o?(u.fragment="",c=Vt):o!==n&&(u.path[0]+=ft(o,ut));break;case Bt:e||"#"!==o?o!==n&&(u.query+=ft(o,u.isSpecial()?lt:ct)):(u.fragment="",c=Vt);break;case Vt:o!==n&&(u.fragment+=ft(o,dt))}l++}},parseHost:function(t){var e,r,n;if("["===D(t,0)){if("]"!==D(t,t.length-1))return q;if(e=function(t){var e,r,n,i,o,s,a,u=[0,0,0,0,0,0,0,0],c=0,l=null,d=0,p=function(){return D(t,d)};if(":"===p()){if(":"!==D(t,1))return;d+=2,l=++c}for(;p();){if(8===c)return;if(":"!==p()){for(e=r=0;r<4&&x(et,p());)e=16*e+N(p(),16),d++,r++;if("."===p()){if(0===r)return;if(d-=r,c>6)return;for(n=0;p();){if(i=null,n>0){if(!("."===p()&&n<4))return;d++}if(!x(J,p()))return;for(;x(J,p());){if(o=N(p(),10),null===i)i=o;else{if(0===i)return;i=10*i+o}if(i>255)return;d++}u[c]=256*u[c]+i,2!==++n&&4!==n||c++}if(4!==n)return;break}if(":"===p()){if(d++,!p())return}else if(p())return;u[c++]=e}else{if(null!==l)return;d++,l=++c}}if(null!==l)for(s=c-l,c=7;0!==c&&s>0;)a=u[c],u[c--]=u[l+s-1],u[l+--s]=a;else if(8!==c)return;return u}(H(t,1,-1)),!e)return q;this.host=e}else if(this.isSpecial()){if(t=m(t),x(rt,t))return q;if(function(t){var e,r,n=F(t,".");if(""===n[n.length-1]){if(1===n.length)return!1;n.length--}return e=n[n.length-1],!!x(tt,e)||!!x(Z,e)&&(""===(r=H(e,2))||!!x(et,r))}(t)){if(e=function(t){var e,r,n,i,o,s,a,u=F(t,".");if(u.length&&""===u[u.length-1]&&u.length--,(e=u.length)>4)return null;for(r=[],n=0;n<e;n++){if(""===(i=u[n]))return null;if(o=10,i.length>1&&"0"===D(i,0)&&(o=x(Z,i)?16:8,i=H(i,8===o?1:2)),""===i)s=0;else{if(!x(10===o?tt:8===o?Q:et,i))return null;s=N(i,o)}B(r,s)}for(n=0;n<e;n++)if(s=r[n],n===e-1){if(s>=I(256,5-e))return null}else if(s>255)return null;for(a=j(r),n=0;n<r.length;n++)a+=r[n]*I(256,3-n);return a}(t),null===e)return q;this.host=e}else this.host=t}else{if(x(nt,t))return q;for(e="",r=g(t),n=0;n<r.length;n++)e+=ft(r[n],ut);this.host=e}},cannotHaveUsernamePasswordPort:function(){return null===this.host||""===this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return h(gt,this.scheme)},shortenPath:function(){var t=this.path,e=t.length;!e||"file"===this.scheme&&1===e&&Et(t[0],!0)||t.length--},serialize:function(){var t=this,e=t.scheme,r=t.username,n=t.password,i=t.host,o=t.port,s=t.path,a=t.query,u=t.fragment,c=e+":";return null!==i?(c+="//",t.includesCredentials()&&(c+=r+(n?":"+n:"")+"@"),c+=at(i),null!==o&&(c+=":"+o)):"file"===e&&(c+="//"),null===i&&!t.cannotBeABaseURL&&s.length>1&&""===s[0]&&(c+="/."),c+=t.cannotBeABaseURL?s[0]:s.length?"/"+U(s,"/"):"",null!==a&&(c+="?"+a),null!==u&&(c+="#"+u),c},setHref:function(t){var e=this.parse(t);if(e)throw new C(e);this.searchParams.update()},getOrigin:function(){var t=this.scheme,e=this.port;if("blob"===t)try{return new Ft(this.path[0]).origin}catch(t){return"null"}return"file"!==t&&this.isSpecial()?t+"://"+at(this.host)+(null!==e?":"+e:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(t){this.parse(v(t)+":",Tt)},getUsername:function(){return this.username},setUsername:function(t){var e=g(v(t));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<e.length;r++)this.username+=ft(e[r],ht)}},getPassword:function(){return this.password},setPassword:function(t){var e=g(v(t));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<e.length;r++)this.password+=ft(e[r],ht)}},getHost:function(){var t=this.host,e=this.port;return null===t?"":null===e?at(t):at(t)+":"+e},setHost:function(t){this.cannotBeABaseURL||this.parse(t,Pt)},getHostname:function(){var t=this.host;return null===t?"":at(t)},setHostname:function(t){this.cannotBeABaseURL||this.parse(t,Nt)},getPort:function(){var t=this.port;return null===t?"":v(t)},setPort:function(t){this.cannotHaveUsernamePasswordPort()||(""===(t=v(t))?this.port=null:this.parse(t,Mt))},getPathname:function(){var t=this.path;return this.cannotBeABaseURL?t[0]:t.length?"/"+U(t,"/"):""},setPathname:function(t){this.cannotBeABaseURL||(this.path=[],this.parse(t,Ut))},getSearch:function(){var t=this.query;return t?"?"+t:""},setSearch:function(t){""===(t=v(t))?this.query=null:("?"===D(t,0)&&(t=H(t,1)),this.query="",this.parse(t,Bt)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var t=this.fragment;return t?"#"+t:""},setHash:function(t){""!==(t=v(t))?("#"===D(t,0)&&(t=H(t,1)),this.fragment="",this.parse(t,Vt)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Ft=function(t){var e=p(this,Ht),r=S(arguments.length,1)>1?arguments[1]:void 0,n=O(e,new Gt(t,!1,r));o||(e.href=n.serialize(),e.origin=n.getOrigin(),e.protocol=n.getProtocol(),e.username=n.getUsername(),e.password=n.getPassword(),e.host=n.getHost(),e.hostname=n.getHostname(),e.port=n.getPort(),e.pathname=n.getPathname(),e.search=n.getSearch(),e.searchParams=n.getSearchParams(),e.hash=n.getHash())},Ht=Ft.prototype,Wt=function(t,e){return{get:function(){return A(this)[t]()},set:e&&function(t){return A(this)[e](t)},configurable:!0,enumerable:!0}};if(o&&(d(Ht,"href",Wt("serialize","setHref")),d(Ht,"origin",Wt("getOrigin")),d(Ht,"protocol",Wt("getProtocol","setProtocol")),d(Ht,"username",Wt("getUsername","setUsername")),d(Ht,"password",Wt("getPassword","setPassword")),d(Ht,"host",Wt("getHost","setHost")),d(Ht,"hostname",Wt("getHostname","setHostname")),d(Ht,"port",Wt("getPort","setPort")),d(Ht,"pathname",Wt("getPathname","setPathname")),d(Ht,"search",Wt("getSearch","setSearch")),d(Ht,"searchParams",Wt("getSearchParams")),d(Ht,"hash",Wt("getHash","setHash"))),l(Ht,"toJSON",function(){return A(this).serialize()},{enumerable:!0}),l(Ht,"toString",function(){return A(this).serialize()},{enumerable:!0}),L){var Yt=L.createObjectURL,Xt=L.revokeObjectURL;Yt&&l(Ft,"createObjectURL",u(Yt,L)),Xt&&l(Ft,"revokeObjectURL",u(Xt,L))}T(Ft,"URL"),i({global:!0,constructor:!0,forced:!s,sham:!o},{URL:Ft})},65732(t,e,r){"use strict";r(51690)},92940(t,e,r){"use strict";var n=r(13322),i=r(69529);n({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return i(URL.prototype.toString,this)}})},31509(t,e){!function(t){"use strict";class e{t;o=0;i=[];u(t){if(t.hadRecentInput)return;const e=this.i[0],r=this.i.at(-1);this.o&&e&&r&&t.startTime-r.startTime<1e3&&t.startTime-e.startTime<5e3?(this.o+=t.value,this.i.push(t)):(this.o=t.value,this.i=[t]),this.t?.(t)}}const r=()=>{const t=performance.getEntriesByType("navigation")[0];if(t&&t.responseStart>0&&t.responseStart<performance.now())return t},n=t=>{if("loading"===document.readyState)return"loading";const e=r();if(e){if(t<e.domInteractive)return"loading";if(0===e.domContentLoadedEventStart||t<e.domContentLoadedEventStart)return"dom-interactive";if(0===e.domComplete||t<e.domComplete)return"dom-content-loaded"}return"complete"},i=t=>{const e=t.nodeName;return 1===t.nodeType?e.toLowerCase():e.toUpperCase().replace(/^#/,"")},o=t=>{let e="";try{for(;9!==t?.nodeType;){const r=t,n=r.id?"#"+r.id:[i(r),...Array.from(r.classList).sort()].join(".");if(e.length+n.length>99)return e||n;if(e=e?n+">"+e:n,r.id)break;t=r.parentNode}}catch{}return e},s=new WeakMap;function a(t,e){return s.get(t)||s.set(t,new e),s.get(t)}let u=-1;const c=()=>u,l=t=>{addEventListener("pageshow",e=>{e.persisted&&(u=e.timeStamp,t(e))},!0)},d=(t,e,r,n)=>{let i,o;return s=>{e.value>=0&&(s||n)&&(o=e.value-(i??0),(o||void 0===i)&&(i=e.value,e.delta=o,e.rating=((t,e)=>t>e[1]?"poor":t>e[0]?"needs-improvement":"good")(e.value,r),t(e)))}},p=t=>{requestAnimationFrame(()=>requestAnimationFrame(t))},h=()=>r()?.activationStart??0,f=(t,e=-1)=>{const n=r();let i="navigate";return c()>=0?i="back-forward-cache":n&&(document.prerendering||h()>0?i="prerender":document.wasDiscarded?i="restore":n.type&&(i=n.type.replace(/_/g,"-"))),{name:t,value:e,rating:"good",delta:0,entries:[],id:`v5-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:i}},g=(t,e,r={})=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){const n=new PerformanceObserver(t=>{queueMicrotask(()=>{e(t.getEntries())})});return n.observe({type:t,buffered:!0,...r}),n}}catch{}},E=t=>{let e=!1;return()=>{e||(t(),e=!0)}};let _=-1;const m=new Set,v=()=>"hidden"!==document.visibilityState||document.prerendering?1/0:0,T=t=>{if("hidden"===document.visibilityState){if("visibilitychange"===t.type)for(const t of m)t();isFinite(_)||(_="visibilitychange"===t.type?t.timeStamp:0,removeEventListener("prerenderingchange",T,!0))}},S=()=>{if(_<0){const t=h(),e=document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").find(e=>"hidden"===e.name&&e.startTime>=t)?.startTime;_=e??v(),addEventListener("visibilitychange",T,!0),addEventListener("prerenderingchange",T,!0),l(()=>{setTimeout(()=>{_=v()})})}return{get firstHiddenTime(){return _},onHidden(t){m.add(t)}}},y=t=>{document.prerendering?addEventListener("prerenderingchange",t,!0):t()},b=[1800,3e3],O=(t,e={})=>{y(()=>{const r=S();let n,i=f("FCP");const o=g("paint",t=>{for(const e of t)"first-contentful-paint"===e.name&&(o.disconnect(),e.startTime<r.firstHiddenTime&&(i.value=Math.max(e.startTime-h(),0),i.entries.push(e),n(!0)))});o&&(n=d(t,i,b,e.reportAllChanges),l(r=>{i=f("FCP"),n=d(t,i,b,e.reportAllChanges),p(()=>{i.value=performance.now()-r.timeStamp,n(!0)})}))})},A=[.1,.25],R=t=>t.find(t=>1===t.node?.nodeType)||t[0];let w=0,L=1/0,C=0;const P=t=>{for(const e of t)e.interactionId&&(L=Math.min(L,e.interactionId),C=Math.max(C,e.interactionId),w=C?(C-L)/7+1:0)};let N;const M=()=>N?w:performance.interactionCount??0;let I=0;class D{l=[];h=new Map;p;m;v(){I=M(),this.l.length=0,this.h.clear()}M(){const t=Math.min(this.l.length-1,Math.floor((M()-I)/50));return this.l[t]}u(t){if(this.p?.(t),!t.interactionId&&"first-input"!==t.entryType)return;const e=this.l.at(-1);let r=this.h.get(t.interactionId);if(r||this.l.length<10||t.duration>e.T){if(r?t.duration>r.T?(r.entries=[t],r.T=t.duration):t.duration===r.T&&t.startTime===r.entries[0].startTime&&r.entries.push(t):(r={id:t.interactionId,entries:[t],T:t.duration},this.h.set(r.id,r),this.l.push(r)),this.l.sort((t,e)=>e.T-t.T),this.l.length>10){const t=this.l.splice(10);for(const e of t)this.h.delete(e.id)}this.m?.(r)}}}const x=t=>{const e=globalThis.requestIdleCallback||setTimeout,r=globalThis.cancelIdleCallback||clearTimeout;if("hidden"===document.visibilityState)t();else{const n=E(t);let i=-1;const o=()=>{r(i),n()};addEventListener("visibilitychange",o,{once:!0,capture:!0}),i=e(()=>{removeEventListener("visibilitychange",o,{capture:!0}),n()})}},U=[200,500];class k{p;u(t){this.p?.(t)}}const j=[2500,4e3],B=[800,1800],V=t=>{document.prerendering?y(()=>V(t)):"complete"!==document.readyState?addEventListener("load",()=>V(t),!0):setTimeout(t)};t.CLSThresholds=A,t.FCPThresholds=b,t.INPThresholds=U,t.LCPThresholds=j,t.TTFBThresholds=B,t.onCLS=(t,r={})=>{const i=a(r=Object.assign({},r),e),s=new WeakMap;i.t=t=>{if(t?.sources?.length){const e=R(t.sources),n=e?.node;if(n){const t=r.generateTarget?.(n)??o(n);s.set(e,t)}}},((t,r={})=>{const n=S();O(E(()=>{let i,o=f("CLS",0);const s=a(r,e),u=t=>{for(const e of t)s.u(e);s.o>o.value&&(o.value=s.o,o.entries=s.i,i())},c=g("layout-shift",u);c&&(i=d(t,o,A,r.reportAllChanges),n.onHidden(()=>{u(c.takeRecords()),i(!0)}),l(()=>{s.o=0,o=f("CLS",0),i=d(t,o,A,r.reportAllChanges),p(i)}),setTimeout(i))}))})(e=>{t((t=>{let e={};if(t.entries.length){const r=t.entries.reduce((t,e)=>t.value>e.value?t:e);if(r?.sources?.length){const t=R(r.sources);t&&(e={largestShiftTarget:s.get(t),largestShiftTime:r.startTime,largestShiftValue:r.value,largestShiftSource:t,largestShiftEntry:r,loadState:n(r.startTime)})}}return Object.assign(t,{attribution:e})})(e))},r)},t.onFCP=(t,e={})=>{O(e=>{t((t=>{let e={timeToFirstByte:0,firstByteToFCP:t.value,loadState:n(c())};if(t.entries.length){const i=r(),o=t.entries.at(-1);if(i){const r=i.activationStart||0,s=Math.max(0,i.responseStart-r);e={timeToFirstByte:s,firstByteToFCP:t.value-s,loadState:n(t.entries[0].startTime),navigationEntry:i,fcpEntry:o}}}return Object.assign(t,{attribution:e})})(e))},e)},t.onINP=(t,e={})=>{const r=a(e=Object.assign({},e),D);let i=[],s=[],u=0;const c=new WeakMap,p=new WeakMap;let h=!1;const E=()=>{h||(x(_),h=!0)},_=()=>{const t=new Set(r.l.map(t=>c.get(t.entries[0]))),e=s.length-10;s=s.filter((r,n)=>n>=e||t.has(r));const n=new Set;for(const t of s){const e=m(t.startTime,t.processingEnd);for(const t of e)n.add(t)}i=i.filter(t=>t.startTime>u||n.has(t)),h=!1};r.p=t=>{const r=t.startTime+t.duration;let n;u=Math.max(u,t.processingEnd);for(let i=s.length-1;i>=0;i--){const o=s[i];if(Math.abs(r-o.renderTime)<=8){n=o,n.startTime=Math.min(t.startTime,n.startTime),n.processingStart=Math.min(t.processingStart,n.processingStart),n.processingEnd=Math.max(t.processingEnd,n.processingEnd),!1!==e.includeProcessedEventEntries&&n.entries.push(t);break}}n||(n={startTime:t.startTime,processingStart:t.processingStart,processingEnd:t.processingEnd,renderTime:r,entries:!1!==e.includeProcessedEventEntries?[t]:[]},s.push(n)),(t.interactionId||"first-input"===t.entryType)&&c.set(t,n),E()},r.m=t=>{if(!p.get(t)){const r=t.entries[0].target;if(r){const n=e.generateTarget?.(r)??o(r);p.set(t,n)}}};const m=(t,e)=>{const r=[];for(const n of i)if(!(n.startTime+n.duration<t)){if(n.startTime>e)break;r.push(n)}return r};g("long-animation-frame",t=>{i=i.concat(t),E()}),((t,e={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const r=S();y(()=>{"interactionCount"in performance||N||(N=g("event",P,{durationThreshold:0}));let n,i=f("INP");const o=a(e,D),s=t=>{x(()=>{for(const e of t)o.u(e);const e=o.M();e&&e.T!==i.value&&(i.value=e.T,i.entries=e.entries,n())})},u=g("event",s,{durationThreshold:e.durationThreshold??40});n=d(t,i,U,e.reportAllChanges),u&&(u.observe({type:"first-input",buffered:!0}),r.onHidden(()=>{s(u.takeRecords()),n(!0)}),l(()=>{o.v(),i=f("INP"),n=d(t,i,U,e.reportAllChanges)}))})})(e=>{t((t=>{const e=t.entries[0],i=c.get(e),o=e.processingStart,s=Math.max(e.startTime+e.duration,o),a=Math.min(i.processingEnd,s),u=i.entries.sort((t,e)=>t.processingStart-e.processingStart),l=m(e.startTime,a),d=r.h.get(e.interactionId),h={interactionTarget:p.get(d),interactionType:e.name.startsWith("key")?"keyboard":"pointer",interactionTime:e.startTime,nextPaintTime:s,processedEventEntries:u,longAnimationFrameEntries:l,inputDelay:o-e.startTime,processingDuration:a-o,presentationDelay:s-a,loadState:n(e.startTime),longestScript:void 0,totalScriptDuration:void 0,totalStyleAndLayoutDuration:void 0,totalPaintDuration:void 0,totalUnattributedDuration:void 0};return(t=>{if(!t.longAnimationFrameEntries?.length)return;const e=t.interactionTime,r=t.inputDelay,n=t.processingDuration;let i,o,s=0,a=0,u=0,c=0;for(const u of t.longAnimationFrameEntries){a=a+u.startTime+u.duration-u.styleAndLayoutStart;for(const t of u.scripts){const u=t.startTime+t.duration;if(u<e)continue;const l=u-Math.max(e,t.startTime),d=t.duration?l/t.duration*t.forcedStyleAndLayoutDuration:0;s+=l-d,a+=d,l>c&&(o=t.startTime<e+r?"input-delay":t.startTime>=e+r+n?"presentation-delay":"processing-duration",i=t,c=l)}}const l=t.longAnimationFrameEntries.at(-1),d=l?l.startTime+l.duration:0;d>=e+r+n&&(u=t.nextPaintTime-d),i&&o&&(t.longestScript={entry:i,subpart:o,intersectingDuration:c}),t.totalScriptDuration=s,t.totalStyleAndLayoutDuration=a,t.totalPaintDuration=u,t.totalUnattributedDuration=t.nextPaintTime-e-s-a-u})(h),Object.assign(t,{attribution:h})})(e))},e)},t.onLCP=(t,e={})=>{const n=a(e=Object.assign({},e),k),i=new WeakMap;n.p=t=>{const r=t.element;if(r){const n=e.generateTarget?.(r)??o(r);i.set(t,n)}else t.id&&i.set(t,`#${t.id}`)},((t,e={})=>{y(()=>{const r=S();let n,i=f("LCP");const o=a(e,k),s=t=>{e.reportAllChanges||(t=t.slice(-1));for(const e of t)o.u(e),e.startTime<r.firstHiddenTime&&(i.value=Math.max(e.startTime-h(),0),i.entries=[e],n())},u=g("largest-contentful-paint",s);if(u){n=d(t,i,j,e.reportAllChanges);const r=E(()=>{s(u.takeRecords()),u.disconnect(),n(!0)}),o=t=>{t.isTrusted&&(x(r),removeEventListener(t.type,o,{capture:!0}))};for(const t of["keydown","click","visibilitychange"])addEventListener(t,o,{capture:!0});l(r=>{i=f("LCP"),n=d(t,i,j,e.reportAllChanges),p(()=>{i.value=performance.now()-r.timeStamp,n(!0)})})}})})(e=>{t((t=>{let e={timeToFirstByte:0,resourceLoadDelay:0,resourceLoadDuration:0,elementRenderDelay:t.value};if(t.entries.length){const n=t.entries.at(-1),o=n.url&&performance.getEntriesByType("resource").find(t=>t.name===n.url);e.target=i.get(n),e.lcpEntry=n,n.url&&(e.url=n.url),o&&(e.lcpResourceEntry=o);const s=r();if(s){const r=s.activationStart||0,n=Math.max(0,s.responseStart-r),i=Math.max(n,o?(o.requestStart||o.startTime)-r:0),a=Math.min(t.value,Math.max(i,o?o.responseEnd-r:0));e={...e,timeToFirstByte:n,resourceLoadDelay:i-n,resourceLoadDuration:a-i,elementRenderDelay:t.value-a,navigationEntry:s}}}return Object.assign(t,{attribution:e})})(e))},e)},t.onTTFB=(t,e={})=>{((t,e={})=>{let n=f("TTFB"),i=d(t,n,B,e.reportAllChanges);V(()=>{const o=r();o&&(n.value=Math.max(o.responseStart-h(),0),n.entries=[o],i(!0),l(()=>{n=f("TTFB",0),i=d(t,n,B,e.reportAllChanges),i(!0)}))})})(e=>{t((t=>{let e={waitingDuration:0,cacheDuration:0,dnsDuration:0,connectionDuration:0,requestDuration:0};if(t.entries.length){const r=t.entries[0],n=r.activationStart||0,i=Math.max((r.workerStart||r.fetchStart)-n,0),o=Math.max(r.domainLookupStart-n,0),s=Math.max(r.connectStart-n,0),a=Math.max(r.connectEnd-n,0);e={waitingDuration:i,cacheDuration:o-i,dnsDuration:s-o,connectionDuration:a-s,requestDuration:t.value-a,navigationEntry:r}}return Object.assign(t,{attribution:e})})(e))},e)}}(e)},64333(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.r(e),r.d(e,{_:()=>n})},45999(t,e,r){"use strict";function n(t,e){return Object.keys(t).forEach(function(r){"default"===r||Object.prototype.hasOwnProperty.call(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[r]}})}),t}r.r(e),r.d(e,{_:()=>n})},82446(t,e,r){"use strict";function n(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(n=function(t){return t?r:e})(t)}function i(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var r=n(e);if(r&&r.has(t))return r.get(t);var i={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&Object.prototype.hasOwnProperty.call(t,s)){var a=o?Object.getOwnPropertyDescriptor(t,s):null;a&&(a.get||a.set)?Object.defineProperty(i,s,a):i[s]=t[s]}return i.default=t,r&&r.set(t,i),i}r.r(e),r.d(e,{_:()=>i})},38295(t,e,r){"use strict";function n(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}r.r(e),r.d(e,{_:()=>n})},52473(t,e,r){"use strict";r.r(e),r.d(e,{customAlphabet:()=>s,customRandom:()=>o,nanoid:()=>a,random:()=>i,urlAlphabet:()=>n});let n="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",i=t=>crypto.getRandomValues(new Uint8Array(t)),o=(t,e,r)=>{let n=256-256%t.length;if(256===n){let n=t.length-1;return(i=e)=>{if(!i)return"";let o="";for(;;){let e=r(i),s=i;for(;s--;)if(o+=t[e[s]&n],o.length>=i)return o}}}let i=Math.ceil(409.6*e/n);return(o=e)=>{if(!o)return"";let s="";for(;;){let e=r(i),a=i;for(;a--;)if(e[a]<n&&(s+=t[e[a]%t.length],s.length>=o))return s}}},s=(t,e=21)=>o(t,0|e,i),a=(t=21)=>{let e="",r=crypto.getRandomValues(new Uint8Array(t|=0));for(;t--;)e+=n[63&r[t]];return e}},92970(t,e,r){"use strict";r.r(e),r.d(e,{createPicker:()=>zt,isPickerWindow:()=>Kt,openPickerWindow:()=>$t});var n,i,o,s,a={d:(t,e,r)=>{var n=(e,r)=>{for(var n in e)a.o(e,n)&&!a.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,[r]:e[n]})};n(e,"get"),n(r,"value")},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)},u={};function c(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}a.d(u,{$:()=>Xt,Fn:()=>Gt,Xe:()=>Wt}),(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(){c(this,"loggingLevel",null),c(this,"loggingPrefix",""),c(this,"middlewares",[]),c(this,"critical",(t,...e)=>{this.processMiddlewares("console","critical",t,...e),null!==this.loggingLevel&&s.CRITICAL>=this.loggingLevel&&console.error(`${this.loggingPrefix}${t}`,...e)}),c(this,"debug",(t,...e)=>{this.processMiddlewares("console","debug",t,...e),null!==this.loggingLevel&&s.DEBUG>=this.loggingLevel&&console.debug(`${this.loggingPrefix}${t}`,...e)}),c(this,"debugNoConsole",(t,...e)=>{this.processMiddlewares("internal","debug",t,...e)}),c(this,"error",(t,...e)=>{this.processMiddlewares("console","error",t,...e),null!==this.loggingLevel&&s.ERROR>=this.loggingLevel&&console.error(`${this.loggingPrefix}${t}`,...e)}),c(this,"errorNoConsole",(t,...e)=>{this.processMiddlewares("internal","error",t,...e)}),c(this,"info",(t,...e)=>{this.processMiddlewares("console","info",t,...e),null!==this.loggingLevel&&s.INFO>=this.loggingLevel&&console.log(`${this.loggingPrefix}${t}`,...e)}),c(this,"infoNoConsole",(t,...e)=>{this.processMiddlewares("internal","info",t,...e)}),c(this,"setLoggingLevel",t=>{this.loggingLevel=l.convertLogLevelToNumber(t)}),c(this,"setLoggingPrefix",t=>{this.loggingPrefix=t}),c(this,"setMiddleware",t=>{this.middlewares.push(t)}),c(this,"warn",(t,...e)=>{this.processMiddlewares("console","warn",t,...e),null!==this.loggingLevel&&s.WARN>=this.loggingLevel&&console.warn(`${this.loggingPrefix}${t}`,...e)}),c(this,"warnNoConsole",(t,...e)=>{this.processMiddlewares("internal","warn",t,...e)}),c(this,"processMiddlewares",(t,e,r,...n)=>{this.middlewares.forEach(i=>i(t,e,r,...n))})}}c(l,"convertLogLevelToNumber",t=>{switch(t){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="#000",h="#8f8f8f",f="#e0e0e0",g="rgba(0, 0, 0, 0.48)",E="#e00000",_="#0264d7",m="#adcff6",v="#00336d",T="rgba(0, 0, 0, 0.18)",S="#909090",y="#fff",b="#f7f7f7",O="#dddddd",A="#ffffff",R="#2C2C2C",w="#4d4d4d",L="#2c2c2c",C="#6b6b6b",P="transparent",N="#fff",M={BUTTON_BORDER:`1px solid ${h}`,BUTTON_HOVER_COLOR:"#f5f5f5",HOVER_COLOR:"#BD410B",PICKER_BORDER_COLOR_OFF:h,PICKER_BORDER_COLOR_ON:_,PICKER_Z_INDEX:2147483647,PRIMARY_COLOR:_,PRIMARY_DISABLED:m,SKELETON_IMAGE_URL_OFF:"https://cdn.observability.splunkcloud.com/o11y-gdi-rum/session-replay/picker/off.gif",SKELETON_IMAGE_URL_ON:"https://cdn.observability.splunkcloud.com/o11y-gdi-rum/session-replay/picker/on.gif"},I="splunk-web-element-picker";function D(t){if(null===t||"object"!=typeof t||Array.isArray(t))return!1;let e=Object.getPrototypeOf(t);if(e!==Object.prototype&&null!==e)return!1;for(let[e,r]of Object.entries(t))if(!e.startsWith("data-")||"string"!=typeof r)return!1;return!0}let x="replay-web-picker-confirm",U="replay-web-picker-connect",k="replay-web-picker-get-stats",j="replay-web-picker-get-url-group",B="replay-web-picker-stats",V="replay-web-picker-url-group";function G(t){return"string"==typeof t.xpath&&""!==t.xpath.trim()||"string"==typeof t.text&&""!==t.text.trim()||"object"==typeof t.dataAttributes&&null!==t.dataAttributes&&Object.keys(t.dataAttributes).length>0}let F=new Set(["all","this-url","url-group"]),H=t=>{let e;return!(void 0!==t.urlGroup&&"string"!=typeof t.urlGroup||void 0!==t.urlScope&&("string"!=typeof(e=t.urlScope)||!F.has(e))||("url-group"===t.urlScope?"string"!=typeof t.urlGroup||""===t.urlGroup.trim():void 0!==t.urlGroup))};function W(t,e,r,n,i,o,s){try{var a=t[o](s),u=a.value}catch(t){return void r(t)}a.done?e(u):Promise.resolve(u).then(n,i)}function Y(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var o=t.apply(e,r);function s(t){W(o,n,i,s,a,"next",t)}function a(t){W(o,n,i,s,a,"throw",t)}s(void 0)})}}function X(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class q{cancelAll(t){for(let[e,{reject:r,timeoutId:n}]of this.pendingRequests.entries())this.window.clearTimeout(n),r(t),this.pendingRequests.delete(e);this.updateMessageListener()}dispose(){this.cancelAll(Error("PickerRequestManager disposed")),this.messageListener&&(this.window.removeEventListener("message",this.messageListener),this.messageListener=null)}requestStats(t){return Y(function*(){var e,r,n,i;if(!this.canSendRequest())return this.getEmptyStats();let o=this.nextRequestId();return this.postMessage(this.window,(n=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){var n;n=r[e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n})}return t}({},(e=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){X(t,e,r[e])})}return t}({},t),r=r={requestId:o},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):function(t){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e.push.apply(e,r)}return e}(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}),e)),i=i={type:k},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):function(t){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e.push.apply(e,r)}return e}(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))}),n)),new Promise((e,r)=>{let n=this.window.setTimeout(()=>{var e;this.pendingRequests.delete(o),this.updateMessageListener(),r(Error("Stats request timed out after 20000ms for "+(t.xpath?`xpath: ${t.xpath}`:`dataAttributes: ${Object.keys(null!=(e=t.dataAttributes)?e:{}).join(", ")}`)))},2e4);this.pendingRequests.set(o,{kind:"stats",reject:r,resolve:e,timeoutId:n}),this.updateMessageListener()})}).call(this)}requestUrlGroup(t){return Y(function*(){var e,r;if(!this.canSendRequest())return;let n=this.nextRequestId();return this.postMessage(this.window,(e=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){var n;n=r[e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n})}return t}({},{requestId:n,url:t}),r=r={type:j},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):function(t){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e.push.apply(e,r)}return e}(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}),e)),new Promise((e,r)=>{let i=this.window.setTimeout(()=>{this.pendingRequests.delete(n),this.updateMessageListener(),r(Error(`URL group request timed out after 20000ms for url: ${t}`))},2e4);this.pendingRequests.set(n,{kind:"url-group",reject:r,resolve:e,timeoutId:i}),this.updateMessageListener()})}).call(this)}canSendRequest(){let t=this.getCommunicationWindow(this.window);return null!==t&&!t.closed}clearRequest(t,e){this.window.clearTimeout(e.timeoutId),this.pendingRequests.delete(t)}getEmptyStats(){return{total:0,unique:0}}getPickerResponse(t){return(t=>{if(null===t||"object"!=typeof t||t.type!==B||"object"!=typeof t.stats||void 0!==t.xpath&&"string"!=typeof t.xpath)return!1;let e=t.stats;return!("number"!=typeof e.total||void 0!==e.unique&&"number"!=typeof e.unique||void 0!==e.sessions&&"number"!=typeof e.sessions)})(t)&&t.requestId?{kind:"stats",requestId:t.requestId,stats:t.stats}:null===t||"object"!=typeof t||t.type!==V||void 0!==t.requestId&&"string"!=typeof t.requestId||void 0!==t.urlGroup&&"string"!=typeof t.urlGroup||!t.requestId?void 0:{kind:"url-group",requestId:t.requestId,urlGroup:t.urlGroup}}nextRequestId(){return this.requestIdCounter+=1,`req_${Date.now()}_${this.requestIdCounter}`}updateMessageListener(){let t=this.pendingRequests.size>0,e=null!==this.messageListener;t&&!e?(this.messageListener=this.handleMessage,this.window.addEventListener("message",this.messageListener)):!t&&e&&this.messageListener&&(this.window.removeEventListener("message",this.messageListener),this.messageListener=null)}constructor(t,e,r,n){X(this,"window",void 0),X(this,"targetOrigin",void 0),X(this,"getCommunicationWindow",void 0),X(this,"postMessage",void 0),X(this,"messageListener",void 0),X(this,"pendingRequests",void 0),X(this,"requestIdCounter",void 0),X(this,"handleMessage",void 0),this.window=t,this.targetOrigin=e,this.getCommunicationWindow=r,this.postMessage=n,this.messageListener=null,this.pendingRequests=new Map,this.requestIdCounter=0,this.handleMessage=t=>{let e=this.getPickerResponse(t.data);if(!e)return;let r=this.getCommunicationWindow(this.window),n="*"===this.targetOrigin||t.origin===this.targetOrigin;if(null!==r&&t.source!==r||!n)return;let i=this.pendingRequests.get(e.requestId);if(i){if("stats"===i.kind){if("stats"!==e.kind)return;return this.clearRequest(e.requestId,i),i.resolve(e.stats),void this.updateMessageListener()}"url-group"===e.kind&&(this.clearRequest(e.requestId,i),i.resolve(e.urlGroup),this.updateMessageListener())}}}}function z(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class K{dispose(){this.stop()}start(){null===this.intervalId&&(this.intervalId=this.window.setInterval(()=>{let t=this.getCommunicationWindow(this.window);t&&t.closed&&(this.stop(),this.onOpenerClosed(),this.window.close())},this.intervalMs))}stop(){null!==this.intervalId&&(this.window.clearInterval(this.intervalId),this.intervalId=null)}constructor(t,e,r,n=1e3){z(this,"window",void 0),z(this,"getCommunicationWindow",void 0),z(this,"onOpenerClosed",void 0),z(this,"intervalMs",void 0),z(this,"intervalId",void 0),this.window=t,this.getCommunicationWindow=e,this.onOpenerClosed=r,this.intervalMs=n,this.intervalId=null}}function $(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class J{dispose(){this.window.removeEventListener("beforeunload",this.beforeUnloadHandler),this.windowMonitor.dispose(),this.pickerRequestManager.dispose()}getStatsHandler(){return this.handleStatsRequest.bind(this)}getUrlGroupHandler(){return this.handleUrlGroupRequest.bind(this)}handleStatsRequest(t){return this.pickerRequestManager.requestStats(t)}handleUrlGroupRequest(t){return this.pickerRequestManager.requestUrlGroup(t)}constructor(t,e,r,n){$(this,"window",void 0),$(this,"beforeUnloadHandler",void 0),$(this,"pickerRequestManager",void 0),$(this,"windowMonitor",void 0),this.window=t,this.pickerRequestManager=new q(t,e,r,n),this.windowMonitor=new K(t,r,()=>{this.pickerRequestManager.cancelAll(Error("Opener window closed"))}),this.beforeUnloadHandler=()=>{this.pickerRequestManager.dispose(),this.windowMonitor.dispose()},this.window.addEventListener("beforeunload",this.beforeUnloadHandler),this.windowMonitor.start()}}let Z=(t,...e)=>{let r=[t[0]];return e.forEach(function(e,n){r.push(e,t[n+1])}),r.join("")},Q={html:Z`<style>.buttons{text-align:center;padding:8px;margin-bottom:12px;}.buttons button{padding:4px 8px;height:28px;border:1px solid ${g};border-radius:4px;background:${y};margin:0 4px;transition:background-color 0.2s ease-in-out,border-color 0.2s ease-in-out;cursor:pointer;color:${p};font-weight:500;}.buttons button:hover{background-color:${M.BUTTON_HOVER_COLOR};}.buttons button.primary{background:${M.PRIMARY_COLOR};border-color:${M.PRIMARY_COLOR};color:${N};}.buttons button.primary:hover{background:${v};border-color:${v};}.buttons button:disabled,.buttons button:disabled:hover,.buttons button.primary:disabled,.buttons button.primary:disabled:hover{background:${m};border-color:${m};color:${N};cursor:not-allowed;}.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"}},tt={html:Z`<div class="handle"></div><style>.handle{padding:13px 0 10px;width:100%;cursor:move;}.handle::before{height:4px;width:60px;background:${M.PRIMARY_COLOR};border-radius:2px;content:'';display:block;margin:0 auto;}</style>`,selectors:{handle:".handle"}},et=Z`
		.info-tooltip {
			align-items: center;
			display: inline-flex;
			flex: 0 0 auto;
			position: relative;
		}

		.info-tooltip-trigger {
			align-items: center;
			background: ${P};
			border: 0;
			color: ${R};
			cursor: help;
			display: inline-flex;
			font: inherit;
			height: 16px;
			justify-content: center;
			line-height: 1;
			padding: 0;
			width: 16px;
		}

		.info-tooltip-trigger:focus-visible {
			outline: 1px solid ${C};
			outline-offset: 2px;
		}

		.info-tooltip-content {
			background: ${y};
			border: 1px solid ${f};
			border-radius: 4px;
			box-shadow: 0 8px 20px ${T};
			box-sizing: border-box;
			color: ${w};
			font-size: 11px;
			font-weight: 400;
			line-height: 1.2;
			max-width: min(360px, calc(100vw - 32px));
			opacity: 0;
			padding: 8px 10px;
			pointer-events: none;
			position: absolute;
			transition:
				opacity 160ms ease-out,
				transform 160ms ease-out,
				visibility 160ms ease-out;
			visibility: hidden;
			white-space: nowrap;
			width: max-content;
			z-index: 3;
		}

		.info-tooltip--right .info-tooltip-content {
			left: calc(100% + 8px);
			top: 50%;
			transform: translateY(calc(-50% - 4px));
		}

		.info-tooltip--right .info-tooltip-content::before {
			border-bottom: 7px solid ${P};
			border-right: 7px solid ${y};
			border-top: 7px solid ${P};
			content: '';
			left: -7px;
			position: absolute;
			top: 50%;
			transform: translateY(-50%);
		}

		.info-tooltip--top .info-tooltip-content,
		.info-tooltip--top-end .info-tooltip-content,
		.info-tooltip--top-start .info-tooltip-content {
			bottom: calc(100% + 8px);
			transform: translateY(4px);
		}

		.info-tooltip--top .info-tooltip-content {
			left: 50%;
			transform: translateX(-50%) translateY(4px);
		}

		.info-tooltip--top-end .info-tooltip-content {
			right: 0;
		}

		.info-tooltip--top-start .info-tooltip-content {
			left: 0;
		}

		.info-tooltip--top .info-tooltip-content::before,
		.info-tooltip--top-end .info-tooltip-content::before,
		.info-tooltip--top-start .info-tooltip-content::before {
			border-left: 7px solid ${P};
			border-right: 7px solid ${P};
			border-top: 7px solid ${y};
			bottom: -7px;
			content: '';
			position: absolute;
		}

		.info-tooltip--top .info-tooltip-content::before {
			left: 50%;
			transform: translateX(-50%);
		}

		.info-tooltip--top-end .info-tooltip-content::before {
			right: 2px;
		}

		.info-tooltip--top-start .info-tooltip-content::before {
			left: 2px;
		}

		.info-tooltip--right:hover .info-tooltip-content,
		.info-tooltip--right .info-tooltip-trigger:focus-visible + .info-tooltip-content {
			opacity: 1;
			transform: translateY(-50%);
			visibility: visible;
		}

		.info-tooltip--top:hover .info-tooltip-content,
		.info-tooltip--top .info-tooltip-trigger:focus-visible + .info-tooltip-content {
			opacity: 1;
			transform: translateX(-50%) translateY(0);
			visibility: visible;
		}

		.info-tooltip--top-end:hover .info-tooltip-content,
		.info-tooltip--top-start:hover .info-tooltip-content,
		.info-tooltip--top-end .info-tooltip-trigger:focus-visible + .info-tooltip-content,
		.info-tooltip--top-start .info-tooltip-trigger:focus-visible + .info-tooltip-content {
			opacity: 1;
			transform: translateY(0);
			visibility: visible;
		}

		@media (prefers-reduced-motion: reduce) {
			.info-tooltip-content {
				transition: none;
			}
		}
	`,rt=Z`<?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:${p};}</style>`,nt=Z`<style>.segmented-control{display:flex;border:${M.BUTTON_BORDER};border-radius:5px;overflow:hidden;}.segmented-control input[type='radio']{display:none;}.segmented-control label{padding:6px 18px;cursor:pointer;background-color:${A};color:${L};font-weight:500;text-align:center;transition:background-color 0.2s ease-in-out;flex:1;border-right:${M.BUTTON_BORDER};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):not(:disabled) + label:hover{background-color:${M.BUTTON_HOVER_COLOR};}.segmented-control input[type='radio']:disabled + label{color:${"#8f8f8f"};cursor:not-allowed;}</style><div class="segmented-control"><input type="radio" id="all-urls" name="url-filter" value="all-urls" /><label for="all-urls">All URLs</label><input type="radio" id="url-group" name="url-filter" value="url-group" checked /><label for="url-group">URL Group</label><input type="radio" id="this-url" name="url-filter" value="this-url" /><label for="this-url">Current URL</label></div>`,it=Z`<style>.slider-container{display:flex;align-items:center;margin:8px 0;position:relative;}.slider-container button{height:28px;border:1px solid ${g};border-radius:4px;background:${y};padding:5px;transition:background-color 0.2s ease-in-out;cursor:pointer;}.slider-container button:hover{background-color:${M.BUTTON_HOVER_COLOR};}.slider{flex:1;margin:0 10px;}input[type='range']{-webkit-appearance:none;appearance:none;background:${P};cursor:pointer;}input[type='range']:focus{outline:none;}input[type='range']::-webkit-slider-runnable-track{background-color:${O};border-radius:6px;height:6px;border:${M.BUTTON_BORDER};}input[type='range']::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;margin-top:-7px;background-color:${A};border-radius:10px;height:20px;width:20px;outline:2px solid ${C};}input[type='range']:focus::-webkit-slider-thumb{outline:2px solid ${C};}input[type='range']::-moz-range-track{background-color:${O};border-radius:6px;height:6px;border:${M.BUTTON_BORDER};}input[type='range']::-moz-range-thumb{background-color:${A};border:none;border-radius:10px;height:20px;width:20px;outline:2px solid ${C};}input[type='range']:focus::-moz-range-thumb{outline:2px solid ${C};}.xpath-tooltip{background:${y};border-radius:4px;box-shadow:0 8px 20px ${T};box-sizing:border-box;color:${w};font-size:10pt;left:50%;line-height:1.4;max-width:256px;opacity:0;padding:10px 12px;pointer-events:none;position:absolute;top:40px;transform:translateX(-50%) translateY(-8px) scale(0);transform-origin:top center;transition:opacity 220ms ease-out,transform 280ms cubic-bezier(0.2,0.8,0.2,1);visibility:hidden;word-break:break-word;z-index:4;}.xpath-tooltip::before{border-bottom:8px solid ${y};border-left:8px solid ${P};border-right:8px solid ${P};border-top:0;content:'';height:0;left:50%;position:absolute;top:-8px;transform:translateX(-50%);width:0;}.xpath-tooltip.show{opacity:1;transform:translateX(-50%) translateY(0) scale(1);visibility:visible;}@media (prefers-reduced-motion:reduce){.xpath-tooltip{transition:none;}}</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="${R}"
/></svg></button><input type="range" class="slider" /><div class="xpath-tooltip" role="status"></div><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="${R}"
/></svg></button></div>`,ot=".slider-container .slider-next-button",st=".slider-container .slider-prev-button",at=".slider-container .slider",ut=".slider-container .xpath-tooltip",ct=Z`<section class="stats-section"><h3>Statistics from the last 7 days:</h3><div class="stats-cards"><div class="stats-card total-clicks-card"><strong class="total-clicks">-</strong><span class="stats-card-label"><svg
aria-hidden="true"
class="stats-card-icon"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
><path
fill-rule="evenodd"
clip-rule="evenodd"
d="M3.02844 4.80765C2.82624 3.76474 3.74237 2.84792 4.78543 3.04934L18.8251 5.76047C20.2263 6.03106 20.4936 7.92087 19.2223 8.56942L15.3709 10.5343L20.0022 15.1768C21.3191 16.4969 21.3234 18.6325 20.0117 19.9579C18.696 21.2874 16.5522 21.3007 15.2201 19.9876L10.5248 15.3594L8.55513 19.2215C7.90695 20.4924 6.01785 20.2261 5.7463 18.8255L3.02844 4.80765ZM5.13272 5.15336L7.4333 17.019L9.9839 12.0179L16.6241 18.5632C17.1707 19.102 18.0503 19.0966 18.5902 18.551C19.1284 18.0072 19.1266 17.131 18.5863 16.5893L12.0143 10.0015L17.0184 7.44855L5.13272 5.15336Z"
fill="${S}"
/></svg>
Total clicks
</span></div><div class="stats-card total-sessions-card"><strong class="total-sessions">-</strong><span class="stats-card-label"><svg
aria-hidden="true"
class="stats-card-icon"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
><path
fill-rule="evenodd"
clip-rule="evenodd"
d="M7 7.31673V16.683L16.3811 11.9999L7 7.31673ZM5 6.50828C5 5.39362 6.17268 4.66835 7.16998 5.16622L18.1705 10.6579C19.2772 11.2103 19.2772 12.7895 18.1705 13.342L7.16997 18.8335C6.17267 19.3314 5 18.6061 5 17.4914V6.50828Z"
fill="${S}"
/></svg>
Total sessions
</span></div><div class="stats-card unique-users-card"><strong class="unique-clicks">-</strong><span class="stats-card-label"><svg
aria-hidden="true"
class="stats-card-icon"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
><path
d="M16.9341 18C16.9774 18.3139 16.9998 18.6346 16.9998 18.9604C16.9998 19.3292 16.9358 19.6785 16.8193 20H20.9598C21.518 20 21.9998 19.5503 21.9998 18.9604C21.9998 16.2218 19.7797 14.0017 17.0411 14.0017H14.9232C15.5064 14.5759 15.9888 15.2523 16.3413 16.0017H17.0411C18.339 16.0017 19.4417 16.8374 19.8405 18H16.9341Z"
fill="${S}"
/><path
d="M13.5708 12.5667C14.1554 12.8445 14.8095 13 15.4998 13C17.9851 13 19.9998 10.9853 19.9998 8.5C19.9998 6.01472 17.9851 4 15.4998 4C14.8095 4 14.1554 4.15545 13.5708 4.43327C13.9896 4.95476 14.3295 5.54221 14.5727 6.17757C14.8594 6.06301 15.1722 6 15.4998 6C16.8805 6 17.9998 7.11929 17.9998 8.5C17.9998 9.88071 16.8805 11 15.4998 11C15.1722 11 14.8594 10.937 14.5727 10.8224C14.3295 11.4578 13.9896 12.0452 13.5708 12.5667Z"
fill="${S}"
/><path
fill-rule="evenodd"
clip-rule="evenodd"
d="M2 18.9604C2 16.2218 4.22009 14.0017 6.9587 14.0017H10.0413C12.7799 14.0017 15 16.2218 15 18.9604C15 19.5503 14.5182 20 13.9599 20H3.04007C2.4818 20 2 19.5503 2 18.9604ZM6.9587 16.0017C5.66084 16.0017 4.55815 16.8374 4.15936 18H12.8406C12.4418 16.8374 11.3392 16.0017 10.0413 16.0017H6.9587Z"
fill="${S}"
/><path
fill-rule="evenodd"
clip-rule="evenodd"
d="M8.5 13C10.9853 13 13 10.9853 13 8.5C13 6.01472 10.9853 4 8.5 4C6.01472 4 4 6.01472 4 8.5C4 10.9853 6.01472 13 8.5 13ZM11 8.5C11 9.88071 9.88071 11 8.5 11C7.11929 11 6 9.88071 6 8.5C6 7.11929 7.11929 6 8.5 6C9.88071 6 11 7.11929 11 8.5Z"
fill="${S}"
/></svg>
Unique users
</span></div></div></section><style>.stats-section{border-top:1px solid ${f};margin-top:16px;padding-top:14px;}.stats-section h3{color:${L};font-size:10pt;margin:0 0 10px;}.stats-cards{background:${b};border-radius:4px;display:flex;padding:12px 0;}.stats-card{align-items:center;border-right:1px solid ${f};color:${C};display:flex;flex:1;flex-direction:column;font-size:12px;gap:6px;min-width:0;text-align:center;}.stats-card:last-child{border-right:none;}.stats-card strong{align-items:center;color:${L};display:flex;font-size:11pt;height:18px;justify-content:center;line-height:18px;}.stats-card-label{align-items:center;display:flex;gap:2px;justify-content:center;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:100%;}.stats-card-icon{flex:0 0 14px;height:14px;width:14px;}</style>`,lt=".total-clicks",dt=".total-sessions",pt=".unique-clicks",ht=Z`<section class="tags-section"><h3 class="tag-section-heading">Select tags that best describe your element:</h3><div class="tag-table-frame"><table class="tag-table"><colgroup><col class="tag-checkbox-column" /><col class="tag-name-column" /><col class="tag-value-column" /></colgroup><thead><tr><th aria-label="Selected"></th><th>Tag</th><th>Value</th></tr></thead><tbody></tbody></table></div><p class="tag-selection-error" role="alert" hidden>Select at least one tag.</p><div class="tag-detail-card" role="dialog" aria-modal="true" hidden><div class="tag-detail-header"><strong class="tag-detail-title"></strong><button class="tag-detail-close" type="button" aria-label="Close detail">×</button></div><div class="tag-detail-value"></div><div class="tag-detail-actions"><span class="detail-copy-status" role="status"></span><button class="tag-detail-copy secondary" type="button"><svg
aria-hidden="true"
class="tag-detail-copy-icon"
width="14"
height="14"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
><path
fill-rule="evenodd"
clip-rule="evenodd"
d="M7.36865 4.00586C7.36865 3.45357 7.81637 3.00586 8.36865 3.00586H19.9942C20.5465 3.00586 20.9942 3.45357 20.9942 4.00586V15.6314C20.9942 16.1837 20.5465 16.6314 19.9942 16.6314H8.36865C7.81637 16.6314 7.36865 16.1837 7.36865 15.6314V4.00586ZM9.36865 14.6314V5.00586H18.9942V14.6314H9.36865Z"
fill="currentColor"
/><path
d="M5 8.58545C5 8.03316 4.55228 7.58545 4 7.58545C3.44772 7.58545 3 8.03316 3 8.58545V19.4999C3 20.3283 3.67157 20.9999 4.5 20.9999H15.4144C15.9667 20.9999 16.4144 20.5522 16.4144 19.9999C16.4144 19.4476 15.9667 18.9999 15.4144 18.9999H5V8.58545Z"
fill="currentColor"
/></svg>
Copy
</button></div></div></section><style>.tags-section h3{color:${L};font-size:13px;margin:12px 0 8px;}.tags-section{position:relative;}.tag-section-heading{align-items:center;display:flex;}.tag-table-frame{border:1px solid ${f};box-sizing:border-box;max-height:calc(37px * 3.5 + 34px);overflow-y:auto;position:relative;width:100%;}.tag-table{border-collapse:separate;border-spacing:0;font-size:12px;table-layout:fixed;width:100%;}.tag-checkbox-column{width:34px;}.tag-name-column{width:35%;}.tag-table th{position:sticky;top:0;background:${"#eeeeee"};color:${w};font-weight:700;padding:7px 6px;text-align:left;border-bottom:1px solid ${f};z-index:1;}.tag-table th:not(:last-child){border-right:1px solid ${f};}.tag-table td{border-bottom:1px solid ${f};color:${w};height:37px;padding:6px;vertical-align:middle;}.tag-table tr:last-child td{border-bottom:0;}.tag-row{cursor:pointer;}.tag-row:hover td{background:${"#eaf4ff"};}.tag-selection-error{color:${E};font-size:12px;margin:6px 0 0;}.tag-selection-error[hidden]{display:none;}.tag-table th,.tag-table td{box-sizing:border-box;min-width:0;}.tag-name,.tag-value{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.tags-section input[type='checkbox']{position:absolute;overflow:hidden;clip:rect(0 0 0 0);height:1px;width:1px;margin:-1px;padding:0;border:0;}.tags-section input[type='checkbox'] + label{position:relative;cursor:pointer;display:inline-flex;align-items:center;height:18px;width:18px;}.tags-section input[type='checkbox']:disabled + label{cursor:not-allowed;}.tags-section input[type='checkbox']:disabled:not(:checked) + label{opacity:0.55;}.tags-section input[type='checkbox'] + label::before{content:' ';display:inline-block;width:16px;height:16px;background-color:${y};border:1px solid ${"rgb(133, 133, 133)"};border-radius:4px;box-shadow:none;}.tags-section input[type='checkbox']:checked + label::before{background-color:${M.PRIMARY_COLOR};border-color:${M.PRIMARY_COLOR};}.tags-section input[type='checkbox']:checked + label::after{content:' ';background-image:url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMiIgaGVpZ2h0PSIxMiIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDEyIDEyIj48cGF0aCBzdHJva2U9IiNmZmYiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkPSJNMTAgMyA0LjUgOC41IDIgNiIvPjwvc3ZnPg==');background-repeat:no-repeat;background-size:12px 12px;background-position:center center;height:18px;left:0;position:absolute;top:0;width:18px;}.tag-detail-close,.tag-detail-copy{background:${y};border:1px solid ${g};border-radius:4px;color:${L};cursor:pointer;font:inherit;}.tag-detail-close:hover,.tag-detail-copy:hover{background:${M.BUTTON_HOVER_COLOR};}.tag-detail-card{background:${y};border-radius:4px;box-shadow:0 8px 20px ${T};box-sizing:border-box;color:${w};display:flex;flex-direction:column;font-size:10pt;left:-4px;line-height:1.4;max-height:192px;min-height:120px;opacity:0;overflow:auto;padding:10px 12px;position:absolute;right:-4px;top:20px;transform:translateY(-6px);transition:opacity 140ms ease-out,transform 160ms ease-out;z-index:2;}.tag-detail-card[hidden]{display:none;}.tag-detail-card.open{opacity:1;transform:translateY(0);}.tag-detail-card.closing{opacity:0;transform:translateY(-6px);}.tag-detail-header{align-items:center;display:flex;gap:8px;justify-content:space-between;margin-bottom:6px;}.tag-detail-title{color:${w};overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.tag-detail-close{border:0;flex:0 0 auto;font-size:15pt;line-height:1;padding:0 4px;}.tag-detail-value{flex:1;min-height:20px;overflow:auto;overflow-wrap:anywhere;}.tag-detail-actions{align-items:center;display:flex;gap:8px;justify-content:flex-end;margin-top:8px;}.tag-detail-copy{align-items:center;color:${p};display:inline-flex;font-weight:500;gap:4px;height:28px;padding:4px 8px;transition:background-color 0.2s ease-in-out,border-color 0.2s ease-in-out;}.tag-detail-copy-icon{flex:0 0 14px;height:14px;width:14px;}.detail-copy-status{color:${C};font-size:9pt;}@media (prefers-reduced-motion:reduce){.tag-detail-card{transition:none;}}</style>`,ft=".detail-copy-status",gt=".tag-detail-card",Et=".tag-detail-close",_t=".tag-detail-copy",mt=".tag-detail-title",vt=".tag-detail-value",Tt=".tag-selection-error",St=".tag-table tbody",yt={html:Z`<div class="skeleton-container"><img id="skeleton-img" src="${M.SKELETON_IMAGE_URL_OFF}" alt="Skeleton image off" /><div id="skeleton-content"><textarea class="selection-summary" readonly aria-hidden="true" tabindex="-1"></textarea>
${it} ${ht}
<div class="skeleton-track-title">
Track on:
${(({id:t,ariaLabel:e,className:r="",placement:n="right",text:i,tooltipClassName:o="",triggerClassName:s=""})=>Z`<span class="info-tooltip info-tooltip--${n} ${r}"><button
aria-describedby="${t}"
aria-label="${e}"
class="info-tooltip-trigger ${s}"
type="button"
>
ⓘ
</button><span class="info-tooltip-content ${o}" id="${t}" role="tooltip">${i}</span></span>`)({id:"track-on-info-tooltip",ariaLabel:"About URL tracking scope",className:"track-on-info",placement:"top-start",text:"Choose which URLs this event definition should track on",tooltipClassName:"track-on-info-tooltip",triggerClassName:"track-on-info-trigger"})}
</div>
${nt}
<div class="url-scope-value" role="status"></div>
${ct}
</div><div class="comment"></div></div><style>${et}.skeleton-container{display:flex;margin:12px 21px;flex-direction:column;color:${L};}.skeleton-container img{border:4px solid ${"#eff2f5"};border-radius:8px;margin:0 auto;width:312px;height:194px;box-sizing:border-box;}.skeleton-container textarea.selection-summary{background:${b};border-radius:4px;border:0;resize:none;flex:1;width:100%;padding:12px 8px;box-sizing:border-box;color:${w};display:none;}.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-track-title{align-items:center;display:flex;gap:4px;margin:20px 0 8px;font-weight:700;}.skeleton-container .url-scope-value{color:${C};font-size:9pt;margin-top:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.skeleton-container .url-scope-value.error{color:${E};}.skeleton-container .comment{color:${w};text-align:center;margin:12px 0;font-size:10pt;}</style>`,selectors:{comment:".comment",detailCopyStatus:ft,selectedUrlFilter:'input[name="url-filter"]:checked',skeletonContainer:".skeleton-container",skeletonImg:"#skeleton-img",tagDetailCard:gt,tagDetailClose:Et,tagDetailCopy:_t,tagDetailTitle:mt,tagDetailValue:vt,tagSelectionError:Tt,tagTableBody:St,textarea:"textarea",totalClicks:lt,totalSessions:dt,uniqueClicks:pt,urlScopeValue:".url-scope-value"}},bt=Z`<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:${p};border-radius:50%;transition:transform 0.3s ease;}.toggle-input:checked + .toggle-label{background-color:${M.PRIMARY_COLOR};border:1px solid ${M.PRIMARY_COLOR};}.toggle-input:checked + .toggle-label::before{background-color:${N};transform:translateX(20px);}.toggle-text{color:${p};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>`,Ot={html:Z`<style>.title-container{display:flex;border-bottom:1px solid ${f};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 ${M.PRIMARY_COLOR};outline-offset:2px;}</style><div class="title-container"><div class="logo-container">${rt}</div>
${bt}
</div>`,selectors:(i=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){var n;n=r[e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n})}return t}({},{toggleInput:".toggle-container input"}),o=o={container:".title-container",logo:".title-container .logo-container"},Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(o)):function(t){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e.push.apply(e,r)}return e}(Object(o)).forEach(function(t){Object.defineProperty(i,t,Object.getOwnPropertyDescriptor(o,t))}),i)};function At(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}let Rt=Z`<style>button,input,textarea{font-family:inherit;}</style><div id="picker-root">${[tt.html,Ot.html,yt.html,Q.html].join("\n")}</div>`;class wt{dispose(){this.cancelButton.removeEventListener("click",this.cancelHandler)}queryElement(t,e){let r=this.shadowRoot.querySelector(t);if(!r)throw Error(e);return r}get cancelButton(){return this.queryElement(Q.selectors.cancel,"Cancel button not found in shadow DOM")}get confirmButton(){return this.queryElement(Q.selectors.confirm,"Confirm button not found in shadow DOM")}get document(){return this.params.window.document}get logoContainer(){return this.queryElement(Ot.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(Ot.selectors.toggleInput,"Toggle element not found in shadow DOM")}get turnOnButton(){return this.queryElement(Q.selectors.turnOn,"Turn on button not found in shadow DOM")}get window(){return this.params.window}setActiveBorder(t){this.hostElement.style.borderColor=t?M.PICKER_BORDER_COLOR_ON:M.PICKER_BORDER_COLOR_OFF}setRootStyle(){let t=this.hostElement.style;t.position="fixed",t.top="0",t.left="0",t.width="400px",t.background=y,t.boxSizing="border-box",t.border=`3px solid ${M.PICKER_BORDER_COLOR_OFF}`,t.borderRadius="12px",t.fontSize="13px",t.fontFamily="system-ui, sans-serif",t.zIndex=M.PICKER_Z_INDEX.toString(),t.transition="border-color 200ms ease-in-out"}constructor(t){At(this,"params",void 0),At(this,"hostElement",void 0),At(this,"shadowRoot",void 0),At(this,"cancelHandler",void 0),this.params=t,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=Rt,this.cancelButton.addEventListener("click",this.cancelHandler)}}let Lt={html:Z`<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 Ct(t,e,r,n,i,o,s){try{var a=t[o](s),u=a.value}catch(t){return void r(t)}a.done?e(u):Promise.resolve(u).then(n,i)}function Pt(t){return function(){var e=this,r=arguments;return new Promise(function(n,i){var o=t.apply(e,r);function s(t){Ct(o,n,i,s,a,"next",t)}function a(t){Ct(o,n,i,s,a,"throw",t)}s(void 0)})}}function Nt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}let Mt="target_xpath",It="target_text",Dt="error";function xt(t){var e;let{dataAttributes:r,text:n,url:i,urlGroup:o,urlScope:s,xpath:a}=t;return JSON.stringify({dataAttributes:null!=(e=function(t){let e=Object.entries(null!=t?t:{});if(0!==e.length)return Object.fromEntries(e.sort(([t],[e])=>t.localeCompare(e)))}(r))?e:null,text:null!=n?n:null,url:null!=i?i:null,urlGroup:null!=o?o:null,urlScope:null!=s?s:null,xpath:null!=a?a:null})}class Ut extends wt{dispose(){var t;this.skeletonContainer.querySelectorAll('input[name="url-filter"]').forEach(t=>t.removeEventListener("change",this.handleUrlFilterChange)),this.sliderRangeElement.removeEventListener("input",this.handleSliderInput),this.sliderPrevButtonElement.removeEventListener("click",this.sliderPrevHandler),this.sliderNextButtonElement.removeEventListener("click",this.sliderNextHandler),this.tagTableBodyElement.removeEventListener("change",this.handleTagTableChange),this.tagTableBodyElement.removeEventListener("click",this.handleTagTableClick),this.tagDetailCloseButton.removeEventListener("click",this.closeTagDetail),this.tagDetailCopyButton.removeEventListener("click",this.copyTagDetailValue),null==(t=this.cleanupUrlChangeListener)||t.call(this),this.statsUpdateDebounceTimer&&clearTimeout(this.statsUpdateDebounceTimer),this.tooltipTimer&&clearTimeout(this.tooltipTimer),this.clearCopyStatusTimer(),this.clearTagDetailCloseTimer(),this.clearTagDetailOpenFrame(),super.dispose()}get commentElement(){return this.queryElement(yt.selectors.comment,"Comment element not found in shadow DOM")}get skeletonImgElement(){return this.queryElement(yt.selectors.skeletonImg,"Skeleton image element not found in shadow DOM")}get selectedUrlFilter(){return this.queryElement(yt.selectors.selectedUrlFilter,"Selected URL filter not found in shadow DOM")}get selectedElement(){if(!this.elementPath.length)throw Error("No element selected");let t=Number.parseInt(this.sliderRangeElement.value),e=Math.min(Math.max(t,0),this.elementPath.length-1);e!==t&&(this.sliderRangeElement.value=e.toString());let r=this.elementPath[e];if(!r)throw Error("No element selected at the specified index");return r}get sliderRangeElement(){return this.queryElement(at,"Slider range element not found in shadow DOM")}get textareaElement(){return this.queryElement(yt.selectors.textarea,"Textarea element not found in shadow DOM")}get totalClicksElement(){return this.queryElement(yt.selectors.totalClicks,"Total clicks element not found")}get skeletonContainer(){return this.queryElement(yt.selectors.skeletonContainer,"Skeleton container not found in shadow DOM")}get uniqueClicksElement(){return this.queryElement(yt.selectors.uniqueClicks,"Unique clicks element not found")}canConfirm(){return this.hasSelectedTag()&&("url-group"!==this.selectedUrlFilter.value||!!this.urlGroup&&!this.urlGroupPending)}getStatsForSelectedElement(){if(!this.elementPath.length)return;let t=xt(this.buildStatsParams());return this.statsCache.get(t)}hasSelectedTag(){return[...this.tagTableBodyElement.querySelectorAll('input[type="checkbox"]')].some(t=>t.checked)}clearCopyStatusTimer(){this.copyStatusTimer&&(clearTimeout(this.copyStatusTimer),this.copyStatusTimer=void 0)}clearTagDetailCloseTimer(){this.tagDetailCloseTimer&&(clearTimeout(this.tagDetailCloseTimer),this.tagDetailCloseTimer=void 0)}clearTagDetailOpenFrame(){void 0!==this.tagDetailOpenFrame&&(this.window.cancelAnimationFrame(this.tagDetailOpenFrame),this.tagDetailOpenFrame=void 0)}get sliderNextButtonElement(){return this.queryElement(ot,"Slider next button not found in shadow DOM")}get sliderPrevButtonElement(){return this.queryElement(st,"Slider prev button not found in shadow DOM")}get tagDetailCopyStatusElement(){return this.queryElement(yt.selectors.detailCopyStatus,"Tag detail copy status not found")}get tagDetailCardElement(){return this.queryElement(yt.selectors.tagDetailCard,"Tag detail card not found")}get tagDetailCloseButton(){return this.queryElement(yt.selectors.tagDetailClose,"Tag detail close button not found")}get tagDetailCopyButton(){return this.queryElement(yt.selectors.tagDetailCopy,"Tag detail copy button not found")}get tagDetailTitleElement(){return this.queryElement(yt.selectors.tagDetailTitle,"Tag detail title not found")}get tagDetailValueElement(){return this.queryElement(yt.selectors.tagDetailValue,"Tag detail value not found")}get tagSelectionErrorElement(){return this.queryElement(yt.selectors.tagSelectionError,"Tag selection error not found")}get tagTableBodyElement(){return this.queryElement(yt.selectors.tagTableBody,"Tag table body not found")}get totalSessionsElement(){return this.queryElement(yt.selectors.totalSessions,"Total sessions element not found")}get urlScopeValueElement(){return this.queryElement(yt.selectors.urlScopeValue,"URL scope value element not found")}get xpathTooltipElement(){return this.queryElement(ut,"XPath tooltip element not found")}createCheckbox(t){let e=this.document.createElement("td"),r=this.document.createElement("input");r.checked=t.checked,r.id=`picker-${t.id}`,r.type="checkbox";let n=this.document.createElement("label");return n.htmlFor=r.id,n.setAttribute("aria-label",`Select ${t.tag}`),e.append(r,n),e}createTagRows(t,e){var r,n,i;let o=this.selectedElement,s=this.getTagCheckedStates(),a=[{id:Mt,checked:null==(r=s.get(Mt))||r,tag:"target_xpath",value:t}];for(let[t,r]of(e&&a.push({id:It,checked:null==(n=s.get(It))||n,tag:"target_text",value:e}),Object.entries(this.getAllowedElementDataAttributes(o))))a.push({id:t,checked:null!=(i=s.get(t))&&i,tag:`element.dataset.${t.slice(5).replaceAll(/-([a-z])/g,(t,e)=>e.toUpperCase())}`,value:r});return a}evictCacheIfNeeded(){for(;this.statsCache.size>Ut.MAX_CACHE_SIZE;){let t=this.statsCache.keys().next().value;if(!t)break;this.statsCache.delete(t)}}fetchStatsIfNeeded(){return Pt(function*(){let t=this.buildStatsParams();this.showLoadingState();let e=xt(t),r=this.inFlightStats.get(e);if(r)return r;try{let r=this.params.getStats(t).then(t=>{var r;return this.updateStatsCache(e,t),null!=(r=this.getStatsForSelectedElement())?r:{total:0,unique:0}}).catch(t=>(d.error("Failed to retrieve stats:",t),{total:0,unique:0})).finally(()=>{this.inFlightStats.delete(e)});return this.inFlightStats.set(e,r),yield r}catch(t){throw this.inFlightStats.delete(e),t}}).call(this)}getAllowedElementDataAttributes(t){if(!this.params.getElementDataAttributes)return{};try{let e=this.params.getElementDataAttributes(t),r={};for(let[t,n]of Object.entries(e))t.startsWith("data-")&&"string"==typeof n&&(r[t]=n);return r}catch(t){return d.warn("Picker: failed to get element data attributes:",t),{}}}getConfirmErrorText(){if(!this.hasSelectedTag())return"Select at least one tag."}getCurrentUrl(){let t=new URL(this.window.location.href);return t.searchParams.delete(I),t.toString()}getSelectedDataAttributes(){let t={};for(let[e,r]of Object.entries(this.getAllowedElementDataAttributes(this.selectedElement)))this.isTagChecked(e)&&(t[e]=r);return t}getTagCheckedStates(){let t=new Map;for(let e of this.tagTableBodyElement.querySelectorAll(".tag-row")){let r=e.dataset.tagId,n=e.querySelector('input[type="checkbox"]');r&&n&&t.set(r,n.checked)}return t}hideTagDetailImmediately(){this.clearTagDetailCloseTimer(),this.clearTagDetailOpenFrame(),this.tagDetailCardElement.classList.remove("open","closing"),this.tagDetailCardElement.hidden=!0,this.tagDetailTitleElement.textContent="",this.tagDetailValueElement.textContent="",this.setCopyStatus("")}isTagChecked(t,e=!1){var r;let n=[...this.tagTableBodyElement.querySelectorAll(".tag-row")].find(e=>e.dataset.tagId===t),i=null==n?void 0:n.querySelector('input[type="checkbox"]');return null!=(r=null==i?void 0:i.checked)?r:e}openTagDetail(t){this.clearTagDetailCloseTimer(),this.clearTagDetailOpenFrame(),this.tagDetailTitleElement.textContent=t.tag,this.tagDetailValueElement.textContent=t.value,this.setCopyStatus(""),this.tagDetailCardElement.hidden=!1,this.tagDetailCardElement.classList.remove("open","closing"),this.tagDetailOpenFrame=this.window.requestAnimationFrame(()=>{this.tagDetailOpenFrame=void 0,this.tagDetailCardElement.classList.add("open")})}renderTagRows(t){for(let e of(this.currentTagRows=t,this.tagTableBodyElement.textContent="",t)){let t=this.document.createElement("tr");t.className="tag-row",t.dataset.tagId=e.id;let r=this.document.createElement("td"),n=this.document.createElement("span");n.className="tag-name",n.textContent=e.tag,r.append(n);let i=this.document.createElement("td"),o=this.document.createElement("span");o.className="tag-value",o.textContent=e.value,i.append(o),t.append(this.createCheckbox(e),r,i),this.tagTableBodyElement.append(t)}this.updateConfirmState(),this.hideTagDetailImmediately()}resetStatsDisplay(){this.totalClicksElement.textContent="-",this.totalSessionsElement.textContent="-",this.uniqueClicksElement.textContent="-"}scheduleCopyStatusClear(){this.copyStatusTimer=setTimeout(()=>{this.copyStatusTimer=void 0,this.setCopyStatus("")},2e3)}scheduleStatsUpdate(){this.statsUpdateDebounceTimer&&clearTimeout(this.statsUpdateDebounceTimer),this.statsUpdateDebounceTimer=setTimeout(()=>{this.statsUpdateDebounceTimer=void 0,this.updateSelectedElementStats()},500)}setCopyStatus(t){this.clearCopyStatusTimer(),this.tagDetailCopyStatusElement.textContent=t}setUrlGroup(t){let e=null==t?void 0:t.trim();this.urlGroup=e||void 0,this.updateUrlScopeValue(),this.updateConfirmState()}showLoadingState(){this.totalClicksElement.innerHTML=Lt.html,this.totalSessionsElement.innerHTML=Lt.html,this.uniqueClicksElement.innerHTML=Lt.html}showXPathTooltip(t){this.xpathTooltipElement.textContent=t,this.xpathTooltipElement.classList.add("show"),this.tooltipTimer&&clearTimeout(this.tooltipTimer),this.tooltipTimer=setTimeout(()=>{this.xpathTooltipElement.classList.remove("show"),this.tooltipTimer=void 0},5e3)}updateConfirmState(){let t=this.canConfirm(),e=this.getConfirmErrorText();return this.confirmButton.disabled=!t,this.tagSelectionErrorElement.textContent=null!=e?e:"",this.tagSelectionErrorElement.hidden=void 0===e,t}updateSelectedElementDisplay({showTooltip:t}){if(!this.elementPath.length)return;let e=this.selectedElement;this.highlightElement(e);let r=this.params.getElementXPath(e),n=this.params.getElementText(e);this.renderTagRows(this.createTagRows(r,n)),this.updateSelectionSummary(),this.updateUrlScopeValue(),t&&this.showXPathTooltip(r)}updateSelectionSummary(){if(!this.elementPath.length)return;let{dataAttributes:t,text:e,xpath:r}=this.buildStatsParams(),n=null!=r?r:Object.entries(null!=t?t:{}).map(([t,e])=>`${t}: ${e}`).join("\n");e&&(n+=`\n\n${e}`),this.textareaElement.value=n,this.textareaElement.scrollTop=this.textareaElement.scrollHeight}updateStatsCache(t,e){var r;let n=null!=(r=this.statsCache.get(t))?r:{};this.statsCache.set(t,function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){Nt(t,e,r[e])})}return t}({},n,e)),this.evictCacheIfNeeded()}updateStatsDisplay(t){this.totalClicksElement.textContent=t.total.toString(),this.totalSessionsElement.textContent=void 0===t.sessions?"-":t.sessions.toString(),this.uniqueClicksElement.textContent=void 0===t.unique?"-":t.unique.toString()}updateUrlGroup(){return Pt(function*(t=this.getCurrentUrl()){this.urlGroupLookupId+=1;let e=this.urlGroupLookupId;if(this.urlGroupPending=!0,this.setUrlGroup(),!this.params.getUrlGroup)return this.urlGroupPending=!1,void this.setUrlGroup();try{let r=yield this.params.getUrlGroup(t);if(e!==this.urlGroupLookupId)return;this.urlGroupPending=!1,this.setUrlGroup(r),"url-group"===this.selectedUrlFilter.value&&this.updateSelectedElementStats()}catch(t){if(e!==this.urlGroupLookupId)return;d.warn("Picker: failed to get URL group:",t),this.urlGroupPending=!1,this.setUrlGroup(),"url-group"===this.selectedUrlFilter.value&&this.updateSelectedElementStats()}}).apply(this,arguments)}updateUrlScopeValue(){if(this.urlScopeValueElement.classList.remove(Dt),"this-url"!==this.selectedUrlFilter.value)return"url-group"===this.selectedUrlFilter.value?this.urlGroupPending?void(this.urlScopeValueElement.textContent="Loading..."):this.urlGroup?void(this.urlScopeValueElement.textContent=this.urlGroup):(this.urlScopeValueElement.textContent="No URL Group available",void this.urlScopeValueElement.classList.add(Dt)):void(this.urlScopeValueElement.textContent="");this.urlScopeValueElement.textContent=this.getCurrentUrl()}constructor(t){var e;super(t),e=this,Nt(this,"elementPath",[]),Nt(this,"lastTarget",void 0),Nt(this,"boxShadowBackup",void 0),Nt(this,"cleanupUrlChangeListener",void 0),Nt(this,"copyStatusTimer",void 0),Nt(this,"currentTagRows",[]),Nt(this,"inFlightStats",new Map),Nt(this,"statsCache",new Map),Nt(this,"statsUpdateDebounceTimer",void 0),Nt(this,"tagDetailCloseTimer",void 0),Nt(this,"tagDetailOpenFrame",void 0),Nt(this,"tooltipTimer",void 0),Nt(this,"urlGroup",void 0),Nt(this,"urlGroupLookupId",0),Nt(this,"urlGroupPending",!1),Nt(this,"urlGroupUrl",this.getCurrentUrl()),Nt(this,"buildConfirmParams",()=>this.buildStatsParams()),Nt(this,"buildStatsParams",()=>{let t,e,r;"this-url"===this.selectedUrlFilter.value&&(t=this.getCurrentUrl()),"url-group"===this.selectedUrlFilter.value&&this.urlGroup&&(e=this.urlGroup,r="url-group");let n=this.params.getElementXPath(this.selectedElement),i=this.params.getElementText(this.selectedElement),o=""!==i,s=this.isTagChecked(It,o)&&o?i:void 0,a=this.getSelectedDataAttributes(),u={text:s,url:t,urlGroup:e,urlScope:r};return this.isTagChecked(Mt,!0)&&(u.xpath=n),Object.keys(a).length>0&&(u.dataAttributes=a),u}),Nt(this,"clearHighlight",()=>{this.lastTarget&&(this.lastTarget.style.boxShadow=this.boxShadowBackup||"",this.lastTarget=void 0,this.boxShadowBackup=void 0)}),Nt(this,"highlightElement",t=>{this.lastTarget&&(this.lastTarget.style.boxShadow=this.boxShadowBackup||""),this.lastTarget=t,this.boxShadowBackup=this.lastTarget.style.boxShadow,this.lastTarget.style.boxShadow=`0 0 8px 3px ${M.HOVER_COLOR}`}),Nt(this,"updateSelectedElementStats",()=>Pt(function*(){if(!e.elementPath.length)return;if(!e.canConfirm())return void e.resetStatsDisplay();let t=xt(e.buildStatsParams()),r=e.statsCache.get(t);r||(r=yield e.fetchStatsIfNeeded()),e.elementPath.length&&(e.canConfirm()?xt(e.buildStatsParams())===t&&e.updateStatsDisplay(r):e.resetStatsDisplay())})()),Nt(this,"updateTextarea",t=>{var e;let r=null==(e=null==t?void 0:t.showTooltip)||e;this.updateSelectedElementDisplay({showTooltip:r})}),Nt(this,"closeTagDetail",()=>{this.clearTagDetailCloseTimer(),this.clearTagDetailOpenFrame(),this.tagDetailCardElement.hidden?this.hideTagDetailImmediately():(this.tagDetailCardElement.classList.remove("open"),this.tagDetailCardElement.classList.add("closing"),this.setCopyStatus(""),this.tagDetailCloseTimer=setTimeout(()=>{this.tagDetailCloseTimer=void 0,this.hideTagDetailImmediately()},160))}),Nt(this,"copyTagDetailValue",()=>Pt(function*(){var t,r;let n=null!=(t=e.tagDetailValueElement.textContent)?t:"",i=null==(r=e.window.navigator.clipboard)?void 0:r.writeText.bind(e.window.navigator.clipboard);if(i)try{yield i(n),e.setCopyStatus("Copied"),e.scheduleCopyStatusClear()}catch(t){e.setCopyStatus("Copy failed")}else e.setCopyStatus("Copy failed")})()),Nt(this,"handleSliderInput",()=>{this.elementPath.length&&(this.updateSelectedElementDisplay({showTooltip:!0}),this.scheduleStatsUpdate())}),Nt(this,"handleTagTableChange",t=>{let e=t.target;e instanceof HTMLInputElement&&"checkbox"===e.type&&(this.updateConfirmState(),this.updateSelectionSummary(),this.updateSelectedElementStats())}),Nt(this,"handleTagTableClick",t=>{let e=t.target;if(!(e instanceof Element)||e.closest('input[type="checkbox"], label'))return;let r=e.closest(".tag-row"),n=null==r?void 0:r.dataset.tagId;if(!n)return;let i=this.currentTagRows.find(t=>t.id===n);i&&this.openTagDetail(i)}),Nt(this,"handleUrlChange",()=>{let t=this.getCurrentUrl();t!==this.urlGroupUrl&&(this.urlGroupUrl=t,this.updateUrlScopeValue(),"this-url"===this.selectedUrlFilter.value&&this.updateSelectedElementStats(),this.updateUrlGroup(t))}),Nt(this,"handleUrlFilterChange",()=>{this.updateUrlScopeValue(),this.updateConfirmState(),this.updateSelectedElementStats()}),Nt(this,"sliderNextHandler",()=>{let t=Math.min(Number.parseInt(this.sliderRangeElement.max),Number.parseInt(this.sliderRangeElement.value)+1);this.sliderRangeElement.value=t.toString(),this.updateSelectedElementDisplay({showTooltip:!0}),this.updateSelectedElementStats()}),Nt(this,"sliderPrevHandler",()=>{let t=Math.max(0,Number.parseInt(this.sliderRangeElement.value)-1);this.sliderRangeElement.value=t.toString(),this.updateSelectedElementDisplay({showTooltip:!0}),this.updateSelectedElementStats()}),this.skeletonContainer.querySelectorAll('input[name="url-filter"]').forEach(t=>t.addEventListener("change",this.handleUrlFilterChange)),this.sliderRangeElement.addEventListener("input",this.handleSliderInput),this.sliderPrevButtonElement.addEventListener("click",this.sliderPrevHandler),this.sliderNextButtonElement.addEventListener("click",this.sliderNextHandler),this.tagTableBodyElement.addEventListener("change",this.handleTagTableChange),this.tagTableBodyElement.addEventListener("click",this.handleTagTableClick),this.tagDetailCloseButton.addEventListener("click",this.closeTagDetail),this.tagDetailCopyButton.addEventListener("click",this.copyTagDetailValue),this.cleanupUrlChangeListener=function(t,e){let r=!0,n=t.location.href,{history:i}=t,o=i.pushState,s=i.replaceState,a=()=>{r&&t.location.href!==n&&(n=t.location.href,e())},u=function(...t){o.apply(this,t),a()},c=function(...t){s.apply(this,t),a()};return i.pushState=u,i.replaceState=c,t.addEventListener("popstate",a),t.addEventListener("hashchange",a),()=>{r&&(r=!1,i.pushState===u&&(i.pushState=o),i.replaceState===c&&(i.replaceState=s),t.removeEventListener("popstate",a),t.removeEventListener("hashchange",a))}}(this.window,this.handleUrlChange),this.updateUrlGroup()}}function kt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}Nt(Ut,"MAX_CACHE_SIZE",100);class jt extends Ut{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)}updatePosition(t,e){this.top=Math.max(0,this.startTop+(e-this.startClientY)),this.left=Math.max(0,this.startLeft+(t-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(t){super(t),kt(this,"dragPointerId",null),kt(this,"handleElement",void 0),kt(this,"left",0),kt(this,"startClientX",0),kt(this,"startClientY",0),kt(this,"startLeft",0),kt(this,"startTop",0),kt(this,"top",0),kt(this,"handlePointerDown",t=>{t.isPrimary&&null===this.dragPointerId&&(t.preventDefault(),this.dragPointerId=t.pointerId,this.startClientX=t.clientX,this.startClientY=t.clientY,this.startTop=this.top,this.startLeft=this.left,this.handleElement.setPointerCapture(this.dragPointerId),this.logoContainer.setPointerCapture(this.dragPointerId))}),kt(this,"handlePointerEnd",t=>{t.pointerId===this.dragPointerId&&this.stopDragging()}),kt(this,"handlePointerMove",t=>{t.pointerId===this.dragPointerId&&this.updatePosition(t.clientX,t.clientY)}),this.handleElement=this.queryElement(".handle","Handle element not found in shadow DOM"),this.attachDragEvents()}}function Bt(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Vt extends jt{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 t=this.clickedElement;if(!t)return;for(this.elementPath=[],this.elementPath.push(t);t.parentElement;)t=t.parentElement,this.elementPath.push(t);this.elementPath.reverse();let e=(this.elementPath.length-1).toString();this.sliderRangeElement.max=e,this.sliderRangeElement.value=e}handleElementSelection(t){this.clickedElement=t,this.rootElement.classList.add("show-content"),this.composeElementPath(),this.updateTextareaSize(),this.updateTextarea(),this.updateSelectedElementStats()}setCommentText(t){for(let[e,r]of(this.commentElement.textContent="",t.split("<br>").entries()))e>0&&this.commentElement.append(this.document.createElement("br")),this.commentElement.append(this.document.createTextNode(r))}updateTextareaSize(){let{dataAttributes:t,text:e,xpath:r}=this.buildStatsParams(),n=Math.ceil((null!=r?r:Object.entries(null!=t?t:{}).map(([t,e])=>`${t}: ${e}`).join("\n")).length/38);e&&(n+=1+Math.ceil(e.length/38)),this.textareaElement.rows=Math.min(5,n)}constructor(t){super(t),Bt(this,"clickedElement",void 0),Bt(this,"hoveringOverPicker",!1),Bt(this,"handleClick",t=>{t.target!==this.hostElement&&(t.preventDefault(),t.stopPropagation(),this.handleElementSelection(t.target))}),Bt(this,"handleConfirmClick",()=>{if(!this.canConfirm())return;let t=this.buildConfirmParams();this.params.onConfirm(t)}),Bt(this,"handleMouseMove",t=>{let e=t.target;if(e&&this.lastTarget!==e){if(e===this.hostElement||this.hostElement.contains(e))return void(!this.hoveringOverPicker&&this.clickedElement&&(this.hoveringOverPicker=!0,this.updateTextarea({showTooltip:!1})));this.hoveringOverPicker=!1,e instanceof HTMLElement&&this.highlightElement(e)}}),Bt(this,"handleToggleChange",()=>{this.toggleElement.checked?this.handleTurnOn():this.handleTurnOff()}),Bt(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=M.SKELETON_IMAGE_URL_OFF,this.rootElement.classList.remove("show-content","turned-on"),this.setActiveBorder(!1),this.document.removeEventListener("mousemove",this.handleMouseMove,!0),this.document.removeEventListener("click",this.handleClick,!0),this.clearHighlight()}),Bt(this,"handleTurnOn",()=>{this.toggleElement.checked=!0,this.rootElement.classList.add("turned-on"),this.setActiveBorder(!0),this.skeletonImgElement.src=M.SKELETON_IMAGE_URL_ON,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 Gt=()=>window.name===I||window.location.search.includes(`${I}=1`)||window.location.search.includes("smartlook-web-element-picker=1")||"1"===(t=>{let e=null;try{e=window.sessionStorage.getItem(t)}catch(t){}return e})(I);function Ft(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class Ht{dispose(){this.stopMonitoring(),this.removeMessageListener()}createStatsSetter(t){return e=>{if(!this.pickerWindow.closed)try{var r,n,i;this.pickerWindow.postMessage((r={requestId:t.requestId,stats:e,xpath:t.xpath},n=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){var n;n=r[e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n})}return t}({},r),i=i={type:B},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):function(t){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e.push.apply(e,r)}return e}(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))}),n),this.url.origin)}catch(t){d.error("Picker: failed to send stats message:",t)}}}createUrlGroupSetter(t){return e=>{if(!this.pickerWindow.closed)try{var r,n,i;this.pickerWindow.postMessage((r={requestId:t.requestId,urlGroup:e},n=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){var n;n=r[e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n})}return t}({},r),i=i={type:V},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):function(t){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e.push.apply(e,r)}return e}(Object(i)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(i,t))}),n),this.url.origin)}catch(t){d.error("Picker: failed to send url group message:",t)}}}handleMessage(t){var e,r,n,i;if(null!==(e=t.data)&&"object"==typeof e&&e.type===x&&(void 0===e.xpath||"string"==typeof e.xpath)&&(void 0===e.text||"string"==typeof e.text)&&(void 0===e.url||"string"==typeof e.url)&&H({urlGroup:e.urlGroup,urlScope:e.urlScope})&&(void 0===e.dataAttributes||D(e.dataAttributes))&&G(e)&&this.callbacks.onConfirm(t.data),null!==(r=t.data)&&"object"==typeof r&&r.type===k&&(void 0===r.xpath||"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)&&H({urlGroup:r.urlGroup,urlScope:r.urlScope})&&(void 0===r.dataAttributes||D(r.dataAttributes))&&G(r)&&this.callbacks.onGetStats(t.data,this.createStatsSetter(t.data)),null!==(n=t.data)&&"object"==typeof n&&n.type===j&&"string"==typeof n.url&&(void 0===n.requestId||"string"==typeof n.requestId)){let e=this.createUrlGroupSetter(t.data);this.callbacks.onGetUrlGroup?this.callbacks.onGetUrlGroup(t.data.url,e):e()}null!==(i=t.data)&&"object"==typeof i&&i.type===U&&1===Object.keys(i).length&&this.callbacks.onConnect()}isMessageFromPickerWindow(t){return t.source===this.pickerWindow&&t.origin===this.url.origin}removeMessageListener(){this.messageListener&&(window.removeEventListener("message",this.messageListener),this.messageListener=null)}setupMessageListener(){this.messageListener=t=>{this.isMessageFromPickerWindow(t)&&this.handleMessage(t)},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(t,e,r){Ft(this,"callbacks",void 0),Ft(this,"intervalId",void 0),Ft(this,"messageListener",void 0),Ft(this,"pickerWindow",void 0),Ft(this,"url",void 0),this.callbacks=r,this.intervalId=null,this.messageListener=null,this.pickerWindow=t,this.url=e,this.startMonitoring(),this.setupMessageListener()}}let Wt=({onClose:t,onConfirm:e,onConnect:r,onGetStats:n,onGetUrlGroup:i,url:o})=>{d.setLoggingLevel("warn");let s=new URL(o);s.searchParams.set(I,"1");let a=window.open(s,I);if(!a)throw Error("Failed to open picker window");return new Ht(a,s,{onClose:t,onConfirm:e,onConnect:r,onGetStats:n,onGetUrlGroup:i})},Yt=t=>{var e;return null!=(e=t.opener)?e:null},Xt=t=>{var e,r;d.setLoggingLevel("warn"),(t=>{try{return window.sessionStorage.setItem(t,"1"),!0}catch(t){return!1}})(I);let n=new URL(document.referrer).origin,i=qt(n),o=new J(window,n,Yt,i),s=new Vt((e=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){var n;n=r[e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n})}return t}({},t),r=r={getStats:o.getStatsHandler(),getUrlGroup:o.getUrlGroupHandler(),onConfirm:t=>{var e,r;i(window,(e=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),n.forEach(function(e){var n;n=r[e],e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n})}return t}({},t),r=r={type:x},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):function(t){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e.push.apply(e,r)}return e}(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}),e)),window.setTimeout(()=>window.close())},onConnect:()=>{i(window,{type:U})},rootElement:window.document.body,window:window},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):function(t){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e.push.apply(e,r)}return e}(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}),e)),a=s.dispose.bind(s);s.dispose=()=>{o.dispose(),a()}},qt=t=>(e,r)=>{let n=Yt(e);if(n)if(n.closed)d.warn("Picker: opener window already closed");else try{n.postMessage(r,t)}catch(t){d.error("Picker: failed to send postMessage:",t)}else d.warn("Picker: no opener window available for postMessage")};var zt=u.$,Kt=u.Fn,$t=u.Xe}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={exports:{}};return t[n].call(o.exports,o,o.exports,r),o.exports}r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n=r(2465);module.exports=n})();
//# sourceMappingURL=/sm/24200396229a9eee2803737801353209ad8e790f0acfd1a832cd0c8625df0d4b.map