PageSourceSearch

https://movenl.nl/content/themes/movenl/assets/js/reformat-DUMoSDhI.js

js movenl.nl collected 2026-09-24 13:30:32 UTC 1,124 bytes, 17 lines download raw bytes

1import { j as compress } from './main-module-D8UQLSsS.js';
2
3const reformat={/**
4   * @param {string} str
5   */stringToSlug:str=>{return str.trim().toLowerCase().replace(/[\W_]+/g,'-').replace(/^-+|-+$/g,'');},/**
6   * @param {string} htmlStr
7   */escape:htmlStr=>{if(htmlStr&&typeof htmlStr==='string'&&htmlStr.length>0){return htmlStr.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;");}return htmlStr;},/**
8   * @param {string} str
9   */encodeURI:str=>{return encodeURIComponent(str);},/**
10   * @param {number} cents
11   */centsToAmount:cents=>{if(typeof cents!=="number"||isNaN(cents)){throw new Error("I need a number");}const euros=cents/100;return euros.toFixed(2).replace('.',',');},/**
12   * @param {number} cents
13   */offerPrice:cents=>{if(cents==null||cents===0){return 'Gratis';}const priceStr=cents.toString().padStart(3,'0');const euros=priceStr.slice(0,-2);const centsPart=priceStr.slice(-2);return `€${euros},${centsPart}`;},/**
14   * @param {object} obj
15   */encodeObjectForUrl(obj){return compress(JSON.stringify(obj));}};
16
17export { reformat 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.