PageSourceSearch

https://vizops360.ai/assets/customFieldUtils-ItY4nK8V.js

js vizops360.ai collected 2026-10-05 13:53:33 UTC 933 bytes, 1 lines download raw bytes

1function a(t){return t.toLowerCase().trim().replace(/[^a-z0-9]+/g,"_").replace(/^_+|_+$/g,"")}function g(t){if(t==null)return[];let r=t;if(typeof r=="string")try{r=JSON.parse(r)}catch{return[]}return Array.isArray(r)?r.length?typeof r[0]=="string"?r.map(e=>({label:e,slug:e})):r.map(e=>({label:String(e.label??e.slug??"").trim(),slug:a(String(e.slug??e.label??""))})).filter(e=>e.slug&&e.label):[]:[]}function f(t,r){const e=String(t??"").trim();if(!e)return"";const l=r.find(n=>n.slug===e);if(l)return l.slug;const i=e.toLowerCase(),u=r.find(n=>n.label===e||n.label.toLowerCase()===i);if(u)return u.slug;const o=a(e),s=r.find(n=>n.slug===o);return s?s.slug:e}function c(t,r){let e=[];if(Array.isArray(t))e=t.map(l=>String(l??"").trim()).filter(Boolean);else if(typeof t=="string"&&t.trim()){const l=t.trim();e=l.includes(",")?l.split(",").map(i=>i.trim()).filter(Boolean):[l]}return e.map(l=>f(l,r))}export{c,a as g,g as n,f as r};

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.