PageSourceSearch

https://joincheckmate.com/assets/p-while-Dg5avBa_.js

js joincheckmate.com collected 2026-10-01 11:57:18 UTC 18,352 bytes, 1 lines download raw bytes

1import{i as e,n as t,o as n,r,t as i}from"./tslib.es6-NhdQCYIh.js";import{l as a}from"./load-script-C8eQdPRv.js";import{a as o,c as s,o as c,s as l}from"./middleware-C5_hVeYN.js";import{t as u}from"./gracefulDecodeURIComponent-DLo4kDSw.js";function d(){return!a()||window.navigator.onLine}function f(){return!d()}var p=function(){function e(){this.callbacks={}}return e.prototype.on=function(e,t){return this.callbacks[e]?this.callbacks[e].push(t):this.callbacks[e]=[t],this},e.prototype.once=function(e,t){var n=this,r=function(){var i=[...arguments];n.off(e,r),t.apply(n,i)};return this.on(e,r),this},e.prototype.off=function(e,t){var n=(this.callbacks[e]??[]).filter(function(e){return e!==t});return this.callbacks[e]=n,this},e.prototype.emit=function(e){for(var t=this,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return(this.callbacks[e]??[]).forEach(function(e){e.apply(t,n)}),this},e}();function m(e){var t=Math.random()+1,n=e.minTimeout,r=n===void 0?500:n,i=e.factor,a=i===void 0?2:i,o=e.attempt,s=e.maxTimeout,c=s===void 0?1/0:s;return Math.min(t*r*a**+o,c)}var h=`onRemoveFromFuture`,g=function(e){r(t,e);function t(t,n,r){var i=e.call(this)||this;return i.future=[],i.maxAttempts=t,i.queue=n,i.seen=r??{},i}return t.prototype.push=function(){for(var e=this,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t.map(function(t){return e.updateAttempts(t)>e.maxAttempts||e.includes(t)?!1:(e.queue.push(t),!0)});return this.queue=this.queue.sort(function(t,n){return e.getAttempts(t)-e.getAttempts(n)}),r},t.prototype.pushWithBackoff=function(e){var t=this;if(this.getAttempts(e)===0)return this.push(e)[0];var n=this.updateAttempts(e);if(n>this.maxAttempts||this.includes(e))return!1;var r=m({attempt:n-1});return setTimeout(function(){t.queue.push(e),t.future=t.future.filter(function(t){return t.id!==e.id}),t.emit(h)},r),this.future.push(e),!0},t.prototype.getAttempts=function(e){return this.seen[e.id]??0},t.prototype.updateAttempts=function(e){return this.seen[e.id]=this.getAttempts(e)+1,this.getAttempts(e)},t.prototype.includes=function(e){return this.queue.includes(e)||this.future.includes(e)||!!this.queue.find(function(t){return t.id===e.id})||!!this.future.find(function(t){return t.id===e.id})},t.prototype.pop=function(){return this.queue.shift()},Object.defineProperty(t.prototype,"length",{get:function(){return this.queue.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"todo",{get:function(){return this.queue.length+this.future.length},enumerable:!1,configurable:!0}),t}(p);function _(n){return t(this,void 0,void 0,function(){var t;return e(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,n()];case 1:return[2,e.sent()];case 2:return t=e.sent(),[2,Promise.reject(t)];case 3:return[2]}})})}function v(e,t){e.log(`debug`,`plugin`,{plugin:t.name});var n=new Date().getTime(),r=t[e.event.type];return r===void 0?Promise.resolve(e):_(function(){return r.apply(t,[e])}).then(function(e){var r=new Date().getTime()-n;return e.stats.gauge(`plugin_time`,r,[`plugin:${t.name}`]),e}).catch(function(n){if(n instanceof o&&n.type===`middleware_cancellation`)throw n;return n instanceof o?(e.log(`warn`,n.type,{plugin:t.name,error:n}),n):(e.log(`error`,`plugin Error`,{plugin:t.name,error:n}),e.stats.increment(`plugin_error`,1,[`plugin:${t.name}`]),n)})}function y(e,t){return v(e,t).then(function(t){if(t instanceof c)return t;e.log(`debug`,`Context canceled`),e.stats.increment(`context_canceled`),e.cancel(t)})}function b(e,t){return t||={},new Promise(function(n,r){var i=new XMLHttpRequest,a=[],o=[],s={},c=function(){return{ok:(i.status/100|0)==2,statusText:i.statusText,status:i.status,url:i.responseURL,text:function(){return Promise.resolve(i.responseText)},json:function(){return Promise.resolve(i.responseText).then(JSON.parse)},blob:function(){return Promise.resolve(new Blob([i.response]))},clone:c,headers:{keys:function(){return a},entries:function(){return o},get:function(e){return s[e.toLowerCase()]},has:function(e){return e.toLowerCase()in s}}}};for(var l in i.open(t.method||`get`,e,!0),i.onload=function(){i.getAllResponseHeaders().replace(/^(.*?):[^\S\n]*([\s\S]*?)$/gm,function(e,t,n){a.push(t=t.toLowerCase()),o.push([t,n]),s[t]=s[t]?s[t]+`,`+n:n}),n(c())},i.onerror=r,i.withCredentials=t.credentials==`include`,t.headers)i.setRequestHeader(l,t.headers[l]);i.send(t.body||null)})}var x=function(){return typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:null},S=function(){var e=[...arguments],t=x();return(t&&t.fetch||b).apply(void 0,e)}
1,C=`0.5.9`;function w(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)r!==`__proto__`&&(e[r]=n[r])}return e}var ee={read:function(e){return e[0]===`"`&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function T(e,t){function n(n,r,i){if(!(typeof document>`u`)){i=w({},t,i),typeof i.expires==`number`&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&(i.expires=i.expires.toUTCString()),n=encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a=``;for(var o in i)i[o]&&(a+=`; `+o,i[o]!==!0&&(a+=`=`+i[o].split(`;`)[0]));return document.cookie=n+`=`+e.write(r,n)+a}}function r(t){if(!(typeof document>`u`||arguments.length&&!t)){for(var n=document.cookie?document.cookie.split(`; `):[],r={},i=0;i<n.length;i++){var a=n[i].split(`=`),o=a.slice(1).join(`=`);try{var s=decodeURIComponent(a[0]);if(s in r||(r[s]=e.read(o,s)),t===s)break}catch{}}return t?r[t]:r}}return Object.create({set:n,get:r,remove:function(e,t){n(e,``,w({},t,{expires:-1}))},withAttributes:function(e){return T(this.converter,w({},this.attributes,e))},withConverter:function(e){return T(w({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var E=T(ee,{path:`/`});function te(e){var t=e.hostname.split(`.`),n=t[t.length-1],r=[];if(t.length===4&&parseInt(n,10)>0||t.length<=1)return r;for(var i=t.length-2;i>=0;--i)r.push(t.slice(i).join(`.`));return r}function ne(e){try{return new URL(e)}catch{return}}function D(e){var t=ne(e);if(t)for(var n=te(t),r=0;r<n.length;++r){var i=`__tld__`,a=n[r],o={domain:`.`+a};try{if(E.set(i,`1`,o),E.get(i))return E.remove(i,o),a}catch{return}}}function O(e){for(var t=e.constructor.prototype,n=0,r=Object.getOwnPropertyNames(t);n<r.length;n++){var i=r[n];if(i!==`constructor`){var a=Object.getOwnPropertyDescriptor(e.constructor.prototype,i);a&&typeof a.value==`function`&&(e[i]=e[i].bind(e))}}return e}var k={persist:!0,cookie:{key:`ajs_user_id`,oldKey:`ajs_user`},localStorage:{key:`ajs_user_traits`}},A=function(){function e(){this.cache={}}return e.prototype.get=function(e){return this.cache[e]},e.prototype.set=function(e,t){this.cache[e]=t},e.prototype.remove=function(e){delete this.cache[e]},Object.defineProperty(e.prototype,"type",{get:function(){return`memory`},enumerable:!1,configurable:!0}),e}(),re=365,j=function(e){r(t,e);function t(n){n===void 0&&(n=t.defaults);var r=e.call(this)||this;return r.options=i(i({},t.defaults),n),r}return t.available=function(){var e=window.navigator.cookieEnabled;return e||(E.set(`ajs:cookies`,`test`),e=document.cookie.includes(`ajs:cookies`),E.remove(`ajs:cookies`)),e},Object.defineProperty(t,"defaults",{get:function(){return{maxage:re,domain:D(window.location.href),path:`/`,sameSite:`Lax`}},enumerable:!1,configurable:!0}),t.prototype.opts=function(){return{sameSite:this.options.sameSite,expires:this.options.maxage,domain:this.options.domain,path:this.options.path,secure:this.options.secure}},t.prototype.get=function(e){try{var t=E.get(e);if(!t)return null;try{return JSON.parse(t)}catch{return t}}catch{return null}},t.prototype.set=function(e,t){typeof t==`string`?E.set(e,t,this.opts()):t===null?E.remove(e,this.opts()):E.set(e,JSON.stringify(t),this.opts())},t.prototype.remove=function(e){return E.remove(e,this.opts())},Object.defineProperty(t.prototype,"type",{get:function(){return`cookie`},enumerable:!1,configurable:!0}),t}(A),M=function(e,t){console.warn(`Unable to access ${e}, localStorage may be ${t}`)},N=function(e){r(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.available=function(){var e=`test`;try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch{return!1}},t.prototype.get=function(e){try{var t=localStorage.getItem(e);if(t===null)return null;try{return JSON.parse(t)}catch{return t}}catch{return M(e,`unavailable`),null}},t.prototype.set=function(e,t){try{localStorage.setItem(e,JSON.stringify(t))}catch{M(e,`full`)}},t.prototype.remove=function(e){try{return localStorage.removeItem(e)}catch{M(e,`unavailable`)}},Object.defineProperty(t.prototype,"type",{get:function(){return`localStorage`}
1,enumerable:!1,configurable:!0}),t}(A),P=function(){function e(e,t){this.storageOptions=t,this.enabledStores=e}return e.prototype.getStores=function(e){var t=this,n=[];return this.enabledStores.filter(function(t){return!e||e?.includes(t)}).forEach(function(e){var r=t.storageOptions[e];r!==void 0&&n.push(r)}),n},e.prototype.getAndSync=function(e,t){var n=this.get(e,t),r=typeof n==`number`?n.toString():n;return this.set(e,r,t),r},e.prototype.get=function(e,t){for(var n=null,r=0,i=this.getStores(t);r<i.length;r++)if(n=i[r].get(e),n)return n;return null},e.prototype.set=function(e,t,n){for(var r=0,i=this.getStores(n);r<i.length;r++)i[r].set(e,t)},e.prototype.clear=function(e,t){for(var n=0,r=this.getStores(t);n<r.length;n++)r[n].remove(e)},e}();function F(e){return{cookie:j.available()?new j(e):void 0,localStorage:N.available()?new N:void 0,memory:new A}}var I=function(){function e(e,t){e===void 0&&(e=k);var n=this;this.options={},this.id=function(e){if(n.options.disable)return null;var t=n.identityStore.getAndSync(n.idKey);e!==void 0&&(n.identityStore.set(n.idKey,e),e!==t&&t!==null&&e!==null&&n.anonymousId(null));var r=n.identityStore.getAndSync(n.idKey);if(r)return r;var i=n.legacyUserStore.get(k.cookie.oldKey);return i?typeof i==`object`?i.id:i:null},this.anonymousId=function(e){if(n.options.disable)return null;if(e===void 0){var t=n.identityStore.getAndSync(n.anonKey)??n.legacySIO()?.[0];if(t)return t}return e===null?(n.identityStore.set(n.anonKey,null),n.identityStore.getAndSync(n.anonKey)):(n.identityStore.set(n.anonKey,e??s()),n.identityStore.getAndSync(n.anonKey))},this.traits=function(e){if(!n.options.disable)return e===null&&(e={}),e&&n.traitsStore.set(n.traitsKey,e??{}),n.traitsStore.get(n.traitsKey)??{}},this.options=e,this.cookieOptions=t,this.idKey=e.cookie?.key??k.cookie.key,this.traitsKey=e.localStorage?.key??k.localStorage.key,this.anonKey=`ajs_anonymous_id`;var r=e.disable===!0,i=e.persist!==!1,a=r?[]:i?[`localStorage`,`cookie`,`memory`]:[`memory`],o=F(t);e.localStorageFallbackDisabled&&(a=a.filter(function(e){return e!==`localStorage`})),this.identityStore=new P(a,o),this.legacyUserStore=new P(a.filter(function(e){return e!==`localStorage`&&e!==`memory`}),o),this.traitsStore=new P(a.filter(function(e){return e!==`cookie`}),o);var c=this.legacyUserStore.get(k.cookie.oldKey);c&&typeof c==`object`&&(c.id&&this.id(c.id),c.traits&&this.traits(c.traits)),O(this)}return e.prototype.legacySIO=function(){var e=this.legacyUserStore.get(`_sio`);if(!e)return null;var t=e.split(`----`);return[t[0],t[1]]},e.prototype.identify=function(e,t){if(!this.options.disable){t??={};var n=this.id();(n===null||n===e)&&(t=i(i({},this.traits()),t)),e&&this.id(e),this.traits(t)}},e.prototype.logout=function(){this.anonymousId(null),this.id(null),this.traits({})},e.prototype.reset=function(){this.logout(),this.identityStore.clear(this.idKey),this.identityStore.clear(this.anonKey),this.traitsStore.clear(this.traitsKey)},e.prototype.load=function(){return new e(this.options,this.cookieOptions)},e.prototype.save=function(){return!0},e.defaults=k,e}(),ie={persist:!0,cookie:{key:`ajs_group_id`},localStorage:{key:`ajs_group_properties`}},L=function(e){r(t,e);function t(t,n){t===void 0&&(t=ie);var r=e.call(this,t,n)||this;return r.anonymousId=function(e){},O(r),r}return t}(I),R;function ae(){if(R)return R;var e=D(window.location.href);return R={expires:31536e6,secure:!1,path:`/`},e&&(R.domain=e),R}var oe=`npm`;function z(){return oe}function se(){var e=E.get(`_ga`);if(e&&e.startsWith(`amp`))return e}function B(e){return e.startsWith(`?`)&&(e=e.substring(1)),e=e.replace(/\?/g,`&`),e.split(`&`).reduce(function(e,t){var n=t.split(`=`),r=n[0],i=n[1],a=i===void 0?``:i;if(r.includes(`utm_`)&&r.length>4){var o=r.substr(4);o===`campaign`&&(o=`name`),e[o]=u(a)}return e},{})}function V(e){var t={btid:`dataxu`,urid:`millennial-media`};e.startsWith(`?`)&&(e=e.substring(1)),e=e.replace(/\?/g,`&`);for(var n=e.split(`&`),r=0,i=n;r<i.length;r++){var a=i[r].split(`=`),o=a[0],s=a[1];if(t[o])return{id:s,type:t[o]}}}function H(e,t,n){var r=new P(n?[]:[`cookie`],F(ae())),a=r.get(`s:context.referrer`),o=V(e);o??=a,o&&(t&&(t.referrer=i(i({},t.referrer),o)),r.set(`s:context.referrer`,o))}function U(e,t,n,r){var a=e.user(),o=window.location.search;t.context=t.context??t.options??{};var s=t.context;delete t.options,t.writeKey=n?.apiKey,s.userAgent=window.navigator.userAgent;var c=navigator.userLanguage||navigator.language;s.locale===void 0&&c!==void 0&&(s.locale=c),s.library||=z()===`web`?{name:`analytics.js`,version:`next-${C}`}:{name:`analytics.js`,version:`npm:next-${C}`},o&&!s.campaign&&(s.campaign=B(o)),H(o,s,e.options.disableClientPersistence??!1),t.userId=t.userId||a.id(),t.anonymousId=t.anonymousId||a.anonymousId(),t.sentAt=new Date;var l=e.queue.failedInitializations||[];l.length>0&&(t._metadata={failedInitializations:l});var u=[],d=[];for(var f in r){var p=r[f];f===`Customer.io Data Pipelines`&&u.push(f),p.bundlingStatus===`bundled`&&u.push(f),p.bundlingStatus===`unbundled`&&d.push(f)}for(var m=0,h=n?.unbundledIntegrations||[];m<h.length;m++){var g=h[m];d.includes(g)||d.push(g)}var _=n?.maybeBundledConfigIds??{},v=[];
1u.sort().forEach(function(e){(_[e]??[]).forEach(function(e){v.push(e)})}),n?.addBundledMetadata!==!1&&(t._metadata=i(i({},t._metadata),{bundled:u.sort(),unbundled:d.sort(),bundledIds:v}));var y=se();return y&&(s.amp={id:y}),t}var W=function(e,t,n){var r=t.reduce(function(e,t){var n=t.split(`:`),r=n[0];return e[r]=n[1],e},{});return{type:`Counter`,metric:e,value:1,tags:i(i({},r),{library:`analytics.js`,library_version:n===`web`?`next-${C}`:`npm:next-${C}`})}};function G(e){console.error(`Error sending performance metrics`,e)}var ce=function(){function n(e){var t=this;if(this.host=e?.host??`cdp.customer.io/v1`,this.sampleRate=e?.sampleRate??1,this.flushTimer=e?.flushTimer??3e4,this.maxQueueSize=e?.maxQueueSize??20,this.queue=[],this.sampleRate>0){var n=!1,r=function(){n||(n=!0,t.flush().catch(G),n=!1,setTimeout(r,t.flushTimer))};r()}}return n.prototype.increment=function(e,t){if(e.includes(`analytics_js.`)&&t.length!==0&&!(Math.random()>this.sampleRate)&&!(this.queue.length>=this.maxQueueSize)){var n=W(e,t,z());this.queue.push(n),e.includes(`error`)&&this.flush().catch(G)}},n.prototype.flush=function(){return t(this,void 0,void 0,function(){var t=this;return e(this,function(e){switch(e.label){case 0:return this.queue.length<=0?[2]:[4,this.send().catch(function(e){G(e),t.sampleRate=0})];case 1:return e.sent(),[2]}})})},n.prototype.send=function(){return t(this,void 0,void 0,function(){var t,n,r;return e(this,function(e){return t={series:this.queue},this.queue=[],n={"Content-Type":`text/plain`},r=`https://${this.host}/m`,[2,S(r,{headers:n,body:JSON.stringify(t),method:`POST`})]})})},n}(),K,q=function(e){r(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}return t.initRemoteMetrics=function(e){K=new ce(e)},t.prototype.increment=function(t,n,r){e.prototype.increment.call(this,t,n,r),K?.increment(t,r??[])},t}(l),J=function(e){r(t,e);function t(t,n){return e.call(this,t,n,new q)||this}return t.system=function(){return new this({type:`track`,event:`system`})},t}(c),Y={getItem:function(){},setItem:function(){},removeItem:function(){}};try{Y=a()&&window.localStorage?window.localStorage:Y}catch(e){console.warn(`Unable to access localStorage`,e)}function X(e){var t=Y.getItem(e);return(t?JSON.parse(t):[]).map(function(e){return new J(e.event,e.id)})}function le(e,t){var r=X(e),a=n(n([],t,!0),r,!0).reduce(function(e,t){var n;return i(i({},e),(n={},n[t.id]=t,n))},{});Y.setItem(e,JSON.stringify(Object.values(a)))}function Z(e){var t=Y.getItem(e);return t?JSON.parse(t):{}}function ue(e,t){var n=Z(e);Y.setItem(e,JSON.stringify(i(i({},n),t)))}function Q(e){Y.removeItem(e)}var de=function(){return new Date().getTime()};function $(e,t,n){n===void 0&&(n=0);var r=50,i=`persisted-queue:v1:${e}:lock`,a=function(e){return new Date().getTime()>e},o=Y.getItem(i),s=o?JSON.parse(o):null,c=s===null||a(s);if(c){Y.setItem(i,JSON.stringify(de()+r)),t(),Y.removeItem(i);return}!c&&n<3?setTimeout(function(){$(e,t,n+1)},r):console.error(`Unable to retrieve lock`)}var fe=function(e){r(t,e);function t(t,r){var a=e.call(this,t,[])||this,o=`persisted-queue:v1:${r}:items`,s=`persisted-queue:v1:${r}:seen`,c=[],l={};return $(r,function(){try{c=X(o),l=Z(s),Q(o),Q(s),a.queue=n(n([],c,!0),a.queue,!0),a.seen=i(i({},l),a.seen)}catch(e){console.error(e)}}),window.addEventListener(`pagehide`,function(){if(a.todo>0){var e=n(n([],a.queue,!0),a.future,!0);try{$(r,function(){le(o,e),ue(s,a.seen)})}catch(e){console.error(e)}}}),a}return t}(g);function pe(e,t){var n=Object.entries(t.integrations??{}).reduce(function(e,t){var n,r,a=t[0],o=t[1];return typeof o==`object`?i(i({},e),(n={},n[a]=o,n)):i(i({},e),(r={},r[a]={},r))},{});return Object.entries(e.integrations).reduce(function(e,t){var r,a=t[0],o=t[1];return i(i({},e),(r={},r[a]=i(i({},o),n[a]),r))},{})}var me=function(n,r){return t(void 0,void 0,void 0,function(){var i;return e(this,function(a){return i=function(a){return t(void 0,void 0,void 0,function(){var t;return e(this,function(e){switch(e.label){case 0:return n(a)?(t=i,[4,r()]):[3,2];case 1:return[2,t.apply(void 0,[e.sent()])];case 2:return[2]}})})},[2,i(void 0)]})})};export{h as _,q as a,f as b,P as c,O as d,C as f,y as g,v as h,J as i,I as l,x as m,pe as n,U as o,S as p,fe as r,L as 
1s,me as t,F as u,g as v,d as x,p as y};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.