1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[310],{7310:function(e,t,n){n.d(t,{qG:function(){return I},vQ:function(){return v}});var r,o,i=n(5271),a=n(2676),c=n(9399),s=n(3341),u=n.n(s),l=function(){throw Error("You forgot to wrap your component in <FpjsProvider>.")},f=(0,i.createContext)({getVisitorData:l,clearCache:l}),d=function(e,t){return(d=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},R=function(){return(R=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function h(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function E(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function c(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,c)}s((r=r.apply(e,t||[])).next())})}function _(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(c){return function(s){return function(c){if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===c[0]||2===c[0])){a=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(6===c[0]&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=t.call(e,a)}catch(e){c=[6,e],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,s])}}}function p(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError,(r=o||(o={})).React="react",r.Preact="preact",r.Next="next",r.Unknown="unknown";var O=function(e){function t(t){return e.call(this,t)||this}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.render=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if(!this.detectedEnv){var n=e.length>0;this.detectedEnv=function(e){try{var t,n,r=JSON.parse('{"name":"next","version":"14.2.35"}');if("object"==typeof r)return r}catch(e){}return n=e.context,!function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];if("undefined"==typeof window)return!1;for(var n=0;n<e.length;n++)if((0,e[n])())return!0;return!1}(function(){return"next"in window&&!!window.next},function(){return document.querySelector("script[id=__NEXT_DATA__]")})?n.classRenderReceivesAnyArguments?{name:o.Preact}:n.classRenderReceivesAnyArguments?{name:o.Unknown}:{name:o.React}:{name:o.Next,version:null===(t=null==window?void 0:window.next)||void 0===t?void 0:t.version}}({context:{classRenderReceivesAnyArguments:n}})}return(0,i.cloneElement)(this.props.children,{env:this.detectedEnv})},t}(i.Component);function v(e){return(0,a.jsx)(O,{children:(0,a.jsx)(g,R({},e))})}function g(e){var t=this,n=e.children,r=e.forceRebuild,o=e.cache,s=e.cacheTimeInSeconds,u=e.cachePrefix,l=e.cacheLocation,d=e.customAgent,h=e.loadOptions,O=e.env,v=(0,i.useRef)(),g=(0,i.useRef)(),y=(0,i.useMemo)(function(){return{cache:o,cacheTimeInSeconds:s,cachePrefix:u,cacheLocation:l,customAgent:d,loadOptions:h}},[h,o,s,u,l,d]),I=(0,i.useCallback)(function(){var e="react-sdk/".concat("2.7.1");if(O){var t=O.version?"".concat(O.name,"/").concat(O.version):O.name;e+="/".concat(t)}var n=R(R({},y),{loadOptions:R(R({},h),{integrationInfo:p(p([],h.integrationInfo||[],!0),[e],!1)})}),r=new c.SM(n);
1return g.current=r.init(),r},[y,O,h]),m=(0,i.useCallback)(function(){return E(t,void 0,void 0,function(){var e=this;return _(this,function(t){switch(t.label){case 0:var n,r,o,i,a,c;if("undefined"==typeof window||void 0===window.document)throw Error("FpjsProvider client cannot be used in SSR");if(v.current)return[3,2];return[4,(r=(n={checkCondition:function(){return!!v.current}}).checkCondition,i=void 0===(o=n.intervalMs)?250:o,c=void 0===(a=n.timeoutMs)?2e3:a,new Promise(function(e,t){var n=setTimeout(function(){clearInterval(o),t(Error("Timeout"))},c),o=setInterval(function(){r()&&(clearTimeout(n),clearInterval(o),e())},i)})).catch(function(){return E(e,void 0,void 0,function(){return _(this,function(e){return I(),[2]})})})];case 1:t.sent(),t.label=2;case 2:return[2,v.current]}})})},[I]),w=(0,i.useCallback)(function(e,n){return E(t,void 0,void 0,function(){var t;return _(this,function(r){switch(r.label){case 0:return[4,m()];case 1:return t=r.sent(),[4,g.current];case 2:return r.sent(),[2,t.getVisitorData(e,n)]}})})},[m]),N=(0,i.useCallback)(function(){return E(t,void 0,void 0,function(){return _(this,function(e){switch(e.label){case 0:return[4,m()];case 1:return[4,e.sent().clearCache()];case 2:return e.sent(),[2]}})})},[m]),T=(0,i.useMemo)(function(){return{clearCache:N,getVisitorData:w}},[N,w]);return(0,i.useEffect)(function(){(!v.current||r)&&(v.current=I())},[r,y,I]),(0,a.jsx)(f.Provider,{value:T,children:n})}function y(e,t){if(!e)throw TypeError("".concat(t," must not be null or undefined"))}function I(e,t){var n=this;void 0===e&&(e={}),void 0===t&&(t=m),y(e,"getOptions");var r=t.immediate,o=(0,i.useContext)(f).getVisitorData,a=(0,i.useState)(e),c=a[0],s=a[1],l=(0,i.useState)({isLoading:r}),d=l[0],O=l[1],v=(0,i.useCallback)(function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return E(n,p([],e,!0),void 0,function(e){var t,n,r,i,a,s;return void 0===e&&(e={}),_(this,function(u){switch(u.label){case 0:y(e,"getDataParams"),t=e.ignoreCache,n=h(e,["ignoreCache"]),u.label=1;case 1:return u.trys.push([1,3,4,5]),O(function(e){return R(R({},e),{isLoading:!0})}),r=c.ignoreCache,i=h(c,["ignoreCache"]),[4,o(R(R({},i),n),"boolean"==typeof t?t:r)];case 2:return a=u.sent(),O(function(e){return R(R({},e),{data:a,isLoading:!1,error:void 0})}),[2,a];case 3:var l;throw(s=(l=u.sent())instanceof Error?l:Error(String(l))).name="FPJSAgentError",O(function(e){return R(R({},e),{data:void 0,error:s})}),s;case 4:return O(function(e){return e.isLoading?R(R({},e),{isLoading:!1}):e}),[7];case 5:return[2]}})})},[c,o]);return(0,i.useEffect)(function(){r&&v().catch(function(e){console.error("Failed to fetch visitor data on mount: ".concat(e))})},[r,v]),Object.is(c,e)||u()(c,e)||s(e),{getData:v,isLoading:d.isLoading,data:d.data,error:d.error}}var m={immediate:!0}},9399:function(e,t,n){n.d(t,{Xd:function(){return o},SM:function(){return ea}});var r,o,i={};n.r(i),n.d(i,{ERROR_API_KEY_EXPIRED:function(){return b},ERROR_API_KEY_INVALID:function(){return A},ERROR_API_KEY_MISSING:function(){return S},ERROR_BAD_REQUEST_FORMAT:function(){return P},ERROR_BAD_RESPONSE_FORMAT:function(){return R},ERROR_CLIENT_TIMEOUT:function(){return l},ERROR_CSP_BLOCK:function(){return h},ERROR_FORBIDDEN_ENDPOINT:function(){return y},ERROR_FORBIDDEN_HEADER:function(){return M},ERROR_FORBIDDEN_ORIGIN:function(){return x},ERROR_GENERAL_SERVER_FAILURE:function(){return C},ERROR_HANDLE_AGENT_DATA:function(){return _},ERROR_INSTALLATION_METHOD_RESTRICTED:function(){return g},ERROR_INTEGRATION_FAILURE:function(){return I},ERROR_INVALID_ENDPOINT:function(){return E},ERROR_INVALID_PROXY_INTEGRATION_HEADERS:function(){return N},ERROR_INVALID_PROXY_INTEGRATION_SECRET:function(){return w},ERROR_NETWORK_ABORT:function(){return d},ERROR_NETWORK_CONNECTION:function(){return f},ERROR_NETWORK_RESTRICTED:function(){return m},ERROR_PROXY_INTEGRATION_SECRET_ENVIRONMENT_MISMATCH:function(){return T},ERROR_RATE_LIMIT:function(){return L},ERROR_SCRIPT_LOAD_FAIL:function(){return F},ERROR_SERVER_TIMEOUT:function(){return D},ERROR_SUBSCRIPTION_NOT_ACTIVE:function(){return O},ERROR_TOKEN_EXPIRED:function(){return K},ERROR_TOKEN_INVALID:function(){return j},ERROR_TOKEN_MISSING:function(){return k},ERROR_UNSUPPORTED_VERSION:function(){return v},ERROR_WRONG_REGION:function(){return p},default:function(){return Y},defaultEndpoint:function(){return s},defaultScriptUrlPattern:function(){return G},defaultTlsEndpoint:function(){return u},load:function(){return B}});var a=n(5767);function c(e){let t="";for(let n=0;n<e.length;++n)if(n>0){let r=e[n].toLowerCase();r!==e[n]?t+=` ${r}`:t+=e[n]}else t+=e[n].toUpperCase();return t}let s={default:"endpoint"},u={default:"tlsEndpoint"},l="Client timeout",f="Network connection error",d="Network request aborted",R="Response cannot be parsed",h="Blocked by CSP",E="The endpoint parameter is not a valid URL",_="Handle on demand agent data error",p=c("WrongRegion"),O=c("SubscriptionNotActive"),v=c("UnsupportedVersion"),g=c("InstallationMethodRestricted"),y=c("HostnameRestricted"),I=c("IntegrationFailed"),m=c("NetworkRestricted"),w=c("InvalidProxyIntegrationSecret"),N=c("InvalidProxyIntegrationHeaders"),T=c("ProxyIntegrationSecretEnvironmentMismatch"),S="API key required",A="API key not found",b="API key expired",P="Request cannot be parsed",C="Request failed",D="Request failed to process",L="Too many requests, rate limit exceeded",x="Not available for this origin",M="Not available with restricted header",k=S,j=A,
1K=b,F="Failed to load the JS script of the agent",U="9319",V="https://fpnpmcdn.net/v<version>/<apiKey>/loader_v<loaderVersion>.js",G=V;function B(e){var t,n,r;let{picked:o,rest:i}=function(e,t){let n={},r={};for(let[o,i]of Object.entries(e))t.includes(o)?n[o]=i:r[o]=i;return{picked:n,rest:r}}(e,["scriptUrlPattern","token","apiKey"]),a=o.token,c=null!==(t=o.apiKey)&&void 0!==t?t:a,s=null!==(r="scriptUrlPattern",n=Object.prototype.hasOwnProperty.call(e,r)?e[r]:void 0)&&void 0!==n?n:V,[u,l]=function(){var e,t,n;let r=[],o=()=>{r.push({time:new Date,state:document.visibilityState})},i=(t="visibilitychange",(e=document).addEventListener(t,o,void 0),()=>e.removeEventListener(t,o,n));return o(),[r,i]}();return Promise.resolve().then(()=>{if(!c||"string"!=typeof c)throw Error(S);return function(e,t){let n;let r=[],[o,i]=function(e){let t;let n=function(e){let t=[...e];return{current:()=>t[0],postpone(){let e=t.shift();void 0!==e&&t.push(e)},exclude(){t.shift()}}}(e),r=(t=0,()=>Math.random()*Math.min(3e3,100*Math.pow(2,t++))),o=new Set;return[n.current(),(e,t)=>{let i;let a=t instanceof Error?t.message:"";if(a===h||a===E)n.exclude(),i=0;else if(a===U)n.exclude();else if(a===F){let t=Date.now()-e.getTime()<50,r=n.current();r&&t&&!o.has(r)&&(o.add(r),i=0),n.postpone()}else n.postpone();let c=n.current();return void 0===c?void 0:[c,null!=i?i:e.getTime()+r()-Date.now()]}]}(e);if(void 0===o)return Promise.reject(TypeError("The list of script URL patterns is empty"));let a=e=>{let o=new Date,c=t=>r.push({url:e,startedAt:o,finishedAt:new Date,error:t}),s=t(e);return s.then(()=>c(),c),s.catch(e=>{if(null!=n||(n=e),r.length>=5)throw n;let t=i(o,e);if(!t)throw n;let[c,s]=t;return new Promise(e=>setTimeout(e,s)).then(()=>a(c))})};return a(o).then(e=>[e,r])}((Array.isArray(s)?s:[s]).map(e=>(function(e,t){let n=encodeURIComponent;return e.replace(/<[^<>]+>/g,e=>"<version>"===e?"3":"<apiKey>"===e?n(t):"<loaderVersion>"===e?n("3.12.5"):e)})(String(e),c)),H)}).catch(e=>{throw l(),e instanceof Error&&e.message===U?Error(F):e}).then(([e,t])=>(l(),e.load({...i,ldi:{attempts:t,visibilityStates:u}})))}function H(e){return(function(e,t,n,r){let o;let i=document,a="securitypolicyviolation",c=t=>{let n=new URL(e,location.href),{blockedURI:r}=t;r!==n.href&&r!==n.protocol.slice(0,-1)&&r!==n.origin||(o=t,s())};i.addEventListener(a,c);let s=()=>i.removeEventListener(a,c);return Promise.resolve().then(t).then(e=>(s(),e),e=>new Promise(e=>{let t=new MessageChannel;t.port1.onmessage=()=>e(),t.port2.postMessage(null)}).then(()=>{if(s(),o)return n(o);throw e}))})(e,()=>new Promise((t,n)=>{if(function(e){if(URL.prototype)try{return new URL(e,location.href),!1}catch(e){if(e instanceof Error&&"TypeError"===e.name)return!0;throw e}}(e))throw Error(E);let r=document.createElement("script"),o=()=>{var e;return null===(e=r.parentNode)||void 0===e?void 0:e.removeChild(r)},i=document.head||document.getElementsByTagName("head")[0];r.onload=()=>{o(),t()},r.onerror=()=>{o(),n(Error(F))},r.async=!0,r.src=e,i.appendChild(r)}),()=>{throw Error(h)}).then(q)}function q(){let e=window,t="__fpjs_p_l_b",n=e[t];if(function(e,t){var n;let r=null===(n=Object.getOwnPropertyDescriptor)||void 0===n?void 0:n.call(Object,e,t);(null==r?void 0:r.configurable)?delete e[t]:r&&!r.writable||(e[t]=void 0)}(e,t),"function"!=typeof(null==n?void 0:n.load))throw Error(U);return n}var Y={load:B,defaultScriptUrlPattern:G,ERROR_SCRIPT_LOAD_FAIL:F,ERROR_API_KEY_EXPIRED:b,ERROR_API_KEY_INVALID:A,ERROR_API_KEY_MISSING:S,ERROR_BAD_REQUEST_FORMAT:P,ERROR_BAD_RESPONSE_FORMAT:R,ERROR_CLIENT_TIMEOUT:l,ERROR_CSP_BLOCK:h,ERROR_FORBIDDEN_ENDPOINT:y,ERROR_FORBIDDEN_HEADER:M,ERROR_FORBIDDEN_ORIGIN:x,ERROR_GENERAL_SERVER_FAILURE:C,ERROR_HANDLE_AGENT_DATA:_,ERROR_INSTALLATION_METHOD_RESTRICTED:g,ERROR_INTEGRATION_FAILURE:I,ERROR_INVALID_ENDPOINT:E,ERROR_INVALID_PROXY_INTEGRATION_HEADERS:N,ERROR_INVALID_PROXY_INTEGRATION_SECRET:w,ERROR_NETWORK_ABORT:d,ERROR_NETWORK_CONNECTION:f,ERROR_NETWORK_RESTRICTED:m,ERROR_PROXY_INTEGRATION_SECRET_ENVIRONMENT_MISMATCH:T,ERROR_RATE_LIMIT:L,ERROR_SERVER_TIMEOUT:D,ERROR_SUBSCRIPTION_NOT_ACTIVE:O,ERROR_TOKEN_EXPIRED:K,ERROR_TOKEN_INVALID:j,ERROR_TOKEN_MISSING:k,ERROR_UNSUPPORTED_VERSION:v,ERROR_WRONG_REGION:p,defaultEndpoint:s,defaultTlsEndpoint:u};let X="@fpjs@client@",J=()=>Date.now();class W{constructor(e){var t;this.tag=e.tag||null,this.linkedId=e.linkedId||null,this.extendedResult=null!==(t=e.extendedResult)&&void 0!==t&&t}toKey(){return`${JSON.stringify(this.tag)}
1__${JSON.stringify(this.linkedId)}__${this.extendedResult}`}}function $(e,t){return`${t}__${e}`}function Q(e,t){return e.replace(`${t}__`,"")}class z{constructor(e=X){this.prefix=e}set(e,t){window.localStorage.setItem($(e,this.prefix),JSON.stringify(t))}get(e){let t=window.localStorage.getItem($(e,this.prefix));if(t)try{return JSON.parse(t)}catch(e){return}}remove(e){window.localStorage.removeItem($(e,this.prefix))}allKeys(){return Object.keys(window.localStorage).filter(e=>e.startsWith(this.prefix)).map(e=>Q(e,this.prefix))}}class Z{constructor(e=X){this.prefix=e}set(e,t){window.sessionStorage.setItem($(e,this.prefix),JSON.stringify(t))}get(e){let t=window.sessionStorage.getItem($(e,this.prefix));if(t)try{return JSON.parse(t)}catch(e){return}}remove(e){window.sessionStorage.removeItem($(e,this.prefix))}allKeys(){return Object.keys(window.sessionStorage).filter(e=>e.startsWith(this.prefix)).map(e=>Q(e,this.prefix))}}class ee{constructor(e,t=3600,n){this.cache=e,this.cacheTime=t,this.nowProvider=n||J}get(e){return(0,a.__awaiter)(this,void 0,void 0,function*(){let t=yield this.cache.get(e.toKey());if(!t)return;let n=yield this.nowProvider();if(t.expiresAt<Math.floor(n/1e3)){yield this.cache.remove(e.toKey());return}return t.body})}set(e,t){return(0,a.__awaiter)(this,void 0,void 0,function*(){let n=yield this.wrapCacheEntry(t);yield this.cache.set(e.toKey(),n)})}clearCache(){return(0,a.__awaiter)(this,void 0,void 0,function*(){let e=yield this.cache.allKeys();yield Promise.all(e.map(e=>this.cache.remove(e)))})}wrapCacheEntry(e){return(0,a.__awaiter)(this,void 0,void 0,function*(){return{body:e,expiresAt:Math.floor((yield this.nowProvider())/1e3)+this.cacheTime}})}}class et{constructor(){this.enclosedCache=function(){let e={};return{set(t,n){e[t]=n},get(t){let n=e[t];if(n)return n},remove(t){delete e[t]},allKeys:()=>Object.keys(e)}}()}}class en{set(){}get(){}remove(){}allKeys(){return[]}}(r=o||(o={})).Memory="memory",r.LocalStorage="localstorage",r.SessionStorage="sessionstorage",r.NoCache="nocache";let er={[o.Memory]:()=>new et().enclosedCache,[o.LocalStorage]:e=>new z(e),[o.SessionStorage]:e=>new Z(e),[o.NoCache]:()=>new en},eo=e=>{switch(e){case o.SessionStorage:try{window.sessionStorage.getItem("item")}catch(e){return!1}return!0;case o.LocalStorage:try{window.localStorage.getItem("item")}catch(e){return!1}return!0;default:return!0}},ei=e=>er[e];class ea{constructor(e){var t;let n;if(this.inFlightRequests=new Map,this.agentPromise=null,this.customAgent=null==e?void 0:e.customAgent,this.agent={collect:()=>{throw Error("FPJSAgent hasn't loaded yet. Make sure to call the init() method first.")},get:()=>{throw Error("FPJSAgent hasn't loaded yet. Make sure to call the init() method first.")}},this.loadOptions=null==e?void 0:e.loadOptions,(null==e?void 0:e.cache)&&(null==e?void 0:e.cacheLocation)&&console.warn("Both `cache` and `cacheLocation` options have been specified in the FpjsClient configuration; ignoring `cacheLocation` and using `cache`."),null==e?void 0:e.cache)n=e.cache;else{if(this.cacheLocation=(null==e?void 0:e.cacheLocation)||o.SessionStorage,!ei(this.cacheLocation))throw Error(`Invalid cache location "${this.cacheLocation}"`);eo(this.cacheLocation)||(this.cacheLocation=o.Memory),n=ei(this.cacheLocation)(null==e?void 0:e.cachePrefix)}if((null==e?void 0:e.cacheTimeInSeconds)&&e.cacheTimeInSeconds>86400)throw Error("Cache time cannot exceed 86400 seconds (24 hours)");let r=null!==(t=null==e?void 0:e.cacheTimeInSeconds)&&void 0!==t?t:3600;this.cacheManager=new ee(n,r)}init(e){return(0,a.__awaiter)(this,void 0,void 0,function*(){var t,n,r;if(!this.loadOptions&&!e)throw TypeError("No load options provided");let o=(null===(t=this.loadOptions)||void 0===t?void 0:t.silent)===!0?[]:[...(null===(n=this.loadOptions)||void 0===n?void 0:n.integrationInfo)||[],...(null==e?void 0:e.integrationInfo)||[],"spa-sdk/1.3.3"],a=Object.assign(Object.assign(Object.assign({},this.loadOptions),e),{integrationInfo:o});if(!this.agentPromise){let e=null!==(r=this.customAgent)&&void 0!==r?r:i;this.agentPromise=e.load(a).then(e=>(this.agent=e,e)).catch(e=>{throw this.agentPromise=null,e})}return this.agentPromise})}getVisitorData(){return(0,a.__awaiter)(this,arguments,void 0,function*(e={},t=!1){let n=ea.makeCacheKey(e).toKey();if(!this.inFlightRequests.has(n)){let r=this._identify(e,t).finally(()=>{this.inFlightRequests.delete(n)});this.inFlightRequests.set(n,r)}return yield this.inFlightRequests.get(n)})}
1getVisitorDataFromCache(){return(0,a.__awaiter)(this,arguments,void 0,function*(e={}){let t=ea.makeCacheKey(e),n=yield this.cacheManager.get(t);return n?Object.assign(Object.assign({},n),{cacheHit:!0}):void 0})}isInCache(){return(0,a.__awaiter)(this,arguments,void 0,function*(e={}){return!!(yield this.getVisitorDataFromCache(e))})}clearCache(){return(0,a.__awaiter)(this,void 0,void 0,function*(){yield this.cacheManager.clearCache()})}static makeCacheKey(e){return new W(e)}_identify(e){return(0,a.__awaiter)(this,arguments,void 0,function*(e,t=!1){let n=ea.makeCacheKey(e);if(!t){let e=yield this.cacheManager.get(n);if(e)return Object.assign(Object.assign({},e),{cacheHit:!0})}let r=yield this.agent.get(e);return yield this.cacheManager.set(n,r),Object.assign(Object.assign({},r),{cacheHit:!1})})}}},3341:function(e){e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var r,o,i,a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}}}]);
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.