PageSourceSearch

https://jamjoomfashion.com/assets/(_locale)._index-CD9Xa6ED.js

js jamjoomfashion.com collected 2026-10-05 23:14:43 UTC 4,403 bytes, 1 lines download raw bytes

1import{w as H,d as F,j as s}from"./chunk-OIYGIGL5-CVG16PoU.js";import{F as b}from"./financial-card-nv43t9_R.js";import{H as j}from"./heading-CbHFRoD2.js";import{I as M}from"./info-rows-BVOwRPly.js";import{M as V}from"./media-DWnhrJbH.js";import{M as k}from"./media-carousel-CCiajt9i.js";import{S as L}from"./stick-list-DVASXg2z.js";import{V as P}from"./values-CTwE5cTb.js";import{a as i,g as R}from"./sanity-BgNExqYl.js";import{R as w}from"./(_locale).news._handle-DzUz1s5R.js";import"./index-C7ylxxJt.js";import"./breadcrumbs-q1qdnWT3.js";import"./use-sticky-header-DgacBdAw.js";import"./config-CqYg11O4.js";import"./use-transform-CwOkArVk.js";import"./single-value-Im7x7F-9.js";import"./button-DiHKGhco.js";import"./use-media-query-CpyFrH2I.js";import"./index-CehUiGzq.js";import"./portable-text-renderer-DHL6KEM6.js";import"./post-card-r6InmlI2.js";function se({data:d}){const{homepageData:r,locale:n}=d,o=i(r?.metaTitle,n),t=R(r?.metaDescription,n);return[{title:o},{name:"description",content:t},{property:"og:title",content:o},{property:"og:description",content:t}]}const ae=H(function({loaderData:r}){const o=F("root")?.featuredNews||[],{homepageData:t,locale:a,latestNewsTitle:c}=r,l=t?.financialCardReference;if(!t)return s.jsxs("div",{className:"container space-y-xxl pb-xxl",children:[s.jsxs("div",{className:"mx-auto text-center md:w-10/12 lg:w-8/12",children:[s.jsx(j,{heading:"Homepage Content Missing",noPadding:!0}),s.jsx("p",{className:"mt-4 text-p-md",children:"Please create homepage content in Sanity Studio to see the dynamic content."})]}),l&&s.jsx(b,{data:l}),o.length>0&&s.jsx(w,{posts:o,title:c})]});const p={src:t.heroVideo?.videoFile?.asset?.url||"",webm:t.heroVideo?.videoFileWebM?.asset?.url||void 0,poster:t.heroVideo?.poster?.asset?.url||"",hasSound:t.heroVideo?.hasSound||!1},I=t.heroVideo?.mobileVideoFile?.asset?.url?{src:t.heroVideo.mobileVideoFile.asset.url,webm:t.heroVideo?.mobileVideoFileWebM?.asset?.url||void 0,poster:t.heroVideo?.mobilePoster?.asset?.url||"",hasSound:t.heroVideo?.mobileHasSound??!0}:void 0,m=i(t.visionHeading,a)||"",u=t.visionImages?.map(e=>({src:e.asset?.url||"",alt:i(e.alt,a)||""}))||[],g=t.visionDescription?.find(e=>e.language===a)?.content||[],h=t.carouselItems?.map(e=>({type:e.type,src:e.type==="image"?e.image?.asset?.url:e.videoFile?.asset?.url,webm:e.type==="video"?e.videoFileWebM?.asset?.url:void 0,alt:e.type==="image"?i(e.image?.alt,a):void 0,poster:e.type==="video"?e.videoPoster?.asset?.url:void 0,hasSound:e.type==="video"?e.hasSound:void 0,link:{url:e.linkUrl||"",label:i(e.linkLabel,a)||""}}))||[],x=i(t.valuesTitle,a)||"",v=t.valuesItems?.map(e=>i(e.value,a)||"")||[],N=i(t.featuresHeading,a),f=t.featuresItems?.map(e=>e.media?{label:i(e.label,a)||"",description:i(e.description,a)||"",media:{type:e.media.type,src:e.media.type==="image"?e.media.image?.asset?.url||"":e.media.video?.asset?.url||"",alt:e.media.type==="image"?i(e.media.image?.alt,a)||"":void 0,poster:e.media.type==="video"?e.media.videoPoster?.asset?.url:void 0}}:e.image?{label:i(e.label,a)||"",description:i(e.description,a)||"",media:{type:"image",src:e.image?.asset?.url||"",alt:i(e.image?.alt,a)||""}}:{label:i(e.label,a)||"",description:i(e.description,a)||"",media:{type:"image",src:"",alt:""}})||[],y=t.statisticsItems?.map(e=>({title:i(e.title,a)||"",description:i(e.description,a)||"",linkLabel:i(e.linkLabel,a)||"",linkUrl:e.linkUrl||""}))||[];return s.jsxs("div",{className:"container space-y-xxl pb-xxl",children:[p.src&&s.jsx(V,{type:"video",video:p,mobileVideo:I,fullWidth:!0,fullScreenHeight:!0}),s.jsxs("div",{className:"space-y-xl",children:[m&&s.jsx("div",{className:"mx-auto text-center md:w-10/12 lg:w-8/12",children:s.jsx(j,{heading:m,noPadding:!0})}),u.length>0&&s.jsx(V,{type:"image",images:u,inset2:!0,aspectRatio:"4/5"}),g.length>0&&s.jsx("div",{className:"grid grid-cols-12",children:s.jsx("div",{className:"col-span-12 space-y-4 text-center md:col-span-10 md:col-start-2 lg:col-span-6 lg:col-start-4",children:g.map((e,S)=>e._type==="block"&&e.children?s.jsx("p",{className:"text-p-md",children:e.children.map(D=>D.text).join("")},S):null)})})]}),h.length>0&&s.jsx(k,{centerLink:!0,items:h,aspectRatio:"square"}),x&&v.length>0&&s.jsx(P,{title:x,items:v}),f.length>0&&s.jsx(L,{heading:N,items:f}),y.length>0&&s.jsx(M,{items:y}),l&&s.jsx(b,{data:l}),o.length>0&&s.jsx(w,{posts:o,title:c})]})});export{ae as default,se as meta};

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.