PageSourceSearch

https://www.mias-cafe.com/_next/static/chunks/69665-fd0ef1757967e947.js

js mias-cafe.com collected 2026-09-24 11:08:30 UTC 22,585 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[69665],{37739:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPresetSize=function(e){return["small","middle","large"].includes(e)},t.isValidGapNumber=function(e){return!!e&&"number"==typeof e&&!Number.isNaN(e)}},653:function(e,t,a){"use strict";var r=a(64836).default;t.Z=void 0;var n=r(a(67294)),s=r(a(93967)),l=r(a(18475)),i=a(37739),o=a(59916),_=r(a(60262)),m=r(a(4388)),c=function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,r=Object.getOwnPropertySymbols(e);n<r.length;n++)0>t.indexOf(r[n])&&Object.prototype.propertyIsEnumerable.call(e,r[n])&&(a[r[n]]=e[r[n]]);return a};let d=n.default.forwardRef((e,t)=>{let{prefixCls:a,rootClassName:r,className:d,style:u,flex:f,gap:p,children:v,vertical:h=!1,component:g="div"}=e,x=c(e,["prefixCls","rootClassName","className","style","flex","gap","children","vertical","component"]),{flex:j,direction:C,getPrefixCls:N}=n.default.useContext(o.ConfigContext),y=N("flex",a),[b,T]=(0,_.default)(y),S=null!=h?h:null==j?void 0:j.vertical,E=(0,s.default)(d,r,null==j?void 0:j.className,y,T,(0,m.default)(y,e),{["".concat(y,"-rtl")]:"rtl"===C,["".concat(y,"-gap-").concat(p)]:(0,i.isPresetSize)(p),["".concat(y,"-vertical")]:S}),F=Object.assign(Object.assign({},null==j?void 0:j.style),u);return f&&(F.flex=f),p&&!(0,i.isPresetSize)(p)&&(F.gap=p),b(n.default.createElement(g,Object.assign({ref:t,className:E,style:F},(0,l.default)(x,["justify","wrap","align"])),v))});t.Z=d},60262:function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=a(51617),n=a(4388);let s=e=>{let{componentCls:t}=e;return{[t]:{display:"flex","&-vertical":{flexDirection:"column"},"&-rtl":{direction:"rtl"},"&:empty":{display:"none"}}}},l=e=>{let{componentCls:t}=e;return{[t]:{"&-gap-small":{gap:e.flexGapSM},"&-gap-middle":{gap:e.flexGap},"&-gap-large":{gap:e.flexGapLG}}}},i=e=>{let{componentCls:t}=e,a={};return n.flexWrapValues.forEach(e=>{a["".concat(t,"-wrap-").concat(e)]={flexWrap:e}}),a},o=e=>{let{componentCls:t}=e,a={};return n.alignItemsValues.forEach(e=>{a["".concat(t,"-align-").concat(e)]={alignItems:e}}),a},_=e=>{let{componentCls:t}=e,a={};return n.justifyContentValues.forEach(e=>{a["".concat(t,"-justify-").concat(e)]={justifyContent:e}}),a};t.default=(0,r.genComponentStyleHook)("Flex",e=>{let t=(0,r.mergeToken)(e,{flexGapSM:e.paddingXS,flexGap:e.padding,flexGapLG:e.paddingLG});return[s(t),l(t),i(t),o(t),_(t)]})},4388:function(e,t,a){"use strict";var r=a(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.justifyContentValues=t.flexWrapValues=t.default=t.alignItemsValues=void 0;var n=r(a(93967));let s=t.flexWrapValues=["wrap","nowrap","wrap-reverse"],l=t.justifyContentValues=["flex-start","flex-end","start","end","center","space-between","space-around","space-evenly","stretch","normal","left","right"],i=t.alignItemsValues=["center","start","end","flex-start","flex-end","self-start","self-end","baseline","normal","stretch"],o=(e,t)=>{let a={};return s.forEach(r=>{a["".concat(e,"-wrap-").concat(r)]=t.wrap===r}),a},_=(e,t)=>{let a={};return i.forEach(r=>{a["".concat(e,"-align-").concat(r)]=t.align===r}),a["".concat(e,"-align-stretch")]=!t.align&&!!t.vertical,a},m=(e,t)=>{let a={};return l.forEach(r=>{a["".concat(e,"-justify-").concat(r)]=t.justify===r}),a};t.default=function(e,t){return(0,n.default)(Object.assign(Object.assign(Object.assign({},o(e,t)),_(e,t)),m(e,t)))}},22284:function(e,t){"use strict";t.Z={postCreatForm:"api/contact-us/create-form",postCustomEmail:"/sale/api/contact-us/custom-email/send",getDeliveryInfo:"/api/delivery/config/get",getShopList:"/api/shop/list/",getOverSeaReservationList:"/api/contact-us/get/venue-rental/time-range"}},14949:function(e,t,a){"use strict";a.d(t,{Z:function(){return f}});var r=a(85893),n=a(24344),s=a(25142),l=a(67294),i=a(93967),o=a.n(i),_=a(10367),m=a.n(_),c=a(46613),d=a.n(c),u=e=>{let{onChangeConfirm:t,defaultValue:a,classNamesStyle:n,...i}=e,[_,c]=(0,l.useState)(a||1),[u,f]=(0,l.useState)(""),[p,v]=(0,l.useState)("number"),[h,g]=(0,l.useState)(!1),x=e=>{if(f(e.target.value),!e.target.value){g(!1),v("number");return}g(!0),v(null)},j=e=>{c(e),v("number")};return(0,r.jsxs)("div",{className:"".concat(n," ").concat(d().content),children:[(0,r.jsxs)("div",{className:"reservation_modal_guests_content",children:[[...Array(10)].map((e,t)=>(0,r.jsx)("div",{className:o()("reservation_modal_guests_content_num",{reservation_modal_guests_content_num_active:_===t+1&&"number"===p}),onClick:()=>j(t+1),children:(0,r.jsx)("div",{className:"reservation_modal_guests_content_num_con",children:t+1})},t)),(0,r.jsxs)("div",{className:o()("reservation_modal_guests_content_more",{reservation_modal_guests_content_more_active:"input"===p}),children:[u&&(0,r.jsx)("div",{className:"reservation_modal_guests_content_more_prefix",style:{color:"input"===p?"#fff":"#000"},children:"More"}),(0,r.jsx)(s.Input,{placeholder:"More",style:{color:"input"===p?"#fff":"#000"},value:u,maxLength:3,onChange:e=>{(!e.target.value||/^\d+$/.test(e.target.value))&&x(e)},onFocus:e=>{v(null),e.target.value&&g(!0)},onBlur:()=>{g(!1),""!==u?v("input"):v("number")}})]})]}),(0,r.jsxs)("div",{className:"reservation_modal_guests_footer",children:[(0,r.jsx)(m(),{onClick:i.onCancel,children:"Cancel"}),(0,r.jsx)(m(),{type:"primary",onClick:()=>{null==t||t("number"===p?_:u)},children:"Confirm"})]}),h&&(0,r.jsx)("div",{className:"reservation_modal_guests_content_mask"})]})},f=e=>{let{onChangeConfirm:t,defaultValue:a,classNamesStyle:l,...i}=e,o=(0,n.hU)();return o.isPc?(0,r.jsx)(s.u_,{wrapClassName:"".concat(l," ").concat(d().modal),...i,closable:!1,footer:null,title:"Number of Guests",children:(0,r.jsx)(u,{...i,defaultValue:a,onChangeConfirm:t,classNamesStyle:l})}):(0,r.jsx)(s.dy,{rootClassName:"".concat(l," ").concat(d().modal),...i,onClose:i.onCancel,open:i.isOpen,closable:!1,placement:"bottom",footer:null,title:"Number of Guests",children:(0,r.jsx)(u,{...i,defaultValue:a,onChangeConfirm:t,classNamesStyle:l})})}},19353:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return k}});var r=a(85893),n=a(25142),s=a(58226),l=a(54477),i=a(653),o=a(59916),_=a(10367),m=a.n(_),c=a(67294),d=a(79237),u=a.n(d),f=a(93967),p=a.n(f),v=e=>{let{rootClassName:t,curValue:a,onClick:n,placeHolder:s,icon:l}=e;return(0,r.jsxs)("div",{className:p()(u().formItem,t),onClick:n,children:[(0,r.jsx)("div",{className:"reservation_details_form_reservation_time_content_value",children:a||(0,r.jsx)("span",{children:s})}),(0,r.jsx)("i",{className:"iconfont ".concat(l)})]})}
1,h=a(18069),g=a(19689),x=a(2318),j=a(87005),C=a(27484),N=a.n(C),y=a(12958),b=a(24344),T=a(22284),S=a(14949);let E={components:{Radio:{colorPrimary:"#EF4444"}}},F={display:"flex",flexDirection:"column",gap:8};var k=()=>{let e=n.l0.useForm(),{TextArea:t}=s.default,{appConfig:a}=(0,b.s6)(),[_,d]=(0,c.useState)(!1),[f,C]=(0,c.useState)("Reservation Date"),[k,P]=(0,c.useState)(!1),I=(0,b.QT)({method:"post",url:T.Z.postCreatForm}),w=(0,b.QT)({method:"get",url:T.Z.getOverSeaReservationList}),[M,V]=(0,c.useState)(!1),[q,A]=(0,c.useState)(!1),[O,R]=(0,c.useState)({firstname:"",lastname:"",countryCode:"+1",purePhone:"",email:"",date:"",startTime:"",endTime:"",description:"",spaceCapacity:"ENTIRE_SPACE_350",guests:"",dateForDayjs:N()(),startTimeForDayjs:N()(),endTimeForDayjs:N()()}),[Z,z]=(0,c.useState)([]);(0,c.useEffect)(()=>{D(),e.setFieldsValue({spaceCapacity:"ENTIRE_SPACE_350"})},[]);let D=async()=>{let e=await w.send({appInstanceId:a.appInstanceId});try{var t;let a=null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.filter((e,t,a)=>t===a.findIndex(t=>t.date===e.date&&t.startTime===e.startTime&&t.endTime===e.endTime));z(a)}catch(e){console.log(e,"error")}},G=async()=>{await (null==e?void 0:e.validateFields()),V(!0);try{await I.send(H),y.ZP.success("Reservation successful"),e.setFieldsValue({firstName:"",lastName:"",phone:"",email:"",date:"",startTime:"",endTime:"",description:"",spaceCapacity:"ENTIRE_SPACE_350",guests:""}),R({firstname:"",lastname:"",countryCode:"+1",purePhone:"",email:"",date:"",startTime:"",endTime:"",description:"",spaceCapacity:"ENTIRE_SPACE_350",guests:"",dateForDayjs:N()(),startTimeForDayjs:N()(),endTimeForDayjs:N()()}),e.resetFields(),D(),V(!1)}catch(e){console.error(e,"error"),V(!1)}},L=e=>{let t=N()(e,"hh:mm A");return 60*t.hour()+t.minute()},H=(0,c.useMemo)(()=>{let e={firstname:null==O?void 0:O.firstname,lastname:null==O?void 0:O.lastname,countryCode:null==O?void 0:O.countryCode,purePhone:null==O?void 0:O.purePhone,email:null==O?void 0:O.email,date:N()(null==O?void 0:O.date).format("YYYY-MM-DD"),startTime:L(null==O?void 0:O.startTime),endTime:L(null==O?void 0:O.endTime),description:null==O?void 0:O.description,spaceCapacity:null==O?void 0:O.spaceCapacity,guests:Number(null==O?void 0:O.guests)};return{createForms:[],appInstanceId:a.appInstanceId,techInfo:(0,h.Z)(),venueRental:{...e,formType:"VENUE_RENTAL"}}},[O]);return(0,c.useEffect)(()=>{let e=()=>{P(window.innerWidth-720<=0)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,r.jsxs)("div",{className:u().rental_form,children:[(0,r.jsxs)(n.l0,{className:u().rental_form_user_info_form,form:e,children:[(0,r.jsxs)("div",{className:u().rental_form_user_info_names,children:[(0,r.jsx)(n.l0.Item,{label:"First Name",name:"firstName",requiredMark:!0,labelProps:{shrink:!0},className:u().rental_form_user_info_names_first,rules:[{required:!0},{max:"50"},{pattern:/^[\u0391-\uFFE5a-zA-Z·&\\s]+$/,message:"Invalid name"},{pattern:e=>(0,g.Z)(e),message:"Illegal Character."}],children:(0,r.jsx)(s.default,{type:"text",value:null==O?void 0:O.firstname,placeholder:"First Name",className:p()(u().rental_form_user_info_names_first_input,u().placeholder_input),onChange:t=>{R({...O,firstname:t.target.value}),e.setFieldsValue({firstname:t.target.value})}})}),(0,r.jsx)(n.l0.Item,{label:"Last Name",name:"lastName",requiredMark:!0,labelProps:{shrink:!0},className:u().reservation_user_info_form_names_last,rules:[{required:!0},{max:"50"},{pattern:/^[\u0391-\uFFE5a-zA-Z·&\\s]+$/,message:"Invalid name"},{pattern:e=>(0,g.Z)(e),message:"Illegal Character."}],children:(0,r.jsx)(s.default,{type:"text",value:null==O?void 0:O.lastname,placeholder:"Last Name",className:p()(u().rental_form_user_info_names_last_input,u().placeholder_input),onChange:t=>{R({...O,lastname:t.target.value}),e.setFieldsValue({lastname:t.target.value})}})})]}),(0,r.jsxs)("div",{className:u().rental_form_phone_email_container,children:[(0,r.jsx)(n.l0.Item,{label:"Phone",name:"phone",requiredMark:!0,className:u().rental_form_user_info_phone_item,rules:[{required:!0,message:"Required"},{min:"10",max:"10",message:"Invalid phone number"},{pattern:e=>!(0,x.Z)(e,"+1"),message:"Invalid phone number"}],labelProps:{shrink:!0},children:(0,r.jsx)(s.default,{type:"tel",value:(null==O?void 0:O.purePhone)||"",placeholder:"Phone Number",prefix:(0,r.jsxs)("div",{style:{marginRight:"5px"},children:["+1",(0,r.jsx)("span",{style:{marginLeft:"10px",color:"#6F6F6F"},children:"|"})]}),className:p()(u().rental_form_user_info_phone_input,u().placeholder_input),onChange:t=>{R({...O,purePhone:t.target.value}),e.setFieldsValue({purePhone:t.target.value})}})}
1),(0,r.jsx)(n.l0.Item,{label:"Email",name:"email",requiredMark:!0,className:u().rental_form_user_info_email_item,labelProps:{shrink:!0},rules:[{required:!0},{pattern:/^(\w-*\.*)+@(\w-?)+(\.\w{2,})+$/,message:"Please enter a valid email address."}],children:(0,r.jsx)(s.default,{type:"email",value:null==O?void 0:O.email,placeholder:"Email",onChange:t=>{R({...O,email:t.target.value}),e.setFieldsValue({email:t.target.value})}})})]}),(0,r.jsxs)("div",{className:u().rental_form_date_time_guests_container,children:[(0,r.jsxs)("div",{className:u().rental_form_date_start_time_container,children:[(0,r.jsx)(n.l0.Item,{label:"Select a date",name:"date",requiredMark:!0,labelProps:{shrink:!0},rules:[{required:!0}],children:(0,r.jsx)(v,{rootClassName:"reservation_details_form_reservation_time_content",curValue:null==O?void 0:O.date,placeHolder:"YYYY/MM/DD",onClick:()=>{C("Reservation Date"),d(!0)},icon:"idate"})}),k?(0,r.jsx)(n.l0.Item,{label:"Guests",name:"guests",labelProps:{shrink:!0},requiredMark:!0,rules:[{required:!0,message:"Required"},{pattern:e=>!/^\d+$/.test(e)||0===Number(e),message:"Invalid guests"}],children:(0,r.jsx)(v,{rootClassName:"reservation_details_form_reservation_time_content",curValue:null==O?void 0:O.guests,placeHolder:"Select",onClick:()=>{A(!0)}})}):(0,r.jsx)(n.l0.Item,{label:"Start Time",name:"startTime",requiredMark:!0,labelProps:{shrink:!0},rules:[{required:!0}],children:(0,r.jsx)(v,{rootClassName:"reservation_details_form_reservation_time_content",curValue:null==O?void 0:O.startTime,placeHolder:"Select",onClick:()=>{if(null==O?void 0:O.date)C("Start time"),d(!0);else{e.validateFields(["date"]);return}},icon:"iarrow_line_down"})})]}),(0,r.jsx)("div",{className:u().rental_form_end_time_guests_container,children:k?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.l0.Item,{label:"Start Time",name:"startTime",requiredMark:!0,labelProps:{shrink:!0},rules:[{required:!0}],children:(0,r.jsx)(v,{rootClassName:"reservation_details_form_reservation_time_content",curValue:null==O?void 0:O.startTime,placeHolder:"Select",onClick:()=>{if(null==O?void 0:O.date)C("Start time"),d(!0);else{e.validateFields(["date"]);return}},icon:"iarrow_line_down"})}),(0,r.jsx)(n.l0.Item,{label:"End Time",name:"endTime",requiredMark:!0,labelProps:{shrink:!0},rules:[{required:!0}],children:(0,r.jsx)(v,{rootClassName:"reservation_details_form_reservation_time_content",curValue:null==O?void 0:O.endTime,placeHolder:"Select",onClick:()=>{if(!(null==O?void 0:O.date)){e.validateFields(["date"]);return}if(!(null==O?void 0:O.startTime)){e.validateFields(["startTime"]);return}(null==O?void 0:O.startTime)&&(null==O?void 0:O.date)&&(C("End Time"),d(!0))},icon:"iarrow_line_down"})})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.l0.Item,{label:"End Time",name:"endTime",requiredMark:!0,labelProps:{shrink:!0},rules:[{required:!0}],children:(0,r.jsx)(v,{rootClassName:"reservation_details_form_reservation_time_content",curValue:null==O?void 0:O.endTime,placeHolder:"Select",onClick:()=>{if(!(null==O?void 0:O.date)){e.validateFields(["date"]);return}if(!(null==O?void 0:O.startTime)){e.validateFields(["startTime"]);return}(null==O?void 0:O.startTime)&&(null==O?void 0:O.date)&&(C("End Time"),d(!0))},icon:"iarrow_line_down"})}),(0,r.jsx)(n.l0.Item,{label:"Guests",name:"guests",labelProps:{shrink:!0},requiredMark:!0,rules:[{required:!0,message:"Required"},{pattern:e=>!/^\d+$/.test(e)||0===Number(e),message:"Invalid guests"}],children:(0,r.jsx)(v,{rootClassName:"reservation_details_form_reservation_time_content",curValue:null==O?void 0:O.guests,placeHolder:"Select",onClick:()=>{A(!0)}})})]})})]}),(0,r.jsx)("div",{className:u().rental_form_position_container,children:(0,r.jsx)(n.l0.Item,{label:(0,r.jsxs)("div",{className:u().rental_form_position_instructions_container,children:[(0,r.jsx)("div",{className:u().rental_form_position_instructions_required,children:"*"}),(0,r.jsxs)("div",{className:u().rental_form_position_instructions,children:["From Friday to Sunday after 4 PM, only the second floor is available for rental. ",(0,r.jsx)("br",{}),"At other times, you can choose from:  ",(0,r.jsx)("br",{}),"a. Rent the second floor only. ",(0,r.jsx)("br",{}),"b. Rent both the first and second floors."]})]}),name:"spaceCapacity",labelProps:{shrink:!0},requiredMark:!0,rules:[{required:!0,message:"Required"}],children:(0,r.jsxs)(o.default,{theme:E,children:[k?(0,r.jsx)(l.default.Group,{style:F,onChange:t=>{R({...O,spaceCapacity:t.target.value}),e.setFieldsValue({spaceCapacity:t.target.value})},defaultValue:null==O?void 0:O.spaceCapacity,value:null==O?void 0:O.spaceCapacity,options:[{value:"ENTIRE_SPACE_350",label:(0,r.jsxs)(i.Z,{gap:"small",justify:"center",align:"center",vertical:!0,className:u().rental_form_position_container_label,children:[(0,r.jsx)("div",{className:u().rental_form_position_container_description,children:"Entire Space CAP: 350 PERSONS"}),(0,r.jsx)("div",{className:u().rental_form_position_container_entire_space_cap})]})},{value:"MEZZANINE_80",label:(0,r.jsxs)(i.Z,{gap:"small",justify:"center",align:"center",vertical:!0,children:[(0,r.jsx)("div",{className:u().rental_form_position_container_description,children:"Mezzanine (2nd floor) CAP: 80 persons"}),(0,r.jsx)("div",{className:u().rental_form_position_container_mezzanine_cap})]})}]}):(0,r.jsx)(l.default.Group,{onChange:t=>{R({...O,spaceCapacity:t.target.value}),e.setFieldsValue({spaceCapacity:t.target.value})},value:null==O?void 0:O.spaceCapacity,options:[{value:"ENTIRE_SPACE_350",label:(0,r.jsx)(i.Z,{gap:"small",justify:"center",align:"center",vertical:!0,className:u().rental_form_position_container_label,children:(0,r.jsx)("div",{className:u().rental_form_position_container_description,children:"Entire Space CAP: 350 PERSONS"})})},{value:"MEZZANINE_80",label:(0,r.jsx)(i.Z,{gap:"small",justify:"center",align:"center",vertical:!0,children:(0,r.jsx)("div",{className:u().rental_form_position_container_description,children:"Mezzanine (2nd floor) CAP: 80 persons"})})}]}),(0,r.jsxs)("div",{className:u().rental_form_position_container_background,children:[(0,r.jsx)("div",{className:u().rental_form_position_container_entire_space_cap}),(0,r.jsx)("div",{className:u().rental_form_position_container_mezzanine_cap})]})]})})}),(0,r.jsxs)("div",{className:u().rental_form_tell_us,children:[(0,r.jsx)("div",{className:u().rental_form_tell_us_title,children:"Tell us about your event! Please include an estimated number of guests"}),(0,r.jsx)(t,{className:u().rental_form_tell_us_textarea,rows:4,value:null==O?void 0:O.de
1scription,onChange:e=>{R({...O,description:e.target.value})}}),(0,r.jsx)(m(),{loading:M,className:u().rental_form_tell_us_button,onClick:()=>{G()},children:"Send"})]})]}),(0,r.jsx)(j.default,{isOpen:_,onCancel:()=>d(!1),onChangeTime:t=>{let a=t.format("hh:mm A");"Start time"===f?(R({...O,startTime:a,endTime:""}),e.setFieldsValue({startTime:a,endTime:""})):(R({...O,endTime:a}),e.setFieldsValue({endTime:a}))},onChangeDate:t=>{R({...O,date:t,startTime:"",endTime:""}),e.setFieldsValue({date:t,startTime:"",endTime:""})},date:null==O?void 0:O.date,form:e,type:f,startTime:null==O?void 0:O.startTime,endTime:null==O?void 0:O.endTime,overSeaReservationList:Z}),(0,r.jsx)(S.Z,{classNamesStyle:u().modal_guests_oversea,defaultValue:1,isOpen:q,onCancel:()=>A(!1),onChangeConfirm:t=>{if(!t)return;let a=String(t);R({...O,guests:a}),e.setFieldsValue({guests:a}),A(!1)}})]})}},87005:function(e,t,a){"use strict";a.r(t);var r=a(85893),n=a(67294),s=a(64484),l=a(90475),i=a(18789),o=a.n(i),_=a(36988),m=a(59916);let c={components:{Modal:{contentBg:"#1A1A1A",footerBg:"#1A1A1A",headerBg:"#1A1A1A",titleColor:"#FFF"}}};t.default=e=>{let{isOpen:t,onCancel:a,type:i,onChangeDate:d,onChangeTime:u,startTime:f,endTime:p,overSeaReservationList:v,form:h,date:g}=e,[x,j]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=()=>{j(window.innerWidth-720<=0)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,r.jsx)(m.default,{theme:c,children:x?(0,r.jsxs)(s.Z,{rootClassName:o().modal_reservation_date,open:t,placement:"bottom",onClose:a,height:"Reservation Date"===i?460:360,footer:null,title:i,closable:!1,children:["Reservation Date"===i&&(0,r.jsx)(_.e,{colorScheme:"dark",onCancel:a,onChangeConfirm:d}),("Start time"===i||"End Time"===i)&&(0,r.jsx)(_.L,{colorScheme:"dark",onCancel:a,onChangeConfirm:u,startTime:f,endTime:p,type:i,reservationList:v,form:h,date:g})]}):(0,r.jsxs)(l.Z,{open:t,onCancel:a,wrapClassName:o().modal_reservation_date,footer:null,title:i,children:["Reservation Date"===i&&(0,r.jsx)(_.e,{colorScheme:"dark",onCancel:a,onChangeConfirm:d}),("Start time"===i||"End Time"===i)&&(0,r.jsx)(_.L,{colorScheme:"dark",onCancel:a,onChangeConfirm:u,startTime:f,endTime:p,type:i,reservationList:v,form:h,date:g})]})})}},46613:function(e){e.exports={content:"modalGiests_content__pCeGT",modal:"modalGiests_modal__nPDz8","text-animation":"modalGiests_text-animation__eOZz1"}},79237:function(e){e.exports={rental_form:"form-reservation_rental_form__FRtSE",rental_form_user_info_names:"form-reservation_rental_form_user_info_names__Hin6o",rental_form_phone_email_container:"form-reservation_rental_form_phone_email_container__UGI87",rental_form_date_time_guests_container:"form-reservation_rental_form_date_time_guests_container__MMJ9F",rental_form_date_start_time_container:"form-reservation_rental_form_date_start_time_container__DuZp3",rental_form_end_time_guests_container:"form-reservation_rental_form_end_time_guests_container__96bIx",rental_form_user_info_phone_item:"form-reservation_rental_form_user_info_phone_item__ZAAK_",rental_form_user_info_phone_input:"form-reservation_rental_form_user_info_phone_input__EnSDF",rental_form_position_container:"form-reservation_rental_form_position_container__TT3iQ",rental_form_position_instructions_container:"form-reservation_rental_form_position_instructions_container__KULre",rental_form_position_instructions_required:"form-reservation_rental_form_position_instructions_required__6Xx_l",rental_form_position_instructions:"form-reservation_rental_form_position_instructions__CBGHT",rental_form_position_container_description:"form-reservation_rental_form_position_container_description__yF8Wu",rental_form_position_container_background:"form-reservation_rental_form_position_container_background__F7_Of",rental_form_position_container_entire_space_cap:"form-reservation_rental_form_position_container_entire_space_cap____ZCT",rental_form_position_container_mezzanine_cap:"form-reservation_rental_form_position_container_mezzanine_cap__a_234",rental_form_tell_us:"form-reservation_rental_form_tell_us__B8KcB",rental_form_tell_us_textarea:"form-reservation_rental_form_tell_us_textarea__0zoOm",rental_form_tell_us_button:"form-reservation_rental_form_tell_us_button__lKUWi",rental_form_user_info_email_item:"form-reservation_rental_form_user_info_email_item___TTU8",modal_guests_oversea:"form-reservation_modal_guests_oversea__6vcHd","text-animation":"form-reservation_text-animation__KZ2Q8"}},18789:function(e){e.exports={modal_reservation_date:"reservationTimeModal_modal_reservation_date__t_prD","text-animation":"reservationTimeModal_text-animation__bmSXO"}}}]);

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.