1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[95405],{90706:function(e,n,t){"use strict";var i=t(4942),r=t(87462),o=t(77602),c=t(94184),a=t.n(c),s=t(67294),l=t(53124),u=function(e,n){var t={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&n.indexOf(i)<0&&(t[i]=e[i]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)n.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(t[i[r]]=e[i[r]])}return t},d=s.forwardRef((function(e,n){var t,c=e.dots,d=void 0===c||c,f=e.arrows,h=void 0!==f&&f,g=e.draggable,p=void 0!==g&&g,v=e.dotPosition,m=void 0===v?"bottom":v,x=e.vertical,y=void 0===x?"left"===m||"right"===m:x,b=u(e,["dots","arrows","draggable","dotPosition","vertical"]),Z=s.useContext(l.E_),j=Z.getPrefixCls,w=Z.direction,R=s.useRef(),H=function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];R.current.slickGoTo(e,n)};s.useImperativeHandle(n,(function(){return{goTo:H,autoPlay:R.current.innerSlider.autoPlay,innerSlider:R.current.innerSlider,prev:R.current.slickPrev,next:R.current.slickNext}}),[R.current]);var F=s.useRef(s.Children.count(b.children));s.useEffect((function(){F.current!==s.Children.count(b.children)&&(H(b.initialSlide||0,!1),F.current=s.Children.count(b.children))}),[b.children]);var P=(0,r.Z)({vertical:y},b);"fade"===P.effect&&(P.fade=!0);var S=j("carousel",P.prefixCls),k="slick-dots",C=!!d,z=a()(k,"".concat(k,"-").concat(m),"boolean"!==typeof d&&(null===d||void 0===d?void 0:d.className)),_=a()(S,(t={},(0,i.Z)(t,"".concat(S,"-rtl"),"rtl"===w),(0,i.Z)(t,"".concat(S,"-vertical"),"left"===m||"right"===m),t));return s.createElement("div",{className:_},s.createElement(o.default,(0,r.Z)({ref:R},P,{dots:C,dotsClass:z,arrows:h,draggable:p})))}));n.Z=d},48312:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return t(5075)}])},5075:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSG:function(){return O}});var i=t(47568),r=t(20414),o=t(85893),c=t(27484),a=t.n(c),s=t(18522),l=t(1673),u=t(5152),d=t.n(u),f=t(9008),h=t.n(f),g=t(41664),p=t.n(g),v=t(67294),m=t(15313),x=t(16384),y=t(20615),b=t(50011),Z=t(80378),j=t(87297),w=t(42316),R=t(26324),H=t(14378),F=t(58877),P=t(88283),S=t(59371),k=t(59186),C=t(76562),z=d()((function(){return Promise.all([t.e(94199),t.e(7352)]).then(t.bind(t,7352))}),{loadableGenerated:{webpack:function(){return[7352]}}}),_=d()((function(){return Promise.all([t.e(71829),t.e(32394)]).then(t.bind(t,32394))}),{loadableGenerated:{webpack:function(){return[32394]}}}),E=d()((function(){return Promise.all([t.e(71829),t.e(95310)]).then(t.bind(t,95310))}),{loadableGenerated:{webpack:function(){return[95310]}}}),I=d()((function(){return Promise.all([t.e(94199),t.e(71829),t.e(63057)]).then(t.bind(t,63057))}),{loadableGenerated:{webpack:function(){return[63057]}}}),N=d()((function(){return t.e(52972).then(t.bind(t,52972))}),{loadableGenerated:{webpack:function(){return[52972]}}}),L=d()((function(){return Promise.all([t.e(25935),t.e(71462),t.e(66585)]).then(t.bind(t,44005))}),{loadableGenerated:{webpack:function(){return[44005]}}}),T=function(e){var n=e.programResponse,t=(null===n||void 0===n?void 0:n.items)||[],c=(0,m.v9)(P.Z.getAuthenticating),u=(0,m.v9)(P.Z.getIsLoggedIn),d=(0,m.v9)(P.Z.getCurrentActiveProgramId),f=(0,m.v9)(P.Z.getCurrentSchedule),g=(0,H.FJ)(),F=(0,v.useState)(0)[1],T=(0,v.useState)(),O=T[0],V=T[1],G=(0,v.useState)(void 0),W=G[0],A=G[1],B=(0,v.useState)(void 0),$=B[0],D=B[1],M=function(){var e=(0,i.Z)((function(){var e;return(0,r.__generator)(this,(function(n){switch(n.label){case 0:return[4,x.Z.getFilter()];case 1:return e=n.sent(),V(e),[2]}}))}));return function(){return e.apply(this,arguments)}}(),U=function(){var e=(0,i.Z)((function(){var e;return(0,r.__generator)(this,(function(n){switch(n.label){case 0:return[4,x.Z.getLatestRecipe()];case 1:return e=n.sent(),A(e),[2]}}))}));return function(){return e.apply(this,arguments)}}(),q=function(){var e=(0,i.Z)((function(){var e;return(0,r.__generator)(this,(function(n){switch(n.label){case 0:return[4,y.Z.getPublicRecentVideos({page:1,perPage:3})];case 1:return e=n.sent(),D(e),[2]}}))}));return function(){return e.apply(this,arguments)}}();(0,v.useEffect)((function(){M(),U(),q(),window.addEventListener("resize",J,!1),window.addEventListener("load",J,!1)}),[]);var J=function(){var e=window.innerWidth;F((e-((e-80)/2-40)-40)/2)},X=function(e){return u&&d&&d===e.id&&!(null===f||void 0===f?void 0:f.finishedAt)?k.Gh:"/program/".concat(e.slug)};return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(h(),{children:[(0,o.jsx)("title",{children:"Core by Chloe Ting - Free Workout Programs"}),(0,o.jsx)("meta",{name:"description",content:"Free home workout videos or programs to lose weight or gain muscle. Find beginner friendly or equipment based schedules & healthy recipes for your fitness goals"},"description"),(0,o.jsx)("meta",{property:"og:description",content:"Free home workout videos or programs to lose weight or gain muscle. Find beginner friendly or equipment based schedules & healthy recipes for your fitness goals"},"og_description")]}),(0,o.jsxs)(S.W2,{children:[(0,o.jsx)(s.X,{features:l.H,children:(0,o.jsx)(C.Z,{})}),(0,o.jsx)(b.Z,{dataFuse:R.r.HomeHorizontal1}),(0,o.jsxs)(S.lk,{children:[(0,o.jsxs)(S.Bu,{children:[(0,o.jsx)("h3",{children:"Free Workout Programs"}),Boolean(t.length)&&(0,o.jsx)(S.Tv,{href:"/program",passHref:!0,children:(0,o.jsx)("a",{className:"hide-for-small-only",target:"_blank",children:(0,o.jsx)(S.C5,{children:"View All Programs"})})})]}),(0,o.jsx)(S.dJ,{children:null===t||void 0===t?void 0:t.map((function(e){return(0,o.jsx)(p(),{href:X(e),passHref:!0,children:(0,o.jsxs)(S.eP,{children:[(0,o.jsx)(S._L,{children:(0,o.jsx)(w.Z,{src:e.bannerImageUrl||"",sizes:"(min-width: 768px) 33vw, 100vw",quality:100,layout:"fill",objectFit:"cover",alt:"banner",eagerload:!0})}),(0,o.jsxs)(S.zU,{children:[e.tagNew&&(0,o.jsx)(S.Am,{children:"NEW"}),"".concat(a()(e.startedAt).year()," ").concat(e.name)]})]})},e.id)}))}),!!(null===t||void 0===t?void 0:t.length)&&(0,o.jsx)("div",{className:"p__h--24",children:(0,o.jsx)(S.Tv,{href:"/program",passHref:!0,children:(0,o.jsx)("a",{className:"show-for-small-only",target:"_blank",children:(0,o.jsx)(S.C5,{children:"View All Programs"})})})})]}),(0,o.jsx)(S.lk,{className:"m__t--30",children:!!$&&(0,o.jsx)(z,{workoutVideo:$})}),(0,o.jsx)(b.Z,{dataFuse:R.r.HomeHorizontal2}),(0,o.jsxs)(S.zp,{children:[(0,o.jsxs)(S.Bu,{children:[(0,o.jsx)("h3",{children:"Merch"}),(0,o.jsx)(S.Tv,{href:"https://store.chloeting.com/",children:(0,o.jsx)("a",{className:"hide-for-small-only",target:"_blank",children:(0,o.jsx)(S.C5,{children:"Visit Store"})})})]}),g?(0,o.jsx)(_,{}):(0,o.jsx)("div",{className:"d-flex flex-direction--column merch-mobile",children:(0,o.jsx)(E,{})}),(0,o.jsx)("div",{className:"p__h--24",children:(0,o.jsx)(S.Tv,{href:"https://store.chloeting.com/",passHref:!0,children:(0,o.jsx)("a",{className:"show-for-small-only",target:"_blank",children:(0,o.jsx)(S.C5,{children:"Visit Store"})})})})]}),(0,o.jsx)(S.lk,{className:"m__t--60",children:!!W&&(0,o.jsx)(I,{filter:O,latestRecipe:W})}),(0,o.jsx)(b.Z,{dataFuse:R.r.HomeHorizontal3}),!c&&!u&&(0,o.jsxs)(S.l3,{children:[(0,o.jsxs)(S.MD,{children:[(0,o.jsx)(S.Am,{children:"ABSOLUTELY FREE"}),(0,o.jsx)(S.C2,{children:"Get more out of your fitness journey"}),(0,o.jsxs)(S.t$,{children:[(0,o.jsx)("h3",{children:"Join the community to track y
1our progress"}),(0,o.jsxs)("h4",{children:[(0,o.jsx)(Z.Z,{icon:"check"}),"Personal daily workout schedule"]}),(0,o.jsxs)("h4",{children:[(0,o.jsx)(Z.Z,{icon:"check"}),"Complete challenges as a team"]}),(0,o.jsxs)("h4",{children:[(0,o.jsx)(Z.Z,{icon:"check"}),"Track your progress visually and in journal entries"]}),(0,o.jsxs)("h4",{children:[(0,o.jsx)(Z.Z,{icon:"check"}),"Set customizable reminders"]}),(0,o.jsxs)("h4",{children:[(0,o.jsx)(Z.Z,{icon:"check"}),"Save and organize your favorite recipes"]}),(0,o.jsxs)("h4",{children:[(0,o.jsx)(Z.Z,{icon:"check"}),"Earn achievements for completing milestones"]})]}),(0,o.jsx)(p(),{href:"/signup",passHref:!0,children:(0,o.jsx)(j.Qj,{children:"Create Account"})})]}),(0,o.jsx)(S.zG,{children:(0,o.jsx)(L,{})})]}),(0,o.jsx)(N,{programResponse:n})]})]})},O=!0;n.default=T,T.getLayout=function(e){return(0,o.jsx)(F.Z,{isFullWidth:!0,footerAd:!1,children:e})}},16384:function(e,n,t){"use strict";var i=t(51438),r=t(52951),o=t(97334),c=t.n(o),a=t(52913),s=t(3167),l=function(){function e(){(0,i.Z)(this,e),this.getRecipes=function(e){return e.kind=a.nT.CORE,s.Z.get("/recipe?".concat(c().stringify(e)))},this.getRecipeById=function(e){return s.Z.get("/recipe/".concat(e))},this.getRecipeBySlug=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return s.Z.get("/recipe/slug/".concat(e).concat(n?"?".concat(c().stringify(n)):""))},this.getFilter=function(){return s.Z.get("/recipe/filter")},this.getLatestRecipe=function(e){return e?e.kind=a.nT.CORE:e={kind:a.nT.CORE},s.Z.get("/recipe/latest?".concat(c().stringify(e)))},this.getSavedRecipes=function(e){return s.Z.get("saved-recipe/list?".concat(c().stringify(e)))},this.saveRecipe=function(e){return s.Z.post("saved-recipe/".concat(e))},this.unsaveRecipe=function(e){return s.Z.delete("saved-recipe/".concat(e))},this.getRecipeFolders=function(e){return s.Z.get("recipe-folder/list?".concat(c().stringify(e)))},this.getRecipeFolderBySlug=function(e){return s.Z.get("recipe-folder/slug/".concat(e))},this.createRecipeFolder=function(e){return s.Z.post("recipe-folder",{name:e})},this.updateRecipeFolder=function(e,n){return s.Z.put("recipe-folder/".concat(e),{name:n})},this.removeRecipeFolder=function(e){return s.Z.delete("recipe-folder/".concat(e))},this.addRecipeToMultipleFolder=function(e,n){return s.Z.post("recipe-folder/recipes",{recipeId:e,folderIds:n})},this.moveRecipeToAnotherFolder=function(e,n,t){return s.Z.put("recipe-folder/recipes",{recipeId:e,oldFolderId:n,newFolderIds:t})},this.removeRecipeFromFolder=function(e){return s.Z.delete("recipe-folder/recipes?".concat(c().stringify(e)))},this.getRecipeFoldersHaveRecipe=function(e){return s.Z.get("recipe-folder/recipes/".concat(e,"/folders"))},this.getRecipeRecommendations=function(e,n){return s.Z.get("recipe/recommended?excludeRecipeId=".concat(e).concat(n?"&userId=".concat(n):"").concat("&kind=".concat(a.nT.CORE)))},this.checkSavedRecipe=function(e){return s.Z.get("saved-recipe/".concat(e,"/check"))},this.getRecipesByForlderSlug=function(e,n){return s.Z.get("recipe-folder/slug/".concat(e,"/recipe").concat(n?"?".concat(c().stringify(n)):""))},this.getRatingRecipe=function(e,n){return s.Z.get("recipe/".concat(e,"/rating"),{params:{userId:n}})},this.upsertRatingRecipe=function(e,n,t){return s.Z.put("recipe/".concat(e,"/rating"),{ratingValue:n,userId:t})},this.getTotalRecipeInCategory=function(e){return s.Z.get("/recipe/categories/total",{params:{slugs:e,kind:a.nT.CORE}})},this.removeRecipesFromFolder=function(e,n){return s.Z.delete("recipe-folder/".concat(e,"/recipes?").concat(c().stringify(n)))},this.getCollectionBySlug=function(e,n){return s.Z.get("/collection/recipe/".concat(e,"?").concat(c().stringify(n)))},this.getCollectionBySlugSsr=function(e,n){return s.Z.get("/collection/recipe/".concat(e,"/ssr?").concat(c().stringify(n)))}}return(0,r.Z)(e,null,[{key:"instance",get:function(){return this.classInstance||(this.classInstance=new e),this.classInstance}}]),e}();n.Z=l.instance},20615:function(e,n,t){"use strict";var i=t(51438),r=t(52951),o=t(97334),c=t.n(o),a=t(3167),s=function(){function e(){(0,i.Z)(this,e),this.getPublicPopularVideos=function(e){return a.Z.get("/video/public/popular?".concat(c().stringify(e)))},this.getPublicRecentVideos=function(e){return a.Z.get("/video/public/recent?".concat(c().stringify(e)))},this.getPublicRandomVideo=function(e){return a.Z.get("/video/public/random?".concat(c().stringify(e)))},this.getPopularVideos=function(e){return a.Z.get("/video/popular?".concat(c().stringify(e)))},this.getRecentVideos=function(e){return a.Z.get("/video/recent?".concat(c().stringify(e)))},this.getFavoriteVideos=function(e){return a.Z.get("/video/favorite?".concat(c().stringify(e)))},this.getRandomVideo=function(e){return a.Z.get("/video/random?".concat(c().stringify(e)))},this.getRandomVideoFavorite=function(e){return a.Z.get("/video/favorite/random?".concat(c().stringify(e)))},this.saveVideo=function(e){return a.Z.post("/video/favorite/".concat(e))},this.unsaveVideo=function(e){return a.Z.delete("/video/favorite/".concat(e))},this.completedVideo=function(e,n){return a.Z.post("/video/completed/".concat(e),n)},this.getVideoCollectionBySlug=function(e,n){return a.Z.get("/collection/video/".concat(e,"?").concat(c().stringify(n)))},this.getRandomVideoBySlug=function(e,n){return a.Z.get("/collection/video/".concat(e,"/random?").concat(c().stringify(n)))}}return(0,r.Z)(e,null,[{key:"instance",get:function(){return this.classInstance||(this.classInstance=new e),this.classInstance}}]),e}();n.Z=s.instance},46765:function(e,n,t){"use strict";t.d(n,{i:function(){return h}});var i=t(7297),r=t(85893),o=t(15313),c=t(87379),a=t(14378),s=t(88283),l=t(35081);function u(){var e=(0,i.Z)(["\n ","\n\n ","\n\n > div,\n > div > div,\n > div > div > iframe {\n ","\n }\n "]);return u=function(){return e},e}function d(){var e=(0,i.Z)(["\n &.text-align--left {\n div > div {\n margin-left: 0 !important;\n }\n }\n\n &.custom-align {\n margin-left: -60px !important;\n }\n\n > div,\n > div > div,\n > div > div > iframe {\n ","\n }\n "]);return d=function(){return e},e}function f(){var e=(0,i.Z)(["\n margin: 20px auto;\n\n ","\n\n > div,\n > div > div,\n > div > div > iframe {\n ","\n }\n\n ","\n\n ","\n"]);return f=function(){return e},e}n.Z=function(e){var n=e.dataFuse,t=e.className,i=e.isInSavedRecipePage,c=void 0!==i&&i,l=e.isListingRecipe,u=void 0!==l&&l,d=e.isRecipeDetail,f=void 0!==d&&d,g=e.isNewUI,p=void 0!==g&&g,v=(0,a.O_)(),m=(0,o.v9)(s.Z.getIsNoAds);return v?m?null:f?(0,r.jsx)(h,{"data-fuse":n,className:t,$minWidth:300}):c||u?(0,r.jsx)(h,{"data-fuse":n,className:t,$limitWidth:!0}):(0,r.jsx)(h,{"data-fuse":n,className:t,$isNewUI:p}):null};var h=c.ZP.div.withConfig({componentId:"sc-7f22d1ba-0"})(f(),(function(e){return e.$limitWidth&&"\n max-width: 325px !important;\n "}),(function(e){return e.$limitWidth&&"\n max-width: 325px !important;\n "}),l.c.md(u(),(function(e){var n=e.$minWidth,t=void 0===n?0:n;return t?"min-width: ".concat(t,"px;"):"min-width: auto;"}),(function(e){return e.$limitWidth&&"max-width: unset !important;"}),(function(e){return e.$limitWidth&&"\n max-width: unset !important;\n "})),l.c.lg(d(),(function(e){return e.$isNewUI&&"\n max-width: 920px !important;\n "})))},50011:function(e,n,t){"use strict";t.d(n,{Z:function(){return i.Z}});var i=t(46765)},26324:function(e,n,t){"use strict";var i;t.d(n,{r:function(){return i}}),function(e){e.HomeHorizontal1="22694023152",e.HomeHorizontal2="22694178472",e.HomeHorizontal3="22696025141",e.RecipeListingHorizontal1="22696025486",e.RecipeListingHorizontal2="22696025489",e.RecipeListingHorizontal3="22696024016",e.RecipeFavsHorizontal1="22696025492",e.RecipeFavsHorizontal2="22696025498",e.RecipeFavsHorizontal3="22696025501",e.RecipeFolderHorizontal1="22696025495",e.RecipeFolderHorizontal2="22696025504",e.RecipeFolderHorizontal3="22696025144",e.RecipeDetailsRectangle="22696025513",e.RecipeDetailsSquare="22695572607",e.RecipeDetailsHorizontal1="22696025510",e.RecipeDetailsHorizontal2="22696025147",e.RecipeDetailsHorizontal3="2269602550
17",e.TermsConditionsSquare="22695572613",e.PrivacyPolicyVertical="22696025150",e.FaqSquare="22695572610",e.ProgramListHorizontal1="22695572619",e.ProgramListHorizontal2="22695572622",e.ProgramListHorizontal3="22695572616",e.ProgramListHorizontal4="22696025153",e.ProgramListHorizontal5="22695572628",e.ProgramListHorizontalFinal="22695572625",e.GuestScheduleHorizontal1="22695572631",e.GuestScheduleHorizontal2="22696025156",e.GuestScheduleHorizontal3="22695572640",e.GuestScheduleHorizontal4="22695572643",e.GuestScheduleHorizontal5="22695572646",e.GuestScheduleHorizontal6="22695572637",e.GuestScheduleAboveFooter="22695572634",e.GuestScheduleSquare="22696025159",e.ScheduleComingsoonHorizontal="22695572649",e.LoggedinScheduleHorizontal1="22695572655",e.LoggedinScheduleTablet="22717331895",e.LoggedinScheduleMobile="22717333389",e.LoggedinScheduleHorizontal2="22696025162",e.LoggedinScheduleHorizontal3="22695572652",e.DiaryHorizontal="22737936875",e.DiaryMrec="22749522361",e.WorkoutLibraryHorizontal1="22772583178",e.WorkoutLibraryHorizontal2="22772930363",e.WorkoutLibraryHorizontalFinal="22772585098",e.DashboardMenuSquare="22858682629",e.DashboardScheduleHorizontal1="22858577073",e.DashboardPhotos="22858685875",e.DashboardChallengeHistory="22858687999",e.DashboardJournal="22858588347",e.CommunityVertical="22987144739",e.CommunityHorizontal="22987136591"}(i||(i={}))},52913:function(e,n,t){"use strict";var i,r,o;t.d(n,{Ht:function(){return r},hR:function(){return i},nT:function(){return o}}),function(e){e.CORE="core",e.COMMUNITY="community"}(i||(i={})),function(e){e.MINUTES="minutes",e.HOURS="hours"}(r||(r={})),function(e){e.CORE="core",e.COMMUNITY="community"}(o||(o={}))},63453:function(e,n,t){"use strict";t.d(n,{P:function(){return o}});var i=t(7297);function r(){var e=(0,i.Z)(["\n [class='publift-widget-container'],\n [class='publift-widget-sticky_footer-container'],\n [class='publift-widget-22662372786-container'],\n [class='publift-widget-22648926236-container'] {\n display: none !important;\n }\n"]);return r=function(){return e},e}var o=(0,t(87379).vJ)(r())},58877:function(e,n,t){"use strict";t.d(n,{Z:function(){return A}});var i=t(7297),r=t(85893),o=t(5152),c=t.n(o),a=t(67294),s=t(15313),l=t(56562),u=t.n(l),d=(t(14973),t(87379)),f=t(26042),h=t(69396),g=t(99534),p=t(11382),v=t(60557),m=t(26010),x=t(28598),y=t(47236);function b(){var e=(0,i.Z)(["\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n position: absolute;\n"]);return b=function(){return e},e}function Z(){var e=(0,i.Z)(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 2147483647;\n background-color: ",";\n"]);return Z=function(){return e},e}var j=(0,d.ZP)(p.Z).withConfig({componentId:"sc-7b2f1f3c-0"})(b()),w=d.ZP.div.withConfig({componentId:"sc-7b2f1f3c-1"})(Z(),(0,y.m4)(x.Uc,.5)),R=function(e){var n=e.heightSpin,t=(0,g.Z)(e,["heightSpin"]);return(0,r.jsx)(w,{children:(0,r.jsx)(j,(0,h.Z)((0,f.Z)({},t),{indicator:(0,r.jsx)(m.Z,{animationData:v,height:n})}))})};R.defaultProps={heightSpin:120};var H=R,F=t(14378),P=a.createContext({headerRef:null,layoutRef:null,footerRef:null}),S=t(88283),k=t(35081),C=t(63453);function z(){var e=(0,i.Z)(["\n ","\n display: flex;\n flex-direction: column;\n ","\n"]);return z=function(){return e},e}function _(){var e=(0,i.Z)(["\n max-width: calc(var(--container-width) + var(--layout-gutter) * 2);\n padding: 0 var(--layout-gutter);\n "]);return _=function(){return e},e}function E(){var e=(0,i.Z)(["\n flex: 1;\n width: 100%;\n ","\n"]);return E=function(){return e},e}function I(){var e=(0,i.Z)(["\n color: white;\n font-weight: 500;\n font-size: 14px;\n"]);return I=function(){return e},e}var N=c()((function(){return t.e(46235).then(t.bind(t,46235))}),{loadableGenerated:{webpack:function(){return[46235]}},ssr:!1}),L=c()((function(){return Promise.all([t.e(41664),t.e(39931)]).then(t.bind(t,39931))}),{loadableGenerated:{webpack:function(){return[39931]}},ssr:!1}),T=c()((function(){return Promise.all([t.e(41664),t.e(91033),t.e(94199),t.e(69072)]).then(t.bind(t,69072))}),{loadableGenerated:{webpack:function(){return[69072]}}}),O=c()((function(){return Promise.all([t.e(41664),t.e(91033),t.e(94199),t.e(97868),t.e(25675),t.e(99709),t.e(96180),t.e(81089),t.e(62388),t.e(59228),t.e(22210),t.e(35827),t.e(19418),t.e(66127)]).then(t.bind(t,19418))}),{loadableGenerated:{webpack:function(){return[19418]}}}),V=d.ZP.div.withConfig({componentId:"sc-7f97eba3-0"})(z(),(function(e){return e.$isFullHeightByPercent?"min-height: 100%;":"min-height: 100vh;"}),(function(e){var n=e.$bgColor;return!!n&&"background-color: ".concat(n,";")})),G=d.ZP.section.withConfig({componentId:"sc-7f97eba3-1"})(E(),(function(e){return!e.$isFullWidth&&"\n margin: 0 auto;\n max-width: calc(var(--container-width) + var(--layout-gutter-mobile) * 2);\n padding: 0 var(--layout-gutter-mobile);\n ".concat(k.c.md(_()),"\n ")})),W=d.ZP.button.withConfig({componentId:"sc-7f97eba3-2"})(I()),A=function(e){var n=e.children,t=e.isFullHeightByPercent,i=void 0!==t&&t,o=e.isFullWidth,c=void 0!==o&&o,l=e.footerAd,d=void 0===l||l,f=e.hideNav,h=void 0!==f&&f,g=e.hideFooter,p=void 0!==g&&g,v=e.isSettingPage,m=void 0!==v&&v,x=e.isFullWidthHeader,y=void 0!==x&&x,b=e.isFullWidthFooter,Z=void 0!==b&&b,j=e.bgColor,w=e.showVerifyEmailAnnouncement,R=void 0===w||w,k=(0,a.useRef)(null),z=(0,a.useRef)(null),_=(0,a.useRef)(null),E=(0,F.aC)().currentUser,I=R&&!!E&&!E.isLocalEmailVerified&&!!E.trialExpiredAt&&!E.googleEmail,A=(0,s.v9)(S.Z.getIsNoAds),B=(0,s.v9)(S.Z.loading).isLoadingFullScreen;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(u(),{title:"Core by Chloe Ting",price:{ios:"Free",android:"Free"},storeText:{android:"On Google Play Store",ios:"On App Store"},button:(0,r.jsx)(W,{children:"View"}),position:"top",daysReminder:365}),B&&(0,r.jsx)(H,{}),(!1===d||A||m)&&(0,r.jsx)(C.P,{}),(0,r.jsxs)(V,{ref:k,$bgColor:j,$isFullHeightByPercent:i,children:[(0,r.jsx)(O,{ref:z,hideNav:h,footerAd:d,isFullWidth:y}),(0,r.jsxs)(P.Provider,{value:{layoutRef:k,headerRef:z,footerRef:_},children:[I&&(0,r.jsx)(L,{userEmail:E.localEmail||"",expireVerifyTime:E.trialExpiredAt}),(0,r.jsx)(G,{$isFullWidth:c,children:n})]}),!m&&!p&&(0,r.jsx)(T,{ref:_,ad:d&&!A,isFullWidth:Z}),!m&&d&&!A&&(0,r.jsx)(N,{})]})]})}},88387:function(e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isNavigator=n.isBrowser=n.off=n.on=n.noop=void 0;n.noop=function(){},n.on=function(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];e&&e.addEventListener&&e.addEventListener.apply(e,n)},n.off=function(e){for(var n=[],t=1;t<arguments.length;t++)n[t-1]=arguments[t];e&&e.removeEventListener&&e.removeEventListener.apply(e,n)},n.isBrowser="undefined"!==typeof window,n.isNavigator="undefined"!==typeof navigator},99501:function(e,n,t){"use strict";var i=t(67294),r=t(88387);n.Z=function(e,n){var t=i.useState(function(e,n){return void 0!==n?n:!!r.isBrowser&&window.matchMedia(e).matches}
1(e,n)),o=t[0],c=t[1];return i.useEffect((function(){var n=!0,t=window.matchMedia(e),i=function(){n&&c(!!t.matches)};return t.addListener(i),c(t.matches),function(){n=!1,t.removeListener(i)}}),[e]),o}}},function(e){e.O(0,[41664,91033,11540,25675,77602,12560,96819,62631,50608,76562,49774,92888,40179],(function(){return n=48312,e(e.s=n);var n}));var n=e.O();_N_E=n}]);
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.