PageSourceSearch

https://www.makeoverforall.com/_next/static/chunks/8951-7abcbfc44ae69a96.js

js makeoverforall.com collected 2026-09-26 00:09:49 UTC 8,123 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8951],{822:function(e,i,t){t(85893),t(67294),t(56050),t(23048),t(11163),t(7450),t(25675)},56050:function(e,i,t){var s=t(85893),n=t(67294),a=t(45697),r=t.n(a),l=t(25675),o=t.n(l),c=t(23048),u=t(1852),d=t(11163),m=t(7450);let Notifications=e=>{let{img:i,imgMd:t,bgColor:a,theme:r,forwardKey:l,imgType:h,text:g,buttons:f,onClose:v,className:p,id:x,type:j}=e,y=(0,u.useMediaQuery)({maxWidth:767}),[N,w]=(0,n.useState)();return(0,d.useRouter)(),(0,n.useEffect)(()=>{w(y)},[y]),(0,s.jsxs)("div",{className:"notifications ".concat(a," ").concat(r," ").concat(p," py-1 ").concat("full"==h?"notifications-full":"notifications-general"),children:["full"==h&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(m.Xd,{Tag:"div",fluid:i,className:"notifications-background d-block d-md-none",children:(0,s.jsx)(m.YE,{})}),(0,s.jsx)(m.Xd,{Tag:"div",fluid:t||i,className:"notifications-background d-none d-md-block",children:(0,s.jsx)(m.YE,{})})]}),(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"notifications-wrapper",children:["general"==h&&(0,s.jsx)("div",{className:"notifications-image",children:i?(0,s.jsx)(o(),{src:i,alt:"img-notifications",className:"img-fluid",width:96,height:96,unoptimized:!0}):(0,s.jsx)("img",{src:i,alt:"img-notifications",className:"img-fluid"})}),(0,s.jsxs)("div",{className:"notifications-description",children:[(0,s.jsx)("span",{children:g}),(null==f?void 0:f.text)&&(0,s.jsx)(c.z,{variant:"link",onClick:()=>{window.location.href=null==f?void 0:f.url},className:"btn-sm hover-underline inverse",children:null==f?void 0:f.text})]}),(0,s.jsx)("div",{className:"notifications-close",onClick:v?()=>v(j,x):()=>{},children:(0,s.jsx)("i",{className:"ail ai-times"})})]})})]},l)};Notifications.propTypes={imgType:r().oneOf(["general","full"])},Notifications.defaultProps={imgType:"general",variant:"",theme:"light"},i.Z=Notifications},57405:function(e,i,t){t.d(i,{Z:function(){return layout_auth}});var s=t(85893),n=t(67294),a=t(11163),r=t(45007),l=t(18357),o=t(31955),c=t(5679),nav_auth=function(e){let{pathName:i,setPathName:t}=e,n=(0,a.useRouter)();return(0,s.jsx)("div",{className:"auth-nav-bar",children:[{id:"login",title:"Login",path:"/auth"},{id:"register",title:"Register",path:"/auth/register"}].map(e=>(0,s.jsx)("div",{onClick:()=>{t(null==e?void 0:e.id),n.push(null==e?void 0:e.path)},className:"auth-nav ".concat(i===e.id?"active":""),children:e.title},"auth-nav-".concat(e.id)))})},u=t(95696),d=t(64519),layout_auth=e=>{var i;let{children:t,initial_data:m}=e,h=(0,r.I0)(),g=(0,a.useRouter)(),[f,v]=(0,l.YD)({threshold:[.25,.5,.75],triggerOnce:!0}),[p,x]=n.useState("login"),[j,y]=n.useState(null);n.useEffect(()=>{if("/auth/[register]"===g.pathname?x("register"):"/auth"===g.pathname&&x("login"),g.query.continue){let{unique:e}=JSON.parse(o.Z.get("registerContinueId"));e===g.query.continue?setTimeout(()=>(0,c.q)({message:"register-success"},"success",h),1e3):"success"===g.query.continue&&setTimeout(()=>(0,c.q)({message:"register-success"},"success",h),1e3)}"success"===g.query.resetstatus&&setTimeout(()=>(0,c.q)({message:""},"reset-password-success",h),1e3),"success"===g.query.registerstatus&&(0,c.q)({message:"register-success"},"success",h),g.query.redirect&&localStorage.setItem("redirect",g.query.redirect)},[g.query]);let N=n.cloneElement(t,{socialRegister:j}),w=n.useMemo(()=>(0,s.jsx)(u.Z,{pathName:p,setSocialRegister:y}),[p]);return n.useEffect(()=>{document.documentElement.classList.add("enable-sticky")},[]),n.useEffect(()=>{(null==g?void 0:g.pathname)==="/auth/register"?x("register"):x("login")},[null==g?void 0:g.pathname]),(0,s.jsx)("section",{className:"sc-auth",ref:f,children:(0,s.jsxs)("div",{className:"row row-0",children:[(0,s.jsx)("div",{className:"col-lg-6 col-left d-lg-block d-none",children:(0,s.jsx)(d.E,{src:null==m?void 0:null===(i=m.banner_register[0])||void 0===i?void 0:i.desktop,alt:"Auth Banner",ratio:"r-1-1"})}),(0,s.jsx)("div",{className:"col-lg-6",children:(0,s.jsxs)("div",{className:"form-auth container",children:[(0,s.jsx)(nav_auth,{setPathName:x,pathName:p}),(0,s.jsxs)("div",{className:"scroll-fadeInUp ".concat(v?"fadeInUp delayp2":""),children:[(0,s.jsxs)("div",{className:"form-auth-social",children:[(0,s.jsx)("p",{children:"login"===p?"Login using one of your social media account":"Select these social media to sign up using your account"}),w]}),(0,s.jsxs)("div",{className:"form-auth-email",children:[(0,s.jsx)("p",{children:"login"===p?"or login 
1with email & password":"or enter information to register"}),N]})]})]})})]})})}},5842:function(e,i,t){var s=t(85893),n=t(67294),a=t(38227),r=t(23048),l=t(4656),o=t(35343),c=t(16310),u=t(50319),d=t(45007),m=t(6661),h=t(5679),g=t(11163);i.Z=function(e){let{forgotId:i,handleShowForgot:t,id:f,cb:v}=e,p=(0,d.I0)();(0,g.useRouter)();let[x,j]=(0,u.D)(m.zK,{errorPolicy:"all"}),handelSubmit=async(e,i)=>{let{setSubmitting:s,resetForm:n}=i,{data:a,errors:r}=await x({variables:{email:e.email}});r&&setTimeout(()=>{(0,h.q)("","general",p),window.scrollTo(0,0)},100);let{status:l,message:o}=a.forgotPassword;"EMAIL_SENT"===l?(v&&v(),t(),setTimeout(()=>{(0,h.q)({email:e.email},"success-reset-link",p),window.scrollTo(0,0)},100)):("EMAIL_NOT_SENT"===l&&t(),setTimeout(()=>{(0,h.q)("","invalid-reset-link",p),window.scrollTo(0,0)},100))};return n.useEffect(()=>()=>p({type:"SET_TOAST",payload:{message:"",status:!1,type:null}}),[]),(0,s.jsxs)(a.u,{id:f,isShowing:i,hide:t,className:"modal-review",children:[(0,s.jsx)("h2",{children:"Reset Password"}),(0,s.jsx)("p",{children:"Enter your email to receive password reset link."}),(0,s.jsx)(o.J9,{initialValues:{email:""},validationSchema:c.Ry({email:c.Z_().email().required("Email required")}),onSubmit:handelSubmit,children:e=>(0,s.jsxs)("form",{onSubmit:e.handleSubmit,children:[(0,s.jsx)("div",{className:"form-group",children:(0,s.jsx)(l.Oz,{placeholder:"Email",label:"Email",id:"forgot-email",name:"email",variant:"underline",floatingLabel:!0,...e})}),(0,s.jsx)(r.z,{loader:!0,type:"submit",variant:"secondary",className:"btn-block ".concat(e.isSubmitting?"loading":""),children:"Send Reset Link"})]})})]})}},18357:function(e,i,t){t.d(i,{YD:function(){return useInView}});var s=t(67294),n=Object.defineProperty,a=new Map,r=new WeakMap,l=0,o=void 0;function useInView({threshold:e,delay:i,trackVisibility:t,rootMargin:n,root:c,triggerOnce:u,skip:d,initialInView:m,fallbackInView:h,onChange:g}={}){var f;let[v,p]=s.useState(null),x=s.useRef(g),[j,y]=s.useState({inView:!!m,entry:void 0});x.current=g,s.useEffect(()=>{let s;if(!d&&v)return s=function(e,i,t={},s=o){if(void 0===window.IntersectionObserver&&void 0!==s){let n=e.getBoundingClientRect();return i(s,{isIntersecting:s,target:e,intersectionRatio:"number"==typeof t.threshold?t.threshold:0,time:0,boundingClientRect:n,intersectionRect:n,rootBounds:n}),()=>{}}let{id:n,observer:c,elements:u}=function(e){let i=Object.keys(e).sort().filter(i=>void 0!==e[i]).map(i=>{var t;return`${i}_${"root"===i?(t=e.root)?(r.has(t)||(l+=1,r.set(t,l.toString())),r.get(t)):"0":e[i]}`}).toString(),t=a.get(i);if(!t){let s;let n=new Map,r=new IntersectionObserver(i=>{i.forEach(i=>{var t;let a=i.isIntersecting&&s.some(e=>i.intersectionRatio>=e);e.trackVisibility&&void 0===i.isVisible&&(i.isVisible=a),null==(t=n.get(i.target))||t.forEach(e=>{e(a,i)})})},e);s=r.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),t={id:i,observer:r,elements:n},a.set(i,t)}return t}(t),d=u.get(e)||[];return u.has(e)||u.set(e,d),d.push(i),c.observe(e),function(){d.splice(d.indexOf(i),1),0===d.length&&(u.delete(e),c.unobserve(e)),0===u.size&&(c.disconnect(),a.delete(n))}}(v,(e,i)=>{y({inView:e,entry:i}),x.current&&x.current(e,i),i.isIntersecting&&u&&s&&(s(),s=void 0)},{root:c,rootMargin:n,threshold:e,trackVisibility:t,delay:i},h),()=>{s&&s()}},[Array.isArray(e)?e.toString():e,v,c,n,u,d,t,h,i]);let N=null==(f=j.entry)?void 0:f.target,w=s.useRef(void 0);v||!N||u||d||w.current===N||(w.current=N,y({inView:!!m,entry:void 0}));let b=[p,j.inView,j.entry];return b.ref=b[0],b.inView=b[1],b.entry=b[2],b}s.Component}}]);

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.