1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3643],{1469:(e,t,r)=>{let n,i,o,a,s,u,l,c,d,f,p,m,g,y,v,b;r.d(t,{L:()=>ic});var h,S,w,_,k,T,E=r(17790);function x(e,t){return(...r)=>{try{return e(...r)}catch(e){E.Vy.error(t,e)}}}var A=r(62186),C=r(20916),R=r(76264);let I={GRANTED:"granted",NOT_GRANTED:"not-granted"};var O=r(52426),N=r(52581);function L(){let e="",t=0;return{isAsync:!1,get isEmpty(){return!e},write(r,n){let i=(0,N.WW)(r);t+=i,e+=r,n&&n(i)},finish(e){e(this.finishSync())},finishSync(){let r={output:e,outputBytesCount:t,rawBytesCount:t,pendingData:""};return e="",t=0,r},estimateEncodedBytesCount:e=>e.length}}var P=r(79652),M=r(17289);function $(e,t){return Object.keys(e).some(r=>e[r]===t)}function V(e){return 0===Object.keys(e).length}function U(e,t){let r={};for(let n of Object.keys(e))r[n]=t(e[n]);return r}(h=k||(k={})).TRACK_INTAKE_REQUESTS="track_intake_requests",h.WRITABLE_RESOURCE_GRAPHQL="writable_resource_graphql",h.EARLY_REQUEST_COLLECTION="early_request_collection",h.USE_TREE_WALKER_FOR_ACTION_NAME="use_tree_walker_for_action_name",h.GRAPHQL_TRACKING="graphql_tracking",h.FEATURE_OPERATION_VITAL="feature_operation_vital",h.SHORT_SESSION_INVESTIGATION="short_session_investigation";let D=new Set;function j(e){return D.has(e)}let q="datad0g.com",F="datadoghq.com",B=["ddsource","dd-api-key","dd-request-id"];var G=r(17344);function W(e,t){let r=window.__ddBrowserSdkExtensionCallback;r&&r({type:e,payload:t})}var H=r(91832),z=r(3149),Z=r(53907);function K(e,t,r=function(){if("u">typeof WeakSet){let e=new WeakSet;return{hasAlreadyBeenSeen(t){let r=e.has(t);return r||e.add(t),r}}}let e=[];return{hasAlreadyBeenSeen(t){let r=e.indexOf(t)>=0;return r||e.push(t),r}}}()){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(r.hasAlreadyBeenSeen(t))return;if(Array.isArray(t)){let n=Array.isArray(e)?e:[];for(let e=0;e<t.length;++e)n[e]=K(n[e],t[e],r);return n}let n="object"===(0,Z.P)(e)?e:{};for(let e in t)Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=K(n[e],t[e],r));return n}function J(e){return K(void 0,e)}function Y(...e){let t;for(let r of e)null!=r&&(t=K(t,r));return t}var X=r(66158);function Q(){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}}function ee(){let e=(0,C.V)().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,r,n){e.send(JSON.stringify({eventType:t,event:r,view:n?{id:n}:void 0}))}}}function et(e){var t;void 0===e&&(e=null==(t=(0,C.V)().location)?void 0:t.hostname);let r=ee();return!!r&&r.getAllowedWebViewHosts().some(t=>e===t||e.endsWith(`.${t}`))}function er(e,t){for(let r=e.length-1;r>=0;r-=1){let n=e[r];if(t(n,r,e))return n}}function en(e){return Object.values(e)}function ei(e){return Object.entries(e)}var eo=r(40483);function ea(e,t,r,n,i){return es(e,t,[r],n,i)}function es(e,t,r,n,{once:i,capture:o,passive:a}={}){let s=(0,A.dm)(t=>{(t.isTrusted||t.__ddIsTrusted||e.allowUntrustedEvents)&&(i&&d(),n(t))}),u=a?{capture:o,passive:a}:o,l=window.EventTarget&&t instanceof EventTarget?window.EventTarget.prototype:t,c=(0,eo.W)(l,"addEventListener");function d(){let e=(0,eo.W)(l,"removeEventListener");r.forEach(r=>e.call(t,r,s,u))}return r.forEach(e=>c.call(t,e,s,u)),{stop:d}}let eu={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function el({encoder:e,request:t,flushController:r,messageBytesLimit:n}){let i={},o=r.flushObservable.subscribe(r=>(function(r){var n;let o=en(i).join("\n");i={};let a=(n=r.reason,en(eu).includes(n)),s=a?t.sendOnExit:t.send;if(a&&e.isAsync){let t=e.finishSync();t.outputBytesCount&&s(ec(t));
1let r=[t.pendingData,o].filter(Boolean).join("\n");r&&s({data:r,bytesCount:(0,N.WW)(r)})}else o&&e.write(e.isEmpty?o:` 2${o}`),e.finish(e=>{s(ec(e))})})(r));function a(t,o){let a,s,u=(0,z.s)(t),l=e.estimateEncodedBytesCount(u);l>=n?E.Vy.warn(`Discarded a message whose size was bigger than the maximum allowed size ${n}KB. ${E.xG} ${E.Xs}/#technical-limitations`):(void 0!==o&&void 0!==i[o]&&(a=i[o],delete i[o],s=e.estimateEncodedBytesCount(a),r.notifyAfterRemoveMessage(s)),r.notifyBeforeAddMessage(l),void 0!==o?(i[o]=u,r.notifyAfterAddMessage()):e.write(e.isEmpty?u:` 3${u}`,e=>{r.notifyAfterAddMessage(e-l)}))}return{flushController:r,add:a,upsert:a,stop:o.unsubscribe}}function ec(e){return{data:"string"==typeof e.output?e.output:new Blob([e.output],{type:"text/plain"}),bytesCount:e.outputBytesCount,encoding:e.encoding}}var ed=r(84961),ef=r(26567);let ep=80*N._m,em=20*N.iH,eg=G.iW,ey=G.OY;function ev(e,t,r,n,i,o){0===t.transportStatus&&0===t.queuedPayloads.size()&&t.bandwidthMonitor.canHandle(e)?eb(e,t,r,o,{onSuccess:()=>eh(0,t,r,n,i,o),onFailure:()=>{t.queuedPayloads.enqueue(e)||o.notify({type:"queue-full",bandwidth:t.bandwidthMonitor.stats(),payload:e}),function e(t,r,n,i,o){2===t.transportStatus&&(0,ed.wg)(()=>{eb(t.queuedPayloads.first(),t,r,o,{onSuccess:()=>{t.queuedPayloads.dequeue(),t.currentBackoffTime=ey,eh(1,t,r,n,i,o)},onFailure:()=>{t.currentBackoffTime=Math.min(eg,2*t.currentBackoffTime),e(t,r,n,i,o)}})},t.currentBackoffTime)}(t,r,n,i,o)}}):t.queuedPayloads.enqueue(e)||o.notify({type:"queue-full",bandwidth:t.bandwidthMonitor.stats(),payload:e})}function eb(e,t,r,n,{onSuccess:i,onFailure:o}){t.bandwidthMonitor.add(e),r(e,r=>{var a;t.bandwidthMonitor.remove(e),"opaque"!==(a=r).type&&(0===a.status&&!navigator.onLine||408===a.status||429===a.status||a.status>=500)?(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:r.status},n.notify({type:"failure",bandwidth:t.bandwidthMonitor.stats(),payload:e}),o()):(t.transportStatus=0,n.notify({type:"success",bandwidth:t.bandwidthMonitor.stats(),payload:e}),i())})}function eh(e,t,r,n,i,o){0===e&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(i({message:`Reached max ${n} events size queued for upload: ${em/N.iH}MiB`,source:ef.g.AGENT,startClocks:(0,G.M8)()}),t.queueFullReported=!0);let a=t.queuedPayloads;for(t.queuedPayloads=eS();a.size()>0;)ev(a.dequeue(),t,r,n,i,o)}function eS(){let e=[];return{bytesCount:0,enqueue(t){return!this.isFull()&&(e.push(t),this.bytesCount+=t.bytesCount,!0)},first:()=>e[0],dequeue(){let t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:()=>e.length,isFull(){return this.bytesCount>=em}}}function ew(e,t,r){let n=new R.cP,i={transportStatus:0,currentBackoffTime:ey,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle(e){return 0===this.ongoingRequestCount||this.ongoingByteCount+e.bytesCount<=ep&&this.ongoingRequestCount<32},add(e){this.ongoingRequestCount+=1,this.ongoingByteCount+=e.bytesCount},remove(e){this.ongoingRequestCount-=1,this.ongoingByteCount-=e.bytesCount},stats(){return{ongoingByteCount:this.ongoingByteCount,ongoingRequestCount:this.ongoingRequestCount}}},queuedPayloads:eS(),queueFullReported:!1};return{observable:n,send:o=>{for(let a of e)ev(o,i,(e,r)=>(function(e,t,r,n){(function(){try{return window.Request&&"keepalive"in new Request("http://a")}catch(e){return!1}})()&&r.bytesCount<t?fetch(e.build("fetch-keepalive",r),{method:"POST",body:r.data,keepalive:!0,mode:"cors"}).then((0,A.dm)(e=>null==n?void 0:n({status:e.status,type:e.type}))).catch((0,A.dm)(()=>ek(e,r,n))):ek(e,r,n)})(a,t,e,r),a.trackType,r,n)},sendOnExit:r=>{for(let n of e)!function(e,t,r){if(navigator.sendBeacon&&r.bytesCount<t)try{let t=e.build("beacon",r);if(navigator.sendBeacon(t,r.data))return}catch(e){var n;n=e,e_||(e_=!0,(0,A.Dx)(n))}ek(e,r)}(n,t,r)}}}let e_=!1;function ek(e,t,r){fetch(e.build("fetch",t),{method:"POST",body:t.data,mode:"cors"}).then((0,A.dm)(e=>null==r?void 0:r({status:e.status,type:e.type}))).catch((0,A.dm)(()=>null==r?void 0:r({status:0})))}function eT({messagesLimit:e,bytesLimit:t,durationLimit:r,pageMayExitObservable:n,sessionExpireOb
3servable:i}){let o,a=n.subscribe(e=>d(e.reason)),s=i.subscribe(()=>d("session_expire")),u=new R.cP(()=>()=>{a.unsubscribe(),s.unsubscribe()}),l=0,c=0;function d(e){if(0===c)return;let t=c,r=l;c=0,l=0,f(),u.notify({reason:e,messagesCount:t,bytesCount:r})}function f(){(0,ed.DJ)(o),o=void 0}return{flushObservable:u,get messagesCount(){return c},notifyBeforeAddMessage(e){l+e>=t&&d("bytes_limit"),c+=1,l+=e,void 0===o&&(o=(0,ed.wg)(()=>{d("duration_limit")},r))},notifyAfterAddMessage(r=0){l+=r,c>=e?d("messages_limit"):l>=t&&d("bytes_limit")},notifyAfterRemoveMessage(e){l-=e,0==(c-=1)&&f()}}}let eE="DISCARDED",ex="SKIPPED",eA="configuration",eC="usage",eR=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],eI=["ddog-gov.com"];function eO(){return n||(n=new R.dX(100)),n}function eN(e,t){(0,A.oO)(E.bP.debug,e,t),eO().notify({rawEvent:{type:"log",message:e,status:"debug",...t},kind:"debug"})}function eL(e,t){eO().notify({rawEvent:{type:"log",status:"error",...function(e){if((0,P.bJ)(e)){var t;let r=(0,X.T)(e);return{error:{kind:r.name,stack:(0,M.Yn)(((t=r).stack=t.stack.filter(e=>!e.url||eR.some(t=>e.url.startsWith(t))),t))},message:r.message}}return{error:{stack:P.e6},message:`Uncaught ${(0,z.s)(e)}`}}(e),...t},kind:"error"})}function eP(e,t){eO().notify({rawEvent:{type:"log",message:e,status:"debug",...t},kind:e})}function eM(e){eO().notify({rawEvent:{type:eC,usage:e},kind:eC})}var e$=r(90921);function eV(e,t,r,n){return(0,A.dm)((...i)=>(n&&eM({feature:n}),e()[t][r](...i)))}let eU="userContext",eD="globalContext",ej="accountContext",eq="getContext",eF="setContext",eB="setContextProperty",eG="removeContextProperty",eW="clearContext";function eH(e,t){t.silentMultipleInit||E.Vy.error(`${e} is already initialized.`)}let ez="action",eZ="error",eK="long_task",eJ="view",eY="resource",eX="vital",eQ="initial_load",e0="route_change",e1="bf_cache",e2="custom",e3="error_click",e6="dead_click",e4="duration";var e8=r(81136);function e9({vitalsByName:e,vitalsByReference:t},r,n={}){let i={name:r,startClocks:(0,G.M8)(),...n},o={__dd_vital_reference:!0};return e.set(r,i),t.set(o,i),o}function e5(e,{vitalsByName:t,vitalsByReference:r},n,i={}){var o,a,s,u,l;let c="string"==typeof n?t.get(n):r.get(n);c&&(e((o=c,a=c.startClocks,s=i,u=(0,G.M8)(),{name:o.name,type:e4,startClocks:a,duration:(0,G.vk)(a.timeStamp,u.timeStamp),context:Y(o.context,s.context),description:null!=(l=s.description)?l:o.description})),"string"==typeof n?t.delete(n):r.delete(n))}function e7(e){let{startClocks:t,type:r,name:n,description:i,context:o}=e,a={id:(0,e8.lk)(),type:r,name:n,description:i,...r===e4?{duration:(0,G.Zj)(e.duration)}:{step_type:e.stepType,operation_key:e.operationKey,failure_reason:e.failureReason}};return{rawRumEvent:{date:t.timeStamp,vital:a,type:eX,context:o},startTime:t.relative,duration:r===e4?e.duration:void 0,domainContext:{}}}function te(e,t,r){if(e)for(let n of e){let e=n[t];e&&e(r)}}function tt(e,t){let r=e.indexOf(t);r>=0&&e.splice(r,1)}function tr(e){return Array.isArray(e)&&e.length>0}let tn=[];function ti(e,t,r,n){var i,o;let a=(i=r,o=n,`_dd_c_${i}_${o}`);tn.push(ea(e,window,"storage",({key:e})=>{a===e&&t.setContext(u())})),t.changeObservable.subscribe(function(){localStorage.setItem(a,JSON.stringify(t.getContext()))});let s=Y(u(),t.getContext());function u(){let e=localStorage.getItem(a);return e?JSON.parse(e):{}}V(s)||t.setContext(s)}function to(e,t,r){let n={...e};for(let[e,{required:i,type:o}]of Object.entries(t))"string"!==o||ta(n[e])||(n[e]=String(n[e])),i&&ta(n[e])&&E.Vy.warn(`The property ${e} of ${r} is required; context will not be sent to the intake.`);return n}function ta(e){return null==e||""===e}function ts(e="",{propertiesConfig:t={}}={}){let r={},n=new R.cP,i={getContext:()=>J(r),setContext:o=>{let a;((a="object"===(0,Z.P)(o))||E.Vy.error("Unsupported context:",o),a)?r=(0,e$.a)(to(o,t,e)):i.clearContext(),n.notify()},setContextProperty:(i,o)=>{r=(0,e$.a)(to({...r,[i]:o},t,e)),n.notify()},removeContextProperty:i=>{delete r[i],to(r,t,e),n.notify()},clearContext:()=>{r={},n.notify()},changeObservable:n};return i}function tu(){return ts("global context")}function tl(){return ts("user",{propertiesConfig:{id:{type:"string"},name:{type:"string"},email:{type:"string"}}})}function tc(){return ts("account",{propertiesConfig:{id:{type:"string",required:!0},name:{type:"string"}}})}var td=r(64163),tf=r(87704);function tp(e){return tm(e,location.href).href}function tm(e,t){let{URL:r}=function(){if(!i){let e,t;try{(e=document.createElement("iframe")).style.display="none",document.body.appendChild(e),t=e.contentWindow}catch(e){t=window}i={URL:t.URL},null==e||e.remove()}return i}();try{return void 0!==t?new r(e,t):new r(e)}catch(r){throw Error(`Failed to construct URL: ${String(r)} ${(0,z.s)({url:e,base:t})}`)}}function tg(){return o||(o=new R.cP(e=>{if(!window.fetch)return;let{stop:t}=(0,tf.H)(window,"fetch",t=>(function({parameters:e,onPostCall:t,handlingStack:r},n){let[i,o]=e,a=o&&o.method;void 0===a&&i instanceof Request&&(a=i.method);let s=void 0!==a?String(a).toUpperCase():"GET",u=i instanceof Request?i.url:tp(String(i)),l={state:"start",init:o,input
3:i,method:s,startClocks:(0,G.M8)(),url:u,handlingStack:r};n.notify(l),e[0]=l.input,e[1]=l.init,t(e=>(function(e,t,r){function n(t){r.state="resolve",Object.assign(r,t),e.notify(r)}t.then((0,A.dm)(e=>{n({response:e,responseType:e.type,status:e.status,isAborted:!1})}),(0,A.dm)(e=>{var t,i;n({status:0,isAborted:(null==(i=null==(t=r.init)?void 0:t.signal)?void 0:i.aborted)||e instanceof DOMException&&e.code===DOMException.ABORT_ERR,error:e})}))})(n,e,l))})(t,e),{computeHandlingStack:!0});return t})),o}function ty(e,t,r=0,n){let i=new Date;i.setTime(i.getTime()+r);let o=`expires=${i.toUTCString()}`,a=n&&n.crossSite?"none":"strict",s=n&&n.domain?`;domain=${n.domain}`:"",u=n&&n.secure?";secure":"",l=n&&n.partitioned?";partitioned":"";document.cookie=`${e}=${t};${o};path=/;samesite=${a}${s}${u}${l}`}function tv(e){return(0,e8.rx)(document.cookie,e)}function tb(e){return a||(a=(0,e8.it)(document.cookie)),a.get(e)}function th(){if(void 0===s){let e=`dd_site_test_${(0,e8.lk)()}`,t=window.location.hostname.split("."),r=t.pop();for(;t.length&&!tv(e);)r=`${t.pop()}.${r}`,ty(e,"test",G.OY,{domain:r});ty(e,"",0,{domain:r}),s=r}return s}function tS(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||tb("datadog-synthetics-injects-rum"))}function tw(){let e=window._DATADOG_SYNTHETICS_PUBLIC_ID||tb("datadog-synthetics-public-id");return"string"==typeof e?e:void 0}function t_(){let e=window._DATADOG_SYNTHETICS_RESULT_ID||tb("datadog-synthetics-result-id");return"string"==typeof e?e:void 0}function tk(){return!!(tw()&&t_())}let tT="_dd_s",tE=4*G.MA,tx=15*G.iW,tA=G.$H,tC="cookie",tR="local-storage",tI=/^([a-zA-Z]+)=([a-z0-9-]+)$/;function tO(e,t){let r={isExpired:"1"};return t.trackAnonymousUser&&((null==e?void 0:e.anonymousId)?r.anonymousId=null==e?void 0:e.anonymousId:r.anonymousId=(0,e8.lk)()),r}function tN(e){var t;return void 0!==e.isExpired||!((void 0===(t=e).created||(0,G.x3)()-Number(t.created)<tE)&&(void 0===t.expire||(0,G.x3)()<Number(t.expire)))}function tL(e){e.expire=String((0,G.x3)()+tx)}function tP(e){return ei(e).map(([e,t])=>"anonymousId"===e?`aid=${t}`:`${e}=${t}`).join("&")}function tM(e){let t={};return e&&(-1!==e.indexOf("&")||tI.test(e))&&e.split("&").forEach(e=>{let r=tI.exec(e);if(null!==r){let[,e,n]=r;"aid"===e?t.anonymousId=n:t[e]=n}}),t}function t$(e){var t;let r,n=((r={}).secure=!!(t=e).useSecureSessionCookie||!!t.usePartitionedCrossSiteSessionCookie,r.crossSite=!!t.usePartitionedCrossSiteSessionCookie,r.partitioned=!!t.usePartitionedCrossSiteSessionCookie,t.trackSessionAcrossSubdomains&&(r.domain=th()),r);return!function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{let t=`dd_cookie_test_${(0,e8.lk)()}`,r="test";ty(t,r,G.iW,e);let n=tv(t)===r;return ty(t,"",0,e),n}catch(e){return E.Vy.error(e),!1}}(n)?void 0:{type:tC,cookieOptions:n}}
3function tV(e,t,r,n){ty(tT,tP(r),t.trackAnonymousUser?tA:n,e)}function tU(){return tM(tv(tT))}function tD(){try{let e=(0,e8.lk)(),t=`_dd_test_${e}`;localStorage.setItem(t,e);let r=localStorage.getItem(t);return localStorage.removeItem(t),e===r?{type:tR}:void 0}catch(e){return}}function tj(e){localStorage.setItem(tT,tP(e))}function tq(){return tM(localStorage.getItem(tT))}let tF=G.OY,tB=[];function tG(e,t,r=0){var n;let i,{isLockEnabled:o,persistSession:a,expireSession:s}=t,u=e=>a({...e,lock:i}),c=()=>{let{lock:e,...r}=t.retrieveSession();return{session:r,lock:e&&!function(e){let[,t]=e.split("--");return!t||(0,G.vk)(Number(t),(0,G.nx)())>tF}(e)?e:void 0}};if(l||(l=e),e!==l)return void tB.push(e);if(o&&r>=100){eN("Aborted session operation after max lock retries",{currentStore:c()}),tH(t);return}let d=c();if(o&&(d.lock||(i=(0,e8.lk)()+"--"+(0,G.nx)(),u(d.session),(d=c()).lock!==i)))return void tW(e,t,r);let f=e.process(d.session);if(o&&(d=c()).lock!==i)return void tW(e,t,r);if(f&&(tN(f)?s(f):(tL(f),o?u(f):a(f))),o&&!(f&&tN(f))){if((d=c()).lock!==i)return void tW(e,t,r);a(d.session),f=d.session}null==(n=e.after)||n.call(e,f||d.session),tH(t)}function tW(e,t,r){(0,ed.wg)(()=>{tG(e,t,r+1)},10)}function tH(e){l=void 0;let t=tB.shift();t&&tG(t,e)}let tz=G.OY;var tZ=r(9660);let tK=["chrome-extension://","moz-extension://"];function tJ(e){return tK.some(t=>e.includes(t))}let tY="Running the Browser SDK in a Web extension content script is discouraged and will be forbidden in a future major release unless the `allowedTrackingOrigins` option is provided.";function tX(e,t,r){let n=function(e,t){let r=`/api/v2/${t}`,n=e.proxy;if("string"==typeof n){let e=tp(n);return t=>`${e}?ddforward=${encodeURIComponent(`${r}?${t}`)}`}if("function"==typeof n)return e=>n({path:r,parameters:e});let i=tQ(t,e);return e=>`https://${i}${r}?${e}`}(e,t);return{build:(i,o)=>n(function({clientToken:e,internalAnalyticsSubdomain:t,source:r="browser"},n,i,{retry:o,encoding:a},s=[]){let u=[`ddsource=${r}`,`dd-api-key=${e}`,`dd-evp-origin-version=${encodeURIComponent("6.20.0")}`,"dd-evp-origin=browser",`dd-request-id=${(0,e8.lk)()}`].concat(s);return a&&u.push(`dd-evp-encoding=${a}`),"rum"===n&&(u.push(`batch_time=${(0,G.nx)()}`,`_dd.api=${i}`),o&&u.push(`_dd.retry_count=${o.count}`,`_dd.retry_after=${o.lastFailureStatus}`)),t&&u.reverse(),u.join("&")}(e,t,i,o,r)),trackType:t}}function tQ(e,t){let{site:r=F,internalAnalyticsSubdomain:n}=t;if("logs"===e&&t.usePciIntake&&r===F)return"pci.browser-intake-datadoghq.com";if(n&&r===F)return`${n}.${F}`;if("dd0g-gov.com"===r)return`http-intake.logs.${r}`;let i=r.split("."),o=i.pop();return`browser-intake-${i.join("-")}.${o}`}let t0={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input",MASK_UNLESS_ALLOWLISTED:"mask-unless-allowlisted"},t1={ALL:"all",SAMPLED:"sampled"};function t2(e,t){return null==e||"string"==typeof e||(E.Vy.error(`${t} must be defined as a string`),!1)}function t3(e,t){return void 0===e||!!(0,H.fp)(e)||(E.Vy.error(`${t} Sample Rate should be a number between 0 and 100`),!1)}let t6=new Map;function t4(e){let t=crypto.getRandomValues(new Uint32Array(2));return 63===e&&(t[t.length-1]>>>=1),{toString(e=10){let r=t[1],n=t[0],i="";do{let t=r%e*0x100000000+n;r=Math.floor(r/e),n=Math.floor(t/e),i=(t%e).toString(e)+i}while(r||n);return i}}}function t8(e){return e.toString(16).padStart(16,"0")}function t9(e){0!==e.status||e.isAborted||(e.traceId=void 0,e.spanId=void 0,e.traceSampled=void 0)}function t5(e,t,r,n,i,o){let a=r.findTrackedSession();if(!a)return;let s=e.allowedTracingUrls.find(e=>(0,tZ.K)([e.match],t.url,!0));if(!s)return;let u=function(e,t){var r,n;let i,o,a;if(100===t)return!0;if(0===t)return!1;let s=t6.get(t);return s&&e===s.sessionId?s.decision:(i=window.BigInt?(r=BigInt(`0x${e.split("-")[4]}`),n=t,o=BigInt("1111111111111111111"),Number(r*o%(a=BigInt("0x10000000000000000")))<=n/100*Number(a)):(0,H.ic)(t),t6.set(t,{sessionId:e,decision:i}),i)}(a.id,e.traceSampleRate);(u||e.traceContextInjection===t1.ALL)&&(t.traceSampled=u,t.traceId=t4(64),t.spanId=t4(63),o(function(e,t,r,n,i,o,a,s){let u={};if(i.forEach(n=>{switch(n){case"datadog":Object.assign(u,{"x-datadog-origin":"rum","x-datadog-parent-id":t.toString(),"x-datadog-sampling-priority":r?"1":"0","x-datadog-trace-id":e.toString()});break;case"tracecontext":Object.assign(u,{traceparent:`00-0000000000000000${t8(e)}-${t8(t)}-0${r?"1":"0"}`,tracestate:`dd=s:${r?"1":"0"};o:rum`});break;case"b3":Object.assign(u,{b3:`${t8(e)}-${t8(t)}-${r?"1":"0"}`});break;case"b3multi":Object.assign(u,{"X-B3-TraceId":t8(e),"X-B3-SpanId":t8(t),"X-B3-Sampled":r?"1":"0"})}}),s.propagateTraceBaggage){let e={"session.id":n},t=o.getContext().id;"string"==typeof t&&(e["user.id"]=t);let r=a.getContext().id;"string"==typeof r&&(e["account.id"]=r);let i=Object.entries(e).map(([e,t])=>`${e}=${encodeURIComponent(t)}`).join(",");i&&(u.baggage=i)}return u}(t.traceId,t.spanId,t.traceSampled,a.id,s.propagatorTypes,n,i,e)))}let t7=["tracecontext","datadog"],re=/[a-zA-Z_$]/,rt=/[a-zA-Z0-9_$]/,rr=/[0-9]/,rn=/[a-fA-F0-9]/,ri={0:()=>
3!1,1:()=>!1,2:e=>re.test(e),3:e=>rt.test(e),4:e=>"."===e,5:e=>"["===e,6:e=>"]"===e,7:e=>rr.test(e),8:e=>"'\"".includes(e),9:(e,t)=>e===t.quote,10:()=>!0,11:e=>"\\"===e,12:(e,t)=>void 0===t.escapeSequence?`${t.quote}/\\bfnrtu`.includes(e):!!t.escapeSequence.startsWith("u")&&t.escapeSequence.length<5&&rn.test(e)},ro={0:[2,5],1:[],2:[3,4,5,1],3:[3,4,5,1],4:[2],5:[8,7],6:[4,5,1],7:[7,6],8:[11,9,10],9:[6],10:[11,9,10],11:[12],12:[12,11,9,10]},ra=[2,3,7,10],rs=[4,5,6],ru={'"':'"',"'":"'","/":"/","\\":"\\",b:"\b",f:"\f",n:"\n",r:"\r",t:" "},rl=["applicationId","service","env","version","sessionSampleRate","sessionReplaySampleRate","defaultPrivacyLevel","enablePrivacyForActionName","traceSampleRate","trackSessionAcrossSubdomains","allowedTracingUrls","allowedTrackingOrigins"];async function rc(e,t){var r,n,i;let o,a=await rp(e);return a.ok?(r=e,n=a.value,i=t,o={...r},rl.forEach(e=>{e in n&&(o[e]=rd(n[e]))}),Object.keys(i).forEach(e=>{var t;void 0!==n[e]&&(t=i[e],n[e].forEach(({key:e,value:r})=>{t.setContextProperty(e,rd(r))}))}),o):void E.Vy.error(a.error)}function rd(e){if(Array.isArray(e))return e.map(rd);if("object"==typeof(t=e)&&null!==t){if("rcSerializedType"in e){let n=e.rcSerializedType;switch(n){case"string":return e.value;case"regex":return rf(e.value);case"dynamic":var t,r=e;let i,o=r.strategy;switch(o){case"cookie":i=function({name:e}){return tv(e)}(r);break;case"dom":i=function({selector:e,attribute:t}){var r,n;let i;try{i=document.querySelector(e)}catch(t){i=null,E.Vy.error(`Invalid selector in the remote configuration: '${e}'`)}if(null===i||(r=i,n=t,"password"===r.getAttribute("type")&&"value"===n))return;let o=void 0!==t?i.getAttribute(t):i.textContent;return null!=o?o:void 0}(r);break;case"js":i=function({path:e}){let t=window,r=function(e){let t,r=[],n=0,i={quote:void 0,escapeSequence:void 0},o="";for(let u of e){if(!(t=ro[n].find(e=>ri[e](u,i))))return[];if(void 0!==i.escapeSequence&&12!==t){var a,s;if(a=i.escapeSequence,!("\"'/\\bfnrt".includes(a)||a.startsWith("u")&&5===a.length))return[];o+=(s=i.escapeSequence).startsWith("u")?String.fromCharCode(parseInt(s.slice(1),16)):ru[s],i.escapeSequence=void 0}ra.includes(t)?o+=u:rs.includes(t)&&""!==o?(r.push(o),o=""):12===t?i.escapeSequence=i.escapeSequence?`${i.escapeSequence}${u}`:u:8===t?i.quote=u:9===t&&(i.quote=void 0),n=t}return ro[n].includes(1)?(""!==o&&r.push(o),r):[]}(e);if(0===r.length)return void E.Vy.error(`Invalid JSON path in the remote configuration: '${e}'`);for(let n of r){if(!(n in t))return;try{t=t[n]}catch(t){E.Vy.error(`Error accessing: '${e}'`,t);return}}return t}(r);break;default:E.Vy.error(`Unsupported remote configuration: "strategy": "${o}"`);return}let a=r.extractor;return void 0!==a&&"string"==typeof i?function(e,t){let r=rf(e.value);if(void 0===r)return;let n=r.exec(t);if(null===n)return;let[i,o]=n;return o||i}(a,i):i;default:E.Vy.error(`Unsupported remote configuration: "rcSerializedType": "${n}"`);return}}return U(e,rd)}return e}function rf(e){try{return new RegExp(e)}catch(t){E.Vy.error(`Invalid regex in the remote configuration: '${e}'`)}}async function rp(e){let t;try{var r;t=await fetch((r=e).remoteConfigurationProxy?r.remoteConfigurationProxy:`https://sdk-configuration.${tQ("rum",r)}/v1/${encodeURIComponent(r.remoteConfigurationId)}.json`)}catch(e){t=void 0}if(!t||!t.ok)return{ok:!1,error:Error("Error fetching the remote configuration.")};let n=await t.json();return n.rum?{ok:!0,value:n.rum}:{ok:!1,error:Error("No remote configuration for RUM.")}}function rm(e,t,r){e.changeObservable.subscribe(()=>{let n=e.getContext();r.add(e=>e[t].setContext(n))})}class rg{constructor(){this.callbacks={}}notify(e,t){let r=this.callbacks[e];r&&r.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 ry=1/0,rv=G.iW,rb=null,rh=new Set;function rS({expireDelay:e,maxEntries:t}){let r=[];rb||(rb=(0,ed.yb)(()=>void rh.forEach(e=>e()),rv));let n=()=>{let t=(0,G.$S)()-e;for(;r.length>0&&r[r.length-1].endTime<t;)r.pop()};return rh.add(n),{add:function(e,n){let i={value:e,startTime:n,endTime:ry,remove:()=>{tt(r,i)},close:e=>{i.endTime=e}};return t&&r.length>=t&&r.pop(),r.unshift(i),i},find:function(e=ry,t={returnInactive:!1}){for(let n of r)if(n.startTime<=e){if(t.returnInactive||e<=n.endTime)return n.value;break}},closeActive:function(e){let t=r[0];t&&t.endTime===ry&&t.close(e)},findAll:function(e=ry,t=0){let n=(0,G.Gw)(e,t);return r.filter(t=>t.startTime<=n&&e<=t.endTime).map(e=>e.value)},reset:function(){r=[]},stop:function(){rh.delete(n),0===rh.size&&rb&&((0,ed.vG)(rb),rb=null)}}}let rw=new WeakMap;function r_({target:e,parameters:[t,r]}){rw.set(e,{state:"open",method:String(t).toUpperCase(),url:tp(String(r))})}function rk({target:e}){let t=rw.get(e);t&&(t.isAborted=!0)}let rT="fetch",rE="other",rx="initial_document",rA=[["document",e=>rx===e],["xhr",e=>"xmlhttprequest"===e],[rT,e=>"fetch"===e],["beacon",e=>"beacon"===e],["css",(e,t)=>/\.css$/i.test(t)],["js",(e,t)=>/\.js$/i.test(t)],["image",(e,t)=>["image","img","icon"].includes(e)||null!==/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(t)],["font",(e,t)=>null!==/\.(woff|eot|woff2|ttf)$/i.exec(t)],["media",(e,t)=>["audio","video"].includes(e)||null!==/\.(mp3|mp4)$/i.exec(t)]];function rC(...e){for(let t=1;t<e.length;t+=1)if(e[t-1]>e[t])return!1;return!0}function rR(e){return"xmlhttprequest"===e.initiatorType||"fetch"===e.initiatorType}function rI(e){return e.duration>=0}function rO(e){var t;let r=rC(e.startTime,e.fetchStart,e.domainLookupStart,e.domainLookupEnd,e.connectStart,e.connectEnd,e.requestStart,e.responseStart,e.responseEnd),n=!((t=e).redirectEnd>t.startTime)||rC(e.startTime,e.redirectStart,e.redirectEnd,e.fetchStart);return r&&n}function rN(e,t,r){if(e<=t&&t<=r)return{duration:(0,G.Zj)((0,G.vk)(t,r)),start:(0,G.Zj)((0,G.vk)(e,t))}}function rL(e){return e&&(!B.every(t=>e.includes(t))||j(k.TRACK_INTAKE_REQUESTS))}let rP=/data:(.+)?(;base64)?,/g,rM=1;function r$(){let e=rM;return rM+=1,e}function rV(e){return(0,H.Et)(e)&&e<0?void 0:e}function rU({lifeCycle:e,isChildEvent:t,onChange:r=td.l}){let n={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},i=e.subscribe(13,e=>{var i;if("view"!==e.type&&"vital"!==e.type&&t(e))switch(e.type){case eZ:n.errorCount+=1,r();break;case ez:n.actionCount+=1,e.action.frustration&&(n.frustrationCount+=e.action.frustration.type.length),r();break;case eK:n.longTaskCount+=1,r();break;case eY:(null==(i=e._dd)?void 0:i.discarded)||(n.resourceCount+=1,r())}});return{stop:()=>{i.unsubscribe()},eventCounts:n}}
3function rD(e,t){return new R.cP(r=>{var n;let i,o;if(!window.PerformanceObserver)return;let a=e=>{let t=e.filter(e=>{var t;return!((t=e).entryType===T.RESOURCE&&(!rL(t.name)||!rI(t)))});t.length>0&&r.notify(t)},s=!0,u=new PerformanceObserver((0,A.dm)(e=>{s?i=(0,ed.wg)(()=>a(e.getEntries())):a(e.getEntries())}));try{u.observe(t)}catch(e){if([T.RESOURCE,T.NAVIGATION,T.LONG_TASK,T.PAINT].includes(t.type)){t.buffered&&(i=(0,ed.wg)(()=>a(performance.getEntriesByType(t.type))));try{u.observe({entryTypes:[t.type]})}catch(e){return}}}return s=!1,n=e,!d&&void 0!==window.performance&&"getEntries"in performance&&"addEventListener"in performance&&(d=ea(n,performance,"resourcetimingbufferfull",()=>{performance.clearResourceTimings()})),rj(T.FIRST_INPUT)||t.type!==T.FIRST_INPUT||({stop:o}=function(e,t){let r=(0,G.x3)(),n=!1,{stop:i}=es(e,window,["click","mousedown","keydown","touchstart","pointerdown"],t=>{var r,n;if(!t.cancelable)return;let i={entryType:"first-input",processingStart:(0,G.$S)(),processingEnd:(0,G.$S)(),startTime:t.timeStamp,duration:0,name:"",cancelable:!1,target:null,toJSON:()=>({})};"pointerdown"===t.type?(r=e,n=i,es(r,window,["pointerup","pointercancel"],e=>{"pointerup"===e.type&&o(n)},{once:!0})):o(i)},{passive:!0,capture:!0});return{stop:i};function o(e){if(!n){n=!0,i();let o=e.processingStart-e.startTime;o>=0&&o<(0,G.x3)()-r&&t(e)}}}(e,e=>{a([e])})),()=>{u.disconnect(),o&&o(),(0,ed.DJ)(i)}})}function rj(e){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(e)}function rq(e){return e.nodeType===Node.TEXT_NODE}function rF(e){return e.nodeType===Node.ELEMENT_NODE}(S=T||(T={})).EVENT="event",S.FIRST_INPUT="first-input",S.LARGEST_CONTENTFUL_PAINT="largest-contentful-paint",S.LAYOUT_SHIFT="layout-shift",S.LONG_TASK="longtask",S.LONG_ANIMATION_FRAME="long-animation-frame",S.NAVIGATION="navigation",S.PAINT="paint",S.RESOURCE="resource",S.VISIBILITY_STATE="visibility-state";let rB="data-dd-excluded-activity-mutations";function rG(e,t,r){let n,i=!1,o=(0,ed.wg)((0,A.dm)(()=>l({hadActivity:!1})),100),a=void 0!==r?(0,ed.wg)((0,A.dm)(()=>l({hadActivity:!0,end:(0,G.nx)()})),r):void 0,s=e.subscribe(({isBusy:e})=>{(0,ed.DJ)(o),(0,ed.DJ)(n);let t=(0,G.nx)();e||(n=(0,ed.wg)((0,A.dm)(()=>l({hadActivity:!0,end:t})),100))}),u=()=>{i=!0,(0,ed.DJ)(o),(0,ed.DJ)(n),(0,ed.DJ)(a),s.unsubscribe()};function l(e){i||(u(),t(e))}return{stop:u}}function rW(e,t,r,n){return new R.cP(i=>{let o,a=[],s=0;return a.push(t.subscribe(e=>{e.every(rz)||u()}),r.subscribe(u),rD(n,{type:T.RESOURCE}).subscribe(e=>{e.some(e=>!rH(n,e.name))&&u()}),e.subscribe(7,e=>{rH(n,e.url)||(void 0===o&&(o=e.requestIndex),s+=1,u())}),e.subscribe(8,e=>{rH(n,e.url)||void 0===o||e.requestIndex<o||(s-=1,u())})),()=>{a.forEach(e=>e.unsubscribe())};function u(){i.notify({isBusy:s>0})}})}function rH(e,t){return(0,tZ.K)(e.excludedActivityUrls,t)}function rz(e){let t="characterData"===e.type?e.target.parentElement:e.target;return!!(t&&rF(t)&&t.matches(`[${rB}], [${rB}] *`))}let rZ="data-dd-action-name",rK=[rZ,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],rJ=[r0,function(e){if(e.id&&!rQ(e.id))return`#${CSS.escape(e.id)}`}],rY=[r0,function(e){if("BODY"===e.tagName)return;let t=e.classList;for(let r=0;r<t.length;r+=1){let n=t[r];if(!rQ(n))return`${CSS.escape(e.tagName)}.${CSS.escape(n)}`}},function(e){return CSS.escape(e.tagName)}];function rX(e,t){let r;if(!e.isConnected)return;let n=e;for(;n&&"HTML"!==n.nodeName;){let e=r1(n,rJ,r2,t,r);if(e)return e;r=r1(n,rY,r3,t,r)||r6(function(e){let t=e.parentElement.firstElementChild,r=1;for(;t&&t!==e;)t.tagName===e.tagName&&(r+=1),t=t.nextElementSibling;return`${CSS.escape(e.tagName)}:nth-of-type(${r})`}(n),r),n=n.parentElement}return r}function rQ(e){return/[0-9]/.test(e)}function r0(e,t){if(t){let e=r(t);if(e)return e}for(let e of rK){let t=r(e);if(t)return t}function r(t){if(e.hasAttribute(t))return`${CSS.escape(e.tagName)}[${t}="${CSS.escape(e.getAttribute(t))}"]`}}function r1(e,t,r,n,i){for(let o of t){let t=o(e,n);if(t&&r(e,t,i))return r6(t,i)}}function r2(e,t,r){return 1===e.ownerDocument.querySelectorAll(r6(t,r)).length}function r3(e,t,r){let n;if(void 0===r)n=e=>e.matches(t);else{let e=r6(`${t}:scope`,r);n=t=>null!==t.querySelector(e)}let i=e.parentElement.firstElementChild;for(;i;){if(i!==e&&n(i))return!1;i=i.nextElementSibling}return!0}function r6(e,t){return t?`${e}>${t}`:e}let r4={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:t0.ALLOW,MASK:t0.MASK,MASK_USER_INPUT:t0.MASK_USER_INPUT,MASK_UNLESS_ALLOWLISTED:t0.MASK_UNLESS_ALLOWLISTED},r8={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0};function r9(e){return`[data-dd-privacy="${e}"], .dd-privacy-${e}`}function r5(e,t,r){if(r&&r.has(e))return r.get(e);let n=e.host&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&rF(e.host)?e.host:e.parentNode,i=n?r5(n,t,r):t,o=function(e,t){switch(t){case r4.HIDDEN:case r4.IGNORE:return t}switch(e){case r4.ALLOW:case r4.MASK:case r4.MASK_USER_INPUT:case r4.MASK_UNLESS_ALLOWLISTED:case r4.HIDDEN:case r4.IGNORE:return e;default:return t}}(function(e){if(rF(e)){if("BASE"===e.tagName)return r4.ALLOW;if("INPUT"===e.tagName){if("password"===e.type||"email"===e.type||"tel"===e.type||"hidden"===e.type)return r4.MASK;let t=e.getAttribute("autocomplete");if(t&&(t.startsWith("cc-")||t.endsWith("-password")))return r4.MASK}if(e.matches(r9(r4.HIDDEN)))return r4.HIDDEN;if(e.matches(r9(r4.MASK)))return r4.MASK;
3if(e.matches(r9(r4.MASK_UNLESS_ALLOWLISTED)))return r4.MASK_UNLESS_ALLOWLISTED;if(e.matches(r9(r4.MASK_USER_INPUT)))return r4.MASK_USER_INPUT;if(e.matches(r9(r4.ALLOW)))return r4.ALLOW;if(function(e){if("SCRIPT"===e.nodeName)return!0;if("LINK"===e.nodeName){let e=t("rel");return/preload|prefetch/i.test(e)&&"script"===t("as")||"shortcut icon"===e||"icon"===e}if("META"===e.nodeName){let r=t("name"),n=t("rel"),i=t("property");return/^msapplication-tile(image|color)$/.test(r)||"application-name"===r||"icon"===n||"apple-touch-icon"===n||"shortcut icon"===n||"keywords"===r||"description"===r||/^(og|twitter|fb):/.test(i)||/^(og|twitter):/.test(r)||"pinterest"===r||"robots"===r||"googlebot"===r||"bingbot"===r||e.hasAttribute("http-equiv")||"author"===r||"generator"===r||"framework"===r||"publisher"===r||"progid"===r||/^article:/.test(i)||/^product:/.test(i)||"google-site-verification"===r||"yandex-verification"===r||"csrf-token"===r||"p:domain_verify"===r||"verify-v1"===r||"verification"===r||"shopify-checkout-api-token"===r}function t(t){return(e.getAttribute(t)||"").toLowerCase()}return!1}(e))return r4.IGNORE}}(e),i);return r&&r.set(e,o),o}function r7(e){if(!e||e.nodeType!==e.ELEMENT_NODE)return!1;if("INPUT"===e.tagName)switch(e.type){case"button":case"color":case"reset":case"submit":return!1}return!!r8[e.tagName]}let ne=G.OY;function nt(e,t){let r=e.closest(`[${t}]`);if(r)return na(no(r.getAttribute(t).trim()))}let nr=[(e,t)=>{if("labels"in e&&e.labels&&e.labels.length>0)return nu(e.labels[0],t)},e=>{if("INPUT"===e.nodeName){let t=e.getAttribute("type");if("button"===t||"submit"===t||"reset"===t)return{name:e.value,nameSource:"text_content"}}},(e,t)=>{if("BUTTON"===e.nodeName||"LABEL"===e.nodeName||"button"===e.getAttribute("role"))return nu(e,t)},e=>ns(e,"aria-label"),(e,t)=>{let r=e.getAttribute("aria-labelledby");if(r)return{name:r.split(/\s+/).map(t=>{var r,n;return r=e,n=t,r.ownerDocument?r.ownerDocument.getElementById(n):null}).filter(e=>!!e).map(e=>nl(e,t)).join(" "),nameSource:"text_content"}},e=>ns(e,"alt"),e=>ns(e,"name"),e=>ns(e,"title"),e=>ns(e,"placeholder"),(e,t)=>{if("options"in e&&e.options.length>0)return nu(e.options[0],t)}],nn=[(e,t)=>nu(e,t)];function ni(e,t,r){let n=e,i=0;for(;i<=10&&n&&"BODY"!==n.nodeName&&"HTML"!==n.nodeName&&"HEAD"!==n.nodeName;){for(let e of t){let t=e(n,r);if(t){let{name:e,nameSource:r}=t,n=e&&e.trim();if(n)return{name:na(no(n)),nameSource:r}}}if("FORM"===n.nodeName)break;n=n.parentElement,i+=1}}function no(e){return e.replace(/\s+/g," ")}function na(e){return e.length>100?`${(0,e8._R)(e,100)} [...]`:e}function ns(e,t){return{name:e.getAttribute(t)||"",nameSource:"standard_attribute"}}function nu(e,t){return{name:nl(e,t)||"",nameSource:"text_content"}}function nl(e,t){if(e.isContentEditable)return;let{enablePrivacyForActionName:r,actionNameAttribute:n,defaultPrivacyLevel:i}=t;if(j(k.USE_TREE_WALKER_FOR_ACTION_NAME)){var o=e,a=n,s=r,u=i;let t=new Map,l=document.createTreeWalker(o,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,function(e){let r=r5(e,u,t);if(s&&r&&function(e,t){switch(t){case r4.MASK:case r4.HIDDEN:case r4.IGNORE:return!0;case r4.MASK_UNLESS_ALLOWLISTED:if(rq(e)){var r,n;return!!r7(e.parentNode)||!(!((r=e.textContent||"")&&r.trim())||(null==(n=window.$DD_ALLOW)?void 0:n.has(r.toLocaleLowerCase())))}return r7(e);case r4.MASK_USER_INPUT:return rq(e)?r7(e.parentNode):r7(e);default:return!1}}(e,r))return NodeFilter.FILTER_REJECT;if(rF(e)){if(e.hasAttribute(rZ)||a&&e.hasAttribute(a))return NodeFilter.FILTER_REJECT;let t=getComputedStyle(e);if("visible"!==t.visibility||"none"===t.display||t.contentVisibility&&"visible"!==t.contentVisibility)return NodeFilter.FILTER_REJECT}return NodeFilter.FILTER_ACCEPT}),c="";for(;l.nextNode();){let e=l.currentNode;if(rF(e)){("BR"===e.nodeName||"P"===e.nodeName||["block","flex","grid","list-item","table","table-caption"].includes(getComputedStyle(e).display))&&(c+=" ");continue}c+=e.textContent||""}return c.replace(/\s+/g," ").trim()}if("innerText"in e){let t=e.innerText,i=r=>{let n=e.querySelectorAll(r);for(let e=0;e<n.length;e+=1){let r=n[e];if("innerText"in r){let e=r.innerText;e&&e.trim().length>0&&(t=t.replace(e,""))}}};return i(`[${rZ}]`),n&&i(`[${n}]`),r&&i(`${r9(r4.HIDDEN)}, ${r9(r4.MASK)}`),t}return e.textContent}function nc(){let e=window.getSelection();return!e||e.isCollapsed}
3function nd(e){return e.target instanceof Element&&!1!==e.isPrimary}function nf(e){if(e.hasPageActivity||e.getUserActivity().input||e.getUserActivity().scroll)return!1;let t=e.event.target;return"LABEL"===t.tagName&&t.hasAttribute("for")&&(t=document.getElementById(t.getAttribute("for"))),!t||!t.matches('input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]),textarea,select,[contenteditable],[contenteditable] *,canvas,a[href],a[href] *')}let np=10*G.OY,nm=new Map;function ng(e,t){nm.set(e,t),nm.forEach((e,t)=>{(0,G.vk)(t,(0,G.$S)())>np&&nm.delete(t)})}let ny=5*G.iW;function nv(e){let t=nb(e)?{action:{id:e.id,loading_time:rV((0,G.Zj)(e.duration)),frustration:{type:e.frustrationTypes},error:{count:e.counts.errorCount},long_task:{count:e.counts.longTaskCount},resource:{count:e.counts.resourceCount}},_dd:{action:{target:e.target,position:e.position,name_source:e.nameSource}}}:{context:e.context},r=Y({action:{id:(0,e8.lk)(),target:{name:e.name},type:e.type},date:e.startClocks.timeStamp,type:ez},t),n=nb(e)?e.duration:void 0,i=nb(e)?{events:e.events}:{handlingStack:e.handlingStack};return{rawRumEvent:r,duration:n,startTime:e.startClocks.relative,domainContext:i}}function nb(e){return e.type!==e2}let nh={},nS="csp_violation";function nw(e){return{startClocks:(0,G.M8)(),source:ef.g.REPORT,handling:"unhandled",...e}}function n_(e,t,r,n,i){return r?(0,M.Yn)({name:e,message:t,stack:[{func:"?",url:r,line:null!=n?n:void 0,column:null!=i?i:void 0}]}):void 0}let nk=G.OY,nT=new WeakSet;function nE(e){return(0,G.Gw)(e.startTime,e.duration)}function nx(e,t,r){return document.readyState===t||"complete"===document.readyState?(r(),{stop:td.l}):ea(e,window,"complete"===t?"load":"DOMContentLoaded",r,{once:!0})}let nA=2*G.iW;function nC(e,t){let r=t&&Number(t);if(e&&r)return{traceId:e,traceTime:r}}function nR(e){if(e&&e.nodeType===Node.COMMENT_NODE){let t=/^\s*DATADOG;(.*?)\s*$/.exec(e.data);if(t)return t[1]}}function nI(){if(rj(T.NAVIGATION)){let e=performance.getEntriesByType(T.NAVIGATION)[0];if(e)return e}let e=function(){let e={},t=performance.timing;for(let r in t)if((0,H.Et)(t[r])){let n=t[r];e[r]=0===n?0:(0,G.gs)(n)}return e}(),t={entryType:T.NAVIGATION,initiatorType:"navigation",name:window.location.href,startTime:0,duration:e.loadEventEnd,decodedBodySize:0,encodedBodySize:0,transferSize:0,workerStart:0,toJSON:()=>({...t,toJSON:void 0}),...e};return t}var nO=r(87488);function nN(e,t,r,n){let i=rR(e)&&n?n.getMatchingRequest(e):void 0;return nL(e,i,r,t)}function nL(e,t,r,n){var i,o,a,s;if(!e&&!t)return;let u=t?function(e,t){if(e.traceSampled&&e.traceId&&e.spanId)return{_dd:{span_id:e.spanId.toString(),trace_id:e.traceId.toString(),rule_psr:t.rulePsr}}}(t,n):function(e,t){if(e.traceId)return{_dd:{trace_id:e.traceId,span_id:t4(63).toString(),rule_psr:t.rulePsr}}}(e,n);if(!n.trackResources&&!u)return;let l=e?(0,G.FR)(e.startTime):t.startClocks,c=e?function(e){let{duration:t,startTime:r,responseEnd:n}=e;return 0===t&&r<n?(0,G.vk)(r,n):t}(e):(i=r,o=l,a=t.duration,i.wasInPageStateDuringPeriod("frozen",o.relative,a)?void 0:a),d=t&&function(e,t){if(!j(k.GRAPHQL_TRACKING))return;let r=(0,nO.T)(e.url,t);if(r)return(0,nO.O)(e.body,r.trackPayload)}(t,n),f=Y({date:l.timeStamp,resource:{id:(0,e8.lk)(),duration:(0,G.Zj)(c),type:t?"xhr"===t.type?"xhr":rT:function(e){let t,r=e.name;if(!function(e){try{return!!tm(e)}catch(e){return!1}}(r))return eN(`Failed to construct URL for "${e.name}"`),rE;let n="/"===(t=tm(r).pathname)[0]?t:`/${t}`;for(let[t,r]of rA)if(r(e.initiatorType,n))return t;return rE}(e),method:t?t.method:void 0,status_code:t?t.status:0===(s=e.responseStatus)?void 0:s,url:t?function(e,t=24e3){if(e.length<=t||!e.startsWith("data:"))return e;let r=e.substring(0,100).match(rP);return r?`${r[0]}[...]`:e}(t.url):e.name,protocol:e&&(""===e.nextHopProtocol?void 0:e.nextHopProtocol),delivery_type:e&&(""===e.deliveryType?"other":e.deliveryType),graphql:d},type:eY,_dd:{discarded:!n.trackResources}},u,e&&function(e){let{renderBlockingStatus:t}=e;return{resource:{render_blocking_status:t,...function(e){if(e.startTime<e.responseStart){let{encodedBodySize:t,decodedBodySize:r,transferSize:n}=e;return{size:r,encoded_body_size:t,decoded_body_size:r,transfer_size:n}}return{size:void 0,encoded_body_size:void 0,decoded_body_size:void 0,transfer_size:void 0}}(e),...function(e){if(!rO(e))return;let{startTime:t,fetchStart:r,workerStart:n,redirectStart:i,redirectEnd:o,domainLookupStart:a,domainLookupEnd:s,connectStart:u,secureConnectionStart:l,connectEnd:c,requestStart:d,responseStart:f,responseEnd:p}=e,m={download:rN(t,f,p),first_byte:rN(t,d,f)};return 0<n&&n<r&&(m.worker=rN(t,n,r)),r<c&&(m.connect=rN(t,u,c),u<=l&&l<=c&&(m.ssl=rN(t,l,c))),r<s&&(m.dns=rN(t,a,s)),t<o&&(m.redirect=rN(t,i,o)),m}(e)}}}(e));return{startTime:l.relative,duration:c,rawRumEvent:f,domainContext:function(e,t){if(t){let r={performanceEntry:e,isAborted:t.isAborted,handlingStack:t.handlingStack};return"xhr"===t.type?{xhr:t.xhr,...r}:{requestInput:t.input,requestInit:t.init,response:t.response,error:t.error,...r}}return{performanceEntry:e}}(e,t)}}let nP=10*G.iW,nM=10*G.iW;function n$(e,t,r=window){if("hidden"===document.visibilityState)return{timeStamp:0,stop:td.l};if(rj(T.VISIBILITY_STATE)){let e=performance.getEntriesByType(T.VISIBILITY_STATE).filter(e=>"hidden"===e.name).find(e=>e.startTime>=t.relative);if(e)return{timeStamp:e.startTime,stop:td.l}}let n=1/0,{stop:i}=es(e,r,["pagehide","visibilitychange"],e=>{("pagehide"===e.type||"hidden"===document.visibilityState)&&(n=e.timeStamp,i())},{capture:!0});return{get timeStamp(){return n},stop:i}}let nV=e=>{var t,r;let n,i,o,a;return e.previousRect.width*e.previousRect.height+e.currentRect.width*e.currentRect.height-(t=e.previousRect,r=e.currentRect,n=Math.max(t.left,r.left),i=Math.max(t.top,r.top),o=Math.min(t.right,r.right),a=Math.min(t.bottom,r.bottom),n>=o||i>=a?0:(o-n)*(a-i))};function nU({x:e,y:t,width:r,height:n}){return{x:e,y:t,width:r,height:n}}let nD=5*G.OY,nj=G.OY,nq=0,nF=1/0,nB=0,nG=()=>f?nq:window.performance.interactionCount||0,nW=+G.iW;
3function nH(){let e=window.visualViewport;return e?{width:Number(e.width*e.scale),height:Number(e.height*e.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}let nz=G.OY,nZ=5*G.iW,nK=5*G.iW;function nJ(e){let t=e.indexOf("?");return t<0?e:e.slice(0,t)}let nY=G.iW,nX=[];async function nQ(){let e=tU();eN("Unexpected session state",{session:e,isSyntheticsTest:tk(),createdTimestamp:null==e?void 0:e.created,expireTimestamp:null==e?void 0:e.expire,cookie:await n0(),currentDomain:`${window.location.protocol}//${window.location.hostname}`})}async function n0(){let e;return{count:(e="cookieStore"in window?await window.cookieStore.getAll(tT):document.cookie.split(/\s*;\s*/).filter(e=>e.startsWith(tT))).length,domain:th(),...e}}function n1(e){return Object.prototype.hasOwnProperty.call(history,e)?history:History.prototype}let n2=10*G.OY;function n3(){0!==m.batchCount&&(eP("Customer data measures",m),n8())}function n6(){return{min:1/0,max:0,sum:0}}function n4(e,t){e.sum+=t,e.min=Math.min(e.min,t),e.max=Math.max(e.max,t)}function n8(){m={batchCount:0,batchBytesCount:n6(),batchMessagesCount:n6()}}function n9(){return"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}let n5=G.OY;function n7(e,t){let r=(0,e8.rx)(document.cookie,e),n=(0,ed.yb)(()=>{let n=(0,e8.rx)(document.cookie,e);n!==r&&t(n)},n5);return()=>{(0,ed.vG)(n)}}let ie="datadog-ci-visibility-test-execution-id";function it(e,t,r){let n=0,i=!1;return{isLimitReached(){if(0===n&&(0,ed.wg)(()=>{n=0},G.iW),(n+=1)<=t||i)return i=!1,!1;if(n===t+1){i=!0;try{r({message:`Reached max number of ${e}s by minute: ${t}`,source:ef.g.AGENT,startClocks:(0,G.M8)()})}finally{i=!1}}return!0}}}function ir(e,t){var r;let n=t?`${e}:${t}`:e;return(n.length>200||(r=n,function(){try{return RegExp("[\\p{Ll}]","u"),!0}catch(e){return!1}}()&&RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(r)))&&E.Vy.warn(`Tag ${n} doesn't meet tag requirements and will be sanitized. ${E.xG} ${E.fH}/getting_started/tagging/#defining-tags`),n.replace(/,/g,"_")}function ii(e){return"object"===(0,Z.P)(e)}let io={"view.name":"string","view.url":"string","view.referrer":"string"},ia={context:"object"},is={service:"string",version:"string"},iu=function(){let e={};return{register:(t,r)=>(e[t]||(e[t]=[]),e[t].push(r),{unregister:()=>{e[t]=e[t].filter(e=>e!==r)}}),triggerHook(t,r){let n=e[t]||[],i=[];for(let e of n){let t=e(r);if(t===eE)return eE;t!==ex&&i.push(t)}return Y(...i)}}},il=[ez,eZ,eK,eY,eX],ic=function(e,t,r,n={}){var i;let o,a,s={tryToInit(e){i||(i=e)},update(e){i=e,o.notify()},isGranted:()=>i===I.GRANTED,observable:o=new R.cP},u={vitalsByName:new Map,vitalsByReference:new WeakMap},l=(0,O.t)().observable,c=function({ignoreInitIfSyntheticsWillInjectRum:e=!0,startDeflateWorker:t},r,n,i){let o,a,s,u,l,c=(l=[],{add:e=>{l.push(e)>500&&l.splice(0,1)},remove:e=>{tt(l,e)},drain:e=>{l.forEach(t=>t(e)),l.length=0}}),d=tu();rm(d,eD,c);let f=tl();rm(f,eU,c);let p=tc();rm(p,ej,c);let m=r.observable.subscribe(y),g={};function y(){let e;if(!s||!u||!r.isGranted())return;if(m.unsubscribe(),u.trackViewsManually){if(!o)return;c.remove(o.callback),e=o.options}let t=i(u,a,e);c.drain(t)}function v(e){var n,i,o,l,c,d,f,p;let m,g,v=et();if(v&&(e={...d=e,applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100,defaultPrivacyLevel:null!=(f=d.defaultPrivacyLevel)?f:null==(p=ee())?void 0:p.getPrivacyLevel()}),s=e,m={session_sample_rate:(o=n=e).sessionSampleRate,telemetry_sample_rate:o.telemetrySampleRate,telemetry_configuration_sample_rate:o.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:o.telemetryUsageSampleRate,use_before_send:!!o.beforeSend,use_partitioned_cross_site_session_cookie:o.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:o.useSecureSessionCookie,use_proxy:!!o.proxy,silent_multiple_init:o.silentMultipleInit,track_session_across_subdomains:o.trackSessionAcrossSubdomains,track_anonymous_user:o.trackAnonymousUser,session_persistence:o.sessionPersistence,allow_fallback_to_local_storage:!!o.allowFallbackToLocalStorage,store_contexts_across_pages:!!o.storeContextsAcrossPages,allow_untrusted_events:!!o.allowUntrustedEvents,tracking_consent:o.trackingConsent,use_allowed_tracking_origins:Array.isArray(o.allowedTrackingOrigins),source:o.source,sdk_version:o.sdkVersion,variant:o.variant},c={session_replay_sample_rate:n.sessionReplaySampleRate,start_session_replay_recording_manually:n.startSessionReplayRecordingManually,trace_sample_rate:n.traceSampleRate,trace_context_injection:n.traceContextInjection,prop
3agate_trace_baggage:n.propagateTraceBaggage,action_name_attribute:n.actionNameAttribute,use_allowed_tracing_urls:tr(n.allowedTracingUrls),use_allowed_graph_ql_urls:tr(n.allowedGraphQlUrls),use_track_graph_ql_payload:tr(l=n.allowedGraphQlUrls)&&l.some(e=>"object"==typeof e&&"trackPayload"in e&&!!e.trackPayload),selected_tracing_propagators:(g=new Set,tr(n.allowedTracingUrls)&&n.allowedTracingUrls.forEach(e=>{(0,tZ.V)(e)?t7.forEach(e=>g.add(e)):"object"===(0,Z.P)(e)&&Array.isArray(e.propagatorTypes)&&e.propagatorTypes.forEach(e=>g.add(e))}),Array.from(g)),default_privacy_level:n.defaultPrivacyLevel,enable_privacy_for_action_name:n.enablePrivacyForActionName,use_excluded_activity_urls:tr(n.excludedActivityUrls),use_worker_url:!!n.workerUrl,compress_intake_requests:n.compressIntakeRequests,track_views_manually:n.trackViewsManually,track_user_interactions:n.trackUserInteractions,track_resources:n.trackResources,track_long_task:n.trackLongTasks,track_bfcache_views:n.trackBfcacheViews,plugins:null==(i=n.plugins)?void 0:i.map(e=>{var t;return{name:e.name,...null==(t=e.getConfigurationTelemetry)?void 0:t.call(e)}}),track_feature_flags_for_events:n.trackFeatureFlagsForEvents,remote_configuration_id:n.remoteConfigurationId,profiling_sample_rate:n.profilingSampleRate,use_remote_configuration_proxy:!!n.remoteConfigurationProxy,...m},eO().notify({rawEvent:{type:eA,configuration:c},kind:eA}),u)return void eH("DD_RUM",e);let b=function(e){var t,r,n,i,o,a,s;if(void 0===e.trackFeatureFlagsForEvents||Array.isArray(e.trackFeatureFlagsForEvents)||E.Vy.warn("trackFeatureFlagsForEvents should be an array"),!e.applicationId)return void E.Vy.error("Application ID is not configured, no RUM data will be collected.");if(!t3(e.sessionReplaySampleRate,"Session Replay")||!t3(e.traceSampleRate,"Trace"))return;if(void 0!==e.excludedActivityUrls&&!Array.isArray(e.excludedActivityUrls))return void E.Vy.error("Excluded Activity Urls should be an array");let u=function(e){if(void 0===e.allowedTracingUrls)return[];if(!Array.isArray(e.allowedTracingUrls))return void E.Vy.error("Allowed Tracing URLs should be an array");if(0!==e.allowedTracingUrls.length&&void 0===e.service)return void E.Vy.error("Service needs to be configured when tracing is enabled");let t=[];return e.allowedTracingUrls.forEach(e=>{if((0,tZ.V)(e))t.push({match:e,propagatorTypes:t7});else"object"===(0,Z.P)(e)&&(0,tZ.V)(e.match)&&Array.isArray(e.propagatorTypes)?t.push(e):E.Vy.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",e)}),t}(e);if(!u)return;let l=function(e){if(!e.allowedGraphQlUrls)return[];if(!Array.isArray(e.allowedGraphQlUrls))return E.Vy.warn("allowedGraphQlUrls should be an array"),[];let t=[];
3return e.allowedGraphQlUrls.forEach(e=>{(0,tZ.V)(e)?t.push({match:e,trackPayload:!1}):e&&"object"==typeof e&&"match"in e&&(0,tZ.V)(e.match)&&t.push({match:e.match,trackPayload:!!e.trackPayload})}),t}(e),c=function(e){var t,r,n,i,o,a,s,u,l,c,d,f,p;if(!e||!e.clientToken)return void E.Vy.error("Client Token is not configured, we will not send any data.");if(void 0!==e.allowedTrackingOrigins&&!Array.isArray(e.allowedTrackingOrigins))return void E.Vy.error("Allowed Tracking Origins must be an array");if((!(d=e.site)||"string"!=typeof d||/(datadog|ddog|datad0g|dd0g)/.test(d)||(E.Vy.error(`Site should be a valid Datadog site. ${E.xG} ${E.fH}/getting_started/site/.`),0))&&t3(e.sessionSampleRate,"Session")&&t3(e.telemetrySampleRate,"Telemetry")&&t3(e.telemetryConfigurationSampleRate,"Telemetry Configuration")&&t3(e.telemetryUsageSampleRate,"Telemetry Usage")&&t2(e.version,"Version")&&t2(e.env,"Env")&&t2(e.service,"Service")&&function(e,t="u">typeof location?location.origin:"",r=Error().stack){let n=e.allowedTrackingOrigins;if(!n)return function(e,t=""){return!tJ(e)&&tJ(t)}(t,r)&&(E.Vy.warn(tY),eN(tY,{extensionUrl:function(e=""){for(let t of tK){let r=e.match(RegExp(`${t}[^/]+`));if(r)return r[0]}}(r)||"unknown"})),!0;let i=(0,tZ.K)(n,t);return i||E.Vy.error("SDK initialized on a non-allowed domain."),i}(e)){let d,m,g;if(void 0!==e.trackingConsent&&!$(I,e.trackingConsent))return void E.Vy.error('Tracking Consent should be either "granted" or "not-granted"');return{beforeSend:e.beforeSend&&x(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:function(e){switch(e.sessionPersistence){case tC:return t$(e);case tR:return tD();case void 0:{let t=t$(e);return!t&&e.allowFallbackToLocalStorage&&(t=tD()),t}default:E.Vy.error(`Invalid session persistence '${String(e.sessionPersistence)}'`)}}(e),sessionSampleRate:null!=(t=e.sessionSampleRate)?t:100,telemetrySampleRate:null!=(r=e.telemetrySampleRate)?r:20,telemetryConfigurationSampleRate:null!=(n=e.telemetryConfigurationSampleRate)?n:5,telemetryUsageSampleRate:null!=(i=e.telemetryUsageSampleRate)?i:5,service:null!=(o=e.service)?o:void 0,env:null!=(a=e.env)?a:void 0,version:null!=(s=e.version)?s:void 0,datacenter:null!=(u=e.datacenter)?u:void 0,silentMultipleInit:!!e.silentMultipleInit,allowUntrustedEvents:!!e.allowUntrustedEvents,trackingConsent:null!=(l=e.trackingConsent)?l:I.GRANTED,trackAnonymousUser:null==(c=e.trackAnonymousUser)||c,storeContextsAcrossPages:!!e.storeContextsAcrossPages,batchBytesLimit:16*N._m,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*G.OY,batchMessagesLimit:50,messageBytesLimit:256*N._m,variant:e.variant,sdkVersion:e.sdkVersion,...(d=e.site||F,m="flutter"===(f=e.source)||"unity"===f?f:"browser",g={logsEndpointBuilder:tX(p={...e,site:d,source:m},"logs"),rumEndpointBuilder:tX(p,"rum"),profilingEndpointBuilder:tX(p,"profile"),sessionReplayEndpointBuilder:tX(p,"replay"),exposuresEndpointBuilder:tX(p,"exposures")},{replica:function(e){if(!e.replica)return;let t={...e,site:F,clientToken:e.replica.clientToken};return{logsEndpointBuilder:tX(t,"logs"),rumEndpointBuilder:tX(t,"rum",[`application.id=${e.replica.applicationId}`])}}({...e,site:d,source:m}),site:d,source:m,...g})}}}(e);if(!c)return;let d=null!=(t=e.sessionReplaySampleRate)?t:0;return{applicationId:e.applicationId,actionNameAttribute:e.actionNameAttribute,sessionReplaySampleRate:d,startSessionReplayRecordingManually:void 0!==e.startSessionReplayRecordingManually?!!e.startSessionReplayRecordingManually:0===d,traceSampleRate:null!=(r=e.traceSampleRate)?r:100,rulePsr:(0,H.Et)(e.traceSampleRate)?e.traceSampleRate/100:void 0,allowedTracingUrls:u,excludedActivityUrls:null!=(n=e.excludedActivityUrls)?n:[],workerUrl:e.workerUrl,compressIntakeRequests:!!e.compressIntakeRequests,trackUserInteractions:!!(null==(i=e.trackUserInteractions)||i),trackViewsManually:!!e.trackViewsManually,trackResources:!!(null==(o=e.trackResources)||o),trackLongTasks:!!(null==(a=e.trackLongTasks)||a),trackBfcacheViews:!!e.trackBfcacheViews,subdomain:e.subdomain,defaultPrivacyLevel:$(t0,e.defaultPrivacyLevel)?e.defaultPrivacyLevel:t0.MASK,enablePrivacyF
3orActionName:!!e.enablePrivacyForActionName,customerDataTelemetrySampleRate:1,initialViewMetricsTelemetrySampleRate:1,replayTelemetrySampleRate:1,traceContextInjection:$(t1,e.traceContextInjection)?e.traceContextInjection:t1.SAMPLED,plugins:e.plugins||[],trackFeatureFlagsForEvents:e.trackFeatureFlagsForEvents||[],profilingSampleRate:null!=(s=e.profilingSampleRate)?s:0,propagateTraceBaggage:!!e.propagateTraceBaggage,allowedGraphQlUrls:l,...c}}(e);if(b){if(!v&&!b.sessionStoreStrategyType)return void E.Vy.warn("No storage available for session. We will not send any data.");if(b.compressIntakeRequests&&!v&&t&&!(a=t(b,"Datadog RUM",td.l)))return;u=b,tg().subscribe(td.l),r.tryToInit(b.trackingConsent),y()}}let b=e=>{c.add(t=>t.addDurationVital(e))};return{init(t,r){var n;if(!t)return void E.Vy.error("Missing configuration");Array.isArray(n=t.enableExperimentalFeatures)&&n.filter(e=>$(k,e)).forEach(e=>{D.add(e)}),s=t,e&&tS()||(te(t.plugins,"onInit",{initConfiguration:t,publicApi:r}),t.remoteConfigurationId?rc(t,{user:f,context:d}).then(e=>{e&&v(e)}
3).catch(A.Dx):v(t))},get initConfiguration(){return s},getInternalContext:td.l,stopSession:td.l,addTiming(e,t=(0,G.nx)()){c.add(r=>r.addTiming(e,t))},startView(e,t=(0,G.M8)()){let r=r=>{r.startView(e,t)};c.add(r),o||(o={options:e,callback:r},y())},setViewName(e){c.add(t=>t.setViewName(e))},setViewContext(e){c.add(t=>t.setViewContext(e))},setViewContextProperty(e,t){c.add(r=>r.setViewContextProperty(e,t))},getViewContext:()=>g,globalContext:d,userContext:f,accountContext:p,addAction(e){c.add(t=>t.addAction(e))},addError(e){c.add(t=>t.addError(e))},addFeatureFlagEvaluation(e,t){c.add(r=>r.addFeatureFlagEvaluation(e,t))},startDurationVital:(e,t)=>e9(n,e,t),stopDurationVital(e,t){e5(b,n,e,t)},addDurationVital:b,addOperationStepVital:(e,t,r,n)=>{c.add(i=>i.addOperationStepVital((0,e$.a)(e),t,(0,e$.a)(r),(0,e$.a)(n)))}}}(n,s,u,(i,o,a)=>{var d,f;let p=e(i,t,r,a,o&&n.createDeflateEncoder?e=>n.createDeflateEncoder(i,o,e):L,s,u,l,n.sdkName);return t.onRumStart(p.lifeCycle,i,p.session,p.viewHistory,o,p.telemetry),r.onRumStart(p.lifeCycle,p.hooks,i,p.session,p.viewHistory),d=c,f=p,c={init:e=>{eH("DD_RUM",e)},initConfiguration:d.initConfiguration,...f},te(i.plugins,"onRumStart",{strategy:c,addEvent:p.addEvent}),p}),d=()=>c,f=(0,A.dm)(e=>{c.startView("object"==typeof e?e:{name:e}),eM({feature:"start-view"})}),p=(Object.defineProperty(a={version:"6.20.0",onReady(e){e()},...{init:(0,A.dm)(e=>{c.init(e,p)}),setTrackingConsent:(0,A.dm)(e=>{s.update(e),eM({feature:"set-tracking-consent",tracking_consent:e})}),setViewName:(0,A.dm)(e=>{c.setViewName(e),eM({feature:"set-view-name"})}),setViewContext:(0,A.dm)(e=>{c.setViewContext(e),eM({feature:"set-view-context"})}),setViewContextProperty:(0,A.dm)((e,t)=>{c.setViewContextProperty(e,t),eM({feature:"set-view-context-property"})}),getViewContext:(0,A.dm)(()=>(eM({feature:"set-view-context-property"}),c.getViewContext())),getInternalContext:(0,A.dm)(e=>c.getInternalContext(e)),getInitConfiguration:(0,A.dm)(()=>J(c.initConfiguration)),addAction:(e,t)=>{let r=(0,M.uC)("action");(0,A.um)(()=>{c.addAction({name:(0,e$.a)(e),context:(0,e$.a)(t),startClocks:(0,G.M8)(),type:e2,handlingStack:r}),eM({feature:"add-action"})})},addError:(e,t)=>{let r=(0,M.uC)("error");(0,A.um)(()=>{c.addError({error:e,handlingStack:r,context:(0,e$.a)(t),startClocks:(0,G.M8)()}),eM({feature:"add-error"})})},addTiming:(0,A.dm)((e,t)=>{c.addTiming((0,e$.a)(e),t)}),setGlobalContext:eV(d,eD,eF,"set-global-context"),getGlobalContext:eV(d,eD,eq,"get-global-context"),setGlobalContextProperty:eV(d,eD,eB,"set-global-context-property"),removeGlobalContextProperty:eV(d,eD,eG,"remove-global-context-property"),clearGlobalContext:eV(d,eD,eW,"clear-global-context"),setUser:eV(d,eU,eF,"set-user"),getUser:eV(d,eU,eq,"get-user"),setUserProperty:eV(d,eU,eB,"set-user-property"),removeUserProperty:eV(d,eU,eG,"remove-user-property"),clearUser:eV(d,eU,eW,"clear-user"),setAccount:eV(d,ej,eF,"set-account"),getAccount:eV(d,ej,eq,"get-account"),setAccountProperty:eV(d,ej,eB,"set-account-property"),removeAccountProperty:eV(d,ej,eG,"remove-account-property"),clearAccount:eV(d,ej,eW,"clear-account"),startView:f,stopSession:(0,A.dm)(()=>{c.stopSession(),eM({feature:"stop-session"})}),addFeatureFlagEvaluation:(0,A.dm)((e,t)=>{c.addFeatureFlagEvaluation((0,e$.a)(e),(0,e$.a)(t)),eM({feature:"add-feature-flag-evaluation"})}),getSessionReplayLink:(0,A.dm)(()=>t.getSessionReplayLink()),startSessionReplayRecording:(0,A.dm)(e=>{t.start(e),eM({feature:"start-session-replay-recording",force:e&&e.force})}),stopSessionReplayRecording:(0,A.dm)(()=>t.stop()),addDurationVital:(0,A.dm)((e,t)=>{eM({feature:"add-duration-vital"}),c.addDurationVital({name:(0,e$.a)(e),type:e4,startClocks:(0,G.jR)(t.startTime),duration:t.duration,context:(0,e$.a)(t&&t.context),description:(0,e$.a)(t&&t.description)})}),startDurationVital:(0,A.dm)((e,t)=>(eM({feature:"start-duration-vital"}),c.startDurationVital((0,e$.a)(e),{context:(0,e$.a)(t&&t.context),description:(0,e$.a)(t&&t.description)}))),stopDurationVital:(0,A.dm)((e,t)=>{eM({feature:"stop-duration-vital"}
3),c.stopDurationVital("string"==typeof e?(0,e$.a)(e):e,{context:(0,e$.a)(t&&t.context),description:(0,e$.a)(t&&t.description)})}),startFeatureOperation:(0,A.dm)((e,t)=>{eM({feature:"add-operation-step-vital",action_type:"start"}),c.addOperationStepVital(e,"start",t)}),succeedFeatureOperation:(0,A.dm)((e,t)=>{eM({feature:"add-operation-step-vital",action_type:"succeed"}),c.addOperationStepVital(e,"end",t)}),failFeatureOperation:(0,A.dm)((e,t,r)=>{eM({feature:"add-operation-step-vital",action_type:"fail"}),c.addOperationStepVital(e,"end",r,t)})}},"_setDebug",{get:()=>A.pM,enumerable:!1}),a);return p}(function(e,t,r,n,i,o,a,s,l){var d,v,b,h,S,w,_,x,C,I,O,N,L;let $,F,B,K,en,ec,ep,em,eg,ey,ev,eb,eh,eS,e_,ek=[],eR=new rg,eM=iu();eR.subscribe(13,e=>W("rum",e));let eV=e=>{eR.notify(14,{error:e}),eN("Error reported to customer",{"error.message":e.message})},eU=new R.cP(t=>{let{stop:r}=es(e,window,["visibilitychange","freeze"],e=>{"visibilitychange"===e.type&&"hidden"===document.visibilityState?t.notify({reason:eu.HIDDEN}):"freeze"===e.type&&t.notify({reason:eu.FROZEN})},{capture:!0}),n=ea(e,window,"beforeunload",()=>{t.notify({reason:eu.UNLOADING})}).stop;return()=>{r(),n()}}),eD=eU.subscribe(e=>{eR.notify(11,e)});ek.push(()=>eD.unsubscribe());let ej=function(e,t,r,n,i,o){var a,s,u,l;let c,d,f,p,m,g=new R.cP,{stop:y}=function(e,t,r,n,i){let o=[];if(et()){let e=ee(),t=i.subscribe(t=>e.send("internal_telemetry",t));o.push(t.unsubscribe)}else{let a=[e.rumEndpointBuilder];e.replica&&e.site===q&&a.push(e.replica.rumEndpointBuilder);let s=el({encoder:n(4),request:ew(a,e.batchBytesLimit,t),flushController:eT({messagesLimit:e.batchMessagesLimit,bytesLimit:e.batchBytesLimit,durationLimit:e.flushTimeout,pageMayExitObservable:r,sessionExpireObservable:new R.cP}),messageBytesLimit:e.messageBytesLimit});o.push(s.stop);let u=i.subscribe(s.add);o.push(u.unsubscribe)}return{stop:()=>o.forEach(e=>e())}}(t,n,i,o,g),{enabled:v}=(a=e,s=t,u=r,l=g,c={},f={log:d=!eI.includes(s.site)&&(0,H.ic)(s.telemetrySampleRate),[eA]:d&&(0,H.ic)(s.telemetryConfigurationSampleRate),[eC]:d&&(0,H.ic)(s.telemetryUsageSampleRate)},p={is_local_file:"file:"===window.location.protocol,is_worker:"WorkerGlobalScope"in self},(m=eO()).subscribe(({rawEvent:e,kind:t})=>{var r,n,i,o;let d;if(!f[e.type])return;let m=c[t];if(m||(m=c[t]=new Set),m.size>=s.maxTelemetryEventsPerPage)return;let g=(0,z.s)(e);if(m.has(g))return;let y=u.triggerHook(1,{startTime:(0,G.M8)().relative});if(y===eE)return;let v=(r=y,n=a,i=e,o=p,d={type:"telemetry",date:(0,G.M8)().timeStamp,service:n,version:"6.20.0",source:"browser",_dd:{format_version:2},telemetry:Y(i,{runtime_env:o,connectivity:Q(),sdk_setup:"npm"}),experimental_features:Array.from(D)},Y(d,r));l.notify(v),W("telemetry",v),m.add(g)}),m.unbuffer(),(0,A.Bd)(eL),{enabled:d});return{stop:y,enabled:v}}("browser-rum-sdk",e,eM,eV,eU,i);ek.push(ej.stop);let eq=et()?(K={id:"00000000-aaaa-0000-aaaa-000000000000",sessionReplay:+!!((B=ee())&&B.getCapabilities().includes("records"))},{findTrackedSession:()=>K,expire:td.l,expireObservable:new R.cP,setForcedReplay:td.l}):((en=function(e,t,r){let n=new R.cP,i=new R.cP,o=function(e,t,r,n=function(e,t){return e.type===tC?function(e,t){let r={isLockEnabled:0===(null!=u?u:u=function(e=window){var t;let r=e.navigator.userAgent;return e.chrome||/HeadlessChrome/.test(r)?0:(null==(t=e.navigator.vendor)?void 0:t.indexOf("Apple"))===0||/safari/i.test(r)&&!/chrome|android/i.test(r)?1:2}()),persistSession:r=>tV(t,e,r,tx),retrieveSession:tU,expireSession:r=>tV(t,e,tO(r,e),tE)};if(!tb(tT)){let e=tb("_dd"),t=tb("_dd_r"),n=tb("_dd_l"),i={};e&&(i.id=e),n&&/^[01]$/.test(n)&&(i.logs=n),t&&/^[012]$/.test(t)&&(i.rum=t),V(i)||(tL(i),r.persistSession(i))}return r}(t,e.cookieOptions):{isLockEnabled:!1,persistSession:tj,retrieveSession:tq,expireSession:e=>(function(e,t){tj(tO(e,t))})(e,t)}}(e,t)){let i,o=new R.cP,a=new R.cP,s=new R.cP,l=(0,ed.yb)(function(){let e=n.retrieveSession();tN(e)?tG({process:e=>tN(e)?tO(e,t):void 0,after:f},n):f(e)},tz);p();let{throttled:c,cancel:d}=(0,td.n)(()=>{tG({process:e=>{if(V(e))return;let t=f(e);return function(e){if(V(e))return;let t=r(e.rum);e.rum=t,delete e.isExpired,"0"===t||e.id||(e.id=(0,e8.lk)(),e.created=String((0,G.x3)()))}(t),t},after:e=>{V(e)||m()||(i=e,o.notify()),i=e}},n)},tz);function f(e){var r;return tN(e)&&(e=tO(e,t)),m()&&((r=e,i.id!==r.id||i.rum!==r.rum)?(i=tO(i,t),a.notify()):(s.notify({previousState:i,newState:e}),i=e)),e}function p(){tG({process:e=>{if(V(e))return tO(e,t)},after:e=>{i=e}},n)}function m(){return(null==i?void 0:i.rum)!==void 0}return{expandOrRenewSession:c,expandSession:function(){tG({process:e=>m()?f(e):void 0},n)},getSession:()=>
3i,renewObservable:o,expireObservable:a,sessionStateUpdateObservable:s,restartSession:p,expire:()=>{d(),n.expireSession(i),f(tO(i,t))},stop:()=>{(0,ed.vG)(l)},updateSessionState:function(e){tG({process:t=>({...t,...e}),after:f},n)}}}(e.sessionStoreStrategyType,e,t);nX.push(()=>o.stop());let a=rS({expireDelay:tE});if(nX.push(()=>a.stop()),o.renewObservable.subscribe(()=>{a.add(s(),(0,G.$S)()),n.notify()}),o.expireObservable.subscribe(()=>{i.notify(),a.closeActive((0,G.$S)())}),o.expandOrRenewSession(),a.add(s(),(0,G.Oc)().relative),j(k.SHORT_SESSION_INVESTIGATION)){let t=o.getSession();t&&function(e,t){if(!window.cookieStore||!t.created)return;let r=Number(t.created),n=(0,G.x3)(),{stop:i}=ea(e,cookieStore,"change",function(e){let o=er(e.changed,e=>e.name===tT);if(!o)return;let a=(0,G.x3)()-r;if(a>14*G.iW)i();else{let e=tM(o.value);if(e.id&&e.id!==t.id){i();let r=(0,G.x3)()-n;n0().then(n=>{eN("Session cookie changed",{time:r,session_age:a,old:t,new:e,cookie:n})}).catch(A.Dx)}}});nX.push(i)}(e,t)}function s(){let e=o.getSession();return e?{id:e.id,trackingType:e.rum,isReplayForced:!!e.forcedReplay,anonymousId:e.anonymousId}:(nQ().catch(()=>void 0),{id:"invalid",trackingType:"0",isReplayForced:!1,anonymousId:void 0})}return r.observable.subscribe(()=>{r.isGranted()?o.expandOrRenewSession():o.expire()}),function(e,t){let{stop:r}=es(e,window,["click","touchstart","keydown","scroll"],t,{capture:!0,passive:!0});nX.push(r)}(e,()=>{r.isGranted()&&o.expandOrRenewSession()}),function(e,t){let r=()=>{"visible"===document.visibilityState&&t()},{stop:n}=ea(e,document,"visibilitychange",r);nX.push(n);let i=(0,ed.yb)(r,nY);nX.push(()=>{(0,ed.vG)(i)})}(e,()=>o.expandSession()),function(e,t){let{stop:r}=ea(e,window,"resume",t,{capture:!0});nX.push(r)}(e,()=>o.restartSession()),{findSession:(e,t)=>a.find(e,t),renewObservable:n,expireObservable:i,sessionStateUpdateObservable:o.sessionStateUpdateObservable,expire:o.expire,updateSessionState:o.updateSessionState}}(e,t=>{var r,n,i;return r=e,"0"===(i=n=t)||"1"===i||"2"===i?n:(0,H.ic)(r.sessionSampleRate)?(0,H.ic)(r.sessionReplaySampleRate)?"1":"2":"0"},o)).expireObservable.subscribe(()=>{eR.notify(9)}),en.renewObservable.subscribe(()=>{eR.notify(10)}),en.sessionStateUpdateObservable.subscribe(({previousState:e,newState:t})=>{if(!e.forcedReplay&&t.forcedReplay){let e=en.findSession();e&&(e.isReplayForced=!0)}}),{findTrackedSession:e=>{let t=en.findSession(e);if(t&&"0"!==t.trackingType)return{id:t.id,sessionReplay:"1"===t.trackingType?1:2*!!t.isReplayForced,anonymousId:t.anonymousId}},expire:en.expire,expireObservable:en.expireObservable,setForcedReplay:()=>en.updateSessionState({forcedReplay:"1"})});if(et()){let e;e=ee(),eR.subscribe(13,t=>{e.send("rum",t)})}else{let t,r,n=(d=eq.expireObservable,t=[e.rumEndpointBuilder],e.replica&&t.push(e.replica.rumEndpointBuilder),r=el({encoder:i(2),request:ew(t,e.batchBytesLimit,eV),flushController:eT({messagesLimit:e.batchMessagesLimit,bytesLimit:e.batchBytesLimit,durationLimit:e.flushTimeout,pageMayExitObservable:eU,sessionExpireObservable:d}),messageBytesLimit:e.messageBytesLimit}),eR.subscribe(13,e=>{e.type===eJ?r.upsert(e,e.view.id):r.add(e)}),r);ek.push(()=>n.stop()),v=n.flushController.flushObservable,ej.enabled&&(0,H.ic)(e.customerDataTelemetrySampleRate)&&(n8(),g=!1,eR.subscribe(13,()=>{g=!0}),v.subscribe(({bytesCount:e,messagesCount:t})=>{g&&(g=!1,m.batchCount+=1,n4(m.batchBytesCount,e),n4(m.batchMessagesCount,t))}),(0,ed.yb)(n3,n2))}let eF=(ec=function(){let e,t=window;if(t.Zone&&(e=(0,eo.W)(t,"MutationObserver"),t.MutationObserver&&e===t.MutationObserver)){let r=new t.MutationObserver(td.l),n=(0,eo.W)(r,"originalInstance");e=n&&n.constructor}return e||(e=t.MutationObserver),e}(),new R.cP(e=>{if(!ec)return;let t=new ec((0,A.dm)(t=>e.notify(t)));return t.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),()=>t.disconnect()})),eB=(w=e,$={..._=location},new R.cP(e=>{let{stop:t}=function(e,t){let{stop:r}=(0,tf.H)(n1("pushState"),"pushState",({onPostCall:e})=>{e(t)}),{stop:n}=(0,tf.H)(n1("replaceState"),"replaceState",({onPostCall:e})=>{e(t)}),{stop:i}=ea(e,window,"popstate",t);return{stop:()=>{r(),n(),i()}}}(w,n),{stop:r}=ea(w,window,"hashchange",n);function n(){if($.href===_.href)return;let t={..._};e.notify({newLocation:t,oldLocation:$}),$=t}return()=>{t(),r()}})),{observable:eG,stop:eW}=function(){let e=new R.cP,{stop:t}=(0,tf.H)(window,"open",()=>e.notify());return{observable:e,stop:t}}();ek.push(eW),eM.register(0,({eventType:t})=>{let r=e.source;return{type:t,_dd:{format_version:2,drift:(0,G.TP)(),configuration:{session_sample_rate:(0,H.LI)(e.sessionSampleRate,3),session_replay_sample_rate:(0,H.LI)(e.sessionReplaySampleRate,3),profiling_sample_rate:(0,H.LI)(e.profilingSampleRate,3)},browser_sdk_version:et()?"6.20.0":void 0,sdk_name:l},application:{id:e.applicationId},date:(0,G.nx)(),source:r}}),eM.register(1,()=>({application:{id:e.applicationId}}));let eH=function(e,t,r=500){let n,i=rS({expireDelay:tE,maxEntries:4e3});rj(T.VISIBILITY_STATE)&&performance.getEntriesByType(T.VISIBILITY_STATE).forEac
3h(e=>{a("hidden"===e.name?"hidden":"active",e.startTime)}),a(n9(),(0,G.$S)());let{stop:o}=es(t,window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],e=>{var t;a("freeze"===(t=e).type?"frozen":"pagehide"===t.type?t.persisted?"frozen":"terminated":n9(),e.timeStamp)},{capture:!0});function a(e,t=(0,G.$S)()){e!==n&&(n=e,i.closeActive(t),i.add({state:n,startTime:t},t))}function s(e,t,r){return i.findAll(t,r).some(t=>t.state===e)}return e.register(0,({startTime:e,duration:t=0,eventType:n})=>n===eJ?{type:n,_dd:{page_states:function(e,t,r){if(0!==e.length)return e.slice(-r).reverse().map(({state:e,startTime:r})=>({state:e,start:(0,G.Zj)((0,G.vk)(t,r))}))}(i.findAll(e,t),e,r)}}:n===ez||n===eZ?{type:n,view:{in_foreground:s("active",e,0)}}:ex),{wasInPageStateDuringPeriod:s,addPageState:a,stop:()=>{o(),i.stop()}}}(eM,e),e2=(ep=rS({expireDelay:tE}),eR.subscribe(1,e=>{var t;ep.add({service:(t=e).service,version:t.version,context:t.context,id:t.id,name:t.name,startClocks:t.startClocks},e.startClocks.relative)}),eR.subscribe(6,({endClocks:e})=>{ep.closeActive(e.relative)}),eR.subscribe(3,e=>{let t=ep.find(e.startClocks.relative);t&&(e.name&&(t.name=e.name),e.context&&(t.context=e.context),t.sessionIsActive=e.sessionIsActive)}),eR.subscribe(10,()=>{ep.reset()}),{findView:e=>ep.find(e),stop:()=>{ep.stop()}});ek.push(()=>e2.stop());let e4=function(e,t,r,n){let i,o=rS({expireDelay:tE});e.subscribe(1,({startClocks:e})=>{let t=n.href;o.add(s({url:t,referrer:i||document.referrer}),e.relative),i=t}),e.subscribe(6,({endClocks:e})=>{o.closeActive(e.relative)});let a=r.subscribe(({newLocation:e})=>
3{let t=o.find();if(t){let r=(0,G.$S)();o.closeActive(r),o.add(s({url:e.href,referrer:t.referrer}),r)}});function s({url:e,referrer:t}){return{url:e,referrer:t}}return t.register(0,({startTime:e,eventType:t})=>{let r=o.find(e);return r?{type:t,view:{url:r.url,referrer:r.referrer}}:eE}),{findUrl:e=>o.find(e),stop:()=>{a.unsubscribe(),o.stop()}}}(eR,eM,eB,location);ek.push(()=>e4.stop());let te=(em=rS({expireDelay:tE}),eR.subscribe(1,({startClocks:e})=>{em.add({},e.relative)}),eR.subscribe(6,({endClocks:e})=>{em.closeActive(e.relative)}),eM.register(0,({startTime:t,eventType:r})=>{if(!e.trackFeatureFlagsForEvents.concat([eJ,eZ]).includes(r))return ex;let n=em.find(t);return!n||V(n)?ex:{type:r,feature_flags:n}}),{addFeatureFlagEvaluation:(e,t)=>{let r=em.find();r&&(r[e]=t)}});eM.register(0,({eventType:e,startTime:r})=>{let n,i,o,a=eq.findTrackedSession(r),s=e2.findView(r);return a&&s?(e===eJ?(n=!!t.getReplayStats(s.id)||void 0,i=1===a.sessionReplay,o=!!s.sessionIsActive&&void 0):n=!!t.isRecording()||void 0,{type:e,session:{id:a.id,type:"user",has_replay:n,sampled_for_replay:i,is_active:o}}):eE}),eM.register(1,({startTime:e})=>{let t=eq.findTrackedSession(e);return t?{session:{id:t.id}}:ex}),eM.register(0,({eventType:e})=>({type:e,connectivity:Q()})),eM.register(1,()=>o.isGranted()?ex:eE);let tt=(eg=tu(),e.storeContextsAcrossPages&&ti(e,eg,"rum",2),eM.register(0,()=>{let e=eg.getContext();return{context:e}}),eg),tr=(ey=tl(),e.storeContextsAcrossPages&&ti(e,ey,"rum",1),eM.register(0,({eventType:t,startTime:r})=>{let n=ey.getContext(),i=eq.findTrackedSession(r);return(i&&i.anonymousId&&!n.anonymous_id&&e.trackAnonymousUser&&(n.anonymous_id=i.anonymousId),V(n))?ex:{type:t,usr:n}}),eM.register(1,({startTime:e})=>{var t;return{anonymous_id:null==(t=eq.findTrackedSession(e))?void 0:t.anonymousId}}),ey),tn=(ev=tc(),e.storeContextsAcrossPages&&ti(e,ev,"rum",4),eM.register(0,()=>{let e=ev.getContext();return V(e)||!e.id?ex:{account:e}}),ev),{actionContexts:to,addAction:ta,addEvent:tp,stop:tm}=function(e,t,r,n,i,o,a){var s;let u,l,c,d,f=function(e,t,r,n,i){let{unsubscribe:o}=e.subscribe(0,t=>{e.notify(12,nv(t))});t.register(0,({startTime:e,eventType:t})=>{if(t!==eZ&&t!==eY&&t!==eK)return ex;let r=a.findActionId(e);return r?{type:t,action:{id:r}}:ex}),t.register(1,({startTime:e})=>({action:{id:a.findActionId(e)}}));let a={findActionId:td.l},s=td.l;return i.trackUserInteractions&&({actionContexts:a,stop:s}=function(e,t,r,n){let i,o=rS({expireDelay:ny}),a=new R.cP;e.subscribe(10,()=>{o.reset()}),e.subscribe(5,l),e.subscribe(11,e=>{e.reason===eu.UNLOADING&&l()});let{stop:s}=function(e,{onPointerDown:t,onPointerUp:r}){let n,i,o={selection:!1,input:!1,scroll:!1},a=[ea(e,window,"pointerdown",e=>{nd(e)&&(n=nc(),o={selection:!1,input:!1,scroll:!1},i=t(e))},{capture:!0}),ea(e,window,"selectionchange",()=>{n&&nc()||(o.selection=!0)},{capture:!0}),ea(e,window,"scroll",()=>{o.scroll=!0},{capture:!0,passive:!0}),ea(e,window,"pointerup",e=>{if(nd(e)&&i){let t=o;r(i,e,()=>t),i=void 0}},{capture:!0}),ea(e,window,"input",()=>{o.input=!0},{capture:!0})];return{stop:()=>{a.forEach(e=>e.stop())}}}(n,{onPointerDown:i=>(function(e,t,r,n,i){var o;let a;if((a=e.enablePrivacyForActionName?r5(n.target,e.defaultPrivacyLevel):r4.ALLOW)===r4.HIDDEN)return;let s=function(e,t,r){let n=e.target.getBoundingClientRect(),i=rX(e.target,r.actionNameAttribute);i&&ng(e.timeStamp,i);let{name:o,nameSource:a}=function(e,t,r=r4.ALLOW){let{actionNameAttribute:n}=t,i=nt(e,rZ)||n&&nt(e,n);return i?{name:i,nameSource:"custom_attribute"}:r===r4.MASK?{name:"Masked Element",nameSource:"mask_placeholder"}:ni(e,nr,t)||ni(e,nn,t)||{name:"",nameSource:"blank"}}(e.target,r,t);return{type:"click",target:{width:Math.round(n.width),height:Math.round(n.height),selector:i},position:{x:Math.round(e.clientX-n.left),y:Math.round(e.clientY-n.top)},name:o,nameSource:a}}(n,a,e),u=!1;return o=e=>{u=e.hadActivity},rG(rW(t,r,i,e),o,100),{clickActionBase:s,hadActivityOnPointerDown:()=>u}})(n,e,t,i,r),onPointerUp:({clickActionBase:i,hadActivityOnPointerDown:s},l,c)=>{!function(e,t,r,n,i,o,a,s,u,l,c){var d,f;let p=function e(t,r,n,i,o){let a,s=(0,e8.lk)(),u=(0,G.M8)(),l=r.add(s,u.relative),c=rU({lifeCycle:t,isChildEvent:e=>void 0!==e.action&&(Array.isArray(e.action.id)?e.action.id.includes(s):e.action.id===s)}),d=0,f=[],p=new R.cP;function m(e){0===d&&(d=1,(a=e)?l.close((0,G.gs)(a)):l.remove(),c.stop(),p.notify())}return{event:o,stop:m,stopObservable:p,get hasError(){return c.eventCounts.errorCount>0},get hasPageActivity(){return void 0!==a},getUserActivity:n,addFrustration:e=>{f.push(e)},startClocks:u,isStopped:()=>1===d||2===d,clone:()=>e(t,r,n,i,o),validate:e=>{if(m(),1!==d)return;let{resourceCount:r,errorCount:n,longTaskCount:l}=c.eventCounts,p={duration:a&&(0,G.vk)(u.timeStamp,a),startClocks:u,id:s,frustrationTypes:f,counts:{resourceCount:r,errorCount:n,longTaskCount:l},events:null!=e?e:[o],event:o,...i};t.notify(0,p),d=2},discard:()=>{m(),d=2}}}(t,i,l,s,u);a(p);let m=null==(d=null==s?void 0:s.target)?void 0:d.selector;m&&ng(u.timeStamp,m);let{stop:g}=(f=e=>{e.hadActivity&&e.end<p.startClocks.timeStamp?p.discard():e.hadActivity?p.stop(e.end):c()?p.stop(p.startClocks.timeStamp):p.stop()},rG(rW(t,r,n,e),f,np)),y=t.subscribe(5,({endClocks:e})=>{p.stop(e.timeStamp)}),v=o.subscribe(()=>{p.stop()});p.stopObservable.subscribe(()=>{y.unsubscribe(),g(),v.unsubscribe()})}(n,e,t,r,o,a,u,i,l,c,s)}});return{stop:()=>
3{l(),a.notify(),s()},actionContexts:{findActionId:e=>o.findAll(e)}};function u(e){if(!i||!i.tryAppend(e)){let t=e.clone();i=function(e,t){let r,n=[],i=0;function o(e){e.stopObservable.subscribe(a),n.push(e),(0,ed.DJ)(r),r=(0,ed.wg)(s,ne)}function a(){1===i&&n.every(e=>e.isStopped())&&(i=2,t(n))}function s(){(0,ed.DJ)(r),0===i&&(i=1,a())}return o(e),{tryAppend:e=>{var t,r,a,u;return 0===i&&(!(n.length>0)||(t=n[n.length-1].event,r=e.event,t.target===r.target&&100>=(a=t,u=r,Math.sqrt(Math.pow(a.clientX-u.clientX,2)+Math.pow(a.clientY-u.clientY,2)))&&t.timeStamp-r.timeStamp<=ne)?(o(e),!0):(s(),!1))},stop:()=>{s()}}}(e,e=>{!function(e,t){let{isRage:r}=function(e,t){if(function(e){if(e.some(e=>e.getUserActivity().selection||e.getUserActivity().scroll))return!1;for(let t=0;t<e.length-2;t+=1)if(e[t+3-1].event.timeStamp-e[t].event.timeStamp<=G.OY)return!0;return!1}(e))return t.addFrustration("rage_click"),e.some(nf)&&t.addFrustration(e6),t.hasError&&t.addFrustration(e3),{isRage:!0};let r=e.some(e=>e.getUserActivity().selection);return e.forEach(e=>{e.hasError&&e.addFrustration(e3),nf(e)&&!r&&e.addFrustration(e6)}),{isRage:!1}}(e,t);r?(e.forEach(e=>e.discard()),t.stop((0,G.nx)()),t.validate(e.map(e=>e.event))):(t.discard(),e.forEach(e=>e.validate()))}(e,t)})}}function l(){i&&i.stop()}}(e,r,n,i)),{addAction:t=>{e.notify(12,nv(t))},actionContexts:a,stop:()=>{o(),s()}}}(e,t,i,o,r),m={addEvent:(t,r,n,i)=>{il.includes(r.type)&&e.notify(12,{startTime:t,rawRumEvent:r,domainContext:n,duration:i})}},g=(l=requestAnimationFrame((0,A.dm)(()=>{u=nH()})),c=(!p&&(s=r,p=new R.cP(e=>{let{throttled:t}=(0,td.n)(()=>{e.notify(nH())},200);return ea(s,window,"resize",t,{capture:!0,passive:!0}).stop})),p).subscribe(e=>{u=e}).unsubscribe,t.register(0,({eventType:e})=>({type:e,display:u?{viewport:u}:void 0})),{stop:()=>{c(),l&&cancelAnimationFrame(l)}}),v=function(e,t,r=function(e,t){let r=window.cookieStore?function(e){return(t,r)=>ea(e,window.cookieStore,"change",e=>{let n=e.changed.find(e=>e.name===t)||e.deleted.find(e=>e.name===t);n&&r(n.value)}).stop}(e):n7;return new R.cP(e=>r(t,t=>e.notify(t)))}(e,ie)){var n;let i=tb(ie)||(null==(n=window.Cypress)?void 0:n.env("traceId")),o=r.subscribe(e=>{i=e});return t.register(0,({eventType:e})=>"string"!=typeof i?ex:{type:e,session:{type:"ci_test"},ci_test:{test_execution_id:i}}),{stop:()=>{o.unsubscribe()}}}(r,t);return t.register(0,({eventType:e})=>tk()?{type:e,session:{type:"synthetics"},synthetics:{test_id:tw(),result_id:t_(),injected:tS()}}:ex),y={[eJ]:{"view.performance.lcp.resource_url":"string",...ia,...io,...is},[eZ]:{"error.message":"string","error.stack":"string","error.resource.url":"string","error.fingerprint":"string",...ia,...io,...is},[eY]:{"resource.url":"string",...j(k.WRITABLE_RESOURCE_GRAPHQL)?{"resource.graphql":"object"}:{},...ia,...io,...is},[ez]:{"action.target.name":"string",...ia,...io,...is},[eK]:{"long_task.scripts[].source_url":"string","long_task.scripts[].invoker":"string",...ia,...io,...is},[eX]:{...ia,...io,...is}},d={[eZ]:it(eZ,r.eventRateLimiterThreshold,a),[ez]:it(ez,r.eventRateLimiterThreshold,a),[eX]:it(eX,r.eventRateLimiterThreshold,a)},e.subscribe(12,({startTime:n,duration:i,rawRumEvent:o,domainContext:a})=>{let s=t.triggerHook(0,{eventType:o.type,startTime:n,duration:i});if(s===eE)return;let u=Y(s,o,{ddtags:(function(e){let{env:t,service:r,version:n,datacenter:i,sdkVersion:o,variant:a}=e,s=[ir("sdk_version",null!=o?o:"6.20.0")];return t&&s.push(ir("env",t)),r&&s.push(ir("service",r)),n&&s.push(ir("version",n)),i&&s.push(ir("datacenter",i)),a&&s.push(ir("variant",a)),s})(r).join(",")});(function(e,t,r,n){var i,o;if(t){let n,i,a=(o=y[e.type],i=(e=>t(e,r))(n=J(e)),ei(o).forEach(([t,r])=>(function e(t,r,n,i){let[o,...a]=n;if("[]"===o){Array.isArray(t)&&Array.isArray(r)&&t.forEach((t,n)=>e(t,r[n],a,i));return}if(ii(t)&&ii(r)){var s,u,l,c;let n;if(a.length>0)return e(t[o],r[o],a,i);s=t,u=o,l=r[o],c=i,(n=(0,Z.P)(l))===c?s[u]=(0,e$.a)(l):"object"===c&&("undefined"===n||"null"===n)&&(s[u]={})}})(e,n,t.split(/\.|(?=\[\])/),r)),i);if(!1===a&&e.type!==eJ)return!1;!1===a&&E.Vy.warn("Can't dismiss view events using beforeSend!")}return!(null==(i=n[e.type])?void 0:i.isLimitReached())}
3)(u,r.beforeSend,a,d)&&(V(u.context)&&delete u.context,e.notify(13,u))}),{pageStateHistory:n,addAction:f.addAction,addEvent:m.addEvent,actionContexts:f.actionContexts,stop:()=>{f.stop(),v.stop(),g.stop(),n.stop()}}}(eR,eM,e,eH,eF,eG,eV);ek.push(tm);let{addTiming:ty,startView:tv,setViewName:th,setViewContext:tA,setViewContextProperty:tR,getViewContext:tI,stop:tP}=(b=location,eR.subscribe(4,r=>{var n,i,o,a,s,u,l,c,d,f,p,m,g,y,v,b,h,S,w,_;let k,T,E;return eR.notify(12,(n=r,i=e,k=t.getReplayStats(n.id),T=null==(a=null==(o=n.commonViewMetrics)?void 0:o.cumulativeLayoutShift)?void 0:a.devicePixelRatio,E={_dd:{document_version:n.documentVersion,replay_stats:k,cls:T?{device_pixel_ratio:T}:void 0,configuration:{start_session_replay_recording_manually:i.startSessionReplayRecordingManually}},date:n.startClocks.timeStamp,type:eJ,view:{action:{count:n.eventCounts.actionCount},frustration:{count:n.eventCounts.frustrationCount},cumulative_layout_shift:null==(s=n.commonViewMetrics.cumulativeLayoutShift)?void 0:s.value,cumulative_layout_shift_time:(0,G.Zj)(null==(u=n.commonViewMetrics.cumulativeLayoutShift)?void 0:u.time),cumulative_layout_shift_target_selector:null==(l=n.commonViewMetrics.cumulativeLayoutShift)?void 0:l.targetSelector,first_byte:(0,G.Zj)(null==(c=n.initialViewMetrics.navigationTimings)?void 0:c.firstByte),dom_complete:(0,G.Zj)(null==(d=n.initialViewMetrics.navigationTimings)?void 0:d.domComplete),dom_content_loaded:(0,G.Zj)(null==(f=n.initialViewMetrics.navigationTimings)?void 0:f.domContentLoaded),dom_interactive:(0,G.Zj)(null==(p=n.initialViewMetrics.navigationTimings)?void 0:p.domInteractive),error:{count:n.eventCounts.errorCount},first_contentful_paint:(0,G.Zj)(n.initialViewMetrics.firstContentfulPaint),first_input_delay:(0,G.Zj)(null==(m=n.initialViewMetrics.firstInput)?void 0:m.delay),first_input_time:(0,G.Zj)(null==(g=n.initialViewMetrics.firstInput)?void 0:g.time),first_input_target_selector:null==(y=n.initialViewMetrics.firstInput)?void 0:y.targetSelector,interaction_to_next_paint:(0,G.Zj)(null==(v=n.commonViewMetrics.interactionToNextPaint)?void 0:v.value),interaction_to_next_paint_time:(0,G.Zj)(null==(b=n.commonViewMetrics.interactionToNextPaint)?void 0:b.time),interaction_to_next_paint_target_selector:null==(h=n.commonViewMetrics.interactionToNextPaint)?void 0:h.targetSelector,is_active:n.isActive,name:n.name,largest_contentful_paint:(0,G.Zj)(null==(S=n.initialViewMetrics.largestContentfulPaint)?void 0:S.value),largest_contentful_paint_target_selector:null==(w=n.initialViewMetrics.largestContentfulPaint)?void 0:w.targetSelector,load_event:(0,G.Zj)(null==(_=n.initialViewMetrics.navigationTimings)?void 0:_.loadEvent),loading_time:rV((0,G.Zj)(n.commonViewMetrics.loadingTime)),loading_type:n.loadingType,long_task:{count:n.eventCounts.longTaskCount},performance:function({cumulativeLayoutShift:e,interactionToNextPaint:t},{firstContentfulPaint:r,firstInput:n,largestContentfulPaint:i}){return{cls:e&&{score:e.value,timestamp:(0,G.Zj)(e.time),target_selector:e.targetSelector,previous_rect:e.previousRect,current_rect:e.currentRect},fcp:r&&{timestamp:(0,G.Zj)(r)},fid:n&&{duration:(0,G.Zj)(n.delay),timestamp:(0,G.Zj)(n.time),target_selector:n.targetSelector},inp:t&&{duration:(0,G.Zj)(t.value),timestamp:(0,G.Zj)(t.time),target_selector:t.targetSelector},lcp:i&&{timestamp:(0,G.Zj)(i.value),target_selector:i.targetSelector,resource_url:i.resourceUrl}}}(n.commonViewMetrics,n.initialViewMetrics),resource:{count:n.eventCounts.resourceCount},time_spent:(0,G.Zj)(n.duration)},display:n.commonViewMetrics.scroll?{scroll:{max_depth:n.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:n.commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:n.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:(0,G.Zj)(n.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,privacy:{replay_level:i.defaultPrivacyLevel},device:{locale:navigator.language,locales:navigator.languages,time_zone:function(){try{return new Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){return}}()}},V(n.customTimings)||(E.view.custom_timings=U(n.customTimings,G.Zj)),{rawRumEvent:E,startTime:n.startClocks.relative,duration:n.duration,domainContext:{location:n.location}}))}),eM.register(0,({startTime:e,eventType:t})=>{let r=e2.findView(e);return r?{type:t,service:r.service,version:r.version,context:r.context,view:{id:r.id,name:r.name}}:eE}),eM.register(1,({startTime:e})=>{var t;return{view:{id:null==(t=e2.findView(e))?void 0:t.id}}}),function(e,t,r,n,i,o,a,s){let u,l,c=new Set,d=p(eQ,(0,G.Oc)(),s);function p(o,a,s){let u=function(e,t,r,n,i,o,a=(0,G.M8)(),s){var u;let l,c=(0,e8.lk)(),d=new R.cP,p={},m=0,g={...i},y=ts(),v=!0,b=null==s?void 0:s.name,h=(null==s?void 0:s.service)||n.service,S=(null==s?void 0:s.version)||n.version,w=null==s?void 0:s.context;w&&y.setContext(w);let _={id:c,name:b,startClocks:a,service:h,version:S,context:w};e.notify(1,_),e.notify(2,_);let{throttled:k,cancel:x}=(0,td.n)(F,3e3,{leading:!1}),{setLoadEvent:C,setViewEnd:I,stop:O,stopINPTracking:N,getCommonViewMetrics:L}=function(e,t,r,n,i,o,a){let s={},{stop:u,setLoadEvent:l}=function(e,t,r,n,i,o,a){var s;let u=i===eQ,l=!0,c=[],d=n$(n,o);function f(){if(!l&&!u&&c.length>0){let e=Math.max(...c);e<d.timeStamp-o.relative&&a(e)}}let{stop:p}=(s=e=>{l&&(l=!1,e.hadActivity&&c.push((0,G.vk)(o.timeStamp,e.end)),f())},rG(rW(e,t,r,n),s,void 0));return{stop:()=>{p(),d.stop()}
3,setLoadEvent:e=>{u&&(u=!1,c.push(e),f())}}}(e,t,r,n,o,a,e=>{s.loadingTime=e,i()}),{stop:c}=function(e,t,r,n=function(e,t=nz){return new R.cP(r=>{if(window.ResizeObserver){let n=(0,td.n)(function(){r.notify(function(){let e,t=Math.round((e=window.visualViewport)?e.pageTop-e.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0),{height:r}=nH();return{scrollHeight:Math.round((document.scrollingElement||document.documentElement).scrollHeight),scrollDepth:Math.round(r+t),scrollTop:t}}())},t,{leading:!1,trailing:!0}),i=document.scrollingElement||document.documentElement,o=new ResizeObserver((0,A.dm)(n.throttled));i&&o.observe(i);let a=ea(e,window,"scroll",n.throttled,{passive:!0});return()=>{n.cancel(),o.disconnect(),a.stop()}}})}(e)){let i=0,o=0,a=0,s=n.subscribe(({scrollDepth:e,scrollTop:n,scrollHeight:s})=>{let u=!1;if(e>i&&(i=e,u=!0),s>o){o=s;let e=(0,G.$S)();a=(0,G.vk)(t.relative,e),u=!0}u&&r({maxDepth:Math.min(i,o),maxDepthScrollTop:n,maxScrollHeight:o,maxScrollHeightTime:a})});return{stop:()=>s.unsubscribe()}}(n,a,e=>{s.scroll=e}),{stop:d}=function(e,t,r){let n,i,o,a,s;if(!(rj(T.LAYOUT_SHIFT)&&"WeakRef"in window))return{stop:td.l};let u=0;r({value:0});let l=(a=0,s=0,{update:e=>{let t;return void 0===i||e.startTime-o>=nj||e.startTime-i>=nD?(i=o=e.startTime,s=a=e.value,t=!0):(a+=e.value,o=e.startTime,(t=e.value>s)&&(s=e.value)),{cumulatedValue:a,isMaxValue:t}}}),c=rD(e,{type:T.LAYOUT_SHIFT,buffered:!0}).subscribe(i=>{var o;for(let a of i){if(a.hadRecentInput||a.startTime<t)continue;let{cumulatedValue:i,isMaxValue:s}=l.update(a);if(s){let e=function(e){let t;for(let r of e)if(r.node&&rF(r.node)){let e=nV(r);(!t||nV(t)<e)&&(t=r)}return t}(a.sources);n={target:(null==e?void 0:e.node)?new WeakRef(e.node):void 0,time:(0,G.vk)(t,a.startTime),previousRect:null==e?void 0:e.previousRect,currentRect:null==e?void 0:e.currentRect,devicePixelRatio:window.devicePixelRatio}}if(i>u){u=i;let t=null==(o=null==n?void 0:n.target)?void 0:o.deref();r({value:(0,H.LI)(u,4),targetSelector:t&&rX(t,e.actionNameAttribute),time:null==n?void 0:n.time,previousRect:(null==n?void 0:n.previousRect)?nU(n.previousRect):void 0,currentRect:(null==n?void 0:n.currentRect)?nU(n.currentRect):void 0,devicePixelRatio:null==n?void 0:n.devicePixelRatio})}}});return{stop:()=>{c.unsubscribe()}}}(n,a.relative,e=>{s.cumulativeLayoutShift=e,i()}),{stop:p,getInteractionToNextPaint:m,setViewEnd:g}=function(e,t,r){var n;let i,o,a,s;if(!(rj(T.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return{getInteractionToNextPaint:()=>void 0,setViewEnd:td.l,stop:td.l};let{getViewInteractionCount:u,stopViewInteractionCount:l}=(n=r,"interactionCount"in performance||f||(f=new window.PerformanceObserver((0,A.dm)(e=>{e.getEntries().forEach(e=>{e.interactionId&&(nF=Math.min(nF,e.interactionId),nq=((nB=Math.max(nB,e.interactionId))-nF)/7+1)})}))).observe({type:"event",buffered:!0,durationThreshold:0}),a=n===eQ?0:nG(),s={stopped:!1},{getViewInteractionCount:()=>s.stopped?s.interactionCount:nG()-a,stopViewInteractionCount:()=>{s={stopped:!0,interactionCount:nG()-a}}}),c=1/0,d=function(e){let t=[];function r(){t.sort((e,t)=>t.duration-e.duration).splice(10)}return{process(e){let n=t.findIndex(t=>e.interactionId===t.interactionId),i=t[t.length-1];-1!==n?e.duration>t[n].duration&&(t[n]=e,r()):(t.length<10||e.duration>i.duration)&&(t.push(e),r())},estimateP98Interaction(){let r=Math.min(t.length-1,Math.floor(e()/50));return t[r]}}}(u),p=-1;function m(r){for(let e of r)e.interactionId&&e.startTime>=t&&e.startTime<=c&&d.process(e);let n=d.estimateP98Interaction();if(n&&n.duration!==p){var a;let r;p=n.duration,o=(0,G.vk)(t,n.startTime),a=n.startTime,r=nm.get(a),nm.delete(a),!(i=r)&&n.target&&rF(n.target)&&(i=rX(n.target,e.actionNameAttribute))}}let g=rD(e,{type:T.FIRST_INPUT,buffered:!0}).subscribe(m),y=rD(e,{type:T.EVENT,durationThreshold:40,buffered:!0}).subscribe(m);return{getInteractionToNextPaint:()=>p>=0?{value:Math.min(p,nW),targetSelector:i,time:o}:u()?{value:0}:void 0,setViewEnd:e=>{c=e,l()},stop:()=>{y.unsubscribe(),g.unsubscribe()}}}(n,a.relative,o);return{stop:()=>{u(),d(),c()}
3,stopINPTracking:p,setLoadEvent:l,setViewEnd:g,getCommonViewMetrics:()=>(s.interactionToNextPaint=m(),s)}}(e,t,r,n,q,o,a),{stop:P,initialViewMetrics:M}=o===eQ?function(e,t,r,n){var i,o;let a,s={},{stop:u}=function(e,t,r=nI){return function(e,t){let r,{stop:n}=nx(e,"complete",()=>{r=(0,ed.wg)(()=>t())});return{stop:()=>{n(),(0,ed.DJ)(r)}}}(e,()=>{var e;let n=r();n.loadEventEnd<=0||t({domComplete:(e=n).domComplete,domContentLoaded:e.domContentLoadedEventEnd,domInteractive:e.domInteractive,loadEvent:e.loadEventEnd,firstByte:e.responseStart>=0&&e.responseStart<=(0,G.$S)()?e.responseStart:void 0})})}(e,e=>{r(e.loadEvent),s.navigationTimings=e,n()}),l=n$(e,t),{stop:c}=(i=e=>{s.firstContentfulPaint=e,n()},{stop:rD(e,{type:T.PAINT,buffered:!0}).subscribe(e=>{let t=e.find(e=>"first-contentful-paint"===e.name&&e.startTime<l.timeStamp&&e.startTime<nP);t&&i(t.startTime)}).unsubscribe}),{stop:d}=function(e,t,r,n){let i=1/0,{stop:o}=es(e,r,["pointerdown","keydown"],e=>{i=e.timeStamp},{capture:!0,once:!0}),a=0,s=rD(e,{type:T.LARGEST_CONTENTFUL_PAINT,buffered:!0}).subscribe(r=>{let o=er(r,e=>e.entryType===T.LARGEST_CONTENTFUL_PAINT&&e.startTime<i&&e.startTime<t.timeStamp&&e.startTime<nM&&e.size>a);if(o){var s;let t;o.element&&(t=rX(o.element,e.actionNameAttribute)),n({value:o.startTime,targetSelector:t,resourceUrl:""===(s=o).url?void 0:s.url}),a=o.size}});return{stop:()=>{o(),s.unsubscribe()}}}(e,l,window,e=>{s.largestContentfulPaint=e,n()}),{stop:f}=(o=e=>{s.firstInput=e,n()},a=rD(e,{type:T.FIRST_INPUT,buffered:!0}).subscribe(t=>{let r=t.find(e=>e.startTime<l.timeStamp);if(r){let t,n=(0,G.vk)(r.startTime,r.processingStart);r.target&&rF(r.target)&&(t=rX(r.target,e.actionNameAttribute)),o({delay:n>=0?n:0,time:r.startTime,targetSelector:t})}}),{stop:()=>{a.unsubscribe()}});return{stop:function(){u(),c(),d(),f(),l.stop()},initialViewMetrics:s}}(n,a,C,q):{stop:td.l,initialViewMetrics:{}};o===e1&&(u=a.relative,requestAnimationFrame(()=>{requestAnimationFrame(()=>{(e=>{M.firstContentfulPaint=e,M.largestContentfulPaint={value:e},q()})((0,G.vk)(u,(0,G.$S)()))})}));let{stop:$,eventCounts:V}=function(e,t,r){let{stop:n,eventCounts:i}=rU({lifeCycle:e,isChildEvent:e=>e.view.id===t,onChange:r});return{stop:n,eventCounts:i}}(e,c,q),U=(0,ed.yb)(F,nZ),D=e.subscribe(11,e=>{e.reason===eu.UNLOADING&&F()});function j(){e.notify(3,{id:c,name:b,context:y.getContext(),startClocks:a,sessionIsActive:v})}function q(){j(),k()}function F(){x(),j(),m+=1;let t=void 0===l?(0,G.nx)():l.timeStamp;e.notify(4,{customTimings:p,documentVersion:m,id:c,name:b,service:h,version:S,context:y.getContext(),loadingType:o,location:g,startClocks:a,commonViewMetrics:L(),initialViewMetrics:M,duration:(0,G.vk)(a.timeStamp,t),isActive:void 0===l,sessionIsActive:v,eventCounts:V})}return F(),y.changeObservable.subscribe(q),{get name(){return b},service:h,version:S,contextManager:y,stopObservable:d,end(t={}){var r,n;l||(l=null!=(r=t.endClocks)?r:(0,G.M8)(),v=null==(n=t.sessionIsActive)||n,e.notify(5,{endClocks:l}),e.notify(6,{endClocks:l}),(0,ed.vG)(U),I(l.relative),O(),D.unsubscribe(),F(),(0,ed.wg)(()=>{this.stop()},nK))},stop(){P(),$(),N(),d.notify()},addTiming(e,t){var r;let n;if(l)return;let i=(0,G.pu)(t)?t:(0,G.vk)(a.timeStamp,t);p[(n=(r=e).replace(/[^a-zA-Z0-9-_.@$]/g,"_"))!==r&&E.Vy.warn(`Invalid timing name: ${r}, sanitized to: ${n}`),n]=i,q()},setViewName(e){b=e,F()}}}(t,r,n,i,e,o,a,s);return c.add(u),u.stopObservable.subscribe(()=>{c.delete(u)}),u}return t.subscribe(10,()=>{d=p(e0,void 0,{name:d.name,service:d.service,version:d.version,context:d.contextManager.getContext()})}),t.subscribe(9,()=>{d.end({sessionIsActive:!1})}),a&&(l=o.subscribe(({oldLocation:e,newLocation:t})=>{var r,n;let i;r=e,n=t,r.pathname===n.pathname&&(""!==(i=n.hash.substring(1))&&document.getElementById(i)||nJ(n.hash)===nJ(r.hash))||(d.end(),d=p(e0))}),i.trackBfcacheViews&&(u=function(e,t){let{stop:r}=ea(e,window,"pageshow",e=>{e.persisted&&t(e)},{capture:!0});return r}(i,e=>{d.end(),d=p(e1,(0,G.FR)(e.timeStamp),void 0)}))),{addTiming:(e,t=(0,G.nx)())=>{d.addTiming(e,t)},startView:(e,t)=>{d.end({endClocks:t}),d=p(e0,t,e)}
3,setViewContext:e=>{d.contextManager.setContext(e)},setViewContextProperty:(e,t)=>{d.contextManager.setContextProperty(e,t)},setViewName:e=>{d.setViewName(e)},getViewContext:()=>d.contextManager.getContext(),stop:()=>{l&&l.unsubscribe(),u&&u(),d.end(),c.forEach(e=>e.stop())}}}(b,eR,eF,eG,e,eB,!e.trackViewsManually,n));ek.push(tP);let{stop:t$}=function(e,t,r){if(!(r.enabled&&(0,H.ic)(e.initialViewMetricsTelemetrySampleRate)))return{stop:td.l};let{unsubscribe:n}=t.subscribe(4,({initialViewMetrics:e})=>{var t,r;e.largestContentfulPaint&&e.navigationTimings&&(eP("Initial view metrics",{metrics:(t=e.largestContentfulPaint,r=e.navigationTimings,{lcp:{value:t.value},navigation:{domComplete:r.domComplete,domContentLoaded:r.domContentLoaded,domInteractive:r.domInteractive,firstByte:r.firstByte,loadEvent:r.loadEvent}})}),n())});return{stop:n}}(e,eR,ej);ek.push(t$);let{stop:tD}=function(e,t,r,n=function(){let e=[];function t(t){let n;if(t.didTimeout){let e=performance.now();n=()=>30-(performance.now()-e)}else n=t.timeRemaining.bind(t);for(;n()>0&&e.length;)e.shift()();e.length&&r()}function r(){!function(e,t){if(window.requestIdleCallback&&window.cancelIdleCallback){let r=window.requestIdleCallback((0,A.dm)(e),t);return()=>window.cancelIdleCallback(r)}!function(e){let t=(0,G.x3)(),r=(0,ed.wg)(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-((0,G.x3)()-t))})},0)}(e)}(t,{timeout:nk})}return{push(t){1===e.push(t)&&r()},stop(){e.length=0}}}(),i=function(e,t,r=nI){nx(e,"interactive",()=>{let e=r(),n=Object.assign(e.toJSON(),{entryType:T.RESOURCE,initiatorType:rx,duration:e.responseEnd,traceId:function(e){var t;let r,n,i=(r=(t=e).querySelector("meta[name=dd-trace-id]"),n=t.querySelector("meta[name=dd-trace-time]"),nC(r&&r.content,n&&n.content)||function(e){let t=function(e){for(let t=0;t<e.childNodes.length;t+=1){let r=nR(e.childNodes[t]);if(r)return r}if(e.body)for(let t=e.body.childNodes.length-1;t>=0;t-=1){let r=e.body.childNodes[t],n=nR(r);if(n)return n;if(!rq(r))break}}(e);if(t)return nC((0,e8.rx)(t,"trace-id"),(0,e8.rx)(t,"trace-time"))}(e));if(!(!i||i.traceTime<=(0,G.x3)()-nA))return i.traceId}(document),toJSON:()=>({...n,toJSON:void 0})});t(n)})}){let o,a=j(k.EARLY_REQUEST_COLLECTION);if(a){let t,r;t=new Set,r=e.subscribe(8,e=>{t.add(e),t.size>
31e3&&(eN("Too many requests"),t.delete(t.values().next().value))}),o={getMatchingRequest(e){let r,n=1/0;for(let i of t){let t=e.startTime-i.startClocks.relative;0<=t&&t<n&&i.url===e.name&&(n=Math.abs(t),r=i)}return r&&t.delete(r),r},stop(){r.unsubscribe()}}}else e.subscribe(8,e=>{u(()=>{var n,i,o;return n=e,i=t,o=r,nL(function(e){if(!performance||!("getEntriesByName"in performance))return;let t=performance.getEntriesByName(e.url,"resource");if(!t.length||!("toJSON"in t[0]))return;let r=t.filter(e=>!nT.has(e)).filter(e=>rI(e)&&rO(e)).filter(t=>{var r,n,i;return r=t,n=e.startClocks.relative,i=nE({startTime:e.startClocks.relative,duration:e.duration}),r.startTime>=n-1&&nE(r)<=(0,G.Gw)(i,1)});if(1===r.length)return nT.add(r[0]),r[0].toJSON()}(n),n,o,i)})});let s=rD(t,{type:T.RESOURCE,buffered:!0}).subscribe(e=>{for(let n of e)(a||!rR(n))&&u(()=>nN(n,t,r,o))});function u(t){n.push(()=>{let r=t();r&&e.notify(12,r)})}return i(t,e=>{u(()=>nN(e,t,r,o))}),{stop:()=>{n.stop(),s.unsubscribe()}}}(eR,e,eH);if(ek.push(tD),e.trackLongTasks)if(rj(T.LONG_ANIMATION_FRAME)){let t,{stop:r}=(t=rD(e,{type:T.LONG_ANIMATION_FRAME,buffered:!0}).subscribe(e=>{for(let t of e){let e=(0,G.FR)(t.startTime),r={date:e.timeStamp,long_task:{id:(0,e8.lk)(),entry_type:"long-animation-frame",duration:(0,G.Zj)(t.duration),blocking_duration:(0,G.Zj)(t.blockingDuration),first_ui_event_timestamp:(0,G.Zj)(t.firstUIEventTimestamp),render_start:(0,G.Zj)(t.renderStart),style_and_layout_start:(0,G.Zj)(t.styleAndLayoutStart),start_time:(0,G.Zj)(t.startTime),scripts:t.scripts.map(e=>({duration:(0,G.Zj)(e.duration),pause_duration:(0,G.Zj)(e.pauseDuration),forced_style_and_layout_duration:(0,G.Zj)(e.forcedStyleAndLayoutDuration),start_time:(0,G.Zj)(e.startTime),execution_start:(0,G.Zj)(e.executionStart),source_url:e.sourceURL,source_function_name:e.sourceFunctionName,source_char_position:e.sourceCharPosition,invoker:e.invoker,invoker_type:e.invokerType,window_attribution:e.windowAttribution}))},type:eK,_dd:{discarded:!1}};eR.notify(12,{rawRumEvent:r,startTime:e.relative,duration:t.duration,domainContext:{performanceEntry:t}})}}),{stop:()=>t.unsubscribe()});ek.push(r)}else rD(e,{type:T.LONG_TASK,buffered:!0}).subscribe(t=>{for(let r of t){if(r.entryType!==T.LONG_TASK||!e.trackLongTasks)break;let t=(0,G.FR)(r.startTime),n={date:t.timeStamp,long_task:{id:(0,e8.lk)(),entry_type:"long-task",duration:(0,G.Zj)(r.duration)},type:eK,_dd:{discarded:!1}};eR.notify(12,{rawRumEvent:n,startTime:t.relative,duration:r.duration,domainContext:{performanceEntry:r}})}});let{addError:tF}=(eb=new R.cP,s.subscribe(e=>{0===e.type&&eb.notify(e.error)}),x=eb,(F=[E.bP.error].map(e=>{var t;return nh[e]||(nh[e]=(t=e,new R.cP(e=>{let r=E.JZ[t];return E.JZ[t]=(...n)=>{r.apply(console,n);let i=(0,M.uC)("console error");(0,A.um)(()=>
3{e.notify(function(e,t,r){let n=e.map(e=>{var t;return"string"==typeof(t=e)?(0,e$.a)(t):(0,P.bJ)(t)?(0,M.NR)((0,X.T)(t)):(0,z.s)((0,e$.a)(t),void 0,2)}).join(" ");if(t===E.bP.error){let i=e.find(P.bJ),o=(0,P.As)({originalError:i,handlingStack:r,startClocks:(0,G.M8)(),source:ef.g.CONSOLE,handling:"handled",nonErrorPrefix:"Provided",useFallbackStack:!1});return o.message=n,{api:t,message:n,handlingStack:r,error:o}}return{api:t,message:n,error:void 0,handlingStack:r}}(n,t,i))})},()=>{E.JZ[t]=r}}))),nh[e]}),(0,R.Fx)(...F)).subscribe(e=>x.notify(e.error)),(eh=[],(h=[nS,"intervention"]).includes(nS)&&eh.push((C=e,new R.cP(e=>{let{stop:t}=ea(C,document,"securitypolicyviolation",t=>{var r;let n;e.notify((r=t,n=`'${r.blockedURI}' blocked by '${r.effectiveDirective}' directive`,nw({type:r.effectiveDirective,message:`${nS}: ${n}`,originalError:r,csp:{disposition:r.disposition},stack:n_(r.effectiveDirective,r.originalPolicy?`${n} of the policy "${(0,e8._R)(r.originalPolicy,100,"...")}"`:"no policy",r.sourceFile,r.lineNumber,r.columnNumber)})))});return t}))),(eS=h.filter(e=>e!==nS)).length&&eh.push((I=eS,new R.cP(e=>{if(!window.ReportingObserver)return;let t=(0,A.dm)((t,r)=>t.forEach(t=>e.notify(function(e){let{type:t,body:r}=e;return nw({type:r.id,message:`${t}: ${r.message}`,originalError:e,stack:n_(r.id,r.message,r.sourceFile,r.lineNumber,r.columnNumber)})}(t)))),r=new window.ReportingObserver(t,{types:I,buffered:!0});return r.observe(),()=>{r.disconnect()}}))),(0,R.Fx)(...eh)).subscribe(e=>eb.notify(e)),eb.subscribe(e=>eR.notify(14,{error:e})),(O=eR).subscribe(14,({error:e})=>{var t;let r,n;O.notify(12,(r={date:(t=e).startClocks.timeStamp,error:{id:(0,e8.lk)(),message:t.message,source:t.source,stack:t.stack,handling_stack:t.handlingStack,component_stack:t.componentStack,type:t.type,handling:t.handling,causes:t.causes,source_type:"browser",fingerprint:t.fingerprint,csp:t.csp},type:eZ,context:t.context},n={error:t.originalError,handlingStack:t.handlingStack},{rawRumEvent:r,startTime:t.startClocks.relative,domainContext:n}))}),{addError:({error:e,handlingStack:t,componentStack:r,startClocks:n,context:i})=>{let o=(0,P.As)({originalError:e,handlingStack:t,componentStack:r,startClocks:n,nonErrorPrefix:"Provided",source:ef.g.CUSTOM,handling:"handled"});o.context=Y(o.context,i),O.notify(14,{error:o})}});s.unbuffer(),e_={clearTracingIfNeeded:t9,traceFetch:t=>t5(e,t,eq,tr,tn,e=>{var r;if(t.input instanceof Request&&!(null==(r=t.init)?void 0:r.headers))t.input=new Request(t.input),Object.keys(e).forEach(r=>{t.input.headers.append(r,e[r])});else{t.init={...t.init};let r=[];t.init.headers instanceof Headers?t.init.headers.forEach((e,t)=>{r.push([t,e])}):Array.isArray(t.init.headers)?t.init.headers.forEach(e=>{r.push(e)}):t.init.headers&&Object.keys(t.init.headers).forEach(e=>{r.push([e,t.init.headers[e]])}),t.init.headers=r.concat(ei(e))}}),traceXhr:(t,r)=>t5(e,t,eq,tr,tn,e=>{Object.keys(e).forEach(t=>{r.setRequestHeader(t,e[t])})})},function(e,t,r){var n;(!c&&(n=t,c=new R.cP(e=>{let{stop:t}=(0,tf.H)(XMLHttpRequest.prototype,"open",r_),{stop:r}=(0,tf.H)(XMLHttpRequest.prototype,"send",t=>{!function({target:e,parameters:[t],handlingStack:r},n,i){let o=rw.get(e);if(!o)return;o.state="start",o.startClocks=(0,G.M8)(),o.isAborted=!1,o.xhr=e,o.handlingStack=r,o.body=t;let a=!1,{stop:s}=(0,tf.H)(e,"onreadystatechange",()=>{e.readyState===XMLHttpRequest.DONE&&u()}),u=()=>{l(),s(),a||(a=!0,o.state="complete",o.duration=(0,G.vk)(o.startClocks.timeStamp,(0,G.nx)()),o.status=e.status,i.notify({...o}))},{stop:l}=ea(n,e,"loadend",u);i.notify(o)}(t,n,e)},{computeHandlingStack:!0}),{stop:i}=(0,tf.H)(XMLHttpRequest.prototype,"abort",rk);return()=>{t(),r(),i()}})),c).subscribe(t=>{if(rL(t.url))switch(t.state){case"start":r.traceXhr(t,t.xhr),t.requestIndex=r$(),e.notify(7,{requestIndex:t.requestIndex,url:t.url});break;case"complete":r.clearTracingIfNeeded(t),e.notify(8,{duration:t.duration,method:t.method,requestIndex:t.requestIndex,spanId:t.spanId,startClocks:t.startClocks,status:t.status,traceId:t.traceId,traceSampled:t.traceSampled,type:"xhr",url:t.url,xhr:t.xhr,isAborted:t.isAborted,handlingStack:t.handlingStack,body:t.body})}})}(eR,e,e_),N=eR,L=e_,tg().subscribe(e=>{if(rL(e.url))switch(e.state){case"start":L.traceFetch(e),e.requestIndex=r$(),N.notify(7,{requestIndex:e.requestIndex,url:e.url});break;case"resolve":var t,r;let n;t=e,r=t=>{var r;L.clearTracingIfNeeded(e),N.notify(8,{duration:t,method:e.method,requestIndex:e.requestIndex,responseType:e.responseType,spanId:e.spanId,startClocks:e.startClocks,status:e.status,traceId:e.traceId,traceSampled:e.traceSampled,type:rT,url:e.url,response:e.response,init:e.init,input:e.input,isAborted:e.isAborted,handlingStack:e.handlingStack,body:null==(r=e.init)?void 0:r.body})},(n=t.response&&function(e){try{return e.clone()}catch(e){return}}(t.response))&&n.body?function(e,t,r){let n=e.getReader(),i=[],o=0;function a(){let e,a;if(n.cancel().catch(td.l),r.collectStreamBody){let t;if(1===i.length)t=i[0];else{t=new Uint8Array(o);let e=0;
3i.forEach(r=>{t.set(r,e),e+=r.length})}e=t.slice(0,r.bytesLimit),a=t.length>r.bytesLimit}t(void 0,e,a)}!function e(){n.read().then((0,A.dm)(t=>{t.done?a():(r.collectStreamBody&&i.push(t.value),(o+=t.value.length)>r.bytesLimit?a():e())}),(0,A.dm)(e=>t(e)))}()}(n.body,()=>{r((0,G.vk)(t.startClocks.timeStamp,(0,G.nx)()))},{bytesLimit:1/0,collectStreamBody:!1}):r((0,G.vk)(t.startClocks.timeStamp,(0,G.nx)()))}});let tB=function(e,t,r){function n(r){t.wasInPageStateDuringPeriod("frozen",r.startClocks.relative,r.duration)||e.notify(12,e7(r))}return{addOperationStepVital:function(t,r,n,i){if(!j(k.FEATURE_OPERATION_VITAL))return;let{operationKey:o,context:a,description:s}=n||{},u={name:t,type:"operation_step",operationKey:o,failureReason:i,stepType:r,startClocks:(0,G.M8)(),context:(0,e$.a)(a),description:s};e.notify(12,e7(u))},addDurationVital:n,startDurationVital:(e,t={})=>e9(r,e,t),stopDurationVital:(e,t={})=>{e5(n,r,e,t)}}}(eR,eH,a),tW=(S=e.applicationId,{get:e=>{let t=e2.findView(e),r=e4.findUrl(e),n=eq.findTrackedSession(e);if(n&&t&&r){let i=to.findActionId(e);return{application_id:S,session_id:n.id,user_action:i?{id:i}:void 0,view:{id:t.id,name:t.name,referrer:r.referrer,url:r.url}}}}});return ek.push(()=>r.stop()),{addAction:ta,addEvent:tp,addError:tF,addTiming:ty,addFeatureFlagEvaluation:te.addFeatureFlagEvaluation,startView:tv,setViewContext:tA,setViewContextProperty:tR,getViewContext:tI,setViewName:th,lifeCycle:eR,viewHistory:e2,session:eq,stopSession:()=>eq.expire(),getInternalContext:tW.get,startDurationVital:tB.startDurationVital,stopDurationVital:tB.stopDurationVital,addDurationVital:tB.addDurationVital,addOperationStepVital:tB.addOperationStepVital,globalContext:tt,userContext:tr,accountContext:tn,telemetry:ej,stop:()=>{ek.forEach(e=>e())},hooks:eM}},(v=td.l,{start:td.l,stop:td.l,onRumStart(e,t){v=()=>(function(e,{session:t,viewContext:r,errorType:n}){var i;let o,a,s=t?t.id:"no-session-id",u=[];void 0!==n&&u.push(`error-type=${n}`),r&&(u.push(`seed=${r.id}`),u.push(`from=${r.startClocks.timeStamp}`));let l=(o=(i=e).site,a=i.subdomain||function(e){switch(e.site){case F:case"datadoghq.eu":return"app";case q:return"dd";default:return}}(i),`https://${a?`${a}.`:""}${o}`),c=`/rum/replay/sessions/${s}`;return`${l}${c}?${u.join("&")}`})(t,{errorType:"slim-package"})},isRecording:()=>!1,getReplayStats:()=>void 0,getSessionReplayLink:()=>v()}),{onRumStart:td.l,stop:td.l},{sdkName:"rum-slim"});w=(0,C.V)(),(b=w[_="DD_RUM"])&&!b.q&&b.version&&E.Vy.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),w[_]=ic,b&&b.q&&b.q.forEach(e=>x(e,"onReady callback threw an error:")())},2877:(e,t,r)=>{r.d(t,{O:()=>o});var n=r(63609);function i(e){return!!e&&!!e&&"startActiveSpan"in e}function o(e){let{moduleId:t}=e,r=function(e){let{moduleId:t}=e}({moduleId:t});return{activeContext:()=>i(r)?n._.active():void 0,withContext:(e,t)=>
3i(r)&&e?n._.with(e,()=>t()):t(),startActiveTrace:(e,t,n)=>i(r)?t.context?r.startActiveSpan(e,{},t.context,e=>n(e)):r.startActiveSpan(e,e=>n(e)):n(void 0),endTrace(e){e&&e.end()},setTraceAttributes(e,t){e&&e.setAttributes(t)}}}},3149:(e,t,r)=>{r.d(t,{M:()=>o,s:()=>i});var n=r(64163);function i(e,t,r){if("object"!=typeof e||null===e)return JSON.stringify(e);let n=o(Object.prototype),i=o(Array.prototype),a=o(Object.getPrototypeOf(e)),s=o(e);try{return JSON.stringify(e,t,r)}catch(e){return"<error: unable to serialize object>"}finally{n(),i(),a(),s()}}function o(e){let t=e.toJSON;return t?(delete e.toJSON,()=>{e.toJSON=t}):n.l}},8531:(e,t,r)=>{r.d(t,{C:()=>o});var n=r(1469),i=r(13139);let o=(e,t)=>{if((0,i.i)()){let r="string"==typeof e?Error(e):e;n.L.addError(r,t)}(0,i.i)()||console.error("Error captured:",e,t)}},9660:(e,t,r)=>{r.d(t,{K:()=>a,V:()=>o});var n=r(17790),i=r(53907);function o(e){let t=(0,i.P)(e);return"string"===t||"function"===t||e instanceof RegExp}function a(e,t,r=!1){return e.some(e=>{try{if("function"==typeof e)return e(t);if(e instanceof RegExp)return e.test(t);if("string"==typeof e)return r?t.startsWith(e):e===t}catch(e){n.Vy.error(e)}return!1})}},13139:(e,t,r)=>{r.d(t,{i:()=>i});var n=r(1469);function i(){let e=n.L?.getInternalContext();return!!(e?.application_id&&e?.session_id)}},13510:(e,t,r)=>{r.d(t,{c:()=>o});var n=r(1469),i=r(13139);let o=(e,t)=>{let{validationErrors:r}=t;(0,i.i)()&&n.L.addError(Error(`Missing Analytics ${e}: ${JSON.stringify(r)}`))}},13658:(e,t,r)=>{r.d(t,{A:()=>o});var n=r(1469),i=r(13139);let o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=t?` with fallback key ${t}`:"";(0,i.i)()&&n.L.addError(Error(`Missing Label: ${e}${r}`))}},14581:(e,t,r)=>{r.d(t,{G:()=>a});var n=r(23532),i=r(1469),o=r(13139);function a(e){let{name:t,type:r="hook",labels:a}=e,s=(0,n.useRef)(void 0),u=(0,n.useRef)(void 0),l=(0,n.useCallback)(()=>{(0,o.i)()&&(u.current=window?.performance.now(),s.current=a)},[a]),c=(0,n.useCallback)(e=>{(0,o.i)()&&(s.current={...s.current,...e},i.L.addAction(`${r}::${t}`,{...s.current,transactionDuration:u.current?window?.performance.now()-u.current:void 0}),s.current=void 0,u.current=void 0)},[t,r]),d=(0,n.useCallback)(e=>{e&&(0,o.i)()&&(s.current={...s.current,...e})},[]);return(0,n.useMemo)(()=>({startAction:l,endAction:c,addLabels:d}),[l,c,d])}},17289:(e,t,r)=>{r.d(t,{NR:()=>s,Yn:()=>a,uC:()=>o});var n=r(62186),i=r(66158);function o(e){let t,r=Error(e);return r.name="HandlingStack",(0,n.um)(()=>{let e=(0,i.T)(r);e.stack=e.stack.slice(2),t=a(e)}),t}function a(e){let t=s(e);return e.stack.forEach(e=>{let r="?"===e.func?"<anonymous>":e.func,n=e.args&&e.args.length>0?`(${e.args.join(", ")})`:"",i=e.line?`:${e.line}`:"",o=e.line&&e.column?`:${e.column}`:"";t+=` 4 at ${r}${n} @ ${e.url}${i}${o}`}),t}function s(e){return`${e.name||"Error"}: ${e.message}`}},17344:(e,t,r)=>{let n;r.d(t,{$H:()=>u,$S:()=>g,FR:()=>l,Gw:()=>h,M8:()=>y,MA:()=>s,OY:()=>o,Oc:()=>v,TP:()=>d,Zj:()=>f,gs:()=>S,iW:()=>a,jR:()=>c,nx:()=>m,pu:()=>w,vk:()=>b,x3:()=>p});var i=r(91832);let o=1e3,a=6e4,s=36e5,u=31536e6;function l(e){var t,r;let n;return{relative:e,timeStamp:(t=e,(n=p()-performance.now())>_()?Math.round(function(e,t){return e+t}(n,t)):(r=t,Math.round(_()+r)))}}function c(e){return{relative:S(e),timeStamp:e}}function d(){var e;return Math.round(p()-(e=_(),e+performance.now()))}function f(e){return(0,i.Et)(e)?(0,i.LI)(1e6*e,0):e}function p(){return new Date().getTime()}function m(){return p()}function g(){return performance.now()}function y(){return{relative:g(),timeStamp:m()}}function v(){return{relative:0,timeStamp:_()}}function b(e,t){return t-e}function h(e,t){return e+t}function S(e){return e-_()}function w(e){return e<u}function _(){return void 0===n&&(n=performance.timing.navigationStart),n}},17790:(e,t,r)=>{r.d(t,{JZ:()=>i,Vy:()=>s,Xs:()=>l,bP:()=>n,fH:()=>u,xG:()=>c});let n={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},i=console,o={};Object.keys(n).forEach(e=>{o[e]=i[e]});let a="Datadog Browser SDK:",s={debug:o.debug.bind(i,a),log:o.log.bind(i,a),info:o.info.bind(i,a),warn:o.warn.bind(i,a),error:o.error.bind(i,a)},u="https://docs.datadoghq.com",l=`${u}/real_user_monitoring/browser/troubleshooting`,c="More details:"},20916:(e,t,r)=>{r.d(t,{V:()=>n});function n(){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}},26567:(e,t,r)=>{r.d(t,{g:()=>n});let n={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"}},40483:(e,t,r)=>{r.d(t,{W:()=>i});var n=r(20916);function i(e,t){let r,i=(0,n.V)();return i.Zone&&"function"==typeof i.Zone.__symbol__&&(r=e[i.Zone.__symbol__(t)]),r||(r=e[t]),r}},52581:(e,t,r)=>{r.d(t,{WW:()=>a,_m:()=>n,iH:()=>i});let n=1024,i=1048576,o=/[^\u0000-\u007F]/;function a(e){return o.test(e)?void 0!==window.TextEncoder?new TextEncoder().encode(e).length:new Blob([e]).size:e.length}},53863:(e,t,r)=>{r.d(t,{A:()=>C});var n=r(23532),i=r(73967),o=r(1469),a=r(35720),s=r(60339),u=r(21253),l=r(56681),c=r(15713),d=r(67016),f=r(24143),p=r(499
41),m=r(48769);let g=["requestid","householdid","partnerid","prnumber","deploymentstage","activeterritory","hometerritory","proposition","provider","territory","cdnprovider","requesthostname","optimizely"],y=new WeakMap,v=Object.freeze({}),b=[/csp_violation/i];function h(e){if(e)try{let t=new URL(e).hostname.split(".");if(t.length<2)return;return t.slice(-2).join(".")}catch{return}}function S(e){if(!e)return!1;let t=function(){let{domains:e}=(0,u.zj)();return[...new Set((Array.isArray(e?.sas)?e.sas:[e?.sas]).map(h).filter(e=>!!e))]}();if(0===t.length)return!1;try{let r=new URL(e).hostname;return t.some(e=>r.endsWith(e))}catch{return!1}}function w(e){if(e)try{return new URL(e).hostname}catch{return}}function _(e,t){return k(e,t,void 0)}function k(e,t,r){let n,i=(0,d.iL)()?.profile_id;if(e.context={...e.context,...i&&{householdId:i}},"resource"===e.type&&"fetch"===e.resource.type){let r,n,i=w(t.response?.url);S(t.response?.url)&&(r=t.response?.headers.get(c.cI.RequestId),n=t.response?.headers.get("via")),e.context={...e.context,...void 0!==r&&{requestId:r},...void 0!==n&&{cdnProvider:n},requestHostname:i}}if("resource"===e.type&&"xhr"===e.resource.type){let r,n,i=w(e.resource.url);if(S(e.resource.url))try{r=t.xhr.getResponseHeader(c.cI.RequestId)??"Unknown";let e=t.xhr.getResponseHeader("via");e&&(n=e)}catch{r="Unknown"}e.context={...e.context,...void 0!==r&&{requestId:r},...void 0!==n&&{cdnProvider:n},requestHostname:i}}return!("error"===e.type&&(n=(0,u.zj)().datadog?.errorMessageBlacklist?.map(e=>RegExp(e,"i")),n?.length&&e.error.message&&n.some(t=>t.test(e.error.message))||b.some(t=>t.test(e.error.message))))&&(!1!==r&&function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=function(e){let t=e??v,r=y.get(t);if(r)return r;let n={...e,unredactedKeys:[...g,...e?.unredactedKeys??[]]},i=(0,f.$i)(n);return y.set(t,i),i}(t.pii);try{var n,i,o,a;let t;n=e,i=r,(t=n.view)&&("string"==typeof t.url&&(t.url=(0,p.lu)(t.url,i)),"string"==typeof t.referrer&&(t.referrer=(0,p.lu)(t.referrer,i)),"string"==typeof t.name&&(t.name=(0,p.rN)(t.name,i))),function(e,t){if("resource"!==e.type)return;let r=e.resource;r&&("string"==typeof r.url&&(r.url=(0,p.lu)(r.url,t)),r.graphql&&"object"==typeof r.graphql&&(void 0!==r.graphql.payload&&(r.graphql.payload=(0,m.V)(r.graphql.payload,t)),void 0!==r.graphql.variables&&(r.graphql.variables=(0,m.V)(r.graphql.variables,t))))}(e,r),function(e,t){if("error"!==e.type)return;let r=e.error;if(r&&("string"==typeof r.message&&(r.message=(0,p.rN)(r.message,t)),"string"==typeof r.stack&&(r.stack=(0,p.rN)(r.stack,t)),"string"==typeof r.handling_stack&&(r.handling_stack=(0,p.rN)(r.handling_stack,t)),r.resource&&"string"==typeof r.resource.url&&(r.resource.url=(0,p.lu)(r.resource.url,t)),Array.isArray(r.causes)))for(let e of r.causes)"string"==typeof e.message&&(e.message=(0,p.rN)(e.message,t)),"string"==typeof e.stack&&(e.stack=(0,p.rN)(e.stack,t))}(e,r),function(e,t){if("action"!==e.type)return;let r=e.action?.target;r&&("string"==typeof r.name&&(r.name=(0,p.rN)(r.name,t)),"string"==typeof r.selector&&(r.selector=(0,p.rN)(r.selector,t)))}(e,r),function(e,t){if("long_task"!==e.type)return;let r=e.long_task?.scripts;if(Array.isArray(r))for(let e of r)"string"==typeof e.source_url&&(e.source_url=(0,p.lu)(e.source_url,t)),"string"==typeof e.invoker&&(e.invoker=(0,p.rN)(e.invoker,t))}(e,r),o=e,a=r,o.context&&"object"==typeof o.context&&(o.context=(0,m.V)(o.context,a)),function(e,t){for(let r of["usr","user"]){let n=e[r];n&&"object"==typeof n&&(e[r]=(0,m.V)(n,t))}}(e,r)}catch{var s=e;if(s.view&&(s.view.url="REDACTED",s.view.referrer="REDACTED","string"==typeof s.view.name&&(s.view.name="REDACTED")),s.context={},"resource"===s.type&&(s.resource.url="REDACTED"),"error"===s.type){let e=s.error;e&&(e.message="REDACTED",e.stack=void 0)}}}(e,{pii:r||void 0}),!0)}var T=r(57098),E=r(59814),x=r(24377);let A="UNKNOWN_VIEW";function C(){return!function(){let e=(0,n.useRef)(!1),[{datadog:t}]=(0,E.J)(["datadog"]),r=(0,i.useRouter)(),c=r.locale??(0,T.oo)(r.asPath??"")??"default",d=(0,n.useRef)(!1),f=t&&!e.current;(0,n.useEffect)(()=>{f&&(!function(e){let{appName:t="",env:r,datadog:n,proposition:i="",provider:c="",territory:d="",datadogTracingUrls:f=[]}=(0,u.zj)(),{version:p,trackViewsManually:m=!0,pii:g}=e,y=(0,a._n)(),v=(0,s.nR)(),b=(0,s.oy)(),h=function(){if("u"<typeof document)return;let e=document.querySelector('meta[name="app:env"]');return e?.getAttribute("content")??void 0}(),S=(0,l.QH)(),w=n?.previewCookieName?(0,s.iM)().get(n?.previewCookieName)?.replaceAll("-",""):void 0,T={applicationId:n?.applicationId??"",clientToken:n?.clientToken??"",site:"datadoghq.com",service:n?.service??t,env:r,version:p,sessionSampleRate:n?.sessionSampleRate??100,sessionReplaySampleRate:0,trackResources:!0,trackLongTasks:!0,trackUserInteractions:!0,enablePrivacyF
4orActionName:!0,trackViewsManually:m,beforeSend:void 0===g?_:(e,t)=>k(e,t,g),allowedTracingUrls:[...f.map(e=>({match:e,propagatorTypes:["tracecontext"]}))]};o.L.init(T),h&&o.L.setGlobalContextProperty("deploymentStage",h),y&&o.L.setGlobalContextProperty("partnerId",y),v&&o.L.setGlobalContextProperty("activeTerritory",v),b&&o.L.setGlobalContextProperty("homeTerritory",b),w&&"stable-int"===r&&o.L.setGlobalContextProperty("prNumber",w),S&&o.L.setGlobalContextProperty("optimizely",S),o.L.setGlobalContextProperty("proposition",i),o.L.setGlobalContextProperty("provider",c),o.L.setGlobalContextProperty("territory",d);let E=(0,a._5)()||crypto.randomUUID();o.L.setUser({id:E}),(0,a.AA)(E)}({version:"f45daee"}),e.current=!0)},[f]),(0,n.useEffect)(()=>{if(e.current&&!d.current){let e=(0,x.PM)(window.location.pathname,A,c);o.L.startView(e),d.current=!0}let t=t=>{if(!e.current)return;let r=(0,x.PM)(new URL(t,window.location.origin).pathname,A,c);o.L.startView(r)};return r.events.on("routeChangeComplete",t),()=>{r.events.off("routeChangeComplete",t)}},[r.events,c])}(),null}},53907:(e,t,r)=>{r.d(t,{P:()=>n});function n(e){return null===e?"null":Array.isArray(e)?"array":typeof e}},54875:(e,t,r)=>{r.d(t,{mj:()=>c});var n=r(87704),i=r(76264),o=r(17344),a=r(66158),s=r(20916),u=r(79652),l=r(26567);function c(){return new i.cP(e=>{var t,r;let i=(t,r)=>{let n=(0,u.As)({stackTrace:r,originalError:t,startClocks:(0,o.M8)(),nonErrorPrefix:"Uncaught",source:l.g.SOURCE,handling:"unhandled"});e.notify(n)},{stop:c}=(t=i,(0,n.H)((0,s.V)(),"onerror",({parameters:[e,r,n,i,o]})=>{let s;(0,u.bJ)(o)||(s=(0,a.h)(e,r,n,i)),t(null!=o?o:e,s)})),{stop:d}=(r=i,(0,n.H)((0,s.V)(),"onunhandledrejection",({parameters:[e]})=>{r(e.reason||"Empty reason")}));return()=>{c(),d()}})}},62186:(e,t,r)=>{let n;r.d(t,{Bd:()=>a,Dx:()=>c,dm:()=>u,oO:()=>d,pM:()=>s,um:()=>l});var i=r(17790);let o=!1;function a(e){n=e}function s(e){o=e}function u(e){return function(){return l(e,this,arguments)}}function l(e,t,r){try{return e.apply(t,r)}catch(e){c(e)}}function c(e){if(d(e),n)try{n(e)}catch(e){d(e)}}function d(...e){o&&i.Vy.error("[MONITOR]",...e)}},64163:(e,t,r)=>{r.d(t,{l:()=>o,n:()=>i});var n=r(84961);function i(e,t,r){let i,o,a=!r||void 0===r.leading||r.leading,s=!r||void 0===r.trailing||r.trailing,u=!1;return{throttled:(...r)=>{if(u){i=r;return}a?e(...r):i=r,u=!0,o=(0,n.wg)(()=>{s&&i&&e(...i),u=!1,i=void 0},t)},cancel:()=>{(0,n.DJ)(o),u=!1,i=void 0}}}function o(){}},66158:(e,t,r)=>{let n;function i(e){var t,r;let i=[],o=p(e,"stack"),a=String(e);if(o&&o.startsWith(a)&&(o=o.slice(a.length)),o&&o.split("\n").forEach(e=>{let t=function(e){let t=s.exec(e);if(!t)return;let r=t[2]&&0===t[2].indexOf("native"),n=t[2]&&0===t[2].indexOf("eval"),i=u.exec(t[2]);return n&&i&&(t[2]=i[1],t[3]=i[2],t[4]=i[3]),{args:r?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:t[3]?+t[3]:void 0,url:r?void 0:t[2]}}(e)||function(e){let t=l.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=c.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=d.exec(e);if(!t)return;let r=t[3]&&t[3].indexOf(" > eval")>-1,n=f.exec(t[3]);return r&&n&&(t[3]=n[1],t[4]=n[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);t&&(!t.func&&t.line&&(t.func="?"),i.push(t))}),i.length>0&&function(){if(void 0!==n)return n;class e extends Error{constructor(){super(),this.name="Error"}}let[t,r]=[e,Error].map(e=>new e);return n=y(Object.getPrototypeOf(t))&&r.stack!==t.stack}()&&e instanceof Error){let n=[],o=e;for(;(o=Object.getPrototypeOf(o))&&y(o);){let e=(null==(t=o.constructor)?void 0:t.name)||"?";n.push(e)}for(let e=n.length-1;e>=0&&(null==(r=i[0])?void 0:r.func)===n[e];e--)i.shift()}return{message:p(e,"message"),name:p(e,"name"),stack:i}}r.d(t,{T:()=>i,h:()=>m});let o="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",a="(?::(\\d+))",s=RegExp(`^\\s*at (.*?) ?\\(${o}${a}?${a}?\\)?\\s*$`,"i"),u=RegExp(`\\((\\S*)${a}${a}\\)`),l=RegExp(`^\\s*at ?${o}${a}?${a}??\\s*$`,"i"),c=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,d=/^\s*(.*?)(?:\((.*?)\))?(?:(?:(?
4:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle|\[wasm code\])(?::(\d+))?(?::(\d+))?)|@)\s*$/i,f=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function p(e,t){if("object"!=typeof e||!e||!(t in e))return;let r=e[t];return"string"==typeof r?r:void 0}function m(e,t,r,n){var i;let o,a;if(void 0===t)return;let{name:s,message:u}=(i=e,"[object String]"===({}).toString.call(i)&&([,o,a]=g.exec(i)),{name:o,message:a});return{name:s,message:u,stack:[{url:t,column:n,line:r}]}}let g=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function y(e){return String(e.constructor).startsWith("class ")}},76264:(e,t,r)=>{r.d(t,{dX:()=>s,cP:()=>o,Fx:()=>a});var n=r(62186);function i(e){let t=window.queueMicrotask;"function"==typeof t?t((0,n.dm)(e)):Promise.resolve().then((0,n.dm)(e))}class o{constructor(e){this.onFirstSubscribe=e,this.observers=[]}subscribe(e){return this.addObserver(e),{unsubscribe:()=>this.removeObserver(e)}}notify(e){this.observers.forEach(t=>t(e))}addObserver(e){this.observers.push(e),1===this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0)}removeObserver(e){this.observers=this.observers.filter(t=>e!==t),!this.observers.length&&this.onLastUnsubscribe&&this.onLastUnsubscribe()}}function a(...e){return new o(t=>{let r=e.map(e=>e.subscribe(e=>t.notify(e)));return()=>r.forEach(e=>e.unsubscribe())})}class s extends o{constructor(e){super(),this.maxBufferSize=e,this.buffer=[]}notify(e){this.buffer.push(e),this.buffer.length>this.maxBufferSize&&this.buffer.shift(),super.notify(e)}subscribe(e){let t=!1;return i(()=>{for(let r of this.buffer){if(t)return;e(r)}t||this.addObserver(e)}),{unsubscribe:()=>{t=!0,this.removeObserver(e)}}}unbuffer(){i(()=>{this.maxBufferSize=this.buffer.length=0})}}},79652:(e,t,r)=>{r.d(t,{As:()=>u,bJ:()=>l,e6:()=>s});var n=r(90921),i=r(3149),o=r(66158),a=r(17289);let s="No stack, consider using an instance of Error";function u({stackTrace:e,originalError:t,handlingStack:r,componentStack:c,startClocks:d,nonErrorPrefix:f,useFallbackStack:p=!0,source:m,handling:g}){var y,v,b,h,S;let w=l(t);return!e&&w&&(e=(0,o.T)(t)),{startClocks:d,source:m,handling:g,handlingStack:r,componentStack:c,originalError:t,type:e?e.name:void 0,message:(y=e,v=w,b=f,h=t,(null==y?void 0:y.message)&&(null==y?void 0:y.name)?y.message:v?"Empty message":`${b} ${(0,i.s)((0,n.a)(h))}`),stack:e?(0,a.Yn)(e):p?s:void 0,causes:w?function(e,t){let r=e,n=[];for(;l(null==r?void 0:r.cause)&&n.length<10;){let e=(0,o.T)(r.cause);n.push({message:r.cause.message,source:t,type:null==e?void 0:e.name,stack:e&&(0,a.Yn)(e)}),r=r.cause}return n.length?n:void 0}(t,m):void 0,fingerprint:l(S=t)&&"dd_fingerprint"in S?String(S.dd_fingerprint):void 0,context:function(e){if(null!==e&&"object"==typeof e&&"dd_context"in e)return e.dd_context}(t)}}function l(e){return e instanceof Error||"[object Error]"===Object.prototype.toString.call(e)}},80755:(e,t,r)=>{r.d(t,{F:()=>o});var n=r(23532),i=r(14581);let o=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],{startAction:r,addLabels:o,endAction:a}=(0,i.G)({name:e,type:"performance"});(0,n.useEffect)(()=>{if(t)return;let n=window.performance.mark(e);r(),o({componentLoadedMark:n.startTime}),a()},[e,r,o,a,t])}},81136:(e,t,r)=>{function n(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,n)}r.d(t,{_R:()=>s,it:()=>a,lk:()=>n,rx:()=>o});let i=/([\w-]+)\s*=\s*([^;]+)/g;function o(e,t){for(i.lastIndex=0;;){let r=i.exec(e);if(r){if(r[1]===t)return r[2]}else break}}function a(e){let t=new Map;for(i.lastIndex=0;;){let r=i.exec(e);if(r)t.set(r[1],r[2]);else break}return t}function s(e,t,r=""){let n=e.charCodeAt(t-1),i=n>=55296&&n<=56319?t+1:t;return e.length<=i?e:`${e.slice(0,i)}${r}`}},84961:(e,t,r)=>{r.d(t,{DJ:()=>s,vG:()=>l,wg:()=>a,yb:()=>u});var n=r(40483),i=r(62186),o=r(20916);function a(e,t){return(0,n.W)((0,o.V)(),"setTimeout")((0,i.dm)(e),t)}function s(e){(0,n.W)((0,o.V)(),"clearTimeout")(e)}function u(e,t){return(0,n.W)((0,o.V)(),"setInterval")((0,i.dm)(e),t)}function l(e){(0,n.W)((0,o.V)(),"clearInterval")(e)}},87704:(e,t,r)=>{r.d(t,{H:()=>a});var n=r(62186),i=r(64163),o=r(17289);function a(e,t,r,{computeHandlingStack:s}={}){let u=e[t];if("function"!=typeof u)if(!(t in e&&t.startsWith("on")))return{stop:i.l};else u=i.l;let l=!1,c=function(){let e;if(l)return u.apply(this,arguments);let t=Array.from(arguments);(0,n.um)(r,null,[{target:this,parameters:t,onPostCall:t=>{e=t},handlingStack:s?(0,o.uC)("instrumented method"):void 0}]);let i=u.apply(this,t);return e&&(0,n.um)(e,null,[i]),i};return e[t]=c,{stop:()=>{l=!0,e[t]===c&&(e[t]=u)}}}},90921:(e,t,r)=>{r.d(t,{a:()=>s});var n=r(17790),i=r(52581),o=r(3149);let a=220*i._m;function s(e,t=a){let r=(0,o.M)(Object.prototype),n=(0,o.M)(Array.prototype),i=[],c=new WeakMap,d=u(e,"$",void 0,i,c),f=JSON.stringify(d),p=f?f.length:0;if(p>t)return void l(t,"discarded",e);for(;i.length>0&&p<t;){let r=i.shift(),n=0;if(Array.isArray(r.source))for(let o=0;o<r.source.length;o++){let a=u(r.source[o],r.path,o,i,c);if(void 0!==a?p+=JSON.stringify(a).length:p+=4,p+=n,n=1,p>t){l(t,"truncated",e);break}r.target[o]=a}else for(let o in r.source)if(Object.prototype.hasOwnProperty.call(r.source,o)){let a=u(r.source[o],r.path,o,i,c);if(void 0!==a&&(p+=JSON.stringify(a).length+n+o.length+3,n=1),p>t){l(t,"truncated",e);break}r.target[o]=a}}return r(),n(),d}function u(e,t,r,n,i){let o=function(e){if(e&&"function"==typeof e.toJSON)try{return e.toJSON()}catch(e){}return e}(e);if(!o||"object"!=typeof o){var a;return"bigint"==typeof(a=o)?`[BigInt] ${a.toString()}`:"function"==typeof a?`[Function] ${a.name||"unknown"}`:"symbol"==typeof a?`[Symbol] ${a.description||a.toString()}`:a}let s=function e(t){try{if(t instanceof Event){var r;return{type:(r=t).type,isTrusted:r.isTrusted,currentTarget:r.currentTarget?e(r.currentTarget):null,target:r.target?e(r.target):null}}if(t instanceof RegExp)return`[RegExp] ${t.toString()}`;let n=Object.prototype.toString.call(t).match(/\[object (.*)\]/);if(n&&n[1])return`[${n[1]}]`}catch(e){}return"[Unserializable]"}(o);if("[Object]"!==s&&"[Array]"!==s&&"[Error]"!==s)return s;if(i.has(e))return`[Reference seen at ${i.get(e)}]`;let u=void 0!==r?`${t}.${r}`:t,l=Array.isArray(o)?[]:{};return i.set(e,u),n.push({source:o,target:l,path:u}),l}function l(e,t,r){n.Vy.warn(`The data provided has been ${t} as it is over the limit of ${e} characters:`,r)}},91832:(e,t,r)=>{function n(e){return 0!==e&&100*Math.random()<=e}function i(e,t){return+e.toFixed(t)}function o(e){return a(e)&&e>=0&&e<=100}function a(e){return"number"==typeof e}r.d(t,{Et:()=>a,LI:()=>i,fp:()=>o,ic:()=>n})}}]); 5//# sourceMappingURL=datadog-b41d0de77b2acc66.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.