1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9611],{21535:function(e,t,i){"use strict";var a,l=i(52983);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e}).apply(this,arguments)}t.Z=function(e){return l.createElement("svg",r({viewBox:"0 0 9 6",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),a||(a=l.createElement("path",{d:"m.5 1 4.033 4 4.033-4",stroke:"currentColor"})))}},76348:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/customer/wallet",function(){return i(27866)}])},10846:function(e,t,i){"use strict";i.d(t,{V:function(){return c}});var a=i(97458),l=i(52983),r=i(55462),n=i(61954),s=i(48095);let c=(0,l.forwardRef)((e,t)=>{let{actionText:i,actionDisabled:l,onActionClick:c,actionClassName:o,loading:d=!1,...u}=e;return(0,a.jsx)(n.j,{ref:t,rightAdornment:(0,a.jsx)("button",{type:"button",disabled:l,className:(0,r.cn)("helvetica-14-500 z-50 px-6 text-ar-culinista-black lg:px-4",{"text-opacity-40":l},o),onClick:c,children:d?(0,a.jsx)(s.U,{}):i}),...u})})},50570:function(e,t,i){"use strict";i.d(t,{o:function(){return n}});var a=i(97458),l=i(52983),r=i(14517);let n=(0,l.forwardRef)((e,t)=>{let{className:i,lighterOnMobiles:l=!1}=e;return(0,a.jsx)("hr",{ref:t,className:(0,r.Z)("border-t border-ar-culinista-black/40",i,{"border-ar-culinista-black/20 md:border-ar-culinista-black/40":l,"border-ar-culinista-black/40":!l})})})},1440:function(e,t,i){"use strict";i.d(t,{y:function(){return o}});var a=i(97458),l=i(52983),r=i(78778),n=i(1137),s=i(39957),c=i(21535);function o(e){let{item:t,children:i}=e,[o,d]=(0,l.useState)(!1);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("button",{type:"button",className:"flex w-full items-center justify-between py-4",onClick:()=>d(e=>!e),children:[(0,a.jsx)("div",{children:t}),(0,a.jsx)(r.E.div,{animate:{rotate:o?180:0},transition:{duration:.3},children:(0,a.jsx)(s.k,{size:12,icon:(0,a.jsx)(c.Z,{})})})]}),(0,a.jsx)(n.M,{children:o&&(0,a.jsx)(r.E.div,{initial:"collapsed",animate:"expanded",exit:"collapsed",transition:{duration:.3},variants:{expanded:{opacity:1,height:"auto"},collapsed:{opacity:0,height:0}},className:"overflow-hidden",children:(0,a.jsx)("div",{className:"pt-2 pb-4",children:i})},"expanded-content")})]})}},97373:function(e,t,i){"use strict";i.d(t,{J:function(){return u}});var a,l=i(97458),r=i(52983);function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a])}return e}).apply(this,arguments)}var s=function(e){return r.createElement("svg",n({width:6,height:10,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),a||(a=r.createElement("path",{d:"m1 9.066 4-4.033L1 1",stroke:"#22292F"})))},c=i(13764),o=i(55462),d=i(60728);function u(e){let{totalItemsCount:t,itemsPerPage:i,onPageChange:a,className:r,currentPage:n=1}=e,u=Math.ceil(t/i),m=[];for(let e=1;e<=u;e+=1)m.push(e);let p=e=>()=>{null==a||a(e)};return u<2?null:(0,l.jsxs)("div",{className:(0,o.cn)("helvetica-14-500 flex flex-row gap-x-2.5",r),children:[(0,l.jsxs)("button",{type:"button",className:(0,o.cn)("flex flex-row items-center gap-x-2",1===n&&"hidden"),onClick:()=>{n-1>=1&&(null==a||a(n-1))},children:[(0,l.jsx)(d.k,{icon:(0,l.jsx)(c.Z,{}),size:10}),(0,l.jsx)("p",{children:"Previous"})]}),(0,l.jsx)("button",{type:"button",className:(0,o.cn)("opacity-40",n<=3&&"hidden"),onClick:()=>{null==a||a(1)},children:"1"}),(0,l.jsx)("p",{className:(0,o.cn)("opacity-40",n<=3&&"hidden"),children:"..."}),(0,l.jsx)("ul",{className:" flex flex-row gap-x-2 text-ar-culinista-black",children:m.map(e=>(0,l.jsx)("li",{className:(0,o.cn)(n!==e&&"opacity-40",e<=n-3&&"hidden",e>=n+3&&"hidden"),children:(0,l.jsx)("button",{type:"button",onClick:p(e),children:e})},e))}),(0,l.jsx)("p",{className:(0,o.cn)("opacity-40",n>=u-2&&"hidden"),children:"..."}),(0,l.jsx)("button",{type:"button",className:(0,o.cn)("opacity-40",n>=u-2&&"hidden"),onClick:()=>{null==a||a(u)},children:u}),(0,l.jsxs)("button",{type:"button",className:(0,o.cn)("flex items-center gap-x-2",n===u&&"hidden"),onClick:()=>{n+1<=u&&(null==a||a(n+1))},children:[(0,l.jsx)("p",{children:"Next"}),(0,l.jsx)(d.k,{icon:(0,l.jsx)(s,{}),size:10})]})]})}},89044:function(e,t,i){"use strict";i.d(t,{U:function(){return r}});var a=i(97458);i(52983);var l=i(55462);function r(e){let{className:t,size:i="medium",customSize:r=""}=e;return(0,a.jsxs)("div",{className:(0,l.cn)("relative",t,{"h-4 w-4":"small"===i,"h-6 w-6":"medium"===i,"h-8 w-8":"large"===i},r),children:[(0,a.jsx)("div",{className:"absolute left-0 top-0 h-full w-full animate-spin rounded-full border-2 border-gray-200"}),(0,a.jsx)("div",{className:"h-full w-full animate-spin rounded-full border-2 border-ar-culinista-black border-t-transparent",role:"status"}),(0,a.jsx)("span",{className:"invisible",children:"Loading..."})]})}},2241:function(e,t,i){"use strict";i.d(t,{X:function(){return j}});var a=i(97458),l=i(52983),r=i(78906),n=i(15783),s=i(88786),c=i(92156),o=i(43359),d=i(14517),u=i(49122),m=i(71977),p=i(31165),x=i(10059),h=i(15913),v=i(39957);function f(e){let{className:t,messages:i}=e;return(0,a.jsxs)("div",{className:(0,d.Z)("flex items-center bg-ar-red bg-opacity-10 px-8 py-2.5 text-ar-red",t,{"gap-2":1===i.length,"gap-4":i.length>1}),children:[(0,a.jsx)(v.k,{icon:(0,a.jsx)(h.Z,{}),size:16}),(0,a.jsx)("p",{className:"helvetica-14-400 flex-1",children:1===i.length?i:(0,a.jsx)("ul",{className:"flex list-inside list-disc flex-col gap-0.5",children:i.map(e=>(0,a.jsx)("li",{children:e},e))})})]})}let g=new Date;function j(e){let{children:t}=e,i=(0,o.a)(890),h=(0,p.Q)(),[v,j]=(0,l.useState)({payment:void 0,mealPrep:void 0});(0,u.N66)({fetchPolicy:"network-only",variables:{input:{serviceType:u.UW4.MealPrep,serviceDateLessThan:new Date(new Date(g).setMonth(new Date(g).getMonth()+3)),serviceDateGreaterThan:new Date(g)}},onCompleted:async e=>{let{serviceList:t}=e;if(t.items.length>0){let e=t.items.sort((e,t)=>
1(0,m.EM)(e.serviceDate).getTime()-(0,m.EM)(t.serviceDate).getTime()).filter(e=>"CANCELLED_ENDED"!==e.serviceStatus)[0],i=(0,m.EM)(e.serviceDate);i.setHours(parseFloat(e.startTime.split(":")[0])),i.setMinutes(parseFloat(e.startTime.split(":")[1]));let a=Math.floor((i.getTime()-g.getTime())/36e5),l={mealPrep:void 0,payment:void 0};if(a<72&&0===e.dishes.length&&(l.mealPrep="Important: Select your dishes at least 24 hours prior to your service time to avoid service cancellation and fee."),a<72){let{data:e}=await h.query({query:u.KDL,fetchPolicy:"network-only"});0===e.paymentMethods.items.length?l.payment="Add a valid payment method at least 48 hours prior to your service time to avoid service cancellation.":j(e=>({...e,payment:void 0}))}j(e=>({...e,...l}))}else j(e=>({...e,mealPrep:void 0}))}});let b=!!v.payment||!!v.mealPrep,y=Object.values(v).filter(e=>!!e);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex min-h-screen flex-col",children:[(0,a.jsx)(s.W,{className:"border-b border-ar-culinista-black border-opacity-40",backgroundColor:n.bG.BeigeLight,textColor:n.bG.CulinistaBlack,keepColorThemeOnScroll:!0,mobileCta:{label:"Book a service",href:c.y.bookingService(),backgroundColor:n.bG.Navy,textColor:n.bG.NavyLight},hideLoginLinkOnMobile:!0}),(0,a.jsx)("div",{className:"flex flex-grow bg-ar-beige-light text-ar-culinista-black ",children:(0,a.jsxs)("div",{className:"mx-auto flex max-w-[1750px] flex-grow",children:[!i&&(0,a.jsx)(x.U,{}),(0,a.jsxs)("main",{className:"max-w-full flex-1",children:[!!b&&(0,a.jsx)("div",{className:"px-[30px] pt-16 md:px-[118px]",children:(0,a.jsx)(f,{messages:y})}),(0,a.jsx)("div",{className:(0,d.Z)({"pt-16":!b,"pt-8":!!b}),children:t})]})]})})]}),(0,a.jsx)(r.a,{backgroundColor:n.bG.CulinistaBlack,textAndBorderColor:n.bG.NavyLight})]})}},57337:function(e,t,i){"use strict";i.d(t,{_:function(){return s}});var a=i(97458);i(52983);var l=i(14517),r=i(15783),n=i(35031);function s(e){let{children:t,className:i,descriptionClassName:s="mt-5",childrenClassName:c,title:o,customActionElement:d,titleRightElement:u,description:m}=e,p=(0,n.M)("border",r.bG.CulinistaBlack),x=(0,n.M)("text",r.bG.CulinistaBlack),h=o||m;return(0,a.jsxs)("section",{className:(0,l.Z)("mb-[60px] md:mb-[88px]",i),children:[h&&(0,a.jsx)("div",{className:"flex flex-col md:flex-row md:items-end md:justify-between",children:(0,a.jsxs)("div",{className:"w-full",children:[o&&(0,a.jsxs)("div",{className:"flex flex-col md:flex-row md:justify-between",children:[(0,a.jsx)("h3",{className:(0,l.Z)(x,"editorial-24 md:editorial-38"),children:o}),u&&(0,a.jsx)("div",{className:"mt-6 md:mt-0",children:u})]}),m&&(0,a.jsx)("p",{className:(0,l.Z)("garamond-16 mt-4 max-w-[680px] md:mt-6",s),children:m})]})}),t&&(0,a.jsxs)("div",{className:(0,l.Z)(p,"border border-opacity-40 p-6 md:p-8",h&&"mt-6 md:mt-8",c),children:[t,d&&(0,a.jsx)("div",{className:"ml-auto w-fit pt-8",children:d})]})]})}},54945:function(e,t,i){"use strict";i.d(t,{X:function(){return r}});var a=i(97458);i(52983);var l=i(89044);function r(e){let{title:t,loading:i,children:r}=e;return(0,a.jsxs)("div",{className:"lg:grid lg:grid-cols-[3fr_7fr] lg:gap-4",children:[(0,a.jsx)("p",{className:"helvetica-14-500 mb-2 lg:mb-0",children:t}),i?(0,a.jsx)(l.U,{}):(0,a.jsx)("div",{className:"helvetica-14-400",children:r})]})}},80250:function(e,t,i){"use strict";i.d(t,{e:function(){return r}});var a=i(97458);i(52983);var l=i(14517);function r(e){let{className:t,children:i}=e;return(0,a.jsx)("div",{className:(0,l.Z)("px-[30px] pb-40 md:px-[118px]",t),children:i})}},45537:function(e,t,i){"use strict";i.d(t,{f:function(){return s}});var a=i(97458);i(52983);var l=i(37249),r=i(90015),n=i(74870);function s(e){let{title:t,description:i,images:s}=e,{siteName:c,siteDescription:o}=(0,r.K)(),d={description:i||o,images:s||n.nI.images,url:n.nI.url,siteName:c,ogTitle:"".concat(n.nI.siteName," | ").concat(t||n.nI.title)},u=Array.isArray(d.images)?d.images.filter(e=>!!e&&"object"==typeof e&&"string"==typeof e.url&&!!e.url).map(e=>({url:e.url,alt:e.alt||d.description||n.nI.description})):[];return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(l.PB,{title:t,titleTemplate:"%s | ".concat(d.siteName),defaultTitle:"".concat(n.nI.title," | ").concat(d.siteName),description:d.description,openGraph:{url:d.url,title:d.ogTitle,description:d.description,images:u.length?u:void 0,siteName:n.nI.siteName,locale:"en_US"}})})}},93101:function(e,t,i){"use strict";i.d(t,{f:function(){return l}});var a=i(52983);function l(e){let{items:t,itemsPerPage:i}=e,[l,r]=(0,a.useState)(1);return{pageItems:(0,a.useMemo)(()=>t.slice((l-1)*i,l*i),[l,t,i]),currentPage:l,totalItemsCount:t.length,itemsPerPage:i,onPageChange:e=>{r(e)}}}},27866:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return P},default:function(){return M}});var a=i(97458),l=i(52983),r=i(14517),n=i(43359),s=i(49122),c=i(1440);function o(e){var t;let{data:i}=e,{isActive:l,code:n,fixedExpirationDate:o,applicableServiceTypes:d,percentageOff:u,amount:m}=i;return(0,a.jsx)("div",{className:"border-b border-ar-culinista-black border-opacity-40 last:border-b-0",children:(0,a.jsx)(c.y,{item:(0,a.jsx)("div",{className:(0,r.Z)("editorial-18 flex h-12 w-[169px] items-center justify-center",{"bg-ar-navy-light text-ar-navy":(d.includes(s.UW4.Gathering)||0===d.length)&&l,"bg-ar-green-light text-ar-green":d.includes(s.UW4.MealPrep)&&l,"bg-ar-red-light text-ar-red":d.includes(s.UW4.CookingClass)&&l,"bg-ar-culinista-black bg-opacity-10 opacity-40":!l}),children:"".concat(u?"".concat(u,"%"):"".concat(m,"$")," off ").concat(null==d?void 0:null===(t=d.map(e=>e.toLowerCase().replace("_"," ")))||void 0===t?void 0:t.join(", "))}),children:(0,a.jsx)("div",{className:"flex flex-col gap-2.5",children:[{label:"STATUS",value:l?"Active":"Used"},{label:"CODE",value:n},{label:"EXPIRATION DATE",value:o||"-"}].map(e=>(0,a.jsxs)("div",{className:"flex items-center justify-between gap-x-2.5",children:[(0,a.jsx)("p",{className:"helvetica-10-400",children:e.label}),(0,a.jsx)("p",{className:"helvetica-14-400",children:e.value})]},e.label))})})})}function d(e){let{promoCodes:t}=e,i=(0,n.a)(n.j.lg);return 0===t.length?(0,a.jsx)("p",{className:"editorial-24 text-center",children:"No active promo codes."}):(0,a.jsxs)(a.Fragment,{children:[i&&(0,a.jsx)(a.Fragment,{children:t.map(e=>(0,a.jsx)(o,{data:e},e.id))}),!i&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:(0,r.Z)("helvetica-10-400 grid grid-cols-[3fr_2fr_2fr_90px] gap-5 pb-4 pt-2"),children:[(0,a.jsx)("p",{className:"w-[169px]",children:"OFFERING"}),(0,a.jsx)("p",{children:"STATUS"}),(0,a.jsx)("p",{children:"CODE"}),(0,a.jsx)("p",{className:"justify-self-end",children:"EXPIRATION DATE"})]}),t.map(e=>{var t,i;return(0,a.jsxs)("div",{className:(0,r.Z)("helvetica-14-400 grid grid-cols-[3fr_2fr_2fr_90px] items-center gap-5 border-t border-ar-culinista-black border-opacity-40 py-8 last:pb-2"),children:[(0,a.jsx)("p",{className:(0,r.Z)("editorial-18 flex h-12 w-[169px] items-center justify-center",{"bg-ar-navy-light text-ar-navy":(e.applicableServiceTypes.includes(s.UW4.Gathering)||0===e.applicableServiceTypes.length)&&e.isActive,"bg-ar-green-light text-ar-green":e.applicableServiceTypes.includes(s.UW4.MealPrep)&&e.isActive,"bg-ar-red-light text-ar-red":e.applicableServiceTypes.includes(s.UW4.CookingClass)&&e.isActive,"bg-ar-culinista-black bg-opacity-10 opacity-40":!e.isActive}),children:"".concat(e.percentageOff?"".concat(100*e.percentageOff,"%"):"".concat(e.amount,"$")," off ").concat(null===(i=e.applicableServiceTypes)||void 0===i?void 0:null===(t=i.map(e=>e.toLowerCase().replace("_"," ")))||void 0===t?void 0:t.join(", "))}),(0,a.jsx)("p",{children:e.isActive?"Active":"Used"}),(0,a.jsx)("p",{children:e.code}),(0,a.jsx)("p",{className:"justify-self-end",children:e.fixedExpirationDate||"-"})]},e.id)})]})]})}var u=i(2241),m=i(80250),p=i(57337),x=i(45537),h=i(10846),v=i(97373),f=i(13916),g=i(52682),j=i(93101),b=i(50570),y=i(54945);let N={[s.LEM.Referral]:"Referral Credit",[s.LEM.GiftCard]:"Gift Card",[s.LEM.Package]:"Package",[s.LEM.Promotion]:"Promotion",[s.LEM.Other]:"Other"};function w(){let{data:e,loading:t}=(0,s.FAx)(),i=null==e?void 0:e.creditBalance,r=(null==i?void 0:i.balanceHistory.filter(e=>e.type!==s.LEM.Promotion))||[],{pageItems:n,...o}=(0,j.f)({items:r||[],itemsPerPage:3});return(0,a.jsxs)("div",{className:"flex flex-col gap-10",children:[(0,a.jsx)(y.X,{title:"Balance",loading:t,children:(0,a.jsx)("p",{className:"editorial-56 xl:editorial-98 mt
1-6 lg:mt-0",children:(null==i?void 0:i.totalRemainingBalance)?(0,f.T)(100*i.totalRemainingBalance):"$0.00"})}),(0,a.jsxs)("div",{children:[(0,a.jsxs)(y.X,{title:"Balance Details",loading:t,children:[(0,a.jsx)(b.o,{className:"mt-4 lg:mt-0 xl:hidden"}),n.map(e=>{let t=(()=>{var t,i,a,l;switch(e.type){case s.LEM.Referral:return(null===(t=e.originReferredReferral)||void 0===t?void 0:t.referringCustomer)?"".concat(null===(i=e.originReferredReferral)||void 0===i?void 0:i.referringCustomer.firstName," ").concat(null===(a=e.originReferredReferral)||void 0===a?void 0:a.referringCustomer.lastName):"-";case s.LEM.GiftCard:case s.LEM.Package:return(null===(l=e.originCreditPurchase)||void 0===l?void 0:l.purchasingCustomer)?"".concat(e.originCreditPurchase.purchasingCustomer.firstName," ").concat(e.originCreditPurchase.purchasingCustomer.lastName):"-";default:return"-"}})();return(0,a.jsxs)(l.Fragment,{children:[(0,a.jsxs)("div",{className:"xl:hidden",children:[(0,a.jsx)(c.y,{item:(0,a.jsxs)("div",{className:"flex flex-col items-start gap-y-1",children:[(0,a.jsx)("span",{className:"helvetica-14-500",children:N[e.type]}),(0,a.jsxs)("span",{className:"helvetica-14-400",children:["$",e.originalAmount]})]}),children:(0,a.jsx)("div",{className:"flex flex-col gap-y-2.5",children:[{label:"FROM",value:t},{label:"EXPIRATION DATE",value:e.expirationDate?(0,g.Z)(new Date(e.expirationDate),"MM/dd/yyyy"):"-"}].map(e=>(0,a.jsxs)("div",{className:"flex items-center justify-between gap-x-2.5",children:[(0,a.jsx)("p",{className:"helvetica-10-400",children:e.label}),(0,a.jsx)("p",{className:"helvetica-14-400",children:e.value})]},e.label))})},e.id),(0,a.jsx)(b.o,{})]}),(0,a.jsxs)("div",{className:"helvetica-14-400 hidden grid-cols-[2fr_2fr_2fr_60px] items-center gap-x-5 border-t border-ar-culinista-black border-opacity-40 py-8 last:border-b xl:grid",children:[(0,a.jsx)("p",{className:"helvetica-14-500",children:N[e.type]}),e.type!==s.LEM.Other&&(0,a.jsxs)("p",{children:["From: ",t]}),(0,a.jsxs)("p",{children:["Exp ",e.expirationDate?(0,g.Z)(new Date(e.expirationDate),"MM/dd/yyyy"):"-"]}),(0,a.jsxs)("p",{className:"justify-self-end",children:["$",e.originalAmount]})]})]},e.id)})]}),r&&r.length>0&&(0,a.jsx)("div",{className:"flex pt-6 lg:justify-end lg:pt-8",children:(0,a.jsx)(v.J,{...o})})]})]})}var C=i(89044),k=i(76102);let E=e=>/\S+@\S+\.\S+/.test(String(e).toLowerCase());function T(e){let{title:t}=e,{data:i}=(0,s.giI)(),{referral:r}=(null==i?void 0:i.customer)||{},{data:n,loading:c}=(0,s.TQP)(),[o,{loading:u}]=(0,s.U7k)(),v=(0,l.useRef)(null),f=(0,l.useRef)(null),[g,j]=(0,l.useState)(!1),[b,y]=(0,l.useState)(null),[N,T]=(0,l.useState)("Copy"),P=(0,l.useMemo)(()=>{var e,t;return(null==n?void 0:null===(t=n.promoCodeRedemptions)||void 0===t?void 0:null===(e=t.items)||void 0===e?void 0:e.map(e=>null==e?void 0:e.promoCode))||[]},[n]),M=async()=>{try{var e,t;(null===(e=f.current)||void 0===e?void 0:e.value)&&await o({variables:{input:{sendToEmail:(null===(t=f.current)||void 0===t?void 0:t.value)||""}}}),f.current.value="",j(!1),y(null)}catch(e){y((0,k.i)(e))}};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(x.f,{title:t}),(0,a.jsxs)(m.e,{children:[(0,a.jsx)(p._,{title:"Culinista Credits",description:'The balance below includes gift cards, referral credits, and any refunds made to your account. To use your Culinista credits, book a service and select "Apply my credits" on the Payment page.',descriptionClassName:"opacity-80 mb-7",children:(0,a.jsx)(w,{})}),(0,a.jsxs)(p._,{title:"Referrals",description:"Your recipient will get $100 toward a first-time gathering. Once it's redeemed, you'll get $100 toward any service.",descriptionClassName:"text-opacity-80",children:[(0,a.jsx)("h4",{className:"helvetica-14-500 mb-4",children:"Give $100, Get $100"}),(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-x-8 gap-y-6 lg:grid-cols-2",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)(h.V,{ref:f,variant:"basic",placeholder:"Refer a friend via email",actionText:"Send",actionDisabled:!g,onActionClick:M,onChange:()=>{j(E(f.current.value))},loading:u}),b&&(0,a.jsx)("p",{className:"helvetica-12-400 mt-2 text-ar-red-warning",children:b})]}),(0,a.jsx)(h.V,{variant:"basic",actionText:N,inputClassName:"text-center lg:text-left",onActionClick:()=>{var e;navigator.clipboard.writeText((null===(e=v.current)||void 0===e?void 0:e.value)||""),T("C
1opied!"),setTimeout(()=>{T("Copy")},2e3)},ref:v,value:"".concat(window.location.origin,"/referrals?value=").concat(r),disabled:!0})]})]}),(0,a.jsx)(p._,{title:"Promo Codes",description:"Active promotions will be applied to eligible services when booked.",descriptionClassName:"text-opacity-80",children:c?(0,a.jsx)(C.U,{className:"m-auto"}):(0,a.jsx)(d,{promoCodes:P})})]})]})}T.Layout=u.X;var P=!0,M=T}},function(e){e.O(0,[7249,2888,9774,179],function(){return e(e.s=76348)}),_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.