PageSourceSearch

https://lounge.com/cdn/shop/t/1059/assets/Footprint-BUU79o9r.js

js lounge.com collected 2026-09-24 08:59:32 UTC 3,784 bytes, 2 lines download raw bytes

1import{r as x,f as M,j as e,c as _}from"./vendor-DyWvsi4h.js";import{P as I}from"./lottie-player-B1NdJgQv.js";import{W as T,H as E,T as t,M as l,w as B,x as r}from"./index-entry-CXWKOKOD.js";import"./motion-Ct9D-VhY.js";try{let s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new s.Error().stack;a&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[a]="5475bbdc-3ff0-447b-a2bb-1fcbebb97cf0",s._sentryDebugIdIdentifier="sentry-dbid-5475bbdc-3ff0-447b-a2bb-1fcbebb97cf0")}catch{}{let s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};s._sentryModuleMetadata=s._sentryModuleMetadata||{},s._sentryModuleMetadata[new s.Error().stack]=Object.assign({},s._sentryModuleMetadata[new s.Error().stack],{"_sentryBundlerPluginAppKey:frontend/theme":!0})}const P=({data:s})=>{const{title:a,body:o,cta:f,modalIntro:p,modalOutro:u,modalCards:y,spacer:m}=s,b=window.Shopify.locale||"en",[i,h]=x.useState(null),{inView:c,ref:g}=M();x.useEffect(()=>{c?i?.goToAndPlay(0):i?.pause()},[c]);const j=n=>{switch(n){case"bra":return e.jsx(r.Bra,{});case"ruler":return e.jsx(r.Ruler,{});case"truck":return e.jsx(r.Truck,{});case"energy":return e.jsx(r.Energy,{});case"box":return e.jsx(r.Box,{});case"globe":return e.jsx(r.Globe,{})}};return e.jsx("div",{className:_("bg-surface-secondary-default",m),children:e.jsxs(T,{className:"flex flex-col items-center text-center gap-y-9 gap-x-[138px] xl:flex-row xl:w-[960px] xl:px-0 xl:text-left",children:[e.jsx("div",{ref:g,children:e.jsx(I,{lottieRef:n=>{h(n)},autoplay:!0,loop:!0,controls:!1,src:`https://loungeunderwear.s3.eu-west-1.amazonaws.com/lotties/${b}/Sustainability.json`,className:"w-[304px] xl:w-[350px]"})}),e.jsxs("div",{className:"flex flex-col gap-y-8 items-center xl:items-start",children:[e.jsxs("div",{className:"flex flex-col gap-y-2 xl:gap-y-4",children:[e.jsx(E,{variant:"title-three",className:"text-decorative-sustainability-one",children:a}),e.jsx(t,{className:"text-action-primary-hovered xl:text-lg",children:o})]}),e.jsxs(l,{children:[e.jsx(l.Trigger,{children:e.jsx(B,{variant:"outline",className:"w-fit bg-transparent",children:f})}),e.jsxs(l.Content,{isMobileFullscreen:!0,size:"xl",className:"!max-w-[1202px]",children:[e.jsxs(l.Header,{className:"border-none xl:py-7",children:[e.jsx(l.CloseButton,{className:"top-3 xl:top-8 xl:right-8"}),e.jsxs("div",{className:"flex-col items-center gap-y-2 hidden xl:flex xl:gap-y-4",children:[e.jsx(t,{variant:"title-four",className:"text-decorative-sustainability-one",children:a}),e.jsx(t,{className:"text-action-primary-hovered w-[614px]",children:o})]})]}),e.jsxs(l.Body,{className:"flex flex-col gap-y-6 pt-2 text-center pb-10 xl:p-8 xl:pt-0",children:[e.jsxs("div",{className:"flex flex-col gap-y-2 xl:hidden",children:[e.jsx(t,{variant:"title-four",className:"text-decorative-sustainability-one",children:a}),e.jsx(t,{className:"text-action-primary-hovered",children:p})]}),e.jsx("div",{className:"flex flex-col gap-y-6 xl:grid xl:grid-cols-3 xl:gap-8",children:y.map((n,w)=>{const{icon:d,measure:v,process:N}=n;return e.jsxs("div",{className:"flex flex-col gap-y-4 bg-surface-secondary-default rounded-md p-6 [&_svg]:text-decorative-sustainability-one xl:rounded-[12px]",children:[d&&j(d),e.jsxs("div",{className:"flex flex-col gap-y-2",children:[e.jsxs("div",{children:[e.jsx(t,{variant:"title-two",children:v}),e.jsx(t,{variant:"body-sm",className:"text-action-primary-hovered",children:"tCO2e"})]}),e.jsx(t,{className:"text-action-primary-hovered",children:N})]})]},w)})}),e.jsx(t,{className:"text-action-primary-hovered text-left xl:border-t xl:pt-6",children:u})]})]})]})]})]})})};export{P as default};
2//# sourceMappingURL=Footprint-BUU79o9r.js.map

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.