PageSourceSearch

https://www.pricerite.com.hk/_next/static/chunks/pages/category/[[...slug]]-7d3f2028c8887ed2.js

js pricerite.com.hk collected 2026-10-03 21:48:05 UTC 41,433 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1146,4723],{25624:(e,r,t)=>{"use strict";t.r(r),t.d(r,{CategoryPage:()=>Z,__N_SSP:()=>D,default:()=>Q});var l=t(50979),n=t(25963),a=t(84002),i=t.n(a),o=t(3080),u=t(28393),s=t(85952),d=t(63346),g=t(40103),c=t(56038),y=t(76222),h=t(6296),m=t(54723),p=t(24986),b=t(83044),f=t(4577),v=t.n(f);function x(e){let{text:r,className:t,children:a,includeVerticalOverflow:i=!1,triggerClassName:o="md:group-hover:block",tooltipClassName:u}=e,s=(0,n.useRef)(null),d=function(e,r){let t=arguments.length>2&&void 0!==arguments[2]&&arguments[2],[l,a]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let r=e.current;if(!r)return;let l=!0,n=()=>{if(!l)return;let e=(r.clientWidth>0||r.clientHeight>0)&&(r.scrollWidth>r.clientWidth||t&&r.scrollHeight>r.clientHeight+2);a(r=>r===e?r:e)};n(),window.addEventListener("resize",n);let i="undefined"==typeof ResizeObserver?void 0:new ResizeObserver(()=>n());return null==i||i.observe(r),"undefined"!=typeof document&&"fonts"in document&&document.fonts.ready.then(n).catch(()=>void 0),()=>{l=!1,window.removeEventListener("resize",n),null==i||i.disconnect()}},[t,e,r]),l}(s,r,i);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{ref:s,className:t,children:null!=a?a:r}),d?(0,l.jsx)("span",{"aria-hidden":"true",className:v()("pointer-events-none absolute left-1/2 top-full z-30 hidden -translate-x-1/2 whitespace-nowrap rounded-sm bg-[#FFF1CE] px-1 py-1 text-[14px] font-medium leading-[1.2] text-black shadow-sm",u,o),children:r}):null]})}var w=t(90861);let C="/images/noplpsub.png",k=e=>{e.currentTarget.src.endsWith(C)||(e.currentTarget.removeAttribute("srcset"),e.currentTarget.src=C)},A={"zh-HK":["zh-HK","zh_HK","zhHk","zhHK","zh-hk","zh_hk","zh","Default","default"],"zh-CN":["zh-CN","zh_CN","zhCn","zhCN","zh-cn","zh_cn","zh-Hans-CN","zhHans","zhHansCn"],"en-US":["en-US","en_US","enUs","enUS","en-us","en_us","en"]},j=(e,r)=>{if(!e)return"";if("string"==typeof e){let t=e.trim();return String(r||"").trim().toLowerCase().startsWith("en")&&/[\u3400-\u9fff]/.test(t)?"":t}return"number"==typeof e?String(e):"object"==typeof e&&A[(e=>{let r=String(e||"").trim().toLowerCase().replace(/_/g,"-");return r.startsWith("en")?"en-US":"zh-cn"===r||r.includes("hans")?"zh-CN":"zh-HK"})(r)].map(r=>e[r]).map(e=>j(e,r)).find(Boolean)||""},L=e=>{if(!e)return"";if("string"==typeof e)return e;if("object"==typeof e){let r=(null==e?void 0:e.src)||(null==e?void 0:e.url)||(null==e?void 0:e.desktop)||(null==e?void 0:e.mobile)||(null==e?void 0:e.image)||(null==e?void 0:e.file)||(null==e?void 0:e.thumbnail)||"";return"string"==typeof r?r:""}return""},S=e=>{var r;return e?[null==e||null==(r=e.data)?void 0:r.name,null==e?void 0:e.metaTitle,null==e?void 0:e.subCategoryMetaTitle,null==e?void 0:e.title,null==e?void 0:e.name,null==e?void 0:e.description]:[]},N=e=>Array.isArray(null==e?void 0:e.plpChildren)?e.plpChildren:[];function M(e){var r,t;let{subCategories:n,categoryName:a,currentCategoryId:u,presentation:g="cards",embedded:y=!1,hideHeadingOnMobile:h=!1}=e,m=(0,o.useRouter)(),{t:f}=(0,c.Bd)("category"),v=(0,w.Qg)(m.asPath||""),A=(null==v?void 0:v.language)?(0,w.F6)(v.language):(0,w.JB)(String(m.locale||"zh-HK")),M=Array.isArray(m.query.slug)?m.query.slug.filter(Boolean):"string"==typeof m.query.slug&&m.query.slug?[m.query.slug]:[],B=M.length>0?M:u,F=Array.isArray(B)?B[B.length-1]:B,z=u||F,P="string"==typeof a&&/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(a.trim());if(B&&n.some(e=>{var r;if(!(0,s.menuNodeMatchesSlug)(e,B))return!1;let t=Array.isArray(null==e?void 0:e.sonCategory)&&e.sonCategory.length>0||Array.isArray(null==e?void 0:e.plpChildren)&&e.plpChildren.length>0||Array.isArray(null==e?void 0:e.newCategorySub)&&e.newCategorySub.length>0||Array.isArray(null==e?void 0:e.subCategoryList)&&e.subCategoryList.length>0||Array.isArray(null==e?void 0:e.categoryList)&&e.categoryList.length>0||(null==e?void 0:e.subCategory)&&Array.isArray(null==e||null==(r=e.subCategory)?void 0:r.subCategoryList)&&e.subCategory.subCategoryList.length>0;return!!("string"==typeof(null==e?void 0:e.sku)?e.sku.trim():"")&&!t}))return null;let _=((e,r)=>{if(!Array.isArray(e)||0===e.length)return[];if(e.some(e=>{var t,l,n,a,i,o,u;let s=(null==e||null==(a=e.subCategory)||null==(n=a.belongCategory)||null==(l=n.data)||null==(t=l.parent)?void 0:t.id)||(null==e||null==(u=e.belongCategory)||null==(o=u.data)||null==(i=o.parent)?void 0:i.id);
1return!!r&&!!s&&String(s)===String(r)}))return e;let t=e.some(e=>{var r;return Array.isArray(null==e||null==(r=e.subCategory)?void 0:r.subCategoryList)}),l=e.some(e=>!!(null==e?void 0:e.name)||Array.isArray(null==e?void 0:e.sonCategory)&&e.sonCategory.length>0);if(t&&!l)return e.map(e=>{var r;return(null==e||null==(r=e.subCategory)?void 0:r.subCategoryList)||[]}).flat();let n=e.filter(e=>{var t,l,n,a,i;let o=(null==e||null==(l=e.belongCategory)||null==(t=l.data)?void 0:t.id)||(null==e||null==(i=e.subCategory)||null==(a=i.belongCategory)||null==(n=a.data)?void 0:n.id);return!!r&&!!o&&String(o)===String(r)});if(n.length>0)return n;let a=e.find(e=>(0,s.menuNodeMatchesSlug)(e,B||r));return a&&N(a).length>0?N(a):a&&Array.isArray(null==a?void 0:a.sonCategory)&&a.sonCategory.length>0?a.sonCategory:e})(n,z),W=_.some(e=>{var r,t,l,n,a,i,o;let u=(null==e||null==(n=e.subCategory)||null==(l=n.belongCategory)||null==(t=l.data)||null==(r=t.parent)?void 0:r.id)||(null==e||null==(o=e.belongCategory)||null==(i=o.data)||null==(a=i.parent)?void 0:a.id);return!!z&&!!u&&String(u)===String(z)}),H=_.some(e=>{var r,t,l,n,a,i,o,u,s,d,g,c,y,h,m,p,b,f,v,x,w,C;let k=(null==e||null==(t=e.belongCategory)||null==(r=t.data)?void 0:r.id)||(null==e||null==(a=e.subCategory)||null==(n=a.belongCategory)||null==(l=n.data)?void 0:l.id),A=(null==e||null==(u=e.belongCategory)||null==(o=u.data)||null==(i=o.parent)?void 0:i.id)||(null==e||null==(c=e.subCategory)||null==(g=c.belongCategory)||null==(d=g.data)||null==(s=d.parent)?void 0:s.id),j=null==e||null==(m=e.subCategory)||null==(h=m.data)||null==(y=h.parent)?void 0:y.id,L=(null==e||null==(b=e.subCategory)||null==(p=b.data)?void 0:p.ancestors)||[],S=null==e||null==(x=e.category)||null==(v=x.data)||null==(f=v.parent)?void 0:f.id,N=(null==e||null==(C=e.category)||null==(w=C.data)?void 0:w.ancestors)||[];return!!k||!!A||!!j||!!S||Array.isArray(L)&&L.length>0||Array.isArray(N)&&N.length>0}),K=W||!H?_:_.filter(e=>((e,r)=>{var t,l,n,a,i,o,u,s,d,g,c,y,h,m,p,b,f,v,x,w,C,k;if(!r)return!0;let A=String(r),j=(null==e||null==(l=e.belongCategory)||null==(t=l.data)?void 0:t.id)||(null==e||null==(i=e.subCategory)||null==(a=i.belongCategory)||null==(n=a.data)?void 0:n.id);if(j&&String(j)===A)return!0;let L=(null==e||null==(s=e.belongCategory)||null==(u=s.data)||null==(o=u.parent)?void 0:o.id)||(null==e||null==(y=e.subCategory)||null==(c=y.belongCategory)||null==(g=c.data)||null==(d=g.parent)?void 0:d.id);if(L&&String(L)===A)return!0;
1let S=null==e||null==(p=e.subCategory)||null==(m=p.data)||null==(h=m.parent)?void 0:h.id;if(S&&String(S)===A)return!0;let N=(null==e||null==(f=e.subCategory)||null==(b=f.data)?void 0:b.ancestors)||[];if(Array.isArray(N)&&N.some(e=>String(null==e?void 0:e.id)===A))return!0;let M=null==e||null==(w=e.category)||null==(x=w.data)||null==(v=x.parent)?void 0:v.id;if(M&&String(M)===A)return!0;let B=(null==e||null==(k=e.category)||null==(C=k.data)?void 0:C.ancestors)||[];return!!(Array.isArray(B)&&B.some(e=>String(null==e?void 0:e.id)===A))})(e,z));return K&&0!==K.length?(0,l.jsxs)("div",{className:y?"pills"===g?"":"-mr-4 md:mr-0":"pills"===g?"mb-4":"mb-6","data-presentation":g,children:["pills"!==g&&(0,l.jsx)("h2",{className:"relative mb-6 text-2xl font-medium leading-8 after:absolute after:bottom-0 after:left-0 after:h-1 after:w-full after:rounded-full after:bg-[#50B748] ".concat(h?"hidden md:inline-block":"inline-block"),children:!P&&j(a,A)||(m.query.slug?j(null==(t=K[0])||null==(r=t.belongMenu)?void 0:r.name,A)||f("subcategory",{defaultValue:"Subcategory"}):f("category",{defaultValue:"Category"}))}),(0,l.jsx)("div",{children:(0,l.jsx)("div",{className:"".concat("pills"===g?"flex min-w-0 flex-nowrap gap-3 overflow-x-auto overflow-y-hidden [&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none]":"photo-cards"===g?"flex min-w-0 flex-nowrap gap-3 overflow-x-auto overflow-y-hidden [&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none] md:flex-wrap md:gap-3 md:overflow-visible xl:gap-0 xl:justify-between":"cards"===g?"flex min-w-0 flex-nowrap gap-3 overflow-x-auto overflow-y-hidden [&::-webkit-scrollbar]:hidden [-ms-overflow-style:none] [scrollbar-width:none] md:flex-wrap md:gap-3 md:overflow-visible xl:grid xl:grid-cols-10 xl:gap-3 xl:overflow-visible":"grid grid-cols-5 gap-2 md:flex md:flex-wrap md:gap-3"," transition-all duration-300 ").concat("photo-cards"===g?"max-h-full":"max-h-[145px] md:max-h-full"),children:K.map((e,r)=>{let t,n=(t=[...S(null==e?void 0:e.category),...S(null==e?void 0:e.subCategory),null==e?void 0:e.subCategoryMetaTitle,null==e?void 0:e.title,null==e?void 0:e.name,null==e?void 0:e.description],t.map(e=>j(e,A)).find(Boolean)||""),a=L(null==e?void 0:e.thumbnail)||L(null==e?void 0:e.image)||L(null==e?void 0:e.subCategoryThumbnail)||L(null==e?void 0:e.subCategoryImage)||L(null==e?void 0:e.categoryImage)||L(null==e?void 0:e.coverImage)||L(null==e?void 0:e.cover)||L(null==e?void 0:e.heroImage)||L(null==e?void 0:e.bannerImage),o=String((null==e?void 0:e.link)||"").trim()||(0,s.getMenuNodeHref)(e,{preferCategory:!0})||"#",u=!!(B&&(0,s.menuNodeMatchesSlug)(e,B));return(0,l.jsx)(d.A,{as:p.N,href:o,"aria-label":n||"","aria-current":u?"page":void 0,"data-no-hardcoded-copy-normalize":!0,className:"pills"===g?"flex h-8 min-w-[72px] shrink-0 items-center justify-center whitespace-nowrap rounded-lg border px-4 text-sm no-underline transition-colors md:shrink md:whitespace-normal lg:h-10 lg:min-w-[88px] ".concat(u?"border-[#50B748] bg-[#50B748] font-bold text-white shadow-[0_1px_2px_rgba(0,0,0,0.08)] hover:text-white":"border-transparent bg-[#F1F2F3] font-normal text-neutral-900 shadow-none hover:border-[#50B748] hover:bg-[#50B748] hover:text-white"):"photo-cards"===g?"group relative isolate aspect-square h-[86px] w-[86px] shrink-0 overflow-hidden rounded-lg border bg-[#F9F9F9] no-underline text-inherit transition-colors duration-200 hover:border-brand-primary-02 hover:text-inherit focus-visible:border-brand-primary-02 focus-visible:outline-none md:h-[111px] md:w-[111px] md:shrink lg:h-[140px] lg:w-[140px] min-[1344px]:h-[210px] min-[1344px]:w-[210px] ".concat(u?"border-brand-primary-02":"border-transparent"):"group relative isolate flex h-[88px] w-[88px] shrink-0 flex-col items-center justify-start gap-0 rounded-lg border border-transparent bg-[#F9F9F9] pt-1 no-underline text-inherit transition-colors duration-200 hover:border-brand-primary-02 hover:text-inherit focus-visible:border-brand-primary-02 focus-visible:outline-none md:h-[111px] md:w-[111px] md:shrink md:bg-[#F9F9F9] md:pt-2 md:hover:z-20 lg:h-[140px] lg:w-[140px] xl:aspect-square xl:h-auto xl:min-h-0 xl:w-auto",children:"pills"===g?n:"photo-cards"===g?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(i(),{src:a||C,alt:n||"",fill:!0,className:"object-cover transition-transform duration-200 group-hover:scale-[1.02]",onError:k}),(0,l.jsxs)("span",{className:"absolute inset-x-0 bottom-0 bg-gradient-to-t from-black/70 via-black/30 to-transparent px-2 pb-2 pt-8 text-center text-[16px] font-medium leading-tight group-hover:text-brand-primary-02 group-focus-visible:text-brand-primary-02 min-[1344px]:flex min-[1344px]:h-[51px] min-[1344px]:items-start min-[1344px]:justify-between min-[1344px]:bg-[linear-gradient(180deg,rgba(46,26,9,0)_0%,rgba(46,26,9,0.85)_100%)] min-[1344px]:px-4 min-[1344px]:py-4 min-[1344px]:text-left min-[1344px]:font-notoSans min-[1344px]:font-bold min-[1344px]:leading-[120%] min-[1344px]:!text-white ".concat(u?"text-brand-primary-02":"text-white"),children:[(0,l.jsx)("span",{className:"min-[1344px]:min-w-0 min-[1344px]:truncate",children:n}),(0,l.jsx)("span",{"aria-hidden":"true",className:"hidden h-[18px] w-[18px] shrink-0 min-[1344px]:block",children:(0,l.jsx)(b.fl,{className:"h-[18px] w-[18px] stroke-[1.5]"})})]})]}):(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"relative flex h-[50px] w-20 shrink-0 items-center justify-center overflow-hidden rounded-none bg-transparent md:h-[78px] md:w-[95px] md:rounded-none md:bg-transparent",children:(0,l.jsx)(i(),{src:a||C,alt:n||"",fill:!0,className:"mix-blend-multiply rounded-lg object-contain transition-transform duration-200 group-hover:scale-[1.02] md:rounded-none",onError:k})}),(0,l.jsx)(x,{text:n,className:"block h-8 w-full truncate whitespace-nowrap px-1 pt-0.5 text-center font-normal leading-4 text-primary typography-text-[16
1px] md:h-[35px] md:w-full md:px-2 md:pt-0.5 md:text-[16px] md:font-normal md:leading-4 md:text-primary"})]})},r)})})})]}):null}var B=t(10348),F=t(77397),z=t(46239),P=t(38787),_=t(41218),W=t(31747);let H=e=>Array.isArray(e)?e[e.length-1]:e;function K(e,r){return Array.isArray(e)&&r?(0,s.findBestMenuNode)(e,r,{surface:"plp"}):null}let T=(e,r)=>(0,s.resolveBreadcrumbText)(e,r),q=e=>Array.isArray(null==e?void 0:e.plpChildren)?e.plpChildren:[],I=e=>{var r;let t=[];return Array.isArray(null==e?void 0:e.categoryList)&&t.push(...e.categoryList),Array.isArray(null==e?void 0:e.newCategorySub)&&t.push(...e.newCategorySub),(null==e?void 0:e.subCategory)&&Array.isArray(null==e||null==(r=e.subCategory)?void 0:r.subCategoryList)?t.push(...e.subCategory.subCategoryList):Array.isArray(null==e?void 0:e.subCategoryList)&&t.push(...e.subCategoryList),Array.isArray(null==e?void 0:e.sonCategory)&&t.push(...e.sonCategory),Array.isArray(null==e?void 0:e.plpChildren)&&t.push(...e.plpChildren),t};var E=t(45200);async function V(e){let{id:r}=e;if(!r)return null;try{let e=await u.xh.plp.getCategoryData({id:r,locale:"zh-HK"});return await e}catch(e){return null}}var O=t(90738);let U={src:"/_next/static/media/empty-category.b8c8aaee.svg",height:192,width:192,blurWidth:0,blurHeight:0},R=e=>!!e&&/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(String(e).trim()),G={filterVisibility:"show",subcategoryPresentation:"cards",breadcrumbVisibility:"show"},J=(e,r)=>{let t=String(e||"").trim();return t?String(r||"").toLowerCase().startsWith("en")&&/^[a-z0-9]+(?:[-_][a-z0-9]+)+$/i.test(t)&&(0,s.formatBreadcrumbFallbackLabel)(t,r)||t:""};var D=!0;function Z(e){var r,t,a,b,f,v,x,w;let{catalogResponse:C,fullProducts:k,eShopTreeCategoryId:A,env:j,storeId:L,metaTitle:S,metaKeywords:N,metaDescription:D,resolvedCategoryId:Z,resolvedListingId:Q,initialBreadcrumbs:$,initialSubCategories:X,initialPlpPresentation:Y,plpRequestContext:ee,plpError:er}=e,{t:et}=(0,c.Bd)("category"),{t:el}=(0,c.Bd)(),en=(0,o.useRouter)(),ea=en.locale||"zh-HK",[ei,eo]=(0,n.useState)(!1),eu={isSuccess:!1,data:null};C&&(eu={isSuccess:!0,data:C});let es=(x={id:Z},(0,g.I)(["category",{id:null!=(w=x.id)?w:null}],()=>V(x),{refetchOnMount:!1,refetchOnWindowFocus:!1})),ed=Array.isArray(en.query.slug)?en.query.slug.filter(Boolean):"string"==typeof en.query.slug&&en.query.slug?[en.query.slug]:[],eg=Q||(ed.length>0?ed:Z),ec=((en.asPath||"").split(/[?#]/)[0]||"/category").trim(),{breadcrumbs:ey}=function(e,r){let{t,i18n:l}=(0,c.Bd)();return{breadcrumbs:(0,n.useMemo)(()=>{let n=l.language,a=[{name:t("home"),link:"/"},...Array.isArray(e)&&0!==e.length?e.map((r,t)=>({name:(0,s.resolveCategoryBreadcrumbLabel)(r,n),link:(0,s.buildCategorySeoPath)({ancestors:e.slice(0,t),category:r})})).filter(e=>e.name):[],...r?[{name:(0,s.resolveCategoryBreadcrumbLabel)(r,n),link:"#"}]:[]],i=new Set;return a.filter(e=>{if(!e.name)return!1;let r=String(e.link||"")+String(e.name||"");return!i.has(r)&&(i.add(r),!0)})},[e,r,l.language,t])}}((null==(r=es.data)?void 0:r.ancestors)||[],null==(t=es.data)?void 0:t.category),eh=(0,n.useMemo)(()=>Array.isArray($)?$:[],[$]),em=(0,n.useMemo)(()=>Array.isArray(X)?X:[],[X]),ep=(0,n.useMemo)(()=>Array.isArray(em)&&em.some(e=>"string"==typeof(null==e?void 0:e.name)&&e.name.trim()),[em]),eb=(0,g.I)(["menus","plp",ea],()=>u.xh.services.getMenus({surface:"plp",locale:ea}),{refetchOnMount:!!(0,E.Nm)("plp")&&"always",refetchOnWindowFocus:!1,staleTime:1/0}),ef=(0,n.useMemo)(()=>Array.isArray(eb.data)?eb.data:[],[eb.data]),ev=(0,n.useMemo)(()=>{var e;return void 0===eb.data?Y||G:(0,s.resolveMenuPlpPresentation)((null==(e=(0,s.findPlpListing)(ef,eg))?void 0:e.path)||(0,s.findBestMenuNodePath)(ef,eg,{surface:"plp"}))},[Y,ef,eg,eb.data]);(0,n.useEffect)(()=>{Array.isArray(ef)&&(0,E.ZQ)("plp",(0,E.qK)())},[ef]);let ex=(0,n.useMemo)(()=>(function(e,r,t){var l,n,a,i,o,u,d,g,c,y,h,m,p;let b=H(r);if(!Array.isArray(e)||!b)return null;let f=e=>(0,s.menuNodeMatchesSlug)(e,r),v=e=>{for(let r=0;r<e.length;r+=1){let t=e[r],l=Array.isArray(null==t?void 0:t.newCategorySub)?t.newCategorySub:[];if(l.length>0){let e=l.find(e=>f(e));if(e)return{parent:t,leaf:e}}let n=I(t);if(n.length>0){let e=v(n);if(e)return e}}return null},x=v(e);if(!x)return null;let w=T(null==(l=x.parent)?void 0:l.name,t)||T(null==(n=x.parent)?void 0:n.title,t)||(0,s.formatBreadcrumbFallbackLabel)(null==(a=x.parent)?void 0:a.urlKey,t)||(0,s.formatBreadcrumbFallbackLabel)(null==(i=x.parent)?void 0:i.subCategoryUrlKey,t)||(0,s.formatBreadcrumbFallbackLabel)(null==(o=x.parent)?void 0:o.key,t)||(0,s.formatBreadcrumbFallbackLabel)((0,s.getMenuNodeHref)(x.parent),t)||"",C=String((null==(u=x.parent)?void 0:u.urlKey)||(null==(d=x.parent)?void 0:d.subCategoryUrlKey)||(null==(g=x.parent)?void 0:g.key)||"").trim(),k=(0,s.getMenuNodeHref)(x.parent)||(C?"/category/".concat(encodeURIComponent(C)):""),A=T(null==(c=x.leaf)?void 0:c.name,t)||T(null==(y=x.leaf)?void 0:y.title,t)||(0,s.formatBreadcrumbFallbackLabel)(null==(h=x.leaf)?void 0:h.urlKey,t)||(0,s.formatBreadcrumbFallbackLabel)(null==(m=x.leaf)?void 0:m.subCategoryUrlKey,t)||(0,s.formatBreadcrumbFallbackLabel)(null==(p=x.leaf)?void 0:p.key,t)||(0,s.formatBreadcrumbFallbackLabel)((0,s.getMenuNodeHref)(x.leaf),t)||"";return w&&A?{parentName:w,parentUrlKey:C,parentLink:k,leafName:A}:null})(ef,eg,ea),[ea,ef,eg]),ew=(0,n.useMemo)(()=>{var e,r;if((0,s.shouldSuppressPlpSubCategories)(ef,eg))return[];if(em.length>0&&ep)return em;let t=(0,s.findPlpListing)(ef,eg);if((null==t?void 0:t.isSpecial)&&0===(0,s.getMenuNodeChildren)(t.node,{surface:"plp"}).length)return[];let l=(0,s.buildPlpSubCategories)({menuData:ef,matchKey:eg,currentCategoryId:Z,categoryData:es.data,locale:ea});if(l.length>0)return l;let n=function(e,r){let t=H(r),l=(e,r)=>
1(0,s.menuNodeMatchesSlug)(e,r),n=e=>{for(let t=0;t<e.length;t+=1){let a=e[t],i=Array.isArray(null==a?void 0:a.newCategorySub)?a.newCategorySub:[];if(i.length>0&&(l(a,r)||i.some(e=>l(e,r))))return i;let o=I(a);if(o.length>0){let e=n(o);if(e)return e}}return null},a=e=>{for(let o=0;o<e.length;o+=1){let u=e[o],s=Array.isArray(null==u?void 0:u.categoryList)?u.categoryList:[];if(s.length>0){var t,n,i;let e=s.find(e=>l(e,r)),a=(null==e?void 0:e.plpChildren)||(null==e?void 0:e.sonCategory)||(null==e||null==(t=e.subCategory)?void 0:t.subCategoryList)||(null==e?void 0:e.subCategoryList)||(null==e||null==(i=e.subCategory)||null==(n=i.data)?void 0:n.subCategoryList);if(Array.isArray(a)&&a.length>0)return a}let d=I(u);if(d.length>0){let e=a(d);if(e)return e}}return null};if(Array.isArray(e)&&e.length>0&&t){let r=a(e);if(Array.isArray(r)&&r.length>0)return r}if(Array.isArray(e)&&e.length>0&&t){let r=n(e);if(Array.isArray(r)&&r.length>0)return r}let i=(e,r)=>{var t,l,n,a,i,o,u,s,d,g;if(!r)return!1;let c=(null==e||null==(a=e.subCategory)||null==(n=a.belongCategory)||null==(l=n.data)||null==(t=l.parent)?void 0:t.id)||(null==e||null==(u=e.belongCategory)||null==(o=u.data)||null==(i=o.parent)?void 0:i.id)||(null==e||null==(g=e.subCategory)||null==(d=g.data)||null==(s=d.parent)?void 0:s.id);return!!c&&String(c)===String(r)},o=e=>{for(let r=0;r<e.length;r+=1){let l=e[r],n=Array.isArray(null==l?void 0:l.categoryList)?l.categoryList:[];if(n.length>0&&n.some(e=>i(e,t)))return n;let a=I(l);if(a.length>0){let e=o(a);if(e)return e}}return null};if(Array.isArray(e)&&e.length>0&&t){let r=o(e);if(Array.isArray(r)&&r.length>0)return r}let u=[],d=(e,r)=>{var t,l,n,a,i,o,u,s,d,g,c,y,h,m,p,b,f,v,x,w,C,k;if(!r)return!1;let A=(null==e||null==(n=e.belongCategory)||null==(l=n.data)||null==(t=l.parent)?void 0:t.id)||(null==e||null==(u=e.subCategory)||null==(o=u.belongCategory)||null==(i=o.data)||null==(a=i.parent)?void 0:a.id);if(A&&String(A)===String(r))return!0;let j=(null==e||null==(d=e.belongCategory)||null==(s=d.data)?void 0:s.id)||(null==e||null==(y=e.subCategory)||null==(c=y.belongCategory)||null==(g=c.data)?void 0:g.id);if(j&&String(j)===String(r))return!0;
1let L=null==e||null==(p=e.subCategory)||null==(m=p.data)||null==(h=m.parent)?void 0:h.id;if(L&&String(L)===String(r))return!0;let S=(null==e||null==(f=e.subCategory)||null==(b=f.data)?void 0:b.ancestors)||[];if(Array.isArray(S)&&S.some(e=>String(null==e?void 0:e.id)===String(r)))return!0;let N=null==e||null==(w=e.category)||null==(x=w.data)||null==(v=x.parent)?void 0:v.id;if(N&&String(N)===String(r))return!0;let M=(null==e||null==(k=e.category)||null==(C=k.data)?void 0:C.ancestors)||[];return!!(Array.isArray(M)&&M.some(e=>String(null==e?void 0:e.id)===String(r)))},g=e=>{for(let l=0;l<e.length;l+=1){var r;let n=e[l],a=(null==n?void 0:n.subCategory)&&Array.isArray(null==n||null==(r=n.subCategory)?void 0:r.subCategoryList)?n.subCategory.subCategoryList:[],i=Array.isArray(null==n?void 0:n.subCategoryList)?n.subCategoryList:[],o=q(n);a.length>0&&u.push(...a.filter(e=>d(e,t))),i.length>0&&u.push(...i.filter(e=>d(e,t))),o.length>0&&u.push(...o.filter(e=>d(e,t)));let s=I(n);s.length>0&&g(s)}};Array.isArray(e)&&e.length>0&&t&&g(e);let c=(e=>{let r=new Map;return e.forEach(e=>{var t,l,n,a;let i=String((null==e?void 0:e.id)||(null==e||null==(l=e.subCategory)||null==(t=l.data)?void 0:t.id)||(null==e||null==(a=e.category)||null==(n=a.data)?void 0:n.id)||(null==e?void 0:e.subCategoryUrlKey)||(null==e?void 0:e.urlKey)||Math.random());r.has(i)||r.set(i,e)}),Array.from(r.values())})(u);if(c.length>0)return c;let y=K(e,r);return y?Array.isArray(y.categoryList)&&y.categoryList.length>0&&t&&y.categoryList.some(e=>i(e,t))?y.categoryList:Array.isArray(y.plpChildren)&&y.plpChildren.length>0?y.plpChildren:Array.isArray(y.sonCategory)&&y.sonCategory.length>0?y.sonCategory:Array.isArray(y.newCategorySub)&&y.newCategorySub.length>0?y.newCategorySub:y.subCategory&&Array.isArray(y.subCategory.subCategoryList)&&y.subCategory.subCategoryList.length>0?y.subCategory.subCategoryList:Array.isArray(y.subCategoryList)&&y.subCategoryList.length>0?y.subCategoryList:Array.isArray(y.categoryList)&&y.categoryList.length>0?y.categoryList:[]:[]}(ef,eg);return n&&n.length>0?n:em.length>0?em:(null==(r=es.data)||null==(e=r.category)?void 0:e.subCategoryList)||[]},[em,ep,es.data,ea,ef,eg,Z]),eC=(0,n.useMemo)(()=>{var e,r;let t=function(e,r){let t=H(r);if(!Array.isArray(e)||!t)return null;let l=e=>{for(let i=0;i<e.length;i+=1){var r,n,a;let o=e[i],u=(null==o||null==(r=o.belongCategory)?void 0:r.data)||(null==o||null==(a=o.subCategory)||null==(n=a.belongCategory)?void 0:n.data);if(u&&String(null==u?void 0:u.id)===String(t))return u;let s=I(o);if(s.length>0){let e=l(s);if(e)return e}}return null};return l(e)}(ef,eg),l=null==t?void 0:t.name;if(l){let e=(0,s.resolveBreadcrumbText)(l,ea);if(e)return J(e,ea)}let n=function(e,r,t){let l=H(r);if(!Array.isArray(e)||!l)return"";let n=e=>(0,s.menuNodeMatchesSlug)(e,r),a=e=>{for(let u=0;u<e.length;u+=1){var r,l,i,o;let s=e[u];if(n(s)){let e=T(null==s?void 0:s.name,t)||T(null==s||null==(i=s.belongMenu)?void 0:i.name,t);if(e)return e}let d=[null==s?void 0:s.belongMenu,null==s?void 0:s.subCategory,null==s||null==(r=s.subCategory)?void 0:r.belongMenu].filter(e=>e&&"object"==typeof e);for(let e=0;e<d.length;e+=1){let r=d[e];if(n(r)){let e=T(null==s?void 0:s.name,t)||T(null==r?void 0:r.name,t)||T(null==r||null==(o=r.belongMenu)?void 0:o.name,t);if(e)return e}}let g=I(s);if((null==s?void 0:s.belongMenu)&&"object"==typeof s.belongMenu&&g.push(s.belongMenu),(null==s||null==(l=s.subCategory)?void 0:l.belongMenu)&&"object"==typeof s.subCategory.belongMenu&&g.push(s.subCategory.belongMenu),g.length>0){let e=a(g);if(e)return e}}return""};return a(e)}(ef,eg,ea);if(n)return J(n,ea);let a=function(e,r,t){let l=H(r),n=e=>{for(let o=0;o<e.length;o+=1){var r,a,i;let u=e[o],s=(null==u||null==(r=u.belongCategory)?void 0:r.data)||(null==u||null==(i=u.subCategory)||null==(a=i.belongCategory)?void 0:a.data);if(s&&String(null==s?void 0:s.id)===String(l)){let e=T(null==s?void 0:s.name,t);if(e)return String(e)}let d=n(I(u));if(d)return d}return""},a=n(e);if(a)return a;let i=K(e,r);if(i){var o,u,d,g,c,y,h,m,p,b,f,v,x;let e=null==i||null==(u=i.subCategory)||null==(o=u.data)?void 0:o.parent,r=(null==i||null==(g=i.belongCategory)||null==(d=g.data)?void 0:d.id)||(null==i||null==(h=i.subCategory)||null==(y=
1h.belongCategory)||null==(c=y.data)?void 0:c.id),n=(null==i||null==(p=i.subCategory)||null==(m=p.data)?void 0:m.ancestors)||[];if((r&&String(r)===String(l)||Array.isArray(n)&&n.some(e=>String(null==e?void 0:e.id)===String(l)))&&e){let r=T(null==e?void 0:e.name,t)||(0,s.formatBreadcrumbFallbackLabel)(null==e?void 0:e.slug,t)||(0,s.formatBreadcrumbFallbackLabel)(null==e?void 0:e.key,t)||(null==e?void 0:e.id);if(r)return String(r)}return T(null==i?void 0:i.name,t)||T(null==i||null==(f=i.category)||null==(b=f.data)?void 0:b.name,t)||T(null==i||null==(x=i.subCategory)||null==(v=x.data)?void 0:v.name,t)||T(null==i?void 0:i.subCategoryMetaTitle,t)||(0,s.formatBreadcrumbFallbackLabel)(null==i?void 0:i.subCategoryUrlKey,t)||(0,s.formatBreadcrumbFallbackLabel)(null==i?void 0:i.urlKey,t)||(0,s.formatBreadcrumbFallbackLabel)(null==i?void 0:i.key,t)||(0,s.formatBreadcrumbFallbackLabel)((0,s.getMenuNodeHref)(i),t)}let w=e=>{for(let o=0;o<e.length;o+=1){var r,n,a,i;let u=e[o],s=Array.isArray(null==u?void 0:u.categoryList)?u.categoryList:[],d=(null==u?void 0:u.subCategory)&&Array.isArray(null==u||null==(r=u.subCategory)?void 0:r.subCategoryList)?u.subCategory.subCategoryList:[],g=Array.isArray(null==u?void 0:u.subCategoryList)?u.subCategoryList:[],c=[...s,...d,...g,...Array.isArray(null==u?void 0:u.sonCategory)?u.sonCategory:[],...q(u)];for(let e=0;e<c.length;e+=1){let r=c[e],o=(null==r||null==(n=r.belongCategory)?void 0:n.data)||(null==r||null==(i=r.subCategory)||null==(a=i.belongCategory)?void 0:a.data);if(o&&String(null==o?void 0:o.id)===String(l)){let e=T(null==o?void 0:o.name,t);if(e)return String(e)}}let y=w(I(u));if(y)return y}return""},C=e=>{for(let d=0;d<e.length;d+=1){var r,n,a,i,o,u;let g=e[d],c=Array.isArray(null==g?void 0:g.categoryList)?g.categoryList:[],y=(null==g?void 0:g.subCategory)&&Array.isArray(null==g||null==(r=g.subCategory)?void 0:r.subCategoryList)?g.subCategory.subCategoryList:[],h=Array.isArray(null==g?void 0:g.subCategoryList)?g.subCategoryList:[],m=[...c,...y,...h,...Array.isArray(null==g?void 0:g.sonCategory)?g.sonCategory:[],...q(g)].find(e=>{var r,t,n,a,i,o,u,s,d,g,c,y,h,m,p;let b=(null==e||null==(n=e.subCategory)||null==(t=n.data)||null==(r=t.parent)?void 0:r.id)||(null==e||null==(o=e.category)||null==(i=o.data)||null==(a=i.parent)?void 0:a.id),f=(null==e||null==(s=e.belongCategory)||null==(u=s.data)?void 0:u.id)||(null==e||null==(c=e.subCategory)||null==(g=c.belongCategory)||null==(d=g.data)?void 0:d.id),v=(null==e||null==(h=e.subCategory)||null==(y=h.data)?void 0:y.ancestors)||(null==e||null==(p=e.category)||null==(m
1=p.data)?void 0:m.ancestors)||[];return b&&String(b)===String(l)||f&&String(f)===String(l)||Array.isArray(v)&&v.some(e=>String(null==e?void 0:e.id)===String(l))});if(m){let e=null==m||null==(a=m.subCategory)||null==(n=a.data)?void 0:n.parent,r=T(null==e?void 0:e.name,t)||(0,s.formatBreadcrumbFallbackLabel)(null==e?void 0:e.slug,t)||(0,s.formatBreadcrumbFallbackLabel)(null==e?void 0:e.key,t)||(null==e?void 0:e.id);if(r)return String(r);let l=(null==m||null==(i=m.belongCategory)?void 0:i.data)||(null==m||null==(u=m.subCategory)||null==(o=u.belongCategory)?void 0:o.data),d=T(null==l?void 0:l.name,t);if(d)return String(d)}let p=C(I(g));if(p)return p}return""},k=w(e);return k||C(e)}(ef,eg,ea);if(a&&!R(a))return J(a,ea);let i=null==ey||null==(e=ey.at(-1))?void 0:e.name;if(i&&!R(i))return J(i,ea);let o=(0,s.resolveCategoryBreadcrumbLabel)(null==(r=es.data)?void 0:r.category,ea);if(o&&!R(o))return J(o,ea);let u=(0,s.formatBreadcrumbFallbackLabel)(eg,ea);return u&&!R(u)?u:et("category")},[ey,null==(a=es.data)?void 0:a.category,ea,ef,eg,et]),ek=(0,n.useMemo)(()=>{if(eh.length>0)return eh;let e=Array.isArray(ey)?ey:[],r=e.find(e=>String(e.link)===W.GJ.index.compile())||{name:"home",link:W.GJ.index.compile()};if((null==ex?void 0:ex.parentName)&&(null==ex?void 0:ex.leafName)){let e=String(ex.parentLink||"").trim()||W.GJ.category.index.compile(),t=[r,{name:ex.parentName,link:e},{name:ex.leafName,link:"#"}],l=new Set;return t.filter(e=>{let r=String(e.link||"")+String(e.name||"");return!l.has(r)&&(l.add(r),!0)})}let t=eC&&eC!==et("category")&&!R(eC)?eC:"";if(!t)return e;let l=[r,...e.filter(e=>e&&e.name&&!R(String(e.name))&&String(e.name)!==t&&"category:allProducts"!==String(e.name)&&String(e.link)!==W.GJ.category.index.compile()&&!(A&&String(e.link).includes(A))).filter(e=>e!==r),{name:t,link:"#"}],n=new Set;return l.filter(e=>{let r=String(e.link||"")+String(e.name||"");return!n.has(r)&&(n.add(r),!0)})},[eh,ey,eC,A,ex,et]);if(er)return(0,l.jsx)(O.i,{env:j,children:(0,l.jsx)(h.f,{children:(0,l.jsxs)("div",{className:"flex flex-col items-center justify-center my-20 gap-y-4",children:[(0,l.jsx)(m._,{color:"text-[#F48120]",size:"xl"}),(0,l.jsx)("p",{className:"text-neutral-700 text-center typography-body",children:et("categoryLoadFailed")}),(0,l.jsxs)("div",{className:"flex flex-col gap-y-2 w-[200px]",children:[(0,l.jsx)("button",{type:"button",className:"w-full h-10 rounded-[10px] bg-[#F48120] text-white font-bold typography-button",onClick:()=>en.reload(),children:et("retry")}),(0,l.jsx)("button",{type:"button",className:"w-full h-10 rounded-[10px] bg-neutral-100 text-neutral-700 font-bold typography-button",onClick:()=>en.push("/"),children:et("backHome")})]})]})})});if(!eu.isSuccess)return null;let{pagination:eA,facets:ej}=eu.data,eL=eC&&eC!==et("category")?eC:et("allProducts");null==ej||ej.find(e=>"CATEGORY"===e.type);let eS=ew.length>0&&"pills"===ev.subcategoryPresentation&&"hide"===ev.filterVisibility,eN=ew.length>0&&"pills"===ev.subcategoryPresentation&&"show"===ev.filterVisibility,eM=ew.length>0&&"pills"!==ev.subcategoryPresentation;return(0,l.jsxs)(O.i,{breadcrumbs:"show"===ev.breadcrumbVisibility?ek:[],breadcrumbVariant:"plp",plpMobileTitle:eL,plpMobileProductCount:et("numberOfProducts",{count:null!=(b=null==eA?void 0:eA.totalResults)?b:0}),mobileFullWidthPlpHero:ei,env:j,topContent:(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)("div",{className:ei?"order-2 md:hidden":"order-1 md:hidden",children:eM?(0,l.jsx)("div",{className:"mb-4","data-testid":"category-mobile-subcategories",children:(0,l.jsx)(h.f,{className:"!max-w-[1344px] px-4 min-[1200px]:px-0",children:(0,l.jsx)(M,{subCategories:ew,categoryName:eC,currentCategoryId:Z,presentation:ev.subcategoryPresentation,embedded:!0,hideHeadingOnMobile:!0})})}):null}),(0,l.jsx)("div",{className:ei?"order-1":"order-2 md:order-1",children:(0,l.jsx)(B.ib,{slot:"New Arrivals Page Hero",context:{categoryId:Z},className:"mb-6",mobileProductCount:et("numberOfProducts",{count:null!=(f=null==eA?void 0:eA.totalResults)?f:0}),onMobileFullWidthChange:eo})})]}),children:[(0,l.jsx)(y.bV,{title:"".concat(S||eL," | ").concat(el("websiteName")),description:D||void 0,additionalMetaTags:N?[{name:"keywords",content:N}]:void 0}),(0,l.jsx)(h.f,{className:"!max-w-[1344px] px-4 min-[1200px]:px-0",children:(0,l.jsxs)("div",{className:"mb-20","data-testid":"category-layout",children:[0===ew.length?(0,l.jsx)("h1",{className:"relative mb-6 mt-4 hidden text-2xl font-medium leading-8 after:absolute after:bottom-0 after:left-0 after:h-1 after:w-full after:rounded-full after:bg-[#50B748] md:inline-block","data-testid":"category-title",children:eL}):null,ew.length>0&&!eS&&(0,l.jsx)("div",{className:eN||eM?"hidden md:block":void 0,children:(0,l.jsx)(M,{subCategories:ew,categoryName:eC,currentCategoryId:Z,presentation:ev.subcategoryPresentation,hideHeadingOnMobile:!0})}),(0,l.jsx)(F.D,{products:k,totalProducts:null!=(v=null==eA?void 0:eA.totalResults)?v:0,categoryId:Z,itemListId:Z||eC,itemListName:eC,initialPagination:eA,plpRequestContext:ee,filtersEnabled:"show"===ev.filterVisibility,responsivePillStart:eN?(0,l.jsx)(M,{subCategories:ew,categoryName:eC,currentCategoryId:Z,presentation:"pills",embedded:!0}):void 0,responsivePillsMatchDesktopPresentation:"pills"===ev.subcategoryPresentation,mobileProductCountInTitle:!0,compactToolbarStart:eS?(0,l.jsx)(M,{subCategories:ew,categoryName:eC,currentCategoryId:Z,presentation:"pills",embedded:!0}):void 0,sidebar:"show"===ev.filterVisibility?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)(z.a,{title:et("category:filters"),children:(0,l.jsx)("div",{className:"flex flex-col gap-2",children:(0,l.jsx)(P.w,{facets:ej,appearance:"plp"})})})}):void 0,emptyState:(0,l.jsx)(_.$,{title:et("emptyStateText"),description:(0,l.jsxs)(c.x6,{ns:"category",i18nKey:"emptyStateDescription",children:["Change or\xa0",(0,l.jsx)(d.A,{as:p.N,href:(()=>{let e=ec||W.GJ.category.index.compile();return en.query.store_id?"".concat(e,"?store_id=").concat(en.query.store_id):e})(),"data-testid":"button",children:"Clear all filters"})]}),children:(0,l.jsx)(i(),{src:U,alt:et("emptyStateAltText"),width:"192",height:"192",loading:"eager",priority:!0})})})]})})]})}let Q=Z},54723:(e,r,t)=>{"use strict";t.d(r,{_:()=>n});
1var l=t(50979);let n=(0,t(68282).S)((0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:[(0,l.jsx)("path",{d:"M448 256c0-106-86-192-192-192S64 150 64 256s86 192 192 192 192-86 192-192z",fill:"none",stroke:"currentColor",strokeMiterlimit:"10",strokeWidth:"32"}),(0,l.jsx)("path",{d:"M250.26 166.05L256 288l5.73-121.95a5.74 5.74 0 00-5.79-6h0a5.74 5.74 0 00-5.68 6z",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"32"}),(0,l.jsx)("path",{d:"M256 367.91a20 20 0 1120-20 20 20 0 01-20 20z"})]}))},77347:(e,r,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/category/[[...slug]]",function(){return t(25624)}])},83044:(e,r,t)=>{"use strict";t.d(r,{A6:()=>y,BZ:()=>u,GQ:()=>b,Mt:()=>f,QG:()=>m,S3:()=>g,Sr:()=>n,XA:()=>s,YJ:()=>a,aJ:()=>o,bP:()=>x,c1:()=>p,eq:()=>c,fl:()=>h,so:()=>v,vK:()=>i,xm:()=>d});var l=t(50979);function n(e){let{className:r,...t}=e;return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:r,...t,children:(0,l.jsx)("path",{d:"M20 6 9 17l-5-5"})})}function a(e){let{className:r="w-4 h-4",width:t=16,height:n=16}=e;return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:r,children:(0,l.jsx)("polyline",{points:"15 18 9 12 15 6"})})}function i(e){let{className:r="w-4 h-4",width:t=16,height:n=16}=e;return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:r,children:(0,l.jsx)("polyline",{points:"9 18 15 12 9 6"})})}function o(e){let{className:r="w-4 h-4",width:t=16,height:n=16}=e;return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:r,children:[(0,l.jsx)("circle",{cx:"9",cy:"21",r:"1"}),(0,l.jsx)("circle",{cx:"20",cy:"21",r:"1"}),(0,l.jsx)("path",{d:"M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"})]})}function u(e){let{className:r="w-4 h-4",width:t=16,height:n=16}=e;return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:r,children:(0,l.jsx)("path",{d:"M12 2L15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21 7 14.14 2 9.27 8.91 8.26 12 2Z"})})}function s(e){let{className:r="w-4 h-4",width:t=16,height:n=16}=e;return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:r,children:[(0,l.jsx)("rect",{x:"3",y:"11",width:"18",height:"11",rx:"2",ry:"2"}),(0,l.jsx)("path",{d:"M7 11V7a5 5 0 0 1 10 0v4"})]})}function d(e){let{className:r="w-4 h-4",width:t=16,height:n=16}=e;return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:r,children:[(0,l.jsx)("path",{d:"M15 14c.2-1 .7-1.7 1-2.5a4 4 0 0 0-7-1m-2 5m5 5h8"}),(0,l.jsx)("path",{d:"M9 18c-2 0-4-1-4-3s2-3 4-3 4 1 4 3-2 3-4 3m3 0h5"})]})}function g(e){let{className:r="w-4 h-4",width:t=16,height:n=16}=e;return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:r,children:[(0,l.jsx)("rect",{x:"3",y:"3",width:"7",height:"7"}),(0,l.jsx)("rect",{x:"14",y:"3",width:"7",height:"7"}),(0,l.jsx)("rect",{x:"14",y:"14",width:"7",height:"7"}),(0,l.jsx)("rect",{x:"3",y:"14",width:"7",height:"7"})]})}function c(e){let{className:r="w-4 h-4",width:t=16,height:n=16}=e;return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:r,children:[(0,l.jsx)("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3.05h16.94a2 2 0 0 0 1.71-3.05L13.71 3.86a2 2 0 0 0-3.42 0z"}),(0,l.jsx)("line",{x1:"12",y1:"9",x2:"12",y2:"13"}),(0,l.jsx)("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"})]})}function y(e){let{className:r="w-4 h-4",width:t=16,height:n=16}=e;return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:r,children:[(0,l.jsx)("line",{x1:"19",y1:"12",x2:"5",y2:"12"}),(0,l.jsx)("polyline",{points:"12 19 5 12 12 5"})]})}function h(e){let{className:r="w-4 h-4",width:t=16,height:n=16}=e;return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:r,children:[(0,l.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,l.jsx)("polyline",{points:"12 5 19 12 12 19"})]})}function m(e){let{className:r="w-4 h-4",width:t=16,height:n=16}=e;return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:r,children:(0,l.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"})})}function p(e){let{className:r="w-4 h-4",width:t=16,height:n=16}=e;return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:r,children:[(0,l.jsx)("line",{x1:"12",y1:"5",x2:"12",y2:"19"}),(0,l.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"})]})}function b(e){let{className:r,...t}=e;return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:r,...t,children:(0,l.jsx)("circle",{cx:"12",cy:"12",r:"10"})})}function f(e){let{className:r="w-4 h-4",width:t=16,height:n=16}=e;return(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:r,children:(0,l.jsx)("polyline",{points:"18 15 12 9 6 15"})})}function v(e){let{className:r,...t}=e;return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:r,...t,children:[(0,l.jsx)("path",{d:"M21 3 3 21"}),(0,l.jsx)("path",{d:"m13 3-1.5 3L15 10l1.5-3L21 3l-8 10-1.5-3L13 3Z"}),(0,l.jsx)("path",{d:"m8 3 5 2-5 6V3Z"})]})}function x(e){let{className:r="w-4 h-4",width:t=16,height:n=16}=e;return(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:r,children:[(0,l.jsx)("path",{d:"M18 8L22 12L18 16"}),(0,l.jsx)("path",{d:"M6 8L2 12L6 16"}),(0,l.jsx)("path",{d:"M12 2V22"})]})}t(25963)}},e=>{e.O(0,[2096,6837,2513,8218,6615,749,4451,2086,1268,348,6043,738,5969,9573,1935,636,6593,8792],()=>e(e.s=77347)),_N_E=e.O()}]);

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.