1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{322:(e,t,l)=>{"use strict";l.d(t,{default:()=>o});var n=l(5155),s=l(8321),r=l(63),a=l(2115),i=l(1445),c=l(8253);function o(){let e=(0,r.usePathname)(),t=(0,r.useSearchParams)();return((0,a.useEffect)(()=>{i.Zk&&(0,i.u4)("PageView")},[e,t]),(0,a.useEffect)(()=>{function e(e){let t=e.target,l=(null==t?void 0:t.closest)?t.closest("[data-mp-addtocart]"):null;if(!l)return;let n=l.dataset,s=n.mpPrice?parseFloat(n.mpPrice):NaN;i.Zk&&(0,i.u4)("AffiliateProductClick",{content_type:"product",...n.mpName?{content_name:n.mpName}:{},...n.mpId?{content_ids:[n.mpId]}:{},...n.mpBrand?{content_category:n.mpBrand}:{},...Number.isFinite(s)?{value:s}:{},currency:n.mpCurrency||"AUD"}),(0,c.aL)("affiliate_product",n.mpId||n.mpName||"unknown",{item_name:n.mpName,item_brand:n.mpBrand,...Number.isFinite(s)?{value:s}:{},currency:n.mpCurrency||"AUD"})}return document.addEventListener("click",e,{capture:!0}),()=>document.removeEventListener("click",e,{capture:!0})},[]),i.Zk)?(0,n.jsx)(s.default,{id:"meta-pixel-base",strategy:"afterInteractive",children:"!function(f,b,e,v,n,t,s)\n{if(f.fbq)return;n=f.fbq=function(){n.callMethod?\nn.callMethod.apply(n,arguments):n.queue.push(arguments)};\nif(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\nn.queue=[];t=b.createElement(e);t.async=!0;\nt.src=v;s=b.getElementsByTagName(e)[0];\ns.parentNode.insertBefore(t,s)}(window,document,'script',\n'https://connect.facebook.net/en_US/fbevents.js');\nfbq('init','".concat(i.Zk,"');")}):null}},1290:()=>{},3464:(e,t,l)=>{"use strict";l.d(t,{default:()=>u});var n=l(5155),s=l(8681),r=l(5239),a=l(2115),i=l(8253),c=l(1445),o=l(9895);function d(e){return e.map(e=>{var t,l,n,s,r,a,c,o,d,u,h,m,x,f;return{item_id:(0,i.rO)(null!=(m=null!=(h=null==(l=e.merchandise)||null==(t=l.product)?void 0:t.id)?h:null==(n=e.merchandise)?void 0:n.id)?m:""),item_name:null!=(x=null==(r=e.merchandise)||null==(s=r.product)?void 0:s.title)?x:null==(a=e.merchandise)?void 0:a.title,item_brand:null==(o=e.merchandise)||null==(c=o.product)?void 0:c.vendor,price:parseFloat(null!=(f=null==(u=e.merchandise)||null==(d=u.price)?void 0:d.amount)?f:"0"),quantity:e.quantity}})}function u(){var e,t,l,u,h,m,x;let{cart:f,isOpen:p,closeCart:b,removeItem:v}=(0,s._)(),j=null!=(m=null==f||null==(e=f.lines)?void 0:e.nodes)?m:[],g=function(e){let t=new Map;for(let m of e){var l,n,s,r,a,i,c,o,d,u,h;let e=null!=(i=null==(l=m.merchandise)?void 0:l.id)?i:m.id,x=parseFloat(null!=(c=null==(s=m.cost)||null==(n=s.totalAmount)?void 0:n.amount)?c:"0")||parseFloat(null!=(o=null==(a=m.merchandise)||null==(r=a.price)?void 0:r.amount)?o:"0")*(null!=(d=m.quantity)?d:1),f=t.get(e);f?(f.ids.push(m.id),f.quantity+=null!=(u=m.quantity)?u:0,f.cost+=x):t.set(e,{key:e,ids:[m.id],quantity:null!=(h=m.quantity)?h:0,cost:x,line:m})}return[...t.values()]}(j),y=(0,o.iG)().find(e=>(0,o.Cv)(e,f).length>0&&(0,o.tc)(e,f)>0),w=y?(0,o.tc)(y,f):0,N=null!=(x=null==f||null==(l=f.cost)||null==(t=l.totalAmount)?void 0:t.currencyCode)?x:"AUD",k=(null==f||null==(u=f.cost)?void 0:u.totalAmount)?parseFloat(f.cost.totalAmount.amount):0,C=(0,a.useRef)(!1);if((0,a.useEffect)(()=>{p&&j.length>0&&!C.current&&(C.current=!0,(0,i.mX)(d(j),k,N)),p||(C.current=!1)},[p]),!p)return null;let S=(null==f||null==(h=f.cost)?void 0:h.totalAmount)?new Intl.NumberFormat("en-AU",{style:"currency",currency:"AUD"}).format(parseFloat(f.cost.totalAmount.amount)):null;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"fixed inset-0 bg-charcoal/30",style:{zIndex:1300},onClick:b}),(0,n.jsxs)("aside",{className:"fixed right-0 top-0 bottom-0 w-full max-w-sm bg-cream shadow-2xl flex flex-col",style:{zIndex:1400},children:[(0,n.jsxs)("div",{className:"flex items-center justify-between px-6 py-4 border-b border-cream-200",children:[(0,n.jsxs)("h2",{className:"text-base",children:["Your Cart (",g.length,")"]}),(0,n.jsx)("button",{onClick:b,className:"p-1 hover:text-wine transition-colors",children:"â"})]}),0===j.length?(0,n.jsxs)("div",{className:"flex-1 flex flex-col items-center justify-center gap-4 px-6",children:[(0,n.jsx)("p",{className:"text-charcoal-light text-sm",children:"Your cart is empty."}),(0,n.jsx)("button",{onClick:b,className:"btn-primary",children:"Continue Shopping"})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("ul",{className:"flex-1 overflow-y-auto px-6 py-4 space-y-4",children:g.map(e=>{var t;let l=e.line,s=l.merchandise.product.featuredImage,a=e.quantity<1,i=(0,o.GA)(l),c=new Intl.NumberFormat("en-AU",{style:"currency",currency:"AUD"}).format(e.cost);return(0,n.jsxs)("li",{className:"flex gap-3",children:[s&&(0,n.jsx)("div",{className:"relative w-16 h-16 flex-none bg-cream-100",children:(0,n.jsx)(r.default,{src:s.url,alt:null!=(t=s.altText)?t:"",fill:!0,className:"object-cover"})}),(0,n.jsxs)("div",{className:"flex-1 min-w-0",children:[i&&(0,n.jsx)("span",{className:"inline-block font-sans text-[9px] tracking-[0.18em] uppercase text-eucalypt font-semibold border border-eucalypt/40 rounded-full px-2 py-[2px] mb-1",children:i.badge}),(0,n.jsx)("p",{className:"text-xs text-charcoal-light",children:l.merchandise.product.vendor}),(0,n.jsx)("p",{className:"text-sm font-medium leading-tight line-clamp-2",children:l.merchandise.product.title}),"Default Title"!==l.merchandise.title&&(0,n.jsx)("p",{className:"text-xs text-charcoal-light",children:l.merchandise.title}),e.quantity>1&&(0,n.jsxs)("p",{className:"text-xs text-charcoal-light",children:["Qty ",e.quantity]}),i?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("p",{className:"text-sm mt-1 text-eucalypt font-semibold",children:i.freeLabel}),(0,n.jsx)("p",{className:"text-[11px] text-charcoal-light mt-0.5",children:i.cartNote})]}):a?(0,n.jsx)("p",{className:"text-sm mt-1 text-wine",children:"Sold out"}):(0,n.jsx)("p",{className:"text-sm mt-1",children:c})]}),!i&&(0,n.jsx)("button",{onClick:()=>v(e.ids),className:"text-xs text-charcoal-light hover:text-charcoal self-start mt-1",children:"Remove"})]},e.key)})}),y&&w>0&&(0,n.jsx)("div",{className:"border-t border-cream-200 px-6 pt-4",children:(0,n.jsxs)("div",{className:"border border-eucalypt/30 bg-eucalypt/[0.06] rounded-[2px] px-4 py-3",children:[(0,n.jsx)("p",{className:"font-sans text-[10px] tracking-[0.2em] uppercase text-eucalypt font-semibold",children:y.badge}),(0,n.jsxs)("p",{className:"font-serif text-charcoal mt-1.5",style:{fontSize:"14px",lineHeight:1.45},children:["Youâre ",new Intl.NumberFormat("en-AU",{style:"currency",currency:"AUD"}).format(w)," away from ",y.giftName,", free."]})]})}),(0,n.jsxs)("div",{className:"border-t border-cream-200 px-6 py-4 space-y-3",children:[S&&(0,n.jsxs)("div",{className:"flex justify-between text-sm",children:[(0,n.jsx)("span",{children:"Subtotal"}),(0,n.jsx)("span",{className:"font-medium",children:S})]}),(0,n.jsx)("button",{onClick:b,className:"block text-xs font-sans tracking-[0.06em] text-charcoal-light hover:text-ink transition-colors underline underline-offset-2",children:"Edit c
1art"}),(null==f?void 0:f.checkoutUrl)&&(0,n.jsx)("a",{href:f.checkoutUrl,onClick:()=>{(0,c.u4)("InitiateCheckout",{content_type:"product",contents:j.map(e=>{var t,l,n,s;return{id:null!=(s=null==(l=e.merchandise)||null==(t=l.product)?void 0:t.id)?s:null==(n=e.merchandise)?void 0:n.id,quantity:e.quantity}}),value:k,currency:N}),(0,i.uB)(d(j),k,N)},className:"btn-primary w-full text-center block",children:"Checkout"}),(0,n.jsx)("button",{onClick:b,className:"btn-secondary w-full text-center",children:"Continue Shopping"})]})]})]})]})}},3590:(e,t,l)=>{"use strict";l.d(t,{default:()=>p});var n=l(5155),s=l(2619),r=l.n(s),a=l(5239),i=l(2115),c=l(63),o=l(8681);function d(){var e;let{cart:t,openCart:l}=(0,o._)(),s=null!=(e=null==t?void 0:t.totalQuantity)?e:0;return(0,n.jsxs)("button",{onClick:l,className:"relative p-2 hover:text-wine transition-colors","aria-label":"Cart",children:[(0,n.jsx)("svg",{className:"w-5 h-5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z"})}),s>0&&(0,n.jsx)("span",{className:"absolute -top-1 -right-1 bg-ink text-paper text-[10px] font-medium rounded-full w-4 h-4 flex items-center justify-center leading-none",children:s})]})}let u=[{label:"Instagram",href:"https://www.instagram.com/beauticate/",d:"ig"},{label:"TikTok",href:"https://www.tiktok.com/@sigourneycantelo",d:"tt"},{label:"YouTube",href:"https://www.youtube.com/sigourneycantelo",d:"yt"},{label:"Pinterest",href:"https://www.pinterest.com/beauticate/",d:"pin"},{label:"Spotify",href:"https://open.spotify.com/show/5su7l0yO5Ue0706K2Lzd8q",d:"sp"}];function h(e){let{d:t}=e,l={fill:"none",stroke:"currentColor",strokeWidth:1.4};return"ig"===t?(0,n.jsxs)("svg",{viewBox:"0 0 24 24",...l,children:[(0,n.jsx)("rect",{x:"3",y:"3",width:"18",height:"18",rx:"5"}),(0,n.jsx)("circle",{cx:"12",cy:"12",r:"4"}),(0,n.jsx)("circle",{cx:"17.3",cy:"6.7",r:"1",fill:"currentColor",stroke:"none"})]}):"tt"===t?(0,n.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:(0,n.jsx)("path",{d:"M16.5 3c.3 2 1.6 3.4 3.5 3.6v2.4c-1.3.1-2.5-.3-3.5-1v6.3c0 3.2-2.4 5.4-5.3 5.4-2.7 0-4.9-2-4.9-4.7 0-2.9 2.4-4.8 5.2-4.5v2.5c-.4-.1-.8-.2-1.2-.1-1.2.2-2 1.1-1.9 2.3.1 1.1 1 1.9 2.1 1.9 1.3 0 2.2-1 2.2-2.5V3h3.3z"})}):"yt"===t?(0,n.jsxs)("svg",{viewBox:"0 0 24 24",...l,children:[(0,n.jsx)("rect",{x:"2.5",y:"6",width:"19",height:"12",rx:"3.5"}),(0,n.jsx)("path",{d:"M10.5 9.2v5.6l4.5-2.8z",fill:"currentColor",stroke:"none"})]}):"pin"===t?(0,n.jsxs)("svg",{viewBox:"0 0 24 24",...l,children:[(0,n.jsx)("circle",{cx:"12",cy:"12",r:"9.2"}),(0,n.jsx)("path",{d:"M12 7.4c-2.2 0-3.6 1.5-3.6 3.3 0 .9.4 1.9 1.2 2.2.1 0 .2 0 .2-.1l.2-.7c0-.1 0-.2-.1-.3-.3-.4-.5-.9-.5-1.4 0-1.5 1.1-2.6 2.8-2.6 1.5 0 2.4.9 2.4 2.2 0 1.6-.7 3-1.8 3-.6 0-1-.5-.9-1.1.2-.7.5-1.5.5-2 0-.5-.2-.9-.8-.9-.6 0-1.1.6-1.1 1.5 0 .5.2.9.2.9l-.8 3.2c-.2.9-.1 2 0 2.4l.1.1c.5-.7 1-1.6 1.2-2.3l.4-1.5c.3.5 1 .9 1.7.9 2.2 0 3.7-2 3.7-4.6 0-2-1.7-3.8-4.4-3.8z",fill:"currentColor",stroke:"none"})]}):(0,n.jsxs)("svg",{viewBox:"0 0 24 24",...l,children:[(0,n.jsx)("circle",{cx:"12",cy:"12",r:"9.2"}),(0,n.jsx)("path",{d:"M7.6 10.2c2.8-.7 5.8-.5 8.3 1M8.1 13c2.3-.5 4.6-.3 6.6.9M8.7 15.5c1.8-.4 3.4-.2 4.9.7"})]})}function m(e){let{className:t="",priority:l=!1,shop:s=!1}=e;return s?(0,n.jsx)(a.default,{src:"/beauticate-shop-logo.png",alt:"Beauticate Shop",width:516,height:120,priority:l,className:"".concat(t," mh-logo-shop"),style:{mixBlendMode:"multiply"}}):(0,n.jsx)(a.default,{src:"/logo-dark.png",alt:"Beauticate",width:997,height:135,priority:l,className:t})}function x(e){let{c:t,showImage:l}=e;return(0,n.jsxs)(r(),{href:t.href,className:"mh-card".concat(t.soon?" mh-card-soon":""),children:[(0,n.jsxs)("span",{className:"mh-card-img",children:[t.image&&l?(0,n.jsx)(a.default,{src:t.image,alt:t.imageAlt||t.title,fill:!0,sizes:"(max-width:1080px) 22vw, 220px",className:"mh-card-obj",style:t.imagePosition?{objectPosition:t.imagePosition}:void 0}):null,t.soon&&(0,n.jsx)("span",{className:"mh-card-badge",children:"Coming Soon"})]}),(0,n.jsx)("span",{className:"mh-card-title",children:t.title})]})}function f(e){var t,l,s,a;let{p:o}=e,d=(0,c.usePathname)(),[u,h]=(0,i.useState)(null!=(l=null==(t=o.subs[0])?void 0:t.label)?l:""),m=null!=(s=o.subs.find(e=>e.label===u))?s:o.subs[0],f=null!=(a=null==m?void 0:m.cards)?a:[],p=o.subs.length>0,[b,v]=(0,i.useState)(!1),[j,g]=(0,i.useState)(!1),y=(0,i.useRef)(void 0),w=(0,i.useRef)(void 0);return(0,i.useEffect)(()=>()=>{clearTimeout(y.current),clearTimeout(w.current)},[]),(0,i.useEffect)(()=>
1{if(!o.isShop)return;let e=()=>{clearTimeout(y.current),v(!1)};return window.addEventListener("subnav-open",e),()=>window.removeEventListener("subnav-open",e)},[o.isShop]),(0,i.useEffect)(()=>{clearTimeout(y.current),clearTimeout(w.current),v(!1)},[d]),(0,n.jsxs)("li",{className:"mh-pillar".concat(o.isShop?" is-shop":"").concat(b?" open":""),onMouseEnter:()=>{g(!0),clearTimeout(w.current),y.current=setTimeout(()=>{v(!0),o.isShop&&window.dispatchEvent(new CustomEvent("mega-open"))},90)},onMouseLeave:()=>{clearTimeout(y.current),w.current=setTimeout(()=>v(!1),260)},onFocus:()=>g(!0),children:[(0,n.jsx)(r(),{href:o.href,className:"mh-pillar-link",children:o.label}),p&&(0,n.jsx)("div",{className:"mh-mega",children:(0,n.jsxs)("div",{className:"mh-mega-inner",children:[(0,n.jsxs)("div",{className:"mh-subs",children:[(0,n.jsx)("span",{className:"mh-eyebrow",children:o.eyebrow}),(0,n.jsx)("ul",{children:o.subs.map(e=>(0,n.jsx)("li",{className:e.children?"mh-has-flyout":"",children:e.disabled?(0,n.jsxs)("span",{className:"mh-sub-soon".concat(u===e.label?" active":""),onMouseEnter:()=>h(e.label),children:[e.label,(0,n.jsx)("em",{children:"Soon"})]}):e.children?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(r(),{href:e.href,className:"mh-sub-parent".concat(u===e.label?" active":""),onMouseEnter:()=>h(e.label),onFocus:()=>h(e.label),children:[e.label,(0,n.jsx)("svg",{className:"mh-fly-arrow",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,children:(0,n.jsx)("polyline",{points:"9 6 15 12 9 18"})})]}),(0,n.jsx)("ul",{className:"mh-flyout",children:e.children.map((e,t)=>(0,n.jsx)("li",{children:(0,n.jsx)(r(),{href:e.href,children:e.label})},t))})]}):(0,n.jsx)(r(),{href:e.href,className:u===e.label?"active":"",onMouseEnter:()=>h(e.label),onFocus:()=>h(e.label),children:e.label})},e.label))}),(0,n.jsxs)(r(),{href:o.allHref,className:"mh-all",children:[o.allLabel," â"]})]}),(null==m?void 0:m.disabled)?(0,n.jsx)("div",{className:"mh-cards",children:(0,n.jsxs)("p",{className:"mh-soon-note",children:["Our ",m.label," edit is coming soon."]})}):(null==m?void 0:m.children)&&f.length>0?(0,n.jsx)("div",{className:"mh-cards",children:f.map((e,t)=>(0,n.jsx)(x,{c:e,showImage:j},"".concat(u,"-").concat(t)))}):(null==m?void 0:m.children)?(0,n.jsx)("div",{className:"mh-cards",children:(0,n.jsx)("p",{className:"mh-soon-note",children:"Browse our curated directory of salons, spas, clinics & wellness destinations."})}):(null==m?void 0:m.list)&&m.list.length>4?(0,n.jsx)("div",{className:"mh-mega-list",children:(0,n.jsx)("ul",{className:"mh-list",children:m.list.map(e=>(0,n.jsx)("li",{children:(0,n.jsx)(r(),{href:e.href,children:e.label})},e.href))})}):(0,n.jsx)("div",{className:"mh-cards",children:f.map((e,t)=>(0,n.jsx)(x,{c:e,showImage:j},"".concat(u,"-").concat(t)))})]})})]})}function p(e){var t;let{pillars:l}=e,s=(0,c.usePathname)(),a=null!=(t=null==s?void 0:s.startsWith("/shop"))&&t,[o,x]=(0,i.useState)(!1),[p,b]=(0,i.useState)(!1),[v,j]=(0,i.useState)(!1),[g,y]=(0,i.useState)(null),[w,N]=(0,i.useState)(!1),k=(0,i.useRef)(!1),C=(0,i.useRef)(0),S=(0,i.useRef)(!0),E=(0,i.useRef)(!1);return(0,i.useEffect)(()=>{let e=window.matchMedia("(min-width: 901px)");S.current=e.matches;let t=e=>{S.current=e.matches,e.matches&&(x(!1),b(!1))};return e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),(0,i.useEffect)(()=>{let e=()=>{k.current||(k.current=!0,requestAnimationFrame(()=>{if(!S.current){let e=window.scrollY;x(t=>t?e>10:e>64);let t=e-C.current;e<=200?b(!1):t>20?b(!0):t<-20&&b(!1),C.current=e}k.current=!1}))};return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,i.useEffect)(()=>(document.body.style.overflow=v?"hidden":"",()=>{document.body.style.overflow=""}),[v]),(0,i.useEffect)(()=>{E.current&&!p&&N(!0),E.current=p},[p]),(0,i.useEffect)(()=>{if(!w)return;let e=!1,t=setTimeout(()=>{e=!0},300),l=()=>{e&&N(!1)};return window.addEventListener("mousemove",l,{once:!0}),()=>{clearTimeout(t),window.removeEventListener("mousemove",l)}},[s,w]),(0,n.jsxs)("header",{className:"mh".concat(a?" mh-shop":"").concat(o?" mh-scrolled":"").concat(p?" mh-hidden":"").concat(w?" mh-closing":""),children:[(0,n.jsxs)("div",{className:"mh-utility",children:[(0,n.jsxs)("div",{className:"mh-util-left",children:[(0,n.jsx)("button",{className:"mh-hamburger","aria-label":"Open menu",onClick:()=>j(!0),children:(0,n.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.4,children:[(0,n.jsx)("line",{x1:"3",y1:"7",x2:"21",y2:"7"}),(0,n.jsx)("line",{x1:"3",y1:"12",x2:"21",y2:"12"}),(0,n.jsx)("line",{x1:"3",y1:"17",x2:"21",y2:"17"})]})}),a&&(0,n.jsx)(r(),{href:"/",className:"mh-back-site","aria-label":"Back to Beauticate",children:"Beauticate"}),(0,n.jsx)("div",{className:"mh-social",children:u.map(e=>(0,n.jsx)("a",{href:e.href,"aria-label":e.label,target:"_blank",rel:"noopener noreferrer",children:(0,n.jsx)(h,{d:e.d})},e.label))})]}),(0,n.jsxs)("div",{className:"mh-wordmark-group",children:[(0,n.jsx)(r(),{href:"/",className:"mh-wordmark","aria-label":a?"Back to Beauticate":"Beauticate home",children:(0,n.jsx)(m,{className:"mh-logo mh-logo-lg",priority:!0,shop:a})}),!a&&(0,n.jsx)("p",{className:"mh-strapline",children:"Beautifully curated living"})]}),(0,n.jsxs)("div",{className:"mh-util-right",children:[(0,n.jsx)(r(),{href:"/subscribe",className:"mh-util-link",children:"Subscribe"}),(0,n.jsx)(r(),{href:"/search",className:"mh-icon-btn","aria-label":"Search",children:(0,n.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.4,children:[(0,n.jsx)("circle",{cx:"11",cy:"11",r:"7"}),(0,n.jsx)("line",{x1:"16.2",y1:"16.2",x2:"21",y2:"21"})]})}),(0,n.jsx)(r(),{href:"/account",className:"mh-util-link mh-signin",children:"Sign In"}),(0,n.jsx)(d,{})]})]}),(0,n.jsxs)("nav",{className:"mh-primary","aria-label":"Primary",onClick:e=>{e.target.closest(".mh-mega a, .mh-pillar-link")&&N(!0)},children:[(0,n.jsx)(r(),{href:"/",className:"mh-brand-mini","aria-label":"Beauticate home",children:(0,n.jsx)(m,{className:"mh-logo mh-logo-mini"})}),a&&(0,n.jsx)(r(),{href:"/",className:"mh-home-link","aria-label":"Back to Beauticate home",children:"Home"}),(0,n.jsxs)("ul",{className:"mh-pillars",children:[(0,n.jsx)("li",{className:"mh-pillar",children:(0,n.jsx)(r(),{href:"/about",className:"mh-pillar-link",children:"About"})}),l.map(e=>(0,n.jsx)(f,{p:e},e.key))]})]}),(0,n.jsx)("div",{className:"mh-scrim".concat(v?" open":""),onClick:()=>j(!1),"aria-hidden":"true"}),(0,n.jsxs)("aside",{className:"mh-drawer".concat(v?" open":""),"aria-label":"Menu",children:[(0,n.jsxs)("div",{className:"mh-drawer-head",children:[(0,n.jsx)(m,{className:"mh-logo mh-logo-drawer",shop:a}),(0,n.jsx)("button",{className:"mh-drawer-close","aria-label":"Close menu",onClick:()=>j(!1),children:(0,n.jsxs)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.4,children:[(0,n.jsx)("line",{x1:"6",y1:"6",x2:"18",y2:"18"}),(0,n.jsx)("line",{x1:"18",y1:"6",x2:"6",y2:"18"})]})})]}),(0,n.jsxs)("nav",{className:"mh-d-nav",children:[a&&(0,n.jsx)(r(),{href:"/",className:"mh-d-back",onClick:()=>j(!1),children:"Beauticate"}),(0,n.jsx)("div",{className:"mh-d-item",children:(0,n.jsx)("div",{className:"mh-d-pillar",children:(0,n.jsx)(r(),{href:"/about",onClick:()=>j(!1),children:"About"})})}),l.map(e=>{let t=g===e.key;return(0,n.jsxs)("div",{className:"mh-d-item".concat(t?" open":""),children:[(0,n.jsxs)("div",{className:"mh-d-pillar".concat(e.isShop?" is-shop":""),children:[(0,n.jsx)(r(),{href:e.href,onClick:()=>j(!1),children:e.label}),(0,n.jsx)("button",{className:"mh-d-chev",onClick:()=>y(t?null:e.key),"aria-expanded":t,"aria-label":"".concat(t?"Collapse":"Expand"," ").concat(e.label),children:(0,n.jsx)("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.6,children:(0,n.jsx)("polyline",{points:"6 9 12 15 18 9"})})})]}),(0,n.jsxs)("div",{className:"mh-d-subs",children:[(0,n.jsx)(r(),{href:e.href,className:"mh-d-viewall",onClick:()=>j(!1),children:e.allLabel}),e.subs.map(e=>e.disabled?(0,n.jsxs)("span",{className:"mh-d-soon",children:[e.label," ",(0,n.jsx)("em",{children:"Soon"})]},e.label):e.children?(0,n.jsxs)("div",{className:"mh-d-group",children:[(0,n.jsx)(r(),{href:e.href,className:"mh-d-group-label",onClick:()=>j(!1),children:e.label}),(0,n.jsx)("div",{className:"mh-d-group-children",children:e.children.map((e,t)=>(0,n.jsx)(r(),{href:e.href,onClick:()=>j(!1),children:e.label},t))})]},e.label):(0,n.jsx)(r(),{href:e.href,onClick:()=>j(!1),children:e.label},e.label))]})]},e.key)})]}),(0,n.jsxs)("div",{className:"mh-d-foot",children:[(0,n.jsx)(r(),{href:"/subscribe",onClick:()=>j(!1),children:"Subscribe"}),(0,n.jsx)(r(),{href:"/account",onClick:()=>j(!1),children:"Sign In"}),(0,n.jsx)("div",{className:"mh-d-social",children:u.map(e=>(0,n.jsx)("a",{href:e.href,"aria-label":e.label,target:"_blank",rel:"noopener noreferrer",children:(0,n.jsx)(h,{d:e.d})},e.label))})]})]})]})}},6891:(e,t,l)=>{"use strict";l.d(t,{default:()=>u,H:()=>d});var n=l(5155),s=l(2115),r=l(63);let a=new Set(["AU","NZ"]),i=["US","GB"];function c(e){let t=(null!=e?e:"").trim().toUpperCase();return/^[A-Z]{2}$/.test(t)?t:"AU"}let o=(0,s.createContext)({country:"AU",lane:"home",market:null,ready:!1});function d(){return(0,s.useContext)(o)}function u(e){let{children:t}
1=e,[l,d]=(0,s.useState)("AU"),[u,h]=(0,s.useState)(!1),m=(0,r.usePathname)();(0,s.useEffect)(()=>{d(c(function(){if("undefined"==typeof document)return null;let e=document.cookie.match(new RegExp("(?:^|;\\s*)".concat("bc-country","=([^;]*)")));return e?decodeURIComponent(e[1]):null}())),h(!0)},[]);let x=a.has(c(l))?"home":"intl",f=function(e){let t=c(e);return i.includes(t)?t:null}(l);return(0,s.useEffect)(()=>{if(u)if("intl"===x)document.querySelectorAll("a[data-intl]").forEach(e=>{var t;let l;e.dataset.homeHref||(e.dataset.homeHref=null!=(t=e.getAttribute("href"))?t:"");try{l=JSON.parse(e.dataset.intl||"{}")}catch(e){return}let n=f&&l[f]||l.default;(null==n?void 0:n.u)&&(e.setAttribute("href",n.u),n.r&&(e.dataset.intlRetailer=n.r))});else document.querySelectorAll("a[data-intl]").forEach(e=>{e.dataset.homeHref&&e.setAttribute("href",e.dataset.homeHref)})},[u,x,f,m]),(0,n.jsx)(o.Provider,{value:{country:l,lane:x,market:f,ready:u},children:t})}},7189:(e,t,l)=>{"use strict";l.d(t,{default:()=>u});var n=l(5155),s=l(2115),r=l(63),a=l(5239),i=l(7909),c=l(8681);let o=(0,i.default)(()=>l.e(1030).then(l.bind(l,1030)),{loadableGenerated:{webpack:()=>[1030]},ssr:!1}),d={"/shop":"Looking for something specific?","/beauty-style":"Need a product recommendation?","/wellness":"What's your wellness goal?","/destinations":"Where do you want to go?","/interviews":"Ask me about anyone I've interviewed","/podcast":"Ask me about any episode","/living":"Need a home or lifestyle tip?"};function u(){let[e,t]=(0,s.useState)(!1),[l,i]=(0,s.useState)(!1),[u,h]=(0,s.useState)(!1),[m,x]=(0,s.use
1State)(!1),f=(0,r.usePathname)(),{isOpen:p}=(0,c._)();function b(){t(!0),i(!1)}(0,s.useEffect)(()=>{let e=window.matchMedia("(max-width: 640px)");x(e.matches);let t=e=>x(e.matches);return e.addEventListener("change",t),()=>e.removeEventListener("change",t)},[]),(0,s.useEffect)(()=>{if(u||e||m)return;i(!1);let t=setTimeout(()=>i(!0),3e3);return()=>clearTimeout(t)},[f,u,e,m]),(0,s.useEffect)(()=>{let e=()=>b();return window.addEventListener("open-ask-sig",e),()=>window.removeEventListener("open-ask-sig",e)});let v=function(e){for(let[t,l]of Object.entries(d))if(e.startsWith(t))return l;return"Go on, ask me anything"}(f);return p?null:(0,n.jsxs)(n.Fragment,{children:[e&&(0,n.jsx)(o,{onClose:()=>t(!1)}),!e&&(0,n.jsx)("div",{className:"fixed bottom-6 right-6 z-[9998]",children:l&&!m?(0,n.jsxs)("div",{onClick:b,className:"relative cursor-pointer animate-fade-in max-w-[240px]",children:[(0,n.jsxs)("div",{className:"bg-white rounded-2xl shadow-lg px-4 py-3 border border-line flex items-start gap-3",children:[(0,n.jsxs)("div",{className:"relative w-10 h-10 rounded-full ring-2 ring-wine overflow-hidden shrink-0 mt-0.5",children:[(0,n.jsx)(a.default,{src:"/images/sig-chat-avatar.png",alt:"Ask Sig",width:40,height:40,className:"w-full h-full object-cover object-center"}),(0,n.jsx)("span",{className:"absolute -top-0.5 -right-0.5 w-2.5 h-2.5 bg-eucalypt rounded-full border-[1.5px] border-white"})]}),(0,n.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,n.jsx)("p",{className:"text-[11px] font-sans font-semibold tracking-[0.2em] uppercase text-wine mb-0.5",children:"Ask Sig"}),(0,n.jsx)("p",{className:"text-sm font-sans text-ink leading-snug",children:v})]})]}),(0,n.jsx)("button",{onClick:function(e){e.stopPropagation(),i(!1),h(!0)},className:"absolute -top-2 -right-2 w-5 h-5 bg-white rounded-full shadow border border-line flex items-center justify-center text-muted hover:text-ink transition-colors","aria-label":"Dismiss",children:(0,n.jsx)("svg",{width:"8",height:"8",viewBox:"0 0 8 8",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:(0,n.jsx)("path",{d:"M1 1l6 6M7 1L1 7"})})})]}):(0,n.jsxs)("button",{onClick:b,className:"relative w-14 h-14 rounded-full shadow-lg hover:shadow-xl transition-shadow group ring-[3px] ring-wine overflow-hidden shrink-0","aria-label":"Ask Sig",children:[(0,n.jsx)(a.default,{src:"/images/sig-chat-avatar.png",alt:"Ask Sig",width:56,height:56,className:"w-full h-full object-cover object-center group-hover:scale-110 transition-transform"}),(0,n.jsx)("span",{className:"absolute -top-0.5 -right-0.5 w-3.5 h-3.5 bg-eucalypt rounded-full border-2 border-white"})]})})]})}},7536:(e,t,l)=>{"use strict";l.d(t,{default:()=>s});var n=l(2115);function s(){return(0,n.useEffect)(()=>{let e=new IntersectionObserver(t=>{t.forEach(t=>{t.isIntersecting&&(t.target.classList.add("in"),e.unobserve(t.target))})},{threshold:.08,rootMargin:"0px 0px 400px 0px"});function t(){document.querySelectorAll(".reveal:not(.in)").forEach(t=>e.observe(t))}t();let l=new MutationObserver(t);return l.observe(document.body,{childList:!0,subtree:!0}),()=>{e.disconnect(),l.disconnect()}},[]),null}},8315:(e,t,l)=>{Promise.resolve().then(l.t.bind(l,1290,23)),Promise.resolve().then(l.bind(l,322)),Promise.resolve().then(l.bind(l,7189)),Promise.resolve().then(l.bind(l,6891)),Promise.resolve().then(l.bind(l,8406)),Promise.resolve().then(l.bind(l,3590)),Promise.resolve().then(l.bind(l,9687)),Promise.resolve().then(l.bind(l,7536)),Promise.resolve().then(l.bind(l,3464)),Promise.resolve().then(l.bind(l,8681)),Promise.resolve().then(l.bind(l,8332)),Promise.resolve().then(l.bind(l,8202)),Promise.resolve().then(l.bind(l,7445)),Promise.resolve().then(l.t.bind(l,2619,23)),Promise.resolve().then(l.t.bind(l,1356,23)),Promise.resolve().then(l.t.bind(l,1402,23)),Promise.resolve().then(l.t.bind(l,634,23)),Promise.resolve().then(l.t.bind(l,8599,23)),Promise.resolve().then(l.t.bind(l,6310,23)),Promise.resolve().then(l.t.bind(l,6164,23))},8406:(e,t,l)=>{"use strict";l.d(t,{default:()=>i});var n=l(5155),s=l(2115),r=l(63);let a=[{text:"Listen to the podcast",href:"/podcast"},{text:"Shop the winter edit",href:"/shop"},{text:"The Edit: beauty, wellness, style, living and travel, delivered weekly. Subscribe now.",href:"/subscribe"}];function i(){var e;let t=(0,r.usePathname)(),l=null!=(e=null==t?void 0:t.startsWith("/shop"))&&e,[i,c]=(0,s.use
1State)(!1);if(i)return null;if(l)return(0,n.jsxs)("div",{className:"relative bg-ink text-white text-center",children:[(0,n.jsx)("a",{href:"/shop/free-shipping",className:"block px-10 py-[10px] font-sans text-[10px] tracking-[0.2em] uppercase opacity-90 hover:opacity-100 transition-opacity",style:{lineHeight:1.7},children:"Free shipping on select brands â"}),(0,n.jsx)("button",{onClick:e=>{e.preventDefault(),c(!0)},"aria-label":"Dismiss",className:"absolute right-4 top-1/2 -translate-y-1/2 text-white/50 hover:text-white text-base leading-none",children:"\xd7"})]});let o=[...a,...a];return(0,n.jsxs)("div",{className:"relative bg-ink text-white overflow-hidden",role:"marquee","aria-label":"Site announcements",children:[(0,n.jsx)("div",{className:"flex whitespace-nowrap",style:{animation:"tick 38s linear infinite"},children:o.map((e,t)=>(0,n.jsxs)("span",{className:"flex-none flex items-center",children:[(0,n.jsx)("a",{href:e.href,className:"px-[30px] py-[9px] font-sans text-[10px] tracking-[0.2em] uppercase opacity-90 flex-none text-white hover:opacity-100 hover:underline",children:e.text}),(0,n.jsx)("span",{className:"opacity-30 flex-none",children:"\xb7"})]},t))}),(0,n.jsx)("button",{onClick:()=>c(!0),"aria-label":"Dismiss",className:"absolute right-4 top-1/2 -translate-y-1/2 text-white/50 hover:text-white text-base leading-none z-10",children:"\xd7"}),(0,n.jsx)("style",{children:"@keyframes tick { from { transform: translateX(0) } to { transform: translateX(-50%) } } @media (prefers-reduced-motion: reduce) { .ticker-track { animation: none } }"})]})}},9687:(e,t,l)=>{"use strict";l.d(t,{default:()=>r});var n=l(5155),s=l(2115);function r(e){let{variant:t="light",source:l="footer",endpoint:r="/api/subscribe",buttonLabel:a="Subscribe",successMessage:i="Youâre in. Welcome to the edit."}=e,[c,o]=(0,s.useState)(""),[d,u]=(0,s.useState)("idle");async function h(e){e.preventDefault(),u("loading");try{if(!(await fetch(r,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:c,source:l})})).ok)throw Error();u("success"),o("")}catch(e){u("error")}}let m="dark"===t;return"success"===d?(0,n.jsx)("p",{className:"font-serif italic text-sm ".concat(m?"text-cream/70":"opacity-70"),children:i}):(0,n.jsxs)("form",{onSubmit:h,className:"flex max-w-[420px]",children:[(0,n.jsx)("input",{type:"email",value:c,onChange:e=>o(e.target.value),required:!0,placeholder:"Your email address",className:"flex-1 font-sans text-[13px] px-4 py-3 ".concat(m?"bg-transparent text-cream placeholder:text-cream/40 border border-cream/30 border-r-0":"bg-white border border-charcoal border-r-0")}),(0,n.jsx)("button",{type:"submit",disabled:"loading"===d,className:"font-sans text-[10.5px] tracking-[0.2em] uppercase px-5 whitespace-nowrap cursor-pointer disabled:opacity-50 ".concat(m?"bg-cream text-charcoal border border-cream":"bg-charcoal text-white border border-charcoal"),children:"loading"===d?"...":a})]})}},9895:(e,t,l)=>{"use strict";l.d(t,{Cv:()=>i,GA:()=>a,iG:()=>r,tc:()=>c});let n=[{key:"booie-beauty",enabled:!0,vendor:"BOOIE Beauty",giftVariantId:"gid://shopify/ProductVariant/45618557026373",giftProductId:"gid://shopify/Product/8251319976005",giftHandle:"bloody-delicious-beauticate-gift-6a8f754d49fdffe4b8fe29fd",giftName:"a Bloody Delicious illuminator",badge:"Free gift",freeLabel:"Free",pitch:"Spend $45 on BOOIE Beauty and weâll add a Bloody Delicious illuminator to your order, free.",cartNote:"Added free with your BOOIE Beauty order",minSpend:45,excludedProductIds:["gid://shopify/Product/8095275155525"],lineAttributes:[{key:"Gift with purchase",value:"Free gift â Bloody Delicious illuminator"}]}],s=e=>(null!=e?e:"").trim().toLowerCase();function r(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return n.filter(t=>(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date;return!(!e.enabled||e.startsAt&&t<new Date(e.startsAt)||e.endsAt&&t>new Date(e.endsAt))})(t,e))}function a(e){if(e)return n.find(t=>{var l,n,s;return(null==(l=e.merchandise)?void 0:l.id)===t.giftVariantId||(null==(s=e.merchandise)||null==(n=s.product)?void 0:n.id)===t.giftProductId})}function i(e,t){var l,n,r;let i=null!=(n=e.excludedProductIds)?n:[];return(null!=(r=null==t||null==(l=t.lines)?void 0:l.nodes)?r:[]).filter(t=>{var l,n,r,c,o,d;return void 0===a(t)&&s(null==(n=t.merchandise)||null==(l=n.product)?void 0:l.vendor)===s(e.vendor)&&!i.includes(null!=(o=null==(c=t.merchandise)||null==(r=c.product)?void 0:r.id)?o:"")&&(null!=(d=t.quantity)?d:0)>=1})}function c(e,t){var l;let n=null!=(l=e.minSpend)?l:0;return n<=0?0:Math.max(0,n-i(e,t).reduce((e,t)=>
1{var l,n,s,r;return e+parseFloat(null!=(s=null==(n=t.merchandise)||null==(l=n.price)?void 0:l.amount)?s:"0")*(null!=(r=t.quantity)?r:1)},0))}n.map(e=>e.giftHandle)}},e=>{e.O(0,[1741,3071,2619,1356,6332,8681,8441,1255,7358],()=>e(e.s=8315)),_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.