1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9354],{17027:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{cancelIdleCallback:function(){return r},requestIdleCallback:function(){return n}});let n="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},r="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},24859:(e,t,n)=>{function r(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}return e}n.d(t,{A:()=>o});var o=function e(t,n){function o(e,o,i){if("undefined"!=typeof document){"number"==typeof(i=r({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var a in i)i[a]&&(s+="; "+a,!0!==i[a]&&(s+="="+i[a].split(";")[0]));return document.cookie=e+"="+t.write(o,e)+s}}return Object.create({set:o,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){var i=n[o].split("="),s=i.slice(1).join("=");try{var a=decodeURIComponent(i[0]);if(r[a]=t.read(s,a),e===a)break}catch(e){}}return e?r[e]:r}},remove:function(e,t){o(e,"",r({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,r({},this.attributes,t))},withConverter:function(t){return e(r({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},36704:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return v},handleClientScriptLoad:function(){return y},initScriptLoader:function(){return m}});let r=n(23023),o=n(53420),i=n(80868),s=r._(n(7011)),a=o._(n(77032)),l=n(79619),u=n(3175),c=n(17027),d=n(78715),f=new Map,p=new Set,g=e=>{let{src:t,id:n,onLoad:r=()=>{},onReady:o=null,dangerouslySetInnerHTML:i,children:a="",strategy:l="afterInteractive",onError:c,stylesheets:d}=e,g=n||t;if(g&&p.has(g))return;if(f.has(t)){p.add(g),f.get(t).then(r,c);return}let y=()=>{o&&o(),p.add(g)},m=document.createElement("script"),h=new Promise((e,t)=>{m.addEventListener("load",function(t){e(),r&&r.call(this,t),y()}),m.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});i?(m.innerHTML=i.__html||"",y()):a?(m.textContent="string"==typeof a?a:Array.isArray(a)?a.join(""):"",y()):t&&(m.src=t,f.set(t,h)),(0,u.setAttributesFromProps)(m,e),"worker"===l&&m.setAttribute("type","text/partytown"),m.setAttribute("data-nscript",l),d&&(e=>{if(s.default.preinit)return e.forEach(e=>{s.default.preinit(e,{as:"style"})});{let t=document.head;e.forEach(e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)})}})(d),document.body.appendChild(m)};function y(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>g(e))}):g(e)}function m(e){e.forEach(y),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");p.add(t)})}function h(e){let{id:t,src:n="",onLoad:r=()=>{},onReady:o=null,strategy:u="afterInteractive",onError:f,stylesheets:y,...m}=e,{updateScripts:h,scripts:v,getIsSsr:b,appDir:w,nonce:S}=(0,a.useContext)(l.HeadManagerContext);S=m.nonce||S;let _=(0,a.useRef)(!1);(0,a.useEffect)(()=>{let e=t||n;_.current||(o&&e&&p.has(e)&&o(),_.current=!0)},[o,t,n]);let C=(0,a.useRef)(!1);if((0,a.useEffect)(()=>
1{if(!C.current){if("afterInteractive"===u)g(e);else"lazyOnload"===u&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>g(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>g(e))}));C.current=!0}},[e,u]),("beforeInteractive"===u||"worker"===u)&&(h?(v[u]=(v[u]||[]).concat([{id:t,src:n,onLoad:r,onReady:o,onError:f,...m,nonce:S}]),h(v)):b&&b()?p.add(t||n):b&&!b()&&g({...e,nonce:S})),w){if(y&&y.forEach(e=>{s.default.preinit(e,{as:"style"})}),"beforeInteractive"===u)if(!n)return m.dangerouslySetInnerHTML&&(m.children=m.dangerouslySetInnerHTML.__html,delete m.dangerouslySetInnerHTML),(0,i.jsx)("script",{nonce:S,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+(0,d.htmlEscapeJsonString)(JSON.stringify([0,{...m,id:t}]))+")"}});else return s.default.preload(n,m.integrity?{as:"script",integrity:m.integrity,nonce:S,crossOrigin:m.crossOrigin}:{as:"script",nonce:S,crossOrigin:m.crossOrigin}),(0,i.jsx)("script",{nonce:S,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+(0,d.htmlEscapeJsonString)(JSON.stringify([n,{...m,id:t}]))+")"}});"afterInteractive"===u&&n&&s.default.preload(n,m.integrity?{as:"script",integrity:m.integrity,nonce:S,crossOrigin:m.crossOrigin}:{as:"script",nonce:S,crossOrigin:m.crossOrigin})}return null}Object.defineProperty(h,"__nextScript",{value:!0});let v=h;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},76512:(e,t,n)=>{var r;let o,i,s,a,l,u,c,d,f;n.d(t,{yf:()=>t0});let p={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},g=console,y={};Object.keys(p).forEach(e=>{y[e]=g[e]});let m="Datadog Browser SDK:",h={debug:y.debug.bind(g,m),log:y.log.bind(g,m),info:y.info.bind(g,m),warn:y.warn.bind(g,m),error:y.error.bind(g,m)},v="https://docs.datadoghq.com",b=`${v}/real_user_monitoring/browser/troubleshooting`,w="More details:";function S(e,t){return(...n)=>{try{return e(...n)}catch(e){h.error(t,e)}}}let _=!1;function C(e){_=e}function x(e){return function(){return k(e,this,arguments)}}function k(e,t,n){try{return e.apply(t,n)}catch(e){E(e)}}function E(e){if(O(e),o)try{o(e)}catch(e){O(e)}}function O(...e){_&&h.error("[MONITOR]",...e)}function R(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get(){return this},configurable:!0});let e=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof e&&(e="object"==typeof self?self:"object"==typeof window?window:{}),e}function T(e){return null===e?"null":Array.isArray(e)?"array":typeof e}function $(e,t,n=function(){if("undefined"!=typeof WeakSet){let e=new WeakSet;return{hasAlreadyBeenSeen(t){let n=e.has(t);return n||e.add(t),n}}}let e=[];return{hasAlreadyBeenSeen(t){let n=e.indexOf(t)>=0;return n||e.push(t),n}}}()){if(void 0===t)return e;if("object"!=typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){let e=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,e)}if(n.hasAlreadyBeenSeen(t))return;if(Array.isArray(t)){let r=Array.isArray(e)?e:[];for(let e=0;e<t.length;++e)r[e]=$(r[e],t[e],n);return r}let r="object"===T(e)?e:{};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=$(r[e],t[e],n));return r}function I(...e){let t;for(let n of e)null!=n&&(t=$(t,n));return t}let L=/[^\u0000-\u007F]/;function A(e){return L.test(e)?void 0!==window.TextEncoder?new TextEncoder().encode(e).length:new Blob([e]).size:e.length}function P(e,t){let n,r=R();return r.Zone&&"function"==typeof r.Zone.__symbol__&&(n=e[r.Zone.__symbol__(t)]),n||(n=e[t]),n}function j(e,t){return P(R(),"setTimeout")(x(e),t)}function M(e){P(R(),"clearTimeout")(e)}function U(e,t){return P(R(),"setInterval")(x(e),t)}function D(e){P(R(),"clearInterval")(e)}function q(){}function N(e,t,n){if("object"!=typeof e||null===e)return JSON.stringify(e);let r=B(Object.prototype),o=B(Array.prototype),i=B(Object.getPrototypeOf(e)),s=B(e);
1try{return JSON.stringify(e,t,n)}catch(e){return"<error: unable to serialize object>"}finally{r(),o(),i(),s()}}function B(e){let t=e.toJSON;return t?(delete e.toJSON,()=>{e.toJSON=t}):q}function G(e,t=225280){let n=B(Object.prototype),r=B(Array.prototype),o=[],i=new WeakMap,s=F(e,"$",void 0,o,i),a=JSON.stringify(s),l=a?a.length:0;if(l>t)return void H(t,"discarded",e);for(;o.length>0&&l<t;){let n=o.shift(),r=0;if(Array.isArray(n.source))for(let s=0;s<n.source.length;s++){let a=F(n.source[s],n.path,s,o,i);if(void 0!==a?l+=JSON.stringify(a).length:l+=4,l+=r,r=1,l>t){H(t,"truncated",e);break}n.target[s]=a}else for(let s in n.source)if(Object.prototype.hasOwnProperty.call(n.source,s)){let a=F(n.source[s],n.path,s,o,i);if(void 0!==a&&(l+=JSON.stringify(a).length+r+s.length+3,r=1),l>t){H(t,"truncated",e);break}n.target[s]=a}}return n(),r(),s}function F(e,t,n,r,o){let i=function(e){if(e&&"function"==typeof e.toJSON)try{return e.toJSON()}catch(e){}return e}(e);if(!i||"object"!=typeof i){var s;return"bigint"==typeof(s=i)?`[BigInt] ${s.toString()}`:"function"==typeof s?`[Function] ${s.name||"unknown"}`:"symbol"==typeof s?`[Symbol] ${s.description||s.toString()}`:s}let a=function e(t){try{if(t instanceof Event){var n;return{type:(n=t).type,isTrusted:n.isTrusted,currentTarget:n.currentTarget?e(n.currentTarget):null,target:n.target?e(n.target):null}}if(t instanceof RegExp)return`[RegExp] ${t.toString()}`;let r=Object.prototype.toString.call(t).match(/\[object (.*)\]/);if(r&&r[1])return`[${r[1]}]`}catch(e){}return"[Unserializable]"}(i);if("[Object]"!==a&&"[Array]"!==a&&"[Error]"!==a)return a;if(o.has(e))return`[Reference seen at ${o.get(e)}]`;let l=void 0!==n?`${t}.${n}`:t,u=Array.isArray(i)?[]:{};return o.set(e,l),r.push({source:i,target:u,path:l}),u}function H(e,t,n){h.warn(`The data provided has been ${t} as it is over the limit of ${e} characters:`,n)}class z{constructor(e){this.onFirstSubscribe=e,this.observers=[]}subscribe(e){return this.observers.push(e),1===this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0),{unsubscribe:()=>{this.observers=this.observers.filter(t=>e!==t),!this.observers.length&&this.onLastUnsubscribe&&this.onLastUnsubscribe()}}}notify(e){this.observers.forEach(t=>t(e))}}function J(...e){return new z(t=>{let n=e.map(e=>e.subscribe(e=>t.notify(e)));return()=>n.forEach(e=>e.unsubscribe())})}function W(e,t,n){let r={...e};for(let[o,{required:i,type:s}]of Object.entries(t))"string"===s&&o in r&&(r[o]=String(r[o])),!i||o in e||h.warn(`The property ${o} of ${n} is required; context will not be sent to the intake.`);return r}function K(e="",{propertiesConfig:t={}}={}){let n={},r=new z,o={getContext:()=>$(void 0,n),setContext:i=>{!function(e){let t="object"===T(e);return t||h.error("Unsupported context:",e),t}(i)?o.clearContext():n=G(W(i,t,e)),r.notify()},setContextProperty:(o,i)=>{n=G(W({...n,[o]:i},t,e)),r.notify()},removeContextProperty:o=>{delete n[o],W(n,t,e),r.notify()},clearContext:()=>{n={},r.notify()},changeObservable:r};return o}let V={GRANTED:"granted",NOT_GRANTED:"not-granted"};function X(e,t,n,r,{once:o,capture:i,passive:s}={}){let a=x(t=>{(t.isTrusted||t.__ddIsTrusted||e.allowUntrustedEvents)&&(o&&d(),r(t))}),l=s?{capture:i,passive:s}:i,u=window.EventTarget&&t instanceof EventTarget?window.EventTarget.prototype:t,c=P(u,"addEventListener");function d(){let e=P(u,"removeEventListener");n.forEach(n=>e.call(t,n,a,l))}return n.forEach(e=>c.call(t,e,a,l)),{stop:d}}function Z(e,t){return Object.keys(e).some(n=>e[n]===t)}function Y(e){return 0===Object.keys(e).length}let Q=[];function ee(e,t,n,r){var o,i;let s=(o=n,i=r,`_dd_c_${o}_${i}`);Q.push(X(e,window,["storage"],({key:e})=>{s===e&&t.setContext(l())},void 0)),t.changeObservable.subscribe(function(){localStorage.setItem(s,JSON.stringify(t.getContext()))});let a=I(l(),t.getContext());function l(){let e=localStorage.getItem(s);return e?JSON.parse(e):{}}Y(a)||t.setContext(a)}function et(e){let t=[],n=ec(e,"stack"),r=String(e);return n&&n.startsWith(r)&&(n=n.slice(r.length)),n&&n.split("\n").forEach(e=>{let n=function(e){let t=eo.exec(e);if(!t)return;let n=t[2]&&0===t[2].indexOf("native"),r=t[2]&&0===t[2].indexOf("eval"),o=ei.exec(t[2]);return r&&o&&(t[2]=o[1],t[3]=o[2],t[4]=o[3]),{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}(e)||function(e){let t=es.exec(e);if(t)return{args:[],column:t[3]?+t[3]:void 0,func:"?",line:t[2]?+t[2]:void 0,url:t[1]}}(e)||function(e){let t=ea.exec(e);if(t)return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:+t[3],url:t[2]}}(e)||function(e){let t=el.exec(e);if(!t)return;let n=t[3]&&t[3].indexOf(" > eval")>-1,r=eu.exec(t[3]);return n&&r&&(t[3]=r[1],t[4]=r[2],t[5]=void 0),{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||"?",line:t[4]?+t[4]:void 0,url:t[3]}}(e);
1n&&(!n.func&&n.line&&(n.func="?"),t.push(n))}),{message:ec(e,"message"),name:ec(e,"name"),stack:t}}let en="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",er="(?::(\\d+))",eo=RegExp(`^\\s*at (.*?) ?\\(${en}${er}?${er}?\\)?\\s*$`,"i"),ei=RegExp(`\\((\\S*)${er}${er}\\)`),es=RegExp(`^\\s*at ?${en}${er}?${er}??\\s*$`,"i"),ea=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,el=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,eu=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function ec(e,t){if("object"!=typeof e||!e||!(t in e))return;let n=e[t];return"string"==typeof n?n:void 0}let ed=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function ef(e){let t,n=Error(e);return n.name="HandlingStack",k(()=>{let e=et(n);e.stack=e.stack.slice(2),t=ep(e)}),t}function ep(e){let t=eg(e);return e.stack.forEach(e=>{let n="?"===e.func?"<anonymous>":e.func,r=e.args&&e.args.length>0?`(${e.args.join(", ")})`:"",o=e.line?`:${e.line}`:"",i=e.line&&e.column?`:${e.column}`:"";t+=` 2 at ${n}${r} @ ${e.url}${o}${i}`}),t}function eg(e){return`${e.name||"Error"}: ${e.message}`}let ey="No stack, consider using an instance of Error";function em({stackTrace:e,originalError:t,handlingStack:n,componentStack:r,startClocks:o,nonErrorPrefix:i,source:s,handling:a}){var l,u,c,d,f,p;let g=eb(t),y=(l=e,u=g,c=i,d=t,(null==l?void 0:l.message)&&(null==l?void 0:l.name)?l.message:u?"Empty message":`${c} ${N(G(d))}`),m=(f=g,void 0!==(p=e)&&(f||p.stack.length>0&&(p.stack.length>1||void 0!==p.stack[0].url)))?ep(e):ey,h=g?ew(t,s):void 0,v=e?e.name:void 0,b=eh(t),w=ev(t);return{startClocks:o,source:s,handling:a,handlingStack:n,componentStack:r,originalError:t,type:v,message:y,stack:m,causes:h,fingerprint:b,context:w}}function eh(e){return eb(e)&&"dd_fingerprint"in e?String(e.dd_fingerprint):void 0}function ev(e){if(null!==e&&"object"==typeof e&&"dd_context"in e)return e.dd_context}function eb(e){return e instanceof Error||"[object Error]"===Object.prototype.toString.call(e)}function ew(e,t){let n=e,r=[];for(;eb(null==n?void 0:n.cause)&&r.length<10;){let e=et(n.cause);r.push({message:n.cause.message,source:t,type:null==e?void 0:e.name,stack:e&&ep(e)}),n=n.cause}return r.length?r:void 0}!function(e){e.WRITABLE_RESOURCE_GRAPHQL="writable_resource_graphql",e.MISSING_URL_CONTEXT_TELEMETRY="missing_url_context_telemetry",e.USER_ACCOUNT_TRACE_HEADER="user_account_trace_header",e.PROFILING="profiling"}(r||(r={}));let eS=new Set,e_="datadoghq.com",eC=["ddsource","ddtags"];function ex(){return new Date().getTime()}function ek(){return performance.now()}function eE(){return{relative:ek(),timeStamp:ex()}}function eO(){return void 0===i&&(i=performance.timing.navigationStart),i}function eR(e,t){let n=window.__ddBrowserSdkExtensionCallback;n&&n({type:e,payload:t})}function eT(e){return 0!==e&&100*Math.random()<=e}function e$(e,t){let n=e.indexOf(t);n>=0&&e.splice(n,1)}function eI(){let e=[];return{add:t=>{e.push(t)>500&&e.splice(0,1)},remove:t=>{e$(e,t)},drain:t=>{e.forEach(e=>e(t)),e.length=0}}}let eL={log:"log",configuration:"configuration",usage:"usage"},eA=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],eP=["ddog-gov.com"],ej=eI(),eM=e=>{ej.add(()=>eM(e))};function eU(e,t){O(p.debug,e,t),eM({type:eL.log,message:e,status:"debug",...t})}function eD(e,t){eM({type:eL.log,status:"error",...function(e){if(eb(e)){var t;let n=et(e);return{error:{kind:n.name,stack:ep(((t=n).stack=t.stack.filter(e=>!e.url||eA.some(t=>e.url.startsWith(t))),t))},message:n.message}}return{error:{stack:ey},message:`Uncaught ${N(e)}`}}(e),...t})}function eq(e,t){t.silentMultipleInit||h.error(`${e} is already initialized.`)}let eN={AGENT:"agent",CONSOLE:"console",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"};function eB(e,t,n){let r=n.getHandler(),o=Array.isArray(r)?r:[r];return eF[e]>=eF[n.getLevel()]&&o.includes(t)}let eG={ok:"ok",debug:"debug",info:"info",notice:"notice",warn:"warn",error:"error",critical:"critical",alert:"alert",emerg:"emerg"},eF={[eG.ok]:0,[eG.debug]:1,[eG.info]:2,[eG.notice]:4,[eG.warn]:5,[eG.error]:6,[eG.critical]:7,[eG.alert]:8,[eG.emerg]:9};function eH(e,{includeMessage:t=!1}={}){return{stack:e.stack,kind:e.type,message:t?e.message:void 0,causes:e.causes,fingerprint:e.fingerprint,handling:e.handling}}let ez={console:"console",http:"http"},eJ=Object.keys(eG);class eW{constructor(e,t,n=ez.http,r=eG.debug,o={}){this.handleLogStrategy=e,this.handlerType=n,this.level=r,this.contextManager=K("logger"),this.contextManager.setContext(o),t&&this.contextManager.setContextProperty("logger",{name:t})}logImplementation(e,t,n=eG.info,r,o){let i,s=G(t);
2i=null!=r?I({error:eH(em({stackTrace:eb(r)?et(r):void 0,originalError:r,nonErrorPrefix:"Provided",source:eN.LOGGER,handling:"handled",startClocks:eE()}),{includeMessage:!0})},s):s,this.handleLogStrategy({message:G(e),context:i,status:n},this,o)}log(e,t,n=eG.info,r){let o;eB(n,ez.http,this)&&(o=ef("log")),this.logImplementation(e,t,n,r,o)}setContext(e){this.contextManager.setContext(e)}getContext(){return this.contextManager.getContext()}setContextProperty(e,t){this.contextManager.setContextProperty(e,t)}removeContextProperty(e){this.contextManager.removeContextProperty(e)}clearContext(){this.contextManager.clearContext()}setHandler(e){this.handlerType=e}getHandler(){return this.handlerType}setLevel(e){this.level=e}getLevel(){return this.level}}function eK(e){return function(t,n,r){let o;eB(e,ez.http,this)&&(o=ef("log")),this.logImplementation(t,n,e,r,o)}}function eV(){let e=R().DatadogEventBridge;if(e)return{getCapabilities(){var t;return JSON.parse((null==(t=e.getCapabilities)?void 0:t.call(e))||"[]")},getPrivacyLevel(){var t;return null==(t=e.getPrivacyLevel)?void 0:t.call(e)},getAllowedWebViewHosts:()=>JSON.parse(e.getAllowedWebViewHosts()),send(t,n,r){e.send(JSON.stringify({eventType:t,event:n,view:r?{id:r}:void 0}))}}}function eX(e){var t;void 0===e&&(e=null==(t=R().location)?void 0:t.hostname);let n=eV();return!!n&&n.getAllowedWebViewHosts().some(t=>e===t||e.endsWith(`.${t}`))}function eZ(e,t,n,{computeHandlingStack:r}={}){let o=e[t];if("function"!=typeof o)if(!(t in e&&t.startsWith("on")))return{stop:q};else o=q;let i=!1,s=function(){let e;if(i)return o.apply(this,arguments);let t=Array.from(arguments);k(n,null,[{target:this,parameters:t,onPostCall:t=>{e=t},handlingStack:r?ef("instrumented method"):void 0}]);let s=o.apply(this,t);return e&&k(e,null,[s]),s};return e[t]=s,{stop:()=>{i=!0,e[t]===s&&(e[t]=o)}}}function eY(e){return function(e,t){let n=function(){if(void 0===s)try{let e=new eQ("http://test/path");s="http://test/path"===e.href}catch(e){s=!1}return s?eQ:void 0}();if(n)try{return void 0!==t?new n(e,t):new n(e)}catch(n){throw Error(`Failed to construct URL: ${String(n)} ${N({url:e,base:t})}`)}if(void 0===t&&!/:/.test(e))throw Error(`Invalid URL: '${e}'`);let r=document,o=r.createElement("a");if(void 0!==t){let e=(r=document.implementation.createHTMLDocument("")).createElement("base");e.href=t,r.head.appendChild(e),r.body.appendChild(o)}return o.href=e,o}(e,location.href).href}!function(e,t,n,r){var o,i=arguments.length,s=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(s=(i<3?o(s):i>3?o(t,n,s):o(t,n))||s);i>3&&s&&Object.defineProperty(t,n,s)}([function(e,t,n){let r=n.value;n.value=function(...e){return(o?x(r):r).apply(this,e)}}],eW.prototype,"logImplementation",null),eW.prototype.ok=eK(eG.ok),eW.prototype.debug=eK(eG.debug),eW.prototype.info=eK(eG.info),eW.prototype.notice=eK(eG.notice),eW.prototype.warn=eK(eG.warn),eW.prototype.error=eK(eG.error),eW.prototype.critical=eK(eG.critical),eW.prototype.alert=eK(eG.alert),eW.prototype.emerg=eK(eG.emerg);let eQ=URL;function e0(){return a||(a=new z(e=>{if(!window.fetch)return;let{stop:t}=eZ(window,"fetch",t=>(function({parameters:e,onPostCall:t,handlingStack:n},r){let[o,i]=e,s=i&&i.method;void 0===s&&o instanceof Request&&(s=o.method);let a=void 0!==s?String(s).toUpperCase():"GET",l=o instanceof Request?o.url:eY(String(o)),u={state:"start",init:i,input:o,method:a,startClocks:eE(),url:l,handlingStack:n};r.notify(u),e[0]=u.input,e[1]=u.init,t(e=>(function(e,t,n){function r(t){n.state="resolve",Object.assign(n,t),e.notify(n)}t.then(x(e=>{r({response:e,responseType:e.type,status:e.status,isAborted:!1})}),x(e=>{var t,o;r({status:0,isAborted:(null==(o=null==(t=n.init)?void 0:t.signal)?void 0:o.aborted)||e instanceof DOMException&&e.code===DOMException.ABORT_ERR,error:e})}))})(r,e,u))})(t,e),{computeHandlingStack:!0});return t})),a}function e1(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,e1)}let e2=/([\w-]+)\s*=\s*([^;]+)/g;function e3(e,t,n=0,r){let o=new Date;o.setTime(o.getTime()+n);let i=`expires=${o.toUTCString()}`,s=r&&r.crossSite?"none":"strict",a=r&&r.domain?`;domain=${r.domain}`:"",l=r&&r.secure?";secure":"",u=r&&r.partitioned?";partitioned":"";document.cookie=`${e}=${t};${i};path=/;samesite=${s}${a}${l}${u}`}function e4(e){var t=document.cookie;for(e2.lastIndex=0;;){let n=e2.exec(t);if(n){if(n[1]===e)return n[2]}else break}}function e6(e){return u||(u=function(e){let t=new Map;for(e2.lastIndex=0;;){let n=e2.exec(e);if(n)t.set(n[1],n[2]);else break}return t}(document.cookie)),u.get(e)}let e5="_dd_s";function e7(e){return Object.values(e)}
2let e8=144e5,e9=9e5,te=31536e6,tt={COOKIE:"cookie",LOCAL_STORAGE:"local-storage"},tn=/^([a-zA-Z]+)=([a-z0-9-]+)$/;function tr(e,t){let n={isExpired:"1"};return t.trackAnonymousUser&&((null==e?void 0:e.anonymousId)?n.anonymousId=null==e?void 0:e.anonymousId:n.anonymousId=e1()),n}function to(e){var t;return void 0!==e.isExpired||!((void 0===(t=e).created||ex()-Number(t.created)<e8)&&(void 0===t.expire||ex()<Number(t.expire)))}function ti(e){e.expire=String(ex()+e9)}function ts(e){return Object.entries(e).map(([e,t])=>"anonymousId"===e?`aid=${t}`:`${e}=${t}`).join("&")}function ta(e){let t={};return e&&(-1!==e.indexOf("&")||tn.test(e))&&e.split("&").forEach(e=>{let n=tn.exec(e);if(null!==n){let[,e,r]=n;"aid"===e?t.anonymousId=r:t[e]=r}}),t}function tl(e){let t=function(e){let t={};return t.secure=!!e.useSecureSessionCookie||!!e.usePartitionedCrossSiteSessionCookie,t.crossSite=!!e.usePartitionedCrossSiteSessionCookie,t.partitioned=!!e.usePartitionedCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=function(){if(void 0===c){let e=`dd_site_test_${e1()}`,t=window.location.hostname.split("."),n=t.pop();for(;t.length&&!e4(e);)e3(e,"test",1e3,{domain:n=`${t.pop()}.${n}`});e3(e,"",0,{domain:n}),c=n}return c}()),t}(e);return!function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{let t=`dd_cookie_test_${e1()}`,n="test";e3(t,n,6e4,e);let r=e4(t)===n;return e3(t,"",0,e),r}catch(e){return h.error(e),!1}}(t)?void 0:{type:tt.COOKIE,cookieOptions:t}}function tu(){return ta(e4(e5))}function tc(){try{let e=e1(),t=`_dd_test_${e}`;localStorage.setItem(t,e);let n=localStorage.getItem(t);return localStorage.removeItem(t),e===n?{type:tt.LOCAL_STORAGE}:void 0}catch(e){return}}function td(e){localStorage.setItem(e5,ts(e))}function tf(){return ta(localStorage.getItem(e5))}let tp=[];function tg(e,t,n=0){var r;let o,{isLockEnabled:i,persistSession:s,expireSession:a}=t,l=e=>s({...e,lock:o}),u=()=>{let e=t.retrieveSession(),n=e.lock;return e.lock&&delete e.lock,{session:e,lock:n}};if(d||(d=e),e!==d)return void tp.push(e);if(i&&n>=100)return void tm(t);let c=u();if(i&&(c.lock||(o=e1(),l(c.session),(c=u()).lock!==o)))return void ty(e,t,n);let f=e.process(c.session);if(i&&(c=u()).lock!==o)return void ty(e,t,n);if(f&&(to(f)?a(f):(ti(f),i?l(f):s(f))),i&&!(f&&to(f))){if((c=u()).lock!==o)return void ty(e,t,n);s(c.session),f=c.session}null==(r=e.after)||r.call(e,f||c.session),tm(t)}function ty(e,t,n){j(()=>{tg(e,t,n+1)},10)}function tm(e){d=void 0;let t=tp.shift();t&&tg(t,e)}function th(e,t,n){let r=function(e,t){let n=`/api/v2/${t}`,r=e.proxy;if("string"==typeof r){let e=eY(r);return t=>`${e}?ddforward=${encodeURIComponent(`${n}?${t}`)}`}if("function"==typeof r)return e=>r({path:n,parameters:e});let o=function(e,t){let{site:n=e_,internalAnalyticsSubdomain:r}=t;if("logs"===e&&t.usePciIntake&&n===e_)return"pci.browser-intake-datadoghq.com";if(r&&n===e_)return`${r}.${e_}`;if("dd0g-gov.com"===n)return`http-intake.logs.${n}`;let o=n.split("."),i=o.pop();return`browser-intake-${o.join("-")}.${i}`}(t,e);return e=>`https://${o}${n}?${e}`}(e,t);return{build:(o,i)=>r(function({clientToken:e,internalAnalyticsSubdomain:t},n,r,o,{retry:i,encoding:s}){let a=["sdk_version:6.6.3",`api:${o}`].concat(r);i&&a.push(`retry_count:${i.count}`,`retry_after:${i.lastFailureStatus}`);let l=["ddsource=browser",`ddtags=${encodeURIComponent(a.join(","))}`,`dd-api-key=${e}`,`dd-evp-origin-version=${encodeURIComponent("6.6.3")}`,"dd-evp-origin=browser",`dd-request-id=${e1()}`];return s&&l.push(`dd-evp-encoding=${s}`),"rum"===n&&l.push(`batch_time=${ex()}`),t&&l.reverse(),l.join("&")}(e,t,n,o,i)),tags:n,urlPrefix:r(""),trackType:t}}function tv(e,t){var n;let r=200-e.length-1;(t.length>r||(n=t,function(){try{return RegExp("[\\p{Ll}]","u"),!0}catch(e){return!1}}()&&RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(n)))&&h.warn(`${e} value doesn't meet tag requirements and will be sanitized. ${w} ${v}/getting_started/tagging/#defining-tags`);let o=t.replace(/,/g,"_");return`${e}:${o}`}function tb(e,t){return null==e||"string"==typeof e||(h.error(`${t} must be defined as a string`),!1)}function tw(e,t){return void 0===e||!!("number"==typeof e&&e>=0&&e<=100)||(h.error(`${t} Sample Rate should be a number between 0 and 100`),!1)}let tS={intervention:"intervention",deprecation:"deprecation",cspViolation:"csp_violation"};function t_(e){return{startClocks:eE(),source:eN.REPORT,handling:"unhandled",...e}}function tC(e,t,n,r,o){return n?ep({name:e,message:t,stack:[{func:"?",url:n,line:null!=r?r:void 0,column:null!=o?o:void 0}]}):void 0}function tx(e,t,n){return void 0===e?[]:"all"===e||Array.isArray(e)&&e.every(e=>t.includes(e))?"all"===e?t:function(e){let t=new Set;
2return e.forEach(e=>t.add(e)),Array.from(t)}(e):void h.error(`${n} should be "all" or an array with allowed values "${t.join('", "')}"`)}let tk="logs",tE={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function tO(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||e6("datadog-synthetics-injects-rum"))}let tR=1/0,tT=null,t$=new Set,tI=[];function tL(e){return eT(e.sessionSampleRate)?"1":"0"}let tA=!1;function tP(e){let t=window;if(tO()){let e=n(t.DD_RUM_SYNTHETICS);return e||tA||(tA=!0,eU("Logs sent before RUM is injected by the synthetics worker",{testId:function(){let e=window._DATADOG_SYNTHETICS_PUBLIC_ID||e6("datadog-synthetics-public-id");return"string"==typeof e?e:void 0}(),resultId:function(){let e=window._DATADOG_SYNTHETICS_RESULT_ID||e6("datadog-synthetics-result-id");return"string"==typeof e?e:void 0}()})),e}return n(t.DD_RUM);function n(t){if(t&&t.getInternalContext)return t.getInternalContext(e)}}let tj={},tM={[p.log]:eG.info,[p.debug]:eG.debug,[p.info]:eG.info,[p.warn]:eG.warn,[p.error]:eG.error},tU=new WeakMap;function tD({target:e,parameters:[t,n]}){tU.set(e,{state:"open",method:String(t).toUpperCase(),url:eY(String(n))})}function tq({target:e}){let t=tU.get(e);t&&(t.isAborted=!0)}function tN(e,t){return e.length>t.requestErrorResponseLengthLimit?`${e.substring(0,t.requestErrorResponseLengthLimit)}...`:e}class tB{constructor(){this.callbacks={}}notify(e,t){let n=this.callbacks[e];n&&n.forEach(e=>e(t))}subscribe(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),{unsubscribe:()=>{this.callbacks[e]=this.callbacks[e].filter(e=>t!==e)}}}}let tG={[eG.ok]:p.debug,[eG.debug]:p.debug,[eG.info]:p.info,[eG.notice]:p.info,[eG.warn]:p.warn,[eG.error]:p.error,[eG.critical]:p.error,[eG.alert]:p.error,[eG.emerg]:p.error};function tF({encoder:e,request:t,flushController:n,messageBytesLimit:r}){let o={},i=n.flushObservable.subscribe(n=>(function(n){var r;let i=e7(o).join("\n");o={};let s=(r=n.reason,e7(tE).includes(r)),a=s?t.sendOnExit:t.send;if(s&&e.isAsync){let t=e.finishSync();t.outputBytesCount&&a(tH(t));let n=[t.pendingData,i].filter(Boolean).join("\n");n&&a({data:n,bytesCount:A(n)})}else i&&e.write(e.isEmpty?i:` 3${i}`),e.finish(e=>{a(tH(e))})})(n));function s(t,i){let s=N(t),a=e.estimateEncodedBytesCount(s);if(a>=r)return void h.warn(`Discarded a message whose size was bigger than the maximum allowed size ${r}KB. ${w} ${b}/#technical-limitations`);void 0!==i&&void 0!==o[i]&&function(t){let r=o[t];delete o[t];let i=e.estimateEncodedBytesCount(r);n.notifyAfterRemoveMessage(i)}(i),n.notifyBeforeAddMessage(a),void 0!==i?(o[i]=s,n.notifyAfterAddMessage()):e.write(e.isEmpty?s:` 4${s}`,e=>{n.notifyAfterAddMessage(e-a)})}return{flushController:n,add:s,upsert:s,stop:i.unsubscribe}}function tH(e){return{data:"string"==typeof e.output?e.output:new Blob([e.output],{type:"text/plain"}),bytesCount:e.outputBytesCount,encoding:e.encoding}}let tz=3145728;function tJ(e,t,n,r,o){0===t.transportStatus&&0===t.queuedPayloads.size()&&t.bandwidthMonitor.canHandle(e)?tW(e,t,n,{onSuccess:()=>tK(0,t,n,r,o),onFailure:()=>{t.queuedPayloads.enqueue(e),function e(t,n,r,o){2===t.transportStatus&&j(()=>{tW(t.queuedPayloads.first(),t,n,{onSuccess:()=>{t.queuedPayloads.dequeue(),t.currentBackoffTime=1e3,tK(1,t,n,r,o)},onFailure:()=>{t.currentBackoffTime=Math.min(6e4,2*t.currentBackoffTime),e(t,n,r,o)}})},t.currentBackoffTime)}(t,n,r,o)}}):t.queuedPayloads.enqueue(e)}function tW(e,t,n,{onSuccess:r,onFailure:o}){t.bandwidthMonitor.add(e),n(e,n=>{var i;t.bandwidthMonitor.remove(e),"opaque"!==(i=n).type&&(0===i.status&&!navigator.onLine||408===i.status||429===i.status||i.status>=500)?(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:n.status},o()):(t.transportStatus=0,r())})}function tK(e,t,n,r,o){0===e&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(o({message:`Reached max ${r} events size queued for upload: ${tz/1048576}MiB`,source:eN.AGENT,startClocks:eE()}),t.queueFullReported=!0);let i=t.queuedPayloads;for(t.queuedPayloads=tV();i.size()>0;)tJ(i.dequeue(),t,n,r,o)}function tV(){let e=[];return{bytesCount:0,enqueue(t){this.isFull()||(e.push(t),this.bytesCount+=t.bytesCount)},first:()=>e[0],dequeue(){let t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:()=>e.length,isFull(){return this.bytesCount>=tz}}}let tX=!1;function tZ(e,t,n){fetch(e.build("fetch",t),{method:"POST",body:t.data,mode:"cors"}).then(x(e=>null==n?void 0:n({status:e.status,type:e.type}))).catch(x(()=>null==n?void 0:n({status:0})))}function tY(e,t,n,r,o,i,s=tF){let a=u(e,t),l=n&&u(e,n);function u(e,{endpoint:t,encoder:n}){return s({encoder:n,request:function(e,t,n){let r={transportStatus:0,currentBackoffTime:1e3,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle(e){return 0===this.ongoingRequestCount||this.ongoingByteCount+e.bytesCount<=81920&&this.ongoingRequestCount<32},add(e){this.ongoingRequestCount+=1,this.ongoingByteCount+=e.bytesCount},remove(e){this.ongoingRequestCount-=1,this.ongoingByteCount-=e.bytesCount}},queuedPayloads:tV(),queueFullReported:!1},o=(n,r)=>{var o,i,s,a;return o=e,i=t,s=n,a=r,void(function(){try{return window.Request&&"keepalive"in new Request
4("http://a")}catch(e){return!1}}()&&s.bytesCount<i?fetch(o.build("fetch-keepalive",s),{method:"POST",body:s.data,keepalive:!0,mode:"cors"}).then(x(e=>null==a?void 0:a({status:e.status,type:e.type}))).catch(x(()=>tZ(o,s,a))):tZ(o,s,a))};return{send:t=>{tJ(t,r,o,e.trackType,n)},sendOnExit:n=>{!function(e,t,n){if(navigator.sendBeacon&&n.bytesCount<t)try{let t=e.build("beacon",n);if(navigator.sendBeacon(t,n.data))return}catch(e){var r;r=e,tX||(tX=!0,E(r))}tZ(e,n)}(e,t,n)}}}(t,e.batchBytesLimit,r),flushController:function({messagesLimit:e,bytesLimit:t,durationLimit:n,pageMayExitObservable:r,sessionExpireObservable:o}){let i,s=r.subscribe(e=>d(e.reason)),a=o.subscribe(()=>d("session_expire")),l=new z(()=>()=>{s.unsubscribe(),a.unsubscribe()}),u=0,c=0;function d(e){if(0===c)return;let t=c,n=u;c=0,u=0,f(),l.notify({reason:e,messagesCount:t,bytesCount:n})}function f(){M(i),i=void 0}return{flushObservable:l,get messagesCount(){return c},notifyBeforeAddMessage(e){u+e>=t&&d("bytes_limit"),c+=1,u+=e,void 0===i&&(i=j(()=>{d("duration_limit")},n))},notifyAfterAddMessage(n=0){u+=n,c>=e?d("messages_limit"):u>=t&&d("bytes_limit")},notifyAfterRemoveMessage(e){u-=e,0==(c-=1)&&f()}}}({messagesLimit:e.batchMessagesLimit,bytesLimit:e.batchBytesLimit,durationLimit:e.flushTimeout,pageMayExitObservable:o,sessionExpireObservable:i}),messageBytesLimit:e.messageBytesLimit})}return{flushObservable:a.flushController.flushObservable,add(e,t=!0){a.add(e),l&&t&&l.add(n.transformMessage?n.transformMessage(e):e)},upsert:(e,t)=>{a.upsert(e,t),l&&l.upsert(n.transformMessage?n.transformMessage(e):e,t)},stop:()=>{a.stop(),l&&l.stop()}}}function tQ(){let e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write(n,r){let o=A(n);t+=o,e+=n,r&&r(o)},finish(e){e(this.finishSync())},finishSync(){let n={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,n},estimateEncodedBytesCount:e=>e.length}}let t0=function(e){let t=K("global context"),n=K("user",{propertiesConfig:{id:{type:"string"},name:{type:"string"},email:{type:"string"}}}),o=K("account",{propertiesConfig:{id:{type:"string",required:!0},name:{type:"string"}}}),i=function(e){let t=new z;return{tryToInit(t){e||(e=t)},update(n){e=n,t.notify()},isGranted:()=>e===V.GRANTED,observable:t}}();function s(){return{view:{referrer:document.referrer,url:window.location.href},context:t.getContext(),user:n.getContext(),account:o.getContext()}}let a=function(e,t,n){let o,i,s=eI(),a=t.observable.subscribe(l);function l(){if(!i||!o||!t.isGranted())return;a.unsubscribe();let e=n(o,i);s.drain(e)}return{init(e){var n;if(!e)return void h.error("Missing configuration");if(Array.isArray(n=e.enableExperimentalFeatures)&&n.filter(e=>Z(r,e)).forEach(e=>{eS.add(e)}),eX()&&(e={...e,clientToken:"empty"}),o=e,i)return void eq("DD_LOGS",e);let s=function(e){var t,n,r,o,i,s,a,l;!0===e.usePciIntake&&e.site&&"datadoghq.com"!==e.site&&h.warn("PCI compliance for Logs is only available for Datadog organizations in the US1 site. Default intake will be used.");let u=(t=e)&&t.clientToken?(!(l=t.site)||"string"!=typeof l||/(datadog|ddog|datad0g|dd0g)/.test(l)||(h.error(`Site should be a valid Datadog site. ${w} ${v}/getting_started/site/.`),0))&&tw(t.sessionSampleRate,"Session")&&tw(t.telemetrySampleRate,"Telemetry")&&tw(t.telemetryConfigurationSampleRate,"Telemetry Configuration")&&tw(t.telemetryUsageSampleRate,"Telemetry Usage")&&tb(t.version,"Version")&&tb(t.env,"Env")&&tb(t.service,"Service")?void 0===t.trackingConsent||Z(V,t.trackingConsent)?{beforeSend:t.beforeSend&&S(t.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:function(e){switch(e.sessionPersistence){case tt.COOKIE:return tl(e);case tt.LOCAL_STORAGE:return tc();case void 0:{let t=tl(e);return!t&&e.allowFallbackToLocalStorage&&(t=tc()),t}default:h.error(`Invalid session persistence '${String(e.sessionPersistence)}'`)}}(t),sessionSampleRate:null!=(n=t.sessionSampleRate)?n:100,telemetrySampleRate:null!=(r=t.telemetrySampleRate)?r:20,telemetryConfigurationSampleRate:null!=(o=t.telemetryConfigurationSampleRate)?o:5,telemetryUsageSampleRate:null!=(i=t.telemetryUsageSampleRate)?i:5,service:t.service||void 0,silentMultipleInit:!!t.silentMultipleInit,allowUntrustedEvents:!!t.allowUntrustedEvents,trackingConsent:null!=(s=t.trackingConsent)?s:V.GRANTED,trackAnonymousUser:null==(a=t.trackAnonymousUser)||a,storeContextsAcrossPages:!!t.storeContextsAcrossPages,batchBytesLimit:16384,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:3e4,batchMessagesLimit:50,messageBytesLimit:262144,...function(e){var t,n;let r=e.site||e_,o=function(e){let{env:t,service:n,version:r,datacenter:o}=e,i=[];return t&&i.push(tv("env",t)),n&&i.push(tv("service",n)),r&&i.push(tv("version",r)),o&&i.push(tv("datacenter",o)),i}(e),i={logsEndpointBuilder:th(t=e,"logs",n=o),rumEndpointBuilder:th(t,"rum",n),profilingEndpointBuilder:th(t,"profile",n),sessionReplayEndpointBuilder:th(t,"replay",n)};return{replica:function(e,t){if(!e.replica)return;let n={...e,site:e_,clientToken:e.replica.clientToken},r={logsEndpointBuilder:th(n,"logs",t),rumEndpointBuilder:th(n,"rum",t)};return{applicationId:e.replica.applicationId,...r}}(e,o),site:r,...i}}(t)}:void h.error('Tracking Consent should be either "granted" or "not-granted"'):void 0:void h.error("Client Token is not configured, we will not send any data."),c=tx(e.forwardConsoleLogs,e7(p),"Forward Console Logs"),d=tx(e.forwardReports,e7(tS),"Forward Reports");if(u&&c&&d)return e.forwardErrorsToLogs&&!c.includes(p.error)&&c.push(p.error),{forwardErrorsToLogs:!1!==e.forwardErrorsToLogs,forwardConsoleLogs:c,forwardReports:d,requestErrorResponseLengthLimit:32768,...u}}(e);
4s&&(i=s,e0().subscribe(q),t.tryToInit(s.trackingConsent),l())},get initConfiguration(){return o},getInternalContext:q,handleLog(t,n,r,o=e(),i=ex()){s.add(e=>e.handleLog(t,n,r,o,i))}}}(s,i,(r,l)=>{r.storeContextsAcrossPages&&(ee(l,t,tk,2),ee(l,n,tk,1),ee(l,o,tk,4));let u=e(r,l,s,i);return a={init:e=>{eq("DD_LOGS",e)},initConfiguration:r,...u},u}),l={},u={version:"6.6.3",onReady(e){e()},...{logger:new eW((...e)=>a.handleLog(...e)),init:x(e=>a.init(e)),setTrackingConsent:x(e=>{i.update(e),eM({type:eL.usage,usage:{feature:"set-tracking-consent",tracking_consent:e}})}),getGlobalContext:x(()=>t.getContext()),setGlobalContext:x(e=>t.setContext(e)),setGlobalContextProperty:x((e,n)=>t.setContextProperty(e,n)),removeGlobalContextProperty:x(e=>t.removeContextProperty(e)),clearGlobalContext:x(()=>t.clearContext()),createLogger:x((e,t={})=>(l[e]=new eW((...e)=>a.handleLog(...e),G(e),t.handler,t.level,G(t.context)),l[e])),getLogger:x(e=>l[e]),getInitConfiguration:x(()=>$(void 0,a.initConfiguration)),getInternalContext:x(e=>a.getInternalContext(e)),setUser:x(n.setContext),getUser:x(n.getContext),setUserProperty:x(n.setContextProperty),removeUserProperty:x(n.removeContextProperty),clearUser:x(n.clearContext),setAccount:x(o.setContext),getAccount:x(o.getContext),setAccountProperty:x(o.setContextProperty),removeAccountProperty:x(o.removeContextProperty),clearAccount:x(o.clearContext)}};return Object.defineProperty(u,"_setDebug",{get:()=>C,enumerable:!1}),u}(function(e,t,n,r){var i,s,a,u;let c=new tB,d=[];c.subscribe(1,e=>eR("logs",e));let m=e=>{c.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,origin:eN.AGENT,status:eG.error}}),eU("Error reported to customer",{"error.message":e.message})},h=new z(e=>{let{stop:n}=X(t,window,["visibilitychange","freeze"],t=>{"visibilitychange"===t.type&&"hidden"===document.visibilityState?e.notify({reason:tE.HIDDEN}):"freeze"===t.type&&e.notify({reason:tE.FROZEN})},{capture:!0}),r=X(t,window,["beforeunload"],()=>{e.notify({reason:tE.UNLOADING})},void 0).stop;return()=>{n(),r()}}),v=!t.sessionStoreStrategyType||eX()||tO()?function(e){let t="1"===tL(e)?{}:void 0;return{findTrackedSession:()=>t,expireObservable:new z}}(t):function(e,t){let n=function(e,t,n,r){let o=new z,i=new z,s=function(e,t,n,r){let o,i=new z,s=new z,a=new z,u=e.type===tt.COOKIE?function(e,t){var n;let r={isLockEnabled:0===(null!=l?l:l=function(e=window){var t;let n=e.navigator.userAgent;return e.chrome||/HeadlessChrome/.test(n)?0:(null==(t=e.navigator.vendor)?void 0:t.indexOf("Apple"))===0||/safari/i.test(n)&&!/chrome|android/i.test(n)?1:2}()),persistSession:(n=t,e=>{e3(e5,ts(e),e9,n)}),retrieveSession:tu,expireSession:n=>{var r,o;return r=t,void e3(e5,ts(tr(n,o=e)),o.trackAnonymousUser?te:e8,r)}};if(!e6(e5)){let e=e6("_dd"),t=e6("_dd_r"),n=e6("_dd_l"),o={};e&&(o.id=e),n&&/^[01]$/.test(n)&&(o.logs=n),t&&/^[012]$/.test(t)&&(o.rum=t),Y(o)||(ti(o),r.persistSession(o))}return r}(t,e.cookieOptions):{isLockEnabled:!1,persistSession:td,retrieveSession:tf,expireSession:e=>{td(tr(e,t))}},{expireSession:c}=u,d=U(function(){tg({process:e=>to(e)?tr(e,t):void 0,after:g},u)},1e3);y();let{throttled:f,cancel:p}=function(e,t,n){let r,o,i=true,s=!1;return{throttled:(...t)=>{if(s){r=t;return}e(...t),s=!0,o=j(()=>{i&&r&&e(...r),s=!1,r=void 0},1e3)},cancel:()=>{M(o),s=!1,r=void 0}}}(()=>{tg({process:e=>{if(Y(e))return;let t=g(e);return function(e){if(Y(e))return;let{trackingType:t,isTracked:o}=r(e[n]);e[n]=t,delete e.isExpired,o&&!e.id&&(e.id=e1(),e.created=String(ex()))}(t),t},after:e=>{Y(e)||m()||(o=e,i.notify()),o=e}},u)},0);function g(e){var r;return to(e)&&(e=tr(e,t)),m()&&((r=e,o.id!==r.id||o[n]!==r[n])?(o=tr(o,t),s.notify()):(a.notify({previousState:o,newState:e}),o=e)),e}function y(){tg({process:e=>{if(Y(e))return tr(e,t)},after:e=>{o=e}},u)}function m(){return void 0!==o[n]}return{expandOrRenewSession:f,expandSession:function(){tg({process:e=>m()?g(e):void 0},u)},getSession:()=>o,renewObservable:i,expireObservable:s,sessionStateUpdateObservable:a,restartSession:y,expire:()=>{p(),c(o),g(tr(o,t))},stop:()=>{D(d)},updateSessionState:function(e){tg({process:t=>({...t,...e}),after:g},u)}}}(e.sessionStoreStrategyType,e,t,n);tI.push(()=>s.stop());let a=function({expireDelay:e,maxEntries:t}){let n=[],r=[];tT||(tT=U(()=>
4void t$.forEach(e=>e()),6e4));let o=()=>{let t=ek()-e;for(;n.length>0&&n[n.length-1].endTime<t;){let e=n.pop();e&&r.push(e.startTime)}};return t$.add(o),{add:function(e,r){let o={value:e,startTime:r,endTime:tR,remove:()=>{e$(n,o)},close:e=>{o.endTime=e}};return t&&n.length>=t&&n.pop(),n.unshift(o),o},find:function(e=tR,t={returnInactive:!1}){for(let r of n)if(r.startTime<=e){if(t.returnInactive||e<=r.endTime)return r.value;break}},closeActive:function(e){let t=n[0];t&&t.endTime===tR&&t.close(e)},findAll:function(e=tR,t=0){let r=e+t;return n.filter(t=>t.startTime<=r&&e<=t.endTime).map(e=>e.value)},reset:function(){n=[]},stop:function(){t$.delete(o),0===t$.size&&tT&&(D(tT),tT=null)},getAllEntries:function(){return n.map(({startTime:e,endTime:t,value:n})=>({startTime:e,endTime:t===tR?"Infinity":t,value:n}))},getDeletedEntries:function(){return r}}}({expireDelay:e8});function u(){return{id:s.getSession().id,trackingType:s.getSession()[t],isReplayForced:!!s.getSession().forcedReplay,anonymousId:s.getSession().anonymousId}}return tI.push(()=>a.stop()),s.renewObservable.subscribe(()=>{a.add(u(),ek()),o.notify()}),s.expireObservable.subscribe(()=>{i.notify(),a.closeActive(ek())}),s.expandOrRenewSession(),a.add(u(),{relative:0,timeStamp:eO()}.relative),r.observable.subscribe(()=>{r.isGranted()?s.expandOrRenewSession():s.expire()}),function(e,t){let{stop:n}=X(e,window,["click","touchstart","keydown","scroll"],t,{capture:!0,passive:!0});tI.push(n)}(e,()=>{r.isGranted()&&s.expandOrRenewSession()}),function(e,t){let n=()=>{"visible"===document.visibilityState&&t()},{stop:r}=X(e,document,["visibilitychange"],n,void 0);tI.push(r);let o=U(n,6e4);tI.push(()=>{D(o)})}(e,()=>s.expandSession()),function(e,t){let{stop:n}=X(e,window,["resume"],t,{capture:!0});tI.push(n)}(e,()=>s.restartSession()),{findSession:(e,t)=>a.find(e,t),renewObservable:o,expireObservable:i,sessionStateUpdateObservable:s.sessionStateUpdateObservable,expire:s.expire,updateSessionState:s.updateSessionState}}(e,"logs",t=>(function(e,t){var n;let r="0"===(n=t)||"1"===n?t:tL(e);return{trackingType:r,isTracked:"1"===r}})(e,t),t);return{findTrackedSession:(e,t={returnInactive:!1})=>{let r=n.findSession(e,t);return r&&"1"===r.trackingType?{id:r.id,anonymousId:r.anonymousId}:void 0},expireObservable:n.expireObservable}}(t,r),{stop:b}=function(e,t,n,r,i){var s;let a=function(e,t){let n,r=new z,i=new Set,s=!eP.includes(t.site)&&eT(t.telemetrySampleRate),a={[eL.log]:s,[eL.configuration]:s&&eT(t.telemetryConfigurationSampleRate),[eL.usage]:s&&eT(t.telemetryUsageSampleRate)},l={is_local_file:"file:"===window.location.protocol,is_worker:"WorkerGlobalScope"in self};return eM=o=>{let s=N(o);if(a[o.type]&&i.size<t.maxTelemetryEventsPerPage&&!i.has(s)){var u,c,d;let t=(u=e,c=o,d=l,I({type:"telemetry",date:ex(),service:u,version:"6.6.3",source:"browser",_dd:{format_version:2},telemetry:I(c,{runtime_env:d,connectivity:function(){var e;let t=window.navigator;return{status:t.onLine?"connected":"not_connected",interfaces:t.connection&&t.connection.type?[t.connection.type]:void 0,effective_type:null==(e=t.connection)?void 0:e.effectiveType}}(),sdk_setup:"npm"}),experimental_features:Array.from(eS)},void 0!==n?n():{}));r.notify(t),eR("telemetry",t),i.add(s)}},o=eD,{setContextProvider:e=>{n=e},observable:r,enabled:s}}("browser-logs-sdk",t);a.setContextProvider(()=>{var e,t,n,r,o,s;return{application:{id:null==(e=tP())?void 0:e.application_id},session:{id:null==(t=i.findTrackedSession())?void 0:t.id},view:{id:null==(r=null==(n=tP())?void 0:n.view)?void 0:r.id},action:{id:null==(s=null==(o=tP())?void 0:o.user_action)?void 0:s.id}}});let l=[];if(eX()){let e=eV(),t=a.observable.subscribe(t=>e.send("internal_telemetry",t));l.push(()=>t.unsubscribe())}else{let e=tY(t,{endpoint:t.rumEndpointBuilder,encoder:tQ()},t.replica&&{endpoint:t.replica.rumEndpointBuilder,encoder:tQ()},n,r,i.expireObservable);l.push(()=>e.stop());let o=a.observable.subscribe(n=>e.add(n,"datad0g.com"===t.site));l.push(()=>o.unsubscribe())}return ej.drain(),s=function(e){let t={session_sample_rate:e.sessionSampleRate,telemetry_sample_rate:e.telemetrySampleRate,telemetry_configuration_sample_rate:e.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:e.telemetryUsageSampleRate,use_before_send:!!e.beforeSend,use_partitioned_cross_site_session_cookie:e.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:e.useSecureSessionCookie,use_proxy:!!e.proxy,silent_multiple_init:e.silentMultipleInit,track_session_across_subdomains:e.trackSessionAcrossSubdomains,track_anonymous_user:e.trackA
4nonymousUser,session_persistence:e.sessionPersistence,allow_fallback_to_local_storage:!!e.allowFallbackToLocalStorage,store_contexts_across_pages:!!e.storeContextsAcrossPages,allow_untrusted_events:!!e.allowUntrustedEvents,tracking_consent:e.trackingConsent};return{forward_errors_to_logs:e.forwardErrorsToLogs,forward_console_logs:e.forwardConsoleLogs,forward_reports:e.forwardReports,use_pci_intake:e.usePciIntake,...t}}(e),eM({type:eL.configuration,configuration:s}),{telemetry:a,stop:()=>{l.forEach(e=>e())}}}(e,t,m,h,v);d.push(()=>b()),function(e,t){var n;if(e.forwardErrorsToLogs)(!f&&(n=e,f=new z(e=>{let{stop:t}=eZ(XMLHttpRequest.prototype,"open",tD),{stop:r}=eZ(XMLHttpRequest.prototype,"send",t=>{!function({target:e,handlingStack:t},n,r){let o=tU.get(e);if(!o)return;o.state="start",o.startClocks=eE(),o.isAborted=!1,o.xhr=e,o.handlingStack=t;let i=!1,{stop:s}=eZ(e,"onreadystatechange",()=>{e.readyState===XMLHttpRequest.DONE&&a()}),a=()=>{var t;l(),s(),i||(i=!0,o.state="complete",t=o.startClocks.timeStamp,o.duration=ex()-t,o.status=e.status,r.notify({...o}))},{stop:l}=X(n,e,["loadend"],a,void 0);r.notify(o)}(t,n,e)},{computeHandlingStack:!0}),{stop:o}=eZ(XMLHttpRequest.prototype,"abort",tq);return()=>{t(),r(),o()}})),f).subscribe(e=>{"complete"===e.state&&r("xhr",e)}),e0().subscribe(e=>{"resolve"===e.state&&r("fetch",e)});function r(n,r){var o,i,s,a,l,u;function c(e){let o={isAborted:r.isAborted,handlingStack:r.handlingStack};t.notify(0,{rawLogsEvent:{message:`${"xhr"===n?"XHR":"Fetch"} error ${r.method} ${r.url}`,date:r.startClocks.timeStamp,error:{stack:e||"Failed to load",handling:void 0},http:{method:r.method,status_code:r.status,url:r.url},status:eG.error,origin:eN.NETWORK},domainContext:o})}o=r.url,!eC.every(e=>o.includes(e))&&(0===(i=r).status&&"opaque"!==i.responseType||r.status>=500)&&("xhr"in r?(s=r.xhr,a=e,c("string"==typeof s.response?tN(s.response,a):s.response)):r.response?function(e,t,n){var r,o,i;let s=function(e){try{return e.clone()}catch(e){return}}(e);s&&s.body?window.TextDecoder?(r=s.body,o=t.requestErrorResponseLengthLimit,i=(e,t)=>{e?n(`Unable to retrieve response: ${e}`):n(t)},function(e,t,n){let r=e.getReader(),o=[],i=0;function s(){let e,s;if(r.cancel().catch(q),n.collectStreamBody){let t;if(1===o.length)t=o[0];else{t=new Uint8Array(i);let e=0;o.forEach(n=>{t.set(n,e),e+=n.length})}e=t.slice(0,n.bytesLimit),s=t.length>n.bytesLimit}t(void 0,e,s)}!function e(){r.read().then(x(t=>{if(t.done)return void s();n.collectStreamBody&&o.push(t.value),(i+=t.value.length)>n.bytesLimit?s():e()}),x(e=>t(e)))}()}(r,(e,t,n)=>{if(e)i(e);else{let e=new TextDecoder().decode(t);n&&(e+="..."),i(void 0,e)}},{bytesLimit:o,collectStreamBody:!0})):s.text().then(x(e=>n(tN(e,t))),x(e=>n(`Unable to retrieve response: ${e}`))):n()}(r.response,e,c):r.error&&(l=r.error,u=e,c(tN(ep(et(l)),u))))}}(t,c),function(e,t){if(!e.forwardErrorsToLogs)return;let n=new z,{stop:r}=function(e){var t,n;let r=(t,n)=>{let r=em({stackTrace:t,originalError:n,startClocks:eE(),nonErrorPrefix:"Uncaught",source:eN.SOURCE,handling:"unhandled"});e.notify(r)},{stop:o}=(t=r,eZ(window,"onerror",({parameters:[e,n,r,o,i]})=>{t(eb(i)?et(i):function(e,t,n,r){var o;let i,s,{name:a,message:l}=(o=e,"[object String]"===({}).toString.call(o)&&([,i,s]=ed.exec(o)),{name:i,message:s});return{name:a,message:l,stack:[{url:t,column:r,line:n}]}}(e,n,r,o),null!=i?i:e)})),{stop:i}=(n=r,eZ(window,"onunhandledrejection",({parameters:[e]})=>{let t=e.reason||"Empty reason";n(et(t),t)}));return{stop:()=>{o(),i()}}}(n);n.subscribe(e=>{t.notify(0,{rawLogsEvent:{message:e.message,date:e.startClocks.timeStamp,error:eH(e),origin:eN.SOURCE,status:eG.error},messageContext:e.context})})}(t,c),i=t,s=c,J(...i.forwardConsoleLogs.map(e=>{var t;return tj[e]||(tj[e]=(t=e,new z(e=>{let n=g[t];return g[t]=(...r)=>{n.apply(console,r);let o=ef("console error");k(()=>{e.notify(function(e,t,n){let r,o=e.map(e=>{var t;return"string"==typeof(t=e)?G(t):eb(t)?eg(et(t)):N(G(t),void 0,2)}).join(" ");if(t===p.error){let t=e.find(eb);r={stack:t?ep(et(t)):void 0,fingerprint:eh(t),causes:t?ew(t,"console"):void 0,startClocks:eE(),message:o,source:eN.CONSOLE,handling:"handled",handlingStack:n,context:ev(t),originalError:t}}return{api:t,message:o,error:r,handlingStack:n}}(r,t,o))})},()=>{g[t]=n}}))),tj[e]})).subscribe(e=>{var t;let n={rawLogsEvent:{date:ex(),message:e.message,origin:eN.CONSOLE,error:e.error&&eH(e.error),status:tM[e.api]},messageContext:null==(t=e.error)?void 0:t.context,domainContext:{handlingStack:e.handlingStack}};s.notify(0,n)}),a=t,u=c,(function(e,t){var n,r;let o=[];t.includes(tS.cspViolation)&&o.push((n=e,new z(e=>{let{stop:t}=X(n,document,["securitypolicyviolation"],t=>{e.notify(function(e){let t=`'${e.blockedURI}' blocked by '${e.effectiveDirective}' directive`;return t_({type:e.effectiveDirective,message:`${tS.cspViolation}: ${t}
4`,originalError:e,csp:{disposition:e.disposition},stack:tC(e.effectiveDirective,e.originalPolicy?`${t} of the policy "${function(e,t,n=""){let r=e.charCodeAt(99),o=r>=55296&&r<=56319?101:100;return e.length<=o?e:`${e.slice(0,o)}${n}`}(e.originalPolicy,100,"...")}"`:"no policy",e.sourceFile,e.lineNumber,e.columnNumber)})}(t))},void 0);return t})));let i=t.filter(e=>e!==tS.cspViolation);return i.length&&o.push((r=i,new z(e=>{if(!window.ReportingObserver)return;let t=x((t,n)=>t.forEach(t=>e.notify(function(e){let{type:t,body:n}=e;return t_({type:n.id,message:`${t}: ${n.message}`,originalError:e,stack:tC(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)})}(t)))),n=new window.ReportingObserver(t,{types:r,buffered:!0});return n.observe(),()=>{n.disconnect()}}))),J(...o)})(a,a.forwardReports).subscribe(e=>{let t,n=e.message,r="deprecation"===e.originalError.type?eG.warn:eG.error;if(r===eG.error)t=eH(e);else{var o,i;e.stack&&(n+=` Found in ${o=e.stack,null==(i=/@ (.+)/.exec(o))?void 0:i[1]}`)}u.notify(0,{rawLogsEvent:{date:ex(),message:n,origin:eN.REPORT,error:t,status:r}})});let{handleLog:w}={handleLog:function(e,t,n,r,o){let i=I(t.getContext(),e.context);if(eB(e.status,ez.console,t)&&function({status:e,message:t},n){y[tG[e]].call(g,t,n)}(e,i),eB(e.status,ez.http,t)){let t={rawLogsEvent:{date:o||ex(),message:e.message,status:e.status,origin:eN.LOGGER},messageContext:i,savedCommonContext:r};n&&(t.domainContext={handlingStack:n}),c.notify(0,t)}}},S=eJ.concat(["custom"]),_={};if(S.forEach(e=>{var n;let r,o;_[e]=(n=t.eventRateLimiterThreshold,r=0,o=!1,{isLimitReached(){if(0===r&&j(()=>{r=0},6e4),(r+=1)<=n||o)return o=!1,!1;if(r===n+1){o=!0;try{m({message:`Reached max number of ${e}s by minute: ${n}`,source:eN.AGENT,startClocks:eE()})}finally{o=!1}}return!0}})}),c.subscribe(0,({rawLogsEvent:e,messageContext:r,savedCommonContext:o,domainContext:i})=>{var s,a;let l,u=e.date-eO(),d=v.findTrackedSession(u);if(!v.findTrackedSession(u,{returnInactive:!0}))return;let f=o||n();!Y(f.account)&&f.account.id&&(l=f.account),d&&d.anonymousId&&!f.user.anonymous_id&&(f.user.anonymous_id=d.anonymousId);let p=I({service:t.service,session_id:d?d.id:void 0,session:d?{id:d.id}:void 0,usr:Y(f.user)?void 0:f.user,account:l,view:f.view},f.context,tP(u),e,r);(null==(s=t.beforeSend)?void 0:s.call(t,p,i))===!1||p.origin!==eN.AGENT&&(null!=(a=_[p.status])?a:_.custom).isLimitReached()||c.notify(1,p)}),eX()){let e=eV();c.subscribe(1,t=>{e.send("log",t)})}else{let{stop:e}=function(e,t,n,r,o){let i=tY(e,{endpoint:e.logsEndpointBuilder,encoder:tQ()},e.replica&&{endpoint:e.replica.logsEndpointBuilder,encoder:tQ()},n,r,o.expireObservable);return t.subscribe(1,e=>{i.add(e)}),i}(t,c,m,h,v);d.push(()=>e())}return{handleLog:w,getInternalContext:({get:e=>{let t=v.findTrackedSession(e);if(t)return{session_id:t.id}}}).get,stop:()=>{d.forEach(e=>e())}}});!function(e,t,n){let r=e[t];r&&!r.q&&r.version&&h.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),e[t]=n,r&&r.q&&r.q.forEach(e=>S(e,"onReady callback threw an error:")())}(R(),"DD_LOGS",t0)},78715:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ESCAPE_REGEX:function(){return r},htmlEscapeAttributeString:function(){return a},htmlEscapeJsonString:function(){return s}});let n={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"},r=/[&><\u2028\u2029]/g,o={"&":"&",'"':""","'":"'","<":"<",">":">"},i=/[&"'<>]/g;function s(e){return e.replace(r,e=>n[e])}function a(e){return e.replace(i,e=>o[e])}},87523:(e,t,n)=>{n.d(t,{default:()=>o.a});var r=n(36704),o=n.n(r)}}]); 5//# sourceMappingURL=9354-410f120933b507d2.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.