PageSourceSearch

https://hoydedata.no/LaserInnsyn2/assets/External-BnDV-MAl.js

js hoydedata.no collected 2026-09-24 19:16:31 UTC 2,137 bytes, 1 lines download raw bytes

1import{a4 as p,aD as f,h as m,aE as y,aF as b}from"./index-DOEMLUVm.js";class ${constructor(s,r,t){this.assetName=s,this.assetMimeType=r,this.parts=t}equals(s){return this===s||this.assetName===s.assetName&&this.assetMimeType===s.assetMimeType&&m(this.parts,s.parts,(r,t)=>r.equals(t))}isOnService(s){return this.parts.every(r=>r.isOnService(s))}makeHash(){let s="";for(const r of this.parts)s+=r.partHash;return s}async toBlob(s){const{parts:r}=this;if(r.length===1)return r[0].toBlob(s);const t=await Promise.all(r.map(n=>n.toBlob(s)));return f(s),new Blob(t)}}class d{constructor(s,r){this.partUrl=s,this.partHash=r}equals(s){return this===s||this.partUrl===s.partUrl&&this.partHash===s.partHash}isOnService(s){return this.partUrl.startsWith(`${s.path}/assets/`)}async toBlob(s){const{data:r}=await p(this.partUrl,{responseType:"blob"});return f(s),r}}function T(e){return v(e==null?void 0:e.source)}const c=/^(model\/gltf\+json)|(model\/gltf-binary)$/,l=/\.(gltf|glb)/i;function v(e){switch(e==null?void 0:e.type){case"client":return Array.isArray(e.files)?e.files.some(i):i(e.files);case"service":return e.assets.some(i);case"loadable":return!0;default:return!1}}function i(e){if(e instanceof File){const{type:s,name:r}=e;return c.test(s)||l.test(r)}return c.test(e.assetMimeType)||l.test(e.assetName)}function w(e,s){if(!e)return!1;const{source:r}=e;return g(r,s)}function B(e,s){if(e===s)return!0;const{source:r}=e,{source:t}=s;if(r===t)return!0;if(r.type==="service"&&t.type==="service"){if(r.assets.length!==t.assets.length)return!1;const n=(a,u)=>a.assetName<u.assetName?-1:a.assetName>u.assetName?1:0,o=[...r.assets].sort(n),h=[...t.assets].sort(n);for(let a=0;a<o.length;++a)if(!o[a].equals(h[a]))return!1;return!0}return!1}function g(e,s){return e.type==="service"&&e.assets.every(r=>r.isOnService(s))}function H(e,s){return e instanceof File?y(e,s):b(e.assetMimeType,e.assetName,s)}function M(e){switch(e.type){case"client":return Array.isArray(e.files)?e.files:[e.files];case"service":return e.assets;case"loadable":return}}function U(e){return!!e.original}export{M as b,w as f,$ as i,B as m,d as n,T as o,U as v,H 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.