PageSourceSearch

https://www.fuselive.net/6742.5dc60e3c495968aab57d.js

js fuselive.net collected 2026-10-09 23:52:01 UTC 12,656 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkfitu_app=self.webpackChunkfitu_app||[]).push([[6742],{46742:function(t,e,s){s.r(e),s.d(e,{default:function(){return m}});var n=s(95353),i=s(52987),a=s(63032),o=s.n(a),r=s(2543),d=s.n(r),l={mixins:[s(64348).A],props:{activity:{type:Object,required:!1},isEvent:Boolean,hasRoom:Boolean,kindPurchase:String,course:{type:Object,required:!1},appointment:{type:Object,required:!1},staffName:String,appointmentParams:{type:Object,required:!1}},data(){return{categories:{outdoor:"outdoor",live:"live",group:"group"},timeConver:i.timeConver}},computed:{...(0,n.aH)({currentTheme:"currentTheme",currentThemeBrand:"currentThemeBrand",savedTimezone:"savedTimezone",timezones:"timezones"}),detectedTz(){return o().determine().name()},selectedTimezone(){if(0===this.timezones.length)return null;{let t=!1;return this.timezones.length>0&&!this.timezones.some(t=>t.tzid===this.detectedTz)&&(this.timezones.unshift({id:0,name:this.detectedTz.replace(`${this.detectedTz.split("/")[0]}/`,""),tzid:this.detectedTz,countryCode:"XX",tzidOptionName:"XX"}),t=!0),null===this.savedTimezone&&t?this.timezones[0]:null!==this.savedTimezone||t?this.timezones.find(t=>t.tzid===this.savedTimezone):this.timezones.find(t=>t.tzid===this.detectedTz)}},isEmbed(){return this.$route.path.split("/").includes("embed")},activityDuration(){return this.$moment.utc(this.activity.stopAt).diff(this.$moment.utc(this.activity.startAt),"minutes")},activityDate(){let t;const e=`${this.formatDate(this.activity.startAt,"dddd DD MMMM YYYY")}, ${this.formatDate(this.activity.startAt,"hh:mm A")}`;return t=this.isEvent?`${e} - ${this.formatDate(this.activity.stopAt,"dddd DD MMMM YYYY")}, ${this.formatDate(this.activity.stopAt,"hh:mm A")}`:e,t},isCourse(){return"course"===this.kindPurchase},isAppointment(){return"appointment"===this.kindPurchase}},methods:{imageUrl(){let t;if(this.isCourse){let e=this.course.courseImages.map(t=>({priority:t.priority,url:t.fileUrl})).concat(this.course.unsplashImages.map(t=>({priority:t.priority,url:t.unsplashImageLinks.find(t=>"thumb"===t.urlType).url})));e=d().sortBy(e,"priority"),t=e[0].url}if(t&&!t.includes("/iphone/missing.png"))return t},formatDate(t,e){return this.selectedTimezone?this.$moment.utc(t).tz(this.selectedTimezone.tzid).format(e):""}}},m=(s(60795),(0,s(14486).A)(l,function(){var t=this,e=t._self._c;return e("div",{staticClass:"w-full flex mb-2 space-x-4",class:{"items-center":!t.isAppointment}},[t.isCourse?e("div",{staticClass:"w-2/6 md:w-[7.5rem] md:h-28 h-20 relative rounded-lg overflow-hidden"},[e("div",{staticClass:"md:h-28 h-20 w-full bg-no-repeat bg-cover bg-center",style:{backgroundImage:`url(${t.imageUrl()})`}})]):t._e(),t._v(" "),e("div",{class:{"w-4/6":t.isCourse,"w-full":!t.isCourse}},[t.isCourse||t.isAppointment||t.activity.klass?e("h3",{staticClass:"text-base md:text-lg font-semibold",class:t.isEmbed?"light"===t.currentTheme?"embed-heading-font text-gray-300":"embed-font-dark embed-heading-font":"light"===t.currentThemeBrand?"heading-font-brand text-gray-300":"heading-font-brand embed-font-dark"},[t._v("\n      "+t._s(t.isCourse?t.course.name:t.isAppointment?t.appointment.name:t.activity.klass.title)+"\n    ")]):t._e(),t._v(" "),t.isCourse?e("div",{staticClass:"flex items-center"},[t.course.courseBsCount>0?e("div",{staticClass:"flex items-center mr-2.5"},[e("svg",{staticClass:"mr-2",attrs:{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{d:"M2.5 0.3125C2.5 0.22962 2.46708 0.150134 2.40847 0.0915291C2.34987 0.032924 2.27038 0 2.1875 0C2.10462 0 2.02513 0.032924 1.96653 0.0915291C1.90792 0.150134 1.875 0.22962 1.875 0.3125V0.625H1.25C0.918479 0.625 0.600537 0.756696 0.366117 0.991117C0.131696 1.22554 0 1.54348 0 1.875L0 2.5H10V1.875C10 1.54348 9.8683 1.22554 9.63388 0.991117C9.39946 0.756696 9.08152 0.625 8.75 0.625H8.125V0.3125C8.125 0.22962 8.09208 0.150134 8.03347 0.0915291C7.97487 0.032924 7.89538 0 7.8125 0C7.72962 0 7.65013 0.032924 7.59153 0.0915291C7.53292 0.150134 7.5 0.22962 7.5 0.3125V0.625H2.5V0.3125ZM10 8.75V3.125H0V8.75C0 9.08152 0.131696 9.39946 0.366117 9.63388C0.600537 9.8683 0.918479 10 1.25 10H8.75C9.08152 10 9.39946 9.8683 9.63388 9.63388C9.8683 9.39946 10 9.08152 10 8.75ZM6.78375 5.53375L4.90875 7.40875C4.87972 7.43785 4.84524 7.46094 4.80727 7.4767C4.76931 7.49245 4.7286 7.50056 4.6875 7.50056C4.6464 7.50056 4.60569 7.49245 4.56773 7.4767C4.52976 7.46094 4.49528 7.43785 4.46625 7.40875L3.52875 6.47125C3.47007 6.41257 3.43711 6.33298 3.43711 6.25C3.43711 6.16702 3.47007 6.08743 3.52875 6.02875C3.58743 5.97007 3.66702 5.93711 3.75 5.93711C3.83298 5.93711 3.91257 5.97007 3.97125 6.02875L4.6875 6.74563L6.34125 5.09125C6.39993 5.03257 6.47952 4.99961 6.5625 4.99961C6.64548 4.99961 6.72507 5.03257 6.78375 5.09125C6.84243 5.14993 6.87539 5.22952 6.87539 5.3125C6.87539 5.39548 6.84243 5.47507 6.78375 5.53375Z",fill:"#3980FB"}})]),t._v(" "),e("label",{staticClass:"text-xxs md:text-sm",class:t.isEmbed?"light"===t.currentTheme?"embed-body-font text-black":"embed-font-dark embed-body-font":"light"===t.currentThemeBrand?"body-font-brand text-black":"body-font-brand embed-font-dark"},[t._v("\n          "+t._s(t.$tc("count-activities",t.course.courseBsCount))+"\n        ")])]):t._e(),t._v(" "),t.course.courseVodCount>0?e("div",{staticClass:"flex items-center mr-2.5"},[e("svg",{staticClass:"mr-2",attrs:{width:"10",height:"10",viewBox:"0 0 10 10",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M0 2.125C0 1.79348 0.131696 1.47554 0.366117 1.24112C0.600537 1.0067 0.918479 0.875 1.25 0.875H5.9375C6.24068 0.874964 6.53355 0.98512 6.76155 1.18495C6.98955 1.38479 7.
113716 1.66068 7.17688 1.96125L9.12063 1.0975C9.21577 1.05511 9.31999 1.03716 9.42384 1.0453C9.52768 1.05344 9.62784 1.0874 9.71521 1.1441C9.80259 1.2008 9.87441 1.27844 9.92414 1.36995C9.97388 1.46147 9.99996 1.56397 10 1.66813V6.33187C9.99991 6.43595 9.97383 6.53836 9.92413 6.6298C9.87442 6.72125 9.80267 6.79883 9.71538 6.85551C9.62809 6.91219 9.52803 6.94618 9.42428 6.95438C9.32052 6.96259 9.21636 6.94476 9.12125 6.9025L7.17688 6.03875C7.13716 6.33932 6.98955 6.61521 6.76155 6.81505C6.53355 7.01488 6.24068 7.12504 5.9375 7.125H1.25C0.918479 7.125 0.600537 6.9933 0.366117 6.75888C0.131696 6.52446 0 6.20652 0 5.875V2.125Z",fill:"#3980FB"}})]),t._v(" "),e("label",{staticClass:"text-xxs md:text-sm",class:t.isEmbed?"light"===t.currentTheme?"embed-body-font text-black":"embed-font-dark embed-body-font":"light"===t.currentThemeBrand?"body-font-brand text-black":"body-font-brand embed-font-dark"},[t._v("\n          "+t._s(t.$tc("count-videos",t.course.courseVodCount))+"\n        ")])]):t._e(),t._v(" "),t.course.courseLessonsCount>0?e("div",{staticClass:"flex items-center"},[e("svg",{staticClass:"mr-2",attrs:{width:"10",height:"10",viewBox:"0 0 8 7",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.5 1H0.5C0.367392 1 0.240215 0.947321 0.146447 0.853553C0.0526785 0.759785 0 0.632608 0 0.5C0 0.367392 0.0526785 0.240215 0.146447 0.146447C0.240215 0.0526785 0.367392 0 0.5 0H7.5C7.63261 0 7.75979 0.0526785 7.85355 0.146447C7.94732 0.240215 8 0.367392 8 0.5C8 0.632608 7.94732 0.759785 7.85355 0.853553C7.75979 0.947321 7.63261 1 7.5 1ZM5.5 3H0.5C0.367392 3 0.240215 2.94732 0.146447 2.85355C0.0526785 2.75979 0 2.63261 0 2.5C0 2.36739 0.0526785 2.24021 0.146447 2.14645C0.240215 2.05268 0.367392 2 0.5 2H5.5C5.63261 2 5.75979 2.05268 5.85355 2.14645C5.94732 2.24021 6 2.36739 6 2.5C6 2.63261 5.94732 2.75979 5.85355 2.85355C5.75979 2.94732 5.63261 3 5.5 3ZM7.5 5H0.5C0.367392 5 0.240215 4.94732 0.146447 4.85355C0.0526785 4.75979 0 4.63261 0 4.5C0 4.36739 0.0526785 4.24021 0.146447 4.14645C0.240215 4.05268 0.367392 4 0.5 4H7.5C7.63261 4 7.75979 4.05268 7.85355 4.14645C7.94732 4.24021 8 4.36739 8 4.5C8 4.63261 7.94732 4.75979 7.85355 4.85355C7.75979 4.94732 7.63261 5 7.5 5ZM5.5 7H0.5C0.367392 7 0.240215 6.94732 0.146447 6.85355C0.0526785 6.75979 0 6.63261 0 6.5C0 6.36739 0.0526785 6.24021 0.146447 6.14645C0.240215 6.05268 0.367392 6 0.5 6H5.5C5.63261 6 5.75979 6.05268 5.85355 6.14645C5.94732 6.24021 6 6.36739 6 6.5C6 6.63261 5.94732 6.75979 5.85355 6.85355C5.75979 6.94732 5.63261 7 5.5 7Z",fill:"#3980FB"}})]),t._v(" "),e("label",{staticClass:"text-xxs md:text-sm",class:t.isEmbed?"light"===t.currentTheme?"embed-body-font text-black":"embed-font-dark embed-body-font":"light"===t.currentThemeBrand?"body-font-brand text-black":"body-font-brand embed-font-dark"},[t._v("\n          "+t._s(t.$tc("count-lesson",t.course.courseLessonsCount))+"\n        ")])]):t._e()]):t._e(),t._v(" "),t.isAppointment?e("div",[e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"text-[14px] leading-[18px] mt-2 flex flex-col md:flex-row whitespace-nowrap",class:t.isEmbed?"light"===t.currentTheme?"embed-body-font":"embed-font-dark embed-body-font":"light"===t.currentThemeBrand?"body-font-brand":"body-font-brand embed-font-dark"},[e("div",{staticClass:"mr-1 whitespace-nowrap"},[t._v("\n            "+t._s(`${t.$moment(t.appointmentParams.start_at).locale(t.$i18n.locale).format("dddd DD MMMM YYYY")} • ${t.$moment(t.appointmentParams.start_at).locale(t.$i18n.locale).format("hh:mm A")}`)+"\n          ")]),t._v(" "),t.selectedTimezone?e("div",{staticClass:"tz-color"},[t._v("\n            (\n            "),e("div",{staticClass:"tz-style"},[e("span",[t._v(t._s(`${t.selectedTimezone.name}`))])]),t._v("\n            )\n          ")]):t._e()]),t._v(" "),e("div",{staticClass:"flex text-[14px] leading-[18px]"},[e("div",{staticClass:"mr-1"},[t._v("\n            "+t._s(`${t.appointment.duration} ${t.$tc("mins",t.appointment.duration).toLowerCase()}`)+"\n          ")]),t._v(" "),e("span",{class:t.isEmbed?"light"===t.currentTheme?"embed-body-font":"embed-font-dark embed-body-font":"light"===t.currentThemeBrand?"body-font-brand":"body-font-brand embed-font-dark"},[t._v("\n            "+t._s(`• ${t.staffName}`)+"\n          ")])]),t._v(" "),e("strong",{staticClass:"text-[14px] leading-[18px] mt-5",class:t.isEmbed?"light"===t.currentTheme?"embed-body-font":"embed-font-dark embed-body-font":"light"===t.currentThemeBrand?"body-font-brand":"body-font-brand embed-font-dark"},[t._v("\n          "+t._s(t.appointment.branch.name)+"\n        ")])])]):t._e(),t._v(" "),t.isCourse||t.isAppointment?t._e():e("div",{staticClass:"text-[14px] mt-1"},[t.isCourse||t.isAppointment?t._e():e("div",{staticClass:"mt-2 leading-[18px]",class:t.isEmbed?"light"===t.currentTheme?"embed-body-font text-dark-100":"embed-font-dark embed-body-font":"light"===t.currentThemeBrand?"body-font-brand text-dark-100":"body-font-brand embed-font-dark"},[t.selectedTimezone?e("div",{staticClass:"flex flex-col md:flex-row",class:{"md:items-end":t.isEvent}},[[e("div",{staticClass:"mr-1"},[t._v("\n              "+t._s(t.activityDate)+" "),e("br"),t._v(" "),e("span",{staticClass:"tz-color !inline-flex"},[t._v("\n                (\n                "),e("div",{staticClass:"tz-style"},[e("span",[t._v(t._s(`${t.selectedTimezone.name}`))])]),t._v("\n                )\n              ")]),t._v("\n              • "+t._s(t.convertTime(t.activityDuration))+"\n              "),t.activity.staff?[t._v(" • "+t._s(t.activity.staff.displayName)+" ")]:t._e(),t._v(" "),t.hasRoom?[t._v(" • "+t._s(t.activity.room.name)+" ")]:t._e()],2)]],2):t._e()]),t._v(" "),e("br"),t._v(" "),e("div",{staticClass:"flex flex-col"},[t.activity.klass?e("strong",{staticClass:"capitalize leading-[18px]",class:t.isEmbed?"light"===t.currentTheme?"embed-body-font":"embed-font-dark embed-body-font":"light"===t.currentThemeBrand?"body-font-brand":"body-font-brand embed-font-dark"},[t._v("\n          "+t._s(t.activity.branch.name)+"\n        ")]):t._e(),t._v(" "),t.activity.klass&&!t.isEvent?e("span",{staticClass:"leading-[18px]",class:t.isEmbed?"light"===t.currentTheme?"embed-body-font":"embed-font-dark embed-body-font":"light"===t.currentThemeBrand?"body-font-brand":"body-font-brand embed-font-dark"},[t._v("\n          "+t._s(t.activity.branch.online?null:`${t.activity.branch.formattedAddress}`)+"\n        ")]):t._e()])])])])}
1,[],!1,null,"205af930",null).exports)},60795:function(t,e,s){var n,i;n=void 0,i=s(29140)(t.id,{}),t.hot.data&&t.hot.data.value&&t.hot.data.value!==n?t.hot.invalidate():t.hot.accept(),t.hot.dispose(function(t){t.value=n,i()})},64348:function(t,e){e.A={methods:{convertTime(t){const e=Math.floor(t/1440),s=Math.floor(t%1440/60),n=Math.round(t%60);let i="";return e>0&&(i+=this.$tc("rental.days",e)+" "),s>0&&(i+=this.$tc("hrs",s)+" "),n>0&&(i+=this.$tc("min",n)+" "),i}}}}}]);

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.