1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1685],{69745:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tenant-page/overseadistilleryandbar/pages/venue-rentals/form-reservation/reservationTimeModal",function(){return t(87005)}])},87005:function(e,n,t){"use strict";t.r(n);var o=t(85893),r=t(67294),a=t(64484),i=t(90475),s=t(18789),l=t.n(s),d=t(36988),m=t(59916);let c={components:{Modal:{contentBg:"#1A1A1A",footerBg:"#1A1A1A",headerBg:"#1A1A1A",titleColor:"#FFF"}}};n.default=e=>{let{isOpen:n,onCancel:t,type:s,onChangeDate:_,onChangeTime:f,startTime:u,endTime:h,overSeaReservationList:v,form:C,date:p}=e,[w,T]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=()=>{T(window.innerWidth-720<=0)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[]),(0,o.jsx)(m.default,{theme:c,children:w?(0,o.jsxs)(a.Z,{rootClassName:l().modal_reservation_date,open:n,placement:"bottom",onClose:t,height:"Reservation Date"===s?460:360,footer:null,title:s,closable:!1,children:["Reservation Date"===s&&(0,o.jsx)(d.e,{colorScheme:"dark",onCancel:t,onChangeConfirm:_}),("Start time"===s||"End Time"===s)&&(0,o.jsx)(d.L,{colorScheme:"dark",onCancel:t,onChangeConfirm:f,startTime:u,endTime:h,type:s,reservationList:v,form:C,date:p})]}):(0,o.jsxs)(i.Z,{open:n,onCancel:t,wrapClassName:l().modal_reservation_date,footer:null,title:s,children:["Reservation Date"===s&&(0,o.jsx)(d.e,{colorScheme:"dark",onCancel:t,onChangeConfirm:_}),("Start time"===s||"End Time"===s)&&(0,o.jsx)(d.L,{colorScheme:"dark",onCancel:t,onChangeConfirm:f,startTime:u,endTime:h,type:s,reservationList:v,form:C,date:p})]})})}},18789:function(e){e.exports={modal_reservation_date:"reservationTimeModal_modal_reservation_date__t_prD","text-animation":"reservationTimeModal_text-animation__bmSXO"}}},function(e){e.O(0,[90475,36988,49774,92888,40179],function(){return e(e.s=69745)}),_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.