PageSourceSearch

https://www.mindbodyonline.com/explore/static/js/13.ce529488.chunk.js

js mindbodyonline.com collected 2026-09-24 08:24:23 UTC 23,967 bytes, 2 lines download raw bytes

1(this["webpackJsonpproject-sunset-cliffs"]=this["webpackJsonpproject-sunset-cliffs"]||[]).push([[13],{1751:function(e,t,a){"use strict";a.d(t,"a",(function(){return i}));var i=function(e,t){if(e){var a=t.current?t.current.offsetTop-100:0;window.scrollTo({top:a,behavior:"smooth"})}}},1752:function(e,t,a){"use strict";a.d(t,"b",(function(){return j})),a.d(t,"a",(function(){return p}));var i=a(3),n=a.n(i),r=a(1760),c=a(1743),s=a(19),o=a(8),l=a(116),d=a(33),u=a.n(d),b=a(0),p=function(e){var t=e.onClick,a=Object(s.b)();return Object(b.jsx)("div",{className:n()("is-hidden-mobile",u.a.mapCloseBtn),children:Object(b.jsx)(r.b,{icon:Object(b.jsx)(c.c,{}),onClick:function(){a.send(o.b.Interaction.SELECT_CLICK,Object(l.a)({section_name:"MapViewToggle",map_enabled:!1})),t()},size:"default"})})},j=function(e){var t=e.onClick,a=Object(s.b)();return Object(b.jsx)("div",{className:n()(u.a.mapViewBtn,"is-flex is-justify-content-center is-hidden-mobile"),children:Object(b.jsx)(r.a,{label:"Map view",onClick:function(){a.send(o.b.Interaction.SELECT_CLICK,Object(l.a)({section_name:"MapViewToggle",map_enabled:!0})),t()},startIcon:Object(b.jsx)(c.e,{size:"large"}),variant:"primary",style:{backgroundColor:"#2D2D2D"}})})}},1777:function(e,t,a){"use strict";var i=a(3),n=a.n(i),r=a(1737),c=a(19),s=a(8),o=a(340),l=a(26),d=a(871),u=a(51),b=a(60),p=a(872),j=a(209),m=a.n(j),O=a(0);t.a=function(e){var t=e.vertical,a=e.imgContainerStyle,i=Object(c.b)(),j=Object(l.a)().classPassOfferLength.feature,f=Object(r.a)(o.a.Tablet),h=Object(d.a)(t,j),g={offer_length:j};return Object(O.jsx)("div",{className:n()(m.a.v2ListingOfferWrapper,"mb-3"),"data-name":"ClassPassListingOffer",children:Object(O.jsx)("a",{onClick:f?function(){i.send(s.b.Navigation.CLASSPASS_LISTING_PROMO_AD_CLICK_DESKTOP,g)}:function(){i.send(s.b.Navigation.CLASSPASS_LISTING_PROMO_BANNER_CLICK,g)},target:"_blank",rel:"nofollow noopener noreferrer",href:u.a,className:n()(m.a.textDecoration,m.a.buttonHover),children:Object(O.jsxs)("div",{className:n()("columns is-vcentered m-0",m.a.listingOffer),children:[Object(O.jsx)("div",{className:n()("column is-one-quarter is-paddingless",m.a.imageContainer,a)}),Object(O.jsxs)("div",{className:n()("column p-0 px-3 is-flex is-justify-content-space-between",m.a.detailsWrapper),children:[Object(O.jsxs)("div",{className:n()("py-3 is-inline-block",m.a.contentWidth),children:[Object(O.jsx)("h3",{className:"m-0 is-header-5 has-text-white",children:h.title}),Object(O.jsx)("p",{className:n()("m-0 my-2 has-text-white",m.a.paragraphStyles),children:f?h.desktopBody:h.mobileBody}),Object(O.jsx)("div",{className:n()("mt-3 has-text-weight-semibold",m.a.styledAsButton),children:h.button})]}),Object(O.jsx)("div",{className:n()("is-align-items-center is-inline-flex",m.a.logo),children:Object(O.jsx)(b.a,{src:p.a,alt:"ClassPass",className:m.a.img})})]})]})})})}},1778:function(e,t,a){"use strict";a.d(t,"a",(function(){return D}));var i=a(1742),n=a(0),r=a(11),c=a(45),s=a(1),o=a(84),l=a(585),d=a(1732),u=a(1735),b=a(569),p=["className","component"];var j=a(1656),m=a(1165),O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.defaultTheme,a=e.defaultClassName,i=void 0===a?"MuiBox-root":a,j=e.generateClassName,m=e.styleFunctionSx,O=void 0===m?d.a:m,f=Object(l.a)("div",{shouldForwardProp:function(e){return"theme"!==e&&"sx"!==e&&"as"!==e}})(O),h=s.forwardRef((function(e,a){var s=Object(b.a)(t),l=Object(u.a)(e),d=l.className,m=l.component,O=void 0===m?"div":m,h=Object(c.a)(l,p);return Object(n.jsx)(f,Object(r.a)({as:O,ref:a,className:Object(o.a)(d,j?j(i):i),theme:s},h))}));return h}({defaultTheme:Object(m.a)(),defaultClassName:"MuiBox-root",generateClassName:j.a.generate}),f=O,h=a(1970),g=a(1799),v=a(1957),y=a(1953),x=a(1971),S=a(1655),N=a(130),C=a(148),T=a(227),I=a(1657),E=a(1168);function M(e){return Object(E.a)("MuiListSubheader",e)}Object(I.a)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);var R=["className","color","component","disableGutters","disableSticky","inset"],P=Object(N.a)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:function(e,t){var a=e.ownerState;return[t.root,"default"!==a.color&&t["color".concat(Object(T.a)(a.color))],!a.disableGutters&&t.gutters,a.inset&&t.inset,!a.disableSticky&&t.sticky]}})((function(e){var t=e.theme,a=e.ownerState;return Object(r.a)({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(t.vars||t).palette.text.secondary,fontFamily:t.typography.fontFamily,fontWeight:t.typography.fontWeightMedium,fontSize:t.typography.pxToRem(14)},"primary"===a.color&&{color:(t.vars||t).palette.primary.main},"inherit"===a.color&&{color:"inherit"},!a.disableGutters&&{paddingLeft:16,paddingRight:16},a.inset&&{paddingLeft:72},!a.disableSticky&&{position:"sticky",top:0,zIndex:1,backgroundColor:(t.vars||t).palette.background.paper})})),_=s.forwardRef((function(e,t){var a=Object(C.a)({props:e,name:"MuiListSubheader"}),i=a.className,s=a.color,l=void 0===s?"default":s,d=a.component,u=void 0===d?"li":d,b=a.disableGutters,p=void 0!==b&&b,j=a.disableSticky,m=void 0!==j&&j,O=a.inset,f=void 0!==O&&O,h=Object(c.a)(a,R),g=Object(r.a)({},a,{color:l,component:u,disableGutters:p,disableSticky:m,inset:f}
1),v=function(e){var t=e.classes,a=e.color,i=e.disableGutters,n=e.inset,r=e.disableSticky,c={root:["root","default"!==a&&"color".concat(Object(T.a)(a)),!i&&"gutters",n&&"inset",!r&&"sticky"]};return Object(S.a)(c,M,t)}(g);return Object(n.jsx)(P,Object(r.a)({as:u,className:Object(o.a)(v.root,i),ref:t,ownerState:g},h))}));function k(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var A=Object(N.a)("span")((function(e){return{color:e.theme.palette.functional.red,marginLeft:"3px"}})),F=(Object(N.a)(g.a)((function(e){var t=e.theme;return{fontFamily:[t.typography.allVariants.fontFamily].join(","),fontStyle:"normal",fontWeight:400,fontSize:"14px",lineHeight:"16px",color:t.palette.neutral.darkest,"&:hover":{backgroundColor:t.palette.neutral.lighter},"&.Mui-focused":{backgroundColor:t.palette.baseLight.main},"&.Mui-selected":{backgroundColor:t.palette.baseLight.main,"&:hover":{backgroundColor:t.palette.neutral.lighter}},"&:active":{backgroundColor:t.palette.baseLight.main}}})),Object(N.a)(_)((function(e){var t=e.theme;return{padding:"14px 16px 8px 12px",fontFamily:[t.typography.allVariants.fontFamily].join(","),fontStyle:"normal",fontWeight:700,fontSize:"12px",lineHeight:"12px",letterSpacing:"0.15px",color:t.palette.neutral.darker}})),Object(N.a)(x.a)((function(e){var t=e.theme;return{"&.Mui-error":{color:t.palette.functional.red},color:t.palette.neutral.dark,fontFamily:[t.typography.allVariants.fontFamily].join(","),lineHeight:"20px",marginBottom:"1px"}}))),w=Object(N.a)(v.a)((function(e){var t,a=e.theme;return k(t={"&.Mui-focused":{color:a.palette.primaryBase.main},fontFamily:[a.typography.allVariants.fontFamily].join(","),fontStyle:"normal",fontWeight:400,fontSize:"16px"},"&.Mui-focused",{color:a.palette.primaryBase.main}),k(t,"&.Mui-error",{color:a.palette.functional.red,"&.Mui-focused":{color:a.palette.functional.red},"&.Mui-active":{color:a.palette.functional.red}}),t})),L=Object(N.a)(y.a)((function(e){var t=e.theme;return k({"&.MuiOutlinedInput-root":{"& fieldset":{borderColor:t.palette.neutral.light},"&:hover fieldset":{borderColor:t.palette.neutral.dark}},"&.MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:t.palette.primaryBase.main},"&.Mui-disabled":{color:t.palette.neutral.dark,backgroundColor:t.palette.neutral.lightest,"&.MuiOutlinedInput-root.Mui-disabled .MuiOutlinedInput-notchedOutline":{border:"1px dashed ".concat(t.palette.neutral.dark)}},"&&.MuiOutlinedInput-root.Mui-error .MuiOutlinedInput-notchedOutline":{borderColor:t.palette.functional.red},color:t.palette.neutral.darkest,fontFamily:[t.typography.allVariants.fontFamily].join(","),fontStyle:"normal",fontWeight:600,fontSize:"16px",lineHeight:"24px",svg:{color:t.palette.neutral.darkest},maxWidth:"327px"},t.breakpoints.up("sm"),{maxWidth:"440px"})})),D=function(e){var t=e.formControlProps,a=e.id,r=e.autoWidth,c=e.label,s=e.displayHelperText,o=e.helpertext,l=e.error,d=e.disabled;e.notched;var u=e.notchedLabel,b=e.renderValue,p=e.small,j=e.groups;e.MenuProps;var m=e.children,O=e.required,g=void 0!==O&&O,v=e.fullWidth,y=void 0!==v&&v,x=Object(i.a)(e,["formControlProps","id","autoWidth","label","displayHelperText","helpertext","error","disabled","notched","notchedLabel","renderValue","small","groups","MenuProps","children","required","fullWidth"]),S="".concat(a,"-label"),N=Object.assign({id:a,autoWidth:r,helpertext:o,error:l,renderValue:b,inputProps:{required:g}},x);b&&(N.renderValue=b);var C="240px",T=y?"auto":C;return Object(n.jsx)(f,Object.assign({style:{minWidth:C}},{children:Object(n.jsxs)(h.a,Object.assign({size:p?"small":"medium",fullWidth:!r,error:l,disabled:d},t,{children:[c&&Object(n.jsxs)(w,Object.assign({id:S,shrink:u},{children:[c,g&&Object(n.jsx)(A,{children:"*"})]})),Object(n.jsx)(L,Object.assign({notched:u,sx:r?{}:{width:T,minWidth:C},MenuProps:{PaperProps:{style:{maxHeight:j?"236px":"168px",width:T}}},label:"".concat(c).concat(g?"*":"")},N,{children:m})),s&&Object(n.jsx)(F,Object.assign({id:"".concat(a,"-helper-text")},{children:o||" "}))]}))}))}},1799:function(e,t,a){"use strict";var i=a(5),n=a(45),r=a(11),c=a(1),s=a(84),o=a(1655),l=a(1733),d=a(130),u=a(148),b=a(233),p=a(1738),j=a(375),m=a(337),O=a(1657),f=a(1168);var h=Object(O.a)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);var g=Object(O.a)("MuiListItemIcon",["root","alignItemsFlexStart"]),v=a(678);function y(e){return Object(f.a)("MuiMenuItem",e)}var x=Object(O.a)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),S=a(0),N=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],C=Object(d.a)(p.a,{shouldForwardProp:function(e){return Object(d.b)(e)||"classes"===e},name:"MuiMenuItem",slot:"Root",overridesResolver:function(e,t){var a=e.ownerState;return[t.root,a.dense&&t.dense,a.divider&&t.divider,!a.disableGutters&&t.gutters]}})((function(e){var t,a=e.theme,n=e.ownerState;return Object(r.a)({},a.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!n.disableGutters&&{paddingLeft:16,paddingRight:16},n.divider&&{borderBottom:"1px solid ".concat((a.vars||a).palette.divider),backgroundClip:"padding-box"},(t={"&:hover":{textDecoration:"none",backgroundColor:(a.vars||a).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}},Object(i.a)(t,"&.".concat(x.selected),Object(i.a)({backgroundColor:a.vars?"rgba(".concat(a.vars.palette.primary.mainChannel," / ").concat(a.vars.palette.action.selectedOpacity,")"):Object(l.a)(a.palette.primary.main,a.palette.action.selectedOpacity)},"&.".concat(x.focusVisible),{backgroundColor:a.vars?"rgba(".concat(a.vars.palette.primary.mainChannel," / calc(").concat(a.vars.palette.action.selectedOpacity," + ").concat(a.vars.palette.action.focusOpacity,"))"):Object(l.a)(a.palette.primary.main,a.palette.action.selectedOpacity+a.palette.action.focusOpacity)})),Object(i.a)(t,"&.".concat(x.selected,":hover"),{backgroundColor:a.vars?"rgba(".concat(a.vars.palette.primary.mainChannel," / calc(").concat(a.vars.palette.action.selectedOpacity," + ").concat(a.vars.palette.action.hoverOpacity,"))"):Object(l.a)(a.palette.primary.main,a.palette.action.selectedOpacity+a.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:a.vars?"rgba(".concat(a.vars.palette.primary.mainChannel," / ").concat(a.vars.palette.action.selectedOpacity,")"):Object(l.a)(a.palette.primary.main,a.palette.action.selectedOpacity)}}),Object(i.a)(t,"&.".concat(x.focusVisible),{backgroundColor:(a.vars||a).palette.action.focus}),Object(i.a)(t,"&.".concat(x.disabled),{opacity:(a.vars||a).palette.action.disabledOpacity}),Object(i.a)(t,"& + .".concat(h.root),{marginTop:a.spacing(1),marginBottom:a.spacing(1)}),Object(i.a)(t,"& + .".concat(h.inset),{marginLeft:52}
1),Object(i.a)(t,"& .".concat(v.a.root),{marginTop:0,marginBottom:0}),Object(i.a)(t,"& .".concat(v.a.inset),{paddingLeft:36}),Object(i.a)(t,"& .".concat(g.root),{minWidth:36}),t),!n.dense&&Object(i.a)({},a.breakpoints.up("sm"),{minHeight:"auto"}),n.dense&&Object(r.a)({minHeight:32,paddingTop:4,paddingBottom:4},a.typography.body2,Object(i.a)({},"& .".concat(g.root," svg"),{fontSize:"1.25rem"})))})),T=c.forwardRef((function(e,t){var a=Object(u.a)({props:e,name:"MuiMenuItem"}),i=a.autoFocus,l=void 0!==i&&i,d=a.component,p=void 0===d?"li":d,O=a.dense,f=void 0!==O&&O,h=a.divider,g=void 0!==h&&h,v=a.disableGutters,x=void 0!==v&&v,T=a.focusVisibleClassName,I=a.role,E=void 0===I?"menuitem":I,M=a.tabIndex,R=a.className,P=Object(n.a)(a,N),_=c.useContext(b.a),k=c.useMemo((function(){return{dense:f||_.dense||!1,disableGutters:x}}),[_.dense,f,x]),A=c.useRef(null);Object(j.a)((function(){l&&A.current&&A.current.focus()}),[l]);var F,w=Object(r.a)({},a,{dense:k.dense,divider:g,disableGutters:x}),L=function(e){var t=e.disabled,a=e.dense,i=e.divider,n=e.disableGutters,c=e.selected,s=e.classes,l={root:["root",a&&"dense",t&&"disabled",!n&&"gutters",i&&"divider",c&&"selected"]},d=Object(o.a)(l,y,s);return Object(r.a)({},s,d)}(a),D=Object(m.a)(A,t);return a.disabled||(F=void 0!==M?M:-1),Object(S.jsx)(b.a.Provider,{value:k,children:Object(S.jsx)(C,Object(r.a)({ref:D,role:E,tabIndex:F,component:p,focusVisibleClassName:Object(s.a)(L.focusVisible,T),className:Object(s.a)(L.root,R)},P,{ownerState:w,classes:L}))})}));t.a=T},1949:function(e,t,a){"use strict";a.r(t);var i=a(9),n=a(2),r=a(5),c=a(1),s=a(53),o=a(7),l=a(6),d=a(3),u=a.n(d),b=a(1799),p=a(1778),j=a(39),m=a(38),O=a(604),f=a(20),h=a(4),g=a(15),v=a(350),y=a.n(v),x=a(56),S=a(611),N=a(399),C=a(92),T=a(231),I=a(286),E=a(234),M=a(1759),R=a(290),P=a(586),_=a(1054),k=a(165),A=a(588),F=a(167),w=a(232),L=a(1777),D=a(292),G=a(69),V=a(1065),B=a(1055),W=a(1056),z=a(605),H=a(33),Y=a.n(H),q=a(168),K=a(80),U=a(62),J=a(606),X=a(25),Z=a(108),Q=a(105),$=a(1751),ee=a(19),te=a(8),ae=a(1752),ie=a(55),ne=a(26),re=a(115),ce=a(32),se=a(96),oe=a(607),le=a(78),de=a(154),ue=a(0);t.default=function(e){var t,a,d,v,H=e.sortBy,be=Object(ee.b)(),pe=Object(o.e)(),je=Object(s.h)(),me=Object(s.g)(),Oe=Object(l.b)(),fe=Object(K.e)(),he=Object(ie.a)(),ge=Object(ne.a)().shouldShowNewClassResultPage,ve=Object(ne.a)().mbExploreTimezoneStandardization,ye=Object(de.a)().class_algorithm,xe=Object(c.useRef)({prevIsFetching:!1,prevFilters:{}}),Se=new g.a(je);Se.isNewExperience=!0;var Ne=Object(o.f)((function(e){return e.map.isVisible})),Ce=Object(o.f)((function(e){return e.map.isVisibleMobile})),Te=Object(x.b)(),Ie=Object(S.a)(),Ee=Se.getFilter(h.y.SORT_BY),Me=Object(o.f)((function(e){var t,a,i;return null===(t=e.session)||void 0===t||null===(a=t.user)||void 0===a||null===(i=a.id)||void 0===i?void 0:i.toString()})),Re=Object(c.useMemo)((function(){return Object(oe.b)(se.a.OP_CLASS_TIME_SORT_EXPERIMENT,Me)||h.a}),[Me]),Pe=H||Ee||Re.RELEVANCE,_e=null!==(t=null===(a=je.state)||void 0===a?void 0:a.originalPath)&&void 0!==t?t:je.pathname,ke=!!Object(s.f)(_e,{path:X.c.CANONICAL_LINK_FITNESS_CLASSES_BY_ADDRESS}),Ae=ge?ke?h.e:h.f:ke?h.d:h.c,Fe=function(){be.send(te.b.Filters.CLASS_SORTBY_TAPPED)},we=function(e){var t,a,i=null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.value,n=null===(a=ct.find((function(e){return e.value===i})))||void 0===a?void 0:a.label;Se.delete(h.y.PAGE),Se.set(h.y.SORT_BY,i),be.send(te.b.Filters.CLASS_SORTBY_APPLIED,{value:n}),he(re.a.Class_Sortby_Applied),me.push("".concat(je.pathname,"?").concat(Se.toParamsString()))},Le=Object(z.a)(Ie),De=Le.classTimeIds,Ge=Le.isFetching,Ve=Le.currentPage,Be=Le.found,We=Object(c.useRef)(null),ze=Se.getSearchTerm(),He=Object(q.a)(),Ye=Object(U.c)({source:"classTimes",ui:"classTimesResultsPage"}),qe=Se.getAllFilters(),Ke=Se.getFilter(h.y.DISTANCE,h.q),Ue=Object(c.useMemo)((function(){var e;return e={},Object(r.a)(e,h.y.CATEGORIES,qe[h.y.CATEGORIES]),Object(r.a)(e,h.y.CATEGORY_TYPE,f.b.FITNESS),Object(r.a)(e,h.y.DISTANCE,Ke>h.z?Object(le.d)(Ke):Ke),Object(r.a)(e,h.y.FLEXIBLE_PRICING,qe[h.y.FLEXIBLE_PRICING]),Object(r.a)(e,h.y.PAGE_SIZE,Ae),Object(r.a)(e,h.y.PAGE,qe[h.y.PAGE]),Object(r.a)(e,h.y.RECOMMENDER_RANKING_TYPE,qe[h.y.RECOMMENDER_RANKING_TYPE]),Object(r.a)(e,h.y.SORT_BY,Pe),Object(r.a)(e,h.y.START_TIME_RANGE,qe[h.y.START_TIME_RANGE]),Object(r.a)(e,h.y.TIME,qe[h.y.TIME]),Object(r.a)(e,h.y.VIRTUAL,qe[h.y.VIRTUAL]),e}),[Pe,qe,Ae,Ke]);Object(c.useEffect)((function(){ce.A.addNewPath(ce.q)}),[]),Object(c.useEffect)((function(){dt();var e=Se.getFilter(h.y.TIME),t=Se.getFilter(h.y.DATE);if(e&&!Se.isCorrectTimeRange(e)){var a=Se.updateFilter(h.y.TIME,"".concat(h.G,"-").concat(h.D));me.push("".concat(a,"?").concat(Se.toParamsString()))}var i=Se.getMBValidFilterDate(t);if(i){var n=Se.updateFilter(h.y.DATE,i);me.push("".concat(n,"?").concat(Se.toParamsString()))}}),[]),Object(c.useEffect)((function(){var e=xe.current,t=e.prevIsFetching,a=e.prevFilters,i=Object(j.isEmpty)(a);if(!0===t&&!1===Ge&&!Object(j.isEqual)(a,Ue)){fe.logEventForAllFilters(He.formattedAddress,{type:"search",value:ze,model:void 0,count:null!==Be&&void 0!==Be?Be:0,tab:"classes",filters:Object(n.a)(Object(n.a)({},Ue),{},{isDefaultSearch:i}),callbackHandler:function(){he(re.a.Class_Searched)}});var r={start_time:Ue.startTimeRanges.start.toISOString(),end_time:Ue.startTimeRanges.end.toISOString(),sort:Ue.sort,categories:Ue.categories,verticals:Ue.categoryType,distance:Ue.distance/1e3,dynamic_pricing_only:Ue.dp,virtual_only:Ue.virtual},c="class_search_results";fe.logMpEvent(c,{key:c,type:"page",origin_view:c,origin_component:"search_bar",location:{input:He.formattedAddress,city:He.city,state:He.regionName,country:He.countryName,latitude:He.lat,longitude:He.lng},results_count:null!==Be&&void 0!==Be?Be:0,search_term:ze,filter:r,class_
1search_algorithm:ye}),xe.current.prevFilters=Ue}xe.current.prevIsFetching=Ge}),[pe,fe,Ge,He,ze,Be,he,Ue,Pe,ye]),Object(c.useEffect)((function(){Object($.a)(Ce,We)}),[Ce]),Object(D.a)({isFetching:Ge,totalResults:Be||0,currentPageData:De,currentPageNumber:Ie,fetchData:function(e,t){pe(Object(O.a)(Se,e,t,Pe,Ae,h.q,ve))}});var Je=function(e){Se.set(h.y.PAGE,e.toString()),me.push("".concat(_e,"?").concat(Se.toParamsString()))},Xe=u()(Y.a.mapNew,(d={},Object(r.a)(d,Y.a.mapHidden,!Ne),Object(r.a)(d,Y.a.mapFull,Ce),d)),Ze=u()(Y.a.results,(v={},Object(r.a)(v,Y.a.resultsWithMap,Ne),Object(r.a)(v,Y.a.filterV2ResultsNoMap,!Ne),Object(r.a)(v,Y.a.resultsHidden,Ce),Object(r.a)(v,Y.a.resultsWithMapNew,Ne),v)),Qe=H===Re.RATING||Ee===Re.RATING?"local-results-by-rating":"local-results-by-relevance",$e=function(e,t){var a=Be&&Be<=Ae?Be:Ae,i=Be?Oe.text("ClassTimeResultsPage.Meta.TopFound","Top ".concat(a," Best")):Oe.text("ClassTimeResultsPage.Meta.Best","Best"),n=e?Oe.text("ClassTimeResultsPage.Meta.ClassVertical","".concat(y()(e))):Oe.text("ClassTimeResultsPage.Meta.Classes","Classes"),r=new Date,c=Object(G.a)(r,"MMMM"),s=Object(G.a)(r,"YYYY");return t?Oe.text("ClassTimeResultsPage.Meta.TopVerticalNear","".concat(ke?"":"The ").concat(i," ").concat(n," near ").concat(t," Updated ").concat(c," ").concat(s)):Oe.text("ClassTimeResultsPage.Meta.TopVerticalUpdated","".concat(ke?"":"The ").concat(i," ").concat(n," Updated ").concat(c," ").concat(s))},et=function(e,t){return Oe.text("ClassTimeResultsPage.Meta.Description","Discover the best ".concat(e," near you ").concat(t?"in ".concat(t):"",". Mindbody has the largest inventory of ").concat(e," for all ages and skill levels. Read reviews by your community and find the price or membership that works for you."))},tt=Object(o.f)(Q.b),at=Object(W.a)(je,!0,tt),it=[h.y.DATE,h.y.TIME,h.y.DISTANCE],nt=Object(c.useState)([{label:"Relevance",value:h.a.RELEVANCE},{label:"Distance",value:h.a.DISTANCE},{label:"Highest Rated",value:h.a.RATING}]),rt=Object(i.a)(nt,2),ct=rt[0],st=rt[1];Object(c.useEffect)((function(){st([{label:"Relevance",value:Re.RELEVANCE},{label:"Distance",value:Re.DISTANCE},{label:"Highest Rated",value:Re.RATING}])}),[Re]);var ot=Object(ue.jsx)(F.a,{getTitle:$e,getDescription:et,verticalName:f.b.FITNESS,metaRobotNoIndex:!0});ke&&!Object(j.isEmpty)(Ye)&&(ot=Object(ue.jsx)(F.a,{getTitle:$e,getDescription:et,verticalName:f.b.FITNESS,metaRobotNoIndex:!0,children:Object(ue.jsx)("script",{type:"application/ld+json",children:"".concat(JSON.stringify(Ye.map((function(e){var t=e.course,a=t.name,i=t.description,n={name:e.studio.name};return Object(J.a)(a,i,n)}))))})}));var lt=function(){pe(Object(Z.b)(!0))},dt=function(){pe(Object(Z.b)(!1))},ut=function(){pe(Object(Z.c)(!0))},bt=function(){pe(Object(Z.c)(!1))},pt=function(e){var t=e?dt:bt;return Object(ue.jsxs)(ue.Fragment,{children:[Object(ue.jsx)(ae.a,{onClick:t}),Object(ue.jsx)(B.a,{})]})};return Object(ue.jsx)(x.a,{timezone:Te,children:Object(ue.jsxs)("div",{"data-name":"Section.SearchResults",children:[ot,Object(ue.jsx)(M.a,{filters:at,topFilters:it,sortBy:Pe,sortOptions:ct,dataName:"ClassTimeResultsPage",renderHeader:function(){return Object(ue.jsxs)("div",{className:"pb-4",children:[Object(ue.jsx)(R.a,{className:u()("is-hidden-widescreen is-hidden-desktop is-marginless",Y.a.fitnessSelector)}),Object(ue.jsx)(C.d,{className:u()(Y.a.breadcrumbs,"pl-0"),verticalName:f.b.FITNESS,currentPage:Ve,pageSize:Ae,totalItems:Be||0}),Object(ue.jsxs)("div",{className:"is-flex is-align-items-center is-justify-content-space-between",children:[Object(ue.jsx)("div",{className:"is-flex is-flex-direction-column",children:Object(ue.jsx)(w.a,{variant:Qe,found:Be,pageSizeToCompare:Ae,currentPage:Ve})}),Object(ue.jsxs)("div",{className:u()(Y.a.overlayContainer,"is-hidden-mobile is-flex is-justify-content-flex-end"),children:[Object(ue.jsx)(p.a,{value:Pe,label:"Sort By",onChange:we,onOpen:Fe,small:!0,children:null===ct||void 0===ct?void 0:ct.map((function(e){var t=e.label,a=e.value;return Object(ue.jsx)(b.a,{value:a,children:t},t)}))}),Object(ue.jsx)("div",{className:u()(Y.a.disableOverlay,{"is-hidden":!Ge})})]})]})]})},isFetching:Ge,categoryType:f.b.FITNESS,children:Object(ue.jsx)(m.a,{query:"(max-width: 1100px)",children:function(e){var t=!e;return Object(ue.jsxs)("main",{children:[Object(ue.jsx)("div",{className:Xe,ref:We,children:(Ne||Ce)&&pt(t)}),Object(ue.jsxs)("div",{className:u()(Ze,"p-0"),children:[Object(ue.jsxs)("div",{className:"is-hidden-tablet",children:[Object(ue.jsx)(R.a,{className:u()(Y.a.fitnessSelector,"ml-3")}),Object(ue.jsx)(C.d,{className:Y.a.breadcrumbs,verticalName:f.b.FITNESS,currentPage:Ve,pageSize:Ae,totalItems:Be||0}),Object(ue.jsx)(w.a,{className:Y.a.searchSummary,variant:Qe,found:Be,pageSizeToCompare:Ae,currentPage:Ve})]}),Object(ue.jsx)("section",{children:!Ge&&De.length<=0?Object(ue.jsxs)("div",{className:Y.a.resultsList,children:[Object(ue.jsx)(k.a,{className:Y.a.standardPadding}),Object(ue.jsx)(_.a,{className:u()(Y.a.extraMarginTop,Y.a.cardSectionPadding)}),Object(ue.jsx)(P.a,{className:u()(Y.a.extraMarginTop,Y.a.standardPadding),variant:"classTime-results"})]}):Object(ue.jsxs)(ue.Fragment,{children:[!Ge&&Object(ue.jsx)(L.a,{vertical:f.b.FITNESS,imgContainerStyle:u()({"is-
1hidden":Ne},Y.a.imgContainerStyle)}),Object(ue.jsx)(V.a,{location:je,isFetching:Ge,isMapVisible:Ne}),!Ge&&!Ne&&!Ce&&Object(ue.jsx)(ae.b,{onClick:t?lt:ut}),!Ge&&Be&&Be>Ae&&Object(ue.jsx)(T.a,{currentPage:Ve,pageSize:Ae,totalItems:Be||0,onPageChange:Je})]})})]})]})}})}),Object(ue.jsxs)("div",{className:"container",children:[Object(ue.jsx)(A.a,{sections:["studios","instructors"],children:Object(ue.jsx)(I.b,{showTitle:!0})}),Object(ue.jsx)(N.a,{}),Object(ue.jsx)(E.a,{})]})]})})}}}]);
2//# sourceMappingURL=13.ce529488.chunk.js.map

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.