PageSourceSearch

https://www.eriksbikeshop.com/cdn/shop/t/8/assets/constructor-identity.js?v=99714613987793421621787186146

js eriksbikeshop.com collected 2026-10-03 22:12:40 UTC 2,390 bytes, 2 lines download raw bytes

1(function(){const CLIENT_ID_KEY="ConstructorioID_client_id",CLIENT_ID_LOCAL_KEY="_constructorio_search_client_id",SESSION_ID_KEY="_constructorio_search_session_id",SESSION_DATA_KEY="_constructorio_search_session",SESSION_COOKIE_KEY="ConstructorioID_session";function getCookie(name){try{const prefix=name+"=",cookies=document.cookie.split(";");for(let i=0;i<cookies.length;i++){let cookie=cookies[i];for(;cookie.charAt(0)===" ";)cookie=cookie.substring(1);if(cookie.indexOf(prefix)===0){const value=cookie.substring(prefix.length);try{return decodeURIComponent(value)}catch{return value}}}}catch{}return""}function setCookie(name,value){const expires=new Date(Date.now()+31536e6);document.cookie=name+"="+encodeURIComponent(value)+"; expires="+expires.toUTCString()+"; path=/"}function getClientId(){try{let id=getCookie(CLIENT_ID_KEY);if(!id)try{id=localStorage.getItem(CLIENT_ID_LOCAL_KEY)||""}catch{}return id||(id=typeof crypto<"u"&&typeof crypto.randomUUID=="function"?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,c=>{const r=Math.random()*16|0;return(c==="x"?r:r&3|8).toString(16)})),setCookie(CLIENT_ID_KEY,id),id}catch{return""}}function getSessionNumber(){try{const now=Date.now();let sessionData=null;try{const raw=localStorage.getItem(SESSION_DATA_KEY);raw&&(sessionData=JSON.parse(raw))}catch{}if(!sessionData||typeof sessionData!="object"){const cookieData=getCookie(SESSION_COOKIE_KEY);if(cookieData)try{sessionData=JSON.parse(cookieData)}catch{sessionData=null}}let sessionId=1,sessionDataId=1;sessionData&&typeof sessionData=="object"&&(sessionDataId=parseInt(sessionData.sessionId,10)||1,sessionId=sessionData.lastTime>now-18e5?sessionDataId:sessionDataId+1);const isNew=!sessionData||sessionDataId!==sessionId,storedData={sessionId,lastTime:now};isNew&&(storedData.newToBeacon=!0);try{localStorage.setItem(SESSION_ID_KEY,sessionId),localStorage.setItem(SESSION_DATA_KEY,JSON.stringify(storedData))}catch{}return sessionId}catch{return 1}}function appendIdentityParams(params){return params.set("i",getClientId()),params.set("s",getSessionNumber()),params.set("_dt",Date.now().toString()),window.cnstrc?.userId&&params.set("ui",window.cnstrc.userId),params}window.ConstructorIdentity={getClientId,getSessionNumber,appendIdentityParams}})();
2//# sourceMappingURL=/cdn/shop/t/8/assets/constructor-identity.js.map?v=99714613987793421621787186146

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.