PageSourceSearch

https://web-assets.myfitnesspal.com/web-main/_next/static/chunks/3658-1b92990be97f0c2a.js

js myfitnesspal.com collected 2026-10-01 08:29:55 UTC 9,883 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3658],{3952:(e,t,s)=>{s.d(t,{A:()=>h});var r=s(64255),i=s(37124),n=s(79642),a=s(54698),l=s(73202),o=s(98416),A=s(59674),c=s(77856);let h=(0,a.A)(({children:e,loading:t,loadingSpinnerProps:s,ref:a,...l})=>(0,r.jsx)(i.A,{ref:a,LinkComponent:c.A,...l,children:t?(0,r.jsx)(n.A,{color:"inherit",thickness:4,size:24,...s}):e}))((0,l.A)(o.Ay,A.Ay))},7023:(e,t,s)=>{s.d(t,{A:()=>r});let r={src:"/_next/static/media/app-store-badge-en.18b1e550.png",height:53,width:160,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAGFBMVEUaGhkvLy5CQUEhISBSUlE0MzLDw8IrKypsEfvxAAAAAnRSTlP77ChnWx0AAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAfSURBVAiZBcGBAQAwCIMwLNX9//ESREW41zSRbrPJfAOmAEcJ+R/jAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:3}},11439:(e,t,s)=>{s.d(t,{KX:()=>n,Qd:()=>a});var r=s(41695);function i(e){try{return"https:"===new URL(e).protocol}catch{return!1}}function n(){let[e,t]=(0,r.useState)(null);return(0,r.useEffect)(()=>{let e=window.AF_SMART_SCRIPT_RESULT?.clickURL;if(e&&i(e))return void t(e);let s=()=>{let e=window.AF_SMART_SCRIPT_RESULT?.clickURL;e&&i(e)&&t(e)};return window.addEventListener("af_smart_script_ready",s),()=>window.removeEventListener("af_smart_script_ready",s)},[]),{clickUrl:e}}function a(e){let{clickUrl:t}=n();return{appStoreUrl:"iOS"===e&&t?t:"https://apps.apple.com/us/app/calorie-counter-diet-tracker/id341232718?ign-mpt=uo%3D4",playStoreUrl:"AndroidOS"===e&&t?t:"https://play.google.com/store/apps/details?id=com.myfitnesspal.android&rdid=com.myfitnesspal.android"}}},17054:(e,t,s)=>{s.d(t,{A:()=>r});let r={src:"/_next/static/media/google-play-badge-en.250659f2.png",height:168,width:564,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAMAAABSSm3fAAAAGFBMVEUpKCYXFxc4MUQjPUdDQ0M5RiVVOCJSUlI0BYfiAAAABHRSTlP9/Pz8d0My0gAAAAlwSFlzAAALEwAACxMBAJqcGAAAABpJREFUCJljYGZlYGBgZGRkYGJjYGFnYWEAAAE0ACfeUDxtAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:2}},28845:(e,t,s)=>{s.d(t,{A:()=>a});var r=s(64604),i=s(2879),n=s(87373);let a=()=>{let e=(0,r.jE)();return(0,i.n)({mutationFn:n.WJ,onMutate:async()=>{await e.cancelQueries({queryKey:["user"]})}})}},91103:(e,t,s)=>{s.d(t,{A:()=>el});var r=s(64255),i=s(55714),n=s(69025),a=s(1179),l=s(98825),o=s(26081),A=s(90110),c=s(52127),h=s(9243),d=s(71767),x=s(60382),p=s(82603),u=s.n(p),f=s(95863),m=s(68559),g=s(87997),j=s(92420),b=s(54774),w=s(27034),y=s(67230),v=s(91526),S=s(77856);let M={src:"/_next/static/media/twitter-x-logo-white.ff8845a5.png",height:66,width:66,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAG1BMVEX///////////////////////////9MaXH////Im2S8AAAACXRSTlPz4y//rbiVAIfUBPUPAAAACXBIWXMAAAsSAAALEgHS3X78AAAAM0lEQVQImR3LxxHAMAwEsb1ASv1XrLH/AMcTxgdLBJnJrZpCtJsAYVeBpupN8W9ljoevPxp+ALgZMue6AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8},C={src:"/_next/static/media/tiktok.90ebe32c.svg",height:22,width:22,blurWidth:0,blurHeight:0},U={src:"/_next/static/media/facebook.6d3a4ecf.svg",height:22,width:22,blurWidth:0,blurHeight:0},k={src:"/_next/static/media/linkedin.0c28beae.svg",height:22,width:22,blurWidth:0,blurHeight:0},E={src:"/_next/static/media/instagram.830bccd6.svg",height:22,width:22,blurWidth:0,blurHeight:0},L={src:"/_next/static/media/youtube.81d7d29b.svg",height:22,width:22,blurWidth:0,blurHeight:0};var R=s(90329),D=s(41695),P=s(77582),_=s(99790),H=s(18741),B=s(18021),F=s.n(B),I=s(29020),W=s(28845);let G={fontSize:14,color:"common.neutrals.inverse",width:"fit-content","& .MuiSvgIcon-root":{color:"common.neutrals.inverse"},"&:before":{borderColor:"common.neutrals.inverse"},"&:after":{borderColor:"common.neutrals.inverse"},"&:not(.Mui-disabled):hover::before":{borderColor:"common.neutrals.inverse"}},T={fontSize:14},O=({sx:e,...t})=>{let s=(0,h.useRouter)(),n=(0,m.aF)(),a=(0,i.A)(e=>e.breakpoints.up("md")),[l,o]=(0,D.useState)(s.locale),A=(0,W.A)();(0,D.useEffect)(()=>{o(s.locale)},[s.locale]);let c=async e=>{o(e),n&&A.mutate({newUserData:{item:{location_preferences:{locale:e}}}}),s.push(s.asPath,s.asPath,{locale:e})};return a?(0,r.jsx)(_.A,{sx:[G,e],variant:"standard",slotProps:{input:{"aria-label":"language-selector"}}
1,value:l,onChange:e=>c(e.target.value),...t,children:Object.entries(I.e).map(([e,t])=>(0,r.jsx)(H.A,{sx:T,value:t,children:e},t))}):(0,r.jsx)(P.A,{sx:[G,e],variant:"standard",slotProps:{input:{"aria-label":"language-selector"}},value:l,onChange:e=>c(e.target.value),...t,children:Object.entries(I.e).map(([e,t])=>(0,r.jsx)("option",{value:t,children:e},t))})};O.propTypes={sx:F().object};var Q=s(11439),V=s(7023),z=s(17054);let J={bgcolor:"#151824",width:"100%",display:"flex",alignItems:"center",pt:{xs:10,md:12},px:{xs:8,sm:18,md:5}},Y={color:"common.neutrals.white"},X={width:"100%"},N={display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"baseline",flexWrap:"wrap",mt:{xs:11,sm:16,md:26},pb:"30px"},K={mt:{xs:10,md:0},mb:1,fontWeight:700,lineHeight:1.25},Z={lineHeight:2.29},$={opacity:.7,lineHeight:1.2,mx:1},q={lineHeight:1.2,mt:{xs:13,md:15},mb:{xs:4,md:5}},ee={display:"flex",justifyContent:"space-between",width:232,mb:4},et={alignItems:"center",overflow:"hidden"},es={maxWidth:{xs:142,md:172},maxHeight:{xs:22,md:27}},er={mt:5},ei={p:{xs:0}},en={flexDirection:"row",alignItems:"center",gap:"10px",mb:5},ea={display:"inline-flex",alignItems:"center",lineHeight:0};function el({CTAButton:e,hideLanguageSelector:t=!1,showAppBadges:s=!1}){let p=(0,m.Vb)(),D=(0,d.useSession)(),P=(0,x.A)(),_=(0,i.A)(P.breakpoints.up("md")),H=new Date().getFullYear(),{locale:B}=(0,h.useRouter)(),F="en"!==B?`/${B}`:"",{data:I}=(0,w.Pj)(y.M_),{appStoreUrl:W,playStoreUrl:G}=(0,Q.Qd)(I.client),T=[{column:p("footer.resources"),links:[{text:p("navigation.premium"),href:v.OL,prefetch:!0},{text:p("navigation.blog"),href:f.O.blogHost,prefetch:!0},{text:p("navigation.community"),href:(0,g.U)(`/${B}/categories`,D),prefetch:!0},{text:p("contactUs.contactUsHeading"),href:"/contact-us",prefetch:!0},{text:p("footer.supportCenter"),href:`https://support.myfitnesspal.com/hc/${(0,j.jN)(B)}`,prefetch:!0,usOnly:!1}]},{column:p("footer.company"),links:[{text:p("footer.aboutUs"),href:"/",prefetch:!0},{text:p("footer.careers"),href:`${F}/jobs`,prefetch:!1},{text:p("footer.press"),href:"mailto:[email protected]",prefetch:!0},{text:"Advertise With Us",href:"https://ads.myfitnesspal.com/",usOnly:!0},{text:"For Employers",href:"https://partner.myfitnesspal.com/bulkpurchase",usOnly:!0}]}],eo="en"===B?"Nutrition tracking for real life.":p("footer.findYourHealthyAndYourHappy"),eA=s?(0,r.jsxs)(n.A,{direction:"row",sx:en,children:[(0,r.jsx)(S.A,{sx:ea,href:G,children:(0,r.jsx)(u(),{src:z.A,alt:"Get MyFitnessPal on Google Play",width:119,height:35})}),(0,r.jsx)(S.A,{sx:ea,href:W,children:(0,r.jsx)(u(),{src:V.A,alt:"Download MyFitnessPal on the App Store",width:106,height:35})})]}):null;return(0,r.jsx)(a.A,{sx:J,component:"footer",children:(0,r.jsx)(l.A,{fixed:!0,sx:ei,children:(0,r.jsxs)(a.A,{sx:[Y,X],children:[(0,r.jsxs)(o.A,{container:!0,children:[(0,r.jsx)(o.A,{size:{xs:12,md:6},children:(0,r.jsxs)(n.A,{children:[(0,r.jsx)(R.A,{color:"white",sx:es}),!t&&(0,r.jsx)(O,{sx:er}),_&&(0,r.jsxs)(n.A,{children:[(0,r.jsx)(A.A,{sx:q,children:eo}),eA,e]})]})}),(0,r.jsx)(o.A,{size:{xs:12,md:6},children:(0,r.jsx)(o.A,{container:!0,spacing:2,children:T.map(({column:e,links:t})=>(0,r.jsx)(o.A,{size:{xs:6},children:(0,r.jsxs)(n.A,{children:[(0,r.jsx)(A.A,{sx:K,children:e}),t.map(e=>e.usOnly&&"en"!==B?null:(0,r.jsx)(S.A,{href:e.href,sx:Y,...!1===e.prefetch&&{prefetch:!1},children:(0,r.jsx)(A.A,{variant:"Body/Regular/MD",sx:Z,children:e.text})},e.href))]})},e))})})]}),!_&&(0,r.jsxs)(n.A,{sx:et,children:[(0,r.jsx)(A.A,{sx:q,children:eo}),eA,e]}),(0,r.jsxs)(n.A,{sx:et,children:[(0,r.jsxs)(n.A,{divider:!_&&(0,r.jsx)(A.A,{variant:"Legal/MD",sx:$,children:"|"}),sx:N,children:[(0,r.jsx)(A.A,{variant:"Legal/MD",sx:$,children:`\xa9${H} MyFitnessPal, Inc.`}),(0,r.jsx)(S.A,{href:"/community-guidelines",sx:Y,children:(0,r.jsx)(A.A,{variant:"Legal/MD",sx:$,children:p("footer.communityGuidelines")})}),(0,r.jsx)(S.A,{href:(0,g.U)(`/${B}/categories/feature-suggestions-and-ideas`,D),sx:Y,children:(0,r.jsx)(A.A,{variant:"Legal/MD",sx:$,children:p("footer.feedback")})}),(0,r.jsx)(S.A,{href:"/terms-of-service",sx:Y,children:(0,r.jsx)(A.A,{variant:"Legal/MD",sx:$,children:p("footer.terms")})}),(0,r.jsx)(S.A,{href:"/privacy-policy",sx:Y,children:(0,r.jsx)(A.A,{variant:"Legal/MD",sx:$,children:p("footer.privacy")})}),(0,r.jsx)(S.A,{href:`${F}/api`,sx:Y,prefetch:!1,children:(0,r.jsx)(A.A,{variant:"Legal/MD",sx:$,children:p("footer.API")})}),(0,r.jsx)(c.A,{onClick:b.gx,children:(0,r.jsx)(A.A,{variant:"Legal/MD",sx:$,children:p("cookiePreferences")})}),"US"===I.userCountry&&(0,r.jsx)(S.A,{href:"https://preferences.myfitnesspal.com",sx:Y,children:(0,r.jsx)(A.A,{variant:"Legal/MD",sx:$,children:p("footer.caPrivacyChoices")})}),"US"===I.userCountry&&"en"===B&&(0,r.jsx)(S.A,{href:"/washington-health-data-privacy-policy",sx:Y,children:(0,r.jsx)(A.A,{variant:"Legal/MD",sx:$,children:"Washington Health Data Privacy Policy"})})]}),(0,r.jsxs)(a.A,{sx:ee,children:[(0,r.jsx)(S.A,{href:"https://www.instagram.com/myfitnesspal/",children:(0,r.jsx)(u(),{src:E,alt:"Instagram"})}),(0,r.jsx)(S.A,{href:"https://www.facebook.com/myfitnesspal/",children:(0,r.jsx)(u(),{src:U,alt:"Facebook"})}),(0,r.jsx)(S.A,{href:"https://www.youtube.com/c/myfitnesspal",children:(0,r.jsx)(u(),{src:L,alt:"YouTube"})}),(0,r.jsx)(S.A,{href:"https://www.linkedin.com/company/myfitnesspal",children:(0,r.jsx)(u(),{src:k,alt:"LinkedIn"})}),(0,r.jsx)(S.A,{href:"https://twitter.com/MyFitnessPal",children:(0,r.jsx)(u(),{src:M,alt:p("followUsOnX"),width:22,height:22})}),(0,r.jsx)(S.A,{href:"https://www.tiktok.com/@myfitnesspal/",children:(0,r.jsx)(u(),{src:C,alt:"TikTok"})})]})]})]})})})}}}]);
2//# sourceMappingURL=3658-1b92990be97f0c2a.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.