(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9160],{91052:function(e,t,n){Promise.resolve().then(n.bind(n,3778))},77356:function(e,t,n){"use strict";n.d(t,{gF:function(){return u},$T:function(){return h},x4:function(){return f},kS:function(){return d},c0:function(){return p},y1:function(){return c}}),(i=o||(o={})).FNF="fnf",i.WEBSITE="website";var i,o,r=n(15033),a=n(88367),l=n(44487),s=n(24069);let d=()=>a.default.get("/auth/logout").finally(async()=>{await (0,r.jv)(),(0,l.Dj)(!1)}),c=async e=>{let t=(0,r.$Z)(),n={...e,client_id:"a10d1e31-4db0-49c5-b670-72b1929bd420",client_secret:"jRrBkkbc38dMLqxhEFiQ4TbrzwmU0PS5"};return a.default.post("/auth/signup",n,{params:t}).then(async e=>{let t=e.data;return await (0,s.Y)(t),t})},p=e=>a.default.post("/auth/reset-password",{...e,scope:"buyer"}),u=e=>a.default.post("/auth/forgot-password",{...e,scope:"buyer"}),f=e=>{let t={grant_type:"password",client_id:"a10d1e31-4db0-49c5-b670-72b1929bd420",client_secret:"jRrBkkbc38dMLqxhEFiQ4TbrzwmU0PS5",scope:"buyer",username:e.email,password:e.password,countryCode:e.countryCode,source:window.location.host.startsWith("fnf")?o.FNF:o.WEBSITE},n=new FormData;return Object.entries(t).forEach(e=>{let[t,i]=e;return n.append(t,i)}),a.default.post("/auth/login",n).then(async e=>{let{data:t}=e;return await (0,s.Y)(t),t})},h=e=>a.default.put("/auth/guest/signup",e,{params:(0,r.$Z)()}).then(async e=>{await (0,s.Y)(e.data,{userType:"Guest"})})},75502:function(e,t,n){"use strict";n.d(t,{FD:function(){return a},QD:function(){return s},Wk:function(){return l},uM:function(){return r},vO:function(){return d},xX:function(){return c}});var i=n(88367),o=n(15033);let r=e=>i.default.get("/search/suggestion",{params:{keyword:e}}),a=()=>i.default.get("/buyer/getSearchRecommendation"),l=()=>i.default.delete("buyer/clearAllSearch"),s=e=>i.default.get((window.location.host.startsWith("fnf")?"/fnf":"")+"/search/product",{params:e}).then(t=>{let{data:{products:n,...i}}=t;return{...i,products:(0,o.Mb)(n,e.country)}}),d=()=>i.default.get("/store/getAllStores"),c=e=>i.default.post("/search/recordSearchKeyword",{},{params:e})},98147:function(e,t,n){"use strict";var i=n(89183);let{colors:o,fontWeight:r}=n(78750).default,a=i.ZP.a.withConfig({componentId:"sc-d5360d79-0"})(["margin:auto;width:292px;display:block;color:",";padding:12px 18px;font-size:15px;-weight:",";line-height:30px;text-decoration:none;text-align:center;cursor:pointer;border-radius:6px;border:1px solid ",";transition:0.1s all;&:hover{border:1px solid ",";color:",";background-color:",";background:linear-gradient( 135deg,"," 0%,"," 100% );}"],o.tertiaryDark,r.medium,o.tertiaryDark,o.primaryPink,o.white,o.primaryPink,o.primaryPink,o.secondaryPink);t.Z=a},85131:function(e,t,n){"use strict";n.d(t,{default:function(){return S}});var i=n(57437),o=n(2265),r=n(97946),a=n(75351),l=n(30440),s=n(19951),d=n(51864),c=n(65677),p=n(39236),u=n(89183);let{fontWeight:f,fontFamily:h,breakpoints:m}=n(78750).default,g=u.ZP.div.withConfig({componentId:"sc-a422c9c8-0"})(["font-family:",";font-size:24px;margin:48px 0 16px;@media screen and (max-width:","){box-shadow:0 -10px 0 0 rgba(220,214,209,0.3);margin:10px 0;padding:10px 8px 0;font-weight:",";font-size:18px;line-height:22px;}"],h.ofelia,m.mobile,f.extraBold);var x=o.memo(e=>{let{title:t}=e;return null!=t?(0,i.jsx)(i.Fragment,{children:t}):(0,i.jsx)(g,{children:"You may also like:"})}),w=n(83294),v=e=>{let{productId:t,title:n,storeSlug:r}=e,a=(0,w.pV)(),{data:l}=(0,d.useQuery)(["desktop-recommendation",{productId:t,country:a,storeSlug:r}],e=>{let{queryKey:t}=e;return(0,c.vf)(t[1]).then(e=>{let{data:t}=e;return{...t,data:t.data.filter(e=>{let{url:t}=e;return!!t})}})},{refetchOnWindowFocus:!1,refetchInterval:!1,refetchOnReconnect:!1,refetchIntervalInBackground:!1,keepPreviousData:!0}),s=(0,o.useMemo)(()=>(null==l?void 0:l.data)||[],[l]);return s.length>0?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(x,{title:n}),(0,i.jsx)(p.Z,{productsInfo:s,productListing:s,showDot:!0,extraStyle:"max-width: 100%",isRecommendation:!0})]}):null},b=n(93920);let y=u.ZP.div.withConfig({componentId:"sc-30e7efe6-0"})(["display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0 8px;"]);var k=n(93601),j=n(8396),C=n(79898),I=n(68545),P=n(15033),Z=o.memo(e=>{var t;let{storeSlug:n,productId:r,title:a,disableAutoFetch:s=!1}=e,d=(0,w.pV)(),p=(0,b.useInfiniteQuery)(["mobile-recommendation",{productId:r,country:d,storeSlug:n}],e=>{let{queryKey:t,pageParam:n}=e;return(0,c.fd)(n?{recommendationId:n,country:d}:t[1]).then(e=>e.data.data.length>0?{...e.data,data:e.data.data.filter(e=>!!e.url)}:void 0)},{refetchIntervalInBackground:!1,refetchOnReconnect:!1,refetchInterval:!1,refetchOnWindowFocus:!1,getNextPageParam:(e,t)=>10!==t.length&&e?e.recId:void 0,keepPreviousData:!0});(0,o.useEffect)(()=>{if(!s){let e=()=>{window.innerHeight+window.scrollY>=document.body.offsetHeight&&p.fetchNextPage()};return p.hasNextPage&&!p.isFetching&&window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}}},[p.isFetching,p.hasNextPage,s]);let u=C.g.useState(e=>{let{buyerBootstrap:t}=e;return(null==t?void 0:t.currencies.find(e=>e.code===(0,I._)(d)))||P.OM}),{onProductClick:f}=(0,l.Wz)(u.code),h=null===(t=p.data)||void 0===t?void 0:t.pages.filter(e=>!!e);return h&&0!==h.length?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(x,{title:a}),(0,i.jsx)(y,{children:null==h?void 0:h.map((e,t)=>(0,i.jsx)(o.Fragment,{children:e.data.map(e=>(0,i.jsx)(k.Z,{product:e,isRecommendation:!0,onClick:()=>f(e,t)},e.productId))},t))}),p.isFetching&&(0,i.jsx)(j.yw,{})]}):null});let E=e=>{let t=(0,o.useRef)(!1),n=(0,o.useRef)(null),d=(0,a.RO)(n),c=(0,s.Fe)();return(0,o.useEffect)(()=>{var e;!t.current&&(null===(e=n.current)||void 0===e?void 0:e.childNodes)&&n.current.childNodes.length>0&&d&&((0,l.rV)(l.tz.RECOMMENDATION_VISIBLE),t.current=!0)},[d]),(0,i.jsx)("div",{id:"ProductRecommendation",ref:n,children:c===r.t.MOBILE?(0,i.jsx)(Z,{...e}):(0,i.jsx)(v,{...e})})};var S=e=>(0,a.Ni)()?null:(0,i.jsx)(E,{...e})},80914:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(57437);n(2265);var o=n(9772),r=n.n(o),a=n(89183),l=n(78750);let s=a.ZP.a.withConfig({componentId:"sc-4eb1e083-0"})(["display:block;height:100%;width:50px;position:absolute;top:0;right:-50px;cursor:pointer;text-decoration:none;text-align:center;svg{position:absolute;top:50%;width:8px;height:16px;transform:translateX(-4px) translateY(-16px);path{color:inherit;}}@media screen and (max-width:","){display:none;}&.left{right:auto;left:-50px;svg{transform:translateX(-4px) translateY(-16px) rotate(180deg);}}"],l.default.breakpoints.tablet),d=e=>{let{...t}=e;return(0,i.jsx)("svg",{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 10 20",children:(0,i.jsx)("path",{fill:t.arrowColor,d:"M1.3,20c-0.3,0-0.6-0.1-0.9-0.3c-0.5-0.5-0.6-1.4-0.1-1.9L7,10L0.3,2.3c-0.5-0.6-0.4-1.4,0.1-1.9   C1-0.2,1.8-0.1,2.3,0.5l7.4,8.6c0.4,0.5,0.4,1.3,0,1.8l-7.4,8.6C2,19.8,1.7,20,1.3,20z"})})};var c=e=>{let{direction:t,arrowColor:n,...o}=e;return(0,i.jsx)(s,{className:r()({left:"left"===t}),...o,role:"button","aria-label":t,children:(0,i.jsx)(d,{arrowColor:n||"#808080"})})}},36712:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var i=n(57437),o=n(2265),r=n(89183),a=n(78750);let l=r.ZP.a.withConfig({componentId:"sc-7c98fd87-0"})(['display:block;height:100%;width:50px;position:absolute;top:0;right:-50px;cursor:pointer;text-decoration:none;text-align:center;&:before{content:"";position:absolute;top:50%;background-image:url("https://cdn.siftandpick.com/s3fs-public/assets/icon/Navigation-Arrow-v2-2020.svg");background-size:cover;width:8px;height:16px;transform:translateX(-4px) translateY(-16px);}@media screen and (max-width:',"){display:none;}"],a.default.breakpoints.tablet);(0,r.ZP)(l).withConfig({componentId:"sc-7c98fd87-1"})(["right:auto;left:-50px;&:before{transform:translateX(-4px) translateY(-16px) rotate(180deg);}"]);let s=r.ZP.div.withConfig({componentId:"sc-7c98fd87-2"})(["position:relative;padding-bottom:10px;&.hasPadding{padding:20px 0;}"]),d=r.ZP.div.withConfig({componentId:"sc-7c98fd87-3"})(["box-sizing:content-box;width:100%;overflow-x:hidden;padding:","px 0;@media screen and (max-width:","){padding:","px 10px ","px 0;overflow-x:auto;-ms-overflow-style:none;&::-webkit-scrollbar{display:none;}}"],e=>{let{$gap:t}=e;return t+1},a.default.breakpoints.tablet,e=>{let{$gap:t}=e;return t+1},e=>{let{$gap:t}=e;return t+1}),c=r.ZP.div.withConfig({componentId:"sc-7c98fd87-4"})(["display:flex;white-space:nowrap;transition:all 0.3s;& > *{min-width:calc( ","% - ","px );margin-right:","px;flex-basis:25%;&:nth-child(","n + 1){margin-left:","px;}&:nth-child(","n){margin-right:","px;}@media screen and (max-width:","){min-width:40%;&.isProductItem{min-width:55%;}margin:0 ","px !important;&:last-child{padding-right:2px;}}}@media screen and (max-width:","){overflow-x:auto;padding:","px 0;}"],e=>{let{$totalPerPage:t}=e;return 100/t},e=>{let{$gap:t,$totalPerPage:n}=e;return(60+2*t)/n},e=>{let{$colGap:t}=e;return t},e=>{let{$totalPerPage:t}=e;return t},e=>{let{$gap:t}=e;return t},e=>{let{$totalPerPage:t}=e;return t},e=>{let{$gap:t}=e;return t},a.default.breakpoints.tablet,e=>{let{$gap:t}=e;return 5*t},a.default.breakpoints.tablet,e=>{let{$gap:t}=e;return t}),p=r.ZP.div.withConfig({componentId:"sc-7c98fd87-5"})(["position:absolute;display:flex;justify-content:center;align-items:center;left:0;bottom:0;width:100%;> div{border-radius:50%;background:",";width:10px;height:10px;margin:0 4px;cursor:pointer;transition:all 0.3s;&:hover,&.active{background:",";}}@media screen and (max-width:","){display:none;}"],a.default.colors.grey,a.default.colors.secondaryDark,a.default.breakpoints.tablet);var u=n(80914),f=n(9772),h=n.n(f),m=o.memo(e=>{let{hasPadding:t=!0,totalPerPage:n=4,gap:r=0,list:a,renderer:l,arrowColor:f,showDot:m,isProductItem:g=!1,colGap:x=20}=e,[w,v]=(0,o.useState)(0),b=(0,o.useCallback)(()=>{v(e=>e-1)},[]),y=(0,o.useCallback)(()=>{v(e=>e+1)},[]),k=(0,o.useMemo)(()=>Math.ceil(a.length/n)-1,[a.length]),j=(0,o.useCallback)(e=>{v(e)},[]);return(0,i.jsxs)(s,{className:h()({hasPadding:t}),children:[w>0&&(0,i.jsx)(u.Z,{onClick:b,direction:"left",arrowColor:f}),(0,i.jsx)(d,{$gap:r,children:(0,i.jsx)(c,{className:h()({isProductItem:g}),$totalPerPage:n,$gap:r,style:{transform:"translateX(-".concat(100*w,"%)")},$colGap:x,children:a.map((e,t)=>(0,i.jsx)(o.Fragment,{children:l(e,t)},t))})}),w<k&&(0,i.jsx)(u.Z,{onClick:y,direction:"right",arrowColor:f}),m&&k>1&&(0,i.jsx)(p,{children:[...Array(k+1).keys()].map(e=>(0,i.jsx)("div",{className:h()({active:e===w}),onClick:j.bind(null,e)},e))})]})})},67854:function(e,t,n){"use strict";n.d(t,{default:function(){return ea}});var i=n(57437),o=n(2265),r=n(89183),a=n(70858),l=n(78750),s=n(59321);let{fontWeight:d,breakpoints:c,fontFamily:p}=l.default,u=r.ZP.div.withConfig({componentId:"sc-2305491c-0"})(["width:100vw;background:",";"],(0,s.m4)(l.default.colors.lightEggshell,.25)),f=(0,r.ZP)(a.default).withConfig({componentId:"sc-2305491c-1"})(["display:flex;flex-direction:column;gap:20px;",""],e=>{let{$extraStyle:t}=e;return t}),h=r.ZP.div.withConfig({componentId:"sc-2305491c-2"})(["letter-spacing:0.04em;font-family:",";font-weight:",";font-style:normal;color:",";font-size:",";@media (max-width:","){font-size:",";}"],p.ivyora,d.semiBold,l.default.colors.primaryPink,(0,s.hO)(22),c.mobile,(0,s.hO)(20)),m=r.ZP.section.withConfig({componentId:"sc-2305491c-3"})(["padding:30px;"]);var g=n(53960);let{fontWeight:x,breakpoints:w,fontFamily:v}=l.default,b=(0,r.ZP)(m).withConfig({componentId:"sc-d631b709-0"})(["padding:50px 10px 40px;display:flex;flex-direction:column;gap:20px;background:",";@media (max-width:","){padding:40px 20px 50px;}"],l.default.colors.lightEggshell,w.mobile),y=r.ZP.div.withConfig({componentId:"sc-d631b709-1"})(["margin:0;text-align:center;font-family:",";font-weight:",";letter-spacing:0.04em;font-style:normal;color:",";font-size:",";@media (max-width:","){font-size:",";}"],l.default.fontFamily.ivyora,l.default.fontWeight.bold,l.default.colors.primaryPink,(0,s.hO)(28),w.mobile,(0,s.hO)(24)),k=r.ZP.div.withConfig({componentId:"sc-d631b709-2"})(["margin:0;padding:0 10px;text-align:center;font-family:",";font-weight:",";color:",";font-size:",";opacity:1;@media (max-width:","){font-size:",";padding:0 20px;}"],v.ofelia,x.regular,l.default.colors.primaryPink,(0,s.hO)(20),w.mobile,(0,s.hO)(15)),j=r.ZP.div.withConfig({componentId:"sc-d631b709-3"})(["max-width:860px;margin:auto;width:100%;display:grid;grid-template-columns:3fr 1fr;gap:120px;align-items:center;@media (max-width:","){grid-template-columns:1fr;row-gap:40px;}"],w.mobile),C=(0,r.ZP)(g.Z).withConfig({componentId:"sc-d631b709-4"})(["padding:0;border:none;width:auto;> div:first-child{margin:0 !important;}"]);var I=n(14063),P=n(31318);let Z=r.ZP.div.withConfig({componentId:"sc-76db9662-0"})(["display:flex;gap:26px;align-items:center;justify-content:center;"]),E=r.ZP.a.withConfig({componentId:"sc-76db9662-1"})(["display:block;place-items:center;text-decoration:none;width:30px;height:30px;svg{font-size:30px;color:",";}"],l.default.colors.primaryPink);var S=o.memo(()=>(0,i.jsxs)(Z,{children:[(0,i.jsx)(E,{href:"https://vt.tiktok.com/ZSpLkewV/",target:"_blank",children:(0,i.jsx)(P.nP8,{})}),(0,i.jsx)(E,{href:"https://www.youtube.com/channel/UCWswjbnRDAY6sjpECbGWiAA",target:"_blank",children:(0,i.jsx)(I.V2E,{})}),(0,i.jsx)(E,{href:"https://www.instagram.com/siftandpick/",target:"_blank",children:(0,i.jsx)(I.Zf_,{})}),(0,i.jsx)(E,{href:"https://www.facebook.com/siftandpick/",target:"_blank",children:(0,i.jsx)(I.Am9,{})})]})),z=o.memo(()=>(0,i.jsxs)(b,{children:[(0,i.jsx)(y,{children:"Stay in Touch"}),(0,i.jsx)(k,{children:"Subscribe to our mailing list to get updates on the latest promotion, launches and more!"}),(0,i.jsxs)(j,{children:[(0,i.jsx)(C,{action:"Subscribe",placeholder:"Subscribe to our mailing list",consentBox:"",extraStyle:"margin: 0; width: 100%;padding: 10px 0;"}),(0,i.jsx)(S,{})]})]})),L=n(28843);let N={"About Us":[{href:"/about-us",label:"The Sift & Pick Story"},{href:"/retail-stores",label:"Retail Stores"},{href:"/terms-conditions",label:"Terms & Conditions"},{href:"/catalogue/list/privacy-policy-update",label:"Privacy Policy"}],Support:[{href:"https://support.siftandpick.com",label:"FAQ"},{href:"https://support.siftandpick.com/hc/en-us/categories/360000749471-Shipping-Delivery",label:"Shipping & Delivery"},{href:"https://support.siftandpick.com/hc/en-us/categories/360000749671-Return-Refund",label:"Return & Refund"},{href:"https://support.siftandpick.com/hc/en-sg/requests/new",label:"Contact"}],"Quick Links":[{href:"/catalogue/list/happenings",label:"Happenings"}]},O="https://cdn.siftandpick.com/s3fs-public/assets/icon/footer/",F=[{src:O+"VISA.png"},{src:O+"MasterCard.png"},{src:O+"ATOME.png",country:[L.cH.Singapore]},{src:O+"SHOPBACK.png",country:[L.cH.Singapore]},{src:O+"DHL.png"},{src:O+"JANIO.png",country:[L.cH.Singapore]},{src:O+"Ninjavan.png",country:[L.cH.Malaysia]},{src:O+"AirPak.png"},{src:O+"Teleport.png"}];var D=n(87138);let{fontWeight:A,fontFamily:M,breakpoints:T}=l.default,R=(0,r.ZP)(h).withConfig({componentId:"sc-3775f51c-0"})(["font-size:",";margin-bottom:20px;font-weight:",";"],(0,s.hO)(20),A.bold),W=(0,r.ZP)(D.default).withConfig({componentId:"sc-3775f51c-1"})(["display:block;width:fit-content;font-family:",";font-size:",";font-weight:",";text-decoration:none;margin-bottom:18px;color:",";@media screen and (max-width:","){font-size:",";}"],M.ofelia,(0,s.hO)(16),A.regular,l.default.colors.primaryPink,T.mobile,(0,s.hO)(14));var V=n(67602),Y=e=>{let{href:t,label:n}=e,o=(0,V.j)(t);return"gift cards"!==n.toLowerCase()?(0,i.jsx)(W,{href:o,children:n}):null},B=o.memo(e=>{let{title:t,content:n}=e;return(0,i.jsxs)("div",{children:[(0,i.jsx)(R,{children:t}),n.map((e,t)=>(0,i.jsx)(Y,{...e},t))]})});let H=(0,r.ZP)(m).withConfig({componentId:"sc-4f38ab4f-0"})(["padding:60px 10px;width:100%;display:grid;grid-template-columns:1fr 1fr 1fr;column-gap:20px;@media (max-width:","){grid-template-columns:1fr 1fr;row-gap:10px;padding:40px 20px;}"],l.default.breakpoints.mobile);var _=o.memo(()=>(0,i.jsx)(H,{children:Object.keys(N).map((e,t)=>(0,i.jsx)(B,{title:e,content:N[e]},t))}));let{fontWeight:G,fontFamily:U}=l.default,$=r.ZP.div.withConfig({componentId:"sc-6b49a818-0"})(["font-family:",";font-size:",";text-align:center;font-weight:",";margin:10px 0 20px 0;color:",";"],U.ofelia,(0,s.hO)(12),G.regular,l.default.colors.dark);var X=o.memo(()=>(0,i.jsxs)($,{children:["\xa9 ",new Date().getFullYear()," Sift & Pick | #BagsForEveryYou"]})),Q=n(66648);let{fontWeight:q,fontFamily:K,breakpoints:J}=l.default,ee=(0,r.ZP)(h).withConfig({componentId:"sc-28a4ca2-0"})(["font-size:",";margin-right:40px;font-weight:",";@media (max-width:","){font-size:",";text-align:center;width:100%;min-width:100%;margin:0 0 10px 0;}"],(0,s.hO)(21),q.bold,l.default.breakpoints.mobile,(0,s.hO)(24)),et=(0,r.ZP)(m).withConfig({componentId:"sc-28a4ca2-1"})(["padding-bottom:10px;display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;@media (max-width:","){justify-content:center;flex-wrap:wrap;column-gap:30px;row-gap:10px;}"],l.default.breakpoints.mobile),en=r.ZP.div.withConfig({componentId:"sc-28a4ca2-2"})(["@media (max-width:","){width:calc(25% - ","px);display:grid;place-items:center;}"],l.default.breakpoints.mobile,22.5),ei=r.ZP.div.withConfig({componentId:"sc-28a4ca2-3"})(["position:relative;width:56px;height:40px;@media (max-width:","){width:45px;height:32.14px;}"],l.default.breakpoints.mobile);var eo=n(83294),er=o.memo(()=>{let e=(0,eo.pV)(),t=F.filter(t=>{let{country:n}=t;return!n||n.includes(e)});return(0,i.jsxs)(et,{children:[(0,i.jsx)(ee,{children:"Our Partners"}),t.map((e,t)=>{let{src:n}=e;return(0,i.jsx)(en,{children:(0,i.jsx)(ei,{children:(0,i.jsx)(Q.default,{fill:!0,src:n,alt:"Partner"})})},t)})]})}),ea=o.memo(e=>{let{extraStyle:t}=e;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(z,{}),(0,i.jsx)(u,{children:(0,i.jsxs)(f,{$extraStyle:t,children:[(0,i.jsx)(_,{}),(0,i.jsx)(er,{}),(0,i.jsx)(X,{})]})})]})})},97057:function(e,t,n){"use strict";n.d(t,{default:function(){return C}});var i=n(57437),o=n(2265),r=n(16463),a=n(66648),l=n(9772),s=n.n(l),d=n(92976),c=n(47892),p=n(28843),u=n(17730),f=n(32181),h=n(89183);let m=h.ZP.div.withConfig({componentId:"sc-893581f1-0"})(["margin-left:auto;display:flex;gap:8px;align-items:center;justify-content:center;"]),g=(0,h.ZP)(d.Pz).withConfig({componentId:"sc-893581f1-1"})(["grid-template-columns:1fr 115px 1fr;"]);var x=n(28561),w=()=>(0,i.jsx)("a",{href:"https://www.siftandpick.com",title:"Sift and Pick",children:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"19",height:"16",viewBox:"0 0 19 16",fill:"#333",children:(0,i.jsx)("path",{d:"M1.414 6.34921L0.707 7.05621L0 6.34921L0.707 5.64221L1.414 6.34921ZM18.414 14.3492C18.414 14.6144 18.3086 14.8688 18.1211 15.0563C17.9336 15.2439 17.6792 15.3492 17.414 15.3492C17.1488 15.3492 16.8944 15.2439 16.7069 15.0563C16.5194 14.8688 16.414 14.6144 16.414 14.3492H18.414ZM5.707 12.0562L0.707 7.05621L2.121 5.64221L7.121 10.6422L5.707 12.0562ZM0.707 5.64221L5.707 0.642212L7.121 2.05621L2.121 7.05621L0.707 5.64221ZM1.414 5.34921H11.414V7.34921H1.414V5.34921ZM18.414 12.3492V14.3492H16.414V12.3492H18.414ZM11.414 5.34921C13.2705 5.34921 15.051 6.08671 16.3637 7.39946C17.6765 8.71222 18.414 10.4927 18.414 12.3492H16.414C16.414 11.0231 15.8872 9.75136 14.9495 8.81368C14.0119 7.876 12.7401 7.34921 11.414 7.34921V5.34921Z",fill:"#333333"})})}),v=n(19951),b=n(97946),y=n(62114),k=n(83294),j=n(67602),C=o.memo(()=>{let e=(0,v.Fe)(),t=(0,r.usePathname)(),{fixedPosition:n}=(0,u.O_)(),o=(0,k.pV)(),l=(0,j.j)("/online-warehouse-sale");return(0,i.jsx)(d.gM,{className:s()({fixedPosition:n},"fnf"),children:(0,i.jsxs)(g,{children:[(null==t?void 0:t.endsWith("online-warehouse-sale"))&&o===p.cH.Malaysia?(0,i.jsx)(w,{}):(0,i.jsx)("div",{}),(0,i.jsx)(d.vw,{children:(0,i.jsx)(c.SnpLink,{href:l,children:(0,i.jsx)(a.default,{alt:"siftandpick logo",src:"https://cdn.siftandpick.com/s3fs-public/assets/imgs/logo-snp.svg",width:115,height:30,priority:!0})})}),(0,i.jsxs)(m,{children:[e===b.t.MOBILE?(0,i.jsx)(y.Z,{isFnF:!0}):(0,i.jsx)(x.Z,{isFnF:!0}),(0,i.jsx)(f.Z,{isFnF:!0})]})]})})})},53960:function(e,t,n){"use strict";n.d(t,{Z:function(){return R}});var i,o,r=n(57437),a=n(2265),l=n(70134),s=n(89183),d=n(59321),c=n(66648),p=n(78750),u=n(62556);let{colors:f,fontFamily:h,fontWeight:m,breakpoints:g}=p.default,x=(0,s.ZP)(function(e){return(0,r.jsxs)("svg",{width:96,height:96,viewBox:"0 0 96 96",fill:"#323333",...e,children:[(0,r.jsx)("path",{d:"M84.1 41.2v35h-72v-35l28.3 14.1a13.9 13.9 0 007.7 2.3 14.2 14.2 0 007.8-2.3l28.2-14.1m8-13L51.8 48.4a6.3 6.3 0 01-3.7 1.2 6 6 0 01-3.6-1.2L4.1 28.2v50a6 6 0 006 6h76a6 6 0 006-6v-50z",fill:"inherit"}),(0,r.jsx)("path",{d:"M84.7 29.5l-8 4v-13a2 2 0 00-2-2h-54a1.9 1.9 0 00-2 2v13l-8-4v-9a10 10 0 0110-10h54a10 10 0 0110 10z",fill:"#4b4a4c"}),(0,r.jsx)("path",{d:"M55.2 21.8a9.7 9.7 0 013.8 3.4 10.1 10.1 0 011.2 4.8 12.9 12.9 0 01-.7 4.3 9.1 9.1 0 01-2.2 3.7 5.2 5.2 0 01-3.8 1.5 3.9 3.9 0 01-1.8-.4 2.9 2.9 0 01-1.2-1 2.2 2.2 0 01-.6-1.3 5.1 5.1 0 01-1.6 1.9 3.7 3.7 0 01-2.3.7 4.2 4.2 0 01-3.3-1.3 4.8 4.8 0 01-1-3.3 11.2 11.2 0 01.7-4 7.6 7.6 0 012.3-3.4 6.4 6.4 0 014.2-1.3 9.9 9.9 0 012.4.3 14.5 14.5 0 012.2.9l-1 7.9c0 .2-.1.3-.1.5s.3 1 .9 1a1.8 1.8 0 001.6-1.1 10.2 10.2 0 00.9-2.8 15.3 15.3 0 00.3-3 5.7 5.7 0 00-1.7-4.4 8.2 8.2 0 00-5.3-1.5 9.3 9.3 0 00-5.8 1.7 8.6 8.6 0 00-3.1 4 14.3 14.3 0 00-.9 5 8 8 0 00.9 3.9 7.5 7.5 0 002.6 2.7 9.4 9.4 0 004.3.9l2.5-.2a14.9 14.9 0 002.5-.7l.7 3.2a13.2 13.2 0 01-3 .8l-3.1.3a13.1 13.1 0 01-6.1-1.3 9.6 9.6 0 01-4.1-3.9 11.3 11.3 0 01-1.4-5.6 15.4 15.4 0 011.5-6.5 13.3 13.3 0 014.8-5.5 14.3 14.3 0 018.1-2.2 12.6 12.6 0 015.7 1.3zm-6.7 13.6l.9-6.2-1-.2c-.9 0-1.6.6-2 1.9a14.2 14.2 0 00-.6 4.2 2.2 2.2 0 00.2 1 .9.9 0 00.8.4 2.2 2.2 0 001.7-1.1z",fill:"#4b4a4c"})]})}).withConfig({componentId:"sc-211693a7-0"})(["width:24px;height:24px;path{fill:",";}"],f.secondaryDark),w=s.ZP.div.withConfig({componentId:"sc-211693a7-1"})(["font-size:12px;margin-bottom:20px;text-align:center;line-height:20px;"]),v=(0,s.iv)(["> div:first-child{width:100%;}width:100%;flex-direction:column;"]),b=s.ZP.div.withConfig({componentId:"sc-211693a7-2"})(["width:100%;margin:"," auto 0;position:relative;display:flex;gap:20px;justify-items:center;> div{width:100%;}"],(0,d.hO)(8)),y=(0,s.ZP)(u.Z).withConfig({componentId:"sc-211693a7-3"})(["font-size:",";color:",";font-family:",";font-weight:",";border:1px solid ",";::placeholder{font-weight:",";font-family:",";font-size:",";}width:100% !important;"],(0,d.hO)(16),f.dark,h.ofelia,m.regular,p.default.colors.secondaryDark,m.regular,h.ofelia,(0,d.hO)(14)),k=(0,s.iv)(["margin:"," auto 0;"],(0,d.hO)(16)),j=s.ZP.button.withConfig({componentId:"sc-211693a7-4"})(["background-color:",";color:",";font-family:",";font-size:",";font-style:normal;font-weight:",";padding:0 16px;border-radius:12px;width:100%;height:36px;line-height:38px;&.special{line-height:36px;}@media screen and (max-width:","){width:112px;min-width:112px;}"],f.coolLavender,f.white,h.ofelia,(0,d.hO)(16),m.medium,g.mobile),C=s.ZP.div.withConfig({componentId:"sc-211693a7-5"})(["color:",";font-size:",";font-family:",";font-weight:",";margin-top:",";a{color:",";}"],f.dark,(0,d.hO)(14),h.ofelia,m.regular,(0,d.hO)(8),f.dark),I=(0,s.iv)(["","{order:1;margin-top:",";}","{order:0;}"],b,(0,d.hO)(34),C),P=s.ZP.form.withConfig({componentId:"sc-211693a7-6"})(["display:flex;align-items:center;border-radius:8px;font-size:12px;margin:0 auto;width:100%;@media screen and (max-width:","){","}"],g.mobile,I),Z=s.ZP.div.withConfig({componentId:"sc-211693a7-7"})(["position:absolute;top:0;left:",";opacity:0;font-family:",";font-size:",";transition:all 0.3s;&.success{color:",";}&.failed{color:",";}&.display{opacity:1;transform:translateY(-110%);}"],(0,d.hO)(16),h.ivyora,(0,d.hO)(12),f.primaryGreen,f.secondaryPink),E=(0,s.iv)(["display:block;"]),S=(0,s.ZP)(c.default).withConfig({componentId:"sc-211693a7-8"})(["margin:auto auto ",";display:none;@media screen and (max-width:","){","}}"],(0,d.hO)(20),g.mobile,E),z=s.ZP.div.withConfig({componentId:"sc-211693a7-9"})(["font-family:",";margin:32px auto;text-align:center;&.mobile-view{","{","}","{","}","{","}","{","}}",""],h.ivyora,b,v,j,k,P,I,S,E,e=>{let{$extraStyle:t}=e;return t});var L=n(15033),N=n(9772),O=n.n(N);(i=o||(o={}))[i.VALIDATING=0]="VALIDATING",i[i.SUCCESS=1]="SUCCESS",i[i.FAILED=2]="FAILED",i[i.PENDING=3]="PENDING";var F=n(79898),D=n(65677),A=n(83294);let M={[o.VALIDATING]:null,[o.SUCCESS]:"Success!",[o.FAILED]:"Error. Please check your submission.",[o.PENDING]:null},T=()=>{var e;if(null===(e=navigator)||void 0===e?void 0:e.userAgent){let e=navigator.userAgent.toLowerCase(),t=e.includes("firefox"),n=e.includes("windows"),i=e.includes("android");if(t||n||i)return!1}return!0};var R=e=>{let{extraStyle:t,mobileView:n=!1,header:i,placeholder:s="",action:d="",audienceId:c,consentBox:p=l.XZ5,image:u,imageWidth:f,imageHeight:h,successText:m=M[o.SUCCESS],errorText:g,...v}=e,k=(0,a.useRef)(null),[I,E]=(0,a.useState)(null),[N,R]=(0,a.useState)(o.PENDING),W=(0,A.pV)(),V=F.g.useState(e=>{var t;return null===(t=e.buyerBootstrap)||void 0===t?void 0:t.email}),Y=(0,A._d)(),B=N!==o.PENDING&&N!==o.VALIDATING;(0,a.useEffect)(()=>{let e;return B&&(e=window.setTimeout(()=>{R(o.PENDING)},5e3)),()=>{window.clearTimeout(e)}},[N]);let H=e=>{var t;null===(t=k.current)||void 0===t||t.focus(),e&&E(e),R(o.FAILED)},_=(0,a.useCallback)(async e=>{e.preventDefault(),E(null);let t=k.current.value,n=t.trim();if(""===n||!(0,L.oH)(n))return H();R(o.VALIDATING);try{await (0,D.Ld)({audienceId:c,email:t,country:W}),R(o.SUCCESS),V===t&&setTimeout(Y,1e3)}catch(e){H((0,L.Ev)(e))}},[c,W,V]),G=(()=>{switch(N){case o.SUCCESS:return m;case o.FAILED:return g||I;default:return null}})();return(0,r.jsxs)(z,{$extraStyle:t,className:O()({"mobile-view":n}),children:[i&&(0,r.jsx)(w,{children:i}),(0,r.jsxs)(P,{onSubmit:_,noValidate:!0,...v,children:[u&&(0,r.jsx)(S,{src:u,width:Number(f),height:Number(h),alt:"Subscription"}),(0,r.jsxs)(b,{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)(Z,{className:O()({success:N===o.SUCCESS,failed:N===o.FAILED,display:B}),children:G}),(0,r.jsx)(y,{ref:k,placeholder:s,prefix:(0,r.jsx)(x,{}),height:36,validating:N===o.VALIDATING,validated:N===o.SUCCESS,type:"email",className:O()("round thinText",{hasError:N===o.FAILED})})]}),(0,r.jsx)(j,{type:"submit",className:O()({special:T()}),children:d})]}),(0,r.jsx)(C,{dangerouslySetInnerHTML:{__html:p}})]})]})}},39236:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var i=n(57437);n(2265);var o=n(89183),r=n(70858);let a=(0,o.ZP)(r.default).withConfig({componentId:"sc-f771c369-0"})(["position:relative;",""],e=>{let{$extraStyle:t}=e;return t}),l=o.ZP.div.withConfig({componentId:"sc-f771c369-1"})(["white-space:normal;& > div{height:100%;}"]);var s=n(93601),d=n(36712),c=n(30440),p=n(79898),u=n(68545),f=n(15033),h=n(83294),m=e=>{let{backgroundColor:t,productListing:n,productsInfo:o,className:r,useNewProductId:m=!1,id:g,arrowColor:x,extraStyle:w,showDot:v=!1,isRecommendation:b=!1,style:y,children:k,...j}=e,C=(0,h.pV)(),I=p.g.useState(e=>{let{buyerBootstrap:t}=e;return(null==t?void 0:t.currencies.find(e=>e.code===(0,u._)(C)))||f.OM}),{onProductClick:P}=(0,c.Wz)(I.code);return(0,i.jsxs)(a,{id:g,className:r,$extraStyle:w,style:y,children:[k,(0,i.jsx)(d.Z,{arrowColor:x,gap:2,list:n,showDot:v,isProductItem:!0,renderer:(e,n)=>(0,i.jsx)(l,{children:(0,i.jsx)(s.Z,{backgroundColor:t,product:e,isRecommendation:b,onClick:()=>P(e,n),...j})},n)})]})}},8396:function(e,t,n){"use strict";n.d(t,{$5:function(){return d},im:function(){return s},t2:function(){return u},yw:function(){return p}});var i=n(89183),o=n(61379),r=n(59321),a=n(98147),l=n(78750);let s=i.ZP.div.withConfig({componentId:"sc-bf58c3ec-0"})(["display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:50px 16px;padding-bottom:60px;@media screen and (max-width:","){grid-template-columns:repeat(2,minmax(0,1fr));padding:0 8px;}"],l.default.breakpoints.mobile),d=i.ZP.div.withConfig({componentId:"sc-bf58c3ec-1"})(["line-height:",";text-align:center;font-size:",";padding:0;margin:"," auto;"],(0,r.hO)(24),(0,r.hO)(16),(0,r.hO)(24)),c=(0,i.F4)(["0%{transform:rotate(0);}100%{transform:rotate(360deg)}"]),p=(0,i.ZP)(o.xz6).withConfig({componentId:"sc-bf58c3ec-2"})(["display:block;margin:32px auto 16px;animation:"," infinite 1s;"],c),u=(0,i.ZP)(a.Z).withConfig({componentId:"sc-bf58c3ec-3"})(["width:",";margin-bottom:",";"],(0,r.hO)(140),(0,r.hO)(32))},67602:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var i=n(83294);let o=e=>{let t;let n=(0,i.pV)(),o=(0,i.$c)(),r="/m"===o||o.startsWith("/m/");if(!e)return["",n.toLowerCase(),r?"m":void 0].filter(e=>void 0!==e).join("/");if(e.startsWith("http"))t=e;else{let i=e.replace(/(^\/)/,"");if(i.split("/")[0]===n.toLowerCase()){if(r){let[e,...n]=i.split("/");t=["",e,r?"m":void 0,...n].filter(e=>void 0!==e).join("/")}else t=["",i].join("/")}else t=["",n.toLowerCase(),r?"m":void 0,i].filter(e=>void 0!==e).join("/")}return t.replace(/\/$/,"")}},3778:function(e,t,n){"use strict";n.r(t);var i=n(57437),o=n(2265),r=n(36434),a=n(70134),l=n(85131),s=n(47892),d=n(30440),c=n(97057),p=n(15033),u=n(16463),f=n(97946),h=n(19951),m=n(67854);let g=["/catalogue","/store","/brand"];t.default=e=>{let{storeSlug:t}=e,n=(0,h.Fe)(),x=(0,u.useRouter)(),w=(0,u.usePathname)(),v=g.some(e=>(null==w?void 0:w.startsWith(e))||(null==w?void 0:w.startsWith("/m"+e)));return((0,o.useEffect)(()=>{window.scrollTo(0,0)},[]),(0,o.useEffect)(()=>{(0,d.rV)(d.tz.PAGE_NOT_FOUND),v&&x.push("/")},[v]),v)?null:(0,i.jsxs)(i.Fragment,{children:[p.vW&&!(null==w?void 0:w.includes("/products/"))&&(0,i.jsx)(c.default,{}),(0,i.jsxs)(r.Container,{children:[(0,i.jsxs)(r.StyledLinksWrapper,{children:[(0,i.jsx)(r.n,{children:"The product or page you're seeking appears to be on a little adventure of its own. But don't worry, there's plenty more to explore:"}),(0,i.jsxs)(r.n,{children:["Consider taking a step back to our"," ",(0,i.jsx)(s.SnpLink,{href:"/",children:a.LEH})," for our latest offerings and deals."]}),(0,i.jsxs)(r.n,{children:["Need a helping hand? Feel free to"," ",(0,i.jsx)(s.SnpLink,{href:"https://support.siftandpick.com/hc/en-us/requests/new",target:"_blank",rel:"noreferrer",children:"Contact Us"})," ","anytime."]})]}),!p.vW&&(0,i.jsx)(l.default,{storeSlug:t,disableAutoFetch:!0,title:(0,i.jsx)(r.RecommendationTitle,{children:"Explore our customer favorites!"})})]}),n===f.t.DESKTOP&&!p.vW&&(0,i.jsx)(m.default,{})]})}},36434:function(e,t,n){"use strict";n.d(t,{Container:function(){return c},RecommendationTitle:function(){return f},StyledLinksWrapper:function(){return p},n:function(){return u}});var i=n(89183),o=n(78750),r=n(70858);let{breakpoints:a,colors:l,fontWeight:s,fontFamily:d}=o.default,c=(0,i.ZP)(r.default).withConfig({componentId:"sc-c22c91d6-0"})(["padding:60px 0;margin-bottom:32px;@media screen and (max-width:","){padding:0 16px;margin:20px 0;}"],a.mobile),p=i.ZP.div.withConfig({componentId:"sc-c22c91d6-1"})(["height:80%;display:flex;flex-direction:column;justify-content:space-around;gap:12px;@media screen and (max-width:","){gap:10px;height:100%;}"],o.default.breakpoints.mobile),u=i.ZP.p.withConfig({componentId:"sc-c22c91d6-2"})(["line-height:20px;font-size:18px;font-weight:",";font-style:italic;font-family:",";text-align:left;margin:0;> a{color:",";text-decoration:underline;}@media screen and (max-width:","){font-size:12px;line-height:14px;}"],s.medium,d.lato,l.primaryPink,o.default.breakpoints.mobile),f=(0,i.ZP)(u).withConfig({componentId:"sc-c22c91d6-3"})(["margin:70px 0 20px !important;font-size:24px;font-weight:",";@media screen and (max-width:","){margin:60px 0 10px !important;font-size:16px;letter-spacing:-0.02em;padding:0 10px;}"],s.semiBold,o.default.breakpoints.mobile)},19873:function(e,t,n){"use strict";var i=n(57437),o=n(2265),r=n(9199);let a=o.forwardRef((e,t)=>{let{children:n,...o}=e;return(0,i.jsx)(r.Z,{ref:t,...o,children:"LOADING"===o.$mode||"LOADING"===o.mode?(0,i.jsx)(r.H,{}):n})});t.Z=a},9199:function(e,t,n){"use strict";n.d(t,{H:function(){return y}});var i=n(89183),o=n(61379),r=n(78750),a=n(10252),l=n(59321);let{fontWeight:s,colors:d,fontFamily:c}=r.default,p=(0,i.iv)(["background:",";"],d.primaryPink),u=(0,i.iv)(["background:",";cursor:default;pointer-events:none;"],d.grey),f=(0,i.iv)(["background:#dbd165;background:linear-gradient(135deg,#dbf200 0%,#dbd165 100%);cursor:default;pointer-events:none;"]),h=(0,i.iv)(["background:#fbbd7c;"]),m=(0,i.iv)(["background:linear-gradient(135deg,#fbbd7c 0%,#f5a623 100%);"]),g=(0,i.iv)(["background:#8cd7cd;"]),x=(0,i.iv)(["",";color:",";"],u,d.dark),w=(0,i.iv)(["background:",";box-shadow:0 0 0 1px ",";color:",";"],d.white,d.grey,d.dark),v=(0,i.iv)(["background:",";"],d.primaryPink),b=e=>{switch(e){case"INACTIVE":return u;case"RETAIL":return f;case"COMINGSOON":return h;case"PREORDER":return m;case"ADD":return g;case"LOADING":return x;case"BASIC":return w;case"NEW":return v;default:return p}},y=(0,i.ZP)(o.xz6).withConfig({componentId:"sc-1ef77268-0"})(["display:block;margin:auto;animation:"," infinite 1s;"],a.U1),k=i.ZP.button.withConfig({componentId:"sc-1ef77268-1"})(["font-family:",";letter-spacing:1px;text-decoration:none;position:relative;display:block;padding:0 16px;width:100%;border-radius:6px;color:",";font-size:",";font-weight:",";line-height:24px;text-align:center;border:none;outline:none;transition:all .3s;","};"],c.ofelia,d.white,(0,l.hO)(16),s.semiBold,e=>{let{$mode:t,mode:n}=e,i=t||n;return Array.isArray(i)?i.map(e=>b(e)).join(""):b(i)});t.Z=k},62556:function(e,t,n){"use strict";var i=n(57437),o=n(2265),r=n(61379),a=n(98200),l=n(51082),s=n(78750),d=n(9772),c=n.n(d);t.Z=o.forwardRef((e,t)=>{let{prefix:n,height:d=32,style:p={},className:u="",validating:f,validated:h,postfix:m,overridePaddingLeft:g,hasError:x,round:w,thinText:v,...b}=e,[y,k]=(0,o.useState)(null),j=(0,o.useCallback)(e=>{e&&k(e)},[]),C="".concat(d,"px"),I=void 0!==g?g:n?"string"==typeof n?12*n.length:50:void 0,P=m||f||h;return(0,i.jsxs)(a.im,{children:[n&&(0,i.jsx)(a.oT,{children:n}),(0,i.jsx)(l.Z,{ref:t,style:{paddingRight:y?y.clientWidth+16:void 0,...p,height:d,lineHeight:C,paddingLeft:I},className:c()(u,{"has-postfix":P,hasError:x,round:w,thinText:v}),...b}),P&&(0,i.jsx)(a.qe,{ref:j,color:m?void 0:f?s.default.colors.primaryBlue:s.default.colors.primaryGreen,children:m||(0,i.jsxs)(i.Fragment,{children:[f&&(0,i.jsx)(a.Ho,{}),h&&(0,i.jsx)(r.mny,{})]})})]})})},98200:function(e,t,n){"use strict";n.d(t,{Ho:function(){return d},im:function(){return a},oT:function(){return l},qe:function(){return s}});var i=n(89183),o=n(61379),r=n(10252);let a=i.ZP.div.withConfig({componentId:"sc-467fc498-0"})(["display:inline-block;position:relative;width:100%;"]),l=i.ZP.div.withConfig({componentId:"sc-467fc498-1"})(["position:absolute;left:16px;height:100%;display:flex;align-items:center;"]),s=i.ZP.div.withConfig({componentId:"sc-467fc498-2"})(["position:absolute;top:0;right:16px;height:100%;display:flex;align-items:center;svg{width:16px;height:16px;fill:",";}"],e=>{let{$color:t}=e;return t}),d=(0,i.ZP)(o.xz6).withConfig({componentId:"sc-467fc498-3"})(["animation:"," infinite 1s;"],r.U1)},77361:function(e,t,n){"use strict";n.d(t,{Z:function(){return v},o:function(){return w}});var i=n(57437),o=n(2265),r=n(907),a=n(89183),l=n(78750),s=n(19873);let{fontWeight:d,colors:c}=l.default,p=a.ZP.div.withConfig({componentId:"sc-d16c9d21-0"})(["margin:60px auto 40px;width:56px;height:56px;background-size:contain;background-repeat:no-repeat;background-position:center center;"]),u=a.ZP.div.withConfig({componentId:"sc-d16c9d21-1"})(["color:",";font-size:24px;font-weight:",";line-height:24px;text-align:center;"],c.dark,d.medium),f=a.ZP.div.withConfig({componentId:"sc-d16c9d21-2"})(["margin-top:24px;color:",";font-size:16px;font-weight:",";line-height:24px;text-align:center;"],c.dark,d.medium),h=a.ZP.div.withConfig({componentId:"sc-d16c9d21-3"})(["display:flex;margin-top:36px;"]),m=(0,a.ZP)(s.Z).withConfig({componentId:"sc-d16c9d21-4"})(["margin-right:20px;height:36px;font-size:14px;padding:0 !important;&:last-child{margin-right:0;}"]);var g=n(34040);let x=e=>{let{status:t,hideModal:n,title:a,subtitle:l,actions:s,closable:d,afterClose:c}=e,g=(0,o.useMemo)(()=>(()=>{switch(t){case"CART":return"icn-cart@2x.png";case"FAILED":return"icn-alert@2x.png";case"SUCCESS":return"icn-checked@2x.png";case"INACTIVE":return"favicon.ico"}})(),[t]);return(0,i.jsxs)(r.Z,{visible:void 0!==t,hideModal:n,width:370,closable:d,afterClose:c,children:[(0,i.jsx)(p,{style:{backgroundImage:'url("https://cdn.siftandpick.com/s3fs-public/assets/icon/'.concat(g,'")')}}),(0,i.jsx)(u,{children:a}),(0,i.jsx)(f,{children:l}),(0,i.jsx)(h,{children:s.map((e,t)=>(0,i.jsx)(m,{$mode:"BASIC",onClick:e.onClick,children:e.text},"".concat(e.text,"-").concat(t)))})]})},w=e=>{let t=null,n=e,o=document.createElement("div");function r(){a(n={...n,status:void 0,afterClose:l})}function a(e){setTimeout(()=>{t||(t=(0,g.createRoot)(o)),t.render((0,i.jsx)(x,{...e,hideModal:e.closable?r:()=>{}}))})}function l(){null==t||t.unmount(),o.parentNode&&o.parentNode.removeChild(o)}return document.body.appendChild(o),a(e),{update:e=>{a(n=e)},close:r,destroy:l}};var v=x},70858:function(e,t,n){"use strict";n.d(t,{D:function(){return d}});var i=n(78750),o=n(89183);let{breakpoints:{mobile:r,tablet:a,laptop:l,desktop:s}}=i.default,d=(0,o.iv)(["margin:auto;width:1140px;@media screen and (max-width:","){width:960px;}@media screen and (max-width:","){width:720px;}@media screen and (max-width:","){width:540px;}@media screen and (max-width:","){width:100%;&.hasPaddingMobile{width:90%;}}"],s,l,a,r);t.default=o.ZP.div.withConfig({componentId:"sc-93713d70-0"})(["",";"],d)},61651:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var i=n(57437),o=n(2265),r=n(14063);let a=()=>{let[e,t]=(0,o.useState)(!1);return{passwordVisible:e,togglePasswordVisible:(0,o.useCallback)(()=>{t(e=>!e)},[])}};var l=n(62556),s=n(9772),d=n.n(s),c=o.forwardRef((e,t)=>{let{thinText:n,round:o,hasError:s,...c}=e,{passwordVisible:p,togglePasswordVisible:u}=a();return(0,i.jsx)(l.Z,{...c,className:d()({thinText:n,round:o,hasError:s}),maxLength:100,ref:t,type:p?"text":"password",postfix:p?(0,i.jsx)(r.z5B,{onClick:u}):(0,i.jsx)(r.tjB,{onClick:u})})})},51082:function(e,t,n){"use strict";var i=n(89183),o=n(78750);let{colors:r,breakpoints:a,fontFamily:l,fontWeight:s}=o.default,d=i.ZP.input.withConfig({componentId:"sc-3799b8a9-0"})(["outline:none;width:100%;font-family:",";font-weight:",";&.thinText{font-weight:",";}border:1px solid ",";&.hasError{border:1px solid ",";}border-radius:4px;&.round{border-radius:20px;}background-color:",";padding:0 16px;text-rendering:optimizeLegibility;height:32px;line-height:32px;z-index:0;transition:all 0.3s;&::placeholder{display:flex;align-items:center;height:100%;color:",";font-size:16px;font-weight:",";@media screen and (max-width:","){font-size:14px;}}&:focus{border-color:",";&.hasError{border-color:",";}}&:read-only{color:",';}&.has-postfix{padding-right:50px;}&[type="text"],&[type="number"],&[type="password"],&[type="date"],&[type="tel"],&[type="search"]{width:100%;font-family:',";font-weight:",";&.thinText{font-weight:",";}border:1px solid ",";&.hasError{border:1px solid ",";}border-radius:4px;&.round{border-radius:20px;}background-color:",";padding:0 16px;height:32px;line-height:32px;z-index:1;transition:all 0.3s;&::placeholder{color:",";font-size:14px;@media screen and (max-width:","){font-size:12px;}}&:focus{border-color:",";&.hasError{border-color:",";}}&:read-only{color:",";}&.has-postfix{padding-right:32px;}}&:disabled{color:",";}"],l.lato,s.bold,s.light,r.grey,r.secondaryPink,r.white,r.grey,o.default.fontWeight.medium,a.mobile,r.primaryGreen,r.secondaryPink,r.tertiaryDark,l.lato,s.bold,s.light,r.grey,r.secondaryPink,r.white,r.grey,a.mobile,r.primaryGreen,r.secondaryPink,r.tertiaryDark,r.grey);t.Z=d},907:function(e,t,n){"use strict";let i;n.d(t,{Z:function(){return y}});var o=n(57437);n(2265);var r=n(85729),a=n(89183);let{fontWeight:l,colors:s,maxZIndex:d}=n(78750).default,c=(0,a.F4)(["0%{opacity:0;}100%{opacity:1;}"]),p=(0,a.F4)(["0%{opacity:1;}100%{opacity:0;}"]),u=(0,a.F4)(["0%{opacity:0;transform:scale(0,0);}100%{opacity:1;transform:scale(1,1);}"]),f=(0,a.F4)(["0%{transform:scale(1,1);}100%{opacity:0;transform:scale(0,0);}"]),h=(0,a.iv)(["animation-duration:0.3s;animation-fill-mode:both;"]),m=(0,a.iv)(["",";animation-timing-function:linear;"],h),g=(0,a.vJ)([".snp-modal{position:relative;top:100px;width:auto;max-width:100vw;margin:0 auto;padding-bottom:24px;pointer-events:none;.snp-modal-title{padding:18px 18px 0;font-weight:",";font-size:18px;}.snp-modal-content{"," position:relative;background-color:",";border:none;border-radius:6px 6px;background-clip:padding-box;pointer-events:auto;.snp-modal-close{cursor:pointer;border:0;padding:0;background:transparent;position:absolute;z-index:",";right:0;top:0;font-weight:",";color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2;text-decoration:none;transition:all .3s;width:30px;height:30px;display:grid;place-items:center;&:hover{opacity:1;filter:alpha(opacity=100);text-decoration:none;}}.snp-modal-body{"," ","}}&.no-close{.snp-modal-close{opacity:1;filter:alpha(opacity=100);}}}.snp-modal-wrap{position:fixed;overflow:auto;top:0;right:0;bottom:0;left:0;z-index:",";-webkit-overflow-scrolling:touch;outline:0;}.snp-modal-mask{background:rgba(0,0,0,0.32);position:fixed;top:0;right:0;bottom:0;left:0;height:100%;filter:alpha(opacity=50);z-index:",";&.snp-modal-mask-hidden{display:none;}}.snp-modal-fade-enter,.snp-modal-fade-appear{opacity:0;",";animation-play-state:paused;}.snp-modal-fade-leave{",";animation-play-state:paused;}.snp-modal-fade-enter.snp-modal-fade-enter-active,.snp-modal-fade-appear.snp-modal-fade-appear-active{animation-name:",";animation-play-state:running;}.snp-modal-fade-leave.snp-modal-fade-leave-active{animation-name:",";animation-play-state:running;}.snp-modal-zoom-enter,.snp-modal-zoom-appear{opacity:0;",";animation-timing-function:cubic-bezier(0.08,0.82,0.17,1);animation-play-state:paused;user-select:none;}.snp-modal-zoom-leave{",";animation-timing-function:cubic-bezier(0.78,0.14,0.15,0.86);animation-play-state:paused;}.snp-modal-zoom-enter.snp-modal-zoom-enter-active,.snp-modal-zoom-appear.snp-modal-zoom-appear-active{animation-name:",";animation-play-state:running;}.snp-modal-zoom-leave.snp-modal-zoom-leave-active{animation-name:",";animation-play-state:running;}.snp-modal-footer{border-top:1px solid ",";display:flex;align-items:center;padding:20px;}"],l.bold,e=>{let{$isFullScreen:t}=e;return t?"width: 100vw; height: 100vh;":""},e=>{let{$background:t}=e;return t},d,l.bold,e=>{let{$isFullScreen:t}=e;return t?"width: 100%; height: 100%;":""},e=>{let{$noPadding:t}=e;return t?"":"padding: 36px 20px 20px;"},d,d-1,m,m,c,p,h,h,u,f,s.grey),x=a.ZP.div.withConfig({componentId:"sc-95b348f5-0"})(['background-image:url("https://cdn.siftandpick.com/s3fs-public/assets/icon/Sweet-X-1.svg");background-size:cover;height:16px;width:16px;']);var w=n(58177),v=n(9772),b=n.n(v);window.document&&window.document.documentElement&&document.documentElement.addEventListener("click",e=>{i={x:e.pageX,y:e.pageY},setTimeout(()=>i=void 0,100)},{capture:!0});var y=e=>{let{isFullscreen:t,noPadding:n,visible:a,hideModal:l,top:s,height:d,width:c=520,footer:p,title:u,closable:f,afterClose:h,maskClosable:m=!0,children:v,background:y="white",closeIcon:k}=e;return(0,o.jsx)(r.Z,{title:u,visible:a,prefixCls:"snp-modal",maskAnimation:"fade",animation:"zoom",destroyOnClose:!0,onClose:l,closeIcon:k||("white"!==y?(0,o.jsx)(w.bjh,{style:{color:"white",width:30,height:30}}):(0,o.jsx)(x,{})),style:{width:c,height:d,top:s},mousePosition:i,footer:p,closable:f,afterClose:h,maskClosable:m,className:b()({"no-close":!!k}),children:(0,o.jsxs)(o.Fragment,{children:[a&&(0,o.jsx)(g,{$background:y,$isFullScreen:t,$noPadding:n}),v]})})}},19951:function(e,t,n){"use strict";n.d(t,{An:function(){return x},FW:function(){return g},Fe:function(){return u},WE:function(){return h},YY:function(){return m}});var i=n(2265),o=n(97946),r=n(24384),a=n(86274),l=n(67577),s=n(62737),d=n.n(s),c=n(85959),p=n(83294);let u=e=>{let t=(0,p.$c)(),[n,r]=(0,i.useState)("/m"===t||(null==t?void 0:t.startsWith("/m/"))?o.t.MOBILE:o.t.DESKTOP);return(0,i.useEffect)(()=>{let t=()=>{r((0,c.t)(e))};return t(),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}},[]),n};function f(e){e.preventDefault(),e.stopPropagation()}let h=(e,t,n,o)=>{let r=(0,i.useRef)(0),[a,l]=(0,i.useState)(0),s=(0,i.useCallback)(e=>{e.preventDefault(),o||(r.current++,l(e.dataTransfer.items.length))},[o]),d=(0,i.useCallback)(()=>{o||(r.current--,0===r.current&&l(0))},[o]),c=(0,i.useCallback)(e=>{o||(r.current=0,l(0),t(e.dataTransfer.files))},[o]);return(0,i.useEffect)(()=>(null===e||n||(["dragenter","dragover","dragleave","drop"].forEach(t=>{e.addEventListener(t,f,!1)}),e.addEventListener("drop",c,!1),e.addEventListener("dragenter",s,!1),e.addEventListener("dragleave",d,!1)),()=>{e&&(["dragenter","dragover","dragleave","drop"].forEach(t=>{e.removeEventListener(t,f,!1)}),e.removeEventListener("drop",c,!1),e.removeEventListener("dragenter",s,!1),e.removeEventListener("dragleave",d,!1))}),[e,n,o]),{dragAmount:a}},m=e=>{let t=(0,i.useRef)(null),[n,o]=(0,i.useState)(d()().format("YYYY-MM-DDTHH:mm:ss"));return(0,i.useEffect)(()=>(t.current=window.setInterval(()=>{o(d()().add(e+1e3,"millisecond").format("YYYY-MM-DDTHH:mm:ss"))},1e3),()=>{null!==t.current&&window.clearInterval(t.current)}),[e]),[n,()=>{null!==t.current&&window.clearInterval(t.current)}]},g=e=>{var t,n,o;let[s,d]=(0,i.useState)(!1),{context:c,...p}=(0,r.YF)({open:s,onOpenChange:d,middleware:(null==e?void 0:e.middleware)||[(0,a.cv)(26),(0,a.RR)(),(0,a.uY)()],whileElementsMounted:l.Me}),{isMounted:u,status:f}=(0,r.hU)(c),h=(0,r.qs)(c),m=(0,r.bQ)(c,{outsidePressEvent:"mousedown",enabled:null===(t=null==e?void 0:e.enabledDismiss)||void 0===t||t}),g=(0,r.eS)(c,null==e?void 0:e.options),x=(0,r.NI)([g,h,m]);return{isOpen:s,setIsOpen:d,style:{position:p.strategy,top:null!==(n=p.y)&&void 0!==n?n:0,left:null!==(o=p.x)&&void 0!==o?o:0},isMounted:u,status:f,...x,...p}},x=e=>{var t,n;let[o,s]=(0,i.useState)(!1),{context:d,...c}=(0,r.YF)({open:o,onOpenChange:s,middleware:(null==e?void 0:e.middleware)||[(0,a.cv)(20),(0,a.RR)(),(0,a.uY)()],whileElementsMounted:l.Me}),{isMounted:p,status:u}=(0,r.hU)(d),f=(0,r.XI)(d,{delay:300,move:!1,handleClose:(0,r.xp)(),...null==e?void 0:e.options}),h=(0,r.NI)([f]);return{setIsOpen:s,style:{position:c.strategy,top:null!==(t=c.y)&&void 0!==t?t:0,left:null!==(n=c.x)&&void 0!==n?n:0},context:d,isMounted:p,status:u,...h,...c}}}},function(e){e.O(0,[6187,7143,3712,3190,2420,6281,2400,9982,9929,5113,7138,9163,6648,3103,5643,1864,3317,9897,4384,9343,3235,8880,3848,5209,6837,3601,3616,2971,7023,1744],function(){return e(e.s=91052)}),_N_E=e.O()}]);