@timum/booking 1.11.2 → 1.11.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/booking.js CHANGED
@@ -67320,7 +67320,7 @@ const Wl = 14, fu = '"Ek Mukta","Helvetica Neue", Helvetica, Arial, sans-serif',
67320
67320
  // validation: is in built and ignored
67321
67321
  },
67322
67322
  message: {
67323
- index: 7,
67323
+ index: 4,
67324
67324
  title: "fields.message",
67325
67325
  type: "textarea",
67326
67326
  validation: al().max(1024).test(
@@ -67332,7 +67332,7 @@ const Wl = 14, fu = '"Ek Mukta","Helvetica Neue", Helvetica, Arial, sans-serif',
67332
67332
  onChange: (e) => e.replace(RN, "")
67333
67333
  },
67334
67334
  agbs: {
67335
- index: 8,
67335
+ index: 5,
67336
67336
  title: "fields.accept_timum_privacy",
67337
67337
  type: "checkbox",
67338
67338
  validation: S2().required("validation.field_required").test(
@@ -67342,7 +67342,7 @@ const Wl = 14, fu = '"Ek Mukta","Helvetica Neue", Helvetica, Arial, sans-serif',
67342
67342
  )
67343
67343
  },
67344
67344
  locale: {
67345
- index: 9,
67345
+ index: 6,
67346
67346
  preventRendering: !0
67347
67347
  }
67348
67348
  },
@@ -1292,7 +1292,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1292
1292
  .fc .fc-v-event .fc-event-title {
1293
1293
  display: none !important;
1294
1294
  }
1295
- `;function xze(){const e=Ce(t=>Pne(t,"useCustomTimumCss"));return $.jsxs($.Fragment,{children:[e&&$.jsx(w4,{styles:bze}),$.jsx(w4,{styles:yze})]})}function wze(e){const t=Ce(gu),n=Ce(_ne),r=Ce(s=>ze(s,"calendarFrontend")),i=Ce(s=>ze(s,"calendarFrontendOptions"));let o=V4(n??{});if(o=_ae(o,{factor:2.5}),t)return $.jsxs(Pae,{theme:o,children:[$.jsx(Ahe,{}),$.jsx(xze,{}),r==="fullCalendar"&&$.jsx(tf,{...e,...i.fullCalendar,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:$.jsx(nG,{})}),r==="detailsFullCalendar"&&$.jsx(tf,{...e,...i.detailsFullCalendar,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:$.jsx(x$,{CalendarView:nG})}),(r==="pureListView"||r==="listView")&&$.jsx(tf,{...e,...i.pureListView,...i.listView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:$.jsx($$,{})}),r==="detailsListView"&&$.jsx(tf,{...e,...i.detailsListView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:$.jsx(x$,{CalendarView:$$})}),r==="condensedView"&&$.jsx(tf,{...e,...i.condensedView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:$.jsx(oG,{})}),r==="detailsCondensedView"&&$.jsx(tf,{...e,...i.detailsCondensedView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:$.jsx(x$,{CalendarView:oG})}),r!=="fullCalendar"&&r!=="detailsFullCalendar"&&r!=="condensedView"&&r!=="detailsCondensedView"&&r!=="detailsListView"&&r!=="listView"&&r!=="pureListView"&&$.jsxs($.Fragment,{children:["You must set calendarFrontend either to ",$.jsx("code",{children:"fullCalendar"}),","," ",$.jsx("code",{children:"detailsFullCalendar"}),",",$.jsx("code",{children:"listView"}),","," ",$.jsx("code",{children:"detailsListView"}),", ",$.jsx("code",{children:"condensedView"})," or"," ",$.jsx("code",{children:"detailsCondensedView"})," in your config."]})]})}var D6={},Sze=Tn;Object.defineProperty(D6,"__esModule",{value:!0});var sG=D6.default=void 0,Cze=Sze(jn()),$ze=$;sG=D6.default=(0,Cze.default)((0,$ze.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function vm(e){const{children:t,onClose:n,...r}=e;return $.jsxs(CI,{sx:{m:0,p:2},...r,children:[t,n?$.jsx(a0,{"aria-label":"close",onClick:n,sx:{position:"absolute",right:8,top:8,color:i=>i.palette.grey[500]},children:$.jsx(sG,{})}):null]})}vm.propTypes={children:rt.node,onClose:rt.func.isRequired};const Nl=14,dc='"Ek Mukta","Helvetica Neue", Helvetica, Arial, sans-serif',Uf=Math.floor(Nl*1.428571429),Tze=kf(Math.floor(Nl*2.6)),kze=kf(Math.floor(Nl*2.3)),Eze=kf(Math.floor(Nl*1.9)),Aze=kf(Math.floor(Nl*1.5)),Rze=kf(Math.floor(Nl*1.15)),_ze=kf(Math.floor(Nl)),M6=/(\u00a9|\u00ae|[\u2000-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff])/g,fc={appConfig:{host:"https://www.timum.de",resource_channel:"RESOURCE_REFERENCE",calendarFrontend:"detailsListView",calendarFrontendOptions:{condensedView:{forceResourceSelectorDialog:!0}},allowCloseOnBooking:!0,hideTimumFooter:!1,sendCustomValuesAsMessage:!1,gatherAddressData:!1,height:500,fields:{firstName:{index:0,title:"fields.firstName",validation:kl().required("validation.field_required")},lastName:{index:1,title:"fields.lastName",validation:kl().required("validation.field_required")},email:{index:2,title:"fields.email",format:"email",type:"text",validation:kl().email("validation.email_field_must_be_valid").required("validation.field_required")},mobile:{index:3,title:"fields.mobile",type:"phoneNumber",isRequired:!1,defaultCountry:"DE",preferredCountries:["DE","CH","AT"]},message:{index:7,title:"fields.message",type:"textarea",validation:kl().max(1024).test("no-emojis","validation.no_emojis",e=>!M6.test(e)),limit:1024,onChange:e=>e.replace(M6,"")},agbs:{index:8,title:"fields.accept_timum_privacy",type:"checkbox",validation:I2().required("validation.field_required").test("privacyAccepted","validation.privacy_field_required",e=>e===!0)},locale:{index:9,preventRendering:!0}},interfaces:{UnkownBookingPage:({open:e,onClose:t,children:n})=>{const r=ns(),i=So(r.breakpoints.down("sm"));return $.jsxs(fl,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[$.jsx(vm,{onClose:t}),$.jsx(pl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(ef,{maxWidth:"sm",sx:{p:0},children:n})})]})},IdentifiedBookingPage:({open:e,onClose:t,children:n})=>{const r=ns(),i=So(r.breakpoints.down("sm"));return $.jsxs(fl,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[$.jsx(vm,{onClose:t}),$.jsx(pl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(ef,{maxWidth:"sm",sx:{p:0},children:n})})]})},ConfirmationPage:e=>{const{open:t,onClose:n,allowCloseOnBooking:r,children:i}=e,o=ns(),s=So(o.breakpoints.down("sm"));return $.jsxs(fl,{open:t,onClose:()=>{r&&n()},hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:s,children:[r&&$.jsx(vm,{onClose:n}),$.jsx(pl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(ef,{maxWidth:"sm",sx:{p:0},children:i})})]})},LoginPage:({open:e,onClose:t,children:n})=>$.jsx(fl,{open:e,onClose:t,hideBackdrop:!0,fullWidth:!0,children:$.jsx(pl,{children:n})}),CancelPage:({open:e,onClose:t,children:n})=>{const r=ns(),i=So(r.breakpoints.down("sm"));return $.jsxs(fl,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[$.jsx(vm,{onClose:t}),$.jsx(pl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(ef,{maxWidth:"sm",sx:{p:0},children:n})})]})},ResourcePage:({mobileOpen:e,mobileOnClose:t,shouldDisplay:n,height:r,children:i})=>{const o=ns(),s=So(o.breakpoints.down("sm"));return $.jsxs($.Fragment,{children:[$.jsx(fl,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:s,children:$.jsx(pl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(ef,{maxWidth:"sm",sx:{p:0},children:i})})}),n&&$.jsxs(he,{xs:"auto",item:!0,container:!0,display:{xs:"none",sm:"flex"},wrap:"nowrap",sx:{mr:2,maxHeight:r,boxSizing:"border-box"},children:[$.jsx(he,{item:!0,xs:"auto",children:i}),$.jsx(he,{item:!0,xs:"1",children:$.jsx(kI,{orientation:"vertical",variant:"middle"})})]})]})},ProductPage:({open:e,onClose:t,children:n})=>{const r=ns(),i=So(r.breakpoints.down("sm"));return $.jsx(fl,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:$.jsx(pl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(ef,{maxWidth:"sm",sx:{p:0},children:n})})})},ErrorDialog:({open:e,onClose:t})=>{const{t:n}=An();return $.jsxs(fl,{open:e,onClose:t,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[$.jsx(CI,{id:"alert-dialog-title",children:n("reservation_failed.title")}),$.jsx(pl,{children:$.jsx(n0e,{id:"alert-dialog-description",children:n("reservation_failed.message")})}),$.jsx(Whe,{children:$.jsx(Ro,{onClick:t,autoFocus:!0,children:"Ok"})})]})}},callbacks:{}},muiTheme:{palette:{primary:{main:"#337ab7"},secondary:{main:"#777"},success:{main:"#5cb85c"},warning:{main:"#f0ad4e"},error:{main:"#d9534f"},info:{main:"#5bc0de"}},shape:{borderRadius:4},typography:{fontFamily:dc,fontSize:Nl,h1:{fontFamily:dc,fontWeight:500,lineHeight:1,fontSize:`${Tze}rem`},h2:{fontFamily:dc,fontWeight:500,lineHeight:1,fontSize:`${kze}rem`},h3:{fontFamily:dc,fontWeight:500,lineHeight:1,fontSize:`${Eze}rem`},h4:{fontFamily:dc,fontWeight:500,lineHeight:1,fontSize:`${Aze}rem`},h5:{fontFamily:dc,fontWeight:500,lineHeight:1,fontSize:`${Rze}rem`},h6:{fontFamily:dc,fontWeight:500,lineHeight:1,fontSize:`${_ze}rem`}},components:{MuiCssBaseline:{styleOverrides:{body:{scrollbarColor:"#bfbfbf #ffffff","&::-webkit-scrollbar, & *::-webkit-scrollbar":{backgroundColor:"#ffffff"},"&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb":{borderRadius:8,backgroundColor:"#bfbfbf",minHeight:8,width:3,border:"5px solid #ffffff"},"&::-webkit-scrollbar-thumb:focus, & *::-webkit-scrollbar-thumb:focus":{backgroundColor:"#8f8f8f"},"&::-webkit-scrollbar-thumb:active, & *::-webkit-scrollbar-thumb:active":{backgroundColor:"#8f8f8f"},"&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover":{backgroundColor:"#8f8f8f"},"&::-webkit-scrollbar-corner, & *::-webkit-scrollbar-corner":{backgroundColor:"#ffffff"}}}},MuiButton:{styleOverrides:{root:{borderRadius:4}}},MuiTextField:{defaultProps:{variant:"outlined"}},MuiListItem:{styleOverrides:{root:{borderRadius:4}}},MuiListItemButton:{styleOverrides:{root:{borderRadius:4}}},MuiListItemText:{styleOverrides:{borderRadius:4}},MuiTypography:{styleOverrides:{h1:{marginBottom:Uf/2},h2:{marginBottom:Uf/2},h3:{marginBottom:Uf/2},h4:{marginBottom:Uf/2},h5:{marginBottom:Uf/2},h6:{marginBottom:Uf/2}}}}},fcConfig:{initialView:"timeGridWeek",useCustomTimumCss:!0,displayEventEnd:!1,scrollTimeReset:!1,scrollTime:"09:00:00",views:{timeGridWeek:{slotMinTime:"08:00:00",slotMaxTime:"21:00:00",allDaySlot:!1}}}},Oze="(timum\\.de|timum\\.at|timum\\.com|timum\\.fr|timum\\.io|timum\\.es|timum\\.it|timum\\.co.uktimum\\.nl|timum\\.eu|timum\\.info|timum\\.org|timum\\.me|localhost(:[0-9]+)?|127\\.0\\.0\\.1(:[0-9]+)?)",Pze=new RegExp(`^https?://([a-zA-Z0-9-]+\\.)*${Oze}$`);function aG(e){if(typeof e=="string"){const t=e.match(/^(\d+)/);return t&&t[1]?Number(t[1]):500}else if(typeof e=="number")return e;return 500}const Dze=({wait:e,height:t,children:n})=>{const r=Ce(d4),i=Ce(gu);if(e)return $.jsx(ey,{sx:{height:t?t+"px":"500px",width:"100%",position:"absolute",display:"flex",justifyContent:"center",alignItems:"center",pointerEvents:"none",backgroundColor:"#ffffffc5",zIndex:o=>o.zIndex.drawer+1},open:!0,children:$.jsx(ny,{sx:{color:"#777",zIndex:o=>o.zIndex.drawer+2}})});if(!e&&r&&i)return n},lG=({muiTheme:e={},fcConfig:t={},appConfig:n={},children:r})=>{const i=mv(),o=Ce(Mne),s=Ce(Ine),a=Ce(Nne),l=re.useMemo(()=>{var b;return(b=n==null?void 0:n.callbacks)==null?void 0:b.fetchingPublicDataFailed},[n]),[u,{isFetching:d,error:f}]=yte(),[m,{isFetching:h}]=hte(),[g,{isFetching:v}]=gte(),w=R.useCallback((b=n,y=e,S=t)=>{const C=hG(b);C&&(mG(C,y,S,o,s,a,i),pG(C,i,u,m,g))},[n,e,t,o,s,a,i,u,m,g]);if(re.useEffect(()=>{const b=y=>{var S,C,T,k,A;Pze.test(y.origin)&&((S=y.data)==null?void 0:S.type)==="rerender"?w({...(C=y.data)==null?void 0:C.appConfig},{...(T=y.data)==null?void 0:T.muiTheme},{...(k=y.data)==null?void 0:k.fcConfig}):((A=y.data)==null?void 0:A.type)==="rerender"&&console.error("ConfigHandler received a message from an unexpected origin:",y.origin)};return window.addEventListener("message",b),()=>{window.removeEventListener("message",b)}},[w,n]),re.useEffect(()=>{const b=hG(n);b&&(mG(b,e,t,o,s,a,i),pG(b,i,u,m,g))},[n,e,t,i,o,s,a,u,m,g]),f)l&&l(f);else return $.jsx(Dze,{height:aG(n==null?void 0:n.height),wait:h||d||v,children:r})};function Mze(e,t){e&&Object.hasOwn(e,"message")&&typeof e.message>"u"&&delete t.message,e&&Object.hasOwn(e,"mobile")&&typeof e.mobile>"u"&&delete t.mobile,e&&Object.hasOwn(e,"email")&&typeof e.email>"u"&&delete t.email,e&&Object.hasOwn(e,"firstName")&&typeof e.firstName>"u"&&delete t.firstName,e&&Object.hasOwn(e,"lastName")&&typeof e.lastName>"u"&&delete t.lastName}function uG(e,t,n){if(n||(n={}),typeof t>"u"&&(t=0),t>=Object.entries(e).length)return n;for(const[r,i]of Object.entries(e))i&&i.index===t&&(n[r]=i);return t++,uG(e,t,n)}function Ize(e){var t=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return t?t.pop():""}function I6(e,t,n){if(!e.includes("@")&&!e.match(/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i))if(!t)console.warn("One or more ref parameters aren't fully qualified AND you have not provided a `platform` prop which allows timum to do it for you. Most likely timum won't find anything. Please either add a platform prop to your configuration or use a full reference in either the ref prop or a ref url parameter.");else return`${e}${n?"@"+n:""}@${t}`;return e}const cG=(e,t)=>{e&&!t.includes(e)&&t.push(e)},dG=(e,t)=>{e&&(e.forEach?e.forEach(n=>{t[n.resource.uuid]={...n}}):t[e.resource.uuid]={...e})},fG=(e,t)=>{e&&e.forEach(n=>{t[n.resource.uuid]?(t[n.resource.uuid].bookables=n.bookables,t[n.resource.uuid].products=n.products):t[n.resource.uuid]={...n}})};async function pG(e,t,n,r,i){var h,g;let o={};const s=e==null?void 0:e.ref,a=e==null?void 0:e.tslRefs,l=e==null?void 0:e.prdRefs,u=e==null?void 0:e.additionalData,d=e==null?void 0:e.publicData,f=e==null?void 0:e.tsls,m=e==null?void 0:e.channelKey;if((s==null?void 0:s.length)>0&&!(d!=null&&d.length)>0){const v=await n({channelOrResourceId:s[0],params:{channelKey:m,ref:s,...u}});dG(v==null?void 0:v.data,o)}if((d==null?void 0:d.length)>0&&dG(d,o),(a==null?void 0:a.length)>0&&!(f!=null&&f.length)>0){const v=await r({params:{channelKey:m,tlsIds:a,...u}});fG(v==null?void 0:v.data,o)}if((f==null?void 0:f.length)>0&&fG(f,o),(l==null?void 0:l.length)>0){Object.values(o).forEach(b=>{var y;b.bookables&&((y=Object.values(b.bookables))==null||y.forEach(S=>{S.forEach(C=>{var T;cG(C.product_uuid,l),(T=C.products)==null||T.forEach(k=>{cG(k.uuid,l)})})}))});const v=await i({params:{prdRefs:l,additionalData:u}}),w=Object.entries(o).filter(([,b])=>{var S,C;if(((C=(S=b.resource)==null?void 0:S.supportedProducts)==null?void 0:C.length)===0)return!1;const y=v.data.filter(T=>{var A;const k=(A=b.resource)==null?void 0:A.supportedProducts;return k&&k.some(_=>_===T.uuid)});return console.log(y),y.length===0?!1:(b.products=y,!0)});console.log(w),o=Object.fromEntries(w),console.log(o)}if(t(Rne(o)),Object.values(o).length>1)if(e.cancelableAppointment){let v=!1;for(const w of Object.values(o))((h=w==null?void 0:w.resource)==null?void 0:h.uuid)===((g=e.cancelableAppointment)==null?void 0:g.resId)&&(t(wh(w)),v=!0);v||t(wh(Object.values(o)[0]))}else t(wh(Object.values(o)[0]));else Object.values(o).length===1?t(wh(Object.values(o)[0])):console.warn("Given reference(s) seems to be invalid.")}function hG(e){var w,b,y;const t={...e},n=window.location.search,r=new URLSearchParams(t.queryString||n),i=r.get("pData")??r.get("pdata"),o=r.get("pDataPlatform")?{platform:r.get("pDataPlatform"),id:r.get("pDataId"),idPropName:r.get("pDataIdPropName")}:void 0,s=Ize("PLAY_SESSION"),a=r.get("channelKey")??r.get("channelkey"),l=r.get("X-SIGNED-APP-CUSTOMER"),u=r.get("resId"),d=r.getAll("ref"),f=r.getAll("tslRefs"),m=r.getAll("prdRefs"),h=r.get("culture"),g=t.queryHash||window.location.hash,[,,v]=(g==null?void 0:g.split("/"))??[];if((i||o)&&(t.pData=i??o),a&&(t.channelKey=a),d&&d.length>0&&(t.ref=d),f&&f.length>0&&(t.tslRefs=f),m&&m.length>0&&(t.prdRefs=m),h&&(t.culture=h),sn.isArray(t.ref)?t.ref=[...t.ref]:t.ref?t.ref=[t.ref]:t.ref=[],sn.isArray(t.tslRefs)?t.tslRefs=[...t.tslRefs]:t.tslRefs?t.tslRefs=[t.tslRefs]:t.tslRefs=[],sn.isArray(t.prdRefs)?t.prdRefs=[...t.prdRefs]:t.prdRefs?t.prdRefs=[t.prdRefs]:t.prdRefs=[],(!t.ref||t.ref.length===0)&&(!t.tslRefs||t.tslRefs.length===0)){console.log("timum hides itself. No reference in either url or options detected.");return}for(let S=0;S<((w=t==null?void 0:t.ref)==null?void 0:w.length);S++)t.ref[S]=I6(t.ref[S],t.platform,t.prvUuid);for(let S=0;S<((b=t==null?void 0:t.tslRefs)==null?void 0:b.length);S++)t.tslRefs[S]=I6(t.tslRefs[S],t.platform,t.prvUuid);for(let S=0;S<((y=t==null?void 0:t.prdRefs)==null?void 0:y.length);S++)t.prdRefs[S]=I6(t.prdRefs[S],t.platform,t.prvUuid);return s&&(t.cookie=s),l&&(t.cancelableAppointment={authToken:l,appointmentUuid:v,customerUuid:o.id,resourceUuid:u}),t.host&&dte(t.host),t.height&&(t.height=aG(t.height)),t}const mG=(e,t,n,r,i,o,s)=>{const a=Object.keys(t).length>0,l=Object.keys(e).length>0;let u=sn.merge({},fc.appConfig,e),d=sn.merge({},fc.muiTheme,t),f=sn.merge({},fc.fcConfig,n);u.fields=uG(u.fields),Mze(e.fields,u.fields),l&&!o&&(u.localization=fc.appConfig.localization),l&&!i&&(u.fields=fc.appConfig.fields),l&&!r&&(u.hideTimumFooter=fc.appConfig.hideTimumFooter),a&&!r&&(d=fc.muiTheme),s(Ene(f)),s(kne(u)),s(Ane(d))};lG.displayName="ConfigHandler";const Nze=rne({reducer:{[nv.reducerPath]:nv.reducer,appState:Lne},middleware:e=>e().concat(nv.middleware),devTools:{trace:!0}});var gG=[],Lze=gG.forEach,Fze=gG.slice;function jze(e){return Lze.call(Fze.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}var vG=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,zze=function(t,n,r){var i=r||{};i.path=i.path||"/";var o=encodeURIComponent(n),s="".concat(t,"=").concat(o);if(i.maxAge>0){var a=i.maxAge-0;if(Number.isNaN(a))throw new Error("maxAge should be a Number");s+="; Max-Age=".concat(Math.floor(a))}if(i.domain){if(!vG.test(i.domain))throw new TypeError("option domain is invalid");s+="; Domain=".concat(i.domain)}if(i.path){if(!vG.test(i.path))throw new TypeError("option path is invalid");s+="; Path=".concat(i.path)}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invalid");s+="; Expires=".concat(i.expires.toUTCString())}if(i.httpOnly&&(s+="; HttpOnly"),i.secure&&(s+="; Secure"),i.sameSite){var l=typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite;switch(l){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s},yG={create:function(t,n,r,i){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+r*60*1e3)),i&&(o.domain=i),document.cookie=zze(t,encodeURIComponent(n),o)},read:function(t){for(var n="".concat(t,"="),r=document.cookie.split(";"),i=0;i<r.length;i++){for(var o=r[i];o.charAt(0)===" ";)o=o.substring(1,o.length);if(o.indexOf(n)===0)return o.substring(n.length,o.length)}return null},remove:function(t){this.create(t,"",-1)}},Bze={name:"cookie",lookup:function(t){var n;if(t.lookupCookie&&typeof document<"u"){var r=yG.read(t.lookupCookie);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupCookie&&typeof document<"u"&&yG.create(n.lookupCookie,t,n.cookieMinutes,n.cookieDomain,n.cookieOptions)}},Uze={name:"querystring",lookup:function(t){var n;if(typeof window<"u"){var r=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=r.substring(1),o=i.split("&"),s=0;s<o.length;s++){var a=o[s].indexOf("=");if(a>0){var l=o[s].substring(0,a);l===t.lookupQuerystring&&(n=o[s].substring(a+1))}}}return n}},ym=null,bG=function(){if(ym!==null)return ym;try{ym=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{ym=!1}return ym},Hze={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&bG()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&bG()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},bm=null,xG=function(){if(bm!==null)return bm;try{bm=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{bm=!1}return bm},Vze={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&xG()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&xG()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},Wze={name:"navigator",lookup:function(t){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var r=0;r<navigator.languages.length;r++)n.push(navigator.languages[r]);navigator.userLanguage&&n.push(navigator.userLanguage),navigator.language&&n.push(navigator.language)}return n.length>0?n:void 0}},qze={name:"htmlTag",lookup:function(t){var n,r=t.htmlTag||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},Gze={name:"path",lookup:function(t){var n;if(typeof window<"u"){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof r[t.lookupFromPathIndex]!="string")return;n=r[t.lookupFromPathIndex].replace("/","")}else n=r[0].replace("/","")}return n}},Yze={name:"subdomain",lookup:function(t){var n=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,r=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}};function Kze(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var wG=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};No(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return Lo(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=jze(r,this.options||{},Kze()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(Bze),this.addDetector(Uze),this.addDetector(Hze),this.addDetector(Vze),this.addDetector(Wze),this.addDetector(qze),this.addDetector(Gze),this.addDetector(Yze)}},{key:"addDetector",value:function(n){this.detectors[n.name]=n}},{key:"detect",value:function(n){var r=this;n||(n=this.options.order);var i=[];return n.forEach(function(o){if(r.detectors[o]){var s=r.detectors[o].lookup(r.options);s&&typeof s=="string"&&(s=[s]),s&&(i=i.concat(s))}}),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(n,r){var i=this;r||(r=this.options.caches),r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||r.forEach(function(o){i.detectors[o]&&i.detectors[o].cacheUserLanguage(n,i.options)}))}}]),e}();wG.type="languageDetector";var N6=["​","‌"],L6=RegExp("([".concat(N6.join(""),"]{9})+"),"gu"),Zze=9,Qze="subliminal:start",Xze=function(t){return Array.from(new TextEncoder().encode(t))},Jze=function(t){return new TextDecoder().decode(new Uint8Array(t))},eBe=function(t){var n=8-t.length;return"0".repeat(n)+t},SG=function(t){var n=Xze(t).map(Number),r=n.map(function(o){return eBe(o.toString(2))+"0"}).join(""),i=Array.from(r).map(function(o){return N6[Number(o)]}).join("");return i},CG=SG(Qze),$G=function(t){var n=Array.from(t).map(function(o){return N6.indexOf(o)}).map(String).join(""),r=n.match(/(.{9})/g),i=Uint8Array.from((r==null?void 0:r.map(function(o){return parseInt(o.slice(0,8),2)}))||[]);return Jze(i)},tBe=function(t){var n,r=(n=t.match(L6))===null||n===void 0?void 0:n.filter(function(i){return i.length>Zze-1});if(!(!r||r.length===0))return $G(r[r.length-1])},nBe=function(t){return t.replace(L6,"")},rBe=function(t){if(Object.keys(t).length===0)return t;var n={k:t.key,n:t.ns,l:t.lng,s:t.source};return JSON.stringify(n)},iBe=function(t){if(!(!t||typeof t!="string"||t.indexOf("{")!==0))try{var n=JSON.parse(t||"{}");return{key:n.k,ns:n.n,lng:n.l,source:n.s}}catch{return}};function TG(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=rBe(t),r=SG(n);return typeof e=="string"&&e?CG+e+r:e}function Nb(e){var t=tBe(e),n=iBe(t),r=nBe(e);return{text:r,invisibleMeta:n}}function F6(e){if(!e||e.length<27||!L6.test(e))return!1;var t=e.substring(e.length-9),n=$G(t);return n==="}"}function oBe(e){return e.startsWith(CG)}function kG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Lb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?kG(Object(n),!0).forEach(function(r){rn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kG(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var EG="subliminal",sBe={name:EG,type:"postProcessor",options:{},setOptions:function(t){this.options=Lb(Lb({},t),this.options)},process:function(t,n,r,i){var o=this.options=Lb(Lb({},r),this.options),s,a,l,u;if(r.i18nResolved)s=r.i18nResolved.exactUsedKey,a=r.i18nResolved.usedNS,l=r.i18nResolved.usedLng,r.i18nResolved.res===void 0?s!==t?u="default":u="key":u="translation";else{var d,f,m,h,g,v,w=(d=(f=o.keySeparator)!==null&&f!==void 0?f:i==null||(m=i.options)===null||m===void 0?void 0:m.keySeparator)!==null&&d!==void 0?d:".",b=i.extractFromKey(n.join(w),r),y=b.key,S=b.namespaces;s=y,a=(h=(g=S==null?void 0:S[0])!==null&&g!==void 0?g:o.ns)!==null&&h!==void 0?h:i==null||(v=i.options)===null||v===void 0?void 0:v.defaultNS,l=r.lng||this.language,s===t?u="key":u="translation"}return TG(t,{key:s,ns:a,lng:l,source:u})},overloadTranslationOptionHandler:function(){return{postProcess:EG,postProcessPassResolved:!0}}},AG=["placeholder","title","alt"],jo={highlight:"#26a69a",warning:"#e67a00"},RG=function(){var t,n;typeof process<"u"&&(n=process),!n&&typeof window<"u"&&(n=window.process);var r=n||{},i=((t=r.env)===null||t===void 0?void 0:t.locizeIncontext)||"production";return i==="development"?"http://localhost:3003/":i==="staging"?"https://incontext-dev.locize.app":"https://incontext.locize.app"},ga=function(){if(!(typeof document>"u")){var e=document.createElement("style");return document.head.appendChild(e),e.sheet}}();function _G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function aBe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_G(Object(n),!0).forEach(function(r){rn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_G(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var OG={committed:"commitKeys"};function lBe(e){return OG[e]?OG[e]:e}var j6=[];function wr(e,t){if(!_e.source){var n;_e.source=(n=document.getElementById("i18next-editor-iframe"))===null||n===void 0?void 0:n.contentWindow}if(_e.origin||(_e.origin=RG()),!_e.source||!_e.source.postMessage){j6.push({action:e,payload:t});return}_e.legacy?_e.source.postMessage(aBe({message:e},t),_e.origin):_e.source.postMessage({sender:"i18next-editor",senderAPIVersion:"v1",action:e,message:e,payload:t},_e.origin);var r=j6;j6=[],r.forEach(function(i){var o=i.action,s=i.payload;wr(o,s)})}var pc={},z6=5,_e={init:function(t,n){_e.i18n=t,_e.clickHandler=n},requestInitialize:function(t){wr("requestInitialize",t),!_e.initInterval&&(_e.initInterval=setInterval(function(){z6=z6-1,_e.requestInitialize(t),z6<0&&_e.initInterval&&(clearInterval(_e.initInterval),delete _e.initInterval)},1e3))},selectKey:function(t){wr("selectKey",t)},confirmResourceBundle:function(t){wr("confirmResourceBundle",t)},sendCurrentParsedContent:function(){wr("sendCurrentParsedContent",{content:Object.values(gs.data).map(function(t){return{id:t.id,keys:t.keys}})})},sendCurrentTargetLanguage:function(t){wr("sendCurrentTargetLanguage",{targetLng:t||_e.i18n.getLng()})},addHandler:function(t,n){pc[t]||(pc[t]=[]),pc[t].push(n)},sendLocizeIsEnabled:function(){wr("locizeIsEnabled",{enabled:!0})},turnOn:function(){if(_e.scriptTurnedOff)return wr("forcedOff");_e.clickInterceptionEnabled||window.document.body.addEventListener("click",_e.clickHandler,!0),_e.clickInterceptionEnabled=!0,wr("turnedOn")},turnOff:function(){if(_e.scriptTurnedOff)return wr("forcedOff");_e.clickInterceptionEnabled&&window.document.body.removeEventListener("click",_e.clickHandler,!0),_e.clickInterceptionEnabled=!1,wr("turnedOff")},onAddedKey:function(t,n,r,i){var o={lng:t,ns:n,key:r,value:i};wr("added",o)}};typeof window<"u"&&window.addEventListener("message",function(e){var t=e.data,n=t.sender,r=t.action,i=t.message,o=t.payload;if(i){var s=lBe(i);pc[s]&&pc[s].forEach(function(a){a(o,e)})}else n==="i18next-editor-frame"&&pc[r]&&pc[r].forEach(function(a){a(o)})});function Fb(e,t){var n=gs.get(e.eleUniqueID);if(!(!n||!n.keys[e.textType])){var r=TG(t,n.subliminal);if(e.textType==="text")n.node.textContent=r;else if(e.textType.indexOf("attr:")===0){var i=e.textType.replace("attr:","");n.node.setAttribute(i,r)}else if(e.textType==="html"){var o="".concat(e.textType,"-").concat(e.children);if(!n.originalChildNodes){var s=[];n.node.childNodes.forEach(function(f){s.push(f)}),n.originalChildNodes=s}if(n.children[o].length===n.node.childNodes.length)n.node.innerHTML=r;else{var a=n.children[o],l=a[0].child,u=document.createElement("div");u.innerHTML=r;var d=[];u.childNodes.forEach(function(f){d.push(f)}),d.forEach(function(f){try{n.node.insertBefore(f,l)}catch{n.node.appendChild(f)}}),a.forEach(function(f){n.node.contains(f.child)&&n.node.removeChild(f.child)})}}}}function uBe(e){var t=e.meta,n=e.value;t&&n!==void 0&&Fb(t,n)}_e.addHandler("editKey",uBe);function cBe(e){var t=e.meta,n=e.value,r=e.lng;if(t&&n!==void 0){Fb(t,n);var i=r||_e.i18n.getLng();_e.i18n.setResource(i,t.ns,t.key,n),_e.i18n.triggerRerender()}}_e.addHandler("commitKey",cBe);function dBe(e){if(Array.isArray(e))return A6(e)}function fBe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1295
+ `;function xze(){const e=Ce(t=>Pne(t,"useCustomTimumCss"));return $.jsxs($.Fragment,{children:[e&&$.jsx(w4,{styles:bze}),$.jsx(w4,{styles:yze})]})}function wze(e){const t=Ce(gu),n=Ce(_ne),r=Ce(s=>ze(s,"calendarFrontend")),i=Ce(s=>ze(s,"calendarFrontendOptions"));let o=V4(n??{});if(o=_ae(o,{factor:2.5}),t)return $.jsxs(Pae,{theme:o,children:[$.jsx(Ahe,{}),$.jsx(xze,{}),r==="fullCalendar"&&$.jsx(tf,{...e,...i.fullCalendar,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:$.jsx(nG,{})}),r==="detailsFullCalendar"&&$.jsx(tf,{...e,...i.detailsFullCalendar,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:$.jsx(x$,{CalendarView:nG})}),(r==="pureListView"||r==="listView")&&$.jsx(tf,{...e,...i.pureListView,...i.listView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:$.jsx($$,{})}),r==="detailsListView"&&$.jsx(tf,{...e,...i.detailsListView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:$.jsx(x$,{CalendarView:$$})}),r==="condensedView"&&$.jsx(tf,{...e,...i.condensedView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:$.jsx(oG,{})}),r==="detailsCondensedView"&&$.jsx(tf,{...e,...i.detailsCondensedView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:$.jsx(x$,{CalendarView:oG})}),r!=="fullCalendar"&&r!=="detailsFullCalendar"&&r!=="condensedView"&&r!=="detailsCondensedView"&&r!=="detailsListView"&&r!=="listView"&&r!=="pureListView"&&$.jsxs($.Fragment,{children:["You must set calendarFrontend either to ",$.jsx("code",{children:"fullCalendar"}),","," ",$.jsx("code",{children:"detailsFullCalendar"}),",",$.jsx("code",{children:"listView"}),","," ",$.jsx("code",{children:"detailsListView"}),", ",$.jsx("code",{children:"condensedView"})," or"," ",$.jsx("code",{children:"detailsCondensedView"})," in your config."]})]})}var D6={},Sze=Tn;Object.defineProperty(D6,"__esModule",{value:!0});var sG=D6.default=void 0,Cze=Sze(jn()),$ze=$;sG=D6.default=(0,Cze.default)((0,$ze.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function vm(e){const{children:t,onClose:n,...r}=e;return $.jsxs(CI,{sx:{m:0,p:2},...r,children:[t,n?$.jsx(a0,{"aria-label":"close",onClick:n,sx:{position:"absolute",right:8,top:8,color:i=>i.palette.grey[500]},children:$.jsx(sG,{})}):null]})}vm.propTypes={children:rt.node,onClose:rt.func.isRequired};const Nl=14,dc='"Ek Mukta","Helvetica Neue", Helvetica, Arial, sans-serif',Uf=Math.floor(Nl*1.428571429),Tze=kf(Math.floor(Nl*2.6)),kze=kf(Math.floor(Nl*2.3)),Eze=kf(Math.floor(Nl*1.9)),Aze=kf(Math.floor(Nl*1.5)),Rze=kf(Math.floor(Nl*1.15)),_ze=kf(Math.floor(Nl)),M6=/(\u00a9|\u00ae|[\u2000-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff])/g,fc={appConfig:{host:"https://www.timum.de",resource_channel:"RESOURCE_REFERENCE",calendarFrontend:"detailsListView",calendarFrontendOptions:{condensedView:{forceResourceSelectorDialog:!0}},allowCloseOnBooking:!0,hideTimumFooter:!1,sendCustomValuesAsMessage:!1,gatherAddressData:!1,height:500,fields:{firstName:{index:0,title:"fields.firstName",validation:kl().required("validation.field_required")},lastName:{index:1,title:"fields.lastName",validation:kl().required("validation.field_required")},email:{index:2,title:"fields.email",format:"email",type:"text",validation:kl().email("validation.email_field_must_be_valid").required("validation.field_required")},mobile:{index:3,title:"fields.mobile",type:"phoneNumber",isRequired:!1,defaultCountry:"DE",preferredCountries:["DE","CH","AT"]},message:{index:4,title:"fields.message",type:"textarea",validation:kl().max(1024).test("no-emojis","validation.no_emojis",e=>!M6.test(e)),limit:1024,onChange:e=>e.replace(M6,"")},agbs:{index:5,title:"fields.accept_timum_privacy",type:"checkbox",validation:I2().required("validation.field_required").test("privacyAccepted","validation.privacy_field_required",e=>e===!0)},locale:{index:6,preventRendering:!0}},interfaces:{UnkownBookingPage:({open:e,onClose:t,children:n})=>{const r=ns(),i=So(r.breakpoints.down("sm"));return $.jsxs(fl,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[$.jsx(vm,{onClose:t}),$.jsx(pl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(ef,{maxWidth:"sm",sx:{p:0},children:n})})]})},IdentifiedBookingPage:({open:e,onClose:t,children:n})=>{const r=ns(),i=So(r.breakpoints.down("sm"));return $.jsxs(fl,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[$.jsx(vm,{onClose:t}),$.jsx(pl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(ef,{maxWidth:"sm",sx:{p:0},children:n})})]})},ConfirmationPage:e=>{const{open:t,onClose:n,allowCloseOnBooking:r,children:i}=e,o=ns(),s=So(o.breakpoints.down("sm"));return $.jsxs(fl,{open:t,onClose:()=>{r&&n()},hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:s,children:[r&&$.jsx(vm,{onClose:n}),$.jsx(pl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(ef,{maxWidth:"sm",sx:{p:0},children:i})})]})},LoginPage:({open:e,onClose:t,children:n})=>$.jsx(fl,{open:e,onClose:t,hideBackdrop:!0,fullWidth:!0,children:$.jsx(pl,{children:n})}),CancelPage:({open:e,onClose:t,children:n})=>{const r=ns(),i=So(r.breakpoints.down("sm"));return $.jsxs(fl,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[$.jsx(vm,{onClose:t}),$.jsx(pl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(ef,{maxWidth:"sm",sx:{p:0},children:n})})]})},ResourcePage:({mobileOpen:e,mobileOnClose:t,shouldDisplay:n,height:r,children:i})=>{const o=ns(),s=So(o.breakpoints.down("sm"));return $.jsxs($.Fragment,{children:[$.jsx(fl,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:s,children:$.jsx(pl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(ef,{maxWidth:"sm",sx:{p:0},children:i})})}),n&&$.jsxs(he,{xs:"auto",item:!0,container:!0,display:{xs:"none",sm:"flex"},wrap:"nowrap",sx:{mr:2,maxHeight:r,boxSizing:"border-box"},children:[$.jsx(he,{item:!0,xs:"auto",children:i}),$.jsx(he,{item:!0,xs:"1",children:$.jsx(kI,{orientation:"vertical",variant:"middle"})})]})]})},ProductPage:({open:e,onClose:t,children:n})=>{const r=ns(),i=So(r.breakpoints.down("sm"));return $.jsx(fl,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:$.jsx(pl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(ef,{maxWidth:"sm",sx:{p:0},children:n})})})},ErrorDialog:({open:e,onClose:t})=>{const{t:n}=An();return $.jsxs(fl,{open:e,onClose:t,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[$.jsx(CI,{id:"alert-dialog-title",children:n("reservation_failed.title")}),$.jsx(pl,{children:$.jsx(n0e,{id:"alert-dialog-description",children:n("reservation_failed.message")})}),$.jsx(Whe,{children:$.jsx(Ro,{onClick:t,autoFocus:!0,children:"Ok"})})]})}},callbacks:{}},muiTheme:{palette:{primary:{main:"#337ab7"},secondary:{main:"#777"},success:{main:"#5cb85c"},warning:{main:"#f0ad4e"},error:{main:"#d9534f"},info:{main:"#5bc0de"}},shape:{borderRadius:4},typography:{fontFamily:dc,fontSize:Nl,h1:{fontFamily:dc,fontWeight:500,lineHeight:1,fontSize:`${Tze}rem`},h2:{fontFamily:dc,fontWeight:500,lineHeight:1,fontSize:`${kze}rem`},h3:{fontFamily:dc,fontWeight:500,lineHeight:1,fontSize:`${Eze}rem`},h4:{fontFamily:dc,fontWeight:500,lineHeight:1,fontSize:`${Aze}rem`},h5:{fontFamily:dc,fontWeight:500,lineHeight:1,fontSize:`${Rze}rem`},h6:{fontFamily:dc,fontWeight:500,lineHeight:1,fontSize:`${_ze}rem`}},components:{MuiCssBaseline:{styleOverrides:{body:{scrollbarColor:"#bfbfbf #ffffff","&::-webkit-scrollbar, & *::-webkit-scrollbar":{backgroundColor:"#ffffff"},"&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb":{borderRadius:8,backgroundColor:"#bfbfbf",minHeight:8,width:3,border:"5px solid #ffffff"},"&::-webkit-scrollbar-thumb:focus, & *::-webkit-scrollbar-thumb:focus":{backgroundColor:"#8f8f8f"},"&::-webkit-scrollbar-thumb:active, & *::-webkit-scrollbar-thumb:active":{backgroundColor:"#8f8f8f"},"&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover":{backgroundColor:"#8f8f8f"},"&::-webkit-scrollbar-corner, & *::-webkit-scrollbar-corner":{backgroundColor:"#ffffff"}}}},MuiButton:{styleOverrides:{root:{borderRadius:4}}},MuiTextField:{defaultProps:{variant:"outlined"}},MuiListItem:{styleOverrides:{root:{borderRadius:4}}},MuiListItemButton:{styleOverrides:{root:{borderRadius:4}}},MuiListItemText:{styleOverrides:{borderRadius:4}},MuiTypography:{styleOverrides:{h1:{marginBottom:Uf/2},h2:{marginBottom:Uf/2},h3:{marginBottom:Uf/2},h4:{marginBottom:Uf/2},h5:{marginBottom:Uf/2},h6:{marginBottom:Uf/2}}}}},fcConfig:{initialView:"timeGridWeek",useCustomTimumCss:!0,displayEventEnd:!1,scrollTimeReset:!1,scrollTime:"09:00:00",views:{timeGridWeek:{slotMinTime:"08:00:00",slotMaxTime:"21:00:00",allDaySlot:!1}}}},Oze="(timum\\.de|timum\\.at|timum\\.com|timum\\.fr|timum\\.io|timum\\.es|timum\\.it|timum\\.co.uktimum\\.nl|timum\\.eu|timum\\.info|timum\\.org|timum\\.me|localhost(:[0-9]+)?|127\\.0\\.0\\.1(:[0-9]+)?)",Pze=new RegExp(`^https?://([a-zA-Z0-9-]+\\.)*${Oze}$`);function aG(e){if(typeof e=="string"){const t=e.match(/^(\d+)/);return t&&t[1]?Number(t[1]):500}else if(typeof e=="number")return e;return 500}const Dze=({wait:e,height:t,children:n})=>{const r=Ce(d4),i=Ce(gu);if(e)return $.jsx(ey,{sx:{height:t?t+"px":"500px",width:"100%",position:"absolute",display:"flex",justifyContent:"center",alignItems:"center",pointerEvents:"none",backgroundColor:"#ffffffc5",zIndex:o=>o.zIndex.drawer+1},open:!0,children:$.jsx(ny,{sx:{color:"#777",zIndex:o=>o.zIndex.drawer+2}})});if(!e&&r&&i)return n},lG=({muiTheme:e={},fcConfig:t={},appConfig:n={},children:r})=>{const i=mv(),o=Ce(Mne),s=Ce(Ine),a=Ce(Nne),l=re.useMemo(()=>{var b;return(b=n==null?void 0:n.callbacks)==null?void 0:b.fetchingPublicDataFailed},[n]),[u,{isFetching:d,error:f}]=yte(),[m,{isFetching:h}]=hte(),[g,{isFetching:v}]=gte(),w=R.useCallback((b=n,y=e,S=t)=>{const C=hG(b);C&&(mG(C,y,S,o,s,a,i),pG(C,i,u,m,g))},[n,e,t,o,s,a,i,u,m,g]);if(re.useEffect(()=>{const b=y=>{var S,C,T,k,A;Pze.test(y.origin)&&((S=y.data)==null?void 0:S.type)==="rerender"?w({...(C=y.data)==null?void 0:C.appConfig},{...(T=y.data)==null?void 0:T.muiTheme},{...(k=y.data)==null?void 0:k.fcConfig}):((A=y.data)==null?void 0:A.type)==="rerender"&&console.error("ConfigHandler received a message from an unexpected origin:",y.origin)};return window.addEventListener("message",b),()=>{window.removeEventListener("message",b)}},[w,n]),re.useEffect(()=>{const b=hG(n);b&&(mG(b,e,t,o,s,a,i),pG(b,i,u,m,g))},[n,e,t,i,o,s,a,u,m,g]),f)l&&l(f);else return $.jsx(Dze,{height:aG(n==null?void 0:n.height),wait:h||d||v,children:r})};function Mze(e,t){e&&Object.hasOwn(e,"message")&&typeof e.message>"u"&&delete t.message,e&&Object.hasOwn(e,"mobile")&&typeof e.mobile>"u"&&delete t.mobile,e&&Object.hasOwn(e,"email")&&typeof e.email>"u"&&delete t.email,e&&Object.hasOwn(e,"firstName")&&typeof e.firstName>"u"&&delete t.firstName,e&&Object.hasOwn(e,"lastName")&&typeof e.lastName>"u"&&delete t.lastName}function uG(e,t,n){if(n||(n={}),typeof t>"u"&&(t=0),t>=Object.entries(e).length)return n;for(const[r,i]of Object.entries(e))i&&i.index===t&&(n[r]=i);return t++,uG(e,t,n)}function Ize(e){var t=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return t?t.pop():""}function I6(e,t,n){if(!e.includes("@")&&!e.match(/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i))if(!t)console.warn("One or more ref parameters aren't fully qualified AND you have not provided a `platform` prop which allows timum to do it for you. Most likely timum won't find anything. Please either add a platform prop to your configuration or use a full reference in either the ref prop or a ref url parameter.");else return`${e}${n?"@"+n:""}@${t}`;return e}const cG=(e,t)=>{e&&!t.includes(e)&&t.push(e)},dG=(e,t)=>{e&&(e.forEach?e.forEach(n=>{t[n.resource.uuid]={...n}}):t[e.resource.uuid]={...e})},fG=(e,t)=>{e&&e.forEach(n=>{t[n.resource.uuid]?(t[n.resource.uuid].bookables=n.bookables,t[n.resource.uuid].products=n.products):t[n.resource.uuid]={...n}})};async function pG(e,t,n,r,i){var h,g;let o={};const s=e==null?void 0:e.ref,a=e==null?void 0:e.tslRefs,l=e==null?void 0:e.prdRefs,u=e==null?void 0:e.additionalData,d=e==null?void 0:e.publicData,f=e==null?void 0:e.tsls,m=e==null?void 0:e.channelKey;if((s==null?void 0:s.length)>0&&!(d!=null&&d.length)>0){const v=await n({channelOrResourceId:s[0],params:{channelKey:m,ref:s,...u}});dG(v==null?void 0:v.data,o)}if((d==null?void 0:d.length)>0&&dG(d,o),(a==null?void 0:a.length)>0&&!(f!=null&&f.length)>0){const v=await r({params:{channelKey:m,tlsIds:a,...u}});fG(v==null?void 0:v.data,o)}if((f==null?void 0:f.length)>0&&fG(f,o),(l==null?void 0:l.length)>0){Object.values(o).forEach(b=>{var y;b.bookables&&((y=Object.values(b.bookables))==null||y.forEach(S=>{S.forEach(C=>{var T;cG(C.product_uuid,l),(T=C.products)==null||T.forEach(k=>{cG(k.uuid,l)})})}))});const v=await i({params:{prdRefs:l,additionalData:u}}),w=Object.entries(o).filter(([,b])=>{var S,C;if(((C=(S=b.resource)==null?void 0:S.supportedProducts)==null?void 0:C.length)===0)return!1;const y=v.data.filter(T=>{var A;const k=(A=b.resource)==null?void 0:A.supportedProducts;return k&&k.some(_=>_===T.uuid)});return console.log(y),y.length===0?!1:(b.products=y,!0)});console.log(w),o=Object.fromEntries(w),console.log(o)}if(t(Rne(o)),Object.values(o).length>1)if(e.cancelableAppointment){let v=!1;for(const w of Object.values(o))((h=w==null?void 0:w.resource)==null?void 0:h.uuid)===((g=e.cancelableAppointment)==null?void 0:g.resId)&&(t(wh(w)),v=!0);v||t(wh(Object.values(o)[0]))}else t(wh(Object.values(o)[0]));else Object.values(o).length===1?t(wh(Object.values(o)[0])):console.warn("Given reference(s) seems to be invalid.")}function hG(e){var w,b,y;const t={...e},n=window.location.search,r=new URLSearchParams(t.queryString||n),i=r.get("pData")??r.get("pdata"),o=r.get("pDataPlatform")?{platform:r.get("pDataPlatform"),id:r.get("pDataId"),idPropName:r.get("pDataIdPropName")}:void 0,s=Ize("PLAY_SESSION"),a=r.get("channelKey")??r.get("channelkey"),l=r.get("X-SIGNED-APP-CUSTOMER"),u=r.get("resId"),d=r.getAll("ref"),f=r.getAll("tslRefs"),m=r.getAll("prdRefs"),h=r.get("culture"),g=t.queryHash||window.location.hash,[,,v]=(g==null?void 0:g.split("/"))??[];if((i||o)&&(t.pData=i??o),a&&(t.channelKey=a),d&&d.length>0&&(t.ref=d),f&&f.length>0&&(t.tslRefs=f),m&&m.length>0&&(t.prdRefs=m),h&&(t.culture=h),sn.isArray(t.ref)?t.ref=[...t.ref]:t.ref?t.ref=[t.ref]:t.ref=[],sn.isArray(t.tslRefs)?t.tslRefs=[...t.tslRefs]:t.tslRefs?t.tslRefs=[t.tslRefs]:t.tslRefs=[],sn.isArray(t.prdRefs)?t.prdRefs=[...t.prdRefs]:t.prdRefs?t.prdRefs=[t.prdRefs]:t.prdRefs=[],(!t.ref||t.ref.length===0)&&(!t.tslRefs||t.tslRefs.length===0)){console.log("timum hides itself. No reference in either url or options detected.");return}for(let S=0;S<((w=t==null?void 0:t.ref)==null?void 0:w.length);S++)t.ref[S]=I6(t.ref[S],t.platform,t.prvUuid);for(let S=0;S<((b=t==null?void 0:t.tslRefs)==null?void 0:b.length);S++)t.tslRefs[S]=I6(t.tslRefs[S],t.platform,t.prvUuid);for(let S=0;S<((y=t==null?void 0:t.prdRefs)==null?void 0:y.length);S++)t.prdRefs[S]=I6(t.prdRefs[S],t.platform,t.prvUuid);return s&&(t.cookie=s),l&&(t.cancelableAppointment={authToken:l,appointmentUuid:v,customerUuid:o.id,resourceUuid:u}),t.host&&dte(t.host),t.height&&(t.height=aG(t.height)),t}const mG=(e,t,n,r,i,o,s)=>{const a=Object.keys(t).length>0,l=Object.keys(e).length>0;let u=sn.merge({},fc.appConfig,e),d=sn.merge({},fc.muiTheme,t),f=sn.merge({},fc.fcConfig,n);u.fields=uG(u.fields),Mze(e.fields,u.fields),l&&!o&&(u.localization=fc.appConfig.localization),l&&!i&&(u.fields=fc.appConfig.fields),l&&!r&&(u.hideTimumFooter=fc.appConfig.hideTimumFooter),a&&!r&&(d=fc.muiTheme),s(Ene(f)),s(kne(u)),s(Ane(d))};lG.displayName="ConfigHandler";const Nze=rne({reducer:{[nv.reducerPath]:nv.reducer,appState:Lne},middleware:e=>e().concat(nv.middleware),devTools:{trace:!0}});var gG=[],Lze=gG.forEach,Fze=gG.slice;function jze(e){return Lze.call(Fze.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}var vG=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,zze=function(t,n,r){var i=r||{};i.path=i.path||"/";var o=encodeURIComponent(n),s="".concat(t,"=").concat(o);if(i.maxAge>0){var a=i.maxAge-0;if(Number.isNaN(a))throw new Error("maxAge should be a Number");s+="; Max-Age=".concat(Math.floor(a))}if(i.domain){if(!vG.test(i.domain))throw new TypeError("option domain is invalid");s+="; Domain=".concat(i.domain)}if(i.path){if(!vG.test(i.path))throw new TypeError("option path is invalid");s+="; Path=".concat(i.path)}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invalid");s+="; Expires=".concat(i.expires.toUTCString())}if(i.httpOnly&&(s+="; HttpOnly"),i.secure&&(s+="; Secure"),i.sameSite){var l=typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite;switch(l){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s},yG={create:function(t,n,r,i){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+r*60*1e3)),i&&(o.domain=i),document.cookie=zze(t,encodeURIComponent(n),o)},read:function(t){for(var n="".concat(t,"="),r=document.cookie.split(";"),i=0;i<r.length;i++){for(var o=r[i];o.charAt(0)===" ";)o=o.substring(1,o.length);if(o.indexOf(n)===0)return o.substring(n.length,o.length)}return null},remove:function(t){this.create(t,"",-1)}},Bze={name:"cookie",lookup:function(t){var n;if(t.lookupCookie&&typeof document<"u"){var r=yG.read(t.lookupCookie);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupCookie&&typeof document<"u"&&yG.create(n.lookupCookie,t,n.cookieMinutes,n.cookieDomain,n.cookieOptions)}},Uze={name:"querystring",lookup:function(t){var n;if(typeof window<"u"){var r=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=r.substring(1),o=i.split("&"),s=0;s<o.length;s++){var a=o[s].indexOf("=");if(a>0){var l=o[s].substring(0,a);l===t.lookupQuerystring&&(n=o[s].substring(a+1))}}}return n}},ym=null,bG=function(){if(ym!==null)return ym;try{ym=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{ym=!1}return ym},Hze={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&bG()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&bG()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},bm=null,xG=function(){if(bm!==null)return bm;try{bm=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{bm=!1}return bm},Vze={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&xG()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&xG()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},Wze={name:"navigator",lookup:function(t){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var r=0;r<navigator.languages.length;r++)n.push(navigator.languages[r]);navigator.userLanguage&&n.push(navigator.userLanguage),navigator.language&&n.push(navigator.language)}return n.length>0?n:void 0}},qze={name:"htmlTag",lookup:function(t){var n,r=t.htmlTag||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},Gze={name:"path",lookup:function(t){var n;if(typeof window<"u"){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof r[t.lookupFromPathIndex]!="string")return;n=r[t.lookupFromPathIndex].replace("/","")}else n=r[0].replace("/","")}return n}},Yze={name:"subdomain",lookup:function(t){var n=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,r=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}};function Kze(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var wG=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};No(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return Lo(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=jze(r,this.options||{},Kze()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(Bze),this.addDetector(Uze),this.addDetector(Hze),this.addDetector(Vze),this.addDetector(Wze),this.addDetector(qze),this.addDetector(Gze),this.addDetector(Yze)}},{key:"addDetector",value:function(n){this.detectors[n.name]=n}},{key:"detect",value:function(n){var r=this;n||(n=this.options.order);var i=[];return n.forEach(function(o){if(r.detectors[o]){var s=r.detectors[o].lookup(r.options);s&&typeof s=="string"&&(s=[s]),s&&(i=i.concat(s))}}),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(n,r){var i=this;r||(r=this.options.caches),r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||r.forEach(function(o){i.detectors[o]&&i.detectors[o].cacheUserLanguage(n,i.options)}))}}]),e}();wG.type="languageDetector";var N6=["​","‌"],L6=RegExp("([".concat(N6.join(""),"]{9})+"),"gu"),Zze=9,Qze="subliminal:start",Xze=function(t){return Array.from(new TextEncoder().encode(t))},Jze=function(t){return new TextDecoder().decode(new Uint8Array(t))},eBe=function(t){var n=8-t.length;return"0".repeat(n)+t},SG=function(t){var n=Xze(t).map(Number),r=n.map(function(o){return eBe(o.toString(2))+"0"}).join(""),i=Array.from(r).map(function(o){return N6[Number(o)]}).join("");return i},CG=SG(Qze),$G=function(t){var n=Array.from(t).map(function(o){return N6.indexOf(o)}).map(String).join(""),r=n.match(/(.{9})/g),i=Uint8Array.from((r==null?void 0:r.map(function(o){return parseInt(o.slice(0,8),2)}))||[]);return Jze(i)},tBe=function(t){var n,r=(n=t.match(L6))===null||n===void 0?void 0:n.filter(function(i){return i.length>Zze-1});if(!(!r||r.length===0))return $G(r[r.length-1])},nBe=function(t){return t.replace(L6,"")},rBe=function(t){if(Object.keys(t).length===0)return t;var n={k:t.key,n:t.ns,l:t.lng,s:t.source};return JSON.stringify(n)},iBe=function(t){if(!(!t||typeof t!="string"||t.indexOf("{")!==0))try{var n=JSON.parse(t||"{}");return{key:n.k,ns:n.n,lng:n.l,source:n.s}}catch{return}};function TG(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=rBe(t),r=SG(n);return typeof e=="string"&&e?CG+e+r:e}function Nb(e){var t=tBe(e),n=iBe(t),r=nBe(e);return{text:r,invisibleMeta:n}}function F6(e){if(!e||e.length<27||!L6.test(e))return!1;var t=e.substring(e.length-9),n=$G(t);return n==="}"}function oBe(e){return e.startsWith(CG)}function kG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Lb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?kG(Object(n),!0).forEach(function(r){rn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kG(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var EG="subliminal",sBe={name:EG,type:"postProcessor",options:{},setOptions:function(t){this.options=Lb(Lb({},t),this.options)},process:function(t,n,r,i){var o=this.options=Lb(Lb({},r),this.options),s,a,l,u;if(r.i18nResolved)s=r.i18nResolved.exactUsedKey,a=r.i18nResolved.usedNS,l=r.i18nResolved.usedLng,r.i18nResolved.res===void 0?s!==t?u="default":u="key":u="translation";else{var d,f,m,h,g,v,w=(d=(f=o.keySeparator)!==null&&f!==void 0?f:i==null||(m=i.options)===null||m===void 0?void 0:m.keySeparator)!==null&&d!==void 0?d:".",b=i.extractFromKey(n.join(w),r),y=b.key,S=b.namespaces;s=y,a=(h=(g=S==null?void 0:S[0])!==null&&g!==void 0?g:o.ns)!==null&&h!==void 0?h:i==null||(v=i.options)===null||v===void 0?void 0:v.defaultNS,l=r.lng||this.language,s===t?u="key":u="translation"}return TG(t,{key:s,ns:a,lng:l,source:u})},overloadTranslationOptionHandler:function(){return{postProcess:EG,postProcessPassResolved:!0}}},AG=["placeholder","title","alt"],jo={highlight:"#26a69a",warning:"#e67a00"},RG=function(){var t,n;typeof process<"u"&&(n=process),!n&&typeof window<"u"&&(n=window.process);var r=n||{},i=((t=r.env)===null||t===void 0?void 0:t.locizeIncontext)||"production";return i==="development"?"http://localhost:3003/":i==="staging"?"https://incontext-dev.locize.app":"https://incontext.locize.app"},ga=function(){if(!(typeof document>"u")){var e=document.createElement("style");return document.head.appendChild(e),e.sheet}}();function _G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function aBe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?_G(Object(n),!0).forEach(function(r){rn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_G(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var OG={committed:"commitKeys"};function lBe(e){return OG[e]?OG[e]:e}var j6=[];function wr(e,t){if(!_e.source){var n;_e.source=(n=document.getElementById("i18next-editor-iframe"))===null||n===void 0?void 0:n.contentWindow}if(_e.origin||(_e.origin=RG()),!_e.source||!_e.source.postMessage){j6.push({action:e,payload:t});return}_e.legacy?_e.source.postMessage(aBe({message:e},t),_e.origin):_e.source.postMessage({sender:"i18next-editor",senderAPIVersion:"v1",action:e,message:e,payload:t},_e.origin);var r=j6;j6=[],r.forEach(function(i){var o=i.action,s=i.payload;wr(o,s)})}var pc={},z6=5,_e={init:function(t,n){_e.i18n=t,_e.clickHandler=n},requestInitialize:function(t){wr("requestInitialize",t),!_e.initInterval&&(_e.initInterval=setInterval(function(){z6=z6-1,_e.requestInitialize(t),z6<0&&_e.initInterval&&(clearInterval(_e.initInterval),delete _e.initInterval)},1e3))},selectKey:function(t){wr("selectKey",t)},confirmResourceBundle:function(t){wr("confirmResourceBundle",t)},sendCurrentParsedContent:function(){wr("sendCurrentParsedContent",{content:Object.values(gs.data).map(function(t){return{id:t.id,keys:t.keys}})})},sendCurrentTargetLanguage:function(t){wr("sendCurrentTargetLanguage",{targetLng:t||_e.i18n.getLng()})},addHandler:function(t,n){pc[t]||(pc[t]=[]),pc[t].push(n)},sendLocizeIsEnabled:function(){wr("locizeIsEnabled",{enabled:!0})},turnOn:function(){if(_e.scriptTurnedOff)return wr("forcedOff");_e.clickInterceptionEnabled||window.document.body.addEventListener("click",_e.clickHandler,!0),_e.clickInterceptionEnabled=!0,wr("turnedOn")},turnOff:function(){if(_e.scriptTurnedOff)return wr("forcedOff");_e.clickInterceptionEnabled&&window.document.body.removeEventListener("click",_e.clickHandler,!0),_e.clickInterceptionEnabled=!1,wr("turnedOff")},onAddedKey:function(t,n,r,i){var o={lng:t,ns:n,key:r,value:i};wr("added",o)}};typeof window<"u"&&window.addEventListener("message",function(e){var t=e.data,n=t.sender,r=t.action,i=t.message,o=t.payload;if(i){var s=lBe(i);pc[s]&&pc[s].forEach(function(a){a(o,e)})}else n==="i18next-editor-frame"&&pc[r]&&pc[r].forEach(function(a){a(o)})});function Fb(e,t){var n=gs.get(e.eleUniqueID);if(!(!n||!n.keys[e.textType])){var r=TG(t,n.subliminal);if(e.textType==="text")n.node.textContent=r;else if(e.textType.indexOf("attr:")===0){var i=e.textType.replace("attr:","");n.node.setAttribute(i,r)}else if(e.textType==="html"){var o="".concat(e.textType,"-").concat(e.children);if(!n.originalChildNodes){var s=[];n.node.childNodes.forEach(function(f){s.push(f)}),n.originalChildNodes=s}if(n.children[o].length===n.node.childNodes.length)n.node.innerHTML=r;else{var a=n.children[o],l=a[0].child,u=document.createElement("div");u.innerHTML=r;var d=[];u.childNodes.forEach(function(f){d.push(f)}),d.forEach(function(f){try{n.node.insertBefore(f,l)}catch{n.node.appendChild(f)}}),a.forEach(function(f){n.node.contains(f.child)&&n.node.removeChild(f.child)})}}}}function uBe(e){var t=e.meta,n=e.value;t&&n!==void 0&&Fb(t,n)}_e.addHandler("editKey",uBe);function cBe(e){var t=e.meta,n=e.value,r=e.lng;if(t&&n!==void 0){Fb(t,n);var i=r||_e.i18n.getLng();_e.i18n.setResource(i,t.ns,t.key,n),_e.i18n.triggerRerender()}}_e.addHandler("commitKey",cBe);function dBe(e){if(Array.isArray(e))return A6(e)}function fBe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1296
1296
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function pBe(e){return dBe(e)||Iq(e)||Nq(e)||fBe()}function hBe(e){var t=e.updated;t.forEach(function(n){var r=n.lng,i=n.ns,o=n.key,s=n.data,a=n.metas,l=n.meta;l&&s.value&&Fb(l,s.value),a&&Object.values(a).forEach(function(u){Fb(u,s.value)}),_e.i18n.setResource(r,i,o,s.value)}),Object.values(gs.data).forEach(function(n){if(n.originalChildNodes){var r;(r=n.node).replaceChildren.apply(r,pBe(n.originalChildNodes))}}),_e.i18n.triggerRerender(),_e.locizeSavedHandler&&_e.locizeSavedHandler(e),window.locizeSavedHandler&&window.locizeSavedHandler(e)}_e.addHandler("commitKeys",hBe);function mBe(e){_e.initialized=!0,clearInterval(_e.initInterval),delete _e.initInterval,_e.sendCurrentParsedContent(),_e.sendCurrentTargetLanguage()}_e.addHandler("confirmInitialized",mBe);function PG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function DG(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?PG(Object(n),!0).forEach(function(r){rn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):PG(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Ll={};function gBe(){Object.values(Ll).forEach(function(e){document.body.contains(e.node)||(wm(e.id,e.node),delete Ll[e.id])})}function vBe(e,t,n){!e||!t||!n||(Ll[e]||(Ll[e]={id:e,node:n}),Ll[e].keys=DG(DG({},Ll[e].keys),{},rn({},"".concat(t),"uninstrumented")))}function yBe(e){return Ll[e]}var B6={save:vBe,clean:gBe,get:yBe,data:Ll};function MG(e){var t=e.getBoundingClientRect(),n=window.innerHeight||document.documentElement.clientHeight,r=window.innerWidth||document.documentElement.clientWidth,i=t.top<=n&&t.top+t.height>=0,o=t.left<=r&&t.left+t.width>=0;return i&&o}function U6(e,t){var n=t,r=e.pageX,i=e.pageY,o={x:r,y:i},s=n.getBoundingClientRect(),a=s.top+document.documentElement.scrollTop,l=a+n.offsetHeight,u=s.left+document.documentElement.scrollLeft,d=u+n.offsetWidth,f=Math.max(r,u),m=Math.min(r,d),h=Math.max(i,a),g=Math.min(i,l),v=m>=f,w=g>=h,b={x:v?r:d<r?d:u,y:w?i:l<i?l:a},y=b.x-o.x,S=b.y-o.y,C=Math.pow(Math.pow(y,2)+Math.pow(S,2),1/2);return Math.floor(C)}function IG(e,t,n){var r;return function(){var i=this,o=arguments,s=function(){r=null,n||e.apply(i,o)},a=n&&!r;clearTimeout(r),r=setTimeout(s,t),a&&e.apply(i,o)}}function bBe(e){return e!=null&&e===e.window}function xBe(e){return bBe(e)?e:e.nodeType===9&&e.defaultView}function NG(e){var t={top:0,left:0,right:0,bottom:0},n=e&&e.ownerDocument,r=n&&n.documentElement;if(!r)return t;Bi(e.getBoundingClientRect)!=="undefined"&&(t=e.getBoundingClientRect());var i=xBe(n),o=t.top+i.pageYOffset-r.clientTop,s=t.left+i.pageXOffset-r.clientLeft;return{top:o,left:s,right:s+(t.right-t.left),bottom:o+(t.bottom-t.top)}}function wBe(e){if(e.srcElement&&e.srcElement.nodeType===1&&(e.srcElement.nodeName==="BUTTON"||e.srcElement.nodeName==="INPUT"))return e.srcElement.getAttribute&&e.srcElement.getAttribute("ignorelocizeeditor")===""?null:e.srcElement;var t;if(e.originalEvent&&e.originalEvent.explicitOriginalTarget)t=e.originalEvent.explicitOriginalTarget;else{var n=e.srcElement;if(n.getAttribute&&n.getAttribute("ignorelocizeeditor")==="")return null;for(var r=e.pageX,i=e.pageY,o=0,s,a=0;a<n.childNodes.length;a++){var l=n.childNodes[a],u=NG(l);l.nodeType===1&&u.bottom<i&&(o=a+1),!s&&u.top+(l.clientHeight||0)>i&&(s=a)}o+1>n.childNodes.length&&(o=n.childNodes.length-1),s||(s=n.childNodes.length);for(var d=o;d<s;d++){var f=n.childNodes[d],m=NG(f);if(m.left>r)break;f&&f.nodeType!==8&&(t=f)}}return t}function SBe(e){var t=e.textContent||e.text&&e.text.innerText||e.placeholder;if(typeof t=="string")return t.replace(/\n +/g,"").trim()}function va(e,t){return e&&e.getAttribute&&e.getAttribute(t)}function LG(e){var t=va(e,"data-i18n");if(t)return t;if(e.nodeType===window.Node.TEXT_NODE&&e.parentElement)return LG(e.parentElement)}function CBe(e){var t,n=function r(i){var o=va(i,"i18next-options");if(o||(o=va(i,"data-i18next-options")),o||(o=va(i,"i18n-options")),o||(o=va(i,"data-i18n-options")),o){var s={};try{s=JSON.parse(o)}catch{}s.ns&&(t=s.ns)}t||(t=va(i,"i18next-ns")),t||(t=va(i,"data-i18next-ns")),t||(t=va(i,"i18n-ns")),t||(t=va(i,"data-i18n-ns")),!t&&i.parentElement&&r(i.parentElement)};return n(e),t}function $Be(e,t){if(typeof window>"u")return null;t||(t=window.location.href.toLowerCase()),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)"),r=n.exec(t);return r?r[2]?decodeURIComponent(r[2].replace(/\+/g," ")):"":null}var TBe=IG(function(e,t){Object.values(gs.data).forEach(function(n){if(MG(n.node)){var r=U6(e,n.node);if(r<5)ZBe(n,n.node,n.keys);else if(r>5){var i=n.ribbonBox?U6(e,n.ribbonBox):1e3;i>10&&wm(n,n.node,n.keys)}}}),Object.values(B6.data).forEach(function(n){if(MG(n.node)){var r=U6(e,n.node);r<10?QBe(n,n.node,n.keys):r>10&&wm(n,n.node,n.keys)}})},50),H6;function jb(e){H6=function(n){TBe(n,e)},document.addEventListener("mousemove",H6)}function V6(){document.removeEventListener("mousemove",H6)}var kBe='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#FFFFFF"><g></g><g><g><g><path d="M3,21l3.75,0L17.81,9.94l-3.75-3.75L3,17.25L3,21z M5,18.08l9.06-9.06l0.92,0.92L5.92,19L5,19L5,18.08z"/></g><g><path d="M18.37,3.29c-0.39-0.39-1.02-0.39-1.41,0l-1.83,1.83l3.75,3.75l1.83-1.83c0.39-0.39,0.39-1.02,0-1.41L18.37,3.29z"/></g></g></g></svg>',EBe=`
1297
1297
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 210 304" stroke="#000" stroke-linecap="round" stroke-linejoin="round" fill="#fff" fill-rule="evenodd">
1298
1298
  <g stroke="none" class="B">
@@ -61142,7 +61142,7 @@ const wa = 14, Ha = '"Ek Mukta","Helvetica Neue", Helvetica, Arial, sans-serif',
61142
61142
  // validation: is in built and ignored
61143
61143
  },
61144
61144
  message: {
61145
- index: 7,
61145
+ index: 4,
61146
61146
  title: "fields.message",
61147
61147
  type: "textarea",
61148
61148
  validation: Ys().max(1024).test(
@@ -61154,7 +61154,7 @@ const wa = 14, Ha = '"Ek Mukta","Helvetica Neue", Helvetica, Arial, sans-serif',
61154
61154
  onChange: (e) => e.replace(QA, "")
61155
61155
  },
61156
61156
  agbs: {
61157
- index: 8,
61157
+ index: 5,
61158
61158
  title: "fields.accept_timum_privacy",
61159
61159
  type: "checkbox",
61160
61160
  validation: xg().required("validation.field_required").test(
@@ -61164,7 +61164,7 @@ const wa = 14, Ha = '"Ek Mukta","Helvetica Neue", Helvetica, Arial, sans-serif',
61164
61164
  )
61165
61165
  },
61166
61166
  locale: {
61167
- index: 9,
61167
+ index: 6,
61168
61168
  preventRendering: !0
61169
61169
  }
61170
61170
  },
@@ -1261,7 +1261,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
1261
1261
  .fc .fc-v-event .fc-event-title {
1262
1262
  display: none !important;
1263
1263
  }
1264
- `;function Xke(){const e=we(t=>cV(t,"useCustomTimumCss"));return C.jsxs(C.Fragment,{children:[e&&C.jsx(Dy,{styles:Qke}),C.jsx(Dy,{styles:Zke})]})}function Jke(e){const t=we(wa),n=we(lV),r=we(s=>Fe(s,"calendarFrontend")),i=we(s=>Fe(s,"calendarFrontendOptions"));let o=n2(n??{});if(o=lK(o,{factor:2.5}),t)return C.jsxs(cK,{theme:o,children:[C.jsx(sne,{}),C.jsx(Xke,{}),r==="fullCalendar"&&C.jsx(_u,{...e,...i.fullCalendar,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:C.jsx(QN,{})}),r==="detailsFullCalendar"&&C.jsx(_u,{...e,...i.detailsFullCalendar,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:C.jsx(P5,{CalendarView:QN})}),(r==="pureListView"||r==="listView")&&C.jsx(_u,{...e,...i.pureListView,...i.listView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:C.jsx(N5,{})}),r==="detailsListView"&&C.jsx(_u,{...e,...i.detailsListView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:C.jsx(P5,{CalendarView:N5})}),r==="condensedView"&&C.jsx(_u,{...e,...i.condensedView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:C.jsx(eL,{})}),r==="detailsCondensedView"&&C.jsx(_u,{...e,...i.detailsCondensedView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:C.jsx(P5,{CalendarView:eL})}),r!=="fullCalendar"&&r!=="detailsFullCalendar"&&r!=="condensedView"&&r!=="detailsCondensedView"&&r!=="detailsListView"&&r!=="listView"&&r!=="pureListView"&&C.jsxs(C.Fragment,{children:["You must set calendarFrontend either to ",C.jsx("code",{children:"fullCalendar"}),","," ",C.jsx("code",{children:"detailsFullCalendar"}),",",C.jsx("code",{children:"listView"}),","," ",C.jsx("code",{children:"detailsListView"}),", ",C.jsx("code",{children:"condensedView"})," or"," ",C.jsx("code",{children:"detailsCondensedView"})," in your config."]})]})}var W4={},eAe=dn;Object.defineProperty(W4,"__esModule",{value:!0});var tL=W4.default=void 0,tAe=eAe(Sn()),nAe=C;tL=W4.default=(0,tAe.default)((0,nAe.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function nh(e){const{children:t,onClose:n,...r}=e;return C.jsxs(y$,{sx:{m:0,p:2},...r,children:[t,n?C.jsx(Wd,{"aria-label":"close",onClick:n,sx:{position:"absolute",right:8,top:8,color:i=>i.palette.grey[500]},children:C.jsx(tL,{})}):null]})}nh.propTypes={children:tt.node,onClose:tt.func.isRequired};const na=14,gl='"Ek Mukta","Helvetica Neue", Helvetica, Arial, sans-serif',mc=Math.floor(na*1.428571429),rAe=Ju(Math.floor(na*2.6)),iAe=Ju(Math.floor(na*2.3)),oAe=Ju(Math.floor(na*1.9)),sAe=Ju(Math.floor(na*1.5)),aAe=Ju(Math.floor(na*1.15)),lAe=Ju(Math.floor(na)),q4=/(\u00a9|\u00ae|[\u2000-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff])/g,vl={appConfig:{host:"https://www.timum.de",resource_channel:"RESOURCE_REFERENCE",calendarFrontend:"detailsListView",calendarFrontendOptions:{condensedView:{forceResourceSelectorDialog:!0}},allowCloseOnBooking:!0,hideTimumFooter:!1,sendCustomValuesAsMessage:!1,gatherAddressData:!1,height:500,fields:{firstName:{index:0,title:"fields.firstName",validation:qs().required("validation.field_required")},lastName:{index:1,title:"fields.lastName",validation:qs().required("validation.field_required")},email:{index:2,title:"fields.email",format:"email",type:"text",validation:qs().email("validation.email_field_must_be_valid").required("validation.field_required")},mobile:{index:3,title:"fields.mobile",type:"phoneNumber",isRequired:!1,defaultCountry:"DE",preferredCountries:["DE","CH","AT"]},message:{index:7,title:"fields.message",type:"textarea",validation:qs().max(1024).test("no-emojis","validation.no_emojis",e=>!q4.test(e)),limit:1024,onChange:e=>e.replace(q4,"")},agbs:{index:8,title:"fields.accept_timum_privacy",type:"checkbox",validation:og().required("validation.field_required").test("privacyAccepted","validation.privacy_field_required",e=>e===!0)},locale:{index:9,preventRendering:!0}},interfaces:{UnkownBookingPage:({open:e,onClose:t,children:n})=>{const r=Zi(),i=xi(r.breakpoints.down("sm"));return C.jsxs(Ps,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[C.jsx(nh,{onClose:t}),C.jsx(Ds,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:C.jsx(Au,{maxWidth:"sm",sx:{p:0},children:n})})]})},IdentifiedBookingPage:({open:e,onClose:t,children:n})=>{const r=Zi(),i=xi(r.breakpoints.down("sm"));return C.jsxs(Ps,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[C.jsx(nh,{onClose:t}),C.jsx(Ds,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:C.jsx(Au,{maxWidth:"sm",sx:{p:0},children:n})})]})},ConfirmationPage:e=>{const{open:t,onClose:n,allowCloseOnBooking:r,children:i}=e,o=Zi(),s=xi(o.breakpoints.down("sm"));return C.jsxs(Ps,{open:t,onClose:()=>{r&&n()},hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:s,children:[r&&C.jsx(nh,{onClose:n}),C.jsx(Ds,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:C.jsx(Au,{maxWidth:"sm",sx:{p:0},children:i})})]})},LoginPage:({open:e,onClose:t,children:n})=>C.jsx(Ps,{open:e,onClose:t,hideBackdrop:!0,fullWidth:!0,children:C.jsx(Ds,{children:n})}),CancelPage:({open:e,onClose:t,children:n})=>{const r=Zi(),i=xi(r.breakpoints.down("sm"));return C.jsxs(Ps,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[C.jsx(nh,{onClose:t}),C.jsx(Ds,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:C.jsx(Au,{maxWidth:"sm",sx:{p:0},children:n})})]})},ResourcePage:({mobileOpen:e,mobileOnClose:t,shouldDisplay:n,height:r,children:i})=>{const o=Zi(),s=xi(o.breakpoints.down("sm"));return C.jsxs(C.Fragment,{children:[C.jsx(Ps,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:s,children:C.jsx(Ds,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:C.jsx(Au,{maxWidth:"sm",sx:{p:0},children:i})})}),n&&C.jsxs(fe,{xs:"auto",item:!0,container:!0,display:{xs:"none",sm:"flex"},wrap:"nowrap",sx:{mr:2,maxHeight:r,boxSizing:"border-box"},children:[C.jsx(fe,{item:!0,xs:"auto",children:i}),C.jsx(fe,{item:!0,xs:"1",children:C.jsx(w$,{orientation:"vertical",variant:"middle"})})]})]})},ProductPage:({open:e,onClose:t,children:n})=>{const r=Zi(),i=xi(r.breakpoints.down("sm"));return C.jsx(Ps,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:C.jsx(Ds,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:C.jsx(Au,{maxWidth:"sm",sx:{p:0},children:n})})})},ErrorDialog:({open:e,onClose:t})=>{const{t:n}=pn();return C.jsxs(Ps,{open:e,onClose:t,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[C.jsx(y$,{id:"alert-dialog-title",children:n("reservation_failed.title")}),C.jsx(Ds,{children:C.jsx(Mne,{id:"alert-dialog-description",children:n("reservation_failed.message")})}),C.jsx(Cne,{children:C.jsx(ki,{onClick:t,autoFocus:!0,children:"Ok"})})]})}},callbacks:{}},muiTheme:{palette:{primary:{main:"#337ab7"},secondary:{main:"#777"},success:{main:"#5cb85c"},warning:{main:"#f0ad4e"},error:{main:"#d9534f"},info:{main:"#5bc0de"}},shape:{borderRadius:4},typography:{fontFamily:gl,fontSize:na,h1:{fontFamily:gl,fontWeight:500,lineHeight:1,fontSize:`${rAe}rem`},h2:{fontFamily:gl,fontWeight:500,lineHeight:1,fontSize:`${iAe}rem`},h3:{fontFamily:gl,fontWeight:500,lineHeight:1,fontSize:`${oAe}rem`},h4:{fontFamily:gl,fontWeight:500,lineHeight:1,fontSize:`${sAe}rem`},h5:{fontFamily:gl,fontWeight:500,lineHeight:1,fontSize:`${aAe}rem`},h6:{fontFamily:gl,fontWeight:500,lineHeight:1,fontSize:`${lAe}rem`}},components:{MuiCssBaseline:{styleOverrides:{body:{scrollbarColor:"#bfbfbf #ffffff","&::-webkit-scrollbar, & *::-webkit-scrollbar":{backgroundColor:"#ffffff"},"&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb":{borderRadius:8,backgroundColor:"#bfbfbf",minHeight:8,width:3,border:"5px solid #ffffff"},"&::-webkit-scrollbar-thumb:focus, & *::-webkit-scrollbar-thumb:focus":{backgroundColor:"#8f8f8f"},"&::-webkit-scrollbar-thumb:active, & *::-webkit-scrollbar-thumb:active":{backgroundColor:"#8f8f8f"},"&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover":{backgroundColor:"#8f8f8f"},"&::-webkit-scrollbar-corner, & *::-webkit-scrollbar-corner":{backgroundColor:"#ffffff"}}}},MuiButton:{styleOverrides:{root:{borderRadius:4}}},MuiTextField:{defaultProps:{variant:"outlined"}},MuiListItem:{styleOverrides:{root:{borderRadius:4}}},MuiListItemButton:{styleOverrides:{root:{borderRadius:4}}},MuiListItemText:{styleOverrides:{borderRadius:4}},MuiTypography:{styleOverrides:{h1:{marginBottom:mc/2},h2:{marginBottom:mc/2},h3:{marginBottom:mc/2},h4:{marginBottom:mc/2},h5:{marginBottom:mc/2},h6:{marginBottom:mc/2}}}}},fcConfig:{initialView:"timeGridWeek",useCustomTimumCss:!0,displayEventEnd:!1,scrollTimeReset:!1,scrollTime:"09:00:00",views:{timeGridWeek:{slotMinTime:"08:00:00",slotMaxTime:"21:00:00",allDaySlot:!1}}}},uAe="(timum\\.de|timum\\.at|timum\\.com|timum\\.fr|timum\\.io|timum\\.es|timum\\.it|timum\\.co.uktimum\\.nl|timum\\.eu|timum\\.info|timum\\.org|timum\\.me|localhost(:[0-9]+)?|127\\.0\\.0\\.1(:[0-9]+)?)",cAe=new RegExp(`^https?://([a-zA-Z0-9-]+\\.)*${uAe}$`);function nL(e){if(typeof e=="string"){const t=e.match(/^(\d+)/);return t&&t[1]?Number(t[1]):500}else if(typeof e=="number")return e;return 500}const dAe=({wait:e,height:t,children:n})=>{const r=we(Cy),i=we(wa);if(e)return C.jsx(T0,{sx:{height:t?t+"px":"500px",width:"100%",position:"absolute",display:"flex",justifyContent:"center",alignItems:"center",pointerEvents:"none",backgroundColor:"#ffffffc5",zIndex:o=>o.zIndex.drawer+1},open:!0,children:C.jsx(E0,{sx:{color:"#777",zIndex:o=>o.zIndex.drawer+2}})});if(!e&&r&&i)return n},rL=({muiTheme:e={},fcConfig:t={},appConfig:n={},children:r})=>{const i=jp(),o=we(fV),s=we(hV),a=we(pV),l=P.useMemo(()=>{var x;return(x=n==null?void 0:n.callbacks)==null?void 0:x.fetchingPublicDataFailed},[n]),[c,{isFetching:d,error:f}]=ZH(),[m,{isFetching:p}]=qH(),[g,{isFetching:v}]=YH(),b=P.useCallback((x=n,w=e,S=t)=>{const T=uL(x);T&&(cL(T,w,S,o,s,a,i),lL(T,i,c,m,g))},[n,e,t,o,s,a,i,c,m,g]);if(P.useEffect(()=>{const x=w=>{var S,T,E,k,A;cAe.test(w.origin)&&((S=w.data)==null?void 0:S.type)==="rerender"?b({...(T=w.data)==null?void 0:T.appConfig},{...(E=w.data)==null?void 0:E.muiTheme},{...(k=w.data)==null?void 0:k.fcConfig}):((A=w.data)==null?void 0:A.type)==="rerender"&&console.error("ConfigHandler received a message from an unexpected origin:",w.origin)};return window.addEventListener("message",x),()=>{window.removeEventListener("message",x)}},[b,n]),P.useEffect(()=>{const x=uL(n);x&&(cL(x,e,t,o,s,a,i),lL(x,i,c,m,g))},[n,e,t,i,o,s,a,c,m,g]),f)l&&l(f);else return C.jsx(dAe,{height:nL(n==null?void 0:n.height),wait:p||d||v,children:r})};function fAe(e,t){e&&Object.hasOwn(e,"message")&&typeof e.message>"u"&&delete t.message,e&&Object.hasOwn(e,"mobile")&&typeof e.mobile>"u"&&delete t.mobile,e&&Object.hasOwn(e,"email")&&typeof e.email>"u"&&delete t.email,e&&Object.hasOwn(e,"firstName")&&typeof e.firstName>"u"&&delete t.firstName,e&&Object.hasOwn(e,"lastName")&&typeof e.lastName>"u"&&delete t.lastName}function iL(e,t,n){if(n||(n={}),typeof t>"u"&&(t=0),t>=Object.entries(e).length)return n;for(const[r,i]of Object.entries(e))i&&i.index===t&&(n[r]=i);return t++,iL(e,t,n)}function hAe(e){var t=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return t?t.pop():""}function G4(e,t,n){if(!e.includes("@")&&!e.match(/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i))if(!t)console.warn("One or more ref parameters aren't fully qualified AND you have not provided a `platform` prop which allows timum to do it for you. Most likely timum won't find anything. Please either add a platform prop to your configuration or use a full reference in either the ref prop or a ref url parameter.");else return`${e}${n?"@"+n:""}@${t}`;return e}const oL=(e,t)=>{e&&!t.includes(e)&&t.push(e)},sL=(e,t)=>{e&&(e.forEach?e.forEach(n=>{t[n.resource.uuid]={...n}}):t[e.resource.uuid]={...e})},aL=(e,t)=>{e&&e.forEach(n=>{t[n.resource.uuid]?(t[n.resource.uuid].bookables=n.bookables,t[n.resource.uuid].products=n.products):t[n.resource.uuid]={...n}})};async function lL(e,t,n,r,i){var p,g;let o={};const s=e==null?void 0:e.ref,a=e==null?void 0:e.tslRefs,l=e==null?void 0:e.prdRefs,c=e==null?void 0:e.additionalData,d=e==null?void 0:e.publicData,f=e==null?void 0:e.tsls,m=e==null?void 0:e.channelKey;if((s==null?void 0:s.length)>0&&!(d!=null&&d.length)>0){const v=await n({channelOrResourceId:s[0],params:{channelKey:m,ref:s,...c}});sL(v==null?void 0:v.data,o)}if((d==null?void 0:d.length)>0&&sL(d,o),(a==null?void 0:a.length)>0&&!(f!=null&&f.length)>0){const v=await r({params:{channelKey:m,tlsIds:a,...c}});aL(v==null?void 0:v.data,o)}if((f==null?void 0:f.length)>0&&aL(f,o),(l==null?void 0:l.length)>0){Object.values(o).forEach(x=>{var w;x.bookables&&((w=Object.values(x.bookables))==null||w.forEach(S=>{S.forEach(T=>{var E;oL(T.product_uuid,l),(E=T.products)==null||E.forEach(k=>{oL(k.uuid,l)})})}))});const v=await i({params:{prdRefs:l,additionalData:c}}),b=Object.entries(o).filter(([,x])=>{var S,T;if(((T=(S=x.resource)==null?void 0:S.supportedProducts)==null?void 0:T.length)===0)return!1;const w=v.data.filter(E=>{var A;const k=(A=x.resource)==null?void 0:A.supportedProducts;return k&&k.some(_=>_===E.uuid)});return console.log(w),w.length===0?!1:(x.products=w,!0)});console.log(b),o=Object.fromEntries(b),console.log(o)}if(t(aV(o)),Object.values(o).length>1)if(e.cancelableAppointment){let v=!1;for(const b of Object.values(o))((p=b==null?void 0:b.resource)==null?void 0:p.uuid)===((g=e.cancelableAppointment)==null?void 0:g.resId)&&(t(od(b)),v=!0);v||t(od(Object.values(o)[0]))}else t(od(Object.values(o)[0]));else Object.values(o).length===1?t(od(Object.values(o)[0])):console.warn("Given reference(s) seems to be invalid.")}function uL(e){var b,x,w;const t={...e},n=window.location.search,r=new URLSearchParams(t.queryString||n),i=r.get("pData")??r.get("pdata"),o=r.get("pDataPlatform")?{platform:r.get("pDataPlatform"),id:r.get("pDataId"),idPropName:r.get("pDataIdPropName")}:void 0,s=hAe("PLAY_SESSION"),a=r.get("channelKey")??r.get("channelkey"),l=r.get("X-SIGNED-APP-CUSTOMER"),c=r.get("resId"),d=r.getAll("ref"),f=r.getAll("tslRefs"),m=r.getAll("prdRefs"),p=r.get("culture"),g=t.queryHash||window.location.hash,[,,v]=(g==null?void 0:g.split("/"))??[];if((i||o)&&(t.pData=i??o),a&&(t.channelKey=a),d&&d.length>0&&(t.ref=d),f&&f.length>0&&(t.tslRefs=f),m&&m.length>0&&(t.prdRefs=m),p&&(t.culture=p),Zt.isArray(t.ref)?t.ref=[...t.ref]:t.ref?t.ref=[t.ref]:t.ref=[],Zt.isArray(t.tslRefs)?t.tslRefs=[...t.tslRefs]:t.tslRefs?t.tslRefs=[t.tslRefs]:t.tslRefs=[],Zt.isArray(t.prdRefs)?t.prdRefs=[...t.prdRefs]:t.prdRefs?t.prdRefs=[t.prdRefs]:t.prdRefs=[],(!t.ref||t.ref.length===0)&&(!t.tslRefs||t.tslRefs.length===0)){console.log("timum hides itself. No reference in either url or options detected.");return}for(let S=0;S<((b=t==null?void 0:t.ref)==null?void 0:b.length);S++)t.ref[S]=G4(t.ref[S],t.platform,t.prvUuid);for(let S=0;S<((x=t==null?void 0:t.tslRefs)==null?void 0:x.length);S++)t.tslRefs[S]=G4(t.tslRefs[S],t.platform,t.prvUuid);for(let S=0;S<((w=t==null?void 0:t.prdRefs)==null?void 0:w.length);S++)t.prdRefs[S]=G4(t.prdRefs[S],t.platform,t.prvUuid);return s&&(t.cookie=s),l&&(t.cancelableAppointment={authToken:l,appointmentUuid:v,customerUuid:o.id,resourceUuid:c}),t.host&&UH(t.host),t.height&&(t.height=nL(t.height)),t}const cL=(e,t,n,r,i,o,s)=>{const a=Object.keys(t).length>0,l=Object.keys(e).length>0;let c=Zt.merge({},vl.appConfig,e),d=Zt.merge({},vl.muiTheme,t),f=Zt.merge({},vl.fcConfig,n);c.fields=iL(c.fields),fAe(e.fields,c.fields),l&&!o&&(c.localization=vl.appConfig.localization),l&&!i&&(c.fields=vl.appConfig.fields),l&&!r&&(c.hideTimumFooter=vl.appConfig.hideTimumFooter),a&&!r&&(d=vl.muiTheme),s(oV(f)),s(iV(c)),s(sV(d))};rL.displayName="ConfigHandler";const pAe=IU({reducer:{[Ep.reducerPath]:Ep.reducer,appState:mV},middleware:e=>e().concat(Ep.middleware),devTools:{trace:!0}});var dL=[],mAe=dL.forEach,gAe=dL.slice;function vAe(e){return mAe.call(gAe.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}var fL=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,yAe=function(t,n,r){var i=r||{};i.path=i.path||"/";var o=encodeURIComponent(n),s="".concat(t,"=").concat(o);if(i.maxAge>0){var a=i.maxAge-0;if(Number.isNaN(a))throw new Error("maxAge should be a Number");s+="; Max-Age=".concat(Math.floor(a))}if(i.domain){if(!fL.test(i.domain))throw new TypeError("option domain is invalid");s+="; Domain=".concat(i.domain)}if(i.path){if(!fL.test(i.path))throw new TypeError("option path is invalid");s+="; Path=".concat(i.path)}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invalid");s+="; Expires=".concat(i.expires.toUTCString())}if(i.httpOnly&&(s+="; HttpOnly"),i.secure&&(s+="; Secure"),i.sameSite){var l=typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite;switch(l){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s},hL={create:function(t,n,r,i){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+r*60*1e3)),i&&(o.domain=i),document.cookie=yAe(t,encodeURIComponent(n),o)},read:function(t){for(var n="".concat(t,"="),r=document.cookie.split(";"),i=0;i<r.length;i++){for(var o=r[i];o.charAt(0)===" ";)o=o.substring(1,o.length);if(o.indexOf(n)===0)return o.substring(n.length,o.length)}return null},remove:function(t){this.create(t,"",-1)}},bAe={name:"cookie",lookup:function(t){var n;if(t.lookupCookie&&typeof document<"u"){var r=hL.read(t.lookupCookie);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupCookie&&typeof document<"u"&&hL.create(n.lookupCookie,t,n.cookieMinutes,n.cookieDomain,n.cookieOptions)}},xAe={name:"querystring",lookup:function(t){var n;if(typeof window<"u"){var r=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=r.substring(1),o=i.split("&"),s=0;s<o.length;s++){var a=o[s].indexOf("=");if(a>0){var l=o[s].substring(0,a);l===t.lookupQuerystring&&(n=o[s].substring(a+1))}}}return n}},rh=null,pL=function(){if(rh!==null)return rh;try{rh=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{rh=!1}return rh},wAe={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&pL()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&pL()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},ih=null,mL=function(){if(ih!==null)return ih;try{ih=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{ih=!1}return ih},SAe={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&mL()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&mL()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},CAe={name:"navigator",lookup:function(t){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var r=0;r<navigator.languages.length;r++)n.push(navigator.languages[r]);navigator.userLanguage&&n.push(navigator.userLanguage),navigator.language&&n.push(navigator.language)}return n.length>0?n:void 0}},TAe={name:"htmlTag",lookup:function(t){var n,r=t.htmlTag||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},$Ae={name:"path",lookup:function(t){var n;if(typeof window<"u"){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof r[t.lookupFromPathIndex]!="string")return;n=r[t.lookupFromPathIndex].replace("/","")}else n=r[0].replace("/","")}return n}},EAe={name:"subdomain",lookup:function(t){var n=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,r=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}};function kAe(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var gL=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Mi(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return Ii(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=vAe(r,this.options||{},kAe()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(bAe),this.addDetector(xAe),this.addDetector(wAe),this.addDetector(SAe),this.addDetector(CAe),this.addDetector(TAe),this.addDetector($Ae),this.addDetector(EAe)}},{key:"addDetector",value:function(n){this.detectors[n.name]=n}},{key:"detect",value:function(n){var r=this;n||(n=this.options.order);var i=[];return n.forEach(function(o){if(r.detectors[o]){var s=r.detectors[o].lookup(r.options);s&&typeof s=="string"&&(s=[s]),s&&(i=i.concat(s))}}),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(n,r){var i=this;r||(r=this.options.caches),r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||r.forEach(function(o){i.detectors[o]&&i.detectors[o].cacheUserLanguage(n,i.options)}))}}]),e}();gL.type="languageDetector";var Y4=["​","‌"],K4=RegExp("([".concat(Y4.join(""),"]{9})+"),"gu"),AAe=9,_Ae="subliminal:start",OAe=function(t){return Array.from(new TextEncoder().encode(t))},RAe=function(t){return new TextDecoder().decode(new Uint8Array(t))},PAe=function(t){var n=8-t.length;return"0".repeat(n)+t},vL=function(t){var n=OAe(t).map(Number),r=n.map(function(o){return PAe(o.toString(2))+"0"}).join(""),i=Array.from(r).map(function(o){return Y4[Number(o)]}).join("");return i},yL=vL(_Ae),bL=function(t){var n=Array.from(t).map(function(o){return Y4.indexOf(o)}).map(String).join(""),r=n.match(/(.{9})/g),i=Uint8Array.from((r==null?void 0:r.map(function(o){return parseInt(o.slice(0,8),2)}))||[]);return RAe(i)},DAe=function(t){var n,r=(n=t.match(K4))===null||n===void 0?void 0:n.filter(function(i){return i.length>AAe-1});if(!(!r||r.length===0))return bL(r[r.length-1])},MAe=function(t){return t.replace(K4,"")},IAe=function(t){if(Object.keys(t).length===0)return t;var n={k:t.key,n:t.ns,l:t.lng,s:t.source};return JSON.stringify(n)},NAe=function(t){if(!(!t||typeof t!="string"||t.indexOf("{")!==0))try{var n=JSON.parse(t||"{}");return{key:n.k,ns:n.n,lng:n.l,source:n.s}}catch{return}};function xL(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=IAe(t),r=vL(n);return typeof e=="string"&&e?yL+e+r:e}function s1(e){var t=DAe(e),n=NAe(t),r=MAe(e);return{text:r,invisibleMeta:n}}function Z4(e){if(!e||e.length<27||!K4.test(e))return!1;var t=e.substring(e.length-9),n=bL(t);return n==="}"}function LAe(e){return e.startsWith(yL)}function wL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function a1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?wL(Object(n),!0).forEach(function(r){Yt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wL(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var SL="subliminal",FAe={name:SL,type:"postProcessor",options:{},setOptions:function(t){this.options=a1(a1({},t),this.options)},process:function(t,n,r,i){var o=this.options=a1(a1({},r),this.options),s,a,l,c;if(r.i18nResolved)s=r.i18nResolved.exactUsedKey,a=r.i18nResolved.usedNS,l=r.i18nResolved.usedLng,r.i18nResolved.res===void 0?s!==t?c="default":c="key":c="translation";else{var d,f,m,p,g,v,b=(d=(f=o.keySeparator)!==null&&f!==void 0?f:i==null||(m=i.options)===null||m===void 0?void 0:m.keySeparator)!==null&&d!==void 0?d:".",x=i.extractFromKey(n.join(b),r),w=x.key,S=x.namespaces;s=w,a=(p=(g=S==null?void 0:S[0])!==null&&g!==void 0?g:o.ns)!==null&&p!==void 0?p:i==null||(v=i.options)===null||v===void 0?void 0:v.defaultNS,l=r.lng||this.language,s===t?c="key":c="translation"}return xL(t,{key:s,ns:a,lng:l,source:c})},overloadTranslationOptionHandler:function(){return{postProcess:SL,postProcessPassResolved:!0}}},CL=["placeholder","title","alt"],Li={highlight:"#26a69a",warning:"#e67a00"},TL=function(){var t,n;typeof process<"u"&&(n=process),!n&&typeof window<"u"&&(n=window.process);var r=n||{},i=((t=r.env)===null||t===void 0?void 0:t.locizeIncontext)||"production";return i==="development"?"http://localhost:3003/":i==="staging"?"https://incontext-dev.locize.app":"https://incontext.locize.app"},ns=function(){if(!(typeof document>"u")){var e=document.createElement("style");return document.head.appendChild(e),e.sheet}}();function $L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function jAe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$L(Object(n),!0).forEach(function(r){Yt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$L(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var EL={committed:"commitKeys"};function BAe(e){return EL[e]?EL[e]:e}var Q4=[];function Kn(e,t){if(!Ae.source){var n;Ae.source=(n=document.getElementById("i18next-editor-iframe"))===null||n===void 0?void 0:n.contentWindow}if(Ae.origin||(Ae.origin=TL()),!Ae.source||!Ae.source.postMessage){Q4.push({action:e,payload:t});return}Ae.legacy?Ae.source.postMessage(jAe({message:e},t),Ae.origin):Ae.source.postMessage({sender:"i18next-editor",senderAPIVersion:"v1",action:e,message:e,payload:t},Ae.origin);var r=Q4;Q4=[],r.forEach(function(i){var o=i.action,s=i.payload;Kn(o,s)})}var yl={},X4=5,Ae={init:function(t,n){Ae.i18n=t,Ae.clickHandler=n},requestInitialize:function(t){Kn("requestInitialize",t),!Ae.initInterval&&(Ae.initInterval=setInterval(function(){X4=X4-1,Ae.requestInitialize(t),X4<0&&Ae.initInterval&&(clearInterval(Ae.initInterval),delete Ae.initInterval)},1e3))},selectKey:function(t){Kn("selectKey",t)},confirmResourceBundle:function(t){Kn("confirmResourceBundle",t)},sendCurrentParsedContent:function(){Kn("sendCurrentParsedContent",{content:Object.values(co.data).map(function(t){return{id:t.id,keys:t.keys}})})},sendCurrentTargetLanguage:function(t){Kn("sendCurrentTargetLanguage",{targetLng:t||Ae.i18n.getLng()})},addHandler:function(t,n){yl[t]||(yl[t]=[]),yl[t].push(n)},sendLocizeIsEnabled:function(){Kn("locizeIsEnabled",{enabled:!0})},turnOn:function(){if(Ae.scriptTurnedOff)return Kn("forcedOff");Ae.clickInterceptionEnabled||window.document.body.addEventListener("click",Ae.clickHandler,!0),Ae.clickInterceptionEnabled=!0,Kn("turnedOn")},turnOff:function(){if(Ae.scriptTurnedOff)return Kn("forcedOff");Ae.clickInterceptionEnabled&&window.document.body.removeEventListener("click",Ae.clickHandler,!0),Ae.clickInterceptionEnabled=!1,Kn("turnedOff")},onAddedKey:function(t,n,r,i){var o={lng:t,ns:n,key:r,value:i};Kn("added",o)}};typeof window<"u"&&window.addEventListener("message",function(e){var t=e.data,n=t.sender,r=t.action,i=t.message,o=t.payload;if(i){var s=BAe(i);yl[s]&&yl[s].forEach(function(a){a(o,e)})}else n==="i18next-editor-frame"&&yl[r]&&yl[r].forEach(function(a){a(o)})});function l1(e,t){var n=co.get(e.eleUniqueID);if(!(!n||!n.keys[e.textType])){var r=xL(t,n.subliminal);if(e.textType==="text")n.node.textContent=r;else if(e.textType.indexOf("attr:")===0){var i=e.textType.replace("attr:","");n.node.setAttribute(i,r)}else if(e.textType==="html"){var o="".concat(e.textType,"-").concat(e.children);if(!n.originalChildNodes){var s=[];n.node.childNodes.forEach(function(f){s.push(f)}),n.originalChildNodes=s}if(n.children[o].length===n.node.childNodes.length)n.node.innerHTML=r;else{var a=n.children[o],l=a[0].child,c=document.createElement("div");c.innerHTML=r;var d=[];c.childNodes.forEach(function(f){d.push(f)}),d.forEach(function(f){try{n.node.insertBefore(f,l)}catch{n.node.appendChild(f)}}),a.forEach(function(f){n.node.contains(f.child)&&n.node.removeChild(f.child)})}}}}function zAe(e){var t=e.meta,n=e.value;t&&n!==void 0&&l1(t,n)}Ae.addHandler("editKey",zAe);function HAe(e){var t=e.meta,n=e.value,r=e.lng;if(t&&n!==void 0){l1(t,n);var i=r||Ae.i18n.getLng();Ae.i18n.setResource(i,t.ns,t.key,n),Ae.i18n.triggerRerender()}}Ae.addHandler("commitKey",HAe);function UAe(e){if(Array.isArray(e))return B4(e)}function VAe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1264
+ `;function Xke(){const e=we(t=>cV(t,"useCustomTimumCss"));return C.jsxs(C.Fragment,{children:[e&&C.jsx(Dy,{styles:Qke}),C.jsx(Dy,{styles:Zke})]})}function Jke(e){const t=we(wa),n=we(lV),r=we(s=>Fe(s,"calendarFrontend")),i=we(s=>Fe(s,"calendarFrontendOptions"));let o=n2(n??{});if(o=lK(o,{factor:2.5}),t)return C.jsxs(cK,{theme:o,children:[C.jsx(sne,{}),C.jsx(Xke,{}),r==="fullCalendar"&&C.jsx(_u,{...e,...i.fullCalendar,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:C.jsx(QN,{})}),r==="detailsFullCalendar"&&C.jsx(_u,{...e,...i.detailsFullCalendar,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:C.jsx(P5,{CalendarView:QN})}),(r==="pureListView"||r==="listView")&&C.jsx(_u,{...e,...i.pureListView,...i.listView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:C.jsx(N5,{})}),r==="detailsListView"&&C.jsx(_u,{...e,...i.detailsListView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:C.jsx(P5,{CalendarView:N5})}),r==="condensedView"&&C.jsx(_u,{...e,...i.condensedView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:C.jsx(eL,{})}),r==="detailsCondensedView"&&C.jsx(_u,{...e,...i.detailsCondensedView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:C.jsx(P5,{CalendarView:eL})}),r!=="fullCalendar"&&r!=="detailsFullCalendar"&&r!=="condensedView"&&r!=="detailsCondensedView"&&r!=="detailsListView"&&r!=="listView"&&r!=="pureListView"&&C.jsxs(C.Fragment,{children:["You must set calendarFrontend either to ",C.jsx("code",{children:"fullCalendar"}),","," ",C.jsx("code",{children:"detailsFullCalendar"}),",",C.jsx("code",{children:"listView"}),","," ",C.jsx("code",{children:"detailsListView"}),", ",C.jsx("code",{children:"condensedView"})," or"," ",C.jsx("code",{children:"detailsCondensedView"})," in your config."]})]})}var W4={},eAe=dn;Object.defineProperty(W4,"__esModule",{value:!0});var tL=W4.default=void 0,tAe=eAe(Sn()),nAe=C;tL=W4.default=(0,tAe.default)((0,nAe.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close");function nh(e){const{children:t,onClose:n,...r}=e;return C.jsxs(y$,{sx:{m:0,p:2},...r,children:[t,n?C.jsx(Wd,{"aria-label":"close",onClick:n,sx:{position:"absolute",right:8,top:8,color:i=>i.palette.grey[500]},children:C.jsx(tL,{})}):null]})}nh.propTypes={children:tt.node,onClose:tt.func.isRequired};const na=14,gl='"Ek Mukta","Helvetica Neue", Helvetica, Arial, sans-serif',mc=Math.floor(na*1.428571429),rAe=Ju(Math.floor(na*2.6)),iAe=Ju(Math.floor(na*2.3)),oAe=Ju(Math.floor(na*1.9)),sAe=Ju(Math.floor(na*1.5)),aAe=Ju(Math.floor(na*1.15)),lAe=Ju(Math.floor(na)),q4=/(\u00a9|\u00ae|[\u2000-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff])/g,vl={appConfig:{host:"https://www.timum.de",resource_channel:"RESOURCE_REFERENCE",calendarFrontend:"detailsListView",calendarFrontendOptions:{condensedView:{forceResourceSelectorDialog:!0}},allowCloseOnBooking:!0,hideTimumFooter:!1,sendCustomValuesAsMessage:!1,gatherAddressData:!1,height:500,fields:{firstName:{index:0,title:"fields.firstName",validation:qs().required("validation.field_required")},lastName:{index:1,title:"fields.lastName",validation:qs().required("validation.field_required")},email:{index:2,title:"fields.email",format:"email",type:"text",validation:qs().email("validation.email_field_must_be_valid").required("validation.field_required")},mobile:{index:3,title:"fields.mobile",type:"phoneNumber",isRequired:!1,defaultCountry:"DE",preferredCountries:["DE","CH","AT"]},message:{index:4,title:"fields.message",type:"textarea",validation:qs().max(1024).test("no-emojis","validation.no_emojis",e=>!q4.test(e)),limit:1024,onChange:e=>e.replace(q4,"")},agbs:{index:5,title:"fields.accept_timum_privacy",type:"checkbox",validation:og().required("validation.field_required").test("privacyAccepted","validation.privacy_field_required",e=>e===!0)},locale:{index:6,preventRendering:!0}},interfaces:{UnkownBookingPage:({open:e,onClose:t,children:n})=>{const r=Zi(),i=xi(r.breakpoints.down("sm"));return C.jsxs(Ps,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[C.jsx(nh,{onClose:t}),C.jsx(Ds,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:C.jsx(Au,{maxWidth:"sm",sx:{p:0},children:n})})]})},IdentifiedBookingPage:({open:e,onClose:t,children:n})=>{const r=Zi(),i=xi(r.breakpoints.down("sm"));return C.jsxs(Ps,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[C.jsx(nh,{onClose:t}),C.jsx(Ds,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:C.jsx(Au,{maxWidth:"sm",sx:{p:0},children:n})})]})},ConfirmationPage:e=>{const{open:t,onClose:n,allowCloseOnBooking:r,children:i}=e,o=Zi(),s=xi(o.breakpoints.down("sm"));return C.jsxs(Ps,{open:t,onClose:()=>{r&&n()},hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:s,children:[r&&C.jsx(nh,{onClose:n}),C.jsx(Ds,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:C.jsx(Au,{maxWidth:"sm",sx:{p:0},children:i})})]})},LoginPage:({open:e,onClose:t,children:n})=>C.jsx(Ps,{open:e,onClose:t,hideBackdrop:!0,fullWidth:!0,children:C.jsx(Ds,{children:n})}),CancelPage:({open:e,onClose:t,children:n})=>{const r=Zi(),i=xi(r.breakpoints.down("sm"));return C.jsxs(Ps,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[C.jsx(nh,{onClose:t}),C.jsx(Ds,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:C.jsx(Au,{maxWidth:"sm",sx:{p:0},children:n})})]})},ResourcePage:({mobileOpen:e,mobileOnClose:t,shouldDisplay:n,height:r,children:i})=>{const o=Zi(),s=xi(o.breakpoints.down("sm"));return C.jsxs(C.Fragment,{children:[C.jsx(Ps,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:s,children:C.jsx(Ds,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:C.jsx(Au,{maxWidth:"sm",sx:{p:0},children:i})})}),n&&C.jsxs(fe,{xs:"auto",item:!0,container:!0,display:{xs:"none",sm:"flex"},wrap:"nowrap",sx:{mr:2,maxHeight:r,boxSizing:"border-box"},children:[C.jsx(fe,{item:!0,xs:"auto",children:i}),C.jsx(fe,{item:!0,xs:"1",children:C.jsx(w$,{orientation:"vertical",variant:"middle"})})]})]})},ProductPage:({open:e,onClose:t,children:n})=>{const r=Zi(),i=xi(r.breakpoints.down("sm"));return C.jsx(Ps,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:C.jsx(Ds,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:C.jsx(Au,{maxWidth:"sm",sx:{p:0},children:n})})})},ErrorDialog:({open:e,onClose:t})=>{const{t:n}=pn();return C.jsxs(Ps,{open:e,onClose:t,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[C.jsx(y$,{id:"alert-dialog-title",children:n("reservation_failed.title")}),C.jsx(Ds,{children:C.jsx(Mne,{id:"alert-dialog-description",children:n("reservation_failed.message")})}),C.jsx(Cne,{children:C.jsx(ki,{onClick:t,autoFocus:!0,children:"Ok"})})]})}},callbacks:{}},muiTheme:{palette:{primary:{main:"#337ab7"},secondary:{main:"#777"},success:{main:"#5cb85c"},warning:{main:"#f0ad4e"},error:{main:"#d9534f"},info:{main:"#5bc0de"}},shape:{borderRadius:4},typography:{fontFamily:gl,fontSize:na,h1:{fontFamily:gl,fontWeight:500,lineHeight:1,fontSize:`${rAe}rem`},h2:{fontFamily:gl,fontWeight:500,lineHeight:1,fontSize:`${iAe}rem`},h3:{fontFamily:gl,fontWeight:500,lineHeight:1,fontSize:`${oAe}rem`},h4:{fontFamily:gl,fontWeight:500,lineHeight:1,fontSize:`${sAe}rem`},h5:{fontFamily:gl,fontWeight:500,lineHeight:1,fontSize:`${aAe}rem`},h6:{fontFamily:gl,fontWeight:500,lineHeight:1,fontSize:`${lAe}rem`}},components:{MuiCssBaseline:{styleOverrides:{body:{scrollbarColor:"#bfbfbf #ffffff","&::-webkit-scrollbar, & *::-webkit-scrollbar":{backgroundColor:"#ffffff"},"&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb":{borderRadius:8,backgroundColor:"#bfbfbf",minHeight:8,width:3,border:"5px solid #ffffff"},"&::-webkit-scrollbar-thumb:focus, & *::-webkit-scrollbar-thumb:focus":{backgroundColor:"#8f8f8f"},"&::-webkit-scrollbar-thumb:active, & *::-webkit-scrollbar-thumb:active":{backgroundColor:"#8f8f8f"},"&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover":{backgroundColor:"#8f8f8f"},"&::-webkit-scrollbar-corner, & *::-webkit-scrollbar-corner":{backgroundColor:"#ffffff"}}}},MuiButton:{styleOverrides:{root:{borderRadius:4}}},MuiTextField:{defaultProps:{variant:"outlined"}},MuiListItem:{styleOverrides:{root:{borderRadius:4}}},MuiListItemButton:{styleOverrides:{root:{borderRadius:4}}},MuiListItemText:{styleOverrides:{borderRadius:4}},MuiTypography:{styleOverrides:{h1:{marginBottom:mc/2},h2:{marginBottom:mc/2},h3:{marginBottom:mc/2},h4:{marginBottom:mc/2},h5:{marginBottom:mc/2},h6:{marginBottom:mc/2}}}}},fcConfig:{initialView:"timeGridWeek",useCustomTimumCss:!0,displayEventEnd:!1,scrollTimeReset:!1,scrollTime:"09:00:00",views:{timeGridWeek:{slotMinTime:"08:00:00",slotMaxTime:"21:00:00",allDaySlot:!1}}}},uAe="(timum\\.de|timum\\.at|timum\\.com|timum\\.fr|timum\\.io|timum\\.es|timum\\.it|timum\\.co.uktimum\\.nl|timum\\.eu|timum\\.info|timum\\.org|timum\\.me|localhost(:[0-9]+)?|127\\.0\\.0\\.1(:[0-9]+)?)",cAe=new RegExp(`^https?://([a-zA-Z0-9-]+\\.)*${uAe}$`);function nL(e){if(typeof e=="string"){const t=e.match(/^(\d+)/);return t&&t[1]?Number(t[1]):500}else if(typeof e=="number")return e;return 500}const dAe=({wait:e,height:t,children:n})=>{const r=we(Cy),i=we(wa);if(e)return C.jsx(T0,{sx:{height:t?t+"px":"500px",width:"100%",position:"absolute",display:"flex",justifyContent:"center",alignItems:"center",pointerEvents:"none",backgroundColor:"#ffffffc5",zIndex:o=>o.zIndex.drawer+1},open:!0,children:C.jsx(E0,{sx:{color:"#777",zIndex:o=>o.zIndex.drawer+2}})});if(!e&&r&&i)return n},rL=({muiTheme:e={},fcConfig:t={},appConfig:n={},children:r})=>{const i=jp(),o=we(fV),s=we(hV),a=we(pV),l=P.useMemo(()=>{var x;return(x=n==null?void 0:n.callbacks)==null?void 0:x.fetchingPublicDataFailed},[n]),[c,{isFetching:d,error:f}]=ZH(),[m,{isFetching:p}]=qH(),[g,{isFetching:v}]=YH(),b=P.useCallback((x=n,w=e,S=t)=>{const T=uL(x);T&&(cL(T,w,S,o,s,a,i),lL(T,i,c,m,g))},[n,e,t,o,s,a,i,c,m,g]);if(P.useEffect(()=>{const x=w=>{var S,T,E,k,A;cAe.test(w.origin)&&((S=w.data)==null?void 0:S.type)==="rerender"?b({...(T=w.data)==null?void 0:T.appConfig},{...(E=w.data)==null?void 0:E.muiTheme},{...(k=w.data)==null?void 0:k.fcConfig}):((A=w.data)==null?void 0:A.type)==="rerender"&&console.error("ConfigHandler received a message from an unexpected origin:",w.origin)};return window.addEventListener("message",x),()=>{window.removeEventListener("message",x)}},[b,n]),P.useEffect(()=>{const x=uL(n);x&&(cL(x,e,t,o,s,a,i),lL(x,i,c,m,g))},[n,e,t,i,o,s,a,c,m,g]),f)l&&l(f);else return C.jsx(dAe,{height:nL(n==null?void 0:n.height),wait:p||d||v,children:r})};function fAe(e,t){e&&Object.hasOwn(e,"message")&&typeof e.message>"u"&&delete t.message,e&&Object.hasOwn(e,"mobile")&&typeof e.mobile>"u"&&delete t.mobile,e&&Object.hasOwn(e,"email")&&typeof e.email>"u"&&delete t.email,e&&Object.hasOwn(e,"firstName")&&typeof e.firstName>"u"&&delete t.firstName,e&&Object.hasOwn(e,"lastName")&&typeof e.lastName>"u"&&delete t.lastName}function iL(e,t,n){if(n||(n={}),typeof t>"u"&&(t=0),t>=Object.entries(e).length)return n;for(const[r,i]of Object.entries(e))i&&i.index===t&&(n[r]=i);return t++,iL(e,t,n)}function hAe(e){var t=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return t?t.pop():""}function G4(e,t,n){if(!e.includes("@")&&!e.match(/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i))if(!t)console.warn("One or more ref parameters aren't fully qualified AND you have not provided a `platform` prop which allows timum to do it for you. Most likely timum won't find anything. Please either add a platform prop to your configuration or use a full reference in either the ref prop or a ref url parameter.");else return`${e}${n?"@"+n:""}@${t}`;return e}const oL=(e,t)=>{e&&!t.includes(e)&&t.push(e)},sL=(e,t)=>{e&&(e.forEach?e.forEach(n=>{t[n.resource.uuid]={...n}}):t[e.resource.uuid]={...e})},aL=(e,t)=>{e&&e.forEach(n=>{t[n.resource.uuid]?(t[n.resource.uuid].bookables=n.bookables,t[n.resource.uuid].products=n.products):t[n.resource.uuid]={...n}})};async function lL(e,t,n,r,i){var p,g;let o={};const s=e==null?void 0:e.ref,a=e==null?void 0:e.tslRefs,l=e==null?void 0:e.prdRefs,c=e==null?void 0:e.additionalData,d=e==null?void 0:e.publicData,f=e==null?void 0:e.tsls,m=e==null?void 0:e.channelKey;if((s==null?void 0:s.length)>0&&!(d!=null&&d.length)>0){const v=await n({channelOrResourceId:s[0],params:{channelKey:m,ref:s,...c}});sL(v==null?void 0:v.data,o)}if((d==null?void 0:d.length)>0&&sL(d,o),(a==null?void 0:a.length)>0&&!(f!=null&&f.length)>0){const v=await r({params:{channelKey:m,tlsIds:a,...c}});aL(v==null?void 0:v.data,o)}if((f==null?void 0:f.length)>0&&aL(f,o),(l==null?void 0:l.length)>0){Object.values(o).forEach(x=>{var w;x.bookables&&((w=Object.values(x.bookables))==null||w.forEach(S=>{S.forEach(T=>{var E;oL(T.product_uuid,l),(E=T.products)==null||E.forEach(k=>{oL(k.uuid,l)})})}))});const v=await i({params:{prdRefs:l,additionalData:c}}),b=Object.entries(o).filter(([,x])=>{var S,T;if(((T=(S=x.resource)==null?void 0:S.supportedProducts)==null?void 0:T.length)===0)return!1;const w=v.data.filter(E=>{var A;const k=(A=x.resource)==null?void 0:A.supportedProducts;return k&&k.some(_=>_===E.uuid)});return console.log(w),w.length===0?!1:(x.products=w,!0)});console.log(b),o=Object.fromEntries(b),console.log(o)}if(t(aV(o)),Object.values(o).length>1)if(e.cancelableAppointment){let v=!1;for(const b of Object.values(o))((p=b==null?void 0:b.resource)==null?void 0:p.uuid)===((g=e.cancelableAppointment)==null?void 0:g.resId)&&(t(od(b)),v=!0);v||t(od(Object.values(o)[0]))}else t(od(Object.values(o)[0]));else Object.values(o).length===1?t(od(Object.values(o)[0])):console.warn("Given reference(s) seems to be invalid.")}function uL(e){var b,x,w;const t={...e},n=window.location.search,r=new URLSearchParams(t.queryString||n),i=r.get("pData")??r.get("pdata"),o=r.get("pDataPlatform")?{platform:r.get("pDataPlatform"),id:r.get("pDataId"),idPropName:r.get("pDataIdPropName")}:void 0,s=hAe("PLAY_SESSION"),a=r.get("channelKey")??r.get("channelkey"),l=r.get("X-SIGNED-APP-CUSTOMER"),c=r.get("resId"),d=r.getAll("ref"),f=r.getAll("tslRefs"),m=r.getAll("prdRefs"),p=r.get("culture"),g=t.queryHash||window.location.hash,[,,v]=(g==null?void 0:g.split("/"))??[];if((i||o)&&(t.pData=i??o),a&&(t.channelKey=a),d&&d.length>0&&(t.ref=d),f&&f.length>0&&(t.tslRefs=f),m&&m.length>0&&(t.prdRefs=m),p&&(t.culture=p),Zt.isArray(t.ref)?t.ref=[...t.ref]:t.ref?t.ref=[t.ref]:t.ref=[],Zt.isArray(t.tslRefs)?t.tslRefs=[...t.tslRefs]:t.tslRefs?t.tslRefs=[t.tslRefs]:t.tslRefs=[],Zt.isArray(t.prdRefs)?t.prdRefs=[...t.prdRefs]:t.prdRefs?t.prdRefs=[t.prdRefs]:t.prdRefs=[],(!t.ref||t.ref.length===0)&&(!t.tslRefs||t.tslRefs.length===0)){console.log("timum hides itself. No reference in either url or options detected.");return}for(let S=0;S<((b=t==null?void 0:t.ref)==null?void 0:b.length);S++)t.ref[S]=G4(t.ref[S],t.platform,t.prvUuid);for(let S=0;S<((x=t==null?void 0:t.tslRefs)==null?void 0:x.length);S++)t.tslRefs[S]=G4(t.tslRefs[S],t.platform,t.prvUuid);for(let S=0;S<((w=t==null?void 0:t.prdRefs)==null?void 0:w.length);S++)t.prdRefs[S]=G4(t.prdRefs[S],t.platform,t.prvUuid);return s&&(t.cookie=s),l&&(t.cancelableAppointment={authToken:l,appointmentUuid:v,customerUuid:o.id,resourceUuid:c}),t.host&&UH(t.host),t.height&&(t.height=nL(t.height)),t}const cL=(e,t,n,r,i,o,s)=>{const a=Object.keys(t).length>0,l=Object.keys(e).length>0;let c=Zt.merge({},vl.appConfig,e),d=Zt.merge({},vl.muiTheme,t),f=Zt.merge({},vl.fcConfig,n);c.fields=iL(c.fields),fAe(e.fields,c.fields),l&&!o&&(c.localization=vl.appConfig.localization),l&&!i&&(c.fields=vl.appConfig.fields),l&&!r&&(c.hideTimumFooter=vl.appConfig.hideTimumFooter),a&&!r&&(d=vl.muiTheme),s(oV(f)),s(iV(c)),s(sV(d))};rL.displayName="ConfigHandler";const pAe=IU({reducer:{[Ep.reducerPath]:Ep.reducer,appState:mV},middleware:e=>e().concat(Ep.middleware),devTools:{trace:!0}});var dL=[],mAe=dL.forEach,gAe=dL.slice;function vAe(e){return mAe.call(gAe.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}var fL=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,yAe=function(t,n,r){var i=r||{};i.path=i.path||"/";var o=encodeURIComponent(n),s="".concat(t,"=").concat(o);if(i.maxAge>0){var a=i.maxAge-0;if(Number.isNaN(a))throw new Error("maxAge should be a Number");s+="; Max-Age=".concat(Math.floor(a))}if(i.domain){if(!fL.test(i.domain))throw new TypeError("option domain is invalid");s+="; Domain=".concat(i.domain)}if(i.path){if(!fL.test(i.path))throw new TypeError("option path is invalid");s+="; Path=".concat(i.path)}if(i.expires){if(typeof i.expires.toUTCString!="function")throw new TypeError("option expires is invalid");s+="; Expires=".concat(i.expires.toUTCString())}if(i.httpOnly&&(s+="; HttpOnly"),i.secure&&(s+="; Secure"),i.sameSite){var l=typeof i.sameSite=="string"?i.sameSite.toLowerCase():i.sameSite;switch(l){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s},hL={create:function(t,n,r,i){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};r&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+r*60*1e3)),i&&(o.domain=i),document.cookie=yAe(t,encodeURIComponent(n),o)},read:function(t){for(var n="".concat(t,"="),r=document.cookie.split(";"),i=0;i<r.length;i++){for(var o=r[i];o.charAt(0)===" ";)o=o.substring(1,o.length);if(o.indexOf(n)===0)return o.substring(n.length,o.length)}return null},remove:function(t){this.create(t,"",-1)}},bAe={name:"cookie",lookup:function(t){var n;if(t.lookupCookie&&typeof document<"u"){var r=hL.read(t.lookupCookie);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupCookie&&typeof document<"u"&&hL.create(n.lookupCookie,t,n.cookieMinutes,n.cookieDomain,n.cookieOptions)}},xAe={name:"querystring",lookup:function(t){var n;if(typeof window<"u"){var r=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var i=r.substring(1),o=i.split("&"),s=0;s<o.length;s++){var a=o[s].indexOf("=");if(a>0){var l=o[s].substring(0,a);l===t.lookupQuerystring&&(n=o[s].substring(a+1))}}}return n}},rh=null,pL=function(){if(rh!==null)return rh;try{rh=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{rh=!1}return rh},wAe={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&pL()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&pL()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},ih=null,mL=function(){if(ih!==null)return ih;try{ih=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{ih=!1}return ih},SAe={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&mL()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&mL()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},CAe={name:"navigator",lookup:function(t){var n=[];if(typeof navigator<"u"){if(navigator.languages)for(var r=0;r<navigator.languages.length;r++)n.push(navigator.languages[r]);navigator.userLanguage&&n.push(navigator.userLanguage),navigator.language&&n.push(navigator.language)}return n.length>0?n:void 0}},TAe={name:"htmlTag",lookup:function(t){var n,r=t.htmlTag||(typeof document<"u"?document.documentElement:null);return r&&typeof r.getAttribute=="function"&&(n=r.getAttribute("lang")),n}},$Ae={name:"path",lookup:function(t){var n;if(typeof window<"u"){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof r[t.lookupFromPathIndex]!="string")return;n=r[t.lookupFromPathIndex].replace("/","")}else n=r[0].replace("/","")}return n}},EAe={name:"subdomain",lookup:function(t){var n=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,r=typeof window<"u"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[n]}};function kAe(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var gL=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Mi(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return Ii(e,[{key:"init",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=n,this.options=vAe(r,this.options||{},kAe()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(bAe),this.addDetector(xAe),this.addDetector(wAe),this.addDetector(SAe),this.addDetector(CAe),this.addDetector(TAe),this.addDetector($Ae),this.addDetector(EAe)}},{key:"addDetector",value:function(n){this.detectors[n.name]=n}},{key:"detect",value:function(n){var r=this;n||(n=this.options.order);var i=[];return n.forEach(function(o){if(r.detectors[o]){var s=r.detectors[o].lookup(r.options);s&&typeof s=="string"&&(s=[s]),s&&(i=i.concat(s))}}),this.services.languageUtils.getBestMatchFromCodes?i:i.length>0?i[0]:null}},{key:"cacheUserLanguage",value:function(n,r){var i=this;r||(r=this.options.caches),r&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(n)>-1||r.forEach(function(o){i.detectors[o]&&i.detectors[o].cacheUserLanguage(n,i.options)}))}}]),e}();gL.type="languageDetector";var Y4=["​","‌"],K4=RegExp("([".concat(Y4.join(""),"]{9})+"),"gu"),AAe=9,_Ae="subliminal:start",OAe=function(t){return Array.from(new TextEncoder().encode(t))},RAe=function(t){return new TextDecoder().decode(new Uint8Array(t))},PAe=function(t){var n=8-t.length;return"0".repeat(n)+t},vL=function(t){var n=OAe(t).map(Number),r=n.map(function(o){return PAe(o.toString(2))+"0"}).join(""),i=Array.from(r).map(function(o){return Y4[Number(o)]}).join("");return i},yL=vL(_Ae),bL=function(t){var n=Array.from(t).map(function(o){return Y4.indexOf(o)}).map(String).join(""),r=n.match(/(.{9})/g),i=Uint8Array.from((r==null?void 0:r.map(function(o){return parseInt(o.slice(0,8),2)}))||[]);return RAe(i)},DAe=function(t){var n,r=(n=t.match(K4))===null||n===void 0?void 0:n.filter(function(i){return i.length>AAe-1});if(!(!r||r.length===0))return bL(r[r.length-1])},MAe=function(t){return t.replace(K4,"")},IAe=function(t){if(Object.keys(t).length===0)return t;var n={k:t.key,n:t.ns,l:t.lng,s:t.source};return JSON.stringify(n)},NAe=function(t){if(!(!t||typeof t!="string"||t.indexOf("{")!==0))try{var n=JSON.parse(t||"{}");return{key:n.k,ns:n.n,lng:n.l,source:n.s}}catch{return}};function xL(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=IAe(t),r=vL(n);return typeof e=="string"&&e?yL+e+r:e}function s1(e){var t=DAe(e),n=NAe(t),r=MAe(e);return{text:r,invisibleMeta:n}}function Z4(e){if(!e||e.length<27||!K4.test(e))return!1;var t=e.substring(e.length-9),n=bL(t);return n==="}"}function LAe(e){return e.startsWith(yL)}function wL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function a1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?wL(Object(n),!0).forEach(function(r){Yt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wL(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var SL="subliminal",FAe={name:SL,type:"postProcessor",options:{},setOptions:function(t){this.options=a1(a1({},t),this.options)},process:function(t,n,r,i){var o=this.options=a1(a1({},r),this.options),s,a,l,c;if(r.i18nResolved)s=r.i18nResolved.exactUsedKey,a=r.i18nResolved.usedNS,l=r.i18nResolved.usedLng,r.i18nResolved.res===void 0?s!==t?c="default":c="key":c="translation";else{var d,f,m,p,g,v,b=(d=(f=o.keySeparator)!==null&&f!==void 0?f:i==null||(m=i.options)===null||m===void 0?void 0:m.keySeparator)!==null&&d!==void 0?d:".",x=i.extractFromKey(n.join(b),r),w=x.key,S=x.namespaces;s=w,a=(p=(g=S==null?void 0:S[0])!==null&&g!==void 0?g:o.ns)!==null&&p!==void 0?p:i==null||(v=i.options)===null||v===void 0?void 0:v.defaultNS,l=r.lng||this.language,s===t?c="key":c="translation"}return xL(t,{key:s,ns:a,lng:l,source:c})},overloadTranslationOptionHandler:function(){return{postProcess:SL,postProcessPassResolved:!0}}},CL=["placeholder","title","alt"],Li={highlight:"#26a69a",warning:"#e67a00"},TL=function(){var t,n;typeof process<"u"&&(n=process),!n&&typeof window<"u"&&(n=window.process);var r=n||{},i=((t=r.env)===null||t===void 0?void 0:t.locizeIncontext)||"production";return i==="development"?"http://localhost:3003/":i==="staging"?"https://incontext-dev.locize.app":"https://incontext.locize.app"},ns=function(){if(!(typeof document>"u")){var e=document.createElement("style");return document.head.appendChild(e),e.sheet}}();function $L(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function jAe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$L(Object(n),!0).forEach(function(r){Yt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$L(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var EL={committed:"commitKeys"};function BAe(e){return EL[e]?EL[e]:e}var Q4=[];function Kn(e,t){if(!Ae.source){var n;Ae.source=(n=document.getElementById("i18next-editor-iframe"))===null||n===void 0?void 0:n.contentWindow}if(Ae.origin||(Ae.origin=TL()),!Ae.source||!Ae.source.postMessage){Q4.push({action:e,payload:t});return}Ae.legacy?Ae.source.postMessage(jAe({message:e},t),Ae.origin):Ae.source.postMessage({sender:"i18next-editor",senderAPIVersion:"v1",action:e,message:e,payload:t},Ae.origin);var r=Q4;Q4=[],r.forEach(function(i){var o=i.action,s=i.payload;Kn(o,s)})}var yl={},X4=5,Ae={init:function(t,n){Ae.i18n=t,Ae.clickHandler=n},requestInitialize:function(t){Kn("requestInitialize",t),!Ae.initInterval&&(Ae.initInterval=setInterval(function(){X4=X4-1,Ae.requestInitialize(t),X4<0&&Ae.initInterval&&(clearInterval(Ae.initInterval),delete Ae.initInterval)},1e3))},selectKey:function(t){Kn("selectKey",t)},confirmResourceBundle:function(t){Kn("confirmResourceBundle",t)},sendCurrentParsedContent:function(){Kn("sendCurrentParsedContent",{content:Object.values(co.data).map(function(t){return{id:t.id,keys:t.keys}})})},sendCurrentTargetLanguage:function(t){Kn("sendCurrentTargetLanguage",{targetLng:t||Ae.i18n.getLng()})},addHandler:function(t,n){yl[t]||(yl[t]=[]),yl[t].push(n)},sendLocizeIsEnabled:function(){Kn("locizeIsEnabled",{enabled:!0})},turnOn:function(){if(Ae.scriptTurnedOff)return Kn("forcedOff");Ae.clickInterceptionEnabled||window.document.body.addEventListener("click",Ae.clickHandler,!0),Ae.clickInterceptionEnabled=!0,Kn("turnedOn")},turnOff:function(){if(Ae.scriptTurnedOff)return Kn("forcedOff");Ae.clickInterceptionEnabled&&window.document.body.removeEventListener("click",Ae.clickHandler,!0),Ae.clickInterceptionEnabled=!1,Kn("turnedOff")},onAddedKey:function(t,n,r,i){var o={lng:t,ns:n,key:r,value:i};Kn("added",o)}};typeof window<"u"&&window.addEventListener("message",function(e){var t=e.data,n=t.sender,r=t.action,i=t.message,o=t.payload;if(i){var s=BAe(i);yl[s]&&yl[s].forEach(function(a){a(o,e)})}else n==="i18next-editor-frame"&&yl[r]&&yl[r].forEach(function(a){a(o)})});function l1(e,t){var n=co.get(e.eleUniqueID);if(!(!n||!n.keys[e.textType])){var r=xL(t,n.subliminal);if(e.textType==="text")n.node.textContent=r;else if(e.textType.indexOf("attr:")===0){var i=e.textType.replace("attr:","");n.node.setAttribute(i,r)}else if(e.textType==="html"){var o="".concat(e.textType,"-").concat(e.children);if(!n.originalChildNodes){var s=[];n.node.childNodes.forEach(function(f){s.push(f)}),n.originalChildNodes=s}if(n.children[o].length===n.node.childNodes.length)n.node.innerHTML=r;else{var a=n.children[o],l=a[0].child,c=document.createElement("div");c.innerHTML=r;var d=[];c.childNodes.forEach(function(f){d.push(f)}),d.forEach(function(f){try{n.node.insertBefore(f,l)}catch{n.node.appendChild(f)}}),a.forEach(function(f){n.node.contains(f.child)&&n.node.removeChild(f.child)})}}}}function zAe(e){var t=e.meta,n=e.value;t&&n!==void 0&&l1(t,n)}Ae.addHandler("editKey",zAe);function HAe(e){var t=e.meta,n=e.value,r=e.lng;if(t&&n!==void 0){l1(t,n);var i=r||Ae.i18n.getLng();Ae.i18n.setResource(i,t.ns,t.key,n),Ae.i18n.triggerRerender()}}Ae.addHandler("commitKey",HAe);function UAe(e){if(Array.isArray(e))return B4(e)}function VAe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1265
1265
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function WAe(e){return UAe(e)||ON(e)||RN(e)||VAe()}function qAe(e){var t=e.updated;t.forEach(function(n){var r=n.lng,i=n.ns,o=n.key,s=n.data,a=n.metas,l=n.meta;l&&s.value&&l1(l,s.value),a&&Object.values(a).forEach(function(c){l1(c,s.value)}),Ae.i18n.setResource(r,i,o,s.value)}),Object.values(co.data).forEach(function(n){if(n.originalChildNodes){var r;(r=n.node).replaceChildren.apply(r,WAe(n.originalChildNodes))}}),Ae.i18n.triggerRerender(),Ae.locizeSavedHandler&&Ae.locizeSavedHandler(e),window.locizeSavedHandler&&window.locizeSavedHandler(e)}Ae.addHandler("commitKeys",qAe);function GAe(e){Ae.initialized=!0,clearInterval(Ae.initInterval),delete Ae.initInterval,Ae.sendCurrentParsedContent(),Ae.sendCurrentTargetLanguage()}Ae.addHandler("confirmInitialized",GAe);function kL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function AL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?kL(Object(n),!0).forEach(function(r){Yt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kL(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var ra={};function YAe(){Object.values(ra).forEach(function(e){document.body.contains(e.node)||(sh(e.id,e.node),delete ra[e.id])})}function KAe(e,t,n){!e||!t||!n||(ra[e]||(ra[e]={id:e,node:n}),ra[e].keys=AL(AL({},ra[e].keys),{},Yt({},"".concat(t),"uninstrumented")))}function ZAe(e){return ra[e]}var J4={save:KAe,clean:YAe,get:ZAe,data:ra};function _L(e){var t=e.getBoundingClientRect(),n=window.innerHeight||document.documentElement.clientHeight,r=window.innerWidth||document.documentElement.clientWidth,i=t.top<=n&&t.top+t.height>=0,o=t.left<=r&&t.left+t.width>=0;return i&&o}function ew(e,t){var n=t,r=e.pageX,i=e.pageY,o={x:r,y:i},s=n.getBoundingClientRect(),a=s.top+document.documentElement.scrollTop,l=a+n.offsetHeight,c=s.left+document.documentElement.scrollLeft,d=c+n.offsetWidth,f=Math.max(r,c),m=Math.min(r,d),p=Math.max(i,a),g=Math.min(i,l),v=m>=f,b=g>=p,x={x:v?r:d<r?d:c,y:b?i:l<i?l:a},w=x.x-o.x,S=x.y-o.y,T=Math.pow(Math.pow(w,2)+Math.pow(S,2),1/2);return Math.floor(T)}function OL(e,t,n){var r;return function(){var i=this,o=arguments,s=function(){r=null,n||e.apply(i,o)},a=n&&!r;clearTimeout(r),r=setTimeout(s,t),a&&e.apply(i,o)}}function QAe(e){return e!=null&&e===e.window}function XAe(e){return QAe(e)?e:e.nodeType===9&&e.defaultView}function RL(e){var t={top:0,left:0,right:0,bottom:0},n=e&&e.ownerDocument,r=n&&n.documentElement;if(!r)return t;Yr(e.getBoundingClientRect)!=="undefined"&&(t=e.getBoundingClientRect());var i=XAe(n),o=t.top+i.pageYOffset-r.clientTop,s=t.left+i.pageXOffset-r.clientLeft;return{top:o,left:s,right:s+(t.right-t.left),bottom:o+(t.bottom-t.top)}}function JAe(e){if(e.srcElement&&e.srcElement.nodeType===1&&(e.srcElement.nodeName==="BUTTON"||e.srcElement.nodeName==="INPUT"))return e.srcElement.getAttribute&&e.srcElement.getAttribute("ignorelocizeeditor")===""?null:e.srcElement;var t;if(e.originalEvent&&e.originalEvent.explicitOriginalTarget)t=e.originalEvent.explicitOriginalTarget;else{var n=e.srcElement;if(n.getAttribute&&n.getAttribute("ignorelocizeeditor")==="")return null;for(var r=e.pageX,i=e.pageY,o=0,s,a=0;a<n.childNodes.length;a++){var l=n.childNodes[a],c=RL(l);l.nodeType===1&&c.bottom<i&&(o=a+1),!s&&c.top+(l.clientHeight||0)>i&&(s=a)}o+1>n.childNodes.length&&(o=n.childNodes.length-1),s||(s=n.childNodes.length);for(var d=o;d<s;d++){var f=n.childNodes[d],m=RL(f);if(m.left>r)break;f&&f.nodeType!==8&&(t=f)}}return t}function e_e(e){var t=e.textContent||e.text&&e.text.innerText||e.placeholder;if(typeof t=="string")return t.replace(/\n +/g,"").trim()}function rs(e,t){return e&&e.getAttribute&&e.getAttribute(t)}function PL(e){var t=rs(e,"data-i18n");if(t)return t;if(e.nodeType===window.Node.TEXT_NODE&&e.parentElement)return PL(e.parentElement)}function t_e(e){var t,n=function r(i){var o=rs(i,"i18next-options");if(o||(o=rs(i,"data-i18next-options")),o||(o=rs(i,"i18n-options")),o||(o=rs(i,"data-i18n-options")),o){var s={};try{s=JSON.parse(o)}catch{}s.ns&&(t=s.ns)}t||(t=rs(i,"i18next-ns")),t||(t=rs(i,"data-i18next-ns")),t||(t=rs(i,"i18n-ns")),t||(t=rs(i,"data-i18n-ns")),!t&&i.parentElement&&r(i.parentElement)};return n(e),t}function n_e(e,t){if(typeof window>"u")return null;t||(t=window.location.href.toLowerCase()),e=e.replace(/[\[\]]/g,"\\$&");var n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)"),r=n.exec(t);return r?r[2]?decodeURIComponent(r[2].replace(/\+/g," ")):"":null}var r_e=OL(function(e,t){Object.values(co.data).forEach(function(n){if(_L(n.node)){var r=ew(e,n.node);if(r<5)A_e(n,n.node,n.keys);else if(r>5){var i=n.ribbonBox?ew(e,n.ribbonBox):1e3;i>10&&sh(n,n.node,n.keys)}}}),Object.values(J4.data).forEach(function(n){if(_L(n.node)){var r=ew(e,n.node);r<10?__e(n,n.node,n.keys):r>10&&sh(n,n.node,n.keys)}})},50),tw;function u1(e){tw=function(n){r_e(n,e)},document.addEventListener("mousemove",tw)}function nw(){document.removeEventListener("mousemove",tw)}var i_e='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="#FFFFFF"><g></g><g><g><g><path d="M3,21l3.75,0L17.81,9.94l-3.75-3.75L3,17.25L3,21z M5,18.08l9.06-9.06l0.92,0.92L5.92,19L5,19L5,18.08z"/></g><g><path d="M18.37,3.29c-0.39-0.39-1.02-0.39-1.41,0l-1.83,1.83l3.75,3.75l1.83-1.83c0.39-0.39,0.39-1.02,0-1.41L18.37,3.29z"/></g></g></g></svg>',o_e=`
1266
1266
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 210 304" stroke="#000" stroke-linecap="round" stroke-linejoin="round" fill="#fff" fill-rule="evenodd">
1267
1267
  <g stroke="none" class="B">
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@timum/booking",
3
- "version": "1.11.2",
4
- "next_version": "1.11.2",
3
+ "version": "1.11.3",
4
+ "next_version": "1.11.3",
5
5
  "current_major_version": "1",
6
6
  "license": "CC-BY-ND-4.0",
7
7
  "type": "module",