PageSourceSearch

https://www.theculinistas.com/_next/static/chunks/pages/booking-old/a-season-or-long-term-9239bfe0b937af7f.js

js theculinistas.com collected 2026-10-04 16:35:04 UTC 14,945 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5555],{78327:function(e,r,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/booking-old/a-season-or-long-term",function(){return a(2708)}])},98290:function(e,r,a){"use strict";a.d(r,{T:function(){return d}});var l=a(97458),t=a(52983),i=a(74491),s=a(14517),n=a(35031),o=a(11392);let d=t.forwardRef((e,r)=>{let{primaryColor:a,errors:d,register:c,watch:u,...m}=e,h=(0,t.useRef)(null),p=function(e){let r=t.useRef(null);return t.useEffect(()=>{e&&("function"==typeof e?e(r.current):e.current=r.current)}),r}(r),f=(0,n.M)("border",a),x=(0,n.M)("after:bg",a),g=(0,n.M)("text",a),b=(0,n.M)("placeholder:text",a);return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("label",{htmlFor:i.U.typeOfChefOtherOption.value,className:(0,s.Z)((0,n.M)("text",a),"helvetica-12-400 lg:helvetica-14-400 relative inline-flex cursor-pointer items-start"),children:[(0,l.jsx)("input",{id:i.U.typeOfChefOtherOption.value,type:"radio",className:(0,s.Z)(g,f,x,"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,l.jsx)("div",{className:"w-48 lg:mt-[-4px] lg:w-full",children:(0,l.jsx)(o.K,{...c("typeOfChefOtherValue"),variant:o.l.OtherValue,className:(0,s.Z)(g,b),placeholder:i.U.typeOfChefOtherOption.label,primaryColor:a,errors:"other"===u("typeOfChef")?d:null})})]})})})},20604:function(e,r,a){"use strict";a.d(r,{n:function(){return x}});var l=a(97458),t=a(39957),i=a(78906),s=a(85517),n=a(12496),o=a(14517),d=a(35031),c=a(92156),u=a(42424),m=a.n(u),h=a(15783),p=a(77413),f=a(28812);function x(e){let{children:r,pageData:a}=e,u=(0,p.useRouter)(),{activeService:x}=(0,f.x)(u.pathname),{primaryColor:g,secondaryColor:b,backgroundColor:y}=(0,n.n)(x,a.allBookingServiceSettings);return(0,l.jsxs)("div",{className:(0,o.Z)("flex min-h-screen flex-col",(0,d.M)("bg","cookingClasses"===x?h.bG.BeigeLight:y)),children:[(0,l.jsx)(m(),{href:c.y.home(),scroll:u.asPath.split("#")[0]===c.y.home(),children:(0,l.jsx)("div",{className:(0,o.Z)("flex items-center justify-center pt-4 pb-14"),children:(0,l.jsx)(t.k,{className:(0,d.M)("text",g),icon:(0,l.jsx)(s.Z,{}),size:30})})}),(0,l.jsx)("main",{className:"flex flex-1 flex-col",children:r}),(0,l.jsx)(i.a,{backgroundColor:g,textAndBorderColor:b})]})}},43518:function(e,r,a){"use strict";a.d(r,{W:function(){return f}});var l=a(97458),t=a(14517),i=a(52983),s=a(74491),n=a(11392),o=a(35031),d=a(82561),c=a(78778),u=a(98680),m=a(78857),h=a(99099),p=a(61765);function f(e){let{primaryColor:r,className:a,errors:f,title:x,formMethods:g}=e,{watch:b,control:y,resetField:v,register:C}=g,[N,j]=(0,i.useState)(!1),w={visible:{height:"auto",opacity:1,marginBottom:"true"===b("knowAddress")?"40px":0,transition:{height:{duration:.3,delay:N?.5:0},opacity:{duration:.2,delay:N?.7:.3},marginBottom:{duration:.3,delay:N?.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&&j(!0),"true"===k&&v("location")},[k,v]),(0,l.jsxs)(p.N,{title:x,childrenClassName:(0,t.Z)("flex flex-col"),className:a,borderColor:r,children:[(0,l.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,l.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,l.jsx)(h.j,{className:"grid grid-cols-3 gap-x-7 gap-y-7 [&>div:nth-child(-n+2)]:col-span-3",...g,primaryColor:r,variant:"simple"})}),(0,l.jsxs)(l.Fragment,{children:[(0,l.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,l.jsx)(c.E.div,{variants:w,initial:"false"===b("knowAddress")?"visible":"hidden",animate:"false"===b("knowAddress")?"visible":"hidden",className:"z-10",children:(0,l.jsx)(n.K,{...C("location"),placeholder:s.U.noAddressPlaceholder,primaryColor:r,variant:n.l.Post,className:(0,t.Z)((0,o.M)("text",r),(0,o.M)("placeholder:text",r),"mt-5"),errors:f,name:"location"})})]}),(null==f?void 0:f.knowAddress)&&(0,l.jsx)(m.P,{className:"mt-5",error:null==f?void 0:f.knowAddress})]})}},5037:function(e,r,a){"use strict";a.d(r,{U:function(){return n}});var l=a(97458);a(52983);var t=a(74870),i=a(37249),s=a(90015);
1function n(e){let{title:r,description:a,images:n,article:o,recipe:d,noIndex:c,openGraphTitle:u,openGraphDescription:m}=e,{siteName:h,siteDescription:p}=(0,s.K)(),f={noIndex:c,description:a||p,images:n||t.nI.images,url:t.nI.url,siteName:h,ogTitle:"".concat(t.nI.siteName," | ").concat(r||t.nI.title)},x=Array.isArray(f.images)?f.images.filter(e=>!!e&&"object"==typeof e&&"string"==typeof e.url&&!!e.url).map(e=>({url:e.url,alt:e.alt||f.description||t.nI.description})):[],g=null,b=null;return o&&(g={url:"",title:"",images:[],datePublished:"",authorName:"",description:""}),d&&(b={name:"",description:"",authorName:"",ingredients:[],instructions:[]}),(0,l.jsxs)(l.Fragment,{children:[g&&(0,l.jsx)(i.dX,{...g}),b&&(0,l.jsx)(i.P8,{...b}),(0,l.jsx)(i.PB,{title:r,titleTemplate:"%s | ".concat(f.siteName),defaultTitle:"".concat(t.nI.title," | ").concat(f.siteName),description:f.description,noindex:c,nofollow:c,openGraph:{url:f.url,title:u||f.ogTitle,description:m||f.description,images:x.length?x:void 0,siteName:t.nI.siteName,locale:"en_US"},twitter:{site:t.nI.twitterSite,cardType:"summary_large_image"}})]})}},28812:function(e,r,a){"use strict";a.d(r,{x:function(){return t}});var l=a(92156);let t=e=>{let r;return e===l.y.inquiry(l.y.deprecated_bookingGatherings())?r="gatherings":e===l.y.inquiry(l.y.deprecated_bookingCookingClasses())?r="cookingClasses":e===l.y.deprecated_bookingCustomChefServices()&&(r="customChefServices"),{activeService:r}}},12496:function(e,r,a){"use strict";a.d(r,{n:function(){return t}});var l=a(17111);function t(e,r){let a=l.DM.services[e].slug,t=(null==r?void 0:r.find(e=>e.pageSlug===a))||l.DM.services[e];return t?{...t}:null}},2708:function(e,r,a){"use strict";a.r(r),a.d(r,{__N_SSG:function(){return E},default:function(){return M}});var l=a(97458),t=a(14517),i=a(20604),s=a(52983),n=a(18844),o=a(56097),d=a(10248),c=a(59119),u=a(57399),m=a(99068),h=a(47411),p=a(83794),f=a(98024),x=a(74491),g=a(12496),b=a(97405),y=a(77413),v=a(92156),C=a(83679),N=a(39761),j=a(82561),w=a(78857),k=a(98290),_=a(64385),q=a(28812),S=a(61765),U=a(43518);function O(e){let{pageData:r}=e,a=(0,y.useRouter)(),{activeService:t}=(0,q.x)(a.pathname),{primaryColor:i,secondaryColor:O,inquiryHeader:Z,inquirySubheader:A}=(0,g.n)(t,r.allBookingServiceSettings),[P,E]=(0,s.useState)(null),M=(0,m.Ry)().shape({firstName:(0,m.Z_)().required("First name is required"),lastName:(0,m.Z_)().required("Last name is required"),email:(0,m.Z_)().required("Email is required").email("Please enter valid email address"),phone:(0,m.Z_)().required("Phone is required").test("valid phone number","Phone number is not valid",e=>(0,N.y)(e,"US")),startDate:(0,m.hT)().required("Start date is required").typeError("Start date is required"),endDate:(0,m.hT)().nullable().transform((e,r)=>""===r?null:e).min((0,m.iH)("startDate"),()=>"The end date is earlier than the start date"),numberDays:(0,m.Rx)().required("Number of days is required").typeError("Number of days is required").min(1,"Minimum number of days is one"),numberMeals:(0,m.Rx)().required("Number of days is required").typeError("Number of days is required").min(1,"Minimum number of days is one"),typeOfChef:(0,m.Z_)().nullable().required("Please select one option"),housingForChef:(0,m.Z_)().nullable().required("Please select one option"),numberGuests:(0,m.Z_)().nullable().required("Please select one option"),knowAddress:(0,m.Z_)().nullable().required("Please select one option"),location:(0,m.Z_)().nullable().when("knowAddress",{is:"false",then:(0,m.Z_)().nullable().required("Location is required")}),address:(0,m.Ry)().shape({streetAddress:(0,m.Z_)().nullable().when("knowAddress",{is:"true",then:(0,m.Z_)().nullable().required("Address is required")}),streetAddress2:(0,m.Z_)().nullable().when("knowAddress",{is:"true",then:(0,m.Z_)().nullable().required("Address is required")}),city:(0,m.Z_)().nullable().when("knowAddress",{is:"true",then:(0,m.Z_)().nullable().required("City is required")}),state:(0,m.Z_)().nullable().when("knowAddress",{is:"true",then:(0,m.Z_)().nullable().required("State is required")}),zipCode:(0,m.Z_)().nullable().when("knowAddress",{is:"true",then:(0,m.Z_)().nullable().required("Zip Code is required")})}),typeOfChefOtherValue:(0,m.Z_)().nullable().when("typeOfChef",{is:"other",then:(0,m.Z_)().nullable().required("Please fill out field above.")})});(0,s.useEffect)(()=>{let e=document.documentElement;e.style.setProperty("--calendar-primary-color",C.COLORS[i]),e.style.setProperty("--calendar-secondary-color",C.COLORS[O])},[i,O]);let D=async e=>{try{(null==e?void 0:e.subscription)&&(null==e?void 0:e.email)&&await (0,_.N)(e.email),a.push(v.y.deprecated_bookingCustomSuccess(a.pathname))}catch(e){E(e.message)}};return(0,l.jsxs)("section",{className:"pb-[148px] lg:pb-[208px]",children:[(0,l.jsx)("h1",{className:"editorial-32 lg:editorial-56 pb-3 text-center",children:Z||x.U.title}),(0,l.jsx)("p",{className:"garamond-16 lg:garamond-18 mx-auto max-w-[609px] pb-14 text-center",children:A||x.U.description}),(0,l.jsx)(o.S,{onSubmit:D,config:{resolver:(0,u.X)(M)},className:"flex flex-col items-center gap-[30px]",children:e=>{let{watch:r,register:a,setValue:t,trigger:o,control:u,formState:{errors:m,isSubmitting:g}}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(S.N,{title:x.U.typeOfChefSection,children:[(0,l.jsxs)("div",{className:"mb-5 grid gap-4 lg:grid-flow-col lg:grid-cols-3 lg:grid-rows-2 lg:gap-[30px]",children:[x.U.typeOfChefOptions.map(e=>(0,l.jsx)("div",{children:(0,s.createElement)(j.a,{...a("typeOfChef"),id:e.value,key:e.value,primaryColor:i,additionalLabelClassName:"helvetica-12-500 lg:helvetica-14-500",labelClassName:"w-full",variant:"small",...e})},e.value)),(0,l.jsx)(k.T,{...a("typeOfChef"),primaryColor:i,errors:m,register:a,watch:r,...x.U.typeOfChefOtherOption})]}),(null==m?void 0:m.typeOfChef)&&(0,l.jsx)(w.P,{error:null==m?void 0:m.typeOfChef})]}),(0,l.jsxs)(S.N,{title:x.U.housingForChefSection,childrenClassName:"lg:flex lg:flex-wrap lg:gap-x-10 grid gap-[10px] grid-cols-2",children:[x.U.housingForChefOptions.map(e=>(0,l.jsx)("div",{children:(0,s.createElement)(j.a,{...a("housingForChef"),id:e.value,key:e.value,primaryColor:i,variant:"small",...e})},e.value)),(null==m?void 0:m.housingForChef)&&(0,l.jsx)("div",{className:"w-full",children:(0,l.jsx)(w.P,{error:null==m?void 0:m.housingForChef})})]}),(0,l.jsxs)(S.N,{title:x.U.datesSection,childrenClassName:"grid gap-[30px] lg:grid-cols-[repeat(2,minmax(250px,1fr))]",children:[(0,l.jsx)(f.f,{...a("startDate"),control:u,placeholder:x.U.startDate,primaryColor:i}),(0,l.jsx)(f.f,{...a("endDate"),control:u,placeholder:x.U.endDate,primaryColor:i})]}),(0,l.jsxs)(S.N,{title:x.U.frequencySection,children:[(0,l.jsx)(c.e,{...a("numberDays"),type:"number",label:x.U.numberDays,className:"max-h-8 max-w-[300px]",primaryColor:i,errors:m}),(0,l.jsx)("p",{className:"helvetica-12-500 lg:helvetica-14-500 my-10",children:x.U.frequencySectionSecond}),(0,l.jsx)(c.e,{...a("numberMeals"),type:"number",label:x.U.numberMeals,className:"max-h-8 max-w-[300px]",primaryColor:i,errors:m})]}),(0,l.jsxs)(S.N,{title:x.U.numberGuestsSection,childrenClassName:"grid gap-4 lg:grid-cols-3 lg:gap-x-[30px] lg:gap-y-4",children:[x.U.numberGuestsOptions.map(e=>(0,l.jsx)("div",{children:(0,s.createElement)(j.a,{...a("numberGuests"),id:e.value,key:e.value,primaryColor:i,variant:"small",...e})},e.value)),(null==m?void 0:m.numberGuests)&&(0,l.jsx)(w.P,{error:null==m?void 0:m.numberGuests})]}),(0,l.jsxs)(S.N,{title:x.U.customerSection,childrenClassName:"grid gap-4 lg:grid-cols-[repeat(2,minmax(250px,1fr))] lg:gap-[30px]",children:[(0,l.jsx)(c.e,{...a("firstName"),label:
1x.U.firstName,primaryColor:i,errors:m}),(0,l.jsx)(c.e,{...a("lastName"),label:x.U.lastName,primaryColor:i,errors:m}),(0,l.jsx)(c.e,{...a("email"),label:x.U.email,primaryColor:i,errors:m}),(0,l.jsx)(c.e,{...a("phone"),label:x.U.phone,primaryColor:i,errors:m})]}),(0,l.jsx)(U.W,{title:x.U.householdSection,className:"[&>h3]:pb-6 [&>h3]:lg:pb-10",errors:m,primaryColor:i,formMethods:e}),(0,l.jsx)(S.N,{title:x.U.anythingSection,children:(0,l.jsx)(d.C,{...a("information"),className:"helvetica-10-400 lg:helvetica-12-400 p-4 leading-[135%] focus:border-ar-culinista-black focus:border-opacity-80 focus:shadow-none focus:ring-0 lg:leading-[135%]",placeholder:x.U.anything,primaryColor:i,rows:6,errors:m})}),(0,l.jsx)(S.N,{title:x.U.hearSection,children:(0,l.jsx)(p.W,{...a("hear"),options:b.es,label:"Select one",hoverColor:O,variant:"small",className:"max-w-[300px]",inputClassName:"placeholder:text-opacity-100",onChange:e=>t("hear",e),trigger:o})}),(0,l.jsx)("div",{className:"w-full",children:(0,l.jsx)(h.W,{...a("subscription"),label:x.U.subscribeToNewsletter,themeColor:i,defaultChecked:!0,errors:m})}),(0,l.jsx)(n.k,{backgroundColor:i,type:"submit",className:"mt-7 max-w-[174px]",disabled:g,loading:g,children:"Submit"}),P&&(0,l.jsxs)("p",{className:"font-bold text-ar-red",children:["Something went wrong: ",P]})]})}})]})}var Z=a(35031),A=a(5037);function P(e){var r,a,i,s;let{pageData:n}=e,o=(0,y.useRouter)(),{activeService:d}=(0,q.x)(o.pathname),{primaryColor:c}=(0,g.n)(d,n.allBookingServiceSettings);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(A.U,{title:null===(r=n.metaData)||void 0===r?void 0:r.title,description:null===(a=n.metaData)||void 0===a?void 0:a.description,images:(null===(i=n.metaData)||void 0===i?void 0:i.image)?[null===(s=n.metaData)||void 0===s?void 0:s.image]:[],noIndex:!n.seo}),(0,l.jsx)("div",{className:(0,t.Z)((0,Z.M)("text",c),"px-[30px]"),children:(0,l.jsx)("div",{className:"mx-auto max-w-[792px]",children:(0,l.jsx)(O,{pageData:n})})})]})}P.Layout=i.n;var E=!0,M=P}},function(e){e.O(0,[7249,2888,9774,179],function(){return e(e.s=78327)}),_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.