PageSourceSearch

https://www.weroad.com/_nuxt/BAzYsiT22.js

js weroad.com collected 2026-09-24 10:11:05 UTC 2,032 bytes, 1 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:weroad":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`8e1b161a-f1e2-4fba-a61f-038f89f1cf44`,e._sentryDebugIdIdentifier=`sentry-dbid-8e1b161a-f1e2-4fba-a61f-038f89f1cf44`)}catch{}})();import{xt as e}from"./BSXR3eMi.js";import{t}from"./Ci8UjNx3.js";import{t as n}from"./B3KSCJh4.js";import{t as r}from"./Dl5eCTZ82.js";var i=`latest-viewed`,a=`latest-viewed-timestamps`,o=`has_latest_viewed`,s=[],c=6,l=n(()=>{let n=t(o,{path:`/`,maxAge:31536e3}),l=e(0),u=()=>{if(!r())return{};try{let e=JSON.parse(localStorage.getItem(a)||`{}`);return e&&typeof e==`object`&&!Array.isArray(e)?e:{}}catch{return{}}},d=(e,t)=>{let n={};t.forEach(t=>{let r=e[t];r&&(n[t]=r)});try{localStorage.setItem(a,JSON.stringify(n))}catch{}},f=e=>{if(!r())return s;let t=p();t.includes(e)&&t.splice(t.indexOf(e),1),t.unshift(e),t.length>c&&(t=t.slice(0,c)),localStorage.setItem(i,JSON.stringify(t)),d({...u(),[e]:new Date().toISOString()},t),n.value=!0,l.value++},p=()=>{if(!r())return s;try{let e=localStorage.getItem(i)||`[]`;return JSON.parse(e)}catch{return s}};return{addItemToLocalStorage:f,getItemsFromLocalStorage:p,getTimestamps:u,setItems:(e,t)=>{if(!r())return;let a=e.slice(0,c),o=t??u(),s=a.length>0||void 0;if(JSON.stringify(a)!==JSON.stringify(p())||JSON.stringify(o)!==JSON.stringify(u())||n.value!==s){try{localStorage.setItem(i,JSON.stringify(a))}catch{}d(o,a),n.value=a.length>0||void 0,l.value++}},clearStorageAndCookie:()=>{r()&&(localStorage.removeItem(i),localStorage.removeItem(a)),n.value=void 0},hasLatestViewedCookie:n,version:l}});export{l as t};

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.