@rebilly/risk-data-collector
Advanced tools
Comparing version 3.7.0 to 3.7.1
@@ -0,1 +1,8 @@ | ||
## [3.7.1](https://github.com/Rebilly/rebilly/compare/risk-data-collector-v3.7.0...risk-data-collector-v3.7.1) (2023-09-22) | ||
### Bug Fixes | ||
* Revert Fingerprint version ([#1493](https://github.com/Rebilly/rebilly/issues/1493)) ([f448a3c](https://github.com/Rebilly/rebilly/commit/f448a3c4ed536f4c5d9bb7709f339f22ca61caab)) | ||
## [3.7.0](https://github.com/Rebilly/rebilly/compare/risk-data-collector-v3.6.0...risk-data-collector-v3.7.0) (2023-09-18) | ||
@@ -2,0 +9,0 @@ |
@@ -1,3 +0,3 @@ | ||
function t(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function e(e){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=e.apply(r,n);function u(e){t(a,o,i,u,c,"next",e)}function c(e){t(a,o,i,u,c,"throw",e)}u(void 0)}))}}function r(t,e,r){return t(r={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&r.path)}},r.exports),r.exports}var n=r((function(t){function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})),o=r((function(t){var e=n.default;function r(){ | ||
function t(t,e,n,r,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void n(t)}c.done?e(u):Promise.resolve(u).then(r,o)}function e(e){return function(){var n=this,r=arguments;return new Promise((function(o,a){var i=e.apply(n,r);function c(e){t(i,o,a,c,u,"next",e)}function u(e){t(i,o,a,c,u,"throw",e)}c(void 0)}))}}function n(t,e,n){return t(n={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},n.exports),n.exports}var r=n((function(t){function e(n){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})),o=n((function(t){var e=r.default;function n(){ | ||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ | ||
t.exports=r=function(){return o},t.exports.__esModule=!0,t.exports.default=t.exports;var n,o={},i=Object.prototype,a=i.hasOwnProperty,u=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",f=c.toStringTag||"@@toStringTag";function p(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{p({},"")}catch(n){p=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof g?e:g,i=Object.create(o.prototype),a=new P(n||[]);return u(i,"_invoke",{value:N(t,r,a)}),i}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}o.wrap=h;var v="suspendedStart",y="suspendedYield",m="executing",R="completed",E={};function g(){}function w(){}function b(){}var O={};p(O,s,(function(){return this}));var _=Object.getPrototypeOf,I=_&&_(_(j([])));I&&I!==i&&a.call(I,s)&&(O=I);var x=b.prototype=g.prototype=Object.create(O);function S(t){["next","throw","return"].forEach((function(e){p(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,r){function n(o,i,u,c){var s=d(t[o],t,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==e(f)&&a.call(f,"__await")?r.resolve(f.__await).then((function(t){n("next",t,u,c)}),(function(t){n("throw",t,u,c)})):r.resolve(f).then((function(t){l.value=t,u(l)}),(function(t){return n("throw",t,u,c)}))}c(s.arg)}var o;u(this,"_invoke",{value:function(t,e){function i(){return new r((function(r,o){n(t,e,r,o)}))}return o=o?o.then(i,i):i()}})}function N(t,e,r){var o=v;return function(i,a){if(o===m)throw new Error("Generator is already running");if(o===R){if("throw"===i)throw a;return{value:n,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=L(u,r);if(c){if(c===E)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===v)throw o=R,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var s=d(t,e,r);if("normal"===s.type){if(o=r.done?R:y,s.arg===E)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=R,r.method="throw",r.arg=s.arg)}}}function L(t,e){var r=e.method,o=t.iterator[r];if(o===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=n,L(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),E;var i=d(o,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,E;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,E):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,E)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function j(t){if(t||""===t){var r=t[s];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function e(){for(;++o<t.length;)if(a.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=n,e.done=!0,e};return i.next=i}}throw new TypeError(e(t)+" is not iterable")}return w.prototype=b,u(x,"constructor",{value:b,configurable:!0}),u(b,"constructor",{value:w,configurable:!0}),w.displayName=p(b,f,"GeneratorFunction"),o.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},o.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,p(t,f,"GeneratorFunction")),t.prototype=Object.create(x),t},o.awrap=function(t){return{__await:t}},S(k.prototype),p(k.prototype,l,(function(){return this})),o.AsyncIterator=k,o.async=function(t,e,r,n,i){void 0===i&&(i=Promise);var a=new k(h(t,e,r,n),i);return o.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(x),p(x,f,"Generator"),p(x,s,(function(){return this})),p(x,"toString",(function(){return"[object Generator]"})),o.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},o.values=j,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(A),!t)for(var e in this)"t"===e.charAt(0)&&a.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,o){return u.type="throw",u.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),s=a.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,E):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),E},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),E}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;A(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:j(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),E}},o}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports})),i=o(),a=i;try{regeneratorRuntime=i}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}var c=function(){return c=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},c.apply(this,arguments)};function s(t){for(var e="",r=0;r<t.length;++r)if(r>0){var n=t[r].toLowerCase();n!==t[r]?e+=" ".concat(n):e+=t[r]}else e+=t[r].toUpperCase();return e}"function"==typeof SuppressedError&&SuppressedError;var l="Blocked by CSP",f=s("WrongRegion"),p=s("SubscriptionNotActive"),h=s("UnsupportedVersion"),d=s("InstallationMethodRestricted"),v="API key required",y="API key not found",m="API key expired",R="9319";function E(t,e){var r=[];return function(t,e){var r,n,o=(n=function(t,e,r){if(r||2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}([],t,!0),{current:function(){return n[0]},postpone:function(){var t=n.shift();void 0!==t&&n.push(t)},exclude:function(){n.shift()}}),i=(100,3e3,r=0,function(){return Math.random()*Math.min(3e3,100*Math.pow(2,r++))}),a=o.current();if(void 0===a)return Promise.reject(new TypeError("The list of script URL patterns is empty"));var u=function(t,r){return e(t).catch((function(t){if(r+1>=5)throw t;!function(t){if(!(t instanceof Error))return!1;var e=t.message;return e===l||e===R}(t)?o.postpone():o.exclude();var e,n=o.current();if(void 0===n)throw t;return(e=i(),new Promise((function(t){return setTimeout(t,e)}))).then((function(){return u(n,r+1)}))}))};return u(a,0)}(t,(function(t){var n=new Date,o=function(e){return r.push({url:t,startedAt:n,finishedAt:new Date,error:e})},i=e(t);return i.then((function(){return o()}),o),i})).then((function(t){return[t,{attempts:r}]}))}var g="https://fpnpmcdn.net/v<version>/<apiKey>/loader_v<loaderVersion>.js",w="Failed to load the JS script of the agent";function b(t){return function(t,e,r,n){var o,i=document,a="securitypolicyviolation",u=function(e){var r=new URL(t,location.href),n=e.blockedURI;n!==r.href&&n!==r.protocol.slice(0,-1)&&n!==r.origin||(o=e,c())};i.addEventListener(a,u);var c=function(){return i.removeEventListener(a,u)};return Promise.resolve().then(e).then((function(t){return c(),t}),(function(t){return new Promise((function(t){return setTimeout(t)})).then((function(){if(c(),o)return function(){throw new Error(l)}();throw t}))}))}(t,(function(){return function(t){return new Promise((function(e,r){var n=document.createElement("script"),o=function(){var t;return null===(t=n.parentNode)||void 0===t?void 0:t.removeChild(n)},i=document.head||document.getElementsByTagName("head")[0];n.onload=function(){o(),e()},n.onerror=function(){o(),r(new Error(w))},n.async=!0,n.src=t,i.appendChild(n)}))}(t)})).then(O)}function O(){var t=window,e="__fpjs_p_l_b",r=t[e];if(function(t,e){var r,n=null===(r=Object.getOwnPropertyDescriptor)||void 0===r?void 0:r.call(Object,t,e);(null==n?void 0:n.configurable)?delete t[e]:n&&!n.writable||(t[e]=void 0)}(t,e),"function"!=typeof(null==r?void 0:r.load))throw new Error(R);return r}function _(t){throw t instanceof Error&&t.message===R?new Error(w):t}var I={load:function(t){var e;t.scriptUrlPattern;var r=t.token,n=t.apiKey,o=void 0===n?r:n,i=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}(t,["scriptUrlPattern","token","apiKey"]),a=null!==(e=function(t,e){return function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}(t,e)?t[e]:void 0}(t,"scriptUrlPattern"))&&void 0!==e?e:g;return Promise.resolve().then((function(){if(!o||"string"!=typeof o)throw new Error(v);return E(function(t,e){return(Array.isArray(t)?t:[t]).map((function(t){return function(t,e){var r=encodeURIComponent;return t.replace(/<[^<>]+>/g,(function(t){return"<version>"===t?"3":"<apiKey>"===t?r(e):"<loaderVersion>"===t?r("3.8.5"):t}))}(String(t),e)}))}(a,o),b).catch(_)})).then((function(t){var e=t[0],r=t[1];return e.load(c(c({},i),{ldi:r}))}))},defaultScriptUrlPattern:g,ERROR_SCRIPT_LOAD_FAIL:w,ERROR_API_KEY_EXPIRED:m,ERROR_API_KEY_INVALID:y,ERROR_API_KEY_MISSING:v,ERROR_BAD_REQUEST_FORMAT:"Request cannot be parsed",ERROR_BAD_RESPONSE_FORMAT:"Response cannot be parsed",ERROR_CLIENT_TIMEOUT:"Client timeout",ERROR_CSP_BLOCK:l,ERROR_FORBIDDEN_ENDPOINT:s("HostnameRestricted"),ERROR_FORBIDDEN_HEADER:"Not available with restricted header",ERROR_FORBIDDEN_ORIGIN:"Not available for this origin",ERROR_GENERAL_SERVER_FAILURE:"Request failed",ERROR_INSTALLATION_METHOD_RESTRICTED:d,ERROR_INTEGRATION_FAILURE:s("IntegrationFailed"),ERROR_INVALID_ENDPOINT:"The endpoint parameter is not a valid URL",ERROR_NETWORK_ABORT:"Network request aborted",ERROR_NETWORK_CONNECTION:"Network connection error",ERROR_RATE_LIMIT:"Too many requests, rate limit exceeded",ERROR_SERVER_TIMEOUT:"Request failed to process",ERROR_SUBSCRIPTION_NOT_ACTIVE:p,ERROR_TOKEN_EXPIRED:m,ERROR_TOKEN_INVALID:y,ERROR_TOKEN_MISSING:v,ERROR_UNSUPPORTED_VERSION:h,ERROR_WRONG_REGION:f,defaultEndpoint:{default:"endpoint"},defaultTlsEndpoint:{default:"tlsEndpoint"}};function x(){return S.apply(this,arguments)}function S(){return(S=e(a.mark((function t(){var e,r,n,o;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,e="object"===("undefined"==typeof Cypress?"undefined":u(Cypress)),r="object"===("undefined"==typeof process?"undefined":u(process))&&"test"===process.env.NODE_ENV,!e&&!r){t.next=5;break}return t.abrupt("return","a-mock-visitor-id");case 5:return t.next=7,I.load({apiKey:"hpFVJecm7Ni7AjSfvBIW"});case 7:return n=t.sent,t.next=10,n.get();case 10:return o=t.sent,t.abrupt("return",o.visitorId);case 14:return t.prev=14,t.t0=t.catch(0),console.log(t.t0),t.abrupt("return","");case 18:case"end":return t.stop()}}),t,null,[[0,14]])})))).apply(this,arguments)}function k(){return N.apply(this,arguments)}function N(){return(N=e(a.mark((function t(){return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise((function(t){window.requestIdleCallback?requestIdleCallback(e(a.mark((function e(){var r;return a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,x();case 2:r=e.sent,t(r);case 4:case"end":return e.stop()}}),e)})))):setTimeout(e(a.mark((function e(){var r;return a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,x();case 2:r=e.sent,t(r);case 4:case"end":return e.stop()}}),e)}))),500)})));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var L=function(t){var e=t.env,r=t.kountAccountId,n=t.kountSessionId,o=function(t){return"production"===t}(e)?"https://ssl.kaptcha.com":"https://tst.kaptcha.com",i=new URL("".concat(o,"/collect/sdk"));i.searchParams.append("m",r),n&&i.searchParams.append("m",n);var a=document.createElement("script");return a.setAttribute("class","kaxsdc"),a.setAttribute("data-event","load"),a.setAttribute("type","text/javascript"),a.setAttribute("src",i.href),document.body.append(a),a};function T(t){return A.apply(this,arguments)}function A(){return(A=e(a.mark((function t(e){var r,n,o;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.env,n=e.kountAccountId,o=e.kountSessionId,t.abrupt("return",new Promise((function(t,e){var i=L({env:r,kountAccountId:n,kountSessionId:o});i.onload=function(){var e=new ka.ClientSDK;e.setupCallback({"collect-begin":function(e){var r=e.MercSessId;t(r)}}),e.autoLoadEvents()},i.onerror=function(){e(new Error("Error attempting to mount Kount script"))}})));case 2:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function P(t){return j.apply(this,arguments)}function j(){return j=e(a.mark((function t(e){var r,n,o,i,u,c,s,l,f,p,h,d,v,y,m,R,E,g,w,b;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.env,n=void 0===r?null:r,o=e.screen,i=e.navigator,u=e.kountAccountId,c=void 0===u?null:u,s=e.kountSessionId,l=void 0===s?null:s,f=e.getFingerprint,p=e.getFraudSessionId,d=(h=o||{}).colorDepth,v=h.height,y=h.width,R=(m=i||{}).javaEnabled,E=m.language,t.prev=3,t.next=6,f();case 6:if(g=t.sent,!c){t.next=11;break}return t.next=10,p({env:n,kountAccountId:c,kountSessionId:l});case 10:w=t.sent;case 11:t.next=16;break;case 13:t.prev=13,t.t0=t.catch(3),console.error(t.t0);case 16:return b={riskMetadata:{fingerprint:g||null,extraData:{kountFraudSessionId:w||null},browserData:{colorDepth:d||null,isJavaEnabled:R?R.call(i):null,language:E||null,screenHeight:v||null,screenWidth:y||null,timeZoneOffset:(new Date).getTimezoneOffset()}}},t.abrupt("return",b);case 18:case"end":return t.stop()}}),t,null,[[3,13]])}))),j.apply(this,arguments)}function D(){return C.apply(this,arguments)}function C(){return C=e(a.mark((function t(){var e,r,n,o,i,u,c,s=arguments;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=(e=s.length>0&&void 0!==s[0]?s[0]:{}).env,n=void 0===r?null:r,o=e.kountAccountId,i=void 0===o?null:o,u=e.kountSessionId,c=void 0===u?null:u,t.abrupt("return",P({env:n,screen:screen,navigator:navigator,kountAccountId:i,kountSessionId:c,getFingerprint:k,getFraudSessionId:T}));case 2:case"end":return t.stop()}}),t)}))),C.apply(this,arguments)}export{D as collectData,P as collectDataHelper}; | ||
t.exports=n=function(){return o},t.exports.__esModule=!0,t.exports.default=t.exports;var r,o={},a=Object.prototype,i=a.hasOwnProperty,c=Object.defineProperty||function(t,e,n){t[e]=n.value},u="function"==typeof Symbol?Symbol:{},s=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",d=u.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(r){f=function(t,e,n){return t[e]=n}}function h(t,e,n,r){var o=e&&e.prototype instanceof w?e:w,a=Object.create(o.prototype),i=new A(r||[]);return c(a,"_invoke",{value:I(t,n,i)}),a}function m(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}o.wrap=h;var v="suspendedStart",p="suspendedYield",y="executing",b="completed",g={};function w(){}function L(){}function k(){}var x={};f(x,s,(function(){return this}));var V=Object.getPrototypeOf,S=V&&V(V(G([])));S&&S!==a&&i.call(S,s)&&(x=S);var Z=k.prototype=w.prototype=Object.create(x);function W(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function C(t,n){function r(o,a,c,u){var s=m(t[o],t,a);if("throw"!==s.type){var l=s.arg,d=l.value;return d&&"object"==e(d)&&i.call(d,"__await")?n.resolve(d.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):n.resolve(d).then((function(t){l.value=t,c(l)}),(function(t){return r("throw",t,c,u)}))}u(s.arg)}var o;c(this,"_invoke",{value:function(t,e){function a(){return new n((function(n,o){r(t,e,n,o)}))}return o=o?o.then(a,a):a()}})}function I(t,e,n){var o=v;return function(a,i){if(o===y)throw new Error("Generator is already running");if(o===b){if("throw"===a)throw i;return{value:r,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var u=F(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===v)throw o=b,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var s=m(t,e,n);if("normal"===s.type){if(o=n.done?b:p,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=b,n.method="throw",n.arg=s.arg)}}}function F(t,e){var n=e.method,o=t.iterator[n];if(o===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=r,F(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var a=m(o,t.iterator,e.arg);if("throw"===a.type)return e.method="throw",e.arg=a.arg,e.delegate=null,g;var i=a.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,g):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function j(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function M(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function G(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function e(){for(;++o<t.length;)if(i.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=r,e.done=!0,e};return a.next=a}}throw new TypeError(e(t)+" is not iterable")}return L.prototype=k,c(Z,"constructor",{value:k,configurable:!0}),c(k,"constructor",{value:L,configurable:!0}),L.displayName=f(k,d,"GeneratorFunction"),o.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===L||"GeneratorFunction"===(e.displayName||e.name))},o.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,k):(t.__proto__=k,f(t,d,"GeneratorFunction")),t.prototype=Object.create(Z),t},o.awrap=function(t){return{__await:t}},W(C.prototype),f(C.prototype,l,(function(){return this})),o.AsyncIterator=C,o.async=function(t,e,n,r,a){void 0===a&&(a=Promise);var i=new C(h(t,e,n,r),a);return o.isGeneratorFunction(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},W(Z),f(Z,d,"Generator"),f(Z,s,(function(){return this})),f(Z,"toString",(function(){return"[object Generator]"})),o.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},o.values=G,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(M),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return c.type="throw",c.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),M(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;M(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:G(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),g}},o}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}))(),a=o;try{regeneratorRuntime=o}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}var i=function(){return i=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};function c(t,e,n,r){return new(n||(n=Promise))((function(o,a){function i(t){try{u(r.next(t))}catch(t){a(t)}}function c(t){try{u(r.throw(t))}catch(t){a(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,c)}u((r=r.apply(t,e||[])).next())}))}function u(t,e){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(c){return function(u){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(6===c[0]&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=e.call(t,i)}catch(t){c=[6,t],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,u])}}}function s(t,e,n){if(n||2===arguments.length)for(var r,o=0,a=e.length;o<a;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var l="3.4.2";function d(t,e){return new Promise((function(n){return setTimeout(n,t,e)}))}function f(t){return!!t&&"function"==typeof t.then}function h(t,e){try{var n=t();f(n)?n.then((function(t){return e(!0,t)}),(function(t){return e(!1,t)})):e(!0,n)}catch(t){e(!1,t)}}function m(t,e,n){return void 0===n&&(n=16),c(this,void 0,void 0,(function(){var r,o,a,i;return u(this,(function(c){switch(c.label){case 0:r=Array(t.length),o=Date.now(),a=0,c.label=1;case 1:return a<t.length?(r[a]=e(t[a],a),(i=Date.now())>=o+n?(o=i,[4,d(0)]):[3,3]):[3,4];case 2:c.sent(),c.label=3;case 3:return++a,[3,1];case 4:return[2,r]}}))}))}function v(t){t.then(void 0,(function(){}))}function p(t,e){t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]],e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]];var n=[0,0,0,0];return n[3]+=t[3]+e[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=t[2]+e[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=t[1]+e[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=t[0]+e[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function y(t,e){t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]],e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]];var n=[0,0,0,0];return n[3]+=t[3]*e[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=t[2]*e[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=t[3]*e[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=t[1]*e[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=t[2]*e[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=t[3]*e[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=t[0]*e[3]+t[1]*e[2]+t[2]*e[1]+t[3]*e[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function b(t,e){return 32===(e%=64)?[t[1],t[0]]:e<32?[t[0]<<e|t[1]>>>32-e,t[1]<<e|t[0]>>>32-e]:(e-=32,[t[1]<<e|t[0]>>>32-e,t[0]<<e|t[1]>>>32-e])}function g(t,e){return 0===(e%=64)?t:e<32?[t[0]<<e|t[1]>>>32-e,t[1]<<e]:[t[1]<<e-32,0]}function w(t,e){return[t[0]^e[0],t[1]^e[1]]}function L(t){return t=w(t,[0,t[0]>>>1]),t=w(t=y(t,[4283543511,3981806797]),[0,t[0]>>>1]),t=w(t=y(t,[3301882366,444984403]),[0,t[0]>>>1])}function k(t){return parseInt(t)}function x(t){return parseFloat(t)}function V(t,e){return"number"==typeof t&&isNaN(t)?e:t}function S(t){return t.reduce((function(t,e){return t+(e?1:0)}),0)}function Z(t,e){if(void 0===e&&(e=1),Math.abs(e)>=1)return Math.round(t/e)*e;var n=1/e;return Math.round(t*n)/n}function W(t){return t&&"object"==typeof t&&"message"in t?t:{message:t}}function C(t,e,n){var r=Object.keys(t).filter((function(t){return!function(t,e){for(var n=0,r=t.length;n<r;++n)if(t[n]===e)return!0;return!1}(n,t)})),o=m(r,(function(n){return function(t,e){var n=new Promise((function(n){var r=Date.now();h(t.bind(null,e),(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var o=Date.now()-r;if(!t[0])return n((function(){return{error:W(t[1]),duration:o}}));var a=t[1];if(function(t){return"function"!=typeof t}(a))return n((function(){return{value:a,duration:o}}));n((function(){return new Promise((function(t){var e=Date.now();h(a,(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var a=o+Date.now()-e;if(!n[0])return t({error:W(n[1]),duration:a});t({value:n[1],duration:a})}))}))}))}))}));return v(n),function(){return n.then((function(t){return t()}))}}(t[n],e)}));return v(o),function(){return c(this,void 0,void 0,(function(){var t,e,n,a;return u(this,(function(i){switch(i.label){case 0:return[4,o];case 1:return[4,m(i.sent(),(function(t){var e=t();return v(e),e}))];case 2:return t=i.sent(),[4,Promise.all(t)];case 3:for(e=i.sent(),n={},a=0;a<r.length;++a)n[r[a]]=e[a];return[2,n]}}))}))}}function I(){var t=window,e=navigator;return S(["MSCSSMatrix"in t,"msSetImmediate"in t,"msIndexedDB"in t,"msMaxTouchPoints"in e,"msPointerEnabled"in e])>=4}function F(){var t=window,e=navigator;return S(["webkitPersistentStorage"in e,"webkitTemporaryStorage"in e,0===e.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in t,"BatteryManager"in t,"webkitMediaStream"in t,"webkitSpeechGrammar"in t])>=5}function j(){var t=window,e=navigator;return S(["ApplePayError"in t,"CSSPrimitiveValue"in t,"Counter"in t,0===e.vendor.indexOf("Apple"),"getStorageUpdates"in e,"WebKitMediaKeys"in t])>=4}function M(){var t=window;return S(["safari"in t,!("DeviceMotionEvent"in t),!("ongestureend"in t),!("standalone"in navigator)])>=3}function A(){var t=document;return(t.exitFullscreen||t.msExitFullscreen||t.mozCancelFullScreen||t.webkitExitFullscreen).call(t)}function G(){var t=F(),e=function(){var t,e,n=window;return S(["buildID"in navigator,"MozAppearance"in(null!==(e=null===(t=document.documentElement)||void 0===t?void 0:t.style)&&void 0!==e?e:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}();if(!t&&!e)return!1;var n=window;return S(["onorientationchange"in n,"orientation"in n,t&&!("SharedWorker"in n),e&&/android/i.test(navigator.appVersion)])>=2}function R(t){var e=new Error(t);return e.name=t,e}function Y(t,e,n){var r,o,a;return void 0===n&&(n=50),c(this,void 0,void 0,(function(){var i,c;return u(this,(function(u){switch(u.label){case 0:i=document,u.label=1;case 1:return i.body?[3,3]:[4,d(n)];case 2:return u.sent(),[3,1];case 3:c=i.createElement("iframe"),u.label=4;case 4:return u.trys.push([4,,10,11]),[4,new Promise((function(t,n){var r=!1,o=function(){r=!0,t()};c.onload=o,c.onerror=function(t){r=!0,n(t)};var a=c.style;a.setProperty("display","block","important"),a.position="absolute",a.top="0",a.left="0",a.visibility="hidden",e&&"srcdoc"in c?c.srcdoc=e:c.src="about:blank",i.body.appendChild(c);var u=function(){var t,e;r||("complete"===(null===(e=null===(t=c.contentWindow)||void 0===t?void 0:t.document)||void 0===e?void 0:e.readyState)?o():setTimeout(u,10))};u()}))];case 5:u.sent(),u.label=6;case 6:return(null===(o=null===(r=c.contentWindow)||void 0===r?void 0:r.document)||void 0===o?void 0:o.body)?[3,8]:[4,d(n)];case 7:return u.sent(),[3,6];case 8:return[4,t(c,c.contentWindow)];case 9:return[2,u.sent()];case 10:return null===(a=c.parentNode)||void 0===a||a.removeChild(c),[7];case 11:return[2]}}))}))}function X(t){for(var e=function(t){for(var e,n,r="Unexpected syntax '".concat(t,"'"),o=/^\s*([a-z-]*)(.*)$/i.exec(t),a=o[1]||void 0,i={},c=/([.:#][\w-]+|\[.+?\])/gi,u=function(t,e){i[t]=i[t]||[],i[t].push(e)};;){var s=c.exec(o[2]);if(!s)break;var l=s[0];switch(l[0]){case".":u("class",l.slice(1));break;case"#":u("id",l.slice(1));break;case"[":var d=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(l);if(!d)throw new Error(r);u(d[1],null!==(n=null!==(e=d[4])&&void 0!==e?e:d[5])&&void 0!==n?n:"");break;default:throw new Error(r)}}return[a,i]}(t),n=e[0],r=e[1],o=document.createElement(null!=n?n:"div"),a=0,i=Object.keys(r);a<i.length;a++){var c=i[a],u=r[c].join(" ");"style"===c?E(o.style,u):o.setAttribute(c,u)}return o}function E(t,e){for(var n=0,r=e.split(";");n<r.length;n++){var o=r[n],a=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(o);if(a){var i=a[1],c=a[2],u=a[4];t.setProperty(i,c,u||"")}}}var P=["monospace","sans-serif","serif"],J=["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"];function H(t){return t.toDataURL()}var N,_,D=2500;function T(){var t=this;return function(){if(void 0===_){var t=function(){var e=z();O(e)?_=setTimeout(t,D):(N=e,_=void 0)};t()}}(),function(){return c(t,void 0,void 0,(function(){var t;return u(this,(function(e){switch(e.label){case 0:return O(t=z())?N?[2,s([],N,!0)]:(n=document).fullscreenElement||n.msFullscreenElement||n.mozFullScreenElement||n.webkitFullscreenElement?[4,A()]:[3,2]:[3,2];case 1:e.sent(),t=z(),e.label=2;case 2:return O(t)||(N=t),[2,t]}var n}))}))}}function z(){var t=screen;return[V(x(t.availTop),null),V(x(t.width)-x(t.availWidth)-V(x(t.availLeft),0),null),V(x(t.height)-x(t.availHeight)-V(x(t.availTop),0),null),V(x(t.availLeft),null)]}function O(t){for(var e=0;e<4;++e)if(t[e])return!1;return!0}function B(t){var e;return c(this,void 0,void 0,(function(){var n,r,o,a,i,c,s;return u(this,(function(u){switch(u.label){case 0:for(n=document,r=n.createElement("div"),o=new Array(t.length),a={},U(r),s=0;s<t.length;++s)"DIALOG"===(i=X(t[s])).tagName&&i.show(),U(c=n.createElement("div")),c.appendChild(i),r.appendChild(c),o[s]=i;u.label=1;case 1:return n.body?[3,3]:[4,d(50)];case 2:return u.sent(),[3,1];case 3:n.body.appendChild(r);try{for(s=0;s<t.length;++s)o[s].offsetParent||(a[t[s]]=!0)}finally{null===(e=r.parentNode)||void 0===e||e.removeChild(r)}return[2,a]}}))}))}function U(t){t.style.setProperty("display","block","important")}function Q(t){return matchMedia("(inverted-colors: ".concat(t,")")).matches}function K(t){return matchMedia("(forced-colors: ".concat(t,")")).matches}function q(t){return matchMedia("(prefers-contrast: ".concat(t,")")).matches}function $(t){return matchMedia("(prefers-reduced-motion: ".concat(t,")")).matches}function tt(t){return matchMedia("(dynamic-range: ".concat(t,")")).matches}var et=Math,nt=function(){return 0};var rt={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};var ot={fonts:function(){return Y((function(t,e){var n=e.document,r=n.body;r.style.fontSize="48px";var o=n.createElement("div"),a={},i={},c=function(t){var e=n.createElement("span"),r=e.style;return r.position="absolute",r.top="0",r.left="0",r.fontFamily=t,e.textContent="mmMwWLliI0O&1",o.appendChild(e),e},u=P.map(c),s=function(){for(var t={},e=function(e){t[e]=P.map((function(t){return function(t,e){return c("'".concat(t,"',").concat(e))}(e,t)}))},n=0,r=J;n<r.length;n++){e(r[n])}return t}();r.appendChild(o);for(var l=0;l<P.length;l++)a[P[l]]=u[l].offsetWidth,i[P[l]]=u[l].offsetHeight;return J.filter((function(t){return e=s[t],P.some((function(t,n){return e[n].offsetWidth!==a[t]||e[n].offsetHeight!==i[t]}));var e}))}))},domBlockers:function(t){var e=(void 0===t?{}:t).debug;return c(this,void 0,void 0,(function(){var t,n,r,o,a;return u(this,(function(i){switch(i.label){case 0:return j()||G()?(c=atob,t={abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',c("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",c("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",c("LnNwb25zb3JpdA=="),".ylamainos",c("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),c("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",c("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",c("LmhlYWRlci1ibG9ja2VkLWFk"),c("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",c("I2FkXzMwMFgyNTA="),c("I2Jhbm5lcmZsb2F0MjI="),c("I2NhbXBhaWduLWJhbm5lcg=="),c("I0FkLUNvbnRlbnQ=")],adGuardChinese:[c("LlppX2FkX2FfSA=="),c("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",c("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),c("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",c("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",c("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",c("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),c("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),c("LmFkZ29vZ2xl"),c("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[c("YW1wLWF1dG8tYWRz"),c("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",c("I2FkX2ludmlld19hcmVh")],adGuardRussian:[c("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),c("LnJlY2xhbWE="),'div[id^="smi2adblock"]',c("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[c("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),c("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",c("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),c("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),c("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",c("I3Jla2xhbWk="),c("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),c("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),c("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[c("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",c("LndpZGdldF9wb19hZHNfd2lkZ2V0"),c("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",c("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[c("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),c("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",c("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",c("I3Jla2xhbW5pLWJveA=="),c("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",c("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[c("I2FkdmVydGVudGll"),c("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",c("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",c("LnNwb25zb3JsaW5rZ3J1ZW4="),c("I3dlcmJ1bmdza3k="),c("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),c("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[c("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",c("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),c("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),c("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[c("LnJla2xhbW9zX3RhcnBhcw=="),c("LnJla2xhbW9zX251b3JvZG9z"),c("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),c("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),c("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[c("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[c("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),c("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",c("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[c("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),c("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),c("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",c("LmFkX19tYWlu"),c("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[c("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[c("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),c("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[c("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),c("I2xpdmVyZUFkV3JhcHBlcg=="),c("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),c("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[c("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",c("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),c("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),c("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[c("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),c("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),c("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",c("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),c("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),c("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),c("ZGl2I3NrYXBpZWNfYWQ=")],ro:[c("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),c("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),c("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),c("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[c("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),c("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),c("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",c("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),c("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",c("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]},n=Object.keys(t),[4,B((a=[]).concat.apply(a,n.map((function(e){return t[e]}))))]):[2,void 0];case 1:return r=i.sent(),e&&function(t,e){for(var n="DOM blockers debug:\n```",r=0,o=Object.keys(t);r<o.length;r++){var a=o[r];n+="\n".concat(a,":");for(var i=0,c=t[a];i<c.length;i++){var u=c[i];n+="\n ".concat(e[u]?"🚫":"➡️"," ").concat(u)}}console.log("".concat(n,"\n```"))}(t,r),(o=n.filter((function(e){var n=t[e];return S(n.map((function(t){return r[t]})))>.6*n.length}))).sort(),[2,o]}var c}))}))},fontPreferences:function(){return function(t,e){void 0===e&&(e=4e3);return Y((function(n,r){var o=r.document,a=o.body,i=a.style;i.width="".concat(e,"px"),i.webkitTextSizeAdjust=i.textSizeAdjust="none",F()?a.style.zoom="".concat(1/r.devicePixelRatio):j()&&(a.style.zoom="reset");var c=o.createElement("div");return c.textContent=s([],Array(e/20<<0),!0).map((function(){return"word"})).join(" "),a.appendChild(c),t(o,a)}),'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}((function(t,e){for(var n={},r={},o=0,a=Object.keys(rt);o<a.length;o++){var i=a[o],c=rt[i],u=c[0],s=void 0===u?{}:u,l=c[1],d=void 0===l?"mmMwWLliI0fiflO&1":l,f=t.createElement("span");f.textContent=d,f.style.whiteSpace="nowrap";for(var h=0,m=Object.keys(s);h<m.length;h++){var v=m[h],p=s[v];void 0!==p&&(f.style[v]=p)}n[i]=f,e.appendChild(t.createElement("br")),e.appendChild(f)}for(var y=0,b=Object.keys(rt);y<b.length;y++){r[i=b[y]]=n[i].getBoundingClientRect().width}return r}))},audio:function(){var t=window,e=t.OfflineAudioContext||t.webkitOfflineAudioContext;if(!e)return-2;if(j()&&!M()&&!function(){var t=window;return S(["DOMRectList"in t,"RTCPeerConnectionIceEvent"in t,"SVGGeometryElement"in t,"ontransitioncancel"in t])>=3}())return-1;var n=new e(1,5e3,44100),r=n.createOscillator();r.type="triangle",r.frequency.value=1e4;var o=n.createDynamicsCompressor();o.threshold.value=-50,o.knee.value=40,o.ratio.value=12,o.attack.value=0,o.release.value=.25,r.connect(o),o.connect(n.destination),r.start(0);var a=function(t){var e=3,n=500,r=500,o=5e3,a=function(){},i=new Promise((function(i,c){var u=!1,s=0,l=0;t.oncomplete=function(t){return i(t.renderedBuffer)};var d=function(){setTimeout((function(){return c(R("timeout"))}),Math.min(r,l+o-Date.now()))},h=function(){try{var r=t.startRendering();switch(f(r)&&v(r),t.state){case"running":l=Date.now(),u&&d();break;case"suspended":document.hidden||s++,u&&s>=e?c(R("suspended")):setTimeout(h,n)}}catch(t){c(t)}};h(),a=function(){u||(u=!0,l>0&&d())}}));return[i,a]}(n),i=a[0],c=a[1],u=i.then((function(t){return function(t){for(var e=0,n=0;n<t.length;++n)e+=Math.abs(t[n]);return e}(t.getChannelData(0).subarray(4500))}),(function(t){if("timeout"===t.name||"suspended"===t.name)return-3;throw t}));return v(u),function(){return c(),u}},screenFrame:function(){var t=this,e=T();return function(){return c(t,void 0,void 0,(function(){var t,n;return u(this,(function(r){switch(r.label){case 0:return[4,e()];case 1:return t=r.sent(),[2,[(n=function(t){return null===t?null:Z(t,10)})(t[0]),n(t[1]),n(t[2]),n(t[3])]]}}))}))}},osCpu:function(){return navigator.oscpu},languages:function(){var t,e=navigator,n=[],r=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(void 0!==r&&n.push([r]),Array.isArray(e.languages))F()&&S([!("MediaSettingsRange"in(t=window)),"RTCEncodedAudioFrame"in t,""+t.Intl=="[object Intl]",""+t.Reflect=="[object Reflect]"])>=3||n.push(e.languages);else if("string"==typeof e.languages){var o=e.languages;o&&n.push(o.split(","))}return n},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return V(x(navigator.deviceMemory),void 0)},screenResolution:function(){var t=screen,e=function(t){return V(k(t),null)},n=[e(t.width),e(t.height)];return n.sort().reverse(),n},hardwareConcurrency:function(){return V(k(navigator.hardwareConcurrency),void 0)},timezone:function(){var t,e=null===(t=window.Intl)||void 0===t?void 0:t.DateTimeFormat;if(e){var n=(new e).resolvedOptions().timeZone;if(n)return n}var r,o=(r=(new Date).getFullYear(),-Math.max(x(new Date(r,0,1).getTimezoneOffset()),x(new Date(r,6,1).getTimezoneOffset())));return"UTC".concat(o>=0?"+":"").concat(Math.abs(o))},sessionStorage:function(){try{return!!window.sessionStorage}catch(t){return!0}},localStorage:function(){try{return!!window.localStorage}catch(t){return!0}},indexedDB:function(){var t,e;if(!(I()||(t=window,e=navigator,S(["msWriteProfilerMark"in t,"MSStream"in t,"msLaunchUri"in e,"msSaveBlob"in e])>=3&&!I())))try{return!!window.indexedDB}catch(t){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){var t=navigator.platform;return"MacIntel"===t&&j()&&!M()?function(){if("iPad"===navigator.platform)return!0;var t=screen,e=t.width/t.height;return S(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,e>.65&&e<1.53])>=2}()?"iPad":"iPhone":t},plugins:function(){var t=navigator.plugins;if(t){for(var e=[],n=0;n<t.length;++n){var r=t[n];if(r){for(var o=[],a=0;a<r.length;++a){var i=r[a];o.push({type:i.type,suffixes:i.suffixes})}e.push({name:r.name,description:r.description,mimeTypes:o})}}return e}},canvas:function(){var t,e,n=!1,r=function(){var t=document.createElement("canvas");return t.width=1,t.height=1,[t,t.getContext("2d")]}(),o=r[0],a=r[1];if(function(t,e){return!(!e||!t.toDataURL)}(o,a)){n=function(t){return t.rect(0,0,10,10),t.rect(2,2,6,6),!t.isPointInPath(5,5,"evenodd")}(a),function(t,e){t.width=240,t.height=60,e.textBaseline="alphabetic",e.fillStyle="#f60",e.fillRect(100,1,62,20),e.fillStyle="#069",e.font='11pt "Times New Roman"';var n="Cwm fjordbank gly ".concat(String.fromCharCode(55357,56835));e.fillText(n,2,15),e.fillStyle="rgba(102, 204, 0, 0.2)",e.font="18pt Arial",e.fillText(n,4,45)}(o,a);var i=H(o);i!==H(o)?t=e="unstable":(e=i,function(t,e){t.width=122,t.height=110,e.globalCompositeOperation="multiply";for(var n=0,r=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];n<r.length;n++){var o=r[n],a=o[0],i=o[1],c=o[2];e.fillStyle=a,e.beginPath(),e.arc(i,c,40,0,2*Math.PI,!0),e.closePath(),e.fill()}e.fillStyle="#f9c",e.arc(60,60,60,0,2*Math.PI,!0),e.arc(60,60,20,0,2*Math.PI,!0),e.fill("evenodd")}(o,a),t=H(o))}else t=e="";return{winding:n,geometry:t,text:e}},touchSupport:function(){var t,e=navigator,n=0;void 0!==e.maxTouchPoints?n=k(e.maxTouchPoints):void 0!==e.msMaxTouchPoints&&(n=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),t=!0}catch(e){t=!1}return{maxTouchPoints:n,touchEvent:t,touchStart:"ontouchstart"in window}},vendor:function(){return navigator.vendor||""},vendorFlavors:function(){for(var t=[],e=0,n=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];e<n.length;e++){var r=n[e],o=window[r];o&&"object"==typeof o&&t.push(r)}return t.sort()},cookiesEnabled:function(){var t=document;try{t.cookie="cookietest=1; SameSite=Strict;";var e=-1!==t.cookie.indexOf("cookietest=");return t.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",e}catch(t){return!1}},colorGamut:function(){for(var t=0,e=["rec2020","p3","srgb"];t<e.length;t++){var n=e[t];if(matchMedia("(color-gamut: ".concat(n,")")).matches)return n}},invertedColors:function(){return!!Q("inverted")||!Q("none")&&void 0},forcedColors:function(){return!!K("active")||!K("none")&&void 0},monochrome:function(){if(matchMedia("(min-monochrome: 0)").matches){for(var t=0;t<=100;++t)if(matchMedia("(max-monochrome: ".concat(t,")")).matches)return t;throw new Error("Too high value")}},contrast:function(){return q("no-preference")?0:q("high")||q("more")?1:q("low")||q("less")?-1:q("forced")?10:void 0},reducedMotion:function(){return!!$("reduce")||!$("no-preference")&&void 0},hdr:function(){return!!tt("high")||!tt("standard")&&void 0},math:function(){var t,e=et.acos||nt,n=et.acosh||nt,r=et.asin||nt,o=et.asinh||nt,a=et.atanh||nt,i=et.atan||nt,c=et.sin||nt,u=et.sinh||nt,s=et.cos||nt,l=et.cosh||nt,d=et.tan||nt,f=et.tanh||nt,h=et.exp||nt,m=et.expm1||nt,v=et.log1p||nt;return{acos:e(.12312423423423424),acosh:n(1e308),acoshPf:(t=1e154,et.log(t+et.sqrt(t*t-1))),asin:r(.12312423423423424),asinh:o(1),asinhPf:function(t){return et.log(t+et.sqrt(t*t+1))}(1),atanh:a(.5),atanhPf:function(t){return et.log((1+t)/(1-t))/2}(.5),atan:i(.5),sin:c(-1e300),sinh:u(1),sinhPf:function(t){return et.exp(t)-1/et.exp(t)/2}(1),cos:s(10.000000000123),cosh:l(1),coshPf:function(t){return(et.exp(t)+1/et.exp(t))/2}(1),tan:d(-1e300),tanh:f(1),tanhPf:function(t){return(et.exp(2*t)-1)/(et.exp(2*t)+1)}(1),exp:h(1),expm1:m(1),expm1Pf:function(t){return et.exp(t)-1}(1),log1p:v(10),log1pPf:function(t){return et.log(1+t)}(10),powPI:function(t){return et.pow(et.PI,t)}(-100)}},videoCard:function(){var t,e=document.createElement("canvas"),n=null!==(t=e.getContext("webgl"))&&void 0!==t?t:e.getContext("experimental-webgl");if(n&&"getExtension"in n){var r=n.getExtension("WEBGL_debug_renderer_info");if(r)return{vendor:(n.getParameter(r.UNMASKED_VENDOR_WEBGL)||"").toString(),renderer:(n.getParameter(r.UNMASKED_RENDERER_WEBGL)||"").toString()}}},pdfViewerEnabled:function(){return navigator.pdfViewerEnabled},architecture:function(){var t=new Float32Array(1),e=new Uint8Array(t.buffer);return t[0]=1/0,t[0]=t[0]-t[0],e[3]}};var at="$ if upgrade to Pro: https://fpjs.dev/pro";function it(t){var e=function(t){if(G())return.4;if(j())return M()?.5:.3;var e=t.platform.value||"";if(/^Win/.test(e))return.6;if(/^Mac/.test(e))return.5;return.7}(t),n=function(t){return Z(.99+.01*t,1e-4)}(e);return{score:e,comment:at.replace(/\$/g,"".concat(n))}}function ct(t){return JSON.stringify(t,(function(t,e){return e instanceof Error?i({name:(n=e).name,message:n.message,stack:null===(r=n.stack)||void 0===r?void 0:r.split("\n")},n):e;var n,r}),2)}function ut(t){return function(t,e){e=e||0;var n,r=(t=t||"").length%16,o=t.length-r,a=[0,e],i=[0,e],c=[0,0],u=[0,0],s=[2277735313,289559509],l=[1291169091,658871167];for(n=0;n<o;n+=16)c=[255&t.charCodeAt(n+4)|(255&t.charCodeAt(n+5))<<8|(255&t.charCodeAt(n+6))<<16|(255&t.charCodeAt(n+7))<<24,255&t.charCodeAt(n)|(255&t.charCodeAt(n+1))<<8|(255&t.charCodeAt(n+2))<<16|(255&t.charCodeAt(n+3))<<24],u=[255&t.charCodeAt(n+12)|(255&t.charCodeAt(n+13))<<8|(255&t.charCodeAt(n+14))<<16|(255&t.charCodeAt(n+15))<<24,255&t.charCodeAt(n+8)|(255&t.charCodeAt(n+9))<<8|(255&t.charCodeAt(n+10))<<16|(255&t.charCodeAt(n+11))<<24],c=b(c=y(c,s),31),a=p(a=b(a=w(a,c=y(c,l)),27),i),a=p(y(a,[0,5]),[0,1390208809]),u=b(u=y(u,l),33),i=p(i=b(i=w(i,u=y(u,s)),31),a),i=p(y(i,[0,5]),[0,944331445]);switch(c=[0,0],u=[0,0],r){case 15:u=w(u,g([0,t.charCodeAt(n+14)],48));case 14:u=w(u,g([0,t.charCodeAt(n+13)],40));case 13:u=w(u,g([0,t.charCodeAt(n+12)],32));case 12:u=w(u,g([0,t.charCodeAt(n+11)],24));case 11:u=w(u,g([0,t.charCodeAt(n+10)],16));case 10:u=w(u,g([0,t.charCodeAt(n+9)],8));case 9:u=y(u=w(u,[0,t.charCodeAt(n+8)]),l),i=w(i,u=y(u=b(u,33),s));case 8:c=w(c,g([0,t.charCodeAt(n+7)],56));case 7:c=w(c,g([0,t.charCodeAt(n+6)],48));case 6:c=w(c,g([0,t.charCodeAt(n+5)],40));case 5:c=w(c,g([0,t.charCodeAt(n+4)],32));case 4:c=w(c,g([0,t.charCodeAt(n+3)],24));case 3:c=w(c,g([0,t.charCodeAt(n+2)],16));case 2:c=w(c,g([0,t.charCodeAt(n+1)],8));case 1:c=y(c=w(c,[0,t.charCodeAt(n)]),s),a=w(a,c=y(c=b(c,31),l))}return a=p(a=w(a,[0,t.length]),i=w(i,[0,t.length])),i=p(i,a),a=p(a=L(a),i=L(i)),i=p(i,a),("00000000"+(a[0]>>>0).toString(16)).slice(-8)+("00000000"+(a[1]>>>0).toString(16)).slice(-8)+("00000000"+(i[0]>>>0).toString(16)).slice(-8)+("00000000"+(i[1]>>>0).toString(16)).slice(-8)}(function(t){for(var e="",n=0,r=Object.keys(t).sort();n<r.length;n++){var o=r[n],a=t[o],i=a.error?"error":JSON.stringify(a.value);e+="".concat(e?"|":"").concat(o.replace(/([:|\\])/g,"\\$1"),":").concat(i)}return e}(t))}function st(t){return void 0===t&&(t=50),function(t,e){void 0===e&&(e=1/0);var n=window.requestIdleCallback;return n?new Promise((function(t){return n.call(window,(function(){return t()}),{timeout:e})})):d(Math.min(t,e))}(t,2*t)}function lt(t,e){var n=Date.now();return{get:function(r){return c(this,void 0,void 0,(function(){var o,a,i;return u(this,(function(c){switch(c.label){case 0:return o=Date.now(),[4,t()];case 1:return a=c.sent(),i=function(t){var e;return{get visitorId(){return void 0===e&&(e=ut(this.components)),e},set visitorId(t){e=t},confidence:it(t),components:t,version:l}}(a),(e||(null==r?void 0:r.debug))&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(i.version,"\nuserAgent: ").concat(navigator.userAgent,"\ntimeBetweenLoadAndGet: ").concat(o-n,"\nvisitorId: ").concat(i.visitorId,"\ncomponents: ").concat(ct(a),"\n```")),[2,i]}}))}))}}}var dt={load:function(t){var e=void 0===t?{}:t,n=e.delayFallback,r=e.debug,o=e.monitoring,a=void 0===o||o;return c(this,void 0,void 0,(function(){return u(this,(function(t){switch(t.label){case 0:return a&&function(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var t=new XMLHttpRequest;t.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat(l,"/npm-monitoring"),!0),t.send()}catch(t){console.error(t)}}(),[4,st(n)];case 1:return t.sent(),[2,lt(C(ot,{debug:r},[]),r)]}}))}))},hashComponents:ut,componentsToDebugString:ct};function ft(){return ht.apply(this,arguments)}function ht(){return(ht=e(a.mark((function t(){var e,n;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,dt.load({monitoring:!1});case 3:return e=t.sent,t.next=6,e.get();case 6:return n=t.sent,t.abrupt("return",n.visitorId);case 10:return t.prev=10,t.t0=t.catch(0),console.log(t.t0),t.abrupt("return","");case 14:case"end":return t.stop()}}),t,null,[[0,10]])})))).apply(this,arguments)}function mt(){return vt.apply(this,arguments)}function vt(){return(vt=e(a.mark((function t(){return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise((function(t){window.requestIdleCallback?requestIdleCallback(e(a.mark((function e(){var n;return a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ft();case 2:n=e.sent,t(n);case 4:case"end":return e.stop()}}),e)})))):setTimeout(e(a.mark((function e(){var n;return a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ft();case 2:n=e.sent,t(n);case 4:case"end":return e.stop()}}),e)}))),500)})));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var pt=function(t){var e=t.env,n=t.kountAccountId,r=t.kountSessionId,o=function(t){return"production"===t}(e)?"https://ssl.kaptcha.com":"https://tst.kaptcha.com",a=new URL("".concat(o,"/collect/sdk"));a.searchParams.append("m",n),r&&a.searchParams.append("m",r);var i=document.createElement("script");return i.setAttribute("class","kaxsdc"),i.setAttribute("data-event","load"),i.setAttribute("type","text/javascript"),i.setAttribute("src",a.href),document.body.append(i),i};function yt(t){return bt.apply(this,arguments)}function bt(){return(bt=e(a.mark((function t(e){var n,r,o;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.env,r=e.kountAccountId,o=e.kountSessionId,t.abrupt("return",new Promise((function(t,e){var a=pt({env:n,kountAccountId:r,kountSessionId:o});a.onload=function(){var e=new ka.ClientSDK;e.setupCallback({"collect-begin":function(e){var n=e.MercSessId;t(n)}}),e.autoLoadEvents()},a.onerror=function(){e(new Error("Error attempting to mount Kount script"))}})));case 2:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function gt(t){return wt.apply(this,arguments)}function wt(){return wt=e(a.mark((function t(e){var n,r,o,i,c,u,s,l,d,f,h,m,v,p,y,b,g,w,L,k;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.env,r=void 0===n?null:n,o=e.screen,i=e.navigator,c=e.kountAccountId,u=void 0===c?null:c,s=e.kountSessionId,l=void 0===s?null:s,d=e.getFingerprint,f=e.getFraudSessionId,m=(h=o||{}).colorDepth,v=h.height,p=h.width,b=(y=i||{}).javaEnabled,g=y.language,t.prev=3,t.next=6,d();case 6:if(w=t.sent,!u){t.next=11;break}return t.next=10,f({env:r,kountAccountId:u,kountSessionId:l});case 10:L=t.sent;case 11:t.next=16;break;case 13:t.prev=13,t.t0=t.catch(3),console.error(t.t0);case 16:return k={riskMetadata:{fingerprint:w||null,extraData:{kountFraudSessionId:L||null},browserData:{colorDepth:m||null,isJavaEnabled:b?b.call(i):null,language:g||null,screenHeight:v||null,screenWidth:p||null,timeZoneOffset:(new Date).getTimezoneOffset()}}},t.abrupt("return",k);case 18:case"end":return t.stop()}}),t,null,[[3,13]])}))),wt.apply(this,arguments)}function Lt(){return kt.apply(this,arguments)}function kt(){return kt=e(a.mark((function t(){var e,n,r,o,i,c,u,s=arguments;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=(e=s.length>0&&void 0!==s[0]?s[0]:{}).env,r=void 0===n?null:n,o=e.kountAccountId,i=void 0===o?null:o,c=e.kountSessionId,u=void 0===c?null:c,t.abrupt("return",gt({env:r,screen:screen,navigator:navigator,kountAccountId:i,kountSessionId:u,getFingerprint:mt,getFraudSessionId:yt}));case 2:case"end":return t.stop()}}),t)}))),kt.apply(this,arguments)}export{Lt as collectData,gt as collectDataHelper}; |
@@ -1,4 +0,4 @@ | ||
var RiskDataCollector=function(t){"use strict";function e(t,e,r,n,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void r(t)}u.done?e(c):Promise.resolve(c).then(n,o)}function r(t){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=t.apply(r,n);function u(t){e(a,o,i,u,c,"next",t)}function c(t){e(a,o,i,u,c,"throw",t)}u(void 0)}))}}function n(t,e,r){return t(r={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&r.path)}},r.exports),r.exports}var o=n((function(t){function e(r){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})),i=n((function(t){var e=o.default;function r(){ | ||
var RiskDataCollector=function(t){"use strict";function e(t,e,n,r,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void n(t)}c.done?e(u):Promise.resolve(u).then(r,o)}function n(t){return function(){var n=this,r=arguments;return new Promise((function(o,a){var i=t.apply(n,r);function c(t){e(i,o,a,c,u,"next",t)}function u(t){e(i,o,a,c,u,"throw",t)}c(void 0)}))}}function r(t,e,n){return t(n={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},n.exports),n.exports}var o=r((function(t){function e(n){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports})),a=r((function(t){var e=o.default;function n(){ | ||
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ | ||
t.exports=r=function(){return o},t.exports.__esModule=!0,t.exports.default=t.exports;var n,o={},i=Object.prototype,a=i.hasOwnProperty,u=Object.defineProperty||function(t,e,r){t[e]=r.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",f=c.toStringTag||"@@toStringTag";function p(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{p({},"")}catch(n){p=function(t,e,r){return t[e]=r}}function h(t,e,r,n){var o=e&&e.prototype instanceof g?e:g,i=Object.create(o.prototype),a=new A(n||[]);return u(i,"_invoke",{value:N(t,r,a)}),i}function d(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}o.wrap=h;var v="suspendedStart",y="suspendedYield",m="executing",R="completed",E={};function g(){}function w(){}function b(){}var _={};p(_,s,(function(){return this}));var O=Object.getPrototypeOf,I=O&&O(O(D([])));I&&I!==i&&a.call(I,s)&&(_=I);var x=b.prototype=g.prototype=Object.create(_);function S(t){["next","throw","return"].forEach((function(e){p(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,r){function n(o,i,u,c){var s=d(t[o],t,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==e(f)&&a.call(f,"__await")?r.resolve(f.__await).then((function(t){n("next",t,u,c)}),(function(t){n("throw",t,u,c)})):r.resolve(f).then((function(t){l.value=t,u(l)}),(function(t){return n("throw",t,u,c)}))}c(s.arg)}var o;u(this,"_invoke",{value:function(t,e){function i(){return new r((function(r,o){n(t,e,r,o)}))}return o=o?o.then(i,i):i()}})}function N(t,e,r){var o=v;return function(i,a){if(o===m)throw new Error("Generator is already running");if(o===R){if("throw"===i)throw a;return{value:n,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=L(u,r);if(c){if(c===E)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===v)throw o=R,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=m;var s=d(t,e,r);if("normal"===s.type){if(o=r.done?R:y,s.arg===E)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=R,r.method="throw",r.arg=s.arg)}}}function L(t,e){var r=e.method,o=t.iterator[r];if(o===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=n,L(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),E;var i=d(o,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,E;var a=i.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,E):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,E)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function D(t){if(t||""===t){var r=t[s];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function e(){for(;++o<t.length;)if(a.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=n,e.done=!0,e};return i.next=i}}throw new TypeError(e(t)+" is not iterable")}return w.prototype=b,u(x,"constructor",{value:b,configurable:!0}),u(b,"constructor",{value:w,configurable:!0}),w.displayName=p(b,f,"GeneratorFunction"),o.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},o.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,p(t,f,"GeneratorFunction")),t.prototype=Object.create(x),t},o.awrap=function(t){return{__await:t}},S(k.prototype),p(k.prototype,l,(function(){return this})),o.AsyncIterator=k,o.async=function(t,e,r,n,i){void 0===i&&(i=Promise);var a=new k(h(t,e,r,n),i);return o.isGeneratorFunction(e)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(x),p(x,f,"Generator"),p(x,s,(function(){return this})),p(x,"toString",(function(){return"[object Generator]"})),o.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},o.values=D,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&a.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,o){return u.type="throw",u.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),s=a.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,E):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),E},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),E}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:D(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),E}},o}t.exports=r,t.exports.__esModule=!0,t.exports.default=t.exports})),a=i(),u=a;try{regeneratorRuntime=a}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=a:Function("r","regeneratorRuntime = r")(a)}function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}var s=function(){return s=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},s.apply(this,arguments)};function l(t){for(var e="",r=0;r<t.length;++r)if(r>0){var n=t[r].toLowerCase();n!==t[r]?e+=" ".concat(n):e+=t[r]}else e+=t[r].toUpperCase();return e}"function"==typeof SuppressedError&&SuppressedError;var f="Blocked by CSP",p=l("WrongRegion"),h=l("SubscriptionNotActive"),d=l("UnsupportedVersion"),v=l("InstallationMethodRestricted"),y="API key required",m="API key not found",R="API key expired",E="9319";function g(t,e){var r=[];return function(t,e){var r,n,o=(n=function(t,e,r){if(r||2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}([],t,!0),{current:function(){return n[0]},postpone:function(){var t=n.shift();void 0!==t&&n.push(t)},exclude:function(){n.shift()}}),i=(100,3e3,r=0,function(){return Math.random()*Math.min(3e3,100*Math.pow(2,r++))}),a=o.current();if(void 0===a)return Promise.reject(new TypeError("The list of script URL patterns is empty"));var u=function(t,r){return e(t).catch((function(t){if(r+1>=5)throw t;!function(t){if(!(t instanceof Error))return!1;var e=t.message;return e===f||e===E}(t)?o.postpone():o.exclude();var e,n=o.current();if(void 0===n)throw t;return(e=i(),new Promise((function(t){return setTimeout(t,e)}))).then((function(){return u(n,r+1)}))}))};return u(a,0)}(t,(function(t){var n=new Date,o=function(e){return r.push({url:t,startedAt:n,finishedAt:new Date,error:e})},i=e(t);return i.then((function(){return o()}),o),i})).then((function(t){return[t,{attempts:r}]}))}var w="https://fpnpmcdn.net/v<version>/<apiKey>/loader_v<loaderVersion>.js",b="Failed to load the JS script of the agent";function _(t){return function(t,e,r,n){var o,i=document,a="securitypolicyviolation",u=function(e){var r=new URL(t,location.href),n=e.blockedURI;n!==r.href&&n!==r.protocol.slice(0,-1)&&n!==r.origin||(o=e,c())};i.addEventListener(a,u);var c=function(){return i.removeEventListener(a,u)};return Promise.resolve().then(e).then((function(t){return c(),t}),(function(t){return new Promise((function(t){return setTimeout(t)})).then((function(){if(c(),o)return function(){throw new Error(f)}();throw t}))}))}(t,(function(){return function(t){return new Promise((function(e,r){var n=document.createElement("script"),o=function(){var t;return null===(t=n.parentNode)||void 0===t?void 0:t.removeChild(n)},i=document.head||document.getElementsByTagName("head")[0];n.onload=function(){o(),e()},n.onerror=function(){o(),r(new Error(b))},n.async=!0,n.src=t,i.appendChild(n)}))}(t)})).then(O)}function O(){var t=window,e="__fpjs_p_l_b",r=t[e];if(function(t,e){var r,n=null===(r=Object.getOwnPropertyDescriptor)||void 0===r?void 0:r.call(Object,t,e);(null==n?void 0:n.configurable)?delete t[e]:n&&!n.writable||(t[e]=void 0)}(t,e),"function"!=typeof(null==r?void 0:r.load))throw new Error(E);return r}function I(t){throw t instanceof Error&&t.message===E?new Error(b):t}var x={load:function(t){var e;t.scriptUrlPattern;var r=t.token,n=t.apiKey,o=void 0===n?r:n,i=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}(t,["scriptUrlPattern","token","apiKey"]),a=null!==(e=function(t,e){return function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}(t,e)?t[e]:void 0}(t,"scriptUrlPattern"))&&void 0!==e?e:w;return Promise.resolve().then((function(){if(!o||"string"!=typeof o)throw new Error(y);return g(function(t,e){return(Array.isArray(t)?t:[t]).map((function(t){return function(t,e){var r=encodeURIComponent;return t.replace(/<[^<>]+>/g,(function(t){return"<version>"===t?"3":"<apiKey>"===t?r(e):"<loaderVersion>"===t?r("3.8.5"):t}))}(String(t),e)}))}(a,o),_).catch(I)})).then((function(t){var e=t[0],r=t[1];return e.load(s(s({},i),{ldi:r}))}))},defaultScriptUrlPattern:w,ERROR_SCRIPT_LOAD_FAIL:b,ERROR_API_KEY_EXPIRED:R,ERROR_API_KEY_INVALID:m,ERROR_API_KEY_MISSING:y,ERROR_BAD_REQUEST_FORMAT:"Request cannot be parsed",ERROR_BAD_RESPONSE_FORMAT:"Response cannot be parsed",ERROR_CLIENT_TIMEOUT:"Client timeout",ERROR_CSP_BLOCK:f,ERROR_FORBIDDEN_ENDPOINT:l("HostnameRestricted"),ERROR_FORBIDDEN_HEADER:"Not available with restricted header",ERROR_FORBIDDEN_ORIGIN:"Not available for this origin",ERROR_GENERAL_SERVER_FAILURE:"Request failed",ERROR_INSTALLATION_METHOD_RESTRICTED:v,ERROR_INTEGRATION_FAILURE:l("IntegrationFailed"),ERROR_INVALID_ENDPOINT:"The endpoint parameter is not a valid URL",ERROR_NETWORK_ABORT:"Network request aborted",ERROR_NETWORK_CONNECTION:"Network connection error",ERROR_RATE_LIMIT:"Too many requests, rate limit exceeded",ERROR_SERVER_TIMEOUT:"Request failed to process",ERROR_SUBSCRIPTION_NOT_ACTIVE:h,ERROR_TOKEN_EXPIRED:R,ERROR_TOKEN_INVALID:m,ERROR_TOKEN_MISSING:y,ERROR_UNSUPPORTED_VERSION:d,ERROR_WRONG_REGION:p,defaultEndpoint:{default:"endpoint"},defaultTlsEndpoint:{default:"tlsEndpoint"}};function S(){return k.apply(this,arguments)}function k(){return(k=r(u.mark((function t(){var e,r,n,o;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,e="object"===("undefined"==typeof Cypress?"undefined":c(Cypress)),r="object"===("undefined"==typeof process?"undefined":c(process))&&"test"===process.env.NODE_ENV,!e&&!r){t.next=5;break}return t.abrupt("return","a-mock-visitor-id");case 5:return t.next=7,x.load({apiKey:"hpFVJecm7Ni7AjSfvBIW"});case 7:return n=t.sent,t.next=10,n.get();case 10:return o=t.sent,t.abrupt("return",o.visitorId);case 14:return t.prev=14,t.t0=t.catch(0),console.log(t.t0),t.abrupt("return","");case 18:case"end":return t.stop()}}),t,null,[[0,14]])})))).apply(this,arguments)}function N(){return L.apply(this,arguments)}function L(){return(L=r(u.mark((function t(){return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise((function(t){window.requestIdleCallback?requestIdleCallback(r(u.mark((function e(){var r;return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S();case 2:r=e.sent,t(r);case 4:case"end":return e.stop()}}),e)})))):setTimeout(r(u.mark((function e(){var r;return u.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,S();case 2:r=e.sent,t(r);case 4:case"end":return e.stop()}}),e)}))),500)})));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var T=function(t){var e=t.env,r=t.kountAccountId,n=t.kountSessionId,o=function(t){return"production"===t}(e)?"https://ssl.kaptcha.com":"https://tst.kaptcha.com",i=new URL("".concat(o,"/collect/sdk"));i.searchParams.append("m",r),n&&i.searchParams.append("m",n);var a=document.createElement("script");return a.setAttribute("class","kaxsdc"),a.setAttribute("data-event","load"),a.setAttribute("type","text/javascript"),a.setAttribute("src",i.href),document.body.append(a),a};function P(t){return A.apply(this,arguments)}function A(){return(A=r(u.mark((function t(e){var r,n,o;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.env,n=e.kountAccountId,o=e.kountSessionId,t.abrupt("return",new Promise((function(t,e){var i=T({env:r,kountAccountId:n,kountSessionId:o});i.onload=function(){var e=new ka.ClientSDK;e.setupCallback({"collect-begin":function(e){var r=e.MercSessId;t(r)}}),e.autoLoadEvents()},i.onerror=function(){e(new Error("Error attempting to mount Kount script"))}})));case 2:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function D(t){return j.apply(this,arguments)}function j(){return j=r(u.mark((function t(e){var r,n,o,i,a,c,s,l,f,p,h,d,v,y,m,R,E,g,w,b;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.env,n=void 0===r?null:r,o=e.screen,i=e.navigator,a=e.kountAccountId,c=void 0===a?null:a,s=e.kountSessionId,l=void 0===s?null:s,f=e.getFingerprint,p=e.getFraudSessionId,d=(h=o||{}).colorDepth,v=h.height,y=h.width,R=(m=i||{}).javaEnabled,E=m.language,t.prev=3,t.next=6,f();case 6:if(g=t.sent,!c){t.next=11;break}return t.next=10,p({env:n,kountAccountId:c,kountSessionId:l});case 10:w=t.sent;case 11:t.next=16;break;case 13:t.prev=13,t.t0=t.catch(3),console.error(t.t0);case 16:return b={riskMetadata:{fingerprint:g||null,extraData:{kountFraudSessionId:w||null},browserData:{colorDepth:d||null,isJavaEnabled:R?R.call(i):null,language:E||null,screenHeight:v||null,screenWidth:y||null,timeZoneOffset:(new Date).getTimezoneOffset()}}},t.abrupt("return",b);case 18:case"end":return t.stop()}}),t,null,[[3,13]])}))),j.apply(this,arguments)}function C(){return C=r(u.mark((function t(){var e,r,n,o,i,a,c,s=arguments;return u.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=(e=s.length>0&&void 0!==s[0]?s[0]:{}).env,n=void 0===r?null:r,o=e.kountAccountId,i=void 0===o?null:o,a=e.kountSessionId,c=void 0===a?null:a,t.abrupt("return",D({env:n,screen:screen,navigator:navigator,kountAccountId:i,kountSessionId:c,getFingerprint:N,getFraudSessionId:P}));case 2:case"end":return t.stop()}}),t)}))),C.apply(this,arguments)}return t.collectData=function(){return C.apply(this,arguments)},t.collectDataHelper=D,Object.defineProperty(t,"__esModule",{value:!0}),t}({}); | ||
t.exports=n=function(){return o},t.exports.__esModule=!0,t.exports.default=t.exports;var r,o={},a=Object.prototype,i=a.hasOwnProperty,c=Object.defineProperty||function(t,e,n){t[e]=n.value},u="function"==typeof Symbol?Symbol:{},s=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",d=u.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(r){f=function(t,e,n){return t[e]=n}}function h(t,e,n,r){var o=e&&e.prototype instanceof w?e:w,a=Object.create(o.prototype),i=new A(r||[]);return c(a,"_invoke",{value:I(t,n,i)}),a}function m(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}o.wrap=h;var v="suspendedStart",p="suspendedYield",y="executing",b="completed",g={};function w(){}function L(){}function k(){}var x={};f(x,s,(function(){return this}));var V=Object.getPrototypeOf,S=V&&V(V(G([])));S&&S!==a&&i.call(S,s)&&(x=S);var Z=k.prototype=w.prototype=Object.create(x);function W(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function C(t,n){function r(o,a,c,u){var s=m(t[o],t,a);if("throw"!==s.type){var l=s.arg,d=l.value;return d&&"object"==e(d)&&i.call(d,"__await")?n.resolve(d.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):n.resolve(d).then((function(t){l.value=t,c(l)}),(function(t){return r("throw",t,c,u)}))}u(s.arg)}var o;c(this,"_invoke",{value:function(t,e){function a(){return new n((function(n,o){r(t,e,n,o)}))}return o=o?o.then(a,a):a()}})}function I(t,e,n){var o=v;return function(a,i){if(o===y)throw new Error("Generator is already running");if(o===b){if("throw"===a)throw i;return{value:r,done:!0}}for(n.method=a,n.arg=i;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===v)throw o=b,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var s=m(t,e,n);if("normal"===s.type){if(o=n.done?b:p,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=b,n.method="throw",n.arg=s.arg)}}}function j(t,e){var n=e.method,o=t.iterator[n];if(o===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=r,j(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var a=m(o,t.iterator,e.arg);if("throw"===a.type)return e.method="throw",e.arg=a.arg,e.delegate=null,g;var i=a.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=r),e.delegate=null,g):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function F(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function M(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function A(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(F,this),this.reset(!0)}function G(t){if(t||""===t){var n=t[s];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function e(){for(;++o<t.length;)if(i.call(t,o))return e.value=t[o],e.done=!1,e;return e.value=r,e.done=!0,e};return a.next=a}}throw new TypeError(e(t)+" is not iterable")}return L.prototype=k,c(Z,"constructor",{value:k,configurable:!0}),c(k,"constructor",{value:L,configurable:!0}),L.displayName=f(k,d,"GeneratorFunction"),o.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===L||"GeneratorFunction"===(e.displayName||e.name))},o.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,k):(t.__proto__=k,f(t,d,"GeneratorFunction")),t.prototype=Object.create(Z),t},o.awrap=function(t){return{__await:t}},W(C.prototype),f(C.prototype,l,(function(){return this})),o.AsyncIterator=C,o.async=function(t,e,n,r,a){void 0===a&&(a=Promise);var i=new C(h(t,e,n,r),a);return o.isGeneratorFunction(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},W(Z),f(Z,d,"Generator"),f(Z,s,(function(){return this})),f(Z,"toString",(function(){return"[object Generator]"})),o.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},o.values=G,A.prototype={constructor:A,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(M),!t)for(var e in this)"t"===e.charAt(0)&&i.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=r)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(n,o){return c.type="throw",c.arg=t,e.next=n,o&&(e.method="next",e.arg=r),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),s=i.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),M(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;M(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:G(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=r),g}},o}t.exports=n,t.exports.__esModule=!0,t.exports.default=t.exports}))(),i=a;try{regeneratorRuntime=a}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=a:Function("r","regeneratorRuntime = r")(a)}var c=function(){return c=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},c.apply(this,arguments)};function u(t,e,n,r){return new(n||(n=Promise))((function(o,a){function i(t){try{u(r.next(t))}catch(t){a(t)}}function c(t){try{u(r.throw(t))}catch(t){a(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e)}))).then(i,c)}u((r=r.apply(t,e||[])).next())}))}function s(t,e){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(c){return function(u){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,c[0]&&(i=0)),i;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return i.label++,{value:c[1],done:!1};case 5:i.label++,r=c[1],c=[0];continue;case 7:c=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){i=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){i.label=c[1];break}if(6===c[0]&&i.label<o[1]){i.label=o[1],o=c;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(c);break}o[2]&&i.ops.pop(),i.trys.pop();continue}c=e.call(t,i)}catch(t){c=[6,t],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([c,u])}}}function l(t,e,n){if(n||2===arguments.length)for(var r,o=0,a=e.length;o<a;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var d="3.4.2";function f(t,e){return new Promise((function(n){return setTimeout(n,t,e)}))}function h(t){return!!t&&"function"==typeof t.then}function m(t,e){try{var n=t();h(n)?n.then((function(t){return e(!0,t)}),(function(t){return e(!1,t)})):e(!0,n)}catch(t){e(!1,t)}}function v(t,e,n){return void 0===n&&(n=16),u(this,void 0,void 0,(function(){var r,o,a,i;return s(this,(function(c){switch(c.label){case 0:r=Array(t.length),o=Date.now(),a=0,c.label=1;case 1:return a<t.length?(r[a]=e(t[a],a),(i=Date.now())>=o+n?(o=i,[4,f(0)]):[3,3]):[3,4];case 2:c.sent(),c.label=3;case 3:return++a,[3,1];case 4:return[2,r]}}))}))}function p(t){t.then(void 0,(function(){}))}function y(t,e){t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]],e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]];var n=[0,0,0,0];return n[3]+=t[3]+e[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=t[2]+e[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=t[1]+e[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=t[0]+e[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function b(t,e){t=[t[0]>>>16,65535&t[0],t[1]>>>16,65535&t[1]],e=[e[0]>>>16,65535&e[0],e[1]>>>16,65535&e[1]];var n=[0,0,0,0];return n[3]+=t[3]*e[3],n[2]+=n[3]>>>16,n[3]&=65535,n[2]+=t[2]*e[3],n[1]+=n[2]>>>16,n[2]&=65535,n[2]+=t[3]*e[2],n[1]+=n[2]>>>16,n[2]&=65535,n[1]+=t[1]*e[3],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=t[2]*e[2],n[0]+=n[1]>>>16,n[1]&=65535,n[1]+=t[3]*e[1],n[0]+=n[1]>>>16,n[1]&=65535,n[0]+=t[0]*e[3]+t[1]*e[2]+t[2]*e[1]+t[3]*e[0],n[0]&=65535,[n[0]<<16|n[1],n[2]<<16|n[3]]}function g(t,e){return 32===(e%=64)?[t[1],t[0]]:e<32?[t[0]<<e|t[1]>>>32-e,t[1]<<e|t[0]>>>32-e]:(e-=32,[t[1]<<e|t[0]>>>32-e,t[0]<<e|t[1]>>>32-e])}function w(t,e){return 0===(e%=64)?t:e<32?[t[0]<<e|t[1]>>>32-e,t[1]<<e]:[t[1]<<e-32,0]}function L(t,e){return[t[0]^e[0],t[1]^e[1]]}function k(t){return t=L(t,[0,t[0]>>>1]),t=L(t=b(t,[4283543511,3981806797]),[0,t[0]>>>1]),t=L(t=b(t,[3301882366,444984403]),[0,t[0]>>>1])}function x(t){return parseInt(t)}function V(t){return parseFloat(t)}function S(t,e){return"number"==typeof t&&isNaN(t)?e:t}function Z(t){return t.reduce((function(t,e){return t+(e?1:0)}),0)}function W(t,e){if(void 0===e&&(e=1),Math.abs(e)>=1)return Math.round(t/e)*e;var n=1/e;return Math.round(t*n)/n}function C(t){return t&&"object"==typeof t&&"message"in t?t:{message:t}}function I(t,e,n){var r=Object.keys(t).filter((function(t){return!function(t,e){for(var n=0,r=t.length;n<r;++n)if(t[n]===e)return!0;return!1}(n,t)})),o=v(r,(function(n){return function(t,e){var n=new Promise((function(n){var r=Date.now();m(t.bind(null,e),(function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var o=Date.now()-r;if(!t[0])return n((function(){return{error:C(t[1]),duration:o}}));var a=t[1];if(function(t){return"function"!=typeof t}(a))return n((function(){return{value:a,duration:o}}));n((function(){return new Promise((function(t){var e=Date.now();m(a,(function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var a=o+Date.now()-e;if(!n[0])return t({error:C(n[1]),duration:a});t({value:n[1],duration:a})}))}))}))}))}));return p(n),function(){return n.then((function(t){return t()}))}}(t[n],e)}));return p(o),function(){return u(this,void 0,void 0,(function(){var t,e,n,a;return s(this,(function(i){switch(i.label){case 0:return[4,o];case 1:return[4,v(i.sent(),(function(t){var e=t();return p(e),e}))];case 2:return t=i.sent(),[4,Promise.all(t)];case 3:for(e=i.sent(),n={},a=0;a<r.length;++a)n[r[a]]=e[a];return[2,n]}}))}))}}function j(){var t=window,e=navigator;return Z(["MSCSSMatrix"in t,"msSetImmediate"in t,"msIndexedDB"in t,"msMaxTouchPoints"in e,"msPointerEnabled"in e])>=4}function F(){var t=window,e=navigator;return Z(["webkitPersistentStorage"in e,"webkitTemporaryStorage"in e,0===e.vendor.indexOf("Google"),"webkitResolveLocalFileSystemURL"in t,"BatteryManager"in t,"webkitMediaStream"in t,"webkitSpeechGrammar"in t])>=5}function M(){var t=window,e=navigator;return Z(["ApplePayError"in t,"CSSPrimitiveValue"in t,"Counter"in t,0===e.vendor.indexOf("Apple"),"getStorageUpdates"in e,"WebKitMediaKeys"in t])>=4}function A(){var t=window;return Z(["safari"in t,!("DeviceMotionEvent"in t),!("ongestureend"in t),!("standalone"in navigator)])>=3}function G(){var t=document;return(t.exitFullscreen||t.msExitFullscreen||t.mozCancelFullScreen||t.webkitExitFullscreen).call(t)}function R(){var t=F(),e=function(){var t,e,n=window;return Z(["buildID"in navigator,"MozAppearance"in(null!==(e=null===(t=document.documentElement)||void 0===t?void 0:t.style)&&void 0!==e?e:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}();if(!t&&!e)return!1;var n=window;return Z(["onorientationchange"in n,"orientation"in n,t&&!("SharedWorker"in n),e&&/android/i.test(navigator.appVersion)])>=2}function Y(t){var e=new Error(t);return e.name=t,e}function X(t,e,n){var r,o,a;return void 0===n&&(n=50),u(this,void 0,void 0,(function(){var i,c;return s(this,(function(u){switch(u.label){case 0:i=document,u.label=1;case 1:return i.body?[3,3]:[4,f(n)];case 2:return u.sent(),[3,1];case 3:c=i.createElement("iframe"),u.label=4;case 4:return u.trys.push([4,,10,11]),[4,new Promise((function(t,n){var r=!1,o=function(){r=!0,t()};c.onload=o,c.onerror=function(t){r=!0,n(t)};var a=c.style;a.setProperty("display","block","important"),a.position="absolute",a.top="0",a.left="0",a.visibility="hidden",e&&"srcdoc"in c?c.srcdoc=e:c.src="about:blank",i.body.appendChild(c);var u=function(){var t,e;r||("complete"===(null===(e=null===(t=c.contentWindow)||void 0===t?void 0:t.document)||void 0===e?void 0:e.readyState)?o():setTimeout(u,10))};u()}))];case 5:u.sent(),u.label=6;case 6:return(null===(o=null===(r=c.contentWindow)||void 0===r?void 0:r.document)||void 0===o?void 0:o.body)?[3,8]:[4,f(n)];case 7:return u.sent(),[3,6];case 8:return[4,t(c,c.contentWindow)];case 9:return[2,u.sent()];case 10:return null===(a=c.parentNode)||void 0===a||a.removeChild(c),[7];case 11:return[2]}}))}))}function E(t){for(var e=function(t){for(var e,n,r="Unexpected syntax '".concat(t,"'"),o=/^\s*([a-z-]*)(.*)$/i.exec(t),a=o[1]||void 0,i={},c=/([.:#][\w-]+|\[.+?\])/gi,u=function(t,e){i[t]=i[t]||[],i[t].push(e)};;){var s=c.exec(o[2]);if(!s)break;var l=s[0];switch(l[0]){case".":u("class",l.slice(1));break;case"#":u("id",l.slice(1));break;case"[":var d=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(l);if(!d)throw new Error(r);u(d[1],null!==(n=null!==(e=d[4])&&void 0!==e?e:d[5])&&void 0!==n?n:"");break;default:throw new Error(r)}}return[a,i]}(t),n=e[0],r=e[1],o=document.createElement(null!=n?n:"div"),a=0,i=Object.keys(r);a<i.length;a++){var c=i[a],u=r[c].join(" ");"style"===c?P(o.style,u):o.setAttribute(c,u)}return o}function P(t,e){for(var n=0,r=e.split(";");n<r.length;n++){var o=r[n],a=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(o);if(a){var i=a[1],c=a[2],u=a[4];t.setProperty(i,c,u||"")}}}var H=["monospace","sans-serif","serif"],J=["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"];function _(t){return t.toDataURL()}var N,D,T=2500;function z(){var t=this;return function(){if(void 0===D){var t=function(){var e=O();B(e)?D=setTimeout(t,T):(N=e,D=void 0)};t()}}(),function(){return u(t,void 0,void 0,(function(){var t;return s(this,(function(e){switch(e.label){case 0:return B(t=O())?N?[2,l([],N,!0)]:(n=document).fullscreenElement||n.msFullscreenElement||n.mozFullScreenElement||n.webkitFullscreenElement?[4,G()]:[3,2]:[3,2];case 1:e.sent(),t=O(),e.label=2;case 2:return B(t)||(N=t),[2,t]}var n}))}))}}function O(){var t=screen;return[S(V(t.availTop),null),S(V(t.width)-V(t.availWidth)-S(V(t.availLeft),0),null),S(V(t.height)-V(t.availHeight)-S(V(t.availTop),0),null),S(V(t.availLeft),null)]}function B(t){for(var e=0;e<4;++e)if(t[e])return!1;return!0}function U(t){var e;return u(this,void 0,void 0,(function(){var n,r,o,a,i,c,u;return s(this,(function(s){switch(s.label){case 0:for(n=document,r=n.createElement("div"),o=new Array(t.length),a={},Q(r),u=0;u<t.length;++u)"DIALOG"===(i=E(t[u])).tagName&&i.show(),Q(c=n.createElement("div")),c.appendChild(i),r.appendChild(c),o[u]=i;s.label=1;case 1:return n.body?[3,3]:[4,f(50)];case 2:return s.sent(),[3,1];case 3:n.body.appendChild(r);try{for(u=0;u<t.length;++u)o[u].offsetParent||(a[t[u]]=!0)}finally{null===(e=r.parentNode)||void 0===e||e.removeChild(r)}return[2,a]}}))}))}function Q(t){t.style.setProperty("display","block","important")}function K(t){return matchMedia("(inverted-colors: ".concat(t,")")).matches}function q(t){return matchMedia("(forced-colors: ".concat(t,")")).matches}function $(t){return matchMedia("(prefers-contrast: ".concat(t,")")).matches}function tt(t){return matchMedia("(prefers-reduced-motion: ".concat(t,")")).matches}function et(t){return matchMedia("(dynamic-range: ".concat(t,")")).matches}var nt=Math,rt=function(){return 0};var ot={default:[],apple:[{font:"-apple-system-body"}],serif:[{fontFamily:"serif"}],sans:[{fontFamily:"sans-serif"}],mono:[{fontFamily:"monospace"}],min:[{fontSize:"1px"}],system:[{fontFamily:"system-ui"}]};var at={fonts:function(){return X((function(t,e){var n=e.document,r=n.body;r.style.fontSize="48px";var o=n.createElement("div"),a={},i={},c=function(t){var e=n.createElement("span"),r=e.style;return r.position="absolute",r.top="0",r.left="0",r.fontFamily=t,e.textContent="mmMwWLliI0O&1",o.appendChild(e),e},u=H.map(c),s=function(){for(var t={},e=function(e){t[e]=H.map((function(t){return function(t,e){return c("'".concat(t,"',").concat(e))}(e,t)}))},n=0,r=J;n<r.length;n++){e(r[n])}return t}();r.appendChild(o);for(var l=0;l<H.length;l++)a[H[l]]=u[l].offsetWidth,i[H[l]]=u[l].offsetHeight;return J.filter((function(t){return e=s[t],H.some((function(t,n){return e[n].offsetWidth!==a[t]||e[n].offsetHeight!==i[t]}));var e}))}))},domBlockers:function(t){var e=(void 0===t?{}:t).debug;return u(this,void 0,void 0,(function(){var t,n,r,o,a;return s(this,(function(i){switch(i.label){case 0:return M()||R()?(c=atob,t={abpIndo:["#Iklan-Melayang","#Kolom-Iklan-728","#SidebarIklan-wrapper",'[title="ALIENBOLA" i]',c("I0JveC1CYW5uZXItYWRz")],abpvn:[".quangcao","#mobileCatfish",c("LmNsb3NlLWFkcw=="),'[id^="bn_bottom_fixed_"]',"#pmadv"],adBlockFinland:[".mainostila",c("LnNwb25zb3JpdA=="),".ylamainos",c("YVtocmVmKj0iL2NsaWNrdGhyZ2guYXNwPyJd"),c("YVtocmVmXj0iaHR0cHM6Ly9hcHAucmVhZHBlYWsuY29tL2FkcyJd")],adBlockPersian:["#navbar_notice_50",".kadr",'TABLE[width="140px"]',"#divAgahi",c("YVtocmVmXj0iaHR0cDovL2cxLnYuZndtcm0ubmV0L2FkLyJd")],adBlockWarningRemoval:["#adblock-honeypot",".adblocker-root",".wp_adblock_detect",c("LmhlYWRlci1ibG9ja2VkLWFk"),c("I2FkX2Jsb2NrZXI=")],adGuardAnnoyances:[".hs-sosyal","#cookieconsentdiv",'div[class^="app_gdpr"]',".as-oil",'[data-cypress="soft-push-notification-modal"]'],adGuardBase:[".BetterJsPopOverlay",c("I2FkXzMwMFgyNTA="),c("I2Jhbm5lcmZsb2F0MjI="),c("I2NhbXBhaWduLWJhbm5lcg=="),c("I0FkLUNvbnRlbnQ=")],adGuardChinese:[c("LlppX2FkX2FfSA=="),c("YVtocmVmKj0iLmh0aGJldDM0LmNvbSJd"),"#widget-quan",c("YVtocmVmKj0iLzg0OTkyMDIwLnh5eiJd"),c("YVtocmVmKj0iLjE5NTZobC5jb20vIl0=")],adGuardFrench:["#pavePub",c("LmFkLWRlc2t0b3AtcmVjdGFuZ2xl"),".mobile_adhesion",".widgetadv",c("LmFkc19iYW4=")],adGuardGerman:['aside[data-portal-id="leaderboard"]'],adGuardJapanese:["#kauli_yad_1",c("YVtocmVmXj0iaHR0cDovL2FkMi50cmFmZmljZ2F0ZS5uZXQvIl0="),c("Ll9wb3BJbl9pbmZpbml0ZV9hZA=="),c("LmFkZ29vZ2xl"),c("Ll9faXNib29zdFJldHVybkFk")],adGuardMobile:[c("YW1wLWF1dG8tYWRz"),c("LmFtcF9hZA=="),'amp-embed[type="24smi"]',"#mgid_iframe1",c("I2FkX2ludmlld19hcmVh")],adGuardRussian:[c("YVtocmVmXj0iaHR0cHM6Ly9hZC5sZXRtZWFkcy5jb20vIl0="),c("LnJlY2xhbWE="),'div[id^="smi2adblock"]',c("ZGl2W2lkXj0iQWRGb3hfYmFubmVyXyJd"),"#psyduckpockeball"],adGuardSocial:[c("YVtocmVmXj0iLy93d3cuc3R1bWJsZXVwb24uY29tL3N1Ym1pdD91cmw9Il0="),c("YVtocmVmXj0iLy90ZWxlZ3JhbS5tZS9zaGFyZS91cmw/Il0="),".etsy-tweet","#inlineShare",".popup-social"],adGuardSpanishPortuguese:["#barraPublicidade","#Publicidade","#publiEspecial","#queTooltip",".cnt-publi"],adGuardTrackingProtection:["#qoo-counter",c("YVtocmVmXj0iaHR0cDovL2NsaWNrLmhvdGxvZy5ydS8iXQ=="),c("YVtocmVmXj0iaHR0cDovL2hpdGNvdW50ZXIucnUvdG9wL3N0YXQucGhwIl0="),c("YVtocmVmXj0iaHR0cDovL3RvcC5tYWlsLnJ1L2p1bXAiXQ=="),"#top100counter"],adGuardTurkish:["#backkapat",c("I3Jla2xhbWk="),c("YVtocmVmXj0iaHR0cDovL2Fkc2Vydi5vbnRlay5jb20udHIvIl0="),c("YVtocmVmXj0iaHR0cDovL2l6bGVuemkuY29tL2NhbXBhaWduLyJd"),c("YVtocmVmXj0iaHR0cDovL3d3dy5pbnN0YWxsYWRzLm5ldC8iXQ==")],bulgarian:[c("dGQjZnJlZW5ldF90YWJsZV9hZHM="),"#ea_intext_div",".lapni-pop-over","#xenium_hot_offers"],easyList:[".yb-floorad",c("LndpZGdldF9wb19hZHNfd2lkZ2V0"),c("LnRyYWZmaWNqdW5reS1hZA=="),".textad_headline",c("LnNwb25zb3JlZC10ZXh0LWxpbmtz")],easyListChina:[c("LmFwcGd1aWRlLXdyYXBbb25jbGljayo9ImJjZWJvcy5jb20iXQ=="),c("LmZyb250cGFnZUFkdk0="),"#taotaole","#aafoot.top_box",".cfa_popup"],easyListCookie:[".ezmob-footer",".cc-CookieWarning","[data-cookie-number]",c("LmF3LWNvb2tpZS1iYW5uZXI="),".sygnal24-gdpr-modal-wrap"],easyListCzechSlovak:["#onlajny-stickers",c("I3Jla2xhbW5pLWJveA=="),c("LnJla2xhbWEtbWVnYWJvYXJk"),".sklik",c("W2lkXj0ic2tsaWtSZWtsYW1hIl0=")],easyListDutch:[c("I2FkdmVydGVudGll"),c("I3ZpcEFkbWFya3RCYW5uZXJCbG9jaw=="),".adstekst",c("YVtocmVmXj0iaHR0cHM6Ly94bHR1YmUubmwvY2xpY2svIl0="),"#semilo-lrectangle"],easyListGermany:["#SSpotIMPopSlider",c("LnNwb25zb3JsaW5rZ3J1ZW4="),c("I3dlcmJ1bmdza3k="),c("I3Jla2xhbWUtcmVjaHRzLW1pdHRl"),c("YVtocmVmXj0iaHR0cHM6Ly9iZDc0Mi5jb20vIl0=")],easyListItaly:[c("LmJveF9hZHZfYW5udW5jaQ=="),".sb-box-pubbliredazionale",c("YVtocmVmXj0iaHR0cDovL2FmZmlsaWF6aW9uaWFkcy5zbmFpLml0LyJd"),c("YVtocmVmXj0iaHR0cHM6Ly9hZHNlcnZlci5odG1sLml0LyJd"),c("YVtocmVmXj0iaHR0cHM6Ly9hZmZpbGlhemlvbmlhZHMuc25haS5pdC8iXQ==")],easyListLithuania:[c("LnJla2xhbW9zX3RhcnBhcw=="),c("LnJla2xhbW9zX251b3JvZG9z"),c("aW1nW2FsdD0iUmVrbGFtaW5pcyBza3lkZWxpcyJd"),c("aW1nW2FsdD0iRGVkaWt1b3RpLmx0IHNlcnZlcmlhaSJd"),c("aW1nW2FsdD0iSG9zdGluZ2FzIFNlcnZlcmlhaS5sdCJd")],estonian:[c("QVtocmVmKj0iaHR0cDovL3BheTRyZXN1bHRzMjQuZXUiXQ==")],fanboyAnnoyances:["#ac-lre-player",".navigate-to-top","#subscribe_popup",".newsletter_holder","#back-top"],fanboyAntiFacebook:[".util-bar-module-firefly-visible"],fanboyEnhancedTrackers:[".open.pushModal","#issuem-leaky-paywall-articles-zero-remaining-nag","#sovrn_container",'div[class$="-hide"][zoompage-fontsize][style="display: block;"]',".BlockNag__Card"],fanboySocial:["#FollowUs","#meteored_share","#social_follow",".article-sharer",".community__social-desc"],frellwitSwedish:[c("YVtocmVmKj0iY2FzaW5vcHJvLnNlIl1bdGFyZ2V0PSJfYmxhbmsiXQ=="),c("YVtocmVmKj0iZG9rdG9yLXNlLm9uZWxpbmsubWUiXQ=="),"article.category-samarbete",c("ZGl2LmhvbGlkQWRz"),"ul.adsmodern"],greekAdBlock:[c("QVtocmVmKj0iYWRtYW4ub3RlbmV0LmdyL2NsaWNrPyJd"),c("QVtocmVmKj0iaHR0cDovL2F4aWFiYW5uZXJzLmV4b2R1cy5nci8iXQ=="),c("QVtocmVmKj0iaHR0cDovL2ludGVyYWN0aXZlLmZvcnRobmV0LmdyL2NsaWNrPyJd"),"DIV.agores300","TABLE.advright"],hungarian:["#cemp_doboz",".optimonk-iframe-container",c("LmFkX19tYWlu"),c("W2NsYXNzKj0iR29vZ2xlQWRzIl0="),"#hirdetesek_box"],iDontCareAboutCookies:['.alert-info[data-block-track*="CookieNotice"]',".ModuleTemplateCookieIndicator",".o--cookies--container","#cookies-policy-sticky","#stickyCookieBar"],icelandicAbp:[c("QVtocmVmXj0iL2ZyYW1ld29yay9yZXNvdXJjZXMvZm9ybXMvYWRzLmFzcHgiXQ==")],latvian:[c("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiAxMjBweDsgaGVpZ2h0OiA0MHB4OyBvdmVyZmxvdzogaGlkZGVuOyBwb3NpdGlvbjogcmVsYXRpdmU7Il0="),c("YVtocmVmPSJodHRwOi8vd3d3LnNhbGlkemluaS5sdi8iXVtzdHlsZT0iZGlzcGxheTogYmxvY2s7IHdpZHRoOiA4OHB4OyBoZWlnaHQ6IDMxcHg7IG92ZXJmbG93OiBoaWRkZW47IHBvc2l0aW9uOiByZWxhdGl2ZTsiXQ==")],listKr:[c("YVtocmVmKj0iLy9hZC5wbGFuYnBsdXMuY28ua3IvIl0="),c("I2xpdmVyZUFkV3JhcHBlcg=="),c("YVtocmVmKj0iLy9hZHYuaW1hZHJlcC5jby5rci8iXQ=="),c("aW5zLmZhc3R2aWV3LWFk"),".revenue_unit_item.dable"],listeAr:[c("LmdlbWluaUxCMUFk"),".right-and-left-sponsers",c("YVtocmVmKj0iLmFmbGFtLmluZm8iXQ=="),c("YVtocmVmKj0iYm9vcmFxLm9yZyJd"),c("YVtocmVmKj0iZHViaXp6bGUuY29tL2FyLz91dG1fc291cmNlPSJd")],listeFr:[c("YVtocmVmXj0iaHR0cDovL3Byb21vLnZhZG9yLmNvbS8iXQ=="),c("I2FkY29udGFpbmVyX3JlY2hlcmNoZQ=="),c("YVtocmVmKj0id2Vib3JhbWEuZnIvZmNnaS1iaW4vIl0="),".site-pub-interstitiel",'div[id^="crt-"][data-criteo-id]'],officialPolish:["#ceneo-placeholder-ceneo-12",c("W2hyZWZePSJodHRwczovL2FmZi5zZW5kaHViLnBsLyJd"),c("YVtocmVmXj0iaHR0cDovL2Fkdm1hbmFnZXIudGVjaGZ1bi5wbC9yZWRpcmVjdC8iXQ=="),c("YVtocmVmXj0iaHR0cDovL3d3dy50cml6ZXIucGwvP3V0bV9zb3VyY2UiXQ=="),c("ZGl2I3NrYXBpZWNfYWQ=")],ro:[c("YVtocmVmXj0iLy9hZmZ0cmsuYWx0ZXgucm8vQ291bnRlci9DbGljayJd"),c("YVtocmVmXj0iaHR0cHM6Ly9ibGFja2ZyaWRheXNhbGVzLnJvL3Ryay9zaG9wLyJd"),c("YVtocmVmXj0iaHR0cHM6Ly9ldmVudC4ycGVyZm9ybWFudC5jb20vZXZlbnRzL2NsaWNrIl0="),c("YVtocmVmXj0iaHR0cHM6Ly9sLnByb2ZpdHNoYXJlLnJvLyJd"),'a[href^="/url/"]'],ruAd:[c("YVtocmVmKj0iLy9mZWJyYXJlLnJ1LyJd"),c("YVtocmVmKj0iLy91dGltZy5ydS8iXQ=="),c("YVtocmVmKj0iOi8vY2hpa2lkaWtpLnJ1Il0="),"#pgeldiz",".yandex-rtb-block"],thaiAds:["a[href*=macau-uta-popup]",c("I2Fkcy1nb29nbGUtbWlkZGxlX3JlY3RhbmdsZS1ncm91cA=="),c("LmFkczMwMHM="),".bumq",".img-kosana"],webAnnoyancesUltralist:["#mod-social-share-2","#social-tools",c("LmN0cGwtZnVsbGJhbm5lcg=="),".zergnet-recommend",".yt.btn-link.btn-md.btn"]},n=Object.keys(t),[4,U((a=[]).concat.apply(a,n.map((function(e){return t[e]}))))]):[2,void 0];case 1:return r=i.sent(),e&&function(t,e){for(var n="DOM blockers debug:\n```",r=0,o=Object.keys(t);r<o.length;r++){var a=o[r];n+="\n".concat(a,":");for(var i=0,c=t[a];i<c.length;i++){var u=c[i];n+="\n ".concat(e[u]?"🚫":"➡️"," ").concat(u)}}console.log("".concat(n,"\n```"))}(t,r),(o=n.filter((function(e){var n=t[e];return Z(n.map((function(t){return r[t]})))>.6*n.length}))).sort(),[2,o]}var c}))}))},fontPreferences:function(){return function(t,e){void 0===e&&(e=4e3);return X((function(n,r){var o=r.document,a=o.body,i=a.style;i.width="".concat(e,"px"),i.webkitTextSizeAdjust=i.textSizeAdjust="none",F()?a.style.zoom="".concat(1/r.devicePixelRatio):M()&&(a.style.zoom="reset");var c=o.createElement("div");return c.textContent=l([],Array(e/20<<0),!0).map((function(){return"word"})).join(" "),a.appendChild(c),t(o,a)}),'<!doctype html><html><head><meta name="viewport" content="width=device-width, initial-scale=1">')}((function(t,e){for(var n={},r={},o=0,a=Object.keys(ot);o<a.length;o++){var i=a[o],c=ot[i],u=c[0],s=void 0===u?{}:u,l=c[1],d=void 0===l?"mmMwWLliI0fiflO&1":l,f=t.createElement("span");f.textContent=d,f.style.whiteSpace="nowrap";for(var h=0,m=Object.keys(s);h<m.length;h++){var v=m[h],p=s[v];void 0!==p&&(f.style[v]=p)}n[i]=f,e.appendChild(t.createElement("br")),e.appendChild(f)}for(var y=0,b=Object.keys(ot);y<b.length;y++){r[i=b[y]]=n[i].getBoundingClientRect().width}return r}))},audio:function(){var t=window,e=t.OfflineAudioContext||t.webkitOfflineAudioContext;if(!e)return-2;if(M()&&!A()&&!function(){var t=window;return Z(["DOMRectList"in t,"RTCPeerConnectionIceEvent"in t,"SVGGeometryElement"in t,"ontransitioncancel"in t])>=3}())return-1;var n=new e(1,5e3,44100),r=n.createOscillator();r.type="triangle",r.frequency.value=1e4;var o=n.createDynamicsCompressor();o.threshold.value=-50,o.knee.value=40,o.ratio.value=12,o.attack.value=0,o.release.value=.25,r.connect(o),o.connect(n.destination),r.start(0);var a=function(t){var e=3,n=500,r=500,o=5e3,a=function(){},i=new Promise((function(i,c){var u=!1,s=0,l=0;t.oncomplete=function(t){return i(t.renderedBuffer)};var d=function(){setTimeout((function(){return c(Y("timeout"))}),Math.min(r,l+o-Date.now()))},f=function(){try{var r=t.startRendering();switch(h(r)&&p(r),t.state){case"running":l=Date.now(),u&&d();break;case"suspended":document.hidden||s++,u&&s>=e?c(Y("suspended")):setTimeout(f,n)}}catch(t){c(t)}};f(),a=function(){u||(u=!0,l>0&&d())}}));return[i,a]}(n),i=a[0],c=a[1],u=i.then((function(t){return function(t){for(var e=0,n=0;n<t.length;++n)e+=Math.abs(t[n]);return e}(t.getChannelData(0).subarray(4500))}),(function(t){if("timeout"===t.name||"suspended"===t.name)return-3;throw t}));return p(u),function(){return c(),u}},screenFrame:function(){var t=this,e=z();return function(){return u(t,void 0,void 0,(function(){var t,n;return s(this,(function(r){switch(r.label){case 0:return[4,e()];case 1:return t=r.sent(),[2,[(n=function(t){return null===t?null:W(t,10)})(t[0]),n(t[1]),n(t[2]),n(t[3])]]}}))}))}},osCpu:function(){return navigator.oscpu},languages:function(){var t,e=navigator,n=[],r=e.language||e.userLanguage||e.browserLanguage||e.systemLanguage;if(void 0!==r&&n.push([r]),Array.isArray(e.languages))F()&&Z([!("MediaSettingsRange"in(t=window)),"RTCEncodedAudioFrame"in t,""+t.Intl=="[object Intl]",""+t.Reflect=="[object Reflect]"])>=3||n.push(e.languages);else if("string"==typeof e.languages){var o=e.languages;o&&n.push(o.split(","))}return n},colorDepth:function(){return window.screen.colorDepth},deviceMemory:function(){return S(V(navigator.deviceMemory),void 0)},screenResolution:function(){var t=screen,e=function(t){return S(x(t),null)},n=[e(t.width),e(t.height)];return n.sort().reverse(),n},hardwareConcurrency:function(){return S(x(navigator.hardwareConcurrency),void 0)},timezone:function(){var t,e=null===(t=window.Intl)||void 0===t?void 0:t.DateTimeFormat;if(e){var n=(new e).resolvedOptions().timeZone;if(n)return n}var r,o=(r=(new Date).getFullYear(),-Math.max(V(new Date(r,0,1).getTimezoneOffset()),V(new Date(r,6,1).getTimezoneOffset())));return"UTC".concat(o>=0?"+":"").concat(Math.abs(o))},sessionStorage:function(){try{return!!window.sessionStorage}catch(t){return!0}},localStorage:function(){try{return!!window.localStorage}catch(t){return!0}},indexedDB:function(){var t,e;if(!(j()||(t=window,e=navigator,Z(["msWriteProfilerMark"in t,"MSStream"in t,"msLaunchUri"in e,"msSaveBlob"in e])>=3&&!j())))try{return!!window.indexedDB}catch(t){return!0}},openDatabase:function(){return!!window.openDatabase},cpuClass:function(){return navigator.cpuClass},platform:function(){var t=navigator.platform;return"MacIntel"===t&&M()&&!A()?function(){if("iPad"===navigator.platform)return!0;var t=screen,e=t.width/t.height;return Z(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,e>.65&&e<1.53])>=2}()?"iPad":"iPhone":t},plugins:function(){var t=navigator.plugins;if(t){for(var e=[],n=0;n<t.length;++n){var r=t[n];if(r){for(var o=[],a=0;a<r.length;++a){var i=r[a];o.push({type:i.type,suffixes:i.suffixes})}e.push({name:r.name,description:r.description,mimeTypes:o})}}return e}},canvas:function(){var t,e,n=!1,r=function(){var t=document.createElement("canvas");return t.width=1,t.height=1,[t,t.getContext("2d")]}(),o=r[0],a=r[1];if(function(t,e){return!(!e||!t.toDataURL)}(o,a)){n=function(t){return t.rect(0,0,10,10),t.rect(2,2,6,6),!t.isPointInPath(5,5,"evenodd")}(a),function(t,e){t.width=240,t.height=60,e.textBaseline="alphabetic",e.fillStyle="#f60",e.fillRect(100,1,62,20),e.fillStyle="#069",e.font='11pt "Times New Roman"';var n="Cwm fjordbank gly ".concat(String.fromCharCode(55357,56835));e.fillText(n,2,15),e.fillStyle="rgba(102, 204, 0, 0.2)",e.font="18pt Arial",e.fillText(n,4,45)}(o,a);var i=_(o);i!==_(o)?t=e="unstable":(e=i,function(t,e){t.width=122,t.height=110,e.globalCompositeOperation="multiply";for(var n=0,r=[["#f2f",40,40],["#2ff",80,40],["#ff2",60,80]];n<r.length;n++){var o=r[n],a=o[0],i=o[1],c=o[2];e.fillStyle=a,e.beginPath(),e.arc(i,c,40,0,2*Math.PI,!0),e.closePath(),e.fill()}e.fillStyle="#f9c",e.arc(60,60,60,0,2*Math.PI,!0),e.arc(60,60,20,0,2*Math.PI,!0),e.fill("evenodd")}(o,a),t=_(o))}else t=e="";return{winding:n,geometry:t,text:e}},touchSupport:function(){var t,e=navigator,n=0;void 0!==e.maxTouchPoints?n=x(e.maxTouchPoints):void 0!==e.msMaxTouchPoints&&(n=e.msMaxTouchPoints);try{document.createEvent("TouchEvent"),t=!0}catch(e){t=!1}return{maxTouchPoints:n,touchEvent:t,touchStart:"ontouchstart"in window}},vendor:function(){return navigator.vendor||""},vendorFlavors:function(){for(var t=[],e=0,n=["chrome","safari","__crWeb","__gCrWeb","yandex","__yb","__ybro","__firefox__","__edgeTrackingPreventionStatistics","webkit","oprt","samsungAr","ucweb","UCShellJava","puffinDevice"];e<n.length;e++){var r=n[e],o=window[r];o&&"object"==typeof o&&t.push(r)}return t.sort()},cookiesEnabled:function(){var t=document;try{t.cookie="cookietest=1; SameSite=Strict;";var e=-1!==t.cookie.indexOf("cookietest=");return t.cookie="cookietest=1; SameSite=Strict; expires=Thu, 01-Jan-1970 00:00:01 GMT",e}catch(t){return!1}},colorGamut:function(){for(var t=0,e=["rec2020","p3","srgb"];t<e.length;t++){var n=e[t];if(matchMedia("(color-gamut: ".concat(n,")")).matches)return n}},invertedColors:function(){return!!K("inverted")||!K("none")&&void 0},forcedColors:function(){return!!q("active")||!q("none")&&void 0},monochrome:function(){if(matchMedia("(min-monochrome: 0)").matches){for(var t=0;t<=100;++t)if(matchMedia("(max-monochrome: ".concat(t,")")).matches)return t;throw new Error("Too high value")}},contrast:function(){return $("no-preference")?0:$("high")||$("more")?1:$("low")||$("less")?-1:$("forced")?10:void 0},reducedMotion:function(){return!!tt("reduce")||!tt("no-preference")&&void 0},hdr:function(){return!!et("high")||!et("standard")&&void 0},math:function(){var t,e=nt.acos||rt,n=nt.acosh||rt,r=nt.asin||rt,o=nt.asinh||rt,a=nt.atanh||rt,i=nt.atan||rt,c=nt.sin||rt,u=nt.sinh||rt,s=nt.cos||rt,l=nt.cosh||rt,d=nt.tan||rt,f=nt.tanh||rt,h=nt.exp||rt,m=nt.expm1||rt,v=nt.log1p||rt;return{acos:e(.12312423423423424),acosh:n(1e308),acoshPf:(t=1e154,nt.log(t+nt.sqrt(t*t-1))),asin:r(.12312423423423424),asinh:o(1),asinhPf:function(t){return nt.log(t+nt.sqrt(t*t+1))}(1),atanh:a(.5),atanhPf:function(t){return nt.log((1+t)/(1-t))/2}(.5),atan:i(.5),sin:c(-1e300),sinh:u(1),sinhPf:function(t){return nt.exp(t)-1/nt.exp(t)/2}(1),cos:s(10.000000000123),cosh:l(1),coshPf:function(t){return(nt.exp(t)+1/nt.exp(t))/2}(1),tan:d(-1e300),tanh:f(1),tanhPf:function(t){return(nt.exp(2*t)-1)/(nt.exp(2*t)+1)}(1),exp:h(1),expm1:m(1),expm1Pf:function(t){return nt.exp(t)-1}(1),log1p:v(10),log1pPf:function(t){return nt.log(1+t)}(10),powPI:function(t){return nt.pow(nt.PI,t)}(-100)}},videoCard:function(){var t,e=document.createElement("canvas"),n=null!==(t=e.getContext("webgl"))&&void 0!==t?t:e.getContext("experimental-webgl");if(n&&"getExtension"in n){var r=n.getExtension("WEBGL_debug_renderer_info");if(r)return{vendor:(n.getParameter(r.UNMASKED_VENDOR_WEBGL)||"").toString(),renderer:(n.getParameter(r.UNMASKED_RENDERER_WEBGL)||"").toString()}}},pdfViewerEnabled:function(){return navigator.pdfViewerEnabled},architecture:function(){var t=new Float32Array(1),e=new Uint8Array(t.buffer);return t[0]=1/0,t[0]=t[0]-t[0],e[3]}};var it="$ if upgrade to Pro: https://fpjs.dev/pro";function ct(t){var e=function(t){if(R())return.4;if(M())return A()?.5:.3;var e=t.platform.value||"";if(/^Win/.test(e))return.6;if(/^Mac/.test(e))return.5;return.7}(t),n=function(t){return W(.99+.01*t,1e-4)}(e);return{score:e,comment:it.replace(/\$/g,"".concat(n))}}function ut(t){return JSON.stringify(t,(function(t,e){return e instanceof Error?c({name:(n=e).name,message:n.message,stack:null===(r=n.stack)||void 0===r?void 0:r.split("\n")},n):e;var n,r}),2)}function st(t){return function(t,e){e=e||0;var n,r=(t=t||"").length%16,o=t.length-r,a=[0,e],i=[0,e],c=[0,0],u=[0,0],s=[2277735313,289559509],l=[1291169091,658871167];for(n=0;n<o;n+=16)c=[255&t.charCodeAt(n+4)|(255&t.charCodeAt(n+5))<<8|(255&t.charCodeAt(n+6))<<16|(255&t.charCodeAt(n+7))<<24,255&t.charCodeAt(n)|(255&t.charCodeAt(n+1))<<8|(255&t.charCodeAt(n+2))<<16|(255&t.charCodeAt(n+3))<<24],u=[255&t.charCodeAt(n+12)|(255&t.charCodeAt(n+13))<<8|(255&t.charCodeAt(n+14))<<16|(255&t.charCodeAt(n+15))<<24,255&t.charCodeAt(n+8)|(255&t.charCodeAt(n+9))<<8|(255&t.charCodeAt(n+10))<<16|(255&t.charCodeAt(n+11))<<24],c=g(c=b(c,s),31),a=y(a=g(a=L(a,c=b(c,l)),27),i),a=y(b(a,[0,5]),[0,1390208809]),u=g(u=b(u,l),33),i=y(i=g(i=L(i,u=b(u,s)),31),a),i=y(b(i,[0,5]),[0,944331445]);switch(c=[0,0],u=[0,0],r){case 15:u=L(u,w([0,t.charCodeAt(n+14)],48));case 14:u=L(u,w([0,t.charCodeAt(n+13)],40));case 13:u=L(u,w([0,t.charCodeAt(n+12)],32));case 12:u=L(u,w([0,t.charCodeAt(n+11)],24));case 11:u=L(u,w([0,t.charCodeAt(n+10)],16));case 10:u=L(u,w([0,t.charCodeAt(n+9)],8));case 9:u=b(u=L(u,[0,t.charCodeAt(n+8)]),l),i=L(i,u=b(u=g(u,33),s));case 8:c=L(c,w([0,t.charCodeAt(n+7)],56));case 7:c=L(c,w([0,t.charCodeAt(n+6)],48));case 6:c=L(c,w([0,t.charCodeAt(n+5)],40));case 5:c=L(c,w([0,t.charCodeAt(n+4)],32));case 4:c=L(c,w([0,t.charCodeAt(n+3)],24));case 3:c=L(c,w([0,t.charCodeAt(n+2)],16));case 2:c=L(c,w([0,t.charCodeAt(n+1)],8));case 1:c=b(c=L(c,[0,t.charCodeAt(n)]),s),a=L(a,c=b(c=g(c,31),l))}return a=y(a=L(a,[0,t.length]),i=L(i,[0,t.length])),i=y(i,a),a=y(a=k(a),i=k(i)),i=y(i,a),("00000000"+(a[0]>>>0).toString(16)).slice(-8)+("00000000"+(a[1]>>>0).toString(16)).slice(-8)+("00000000"+(i[0]>>>0).toString(16)).slice(-8)+("00000000"+(i[1]>>>0).toString(16)).slice(-8)}(function(t){for(var e="",n=0,r=Object.keys(t).sort();n<r.length;n++){var o=r[n],a=t[o],i=a.error?"error":JSON.stringify(a.value);e+="".concat(e?"|":"").concat(o.replace(/([:|\\])/g,"\\$1"),":").concat(i)}return e}(t))}function lt(t){return void 0===t&&(t=50),function(t,e){void 0===e&&(e=1/0);var n=window.requestIdleCallback;return n?new Promise((function(t){return n.call(window,(function(){return t()}),{timeout:e})})):f(Math.min(t,e))}(t,2*t)}function dt(t,e){var n=Date.now();return{get:function(r){return u(this,void 0,void 0,(function(){var o,a,i;return s(this,(function(c){switch(c.label){case 0:return o=Date.now(),[4,t()];case 1:return a=c.sent(),i=function(t){var e;return{get visitorId(){return void 0===e&&(e=st(this.components)),e},set visitorId(t){e=t},confidence:ct(t),components:t,version:d}}(a),(e||(null==r?void 0:r.debug))&&console.log("Copy the text below to get the debug data:\n\n```\nversion: ".concat(i.version,"\nuserAgent: ").concat(navigator.userAgent,"\ntimeBetweenLoadAndGet: ").concat(o-n,"\nvisitorId: ").concat(i.visitorId,"\ncomponents: ").concat(ut(a),"\n```")),[2,i]}}))}))}}}var ft={load:function(t){var e=void 0===t?{}:t,n=e.delayFallback,r=e.debug,o=e.monitoring,a=void 0===o||o;return u(this,void 0,void 0,(function(){return s(this,(function(t){switch(t.label){case 0:return a&&function(){if(!(window.__fpjs_d_m||Math.random()>=.001))try{var t=new XMLHttpRequest;t.open("get","https://m1.openfpcdn.io/fingerprintjs/v".concat(d,"/npm-monitoring"),!0),t.send()}catch(t){console.error(t)}}(),[4,lt(n)];case 1:return t.sent(),[2,dt(I(at,{debug:r},[]),r)]}}))}))},hashComponents:st,componentsToDebugString:ut};function ht(){return mt.apply(this,arguments)}function mt(){return(mt=n(i.mark((function t(){var e,n;return i.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,ft.load({monitoring:!1});case 3:return e=t.sent,t.next=6,e.get();case 6:return n=t.sent,t.abrupt("return",n.visitorId);case 10:return t.prev=10,t.t0=t.catch(0),console.log(t.t0),t.abrupt("return","");case 14:case"end":return t.stop()}}),t,null,[[0,10]])})))).apply(this,arguments)}function vt(){return pt.apply(this,arguments)}function pt(){return(pt=n(i.mark((function t(){return i.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise((function(t){window.requestIdleCallback?requestIdleCallback(n(i.mark((function e(){var n;return i.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ht();case 2:n=e.sent,t(n);case 4:case"end":return e.stop()}}),e)})))):setTimeout(n(i.mark((function e(){var n;return i.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ht();case 2:n=e.sent,t(n);case 4:case"end":return e.stop()}}),e)}))),500)})));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var yt=function(t){var e=t.env,n=t.kountAccountId,r=t.kountSessionId,o=function(t){return"production"===t}(e)?"https://ssl.kaptcha.com":"https://tst.kaptcha.com",a=new URL("".concat(o,"/collect/sdk"));a.searchParams.append("m",n),r&&a.searchParams.append("m",r);var i=document.createElement("script");return i.setAttribute("class","kaxsdc"),i.setAttribute("data-event","load"),i.setAttribute("type","text/javascript"),i.setAttribute("src",a.href),document.body.append(i),i};function bt(t){return gt.apply(this,arguments)}function gt(){return(gt=n(i.mark((function t(e){var n,r,o;return i.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.env,r=e.kountAccountId,o=e.kountSessionId,t.abrupt("return",new Promise((function(t,e){var a=yt({env:n,kountAccountId:r,kountSessionId:o});a.onload=function(){var e=new ka.ClientSDK;e.setupCallback({"collect-begin":function(e){var n=e.MercSessId;t(n)}}),e.autoLoadEvents()},a.onerror=function(){e(new Error("Error attempting to mount Kount script"))}})));case 2:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function wt(t){return Lt.apply(this,arguments)}function Lt(){return Lt=n(i.mark((function t(e){var n,r,o,a,c,u,s,l,d,f,h,m,v,p,y,b,g,w,L,k;return i.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.env,r=void 0===n?null:n,o=e.screen,a=e.navigator,c=e.kountAccountId,u=void 0===c?null:c,s=e.kountSessionId,l=void 0===s?null:s,d=e.getFingerprint,f=e.getFraudSessionId,m=(h=o||{}).colorDepth,v=h.height,p=h.width,b=(y=a||{}).javaEnabled,g=y.language,t.prev=3,t.next=6,d();case 6:if(w=t.sent,!u){t.next=11;break}return t.next=10,f({env:r,kountAccountId:u,kountSessionId:l});case 10:L=t.sent;case 11:t.next=16;break;case 13:t.prev=13,t.t0=t.catch(3),console.error(t.t0);case 16:return k={riskMetadata:{fingerprint:w||null,extraData:{kountFraudSessionId:L||null},browserData:{colorDepth:m||null,isJavaEnabled:b?b.call(a):null,language:g||null,screenHeight:v||null,screenWidth:p||null,timeZoneOffset:(new Date).getTimezoneOffset()}}},t.abrupt("return",k);case 18:case"end":return t.stop()}}),t,null,[[3,13]])}))),Lt.apply(this,arguments)}function kt(){return kt=n(i.mark((function t(){var e,n,r,o,a,c,u,s=arguments;return i.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=(e=s.length>0&&void 0!==s[0]?s[0]:{}).env,r=void 0===n?null:n,o=e.kountAccountId,a=void 0===o?null:o,c=e.kountSessionId,u=void 0===c?null:c,t.abrupt("return",wt({env:r,screen:screen,navigator:navigator,kountAccountId:a,kountSessionId:u,getFingerprint:vt,getFraudSessionId:bt}));case 2:case"end":return t.stop()}}),t)}))),kt.apply(this,arguments)}return t.collectData=function(){return kt.apply(this,arguments)},t.collectDataHelper=wt,Object.defineProperty(t,"__esModule",{value:!0}),t}({}); | ||
//# sourceMappingURL=data-collector.min.js.map |
{ | ||
"name": "@rebilly/risk-data-collector", | ||
"version": "3.7.0", | ||
"version": "3.7.1", | ||
"description": "Microlibrary that collects browser data for risk assessment", | ||
@@ -34,3 +34,3 @@ "type": "module", | ||
"@babel/runtime": "^7.22.15", | ||
"@fingerprintjs/fingerprintjs-pro": "^3.8.5" | ||
"@fingerprintjs/fingerprintjs": "^3.4.2" | ||
}, | ||
@@ -37,0 +37,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
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
311991
345
+ Added@fingerprintjs/fingerprintjs@3.4.2(transitive)
- Removed@fingerprintjs/fingerprintjs-pro@3.11.8(transitive)