PageSourceSearch

https://www.mondaymerch.com/shop/_nuxt/B2_g1tww.js

js mondaymerch.com collected 2026-09-25 19:54:48 UTC 3,957 bytes, 1 lines download raw bytes

1import{T as K,a as O,b as S}from"./DJZ2tKpP.js";import{u as Q,B as V}from"./BwYmC5Aq.js";import{u as H,a as j,b as F,c as z,d as J}from"./B7DQyfTP.js";import{i as W,g as X,T as Z,f as ee,b as te,h as C,j as ae,k as se,l as le}from"./CUwpkFGs.js";import{d as re,e as oe,h as ne,D as ie,aw as ue,bQ as h,a3 as ce,g as pe,j as me,_ as i,v as A,p as m,w as ye,u as l,s as v,c as k,t as x,W as de,X as ge,k as o,o as y}from"./BkFNd4Gq.js";import{s as Te}from"./ZV6WxV3R.js";import{_ as he}from"./DlAUqK2U.js";import"./EyFP_9vi.js";import"./CbGz3IoP.js";import"./BiEVk23N.js";import"./Bw5ud6J8.js";import"./BX_AFHFX.js";import"./zFMjUu_4.js";const ve={class:"tpl-intro-gap"},_e={key:1,class:"mt-16 text-center text-[0.9375rem] text-[var(--st-t40)]"},fe={class:"mt-16 max-w-2xl border-t border-[var(--st-hair)] pt-8"},Ee={class:"text-[0.9375rem] leading-relaxed text-[var(--st-t55)]"},d="category",be=re({__name:"index",async setup(Ge){let u,_;const{t:s}=oe(),c=ne(),g=ie(),P=ue(),f=H(),w=j(),E=String(c.params.type||"");if(!W(E))throw h({statusCode:404,statusMessage:"Template gallery type not found",fatal:!0});const t=E,M=o(()=>ae(se(t),T.value)),{data:p,error:Y}=([u,_]=ce(()=>J(t)),u=await u,_(),u);if(Y.value)throw h({statusCode:503,statusMessage:"Templates temporarily unavailable",fatal:!0});const r=o(()=>p.value?.templates??[]);if(p.value&&X(t)&&(p.value.templates??[]).length===0)throw h({statusCode:404,statusMessage:"No templates for this type yet",fatal:!0});const $=o(()=>p.value?.categories??[]),R=o(()=>new Set(r.value.map(e=>e.category)));function b(e){const a=Array.isArray(e)?e[0]:e;if(typeof a!="string"||!a)return"";const L=ee(a)??a;return R.value.has(L)?L:""}function B(e){return C(e)||e}const n=pe(b(c.query[d]));function D(e){n.value=e;const a={...c.query};e?a[d]=B(e):delete a[d],P.push({query:a})}me(()=>c.query[d],e=>{n.value=b(e)});const T=o(()=>n.value?r.value.filter(e=>e.category===n.value):r.value),I=o(()=>[{name:s("templatesGallery.breadcrumb.root"),path:i.TEMPLATES},{name:s(`templatesGallery.typeNames.${t}`),path:i.TEMPLATES_TYPE(t)}]),{breadcrumbItems:N,breadcrumbListItems:U}=Q(I),q=Z.filter(e=>e!==t).map(e=>({href:g(i.TEMPLATES_TYPE(e)),label:s(`templatesGallery.types.${e}.heading`)})),G=o(()=>{const e=new Set(r.value.map(a=>a.category));return le.filter(a=>e.has(a)).map(a=>({key:a,label:s(`templatesGallery.categories.${a}`),href:g(i.TEMPLATES_CATEGORY(t,C(a)))}))});return F({title:()=>s(`templatesGallery.types.${t}.metaTitle`,{count:r.value.length}),description:()=>s(`templatesGallery.types.${t}.metaDescription`,{count:r.value.length}),path:`/templates/${t}`,schemas:[()=>({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:U.value}),()=>te({name:s(`templatesGallery.types.${t}.heading`),description:s(`templatesGallery.types.${t}.metaDescription`,{count:r.value.length}),url:f(g(i.TEMPLATES_TYPE(t))),templates:r.value,totalCount:r.value.length,absoluteUrl:f,studioHref:w})]}),(e,a)=>(y(),A("div",{class:"tpl-hero w-full font-inter",style:ge(l(Te).light)},[m(z,{title:l(s)(`templatesGallery.types.${l(t)}.h1`),intro:l(s)(`templatesGallery.types.${l(t)}.intro`,{count:r.value.length})},{above:ye(()=>[m(V,{items:l(N)},null,8,["items"])]),_:1},8,["title","intro"]),v("div",ve,[m(K,{"type-slug":l(t),templates:r.value,categories:$.value,"active-key":n.value,onSelect:D},null,8,["type-slug","templates","categories","active-key"])]),T.value.length?(y(),k(O,{key:0,templates:T.value,layout:M.value},null,8,["templates","layout"])):(y(),A("p",_e,x(l(s)("templatesGallery.empty")),1)),v("section",fe,[v("p",Ee,x(l(s)(`templatesGallery.types.${l(t)}.seoCopy`)),1),m(S,{class:"mt-4",lead:l(s)("templatesGallery.crossLinks.typesLead"),links:l(q)},null,8,["lead","links"]),G.value.length?(y(),k(S,{key:0,class:"mt-2",lead:l(s)("templatesGallery.crossLinks.occasionsLead"),links:G.value},null,8,["lead","links"])):de("",!0)])],4))}}),De=he(be,[["__scopeId","data-v-c1b80928"]]);export{De 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.