PageSourceSearch

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

js secretbox.fr collected 2026-10-03 21:28:24 UTC 3,768 bytes, 1 lines download raw bytes

1import{$ as e,H as t,Ht as n,_ as r,b as i,d as a,et as o,f as s,l as c,p as l,r as u,u as d,v as f,vt as p,z as m}from"./CgDnuvNn.js";import{t as h}from"./BF54hvle.js";import{t as g}from"./r6p9DegC.js";import{t as _}from"./B65RteAa.js";import{r as v}from"./DSRxqT_q.js";import{t as y}from"./BDNMzG2s2.js";import{t as b}from"./UP9bZ5-X.js";import{t as x}from"./DktJAVcC.js";import{n as S,t as C}from"./DSqFRPy8.js";import{t as w}from"./CffetNxK.js";var T={class:`category-product-section border-t border-sand pt-8 first:border-t-0 first:pt-0 md:pt-10`},E=Object.assign(i({__name:`product-section`,props:{category:{},parentName:{}},async setup(t){let n,r,{apiUrl:i}=_(),{data:a,status:o}=([n,r]=e(()=>g(i(`/api/category/${t.category.id}/products`,{pageSize:8}),`$hWNhhhRsZ4`)),n=await n,r(),n),s=c(()=>a.value?.products.items||[]),u=c(()=>t.category.canonical_path||`/${t.category.url_key}.html`);return(e,n)=>{let r=S,i=C;return m(),l(`section`,T,[f(r,{class:`category-product-section-header mb-8`,loading:p(o)===`pending`,text:t.parentName,title:t.category.name,"link-label":e.$t(`catalog.explore`),"link-to":p(u)},null,8,[`loading`,`text`,`title`,`link-label`,`link-to`]),f(i,{loading:p(o)===`pending`,"placeholder-count":8,products:p(s)},null,8,[`loading`,`products`])])}}}),{__name:`CatalogCategoryProductSection`}),D={class:`category-section-grid space-y-12 px-3 md:space-y-16 md:px-0`},O=Object.assign(i({__name:`section-grid`,props:{category:{}},setup(e){let{categoryChildren:n}=b(e.category);return(r,i)=>{let o=E;return m(),l(`div`,D,[(m(!0),l(u,null,t(p(n),t=>(m(),a(o,{key:t.uid,category:t,"parent-name":e.category.name},null,8,[`category`,`parent-name`]))),128))])}}}),{__name:`CatalogCategorySectionGrid`}),k={class:`category-root-header pb-4 pt-8 md:pt-10`},A={class:`category-root-header-inner mx-auto max-w-7xl px-3 md:px-6`},j={class:`category-root-heading border-l-2 border-gold pl-4`},M={class:`category-root-title font-display text-3xl font-normal md:text-4xl`},N={class:`italic text-gold`},P=[`innerHTML`],F=[`aria-label`],I={class:`category-root-nav-inner mx-auto flex max-w-7xl items-center gap-1.5 overflow-x-auto px-3 py-2 [scrollbar-width:none] md:gap-3 md:px-6 md:py-4`},L={class:`category-root-nav-label hidden shrink-0 text-xs text-ink/50 md:block`},R=Object.assign(y(i({__name:`page-category-root`,props:{content:{}},setup(e){let{categoryChildren:i,categoryUrl:g}=b(()=>e.content.entity),_=c(()=>e.content.entity.secretbox_page_title||``),y=c(()=>e.content.entity.processed_metadata?.h1_title||e.content.entity.name);return x(()=>e.content.entity),v(e.content,i,g),(c,v)=>{let b=h,x=O,S=w;return m(),l(u,null,[d(`section`,k,[d(`div`,A,[d(`div`,j,[d(`h1`,M,[p(_)?(m(),l(u,{key:0},[r(n(c.$t(`catalog.categoryRoot.titlePrefix`))+` `,1),d(`em`,N,n(p(_)),1)],64)):(m(),l(u,{key:1},[r(n(p(y)),1)],64))]),e.content.entity.description?(m(),l(`div`,{key:0,class:`category-root-description mt-2 max-w-3xl text-sm font-light leading-relaxed text-ink/60`,innerHTML:e.content.entity.description},null,8,P)):s(``,!0)])])]),d(`nav`,{class:`category-root-nav border-y border-sand bg-ivory/95 backdrop-blur`,"aria-label":c.$t(`catalog.explore`)},[d(`div`,I,[d(`span`,L,n(c.$t(`catalog.explore`))+` → `,1),(m(!0),l(u,null,t(p(i),e=>(m(),a(b,{key:e.uid,to:p(g)(e),class:`category-root-nav-link shrink-0 rounded-full border border-sand bg-white px-3 py-1.5 text-[13px] !text-ink/70 transition hover:border-gold hover:!text-gold md:px-5 md:py-2.5 md:text-sm`},{default:o(()=>[r(n(e.name),1)]),_:2},1032,[`to`]))),128))])],8,F),f(S,{class:`category-root-sections py-12 md:py-16`},{default:o(()=>[f(x,{category:e.content.entity},null,8,[`category`])]),_:1})],64)}}}),[[`__scopeId`,`data-v-4893aae2`]]),{__name:`CatalogPageCategoryRoot`});export{R as default};

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.