PageSourceSearch

https://dein.ai-fitness.de/6b31cf85237e8f4b3c66.chunk.js

js ai-fitness.de collected 2026-10-03 21:40:54 UTC 31,898 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmysports_web=self.webpackChunkmysports_web||[]).push([[2054],{21046:function(e,t,i){i.d(t,{b:function(){return b}});var n=i(85608),r=i(9023),o=i(83794),a=i(77890),l=i(27132),c=i(48444),s=i(10252),u=i(35286),d=i(40055),f=i(51915),b=function(){function e(){Object.defineProperty(this,"_selectedSlots",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"_selectedLocationId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_selectedLocationName",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_lastSelectedDate",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_viewMode",{enumerable:!0,configurable:!0,writable:!0,value:"resource"}),Object.defineProperty(this,"_selectedHours",{enumerable:!0,configurable:!0,writable:!0,value:[]})}return Object.defineProperty(e.prototype,"cart",{get:function(){return(0,u.g)(l.Z3)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"slotDataStore",{get:function(){return(0,u.g)(f.r)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastSelectedDate",{get:function(){return this._lastSelectedDate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"setLastSelectedDate",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._lastSelectedDate=e,this.persist()}}),Object.defineProperty(e.prototype,"viewMode",{get:function(){return this._viewMode},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"setViewMode",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._viewMode=e,this.persist()}}),Object.defineProperty(e.prototype,"selectedHours",{get:function(){return this._selectedHours},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"setSelectedHours",{enumerable:!1,configurable:!0,writable:!0,value:function(e){this._selectedHours=e,this.persist()}}),Object.defineProperty(e.prototype,"selectedSlots",{get:function(){return this.sortedSelectedSlots},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sortedSelectedSlots",{get:function(){return(0,n.__spreadArray)([],(0,n.__read)(this._selectedSlots),!1).sort((function(e,t){return e.startDateTime.getTime()-t.startDateTime.getTime()}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectedLocationId",{get:function(){return this._selectedLocationId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectedLocationName",{get:function(){return this._selectedLocationName},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"totalDuration",{get:function(){return this._selectedSlots.reduce((function(e,t){var i=t.endDateTime.getTime()-t.startDateTime.getTime();return e+Math.round(i/6e4)}),0)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"getPreviewRangeSlots",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e;if(0!==this._selectedHours.length){var t=this.slotDataStore,i=t.availableHours,n=t.availableLocations,r=t.slotsByLocationAndHour,o=2===this._selectedHours.length?(0,d.KD)(i,this._selectedHours[0],this._selectedHours[1]):this._selectedHours,a=null===(e=n[0])||void 0===e?void 0:e.id;if(void 0!==a){var l=r.get(a);if(l)return{rangeHours:o,refSlots:l}}}}}),Object.defineProperty(e.prototype,"previewTimeRange",{get:function(){if(this.hasValidSelection){var e=this.sortedSelectedSlots[0],t=this.sortedSelectedSlots[this.sortedSelectedSlots.length-1];return"".concat(e.startDateTime.format("HH:mm")," - ").concat(t.endDateTime.format("HH:mm"))}if("time"===this._viewMode){var i=this.getPreviewRangeSlots();if(!i)return;var n=i.rangeHours,r=i.refSlots,o=r.get(n[0]),a=r.get(n[n.length-1]);if(!(null==o?void 0:o.startDateTime)||!(null==a?void 0:a.endDateTime))return;return"".concat(o.startDateTime.format("HH:mm")," - ").concat(a.endDateTime.format("HH:mm"))}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previewDuration",{get:function(){if(this.hasValidSelection)return this.totalDuration;if("time"===this._viewMode){var e=this.getPreviewRangeSlots();if(!e)return 0;var t=e.rangeHours,i=e.refSlots;return t.reduce((function(e,t){var n=i.get(t);return(null==n?void 0:n.startDateTime)&&(null==n?void 0:n.endDateTime)?e+Math.round((n.endDateTime.getTime()-n.startDateTime.getTime())/6e4):e}),0)}return this.totalDuration}
1,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasValidSelection",{get:function(){return this._selectedSlots.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"firstSelectedSlot",{get:function(){return this.hasValidSelection?this.sortedSelectedSlots[0]:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastSelectedSlot",{get:function(){return this.hasValidSelection?this.sortedSelectedSlots.at(-1):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isRangeComplete",{get:function(){return this._selectedSlots.length>1},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isSlotSelected",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){var i;if(this._selectedLocationId!==t)return!1;var n=null===(i=e.startDateTime)||void 0===i?void 0:i.getTime();return this._selectedSlots.some((function(e){var t;return(null===(t=e.startDateTime)||void 0===t?void 0:t.getTime())===n}))}}),Object.defineProperty(e.prototype,"canSelectSlot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i){return!(!e.startDateTime||!e.endDateTime||0!==this._selectedSlots.length&&this._selectedLocationId===t&&!this.isRangeComplete&&i&&null===this.buildRange(this.sortedSelectedSlots[0],e,t,i))}}),Object.defineProperty(e.prototype,"toggleSlot",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i,r){if(e.startDateTime&&e.endDateTime){if(this.isRangeComplete||this._selectedLocationId!==t)return this._selectedSlots=[e],this._selectedLocationId=t,this._selectedLocationName=i,void this.persist();if(0===this._selectedSlots.length)return this._selectedSlots=[e],this._selectedLocationId=t,this._selectedLocationName=i,void this.persist();var o=(0,n.__read)(this.sortedSelectedSlots,1)[0];if(o.startDateTime.getTime()!==e.startDateTime.getTime()){if(r){var a=this.buildRange(o,e,t,r);null!==a&&(this._selectedSlots=a)}else this._selectedSlots=[o,e].sort((function(e,t){return e.startDateTime.getTime()-t.startDateTime.getTime()}));this.persist()}else this.clearSelection()}}}),Object.defineProperty(e.prototype,"buildRange",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t,i,n){var r=n.get(i);if(!r)return null;var o=Math.min(e.startDateTime.getTime(),t.startDateTime.getTime()),a=Math.max(e.startDateTime.getTime(),t.startDateTime.getTime()),l=Array.from(r.values()).filter((function(e){return!!e.startDateTime&&!!e.endDateTime})).sort((function(e,t){return e.startDateTime.getTime()-t.startDateTime.getTime()})).filter((function(e){return e.startDateTime.getTime()>=o&&e.startDateTime.getTime()<=a}));if(l.length<2)return 1===l.length?l:null;for(var c=0;c<l.length-1;c++){var s=l[c],u=l[c+1];if(s.endDateTime.getTime()!==u.startDateTime.getTime())return null}return l}}),Object.defineProperty(e.prototype,"setActiveLocation",{enumerable:!1,configurable:!0,writable:!0,value:function(e,t){this._selectedSlots=[],this._selectedLocationId=e,this._selectedLocationName=t,this.persist()}}),Object.defineProperty(e.prototype,"clearSelection",{enumerable:!1,configurable:!0,writable:!0,value:function(){this._selectedSlots=[],this._selectedLocationId=void 0,this._selectedLocationName=void 0,this._selectedHours=[],this.cart.clearFacilitySelection()}}),Object.defineProperty(e.prototype,"clearDateAndSlotSelection",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.clearSelection(),this._lastSelectedDate=void 0}}),Object.defineProperty(e.prototype,"persist",{enumerable:!1,configurable:!0,writable:!0,value:function(){0!==this._selectedSlots.length&&this._selectedLocationId&&this._selectedLocationName&&this._lastSelectedDate?this.cart.facilitySelection={slots:this._selectedSlots,locationId:this._selectedLocationId,locationName:this._selectedLocationName,date:this._lastSelectedDate,viewMode:this._viewMode,selectedHours:this._selectedHours}:this.cart.facilitySelection=(0,n.__assign)((0,n.__assign)((0,n.__assign)({viewMode:this._viewMode,selectedHours:this._selectedHours},void 0!==this._selectedLocationId&&{locationId:this._selectedLocationId}),void 0!==this._selectedLocationName&&{locationName:this._selectedLocationName}),void 0!==this._lastSelectedDate&&{date:this._lastSelectedDate})}}
1),Object.defineProperty(e.prototype,"restore",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e,t=this.cart.facilitySelection;if(t){if(t.date){var i=r.yc.now((0,c.q4)());if((0,r.Fd)(t.date).isBefore(i))return void this.cart.clearFacilitySelection()}if(this._viewMode=t.viewMode,this._selectedHours=null!==(e=t.selectedHours)&&void 0!==e?e:[],void 0!==t.locationId&&(this._selectedLocationId=t.locationId),void 0!==t.locationName&&(this._selectedLocationName=t.locationName),t.date&&(this._lastSelectedDate=t.date),(0,l.gR)(t))if(t.slots){var n=t.slots.filter((function(e){return!!e.startDateTime&&!!e.endDateTime}));0!==n.length?(this._selectedSlots=n,this._selectedLocationId=t.locationId,this._selectedLocationName=t.locationName,this._lastSelectedDate=t.date):this.cart.clearFacilitySelection()}else this.cart.clearFacilitySelection()}}}),Object.defineProperty(e.prototype,"init",{enumerable:!1,configurable:!0,writable:!0,value:function(){(0,o.makeAutoObservable)(this),this.restore()}}),(0,n.__decorate)([a.initialize,(0,n.__metadata)("design:type",Function),(0,n.__metadata)("design:paramtypes",[]),(0,n.__metadata)("design:returntype",void 0)],e.prototype,"init",null),(0,n.__decorate)([(0,a.component)({scope:[s.Wu.bookingFacility(),s.Wu.bookingFacilityDate(),s.Wu.bookingFacilityContact(),s.Wu.bookingFacilityPayment(),s.Wu.bookingFacilityProducts(),s.Wu.bookingFacilitySummaryOption(),s.Wu.bookingFacilitySuccess()].join(",")})],e)}()},40055:function(e,t,i){i.d(t,{KD:function(){return r},a7:function(){return o},mL:function(){return a}});var n=i(85608);function r(e,t,i){var r=e.indexOf(t),o=e.indexOf(i);if(-1===r||-1===o)return[t];var a=(0,n.__read)(r<o?[r,o]:[o,r],2),l=a[0],c=a[1];return e.slice(l,c+1)}function o(e,t,i,n,o){return 1===t.length&&e!==t[0]&&0===a(r(i,t[0],e),n,o).size}function a(e,t,i){return new Set(t.filter((function(t){var n=i.get(t);return!!n&&!!e.every((function(e){return n.has(e)}))&&e.slice(0,-1).every((function(t,i){var r=n.get(t),o=n.get(e[i+1]);return!!(null==r?void 0:r.endDateTime)&&!!(null==o?void 0:o.startDateTime)&&r.endDateTime.getTime()===o.startDateTime.getTime()}))})))}},47394:function(e,t,i){i.d(t,{W:function(){return b}});var n,r=i(85608),o=i(31085),a=i(14041),l=i(23495),c=i(77890),s=i(36889),u=i(74184),d=i(35286),f=(0,l.Ay)(s.PE).withConfig({displayName:"Container",componentId:"-h8dmri"}
1)(n||(n=(0,r.__makeTemplateObject)(["\n    justify-content: center;\n    align-items: center;\n    height: 100%;\n"],["\n    justify-content: center;\n    align-items: center;\n    height: 100%;\n"]))),b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.__extends)(t,e),Object.defineProperty(t.prototype,"i18n",{get:function(){return(0,d.g)(u.F)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"render",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.props.date,t=this.i18n,i=t.formatMonthShort,n=t.formatDay;return(0,o.jsx)(s.eu,{type:"round-corner",size:50,children:(0,o.jsxs)(f,{stack:!0,children:[(0,o.jsx)(s.QR,{extent:"XS",color:"grapefruit",children:i(e).toUpperCase()}),(0,o.jsx)(s.QR,{color:"black",weight:"bold",children:n(e)})]})})}}),(0,r.__decorate)([c.external],t)}(a.Component)},51915:function(e,t,i){i.d(t,{r:function(){return p}});var n=i(85608),r=i(9023),o=i(83794),a=i(77890),l=i(73890),c=i(26802),s=i(48444),u=i(10252),d=i(35286),f=i(10253),b=i(21046),g=i(57109),p=function(){function e(){var e=this;Object.defineProperty(this,"slots",{enumerable:!0,configurable:!0,writable:!0,value:(0,l.wrapRequest)((function(t){return(0,f.iY)(e.config.organizationUnitId),e.api.clientMlNox.FacilityBookingPublicController.getSlotsForFacilityBooking(t.benefitId,{startDate:(0,r.Fd)(t.date),endDate:(0,r.Fd)(t.date),organizationUnitId:e.config.organizationUnitId})}))})}return Object.defineProperty(e.prototype,"api",{get:function(){return(0,d.g)(c.j)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"config",{get:function(){return(0,d.g)(s.TS)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"bookingStore",{get:function(){return(0,d.g)(g.g)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectionStore",{get:function(){return(0,d.g)(b.b)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasAvailableSlots",{get:function(){var e;return(null!==(e=this.slots.$)&&void 0!==e?e:[]).some((function(e){var t,i;return(null!==(i=null===(t=e.slots)||void 0===t?void 0:t.length)&&void 0!==i?i:0)>0}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"availableLocations",{get:function(){var e,t=(null!==(e=this.slots.$)&&void 0!==e?e:[]).map((function(e){return e.location})).filter((function(e){return void 0!==(null==e?void 0:e.id)}));return(0,n.__spreadArray)([],(0,n.__read)(new Map(t.map((function(e){return[e.id,e]}))).values()),!1)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"slotHour",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.format("HH:mm")}}),Object.defineProperty(e.prototype,"slotDate",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return e.format("YYYY-MM-DD")}}),Object.defineProperty(e.prototype,"availableHours",{get:function(){var e,t=this,i=this.selectionStore.lastSelectedDate;return i?(0,n.__spreadArray)([],(0,n.__read)(new Set((null!==(e=this.slots.$)&&void 0!==e?e:[]).flatMap((function(e){var t;return null!==(t=e.slots)&&void 0!==t?t:[]})).filter((function(e){return e.startDateTime&&t.slotDate(e.startDateTime)===i})).map((function(e){return t.slotHour(e.startDateTime)})))),!1).sort():[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"slotsByLocationAndHour",{get:function(){var e,t=this,i=this.selectionStore.lastSelectedDate;return(null!==(e=this.slots.$)&&void 0!==e?e:[]).flatMap((function(e){var n,r,o=null===(n=e.location)||void 0===n?void 0:n.id;return void 0===o?[]:(null!==(r=e.slots)&&void 0!==r?r:[]).filter((function(e){return e.startDateTime&&(!i||t.slotDate(e.startDateTime)===i)})).map((function(e){return{locationId:o,hour:t.slotHour(e.startDateTime),slot:e}}))})).reduce((function(e,t){var i=t.locationId,n=t.hour,r=t.slot;return e.has(i)||e.set(i,new Map),e.get(i).set(n,r),e}),new Map)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"setSelectedDateAndLoadSlots",{enumerable:!1,configurable:!0,writable:!0,value:function(e){return(0,n.__awaiter)(this,void 0,Promise,(function(){var t,i;return(0,n.__generator)(this,(function(n){switch(n.label){case 0:return(t=this.bookingStore.benefitId)?(i=e!==this.selectionStore.lastSelectedDate,this.selectionStore.setLastSelectedDate(e),i&&this.selectionStore.clearSelection(),[4,this.slots.request({benefitId:t,date:e})]):[2];case 1:return n.sent(),[2]}}))}))}}
1),Object.defineProperty(e.prototype,"init",{enumerable:!1,configurable:!0,writable:!0,value:function(){(0,o.makeAutoObservable)(this)}}),(0,n.__decorate)([a.initialize,(0,n.__metadata)("design:type",Function),(0,n.__metadata)("design:paramtypes",[]),(0,n.__metadata)("design:returntype",void 0)],e.prototype,"init",null),(0,n.__decorate)([(0,a.component)({scope:[u.Wu.bookingFacility(),u.Wu.bookingFacilityDate(),u.Wu.bookingFacilityContact(),u.Wu.bookingFacilityPayment(),u.Wu.bookingFacilityProducts(),u.Wu.bookingFacilitySummaryOption()].join(",")})],e)}()},57109:function(e,t,i){i.d(t,{g:function(){return v}});var n=i(85608),r=i(83794),o=i(58128),a=i(77890),l=i(73890),c=i(26802),s=i(99643),u=i(48444),d=i(74184),f=i(41970),b=i(10252),g=i(35286),p=i(10253),m=i(3752),h=i(51590),y=i(21046),v=function(){function e(){var e=this;Object.defineProperty(this,"_lastSelectedBenefitId",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"benefits",{enumerable:!0,configurable:!0,writable:!0,value:(0,l.wrapRequest)((function(t){return(0,p.iY)(e.config.organizationUnitId),e.api.clientMlNox.FacilityBookingPublicController.getBenefitsForCategory(t,{facilityId:e.config.organizationUnitId})}))}),Object.defineProperty(this,"masterDataValidation",{enumerable:!0,configurable:!0,writable:!0,value:(0,l.wrapRequest)((function(){return e.api.clientNox.MasterDataValidationController.validateForBookAppointment()}))})}return Object.defineProperty(e.prototype,"router",{get:function(){return(0,g.g)(b.Lz)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"i18n",{get:function(){return(0,g.g)(d.F)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"appStore",{get:function(){return(0,g.g)(s.t)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"api",{get:function(){return(0,g.g)(c.j)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"config",{get:function(){return(0,g.g)(u.TS)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"facilityCategoriesStore",{get:function(){return(0,g.g)(h.p)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectionStore",{get:function(){return(0,g.g)(y.b)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"benefitCategoryId",{get:function(){return parseInt(this.router.params.benefitCategoryId,10)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"benefitId",{get:function(){var e=this.router.params.benefitId;return e?parseInt(e,10):void 0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"date",{get:function(){var e;return null!==(e=this.router.params.date)&&void 0!==e?e:this.selectionStore.lastSelectedDate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"step",{get:function(){switch(this.router.currentLink){case"bookingFacility":default:return"service";case"bookingFacilityDate":return"timeslots";case"bookingFacilityProducts":case"bookingFacilityContact":return"contact";case"bookingFacilitySummaryOption":case"bookingFacilityPayment":case"bookingFacilitySuccess":return"payment"}},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"lastSelectedBenefitId",{get:function(){var e;return null!==(e=this.benefitId)&&void 0!==e?e:this._lastSelectedBenefitId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"displayBreadcrumb",{get:function(){return!this.appStore.mobile},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"breadcrumbSteps",{get:function(){var e=this,t=this.i18n.formatMessage,i={text:t({id:"noxweb.facility.breadcrumb.facilities",defaultMessage:"Facilities"}),active:!1,callback:function(){return(0,o.navigate)(b.yJ.facilities())}},n={text:t({id:"noxweb.facility.breadcrumb.services",defaultMessage:"Services"}),active:"service"===this.step,callback:function(){return(0,o.navigate)(b.yJ.bookingFacility(e.benefitCategoryId))}},r={text:t({id:"noxweb.facility.breadcrumb.select.slot",defaultMessage:"Select slot"}),active:"timeslots"===this.step,callback:this.lastSelectedBenefitId?function(){return(0,o.navigate)(b.yJ.bookingFacilityDate(e.benefitCategoryId,e.lastSelectedBenefitId))}:void 0};switch(this.step){case"service":return[i,n];case"timeslots":return[i,n,r];default:return[]}}
1,enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"benefitName",{get:function(){var e;return null===(e=this.selectedBenefit)||void 0===e?void 0:e.name},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectedBenefit",{get:function(){var e,t,i=this;return(null!==(t=null===(e=this.benefits.$)||void 0===e?void 0:e.value)&&void 0!==t?t:[]).find((function(e){return e.id===i.lastSelectedBenefitId}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"slotsDisabled",{get:function(){var e;return(0,m.eH)(this.api.connectedTenant,null===(e=this.selectedBenefit)||void 0===e?void 0:e.bookingInfo)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"selectedCategory",{get:function(){var e,t,i=this;return(null!==(t=null===(e=this.facilityCategoriesStore.categories.$)||void 0===e?void 0:e.benefitCategories)&&void 0!==t?t:[]).find((function(e){return e.id===i.benefitCategoryId}))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"summaryImageColor",{get:function(){var e,t;return null!==(t=null===(e=this.selectedCategory)||void 0===e?void 0:e.colorHex)&&void 0!==t?t:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"summaryImageUrl",{get:function(){var e,t,i,n,r;return null!==(i=null===(t=null===(e=this.selectedBenefit)||void 0===e?void 0:e.image)||void 0===t?void 0:t.url)&&void 0!==i?i:null===(r=null===(n=this.selectedCategory)||void 0===n?void 0:n.image)||void 0===r?void 0:r.url},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"hasSummaryData",{get:function(){return Boolean(this.selectedCategory)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"masterDataValid",{get:function(){var e=this.masterDataValidation.$;return"COMPLETE"===(null==e?void 0:e.addressState)&&"COMPLETE"===(null==e?void 0:e.contactState)&&"COMPLETE"===(null==e?void 0:e.userProfileState)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"navigateAfterSlotsSelection",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.benefitCategoryId,t=this.benefitId,i=this.selectionStore.lastSelectedDate;t&&i&&(0,o.navigate)(b.yJ.bookingFacilityProducts(e,t))}}),Object.defineProperty(e.prototype,"init",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this;return(0,r.makeAutoObservable)(this),[(0,r.reaction)((function(){return e.benefitCategoryId}),(function(t){return(0,n.__awaiter)(e,void 0,void 0,(function(){return(0,n.__generator)(this,(function(e){switch(e.label){case 0:return t?[4,this.benefits.request(t)]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}}
1))}))}),{fireImmediately:!0}),(0,r.reaction)((function(){return e.step}),(function(t){"service"===t&&e.selectionStore.clearDateAndSlotSelection()})),(0,r.reaction)((function(){return e.benefitId}),(function(t){t&&(e._lastSelectedBenefitId=t)}),{fireImmediately:!0}),(0,r.reaction)((function(){return e.api.loggedIn}),(function(t){return(0,n.__awaiter)(e,void 0,void 0,(function(){return(0,n.__generator)(this,(function(e){switch(e.label){case 0:return t?[4,this.masterDataValidation.request()]:[3,2];case 1:e.sent(),e.label=2;case 2:return[2]}}))}))}),{fireImmediately:!0})]}}),(0,n.__decorate)([f.l.tsdi,(0,n.__metadata)("design:type",Function),(0,n.__metadata)("design:paramtypes",[]),(0,n.__metadata)("design:returntype",void 0)],e.prototype,"init",null),(0,n.__decorate)([(0,a.component)({scope:[b.Wu.bookingFacility(),b.Wu.bookingFacilityDate(),b.Wu.bookingFacilityContact(),b.Wu.bookingFacilityPayment(),b.Wu.bookingFacilityProducts(),b.Wu.bookingFacilitySummaryOption(),b.Wu.bookingFacilitySuccess()].join(",")})],e)}()},65926:function(e,t,i){i.d(t,{c:function(){return s}});var n=i(31085),r=i(3838),o=i(36889),a=i(74184),l=i(35286),c=i(47394),s=(0,r.PA)((function(e){var t=(0,l.g)(a.F),i=t.formatDateWeekday,r=t.formatTime,s=e.startDate,u=e.endDate;return s&&u?(0,n.jsxs)(o.PE,{between:"16",children:[(0,n.jsx)(c.W,{date:s}),(0,n.jsxs)(o.PE,{between:"2",padding:[0,0,"4"],stack:!0,children:[(0,n.jsx)(o.H5,{color:"textColor",weight:"bold",children:i(s)}),(0,n.jsxs)(o.QR,{color:"textColor",extent:"M",children:[r(s)," - ",r(u)]})]})]}):null}))},73805:function(e,t,i){i.d(t,{_U:function(){return j},sO:function(){return _}});var n=i(85608),r=i(31085),o=i(9023),a=i(3838),l=i(23495),c=i(36889),s=i(26802),u=i(47394),d=i(2456),f=i(74184),b=i(35286),g=i(21046),p=i(57109),m=(0,l.Ay)(c.PE).withConfig({displayName:"SidebarPanel",componentId:"-1r89epv"}
1)(y||(y=(0,n.__makeTemplateObject)(["\n    width: 360px;\n    flex-shrink: 0;\n"],["\n    width: 360px;\n    flex-shrink: 0;\n"])));function h(e,t){var i=Math.floor(e/60),n=e%60,r=t({id:"noxweb.facility.hours",defaultMessage:"hour(s)"}),o=t({id:"noxweb.facility.minutes",defaultMessage:"min(s)"});return 0===i?"".concat(n," ").concat(o):0===n?"".concat(i," ").concat(r):"".concat(i,"h ").concat(n,"min")}var y,v=(0,a.PA)((function(e){var t,i=(0,b.g)(f.F).formatDateWeekday;return(0,r.jsxs)(c.PE,{between:"16",children:[(0,r.jsx)(u.W,{date:e.date}),(0,r.jsxs)(c.PE,{between:"2",padding:[0,0,"4"],stack:!0,children:[(0,r.jsx)(c.H5,{color:"textColor",weight:"bold",children:i(e.date)}),(0,r.jsx)(c.QR,{color:"textColor",extent:"M",children:null!==(t=e.timeRange)&&void 0!==t?t:"-"})]})]})})),_=(0,a.PA)((function(e){var t=(0,b.g)(f.F).formatMessage,i=(0,b.g)(p.g),n=(0,b.g)(g.b),a=(0,b.g)(s.j).isWhitelabel?"textColor":"coolgrey",l=i.date,u=i.hasSummaryData,m=i.selectedCategory,y=i.benefitName,_=i.summaryImageUrl,j=n.selectedSlots,S=n.selectedLocationName,x=n.hasValidSelection,w=n.selectedHours,P=n.viewMode,D=n.previewTimeRange,O=n.previewDuration,T=l?(0,o.Fd)(l):void 0;if(!u)return null;var k=null!=S?S:y,I=S?(0,r.jsxs)(c.PE,{stack:!0,between:"4",hAlign:"center",children:[(0,r.jsx)(c.QR,{extent:"L",lineHeight:"broad",color:a,textAlign:"center",children:y}),(0,r.jsx)(c.QR,{extent:"M",lineHeight:"broad",color:a,textAlign:"center",children:null==m?void 0:m.name})]}):null==m?void 0:m.name,F=O>0||j.length>0,M=x||"resource"===P||"time"===P&&w.length>0;return(0,r.jsx)(d.It,{"data-role":"booking-summary-sidebar",image:_,imageBgColor:null==m?void 0:m.colorHex,title:k,description:I,withoutShadow:e.withoutShadow,children:M&&(0,r.jsxs)(c.PE,{stack:!0,between:"24",children:[T&&(0,r.jsx)(v,{date:T,timeRange:D}),F&&(0,r.jsxs)(c.PE,{stack:!0,between:"8",children:[O>0&&(0,r.jsxs)(c.PE,{hAlign:"space-between",children:[(0,r.jsx)(c.QR,{extent:"M",children:t({id:"noxweb.facility.total.duration",defaultMessage:"Total duration"})}),(0,r.jsx)(c.QR,{extent:"M",weight:"semi-bold",children:h(O,t)})]}),j.length>0&&(0,r.jsxs)(c.PE,{hAlign:"space-between",children:[(0,r.jsx)(c.QR,{extent:"M",children:t({id:"noxweb.facility.number.of.slots",defaultMessage:"No. of slots"})}),(0,r.jsx)(c.QR,{extent:"M",weight:"semi-bold",children:j.length})]})]})]})})})),j=(0,a.PA)((function(){return(0,r.jsx)(m,{children:(0,r.jsx)(_,{})})}))},93546:function(e,t,i){i.d(t,{k:function(){return b}});var n=i(85608),r=i(31085),o=i(3838),a=i(14041),l=i(77890),c=i(36889),s=i(74184),u=i(35286),d=i(10253),f=i(1178),b=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,n.__extends)(t,e),Object.defineProperty(t.prototype,"render",{enumerable:!1,configurable:!0,writable:!0,value:function(){var e=this.props.employees,t=(0,u.g)(s.F).formatMessage;return e?(0,r.jsx)(r.Fragment,{children:e.map((function(e){return(0,r.jsxs)(c.PE,{between:"16",children:[(0,r.jsx)(c.eu,{type:"circle",src:(0,d.Qp)(e.image,{resize:{width:50,height:50}}),size:50}),(0,r.jsxs)(c.PE,{vAlign:"center",stack:!0,children:[(0,r.jsx)(c.H5,{weight:"bold",color:e.standIn?"coolgrey":"textColor",children:(0,f.h)(e)}
1),e.standIn&&(0,r.jsxs)(c.H5,{weight:"bold",color:"textColor",children:[t({id:"standin.title",defaultMessage:"Stand-In"}),": ",(0,f.h)(e.standIn)]})]})]},e.id)}))}):null}}),(0,n.__decorate)([l.external,o.PA],t)}(a.Component)},98548:function(e,t,i){i.d(t,{Q:function(){return S}});var n,r,o=i(85608),a=i(31085),l=(i(14041),i(36889)),c=i(74184),s=i(35286),u=i(2456),d=i(65926),f=i(93546),b=i(90908),g=i(3838),p=(0,g.PA)((function(e){var t=(0,s.g)(c.F).formatMessage,i=e.bookedParticipants,n=e.maxParticipants;if(void 0===i||void 0===n)return null;var r=n-i;return(0,a.jsxs)(l.PE,{stack:!0,between:"8",children:[(0,a.jsxs)(l.PE,{hAlign:"space-between",children:[(0,a.jsx)(l.QR,{color:"textColor",extent:"M",children:t({id:"noxweb.capacity",defaultMessage:"Capacity"})}),(0,a.jsx)(l.QR,{color:"textColor",extent:"M",children:0===r?t({id:"noxweb.course.bookedup",defaultMessage:"Fully booked"}):t({id:"noxweb.course.free.capacity",defaultMessage:"Still {0} spots"},["".concat(r)])})]}),(0,a.jsx)(l.z2,{direction:"horizontal",hideNumbers:!0,value:i,max:n})]})})),m=function(e){var t=(0,s.g)(c.F).formatMessage,i=e.startDate&&e.endDate,n=e.employees&&e.employees.length>0,r=e.studio||e.locations&&e.locations.length>0,g=void 0!==e.bookedParticipants&&void 0!==e.maxParticipants,m=Boolean(e.price);return(0,a.jsx)(u.Bx,{role:"complementary",children:(0,a.jsx)(u.It,{className:e.className,title:e.title,description:e.description,image:e.image,withoutShadow:e.withoutShadow,children:(0,a.jsxs)(l.PE,{between:"32",stack:!0,children:[i&&(0,a.jsx)(d.c,{startDate:e.startDate,endDate:e.endDate}),n&&(0,a.jsx)(f.k,{employees:e.employees}),r&&(0,a.jsx)(b.d,{locations:e.locations,studio:e.studio}),g&&(0,a.jsx)(p,(0,o.__assign)({},e)),m&&(0,a.jsx)(u.tK,{padding:["32",0,0],hAlign:"flex-end",children:e.price}),e.stream&&(0,a.jsxs)(l.PE,{between:"16",children:[(0,a.jsx)(l.In,{type:"video",extent:50}),(0,a.jsx)(l.QR,{children:t({id:"noxweb.appointment.stream.available",defaultMessage:"This event will be offered as a digital stream."})})]}),e.children&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u.Hr,{}),e.children]})]})})})},h=i(23495),y=i(47280),v=(0,h.Ay)(l.PE).withConfig({displayName:"MobileCard",componentId:"-1dvas6z"}
1)(n||(n=(0,o.__makeTemplateObject)(["\n    left: 0;\n    width: 100%;\n    height: 50px;\n    border-bottom-left-radius: ",";\n    border-bottom-right-radius: ",";\n    background-color: ",";\n    box-shadow:\n        0 2px 5px 0 rgba(0, 0, 0, 0.1),\n        inset 0 1px 0 0 ",";\n    transition: top 200ms ease-out;\n"],["\n    left: 0;\n    width: 100%;\n    height: 50px;\n    border-bottom-left-radius: ",";\n    border-bottom-right-radius: ",";\n    background-color: ",";\n    box-shadow:\n        0 2px 5px 0 rgba(0, 0, 0, 0.1),\n        inset 0 1px 0 0 ",";\n    transition: top 200ms ease-out;\n"])),(function(){return(0,l.Nb)(5)}),(function(){return(0,l.Nb)(5)}),(0,l.oU)("white"),(0,l.oU)("lightgrey")),_=h.Ay.div.withConfig({displayName:"Image",componentId:"-btawa3"})(r||(r=(0,o.__makeTemplateObject)(["\n    width: 50px;\n    height: 100%;\n    border-bottom-left-radius: ",";\n    background: url('","') no-repeat center\n        center;\n    background-size: cover;\n"],["\n    width: 50px;\n    height: 100%;\n    border-bottom-left-radius: ",";\n    background: url('","') no-repeat center\n        center;\n    background-size: cover;\n"])),(function(){return(0,l.Nb)(5)}),(function(e){return e.src})),j=(0,g.PA)((function(e){var t=(0,s.g)(c.F),i=t.formatDateTime,n=t.formatTime,r=(0,s.g)(y.aF),u=(0,s.g)(c.F).formatMessage,d=e.startDate,f=e.endDate,b=e.title,g=e.subtitle,p=e.modalContent;return(0,a.jsxs)(v,{className:e.className,between:"8",padding:[0,"16",0,0],onClick:function(){r.confirm(null!=p?p:(0,a.jsx)(m,(0,o.__assign)({withoutShadow:!0},e,{title:void 0})),{title:b,cancelText:void 0,confirmText:u({id:"commons.close",defaultMessage:"Close"}),size:"100%",openAnimation:"from-bottom"})},children:[e.image&&(0,a.jsx)(_,{src:e.image}),(0,a.jsxs)(l.PE,{padding:"8",vAlign:"center",between:"4",stack:!0,stretch:!0,children:[b&&(0,a.jsx)(l.QR,{color:"black",extent:"XS",weight:"bold",children:b}),g&&(0,a.jsx)(l.QR,{extent:"XS",color:"coolgrey",children:g}),d&&f&&(0,a.jsxs)(l.QR,{extent:"XS",color:"coolgrey",children:[i(d)," - ",n(f)]})]}),(0,a.jsx)(l.PE,{vAlign:"center",children:(0,a.jsx)(l.i3,{direction:"down",extent:10})})]})})),S=function(e){return e.mobile?(0,a.jsx)(j,(0,o.__assign)({},e)):(0,a.jsx)(m,(0,o.__assign)({},e))}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.