PageSourceSearch

https://nwfit.ai/_next/static/chunks/7179-0b38c03f7525a482.js

js nwfit.ai collected 2026-10-05 12:22:36 UTC 7,057 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7179,6157],{88541:function(e,t,n){"use strict";var r=n(85893);n(67294);var a=n(9008),o=n.n(a),i=n(11163),s=n(45957);let l="".concat(s.s0,"/NWFIT_TRANSPARENT_1000X1000px.png");t.Z=e=>{let t=(0,i.useRouter)(),n=e.title||"NWFIT AI | Personalized Fitness Coaching App",a=e.metaDescription||"Build your personalized workout plan for weight loss, muscle gain, and better fitness with NWFIT AI.",u=(0,s.nQ)({path:e.canonicalPath||t.asPath,locale:t.locale}),c=e.image||l,d=e.robots||"index,follow";return(0,r.jsxs)(o(),{children:[(0,r.jsx)("title",{children:n}),(0,r.jsx)("meta",{name:"description",content:a}),(0,r.jsx)("meta",{name:"robots",content:d}),(0,r.jsx)("meta",{property:"og:type",content:e.ogType||"website"}),(0,r.jsx)("meta",{property:"og:site_name",content:"NWFIT AI"}),(0,r.jsx)("meta",{property:"og:title",content:e.ogTitle||n}),(0,r.jsx)("meta",{property:"og:description",content:e.ogDescription||a}),(0,r.jsx)("meta",{property:"og:url",content:u}),(0,r.jsx)("meta",{property:"og:image",content:c}),(0,r.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,r.jsx)("meta",{name:"twitter:title",content:e.twitterTitle||e.ogTitle||n}),(0,r.jsx)("meta",{name:"twitter:description",content:e.twitterDescription||e.ogDescription||a}),(0,r.jsx)("meta",{name:"twitter:image",content:c}),s.i7.map(n=>(0,r.jsx)("link",{rel:"alternate",hrefLang:n,href:(0,s.Tr)({path:e.canonicalPath||t.asPath,locale:n})},"alternate-".concat(n))),(0,r.jsx)("link",{rel:"alternate",hrefLang:"x-default",href:(0,s.Tr)({path:e.canonicalPath||t.asPath,locale:"en"})}),(0,r.jsx)("link",{rel:"icon",href:"/NWFIT_TRANSPARENT_1000X1000px.png"})]})}},71781:function(e,t,n){"use strict";n(85893),n(67294)},80537:function(e,t,n){"use strict";n.d(t,{Z:function(){return PrivateSaleLayout_PrivateSaleLayout}});var r=n(85893),a=n(80822),o=n(67294),i=n(61730),s=n(25675),l=n.n(s),u=n(41664),c=n.n(u),d=n(20653),g=n(22027),p=n(56492),f=n(3604),m=n(28199),h=n.n(m),v=n(11163);n(53564);var x=n(59195),_=n(45305);n(49474);var Header_Header=()=>{let e=(0,i.Z)("(max-width:600px)"),{timeFinished:t}=(0,d.E)(),{isLoading:n,isAuthenticated:s,user:u}=(0,x.a)(),{logout:m}=(0,x.z)(),{pathname:T}=(0,v.useRouter)(),j=(0,o.useCallback)(()=>{(0,_.t5)("Logout successful"),m()},[m]);return(0,r.jsxs)(a.Z,{className:h().navBar,children:[(0,r.jsx)(c(),{href:"/",className:h().logoWithImg,children:(0,r.jsx)(l(),{src:"/NWFIT_TRANSPARENT_1000X1000px.png",height:100,width:100,priority:!0,alt:"Ninja Warriors"})}),(0,r.jsx)(a.Z,{children:s?e?(0,r.jsx)(f.Z,{user:u,onLogout:j}):(0,r.jsx)(p.Z,{user:u,onLogout:j}):(0,r.jsx)(g.Z,{})})]})},T=n(77642),j=n.n(T),PrivateSaleLayout_PrivateSaleLayout=e=>{let{children:t,loading:n,isConnected:o}=e;return(0,r.jsxs)(a.Z,{className:j().root,children:[(0,r.jsx)(Header_Header,{}),t]})}},13788:function(e,t,n){"use strict";n(85893),n(67294),n(25675)},49474:function(e,t,n){"use strict";n(85893),n(67294)},46157:function(e,t,n){"use strict";n.r(t),t.default=()=>null},20653:function(e,t,n){"use strict";n.d(t,{E:function(){return usePrivateSaleTime}});var r=n(67294),a=n(87298);let usePrivateSaleTime=()=>{let{timeFinished:e,timeLeft:t}=(0,a.J)(Date.parse("2023-05-09T12:00:00Z")/1e3);return r.useMemo(()=>({timeFinished:e,timeLeft:t}),[e,t])}},87298:function(e,t,n){"use strict";n.d(t,{J:function(){return useTimer}});var r=n(67294);let useTimer=e=>{let[t,n]=r.useState(!1),[a,o]=r.useState();return r.useEffect(()=>{let t=Date.now()/1e3;e&&t<e?(o(getTimeLeft(e-t)||{days:0,hours:0,minutes:0,seconds:0}),n(!1)):(n(!0),o(void 0));let r=setInterval(()=>{let t=Date.now()/1e3;e&&t<e?(o(getTimeLeft(e-t)||{days:0,hours:0,minutes:0,seconds:0}),n(!1)):(n(!0),o(void 0),clearInterval(r))},1e3);return()=>{clearInterval(r)}},[e]),r.useMemo(()=>({timeFinished:t,timeLeft:a}),[t,a])};function getTimeLeft(e){if(e<=0)return;let t=Math.floor(e/86400);e-=86400*t,t=parseInt(t.toString());var n=Math.floor(e/3600)%24;e-=3600*n,n=parseInt(n.toString());var r=Math.floor(e/60)%60;e-=60*r,r=parseInt(r.toString());var a=e%60;return{days:t,hours:n,minutes:r,seconds:a=parseInt(a.toString())}}},14445:function(e,t,n){"use strict";var r=n(85893),a=n(67294),o=n(52961),i=n(1357);t.Z=function(e){let{children:t}=e,{chain:n,switchNetworkAsync:s}=(0,i.Z)();return(0,a.useEffect)(()=>{(null==n?void 0:n.id)!==o.y.id&&void 0!==s&&s(o.y.id)},[n]),(0,r.jsx)("div",{children:t})}},25516:function(e,t,n){"use strict";n.d(t,{Kk:function(){return remainingMonthsCheck},Z0:function(){return validateFormValues},cZ:function(){return isEndDatePassed},dp:function(){return differenceInMonths},fj:function(){return resolveTargetEventOptionKey},kV:function(){return markdownToText},l4:function(){return getAPIErrorMessage}});var r=n(30381),a=n.n(r);let o=["wedding","birthday","vacation","reunion","sportingEvent","other","no"],i=["en","de","es","fr","it","pt"],normalizeString=e=>"string"==typeof e?e.trim():e,resolveTargetEventOptionKey=(e,t)=>{var n;let r=normalizeString(e);if(!r)return null;if(o.includes(r))return r;let a=new Set([null==t?void 0:t.language,...Array.isArray(null==t?void 0:null===(n=t.options)||void 0===n?void 0:n.supportedLngs)?t.options.supportedLngs:[],...i]);
1for(let e of(a.delete("default"),a)){if(!e)continue;let n="function"==typeof(null==t?void 0:t.getFixedT)?t.getFixedT("common",e):null;if(n){for(let e of o)if(n("targetEvent.options.".concat(e))===r)return e}}return null},validateFormValues=e=>{let t=[];for(let[n,r]of Object.entries(e))"loginUser"!==n&&"boolean"!=typeof r&&(r||t.push({key:n,value:r,reason:"Please provide ".concat(n)}),r&&"email"===n&&!isValidEmail(r)&&t.push({key:n,value:r,reason:"Email is not valid"}));return t},isValidEmail=e=>{let t=new RegExp(/^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/);return t.test(e)},getAPIErrorMessage=e=>{var t;let n=(null==e?void 0:null===(t=e.data)||void 0===t?void 0:t.msg)||"Request failed to process";return alert(n),n},differenceInMonths=(e,t)=>{let n=new Date(e),r=new Date(t),a=(r.getFullYear()-n.getFullYear())*12+(r.getMonth()-n.getMonth());return a},remainingMonthsCheck=e=>{let t=a()(),n=a()().add(e,"months"),r=n.diff(t,"months");return r},isEndDatePassed=e=>{if(0===e)return!1;let t=new Date(e),n=new Date;return t<n};function markdownToText(e){let t=e.replace(/(^|\n)#{1,6}\s+/g,"$1");return(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace(/\*\*([^*]+)\*\*/g,"$1")).replace(/\*([^*]+)\*/g,"$1")).replace(/~~([^~]+)~~/g,"$1")).replace(/\[([^\]]+)\]\([^\)]+\)/g,"$1")).replace(/!\[([^\]]*)\]\([^\)]+\)/g,"$1")).replace(/`([^`]+)`/g,"$1")).replace(/```[\s\S]*?```/g,"")).replace(/^\>+\s+/gm,"")).replace(/^\s*[\*\-\+]\s+/gm,"")).replace(/^\s*\d+\.\s+/gm,"")).replace(/\n{2,}/g,"\n")).trim()}},28199:function(e){e.exports={navBar:"Header_navBar__rpgkL",logoWithImg:"Header_logoWithImg__OQZ9I",logoName:"Header_logoName__CQkZS",balanceContainer:"Header_balanceContainer__AYbTp",container:"Header_container__ZuZBu",containerTitle:"Header_containerTitle__SReJu",icon:"Header_icon__7RWVz"}},77642:function(e){e.exports={root:"PrivateSaleLayout_root__EiRR0"}}}]);

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.