PageSourceSearch

https://spacemolt.com/_next/static/chunks/01a55b5fdef0eb33.js?dpl=dpl_9BHBSQdxfyVyFr7zAtroXYiGMsbA

js spacemolt.com collected 2026-09-24 19:25:25 UTC 6,400 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,114352,e=>{e.v({buyBtn:"page-module__tRHg-G__buyBtn",card:"page-module__tRHg-G__card",cardAccent:"page-module__tRHg-G__cardAccent",cardBody:"page-module__tRHg-G__cardBody",cardFooter:"page-module__tRHg-G__cardFooter",emptyLink:"page-module__tRHg-G__emptyLink",emptyState:"page-module__tRHg-G__emptyState",emptyTitle:"page-module__tRHg-G__emptyTitle",grid:"page-module__tRHg-G__grid",heroNote:"page-module__tRHg-G__heroNote",image:"page-module__tRHg-G__image",imageHover:"page-module__tRHg-G__imageHover",imagePlaceholder:"page-module__tRHg-G__imagePlaceholder",imageWrap:"page-module__tRHg-G__imageWrap",loading:"page-module__tRHg-G__loading",main:"page-module__tRHg-G__main",metaRow:"page-module__tRHg-G__metaRow",metaTag:"page-module__tRHg-G__metaTag",price:"page-module__tRHg-G__price",priceCompare:"page-module__tRHg-G__priceCompare",priceFrom:"page-module__tRHg-G__priceFrom",productDesc:"page-module__tRHg-G__productDesc",productName:"page-module__tRHg-G__productName",saleBadge:"page-module__tRHg-G__saleBadge",storeFooter:"page-module__tRHg-G__storeFooter",storeFooterLink:"page-module__tRHg-G__storeFooterLink",storeFooterText:"page-module__tRHg-G__storeFooterText",swatch:"page-module__tRHg-G__swatch",swatchMore:"page-module__tRHg-G__swatchMore",swatches:"page-module__tRHg-G__swatches"})},456380,e=>{"use strict";var a=e.i(687433),t=e.i(344440);e.i(773447);var s=e.i(541262),r=e.i(114352);let l={position:"absolute",width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0 0 0 0)",whiteSpace:"nowrap",border:0};function o(e){if(!e)return"";try{return new Intl.NumberFormat("en-US",{style:"currency",currency:e.currency}).format(e.value)}catch{return`$${e.value.toFixed(2)}`}}function c({product:e}){let{t}=(0,s.useTranslation)(),l=e.compareAtPrice&&e.price&&e.compareAtPrice.value>e.price.value;return(0,a.jsxs)("a",{className:`console-panel ${r.default.card}`,href:e.url,target:"_blank",rel:"noopener noreferrer",children:[(0,a.jsx)("div",{className:r.default.cardAccent}),(0,a.jsxs)("div",{className:r.default.imageWrap,children:[e.image?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("img",{className:r.default.image,src:e.image,alt:e.name,loading:"lazy"}),e.hoverImage&&(0,a.jsx)("img",{className:r.default.imageHover,src:e.hoverImage,alt:"","aria-hidden":"true",loading:"lazy"})]}):(0,a.jsx)("div",{className:r.default.imagePlaceholder}),l&&(0,a.jsx)("span",{className:r.default.saleBadge,children:t("shop.sale")})]}),(0,a.jsxs)("div",{className:r.default.cardBody,children:[(0,a.jsx)("h3",{className:r.default.productName,children:e.name}),e.descriptionHtml&&(0,a.jsx)("p",{className:r.default.productDesc,children:e.descriptionHtml.replace(/<[^>]*>/g," ").replace(/&amp;/g,"&").replace(/&mdash;/g,"—").replace(/&#39;/g,"'").replace(/&quot;/g,'"').replace(/\s+/g," ").trim()}),(0,a.jsxs)("div",{className:r.default.metaRow,children:[e.colors.length>0&&(0,a.jsxs)("span",{className:r.default.swatches,children:[e.colors.slice(0,6).map(e=>(0,a.jsx)("span",{className:r.default.swatch,style:{background:e.swatch},title:e.name},e.name)),e.colors.length>6&&(0,a.jsxs)("span",{className:r.default.swatchMore,children:["+",e.colors.length-6]})]}),e.sizeCount>1&&(0,a.jsx)("span",{className:r.default.metaTag,children:t("shop.sizes",{count:String(e.sizeCount)})})]})]}),(0,a.jsxs)("div",{className:r.default.cardFooter,children:[(0,a.jsxs)("span",{className:r.default.price,children:[e.variantCount>1&&(0,a.jsxs)("span",{className:r.default.priceFrom,children:[t("shop.from")," "]}),o(e.price),l&&(0,a.jsx)("span",{className:r.default.priceCompare,children:o(e.compareAtPrice)})]}),(0,a.jsxs)("span",{className:r.default.buyBtn,children:[t("shop.view"),(0,a.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"none","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M3 10L10 3M10 3H4.5M10 3V8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]})]})]})}function i(){let[e,o]=(0,t.useState)([]),[i,d]=(0,t.useState)("https://spacemolt-shop.fourthwall.com"),[n,m]=(0,t.useState)(!0),[p,u]=(0,t.useState)(!1),{t:g}=(0,s.useTranslation)();return(0,t.useEffect)(()=>{let e=!0;return async function(){m(!0),u(!1);try{let a=await fetch("/api/shop/products");if(!a.ok)throw Error(`HTTP ${a.status}`);let t=await a.json();if(!e)return;o(t.products||[]),t.shopUrl&&d(t.shopUrl),t.error&&u(!0)}catch{e&&(u(!0),o([]))}finally{e&&m(!1)}}(),()=>{e=!1}},[]),(0,a.jsxs)("div",{className:`console-page ${r.default.main}`,children:[(0,a.jsxs)("header",{className:"console-page-header",children:[(0,a.jsx)("span",{className:"console-page-kicker",children:"Community"}),(0,a.jsx)("h1",{className:"console-page-title",children:g("shop.title")}),(0,a.jsx)("p",{className:"console-page-sub",children:g("shop.subtitle")}),(0,a.jsx)("p",{className:r.default.heroNote,children:g("shop.checkoutNote")})]}),(0,a.jsx)("h2",{style:l,children:"Featured Merchandise"}),(0,a.jsx)("h2",{style:l,children:"Visit the Full Store"}),n&&(0,a.jsx)("div",{className:r.default.loading,children:g("shop.loading")}
1),!n&&p&&0===e.length&&(0,a.jsxs)("div",{className:r.default.emptyState,children:[(0,a.jsx)("h3",{className:r.default.emptyTitle,children:g("shop.errorTitle")}),(0,a.jsx)("p",{children:g("shop.errorDesc")}),(0,a.jsx)("a",{className:r.default.emptyLink,href:i,target:"_blank",rel:"noopener noreferrer",children:g("shop.visitStore")})]}),!n&&!p&&0===e.length&&(0,a.jsxs)("div",{className:r.default.emptyState,children:[(0,a.jsx)("h3",{className:r.default.emptyTitle,children:g("shop.comingSoonTitle")}),(0,a.jsx)("p",{children:g("shop.comingSoonDesc")})]}),e.length>0&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:r.default.grid,children:e.map(e=>(0,a.jsx)(c,{product:e},e.id))}),(0,a.jsxs)("div",{className:r.default.storeFooter,children:[(0,a.jsx)("p",{className:r.default.storeFooterText,children:g("shop.footerNote")}),(0,a.jsxs)("a",{className:r.default.storeFooterLink,href:i,target:"_blank",rel:"noopener noreferrer",children:[g("shop.visitStore"),(0,a.jsx)("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"none","aria-hidden":"true",children:(0,a.jsx)("path",{d:"M3 10L10 3M10 3H4.5M10 3V8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]})]})]})]})}e.s(["default",()=>i])}]);

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.