1import{x as d,w as e}from"./index-frHe-QTJ.js";import{c as p}from"./website-8BCxNJ7H.js";import{s as x}from"./stores-C0mJ0Epb.js";import{i as w,j as k,O as S,r as y}from"./index-C17B0W3s.js";import{h as j}from"./router-B_iyvJuC.js";import{u as v}from"./PublicConfigProvider-kNi7Hxab.js";import{o as T,q as E,_ as C,g as f,M as L,a as b,S as O}from"./components-D5hao2Cj.js";import{a as M}from"./components-D9grnNXd.js";import{g as N}from"./generateMetas-BeQf208e.js";import"./index-Lm53zlLu.js";import"./preload-helper-D7HrI6pR.js";import"./ContributionMode-cgEUsAj2.js";import"./MediaQuery-ChGzcqTw.js";import"./react-lifecycles-compat.es-rcFiNSPc.js";import"./index-_39QetOB.js";/** 2 * @remix-run/react v2.17.5 3 * 4 * Copyright (c) Remix Software Inc. 5 * 6 * This source code is licensed under the MIT license found in the 7 * LICENSE.md file in the root directory of this source tree. 8 * 9 * @license MIT 10 */let h="positions";function R({getKey:t,...o}){let{isSpaMode:s}=T(),r=w(),a=k();E({getKey:t,storageKey:h});let i=d.useMemo(()=>{if(!t)return null;let n=t(r,a);return n!==r.key?n:null},[]);if(s)return null;let l=((n,c)=>{if(!window.history.state||!window.history.state.key){let m=Math.random().toString(32).slice(2);window.history.replaceState({key:m},"")}try{let u=JSON.parse(sessionStorage.getItem(n)||"{}")[c||window.history.state.key];typeof u=="number"&&window.scrollTo(0,u)}catch(m){console.error(m),sessionStorage.removeItem(n)}}).toString();return d.createElement("script",C({},o,{suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:`(${l})(${f(JSON.stringify(h))}, ${f(JSON.stringify(i))})`}}))}const g={links:[{href:"/favicon-16x16.png",rel:"icon",sizes:"16x16"},{href:"/favicon-32x32.png",rel:"icon",sizes:"32x32"},{href:"/favicon.ico",rel:"icon",sizes:"48x48"},{href:"/favicon.svg",rel:"icon",sizes:"any",type:"image/svg+xml"},{href:"/apple-touch-icon-120x120.png",rel:"apple-touch-icon"},{href:"/apple-touch-icon-152x152.png",rel:"apple-touch-icon"},{href:"/apple-touch-icon-167x167.png",rel:"apple-touch-icon"},{href:"/apple-touch-icon-180x180.png",rel:"apple-touch-icon"},{href:"/apple-touch-icon-1024x1024.png",rel:"apple-touch-icon"}],themeColor:{content:"#000000"}},Y=()=>!1,G=()=>[{rel:"manifest",href:"/manifest.webmanifest"}].concat(g.links),K=t=>{var i,l,n,c;const o=t.data,s=((l=(i=o==null?void 0:o.publicConfig)==null?void 0:i.shop)==null?void 0:l.locale)??"fr-FR",r=[{title:p.defaultTitle},{name:"robots",content:"Index,Follow"},{name:"description",content:p.defaultDescription},{name:"language",content:s},{name:"apple-itunes-app",content:p.smartBanner.iOS.metaContent},{name:"baseUrl",content:(c=(n=o==null?void 0:o.publicConfig)==null?void 0:n.shop)==null?void 0:c.url},{name:"theme-color",content:g.themeColor.content}];return N(()=>r)(t)};function V({children:t}){var r,a;const o=v(),s=((a=x[(r=o==null?void 0:o.shop)==null?void 0:r.id])==null?void 0:a.hreflang)??"fr";return e.jsxs("html",{lang:s,children:[e.jsxs("head",{children:[e.jsx("meta",{charSet:"utf-8"}),e.jsx("script",{dangerouslySetInnerHTML:{__html:` 11window.dataLayer = window.dataLayer || []; 12window.dataLayer.push({ language: ${JSON.stringify(s)} }); 13var kameleoonLoadingTimeout = 750; 14window.kameleoonQueue = window.kameleoonQueue || []; 15window.kameleoonStartLoadTime = Date.now(); 16if (!document.getElementById("kameleoonLoadingStyleSheet") && !window.kameleoonDisplayPageTimeOut) { 17 var kameleoonS = document.getElementsByTagName("script")[0]; 18 var kameleoonCc = "html::after { content: ''; position: fixed; inset: 0; background: #fff; z-index: 2147483647; }"; 19 var kameleoonStn = document.createElement("style"); 20 kameleoonStn.type = "text/css"; 21 kameleoonStn.id = "kameleoonLoadingStyleSheet"; 22 if (kameleoonStn.styleSheet) { 23 kameleoonStn.styleSheet.cssText = kameleoonCc; 24 } else { 25 kameleoonStn.appendChild(document.createTextNode(kameleoonCc)); 26 } 27 kameleoonS.parentNode.insertBefore(kameleoonStn, kameleoonS); 28 window.kameleoonDisplayPage = function (fromEngine) { 29 if (!fromEngine) { 30 window.kameleoonTimeout = true; 31 } 32 if (kameleoonStn.parentNode) { 33 kameleoonStn.parentNode.removeChild(kameleoonStn); 34 } 35 };
36 window.kameleoonDisplayPageTimeOut = window.setTimeout(window.kameleoonDisplayPage, kameleoonLoadingTimeout); 37} 38`}}),e.jsx("meta",{name:"viewport",content:"width=device-width,initial-scale=1"}),e.jsx(L,{}),e.jsx(M,{}),e.jsx(b,{}),e.jsx("script",{src:"//1ltelsoexk.kameleoon.io/engine.js",async:!0}),e.jsx("link",{rel:"manifest",crossOrigin:"use-credentials",href:`${o.shop.baseUrl}/manifest.webmanifest`})]}),e.jsxs("body",{children:[e.jsx("div",{id:"app",children:t}),e.jsx(R,{}),e.jsx(O,{})]})]})}function X(){return e.jsx(S,{})}function Z(){const t=y();if(j(t)){const o=typeof t.data=="string"?t.data:t.statusText||String(t.status);return e.jsxs("div",{children:[e.jsxs("h1",{children:[t.status," ",t.statusText]}),e.jsx("p",{children:o})]})}return t instanceof Error?e.jsxs("div",{children:[e.jsx("h1",{children:"Erreur"}),e.jsx("pre",{children:t.message})]}):e.jsx("div",{children:e.jsx("h1",{children:"Erreur inattendue"})})}export{Z as ErrorBoundary,V as Layout,X as default,G as links,K as meta,Y as shouldRevalidate};
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.