@timum/booking 1.13.1 → 1.13.2
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
|
@@ -68416,7 +68416,7 @@ function H4(e) {
|
|
|
68416
68416
|
), b = r.get("conf");
|
|
68417
68417
|
b && (b = PZe(b), c = b.ref || [], a = b.channelKey, i = b.pData, f = b.tslRefs || [], p = b.prdRefs || [], g = b.urlCulture, m = b.virtualTslRefs || [], v = b.postMessageTarget, w = b.enableShowAllResourcesOption);
|
|
68418
68418
|
const y = t.queryHash || window.location.hash, [, , S] = (y == null ? void 0 : y.split("/")) ?? [];
|
|
68419
|
-
if ((i || o) && (t.pData = i ?? o), a && (t.channelKey = a), c && c.length > 0 && (t.ref = c), f && f.length > 0 && (t.tslRefs = f), m && m.length > 0 && (t.virtualTslRefs = m), p && p.length > 0 && (t.prdRefs = p), g && (t.culture = g), v && (t.postMessageTarget = v), w && (t.enableShowAllResourcesOption = w), an.isArray(t.ref) ? t.ref = [...t.ref] : t.ref ? t.ref = [t.ref] : t.ref = [], an.isArray(t.tslRefs) ? t.tslRefs = [...t.tslRefs] : t.tslRefs ? t.tslRefs = [t.tslRefs] : t.tslRefs = [], an.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)) {
|
|
68419
|
+
if ((i || o) && (t.pData = i ?? o), a && (t.channelKey = a), c && c.length > 0 && (t.ref = c), f && f.length > 0 && (t.tslRefs = f), m && m.length > 0 && (t.virtualTslRefs = m), p && p.length > 0 && (t.prdRefs = p), g && (t.culture = g), v && (t.postMessageTarget = v), w && (t.enableShowAllResourcesOption = w), an.isArray(t.ref) ? t.ref = [...t.ref] : t.ref ? t.ref = [t.ref] : t.ref = [], an.isArray(t.tslRefs) ? t.tslRefs = [...t.tslRefs] : t.tslRefs ? t.tslRefs = [t.tslRefs] : t.tslRefs = [], an.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) && (!t.virtualTslRefs || t.virtualTslRefs.length === 0)) {
|
|
68420
68420
|
console.log(
|
|
68421
68421
|
"timum hides itself. No reference in either url or options detected."
|
|
68422
68422
|
);
|
package/build/booking.umd.cjs
CHANGED
|
@@ -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 Dze(){const e=Se(t=>Une(t,"useCustomTimumCss"));return $.jsxs($.Fragment,{children:[e&&$.jsx(M4,{styles:Pze}),$.jsx(M4,{styles:Oze})]})}function Mze({children:e}){const[t,n]=re.useState(null);if(R.useEffect(()=>{setTimeout(()=>{n(!0)},500)},[]),t)return e}function Ize(e){const t=Se(Sd),n=Se(zne),r=Se(s=>je(s,"calendarFrontend")),i=Se(s=>je(s,"calendarFrontendOptions"));let o=rS(n??{});return o=Hae(o,{factor:2.5}),$.jsxs(Wae,{theme:o,children:[$.jsx(Bhe,{}),$.jsx(Dze,{}),r==="fullCalendar"&&$.jsx(df,{...e,...i.fullCalendar,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:$.jsx(mq,{})}),r==="detailsFullCalendar"&&$.jsx(df,{...e,...i.detailsFullCalendar,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:$.jsx(I$,{CalendarView:mq})}),(r==="pureListView"||r==="listView")&&$.jsx(df,{...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(j$,{})}),r==="detailsListView"&&$.jsx(df,{...e,...i.detailsListView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:$.jsx(I$,{CalendarView:j$})}),r==="condensedView"&&$.jsx(df,{...e,...i.condensedView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:$.jsx(yq,{})}),r==="detailsCondensedView"&&$.jsx(df,{...e,...i.detailsCondensedView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:$.jsx(I$,{CalendarView:yq})}),t&&r!=="fullCalendar"&&r!=="detailsFullCalendar"&&r!=="condensedView"&&r!=="detailsCondensedView"&&r!=="detailsListView"&&r!=="listView"&&r!=="pureListView"&&$.jsx(Mze,{children:$.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."]})})]})}new TextEncoder;const bq=new TextDecoder,Nze=e=>{const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n},Lze=e=>{let t=e;t instanceof Uint8Array&&(t=bq.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{return Nze(t)}catch{throw new TypeError("The input to be decoded is not correctly encoded.")}};class jr extends Error{constructor(t,n){var r;super(t,n),this.code="ERR_JOSE_GENERIC",this.name=this.constructor.name,(r=Error.captureStackTrace)==null||r.call(Error,this,this.constructor)}}jr.code="ERR_JOSE_GENERIC";class Fze extends jr{constructor(t,n,r="unspecified",i="unspecified"){super(t,{cause:{claim:r,reason:i,payload:n}}),this.code="ERR_JWT_CLAIM_VALIDATION_FAILED",this.claim=r,this.reason=i,this.payload=n}}Fze.code="ERR_JWT_CLAIM_VALIDATION_FAILED";class jze extends jr{constructor(t,n,r="unspecified",i="unspecified"){super(t,{cause:{claim:r,reason:i,payload:n}}),this.code="ERR_JWT_EXPIRED",this.claim=r,this.reason=i,this.payload=n}}jze.code="ERR_JWT_EXPIRED";class zze extends jr{constructor(){super(...arguments),this.code="ERR_JOSE_ALG_NOT_ALLOWED"}}zze.code="ERR_JOSE_ALG_NOT_ALLOWED";class Bze extends jr{constructor(){super(...arguments),this.code="ERR_JOSE_NOT_SUPPORTED"}}Bze.code="ERR_JOSE_NOT_SUPPORTED";class Uze extends jr{constructor(t="decryption operation failed",n){super(t,n),this.code="ERR_JWE_DECRYPTION_FAILED"}}Uze.code="ERR_JWE_DECRYPTION_FAILED";class Hze extends jr{constructor(){super(...arguments),this.code="ERR_JWE_INVALID"}}Hze.code="ERR_JWE_INVALID";class Vze extends jr{constructor(){super(...arguments),this.code="ERR_JWS_INVALID"}}Vze.code="ERR_JWS_INVALID";class jl extends jr{constructor(){super(...arguments),this.code="ERR_JWT_INVALID"}}jl.code="ERR_JWT_INVALID";class Wze extends jr{constructor(){super(...arguments),this.code="ERR_JWK_INVALID"}}Wze.code="ERR_JWK_INVALID";class Gze extends jr{constructor(){super(...arguments),this.code="ERR_JWKS_INVALID"}}Gze.code="ERR_JWKS_INVALID";class qze extends jr{constructor(t="no applicable key found in the JSON Web Key Set",n){super(t,n),this.code="ERR_JWKS_NO_MATCHING_KEY"}}qze.code="ERR_JWKS_NO_MATCHING_KEY";class Yze extends jr{constructor(t="multiple matching keys found in the JSON Web Key Set",n){super(t,n),this.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS"}}Yze.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";class Kze extends jr{constructor(t="request timed out",n){super(t,n),this.code="ERR_JWKS_TIMEOUT"}}Kze.code="ERR_JWKS_TIMEOUT";class Zze extends jr{constructor(t="signature verification failed",n){super(t,n),this.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED"}}Zze.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";function Qze(e){return typeof e=="object"&&e!==null}function Jze(e){if(!Qze(e)||Object.prototype.toString.call(e)!=="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}const Xze=Lze;function eBe(e){if(typeof e!="string")throw new jl("JWTs must use Compact JWS serialization, JWT must be a string");const{1:t,length:n}=e.split(".");if(n===5)throw new jl("Only JWTs using Compact JWS serialization can be decoded");if(n!==3)throw new jl("Invalid JWT");if(!t)throw new jl("JWTs must contain a payload");let r;try{r=Xze(t)}catch{throw new jl("Failed to base64url decode the payload")}let i;try{i=JSON.parse(bq.decode(r))}catch{throw new jl("Failed to parse the decoded payload as JSON")}if(!Jze(i))throw new jl("Invalid JWT Claims Set");return i}var Y6={},tBe=En;Object.defineProperty(Y6,"__esModule",{value:!0});var xq=Y6.default=void 0,nBe=tBe(Bn()),rBe=$;xq=Y6.default=(0,nBe.default)((0,rBe.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 Am(e){const{children:t,onClose:n,...r}=e;return $.jsxs(NI,{sx:{m:0,p:2},...r,children:[t,n?$.jsx(y0,{"aria-label":"close",onClick:n,sx:{position:"absolute",right:8,top:8,color:i=>i.palette.grey[500]},children:$.jsx(xq,{})}):null]})}Am.propTypes={children:nt.node,onClose:nt.func.isRequired};const zl=14,gc='"Ek Mukta","Helvetica Neue", Helvetica, Arial, sans-serif',Qf=Math.floor(zl*1.428571429),iBe=If(Math.floor(zl*2.6)),oBe=If(Math.floor(zl*2.3)),sBe=If(Math.floor(zl*1.9)),aBe=If(Math.floor(zl*1.5)),lBe=If(Math.floor(zl*1.15)),uBe=If(Math.floor(zl)),K6=/(\u00a9|\u00ae|[\u2000-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff])/g,vc={appConfig:{host:"https://www.timum.de",resource_channel:"RESOURCE_REFERENCE",calendarFrontend:"detailsListView",calendarFrontendOptions:{condensedView:{forceResourceSelectorDialog:!0}},enableShowAllResourcesOption:!1,allowCloseOnBooking:!0,hideTimumFooter:!1,sendCustomValuesAsMessage:!1,gatherAddressData:!1,height:500,fields:{firstName:{index:0,title:"fields.firstName",validation:Rl().required("validation.field_required")},lastName:{index:1,title:"fields.lastName",validation:Rl().required("validation.field_required")},email:{index:2,title:"fields.email",format:"email",type:"text",validation:Rl().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:Rl().max(1024).test("no-emojis","validation.no_emojis",e=>!K6.test(e)),limit:1024,onChange:e=>e.replace(K6,"")},agbs:{index:5,title:"fields.accept_timum_privacy",type:"checkbox",validation:H2().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=os(),i=$o(r.breakpoints.down("sm"));return $.jsxs(ml,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[$.jsx(Am,{onClose:t}),$.jsx(gl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(cf,{maxWidth:"sm",sx:{p:0},children:n})})]})},IdentifiedBookingPage:({open:e,onClose:t,children:n})=>{const r=os(),i=$o(r.breakpoints.down("sm"));return $.jsxs(ml,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[$.jsx(Am,{onClose:t}),$.jsx(gl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(cf,{maxWidth:"sm",sx:{p:0},children:n})})]})},ConfirmationPage:e=>{const{open:t,onClose:n,allowCloseOnBooking:r,children:i}=e,o=os(),s=$o(o.breakpoints.down("sm"));return $.jsxs(ml,{open:t,onClose:()=>{r&&n()},hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:s,children:[r&&$.jsx(Am,{onClose:n}),$.jsx(gl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(cf,{maxWidth:"sm",sx:{p:0},children:i})})]})},LoginPage:({open:e,onClose:t,children:n})=>$.jsx(ml,{open:e,onClose:t,hideBackdrop:!0,fullWidth:!0,children:$.jsx(gl,{children:n})}),CancelPage:({open:e,onClose:t,children:n})=>{const r=os(),i=$o(r.breakpoints.down("sm"));return $.jsxs(ml,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[$.jsx(Am,{onClose:t}),$.jsx(gl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(cf,{maxWidth:"sm",sx:{p:0},children:n})})]})},ResourcePage:({mobileOpen:e,mobileOnClose:t,shouldDisplay:n,height:r,children:i})=>{const o=os(),s=$o(o.breakpoints.down("sm"));return $.jsxs($.Fragment,{children:[$.jsx(ml,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:s,children:$.jsx(gl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(cf,{maxWidth:"sm",sx:{p:0},children:i})})}),n&&$.jsxs(me,{xs:"auto",item:!0,container:!0,display:{xs:"none",sm:"flex"},wrap:"nowrap",sx:{mr:2,maxHeight:r,boxSizing:"border-box"},children:[$.jsx(me,{item:!0,xs:"auto",children:i}),$.jsx(me,{item:!0,xs:"1",children:$.jsx(jI,{orientation:"vertical",variant:"middle"})})]})]})},ProductPage:({open:e,onClose:t,children:n})=>{const r=os(),i=$o(r.breakpoints.down("sm"));return $.jsx(ml,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:$.jsx(gl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(cf,{maxWidth:"sm",sx:{p:0},children:n})})})},ErrorDialog:({open:e,onClose:t})=>{const{t:n}=wn();return $.jsxs(ml,{open:e,onClose:t,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[$.jsx(NI,{id:"alert-dialog-title",children:n("reservation_failed.title")}),$.jsx(gl,{children:$.jsx(m0e,{id:"alert-dialog-description",children:n("reservation_failed.message")})}),$.jsx(i0e,{children:$.jsx(Oo,{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:gc,fontSize:zl,h1:{fontFamily:gc,fontWeight:500,lineHeight:1,fontSize:`${iBe}rem`},h2:{fontFamily:gc,fontWeight:500,lineHeight:1,fontSize:`${oBe}rem`},h3:{fontFamily:gc,fontWeight:500,lineHeight:1,fontSize:`${sBe}rem`},h4:{fontFamily:gc,fontWeight:500,lineHeight:1,fontSize:`${aBe}rem`},h5:{fontFamily:gc,fontWeight:500,lineHeight:1,fontSize:`${lBe}rem`},h6:{fontFamily:gc,fontWeight:500,lineHeight:1,fontSize:`${uBe}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:Qf/2},h2:{marginBottom:Qf/2},h3:{marginBottom:Qf/2},h4:{marginBottom:Qf/2},h5:{marginBottom:Qf/2},h6:{marginBottom:Qf/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}}}},cBe="(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]+)?)",dBe=new RegExp(`^https?://([a-zA-Z0-9-]+\\.)*${cBe}$`);function fBe(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}function pBe(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 wq(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++,wq(e,t,n)}function hBe(e){var t=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return t?t.pop():""}function Z6(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}function mBe(e){e.callbacks={createBookingStarted:({timeslot:t,data:n})=>{var r;(r=window==null?void 0:window.parent)==null||r.postMessage({origin:"bookingjs",type:"createBookingStarted",timeslot:t,data:n},e.postMessageTarget)},createBookingSuccessful:({timeslot:t,response:n,data:r})=>{var i;(i=window==null?void 0:window.parent)==null||i.postMessage({origin:"bookingjs",type:"createBookingSuccessful",timeslot:t,response:n,data:r},e.postMessageTarget)},createBookingFailed:({timeslot:t,response:n,data:r})=>{var i;(i=window==null?void 0:window.parent)==null||i.postMessage({origin:"bookingjs",type:"createBookingFailed",timeslot:t,response:n,data:r},e.postMessageTarget)},cancelationgStarted:({timeslot:t,response:n})=>{var r;(r=window==null?void 0:window.parent)==null||r.postMessage({origin:"bookingjs",type:"cancelationStarted",timeslot:t,response:n},e.postMessageTarget)},cancelationSuccessful:({timeslot:t,response:n})=>{var r;(r=window==null?void 0:window.parent)==null||r.postMessage({origin:"bookingjs",type:"cancelationSuccessful",timeslot:t,response:n},e.postMessageTarget)},cancelationFailed:({timeslot:t,response:n})=>{var r;(r=window==null?void 0:window.parent)==null||r.postMessage({origin:"bookingjs",type:"cancelationFailed",timeslot:t,response:n},e.postMessageTarget)},fetchingPublicDataSucceeded:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingPublicDataSucceeded",data:t},e.postMessageTarget)},fetchingProductsSucceeded:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingProductsSucceeded",data:t},e.postMessageTarget)},fetchingBookablesSucceeded:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingBookablesSucceeded",data:t},e.postMessageTarget)},fetchingPublicDataFailed:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingPublicDataFailed",error:t},e.postMessageTarget)},fetchingProductsFailed:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingProductsFailed",error:t},e.postMessageTarget)},fetchingBookablesFailed:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingBookablesFailed",error:t},e.postMessageTarget)},openedProductSelection:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"openedProductSelection"},e.postMessageTarget)},openedResourceSelection:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"openedResourceSelection"},e.postMessageTarget)},openedBookingPage:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"openedBookingPage",timeslot:t},e.postMessageTarget)},openedCancelPage:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"openedCancelPage",timeslot:t},e.postMessageTarget)},openedConfirmationPage:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"openedConfirmationPage"},e.postMessageTarget)},closedProductSelection:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"closedProductSelection"},e.postMessageTarget)},closedResourceSelection:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"closedResourceSelection"},e.postMessageTarget)},closedBookingPage:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"closedBookingPage",timeslot:t},e.postMessageTarget)},closedCancelPage:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"closedCancelPage",timeslot:t},e.postMessageTarget)},closedConfirmationPage:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"closedConfirmationPage"},e.postMessageTarget)}}}const Sq=(e,t)=>{e&&!t.includes(e)&&t.push(e)},Cq=(e,t)=>{e&&(e.forEach?e.forEach(n=>{t[n.resource.uuid]={...n}}):t[e.resource.uuid]={...e})},$q=(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 Tq(e,t,n,r,i,o){var w,b,y,S;let s={};const a=t==null?void 0:t.ref,l=t==null?void 0:t.tslRefs,u=t==null?void 0:t.virtualTslRefs,c=t==null?void 0:t.prdRefs,f=t==null?void 0:t.additionalData,m=t==null?void 0:t.enableShowAllResourcesOption,p=t==null?void 0:t.publicData,g=t==null?void 0:t.tsls,v=t==null?void 0:t.channelKey;if((a==null?void 0:a.length)>0&&!(p!=null&&p.length)>0){const C=await r({channelOrResourceId:a[0],params:{channelKey:v,ref:a,...f}});Cq(C==null?void 0:C.data,s)}if((p==null?void 0:p.length)>0&&Cq(p,s),m&&(!l||l.length===0)&&(!u||u.length===0)&&(s={"all-option":{resource:{uuid:"all-option",name:e("common.All")},provider:(b=(w=Object.values(s))==null?void 0:w[0])==null?void 0:b.provider},...s}),((l==null?void 0:l.length)>0||(u==null?void 0:u.length)>0)&&!(g!=null&&g.length)>0){const C=await i({params:{channelKey:v,tslIds:l,...f},body:u});$q(C==null?void 0:C.data,s)}if((g==null?void 0:g.length)>0&&$q(g,s),(c==null?void 0:c.length)>0){Object.values(s).forEach(E=>{var A;E!=null&&E.bookables&&((A=Object.values(E==null?void 0:E.bookables))==null||A.forEach(_=>{_.forEach(O=>{var M;Sq(O==null?void 0:O.product_uuid,c),(M=O.products)==null||M.forEach(L=>{Sq(L.uuid,c)})})}))});const C=await o({params:{prdRefs:c,additionalData:f}}),T=Object.entries(s).filter(([,E])=>{var _,O;if(((O=(_=E==null?void 0:E.resource)==null?void 0:_.supportedProducts)==null?void 0:O.length)===0)return!1;const A=C.data.filter(M=>{var F;const L=(F=E==null?void 0:E.resource)==null?void 0:F.supportedProducts;return L&&L.some(z=>z===M.uuid)});return A.length===0?!1:(E.products=A,!0)});s=Object.fromEntries(T)}if(n(Ine(s)),Object.values(s).length>1)if(t.cancelableAppointment){let C=!1;for(const T of Object.values(s))((y=T==null?void 0:T.resource)==null?void 0:y.uuid)===((S=t.cancelableAppointment)==null?void 0:S.resId)&&(n(wd(T)),C=!0);C||n(wd(Object.values(s)[0]))}else n(wd(Object.values(s)[0]));else Object.values(s).length===1?n(wd(Object.values(s)[0])):console.warn("Given reference(s) seems to be invalid.")}function gBe(e){try{return eBe(e)}catch(t){console.error("Error decrypting JWT:",t)}}function Q6(e){var C,T,E;const t={...e},n=window.location.search,r=new URLSearchParams(t.queryString||n);let 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;const s=hBe("PLAY_SESSION");let a=r.get("channelKey")??r.get("channelkey");const l=r.get("X-SIGNED-APP-CUSTOMER");let u=r.get("resId"),c=r.getAll("ref"),f=r.getAll("tslRefs"),m=r.getAll("virtualTslRefs"),p=r.getAll("prdRefs"),g=r.get("culture"),v=r.get("postMessageTarget"),w=r.get("enableShowAllResourcesOption"),b=r.get("conf");b&&(b=gBe(b),c=b.ref||[],a=b.channelKey,i=b.pData,f=b.tslRefs||[],p=b.prdRefs||[],g=b.urlCulture,m=b.virtualTslRefs||[],v=b.postMessageTarget,w=b.enableShowAllResourcesOption);const y=t.queryHash||window.location.hash,[,,S]=(y==null?void 0:y.split("/"))??[];if((i||o)&&(t.pData=i??o),a&&(t.channelKey=a),c&&c.length>0&&(t.ref=c),f&&f.length>0&&(t.tslRefs=f),m&&m.length>0&&(t.virtualTslRefs=m),p&&p.length>0&&(t.prdRefs=p),g&&(t.culture=g),v&&(t.postMessageTarget=v),w&&(t.enableShowAllResourcesOption=w),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 A=0;A<((C=t==null?void 0:t.ref)==null?void 0:C.length);A++)t.ref[A]=Z6(t.ref[A],t.platform,t.prvUuid);for(let A=0;A<((T=t==null?void 0:t.tslRefs)==null?void 0:T.length);A++)t.tslRefs[A]=Z6(t.tslRefs[A],t.platform,t.prvUuid);for(let A=0;A<((E=t==null?void 0:t.prdRefs)==null?void 0:E.length);A++)t.prdRefs[A]=Z6(t.prdRefs[A],t.platform,t.prvUuid);return s&&(t.cookie=s),l&&(t.cancelableAppointment={authToken:l,appointmentUuid:S,customerUuid:o.id,resourceUuid:u}),t.host&&vte(t.host),t.height&&(t.height=fBe(t.height)),t}const Eq=(e,t,n,r,i,o,s)=>{const a=Object.keys(t).length>0,l=Object.keys(e).length>0;let u=sn.merge({},vc.appConfig,e),c=sn.merge({},vc.muiTheme,t),f=sn.merge({},vc.fcConfig,n);u.fields=wq(u.fields),pBe(e.fields,u.fields),l&&!o&&(u.localization=vc.appConfig.localization),l&&!i&&(u.fields=vc.appConfig.fields),l&&!r&&(u.hideTimumFooter=vc.appConfig.hideTimumFooter),a&&!r&&(c=vc.muiTheme),u.postMessageTarget&&mBe(u),s(Dne(f)),s(Pne(u)),s(Mne(c))},kq=({muiTheme:e={},fcConfig:t={},appConfig:n={},children:r})=>{const{t:i}=wn(),o=Dh(),s=Se(qne),a=Se(Yne),l=Se(Kne),u=re.useMemo(()=>{var y;return(y=n==null?void 0:n.callbacks)==null?void 0:y.fetchingPublicDataFailed},[n]),[c,{isFetching:f,error:m}]=$te(),[p,{isFetching:g}]=xte(),[v,{isFetching:w}]=Ste(),b=R.useCallback((y=n,S=e,C=t)=>{const T=Q6(y);T&&(Eq(T,S,C,s,a,l,o),Tq(i,T,o,c,p,v))},[n,e,t,s,a,l,o,i,c,p,v]);return R.useEffect(()=>{const y=S=>{var C,T,E,A,_;dBe.test(S.origin)&&((C=S.data)==null?void 0:C.type)==="rerender"?b({...(T=S.data)==null?void 0:T.appConfig},{...(E=S.data)==null?void 0:E.muiTheme},{...(A=S.data)==null?void 0:A.fcConfig}):((_=S.data)==null?void 0:_.type)==="rerender"&&console.error("ConfigHandler received a message from an unexpected origin:",S.origin)};return window.addEventListener("message",y),()=>{window.removeEventListener("message",y)}},[b,n]),R.useEffect(()=>{const y=Q6(n);y&&Eq(y,e,t,s,a,l,o)},[n,e,t,o,s,a,l,c,p,v]),R.useEffect(()=>{const y=Q6(n);y&&Tq(i,y,o,c,p,v)},[n,o,c,p,v,i]),R.useEffect(()=>{o(jne(g||f||w))},[o,f,g,w]),m&&u&&u(m),r};kq.displayName="ConfigHandler";const vBe=une({reducer:{[pv.reducerPath]:pv.reducer,appState:Zne},middleware:e=>e().concat(pv.middleware),devTools:{trace:!0}});var Aq=[],yBe=Aq.forEach,bBe=Aq.slice;function xBe(e){return yBe.call(bBe.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}var Rq=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,wBe=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(!Rq.test(i.domain))throw new TypeError("option domain is invalid");s+="; Domain=".concat(i.domain)}if(i.path){if(!Rq.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},_q={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=wBe(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)}},SBe={name:"cookie",lookup:function(t){var n;if(t.lookupCookie&&typeof document<"u"){var r=_q.read(t.lookupCookie);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupCookie&&typeof document<"u"&&_q.create(n.lookupCookie,t,n.cookieMinutes,n.cookieDomain,n.cookieOptions)}},CBe={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}},Rm=null,Oq=function(){if(Rm!==null)return Rm;try{Rm=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{Rm=!1}return Rm},$Be={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&Oq()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&Oq()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},_m=null,Pq=function(){if(_m!==null)return _m;try{_m=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{_m=!1}return _m},TBe={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&Pq()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&Pq()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},EBe={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}},kBe={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}},ABe={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}},RBe={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 _Be(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var Dq=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Fo(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return jo(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=xBe(r,this.options||{},_Be()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(SBe),this.addDetector(CBe),this.addDetector($Be),this.addDetector(TBe),this.addDetector(EBe),this.addDetector(kBe),this.addDetector(ABe),this.addDetector(RBe)}},{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}();Dq.type="languageDetector";var J6=["",""],X6=RegExp("([".concat(J6.join(""),"]{9})+"),"gu"),OBe=9,PBe="subliminal:start",DBe=function(t){return Array.from(new TextEncoder().encode(t))},MBe=function(t){return new TextDecoder().decode(new Uint8Array(t))},IBe=function(t){var n=8-t.length;return"0".repeat(n)+t},Mq=function(t){var n=DBe(t).map(Number),r=n.map(function(o){return IBe(o.toString(2))+"0"}).join(""),i=Array.from(r).map(function(o){return J6[Number(o)]}).join("");return i},Iq=Mq(PBe),Nq=function(t){var n=Array.from(t).map(function(o){return J6.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 MBe(i)},NBe=function(t){var n,r=(n=t.match(X6))===null||n===void 0?void 0:n.filter(function(i){return i.length>OBe-1});if(!(!r||r.length===0))return Nq(r[r.length-1])},LBe=function(t){return t.replace(X6,"")},FBe=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)},jBe=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 Lq(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=FBe(t),r=Mq(n);return typeof e=="string"&&e?Iq+e+r:e}function Vb(e){var t=NBe(e),n=jBe(t),r=LBe(e);return{text:r,invisibleMeta:n}}function eT(e){if(!e||e.length<27||!X6.test(e))return!1;var t=e.substring(e.length-9),n=Nq(t);return n==="}"}function zBe(e){return e.startsWith(Iq)}function Fq(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 Wb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Fq(Object(n),!0).forEach(function(r){rn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fq(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var jq="subliminal",BBe={name:jq,type:"postProcessor",options:{},setOptions:function(t){this.options=Wb(Wb({},t),this.options)},process:function(t,n,r,i){var o=this.options=Wb(Wb({},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 c,f,m,p,g,v,w=(c=(f=o.keySeparator)!==null&&f!==void 0?f:i==null||(m=i.options)===null||m===void 0?void 0:m.keySeparator)!==null&&c!==void 0?c:".",b=i.extractFromKey(n.join(w),r),y=b.key,S=b.namespaces;s=y,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?u="key":u="translation"}return Lq(t,{key:s,ns:a,lng:l,source:u})},overloadTranslationOptionHandler:function(){return{postProcess:jq,postProcessPassResolved:!0}}},zq=["placeholder","title","alt"],Bo={highlight:"#26a69a",warning:"#e67a00"},Bq=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"},ya=function(){if(!(typeof document>"u")){var e=document.createElement("style");return document.head.appendChild(e),e.sheet}}();function Uq(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 UBe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Uq(Object(n),!0).forEach(function(r){rn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uq(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Hq={committed:"commitKeys"};function HBe(e){return Hq[e]?Hq[e]:e}var tT=[];function $r(e,t){if(!Oe.source){var n;Oe.source=(n=document.getElementById("i18next-editor-iframe"))===null||n===void 0?void 0:n.contentWindow}if(Oe.origin||(Oe.origin=Bq()),!Oe.source||!Oe.source.postMessage){tT.push({action:e,payload:t});return}Oe.legacy?Oe.source.postMessage(UBe({message:e},t),Oe.origin):Oe.source.postMessage({sender:"i18next-editor",senderAPIVersion:"v1",action:e,message:e,payload:t},Oe.origin);var r=tT;tT=[],r.forEach(function(i){var o=i.action,s=i.payload;$r(o,s)})}var yc={},nT=5,Oe={init:function(t,n){Oe.i18n=t,Oe.clickHandler=n},requestInitialize:function(t){$r("requestInitialize",t),!Oe.initInterval&&(Oe.initInterval=setInterval(function(){nT=nT-1,Oe.requestInitialize(t),nT<0&&Oe.initInterval&&(clearInterval(Oe.initInterval),delete Oe.initInterval)},1e3))},selectKey:function(t){$r("selectKey",t)},confirmResourceBundle:function(t){$r("confirmResourceBundle",t)},sendCurrentParsedContent:function(){$r("sendCurrentParsedContent",{content:Object.values(bs.data).map(function(t){return{id:t.id,keys:t.keys}})})},sendCurrentTargetLanguage:function(t){$r("sendCurrentTargetLanguage",{targetLng:t||Oe.i18n.getLng()})},addHandler:function(t,n){yc[t]||(yc[t]=[]),yc[t].push(n)},sendLocizeIsEnabled:function(){$r("locizeIsEnabled",{enabled:!0})},turnOn:function(){if(Oe.scriptTurnedOff)return $r("forcedOff");Oe.clickInterceptionEnabled||window.document.body.addEventListener("click",Oe.clickHandler,!0),Oe.clickInterceptionEnabled=!0,$r("turnedOn")},turnOff:function(){if(Oe.scriptTurnedOff)return $r("forcedOff");Oe.clickInterceptionEnabled&&window.document.body.removeEventListener("click",Oe.clickHandler,!0),Oe.clickInterceptionEnabled=!1,$r("turnedOff")},onAddedKey:function(t,n,r,i){var o={lng:t,ns:n,key:r,value:i};$r("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=HBe(i);yc[s]&&yc[s].forEach(function(a){a(o,e)})}else n==="i18next-editor-frame"&&yc[r]&&yc[r].forEach(function(a){a(o)})});function Gb(e,t){var n=bs.get(e.eleUniqueID);if(!(!n||!n.keys[e.textType])){var r=Lq(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 c=[];u.childNodes.forEach(function(f){c.push(f)}),c.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 VBe(e){var t=e.meta,n=e.value;t&&n!==void 0&&Gb(t,n)}Oe.addHandler("editKey",VBe);function WBe(e){var t=e.meta,n=e.value,r=e.lng;if(t&&n!==void 0){Gb(t,n);var i=r||Oe.i18n.getLng();Oe.i18n.setResource(i,t.ns,t.key,n),Oe.i18n.triggerRerender()}}Oe.addHandler("commitKey",WBe);function GBe(e){if(Array.isArray(e))return H6(e)}function qBe(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1295
|
+
`;function Dze(){const e=Se(t=>Une(t,"useCustomTimumCss"));return $.jsxs($.Fragment,{children:[e&&$.jsx(M4,{styles:Pze}),$.jsx(M4,{styles:Oze})]})}function Mze({children:e}){const[t,n]=re.useState(null);if(R.useEffect(()=>{setTimeout(()=>{n(!0)},500)},[]),t)return e}function Ize(e){const t=Se(Sd),n=Se(zne),r=Se(s=>je(s,"calendarFrontend")),i=Se(s=>je(s,"calendarFrontendOptions"));let o=rS(n??{});return o=Hae(o,{factor:2.5}),$.jsxs(Wae,{theme:o,children:[$.jsx(Bhe,{}),$.jsx(Dze,{}),r==="fullCalendar"&&$.jsx(df,{...e,...i.fullCalendar,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:$.jsx(mq,{})}),r==="detailsFullCalendar"&&$.jsx(df,{...e,...i.detailsFullCalendar,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:$.jsx(I$,{CalendarView:mq})}),(r==="pureListView"||r==="listView")&&$.jsx(df,{...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(j$,{})}),r==="detailsListView"&&$.jsx(df,{...e,...i.detailsListView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:$.jsx(I$,{CalendarView:j$})}),r==="condensedView"&&$.jsx(df,{...e,...i.condensedView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:$.jsx(yq,{})}),r==="detailsCondensedView"&&$.jsx(df,{...e,...i.detailsCondensedView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:$.jsx(I$,{CalendarView:yq})}),t&&r!=="fullCalendar"&&r!=="detailsFullCalendar"&&r!=="condensedView"&&r!=="detailsCondensedView"&&r!=="detailsListView"&&r!=="listView"&&r!=="pureListView"&&$.jsx(Mze,{children:$.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."]})})]})}new TextEncoder;const bq=new TextDecoder,Nze=e=>{const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n},Lze=e=>{let t=e;t instanceof Uint8Array&&(t=bq.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{return Nze(t)}catch{throw new TypeError("The input to be decoded is not correctly encoded.")}};class jr extends Error{constructor(t,n){var r;super(t,n),this.code="ERR_JOSE_GENERIC",this.name=this.constructor.name,(r=Error.captureStackTrace)==null||r.call(Error,this,this.constructor)}}jr.code="ERR_JOSE_GENERIC";class Fze extends jr{constructor(t,n,r="unspecified",i="unspecified"){super(t,{cause:{claim:r,reason:i,payload:n}}),this.code="ERR_JWT_CLAIM_VALIDATION_FAILED",this.claim=r,this.reason=i,this.payload=n}}Fze.code="ERR_JWT_CLAIM_VALIDATION_FAILED";class jze extends jr{constructor(t,n,r="unspecified",i="unspecified"){super(t,{cause:{claim:r,reason:i,payload:n}}),this.code="ERR_JWT_EXPIRED",this.claim=r,this.reason=i,this.payload=n}}jze.code="ERR_JWT_EXPIRED";class zze extends jr{constructor(){super(...arguments),this.code="ERR_JOSE_ALG_NOT_ALLOWED"}}zze.code="ERR_JOSE_ALG_NOT_ALLOWED";class Bze extends jr{constructor(){super(...arguments),this.code="ERR_JOSE_NOT_SUPPORTED"}}Bze.code="ERR_JOSE_NOT_SUPPORTED";class Uze extends jr{constructor(t="decryption operation failed",n){super(t,n),this.code="ERR_JWE_DECRYPTION_FAILED"}}Uze.code="ERR_JWE_DECRYPTION_FAILED";class Hze extends jr{constructor(){super(...arguments),this.code="ERR_JWE_INVALID"}}Hze.code="ERR_JWE_INVALID";class Vze extends jr{constructor(){super(...arguments),this.code="ERR_JWS_INVALID"}}Vze.code="ERR_JWS_INVALID";class jl extends jr{constructor(){super(...arguments),this.code="ERR_JWT_INVALID"}}jl.code="ERR_JWT_INVALID";class Wze extends jr{constructor(){super(...arguments),this.code="ERR_JWK_INVALID"}}Wze.code="ERR_JWK_INVALID";class Gze extends jr{constructor(){super(...arguments),this.code="ERR_JWKS_INVALID"}}Gze.code="ERR_JWKS_INVALID";class qze extends jr{constructor(t="no applicable key found in the JSON Web Key Set",n){super(t,n),this.code="ERR_JWKS_NO_MATCHING_KEY"}}qze.code="ERR_JWKS_NO_MATCHING_KEY";class Yze extends jr{constructor(t="multiple matching keys found in the JSON Web Key Set",n){super(t,n),this.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS"}}Yze.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";class Kze extends jr{constructor(t="request timed out",n){super(t,n),this.code="ERR_JWKS_TIMEOUT"}}Kze.code="ERR_JWKS_TIMEOUT";class Zze extends jr{constructor(t="signature verification failed",n){super(t,n),this.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED"}}Zze.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";function Qze(e){return typeof e=="object"&&e!==null}function Jze(e){if(!Qze(e)||Object.prototype.toString.call(e)!=="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}const Xze=Lze;function eBe(e){if(typeof e!="string")throw new jl("JWTs must use Compact JWS serialization, JWT must be a string");const{1:t,length:n}=e.split(".");if(n===5)throw new jl("Only JWTs using Compact JWS serialization can be decoded");if(n!==3)throw new jl("Invalid JWT");if(!t)throw new jl("JWTs must contain a payload");let r;try{r=Xze(t)}catch{throw new jl("Failed to base64url decode the payload")}let i;try{i=JSON.parse(bq.decode(r))}catch{throw new jl("Failed to parse the decoded payload as JSON")}if(!Jze(i))throw new jl("Invalid JWT Claims Set");return i}var Y6={},tBe=En;Object.defineProperty(Y6,"__esModule",{value:!0});var xq=Y6.default=void 0,nBe=tBe(Bn()),rBe=$;xq=Y6.default=(0,nBe.default)((0,rBe.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 Am(e){const{children:t,onClose:n,...r}=e;return $.jsxs(NI,{sx:{m:0,p:2},...r,children:[t,n?$.jsx(y0,{"aria-label":"close",onClick:n,sx:{position:"absolute",right:8,top:8,color:i=>i.palette.grey[500]},children:$.jsx(xq,{})}):null]})}Am.propTypes={children:nt.node,onClose:nt.func.isRequired};const zl=14,gc='"Ek Mukta","Helvetica Neue", Helvetica, Arial, sans-serif',Qf=Math.floor(zl*1.428571429),iBe=If(Math.floor(zl*2.6)),oBe=If(Math.floor(zl*2.3)),sBe=If(Math.floor(zl*1.9)),aBe=If(Math.floor(zl*1.5)),lBe=If(Math.floor(zl*1.15)),uBe=If(Math.floor(zl)),K6=/(\u00a9|\u00ae|[\u2000-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff])/g,vc={appConfig:{host:"https://www.timum.de",resource_channel:"RESOURCE_REFERENCE",calendarFrontend:"detailsListView",calendarFrontendOptions:{condensedView:{forceResourceSelectorDialog:!0}},enableShowAllResourcesOption:!1,allowCloseOnBooking:!0,hideTimumFooter:!1,sendCustomValuesAsMessage:!1,gatherAddressData:!1,height:500,fields:{firstName:{index:0,title:"fields.firstName",validation:Rl().required("validation.field_required")},lastName:{index:1,title:"fields.lastName",validation:Rl().required("validation.field_required")},email:{index:2,title:"fields.email",format:"email",type:"text",validation:Rl().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:Rl().max(1024).test("no-emojis","validation.no_emojis",e=>!K6.test(e)),limit:1024,onChange:e=>e.replace(K6,"")},agbs:{index:5,title:"fields.accept_timum_privacy",type:"checkbox",validation:H2().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=os(),i=$o(r.breakpoints.down("sm"));return $.jsxs(ml,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[$.jsx(Am,{onClose:t}),$.jsx(gl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(cf,{maxWidth:"sm",sx:{p:0},children:n})})]})},IdentifiedBookingPage:({open:e,onClose:t,children:n})=>{const r=os(),i=$o(r.breakpoints.down("sm"));return $.jsxs(ml,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[$.jsx(Am,{onClose:t}),$.jsx(gl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(cf,{maxWidth:"sm",sx:{p:0},children:n})})]})},ConfirmationPage:e=>{const{open:t,onClose:n,allowCloseOnBooking:r,children:i}=e,o=os(),s=$o(o.breakpoints.down("sm"));return $.jsxs(ml,{open:t,onClose:()=>{r&&n()},hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:s,children:[r&&$.jsx(Am,{onClose:n}),$.jsx(gl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(cf,{maxWidth:"sm",sx:{p:0},children:i})})]})},LoginPage:({open:e,onClose:t,children:n})=>$.jsx(ml,{open:e,onClose:t,hideBackdrop:!0,fullWidth:!0,children:$.jsx(gl,{children:n})}),CancelPage:({open:e,onClose:t,children:n})=>{const r=os(),i=$o(r.breakpoints.down("sm"));return $.jsxs(ml,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[$.jsx(Am,{onClose:t}),$.jsx(gl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(cf,{maxWidth:"sm",sx:{p:0},children:n})})]})},ResourcePage:({mobileOpen:e,mobileOnClose:t,shouldDisplay:n,height:r,children:i})=>{const o=os(),s=$o(o.breakpoints.down("sm"));return $.jsxs($.Fragment,{children:[$.jsx(ml,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:s,children:$.jsx(gl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(cf,{maxWidth:"sm",sx:{p:0},children:i})})}),n&&$.jsxs(me,{xs:"auto",item:!0,container:!0,display:{xs:"none",sm:"flex"},wrap:"nowrap",sx:{mr:2,maxHeight:r,boxSizing:"border-box"},children:[$.jsx(me,{item:!0,xs:"auto",children:i}),$.jsx(me,{item:!0,xs:"1",children:$.jsx(jI,{orientation:"vertical",variant:"middle"})})]})]})},ProductPage:({open:e,onClose:t,children:n})=>{const r=os(),i=$o(r.breakpoints.down("sm"));return $.jsx(ml,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:$.jsx(gl,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:$.jsx(cf,{maxWidth:"sm",sx:{p:0},children:n})})})},ErrorDialog:({open:e,onClose:t})=>{const{t:n}=wn();return $.jsxs(ml,{open:e,onClose:t,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[$.jsx(NI,{id:"alert-dialog-title",children:n("reservation_failed.title")}),$.jsx(gl,{children:$.jsx(m0e,{id:"alert-dialog-description",children:n("reservation_failed.message")})}),$.jsx(i0e,{children:$.jsx(Oo,{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:gc,fontSize:zl,h1:{fontFamily:gc,fontWeight:500,lineHeight:1,fontSize:`${iBe}rem`},h2:{fontFamily:gc,fontWeight:500,lineHeight:1,fontSize:`${oBe}rem`},h3:{fontFamily:gc,fontWeight:500,lineHeight:1,fontSize:`${sBe}rem`},h4:{fontFamily:gc,fontWeight:500,lineHeight:1,fontSize:`${aBe}rem`},h5:{fontFamily:gc,fontWeight:500,lineHeight:1,fontSize:`${lBe}rem`},h6:{fontFamily:gc,fontWeight:500,lineHeight:1,fontSize:`${uBe}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:Qf/2},h2:{marginBottom:Qf/2},h3:{marginBottom:Qf/2},h4:{marginBottom:Qf/2},h5:{marginBottom:Qf/2},h6:{marginBottom:Qf/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}}}},cBe="(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]+)?)",dBe=new RegExp(`^https?://([a-zA-Z0-9-]+\\.)*${cBe}$`);function fBe(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}function pBe(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 wq(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++,wq(e,t,n)}function hBe(e){var t=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return t?t.pop():""}function Z6(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}function mBe(e){e.callbacks={createBookingStarted:({timeslot:t,data:n})=>{var r;(r=window==null?void 0:window.parent)==null||r.postMessage({origin:"bookingjs",type:"createBookingStarted",timeslot:t,data:n},e.postMessageTarget)},createBookingSuccessful:({timeslot:t,response:n,data:r})=>{var i;(i=window==null?void 0:window.parent)==null||i.postMessage({origin:"bookingjs",type:"createBookingSuccessful",timeslot:t,response:n,data:r},e.postMessageTarget)},createBookingFailed:({timeslot:t,response:n,data:r})=>{var i;(i=window==null?void 0:window.parent)==null||i.postMessage({origin:"bookingjs",type:"createBookingFailed",timeslot:t,response:n,data:r},e.postMessageTarget)},cancelationgStarted:({timeslot:t,response:n})=>{var r;(r=window==null?void 0:window.parent)==null||r.postMessage({origin:"bookingjs",type:"cancelationStarted",timeslot:t,response:n},e.postMessageTarget)},cancelationSuccessful:({timeslot:t,response:n})=>{var r;(r=window==null?void 0:window.parent)==null||r.postMessage({origin:"bookingjs",type:"cancelationSuccessful",timeslot:t,response:n},e.postMessageTarget)},cancelationFailed:({timeslot:t,response:n})=>{var r;(r=window==null?void 0:window.parent)==null||r.postMessage({origin:"bookingjs",type:"cancelationFailed",timeslot:t,response:n},e.postMessageTarget)},fetchingPublicDataSucceeded:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingPublicDataSucceeded",data:t},e.postMessageTarget)},fetchingProductsSucceeded:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingProductsSucceeded",data:t},e.postMessageTarget)},fetchingBookablesSucceeded:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingBookablesSucceeded",data:t},e.postMessageTarget)},fetchingPublicDataFailed:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingPublicDataFailed",error:t},e.postMessageTarget)},fetchingProductsFailed:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingProductsFailed",error:t},e.postMessageTarget)},fetchingBookablesFailed:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingBookablesFailed",error:t},e.postMessageTarget)},openedProductSelection:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"openedProductSelection"},e.postMessageTarget)},openedResourceSelection:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"openedResourceSelection"},e.postMessageTarget)},openedBookingPage:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"openedBookingPage",timeslot:t},e.postMessageTarget)},openedCancelPage:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"openedCancelPage",timeslot:t},e.postMessageTarget)},openedConfirmationPage:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"openedConfirmationPage"},e.postMessageTarget)},closedProductSelection:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"closedProductSelection"},e.postMessageTarget)},closedResourceSelection:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"closedResourceSelection"},e.postMessageTarget)},closedBookingPage:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"closedBookingPage",timeslot:t},e.postMessageTarget)},closedCancelPage:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"closedCancelPage",timeslot:t},e.postMessageTarget)},closedConfirmationPage:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"closedConfirmationPage"},e.postMessageTarget)}}}const Sq=(e,t)=>{e&&!t.includes(e)&&t.push(e)},Cq=(e,t)=>{e&&(e.forEach?e.forEach(n=>{t[n.resource.uuid]={...n}}):t[e.resource.uuid]={...e})},$q=(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 Tq(e,t,n,r,i,o){var w,b,y,S;let s={};const a=t==null?void 0:t.ref,l=t==null?void 0:t.tslRefs,u=t==null?void 0:t.virtualTslRefs,c=t==null?void 0:t.prdRefs,f=t==null?void 0:t.additionalData,m=t==null?void 0:t.enableShowAllResourcesOption,p=t==null?void 0:t.publicData,g=t==null?void 0:t.tsls,v=t==null?void 0:t.channelKey;if((a==null?void 0:a.length)>0&&!(p!=null&&p.length)>0){const C=await r({channelOrResourceId:a[0],params:{channelKey:v,ref:a,...f}});Cq(C==null?void 0:C.data,s)}if((p==null?void 0:p.length)>0&&Cq(p,s),m&&(!l||l.length===0)&&(!u||u.length===0)&&(s={"all-option":{resource:{uuid:"all-option",name:e("common.All")},provider:(b=(w=Object.values(s))==null?void 0:w[0])==null?void 0:b.provider},...s}),((l==null?void 0:l.length)>0||(u==null?void 0:u.length)>0)&&!(g!=null&&g.length)>0){const C=await i({params:{channelKey:v,tslIds:l,...f},body:u});$q(C==null?void 0:C.data,s)}if((g==null?void 0:g.length)>0&&$q(g,s),(c==null?void 0:c.length)>0){Object.values(s).forEach(E=>{var A;E!=null&&E.bookables&&((A=Object.values(E==null?void 0:E.bookables))==null||A.forEach(_=>{_.forEach(O=>{var M;Sq(O==null?void 0:O.product_uuid,c),(M=O.products)==null||M.forEach(L=>{Sq(L.uuid,c)})})}))});const C=await o({params:{prdRefs:c,additionalData:f}}),T=Object.entries(s).filter(([,E])=>{var _,O;if(((O=(_=E==null?void 0:E.resource)==null?void 0:_.supportedProducts)==null?void 0:O.length)===0)return!1;const A=C.data.filter(M=>{var F;const L=(F=E==null?void 0:E.resource)==null?void 0:F.supportedProducts;return L&&L.some(z=>z===M.uuid)});return A.length===0?!1:(E.products=A,!0)});s=Object.fromEntries(T)}if(n(Ine(s)),Object.values(s).length>1)if(t.cancelableAppointment){let C=!1;for(const T of Object.values(s))((y=T==null?void 0:T.resource)==null?void 0:y.uuid)===((S=t.cancelableAppointment)==null?void 0:S.resId)&&(n(wd(T)),C=!0);C||n(wd(Object.values(s)[0]))}else n(wd(Object.values(s)[0]));else Object.values(s).length===1?n(wd(Object.values(s)[0])):console.warn("Given reference(s) seems to be invalid.")}function gBe(e){try{return eBe(e)}catch(t){console.error("Error decrypting JWT:",t)}}function Q6(e){var C,T,E;const t={...e},n=window.location.search,r=new URLSearchParams(t.queryString||n);let 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;const s=hBe("PLAY_SESSION");let a=r.get("channelKey")??r.get("channelkey");const l=r.get("X-SIGNED-APP-CUSTOMER");let u=r.get("resId"),c=r.getAll("ref"),f=r.getAll("tslRefs"),m=r.getAll("virtualTslRefs"),p=r.getAll("prdRefs"),g=r.get("culture"),v=r.get("postMessageTarget"),w=r.get("enableShowAllResourcesOption"),b=r.get("conf");b&&(b=gBe(b),c=b.ref||[],a=b.channelKey,i=b.pData,f=b.tslRefs||[],p=b.prdRefs||[],g=b.urlCulture,m=b.virtualTslRefs||[],v=b.postMessageTarget,w=b.enableShowAllResourcesOption);const y=t.queryHash||window.location.hash,[,,S]=(y==null?void 0:y.split("/"))??[];if((i||o)&&(t.pData=i??o),a&&(t.channelKey=a),c&&c.length>0&&(t.ref=c),f&&f.length>0&&(t.tslRefs=f),m&&m.length>0&&(t.virtualTslRefs=m),p&&p.length>0&&(t.prdRefs=p),g&&(t.culture=g),v&&(t.postMessageTarget=v),w&&(t.enableShowAllResourcesOption=w),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)&&(!t.virtualTslRefs||t.virtualTslRefs.length===0)){console.log("timum hides itself. No reference in either url or options detected.");return}for(let A=0;A<((C=t==null?void 0:t.ref)==null?void 0:C.length);A++)t.ref[A]=Z6(t.ref[A],t.platform,t.prvUuid);for(let A=0;A<((T=t==null?void 0:t.tslRefs)==null?void 0:T.length);A++)t.tslRefs[A]=Z6(t.tslRefs[A],t.platform,t.prvUuid);for(let A=0;A<((E=t==null?void 0:t.prdRefs)==null?void 0:E.length);A++)t.prdRefs[A]=Z6(t.prdRefs[A],t.platform,t.prvUuid);return s&&(t.cookie=s),l&&(t.cancelableAppointment={authToken:l,appointmentUuid:S,customerUuid:o.id,resourceUuid:u}),t.host&&vte(t.host),t.height&&(t.height=fBe(t.height)),t}const Eq=(e,t,n,r,i,o,s)=>{const a=Object.keys(t).length>0,l=Object.keys(e).length>0;let u=sn.merge({},vc.appConfig,e),c=sn.merge({},vc.muiTheme,t),f=sn.merge({},vc.fcConfig,n);u.fields=wq(u.fields),pBe(e.fields,u.fields),l&&!o&&(u.localization=vc.appConfig.localization),l&&!i&&(u.fields=vc.appConfig.fields),l&&!r&&(u.hideTimumFooter=vc.appConfig.hideTimumFooter),a&&!r&&(c=vc.muiTheme),u.postMessageTarget&&mBe(u),s(Dne(f)),s(Pne(u)),s(Mne(c))},kq=({muiTheme:e={},fcConfig:t={},appConfig:n={},children:r})=>{const{t:i}=wn(),o=Dh(),s=Se(qne),a=Se(Yne),l=Se(Kne),u=re.useMemo(()=>{var y;return(y=n==null?void 0:n.callbacks)==null?void 0:y.fetchingPublicDataFailed},[n]),[c,{isFetching:f,error:m}]=$te(),[p,{isFetching:g}]=xte(),[v,{isFetching:w}]=Ste(),b=R.useCallback((y=n,S=e,C=t)=>{const T=Q6(y);T&&(Eq(T,S,C,s,a,l,o),Tq(i,T,o,c,p,v))},[n,e,t,s,a,l,o,i,c,p,v]);return R.useEffect(()=>{const y=S=>{var C,T,E,A,_;dBe.test(S.origin)&&((C=S.data)==null?void 0:C.type)==="rerender"?b({...(T=S.data)==null?void 0:T.appConfig},{...(E=S.data)==null?void 0:E.muiTheme},{...(A=S.data)==null?void 0:A.fcConfig}):((_=S.data)==null?void 0:_.type)==="rerender"&&console.error("ConfigHandler received a message from an unexpected origin:",S.origin)};return window.addEventListener("message",y),()=>{window.removeEventListener("message",y)}},[b,n]),R.useEffect(()=>{const y=Q6(n);y&&Eq(y,e,t,s,a,l,o)},[n,e,t,o,s,a,l,c,p,v]),R.useEffect(()=>{const y=Q6(n);y&&Tq(i,y,o,c,p,v)},[n,o,c,p,v,i]),R.useEffect(()=>{o(jne(g||f||w))},[o,f,g,w]),m&&u&&u(m),r};kq.displayName="ConfigHandler";const vBe=une({reducer:{[pv.reducerPath]:pv.reducer,appState:Zne},middleware:e=>e().concat(pv.middleware),devTools:{trace:!0}});var Aq=[],yBe=Aq.forEach,bBe=Aq.slice;function xBe(e){return yBe.call(bBe.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}var Rq=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,wBe=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(!Rq.test(i.domain))throw new TypeError("option domain is invalid");s+="; Domain=".concat(i.domain)}if(i.path){if(!Rq.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},_q={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=wBe(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)}},SBe={name:"cookie",lookup:function(t){var n;if(t.lookupCookie&&typeof document<"u"){var r=_q.read(t.lookupCookie);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupCookie&&typeof document<"u"&&_q.create(n.lookupCookie,t,n.cookieMinutes,n.cookieDomain,n.cookieOptions)}},CBe={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}},Rm=null,Oq=function(){if(Rm!==null)return Rm;try{Rm=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{Rm=!1}return Rm},$Be={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&Oq()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&Oq()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},_m=null,Pq=function(){if(_m!==null)return _m;try{_m=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{_m=!1}return _m},TBe={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&Pq()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&Pq()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},EBe={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}},kBe={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}},ABe={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}},RBe={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 _Be(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var Dq=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Fo(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return jo(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=xBe(r,this.options||{},_Be()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(SBe),this.addDetector(CBe),this.addDetector($Be),this.addDetector(TBe),this.addDetector(EBe),this.addDetector(kBe),this.addDetector(ABe),this.addDetector(RBe)}},{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}();Dq.type="languageDetector";var J6=["",""],X6=RegExp("([".concat(J6.join(""),"]{9})+"),"gu"),OBe=9,PBe="subliminal:start",DBe=function(t){return Array.from(new TextEncoder().encode(t))},MBe=function(t){return new TextDecoder().decode(new Uint8Array(t))},IBe=function(t){var n=8-t.length;return"0".repeat(n)+t},Mq=function(t){var n=DBe(t).map(Number),r=n.map(function(o){return IBe(o.toString(2))+"0"}).join(""),i=Array.from(r).map(function(o){return J6[Number(o)]}).join("");return i},Iq=Mq(PBe),Nq=function(t){var n=Array.from(t).map(function(o){return J6.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 MBe(i)},NBe=function(t){var n,r=(n=t.match(X6))===null||n===void 0?void 0:n.filter(function(i){return i.length>OBe-1});if(!(!r||r.length===0))return Nq(r[r.length-1])},LBe=function(t){return t.replace(X6,"")},FBe=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)},jBe=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 Lq(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=FBe(t),r=Mq(n);return typeof e=="string"&&e?Iq+e+r:e}function Vb(e){var t=NBe(e),n=jBe(t),r=LBe(e);return{text:r,invisibleMeta:n}}function eT(e){if(!e||e.length<27||!X6.test(e))return!1;var t=e.substring(e.length-9),n=Nq(t);return n==="}"}function zBe(e){return e.startsWith(Iq)}function Fq(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 Wb(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Fq(Object(n),!0).forEach(function(r){rn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fq(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var jq="subliminal",BBe={name:jq,type:"postProcessor",options:{},setOptions:function(t){this.options=Wb(Wb({},t),this.options)},process:function(t,n,r,i){var o=this.options=Wb(Wb({},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 c,f,m,p,g,v,w=(c=(f=o.keySeparator)!==null&&f!==void 0?f:i==null||(m=i.options)===null||m===void 0?void 0:m.keySeparator)!==null&&c!==void 0?c:".",b=i.extractFromKey(n.join(w),r),y=b.key,S=b.namespaces;s=y,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?u="key":u="translation"}return Lq(t,{key:s,ns:a,lng:l,source:u})},overloadTranslationOptionHandler:function(){return{postProcess:jq,postProcessPassResolved:!0}}},zq=["placeholder","title","alt"],Bo={highlight:"#26a69a",warning:"#e67a00"},Bq=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"},ya=function(){if(!(typeof document>"u")){var e=document.createElement("style");return document.head.appendChild(e),e.sheet}}();function Uq(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 UBe(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Uq(Object(n),!0).forEach(function(r){rn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uq(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Hq={committed:"commitKeys"};function HBe(e){return Hq[e]?Hq[e]:e}var tT=[];function $r(e,t){if(!Oe.source){var n;Oe.source=(n=document.getElementById("i18next-editor-iframe"))===null||n===void 0?void 0:n.contentWindow}if(Oe.origin||(Oe.origin=Bq()),!Oe.source||!Oe.source.postMessage){tT.push({action:e,payload:t});return}Oe.legacy?Oe.source.postMessage(UBe({message:e},t),Oe.origin):Oe.source.postMessage({sender:"i18next-editor",senderAPIVersion:"v1",action:e,message:e,payload:t},Oe.origin);var r=tT;tT=[],r.forEach(function(i){var o=i.action,s=i.payload;$r(o,s)})}var yc={},nT=5,Oe={init:function(t,n){Oe.i18n=t,Oe.clickHandler=n},requestInitialize:function(t){$r("requestInitialize",t),!Oe.initInterval&&(Oe.initInterval=setInterval(function(){nT=nT-1,Oe.requestInitialize(t),nT<0&&Oe.initInterval&&(clearInterval(Oe.initInterval),delete Oe.initInterval)},1e3))},selectKey:function(t){$r("selectKey",t)},confirmResourceBundle:function(t){$r("confirmResourceBundle",t)},sendCurrentParsedContent:function(){$r("sendCurrentParsedContent",{content:Object.values(bs.data).map(function(t){return{id:t.id,keys:t.keys}})})},sendCurrentTargetLanguage:function(t){$r("sendCurrentTargetLanguage",{targetLng:t||Oe.i18n.getLng()})},addHandler:function(t,n){yc[t]||(yc[t]=[]),yc[t].push(n)},sendLocizeIsEnabled:function(){$r("locizeIsEnabled",{enabled:!0})},turnOn:function(){if(Oe.scriptTurnedOff)return $r("forcedOff");Oe.clickInterceptionEnabled||window.document.body.addEventListener("click",Oe.clickHandler,!0),Oe.clickInterceptionEnabled=!0,$r("turnedOn")},turnOff:function(){if(Oe.scriptTurnedOff)return $r("forcedOff");Oe.clickInterceptionEnabled&&window.document.body.removeEventListener("click",Oe.clickHandler,!0),Oe.clickInterceptionEnabled=!1,$r("turnedOff")},onAddedKey:function(t,n,r,i){var o={lng:t,ns:n,key:r,value:i};$r("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=HBe(i);yc[s]&&yc[s].forEach(function(a){a(o,e)})}else n==="i18next-editor-frame"&&yc[r]&&yc[r].forEach(function(a){a(o)})});function Gb(e,t){var n=bs.get(e.eleUniqueID);if(!(!n||!n.keys[e.textType])){var r=Lq(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 c=[];u.childNodes.forEach(function(f){c.push(f)}),c.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 VBe(e){var t=e.meta,n=e.value;t&&n!==void 0&&Gb(t,n)}Oe.addHandler("editKey",VBe);function WBe(e){var t=e.meta,n=e.value,r=e.lng;if(t&&n!==void 0){Gb(t,n);var i=r||Oe.i18n.getLng();Oe.i18n.setResource(i,t.ns,t.key,n),Oe.i18n.triggerRerender()}}Oe.addHandler("commitKey",WBe);function GBe(e){if(Array.isArray(e))return H6(e)}function qBe(){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 YBe(e){return GBe(e)||YG(e)||KG(e)||qBe()}function KBe(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&&Gb(l,s.value),a&&Object.values(a).forEach(function(u){Gb(u,s.value)}),Oe.i18n.setResource(r,i,o,s.value)}),Object.values(bs.data).forEach(function(n){if(n.originalChildNodes){var r;(r=n.node).replaceChildren.apply(r,YBe(n.originalChildNodes))}}),Oe.i18n.triggerRerender(),Oe.locizeSavedHandler&&Oe.locizeSavedHandler(e),window.locizeSavedHandler&&window.locizeSavedHandler(e)}Oe.addHandler("commitKeys",KBe);function ZBe(e){Oe.initialized=!0,clearInterval(Oe.initInterval),delete Oe.initInterval,Oe.sendCurrentParsedContent(),Oe.sendCurrentTargetLanguage()}Oe.addHandler("confirmInitialized",ZBe);function Vq(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 Wq(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Vq(Object(n),!0).forEach(function(r){rn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vq(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Bl={};function QBe(){Object.values(Bl).forEach(function(e){document.body.contains(e.node)||(Pm(e.id,e.node),delete Bl[e.id])})}function JBe(e,t,n){!e||!t||!n||(Bl[e]||(Bl[e]={id:e,node:n}),Bl[e].keys=Wq(Wq({},Bl[e].keys),{},rn({},"".concat(t),"uninstrumented")))}function XBe(e){return Bl[e]}var rT={save:JBe,clean:QBe,get:XBe,data:Bl};function Gq(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 iT(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,c=u+n.offsetWidth,f=Math.max(r,u),m=Math.min(r,c),p=Math.max(i,a),g=Math.min(i,l),v=m>=f,w=g>=p,b={x:v?r:c<r?c: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 qq(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 eUe(e){return e!=null&&e===e.window}function tUe(e){return eUe(e)?e:e.nodeType===9&&e.defaultView}function Yq(e){var t={top:0,left:0,right:0,bottom:0},n=e&&e.ownerDocument,r=n&&n.documentElement;if(!r)return t;Ui(e.getBoundingClientRect)!=="undefined"&&(t=e.getBoundingClientRect());var i=tUe(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 nUe(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=Yq(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 c=o;c<s;c++){var f=n.childNodes[c],m=Yq(f);if(m.left>r)break;f&&f.nodeType!==8&&(t=f)}}return t}function rUe(e){var t=e.textContent||e.text&&e.text.innerText||e.placeholder;if(typeof t=="string")return t.replace(/\n +/g,"").trim()}function ba(e,t){return e&&e.getAttribute&&e.getAttribute(t)}function Kq(e){var t=ba(e,"data-i18n");if(t)return t;if(e.nodeType===window.Node.TEXT_NODE&&e.parentElement)return Kq(e.parentElement)}function iUe(e){var t,n=function r(i){var o=ba(i,"i18next-options");if(o||(o=ba(i,"data-i18next-options")),o||(o=ba(i,"i18n-options")),o||(o=ba(i,"data-i18n-options")),o){var s={};try{s=JSON.parse(o)}catch{}s.ns&&(t=s.ns)}t||(t=ba(i,"i18next-ns")),t||(t=ba(i,"data-i18next-ns")),t||(t=ba(i,"i18n-ns")),t||(t=ba(i,"data-i18n-ns")),!t&&i.parentElement&&r(i.parentElement)};return n(e),t}function oUe(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 sUe=qq(function(e,t){Object.values(bs.data).forEach(function(n){if(Gq(n.node)){var r=iT(e,n.node);if(r<5)OUe(n,n.node,n.keys);else if(r>5){var i=n.ribbonBox?iT(e,n.ribbonBox):1e3;i>10&&Pm(n,n.node,n.keys)}}}),Object.values(rT.data).forEach(function(n){if(Gq(n.node)){var r=iT(e,n.node);r<10?PUe(n,n.node,n.keys):r>10&&Pm(n,n.node,n.keys)}})},50),oT;function qb(e){oT=function(n){sUe(n,e)},document.addEventListener("mousemove",oT)}function sT(){document.removeEventListener("mousemove",oT)}var aUe='<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>',lUe=`
|
|
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">
|
|
@@ -62238,7 +62238,7 @@ function t3(e) {
|
|
|
62238
62238
|
), x = r.get("conf");
|
|
62239
62239
|
x && (x = MFe(x), d = x.ref || [], a = x.channelKey, i = x.pData, f = x.tslRefs || [], h = x.prdRefs || [], g = x.urlCulture, m = x.virtualTslRefs || [], v = x.postMessageTarget, b = x.enableShowAllResourcesOption);
|
|
62240
62240
|
const w = t.queryHash || window.location.hash, [, , S] = (w == null ? void 0 : w.split("/")) ?? [];
|
|
62241
|
-
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.virtualTslRefs = m), h && h.length > 0 && (t.prdRefs = h), g && (t.culture = g), v && (t.postMessageTarget = v), b && (t.enableShowAllResourcesOption = b), nn.isArray(t.ref) ? t.ref = [...t.ref] : t.ref ? t.ref = [t.ref] : t.ref = [], nn.isArray(t.tslRefs) ? t.tslRefs = [...t.tslRefs] : t.tslRefs ? t.tslRefs = [t.tslRefs] : t.tslRefs = [], nn.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)) {
|
|
62241
|
+
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.virtualTslRefs = m), h && h.length > 0 && (t.prdRefs = h), g && (t.culture = g), v && (t.postMessageTarget = v), b && (t.enableShowAllResourcesOption = b), nn.isArray(t.ref) ? t.ref = [...t.ref] : t.ref ? t.ref = [t.ref] : t.ref = [], nn.isArray(t.tslRefs) ? t.tslRefs = [...t.tslRefs] : t.tslRefs ? t.tslRefs = [t.tslRefs] : t.tslRefs = [], nn.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) && (!t.virtualTslRefs || t.virtualTslRefs.length === 0)) {
|
|
62242
62242
|
console.log(
|
|
62243
62243
|
"timum hides itself. No reference in either url or options detected."
|
|
62244
62244
|
);
|
|
@@ -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 dAe(){const e=xe(t=>xV(t,"useCustomTimumCss"));return T.jsxs(T.Fragment,{children:[e&&T.jsx(qy,{styles:cAe}),T.jsx(qy,{styles:uAe})]})}function fAe({children:e}){const[t,n]=P.useState(null);if(P.useEffect(()=>{setTimeout(()=>{n(!0)},500)},[]),t)return e}function hAe(e){const t=xe(Zl),n=xe(yV),r=xe(s=>Ne(s,"calendarFrontend")),i=xe(s=>Ne(s,"calendarFrontendOptions"));let o=m2(n??{});return o=wK(o,{factor:2.5}),T.jsxs(CK,{theme:o,children:[T.jsx(bne,{}),T.jsx(dAe,{}),r==="fullCalendar"&&T.jsx(Fu,{...e,...i.fullCalendar,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:T.jsx(cL,{})}),r==="detailsFullCalendar"&&T.jsx(Fu,{...e,...i.detailsFullCalendar,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:T.jsx(G5,{CalendarView:cL})}),(r==="pureListView"||r==="listView")&&T.jsx(Fu,{...e,...i.pureListView,...i.listView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:T.jsx(Q5,{})}),r==="detailsListView"&&T.jsx(Fu,{...e,...i.detailsListView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:T.jsx(G5,{CalendarView:Q5})}),r==="condensedView"&&T.jsx(Fu,{...e,...i.condensedView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:T.jsx(hL,{})}),r==="detailsCondensedView"&&T.jsx(Fu,{...e,...i.detailsCondensedView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:T.jsx(G5,{CalendarView:hL})}),t&&r!=="fullCalendar"&&r!=="detailsFullCalendar"&&r!=="condensedView"&&r!=="detailsCondensedView"&&r!=="detailsListView"&&r!=="listView"&&r!=="pureListView"&&T.jsx(fAe,{children:T.jsxs(T.Fragment,{children:["You must set calendarFrontend either to ",T.jsx("code",{children:"fullCalendar"}),","," ",T.jsx("code",{children:"detailsFullCalendar"}),",",T.jsx("code",{children:"listView"}),","," ",T.jsx("code",{children:"detailsListView"}),", ",T.jsx("code",{children:"condensedView"})," or"," ",T.jsx("code",{children:"detailsCondensedView"})," in your config."]})})]})}new TextEncoder;const pL=new TextDecoder,pAe=e=>{const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n},mAe=e=>{let t=e;t instanceof Uint8Array&&(t=pL.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{return pAe(t)}catch{throw new TypeError("The input to be decoded is not correctly encoded.")}};class ur extends Error{constructor(t,n){var r;super(t,n),this.code="ERR_JOSE_GENERIC",this.name=this.constructor.name,(r=Error.captureStackTrace)==null||r.call(Error,this,this.constructor)}}ur.code="ERR_JOSE_GENERIC";class gAe extends ur{constructor(t,n,r="unspecified",i="unspecified"){super(t,{cause:{claim:r,reason:i,payload:n}}),this.code="ERR_JWT_CLAIM_VALIDATION_FAILED",this.claim=r,this.reason=i,this.payload=n}}gAe.code="ERR_JWT_CLAIM_VALIDATION_FAILED";class vAe extends ur{constructor(t,n,r="unspecified",i="unspecified"){super(t,{cause:{claim:r,reason:i,payload:n}}),this.code="ERR_JWT_EXPIRED",this.claim=r,this.reason=i,this.payload=n}}vAe.code="ERR_JWT_EXPIRED";class yAe extends ur{constructor(){super(...arguments),this.code="ERR_JOSE_ALG_NOT_ALLOWED"}}yAe.code="ERR_JOSE_ALG_NOT_ALLOWED";class bAe extends ur{constructor(){super(...arguments),this.code="ERR_JOSE_NOT_SUPPORTED"}}bAe.code="ERR_JOSE_NOT_SUPPORTED";class xAe extends ur{constructor(t="decryption operation failed",n){super(t,n),this.code="ERR_JWE_DECRYPTION_FAILED"}}xAe.code="ERR_JWE_DECRYPTION_FAILED";class wAe extends ur{constructor(){super(...arguments),this.code="ERR_JWE_INVALID"}}wAe.code="ERR_JWE_INVALID";class SAe extends ur{constructor(){super(...arguments),this.code="ERR_JWS_INVALID"}}SAe.code="ERR_JWS_INVALID";class oa extends ur{constructor(){super(...arguments),this.code="ERR_JWT_INVALID"}}oa.code="ERR_JWT_INVALID";class CAe extends ur{constructor(){super(...arguments),this.code="ERR_JWK_INVALID"}}CAe.code="ERR_JWK_INVALID";class TAe extends ur{constructor(){super(...arguments),this.code="ERR_JWKS_INVALID"}}TAe.code="ERR_JWKS_INVALID";class $Ae extends ur{constructor(t="no applicable key found in the JSON Web Key Set",n){super(t,n),this.code="ERR_JWKS_NO_MATCHING_KEY"}}$Ae.code="ERR_JWKS_NO_MATCHING_KEY";class EAe extends ur{constructor(t="multiple matching keys found in the JSON Web Key Set",n){super(t,n),this.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS"}}EAe.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";class kAe extends ur{constructor(t="request timed out",n){super(t,n),this.code="ERR_JWKS_TIMEOUT"}}kAe.code="ERR_JWKS_TIMEOUT";class AAe extends ur{constructor(t="signature verification failed",n){super(t,n),this.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED"}}AAe.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";function _Ae(e){return typeof e=="object"&&e!==null}function OAe(e){if(!_Ae(e)||Object.prototype.toString.call(e)!=="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}const RAe=mAe;function PAe(e){if(typeof e!="string")throw new oa("JWTs must use Compact JWS serialization, JWT must be a string");const{1:t,length:n}=e.split(".");if(n===5)throw new oa("Only JWTs using Compact JWS serialization can be decoded");if(n!==3)throw new oa("Invalid JWT");if(!t)throw new oa("JWTs must contain a payload");let r;try{r=RAe(t)}catch{throw new oa("Failed to base64url decode the payload")}let i;try{i=JSON.parse(pL.decode(r))}catch{throw new oa("Failed to parse the decoded payload as JSON")}if(!OAe(i))throw new oa("Invalid JWT Claims Set");return i}var sw={},DAe=fn;Object.defineProperty(sw,"__esModule",{value:!0});var mL=sw.default=void 0,MAe=DAe(Tn()),IAe=T;mL=sw.default=(0,MAe.default)((0,IAe.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 hh(e){const{children:t,onClose:n,...r}=e;return T.jsxs(R$,{sx:{m:0,p:2},...r,children:[t,n?T.jsx(nf,{"aria-label":"close",onClick:n,sx:{position:"absolute",right:8,top:8,color:i=>i.palette.grey[500]},children:T.jsx(mL,{})}):null]})}hh.propTypes={children:et.node,onClose:et.func.isRequired};const sa=14,wl='"Ek Mukta","Helvetica Neue", Helvetica, Arial, sans-serif',Tc=Math.floor(sa*1.428571429),NAe=lc(Math.floor(sa*2.6)),LAe=lc(Math.floor(sa*2.3)),FAe=lc(Math.floor(sa*1.9)),jAe=lc(Math.floor(sa*1.5)),BAe=lc(Math.floor(sa*1.15)),zAe=lc(Math.floor(sa)),aw=/(\u00a9|\u00ae|[\u2000-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff])/g,Sl={appConfig:{host:"https://www.timum.de",resource_channel:"RESOURCE_REFERENCE",calendarFrontend:"detailsListView",calendarFrontendOptions:{condensedView:{forceResourceSelectorDialog:!0}},enableShowAllResourcesOption:!1,allowCloseOnBooking:!0,hideTimumFooter:!1,sendCustomValuesAsMessage:!1,gatherAddressData:!1,height:500,fields:{firstName:{index:0,title:"fields.firstName",validation:Ks().required("validation.field_required")},lastName:{index:1,title:"fields.lastName",validation:Ks().required("validation.field_required")},email:{index:2,title:"fields.email",format:"email",type:"text",validation:Ks().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:Ks().max(1024).test("no-emojis","validation.no_emojis",e=>!aw.test(e)),limit:1024,onChange:e=>e.replace(aw,"")},agbs:{index:5,title:"fields.accept_timum_privacy",type:"checkbox",validation:hg().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=Xi(),i=Si(r.breakpoints.down("sm"));return T.jsxs(Is,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[T.jsx(hh,{onClose:t}),T.jsx(Ns,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:T.jsx(Lu,{maxWidth:"sm",sx:{p:0},children:n})})]})},IdentifiedBookingPage:({open:e,onClose:t,children:n})=>{const r=Xi(),i=Si(r.breakpoints.down("sm"));return T.jsxs(Is,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[T.jsx(hh,{onClose:t}),T.jsx(Ns,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:T.jsx(Lu,{maxWidth:"sm",sx:{p:0},children:n})})]})},ConfirmationPage:e=>{const{open:t,onClose:n,allowCloseOnBooking:r,children:i}=e,o=Xi(),s=Si(o.breakpoints.down("sm"));return T.jsxs(Is,{open:t,onClose:()=>{r&&n()},hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:s,children:[r&&T.jsx(hh,{onClose:n}),T.jsx(Ns,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:T.jsx(Lu,{maxWidth:"sm",sx:{p:0},children:i})})]})},LoginPage:({open:e,onClose:t,children:n})=>T.jsx(Is,{open:e,onClose:t,hideBackdrop:!0,fullWidth:!0,children:T.jsx(Ns,{children:n})}),CancelPage:({open:e,onClose:t,children:n})=>{const r=Xi(),i=Si(r.breakpoints.down("sm"));return T.jsxs(Is,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[T.jsx(hh,{onClose:t}),T.jsx(Ns,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:T.jsx(Lu,{maxWidth:"sm",sx:{p:0},children:n})})]})},ResourcePage:({mobileOpen:e,mobileOnClose:t,shouldDisplay:n,height:r,children:i})=>{const o=Xi(),s=Si(o.breakpoints.down("sm"));return T.jsxs(T.Fragment,{children:[T.jsx(Is,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:s,children:T.jsx(Ns,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:T.jsx(Lu,{maxWidth:"sm",sx:{p:0},children:i})})}),n&&T.jsxs(he,{xs:"auto",item:!0,container:!0,display:{xs:"none",sm:"flex"},wrap:"nowrap",sx:{mr:2,maxHeight:r,boxSizing:"border-box"},children:[T.jsx(he,{item:!0,xs:"auto",children:i}),T.jsx(he,{item:!0,xs:"1",children:T.jsx(M$,{orientation:"vertical",variant:"middle"})})]})]})},ProductPage:({open:e,onClose:t,children:n})=>{const r=Xi(),i=Si(r.breakpoints.down("sm"));return T.jsx(Is,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:T.jsx(Ns,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:T.jsx(Lu,{maxWidth:"sm",sx:{p:0},children:n})})})},ErrorDialog:({open:e,onClose:t})=>{const{t:n}=ln();return T.jsxs(Is,{open:e,onClose:t,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[T.jsx(R$,{id:"alert-dialog-title",children:n("reservation_failed.title")}),T.jsx(Ns,{children:T.jsx(Gne,{id:"alert-dialog-description",children:n("reservation_failed.message")})}),T.jsx(Nne,{children:T.jsx(_i,{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:wl,fontSize:sa,h1:{fontFamily:wl,fontWeight:500,lineHeight:1,fontSize:`${NAe}rem`},h2:{fontFamily:wl,fontWeight:500,lineHeight:1,fontSize:`${LAe}rem`},h3:{fontFamily:wl,fontWeight:500,lineHeight:1,fontSize:`${FAe}rem`},h4:{fontFamily:wl,fontWeight:500,lineHeight:1,fontSize:`${jAe}rem`},h5:{fontFamily:wl,fontWeight:500,lineHeight:1,fontSize:`${BAe}rem`},h6:{fontFamily:wl,fontWeight:500,lineHeight:1,fontSize:`${zAe}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:Tc/2},h2:{marginBottom:Tc/2},h3:{marginBottom:Tc/2},h4:{marginBottom:Tc/2},h5:{marginBottom:Tc/2},h6:{marginBottom:Tc/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}}}},HAe="(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]+)?)",UAe=new RegExp(`^https?://([a-zA-Z0-9-]+\\.)*${HAe}$`);function VAe(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}function WAe(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 gL(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++,gL(e,t,n)}function qAe(e){var t=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return t?t.pop():""}function lw(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}function GAe(e){e.callbacks={createBookingStarted:({timeslot:t,data:n})=>{var r;(r=window==null?void 0:window.parent)==null||r.postMessage({origin:"bookingjs",type:"createBookingStarted",timeslot:t,data:n},e.postMessageTarget)},createBookingSuccessful:({timeslot:t,response:n,data:r})=>{var i;(i=window==null?void 0:window.parent)==null||i.postMessage({origin:"bookingjs",type:"createBookingSuccessful",timeslot:t,response:n,data:r},e.postMessageTarget)},createBookingFailed:({timeslot:t,response:n,data:r})=>{var i;(i=window==null?void 0:window.parent)==null||i.postMessage({origin:"bookingjs",type:"createBookingFailed",timeslot:t,response:n,data:r},e.postMessageTarget)},cancelationgStarted:({timeslot:t,response:n})=>{var r;(r=window==null?void 0:window.parent)==null||r.postMessage({origin:"bookingjs",type:"cancelationStarted",timeslot:t,response:n},e.postMessageTarget)},cancelationSuccessful:({timeslot:t,response:n})=>{var r;(r=window==null?void 0:window.parent)==null||r.postMessage({origin:"bookingjs",type:"cancelationSuccessful",timeslot:t,response:n},e.postMessageTarget)},cancelationFailed:({timeslot:t,response:n})=>{var r;(r=window==null?void 0:window.parent)==null||r.postMessage({origin:"bookingjs",type:"cancelationFailed",timeslot:t,response:n},e.postMessageTarget)},fetchingPublicDataSucceeded:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingPublicDataSucceeded",data:t},e.postMessageTarget)},fetchingProductsSucceeded:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingProductsSucceeded",data:t},e.postMessageTarget)},fetchingBookablesSucceeded:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingBookablesSucceeded",data:t},e.postMessageTarget)},fetchingPublicDataFailed:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingPublicDataFailed",error:t},e.postMessageTarget)},fetchingProductsFailed:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingProductsFailed",error:t},e.postMessageTarget)},fetchingBookablesFailed:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingBookablesFailed",error:t},e.postMessageTarget)},openedProductSelection:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"openedProductSelection"},e.postMessageTarget)},openedResourceSelection:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"openedResourceSelection"},e.postMessageTarget)},openedBookingPage:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"openedBookingPage",timeslot:t},e.postMessageTarget)},openedCancelPage:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"openedCancelPage",timeslot:t},e.postMessageTarget)},openedConfirmationPage:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"openedConfirmationPage"},e.postMessageTarget)},closedProductSelection:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"closedProductSelection"},e.postMessageTarget)},closedResourceSelection:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"closedResourceSelection"},e.postMessageTarget)},closedBookingPage:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"closedBookingPage",timeslot:t},e.postMessageTarget)},closedCancelPage:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"closedCancelPage",timeslot:t},e.postMessageTarget)},closedConfirmationPage:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"closedConfirmationPage"},e.postMessageTarget)}}}const vL=(e,t)=>{e&&!t.includes(e)&&t.push(e)},yL=(e,t)=>{e&&(e.forEach?e.forEach(n=>{t[n.resource.uuid]={...n}}):t[e.resource.uuid]={...e})},bL=(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 xL(e,t,n,r,i,o){var b,x,w,S;let s={};const a=t==null?void 0:t.ref,l=t==null?void 0:t.tslRefs,c=t==null?void 0:t.virtualTslRefs,d=t==null?void 0:t.prdRefs,f=t==null?void 0:t.additionalData,m=t==null?void 0:t.enableShowAllResourcesOption,h=t==null?void 0:t.publicData,g=t==null?void 0:t.tsls,v=t==null?void 0:t.channelKey;if((a==null?void 0:a.length)>0&&!(h!=null&&h.length)>0){const C=await r({channelOrResourceId:a[0],params:{channelKey:v,ref:a,...f}});yL(C==null?void 0:C.data,s)}if((h==null?void 0:h.length)>0&&yL(h,s),m&&(!l||l.length===0)&&(!c||c.length===0)&&(s={"all-option":{resource:{uuid:"all-option",name:e("common.All")},provider:(x=(b=Object.values(s))==null?void 0:b[0])==null?void 0:x.provider},...s}),((l==null?void 0:l.length)>0||(c==null?void 0:c.length)>0)&&!(g!=null&&g.length)>0){const C=await i({params:{channelKey:v,tslIds:l,...f},body:c});bL(C==null?void 0:C.data,s)}if((g==null?void 0:g.length)>0&&bL(g,s),(d==null?void 0:d.length)>0){Object.values(s).forEach(k=>{var A;k!=null&&k.bookables&&((A=Object.values(k==null?void 0:k.bookables))==null||A.forEach(_=>{_.forEach(D=>{var M;vL(D==null?void 0:D.product_uuid,d),(M=D.products)==null||M.forEach(L=>{vL(L.uuid,d)})})}))});const C=await o({params:{prdRefs:d,additionalData:f}}),E=Object.entries(s).filter(([,k])=>{var _,D;if(((D=(_=k==null?void 0:k.resource)==null?void 0:_.supportedProducts)==null?void 0:D.length)===0)return!1;const A=C.data.filter(M=>{var F;const L=(F=k==null?void 0:k.resource)==null?void 0:F.supportedProducts;return L&&L.some(B=>B===M.uuid)});return A.length===0?!1:(k.products=A,!0)});s=Object.fromEntries(E)}if(n(hV(s)),Object.values(s).length>1)if(t.cancelableAppointment){let C=!1;for(const E of Object.values(s))((w=E==null?void 0:E.resource)==null?void 0:w.uuid)===((S=t.cancelableAppointment)==null?void 0:S.resId)&&(n(Kl(E)),C=!0);C||n(Kl(Object.values(s)[0]))}else n(Kl(Object.values(s)[0]));else Object.values(s).length===1?n(Kl(Object.values(s)[0])):console.warn("Given reference(s) seems to be invalid.")}function YAe(e){try{return PAe(e)}catch(t){console.error("Error decrypting JWT:",t)}}function uw(e){var C,E,k;const t={...e},n=window.location.search,r=new URLSearchParams(t.queryString||n);let 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;const s=qAe("PLAY_SESSION");let a=r.get("channelKey")??r.get("channelkey");const l=r.get("X-SIGNED-APP-CUSTOMER");let c=r.get("resId"),d=r.getAll("ref"),f=r.getAll("tslRefs"),m=r.getAll("virtualTslRefs"),h=r.getAll("prdRefs"),g=r.get("culture"),v=r.get("postMessageTarget"),b=r.get("enableShowAllResourcesOption"),x=r.get("conf");x&&(x=YAe(x),d=x.ref||[],a=x.channelKey,i=x.pData,f=x.tslRefs||[],h=x.prdRefs||[],g=x.urlCulture,m=x.virtualTslRefs||[],v=x.postMessageTarget,b=x.enableShowAllResourcesOption);const w=t.queryHash||window.location.hash,[,,S]=(w==null?void 0:w.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.virtualTslRefs=m),h&&h.length>0&&(t.prdRefs=h),g&&(t.culture=g),v&&(t.postMessageTarget=v),b&&(t.enableShowAllResourcesOption=b),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 A=0;A<((C=t==null?void 0:t.ref)==null?void 0:C.length);A++)t.ref[A]=lw(t.ref[A],t.platform,t.prvUuid);for(let A=0;A<((E=t==null?void 0:t.tslRefs)==null?void 0:E.length);A++)t.tslRefs[A]=lw(t.tslRefs[A],t.platform,t.prvUuid);for(let A=0;A<((k=t==null?void 0:t.prdRefs)==null?void 0:k.length);A++)t.prdRefs[A]=lw(t.prdRefs[A],t.platform,t.prvUuid);return s&&(t.cookie=s),l&&(t.cancelableAppointment={authToken:l,appointmentUuid:S,customerUuid:o.id,resourceUuid:c}),t.host&&KH(t.host),t.height&&(t.height=VAe(t.height)),t}const wL=(e,t,n,r,i,o,s)=>{const a=Object.keys(t).length>0,l=Object.keys(e).length>0;let c=Zt.merge({},Sl.appConfig,e),d=Zt.merge({},Sl.muiTheme,t),f=Zt.merge({},Sl.fcConfig,n);c.fields=gL(c.fields),WAe(e.fields,c.fields),l&&!o&&(c.localization=Sl.appConfig.localization),l&&!i&&(c.fields=Sl.appConfig.fields),l&&!r&&(c.hideTimumFooter=Sl.appConfig.hideTimumFooter),a&&!r&&(d=Sl.muiTheme),c.postMessageTarget&&GAe(c),s(dV(f)),s(cV(c)),s(fV(d))},SL=({muiTheme:e={},fcConfig:t={},appConfig:n={},children:r})=>{const{t:i}=ln(),o=vd(),s=xe($V),a=xe(EV),l=xe(kV),c=P.useMemo(()=>{var w;return(w=n==null?void 0:n.callbacks)==null?void 0:w.fetchingPublicDataFailed},[n]),[d,{isFetching:f,error:m}]=nU(),[h,{isFetching:g}]=JH(),[v,{isFetching:b}]=eU(),x=P.useCallback((w=n,S=e,C=t)=>{const E=uw(w);E&&(wL(E,S,C,s,a,l,o),xL(i,E,o,d,h,v))},[n,e,t,s,a,l,o,i,d,h,v]);return P.useEffect(()=>{const w=S=>{var C,E,k,A,_;UAe.test(S.origin)&&((C=S.data)==null?void 0:C.type)==="rerender"?x({...(E=S.data)==null?void 0:E.appConfig},{...(k=S.data)==null?void 0:k.muiTheme},{...(A=S.data)==null?void 0:A.fcConfig}):((_=S.data)==null?void 0:_.type)==="rerender"&&console.error("ConfigHandler received a message from an unexpected origin:",S.origin)};return window.addEventListener("message",w),()=>{window.removeEventListener("message",w)}},[x,n]),P.useEffect(()=>{const w=uw(n);w&&wL(w,e,t,s,a,l,o)},[n,e,t,o,s,a,l,d,h,v]),P.useEffect(()=>{const w=uw(n);w&&xL(i,w,o,d,h,v)},[n,o,d,h,v,i]),P.useEffect(()=>{o(vV(g||f||b))},[o,f,g,b]),m&&c&&c(m),r};SL.displayName="ConfigHandler";const KAe=zU({reducer:{[Lp.reducerPath]:Lp.reducer,appState:AV},middleware:e=>e().concat(Lp.middleware),devTools:{trace:!0}});var CL=[],ZAe=CL.forEach,QAe=CL.slice;function JAe(e){return ZAe.call(QAe.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}var TL=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,XAe=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(!TL.test(i.domain))throw new TypeError("option domain is invalid");s+="; Domain=".concat(i.domain)}if(i.path){if(!TL.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},$L={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=XAe(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)}},e_e={name:"cookie",lookup:function(t){var n;if(t.lookupCookie&&typeof document<"u"){var r=$L.read(t.lookupCookie);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupCookie&&typeof document<"u"&&$L.create(n.lookupCookie,t,n.cookieMinutes,n.cookieDomain,n.cookieOptions)}},t_e={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}},ph=null,EL=function(){if(ph!==null)return ph;try{ph=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{ph=!1}return ph},n_e={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&EL()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&EL()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},mh=null,kL=function(){if(mh!==null)return mh;try{mh=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{mh=!1}return mh},r_e={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&kL()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&kL()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},i_e={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}},o_e={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}},s_e={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}},a_e={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 l_e(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var AL=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Ni(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return Li(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=JAe(r,this.options||{},l_e()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(e_e),this.addDetector(t_e),this.addDetector(n_e),this.addDetector(r_e),this.addDetector(i_e),this.addDetector(o_e),this.addDetector(s_e),this.addDetector(a_e)}},{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}();AL.type="languageDetector";var cw=["",""],dw=RegExp("([".concat(cw.join(""),"]{9})+"),"gu"),u_e=9,c_e="subliminal:start",d_e=function(t){return Array.from(new TextEncoder().encode(t))},f_e=function(t){return new TextDecoder().decode(new Uint8Array(t))},h_e=function(t){var n=8-t.length;return"0".repeat(n)+t},_L=function(t){var n=d_e(t).map(Number),r=n.map(function(o){return h_e(o.toString(2))+"0"}).join(""),i=Array.from(r).map(function(o){return cw[Number(o)]}).join("");return i},OL=_L(c_e),RL=function(t){var n=Array.from(t).map(function(o){return cw.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 f_e(i)},p_e=function(t){var n,r=(n=t.match(dw))===null||n===void 0?void 0:n.filter(function(i){return i.length>u_e-1});if(!(!r||r.length===0))return RL(r[r.length-1])},m_e=function(t){return t.replace(dw,"")},g_e=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)},v_e=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 PL(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=g_e(t),r=_L(n);return typeof e=="string"&&e?OL+e+r:e}function p1(e){var t=p_e(e),n=v_e(t),r=m_e(e);return{text:r,invisibleMeta:n}}function fw(e){if(!e||e.length<27||!dw.test(e))return!1;var t=e.substring(e.length-9),n=RL(t);return n==="}"}function y_e(e){return e.startsWith(OL)}function DL(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 m1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?DL(Object(n),!0).forEach(function(r){Yt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):DL(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var ML="subliminal",b_e={name:ML,type:"postProcessor",options:{},setOptions:function(t){this.options=m1(m1({},t),this.options)},process:function(t,n,r,i){var o=this.options=m1(m1({},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,h,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=(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?c="key":c="translation"}return PL(t,{key:s,ns:a,lng:l,source:c})},overloadTranslationOptionHandler:function(){return{postProcess:ML,postProcessPassResolved:!0}}},IL=["placeholder","title","alt"],ji={highlight:"#26a69a",warning:"#e67a00"},NL=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"},is=function(){if(!(typeof document>"u")){var e=document.createElement("style");return document.head.appendChild(e),e.sheet}}();function LL(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 x_e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?LL(Object(n),!0).forEach(function(r){Yt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):LL(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var FL={committed:"commitKeys"};function w_e(e){return FL[e]?FL[e]:e}var hw=[];function Jn(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=NL()),!_e.source||!_e.source.postMessage){hw.push({action:e,payload:t});return}_e.legacy?_e.source.postMessage(x_e({message:e},t),_e.origin):_e.source.postMessage({sender:"i18next-editor",senderAPIVersion:"v1",action:e,message:e,payload:t},_e.origin);var r=hw;hw=[],r.forEach(function(i){var o=i.action,s=i.payload;Jn(o,s)})}var Cl={},pw=5,_e={init:function(t,n){_e.i18n=t,_e.clickHandler=n},requestInitialize:function(t){Jn("requestInitialize",t),!_e.initInterval&&(_e.initInterval=setInterval(function(){pw=pw-1,_e.requestInitialize(t),pw<0&&_e.initInterval&&(clearInterval(_e.initInterval),delete _e.initInterval)},1e3))},selectKey:function(t){Jn("selectKey",t)},confirmResourceBundle:function(t){Jn("confirmResourceBundle",t)},sendCurrentParsedContent:function(){Jn("sendCurrentParsedContent",{content:Object.values(po.data).map(function(t){return{id:t.id,keys:t.keys}})})},sendCurrentTargetLanguage:function(t){Jn("sendCurrentTargetLanguage",{targetLng:t||_e.i18n.getLng()})},addHandler:function(t,n){Cl[t]||(Cl[t]=[]),Cl[t].push(n)},sendLocizeIsEnabled:function(){Jn("locizeIsEnabled",{enabled:!0})},turnOn:function(){if(_e.scriptTurnedOff)return Jn("forcedOff");_e.clickInterceptionEnabled||window.document.body.addEventListener("click",_e.clickHandler,!0),_e.clickInterceptionEnabled=!0,Jn("turnedOn")},turnOff:function(){if(_e.scriptTurnedOff)return Jn("forcedOff");_e.clickInterceptionEnabled&&window.document.body.removeEventListener("click",_e.clickHandler,!0),_e.clickInterceptionEnabled=!1,Jn("turnedOff")},onAddedKey:function(t,n,r,i){var o={lng:t,ns:n,key:r,value:i};Jn("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=w_e(i);Cl[s]&&Cl[s].forEach(function(a){a(o,e)})}else n==="i18next-editor-frame"&&Cl[r]&&Cl[r].forEach(function(a){a(o)})});function g1(e,t){var n=po.get(e.eleUniqueID);if(!(!n||!n.keys[e.textType])){var r=PL(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 S_e(e){var t=e.meta,n=e.value;t&&n!==void 0&&g1(t,n)}_e.addHandler("editKey",S_e);function C_e(e){var t=e.meta,n=e.value,r=e.lng;if(t&&n!==void 0){g1(t,n);var i=r||_e.i18n.getLng();_e.i18n.setResource(i,t.ns,t.key,n),_e.i18n.triggerRerender()}}_e.addHandler("commitKey",C_e);function T_e(e){if(Array.isArray(e))return tw(e)}function $_e(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1264
|
+
`;function dAe(){const e=xe(t=>xV(t,"useCustomTimumCss"));return T.jsxs(T.Fragment,{children:[e&&T.jsx(qy,{styles:cAe}),T.jsx(qy,{styles:uAe})]})}function fAe({children:e}){const[t,n]=P.useState(null);if(P.useEffect(()=>{setTimeout(()=>{n(!0)},500)},[]),t)return e}function hAe(e){const t=xe(Zl),n=xe(yV),r=xe(s=>Ne(s,"calendarFrontend")),i=xe(s=>Ne(s,"calendarFrontendOptions"));let o=m2(n??{});return o=wK(o,{factor:2.5}),T.jsxs(CK,{theme:o,children:[T.jsx(bne,{}),T.jsx(dAe,{}),r==="fullCalendar"&&T.jsx(Fu,{...e,...i.fullCalendar,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:T.jsx(cL,{})}),r==="detailsFullCalendar"&&T.jsx(Fu,{...e,...i.detailsFullCalendar,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:T.jsx(G5,{CalendarView:cL})}),(r==="pureListView"||r==="listView")&&T.jsx(Fu,{...e,...i.pureListView,...i.listView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:T.jsx(Q5,{})}),r==="detailsListView"&&T.jsx(Fu,{...e,...i.detailsListView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:T.jsx(G5,{CalendarView:Q5})}),r==="condensedView"&&T.jsx(Fu,{...e,...i.condensedView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:T.jsx(hL,{})}),r==="detailsCondensedView"&&T.jsx(Fu,{...e,...i.detailsCondensedView,bookables:(t==null?void 0:t.bookables)??void 0,products:(t==null?void 0:t.products)??void 0,children:T.jsx(G5,{CalendarView:hL})}),t&&r!=="fullCalendar"&&r!=="detailsFullCalendar"&&r!=="condensedView"&&r!=="detailsCondensedView"&&r!=="detailsListView"&&r!=="listView"&&r!=="pureListView"&&T.jsx(fAe,{children:T.jsxs(T.Fragment,{children:["You must set calendarFrontend either to ",T.jsx("code",{children:"fullCalendar"}),","," ",T.jsx("code",{children:"detailsFullCalendar"}),",",T.jsx("code",{children:"listView"}),","," ",T.jsx("code",{children:"detailsListView"}),", ",T.jsx("code",{children:"condensedView"})," or"," ",T.jsx("code",{children:"detailsCondensedView"})," in your config."]})})]})}new TextEncoder;const pL=new TextDecoder,pAe=e=>{const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n},mAe=e=>{let t=e;t instanceof Uint8Array&&(t=pL.decode(t)),t=t.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{return pAe(t)}catch{throw new TypeError("The input to be decoded is not correctly encoded.")}};class ur extends Error{constructor(t,n){var r;super(t,n),this.code="ERR_JOSE_GENERIC",this.name=this.constructor.name,(r=Error.captureStackTrace)==null||r.call(Error,this,this.constructor)}}ur.code="ERR_JOSE_GENERIC";class gAe extends ur{constructor(t,n,r="unspecified",i="unspecified"){super(t,{cause:{claim:r,reason:i,payload:n}}),this.code="ERR_JWT_CLAIM_VALIDATION_FAILED",this.claim=r,this.reason=i,this.payload=n}}gAe.code="ERR_JWT_CLAIM_VALIDATION_FAILED";class vAe extends ur{constructor(t,n,r="unspecified",i="unspecified"){super(t,{cause:{claim:r,reason:i,payload:n}}),this.code="ERR_JWT_EXPIRED",this.claim=r,this.reason=i,this.payload=n}}vAe.code="ERR_JWT_EXPIRED";class yAe extends ur{constructor(){super(...arguments),this.code="ERR_JOSE_ALG_NOT_ALLOWED"}}yAe.code="ERR_JOSE_ALG_NOT_ALLOWED";class bAe extends ur{constructor(){super(...arguments),this.code="ERR_JOSE_NOT_SUPPORTED"}}bAe.code="ERR_JOSE_NOT_SUPPORTED";class xAe extends ur{constructor(t="decryption operation failed",n){super(t,n),this.code="ERR_JWE_DECRYPTION_FAILED"}}xAe.code="ERR_JWE_DECRYPTION_FAILED";class wAe extends ur{constructor(){super(...arguments),this.code="ERR_JWE_INVALID"}}wAe.code="ERR_JWE_INVALID";class SAe extends ur{constructor(){super(...arguments),this.code="ERR_JWS_INVALID"}}SAe.code="ERR_JWS_INVALID";class oa extends ur{constructor(){super(...arguments),this.code="ERR_JWT_INVALID"}}oa.code="ERR_JWT_INVALID";class CAe extends ur{constructor(){super(...arguments),this.code="ERR_JWK_INVALID"}}CAe.code="ERR_JWK_INVALID";class TAe extends ur{constructor(){super(...arguments),this.code="ERR_JWKS_INVALID"}}TAe.code="ERR_JWKS_INVALID";class $Ae extends ur{constructor(t="no applicable key found in the JSON Web Key Set",n){super(t,n),this.code="ERR_JWKS_NO_MATCHING_KEY"}}$Ae.code="ERR_JWKS_NO_MATCHING_KEY";class EAe extends ur{constructor(t="multiple matching keys found in the JSON Web Key Set",n){super(t,n),this.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS"}}EAe.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";class kAe extends ur{constructor(t="request timed out",n){super(t,n),this.code="ERR_JWKS_TIMEOUT"}}kAe.code="ERR_JWKS_TIMEOUT";class AAe extends ur{constructor(t="signature verification failed",n){super(t,n),this.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED"}}AAe.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";function _Ae(e){return typeof e=="object"&&e!==null}function OAe(e){if(!_Ae(e)||Object.prototype.toString.call(e)!=="[object Object]")return!1;if(Object.getPrototypeOf(e)===null)return!0;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}const RAe=mAe;function PAe(e){if(typeof e!="string")throw new oa("JWTs must use Compact JWS serialization, JWT must be a string");const{1:t,length:n}=e.split(".");if(n===5)throw new oa("Only JWTs using Compact JWS serialization can be decoded");if(n!==3)throw new oa("Invalid JWT");if(!t)throw new oa("JWTs must contain a payload");let r;try{r=RAe(t)}catch{throw new oa("Failed to base64url decode the payload")}let i;try{i=JSON.parse(pL.decode(r))}catch{throw new oa("Failed to parse the decoded payload as JSON")}if(!OAe(i))throw new oa("Invalid JWT Claims Set");return i}var sw={},DAe=fn;Object.defineProperty(sw,"__esModule",{value:!0});var mL=sw.default=void 0,MAe=DAe(Tn()),IAe=T;mL=sw.default=(0,MAe.default)((0,IAe.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 hh(e){const{children:t,onClose:n,...r}=e;return T.jsxs(R$,{sx:{m:0,p:2},...r,children:[t,n?T.jsx(nf,{"aria-label":"close",onClick:n,sx:{position:"absolute",right:8,top:8,color:i=>i.palette.grey[500]},children:T.jsx(mL,{})}):null]})}hh.propTypes={children:et.node,onClose:et.func.isRequired};const sa=14,wl='"Ek Mukta","Helvetica Neue", Helvetica, Arial, sans-serif',Tc=Math.floor(sa*1.428571429),NAe=lc(Math.floor(sa*2.6)),LAe=lc(Math.floor(sa*2.3)),FAe=lc(Math.floor(sa*1.9)),jAe=lc(Math.floor(sa*1.5)),BAe=lc(Math.floor(sa*1.15)),zAe=lc(Math.floor(sa)),aw=/(\u00a9|\u00ae|[\u2000-\u3300]|\ud83c[\ud000-\udfff]|\ud83d[\ud000-\udfff]|\ud83e[\ud000-\udfff])/g,Sl={appConfig:{host:"https://www.timum.de",resource_channel:"RESOURCE_REFERENCE",calendarFrontend:"detailsListView",calendarFrontendOptions:{condensedView:{forceResourceSelectorDialog:!0}},enableShowAllResourcesOption:!1,allowCloseOnBooking:!0,hideTimumFooter:!1,sendCustomValuesAsMessage:!1,gatherAddressData:!1,height:500,fields:{firstName:{index:0,title:"fields.firstName",validation:Ks().required("validation.field_required")},lastName:{index:1,title:"fields.lastName",validation:Ks().required("validation.field_required")},email:{index:2,title:"fields.email",format:"email",type:"text",validation:Ks().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:Ks().max(1024).test("no-emojis","validation.no_emojis",e=>!aw.test(e)),limit:1024,onChange:e=>e.replace(aw,"")},agbs:{index:5,title:"fields.accept_timum_privacy",type:"checkbox",validation:hg().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=Xi(),i=Si(r.breakpoints.down("sm"));return T.jsxs(Is,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[T.jsx(hh,{onClose:t}),T.jsx(Ns,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:T.jsx(Lu,{maxWidth:"sm",sx:{p:0},children:n})})]})},IdentifiedBookingPage:({open:e,onClose:t,children:n})=>{const r=Xi(),i=Si(r.breakpoints.down("sm"));return T.jsxs(Is,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[T.jsx(hh,{onClose:t}),T.jsx(Ns,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:T.jsx(Lu,{maxWidth:"sm",sx:{p:0},children:n})})]})},ConfirmationPage:e=>{const{open:t,onClose:n,allowCloseOnBooking:r,children:i}=e,o=Xi(),s=Si(o.breakpoints.down("sm"));return T.jsxs(Is,{open:t,onClose:()=>{r&&n()},hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:s,children:[r&&T.jsx(hh,{onClose:n}),T.jsx(Ns,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:T.jsx(Lu,{maxWidth:"sm",sx:{p:0},children:i})})]})},LoginPage:({open:e,onClose:t,children:n})=>T.jsx(Is,{open:e,onClose:t,hideBackdrop:!0,fullWidth:!0,children:T.jsx(Ns,{children:n})}),CancelPage:({open:e,onClose:t,children:n})=>{const r=Xi(),i=Si(r.breakpoints.down("sm"));return T.jsxs(Is,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:[T.jsx(hh,{onClose:t}),T.jsx(Ns,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:T.jsx(Lu,{maxWidth:"sm",sx:{p:0},children:n})})]})},ResourcePage:({mobileOpen:e,mobileOnClose:t,shouldDisplay:n,height:r,children:i})=>{const o=Xi(),s=Si(o.breakpoints.down("sm"));return T.jsxs(T.Fragment,{children:[T.jsx(Is,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:s,children:T.jsx(Ns,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:T.jsx(Lu,{maxWidth:"sm",sx:{p:0},children:i})})}),n&&T.jsxs(he,{xs:"auto",item:!0,container:!0,display:{xs:"none",sm:"flex"},wrap:"nowrap",sx:{mr:2,maxHeight:r,boxSizing:"border-box"},children:[T.jsx(he,{item:!0,xs:"auto",children:i}),T.jsx(he,{item:!0,xs:"1",children:T.jsx(M$,{orientation:"vertical",variant:"middle"})})]})]})},ProductPage:({open:e,onClose:t,children:n})=>{const r=Xi(),i=Si(r.breakpoints.down("sm"));return T.jsx(Is,{open:e,onClose:t,hideBackdrop:!0,maxWidth:"md",fullWidth:!0,fullScreen:i,children:T.jsx(Ns,{sx:{pl:{xs:2,sm:3,md:4},pr:{xs:2,sm:3,md:4}},children:T.jsx(Lu,{maxWidth:"sm",sx:{p:0},children:n})})})},ErrorDialog:({open:e,onClose:t})=>{const{t:n}=ln();return T.jsxs(Is,{open:e,onClose:t,"aria-labelledby":"alert-dialog-title","aria-describedby":"alert-dialog-description",children:[T.jsx(R$,{id:"alert-dialog-title",children:n("reservation_failed.title")}),T.jsx(Ns,{children:T.jsx(Gne,{id:"alert-dialog-description",children:n("reservation_failed.message")})}),T.jsx(Nne,{children:T.jsx(_i,{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:wl,fontSize:sa,h1:{fontFamily:wl,fontWeight:500,lineHeight:1,fontSize:`${NAe}rem`},h2:{fontFamily:wl,fontWeight:500,lineHeight:1,fontSize:`${LAe}rem`},h3:{fontFamily:wl,fontWeight:500,lineHeight:1,fontSize:`${FAe}rem`},h4:{fontFamily:wl,fontWeight:500,lineHeight:1,fontSize:`${jAe}rem`},h5:{fontFamily:wl,fontWeight:500,lineHeight:1,fontSize:`${BAe}rem`},h6:{fontFamily:wl,fontWeight:500,lineHeight:1,fontSize:`${zAe}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:Tc/2},h2:{marginBottom:Tc/2},h3:{marginBottom:Tc/2},h4:{marginBottom:Tc/2},h5:{marginBottom:Tc/2},h6:{marginBottom:Tc/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}}}},HAe="(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]+)?)",UAe=new RegExp(`^https?://([a-zA-Z0-9-]+\\.)*${HAe}$`);function VAe(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}function WAe(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 gL(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++,gL(e,t,n)}function qAe(e){var t=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return t?t.pop():""}function lw(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}function GAe(e){e.callbacks={createBookingStarted:({timeslot:t,data:n})=>{var r;(r=window==null?void 0:window.parent)==null||r.postMessage({origin:"bookingjs",type:"createBookingStarted",timeslot:t,data:n},e.postMessageTarget)},createBookingSuccessful:({timeslot:t,response:n,data:r})=>{var i;(i=window==null?void 0:window.parent)==null||i.postMessage({origin:"bookingjs",type:"createBookingSuccessful",timeslot:t,response:n,data:r},e.postMessageTarget)},createBookingFailed:({timeslot:t,response:n,data:r})=>{var i;(i=window==null?void 0:window.parent)==null||i.postMessage({origin:"bookingjs",type:"createBookingFailed",timeslot:t,response:n,data:r},e.postMessageTarget)},cancelationgStarted:({timeslot:t,response:n})=>{var r;(r=window==null?void 0:window.parent)==null||r.postMessage({origin:"bookingjs",type:"cancelationStarted",timeslot:t,response:n},e.postMessageTarget)},cancelationSuccessful:({timeslot:t,response:n})=>{var r;(r=window==null?void 0:window.parent)==null||r.postMessage({origin:"bookingjs",type:"cancelationSuccessful",timeslot:t,response:n},e.postMessageTarget)},cancelationFailed:({timeslot:t,response:n})=>{var r;(r=window==null?void 0:window.parent)==null||r.postMessage({origin:"bookingjs",type:"cancelationFailed",timeslot:t,response:n},e.postMessageTarget)},fetchingPublicDataSucceeded:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingPublicDataSucceeded",data:t},e.postMessageTarget)},fetchingProductsSucceeded:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingProductsSucceeded",data:t},e.postMessageTarget)},fetchingBookablesSucceeded:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingBookablesSucceeded",data:t},e.postMessageTarget)},fetchingPublicDataFailed:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingPublicDataFailed",error:t},e.postMessageTarget)},fetchingProductsFailed:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingProductsFailed",error:t},e.postMessageTarget)},fetchingBookablesFailed:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"fetchingBookablesFailed",error:t},e.postMessageTarget)},openedProductSelection:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"openedProductSelection"},e.postMessageTarget)},openedResourceSelection:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"openedResourceSelection"},e.postMessageTarget)},openedBookingPage:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"openedBookingPage",timeslot:t},e.postMessageTarget)},openedCancelPage:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"openedCancelPage",timeslot:t},e.postMessageTarget)},openedConfirmationPage:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"openedConfirmationPage"},e.postMessageTarget)},closedProductSelection:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"closedProductSelection"},e.postMessageTarget)},closedResourceSelection:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"closedResourceSelection"},e.postMessageTarget)},closedBookingPage:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"closedBookingPage",timeslot:t},e.postMessageTarget)},closedCancelPage:t=>{var n;(n=window==null?void 0:window.parent)==null||n.postMessage({origin:"bookingjs",type:"closedCancelPage",timeslot:t},e.postMessageTarget)},closedConfirmationPage:()=>{var t;(t=window==null?void 0:window.parent)==null||t.postMessage({origin:"bookingjs",type:"closedConfirmationPage"},e.postMessageTarget)}}}const vL=(e,t)=>{e&&!t.includes(e)&&t.push(e)},yL=(e,t)=>{e&&(e.forEach?e.forEach(n=>{t[n.resource.uuid]={...n}}):t[e.resource.uuid]={...e})},bL=(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 xL(e,t,n,r,i,o){var b,x,w,S;let s={};const a=t==null?void 0:t.ref,l=t==null?void 0:t.tslRefs,c=t==null?void 0:t.virtualTslRefs,d=t==null?void 0:t.prdRefs,f=t==null?void 0:t.additionalData,m=t==null?void 0:t.enableShowAllResourcesOption,h=t==null?void 0:t.publicData,g=t==null?void 0:t.tsls,v=t==null?void 0:t.channelKey;if((a==null?void 0:a.length)>0&&!(h!=null&&h.length)>0){const C=await r({channelOrResourceId:a[0],params:{channelKey:v,ref:a,...f}});yL(C==null?void 0:C.data,s)}if((h==null?void 0:h.length)>0&&yL(h,s),m&&(!l||l.length===0)&&(!c||c.length===0)&&(s={"all-option":{resource:{uuid:"all-option",name:e("common.All")},provider:(x=(b=Object.values(s))==null?void 0:b[0])==null?void 0:x.provider},...s}),((l==null?void 0:l.length)>0||(c==null?void 0:c.length)>0)&&!(g!=null&&g.length)>0){const C=await i({params:{channelKey:v,tslIds:l,...f},body:c});bL(C==null?void 0:C.data,s)}if((g==null?void 0:g.length)>0&&bL(g,s),(d==null?void 0:d.length)>0){Object.values(s).forEach(k=>{var A;k!=null&&k.bookables&&((A=Object.values(k==null?void 0:k.bookables))==null||A.forEach(_=>{_.forEach(D=>{var M;vL(D==null?void 0:D.product_uuid,d),(M=D.products)==null||M.forEach(L=>{vL(L.uuid,d)})})}))});const C=await o({params:{prdRefs:d,additionalData:f}}),E=Object.entries(s).filter(([,k])=>{var _,D;if(((D=(_=k==null?void 0:k.resource)==null?void 0:_.supportedProducts)==null?void 0:D.length)===0)return!1;const A=C.data.filter(M=>{var F;const L=(F=k==null?void 0:k.resource)==null?void 0:F.supportedProducts;return L&&L.some(B=>B===M.uuid)});return A.length===0?!1:(k.products=A,!0)});s=Object.fromEntries(E)}if(n(hV(s)),Object.values(s).length>1)if(t.cancelableAppointment){let C=!1;for(const E of Object.values(s))((w=E==null?void 0:E.resource)==null?void 0:w.uuid)===((S=t.cancelableAppointment)==null?void 0:S.resId)&&(n(Kl(E)),C=!0);C||n(Kl(Object.values(s)[0]))}else n(Kl(Object.values(s)[0]));else Object.values(s).length===1?n(Kl(Object.values(s)[0])):console.warn("Given reference(s) seems to be invalid.")}function YAe(e){try{return PAe(e)}catch(t){console.error("Error decrypting JWT:",t)}}function uw(e){var C,E,k;const t={...e},n=window.location.search,r=new URLSearchParams(t.queryString||n);let 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;const s=qAe("PLAY_SESSION");let a=r.get("channelKey")??r.get("channelkey");const l=r.get("X-SIGNED-APP-CUSTOMER");let c=r.get("resId"),d=r.getAll("ref"),f=r.getAll("tslRefs"),m=r.getAll("virtualTslRefs"),h=r.getAll("prdRefs"),g=r.get("culture"),v=r.get("postMessageTarget"),b=r.get("enableShowAllResourcesOption"),x=r.get("conf");x&&(x=YAe(x),d=x.ref||[],a=x.channelKey,i=x.pData,f=x.tslRefs||[],h=x.prdRefs||[],g=x.urlCulture,m=x.virtualTslRefs||[],v=x.postMessageTarget,b=x.enableShowAllResourcesOption);const w=t.queryHash||window.location.hash,[,,S]=(w==null?void 0:w.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.virtualTslRefs=m),h&&h.length>0&&(t.prdRefs=h),g&&(t.culture=g),v&&(t.postMessageTarget=v),b&&(t.enableShowAllResourcesOption=b),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)&&(!t.virtualTslRefs||t.virtualTslRefs.length===0)){console.log("timum hides itself. No reference in either url or options detected.");return}for(let A=0;A<((C=t==null?void 0:t.ref)==null?void 0:C.length);A++)t.ref[A]=lw(t.ref[A],t.platform,t.prvUuid);for(let A=0;A<((E=t==null?void 0:t.tslRefs)==null?void 0:E.length);A++)t.tslRefs[A]=lw(t.tslRefs[A],t.platform,t.prvUuid);for(let A=0;A<((k=t==null?void 0:t.prdRefs)==null?void 0:k.length);A++)t.prdRefs[A]=lw(t.prdRefs[A],t.platform,t.prvUuid);return s&&(t.cookie=s),l&&(t.cancelableAppointment={authToken:l,appointmentUuid:S,customerUuid:o.id,resourceUuid:c}),t.host&&KH(t.host),t.height&&(t.height=VAe(t.height)),t}const wL=(e,t,n,r,i,o,s)=>{const a=Object.keys(t).length>0,l=Object.keys(e).length>0;let c=Zt.merge({},Sl.appConfig,e),d=Zt.merge({},Sl.muiTheme,t),f=Zt.merge({},Sl.fcConfig,n);c.fields=gL(c.fields),WAe(e.fields,c.fields),l&&!o&&(c.localization=Sl.appConfig.localization),l&&!i&&(c.fields=Sl.appConfig.fields),l&&!r&&(c.hideTimumFooter=Sl.appConfig.hideTimumFooter),a&&!r&&(d=Sl.muiTheme),c.postMessageTarget&&GAe(c),s(dV(f)),s(cV(c)),s(fV(d))},SL=({muiTheme:e={},fcConfig:t={},appConfig:n={},children:r})=>{const{t:i}=ln(),o=vd(),s=xe($V),a=xe(EV),l=xe(kV),c=P.useMemo(()=>{var w;return(w=n==null?void 0:n.callbacks)==null?void 0:w.fetchingPublicDataFailed},[n]),[d,{isFetching:f,error:m}]=nU(),[h,{isFetching:g}]=JH(),[v,{isFetching:b}]=eU(),x=P.useCallback((w=n,S=e,C=t)=>{const E=uw(w);E&&(wL(E,S,C,s,a,l,o),xL(i,E,o,d,h,v))},[n,e,t,s,a,l,o,i,d,h,v]);return P.useEffect(()=>{const w=S=>{var C,E,k,A,_;UAe.test(S.origin)&&((C=S.data)==null?void 0:C.type)==="rerender"?x({...(E=S.data)==null?void 0:E.appConfig},{...(k=S.data)==null?void 0:k.muiTheme},{...(A=S.data)==null?void 0:A.fcConfig}):((_=S.data)==null?void 0:_.type)==="rerender"&&console.error("ConfigHandler received a message from an unexpected origin:",S.origin)};return window.addEventListener("message",w),()=>{window.removeEventListener("message",w)}},[x,n]),P.useEffect(()=>{const w=uw(n);w&&wL(w,e,t,s,a,l,o)},[n,e,t,o,s,a,l,d,h,v]),P.useEffect(()=>{const w=uw(n);w&&xL(i,w,o,d,h,v)},[n,o,d,h,v,i]),P.useEffect(()=>{o(vV(g||f||b))},[o,f,g,b]),m&&c&&c(m),r};SL.displayName="ConfigHandler";const KAe=zU({reducer:{[Lp.reducerPath]:Lp.reducer,appState:AV},middleware:e=>e().concat(Lp.middleware),devTools:{trace:!0}});var CL=[],ZAe=CL.forEach,QAe=CL.slice;function JAe(e){return ZAe.call(QAe.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e}var TL=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,XAe=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(!TL.test(i.domain))throw new TypeError("option domain is invalid");s+="; Domain=".concat(i.domain)}if(i.path){if(!TL.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},$L={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=XAe(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)}},e_e={name:"cookie",lookup:function(t){var n;if(t.lookupCookie&&typeof document<"u"){var r=$L.read(t.lookupCookie);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupCookie&&typeof document<"u"&&$L.create(n.lookupCookie,t,n.cookieMinutes,n.cookieDomain,n.cookieOptions)}},t_e={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}},ph=null,EL=function(){if(ph!==null)return ph;try{ph=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch{ph=!1}return ph},n_e={name:"localStorage",lookup:function(t){var n;if(t.lookupLocalStorage&&EL()){var r=window.localStorage.getItem(t.lookupLocalStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupLocalStorage&&EL()&&window.localStorage.setItem(n.lookupLocalStorage,t)}},mh=null,kL=function(){if(mh!==null)return mh;try{mh=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch{mh=!1}return mh},r_e={name:"sessionStorage",lookup:function(t){var n;if(t.lookupSessionStorage&&kL()){var r=window.sessionStorage.getItem(t.lookupSessionStorage);r&&(n=r)}return n},cacheUserLanguage:function(t,n){n.lookupSessionStorage&&kL()&&window.sessionStorage.setItem(n.lookupSessionStorage,t)}},i_e={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}},o_e={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}},s_e={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}},a_e={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 l_e(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}}var AL=function(){function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Ni(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return Li(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=JAe(r,this.options||{},l_e()),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=i,this.addDetector(e_e),this.addDetector(t_e),this.addDetector(n_e),this.addDetector(r_e),this.addDetector(i_e),this.addDetector(o_e),this.addDetector(s_e),this.addDetector(a_e)}},{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}();AL.type="languageDetector";var cw=["",""],dw=RegExp("([".concat(cw.join(""),"]{9})+"),"gu"),u_e=9,c_e="subliminal:start",d_e=function(t){return Array.from(new TextEncoder().encode(t))},f_e=function(t){return new TextDecoder().decode(new Uint8Array(t))},h_e=function(t){var n=8-t.length;return"0".repeat(n)+t},_L=function(t){var n=d_e(t).map(Number),r=n.map(function(o){return h_e(o.toString(2))+"0"}).join(""),i=Array.from(r).map(function(o){return cw[Number(o)]}).join("");return i},OL=_L(c_e),RL=function(t){var n=Array.from(t).map(function(o){return cw.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 f_e(i)},p_e=function(t){var n,r=(n=t.match(dw))===null||n===void 0?void 0:n.filter(function(i){return i.length>u_e-1});if(!(!r||r.length===0))return RL(r[r.length-1])},m_e=function(t){return t.replace(dw,"")},g_e=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)},v_e=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 PL(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=g_e(t),r=_L(n);return typeof e=="string"&&e?OL+e+r:e}function p1(e){var t=p_e(e),n=v_e(t),r=m_e(e);return{text:r,invisibleMeta:n}}function fw(e){if(!e||e.length<27||!dw.test(e))return!1;var t=e.substring(e.length-9),n=RL(t);return n==="}"}function y_e(e){return e.startsWith(OL)}function DL(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 m1(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?DL(Object(n),!0).forEach(function(r){Yt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):DL(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var ML="subliminal",b_e={name:ML,type:"postProcessor",options:{},setOptions:function(t){this.options=m1(m1({},t),this.options)},process:function(t,n,r,i){var o=this.options=m1(m1({},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,h,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=(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?c="key":c="translation"}return PL(t,{key:s,ns:a,lng:l,source:c})},overloadTranslationOptionHandler:function(){return{postProcess:ML,postProcessPassResolved:!0}}},IL=["placeholder","title","alt"],ji={highlight:"#26a69a",warning:"#e67a00"},NL=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"},is=function(){if(!(typeof document>"u")){var e=document.createElement("style");return document.head.appendChild(e),e.sheet}}();function LL(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 x_e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?LL(Object(n),!0).forEach(function(r){Yt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):LL(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var FL={committed:"commitKeys"};function w_e(e){return FL[e]?FL[e]:e}var hw=[];function Jn(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=NL()),!_e.source||!_e.source.postMessage){hw.push({action:e,payload:t});return}_e.legacy?_e.source.postMessage(x_e({message:e},t),_e.origin):_e.source.postMessage({sender:"i18next-editor",senderAPIVersion:"v1",action:e,message:e,payload:t},_e.origin);var r=hw;hw=[],r.forEach(function(i){var o=i.action,s=i.payload;Jn(o,s)})}var Cl={},pw=5,_e={init:function(t,n){_e.i18n=t,_e.clickHandler=n},requestInitialize:function(t){Jn("requestInitialize",t),!_e.initInterval&&(_e.initInterval=setInterval(function(){pw=pw-1,_e.requestInitialize(t),pw<0&&_e.initInterval&&(clearInterval(_e.initInterval),delete _e.initInterval)},1e3))},selectKey:function(t){Jn("selectKey",t)},confirmResourceBundle:function(t){Jn("confirmResourceBundle",t)},sendCurrentParsedContent:function(){Jn("sendCurrentParsedContent",{content:Object.values(po.data).map(function(t){return{id:t.id,keys:t.keys}})})},sendCurrentTargetLanguage:function(t){Jn("sendCurrentTargetLanguage",{targetLng:t||_e.i18n.getLng()})},addHandler:function(t,n){Cl[t]||(Cl[t]=[]),Cl[t].push(n)},sendLocizeIsEnabled:function(){Jn("locizeIsEnabled",{enabled:!0})},turnOn:function(){if(_e.scriptTurnedOff)return Jn("forcedOff");_e.clickInterceptionEnabled||window.document.body.addEventListener("click",_e.clickHandler,!0),_e.clickInterceptionEnabled=!0,Jn("turnedOn")},turnOff:function(){if(_e.scriptTurnedOff)return Jn("forcedOff");_e.clickInterceptionEnabled&&window.document.body.removeEventListener("click",_e.clickHandler,!0),_e.clickInterceptionEnabled=!1,Jn("turnedOff")},onAddedKey:function(t,n,r,i){var o={lng:t,ns:n,key:r,value:i};Jn("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=w_e(i);Cl[s]&&Cl[s].forEach(function(a){a(o,e)})}else n==="i18next-editor-frame"&&Cl[r]&&Cl[r].forEach(function(a){a(o)})});function g1(e,t){var n=po.get(e.eleUniqueID);if(!(!n||!n.keys[e.textType])){var r=PL(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 S_e(e){var t=e.meta,n=e.value;t&&n!==void 0&&g1(t,n)}_e.addHandler("editKey",S_e);function C_e(e){var t=e.meta,n=e.value,r=e.lng;if(t&&n!==void 0){g1(t,n);var i=r||_e.i18n.getLng();_e.i18n.setResource(i,t.ns,t.key,n),_e.i18n.triggerRerender()}}_e.addHandler("commitKey",C_e);function T_e(e){if(Array.isArray(e))return tw(e)}function $_e(){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 E_e(e){return T_e(e)||UN(e)||VN(e)||$_e()}function k_e(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&&g1(l,s.value),a&&Object.values(a).forEach(function(c){g1(c,s.value)}),_e.i18n.setResource(r,i,o,s.value)}),Object.values(po.data).forEach(function(n){if(n.originalChildNodes){var r;(r=n.node).replaceChildren.apply(r,E_e(n.originalChildNodes))}}),_e.i18n.triggerRerender(),_e.locizeSavedHandler&&_e.locizeSavedHandler(e),window.locizeSavedHandler&&window.locizeSavedHandler(e)}_e.addHandler("commitKeys",k_e);function A_e(e){_e.initialized=!0,clearInterval(_e.initInterval),delete _e.initInterval,_e.sendCurrentParsedContent(),_e.sendCurrentTargetLanguage()}_e.addHandler("confirmInitialized",A_e);function jL(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 BL(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?jL(Object(n),!0).forEach(function(r){Yt(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jL(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var aa={};function __e(){Object.values(aa).forEach(function(e){document.body.contains(e.node)||(vh(e.id,e.node),delete aa[e.id])})}function O_e(e,t,n){!e||!t||!n||(aa[e]||(aa[e]={id:e,node:n}),aa[e].keys=BL(BL({},aa[e].keys),{},Yt({},"".concat(t),"uninstrumented")))}function R_e(e){return aa[e]}var mw={save:O_e,clean:__e,get:R_e,data:aa};function zL(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 gw(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),h=Math.max(i,a),g=Math.min(i,l),v=m>=f,b=g>=h,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,C=Math.pow(Math.pow(w,2)+Math.pow(S,2),1/2);return Math.floor(C)}function HL(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 P_e(e){return e!=null&&e===e.window}function D_e(e){return P_e(e)?e:e.nodeType===9&&e.defaultView}function UL(e){var t={top:0,left:0,right:0,bottom:0},n=e&&e.ownerDocument,r=n&&n.documentElement;if(!r)return t;Kr(e.getBoundingClientRect)!=="undefined"&&(t=e.getBoundingClientRect());var i=D_e(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 M_e(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=UL(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=UL(f);if(m.left>r)break;f&&f.nodeType!==8&&(t=f)}}return t}function I_e(e){var t=e.textContent||e.text&&e.text.innerText||e.placeholder;if(typeof t=="string")return t.replace(/\n +/g,"").trim()}function os(e,t){return e&&e.getAttribute&&e.getAttribute(t)}function VL(e){var t=os(e,"data-i18n");if(t)return t;if(e.nodeType===window.Node.TEXT_NODE&&e.parentElement)return VL(e.parentElement)}function N_e(e){var t,n=function r(i){var o=os(i,"i18next-options");if(o||(o=os(i,"data-i18next-options")),o||(o=os(i,"i18n-options")),o||(o=os(i,"data-i18n-options")),o){var s={};try{s=JSON.parse(o)}catch{}s.ns&&(t=s.ns)}t||(t=os(i,"i18next-ns")),t||(t=os(i,"data-i18next-ns")),t||(t=os(i,"i18n-ns")),t||(t=os(i,"data-i18n-ns")),!t&&i.parentElement&&r(i.parentElement)};return n(e),t}function L_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 F_e=HL(function(e,t){Object.values(po.data).forEach(function(n){if(zL(n.node)){var r=gw(e,n.node);if(r<5)uOe(n,n.node,n.keys);else if(r>5){var i=n.ribbonBox?gw(e,n.ribbonBox):1e3;i>10&&vh(n,n.node,n.keys)}}}),Object.values(mw.data).forEach(function(n){if(zL(n.node)){var r=gw(e,n.node);r<10?cOe(n,n.node,n.keys):r>10&&vh(n,n.node,n.keys)}})},50),vw;function v1(e){vw=function(n){F_e(n,e)},document.addEventListener("mousemove",vw)}function yw(){document.removeEventListener("mousemove",vw)}var j_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>',B_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">
|