1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5628],{10496:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/startflow",function(){return a(28265)}])},24065:e=>{e.exports={background:"StartflowController_background__F41su",progressBarContainer:"StartflowController_progressBarContainer__f2P_a",setupLogo:"StartflowController_setupLogo__W_zKn",accountSetupElement:"StartflowController_accountSetupElement__gtSzc"}},28265:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>eC,default:()=>eE});var r=a(6029),s=a(22577),n=a(23005),i=a(49830),l=a(4599),o=a(4103),d=a(87833),c=a(56204),u=a(55729),p=a(97841),m=a.n(p);let h=({comparingImage:e,discountID:t,onNextStep:a,parentID:i,parentStartflowID:l})=>{let[p,h]=(0,u.useState)(""),[_,S]=(0,u.useState)(!1),[g,x]=(0,u.useState)(!1);(0,u.useEffect)(()=>{let e=setTimeout(()=>{x(!0),(0,c.X8)(s.ONG.DISCOUNT_MODAL_SHOW)},500);return()=>{clearTimeout(e)}},[]);let b=e=>{_||(S(!0),e&&(0,c.X8)(s.ONG.DISCOUNT_ADDED),n.i.SetParentStartflowDiscountCompleted(i,l,e?t:0).then(e=>{a(e)}))};return(0,r.jsx)("div",{children:(0,r.jsx)(d.default,{fadeBackground:!0,isOpen:g,styleType:s.OgF.STARTFLOW_DISCOUNT,children:(0,r.jsxs)("div",{className:m().discountImageContainer,children:[(0,r.jsx)("img",{className:m().discountImage,src:e}),(0,r.jsx)("div",{className:m().discountKeep,children:(0,r.jsx)(o.c,{animation:"none",image:"https://assets.adaptedmind.com/images/startflow/startflow-discount-keep-button.png",imageClassName:m().imageButton,onClick:()=>{b(!1)}})}),(0,r.jsx)("div",{className:m().discountChoose,children:(0,r.jsx)(o.c,{image:"https://assets.adaptedmind.com/images/startflow/startflow-discount-choose-button.png",imageClassName:m().imageButton,onClick:()=>{b(!0)}})})]})})})};
1var _=a(96751),S=a(28969),g=a(4106),x=a(52708),b=a(20504),f=a(44250),j=a(41589),w=a.n(j);function N(e="",t=0){return{grade:t,name:e}}let D=({currentStudents:e,initialNumStudents:t,onNextStep:a,parentID:i,parentStartflowID:l})=>{let o=[];for(let a=0;a<t;a++)if(e&&e[a]){var p;let t="guest"===(p=e[a].first_name).toLowerCase()?"":p;o.push(N(t,e[a].grade))}else o.push(N());let[m,h]=(0,u.useState)(o),j=(0,u.useRef)(null),[D,A]=(0,u.useState)(""),[v,T]=(0,u.useState)(!1),[y,I]=(0,u.useState)(!1),[C,E]=(0,u.useState)(!1);(0,u.useEffect)(()=>{let e=setTimeout(()=>{E(!0),(0,c.X8)(s.ONG.STUDENTS_MODAL_SHOW),j.current&&j.current.focus()},500);return()=>{clearTimeout(e)}},[]);let L=m.map((e,t)=>{let a=e.name.length>0,s=e.grade>0;return(0,r.jsxs)(g.A,{className:a||s||!y?"mb-3":"mb-5",children:[(0,r.jsxs)(x.A.Group,{as:b.A,className:"position-relative",controlId:"validationFormik101",xs:6,children:[(0,r.jsx)(x.A.Control,{isInvalid:y?""===e.name:null,onChange:e=>{let a=e.target.value;h(e=>{let r=[...e];return r[t].name=a,r})},placeholder:`Student ${t+1}`,ref:0===t?j:void 0,type:"text",value:e.name}),(0,r.jsx)(x.A.Control.Feedback,{tooltip:!0,type:"invalid",children:"Name is required"})]}),(0,r.jsxs)(x.A.Group,{as:b.A,className:"position-relative",controlId:"validationFormik101",xs:5,children:[(0,r.jsxs)(x.A.Select,{"aria-label":"Select grade",isInvalid:y?0===e.grade:null,onChange:e=>{let a=Number.parseInt(e.target.value,10);h(e=>{let r=[...e];return r[t].grade=a,r})},value:e.grade,children:[(0,r.jsx)("option",{value:"0",children:"Select a grade"}),(0,r.jsx)("option",{value:"13",children:"Pre-K"}),(0,r.jsx)("option",{value:"14",children:"Kindergarten"}),(0,r.jsx)("option",{value:"1",children:"First Grade"}),(0,r.jsx)("option",{value:"2",children:"Second Grade"}),(0,r.jsx)("option",{value:"3",children:"Third Grade"}),(0,r.jsx)("option",{value:"4",children:"Fourth Grade"}),(0,r.jsx)("option",{value:"5",children:"Fifth Grade"}),(0,r.jsx)("option",{value:"6",children:"Sixth Grade"}),(0,r.jsx)("option",{value:"7",children:"Seventh Grade"}),(0,r.jsx)("option",{value:"8",children:"Eighth Grade"})]}),(0,r.jsx)(x.A.Control.Feedback,{tooltip:!0,type:"invalid",children:"Grade is required"})]}),0!==t&&(0,r.jsx)(b.A,{xs:1,children:(0,r.jsx)(f.A,{id:"button-addon2",onClick:()=>{h(e=>{let a=[...e];return a.splice(t,1),a})},tabIndex:-1,variant:"danger",children:"X"})})]},t)}),M=!0;for(let e of m){let t=e.name.length>0,a=e.grade>0;M&&=t&&a}return(0,r.jsx)(d.default,{isOpen:C,styleType:s.OgF.STARTFLOW_MODAL,children:(0,r.jsx)(_.default,{header:"Enter Students",size:s.Iai.MD,styleType:s.ndP.STARTFLOW_CREATEPASSWORD_MODAL,children:(0,r.jsxs)("div",{className:w().modalText,children:[(0,r.jsx)("p",{className:"text-center",children:"Type each child's first name and select a grade."}),""!==D&&(0,r.jsx)("div",{className:"mt-3 alert alert-danger",role:"alert",children:D}),(0,r.jsx)("div",{className:`my-3 ${w().studentForms}`,children:L}),(0,r.jsx)("p",{style:{textAlign:"right"},children:(0,r.jsx)(f.A,{disabled:m.length>=5||v,id:"startflow-add-student",onClick:()=>{h(e=>{let t=[...e];return t.push(N()),t})},variant:"primary",children:"Add Student"})}),(0,r.jsx)(S.h,{className:`mt-3 ${v?w().buttonDisabled:""}`,handleClick:()=>{if(I(!0),!M){console.log("Form is Invalid",m),A("Please fix the errors in red below");return}A(""),T(!0),n.i.SetParentStartflowStudentsCompleted(i,l,m).then(e=>{(0,c.X8)(s.ONG.STUDENTS_COMPLETD),a(e)}).catch(()=>{A("There was an error creating your students, please try again."),T(!1)})},label:"Done",labelClassName:w().buttonLabel,styleType:s.o2B.LANDING_MODAL})]})})})};var A=a(79895);let v=({currentStudents:e,onNextStep:t})=>{let[a,i]=(0,u.useState)(Object.fromEntries(e.map(e=>[e.id,e.default_time_limit??0]))),l=(0,u.useRef)(null),[o,p]=(0,u.useState)(""),[m,h]=(0,u.useState)(!1),[f,j]=(0,u.useState)(!1);(0,u.useEffect)(()=>{let t=setTimeout(()=>{j(!0),(0,c.X8)(s.ONG.SET_TIME_LIMIT_VIEWED,{student_count:e.length}),l.current&&l.current.focus()},500);return()=>{clearTimeout(t)}},[e.length]);let N=e.some(e=>(a[e.id]??0)!==(e.default_time_limit??0)),D=e.map((e,t)=>{var s;let n=("guest"===(s=e.first_name).toLowerCase()?"":s)||`Student ${t+1}`;return(0,r.jsxs)(g.A,{className:"mb-3",children:[(0,r.jsx)(x.A.Group,{as:b.A,className:"position-relative",controlId:`student-name-${e.id}
1`,xs:6,children:(0,r.jsx)(x.A.Control,{readOnly:!0,type:"text",value:n})}),(0,r.jsx)(x.A.Group,{as:b.A,className:"position-relative",controlId:`student-time-limit-${e.id}`,xs:5,children:(0,r.jsx)(x.A.Select,{"aria-label":"Select time limit",onChange:t=>{i(a=>({...a,[e.id]:Number.parseInt(t.target.value,10)}))},ref:0===t?l:void 0,value:a[e.id]??0,children:A.Hm.map(e=>(0,r.jsx)("option",{value:e.value,children:e.raw_label},e.value))})})]},e.id)}),v=async()=>{p(""),h(!0);try{N&&await Promise.all(e.map(e=>{let t=a[e.id]??0;return t===(e.default_time_limit??0)?Promise.resolve(e):n.i.updateStudent(e.id,{default_time_limit:t},{suppressParentTimeLimitChangeEmail:!0})})),e.forEach(e=>{let t=a[e.id]??0;(0,c.X8)(s.ONG.SET_TIME_LIMIT_COMPLETED,{student_id:e.id,time_limit:t})}),t()}catch{p("There was an error saving your students' time limits, please try again."),h(!1)}};return(0,r.jsx)(d.default,{isOpen:f,styleType:s.OgF.STARTFLOW_MODAL,children:(0,r.jsx)(_.default,{header:"Daily Limit",size:s.Iai.MD,styleType:s.ndP.STARTFLOW_CREATEPASSWORD_MODAL,children:(0,r.jsxs)("div",{className:w().modalText,children:[(0,r.jsx)("p",{className:"text-center",children:"Set a daily time limit for each child. We'll always let them finish their current activity before ending their learning session."}),""!==o&&(0,r.jsx)("div",{className:"mt-3 alert alert-danger",role:"alert",children:o}),(0,r.jsx)("div",{className:`my-3 ${w().studentForms}`,children:D}),(0,r.jsx)(S.h,{className:`mt-3 ${m?w().buttonDisabled:""}`,handleClick:()=>{v()},label:"Done",labelClassName:w().buttonLabel,styleType:s.o2B.LANDING_MODAL})]})})})};var T=a(37059),y=a(94509),I=a.n(y);let C=({onNextStep:e,parentID:t,parentStartflowID:a})=>{let[i,l]=(0,u.useState)(!0),[o,p]=(0,u.useState)(""),[m,h]=(0,u.useState)(""),[g,b]=(0,u.useState)(""),[f,j]=(0,u.useState)(!1),[w,N]=(0,u.useState)(!1),[D,A]=(0,u.useState)(!1),v=(0,u.useRef)(null),[y,C]=(0,u.useState)(!1);return(0,u.useEffect)(()=>{let e=setTimeout(()=>{C(!0),(0,c.X8)(s.ONG.PASSWORD_MODAL_SHOW),v.current.focus()},500);return()=>{clearTimeout(e)}},[]),(0,r.jsx)(d.default,{isOpen:y,styleType:s.OgF.STARTFLOW_MODAL,children:(0,r.jsx)(_.default,{header:"Create Password",size:s.Iai.MD,styleType:s.ndP.STARTFLOW_CREATEPASSWORD_MODAL,children:(0,r.jsxs)("div",{className:I().modalText,children:[(0,r.jsx)("p",{className:"text-center",children:"To start, create your account password."}),(0,r.jsxs)(x.A.Group,{className:"my-3 mx-4",children:[(0,r.jsx)(x.A.Control,{id:"startflowPassword",isInvalid:w?!f:null,isValid:w?f:null,name:"pt_password",onChange:e=>{N(!0),b(e.target.value);let t=new TextEncoder().encode(e.target.value).length;t>72?(j(!1),p("Password is too long. Please have at most 72 characters.")):0===t?(j(!1),p("Password is required")):t<5?(j(!1),p("Password is too short. Please have at least 5 characters.")):(j(!0),p(""))},placeholder:"Password",ref:v,type:i?"text":"password",value:g}),(0,r.jsx)(x.A.Control.Feedback,{className:I().errorMessage,type:"invalid",children:o})]}),(0,r.jsx)(x.A.Check,{checked:i,className:"mx-4",id:"startflowShowPassword",label:"Show password",onChange:e=>{l(e.target.checked)},type:"checkbox"}),(0,r.jsx)(T.A,{show:!!m,variant:"danger",children:m}),(0,r.jsx)(S.h,{className:`mt-3 ${I().mainActionButton} ${!f||D||!w?I().buttonDisabled:""}`,handleClick:()=>{N(!0);let r=new TextEncoder().encode(g).length;r<5?p("Password is too short. Please have at least 5 characters."):r>72?p("Password is too long. Please have at most 72 characters."):(A(!0),n.i.SetParentStartflowPasswordCompleted(t,a,g).then(t=>{(0,c.X8)(s.ONG.PASSWORD_COMPLETD),e(t)}).catch(e=>{console.error("[startflow] Error setting password:",e),h("There was an error setting your password, please try again."),A(!1)}))},label:"Next ➡",labelClassName:I().buttonLabel,styleType:s.o2B.LANDING_MODAL})]})})})};var E=a(42717),L=a.n(E);let M=({freeSubjects:e,onNextStep:t})=>{let a,n,[i]=(0,u.useState)(""),[l,o]=(0,u.useState)(!1),[p,m]=(0,u.useState)(!1);return(0,u.useEffect)(()=>{let e=setTimeout(()=>{m(!0),(0,c.X8)(s.ONG.SCHOLARSHIP_MODAL_SHOW)},500);return()=>{clearTimeout(e)}},[]),(0,r.jsx)("div",{children:(0,r.jsx)(d.default,{isOpen:p,styleType:s.OgF.STARTFLOW_MODAL,children:(0,r.jsx)(_.default,{header:"Scholarship for subjects",size:s.Iai.MD,styleType:s.ndP.STARTFLOW_ADDSUBJECT_MODAL,children:(0,r.jsxs)("div",{className:L().modalText,children:[(a=1===e.length?"is":"are",n=e.map(e=>(0,A.Kv)(e)).join(", ").replace(/,(?=[^,]+$)/u," and"),(0,r.jsxs)("div",{className:L().section,children:[(0,r.jsx)("div",{className:L().bodyText,children:"At AdaptedMind, our goal is to serve everyone, and we know budgets are different."}),(0,r.jsxs)("div",{className:L().bodyText,children:["We've given you a subjects scholarship, so ",n," ",a," on us."]})]})),""!==i&&(0,r.jsx)("div",{className:"mt-3 alert alert-danger",role:"alert",children:i}),(0,r.jsx)(S.h,{className:`mt-4 ${L().mainActionButton} ${l?L().buttonDisabled:""}`,handleClick:()=>{l||((0,c.X8)(s.ONG.SCHOLARSHIP_COMPLETD),o(!0),t())},label:"Get started",labelClassName:L().buttonLabel,styleType:s.o2B.LANDING_MODAL})]})})})})};var O=a(51599),P=a(70231),k=a(45289),R=a.n(k);let U=({mobilePortraitView:e,onNextStep:t,parentID:a,parentStartflowID:l})=>{let[o,p]=(0,u.useState)(""),[m,h]=(0,u.useState)(!1),[S,g]=(0,u.useState)(!1);(0,u.useEffect)(()=>{let e=setTimeout(()=>{g(!0),(0,c.X8)(s.ONG.MATH_MODAL_SHOW)},500);return()=>{clearTimeout(e)}},[]);let x=e=>{m||(h(!0),e&&(0,c.X8)(s.ONG.MATH_ADDED),n.i.SetParentStartflowSubjectCompleted(a,l,s.pN.MATH,e).then(e=>{t(e)}).catch(()=>{p("There was an error getting your response, please try again."),h(!1)}))};return(0,r.jsx)("div",{children:(0,r.jsx)(d.default,{isOpen:S,styleType:s.OgF.STARTFLOW_MODAL,children:(0,r.jsx)(_.default,{header:"Add Math to Your Free Trial",size:s.Iai.MD,styleType:s.ndP.STARTFLOW_ADDSUBJECT_MODAL,children:(0,r.jsxs)("div",{className:`${R().modalText} ${R().modaltextAdd}`,children:[(0,r.jsxs)("div",{className:"text-left",children:["AdaptedMind Math, like AdaptedMind Reading, provides your child with customized learning that helps them learn math faster.",(0,r.jsx)("br",{}),(0,r.jsx)("br",{}),"AdaptedMind Math is entirely free for your 30 day free trial, and only costs $10 a month after the free trial. As with your reading free trial, you can cancel any time, with no contracts or commitment.",(0,r.jsx)("br",{}),(0,r.jsx)("br",{}),"10 reasons it's the best math instruction online - or anywhere else!",(0,r.jsx)("br",{}),(0,r.jsx)("br",{}),"1. Personalized starting point based on a quick pretest",(0,r.jsx)("br",{}),"2. Customized learning focuses on problem areas",(0,r.jsx)("br",{}),"3. Lessons move at your child's own pace",(0,r.jsx)("br",{}),"4. Tracks your child's progress and adapts to it",(0,r.jsx)("br",{}),"5. Fun badges encourage your child to enjoy learning",(0,r.jsx)("br",{}),"6. Developed by child-learning experts from Stanford, Berkeley, and Harvard",(0,r.jsx)("br",{}),"7. Printable worksheets with answers for easy reference",(0,r.jsx)("br",{}),"8. Convenient reports let you track your child's progress",(0,r.jsx)("br",{}),"9. Great for math instructors, too",(0,r.jsx)("br",{}),"10. Results for your child guaranteed - or simply cancel it online in your 30 day trial and it's free!",(0,r.jsx)("br",{})]}),""!==o&&(0,r.jsx)("div",{className:"mt-3 alert alert-danger",role:"alert",children:o}),(0,r.jsx)(i.Cz,{fireLPEvent:c.X8,startFlow:!0,styleType:s.RZA.STARTFLOW,subjectName:"Math"}),(0,r.jsx)("p",{className:(0,P.p)("text-center","my-3"),children:(0,r.jsx)(O.O,{children:(0,r.jsx)("a",{className:(0,P.p)(R().addSubjectLink),onClick:e=>{e.preventDefault(),x(!0)},children:"Add Math (Free for 30 days, $10/month extra after free trial)"})})}),(0,r.jsx)("p",{className:(0,P.p)("text-center","my-3"),children:(0,r.jsx)(O.O,{children:(0,r.jsx)("a",{className:(0,P.p)(R().noThanksLink),onClick:e=>{e.preventDefault(),x(!1),(0,c.X8)(s.ONG.MATH_NO_THANKS_SELECTED)},children:"No, Thanks"})})})]})})})})};var B=a(86633),F=a(15024),$=a(36427);
1let G={[A.Rg.web]:"non_scholarship_signups",[F.C]:"non_scholarship_signups",unified_daily_progress_email:"non_scholarship_signups",[s.CRS.EXPERIMENT_KEYS.web]:"all_signups",[B.PA]:"non_scholarship_signups"},H=({currentStep:e,parentID:t,registrationSubject:a})=>{(0,u.useEffect)(()=>{if("Password"!==e)return;if(!t||!a)return void $.A.error("Parent ID or registration subject is not defined",{parentID:t,registrationSubject:a});let r=a===s.iqN.SCHOLARSHIP;for(let[e,a]of Object.entries(G))r&&"non_scholarship_signups"===a||n.i.GetOrSetParentExperimentBucket(t,e).catch(a=>{$.A.error("Error fetching experiment bucket:",{error:a instanceof Error?a.message:String(a),experimentKey:e,parentID:t})})},[e,t,a])};var X=a(4638);let W=e=>e in s.Z3E?s.Z3E[e]:s.oO,q=(e,t)=>{let a=W(e);if(!(0,A.ri)(t.completed_at))return{progress:100,step:"End"};for(let e=1;e<=a.length;e+=1){let r=a[e-1],s={progress:e,step:r};if("Password"===r&&(0,A.ri)(t.password_completed_at)||"Students"===r&&(0,A.ri)(t.students_completed_at)||"Math"===r&&(0,A.ri)(t.math_completed_at)||"Reading"===r&&(0,A.ri)(t.reading_completed_at)||"Science"===r&&(0,A.ri)(t.science_completed_at)||"Social Studies"===r&&(0,A.ri)(t.social_studies_completed_at)||"Super Skills"===r&&(0,A.ri)(t.super_skills_completed_at))return s}return(0,A.ri)(t.discount_completed_at)&&e!==s.iqN.SCHOLARSHIP?s.C0Z:s.XhK};var V=a(81278),K=a(65519),z=a(95469),Y=a(86164),Z=a(1884);class Q extends u.Component{constructor(e){super(e),this.state={}}componentDidMount(){if(!Z.S){let e,t;if((0,Y.Nf)("user_data",{email:this.props.parent.email}),(0,c.X8)("startflow started",{registrationSubject:this.props.registrationSubject}),this.props.registrationSubject===s.iqN.SCHOLARSHIP)return void(0,c.X8)("scholarship success",{registrationSubject:this.props.registrationSubject});(0,c.X8)("conversion success",{registrationSubject:this.props.registrationSubject}),(0,Y.fI)("conversion",{currency:"USD",send_to:"AW-1015658707/7i0LCI2fxgEQ0_Gm5AM",transaction_id:"",value:14.95}),Promise.all([(0,Y.Fk)("client_id"),(0,Y.Fk)("session_id")]).then(([e,t])=>{console.log("Google Analytics Data Is:",{client_id:e,session_id:t}),this.props.onGoogleAnalyticsUserDataFetched(e,t)}
1),window._gaq=window._gaq||[],window._gaq.push(["gwo._setAccount","UA-17027902-2"],["gwo._trackPageview","/3158003661/goal"],["gwo._setAccount","UA-17027902-2"],["gwo._trackPageview","/1008730371/goal"],["gwo._setAccount","UA-17027902-2"],["gwo._trackPageview","/1434512093/goal"],["gwo._setAccount","UA-17027902-2"],["gwo._trackPageview","/0188784160/goal"]),(e=document.createElement("script")).type="text/javascript",e.async=!0,e.dataset.otIgnore="true",e.setAttribute("class","optanon-category-C0001"),e.src=`${"https:"===document.location.protocol?"https://ssl":"http://www"}.google-analytics.com/ga.js`,(t=document.querySelectorAll("script")[0]).parentNode.insertBefore(e,t),(0,K.c)(),(0,z.t)();if(!window.pintrk){window.pintrk=function(){window.pintrk.queue.push(Array.prototype.slice.call(arguments))};let e=window.pintrk;e.queue=[],e.version="3.0";let t=document.createElement("script");t.async=!0,t.src="https://s.pinimg.com/ct/core.js";let a=document.querySelectorAll("script")[0];a.parentNode.insertBefore(t,a)}window.pintrk("load","2615160066242",{em:"<user_email_address>"}),window.pintrk("page"),window.pintrk("track","signup"),function(){let e,t,a;try{t=""===top.document.referrer?"":encodeURIComponent(top.document.referrer.slice(0,512))}catch{t=null===document.referrer?"":document.referrer.toString().slice(0,512)}try{a=window&&window.top&&document.location&&window.top.location===document.location?document.location:window&&window.top&&window.top.location&&""!==window.top.location?window.top.location:document.location}catch{a=document.location}try{e=""===parent.location.href?"":encodeURIComponent(parent.location.href.toString().slice(0,512))}catch{try{e=null===a?"":encodeURIComponent(a.toString().slice(0,512))}catch{e=""}}let r=Number(document.querySelectorAll("script").length)-1,s,n=document.querySelectorAll("script")[r],i=null,l=document.createElement("script");void 0===s&&(s=Math.floor(1e17*Math.random())),i=`dx.mountain.com/spx?conv=1&shaid=32606&tdr=${t}&plh=${e}&cb=${s}&shoid=ORDER ID&shoamt=TOTAL ORDER AMOUNT&shocur=&shopid=&shoq=&shoup=&shpil=`,l.type="text/javascript",l.src=("https:"===document.location.protocol?"https://":"http://")+i,n.parentNode.insertBefore(l,n)}()}}render(){return this.props.registrationSubject===s.iqN.SCHOLARSHIP?(0,r.jsx)("div",{}):(0,r.jsx)("div",{children:(0,r.jsx)("div",{id:"m3_tracker_1",style:{left:"0px",position:"absolute",top:"0px",visibility:"hidden"},children:(0,r.jsx)("img",{alt:"",height:"0",src:`https://www.multiplication.com/gamer/www/x
1/iu87uyu6gg.php?trackerid=1&cb=${Date.now()}`,width:"0"})})})}}var J=a(24065),ee=a.n(J);let et=({numStudents:e,parent:t,parentStartflow:a,registrationSubject:o,students:d})=>{let p=(0,V.useRouter)(),[m,_]=(0,u.useState)(a),[S,g]=(0,u.useState)(d),x=q(o,m),[b,f]=(0,u.useState)(x.step),[j,w]=(0,u.useState)(x.progress),[N,A]=(0,u.useState)(!0),[T,y]=(0,u.useState)(!1),[I,E]=(0,u.useState)(0),[L,O]=(0,u.useState)(""),[P,k]=(0,u.useState)(!1),[R,B]=(0,u.useState)([]),[F,G]=(0,u.useState)(!1);H({currentStep:b,parentID:t.id,registrationSubject:o}),(0,u.useEffect)(()=>{(0,X._i)()?(G(!0),(0,c.X8)(s.ONG.SHOWED_MOBILE_VERSION)):(0,c.X8)(s.ONG.SHOWED_DESKTOP_VERSION),A(!1)},[]);let K=W(o),z=(e,t)=>{let a=q(o,e);_(e),t?(f(t),w(100)):(f(a.step),w(a.progress))},Y=async e=>{A(!0);try{let a=await n.i.getAllStudents(t.id);g(a),_(e),f("Time Limit")}catch(a){$.A.error("Error fetching students for time limits:",{error:a instanceof Error?a.message:String(a),parentID:t.id}),z(e)}finally{A(!1)}},Z=()=>{n.i.SetParentStartflowCompleted(t.id,a.id).then(e=>{z(e)})};return((0,u.useEffect)(()=>{(""===b||"End"===b)&&((0,c.X8)(s.ONG.FULLY_COMPLETED),p.replace("/select-student")),"Discount"===b&&n.i.GetEligibleBundle(t.id).then(e=>{e.discount_id>0?(E(e.discount_id),O(e.comparing_image),y(!0)):z(m,"Scholarship")}).catch(e=>{$.A.error("Error fetching discount eligibility:",{error:e instanceof Error?e.message:String(e),parentID:t.id}),z(m,"Scholarship")}),"Scholarship"===b&&n.i.getParentSubjects(t.id).then(e=>{let t=[s.pN.MATH,s.pN.READING,s.pN.SCIENCE,s.pN.SOCIAL_STUDIES,s.pN.SUPER_SKILLS];if(o!==s.iqN.SCHOLARSHIP)for(let a of e){let e=t.indexOf(a.subject_id);-1!==e&&t.splice(e,1)}t.length>0?(B(t),k(!0)):Z()}).catch(e=>{$.A.error("Error fetching parent subjects:",{error:e instanceof Error?e.message:String(e),parentID:t.id}),Z()})},[b]),!N&&""!==b&&"End"!==b&&("Discount"!==b||T)&&("Scholarship"!==b||P))?(0,r.jsxs)("div",{className:`${ee().background} ${F?"mobile":""}`,children:[1===j&&(0,r.jsx)(Q,{onGoogleAnalyticsUserDataFetched:(e,a)=>{n.i.SetGoogleAnalyticsIDs(t.id,e,a)},parent:t,registrationSubject:o}),F||"Math"===b||"Reading"===b||"Social Studies"===b||"Science"===b||"Super Skills"===b?(0,r.jsxs)(u.Fragment,{children:[(0,r.jsx)("div",{className:`${ee().setupLogo} ${F?"mobile":""}`}),(0,r.jsx)("div",{className:`${ee().accountSetupElement} ${F?"mobile":""}`})]}):null,"Scholarship"!==b&&(0,r.jsx)("div",{className:`${ee().progressBarContainer} ${F?"mobile":""}`,children:(0,r.jsx)(i.jh,{elements:K,isMobilePortrait:F,progress:j})}),"Password"===b&&(0,r.jsx)(C,{mobilePortraitView:F,onNextStep:e=>{z(e)},parentID:t.id,parentStartflowID:a.id}),"Students"===b&&(0,r.jsx)(D,{currentStudents:S,initialNumStudents:e,mobilePortraitView:F,onNextStep:e=>{Y(e)},parentID:t.id,parentStartflowID:a.id}),"Time Limit"===b?(0,r.jsx)(v,{currentStudents:S,onNextStep:()=>{z(m)}}):null,"Discount"===b&&(0,r.jsx)(h,{comparingImage:L,discountID:I,mobilePortraitView:F,onNextStep:e=>{z(e)},parentID:t.id,parentStartflowID:a.id}),"Scholarship"===b&&(0,r.jsx)(M,{freeSubjects:R,mobilePortraitView:F,onNextStep:()=>{Z()},parentID:t.id,parentStartflowID:a.id}),"Math"===b&&(0,r.jsx)(U,{mobilePortraitView:F,onNextStep:e=>{z(e)},parentID:t.id,parentStartflowID:a.id}),"Reading"===b&&(0,r.jsx)(i.sY,{mobilePortraitView:F,onNextStep:e=>{z(e)},parentID:t.id,parentStartflowID:a.id,subjectID:s.pN.READING},s.pN.READING),"Science"===b&&(0,r.jsx)(i.sY,{mobilePortraitView:F,onNextStep:e=>{z(e)},parentID:t.id,parentStartflowID:a.id,subjectID:s.pN.SCIENCE},s.pN.SCIENCE),"Social Studies"===b&&(0,r.jsx)(i.sY,{mobilePortraitView:F,onNextStep:e=>{z(e)},parentID:t.id,parentStartflowID:a.id,subjectID:s.pN.SOCIAL_STUDIES},s.pN.SOCIAL_STUDIES),"Super Skills"===b&&(0,r.jsx)(i.sY,{mobilePortraitView:F,onNextStep:e=>{z(e)},parentID:t.id,parentStartflowID:a.id,subjectID:s.pN.SUPER_SKILLS},s.pN.SUPER_SKILLS)]}):(0,r.jsx)("div",{className:`${ee().background} ${F?ee().backgroundMobile:""}`,children:(0,r.jsx)(l.k,{})})};var ea=a(75642),er=a.n(ea),es=a(77526),en=a(39616),ei=a(98519),el=a(95585),eo=a.n(el);let ed="https://assets.adaptedmind.com/mobile/v2/images",ec=["Password","Students","Add Subjects"],eu=(e,t)=>
1`${ed}/${e}-${t}-v1.webp`,ep=e=>`${ed}/arrow-${e}-v1.webp`,em=[eu("left","empty"),eu("left","fill"),eu("mid","empty"),eu("mid","fill"),eu("right","empty"),eu("right","fill"),ep("empty"),ep("fill"),ep("mid")],eh=({className:e,currentStep:t})=>{let a=Math.min(Math.max("Password"===t?1:"Students"===t||"Time Limit"===t?2:3,0),ec.length),s=ec.length-1;return(0,r.jsxs)(u.Fragment,{children:[em.map(e=>(0,r.jsx)("link",{as:"image",href:e,rel:"preload"},e)),(0,r.jsx)("div",{"aria-label":"Startflow progress","aria-valuemax":ec.length,"aria-valuemin":0,"aria-valuenow":a,className:[eo().progressBar,e??""].join(" "),role:"progressbar",children:(0,r.jsx)("div",{className:eo().track,children:ec.map((e,t)=>{var n;let i=t<a,l=i?"fill":"empty";return(0,r.jsxs)("div",{className:eo().item,style:{marginLeft:0===t?0:-1},children:[0===t?(0,r.jsx)("img",{alt:"","aria-hidden":"true",className:eo().wideAsset,src:eu("left",l)}):null,(0,r.jsxs)("div",{className:eo().middle,children:[(0,r.jsx)("img",{alt:"","aria-hidden":"true",className:eo().fillAsset,src:eu("mid",l)}),(0,r.jsx)("span",{className:[eo().label,i?eo().labelFilled:eo().labelEmpty].join(" "),title:e,children:e})]}),(0,r.jsx)("img",{alt:"","aria-hidden":"true",className:eo().wideAsset,src:t<s?ep((n=t+1<a,i&&n?"fill":i?"mid":"empty")):eu("right",l),style:{marginLeft:-1}})]},e)})})})]})};var e_=a(62561),eS=a.n(e_);let eg=(e,t)=>e.find(e=>e.discountID===t),ex=[{discountID:0,label:"Math for $9.95",subjectIDs:[s.pN.MATH],variant:"math"},{discountID:24,label:"Math + Reading for $19.95",subjectIDs:[s.pN.MATH,s.pN.READING],variant:"mathReading"},{discountID:25,label:"All Subjects for $29.95",subjectIDs:[s.pN.MATH,s.pN.READING,s.pN.SCIENCE,s.pN.SOCIAL_STUDIES,s.pN.SUPER_SKILLS],variant:"allSubjects"}],eb=({errorMessage:e,formSubmitted:t,onSelectChoice:a})=>{let n=eg(ex,0),i=eg(ex,24),l=eg(ex,25),o=t||!n,c=t||!i,u=t||!l,p=e=>{e&&!t&&a(e)};return(0,r.jsx)(d.default,{alignItems:"center",isOpen:!0,styleType:s.OgF.STARTFLOW_DISCOUNT,children:(0,r.jsxs)("section",{"aria-labelledby":"upgrade-modal-title","aria-modal":"true",className:eS().modal,role:"dialog",children:[(0,r.jsx)("img",{alt:"","aria-hidden":"true",className:`${eS().titleStars} ${eS().titleStarsLeft}`,src:"https://assets.adaptedmind.com/mobile/v2/images/up-payment-stars-left-v2.webp"}),(0,r.jsx)("img",{alt:"","aria-hidden":"true",className:`${eS().titleStars} ${eS().titleStarsRight}`,src:"https://assets.adaptedmind.com/mobile/v2/images/up-payment-stars-right-v2.webp"}),(0,r.jsxs)("header",{className:eS().header,children:[(0,r.jsxs)("h2",{className:eS().title,id:"upgrade-modal-title",children:["Unlock ",(0,r.jsx)("span",{className:eS().titleAccent,children:"More"})," Learning"]}),(0,r.jsx)("p",{className:eS().subtitle,children:"Math is a fantastic foundationâbut variety is the secret to keeping them engaged, day after day."})]}),(0,r.jsxs)("p",{className:eS().terms,children:["30-day free trial, then billed monthly until canceled: $19.95/mo (Math & Reading) or $29.95/mo (All Subjects), + tax. Cancel anytime in account settings. Continuing accepts our"," ",(0,r.jsx)("a",{href:"/info/legal",children:"Terms"})," and"," ",(0,r.jsx)("a",{href:"/info/privacy",children:"Privacy Policy"}),"."]}),(0,r.jsxs)("div",{className:eS().planList,children:[(0,r.jsxs)("div",{className:`${eS().planRow} ${eS().mathReadingRow}`,children:[(0,r.jsxs)("div",{className:eS().planDetails,children:[(0,r.jsx)("img",{alt:"","aria-hidden":"true",className:eS().planIcon,src:"https://assets.adaptedmind.com/mobile/v2/images/up-payment-reading-v2.webp"}),(0,r.jsxs)("div",{className:eS().planCopy,children:[(0,r.jsx)("h3",{children:"Math & Reading"}),(0,r.jsx)("p",{children:"Best for strengthening comprehension fast"})]})]}),(0,r.jsxs)(O.O,{ariaLabel:"Choose Math and Reading plan",as:"button",className:`${eS().planButton} ${eS().mathReadingButton} ${c?eS().planButtonDisabled:""}`,enabled:!c,onClick:()=>{p(i)},children:[(0,r.jsx)("span",{className:eS().buttonTitle,children:"Choose Math & Reading"}),(0,r.jsxs)("span",{className:eS().buttonPriceLine,children:[(0,r.jsx)("span",{className:eS().buttonPriceText,children:"Free for 30 Days, then"}),(0,r.jsx)("strong",{className:eS().mathReadingPrice,children:"$19.95"}),(0,r.jsx)("span",{className:eS().buttonPriceText,children:"/ mo"})]})]})]}),(0,r.jsxs)("div",{className:`${eS().planRow} ${eS().allSubjectsRow}`,children:[(0,r.jsxs)("div",{className:eS().planDetails,children:[(0,r.jsx)("img",{alt:"","aria-hidden":"true",className:eS().planIcon,src:"https://assets.adaptedmind.com/mobile/v2/images/up-payment-trophy-v2.webp"}),(0,r.jsxs)("div",{className:eS().planCopy,children:[(0,r.jsx)("h3",{children:"All Subjects"}),(0,r.jsx)("p",{children:"Best value: variety, motivation & progress"})]})]}),(0,r.jsxs)(O.O,{ariaLabel:"Unlock all subjects plan",as:"button",className:`${eS().planButton} ${eS().allSubjectsButton} ${u?eS().planButtonDisabled:""}`,enabled:!u,onClick:()=>{p(l)},children:[(0,r.jsx)("span",{className:eS().buttonTitle,children:"Unlock All Subjects"}),(0,r.jsxs)("span",{className:eS().buttonPriceLine,children:[(0,r.jsx)("span",{className:eS().buttonPriceText,children:"Free for 30 Days, then"}),(0,r.jsx)("strong",{className:eS().allSubjectsPrice,children:"$29.95"}),(0,r.jsx)("span",{className:eS().buttonPriceText,children:"/ mo"})]})]})]})]}),""===e?null:(0,r.jsx)("div",{className:eS().errorMessage,role:"alert",children:e}),(0,r.jsx)(O.O,{as:"button",className:`${eS().noThanksButton} ${o?eS().noThanksButtonDisabled:""}`,enabled:!o,onClick:()=>{p(n)},children:"No, Thanks"})]})})};var ef=a(53619),ej=a.n(ef);let ew={B:0x253734dc6,C:0x253734dc7},eN=ew.B,eD=new Set(["B","C"]),eA=new Map([["Math",s.pN.MATH],["Reading",s.pN.READING],["Science",s.pN.SCIENCE],["Social Studies",s.pN.SOCIAL_STUDIES],["Super Skills",s.pN.SUPER_SKILLS]]),ev={Discount:"discount_completed_at",Password:"password_completed_at",Scholarship:"completed_at",Students:"students_completed_at"},eT=(e,t,a,r={})=>{null!==t&&eD.has(t)&&(0,c.X8)(e,{unifiedStartflowVariant:t,videoID:a,...r})},ey=({numStudents:e,parent:t,parentStartflow:a,registrationSubject:i,students:d,unifiedStartflowVariant:p})=>{let m=(0,V.useRouter)(),[h,_]=(0,u.useState)(a),[S,g]=(0,u.useState)(d),x=q(i,h),[b,f]=(0,u.useState)(x.step),[j,w]=(0,u.useState)(x.progress),[N,A]=(0,u.useState)(!0),[T,y]=(0,u.useState)([]),[I,E]=(0,u.useState)(!1),[L,O]=(0,u.useState)(""),P=(0,u.useRef)(!1),k=(0,u.useRef)(null),[R,U]=(0,u.useState)(eA.has(b));H({currentStep:b,parentID:t.id,registrationSubject:i});let B=p?ew[p]??eN:eN;(0,u.useEffect)(()=>{(0,X._i)()?(E(!0),(0,c.X8)(s.ONG.SHOWED_MOBILE_VERSION)):(0,c.X8)(s.ONG.SHOWED_DESKTOP_VERSION),A(!1)},[]);let F=e=>{let t,a=q(i,e);_(e),P.current=!1,O(""),f(a.step),w(a.progress),t=a.step,eA.has(t)&&k.current?.play()},G=async e=>{A(!0);try{let a=await n.i.getAllStudents(t.id);g(a),_(e),f("Time Limit")}catch(a){$.A.error("Error fetching students for time limits:",{error:a instanceof Error?a.message:String(a),parentID:t.id}),F(e)}finally{A(!1)}},W=()=>{k.current?.pause(),P.current=!1,O(""),f(s.C0Z.step),w(s.C0Z.progress)},K=()=>{n.i.SetParentStartflowCompleted(t.id,a.id).then(e=>{F(e)})},z=async e=>{if(!P.current){P.current=!0,O(""),(0,c.X8)((e=>{switch(e.variant){case"allSubjects":return"Startflow_OfferModal_AllSubjects_clicked";case"math":return"Startflow_OfferModal_NoThanks_clicked";case"mathReading":return"Startflow_OfferModal_Reading_clicked"}})(e),{discountID:e.discountID,label:e.label,variant:e.variant});try{let r=await n.i.SetParentStartflowDiscountCompleted(t.id,a.id,e.discountID),s=(e=>{switch(e.variant){case"allSubjects":return"Startflow_AllSubjectsBundle_added";case"math":return null;case"mathReading":return"Startflow_ReadingBundle_added"}})(e);null!==s&&(0,c.X8)(s,{discountID:e.discountID,label:e.label,variant:e.variant}),f("Scholarship"),_(r)}catch(a){"math"!==e.variant&&(0,c.X8)("Startflow_BundleAdded_error",{discountID:e.discountID,error:a instanceof Error?a.message:String(a),label:e.label,variant:e.variant}),$.A.error("Error submitting unified startflow add-on choice:",{error:a instanceof Error?a.message:String(a),parentID:t.id}),O("There was an error getting your response, please try again."),P.current=!1}}};if((0,u.useEffect)(()=>
1{if((""===b||"End"===b)&&((0,c.X8)(s.ONG.FULLY_COMPLETED),m.replace("/select-student")),eA.has(b)&&(O(""),P.current=!1),"Discount"===b){k.current?.pause();let e=setTimeout(()=>{(0,c.X8)("Startflow_OfferModal_reached",{unifiedStartflowVariant:p})},500);return()=>{clearTimeout(e)}}"Scholarship"===b&&n.i.getParentSubjects(t.id).then(e=>{let t=[s.pN.MATH,s.pN.READING,s.pN.SCIENCE,s.pN.SOCIAL_STUDIES,s.pN.SUPER_SKILLS];if(i!==s.iqN.SCHOLARSHIP)for(let a of e){let e=t.indexOf(a.subject_id);-1!==e&&t.splice(e,1)}t.length>0?y(t):K()}).catch(e=>{$.A.error("Error fetching parent subjects:",{error:e instanceof Error?e.message:String(e),parentID:t.id}),K()})},[b]),N||""===b||"End"===b)return(0,r.jsx)(l.k,{});let Y=(0,r.jsxs)(u.Fragment,{children:[(0,r.jsx)("img",{alt:"",className:ej().backgroundImage,src:"https://assets.adaptedmind.com/mobile/v2/images/up-payment-background-v1.webp"}),(0,r.jsx)("div",{className:eA.has(b)||"Discount"===b?"":ej().transparent,children:(0,r.jsx)(es.p,{cuePointSystem:"vtt",id:B,onEnd:e=>{k.current=e,k.current.pause(),eT("Startflow_SubjectVideo_ended",p,B),W()},onError:e=>{eT("Startflow_SubjectVideo_error",p,B,{error:String(e)})},onLoaded:e=>{k.current=e},onPlay:()=>{eT("Startflow_SubjectVideo_started",p,B)}})})]}),Z=(0,r.jsxs)(u.Fragment,{children:[1===j?(0,r.jsx)(Q,{onGoogleAnalyticsUserDataFetched:(e,a)=>{n.i.SetGoogleAnalyticsIDs(t.id,e,a)},parent:t,registrationSubject:i}):null,(0,r.jsx)("div",{className:`${ej().progressBarContainer} ${I?"mobile":""}`,children:(0,r.jsx)(eh,{currentStep:b})}),"Password"===b?(0,r.jsx)(C,{mobilePortraitView:I,onNextStep:e=>{F(e)},parentID:t.id,parentStartflowID:a.id}):null,"Students"===b?(0,r.jsx)(D,{currentStudents:S,initialNumStudents:e,mobilePortraitView:I,onNextStep:e=>{G(e)},parentID:t.id,parentStartflowID:a.id}):null,"Time Limit"===b?(0,r.jsx)(v,{currentStudents:S,onNextStep:()=>{F(h)}}):null,"Discount"===b?(0,r.jsx)(eb,{errorMessage:L,formSubmitted:P.current,onSelectChoice:e=>{z(e)}}):null,"Scholarship"===b?(0,r.jsx)(M,{freeSubjects:T,mobilePortraitView:I,onNextStep:()=>{K()},parentID:t.id,parentStartflowID:a.id}):null,R?(0,r.jsx)("div",{className:er().playWrapper,children:(0,r.jsx)(o.c,{animation:"funExpand",audioEvent:"hover",className:er().playButton,image:"https://assets.adaptedmind.com/vod/adaptedmind.adaptedmind/images/playbutton2.png",onClick:()=>{k.current&&(U(!1),(0,c.X8)("Unified Startflow Play Button Clicked",{unifiedStartflowVariant:p,videoID:B}),k.current.play())}})}):null,eA.has(b)?(0,r.jsx)(en.U,{bottom:"40px",left:"10px",onClick:()=>{k.current&&(U(!1),k.current.skipToEnd())},title:"Skip Video"}):null,(0,r.jsx)(en.U,{bottom:"10px",left:"10px",onClick:()=>{if(eA.has(b))return void W();if("Time Limit"===b)return void F(h);let e=ev[b];e&&F({...h,[e]:new Date().toISOString()})},title:"Next Step"})]});return(0,r.jsx)(ei.m,{assetAspectRatio:s.$F_.aspectRatio,backgroundContent:Y,bleedPercentages:s.$F_.bleedPercentages,uiContent:(0,r.jsx)("div",{className:ej().uiContent,children:Z})})};var eI=a(74982),eC=!0;let eE=({isInUnifiedStartflow:e,numStudents:t,parent:a,parentStartflow:s,registrationSubject:n,students:i,unifiedStartflowVariant:l})=>(0,r.jsx)(eI.v,{title:"Startflow - AdaptedMind",children:e?(0,r.jsx)(ey,{numStudents:t,parent:a,parentStartflow:s,registrationSubject:n,students:i,unifiedStartflowVariant:l}):(0,r.jsx)(et,{numStudents:t,parent:a,parentStartflow:s,registrationSubject:n,students:i})})},41589:e=>{e.exports={modalText:"AddStudents_modalText__qoqrl",errorMessage:"AddStudents_errorMessage__7UZfc",buttonDisabled:"AddStudents_buttonDisabled__qrylM",buttonLabel:"AddStudents_buttonLabel__UeM75"}},42717:e=>{e.exports={modalText:"Scholarship_modalText__qehmS",errorMessage:"Scholarship_errorMessage__1n5XK",buttonDisabled:"Scholarship_buttonDisabled__7tGEZ",mainActionButton:"Scholarship_mainActionButton__lgfx2",buttonLabel:"Scholarship_buttonLabel__fNVw3",addSubjectLink:"Scholarship_addSubjectLink__2HMah",noThanksLink:"Scholarship_noThanksLink__QvKMS"}},45289:e=>{e.exports={modalText:"SubjectMath_modalText__5IOUD",modalTextAdd:"SubjectMath_modalTextAdd__lTON7",errorMessage:"SubjectMath_errorMessage___B4es",buttonDisabled:"SubjectMath_buttonDisabled__F1IHH",buttonLabel:"SubjectMath_buttonLabel__XKZDJ",addSubjectLink:"SubjectMath_addSubjectLink__iSPH2",noThanksLink:"SubjectMath_noThanksLink__PDzoz"}},53619:e=>{e.exports={immersiveRoot:"UnifiedStartflowController_immersiveRoot__uCdi_",backgroundImage:"UnifiedStartflowController_backgroundImage__yLsdA",transparent:"UnifiedStartflowController_transparent__S5LkR",uiContent:"UnifiedStartflowController_uiContent__rY22A",progressBarContainer:"UnifiedStartflowController_progressBarContainer__gr__T"}},62561:e=>{e.exports={modal:"UpgradeModal_modal__wsStM",titleStars:"UpgradeModal_titleStars__YFDFT",titleStarsLeft:"UpgradeModal_titleStarsLeft___Mgl4",titleStarsRight:"UpgradeModal_titleStarsRight__0Hmi1",header:"UpgradeModal_header__8_raD",title:"UpgradeModal_title__TYsSx",titleAccent:"UpgradeModal_titleAccent__WMk6C",subtitle:"UpgradeModal_subtitle__A6BIc",terms:"UpgradeModal_terms__cqoiL",planList:"UpgradeModal_planList__cEhfG",planRow:"UpgradeModal_planRow__5Z33r",allSubjectsRow:"UpgradeModal_allSubjectsRow__QwyQX",planDetails:"UpgradeModal_planDetails__uIxVf",planIcon:"UpgradeModal_planIcon___nr20",planCopy:"UpgradeModal_planCopy__Ku4JZ",planButton:"UpgradeModal_planButton__qPxzF",planButtonDisabled:"UpgradeModal_planButtonDisabled__c
1ROBl",mathReadingButton:"UpgradeModal_mathReadingButton__WM9_K",allSubjectsButton:"UpgradeModal_allSubjectsButton__wjQMh",buttonTitle:"UpgradeModal_buttonTitle__TtlDU",buttonPriceLine:"UpgradeModal_buttonPriceLine__6L4sM",buttonPriceText:"UpgradeModal_buttonPriceText__oiF_J",mathReadingPrice:"UpgradeModal_mathReadingPrice__WgvCN",allSubjectsPrice:"UpgradeModal_allSubjectsPrice__cKYwM",errorMessage:"UpgradeModal_errorMessage__okPQ4",noThanksButton:"UpgradeModal_noThanksButton__YvLQX",noThanksButtonDisabled:"UpgradeModal_noThanksButtonDisabled__RW26w"}},74982:(e,t,a)=>{"use strict";a.d(t,{v:()=>c});var r=a(6029),s=a(27087),n=a(67202),i=a(1884),l=a(95669),o=a.n(l),d=a(55729);i.S&&(d.useLayoutEffect=()=>{});let c=({children:e,serverTimestamp:t,title:a="AdaptedMind"})=>((0,d.useEffect)(()=>{(0,s.s)(),isNaN(t)?(0,n.E)(0):(0,n.E)(t-Date.now())},[]),(0,r.jsxs)(d.Fragment,{children:[(0,r.jsx)(o(),{children:(0,r.jsx)("title",{children:a})}),e]}))},94509:e=>{e.exports={modalText:"CreatePassword_modalText__AiKcx",errorMessage:"CreatePassword_errorMessage__oCBwz",buttonDisabled:"CreatePassword_buttonDisabled__CFq_Q",buttonLabel:"CreatePassword_buttonLabel__xHnGb",mainActionButton:"CreatePassword_mainActionButton__2SNIH"}},95585:e=>{e.exports={progressBar:"UnifiedStartFlowProgressBar_progressBar__72QpR",track:"UnifiedStartFlowProgressBar_track__Oyvu7",item:"UnifiedStartFlowProgressBar_item__Oyq8h",wideAsset:"UnifiedStartFlowProgressBar_wideAsset__GCC3k",middle:"UnifiedStartFlowProgressBar_middle__g6A6I",fillAsset:"UnifiedStartFlowProgressBar_fillAsset__XIryn",label:"UnifiedStartFlowProgressBar_label__fJ9xU",labelFilled:"UnifiedStartFlowProgressBar_labelFilled__G3Hka",labelEmpty:"UnifiedStartFlowProgressBar_labelEmpty__XqXD6"}},97841:e=>{e.exports={modalText:"AddDiscount_modalText__tSLsG",errorMessage:"AddDiscount_errorMessage__aF5IS",buttonDisabled:"AddDiscount_buttonDisabled__hosVx",buttonLabel:"AddDiscount_buttonLabel__j1rjg",addSubjectLink:"AddDiscount_addSubjectLink__5KujR",noThanksLink:"AddDiscount_noThanksLink__Z_oQB",discountImageContainer:"AddDiscount_discountImageContainer__cZauD",discountImage:"AddDiscount_discountImage__A0Iww",discountKeep:"AddDiscount_discountKeep__PTUX9",discountChoose:"AddDiscount_discountChoose__HXjW1",imageButton:"AddDiscount_imageButton__2P3TE"}}},e=>{e.O(0,[3771,6343,194,9683,290,3452,3484,7749,8286,9594,7034,6751,6451,4731,7526,220,9883,9430,1664,8618,1529,2831,3479,2454,6593,636,8792],()=>e(e.s=10496)),_N_E=e.O()}]);
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.