@fingerprintjs/fingerprintjs-pro
Advanced tools
Comparing version 3.2.3 to 3.2.4
/** | ||
* FingerprintJS Pro v3.2.3 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com) | ||
* FingerprintJS Pro v3.2.4 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com) | ||
* | ||
@@ -8,2 +8,2 @@ * This software contains code from open-source projects: | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("@fingerprintjs/fingerprintjs"),n=document;function r(e,t){return new Promise((function(n){return setTimeout((function(){return n(t)}),e)}))}function i(e,t){return new Promise((function(r){var i=function(){return n.hidden?s():a()},o=function(e,t,n){var r,i=!1,o=e,a=0,s=function(){i||void 0!==r||(a=Date.now(),r=setTimeout((function(){i=!0,n()}),o))};return t&&s(),{start:s,stop:function(){i||void 0===r||(clearTimeout(r),r=void 0,o-=Date.now()-a)}}}(e,!n.hidden,(function(){n.removeEventListener("visibilitychange",i),r(t)})),a=o.start,s=o.stop;n.addEventListener("visibilitychange",i)}))}function o(t,n){return e.__awaiter(this,void 0,void 0,(function(){var r;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,t()];case 1:return[2,e.sent()];case 2:return r=e.sent(),console.error(r),[2,n];case 3:return[2]}}))}))}function a(e,t){for(var n="",r=0;r<e;r++)n+=t.charAt(Math.random()*t.length);return n}function s(e){return a(e,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")}function u(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=function(e){e&&o((function(){return e.apply(void 0,t)}))},i=0,a=e;i<a.length;i++){var s=a[i];r(s)}}}var c=window;function l(t,n){var r;return void 0===n&&(n=!1),e.__assign({name:t.name,message:t.message,stack:n?null===(r=t.stack)||void 0===r?void 0:r.split("\n"):t.stack},t)}function d(){try{return c.self!==c.top}catch(e){return!0}}function v(e){switch(e){case 0:return"Loading has started";case 1:return"Loading has succeeded";case 2:return"Loading has failed";case 3:return"Getting visitor identifier has started";case 4:return"Getting visitor identifier has succeeded";case 5:return"Getting visitor identifier has failed";case 6:return"TLS request has started";case 7:return"TLS request has succeeded";case 8:return"TLS request has failed";case 9:return"Getting fingerprint has started";case 10:return"Getting fingerprint has succeeded";case 11:return"Getting fingerprint has failed";case 12:return"Visitor identifier request has started";case 13:return"Visitor identifier request has succeeded";case 14:return"Visitor identifier request has failed"}}function f(e){return void 0===e&&(e="[FingerprintJS Pro] "),function(t){switch(t.e){case 2:case 5:case 8:case 11:case 14:console.error(g(e,t));break;case 10:var n=g(e,t),r=t.result;Object.keys(r).some((function(e){return r[e].error}))?console.warn(n):console.log(n);break;default:console.log(g(e,t))}}}function g(t,n){var r=n.e,i=e.__rest(n,["e"]),o=""+t+(new Date).toISOString()+": "+v(r);return Object.keys(i).length&&(o+="\n```\n"+function(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?l(t,!0):t}),2)}(i)+"\n```"),o}var _=navigator;function h(e){var t=e.url,n=e.method,r=void 0===n?"get":n,i=e.body,o=e.headers,a=e.withCredentials,s=void 0!==a&&a,u=e.timeout;return new Promise((function(e,n){var a=new XMLHttpRequest;for(var c in a.open(r,t,!0),a.withCredentials=s,a.timeout=void 0===u?0:Math.max(u,1),o)a.setRequestHeader(c,o[c]);a.onload=function(){return e(function(e){return{text:e.responseText,status:e.status,statusText:e.statusText}}(a))},a.ontimeout=function(){return n(p("TimeoutError","The request timed out"))},a.onabort=function(){return n(p("AbortError","The request is aborted"))},a.onerror=function(){return n(p("TypeError",_.onLine?"Connection error":"Network offline"))},a.send(i)}))}function p(e,t){var n=new Error(t);return n.name=e,n}function m(e){var t=e.url,n=e.body;if(_.sendBeacon)return _.sendBeacon(t,n);var r=new XMLHttpRequest;r.open("POST",t,!function(){var e,t=null===(e=c.event)||void 0===e?void 0:e.type;return"pagehide"===t||"unload"===t}()),n instanceof Blob&&r.setRequestHeader("Content-Type",n.type);try{r.send(n)}catch(i){return!1}return!0}var w=document,b=navigator;function E(t,n,r,i,a){return e.__awaiter(this,void 0,void 0,(function(){var s,u,c;return e.__generator(this,(function(e){switch(e.label){case 0:(u=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];t&&o((function(){var r=e.apply(void 0,n);r&&t(r)}))})(n),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,a()];case 2:return s=e.sent(),[3,4];case 3:throw c=e.sent(),u(i,c),c;case 4:return u(r,s),[2,s]}}))}))}function y(){var e=window,t=e.__fpjs_pvid;return e.__fpjs_pvid="string"==typeof t?t:s(10)}var R=window,I=navigator,k=document,T=performance;var S=function(){function e(e){var t=this;this.onReportReady=e,this.isStopped=!1,this.pageStartTimestamp=function(){var e,t;if(T.timeOrigin){var n=null===(t=null===(e=T.getEntriesByType)||void 0===e?void 0:e.call(T,"navigation"))||void 0===t?void 0:t[0];if(n)return T.timeOrigin+(n.responseStart||n.unloadEventEnd)}return T.timing.domLoading||T.timing.responseStart||T.timing.unloadEventEnd}(),this.events={},this.addEvent=function(e){if(!t.isStopped){var n={time:new Date,type:"agentEvent",event:e};switch(0!==e.e&&3!==e.e||(n.documentReadyState=k.readyState,n.isPageVisible=N(),n.isFullscreen=D(),n.network=q()),t.storeAgentEvent(n),e.e){case 2:t.submitReport(e.agentId,void 0);break;case 4:case 5:t.submitReport(e.agentId,e.getCallId)}}};for(var n=[[k,"readystatechange",function(){return t.handleDocumentReadyStateChange()}],[k,"visibilitychange",function(){return t.handleVisibilityChange()}],[k,"pageshow",function(){return t.handlePageTransition(!0)}],[k,"pagehide",function(){return t.handlePageTransition(!1)}],[R,"unload",function(){return t.handlePageUnload()}]],r=0,i=n;r<i.length;r++){var o=i[r],a=o[0],s=o[1],u=o[2];a.addEventListener(s,u)}var c=function(e,t){for(var n=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],r=0,i=n;r<i.length;r++){var o=i[r];w.addEventListener(o,e,t)}return function(){for(var r=0,i=n;r<i.length;r++){var o=i[r];w.removeEventListener(o,e,t)}}}((function(){return t.handleFullscreenChange()})),l=function(e){var t=b.connection;if(!t)return addEventListener("online",e),addEventListener("offline",e),function(){removeEventListener("online",e),removeEventListener("offline",e)};var n=!1,r=t.onchange,i=function(t){try{n||e()}finally{null==r||r(t)}};return t.onchange=i,function(){n=!0,t.onchange===i&&(t.onchange=r)}}((function(){return t.handleNetworkConnectionChange()}));this.stop=function(){t.isStopped=!0;for(var e=0,r=n;e<r.length;e++){var i=r[e],o=i[0],a=i[1],s=i[2];o.removeEventListener(a,s)}c(),l()}}return e.prototype.handleDocumentReadyStateChange=function(){this.storeEnvironmentEvent({time:new Date,type:"documentReadyState",state:k.readyState})},e.prototype.handleVisibilityChange=function(){this.storeEnvironmentEvent({time:new Date,type:"pageVisibilityToggle",isVisible:N()})},e.prototype.handlePageTransition=function(e){this.storeEnvironmentEvent({time:new Date,type:"pageTransition",isShown:e})},e.prototype.handleFullscreenChange=function(){this.storeEnvironmentEvent({time:new Date,type:"fullscreenToggle",isFullscreen:D()})},e.prototype.handleNetworkConnectionChange=function(){this.storeEnvironmentEvent({time:new Date,type:"networkChange",network:q()})},e.prototype.handlePageUnload=function(){this.storeEnvironmentEvent({time:new Date,type:"pageUnload"});for(var e=0,t=Object.keys(this.events);e<t.length;e++){var n=t[e],r=this.events[n];if(0===Object.keys(r.getCalls).length)this.submitReport(n,void 0);else for(var i=0,o=Object.keys(r.getCalls);i<o.length;i++){var a=o[i];C(r.getCalls[a])||this.submitReport(n,a)}}this.stop()},e.prototype.storeAgentEvent=function(e){var t=e.event,n=t.agentId;switch(this.events[n]||(this.events[n]={loadEvents:[],getCalls:{}}),t.e){case 0:case 1:case 2:this.events[n].loadEvents.push(e);break;default:var r=t.getCallId;this.events[n].getCalls[r]||(this.events[n].getCalls[r]=[]),this.events[n].getCalls[r].push(e)}},e.prototype.storeEnvironmentEvent=function(e){for(var t=0,n=Object.keys(this.events);t<n.length;t++){var r=n[t],i=this.events[r];i.loadEvents.some((function(e){return"agentEvent"===e.type&&(1===e.event.e||2===e.event.e)}))||i.loadEvents.push(e);for(var o=0,a=Object.keys(i.getCalls);o<a.length;o++){var s=a[o],u=i.getCalls[s];C(u)||u.push(e)}}},e.prototype.submitReport=function(e,t){var n=function(e,t){for(var n,r,i,o,a,s,u,c,l,v,f,g,_,h=function(e){for(var t={},n={},r=0,i=e;r<i.length;r++){var o=i[r];"agentEvent"===o.type?t[o.event.e]=o:n[o.type]=o}return{agentEvents:t,otherEvents:n}}(e),p=h.agentEvents,m=h.otherEvents,w=null!==(r=null===(n=m.pageUnload)||void 0===n?void 0:n.time)&&void 0!==r?r:new Date,b="null",E=0,R=[[4,"getSuccess"],[5,"getFail"],[3,"getting"],[1,"loadSuccess"],[2,"loadFail"],[0,"loading"]];E<R.length;E++){var I=R[E],k=I[0],T=I[1];if(p[k]){b=T;break}}return{time:null!==(c=null!==(s=null!==(o=null===(i=p[4])||void 0===i?void 0:i.time)&&void 0!==o?o:null===(a=p[5])||void 0===a?void 0:a.time)&&void 0!==s?s:null===(u=p[2])||void 0===u?void 0:u.time)&&void 0!==c?c:w,pageUrl:location.href,pageStartTime:new Date(t),isInIframe:d(),agentVersion:null===(l=p[0])||void 0===l?void 0:l.event.version,userAgent:navigator.userAgent,pageViewId:y(),agentId:null===(v=p[0])||void 0===v?void 0:v.event.agentId,getCallId:null===(f=p[3])||void 0===f?void 0:f.event.getCallId,requestId:null===(g=p[12])||void 0===g?void 0:g.event.requestId,visitorId:null===(_=p[4])||void 0===_?void 0:_.event.visitorId,identificationState:b,load:O(w,p[0],p[1],p[2]),get:O(w,p[3],p[4],p[5]),tls:O(w,p[6],p[7],p[8],(function(e){return{responseStatus:e.event.status}})),fingerprint:O(w,p[9],p[10],p[11],(function(e){return{failedComponents:x(e.event.result)}})),visitorIdRequest:O(w,p[12],p[13],p[14],(function(e){return{responseStatus:e.event.status}})),events:e}}(function(e,t,n){var r,i=[];e[t]&&(i.push.apply(i,e[t].loadEvents),void 0!==n&&i.push.apply(i,null!==(r=e[t].getCalls[n])&&void 0!==r?r:[]));return i}(this.events,e,t),this.pageStartTimestamp);try{this.onReportReady(n)}catch(r){console.error(r)}},e}();function C(e){return e.some((function(e){return"agentEvent"===e.type&&(4===e.event.e||5===e.event.e)}))}function O(t,n,r,i,o){if(void 0!==n)return void 0!==r?e.__assign(e.__assign({},null==o?void 0:o(r)),{duration:r.time.getTime()-n.time.getTime(),state:"success"}):void 0!==i?{duration:i.time.getTime()-n.time.getTime(),state:"fail",error:i.event.error}:{duration:t.getTime()-n.time.getTime(),state:"incomplete"}}function x(e){return Object.keys(e).filter((function(t){return e[t].error}))}function N(){return!k.hidden}function D(){return!!(w.fullscreenElement||w.msFullscreenElement||w.mozFullScreenElement||w.webkitFullscreenElement)}function q(){var e,t,n,r,i,o;return{online:navigator.onLine,downlink:null===(e=I.connection)||void 0===e?void 0:e.downlink,downlinkMax:null===(t=I.connection)||void 0===t?void 0:t.downlinkMax,effectiveType:null===(n=I.connection)||void 0===n?void 0:n.effectiveType,roundTrip:null===(r=I.connection)||void 0===r?void 0:r.rtt,saveData:null===(i=I.connection)||void 0===i?void 0:i.saveData,type:null===(o=I.connection)||void 0===o?void 0:o.type}}function L(t,n,r){var i;void 0===r&&(r=[8,4,4,4,12].map((function(e){return a(e,"0123456789abcdef")})).join("-"));var o=A[t.identificationState],s=o.level,u=o.message;return{environment:n,level:s,timestamp:Math.round(t.time.getTime()/1e3),platform:"browser",framework:"FingerprintJS Pro",language:"javascript",uuid:r,notifier:{name:"FingerprintJS Pro monitoring",version:"3.2.3"},request:{url:t.pageUrl,query_string:(null!==(i=/\?.*$/.exec(t.pageUrl))&&void 0!==i?i:[""])[0],user_ip:"$remote_ip"},client:{javascript:{browser:t.userAgent,code_version:t.agentVersion}},person:void 0===t.visitorId?void 0:{id:"visitorId:"+t.visitorId},body:{telemetry:e.__spreadArrays([{level:"debug",source:"client",timestamp_ms:t.pageStartTime.getTime(),type:"manual",body:{message:"Page starts"}}],t.events.map(P)),message:{body:u}},custom:{isInIframe:t.isInIframe,pageViewId:t.pageViewId,agentId:t.agentId,getCallId:t.getCallId,requestId:t.requestId,visitorId:t.visitorId,identificationState:t.identificationState,load:t.load,get:t.get,tls:t.tls,fingerprint:F(t.fingerprint),visitorIdRequest:t.visitorIdRequest}}}var A={null:{level:"info",message:"Load() wasn't called"},loading:{level:"warning",message:"Load() incomplete"},loadSuccess:{level:"info",message:"Load() succeeded, get() wasn't called"},loadFail:{level:"error",message:"Load() failed"},getting:{level:"warning",message:"Get() incomplete"},getSuccess:{level:"info",message:"Get() succeeded"},getFail:{level:"error",message:"Get() failed"}};function P(t){var n={type:"manual",level:"debug",source:"client",timestamp_ms:t.time.getTime()};switch(t.type){case"documentReadyState":return e.__assign(e.__assign({},n),{body:{message:'Document ready state becomes "'+t.state+'"'}});case"pageVisibilityToggle":return e.__assign(e.__assign({},n),{body:{message:"Page becomes "+(t.isVisible?"visible (in foreground)":"invisible (in background)")}});case"pageTransition":return e.__assign(e.__assign({},n),{body:{message:t.isShown?"Page is restored from browser history":"Page is about to go to browser history"}});case"fullscreenToggle":return e.__assign(e.__assign({},n),{body:{message:"Programmatic fullscreen "+(t.isFullscreen?"on":"off")}});case"networkChange":return e.__assign(e.__assign({},n),{body:e.__assign(e.__assign({},t.network),{message:"Network connection changes"})});case"pageUnload":return e.__assign(e.__assign({},n),{body:{message:"Page is about to unload (terminate)"}})}for(var r=t.event,i=e.__assign(e.__assign({},n),{level:"info",body:{message:v(r.e)}}),o=0,a=["documentReadyState","isPageVisible","isFullscreen","network"];o<a.length;o++){var s=a[o];void 0!==t[s]&&(i.body[s]=t[s])}switch(r.e){case 0:case 3:return e.__assign(e.__assign({},i),{body:e.__assign(e.__assign({},i.body),{options:r.options})});case 1:case 9:return i;case 2:case 5:case 8:case 11:case 14:return e.__assign(e.__assign({},i),{level:"error",body:e.__assign(e.__assign({},i.body),{error:r.error})});case 4:case 10:return e.__assign(e.__assign({},i),{body:e.__assign(e.__assign({},i.body),{result:r.result})});case 6:return e.__assign(e.__assign({},i),{body:e.__assign(e.__assign({},i.body),{endpoint:r.endpoint,timeout:r.timeout})});case 7:case 13:return e.__assign(e.__assign({},i),{body:e.__assign(e.__assign({},i.body),{status:r.status,body:r.body.slice(0,4096)})});case 12:return e.__assign(e.__assign({},i),{body:e.__assign(e.__assign({},i.body),{endpoint:r.endpoint,request:r.request})})}}function F(t){return t&&"incomplete"!==t.state&&"fail"!==t.state?e.__assign(e.__assign({},t),{failedComponents:t.failedComponents.length?","+t.failedComponents.join(",")+",":void 0}):t}function j(t,n){return e.__awaiter(this,void 0,void 0,(function(){var i,o;return e.__generator(this,(function(e){switch(e.label){case 0:i=JSON.stringify(n,(function(e,t){return t instanceof Error?l(t):t})),o=0,e.label=1;case 1:return navigator.onLine&&m({url:t,body:i})?[3,5]:[3,2];case 2:return[4,r(1e3*Math.min(o+1,10))];case 3:e.sent(),e.label=4;case 4:return++o,[3,1];case 5:return[2]}}))}))}var V={us:"https://api.sjpf.io",eu:"https://tls-eun1.fpapi.io"};function M(t,n,r){var i=r.output,o=e.__rest(r,["output"]);return e.__awaiter(this,void 0,void 0,(function(){var r;return e.__generator(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,E(i,(function(){return e.__assign(e.__assign({e:6},o),{endpoint:t,timeout:n})}),(function(t){var n=t.status,r=t.text;return e.__assign(e.__assign({e:7},o),{status:n,body:r})}),(function(t){return e.__assign(e.__assign({e:8},o),{error:t})}),(function(){return h({url:t,timeout:n})}))];case 1:return r=a.sent(),[3,3];case 2:switch(a.sent().name){case"AbortError":throw new Error("Abort");case"TimeoutError":throw new Error("Timeout");default:throw new Error("Connection error")}case 3:if(200===r.status)return[2,r.text];throw new Error(r.text.slice(0,255))}}))}))}function U(e,t){if(t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function G(n,r){var i=n.endpoint,o=n.extendedResult,a=e.__rest(n,["endpoint","extendedResult"]);return e.__awaiter(this,void 0,void 0,(function(){var n,u;return e.__generator(this,(function(c){switch(c.label){case 0:return n=s(20),u=function(n){var r,i=n.components,o=n.token,a=n.visitorId,s=n.tag,u=n.ipResolution,c=n.extendedResult,l=n.linkedId,d=n.tls,v=n.tlsError,f=n.requestId,g=Object.keys(i).reduce((function(e,t){return e+i[t].duration}),0),_="full"===u?2:1;return(r={}).rid=f,r.cv="3.2.3",r.c=o,r.url=location.href,r.d=g,r.vid=a[0]||a[1]||void 0,r.ls=a[1]?1:void 0,r.t=function(e){if(e&&"object"==typeof e)return e;if(null==e)return;return{tag:e}}(s),r.i=_,r.cbd=c?1:void 0,r.lid=l,r.cr=document.referrer||void 0,r.j=d,r.je=null==v?void 0:v.message,r.k1=H(i.osCpu),r.k2=H(i.languages),r.k3=H(i.colorDepth),r.k4=H(i.deviceMemory),r.k5=H(i.screenResolution),r.k6=H(i.availableScreenResolution,void 0,[]),r.k7=H(i.hardwareConcurrency),r.k8=H(i.timezoneOffset),r.k9=H(i.timezone),r.k10=W(H(i.sessionStorage)),r.k11=W(H(i.localStorage)),r.k12=W(H(i.indexedDB)),r.k13=W(H(i.openDatabase)),r.k14=H(i.cpuClass),r.k15=H(i.platform),r.k16=H(i.plugins,[]),r.k17=function(n){var r=n.value;if(!r)return;return e.__assign(e.__assign({},r),{data:t.murmurX64Hash128(r.data)})}(i.canvas),r.k18=0,r.k19=H(i.touchSupport),r.k20=H(i.fonts,[]),r.k21=H(i.audio,-4),r.k22=W(H(i.pluginsSupport)),r.k23=H(i.productSub),r.k24=H(i.emptyEvalLength),r.k25=W(H(i.errorFF)),r.k26=W(H(i[0])),r.k27=H(i.vendor),r.k28=W(H(i.chrome)),r.k29=W(H(i[1])),r.k30=W(H(i[2])),r.k31=W(H(i[3],!1)),r.k32=W(H(i.cookiesEnabled,!1)),r.k33=W(H(i[4])),r.k34=H(i[5],-5),r}(e.__assign({extendedResult:o,requestId:n},a)),[4,B(i,u,r)];case 1:return[2,K(c.sent(),n,o)]}}))}))}function B(t,n,r){var i=r.output,o=e.__rest(r,["output"]);return e.__awaiter(this,void 0,void 0,(function(){var r;return e.__generator(this,(function(a){switch(a.label){case 0:return a.trys.push([0,2,,3]),[4,E(i,(function(){return e.__assign(e.__assign({e:12},o),{requestId:n.rid,endpoint:t,request:n})}),(function(t){var n=t.status,r=t.text;return e.__assign(e.__assign({e:13},o),{status:n,body:r})}),(function(t){return e.__assign(e.__assign({e:14},o),{error:t})}),(function(){return h({url:t,method:"post",body:JSON.stringify(n),headers:{"Content-Type":"text/plain"},withCredentials:!0})}))];case 1:return[2,a.sent()];case 2:throw r=a.sent(),new Error("AbortError"===r.name?"Network request aborted":"Network connection error");case 3:return[2]}}))}))}function K(t,n,r){return e.__awaiter(this,void 0,void 0,(function(){var i;return e.__generator(this,(function(e){if(404===t.status||t.status>=500)throw new Error(t.statusText);try{i=JSON.parse(t.text)}catch(o){throw new Error(t.text)}if(function(e){return e&&"object"==typeof e&&"string"==typeof e.visitorId&&"n/a"!==e.visitorId}(i))return[2,J(i)];if(function(e){return e&&"object"==typeof e&&"n/a"===e.visitorId}(i)){if("Not available for crawl bots"===i.reason||"Not available when User-Agent is unspecified"===i.reason)return[2,X(i.reason,n,r)];throw new Error(i.reason)}throw new Error(t.text)}))}))}function H(e,t,n){return e.error?t:void 0===e.value?n:e.value}function W(e){return!0===e?1:!1===e?0:e}function J(t){var n=t,r=n.botProbability,i=e.__rest(n,["botProbability"]),o=e.__assign({},i);return r&&(o.bot={probability:r}),o}function X(t,n,r){var i={requestId:n,visitorFound:!1,visitorId:""};if(!r)return i;var o=e.__assign(e.__assign({},i),{bot:{probability:1},incognito:!1,browserName:"n/a",browserVersion:"n/a",device:"n/a",ip:"n/a",ipLocation:{},os:"n/a",osVersion:"n/a"});return"Not available for crawl bots"===t&&(o.bot.safe=!0),o}var z=window,Q=document;var $=window;var Y=navigator,Z=window;function ee(){var e,t,n,r=(null===(e=Y.userAgent)||void 0===e?void 0:e.indexOf("Mac OS"))>0&&-1===(null===(t=Y.userAgent)||void 0===t?void 0:t.indexOf("iPhone")),i=(null===(n=Y.userAgent)||void 0===n?void 0:n.indexOf("CrOS"))>0;return r||i?3221225472:1073741824}function te(){return e.__awaiter(this,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:return"storage"in Y&&"estimate"in Y.storage?[4,Y.storage.estimate()]:[3,2];case 1:return[2,!!(t=e.sent().quota)&&t<ee()];case 2:return[2,!1]}}))}))}var ne=window;function re(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return t.isDesktopSafari()?[2,ie()]:[2,oe()]}))}))}function ie(){if(!ne.safari)return!1;try{ne.safari.pushNotification.requestPermission("https://example.com","private",{},(function(){}))}catch(t){return e=t,!new RegExp([103,101,115,116,117,114,101].map((function(e){return String.fromCharCode(e)})).join("")).test(e)}var e;throw new Error("Unexpected lack of error")}function oe(){return e.__awaiter(this,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:(t=document.createElement("iframe")).style.display="none",e.label=1;case 1:return e.trys.push([1,,3,4]),document.body.appendChild(t),[4,Promise.race([r(20,!1),new Promise((function(e){t.contentWindow?t.contentWindow.applicationCache.addEventListener("error",(function(){return e(!0)})):e(!1)}))])];case 2:return[2,e.sent()];case 3:return t.remove(),[7];case 4:return[2]}}))}))}function ae(){try{ne.openDatabase(null,null,null,null)}catch(e){return!0}try{return ne.localStorage.setItem("test","1"),ne.localStorage.removeItem("test"),!1}catch(e){return!0}}var se=[[function(){return t.isChromium()},function(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return function(){var e=Y.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(!e)throw"UserAgent is not Google Chrome";return parseInt(e[2],10)}()>=76?[2,te()]:[2,new Promise((function(e){Z.webkitRequestFileSystem(0,1,(function(){return e(!1)}),(function(){return e(!0)}))}))]}))}))}],[function(){return t.isWebKit()},function(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return function(){var e=navigator.userAgent.match(/Version\/([0-9._]+).*Safari/);if(!e)throw new Error("UserAgent is not Safari");var t=e[1].split(".").map((function(e){return isNaN(parseInt(e))?0:parseInt(e)})),n=t[0],r=t[1],i=t[2];return{major:n,minor:r,patch:i}}().major<13?[2,ae()]:[2,re()]}))}))}],[function(){return t.isGecko()},function(){return new Promise((function(e){try{var t=$.indexedDB.open("test");t.onerror=function(){return e(!0)},t.onsuccess=function(){return e(!1)}}catch(n){return e(!0)}}))}],[function(){return t.isTrident()||t.isEdgeHTML()},function(){try{if(!window.indexedDB)return!0}catch(e){return!0}return!1}]];function ue(){return e.__awaiter(this,void 0,void 0,(function(){var t,n,r,i,o;return e.__generator(this,(function(e){switch(e.label){case 0:t=0,n=se,e.label=1;case 1:return t<n.length?(r=n[t],i=r[0],o=r[1],i()?[4,o()]:[3,3]):[3,4];case 2:return[2,e.sent()];case 3:return t++,[3,1];case 4:return[2,!1]}}))}))}function ce(e,t){if(0==t.length||t.length>e.length)return-1;for(var n=0;n<e.length;n++){for(var r=0,i=0;i<t.length;i++){if(e[n+i]!==t[i]){r=0;break}r++}if(r==t.length)return n}return-1}var le=window,de=document;var ve,fe=window;var ge=((ve={})[0]=function(){return void 0!==navigator.webdriver},ve[1]=function(){return e.__awaiter(this,void 0,void 0,(function(){var t,n;return e.__generator(this,(function(e){switch(e.label){case 0:return(t=navigator.permissions)?[4,t.query({name:"notifications"})]:[2,void 0];case 1:return n=e.sent(),"undefined"==typeof Notification?[2,void 0]:[2,"denied"===Notification.permission&&"prompt"===n.state]}}))}))},ve[2]=function(){var e=Q.documentElement;return"webdriver"in z||"_Selenium_IDE_Recorder"in z||"callSelenium"in z||"_selenium"in z||"__webdriver_script_fn"in Q||"__driver_evaluate"in Q||"__webdriver_evaluate"in Q||"__selenium_evaluate"in Q||"__fxdriver_evaluate"in Q||"__driver_unwrapped"in Q||"__webdriver_unwrapped"in Q||"__selenium_unwrapped"in Q||"__fxdriver_unwrapped"in Q||"__webdriver_script_func"in Q||null!==e.getAttribute("selenium")||null!==e.getAttribute("webdriver")||null!==e.getAttribute("driver")},ve[3]=function(){return e.__awaiter(this,void 0,void 0,(function(){var t,n;return e.__generator(this,(function(e){switch(e.label){case 0:if(void 0!==(t=function(){try{var e=localStorage.getItem("_inc");if(!e)return;return"1"===e}catch(t){return}}()))return[2,t];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,ue()];case 2:return function(e){try{localStorage.setItem("_inc",e?"1":"0")}catch(t){}}(n=e.sent()),[2,n];case 3:return e.sent(),[2,!1];case 4:return[2]}}))}))},ve[4]=function(){if(!t.isChromium())return!1;try{if([66,114,97,118,101].map((function(e){return String.fromCharCode(e)})).join("")in le)return!0;var e=de.createElement("canvas");e.width=4,e.height=4,e.style.display="inline";var n=e.toDataURL();if(""===n)return!0;for(var r=window.atob(n.split(",")[1]),i=r.length,o=new Uint8Array(i),a=0;a<i;a++)o[a]=r.charCodeAt(a);var s=ce(o,[73,68,65,84,24]);if(-1===s)return!1;var u=ce(o,[73,69,78,68]);return-1!==s&&1321!==o.slice(s+5,u).reduce((function(e,t){return e+t}),0)}catch(c){return!1}},ve[5]=function(){return e.__awaiter(this,void 0,void 0,(function(){var n,r;return e.__generator(this,(function(e){switch(e.label){case 0:if(!t.isChromium()&&!t.isWebKit())return[2,-2];if(!(n=fe.RTCPeerConnection||fe.webkitRTCPeerConnection))return[2,-3];r=new n({iceServers:[]}),e.label=1;case 1:return e.trys.push([1,,3,4]),[4,new Promise((function(e,t){var n=function(){return e(-1)};r.onicecandidate=function(t){var r=t.candidate;if(!(null==r?void 0:r.candidate))return n();var i=function(e){var t=/candidate:(\d+)\b/i.exec(e);return t?+t[1]:void 0}(r.candidate);void 0!==i&&e(i)},r.onicegatheringstatechange=function(){"complete"===r.iceGatheringState&&n()},r.onicecandidateerror=t,r.createDataChannel("test"),function(e,t){try{return e.createOffer(t)}catch(n){if(/\bcreateOffer\b.*(\bcallback\b.*\bnot a function\b|\barguments required\b.*\bpresent\b)/i.test(n.message))return new Promise((function(n,r){e.createOffer(n,r,t)}));throw n}}(r).then((function(e){return r.setLocalDescription(e)}),t),setTimeout((function(){return e(-4)}),500)}))];case 2:return[2,e.sent()];case 3:return r.close(),[7];case 4:return[2]}}))}))},ve);var _e=document,he=location;function pe(e){for(var t=e+"=",n=0,r=_e.cookie.split(";");n<r.length;n++){for(var i=r[n],o=0;" "===i[o]&&o<i.length;)++o;if(i.indexOf(t)===o)return i.slice(o+t.length)}}function me(e,t,n,r){var i=e+"="+t,o="expires="+new Date(Date.now()+24*n*60*60*1e3).toUTCString(),a=r?"domain="+r:"";_e.cookie=[i,"path=/",o,a,"SameSite=Lax"].join("; ")}function we(e,t,n){var r=he.hostname;be(r,(function(t){!function(e,t){me(e,"",-1,t)}(e,t)})),be(r,(function(r){return me(e,t,n,r),pe(e)!==t}))&&me(e,t,n)}function be(e,t){var n=e.length;do{if(n=n>0?e.lastIndexOf(".",n-1):-1,!1===t(e.slice(n+1)))return!1}while(n>=0);return!0}function Ee(e){return void 0===e&&(e="_vid"),[pe(e),Re(e)]}function ye(e,t){void 0===t&&(t="_vid"),we(t,e,365),function(e,t){var n;try{null===(n=null===localStorage||void 0===localStorage?void 0:localStorage.setItem)||void 0===n||n.call(localStorage,e,t)}catch(r){}}(t,e)}function Re(e){var t,n;try{return null!==(n=null===(t=null===localStorage||void 0===localStorage?void 0:localStorage.getItem)||void 0===t?void 0:t.call(localStorage,e))&&void 0!==n?n:void 0}catch(r){}}function Ie(n,r,o){var a=this,c=o.token,l=o.region,d=void 0===l?"us":l,v=o.endpoint,g=o.tlsEndpoint,_=o.storageKey,h=o.debug;var p=function(t,r,i,o,s,u,l){return e.__awaiter(a,void 0,void 0,(function(){var a,f,h,p;return e.__generator(this,(function(b){switch(b.label){case 0:return[4,Promise.all([m(d,g,o,!!i,l),w(l)])];case 1:return a=b.sent(),f=a[0],h=a[1],[4,G(e.__assign(e.__assign({},f),{token:c,endpoint:U(d,v),components:h,tag:t,visitorId:Ee(_),linkedId:r,extendedResult:s,ipResolution:u}),e.__assign(e.__assign({},l),{agentId:n}))];case 2:return ye((p=b.sent()).visitorId,_),[2,p]}}))}))},m=function(t,r,i,o,s){return e.__awaiter(a,void 0,void 0,(function(){return e.__generator(this,(function(a){return o?[2,void 0]:[2,M(function(e,t){return t||V[e]}(t,r),i,e.__assign(e.__assign({},s),{agentId:n})).then((function(e){return{tls:e}}),(function(e){return{tlsError:e}}))]}))}))},w=function(i){var o=i.output,s=i.getCallId;return E(o,(function(){return{e:9,agentId:n,getCallId:s}}),(function(e){return{e:10,agentId:n,getCallId:s,result:e}}),(function(e){return{e:11,agentId:n,getCallId:s,error:e}}),(function(){return e.__awaiter(a,void 0,void 0,(function(){var n,i;return e.__generator(this,(function(o){switch(o.label){case 0:return[4,r.get()];case 1:return n=o.sent(),[4,t.getComponents(ge,void 0,[])];case 2:return i=o.sent(),[2,e.__assign(e.__assign({},n.components),i)]}}))}))}))};return{get:function(e){void 0===e&&(e={});var t=s(8),r=u([h,e.debug&&f()]);return E(r,(function(){return{e:3,agentId:n,getCallId:t,options:e}}),(function(e){return{e:4,agentId:n,getCallId:t,visitorId:e.visitorId,result:e}}),(function(e){return{e:5,agentId:n,getCallId:t,error:e}}),(function(){var n=e.timeout,o=void 0===n?1e4:n,a=e.tag,s=e.linkedId,u=e.disableTls,c=e.extendedResult,l=e.ipResolution;return Promise.race([i(o).then((function(){throw new Error("Client timeout")})),p(a,s,u,o/2,c,l,{output:r,getCallId:t})])}))}}}function ke(n){var r=this,i=s(8);return E(n.debug,(function(){return{e:0,agentId:i,version:"3.2.3",options:n}}),(function(){return{e:1,agentId:i}}),(function(e){return{e:2,agentId:i,error:e}}),(function(){return e.__awaiter(r,void 0,void 0,(function(){var r;return e.__generator(this,(function(e){switch(e.label){case 0:if(!n.token||"string"!=typeof n.token)throw new Error("Token required");return[4,t.load({delayFallback:n.delayFallback})];case 1:return r=e.sent(),[2,Ie(i,r,n)]}}))}))}))}var Te={load:ke,ERROR_CLIENT_TIMEOUT:"Client timeout",ERROR_NETWORK_CONNECTION:"Network connection error",ERROR_NETWORK_ABORT:"Network request aborted",ERROR_TOKEN_MISSING:"Token required",ERROR_TOKEN_INVALID:"Token not found",ERROR_TOKEN_EXPIRED:"Token expired",ERROR_BAD_REQUEST_FORMAT:"Request cannot be parsed",ERROR_GENERAL_SERVER_FAILURE:"Request failed",ERROR_SERVER_TIMEOUT:"Request failed to process",ERROR_RATE_LIMIT:"Too many requests, rate limit exceeded",ERROR_FORBIDDEN_ORIGIN:"Not available for this origin",ERROR_FORBIDDEN_HEADER:"Not available with restricted header"};exports.ERROR_BAD_REQUEST_FORMAT="Request cannot be parsed",exports.ERROR_CLIENT_TIMEOUT="Client timeout",exports.ERROR_FORBIDDEN_HEADER="Not available with restricted header",exports.ERROR_FORBIDDEN_ORIGIN="Not available for this origin",exports.ERROR_GENERAL_SERVER_FAILURE="Request failed",exports.ERROR_NETWORK_ABORT="Network request aborted",exports.ERROR_NETWORK_CONNECTION="Network connection error",exports.ERROR_RATE_LIMIT="Too many requests, rate limit exceeded",exports.ERROR_SERVER_TIMEOUT="Request failed to process",exports.ERROR_TOKEN_EXPIRED="Token expired",exports.ERROR_TOKEN_INVALID="Token not found",exports.ERROR_TOKEN_MISSING="Token required",exports.default=Te,exports.load=ke,exports.makeConsoleDebugger=f,exports.makeDebugReportBuilder=function(e){return new S(e).addEvent},exports.makeMulticastDebugger=u,exports.makeRemoteDebugger=function(t){var n=this,r=t.clientId,i=t.token,o=t.endpoint,a=void 0===o?"https://api.rollbar.com/api/1/item/":o;return new S((function(t){return e.__awaiter(n,void 0,void 0,(function(){var n;return e.__generator(this,(function(e){switch(e.label){case 0:return n=function(e,t,n,r){return{access_token:n,data:L(e,t,r)}}(t,r,i),[4,j(a,n)];case 1:return e.sent(),[2]}}))}))})).addEvent}; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("@fingerprintjs/fingerprintjs");function n(e,t){return new Promise((function(n){return setTimeout((function(){return n(t)}),e)}))}function r(e,t){return new Promise((function(n){var r=document,i=function(){return r.hidden?s():a()},o=function(e,t,n){var r,i=!1,o=e,a=0,s=function(){i||void 0!==r||(a=Date.now(),r=setTimeout((function(){i=!0,n()}),o))};return t&&s(),{start:s,stop:function(){i||void 0===r||(clearTimeout(r),r=void 0,o-=Date.now()-a)}}}(e,!r.hidden,(function(){r.removeEventListener("visibilitychange",i),n(t)})),a=o.start,s=o.stop;r.addEventListener("visibilitychange",i)}))}function i(t,n){return e.__awaiter(this,void 0,void 0,(function(){var r;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,t()];case 1:return[2,e.sent()];case 2:return r=e.sent(),console.error(r),[2,n];case 3:return[2]}}))}))}function o(e,t){for(var n="",r=0;r<e;r++)n+=t.charAt(Math.random()*t.length);return n}function a(e){return o(e,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")}function s(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=function(e){e&&i((function(){return e.apply(void 0,t)}))},o=0,a=e;o<a.length;o++){var s=a[o];r(s)}}}function u(t,n){var r;return void 0===n&&(n=!1),e.__assign({name:t.name,message:t.message,stack:n?null===(r=t.stack)||void 0===r?void 0:r.split("\n"):t.stack},t)}function c(){var e=window;try{return e.self!==e.top}catch(t){return!0}}function l(e){switch(e){case 0:return"Loading has started";case 1:return"Loading has succeeded";case 2:return"Loading has failed";case 3:return"Getting visitor identifier has started";case 4:return"Getting visitor identifier has succeeded";case 5:return"Getting visitor identifier has failed";case 6:return"TLS request has started";case 7:return"TLS request has succeeded";case 8:return"TLS request has failed";case 9:return"Getting fingerprint has started";case 10:return"Getting fingerprint has succeeded";case 11:return"Getting fingerprint has failed";case 12:return"Visitor identifier request has started";case 13:return"Visitor identifier request has succeeded";case 14:return"Visitor identifier request has failed"}}function d(e){return void 0===e&&(e="[FingerprintJS Pro] "),function(t){switch(t.e){case 2:case 5:case 8:case 11:case 14:console.error(v(e,t));break;case 10:var n=v(e,t),r=t.result;Object.keys(r).some((function(e){return r[e].error}))?console.warn(n):console.log(n);break;default:console.log(v(e,t))}}}function v(t,n){var r=n.e,i=e.__rest(n,["e"]),o=""+t+(new Date).toISOString()+": "+l(r);return Object.keys(i).length&&(o+="\n```\n"+function(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?u(t,!0):t}),2)}(i)+"\n```"),o}function f(e){var t=e.url,n=e.method,r=void 0===n?"get":n,i=e.body,o=e.headers,a=e.withCredentials,s=void 0!==a&&a,u=e.timeout;return new Promise((function(e,n){var a=new XMLHttpRequest;for(var c in a.open(r,t,!0),a.withCredentials=s,a.timeout=void 0===u?0:Math.max(u,1),o)a.setRequestHeader(c,o[c]);a.onload=function(){return e(function(e){return{text:e.responseText,status:e.status,statusText:e.statusText}}(a))},a.ontimeout=function(){return n(g("TimeoutError","The request timed out"))},a.onabort=function(){return n(g("AbortError","The request is aborted"))},a.onerror=function(){return n(g("TypeError",navigator.onLine?"Connection error":"Network offline"))},a.send(i)}))}function g(e,t){var n=new Error(t);return n.name=e,n}function _(e){var t=e.url,n=e.body,r=navigator.sendBeacon;if(r)return r(t,n);var i=new XMLHttpRequest;i.open("POST",t,!function(){var e,t=null===(e=window.event)||void 0===e?void 0:e.type;return"pagehide"===t||"unload"===t}()),n instanceof Blob&&i.setRequestHeader("Content-Type",n.type);try{i.send(n)}catch(o){return!1}return!0}function h(e,t){if(0==t.length||t.length>e.length)return-1;for(var n=0;n<e.length;n++){for(var r=0,i=0;i<t.length;i++){if(e[n+i]!==t[i]){r=0;break}r++}if(r==t.length)return n}return-1}function p(t,n,r,o,a){return e.__awaiter(this,void 0,void 0,(function(){var s,u,c;return e.__generator(this,(function(e){switch(e.label){case 0:(u=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];t&&i((function(){var r=e.apply(void 0,n);void 0!==r&&t(r)}))})(n),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,a()];case 2:return s=e.sent(),[3,4];case 3:throw c=e.sent(),u(o,c),c;case 4:return u(r,s),[2,s]}}))}))}function m(){var e=window,t=e.__fpjs_pvid;return e.__fpjs_pvid="string"==typeof t?t:a(10)}var w=function(){function e(e){var t=this;this.onReportReady=e,this.isStopped=!1,this.pageStartTimestamp=function(){var e,t,n=performance;if(n.timeOrigin){var r=null===(t=null===(e=n.getEntriesByType)||void 0===e?void 0:e.call(n,"navigation"))||void 0===t?void 0:t[0];if(r)return n.timeOrigin+(r.responseStart||r.unloadEventEnd)}return n.timing.domLoading||n.timing.responseStart||n.timing.unloadEventEnd}(),this.events={},this.addEvent=function(e){if(!t.isStopped){var n={time:new Date,type:"agentEvent",event:e};switch(0!==e.e&&3!==e.e||(n.documentReadyState=document.readyState,n.isPageVisible=k(),n.isFullscreen=I(),n.network=T()),t.storeAgentEvent(n),e.e){case 2:t.submitReport(e.agentId,void 0);break;case 4:case 5:t.submitReport(e.agentId,e.getCallId)}}};for(var n=window,r=document,i=[[r,"readystatechange",function(){return t.handleDocumentReadyStateChange()}],[r,"visibilitychange",function(){return t.handleVisibilityChange()}],[r,"pageshow",function(){return t.handlePageTransition(!0)}],[r,"pagehide",function(){return t.handlePageTransition(!1)}],[n,"unload",function(){return t.handlePageUnload()}]],o=0,a=i;o<a.length;o++){var s=a[o],u=s[0],c=s[1],l=s[2];u.addEventListener(c,l)}var d=function(e,t){for(var n=document,r=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],i=0,o=r;i<o.length;i++){var a=o[i];n.addEventListener(a,e,t)}return function(){for(var i=0,o=r;i<o.length;i++){var a=o[i];n.removeEventListener(a,e,t)}}}((function(){return t.handleFullscreenChange()})),v=function(e){var t=navigator.connection;if(!t)return addEventListener("online",e),addEventListener("offline",e),function(){removeEventListener("online",e),removeEventListener("offline",e)};var n=!1,r=t.onchange,i=function(t){try{n||e()}finally{null==r||r(t)}};return t.onchange=i,function(){n=!0,t.onchange===i&&(t.onchange=r)}}((function(){return t.handleNetworkConnectionChange()}));this.stop=function(){t.isStopped=!0;for(var e=0,n=i;e<n.length;e++){var r=n[e],o=r[0],a=r[1],s=r[2];o.removeEventListener(a,s)}d(),v()}}return e.prototype.handleDocumentReadyStateChange=function(){this.storeEnvironmentEvent({time:new Date,type:"documentReadyState",state:document.readyState})},e.prototype.handleVisibilityChange=function(){this.storeEnvironmentEvent({time:new Date,type:"pageVisibilityToggle",isVisible:k()})},e.prototype.handlePageTransition=function(e){this.storeEnvironmentEvent({time:new Date,type:"pageTransition",isShown:e})},e.prototype.handleFullscreenChange=function(){this.storeEnvironmentEvent({time:new Date,type:"fullscreenToggle",isFullscreen:I()})},e.prototype.handleNetworkConnectionChange=function(){this.storeEnvironmentEvent({time:new Date,type:"networkChange",network:T()})},e.prototype.handlePageUnload=function(){this.storeEnvironmentEvent({time:new Date,type:"pageUnload"});for(var e=0,t=Object.keys(this.events);e<t.length;e++){var n=t[e],r=this.events[n];if(0===Object.keys(r.getCalls).length)this.submitReport(n,void 0);else for(var i=0,o=Object.keys(r.getCalls);i<o.length;i++){var a=o[i];b(r.getCalls[a])||this.submitReport(n,a)}}this.stop()},e.prototype.storeAgentEvent=function(e){var t=e.event,n=t.agentId;switch(this.events[n]||(this.events[n]={loadEvents:[],getCalls:{}}),t.e){case 0:case 1:case 2:this.events[n].loadEvents.push(e);break;default:var r=t.getCallId;this.events[n].getCalls[r]||(this.events[n].getCalls[r]=[]),this.events[n].getCalls[r].push(e)}},e.prototype.storeEnvironmentEvent=function(e){for(var t=0,n=Object.keys(this.events);t<n.length;t++){var r=n[t],i=this.events[r];i.loadEvents.some((function(e){return"agentEvent"===e.type&&(1===e.event.e||2===e.event.e)}))||i.loadEvents.push(e);for(var o=0,a=Object.keys(i.getCalls);o<a.length;o++){var s=a[o],u=i.getCalls[s];b(u)||u.push(e)}}},e.prototype.submitReport=function(e,t){var n=function(e,t){for(var n,r,i,o,a,s,u,l,d,v,f,g,_,h,p,w=function(e){for(var t={},n={},r=0,i=e;r<i.length;r++){var o=i[r];"agentEvent"===o.type?t[o.event.e]=o:n[o.type]=o}return{agentEvents:t,otherEvents:n}}(e),b=w.agentEvents,k=w.otherEvents,I=null!==(r=null===(n=k.pageUnload)||void 0===n?void 0:n.time)&&void 0!==r?r:new Date,T="null",S=0,O=[[4,"getSuccess"],[5,"getFail"],[3,"getting"],[1,"loadSuccess"],[2,"loadFail"],[0,"loading"]];S<O.length;S++){var C=O[S],x=C[0],N=C[1];if(b[x]){T=N;break}}return{time:null!==(l=null!==(s=null!==(o=null===(i=b[4])||void 0===i?void 0:i.time)&&void 0!==o?o:null===(a=b[5])||void 0===a?void 0:a.time)&&void 0!==s?s:null===(u=b[2])||void 0===u?void 0:u.time)&&void 0!==l?l:I,pageUrl:location.href,pageStartTime:new Date(t),isInIframe:c(),agentVersion:null===(d=b[0])||void 0===d?void 0:d.event.version,userAgent:navigator.userAgent,pageViewId:m(),agentId:null===(v=b[0])||void 0===v?void 0:v.event.agentId,getCallId:null===(f=b[3])||void 0===f?void 0:f.event.getCallId,requestId:null!==(_=null===(g=b[4])||void 0===g?void 0:g.event.requestId)&&void 0!==_?_:null===(h=b[5])||void 0===h?void 0:h.event.requestId,visitorId:null===(p=b[4])||void 0===p?void 0:p.event.visitorId,identificationState:T,load:y(I,b[0],b[1],b[2]),get:y(I,b[3],b[4],b[5]),tls:y(I,b[6],b[7],b[8],(function(e){return{responseStatus:e.event.status}})),fingerprint:y(I,b[9],b[10],b[11],(function(e){var t=e.event;return{failedComponents:E(t.result),componentDurations:R(t.result)}})),visitorIdRequest:y(I,b[12],b[13],b[14],(function(e){return{responseStatus:e.event.status}})),events:e}}(function(e,t,n){var r,i=[];e[t]&&(i.push.apply(i,e[t].loadEvents),void 0!==n&&i.push.apply(i,null!==(r=e[t].getCalls[n])&&void 0!==r?r:[]));return i}(this.events,e,t),this.pageStartTimestamp);try{this.onReportReady(n)}catch(r){console.error(r)}},e}();function b(e){return e.some((function(e){return"agentEvent"===e.type&&(4===e.event.e||5===e.event.e)}))}function y(t,n,r,i,o){if(void 0!==n)return void 0!==r?e.__assign(e.__assign({},null==o?void 0:o(r)),{duration:r.time.getTime()-n.time.getTime(),state:"success"}):void 0!==i?{duration:i.time.getTime()-n.time.getTime(),state:"fail",error:i.event.error}:{duration:t.getTime()-n.time.getTime(),state:"incomplete"}}function E(e){return Object.keys(e).filter((function(t){return e[t].error}))}function R(e){for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];t[i]=e[i].duration}return t}function k(){return!document.hidden}function I(){return!!((e=document).fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement);var e}function T(){var e=navigator.connection;return{online:navigator.onLine,downlink:null==e?void 0:e.downlink,downlinkMax:null==e?void 0:e.downlinkMax,effectiveType:null==e?void 0:e.effectiveType,roundTrip:null==e?void 0:e.rtt,saveData:null==e?void 0:e.saveData,type:null==e?void 0:e.type}}function S(t,n,r){var i,a;void 0===r&&(r=[8,4,4,4,12].map((function(e){return o(e,"0123456789abcdef")})).join("-"));var s=O[t.identificationState],u=s.level,c=s.message;return{environment:n,level:u,timestamp:Math.round(t.time.getTime()/1e3),platform:"browser",framework:"FingerprintJS Pro",language:"javascript",uuid:r,notifier:{name:"FingerprintJS Pro monitoring",version:"3.2.4"},request:{url:t.pageUrl,query_string:(null!==(i=/\?.*$/.exec(t.pageUrl))&&void 0!==i?i:[""])[0],user_ip:"$remote_ip"},client:{javascript:{browser:t.userAgent,code_version:t.agentVersion}},person:void 0===t.visitorId?void 0:{id:"visitorId:"+t.visitorId},body:{telemetry:e.__spreadArrays([{level:"debug",source:"client",timestamp_ms:t.pageStartTime.getTime(),type:"manual",body:{message:"Page starts","~~hack~componentDurations":"success"===(null===(a=t.fingerprint)||void 0===a?void 0:a.state)?N(t.fingerprint.componentDurations):void 0}}],t.events.map(C)),message:{body:c}},custom:{isInIframe:t.isInIframe,pageViewId:t.pageViewId,agentId:t.agentId,getCallId:t.getCallId,requestId:t.requestId,visitorId:t.visitorId,identificationState:t.identificationState,load:t.load,get:t.get,tls:t.tls,fingerprint:x(t.fingerprint),visitorIdRequest:t.visitorIdRequest}}}var O={null:{level:"info",message:"Load() wasn't called"},loading:{level:"warning",message:"Load() incomplete"},loadSuccess:{level:"info",message:"Load() succeeded, get() wasn't called"},loadFail:{level:"error",message:"Load() failed"},getting:{level:"warning",message:"Get() incomplete"},getSuccess:{level:"info",message:"Get() succeeded"},getFail:{level:"error",message:"Get() failed"}};function C(t){var n={type:"manual",level:"debug",source:"client",timestamp_ms:t.time.getTime()};switch(t.type){case"documentReadyState":return e.__assign(e.__assign({},n),{body:{message:'Document ready state becomes "'+t.state+'"'}});case"pageVisibilityToggle":return e.__assign(e.__assign({},n),{body:{message:"Page becomes "+(t.isVisible?"visible (in foreground)":"invisible (in background)")}});case"pageTransition":return e.__assign(e.__assign({},n),{body:{message:t.isShown?"Page is restored from browser history":"Page is about to go to browser history"}});case"fullscreenToggle":return e.__assign(e.__assign({},n),{body:{message:"Programmatic fullscreen "+(t.isFullscreen?"on":"off")}});case"networkChange":return e.__assign(e.__assign({},n),{body:e.__assign(e.__assign({},t.network),{message:"Network connection changes"})});case"pageUnload":return e.__assign(e.__assign({},n),{body:{message:"Page is about to unload (terminate)"}})}for(var r=t.event,i=e.__assign(e.__assign({},n),{level:"info",body:{message:l(r.e)}}),o=0,a=["documentReadyState","isPageVisible","isFullscreen","network"];o<a.length;o++){var s=a[o];void 0!==t[s]&&(i.body[s]=t[s])}switch(r.e){case 0:case 3:return e.__assign(e.__assign({},i),{body:e.__assign(e.__assign({},i.body),{options:r.options})});case 1:case 9:return i;case 2:case 5:case 8:case 11:case 14:return e.__assign(e.__assign({},i),{level:"error",body:e.__assign(e.__assign({},i.body),{error:r.error})});case 4:case 10:return e.__assign(e.__assign({},i),{body:e.__assign(e.__assign({},i.body),{result:r.result})});case 6:return e.__assign(e.__assign({},i),{body:e.__assign(e.__assign({},i.body),{endpoint:r.endpoint,timeout:r.timeout})});case 7:case 13:return e.__assign(e.__assign({},i),{body:e.__assign(e.__assign({},i.body),{status:r.status,body:r.body.slice(0,4096)})});case 12:return e.__assign(e.__assign({},i),{body:e.__assign(e.__assign({},i.body),{endpoint:r.endpoint,request:r.request})})}}function x(t){if(!t||"incomplete"===t.state||"fail"===t.state)return t;t.componentDurations;var n=e.__rest(t,["componentDurations"]),r=t.failedComponents.length?","+t.failedComponents.join(",")+",":void 0;return e.__assign(e.__assign({},n),{failedComponents:r})}function N(t,n){void 0===n&&(n="_");for(var r=e.__assign({},t),i=0,o=Object.keys(t);i<o.length;i++){var a=o[i];if(/^\d+$/.test(a)){delete r[a];var s=a;do{s=""+n+s}while(s in r);r[s]=t[a]}}return r}function q(t,r){return e.__awaiter(this,void 0,void 0,(function(){var i,o;return e.__generator(this,(function(a){switch(a.label){case 0:i=function(t){var n=function(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?u(t):t}))},r=65536,i=n(t);o=i,new Blob([o]).size>r&&(i=n(function(t,n){var r;return e.__assign(e.__assign({},t),{data:e.__assign(e.__assign({},t.data),{body:e.__assign(e.__assign({},t.data.body),{telemetry:[{source:"client",level:"warning",timestamp_ms:Date.now(),type:"manual",body:{message:"The Rollbar request body exceeded Beacon limit of "+n+" bytes, therefore some data have been omitted"}}]}),custom:{identificationState:null===(r=t.data.custom)||void 0===r?void 0:r.identificationState,exceedsBeaconLimit:!0}})})}(t,r)));var o;return i}(r),o=0,a.label=1;case 1:return navigator.onLine&&_({url:t,body:i})?[3,5]:[3,2];case 2:return[4,n(1e3*Math.min(o+1,10))];case 3:a.sent(),a.label=4;case 4:return++o,[3,1];case 5:return[2]}}))}))}var D={us:"https://api.sjpf.io",eu:"https://tls-eun1.fpapi.io"};function L(t,n,r){return e.__awaiter(this,void 0,void 0,(function(){var i;return e.__generator(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,p(r,(function(){return{e:6,endpoint:t,timeout:n}}),(function(e){return{e:7,status:e.status,body:e.text}}),(function(e){return{e:8,error:e}}),(function(){return f({url:t,timeout:n})}))];case 1:return i=e.sent(),[3,3];case 2:switch(e.sent().name){case"AbortError":throw new Error("Abort");case"TimeoutError":throw new Error("Timeout");default:throw new Error("Connection error")}case 3:if(200===i.status)return[2,i.text];throw new Error(i.text.slice(0,255))}}))}))}function A(n){var r,i=n.components,o=n.token,a=n.visitorId,s=n.tag,u=n.ipResolution,c=n.extendedResult,l=n.linkedId,d=n.tls,v=n.tlsError,f=Object.keys(i).reduce((function(e,t){return e+i[t].duration}),0),g="full"===u?2:1;return(r={}).c=o,r.url=location.href,r.d=f,r.vid=a[0]||a[1]||void 0,r.ls=a[1]?1:void 0,r.t=function(e){if(e&&"object"==typeof e)return e;if(null==e)return;return{tag:e}}(s),r.i=g,r.cbd=c?1:void 0,r.lid=l,r.cr=document.referrer||void 0,r.j=d,r.je=null==v?void 0:v.message,r.k1=P(i.osCpu),r.k2=P(i.languages),r.k3=P(i.colorDepth),r.k4=P(i.deviceMemory),r.k5=P(i.screenResolution),r.k6=P(i.availableScreenResolution,void 0,[]),r.k7=P(i.hardwareConcurrency),r.k8=P(i.timezoneOffset),r.k9=P(i.timezone),r.k10=j(P(i.sessionStorage)),r.k11=j(P(i.localStorage)),r.k12=j(P(i.indexedDB)),r.k13=j(P(i.openDatabase)),r.k14=P(i.cpuClass),r.k15=P(i.platform),r.k16=P(i.plugins,[]),r.k17=function(n){var r=n.value;if(!r)return;return e.__assign(e.__assign({},r),{data:t.murmurX64Hash128(r.data)})}(i.canvas),r.k18=0,r.k19=P(i.touchSupport),r.k20=P(i.fonts,[]),r.k21=P(i.audio,-4),r.k22=j(P(i.pluginsSupport)),r.k23=P(i.productSub),r.k24=P(i.emptyEvalLength),r.k25=j(P(i.errorFF)),r.k26=j(P(i[0])),r.k27=P(i.vendor),r.k28=j(P(i.chrome)),r.k29=j(P(i[1])),r.k30=j(P(i[2])),r.k31=j(P(i[3],!1)),r.k32=j(P(i.cookiesEnabled,!1)),r.k33=j(P(i[4])),r.k34=P(i[5],-5),r}function P(e,t,n){return e.error?t:void 0===e.value?n:e.value}function j(e){return!0===e?1:!1===e?0:e}function F(e,t){if(t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function U(t,n){var r=t.endpoint,i=t.extendedResult,o=e.__rest(t,["endpoint","extendedResult"]);return e.__awaiter(this,void 0,void 0,(function(){var t;return e.__generator(this,(function(a){switch(a.label){case 0:return t=A(e.__assign({extendedResult:i},o)),[4,V(r,t,n)];case 1:return[2,M(a.sent(),i)]}}))}))}function V(t,n,r){return e.__awaiter(this,void 0,void 0,(function(){var i,o;return e.__generator(this,(function(e){switch(e.label){case 0:i=function(e){return e+(-1===e.indexOf("?")?"?":"&")+"cv="+encodeURIComponent("3.2.4")}(t),e.label=1;case 1:return e.trys.push([1,3,,4]),[4,p(r,(function(){return{e:12,endpoint:i,request:n}}),(function(e){return{e:13,status:e.status,body:e.text}}),(function(e){return{e:14,error:e}}),(function(){return f({url:i,method:"post",body:JSON.stringify(n),headers:{"Content-Type":"text/plain"},withCredentials:!0})}))];case 2:return[2,e.sent()];case 3:throw o=e.sent(),new Error("AbortError"===o.name?"Network request aborted":"Network connection error");case 4:return[2]}}))}))}function M(t,n){return e.__awaiter(this,void 0,void 0,(function(){var r,i;return e.__generator(this,(function(e){if(404===t.status||t.status>=500)throw new Error(t.statusText);try{r=JSON.parse(t.text)}catch(o){throw new Error(t.text)}if(function(e){return e&&"object"==typeof e&&"string"==typeof e.visitorId&&"n/a"!==e.visitorId}(r))return K(r.notification),[2,B(r)];if(function(e){return e&&"object"==typeof e&&"n/a"===e.visitorId}(r)){if(K(r.notification),"Not available for crawl bots"===r.reason||"Not available when User-Agent is unspecified"===r.reason)return[2,G(r,n)];throw(i=new Error(r.reason)).requestId=r.requestId,i}throw new Error(t.text)}))}))}function B(t){var n=t,r=n.botProbability,i=(n.notification,e.__rest(n,["botProbability","notification"])),o=e.__assign({},i);return r&&(o.bot={probability:r}),o}function G(t,n){var r={requestId:t.requestId,visitorFound:!1,visitorId:""};if(!n)return r;var i=e.__assign(e.__assign({},r),{bot:{probability:1},incognito:!1,browserName:"n/a",browserVersion:"n/a",device:"n/a",ip:"n/a",ipLocation:{},os:"n/a",osVersion:"n/a"});return"Not available for crawl bots"===t.reason&&(i.bot.safe=!0),i}function K(e){if(e){var t=e.level,n=e.message;"error"===t?console.error(n):"warning"===t?console.warn(n):console.log(n)}}function H(){var e,t;return(null===(t=null===(e=window.performance)||void 0===e?void 0:e.memory)||void 0===t?void 0:t.jsHeapSizeLimit)||1073741824}function W(){return e.__awaiter(this,void 0,void 0,(function(){var t,n,r;return e.__generator(this,(function(e){switch(e.label){case 0:return t=navigator.storage,(n=navigator.webkitTemporaryStorage)?[4,new Promise((function(e){n.queryUsageAndQuota((function(t,n){return e(n)}))}))]:[3,2];case 1:return r=e.sent(),[3,4];case 2:return(null==t?void 0:t.estimate)?[4,t.estimate().then((function(e){return e.quota}))]:[3,4];case 3:r=e.sent(),e.label=4;case 4:return r?[2,r<H()]:[2,!1]}}))}))}function J(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return t.isDesktopSafari()?[2,z()]:[2,X()]}))}))}function z(){var e,t=window.safari;if(!t)return!1;try{t.pushNotification.requestPermission("https://example.com","private",{},(function(){}))}catch(n){return e=n,!new RegExp([103,101,115,116,117,114,101].map((function(e){return String.fromCharCode(e)})).join("")).test(e)}throw new Error("Unexpected lack of error")}function X(){return e.__awaiter(this,void 0,void 0,(function(){var t;return e.__generator(this,(function(e){switch(e.label){case 0:(t=document.createElement("iframe")).style.display="none",e.label=1;case 1:return e.trys.push([1,,3,4]),document.body.appendChild(t),[4,Promise.race([n(20,!1),new Promise((function(e){t.contentWindow?t.contentWindow.applicationCache.addEventListener("error",(function(){return e(!0)})):e(!1)}))])];case 2:return[2,e.sent()];case 3:return t.remove(),[7];case 4:return[2]}}))}))}function Q(){var e=window.openDatabase,t=window.localStorage;try{e(null,null,null,null)}catch(n){return!0}try{return t.setItem("test","1"),t.removeItem("test"),!1}catch(n){return!0}}var $,Y=[[function(){return t.isChromium()},function(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return function(){var e=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(!e)throw"UserAgent is not Google Chrome";return parseInt(e[2],10)}()>=76?[2,W()]:[2,new Promise((function(e){window.webkitRequestFileSystem(0,1,(function(){return e(!1)}),(function(){return e(!0)}))}))]}))}))}],[function(){return t.isWebKit()},function(){return e.__awaiter(this,void 0,void 0,(function(){return e.__generator(this,(function(e){return function(){var e=navigator.userAgent.match(/Version\/([0-9._]+).*Safari/);if(!e)throw new Error("UserAgent is not Safari");var t=e[1].split(".").map((function(e){return isNaN(parseInt(e))?0:parseInt(e)})),n=t[0],r=t[1],i=t[2];return{major:n,minor:r,patch:i}}().major<13?[2,Q()]:[2,J()]}))}))}],[function(){return t.isGecko()},function(){return new Promise((function(e){try{var t=indexedDB.open("test");t.onerror=function(){return e(!0)},t.onsuccess=function(){return e(!1)}}catch(n){return e(!0)}}))}],[function(){return t.isTrident()||t.isEdgeHTML()},function(){try{if(!window.indexedDB)return!0}catch(e){return!0}return!1}]];function Z(){return e.__awaiter(this,void 0,void 0,(function(){var t,n,r,i,o;return e.__generator(this,(function(e){switch(e.label){case 0:t=0,n=Y,e.label=1;case 1:return t<n.length?(r=n[t],i=r[0],o=r[1],i()?[4,o()]:[3,3]):[3,4];case 2:return[2,e.sent()];case 3:return t++,[3,1];case 4:return[2,!1]}}))}))}var ee=(($={})[0]=function(){return void 0!==navigator.webdriver},$[1]=function(){return e.__awaiter(this,void 0,void 0,(function(){var t,n;return e.__generator(this,(function(e){switch(e.label){case 0:return(t=navigator.permissions)?[4,t.query({name:"notifications"})]:[2,void 0];case 1:return n=e.sent(),"undefined"==typeof Notification?[2,void 0]:[2,"denied"===Notification.permission&&"prompt"===n.state]}}))}))},$[2]=function(){var e=window,t=document,n=t.documentElement;return"webdriver"in e||"_Selenium_IDE_Recorder"in e||"callSelenium"in e||"_selenium"in e||"__webdriver_script_fn"in t||"__driver_evaluate"in t||"__webdriver_evaluate"in t||"__selenium_evaluate"in t||"__fxdriver_evaluate"in t||"__driver_unwrapped"in t||"__webdriver_unwrapped"in t||"__selenium_unwrapped"in t||"__fxdriver_unwrapped"in t||"__webdriver_script_func"in t||null!==n.getAttribute("selenium")||null!==n.getAttribute("webdriver")||null!==n.getAttribute("driver")},$[3]=function(){return e.__awaiter(this,void 0,void 0,(function(){var t,n;return e.__generator(this,(function(e){switch(e.label){case 0:if(void 0!==(t=function(){try{var e=localStorage.getItem("_inc");if(!e)return;return"1"===e}catch(t){return}}()))return[2,t];e.label=1;case 1:return e.trys.push([1,3,,4]),[4,Z()];case 2:return function(e){try{localStorage.setItem("_inc",e?"1":"0")}catch(t){}}(n=e.sent()),[2,n];case 3:return e.sent(),[2,!1];case 4:return[2]}}))}))},$[4]=function(){var e=window;if(!t.isChromium())return!1;try{if([66,114,97,118,101].map((function(e){return String.fromCharCode(e)})).join("")in e)return!0;var n=document.createElement("canvas");n.width=4,n.height=4,n.style.display="inline";var r=n.toDataURL();if(""===r)return!0;for(var i=window.atob(r.split(",")[1]),o=i.length,a=new Uint8Array(o),s=0;s<o;s++)a[s]=i.charCodeAt(s);var u=h(a,[73,68,65,84,24]);if(-1===u)return!1;var c=h(a,[73,69,78,68]);return-1!==u&&1321!==a.slice(u+5,c).reduce((function(e,t){return e+t}),0)}catch(l){return!1}},$[5]=function(){return e.__awaiter(this,void 0,void 0,(function(){var n,r,i;return e.__generator(this,(function(e){switch(e.label){case 0:if(!t.isChromium()&&!t.isWebKit())return[2,-2];if(n=window,!(r=n.RTCPeerConnection||n.webkitRTCPeerConnection))return[2,-3];i=new r({iceServers:[]}),e.label=1;case 1:return e.trys.push([1,,3,4]),[4,new Promise((function(e,t){var n=function(){return e(-1)};i.onicecandidate=function(t){var r=t.candidate;if(!r)return n();var i=function(e){var t=/candidate:(\d+)\b/i.exec(e);return t?+t[1]:void 0}(r.candidate);void 0!==i&&e(i)},i.onicegatheringstatechange=function(){"complete"===i.iceGatheringState&&n()},i.onicecandidateerror=t,i.createDataChannel("test"),function(e,t){try{return e.createOffer(t)}catch(n){if(/\bcreateOffer\b.*(\bcallback\b.*\bnot a function\b|\barguments required\b.*\bpresent\b)/i.test(n.message))return new Promise((function(n,r){e.createOffer(n,r,t)}));throw n}}(i).then((function(e){return i.setLocalDescription(e)}),t),setTimeout((function(){return e(-4)}),500)}))];case 2:return[2,e.sent()];case 3:return i.close(),[7];case 4:return[2]}}))}))},$);function te(){return t.getComponents(ee,void 0,[])}function ne(e){for(var t=e+"=",n=0,r=document.cookie.split(";");n<r.length;n++){for(var i=r[n],o=0;" "===i[o]&&o<i.length;)++o;if(i.indexOf(t)===o)return i.slice(o+t.length)}}function re(e,t,n,r){var i=e+"="+t,o="expires="+new Date(Date.now()+24*n*60*60*1e3).toUTCString(),a=r?"domain="+r:"";document.cookie=[i,"path=/",o,a,"SameSite=Lax"].join("; ")}function ie(e,t,n){var r=location.hostname;oe(r,(function(t){!function(e,t){re(e,"",-1,t)}(e,t)})),oe(r,(function(r){return re(e,t,n,r),ne(e)!==t}))&&re(e,t,n)}function oe(e,t){var n=e.length;do{if(n=n>0?e.lastIndexOf(".",n-1):-1,!1===t(e.slice(n+1)))return!1}while(n>=0);return!0}function ae(e){return void 0===e&&(e="_vid"),[ne(e),ue(e)]}function se(e,t){void 0===t&&(t="_vid"),ie(t,e,365),function(e,t){var n;try{null===(n=null===localStorage||void 0===localStorage?void 0:localStorage.setItem)||void 0===n||n.call(localStorage,e,t)}catch(r){}}(t,e)}function ue(e){var t,n;try{return null!==(n=null===(t=null===localStorage||void 0===localStorage?void 0:localStorage.getItem)||void 0===t?void 0:t.call(localStorage,e))&&void 0!==n?n:void 0}catch(r){}}function ce(t,n,i,o){var u=this,c=o.token,l=o.region,v=void 0===l?"us":l,f=o.endpoint,g=o.tlsEndpoint,_=o.storageKey,h=o.debug;var m=function(t,n,r,i,o,a,s){return e.__awaiter(u,void 0,void 0,(function(){var u,l,d,h;return e.__generator(this,(function(p){switch(p.label){case 0:return[4,Promise.all([w(v,g,i,!!r,s),b(s)])];case 1:return u=p.sent(),l=u[0],d=u[1],[4,U(e.__assign(e.__assign({},l),{token:c,endpoint:F(v,f),components:d,tag:t,visitorId:ae(_),linkedId:n,extendedResult:o,ipResolution:a}),s)];case 2:return se((h=p.sent()).visitorId,_),[2,h]}}))}))},w=function(t,n,r,i,o){return e.__awaiter(u,void 0,void 0,(function(){return e.__generator(this,(function(e){return i?[2,void 0]:[2,L(function(e,t){return t||D[e]}(t,n),r,o).then((function(e){return{tls:e}}),(function(e){return{tlsError:e}}))]}))}))},b=function(t){return p(t,(function(){return{e:9}}),(function(e){return{e:10,result:e}}),(function(e){return{e:11,error:e}}),(function(){return e.__awaiter(u,void 0,void 0,(function(){var t,r;return e.__generator(this,(function(o){switch(o.label){case 0:return[4,n.get()];case 1:return t=o.sent(),[4,i()];case 2:return r=o.sent(),[2,e.__assign(e.__assign({},t.components),r)]}}))}))}))};return{get:function(n){void 0===n&&(n={});var i=h||n.debug?function(t,n,r){return function(i){return t(e.__assign(e.__assign({},i),{agentId:n,getCallId:r}))}}(s([h,n.debug&&d()]),t,a(8)):void 0;return p(i,(function(){return{e:3,options:n}}),(function(e){return{e:4,requestId:e.requestId,visitorId:e.visitorId,result:e}}),(function(e){return{e:5,requestId:e.requestId,error:e}}),(function(){var e=n.timeout,t=void 0===e?1e4:e,o=n.tag,a=n.linkedId,s=n.disableTls,u=n.extendedResult,c=n.ipResolution;return Promise.race([r(t).then((function(){throw new Error("Client timeout")})),m(o,a,s,t/2,u,c,i)])}))}}}function le(n){var r=this,i=a(8);return p(n.debug,(function(){return{e:0,agentId:i,version:"3.2.4",options:n}}),(function(){return{e:1,agentId:i}}),(function(e){return{e:2,agentId:i,error:e}}),(function(){return e.__awaiter(r,void 0,void 0,(function(){var r;return e.__generator(this,(function(e){switch(e.label){case 0:if(!n.token||"string"!=typeof n.token)throw new Error("Token required");return[4,t.load({delayFallback:n.delayFallback})];case 1:return r=e.sent(),[2,ce(i,r,te,n)]}}))}))}))}var de={load:le,ERROR_CLIENT_TIMEOUT:"Client timeout",ERROR_NETWORK_CONNECTION:"Network connection error",ERROR_NETWORK_ABORT:"Network request aborted",ERROR_TOKEN_MISSING:"Token required",ERROR_TOKEN_INVALID:"Token not found",ERROR_TOKEN_EXPIRED:"Token expired",ERROR_BAD_REQUEST_FORMAT:"Request cannot be parsed",ERROR_GENERAL_SERVER_FAILURE:"Request failed",ERROR_SERVER_TIMEOUT:"Request failed to process",ERROR_RATE_LIMIT:"Too many requests, rate limit exceeded",ERROR_FORBIDDEN_ORIGIN:"Not available for this origin",ERROR_FORBIDDEN_HEADER:"Not available with restricted header"};exports.ERROR_BAD_REQUEST_FORMAT="Request cannot be parsed",exports.ERROR_CLIENT_TIMEOUT="Client timeout",exports.ERROR_FORBIDDEN_HEADER="Not available with restricted header",exports.ERROR_FORBIDDEN_ORIGIN="Not available for this origin",exports.ERROR_GENERAL_SERVER_FAILURE="Request failed",exports.ERROR_NETWORK_ABORT="Network request aborted",exports.ERROR_NETWORK_CONNECTION="Network connection error",exports.ERROR_RATE_LIMIT="Too many requests, rate limit exceeded",exports.ERROR_SERVER_TIMEOUT="Request failed to process",exports.ERROR_TOKEN_EXPIRED="Token expired",exports.ERROR_TOKEN_INVALID="Token not found",exports.ERROR_TOKEN_MISSING="Token required",exports.default=de,exports.load=le,exports.makeConsoleDebugger=d,exports.makeDebugReportBuilder=function(e){return new w(e).addEvent},exports.makeMulticastDebugger=s,exports.makeRemoteDebugger=function(t){var n=this,r=t.clientId,i=t.token,o=t.endpoint,a=void 0===o?"https://api.rollbar.com/api/1/item/":o;return new w((function(t){return e.__awaiter(n,void 0,void 0,(function(){var n;return e.__generator(this,(function(e){switch(e.label){case 0:return n=function(e,t,n,r){return{access_token:n,data:S(e,t,r)}}(t,r,i),[4,q(a,n)];case 1:return e.sent(),[2]}}))}))})).addEvent}; |
/** | ||
* FingerprintJS Pro v3.2.3 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com) | ||
* FingerprintJS Pro v3.2.4 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com) | ||
* | ||
@@ -56,2 +56,3 @@ * This software contains code from open-source projects: | ||
getCallId: string; | ||
requestId: string; | ||
visitorId: string; | ||
@@ -63,2 +64,3 @@ result: unknown; | ||
getCallId: string; | ||
requestId: string | undefined; | ||
error: Readonly<Error>; | ||
@@ -100,3 +102,2 @@ } | { | ||
getCallId: string; | ||
requestId: string; | ||
endpoint: string; | ||
@@ -209,2 +210,3 @@ request: unknown; | ||
failedComponents: string[]; | ||
componentDurations: Record<string, number>; | ||
}> | undefined; | ||
@@ -435,6 +437,10 @@ visitorIdRequest: DebugReportProcessReport<{ | ||
} | ||
interface Notification { | ||
level: 'info' | 'warning' | 'error'; | ||
message: string; | ||
} | ||
/** | ||
* Result of requesting a visitor id | ||
* Common fields of all backend responses | ||
*/ | ||
interface VisitorIdRes { | ||
interface CommonVisitorIdRes { | ||
/** | ||
@@ -445,2 +451,11 @@ * Get request identifier. It's different for every request. | ||
/** | ||
* A notification that server wants the agent to show in the browser console | ||
*/ | ||
notification?: Notification; | ||
} | ||
/** | ||
* Result of requesting a visitor id | ||
*/ | ||
interface VisitorIdRes extends CommonVisitorIdRes { | ||
/** | ||
* The visitor identifier | ||
@@ -543,7 +558,7 @@ */ | ||
*/ | ||
declare type GetResult = VisitorIdRes; | ||
declare type GetResult = Omit<VisitorIdRes, 'notification'>; | ||
/** | ||
* Result of getting a visitor id when requested with `extendedData: true` | ||
*/ | ||
interface ExtendedGetResult extends Omit<ExtendedVisitorIdRes, 'botProbability'> { | ||
interface ExtendedGetResult extends Omit<ExtendedVisitorIdRes, 'notification' | 'botProbability'> { | ||
/** | ||
@@ -557,3 +572,3 @@ * @deprecated Agent doesn't detect bots | ||
*/ | ||
interface FullIpExtendedGetResult extends Omit<FullIpExtendedVisitorIdRes, 'botProbability'> { | ||
interface FullIpExtendedGetResult extends Omit<FullIpExtendedVisitorIdRes, 'notification' | 'botProbability'> { | ||
/** | ||
@@ -579,2 +594,3 @@ * @deprecated Agent doesn't detect bots | ||
* See the `ERROR_...` constants for expected error messages. | ||
* When an error is emitted by the backend, it gets a `requestId` field, same as in successful result. | ||
*/ | ||
@@ -581,0 +597,0 @@ get<TExtended extends boolean = false, TIP extends IPResolution = 'city'>(options?: Readonly<GetOptions<TExtended, TIP>>): Promise<DeriveGetResult<TExtended, TIP>>; |
/** | ||
* FingerprintJS Pro v3.2.3 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com) | ||
* FingerprintJS Pro v3.2.4 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com) | ||
* | ||
@@ -8,2 +8,2 @@ * This software contains code from open-source projects: | ||
import{__awaiter as e,__generator as t,__assign as n,__rest as r,__spreadArrays as i}from"tslib";import{murmurX64Hash128 as o,isGecko as a,isChromium as u,isWebKit as s,isDesktopSafari as c,isTrident as l,isEdgeHTML as d,getComponents as v,load as f}from"@fingerprintjs/fingerprintjs";var g=document;function h(e,t){return new Promise((function(n){return setTimeout((function(){return n(t)}),e)}))}function p(e,t){return new Promise((function(n){var r=function(){return g.hidden?a():o()},i=function(e,t,n){var r,i=!1,o=e,a=0,u=function(){i||void 0!==r||(a=Date.now(),r=setTimeout((function(){i=!0,n()}),o))};return t&&u(),{start:u,stop:function(){i||void 0===r||(clearTimeout(r),r=void 0,o-=Date.now()-a)}}}(e,!g.hidden,(function(){g.removeEventListener("visibilitychange",r),n(t)})),o=i.start,a=i.stop;g.addEventListener("visibilitychange",r)}))}function m(n,r){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,n()];case 1:return[2,t.sent()];case 2:return e=t.sent(),console.error(e),[2,r];case 3:return[2]}}))}))}function b(e,t){for(var n="",r=0;r<e;r++)n+=t.charAt(Math.random()*t.length);return n}function w(e){return b(e,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")}function y(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=function(e){e&&m((function(){return e.apply(void 0,t)}))},i=0,o=e;i<o.length;i++){var a=o[i];r(a)}}}var E=window;function k(e,t){var r;return void 0===t&&(t=!1),n({name:e.name,message:e.message,stack:t?null===(r=e.stack)||void 0===r?void 0:r.split("\n"):e.stack},e)}function I(){try{return E.self!==E.top}catch(e){return!0}}function R(e){switch(e){case 0:return"Loading has started";case 1:return"Loading has succeeded";case 2:return"Loading has failed";case 3:return"Getting visitor identifier has started";case 4:return"Getting visitor identifier has succeeded";case 5:return"Getting visitor identifier has failed";case 6:return"TLS request has started";case 7:return"TLS request has succeeded";case 8:return"TLS request has failed";case 9:return"Getting fingerprint has started";case 10:return"Getting fingerprint has succeeded";case 11:return"Getting fingerprint has failed";case 12:return"Visitor identifier request has started";case 13:return"Visitor identifier request has succeeded";case 14:return"Visitor identifier request has failed"}}function S(e){return void 0===e&&(e="[FingerprintJS Pro] "),function(t){switch(t.e){case 2:case 5:case 8:case 11:case 14:console.error(_(e,t));break;case 10:var n=_(e,t),r=t.result;Object.keys(r).some((function(e){return r[e].error}))?console.warn(n):console.log(n);break;default:console.log(_(e,t))}}}function _(e,t){var n=t.e,i=r(t,["e"]),o=""+e+(new Date).toISOString()+": "+R(n);return Object.keys(i).length&&(o+="\n```\n"+function(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?k(t,!0):t}),2)}(i)+"\n```"),o}var T=navigator;function C(e){var t=e.url,n=e.method,r=void 0===n?"get":n,i=e.body,o=e.headers,a=e.withCredentials,u=void 0!==a&&a,s=e.timeout;return new Promise((function(e,n){var a=new XMLHttpRequest;for(var c in a.open(r,t,!0),a.withCredentials=u,a.timeout=void 0===s?0:Math.max(s,1),o)a.setRequestHeader(c,o[c]);a.onload=function(){return e(function(e){return{text:e.responseText,status:e.status,statusText:e.statusText}}(a))},a.ontimeout=function(){return n(O("TimeoutError","The request timed out"))},a.onabort=function(){return n(O("AbortError","The request is aborted"))},a.onerror=function(){return n(O("TypeError",T.onLine?"Connection error":"Network offline"))},a.send(i)}))}function O(e,t){var n=new Error(t);return n.name=e,n}function q(e){var t=e.url,n=e.body;if(T.sendBeacon)return T.sendBeacon(t,n);var r=new XMLHttpRequest;r.open("POST",t,!function(){var e,t=null===(e=E.event)||void 0===e?void 0:e.type;return"pagehide"===t||"unload"===t}()),n instanceof Blob&&r.setRequestHeader("Content-Type",n.type);try{r.send(n)}catch(i){return!1}return!0}var x=document,N=navigator;function D(n,r,i,o,a){return e(this,void 0,void 0,(function(){var e,u,s;return t(this,(function(t){switch(t.label){case 0:(u=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];n&&m((function(){var r=e.apply(void 0,t);r&&n(r)}))})(r),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,a()];case 2:return e=t.sent(),[3,4];case 3:throw s=t.sent(),u(o,s),s;case 4:return u(i,e),[2,e]}}))}))}function L(){var e=window,t=e.__fpjs_pvid;return e.__fpjs_pvid="string"==typeof t?t:w(10)}var P=window,A=navigator,j=document,F=performance;function V(e){return new U(e).addEvent}var U=function(){function e(e){var t=this;this.onReportReady=e,this.isStopped=!1,this.pageStartTimestamp=function(){var e,t;if(F.timeOrigin){var n=null===(t=null===(e=F.getEntriesByType)||void 0===e?void 0:e.call(F,"navigation"))||void 0===t?void 0:t[0];if(n)return F.timeOrigin+(n.responseStart||n.unloadEventEnd)}return F.timing.domLoading||F.timing.responseStart||F.timing.unloadEventEnd}(),this.events={},this.addEvent=function(e){if(!t.isStopped){var n={time:new Date,type:"agentEvent",event:e};switch(0!==e.e&&3!==e.e||(n.documentReadyState=j.readyState,n.isPageVisible=J(),n.isFullscreen=K(),n.network=H()),t.storeAgentEvent(n),e.e){case 2:t.submitReport(e.agentId,void 0);break;case 4:case 5:t.submitReport(e.agentId,e.getCallId)}}};for(var n=[[j,"readystatechange",function(){return t.handleDocumentReadyStateChange()}],[j,"visibilitychange",function(){return t.handleVisibilityChange()}],[j,"pageshow",function(){return t.handlePageTransition(!0)}],[j,"pagehide",function(){return t.handlePageTransition(!1)}],[P,"unload",function(){return t.handlePageUnload()}]],r=0,i=n;r<i.length;r++){var o=i[r],a=o[0],u=o[1],s=o[2];a.addEventListener(u,s)}var c=function(e,t){for(var n=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],r=0,i=n;r<i.length;r++){var o=i[r];x.addEventListener(o,e,t)}return function(){for(var r=0,i=n;r<i.length;r++){var o=i[r];x.removeEventListener(o,e,t)}}}((function(){return t.handleFullscreenChange()})),l=function(e){var t=N.connection;if(!t)return addEventListener("online",e),addEventListener("offline",e),function(){removeEventListener("online",e),removeEventListener("offline",e)};var n=!1,r=t.onchange,i=function(t){try{n||e()}finally{null==r||r(t)}};return t.onchange=i,function(){n=!0,t.onchange===i&&(t.onchange=r)}}((function(){return t.handleNetworkConnectionChange()}));this.stop=function(){t.isStopped=!0;for(var e=0,r=n;e<r.length;e++){var i=r[e],o=i[0],a=i[1],u=i[2];o.removeEventListener(a,u)}c(),l()}}return e.prototype.handleDocumentReadyStateChange=function(){this.storeEnvironmentEvent({time:new Date,type:"documentReadyState",state:j.readyState})},e.prototype.handleVisibilityChange=function(){this.storeEnvironmentEvent({time:new Date,type:"pageVisibilityToggle",isVisible:J()})},e.prototype.handlePageTransition=function(e){this.storeEnvironmentEvent({time:new Date,type:"pageTransition",isShown:e})},e.prototype.handleFullscreenChange=function(){this.storeEnvironmentEvent({time:new Date,type:"fullscreenToggle",isFullscreen:K()})},e.prototype.handleNetworkConnectionChange=function(){this.storeEnvironmentEvent({time:new Date,type:"networkChange",network:H()})},e.prototype.handlePageUnload=function(){this.storeEnvironmentEvent({time:new Date,type:"pageUnload"});for(var e=0,t=Object.keys(this.events);e<t.length;e++){var n=t[e],r=this.events[n];if(0===Object.keys(r.getCalls).length)this.submitReport(n,void 0);else for(var i=0,o=Object.keys(r.getCalls);i<o.length;i++){var a=o[i];M(r.getCalls[a])||this.submitReport(n,a)}}this.stop()},e.prototype.storeAgentEvent=function(e){var t=e.event,n=t.agentId;switch(this.events[n]||(this.events[n]={loadEvents:[],getCalls:{}}),t.e){case 0:case 1:case 2:this.events[n].loadEvents.push(e);break;default:var r=t.getCallId;this.events[n].getCalls[r]||(this.events[n].getCalls[r]=[]),this.events[n].getCalls[r].push(e)}},e.prototype.storeEnvironmentEvent=function(e){for(var t=0,n=Object.keys(this.events);t<n.length;t++){var r=n[t],i=this.events[r];i.loadEvents.some((function(e){return"agentEvent"===e.type&&(1===e.event.e||2===e.event.e)}))||i.loadEvents.push(e);for(var o=0,a=Object.keys(i.getCalls);o<a.length;o++){var u=a[o],s=i.getCalls[u];M(s)||s.push(e)}}},e.prototype.submitReport=function(e,t){var n=function(e,t){for(var n,r,i,o,a,u,s,c,l,d,v,f,g,h=function(e){for(var t={},n={},r=0,i=e;r<i.length;r++){var o=i[r];"agentEvent"===o.type?t[o.event.e]=o:n[o.type]=o}return{agentEvents:t,otherEvents:n}}(e),p=h.agentEvents,m=h.otherEvents,b=null!==(r=null===(n=m.pageUnload)||void 0===n?void 0:n.time)&&void 0!==r?r:new Date,w="null",y=0,E=[[4,"getSuccess"],[5,"getFail"],[3,"getting"],[1,"loadSuccess"],[2,"loadFail"],[0,"loading"]];y<E.length;y++){var k=E[y],R=k[0],S=k[1];if(p[R]){w=S;break}}return{time:null!==(c=null!==(u=null!==(o=null===(i=p[4])||void 0===i?void 0:i.time)&&void 0!==o?o:null===(a=p[5])||void 0===a?void 0:a.time)&&void 0!==u?u:null===(s=p[2])||void 0===s?void 0:s.time)&&void 0!==c?c:b,pageUrl:location.href,pageStartTime:new Date(t),isInIframe:I(),agentVersion:null===(l=p[0])||void 0===l?void 0:l.event.version,userAgent:navigator.userAgent,pageViewId:L(),agentId:null===(d=p[0])||void 0===d?void 0:d.event.agentId,getCallId:null===(v=p[3])||void 0===v?void 0:v.event.getCallId,requestId:null===(f=p[12])||void 0===f?void 0:f.event.requestId,visitorId:null===(g=p[4])||void 0===g?void 0:g.event.visitorId,identificationState:w,load:G(b,p[0],p[1],p[2]),get:G(b,p[3],p[4],p[5]),tls:G(b,p[6],p[7],p[8],(function(e){return{responseStatus:e.event.status}})),fingerprint:G(b,p[9],p[10],p[11],(function(e){return{failedComponents:B(e.event.result)}})),visitorIdRequest:G(b,p[12],p[13],p[14],(function(e){return{responseStatus:e.event.status}})),events:e}}(function(e,t,n){var r,i=[];e[t]&&(i.push.apply(i,e[t].loadEvents),void 0!==n&&i.push.apply(i,null!==(r=e[t].getCalls[n])&&void 0!==r?r:[]));return i}(this.events,e,t),this.pageStartTimestamp);try{this.onReportReady(n)}catch(r){console.error(r)}},e}();function M(e){return e.some((function(e){return"agentEvent"===e.type&&(4===e.event.e||5===e.event.e)}))}function G(e,t,r,i,o){if(void 0!==t)return void 0!==r?n(n({},null==o?void 0:o(r)),{duration:r.time.getTime()-t.time.getTime(),state:"success"}):void 0!==i?{duration:i.time.getTime()-t.time.getTime(),state:"fail",error:i.event.error}:{duration:e.getTime()-t.time.getTime(),state:"incomplete"}}function B(e){return Object.keys(e).filter((function(t){return e[t].error}))}function J(){return!j.hidden}function K(){return!!(x.fullscreenElement||x.msFullscreenElement||x.mozFullScreenElement||x.webkitFullscreenElement)}function H(){var e,t,n,r,i,o;return{online:navigator.onLine,downlink:null===(e=A.connection)||void 0===e?void 0:e.downlink,downlinkMax:null===(t=A.connection)||void 0===t?void 0:t.downlinkMax,effectiveType:null===(n=A.connection)||void 0===n?void 0:n.effectiveType,roundTrip:null===(r=A.connection)||void 0===r?void 0:r.rtt,saveData:null===(i=A.connection)||void 0===i?void 0:i.saveData,type:null===(o=A.connection)||void 0===o?void 0:o.type}}function z(n){var r=this,i=n.clientId,o=n.token,a=n.endpoint,u=void 0===a?"https://api.rollbar.com/api/1/item/":a;return new U((function(n){return e(r,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return e=function(e,t,n,r){return{access_token:n,data:W(e,t,r)}}(n,i,o),[4,Y(u,e)];case 1:return t.sent(),[2]}}))}))})).addEvent}function W(e,t,n){var r;void 0===n&&(n=[8,4,4,4,12].map((function(e){return b(e,"0123456789abcdef")})).join("-"));var o=X[e.identificationState],a=o.level,u=o.message;return{environment:t,level:a,timestamp:Math.round(e.time.getTime()/1e3),platform:"browser",framework:"FingerprintJS Pro",language:"javascript",uuid:n,notifier:{name:"FingerprintJS Pro monitoring",version:"3.2.3"},request:{url:e.pageUrl,query_string:(null!==(r=/\?.*$/.exec(e.pageUrl))&&void 0!==r?r:[""])[0],user_ip:"$remote_ip"},client:{javascript:{browser:e.userAgent,code_version:e.agentVersion}},person:void 0===e.visitorId?void 0:{id:"visitorId:"+e.visitorId},body:{telemetry:i([{level:"debug",source:"client",timestamp_ms:e.pageStartTime.getTime(),type:"manual",body:{message:"Page starts"}}],e.events.map(Q)),message:{body:u}},custom:{isInIframe:e.isInIframe,pageViewId:e.pageViewId,agentId:e.agentId,getCallId:e.getCallId,requestId:e.requestId,visitorId:e.visitorId,identificationState:e.identificationState,load:e.load,get:e.get,tls:e.tls,fingerprint:$(e.fingerprint),visitorIdRequest:e.visitorIdRequest}}}var X={null:{level:"info",message:"Load() wasn't called"},loading:{level:"warning",message:"Load() incomplete"},loadSuccess:{level:"info",message:"Load() succeeded, get() wasn't called"},loadFail:{level:"error",message:"Load() failed"},getting:{level:"warning",message:"Get() incomplete"},getSuccess:{level:"info",message:"Get() succeeded"},getFail:{level:"error",message:"Get() failed"}};function Q(e){var t={type:"manual",level:"debug",source:"client",timestamp_ms:e.time.getTime()};switch(e.type){case"documentReadyState":return n(n({},t),{body:{message:'Document ready state becomes "'+e.state+'"'}});case"pageVisibilityToggle":return n(n({},t),{body:{message:"Page becomes "+(e.isVisible?"visible (in foreground)":"invisible (in background)")}});case"pageTransition":return n(n({},t),{body:{message:e.isShown?"Page is restored from browser history":"Page is about to go to browser history"}});case"fullscreenToggle":return n(n({},t),{body:{message:"Programmatic fullscreen "+(e.isFullscreen?"on":"off")}});case"networkChange":return n(n({},t),{body:n(n({},e.network),{message:"Network connection changes"})});case"pageUnload":return n(n({},t),{body:{message:"Page is about to unload (terminate)"}})}for(var r=e.event,i=n(n({},t),{level:"info",body:{message:R(r.e)}}),o=0,a=["documentReadyState","isPageVisible","isFullscreen","network"];o<a.length;o++){var u=a[o];void 0!==e[u]&&(i.body[u]=e[u])}switch(r.e){case 0:case 3:return n(n({},i),{body:n(n({},i.body),{options:r.options})});case 1:case 9:return i;case 2:case 5:case 8:case 11:case 14:return n(n({},i),{level:"error",body:n(n({},i.body),{error:r.error})});case 4:case 10:return n(n({},i),{body:n(n({},i.body),{result:r.result})});case 6:return n(n({},i),{body:n(n({},i.body),{endpoint:r.endpoint,timeout:r.timeout})});case 7:case 13:return n(n({},i),{body:n(n({},i.body),{status:r.status,body:r.body.slice(0,4096)})});case 12:return n(n({},i),{body:n(n({},i.body),{endpoint:r.endpoint,request:r.request})})}}function $(e){return e&&"incomplete"!==e.state&&"fail"!==e.state?n(n({},e),{failedComponents:e.failedComponents.length?","+e.failedComponents.join(",")+",":void 0}):e}function Y(n,r){return e(this,void 0,void 0,(function(){var e,i;return t(this,(function(t){switch(t.label){case 0:e=JSON.stringify(r,(function(e,t){return t instanceof Error?k(t):t})),i=0,t.label=1;case 1:return navigator.onLine&&q({url:n,body:e})?[3,5]:[3,2];case 2:return[4,h(1e3*Math.min(i+1,10))];case 3:t.sent(),t.label=4;case 4:return++i,[3,1];case 5:return[2]}}))}))}var Z={us:"https://api.sjpf.io",eu:"https://tls-eun1.fpapi.io"};function ee(i,o,a){var u=a.output,s=r(a,["output"]);return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,D(u,(function(){return n(n({e:6},s),{endpoint:i,timeout:o})}),(function(e){var t=e.status,r=e.text;return n(n({e:7},s),{status:t,body:r})}),(function(e){return n(n({e:8},s),{error:e})}),(function(){return C({url:i,timeout:o})}))];case 1:return e=t.sent(),[3,3];case 2:switch(t.sent().name){case"AbortError":throw new Error("Abort");case"TimeoutError":throw new Error("Timeout");default:throw new Error("Connection error")}case 3:if(200===e.status)return[2,e.text];throw new Error(e.text.slice(0,255))}}))}))}var te="Client timeout",ne="Network connection error",re="Network request aborted";function ie(e,t){if(t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function oe(i,a){var u=i.endpoint,s=i.extendedResult,c=r(i,["endpoint","extendedResult"]);return e(this,void 0,void 0,(function(){var e,r;return t(this,(function(t){switch(t.label){case 0:return e=w(20),r=function(e){var t,r=e.components,i=e.token,a=e.visitorId,u=e.tag,s=e.ipResolution,c=e.extendedResult,l=e.linkedId,d=e.tls,v=e.tlsError,f=e.requestId,g=Object.keys(r).reduce((function(e,t){return e+r[t].duration}),0),h="full"===s?2:1;return(t={}).rid=f,t.cv="3.2.3",t.c=i,t.url=location.href,t.d=g,t.vid=a[0]||a[1]||void 0,t.ls=a[1]?1:void 0,t.t=function(e){if(e&&"object"==typeof e)return e;if(null==e)return;return{tag:e}}(u),t.i=h,t.cbd=c?1:void 0,t.lid=l,t.cr=document.referrer||void 0,t.j=d,t.je=null==v?void 0:v.message,t.k1=se(r.osCpu),t.k2=se(r.languages),t.k3=se(r.colorDepth),t.k4=se(r.deviceMemory),t.k5=se(r.screenResolution),t.k6=se(r.availableScreenResolution,void 0,[]),t.k7=se(r.hardwareConcurrency),t.k8=se(r.timezoneOffset),t.k9=se(r.timezone),t.k10=ce(se(r.sessionStorage)),t.k11=ce(se(r.localStorage)),t.k12=ce(se(r.indexedDB)),t.k13=ce(se(r.openDatabase)),t.k14=se(r.cpuClass),t.k15=se(r.platform),t.k16=se(r.plugins,[]),t.k17=function(e){var t=e.value;if(!t)return;return n(n({},t),{data:o(t.data)})}(r.canvas),t.k18=0,t.k19=se(r.touchSupport),t.k20=se(r.fonts,[]),t.k21=se(r.audio,-4),t.k22=ce(se(r.pluginsSupport)),t.k23=se(r.productSub),t.k24=se(r.emptyEvalLength),t.k25=ce(se(r.errorFF)),t.k26=ce(se(r[0])),t.k27=se(r.vendor),t.k28=ce(se(r.chrome)),t.k29=ce(se(r[1])),t.k30=ce(se(r[2])),t.k31=ce(se(r[3],!1)),t.k32=ce(se(r.cookiesEnabled,!1)),t.k33=ce(se(r[4])),t.k34=se(r[5],-5),t}(n({extendedResult:s,requestId:e},c)),[4,ae(u,r,a)];case 1:return[2,ue(t.sent(),e,s)]}}))}))}function ae(i,o,a){var u=a.output,s=r(a,["output"]);return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,D(u,(function(){return n(n({e:12},s),{requestId:o.rid,endpoint:i,request:o})}),(function(e){var t=e.status,r=e.text;return n(n({e:13},s),{status:t,body:r})}),(function(e){return n(n({e:14},s),{error:e})}),(function(){return C({url:i,method:"post",body:JSON.stringify(o),headers:{"Content-Type":"text/plain"},withCredentials:!0})}))];case 1:return[2,t.sent()];case 2:throw e=t.sent(),new Error("AbortError"===e.name?"Network request aborted":"Network connection error");case 3:return[2]}}))}))}function ue(n,r,i){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){if(404===n.status||n.status>=500)throw new Error(n.statusText);try{e=JSON.parse(n.text)}catch(o){throw new Error(n.text)}if(function(e){return e&&"object"==typeof e&&"string"==typeof e.visitorId&&"n/a"!==e.visitorId}(e))return[2,le(e)];if(function(e){return e&&"object"==typeof e&&"n/a"===e.visitorId}(e)){if("Not available for crawl bots"===e.reason||"Not available when User-Agent is unspecified"===e.reason)return[2,de(e.reason,r,i)];throw new Error(e.reason)}throw new Error(n.text)}))}))}function se(e,t,n){return e.error?t:void 0===e.value?n:e.value}function ce(e){return!0===e?1:!1===e?0:e}function le(e){var t=e,i=t.botProbability,o=r(t,["botProbability"]),a=n({},o);return i&&(a.bot={probability:i}),a}function de(e,t,r){var i={requestId:t,visitorFound:!1,visitorId:""};if(!r)return i;var o=n(n({},i),{bot:{probability:1},incognito:!1,browserName:"n/a",browserVersion:"n/a",device:"n/a",ip:"n/a",ipLocation:{},os:"n/a",osVersion:"n/a"});return"Not available for crawl bots"===e&&(o.bot.safe=!0),o}var ve=window,fe=document;var ge=window;var he=navigator,pe=window;function me(){var e,t,n,r=(null===(e=he.userAgent)||void 0===e?void 0:e.indexOf("Mac OS"))>0&&-1===(null===(t=he.userAgent)||void 0===t?void 0:t.indexOf("iPhone")),i=(null===(n=he.userAgent)||void 0===n?void 0:n.indexOf("CrOS"))>0;return r||i?3221225472:1073741824}function be(){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return"storage"in he&&"estimate"in he.storage?[4,he.storage.estimate()]:[3,2];case 1:return[2,!!(e=t.sent().quota)&&e<me()];case 2:return[2,!1]}}))}))}var we=window;function ye(){return e(this,void 0,void 0,(function(){return t(this,(function(e){return c()?[2,Ee()]:[2,ke()]}))}))}function Ee(){if(!we.safari)return!1;try{we.safari.pushNotification.requestPermission("https://example.com","private",{},(function(){}))}catch(t){return e=t,!new RegExp([103,101,115,116,117,114,101].map((function(e){return String.fromCharCode(e)})).join("")).test(e)}var e;throw new Error("Unexpected lack of error")}function ke(){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:(e=document.createElement("iframe")).style.display="none",t.label=1;case 1:return t.trys.push([1,,3,4]),document.body.appendChild(e),[4,Promise.race([h(20,!1),new Promise((function(t){e.contentWindow?e.contentWindow.applicationCache.addEventListener("error",(function(){return t(!0)})):t(!1)}))])];case 2:return[2,t.sent()];case 3:return e.remove(),[7];case 4:return[2]}}))}))}function Ie(){try{we.openDatabase(null,null,null,null)}catch(e){return!0}try{return we.localStorage.setItem("test","1"),we.localStorage.removeItem("test"),!1}catch(e){return!0}}var Re=[[function(){return u()},function(){return e(this,void 0,void 0,(function(){return t(this,(function(e){return function(){var e=he.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(!e)throw"UserAgent is not Google Chrome";return parseInt(e[2],10)}()>=76?[2,be()]:[2,new Promise((function(e){pe.webkitRequestFileSystem(0,1,(function(){return e(!1)}),(function(){return e(!0)}))}))]}))}))}],[function(){return s()},function(){return e(this,void 0,void 0,(function(){return t(this,(function(e){return function(){var e=navigator.userAgent.match(/Version\/([0-9._]+).*Safari/);if(!e)throw new Error("UserAgent is not Safari");var t=e[1].split(".").map((function(e){return isNaN(parseInt(e))?0:parseInt(e)})),n=t[0],r=t[1],i=t[2];return{major:n,minor:r,patch:i}}().major<13?[2,Ie()]:[2,ye()]}))}))}],[function(){return a()},function(){return new Promise((function(e){try{var t=ge.indexedDB.open("test");t.onerror=function(){return e(!0)},t.onsuccess=function(){return e(!1)}}catch(n){return e(!0)}}))}],[function(){return l()||d()},function(){try{if(!window.indexedDB)return!0}catch(e){return!0}return!1}]];function Se(){return e(this,void 0,void 0,(function(){var e,n,r,i,o;return t(this,(function(t){switch(t.label){case 0:e=0,n=Re,t.label=1;case 1:return e<n.length?(r=n[e],i=r[0],o=r[1],i()?[4,o()]:[3,3]):[3,4];case 2:return[2,t.sent()];case 3:return e++,[3,1];case 4:return[2,!1]}}))}))}function _e(e,t){if(0==t.length||t.length>e.length)return-1;for(var n=0;n<e.length;n++){for(var r=0,i=0;i<t.length;i++){if(e[n+i]!==t[i]){r=0;break}r++}if(r==t.length)return n}return-1}var Te=window,Ce=document;var Oe,qe=window;var xe=((Oe={})[0]=function(){return void 0!==navigator.webdriver},Oe[1]=function(){return e(this,void 0,void 0,(function(){var e,n;return t(this,(function(t){switch(t.label){case 0:return(e=navigator.permissions)?[4,e.query({name:"notifications"})]:[2,void 0];case 1:return n=t.sent(),"undefined"==typeof Notification?[2,void 0]:[2,"denied"===Notification.permission&&"prompt"===n.state]}}))}))},Oe[2]=function(){var e=fe.documentElement;return"webdriver"in ve||"_Selenium_IDE_Recorder"in ve||"callSelenium"in ve||"_selenium"in ve||"__webdriver_script_fn"in fe||"__driver_evaluate"in fe||"__webdriver_evaluate"in fe||"__selenium_evaluate"in fe||"__fxdriver_evaluate"in fe||"__driver_unwrapped"in fe||"__webdriver_unwrapped"in fe||"__selenium_unwrapped"in fe||"__fxdriver_unwrapped"in fe||"__webdriver_script_func"in fe||null!==e.getAttribute("selenium")||null!==e.getAttribute("webdriver")||null!==e.getAttribute("driver")},Oe[3]=function(){return e(this,void 0,void 0,(function(){var e,n;return t(this,(function(t){switch(t.label){case 0:if(void 0!==(e=function(){try{var e=localStorage.getItem("_inc");if(!e)return;return"1"===e}catch(t){return}}()))return[2,e];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,Se()];case 2:return function(e){try{localStorage.setItem("_inc",e?"1":"0")}catch(t){}}(n=t.sent()),[2,n];case 3:return t.sent(),[2,!1];case 4:return[2]}}))}))},Oe[4]=function(){if(!u())return!1;try{if([66,114,97,118,101].map((function(e){return String.fromCharCode(e)})).join("")in Te)return!0;var e=Ce.createElement("canvas");e.width=4,e.height=4,e.style.display="inline";var t=e.toDataURL();if(""===t)return!0;for(var n=window.atob(t.split(",")[1]),r=n.length,i=new Uint8Array(r),o=0;o<r;o++)i[o]=n.charCodeAt(o);var a=_e(i,[73,68,65,84,24]);if(-1===a)return!1;var s=_e(i,[73,69,78,68]);return-1!==a&&1321!==i.slice(a+5,s).reduce((function(e,t){return e+t}),0)}catch(c){return!1}},Oe[5]=function(){return e(this,void 0,void 0,(function(){var e,n;return t(this,(function(t){switch(t.label){case 0:if(!u()&&!s())return[2,-2];if(!(e=qe.RTCPeerConnection||qe.webkitRTCPeerConnection))return[2,-3];n=new e({iceServers:[]}),t.label=1;case 1:return t.trys.push([1,,3,4]),[4,new Promise((function(e,t){var r=function(){return e(-1)};n.onicecandidate=function(t){var n=t.candidate;if(!(null==n?void 0:n.candidate))return r();var i=function(e){var t=/candidate:(\d+)\b/i.exec(e);return t?+t[1]:void 0}(n.candidate);void 0!==i&&e(i)},n.onicegatheringstatechange=function(){"complete"===n.iceGatheringState&&r()},n.onicecandidateerror=t,n.createDataChannel("test"),function(e,t){try{return e.createOffer(t)}catch(n){if(/\bcreateOffer\b.*(\bcallback\b.*\bnot a function\b|\barguments required\b.*\bpresent\b)/i.test(n.message))return new Promise((function(n,r){e.createOffer(n,r,t)}));throw n}}(n).then((function(e){return n.setLocalDescription(e)}),t),setTimeout((function(){return e(-4)}),500)}))];case 2:return[2,t.sent()];case 3:return n.close(),[7];case 4:return[2]}}))}))},Oe);function Ne(){return v(xe,void 0,[])}var De=document,Le=location;function Pe(e){for(var t=e+"=",n=0,r=De.cookie.split(";");n<r.length;n++){for(var i=r[n],o=0;" "===i[o]&&o<i.length;)++o;if(i.indexOf(t)===o)return i.slice(o+t.length)}}function Ae(e,t,n,r){var i=e+"="+t,o="expires="+new Date(Date.now()+24*n*60*60*1e3).toUTCString(),a=r?"domain="+r:"";De.cookie=[i,"path=/",o,a,"SameSite=Lax"].join("; ")}function je(e,t,n){var r=Le.hostname;Fe(r,(function(t){!function(e,t){Ae(e,"",-1,t)}(e,t)})),Fe(r,(function(r){return Ae(e,t,n,r),Pe(e)!==t}))&&Ae(e,t,n)}function Fe(e,t){var n=e.length;do{if(n=n>0?e.lastIndexOf(".",n-1):-1,!1===t(e.slice(n+1)))return!1}while(n>=0);return!0}function Ve(e){return void 0===e&&(e="_vid"),[Pe(e),Me(e)]}function Ue(e,t){void 0===t&&(t="_vid"),je(t,e,365),function(e,t){var n;try{null===(n=null===localStorage||void 0===localStorage?void 0:localStorage.setItem)||void 0===n||n.call(localStorage,e,t)}catch(r){}}(t,e)}function Me(e){var t,n;try{return null!==(n=null===(t=null===localStorage||void 0===localStorage?void 0:localStorage.getItem)||void 0===t?void 0:t.call(localStorage,e))&&void 0!==n?n:void 0}catch(r){}}function Ge(r,i,o){var a=this,u=o.token,s=o.region,c=void 0===s?"us":s,l=o.endpoint,d=o.tlsEndpoint,v=o.storageKey,f=o.debug;var g=function(i,o,s,f,g,p,b){return e(a,void 0,void 0,(function(){var e,a,w,y;return t(this,(function(t){switch(t.label){case 0:return[4,Promise.all([h(c,d,f,!!s,b),m(b)])];case 1:return e=t.sent(),a=e[0],w=e[1],[4,oe(n(n({},a),{token:u,endpoint:ie(c,l),components:w,tag:i,visitorId:Ve(v),linkedId:o,extendedResult:g,ipResolution:p}),n(n({},b),{agentId:r}))];case 2:return Ue((y=t.sent()).visitorId,v),[2,y]}}))}))},h=function(i,o,u,s,c){return e(a,void 0,void 0,(function(){return t(this,(function(e){return s?[2,void 0]:[2,ee(function(e,t){return t||Z[e]}(i,o),u,n(n({},c),{agentId:r})).then((function(e){return{tls:e}}),(function(e){return{tlsError:e}}))]}))}))},m=function(o){var u=o.output,s=o.getCallId;return D(u,(function(){return{e:9,agentId:r,getCallId:s}}),(function(e){return{e:10,agentId:r,getCallId:s,result:e}}),(function(e){return{e:11,agentId:r,getCallId:s,error:e}}),(function(){return e(a,void 0,void 0,(function(){var e,r;return t(this,(function(t){switch(t.label){case 0:return[4,i.get()];case 1:return e=t.sent(),[4,Ne()];case 2:return r=t.sent(),[2,n(n({},e.components),r)]}}))}))}))};return{get:function(e){void 0===e&&(e={});var t=w(8),n=y([f,e.debug&&S()]);return D(n,(function(){return{e:3,agentId:r,getCallId:t,options:e}}),(function(e){return{e:4,agentId:r,getCallId:t,visitorId:e.visitorId,result:e}}),(function(e){return{e:5,agentId:r,getCallId:t,error:e}}),(function(){var r=e.timeout,i=void 0===r?1e4:r,o=e.tag,a=e.linkedId,u=e.disableTls,s=e.extendedResult,c=e.ipResolution;return Promise.race([p(i).then((function(){throw new Error("Client timeout")})),g(o,a,u,i/2,s,c,{output:n,getCallId:t})])}))}}}function Be(n){var r=this,i=w(8);return D(n.debug,(function(){return{e:0,agentId:i,version:"3.2.3",options:n}}),(function(){return{e:1,agentId:i}}),(function(e){return{e:2,agentId:i,error:e}}),(function(){return e(r,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:if(!n.token||"string"!=typeof n.token)throw new Error("Token required");return[4,f({delayFallback:n.delayFallback})];case 1:return e=t.sent(),[2,Ge(i,e,n)]}}))}))}))}var Je="Token required",Ke="Token not found",He="Token expired",ze="Request cannot be parsed",We="Request failed",Xe="Request failed to process",Qe="Too many requests, rate limit exceeded",$e="Not available for this origin",Ye="Not available with restricted header",Ze={load:Be,ERROR_CLIENT_TIMEOUT:"Client timeout",ERROR_NETWORK_CONNECTION:"Network connection error",ERROR_NETWORK_ABORT:"Network request aborted",ERROR_TOKEN_MISSING:"Token required",ERROR_TOKEN_INVALID:"Token not found",ERROR_TOKEN_EXPIRED:"Token expired",ERROR_BAD_REQUEST_FORMAT:"Request cannot be parsed",ERROR_GENERAL_SERVER_FAILURE:"Request failed",ERROR_SERVER_TIMEOUT:"Request failed to process",ERROR_RATE_LIMIT:"Too many requests, rate limit exceeded",ERROR_FORBIDDEN_ORIGIN:"Not available for this origin",ERROR_FORBIDDEN_HEADER:"Not available with restricted header"};export default Ze;export{ze as ERROR_BAD_REQUEST_FORMAT,te as ERROR_CLIENT_TIMEOUT,Ye as ERROR_FORBIDDEN_HEADER,$e as ERROR_FORBIDDEN_ORIGIN,We as ERROR_GENERAL_SERVER_FAILURE,re as ERROR_NETWORK_ABORT,ne as ERROR_NETWORK_CONNECTION,Qe as ERROR_RATE_LIMIT,Xe as ERROR_SERVER_TIMEOUT,He as ERROR_TOKEN_EXPIRED,Ke as ERROR_TOKEN_INVALID,Je as ERROR_TOKEN_MISSING,Be as load,S as makeConsoleDebugger,V as makeDebugReportBuilder,y as makeMulticastDebugger,z as makeRemoteDebugger}; | ||
import{__awaiter as e,__generator as t,__assign as n,__rest as r,__spreadArrays as i}from"tslib";import{murmurX64Hash128 as o,isGecko as a,isChromium as u,isWebKit as s,isDesktopSafari as c,isTrident as l,isEdgeHTML as d,getComponents as v,load as f}from"@fingerprintjs/fingerprintjs";function g(e,t){return new Promise((function(n){return setTimeout((function(){return n(t)}),e)}))}function h(e,t){return new Promise((function(n){var r=document,i=function(){return r.hidden?u():a()},o=function(e,t,n){var r,i=!1,o=e,a=0,u=function(){i||void 0!==r||(a=Date.now(),r=setTimeout((function(){i=!0,n()}),o))};return t&&u(),{start:u,stop:function(){i||void 0===r||(clearTimeout(r),r=void 0,o-=Date.now()-a)}}}(e,!r.hidden,(function(){r.removeEventListener("visibilitychange",i),n(t)})),a=o.start,u=o.stop;r.addEventListener("visibilitychange",i)}))}function m(n,r){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,n()];case 1:return[2,t.sent()];case 2:return e=t.sent(),console.error(e),[2,r];case 3:return[2]}}))}))}function p(e,t){for(var n="",r=0;r<e;r++)n+=t.charAt(Math.random()*t.length);return n}function b(e){return p(e,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")}function w(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=function(e){e&&m((function(){return e.apply(void 0,t)}))},i=0,o=e;i<o.length;i++){var a=o[i];r(a)}}}function y(e,t){var r;return void 0===t&&(t=!1),n({name:e.name,message:e.message,stack:t?null===(r=e.stack)||void 0===r?void 0:r.split("\n"):e.stack},e)}function E(){var e=window;try{return e.self!==e.top}catch(t){return!0}}function k(e){switch(e){case 0:return"Loading has started";case 1:return"Loading has succeeded";case 2:return"Loading has failed";case 3:return"Getting visitor identifier has started";case 4:return"Getting visitor identifier has succeeded";case 5:return"Getting visitor identifier has failed";case 6:return"TLS request has started";case 7:return"TLS request has succeeded";case 8:return"TLS request has failed";case 9:return"Getting fingerprint has started";case 10:return"Getting fingerprint has succeeded";case 11:return"Getting fingerprint has failed";case 12:return"Visitor identifier request has started";case 13:return"Visitor identifier request has succeeded";case 14:return"Visitor identifier request has failed"}}function R(e){return void 0===e&&(e="[FingerprintJS Pro] "),function(t){switch(t.e){case 2:case 5:case 8:case 11:case 14:console.error(I(e,t));break;case 10:var n=I(e,t),r=t.result;Object.keys(r).some((function(e){return r[e].error}))?console.warn(n):console.log(n);break;default:console.log(I(e,t))}}}function I(e,t){var n=t.e,i=r(t,["e"]),o=""+e+(new Date).toISOString()+": "+k(n);return Object.keys(i).length&&(o+="\n```\n"+function(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?y(t,!0):t}),2)}(i)+"\n```"),o}function S(e){var t=e.url,n=e.method,r=void 0===n?"get":n,i=e.body,o=e.headers,a=e.withCredentials,u=void 0!==a&&a,s=e.timeout;return new Promise((function(e,n){var a=new XMLHttpRequest;for(var c in a.open(r,t,!0),a.withCredentials=u,a.timeout=void 0===s?0:Math.max(s,1),o)a.setRequestHeader(c,o[c]);a.onload=function(){return e(function(e){return{text:e.responseText,status:e.status,statusText:e.statusText}}(a))},a.ontimeout=function(){return n(_("TimeoutError","The request timed out"))},a.onabort=function(){return n(_("AbortError","The request is aborted"))},a.onerror=function(){return n(_("TypeError",navigator.onLine?"Connection error":"Network offline"))},a.send(i)}))}function _(e,t){var n=new Error(t);return n.name=e,n}function T(e){var t=e.url,n=e.body,r=navigator.sendBeacon;if(r)return r(t,n);var i=new XMLHttpRequest;i.open("POST",t,!function(){var e,t=null===(e=window.event)||void 0===e?void 0:e.type;return"pagehide"===t||"unload"===t}()),n instanceof Blob&&i.setRequestHeader("Content-Type",n.type);try{i.send(n)}catch(o){return!1}return!0}function C(e,t){if(0==t.length||t.length>e.length)return-1;for(var n=0;n<e.length;n++){for(var r=0,i=0;i<t.length;i++){if(e[n+i]!==t[i]){r=0;break}r++}if(r==t.length)return n}return-1}function q(n,r,i,o,a){return e(this,void 0,void 0,(function(){var e,u,s;return t(this,(function(t){switch(t.label){case 0:(u=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];n&&m((function(){var r=e.apply(void 0,t);void 0!==r&&n(r)}))})(r),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,a()];case 2:return e=t.sent(),[3,4];case 3:throw s=t.sent(),u(o,s),s;case 4:return u(i,e),[2,e]}}))}))}function O(){var e=window,t=e.__fpjs_pvid;return e.__fpjs_pvid="string"==typeof t?t:b(10)}function x(e){return new D(e).addEvent}var D=function(){function e(e){var t=this;this.onReportReady=e,this.isStopped=!1,this.pageStartTimestamp=function(){var e,t,n=performance;if(n.timeOrigin){var r=null===(t=null===(e=n.getEntriesByType)||void 0===e?void 0:e.call(n,"navigation"))||void 0===t?void 0:t[0];if(r)return n.timeOrigin+(r.responseStart||r.unloadEventEnd)}return n.timing.domLoading||n.timing.responseStart||n.timing.unloadEventEnd}(),this.events={},this.addEvent=function(e){if(!t.isStopped){var n={time:new Date,type:"agentEvent",event:e};switch(0!==e.e&&3!==e.e||(n.documentReadyState=document.readyState,n.isPageVisible=A(),n.isFullscreen=F(),n.network=V()),t.storeAgentEvent(n),e.e){case 2:t.submitReport(e.agentId,void 0);break;case 4:case 5:t.submitReport(e.agentId,e.getCallId)}}};for(var n=window,r=document,i=[[r,"readystatechange",function(){return t.handleDocumentReadyStateChange()}],[r,"visibilitychange",function(){return t.handleVisibilityChange()}],[r,"pageshow",function(){return t.handlePageTransition(!0)}],[r,"pagehide",function(){return t.handlePageTransition(!1)}],[n,"unload",function(){return t.handlePageUnload()}]],o=0,a=i;o<a.length;o++){var u=a[o],s=u[0],c=u[1],l=u[2];s.addEventListener(c,l)}var d=function(e,t){for(var n=document,r=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],i=0,o=r;i<o.length;i++){var a=o[i];n.addEventListener(a,e,t)}return function(){for(var i=0,o=r;i<o.length;i++){var a=o[i];n.removeEventListener(a,e,t)}}}((function(){return t.handleFullscreenChange()})),v=function(e){var t=navigator.connection;if(!t)return addEventListener("online",e),addEventListener("offline",e),function(){removeEventListener("online",e),removeEventListener("offline",e)};var n=!1,r=t.onchange,i=function(t){try{n||e()}finally{null==r||r(t)}};return t.onchange=i,function(){n=!0,t.onchange===i&&(t.onchange=r)}}((function(){return t.handleNetworkConnectionChange()}));this.stop=function(){t.isStopped=!0;for(var e=0,n=i;e<n.length;e++){var r=n[e],o=r[0],a=r[1],u=r[2];o.removeEventListener(a,u)}d(),v()}}return e.prototype.handleDocumentReadyStateChange=function(){this.storeEnvironmentEvent({time:new Date,type:"documentReadyState",state:document.readyState})},e.prototype.handleVisibilityChange=function(){this.storeEnvironmentEvent({time:new Date,type:"pageVisibilityToggle",isVisible:A()})},e.prototype.handlePageTransition=function(e){this.storeEnvironmentEvent({time:new Date,type:"pageTransition",isShown:e})},e.prototype.handleFullscreenChange=function(){this.storeEnvironmentEvent({time:new Date,type:"fullscreenToggle",isFullscreen:F()})},e.prototype.handleNetworkConnectionChange=function(){this.storeEnvironmentEvent({time:new Date,type:"networkChange",network:V()})},e.prototype.handlePageUnload=function(){this.storeEnvironmentEvent({time:new Date,type:"pageUnload"});for(var e=0,t=Object.keys(this.events);e<t.length;e++){var n=t[e],r=this.events[n];if(0===Object.keys(r.getCalls).length)this.submitReport(n,void 0);else for(var i=0,o=Object.keys(r.getCalls);i<o.length;i++){var a=o[i];N(r.getCalls[a])||this.submitReport(n,a)}}this.stop()},e.prototype.storeAgentEvent=function(e){var t=e.event,n=t.agentId;switch(this.events[n]||(this.events[n]={loadEvents:[],getCalls:{}}),t.e){case 0:case 1:case 2:this.events[n].loadEvents.push(e);break;default:var r=t.getCallId;this.events[n].getCalls[r]||(this.events[n].getCalls[r]=[]),this.events[n].getCalls[r].push(e)}},e.prototype.storeEnvironmentEvent=function(e){for(var t=0,n=Object.keys(this.events);t<n.length;t++){var r=n[t],i=this.events[r];i.loadEvents.some((function(e){return"agentEvent"===e.type&&(1===e.event.e||2===e.event.e)}))||i.loadEvents.push(e);for(var o=0,a=Object.keys(i.getCalls);o<a.length;o++){var u=a[o],s=i.getCalls[u];N(s)||s.push(e)}}},e.prototype.submitReport=function(e,t){var n=function(e,t){for(var n,r,i,o,a,u,s,c,l,d,v,f,g,h,m,p=function(e){for(var t={},n={},r=0,i=e;r<i.length;r++){var o=i[r];"agentEvent"===o.type?t[o.event.e]=o:n[o.type]=o}return{agentEvents:t,otherEvents:n}}(e),b=p.agentEvents,w=p.otherEvents,y=null!==(r=null===(n=w.pageUnload)||void 0===n?void 0:n.time)&&void 0!==r?r:new Date,k="null",R=0,I=[[4,"getSuccess"],[5,"getFail"],[3,"getting"],[1,"loadSuccess"],[2,"loadFail"],[0,"loading"]];R<I.length;R++){var S=I[R],_=S[0],T=S[1];if(b[_]){k=T;break}}return{time:null!==(c=null!==(u=null!==(o=null===(i=b[4])||void 0===i?void 0:i.time)&&void 0!==o?o:null===(a=b[5])||void 0===a?void 0:a.time)&&void 0!==u?u:null===(s=b[2])||void 0===s?void 0:s.time)&&void 0!==c?c:y,pageUrl:location.href,pageStartTime:new Date(t),isInIframe:E(),agentVersion:null===(l=b[0])||void 0===l?void 0:l.event.version,userAgent:navigator.userAgent,pageViewId:O(),agentId:null===(d=b[0])||void 0===d?void 0:d.event.agentId,getCallId:null===(v=b[3])||void 0===v?void 0:v.event.getCallId,requestId:null!==(g=null===(f=b[4])||void 0===f?void 0:f.event.requestId)&&void 0!==g?g:null===(h=b[5])||void 0===h?void 0:h.event.requestId,visitorId:null===(m=b[4])||void 0===m?void 0:m.event.visitorId,identificationState:k,load:L(y,b[0],b[1],b[2]),get:L(y,b[3],b[4],b[5]),tls:L(y,b[6],b[7],b[8],(function(e){return{responseStatus:e.event.status}})),fingerprint:L(y,b[9],b[10],b[11],(function(e){var t=e.event;return{failedComponents:P(t.result),componentDurations:j(t.result)}})),visitorIdRequest:L(y,b[12],b[13],b[14],(function(e){return{responseStatus:e.event.status}})),events:e}}(function(e,t,n){var r,i=[];e[t]&&(i.push.apply(i,e[t].loadEvents),void 0!==n&&i.push.apply(i,null!==(r=e[t].getCalls[n])&&void 0!==r?r:[]));return i}(this.events,e,t),this.pageStartTimestamp);try{this.onReportReady(n)}catch(r){console.error(r)}},e}();function N(e){return e.some((function(e){return"agentEvent"===e.type&&(4===e.event.e||5===e.event.e)}))}function L(e,t,r,i,o){if(void 0!==t)return void 0!==r?n(n({},null==o?void 0:o(r)),{duration:r.time.getTime()-t.time.getTime(),state:"success"}):void 0!==i?{duration:i.time.getTime()-t.time.getTime(),state:"fail",error:i.event.error}:{duration:e.getTime()-t.time.getTime(),state:"incomplete"}}function P(e){return Object.keys(e).filter((function(t){return e[t].error}))}function j(e){for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];t[i]=e[i].duration}return t}function A(){return!document.hidden}function F(){return!!((e=document).fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement);var e}function V(){var e=navigator.connection;return{online:navigator.onLine,downlink:null==e?void 0:e.downlink,downlinkMax:null==e?void 0:e.downlinkMax,effectiveType:null==e?void 0:e.effectiveType,roundTrip:null==e?void 0:e.rtt,saveData:null==e?void 0:e.saveData,type:null==e?void 0:e.type}}function U(n){var r=this,i=n.clientId,o=n.token,a=n.endpoint,u=void 0===a?"https://api.rollbar.com/api/1/item/":a;return new D((function(n){return e(r,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return e=function(e,t,n,r){return{access_token:n,data:M(e,t,r)}}(n,i,o),[4,H(u,e)];case 1:return t.sent(),[2]}}))}))})).addEvent}function M(e,t,n){var r,o;void 0===n&&(n=[8,4,4,4,12].map((function(e){return p(e,"0123456789abcdef")})).join("-"));var a=G[e.identificationState],u=a.level,s=a.message;return{environment:t,level:u,timestamp:Math.round(e.time.getTime()/1e3),platform:"browser",framework:"FingerprintJS Pro",language:"javascript",uuid:n,notifier:{name:"FingerprintJS Pro monitoring",version:"3.2.4"},request:{url:e.pageUrl,query_string:(null!==(r=/\?.*$/.exec(e.pageUrl))&&void 0!==r?r:[""])[0],user_ip:"$remote_ip"},client:{javascript:{browser:e.userAgent,code_version:e.agentVersion}},person:void 0===e.visitorId?void 0:{id:"visitorId:"+e.visitorId},body:{telemetry:i([{level:"debug",source:"client",timestamp_ms:e.pageStartTime.getTime(),type:"manual",body:{message:"Page starts","~~hack~componentDurations":"success"===(null===(o=e.fingerprint)||void 0===o?void 0:o.state)?z(e.fingerprint.componentDurations):void 0}}],e.events.map(B)),message:{body:s}},custom:{isInIframe:e.isInIframe,pageViewId:e.pageViewId,agentId:e.agentId,getCallId:e.getCallId,requestId:e.requestId,visitorId:e.visitorId,identificationState:e.identificationState,load:e.load,get:e.get,tls:e.tls,fingerprint:J(e.fingerprint),visitorIdRequest:e.visitorIdRequest}}}var G={null:{level:"info",message:"Load() wasn't called"},loading:{level:"warning",message:"Load() incomplete"},loadSuccess:{level:"info",message:"Load() succeeded, get() wasn't called"},loadFail:{level:"error",message:"Load() failed"},getting:{level:"warning",message:"Get() incomplete"},getSuccess:{level:"info",message:"Get() succeeded"},getFail:{level:"error",message:"Get() failed"}};function B(e){var t={type:"manual",level:"debug",source:"client",timestamp_ms:e.time.getTime()};switch(e.type){case"documentReadyState":return n(n({},t),{body:{message:'Document ready state becomes "'+e.state+'"'}});case"pageVisibilityToggle":return n(n({},t),{body:{message:"Page becomes "+(e.isVisible?"visible (in foreground)":"invisible (in background)")}});case"pageTransition":return n(n({},t),{body:{message:e.isShown?"Page is restored from browser history":"Page is about to go to browser history"}});case"fullscreenToggle":return n(n({},t),{body:{message:"Programmatic fullscreen "+(e.isFullscreen?"on":"off")}});case"networkChange":return n(n({},t),{body:n(n({},e.network),{message:"Network connection changes"})});case"pageUnload":return n(n({},t),{body:{message:"Page is about to unload (terminate)"}})}for(var r=e.event,i=n(n({},t),{level:"info",body:{message:k(r.e)}}),o=0,a=["documentReadyState","isPageVisible","isFullscreen","network"];o<a.length;o++){var u=a[o];void 0!==e[u]&&(i.body[u]=e[u])}switch(r.e){case 0:case 3:return n(n({},i),{body:n(n({},i.body),{options:r.options})});case 1:case 9:return i;case 2:case 5:case 8:case 11:case 14:return n(n({},i),{level:"error",body:n(n({},i.body),{error:r.error})});case 4:case 10:return n(n({},i),{body:n(n({},i.body),{result:r.result})});case 6:return n(n({},i),{body:n(n({},i.body),{endpoint:r.endpoint,timeout:r.timeout})});case 7:case 13:return n(n({},i),{body:n(n({},i.body),{status:r.status,body:r.body.slice(0,4096)})});case 12:return n(n({},i),{body:n(n({},i.body),{endpoint:r.endpoint,request:r.request})})}}function J(e){if(!e||"incomplete"===e.state||"fail"===e.state)return e;e.componentDurations;var t=r(e,["componentDurations"]),i=e.failedComponents.length?","+e.failedComponents.join(",")+",":void 0;return n(n({},t),{failedComponents:i})}function z(e,t){void 0===t&&(t="_");for(var r=n({},e),i=0,o=Object.keys(e);i<o.length;i++){var a=o[i];if(/^\d+$/.test(a)){delete r[a];var u=a;do{u=""+t+u}while(u in r);r[u]=e[a]}}return r}function H(r,i){return e(this,void 0,void 0,(function(){var e,o;return t(this,(function(t){switch(t.label){case 0:e=function(e){var t=function(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?y(t):t}))},r=65536,i=t(e);o=i,new Blob([o]).size>r&&(i=t(function(e,t){var r;return n(n({},e),{data:n(n({},e.data),{body:n(n({},e.data.body),{telemetry:[{source:"client",level:"warning",timestamp_ms:Date.now(),type:"manual",body:{message:"The Rollbar request body exceeded Beacon limit of "+t+" bytes, therefore some data have been omitted"}}]}),custom:{identificationState:null===(r=e.data.custom)||void 0===r?void 0:r.identificationState,exceedsBeaconLimit:!0}})})}(e,r)));var o;return i}(i),o=0,t.label=1;case 1:return navigator.onLine&&T({url:r,body:e})?[3,5]:[3,2];case 2:return[4,g(1e3*Math.min(o+1,10))];case 3:t.sent(),t.label=4;case 4:return++o,[3,1];case 5:return[2]}}))}))}var K={us:"https://api.sjpf.io",eu:"https://tls-eun1.fpapi.io"};function W(n,r,i){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,q(i,(function(){return{e:6,endpoint:n,timeout:r}}),(function(e){return{e:7,status:e.status,body:e.text}}),(function(e){return{e:8,error:e}}),(function(){return S({url:n,timeout:r})}))];case 1:return e=t.sent(),[3,3];case 2:switch(t.sent().name){case"AbortError":throw new Error("Abort");case"TimeoutError":throw new Error("Timeout");default:throw new Error("Connection error")}case 3:if(200===e.status)return[2,e.text];throw new Error(e.text.slice(0,255))}}))}))}var X="Client timeout",Q="Network connection error",$="Network request aborted";function Y(e){var t,r=e.components,i=e.token,a=e.visitorId,u=e.tag,s=e.ipResolution,c=e.extendedResult,l=e.linkedId,d=e.tls,v=e.tlsError,f=Object.keys(r).reduce((function(e,t){return e+r[t].duration}),0),g="full"===s?2:1;return(t={}).c=i,t.url=location.href,t.d=f,t.vid=a[0]||a[1]||void 0,t.ls=a[1]?1:void 0,t.t=function(e){if(e&&"object"==typeof e)return e;if(null==e)return;return{tag:e}}(u),t.i=g,t.cbd=c?1:void 0,t.lid=l,t.cr=document.referrer||void 0,t.j=d,t.je=null==v?void 0:v.message,t.k1=Z(r.osCpu),t.k2=Z(r.languages),t.k3=Z(r.colorDepth),t.k4=Z(r.deviceMemory),t.k5=Z(r.screenResolution),t.k6=Z(r.availableScreenResolution,void 0,[]),t.k7=Z(r.hardwareConcurrency),t.k8=Z(r.timezoneOffset),t.k9=Z(r.timezone),t.k10=ee(Z(r.sessionStorage)),t.k11=ee(Z(r.localStorage)),t.k12=ee(Z(r.indexedDB)),t.k13=ee(Z(r.openDatabase)),t.k14=Z(r.cpuClass),t.k15=Z(r.platform),t.k16=Z(r.plugins,[]),t.k17=function(e){var t=e.value;if(!t)return;return n(n({},t),{data:o(t.data)})}(r.canvas),t.k18=0,t.k19=Z(r.touchSupport),t.k20=Z(r.fonts,[]),t.k21=Z(r.audio,-4),t.k22=ee(Z(r.pluginsSupport)),t.k23=Z(r.productSub),t.k24=Z(r.emptyEvalLength),t.k25=ee(Z(r.errorFF)),t.k26=ee(Z(r[0])),t.k27=Z(r.vendor),t.k28=ee(Z(r.chrome)),t.k29=ee(Z(r[1])),t.k30=ee(Z(r[2])),t.k31=ee(Z(r[3],!1)),t.k32=ee(Z(r.cookiesEnabled,!1)),t.k33=ee(Z(r[4])),t.k34=Z(r[5],-5),t}function Z(e,t,n){return e.error?t:void 0===e.value?n:e.value}function ee(e){return!0===e?1:!1===e?0:e}function te(e,t){if(t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function ne(i,o){var a=i.endpoint,u=i.extendedResult,s=r(i,["endpoint","extendedResult"]);return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:return e=Y(n({extendedResult:u},s)),[4,re(a,e,o)];case 1:return[2,ie(t.sent(),u)]}}))}))}function re(n,r,i){return e(this,void 0,void 0,(function(){var e,o;return t(this,(function(t){switch(t.label){case 0:e=function(e){return e+(-1===e.indexOf("?")?"?":"&")+"cv="+encodeURIComponent("3.2.4")}(n),t.label=1;case 1:return t.trys.push([1,3,,4]),[4,q(i,(function(){return{e:12,endpoint:e,request:r}}),(function(e){return{e:13,status:e.status,body:e.text}}),(function(e){return{e:14,error:e}}),(function(){return S({url:e,method:"post",body:JSON.stringify(r),headers:{"Content-Type":"text/plain"},withCredentials:!0})}))];case 2:return[2,t.sent()];case 3:throw o=t.sent(),new Error("AbortError"===o.name?"Network request aborted":"Network connection error");case 4:return[2]}}))}))}function ie(n,r){return e(this,void 0,void 0,(function(){var e,i;return t(this,(function(t){if(404===n.status||n.status>=500)throw new Error(n.statusText);try{e=JSON.parse(n.text)}catch(o){throw new Error(n.text)}if(function(e){return e&&"object"==typeof e&&"string"==typeof e.visitorId&&"n/a"!==e.visitorId}(e))return ue(e.notification),[2,oe(e)];if(function(e){return e&&"object"==typeof e&&"n/a"===e.visitorId}(e)){if(ue(e.notification),"Not available for crawl bots"===e.reason||"Not available when User-Agent is unspecified"===e.reason)return[2,ae(e,r)];throw(i=new Error(e.reason)).requestId=e.requestId,i}throw new Error(n.text)}))}))}function oe(e){var t=e,i=t.botProbability,o=(t.notification,r(t,["botProbability","notification"])),a=n({},o);return i&&(a.bot={probability:i}),a}function ae(e,t){var r={requestId:e.requestId,visitorFound:!1,visitorId:""};if(!t)return r;var i=n(n({},r),{bot:{probability:1},incognito:!1,browserName:"n/a",browserVersion:"n/a",device:"n/a",ip:"n/a",ipLocation:{},os:"n/a",osVersion:"n/a"});return"Not available for crawl bots"===e.reason&&(i.bot.safe=!0),i}function ue(e){if(e){var t=e.level,n=e.message;"error"===t?console.error(n):"warning"===t?console.warn(n):console.log(n)}}function se(){var e,t;return(null===(t=null===(e=window.performance)||void 0===e?void 0:e.memory)||void 0===t?void 0:t.jsHeapSizeLimit)||1073741824}function ce(){return e(this,void 0,void 0,(function(){var e,n,r;return t(this,(function(t){switch(t.label){case 0:return e=navigator.storage,(n=navigator.webkitTemporaryStorage)?[4,new Promise((function(e){n.queryUsageAndQuota((function(t,n){return e(n)}))}))]:[3,2];case 1:return r=t.sent(),[3,4];case 2:return(null==e?void 0:e.estimate)?[4,e.estimate().then((function(e){return e.quota}))]:[3,4];case 3:r=t.sent(),t.label=4;case 4:return r?[2,r<se()]:[2,!1]}}))}))}function le(){return e(this,void 0,void 0,(function(){return t(this,(function(e){return c()?[2,de()]:[2,ve()]}))}))}function de(){var e,t=window.safari;if(!t)return!1;try{t.pushNotification.requestPermission("https://example.com","private",{},(function(){}))}catch(n){return e=n,!new RegExp([103,101,115,116,117,114,101].map((function(e){return String.fromCharCode(e)})).join("")).test(e)}throw new Error("Unexpected lack of error")}function ve(){return e(this,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:(e=document.createElement("iframe")).style.display="none",t.label=1;case 1:return t.trys.push([1,,3,4]),document.body.appendChild(e),[4,Promise.race([g(20,!1),new Promise((function(t){e.contentWindow?e.contentWindow.applicationCache.addEventListener("error",(function(){return t(!0)})):t(!1)}))])];case 2:return[2,t.sent()];case 3:return e.remove(),[7];case 4:return[2]}}))}))}function fe(){var e=window.openDatabase,t=window.localStorage;try{e(null,null,null,null)}catch(n){return!0}try{return t.setItem("test","1"),t.removeItem("test"),!1}catch(n){return!0}}var ge,he=[[function(){return u()},function(){return e(this,void 0,void 0,(function(){return t(this,(function(e){return function(){var e=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(!e)throw"UserAgent is not Google Chrome";return parseInt(e[2],10)}()>=76?[2,ce()]:[2,new Promise((function(e){window.webkitRequestFileSystem(0,1,(function(){return e(!1)}),(function(){return e(!0)}))}))]}))}))}],[function(){return s()},function(){return e(this,void 0,void 0,(function(){return t(this,(function(e){return function(){var e=navigator.userAgent.match(/Version\/([0-9._]+).*Safari/);if(!e)throw new Error("UserAgent is not Safari");var t=e[1].split(".").map((function(e){return isNaN(parseInt(e))?0:parseInt(e)})),n=t[0],r=t[1],i=t[2];return{major:n,minor:r,patch:i}}().major<13?[2,fe()]:[2,le()]}))}))}],[function(){return a()},function(){return new Promise((function(e){try{var t=indexedDB.open("test");t.onerror=function(){return e(!0)},t.onsuccess=function(){return e(!1)}}catch(n){return e(!0)}}))}],[function(){return l()||d()},function(){try{if(!window.indexedDB)return!0}catch(e){return!0}return!1}]];function me(){return e(this,void 0,void 0,(function(){var e,n,r,i,o;return t(this,(function(t){switch(t.label){case 0:e=0,n=he,t.label=1;case 1:return e<n.length?(r=n[e],i=r[0],o=r[1],i()?[4,o()]:[3,3]):[3,4];case 2:return[2,t.sent()];case 3:return e++,[3,1];case 4:return[2,!1]}}))}))}var pe=((ge={})[0]=function(){return void 0!==navigator.webdriver},ge[1]=function(){return e(this,void 0,void 0,(function(){var e,n;return t(this,(function(t){switch(t.label){case 0:return(e=navigator.permissions)?[4,e.query({name:"notifications"})]:[2,void 0];case 1:return n=t.sent(),"undefined"==typeof Notification?[2,void 0]:[2,"denied"===Notification.permission&&"prompt"===n.state]}}))}))},ge[2]=function(){var e=window,t=document,n=t.documentElement;return"webdriver"in e||"_Selenium_IDE_Recorder"in e||"callSelenium"in e||"_selenium"in e||"__webdriver_script_fn"in t||"__driver_evaluate"in t||"__webdriver_evaluate"in t||"__selenium_evaluate"in t||"__fxdriver_evaluate"in t||"__driver_unwrapped"in t||"__webdriver_unwrapped"in t||"__selenium_unwrapped"in t||"__fxdriver_unwrapped"in t||"__webdriver_script_func"in t||null!==n.getAttribute("selenium")||null!==n.getAttribute("webdriver")||null!==n.getAttribute("driver")},ge[3]=function(){return e(this,void 0,void 0,(function(){var e,n;return t(this,(function(t){switch(t.label){case 0:if(void 0!==(e=function(){try{var e=localStorage.getItem("_inc");if(!e)return;return"1"===e}catch(t){return}}()))return[2,e];t.label=1;case 1:return t.trys.push([1,3,,4]),[4,me()];case 2:return function(e){try{localStorage.setItem("_inc",e?"1":"0")}catch(t){}}(n=t.sent()),[2,n];case 3:return t.sent(),[2,!1];case 4:return[2]}}))}))},ge[4]=function(){var e=window;if(!u())return!1;try{if([66,114,97,118,101].map((function(e){return String.fromCharCode(e)})).join("")in e)return!0;var t=document.createElement("canvas");t.width=4,t.height=4,t.style.display="inline";var n=t.toDataURL();if(""===n)return!0;for(var r=window.atob(n.split(",")[1]),i=r.length,o=new Uint8Array(i),a=0;a<i;a++)o[a]=r.charCodeAt(a);var s=C(o,[73,68,65,84,24]);if(-1===s)return!1;var c=C(o,[73,69,78,68]);return-1!==s&&1321!==o.slice(s+5,c).reduce((function(e,t){return e+t}),0)}catch(l){return!1}},ge[5]=function(){return e(this,void 0,void 0,(function(){var e,n,r;return t(this,(function(t){switch(t.label){case 0:if(!u()&&!s())return[2,-2];if(e=window,!(n=e.RTCPeerConnection||e.webkitRTCPeerConnection))return[2,-3];r=new n({iceServers:[]}),t.label=1;case 1:return t.trys.push([1,,3,4]),[4,new Promise((function(e,t){var n=function(){return e(-1)};r.onicecandidate=function(t){var r=t.candidate;if(!r)return n();var i=function(e){var t=/candidate:(\d+)\b/i.exec(e);return t?+t[1]:void 0}(r.candidate);void 0!==i&&e(i)},r.onicegatheringstatechange=function(){"complete"===r.iceGatheringState&&n()},r.onicecandidateerror=t,r.createDataChannel("test"),function(e,t){try{return e.createOffer(t)}catch(n){if(/\bcreateOffer\b.*(\bcallback\b.*\bnot a function\b|\barguments required\b.*\bpresent\b)/i.test(n.message))return new Promise((function(n,r){e.createOffer(n,r,t)}));throw n}}(r).then((function(e){return r.setLocalDescription(e)}),t),setTimeout((function(){return e(-4)}),500)}))];case 2:return[2,t.sent()];case 3:return r.close(),[7];case 4:return[2]}}))}))},ge);function be(){return v(pe,void 0,[])}function we(e){for(var t=e+"=",n=0,r=document.cookie.split(";");n<r.length;n++){for(var i=r[n],o=0;" "===i[o]&&o<i.length;)++o;if(i.indexOf(t)===o)return i.slice(o+t.length)}}function ye(e,t,n,r){var i=e+"="+t,o="expires="+new Date(Date.now()+24*n*60*60*1e3).toUTCString(),a=r?"domain="+r:"";document.cookie=[i,"path=/",o,a,"SameSite=Lax"].join("; ")}function Ee(e,t,n){var r=location.hostname;ke(r,(function(t){!function(e,t){ye(e,"",-1,t)}(e,t)})),ke(r,(function(r){return ye(e,t,n,r),we(e)!==t}))&&ye(e,t,n)}function ke(e,t){var n=e.length;do{if(n=n>0?e.lastIndexOf(".",n-1):-1,!1===t(e.slice(n+1)))return!1}while(n>=0);return!0}function Re(e){return void 0===e&&(e="_vid"),[we(e),Se(e)]}function Ie(e,t){void 0===t&&(t="_vid"),Ee(t,e,365),function(e,t){var n;try{null===(n=null===localStorage||void 0===localStorage?void 0:localStorage.setItem)||void 0===n||n.call(localStorage,e,t)}catch(r){}}(t,e)}function Se(e){var t,n;try{return null!==(n=null===(t=null===localStorage||void 0===localStorage?void 0:localStorage.getItem)||void 0===t?void 0:t.call(localStorage,e))&&void 0!==n?n:void 0}catch(r){}}function _e(r,i,o,a){var u=this,s=a.token,c=a.region,l=void 0===c?"us":c,d=a.endpoint,v=a.tlsEndpoint,f=a.storageKey,g=a.debug;var m=function(r,i,o,a,c,g,h){return e(u,void 0,void 0,(function(){var e,u,m,b;return t(this,(function(t){switch(t.label){case 0:return[4,Promise.all([p(l,v,a,!!o,h),y(h)])];case 1:return e=t.sent(),u=e[0],m=e[1],[4,ne(n(n({},u),{token:s,endpoint:te(l,d),components:m,tag:r,visitorId:Re(f),linkedId:i,extendedResult:c,ipResolution:g}),h)];case 2:return Ie((b=t.sent()).visitorId,f),[2,b]}}))}))},p=function(n,r,i,o,a){return e(u,void 0,void 0,(function(){return t(this,(function(e){return o?[2,void 0]:[2,W(function(e,t){return t||K[e]}(n,r),i,a).then((function(e){return{tls:e}}),(function(e){return{tlsError:e}}))]}))}))},y=function(r){return q(r,(function(){return{e:9}}),(function(e){return{e:10,result:e}}),(function(e){return{e:11,error:e}}),(function(){return e(u,void 0,void 0,(function(){var e,r;return t(this,(function(t){switch(t.label){case 0:return[4,i.get()];case 1:return e=t.sent(),[4,o()];case 2:return r=t.sent(),[2,n(n({},e.components),r)]}}))}))}))};return{get:function(e){void 0===e&&(e={});var t=g||e.debug?function(e,t,r){return function(i){return e(n(n({},i),{agentId:t,getCallId:r}))}}(w([g,e.debug&&R()]),r,b(8)):void 0;return q(t,(function(){return{e:3,options:e}}),(function(e){return{e:4,requestId:e.requestId,visitorId:e.visitorId,result:e}}),(function(e){return{e:5,requestId:e.requestId,error:e}}),(function(){var n=e.timeout,r=void 0===n?1e4:n,i=e.tag,o=e.linkedId,a=e.disableTls,u=e.extendedResult,s=e.ipResolution;return Promise.race([h(r).then((function(){throw new Error("Client timeout")})),m(i,o,a,r/2,u,s,t)])}))}}}function Te(n){var r=this,i=b(8);return q(n.debug,(function(){return{e:0,agentId:i,version:"3.2.4",options:n}}),(function(){return{e:1,agentId:i}}),(function(e){return{e:2,agentId:i,error:e}}),(function(){return e(r,void 0,void 0,(function(){var e;return t(this,(function(t){switch(t.label){case 0:if(!n.token||"string"!=typeof n.token)throw new Error("Token required");return[4,f({delayFallback:n.delayFallback})];case 1:return e=t.sent(),[2,_e(i,e,be,n)]}}))}))}))}var Ce="Token required",qe="Token not found",Oe="Token expired",xe="Request cannot be parsed",De="Request failed",Ne="Request failed to process",Le="Too many requests, rate limit exceeded",Pe="Not available for this origin",je="Not available with restricted header",Ae={load:Te,ERROR_CLIENT_TIMEOUT:"Client timeout",ERROR_NETWORK_CONNECTION:"Network connection error",ERROR_NETWORK_ABORT:"Network request aborted",ERROR_TOKEN_MISSING:"Token required",ERROR_TOKEN_INVALID:"Token not found",ERROR_TOKEN_EXPIRED:"Token expired",ERROR_BAD_REQUEST_FORMAT:"Request cannot be parsed",ERROR_GENERAL_SERVER_FAILURE:"Request failed",ERROR_SERVER_TIMEOUT:"Request failed to process",ERROR_RATE_LIMIT:"Too many requests, rate limit exceeded",ERROR_FORBIDDEN_ORIGIN:"Not available for this origin",ERROR_FORBIDDEN_HEADER:"Not available with restricted header"};export default Ae;export{xe as ERROR_BAD_REQUEST_FORMAT,X as ERROR_CLIENT_TIMEOUT,je as ERROR_FORBIDDEN_HEADER,Pe as ERROR_FORBIDDEN_ORIGIN,De as ERROR_GENERAL_SERVER_FAILURE,$ as ERROR_NETWORK_ABORT,Q as ERROR_NETWORK_CONNECTION,Le as ERROR_RATE_LIMIT,Ne as ERROR_SERVER_TIMEOUT,Oe as ERROR_TOKEN_EXPIRED,qe as ERROR_TOKEN_INVALID,Ce as ERROR_TOKEN_MISSING,Te as load,R as makeConsoleDebugger,x as makeDebugReportBuilder,w as makeMulticastDebugger,U as makeRemoteDebugger}; |
/** | ||
* FingerprintJS Pro v3.2.3 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com) | ||
* FingerprintJS Pro v3.2.4 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com) | ||
* | ||
@@ -8,2 +8,2 @@ * This software contains code from open-source projects: | ||
var FingerprintJS=function(e){"use strict";var t=function(){return(t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function n(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function r(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{s(r.next(e))}catch(t){o(t)}}function u(e){try{s(r.throw(e))}catch(t){o(t)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}function i(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(u){o=[6,u],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}}function o(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,u=o.length;a<u;a++,i++)r[i]=o[a];return r}function a(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function u(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function s(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])}function c(e,t){return 0===(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]}function l(e,t){return[e[0]^t[0],e[1]^t[1]]}function d(e){return e=l(e,[0,e[0]>>>1]),e=l(e=u(e,[4283543511,3981806797]),[0,e[0]>>>1]),e=l(e=u(e,[3301882366,444984403]),[0,e[0]>>>1])}function f(e,t){t=t||0;var n,r=(e=e||"").length%16,i=e.length-r,o=[0,t],f=[0,t],v=[0,0],h=[0,0],g=[2277735313,289559509],p=[1291169091,658871167];for(n=0;n<i;n+=16)v=[255&e.charCodeAt(n+4)|(255&e.charCodeAt(n+5))<<8|(255&e.charCodeAt(n+6))<<16|(255&e.charCodeAt(n+7))<<24,255&e.charCodeAt(n)|(255&e.charCodeAt(n+1))<<8|(255&e.charCodeAt(n+2))<<16|(255&e.charCodeAt(n+3))<<24],h=[255&e.charCodeAt(n+12)|(255&e.charCodeAt(n+13))<<8|(255&e.charCodeAt(n+14))<<16|(255&e.charCodeAt(n+15))<<24,255&e.charCodeAt(n+8)|(255&e.charCodeAt(n+9))<<8|(255&e.charCodeAt(n+10))<<16|(255&e.charCodeAt(n+11))<<24],v=s(v=u(v,g),31),o=a(o=s(o=l(o,v=u(v,p)),27),f),o=a(u(o,[0,5]),[0,1390208809]),h=s(h=u(h,p),33),f=a(f=s(f=l(f,h=u(h,g)),31),o),f=a(u(f,[0,5]),[0,944331445]);switch(v=[0,0],h=[0,0],r){case 15:h=l(h,c([0,e.charCodeAt(n+14)],48));case 14:h=l(h,c([0,e.charCodeAt(n+13)],40));case 13:h=l(h,c([0,e.charCodeAt(n+12)],32));case 12:h=l(h,c([0,e.charCodeAt(n+11)],24));case 11:h=l(h,c([0,e.charCodeAt(n+10)],16));case 10:h=l(h,c([0,e.charCodeAt(n+9)],8));case 9:h=u(h=l(h,[0,e.charCodeAt(n+8)]),p),f=l(f,h=u(h=s(h,33),g));case 8:v=l(v,c([0,e.charCodeAt(n+7)],56));case 7:v=l(v,c([0,e.charCodeAt(n+6)],48));case 6:v=l(v,c([0,e.charCodeAt(n+5)],40));case 5:v=l(v,c([0,e.charCodeAt(n+4)],32));case 4:v=l(v,c([0,e.charCodeAt(n+3)],24));case 3:v=l(v,c([0,e.charCodeAt(n+2)],16));case 2:v=l(v,c([0,e.charCodeAt(n+1)],8));case 1:v=u(v=l(v,[0,e.charCodeAt(n)]),g),o=l(o,v=u(v=s(v,31),p))}return o=a(o=l(o,[0,e.length]),f=l(f,[0,e.length])),f=a(f,o),o=a(o=d(o),f=d(f)),f=a(f,o),("00000000"+(o[0]>>>0).toString(16)).slice(-8)+("00000000"+(o[1]>>>0).toString(16)).slice(-8)+("00000000"+(f[0]>>>0).toString(16)).slice(-8)+("00000000"+(f[1]>>>0).toString(16)).slice(-8)}var v=window;function h(e){return parseInt(e)}function g(e){return parseFloat(e)}function p(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}var m=window,b=navigator,y=document;function w(){return p(["MSCSSMatrix"in m,"msSetImmediate"in m,"msIndexedDB"in m,"msMaxTouchPoints"in b,"msPointerEnabled"in b])>=4}function E(){return p(["msWriteProfilerMark"in m,"MSStream"in m,"msLaunchUri"in b,"msSaveBlob"in b])>=3&&!w()}function R(){return p(["webkitPersistentStorage"in b,"webkitTemporaryStorage"in b,0===b.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in m,"BatteryManager"in m,"webkitMediaStream"in m,"webkitSpeechGrammar"in m])>=5}function S(){return p(["ApplePayError"in m,"CSSPrimitiveValue"in m,"Counter"in m,0===b.vendor.indexOf("Apple"),"getStorageUpdates"in b,"WebKitMediaKeys"in m])>=4}function I(){return p(["safari"in m,!("DeviceMotionEvent"in m),!("ongestureend"in m),!("standalone"in b)])>=3}var C=window,k=document;function T(e,t,n){(function(e){return e&&"function"==typeof e.setValueAtTime})(t)&&t.setValueAtTime(n,e.currentTime)}function O(e){return new Promise((function(t,n){e.oncomplete=function(e){return t(e.renderedBuffer)};var r=3,i=function(){switch(e.startRendering(),e.state){case"running":setTimeout((function(){return n(A("timeout"))}),1e3);break;case"suspended":k.hidden||r--,r>0?setTimeout(i,500):n(A("suspended"))}};i()}))}function _(e){for(var t=0,n=4500;n<5e3;++n)t+=Math.abs(e[n]);return t}function A(e){var t=new Error(e);return t.name=e,t}var x=document,P=["monospace","sans-serif","serif"],D=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"],M={fontStyle:"normal",fontWeight:"normal",letterSpacing:"normal",lineBreak:"auto",lineHeight:"normal",textTransform:"none",textAlign:"left",textDecoration:"none",textShadow:"none",whiteSpace:"normal",wordBreak:"normal",wordSpacing:"normal",position:"absolute",left:"-9999px",fontSize:"48px"};function L(e){return e.toDataURL()}var N=navigator,F=window;var q=navigator;var j=window;var B=window;var U=window;var V=document;var G={osCpu:function(){return navigator.oscpu},languages:function(){var e=[],t=q.language||q.userLanguage||q.browserLanguage||q.systemLanguage;if(void 0!==t&&e.push([t]),Array.isArray(q.languages))R()&&p([!("MediaSettingsRange"in m),"RTCEncodedAudioFrame"in m,""+m.Intl=="[object Intl]",""+m.Reflect=="[object Reflect]"])>=3||e.push(q.languages);else if("string"==typeof q.languages){var n=q.languages;n&&e.push(n.split(","))}return e},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return e=g(navigator.deviceMemory),t=void 0,"number"==typeof e&&isNaN(e)?t:e;var e,t},screenResolution:function(){var e=[h(j.screen.width),h(j.screen.height)];return e.sort().reverse(),e},availableScreenResolution:function(){if(B.screen.availWidth&&B.screen.availHeight){var e=[h(B.screen.availWidth),h(B.screen.availHeight)];return e.sort().reverse(),e}},hardwareConcurrency:function(){try{var e=h(navigator.hardwareConcurrency);return isNaN(e)?1:e}catch(t){return 1}},timezoneOffset:function(){var e=(new Date).getFullYear();return Math.max(g(new Date(e,0,1).getTimezoneOffset()),g(new Date(e,6,1).getTimezoneOffset()))},timezone:function(){var e;if(null===(e=U.Intl)||void 0===e?void 0:e.DateTimeFormat)return(new U.Intl.DateTimeFormat).resolvedOptions().timeZone},sessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},localStorage:function(){try{return!!window.localStorage}catch(e){return!0}},indexedDB:function(){if(!w()&&!E())try{return!!window.indexedDB}catch(e){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){return navigator.platform},plugins:function(){if(w())return[];if(navigator.plugins){for(var e=[],t=0;t<navigator.plugins.length;++t){var n=navigator.plugins[t];if(n){for(var r=[],i=0;i<n.length;++i){var o=n[i];r.push({type:o.type,suffixes:o.suffixes})}e.push({name:n.name,description:n.description,mimeTypes:r})}}return e}},canvas:function(){var e=function(){var e=document.createElement("canvas");return e.width=240,e.height=140,e.style.display="inline",[e,e.getContext("2d")]}(),t=e[0],n=e[1];if(!function(e,t){return!(!t||!e.toDataURL)}(t,n))return{winding:!1,data:""};n.rect(0,0,10,10),n.rect(2,2,6,6);var r=!n.isPointInPath(5,5,"evenodd");n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",n.font="11pt no-real-font-123";var i="Cwm fjordbank 😃 gly";return n.fillText(i,2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText(i,4,45),n.globalCompositeOperation="multiply",n.fillStyle="rgb(255,0,255)",n.beginPath(),n.arc(50,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(0,255,255)",n.beginPath(),n.arc(100,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,255,0)",n.beginPath(),n.arc(75,100,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,0,255)",n.arc(75,75,75,0,2*Math.PI,!0),n.arc(75,75,25,0,2*Math.PI,!0),n.fill("evenodd"),{winding:r,data:L(t)}},touchSupport:function(){var e,t=0;void 0!==N.maxTouchPoints?t=h(N.maxTouchPoints):void 0!==N.msMaxTouchPoints&&(t=N.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(n){e=!1}return{maxTouchPoints:t,touchEvent:e,touchStart:"ontouchstart"in F}},fonts:function(){var e=x.body,t=x.createElement("div"),n=x.createElement("div"),r={},i={},o=function(){var e=x.createElement("span");e.textContent="mmMwWLliI0O&1";for(var t=0,n=Object.keys(M);t<n.length;t++){var r=n[t];e.style[r]=M[r]}return e},a=function(e){return P.some((function(t,n){return e[n].offsetWidth!==r[t]||e[n].offsetHeight!==i[t]}))},u=P.map((function(e){var n=o();return n.style.fontFamily=e,t.appendChild(n),n}));e.appendChild(t);for(var s=0,c=P.length;s<c;s++)r[P[s]]=u[s].offsetWidth,i[P[s]]=u[s].offsetHeight;var l=function(){for(var e={},t=function(t){e[t]=P.map((function(e){var r=function(e,t){var n=o();return n.style.fontFamily="'"+e+"',"+t,n}(t,e);return n.appendChild(r),r}))},r=0,i=D;r<i.length;r++){t(i[r])}return e}();e.appendChild(n);for(var d=[],f=0,v=D.length;f<v;f++)a(l[D[f]])&&d.push(D[f]);return e.removeChild(n),e.removeChild(t),d},audio:function(){return r(this,void 0,void 0,(function(){var e,t,n,r,o,a;return i(this,(function(i){switch(i.label){case 0:if(!(e=C.OfflineAudioContext||C.webkitOfflineAudioContext))return[2,-2];if(S()&&!I()&&!(p(["DOMRectList"in m,"RTCPeerConnectionIceEvent"in m,"SVGGeometryElement"in m,"ontransitioncancel"in m])>=3))return[2,-1];t=new e(1,44100,44100),(n=t.createOscillator()).type="triangle",T(t,n.frequency,1e4),r=t.createDynamicsCompressor(),T(t,r.threshold,-50),T(t,r.knee,40),T(t,r.ratio,12),T(t,r.reduction,-20),T(t,r.attack,0),T(t,r.release,.25),n.connect(r),r.connect(t.destination),n.start(0),i.label=1;case 1:return i.trys.push([1,3,4,5]),[4,O(t)];case 2:return o=i.sent(),[3,5];case 3:if("timeout"===(a=i.sent()).name||"suspended"===a.name)return[2,-3];throw a;case 4:return n.disconnect(),r.disconnect(),[7];case 5:return[2,_(o.getChannelData(0))]}}))}))},pluginsSupport:function(){return void 0!==navigator.plugins},productSub:function(){return navigator.productSub},emptyEvalLength:function(){return eval.toString().length},errorFF:function(){try{throw"a"}catch(e){try{return e.toSource(),!0}catch(t){return!1}}},vendor:function(){return navigator.vendor},chrome:function(){return void 0!==window.chrome},cookiesEnabled:function(){try{V.cookie="cookietest=1; SameSite=Strict;";var e=-1!==V.cookie.indexOf("cookietest=");return V.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",e}catch(t){return!1}}};function H(e,n,o){return r(this,void 0,void 0,(function(){var r,a,u,s,c,l,d,f,v;return i(this,(function(i){switch(i.label){case 0:r=Date.now(),a={},u=0,s=Object.keys(e),i.label=1;case 1:if(!(u<s.length))return[3,7];if(c=s[u],function(e,t){for(var n=0,r=e.length;n<r;++n)if(e[n]===t)return!0;return!1}(o,c))return[3,6];l=void 0,i.label=2;case 2:return i.trys.push([2,4,,5]),v={},[4,e[c](n)];case 3:return v.value=i.sent(),l=v,[3,5];case 4:return d=i.sent(),l=d&&"object"==typeof d&&"message"in d?{error:d}:{error:{message:d}},[3,5];case 5:f=Date.now(),a[c]=t(t({},l),{duration:f-r}),r=f,i.label=6;case 6:return u++,[3,1];case 7:return[2,a]}}))}))}function W(e){return JSON.stringify(e,(function(e,n){return n instanceof Error?function(e){var n;return t({name:e.name,message:e.message,stack:null===(n=e.stack)||void 0===n?void 0:n.split("\n")},e)}(n):n}),2)}function J(e){return f(function(e){for(var t="",n=0,r=Object.keys(e);n<r.length;n++){var i=r[n],o=e[i],a=o.error?"error":JSON.stringify(o.value);t+=(t?"|":"")+i.replace(/([:|\\])/g,"\\$1")+":"+a}return t}(e))}var K=function(){function e(){}return e.prototype.get=function(e){return void 0===e&&(e={}),r(this,void 0,void 0,(function(){var t,n;return i(this,(function(r){switch(r.label){case 0:return[4,H(G,void 0,[])];case 1:return t=r.sent(),n=function(e){var t;return{components:e,get visitorId(){return void 0===t&&(t=J(this.components)),t},set visitorId(e){t=e}}}(t),e.debug&&console.log("Copy the text below to get the debug data:\n\n```\nversion: 3.0.5\nuserAgent: "+navigator.userAgent+"\ngetOptions: "+JSON.stringify(e,void 0,2)+"\nvisitorId: "+n.visitorId+"\ncomponents: "+W(t)+"\n```"),[2,n]}}))}))},e}();function z(e){var t=(void 0===e?{}:e).delayFallback,n=void 0===t?50:t;return r(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return[4,(t=n,r=2*n,void 0===r&&(r=1/0),new Promise((function(e){v.requestIdleCallback?v.requestIdleCallback((function(){return e()}),{timeout:r}):setTimeout(e,Math.min(t,r))})))];case 1:return e.sent(),[2,new K]}var t,r}))}))}var X=f,Q="3.2.3",Y=document;function Z(e,t){return new Promise((function(n){return setTimeout((function(){return n(t)}),e)}))}function $(e,t){return new Promise((function(n){var r=function(){return Y.hidden?a():o()},i=function(e,t,n){var r,i=!1,o=e,a=0,u=function(){i||void 0!==r||(a=Date.now(),r=setTimeout((function(){i=!0,n()}),o))};return t&&u(),{start:u,stop:function(){i||void 0===r||(clearTimeout(r),r=void 0,o-=Date.now()-a)}}}(e,!Y.hidden,(function(){Y.removeEventListener("visibilitychange",r),n(t)})),o=i.start,a=i.stop;Y.addEventListener("visibilitychange",r)}))}function ee(e,t){return r(this,void 0,void 0,(function(){var n;return i(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,e()];case 1:return[2,r.sent()];case 2:return n=r.sent(),console.error(n),[2,t];case 3:return[2]}}))}))}function te(e,t){for(var n="",r=0;r<e;r++)n+=t.charAt(Math.random()*t.length);return n}function ne(e){return te(e,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")}function re(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=function(e){e&&ee((function(){return e.apply(void 0,t)}))},i=0,o=e;i<o.length;i++){var a=o[i];r(a)}}}var ie=window;function oe(e,n){var r;return void 0===n&&(n=!1),t({name:e.name,message:e.message,stack:n?null===(r=e.stack)||void 0===r?void 0:r.split("\n"):e.stack},e)}function ae(){try{return ie.self!==ie.top}catch(e){return!0}}function ue(e){switch(e){case 0:return"Loading has started";case 1:return"Loading has succeeded";case 2:return"Loading has failed";case 3:return"Getting visitor identifier has started";case 4:return"Getting visitor identifier has succeeded";case 5:return"Getting visitor identifier has failed";case 6:return"TLS request has started";case 7:return"TLS request has succeeded";case 8:return"TLS request has failed";case 9:return"Getting fingerprint has started";case 10:return"Getting fingerprint has succeeded";case 11:return"Getting fingerprint has failed";case 12:return"Visitor identifier request has started";case 13:return"Visitor identifier request has succeeded";case 14:return"Visitor identifier request has failed"}}function se(e){return void 0===e&&(e="[FingerprintJS Pro] "),function(t){switch(t.e){case 2:case 5:case 8:case 11:case 14:console.error(ce(e,t));break;case 10:var n=ce(e,t),r=t.result;Object.keys(r).some((function(e){return r[e].error}))?console.warn(n):console.log(n);break;default:console.log(ce(e,t))}}}function ce(e,t){var r=t.e,i=n(t,["e"]),o=""+e+(new Date).toISOString()+": "+ue(r);return Object.keys(i).length&&(o+="\n```\n"+function(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?oe(t,!0):t}),2)}(i)+"\n```"),o}var le=navigator;function de(e){var t=e.url,n=e.method,r=void 0===n?"get":n,i=e.body,o=e.headers,a=e.withCredentials,u=void 0!==a&&a,s=e.timeout;return new Promise((function(e,n){var a=new XMLHttpRequest;for(var c in a.open(r,t,!0),a.withCredentials=u,a.timeout=void 0===s?0:Math.max(s,1),o)a.setRequestHeader(c,o[c]);a.onload=function(){return e(function(e){return{text:e.responseText,status:e.status,statusText:e.statusText}}(a))},a.ontimeout=function(){return n(fe("TimeoutError","The request timed out"))},a.onabort=function(){return n(fe("AbortError","The request is aborted"))},a.onerror=function(){return n(fe("TypeError",le.onLine?"Connection error":"Network offline"))},a.send(i)}))}function fe(e,t){var n=new Error(t);return n.name=e,n}function ve(e){var t=e.url,n=e.body;if(le.sendBeacon)return le.sendBeacon(t,n);var r=new XMLHttpRequest;r.open("POST",t,!function(){var e,t=null===(e=ie.event)||void 0===e?void 0:e.type;return"pagehide"===t||"unload"===t}()),n instanceof Blob&&r.setRequestHeader("Content-Type",n.type);try{r.send(n)}catch(i){return!1}return!0}var he=document,ge=navigator;function pe(e,t,n,o,a){return r(this,void 0,void 0,(function(){var r,u,s;return i(this,(function(i){switch(i.label){case 0:(u=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];e&&ee((function(){var r=t.apply(void 0,n);r&&e(r)}))})(t),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,a()];case 2:return r=i.sent(),[3,4];case 3:throw s=i.sent(),u(o,s),s;case 4:return u(n,r),[2,r]}}))}))}function me(){var e=window,t=e.__fpjs_pvid;return e.__fpjs_pvid="string"==typeof t?t:ne(10)}var be=window,ye=navigator,we=document,Ee=performance;var Re=function(){function e(e){var t=this;this.onReportReady=e,this.isStopped=!1,this.pageStartTimestamp=function(){var e,t;if(Ee.timeOrigin){var n=null===(t=null===(e=Ee.getEntriesByType)||void 0===e?void 0:e.call(Ee,"navigation"))||void 0===t?void 0:t[0];if(n)return Ee.timeOrigin+(n.responseStart||n.unloadEventEnd)}return Ee.timing.domLoading||Ee.timing.responseStart||Ee.timing.unloadEventEnd}(),this.events={},this.addEvent=function(e){if(!t.isStopped){var n={time:new Date,type:"agentEvent",event:e};switch(0!==e.e&&3!==e.e||(n.documentReadyState=we.readyState,n.isPageVisible=ke(),n.isFullscreen=Te(),n.network=Oe()),t.storeAgentEvent(n),e.e){case 2:t.submitReport(e.agentId,void 0);break;case 4:case 5:t.submitReport(e.agentId,e.getCallId)}}};for(var n=[[we,"readystatechange",function(){return t.handleDocumentReadyStateChange()}],[we,"visibilitychange",function(){return t.handleVisibilityChange()}],[we,"pageshow",function(){return t.handlePageTransition(!0)}],[we,"pagehide",function(){return t.handlePageTransition(!1)}],[be,"unload",function(){return t.handlePageUnload()}]],r=0,i=n;r<i.length;r++){var o=i[r],a=o[0],u=o[1],s=o[2];a.addEventListener(u,s)}var c=function(e,t){for(var n=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],r=0,i=n;r<i.length;r++){var o=i[r];he.addEventListener(o,e,t)}return function(){for(var r=0,i=n;r<i.length;r++){var o=i[r];he.removeEventListener(o,e,t)}}}((function(){return t.handleFullscreenChange()})),l=function(e){var t=ge.connection;if(!t)return addEventListener("online",e),addEventListener("offline",e),function(){removeEventListener("online",e),removeEventListener("offline",e)};var n=!1,r=t.onchange,i=function(t){try{n||e()}finally{null==r||r(t)}};return t.onchange=i,function(){n=!0,t.onchange===i&&(t.onchange=r)}}((function(){return t.handleNetworkConnectionChange()}));this.stop=function(){t.isStopped=!0;for(var e=0,r=n;e<r.length;e++){var i=r[e],o=i[0],a=i[1],u=i[2];o.removeEventListener(a,u)}c(),l()}}return e.prototype.handleDocumentReadyStateChange=function(){this.storeEnvironmentEvent({time:new Date,type:"documentReadyState",state:we.readyState})},e.prototype.handleVisibilityChange=function(){this.storeEnvironmentEvent({time:new Date,type:"pageVisibilityToggle",isVisible:ke()})},e.prototype.handlePageTransition=function(e){this.storeEnvironmentEvent({time:new Date,type:"pageTransition",isShown:e})},e.prototype.handleFullscreenChange=function(){this.storeEnvironmentEvent({time:new Date,type:"fullscreenToggle",isFullscreen:Te()})},e.prototype.handleNetworkConnectionChange=function(){this.storeEnvironmentEvent({time:new Date,type:"networkChange",network:Oe()})},e.prototype.handlePageUnload=function(){this.storeEnvironmentEvent({time:new Date,type:"pageUnload"});for(var e=0,t=Object.keys(this.events);e<t.length;e++){var n=t[e],r=this.events[n];if(0===Object.keys(r.getCalls).length)this.submitReport(n,void 0);else for(var i=0,o=Object.keys(r.getCalls);i<o.length;i++){var a=o[i];Se(r.getCalls[a])||this.submitReport(n,a)}}this.stop()},e.prototype.storeAgentEvent=function(e){var t=e.event,n=t.agentId;switch(this.events[n]||(this.events[n]={loadEvents:[],getCalls:{}}),t.e){case 0:case 1:case 2:this.events[n].loadEvents.push(e);break;default:var r=t.getCallId;this.events[n].getCalls[r]||(this.events[n].getCalls[r]=[]),this.events[n].getCalls[r].push(e)}},e.prototype.storeEnvironmentEvent=function(e){for(var t=0,n=Object.keys(this.events);t<n.length;t++){var r=n[t],i=this.events[r];i.loadEvents.some((function(e){return"agentEvent"===e.type&&(1===e.event.e||2===e.event.e)}))||i.loadEvents.push(e);for(var o=0,a=Object.keys(i.getCalls);o<a.length;o++){var u=a[o],s=i.getCalls[u];Se(s)||s.push(e)}}},e.prototype.submitReport=function(e,t){var n=function(e,t){for(var n,r,i,o,a,u,s,c,l,d,f,v,h,g=function(e){for(var t={},n={},r=0,i=e;r<i.length;r++){var o=i[r];"agentEvent"===o.type?t[o.event.e]=o:n[o.type]=o}return{agentEvents:t,otherEvents:n}}(e),p=g.agentEvents,m=g.otherEvents,b=null!==(r=null===(n=m.pageUnload)||void 0===n?void 0:n.time)&&void 0!==r?r:new Date,y="null",w=0,E=[[4,"getSuccess"],[5,"getFail"],[3,"getting"],[1,"loadSuccess"],[2,"loadFail"],[0,"loading"]];w<E.length;w++){var R=E[w],S=R[0],I=R[1];if(p[S]){y=I;break}}return{time:null!==(c=null!==(u=null!==(o=null===(i=p[4])||void 0===i?void 0:i.time)&&void 0!==o?o:null===(a=p[5])||void 0===a?void 0:a.time)&&void 0!==u?u:null===(s=p[2])||void 0===s?void 0:s.time)&&void 0!==c?c:b,pageUrl:location.href,pageStartTime:new Date(t),isInIframe:ae(),agentVersion:null===(l=p[0])||void 0===l?void 0:l.event.version,userAgent:navigator.userAgent,pageViewId:me(),agentId:null===(d=p[0])||void 0===d?void 0:d.event.agentId,getCallId:null===(f=p[3])||void 0===f?void 0:f.event.getCallId,requestId:null===(v=p[12])||void 0===v?void 0:v.event.requestId,visitorId:null===(h=p[4])||void 0===h?void 0:h.event.visitorId,identificationState:y,load:Ie(b,p[0],p[1],p[2]),get:Ie(b,p[3],p[4],p[5]),tls:Ie(b,p[6],p[7],p[8],(function(e){return{responseStatus:e.event.status}})),fingerprint:Ie(b,p[9],p[10],p[11],(function(e){return{failedComponents:Ce(e.event.result)}})),visitorIdRequest:Ie(b,p[12],p[13],p[14],(function(e){return{responseStatus:e.event.status}})),events:e}}(function(e,t,n){var r,i=[];e[t]&&(i.push.apply(i,e[t].loadEvents),void 0!==n&&i.push.apply(i,null!==(r=e[t].getCalls[n])&&void 0!==r?r:[]));return i}(this.events,e,t),this.pageStartTimestamp);try{this.onReportReady(n)}catch(r){console.error(r)}},e}();function Se(e){return e.some((function(e){return"agentEvent"===e.type&&(4===e.event.e||5===e.event.e)}))}function Ie(e,n,r,i,o){if(void 0!==n)return void 0!==r?t(t({},null==o?void 0:o(r)),{duration:r.time.getTime()-n.time.getTime(),state:"success"}):void 0!==i?{duration:i.time.getTime()-n.time.getTime(),state:"fail",error:i.event.error}:{duration:e.getTime()-n.time.getTime(),state:"incomplete"}}function Ce(e){return Object.keys(e).filter((function(t){return e[t].error}))}function ke(){return!we.hidden}function Te(){return!!(he.fullscreenElement||he.msFullscreenElement||he.mozFullScreenElement||he.webkitFullscreenElement)}function Oe(){var e,t,n,r,i,o;return{online:navigator.onLine,downlink:null===(e=ye.connection)||void 0===e?void 0:e.downlink,downlinkMax:null===(t=ye.connection)||void 0===t?void 0:t.downlinkMax,effectiveType:null===(n=ye.connection)||void 0===n?void 0:n.effectiveType,roundTrip:null===(r=ye.connection)||void 0===r?void 0:r.rtt,saveData:null===(i=ye.connection)||void 0===i?void 0:i.saveData,type:null===(o=ye.connection)||void 0===o?void 0:o.type}}function _e(e,t,n){var r;void 0===n&&(n=[8,4,4,4,12].map((function(e){return te(e,"0123456789abcdef")})).join("-"));var i=Ae[e.identificationState],a=i.level,u=i.message;return{environment:t,level:a,timestamp:Math.round(e.time.getTime()/1e3),platform:"browser",framework:"FingerprintJS Pro",language:"javascript",uuid:n,notifier:{name:"FingerprintJS Pro monitoring",version:Q},request:{url:e.pageUrl,query_string:(null!==(r=/\?.*$/.exec(e.pageUrl))&&void 0!==r?r:[""])[0],user_ip:"$remote_ip"},client:{javascript:{browser:e.userAgent,code_version:e.agentVersion}},person:void 0===e.visitorId?void 0:{id:"visitorId:"+e.visitorId},body:{telemetry:o([{level:"debug",source:"client",timestamp_ms:e.pageStartTime.getTime(),type:"manual",body:{message:"Page starts"}}],e.events.map(xe)),message:{body:u}},custom:{isInIframe:e.isInIframe,pageViewId:e.pageViewId,agentId:e.agentId,getCallId:e.getCallId,requestId:e.requestId,visitorId:e.visitorId,identificationState:e.identificationState,load:e.load,get:e.get,tls:e.tls,fingerprint:Pe(e.fingerprint),visitorIdRequest:e.visitorIdRequest}}}var Ae={null:{level:"info",message:"Load() wasn't called"},loading:{level:"warning",message:"Load() incomplete"},loadSuccess:{level:"info",message:"Load() succeeded, get() wasn't called"},loadFail:{level:"error",message:"Load() failed"},getting:{level:"warning",message:"Get() incomplete"},getSuccess:{level:"info",message:"Get() succeeded"},getFail:{level:"error",message:"Get() failed"}};function xe(e){var n={type:"manual",level:"debug",source:"client",timestamp_ms:e.time.getTime()};switch(e.type){case"documentReadyState":return t(t({},n),{body:{message:'Document ready state becomes "'+e.state+'"'}});case"pageVisibilityToggle":return t(t({},n),{body:{message:"Page becomes "+(e.isVisible?"visible (in foreground)":"invisible (in background)")}});case"pageTransition":return t(t({},n),{body:{message:e.isShown?"Page is restored from browser history":"Page is about to go to browser history"}});case"fullscreenToggle":return t(t({},n),{body:{message:"Programmatic fullscreen "+(e.isFullscreen?"on":"off")}});case"networkChange":return t(t({},n),{body:t(t({},e.network),{message:"Network connection changes"})});case"pageUnload":return t(t({},n),{body:{message:"Page is about to unload (terminate)"}})}for(var r=e.event,i=t(t({},n),{level:"info",body:{message:ue(r.e)}}),o=0,a=["documentReadyState","isPageVisible","isFullscreen","network"];o<a.length;o++){var u=a[o];void 0!==e[u]&&(i.body[u]=e[u])}switch(r.e){case 0:case 3:return t(t({},i),{body:t(t({},i.body),{options:r.options})});case 1:case 9:return i;case 2:case 5:case 8:case 11:case 14:return t(t({},i),{level:"error",body:t(t({},i.body),{error:r.error})});case 4:case 10:return t(t({},i),{body:t(t({},i.body),{result:r.result})});case 6:return t(t({},i),{body:t(t({},i.body),{endpoint:r.endpoint,timeout:r.timeout})});case 7:case 13:return t(t({},i),{body:t(t({},i.body),{status:r.status,body:r.body.slice(0,4096)})});case 12:return t(t({},i),{body:t(t({},i.body),{endpoint:r.endpoint,request:r.request})})}}function Pe(e){return e&&"incomplete"!==e.state&&"fail"!==e.state?t(t({},e),{failedComponents:e.failedComponents.length?","+e.failedComponents.join(",")+",":void 0}):e}function De(e,t){return r(this,void 0,void 0,(function(){var n,r;return i(this,(function(i){switch(i.label){case 0:n=JSON.stringify(t,(function(e,t){return t instanceof Error?oe(t):t})),r=0,i.label=1;case 1:return navigator.onLine&&ve({url:e,body:n})?[3,5]:[3,2];case 2:return[4,Z(1e3*Math.min(r+1,10))];case 3:i.sent(),i.label=4;case 4:return++r,[3,1];case 5:return[2]}}))}))}var Me={us:"https://api.sjpf.io",eu:"https://tls-eun1.fpapi.io"};function Le(e,o,a){var u=a.output,s=n(a,["output"]);return r(this,void 0,void 0,(function(){var n;return i(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,pe(u,(function(){return t(t({e:6},s),{endpoint:e,timeout:o})}),(function(e){var n=e.status,r=e.text;return t(t({e:7},s),{status:n,body:r})}),(function(e){return t(t({e:8},s),{error:e})}),(function(){return de({url:e,timeout:o})}))];case 1:return n=r.sent(),[3,3];case 2:switch(r.sent().name){case"AbortError":throw new Error("Abort");case"TimeoutError":throw new Error("Timeout");default:throw new Error("Connection error")}case 3:if(200===n.status)return[2,n.text];throw new Error(n.text.slice(0,255))}}))}))}var Ne="Client timeout",Fe="Network connection error",qe="Network request aborted",je="n/a";function Be(e,t){if(t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function Ue(e,o){var a=e.endpoint,u=e.extendedResult,s=n(e,["endpoint","extendedResult"]);return r(this,void 0,void 0,(function(){var e,n;return i(this,(function(r){switch(r.label){case 0:return e=ne(20),n=function(e){var n,r=e.components,i=e.token,o=e.visitorId,a=e.tag,u=e.ipResolution,s=e.extendedResult,c=e.linkedId,l=e.tls,d=e.tlsError,f=e.requestId,v=Object.keys(r).reduce((function(e,t){return e+r[t].duration}),0),h="full"===u?2:1;return(n={}).rid=f,n.cv=Q,n.c=i,n.url=location.href,n.d=v,n.vid=o[0]||o[1]||void 0,n.ls=o[1]?1:void 0,n.t=function(e){if(e&&"object"==typeof e)return e;if(null==e)return;return{tag:e}}(a),n.i=h,n.cbd=s?1:void 0,n.lid=c,n.cr=document.referrer||void 0,n.j=l,n.je=null==d?void 0:d.message,n.k1=He(r.osCpu),n.k2=He(r.languages),n.k3=He(r.colorDepth),n.k4=He(r.deviceMemory),n.k5=He(r.screenResolution),n.k6=He(r.availableScreenResolution,void 0,[]),n.k7=He(r.hardwareConcurrency),n.k8=He(r.timezoneOffset),n.k9=He(r.timezone),n.k10=We(He(r.sessionStorage)),n.k11=We(He(r.localStorage)),n.k12=We(He(r.indexedDB)),n.k13=We(He(r.openDatabase)),n.k14=He(r.cpuClass),n.k15=He(r.platform),n.k16=He(r.plugins,[]),n.k17=function(e){var n=e.value;if(!n)return;return t(t({},n),{data:X(n.data)})}(r.canvas),n.k18=0,n.k19=He(r.touchSupport),n.k20=He(r.fonts,[]),n.k21=He(r.audio,-4),n.k22=We(He(r.pluginsSupport)),n.k23=He(r.productSub),n.k24=He(r.emptyEvalLength),n.k25=We(He(r.errorFF)),n.k26=We(He(r[0])),n.k27=He(r.vendor),n.k28=We(He(r.chrome)),n.k29=We(He(r[1])),n.k30=We(He(r[2])),n.k31=We(He(r[3],!1)),n.k32=We(He(r.cookiesEnabled,!1)),n.k33=We(He(r[4])),n.k34=He(r[5],-5),n}(t({extendedResult:u,requestId:e},s)),[4,Ve(a,n,o)];case 1:return[2,Ge(r.sent(),e,u)]}}))}))}function Ve(e,o,a){var u=a.output,s=n(a,["output"]);return r(this,void 0,void 0,(function(){var n;return i(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,pe(u,(function(){return t(t({e:12},s),{requestId:o.rid,endpoint:e,request:o})}),(function(e){var n=e.status,r=e.text;return t(t({e:13},s),{status:n,body:r})}),(function(e){return t(t({e:14},s),{error:e})}),(function(){return de({url:e,method:"post",body:JSON.stringify(o),headers:{"Content-Type":"text/plain"},withCredentials:!0})}))];case 1:return[2,r.sent()];case 2:throw n=r.sent(),new Error("AbortError"===n.name?qe:Fe);case 3:return[2]}}))}))}function Ge(e,t,n){return r(this,void 0,void 0,(function(){var r;return i(this,(function(i){if(404===e.status||e.status>=500)throw new Error(e.statusText);try{r=JSON.parse(e.text)}catch(o){throw new Error(e.text)}if(function(e){return e&&"object"==typeof e&&"string"==typeof e.visitorId&&e.visitorId!==je}(r))return[2,Je(r)];if(function(e){return e&&"object"==typeof e&&e.visitorId===je}(r)){if("Not available for crawl bots"===r.reason||"Not available when User-Agent is unspecified"===r.reason)return[2,Ke(r.reason,t,n)];throw new Error(r.reason)}throw new Error(e.text)}))}))}function He(e,t,n){return e.error?t:void 0===e.value?n:e.value}function We(e){return!0===e?1:!1===e?0:e}function Je(e){var r=e,i=r.botProbability,o=n(r,["botProbability"]),a=t({},o);return i&&(a.bot={probability:i}),a}function Ke(e,n,r){var i={requestId:n,visitorFound:!1,visitorId:""};if(!r)return i;var o=t(t({},i),{bot:{probability:1},incognito:!1,browserName:je,browserVersion:je,device:je,ip:je,ipLocation:{},os:je,osVersion:je});return"Not available for crawl bots"===e&&(o.bot.safe=!0),o}var ze=window,Xe=document;var Qe=window;var Ye=navigator,Ze=window;function $e(){var e,t,n,r=(null===(e=Ye.userAgent)||void 0===e?void 0:e.indexOf("Mac OS"))>0&&-1===(null===(t=Ye.userAgent)||void 0===t?void 0:t.indexOf("iPhone")),i=(null===(n=Ye.userAgent)||void 0===n?void 0:n.indexOf("CrOS"))>0;return r||i?3221225472:1073741824}function et(){return r(this,void 0,void 0,(function(){var e;return i(this,(function(t){switch(t.label){case 0:return"storage"in Ye&&"estimate"in Ye.storage?[4,Ye.storage.estimate()]:[3,2];case 1:return[2,!!(e=t.sent().quota)&&e<$e()];case 2:return[2,!1]}}))}))}var tt=window;function nt(){return r(this,void 0,void 0,(function(){return i(this,(function(e){return I()?[2,rt()]:[2,it()]}))}))}function rt(){if(!tt.safari)return!1;try{tt.safari.pushNotification.requestPermission("https://example.com","private",{},(function(){}))}catch(t){return e=t,!new RegExp([103,101,115,116,117,114,101].map((function(e){return String.fromCharCode(e)})).join("")).test(e)}var e;throw new Error("Unexpected lack of error")}function it(){return r(this,void 0,void 0,(function(){var e;return i(this,(function(t){switch(t.label){case 0:(e=document.createElement("iframe")).style.display="none",t.label=1;case 1:return t.trys.push([1,,3,4]),document.body.appendChild(e),[4,Promise.race([Z(20,!1),new Promise((function(t){e.contentWindow?e.contentWindow.applicationCache.addEventListener("error",(function(){return t(!0)})):t(!1)}))])];case 2:return[2,t.sent()];case 3:return e.remove(),[7];case 4:return[2]}}))}))}function ot(){try{tt.openDatabase(null,null,null,null)}catch(e){return!0}try{return tt.localStorage.setItem("test","1"),tt.localStorage.removeItem("test"),!1}catch(e){return!0}}var at="_inc",ut=[[function(){return R()},function(){return r(this,void 0,void 0,(function(){return i(this,(function(e){return function(){var e=Ye.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(!e)throw"UserAgent is not Google Chrome";return parseInt(e[2],10)}()>=76?[2,et()]:[2,new Promise((function(e){Ze.webkitRequestFileSystem(0,1,(function(){return e(!1)}),(function(){return e(!0)}))}))]}))}))}],[function(){return S()},function(){return r(this,void 0,void 0,(function(){return i(this,(function(e){return function(){var e=navigator.userAgent.match(/Version\/([0-9._]+).*Safari/);if(!e)throw new Error("UserAgent is not Safari");var t=e[1].split(".").map((function(e){return isNaN(parseInt(e))?0:parseInt(e)})),n=t[0],r=t[1],i=t[2];return{major:n,minor:r,patch:i}}().major<13?[2,ot()]:[2,nt()]}))}))}],[function(){return function(){var e;return p(["buildID"in b,(null===(e=y.documentElement)||void 0===e?void 0:e.style)&&"MozAppearance"in y.documentElement.style,"MediaRecorderErrorEvent"in m,"mozInnerScreenX"in m,"CSSMozDocumentRule"in m,"CanvasCaptureMediaStream"in m])>=4}()},function(){return new Promise((function(e){try{var t=Qe.indexedDB.open("test");t.onerror=function(){return e(!0)},t.onsuccess=function(){return e(!1)}}catch(n){return e(!0)}}))}],[function(){return w()||E()},function(){try{if(!window.indexedDB)return!0}catch(e){return!0}return!1}]];function st(){return r(this,void 0,void 0,(function(){var e,t,n,r,o;return i(this,(function(i){switch(i.label){case 0:e=0,t=ut,i.label=1;case 1:return e<t.length?(n=t[e],r=n[0],o=n[1],r()?[4,o()]:[3,3]):[3,4];case 2:return[2,i.sent()];case 3:return e++,[3,1];case 4:return[2,!1]}}))}))}function ct(e,t){if(0==t.length||t.length>e.length)return-1;for(var n=0;n<e.length;n++){for(var r=0,i=0;i<t.length;i++){if(e[n+i]!==t[i]){r=0;break}r++}if(r==t.length)return n}return-1}var lt=window,dt=document;var ft,vt=window;var ht=((ft={})[0]=function(){return void 0!==navigator.webdriver},ft[1]=function(){return r(this,void 0,void 0,(function(){var e,t;return i(this,(function(n){switch(n.label){case 0:return(e=navigator.permissions)?[4,e.query({name:"notifications"})]:[2,void 0];case 1:return t=n.sent(),"undefined"==typeof Notification?[2,void 0]:[2,"denied"===Notification.permission&&"prompt"===t.state]}}))}))},ft[2]=function(){var e=Xe.documentElement;return"webdriver"in ze||"_Selenium_IDE_Recorder"in ze||"callSelenium"in ze||"_selenium"in ze||"__webdriver_script_fn"in Xe||"__driver_evaluate"in Xe||"__webdriver_evaluate"in Xe||"__selenium_evaluate"in Xe||"__fxdriver_evaluate"in Xe||"__driver_unwrapped"in Xe||"__webdriver_unwrapped"in Xe||"__selenium_unwrapped"in Xe||"__fxdriver_unwrapped"in Xe||"__webdriver_script_func"in Xe||null!==e.getAttribute("selenium")||null!==e.getAttribute("webdriver")||null!==e.getAttribute("driver")},ft[3]=function(){return r(this,void 0,void 0,(function(){var e,t;return i(this,(function(n){switch(n.label){case 0:if(void 0!==(e=function(){try{var e=localStorage.getItem(at);if(!e)return;return"1"===e}catch(t){return}}()))return[2,e];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,st()];case 2:return function(e){try{localStorage.setItem(at,e?"1":"0")}catch(t){}}(t=n.sent()),[2,t];case 3:return n.sent(),[2,!1];case 4:return[2]}}))}))},ft[4]=function(){if(!R())return!1;try{if([66,114,97,118,101].map((function(e){return String.fromCharCode(e)})).join("")in lt)return!0;var e=dt.createElement("canvas");e.width=4,e.height=4,e.style.display="inline";var t=e.toDataURL();if(""===t)return!0;for(var n=window.atob(t.split(",")[1]),r=n.length,i=new Uint8Array(r),o=0;o<r;o++)i[o]=n.charCodeAt(o);var a=ct(i,[73,68,65,84,24]);if(-1===a)return!1;var u=ct(i,[73,69,78,68]);return-1!==a&&1321!==i.slice(a+5,u).reduce((function(e,t){return e+t}),0)}catch(s){return!1}},ft[5]=function(){return r(this,void 0,void 0,(function(){var e,t;return i(this,(function(n){switch(n.label){case 0:if(!R()&&!S())return[2,-2];if(!(e=vt.RTCPeerConnection||vt.webkitRTCPeerConnection))return[2,-3];t=new e({iceServers:[]}),n.label=1;case 1:return n.trys.push([1,,3,4]),[4,new Promise((function(e,n){var r=function(){return e(-1)};t.onicecandidate=function(t){var n=t.candidate;if(!(null==n?void 0:n.candidate))return r();var i=function(e){var t=/candidate:(\d+)\b/i.exec(e);return t?+t[1]:void 0}(n.candidate);void 0!==i&&e(i)},t.onicegatheringstatechange=function(){"complete"===t.iceGatheringState&&r()},t.onicecandidateerror=n,t.createDataChannel("test"),function(e,t){try{return e.createOffer(t)}catch(n){if(/\bcreateOffer\b.*(\bcallback\b.*\bnot a function\b|\barguments required\b.*\bpresent\b)/i.test(n.message))return new Promise((function(n,r){e.createOffer(n,r,t)}));throw n}}(t).then((function(e){return t.setLocalDescription(e)}),n),setTimeout((function(){return e(-4)}),500)}))];case 2:return[2,n.sent()];case 3:return t.close(),[7];case 4:return[2]}}))}))},ft);function gt(){return H(ht,void 0,[])}var pt=document,mt=location;function bt(e){for(var t=e+"=",n=0,r=pt.cookie.split(";");n<r.length;n++){for(var i=r[n],o=0;" "===i[o]&&o<i.length;)++o;if(i.indexOf(t)===o)return i.slice(o+t.length)}}function yt(e,t,n,r){var i=e+"="+t,o="expires="+new Date(Date.now()+24*n*60*60*1e3).toUTCString(),a=r?"domain="+r:"";pt.cookie=[i,"path=/",o,a,"SameSite=Lax"].join("; ")}function wt(e,t,n){var r=mt.hostname;Et(r,(function(t){!function(e,t){yt(e,"",-1,t)}(e,t)})),Et(r,(function(r){return yt(e,t,n,r),bt(e)!==t}))&&yt(e,t,n)}function Et(e,t){var n=e.length;do{if(n=n>0?e.lastIndexOf(".",n-1):-1,!1===t(e.slice(n+1)))return!1}while(n>=0);return!0}var Rt="_vid";function St(e){return void 0===e&&(e=Rt),[bt(e),Ct(e)]}function It(e,t){void 0===t&&(t=Rt),wt(t,e,365),function(e,t){var n;try{null===(n=null===localStorage||void 0===localStorage?void 0:localStorage.setItem)||void 0===n||n.call(localStorage,e,t)}catch(r){}}(t,e)}function Ct(e){var t,n;try{return null!==(n=null===(t=null===localStorage||void 0===localStorage?void 0:localStorage.getItem)||void 0===t?void 0:t.call(localStorage,e))&&void 0!==n?n:void 0}catch(r){}}function kt(e,n,o){var a=this,u=o.token,s=o.region,c=void 0===s?"us":s,l=o.endpoint,d=o.tlsEndpoint,f=o.storageKey,v=o.debug;var h=function(n,o,s,v,h,m,b){return r(a,void 0,void 0,(function(){var r,a,y,w;return i(this,(function(i){switch(i.label){case 0:return[4,Promise.all([g(c,d,v,!!s,b),p(b)])];case 1:return r=i.sent(),a=r[0],y=r[1],[4,Ue(t(t({},a),{token:u,endpoint:Be(c,l),components:y,tag:n,visitorId:St(f),linkedId:o,extendedResult:h,ipResolution:m}),t(t({},b),{agentId:e}))];case 2:return It((w=i.sent()).visitorId,f),[2,w]}}))}))},g=function(n,o,u,s,c){return r(a,void 0,void 0,(function(){return i(this,(function(r){return s?[2,void 0]:[2,Le(function(e,t){return t||Me[e]}(n,o),u,t(t({},c),{agentId:e})).then((function(e){return{tls:e}}),(function(e){return{tlsError:e}}))]}))}))},p=function(o){var u=o.output,s=o.getCallId;return pe(u,(function(){return{e:9,agentId:e,getCallId:s}}),(function(t){return{e:10,agentId:e,getCallId:s,result:t}}),(function(t){return{e:11,agentId:e,getCallId:s,error:t}}),(function(){return r(a,void 0,void 0,(function(){var e,r;return i(this,(function(i){switch(i.label){case 0:return[4,n.get()];case 1:return e=i.sent(),[4,gt()];case 2:return r=i.sent(),[2,t(t({},e.components),r)]}}))}))}))};return{get:function(t){void 0===t&&(t={});var n=ne(8),r=re([v,t.debug&&se()]);return pe(r,(function(){return{e:3,agentId:e,getCallId:n,options:t}}),(function(t){return{e:4,agentId:e,getCallId:n,visitorId:t.visitorId,result:t}}),(function(t){return{e:5,agentId:e,getCallId:n,error:t}}),(function(){var e=t.timeout,i=void 0===e?1e4:e,o=t.tag,a=t.linkedId,u=t.disableTls,s=t.extendedResult,c=t.ipResolution;return Promise.race([$(i).then((function(){throw new Error(Ne)})),h(o,a,u,i/2,s,c,{output:r,getCallId:n})])}))}}}function Tt(e){var t=this,n=ne(8);return pe(e.debug,(function(){return{e:0,agentId:n,version:Q,options:e}}),(function(){return{e:1,agentId:n}}),(function(e){return{e:2,agentId:n,error:e}}),(function(){return r(t,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:if(!e.token||"string"!=typeof e.token)throw new Error("Token required");return[4,z({delayFallback:e.delayFallback})];case 1:return t=r.sent(),[2,kt(n,t,e)]}}))}))}))}var Ot="Token required",_t="Token not found",At="Token expired",xt="Request cannot be parsed",Pt="Request failed",Dt="Request failed to process",Mt="Too many requests, rate limit exceeded",Lt="Not available for this origin",Nt="Not available with restricted header",Ft={load:Tt,ERROR_CLIENT_TIMEOUT:Ne,ERROR_NETWORK_CONNECTION:Fe,ERROR_NETWORK_ABORT:qe,ERROR_TOKEN_MISSING:Ot,ERROR_TOKEN_INVALID:_t,ERROR_TOKEN_EXPIRED:At,ERROR_BAD_REQUEST_FORMAT:xt,ERROR_GENERAL_SERVER_FAILURE:Pt,ERROR_SERVER_TIMEOUT:Dt,ERROR_RATE_LIMIT:Mt,ERROR_FORBIDDEN_ORIGIN:Lt,ERROR_FORBIDDEN_HEADER:Nt};return e.ERROR_BAD_REQUEST_FORMAT=xt,e.ERROR_CLIENT_TIMEOUT=Ne,e.ERROR_FORBIDDEN_HEADER=Nt,e.ERROR_FORBIDDEN_ORIGIN=Lt,e.ERROR_GENERAL_SERVER_FAILURE=Pt,e.ERROR_NETWORK_ABORT=qe,e.ERROR_NETWORK_CONNECTION=Fe,e.ERROR_RATE_LIMIT=Mt,e.ERROR_SERVER_TIMEOUT=Dt,e.ERROR_TOKEN_EXPIRED=At,e.ERROR_TOKEN_INVALID=_t,e.ERROR_TOKEN_MISSING=Ot,e.default=Ft,e.load=Tt,e.makeConsoleDebugger=se,e.makeDebugReportBuilder=function(e){return new Re(e).addEvent},e.makeMulticastDebugger=re,e.makeRemoteDebugger=function(e){var t=this,n=e.clientId,o=e.token,a=e.endpoint,u=void 0===a?"https://api.rollbar.com/api/1/item/":a;return new Re((function(e){return r(t,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:return t=function(e,t,n,r){return{access_token:n,data:_e(e,t,r)}}(e,n,o),[4,De(u,t)];case 1:return r.sent(),[2]}}))}))})).addEvent},e}({}); | ||
var FingerprintJS=function(e){"use strict";var t=function(){return(t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function n(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function r(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{s(r.next(e))}catch(t){o(t)}}function u(e){try{s(r.throw(e))}catch(t){o(t)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}function i(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(u){o=[6,u],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}}function o(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,u=o.length;a<u;a++,i++)r[i]=o[a];return r}function a(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function u(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function s(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])}function c(e,t){return 0===(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]}function l(e,t){return[e[0]^t[0],e[1]^t[1]]}function d(e){return e=l(e,[0,e[0]>>>1]),e=l(e=u(e,[4283543511,3981806797]),[0,e[0]>>>1]),e=l(e=u(e,[3301882366,444984403]),[0,e[0]>>>1])}function f(e,t){t=t||0;var n,r=(e=e||"").length%16,i=e.length-r,o=[0,t],f=[0,t],v=[0,0],h=[0,0],g=[2277735313,289559509],p=[1291169091,658871167];for(n=0;n<i;n+=16)v=[255&e.charCodeAt(n+4)|(255&e.charCodeAt(n+5))<<8|(255&e.charCodeAt(n+6))<<16|(255&e.charCodeAt(n+7))<<24,255&e.charCodeAt(n)|(255&e.charCodeAt(n+1))<<8|(255&e.charCodeAt(n+2))<<16|(255&e.charCodeAt(n+3))<<24],h=[255&e.charCodeAt(n+12)|(255&e.charCodeAt(n+13))<<8|(255&e.charCodeAt(n+14))<<16|(255&e.charCodeAt(n+15))<<24,255&e.charCodeAt(n+8)|(255&e.charCodeAt(n+9))<<8|(255&e.charCodeAt(n+10))<<16|(255&e.charCodeAt(n+11))<<24],v=s(v=u(v,g),31),o=a(o=s(o=l(o,v=u(v,p)),27),f),o=a(u(o,[0,5]),[0,1390208809]),h=s(h=u(h,p),33),f=a(f=s(f=l(f,h=u(h,g)),31),o),f=a(u(f,[0,5]),[0,944331445]);switch(v=[0,0],h=[0,0],r){case 15:h=l(h,c([0,e.charCodeAt(n+14)],48));case 14:h=l(h,c([0,e.charCodeAt(n+13)],40));case 13:h=l(h,c([0,e.charCodeAt(n+12)],32));case 12:h=l(h,c([0,e.charCodeAt(n+11)],24));case 11:h=l(h,c([0,e.charCodeAt(n+10)],16));case 10:h=l(h,c([0,e.charCodeAt(n+9)],8));case 9:h=u(h=l(h,[0,e.charCodeAt(n+8)]),p),f=l(f,h=u(h=s(h,33),g));case 8:v=l(v,c([0,e.charCodeAt(n+7)],56));case 7:v=l(v,c([0,e.charCodeAt(n+6)],48));case 6:v=l(v,c([0,e.charCodeAt(n+5)],40));case 5:v=l(v,c([0,e.charCodeAt(n+4)],32));case 4:v=l(v,c([0,e.charCodeAt(n+3)],24));case 3:v=l(v,c([0,e.charCodeAt(n+2)],16));case 2:v=l(v,c([0,e.charCodeAt(n+1)],8));case 1:v=u(v=l(v,[0,e.charCodeAt(n)]),g),o=l(o,v=u(v=s(v,31),p))}return o=a(o=l(o,[0,e.length]),f=l(f,[0,e.length])),f=a(f,o),o=a(o=d(o),f=d(f)),f=a(f,o),("00000000"+(o[0]>>>0).toString(16)).slice(-8)+("00000000"+(o[1]>>>0).toString(16)).slice(-8)+("00000000"+(f[0]>>>0).toString(16)).slice(-8)+("00000000"+(f[1]>>>0).toString(16)).slice(-8)}function v(e){return parseInt(e)}function h(e){return parseFloat(e)}function g(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}function p(){var e=window,t=navigator;return g(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function m(){var e=window,t=navigator;return g(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!p()}function b(){var e=window,t=navigator;return g(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,0===t.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function w(){var e=window,t=navigator;return g(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,0===t.vendor.indexOf("Apple"),"getStorageUpdates"in t,"WebKitMediaKeys"in e])>=4}function y(){var e=window;return g(["safari"in e,!("DeviceMotionEvent"in e),!("ongestureend"in e),!("standalone"in navigator)])>=3}function E(e,t,n){(function(e){return e&&"function"==typeof e.setValueAtTime})(t)&&t.setValueAtTime(n,e.currentTime)}function R(e){return new Promise((function(t,n){e.oncomplete=function(e){return t(e.renderedBuffer)};var r=3,i=function(){switch(e.startRendering(),e.state){case"running":setTimeout((function(){return n(k("timeout"))}),1e3);break;case"suspended":document.hidden||r--,r>0?setTimeout(i,500):n(k("suspended"))}};i()}))}function S(e){for(var t=0,n=4500;n<5e3;++n)t+=Math.abs(e[n]);return t}function k(e){var t=new Error(e);return t.name=e,t}var I=["monospace","sans-serif","serif"],C=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"],T={fontStyle:"normal",fontWeight:"normal",letterSpacing:"normal",lineBreak:"auto",lineHeight:"normal",textTransform:"none",textAlign:"left",textDecoration:"none",textShadow:"none",whiteSpace:"normal",wordBreak:"normal",wordSpacing:"normal",position:"absolute",left:"-9999px",fontSize:"48px"};function O(e){return e.toDataURL()}var _={osCpu:function(){return navigator.oscpu},languages:function(){var e,t=navigator,n=[],r=t.language||t.userLanguage||t.browserLanguage||t.systemLanguage;if(void 0!==r&&n.push([r]),Array.isArray(t.languages))b()&&g([!("MediaSettingsRange"in(e=window)),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3||n.push(t.languages);else if("string"==typeof t.languages){var i=t.languages;i&&n.push(i.split(","))}return n},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return e=h(navigator.deviceMemory),t=void 0,"number"==typeof e&&isNaN(e)?t:e;var e,t},screenResolution:function(){var e=screen,t=[v(e.width),v(e.height)];return t.sort().reverse(),t},availableScreenResolution:function(){var e=screen;if(e.availWidth&&e.availHeight){var t=[v(e.availWidth),v(e.availHeight)];return t.sort().reverse(),t}},hardwareConcurrency:function(){try{var e=v(navigator.hardwareConcurrency);return isNaN(e)?1:e}catch(t){return 1}},timezoneOffset:function(){var e=(new Date).getFullYear();return Math.max(h(new Date(e,0,1).getTimezoneOffset()),h(new Date(e,6,1).getTimezoneOffset()))},timezone:function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t)return(new t).resolvedOptions().timeZone},sessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},localStorage:function(){try{return!!window.localStorage}catch(e){return!0}},indexedDB:function(){if(!p()&&!m())try{return!!window.indexedDB}catch(e){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){return navigator.platform},plugins:function(){if(p())return[];if(navigator.plugins){for(var e=[],t=0;t<navigator.plugins.length;++t){var n=navigator.plugins[t];if(n){for(var r=[],i=0;i<n.length;++i){var o=n[i];r.push({type:o.type,suffixes:o.suffixes})}e.push({name:n.name,description:n.description,mimeTypes:r})}}return e}},canvas:function(){var e=function(){var e=document.createElement("canvas");return e.width=240,e.height=140,e.style.display="inline",[e,e.getContext("2d")]}(),t=e[0],n=e[1];if(!function(e,t){return!(!t||!e.toDataURL)}(t,n))return{winding:!1,data:""};n.rect(0,0,10,10),n.rect(2,2,6,6);var r=!n.isPointInPath(5,5,"evenodd");n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",n.font="11pt no-real-font-123";var i="Cwm fjordbank 😃 gly";return n.fillText(i,2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText(i,4,45),n.globalCompositeOperation="multiply",n.fillStyle="rgb(255,0,255)",n.beginPath(),n.arc(50,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(0,255,255)",n.beginPath(),n.arc(100,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,255,0)",n.beginPath(),n.arc(75,100,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,0,255)",n.arc(75,75,75,0,2*Math.PI,!0),n.arc(75,75,25,0,2*Math.PI,!0),n.fill("evenodd"),{winding:r,data:O(t)}},touchSupport:function(){var e,t=navigator,n=0;void 0!==t.maxTouchPoints?n=v(t.maxTouchPoints):void 0!==t.msMaxTouchPoints&&(n=t.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(r){e=!1}return{maxTouchPoints:n,touchEvent:e,touchStart:"ontouchstart"in window}},fonts:function(){var e=document,t=e.body,n=e.createElement("div"),r=e.createElement("div"),i={},o={},a=function(){var t=e.createElement("span");t.textContent="mmMwWLliI0O&1";for(var n=0,r=Object.keys(T);n<r.length;n++){var i=r[n];t.style[i]=T[i]}return t},u=function(e){return I.some((function(t,n){return e[n].offsetWidth!==i[t]||e[n].offsetHeight!==o[t]}))},s=I.map((function(e){var t=a();return t.style.fontFamily=e,n.appendChild(t),t}));t.appendChild(n);for(var c=0,l=I.length;c<l;c++)i[I[c]]=s[c].offsetWidth,o[I[c]]=s[c].offsetHeight;var d=function(){for(var e={},t=function(t){e[t]=I.map((function(e){var n=function(e,t){var n=a();return n.style.fontFamily="'"+e+"',"+t,n}(t,e);return r.appendChild(n),n}))},n=0,i=C;n<i.length;n++){t(i[n])}return e}();t.appendChild(r);for(var f=[],v=0,h=C.length;v<h;v++)u(d[C[v]])&&f.push(C[v]);return t.removeChild(r),t.removeChild(n),f},audio:function(){return r(this,void 0,void 0,(function(){var e,t,n,r,o,a,u;return i(this,(function(i){switch(i.label){case 0:if(e=window,!(t=e.OfflineAudioContext||e.webkitOfflineAudioContext))return[2,-2];if(w()&&!y()&&!function(){var e=window;return g(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}())return[2,-1];n=new t(1,44100,44100),(r=n.createOscillator()).type="triangle",E(n,r.frequency,1e4),o=n.createDynamicsCompressor(),E(n,o.threshold,-50),E(n,o.knee,40),E(n,o.ratio,12),E(n,o.reduction,-20),E(n,o.attack,0),E(n,o.release,.25),r.connect(o),o.connect(n.destination),r.start(0),i.label=1;case 1:return i.trys.push([1,3,4,5]),[4,R(n)];case 2:return a=i.sent(),[3,5];case 3:if("timeout"===(u=i.sent()).name||"suspended"===u.name)return[2,-3];throw u;case 4:return r.disconnect(),o.disconnect(),[7];case 5:return[2,S(a.getChannelData(0))]}}))}))},pluginsSupport:function(){return void 0!==navigator.plugins},productSub:function(){return navigator.productSub},emptyEvalLength:function(){return eval.toString().length},errorFF:function(){try{throw"a"}catch(e){try{return e.toSource(),!0}catch(t){return!1}}},vendor:function(){return navigator.vendor},chrome:function(){return void 0!==window.chrome},cookiesEnabled:function(){var e=document;try{e.cookie="cookietest=1; SameSite=Strict;";var t=-1!==e.cookie.indexOf("cookietest=");return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch(n){return!1}}};function A(e,n,o){return r(this,void 0,void 0,(function(){var r,a,u,s,c,l,d,f,v;return i(this,(function(i){switch(i.label){case 0:r=Date.now(),a={},u=0,s=Object.keys(e),i.label=1;case 1:if(!(u<s.length))return[3,7];if(c=s[u],function(e,t){for(var n=0,r=e.length;n<r;++n)if(e[n]===t)return!0;return!1}(o,c))return[3,6];l=void 0,i.label=2;case 2:return i.trys.push([2,4,,5]),v={},[4,e[c](n)];case 3:return v.value=i.sent(),l=v,[3,5];case 4:return d=i.sent(),l=d&&"object"==typeof d&&"message"in d?{error:d}:{error:{message:d}},[3,5];case 5:f=Date.now(),a[c]=t(t({},l),{duration:f-r}),r=f,i.label=6;case 6:return u++,[3,1];case 7:return[2,a]}}))}))}function x(e){return JSON.stringify(e,(function(e,n){return n instanceof Error?function(e){var n;return t({name:e.name,message:e.message,stack:null===(n=e.stack)||void 0===n?void 0:n.split("\n")},e)}(n):n}),2)}function D(e){return f(function(e){for(var t="",n=0,r=Object.keys(e);n<r.length;n++){var i=r[n],o=e[i],a=o.error?"error":JSON.stringify(o.value);t+=(t?"|":"")+i.replace(/([:|\\])/g,"\\$1")+":"+a}return t}(e))}var P=function(){function e(){}return e.prototype.get=function(e){return void 0===e&&(e={}),r(this,void 0,void 0,(function(){var t,n;return i(this,(function(r){switch(r.label){case 0:return[4,A(_,void 0,[])];case 1:return t=r.sent(),n=function(e){var t;return{components:e,get visitorId(){return void 0===t&&(t=D(this.components)),t},set visitorId(e){t=e}}}(t),e.debug&&console.log("Copy the text below to get the debug data:\n\n```\nversion: 3.0.6\nuserAgent: "+navigator.userAgent+"\ngetOptions: "+JSON.stringify(e,void 0,2)+"\nvisitorId: "+n.visitorId+"\ncomponents: "+x(t)+"\n```"),[2,n]}}))}))},e}();function M(e){var t=(void 0===e?{}:e).delayFallback,n=void 0===t?50:t;return r(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return[4,(t=n,r=2*n,void 0===r&&(r=1/0),new Promise((function(e){var n=window.requestIdleCallback;n?n((function(){return e()}),{timeout:r}):setTimeout(e,Math.min(t,r))})))];case 1:return e.sent(),[2,new P]}var t,r}))}))}var L=f,N="3.2.4";function q(e,t){return new Promise((function(n){return setTimeout((function(){return n(t)}),e)}))}function F(e,t){return new Promise((function(n){var r=document,i=function(){return r.hidden?u():a()},o=function(e,t,n){var r,i=!1,o=e,a=0,u=function(){i||void 0!==r||(a=Date.now(),r=setTimeout((function(){i=!0,n()}),o))};return t&&u(),{start:u,stop:function(){i||void 0===r||(clearTimeout(r),r=void 0,o-=Date.now()-a)}}}(e,!r.hidden,(function(){r.removeEventListener("visibilitychange",i),n(t)})),a=o.start,u=o.stop;r.addEventListener("visibilitychange",i)}))}function j(e,t){return r(this,void 0,void 0,(function(){var n;return i(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,e()];case 1:return[2,r.sent()];case 2:return n=r.sent(),console.error(n),[2,t];case 3:return[2]}}))}))}function B(e,t){for(var n="",r=0;r<e;r++)n+=t.charAt(Math.random()*t.length);return n}function U(e){return B(e,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")}function V(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=function(e){e&&j((function(){return e.apply(void 0,t)}))},i=0,o=e;i<o.length;i++){var a=o[i];r(a)}}}function G(e,n){var r;return void 0===n&&(n=!1),t({name:e.name,message:e.message,stack:n?null===(r=e.stack)||void 0===r?void 0:r.split("\n"):e.stack},e)}function H(){var e=window;try{return e.self!==e.top}catch(t){return!0}}function W(e){switch(e){case 0:return"Loading has started";case 1:return"Loading has succeeded";case 2:return"Loading has failed";case 3:return"Getting visitor identifier has started";case 4:return"Getting visitor identifier has succeeded";case 5:return"Getting visitor identifier has failed";case 6:return"TLS request has started";case 7:return"TLS request has succeeded";case 8:return"TLS request has failed";case 9:return"Getting fingerprint has started";case 10:return"Getting fingerprint has succeeded";case 11:return"Getting fingerprint has failed";case 12:return"Visitor identifier request has started";case 13:return"Visitor identifier request has succeeded";case 14:return"Visitor identifier request has failed"}}function z(e){return void 0===e&&(e="[FingerprintJS Pro] "),function(t){switch(t.e){case 2:case 5:case 8:case 11:case 14:console.error(J(e,t));break;case 10:var n=J(e,t),r=t.result;Object.keys(r).some((function(e){return r[e].error}))?console.warn(n):console.log(n);break;default:console.log(J(e,t))}}}function J(e,t){var r=t.e,i=n(t,["e"]),o=""+e+(new Date).toISOString()+": "+W(r);return Object.keys(i).length&&(o+="\n```\n"+function(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?G(t,!0):t}),2)}(i)+"\n```"),o}function K(e){var t=e.url,n=e.method,r=void 0===n?"get":n,i=e.body,o=e.headers,a=e.withCredentials,u=void 0!==a&&a,s=e.timeout;return new Promise((function(e,n){var a=new XMLHttpRequest;for(var c in a.open(r,t,!0),a.withCredentials=u,a.timeout=void 0===s?0:Math.max(s,1),o)a.setRequestHeader(c,o[c]);a.onload=function(){return e(function(e){return{text:e.responseText,status:e.status,statusText:e.statusText}}(a))},a.ontimeout=function(){return n(X("TimeoutError","The request timed out"))},a.onabort=function(){return n(X("AbortError","The request is aborted"))},a.onerror=function(){return n(X("TypeError",navigator.onLine?"Connection error":"Network offline"))},a.send(i)}))}function X(e,t){var n=new Error(t);return n.name=e,n}function Q(e){var t=e.url,n=e.body,r=navigator.sendBeacon;if(r)return r(t,n);var i=new XMLHttpRequest;i.open("POST",t,!function(){var e,t=null===(e=window.event)||void 0===e?void 0:e.type;return"pagehide"===t||"unload"===t}()),n instanceof Blob&&i.setRequestHeader("Content-Type",n.type);try{i.send(n)}catch(o){return!1}return!0}function $(e,t){if(0==t.length||t.length>e.length)return-1;for(var n=0;n<e.length;n++){for(var r=0,i=0;i<t.length;i++){if(e[n+i]!==t[i]){r=0;break}r++}if(r==t.length)return n}return-1}function Y(e,t,n,o,a){return r(this,void 0,void 0,(function(){var r,u,s;return i(this,(function(i){switch(i.label){case 0:(u=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];e&&j((function(){var r=t.apply(void 0,n);void 0!==r&&e(r)}))})(t),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,a()];case 2:return r=i.sent(),[3,4];case 3:throw s=i.sent(),u(o,s),s;case 4:return u(n,r),[2,r]}}))}))}function Z(){var e=window,t=e.__fpjs_pvid;return e.__fpjs_pvid="string"==typeof t?t:U(10)}var ee=function(){function e(e){var t=this;this.onReportReady=e,this.isStopped=!1,this.pageStartTimestamp=function(){var e,t,n=performance;if(n.timeOrigin){var r=null===(t=null===(e=n.getEntriesByType)||void 0===e?void 0:e.call(n,"navigation"))||void 0===t?void 0:t[0];if(r)return n.timeOrigin+(r.responseStart||r.unloadEventEnd)}return n.timing.domLoading||n.timing.responseStart||n.timing.unloadEventEnd}(),this.events={},this.addEvent=function(e){if(!t.isStopped){var n={time:new Date,type:"agentEvent",event:e};switch(0!==e.e&&3!==e.e||(n.documentReadyState=document.readyState,n.isPageVisible=oe(),n.isFullscreen=ae(),n.network=ue()),t.storeAgentEvent(n),e.e){case 2:t.submitReport(e.agentId,void 0);break;case 4:case 5:t.submitReport(e.agentId,e.getCallId)}}};for(var n=window,r=document,i=[[r,"readystatechange",function(){return t.handleDocumentReadyStateChange()}],[r,"visibilitychange",function(){return t.handleVisibilityChange()}],[r,"pageshow",function(){return t.handlePageTransition(!0)}],[r,"pagehide",function(){return t.handlePageTransition(!1)}],[n,"unload",function(){return t.handlePageUnload()}]],o=0,a=i;o<a.length;o++){var u=a[o],s=u[0],c=u[1],l=u[2];s.addEventListener(c,l)}var d=function(e,t){for(var n=document,r=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],i=0,o=r;i<o.length;i++){var a=o[i];n.addEventListener(a,e,t)}return function(){for(var i=0,o=r;i<o.length;i++){var a=o[i];n.removeEventListener(a,e,t)}}}((function(){return t.handleFullscreenChange()})),f=function(e){var t=navigator.connection;if(!t)return addEventListener("online",e),addEventListener("offline",e),function(){removeEventListener("online",e),removeEventListener("offline",e)};var n=!1,r=t.onchange,i=function(t){try{n||e()}finally{null==r||r(t)}};return t.onchange=i,function(){n=!0,t.onchange===i&&(t.onchange=r)}}((function(){return t.handleNetworkConnectionChange()}));this.stop=function(){t.isStopped=!0;for(var e=0,n=i;e<n.length;e++){var r=n[e],o=r[0],a=r[1],u=r[2];o.removeEventListener(a,u)}d(),f()}}return e.prototype.handleDocumentReadyStateChange=function(){this.storeEnvironmentEvent({time:new Date,type:"documentReadyState",state:document.readyState})},e.prototype.handleVisibilityChange=function(){this.storeEnvironmentEvent({time:new Date,type:"pageVisibilityToggle",isVisible:oe()})},e.prototype.handlePageTransition=function(e){this.storeEnvironmentEvent({time:new Date,type:"pageTransition",isShown:e})},e.prototype.handleFullscreenChange=function(){this.storeEnvironmentEvent({time:new Date,type:"fullscreenToggle",isFullscreen:ae()})},e.prototype.handleNetworkConnectionChange=function(){this.storeEnvironmentEvent({time:new Date,type:"networkChange",network:ue()})},e.prototype.handlePageUnload=function(){this.storeEnvironmentEvent({time:new Date,type:"pageUnload"});for(var e=0,t=Object.keys(this.events);e<t.length;e++){var n=t[e],r=this.events[n];if(0===Object.keys(r.getCalls).length)this.submitReport(n,void 0);else for(var i=0,o=Object.keys(r.getCalls);i<o.length;i++){var a=o[i];te(r.getCalls[a])||this.submitReport(n,a)}}this.stop()},e.prototype.storeAgentEvent=function(e){var t=e.event,n=t.agentId;switch(this.events[n]||(this.events[n]={loadEvents:[],getCalls:{}}),t.e){case 0:case 1:case 2:this.events[n].loadEvents.push(e);break;default:var r=t.getCallId;this.events[n].getCalls[r]||(this.events[n].getCalls[r]=[]),this.events[n].getCalls[r].push(e)}},e.prototype.storeEnvironmentEvent=function(e){for(var t=0,n=Object.keys(this.events);t<n.length;t++){var r=n[t],i=this.events[r];i.loadEvents.some((function(e){return"agentEvent"===e.type&&(1===e.event.e||2===e.event.e)}))||i.loadEvents.push(e);for(var o=0,a=Object.keys(i.getCalls);o<a.length;o++){var u=a[o],s=i.getCalls[u];te(s)||s.push(e)}}},e.prototype.submitReport=function(e,t){var n=function(e,t){for(var n,r,i,o,a,u,s,c,l,d,f,v,h,g,p,m=function(e){for(var t={},n={},r=0,i=e;r<i.length;r++){var o=i[r];"agentEvent"===o.type?t[o.event.e]=o:n[o.type]=o}return{agentEvents:t,otherEvents:n}}(e),b=m.agentEvents,w=m.otherEvents,y=null!==(r=null===(n=w.pageUnload)||void 0===n?void 0:n.time)&&void 0!==r?r:new Date,E="null",R=0,S=[[4,"getSuccess"],[5,"getFail"],[3,"getting"],[1,"loadSuccess"],[2,"loadFail"],[0,"loading"]];R<S.length;R++){var k=S[R],I=k[0],C=k[1];if(b[I]){E=C;break}}return{time:null!==(c=null!==(u=null!==(o=null===(i=b[4])||void 0===i?void 0:i.time)&&void 0!==o?o:null===(a=b[5])||void 0===a?void 0:a.time)&&void 0!==u?u:null===(s=b[2])||void 0===s?void 0:s.time)&&void 0!==c?c:y,pageUrl:location.href,pageStartTime:new Date(t),isInIframe:H(),agentVersion:null===(l=b[0])||void 0===l?void 0:l.event.version,userAgent:navigator.userAgent,pageViewId:Z(),agentId:null===(d=b[0])||void 0===d?void 0:d.event.agentId,getCallId:null===(f=b[3])||void 0===f?void 0:f.event.getCallId,requestId:null!==(h=null===(v=b[4])||void 0===v?void 0:v.event.requestId)&&void 0!==h?h:null===(g=b[5])||void 0===g?void 0:g.event.requestId,visitorId:null===(p=b[4])||void 0===p?void 0:p.event.visitorId,identificationState:E,load:ne(y,b[0],b[1],b[2]),get:ne(y,b[3],b[4],b[5]),tls:ne(y,b[6],b[7],b[8],(function(e){return{responseStatus:e.event.status}})),fingerprint:ne(y,b[9],b[10],b[11],(function(e){var t=e.event;return{failedComponents:re(t.result),componentDurations:ie(t.result)}})),visitorIdRequest:ne(y,b[12],b[13],b[14],(function(e){return{responseStatus:e.event.status}})),events:e}}(function(e,t,n){var r,i=[];e[t]&&(i.push.apply(i,e[t].loadEvents),void 0!==n&&i.push.apply(i,null!==(r=e[t].getCalls[n])&&void 0!==r?r:[]));return i}(this.events,e,t),this.pageStartTimestamp);try{this.onReportReady(n)}catch(r){console.error(r)}},e}();function te(e){return e.some((function(e){return"agentEvent"===e.type&&(4===e.event.e||5===e.event.e)}))}function ne(e,n,r,i,o){if(void 0!==n)return void 0!==r?t(t({},null==o?void 0:o(r)),{duration:r.time.getTime()-n.time.getTime(),state:"success"}):void 0!==i?{duration:i.time.getTime()-n.time.getTime(),state:"fail",error:i.event.error}:{duration:e.getTime()-n.time.getTime(),state:"incomplete"}}function re(e){return Object.keys(e).filter((function(t){return e[t].error}))}function ie(e){for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];t[i]=e[i].duration}return t}function oe(){return!document.hidden}function ae(){return!!((e=document).fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement);var e}function ue(){var e=navigator.connection;return{online:navigator.onLine,downlink:null==e?void 0:e.downlink,downlinkMax:null==e?void 0:e.downlinkMax,effectiveType:null==e?void 0:e.effectiveType,roundTrip:null==e?void 0:e.rtt,saveData:null==e?void 0:e.saveData,type:null==e?void 0:e.type}}function se(e,t,n){var r,i;void 0===n&&(n=[8,4,4,4,12].map((function(e){return B(e,"0123456789abcdef")})).join("-"));var a=ce[e.identificationState],u=a.level,s=a.message;return{environment:t,level:u,timestamp:Math.round(e.time.getTime()/1e3),platform:"browser",framework:"FingerprintJS Pro",language:"javascript",uuid:n,notifier:{name:"FingerprintJS Pro monitoring",version:N},request:{url:e.pageUrl,query_string:(null!==(r=/\?.*$/.exec(e.pageUrl))&&void 0!==r?r:[""])[0],user_ip:"$remote_ip"},client:{javascript:{browser:e.userAgent,code_version:e.agentVersion}},person:void 0===e.visitorId?void 0:{id:"visitorId:"+e.visitorId},body:{telemetry:o([{level:"debug",source:"client",timestamp_ms:e.pageStartTime.getTime(),type:"manual",body:{message:"Page starts","~~hack~componentDurations":"success"===(null===(i=e.fingerprint)||void 0===i?void 0:i.state)?fe(e.fingerprint.componentDurations):void 0}}],e.events.map(le)),message:{body:s}},custom:{isInIframe:e.isInIframe,pageViewId:e.pageViewId,agentId:e.agentId,getCallId:e.getCallId,requestId:e.requestId,visitorId:e.visitorId,identificationState:e.identificationState,load:e.load,get:e.get,tls:e.tls,fingerprint:de(e.fingerprint),visitorIdRequest:e.visitorIdRequest}}}var ce={null:{level:"info",message:"Load() wasn't called"},loading:{level:"warning",message:"Load() incomplete"},loadSuccess:{level:"info",message:"Load() succeeded, get() wasn't called"},loadFail:{level:"error",message:"Load() failed"},getting:{level:"warning",message:"Get() incomplete"},getSuccess:{level:"info",message:"Get() succeeded"},getFail:{level:"error",message:"Get() failed"}};function le(e){var n={type:"manual",level:"debug",source:"client",timestamp_ms:e.time.getTime()};switch(e.type){case"documentReadyState":return t(t({},n),{body:{message:'Document ready state becomes "'+e.state+'"'}});case"pageVisibilityToggle":return t(t({},n),{body:{message:"Page becomes "+(e.isVisible?"visible (in foreground)":"invisible (in background)")}});case"pageTransition":return t(t({},n),{body:{message:e.isShown?"Page is restored from browser history":"Page is about to go to browser history"}});case"fullscreenToggle":return t(t({},n),{body:{message:"Programmatic fullscreen "+(e.isFullscreen?"on":"off")}});case"networkChange":return t(t({},n),{body:t(t({},e.network),{message:"Network connection changes"})});case"pageUnload":return t(t({},n),{body:{message:"Page is about to unload (terminate)"}})}for(var r=e.event,i=t(t({},n),{level:"info",body:{message:W(r.e)}}),o=0,a=["documentReadyState","isPageVisible","isFullscreen","network"];o<a.length;o++){var u=a[o];void 0!==e[u]&&(i.body[u]=e[u])}switch(r.e){case 0:case 3:return t(t({},i),{body:t(t({},i.body),{options:r.options})});case 1:case 9:return i;case 2:case 5:case 8:case 11:case 14:return t(t({},i),{level:"error",body:t(t({},i.body),{error:r.error})});case 4:case 10:return t(t({},i),{body:t(t({},i.body),{result:r.result})});case 6:return t(t({},i),{body:t(t({},i.body),{endpoint:r.endpoint,timeout:r.timeout})});case 7:case 13:return t(t({},i),{body:t(t({},i.body),{status:r.status,body:r.body.slice(0,4096)})});case 12:return t(t({},i),{body:t(t({},i.body),{endpoint:r.endpoint,request:r.request})})}}function de(e){if(!e||"incomplete"===e.state||"fail"===e.state)return e;e.componentDurations;var r=n(e,["componentDurations"]),i=e.failedComponents.length?","+e.failedComponents.join(",")+",":void 0;return t(t({},r),{failedComponents:i})}function fe(e,n){void 0===n&&(n="_");for(var r=t({},e),i=0,o=Object.keys(e);i<o.length;i++){var a=o[i];if(/^\d+$/.test(a)){delete r[a];var u=a;do{u=""+n+u}while(u in r);r[u]=e[a]}}return r}function ve(e,n){return r(this,void 0,void 0,(function(){var r,o;return i(this,(function(i){switch(i.label){case 0:r=function(e){var n=function(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?G(t):t}))},r=65536,i=n(e);o=i,new Blob([o]).size>r&&(i=n(function(e,n){var r;return t(t({},e),{data:t(t({},e.data),{body:t(t({},e.data.body),{telemetry:[{source:"client",level:"warning",timestamp_ms:Date.now(),type:"manual",body:{message:"The Rollbar request body exceeded Beacon limit of "+n+" bytes, therefore some data have been omitted"}}]}),custom:{identificationState:null===(r=e.data.custom)||void 0===r?void 0:r.identificationState,exceedsBeaconLimit:!0}})})}(e,r)));var o;return i}(n),o=0,i.label=1;case 1:return navigator.onLine&&Q({url:e,body:r})?[3,5]:[3,2];case 2:return[4,q(1e3*Math.min(o+1,10))];case 3:i.sent(),i.label=4;case 4:return++o,[3,1];case 5:return[2]}}))}))}var he={us:"https://api.sjpf.io",eu:"https://tls-eun1.fpapi.io"};function ge(e,t,n){return r(this,void 0,void 0,(function(){var r;return i(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,Y(n,(function(){return{e:6,endpoint:e,timeout:t}}),(function(e){return{e:7,status:e.status,body:e.text}}),(function(e){return{e:8,error:e}}),(function(){return K({url:e,timeout:t})}))];case 1:return r=i.sent(),[3,3];case 2:switch(i.sent().name){case"AbortError":throw new Error("Abort");case"TimeoutError":throw new Error("Timeout");default:throw new Error("Connection error")}case 3:if(200===r.status)return[2,r.text];throw new Error(r.text.slice(0,255))}}))}))}var pe="Client timeout",me="Network connection error",be="Network request aborted",we="n/a";function ye(e){var n,r=e.components,i=e.token,o=e.visitorId,a=e.tag,u=e.ipResolution,s=e.extendedResult,c=e.linkedId,l=e.tls,d=e.tlsError,f=Object.keys(r).reduce((function(e,t){return e+r[t].duration}),0),v="full"===u?2:1;return(n={}).c=i,n.url=location.href,n.d=f,n.vid=o[0]||o[1]||void 0,n.ls=o[1]?1:void 0,n.t=function(e){if(e&&"object"==typeof e)return e;if(null==e)return;return{tag:e}}(a),n.i=v,n.cbd=s?1:void 0,n.lid=c,n.cr=document.referrer||void 0,n.j=l,n.je=null==d?void 0:d.message,n.k1=Ee(r.osCpu),n.k2=Ee(r.languages),n.k3=Ee(r.colorDepth),n.k4=Ee(r.deviceMemory),n.k5=Ee(r.screenResolution),n.k6=Ee(r.availableScreenResolution,void 0,[]),n.k7=Ee(r.hardwareConcurrency),n.k8=Ee(r.timezoneOffset),n.k9=Ee(r.timezone),n.k10=Re(Ee(r.sessionStorage)),n.k11=Re(Ee(r.localStorage)),n.k12=Re(Ee(r.indexedDB)),n.k13=Re(Ee(r.openDatabase)),n.k14=Ee(r.cpuClass),n.k15=Ee(r.platform),n.k16=Ee(r.plugins,[]),n.k17=function(e){var n=e.value;if(!n)return;return t(t({},n),{data:L(n.data)})}(r.canvas),n.k18=0,n.k19=Ee(r.touchSupport),n.k20=Ee(r.fonts,[]),n.k21=Ee(r.audio,-4),n.k22=Re(Ee(r.pluginsSupport)),n.k23=Ee(r.productSub),n.k24=Ee(r.emptyEvalLength),n.k25=Re(Ee(r.errorFF)),n.k26=Re(Ee(r[0])),n.k27=Ee(r.vendor),n.k28=Re(Ee(r.chrome)),n.k29=Re(Ee(r[1])),n.k30=Re(Ee(r[2])),n.k31=Re(Ee(r[3],!1)),n.k32=Re(Ee(r.cookiesEnabled,!1)),n.k33=Re(Ee(r[4])),n.k34=Ee(r[5],-5),n}function Ee(e,t,n){return e.error?t:void 0===e.value?n:e.value}function Re(e){return!0===e?1:!1===e?0:e}function Se(e,t){if(t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function ke(e,o){var a=e.endpoint,u=e.extendedResult,s=n(e,["endpoint","extendedResult"]);return r(this,void 0,void 0,(function(){var e;return i(this,(function(n){switch(n.label){case 0:return e=ye(t({extendedResult:u},s)),[4,Ie(a,e,o)];case 1:return[2,Ce(n.sent(),u)]}}))}))}function Ie(e,t,n){return r(this,void 0,void 0,(function(){var r,o;return i(this,(function(i){switch(i.label){case 0:r=function(e){return e+(-1===e.indexOf("?")?"?":"&")+"cv="+encodeURIComponent(N)}(e),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,Y(n,(function(){return{e:12,endpoint:r,request:t}}),(function(e){return{e:13,status:e.status,body:e.text}}),(function(e){return{e:14,error:e}}),(function(){return K({url:r,method:"post",body:JSON.stringify(t),headers:{"Content-Type":"text/plain"},withCredentials:!0})}))];case 2:return[2,i.sent()];case 3:throw o=i.sent(),new Error("AbortError"===o.name?be:me);case 4:return[2]}}))}))}function Ce(e,t){return r(this,void 0,void 0,(function(){var n,r;return i(this,(function(i){if(404===e.status||e.status>=500)throw new Error(e.statusText);try{n=JSON.parse(e.text)}catch(o){throw new Error(e.text)}if(function(e){return e&&"object"==typeof e&&"string"==typeof e.visitorId&&e.visitorId!==we}(n))return _e(n.notification),[2,Te(n)];if(function(e){return e&&"object"==typeof e&&e.visitorId===we}(n)){if(_e(n.notification),"Not available for crawl bots"===n.reason||"Not available when User-Agent is unspecified"===n.reason)return[2,Oe(n,t)];throw(r=new Error(n.reason)).requestId=n.requestId,r}throw new Error(e.text)}))}))}function Te(e){var r=e,i=r.botProbability,o=(r.notification,n(r,["botProbability","notification"])),a=t({},o);return i&&(a.bot={probability:i}),a}function Oe(e,n){var r={requestId:e.requestId,visitorFound:!1,visitorId:""};if(!n)return r;var i=t(t({},r),{bot:{probability:1},incognito:!1,browserName:we,browserVersion:we,device:we,ip:we,ipLocation:{},os:we,osVersion:we});return"Not available for crawl bots"===e.reason&&(i.bot.safe=!0),i}function _e(e){if(e){var t=e.level,n=e.message;"error"===t?console.error(n):"warning"===t?console.warn(n):console.log(n)}}function Ae(){var e,t;return(null===(t=null===(e=window.performance)||void 0===e?void 0:e.memory)||void 0===t?void 0:t.jsHeapSizeLimit)||1073741824}function xe(){return r(this,void 0,void 0,(function(){var e,t,n;return i(this,(function(r){switch(r.label){case 0:return e=navigator.storage,(t=navigator.webkitTemporaryStorage)?[4,new Promise((function(e){t.queryUsageAndQuota((function(t,n){return e(n)}))}))]:[3,2];case 1:return n=r.sent(),[3,4];case 2:return(null==e?void 0:e.estimate)?[4,e.estimate().then((function(e){return e.quota}))]:[3,4];case 3:n=r.sent(),r.label=4;case 4:return n?[2,n<Ae()]:[2,!1]}}))}))}function De(){return r(this,void 0,void 0,(function(){return i(this,(function(e){return y()?[2,Pe()]:[2,Me()]}))}))}function Pe(){var e,t=window.safari;if(!t)return!1;try{t.pushNotification.requestPermission("https://example.com","private",{},(function(){}))}catch(n){return e=n,!new RegExp([103,101,115,116,117,114,101].map((function(e){return String.fromCharCode(e)})).join("")).test(e)}throw new Error("Unexpected lack of error")}function Me(){return r(this,void 0,void 0,(function(){var e;return i(this,(function(t){switch(t.label){case 0:(e=document.createElement("iframe")).style.display="none",t.label=1;case 1:return t.trys.push([1,,3,4]),document.body.appendChild(e),[4,Promise.race([q(20,!1),new Promise((function(t){e.contentWindow?e.contentWindow.applicationCache.addEventListener("error",(function(){return t(!0)})):t(!1)}))])];case 2:return[2,t.sent()];case 3:return e.remove(),[7];case 4:return[2]}}))}))}function Le(){var e=window.openDatabase,t=window.localStorage;try{e(null,null,null,null)}catch(n){return!0}try{return t.setItem("test","1"),t.removeItem("test"),!1}catch(n){return!0}}var Ne,qe="_inc",Fe=[[function(){return b()},function(){return r(this,void 0,void 0,(function(){return i(this,(function(e){return function(){var e=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(!e)throw"UserAgent is not Google Chrome";return parseInt(e[2],10)}()>=76?[2,xe()]:[2,new Promise((function(e){window.webkitRequestFileSystem(0,1,(function(){return e(!1)}),(function(){return e(!0)}))}))]}))}))}],[function(){return w()},function(){return r(this,void 0,void 0,(function(){return i(this,(function(e){return function(){var e=navigator.userAgent.match(/Version\/([0-9._]+).*Safari/);if(!e)throw new Error("UserAgent is not Safari");var t=e[1].split(".").map((function(e){return isNaN(parseInt(e))?0:parseInt(e)})),n=t[0],r=t[1],i=t[2];return{major:n,minor:r,patch:i}}().major<13?[2,Le()]:[2,De()]}))}))}],[function(){return function(){var e,t,n=window;return g(["buildID"in navigator,"MozAppearance"in(null!==(t=null===(e=document.documentElement)||void 0===e?void 0:e.style)&&void 0!==t?t:{}),"MediaRecorderErrorEvent"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}()},function(){return new Promise((function(e){try{var t=indexedDB.open("test");t.onerror=function(){return e(!0)},t.onsuccess=function(){return e(!1)}}catch(n){return e(!0)}}))}],[function(){return p()||m()},function(){try{if(!window.indexedDB)return!0}catch(e){return!0}return!1}]];function je(){return r(this,void 0,void 0,(function(){var e,t,n,r,o;return i(this,(function(i){switch(i.label){case 0:e=0,t=Fe,i.label=1;case 1:return e<t.length?(n=t[e],r=n[0],o=n[1],r()?[4,o()]:[3,3]):[3,4];case 2:return[2,i.sent()];case 3:return e++,[3,1];case 4:return[2,!1]}}))}))}var Be=((Ne={})[0]=function(){return void 0!==navigator.webdriver},Ne[1]=function(){return r(this,void 0,void 0,(function(){var e,t;return i(this,(function(n){switch(n.label){case 0:return(e=navigator.permissions)?[4,e.query({name:"notifications"})]:[2,void 0];case 1:return t=n.sent(),"undefined"==typeof Notification?[2,void 0]:[2,"denied"===Notification.permission&&"prompt"===t.state]}}))}))},Ne[2]=function(){var e=window,t=document,n=t.documentElement;return"webdriver"in e||"_Selenium_IDE_Recorder"in e||"callSelenium"in e||"_selenium"in e||"__webdriver_script_fn"in t||"__driver_evaluate"in t||"__webdriver_evaluate"in t||"__selenium_evaluate"in t||"__fxdriver_evaluate"in t||"__driver_unwrapped"in t||"__webdriver_unwrapped"in t||"__selenium_unwrapped"in t||"__fxdriver_unwrapped"in t||"__webdriver_script_func"in t||null!==n.getAttribute("selenium")||null!==n.getAttribute("webdriver")||null!==n.getAttribute("driver")},Ne[3]=function(){return r(this,void 0,void 0,(function(){var e,t;return i(this,(function(n){switch(n.label){case 0:if(void 0!==(e=function(){try{var e=localStorage.getItem(qe);if(!e)return;return"1"===e}catch(t){return}}()))return[2,e];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,je()];case 2:return function(e){try{localStorage.setItem(qe,e?"1":"0")}catch(t){}}(t=n.sent()),[2,t];case 3:return n.sent(),[2,!1];case 4:return[2]}}))}))},Ne[4]=function(){var e=window;if(!b())return!1;try{if([66,114,97,118,101].map((function(e){return String.fromCharCode(e)})).join("")in e)return!0;var t=document.createElement("canvas");t.width=4,t.height=4,t.style.display="inline";var n=t.toDataURL();if(""===n)return!0;for(var r=window.atob(n.split(",")[1]),i=r.length,o=new Uint8Array(i),a=0;a<i;a++)o[a]=r.charCodeAt(a);var u=$(o,[73,68,65,84,24]);if(-1===u)return!1;var s=$(o,[73,69,78,68]);return-1!==u&&1321!==o.slice(u+5,s).reduce((function(e,t){return e+t}),0)}catch(c){return!1}},Ne[5]=function(){return r(this,void 0,void 0,(function(){var e,t,n;return i(this,(function(r){switch(r.label){case 0:if(!b()&&!w())return[2,-2];if(e=window,!(t=e.RTCPeerConnection||e.webkitRTCPeerConnection))return[2,-3];n=new t({iceServers:[]}),r.label=1;case 1:return r.trys.push([1,,3,4]),[4,new Promise((function(e,t){var r=function(){return e(-1)};n.onicecandidate=function(t){var n=t.candidate;if(!n)return r();var i=function(e){var t=/candidate:(\d+)\b/i.exec(e);return t?+t[1]:void 0}(n.candidate);void 0!==i&&e(i)},n.onicegatheringstatechange=function(){"complete"===n.iceGatheringState&&r()},n.onicecandidateerror=t,n.createDataChannel("test"),function(e,t){try{return e.createOffer(t)}catch(n){if(/\bcreateOffer\b.*(\bcallback\b.*\bnot a function\b|\barguments required\b.*\bpresent\b)/i.test(n.message))return new Promise((function(n,r){e.createOffer(n,r,t)}));throw n}}(n).then((function(e){return n.setLocalDescription(e)}),t),setTimeout((function(){return e(-4)}),500)}))];case 2:return[2,r.sent()];case 3:return n.close(),[7];case 4:return[2]}}))}))},Ne);function Ue(){return A(Be,void 0,[])}function Ve(e){for(var t=e+"=",n=0,r=document.cookie.split(";");n<r.length;n++){for(var i=r[n],o=0;" "===i[o]&&o<i.length;)++o;if(i.indexOf(t)===o)return i.slice(o+t.length)}}function Ge(e,t,n,r){var i=e+"="+t,o="expires="+new Date(Date.now()+24*n*60*60*1e3).toUTCString(),a=r?"domain="+r:"";document.cookie=[i,"path=/",o,a,"SameSite=Lax"].join("; ")}function He(e,t,n){var r=location.hostname;We(r,(function(t){!function(e,t){Ge(e,"",-1,t)}(e,t)})),We(r,(function(r){return Ge(e,t,n,r),Ve(e)!==t}))&&Ge(e,t,n)}function We(e,t){var n=e.length;do{if(n=n>0?e.lastIndexOf(".",n-1):-1,!1===t(e.slice(n+1)))return!1}while(n>=0);return!0}var ze="_vid";function Je(e){return void 0===e&&(e=ze),[Ve(e),Xe(e)]}function Ke(e,t){void 0===t&&(t=ze),He(t,e,365),function(e,t){var n;try{null===(n=null===localStorage||void 0===localStorage?void 0:localStorage.setItem)||void 0===n||n.call(localStorage,e,t)}catch(r){}}(t,e)}function Xe(e){var t,n;try{return null!==(n=null===(t=null===localStorage||void 0===localStorage?void 0:localStorage.getItem)||void 0===t?void 0:t.call(localStorage,e))&&void 0!==n?n:void 0}catch(r){}}function Qe(e,n,o,a){var u=this,s=a.token,c=a.region,l=void 0===c?"us":c,d=a.endpoint,f=a.tlsEndpoint,v=a.storageKey,h=a.debug;var g=function(e,n,o,a,c,h,g){return r(u,void 0,void 0,(function(){var r,u,b,w;return i(this,(function(i){switch(i.label){case 0:return[4,Promise.all([p(l,f,a,!!o,g),m(g)])];case 1:return r=i.sent(),u=r[0],b=r[1],[4,ke(t(t({},u),{token:s,endpoint:Se(l,d),components:b,tag:e,visitorId:Je(v),linkedId:n,extendedResult:c,ipResolution:h}),g)];case 2:return Ke((w=i.sent()).visitorId,v),[2,w]}}))}))},p=function(e,t,n,o,a){return r(u,void 0,void 0,(function(){return i(this,(function(r){return o?[2,void 0]:[2,ge(function(e,t){return t||he[e]}(e,t),n,a).then((function(e){return{tls:e}}),(function(e){return{tlsError:e}}))]}))}))},m=function(e){return Y(e,(function(){return{e:9}}),(function(e){return{e:10,result:e}}),(function(e){return{e:11,error:e}}),(function(){return r(u,void 0,void 0,(function(){var e,r;return i(this,(function(i){switch(i.label){case 0:return[4,n.get()];case 1:return e=i.sent(),[4,o()];case 2:return r=i.sent(),[2,t(t({},e.components),r)]}}))}))}))};return{get:function(n){void 0===n&&(n={});var r=h||n.debug?function(e,n,r){return function(i){return e(t(t({},i),{agentId:n,getCallId:r}))}}(V([h,n.debug&&z()]),e,U(8)):void 0;return Y(r,(function(){return{e:3,options:n}}),(function(e){return{e:4,requestId:e.requestId,visitorId:e.visitorId,result:e}}),(function(e){return{e:5,requestId:e.requestId,error:e}}),(function(){var e=n.timeout,t=void 0===e?1e4:e,i=n.tag,o=n.linkedId,a=n.disableTls,u=n.extendedResult,s=n.ipResolution;return Promise.race([F(t).then((function(){throw new Error(pe)})),g(i,o,a,t/2,u,s,r)])}))}}}function $e(e){var t=this,n=U(8);return Y(e.debug,(function(){return{e:0,agentId:n,version:N,options:e}}),(function(){return{e:1,agentId:n}}),(function(e){return{e:2,agentId:n,error:e}}),(function(){return r(t,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:if(!e.token||"string"!=typeof e.token)throw new Error("Token required");return[4,M({delayFallback:e.delayFallback})];case 1:return t=r.sent(),[2,Qe(n,t,Ue,e)]}}))}))}))}var Ye="Token required",Ze="Token not found",et="Token expired",tt="Request cannot be parsed",nt="Request failed",rt="Request failed to process",it="Too many requests, rate limit exceeded",ot="Not available for this origin",at="Not available with restricted header",ut={load:$e,ERROR_CLIENT_TIMEOUT:pe,ERROR_NETWORK_CONNECTION:me,ERROR_NETWORK_ABORT:be,ERROR_TOKEN_MISSING:Ye,ERROR_TOKEN_INVALID:Ze,ERROR_TOKEN_EXPIRED:et,ERROR_BAD_REQUEST_FORMAT:tt,ERROR_GENERAL_SERVER_FAILURE:nt,ERROR_SERVER_TIMEOUT:rt,ERROR_RATE_LIMIT:it,ERROR_FORBIDDEN_ORIGIN:ot,ERROR_FORBIDDEN_HEADER:at};return e.ERROR_BAD_REQUEST_FORMAT=tt,e.ERROR_CLIENT_TIMEOUT=pe,e.ERROR_FORBIDDEN_HEADER=at,e.ERROR_FORBIDDEN_ORIGIN=ot,e.ERROR_GENERAL_SERVER_FAILURE=nt,e.ERROR_NETWORK_ABORT=be,e.ERROR_NETWORK_CONNECTION=me,e.ERROR_RATE_LIMIT=it,e.ERROR_SERVER_TIMEOUT=rt,e.ERROR_TOKEN_EXPIRED=et,e.ERROR_TOKEN_INVALID=Ze,e.ERROR_TOKEN_MISSING=Ye,e.default=ut,e.load=$e,e.makeConsoleDebugger=z,e.makeDebugReportBuilder=function(e){return new ee(e).addEvent},e.makeMulticastDebugger=V,e.makeRemoteDebugger=function(e){var t=this,n=e.clientId,o=e.token,a=e.endpoint,u=void 0===a?"https://api.rollbar.com/api/1/item/":a;return new ee((function(e){return r(t,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:return t=function(e,t,n,r){return{access_token:n,data:se(e,t,r)}}(e,n,o),[4,ve(u,t)];case 1:return r.sent(),[2]}}))}))})).addEvent},e}({}); |
/** | ||
* FingerprintJS Pro v3.2.3 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com) | ||
* FingerprintJS Pro v3.2.4 - Copyright (c) FingerprintJS, Inc, 2021 (https://fingerprintjs.com) | ||
* | ||
@@ -8,2 +8,2 @@ * This software contains code from open-source projects: | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).FingerprintJS={})}(this,(function(e){"use strict";var t=function(){return(t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function n(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function r(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{s(r.next(e))}catch(t){o(t)}}function u(e){try{s(r.throw(e))}catch(t){o(t)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}function i(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(u){o=[6,u],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}}function o(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,u=o.length;a<u;a++,i++)r[i]=o[a];return r}function a(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function u(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function s(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])}function c(e,t){return 0===(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]}function l(e,t){return[e[0]^t[0],e[1]^t[1]]}function d(e){return e=l(e,[0,e[0]>>>1]),e=l(e=u(e,[4283543511,3981806797]),[0,e[0]>>>1]),e=l(e=u(e,[3301882366,444984403]),[0,e[0]>>>1])}function f(e,t){t=t||0;var n,r=(e=e||"").length%16,i=e.length-r,o=[0,t],f=[0,t],v=[0,0],h=[0,0],g=[2277735313,289559509],p=[1291169091,658871167];for(n=0;n<i;n+=16)v=[255&e.charCodeAt(n+4)|(255&e.charCodeAt(n+5))<<8|(255&e.charCodeAt(n+6))<<16|(255&e.charCodeAt(n+7))<<24,255&e.charCodeAt(n)|(255&e.charCodeAt(n+1))<<8|(255&e.charCodeAt(n+2))<<16|(255&e.charCodeAt(n+3))<<24],h=[255&e.charCodeAt(n+12)|(255&e.charCodeAt(n+13))<<8|(255&e.charCodeAt(n+14))<<16|(255&e.charCodeAt(n+15))<<24,255&e.charCodeAt(n+8)|(255&e.charCodeAt(n+9))<<8|(255&e.charCodeAt(n+10))<<16|(255&e.charCodeAt(n+11))<<24],v=s(v=u(v,g),31),o=a(o=s(o=l(o,v=u(v,p)),27),f),o=a(u(o,[0,5]),[0,1390208809]),h=s(h=u(h,p),33),f=a(f=s(f=l(f,h=u(h,g)),31),o),f=a(u(f,[0,5]),[0,944331445]);switch(v=[0,0],h=[0,0],r){case 15:h=l(h,c([0,e.charCodeAt(n+14)],48));case 14:h=l(h,c([0,e.charCodeAt(n+13)],40));case 13:h=l(h,c([0,e.charCodeAt(n+12)],32));case 12:h=l(h,c([0,e.charCodeAt(n+11)],24));case 11:h=l(h,c([0,e.charCodeAt(n+10)],16));case 10:h=l(h,c([0,e.charCodeAt(n+9)],8));case 9:h=u(h=l(h,[0,e.charCodeAt(n+8)]),p),f=l(f,h=u(h=s(h,33),g));case 8:v=l(v,c([0,e.charCodeAt(n+7)],56));case 7:v=l(v,c([0,e.charCodeAt(n+6)],48));case 6:v=l(v,c([0,e.charCodeAt(n+5)],40));case 5:v=l(v,c([0,e.charCodeAt(n+4)],32));case 4:v=l(v,c([0,e.charCodeAt(n+3)],24));case 3:v=l(v,c([0,e.charCodeAt(n+2)],16));case 2:v=l(v,c([0,e.charCodeAt(n+1)],8));case 1:v=u(v=l(v,[0,e.charCodeAt(n)]),g),o=l(o,v=u(v=s(v,31),p))}return o=a(o=l(o,[0,e.length]),f=l(f,[0,e.length])),f=a(f,o),o=a(o=d(o),f=d(f)),f=a(f,o),("00000000"+(o[0]>>>0).toString(16)).slice(-8)+("00000000"+(o[1]>>>0).toString(16)).slice(-8)+("00000000"+(f[0]>>>0).toString(16)).slice(-8)+("00000000"+(f[1]>>>0).toString(16)).slice(-8)}var v=window;function h(e){return parseInt(e)}function g(e){return parseFloat(e)}function p(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}var m=window,b=navigator,y=document;function w(){return p(["MSCSSMatrix"in m,"msSetImmediate"in m,"msIndexedDB"in m,"msMaxTouchPoints"in b,"msPointerEnabled"in b])>=4}function E(){return p(["msWriteProfilerMark"in m,"MSStream"in m,"msLaunchUri"in b,"msSaveBlob"in b])>=3&&!w()}function R(){return p(["webkitPersistentStorage"in b,"webkitTemporaryStorage"in b,0===b.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in m,"BatteryManager"in m,"webkitMediaStream"in m,"webkitSpeechGrammar"in m])>=5}function S(){return p(["ApplePayError"in m,"CSSPrimitiveValue"in m,"Counter"in m,0===b.vendor.indexOf("Apple"),"getStorageUpdates"in b,"WebKitMediaKeys"in m])>=4}function I(){return p(["safari"in m,!("DeviceMotionEvent"in m),!("ongestureend"in m),!("standalone"in b)])>=3}var C=window,k=document;function T(e,t,n){(function(e){return e&&"function"==typeof e.setValueAtTime})(t)&&t.setValueAtTime(n,e.currentTime)}function O(e){return new Promise((function(t,n){e.oncomplete=function(e){return t(e.renderedBuffer)};var r=3,i=function(){switch(e.startRendering(),e.state){case"running":setTimeout((function(){return n(A("timeout"))}),1e3);break;case"suspended":k.hidden||r--,r>0?setTimeout(i,500):n(A("suspended"))}};i()}))}function _(e){for(var t=0,n=4500;n<5e3;++n)t+=Math.abs(e[n]);return t}function A(e){var t=new Error(e);return t.name=e,t}var x=document,P=["monospace","sans-serif","serif"],D=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"],M={fontStyle:"normal",fontWeight:"normal",letterSpacing:"normal",lineBreak:"auto",lineHeight:"normal",textTransform:"none",textAlign:"left",textDecoration:"none",textShadow:"none",whiteSpace:"normal",wordBreak:"normal",wordSpacing:"normal",position:"absolute",left:"-9999px",fontSize:"48px"};function L(e){return e.toDataURL()}var N=navigator,F=window;var q=navigator;var j=window;var B=window;var U=window;var V=document;var G={osCpu:function(){return navigator.oscpu},languages:function(){var e=[],t=q.language||q.userLanguage||q.browserLanguage||q.systemLanguage;if(void 0!==t&&e.push([t]),Array.isArray(q.languages))R()&&p([!("MediaSettingsRange"in m),"RTCEncodedAudioFrame"in m,""+m.Intl=="[object Intl]",""+m.Reflect=="[object Reflect]"])>=3||e.push(q.languages);else if("string"==typeof q.languages){var n=q.languages;n&&e.push(n.split(","))}return e},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return e=g(navigator.deviceMemory),t=void 0,"number"==typeof e&&isNaN(e)?t:e;var e,t},screenResolution:function(){var e=[h(j.screen.width),h(j.screen.height)];return e.sort().reverse(),e},availableScreenResolution:function(){if(B.screen.availWidth&&B.screen.availHeight){var e=[h(B.screen.availWidth),h(B.screen.availHeight)];return e.sort().reverse(),e}},hardwareConcurrency:function(){try{var e=h(navigator.hardwareConcurrency);return isNaN(e)?1:e}catch(t){return 1}},timezoneOffset:function(){var e=(new Date).getFullYear();return Math.max(g(new Date(e,0,1).getTimezoneOffset()),g(new Date(e,6,1).getTimezoneOffset()))},timezone:function(){var e;if(null===(e=U.Intl)||void 0===e?void 0:e.DateTimeFormat)return(new U.Intl.DateTimeFormat).resolvedOptions().timeZone},sessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},localStorage:function(){try{return!!window.localStorage}catch(e){return!0}},indexedDB:function(){if(!w()&&!E())try{return!!window.indexedDB}catch(e){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){return navigator.platform},plugins:function(){if(w())return[];if(navigator.plugins){for(var e=[],t=0;t<navigator.plugins.length;++t){var n=navigator.plugins[t];if(n){for(var r=[],i=0;i<n.length;++i){var o=n[i];r.push({type:o.type,suffixes:o.suffixes})}e.push({name:n.name,description:n.description,mimeTypes:r})}}return e}},canvas:function(){var e=function(){var e=document.createElement("canvas");return e.width=240,e.height=140,e.style.display="inline",[e,e.getContext("2d")]}(),t=e[0],n=e[1];if(!function(e,t){return!(!t||!e.toDataURL)}(t,n))return{winding:!1,data:""};n.rect(0,0,10,10),n.rect(2,2,6,6);var r=!n.isPointInPath(5,5,"evenodd");n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",n.font="11pt no-real-font-123";var i="Cwm fjordbank 😃 gly";return n.fillText(i,2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText(i,4,45),n.globalCompositeOperation="multiply",n.fillStyle="rgb(255,0,255)",n.beginPath(),n.arc(50,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(0,255,255)",n.beginPath(),n.arc(100,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,255,0)",n.beginPath(),n.arc(75,100,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,0,255)",n.arc(75,75,75,0,2*Math.PI,!0),n.arc(75,75,25,0,2*Math.PI,!0),n.fill("evenodd"),{winding:r,data:L(t)}},touchSupport:function(){var e,t=0;void 0!==N.maxTouchPoints?t=h(N.maxTouchPoints):void 0!==N.msMaxTouchPoints&&(t=N.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(n){e=!1}return{maxTouchPoints:t,touchEvent:e,touchStart:"ontouchstart"in F}},fonts:function(){var e=x.body,t=x.createElement("div"),n=x.createElement("div"),r={},i={},o=function(){var e=x.createElement("span");e.textContent="mmMwWLliI0O&1";for(var t=0,n=Object.keys(M);t<n.length;t++){var r=n[t];e.style[r]=M[r]}return e},a=function(e){return P.some((function(t,n){return e[n].offsetWidth!==r[t]||e[n].offsetHeight!==i[t]}))},u=P.map((function(e){var n=o();return n.style.fontFamily=e,t.appendChild(n),n}));e.appendChild(t);for(var s=0,c=P.length;s<c;s++)r[P[s]]=u[s].offsetWidth,i[P[s]]=u[s].offsetHeight;var l=function(){for(var e={},t=function(t){e[t]=P.map((function(e){var r=function(e,t){var n=o();return n.style.fontFamily="'"+e+"',"+t,n}(t,e);return n.appendChild(r),r}))},r=0,i=D;r<i.length;r++){t(i[r])}return e}();e.appendChild(n);for(var d=[],f=0,v=D.length;f<v;f++)a(l[D[f]])&&d.push(D[f]);return e.removeChild(n),e.removeChild(t),d},audio:function(){return r(this,void 0,void 0,(function(){var e,t,n,r,o,a;return i(this,(function(i){switch(i.label){case 0:if(!(e=C.OfflineAudioContext||C.webkitOfflineAudioContext))return[2,-2];if(S()&&!I()&&!(p(["DOMRectList"in m,"RTCPeerConnectionIceEvent"in m,"SVGGeometryElement"in m,"ontransitioncancel"in m])>=3))return[2,-1];t=new e(1,44100,44100),(n=t.createOscillator()).type="triangle",T(t,n.frequency,1e4),r=t.createDynamicsCompressor(),T(t,r.threshold,-50),T(t,r.knee,40),T(t,r.ratio,12),T(t,r.reduction,-20),T(t,r.attack,0),T(t,r.release,.25),n.connect(r),r.connect(t.destination),n.start(0),i.label=1;case 1:return i.trys.push([1,3,4,5]),[4,O(t)];case 2:return o=i.sent(),[3,5];case 3:if("timeout"===(a=i.sent()).name||"suspended"===a.name)return[2,-3];throw a;case 4:return n.disconnect(),r.disconnect(),[7];case 5:return[2,_(o.getChannelData(0))]}}))}))},pluginsSupport:function(){return void 0!==navigator.plugins},productSub:function(){return navigator.productSub},emptyEvalLength:function(){return eval.toString().length},errorFF:function(){try{throw"a"}catch(e){try{return e.toSource(),!0}catch(t){return!1}}},vendor:function(){return navigator.vendor},chrome:function(){return void 0!==window.chrome},cookiesEnabled:function(){try{V.cookie="cookietest=1; SameSite=Strict;";var e=-1!==V.cookie.indexOf("cookietest=");return V.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",e}catch(t){return!1}}};function H(e,n,o){return r(this,void 0,void 0,(function(){var r,a,u,s,c,l,d,f,v;return i(this,(function(i){switch(i.label){case 0:r=Date.now(),a={},u=0,s=Object.keys(e),i.label=1;case 1:if(!(u<s.length))return[3,7];if(c=s[u],function(e,t){for(var n=0,r=e.length;n<r;++n)if(e[n]===t)return!0;return!1}(o,c))return[3,6];l=void 0,i.label=2;case 2:return i.trys.push([2,4,,5]),v={},[4,e[c](n)];case 3:return v.value=i.sent(),l=v,[3,5];case 4:return d=i.sent(),l=d&&"object"==typeof d&&"message"in d?{error:d}:{error:{message:d}},[3,5];case 5:f=Date.now(),a[c]=t(t({},l),{duration:f-r}),r=f,i.label=6;case 6:return u++,[3,1];case 7:return[2,a]}}))}))}function W(e){return JSON.stringify(e,(function(e,n){return n instanceof Error?function(e){var n;return t({name:e.name,message:e.message,stack:null===(n=e.stack)||void 0===n?void 0:n.split("\n")},e)}(n):n}),2)}function J(e){return f(function(e){for(var t="",n=0,r=Object.keys(e);n<r.length;n++){var i=r[n],o=e[i],a=o.error?"error":JSON.stringify(o.value);t+=(t?"|":"")+i.replace(/([:|\\])/g,"\\$1")+":"+a}return t}(e))}var K=function(){function e(){}return e.prototype.get=function(e){return void 0===e&&(e={}),r(this,void 0,void 0,(function(){var t,n;return i(this,(function(r){switch(r.label){case 0:return[4,H(G,void 0,[])];case 1:return t=r.sent(),n=function(e){var t;return{components:e,get visitorId(){return void 0===t&&(t=J(this.components)),t},set visitorId(e){t=e}}}(t),e.debug&&console.log("Copy the text below to get the debug data:\n\n```\nversion: 3.0.5\nuserAgent: "+navigator.userAgent+"\ngetOptions: "+JSON.stringify(e,void 0,2)+"\nvisitorId: "+n.visitorId+"\ncomponents: "+W(t)+"\n```"),[2,n]}}))}))},e}();function z(e){var t=(void 0===e?{}:e).delayFallback,n=void 0===t?50:t;return r(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return[4,(t=n,r=2*n,void 0===r&&(r=1/0),new Promise((function(e){v.requestIdleCallback?v.requestIdleCallback((function(){return e()}),{timeout:r}):setTimeout(e,Math.min(t,r))})))];case 1:return e.sent(),[2,new K]}var t,r}))}))}var X=f,Q="3.2.3",Y=document;function Z(e,t){return new Promise((function(n){return setTimeout((function(){return n(t)}),e)}))}function $(e,t){return new Promise((function(n){var r=function(){return Y.hidden?a():o()},i=function(e,t,n){var r,i=!1,o=e,a=0,u=function(){i||void 0!==r||(a=Date.now(),r=setTimeout((function(){i=!0,n()}),o))};return t&&u(),{start:u,stop:function(){i||void 0===r||(clearTimeout(r),r=void 0,o-=Date.now()-a)}}}(e,!Y.hidden,(function(){Y.removeEventListener("visibilitychange",r),n(t)})),o=i.start,a=i.stop;Y.addEventListener("visibilitychange",r)}))}function ee(e,t){return r(this,void 0,void 0,(function(){var n;return i(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,e()];case 1:return[2,r.sent()];case 2:return n=r.sent(),console.error(n),[2,t];case 3:return[2]}}))}))}function te(e,t){for(var n="",r=0;r<e;r++)n+=t.charAt(Math.random()*t.length);return n}function ne(e){return te(e,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")}function re(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=function(e){e&&ee((function(){return e.apply(void 0,t)}))},i=0,o=e;i<o.length;i++){var a=o[i];r(a)}}}var ie=window;function oe(e,n){var r;return void 0===n&&(n=!1),t({name:e.name,message:e.message,stack:n?null===(r=e.stack)||void 0===r?void 0:r.split("\n"):e.stack},e)}function ae(){try{return ie.self!==ie.top}catch(e){return!0}}function ue(e){switch(e){case 0:return"Loading has started";case 1:return"Loading has succeeded";case 2:return"Loading has failed";case 3:return"Getting visitor identifier has started";case 4:return"Getting visitor identifier has succeeded";case 5:return"Getting visitor identifier has failed";case 6:return"TLS request has started";case 7:return"TLS request has succeeded";case 8:return"TLS request has failed";case 9:return"Getting fingerprint has started";case 10:return"Getting fingerprint has succeeded";case 11:return"Getting fingerprint has failed";case 12:return"Visitor identifier request has started";case 13:return"Visitor identifier request has succeeded";case 14:return"Visitor identifier request has failed"}}function se(e){return void 0===e&&(e="[FingerprintJS Pro] "),function(t){switch(t.e){case 2:case 5:case 8:case 11:case 14:console.error(ce(e,t));break;case 10:var n=ce(e,t),r=t.result;Object.keys(r).some((function(e){return r[e].error}))?console.warn(n):console.log(n);break;default:console.log(ce(e,t))}}}function ce(e,t){var r=t.e,i=n(t,["e"]),o=""+e+(new Date).toISOString()+": "+ue(r);return Object.keys(i).length&&(o+="\n```\n"+function(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?oe(t,!0):t}),2)}(i)+"\n```"),o}var le=navigator;function de(e){var t=e.url,n=e.method,r=void 0===n?"get":n,i=e.body,o=e.headers,a=e.withCredentials,u=void 0!==a&&a,s=e.timeout;return new Promise((function(e,n){var a=new XMLHttpRequest;for(var c in a.open(r,t,!0),a.withCredentials=u,a.timeout=void 0===s?0:Math.max(s,1),o)a.setRequestHeader(c,o[c]);a.onload=function(){return e(function(e){return{text:e.responseText,status:e.status,statusText:e.statusText}}(a))},a.ontimeout=function(){return n(fe("TimeoutError","The request timed out"))},a.onabort=function(){return n(fe("AbortError","The request is aborted"))},a.onerror=function(){return n(fe("TypeError",le.onLine?"Connection error":"Network offline"))},a.send(i)}))}function fe(e,t){var n=new Error(t);return n.name=e,n}function ve(e){var t=e.url,n=e.body;if(le.sendBeacon)return le.sendBeacon(t,n);var r=new XMLHttpRequest;r.open("POST",t,!function(){var e,t=null===(e=ie.event)||void 0===e?void 0:e.type;return"pagehide"===t||"unload"===t}()),n instanceof Blob&&r.setRequestHeader("Content-Type",n.type);try{r.send(n)}catch(i){return!1}return!0}var he=document,ge=navigator;function pe(e,t,n,o,a){return r(this,void 0,void 0,(function(){var r,u,s;return i(this,(function(i){switch(i.label){case 0:(u=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];e&&ee((function(){var r=t.apply(void 0,n);r&&e(r)}))})(t),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,a()];case 2:return r=i.sent(),[3,4];case 3:throw s=i.sent(),u(o,s),s;case 4:return u(n,r),[2,r]}}))}))}function me(){var e=window,t=e.__fpjs_pvid;return e.__fpjs_pvid="string"==typeof t?t:ne(10)}var be=window,ye=navigator,we=document,Ee=performance;var Re=function(){function e(e){var t=this;this.onReportReady=e,this.isStopped=!1,this.pageStartTimestamp=function(){var e,t;if(Ee.timeOrigin){var n=null===(t=null===(e=Ee.getEntriesByType)||void 0===e?void 0:e.call(Ee,"navigation"))||void 0===t?void 0:t[0];if(n)return Ee.timeOrigin+(n.responseStart||n.unloadEventEnd)}return Ee.timing.domLoading||Ee.timing.responseStart||Ee.timing.unloadEventEnd}(),this.events={},this.addEvent=function(e){if(!t.isStopped){var n={time:new Date,type:"agentEvent",event:e};switch(0!==e.e&&3!==e.e||(n.documentReadyState=we.readyState,n.isPageVisible=ke(),n.isFullscreen=Te(),n.network=Oe()),t.storeAgentEvent(n),e.e){case 2:t.submitReport(e.agentId,void 0);break;case 4:case 5:t.submitReport(e.agentId,e.getCallId)}}};for(var n=[[we,"readystatechange",function(){return t.handleDocumentReadyStateChange()}],[we,"visibilitychange",function(){return t.handleVisibilityChange()}],[we,"pageshow",function(){return t.handlePageTransition(!0)}],[we,"pagehide",function(){return t.handlePageTransition(!1)}],[be,"unload",function(){return t.handlePageUnload()}]],r=0,i=n;r<i.length;r++){var o=i[r],a=o[0],u=o[1],s=o[2];a.addEventListener(u,s)}var c=function(e,t){for(var n=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],r=0,i=n;r<i.length;r++){var o=i[r];he.addEventListener(o,e,t)}return function(){for(var r=0,i=n;r<i.length;r++){var o=i[r];he.removeEventListener(o,e,t)}}}((function(){return t.handleFullscreenChange()})),l=function(e){var t=ge.connection;if(!t)return addEventListener("online",e),addEventListener("offline",e),function(){removeEventListener("online",e),removeEventListener("offline",e)};var n=!1,r=t.onchange,i=function(t){try{n||e()}finally{null==r||r(t)}};return t.onchange=i,function(){n=!0,t.onchange===i&&(t.onchange=r)}}((function(){return t.handleNetworkConnectionChange()}));this.stop=function(){t.isStopped=!0;for(var e=0,r=n;e<r.length;e++){var i=r[e],o=i[0],a=i[1],u=i[2];o.removeEventListener(a,u)}c(),l()}}return e.prototype.handleDocumentReadyStateChange=function(){this.storeEnvironmentEvent({time:new Date,type:"documentReadyState",state:we.readyState})},e.prototype.handleVisibilityChange=function(){this.storeEnvironmentEvent({time:new Date,type:"pageVisibilityToggle",isVisible:ke()})},e.prototype.handlePageTransition=function(e){this.storeEnvironmentEvent({time:new Date,type:"pageTransition",isShown:e})},e.prototype.handleFullscreenChange=function(){this.storeEnvironmentEvent({time:new Date,type:"fullscreenToggle",isFullscreen:Te()})},e.prototype.handleNetworkConnectionChange=function(){this.storeEnvironmentEvent({time:new Date,type:"networkChange",network:Oe()})},e.prototype.handlePageUnload=function(){this.storeEnvironmentEvent({time:new Date,type:"pageUnload"});for(var e=0,t=Object.keys(this.events);e<t.length;e++){var n=t[e],r=this.events[n];if(0===Object.keys(r.getCalls).length)this.submitReport(n,void 0);else for(var i=0,o=Object.keys(r.getCalls);i<o.length;i++){var a=o[i];Se(r.getCalls[a])||this.submitReport(n,a)}}this.stop()},e.prototype.storeAgentEvent=function(e){var t=e.event,n=t.agentId;switch(this.events[n]||(this.events[n]={loadEvents:[],getCalls:{}}),t.e){case 0:case 1:case 2:this.events[n].loadEvents.push(e);break;default:var r=t.getCallId;this.events[n].getCalls[r]||(this.events[n].getCalls[r]=[]),this.events[n].getCalls[r].push(e)}},e.prototype.storeEnvironmentEvent=function(e){for(var t=0,n=Object.keys(this.events);t<n.length;t++){var r=n[t],i=this.events[r];i.loadEvents.some((function(e){return"agentEvent"===e.type&&(1===e.event.e||2===e.event.e)}))||i.loadEvents.push(e);for(var o=0,a=Object.keys(i.getCalls);o<a.length;o++){var u=a[o],s=i.getCalls[u];Se(s)||s.push(e)}}},e.prototype.submitReport=function(e,t){var n=function(e,t){for(var n,r,i,o,a,u,s,c,l,d,f,v,h,g=function(e){for(var t={},n={},r=0,i=e;r<i.length;r++){var o=i[r];"agentEvent"===o.type?t[o.event.e]=o:n[o.type]=o}return{agentEvents:t,otherEvents:n}}(e),p=g.agentEvents,m=g.otherEvents,b=null!==(r=null===(n=m.pageUnload)||void 0===n?void 0:n.time)&&void 0!==r?r:new Date,y="null",w=0,E=[[4,"getSuccess"],[5,"getFail"],[3,"getting"],[1,"loadSuccess"],[2,"loadFail"],[0,"loading"]];w<E.length;w++){var R=E[w],S=R[0],I=R[1];if(p[S]){y=I;break}}return{time:null!==(c=null!==(u=null!==(o=null===(i=p[4])||void 0===i?void 0:i.time)&&void 0!==o?o:null===(a=p[5])||void 0===a?void 0:a.time)&&void 0!==u?u:null===(s=p[2])||void 0===s?void 0:s.time)&&void 0!==c?c:b,pageUrl:location.href,pageStartTime:new Date(t),isInIframe:ae(),agentVersion:null===(l=p[0])||void 0===l?void 0:l.event.version,userAgent:navigator.userAgent,pageViewId:me(),agentId:null===(d=p[0])||void 0===d?void 0:d.event.agentId,getCallId:null===(f=p[3])||void 0===f?void 0:f.event.getCallId,requestId:null===(v=p[12])||void 0===v?void 0:v.event.requestId,visitorId:null===(h=p[4])||void 0===h?void 0:h.event.visitorId,identificationState:y,load:Ie(b,p[0],p[1],p[2]),get:Ie(b,p[3],p[4],p[5]),tls:Ie(b,p[6],p[7],p[8],(function(e){return{responseStatus:e.event.status}})),fingerprint:Ie(b,p[9],p[10],p[11],(function(e){return{failedComponents:Ce(e.event.result)}})),visitorIdRequest:Ie(b,p[12],p[13],p[14],(function(e){return{responseStatus:e.event.status}})),events:e}}(function(e,t,n){var r,i=[];e[t]&&(i.push.apply(i,e[t].loadEvents),void 0!==n&&i.push.apply(i,null!==(r=e[t].getCalls[n])&&void 0!==r?r:[]));return i}(this.events,e,t),this.pageStartTimestamp);try{this.onReportReady(n)}catch(r){console.error(r)}},e}();function Se(e){return e.some((function(e){return"agentEvent"===e.type&&(4===e.event.e||5===e.event.e)}))}function Ie(e,n,r,i,o){if(void 0!==n)return void 0!==r?t(t({},null==o?void 0:o(r)),{duration:r.time.getTime()-n.time.getTime(),state:"success"}):void 0!==i?{duration:i.time.getTime()-n.time.getTime(),state:"fail",error:i.event.error}:{duration:e.getTime()-n.time.getTime(),state:"incomplete"}}function Ce(e){return Object.keys(e).filter((function(t){return e[t].error}))}function ke(){return!we.hidden}function Te(){return!!(he.fullscreenElement||he.msFullscreenElement||he.mozFullScreenElement||he.webkitFullscreenElement)}function Oe(){var e,t,n,r,i,o;return{online:navigator.onLine,downlink:null===(e=ye.connection)||void 0===e?void 0:e.downlink,downlinkMax:null===(t=ye.connection)||void 0===t?void 0:t.downlinkMax,effectiveType:null===(n=ye.connection)||void 0===n?void 0:n.effectiveType,roundTrip:null===(r=ye.connection)||void 0===r?void 0:r.rtt,saveData:null===(i=ye.connection)||void 0===i?void 0:i.saveData,type:null===(o=ye.connection)||void 0===o?void 0:o.type}}function _e(e,t,n){var r;void 0===n&&(n=[8,4,4,4,12].map((function(e){return te(e,"0123456789abcdef")})).join("-"));var i=Ae[e.identificationState],a=i.level,u=i.message;return{environment:t,level:a,timestamp:Math.round(e.time.getTime()/1e3),platform:"browser",framework:"FingerprintJS Pro",language:"javascript",uuid:n,notifier:{name:"FingerprintJS Pro monitoring",version:Q},request:{url:e.pageUrl,query_string:(null!==(r=/\?.*$/.exec(e.pageUrl))&&void 0!==r?r:[""])[0],user_ip:"$remote_ip"},client:{javascript:{browser:e.userAgent,code_version:e.agentVersion}},person:void 0===e.visitorId?void 0:{id:"visitorId:"+e.visitorId},body:{telemetry:o([{level:"debug",source:"client",timestamp_ms:e.pageStartTime.getTime(),type:"manual",body:{message:"Page starts"}}],e.events.map(xe)),message:{body:u}},custom:{isInIframe:e.isInIframe,pageViewId:e.pageViewId,agentId:e.agentId,getCallId:e.getCallId,requestId:e.requestId,visitorId:e.visitorId,identificationState:e.identificationState,load:e.load,get:e.get,tls:e.tls,fingerprint:Pe(e.fingerprint),visitorIdRequest:e.visitorIdRequest}}}var Ae={null:{level:"info",message:"Load() wasn't called"},loading:{level:"warning",message:"Load() incomplete"},loadSuccess:{level:"info",message:"Load() succeeded, get() wasn't called"},loadFail:{level:"error",message:"Load() failed"},getting:{level:"warning",message:"Get() incomplete"},getSuccess:{level:"info",message:"Get() succeeded"},getFail:{level:"error",message:"Get() failed"}};function xe(e){var n={type:"manual",level:"debug",source:"client",timestamp_ms:e.time.getTime()};switch(e.type){case"documentReadyState":return t(t({},n),{body:{message:'Document ready state becomes "'+e.state+'"'}});case"pageVisibilityToggle":return t(t({},n),{body:{message:"Page becomes "+(e.isVisible?"visible (in foreground)":"invisible (in background)")}});case"pageTransition":return t(t({},n),{body:{message:e.isShown?"Page is restored from browser history":"Page is about to go to browser history"}});case"fullscreenToggle":return t(t({},n),{body:{message:"Programmatic fullscreen "+(e.isFullscreen?"on":"off")}});case"networkChange":return t(t({},n),{body:t(t({},e.network),{message:"Network connection changes"})});case"pageUnload":return t(t({},n),{body:{message:"Page is about to unload (terminate)"}})}for(var r=e.event,i=t(t({},n),{level:"info",body:{message:ue(r.e)}}),o=0,a=["documentReadyState","isPageVisible","isFullscreen","network"];o<a.length;o++){var u=a[o];void 0!==e[u]&&(i.body[u]=e[u])}switch(r.e){case 0:case 3:return t(t({},i),{body:t(t({},i.body),{options:r.options})});case 1:case 9:return i;case 2:case 5:case 8:case 11:case 14:return t(t({},i),{level:"error",body:t(t({},i.body),{error:r.error})});case 4:case 10:return t(t({},i),{body:t(t({},i.body),{result:r.result})});case 6:return t(t({},i),{body:t(t({},i.body),{endpoint:r.endpoint,timeout:r.timeout})});case 7:case 13:return t(t({},i),{body:t(t({},i.body),{status:r.status,body:r.body.slice(0,4096)})});case 12:return t(t({},i),{body:t(t({},i.body),{endpoint:r.endpoint,request:r.request})})}}function Pe(e){return e&&"incomplete"!==e.state&&"fail"!==e.state?t(t({},e),{failedComponents:e.failedComponents.length?","+e.failedComponents.join(",")+",":void 0}):e}function De(e,t){return r(this,void 0,void 0,(function(){var n,r;return i(this,(function(i){switch(i.label){case 0:n=JSON.stringify(t,(function(e,t){return t instanceof Error?oe(t):t})),r=0,i.label=1;case 1:return navigator.onLine&&ve({url:e,body:n})?[3,5]:[3,2];case 2:return[4,Z(1e3*Math.min(r+1,10))];case 3:i.sent(),i.label=4;case 4:return++r,[3,1];case 5:return[2]}}))}))}var Me={us:"https://api.sjpf.io",eu:"https://tls-eun1.fpapi.io"};function Le(e,o,a){var u=a.output,s=n(a,["output"]);return r(this,void 0,void 0,(function(){var n;return i(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,pe(u,(function(){return t(t({e:6},s),{endpoint:e,timeout:o})}),(function(e){var n=e.status,r=e.text;return t(t({e:7},s),{status:n,body:r})}),(function(e){return t(t({e:8},s),{error:e})}),(function(){return de({url:e,timeout:o})}))];case 1:return n=r.sent(),[3,3];case 2:switch(r.sent().name){case"AbortError":throw new Error("Abort");case"TimeoutError":throw new Error("Timeout");default:throw new Error("Connection error")}case 3:if(200===n.status)return[2,n.text];throw new Error(n.text.slice(0,255))}}))}))}var Ne="Client timeout",Fe="Network connection error",qe="Network request aborted",je="n/a";function Be(e,t){if(t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function Ue(e,o){var a=e.endpoint,u=e.extendedResult,s=n(e,["endpoint","extendedResult"]);return r(this,void 0,void 0,(function(){var e,n;return i(this,(function(r){switch(r.label){case 0:return e=ne(20),n=function(e){var n,r=e.components,i=e.token,o=e.visitorId,a=e.tag,u=e.ipResolution,s=e.extendedResult,c=e.linkedId,l=e.tls,d=e.tlsError,f=e.requestId,v=Object.keys(r).reduce((function(e,t){return e+r[t].duration}),0),h="full"===u?2:1;return(n={}).rid=f,n.cv=Q,n.c=i,n.url=location.href,n.d=v,n.vid=o[0]||o[1]||void 0,n.ls=o[1]?1:void 0,n.t=function(e){if(e&&"object"==typeof e)return e;if(null==e)return;return{tag:e}}(a),n.i=h,n.cbd=s?1:void 0,n.lid=c,n.cr=document.referrer||void 0,n.j=l,n.je=null==d?void 0:d.message,n.k1=He(r.osCpu),n.k2=He(r.languages),n.k3=He(r.colorDepth),n.k4=He(r.deviceMemory),n.k5=He(r.screenResolution),n.k6=He(r.availableScreenResolution,void 0,[]),n.k7=He(r.hardwareConcurrency),n.k8=He(r.timezoneOffset),n.k9=He(r.timezone),n.k10=We(He(r.sessionStorage)),n.k11=We(He(r.localStorage)),n.k12=We(He(r.indexedDB)),n.k13=We(He(r.openDatabase)),n.k14=He(r.cpuClass),n.k15=He(r.platform),n.k16=He(r.plugins,[]),n.k17=function(e){var n=e.value;if(!n)return;return t(t({},n),{data:X(n.data)})}(r.canvas),n.k18=0,n.k19=He(r.touchSupport),n.k20=He(r.fonts,[]),n.k21=He(r.audio,-4),n.k22=We(He(r.pluginsSupport)),n.k23=He(r.productSub),n.k24=He(r.emptyEvalLength),n.k25=We(He(r.errorFF)),n.k26=We(He(r[0])),n.k27=He(r.vendor),n.k28=We(He(r.chrome)),n.k29=We(He(r[1])),n.k30=We(He(r[2])),n.k31=We(He(r[3],!1)),n.k32=We(He(r.cookiesEnabled,!1)),n.k33=We(He(r[4])),n.k34=He(r[5],-5),n}(t({extendedResult:u,requestId:e},s)),[4,Ve(a,n,o)];case 1:return[2,Ge(r.sent(),e,u)]}}))}))}function Ve(e,o,a){var u=a.output,s=n(a,["output"]);return r(this,void 0,void 0,(function(){var n;return i(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,pe(u,(function(){return t(t({e:12},s),{requestId:o.rid,endpoint:e,request:o})}),(function(e){var n=e.status,r=e.text;return t(t({e:13},s),{status:n,body:r})}),(function(e){return t(t({e:14},s),{error:e})}),(function(){return de({url:e,method:"post",body:JSON.stringify(o),headers:{"Content-Type":"text/plain"},withCredentials:!0})}))];case 1:return[2,r.sent()];case 2:throw n=r.sent(),new Error("AbortError"===n.name?qe:Fe);case 3:return[2]}}))}))}function Ge(e,t,n){return r(this,void 0,void 0,(function(){var r;return i(this,(function(i){if(404===e.status||e.status>=500)throw new Error(e.statusText);try{r=JSON.parse(e.text)}catch(o){throw new Error(e.text)}if(function(e){return e&&"object"==typeof e&&"string"==typeof e.visitorId&&e.visitorId!==je}(r))return[2,Je(r)];if(function(e){return e&&"object"==typeof e&&e.visitorId===je}(r)){if("Not available for crawl bots"===r.reason||"Not available when User-Agent is unspecified"===r.reason)return[2,Ke(r.reason,t,n)];throw new Error(r.reason)}throw new Error(e.text)}))}))}function He(e,t,n){return e.error?t:void 0===e.value?n:e.value}function We(e){return!0===e?1:!1===e?0:e}function Je(e){var r=e,i=r.botProbability,o=n(r,["botProbability"]),a=t({},o);return i&&(a.bot={probability:i}),a}function Ke(e,n,r){var i={requestId:n,visitorFound:!1,visitorId:""};if(!r)return i;var o=t(t({},i),{bot:{probability:1},incognito:!1,browserName:je,browserVersion:je,device:je,ip:je,ipLocation:{},os:je,osVersion:je});return"Not available for crawl bots"===e&&(o.bot.safe=!0),o}var ze=window,Xe=document;var Qe=window;var Ye=navigator,Ze=window;function $e(){var e,t,n,r=(null===(e=Ye.userAgent)||void 0===e?void 0:e.indexOf("Mac OS"))>0&&-1===(null===(t=Ye.userAgent)||void 0===t?void 0:t.indexOf("iPhone")),i=(null===(n=Ye.userAgent)||void 0===n?void 0:n.indexOf("CrOS"))>0;return r||i?3221225472:1073741824}function et(){return r(this,void 0,void 0,(function(){var e;return i(this,(function(t){switch(t.label){case 0:return"storage"in Ye&&"estimate"in Ye.storage?[4,Ye.storage.estimate()]:[3,2];case 1:return[2,!!(e=t.sent().quota)&&e<$e()];case 2:return[2,!1]}}))}))}var tt=window;function nt(){return r(this,void 0,void 0,(function(){return i(this,(function(e){return I()?[2,rt()]:[2,it()]}))}))}function rt(){if(!tt.safari)return!1;try{tt.safari.pushNotification.requestPermission("https://example.com","private",{},(function(){}))}catch(t){return e=t,!new RegExp([103,101,115,116,117,114,101].map((function(e){return String.fromCharCode(e)})).join("")).test(e)}var e;throw new Error("Unexpected lack of error")}function it(){return r(this,void 0,void 0,(function(){var e;return i(this,(function(t){switch(t.label){case 0:(e=document.createElement("iframe")).style.display="none",t.label=1;case 1:return t.trys.push([1,,3,4]),document.body.appendChild(e),[4,Promise.race([Z(20,!1),new Promise((function(t){e.contentWindow?e.contentWindow.applicationCache.addEventListener("error",(function(){return t(!0)})):t(!1)}))])];case 2:return[2,t.sent()];case 3:return e.remove(),[7];case 4:return[2]}}))}))}function ot(){try{tt.openDatabase(null,null,null,null)}catch(e){return!0}try{return tt.localStorage.setItem("test","1"),tt.localStorage.removeItem("test"),!1}catch(e){return!0}}var at="_inc",ut=[[function(){return R()},function(){return r(this,void 0,void 0,(function(){return i(this,(function(e){return function(){var e=Ye.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(!e)throw"UserAgent is not Google Chrome";return parseInt(e[2],10)}()>=76?[2,et()]:[2,new Promise((function(e){Ze.webkitRequestFileSystem(0,1,(function(){return e(!1)}),(function(){return e(!0)}))}))]}))}))}],[function(){return S()},function(){return r(this,void 0,void 0,(function(){return i(this,(function(e){return function(){var e=navigator.userAgent.match(/Version\/([0-9._]+).*Safari/);if(!e)throw new Error("UserAgent is not Safari");var t=e[1].split(".").map((function(e){return isNaN(parseInt(e))?0:parseInt(e)})),n=t[0],r=t[1],i=t[2];return{major:n,minor:r,patch:i}}().major<13?[2,ot()]:[2,nt()]}))}))}],[function(){return function(){var e;return p(["buildID"in b,(null===(e=y.documentElement)||void 0===e?void 0:e.style)&&"MozAppearance"in y.documentElement.style,"MediaRecorderErrorEvent"in m,"mozInnerScreenX"in m,"CSSMozDocumentRule"in m,"CanvasCaptureMediaStream"in m])>=4}()},function(){return new Promise((function(e){try{var t=Qe.indexedDB.open("test");t.onerror=function(){return e(!0)},t.onsuccess=function(){return e(!1)}}catch(n){return e(!0)}}))}],[function(){return w()||E()},function(){try{if(!window.indexedDB)return!0}catch(e){return!0}return!1}]];function st(){return r(this,void 0,void 0,(function(){var e,t,n,r,o;return i(this,(function(i){switch(i.label){case 0:e=0,t=ut,i.label=1;case 1:return e<t.length?(n=t[e],r=n[0],o=n[1],r()?[4,o()]:[3,3]):[3,4];case 2:return[2,i.sent()];case 3:return e++,[3,1];case 4:return[2,!1]}}))}))}function ct(e,t){if(0==t.length||t.length>e.length)return-1;for(var n=0;n<e.length;n++){for(var r=0,i=0;i<t.length;i++){if(e[n+i]!==t[i]){r=0;break}r++}if(r==t.length)return n}return-1}var lt=window,dt=document;var ft,vt=window;var ht=((ft={})[0]=function(){return void 0!==navigator.webdriver},ft[1]=function(){return r(this,void 0,void 0,(function(){var e,t;return i(this,(function(n){switch(n.label){case 0:return(e=navigator.permissions)?[4,e.query({name:"notifications"})]:[2,void 0];case 1:return t=n.sent(),"undefined"==typeof Notification?[2,void 0]:[2,"denied"===Notification.permission&&"prompt"===t.state]}}))}))},ft[2]=function(){var e=Xe.documentElement;return"webdriver"in ze||"_Selenium_IDE_Recorder"in ze||"callSelenium"in ze||"_selenium"in ze||"__webdriver_script_fn"in Xe||"__driver_evaluate"in Xe||"__webdriver_evaluate"in Xe||"__selenium_evaluate"in Xe||"__fxdriver_evaluate"in Xe||"__driver_unwrapped"in Xe||"__webdriver_unwrapped"in Xe||"__selenium_unwrapped"in Xe||"__fxdriver_unwrapped"in Xe||"__webdriver_script_func"in Xe||null!==e.getAttribute("selenium")||null!==e.getAttribute("webdriver")||null!==e.getAttribute("driver")},ft[3]=function(){return r(this,void 0,void 0,(function(){var e,t;return i(this,(function(n){switch(n.label){case 0:if(void 0!==(e=function(){try{var e=localStorage.getItem(at);if(!e)return;return"1"===e}catch(t){return}}()))return[2,e];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,st()];case 2:return function(e){try{localStorage.setItem(at,e?"1":"0")}catch(t){}}(t=n.sent()),[2,t];case 3:return n.sent(),[2,!1];case 4:return[2]}}))}))},ft[4]=function(){if(!R())return!1;try{if([66,114,97,118,101].map((function(e){return String.fromCharCode(e)})).join("")in lt)return!0;var e=dt.createElement("canvas");e.width=4,e.height=4,e.style.display="inline";var t=e.toDataURL();if(""===t)return!0;for(var n=window.atob(t.split(",")[1]),r=n.length,i=new Uint8Array(r),o=0;o<r;o++)i[o]=n.charCodeAt(o);var a=ct(i,[73,68,65,84,24]);if(-1===a)return!1;var u=ct(i,[73,69,78,68]);return-1!==a&&1321!==i.slice(a+5,u).reduce((function(e,t){return e+t}),0)}catch(s){return!1}},ft[5]=function(){return r(this,void 0,void 0,(function(){var e,t;return i(this,(function(n){switch(n.label){case 0:if(!R()&&!S())return[2,-2];if(!(e=vt.RTCPeerConnection||vt.webkitRTCPeerConnection))return[2,-3];t=new e({iceServers:[]}),n.label=1;case 1:return n.trys.push([1,,3,4]),[4,new Promise((function(e,n){var r=function(){return e(-1)};t.onicecandidate=function(t){var n=t.candidate;if(!(null==n?void 0:n.candidate))return r();var i=function(e){var t=/candidate:(\d+)\b/i.exec(e);return t?+t[1]:void 0}(n.candidate);void 0!==i&&e(i)},t.onicegatheringstatechange=function(){"complete"===t.iceGatheringState&&r()},t.onicecandidateerror=n,t.createDataChannel("test"),function(e,t){try{return e.createOffer(t)}catch(n){if(/\bcreateOffer\b.*(\bcallback\b.*\bnot a function\b|\barguments required\b.*\bpresent\b)/i.test(n.message))return new Promise((function(n,r){e.createOffer(n,r,t)}));throw n}}(t).then((function(e){return t.setLocalDescription(e)}),n),setTimeout((function(){return e(-4)}),500)}))];case 2:return[2,n.sent()];case 3:return t.close(),[7];case 4:return[2]}}))}))},ft);function gt(){return H(ht,void 0,[])}var pt=document,mt=location;function bt(e){for(var t=e+"=",n=0,r=pt.cookie.split(";");n<r.length;n++){for(var i=r[n],o=0;" "===i[o]&&o<i.length;)++o;if(i.indexOf(t)===o)return i.slice(o+t.length)}}function yt(e,t,n,r){var i=e+"="+t,o="expires="+new Date(Date.now()+24*n*60*60*1e3).toUTCString(),a=r?"domain="+r:"";pt.cookie=[i,"path=/",o,a,"SameSite=Lax"].join("; ")}function wt(e,t,n){var r=mt.hostname;Et(r,(function(t){!function(e,t){yt(e,"",-1,t)}(e,t)})),Et(r,(function(r){return yt(e,t,n,r),bt(e)!==t}))&&yt(e,t,n)}function Et(e,t){var n=e.length;do{if(n=n>0?e.lastIndexOf(".",n-1):-1,!1===t(e.slice(n+1)))return!1}while(n>=0);return!0}var Rt="_vid";function St(e){return void 0===e&&(e=Rt),[bt(e),Ct(e)]}function It(e,t){void 0===t&&(t=Rt),wt(t,e,365),function(e,t){var n;try{null===(n=null===localStorage||void 0===localStorage?void 0:localStorage.setItem)||void 0===n||n.call(localStorage,e,t)}catch(r){}}(t,e)}function Ct(e){var t,n;try{return null!==(n=null===(t=null===localStorage||void 0===localStorage?void 0:localStorage.getItem)||void 0===t?void 0:t.call(localStorage,e))&&void 0!==n?n:void 0}catch(r){}}function kt(e,n,o){var a=this,u=o.token,s=o.region,c=void 0===s?"us":s,l=o.endpoint,d=o.tlsEndpoint,f=o.storageKey,v=o.debug;var h=function(n,o,s,v,h,m,b){return r(a,void 0,void 0,(function(){var r,a,y,w;return i(this,(function(i){switch(i.label){case 0:return[4,Promise.all([g(c,d,v,!!s,b),p(b)])];case 1:return r=i.sent(),a=r[0],y=r[1],[4,Ue(t(t({},a),{token:u,endpoint:Be(c,l),components:y,tag:n,visitorId:St(f),linkedId:o,extendedResult:h,ipResolution:m}),t(t({},b),{agentId:e}))];case 2:return It((w=i.sent()).visitorId,f),[2,w]}}))}))},g=function(n,o,u,s,c){return r(a,void 0,void 0,(function(){return i(this,(function(r){return s?[2,void 0]:[2,Le(function(e,t){return t||Me[e]}(n,o),u,t(t({},c),{agentId:e})).then((function(e){return{tls:e}}),(function(e){return{tlsError:e}}))]}))}))},p=function(o){var u=o.output,s=o.getCallId;return pe(u,(function(){return{e:9,agentId:e,getCallId:s}}),(function(t){return{e:10,agentId:e,getCallId:s,result:t}}),(function(t){return{e:11,agentId:e,getCallId:s,error:t}}),(function(){return r(a,void 0,void 0,(function(){var e,r;return i(this,(function(i){switch(i.label){case 0:return[4,n.get()];case 1:return e=i.sent(),[4,gt()];case 2:return r=i.sent(),[2,t(t({},e.components),r)]}}))}))}))};return{get:function(t){void 0===t&&(t={});var n=ne(8),r=re([v,t.debug&&se()]);return pe(r,(function(){return{e:3,agentId:e,getCallId:n,options:t}}),(function(t){return{e:4,agentId:e,getCallId:n,visitorId:t.visitorId,result:t}}),(function(t){return{e:5,agentId:e,getCallId:n,error:t}}),(function(){var e=t.timeout,i=void 0===e?1e4:e,o=t.tag,a=t.linkedId,u=t.disableTls,s=t.extendedResult,c=t.ipResolution;return Promise.race([$(i).then((function(){throw new Error(Ne)})),h(o,a,u,i/2,s,c,{output:r,getCallId:n})])}))}}}function Tt(e){var t=this,n=ne(8);return pe(e.debug,(function(){return{e:0,agentId:n,version:Q,options:e}}),(function(){return{e:1,agentId:n}}),(function(e){return{e:2,agentId:n,error:e}}),(function(){return r(t,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:if(!e.token||"string"!=typeof e.token)throw new Error("Token required");return[4,z({delayFallback:e.delayFallback})];case 1:return t=r.sent(),[2,kt(n,t,e)]}}))}))}))}var Ot="Token required",_t="Token not found",At="Token expired",xt="Request cannot be parsed",Pt="Request failed",Dt="Request failed to process",Mt="Too many requests, rate limit exceeded",Lt="Not available for this origin",Nt="Not available with restricted header",Ft={load:Tt,ERROR_CLIENT_TIMEOUT:Ne,ERROR_NETWORK_CONNECTION:Fe,ERROR_NETWORK_ABORT:qe,ERROR_TOKEN_MISSING:Ot,ERROR_TOKEN_INVALID:_t,ERROR_TOKEN_EXPIRED:At,ERROR_BAD_REQUEST_FORMAT:xt,ERROR_GENERAL_SERVER_FAILURE:Pt,ERROR_SERVER_TIMEOUT:Dt,ERROR_RATE_LIMIT:Mt,ERROR_FORBIDDEN_ORIGIN:Lt,ERROR_FORBIDDEN_HEADER:Nt};e.ERROR_BAD_REQUEST_FORMAT=xt,e.ERROR_CLIENT_TIMEOUT=Ne,e.ERROR_FORBIDDEN_HEADER=Nt,e.ERROR_FORBIDDEN_ORIGIN=Lt,e.ERROR_GENERAL_SERVER_FAILURE=Pt,e.ERROR_NETWORK_ABORT=qe,e.ERROR_NETWORK_CONNECTION=Fe,e.ERROR_RATE_LIMIT=Mt,e.ERROR_SERVER_TIMEOUT=Dt,e.ERROR_TOKEN_EXPIRED=At,e.ERROR_TOKEN_INVALID=_t,e.ERROR_TOKEN_MISSING=Ot,e.default=Ft,e.load=Tt,e.makeConsoleDebugger=se,e.makeDebugReportBuilder=function(e){return new Re(e).addEvent},e.makeMulticastDebugger=re,e.makeRemoteDebugger=function(e){var t=this,n=e.clientId,o=e.token,a=e.endpoint,u=void 0===a?"https://api.rollbar.com/api/1/item/":a;return new Re((function(e){return r(t,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:return t=function(e,t,n,r){return{access_token:n,data:_e(e,t,r)}}(e,n,o),[4,De(u,t)];case 1:return r.sent(),[2]}}))}))})).addEvent},Object.defineProperty(e,"__esModule",{value:!0})})); | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).FingerprintJS={})}(this,(function(e){"use strict";var t=function(){return(t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function n(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function r(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{s(r.next(e))}catch(t){o(t)}}function u(e){try{s(r.throw(e))}catch(t){o(t)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}function i(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function u(o){return function(u){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(u){o=[6,u],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,u])}}}function o(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,u=o.length;a<u;a++,i++)r[i]=o[a];return r}function a(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]+t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]+t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]+t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]+t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function u(e,t){e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]],t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]];var n=[0,0,0,0];return n[3]+=e[3]*t[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=e[2]*t[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=e[3]*t[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=e[1]*t[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[2]*t[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=e[3]*t[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=e[0]*t[3]+e[1]*t[2]+e[2]*t[1]+e[3]*t[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function s(e,t){return 32===(t%=64)?[e[1],e[0]]:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t|e[0]>>>32-t]:(t-=32,[e[1]<<t|e[0]>>>32-t,e[0]<<t|e[1]>>>32-t])}function c(e,t){return 0===(t%=64)?e:t<32?[e[0]<<t|e[1]>>>32-t,e[1]<<t]:[e[1]<<t-32,0]}function l(e,t){return[e[0]^t[0],e[1]^t[1]]}function d(e){return e=l(e,[0,e[0]>>>1]),e=l(e=u(e,[4283543511,3981806797]),[0,e[0]>>>1]),e=l(e=u(e,[3301882366,444984403]),[0,e[0]>>>1])}function f(e,t){t=t||0;var n,r=(e=e||"").length%16,i=e.length-r,o=[0,t],f=[0,t],v=[0,0],h=[0,0],g=[2277735313,289559509],p=[1291169091,658871167];for(n=0;n<i;n+=16)v=[255&e.charCodeAt(n+4)|(255&e.charCodeAt(n+5))<<8|(255&e.charCodeAt(n+6))<<16|(255&e.charCodeAt(n+7))<<24,255&e.charCodeAt(n)|(255&e.charCodeAt(n+1))<<8|(255&e.charCodeAt(n+2))<<16|(255&e.charCodeAt(n+3))<<24],h=[255&e.charCodeAt(n+12)|(255&e.charCodeAt(n+13))<<8|(255&e.charCodeAt(n+14))<<16|(255&e.charCodeAt(n+15))<<24,255&e.charCodeAt(n+8)|(255&e.charCodeAt(n+9))<<8|(255&e.charCodeAt(n+10))<<16|(255&e.charCodeAt(n+11))<<24],v=s(v=u(v,g),31),o=a(o=s(o=l(o,v=u(v,p)),27),f),o=a(u(o,[0,5]),[0,1390208809]),h=s(h=u(h,p),33),f=a(f=s(f=l(f,h=u(h,g)),31),o),f=a(u(f,[0,5]),[0,944331445]);switch(v=[0,0],h=[0,0],r){case 15:h=l(h,c([0,e.charCodeAt(n+14)],48));case 14:h=l(h,c([0,e.charCodeAt(n+13)],40));case 13:h=l(h,c([0,e.charCodeAt(n+12)],32));case 12:h=l(h,c([0,e.charCodeAt(n+11)],24));case 11:h=l(h,c([0,e.charCodeAt(n+10)],16));case 10:h=l(h,c([0,e.charCodeAt(n+9)],8));case 9:h=u(h=l(h,[0,e.charCodeAt(n+8)]),p),f=l(f,h=u(h=s(h,33),g));case 8:v=l(v,c([0,e.charCodeAt(n+7)],56));case 7:v=l(v,c([0,e.charCodeAt(n+6)],48));case 6:v=l(v,c([0,e.charCodeAt(n+5)],40));case 5:v=l(v,c([0,e.charCodeAt(n+4)],32));case 4:v=l(v,c([0,e.charCodeAt(n+3)],24));case 3:v=l(v,c([0,e.charCodeAt(n+2)],16));case 2:v=l(v,c([0,e.charCodeAt(n+1)],8));case 1:v=u(v=l(v,[0,e.charCodeAt(n)]),g),o=l(o,v=u(v=s(v,31),p))}return o=a(o=l(o,[0,e.length]),f=l(f,[0,e.length])),f=a(f,o),o=a(o=d(o),f=d(f)),f=a(f,o),("00000000"+(o[0]>>>0).toString(16)).slice(-8)+("00000000"+(o[1]>>>0).toString(16)).slice(-8)+("00000000"+(f[0]>>>0).toString(16)).slice(-8)+("00000000"+(f[1]>>>0).toString(16)).slice(-8)}function v(e){return parseInt(e)}function h(e){return parseFloat(e)}function g(e){return e.reduce((function(e,t){return e+(t?1:0)}),0)}function p(){var e=window,t=navigator;return g(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function m(){var e=window,t=navigator;return g(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!p()}function b(){var e=window,t=navigator;return g(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,0===t.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function w(){var e=window,t=navigator;return g(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,0===t.vendor.indexOf("Apple"),"getStorageUpdates"in t,"WebKitMediaKeys"in e])>=4}function y(){var e=window;return g(["safari"in e,!("DeviceMotionEvent"in e),!("ongestureend"in e),!("standalone"in navigator)])>=3}function E(e,t,n){(function(e){return e&&"function"==typeof e.setValueAtTime})(t)&&t.setValueAtTime(n,e.currentTime)}function R(e){return new Promise((function(t,n){e.oncomplete=function(e){return t(e.renderedBuffer)};var r=3,i=function(){switch(e.startRendering(),e.state){case"running":setTimeout((function(){return n(k("timeout"))}),1e3);break;case"suspended":document.hidden||r--,r>0?setTimeout(i,500):n(k("suspended"))}};i()}))}function S(e){for(var t=0,n=4500;n<5e3;++n)t+=Math.abs(e[n]);return t}function k(e){var t=new Error(e);return t.name=e,t}var I=["monospace","sans-serif","serif"],C=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"],T={fontStyle:"normal",fontWeight:"normal",letterSpacing:"normal",lineBreak:"auto",lineHeight:"normal",textTransform:"none",textAlign:"left",textDecoration:"none",textShadow:"none",whiteSpace:"normal",wordBreak:"normal",wordSpacing:"normal",position:"absolute",left:"-9999px",fontSize:"48px"};function O(e){return e.toDataURL()}var _={osCpu:function(){return navigator.oscpu},languages:function(){var e,t=navigator,n=[],r=t.language||t.userLanguage||t.browserLanguage||t.systemLanguage;if(void 0!==r&&n.push([r]),Array.isArray(t.languages))b()&&g([!("MediaSettingsRange"in(e=window)),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3||n.push(t.languages);else if("string"==typeof t.languages){var i=t.languages;i&&n.push(i.split(","))}return n},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return e=h(navigator.deviceMemory),t=void 0,"number"==typeof e&&isNaN(e)?t:e;var e,t},screenResolution:function(){var e=screen,t=[v(e.width),v(e.height)];return t.sort().reverse(),t},availableScreenResolution:function(){var e=screen;if(e.availWidth&&e.availHeight){var t=[v(e.availWidth),v(e.availHeight)];return t.sort().reverse(),t}},hardwareConcurrency:function(){try{var e=v(navigator.hardwareConcurrency);return isNaN(e)?1:e}catch(t){return 1}},timezoneOffset:function(){var e=(new Date).getFullYear();return Math.max(h(new Date(e,0,1).getTimezoneOffset()),h(new Date(e,6,1).getTimezoneOffset()))},timezone:function(){var e,t=null===(e=window.Intl)||void 0===e?void 0:e.DateTimeFormat;if(t)return(new t).resolvedOptions().timeZone},sessionStorage:function(){try{return!!window.sessionStorage}catch(e){return!0}},localStorage:function(){try{return!!window.localStorage}catch(e){return!0}},indexedDB:function(){if(!p()&&!m())try{return!!window.indexedDB}catch(e){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){return navigator.platform},plugins:function(){if(p())return[];if(navigator.plugins){for(var e=[],t=0;t<navigator.plugins.length;++t){var n=navigator.plugins[t];if(n){for(var r=[],i=0;i<n.length;++i){var o=n[i];r.push({type:o.type,suffixes:o.suffixes})}e.push({name:n.name,description:n.description,mimeTypes:r})}}return e}},canvas:function(){var e=function(){var e=document.createElement("canvas");return e.width=240,e.height=140,e.style.display="inline",[e,e.getContext("2d")]}(),t=e[0],n=e[1];if(!function(e,t){return!(!t||!e.toDataURL)}(t,n))return{winding:!1,data:""};n.rect(0,0,10,10),n.rect(2,2,6,6);var r=!n.isPointInPath(5,5,"evenodd");n.textBaseline="alphabetic",n.fillStyle="#f60",n.fillRect(125,1,62,20),n.fillStyle="#069",n.font="11pt no-real-font-123";var i="Cwm fjordbank 😃 gly";return n.fillText(i,2,15),n.fillStyle="rgba(102, 204, 0, 0.2)",n.font="18pt Arial",n.fillText(i,4,45),n.globalCompositeOperation="multiply",n.fillStyle="rgb(255,0,255)",n.beginPath(),n.arc(50,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(0,255,255)",n.beginPath(),n.arc(100,50,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,255,0)",n.beginPath(),n.arc(75,100,50,0,2*Math.PI,!0),n.closePath(),n.fill(),n.fillStyle="rgb(255,0,255)",n.arc(75,75,75,0,2*Math.PI,!0),n.arc(75,75,25,0,2*Math.PI,!0),n.fill("evenodd"),{winding:r,data:O(t)}},touchSupport:function(){var e,t=navigator,n=0;void 0!==t.maxTouchPoints?n=v(t.maxTouchPoints):void 0!==t.msMaxTouchPoints&&(n=t.msMaxTouchPoints);try{document.createEvent("TouchEvent"),e=!0}catch(r){e=!1}return{maxTouchPoints:n,touchEvent:e,touchStart:"ontouchstart"in window}},fonts:function(){var e=document,t=e.body,n=e.createElement("div"),r=e.createElement("div"),i={},o={},a=function(){var t=e.createElement("span");t.textContent="mmMwWLliI0O&1";for(var n=0,r=Object.keys(T);n<r.length;n++){var i=r[n];t.style[i]=T[i]}return t},u=function(e){return I.some((function(t,n){return e[n].offsetWidth!==i[t]||e[n].offsetHeight!==o[t]}))},s=I.map((function(e){var t=a();return t.style.fontFamily=e,n.appendChild(t),t}));t.appendChild(n);for(var c=0,l=I.length;c<l;c++)i[I[c]]=s[c].offsetWidth,o[I[c]]=s[c].offsetHeight;var d=function(){for(var e={},t=function(t){e[t]=I.map((function(e){var n=function(e,t){var n=a();return n.style.fontFamily="'"+e+"',"+t,n}(t,e);return r.appendChild(n),n}))},n=0,i=C;n<i.length;n++){t(i[n])}return e}();t.appendChild(r);for(var f=[],v=0,h=C.length;v<h;v++)u(d[C[v]])&&f.push(C[v]);return t.removeChild(r),t.removeChild(n),f},audio:function(){return r(this,void 0,void 0,(function(){var e,t,n,r,o,a,u;return i(this,(function(i){switch(i.label){case 0:if(e=window,!(t=e.OfflineAudioContext||e.webkitOfflineAudioContext))return[2,-2];if(w()&&!y()&&!function(){var e=window;return g(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}())return[2,-1];n=new t(1,44100,44100),(r=n.createOscillator()).type="triangle",E(n,r.frequency,1e4),o=n.createDynamicsCompressor(),E(n,o.threshold,-50),E(n,o.knee,40),E(n,o.ratio,12),E(n,o.reduction,-20),E(n,o.attack,0),E(n,o.release,.25),r.connect(o),o.connect(n.destination),r.start(0),i.label=1;case 1:return i.trys.push([1,3,4,5]),[4,R(n)];case 2:return a=i.sent(),[3,5];case 3:if("timeout"===(u=i.sent()).name||"suspended"===u.name)return[2,-3];throw u;case 4:return r.disconnect(),o.disconnect(),[7];case 5:return[2,S(a.getChannelData(0))]}}))}))},pluginsSupport:function(){return void 0!==navigator.plugins},productSub:function(){return navigator.productSub},emptyEvalLength:function(){return eval.toString().length},errorFF:function(){try{throw"a"}catch(e){try{return e.toSource(),!0}catch(t){return!1}}},vendor:function(){return navigator.vendor},chrome:function(){return void 0!==window.chrome},cookiesEnabled:function(){var e=document;try{e.cookie="cookietest=1; SameSite=Strict;";var t=-1!==e.cookie.indexOf("cookietest=");return e.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",t}catch(n){return!1}}};function A(e,n,o){return r(this,void 0,void 0,(function(){var r,a,u,s,c,l,d,f,v;return i(this,(function(i){switch(i.label){case 0:r=Date.now(),a={},u=0,s=Object.keys(e),i.label=1;case 1:if(!(u<s.length))return[3,7];if(c=s[u],function(e,t){for(var n=0,r=e.length;n<r;++n)if(e[n]===t)return!0;return!1}(o,c))return[3,6];l=void 0,i.label=2;case 2:return i.trys.push([2,4,,5]),v={},[4,e[c](n)];case 3:return v.value=i.sent(),l=v,[3,5];case 4:return d=i.sent(),l=d&&"object"==typeof d&&"message"in d?{error:d}:{error:{message:d}},[3,5];case 5:f=Date.now(),a[c]=t(t({},l),{duration:f-r}),r=f,i.label=6;case 6:return u++,[3,1];case 7:return[2,a]}}))}))}function x(e){return JSON.stringify(e,(function(e,n){return n instanceof Error?function(e){var n;return t({name:e.name,message:e.message,stack:null===(n=e.stack)||void 0===n?void 0:n.split("\n")},e)}(n):n}),2)}function D(e){return f(function(e){for(var t="",n=0,r=Object.keys(e);n<r.length;n++){var i=r[n],o=e[i],a=o.error?"error":JSON.stringify(o.value);t+=(t?"|":"")+i.replace(/([:|\\])/g,"\\$1")+":"+a}return t}(e))}var P=function(){function e(){}return e.prototype.get=function(e){return void 0===e&&(e={}),r(this,void 0,void 0,(function(){var t,n;return i(this,(function(r){switch(r.label){case 0:return[4,A(_,void 0,[])];case 1:return t=r.sent(),n=function(e){var t;return{components:e,get visitorId(){return void 0===t&&(t=D(this.components)),t},set visitorId(e){t=e}}}(t),e.debug&&console.log("Copy the text below to get the debug data:\n\n```\nversion: 3.0.6\nuserAgent: "+navigator.userAgent+"\ngetOptions: "+JSON.stringify(e,void 0,2)+"\nvisitorId: "+n.visitorId+"\ncomponents: "+x(t)+"\n```"),[2,n]}}))}))},e}();function M(e){var t=(void 0===e?{}:e).delayFallback,n=void 0===t?50:t;return r(this,void 0,void 0,(function(){return i(this,(function(e){switch(e.label){case 0:return[4,(t=n,r=2*n,void 0===r&&(r=1/0),new Promise((function(e){var n=window.requestIdleCallback;n?n((function(){return e()}),{timeout:r}):setTimeout(e,Math.min(t,r))})))];case 1:return e.sent(),[2,new P]}var t,r}))}))}var L=f,N="3.2.4";function q(e,t){return new Promise((function(n){return setTimeout((function(){return n(t)}),e)}))}function F(e,t){return new Promise((function(n){var r=document,i=function(){return r.hidden?u():a()},o=function(e,t,n){var r,i=!1,o=e,a=0,u=function(){i||void 0!==r||(a=Date.now(),r=setTimeout((function(){i=!0,n()}),o))};return t&&u(),{start:u,stop:function(){i||void 0===r||(clearTimeout(r),r=void 0,o-=Date.now()-a)}}}(e,!r.hidden,(function(){r.removeEventListener("visibilitychange",i),n(t)})),a=o.start,u=o.stop;r.addEventListener("visibilitychange",i)}))}function j(e,t){return r(this,void 0,void 0,(function(){var n;return i(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,e()];case 1:return[2,r.sent()];case 2:return n=r.sent(),console.error(n),[2,t];case 3:return[2]}}))}))}function B(e,t){for(var n="",r=0;r<e;r++)n+=t.charAt(Math.random()*t.length);return n}function U(e){return B(e,"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789")}function V(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r=function(e){e&&j((function(){return e.apply(void 0,t)}))},i=0,o=e;i<o.length;i++){var a=o[i];r(a)}}}function G(e,n){var r;return void 0===n&&(n=!1),t({name:e.name,message:e.message,stack:n?null===(r=e.stack)||void 0===r?void 0:r.split("\n"):e.stack},e)}function H(){var e=window;try{return e.self!==e.top}catch(t){return!0}}function W(e){switch(e){case 0:return"Loading has started";case 1:return"Loading has succeeded";case 2:return"Loading has failed";case 3:return"Getting visitor identifier has started";case 4:return"Getting visitor identifier has succeeded";case 5:return"Getting visitor identifier has failed";case 6:return"TLS request has started";case 7:return"TLS request has succeeded";case 8:return"TLS request has failed";case 9:return"Getting fingerprint has started";case 10:return"Getting fingerprint has succeeded";case 11:return"Getting fingerprint has failed";case 12:return"Visitor identifier request has started";case 13:return"Visitor identifier request has succeeded";case 14:return"Visitor identifier request has failed"}}function z(e){return void 0===e&&(e="[FingerprintJS Pro] "),function(t){switch(t.e){case 2:case 5:case 8:case 11:case 14:console.error(J(e,t));break;case 10:var n=J(e,t),r=t.result;Object.keys(r).some((function(e){return r[e].error}))?console.warn(n):console.log(n);break;default:console.log(J(e,t))}}}function J(e,t){var r=t.e,i=n(t,["e"]),o=""+e+(new Date).toISOString()+": "+W(r);return Object.keys(i).length&&(o+="\n```\n"+function(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?G(t,!0):t}),2)}(i)+"\n```"),o}function K(e){var t=e.url,n=e.method,r=void 0===n?"get":n,i=e.body,o=e.headers,a=e.withCredentials,u=void 0!==a&&a,s=e.timeout;return new Promise((function(e,n){var a=new XMLHttpRequest;for(var c in a.open(r,t,!0),a.withCredentials=u,a.timeout=void 0===s?0:Math.max(s,1),o)a.setRequestHeader(c,o[c]);a.onload=function(){return e(function(e){return{text:e.responseText,status:e.status,statusText:e.statusText}}(a))},a.ontimeout=function(){return n(X("TimeoutError","The request timed out"))},a.onabort=function(){return n(X("AbortError","The request is aborted"))},a.onerror=function(){return n(X("TypeError",navigator.onLine?"Connection error":"Network offline"))},a.send(i)}))}function X(e,t){var n=new Error(t);return n.name=e,n}function Q(e){var t=e.url,n=e.body,r=navigator.sendBeacon;if(r)return r(t,n);var i=new XMLHttpRequest;i.open("POST",t,!function(){var e,t=null===(e=window.event)||void 0===e?void 0:e.type;return"pagehide"===t||"unload"===t}()),n instanceof Blob&&i.setRequestHeader("Content-Type",n.type);try{i.send(n)}catch(o){return!1}return!0}function $(e,t){if(0==t.length||t.length>e.length)return-1;for(var n=0;n<e.length;n++){for(var r=0,i=0;i<t.length;i++){if(e[n+i]!==t[i]){r=0;break}r++}if(r==t.length)return n}return-1}function Y(e,t,n,o,a){return r(this,void 0,void 0,(function(){var r,u,s;return i(this,(function(i){switch(i.label){case 0:(u=function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];e&&j((function(){var r=t.apply(void 0,n);void 0!==r&&e(r)}))})(t),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,a()];case 2:return r=i.sent(),[3,4];case 3:throw s=i.sent(),u(o,s),s;case 4:return u(n,r),[2,r]}}))}))}function Z(){var e=window,t=e.__fpjs_pvid;return e.__fpjs_pvid="string"==typeof t?t:U(10)}var ee=function(){function e(e){var t=this;this.onReportReady=e,this.isStopped=!1,this.pageStartTimestamp=function(){var e,t,n=performance;if(n.timeOrigin){var r=null===(t=null===(e=n.getEntriesByType)||void 0===e?void 0:e.call(n,"navigation"))||void 0===t?void 0:t[0];if(r)return n.timeOrigin+(r.responseStart||r.unloadEventEnd)}return n.timing.domLoading||n.timing.responseStart||n.timing.unloadEventEnd}(),this.events={},this.addEvent=function(e){if(!t.isStopped){var n={time:new Date,type:"agentEvent",event:e};switch(0!==e.e&&3!==e.e||(n.documentReadyState=document.readyState,n.isPageVisible=oe(),n.isFullscreen=ae(),n.network=ue()),t.storeAgentEvent(n),e.e){case 2:t.submitReport(e.agentId,void 0);break;case 4:case 5:t.submitReport(e.agentId,e.getCallId)}}};for(var n=window,r=document,i=[[r,"readystatechange",function(){return t.handleDocumentReadyStateChange()}],[r,"visibilitychange",function(){return t.handleVisibilityChange()}],[r,"pageshow",function(){return t.handlePageTransition(!0)}],[r,"pagehide",function(){return t.handlePageTransition(!1)}],[n,"unload",function(){return t.handlePageUnload()}]],o=0,a=i;o<a.length;o++){var u=a[o],s=u[0],c=u[1],l=u[2];s.addEventListener(c,l)}var d=function(e,t){for(var n=document,r=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],i=0,o=r;i<o.length;i++){var a=o[i];n.addEventListener(a,e,t)}return function(){for(var i=0,o=r;i<o.length;i++){var a=o[i];n.removeEventListener(a,e,t)}}}((function(){return t.handleFullscreenChange()})),f=function(e){var t=navigator.connection;if(!t)return addEventListener("online",e),addEventListener("offline",e),function(){removeEventListener("online",e),removeEventListener("offline",e)};var n=!1,r=t.onchange,i=function(t){try{n||e()}finally{null==r||r(t)}};return t.onchange=i,function(){n=!0,t.onchange===i&&(t.onchange=r)}}((function(){return t.handleNetworkConnectionChange()}));this.stop=function(){t.isStopped=!0;for(var e=0,n=i;e<n.length;e++){var r=n[e],o=r[0],a=r[1],u=r[2];o.removeEventListener(a,u)}d(),f()}}return e.prototype.handleDocumentReadyStateChange=function(){this.storeEnvironmentEvent({time:new Date,type:"documentReadyState",state:document.readyState})},e.prototype.handleVisibilityChange=function(){this.storeEnvironmentEvent({time:new Date,type:"pageVisibilityToggle",isVisible:oe()})},e.prototype.handlePageTransition=function(e){this.storeEnvironmentEvent({time:new Date,type:"pageTransition",isShown:e})},e.prototype.handleFullscreenChange=function(){this.storeEnvironmentEvent({time:new Date,type:"fullscreenToggle",isFullscreen:ae()})},e.prototype.handleNetworkConnectionChange=function(){this.storeEnvironmentEvent({time:new Date,type:"networkChange",network:ue()})},e.prototype.handlePageUnload=function(){this.storeEnvironmentEvent({time:new Date,type:"pageUnload"});for(var e=0,t=Object.keys(this.events);e<t.length;e++){var n=t[e],r=this.events[n];if(0===Object.keys(r.getCalls).length)this.submitReport(n,void 0);else for(var i=0,o=Object.keys(r.getCalls);i<o.length;i++){var a=o[i];te(r.getCalls[a])||this.submitReport(n,a)}}this.stop()},e.prototype.storeAgentEvent=function(e){var t=e.event,n=t.agentId;switch(this.events[n]||(this.events[n]={loadEvents:[],getCalls:{}}),t.e){case 0:case 1:case 2:this.events[n].loadEvents.push(e);break;default:var r=t.getCallId;this.events[n].getCalls[r]||(this.events[n].getCalls[r]=[]),this.events[n].getCalls[r].push(e)}},e.prototype.storeEnvironmentEvent=function(e){for(var t=0,n=Object.keys(this.events);t<n.length;t++){var r=n[t],i=this.events[r];i.loadEvents.some((function(e){return"agentEvent"===e.type&&(1===e.event.e||2===e.event.e)}))||i.loadEvents.push(e);for(var o=0,a=Object.keys(i.getCalls);o<a.length;o++){var u=a[o],s=i.getCalls[u];te(s)||s.push(e)}}},e.prototype.submitReport=function(e,t){var n=function(e,t){for(var n,r,i,o,a,u,s,c,l,d,f,v,h,g,p,m=function(e){for(var t={},n={},r=0,i=e;r<i.length;r++){var o=i[r];"agentEvent"===o.type?t[o.event.e]=o:n[o.type]=o}return{agentEvents:t,otherEvents:n}}(e),b=m.agentEvents,w=m.otherEvents,y=null!==(r=null===(n=w.pageUnload)||void 0===n?void 0:n.time)&&void 0!==r?r:new Date,E="null",R=0,S=[[4,"getSuccess"],[5,"getFail"],[3,"getting"],[1,"loadSuccess"],[2,"loadFail"],[0,"loading"]];R<S.length;R++){var k=S[R],I=k[0],C=k[1];if(b[I]){E=C;break}}return{time:null!==(c=null!==(u=null!==(o=null===(i=b[4])||void 0===i?void 0:i.time)&&void 0!==o?o:null===(a=b[5])||void 0===a?void 0:a.time)&&void 0!==u?u:null===(s=b[2])||void 0===s?void 0:s.time)&&void 0!==c?c:y,pageUrl:location.href,pageStartTime:new Date(t),isInIframe:H(),agentVersion:null===(l=b[0])||void 0===l?void 0:l.event.version,userAgent:navigator.userAgent,pageViewId:Z(),agentId:null===(d=b[0])||void 0===d?void 0:d.event.agentId,getCallId:null===(f=b[3])||void 0===f?void 0:f.event.getCallId,requestId:null!==(h=null===(v=b[4])||void 0===v?void 0:v.event.requestId)&&void 0!==h?h:null===(g=b[5])||void 0===g?void 0:g.event.requestId,visitorId:null===(p=b[4])||void 0===p?void 0:p.event.visitorId,identificationState:E,load:ne(y,b[0],b[1],b[2]),get:ne(y,b[3],b[4],b[5]),tls:ne(y,b[6],b[7],b[8],(function(e){return{responseStatus:e.event.status}})),fingerprint:ne(y,b[9],b[10],b[11],(function(e){var t=e.event;return{failedComponents:re(t.result),componentDurations:ie(t.result)}})),visitorIdRequest:ne(y,b[12],b[13],b[14],(function(e){return{responseStatus:e.event.status}})),events:e}}(function(e,t,n){var r,i=[];e[t]&&(i.push.apply(i,e[t].loadEvents),void 0!==n&&i.push.apply(i,null!==(r=e[t].getCalls[n])&&void 0!==r?r:[]));return i}(this.events,e,t),this.pageStartTimestamp);try{this.onReportReady(n)}catch(r){console.error(r)}},e}();function te(e){return e.some((function(e){return"agentEvent"===e.type&&(4===e.event.e||5===e.event.e)}))}function ne(e,n,r,i,o){if(void 0!==n)return void 0!==r?t(t({},null==o?void 0:o(r)),{duration:r.time.getTime()-n.time.getTime(),state:"success"}):void 0!==i?{duration:i.time.getTime()-n.time.getTime(),state:"fail",error:i.event.error}:{duration:e.getTime()-n.time.getTime(),state:"incomplete"}}function re(e){return Object.keys(e).filter((function(t){return e[t].error}))}function ie(e){for(var t={},n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];t[i]=e[i].duration}return t}function oe(){return!document.hidden}function ae(){return!!((e=document).fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement);var e}function ue(){var e=navigator.connection;return{online:navigator.onLine,downlink:null==e?void 0:e.downlink,downlinkMax:null==e?void 0:e.downlinkMax,effectiveType:null==e?void 0:e.effectiveType,roundTrip:null==e?void 0:e.rtt,saveData:null==e?void 0:e.saveData,type:null==e?void 0:e.type}}function se(e,t,n){var r,i;void 0===n&&(n=[8,4,4,4,12].map((function(e){return B(e,"0123456789abcdef")})).join("-"));var a=ce[e.identificationState],u=a.level,s=a.message;return{environment:t,level:u,timestamp:Math.round(e.time.getTime()/1e3),platform:"browser",framework:"FingerprintJS Pro",language:"javascript",uuid:n,notifier:{name:"FingerprintJS Pro monitoring",version:N},request:{url:e.pageUrl,query_string:(null!==(r=/\?.*$/.exec(e.pageUrl))&&void 0!==r?r:[""])[0],user_ip:"$remote_ip"},client:{javascript:{browser:e.userAgent,code_version:e.agentVersion}},person:void 0===e.visitorId?void 0:{id:"visitorId:"+e.visitorId},body:{telemetry:o([{level:"debug",source:"client",timestamp_ms:e.pageStartTime.getTime(),type:"manual",body:{message:"Page starts","~~hack~componentDurations":"success"===(null===(i=e.fingerprint)||void 0===i?void 0:i.state)?fe(e.fingerprint.componentDurations):void 0}}],e.events.map(le)),message:{body:s}},custom:{isInIframe:e.isInIframe,pageViewId:e.pageViewId,agentId:e.agentId,getCallId:e.getCallId,requestId:e.requestId,visitorId:e.visitorId,identificationState:e.identificationState,load:e.load,get:e.get,tls:e.tls,fingerprint:de(e.fingerprint),visitorIdRequest:e.visitorIdRequest}}}var ce={null:{level:"info",message:"Load() wasn't called"},loading:{level:"warning",message:"Load() incomplete"},loadSuccess:{level:"info",message:"Load() succeeded, get() wasn't called"},loadFail:{level:"error",message:"Load() failed"},getting:{level:"warning",message:"Get() incomplete"},getSuccess:{level:"info",message:"Get() succeeded"},getFail:{level:"error",message:"Get() failed"}};function le(e){var n={type:"manual",level:"debug",source:"client",timestamp_ms:e.time.getTime()};switch(e.type){case"documentReadyState":return t(t({},n),{body:{message:'Document ready state becomes "'+e.state+'"'}});case"pageVisibilityToggle":return t(t({},n),{body:{message:"Page becomes "+(e.isVisible?"visible (in foreground)":"invisible (in background)")}});case"pageTransition":return t(t({},n),{body:{message:e.isShown?"Page is restored from browser history":"Page is about to go to browser history"}});case"fullscreenToggle":return t(t({},n),{body:{message:"Programmatic fullscreen "+(e.isFullscreen?"on":"off")}});case"networkChange":return t(t({},n),{body:t(t({},e.network),{message:"Network connection changes"})});case"pageUnload":return t(t({},n),{body:{message:"Page is about to unload (terminate)"}})}for(var r=e.event,i=t(t({},n),{level:"info",body:{message:W(r.e)}}),o=0,a=["documentReadyState","isPageVisible","isFullscreen","network"];o<a.length;o++){var u=a[o];void 0!==e[u]&&(i.body[u]=e[u])}switch(r.e){case 0:case 3:return t(t({},i),{body:t(t({},i.body),{options:r.options})});case 1:case 9:return i;case 2:case 5:case 8:case 11:case 14:return t(t({},i),{level:"error",body:t(t({},i.body),{error:r.error})});case 4:case 10:return t(t({},i),{body:t(t({},i.body),{result:r.result})});case 6:return t(t({},i),{body:t(t({},i.body),{endpoint:r.endpoint,timeout:r.timeout})});case 7:case 13:return t(t({},i),{body:t(t({},i.body),{status:r.status,body:r.body.slice(0,4096)})});case 12:return t(t({},i),{body:t(t({},i.body),{endpoint:r.endpoint,request:r.request})})}}function de(e){if(!e||"incomplete"===e.state||"fail"===e.state)return e;e.componentDurations;var r=n(e,["componentDurations"]),i=e.failedComponents.length?","+e.failedComponents.join(",")+",":void 0;return t(t({},r),{failedComponents:i})}function fe(e,n){void 0===n&&(n="_");for(var r=t({},e),i=0,o=Object.keys(e);i<o.length;i++){var a=o[i];if(/^\d+$/.test(a)){delete r[a];var u=a;do{u=""+n+u}while(u in r);r[u]=e[a]}}return r}function ve(e,n){return r(this,void 0,void 0,(function(){var r,o;return i(this,(function(i){switch(i.label){case 0:r=function(e){var n=function(e){return JSON.stringify(e,(function(e,t){return t instanceof Error?G(t):t}))},r=65536,i=n(e);o=i,new Blob([o]).size>r&&(i=n(function(e,n){var r;return t(t({},e),{data:t(t({},e.data),{body:t(t({},e.data.body),{telemetry:[{source:"client",level:"warning",timestamp_ms:Date.now(),type:"manual",body:{message:"The Rollbar request body exceeded Beacon limit of "+n+" bytes, therefore some data have been omitted"}}]}),custom:{identificationState:null===(r=e.data.custom)||void 0===r?void 0:r.identificationState,exceedsBeaconLimit:!0}})})}(e,r)));var o;return i}(n),o=0,i.label=1;case 1:return navigator.onLine&&Q({url:e,body:r})?[3,5]:[3,2];case 2:return[4,q(1e3*Math.min(o+1,10))];case 3:i.sent(),i.label=4;case 4:return++o,[3,1];case 5:return[2]}}))}))}var he={us:"https://api.sjpf.io",eu:"https://tls-eun1.fpapi.io"};function ge(e,t,n){return r(this,void 0,void 0,(function(){var r;return i(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,Y(n,(function(){return{e:6,endpoint:e,timeout:t}}),(function(e){return{e:7,status:e.status,body:e.text}}),(function(e){return{e:8,error:e}}),(function(){return K({url:e,timeout:t})}))];case 1:return r=i.sent(),[3,3];case 2:switch(i.sent().name){case"AbortError":throw new Error("Abort");case"TimeoutError":throw new Error("Timeout");default:throw new Error("Connection error")}case 3:if(200===r.status)return[2,r.text];throw new Error(r.text.slice(0,255))}}))}))}var pe="Client timeout",me="Network connection error",be="Network request aborted",we="n/a";function ye(e){var n,r=e.components,i=e.token,o=e.visitorId,a=e.tag,u=e.ipResolution,s=e.extendedResult,c=e.linkedId,l=e.tls,d=e.tlsError,f=Object.keys(r).reduce((function(e,t){return e+r[t].duration}),0),v="full"===u?2:1;return(n={}).c=i,n.url=location.href,n.d=f,n.vid=o[0]||o[1]||void 0,n.ls=o[1]?1:void 0,n.t=function(e){if(e&&"object"==typeof e)return e;if(null==e)return;return{tag:e}}(a),n.i=v,n.cbd=s?1:void 0,n.lid=c,n.cr=document.referrer||void 0,n.j=l,n.je=null==d?void 0:d.message,n.k1=Ee(r.osCpu),n.k2=Ee(r.languages),n.k3=Ee(r.colorDepth),n.k4=Ee(r.deviceMemory),n.k5=Ee(r.screenResolution),n.k6=Ee(r.availableScreenResolution,void 0,[]),n.k7=Ee(r.hardwareConcurrency),n.k8=Ee(r.timezoneOffset),n.k9=Ee(r.timezone),n.k10=Re(Ee(r.sessionStorage)),n.k11=Re(Ee(r.localStorage)),n.k12=Re(Ee(r.indexedDB)),n.k13=Re(Ee(r.openDatabase)),n.k14=Ee(r.cpuClass),n.k15=Ee(r.platform),n.k16=Ee(r.plugins,[]),n.k17=function(e){var n=e.value;if(!n)return;return t(t({},n),{data:L(n.data)})}(r.canvas),n.k18=0,n.k19=Ee(r.touchSupport),n.k20=Ee(r.fonts,[]),n.k21=Ee(r.audio,-4),n.k22=Re(Ee(r.pluginsSupport)),n.k23=Ee(r.productSub),n.k24=Ee(r.emptyEvalLength),n.k25=Re(Ee(r.errorFF)),n.k26=Re(Ee(r[0])),n.k27=Ee(r.vendor),n.k28=Re(Ee(r.chrome)),n.k29=Re(Ee(r[1])),n.k30=Re(Ee(r[2])),n.k31=Re(Ee(r[3],!1)),n.k32=Re(Ee(r.cookiesEnabled,!1)),n.k33=Re(Ee(r[4])),n.k34=Ee(r[5],-5),n}function Ee(e,t,n){return e.error?t:void 0===e.value?n:e.value}function Re(e){return!0===e?1:!1===e?0:e}function Se(e,t){if(t)return t;var n="api.fpjs.io";return"us"!==e&&(n=e+"."+n),"https://"+n}function ke(e,o){var a=e.endpoint,u=e.extendedResult,s=n(e,["endpoint","extendedResult"]);return r(this,void 0,void 0,(function(){var e;return i(this,(function(n){switch(n.label){case 0:return e=ye(t({extendedResult:u},s)),[4,Ie(a,e,o)];case 1:return[2,Ce(n.sent(),u)]}}))}))}function Ie(e,t,n){return r(this,void 0,void 0,(function(){var r,o;return i(this,(function(i){switch(i.label){case 0:r=function(e){return e+(-1===e.indexOf("?")?"?":"&")+"cv="+encodeURIComponent(N)}(e),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,Y(n,(function(){return{e:12,endpoint:r,request:t}}),(function(e){return{e:13,status:e.status,body:e.text}}),(function(e){return{e:14,error:e}}),(function(){return K({url:r,method:"post",body:JSON.stringify(t),headers:{"Content-Type":"text/plain"},withCredentials:!0})}))];case 2:return[2,i.sent()];case 3:throw o=i.sent(),new Error("AbortError"===o.name?be:me);case 4:return[2]}}))}))}function Ce(e,t){return r(this,void 0,void 0,(function(){var n,r;return i(this,(function(i){if(404===e.status||e.status>=500)throw new Error(e.statusText);try{n=JSON.parse(e.text)}catch(o){throw new Error(e.text)}if(function(e){return e&&"object"==typeof e&&"string"==typeof e.visitorId&&e.visitorId!==we}(n))return _e(n.notification),[2,Te(n)];if(function(e){return e&&"object"==typeof e&&e.visitorId===we}(n)){if(_e(n.notification),"Not available for crawl bots"===n.reason||"Not available when User-Agent is unspecified"===n.reason)return[2,Oe(n,t)];throw(r=new Error(n.reason)).requestId=n.requestId,r}throw new Error(e.text)}))}))}function Te(e){var r=e,i=r.botProbability,o=(r.notification,n(r,["botProbability","notification"])),a=t({},o);return i&&(a.bot={probability:i}),a}function Oe(e,n){var r={requestId:e.requestId,visitorFound:!1,visitorId:""};if(!n)return r;var i=t(t({},r),{bot:{probability:1},incognito:!1,browserName:we,browserVersion:we,device:we,ip:we,ipLocation:{},os:we,osVersion:we});return"Not available for crawl bots"===e.reason&&(i.bot.safe=!0),i}function _e(e){if(e){var t=e.level,n=e.message;"error"===t?console.error(n):"warning"===t?console.warn(n):console.log(n)}}function Ae(){var e,t;return(null===(t=null===(e=window.performance)||void 0===e?void 0:e.memory)||void 0===t?void 0:t.jsHeapSizeLimit)||1073741824}function xe(){return r(this,void 0,void 0,(function(){var e,t,n;return i(this,(function(r){switch(r.label){case 0:return e=navigator.storage,(t=navigator.webkitTemporaryStorage)?[4,new Promise((function(e){t.queryUsageAndQuota((function(t,n){return e(n)}))}))]:[3,2];case 1:return n=r.sent(),[3,4];case 2:return(null==e?void 0:e.estimate)?[4,e.estimate().then((function(e){return e.quota}))]:[3,4];case 3:n=r.sent(),r.label=4;case 4:return n?[2,n<Ae()]:[2,!1]}}))}))}function De(){return r(this,void 0,void 0,(function(){return i(this,(function(e){return y()?[2,Pe()]:[2,Me()]}))}))}function Pe(){var e,t=window.safari;if(!t)return!1;try{t.pushNotification.requestPermission("https://example.com","private",{},(function(){}))}catch(n){return e=n,!new RegExp([103,101,115,116,117,114,101].map((function(e){return String.fromCharCode(e)})).join("")).test(e)}throw new Error("Unexpected lack of error")}function Me(){return r(this,void 0,void 0,(function(){var e;return i(this,(function(t){switch(t.label){case 0:(e=document.createElement("iframe")).style.display="none",t.label=1;case 1:return t.trys.push([1,,3,4]),document.body.appendChild(e),[4,Promise.race([q(20,!1),new Promise((function(t){e.contentWindow?e.contentWindow.applicationCache.addEventListener("error",(function(){return t(!0)})):t(!1)}))])];case 2:return[2,t.sent()];case 3:return e.remove(),[7];case 4:return[2]}}))}))}function Le(){var e=window.openDatabase,t=window.localStorage;try{e(null,null,null,null)}catch(n){return!0}try{return t.setItem("test","1"),t.removeItem("test"),!1}catch(n){return!0}}var Ne,qe="_inc",Fe=[[function(){return b()},function(){return r(this,void 0,void 0,(function(){return i(this,(function(e){return function(){var e=navigator.userAgent.match(/Chrom(e|ium)\/([0-9]+)\./);if(!e)throw"UserAgent is not Google Chrome";return parseInt(e[2],10)}()>=76?[2,xe()]:[2,new Promise((function(e){window.webkitRequestFileSystem(0,1,(function(){return e(!1)}),(function(){return e(!0)}))}))]}))}))}],[function(){return w()},function(){return r(this,void 0,void 0,(function(){return i(this,(function(e){return function(){var e=navigator.userAgent.match(/Version\/([0-9._]+).*Safari/);if(!e)throw new Error("UserAgent is not Safari");var t=e[1].split(".").map((function(e){return isNaN(parseInt(e))?0:parseInt(e)})),n=t[0],r=t[1],i=t[2];return{major:n,minor:r,patch:i}}().major<13?[2,Le()]:[2,De()]}))}))}],[function(){return function(){var e,t,n=window;return g(["buildID"in navigator,"MozAppearance"in(null!==(t=null===(e=document.documentElement)||void 0===e?void 0:e.style)&&void 0!==t?t:{}),"MediaRecorderErrorEvent"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}()},function(){return new Promise((function(e){try{var t=indexedDB.open("test");t.onerror=function(){return e(!0)},t.onsuccess=function(){return e(!1)}}catch(n){return e(!0)}}))}],[function(){return p()||m()},function(){try{if(!window.indexedDB)return!0}catch(e){return!0}return!1}]];function je(){return r(this,void 0,void 0,(function(){var e,t,n,r,o;return i(this,(function(i){switch(i.label){case 0:e=0,t=Fe,i.label=1;case 1:return e<t.length?(n=t[e],r=n[0],o=n[1],r()?[4,o()]:[3,3]):[3,4];case 2:return[2,i.sent()];case 3:return e++,[3,1];case 4:return[2,!1]}}))}))}var Be=((Ne={})[0]=function(){return void 0!==navigator.webdriver},Ne[1]=function(){return r(this,void 0,void 0,(function(){var e,t;return i(this,(function(n){switch(n.label){case 0:return(e=navigator.permissions)?[4,e.query({name:"notifications"})]:[2,void 0];case 1:return t=n.sent(),"undefined"==typeof Notification?[2,void 0]:[2,"denied"===Notification.permission&&"prompt"===t.state]}}))}))},Ne[2]=function(){var e=window,t=document,n=t.documentElement;return"webdriver"in e||"_Selenium_IDE_Recorder"in e||"callSelenium"in e||"_selenium"in e||"__webdriver_script_fn"in t||"__driver_evaluate"in t||"__webdriver_evaluate"in t||"__selenium_evaluate"in t||"__fxdriver_evaluate"in t||"__driver_unwrapped"in t||"__webdriver_unwrapped"in t||"__selenium_unwrapped"in t||"__fxdriver_unwrapped"in t||"__webdriver_script_func"in t||null!==n.getAttribute("selenium")||null!==n.getAttribute("webdriver")||null!==n.getAttribute("driver")},Ne[3]=function(){return r(this,void 0,void 0,(function(){var e,t;return i(this,(function(n){switch(n.label){case 0:if(void 0!==(e=function(){try{var e=localStorage.getItem(qe);if(!e)return;return"1"===e}catch(t){return}}()))return[2,e];n.label=1;case 1:return n.trys.push([1,3,,4]),[4,je()];case 2:return function(e){try{localStorage.setItem(qe,e?"1":"0")}catch(t){}}(t=n.sent()),[2,t];case 3:return n.sent(),[2,!1];case 4:return[2]}}))}))},Ne[4]=function(){var e=window;if(!b())return!1;try{if([66,114,97,118,101].map((function(e){return String.fromCharCode(e)})).join("")in e)return!0;var t=document.createElement("canvas");t.width=4,t.height=4,t.style.display="inline";var n=t.toDataURL();if(""===n)return!0;for(var r=window.atob(n.split(",")[1]),i=r.length,o=new Uint8Array(i),a=0;a<i;a++)o[a]=r.charCodeAt(a);var u=$(o,[73,68,65,84,24]);if(-1===u)return!1;var s=$(o,[73,69,78,68]);return-1!==u&&1321!==o.slice(u+5,s).reduce((function(e,t){return e+t}),0)}catch(c){return!1}},Ne[5]=function(){return r(this,void 0,void 0,(function(){var e,t,n;return i(this,(function(r){switch(r.label){case 0:if(!b()&&!w())return[2,-2];if(e=window,!(t=e.RTCPeerConnection||e.webkitRTCPeerConnection))return[2,-3];n=new t({iceServers:[]}),r.label=1;case 1:return r.trys.push([1,,3,4]),[4,new Promise((function(e,t){var r=function(){return e(-1)};n.onicecandidate=function(t){var n=t.candidate;if(!n)return r();var i=function(e){var t=/candidate:(\d+)\b/i.exec(e);return t?+t[1]:void 0}(n.candidate);void 0!==i&&e(i)},n.onicegatheringstatechange=function(){"complete"===n.iceGatheringState&&r()},n.onicecandidateerror=t,n.createDataChannel("test"),function(e,t){try{return e.createOffer(t)}catch(n){if(/\bcreateOffer\b.*(\bcallback\b.*\bnot a function\b|\barguments required\b.*\bpresent\b)/i.test(n.message))return new Promise((function(n,r){e.createOffer(n,r,t)}));throw n}}(n).then((function(e){return n.setLocalDescription(e)}),t),setTimeout((function(){return e(-4)}),500)}))];case 2:return[2,r.sent()];case 3:return n.close(),[7];case 4:return[2]}}))}))},Ne);function Ue(){return A(Be,void 0,[])}function Ve(e){for(var t=e+"=",n=0,r=document.cookie.split(";");n<r.length;n++){for(var i=r[n],o=0;" "===i[o]&&o<i.length;)++o;if(i.indexOf(t)===o)return i.slice(o+t.length)}}function Ge(e,t,n,r){var i=e+"="+t,o="expires="+new Date(Date.now()+24*n*60*60*1e3).toUTCString(),a=r?"domain="+r:"";document.cookie=[i,"path=/",o,a,"SameSite=Lax"].join("; ")}function He(e,t,n){var r=location.hostname;We(r,(function(t){!function(e,t){Ge(e,"",-1,t)}(e,t)})),We(r,(function(r){return Ge(e,t,n,r),Ve(e)!==t}))&&Ge(e,t,n)}function We(e,t){var n=e.length;do{if(n=n>0?e.lastIndexOf(".",n-1):-1,!1===t(e.slice(n+1)))return!1}while(n>=0);return!0}var ze="_vid";function Je(e){return void 0===e&&(e=ze),[Ve(e),Xe(e)]}function Ke(e,t){void 0===t&&(t=ze),He(t,e,365),function(e,t){var n;try{null===(n=null===localStorage||void 0===localStorage?void 0:localStorage.setItem)||void 0===n||n.call(localStorage,e,t)}catch(r){}}(t,e)}function Xe(e){var t,n;try{return null!==(n=null===(t=null===localStorage||void 0===localStorage?void 0:localStorage.getItem)||void 0===t?void 0:t.call(localStorage,e))&&void 0!==n?n:void 0}catch(r){}}function Qe(e,n,o,a){var u=this,s=a.token,c=a.region,l=void 0===c?"us":c,d=a.endpoint,f=a.tlsEndpoint,v=a.storageKey,h=a.debug;var g=function(e,n,o,a,c,h,g){return r(u,void 0,void 0,(function(){var r,u,b,w;return i(this,(function(i){switch(i.label){case 0:return[4,Promise.all([p(l,f,a,!!o,g),m(g)])];case 1:return r=i.sent(),u=r[0],b=r[1],[4,ke(t(t({},u),{token:s,endpoint:Se(l,d),components:b,tag:e,visitorId:Je(v),linkedId:n,extendedResult:c,ipResolution:h}),g)];case 2:return Ke((w=i.sent()).visitorId,v),[2,w]}}))}))},p=function(e,t,n,o,a){return r(u,void 0,void 0,(function(){return i(this,(function(r){return o?[2,void 0]:[2,ge(function(e,t){return t||he[e]}(e,t),n,a).then((function(e){return{tls:e}}),(function(e){return{tlsError:e}}))]}))}))},m=function(e){return Y(e,(function(){return{e:9}}),(function(e){return{e:10,result:e}}),(function(e){return{e:11,error:e}}),(function(){return r(u,void 0,void 0,(function(){var e,r;return i(this,(function(i){switch(i.label){case 0:return[4,n.get()];case 1:return e=i.sent(),[4,o()];case 2:return r=i.sent(),[2,t(t({},e.components),r)]}}))}))}))};return{get:function(n){void 0===n&&(n={});var r=h||n.debug?function(e,n,r){return function(i){return e(t(t({},i),{agentId:n,getCallId:r}))}}(V([h,n.debug&&z()]),e,U(8)):void 0;return Y(r,(function(){return{e:3,options:n}}),(function(e){return{e:4,requestId:e.requestId,visitorId:e.visitorId,result:e}}),(function(e){return{e:5,requestId:e.requestId,error:e}}),(function(){var e=n.timeout,t=void 0===e?1e4:e,i=n.tag,o=n.linkedId,a=n.disableTls,u=n.extendedResult,s=n.ipResolution;return Promise.race([F(t).then((function(){throw new Error(pe)})),g(i,o,a,t/2,u,s,r)])}))}}}function $e(e){var t=this,n=U(8);return Y(e.debug,(function(){return{e:0,agentId:n,version:N,options:e}}),(function(){return{e:1,agentId:n}}),(function(e){return{e:2,agentId:n,error:e}}),(function(){return r(t,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:if(!e.token||"string"!=typeof e.token)throw new Error("Token required");return[4,M({delayFallback:e.delayFallback})];case 1:return t=r.sent(),[2,Qe(n,t,Ue,e)]}}))}))}))}var Ye="Token required",Ze="Token not found",et="Token expired",tt="Request cannot be parsed",nt="Request failed",rt="Request failed to process",it="Too many requests, rate limit exceeded",ot="Not available for this origin",at="Not available with restricted header",ut={load:$e,ERROR_CLIENT_TIMEOUT:pe,ERROR_NETWORK_CONNECTION:me,ERROR_NETWORK_ABORT:be,ERROR_TOKEN_MISSING:Ye,ERROR_TOKEN_INVALID:Ze,ERROR_TOKEN_EXPIRED:et,ERROR_BAD_REQUEST_FORMAT:tt,ERROR_GENERAL_SERVER_FAILURE:nt,ERROR_SERVER_TIMEOUT:rt,ERROR_RATE_LIMIT:it,ERROR_FORBIDDEN_ORIGIN:ot,ERROR_FORBIDDEN_HEADER:at};e.ERROR_BAD_REQUEST_FORMAT=tt,e.ERROR_CLIENT_TIMEOUT=pe,e.ERROR_FORBIDDEN_HEADER=at,e.ERROR_FORBIDDEN_ORIGIN=ot,e.ERROR_GENERAL_SERVER_FAILURE=nt,e.ERROR_NETWORK_ABORT=be,e.ERROR_NETWORK_CONNECTION=me,e.ERROR_RATE_LIMIT=it,e.ERROR_SERVER_TIMEOUT=rt,e.ERROR_TOKEN_EXPIRED=et,e.ERROR_TOKEN_INVALID=Ze,e.ERROR_TOKEN_MISSING=Ye,e.default=ut,e.load=$e,e.makeConsoleDebugger=z,e.makeDebugReportBuilder=function(e){return new ee(e).addEvent},e.makeMulticastDebugger=V,e.makeRemoteDebugger=function(e){var t=this,n=e.clientId,o=e.token,a=e.endpoint,u=void 0===a?"https://api.rollbar.com/api/1/item/":a;return new ee((function(e){return r(t,void 0,void 0,(function(){var t;return i(this,(function(r){switch(r.label){case 0:return t=function(e,t,n,r){return{access_token:n,data:se(e,t,r)}}(e,n,o),[4,ve(u,t)];case 1:return r.sent(),[2]}}))}))})).addEvent},Object.defineProperty(e,"__esModule",{value:!0})})); |
{ | ||
"name": "@fingerprintjs/fingerprintjs-pro", | ||
"description": "FingerprintJS Pro client agent", | ||
"version": "3.2.3", | ||
"version": "3.2.4", | ||
"keywords": [ | ||
@@ -33,2 +33,3 @@ "browser", | ||
"test:dts": "tsc --noEmit dist/fp.d.ts", | ||
"test:ssr": "node --require './dist/fp.cjs.min.js' --eval '' || (echo \"The distributive files can't be used with server side rendering. Make sure the code doesn't use browser API until an exported function is called.\" && exit 1)", | ||
"open-dev:on": "git submodule update --init && yarn add link:subpackages/fingerprintjs && yarn --cwd subpackages/fingerprintjs install && yarn --cwd subpackages/fingerprintjs build", | ||
@@ -39,3 +40,3 @@ "open-dev:off": "yarn add @fingerprintjs/fingerprintjs --exact", | ||
"dependencies": { | ||
"@fingerprintjs/fingerprintjs": "3.0.5", | ||
"@fingerprintjs/fingerprintjs": "3.0.6", | ||
"tslib": "^2.0.1" | ||
@@ -42,0 +43,0 @@ }, |
@@ -76,1 +76,3 @@ <p align="center"> | ||
📕 [FingerprintJS Pro documentation](https://dev.fingerprintjs.com) | ||
▶️ [Video: use FingerprintJS Pro to prevent multiple signups](https://www.youtube.com/watch?v=jWX9P5_jZn8) |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
183662
1239
78
+ Added@fingerprintjs/fingerprintjs@3.0.6(transitive)
- Removed@fingerprintjs/fingerprintjs@3.0.5(transitive)