PageSourceSearch

https://join.gofitify.com/_next/static/chunks/pages/[funnelId]/how-often-exercise-d237c0b811814b03.js

js gofitify.com collected 2026-10-01 15:16:42 UTC 9,012 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8024],{2087:(e,i,t)=>{"use strict";t.d(i,{a:()=>m});var n=t(6029),o=t(55729),r=t(79945),a=t(26160),s=t(71238),l=t(12457);let c=({dynamicSizes:e,isDesktop:i,variant:t})=>{switch(t){case"small":return e[i?"desktop":"mobile"]["Height/Choice card"];case"medium":return"86px";case"x-medium":return"96px";default:return"140px"}},d=r.I4.button.withConfig({componentId:"sc-c54238e3-0"})(["position:relative;display:flex;overflow:hidden;width:100%;flex-direction:row;align-items:center;justify-content:space-between;margin:0;color:",";cursor:pointer;text-align:left;transition:all 0.3s ease;"," "," ",";&[disabled]{cursor:not-allowed;pointer-events:none;}"],({theme:e})=>e.colors["N Content/Primary"],({theme:e,$backgroundVariant:i})=>"blur"===i?(0,r.AH)(["backdrop-filter:blur(4px);background:",";outline:2px solid ",";"],e.colors["N Surface/BG Blur Primary"],e.colors["N Outline/Primary"]):(0,r.AH)(["background:",";outline:2px solid transparent;"],e.colors["N Surface/Primary"]),({theme:e,$variant:i})=>(0,r.AH)(["min-height:",";padding:0;border:none;border-radius:","px;@media ","{min-height:",";}"],c({dynamicSizes:e.dynamicSizes,isDesktop:!1,variant:i}),e.radius["Radius LG"],l.L.MD,c({dynamicSizes:e.dynamicSizes,isDesktop:!0,variant:i})),({$isHighlighted:e,theme:i})=>e?(0,r.AH)(["outline-color:",";"],i.colors["N Outline/Brand Selected"]):(0,r.AH)(["@media (hover:hover) and (pointer:fine){&:focus-visible,&:hover{outline-color:",";}}"],i.colors["N Outline/Brand Hover"])),h=r.I4.div.withConfig({componentId:"sc-c54238e3-1"})(["display:flex;width:100%;flex-direction:column;order:",";padding:",";hyphens:auto;overflow-wrap:break-word;",""],({$imagePosition:e})=>"left"===e?2:1,({$hasCheckbox:e,$hasImage:i,$imagePosition:t})=>{let n=i?"0":"10px";return`${n} ${i&&"right"===t?"0":e?"48px":"16px"} ${n} 16px`},({$hasCheckbox:e,$hasImage:i,$imageWidth:t})=>e?i&&t?(0,r.AH)(["max-width:calc(100% - ","px);"],t):null:(0,r.AH)(["flex-grow:1;align-items:center;text-align:center;"])),u=(0,r.I4)(s.o).withConfig({componentId:"sc-c54238e3-2"})(["white-space:pre-line;"]),p=r.I4.img.withConfig({componentId:"sc-c54238e3-3"})(["max-height:",";order:",";object-fit:contain;@media ","{max-height:",";}"],({$variant:e,theme:i})=>c({dynamicSizes:i.dynamicSizes,isDesktop:!1,variant:e}),({$imagePosition:e})=>"left"===e?1:2,l.L.MD,({$variant:e,theme:i})=>c({dynamicSizes:i.dynamicSizes,isDesktop:!0,variant:e})),g=r.I4.div.withConfig({componentId:"sc-c54238e3-4"})(["position:absolute;top:50%;right:16px;display:",";width:","px;height:","px;align-items:center;justify-content:center;transform:translateY(-50%);"],({$hasCheckbox:e})=>e?"flex":"none",28,28),m=({backgroundVariant:e="solid",hasCheckbox:i=!0,imagePosition:t="right",imageProps:l,isSelected:c,onSelect:m,subtitle:f,title:x,unselectedRadioVariant:v,value:w,variant:b,..._})=>{let y=(0,r.DP)(),[k,$]=(0,o.useState)(!1),C=(0,o.useRef)(null),j=c||k,N=(0,o.useCallback)(()=>{_.disabled||m(w)},[_,m,w]);return(0,o.useEffect)(()=>()=>{null!==C.current&&(cancelAnimationFrame(C.current),C.current=null)},[]),(0,n.jsxs)(d,{$backgroundVariant:e,$isHighlighted:j,$variant:b,onClick:N,role:"button","aria-pressed":c,"aria-label":x,onPointerLeave:()=>{_.disabled||$(!1)},onPointerUp:()=>{_.disabled||(null!==C.current&&(cancelAnimationFrame(C.current),C.current=null),C.current=requestAnimationFrame(()=>{$(!1),C.current=null}))},onPointerDown:()=>{_.disabled||$(!0)},..._,children:[(0,n.jsxs)(h,{$hasImage:!!l,$hasCheckbox:i,$imagePosition:t,$imageWidth:l?.width,$variant:b,children:[(0,n.jsx)(u,{$color:_.disabled?y.colors["N Content/Disabled"]:y.colors["N Content/Primary"],$variant:"Poppins/T2 - Medium",children:x}),f&&(0,n.jsx)(s.o,{$color:_.disabled?y.colors["N Content/Disabled"]:y.colors["N Content/Secondary"],$variant:"Poppins/T3",children:f})]}),l&&(0,n.jsx)(p,{$imagePosition:t,$variant:b,...l}),(0,n.jsx)(g,{$hasCheckbox:i,children:(0,n.jsx)(a.s,{isSelected:c,isDisabled:_.disabled,unselectedVariant:v})})]})}},6532:(e,i,t)=>{"use strict";t.d(i,{t:()=>p});
1var n=t(6029),o=t(82066),r=t(2087),a=t(56788),s=t(83617),l=t(77271),c=t(98600),d=t(45391),h=t(66503),u=t(58886);let p=({analyticsMapping:e,belowTitleComponent:i,children:t,choiceBackgroundVariant:p,choiceUnselectedRadioVariant:g,funnel:m,heading:f,isMultiChoice:x=!1,onChange:v,options:w,pageConfig:b,subtitle:_,subtitleColorVariant:y,title:k,titleAlign:$,titleSize:C,value:j,variant:N})=>{let{t:H}=(0,s.Bd)(),{handleChange:S,handleContinue:I,isValid:P}=(0,d.u)({analyticsMapping:e,funnel:m,isMultiChoice:x,onChange:v,options:w,value:j});return(0,n.jsxs)(u.P,{backgroundImage:b&&(0,n.jsx)(h.o,{variant:b.variant,image:b.image,imageDesktop:b.imageDesktop,align:b.align,hasGradient:b.hasGradient,hasOverlay:b.hasOverlay}),bottomContent:x?(0,n.jsx)(o.$,{type:"button",isDisabled:!P,onClick:I,children:H("common_cta_continue")}):void 0,title:k,children:[(0,n.jsx)(a.l,{align:$,title:f??k,titleSize:C,subtitle:_,subtitleColorVariant:y||"secondary-highlight-brand"}),i,(0,n.jsx)(c.R,{isMultiChoice:x,children:(0,n.jsx)(l.Mz,{$imageAlign:b?.align,$widthVariant:b?.choicesWidthVariant,children:w.map(e=>(0,n.jsx)(r.a,{backgroundVariant:p,hasCheckbox:!0,imagePosition:e.imagePosition,imageProps:e.imageProps,isSelected:j.includes(e.value),onSelect:S,value:e.value,variant:N,title:e.title,subtitle:e.subtitle,unselectedRadioVariant:g||(x?"circle":"none")},`${e.value}`))})}),"function"==typeof t?t({handleChange:S}):t]})}},66503:(e,i,t)=>{"use strict";t.d(i,{o:()=>m});var n=t(6029),o=t(9842),r=t(12457),a=t(4147),s=t(79945);let l=s.I4.div.withConfig({componentId:"sc-c7c552ff-0"})(["position:absolute;top:","rem;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;"],({theme:e})=>e.sizes.headerHeight),c=s.I4.picture.withConfig({componentId:"sc-c7c552ff-1"})(["display:contents;"]),d=s.I4.div.withConfig({componentId:"sc-c7c552ff-2"})(["position:absolute;inset:0;pointer-events:none;",";"],({$backgroundStyle:e,theme:i})=>{let{base:t,secondary:n}=(0,a.w)({backgroundStyle:e,theme:i});return(0,s.AH)(["background:linear-gradient( 180deg,"," 10%,rgba(0,0,0,0) 40%,rgba(0,0,0,0) 70%,"," 95% );"],t,n)}),h=(e,i)=>(0,s.AH)(["max-width:","px;height:calc(min(100dvw,","px) * ",");max-height:","px;"],e,e,i?i/e:0,i),u=({$align:e,$width:i,$height:t,$desktopWidth:n,$desktopHeight:o})=>(0,s.AH)(["bottom:0;",":0;width:100%;",";",";"],e,h(i,t),n&&o&&(0,s.AH)(["@media ","{",";}"],r.L.MD,h(n,o))),p=s.I4.div.withConfig({componentId:"sc-c7c552ff-3"})(["position:absolute;background:",";",";"],({theme:e,$align:i})=>`radial-gradient(80% 100% at ${"left"===i?"15%":"85%"} 70%, ${e.colors["N General/Brand"]}55 10%, transparent 70%)`,u),g=s.I4.img.withConfig({componentId:"sc-c7c552ff-4"})(["position:absolute;",";"],({$variant:e,...i})=>"cover"===e?(0,s.AH)(["width:100%;height:100%;inset:0;object-fit:cover;object-position:top center;"]):u(i)),m=({variant:e,image:i,imageDesktop:t,align:a="right",hasGradient:s=!1,hasOverlay:h=!1})=>{let u=(0,o.Br)("onboarding_background_style");return(0,n.jsxs)(l,{children:["corner"===e&&s&&(0,n.jsx)(p,{$align:a,$width:i.width,$height:i.height,$desktopWidth:t?.width,$desktopHeight:t?.height}),(0,n.jsxs)(c,{children:[t&&(0,n.jsx)("source",{media:r.L.MD,srcSet:t.srcSet,width:t.width,height:t.height}),(0,n.jsx)(g,{src:i.src,srcSet:i.srcSet,$variant:e,$align:a,$width:i.width,$height:i.height,$desktopWidth:t?.width,$desktopHeight:t?.height})]}),h&&(0,n.jsx)(d,{$backgroundStyle:u})]})}},68192:(e,i,t)=>{"use strict";t.r(i),t.d(i,{__N_SSG:()=>p,default:()=>g});var n=t(6029),o=t(2729),r=t(83617),a=t(55729),s=t(6532),l=t(43681),c=t(18075),d=t(14960),h=t(29837);let u=({funnel:e})=>{let{t:i}=(0,r.Bd)(),{data:t}=(0,h.Zc)(e),{getFunnelImageProps:u}=(0,l.mZ)(e),p=(0,a.useMemo)(()=>({image:u("howOftenExercise","background"),choicesWidthVariant:"60-mobile",variant:"corner"}),[u]),g=(0,a.useMemo)(()=>[{title:i("how_often_exercise_option_daily"),value:c.vN.HowOftenExercise.Daily},{title:i("how_often_exercise_option_weekly"),value:c.vN.HowOftenExercise.Weekly},{title:i("how_often_exercise_option_monthly"),value:c.vN.HowOftenExercise.Monthly},{title:i("common_option_never"),value:c.vN.HowOftenExercise.Never}],[i]);
1return(0,n.jsx)(s.t,{funnel:e,onChange:i=>{let t=i[0],n=t===c.vN.HowOftenExercise.Daily||t===c.vN.HowOftenExercise.Weekly,o=(0,d.n)("fitnessLevelPushups").some(i=>i===e)&&(t===c.vN.HowOftenExercise.Monthly||t===c.vN.HowOftenExercise.Never);return{how_often_exercise:t,...n?{exercise_barrier:void 0}:{},...o?{fitness_level_push_ups:void 0}:{}}},options:g,pageConfig:p,title:i("how_often_exercise_title"),value:(0,o.O9)(t.how_often_exercise)?[t.how_often_exercise]:[],variant:"small"})};var p=!0;function g({funnel:e}){return(0,n.jsx)(u,{funnel:e})}},99121:(e,i,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[funnelId]/how-often-exercise",function(){return t(68192)}])}},e=>{e.O(0,[9151,391,8886,3581,636,6593,8792],()=>e(e.s=99121)),_N_E=e.O()}]);
2//# sourceMappingURL=how-often-exercise-d237c0b811814b03.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.