PageSourceSearch

https://www.secretbox.fr/_nuxt/_5DzAWU8.js

js secretbox.fr collected 2026-10-03 21:27:02 UTC 1,756 bytes, 1 lines download raw bytes

1import{o as e}from"./pjNrNw7U.js";import{l as t}from"./CgDnuvNn.js";import{f as n}from"./DxsG3bq2.js";import{n as r}from"./BzTDrFb9.js";import{t as i}from"./BYOe8pWq.js";import{n as a}from"./B85NN3-G.js";var o=new Set([`cid`,`page`,`sort`,`categoryId`]),s=new Set([`search`,`lat`,`lng`,`radius`]),c=new Set([`establishment`]),l=e=>(Array.isArray(e)?e:[e]).filter(e=>typeof e==`string`).flatMap(e=>e.split(`|`)).map(e=>e.trim()).filter(Boolean),u=e=>Object.entries(e).some(([e,t])=>s.has(e)&&l(t).length>0),d=e=>{let t=[];for(let[n,r]of Object.entries(e)){if(o.has(n)||s.has(n))continue;let e=l(r);e.length&&t.push([n,e])}return t},f=e=>{let t=Number(l(e.page)[0]);return Number.isInteger(t)&&t>1?t:null},p=e=>e.replace(/\/+$/,``)||`/`,m=(e,t,n,r=null)=>{let i=new URL(p(r?.canonicalPath||e),n),a=d(t),o=f(t),m=!r?.noIndex&&!u(t)&&!a.some(([e])=>c.has(e))&&(a.length===0||a.length===1&&a[0][1].length===1);for(let[e,t]of a)i.searchParams.set(e,t.join(`|`));if(u(t))for(let e of s){let n=l(t[e]);n.length&&i.searchParams.set(e,n.join(`|`))}return o&&i.searchParams.set(`page`,String(o)),{canonical:i.href,robots:[m?`index`:`noindex`,r?.noFollow?`nofollow`:`follow`].join(`, `)}},h=()=>i(`entity_seo`,()=>null),g=()=>{let e=h(),t=n();return{setEntitySeo:n=>{e.value=n?{path:t.path,seo:n}:null}}},_=()=>{let e=n(),r=a(),i=h(),o=t(()=>i.value?.path===e.path?i.value.seo:null),s=t(()=>m(e.path,e.query,r,o.value));return{state:s,isIndexable:t(()=>s.value.robots.startsWith(`index`))}},v=()=>{let t=String(e().public.robotsNoIndex??``);return t!==``&&t!==`0`&&t!==`false`},y=()=>{let{state:e}=_(),n=v();r(t(()=>({link:[{rel:`canonical`,href:e.value.canonical}],meta:[{name:`robots`,content:n?`noindex, nofollow`:e.value.robots}]})))};export{y as n,g as r,_ 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.