PageSourceSearch

https://shopmando.com/assets/pages._handle-Dfk0Ln0Q.js

js shopmando.com collected 2026-10-03 21:24:28 UTC 7,680 bytes, 1 lines download raw bytes

1import{g as P,w as k,a as R,c as _,r as N,A as L}from"./chunk-TMI4QPZX-D9QXhwIA.js";import{j as e}from"./jsx-runtime-BldLWdAb.js";import{G as B}from"./GeneralErrorBoundary-BNwGWFyh.js";import{L as C}from"./Link-UW_zYb5n.js";import{u as I}from"./root-data-krBqGuJA.js";import{c}from"./Button-CJnu3L3K.js";import{s as w}from"./stripDomain-C7JUGlFD.js";import{P as S}from"./PageWrapper-BTSYkbaD.js";import{i as D,r as H}from"./renderSection-DxIgRqXb.js";import{g as M,i as F,a as A}from"./seo-DPu_NpAC.js";import"./TippyTopBanner-BMAoscJm.js";import"./carousel-B9e8c4AT.js";import"./index-CsOsFUNt.js";import"./preload-helper-ckwbz45p.js";import"./schemas-CgLWsXFR.js";import"./priceToMoneyV2-Ds0fI7ha.js";import"./ProductCard-BSbVW3UO.js";import"./AddToCartButton-JoIAqoo3.js";import"./index-iqFKbo7O.js";import"./index-CpYlVArO.js";import"./constants-BcXRWDNQ.js";import"./Image-Df1FrJwD.js";import"./types-DjgMq432.js";import"./types-Dfz_2PEH.js";import"./Money-BKyqo55C.js";import"./Layout-Blh7Xd3l.js";import"./dialog-ivWQpbI2.js";import"./index-D_FHqRgQ.js";import"./index-DGnnTyFy.js";import"./index-8KObqpFF.js";import"./index-DGrgrsT2.js";import"./select-CQGIMHSB.js";import"./index-x2ka0qFd.js";import"./input-DJWKcJ8R.js";import"./DiscountBadge-BxOYo4qE.js";import"./tailwind.config-In9VHFak.js";import"./Search-B469z3B5.js";import"./schemas-BMkw1pNv.js";import"./accordion-BD27n_FW.js";import"./calculateSubscribeSavingsPercent-XelcTg1M.js";import"./StyledRichText-sCoSFd3S.js";import"./CollectionsBar-Ct3xNWog.js";import"./getBreakpointValue-BeDiROfQ.js";import"./CollectionsHeader-TP139Uf8.js";import"./VideoHero-p-kDxnEm.js";import"./react-sdk.es-DnAcYl0u.js";import"./StarterPackModule-BFk_NqGj.js";import"./ProductsGrid-CFNd885U.js";import"./Testimonials-O4oGFxDw.js";import"./TwinBlockHeader-CWRYMQRN.js";const O=new Set(["heading","paragraph","list","list-item","blockquote","iframe","table","table-head","table-body","table-row","table-header","table-cell"]),T=new Set(["bold","italic","underline","link"]);function h(r){return(r==null?void 0:r.some(i=>typeof i=="string"?!1:O.has(i.type)?!0:T.has(i.type)&&h(i.children)))??!1}const s="scroll-mt-8";function W(r,i,a,n){if(!r)return null;if(r.startsWith("#"))return r;const t=w(r,a,n),l=t.indexOf("#");return l===-1?null:(t.slice(0,l)||"/")===i?t.slice(l):null}function q({data:r,className:i}){const{shop:a,publicStoreDomain:n}=I(),{pathname:t}=P();let l;try{l=JSON.parse(r)}catch{return null}return!l||l.type!=="root"||!l.children?null:e.jsx("div",{className:i,children:l.children.map((o,m)=>e.jsx(v,{node:o,storeDomain:a==null?void 0:a.primaryDomain.url,publicDomain:n,pathname:t},m))})}function v({node:r,storeDomain:i,publicDomain:a,pathname:n}){if(!r)return null;const t=l=>l==null?void 0:l.map((o,m)=>e.jsx(v,{node:o,storeDomain:i,publicDomain:a,pathname:n},m));switch(r.type){case"text":return e.jsx(e.Fragment,{children:r.value});case"anchor":return e.jsx("span",{id:r.id,"aria-hidden":"true",className:s});case"heading":if(h(r.children))return e.jsx("div",{id:r.id,role:"heading","aria-level":r.level??2,className:c("my-6 text-default",r.id&&s),children:t(r.children)});switch(r.level){case 1:return e.jsx("h1",{id:r.id,className:c("my-8 text-default",r.id&&s),children:t(r.children)});case 2:return e.jsx("h2",{id:r.id,className:c("my-7 text-default",r.id&&s),children:t(r.children)});case 3:return e.jsx("h3",{id:r.id,className:c("my-6 text-default",r.id&&s),children:t(r.children)});case 4:return e.jsx("h4",{id:r.id,className:c("my-5",r.id&&s),children:t(r.children)});case 5:return e.jsx("h5",{id:r.id,className:c("my-4",r.id&&s),children:t(r.children)});case 6:return e.jsx("h6",{id:r.id,className:c("my-3",r.id&&s),children:t(r.children)});default:return e.jsx("h2",{id:r.id,className:c("my-7 text-default",r.id&&s),children:t(r.children)})}case"paragraph":return h(r.children)?e.jsx("div",{id:r.id,className:c("my-4 leading-7",r.id&&s),children:t(r.children)}):e.jsx("p",{id:r.id,className:c("my-4 leading-7",r.id&&s),children:t(r.children)});case"list":return r.listType==="ordered"?e.jsx("ol",{id:r.id,className:c("pl-5 leading-7 list-decimal mt-2 mb-2",r.id&&s),children:t(r.children)}):e.jsx("ul",{id:r.id,className:c("pl-5 leading-7 list-disc mt-2 mb-2",r.id&&s),children:t(r.children)});case"list-item":return e.jsx("li",{id:r.id,className:c("mb-1",r.id&&s),children:t(r.children)});case"link":{const l=W(r.url??"",n,i,a);return l?e.jsx("a",{id:r.id,href:l,className:"text-primary-medium underline",onClick:o=>
1{const m=document.getElementById(l.slice(1));m&&(o.preventDefault(),m.scrollIntoView({behavior:"smooth"}))},children:t(r.children)}):e.jsx(C,{id:r.id,href:w(r.url??"",i,a),className:"text-primary-medium underline",children:t(r.children)})}case"bold":return e.jsx("strong",{id:r.id,children:t(r.children)});case"italic":return e.jsx("em",{id:r.id,children:t(r.children)});case"underline":return e.jsx("u",{id:r.id,children:t(r.children)});case"blockquote":return e.jsx("blockquote",{id:r.id,className:c("my-4 pl-4 border-l-4",r.id&&s),children:t(r.children)});case"iframe":return e.jsx("iframe",{className:"max-w-full",src:r.src,title:r.title??"Embedded Video",width:r.width||void 0,height:r.height||void 0,allowFullScreen:!0});case"table":return e.jsx("table",{id:r.id,className:c("w-full border-collapse text-sm [&_td]:border [&_th]:border [&_tr]:border [&_td]:p-3 [&_th]:p-4",r.id&&s),children:t(r.children)});case"table-head":return e.jsx("thead",{id:r.id,className:"bg-neutral-light-2",children:t(r.children)});case"table-body":return e.jsx("tbody",{id:r.id,children:t(r.children)});case"table-row":return e.jsx("tr",{id:r.id,children:t(r.children)});case"table-header":return e.jsx("th",{id:r.id,className:"text-left font-semibold",children:t(r.children)});case"table-cell":return e.jsx("td",{id:r.id,children:t(r.children)});default:return e.jsx(e.Fragment,{children:t(r.children)})}}const Tr=({data:r,matches:i,location:a})=>{var u,x,f,g,j,b,y;const n=M(i),t=((u=r==null?void 0:r.page.seo)==null?void 0:u.title)??((x=r==null?void 0:r.page)==null?void 0:x.title),l=((g=(f=r==null?void 0:r.page)==null?void 0:f.seo)==null?void 0:g.description)??((j=r==null?void 0:r.page)==null?void 0:j.bodySummary),o=F((y=(b=r==null?void 0:r.page)==null?void 0:b.seoHidden)==null?void 0:y.value),m=a.pathname.split("/"),d=t||m[m.length-1].replace(/-/g," ").replace(/\b\w/g,E=>E.toUpperCase()),p=l||n.shop.description;return[{title:`${d} - Mando`},{name:"description",content:p},{property:"og:title",content:d},{property:"og:description",content:p},{name:"twitter:title",property:d},{name:"twitter:description",property:p},...A(),...o?[{name:"robots",content:"noindex, nofollow"}]:[]]},Wr=k(function(){var t,l,o,m,d;const{page:i,shelfProductsByCollectionId:a}=_();if(!i)return null;const n=((l=(t=i.collections)==null?void 0:t.references)==null?void 0:l.nodes.flatMap(p=>p.products.nodes))??[];return(d=(m=(o=i==null?void 0:i.sections)==null?void 0:o.references)==null?void 0:m.nodes)!=null&&d.length?e.jsx(G,{pageSections:i.sections.references.nodes,products:n,shelfProductsByCollectionId:a}):e.jsxs(S,{className:"page max-w-3xl md:mx-auto text-default/75",children:[e.jsx("h1",{className:"mb-10 text-5xl font-header font-bold text-default",children:i.title}),e.jsx(q,{data:i.bodyRichText,className:"prose"})]})}),qr=R(function(){return e.jsx(B,{})});function G({pageSections:r,products:i,shelfProductsByCollectionId:a}){return e.jsx(S,{variant:"none",defaultMargin:!0,children:e.jsx(N.Suspense,{fallback:null,children:e.jsx(L,{errorElement:null,resolve:a,children:n=>r.map(t=>D(t)?e.jsx(N.Fragment,{children:H(t,i,n)},t.id):null)})})})}export{qr as ErrorBoundary,Wr as default,Tr 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.