PageSourceSearch

https://www.theculinistas.com/_next/static/chunks/pages/booking/inquiry-3c1c3ac89158241c.js

js theculinistas.com collected 2026-10-04 16:35:01 UTC 24,184 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4561],{28382:function(e,r,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/booking/inquiry",function(){return a(14675)}])},98290:function(e,r,a){"use strict";a.d(r,{T:function(){return d}});var t=a(97458),l=a(52983),i=a(74491),s=a(14517),o=a(35031),n=a(11392);let d=l.forwardRef((e,r)=>{let{primaryColor:a,errors:d,register:c,watch:u,...m}=e,h=(0,l.useRef)(null),p=function(e){let r=l.useRef(null);return l.useEffect(()=>{e&&("function"==typeof e?e(r.current):e.current=r.current)}),r}(r),g=(0,o.M)("border",a),f=(0,o.M)("after:bg",a),x=(0,o.M)("text",a),b=(0,o.M)("placeholder:text",a);return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("label",{htmlFor:i.U.typeOfChefOtherOption.value,className:(0,s.Z)((0,o.M)("text",a),"helvetica-12-400 lg:helvetica-14-400 relative inline-flex cursor-pointer items-start"),children:[(0,t.jsx)("input",{id:i.U.typeOfChefOtherOption.value,type:"radio",className:(0,s.Z)(x,g,f,"form-radio",'after:content-[" "] after:absolute after:top-1/2 after:left-1/2 after:h-[10px] after:w-[10px] after:-translate-x-1/2 after:-translate-y-1/2 after:opacity-0 checked:after:opacity-100',"relative mr-2.5 flex h-[14px] w-[14px] cursor-pointer appearance-none rounded-none border-opacity-40 bg-transparent","checked:border-current checked:hover:border-current checked:focus:border-current checked:bg-transparent checked:bg-none hover:bg-transparent checked:hover:bg-transparent checked:focus:bg-transparent","focus:ring-1 focus:ring-offset-0","disabled:cursor-not-allowed disabled:text-ar-culinista-black disabled:text-opacity-60"),name:"typeOfChef",ref:p,onClick:()=>{h&&(null==h?void 0:h.current)&&h.current.focus()},...m}),(0,t.jsx)("div",{className:"w-48 lg:mt-[-4px] lg:w-full",children:(0,t.jsx)(n.K,{...c("typeOfChefOtherValue"),variant:n.l.OtherValue,className:(0,s.Z)(x,b),placeholder:i.U.typeOfChefOtherOption.label,primaryColor:a,errors:"other"===u("typeOfChef")?d:null})})]})})})},43518:function(e,r,a){"use strict";a.d(r,{W:function(){return g}});var t=a(97458),l=a(14517),i=a(52983),s=a(74491),o=a(11392),n=a(35031),d=a(82561),c=a(78778),u=a(98680),m=a(78857),h=a(99099),p=a(61765);function g(e){let{primaryColor:r,className:a,errors:g,title:f,formMethods:x}=e,{watch:b,control:y,resetField:v,register:C}=x,[j,N]=(0,i.useState)(!1),w={visible:{height:"auto",opacity:1,marginBottom:"true"===b("knowAddress")?"40px":0,transition:{height:{duration:.3,delay:j?.5:0},opacity:{duration:.2,delay:j?.7:.3},marginBottom:{duration:.3,delay:j?.5:0}}},hidden:{height:0,opacity:0,marginBottom:0,transition:{height:{duration:.3,delay:.2},opacity:{duration:.2},marginBottom:{duration:.3,delay:.2}}}},k=(0,u.qo)({control:y,name:"knowAddress"});return(0,i.useEffect)(()=>{k&&N(!0),"true"===k&&v("location")},[k,v]),(0,t.jsxs)(p.N,{title:f,childrenClassName:(0,l.Z)("flex flex-col"),className:a,borderColor:r,children:[(0,t.jsx)(d.a,{...C("knowAddress"),primaryColor:r,additionalLabelClassName:"helvetica-12-400 lg:helvetica-14-400",labelClassName:"w-full mb-5",variant:"small",label:s.U.knowAddressLabel.label,value:s.U.knowAddressLabel.value}),(0,t.jsx)(c.E.div,{className:"flex flex-col gap-5",variants:w,initial:"true"===b("knowAddress")?"visible":"hidden",animate:"true"===b("knowAddress")?"visible":"hidden",children:(0,t.jsx)(h.j,{className:"grid grid-cols-3 gap-x-7 gap-y-7 [&>div:nth-child(-n+2)]:col-span-3",...x,primaryColor:r,variant:"simple"})}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d.a,{...C("knowAddress"),primaryColor:r,additionalLabelClassName:"helvetica-12-400 lg:helvetica-14-400",labelClassName:"w-full",variant:"small",label:s.U.noAddressLabel.label,value:s.U.noAddressLabel.value}),(0,t.jsx)(c.E.div,{variants:w,initial:"false"===b("knowAddress")?"visible":"hidden",animate:"false"===b("knowAddress")?"visible":"hidden",className:"z-10",children:(0,t.jsx)(o.K,{...C("location"),placeholder:s.U.noAddressPlaceholder,primaryColor:r,variant:o.l.Post,className:(0,l.Z)((0,n.M)("text",r),(0,n.M)("placeholder:text",r),"mt-5"),errors:g,name:"location"})})]}),(null==g?void 0:g.knowAddress)&&(0,t.jsx)(m.P,{className:"mt-5",error:null==g?void 0:g.knowAddress})]})}},63188:function(e,r,a){"use strict";a.d(r,{j:function(){return s}});var t=a(97458),l=a(90015),i=a(15783);function s(){let{dict:e}=(0,l.K)();return(0,t.jsxs)("div",{className:"flex flex-col items-center py-[100px] px-[30px]",children:[(0,t.jsx)("h1",{className:"editorial-32 lg:editorial-56 pb-[20px] text-center ",children:e(i.FC.InquiryThankYouTitle,"Success! We’ve received your inquiry.")}),(0,t.jsx)("p",{className:"garamond-16 lg:garamond-18 mx-auto max-w-[609px] pb-14 text-center",children:e(i.FC.InquiryThankYouDescription,"We’ve sent you an email confirming receipt. A member of our client services team will reach out in 24-48 hours to discu
1ss the details of your gathering. In the meantime, see what we’re cooking @theculinistas.")})]})}a(52983)},17766:function(e,r,a){"use strict";a.d(r,{j:function(){return h}});let{firstName:t,lastName:l,email:i,phone:s,hearSection:o,customerSection:n,arrivalTime:d,selectDate:c,arrivalTimeHours:u,dinnerTimeHours:m}=a(97405).common,h={firstName:t,lastName:l,email:i,phone:s,hearSection:o,customerSection:n,selectDate:c,arrivalTime:d,tableTime:"Table Time",classTime:"Class Time",arrivalTimeHours:u,dinnerTimeHours:m,gatheringTitle:"Large Gathering Inquiry",gatheringDescription:"Gatherings of over 30 people require additional coordination and will be handled by a member of our client services team.",cookingTitle:"Cooking Class Inquiry",cookingDescription:"Cooking classes of over 12 guests require additional coordination and will be handled by a member of our client services team.",guests:"Guest Count",newsletter:"Get the keys to hosting with ease. Subscribe to our newsletter.",gatheringWhenSection:"When Is Your Gathering?",gatheringWhereSection:"Where Is Your Gathering?",cookingWhenSection:"When would you like to host your cooking class?",cookingWhereSection:"Where is your cooking class?",tellSection:"Tell us about your gathering.",tellDescription:"What’s the occasion (birthday, anniversary, just a good time, etc.)? Do you have a vision for the menu? Our Culinary team will send options based on your needs and preferences.",tellPlaceholder:"Anything else we should know...",format:"Which of our large gathering formats would you prefer?",formatOptions:[{value:"Passed or Stationary Apps",label:"Passed or Stationary Apps"},{value:"Table Service",label:"Table Service"},{value:"Either",label:"Either"}],interestedSection:"What skills, cuisines, or dishes are you interested in learning?",interestedPlaceholder:"Sushi, homemade pasta, meal prep, a particular cultural or regional cuisine?"}},14675:function(e,r,a){"use strict";a.r(r),a.d(r,{__N_SSG:function(){return X},default:function(){return Y}});var t=a(97458),l=a(14517),i=a(35031),s=a(52983),o=a(15783),n=a(34376),d=a(39957),c=a(78906),u=a(85517),m=a(92156),h=a(42424),p=a.n(h),g=a(77413),f=a(19882),x=a(9703);function b(e){return Object.keys(x.HD).find(r=>x.HD[r]===e)}var y=a(49122),v=a(57399),C=a(18844),j=a(98024),N=a(47411),w=a(83794),k=a(56097),S=a(59119),q=a(68e3),O=a(82561),A=a(10248),Z=a(83679),P=a(97405),_=a(17766),T=a(99068),U=a(78857),D=a(99099),E=a(74870),G=a(61765),W=a(92058),M=a(63188),L=a(64385),I=a(52682);function F(e){let{pageData:r}=e,[a]=(0,y.x4s)({}),[l,i]=(0,s.useState)(!1),[d,c]=(0,s.useState)(null),u=(0,n.useSearchParams)(),m=u.get("service"),h=u.get("numberOfPeople")||"32",p=m?b(m):y.UW4.Gathering,{primaryColor:g,secondaryColor:x}=(0,s.useMemo)(()=>{let e=(0,f.S)({serviceType:p});return{primaryColor:(null==e?void 0:e.primaryColor)||o.bG.Brown,secondaryColor:(null==e?void 0:e.primaryColorAlternative)||o.bG.BrownLight}},[p]),F=p===y.UW4.Gathering?_.j.gatheringTitle:_.j.cookingTitle,R=p===y.UW4.Gathering?_.j.gatheringDescription:_.j.cookingDescription,B=p?E.d1[p]:30,H=p===y.UW4.Gathering,z=(0,T.Ry)().shape({firstName:(0,T.Z_)().required("First name is required"),lastName:(0,T.Z_)().required("Last name is required"),email:(0,T.Z_)().required("Email is required").email("Please enter valid email address"),phone:(0,T.Rx)().required("Phone number can't be empty").typeError(W.Om[W.c8.PhoneInvalid]).test("len",W.Om[W.c8.PhoneInvalid],e=>(null==e?void 0:e.toString().length)===10),date:(0,T.hT)().nullable().transform((e,r)=>""===r?null:e).required("Date is required"),arrivalTime:(0,T.Z_)().required("Arrival time is required"),dinnerTime:(0,T.Z_)().required("Table time is required"),address:(0,T.Ry)().shape({streetAddress:(0,T.Z_)().required("Address is required"),streetAddress2:(0,T.Z_)().nullable(),city:(0,T.Z_)().required("City is required"),state:(0,T.Z_)().required("State is required"),zipCode:(0,T.Z_)().required("Zip code is required").typeError("Zip code is not valid")}),numberOfPeople:(0,T.Rx)().required("Number of Guests is required").typeError("Number of Guests is not vaild").min(B+1,"Minimum number of Guests is ".concat(B+1)).max(200,"Maximum number of guests is 200"),billing:(0,T.Z_)().nullable().when(p,{is:y.IMt.Gathering,then:(0,T.Z_)().nullable().required("Please select one option")})}),V=async e=>{try{let r=p===y.UW4.CookingClass?y.IMt.CookingClass:y.IMt.Gathering;await a({variables:{input:{inquiryType:r,submitterEmail:e.email,submitterFirstName:e.firstName,inquiryData:[{header:"Personal Information",details:["First Name: ".concat(e.firstName),"Last Name: ".concat(e.lastName),"Email: ".concat(e.email),"Phone: ".concat(e.phone)]},{header:"Event Information",details:["Date: ".concat(e.date&&(0,I.Z)(e.date,"yyyy-MM-dd")),"Arrival Time: ".concat(e.arrivalTime),"Table Time: ".concat(e.dinnerTime),"Number of Guests: ".concat(e.numberOfPeople)]},{header:"Location",details:["Street Address: ".concat(e.address.streetAddress),"Street Address 2: ".concat(e.address.streetAddress2||""),"City: ".concat(e.address.city),"State: ".concat(e.address.state),"Zip Code: ".concat(e.address.zipCode)]},{header:"Additional Information",details:["Information: ".concat(e.information)]},{header:"How did you hear about us?",details:["Hear: ".concat(e.hear)]}]}}}),(null==e?void 0:e.newsletter)&&(null==e?void 0:e.email)&&await (0,L.N)(e.email),i(!0)}catch(e){c(e.message)}};return((0,s.useEffect)(()=>{let e=document.documentElement;e.style.setProperty("--calendar-primary-color",Z.COLORS[g]),e.style.setProperty("--calendar-secondary-color",Z.COLORS[x])},[g,x]),l)?(0,t.jsx)("section",{children:(0,t.jsx)(M.j,{})}):(0,t.jsxs)("section",{className:"pb-[148px] lg:pb-[208px]",children:[(0,t.jsxs)("div",{className:"mx-auto max-w-[609px] pb-14 text-center",children:[(0,t.jsx)("h1",{className:"editorial-32 lg:editorial-56 pb-3",children:F||(H?_.j.gatheringTitle:_.j.cookingTitle)}),(0,t.jsx)("p",{className:"garamond-16 lg:garamond-18",children:R||(H?_.j.gatheringDescription:_.j.cookingDescription)})]}),(0,t.jsx)(k.S,{onSubmit:V,config:{resolver:(0,v.X)(z)},className:"flex flex-col items-center gap-[30px]",children:e=>{let{register:r,setValue:a,trigger:l,control:i,formState:{errors:n,isSubmitting:c},clearErrors:u}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(G.N,{title:_.j.customerSection,childrenClassName:"grid gap-4 lg:grid-cols-[repeat(2,minmax(250px,1fr))] lg:gap-[20px]",className:"[&>h3]:pb-6 [&>h3]:lg:pb-10",borderColor:g,children:[(0,t.jsx)(S.e,{...r("firstName"),label:_.j.firstName,primaryColor:g,errors:n}),(0,t.jsx)(S.e,{...r("lastName"),label:_.j.lastName,primaryColor:g,errors:n}),(0,t.jsx)(S.e,{...r("email"),label:_.j.email,primaryColor:g,errors:n}),(0,t.jsx)(S.e,{...r("phone"),label:_.j.phone,primaryColor:g,errors:n})]}),(0,t.jsxs)(G.N,{title:H?_.j.gatheringWhenSection:_.j.cookingWhenSection,childrenClassName:"gap-5 flex lg:gap-[30px] flex-wrap lg:flex-nowrap",borderColor:g,children:[(0,t.jsx)(j.f,{...r("date"),control:i,placeholder:_.j.selectDate,className:"w-full",primaryColor:g}),(0,t.jsx)(w.W,{...r("arrivalTime"),options:_.j.arrivalTimeHours,label:_.j.arrivalTime,hoverColor:x,variant:"small",className:"w-full",inputClassName:"placeholder:text-opacity-100",primaryColor:g,onChange:e=>a("arrivalTime",e),errors:n,trigger:l}),(0,t.jsx)(w.W,{...r("dinnerTime"),options:_.j.dinnerTimeHours,label:H?_.j.tableTime:_.j.classTime,variant:"small",hoverColor:x,placeholder:H&&"e.g. 10:00 am",className:"w-full",inputClassName:"placeholder:text-opacity-100",primaryColor:g,onChange:e=>a("dinnerTime",e),errors:n,trigger:l})]}),(0,t.jsx)(G.N,{title:H?_.j.gatheringWhereSection:_.j.cookingWhereSection,borderColor:g,children:(0,t.jsx)(D.j,{className:"grid grid-cols-3 gap-x-7 gap-y-7 [&>div:nth-child(-n+2)]:col-span-3",...e,primaryColor:g,variant:"simple"})}),(0,t.jsx)(G.N,{title:_.j.guests,borderColor:g,children:(0,t.jsx)(q.W,{...r("numberOfPeople"),primaryColor:o.bG.CulinistaBlack,defaultValue:h,overLimitOpacity:!1,clearErrors:u,setValue:a,variant:"CustomInquiryForm",errors:n})}),(0,t.jsxs)(G.N,{title:H?_.j.tellSection:_.j.interestedSection,subTitle:H&&_.j.tellDescription,borderColor:g,children:[(0,t.jsx)(A.C,{...r("information"),className:"!helvetica-10-400 lg:!helvetica-12-400 p-4 focus:border-opacity-80 focus:shadow-none focus:ring-0",placeholder:H?_.j.tellPlaceholder:_.j.interestedPlaceholder,primaryColor:g,rows:6,errors:n}),H&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("p",{className:"helvetica-12-500 lg:helvetica-14-500 mt-10 pb-5",children:_.j.format}),(0,t.jsx)("div",{className:"flex flex-col gap-5 md:flex-row md:gap-10",children:_.j.formatOptions.map(e=>(0,s.createElement)(O.a,{...r("billing"),id:e.value,key:e.value,primaryColor:g,...e}))}),(null==n?void 0:n.billing)&&(0,t.jsx)("div",{className:"mt-5 w-full",children:(0,t.jsx)(U.P,{error:null==n?void 0:n.billing})})]})]}),(0,t.jsx)(G.N,{title:_.j.hearSection,borderColor:g,children:(0,t.jsx)(w.W,{...r("hear"),options:P.es,label:"Select one",variant:"small",className:"max-w-[300px]",inputClassName:"placeholder:text-opacity-100",onChange:e=>a("hear",e),trigger:l,primaryColor:g,hoverColor:x})}),(0,t.jsx)("div",{className:"w-full",children:(0,t.jsx)(N.W,{...r("newsletter"),label:_.j.newsletter,themeColor:g,defaultChecked:!0,errors:n})}),(0,t.jsx)(C.k,{backgroundColor:g,textColor:p===y.UW4.CookingClass?o.bG.BeigeLight:x,type:"submit",className:"mt-7 max-w-[174px]",disabled:c,loading:c,children:"Submit"}),d&&(0,t.jsxs)("p",{className:"font-bold text-ar-red",children:["Something went wrong: ",d]})]})}})]})}var R=a(74491),B=a(98290),H=a(43518);function z(e){let{pageData:r}=e,[a]=(0,y.x4s)({}
1),[l,i]=(0,s.useState)(!1),[d,c]=(0,s.useState)(null),u=(0,n.useSearchParams)().get("service"),m=u?b(u):y.UW4.Placement,{primaryColor:h,secondaryColor:p}=(0,s.useMemo)(()=>{let e=(0,f.S)({serviceType:m});return{primaryColor:(null==e?void 0:e.primaryColor)||o.bG.CulinistaBlack,secondaryColor:(null==e?void 0:e.primaryColorAlternative)||o.bG.Navy}},[m]),g=R.U.title,x=R.U.description,q=(0,T.Ry)().shape({firstName:(0,T.Z_)().required("First name is required"),lastName:(0,T.Z_)().required("Last name is required"),email:(0,T.Z_)().required("Email is required").email("Please enter valid email address"),phone:(0,T.Rx)().required("Phone number is required").typeError(W.Om[W.c8.PhoneInvalid]).test("len",W.Om[W.c8.PhoneInvalid],e=>(null==e?void 0:e.toString().length)===10),startDate:(0,T.hT)().required("Start date is required").typeError("Start date is required"),endDate:(0,T.hT)().nullable().transform((e,r)=>""===r?null:e).min((0,T.iH)("startDate"),()=>"The end date is earlier than the start date"),numberDays:(0,T.Rx)().required("Number of days is required").typeError("Number of days is required").min(1,"Minimum number of days is one"),numberMeals:(0,T.Rx)().required("Number of days is required").typeError("Number of days is required").min(1,"Minimum number of days is one"),typeOfChef:(0,T.Z_)().nullable().required("Please select one option"),housingForChef:(0,T.Z_)().nullable().required("Please select one option"),numberGuests:(0,T.Z_)().nullable().required("Please select one option"),knowAddress:(0,T.Z_)().nullable().required("Please select one option"),location:(0,T.Z_)().nullable().when("knowAddress",{is:"false",then:(0,T.Z_)().nullable().required("Location is required")}),address:(0,T.Ry)().shape({streetAddress:(0,T.Z_)().nullable().when("knowAddress",{is:"true",then:(0,T.Z_)().nullable().required("Address is required")}),streetAddress2:(0,T.Z_)().nullable().when("knowAddress",{is:"true",then:(0,T.Z_)().nullable().required("Address is required")}),city:(0,T.Z_)().nullable().when("knowAddress",{is:"true",then:(0,T.Z_)().nullable().required("City is required")}),state:(0,T.Z_)().nullable().when("knowAddress",{is:"true",then:(0,T.Z_)().nullable().required("State is required")}),zipCode:(0,T.Z_)().nullable().when("knowAddress",{is:"true",then:(0,T.Z_)().nullable().required("Zip Code is required")})}),typeOfChefOtherValue:(0,T.Z_)().nullable().when("typeOfChef",{is:"other",then:(0,T.Z_)().nullable().required("Please fill out field above.")})}),_=async e=>{try{await a({variables:{input:{inquiryType:y.IMt.Custom,submitterEmail:e.email,submitterFirstName:e.firstName,inquiryData:[{header:"Personal Information",details:["First Name: ".concat(e.firstName),"Last Name: ".concat(e.lastName),"Email: ".concat(e.email),"Phone: ".concat(e.phone)]},{header:"Event Information",details:["Type of Chef: ".concat("other"!==e.typeOfChef?e.typeOfChef:e.typeOfChefOtherValue),"Housing for Chef: ".concat(e.housingForChef),"Start Date: ".concat(e.startDate&&(0,I.Z)(e.startDate,"yyyy-MM-dd")),"End Date: ".concat(e.endDate&&(0,I.Z)(e.endDate,"yyyy-MM-dd")),"Days per week: ".concat(e.numberDays),"Meals per day: ".concat(e.numberMeals),"Number of guests: ".concat(e.numberGuests)]},{header:"Location",details:"false"===e.knowAddress?["Location: ".concat(e.location)]:["Street Address: ".concat(e.address.streetAddress),"Street Address 2: ".concat(e.address.streetAddress2||""),"City: ".concat(e.address.city),"State: ".concat(e.address.state),"Zip Code: ".concat(e.address.zipCode)]},{header:"Additional Information",details:["Information: ".concat(e.information)]},{header:"How did you hear about us?",details:["Hear: ".concat(e.hear)]}]}}}),(null==e?void 0:e.newsletter)&&(null==e?void 0:e.email)&&await (0,L.N)(e.email),i(!0)}catch(e){c(e.message)}};return((0,s.useEffect)(()=>{let e=document.documentElement;e.style.setProperty("--calendar-primary-color",Z.COLORS[h]),e.style.setProperty("--calendar-secondary-color",Z.COLORS[p])},[h,p]),l)?(0,t.jsx)("section",{children:(0,t.jsx)(M.j,{})}):(0,t.jsxs)("section",{className:"pb-[148px] lg:pb-[208px]",children:[(0,t.jsx)("h1",{className:"editorial-32 lg:editorial-56 pb-3 text-center",children:g||R.U.title}),(0,t.jsx)("p",{className:"garamond-16 lg:garamond-18 mx-auto max-w-[609px] pb-14 text-center",children:x||R.U.description}),(0,t.jsx)(k.S,{onSubmit:_,config:{resolver:(0,v.X)(q)},className:"flex flex-col items-center gap-[30px]",children:e=>{let{watch:r,register:a,setValue:l,trigger:i,control:o,formState:{errors:n,isSubmitting:c}}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(G.N,{title:R.U.typeOfChefSection,children:[(0,t.jsxs)("div",{className:"mb-5 grid gap-4 lg:grid-flow-col lg:grid-cols-3 lg:grid-rows-2 lg:gap-[30px]",children:[R.U.typeOfChefOptions.map(e=>(0,t.jsx)("div",{children:(0,s.createElement)(O.a,{...a("typeOfChef"),id:e.value,key:e.value,primaryColor:h,additionalLabelClassName:"helvetica-12-500 lg:helvetica-14-500",labelClassName:"w-full",variant:"small",...e})},e.value)),(0,t.jsx)(B.T,{...a("typeOfChef"),primaryColor:h,errors:n,register:a,watch:r,...R.U.typeOfChefOtherOption})]}),(null==n?void 0:n.typeOfChef)&&(0,t.jsx)(U.P,{error:null==n?void 0:n.typeOfChef})]}),(0,t.jsxs)(G.N,{title:R.U.housingForChefSection,childrenClassName:"lg:flex lg:flex-wrap lg:gap-x-10 grid gap-[10px] grid-cols-2",children:[R.U.housingForChefOptions.map(e=>(0,t.jsx)("div",{children:(0,s.createElement)(O.a,{...a("housingForChef"),id:e.value,key:e.value,primaryColor:h,variant:"small",...e})},e.value)),(null==n?void 0:n.housingForChef)&&(0,t.jsx)("div",{className:"w-full",children:(0,t.jsx)(U.P,{error:null==n?void 0:n.housingForChef})})]}),(0,t.jsxs)(G.N,{title:R.U.datesSection,childrenClassName:"grid gap-[30px] lg:grid-cols-[repeat(2,minmax(250px,1fr))]",children:[(0,t.jsx)(j.f,{...a("startDate"),control:o,placeholder:R.U.startDate,primaryColor:h}),(0,t.jsx)(j.f,{...a("endDate"),control:o,placeholder:R.U.endDate,primaryColor:h})]}),(0,t.jsxs)(G.N,{title:R.U.frequencySection,children:[(0,t.jsx)(S.e,{...a("numberDays"),type:"number",label:R.U.numberDays,className:"max-h-8 max-w-[300px]",primaryColor:h,errors:n}),(0,t.jsx)("p",{className:"helvetica-12-500 lg:helvetica-14-500 my-10",children:R.U.frequencySectionSecond}),(0,t.jsx)(S.e,{...a("numberMeals"),type:"number",label:R.U.numberMeals,className:"max-h-8 max-w-[300px]",primaryColor:h,errors:n})]}),(0,t.jsxs)(G.N,{title:R.U.numberGuestsSection,childrenClassName:"grid gap-4 lg:grid-cols-3 lg:gap-x-[30px] lg:gap-y-4",children:[R.U.numberGuestsOptions.map(e=>(0,t.jsx)("div",{children:(0,s.createElement)(O.a,{...a("numberGuests"),id:e.value,key:e.value,primaryColor:h,variant:"small",...e})},e.value)),(null==n?void 0:n.numberGuests)&&(0,t.jsx)(U.P,{error:null==n?void 0:n.numberGuests})]}),(0,t.jsxs)(G.N,{title:R.U.customerSection,childrenClassName:"grid gap-4 lg:grid-cols-[repeat(2,minmax(250px,1fr))] lg:gap-[30px]",children:[(0,t.jsx)(S.e,{...a("firstName"),label:R.U.firstName,primaryColor:h,errors:n}),(0,t.jsx)(S.e,{...a("lastName"),label:R.U.lastName,primaryColor:h,errors:n}),(0,t.jsx)(S.e,{...a("email"),label:R.U.email,primaryColor:h,errors:n}),(0,t.jsx)(S.e,{...a("phone"),label:R.U.phone,primaryColor:h,errors:n})]}),(0,t.jsx)(H.W,{title:R.U.householdSection,className:"[&>h3]:pb-6 [&>h3]:lg:pb-10",errors:n,primaryColor:h,formMethods:e}),(0,t.jsx)(G.N,{title:R.U.anythingSection,children:(0,t.jsx)(A.C,{...a("information"),className:"helvetica-10-400 lg:helvetica-12-400 p-4 leading-[135%] focu
1s:border-ar-culinista-black focus:border-opacity-80 focus:shadow-none focus:ring-0 lg:leading-[135%]",placeholder:R.U.anything,primaryColor:h,rows:6,errors:n})}),(0,t.jsx)(G.N,{title:R.U.hearSection,children:(0,t.jsx)(w.W,{...a("hear"),options:P.es,label:"Select one",hoverColor:p,variant:"small",className:"max-w-[300px]",inputClassName:"placeholder:text-opacity-100",onChange:e=>l("hear",e),trigger:i})}),(0,t.jsx)("div",{className:"w-full",children:(0,t.jsx)(N.W,{...a("subscription"),label:R.U.subscribeToNewsletter,themeColor:h,defaultChecked:!0,errors:n})}),(0,t.jsx)(C.k,{backgroundColor:h,type:"submit",className:"mt-7 max-w-[174px]",disabled:c,loading:c,children:"Submit"}),d&&(0,t.jsxs)("p",{className:"font-bold text-ar-red",children:["Something went wrong: ",d]})]})}})]})}function V(e){let{pageData:r}=e,a=(0,n.useSearchParams)().get("service"),d=a?b(a):y.UW4.Gathering,{primaryColor:c}=(0,s.useMemo)(()=>{let e=(0,f.S)({serviceType:d});return{primaryColor:(null==e?void 0:e.primaryColor)||o.bG.Brown}},[d]);return(0,t.jsx)("div",{className:(0,l.Z)((0,i.M)("text",c),"px-[30px]"),children:(0,t.jsx)("div",{className:"mx-auto max-w-[792px]",children:d===y.UW4.Placement?(0,t.jsx)(z,{pageData:r}):(0,t.jsx)(F,{pageData:r})})})}V.Layout=function(e){let{children:r}
1=e,a=(0,g.useRouter)(),h=(0,n.useSearchParams)().get("service"),x=h?b(h):y.UW4.Gathering,{primaryColor:v,secondaryColor:C,backgroundColor:j}=(0,s.useMemo)(()=>{let e=(0,f.S)({serviceType:x});return{primaryColor:(null==e?void 0:e.primaryColor)||o.bG.Brown,secondaryColor:(null==e?void 0:e.primaryColorAlternative)||o.bG.BrownLight,backgroundColor:(null==e?void 0:e.primaryColorAlternative)||o.bG.BeigeLight}},[x]);return(0,t.jsxs)("div",{className:(0,l.Z)("flex min-h-screen flex-col",(0,i.M)("bg",j)),children:[(0,t.jsx)(p(),{href:m.y.home(),scroll:a.asPath.split("#")[0]===m.y.home(),children:(0,t.jsx)("div",{className:(0,l.Z)("flex items-center justify-center pb-14 pt-4"),children:(0,t.jsx)(d.k,{className:(0,i.M)("text",v),icon:(0,t.jsx)(u.Z,{}),size:30})})}),(0,t.jsx)("main",{className:"flex flex-1 flex-col",children:r}),(0,t.jsx)(c.a,{backgroundColor:v,textAndBorderColor:C})]})};var X=!0,Y=V}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=28382)}),_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.