PageSourceSearch

https://monday.com/webflow-scripts/vendor-datadog.d7b0112a.js

js monday.com collected 2026-09-24 08:24:35 UTC 133,711 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[507],{2220:(t,e,n)=>{n.r(e),n.d(e,{DefaultPrivacyLevel:()=>Ft,datadogRum:()=>io});var r={log:"log",debug:"debug",info:"info",warn:"warn",error:"error"},i=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];Object.prototype.hasOwnProperty.call(r,t)||(t=r.log),i[t].apply(i,e)};function o(t,e){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];try{return t.apply(void 0,n)}catch(t){i.error(e,t)}}}i.debug=console.debug.bind(console),i.log=console.log.bind(console),i.info=console.info.bind(console),i.warn=console.warn.bind(console),i.error=console.error.bind(console);var a,s=function(t,e,n){if(n||2===arguments.length)for(var r,i=0,o=e.length;i<o;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))},u=!1;function c(t){u=t}function l(t){return function(){return d(t,this,arguments)}}function d(t,e,n){try{return t.apply(e,n)}catch(t){if(f(r.error,t),a)try{a(t)}catch(t){f(r.error,t)}}}function f(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];u&&i.apply(void 0,s([t,"[MONITOR]"],e,!1))}var p=1e3;function v(t,e,n){var r,i,o=!n||void 0===n.leading||n.leading,a=!n||void 0===n.trailing||n.trailing,s=!1;return{throttled:function(){for(var n=[],u=0;u<arguments.length;u++)n[u]=arguments[u];s?r=n:(o?t.apply(void 0,n):r=n,s=!0,i=setTimeout((function(){a&&r&&t.apply(void 0,r),s=!1,r=void 0}),e))},cancel:function(){clearTimeout(i),s=!1,r=void 0}}}function h(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.forEach((function(e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})),t}function m(t){return h({},t)}function g(t){return t?(parseInt(t,10)^16*Math.random()>>parseInt(t,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,g)}function y(t){return 0!==t&&100*Math.random()<=t}function _(t,e){return+t.toFixed(e)}function b(){}function w(t,e,n){if("object"!=typeof t||null===t)return JSON.stringify(t);var r=S(Object.prototype),i=S(Array.prototype),o=S(Object.getPrototypeOf(t)),a=S(t);try{return JSON.stringify(t,e,n)}catch(t){return"<error: unable to serialize object>"}finally{r(),i(),o(),a()}}function S(t){var e=t,n=e.toJSON;return n?(delete e.toJSON,function(){e.toJSON=n}):b}function k(t,e){return-1!==t.indexOf(e)}function T(t){if(Array.from)return Array.from(t);var e=[];if(t instanceof Set)t.forEach((function(t){return e.push(t)}));else for(var n=0;n<t.length;n++)e.push(t[n]);return e}function C(t,e){for(var n=0;n<t.length;n+=1){var r=t[n];if(e(r,n))return r}}function E(t){return x(t)&&t>=0&&t<=100}function x(t){return"number"==typeof t}function A(t){return Object.keys(t).map((function(e){return t[e]}))}function R(t){return Object.keys(t).map((function(e){return[e,t[e]]}))}function I(t){return 0===Object.keys(t).length}function O(t,e){return t.slice(0,e.length)===e}function N(){if("object"==typeof globalThis)return globalThis;Object.defineProperty(Object.prototype,"_dd_temp_",{get:function(){return this},configurable:!0});var t=_dd_temp_;return delete Object.prototype._dd_temp_,"object"!=typeof t&&(t="object"==typeof self?self:"object"==typeof window?window:{}),t}function L(t){if(t.origin)return t.origin;var e=t.host.replace(/(:80|:443)$/,"");return"".concat(t.protocol,"//").concat(e)}function M(t,e){var n=new RegExp("(?:^|;)\\s*".concat(e,"\\s*=\\s*([^;]+)")).exec(t);return n?n[1]:void 0}function U(t,e,n){void 0===n&&(n="");var r=t.charCodeAt(e-1),i=r>=55296&&r<=56319?e+1:e;return t.length<=i?t:"".concat(t.slice(0,i)).concat(n)}function P(t){return null===t?"null":Array.isArray(t)?"array":typeof t}function D(t,e,n){if(void 0===n&&(n=function(){if("undefined"!=typeof WeakSet){var t=new WeakSet;return{hasAlreadyBeenSeen:function(e){var n=t.has(e);return n||t.add(e),n}}}var e=[];return{hasAlreadyBeenSeen:function(t){var n=e.indexOf(t)>=0;return n||e.push(t),n}}}()),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){var r=e.flags||[e.global?"g":"",e.ignoreCase?"i":"",e.multiline?"m":"",e.sticky?"y":"",e.unicode?"u":""].join("");return new RegExp(e.source,r)}if(!n.hasAlreadyBeenSeen(e)){if(Array.isArray(e)){for(var i=Array.isArray(t)?t:[],o=0;o<e.length;++o)i[o]=D(i[o],e[o],n);return i}var a="object"===P(t)?t:{};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(a[s]=D(a[s],e[s],n));return a}}function z(t){return D(void 0,t)}function B(){for(var t,e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var r=0,i=e;r<i.length;r++){var o=i[r];null!=o&&(t=D(t,o))}return t}function F(t){var e=P(t);return"string"===e||"function"===e||t instanceof RegExp}function q(t,e,n){return void 0===n&&(n=!1),t.some((function(t){try{if("function"==typeof t)return t(e);if(t instanceof RegExp)return t.test(e);
1if("string"==typeof t)return n?O(e,t):t===e}catch(t){i.error(t)}return!1}))}function H(t){return window.CSS&&window.CSS.escape?window.CSS.escape(t):t.replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,(function(t,e){return e?"\0"===t?"�":"".concat(t.slice(0,-1),"\\").concat(t.charCodeAt(t.length-1).toString(16)," "):"\\".concat(t)}))}function j(){var t={};return{get:function(){return t},add:function(e,n){t[e]=n},remove:function(e){delete t[e]},set:function(e){t=e},getContext:function(){return z(t)},setContext:function(e){t=z(e)},setContextProperty:function(e,n){t[e]=z(n)},removeContextProperty:function(e){delete t[e]},clearContext:function(){t={}}}}var Z,V,G,Y=function(){function t(){this.buffer=[]}return t.prototype.add=function(t){this.buffer.push(t)>500&&this.buffer.splice(0,1)},t.prototype.drain=function(){this.buffer.forEach((function(t){return t()})),this.buffer.length=0},t}();function X(t){return{relative:t,timeStamp:(e=t,n=K()-performance.now(),n>it()?Math.round(nt(n,e)):function(t){return Math.round(nt(it(),t))}(e))};var e,n}function W(t){return x(t)?_(1e6*t,0):t}function K(){return(new Date).getTime()}function $(){return K()}function J(){return performance.now()}function Q(){return{relative:J(),timeStamp:$()}}function tt(){return{relative:0,timeStamp:it()}}function et(t,e){return e-t}function nt(t,e){return t+e}function rt(t){return t-it()}function it(){return void 0===Z&&(Z=performance.timing.navigationStart),Z}function ot(t,e,n,r){var i=new Date;i.setTime(i.getTime()+n);var o="expires=".concat(i.toUTCString()),a=r&&r.crossSite?"none":"strict",s=r&&r.domain?";domain=".concat(r.domain):"",u=r&&r.secure?";secure":"";document.cookie="".concat(t,"=").concat(e,";").concat(o,";path=/;samesite=").concat(a).concat(s).concat(u)}function at(t){return M(document.cookie,t)}function st(t,e){ot(t,"",0,e)}function ut(){return Boolean(window._DATADOG_SYNTHETICS_INJECTS_RUM||at("datadog-synthetics-injects-rum"))}function ct(){var t=N().DatadogEventBridge;if(t)return{getAllowedWebViewHosts:function(){return JSON.parse(t.getAllowedWebViewHosts())},send:function(e,n){t.send(JSON.stringify({eventType:e,event:n}))}}}function lt(t){var e;void 0===t&&(t=null===(e=N().location)||void 0===e?void 0:e.hostname);var n=ct();return!!n&&n.getAllowedWebViewHosts().some((function(e){return t===e||(n=t,r=".".concat(e),n.slice(-r.length)===r);var n,r}))}function dt(t){return!!G&&G.has(t)}var ft="?";function pt(t){var e=[],n=St(t,"stack"),r=String(t);return n&&O(n,r)&&(n=n.slice(r.length)),n&&n.split("\n").forEach((function(t){var n=function(t){var e=mt.exec(t);if(e){var n=e[2]&&0===e[2].indexOf("native"),r=e[2]&&0===e[2].indexOf("eval"),i=gt.exec(e[2]);return r&&i&&(e[2]=i[1],e[3]=i[2],e[4]=i[3]),{args:n?[e[2]]:[],column:e[4]?+e[4]:void 0,func:e[1]||ft,line:e[3]?+e[3]:void 0,url:n?void 0:e[2]}}}(t)||function(t){var e=yt.exec(t);if(e)return{args:[],column:e[3]?+e[3]:void 0,func:ft,line:e[2]?+e[2]:void 0,url:e[1]}}(t)||function(t){var e=_t.exec(t);if(e)return{args:[],column:e[4]?+e[4]:void 0,func:e[1]||ft,line:+e[3],url:e[2]}}(t)||function(t){var e=bt.exec(t);if(e){var n=e[3]&&e[3].indexOf(" > eval")>-1,r=wt.exec(e[3]);return n&&r&&(e[3]=r[1],e[4]=r[2],e[5]=void 0),{args:e[2]?e[2].split(","):[],column:e[5]?+e[5]:void 0,func:e[1]||ft,line:e[4]?+e[4]:void 0,url:e[3]}}}(t);n&&(!n.func&&n.line&&(n.func=ft),e.push(n))})),{message:St(t,"message"),name:St(t,"name"),stack:e}}var vt="((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|\\w+\\.|\\/).*?)",ht="(?::(\\d+))",mt=new RegExp("^\\s*at (.*?) ?\\(".concat(vt).concat(ht,"?").concat(ht,"?\\)?\\s*$"),"i"),gt=new RegExp("\\((\\S*)".concat(ht).concat(ht,"\\)")),yt=new RegExp("^\\s*at ?".concat(vt).concat(ht,"?").concat(ht,"??\\s*$"),"i"),_t=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,bt=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,wt=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function St(t,e){if("object"==typeof t&&t&&e in t){var n=t[e];return"string"==typeof n?n:void 0}}var kt,Tt="agent";function Ct(t){var e=t.stackTrace,n=t.originalError,r=t.handlingStack,i=t.startClocks,o=t.nonErrorPrefix,a=t.source,s=t.handling;return e&&(void 0!==e.message||n instanceof Error)?{startClocks:i,source:a,handling:s,originalError:n,message:e.message||"Empty message",stack:Et(e),handlingStack:r,type:e.name,causes:Rt(n,a)}:{startClocks:i,source:a,handling:s,originalError:n,message:"".concat(o," ").concat(w(n)),stack:"No stack, consider using an instance of Error",handlingStack:r,type:e&&e.name}}function Et(t){var e=xt(t);return t.stack.forEach((function(t){var n="?"===t.func?"<anonymous>":t.func,r=t.args&&t.args.length>0?"(".concat(t.args.join(", "),")"):"",i=t.line?":".concat(t.line):"",o=t.line&&t.column?":".concat(t.column):"";e+="\n  at ".concat(n).concat(r," @ ").concat(t.url).concat(i).c
1oncat(o)})),e}function xt(t){return"".concat(t.name||"Error",": ").concat(t.message)}function At(){var t,e=new Error;if(!e.stack)try{throw e}catch(t){}return d((function(){var n=pt(e);n.stack=n.stack.slice(2),t=Et(n)})),t}function Rt(t,e){for(var n=t,r=[];(null==n?void 0:n.cause)instanceof Error&&r.length<10;){var i=pt(n.cause);r.push({message:n.cause.message,source:e,type:null==i?void 0:i.name,stack:i&&Et(i)}),n=n.cause}return r.length?r:void 0}function It(t){var e=h({},t);return["id","name","email"].forEach((function(t){t in e&&(e[t]=String(e[t]))})),e}function Ot(t){return Lt(t,L(window.location)).href}function Nt(t){return L(Lt(t))}function Lt(t,e){if(function(){if(void 0!==kt)return kt;try{var t=new URL("http://test/path");return kt="http://test/path"===t.href}catch(t){kt=!1}return kt}())return void 0!==e?new URL(t,e):new URL(t);if(void 0===e&&!/:/.test(t))throw new Error("Invalid URL: '".concat(t,"'"));var n=document,r=n.createElement("a");if(void 0!==e){var i=(n=document.implementation.createHTMLDocument("")).createElement("base");i.href=e,n.head.appendChild(i),n.body.appendChild(r)}return r.href=t,r}var Mt="datadoghq.com",Ut={logs:"logs",rum:"rum",sessionReplay:"session-replay"},Pt={logs:"logs",rum:"rum",sessionReplay:"replay"};function Dt(t,e,n){var r=t.clientToken,i=function(t,e){var n=t.site,r=void 0===n?Mt:n,i=t.internalAnalyticsSubdomain;if(i&&r===Mt)return"".concat(i,".").concat(Mt);var o=r.split("."),a=o.pop();return"".concat(Ut[e],".browser-intake-").concat(o.join("-"),".").concat(a)}(t,e),o="https://".concat(i,"/api/v2/").concat(Pt[e]),a=t.proxyUrl&&Ot(t.proxyUrl);return{build:function(i,s){var u=["sdk_version:".concat("4.30.1"),"api:".concat(i)].concat(n);s&&u.push("retry_count:".concat(s.count),"retry_after:".concat(s.lastFailureStatus));var c=["ddsource=browser","ddtags=".concat(encodeURIComponent(u.join(","))),"dd-api-key=".concat(r),"dd-evp-origin-version=".concat(encodeURIComponent("4.30.1")),"dd-evp-origin=browser","dd-request-id=".concat(g())];"rum"===e&&c.push("batch_time=".concat($())),t.internalAnalyticsSubdomain&&c.reverse();var l="".concat(o,"?").concat(c.join("&"));return a?"".concat(a,"?ddforward=").concat(encodeURIComponent(l)):l},buildIntakeUrl:function(){return a?"".concat(a,"?ddforward"):o},endpointType:e}}var zt=/[^a-z0-9_:./-]/;function Bt(t,e){var n=200-t.length-1;(e.length>n||zt.test(e))&&i.warn("".concat(t," value doesn't meet tag requirements and will be sanitized"));var r=e.replace(/,/g,"_");return"".concat(t,":").concat(r)}var Ft={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"};function qt(t){var e,n,r;if(t&&t.clientToken){var a=null!==(e=t.sessionSampleRate)&&void 0!==e?e:t.sampleRate;if(void 0===a||E(a))if(void 0===t.telemetrySampleRate||E(t.telemetrySampleRate)){var s;if(void 0===t.telemetryConfigurationSampleRate||E(t.telemetryConfigurationSampleRate))return s=t.enableExperimentalFeatures,Array.isArray(s)&&(G||(G=new Set(s)),s.filter((function(t){return"string"==typeof t})).forEach((function(t){k(t,"-")&&i.warn("please use snake case for '".concat(t,"'")),G.add(t)}))),h({beforeSend:t.beforeSend&&o(t.beforeSend,"beforeSend threw an error:"),cookieOptions:Ht(t),sessionSampleRate:null!=a?a:100,telemetrySampleRate:null!==(n=t.telemetrySampleRate)&&void 0!==n?n:20,telemetryConfigurationSampleRate:null!==(r=t.telemetryConfigurationSampleRate)&&void 0!==r?r:5,service:t.service,silentMultipleInit:!!t.silentMultipleInit,batchBytesLimit:16384,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:3e4,batchMessagesLimit:50,messageBytesLimit:262144},function(t){var e=function(t){var e=t.env,n=t.service,r=t.version,i=t.datacenter,o=[];return e&&o.push(Bt("env",e)),n&&o.push(Bt("service",n)),r&&o.push(Bt("version",r)),i&&o.push(Bt("datacenter",i)),o}(t),n=function(t,e){return{logsEndpointBuilder:Dt(t,"logs",e),rumEndpointBuilder:Dt(t,"rum",e),sessionReplayEndpointBuilder:Dt(t,"sessionReplay",e)}}(t,e),r=A(n).map((function(t){return t.buildIntakeUrl()})),i=function(t,e,n){if(t.replica){var r=h({},t,{site:Mt,clientToken:t.replica.clientToken}),i={logsEndpointBuilder:Dt(r,"logs",n),rumEndpointBuilder:Dt(r,"rum",n)};return e.push.apply(e,A(i).map((function(t){return t.buildIntakeUrl()}))),h({applicationId:t.replica.applicationId},i)}}(t,r,e);return h({isIntakeUrl:function(t){return r.some((function(e){return 0===t.indexOf(e)}))},replica:i,site:t.site||Mt},n)}(t));i.error("Telemetry Configuration Sample Rate should be a number between 0 and 100")}else i.error("Telemetry Sample Rate should be a number between 0 and 100");else i.error("Session Sample Rate should be a number between 0 and 100")}else i.error("Client Token is not configured, we will not send any data.")}function Ht(t){var e={};return e.secure=function(t){return!!t.useSecureSessionCookie||!!t.useCrossSiteSessionCookie}(t),e.crossSite=!!t.useCrossSiteSessionCookie,t.trackSessionAcrossSubdomains&&(e.domain=function(){if(void 0===V){for(var t="dd_site_test_".concat(g()),e=window.location.hostname.split("."),n=e.pop();e.length&&!at(t);)n="".concat(e.pop(),".").concat(n),ot(t,"test",p,{domain:n});st(t,{domain:n}),V=n}return V}()),e}function jt(t){0!==t.status||t.isAborted||(t.traceId=void 0,t.spanId=void 0,t.traceSampled=void 0)}function Zt(t,e,n,r){if(void 0!==Vt()&&n.findTrackedSession()){var i,o,a,s,u,c=C(t.allowedTracingUrls,(function(t){return q([t.match],e.url,!0)}));c&&(e.traceId=new Gt,e.spanId=new Gt,e.traceSampled=!x(t.traceSampleRate)||y(t.traceSampleRate),r((i=e.traceId,o=e.spanId,a=e.traceSampled,s=c.propagatorTypes,u={}
1,s.forEach((function(t){switch(t){case"datadog":h(u,{"x-datadog-origin":"rum","x-datadog-parent-id":o.toDecimalString(),"x-datadog-sampling-priority":a?"1":"0","x-datadog-trace-id":i.toDecimalString()});break;case"tracecontext":h(u,{traceparent:"00-0000000000000000".concat(i.toPaddedHexadecimalString(),"-").concat(o.toPaddedHexadecimalString(),"-0").concat(a?"1":"0")});break;case"b3":h(u,{b3:"".concat(i.toPaddedHexadecimalString(),"-").concat(o.toPaddedHexadecimalString(),"-").concat(a?"1":"0")});break;case"b3multi":h(u,{"X-B3-TraceId":i.toPaddedHexadecimalString(),"X-B3-SpanId":o.toPaddedHexadecimalString(),"X-B3-Sampled":a?"1":"0"})}})),u)))}}function Vt(){return window.crypto||window.msCrypto}var Gt=function(){function t(){this.buffer=new Uint8Array(8),Vt().getRandomValues(this.buffer),this.buffer[0]=127&this.buffer[0]}return t.prototype.toString=function(t){var e=this.readInt32(0),n=this.readInt32(4),r="";do{var i=e%t*4294967296+n;e=Math.floor(e/t),n=Math.floor(i/t),r=(i%t).toString(t)+r}while(e||n);return r},t.prototype.toDecimalString=function(){return this.toString(10)},t.prototype.toPaddedHexadecimalString=function(){var t=this.toString(16);return Array(17-t.length).join("0")+t},t.prototype.readInt32=function(t){return 16777216*this.buffer[t]+(this.buffer[t+1]<<16)+(this.buffer[t+2]<<8)+this.buffer[t+3]},t}();function Yt(t){var e=new Set;return Array.isArray(t.allowedTracingUrls)&&t.allowedTracingUrls.length>0&&t.allowedTracingUrls.forEach((function(t){F(t)?e.add("datadog"):t.propagatorTypes.forEach((function(t){return e.add(t)}))})),Array.isArray(t.allowedTracingOrigins)&&t.allowedTracingOrigins.length>0&&e.add("datadog"),T(e)}function Xt(t,e){var n=window.__ddBrowserSdkExtensionCallback;n&&n({type:t,payload:e})}var Wt=function(){function t(t){this.onFirstSubscribe=t,this.observers=[]}return t.prototype.subscribe=function(t){var e=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe()||void 0),this.observers.push(t),{unsubscribe:function(){e.observers=e.observers.filter((function(e){return t!==e})),!e.observers.length&&e.onLastUnsubscribe&&e.onLastUnsubscribe()}}},t.prototype.notify=function(t){this.observers.forEach((function(e){return e(t)}))},t}();function Kt(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n=new Wt((function(){var e=t.map((function(t){return t.subscribe((function(t){return n.notify(t)}))}));return function(){return e.forEach((function(t){return t.unsubscribe()}))}}));return n}function $t(t,e){var n,r=window;return r.Zone&&"function"==typeof r.Zone.__symbol__&&(n=t[r.Zone.__symbol__(e)]),n||(n=t[e]),n}function Jt(t,e,n,r){return Qt(t,[e],n,r)}function Qt(t,e,n,r){var i=void 0===r?{}:r,o=i.once,a=i.capture,s=i.passive,u=l(o?function(t){f(),n(t)}:n),c=s?{capture:a,passive:s}:a,d=$t(t,"addEventListener");function f(){var n=$t(t,"removeEventListener");e.forEach((function(e){return n.call(t,e,u,c)}))}return e.forEach((function(e){return d.call(t,e,u,c)})),{stop:f}}var te,ee="configuration",ne=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","http://localhost","<anonymous>"],re=["ddog-gov.com"],ie={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1,telemetryConfigurationEnabled:!1};function oe(t,e){f(r.debug,t,e),se(h({type:"log",message:t,status:"debug"},e))}function ae(t){se(h({type:"log",status:"error"},function(t){if(t instanceof Error){var e=pt(t);return{error:{kind:e.name,stack:Et(ue(e))},message:e.message}}return{error:{stack:"Not an instance of error"},message:"Uncaught ".concat(w(t))}}(t)))}function se(t){te&&ie.sentEventCount<ie.maxEventsPerPage&&(ie.sentEventCount+=1,te(t))}function ue(t){return t.stack=t.stack.filter((function(t){return!t.url||ne.some((function(e){return O(t.url,e)}))}
1)),t}function ce(){var t,e=window;if(e.Zone&&(t=$t(e,"MutationObserver"),e.MutationObserver&&t===e.MutationObserver)){var n=$t(new e.MutationObserver(b),"originalInstance");t=n&&n.constructor}return t||(t=e.MutationObserver),t}function le(t,e){document.readyState===t||"complete"===document.readyState?e():Jt(window,"complete"===t?"load":"DOMContentLoaded",e,{once:!0})}var de,fe,pe="initial_document",ve=[["document",function(t){return pe===t}],["xhr",function(t){return"xmlhttprequest"===t}],["fetch",function(t){return"fetch"===t}],["beacon",function(t){return"beacon"===t}],["css",function(t,e){return/\.css$/i.test(e)}],["js",function(t,e){return/\.js$/i.test(e)}],["image",function(t,e){return k(["image","img","icon"],t)||null!==/\.(gif|jpg|jpeg|tiff|png|svg|ico)$/i.exec(e)}],["font",function(t,e){return null!==/\.(woff|eot|woff2|ttf)$/i.exec(e)}],["media",function(t,e){return k(["audio","video"],t)||null!==/\.(mp3|mp4)$/i.exec(e)}]];function he(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=1;n<t.length;n+=1)if(t[n-1]>t[n])return!1;return!0}function me(t){var e=ge(t);if(e){var n=e.startTime,r=e.fetchStart,i=e.redirectStart,o=e.redirectEnd,a=e.domainLookupStart,s=e.domainLookupEnd,u=e.connectStart,c=e.secureConnectionStart,l=e.connectEnd,d=e.requestStart,f=e.responseStart,p={download:_e(n,f,e.responseEnd),first_byte:_e(n,d,f)};return l!==r&&(p.connect=_e(n,u,l),he(u,c,l)&&(p.ssl=_e(n,c,l))),s!==r&&(p.dns=_e(n,a,s)),ye(t)&&(p.redirect=_e(n,i,o)),p}}function ge(t){if(he(t.startTime,t.fetchStart,t.domainLookupStart,t.domainLookupEnd,t.connectStart,t.connectEnd,t.requestStart,t.responseStart,t.responseEnd)){if(!ye(t))return t;var e=t.redirectStart,n=t.redirectEnd;if(e<t.startTime&&(e=t.startTime),n<t.startTime&&(n=t.fetchStart),he(t.startTime,e,n,t.fetchStart))return h({},t,{redirectEnd:n,redirectStart:e})}}function ye(t){return t.fetchStart!==t.startTime}function _e(t,e,n){return{duration:W(et(e,n)),start:W(et(t,e))}}function be(t){if(t.startTime<t.responseStart)return t.decodedBodySize}function we(t,e){return e&&!t.isIntakeUrl(e)}function Se(t){return t.nodeType===Node.TEXT_NODE}function ke(t){return t.nodeType===Node.ELEMENT_NODE}function Te(t){return ke(t)&&null!==t.shadowRoot}function Ce(t){var e=t;return!!e.host&&ke(e.host)}function Ee(t){return Ce(t)?t.host:t.parentNode}function xe(t){var e=function(t){var e=t.querySelector("meta[name=dd-trace-id]"),n=t.querySelector("meta[name=dd-trace-time]");return Ae(e&&e.content,n&&n.content)}(t)||function(t){var e=function(t){for(var e=0;e<t.childNodes.length;e+=1)if(n=Re(t.childNodes[e]))return n;if(t.body)for(e=t.body.childNodes.length-1;e>=0;e-=1){var n,r=t.body.childNodes[e];if(n=Re(r))return n;if(!Se(r))break}}(t);if(e)return Ae(M(e,"trace-id"),M(e,"trace-time"))}(t);if(e&&!(e.traceTime<=K()-12e4))return e.traceId}function Ae(t,e){var n=e&&Number(e);if(t&&n)return{traceId:t,traceTime:n}}function Re(t){if(t&&function(t){return t.nodeType===Node.COMMENT_NODE}(t)){var e=/^\s*DATADOG;(.*?)\s*$/.exec(t.data);if(e)return e[1]}}function Ie(){return void 0!==window.performance&&"getEntries"in performance}function Oe(t){return window.PerformanceObserver&&void 0!==PerformanceObserver.supportedEntryTypes&&PerformanceObserver.supportedEntryTypes.includes(t)}function Ne(t,e){var n;if(n=function(n){Me(t,e,[n])},le("interactive",(function(){var t,e={entryType:"resource",initiatorType:pe,traceId:xe(document)};if(Oe("navigation")&&performance.getEntriesByType("navigation").length>0)t=h(performance.getEntriesByType("navigation")[0].toJSON(),e);else{var r=Le();t=h(r,{decodedBodySize:0,duration:r.responseEnd,name:window.location.href,startTime:0},e)}n(t)})),Ie()){var r=performance.getEntries();setTimeout(l((function(){return Me(t,e,r)})))}if(window.PerformanceObserver){var i=l((function(n){return Me(t,e,n.getEntries())})),o=["resource","navigation","longtask","paint"],a=["largest-contentful-paint","first-input","layout-shift"];try{a.forEach((function(t){new PerformanceObserver(i).observe({type:t,buffered:!0})}))}catch(t){o.push.apply(o,a)}new PerformanceObserver(i).observe({entryTypes:o}),Ie()&&"addEventListener"in performance&&performance.addEventListener("resourcetimingbufferfull",(function(){performance.clearResourceTimings()}))}Oe("navigation")||function(n){function r(){var n;n=h(Le(),{entryType:"navigation"}),Me(t,e,[n])}le("complete",(function(){setTimeout(l(r))}))}(),Oe("first-input")||function(n){var r=K(),i=!1,o=Qt(window,["click","mousedown","keydown","touchstart","pointerdown"],(function(t){if(t.cancelable){var e={entryType:"first-input",processingStart:J(),startTime:t.timeStamp};"pointerdown"===t.type?function(t){Qt(window,["pointerup","pointercancel"],(function(e){"pointerup"===e.type&&a(t)}),{once:!0})}(e):a(e)}}),{passive:!0,capture:!0}).stop;function a(n){if(!i){i=!0,o();var a=n.processingStart-n.startTime;a>=0&&a<K()-r&&function(n){Me(t,e,[n])}(n)}}}()}function Le(){var t={},e=performance.timing;for(var n in e)if(x(e[n])){var r=n,i=e[r];t[r]=0===i?0:rt(i)}return t}function Me(t,e,n){var r=n.filter((function(t){return"resource"===t.entryType||"navigation"===t.entryType||"paint"===t.entryType||"longtask"===t.entryType||"largest-contentful-paint"===t.entryType||"first-input"===t.entryType||"layout-shift"===t.entryType})).filter((function(t){return!function(t){return"navigation"===t.entryType&&t.loadEventEnd<=0}(t)&&!function(t,e){return"resource"===e.entryType&&!we(t,e.name)}(e,t)}));r.length&&t.notify(0,r)}function Ue(t,e,n){var r=0,i=!1;return{isLimitReached:function(){if(0===r&&setTimeout((function(){r=0}),6e4),(r+=1)<=e||i)return i=!1,!1;if(r===e+1){i=!0;try{n({message:"Reached max number of ".concat(t,"s by minute: ").concat(e),source:Tt,startClocks:Q()})}finally{i=!1}}return!0}}}function Pe(t,e){for(var n=t,r=0,i=e.split(".");r<i.length;r++){var o=i[r];if(!ze(n,o))return;n=n[o]}return n}function De(t,e,n){for(var r=t,i=e.split("."),o=0;o<i.length;o+=1){var a=i[o];if(!ze(r,a))return;o!==i.length-1?r=r[a]:r[a]=n}}function ze(t,e){return"object"==typeof t&&null!==t&&Object.prototype.hasOwnProperty.call(t,e)}function Be(){var t;return de||(t=new Wt((function(){var e=v(l((function(){t.notify(Fe())})),200).throttled;return Jt(window,"resize",e,{capture:!0,passive:!0}).stop})),de=t),de}
1function Fe(){var 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)}}function qe(){if(dt("clickmap"))return fe||(fe=Fe(),Be().subscribe((function(t){fe=t})).unsubscribe),{viewport:fe}}var He=["view.url","view.referrer","action.target.name","error.message","error.stack","error.resource.url","resource.url"],je=He.concat(["context"]);function Ze(t,e,n,r,o,a,s,u){var c,l=((c={}).error=Ue("error",t.eventRateLimiterThreshold,u),c.action=Ue("action",t.eventRateLimiterThreshold,u),c),d=function(){var t,e="string"==typeof(t=window._DATADOG_SYNTHETICS_PUBLIC_ID||at("datadog-synthetics-public-id"))?t:void 0,n=function(){var t=window._DATADOG_SYNTHETICS_RESULT_ID||at("datadog-synthetics-result-id");return"string"==typeof t?t:void 0}();if(e&&n)return{test_id:e,result_id:n,injected:ut()}}(),f=function(){var t,e=null===(t=window.Cypress)||void 0===t?void 0:t.env("traceId");if("string"==typeof e)return{test_execution_id:e}}();e.subscribe(10,(function(u){var c,p=u.startTime,v=u.rawRumEvent,h=u.domainContext,m=u.savedCommonContext,g=u.customerContext,y=r.findView(p),_=o.findUrl(p),b=n.findTrackedSession("view"!==v.type?p:void 0);if(b&&y&&_){var w=m||s(),S=a.findActionId(p),k=B({_dd:{format_version:2,drift:Math.round(K()-nt(it(),performance.now())),session:{plan:b.plan},browser_sdk_version:lt()?"4.30.1":void 0},application:{id:t.applicationId},date:$(),service:y.service||t.service,version:y.version||t.version,source:"browser",session:{id:b.id,type:d?"synthetics":f?"ci_test":"user"},view:{id:y.id,name:y.name,url:_.url,referrer:_.referrer},action:(c=v,-1!==["error","resource","long_task"].indexOf(c.type)&&S?{id:S}:void 0),synthetics:d,ci_test:f,display:qe()},v);
1k.context=B(w.context,g),"has_replay"in k.session||(k.session.has_replay=w.hasReplay),I(w.user)||(k.usr=w.user),dt("report_view_document_version")&&(k.context._dd={view:{document_version:y.documentVersion}}),function(t,e,n,r){var o;if(e){var a=function(t,r,i){var o=z(t),a=function(t){return e(t,n)}(o);return r.forEach((function(e){var n=Pe(t,e),r=Pe(o,e),i=P(n),a=P(r);a===i?De(t,e,r):"object"!==i||"undefined"!==a&&"null"!==a||De(t,e,{})})),a}(t,"view"===t.type?He:je);if(!1===a&&"view"!==t.type)return!1;!1===a&&i.warn("Can't dismiss view events using beforeSend!")}return!(null===(o=r[t.type])||void 0===o?void 0:o.isLimitReached())}(k,t.beforeSend,h,l)&&(I(k.context)&&delete k.context,e.notify(11,k))}}))}var Ve=[];function Ge(){if(!(Ve.length>2500)){var t=Ve[Ve.length-1],e=J();void 0!==t&&void 0===t.end||Ve.push({start:e})}}function Ye(){if(0!==Ve.length){var t=Ve[Ve.length-1],e=J();void 0===t.end&&(t.end=e)}}function Xe(t){for(var e=Ve.length-1;e>=0;e--){var n=Ve[e];if(void 0!==n.end&&t>n.end)break;if(t>n.start&&(void 0===n.end||t<n.end))return!0}return!1}function We(t,e){for(var n=nt(t,e),r=[],i=Math.max(0,Ve.length-500),o=Ve.length-1;o>=i;o--){var a=Ve[o];if(void 0!==a.end&&t>a.end)break;if(!(n<a.start)){var s=t>a.start?t:a.start,u=et(t,s),c=et(s,void 0===a.end||n<a.end?n:a.end);r.unshift({start:W(u),duration:W(c)})}}return r}var Ke,$e=function(){function t(){this.callbacks={}}return t.prototype.notify=function(t,e){var n=this.callbacks[t];n&&n.forEach((function(t){return t(e)}))},t.prototype.subscribe=function(t,e){var n=this;return this.callbacks[t]||(this.callbacks[t]=[]),this.callbacks[t].push(e),{unsubscribe:function(){n.callbacks[t]=n.callbacks[t].filter((function(t){return e!==t}))}}},t}(),Je=9e5,Qe=1/0,tn=function(){function t(t){var e=this;this.expireDelay=t,this.entries=[],this.clearOldContextsInterval=setInterval((function(){return e.clearOldContexts()}),6e4)}return t.prototype.add=function(t,e){var n=this,r={context:t,startTime:e,endTime:Qe,remove:function(){var t=n.entries.indexOf(r);t>=0&&n.entries.splice(t,1)},close:function(t){r.endTime=t}};return this.entries.unshift(r),r},t.prototype.find=function(t){void 0===t&&(t=Qe);for(var e=0,n=this.entries;e<n.length;e++){var r=n[e];if(r.startTime<=t){if(t<=r.endTime)return r.context;break}}},t.prototype.closeActive=function(t){var e=this.entries[0];e&&e.endTime===Qe&&e.close(t)},t.prototype.findAll=function(t){return void 0===t&&(t=Qe),this.entries.filter((function(e){return e.startTime<=t&&t<=e.endTime})).map((function(t){return t.context}))},t.prototype.reset=function(){this.entries=[]},t.prototype.stop=function(){clearInterval(this.clearOldContextsInterval)},t.prototype.clearOldContexts=function(){for(var t=J()-this.expireDelay;this.entries.length>0&&this.entries[this.entries.length-1].endTime<t;)this.entries.pop()},t}();function en(t,e,n){var r=t[e],i=n(r),o=function(){if("function"==typeof i)return i.apply(this,arguments)};return t[e]=o,{stop:function(){t[e]===o?t[e]=r:i=r}}}function nn(t,e,n){var r=n.before,i=n.after;return en(t,e,(function(t){return function(){var e,n=arguments;return r&&d(r,this,n),"function"==typeof t&&(e=t.apply(this,n)),i&&d(i,this,n),e}}))}function rn(t,e,n){var r=Object.getOwnPropertyDescriptor(t,e);if(!r||!r.set||!r.configurable)return{stop:b};var i=function(t,e){setTimeout(l((function(){n(t,e)})),0)},o=function(t){r.set.call(this,t),i(this,t)};return Object.defineProperty(t,e,{set:o}),{stop:function(){var n;(null===(n=Object.getOwnPropertyDescriptor(t,e))||void 0===n?void 0:n.set)===o?Object.defineProperty(t,e,r):i=b}}}var on,an=new WeakMap;function sn(){var t;return Ke||(t=new Wt((function(){var e=nn(XMLHttpRequest.prototype,"open",{before:un}).stop,n=nn(XMLHttpRequest.prototype,"send",{before:function(){cn.call(this,t)}}).stop,r=nn(XMLHttpRequest.prototype,"abort",{before:ln}).stop;return function(){e(),n(),r()}})),Ke=t),Ke}function un(t,e){an.set(this,{state:"open",method:t,url:Ot(String(e))})}function cn(t){var e=this,n=an.get(this);if(n){var r=n;r.state="start",r.startTime=J(),r.startClocks=Q(),r.isAborted=!1,r.xhr=this;var i=!1,o=nn(this,"onreadystatechange",{before:function(){this.readyState===XMLHttpRequest.DONE&&a()}}).stop,a=l((function(){if(e.removeEventListener("loadend",a),o(),!i){i=!0;var s=n;s.state="complete",s.duration=et(r.startClocks.timeStamp,$()),s.status=e.status,t.notify(m(s))}}));this.addEventListener("loadend",a),t.notify(r)}}function ln(){var t=an.get(this);t&&(t.isAborted=!0)}function dn(t,e,n){var r=n&&n.method||"object"==typeof e&&e.method||"GET",i=Ot("object"==typeof e&&e.url||e),o={state:"start",init:n,input:e,method:r,startClocks:Q(),url:i};return t.notify(o),o}function fn(t,e,n){var r=function(e){var r=n;r.state="resolve","stack"in e||e instanceof Error?(r.status=0,r.isAborted=e instanceof DOMException&&e.code===DOMException.ABORT_ERR,r.error=e):"status"in e&&(r.response=e,r.responseType=e.type,r.status=e.status,r.isAborted=!1),t.notify(r)};e.then(l(r),l(r))}var pn=1;function vn(t,e,n){var r=function(t,e){return{clearTracingIfNeeded:jt,traceFetch:function(n){return Zt(t,n,e,(function(t){var e;if(n.input instanceof Request&&!(null===(e=n.init)||void 0===e?void 0:e.headers))n.input=new Request
1(n.input),Object.keys(t).forEach((function(e){n.input.headers.append(e,t[e])}));else{n.init=m(n.init);var r=[];n.init.headers instanceof Headers?n.init.headers.forEach((function(t,e){r.push([e,t])})):Array.isArray(n.init.headers)?n.init.headers.forEach((function(t){r.push(t)})):n.init.headers&&Object.keys(n.init.headers).forEach((function(t){r.push([t,n.init.headers[t]])})),n.init.headers=r.concat(R(t))}}))},traceXhr:function(n,r){return Zt(t,n,e,(function(t){Object.keys(t).forEach((function(e){r.setRequestHeader(e,t[e])}))}))}}}(e,n);!function(t,e,n){sn().subscribe((function(r){var i=r;if(we(e,i.url))switch(i.state){case"start":n.traceXhr(i,i.xhr),i.requestIndex=hn(),t.notify(5,{requestIndex:i.requestIndex,url:i.url});break;case"complete":n.clearTracingIfNeeded(i),t.notify(6,{duration:i.duration,method:i.method,requestIndex:i.requestIndex,spanId:i.spanId,startClocks:i.startClocks,status:i.status,traceId:i.traceId,traceSampled:i.traceSampled,type:"xhr",url:i.url,xhr:i.xhr})}}))}(t,e,r),function(t,e,n){var r;(on||(r=new Wt((function(){if(window.fetch)return en(window,"fetch",(function(t){return function(e,n){var i,o=d(dn,null,[r,e,n]);return o?(i=t.call(this,o.input,o.init),d(fn,null,[r,i,o])):i=t.call(this,e,n),i}})).stop})),on=r),on).subscribe((function(r){var i=r;if(we(e,i.url))switch(i.state){case"start":n.traceFetch(i),i.requestIndex=hn(),t.notify(5,{requestIndex:i.requestIndex,url:i.url});break;case"resolve":!function(t,e){if(t.response){var n=t.response.clone();if(n.body)return void function(t,e,n){var r=t.getReader(),i=[],o=0;function a(){if(r.cancel().catch(b),n.collectStreamBody){var t;if(1===i.length)t=i[0];else{t=new Uint8Array(o);var a=0;i.forEach((function(e){t.set(e,a),a+=e.length}))}t.slice(0,n.bytesLimit),t.length>n.bytesLimit}e()}!function t(){r.read().then(l((function(e){e.done?a():(n.collectStreamBody&&i.push(e.value),(o+=e.value.length)>n.bytesLimit?a():t())})),l((function(t){return e()})))}()}(n.body,(function(){e(et(t.startClocks.timeStamp,$()))}),{bytesLimit:Number.POSITIVE_INFINITY,collectStreamBody:!1})}e(et(t.startClocks.timeStamp,$()))}(i,(function(e){n.clearTracingIfNeeded(i),t.notify(6,{duration:e,method:i.method,requestIndex:i.requestIndex,responseType:i.responseType,spanId:i.spanId,startClocks:i.startClocks,status:i.status,traceId:i.traceId,traceSampled:i.traceSampled,type:"fetch",url:i.url,response:i.response,init:i.init,input:i.input})}))}}))}(t,e,r)}function hn(){var t=pn;return pn+=1,t}function mn(t){var e=t.lifeCycle,n=t.isChildEvent,r=t.onChange,i=void 0===r?b:r,o={errorCount:0,longTaskCount:0,resourceCount:0,actionCount:0,frustrationCount:0},a=e.subscribe(11,(function(t){if("view"!==t.type&&n(t))switch(t.type){case"error":o.errorCount+=1,i();break;case"action":o.actionCount+=1,t.action.frustration&&(o.frustrationCount+=t.action.frustration.type.length),i();break;case"long_task":o.longTaskCount+=1,i();break;case"resource":o.resourceCount+=1,i()}}));return{stop:function(){a.unsubscribe()},eventCounts:o}}function gn(t,e,n,r,i){var o=function(t,e,n){var r=new Wt((function(){var i,o=[],a=0;o.push(e.subscribe(c),t.subscribe(0,(function(t){t.some((function(t){return"resource"===t.entryType&&!yn(n,t.name)}))&&c()})),t.subscribe(5,(function(t){yn(n,t.url)||(void 0===i&&(i=t.requestIndex),a+=1,c())})),t.subscribe(6,(function(t){yn(n,t.url)||void 0===i||t.requestIndex<i||(a-=1,c())})));var s,u=(s=c,nn(window,"open",{before:s})).stop;return function(){u(),o.forEach((function(t){return t.unsubscribe()}))};function c(){r.notify({isBusy:a>0})}}));return r}(t,e,n);return function(t,e,n){var r,i=!1,o=setTimeout(l((function(){return c({hadActivity:!1})})),100),a=n&&setTimeout(l((function(){return c({hadActivity:!0,end:$()})})),n),s=t.subscribe((function(t){var e=t.isBusy;clearTimeout(o),clearTimeout(r);var n=$();e||(r=setTimeout(l((function(){return c({hadActivity:!0,end:n})})),100))})),u=function(){i=!0,clearTimeout(o),clearTimeout(r),clearTimeout(a),s.unsubscribe()};function c(t){i||(u(),e(t))}return{stop:u}}(o,r,i)}function yn(t,e){return q(t.excludedActivityUrls,e)}var _n="data-dd-action-name";function bn(t,e){var n;if(void 0===Sn&&(Sn="closest"in HTMLElement.prototype),Sn)n=t.closest("[".concat(e,"]"));else for(var r=t;r;){if(r.hasAttribute(e)){n=r;break}r=r.parentElement}if(n)return xn(En(n.getAttribute(e).trim()))}var wn,Sn,kn=[function(t,e){if(void 0===wn&&(wn="labels"in HTMLInputElement.prototype),wn){if("labels"in t&&t.labels&&t.labels.length>0)return An(t.labels[0],e)}else if(t.id){var n=t.ownerDocument&&C(t.ownerDocument.querySelectorAll("label"),(function(e){return e.htmlFor===t.id}));return n&&An(n,e)}},function(t){if("INPUT"===t.nodeName){var e=t,n=e.getAttribute("type");if("button"===n||"submit"===n||"reset"===n)return e.value}},function(t,e){if("BUTTON"===t.nodeName||"LABEL"===t.nodeName||"button"===t.getAttribute("role"))return An(t,e)},function(t){return t.getAttribute("aria-label")},function(t,e){var n=t.getAttribute("aria-labelledby");if(n)return n.split(/\s+/).map((function(e){return function(t,e){return t.ownerDocument?t.ownerDocument.getElementById(e):null}(t,e)})).filter((function(t){return Boolean(t)})).map((function(t){return An(t,e)})).join(" ")},function(t){return t.getAttribute("alt")},function(t){return t.getAttribute("name")},function(t){return t.getAttribute("title")},function(t){return t.getAttribute("placeholder")},function(t,e){if("options"in t&&t.options.length>0)return An(t.options[0],e)}],Tn=[function(t,e){return An(t,e)}];function Cn(t,e,n){for(var r=t,i=0;
1i<=10&&r&&"BODY"!==r.nodeName&&"HTML"!==r.nodeName&&"HEAD"!==r.nodeName;){for(var o=0,a=n;o<a.length;o++){var s=(0,a[o])(r,e);if("string"==typeof s){var u=s.trim();if(u)return xn(En(u))}}if("FORM"===r.nodeName)break;r=r.parentElement,i+=1}}function En(t){return t.replace(/\s+/g," ")}function xn(t){return t.length>100?"".concat(U(t,100)," [...]"):t}function An(t,e){if(!t.isContentEditable){if("innerText"in t){var n=t.innerText,r=function(e){for(var r=t.querySelectorAll(e),i=0;i<r.length;i+=1){var o=r[i];if("innerText"in o){var a=o.innerText;a&&a.trim().length>0&&(n=n.replace(a,""))}}};return Boolean(document.documentMode)&&r("script, style"),r("[".concat(_n,"]")),e&&r("[".concat(e,"]")),n}return t.textContent}}var Rn,In=[_n,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],On=[Un,function(t){if(t.id&&!Mn(t.id))return"#".concat(H(t.id))}],Nn=[Un,function(t){if("BODY"!==t.tagName&&t.classList.length>0)for(var e=0;e<t.classList.length;e+=1){var n=t.classList[e];if(!Mn(n))return"".concat(t.tagName,".").concat(H(n))}},function(t){return t.tagName}];function Ln(t,e){for(var n="",r=t;r&&"HTML"!==r.nodeName;){var i=Dn(r,On,zn,e,n);if(i)return i;n=Dn(r,Nn,Bn,e,n)||Fn(Pn(r),n),r=r.parentElement}return n}function Mn(t){return/[0-9]/.test(t)}function Un(t,e){if(e&&(i=o(e)))return i;for(var n=0,r=In;n<r.length;n++){var i;if(i=o(r[n]))return i}function o(e){if(t.hasAttribute(e))return"".concat(t.tagName,"[").concat(e,'="').concat(H(t.getAttribute(e)),'"]')}}function Pn(t){for(var e=t.parentElement.firstElementChild,n=1;e&&e!==t;)e.tagName===t.tagName&&(n+=1),e=e.nextElementSibling;return"".concat(t.tagName,":nth-of-type(").concat(n,")")}function Dn(t,e,n,r,i){for(var o=0,a=e;o<a.length;o++){var s=(0,a[o])(t,r);if(s){var u=Fn(s,i);if(n(t,u))return u}}}function zn(t,e){return 1===t.ownerDocument.querySelectorAll(e).length}function Bn(t,e){return 1===t.parentElement.querySelectorAll(function(){if(void 0===Rn)try{document.querySelector(":scope"),Rn=!0}catch(t){Rn=!1}return Rn}()?Fn(":scope",e):e).length}function Fn(t,e){return e?"".concat(t,">").concat(e):t}function qn(){var t=window.getSelection();return!t||t.isCollapsed}function Hn(t){return t.target instanceof Element}function jn(t){return!t.hasPageActivity&&!t.getUserActivity().input&&(n='input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]),textarea,select,canvas,a[href],a[href] *',!((e=t.event.target).matches?e.matches(n):e.msMatchesSelector&&e.msMatchesSelector(n)));var e,n}function Zn(t,e,n){var r,i=new tn(3e5),o=new Wt;t.subscribe(8,(function(){i.reset()})),t.subscribe(4,u);var a=function(t){var e,n,r=t.onPointerDown,i=t.onClick,o=!1,a=!1,s=[Jt(window,"pointerdown",(function(t){o=!1,e=qn(),Hn(t)&&(n=r(t))}),{capture:!0}),Jt(window,"selectionchange",(function(){e&&qn()||(o=!0)}),{capture:!0}),Jt(window,"click",(function(t){if(Hn(t)&&n){var e={selection:o,input:a};a||setTimeout(l((function(){e.input=a}))),i(n,t,(function(){return e})),n=void 0}}),{capture:!0}),Jt(window,"input",(function(){a=!0}),{capture:!0})];return{stop:function(){s.forEach((function(t){return t.stop()}))}}}({onPointerDown:function(t){return function(t,e,n){if(t.trackFrustrations||!e.find()){var r=function(t,e){var n,r,i,o;if(dt("clickmap")){var a=t.target.getBoundingClientRect();n={width:Math.round(a.width),height:Math.round(a.height),selector:Ln(t.target,e)},r={x:Math.round(t.clientX-a.left),y:Math.round(t.clientY-a.top)}}return{type:"click",target:n,position:r,name:(i=t.target,o=e,bn(i,_n)||o&&bn(i,o)||Cn(i,o,kn)||Cn(i,o,Tn)||"")}}(n,t.actionNameAttribute);if(t.trackFrustrations||r.name)return r}}(n,i,t)},onClick:function(r,a,u){return function(t,e,n,r,i,o,a,s,u){var c=Vn(e,r,u,a,s);t.trackFrustrations&&o(c);var l=gn(e,n,t,(function(e){e.hadActivity&&e.end<c.startClocks.timeStamp?c.discard():(c.stop(e.hadActivity?e.end:void 0),t.trackFrustrations||(e.hadActivity?c.validate():c.discard()))}),1e4).stop,d=e.subscribe(4,(function(t){var e=t.endClocks;c.stop(e.timeStamp)})),f=i.subscribe((function(){c.stop()}));c.stopObservable.subscribe((function(){d.unsubscribe(),l(),f.unsubscribe()}))}(n,t,e,i,o,s,r,a,u)}}).stop;return{stop:function(){u(),o.notify(),a()},actionContexts:{findActionId:function(t){return n.trackFrustrations?i.findAll(t):i.find(t)}}};function s(t){if(!r||!r.tryAppend(t)){var e=t.clone();r=function(t,e){var n,r=[],i=0;function o(t){t.stopObservable.subscribe(a),r.push(t),clearTimeout(n),n=setTimeout(l(s),1e3)}function a(){1===i&&r.every((function(t){return t.isStopped()}))&&(i=2,e(r))}function s(){clearTimeout(n),0===i&&(i=1,a())}return o(t),{tryAppend:function(t){return 0===i&&(r.length>0&&(e=r[r.length-1].event,n=t.event,!(e.target===n.target&&(a=e,u=n,Math.sqrt(Math.pow(a.clientX-u.clientX,2)+Math.pow(a.clientY-u.clientY,2))<=100)&&e.timeStamp-n.timeStamp<=1e3))?(s(),!1):(o(t),!0));var e,n,a,u},stop:function(){s()}}}(t,(function(t){!function(t,e){var n=function(t,e){if(function(t){if(t.some((function(t){return t.getUserActivity().selection})))return!1;for(var e=0;e<t.length-2;e+=1)if(t[e+3-1].event.timeStamp-t[e].event.timeStamp<=p)return!0;return!1}(t))return e.addFrustration("rage_click"),t.some(jn)&&e.addFrustration("dead_click"),e.hasError&&e.addFrustration("error_click"),{isRage:!0};var n=t.some((function(t){return t.getUserActivity().selection}));return t.forEach((function(t){t.hasError&&t.addFrustration("error_click"),jn(t)&&!n&&t.addFrustration("dead_click")})),{isRage:!1}}(t,e).isRage;n?(t.forEach((function(t){return t.discard()})),e.stop($()),e.validate(t.map((function(t){return t.event})))):(e.discard(),t.forEach((function(t){return t.validate()})))}(t,e)}))}}function u(){r&&r.stop()}}function Vn(t,e,n,r,i){var o,a=g(),s=Q(),u=e.add(a,s.relative),c=mn({lifeCycle:t,isChildEvent:function(t){return void 0!==t.action&&(Array.isArray(t.action.id)?k(t.action.id,a):t.action.id===a)}}),l=0,d=[],f=new Wt;function p(t){0===l&&(l=1,(o=t)?u.close(rt(o)):u.remove(),c.stop(),f.notify())}return{event:i,stop:p,stopObservable:f,get hasError(){return c.eventCounts.errorCount>0},get hasPageActivity(){return void 0!==o},getUserActivity:n,addFrustration:function(t){d.push(t)},startClocks:s,isStopped:function(){return 1===l||2===l}
1,clone:function(){return Vn(t,e,n,r,i)},validate:function(e){if(p(),1===l){var n=c.eventCounts,u=n.resourceCount,f=n.errorCount,v=n.longTaskCount,m=h({type:"click",duration:o&&et(s.timeStamp,o),startClocks:s,id:a,frustrationTypes:d,counts:{resourceCount:u,errorCount:f,longTaskCount:v},events:null!=e?e:[i],event:i},r);t.notify(1,m),l=2}},discard:function(){p(),l=2}}}function Gn(t,e){var n=Yn(t)?{action:{id:t.id,loading_time:W(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}}}:void 0,r=Yn(t)?void 0:t.context,i=B({action:{id:g(),target:{name:t.name},type:t.type},date:t.startClocks.timeStamp,type:"action"},n),o=e.isInForegroundAt(t.startClocks.relative);return void 0!==o&&(i.view={in_foreground:o}),{customerContext:r,rawRumEvent:i,startTime:t.startClocks.relative,domainContext:Yn(t)?{event:t.event,events:t.events}:{}}}function Yn(t){return"custom"!==t.type}var Xn=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;var Wn={};function Kn(t,e,n){var i,o=t.map((function(t){return function(t){return"string"==typeof t?t:t instanceof Error?xt(pt(t)):w(t,void 0,2)}(t)})).join(" ");if(e===r.error){var a=C(t,(function(t){return t instanceof Error}));i=a?Et(pt(a)):void 0,o="console error: ".concat(o)}return{api:e,message:o,stack:i,handlingStack:n}}var $n,Jn,Qn="csp_violation";function tr(t,e,n,r,i){return n&&Et({name:t,message:e,stack:[{func:"?",url:n,line:r,column:i}]})}function er(t,e,n){var i=new Wt;return function(t){var e,n;(e=[r.error],n=e.map((function(t){return Wn[t]||(Wn[t]=function(t){var e=new Wt((function(){var n=console[t];return console[t]=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];n.apply(console,r);var o=At();d((function(){e.notify(Kn(r,t,o))}))},function(){console[t]=n}}));return e}(t)),Wn[t]})),Kt.apply(void 0,n)).subscribe((function(e){return t.notify({startClocks:Q(),message:e.message,stack:e.stack,source:"console",handling:"handled",handlingStack:e.handlingStack})}))}(i),function(t){var e;(function(t){return nn(window,"onerror",{before:function(e,n,r,i,o){var a;if(o)a=pt(o),t(a,o);else{var s,u={url:n,column:i,line:r},c=e;if("[object String]"==={}.toString.call(e)){var l=Xn.exec(c);l&&(s=l[1],c=l[2])}t(a={name:s,message:"string"==typeof c?c:void 0,stack:[u]},e)}}})})(e=function(e,n){t.notify(Ct({stackTrace:e,originalError:n,startClocks:Q(),nonErrorPrefix:"Uncaught",source:"source",handling:"unhandled"}))}).stop,function(t){return nn(window,"onunhandledrejection",{before:function(e){var n=e.reason||"Empty reason",r=pt(n);t(r,n)}})}(e).stop}(i),function(t){(function(t){var e,n=[];k(t,Qn)&&n.push(e=new Wt((function(){var t=l((function(t){e.notify(function(t){var e=Qn,n="'".concat(t.blockedURI,"' blocked by '").concat(t.effectiveDirective,"' directive");return{type:Qn,subtype:t.effectiveDirective,message:"".concat(e,": ").concat(n),stack:tr(t.effectiveDirective,t.originalPolicy?"".concat(n,' of the policy "').concat(U(t.originalPolicy,100,"..."),'"'):"no policy",t.sourceFile,t.lineNumber,t.columnNumber)}}(t))}));return Jt(document,"securitypolicyviolation",t).stop})));var r=t.filter((function(t){return t!==Qn}));return r.length&&n.push(function(t){var e=new Wt((function(){if(window.ReportingObserver){var n=l((function(t){return t.forEach((function(t){e.notify(function(t){var e=t.type,n=t.body;return{type:e,subtype:n.id,message:"".concat(e,": ").concat(n.message),stack:tr(n.id,n.message,n.sourceFile,n.lineNumber,n.columnNumber)}}(t))}))})),r=new window.ReportingObserver(n,{types:t,buffered:!0});return r.observe(),function(){r.disconnect()}}}));return e}(r)),Kt.apply(void 0,n)})([Qn,"intervention"]).subscribe((function(e){return t.notify({startClocks:Q(),message:e.message,stack:e.stack,type:e.subtype,source:"report",handling:"unhandled"})}))}(i),i.subscribe((function(e){return t.notify(12,{error:e})})),function(t,e,n){return t.subscribe(12,(function(r){var i=r.error,o=r.customerContext,a=r.savedCommonContext;t.notify(10,h({customerContext:o,savedCommonContext:a},function(t,e,n){var r={date:t.startClocks.timeStamp,error:{id:g(),message:t.message,source:t.source,stack:t.stack,handling_stack:t.handlingStack,type:t.type,handling:t.handling,causes:t.causes,source_type:"browser"},type:"error"},i=e.isInForegroundAt(t.startClocks.relative);i&&(r.view={in_foreground:i}
1);var o=n.findFeatureFlagEvaluations(t.startClocks.relative);return o&&!I(o)&&(r.feature_flags=o),{rawRumEvent:r,startTime:t.startClocks.relative,domainContext:{error:t.originalError}}}(i,e,n)))})),{addError:function(e,n){var r=e.error,i=e.handlingStack,o=e.startClocks,a=e.context,s=Ct({stackTrace:r instanceof Error?pt(r):void 0,originalError:r,handlingStack:i,startClocks:o,nonErrorPrefix:"Provided",source:"custom",handling:"handled"});t.notify(12,{customerContext:a,savedCommonContext:n,error:s})}}}(t,e,n)}function nr(t){return nt(t.startTime,t.duration)}function rr(t,e,n,r){t.subscribe(6,(function(i){t.notify(10,function(t,e,n,r){var i,o="xhr"===t.type?"xhr":"fetch",a=function(t){if(performance&&"getEntriesByName"in performance){var e=performance.getEntriesByName(t.url,"resource");if(e.length&&"toJSON"in e[0]){var n=e.map((function(t){return t.toJSON()})).filter(ge).filter((function(e){return n=e,r=t.startClocks.relative,i=nr({startTime:t.startClocks.relative,duration:t.duration}),n.startTime>=r-1&&nr(n)<=nt(i,1);var n,r,i}));return 1===n.length?n[0]:void 0}}}(t),s=a?X(a.startTime):t.startClocks,u=a?or(a):void 0,c=function(t,e){if(t.traceSampled&&t.traceId&&t.spanId)return{_dd:{span_id:t.spanId.toDecimalString(),trace_id:t.traceId.toDecimalString(),rule_psr:ar(e)}}}(t,e),l=sr(n,s),d=W(t.duration),f=function(t,e){if(dt("resource_durations"))return{_dd:{computed_duration:t,performance_entry_duration:e,override_duration_diff:e?t-e:void 0}}}(d,null==u?void 0:u.resource.duration),p=ur(r,s,null!==(i=null==a?void 0:a.duration)&&void 0!==i?i:t.duration),v=B({date:s.timeStamp,resource:{id:g(),type:o,duration:d,method:t.method,status_code:t.status,url:t.url},type:"resource"},c,u,l,f,p);return{startTime:s.relative,rawRumEvent:v,domainContext:{performanceEntry:a&&a,xhr:t.xhr,response:t.response,requestInput:t.input,requestInit:t.init,error:t.error}}}(i,e,n,r))})),t.subscribe(0,(function(i){for(var o=0,a=i;o<a.length;o++){var s=a[o];"resource"===s.entryType&&"xmlhttprequest"!==(u=s).initiatorType&&"fetch"!==u.initiatorType&&t.notify(10,ir(s,e,n,r))}var u}))}function ir(t,e,n,r){var i=function(t){var e=t.name;if(!function(t){try{return!!Lt(t)}catch(t){return!1}}(e))return oe('Failed to construct URL for "'.concat(t.name,'"')),"other";for(var n=function(t){var e=Lt(t).pathname;return"/"===e[0]?e:"/".concat(e)}(e),r=0,i=ve;r<i.length;r++){var o=i[r],a=o[0];if((0,o[1])(t.initiatorType,n))return a}return"other"}(t),o=or(t),a=X(t.startTime),s=function(t,e){if(t.traceId)return{_dd:{trace_id:t.traceId,rule_psr:ar(e)}}}(t,e),u=sr(n,a),c=ur(r,a,t.duration),l=B({date:a.timeStamp,resource:{id:g(),type:i,url:t.name},type:"resource"},s,o,u,c);return{startTime:a.relative,rawRumEvent:l,domainContext:{performanceEntry:t}}}function or(t){return{resource:h({duration:(e=t,n=e.duration,r=e.startTime,i=e.responseEnd,W(0===n&&r<i?et(r,i):n)),size:be(t)},me(t))};var e,n,r,i}function ar(t){return x(t.traceSampleRate)?t.traceSampleRate/100:void 0}function sr(t,e){var n=t.findTrackedSession(e.relative);return{_dd:{discarded:!n||!n.resourceAllowed}}}function ur(t,e,n){return{_dd:{page_states:t.findAll(e.relative,n)}}}function cr(t){return void 0===t&&(t=window),$n||("hidden"===document.visibilityState?$n={timeStamp:0}:($n={timeStamp:1/0},Jn=Qt(t,["pagehide","visibilitychange"],(function(t){"pagehide"!==t.type&&"hidden"!==document.visibilityState||($n.timeStamp=t.timeStamp,Jn())}),{capture:!0}).stop)),$n}var lr=6e5;function dr(t,e){var n={};function r(t){h(n,t),e(n)}var i=function(t,e){return{stop:t.subscribe(0,(function(t){for(var n=0,r=t;n<r.length;n++){var i=r[n];"navigation"===i.entryType&&e({domComplete:i.domComplete,domContentLoaded:i.domContentLoadedEventEnd,domInteractive:i.domInteractive,loadEvent:i.loadEventEnd,firstByte:i.responseStart>=0&&i.responseStart<=J()?i.responseStart:void 0})}})).unsubscribe}}(t,r).stop,o=function(t,e){var n=cr();return{stop:t.subscribe(0,(function(t){var e=C(t,(function(t){return"paint"===t.entryType&&"first-contentful-paint"===t.name&&t.startTime<n.timeStamp&&t.startTime<lr}));e&&r({firstContentfulPaint:e.startTime})})).unsubscribe}}(t).stop,a=function(t,e,n){var i=cr(),o=1/0,a=Qt(e,["pointerdown","keydown"],(function(t){o=t.timeStamp}),{capture:!0,once:!0}).stop,s=t.subscribe(0,(function(t){var e=function(t,e){for(var n=t.length-1;n>=0;n-=1){var r=t[n];if("largest-contentful-paint"===(a=r).entryType&&a.startTime<o&&a.startTime<i.timeStamp&&a.startTime<lr)return r}var a}(t);e&&r({largestContentfulPaint:e.startTime})})).unsubscribe;return{stop:function(){a(),s()}}}(t,window).stop,s=function(t,e){var n=cr(),i=t.subscribe(0,(function(t){var e=C(t,(function(t){return"first-input"===t.entryType&&t.startTime<n.timeStamp}));if(e){var i=et(e.startTime,e.processingStart);!function(t){r({firstInputDelay:t.firstInputDelay,firstInputTime:t.firstInputTime})}({firstInputDelay:i>=0?i:0,firstInputTime:e.startTime})}})).unsubscribe;return{stop:i}}(t).stop;return{stop:function(){i(),o(),a(),s()}}}function fr(t,e,n,r,i,o){var a,s={},u=function(t,e,n,i,o,a){var u="initial_load"===i,c=!0,l=[];function d(){var t;!c&&!u&&l.length>0&&(t=Math.max.apply(Math,l),s.loadingTime=t,r())}return{stop:gn(t,e,n,(function(t){c&&(c=!1,t.hadActivity&&l.push(et(o.timeStamp,t.end)),d())}
1)).stop,setLoadEvent:function(t){u&&(u=!1,l.push(t),d())}}}(t,e,n,i,o),c=u.stop,l=u.setLoadEvent;return Oe("layout-shift")?(s.cumulativeLayoutShift=0,a=function(t,e){var n=0,i=function(){var t,e,n=0;return{update:function(r){void 0===t||r.startTime-e>=p||r.startTime-t>=5e3?(t=e=r.startTime,n=r.value):(n+=r.value,e=r.startTime)},value:function(){return n}}}();return{stop:t.subscribe(0,(function(t){for(var e=0,o=t;e<o.length;e++){var a=o[e];"layout-shift"!==a.entryType||a.hadRecentInput||(i.update(a),i.value()>n&&(n=i.value(),u=_(n,4),s.cumulativeLayoutShift=u,r()))}var u})).unsubscribe}}(t).stop):a=b,{stop:function(){c(),a()},setLoadEvent:l,viewMetrics:s}}function pr(t,e,n,r,o,a,s){void 0===a&&(a=Q());var u,c,d,f,p=g(),y={},_={},b=0,w=m(r);s&&(c=s.name,d=s.service,f=s.version),t.notify(2,{id:p,name:c,startClocks:a,service:d,version:f,documentVersion:b});var S=v(l(N),3e3,{leading:!1}),k=S.throttled,T=S.cancel,C=fr(t,e,n,k,o,a),E=C.setLoadEvent,x=C.stop,A=C.viewMetrics,R=function(t,e,n){var r=mn({lifeCycle:t,isChildEvent:function(t){return t.view.id===e},onChange:n}),i=r.stop;return{scheduleStop:function(){setTimeout(l(i),3e5)},eventCounts:r.eventCounts}}(t,p,k),I=R.scheduleStop,O=R.eventCounts;function N(){b+=1;var e=void 0===u?$():u.timeStamp;t.notify(3,h({customTimings:_,documentVersion:b,id:p,name:c,service:d,version:f,loadingType:o,location:w,startClocks:a,timings:y,duration:et(a.timeStamp,e),isActive:void 0===u,eventCounts:O},A))}return N(),{name:c,service:d,version:f,scheduleUpdate:k,end:function(e){void 0===e&&(e=Q()),u=e,t.notify(4,{endClocks:u}),x(),I()},triggerUpdate:function(){T(),N()},updateTimings:function(t){y=t,void 0!==t.loadEvent&&E(t.loadEvent)},addTiming:function(t,e){var n=function(t){return t<31536e6}(e)?e:et(a.timeStamp,e);_[function(t){var e=t.replace(/[^a-zA-Z0-9-_.@$]/g,"_");return e!==t&&i.warn("Invalid timing name: ".concat(t,", sanitized to: ").concat(e)),e}(t)]=n}}}function vr(t){var e=t.indexOf("?");return e<0?t:t.slice(0,e)}function hr(t,e,n,r,i,o,a,s,u){return t.subscribe(3,(function(e){return t.notify(10,function(t,e,n,r){var i,o=r.getReplayStats(t.id),a=n.findFeatureFlagEvaluations(t.startClocks.relative),s={_dd:{document_version:t.documentVersion,replay_stats:o},date:t.startClocks.timeStamp,type:"view",view:{action:{count:t.eventCounts.actionCount},frustration:{count:t.eventCounts.frustrationCount},cumulative_layout_shift:t.cumulativeLayoutShift,first_byte:W(t.timings.firstByte),dom_complete:W(t.timings.domComplete),dom_content_loaded:W(t.timings.domContentLoaded),dom_interactive:W(t.timings.domInteractive),error:{count:t.eventCounts.errorCount},first_contentful_paint:W(t.timings.firstContentfulPaint),first_input_delay:W(t.timings.firstInputDelay),first_input_time:W(t.timings.firstInputTime),is_active:t.isActive,name:t.name,largest_contentful_paint:W(t.timings.largestContentfulPaint),load_event:W(t.timings.loadEvent),loading_time:(i=W(t.loadingTime),x(i)&&i<0?void 0:i),loading_type:t.loadingType,long_task:{count:t.eventCounts.longTaskCount},resource:{count:t.eventCounts.resourceCount},time_spent:W(t.duration),in_foreground_periods:e.selectInForegroundPeriodsFor(t.startClocks.relative,t.duration)},feature_flags:a&&!I(a)?a:void 0,session:{has_replay:!!o||void 0}};return I(t.customTimings)||(s.view.custom_timings=function(t,e){for(var n={},r=0,i=Object.keys(t);r<i.length;r++){var o=i[r];n[o]=e(t[o])}return n}(t.customTimings,W)),{rawRumEvent:s,startTime:t.startClocks.relative,domainContext:{location:t.location}}}(e,o,a,s))})),function(t,e,n,r,i,o,a){var s,u,c,d,f=(u=a,c=pr(e,n,r,t,"initial_load",tt(),u),d=dr(e,(function(t){c.updateTimings(t),
1c.scheduleUpdate()})).stop,{initialView:c,stop:d}),p=f.stop,v=f.initialView,h=function(){e.subscribe(8,(function(){v.end(),v=m(void 0,{name:v.name,service:v.service,version:v.version})})),e.subscribe(9,(function(t){"before_unload"===t.reason&&(v.end(),v.triggerUpdate())}));var t=window.setInterval(l((function(){v.triggerUpdate()})),3e5);return{stop:function(){clearInterval(t)}}}().stop;function m(i,o){return pr(e,n,r,t,"route_change",i,o)}return o&&(s=function(t){return t.subscribe((function(t){var e,n,r,i=t.oldLocation;if(n=t.newLocation,(e=i).pathname!==n.pathname||(r=n.hash.substr(1),!document.getElementById(r)&&vr(n.hash)!==vr(e.hash)))return v.end(),v.triggerUpdate(),void(v=m())}))}(i)),{addTiming:function(t,e){void 0===e&&(e=$()),v.addTiming(t,e),v.scheduleUpdate()},startView:function(t,e){v.end(e),v.triggerUpdate(),v=m(e,t)},stop:function(){null==s||s.unsubscribe(),p(),h(),v.end()}}}(n,t,r,e,i,!e.trackViewsManually,u)}var mr,gr=/^([a-z]+)=([a-z0-9-]+)$/,yr="_dd_s",_r=[];function br(t,e){var n;if(void 0===e&&(e=0),mr||(mr=t),t===mr)if(e>=100)kr();else{var r,i=Er();if(wr()){if(i.lock)return void Sr(t,e);if(r=g(),i.lock=r,Cr(i,t.options),(i=Er()).lock!==r)return void Sr(t,e)}var o=t.process(i);if(wr()&&(i=Er()).lock!==r)Sr(t,e);else{if(o&&Tr(o,t.options),wr()&&(!o||!xr(o))){if((i=Er()).lock!==r)return void Sr(t,e);delete i.lock,Cr(i,t.options),o=i}null===(n=t.after)||void 0===n||n.call(t,o||i),kr()}}else _r.push(t)}function wr(){return!!window.chrome||/HeadlessChrome/.test(window.navigator.userAgent)}function Sr(t,e){setTimeout(l((function(){br(t,e+1)})),10)}function kr(){mr=void 0;var t=_r.shift();t&&br(t)}function Tr(t,e){xr(t)?function(t){ot(yr,"",0,t)}(e):(t.expire=String(K()+Je),Cr(t,e))}function Cr(t,e){ot(yr,function(t){return R(t).map((function(t){var e=t[0],n=t[1];return"".concat(e,"=").concat(n)})).join("&")}(t),Je,e)}function Er(){var t=at(yr),e={};return function(t){return void 0!==t&&(-1!==t.indexOf("&")||gr.test(t))}(t)&&t.split("&").forEach((function(t){var n=gr.exec(t);if(null!==n){var r=n[1],i=n[2];e[r]=i}})),e}function xr(t){return I(t)}var Ar=[];function Rr(t,e,n){!function(t){var e=at(yr),n=at("_dd"),r=at("_dd_r"),i=at("_dd_l");if(!e){var o={};n&&(o.id=n),i&&/^[01]$/.test(i)&&(o.logs=i),r&&/^[012]$/.test(r)&&(o.rum=r),Tr(o,t)}}(t);var r=function(t,e,n){var r,i=new Wt,o=new Wt,a=setInterval(l((function(){br({options:t,process:function(t){return d(t)?void 0:{}},after:u})})),1e3),s=d(r=Er())?r:{};function u(t){return d(t)||(t={}),c()&&(function(t){return s.id!==t.id||s[e]!==t[e]}(t)?(s={},o.notify()):s=t),t}function c(){return void 0!==s[e]}function d(t){return(void 0===t.created||K()-Number(t.created)<144e5)&&(void 0===t.expire||K()<Number(t.expire))}return{expandOrRenewSession:v(l((function(){var r;br({options:t,process:function(t){var i=u(t);return r=function(t){var r=n(t[e]),i=r.trackingType,o=r.isTracked;return t[e]=i,o&&!t.id&&(t.id=g(),t.created=String(K())),o}(i),i},after:function(t){r&&!c()&&function(t){s=t,i.notify()}(t),s=t}})})),1e3).throttled,expandSession:function(){br({options:t,process:function(t){return c()?u(t):void 0}})},getSession:function(){return s},renewObservable:i,expireObservable:o,stop:function(){clearInterval(a)}}}(t,e,n);Ar.push((function(){return r.stop()}));var i,o=new tn(144e5);function a(){return{id:r.getSession().id,trackingType:r.getSession()[e]}}return Ar.push((function(){return o.stop()})),r.renewObservable.subscribe((function(){o.add(a(),J())})),r.expireObservable.subscribe((function(){o.closeActive(J())})),r.expandOrRenewSession(),o.add(a(),tt().relative),i=Qt(window,["click","touchstart","keydown","scroll"],(function(){return r.expandOrRenewSession()}),{capture:!0,passive:!0}).stop,Ar.push(i),function(t){var e=l((function(){"visible"===document.visibilityState&&r.expandSession()})),n=Jt(document,"visibilitychange",e).stop;Ar.push(n);var i=setInterval(e,6e4);Ar.push((function(){clearInterval(i)}))}(),{findActiveSession:function(t){return o.find(t)},renewObservable:r.renewObservable,expireObservable:r.expireObservable}}function Ir(t){return"2"===t||"1"===t}var Or=/[^\u0000-\u007F]/,Nr=function(){function t(t,e,n,r,i,o){var a=this;this.request=t,this.batchMessagesLimit=e,this.batchBytesLimit=n,this.messageBytesLimit=r,this.flushTimeout=i,this.pageExitObservable=o,this.pushOnlyBuffer=[],this.upsertBuffer={},this.bufferBytesCount=0,this.bufferMessagesCount=0,o.subscribe((function(){return a.flush(a.request.sendOnExit)})),this.flushPeriodically()}return t.prototype.add=function(t){this.addOrUpdate(t)},t.prototype.upsert=function(t,e){this.addOrUpdate(t,e)},t.prototype.flush=function(t){if(void 0===t&&(t=this.request.send),0!==this.bufferMessagesCount){var e=this.pushOnlyBuffer.concat(A(this.upsertBuffer)),n=this.bufferBytesCount;this.pushOnlyBuffer=[],this.upsertBuffer={},this.bufferBytesCount=0,this.bufferMessagesCount=0,t({data:e.join("\n"),bytesCount:n})}},t.prototype.computeBytesCount=function(t){return Or.test(t)?void 0!==window.TextEncoder?(new TextEncoder).encode(t).length:new Blob([t]).size:t.length},t.prototype.addOrUpdate=function(t,e){var n=this.process(t),r=n.processedMessage,o=n.messageBytesCount;o>=this.messageBytesLimit?i.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(this.messageBytesLimit,"KB.")):(this.hasMessageFor(e)&&this.remove(e),this.willReachedBytesLimitWith(o)&&this.flush(),this.push(r,o,e),this.isFull()&&this.flush())},t.prototype.process=function(t){var e=w(t);return{processedMessage:e,messageBytesCount:this.computeBytesCount(e)}},t.prototype.push=function(t,e,n){this.bufferMessagesCount>0&&(this.bufferBytesCount+=1),void 0!==n?this.upsertBuffer[n]=t:this.pushOnlyBuffer.push(t),this.bufferBytesCount+=e,this.bufferMessagesCount+=1},t.prototype.remove=function(t){var e=this.upsertBuffer[t];delete this.upsertBuffer[t];var n=this.computeBytesCount(e);this.bufferBytesCount-=n,this.bufferMessagesCount-=1,this.bufferMessagesCount>0&&(this.bufferBytesCount-=1)},t.prototype.hasMessageFor=function(t){return void 0!==t&&void 0!==this.upsertBuffer[t]},t.prototype.willReachedBytesLimitWith=function(t){return this.bufferBytesCount+t+1>=this.batchBytesLimit},t.prototype.isFull=function(){return this.bufferMessagesCount===this.batchMessagesLimit||this.bufferBytesCount>=this.batchBytesLimit},t.prototype.flushPeriodically=function(){var t=this;setTimeout(l((function(){t.flush(),t.flushPeriodically()})),this.flushTimeout)},t}();function Lr(t,e,n,r,i){0===e.transportStatus&&0===e.queuedPayloads.size()&&e.bandwidthMonitor.canHandle(t)?Ur(t,e,n,{onSuccess:function(){return Pr(0,e,n,r,i)},onFailure:function(){e.queuedPayloads.enqueue(t),Mr(e,n,r,i)}}):e.queuedPayloads.enqueue(t)}function Mr(t,e,n,r){2===t.transportStatus&&setTimeout(l((function(){Ur(t.queuedPayloads.first(),t,e,{onSuccess:function(){t.queuedPayloads.dequeue(),t.currentBackoffTime=1e3,Pr(1,t,e,n,r)},onFailure:function(){t.currentBackoffTime=Math.min(6e4,2*t.currentBackoffTime),Mr(t,e,n,r)}})})),t.currentBackoffTime)}function Ur(t,e,n,r){var i=r.onSuccess,o=r.onFailure;e.bandwidthMonitor.add(t),n(t,(function(n){e.bandwidthMonitor.remove(t),function(t){return"opaque"!==t.type&&(0===t.status&&!navigator.onLine||408===t.status||429===t.status||t.status>=500)}(n)?(e.transportStatus=e.bandwidthMonitor.ongoingRequestCount>0?1:2,t.retry={count:t.retry?t.retry.count+1:1,lastFailureStatus:n.status},o()):(e.transportStatus=0,i())}))}function Pr(t,e,n,r,i){0===t&&e.queuedPayloads.isFull()&&!e.queueFullReported&&(i({message:"Reached max ".concat(r," events size queued for upload: ").concat(3,"MiB"),source:Tt,startClocks:Q()}),e.queueFullReported=!0);var o=e.queuedPayloads;for(e.queuedPayloads=Dr();o.size()>0;)Lr(o.dequeue(),e,n,r,i)}function Dr(){var t=[];return{bytesCount:0,enqueue:function(e){this.isFull()||(t.push(e),this.bytesCount+=e.bytesCount)},first:function(){return t[0]},dequeue:function(){var e=t.shift();return e&&(this.bytesCount-=e.bytesCount),e},size:function(){return t.length},isFull:function(){return this.bytesCount>=3145728}}}function zr(t,e,n){var r={transportStatus:0,currentBackoffTime:1e3,bandwidthMonitor:{ongoingRequestCount:0,ongoingByteCount:0,canHandle:function(t){return 0===this.ongoingRequestCount||this.ongoingByteCount+t.bytesCount<=81920&&this.ongoingRequestCount<32},add:function(t){this.ongoingRequestCount+=1,this.ongoingByteCount+=t.bytesCount},remove:function(t){this.ongoingRequestCount-=1,this.ongoingByteCount-=t.bytesCount}},queuedPayloads:Dr(),queueFullReported:!1},i=function(n,r){return function(t,e,n,r){var i=n.data,o=n.bytesCount,a=n.retry;if(function(){try{return window.Request&&"keepalive"in new Request
1("http://a")}catch(t){return!1}}()&&o<e){var s=t.build("fetch",a);fetch(s,{method:"POST",body:i,keepalive:!0,mode:"cors"}).then(l((function(t){return null==r?void 0:r({status:t.status,type:t.type})})),l((function(){Fr(t.build("xhr",a),i,r)})))}else Fr(t.build("xhr",a),i,r)}(t,e,n,r)};return{send:function(e){Lr(e,r,i,t.endpointType,n)},sendOnExit:function(n){!function(t,e,n){var r=n.data,i=n.bytesCount;if(!!navigator.sendBeacon&&i<e)try{var o=t.build("beacon");if(navigator.sendBeacon(o,r))return}catch(t){!function(t){Br||(Br=!0,ae(t))}(t)}Fr(t.build("xhr"),r)}(t,e,n)}}}var Br=!1;function Fr(t,e,n){var r=new XMLHttpRequest,i=l((function(){r.removeEventListener("loadend",i),null==n||n({status:r.status})}));r.open("POST",t,!0),r.addEventListener("loadend",i),r.send(e)}var qr,Hr=[];function jr(){return"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}function Zr(t,e){void 0===e&&(e=500),t!==qr&&(qr=t,Hr.length===e&&Hr.shift(),Hr.push({state:qr,startTime:J()}))}var Vr={IGNORE:"ignore",HIDDEN:"hidden",ALLOW:Ft.ALLOW,MASK:Ft.MASK,MASK_USER_INPUT:Ft.MASK_USER_INPUT},Gr="data-dd-privacy",Yr="hidden",Xr="***",Wr={INPUT:!0,OUTPUT:!0,TEXTAREA:!0,SELECT:!0,OPTION:!0,DATALIST:!0,OPTGROUP:!0};function Kr(t,e){var n=Ee(t),r=n?Kr(n,e):e;return $r(Jr(t),r)}function $r(t,e){switch(e){case Vr.HIDDEN:case Vr.IGNORE:return e}switch(t){case Vr.ALLOW:case Vr.MASK:case Vr.MASK_USER_INPUT:case Vr.HIDDEN:case Vr.IGNORE:return t;default:return e}}function Jr(t){if(ke(t)){var e=t.getAttribute(Gr);if("BASE"===t.tagName)return Vr.ALLOW;if("INPUT"===t.tagName){var n=t;if("password"===n.type||"email"===n.type||"tel"===n.type)return Vr.MASK;if("hidden"===n.type)return Vr.MASK;var r=n.getAttribute("autocomplete");if(r&&0===r.indexOf("cc-"))return Vr.MASK}return e===Yr||t.classList.contains("dd-privacy-hidden")?Vr.HIDDEN:"mask"===e||t.classList.contains("dd-privacy-mask")?Vr.MASK:"mask-user-input"===e||t.classList.contains("dd-privacy-mask-user-input")?Vr.MASK_USER_INPUT:"allow"===e||t.classList.contains("dd-privacy-allow")?Vr.ALLOW:function(t){if("SCRIPT"===t.nodeName)return!0;if("LINK"===t.nodeName){var e=i("rel");return/preload|prefetch/i.test(e)&&"script"===i("as")||"shortcut icon"===e||"icon"===e}if("META"===t.nodeName){var n=i("name"),r=(e=i("rel"),i("property"));return/^msapplication-tile(image|color)$/.test(n)||"application-name"===n||"icon"===e||"apple-touch-icon"===e||"shortcut icon"===e||"keywords"===n||"description"===n||/^(og|twitter|fb):/.test(r)||/^(og|twitter):/.test(n)||"pinterest"===n||"robots"===n||"googlebot"===n||"bingbot"===n||t.hasAttribute("http-equiv")||"author"===n||"generator"===n||"framework"===n||"publisher"===n||"progid"===n||/^article:/.test(r)||/^product:/.test(r)||"google-site-verification"===n||"yandex-verification"===n||"csrf-token"===n||"p:domain_verify"===n||"verify-v1"===n||"verification"===n||"shopify-checkout-api-token"===n}function i(e){return(t.getAttribute(e)||"").toLowerCase()}return!1}(t)?Vr.IGNORE:void 0}}function Qr(t,e){switch(e){case Vr.MASK:case Vr.HIDDEN:case Vr.IGNORE:return!0;case Vr.MASK_USER_INPUT:return Se(t)?ti(t.parentNode):ti(t);default:return!1}}function ti(t){if(!t||t.nodeType!==t.ELEMENT_NODE)return!1;var e=t;if("INPUT"===e.tagName)switch(e.type){case"button":case"color":case"reset":case"submit":return!1}return!!Wr[e.tagName]}function ei(t,e,n){var r,i=null===(r=t.parentElement)||void 0===r?void 0:r.tagName,o=t.textContent||"";if(!e||o.trim()){var a="STYLE"===i||void 0;if("SCRIPT"===i)o=Xr;else if(n===Vr.HIDDEN)o=Xr;else if(Qr(t,n)&&!a)if("DATALIST"===i||"SELECT"===i||"OPTGROUP"===i){if(!o.trim())return}else o="OPTION"===i?Xr:o.replace(/\S/g,"x");return o}}var ni=new WeakMap;function ri(t){return ni.has(t)}function ii(t){return ni.get(t)}function oi(t,e){var n=t.tagName,r=t.value;if(Qr(t,e)){var i=t.type;if("INPUT"===n&&("button"===i||"submit"===i||"reset"===i))return r;if(!r||"OPTION"===n)return;return Xr}return"OPTION"===n||"SELECT"===n?t.value:"INPUT"===n||"TEXTAREA"===n?r:void 0}var ai=/url\((?:(')([^']*)'|(")([^"]*)"|([^)]*))\)/gm,si=/^[A-Za-z]+:|^\/\//,ui=/^data:.*,/i;function ci(t){if(void 0!==t&&0!==t.length)return t.map((function(t){var e=t.cssRules||t.rules;return{cssRules:Array.from(e,(function(t){return t.cssText})),disabled:t.disabled||void 0,media:t.media.length>0?Array.from(t.media):void 0}}))}function li(t){return Boolean(t.changedTouches)}function di(t,e){Array.prototype.forEach.call(t,e)}
1function fi(t,e){return{data:h({source:t},e),type:3,timestamp:$()}}function pi(t){for(var e=[],n=t;n.parentRule;){var r=Array.from(n.parentRule.cssRules).indexOf(n);e.unshift(r),n=n.parentRule}if(n.parentStyleSheet){var i=Array.from(n.parentStyleSheet.cssRules).indexOf(n);return e.unshift(i),e}}function vi(t,e,n){return hi(t,{serializationContext:n,parentNodePrivacyLevel:e.defaultPrivacyLevel,configuration:e})}function hi(t,e){var n=function(t,e){switch(t.nodeType){case t.DOCUMENT_NODE:return function(t,e){return{type:0,childNodes:mi(t,e),adoptedStyleSheets:ci(t.adoptedStyleSheets)}}(t,e);case t.DOCUMENT_FRAGMENT_NODE:return function(t,e){var n=[];t.childNodes.length&&(n=mi(t,e));var r=Ce(t);return r&&e.serializationContext.shadowRootsController.addShadowRoot(t),{type:11,childNodes:n,isShadowRoot:r,adoptedStyleSheets:r?ci(t.adoptedStyleSheets):void 0}}(t,e);case t.DOCUMENT_TYPE_NODE:return{type:1,name:(n=t).name,publicId:n.publicId,systemId:n.systemId};case t.ELEMENT_NODE:return function(t,e){var n,r,i=bi(t.tagName),o="svg"===(r=t).tagName||r instanceof SVGElement||void 0,a=$r(Jr(t),e.parentNodePrivacyLevel);if(a===Vr.HIDDEN){var s=t.getBoundingClientRect(),u=s.width,c=s.height;return{type:2,tagName:i,attributes:(n={rr_width:"".concat(u,"px"),rr_height:"".concat(c,"px")},n[Gr]=Yr,n),childNodes:[],isSVG:o}}if(a!==Vr.IGNORE){var l=function(t,e,n){var r,i;if(e===Vr.HIDDEN)return{};for(var o={},a=bi(t.tagName),s=t.ownerDocument,u=0;u<t.attributes.length;u+=1){var c=t.attributes.item(u).name,l=gi(t,e,c,n.configuration);null!==l&&(o[c]=l)}if(t.value&&("textarea"===a||"select"===a||"option"===a||"input"===a)){var d=oi(t,e);void 0!==d&&(o.value=d)}if("option"===a&&e===Vr.ALLOW){var f=t;f.selected&&(o.selected=f.selected)}if("link"===a){var p=Array.from(s.styleSheets).find((function(e){return e.href===t.href}));(i=wi(p))&&p&&(delete o.rel,delete o.href,o._cssText=i)}"style"===a&&t.sheet&&!(t.innerText||t.textContent||"").trim().length&&((i=wi(t.sheet))&&(o._cssText=i));var v,h,m=t;if("input"!==a||"radio"!==m.type&&"checkbox"!==m.type||(e===Vr.ALLOW?o.checked=!!m.checked:Qr(m,e)&&(o.checked=Xr)),"audio"===a||"video"===a){var g=t;o.rr_mediaState=g.paused?"paused":"played"}var y=n.serializationContext;switch(y.status){case 0:v=Math.round(t.scrollTop),h=Math.round(t.scrollLeft),(v||h)&&y.elementsScrollPositions.set(t,{scrollTop:v,scrollLeft:h});break;case 1:y.elementsScrollPositions.has(t)&&(v=(r=y.elementsScrollPositions.get(t)).scrollTop,h=r.scrollLeft)}return h&&(o.rr_scrollLeft=h),v&&(o.rr_scrollTop=v),o}(t,a,e),d=[];if(t.childNodes.length&&(d=mi(t,e.parentNodePrivacyLevel===a&&e.ignoreWhiteSpace===("head"===i)?e:h({},e,{parentNodePrivacyLevel:a,ignoreWhiteSpace:"head"===i}))),Te(t)&&dt("record_shadow_dom")){var f=hi(t.shadowRoot,e);null!==f&&d.push(f)}return{type:2,tagName:i,attributes:l,childNodes:d,isSVG:o}}}(t,e);case t.TEXT_NODE:return function(t,e){var n,r=null===(n=t.parentElement)||void 0===n?void 0:n.tagName,i=ei(t,e.ignoreWhiteSpace||!1,e.parentNodePrivacyLevel);if(i)return{type:3,textContent:i,isStyle:"STYLE"===r||void 0}}(t,e);case t.CDATA_SECTION_NODE:return{type:4,textContent:""}}var n}(t,e);if(!n)return null;var r=ii(t)||yi++,i=n;return i.id=r,function(t,e){ni.set(t,e)}(t,r),e.serializedNodeIds&&e.serializedNodeIds.add(r),i}function mi(t,e){var n=[];return di(t.childNodes,(function(t){var r=hi(t,e);r&&n.push(r)})),n}function gi(t,e,n,r){if(e===Vr.HIDDEN)return null;var i=t.getAttribute(n);if(e===Vr.MASK&&n!==Gr&&!In.includes(n)&&n!==r.actionNameAttribute){var o=t.tagName;switch(n){case"title":case"alt":case"placeholder":return Xr}if(!("IMG"!==o&&"SOURCE"!==o||"src"!==n&&"srcset"!==n))return"data:image/gif;base64,R0lGODlhAQABAIAAAMLCwgAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==";if("A"===o&&"href"===n)return Xr;if(i&&O(n,"data-"))return Xr}return i&&"string"==typeof i&&i.length>1e5&&"data:"===i.slice(0,5)?"data:truncated":i}var yi=1,_i=/[^a-z1-6-_]/;function bi(t){var e=t.toLowerCase().trim();return _i.test(e)?"div":e}function wi(t){try{var e=t.rules||t.cssRules;return e?(n=Array.from(e,Si).join(""),r=t.href,n.replace(ai,(function(t,e,n,i,o,a){var s=n||o||a;if(!r||!s||si.test(s)||ui.test(s))return t;var u=e||i||"";
1return"url(".concat(u).concat(function(t,e){try{return Lt(t,e).href}catch(e){return t}}(s,r)).concat(u,")")}))):null}catch(t){return null}var n,r}function Si(t){return function(t){return"styleSheet"in t}(t)?wi(t.styleSheet)||"":t.cssText}function ki(t,e,n,r){var i=ce();if(!i)return{stop:b,flush:b};var o=function(t){var e=b,n=[];function r(){e(),t(n),n=[]}return{addMutations:function(t){0===n.length&&(e=function(t,e){if(window.requestIdleCallback){var n=window.requestIdleCallback(l(t),{timeout:100});return function(){return window.cancelIdleCallback(n)}}var r=window.requestAnimationFrame(l(t));return function(){return window.cancelAnimationFrame(r)}}(r)),n.push.apply(n,t)},flush:r,stop:function(){e()}}}((function(i){!function(t,e,n,r,i){t.filter((function(t){return"childList"===t.type})).forEach((function(t){t.removedNodes.forEach((function(t){Ti(t,r.removeShadowRoot)}))}));var o=t.filter((function(t){return i.contains(t.target)&&function(t){for(var e=t;e;){if(!ri(e)&&!Ce(e))return!1;e=Ee(e)}return!0}(t.target)&&Kr(t.target,n.defaultPrivacyLevel)!==Vr.HIDDEN})),a=function(t,e,n){for(var r=new Set,i=new Map,o=function(t){di(t.addedNodes,(function(t){r.add(t)})),di(t.removedNodes,(function(e){r.has(e)||i.set(e,t.target),r.delete(e)}))},a=0,s=t;a<s.length;a++)o(s[a]);var u=Array.from(r);u.sort((function(t,e){var n=t.compareDocumentPosition(e);return n&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:n&Node.DOCUMENT_POSITION_CONTAINS||n&Node.DOCUMENT_POSITION_FOLLOWING?1:n&Node.DOCUMENT_POSITION_PRECEDING?-1:0}));for(var c=new Set,l=[],d=0,f=u;d<f.length;d++){var p=f[d];if(!y(p)){var v=Kr(p.parentNode,e.defaultPrivacyLevel);if(v!==Vr.HIDDEN&&v!==Vr.IGNORE){var h=hi(p,{serializedNodeIds:c,parentNodePrivacyLevel:v,serializationContext:{status:2,shadowRootsController:n},configuration:e});if(h){var m=Ee(p);l.push({nextId:_(p),parentId:ii(m),node:h})}}}}var g=[];return i.forEach((function(t,e){ri(e)&&g.push({parentId:ii(t),id:ii(e)})})),{adds:l,removes:g,hasBeenSerialized:y};function y(t){return ri(t)&&c.has(ii(t))}function _(t){for(var e=t.nextSibling;e;){if(ri(e))return ii(e);e=e.nextSibling}return null}}(o.filter((function(t){return"childList"===t.type})),n,r),s=a.adds,u=a.removes,c=a.hasBeenSerialized,l=function(t,e){for(var n,r=[],i=new Set,o=t.filter((function(t){return!i.has(t.target)&&(i.add(t.target),!0)})),a=0,s=o;a<s.length;a++){var u=s[a];if(u.target.textContent!==u.oldValue){var c=Kr(Ee(u.target),e.defaultPrivacyLevel);c!==Vr.HIDDEN&&c!==Vr.IGNORE&&r.push({id:ii(u.target),value:null!==(n=ei(u.target,!1,c))&&void 0!==n?n:null})}}return r}(o.filter((function(t){return"characterData"===t.type&&!c(t.target)})),n),d=function(t,e){for(var n=[],r=new Map,i=t.filter((function(t){var e=r.get(t.target);return!(null==e?void 0:e.has(t.attributeName))&&(e?e.add(t.attributeName):r.set(t.target,new Set([t.attributeName])),!0)})),o=new Map,a=0,s=i;a<s.length;a++){var u=s[a];if(u.target.getAttribute(u.attributeName)!==u.oldValue){var c=Kr(u.target,e.defaultPrivacyLevel),l=gi(u.target,c,u.attributeName,e),d=void 0;if("value"===u.attributeName){var f=oi(u.target,c);if(void 0===f)continue;d=f}else d="string"==typeof l?l:null;var p=o.get(u.target);p||(p={id:ii(u.target),attributes:{}},n.push(p),o.set(u.target,p)),p.attributes[u.attributeName]=d}}return n}(o.filter((function(t){return"attributes"===t.type&&!c(t.target)})),n);(l.length||d.length||u.length||s.length)&&e({adds:s,removes:u,texts:l,attributes:d})}(i.concat(a.takeRecords()),t,e,n,r)})),a=new i(l(o.addMutations));return a.observe(r,{attributeOldValue:!0,attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),{stop:function(){a.disconnect(),o.stop()},flush:function(){o.flush()}}}function Ti(t,e){var n;dt("record_shadow_dom")&&(Te(t)&&e(t.shadowRoot),(n=t,Te(n)?n.shadowRoot.childNodes:n.childNodes).forEach((function(t){return Ti(t,e)})))}var Ci,Ei=function(t,e){var n=window.visualViewport,r={layoutViewportX:t,layoutViewportY:e,visualVie
1wportX:t,visualViewportY:e};return n?(function(){var t=window.visualViewport;return Math.abs(t.pageTop-t.offsetTop-window.scrollY)>25||Math.abs(t.pageLeft-t.offsetLeft-window.scrollX)>25}()?(r.layoutViewportX=Math.round(t+n.offsetLeft),r.layoutViewportY=Math.round(e+n.offsetTop)):(r.visualViewportX=Math.round(t-n.offsetLeft),r.visualViewportY=Math.round(e-n.offsetTop)),r):r},xi=function(){var t=window.visualViewport;return{scale:t.scale,offsetLeft:t.offsetLeft,offsetTop:t.offsetTop,pageLeft:t.pageLeft,pageTop:t.pageTop,height:t.height,width:t.width}};function Ai(){var t,e=window.visualViewport;return t=e?e.pageLeft-e.offsetLeft:void 0!==window.scrollX?window.scrollX:window.pageXOffset||0,Math.round(t)}function Ri(){var t,e=window.visualViewport;return t=e?e.pageTop-e.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0,Math.round(t)}var Ii=new WeakMap,Oi=1;function Ni(t){return Ii.has(t)||Ii.set(t,Oi++),Ii.get(t)}var Li,Mi=((Ci={}).mouseup=0,Ci.mousedown=1,Ci.click=2,Ci.contextmenu=3,Ci.dblclick=4,Ci.focus=5,Ci.blur=6,Ci.touchstart=7,Ci.touchend=9,Ci);function Ui(t,e,n){var r=void 0===n?{}:n,i=r.domEvents,o=void 0===i?["input","change"]:i,a=r.target,s=void 0===a?document:a,u=new WeakMap;function c(t){var n=Kr(t,e);if(n!==Vr.HIDDEN){var r,i=t.type;if("radio"===i||"checkbox"===i){if(Qr(t,n))return;r={isChecked:t.checked}}else{var o=oi(t,n);if(void 0===o)return;r={text:o}}l(t,r);var a=t.name;"radio"===i&&a&&t.checked&&di(document.querySelectorAll('input[type="radio"][name="'.concat(a,'"]')),(function(e){e!==t&&l(e,{isChecked:!1})}))}}function l(e,n){if(ri(e)){var r=u.get(e);r&&r.text===n.text&&r.isChecked===n.isChecked||(u.set(e,n),t(h({id:ii(e)},n)))}}var d=Qt(s,o,(function(t){var e=Pi(t);(e instanceof HTMLInputElement||e instanceof HTMLTextAreaElement||e instanceof HTMLSelectElement)&&c(e)}),{capture:!0,passive:!0}).stop,f=[rn(HTMLInputElement.prototype,"value",c),rn(HTMLInputElement.prototype,"checked",c),rn(HTMLSelectElement.prototype,"value",c),rn(HTMLTextAreaElement.prototype,"value",c),rn(HTMLSelectElement.prototype,"selectedIndex",c)];return function(){f.forEach((function(t){return t.stop()})),d()}}function Pi(t){return!0===t.composed&&Te(t.target)&&dt("record_shadow_dom")?t.composedPath()[0]:t.target}function Di(t){var e=t.emit;if(!e)throw new Error("emit function is required");var n,r=(n=new WeakMap,{set:function(t,e){(t!==document||document.scrollingElement)&&n.set(t===document?document.scrollingElement:t,e)},get:function(t){return n.get(t)},has:function(t){return n.has(t)}}),i=function(t){e(fi(0,t))},o=function(t){return e(fi(5,t))},a=function(t,e){var n=e.mutationCb,r=e.inputCb,i=new Map,o={addShadowRoot:function(e){var a=ki(n,t,o,e),s=a.stop,u=a.flush,c=Ui(r,t.defaultPrivacyLevel,{target:e,domEvents:["change"]});i.set(e,{flush:u,stop:function(){s(),c()}})},removeShadowRoot:function(t){var e=i.get(t);e?(e.stop(),i.delete(t)):oe("no shadow root in map")},stop:function(){i.forEach((function(t){return(0,t.stop)()}))},flush:function(){i.forEach((function(t){return(0,t.flush)()}))}};return o}(t.configuration,{mutationCb:i,inputCb:o}),s=function(n,i){void 0===n&&(n=$()),void 0===i&&(i={status:0,elementsScrollPositions:r,shadowRootsController:a});var o=Fe(),s=o.width,u=o.height;e({data:{height:u,href:window.location.href,width:s},type:4,timestamp:n}),e({data:{has_focus:document.hasFocus()},type:6,timestamp:n}),e({data:{node:vi(document,t.configuration,i),initialOffset:{left:Ai(),top:Ri()}},type:2,timestamp:n}),window.visualViewport&&e({data:xi(),type:8,timestamp:n})};s();var u,c,d,f,p,m,g,y,_,w,S,k,T,C,E,x,A,R,I,O=(u={lifeCycle:t.lifeCycle,configuration:t.configuration,elementsScrollPositions:r,inputCb:o,mediaInteractionCb:function(t){return e(fi(7,t))},mouseInteractionCb:function(t){return e(t)},mousemoveCb:function(t,n){return e(fi(n,{positions:t}))},mutationCb:i,scrollCb:function(t){return e(fi(3,t))},styleSheetCb:function(t){return e(fi(8,t))},viewportResizeCb:function(t){return e(fi(4,t))},frustrationCb:function(t){return e(t)},focusCb:function(t){return e({data:t,type:6,timestamp:$()})}
1,visualViewportResizeCb:function(t){e({data:t,type:8,timestamp:$()})},shadowRootsController:a},g=ki(u.mutationCb,u.configuration,u.shadowRootsController,document),R=u.mousemoveCb,I=v(l((function(t){var e=Pi(t);if(ri(e)){var n=li(t)?t.changedTouches[0]:t,r=n.clientX,i=n.clientY,o={id:ii(e),timeOffset:0,x:r,y:i};if(window.visualViewport){var a=Ei(r,i),s=a.visualViewportX,u=a.visualViewportY;o.x=s,o.y=u}R([o],li(t)?6:1)}})),50,{trailing:!1}).throttled,y=Qt(document,["mousemove","touchmove"],I,{capture:!0,passive:!0}).stop,_=function(t,e){return Qt(document,Object.keys(Mi),(function(n){var r=Pi(n);if(Kr(r,e)!==Vr.HIDDEN&&ri(r)){var i=li(n)?n.changedTouches[0]:n,o=i.clientX,a=i.clientY,s={id:ii(r),type:Mi[n.type],x:o,y:a};if(window.visualViewport){var u=Ei(o,a),c=u.visualViewportX,l=u.visualViewportY;s.x=c,s.y=l}var d=h({id:Ni(n)},fi(2,s));t(d)}}),{capture:!0,passive:!0}).stop}(u.mouseInteractionCb,u.configuration.defaultPrivacyLevel),w=function(t,e,n){var r=v(l((function(r){var i=Pi(r);if(i&&Kr(i,e)!==Vr.HIDDEN&&ri(i)){var o=ii(i),a=i===document?{scrollTop:Ri(),scrollLeft:Ai()}:{scrollTop:Math.round(i.scrollTop),scrollLeft:Math.round(i.scrollLeft)};n.set(i,a),t({id:o,x:a.scrollLeft,y:a.scrollTop})}})),100).throttled;return Jt(document,"scroll",r,{capture:!0,passive:!0}).stop}(u.scrollCb,u.configuration.defaultPrivacyLevel,u.elementsScrollPositions),S=function(t){return Be().subscribe(t).unsubscribe}(u.viewportResizeCb),k=Ui(u.inputCb,u.configuration.defaultPrivacyLevel),c=u.mediaInteractionCb,d=u.configuration.defaultPrivacyLevel,T=Qt(document,["play","pause"],(function(t){var e=Pi(t);e&&Kr(e,d)!==Vr.HIDDEN&&ri(e)&&c({id:ii(e),type:"play"===t.type?0:1})}),{capture:!0,passive:!0}).stop,C=function(t){function e(t,e){t&&ri(t.ownerNode)&&e(ii(t.ownerNode))}var n=[nn(CSSStyleSheet.prototype,"insertRule",{before:function(n,r){e(this,(function(e){return t({id:e,adds:[{rule:n,index:r}]})}))}}),nn(CSSStyleSheet.prototype,"deleteRule",{before:function(n){e(this,(function(e){return t({id:e,removes:[{index:n}]})}))}})];function r(r){n.push(nn(r.prototype,"insertRule",{before:function(n,r){var i=this;e(this.parentStyleSheet,(function(e){var o=pi(i);o&&(o.push(r||0),t({id:e,adds:[{rule:n,index:o}]}))}))}}),nn(r.prototype,"deleteRule",{before:function(n){var r=this;e(this.parentStyleSheet,(function(e){var i=pi(r);i&&(i.push(n),t({id:e,removes:[{index:i}]}))}))}}))}return"undefined"!=typeof CSSGroupingRule?r(CSSGroupingRule):(r(CSSMediaRule),r(CSSSupportsRule)),function(){return n.forEach((function(t){return t.stop()}))}}(u.styleSheetCb),f=u.focusCb,E=Qt(window,["focus","blur"],(function(){f({has_focus:document.hasFocus()})})).stop,x=function(t){if(!window.visualViewport)return b;var e=v(l((function(){t(xi())})),200,{trailing:!1}),n=e.throttled,r=e.cancel,i=Qt(window.visualViewport,["resize","scroll"],n,{capture:!0,passive:!0}).stop;return function(){i(),r()}}
1(u.visualViewportResizeCb),p=u.lifeCycle,m=u.frustrationCb,A=p.subscribe(10,(function(t){var e,n,r;"action"===t.rawRumEvent.type&&"click"===t.rawRumEvent.action.type&&(null===(n=null===(e=t.rawRumEvent.action.frustration)||void 0===e?void 0:e.type)||void 0===n?void 0:n.length)&&"events"in t.domainContext&&(null===(r=t.domainContext.events)||void 0===r?void 0:r.length)&&m({timestamp:t.rawRumEvent.date,type:9,data:{frustrationTypes:t.rawRumEvent.action.frustration.type,recordIds:t.domainContext.events.map((function(t){return Ni(t)}))}})})).unsubscribe,{flush:function(){g.flush()},stop:function(){g.stop(),y(),_(),w(),S(),k(),T(),C(),E(),x(),A()}}),N=O.stop,L=O.flush;function M(){a.flush(),L()}return{stop:function(){a.stop(),N()},takeSubsequentFullSnapshot:function(t){M(),s(t,{shadowRootsController:a,status:1,elementsScrollPositions:r})},flushMutations:M,shadowRootsController:a}}function zi(t,e,n){var r=new FormData;return r.append("segment",new Blob([t],{type:"application/octet-stream"}),"".concat(e.session.id,"-").concat(e.start)),Bi(e,(function(t,e){return r.append(t,e)})),r.append("raw_segment_size",n.toString()),{data:r,bytesCount:t.byteLength}}function Bi(t,e,n){void 0===n&&(n=""),R(t).forEach((function(t){var r=t[0],i=t[1];"object"==typeof i&&null!==i?Bi(i,e,"".concat(n).concat(r,".")):e("".concat(n).concat(r),String(i))}))}function Fi(t){return ji(t).segments_count}function qi(t){ji(t).records_count+=1}function Hi(t){return null==Li?void 0:Li.get(t)}function ji(t){var e;return Li||(Li=new Map),Li.has(t)?e=Li.get(t):(e={records_count:0,segments_count:0,segments_total_raw_size:0},Li.set(t,e),Li.size>10&&function(){if(Li)if(Li.keys)Li.delete(Li.keys().next().value);else{var t=!0;Li.forEach((function(e,n){t&&(Li.delete(n),t=!1)}))}}()),e}var Zi,Vi=0,Gi=function(){function t(t,e,n,r,i,o){var a=this;this.worker=t,this.id=Vi++;var s=e.view.id;this.metadata=h({start:r.timestamp,end:r.timestamp,creation_reason:n,records_count:1,has_full_snapshot:2===r.type,index_in_view:Fi(s),source:"browser"},e),function(t){ji(t).segments_count+=1}(s),qi(s);var u=l((function(e){var n=e.data;"errored"!==n.type&&"initialized"!==n.type&&(n.id===a.id?(function(t,e){ji(t).segments_total_raw_size+=e}(s,n.additionalBytesCount),"flushed"===n.type?(o(n.result,n.rawBytesCount),t.removeEventListener("message",u)):i(n.compressedBytesCount)):n.id>a.id&&(t.removeEventListener("message",u),oe("Segment did not receive a 'flush' response before being replaced.")))}));t.addEventListener("message",u),Xt("record",{record:r,segment:this.metadata}),this.worker.postMessage({data:'{"records":['.concat(JSON.stringify(r)),id:this.id,action:"write"})}return t.prototype.addRecord=function(t){var e;this.metadata.start=Math.min(this.metadata.start,t.timestamp),this.metadata.end=Math.max(this.metadata.end,t.timestamp),this.metadata.records_count+=1,qi(this.metadata.view.id),(e=this.metadata).has_full_snapshot||(e.has_full_snapshot=2===t.type),Xt("record",{record:t,segment:this.metadata}),this.worker.postMessage({data:",".concat(JSON.stringify(t)),id:this.id,action:"write"})},t.prototype.flush=function(t){this.worker.postMessage({data:"],".concat(JSON.stringify(this.metadata).slice(1),"\n"),id:this.id,action:"flush"}),this.flushReason=t},t}(),Yi=6e4;function Xi(t,e,n,r,i,o){return function(t,i,o,a){var s={status:0,nextSegmentCreationReason:"init"},u=t.subscribe(2,(function(){d("view_change")})).unsubscribe,c=t.subscribe(9,(function(t){d(t.reason)})).unsubscribe;function d(t){1===s.status&&(s.segment.flush(t),clearTimeout(s.expirationTimeoutId)),s="stop"!==t?{status:0,nextSegmentCreationReason:t}:{status:2}}function f(t,i){var u=function(t,e,n){var r=e.findTrackedSession(),i=n.findView();if(r&&i)return{application:{id:t},session:{id:r.id},view:{id:i.id}}}(e,n,r);if(u){var c=new Gi(a,u,t,i,(function(t){!c.flushReason&&t>6e4&&d("segment_bytes_limit")}),(function(t,e){var n=zi(t,c.metadata,e);"visibility_hidden"===c.flushReason||"before_unload"===c.flushReason?o.sendOnExit(n):o.send(n)}));s={status:1,segment:c,expirationTimeoutId:setTimeout(l((function(){d("segment_duration_limit")})),3e4)}}}return{addRecord:function(t){switch(s.status){case 0:f(s.nextSegmentCreationReason,t);break;case 1:s.segment.addRecord(t)}},stop:function(){d("stop"),u(),c()}}}(t,0,i,o)}function Wi(){return Zi||(Zi=URL.createObjectURL(new Blob(["(".concat(Ki,")(self)")]))),new Worker(Zi)}function Ki(){function t(t){return function(){try{return t.apply(this,arguments)}catch(t){try{self.postMessage({type:"errored",error:t})}catch(e){self.postMessage({type:"errored",error:"".concat(t)})}}}}t((function(){var e=function(){function t(t){for(var e=t.length;--e>=0;)t[e]=0}var e=256,n=286,r=30,i=15,o=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]),a=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]),s=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),u=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),c=new Array(576);t(c);var l=new Array(60);t(l);var d=new Array(512);t(d);var f=new Array(256);t(f);var p=new Array(29);t(p);var v,h,m,g=new Array(r);function y(t,e,n,r,i){this.static_tree=t,this.extra_bits=e,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=t&&t.length}function _(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}t(g);var b=function(t){return t<256?d[t]:d[256+(t>>>7)]},w=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},S=function(t,e,n){t.bi_valid>16-n?(t.bi_buf|=e<<t.bi_valid&65535,w(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=n-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=n)},k=function(t,e,n){S(t,n[2*e],n[2*e+1])},T=function(t,e){var n=0;do{n|=1&t,t>>>=1,n<<=1}while(--e>0);return n>>>1},C=function(t,e,n){var r,o,a=new Array(16),s=0;for(r=1;r<=i;r++)a[r]=s=s+n[r-1]<<1;for(o=0;o<=e;o++){var u=t[2*o+1];0!==u&&(t[2*o]=T(a[u]++,u))}},E=function(t){var e;
vendor: 4,103 bytes, line 1
1for(e=0;e<n;e++)t.dyn_ltree[2*e]=0;for(e=0;e<r;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,n,r){var i=2*e,o=2*n;return t[i]<t[o]||t[i]===t[o]&&r[e]<=r[n]},R=function(t,e,n){for(var r=t.heap[n],i=n<<1;i<=t.heap_len&&(i<t.heap_len&&A(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!A(e,r,t.heap[i],t.depth));)t.heap[n]=t.heap[i],n=i,i<<=1;t.heap[n]=r},I=function(t,n,r){var i,s,u,c,l=0;if(0!==t.last_lit)do{i=t.pending_buf[t.d_buf+2*l]<<8|t.pending_buf[t.d_buf+2*l+1],s=t.pending_buf[t.l_buf+l],l++,0===i?k(t,s,n):(u=f[s],k(t,u+e+1,n),0!==(c=o[u])&&(s-=p[u],S(t,s,c)),i--,u=b(i),k(t,u,r),0!==(c=a[u])&&(i-=g[u],S(t,i,c)))}while(l<t.last_lit);k(t,256,n)},O=function(t,e){var n,r,o,a=e.dyn_tree,s=e.stat_desc.static_tree,u=e.stat_desc.has_stree,c=e.stat_desc.elems,l=-1;for(t.heap_len=0,t.heap_max=573,n=0;n<c;n++)0!==a[2*n]?(t.heap[++t.heap_len]=l=n,t.depth[n]=0):a[2*n+1]=0;for(;t.heap_len<2;)a[2*(o=t.heap[++t.heap_len]=l<2?++l:0)]=1,t.depth[o]=0,t.opt_len--,u&&(t.static_len-=s[2*o+1]);for(e.max_code=l,n=t.heap_len>>1;n>=1;n--)R(t,a,n);o=c;do{n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],R(t,a,1),r=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=r,a[2*o]=a[2*n]+a[2*r],t.depth[o]=(t.depth[n]>=t.depth[r]?t.depth[n]:t.depth[r])+1,a[2*n+1]=a[2*r+1]=o,t.heap[1]=o++,R(t,a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var n,r,o,a,s,u,c=e.dyn_tree,l=e.max_code,d=e.stat_desc.static_tree,f=e.stat_desc.has_stree,p=e.stat_desc.extra_bits,v=e.stat_desc.extra_base,h=e.stat_desc.max_length,m=0;for(a=0;a<=i;a++)t.bl_count[a]=0;for(c[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;n<573;n++)(a=c[2*c[2*(r=t.heap[n])+1]+1]+1)>h&&(a=h,m++),c[2*r+1]=a,r>l||(t.bl_count[a]++,s=0,r>=v&&(s=p[r-v]),u=c[2*r],t.opt_len+=u*(a+s),f&&(t.static_len+=u*(d[2*r+1]+s)));if(0!==m){do{for(a=h-1;0===t.bl_count[a];)a--;t.bl_count[a]--,t.bl_count[a+1]+=2,t.bl_count[h]--,m-=2}while(m>0);for(a=h;0!==a;a--)for(r=t.bl_count[a];0!==r;)(o=t.heap[--n])>l||(c[2*o+1]!==a&&(t.opt_len+=(a-c[2*o+1])*c[2*o],c[2*o+1]=a),r--)}}(t,e),C(a,l,t.bl_count)},N=function(t,e,n){var r,i,o=-1,a=e[1],s=0,u=7,c=4;for(0===a&&(u=138,c=3),e[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=e[2*(r+1)+1],++s<u&&i===a||(s<c?t.bl_tree[2*i]+=s:0!==i?(i!==o&&t.bl_tree[2*i]++,t.bl_tree[32]++):s<=10?t.bl_tree[34]++:t.bl_tree[36]++,s=0,o=i,0===a?(u=138,c=3):i===a?(u=6,c=3):(u=7,c=4))},L=function(t,e,n){var r,i,o=-1,a=e[1],s=0,u=7,c=4;for(0===a&&(u=138,c=3),r=0;r<=n;r++)if(i=a,a=e[2*(r+1)+1],!(++s<u&&i===a)){if(s<c)do{k(t,i,t.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(k(t,i,t.bl_tree),s--),k(t,16,t.bl_tree),S(t,s-3,2)):s<=10?(k(t,17,t.bl_tree),S(t,s-3,3)):(k(t,18,t.bl_tree),S(t,s-11,7));s=0,o=i,0===a?(u=138,c=3):i===a?(u=6,c=3):(u=7,c=4)}},M=!1,U=function(t,e,n,r){S(t,0+(r?1:0),3),function(t,e,n,r){x(t),r&&(w(t,n),w(t,~n)),t.pending_buf.set(t.window.subarray(e,e+n),t.pending),t.pending+=n}(t,e,n,!0)},P=function(t){M||(function(){var t,e,u,_,b,w=new Array(16);for(u=0,_=0;_<28;_++)for(p[_]=u,t=0;t<1<<o[_];t++)f[u++]=_;for(f[u-1]=_,b=0,_=0;_<16;_++)for(g[_]=b,t=0;t<1<<a[_];t++)d[b++]=_;for(b>>=7;_<r;_++)for(g[_]=b<<7,t=0;t<1<<a[_]-7;t++)d[256+b++]=_;for(e=0;e<=i;e++)w[e]=0;for(t=0;t<=143;)c[2*t+1]=8,t++,w[8]++;for(;t<=255;)c[2*t+1]=9,t++,w[9]++;for(;t<=279;)c[2*t+1]=7,t++,w[7]++;for(;t<=287;)c[2*t+1]=8,t++,w[8]++;for(C(c,287,w),t=0;t<r;t++)l[2*t+1]=5,l[2*t]=T(t,5);v=new y(c,o,257,n,i),h=new y(l,a,0,r,i),m=new y(new Array(0),s,0,19,7)}(),M=!0),t.l_desc=new _(t.dyn_ltree,v),t.d_desc=new _(t.dyn_dtree,h),t.bl_desc=new _(t.bl_tree,m),t.bi_buf=0,t.bi_valid=0,E(t)},D=U,z=function(t,n,r,i){var o,a,s=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var n,r=4093624447;for(n=0;n<=31;n++,r>>>=1)if(1&r&&0!==t.dyn_ltree[2*n])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(n=32;n<e;n++)if(0!==t.dyn_ltree[2*n])return 1;return 0}(t)),O(t,t.l_desc),O(t,t.d_desc),s=function(t){var e;
vendor: 2,182 bytes, line 1
1for(N(t,t.dyn_ltree,t.l_desc.max_code),N(t,t.dyn_dtree,t.d_desc.max_code),O(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*u[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),o=t.opt_len+3+7>>>3,(a=t.static_len+3+7>>>3)<=o&&(o=a)):o=a=r+5,r+4<=o&&-1!==n?U(t,n,r,i):4===t.strategy||a===o?(S(t,2+(i?1:0),3),I(t,c,l)):(S(t,4+(i?1:0),3),function(t,e,n,r){var i;for(S(t,e-257,5),S(t,n-1,5),S(t,r-4,4),i=0;i<r;i++)S(t,t.bl_tree[2*u[i]+1],3);L(t,t.dyn_ltree,e-1),L(t,t.dyn_dtree,n-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,s+1),I(t,t.dyn_ltree,t.dyn_dtree)),E(t),i&&x(t)},B=function(t,n,r){return t.pending_buf[t.d_buf+2*t.last_lit]=n>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&n,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===n?t.dyn_ltree[2*r]++:(t.matches++,n--,t.dyn_ltree[2*(f[r]+e+1)]++,t.dyn_dtree[2*b(n)]++),t.last_lit===t.lit_bufsize-1},F=function(t){S(t,2,3),k(t,256,c),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)},q=function(t,e,n,r){for(var i=65535&t|0,o=t>>>16&65535|0,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{o=o+(i=i+e[r++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16|0},H=new Uint32Array(function(){for(var t,e=[],n=0;n<256;n++){t=n;for(var r=0;r<8;r++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e}()),j=function(t,e,n,r){var i=H,o=r+n;t^=-1;for(var a=r;a<o;a++)t=t>>>8^i[255&(t^e[a])];return-1^t},Z={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"},V={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},G=P,Y=D,X=z,W=B,K=F,$=V.Z_NO_FLUSH,J=V.Z_PARTIAL_FLUSH,Q=V.Z_FULL_FLUSH,tt=V.Z_FINISH,et=V.Z_BLOCK,nt=V.Z_OK,rt=V.Z_STREAM_END,it=V.Z_STREAM_ERROR,ot=V.Z_DATA_ERROR,at=V.Z_BUF_ER
vendor: 5,037 bytes, line 1
1ROR,st=V.Z_DEFAULT_COMPRESSION,ut=V.Z_FILTERED,ct=V.Z_HUFFMAN_ONLY,lt=V.Z_RLE,dt=V.Z_FIXED,ft=V.Z_DEFAULT_STRATEGY,pt=V.Z_UNKNOWN,vt=V.Z_DEFLATED,ht=258,mt=262,gt=103,yt=113,_t=666,bt=function(t,e){return t.msg=Z[e],e},wt=function(t){return(t<<1)-(t>4?9:0)},St=function(t){for(var e=t.length;--e>=0;)t[e]=0},kt=function(t,e,n){return(e<<t.hash_shift^n)&t.hash_mask},Tt=function(t){var e=t.state,n=e.pending;n>t.avail_out&&(n=t.avail_out),0!==n&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+n),t.next_out),t.next_out+=n,e.pending_out+=n,t.total_out+=n,t.avail_out-=n,e.pending-=n,0===e.pending&&(e.pending_out=0))},Ct=function(t,e){X(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,Tt(t.strm)},Et=function(t,e){t.pending_buf[t.pending++]=e},xt=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},At=function(t,e){var n,r,i=t.max_chain_length,o=t.strstart,a=t.prev_length,s=t.nice_match,u=t.strstart>t.w_size-mt?t.strstart-(t.w_size-mt):0,c=t.window,l=t.w_mask,d=t.prev,f=t.strstart+ht,p=c[o+a-1],v=c[o+a];t.prev_length>=t.good_match&&(i>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(n=e)+a]===v&&c[n+a-1]===p&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<f);if(r=ht-(f-o),o=f-ht,r>a){if(t.match_start=e,a=r,r>=s)break;p=c[o+a-1],v=c[o+a]}}}while((e=d[e&l])>u&&0!=--i);return a<=t.lookahead?a:t.lookahead},Rt=function(t){var e,n,r,i,o,a,s,u,c,l,d=t.w_size;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=d+(d-mt)){t.window.set(t.window.subarray(d,d+d),0),t.match_start-=d,t.strstart-=d,t.block_start-=d,e=n=t.hash_size;do{r=t.head[--e],t.head[e]=r>=d?r-d:0}while(--n);e=n=d;do{r=t.prev[--e],t.prev[e]=r>=d?r-d:0}while(--n);i+=d}if(0===t.strm.avail_in)break;if(a=t.strm,s=t.window,u=t.strstart+t.lookahead,c=i,l=void 0,(l=a.avail_in)>c&&(l=c),n=0===l?0:(a.avail_in-=l,s.set(a.input.subarray(a.next_in,a.next_in+l),u),1===a.state.wrap?a.adler=q(a.adler,s,l,u):2===a.state.wrap&&(a.adler=j(a.adler,s,l,u)),a.next_in+=l,a.total_in+=l,l),t.lookahead+=n,t.lookahead+t.insert>=3)for(o=t.strstart-t.insert,t.ins_h=t.window[o],t.ins_h=kt(t,t.ins_h,t.window[o+1]);t.insert&&(t.ins_h=kt(t,t.ins_h,t.window[o+3-1]),t.prev[o&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=o,o++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<mt&&0!==t.strm.avail_in)},It=function(t,e){for(var n,r;;){if(t.lookahead<mt){if(Rt(t),t.lookahead<mt&&e===$)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=kt(t,t.ins_h,t.window[t.strstart+3-1]),n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==n&&t.strstart-n<=t.w_size-mt&&(t.match_length=At(t,n)),t.match_length>=3)if(r=W(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=kt(t,t.ins_h,t.window[t.strstart+3-1]),n=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=kt(t,t.ins_h,t.window[t.strstart+1]);else r=W(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(r&&(Ct(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===tt?(Ct(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ct(t,!1),0===t.strm.avail_out)?1:2},Ot=function(t,e){for(var n,r,i;;){if(t.lookahead<mt){if(Rt(t),t.lookahead<mt&&e===$)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=kt(t,t.ins_h,t.window[t.strstart+3-1]),n=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!==n&&t.prev_length<t.max_lazy_match&&t.strstart-n<=t.w_size-mt&&(t.match_length=At(t,n),t.match_length<=5&&(t.strategy===ut||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-3,r=W(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=i&&(t.ins_h=kt(t,t.ins_h,t.window[t.strstart+3-1]),n=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++,r&&(Ct(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((r=W(t,0,t.window[t.strstart-1]))&&Ct(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&&(r=W(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===tt?(Ct(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ct(t,!1),0===t.strm.avail_out)?1:2};function Nt(t,e,n,r,i){this.good_length=t,this.max_lazy=e,this.nice_length=n,this.max_chain=r,this.func=i}var Lt=[new Nt(0,0,0,0,(function(t,e){var n=65535;for(n>
1t.pending_buf_size-5&&(n=t.pending_buf_size-5);;){if(t.lookahead<=1){if(Rt(t),0===t.lookahead&&e===$)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var r=t.block_start+n;if((0===t.strstart||t.strstart>=r)&&(t.lookahead=t.strstart-r,t.strstart=r,Ct(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-mt&&(Ct(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===tt?(Ct(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Ct(t,!1),t.strm.avail_out),1)})),new Nt(4,4,8,4,It),new Nt(4,5,16,8,It),new Nt(4,6,32,32,It),new Nt(4,4,16,16,Ot),new Nt(8,16,32,32,Ot),new Nt(8,16,128,128,Ot),new Nt(8,32,128,256,Ot),new Nt(32,128,258,1024,Ot),new Nt(32,258,258,4096,Ot)];function Mt(){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=vt,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),St(this.dyn_ltree),St(this.dyn_dtree),St(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),St(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),St(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}var Ut=function(t){if(!t||!t.state)return bt(t,it);t.total_in=t.total_out=0,t.data_type=pt;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:yt,t.adler=2===e.wrap?0:1,e.last_flush=$,G(e),nt},Pt=function(t){var e,n=Ut(t);return n===nt&&((e=t.state).window_size=2*e.w_size,St(e.head),e.max_lazy_match=Lt[e.level].max_lazy,e.good_match=Lt[e.level].good_length,e.nice_match=Lt[e.level].nice_length,e.max_chain_length=Lt[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),n},Dt=function(t,e,n,r,i,o){if(!t)return it;var a=1;if(e===st&&(e=6),r<0?(a=0,r=-r):r>15&&(a=2,r-=16),i<1||i>9||n!==vt||r<8||r>15||e<0||e>9||o<0||o>dt)return bt(t,it);8===r&&(r=9);var s=new Mt;return t.state=s,s.strm=t,s.wrap=a,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new Uint8Array(2*s.w_size),s.head=new Uint16Array(s.hash_size),s.prev=new Uint16Array(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Uint8Array(s.pending_buf_size),s.d_buf=1*s.lit_bufsize,s.l_buf=3*s.lit_bufsize,s.level=e,s.strategy=o,s.method=n,Pt(t)},zt={deflateInit:function(t,e){return Dt(t,e,vt,15,8,ft)},deflateInit2:Dt,deflateReset:Pt,deflateResetKeep:Ut,deflateSetHeader:function(t,e){return t&&t.state?2!==t.state.wrap?it:(t.state.gzhead=e,nt):it},deflate:function(t,e){var n,r;if(!t||!t.state||e>et||e<0)return t?bt(t,it):it;var i=t.state;if(!t.output||!t.input&&0!==t.avail_in||i.status===_t&&e!==tt)return bt(t,0===t.avail_out?at:it);i.strm=t;var o=i.last_flush;if(i.last_flush=e,42===i.status)if(2===i.wrap)t.adler=0,Et(i,31),Et(i,139),Et(i,8),i.gzhead?(Et(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),Et(i,255&i.gzhead.time),Et(i,i.gzhead.time>>8&255),Et(i,i.gzhead.time>>16&255),Et(i,i.gzhead.time>>24&255),Et(i,9===i.level?2:i.strategy>=ct||i.level<2?4:0),Et(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(Et(i,255&i.gzhead.extra.length),Et(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(t.adler=j(t.adler,i.pending_buf,i.pending,0)),i.gz
vendor: 6,317 bytes, line 1
1index=0,i.status=69):(Et(i,0),Et(i,0),Et(i,0),Et(i,0),Et(i,0),Et(i,9===i.level?2:i.strategy>=ct||i.level<2?4:0),Et(i,3),i.status=yt);else{var a=vt+(i.w_bits-8<<4)<<8;a|=(i.strategy>=ct||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(a|=32),a+=31-a%31,i.status=yt,xt(i,a),0!==i.strstart&&(xt(i,t.adler>>>16),xt(i,65535&t.adler)),t.adler=1}if(69===i.status)if(i.gzhead.extra){for(n=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>n&&(t.adler=j(t.adler,i.pending_buf,i.pending-n,n)),Tt(t),n=i.pending,i.pending!==i.pending_buf_size));)Et(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>n&&(t.adler=j(t.adler,i.pending_buf,i.pending-n,n)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(t.adler=j(t.adler,i.pending_buf,i.pending-n,n)),Tt(t),n=i.pending,i.pending===i.pending_buf_size)){r=1;break}r=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,Et(i,r)}while(0!==r);i.gzhead.hcrc&&i.pending>n&&(t.adler=j(t.adler,i.pending_buf,i.pending-n,n)),0===r&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){n=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>n&&(t.adler=j(t.adler,i.pending_buf,i.pending-n,n)),Tt(t),n=i.pending,i.pending===i.pending_buf_size)){r=1;break}r=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,Et(i,r)}while(0!==r);i.gzhead.hcrc&&i.pending>n&&(t.adler=j(t.adler,i.pending_buf,i.pending-n,n)),0===r&&(i.status=gt)}else i.status=gt;if(i.status===gt&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&Tt(t),i.pending+2<=i.pending_buf_size&&(Et(i,255&t.adler),Et(i,t.adler>>8&255),t.adler=0,i.status=yt)):i.status=yt),0!==i.pending){if(Tt(t),0===t.avail_out)return i.last_flush=-1,nt}else if(0===t.avail_in&&wt(e)<=wt(o)&&e!==tt)return bt(t,at);if(i.status===_t&&0!==t.avail_in)return bt(t,at);if(0!==t.avail_in||0!==i.lookahead||e!==$&&i.status!==_t){var s=i.strategy===ct?function(t,e){for(var n;;){if(0===t.lookahead&&(Rt(t),0===t.lookahead)){if(e===$)return 1;break}if(t.match_length=0,n=W(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(Ct(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===tt?(Ct(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ct(t,!1),0===t.strm.avail_out)?1:2}(i,e):i.strategy===lt?function(t,e){for(var n,r,i,o,a=t.window;;){if(t.lookahead<=ht){if(Rt(t),t.lookahead<=ht&&e===$)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(r=a[i=t.strstart-1])===a[++i]&&r===a[++i]&&r===a[++i]){o=t.strstart+ht;do{}while(r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&i<o);t.match_length=ht-(o-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(n=W(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=W(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(Ct(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===tt?(Ct(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Ct(t,!1),0===t.strm.avail_out)?1:2}(i,e):Lt[i.level].func(i,e);if(3!==s&&4!==s||(i.status=_t),1===s||3===s)return 0===t.avail_out&&(i.last_flush=-1),nt;if(2===s&&(e===J?K(i):e!==et&&(Y(i,0,0,!1),e===Q&&(St(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),Tt(t),0===t.avail_out))return i.last_flush=-1,nt}return e!==tt?nt:i.wrap<=0?rt:(2===i.wrap?(Et(i,255&t.adler),Et(i,t.adler>>8&255),Et(i,t.adler>>16&255),Et(i,t.adler>>24&255),Et(i,255&t.total_in),Et(i,t.total_in>>8&255),Et(i,t.total_in>>16&255),Et(i,t.total_in>>24&255)):(xt(i,t.adler>>>16),xt(i,65535&t.adler)),Tt(t),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?nt:rt)},deflateEnd:function(t){if(!t||!t.state)return it;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==gt&&e!==yt&&e!==_t?bt(t,it):(t.state=null,e===yt?bt(t,ot):nt)},deflateSetDictionary:function(t,e){var n=e.length;if(!t||!t.state)return it;var r=t.state,i=r.wrap;if(2===i||1===i&&42!==r.status||r.lookahead)return it;if(1===i&&(t.adler=q(t.adler,e,n,0)),r.wrap=0,n>=r.w_size){0===i&&(St(r.head),r.strstart=0,r.block_start=0,r.insert=0);var o=new Uint8Array(r.w_size);o.set(e.subarray(n-r.w_size,n),0),e=o,n=r.w_size}var a=t.avail_in,s=t.next_in,u=t.input;for(t.avail_in=n,t.next_in=0,t.input=e,Rt(r);r.lookahead>=3;){var c=r.strstart,l=r.lookahead-2;do{r.ins_h=kt(r,r.ins_h,r.window[c+3-1]),r.prev[c&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=c,c++}while(--l);r.strstart=c,r.lookahead=2,Rt(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,t.next_in=s,t.input=u,t.avail_in=a,r.wrap=i,nt},deflateInfo:"pako deflate (from Nodeca project)"};for(var Bt=new Uint8Array(256),Ft=0;Ft<256;Ft++)Bt[Ft]=Ft>=252?6:Ft>=248?5:Ft>=240?4:Ft>=224?3:Ft>=192?2:1;Bt[254]=Bt[254]=1;var qt=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},Ht=Object.prototype.toString,jt=V.Z_NO_FLUSH,Zt=V.Z_SYNC_FLUSH,Vt=V.Z_FULL_FLUSH,Gt=V.Z_FINISH,Yt=V.Z_OK,Xt=V.Z_STREAM_END,Wt=V.Z_DEFAULT_COMPRESSION,Kt=V.Z_DEFAULT_STRATEGY,$t=V.Z_DEFLATED;function Jt(){this.options={level:Wt,method:$t,chunkSize:16384,windowBits:15,memLevel:8,strategy:Kt};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 qt,this.strm.avail_out=0;var e=zt.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(e!==Yt)throw new Error(Z[e]);if(t.header&&zt.deflateSetHeader(this.strm,t.header),t.dictionary){var n;if(n="[object ArrayBuffer]"===Ht.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(e=zt.deflateSetDictionary(this.strm,n))!==Yt)throw new Error(Z[e]);this._dict_set=!0}}return Jt.prototype.push=function(t,e){var n,r,i=this.strm,o=this.options.chunkSize;if(this.ended)return!1;for(r=e===~~e?e:!0===e?Gt:jt,"[object ArrayBuffer]"===Ht.call(t)?i.input=new 
1Uint8Array(t):i.input=t,i.next_in=0,i.avail_in=i.input.length;;)if(0===i.avail_out&&(i.output=new Uint8Array(o),i.next_out=0,i.avail_out=o),(r===Zt||r===Vt)&&i.avail_out<=6)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else{if((n=zt.deflate(i,r))===Xt)return i.next_out>0&&this.onData(i.output.subarray(0,i.next_out)),n=zt.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Yt;if(0!==i.avail_out){if(r>0&&i.next_out>0)this.onData(i.output.subarray(0,i.next_out)),i.avail_out=0;else if(0===i.avail_in)break}else this.onData(i.output)}return!0},Jt.prototype.onData=function(t){this.chunks.push(t)},Jt.prototype.onEnd=function(t){t===Yt&&(this.result=function(t){for(var e=0,n=0,r=t.length;n<r;n++)e+=t[n].length;for(var i=new Uint8Array(e),o=0,a=0,s=t.length;o<s;o++){var u=t[o];i.set(u,a),a+=u.length}return i}(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},{Deflate:Jt,constants:V,string2buf:function(t){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);var e,n,r,i,o,a=t.length,s=0;for(i=0;i<a;i++)55296==(64512&(n=t.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=t.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),s+=n<128?1:n<2048?2:n<65536?3:4;for(e=new Uint8Array(s),o=0,i=0;o<s;i++)55296==(64512&(n=t.charCodeAt(i)))&&i+1<a&&56320==(64512&(r=t.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?e[o++]=n:n<2048?(e[o++]=192|n>>>6,e[o++]=128|63&n):n<65536?(e[o++]=224|n>>>12,e[o++]=128|n>>>6&63,e[o++]=128|63&n):(e[o++]=240|n>>>18,e[o++]=128|n>>>12&63,e[o++]=128|n>>>6&63,e[o++]=128|63&n);return e}}}(),n=e.Deflate,r=e.constants,i=e.string2buf,o=new n,a=0;function s(t){var e=i(t);return o.push(e,r.Z_SYNC_FLUSH),a+=e.length,e.length}self.addEventListener("message",t((function(t){var e=t.data;switch(e.action){case"init":self.postMessage({type:"initialized"});break;case"write":var i=s(e.data);self.postMessage({type:"wrote",id:e.id,compressedBytesCount:o.chunks.reduce((function(t,e){return t+e.length}),0),additionalBytesCount:i});break;case"flush":i=e.data?s(e.data):0,o.push("",r.Z_FINISH),self.postMessage({type:"flushed",id:e.id,result:o.result,additionalBytesCount:i,rawBytesCount:a}),o=new n,a=0}})))}))()}var $i={status:0};function Ji(t,e){switch(void 0===e&&(e=Wi),$i.status){case 0:$i={status:1,callbacks:[t]},function(t){void 0===t&&(t=Wi);try{var e=t();e.addEventListener("error",l(Qi)),e.addEventListener("message",l((function(t){var n,r=t.data;"errored"===r.type?Qi(r.error):"initialized"===r.type&&(n=e,1===$i.status&&($i.callbacks.forEach((function(t){return t(n)})),$i={status:3,worker:n}))}))),e.postMessage({action:"init"})}catch(t){Qi(t)}}(e);break;case 1:$i.callbacks.push(t);break;case 2:t();break;case 3:t($i.worker)}}function Qi(t){1===$i.status?(i.error("Session Replay recording failed to start: an error occurred while creating the Worker:",t),t instanceof Event||t instanceof Error&&k(t.message,"Content Security Policy")?i.error("Please make sure CSP is correctly configured https://docs.datadoghq.com/real_user_monitoring/faq/content_security_policy"):ae(t),$i.callbacks.forEach((function(t){return t()})),$i={status:2}):ae(t)}var to,eo,no,ro=function(t,e){if(void 0===e&&(e=Ji),lt()||"function"!=typeof Array.from||"function"!=typeof CSSSupportsRule)return{start:b,stop:b,getReplayStats:function(){},onRumStart:b,isRecording:function(){return!1}};var n={status:0},r=function(){n={status:1}},i=function(){n={status:0}};return{start:function(){return r()},stop:function(){return i()},getReplayStats:Hi,onRumStart:function(t,o,a,s){t.subscribe(7,(function(){2!==n.status&&3!==n.status||(i(),n={status:1})})),t.subscribe(8,(function(){1===n.status&&r()})),r=function(){var r=a.findTrackedSession();r&&r.sessionReplayAllowed?2!==n.status&&3!==n.status&&(n={status:2},le("interactive",(function(){2===n.status&&e((function(e){if(2===n.status)if(e){var r=function(t,e,n,r,i,o){var a=o||zr(e.sessionReplayEndpointBuilder,Yi,(function(e){t.notify(12,{error:e})})),s=Xi(t,e.applicationId,n,r,a,i),u=s.addRecord,c=s.stop,l=Di({emit:u,configuration:e,lifeCycle:t}),d=l.stop,f=l.takeSubsequentFullSnapshot,p=l.flushMutations,v=t.subscribe(4,(function(){p(),u({timestamp:$(),type:7})})).unsubscribe,h=t.subscribe(2,(function(t){f(t.startClocks.timeStamp)})).unsubscribe;return{stop:function(){v(),h(),d(),c()}}}(t,o,a,s,e).stop;n={status:3,stopRecording:r}}else n={status:0}}))}))):n={status:1}},i=function(){0!==n.status&&(3===n.status&&n.stopRecording(),n={status:0})},1===n.status&&r()},isRecording:function(){return 3===n.status}}}(),io=function(t,e,n){var r={}.ignoreInitIfSyntheticsWillInjectRum,o=void 0===r||r,s=!1,u=j(),f=j(),p=function(){},v=function(){},_=new Y,w=function(t,e){void 0===e&&(e=$()),_.add((function(){return w(t,e)}))},S=function(t,e){void 0===e&&(e=Q()),_.add((function(){return S(t,e)}))},C=function(t,e){void 0===e&&(e={context:u.getContext(),user:f.getContext()}),_.add((function(){return C(t,e)}))},x=function(t,e){void 0===e&&(e={context:u.getContext(),user:f.getContext()}),_.add((function(){return x(t,e)}))},A=function(t,e){_.add((function(){return A(t,e)}))};function R(t,n,r){var i=function(t,e,n,r,i){var o=new $e;o.subscribe(11,(function(t){return Xt("rum",t)}));var s=function(t){var e=function(t,e){var n,r=new Wt;return ie.telemetryEnabled=y(e.telemetrySampleRate),ie.telemetryConfigurationEnabled=ie.telemetryEnabled&&y(e.telemetryConfigurationSampleRate),te=function(i){if(!k(re,e.site)&&ie.telemetryEnabled){var o=function(t,e){return B({type:"telemetry",date:$(),service:t,version:"4.3
10.1",source:"browser",_dd:{format_version:2},telemetry:e,experimental_features:T(G||new Set)},void 0!==n?n():{})}(t,i);r.notify(o),Xt("telemetry",o)}},a=ae,h(ie,{maxEventsPerPage:e.maxTelemetryEventsPerPage,sentEventCount:0}),{setContextProvider:function(t){n=t},observable:r}}("browser-rum-sdk",t);if(lt()){var n=ct();e.observable.subscribe((function(t){return n.send("internal_telemetry",t)}))}return e}(e);s.setContextProvider((function(){var t,n;return{application:{id:e.applicationId},session:{id:null===(t=f.findTrackedSession())||void 0===t?void 0:t.id},view:{id:null===(n=w.findView())||void 0===n?void 0:n.id},action:{id:x.findActionId()}}}));var u,c=function(t){o.notify(12,{error:t})};if(lt())!function(t){var e=ct();t.subscribe(11,(function(t){e.send("rum",t)}))}(o);else{var d=u=new Wt((function(){var t=Jt(document,"visibilitychange",(function(){"hidden"===document.visibilityState&&u.notify({reason:"visibility_hidden"})}),{capture:!0}).stop,e=Jt(window,"beforeunload",(function(){u.notify({reason:"before_unload"})})).stop;return function(){t(),e()}}));d.subscribe((function(t){o.notify(9,t)})),function(t,e,n,r,i){var o=function(t,e,n){var r,i=a(t.rumEndpointBuilder),o=t.replica;function a(r){return new Nr(zr(r,t.batchBytesLimit,e),t.batchMessagesLimit,t.batchBytesLimit,t.messageBytesLimit,t.flushTimeout,n)}function s(t){return B(t,{application:{id:o.applicationId}})}return void 0!==o&&(r=a(o.rumEndpointBuilder)),{add:function(t,e){void 0===e&&(e=!0),i.add(t),r&&e&&r.add(s(t))},upsert:function(t,e){i.upsert(t,e),r&&r.upsert(s(t),e)}}}(t,r,i);e.subscribe(11,(function(t){"view"===t.type?o.upsert(t,t.view.id):o.add(t)})),n.subscribe((function(e){return o.add(e,function(t){return"datad0g.com"===t.site}(t))}))}(e,o,s.observable,c,d)}var f=lt()?function(){var t={id:"00000000-aaaa-0000-aaaa-000000000000",plan:1,sessionReplayAllowed:!1,longTaskAllowed:!0,resourceAllowed:!0};return{findTrackedSession:function(){return t}}}():function(t,e){var n=Rr(t.cookieOptions,"rum",(function(e){return function(t,e){var n;return{trackingType:n=function(t){return"0"===t||"1"===t||"2"===t}(e)?e:y(t.sessionSampleRate)?y(t.sessionReplaySampleRate)?"1":"2":"0",isTracked:Ir(n)}}(t,e)}));return n.expireObservable.subscribe((function(){e.notify(7)})),n.renewObservable.subscribe((function(){e.notify(8)})),{findTrackedSession:function(e){var r=n.findActiveSession(e);if(r&&Ir(r.trackingType)){var i="1"===r.trackingType?2:1;return{id:r.id,plan:i,sessionReplayAllowed:2===i,longTaskAllowed:void 0!==t.trackLongTasks?t.trackLongTasks:t.oldPlansBehavior&&2===i,resourceAllowed:void 0!==t.trackResources?t.trackResources:t.oldPlansBehavior&&2===i}}}}}(e,o),p=function(){var t=ce(),e=new Wt((function(){if(t){var n=new t(l((function(){return e.notify()})));return n.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return n.disconnect()}}}));return e}(),v=function(t){var e=m(t),n=new Wt((function(){var t,e,n,i,o,a=(t=r,e=nn(history,"pushState",{after:t}).stop,n=nn(history,"replaceState",{after:t}).stop,i=Jt(window,"popstate",t).stop,{stop:function(){e(),n(),i()}}).stop,s=(o=r,Jt(window,"hashchange",o)).stop;return function(){a(),s()}}));function r(){if(e.href!==t.href){var r=m(t);n.notify({newLocation:r,oldLocation:e}),e=r}}return n}(location),_=function(t,e,n,r,i,o,a,s){var u=function(t){var e=new tn(144e5);return t.subscribe(2,(function(t){e.add(function(t){return{service:t.service,version:t.version,id:t.id,name:t.name,documentVersion:t.documentVersion}}(t),t.startClocks.relative)})),t.subscribe(3,(function(t){var n=t.startClocks,r=t.documentVersion,i=e.find(n.relative);i&&(i.documentVersion=r)})),t.subscribe(4,(function(t){var n=t.endClocks;e.closeActive(n.relative)})),t.subscribe(8,(function(){e.reset()})),{findView:function(t){return e.find(t)},stop:function(){e.stop()}}}(t),c=function(t,e,n){var r,i=new tn(144e5);t.subscribe(4,(function(t){var e=t.endClocks;i.closeActive(e.relative)})),t.subscribe(2,(function(t){var e=t.startClocks,o=n.href;i.add(a({url:o,referrer:r||document.referrer}),e.relative),r=o}));var o=e.subscribe((function(t){var e=t.newLocation,n=i.find();if(n){var r=J();i.closeActive(r),i.add(a({url:e.href,referrer:n.referrer}),r)}}));function a(t){return{url:t.url,referrer:t.referrer}}return{findUrl:function(t){return i.find(t)},stop:function(){o.unsubscribe(),i.stop()}}}
1(t,i,n),l=function(t){if(!dt("feature_flags"))return{findFeatureFlagEvaluations:function(){},addFeatureFlagEvaluation:b};var e=new tn(144e5);return t.subscribe(4,(function(t){var n=t.endClocks;e.closeActive(n.relative)})),t.subscribe(2,(function(t){var n=t.startClocks;e.add({},n.relative)})),{findFeatureFlagEvaluations:function(t){return e.find(t)},addFeatureFlagEvaluation:function(t,n){var r=e.find();r&&(r[t]=z(n))}}}(t),d=function(){document.hasFocus()&&Ge();var t,e,n=(t=Ge,Jt(window,"focus",(function(e){e.isTrusted&&t()}))).stop,r=(e=Ye,Jt(window,"blur",(function(t){t.isTrusted&&e()}))).stop;return{isInForegroundAt:Xe,selectInForegroundPeriodsFor:We,stop:function(){Ve=[],n(),r()}}}(),f=function(t,e,n,r){t.subscribe(1,(function(e){return t.notify(10,Gn(e,r))}));var i={findActionId:b};return n.trackUserInteractions&&(i=Zn(t,e,n).actionContexts),{addAction:function(e,n){t.notify(10,h({savedCommonContext:n},Gn(e,r)))},actionContexts:i}}(t,o,e,d),p=f.addAction,v=f.actionContexts;return Ze(e,t,r,u,c,v,a,s),{viewContexts:u,foregroundContexts:d,urlContexts:c,featureFlagContexts:l,addAction:p,actionContexts:v,stop:function(){u.stop(),d.stop()}}}(o,e,location,f,v,p,n,c),w=_.viewContexts,S=_.foregroundContexts,C=_.featureFlagContexts,E=_.urlContexts,x=_.actionContexts,A=_.addAction;!function(t){ie.telemetryConfigurationEnabled&&se({type:ee,configuration:t})}(function(t){var e,n,r=function(t){var e;return{session_sample_rate:null!==(e=t.sessionSampleRate)&&void 0!==e?e:t.sampleRate,telemetry_sample_rate:t.telemetrySampleRate,telemetry_configuration_sample_rate:t.telemetryConfigurationSampleRate,use_before_send:!!t.beforeSend,use_cross_site_session_cookie:t.useCrossSiteSessionCookie,use_secure_session_cookie:t.useSecureSessionCookie,use_proxy:void 0!==t.proxyUrl?!!t.proxyUrl:void 0,silent_multiple_init:t.silentMultipleInit,track_session_across_subdomains:t.trackSessionAcrossSubdomains,track_resources:t.trackResources,track_long_task:t.trackLongTasks}}(t);return h({premium_sample_rate:t.premiumSampleRate,replay_sample_rate:t.replaySampleRate,session_replay_sample_rate:t.sessionReplaySampleRate,trace_sample_rate:null!==(e=t.traceSampleRate)&&void 0!==e?e:t.tracingSampleRate,action_name_attribute:t.actionNameAttribute,use_allowed_tracing_origins:Array.isArray(t.allowedTracingOrigins)&&t.allowedTracingOrigins.length>0,use_allowed_tracing_urls:Array.isArray(t.allowedTracingUrls)&&t.allowedTracingUrls.length>0,selected_tracing_propagators:Yt(t),default_privacy_level:t.defaultPrivacyLevel,use_excluded_activity_urls:Array.isArray(t.allowedTracingOrigins)&&t.allowedTracingOrigins.length>0,track_frustrations:t.trackFrustrations,track_views_manually:t.trackViewsManually,track_user_interactions:null!==(n=t.trackUserInteractions)&&void 0!==n?n:t.trackInteractions},r)}(t)),function(t,e){t.subscribe(0,(function(n){for(var r=0,i=n;r<i.length;r++){var o=i[r];if("longtask"!==o.entryType)break;var a=e.findTrackedSession(o.startTime);if(!a||!a.longTaskAllowed)break;var s=X(o.startTime),u={date:s.timeStamp,long_task:{id:g(),duration:W(o.duration)},type:"long_task",_dd:{discarded:!1}};t.notify(10,{rawRumEvent:u,startTime:s.relative,domainContext:{performanceEntry:o.toJSON()}})}}))}(o,f);var R=dt("resource_page_states")?(Zr(jr()),{findAll:function(t,e){for(var n=[],r=nt(t,e),i=Hr.length-1;i>=0;i--){var o=Hr[i].startTime;if(!(o>=r)&&(n.unshift(Hr[i]),o<t))break}return n.length?n:void 0},stop:Qt(window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],(function(t){t.isTrusted&&("freeze"===t.type?Zr("frozen"):"pagehide"===t.type?Zr(t.persisted?"frozen":"terminated"):Zr(jr()))}),{capture:!0}).stop}):{findAll:function(){},stop:b};rr(o,e,f,R);var I=hr(o,e,location,p,v,S,C,r,i),O=I.addTiming,N=I.startView,L=er(o,S,C).addError;vn(o,e,f),Ne(o,e);var M=function(t,e,n,r,i){return{get:function(o){var a=n.findView(o),s=i.findUrl(o),u=e.findTrackedSession(o);if(u&&a&&s){var c=r.findActionId(o);return{application_id:t,session_id:u.id,user_action:c?{id:c}:void 0,view:{id:a.id,name:a.name,referrer:s.referrer,url:s.url}}}}}}(e.applicationId,f,w,x,E);return{addAction:A,addError:L,addTiming:O,addFeatureFlagEvaluation:C.addFeatureFlagEvaluation,startView:N,lifeCycle:o,viewContexts:w,session:f,getInternalContext:M.get}}(t,n,(function(){return{user:f.getContext(),context:u.getContext(),hasReplay:!!e.isRecording()||void 0}}),e,r);S=i.startView,C=i.addAction,x=i.addError,w=i.addTiming,A=i.addFeatureFlagEvaluation,p=i.getInternalContext,_.drain(),e.onRumStart(i.lifeCycle,n,i.session,i.viewContexts)}var I,O,N=l((function(t){S("object"==typeof t?t:{name:t})})),L=(I={init:l((function(t){if(v=function(){return z(t)},!o||!ut()){if(lt())t=function(t){return h({},t,{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100})}(t);else if(!function(t){return function(t){if(void 0===document.cookie||null===document.cookie)return!1;try{var e="dd_cookie_test_".concat(g()),n="test";ot(e,n,6e4,t);var r=at(e)===n;return st(e,t),r}catch(t){return i.error(t),!1}}(Ht(t))?"file:"!==window.location.protocol||(i.error("Execution is not allowed in the current context."),!1):(i.warn("Cookies are not authorized, we will not send any data."),!1)}(t))return;if(function(t){return!s||(t.silentMultipleInit||i.error("DD_RUM is already initialized."),!1)}(t)){var e=function(t){var e,n,r,o,a,s;if(t.applicationId)if(void 0===t.sessionReplaySampleRate||E(t.sessionReplaySampleRate)){var u=null!==(e=t.premiumSampleRate)&&void 0!==e?e:t.replaySampleRate;if(void 0!==u&&void 0!==t.sessionReplaySampleRate&&(i.warn("Ignoring Premium Sample Rate because Session Replay Sample Rate is set"),u=void 0),void 0===u||E(u)){var c=null!==(n=t.traceSampleRate)&&void 0!==n?n:t.tracingSampleRate;if(void 0===c||E(c))if(void 0===t.excludedActivityUrls||Array.isArray(t.excludedActivityUrls)){var l=function(t){if(void 0!==t.allowedTracingUrls&&void 0!==t.allowedTracingOrigins&&i.warn("Both allowedTracingUrls and allowedTracingOrigins (deprecated) have been defined. The parameter allowedTracingUrls will override allowedTracingOrigins."),void 0!==t.allowedTracingUrls){if(!Array.isArray(t.allowedTracingUrls))return void i.error("Allowed Tracing URLs should be an array");if(0!==t.allowedTracingUrls.length&&void 0===t.service)return void i.error("Service needs to be configured when tracing is enabled");var e=[];
1return t.allowedTracingUrls.forEach((function(t){var n;F(t)?e.push({match:t,propagatorTypes:["datadog"]}):"object"===P(n=t)&&F(n.match)&&Array.isArray(n.propagatorTypes)?e.push(t):i.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",t)})),e}if(void 0!==t.allowedTracingOrigins){if(!Array.isArray(t.allowedTracingOrigins))return void i.error("Allowed Tracing Origins should be an array");if(0!==t.allowedTracingOrigins.length&&void 0===t.service)return void i.error("Service needs to be configured when tracing is enabled");var n=[];return t.allowedTracingOrigins.forEach((function(t){var e=function(t){var e;if("string"==typeof t?e=t:t instanceof RegExp?e=function(e){return t.test(Nt(e))}:"function"==typeof t&&(e=function(e){return t(Nt(e))}),void 0!==e)return{match:e,propagatorTypes:["datadog"]};i.warn("Allowed Tracing Origins parameters should be a string, RegExp or function. Ignoring parameter",t)}(t);e&&n.push(e)})),n}return[]}(t);if(l){var d=qt(t);if(d){var f,p,v=!!(null!==(r=t.trackUserInteractions)&&void 0!==r?r:t.trackInteractions),m=!!t.trackFrustrations;return h({applicationId:t.applicationId,version:t.version,actionNameAttribute:t.actionNameAttribute,sessionReplaySampleRate:null!==(a=null!==(o=t.sessionReplaySampleRate)&&void 0!==o?o:u)&&void 0!==a?a:100,oldPlansBehavior:void 0===t.sessionReplaySampleRate,traceSampleRate:c,allowedTracingUrls:l,excludedActivityUrls:null!==(s=t.excludedActivityUrls)&&void 0!==s?s:[],trackUserInteractions:v||m,trackFrustrations:m,trackViewsManually:!!t.trackViewsManually,trackResources:t.trackResources,trackLongTasks:t.trackLongTasks,defaultPrivacyLevel:(f=Ft,p=t.defaultPrivacyLevel,Object.keys(f).some((function(t){return f[t]===p}))?t.defaultPrivacyLevel:Ft.MASK_USER_INPUT)},d)}}}else i.error("Excluded Activity Urls should be an array");else i.error("Trace Sample Rate should be a number between 0 and 100")}else i.error("Premium Sample Rate should be a number between 0 and 100")}else i.error("Session Replay Sample Rate should be a number between 0 and 100");else i.error("Application ID is not configured, no RUM data will be collected.")}(t);if(e){if(dt("feature_flags")&&(L.addFeatureFlagEvaluation=l((function(t,e){A(t,e)}))),e.trackViewsManually){var n=_;_=new Y,S=function(n){R(t,e,n)},n.drain()}else R(t,e);s=!0}}}})),addRumGlobalContext:l(u.add),setGlobalContextProperty:l(u.setContextProperty),removeRumGlobalContext:l(u.remove),removeGlobalContextProperty:l(u.removeContextProperty),getRumGlobalContext:l(u.get),getGlobalContext:l(u.getContext),setRumGlobalContext:l(u.set),setGlobalContext:l(u.setContext),clearGlobalContext:l(u.clearContext),getInternalContext:l((function(t){return p(t)})),getInitConfiguration:l((function(){return v()})),addAction:l((function(t,e){C({name:t,context:z(e),startClocks:Q(),type:"custom"})})),addError:function(t,e){var n=At();d((function(){x({error:t,handlingStack:n,context:z(e),startClocks:Q()})}))},addTiming:l((function(t,e){w(t,e)})),setUser:l((function(t){(function(t){var e="object"===P(t);return e||i.error("Unsupported user:",t),e})(t)&&f.setContext(It(t))})),getUser:l(f.getContext),setUserProperty:l((function(t,e){var n,r=It((n={},n[t]=e,n))[t];f.setContextProperty(t,r)})),removeUserProperty:l(f.removeContextProperty),removeUser:l(f.clearContext),clearUser:l(f.clearContext),startView:N,startSessionReplayRecording:l(e.start),stopSessionReplayRecording:l(e.stop)},O=h({version:"4.30.1",onReady:function(t){t()}},I),Object.defineProperty(O,"_setDebug",{get:function(){return c},enumerable:!1}),O);return L}(0,ro);to=N(),eo=io,no=to["DD_RUM"],to.DD_RUM=eo,no&&no.q&&no.q.forEach((function(t){return o(t,"onReady callback threw an error:")()}))}}]);

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.