1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8374],{3938:(t,e,r)=>{function n(t){return t>=500}function i(t){try{return t.clone()}catch(t){return}}r.d(e,{G:()=>n,i:()=>i})},6706:(t,e,r)=>{function n(t){return{...t}}function i(t,e){return Object.keys(t).some(r=>t[r]===e)}function a(t){return 0===Object.keys(t).length}function o(t,e){let r={};for(let n of Object.keys(t))r[n]=e(t[n]);return r}r.d(e,{LG:()=>o,RI:()=>a,Rj:()=>i,yG:()=>n})},10676:(t,e,r)=>{r.d(e,{V:()=>n});function n(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get(){return this},configurable:!0});let t=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof t&&(t="object"==typeof self?self:"object"==typeof window?window:{}),t}},11696:(t,e,r)=>{r.d(e,{l:()=>o,q:()=>a});var n=r(85590),i=r(14531);function a(t,e,r,n,i){return o(t,e,[r],n,i)}function o(t,e,r,a,{once:s,capture:l,passive:u}={}){let c=(0,n.dm)(e=>{(e.isTrusted||e.__ddIsTrusted||t.allowUntrustedEvents)&&(s&&h(),a(e))}),d=u?{capture:l,passive:u}:l,f=window.EventTarget&&e instanceof EventTarget?window.EventTarget.prototype:e,p=(0,i.W)(f,"addEventListener");function h(){let t=(0,i.W)(f,"removeEventListener");r.forEach(r=>t.call(e,r,c,d))}return r.forEach(t=>p.call(e,t,c,d)),{stop:h}}},14430:(t,e,r)=>{r.d(e,{X:()=>l});var n=r(38954),i=r(63002),a=r(81154),o=r(58961),s=r(97617);function l({encoder:t,request:e,flushController:r,messageBytesLimit:l}){let c={},d=r.flushObservable.subscribe(r=>(function(r){let n=(0,i.KQ)(c).join("\n");c={};let o=(0,a.Kp)(r.reason),l=o?e.sendOnExit:e.send;if(o&&t.isAsync){let e=t.finishSync();e.outputBytesCount&&l(u(e));let r=[e.pendingData,n].filter(Boolean).join("\n");r&&l({data:r,bytesCount:(0,s.WW)(r)})}else n&&t.write(t.isEmpty?n:` 2${n}`),t.finish(t=>{l(u(t))})})(r));function f(e,i){let a=(0,o.s)(e),s=t.estimateEncodedBytesCount(a);if(s>=l)return void n.Vy.warn(`Discarded a message whose size was bigger than the maximum allowed size ${l}KB. ${n.xG} ${n.Xs}/#technical-limitations`);void 0!==i&&void 0!==c[i]&&function(e){let n=c[e];delete c[e];let i=t.estimateEncodedBytesCount(n);r.notifyAfterRemoveMessage(i)}(i),r.notifyBeforeAddMessage(s),void 0!==i?(c[i]=a,r.notifyAfterAddMessage()):t.write(t.isEmpty?a:` 3${a}`,t=>{r.notifyAfterAddMessage(t-s)})}return{flushController:r,add:f,upsert:f,stop:d.unsubscribe}}function u(t){return{data:"string"==typeof t.output?t.output:new Blob([t.output],{type:"text/plain"}),bytesCount:t.outputBytesCount,encoding:t.encoding}}},14531:(t,e,r)=>{r.d(e,{W:()=>i});var n=r(10676);function i(t,e){let r,i=(0,n.V)();return i.Zone&&"function"==typeof i.Zone.__symbol__&&(r=t[i.Zone.__symbol__(e)]),r||(r=t[e]),r}},15843:(t,e,r)=>{r.d(e,{P:()=>n});function n(t){return null===t?"null":Array.isArray(t)?"array":typeof t}},19155:(t,e,r)=>{r.d(e,{y:()=>i});var n=r(38954);function i(t,e){return(...r)=>{try{return t(...r)}catch(t){n.Vy.error(e,t)}}}},21096:(t,e,r)=>{r.d(e,{H:()=>s,t:()=>l});var n=r(94357),i=r(85590),a=r(98595),o=r(96605);function s(t,e,r,{computeHandlingStack:n}={}){let l=t[e];if("function"!=typeof l)if(!(e in t&&e.startsWith("on")))return{stop:a.l};else l=a.l;let u=!1,c=function(){let t;if(u)return l.apply(this,arguments);let e=Array.from(arguments);(0,i.um)(r,null,[{target:this,parameters:e,onPostCall:e=>{t=e},handlingStack:n?(0,o.uC)("instrumented method"):void 0}]);let a=l.apply(this,e);return t&&(0,i.um)(t,null,[a]),a};return t[e]=c,{stop:()=>{u=!0,t[e]===c&&(t[e]=l)}}}function l(t,e,r){let i=Object.getOwnPropertyDescriptor(t,e);if(!i||!i.set||!i.configurable)return{stop:a.l};let o=a.l,s=(t,e)=>{(0,n.wg)(()=>{s!==o&&r(t,e)},0)},l=function(t){i.set.call(this,t),s(this,t)};return Object.defineProperty(t,e,{set:l}),{stop:()=>{var r;(null==(r=Object.getOwnPropertyDescriptor(t,e))?void 0:r.set)===l&&Object.defineProperty(t,e,i),s=o}}}},24019:(t,e,r)=>{r.d(e,{$A:()=>l,Bb:()=>n,Ih:()=>u,NW:()=>a,R8:()=>s,TC:()=>i,dV:()=>o});let n="datad0g.com",i="dd0g-gov.com",a="datadoghq.com",o="datadoghq.eu",s="ddog-gov.com",l="pci.browser-intake-datadoghq.com",u=["ddsource","dd-api-key","dd-request-id"]},25909:(t,e,r)=>{r.d(e,{a:()=>s});var n=r(38954),i=r(97617),a=r(58961);let o=220*i._m;function s(t,e=o){let r=(0,a.M)(Object.prototype),n=(0,a.M)(Array.prototype),i=[],c=new WeakMap,d=l(t,"$",void 0,i,c),f=JSON.stringify(d),p=f?f.length:0;if(p>e)return void u(e,"discarded",t);for(;i.length>0&&p<e;){let r=i.shift(),n=0;if(Array.isArray(r.source))for(let a=0;a<r.source.length;a++){let o=l(r.source[a],r.path,a,i,c);if(void 0!==o?p+=JSON.stringify(o).length:p+=4,p+=n,n=1,p>e){u(e,"truncated",t);break}r.target[a]=o}else for(let a in r.source)if(Object.prototype.hasOwnProperty.call(r.source,a)){let o=l(r.source[a],r.path,a,i,c);if(void 0!==o&&(p+=JSON.stringify(o).length+n+a.length+3,n=1),p>e){u(e,"truncated",t);break}r.target[a]=o}}return r(),n(),d}function l(t,e,r,n,i){let a=function(t){if(t&&"function"==typeof t.toJSON)try{return t.toJSON()}catch(t){}return t}(t);if(!a||"object"!=typeof a){var o;return"bigint"==typeof(o=a)?`[BigInt] ${o.toString()}`:"function"==typeof o?`[Function] ${o.name||"unknown"}`:"symbol"==typeof o?`[Symbol] ${o.description||o.toString()}`:o}let s=function t(e){try{if(e instanceof Event){var r;return{type:(r=e).type,isTrusted:r.isTrusted,currentTarget:r.currentTarget?t(r.currentTarget):null,target:r.target?t(r.target):null}}if(e instanceof RegExp)return`[RegExp] ${e.toString()}`;let n=Object.prototype.toString.call(e).match(/\[object (.*)\]/);if(n&&n[1])return`[${n[1]}]`}catch(t){}return"[Unserializable]"}(a);if("[Object]"!==s&&"[Array]"!==s&&"[Error]"!==s)return s;if(i.has(t))return`[Reference seen at ${i.get(t)}]`;let l=void 0!==r?`${e}.${r}`:e,u=Array.isArray(a)?[]:{};return i.set(t,l),n.push({source:a,target:u,path:l}),u}function u(t,e,r){n.Vy.warn(`The data provided has been ${e} as it is over the limit of ${t} characters:`,r)}},26664:(t,e,r)=>{let n;r.d(e,{$H:()=>l,$S:()=>m,FR:()=>u,Gw:()=>_,M8:()=>g,MA:()=>s,OY:()=>a,Oc:()=>v,TP:()=>d,Zj:()=>f,gs:()=>b,iW:()=>o,jR:()=>c,nx:()=>h,pu:()=>w,vk:()=>y,x3:()=>p});var i=r(31352);let a=1e3,o=6e4,s=36e5,l=31536e6;function u(t){return{relative:t,timeStamp:function(t){var e;let r=p()-performance.now();return r>S()?Math.round(function(t,e){return t+e}(r,t)):(e=t,Math.round(S()+e))}(t)}}function c(t){return{relative:b(t),timeStamp:t}}function d(){var t;return Math.round(p()-(t=S(),t+performance.now()))}function f(t){return(0,i.Et)(t)?(0,i.LI)(1e6*t,0):t}function p(){return new Date().getTime()}function h(){return p()}function m(){return performance.now()}function g(){return{relative:m(),timeStamp:h()}}function v(){return{relative:0,timeStamp:S()}}function y(t,e){return e-t}function _(t,e){return t+e}function b(t){return t-S()}function w(t){return t<l}function S(){return void 0===n&&(n=performance.timing.navigationStart),n}},30789:(t,e,r)=>{let n;function i(){return 0===o()}function a(){return 1===o()}function o(){return null!=n?n:n=function(t=window){var e;let r=t.navigator.userAgent;return t.chrome||/HeadlessChrome/.test(r)?0:(null==(e=t.navigator.vendor)?void 0:e.indexOf("Apple"))===0||/safari/i.test(r)&&!/chrome|android/i.test(r)?1:2}()}r.d(e,{F2:()=>i,nr:()=>a})},31352:(t,e,r)=>{function n(t){return 0!==t&&100*Math.random()<=t}function i(t,e){return+t.toFixed(e)}function a(t){return o(t)&&t>=0&&t<=100}function o(t){return"number"==typeof t}r.d(e,{Et:()=>o,LI:()=>i,fp:()=>a,ic:()=>n})},32563:(t,e,r)=>{r.d(e,{H:()=>a,N:()=>o});var n=r(98595),i=r(11696);function a(t,e,r){return document.readyState===e||"complete"===document.readyState?(r(),{stop:n.l}):(0,i.q)(t,window,"complete"===e?"load":"DOMContentLoaded",r,{once:!0})}function o(t,e){return new Promise(r=>{a(t,e,r)})}},32956:(t,e,r)=>{r.d(e,{K:()=>o,V:()=>a});var n=r(38954),i=r(15843);function a(t){let e=(0,i.P)(t);return"string"===e||"function"===e||t instanceof RegExp}function o(t,e,r=!1){return t.some(t=>{try{if("function"==typeof t)return t(e);if(t instanceof RegExp)return t.test(e);
3if("string"==typeof t)return r?e.startsWith(t):t===e}catch(t){n.Vy.error(t)}return!1})}},34353:(t,e,r)=>{r.d(e,{Aq:()=>o,R9:()=>n,q7:()=>l,sr:()=>s});var n,i=r(6706);!function(t){t.TRACK_INTAKE_REQUESTS="track_intake_requests",t.WRITABLE_RESOURCE_GRAPHQL="writable_resource_graphql",t.EARLY_REQUEST_COLLECTION="early_request_collection",t.WATCH_COOKIE_WITHOUT_LOCK="watch_cookie_without_lock",t.USE_TREE_WALKER_FOR_ACTION_NAME="use_tree_walker_for_action_name"}(n||(n={}));let a=new Set;function o(t){Array.isArray(t)&&t.filter(t=>(0,i.Rj)(n,t)).forEach(t=>{a.add(t)})}function s(t){return a.has(t)}function l(){return a}},38954:(t,e,r)=>{r.d(e,{JZ:()=>i,Vy:()=>s,Xs:()=>u,bP:()=>n,fH:()=>l,xG:()=>c});let n={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},i=console,a={};Object.keys(n).forEach(t=>{a[t]=i[t]});let o="Datadog Browser SDK:",s={debug:a.debug.bind(i,o),log:a.log.bind(i,o),info:a.info.bind(i,o),warn:a.warn.bind(i,o),error:a.error.bind(i,o)},l="https://docs.datadoghq.com",u=`${l}/real_user_monitoring/browser/troubleshooting`,c="More details:"},40176:(t,e,r)=>{let n;r.d(e,{AY:()=>o,L2:()=>s,c$:()=>l,l2:()=>a});var i=r(58961);function a(t){return l(t,location.href).href}function o(t){try{return!!l(t)}catch(t){return!1}}function s(t){let e=l(t).pathname;return"/"===e[0]?e:`/${e}`}function l(t,e){let{URL:r}=function(){if(!n){let t,e;try{(t=document.createElement("iframe")).style.display="none",document.body.appendChild(t),e=t.contentWindow}catch(t){e=window}n={URL:e.URL},null==t||t.remove()}return n}();try{return void 0!==e?new r(t,e):new r(t)}catch(r){throw Error(`Failed to construct URL: ${String(r)} ${(0,i.s)({url:t,base:e})}`)}}},43719:(t,e,r)=>{let n,i;r.d(e,{B9:()=>c,DQ:()=>f,Ri:()=>u,TV:()=>l,z$:()=>d});var a=r(38954),o=r(26664),s=r(93800);function l(t,e,r=0,n){let i=new Date;i.setTime(i.getTime()+r);let a=`expires=${i.toUTCString()}`,o=n&&n.crossSite?"none":"strict",s=n&&n.domain?`;domain=${n.domain}`:"",u=n&&n.secure?";secure":"",c=n&&n.partitioned?";partitioned":"";document.cookie=`${t}=${e};${a};path=/;samesite=${o}${s}${u}${c}`}function u(t){return(0,s.rx)(document.cookie,t)}function c(t){return n||(n=(0,s.it)(document.cookie)),n.get(t)}function d(t){if(void 0===document.cookie||null===document.cookie)return!1;try{let e=`dd_cookie_test_${(0,s.lk)()}`,r="test";l(e,r,o.iW,t);let n=u(e)===r;return l(e,"",0,t),n}catch(t){return a.Vy.error(t),!1}}function f(){if(void 0===i){let t=`dd_site_test_${(0,s.lk)()}`,e=window.location.hostname.split("."),r=e.pop();for(;e.length&&!u(t);)r=`${e.pop()}.${r}`,l(t,"test",o.OY,{domain:r});l(t,"",0,{domain:r}),i=r}return i}},43903:(t,e,r)=>{r.d(e,{T:()=>a,w:()=>o});var n=r(24019),i=r(75406);function a(t){var e;let r=t.site||n.NW,a="flutter"===t.source?"flutter":"browser",o=(e={...t,site:r,source:a},{logsEndpointBuilder:(0,i.n)(e,"logs"),rumEndpointBuilder:(0,i.n)(e,"rum"),profilingEndpointBuilder:(0,i.n)(e,"profile"),sessionReplayEndpointBuilder:(0,i.n)(e,"replay"),exposuresEndpointBuilder:(0,i.n)(e,"exposures")});return{replica:function(t){if(!t.replica)return;let e={...t,site:n.NW,clientToken:t.replica.clientToken};return{logsEndpointBuilder:(0,i.n)(e,"logs"),rumEndpointBuilder:(0,i.n)(e,"rum",[`application.id=${t.replica.applicationId}`])}}({...t,site:r,source:a}),site:r,source:a,...o}}function o(t){return n.Ih.every(e=>t.includes(e))}},44824:(t,e,r)=>{r.d(e,{t:()=>a});var n=r(78820),i=r(94357);function a({messagesLimit:t,bytesLimit:e,durationLimit:r,pageMayExitObservable:a,sessionExpireObservable:o}){let s,l=a.subscribe(t=>p(t.reason)),u=o.subscribe(()=>p("session_expire")),c=new n.cP(()=>()=>{l.unsubscribe(),u.unsubscribe()}),d=0,f=0;function p(t){if(0===f)return;let e=f,r=d;f=0,d=0,h(),c.notify({reason:t,messagesCount:e,bytesCount:r})}function h(){(0,i.DJ)(s),s=void 0}return{flushObservable:c,get messagesCount(){return f},notifyBeforeAddMessage(t){d+t>=e&&p("bytes_limit"),f+=1,d+=t,void 0===s&&(s=(0,i.wg)(()=>{p("duration_limit")},r))},notifyAfterAddMessage(r=0){d+=r,f>=t?p("messages_limit"):d>=e&&p("bytes_limit")},notifyAfterRemoveMessage(t){d-=t,0==(f-=1)&&h()}}}},45350:(t,e,r)=>{let n;r.d(e,{Rr:()=>I,A2:()=>C,VJ:()=>R,Gk:()=>O,Q6:()=>N,a5:()=>E});
3var i=r(38954),a=r(46532),o=r(96605),s=r(34353),l=r(24019),u=r(78820),c=r(26664),d=r(85590),f=r(47884),p=r(31352),h=r(58961),m=r(77078),g=r(46866),v=r(94404),y=r(88647),_=r(14430),b=r(85520),w=r(44824),S=r(87878);let k={LOG:"log",CONFIGURATION:"configuration",USAGE:"usage"},x=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost","<anonymous>"],T=[l.R8];function A(){return n||(n=new u.dX(100)),n}function E(t,e,r,n,i,a){let o=new u.cP,{stop:g}=function(t,e,r,n,i){let a=[];if((0,y.d0)()){let t=(0,y.Y9)(),e=i.subscribe(e=>t.send("internal_telemetry",e));a.push(e.unsubscribe)}else{let o=[t.rumEndpointBuilder];t.replica&&t.site===l.Bb&&o.push(t.replica.rumEndpointBuilder);let s=(0,_.X)({encoder:n(4),request:(0,b.sA)(o,t.batchBytesLimit,e),flushController:(0,w.t)({messagesLimit:t.batchMessagesLimit,bytesLimit:t.batchBytesLimit,durationLimit:t.flushTimeout,pageMayExitObservable:r,sessionExpireObservable:new u.cP}),messageBytesLimit:t.messageBytesLimit});a.push(s.stop);let c=i.subscribe(s.add);a.push(c.unsubscribe)}return{stop:()=>a.forEach(t=>t())}}(e,n,i,a,o),{enabled:x}=function(t,e,r,n){let i={},a=!T.includes(e.site)&&(0,p.ic)(e.telemetrySampleRate),o={[k.LOG]:a,[k.CONFIGURATION]:a&&(0,p.ic)(e.telemetryConfigurationSampleRate),[k.USAGE]:a&&(0,p.ic)(e.telemetryUsageSampleRate)},l={is_local_file:"file:"===window.location.protocol,is_worker:"WorkerGlobalScope"in self},u=A();return u.subscribe(({rawEvent:a,kind:u})=>{if(!o[a.type])return;let d=i[u];if(d||(d=i[u]=new Set),d.size>=e.maxTelemetryEventsPerPage)return;let p=(0,h.s)(a);if(d.has(p))return;let g=r.triggerHook(1,{startTime:(0,c.M8)().relative});if(g===S.ug)return;let y=function(t,e,r,n){let i={type:"telemetry",date:(0,c.M8)().timeStamp,service:e,version:"6.19.0",source:"browser",_dd:{format_version:2},telemetry:(0,m.kg)(r,{runtime_env:n,connectivity:(0,v.q)(),sdk_setup:"npm"}),experimental_features:Array.from((0,s.q7)())};return(0,m.kg)(i,t)}(g,t,a,l);n.notify(y),(0,f.b)("telemetry",y),d.add(p)}),u.unbuffer(),(0,d.Bd)(R),{enabled:a}}(t,e,r,o);return{stop:g,enabled:x}}function C(t,e){(0,d.oO)(i.bP.debug,t,e),A().notify({rawEvent:{type:k.LOG,message:t,status:"debug",...e},kind:"debug"})}function R(t,e){A().notify({rawEvent:{type:k.LOG,status:"error",...function(t){if((0,a.bJ)(t)){var e;let r=(0,g.T)(t);return{error:{kind:r.name,stack:(0,o.Yn)(((e=r).stack=e.stack.filter(t=>!t.url||x.some(e=>t.url.startsWith(e))),e))},message:r.message}}return{error:{stack:a.e6},message:`Uncaught ${(0,h.s)(t)}`}}(t),...e},kind:"error"})}function I(t){A().notify({rawEvent:{type:k.CONFIGURATION,configuration:t},kind:k.CONFIGURATION})}function O(t,e){A().notify({rawEvent:{type:k.LOG,message:t,status:"debug",...e},kind:t})}function N(t){A().notify({rawEvent:{type:k.USAGE,usage:t},kind:k.USAGE})}},46532:(t,e,r)=>{r.d(e,{As:()=>l,bJ:()=>u,e6:()=>s});var n=r(25909),i=r(58961),a=r(46866),o=r(96605);let s="No stack, consider using an instance of Error";function l({stackTrace:t,originalError:e,handlingStack:r,componentStack:l,startClocks:c,nonErrorPrefix:d,useFallbackStack:f=!0,source:p,handling:h}){var m,g,v,y,_;let b=u(e);return!t&&b&&(t=(0,a.T)(e)),{startClocks:c,source:p,handling:h,handlingStack:r,componentStack:l,originalError:e,type:t?t.name:void 0,message:(m=t,g=b,v=d,y=e,(null==m?void 0:m.message)&&(null==m?void 0:m.name)?m.message:g?"Empty message":`${v} ${(0,i.s)((0,n.a)(y))}`),stack:t?(0,o.Yn)(t):f?s:void 0,causes:b?function(t,e){let r=t,n=[];for(;u(null==r?void 0:r.cause)&&n.length<10;){let t=(0,a.T)(r.cause);n.push({message:r.cause.message,source:e,type:null==t?void 0:t.name,stack:t&&(0,o.Yn)(t)}),r=r.cause}return n.length?n:void 0}(e,p):void 0,fingerprint:u(_=e)&&"dd_fingerprint"in _?String(_.dd_fingerprint):void 0,context:function(t){if(null!==t&&"object"==typeof t&&"dd_context"in t)return t.dd_context}(e)}}function u(t){return t instanceof Error||"[object Error]"===Object.prototype.toString.call(t)}},46866:(t,e,r)=>{let n;function i(t){var e,r;
3let i=[],a=p(t,"stack"),o=String(t);if(a&&a.startsWith(o)&&(a=a.slice(o.length)),a&&a.split("\n").forEach(t=>{let e=function(t){let e=s.exec(t);if(!e)return;let r=e[2]&&0===e[2].indexOf("native"),n=e[2]&&0===e[2].indexOf("eval"),i=l.exec(e[2]);return n&&i&&(e[2]=i[1],e[3]=i[2],e[4]=i[3]),{args:r?[e[2]]:[],column:e[4]?+e[4]:void 0,func:e[1]||"?",line:e[3]?+e[3]:void 0,url:r?void 0:e[2]}}(t)||function(t){let e=u.exec(t);if(e)return{args:[],column:e[3]?+e[3]:void 0,func:"?",line:e[2]?+e[2]:void 0,url:e[1]}}(t)||function(t){let e=c.exec(t);if(e)return{args:[],column:e[4]?+e[4]:void 0,func:e[1]||"?",line:+e[3],url:e[2]}}(t)||function(t){let e=d.exec(t);if(!e)return;let r=e[3]&&e[3].indexOf(" > eval")>-1,n=f.exec(e[3]);return r&&n&&(e[3]=n[1],e[4]=n[2],e[5]=void 0),{args:e[2]?e[2].split(","):[],column:e[5]?+e[5]:void 0,func:e[1]||"?",line:e[4]?+e[4]:void 0,url:e[3]}}(t);e&&(!e.func&&e.line&&(e.func="?"),i.push(e))}),i.length>0&&function(){if(void 0!==n)return n;class t extends Error{constructor(){super(),this.name="Error"}}let[e,r]=[t,Error].map(t=>new t);return n=g(Object.getPrototypeOf(e))&&r.stack!==e.stack}()&&t instanceof Error){let n=[],a=t;for(;(a=Object.getPrototypeOf(a))&&g(a);){let t=(null==(e=a.constructor)?void 0:e.name)||"?";n.push(t)}for(let t=n.length-1;t>=0&&(null==(r=i[0])?void 0:r.func)===n[t];t--)i.shift()}return{message:p(t,"message"),name:p(t,"name"),stack:i}}r.d(e,{T:()=>i,h:()=>h});let a="((?:file|https?|blob|chrome-extension|electron|native|eval|webpack|snippet|<anonymous>|\\w+\\.|\\/).*?)",o="(?::(\\d+))",s=RegExp(`^\\s*at (.*?) ?\\(${a}${o}?${o}?\\)?\\s*$`,"i"),l=RegExp(`\\((\\S*)${o}${o}\\)`),u=RegExp(`^\\s*at ?${a}${o}?${o}??\\s*$`,"i"),c=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,d=/^\s*(.*?)(?:\((.*?)\))?(?:(?:(?:^|@)((?: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(t,e){if("object"!=typeof t||!t||!(e in t))return;let r=t[e];return"string"==typeof r?r:void 0}function h(t,e,r,n){var i;let a,o;if(void 0===e)return;let{name:s,message:l}=(i=t,"[object String]"===({}).toString.call(i)&&([,a,o]=m.exec(i)),{name:a,message:o});return{name:s,message:l,stack:[{url:e,column:n,line:r}]}}let m=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/;function g(t){return String(t.constructor).startsWith("class ")}},47884:(t,e,r)=>{r.d(e,{b:()=>n});function n(t,e){let r=window.__ddBrowserSdkExtensionCallback;r&&r({type:t,payload:e})}},48374:(t,e,r)=>{r.r(e),r.d(e,{DefaultPrivacyLevel:()=>L.WA,datadogRum:()=>M});var n=r(59831),i=r(10676),a=r(73597),o=r(88647),s=r(98595),l=r(82120),u=r(11696),c=r(45350),d=r(97617);function f(t,e,r){let n,i=0,a=[],o=!0,s=0,l=[],{stop:f}=(0,u.q)(t,e,"message",({data:t})=>{if("wrote"!==t.type||t.streamId!==r)return;let e=l[0];e&&(e.id===t.id?(l.shift(),i+=t.additionalBytesCount,a.push(t.result),n=t.trailer,e.writeCallback?e.writeCallback(t.result.byteLength):e.finishCallback&&e.finishCallback()):e.id<t.id&&(f(),(0,c.A2)("Worker responses received out of order.")))});function p(){let t=0===a.length?new Uint8Array(0):(0,d.wh)(a.concat(n)),e={rawBytesCount:i,output:t,outputBytesCount:t.byteLength,encoding:"deflate"};return i=0,a=[],e}function h(){o||(e.postMessage({action:"reset",streamId:r}),o=!0)}return{isAsync:!0,get isEmpty(){return o},write(t,n){e.postMessage({action:"write",id:s,data:t,streamId:r}),l.push({id:s,writeCallback:n,data:t}),o=!1,s+=1},finish(t){h(),l.length?(l.forEach(t=>{delete t.writeCallback}),l[l.length-1].finishCallback=()=>t(p())):t(p())},finishSync(){h();let t=l.map(t=>t.data).join("");return l.length=0,{...p(),pendingData:t}},estimateEncodedBytesCount:t=>t.length/8,stop(){f()}}}var p=r(26664),h=r(94357),m=r(38954);function g({configuredUrl:t,error:e,source:r,scriptType:n}){var i;if(m.Vy.error(`${r} failed to start: an error occurred while initializing the ${n}:`,e),e instanceof Event||e instanceof Error&&((i=e.message).includes("Content Security Policy")||i.includes("requires 'TrustedScriptURL'"))){let e;e=t?`Please make sure the ${n} URL ${t} is correct and CSP is correctly configured.`:"Please make sure CSP is correctly configured.",m.Vy.error(`${e} See documentation at ${m.fH}/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay`)}else"worker"===n&&(0,c.VJ)(e)}let v=30*p.OY;function y(t){return new Worker(t.workerUrl||URL.createObjectURL(new Blob(['(()=>{function t(t){const e=t.reduce((t,e)=>t+e.length,0),a=new Uint8Array(e);let n=0;for(const e of t)a.set(e,n),n+=e.length;return a}function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),n=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),r=new
3Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),i=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=Array(576);e(s);var h=Array(60);e(h);var l=Array(512);e(l);var _=Array(256);e(_);var o=Array(29);e(o);var d,u,f,c=Array(30);function p(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t&&t.length}function g(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(c);var v=function(t){return t<256?l[t]:l[256+(t>>>7)]},w=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},m=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,w(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},b=function(t,e,a){m(t,a[2*e],a[2*e+1])},y=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},z=function(t,e,a){var n,r,i=Array(16),s=0;for(n=1;n<=15;n++)i[n]=s=s+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=y(i[h]++,h))}},k=function(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},x=function(t){t.bi_valid>8?w(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},A=function(t,e,a,n){var r=2*e,i=2*a;return t[r]<t[i]||t[r]===t[i]&&n[e]<=n[a]},U=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&A(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!A(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},B=function(t,e,r){var i,s,h,l,d=0;if(0!==t.last_lit)do{i=t.pending_buf[t.d_buf+2*d]<<8|t.pending_buf[t.d_buf+2*d+1],s=t.pending_buf[t.l_buf+d],d++,0===i?b(t,s,e):(h=_[s],b(t,h+256+1,e),0!==(l=a[h])&&(s-=o[h],m(t,s,l)),i--,h=v(i),b(t,h,r),0!==(l=n[h])&&(i-=c[h],m(t,i,l)))}while(d<t.last_lit);b(t,256,e)},I=function(t,e){var a,n,r,i=e.dyn_tree,s=e.stat_desc.static_tree,h=e.stat_desc.has_stree,l=e.stat_desc.elems,_=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<l;a++)0!==i[2*a]?(t.heap[++t.heap_len]=_=a,t.depth[a]=0):i[2*a+1]=0;for(;t.heap_len<2;)i[2*(r=t.heap[++t.heap_len]=_<2?++_:0)]=1,t.depth[r]=0,t.opt_len--,h&&(t.static_len-=s[2*r+1]);for(e.max_code=_,a=t.heap_len>>1;a>=1;a--)U(t,i,a);r=l;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],U(t,i,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,i[2*r]=i[2*a]+i[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,i[2*a+1]=i[2*n+1]=r,t.heap[1]=r++,U(t,i,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,i,s,h,l=e.dyn_tree,_=e.max_code,o=e.stat_desc.static_tree,d=e.stat_desc.has_stree,u=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,c=e.stat_desc.max_length,p=0;for(i=0;i<=15;i++)t.bl_count[i]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(i=l[2*l[2*(n=t.heap[a])+1]+1]+1)>c&&(i=c,p++),l[2*n+1]=i,n>_||(t.bl_count[i]++,s=0,n>=f&&(s=u[n-f]),h=l[2*n],t.opt_len+=h*(i+s),d&&(t.static_len+=h*(o[2*n+1]+s)));if(0!==p){do{for(i=c-1;0===t.bl_count[i];)i--;t.bl_count[i]--,t.bl_count[i+1]+=2,t.bl_count[c]--,p-=2}while(p>0);for(i=c;0!==i;i--)for(n=t.bl_count[i];0!==n;)(r=t.heap[--a])>_||(l[2*r+1]!==i&&(t.opt_len+=(i-l[2*r+1])*l[2*r],l[2*r+1]=i),n--)}}(t,e),z(i,_,t.bl_count)},E=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++h<l&&r===s||(h<_?t.bl_tree[2*r]+=h:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):h<=10?t.bl_tree[34]++:t.bl_tree[36]++,h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4))},C=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++h<l&&r===s)){if(h<_)do{b(t,r,t.bl_tree)}while(0!==--h);else 0!==r?(r!==i&&(b(t,r,t.bl_tree),h--),b(t,16,t.bl_tree),m(t,h-3,2)):h<=10?(b(t,17,t.bl_tree),m(t,h-3,3)):(b(t,18,t.bl_tree),m(t,h-11,7));h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4)}},D=!1,M=function(t,e,a,n){m(t,0+(n?1:0),3),function(t,e,a){x(t),w(t,a),w(t,~a),t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a}(t,e,a)},j=M,L=function(t,e,a,n){for(var r=65535&t,i=t>>>16&65535,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{i=i+(r=r+e[n++]|0)|0}while(--s);r%=65521,i%=65521}return r|i<<16},S=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),T=function(t,e,a,n){var r=S,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return-1^t},O={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},q=j,F=function(t,e,a){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&a,t.last_lit++,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(_[a]+256+1)]++,t.dyn_dtree[2*v(e)]++),t.last_lit===t.lit_bufsize-1},G=-2,H=258,J=262,K=103,N=113,P=666,Q=function(t,e){return t.msg=O[e],e},R=function(t){return(t<<1)-(t>4?9:0)},V=function(t){for(var e=t.length;--e>=0;)t[e]=0},W=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},X=function(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},Y=function(t,e){(function(t,e,a,n){var r,l,_=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),I(t,t.l_desc),I(t,t.d_desc),_=function(t){var e;
vendor: 8,978 bytes, line 3
3for(E(t,t.dyn_ltree,t.l_desc.max_code),E(t,t.dyn_dtree,t.d_desc.max_code),I(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*i[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),r=t.opt_len+3+7>>>3,(l=t.static_len+3+7>>>3)<=r&&(r=l)):r=l=a+5,a+4<=r&&-1!==e?M(t,e,a,n):4===t.strategy||l===r?(m(t,2+(n?1:0),3),B(t,s,h)):(m(t,4+(n?1:0),3),function(t,e,a,n){var r;for(m(t,e-257,5),m(t,a-1,5),m(t,n-4,4),r=0;r<n;r++)m(t,t.bl_tree[2*i[r]+1],3);C(t,t.dyn_ltree,e-1),C(t,t.dyn_dtree,a-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,_+1),B(t,t.dyn_ltree,t.dyn_dtree)),k(t),n&&x(t)})(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,X(t.strm)},Z=function(t,e){t.pending_buf[t.pending++]=e},$=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},tt=function(t,e,a,n){var r=t.avail_in;return r>n&&(r=n),0===r?0:(t.avail_in-=r,e.set(t.input.subarray(t.next_in,t.next_in+r),a),1===t.state.wrap?t.adler=L(t.adler,e,r,a):2===t.state.wrap&&(t.adler=T(t.adler,e,r,a)),t.next_in+=r,t.total_in+=r,r)},et=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,h=t.nice_match,l=t.strstart>t.w_size-J?t.strstart-(t.w_size-J):0,_=t.window,o=t.w_mask,d=t.prev,u=t.strstart+H,f=_[i+s-1],c=_[i+s];t.prev_length>=t.good_match&&(r>>=2),h>t.lookahead&&(h=t.lookahead);do{if(_[(a=e)+s]===c&&_[a+s-1]===f&&_[a]===_[i]&&_[++a]===_[i+1]){i+=2,a++;do{}while(_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&i<u);if(n=H-(u-i),i=u-H,n>s){if(t.match_start=e,s=n,n>=h)break;f=_[i+s-1],c=_[i+s]}}}while((e=d[e&o])>l&&0!==--r);return s<=t.lookahead?s:t.lookahead},at=function(t){var e,a,n,r,i,s=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=s+(s-J)){t.window.set(t.window.subarray(s,s+s),0),t.match_start-=s,t.strstart-=s,t.block_start-=s,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=s?n-s:0}while(--a);e=a=s;do{n=t.prev[--e],t.prev[e]=n>=s?n-s:0}while(--a);r+=s}if(0===t.strm.avail_in)break;if(a=tt(t.strm,t.window,t.strstart+t.lookahead,r),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=W(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=W(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<J&&0!==t.strm.avail_in)},nt=function(t,e){for(var a,n;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a)),t.match_length>=3)if(n=F(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!==--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=W(t,t.ins_h,t.window[t.strstart+1]);else n=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2},rt=function(t,e){for(var a,n,r;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=F(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!==--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(Y(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=F(t,0,t.window[t.strstart-1]))&&Y(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=F(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2};function it(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}var st=[new it(0,0,0,0,function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(at(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,Y(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-J&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Y(t,!1),t.strm.avail_out),1)}),new it(4,4,8,4,nt),new it(4,5,16,8,nt),new it(4,6,32,32,nt),new it(4,4,16,16,rt),new it(8,16,32,32,rt),new it(8,16,128,128,rt),new it(8,32,128,256,rt),new it(32,128,258,1024,rt),new it(32,258,258,4096,rt)];function ht(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),V(this.dyn_ltree),V(this.dyn_dtree),V(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),V(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),V(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}for(var lt=function(t){var e,i=function(t){if(!t||!t.state)return Q(t,G);t.total_in=t.total_out=0,t.data_type=2;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:N,t.adler=2===e.wrap?0:1,e.last_flush=0,function(t){D||(function(){var t,e,i,g,v,w=Array(16);for(i=0,g=0;g<28;g++)for(o[g]=i,t=0;t<1<<a[g];t++)_[i++]=g;for(_[i-1]=g,v=0,g=0;g<16;g++)for(c[g]=v,t=0;t<1<<n[g];t++)l[v++]=g;for(v>>=7;g<30;g++)for(c[g]=v<<7,t=0;t<1<<n[g]-7;t++)l[256+v++]=g;for(e=0;e<=15;e++)w[e]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,w[8]++;for(;t<=255;)s[2*t+1]=9,t++,w[9]++;for(;t<=279;)s[2*t+1]=7,t++,w[7]++;for(;t<=287;)s[2*t+1]=8,t++,w[8]++;for(z(s,287,w),t=0;t<30;t++)h[2*t+1]=5,h[2*t]=y(t,5);d=new p(s,a,257,286,15),u=new p(h,n,0,30,15),f=new p([],r,0,19,7)}(),D=!0),t.l_desc=new g(t.dyn_ltree,d),t.d_desc=new g(t.dyn_dtree,u),t.bl_desc=new g(t.bl_tree,f),t.bi_buf=0,t.bi_valid=0,k(t)}(e),0}(t);return 0===i&&((e=t.state).window_size=2*e.w_size,V(e.head),e.max_lazy_match=st[e.level].max_lazy,e.good_match=st[e.level].good_length,e.nice_match=st[e.level].nice_length,e.max_chain_length=st[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),i},_t=function(t,e){var a,n;if(!t||!t.state||e>5||e<0)return t?Q(t,G):G;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===P&&4!==e)return Q(t,0===t.avail_out?-5:G);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,Z(r,31),Z(r,139),Z(r,8),r.gzhead?(Z(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Z(r,255&r.gzhead.time),Z(r,r.gzhead.time>>8&255),Z(r,r.gzhead.time>>16&255),Z(r,r.gzhead.time>>24&255),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,255&r.gzhead.os),r.gzhead.extra&&r.gzhead.extra.length&&(Z(r,255&r.gzhead.extra.length),Z(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=T(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,3),r.status=N);else{var h=8+(r.w_bits-8<<4)<<8;h|=(r.strategy>
3=2||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(h|=32),h+=31-h%31,r.status=N,$(r,h),0!==r.strstart&&($(r,t.adler>>>16),$(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending!==r.pending_buf_size));)Z(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=T(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=K)}else r.status=K;if(r.status===K&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&X(t),r.pending+2<=r.pending_buf_size&&(Z(r,255&t.adler),Z(r,t.adler>>8&255),t.adler=0,r.status=N)):r.status=N),0!==r.pending){if(X(t),0===t.avail_out)return r.last_flush=-1,0}else if(0===t.avail_in&&R(e)<=R(i)&&4!==e)return Q(t,-5);if(r.status===P&&0!==t.avail_in)return Q(t,-5);if(0!==t.avail_in||0!==r.lookahead||0!==e&&r.status!==P){var l=2===r.strategy?function(t,e){for(var a;;){if(0===t.lookahead&&(at(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):3===r.strategy?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=H){if(at(t),t.lookahead<=H&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[r=t.strstart-1])===s[++r]&&n===s[++r]&&n===s[++r]){i=t.strstart+H;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&r<i);t.match_length=H-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=F(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):st[r.level].func(r,e);if(3!==l&&4!==l||(r.status=P),1===l||3===l)return 0===t.avail_out&&(r.last_flush=-1),0;if(2===l&&(1===e?function(t){m(t,2,3),b(t,256,s),function(t){16===t.bi_valid?(w(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}(r):5!==e&&(q(r,0,0,!1),3===e&&(V(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),X(t),0===t.avail_out))return r.last_flush=-1,0}return 4!==e?0:r.wrap<=0?1:(2===r.wrap?(Z(r,255&t.adler),Z(r,t.adler>>8&255),Z(r,t.adler>>16&255),Z(r,t.adler>>24&255),Z(r,255&t.total_in),Z(r,t.total_in>>8&255),Z(r,t.total_in>>16&255),Z(r,t.total_in>>24&255)):($(r,t.adler>>>16),$(r,65535&t.adler)),X(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?0:1)},ot=function(t){if(!t||!t.state)return G;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==K&&e!==N&&e!==P?Q(t,G):(t.state=null,e===N?Q(t,-3):0)},dt=new Uint8Array(256),ut=0;ut<256;ut++)dt[ut]=ut>=252?6:ut>=248?5:ut>=240?4:ut>=224?3:ut>=192?2:1;dt[254]=dt[254]=1;var ft=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},ct=Object.prototype.toString;function pt(){this.options={level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0};var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new ft,this.strm.avail_out=0;var e,a,n=function(t,e,a,n,r,i){if(!t)return G;var s=1;if(-1===e&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||8!==a||n<8||n>15||e<0||e>9||i<0||i>4)return Q(t,G);8===n&&(n=9);var h=new ht;return t.state=h,h.strm=t,h.wrap=s,h.gzhead=null,h.w_bits=n,h.w_size=1<<h.w_bits,h.w_mask=h.w_size-1,h.hash_bits=r+7,h.hash_size=1<<h.hash_bits,h.hash_mask=h.hash_size-1,h.hash_shift=~~((h.hash_bits+3-1)/3),h.window=new Uint8Array(2*h.w_size),h.head=new Uint16Array(h.hash_size),h.prev=new Uint16Array(h.w_size),h.lit_bufsize=1<<r+6,h.pending_buf_size=4*h.lit_bufsize,h.pending_buf=new Uint8Array(h.pending_buf_size),h.d_buf=1*h.lit_bufsize,h.l_buf=3*h.lit_bufsize,h.level=e,h.strategy=i,h.method=a,lt(t)}(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw Error(O[n]);if(t.header&&(e=this.strm,a=t.header,e&&e.state&&(2!==e.state.wrap||(e.state.gzhead=a))),t.dictionary){var r;if(r="[object ArrayBuffer]"===ct.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(n=function(t,e){var a=e.length;if(!t||!t.state)return G;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return G;if(1===r&&(t.adler=L(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(V(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);
3i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,h=t.next_in,l=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,at(n);n.lookahead>=3;){var _=n.strstart,o=n.lookahead-2;do{n.ins_h=W(n,n.ins_h,n.window[_+3-1]),n.prev[_&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=_,_++}while(--o);n.strstart=_,n.lookahead=2,at(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=h,t.input=l,t.avail_in=s,n.wrap=r,0}(this.strm,r)))throw Error(O[n]);this._dict_set=!0}}function gt(t,e,a){try{t.postMessage({type:"errored",error:e,streamId:a})}catch(n){t.postMessage({type:"errored",error:e+"",streamId:a})}}function vt(t){const e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}pt.prototype.push=function(t,e){var a,n,r=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?4:0,"[object ArrayBuffer]"===ct.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(2===n||3===n)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if(1===(a=_t(r,n)))return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=ot(this.strm),this.onEnd(a),this.ended=!0,0===a;if(0!==r.avail_out){if(n>0&&r.next_out>0)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else if(0===r.avail_in)break}else this.onData(r.output)}return!0},pt.prototype.onData=function(t){this.chunks.push(t)},pt.prototype.onEnd=function(t){0===t&&(this.result=function(t){for(var e=0,a=0,n=t.length;a<n;a++)e+=t[a].length;for(var r=new Uint8Array(e),i=0,s=0,h=t.length;i<h;i++){var l=t[i];r.set(l,s),s+=l.length}return r}(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},function(e=self){try{const a=new Map;e.addEventListener("message",n=>{try{const r=function(e,a){switch(a.action){case"init":return{type:"initialized",version:"6.19.0"};case"write":{let n=e.get(a.streamId);n||(n=new pt,e.set(a.streamId,n));const r=n.chunks.length,i=function(t){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,n,r,i,s=t.length,h=0;for(r=0;r<s;r++)a=t.charCodeAt(r),55296==(64512&a)&&r+1<s&&(n=t.charCodeAt(r+1),56320==(64512&n)&&(a=65536+(a-55296<<10)+(n-56320),r++)),h+=a<128?1:a<2048?2:a<65536?3:4;for(e=new Uint8Array(h),i=0,r=0;i<h;r++)a=t.charCodeAt(r),55296==(64512&a)&&r+1<s&&(n=t.charCodeAt(r+1),56320==(64512&n)&&(a=65536+(a-55296<<10)+(n-56320),r++)),a<128?e[i++]=a:a<2048?(e[i++]=192|a>>>6,e[i++]=128|63&a):a<65536?(e[i++]=224|a>>>12,e[i++]=128|a>>>6&63,e[i++]=128|63&a):(e[i++]=240|a>>>18,e[i++]=128|a>>>12&63,e[i++]=128|a>>>6&63,e[i++]=128|63&a);return e}(a.data);return n.push(i,2),{type:"wrote",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:vt(n),additionalBytesCount:i.length}}case"reset":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){gt(e,t,n.data&&"streamId"in n.data?n.data.streamId:void 0)}})}catch(t){gt(e,t)}}()})();'])))}let _={status:0};function b(t,e,r,n=y){switch(0===_.status&&function(t,e,r=y){try{let n=r(t),{stop:i}=(0,u.q)(t,n,"error",r=>{w(t,e,r)}),{stop:a}=(0,u.q)(t,n,"message",({data:r})=>{var n;"errored"===r.type?w(t,e,r.error,r.streamId):"initialized"===r.type&&(n=r.version,1===_.status&&(_={status:3,worker:_.worker,stop:_.stop,version:n}))});n.postMessage({action:"init"}),(0,h.wg)(()=>{var t;return t=e,void(1===_.status&&(m.Vy.error(`${t} failed to start: a timeout occurred while initializing the Worker`),_.initializationFailureCallbacks.forEach(t=>t()),_={status:2}))},v),_={status:1,worker:n,stop:()=>{i(),a()},initializationFailureCallbacks:[]}}catch(r){w(t,e,r)}}(t,e,n),_.status){case 1:return _.initializationFailureCallbacks.push(r),_.worker;case 3:return _.worker}}function w(t,e,r,n){1===_.status||0===_.status?(g({configuredUrl:t.workerUrl,error:r,source:e,scriptType:"worker"}),1===_.status&&_.initializationFailureCallbacks.forEach(t=>t()),_={status:2}):(0,c.VJ)(r,{worker_version:3===_.status&&_.version,stream_id:n})}function S(){return"function"==typeof Array.from&&"function"==typeof CSSSupportsRule&&"function"==typeof URL.createObjectURL&&"forEach"in NodeList.prototype}var k=r(78820),x=r(32563),T=r(85590),A=r(31352);async function E(t,e,r){try{return await r}finally{t.notify(e)}}async function C(t=R){try{return await t()}catch(t){g({error:t,source:"Recorder",scriptType:"module"})}}async function R(){return(await r.e(9777).then(r.bind(r,26252))).startRecording}var I=r(87878);async function O(t=N){try{return await t()}catch(t){g({error:t,source:"Profiler",scriptType:"module"})}}async function N(){return(await r.e(12).then(r.bind(r,102))).createRumProfiler}var L=r(99108);let P=function(t,e){let r;if((0,o.d0)()&&!(0,o.Ww)("records")||!S())return{start:s.l,stop:s.l,getReplayStats:()=>void 0,onRumStart:s.l,isRecording:()=>!1,getSessionReplayLink:()=>void 0};let{strategy:n,shouldStartImmediately:i}=(r=0,{strategy:{start(){r=1},stop(){r=2},isRecording:()=>!1,getSessionReplayLink:s.l},shouldStartImmediately:t=>1===r||0===r&&!t.startSessionReplayRecordingManually});return{start:t=>n.start(t),stop:()=>n.stop(),getSessionReplayLink:()=>n.getSessionReplayLink(),onRumStart:function(e,r,o,l,u,d){let h;n=function(t,e,r,n,i,o,l){let u,d=0;e.subscribe(9,()=>{(2===d||3===d)&&(g(),d=1)}),e.subscribe(10,()=>{1===d&&m()});let f=new k.cP;!function(t,e,r){let n,i,a;
3if(!(e.enabled&&(0,A.ic)(t.replayTelemetrySampleRate)))return s.l;let{unsubscribe:o}=r.subscribe(t=>{switch(t.type){case"start":n={forced:t.forced,timestamp:(0,p.nx)()},i=void 0,a=void 0;break;case"document-ready":n&&(i=(0,p.vk)(n.timestamp,(0,p.nx)()));break;case"recorder-settled":n&&(a=(0,p.vk)(n.timestamp,(0,p.nx)()));break;case"aborted":case"deflate-encoder-load-failed":case"recorder-load-failed":case"succeeded":var e,r,s,l;o(),n&&(0,c.Gk)("Recorder init metrics",{metrics:(e=n.forced,r=a,s=(0,p.vk)(n.timestamp,(0,p.nx)()),l=t.type,{forced:e,loadRecorderModuleDuration:r,recorderInitDuration:s,result:l,waitForDocReadyDuration:i})})}})}(t,l,f);let h=async a=>{f.notify({type:"start",forced:a});let[s]=await Promise.all([E(f,{type:"recorder-settled"},i()),E(f,{type:"document-ready"},(0,x.N)(t,"interactive"))]);if(2!==d)return void f.notify({type:"aborted"});if(!s){d=0,f.notify({type:"recorder-load-failed"});return}let c=o();if(!c){d=0,f.notify({type:"deflate-encoder-load-failed"});return}({stop:u}=s(e,t,r,n,c,l)),d=3,f.notify({type:"succeeded"})};function m(t){var e,n,i,a,o;let s=r.findTrackedSession();if(e=s,n=t,!e||0===e.sessionReplay&&(!n||!n.force)){d=1;return}if(2===(i=d)||3===i)return;d=2;let l=(a=s,(o=t)&&o.force&&0===a.sessionReplay||!1);h(l).catch(T.Dx),l&&r.setForcedReplay()}function g(){3===d&&(null==u||u()),d=0}return{start:m,stop:g,getSessionReplayLink:()=>(function(t,e,r,n){var i,o;let s=e.findTrackedSession(),l=(i=s,o=n,S()?i?0===i.sessionReplay?"incorrect-session-plan":o?void 0:"replay-not-started":"rum-not-tracked":"browser-not-supported"),u=r.findView();return(0,a.dx)(t,{viewContext:u,errorType:l,session:s})})(t,r,n,0!==d),isRecording:()=>3===d}}(r,e,o,l,t,function(){return!h&&(null!=u||(u=b(r,"Datadog Session Replay",()=>{n.stop()},void 0)),u&&(h=f(r,u,1))),h},d),i(r)&&n.start()},isRecording:()=>3===_.status&&n.isRecording(),getReplayStats:t=>3===_.status?(0,l.lv)(t):void 0}}(C),$=function(){let t;return{onRumStart:function(e,r,n,o,s){let l,u=o.findTrackedSession();if(!u||!(0,a.$5)(u.id,n.profilingSampleRate))return;let d=(l={status:"starting"},r.register(0,({eventType:t})=>t!==a.bb.VIEW&&t!==a.bb.LONG_TASK?I.$O:{type:t,_dd:{profiling:l}}),{get:()=>l,set:t=>{l=t}});if(void 0===(0,i.V)().Profiler)return void d.set({status:"error",error_reason:"not-supported-by-browser"});O().then(r=>{if(!r){(0,c.A2)("[DD_RUM] Failed to lazy load the RUM Profiler"),d.set({status:"error",error_reason:"failed-to-lazy-load"});return}(t=r(n,e,o,d)).start(s.findView())}).catch(T.Dx)},stop:()=>{null==t||t.stop().catch(T.Dx)}}}(),M=(0,a.AB)(a.rJ,P,$,{startDeflateWorker:b,createDeflateEncoder:f,sdkName:"rum"});(0,n.Z)((0,i.V)(),"DD_RUM",M)},49785:(t,e,r)=>{r.d(e,{iA:()=>u,Hv:()=>d,ge:()=>l});var n=r(30789),i=r(43719),a=r(82233),o=r(57554),s=r(62073);function l(t){let e=function(t){let e={};return e.secure=!!t.useSecureSessionCookie||!!t.usePartitionedCrossSiteSessionCookie,e.crossSite=!!t.usePartitionedCrossSiteSessionCookie,e.partitioned=!!t.usePartitionedCrossSiteSessionCookie,t.trackSessionAcrossSubdomains&&(e.domain=(0,i.DQ)()),e}(t);return(0,i.z$)(e)?{type:s.Q_.COOKIE,cookieOptions:e}:void 0}function u(t,e){let r={isLockEnabled:(0,n.F2)(),persistSession:r=>c(e,t,r,s.HB),retrieveSession:d,expireSession:r=>c(e,t,(0,o.zn)(r,t),s.AQ)};if(!(0,i.B9)(a.Z)){let t=(0,i.B9)("_dd"),e=(0,i.B9)("_dd_r"),n=(0,i.B9)("_dd_l"),a={};t&&(a.id=t),n&&/^[01]$/.test(n)&&(a.logs=n),e&&/^[012]$/.test(e)&&(a.rum=e),(0,o.c$)(a)&&((0,o.oT)(a),r.persistSession(a))}return r}function c(t,e,r,n){(0,i.TV)(a.Z,(0,o.D9)(r),e.trackAnonymousUser?s._P:n,t)}function d(){let t=(0,i.Ri)(a.Z);return(0,o.H9)(t)}},51750:(t,e,r)=>{r.d(e,{D:()=>a,w:()=>i});var n=r(78820);let i={GRANTED:"granted",NOT_GRANTED:"not-granted"};function a(t){let e=new n.cP;return{tryToInit(e){t||(t=e)},update(r){t=r,e.notify()},isGranted:()=>t===i.GRANTED,observable:e}}},57554:(t,e,r)=>{r.d(e,{oT:()=>p,zn:()=>u,W3:()=>f,TE:()=>c,c$:()=>d,H9:()=>m,D9:()=>h});var n=r(6706),i=r(63002),a=r(26664),o=r(93800),s=r(62073);let l=/^([a-zA-Z]+)=([a-z0-9-]+)$/;function u(t,e){let r={isExpired:"1"};return e.trackAnonymousUser&&((null==t?void 0:t.anonymousId)?r.anonymousId=null==t?void 0:t.anonymousId:r.anonymousId=(0,o.lk)()),r}function c(t){return(0,n.RI)(t)}function d(t){return!c(t)}function f(t){var e;return void 0!==t.isExpired||!((void 0===(e=t).created||(0,a.x3)()-Number(e.created)<s.AQ)&&(void 0===e.expire||(0,a.x3)()<Number(e.expire)))}function p(t){t.expire=String((0,a.x3)()+s.HB)}function h(t){return(0,i.WP)(t).map(([t,e])=>"anonymousId"===t?`aid=${e}`:`${t}=${e}`).join("&")}function m(t){let e={};return t&&(-1!==t.indexOf("&")||l.test(t))&&t.split("&").forEach(t=>{let r=l.exec(t);if(null!==r){let[,t,n]=r;"aid"===t?e.anonymousId=n:e[t]=n}}),e}},58961:(t,e,r)=>{r.d(e,{M:()=>a,s:()=>i});var n=r(98595);function i(t,e,r){if("object"!=typeof t||null===t)return JSON.stringify(t);let n=a(Object.prototype),i=a(Array.prototype),o=a(Object.getPrototypeOf(t)),s=a(t);try{return JSON.stringify(t,e,r)}catch(t){return"<error: unable to serialize object>"}finally{n(),i(),o(),s()}}function a(t){let e=t.toJSON;return e?(delete t.toJSON,()=>{t.toJSON=e}):n.l}},59831:(t,e,r)=>{r.d(e,{Z:()=>s,m:()=>o});var n=r(19155),i=r(85590),a=r(38954);function o(t){let e={version:"6.19.0",onReady(t){t()},...t};return Object.defineProperty(e,"_setDebug",{get:()=>i.pM,enumerable:!1}),e}function s(t,e,r){let i=t[e];
3i&&!i.q&&i.version&&a.Vy.warn("SDK is loaded more than once. This is unsupported and might have unexpected behavior."),t[e]=r,i&&i.q&&i.q.forEach(t=>(0,n.y)(t,"onReady callback threw an error:")())}},62073:(t,e,r)=>{r.d(e,{AQ:()=>i,HB:()=>a,Q_:()=>l,_P:()=>o,gB:()=>s});var n=r(26664);let i=4*n.MA,a=15*n.iW,o=n.$H,s="0",l={COOKIE:"cookie",LOCAL_STORAGE:"local-storage"}},63002:(t,e,r)=>{function n(t,e){for(let r=t.length-1;r>=0;r-=1){let n=t[r];if(e(n,r,t))return n}}function i(t){return Object.values(t)}function a(t){return Object.entries(t)}r.d(e,{KQ:()=>i,Uk:()=>n,WP:()=>a})},73597:(t,e,r)=>{let n,i,a,o,s,l,u,c;r.d(e,{X2:()=>M,eT:()=>eb,o:()=>e_,$m:()=>eg,NT:()=>ev,Wd:()=>ey,bb:()=>L,do:()=>d,yF:()=>eD,wI:()=>eu,W3:()=>t$,PJ:()=>eS,dT:()=>ex,$4:()=>ec,Gn:()=>rk,zL:()=>rx,dx:()=>nt,rf:()=>eE,pB:()=>rA,wR:()=>el,g1:()=>rT,XS:()=>eo,p_:()=>es,$5:()=>tv,AB:()=>tO,jR:()=>ek,ei:()=>t4,Ie:()=>eT,rJ:()=>r9,s5:()=>en});var d,f=r(51750),p=r(78820),h=r(21096),m=r(26664),g=r(46866),v=r(10676),y=r(46532),_=r(81135),b=r(97617);function w(){let t="",e=0;return{isAsync:!1,get isEmpty(){return!t},write(r,n){let i=(0,b.WW)(r);e+=i,t+=r,n&&n(i)},finish(t){t(this.finishSync())},finishSync(){let r={output:t,outputBytesCount:e,rawBytesCount:e,pendingData:""};return t="",e=0,r},estimateEncodedBytesCount:t=>t.length}}var S=r(85590),k=r(45350),x=r(59831),T=r(77078),A=r(96605),E=r(25909);function C(t,e,r,n){return(0,S.dm)((...i)=>(n&&(0,k.Q6)({feature:n}),t()[e][r](...i)))}let R={userContext:"userContext",globalContext:"globalContext",accountContext:"accountContext"},I={getContext:"getContext",setContext:"setContext",setContextProperty:"setContextProperty",removeContextProperty:"removeContextProperty",clearContext:"clearContext"};var O=r(38954);function N(t,e){e.silentMultipleInit||O.Vy.error(`${t} is already initialized.`)}let L={ACTION:"action",ERROR:"error",LONG_TASK:"long_task",VIEW:"view",RESOURCE:"resource",VITAL:"vital"},P={LONG_TASK:"long-task",LONG_ANIMATION_FRAME:"long-animation-frame"},$={INITIAL_LOAD:"initial_load",ROUTE_CHANGE:"route_change",BF_CACHE:"bf_cache"},M={CLICK:"click",CUSTOM:"custom"},U={RAGE_CLICK:"rage_click",ERROR_CLICK:"error_click",DEAD_CLICK:"dead_click"},V={DURATION:"duration"};var D=r(93800);function z({vitalsByName:t,vitalsByReference:e},r,n={}){let i={name:r,startClocks:(0,m.M8)(),context:n.context,description:n.description},a={__dd_vital_reference:!0};return t.set(r,i),e.set(a,i),a}function B(t,{vitalsByName:e,vitalsByReference:r},n,i={}){var a,o,s,l,u;let c="string"==typeof n?e.get(n):r.get(n);c&&(t((a=c,o=c.startClocks,s=i,l=(0,m.M8)(),{name:a.name,type:V.DURATION,startClocks:o,duration:(0,m.vk)(o.timeStamp,l.timeStamp),context:(0,T.kg)(a.context,s.context),description:null!=(u=s.description)?u:a.description})),"string"==typeof n?e.delete(n):r.delete(n))}function F(t,e,r){if(t)for(let n of t){let t=n[e];t&&t(r)}}function j(t,e){let r=t.indexOf(e);r>=0&&t.splice(r,1)}var G=r(11696),q=r(6706);let W=[];function H(t,e,r,n){var i,a;let o=(i=r,a=n,`_dd_c_${i}_${a}`);W.push((0,G.q)(t,window,"storage",({key:t})=>{o===t&&e.setContext(l())})),e.changeObservable.subscribe(function(){localStorage.setItem(o,JSON.stringify(e.getContext()))});let s=(0,T.kg)(l(),e.getContext());function l(){let t=localStorage.getItem(o);return t?JSON.parse(t):{}}(0,q.RI)(s)||e.setContext(s)}var Z=r(15843);function K(t,e,r){let n={...t};for(let[t,{required:i,type:a}]of Object.entries(e))"string"!==a||J(n[t])||(n[t]=String(n[t])),i&&J(n[t])&&O.Vy.warn(`The property ${t} of ${r} is required; context will not be sent to the intake.`);return n}function J(t){return null==t||""===t}function Y(t="",{propertiesConfig:e={}}={}){let r={},n=new p.cP,i={getContext:()=>(0,T.Go)(r),setContext:a=>{!function(t){let e="object"===(0,Z.P)(t);return e||O.Vy.error("Unsupported context:",t),e}(a)?i.clearContext():r=(0,E.a)(K(a,e,t)),n.notify()},setContextProperty:(i,a)=>{r=(0,E.a)(K({...r,[i]:a},e,t)),n.notify()},removeContextProperty:i=>{delete r[i],K(r,e,t),n.notify()},clearContext:()=>{r={},n.notify()},changeObservable:n};return i}function Q(){return Y("global context")}var X=r(87878);function tt(){return Y("user",{propertiesConfig:{id:{type:"string"},name:{type:"string"},email:{type:"string"}}})}function te(){return Y("account",{propertiesConfig:{id:{type:"string",required:!0},name:{type:"string"}}})}
3var tr=r(88647),tn=r(98595),ti=r(40176);function ta(){return n||(n=new p.cP(t=>{if(!window.fetch)return;let{stop:e}=(0,h.H)(window,"fetch",e=>(function({parameters:t,onPostCall:e,handlingStack:r},n){let[i,a]=t,o=a&&a.method;void 0===o&&i instanceof Request&&(o=i.method);let s=void 0!==o?String(o).toUpperCase():"GET",l=i instanceof Request?i.url:(0,ti.l2)(String(i)),u={state:"start",init:a,input:i,method:s,startClocks:(0,m.M8)(),url:l,handlingStack:r};n.notify(u),t[0]=u.input,t[1]=u.init,e(t=>(function(t,e,r){function n(e){r.state="resolve",Object.assign(r,e),t.notify(r)}e.then((0,S.dm)(t=>{n({response:t,responseType:t.type,status:t.status,isAborted:!1})}),(0,S.dm)(t=>{var e,i;n({status:0,isAborted:(null==(i=null==(e=r.init)?void 0:e.signal)?void 0:i.aborted)||t instanceof DOMException&&t.code===DOMException.ABORT_ERR,error:t})}))})(n,t,u))})(e,t),{computeHandlingStack:!0});return e})),n}var to=r(34353),ts=r(43719);function tl(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||(0,ts.B9)("datadog-synthetics-injects-rum"))}function tu(){let t=window._DATADOG_SYNTHETICS_PUBLIC_ID||(0,ts.B9)("datadog-synthetics-public-id");return"string"==typeof t?t:void 0}function tc(){let t=window._DATADOG_SYNTHETICS_RESULT_ID||(0,ts.B9)("datadog-synthetics-result-id");return"string"==typeof t?t:void 0}function td(){return!!(tu()&&tc())}var tf=r(99108),tp=r(31352),th=r(32956),tm=r(63002);let tg=new Map;function tv(t,e){let r;if(100===e)return!0;if(0===e)return!1;let n=tg.get(e);return n&&t===n.sessionId?n.decision:(r=window.BigInt?function(t,e){let r=BigInt("1111111111111111111"),n=BigInt("0x10000000000000000");return Number(t*r%n)<=e/100*Number(n)}(BigInt(`0x${t.split("-")[4]}`),e):(0,tp.ic)(e),tg.set(e,{sessionId:t,decision:r}),r)}function ty(t){let e=crypto.getRandomValues(new Uint32Array(2));return 63===t&&(e[e.length-1]>>>=1),{toString(t=10){let r=e[1],n=e[0],i="";do{let e=r%t*0x100000000+n;r=Math.floor(r/t),n=Math.floor(e/t),i=(e%t).toString(t)+i}while(r||n);return i}}}function t_(t){return t.toString(16).padStart(16,"0")}function tb(t){0!==t.status||t.isAborted||(t.traceId=void 0,t.spanId=void 0,t.traceSampled=void 0)}function tw(t,e,r,n,i,a){let o=r.findTrackedSession();if(!o)return;let s=t.allowedTracingUrls.find(t=>(0,th.K)([t.match],e.url,!0));if(!s)return;let l=tv(o.id,t.traceSampleRate);(l||t.traceContextInjection===tf.uT.ALL)&&(e.traceSampled=l,e.traceId=ty(64),e.spanId=ty(63),a(function(t,e,r,n,i,a,o,s){let l={};if(i.forEach(n=>{switch(n){case"datadog":Object.assign(l,{"x-datadog-origin":"rum","x-datadog-parent-id":e.toString(),"x-datadog-sampling-priority":r?"1":"0","x-datadog-trace-id":t.toString()});break;case"tracecontext":Object.assign(l,{traceparent:`00-0000000000000000${t_(t)}-${t_(e)}-0${r?"1":"0"}`,tracestate:`dd=s:${r?"1":"0"};o:rum`});break;case"b3":Object.assign(l,{b3:`${t_(t)}-${t_(e)}-${r?"1":"0"}`});break;case"b3multi":Object.assign(l,{"X-B3-TraceId":t_(t),"X-B3-SpanId":t_(e),"X-B3-Sampled":r?"1":"0"})}}),s.propagateTraceBaggage){let t={"session.id":n},e=a.getContext().id;"string"==typeof e&&(t["user.id"]=e);let r=o.getContext().id;"string"==typeof r&&(t["account.id"]=r);let i=Object.entries(t).map(([t,e])=>`${t}=${encodeURIComponent(e)}`).join(",");i&&(l.baggage=i)}return l}(e.traceId,e.spanId,e.traceSampled,o.id,s.propagatorTypes,n,i,t)))}let tS=["tracecontext","datadog"];var tk=r(75406);let tx=["applicationId","service","env","version","sessionSampleRate","sessionReplaySampleRate","defaultPrivacyLevel","enablePrivacyForActionName","traceSampleRate","trackSessionAcrossSubdomains","allowedTracingUrls","allowedTrackingOrigins"];async function tT(t,e){let r=await tR(t);return r.ok?function(t,e,r){let n={...t};return tx.forEach(t=>{t in e&&(n[t]=tA(e[t]))}),Object.keys(r).forEach(t=>{var n;void 0!==e[t]&&(n=r[t],e[t].forEach(({key:t,value:e})=>{n.setContextProperty(t,tA(e))}))}),n}(t,r.value,e):void O.Vy.error(r.error)}function tA(t){if(Array.isArray(t))return t.map(tA);if("object"==typeof(e=t)&&null!==e){if("rcSerializedType"in t){let n=t.rcSerializedType;switch(n){case"string":return t.value;case"regex":return tE(t.value);case"dynamic":var e,r=t;let i=r.strategy;switch(i){case"cookie":return function({name:t,extractor:e}){let r=(0,ts.Ri)(t);return void 0!==e&&void 0!==r?tC(e,r):r}(r);case"dom":return function({selector:t,attribute:e,extractor:r}){var n,i;let a;try{a=document.querySelector(t)}catch(e){a=null,O.Vy.error(`Invalid selector in the remote configuration: '${t}'`)}if(null===a||(n=a,i=e,"password"===n.getAttribute("type")&&"value"===i))return;let o=void 0!==e?a.getAttribute(e):a.textContent;return void 0!==r&&null!==o?tC(r,o):null!=o?o:void 0}(r);default:O.Vy.error(`Unsupported remote configuration: "strategy": "${i}"`);return}default:O.Vy.error(`Unsupported remote configuration: "rcSerializedType": "${n}"`);return}}return(0,q.LG)(t,tA)}return t}function tE(t){try{return new RegExp(t)}catch(e){O.Vy.error(`Invalid regex in the remote configuration: '${t}'`)}}function tC(t,e){let r=tE(t.value);if(void 0===r)return;let n=r.exec(e);if(null===n)return;let[i,a]=n;return a||i}async function tR(t){let e;try{var r;e=await fetch((r=t).remoteConfigurationProxy?r.remoteConfigurationProxy:`https://sdk-configuration.${(0,tk.G)("rum",r)}/v1/${encodeURIComponent(r.remoteConfigurationId)}.json`)}catch(t){e=void 0}if(!e||!e.ok)return{ok:!1,error:Error("Error fetching the remote configuration.")};let n=await e.json();return n.rum?{ok:!0,value:n.rum}:{ok:!1,error:Error("No remote configuration for RUM.")}}function tI(t,e,r){t.changeObservable.subscribe(()=>{let n=t.getContext();r.add(t=>t[e].setContext(n))})}function tO(t,e,r,n={}){let i=(0,f.D)(),a={vitalsByName:new Map,vitalsByReference:new WeakMap},o=function(t=function(){return new p.cP(t=>{var e,r;let n=(e,r)=>{let n=(0,y.As)({stackTrace:r,originalError:e,startClocks:(0,m.M8)(),nonErrorPrefix:"Uncaught",source:_.g.SOURCE,handling:"unhandled"});t.notify(n)},{stop:i}=(e=n,(0,h.H)((0,v.V)(),"onerror",({parameters:[t,r,n,i,a]})=>{let o;
3(0,y.bJ)(a)||(o=(0,g.h)(t,r,n,i)),e(null!=a?a:t,o)})),{stop:a}=(r=n,(0,h.H)((0,v.V)(),"onunhandledrejection",({parameters:[t]})=>{r(t.reason||"Empty reason")}));return()=>{i(),a()}})}){let e=new p.dX(500),r=t().subscribe(t=>{e.notify({type:0,error:t})});return{observable:e,stop:()=>{r.unsubscribe()}}}().observable,s=function({ignoreInitIfSyntheticsWillInjectRum:t=!0,startDeflateWorker:e},r,n,i){let a,o,s,l,u=function(){let t=[];return{add:e=>{t.push(e)>500&&t.splice(0,1)},remove:e=>{j(t,e)},drain:e=>{t.forEach(t=>t(e)),t.length=0}}}(),c=Q();tI(c,R.globalContext,u);let d=tt();tI(d,R.userContext,u);let f=te();tI(f,R.accountContext,u);let p=r.observable.subscribe(g),h={};function g(){let t;if(!s||!l||!r.isGranted())return;if(p.unsubscribe(),l.trackViewsManually){if(!a)return;u.remove(a.callback),t=a.options}let e=i(l,o,t);u.drain(e)}function v(t){var n,i,a;let u=(0,tr.d0)();if(u&&(t={...n=t,applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100,defaultPrivacyLevel:null!=(i=n.defaultPrivacyLevel)?i:null==(a=(0,tr.Y9)())?void 0:a.getPrivacyLevel()}),s=t,(0,k.Rr)(function(t){var e;let r=(0,tf.hO)(t);return{session_replay_sample_rate:t.sessionReplaySampleRate,start_session_replay_recording_manually:t.startSessionReplayRecordingManually,trace_sample_rate:t.traceSampleRate,trace_context_injection:t.traceContextInjection,action_name_attribute:t.actionNameAttribute,use_allowed_tracing_urls:Array.isArray(t.allowedTracingUrls)&&t.allowedTracingUrls.length>0,selected_tracing_propagators:function(t){let e=new Set;return Array.isArray(t.allowedTracingUrls)&&t.allowedTracingUrls.length>0&&t.allowedTracingUrls.forEach(t=>{(0,th.V)(t)?tS.forEach(t=>e.add(t)):"object"===(0,Z.P)(t)&&Array.isArray(t.propagatorTypes)&&t.propagatorTypes.forEach(t=>e.add(t))}),Array.from(e)}(t),default_privacy_level:t.defaultPrivacyLevel,enable_privacy_for_action_name:t.enablePrivacyForActionName,use_excluded_activity_urls:Array.isArray(t.excludedActivityUrls)&&t.excludedActivityUrls.length>0,use_worker_url:!!t.workerUrl,compress_intake_requests:t.compressIntakeRequests,track_views_manually:t.trackViewsManually,track_user_interactions:t.trackUserInteractions,track_resources:t.trackResources,track_long_task:t.trackLongTasks,track_bfcache_views:t.trackBfcacheViews,plugins:null==(e=t.plugins)?void 0:e.map(t=>{var e;return{name:t.name,...null==(e=t.getConfigurationTelemetry)?void 0:e.call(t)}}),track_feature_flags_for_events:t.trackFeatureFlagsForEvents,remote_configuration_id:t.remoteConfigurationId,...r}}(t)),l)return void N("DD_RUM",t);let c=function(t){var e,r,n,i,a,o,s;if(void 0===t.trackFeatureFlagsForEvents||Array.isArray(t.trackFeatureFlagsForEvents)||O.Vy.warn("trackFeatureFlagsForEvents should be an array"),!t.applicationId)return void O.Vy.error("Application ID is not configured, no RUM data will be collected.");if(!(0,tf.bX)(t.sessionReplaySampleRate,"Session Replay")||!(0,tf.bX)(t.traceSampleRate,"Trace"))return;if(void 0!==t.excludedActivityUrls&&!Array.isArray(t.excludedActivityUrls))return void O.Vy.error("Excluded Activity Urls should be an array");let l=function(t){if(void 0===t.allowedTracingUrls)return[];if(!Array.isArray(t.allowedTracingUrls))return void O.Vy.error("Allowed Tracing URLs should be an array");if(0!==t.allowedTracingUrls.length&&void 0===t.service)return void O.Vy.error("Service needs to be configured when tracing is enabled");let e=[];return t.allowedTracingUrls.forEach(t=>{if((0,th.V)(t))e.push({match:t,propagatorTypes:tS});else"object"===(0,Z.P)(t)&&(0,th.V)(t.match)&&Array.isArray(t.propagatorTypes)?e.push(t):O.Vy.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",t)}),e}(t);if(!l)return;let u=(0,tf.Sz)(t);if(!u)return;let c=null!=(e=t.sessionReplaySampleRate)?e:0;return{applicationId:t.applicationId,actionNameAttribute:t.actionNameAttribute,sessionReplaySampleRate:c,startSessionReplayRecordingManually:void 0!==t.startSessionReplayRecordingManually?!!t.startSessionReplayRecordingManually:0===c,traceSampleRate:null!=(r=t.traceSampleRate)?r:100,rulePsr:(0,tp.Et)(t.traceSampleRate)?t.traceSampleRate/100:void 0,allowedTracingUrls:l,excludedActivityUrls:null!=(n=t.excludedActivityUrls)?n:[],workerUrl:t.workerUrl,compressIntakeRequests:!!t.compressIntakeRequests,trackUserInteractions:!!(null==(i=t.trackUserInteractions)||i),trackViewsManually:!!t.trackViewsManually,trackResources:!!(null==(a=t.trackResources)||a),trackLongTasks:!!(null==(o=t.trackLongTasks)||o),trackBfcacheViews:!!t.trackBfcacheViews,subdomain:t.subdomain,defaultPrivacyLevel:(0,q.Rj)(tf.WA,t.defaultPrivacyLevel)?t.defaultPrivacyLevel:tf.WA.MASK,enablePrivacyF
3orActionName:!!t.enablePrivacyForActionName,customerDataTelemetrySampleRate:1,initialViewMetricsTelemetrySampleRate:1,replayTelemetrySampleRate:1,traceContextInjection:(0,q.Rj)(tf.uT,t.traceContextInjection)?t.traceContextInjection:tf.uT.SAMPLED,plugins:t.plugins||[],trackFeatureFlagsForEvents:t.trackFeatureFlagsForEvents||[],profilingSampleRate:null!=(s=t.profilingSampleRate)?s:0,propagateTraceBaggage:!!t.propagateTraceBaggage,...u}}(t);if(c){if(!u&&!c.sessionStoreStrategyType)return void O.Vy.warn("No storage available for session. We will not send any data.");if(c.compressIntakeRequests&&!u&&e&&!(o=e(c,"Datadog RUM",tn.l)))return;l=c,ta().subscribe(tn.l),r.tryToInit(c.trackingConsent),g()}}let y=t=>{u.add(e=>e.addDurationVital(t))};return{init(e,r){if(!e)return void O.Vy.error("Missing configuration");(0,to.Aq)(e.enableExperimentalFeatures),s=e,t&&tl()||(F(e.plugins,"onInit",{initConfiguration:e,publicApi:r}),e.remoteConfigurationId?tT(e,{user:d,context:c}).then(t=>{t&&v(t)}).catch(S.Dx):v(e))},get initConfiguration(){return s},getInternalContext:tn.l,stopSession:tn.l,addTiming(t,e=(0,m.nx)()){u.add(r=>r.addTiming(t,e))},startView(t,e=(0,m.M8)()){let r=r=>{r.startView(t,e)};u.add(r),a||(a={options:t,callback:r},g())},setViewName(t){u.add(e=>e.setViewName(t))},setViewContext(t){u.add(e=>e.setViewContext(t))},setViewContextProperty(t,e){u.add(r=>r.setViewContextProperty(t,e))},getViewContext:()=>h,globalContext:c,userContext:d,accountContext:f,addAction(t){u.add(e=>e.addAction(t))},addError(t){u.add(e=>e.addError(t))},addFeatureFlagEvaluation(t,e){u.add(r=>r.addFeatureFlagEvaluation(t,e))},startDurationVital:(t,e)=>z(n,t,e),stopDurationVital(t,e){B(y,n,t,e)},addDurationVital:y}}(n,i,a,(l,u,c)=>{var d,f;let p=t(l,e,r,c,u&&n.createDeflateEncoder?t=>n.createDeflateEncoder(l,u,t):w,i,a,o,n.sdkName);return e.onRumStart(p.lifeCycle,l,p.session,p.viewHistory,u,p.telemetry),r.onRumStart(p.lifeCycle,p.hooks,l,p.session,p.viewHistory),d=s,f=p,s={init:t=>{N("DD_RUM",t)},initConfiguration:d.initConfiguration,...f},F(l.plugins,"onRumStart",{strategy:s,addEvent:p.addEvent}),p}),l=()=>s,u=(0,S.dm)(t=>{s.startView("object"==typeof t?t:{name:t}),(0,k.Q6)({feature:"start-view"})}),c=(0,x.m)({init:(0,S.dm)(t=>{s.init(t,c)}),setTrackingConsent:(0,S.dm)(t=>{i.update(t),(0,k.Q6)({feature:"set-tracking-consent",tracking_consent:t})}),setViewName:(0,S.dm)(t=>{s.setViewName(t),(0,k.Q6)({feature:"set-view-name"})}),setViewContext:(0,S.dm)(t=>{s.setViewContext(t),(0,k.Q6)({feature:"set-view-context"})}),setViewContextProperty:(0,S.dm)((t,e)=>{s.setViewContextProperty(t,e),(0,k.Q6)({feature:"set-view-context-property"})}),getViewContext:(0,S.dm)(()=>((0,k.Q6)({feature:"set-view-context-property"}),s.getViewContext())),getInternalContext:(0,S.dm)(t=>s.getInternalContext(t)),getInitConfiguration:(0,S.dm)(()=>(0,T.Go)(s.initConfiguration)),addAction:(t,e)=>{let r=(0,A.uC)("action");(0,S.um)(()=>{s.addAction({name:(0,E.a)(t),context:(0,E.a)(e),startClocks:(0,m.M8)(),type:M.CUSTOM,handlingStack:r}),(0,k.Q6)({feature:"add-action"})})},addError:(t,e)=>{let r=(0,A.uC)("error");(0,S.um)(()=>{s.addError({error:t,handlingStack:r,context:(0,E.a)(e),startClocks:(0,m.M8)()}),(0,k.Q6)({feature:"add-error"})})},addTiming:(0,S.dm)((t,e)=>{s.addTiming((0,E.a)(t),e)}),setGlobalContext:C(l,R.globalContext,I.setContext,"set-global-context"),getGlobalContext:C(l,R.globalContext,I.getContext,"get-global-context"),setGlobalContextProperty:C(l,R.globalContext,I.setContextProperty,"set-global-context-property"),removeGlobalContextProperty:C(l,R.globalContext,I.removeContextProperty,"remove-global-context-property"),clearGlobalContext:C(l,R.globalContext,I.clearContext,"clear-global-context"),setUser:C(l,R.userContext,I.setContext,"set-user"),getUser:C(l,R.userContext,I.getContext,"get-user"),setUserProperty:C(l,R.userContext,I.setContextProperty,"set-user-property"),removeUserProperty:C(l,R.userContext,I.removeContextProperty,"remove-user-property"),clearUser:C(l,R.userContext,I.clearContext,"clear-user"),setAccount:C(l,R.accountContext,I.setContext,"set-account"),getAccount:C(l,R.accountContext,I.getContext,"get-account"),setAccountProperty:C(l,R.accountContext,I.setContextProperty,"set-account-property"),removeAccountProperty:C(l,R.accountContext,I.removeContextProperty,"remove-account-property"),clearAccount:C(l,R.accountContext,I.clearContext,"clear-account"),startView:u,stopSession:(0,S.dm)(()=>{s.stopSession(),(0,k.Q6)({feature:"stop-session"})}),addFeatureFlagEvaluation:(0,S.dm)((t,e)=>{s.addFeatureFlagEvaluation((0,E.a)(t),(0,E.a)(e)),(0,k.Q6)({feature:"add-feature-flag-evaluation"})}),getSessionReplayLink:(0,S.dm)(()=>e.getSessionReplayLink()),startSessionReplayRecording:(0,S.dm)(t=>
3{e.start(t),(0,k.Q6)({feature:"start-session-replay-recording",force:t&&t.force})}),stopSessionReplayRecording:(0,S.dm)(()=>e.stop()),addDurationVital:(0,S.dm)((t,e)=>{(0,k.Q6)({feature:"add-duration-vital"}),s.addDurationVital({name:(0,E.a)(t),type:V.DURATION,startClocks:(0,m.jR)(e.startTime),duration:e.duration,context:(0,E.a)(e&&e.context),description:(0,E.a)(e&&e.description)})}),startDurationVital:(0,S.dm)((t,e)=>((0,k.Q6)({feature:"start-duration-vital"}),s.startDurationVital((0,E.a)(t),{context:(0,E.a)(e&&e.context),description:(0,E.a)(e&&e.description)}))),stopDurationVital:(0,S.dm)((t,e)=>{(0,k.Q6)({feature:"stop-duration-vital"}),s.stopDurationVital("string"==typeof t?(0,E.a)(t):t,{context:(0,E.a)(e&&e.context),description:(0,E.a)(e&&e.description)})})});return c}var tN=r(47884),tL=r(81154),tP=r(14531);function t$(){let t,e=window;if(e.Zone&&(t=(0,tP.W)(e,"MutationObserver"),e.MutationObserver&&t===e.MutationObserver)){let r=new e.MutationObserver(tn.l),n=(0,tP.W)(r,"originalInstance");t=n&&n.constructor}return t||(t=e.MutationObserver),t}class tM{constructor(){this.callbacks={}}notify(t,e){let r=this.callbacks[t];r&&r.forEach(t=>t(e))}subscribe(t,e){return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(e),{unsubscribe:()=>{this.callbacks[t]=this.callbacks[t].filter(t=>e!==t)}}}}var tU=r(62073),tV=r(94357);let tD=1/0,tz=m.iW,tB=null,tF=new Set;function tj({expireDelay:t,maxEntries:e}){let r=[];tB||(tB=(0,tV.yb)(()=>void tF.forEach(t=>t()),tz));let n=()=>{let e=(0,m.$S)()-t;for(;r.length>0&&r[r.length-1].endTime<e;)r.pop()};return tF.add(n),{add:function(t,n){let i={value:t,startTime:n,endTime:tD,remove:()=>{j(r,i)},close:t=>{i.endTime=t}};return e&&r.length>=e&&r.pop(),r.unshift(i),i},find:function(t=tD,e={returnInactive:!1}){for(let n of r)if(n.startTime<=t){if(e.returnInactive||t<=n.endTime)return n.value;break}},closeActive:function(t){let e=r[0];e&&e.endTime===tD&&e.close(t)},findAll:function(t=tD,e=0){let n=(0,m.Gw)(t,e);return r.filter(e=>e.startTime<=n&&t<=e.endTime).map(t=>t.value)},reset:function(){r=[]},stop:function(){tF.delete(n),0===tF.size&&tB&&((0,tV.vG)(tB),tB=null)}}}let tG=tU.AQ,tq=new WeakMap;function tW({target:t,parameters:[e,r]}){tq.set(t,{state:"open",method:String(e).toUpperCase(),url:(0,ti.l2)(String(r))})}function tH({target:t}){let e=tq.get(t);e&&(e.isAborted=!0)}let tZ={DOCUMENT:"document",XHR:"xhr",BEACON:"beacon",FETCH:"fetch",CSS:"css",JS:"js",IMAGE:"image",FONT:"font",MEDIA:"media",OTHER:"other"},tK={FETCH:tZ.FETCH,XHR:tZ.XHR};var tJ=r(3938),tY=r(43903);let tQ="initial_document",tX=[[tZ.DOCUMENT,t=>tQ===t],[tZ.XHR,t=>"xmlhttprequest"===t],[tZ.FETCH,t=>"fetch"===t],[tZ.BEACON,t=>"beacon"===t],[tZ.CSS,(t,e)=>/\.css$/i.test(e)],[tZ.JS,(t,e)=>/\.js$/i.test(e)],[tZ.IMAGE,(t,e)=>["image","img","icon"].includes(t)||null!==/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(e)],[tZ.FONT,(t,e)=>null!==/\.(woff|eot|woff2|ttf)$/i.exec(e)],[tZ.MEDIA,(t,e)=>["audio","video"].includes(t)||null!==/\.(mp3|mp4)$/i.exec(e)]];function t0(...t){for(let e=1;e<t.length;e+=1)if(t[e-1]>t[e])return!1;return!0}function t1(t){return"xmlhttprequest"===t.initiatorType||"fetch"===t.initiatorType}function t2(t){return t.duration>=0}function t5(t){var e;let r=t0(t.startTime,t.fetchStart,t.domainLookupStart,t.domainLookupEnd,t.connectStart,t.connectEnd,t.requestStart,t.responseStart,t.responseEnd),n=!((e=t).redirectEnd>e.startTime)||t0(t.startTime,t.redirectStart,t.redirectEnd,t.fetchStart);return r&&n}function t3(t,e,r){if(t<=e&&e<=r)return{duration:(0,m.Zj)((0,m.vk)(e,r)),start:(0,m.Zj)((0,m.vk)(t,e))}}function t6(t){return t&&(!(0,tY.w)(t)||(0,to.sr)(to.R9.TRACK_INTAKE_REQUESTS))}let t8=/data:(.+)?(;base64)?,/g;function t4(t,e=24e3){if(t.length<=e||!t.startsWith("data:"))return t;let r=t.substring(0,100).match(t8);return r?`${r[0]}[...]`:t}let t9=1;function t7(){let t=t9;return t9+=1,t}function et(t){return(0,tp.Et)(t)&&t<0?void 0:t}function ee({lifeCycle:t,isChildEvent:e,onChange:r=tn.l}){let n={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},i=t.subscribe(13,t=>{var i;if("view"!==t.type&&"vital"!==t.type&&e(t))switch(t.type){case L.ERROR:n.errorCount+=1,r();break;case L.ACTION:n.actionCount+=1,t.action.frustration&&(n.frustrationCount+=t.action.frustration.type.length),r();break;case L.LONG_TASK:n.longTaskCount+=1,r();break;case L.RESOURCE:(null==(i=t._dd)?void 0:i.discarded)||(n.resourceCount+=1,r())}});return{stop:()=>{i.unsubscribe()},eventCounts:n}}function er(t,e){return new p.cP(r=>{var n;let i,o;if(!window.PerformanceObserver)return;let s=t=>{let e=t.filter(t=>{var e;return!((e=t).entryType===d.RESOURCE&&(!t6(e.name)||!t2(e)))});e.length>0&&r.notify(e)},l=!0,u=new PerformanceObserver((0,S.dm)(t=>{l?i=(0,tV.wg)(()=>s(t.getEntries())):s(t.getEntries())}));try{u.observe(e)}catch(t){if([d.RESOURCE,d.NAVIGATION,d.LONG_TASK,d.PAINT].includes(e.type)){e.buffered&&(i=(0,tV.wg)(()=>s(performance.getEntriesByType(e.type))));try{u.observe({entryTypes:[e.type]})}catch(t){return}}}return l=!1,n=t,!a&&void 0!==window.performance&&"getEntries"in performance&&"addEventListener"in performance&&(a=(0,G.q)(n,performance,"resourcetimingbufferfull",()=>{performance.clearResourceTimings()})),en(d.FIRST_INPUT)||e.type!==d.FIRST_INPUT||({stop:o}=function(t,e){let r=(0,m.x3)(),n=!1,{stop:i}=(0,G.l)(t,window,["click","mousedown","keydown","touchstart","pointerdown"],e=>{var r,n;if(!e.cancelable)return;let i={entryType:"first-input",processingStart:(0,m.$S)(),processingEnd:(0,m.$S)(),startTime:e.timeStamp,duration:0,name:"",cancelable:!1,target:null,toJSON:()=>({})};"pointerdown"===e.type?(r=t,n=i,(0,G.l)(r,window,["pointerup","pointercancel"],t=>{"pointerup"===t.type&&a(n)},{once:!0})):a(i)},{passive:!0,capture:!0});return{stop:i};function a(t){if(!n){n=!0,i();let a=t.processingStart-t.startTime;a>=0&&a<(0,m.x3)()-r&&e(t)}
3}}(t,t=>{s([t])})),()=>{u.disconnect(),o&&o(),(0,tV.DJ)(i)}})}function en(t){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(t)}function ei(t){return t.nodeType===Node.TEXT_NODE}function ea(t){return t.nodeType===Node.ELEMENT_NODE}function eo(t){return ea(t)&&!!t.shadowRoot}function es(t){return!!t.host&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&ea(t.host)}function el(t){return t.childNodes.length>0||eo(t)}function eu(t,e){let r=t.firstChild;for(;r;)e(r),r=r.nextSibling;eo(t)&&e(t.shadowRoot)}function ec(t){return es(t)?t.host:t.parentNode}!function(t){t.EVENT="event",t.FIRST_INPUT="first-input",t.LARGEST_CONTENTFUL_PAINT="largest-contentful-paint",t.LAYOUT_SHIFT="layout-shift",t.LONG_TASK="longtask",t.LONG_ANIMATION_FRAME="long-animation-frame",t.NAVIGATION="navigation",t.PAINT="paint",t.RESOURCE="resource",t.VISIBILITY_STATE="visibility-state"}(d||(d={}));let ed="data-dd-excluded-activity-mutations";function ef(t,e,r){let n,i=!1,a=(0,tV.wg)((0,S.dm)(()=>u({hadActivity:!1})),100),o=void 0!==r?(0,tV.wg)((0,S.dm)(()=>u({hadActivity:!0,end:(0,m.nx)()})),r):void 0,s=t.subscribe(({isBusy:t})=>{(0,tV.DJ)(a),(0,tV.DJ)(n);let e=(0,m.nx)();t||(n=(0,tV.wg)((0,S.dm)(()=>u({hadActivity:!0,end:e})),100))}),l=()=>{i=!0,(0,tV.DJ)(a),(0,tV.DJ)(n),(0,tV.DJ)(o),s.unsubscribe()};function u(t){i||(l(),e(t))}return{stop:l}}function ep(t,e,r,n){return new p.cP(i=>{let a,o=[],s=0;return o.push(e.subscribe(t=>{t.every(em)||l()}),r.subscribe(l),er(n,{type:d.RESOURCE}).subscribe(t=>{t.some(t=>!eh(n,t.name))&&l()}),t.subscribe(7,t=>{eh(n,t.url)||(void 0===a&&(a=t.requestIndex),s+=1,l())}),t.subscribe(8,t=>{eh(n,t.url)||void 0===a||t.requestIndex<a||(s-=1,l())})),()=>{o.forEach(t=>t.unsubscribe())};function l(){i.notify({isBusy:s>0})}})}function eh(t,e){return(0,th.K)(t.excludedActivityUrls,e)}function em(t){let e="characterData"===t.type?t.target.parentElement:t.target;return!!(e&&ea(e)&&e.matches(`[${ed}], [${ed}] *`))}let eg={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:tf.WA.ALLOW,MASK:tf.WA.MASK,MASK_USER_INPUT:tf.WA.MASK_USER_INPUT},ev="data-dd-privacy",ey="hidden",e_="***",eb="data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==",ew={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0};function eS(t,e,r){if(r&&r.has(t))return r.get(t);let n=ec(t),i=n?eS(n,e,r):e,a=ek(ex(t),i);return r&&r.set(t,a),a}function ek(t,e){switch(e){case eg.HIDDEN:case eg.IGNORE:return e}switch(t){case eg.ALLOW:case eg.MASK:case eg.MASK_USER_INPUT:case eg.HIDDEN:case eg.IGNORE:return t;default:return e}}function ex(t){if(ea(t)){if("BASE"===t.tagName)return eg.ALLOW;if("INPUT"===t.tagName){if("password"===t.type||"email"===t.type||"tel"===t.type||"hidden"===t.type)return eg.MASK;let e=t.getAttribute("autocomplete");if(e&&(e.startsWith("cc-")||e.endsWith("-password")))return eg.MASK}if(t.matches(eC(eg.HIDDEN)))return eg.HIDDEN;if(t.matches(eC(eg.MASK)))return eg.MASK;if(t.matches(eC(eg.MASK_USER_INPUT)))return eg.MASK_USER_INPUT;if(t.matches(eC(eg.ALLOW)))return eg.ALLOW;if(function(t){if("SCRIPT"===t.nodeName)return!0;if("LINK"===t.nodeName){let t=e("rel");return/preload|prefetch/i.test(t)&&"script"===e("as")||"shortcut icon"===t||"icon"===t}if("META"===t.nodeName){let r=e("name"),n=e("rel"),i=e("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||"b
3ingbot"===r||t.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 e(e){return(t.getAttribute(e)||"").toLowerCase()}return!1}(t))return eg.IGNORE}}function eT(t,e){switch(e){case eg.MASK:case eg.HIDDEN:case eg.IGNORE:return!0;case eg.MASK_USER_INPUT:return ei(t)?eA(t.parentNode):eA(t);default:return!1}}function eA(t){if(!t||t.nodeType!==t.ELEMENT_NODE)return!1;if("INPUT"===t.tagName)switch(t.type){case"button":case"color":case"reset":case"submit":return!1}return!!ew[t.tagName]}function eE(t,e,r){var n;let i=null==(n=t.parentElement)?void 0:n.tagName,a=t.textContent||"";if(!e||a.trim()){if("SCRIPT"===i)a=e_;else if(r===eg.HIDDEN)a=e_;else if(eT(t,r))if("DATALIST"===i||"SELECT"===i||"OPTGROUP"===i){if(!a.trim())return}else a="OPTION"===i?e_:a.replace(/\S/g,"x");return a}}function eC(t){return`[${ev}="${t}"], .dd-privacy-${t}`}let eR="data-dd-action-name";function eI(t,e){let r=t.closest(`[${e}]`);if(r)return e$(eP(r.getAttribute(e).trim()))}let eO=[(t,e,r)=>{if("labels"in t&&t.labels&&t.labels.length>0)return eU(t.labels[0],e,r)},t=>{if("INPUT"===t.nodeName){let e=t.getAttribute("type");if("button"===e||"submit"===e||"reset"===e)return{name:t.value,nameSource:"text_content"}}},(t,e,r)=>{if("BUTTON"===t.nodeName||"LABEL"===t.nodeName||"button"===t.getAttribute("role"))return eU(t,e,r)},t=>eM(t,"aria-label"),(t,e,r)=>{let n=t.getAttribute("aria-labelledby");if(n)return{name:n.split(/\s+/).map(e=>(function(t,e){return t.ownerDocument?t.ownerDocument.getElementById(e):null})(t,e)).filter(t=>!!t).map(t=>eV(t,e,r)).join(" "),nameSource:"text_content"}},t=>eM(t,"alt"),t=>eM(t,"name"),t=>eM(t,"title"),t=>eM(t,"placeholder"),(t,e,r)=>{if("options"in t&&t.options.length>0)return eU(t.options[0],e,r)}],eN=[(t,e,r)=>eU(t,e,r)];function eL(t,e,r,n){let i=t,a=0;for(;a<=10&&i&&"BODY"!==i.nodeName&&"HTML"!==i.nodeName&&"HEAD"!==i.nodeName;){for(let t of r){let r=t(i,e,n);if(r){let{name:t,nameSource:e}=r,n=t&&t.trim();if(n)return{name:e$(eP(n)),nameSource:e}}}if("FORM"===i.nodeName)break;i=i.parentElement,a+=1}}function eP(t){return t.replace(/\s+/g," ")}function e$(t){return t.length>100?`${(0,D._R)(t,100)} [...]`:t}function eM(t,e){return{name:t.getAttribute(e)||"",nameSource:"standard_attribute"}}function eU(t,e,r){return{name:eV(t,e,r)||"",nameSource:"text_content"}}function eV(t,e,r){if(!t.isContentEditable){if((0,to.sr)(to.R9.USE_TREE_WALKER_FOR_ACTION_NAME)){var n=t,i=e,a=r;let o=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT|NodeFilter.SHOW_TEXT,function(t){if(ea(t)){let e=ex(t);if(t.hasAttribute(eR)||i&&t.hasAttribute(i)||a&&e&&eT(t,e))return NodeFilter.FILTER_REJECT;let r=getComputedStyle(t);if("visible"!==r.visibility||"none"===r.display||r.contentVisibility&&"visible"!==r.contentVisibility)return NodeFilter.FILTER_REJECT}return NodeFilter.FILTER_ACCEPT}),s="";for(;o.nextNode();){let t=o.currentNode;if(ea(t)){("BR"===t.nodeName||"P"===t.nodeName||["block","flex","grid","list-item","table","table-caption"].includes(getComputedStyle(t).display))&&(s+=" ");continue}s+=t.textContent||""}return s.replace(/\s+/g," ").trim()}if("innerText"in t){let n=t.innerText,i=e=>{let r=t.querySelectorAll(e);for(let t=0;t<r.length;t+=1){let e=r[t];if("innerText"in e){let t=e.innerText;t&&t.trim().length>0&&(n=n.replace(t,""))}}};return i(`[${eR}]`),e&&i(`[${e}]`),r&&i(`${eC(eg.HIDDEN)}, ${eC(eg.MASK)}`),n}return t.textContent}}let eD=[eR,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],ez=[eG,function(t){if(t.id&&!ej(t.id))return`#${CSS.escape(t.id)}`}],eB=[eG,function(t){if("BODY"===t.tagName)return;let e=t.classList;for(let r=0;r<e.length;r+=1){let n=e[r];if(!ej(n))return`${CSS.escape(t.tagName)}.${CSS.escape(n)}`}},function(t){return CSS.escape(t.tagName)}];function eF(t,e){let r;if(!t.isConnected)return;let n=t;for(;n&&"HTML"!==n.nodeName;){let t=eq(n,ez,eW,e,r);
3if(t)return t;r=eq(n,eB,eH,e,r)||eZ(function(t){let e=t.parentElement.firstElementChild,r=1;for(;e&&e!==t;)e.tagName===t.tagName&&(r+=1),e=e.nextElementSibling;return`${CSS.escape(t.tagName)}:nth-of-type(${r})`}(n),r),n=n.parentElement}return r}function ej(t){return/[0-9]/.test(t)}function eG(t,e){if(e){let t=r(e);if(t)return t}for(let t of eD){let e=r(t);if(e)return e}function r(e){if(t.hasAttribute(e))return`${CSS.escape(t.tagName)}[${e}="${CSS.escape(t.getAttribute(e))}"]`}}function eq(t,e,r,n,i){for(let a of e){let e=a(t,n);if(e&&r(t,e,i))return eZ(e,i)}}function eW(t,e,r){return 1===t.ownerDocument.querySelectorAll(eZ(e,r)).length}function eH(t,e,r){let n;if(void 0===r)n=t=>t.matches(e);else{let t=eZ(`${e}:scope`,r);n=e=>null!==e.querySelector(t)}let i=t.parentElement.firstElementChild;for(;i;){if(i!==t&&n(i))return!1;i=i.nextElementSibling}return!0}function eZ(t,e){return e?`${t}>${e}`:t}let eK=m.OY;function eJ(){let t=window.getSelection();return!t||t.isCollapsed}function eY(t){return t.target instanceof Element&&!1!==t.isPrimary}function eQ(t){if(t.hasPageActivity||t.getUserActivity().input||t.getUserActivity().scroll)return!1;let e=t.event.target;return"LABEL"===e.tagName&&e.hasAttribute("for")&&(e=document.getElementById(e.getAttribute("for"))),!e||!e.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 eX=10*m.OY,e0=new Map;function e1(t,e){e0.set(t,e),e0.forEach((t,e)=>{(0,m.vk)(e,(0,m.$S)())>eX&&e0.delete(e)})}let e2=5*m.iW;function e5(t){let e=e3(t)?{action:{id:t.id,loading_time:et((0,m.Zj)(t.duration)),frustration:{type:t.frustrationTypes},error:{count:t.counts.errorCount},long_task:{count:t.counts.longTaskCount},resource:{count:t.counts.resourceCount}},_dd:{action:{target:t.target,position:t.position,name_source:t.nameSource}}}:{context:t.context},r=(0,T.kg)({action:{id:(0,D.lk)(),target:{name:t.name},type:t.type},date:t.startClocks.timeStamp,type:L.ACTION},e),n=e3(t)?t.duration:void 0,i=e3(t)?{events:t.events}:{handlingStack:t.handlingStack};return{rawRumEvent:r,duration:n,startTime:t.startClocks.relative,domainContext:i}}function e3(t){return t.type!==M.CUSTOM}var e6=r(58961);let e8={},e4={intervention:"intervention",cspViolation:"csp_violation"};function e9(t){return{startClocks:(0,m.M8)(),source:_.g.REPORT,handling:"unhandled",...t}}function e7(t,e,r,n,i){return r?(0,A.Yn)({name:t,message:e,stack:[{func:"?",url:r,line:null!=n?n:void 0,column:null!=i?i:void 0}]}):void 0}var rt=r(98020);let re=m.OY,rr=new WeakSet;function rn(t){return(0,m.Gw)(t.startTime,t.duration)}var ri=r(32563);let ra=2*m.iW;function ro(t,e){let r=e&&Number(e);if(t&&r)return{traceId:t,traceTime:r}}function rs(t){if(t&&t.nodeType===Node.COMMENT_NODE){let e=/^\s*DATADOG;(.*?)\s*$/.exec(t.data);if(e)return e[1]}}function rl(){if(en(d.NAVIGATION)){let t=performance.getEntriesByType(d.NAVIGATION)[0];if(t)return t}let t=function(){let t={},e=performance.timing;for(let r in e)if((0,tp.Et)(e[r])){let n=e[r];t[r]=0===n?0:(0,m.gs)(n)}return t}(),e={entryType:d.NAVIGATION,initiatorType:"navigation",name:window.location.href,startTime:0,duration:t.loadEventEnd,decodedBodySize:0,encodedBodySize:0,transferSize:0,workerStart:0,toJSON:()=>({...e,toJSON:void 0}),...t};return e}function ru(t,e,r,n){let i=t1(t)&&n?n.getMatchingRequest(t):void 0;return rc(t,i,r,e)}function rc(t,e,r,n){var i,a,o,s;if(!t&&!e)return;let l=e?function(t,e){if(t.traceSampled&&t.traceId&&t.spanId)return{_dd:{span_id:t.spanId.toString(),trace_id:t.traceId.toString(),rule_psr:e.rulePsr}}}(e,n):function(t,e){if(t.traceId)return{_dd:{trace_id:t.traceId,span_id:ty(63).toString(),rule_psr:e.rulePsr}}}(t,n);if(!n.trackResources&&!l)return;let u=t?(0,m.FR)(t.startTime):e.startClocks,c=t?function(t){let{duration:e,startTime:r,responseEnd:n}=t;return 0===e&&r<n?(0,m.vk)(r,n):e}(t):(i=r,a=u,o=e.duration,i.wasInPageStateDuringPeriod("frozen",a.relative,o)?void 0:o),d=(0,T.kg)({date:u.timeStamp,resource:{id:(0,D.lk)(),duration:(0,m.Zj)(c),type:e?e.type===tK.XHR?tZ.XHR:tZ.FETCH:function(t){let e=t.name;if(!(0,ti.AY)(e))return(0,k.A2)(`Failed to construct URL for "${t.name}"`),tZ.OTHER;let r=(0,ti.L2)(e);for(let[e,n]of tX)if(n(t.initiatorType,r))return e;return tZ.OTHER}(t),method:e?e.method:void 0,status_code:e?e.status:0===(s=t.responseStatus)?void 0:s,url:e?t4(e.url):t.name,protocol:t&&(""===t.nextHopProtocol?void 0:t.nextHopProtocol),delivery_type:t&&(""===t.deliveryType?"other":t.deliveryType)},type:L.RESOURCE,_dd:{discarded:!n.trackResources}},l,t&&function(t){let{renderBlockingStatus:e}=t;return{resource:{render_blocking_status:e,...function(t){if(t.startTime<t.responseStart){let{encodedBodySize:e,decodedBodySize:r,transferSize:n}=t;return{size:r,encoded_body_size:e,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}}(t),...function(t){if(!t5(t))return;let{startTime:e,fetchStart:r,workerStart:n,redirectStart:i,redirectEnd:a,domainLookupStart:o,domainLookupEnd:s,connectStart:l,secureConnectionStart:u,connectEnd:c,requestStart:d,responseStart:f,responseEnd:p}=t,h={download:t3(e,f,p),first_byte:t3(e,d,f)};return 0<n&&n<r&&(h.worker=t3(e,n,r)),r<c&&(h.connect=t3(e,l,c),l<=u&&u<=c&&(h.ssl=t3(e,u,c))),r<s&&(h.dns=t3(e,o,s)),e<a&&(h.redirect=t3(e,i,a)),h}(t)}}}(t));return{startTime:u.relative,duration:c,rawRumEvent:d,domainContext:function(t,e){if(e){let r={performanceEntry:t,isAborted:e.isAborted,handlingStack:e.handlingStack};return e.type===tK.XHR?{xhr:e.xhr,...r}:{requestInput:e.input,requestInit:e.init,response:e.response,error:e.error,...r}}return{performanceEntry:t}}(t,e)}}let rd=10*m.iW,rf=10*m.iW;function rp(t,e,r=window){if("hidden"===document.visibilityState)return{timeStamp:0,stop:tn.l};if(en(d.VISIBILITY_STATE)){let t=performance.getEntriesByType(d.VISIBILITY_STATE).filter(t=>"hidden"===t.name).find(t=>t.startTime>=e.relative);if(t)return{timeStamp:t.startTime,stop:tn.l}}let n=1/0,{stop:i}=(0,G.l)(t,r,["pagehide","visibilitychange"],t=>{("pagehide"===t.type||"hidden"===document.visibilityState)&&(n=t.timeStamp,i())},{capture:!0});return{get timeStamp(){return n},stop:i}}let rh=t=>{let e=t.previousRect.width*t.previousRect.height;return e+t.currentRect.width*t.currentRect.height-((t,e)=>{let r=Math.max(t.left,e.left),n=Math.max(t.top,e.top),i=Math.min(t.right,e.right),a=Math.min(t.bottom,e.bottom);return r>=i||n>=a?0:(i-r)*(a-n)})(t.previousRect,t.currentRect)};function rm({x:t,y:e,width:r,height:n}){return{x:t,y:e,width:r,height:n}}let rg=5*m.OY,rv=m.OY,ry=0,r_=1/0,rb=0,rw=()=>o?ry:window.performance.interactionCount||0,rS=+m.iW;
3function rk(){let t=window.visualViewport;return Math.round(t?t.pageLeft-t.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0)}function rx(){let t=window.visualViewport;return Math.round(t?t.pageTop-t.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0)}function rT(t){var e;return s||(e=t,s=new p.cP(t=>{let{throttled:r}=(0,tn.n)(()=>{t.notify(rA())},200);return(0,G.q)(e,window,"resize",r,{capture:!0,passive:!0}).stop})),s}function rA(){let t=window.visualViewport;return t?{width:Number(t.width*t.scale),height:Number(t.height*t.scale)}:{width:Number(window.innerWidth||0),height:Number(window.innerHeight||0)}}let rE=m.OY,rC=5*m.iW,rR=5*m.iW;function rI(t){let e=t.indexOf("?");return e<0?t:t.slice(0,e)}var rO=r(93703),rN=r(49785);let rL=m.iW,rP=tU.AQ,r$=[];async function rM(){let t=(0,rN.Hv)(),e=[];e="cookieStore"in window?await window.cookieStore.getAll("_dd_s"):document.cookie.split(/\s*;\s*/).filter(t=>t.startsWith("_dd_s")),(0,k.A2)("Unexpected session state",{session:t,isSyntheticsTest:td(),createdTimestamp:null==t?void 0:t.created,expireTimestamp:null==t?void 0:t.expire,cookie:{count:e.length,domain:(0,ts.DQ)(),...e},currentDomain:`${window.location.protocol}//${window.location.hostname}`})}var rU=r(14430),rV=r(85520),rD=r(44824);let rz=tU.AQ;function rB(t){return Object.prototype.hasOwnProperty.call(history,t)?history:History.prototype}let rF=tU.AQ,rj=10*m.OY;function rG(){0!==l.batchCount&&((0,k.Gk)("Customer data measures",l),rH())}function rq(){return{min:1/0,max:0,sum:0}}function rW(t,e){t.sum+=e,t.min=Math.min(t.min,e),t.max=Math.max(t.max,e)}function rH(){l={batchCount:0,batchBytesCount:rq(),batchMessagesCount:rq()}}let rZ=tU.AQ;function rK(){return"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}let rJ=m.OY;function rY(t,e){let r=(0,D.rx)(document.cookie,t),n=(0,tV.yb)(()=>{let n=(0,D.rx)(document.cookie,t);n!==r&&e(n)},rJ);return()=>{(0,tV.vG)(n)}}let rQ="datadog-ci-visibility-test-execution-id";function rX(t,e,r){let n=0,i=!1;return{isLimitReached(){if(0===n&&(0,tV.wg)(()=>{n=0},m.iW),(n+=1)<=e||i)return i=!1,!1;if(n===e+1){i=!0;try{r({message:`Reached max number of ${t}s by minute: ${e}`,source:_.g.AGENT,startClocks:(0,m.M8)()})}finally{i=!1}}return!0}}}var r0=r(81151);function r1(t){return"object"===(0,Z.P)(t)}let r2={"view.name":"string","view.url":"string","view.referrer":"string"},r5={context:"object"},r3={service:"string",version:"string"};var r6=r(94404);let r8=X.XP,r4=[L.ACTION,L.ERROR,L.LONG_TASK,L.RESOURCE,L.VITAL];function r9(t,e,r,n,a,s,f,v,b){var w,x,C,R,I,N;let V,F=[],j=new tM,W=r8();j.subscribe(13,t=>(0,tN.b)("rum",t));let K=t=>{j.notify(14,{error:t}),(0,k.A2)("Error reported to customer",{"error.message":t.message})},J=(0,tL._T)(t),ti=J.subscribe(t=>{j.notify(11,t)});F.push(()=>ti.unsubscribe());let tf=(0,k.a5)("browser-rum-sdk",t,W,K,J,a);F.push(tf.stop);let th=(0,tr.d0)()?function(){let t={id:"00000000-aaaa-0000-aaaa-000000000000",sessionReplay:+!!(0,tr.Ww)("records")};return{findTrackedSession:()=>t,expire:tn.l,expireObservable:new p.cP,setForcedReplay:tn.l}}():function(t,e,r){let n=function(t,e,r,n){let i=new p.cP,a=new p.cP,o=(0,rO.oC)(t.sessionStoreStrategyType,t,"rum",r);r$.push(()=>o.stop());let s=tj({expireDelay:rP});function l(){let t=o.getSession();return t?{id:t.id,trackingType:t.rum,isReplayForced:!!t.forcedReplay,anonymousId:t.anonymousId}:(rM().catch(()=>void 0),{id:"invalid",trackingType:tU.gB,isReplayForced:!1,anonymousId:void 0})}return r$.push(()=>s.stop()),o.renewObservable.subscribe(()=>{s.add(l(),(0,m.$S)()),i.notify()}),o.expireObservable.subscribe(()=>{a.notify(),s.closeActive((0,m.$S)())}),o.expandOrRenewSession(),s.add(l(),(0,m.Oc)().relative),n.observable.subscribe(()=>{n.isGranted()?o.expandOrRenewSession():o.expire()}),function(t,e){let{stop:r}=(0,G.l)(t,window,["click","touchstart","keydown","scroll"],e,{capture:!0,passive:!0});r$.push(r)}(t,()=>{n.isGranted()&&o.expandOrRenewSession()}),function(t,e){let r=()=>{"visible"===document.visibilityState&&e()},{stop:n}=(0,G.q)(t,document,"visibilitychange",r);r$.push(n);let i=(0,tV.yb)(r,rL);r$.push(()=>{(0,tV.vG)(i)})}(t,()=>o.expandSession()),function(t,e){let{stop:r}=(0,G.q)(t,window,"resume",e,{capture:!0});r$.push(r)}(t,()=>o.restartSession()),{findSession:(t,e)=>s.find(t,e),renewObservable:i,expireObservable:a,sessionStateUpdateOb
3servable:o.sessionStateUpdateObservable,expire:o.expire,updateSessionState:o.updateSessionState}}(t,"rum",e=>{var r,n,i;return r=t,"0"===(i=n=e)||"1"===i||"2"===i?n:(0,tp.ic)(r.sessionSampleRate)?(0,tp.ic)(r.sessionReplaySampleRate)?"1":"2":"0"},r);return n.expireObservable.subscribe(()=>{e.notify(9)}),n.renewObservable.subscribe(()=>{e.notify(10)}),n.sessionStateUpdateObservable.subscribe(({previousState:t,newState:e})=>{if(!t.forcedReplay&&e.forcedReplay){let t=n.findSession();t&&(t.isReplayForced=!0)}}),{findTrackedSession:t=>{let e=n.findSession(t);if(e&&"0"!==e.trackingType)return{id:e.id,sessionReplay:"1"===e.trackingType?1:2*!!e.isReplayForced,anonymousId:e.anonymousId}},expire:n.expire,expireObservable:n.expireObservable,setForcedReplay:()=>n.updateSessionState({forcedReplay:"1"})}}(t,j,s);if((0,tr.d0)()){let t=(0,tr.Y9)();j.subscribe(13,e=>{t.send("rum",e)})}else{let e=function(t,e,r,n,i,a){let o=[t.rumEndpointBuilder];t.replica&&o.push(t.replica.rumEndpointBuilder);let s=(0,rU.X)({encoder:a(2),request:(0,rV.sA)(o,t.batchBytesLimit,r),flushController:(0,rD.t)({messagesLimit:t.batchMessagesLimit,bytesLimit:t.batchBytesLimit,durationLimit:t.flushTimeout,pageMayExitObservable:n,sessionExpireObservable:i}),messageBytesLimit:t.messageBytesLimit});return e.subscribe(13,t=>{t.type===L.VIEW?s.upsert(t,t.view.id):s.add(t)}),s}(t,j,K,J,th.expireObservable,a);F.push(()=>e.stop()),w=e.flushController.flushObservable,tf.enabled&&(0,tp.ic)(t.customerDataTelemetrySampleRate)&&(rH(),u=!1,j.subscribe(13,()=>{u=!0}),w.subscribe(({bytesCount:t,messagesCount:e})=>{u&&(u=!1,l.batchCount+=1,rW(l.batchBytesCount,t),rW(l.batchMessagesCount,e))}),(0,tV.yb)(rG,rj))}let tg=function(){let t=t$();return new p.cP(e=>{if(!t)return;let r=new t((0,S.dm)(t=>e.notify(t)));return r.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),()=>r.disconnect()})}(),tv=(x=location,V=(0,q.yG)(x),new p.cP(e=>{var r,n;let{stop:i}=function(t,e){let{stop:r}=(0,h.H)(rB("pushState"),"pushState",({onPostCall:t})=>{t(e)}),{stop:n}=(0,h.H)(rB("replaceState"),"replaceState",({onPostCall:t})=>{t(e)}),{stop:i}=(0,G.q)(t,window,"popstate",e);return{stop:()=>{r(),n(),i()}}}(t,o),{stop:a}=(r=t,n=o,(0,G.q)(r,window,"hashchange",n));function o(){if(V.href===x.href)return;let t=(0,q.yG)(x);e.notify({newLocation:t,oldLocation:V}),V=t}return()=>{i(),a()}})),{observable:ty,stop:t_}=function(){let t=new p.cP,{stop:e}=(0,h.H)(window,"open",()=>t.notify());return{observable:t,stop:e}}();F.push(t_),W.register(0,({eventType:e})=>{let r=t.source;return{type:e,_dd:{format_version:2,drift:(0,m.TP)(),configuration:{session_sample_rate:(0,tp.LI)(t.sessionSampleRate,3),session_replay_sample_rate:(0,tp.LI)(t.sessionReplaySampleRate,3),profiling_sample_rate:(0,tp.LI)(t.profilingSampleRate,3)},browser_sdk_version:(0,tr.d0)()?"6.19.0":void 0,sdk_name:b},application:{id:t.applicationId},date:(0,m.nx)(),source:r}}),W.register(1,()=>({application:{id:t.applicationId}}));let tS=function(t,e,r=500){let n,i=tj({expireDelay:rZ,maxEntries:4e3});en(d.VISIBILITY_STATE)&&performance.getEntriesByType(d.VISIBILITY_STATE).forEach(t=>{o("hidden"===t.name?"hidden":"active",t.startTime)}),o(rK(),(0,m.$S)());let{stop:a}=(0,G.l)(e,window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],t=>{var e;o("freeze"===(e=t).type?"frozen":"pagehide"===e.type?e.persisted?"frozen":"terminated":rK(),t.timeStamp)},{capture:!0});function o(t,e=(0,m.$S)()){t!==n&&(n=t,i.closeActive(e),i.add({state:n,startTime:e},e))}function s(t,e,r){return i.findAll(e,r).some(e=>e.state===t)}return t.register(0,({startTime:t,duration:e=0,eventType:n})=>n===L.VIEW?{type:n,_dd:{page_states:function(t,e,r){if(0!==t.length)return t.slice(-r).reverse().map(({state:t,startTime:r})=>({state:t,start:(0,m.Zj)((0,m.vk)(e,r))}))}(i.findAll(t,e),t,r)}}:n===L.ACTION||n===L.ERROR?{type:n,view:{in_foreground:s("active",t,0)}}:X.$O),{wasInPageStateDuringPeriod:s,addPageState:o,stop:()=>{a(),i.stop()}}}(W,t),tk=function(t){let e=tj({expireDelay:tG});return t.subscribe(1,t=>{var r;e.add({service:(r=t).service,version:r.version,context:r.context,id:r.id,name:r.name,startClocks:r.startClocks},t.startClocks.relative)}),t.subscribe(6,({endClocks:t})=>{e.closeActive(t.relative)}),t.subscribe(3,t=>{let r=e.find(t.startClocks.relative);r&&(t.name&&(r.name=t.name),t.context&&(r.context=t.context),r.sessionIsActive=t.sessionIsActive)}),t.subscribe(10,()=>{e.reset()}),{findView:t=>e.find(t),stop:()=>{e.stop()}}}(j);F.push(()=>tk.stop());let tx=function(t,e,r,n){let i,a=tj({expireDelay:rz});t.subscribe(1,({startClocks:t})=>{let e=n.href;a.add(s({url:e,referrer:i||document.referrer}),t.relative),i=e}),t.subscribe(6,({endClocks:t})=>{a.closeActive(t.relative)});let o=r.subscribe(({newLocation:t})=>{let e=a.find();if(e){let r=(0,m.$S)();a.closeActive(r),a.add(s({url:t.href,referrer:e.referrer}),r)}});function s({url:t,referrer:e}){return{url:t,referrer:e}}return e.register(0,({startTime:t,eventType:e})=>{let r=a.find(t);return r?{type:e,view:{url:r.url,referrer:r.referrer}}:X.ug}),{findUrl:t=>a.find(t),stop:()=>{o.unsubscribe(),a.stop()}}}(j,W,tv,location);F.push(()=>tx.stop());let tT=function(t,e,r){let n=tj({expireDelay:rF});return t.subscribe(1,({startClocks:t})=>{n.add({},t.relative)}),t.subscribe(6,({endClocks:t})=>{n.closeActive(t.relative)}),e.register(0,({startTime:t,eventType:e})=>
3{if(!r.trackFeatureFlagsForEvents.concat([L.VIEW,L.ERROR]).includes(e))return X.$O;let i=n.find(t);return!i||(0,q.RI)(i)?X.$O:{type:e,feature_flags:i}}),{addFeatureFlagEvaluation:(t,e)=>{let r=n.find();r&&(r[t]=e)}}}(j,W,t);W.register(0,({eventType:t,startTime:r})=>{let n,i,a,o=th.findTrackedSession(r),s=tk.findView(r);return o&&s?(t===L.VIEW?(n=!!e.getReplayStats(s.id)||void 0,i=1===o.sessionReplay,a=!!s.sessionIsActive&&void 0):n=!!e.isRecording()||void 0,{type:t,session:{id:o.id,type:"user",has_replay:n,sampled_for_replay:i,is_active:a}}):X.ug}),W.register(1,({startTime:t})=>{let e=th.findTrackedSession(t);return e?{session:{id:e.id}}:X.$O}),W.register(0,({eventType:t})=>({type:t,connectivity:(0,r6.q)()})),W.register(1,()=>s.isGranted()?X.$O:X.ug);let tA=function(t,e,r,n){let i=Q();return e.storeContextsAcrossPages&&H(e,i,"rum",2),t.register(0,()=>{let t=i.getContext();return n?{context:t}:t}),i}(W,t,0,!0),tE=function(t,e,r,n){let i=tt();return e.storeContextsAcrossPages&&H(e,i,"rum",1),t.register(0,({eventType:t,startTime:n})=>{let a=i.getContext(),o=r.findTrackedSession(n);return(o&&o.anonymousId&&!a.anonymous_id&&e.trackAnonymousUser&&(a.anonymous_id=o.anonymousId),(0,q.RI)(a))?X.$O:{type:t,usr:a}}),t.register(1,({startTime:t})=>{var e;return{anonymous_id:null==(e=r.findTrackedSession(t))?void 0:e.anonymousId}}),i}(W,t,th,0),tC=function(t,e,r){let n=te();return e.storeContextsAcrossPages&&H(e,n,"rum",4),t.register(0,()=>{let t=n.getContext();return(0,q.RI)(t)||!t.id?X.$O:{account:t}}),n}(W,t,0),{actionContexts:tR,addAction:tI,addEvent:tO,stop:tP}=function(t,e,r,n,i,a,o){let s,l,u=(t.subscribe(0,e=>t.notify(12,e5(e))),e.register(0,({startTime:t,eventType:e})=>{if(e!==L.ERROR&&e!==L.RESOURCE&&e!==L.LONG_TASK)return X.$O;let r=s.findActionId(t);return r?{type:e,action:{id:r}}:X.$O}),e.register(1,({startTime:t})=>({action:{id:s.findActionId(t)}})),s={findActionId:tn.l},l=tn.l,r.trackUserInteractions&&({actionContexts:s,stop:l}=function(t,e,r,n){let i,a=tj({expireDelay:e2}),o=new p.cP;t.subscribe(10,()=>{a.reset()}),t.subscribe(5,u),t.subscribe(11,t=>{t.reason===tL.y5.UNLOADING&&u()});let{stop:s}=function(t,{onPointerDown:e,onPointerUp:r}){let n,i,a={selection:!1,input:!1,scroll:!1},o=[(0,G.q)(t,window,"pointerdown",t=>{eY(t)&&(n=eJ(),a={selection:!1,input:!1,scroll:!1},i=e(t))},{capture:!0}),(0,G.q)(t,window,"selectionchange",()=>{n&&eJ()||(a.selection=!0)},{capture:!0}),(0,G.q)(t,window,"scroll",()=>{a.scroll=!0},{capture:!0,passive:!0}),(0,G.q)(t,window,"pointerup",t=>{if(eY(t)&&i){let e=a;r(i,t,()=>e),i=void 0}},{capture:!0}),(0,G.q)(t,window,"input",()=>{a.input=!0},{capture:!0})];return{stop:()=>{o.forEach(t=>t.stop())}}}(n,{onPointerDown:i=>(function(t,e,r,n,i){var a;let o=t.enablePrivacyForActionName?eS(n.target,t.defaultPrivacyLevel):eg.ALLOW;if(o===eg.HIDDEN)return;let s=function(t,e,r){let n=t.target.getBoundingClientRect(),i=eF(t.target,r.actionNameAttribute);i&&e1(t.timeStamp,i);let a=function(t,{enablePrivacyForActionName:e,actionNameAttribute:r},n=eg.ALLOW){let i=eI(t,eR)||r&&eI(t,r);return i?{name:i,nameSource:"custom_attribute"}:n===eg.MASK?{name:"Masked Element",nameSource:"mask_placeholder"}:eL(t,r,eO,e)||eL(t,r,eN,e)||{name:"",nameSource:"blank"}}(t.target,r,e);return{type:M.CLICK,target:{width:Math.round(n.width),height:Math.round(n.height),selector:i},position:{x:Math.round(t.clientX-n.left),y:Math.round(t.clientY-n.top)},name:a.name,nameSource:a.nameSource}}(n,o,t),l=!1;return a=t=>{l=t.hadActivity},ef(ep(e,r,i,t),a,100),{clickActionBase:s,hadActivityOnPointerDown:()=>l}})(n,t,e,i,r),onPointerUp:({clickActionBase:i,hadActivityOnPointerDown:s},u,c)=>{!function(t,e,r,n,i,a,o,s,l,u,c){var d,f;let h=function t(e,r,n,i,a){let o,s=(0,D.lk)(),l=(0,m.M8)(),u=r.add(s,l.relative),c=ee({lifeCycle:e,isChildEvent:t=>void 0!==t.action&&(Array.isArray(t.action.id)?t.action.id.includes(s):t.action.id===s)}),d=0,f=[],h=new p.cP;function g(t){0===d&&(d=1,(o=t)?u.close((0,m.gs)(o)):u.remove(),c.stop(),h.notify())}return{event:a,stop:g,stopObservable:h,get hasError(){return c.eventCounts.errorCount>0},get hasPageActivity(){return void 0!==o},getUserActivity:n,addFrustration:t=>{f.push(t)},startClocks:l,isStopped:()=>1===d||2===d,clone:()=>t(e,r,n,i,a),validate:t=>
3{if(g(),1!==d)return;let{resourceCount:r,errorCount:n,longTaskCount:u}=c.eventCounts,p={duration:o&&(0,m.vk)(l.timeStamp,o),startClocks:l,id:s,frustrationTypes:f,counts:{resourceCount:r,errorCount:n,longTaskCount:u},events:null!=t?t:[a],event:a,...i};e.notify(0,p),d=2},discard:()=>{g(),d=2}}}(e,i,u,s,l);o(h);let g=null==(d=null==s?void 0:s.target)?void 0:d.selector;g&&e1(l.timeStamp,g);let{stop:v}=(f=t=>{t.hadActivity&&t.end<h.startClocks.timeStamp?h.discard():t.hadActivity?h.stop(t.end):c()?h.stop(h.startClocks.timeStamp):h.stop()},ef(ep(e,r,n,t),f,eX)),y=e.subscribe(5,({endClocks:t})=>{h.stop(t.timeStamp)}),_=a.subscribe(()=>{h.stop()});h.stopObservable.subscribe(()=>{y.unsubscribe(),v(),_.unsubscribe()})}(n,t,e,r,a,o,l,i,u,c,s)}});return{stop:()=>{u(),o.notify(),s()},actionContexts:{findActionId:t=>a.findAll(t)}};function l(t){if(!i||!i.tryAppend(t)){let e=t.clone();i=function(t,e){let r,n=[],i=0;function a(t){t.stopObservable.subscribe(o),n.push(t),(0,tV.DJ)(r),r=(0,tV.wg)(s,eK)}function o(){1===i&&n.every(t=>t.isStopped())&&(i=2,e(n))}function s(){(0,tV.DJ)(r),0===i&&(i=1,o())}return a(t),{tryAppend:t=>{var e,r,o,l;return 0===i&&(!(n.length>0)||(e=n[n.length-1].event,r=t.event,e.target===r.target&&100>=(o=e,l=r,Math.sqrt(Math.pow(o.clientX-l.clientX,2)+Math.pow(o.clientY-l.clientY,2)))&&e.timeStamp-r.timeStamp<=eK)?(a(t),!0):(s(),!1))},stop:()=>{s()}}}(t,t=>{var r=t,n=e;let{isRage:i}=function(t,e){if(function(t){if(t.some(t=>t.getUserActivity().selection||t.getUserActivity().scroll))return!1;for(let e=0;e<t.length-2;e+=1)if(t[e+3-1].event.timeStamp-t[e].event.timeStamp<=m.OY)return!0;return!1}(t))return e.addFrustration(U.RAGE_CLICK),t.some(eQ)&&e.addFrustration(U.DEAD_CLICK),e.hasError&&e.addFrustration(U.ERROR_CLICK),{isRage:!0};let r=t.some(t=>t.getUserActivity().selection);return t.forEach(t=>{t.hasError&&t.addFrustration(U.ERROR_CLICK),eQ(t)&&!r&&t.addFrustration(U.DEAD_CLICK)}),{isRage:!1}}(r,n);i?(r.forEach(t=>t.discard()),n.stop((0,m.nx)()),n.validate(r.map(t=>t.event))):(n.discard(),r.forEach(t=>t.validate()))})}}function u(){i&&i.stop()}}(t,i,a,r)),{addAction:e=>{t.notify(12,e5(e))},actionContexts:s,stop:l}),d={addEvent:(e,r,n,i)=>{r4.includes(r.type)&&t.notify(12,{startTime:e,rawRumEvent:r,domainContext:n,duration:i})}},f=function(t,e){let r,n=requestAnimationFrame((0,S.dm)(()=>{r=rA()})),i=rT(e).subscribe(t=>{r=t}).unsubscribe;return t.register(0,({eventType:t})=>({type:t,display:r?{viewport:r}:void 0})),{stop:()=>{i(),n&&cancelAnimationFrame(n)}}}(e,r),h=function(t,e,r=function(t,e){let r=window.cookieStore?function(t){return(e,r)=>(0,G.q)(t,window.cookieStore,"change",t=>{let n=t.changed.find(t=>t.name===e)||t.deleted.find(t=>t.name===e);n&&r(n.value)}).stop}(t):rY;return new p.cP(t=>r(e,e=>t.notify(e)))}(t,rQ)){var n;let i=(0,ts.B9)(rQ)||(null==(n=window.Cypress)?void 0:n.env("traceId")),a=r.subscribe(t=>{i=t});return e.register(0,({eventType:t})=>"string"!=typeof i?X.$O:{type:t,session:{type:"ci_test"},ci_test:{test_execution_id:i}}),{stop:()=>{a.unsubscribe()}}}(r,e);e.register(0,({eventType:t})=>td()?{type:t,session:{type:"synthetics"},synthetics:{test_id:tu(),result_id:tc(),injected:tl()}}:X.$O),c={[L.VIEW]:{"view.performance.lcp.resource_url":"string",...r5,...r2,...r3},[L.ERROR]:{"error.message":"string","error.stack":"string","error.resource.url":"string","error.fingerprint":"string",...r5,...r2,...r3},[L.RESOURCE]:{"resource.url":"string",...(0,to.sr)(to.R9.WRITABLE_RESOURCE_GRAPHQL)?{"resource.graphql":"object"}:{},...r5,...r2,...r3},[L.ACTION]:{"action.target.name":"string",...r5,...r2,...r3},[L.LONG_TASK]:{"long_task.scripts[].source_url":"string","long_task.scripts[].invoker":"string",...r5,...r2,...r3},[L.VITAL]:{...r5,...r2,...r3}};let g={[L.ERROR]:rX(L.ERROR,r.eventRateLimiterThreshold,o),[L.ACTION]:rX(L.ACTION,r.eventRateLimiterThreshold,o),[L.VITAL]:rX(L.VITAL,r.eventRateLimiterThreshold,o)};return t.subscribe(12,({startTime:n,duration:i,rawRumEvent:a,domainContext:o})=>{let s=e.triggerHook(0,{eventType:a.type,startTime:n,duration:i});if(s===X.ug)return;let l=(0,T.kg)(s,a,{ddtags:(0,r0.m5)(r).join(",")});(function(t,e,r,n){var i;if(e){let n=function(t,e,r){let n=(0,T.Go)(t),i=r(n);return(0,tm.WP)(e).forEach(([e,r])=>(function t(e,r,n,i){let[a,...o]=n;if("[]"===a){Array.isArray(e)&&Array.isArray(r)&&e.forEach((e,n)=>t(e,r[n],o,i));return}if(r1(e)&&r1(r)){if(o.length>0)return t(e[a],r[a],o,i);var s=e,l=a,u=r[a],c=i;let n=(0,Z.P)(u);n===c?s[l]=(0,E.a)(u):"object"===c&&("undefined"===n||"null"===n)&&(s[l]={})}})(t,n,e.split(/\.|(?=\[\])/),r)),i}(t,c[t.type],t=>e(t,r));if(!1===n&&t.type!==L.VIEW)return!1;!1===n&&O.Vy.warn("Can't dismiss view events using beforeSend!")}return!(null==(i=n[t.type])?void 0:i.isLimitReached())})(l,r.beforeSend,o,g)&&((0,q.RI)(l.context)&&delete l.context,t.notify(13,l))}),{pageStateHistory:n,addAction:u.addAction,addEvent:d.addEvent,actionContexts:u.actionContexts,stop:()=>{u.stop(),h.stop(),f.stop(),n.stop()}}}(j,W,t,tS,tg,ty,K);F.push(tP);let{addTiming:tD,startView:tz,setViewName:tB,setViewContext:tF,setViewContextProperty:tZ,getViewContext:tY,stop:tX}=(C=location,j.subscribe(4,r=>j.notify(12,function(t,e,r){var n,i,a,o,s,l,u,c,d,f,p,h,g,v,y,_,b,w;let S=r.getReplayStats(t.id),k=null==(i=null==(n=t.commonViewMetrics)?void 0:n.cumulativeLayoutShift)?void 0:i.devicePixelRatio,x={_dd:{document_version:t.documentVersion,replay_stats:S,cls:k?{device_pixel_ratio:k}:void 0,configuration:{start_session_replay_recording_manually:e.startSessionReplayRecordingManually}},date:t.startClocks.timeStamp,type:L.VIEW,view:{action:{count:t.eventCounts.actionCount},frustration:{count:t.eventCounts.frustrationCount},cumulative_layout_shift:null==(a=t.commonViewMetrics.cumulativeLayoutShift)?void 0:a.value,cumulative_layout_shift_time:(0,m.Zj)(null==(o=t.commonViewMetrics.cumulativeLayoutShift)?void 0:o.time),cumulative_layout_shift_target_selector:null==(s=t.commonViewMetrics.cumulativeLayoutShift)?void 0:s.targetSelector,first_byte:(0,m.Zj)(null==(l=t.initialViewMetrics.navigationTimings)?void 0:l.firstByte),dom_complete:(0,m.Zj)(null==(u=t.initialViewMetrics.navigationTimings)?void 0:u.domComplete),dom_content_loaded:(0,m.Zj)(null==(c=t.initialViewMetrics.navigationTimings)?void 0:c.domContentLoaded),dom_interactive:(0,m.Zj)(null==(d=t.initialViewMetrics.navigationTimings)?void 0:d.domInteractive),error:{count:t.eventCounts.errorCount},first_contentful_paint:(0,m.Zj)(t.initialViewMetrics.firstContentfulPaint),first_input_delay:(0,m.Zj)(null==(f=t.initialViewMetrics.firstInput)?void 0:f.delay),first_input_time:(0,m.Zj)(null==(p=t.initialViewMetrics.firstInput)?void 0:p.time),first_input_target_selector:null==(h=t.initialViewMetrics.firstInput)?void 0:h.targetSelector,interaction_to_next_paint:(0,m.Zj)(null==(g=t.commonViewMetrics.interactionToNextPaint)?void 0:g.value),interaction_to_next_paint_time:(0,m.Zj)(null==(v=t.commonViewMetrics.interactionToNextPaint)?void 0:v.time),interaction_to_next_paint_target_selector:null==(y=t.commonViewMetrics.interactionToNextPaint)?void 0:y.targetSelector,is_active:t.isActive,name:t.name,largest_contentful_paint:(0,m.Zj)(null==(_=t.initialViewMetrics.largestContentfulPaint)?void 0:_.value),largest_contentful_paint_target_selector:null==(b=t.initialViewMetrics.largestContentfulPaint)?void 0:b.targetSelector,load_event:(0,m.Zj)(null==(w=t.initialViewMetrics.navigationTimings)?void 0:w.loadEvent),loading_time:et((0,m.Zj)(t.commonViewMetrics.loadingTime)),loading_type:t.loadingType,long_task:{count:t.eventCounts.longTaskCount},performance:function({cumulativeLayoutShift:t,interactionToNextPaint:e},{firstContentfulPaint:r,firstInput:n,largestContentfulPaint:i}){return{cls:t&&{score:t.value,timestamp:(0,m.Zj)(t.time),target_selector:t.targetSelector,previous_rect:t.previousRect,current_rect:t.currentRect},fcp:r&&{timestamp:(0,m.Zj)(r)},fid:n&&{duration:(0,m.Zj)(n.delay),timestamp:(0,m.Zj)(n.time),target_selector:n.targetSelector},inp:e&&{duration:(0,m.Zj)(e.value),timestamp:(0,m.Zj)(e.time),target_selector:e.targetSelector},lcp:i&&{timestamp:(0,m.Zj)(i.value),target_selector:i.targetSelector,resource_url:i.resourceUrl}}}(t.commonViewMetrics,t.initialViewMetrics),resource:{count:t.eventCounts.resourceCount},time_spent:(0,m.Zj)(t.duration)},display:t.commonViewMetrics.scroll?{scroll:{max_depth:t.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:t.commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:t.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:(0,m.Zj)(t.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,privacy:{replay_level:e.defaultPrivacyLevel},device:{locale:navigator.language,locales:navigator.languages,time_zone:function(){try{return new Intl.DateTimeFormat().resolvedOptions().timeZone}catch(t){return}}()}};return(0,q.RI)(t.customTimings)||(x.view.custom_timings=(0,q.LG)(t.customTimings,m.Zj)),{rawRumEvent:x,startTime:t.startClocks.relative,duration:t.duration,domainContext:{location:t.location}}}(r,t,e))),W.register(0,({startTime:t,eventType:e})=>{let r=tk.findView(t);return r?{type:e,service:r.service,version:r.version,context:r.context,view:{id:r.id,name:r.name}}:X.ug}),W.register(1,({startTime:t})=>{var e;return{view:{id:null==(e=tk.findView(t))?void 0:e.id}}}),function(t,e,r,n,i,a,s,l){let u,c,f=new Set,h=g($.INITIAL_LOAD,(0,m.Oc)(),l);function g(a,s,l){let u=function(t,e,r,n,i,a,s=(0,m.M8)(),l){var u;
3let c,f=(0,D.lk)(),h=new p.cP,g={},v=0,y=(0,q.yG)(i),_=Y(),b=!0,w=null==l?void 0:l.name,k=(null==l?void 0:l.service)||n.service,x=(null==l?void 0:l.version)||n.version,T=null==l?void 0:l.context;T&&_.setContext(T);let A={id:f,name:w,startClocks:s,service:k,version:x,context:T};t.notify(1,A),t.notify(2,A);let{throttled:E,cancel:C}=(0,tn.n)(H,3e3,{leading:!1}),{setLoadEvent:R,setViewEnd:I,stop:N,stopINPTracking:L,getCommonViewMetrics:P}=function(t,e,r,n,i,a,s){let l={},{stop:u,setLoadEvent:c}=function(t,e,r,n,i,a,o){var s;let l=i===$.INITIAL_LOAD,u=!0,c=[],d=rp(n,a);function f(){if(!u&&!l&&c.length>0){let t=Math.max(...c);t<d.timeStamp-a.relative&&o(t)}}let{stop:p}=(s=t=>{u&&(u=!1,t.hadActivity&&c.push((0,m.vk)(a.timeStamp,t.end)),f())},ef(ep(t,e,r,n),s,void 0));return{stop:()=>{p(),d.stop()},setLoadEvent:t=>{l&&(l=!1,c.push(t),f())}}}(t,e,r,n,a,s,t=>{l.loadingTime=t,i()}),{stop:f}=function(t,e,r,n=function(t,e=rE){return new p.cP(r=>{if(window.ResizeObserver){let n=(0,tn.n)(function(){r.notify(function(){let t=rx(),{height:e}=rA();return{scrollHeight:Math.round((document.scrollingElement||document.documentElement).scrollHeight),scrollDepth:Math.round(e+t),scrollTop:t}}())},e,{leading:!1,trailing:!0}),i=document.scrollingElement||document.documentElement,a=new ResizeObserver((0,S.dm)(n.throttled));i&&a.observe(i);let o=(0,G.q)(t,window,"scroll",n.throttled,{passive:!0});return()=>{n.cancel(),a.disconnect(),o.stop()}}})}(t)){let i=0,a=0,o=0,s=n.subscribe(({scrollDepth:t,scrollTop:n,scrollHeight:s})=>{let l=!1;if(t>i&&(i=t,l=!0),s>a){a=s;let t=(0,m.$S)();o=(0,m.vk)(e.relative,t),l=!0}l&&r({maxDepth:Math.min(i,a),maxDepthScrollTop:n,maxScrollHeight:a,maxScrollHeightTime:o})});return{stop:()=>s.unsubscribe()}}(n,s,t=>{l.scroll=t}),{stop:h}=function(t,e,r){let n,i,a,o,s;if(!(en(d.LAYOUT_SHIFT)&&"WeakRef"in window))return{stop:tn.l};let l=0;r({value:0});let u=(o=0,s=0,{update:t=>{let e;return void 0===i||t.startTime-a>=rv||t.startTime-i>=rg?(i=a=t.startTime,s=o=t.value,e=!0):(o+=t.value,a=t.startTime,(e=t.value>s)&&(s=t.value)),{cumulatedValue:o,isMaxValue:e}}}),c=er(t,{type:d.LAYOUT_SHIFT,buffered:!0}).subscribe(i=>{var a;for(let o of i){if(o.hadRecentInput||o.startTime<e)continue;let{cumulatedValue:i,isMaxValue:s}=u.update(o);if(s){let t=function(t){let e;for(let r of t)if(r.node&&ea(r.node)){let t=rh(r);(!e||rh(e)<t)&&(e=r)}return e}(o.sources);n={target:(null==t?void 0:t.node)?new WeakRef(t.node):void 0,time:(0,m.vk)(e,o.startTime),previousRect:null==t?void 0:t.previousRect,currentRect:null==t?void 0:t.currentRect,devicePixelRatio:window.devicePixelRatio}}if(i>l){l=i;let e=null==(a=null==n?void 0:n.target)?void 0:a.deref();r({value:(0,tp.LI)(l,4),targetSelector:e&&eF(e,t.actionNameAttribute),time:null==n?void 0:n.time,previousRect:(null==n?void 0:n.previousRect)?rm(n.previousRect):void 0,currentRect:(null==n?void 0:n.currentRect)?rm(n.currentRect):void 0,devicePixelRatio:null==n?void 0:n.devicePixelRatio})}}});return{stop:()=>{c.unsubscribe()}}}(n,s.relative,t=>{l.cumulativeLayoutShift=t,i()}),{stop:g,getInteractionToNextPaint:v,setViewEnd:y}=function(t,e,r){let n,i;if(!(en(d.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype))return{getInteractionToNextPaint:()=>void 0,setViewEnd:tn.l,stop:tn.l};let{getViewInteractionCount:a,stopViewInteractionCount:s}=function(t){"interactionCount"in performance||o||(o=new window.PerformanceObserver((0,S.dm)(t=>{t.getEntries().forEach(t=>{t.interactionId&&(r_=Math.min(r_,t.interactionId),ry=((rb=Math.max(rb,t.interactionId))-r_)/7+1)})}))).observe({type:"event",buffered:!0,durationThreshold:0});let e=t===$.INITIAL_LOAD?0:rw(),r={stopped:!1};return{getViewInteractionCount:()=>r.stopped?r.interactionCount:rw()-e,stopViewInteractionCount:()=>{r={stopped:!0,interactionCount:rw()-e}}}}(r),l=1/0,u=function(t){let e=[];function r(){e.sort((t,e)=>e.duration-t.duration).splice(10)}return{process(t){let n=e.findIndex(e=>t.interactionId===e.interactionId),i=e[e.length-1];-1!==n?t.duration>e[n].duration&&(e[n]=t,r()):(e.length<10||t.duration>i.duration)&&(e.push(t),r())},estimateP98Interaction(){let r=Math.min(e.length-1,Math.floor(t()/50));return e[r]}}}(a),c=-1;function f(r){for(let t of r)t.interactionId&&t.startTime>=e&&t.startTime<=l&&u.process(t);let a=u.estimateP98Interaction();a&&a.duration!==c&&(c=a.duration,i=(0,m.vk)(e,a.startTime),!(n=function(t){let e=e0.get(t);return e0.delete(t),e}(a.startTime))&&a.target&&ea(a.target)&&(n=eF(a.target,t.actionNameAttribute)))}let p=er(t,{type:d.FIRST_INPUT,buffered:!0}).subscribe(f),h=er(t,{type:d.EVENT,durationThreshold:40,buffered:!0}).subscribe(f);return{getInteractionToNextPaint:()=>c>
3=0?{value:Math.min(c,rS),targetSelector:n,time:i}:a()?{value:0}:void 0,setViewEnd:t=>{l=t,s()},stop:()=>{h.unsubscribe(),p.unsubscribe()}}}(n,s.relative,a);return{stop:()=>{u(),h(),f()},stopINPTracking:g,setLoadEvent:c,setViewEnd:y,getCommonViewMetrics:()=>(l.interactionToNextPaint=v(),l)}}(t,e,r,n,W,a,s),{stop:M,initialViewMetrics:U}=a===$.INITIAL_LOAD?function(t,e,r,n){var i;let a={},{stop:o}=function(t,e,r=rl){let n;var i=t,a=()=>{var t;let n=r();n.loadEventEnd<=0||e({domComplete:(t=n).domComplete,domContentLoaded:t.domContentLoadedEventEnd,domInteractive:t.domInteractive,loadEvent:t.loadEventEnd,firstByte:t.responseStart>=0&&t.responseStart<=(0,m.$S)()?t.responseStart:void 0})};let{stop:o}=(0,ri.H)(i,"complete",()=>{n=(0,tV.wg)(()=>a())});return{stop:()=>{o(),(0,tV.DJ)(n)}}}(t,t=>{r(t.loadEvent),a.navigationTimings=t,n()}),s=rp(t,e),{stop:l}=(i=t=>{a.firstContentfulPaint=t,n()},{stop:er(t,{type:d.PAINT,buffered:!0}).subscribe(t=>{let e=t.find(t=>"first-contentful-paint"===t.name&&t.startTime<s.timeStamp&&t.startTime<rd);e&&i(e.startTime)}).unsubscribe}),{stop:u}=function(t,e,r,n){let i=1/0,{stop:a}=(0,G.l)(t,r,["pointerdown","keydown"],t=>{i=t.timeStamp},{capture:!0,once:!0}),o=0,s=er(t,{type:d.LARGEST_CONTENTFUL_PAINT,buffered:!0}).subscribe(r=>{let a=(0,tm.Uk)(r,t=>t.entryType===d.LARGEST_CONTENTFUL_PAINT&&t.startTime<i&&t.startTime<e.timeStamp&&t.startTime<rf&&t.size>o);if(a){var s;let e;a.element&&(e=eF(a.element,t.actionNameAttribute)),n({value:a.startTime,targetSelector:e,resourceUrl:""===(s=a).url?void 0:s.url}),o=a.size}});return{stop:()=>{a(),s.unsubscribe()}}}(t,s,window,t=>{a.largestContentfulPaint=t,n()}),{stop:c}=function(t,e,r){let n=er(t,{type:d.FIRST_INPUT,buffered:!0}).subscribe(n=>{let i=n.find(t=>t.startTime<e.timeStamp);if(i){let e,n=(0,m.vk)(i.startTime,i.processingStart);i.target&&ea(i.target)&&(e=eF(i.target,t.actionNameAttribute)),r({delay:n>=0?n:0,time:i.startTime,targetSelector:e})}});return{stop:()=>{n.unsubscribe()}}}(t,s,t=>{a.firstInput=t,n()});return{stop:function(){o(),l(),u(),c(),s.stop()},initialViewMetrics:a}}(n,s,R,W):{stop:tn.l,initialViewMetrics:{}};a===$.BF_CACHE&&(u=s.relative,requestAnimationFrame(()=>{requestAnimationFrame(()=>{(t=>{U.firstContentfulPaint=t,U.largestContentfulPaint={value:t},W()})((0,m.vk)(u,(0,m.$S)()))})}));let{stop:V,eventCounts:z}=function(t,e,r){let{stop:n,eventCounts:i}=ee({lifeCycle:t,isChildEvent:t=>t.view.id===e,onChange:r});return{stop:n,eventCounts:i}}(t,f,W),B=(0,tV.yb)(H,rC),F=t.subscribe(11,t=>{t.reason===tL.y5.UNLOADING&&H()});function j(){t.notify(3,{id:f,name:w,context:_.getContext(),startClocks:s,sessionIsActive:b})}function W(){j(),E()}function H(){C(),j(),v+=1;let e=void 0===c?(0,m.nx)():c.timeStamp;t.notify(4,{customTimings:g,documentVersion:v,id:f,name:w,service:k,version:x,context:_.getContext(),loadingType:a,location:y,startClocks:s,commonViewMetrics:P(),initialViewMetrics:U,duration:(0,m.vk)(s.timeStamp,e),isActive:void 0===c,sessionIsActive:b,eventCounts:z})}return H(),_.changeObservable.subscribe(W),{get name(){return w},service:k,version:x,contextManager:_,stopObservable:h,end(e={}){var r,n;c||(c=null!=(r=e.endClocks)?r:(0,m.M8)(),b=null==(n=e.sessionIsActive)||n,t.notify(5,{endClocks:c}),t.notify(6,{endClocks:c}),(0,tV.vG)(B),I(c.relative),N(),F.unsubscribe(),H(),(0,tV.wg)(()=>{this.stop()},rR))},stop(){M(),V(),L(),h.notify()},addTiming(t,e){if(c)return;let r=(0,m.pu)(e)?e:(0,m.vk)(s.timeStamp,e);g[function(t){let e=t.replace(/[^a-zA-Z0-9-_.@$]/g,"_");return e!==t&&O.Vy.warn(`Invalid timing name: ${t}, sanitized to: ${e}`),e}(t)]=r,W()}
3,setViewName(t){w=t,H()}}}(e,r,n,i,t,a,s,l);return f.add(u),u.stopObservable.subscribe(()=>{f.delete(u)}),u}return e.subscribe(10,()=>{h=g($.ROUTE_CHANGE,void 0,{name:h.name,service:h.service,version:h.version,context:h.contextManager.getContext()})}),e.subscribe(9,()=>{h.end({sessionIsActive:!1})}),s&&(c=a.subscribe(({oldLocation:t,newLocation:e})=>{var r,n;r=t,n=e,(r.pathname!==n.pathname||!function(t){let e=t.substring(1);return""!==e&&!!document.getElementById(e)}(n.hash)&&rI(n.hash)!==rI(r.hash))&&(h.end(),h=g($.ROUTE_CHANGE))}),i.trackBfcacheViews&&(u=function(t,e){let{stop:r}=(0,G.q)(t,window,"pageshow",t=>{t.persisted&&e(t)},{capture:!0});return r}(i,t=>{h.end();let e=(0,m.FR)(t.timeStamp);h=g($.BF_CACHE,e,void 0)}))),{addTiming:(t,e=(0,m.nx)())=>{h.addTiming(t,e)},startView:(t,e)=>{h.end({endClocks:e}),h=g($.ROUTE_CHANGE,e,t)},setViewContext:t=>{h.contextManager.setContext(t)},setViewContextProperty:(t,e)=>{h.contextManager.setContextProperty(t,e)},setViewName:t=>{h.setViewName(t)},getViewContext:()=>h.contextManager.getContext(),stop:()=>{c&&c.unsubscribe(),u&&u(),h.end(),f.forEach(t=>t.stop())}}}(C,j,tg,ty,t,tv,!t.trackViewsManually,n));F.push(tX);let{stop:t0}=function(t,e,r){if(!(r.enabled&&(0,tp.ic)(t.initialViewMetricsTelemetrySampleRate)))return{stop:tn.l};let{unsubscribe:n}=e.subscribe(4,({initialViewMetrics:t})=>{var e,r;t.largestContentfulPaint&&t.navigationTimings&&((0,k.Gk)("Initial view metrics",{metrics:(e=t.largestContentfulPaint,r=t.navigationTimings,{lcp:{value:e.value},navigation:{domComplete:r.domComplete,domContentLoaded:r.domContentLoaded,domInteractive:r.domInteractive,firstByte:r.firstByte,loadEvent:r.loadEvent}})}),n())});return{stop:n}}(t,j,tf);F.push(t0);let{stop:t3}=function(t,e,r,n=function(){let t=[];function e(e){let n;if(e.didTimeout){let t=performance.now();n=()=>30-(performance.now()-t)}else n=e.timeRemaining.bind(e);for(;n()>0&&t.length;)t.shift()();t.length&&r()}function r(){(0,rt.BB)(e,{timeout:re})}return{push(e){1===t.push(e)&&r()}}}(),i=function(t,e,r=rl){(0,ri.H)(t,"interactive",()=>{let t=r(),n=Object.assign(t.toJSON(),{entryType:d.RESOURCE,initiatorType:tQ,duration:t.responseEnd,traceId:function(t){let e=function(t){let e=t.querySelector("meta[name=dd-trace-id]"),r=t.querySelector("meta[name=dd-trace-time]");return ro(e&&e.content,r&&r.content)}(t)||function(t){let e=function(t){for(let e=0;e<t.childNodes.length;e+=1){let r=rs(t.childNodes[e]);if(r)return r}if(t.body)for(let e=t.body.childNodes.length-1;e>=0;e-=1){let r=t.body.childNodes[e],n=rs(r);if(n)return n;if(!ei(r))break}}(t);if(e)return ro((0,D.rx)(e,"trace-id"),(0,D.rx)(e,"trace-time"))}(t);if(!(!e||e.traceTime<=(0,m.x3)()-ra))return e.traceId}(document),toJSON:()=>({...n,toJSON:void 0})});e(n)})}){let a,o=(0,to.sr)(to.R9.EARLY_REQUEST_COLLECTION);o?a=function(t){let e=new Set,r=t.subscribe(8,t=>{e.add(t),e.size>1e3&&((0,k.A2)("Too many requests"),e.delete(e.values().next().value))});return{getMatchingRequest(t){let r,n=1/0;for(let i of e){let e=t.startTime-i.startClocks.relative;0<=e&&e<n&&i.url===t.name&&(n=Math.abs(e),r=i)}return r&&e.delete(r),r},stop(){r.unsubscribe()}}}(t):t.subscribe(8,t=>{l(()=>{var n,i,a;return n=t,i=e,a=r,rc(function(t){if(!performance||!("getEntriesByName"in performance))return;let e=performance.getEntriesByName(t.url,"resource");if(!e.length||!("toJSON"in e[0]))return;let r=e.filter(t=>!rr.has(t)).filter(t=>t2(t)&&t5(t)).filter(e=>{var r,n,i;return r=e,n=t.startClocks.relative,i=rn({startTime:t.startClocks.relative,duration:t.duration}),r.startTime>=n-1&&rn(r)<=(0,m.Gw)(i,1)});if(1===r.length)return rr.add(r[0]),r[0].toJSON()}(n),n,a,i)})});let s=er(e,{type:d.RESOURCE,buffered:!0}).subscribe(t=>{for(let n of t)(o||!t1(n))&&l(()=>ru(n,e,r,a))});function l(e){n.push(()=>{let r=e();r&&t.notify(12,r)})}return i(e,t=>{l(()=>ru(t,e,r,a))}),{stop:()=>{s.unsubscribe()}}}(j,t,tS);if(F.push(t3),t.trackLongTasks)if(en(d.LONG_ANIMATION_FRAME)){let{stop:e}=function(t,e){let r=er(e,{type:d.LONG_ANIMATION_FRAME,buffered:!0}).subscribe(e=>{for(let r of e){let e=(0,m.FR)(r.startTime),n={date:e.timeStamp,long_task:{id:(0,D.lk)(),entry_type:P.LONG_ANIMATION_FRAME,duration:(0,m.Zj)(r.duration),blocking_duration:(0,m.Zj)(r.blockingDuration),first_ui_event_timestamp:(0,m.Zj)(r.firstUIEventTimestamp),render_start:(0,m.Zj)(r.render
3Start),style_and_layout_start:(0,m.Zj)(r.styleAndLayoutStart),start_time:(0,m.Zj)(r.startTime),scripts:r.scripts.map(t=>({duration:(0,m.Zj)(t.duration),pause_duration:(0,m.Zj)(t.pauseDuration),forced_style_and_layout_duration:(0,m.Zj)(t.forcedStyleAndLayoutDuration),start_time:(0,m.Zj)(t.startTime),execution_start:(0,m.Zj)(t.executionStart),source_url:t.sourceURL,source_function_name:t.sourceFunctionName,source_char_position:t.sourceCharPosition,invoker:t.invoker,invoker_type:t.invokerType,window_attribution:t.windowAttribution}))},type:L.LONG_TASK,_dd:{discarded:!1}};t.notify(12,{rawRumEvent:n,startTime:e.relative,duration:r.duration,domainContext:{performanceEntry:r}})}});return{stop:()=>r.unsubscribe()}}(j,t);F.push(e)}else{I=j,er(N=t,{type:d.LONG_TASK,buffered:!0}).subscribe(t=>{for(let e of t){if(e.entryType!==d.LONG_TASK||!N.trackLongTasks)break;let t=(0,m.FR)(e.startTime),r={date:t.timeStamp,long_task:{id:(0,D.lk)(),entry_type:P.LONG_TASK,duration:(0,m.Zj)(e.duration)},type:L.LONG_TASK,_dd:{discarded:!1}};I.notify(12,{rawRumEvent:r,startTime:t.relative,duration:e.duration,domainContext:{performanceEntry:e}})}})}let{addError:t8}=function(t,e,r){var n,i,a,o;let s=new p.cP;return r.subscribe(t=>{0===t.type&&s.notify(t.error)}),n=s,(function(t){let e=t.map(t=>{var e;return e8[t]||(e8[t]=(e=t,new p.cP(t=>{let r=O.JZ[e];return O.JZ[e]=(...n)=>{r.apply(console,n);let i=(0,A.uC)("console error");(0,S.um)(()=>{t.notify(function(t,e,r){let n=t.map(t=>{var e;return"string"==typeof(e=t)?(0,E.a)(e):(0,y.bJ)(e)?(0,A.NR)((0,g.T)(e)):(0,e6.s)((0,E.a)(e),void 0,2)}).join(" ");if(e===O.bP.error){let i=t.find(y.bJ),a=(0,y.As)({originalError:i,handlingStack:r,startClocks:(0,m.M8)(),source:_.g.CONSOLE,handling:"handled",nonErrorPrefix:"Provided",useFallbackStack:!1});return a.message=n,{api:e,message:n,handlingStack:r,error:a}}return{api:e,message:n,error:void 0,handlingStack:r}}(n,e,i))})},()=>{O.JZ[e]=r}}))),e8[t]});return(0,p.Fx)(...e)})([O.bP.error]).subscribe(t=>n.notify(t.error)),i=e,a=s,(function(t,e){var r,n;let i=[];e.includes(e4.cspViolation)&&i.push((r=t,new p.cP(t=>{let{stop:e}=(0,G.q)(r,document,"securitypolicyviolation",e=>{t.notify(function(t){let e=`'${t.blockedURI}' blocked by '${t.effectiveDirective}' directive`;return e9({type:t.effectiveDirective,message:`${e4.cspViolation}: ${e}`,originalError:t,csp:{disposition:t.disposition},stack:e7(t.effectiveDirective,t.originalPolicy?`${e} of the policy "${(0,D._R)(t.originalPolicy,100,"...")}"`:"no policy",t.sourceFile,t.lineNumber,t.columnNumber)})}(e))});return e})));let a=e.filter(t=>t!==e4.cspViolation);return a.length&&i.push((n=a,new p.cP(t=>{if(!window.ReportingObserver)return;let e=(0,S.dm)((e,r)=>e.forEach(e=>t.notify(function(t){let{type:e,body:r}=t;return e9({type:r.id,message:`${e}: ${r.message}`,originalError:t,stack:e7(r.id,r.message,r.sourceFile,r.lineNumber,r.columnNumber)})}(e)))),r=new window.ReportingObserver(e,{types:n,buffered:!0});return r.observe(),()=>{r.disconnect()}}))),(0,p.Fx)(...i)})(i,[e4.cspViolation,e4.intervention]).subscribe(t=>a.notify(t)),s.subscribe(e=>t.notify(14,{error:e})),(o=t).subscribe(14,({error:t})=>{o.notify(12,function(t){let e={date:t.startClocks.timeStamp,error:{id:(0,D.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:L.ERROR,context:t.context},r={error:t.originalError,handlingStack:t.handlingStack};return{rawRumEvent:e,startTime:t.startClocks.relative,domainContext:r}}(t))}),{addError:({error:t,handlingStack:e,componentStack:r,startClocks:n,context:i})=>{let a=(0,y.As)({originalError:t,handlingStack:e,componentStack:r,startClocks:n,nonErrorPrefix:"Provided",source:_.g.CUSTOM,handling:"handled"});a.context=(0,T.kg)(a.context,i),o.notify(14,{error:a})}}}(j,t,v);v.unbuffer(),function(t,e,r,n,a){var o,s;let l={clearTracingIfNeeded:tb,traceFetch:t=>tw(e,t,r,n,a,e=>{var r;if(t.input instanceof Request&&!(null==(r=t.init)?void 0:r.headers))t.input=new Request
3(t.input),Object.keys(e).forEach(r=>{t.input.headers.append(r,e[r])});else{t.init=(0,q.yG)(t.init);let r=[];t.init.headers instanceof Headers?t.init.headers.forEach((t,e)=>{r.push([e,t])}):Array.isArray(t.init.headers)?t.init.headers.forEach(t=>{r.push(t)}):t.init.headers&&Object.keys(t.init.headers).forEach(e=>{r.push([e,t.init.headers[e]])}),t.init.headers=r.concat((0,tm.WP)(e))}}),traceXhr:(t,i)=>tw(e,t,r,n,a,t=>{Object.keys(t).forEach(e=>{i.setRequestHeader(e,t[e])})})};(function(t,e,r){var n;(!i&&(n=e,i=new p.cP(t=>{let{stop:e}=(0,h.H)(XMLHttpRequest.prototype,"open",tW),{stop:r}=(0,h.H)(XMLHttpRequest.prototype,"send",e=>{!function({target:t,handlingStack:e},r,n){let i=tq.get(t);if(!i)return;i.state="start",i.startClocks=(0,m.M8)(),i.isAborted=!1,i.xhr=t,i.handlingStack=e;let a=!1,{stop:o}=(0,h.H)(t,"onreadystatechange",()=>{t.readyState===XMLHttpRequest.DONE&&s()}),s=()=>{l(),o(),a||(a=!0,i.state="complete",i.duration=(0,m.vk)(i.startClocks.timeStamp,(0,m.nx)()),i.status=t.status,n.notify((0,q.yG)(i)))},{stop:l}=(0,G.q)(r,t,"loadend",s);n.notify(i)}(e,n,t)},{computeHandlingStack:!0}),{stop:i}=(0,h.H)(XMLHttpRequest.prototype,"abort",tH);return()=>{e(),r(),i()}})),i).subscribe(e=>{if(t6(e.url))switch(e.state){case"start":r.traceXhr(e,e.xhr),e.requestIndex=t7(),t.notify(7,{requestIndex:e.requestIndex,url:e.url});break;case"complete":r.clearTracingIfNeeded(e),t.notify(8,{duration:e.duration,method:e.method,requestIndex:e.requestIndex,spanId:e.spanId,startClocks:e.startClocks,status:e.status,traceId:e.traceId,traceSampled:e.traceSampled,type:tK.XHR,url:e.url,xhr:e.xhr,isAborted:e.isAborted,handlingStack:e.handlingStack})}})})(t,e,l),o=t,s=l,ta().subscribe(t=>{if(t6(t.url))switch(t.state){case"start":s.traceFetch(t),t.requestIndex=t7(),o.notify(7,{requestIndex:t.requestIndex,url:t.url});break;case"resolve":var e=t,r=e=>{s.clearTracingIfNeeded(t),o.notify(8,{duration:e,method:t.method,requestIndex:t.requestIndex,responseType:t.responseType,spanId:t.spanId,startClocks:t.startClocks,status:t.status,traceId:t.traceId,traceSampled:t.traceSampled,type:tK.FETCH,url:t.url,response:t.response,init:t.init,input:t.input,isAborted:t.isAborted,handlingStack:t.handlingStack})};let n=e.response&&(0,tJ.i)(e.response);n&&n.body?function(t,e,r){let n=t.getReader(),i=[],a=0;function o(){let t,o;if(n.cancel().catch(tn.l),r.collectStreamBody){let e;if(1===i.length)e=i[0];else{e=new Uint8Array(a);let t=0;i.forEach(r=>{e.set(r,t),t+=r.length})}t=e.slice(0,r.bytesLimit),o=e.length>r.bytesLimit}e(void 0,t,o)}!function t(){n.read().then((0,S.dm)(e=>{if(e.done)return void o();r.collectStreamBody&&i.push(e.value),(a+=e.value.length)>r.bytesLimit?o():t()}),(0,S.dm)(t=>e(t)))}()}(n.body,()=>{r((0,m.vk)(e.startClocks.timeStamp,(0,m.nx)()))},{bytesLimit:1/0,collectStreamBody:!1}):r((0,m.vk)(e.startClocks.timeStamp,(0,m.nx)()))}})}(j,t,th,tE,tC);let t4=function(t,e,r){function n(r){e.wasInPageStateDuringPeriod("frozen",r.startClocks.relative,r.duration)||t.notify(12,function(t,e){let r={date:t.startClocks.timeStamp,vital:{id:(0,D.lk)(),type:t.type,name:t.name,duration:(0,m.Zj)(t.duration),description:t.description},type:L.VITAL,context:t.context};return e&&(r._dd={vital:{computed_value:!0}}),{rawRumEvent:r,startTime:t.startClocks.relative,duration:t.duration,domainContext:{}}}(r,!0))}return{addDurationVital:n,startDurationVital:(t,e={})=>z(r,t,e),stopDurationVital:(t,e={})=>{B(n,r,t,e)}}}(j,tS,f),t9=(R=t.applicationId,{get:t=>{let e=tk.findView(t),r=tx.findUrl(t),n=th.findTrackedSession(t);if(n&&e&&r){let i=tR.findActionId(t);return{application_id:R,session_id:n.id,user_action:i?{id:i}:void 0,view:{id:e.id,name:e.name,referrer:r.referrer,url:r.url}}}}});return F.push(()=>r.stop()),{addAction:tI,addEvent:tO,addError:t8,addTiming:tD,addFeatureFlagEvaluation:tT.addFeatureFlagEvaluation,startView:tz,setViewContext:tF,setViewContextProperty:tZ,getViewContext:tY,setViewName:tB,lifeCycle:j,viewHistory:tk,session:th,stopSession:()=>th.expire(),getInternalContext:t9.get,startDurationVital:t4.startDurationVital,stopDurationVital:t4.stopDurationVital,addDurationVital:t4.addDurationVital,globalContext:tA,userContext:tE,accountContext:tC,telemetry:tf,stop:()=>{F.forEach(t=>t())},hooks:W}}var r7=r(24019);function nt(t,{session:e,viewContext:r,errorType:n}){let i=e?e.id:"no-session-id",a=[];void 0!==n&&a.push(`error-type=${n}`),r&&(a.push(`seed=${r.id}`),a.push(`from=${r.startClocks.timeStamp}`));let o=function(t){let e=t.site,r=t.subdomain||function(t){switch(t.site){case r7.NW:case r7.dV:return"app";case r7.Bb:return"dd";default:return}}(t);return`https://${r?`${r}.`:""}${e}`}(t),s=`/rum/replay/sessions/${i}`;return`${o}${s}?${a.join("&")}`}},75406:(t,e,r)=>{r.d(e,{G:()=>l,n:()=>s});var n=r(26664),i=r(40176),a=r(93800),o=r(24019);function s(t,e,r){let o=function(t,e){let r=`/api/v2/${e}`,n=t.proxy;if("string"==typeof n){let t=(0,i.l2)(n);return e=>`${t}?ddforward=${encodeURIComponent(`${r}?${e}`)}`}if("function"==typeof n)return t=>n({path:r,parameters:t});let a=l(e,t);return t=>`https://${a}${r}?${t}`}(t,e);return{build:(i,s)=>o(function({clientToken:t,internalAnalyticsSubdomain:e,source:r="browser"},i,o,{retry:s,encoding:l},u=[]){let c=[`ddsource=${r}`,`dd-api-key=${t}`,`dd-evp-origin-version=${encodeURIComponent("6.19.0")}`,"dd-evp-origin=browser",`dd-request-id=${(0,a.lk)()}`].concat(u);return l&&c.push(`dd-evp-encoding=${l}`),"rum"===i&&(c.push(`batch_time=${(0,n.nx)()}`,`_dd.api=${o}
3`),s&&c.push(`_dd.retry_count=${s.count}`,`_dd.retry_after=${s.lastFailureStatus}`)),e&&c.reverse(),c.join("&")}(t,e,i,s,r)),trackType:e}}function l(t,e){let{site:r=o.NW,internalAnalyticsSubdomain:n}=e;if("logs"===t&&e.usePciIntake&&r===o.NW)return o.$A;if(n&&r===o.NW)return`${n}.${o.NW}`;if(r===o.TC)return`http-intake.logs.${r}`;let i=r.split("."),a=i.pop();return`browser-intake-${i.join("-")}.${a}`}},77078:(t,e,r)=>{r.d(e,{Go:()=>a,kg:()=>o});var n=r(15843);function i(t,e,r=function(){if("undefined"!=typeof WeakSet){let t=new WeakSet;return{hasAlreadyBeenSeen(e){let r=t.has(e);return r||t.add(e),r}}}let t=[];return{hasAlreadyBeenSeen(e){let r=t.indexOf(e)>=0;return r||t.push(e),r}}}()){if(void 0===e)return t;if("object"!=typeof e||null===e)return e;if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){let t=e.flags||[e.global?"g":"",e.ignoreCase?"i":"",e.multiline?"m":"",e.sticky?"y":"",e.unicode?"u":""].join("");return new RegExp(e.source,t)}if(r.hasAlreadyBeenSeen(e))return;if(Array.isArray(e)){let n=Array.isArray(t)?t:[];for(let t=0;t<e.length;++t)n[t]=i(n[t],e[t],r);return n}let a="object"===(0,n.P)(t)?t:{};for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(a[t]=i(a[t],e[t],r));return a}function a(t){return i(void 0,t)}function o(...t){let e;for(let r of t)null!=r&&(e=i(e,r));return e}},78820:(t,e,r)=>{r.d(e,{dX:()=>s,cP:()=>a,Fx:()=>o});var n=r(85590);function i(t){let e=window.queueMicrotask;"function"==typeof e?e((0,n.dm)(t)):Promise.resolve().then((0,n.dm)(t))}class a{constructor(t){this.onFirstSubscribe=t,this.observers=[]}subscribe(t){return this.addObserver(t),{unsubscribe:()=>this.removeObserver(t)}}notify(t){this.observers.forEach(e=>e(t))}addObserver(t){this.observers.push(t),1===this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe(this)||void 0)}removeObserver(t){this.observers=this.observers.filter(e=>t!==e),!this.observers.length&&this.onLastUnsubscribe&&this.onLastUnsubscribe()}}function o(...t){return new a(e=>{let r=t.map(t=>t.subscribe(t=>e.notify(t)));return()=>r.forEach(t=>t.unsubscribe())})}class s extends a{constructor(t){super(),this.maxBufferSize=t,this.buffer=[]}notify(t){this.buffer.push(t),this.buffer.length>this.maxBufferSize&&this.buffer.shift(),super.notify(t)}subscribe(t){let e=!1;return i(()=>{for(let r of this.buffer){if(e)return;t(r)}e||this.addObserver(t)}),{unsubscribe:()=>{e=!0,this.removeObserver(t)}}}unbuffer(){i(()=>{this.maxBufferSize=this.buffer.length=0})}}},81135:(t,e,r)=>{r.d(e,{g:()=>n});let n={AGENT:"agent",CONSOLE:"console",CUSTOM:"custom",LOGGER:"logger",NETWORK:"network",SOURCE:"source",REPORT:"report"}},81151:(t,e,r)=>{r.d(e,{m5:()=>i});var n=r(38954);function i(t){let{env:e,service:r,version:n,datacenter:i,sdkVersion:o,variant:s}=t,l=[a("sdk_version",null!=o?o:"6.19.0")];return e&&l.push(a("env",e)),r&&l.push(a("service",r)),n&&l.push(a("version",n)),i&&l.push(a("datacenter",i)),s&&l.push(a("variant",s)),l}function a(t,e){var r;let i=e?`${t}:${e}`:t;return(i.length>200||(r=i,function(){try{return RegExp("[\\p{Ll}]","u"),!0}catch(t){return!1}}()&&RegExp("[^\\p{Ll}\\p{Lo}0-9_:./-]","u").test(r)))&&n.Vy.warn(`Tag ${i} doesn't meet tag requirements and will be sanitized. ${n.xG} ${n.fH}/getting_started/tagging/#defining-tags`),i.replace(/,/g,"_")}},81154:(t,e,r)=>{r.d(e,{Kp:()=>l,_T:()=>s,y5:()=>o});var n=r(78820),i=r(63002),a=r(11696);let o={HIDDEN:"visibility_hidden",UNLOADING:"before_unload",PAGEHIDE:"page_hide",FROZEN:"page_frozen"};function s(t){return new n.cP(e=>{let{stop:r}=(0,a.l)(t,window,["visibilitychange","freeze"],t=>{"visibilitychange"===t.type&&"hidden"===document.visibilityState?e.notify({reason:o.HIDDEN}):"freeze"===t.type&&e.notify({reason:o.FROZEN})},{capture:!0}),n=(0,a.q)(t,window,"beforeunload",()=>{e.notify({reason:o.UNLOADING})}).stop;return()=>{r(),n()}})}function l(t){return(0,i.KQ)(o).includes(t)}},82120:(t,e,r)=>{let n;function i(t){return u(t).segments_count}function a(t){u(t).segments_count+=1}function o(t){u(t).records_count+=1}function s(t,e){u(t).segments_total_raw_size+=e}function l(t){return null==n?void 0:n.get(t)}function u(t){let e;return n||(n=new Map),n.has(t)?e=n.get(t):(e={records_count:0,segments_count:0,segments_total_raw_size:0},n.set(t,e),n.size>1e3&&function(){if(!n)return;let t=n.keys().next().value;t&&n.delete(t)}()),e}r.d(e,{$1:()=>o,H5:()=>a,K_:()=>i,L7:()=>s,lv:()=>l})},82233:(t,e,r)=>{r.d(e,{Z:()=>n});let n="_dd_s"},85520:(t,e,r)=>{r.d(e,{sA:()=>y});var n=r(85590),i=r(78820),a=r(94357),o=r(26664),s=r(97617),l=r(3938),u=r(81135);let c=80*s._m,d=20*s.iH,f=o.iW,p=o.OY;function h(t,e,r,n,i,o){0===e.transportStatus&&0===e.queuedPayloads.size()&&e.bandwidthMonitor.canHandle(t)?m(t,e,r,o,{onSuccess:()=>g(0,e,r,n,i,o),onFailure:()=>{e.queuedPayloads.enqueue(t)||o.notify({type:"queue-full",bandwidth:e.bandwidthMonitor.stats(),payload:t}),function t(e,r,n,i,o){2===e.transportStatus&&(0,a.wg)(()=>{m(e.queuedPayloads.first(),e,r,o,{onSuccess:()=>{e.queuedPayloads.dequeue(),e.currentBackoffTime=p,g(1,e,r,n,i,o)},onFailure:()=>{e.currentBackoffTime=Math.min(f,2*e.currentBackoffTime),t(e,r,n,i,o)}})},e.currentBackoffTime)}(e,r,n,i,o)}}):e.queuedPayloads.enqueue(t)||o.notify({type:"queue-full",bandwidth:e.bandwidthMonitor.stats(),payload:t})}function m(t,e,r,n,{onSuccess:i,onFailure:a}){e.bandwidthMonitor.add(t),r(t,r=>{var o;e.bandwidthMonitor.remove(t),"opaque"!==(o=r).type&&(0===o.status&&!navigator.onLine||408===o.status||429===o.status||(0,l.G)(o.status))?(e.transportStatus=e.bandwidthMonitor.ongoingRequestCount>0?1:2,t.retry={count:t.retry?t.retry.count+1:1,lastFailureStatus:r.status},n.notify({type:"failure",bandwidth:e.bandwidthMonitor.stats(),payload:t}),a()):(e.transportStatus=0,n.notify({type:"success",bandwidth:e.bandwidthMonitor.stats(),payload:t}),i())})}function g(t,e,r,n,i,a){0===t&&e.queuedPayloads.isFull()&&!e.queueFullReported&&(i({message:`Reached max ${n} events size queued for upload: ${d/s.iH}MiB`,source:u.g.AGENT,startClocks:(0,o.M8)()}),e.queueFullReported=!0);let l=e.queuedPayloads;for(e.queuedPayloads=v();l.size()>0;)h(l.dequeue(),e,r,n,i,a)}function v(){let t=[];return{bytesCount:0,enqueue(e){return!this.isFull()&&(t.push(e),this.bytesCount+=e.bytesCount,!0)},first:()=>t[0],dequeue(){let e=t.shift();return e&&(this.bytesCount-=e.bytesCount),e},size:()=>t.length,isFull(){return this.bytesCount>=d}}}function y(t,e,r){let a=new i.cP,o={transportStatus:0,currentBackoffTime:p,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle(t){return 0===this.ongoingRequestCount||this.ongoingByteCount+t.bytesCount<=c&&this.ongoingRequestCount<32},add(t){this.ongoingRequestCount+=1,this.ongoingByteCount+=t.bytesCount},remove(t){this.ongoingRequestCount-=1,this.ongoingByteCount-=t.bytesCount},stats(){return{ongoingByteCount:this.ongoingByteCount,ongoingRequestCount:this.ongoingRequestCount}}},queuedPayloads:v(),queueFullReported:!1};return{observable:a,send:i=>{for(let s of t)h(i,o,(t,r)=>(function(t,e,r,i){(function(){try{return window.Request&&"keepalive"in new Request
3("http://a")}catch(t){return!1}})()&&r.bytesCount<e?fetch(t.build("fetch-keepalive",r),{method:"POST",body:r.data,keepalive:!0,mode:"cors"}).then((0,n.dm)(t=>null==i?void 0:i({status:t.status,type:t.type}))).catch((0,n.dm)(()=>b(t,r,i))):b(t,r,i)})(s,e,t,r),s.trackType,r,a)},sendOnExit:r=>{for(let i of t)!function(t,e,r){if(navigator.sendBeacon&&r.bytesCount<e)try{let e=t.build("beacon",r);if(navigator.sendBeacon(e,r.data))return}catch(t){var i;i=t,_||(_=!0,(0,n.Dx)(i))}b(t,r)}(i,e,r)}}}let _=!1;function b(t,e,r){fetch(t.build("fetch",e),{method:"POST",body:e.data,mode:"cors"}).then((0,n.dm)(t=>null==r?void 0:r({status:t.status,type:t.type}))).catch((0,n.dm)(()=>null==r?void 0:r({status:0})))}},85590:(t,e,r)=>{let n;r.d(e,{Bd:()=>o,Dx:()=>c,dm:()=>l,oO:()=>d,pM:()=>s,um:()=>u});var i=r(38954);let a=!1;function o(t){n=t}function s(t){a=t}function l(t){return function(){return u(t,this,arguments)}}function u(t,e,r){try{return t.apply(e,r)}catch(t){c(t)}}function c(t){if(d(t),n)try{n(t)}catch(t){d(t)}}function d(...t){a&&i.Vy.error("[MONITOR]",...t)}},87878:(t,e,r)=>{r.d(e,{$O:()=>a,XP:()=>o,ug:()=>i});var n=r(77078);let i="DISCARDED",a="SKIPPED";function o(){let t={};return{register:(e,r)=>(t[e]||(t[e]=[]),t[e].push(r),{unregister:()=>{t[e]=t[e].filter(t=>t!==r)}}),triggerHook(e,r){let o=t[e]||[],s=[];for(let t of o){let e=t(r);if(e===i)return i;e!==a&&s.push(e)}return(0,n.kg)(...s)}}}},88647:(t,e,r)=>{r.d(e,{Ww:()=>a,Y9:()=>i,d0:()=>o});var n=r(10676);function i(){let t=(0,n.V)().DatadogEventBridge;if(t)return{getCapabilities(){var e;return JSON.parse((null==(e=t.getCapabilities)?void 0:e.call(t))||"[]")},getPrivacyLevel(){var e;return null==(e=t.getPrivacyLevel)?void 0:e.call(t)},getAllowedWebViewHosts:()=>JSON.parse(t.getAllowedWebViewHosts()),send(e,r,n){t.send(JSON.stringify({eventType:e,event:r,view:n?{id:n}:void 0}))}}}function a(t){let e=i();return!!e&&e.getCapabilities().includes(t)}function o(t){var e;void 0===t&&(t=null==(e=(0,n.V)().location)?void 0:e.hostname);let r=i();return!!r&&r.getAllowedWebViewHosts().some(e=>t===e||t.endsWith(`.${e}`))}},93703:(t,e,r)=>{let n;r.d(e,{nd:()=>x,oC:()=>T});var i=r(94357),a=r(78820),o=r(26664),s=r(98595),l=r(93800),u=r(38954),c=r(49785),d=r(57554),f=r(62073),p=r(82233);function h(){try{let t=(0,l.lk)(),e=`_dd_test_${t}`;localStorage.setItem(e,t);let r=localStorage.getItem(e);return localStorage.removeItem(e),t===r?{type:f.Q_.LOCAL_STORAGE}:void 0}catch(t){return}}function m(t){localStorage.setItem(p.Z,(0,d.D9)(t))}function g(){let t=localStorage.getItem(p.Z);return(0,d.H9)(t)}var v=r(45350);let y=o.OY,_=[];function b(t,e,r=0){var i;let a,{isLockEnabled:s,persistSession:u,expireSession:c}=e,f=t=>u({...t,lock:a}),p=()=>{let{lock:t,...r}=e.retrieveSession();return{session:r,lock:t&&!function(t){let[,e]=t.split("--");return!e||(0,o.vk)(Number(e),(0,o.nx)())>y}(t)?t:void 0}};if(n||(n=t),t!==n)return void _.push(t);if(s&&r>=100){(0,v.A2)("Aborted session operation after max lock retries",{currentStore:p()}),S(e);return}let h=p();if(s&&(h.lock||(a=(0,l.lk)()+"--"+(0,o.nx)(),f(h.session),(h=p()).lock!==a)))return void w(t,e,r);let m=t.process(h.session);if(s&&(h=p()).lock!==a)return void w(t,e,r);if(m&&((0,d.W3)(m)?c(m):((0,d.oT)(m),s?f(m):u(m))),s&&!(m&&(0,d.W3)(m))){if((h=p()).lock!==a)return void w(t,e,r);u(h.session),m=h.session}null==(i=t.after)||i.call(t,m||h.session),S(e)}function w(t,e,r){(0,i.wg)(()=>{b(t,e,r+1)},10)}function S(t){n=void 0;let e=_.shift();e&&b(e,t)}let k=o.OY;function x(t){switch(t.sessionPersistence){case f.Q_.COOKIE:return(0,c.ge)(t);case f.Q_.LOCAL_STORAGE:return h();case void 0:{let e=(0,c.ge)(t);return!e&&t.allowFallbackToLocalStorage&&(e=h()),e}default:u.Vy.error(`Invalid session persistence '${String(t.sessionPersistence)}'`)}}function T(t,e,r,n,u=function(t,e){return t.type===f.Q_.COOKIE?(0,c.iA)(e,t.cookieOptions):{isLockEnabled:!1,persistSession:m,retrieveSession:g,expireSession:t=>(function(t,e){m((0,d.zn)(t,e))})(t,e)}}(t,e)){let p,h=new a.cP,v=new a.cP,y=new a.cP,_=(0,i.yb)(function(){let t=u.retrieveSession();(0,d.W3)(t)?b({process:t=>(0,d.W3)(t)?(0,d.zn)(t,e):void 0,after:x},u):x(t)},k);A();let{throttled:w,cancel:S}=(0,s.n)(()=>{b({process:t=>{if((0,d.TE)(t))return;let e=x(t);return function(t){if((0,d.TE)(t))return;let e=n(t[r]);t[r]=e,delete t.isExpired,e===f.gB||t.id||(t.id=(0,l.lk)(),t.created=String((0,o.x3)()))}(e),e},after:t=>{(0,d.c$)(t)&&!E()&&(p=t,h.notify()),p=t}},u)},k);function x(t){var n;return(0,d.W3)(t)&&(t=(0,d.zn)(t,e)),E()&&((n=t,p.id!==n.id||p[r]!==n[r])?(p=(0,d.zn)(p,e),v.notify()):(y.notify({previousState:p,newState:t}),p=t)),t}function A(){b({process:t=>{if((0,d.TE)(t))return(0,d.zn)(t,e)},after:t=>{p=t}},u)}function E(){return(null==p?void 0:p[r])!==void 0}
3return{expandOrRenewSession:w,expandSession:function(){b({process:t=>E()?x(t):void 0},u)},getSession:()=>p,renewObservable:h,expireObservable:v,sessionStateUpdateObservable:y,restartSession:A,expire:()=>{S(),u.expireSession(p),x((0,d.zn)(p,e))},stop:()=>{(0,i.vG)(_)},updateSessionState:function(t){b({process:e=>({...e,...t}),after:x},u)}}}},93800:(t,e,r)=>{function n(t){return t?(parseInt(t,10)^16*Math.random()>>parseInt(t,10)/4).toString(16):"10000000-1000-4000-8000-100000000000".replace(/[018]/g,n)}r.d(e,{_R:()=>s,it:()=>o,lk:()=>n,rx:()=>a});let i=/([\w-]+)\s*=\s*([^;]+)/g;function a(t,e){for(i.lastIndex=0;;){let r=i.exec(t);if(r){if(r[1]===e)return r[2]}else break}}function o(t){let e=new Map;for(i.lastIndex=0;;){let r=i.exec(t);if(r)e.set(r[1],r[2]);else break}return e}function s(t,e,r=""){let n=t.charCodeAt(e-1),i=n>=55296&&n<=56319?e+1:e;return t.length<=i?t:`${t.slice(0,i)}${r}`}},94357:(t,e,r)=>{r.d(e,{DJ:()=>s,vG:()=>u,wg:()=>o,yb:()=>l});var n=r(14531),i=r(85590),a=r(10676);function o(t,e){return(0,n.W)((0,a.V)(),"setTimeout")((0,i.dm)(t),e)}function s(t){(0,n.W)((0,a.V)(),"clearTimeout")(t)}function l(t,e){return(0,n.W)((0,a.V)(),"setInterval")((0,i.dm)(t),e)}function u(t){(0,n.W)((0,a.V)(),"clearInterval")(t)}},94404:(t,e,r)=>{r.d(e,{q:()=>n});function n(){var t;let e=window.navigator;return{status:e.onLine?"connected":"not_connected",interfaces:e.connection&&e.connection.type?[e.connection.type]:void 0,effective_type:null==(t=e.connection)?void 0:t.effectiveType}}},96605:(t,e,r)=>{r.d(e,{NR:()=>s,Yn:()=>o,uC:()=>a});var n=r(85590),i=r(46866);function a(t){let e,r=Error(t);return r.name="HandlingStack",(0,n.um)(()=>{let t=(0,i.T)(r);t.stack=t.stack.slice(2),e=o(t)}),e}function o(t){let e=s(t);return t.stack.forEach(t=>{let r="?"===t.func?"<anonymous>":t.func,n=t.args&&t.args.length>0?`(${t.args.join(", ")})`:"",i=t.line?`:${t.line}`:"",a=t.line&&t.column?`:${t.column}`:"";e+=` 4 at ${r}${n} @ ${t.url}${i}${a}`}),e}function s(t){return`${t.name||"Error"}: ${t.message}`}},97617:(t,e,r)=>{r.d(e,{WW:()=>o,_m:()=>n,iH:()=>i,wh:()=>s});let n=1024,i=1048576,a=/[^\u0000-\u007F]/;function o(t){return a.test(t)?void 0!==window.TextEncoder?new TextEncoder().encode(t).length:new Blob([t]).size:t.length}function s(t){let e=new Uint8Array(t.reduce((t,e)=>t+e.length,0)),r=0;for(let n of t)e.set(n,r),r+=n.length;return e}},98020:(t,e,r)=>{r.d(e,{BB:()=>o});var n=r(94357),i=r(85590),a=r(26664);function o(t,e){if(window.requestIdleCallback&&window.cancelIdleCallback){let r=window.requestIdleCallback((0,i.dm)(t),e);return()=>window.cancelIdleCallback(r)}var r=t;let o=(0,a.x3)(),s=(0,n.wg)(()=>{r({didTimeout:!1,timeRemaining:()=>Math.max(0,50-((0,a.x3)()-o))})},0);return()=>(0,n.DJ)(s)}},98595:(t,e,r)=>{r.d(e,{l:()=>a,n:()=>i});var n=r(94357);function i(t,e,r){let i,a,o=!r||void 0===r.leading||r.leading,s=!r||void 0===r.trailing||r.trailing,l=!1;return{throttled:(...r)=>{if(l){i=r;return}o?t(...r):i=r,l=!0,a=(0,n.wg)(()=>{s&&i&&t(...i),l=!1,i=void 0},e)},cancel:()=>{(0,n.DJ)(a),l=!1,i=void 0}}}function a(){}},99108:(t,e,r)=>{r.d(e,{WA:()=>v,uT:()=>y,bX:()=>b,hO:()=>S,Sz:()=>w});var n=r(19155),i=r(38954),a=r(26664),o=r(31352),s=r(97617),l=r(6706),u=r(93703),c=r(51750),d=r(32956);let f=["chrome-extension://","moz-extension://"];function p(t){return f.some(e=>t.includes(e))}var h=r(45350);let m="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.";var g=r(43903);let v={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"},y={ALL:"all",SAMPLED:"sampled"};function _(t,e){return null==t||"string"==typeof t||(i.Vy.error(`${e} must be defined as a string`),!1)}function b(t,e){return void 0===t||!!(0,o.fp)(t)||(i.Vy.error(`${e} Sample Rate should be a number between 0 and 100`),!1)}function w(t){var e,r,o,v,y,w,S,k,x,T,A;return t&&t.clientToken?void 0===t.allowedTrackingOrigins||Array.isArray(t.allowedTrackingOrigins)?(!(A=t.site)||"string"!=typeof A||/(datadog|ddog|datad0g|dd0g)/.test(A)||(i.Vy.error(`Site should be a valid Datadog site. ${i.xG} ${i.fH}/getting_started/site/.`),0))&&b(t.sessionSampleRate,"Session")&&b(t.telemetrySampleRate,"Telemetry")&&b(t.telemetryConfigurationSampleRate,"Telemetry Configuration")&&b(t.telemetryUsageSampleRate,"Telemetry Usage")&&_(t.version,"Version")&&_(t.env,"Env")&&_(t.service,"Service")&&function(t,e="undefined"!=typeof location?location.origin:"",r=Error().stack){let n=t.allowedTrackingOrigins;
4if(!n){if(function(t,e=""){return!p(t)&&p(e)}(e,r)){i.Vy.warn(m);let t=function(t=""){for(let e of f){let r=t.match(RegExp(`${e}[^/]+`));if(r)return r[0]}}(r);(0,h.A2)(m,{extensionUrl:t||"unknown"})}return!0}let a=(0,d.K)(n,e);return a||i.Vy.error("SDK initialized on a non-allowed domain."),a}(t)?void 0===t.trackingConsent||(0,l.Rj)(c.w,t.trackingConsent)?{beforeSend:t.beforeSend&&(0,n.y)(t.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:(0,u.nd)(t),sessionSampleRate:null!=(e=t.sessionSampleRate)?e:100,telemetrySampleRate:null!=(r=t.telemetrySampleRate)?r:20,telemetryConfigurationSampleRate:null!=(o=t.telemetryConfigurationSampleRate)?o:5,telemetryUsageSampleRate:null!=(v=t.telemetryUsageSampleRate)?v:5,service:null!=(y=t.service)?y:void 0,env:null!=(w=t.env)?w:void 0,version:null!=(S=t.version)?S:void 0,datacenter:null!=(k=t.datacenter)?k:void 0,silentMultipleInit:!!t.silentMultipleInit,allowUntrustedEvents:!!t.allowUntrustedEvents,trackingConsent:null!=(x=t.trackingConsent)?x:c.w.GRANTED,trackAnonymousUser:null==(T=t.trackAnonymousUser)||T,storeContextsAcrossPages:!!t.storeContextsAcrossPages,batchBytesLimit:16*s._m,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:30*a.OY,batchMessagesLimit:50,messageBytesLimit:256*s._m,variant:t.variant,sdkVersion:t.sdkVersion,...(0,g.T)(t)}:void i.Vy.error('Tracking Consent should be either "granted" or "not-granted"'):void 0:void i.Vy.error("Allowed Tracking Origins must be an array"):void i.Vy.error("Client Token is not configured, we will not send any data.")}function S(t){return{session_sample_rate:t.sessionSampleRate,telemetry_sample_rate:t.telemetrySampleRate,telemetry_configuration_sample_rate:t.telemetryConfigurationSampleRate,telemetry_usage_sample_rate:t.telemetryUsageSampleRate,use_before_send:!!t.beforeSend,use_partitioned_cross_site_session_cookie:t.usePartitionedCrossSiteSessionCookie,use_secure_session_cookie:t.useSecureSessionCookie,use_proxy:!!t.proxy,silent_multiple_init:t.silentMultipleInit,track_session_across_subdomains:t.trackSessionAcrossSubdomains,track_anonymous_user:t.trackAnonymousUser,session_persistence:t.sessionPersistence,allow_fallback_to_local_storage:!!t.allowFallbackToLocalStorage,store_contexts_across_pages:!!t.storeContextsAcrossPages,allow_untrusted_events:!!t.allowUntrustedEvents,tracking_consent:t.trackingConsent,use_allowed_tracking_origins:Array.isArray(t.allowedTrackingOrigins),source:t.source,sdk_version:t.sdkVersion,variant:t.variant}}}}]);
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.