1import{D as e,E as t,Kt as n,On as r,St as i,_ as a,b as o,ct as s,g as c,it as l,k as u,mt as d,nr as f,qt as p,v as m,vn as h,y as g}from"./C2bBK_b8.js";import{J as _}from"./BU-870ZA.js";import{t as v}from"./BRm8pp6E.js";import{d as y}from"./COQXt5i3.js";import{t as b,w as x}from"./CxzAIaLw.js";import{t as S}from"./DOpx8Md_.js";import{t as C}from"./BDNMzG2s.js";import{t as w}from"./BXZVxHop2.js";import{t as T}from"./CTqMUQpJ2.js";import{t as E}from"./C2ybOyJ82.js";var D={class:`error-not-found-content`},O={key:1,class:`error-content error-content--fallback`},k={class:`error-content__title error-content__title--sorry`},A={key:2,class:`error-content`},j={class:`error-content__code`},M={class:`error-content__title`},N={key:3,class:`error-content__redirect`},P={class:`fs-18`},F=`error-page`,I=Object.assign(C(u({__name:`NotFoundContent`,props:{statusCode:{default:404}},async setup(u){let C,I,L=u,{t:R}=v(),z=b(),{fetchBySlug:B,getPage:V}=T();[C,I]=n(async()=>x(`error-page-content`,async()=>{let{data:e}=await B(F);return e??null},{server:!0})),await C,I();let H=c(()=>V(F)),U=h(5),W=null,G=c(()=>L.statusCode===404);function K(){W&&=(clearInterval(W),null)}function q(){K(),y(z(`/`))}function J(){if(window.history.length>1){window.history.back();return}q()}return s(()=>{W=E(()=>{U.value>1?U.value--:q()},1e3)}),l(()=>{K()}),(n,s)=>{let c=w,l=S,h=i(`i18n-t`);return d(),o(`div`,D,[r(H)?.post_content?.[0]?(d(),m(c,{key:0,value:r(H).post_content[0]},null,8,[`value`])):r(G)?(d(),o(`div`,O,[a(`h1`,k,f(r(R)(`We are sorry, but the page you are looking for cannot be found.`)),1),a(`p`,null,f(r(R)(`If you typed the URL directly, please make sure the spelling is correct.`)),1),a(`p`,null,f(r(R)(`If you clicked on a link to get here, we must have moved the content.`)),1),a(`p`,null,f(r(R)(`Please try our store search box above to search for an item.`)),1),a(`p`,null,[e(h,{keypath:`If you are not sure how you got here, {goBack} to the previous page or return to our {homepage}.`},{goBack:p(()=>[a(`a`,{href:`#`,onClick:_(J,[`prevent`])},f(r(R)(`go back`)),1)]),homepage:p(()=>[e(l,{to:`/`},{default:p(()=>[t(f(r(R)(`store homepage`)),1)]),_:1})]),_:1})])])):(d(),o(`div`,A,[a(`h1`,j,f(u.statusCode),1),a(`h2`,M,f(r(R)(`Something went wrong`)),1),e(l,{to:`/`,class:`back-home-link`},{default:p(()=>[t(f(r(R)(`Go back to homepage`)),1)]),_:1})])),r(G)?(d(),o(`p`,N,[t(f(r(R)(`You'll be redirected to home page in`))+` `,1),a(`span`,P,[a(`strong`,null,f(r(U)),1)]),t(` `+f(r(R)(`seconds`)),1)])):g(``,!0)])}}}),[[`__scopeId`,`data-v-384554d1`]]),{__name:`ErrorNotFoundContent`});export{I 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.