{"version":3,"file":"static/chunks/pages/register/teacher/onboarding-77b92c26e9e96032.js","mappings":"sFACA,CAAAA,OAAAC,QAAA,CAAAD,OAAAC,QAAA,MAAAC,IAAA,EACA,+BACA,WACA,OAAeC,EAAQ,MACvB,EACA,sHCFO,IAAMC,EAAwB,IAAIC,IAA+B,CACtE,CAAC,UAAWC,EAAAA,EAAQA,CAAC,CACrB,CAAC,QAASC,EAAAA,EAASA,CAAC,CACpB,CAAC,UAAWA,EAAAA,EAASA,CAAC,CACtB,CAAC,OAAQ,KAAK,CACf,EAEYC,EAAmC,IAAIH,IAA+B,CACjF,CAAC,UAAWI,EAAAA,EAAeA,CAAC,CAC5B,CAAC,QAASF,EAAAA,EAASA,CAAC,CACpB,CAAC,UAAWA,EAAAA,EAASA,CAAC,CACtB,CAAC,OAAQG,EAAAA,EAAeA,CAAC,CAC1B,iBCHM,IAAMC,EAAQ,IACnB,GAAM,CAAEC,KAAAA,EAAO,EAAK,CAAEC,MAAAA,EAAQ,EAAK,CAAEC,YAAAA,EAAc,EAAK,CAAEC,QAAAA,CAAO,CAAEC,SAAAA,CAAQ,CAAEC,UAAAA,CAAS,CAAE,CAAGC,EAErFC,EAAeL,EACjBN,EAAiCY,GAAG,CAACL,GACrCX,EAAsBgB,GAAG,CAACL,GAE9B,MACE,GAAAM,EAAAC,GAAA,EAACC,EAAAA,CAAUA,CAAAA,CACTC,GAAIC,EAAAA,QAAQA,CACZC,KAAMd,GAAQC,EACdc,MAAM,6BACNC,UAAU,2BACVC,QAAQ,6BACRC,MAAM,8BACNC,UAAU,6BACVC,QAAQ,mCAER,GAAAX,EAAAC,GAAA,EAACW,MAAAA,CACChB,UAAWiB,CAAAA,EAAAA,EAAAA,CAAAA,EACTjB,EACA,0BACA,CACE,6CAA8C,CAACJ,EAC/C,QAASA,EACT,WAAY,CAACC,EACb,YAAaA,CACf,EACAA,GAAe,CACb,yEACEC,YAAAA,EACF,mEAAoEA,UAAAA,EACpE,4EACEA,YAAAA,EACF,sE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,IACLP,EAAW,IACXC,EAAShP,EACX,EACJ,EAQA,MANA6F,CAAAA,EAAAA,EAAAA,SAAAA,EAAU,KACJ+I,GACG+b,GAET,EAAG,EAAE,EAEE,CACLF,gBAAAA,EACArtB,QAAAA,EACA4C,MAAAA,EACA2qB,qBAAAA,CACF,CACF,EEXME,GAAsCjV,IDpCrB,CACrB,yBACA,2CACA,+BACA,uBACA,wBACA,yBACA,wBACA,mDACA,2BACA,wCACA,mBACA,mDACA,qCACA,qBACA,kBACA,qBACA,gBACA,qBACA,uBACA,iCACA,0BACA,6BACA,yBACA,8BACA,kBACA,0BACA,oCACA,iCACA,gCACA,oCACA,6CACA,gCACA,sBACA,iCACA,8BACA,uCACA,iCACA,2BACA,uBACA,kCACA,kBACA,+BACA,oDACA,sBACA,yBACA,sCACA,mBACA,0BACA,qBACA,kCACA,kBACA,kCACA,mCACA,4BACA,+BACA,iCACA,0BACA,gCACA,wBACA,uBACA,0BACA,0BACA,sBACA,gDACA,wBACA,oBACA,yBACA,0BACA,8BACA,wBACA,4BACA,8CACA,qBACA,oBACA,oBACA,iBACA,0DACA,qDACA,kDACA,iDACA,qDACA,uDACA,qDACA,uDACA,sDACA,uDACA,yDACA,qCACA,4BACA,2CACA,0BACA,mBACA,oCACA,yBACA,mBACA,sCACA,0BACA,4BACA,iBACA,4BACA,kBACA,mCACA,sDACA,yDACA,+BACA,+BACA,qBACA,yBACA,uBACA,iBACA,qDACA,sBACA,8BACA,oBACA,oBACA,oBACA,qBACA,iBACA,sBACA,0BACA,mBACA,sBACA,yBACA,sBACA,sBACA,2BACA,yBACA,4CACA,qBACA,2BACA,oDACA,8BACA,8BACA,+BACA,mBACA,gCACA,4BACA,sBACA,iCACA,wBACA,wBACA,iBACA,8BACA,4BACA,6BACA,2BACA,2BACA,gCACA,qBACA,oBACA,8DACA,4CACA,gCACA,8BACA,oCACA,8BACA,uCACA,oCACA,sEACA,0CACA,+BACA,sBACA,yBACA,yBACA,6BACA,iBACA,sCACA,iCACA,2CACA,uBACA,sBACA,uBACA,4BACA,oBACA,sBACA,qBACA,kCACA,mBACA,oBACA,6BACA,mBACA,qBACA,wBACA,sBACA,qBACA,qBACA,mBACA,eACA,+BACA,2CACA,uBACA,4BACA,0CACA,6CACA,wBACA,2BACA,uBACA,0BACA,qBACA,wBACA,mBACA,gBACA,6CACA,uCACA,0BACA,8BACA,wBACA,gCACA,kBACA,yBACA,uBACA,gBACA,sBACA,uBACA,0DACA,yCACA,qBACA,sCACA,4BACA,0BACA,oBACA,2BACA,oCACA,qBACA,mBACA,6BACA,sCACA,0CACA,2BACA,8BACA,gCACA,wBACA,gCACA,6BACA,uBACA,+BACA,qBACA,4BACA,0BACA,wBACA,gCACA,uBACA,+CACA,qDACA,iCACA,+BACA,sBACA,8BACA,wBACA,6BACA,sCACA,yBACA,8BACA,0BACA,oCACA,0CACA,0BACA,sBACA,yBACA,sBACA,2BACA,qCACA,uBACA,uBACA,mCACA,yBACA,yBACA,gBACA,2BACA,gCACA,sBACA,oBACA,mBACA,eACA,2CACA,yBACA,sBACA,uBACA,uCACA,uBACA,oBACA,4CACA,yBACA,+BACA,2BACA,4BACA,0BACA,mCACA,iBACA,sCACA,uCACA,sCACA,2BACA,mBACA,sBACA,sBACA,wCACA,kBACA,yBACA,+BACA,iCACA,+BACA,6BACA,+BACA,oCACA,oBACA,sBACA,4BACA,kCACA,mBACA,6BACA,4BACA,6BACA,gCACA,gBACA,8CACA,gCACA,iCACA,mBACA,yBACA,sBACA,oBACA,gBACA,sBACA,kBACA,2BACA,iBACA,4BACA,mCACA,8CACA,2BACA,2BACA,oCACA,sCACA,kCACA,mCACA,mCACA,uCACA,oCACA,kCACA,8BACA,kCACA,yBACA,8BACA,mBACA,sBACA,kCACA,wBACA,2BACA,8BACA,oBACA,0BACA,mBACA,eACA,qBACA,uDACA,oBACA,uCACA,4BACA,gBACA,kCACA,wCACA,kDACA,oBACA,+BACA,uBACA,kCACA,yBACA,sBACA,6BACA,qCACA,wEACA,qBACA,oBACA,mBACA,qBACA,sBACA,oBACA,0BACA,+BACA,8BACA,2DACA,gCACA,uBACA,4BACA,8BACA,2BACA,oBACA,0BACA,kCACA,+CACA,0BACA,4BACA,oBACA,qDACA,8CACA,+CACA,kDACA,gDACA,0BACA,sBACA,eACA,kBACA,mBACA,+BACA,uBACA,mBACA,+CACA,+BACA,gCACA,uBACA,4BACA,oBACA,wBACA,+CACA,iBACA,mCACA,6BACA,sBACA,sBACA,oBACA,wBACA,kBACA,yBACA,mBACA,uBACA,qBACA,qBACA,wBACA,kCACA,uCACA,iBACA,wBACA,6BACA,qBACA,oBACA,qBACA,2BACA,8BACA,kCACA,qBACA,yBACA,gCACA,2BACA,oCACA,uBACA,cACA,yBACA,yBACA,8BACA,6CACA,yBACA,mCACA,kDACA,uBACA,6BACA,gCACA,6BACA,mBACA,wBACA,oBACA,eACA,sBACA,yBACA,+BACA,iBACA,wCACA,yBACA,iBACA,yBACA,yBACA,iBACA,sCACA,6BACA,wBACA,4BACA,sBACA,uBACA,mCACA,wBACA,kBACA,+BACA,oCACA,uCACA,gEACA,oBACA,+BACA,yBACA,wBACA,gBACA,wCACA,oBACA,4BACA,8BACA,oCACA,sBACA,qBACA,uCACA,8BACA,oBACA,iCACA,sBACA,iCACA,4BACA,4BACA,iBACA,qBACA,2BACA,sBACA,wBACA,8BACA,iBACA,sBACA,gEACA,iCACA,kCACA,uCACA,6BACA,eACA,4BACA,wBACA,sBACA,qBACA,qCACA,gBACA,wBACA,2BACA,8BACA,yCACA,+BACA,4BACA,sBACA,wBACA,4BACA,qCACA,kBACA,wBACA,kBACA,2BACA,4CACA,6BACA,gCACA,6CACA,gEACA,6CACA,yDACA,+CACA,+CACA,+CACA,+CACA,sCACA,8BACA,0BACA,wDACA,qFACA,0BACA,8BACA,qBACA,mBACA,qCACA,iBACA,8BACA,wBACA,2BACA,mBACA,sCACA,mCACA,4BACA,oCACA,+BACA,2BACA,yBACA,oCACA,kEACA,0CACA,iCACA,sBACA,oDACA,0CACA,wBACA,4BACA,oBACA,gCACA,2BACA,gCACA,6BACA,wBACA,mDACA,qBACA,uCACA,8BACA,wBACA,wBACA,0BACA,wCACA,oCACA,oBACA,gCACA,6BACA,uBACA,oBACA,yCACA,gCACA,qBACA,2BACA,wBACA,uBACA,aACA,cACA,sCACA,kBACA,wDACA,mCACA,kBACA,iCACA,uBACA,4BACA,kCACA,qBACA,eACA,8BACA,qBACA,gCACA,sBACA,oBACA,yBACA,8BACA,8BACA,qBACA,oBACA,gCACA,6BACA,kCACA,mBACA,2BACA,oBACA,6BACA,uBACA,wBACA,iEACA,cACA,kBACA,iBACA,wBACA,2BACA,6BACA,mEACA,yBACA,oBACA,mBACA,oCACA,8BACA,wBACA,uBACA,4BACA,+BACA,+BACA,gCACA,kBACA,2CACA,iCACA,eACA,wBACA,uCACA,qCACA,wBACA,gBACA,4BACA,6BACA,qBACA,2BACA,6BACA,+BACA,iCACA,4BACA,oCACA,yBACA,wCACA,8BACA,qBACA,mCACA,uBACA,iCACA,oBACA,+BACA,qBACA,wBACA,yBACA,yCACA,wBACA,6BACA,2BACA,0CACA,wBACA,2BACA,0CACA,sCACA,6BACA,oBACA,mBACA,0BACA,uBACA,2BACA,oBACA,oBACA,8BACA,qBACA,sDACA,oBACA,wBACA,+BACA,mCACA,yBACA,mCACA,uBACA,qBACA,0BACA,yBACA,yCACA,qBACA,0FACA,kCACA,6BACA,6CACA,sCACA,0CACA,wCACA,wDACA,wCACA,iCACA,8BACA,8BACA,uBACA,sBACA,6BACA,yBACA,uBACA,6BACA,qBACA,uBACA,sBACA,2CACA,uBACA,2CACA,qBACA,sBACA,qCACA,gBACA,oBACA,mBACA,mBACA,wCACA,gCACA,oBACA,sBACA,oBACA,2BACA,mCACA,iCACA,0DACA,wCACA,4BACA,8BACA,mBACA,kBACA,uCACA,8BACA,8BACA,wBACA,oBACA,sBACA,qCACA,sBACA,qBACA,iBACA,qBACA,kCACA,iCACA,gCACA,qBACA,oCACA,kCACA,mBACA,+BACA,iBACA,qBACA,oDACA,8BACA,4BACA,yCACA,wBACA,mCACA,4BACA,iBACA,yBACA,6BACA,uBACA,gCACA,sCACA,wBACA,oBACA,6BACA,oCACA,wBACA,6BACA,wCACA,wBACA,oCACA,+BACA,uCACA,qBACA,4BACA,yCACA,8BACA,kBACA,sBACA,0BACA,4BACA,mCACA,gCACA,mCACA,oCACA,6DACA,+BACA,yBACA,0BACA,uCACA,sCACA,sBACA,kBACA,0BACA,qCACA,4BACA,wBACA,2BACA,2BACA,kBACA,8BACA,6BACA,6BACA,0CACA,4BACA,4BACA,iCACA,+BACA,wBACA,yCACA,8BACA,4CACA,8CACA,4BACA,2BACA,2BACA,oBACA,0CACA,qBACA,uCACA,uCACA,+BACA,wBACA,2BACA,4BACA,kCACA,gCACA,oCACA,yBACA,0BACA,6BACA,0BACA,yBACA,6BACA,uBACA,oCACA,mCACA,0BACA,wCACA,mCACA,+BACA,iCACA,6BACA,2BACA,qBACA,yBACA,mBACA,0BACA,uBACA,0BACA,uBACA,qBACA,sBACA,sBACA,qBACA,oCACA,gCACA,8BACA,wBACA,+BACA,2BACA,4BACA,4BACA,iBACA,sBACA,uDACA,qCACA,eACA,uBACA,0BACA,6BACA,wBACA,sCACA,+BACA,kCACA,sCACA,qBACA,cACA,kBACA,uCACA,qBACA,oBACA,iBACA,+CACA,6CACA,uBACA,0BACA,6BACA,yBACA,qDACA,0BACA,6BACA,mEACA,0DACA,yDACA,iBACA,oBACA,mBACA,sBACA,8CACA,qBACA,wCACA,uBACA,iCACA,6BACA,sBACA,2BACA,mBACA,0BACA,iBACA,qBACA,iBACA,oCACA,kCACA,uDACA,iCACA,yBACA,6BACA,6BACA,uCACA,0BACA,8BACA,wCACA,wBACA,8BACA,kBACA,2BACA,+BACA,sCACA,iCACA,6BACA,oCACA,gCACA,oCACA,mCACA,kCACA,oBACA,wBACA,8BACA,2BACA,+BACA,sCACA,iCACA,iBACA,kCACA,iBACA,qBACA,oBACA,iCACA,oBACA,sCACA,uBACA,iBACA,oBACA,oBACA,+BACA,2BACA,gCACA,gBACA,oBACA,qBACA,kBACA,2BACA,uCACA,mBACA,6BACA,uBACA,aACA,mBACA,sBACA,0BACA,sBACA,8BACA,uBACA,kDACA,uBACA,uDACA,4BACA,uGACA,qCACA,4BACA,uBACA,kBACA,qCACA,iBACA,cACA,kBACA,qDACA,gBACA,aACA,mBACA,gBACA,eACA,gBACA,iBACA,oBACA,eACA,cACA,mBACA,6BACA,eACA,gBACA,2BACA,sBACA,mCACA,4BACA,oCACA,wBACA,yBACA,0CACA,iCACA,2BACA,0BACA,iCACA,0BACA,qCACA,oBACA,yBACA,0BACA,mDACA,+DACA,+BACA,sBACA,sCACA,oCACA,oCACA,2BACA,uBACA,yBACA,qBACA,gCACA,0BACA,wEACA,kEACA,uEACA,yCACA,4CACA,sBACA,uBACA,uBACA,mCACA,kBACA,yBACA,wBACA,sBACA,qBACA,4BACA,qBACA,yBACA,kCACA,4BACA,yCACA,iBACA,qCACA,yBACA,mCACA,qBACA,sBACA,gBACA,gBACA,gDACA,+BACA,wCACA,yBACA,kCACA,2BACA,8BACA,0BACA,0BACA,8BACA,uBACA,gCACA,+CACA,yBACA,6BACA,sBACA,0BACA,gCACA,yDACA,0CACA,4CACA,gCACA,qCACA,6BACA,oBACA,wBACA,sDACA,iDACA,oDACA,+CACA,uDACA,kDACA,gDACA,oCACA,4CACA,4CACA,iCACA,gCACA,0BACA,yCACA,uDACA,qCACA,sBACA,2BACA,kCACA,sBACA,oDACA,0CACA,6BACA,gCACA,4BACA,+BACA,gCACA,8BACA,8BACA,sBACA,oBACA,6CACA,8BACA,wBACA,0BACA,+BACA,+BACA,qCACA,yBACA,gCACA,oBACA,iCACA,6BACA,oBACA,yBACA,uCACA,sCACA,+BACA,uBACA,yBACA,yBACA,mBACA,8CACA,iCACA,qCACA,0BACA,wBACA,iBACA,kBACA,uBACA,oBACA,4BACA,yBACA,wBACA,oCACA,yBACA,gCACA,sBACA,wBACA,qBACA,4BACA,qBACA,qBACA,qBACA,yBACA,yBACA,gCACA,4BACA,iCACA,gBACA,sBACA,+BACA,iCACA,uCACA,yDACA,4BACA,uBACA,kCACA,4DACA,oDACA,oDACA,gDACA,oDACA,wDACA,0CACA,0CACA,sCACA,0CACA,8CACA,yBACA,mCACA,yBACA,gCACA,sBACA,4BACA,qBACA,sBACA,iBACA,iCACA,oBACA,uEACA,sDACA,yEACA,wEACA,gEACA,qDACA,qCACA,4CACA,0FACA,qCACA,uBACA,qCACA,gCACA,sCACA,kCACA,mCACA,iCACA,gCACA,6BACA,6BACA,gBACA,4BACA,4BACA,0BACA,4CACA,gDACA,qDACA,kDACA,yDACA,kDACA,iDACA,oDACA,mDACA,6CACA,yBACA,wBACA,uDACA,yDACA,+CACA,iDACA,wDACA,yDACA,wDACA,wDACA,uDACA,sCACA,wBACA,wBACA,4BACA,2BACA,uBACA,gCACA,mBACA,uCACA,yBACA,uBACA,iCACA,iCACA,qBACA,gDACA,+BACA,sBACA,kCACA,sBACA,0BACA,iCACA,oBACA,yBACA,sBACA,yBACA,qBACA,wBACA,qBACA,mCACA,8CACA,8BACA,iBACA,oBACA,sBACA,oBACA,qCACA,oBACA,qBACA,oBACA,sBACA,wBACA,kCACA,+BACA,8DACA,4CACA,oBACA,uDACA,gCACA,4EACA,iCACA,+BACA,4BACA,sBACA,mCACA,qBACA,mCACA,wBACA,iBACA,8BACA,iBACA,iBACA,mBACA,gBACA,4BACA,kCACA,6BACA,uBACA,iCACA,2BACA,iBACA,gCACA,6CACA,gCACA,uBACA,wBACA,wBACA,uBACA,4CACA,4CACA,mCACA,wBACA,mCACA,iCACA,iCACA,qCACA,0CACA,oCACA,mCACA,sCACA,qCACA,wCACA,qCACA,6CACA,gEACA,kDACA,0FACA,uFACA,2EACA,yFACA,qDACA,sCACA,4BACA,wBACA,4BACA,2BACA,uDACA,2DACA,kDACA,oCACA,2DACA,wCACA,oEACA,4DACA,kDACA,mCACA,sEACA,oDACA,gCACA,gCACA,iCACA,qCACA,+BACA,kEACA,mCACA,2CACA,0BACA,6BACA,mBACA,uBACA,oBACA,8BACA,4BACA,iBACA,8BACA,mBACA,oCACA,mBACA,4BACA,0BACA,4BACA,wBACA,iCACA,eACA,gCACA,iCACA,8BACA,qBACA,sBACA,sBACA,sBACA,qCACA,iCACA,sBACA,wBACA,yBACA,8BACA,6BACA,sBACA,sBACA,oBACA,wBACA,oCACA,eACA,mCACA,6CACA,2BACA,sCACA,+BACA,4BACA,0BACA,4BACA,wBACA,+BACA,4BACA,8BACA,iCACA,wBACA,6BACA,6CACA,mBACA,qBACA,uBACA,wBACA,mBACA,uBACA,uBACA,gCACA,wBACA,kBACA,mBACA,gCACA,sCACA,qDACA,6BACA,wBACA,gBACA,mDACA,wBACA,mBACA,2BACA,+BACA,2BACA,8BACA,yBACA,yBACA,6CACA,uCACA,uBACA,8BACA,6BACA,oBACA,2BACA,kCACA,6BACA,kCACA,gCACA,wBACA,gCACA,iBACA,oBACA,eACA,4CACA,8BACA,8BACA,4BACA,oCACA,qBACA,yBACA,yBACA,8BACA,qBACA,0BACA,gCACA,8BACA,+BACA,gBACA,oBACA,iCACA,yBACA,uBACA,uBACA,oCACA,qBACA,+BACA,kCACA,2BACA,0BACA,mCACA,iBACA,iBACA,eACA,kBACA,6BACA,gCACA,oBACA,eACA,qBACA,oBACA,iBACA,iCACA,iCACA,uBACA,kBACA,2BACA,kBACA,wBACA,gCACA,sBACA,+BACA,gBACA,8BACA,4BACA,iCACA,oCACA,4BACA,6BACA,4BACA,2BACA,uBACA,kCACA,6BACA,yBACA,6BACA,iCACA,4BACA,gCACA,qCACA,8BACA,0CACA,+BACA,+BACA,2BACA,oBACA,8BACA,kCACA,gCACA,uCACA,uBACA,8BACA,4CACA,gDACA,+BACA,qCACA,8BACA,wCACA,kCACA,gCACA,uBACA,kCACA,iDACA,iBACA,oBACA,4BACA,mBACA,2BACA,0BACD,CCvhDwD,GAAY,EACnE5X,GAAIE,EACJA,MAAAA,EACAI,MAAOJ,CACT,IAEM8f,GA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8CACE,yDACF,8CACE,yDACF,4CACE,iEACF,6BAAgD,+CAChD,mCAAsD,wCACtD,2CACE,yDACF,6CACE,6DACF,wDACE,6DACF,uCAA0D,oCAC1D,uCACE,6CACF,+CACE,qCACF,gDACE,4EACF,6CACE,mFACF,0CACE,+CACF,+CACE,gEACF,gCAAmD,uCACnD,mCAAsD,0CACtD,mBAAsC,0BACtC,yBAAiD,+CACjD,sCACE,iEACF,sCACE,iEACJ,qBCjIA4pB,EAAAC,OAAA,EAAkB,sQCAlBD,EAAAC,OAAA,EAAkB,8TCAlBD,EAAAC,OAAA,EAAkB,+yBCAlBD,EAAAC,OAAA,EAAkB,wFCAlBD,EAAAC,OAAA,EAAkB,ktBCAlBD,EAAAC,OAAA,EAAkB,oDCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/?f075","webpack://_N_E/./components/Alert/Alert.constants.tsx","webpack://_N_E/./components/Alert/Alert.tsx","webpack://_N_E/./components/Alert/index.tsx","webpack://_N_E/./components/Box/Box.tsx","webpack://_N_E/./components/Box/index.tsx","webpack://_N_E/./components/Button/Button.constants.ts","webpack://_N_E/./components/Button/Button.tsx","webpack://_N_E/./components/Button/index.tsx","webpack://_N_E/./components/Checkbox/Checkbox.tsx","webpack://_N_E/./components/Checkbox/index.tsx","webpack://_N_E/./components/CheckboxButton/CheckboxButton.tsx","webpack://_N_E/./components/CheckboxButton/index.tsx","webpack://_N_E/./components/CloseButton/CloseButton.tsx","webpack://_N_E/./components/CloseButton/index.tsx","webpack://_N_E/./components/HelperText/HelperText.tsx","webpack://_N_E/./components/HelperText/index.tsx","webpack://_N_E/./components/IconButton/IconButton.tsx","webpack://_N_E/./components/IconButton/index.tsx","webpack://_N_E/./components/InformationBox/InformationBoxEmojiContent.tsx","webpack://_N_E/./components/InformationBox/InformationBox.tsx","webpack://_N_E/./components/InformationBox/index.tsx","webpack://_N_E/./components/Link/Link.tsx","webpack://_N_E/./components/Link/index.tsx","webpack://_N_E/./components/LoadingSpinner/LoadingSpinner.tsx","webpack://_N_E/./components/LoadingSpinner/index.tsx","webpack://_N_E/./components/Modal/Modal.types.ts","webpack://_N_E/./components/Modal/ModalActions/ModalActions.tsx","webpack://_N_E/./components/Modal/ModalActions/index.tsx","webpack://_N_E/./components/Modal/ModalBody/ModalBody.tsx","webpack://_N_E/./components/Modal/ModalBody/index.tsx","webpack://_N_E/./components/Modal/Modal.tsx","webpack://_N_E/./components/Modal/index.tsx","webpack://_N_E/./components/Radio/Radio.tsx","webpack://_N_E/./components/Radio/index.tsx","webpack://_N_E/./components/Select/Select.tsx","webpack://_N_E/./components/Select/SelectOption/SelectOption.tsx","webpack://_N_E/./components/Select/SelectOption/index.tsx","webpack://_N_E/./components/Select/index.tsx","webpack://_N_E/./components/Skeleton/Skeleton.tsx","webpack://_N_E/./components/Skeleton/index.tsx","webpack://_N_E/./components/TextArea/TextArea.tsx","webpack://_N_E/./components/TextArea/index.tsx","webpack://_N_E/./components/TextField/TextField.tsx","webpack://_N_E/./components/TextField/index.tsx","webpack://_N_E/./components/TrackedCallback/TrackedCallback.tsx","webpack://_N_E/./components/TrackedCallback/index.tsx","webpack://_N_E/./features/AvatarUpload/AvatarUpload.tsx","webpack://_N_E/./features/AvatarUpload/index.tsx","webpack://_N_E/./features/EarlyDayEdit/Subcomponents/UseVersionButton.tsx","webpack://_N_E/./features/EarlyDayEdit/Subcomponents/TrackableUseVersionButton.tsx","webpack://_N_E/./features/EarlyDayEdit/Subcomponents/DismissButton.tsx","webpack://_N_E/./features/EarlyDayEdit/Subcomponents/TrackableDismissButton.tsx","webpack://_N_E/./features/EarlyDayEdit/Subcomponents/GenerateNewEditButton.tsx","webpack://_N_E/./features/EarlyDayEdit/Subcomponents/TrackedGenerateNewEditButton.tsx","webpack://_N_E/./features/EarlyDayEdit/EarlyDayEdit.tsx","webpack://_N_E/./features/EarlyDayEdit/index.tsx","webpack://_N_E/./features/EarlyDayEditorButton/EarlyDayEditorButton.tsx","webpack://_N_E/./features/EarlyDayEditorButton/index.tsx","webpack://_N_E/./features/PlaceField/PlaceField.tsx","webpack://_N_E/./features/PlaceField/index.tsx","webpack://_N_E/./hooks/redux/useAccount.tsx","webpack://_N_E/./hooks/redux/useCertificationOptions.tsx","webpack://_N_E/./hooks/redux/useFeatureFlag.tsx","webpack://_N_E/./hooks/redux/useGeographies.tsx","webpack://_N_E/./hooks/redux/useUser.tsx","webpack://_N_E/./hooks/useCurrentUserProfile.tsx","webpack://_N_E/./hooks/useTrackedEvents.ts","webpack://_N_E/./hooks/redux/useProfileQuestionAnswers.tsx","webpack://_N_E/./hooks/useEducationHistory.tsx","webpack://_N_E/./hooks/useResumeParsingStatus.tsx","webpack://_N_E/./hooks/useWorkHistory.tsx","webpack://_N_E/./features/OnboardingFlow/AuxiliaryDataContext.tsx","webpack://_N_E/./features/OnboardingFlow/inputs/OnboardingRadio.tsx","webpack://_N_E/./features/OnboardingFlow/inputs/MonthYearSelect.tsx","webpack://_N_E/./util/constants/job-titles.ts","webpack://_N_E/./components/MultiSelect/MultiSelectChip/MultiSelectChip.tsx","webpack://_N_E/./components/MultiSelect/MultiSelectChip/index.tsx","webpack://_N_E/./components/MultiSelect/MultiSelect.tsx","webpack://_N_E/./components/MultiSelect/index.tsx","webpack://_N_E/./util/constants/teaching-roles.ts","webpack://_N_E/./util/constants/teaching-settings.ts","webpack://_N_E/./util/constants/grade-levels.ts","webpack://_N_E/./features/ActiveStorageFileUpload/ActiveStorageFileUploadBrowser.tsx","webpack://_N_E/./features/OnboardingFlow/auxiliary/ReplaceResumeConfirmationDialog.tsx","webpack://_N_E/./features/OnboardingFlow/inputs/OnboardingWorkHistory.tsx","webpack://_N_E/./components/RichTextEditor/RichTextEditor.tsx","webpack://_N_E/./components/RichTextEditor/index.tsx","webpack://_N_E/./features/OnboardingFlow/auxiliary/AboutInformationBox.tsx","webpack://_N_E/./features/OnboardingFlow/inputs/OnboardingAbout.tsx","webpack://_N_E/./features/OnboardingFlow/inputs/OnboardingCheckbox.tsx","webpack://_N_E/./features/OnboardingFlow/inputs/OnboardingUploadResume.tsx","webpack://_N_E/./features/OnboardingFlow/inputs/OnboardingVideo.tsx","webpack://_N_E/./hooks/useEducationLevels.tsx","webpack://_N_E/./hooks/useEducationFields.tsx","webpack://_N_E/./util/constants/schools.ts","webpack://_N_E/./features/OnboardingFlow/inputs/OnboardingEducationHistory.tsx","webpack://_N_E/./features/OnboardingFlow/inputs/OnboardingWeeklyAvailability.tsx","webpack://_N_E/./public/images/avatars/teacher1.png","webpack://_N_E/./public/images/avatars/teacher2.png","webpack://_N_E/./public/images/avatars/teacher3.png","webpack://_N_E/./features/OnboardingFlow/inputs/OnboardingUploadAvatar.tsx","webpack://_N_E/./features/OnboardingVideoAskInput/OnboardingVideoAskInput.tsx","webpack://_N_E/./features/OnboardingVideoAskInput/index.tsx","webpack://_N_E/./features/OnboardingFlow/inputs/OnboardingMultiSelect.tsx","webpack://_N_E/./features/OnboardingFlow/inputs/OnboardingDate.tsx","webpack://_N_E/./hooks/useGeographyOptions.tsx","webpack://_N_E/./features/OnboardingFlow/inputs/OnboardingLocationByGeography.tsx","webpack://_N_E/./features/OnboardingFlow/inputs/DesiredCompensation.tsx","webpack://_N_E/./features/OnboardingFlow/inputs/OnboardingCompensation.tsx","webpack://_N_E/./features/OnboardingFlow/inputs/OnboardingLoading.tsx","webpack://_N_E/./features/OnboardingFlow/inputs/OnboardingRejection.tsx","webpack://_N_E/./features/OnboardingFlow/inputs/OnboardingLandingPage.tsx","webpack://_N_E/./features/OnboardingFlow/inputs/OnboardingUploadGeneric.tsx","webpack://_N_E/./features/OnboardingFlow/inputs/OnboardingText.tsx","webpack://_N_E/./features/OnboardingFlow/inputs/OnboardingStateCertification.tsx","webpack://_N_E/./features/OnboardingFlow/OnboardingInput.tsx","webpack://_N_E/./features/OnboardingFlow/OnboardingFlow.constants.ts","webpack://_N_E/./features/OnboardingFlow/OnboardingStepActionsWrapper.tsx","webpack://_N_E/./features/OnboardingFlow/OnboardingStepActions.tsx","webpack://_N_E/./features/OnboardingFlow/OnboardingStep.tsx","webpack://_N_E/./hooks/useProfileQuestionAnswers.tsx","webpack://_N_E/./features/OnboardingFlow/useTeacherOnboarding.tsx","webpack://_N_E/./features/OnboardingFlow/OnboardingFlow.tsx","webpack://_N_E/./features/OnboardingFlow/index.tsx","webpack://_N_E/./pages/register/teacher/onboarding.tsx","webpack://_N_E/./redux/geographies/actions.js","webpack://_N_E/./util/analyticsEvents.ts","webpack://_N_E/./components/Box/Box.module.css","webpack://_N_E/./components/CloseButton/CloseButton.module.css","webpack://_N_E/./components/IconButton/IconButton.module.css","webpack://_N_E/./components/LoadingSpinner/LoadingSpinner.module.css","webpack://_N_E/./components/Modal/Modal.module.css","webpack://_N_E/./components/Modal/ModalActions/ModalActions.module.css","webpack://_N_E/./components/Modal/ModalBody/ModalBody.module.css"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/register/teacher/onboarding\",\n function () {\n return require(\"private-next-pages/register/teacher/onboarding.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/register/teacher/onboarding\"])\n });\n }\n ","import { AlertVariant } from './Alert.types';\nimport { ElementType } from 'react';\nimport { AlertIcon, CheckCircleIcon, ClapIcon, InformationIcon } from 'icons/outline';\n\nexport const AlertVariantToIconMap = new Map([\n ['success', ClapIcon],\n ['error', AlertIcon],\n ['warning', AlertIcon],\n ['info', null],\n]);\n\nexport const AlertHighlightedVariantToIconMap = new Map([\n ['success', CheckCircleIcon],\n ['error', AlertIcon],\n ['warning', AlertIcon],\n ['info', InformationIcon],\n]);\n","import type { AlertProps } from './Alert.types';\nimport { Fragment, PropsWithChildren } from 'react';\nimport clsx from 'clsx';\nimport {\n AlertHighlightedVariantToIconMap,\n AlertVariantToIconMap,\n} from 'components/Alert/Alert.constants';\nimport { Transition } from '@headlessui/react';\n\n/**\n * The Alert component is also known as Notification or Toast in other design systems.\n * It's a non-blocking component that displays a message to the user.\n */\nexport const Alert = (props: PropsWithChildren) => {\n const { open = false, debug = false, highlighted = false, variant, children, className } = props;\n\n const FeedbackIcon = highlighted\n ? AlertHighlightedVariantToIconMap.get(variant)\n : AlertVariantToIconMap.get(variant);\n\n return (\n \n \n \n {FeedbackIcon && (\n \n \n \n )}\n {children}\n \n \n \n );\n};\n\nAlert.displayName = 'Alert';\n","export { Alert } from './Alert';\nexport type { AlertProps } from './Alert.types';\n","import classes from './Box.module.css';\nimport type { BoxProps } from './Box.types';\nimport { PropsWithChildren } from 'react';\nimport clsx from 'clsx';\n\nexport const Box = (props: PropsWithChildren) => {\n const { children, hoverable, debug, className, ...rootProps } = props;\n return (\n \n {children}\n \n );\n};\n\nBox.displayName = 'Box';\n","export { Box } from './Box';\nexport type { BoxProps } from './Box.types';\n","import { ButtonSize } from 'components/Button/Button.types';\n\nexport const ButtonSizeToIconSize = new Map([\n ['sm', 16],\n ['md', 24],\n ['lg', 32],\n]);\n","import clsx from 'clsx';\nimport { LoadingSpinner } from '../LoadingSpinner';\nimport { ButtonProps } from './Button.types';\nimport { ButtonSizeToIconSize } from './Button.constants';\n\nexport const Button = (props: ButtonProps) => {\n const {\n as = 'button',\n size = 'md',\n children,\n variant = 'solid',\n color = 'pure-blue',\n className,\n disabled,\n loading: isLoading,\n fullWidth,\n href,\n onClick,\n debug,\n ...rootProps\n } = props;\n const loading = !disabled && isLoading;\n const isButtonDisabled = disabled || loading;\n\n const loaderComponent = loading ? (\n \n \n \n ) : null;\n\n const ButtonComponent = as;\n\n return (\n \n {loaderComponent}\n {children}\n \n );\n};\n\nButton.displayName = 'Button';\n","export { Button } from './Button';\nexport type { ButtonProps, AsButton, AsLink } from './Button.types';\n","import clsx from 'clsx';\nimport type { CheckboxProps } from './Checkbox.types';\nimport { CheckIcon } from 'icons/outline';\n\nexport const Checkbox = (props: CheckboxProps) => {\n const {\n id,\n checked,\n value,\n text,\n disabled,\n checkboxClassName,\n subLabel,\n className,\n ...rootProps\n } = props;\n return (\n 0 },\n )}\n >\n \n\n \n \n \n\n
\n {text && (\n \n {text}\n \n )}\n {subLabel && (\n {subLabel}\n )}\n
\n \n );\n};\n\nCheckbox.displayName = 'Checkbox';\n","export { Checkbox } from './Checkbox';\nexport type { CheckboxProps } from './Checkbox.types';\n","import type { CheckboxButtonProps } from 'components/CheckboxButton/CheckboxButton.types';\nimport { CheckIcon } from 'icons/outline';\nimport { ChangeEvent, PropsWithChildren, useMemo, useState } from 'react';\nimport clsx from 'clsx';\nimport { DotIcon } from 'icons/solid';\n\nexport const CheckboxButton = (props: PropsWithChildren) => {\n const {\n children,\n value = '',\n onChange,\n checked: providedChecked = undefined,\n defaultChecked = undefined,\n className,\n singleSelection = false,\n wrap = false,\n } = props;\n\n const [innerChecked, setInnerChecked] = useState(defaultChecked);\n\n const checked = useMemo(() => providedChecked ?? innerChecked, [providedChecked, innerChecked]);\n\n const handleChange = (event: ChangeEvent) => {\n onChange?.(event);\n setInnerChecked(event.target.checked);\n };\n\n const Icon = singleSelection ? DotIcon : CheckIcon;\n\n return (\n \n \n\n \n \n \n\n \n
{children}
\n \n \n );\n};\n\nCheckboxButton.displayName = 'WeekDayCheckbox';\n","export { CheckboxButton } from 'components/CheckboxButton/CheckboxButton';\nexport type { CheckboxButtonProps } from 'components/CheckboxButton/CheckboxButton.types';\n","import { IconButton } from 'components/IconButton';\nimport type { CloseButtonProps } from './CloseButton.types';\nimport { CloseIcon } from 'icons/outline';\nimport classes from './CloseButton.module.css';\nimport { PropsWithChildren } from 'react';\nimport clsx from 'clsx';\n\n/**\n * The close button component was created as an IconButton-based component to be used\n * specially for closing modals, drawers, etc.\n *\n * Its style is a bit different and the title is always set to \"Close\".\n * Some other IconButton props are also set by default and cannot be overridden.\n */\nexport const CloseButton = (props: PropsWithChildren) => {\n const { children, className, debug, ...rootProps } = props;\n return (\n \n {children || 'Close'}\n \n );\n};\n\nCloseButton.displayName = 'CloseButton';\n","export { CloseButton } from './CloseButton';\nexport type { CloseButtonProps } from './CloseButton.types';\n","import type { HelperTextProps } from './HelperText.types';\nimport type { PropsWithChildren } from 'react';\nimport clsx from 'clsx';\n\n/**\n * The HelperText component is used to display helper text for a form field. It\n * can be used to display validation errors with the boolean `error` prop.\n */\nexport const HelperText = (props: PropsWithChildren) => {\n const { children, disabled = false, error = false, ...rootProps } = props;\n\n if (!children) {\n return null;\n }\n\n return (\n \n {children}\n \n );\n};\n\nHelperText.displayName = 'HelperText';\n","export { HelperText } from './HelperText';\nexport type { HelperTextProps } from './HelperText.types';\n","import classes from './IconButton.module.css';\nimport type { IconButtonProps } from './IconButton.types';\nimport clsx from 'clsx';\nimport { LoadingSpinner } from 'components/LoadingSpinner';\nimport { ButtonSizeToIconSize } from 'components/Button/Button.constants';\n\nexport const IconButton = (props: IconButtonProps) => {\n const {\n as = 'button',\n size = 'md',\n Icon,\n children,\n variant = 'solid',\n color = 'pure-blue',\n shape = 'square',\n className,\n disabled: isDisabled,\n loading: isLoading,\n href,\n onClick,\n debug,\n iconClassName,\n ...rootProps\n } = props;\n const loading = !isDisabled && isLoading;\n const disabled = isDisabled || loading;\n\n const label = (children && children.toString()) || null;\n\n const loaderComponent = loading ? (\n
\n \n
\n ) : null;\n\n const ButtonComponent = as;\n\n return (\n \n {loaderComponent}\n {label}\n {Icon && (\n \n )}\n \n );\n};\n\nIconButton.displayName = 'IconButton';\n","export { IconButton } from './IconButton';\nexport type { IconButtonProps } from './IconButton.types';\n","import { PropsWithChildren, ReactNode } from 'react';\nimport clsx from 'clsx';\n\ntype InformationBoxEmojiContentProps = {\n /**\n * The image representing the information.\n * This can be an emoji, icon or image\n * @required\n */\n image: ReactNode;\n\n /**\n * class of root element\n */\n className?: string;\n};\n\nexport const InformationBoxEmojiContent = (\n props: PropsWithChildren,\n) => {\n const { image, children, className } = props;\n\n return (\n
\n

{image}

\n
{children}
\n
\n );\n};\n","import type { InformationBoxProps } from './InformationBox.types';\nimport type { PropsWithChildren } from 'react';\nimport clsx from 'clsx';\n\nexport const InformationBox = (props: PropsWithChildren) => {\n const {\n arrowDirection = undefined,\n positioningStyle = undefined,\n color = 'neutral',\n children,\n className,\n } = props;\n\n return (\n \n {(arrowDirection || null) && (\n \n )}\n {children}\n \n );\n};\n\nInformationBox.displayName = 'InformationBox';\n","export { InformationBox } from './InformationBox';\nexport type { InformationBoxProps } from './InformationBox.types';\n","import { PropsWithChildren, useMemo } from 'react';\nimport type { LinkProps } from './Link.types';\nimport NextLink from 'next/link';\nimport clsx from 'clsx';\n\n/**\n * The `Link` component is a simple wrapper around the `a` tag that handles internal and external links.\n * It also handles the `disabled` state.\n *\n * When `as` is set to `button`, the link will look like a link, but it will be in fact a button and\n * behave like a button. The `href` prop will be ignored and the `onClick` prop will be used instead.\n *\n * When `href` is set to a relative path, the link will be handled by Next.js and will be rendered as\n * a `Link` component from the `next/link` lib.\n *\n * When `href` is set to an absolute path, the link will be rendered as an `a` tag and the prop `rel`\n * will be set to `noopener noreferrer` as a security measure by default. This prop can be overridden.\n */\nexport const Link = (props: PropsWithChildren>) => {\n const { as = 'a', disabled = false, onClick, href, children, className, ...rootProps } = props;\n\n const isInternal = useMemo(() => href?.startsWith('/'), [href]);\n\n if (isInternal && as === 'a') {\n return (\n \n {children}\n \n );\n }\n\n const LinkComponent = as;\n\n return (\n \n {children}\n \n );\n};\n\nLink.displayName = 'Link';\n","export { Link } from './Link';\nexport type { LinkProps } from './Link.types';\n","import clsx from 'clsx';\nimport classes from './LoadingSpinner.module.css';\nimport type { LoadingSpinnerProps } from './LoadingSpinner.types';\n\nexport const LoadingSpinner = (props: LoadingSpinnerProps) => {\n const { size = 24, className, ...rootProps } = props;\n\n return (\n \n \n \n \n );\n};\n\nLoadingSpinner.displayName = 'LoadingSpinner';\n","export { LoadingSpinner } from './LoadingSpinner';\nexport type { LoadingSpinnerProps } from './LoadingSpinner.types';\n","import { ElementType, HTMLAttributes, ReactNode } from 'react';\n\nexport const ModalSizes = ['sm', 'md', 'lg', 'xl'] as const;\nexport type ModalSize = (typeof ModalSizes)[number];\n\nexport enum ModalIconColor {\n SUCCESS = 'success',\n WARNING = 'warning',\n ERROR = 'error',\n INFO = 'info',\n}\n\nexport type ModalProps = {\n /**\n * If `true`, the modal is open\n * @default false\n */\n open?: boolean;\n\n /**\n * If `true`, the modal will be contained in a parent element. Use this only\n * when the modal is within a container with relative positioning.\n * @default false\n */\n contained?: boolean;\n\n /**\n * If `true`, the modal will be dismissible with overlay clicks\n * @default false\n */\n overlayDismiss?: boolean;\n\n /**\n * The maximum size of the modal content\n * @default 'md'\n */\n size?: ModalSize;\n\n /**\n * If true, the modal will not be dismissible\n * @default false\n */\n actionRequired?: boolean;\n\n /**\n * The heading of the modal\n * @default undefined\n */\n heading?: ReactNode;\n\n /**\n * The main message of the modal. Use this prop to provide more details about the modal or to\n * provide the textual content of a simple direct dialog\n * @default undefined\n */\n message?: string;\n\n /**\n * Callback called when a dismissed action is taken\n * @default undefined\n */\n onClose?: () => void;\n\n /**\n * Properties passed on to the modal's dialog element\n * @default {}\n */\n dialogProps?: {\n className?: string;\n };\n\n /**\n * Properties passed on to the modal's panelWrapper element\n * @default {}\n */\n panelWrapperProps?: HTMLAttributes;\n\n /**\n * Properties passed on to the modal's content element\n * @default {}\n */\n panelProps?: HTMLAttributes;\n\n /**\n * The icon to be used in the modal header\n * @default null\n */\n IconElement?: ElementType;\n\n /**\n * The color to be used with the icon\n * @default undefined\n */\n iconColor?: ModalIconColor;\n\n /**\n * If true, the modal will not change in scale during popup\n * @default false\n */\n disableScaleAnimation?: boolean;\n\n /**\n * If `true` the Dialog will be set as open, with static positioning and the backdrop will be hidden\n * @default false\n */\n debug?: boolean;\n};\n","import clsx from 'clsx';\nimport classes from './ModalActions.module.css';\nimport { PropsWithChildren } from 'react';\nimport { ModalActionsProps } from './ModalActions.types';\n\nexport const ModalActions = (props: PropsWithChildren) => {\n const { children, className, ...rootProps } = props;\n\n return (\n
\n {children}\n
\n );\n};\n\nModalActions.displayName = 'ModalActions';\n","export { ModalActions } from './ModalActions';\nexport type { ModalActionsProps } from './ModalActions.types';\n","import clsx from 'clsx';\nimport classes from 'components/Modal/ModalBody/ModalBody.module.css';\nimport type { ModalBodyProps } from 'components/Modal/ModalBody/ModalBody.types';\nimport { PropsWithChildren } from 'react';\n\nexport const ModalBody = (props: PropsWithChildren) => {\n const { children, className, ...rootProps } = props;\n\n return (\n
\n {children}\n
\n );\n};\n\nModalBody.displayName = 'ModalBody';\n","export { ModalBody } from 'components/Modal/ModalBody/ModalBody';\nexport type { ModalBodyProps } from 'components/Modal/ModalBody/ModalBody.types';\n","import { Dialog, Transition } from '@headlessui/react';\nimport clsx from 'clsx';\nimport { Fragment, PropsWithChildren, useMemo } from 'react';\nimport classes from './Modal.module.css';\nimport type { ModalProps } from './Modal.types';\nimport { CloseButton } from 'components/CloseButton';\n\n/**\n * The Modal component is a generic interaction component that can be used\n * to display quick information, important feedback, action confirmation, etc.\n *\n * If you want to show a simple interaction component, it's recommended to\n * use the Dialog component instead.\n *\n * Use the ModalActions component to add sticked-to-bottom buttons to your modal.\n * Please always use no more than one primary action.\n * Buttons should be limited to 3 in normal circumstances.\n * Do not add dismissive buttons when using the `actionRequired` property.\n *\n * Use the ModalBody component to add a body to your modal.\n * This component will ensure that the overflow and scroll are in the correct place.\n */\nexport const Modal = (props: PropsWithChildren) => {\n const {\n children,\n open = false,\n heading,\n message,\n onClose,\n actionRequired = false,\n size = 'md',\n panelWrapperProps,\n panelProps,\n IconElement,\n iconColor,\n debug = false,\n contained = false,\n overlayDismiss = false,\n dialogProps = {},\n disableScaleAnimation = false,\n } = props;\n\n const hasIcon = useMemo(() => IconElement && iconColor, [IconElement, iconColor]);\n\n const DialogComponent = debug || contained ? 'div' : Dialog;\n const DialogOverlayComponent = debug || contained ? 'div' : Dialog.Overlay;\n const DialogTitleComponent = debug || contained ? 'div' : Dialog.Title;\n const DialogDescriptionComponent = debug || contained ? 'div' : Dialog.Description;\n\n return (\n \n \n \n \n \n\n \n \n \n {\n event.stopPropagation();\n }}\n >\n {!actionRequired && (\n \n )}\n {hasIcon && (\n
\n \n
\n )}\n {heading && (\n \n {heading}\n \n )}\n {message && (\n \n {message}\n \n )}\n {children}\n \n \n \n \n \n
\n );\n};\n\nModal.displayName = 'Modal';\n","export { Modal } from './Modal';\nexport type { ModalProps } from './Modal.types';\n","import type { RadioProps } from './Radio.types';\nimport type { PropsWithChildren } from 'react';\nimport { DotIcon } from 'icons/solid';\nimport clsx from 'clsx';\n\n/**\n * The Radio component is simply a style wrapper for a simple radio button with\n * a traditional rounded button and a dot in the middle.\n *\n * It accepts children as the label for the radio button.\n *\n * At this point, this component should always be controlled, because it was\n * designed to be used with the HeadlessUI RadioGroup component.\n *\n * @link https://headlessui.com/react/radio-group\n */\nexport const Radio = (props: PropsWithChildren) => {\n const {\n id = undefined,\n name = undefined,\n checked = false,\n value = undefined,\n disabled = false,\n children = null,\n error = false,\n } = props;\n\n return (\n \n \n\n \n {(checked || null) && (\n
\n \n
\n )}\n \n\n
{children}
\n \n );\n};\n\nRadio.displayName = 'Radio';\n","export { Radio } from './Radio';\nexport type { RadioProps } from './Radio.types';\n","// TODO: remove this bypass\n/* eslint-disable @typescript-eslint/no-unsafe-assignment,\n @typescript-eslint/no-unsafe-argument */\nimport { Listbox, Transition } from '@headlessui/react';\nimport clsx from 'clsx';\nimport { Fragment, PropsWithChildren } from 'react';\nimport type { SelectProps } from './Select.types';\nimport { ArrowDownIcon } from 'icons/outline';\nimport { SelectOptionProps } from 'components/Select/SelectOption';\n\nexport const Select = (props: PropsWithChildren) => {\n const {\n selectedOption,\n label,\n onChange,\n placeholder,\n size = 'md',\n fullWidth = false,\n children,\n debug = false,\n 'aria-label': ariaLabel,\n disabled = false,\n buttonProps: providedButtonProps,\n renderSelectedValue = (option: SelectOptionProps) => option.children,\n error = false,\n ...rootProps\n } = props;\n\n const buttonProps = {\n ...providedButtonProps,\n title: selectedOption?.label || placeholder,\n };\n\n return (\n \n {({ open }) => {\n return (\n <>\n {ariaLabel}\n \n \n {label && {label}}\n \n {selectedOption ? (\n \n {renderSelectedValue(selectedOption)}\n \n ) : (\n \n {placeholder}\n \n )}\n\n \n \n \n\n \n \n {children}\n \n \n \n \n );\n }}\n \n );\n};\n\nSelect.displayName = 'Select';\n","import { Listbox } from '@headlessui/react';\nimport clsx from 'clsx';\nimport type { SelectOptionProps } from './SelectOption.types';\nimport { CheckIcon } from 'icons/outline';\n\nexport const SelectOption = (props: SelectOptionProps) => {\n const { children, value, disabled = false, isHeader = false, description, ...rootProps } = props;\n\n const notSelectable = disabled || isHeader;\n const selectable = !notSelectable;\n\n return (\n \n clsx('relative flex items-center justify-start px-4 py-2 cursor-pointer select-none', {\n 'font-bold bg-secondary-sky text-neutral-ink-blue': selectable && active,\n 'text-neutral-dark': selectable && !active,\n 'cursor-not-allowed text-neutral': disabled,\n 'my-2 font-bold cursor-not-allowed bg-neutral-no-white text-neutral-ink-blue': isHeader,\n })\n }\n value={value}\n disabled={notSelectable}\n >\n {({ selected, active }) => (\n
\n \n {children}\n {selected ? (\n \n \n \n ) : null}\n

\n {description && (\n \n {description}\n

\n )}\n
\n )}\n \n );\n};\n\nSelectOption.displayName = 'SelectOption';\n","export { SelectOption } from './SelectOption';\nexport type { SelectOptionProps } from './SelectOption.types';\n","export { Select } from './Select';\nexport type { SelectProps } from './Select.types';\n\nexport { SelectOption } from './SelectOption';\nexport type { SelectOptionProps } from './SelectOption';\n","import type { SkeletonProps } from './Skeleton.types';\nimport clsx from 'clsx';\n\nexport const Skeleton = (props: SkeletonProps) => {\n const { className = 'w-full h-4 rounded-md', style = undefined } = props;\n return (\n \n );\n};\n\nSkeleton.displayName = 'Skeleton';\n","export { Skeleton } from './Skeleton';\nexport type { SkeletonProps } from './Skeleton.types';\n","import type { TextAreaProps } from './TextArea.types';\nimport { forwardRef } from 'react';\nimport clsx from 'clsx';\nimport { HelperText } from 'components/HelperText';\n\nexport const TextArea = forwardRef(\n (props: TextAreaProps, ref) => {\n const {\n Icon,\n disabled = false,\n error = false,\n helperText = '',\n fullWidth = false,\n ...rootProps\n } = props;\n\n return (\n
\n
\n {!Icon ? null : (\n \n )}\n \n
\n\n {!helperText ? null : (\n \n {helperText}\n \n )}\n
\n );\n },\n);\n\nTextArea.displayName = 'TextArea';\n","export { TextArea } from './TextArea';\nexport type { TextAreaProps } from './TextArea.types';\n","import type { TextFieldProps } from './TextField.types';\nimport clsx from 'clsx';\nimport { HelperText } from 'components/HelperText';\nimport { forwardRef, useEffect, useRef, useState } from 'react';\n\nconst APPENDIX_RIGHT_POSITION = 16;\nconst PADDING_TO_APPENDIX = 12;\n\nexport const TextField = forwardRef(\n (props: TextFieldProps, ref) => {\n const {\n Icon,\n appendix,\n disabled = false,\n error = false,\n helperText = '',\n className,\n fullWidth = false,\n id,\n ...rootProps\n } = props;\n\n const appendixRef = useRef(null);\n const [rightPadding, setRightPadding] = useState(null);\n\n useEffect(() => {\n if (appendixRef.current && rightPadding === null) {\n setRightPadding(\n appendixRef.current.clientWidth + APPENDIX_RIGHT_POSITION + PADDING_TO_APPENDIX,\n );\n }\n });\n\n return (\n \n \n {!Icon ? null : (\n \n )}\n\n \n\n {!appendix ? null : (\n \n {appendix}\n \n )}\n \n\n {!helperText ? null : (\n \n {helperText}\n \n )}\n \n );\n },\n);\n\nTextField.displayName = 'TextField';\n","export { TextField } from './TextField';\nexport type { TextFieldProps } from './TextField.types';\n","import type { TrackedCallbackProps } from './TrackedCallback.types';\nimport { PropsWithChildren } from 'react';\nimport intersection from 'lodash/intersection';\nimport difference from 'lodash/difference';\nimport pick from 'lodash/pick';\nimport reduce from 'lodash/reduce';\nimport { Callback, useTrackedEvents, UseTrackedEventsProps } from 'hooks/useTrackedEvents';\n\nexport const TrackedCallback = (props: PropsWithChildren>) => {\n const { Component, callbacks, children, ...componentProps } = props;\n\n const callbackKeys = Object.keys(callbacks);\n\n const componentPropsKeys = Object.keys(componentProps);\n\n const validOverrideKeys = intersection(callbackKeys, componentPropsKeys);\n const propsWithoutOverrideKeys = difference(componentPropsKeys, validOverrideKeys);\n\n const propsWithoutOverride = pick(componentProps, propsWithoutOverrideKeys);\n\n const childrenProps = useTrackedEvents(\n reduce(\n validOverrideKeys,\n (acc, propName) => ({\n ...acc,\n [propName]: {\n handler: componentProps[propName] as Callback['handler'],\n event: callbacks[propName],\n },\n }),\n {} as UseTrackedEventsProps,\n ),\n );\n\n if (!callbackKeys.length) {\n return {children};\n }\n\n return (\n \n {children}\n \n );\n};\n\nTrackedCallback.displayName = 'TrackedCallback';\n","export { TrackedCallback } from './TrackedCallback';\nexport type { TrackedCallbackProps } from './TrackedCallback.types';\n","import dynamic from 'next/dynamic';\nimport { AvatarUploadProps } from './AvatarUpload.types';\n\nconst AvatarUploadBrowser = dynamic(\n () => import('./AvatarUploadBrowser').then((mod) => mod.AvatarUpload),\n {\n ssr: false,\n },\n);\n\nexport const AvatarUpload = (props: AvatarUploadProps) => {\n return ;\n};\n","export { AvatarUpload } from './AvatarUpload';\nexport type { AvatarUploadProps } from './AvatarUpload.types';\n","import { Button } from 'components/Button';\n\nexport type UseVersionButtonProps = {\n onApply: () => void;\n loading: boolean;\n extraClasses?: string;\n};\nexport const UseVersionButton = ({\n onApply,\n loading,\n extraClasses = '',\n}: UseVersionButtonProps) => {\n if (loading) {\n return;\n }\n\n return (\n \n Use this version\n text\n \n );\n};\n","import { TrackedCallback } from 'components/TrackedCallback';\nimport { AnalyticsEvents } from 'util/analyticsEvents';\nimport {\n UseVersionButton,\n UseVersionButtonProps,\n} from 'features/EarlyDayEdit/Subcomponents/UseVersionButton';\n\nexport const TrackableUseVersionButton = ({\n onApply,\n loading,\n extraClasses = '',\n}: UseVersionButtonProps) => {\n return (\n \n );\n};\n\nTrackableUseVersionButton.displayName = 'TrackableUseVersionButton';\n","import { Button } from 'components/Button';\n\nexport type DismissButtonProps = {\n onDismiss: () => void;\n loading: boolean;\n};\nexport const DismissButton = ({ onDismiss, loading }: DismissButtonProps) => {\n return (\n \n Dismiss these edits and use my original\n version\n \n );\n};\n\nDismissButton.displayName = 'DismissButton';\n","import { TrackedCallback } from 'components/TrackedCallback';\nimport { AnalyticsEvents } from 'util/analyticsEvents';\nimport {\n DismissButton,\n DismissButtonProps,\n} from 'features/EarlyDayEdit/Subcomponents/DismissButton';\n\nexport const TrackableDismissButton = ({ onDismiss, loading }: DismissButtonProps) => {\n return (\n \n );\n};\n\nTrackableDismissButton.displayName = 'TrackableDismissButton';\n","import { Button } from 'components/Button';\nimport clsx from 'clsx';\n\nexport type GenerateNewEditButtonProps = {\n onGenerate: () => void;\n loading: boolean;\n extraClasses: string;\n};\nexport const GenerateNewEditButton = ({\n onGenerate,\n loading,\n extraClasses = '',\n}: GenerateNewEditButtonProps) => {\n if (loading) {\n return;\n }\n\n return (\n \n 🔄 Generate a different edit\n version\n \n );\n};\n\nGenerateNewEditButton.displayName = 'GenerateNewEdit';\n","import { TrackedCallback } from 'components/TrackedCallback';\nimport { AnalyticsEvents } from 'util/analyticsEvents';\nimport {\n GenerateNewEditButton,\n GenerateNewEditButtonProps,\n} from 'features/EarlyDayEdit/Subcomponents/GenerateNewEditButton';\n\nexport const TrackedGenerateNewEditButton = ({\n onGenerate,\n loading,\n extraClasses,\n}: GenerateNewEditButtonProps) => {\n return (\n \n Component={GenerateNewEditButton}\n callbacks={{\n onGenerate: {\n eventKey: AnalyticsEvents.OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT_GENERATE_NEW_VERSION,\n },\n }}\n onGenerate={onGenerate}\n loading={loading}\n extraClasses={extraClasses}\n />\n );\n};\nTrackedGenerateNewEditButton.displayName = 'TrackedGenerateNewEditButton';\n","import { LoadingImage } from 'components/LoadingImage';\nimport { EarlyDayLogoGraphic } from 'graphics';\nimport { useEffect } from 'react';\nimport { sanitizeTags } from 'util/formatting/string';\nimport type { EarlyDayEditProps } from './EarlyDayEdit.types';\nimport { TrackableUseVersionButton } from 'features/EarlyDayEdit/Subcomponents/TrackableUseVersionButton';\nimport { TrackableDismissButton } from 'features/EarlyDayEdit/Subcomponents/TrackableDismissButton';\nimport { TrackedGenerateNewEditButton } from 'features/EarlyDayEdit/Subcomponents/TrackedGenerateNewEditButton';\n\nexport const EarlyDayEdit = (props: EarlyDayEditProps) => {\n const { onDismiss, onGenerate, onApply, htmlContent, loading, loadingText, streamMode } = props;\n\n useEffect(() => {\n if (loading) {\n return;\n }\n\n window.scrollTo({\n top: document.getElementById('suggestion-container').offsetTop,\n behavior: 'smooth',\n });\n }, [loading]);\n\n return (\n
\n
\n
\n \n
\n

EarlyDay Edits:

\n
\n
\n\n \n
\n\n
\n {loading && (!streamMode || (streamMode && !htmlContent)) ? (\n
\n \n

Generating your text…

\n
\n ) : (\n <>\n
\n
\n
\n\n
\n \n \n
\n \n )}\n
\n\n {!loading && (\n
\n \n\n \n
\n )}\n
\n );\n};\n\nEarlyDayEdit.displayName = 'EarlyDayEdit';\n","export { EarlyDayEdit } from './EarlyDayEdit';\nexport type { EarlyDayEditProps } from './EarlyDayEdit.types';\n","import clsx from 'clsx';\nimport { Button } from 'components/Button';\nimport type { EarlyDayEditorButtonProps } from './EarlyDayEditorButton.types';\n\nexport const EarlyDayEditorButton = (props: EarlyDayEditorButtonProps) => {\n const { className, loading, disabled, edited, onClick } = props;\n\n return (\n \n
\n {!edited ? (\n <>\n 🤩 EarlyDay Editor\n \n ) : (\n <>\n 👍 Edited!\n \n )}\n
\n \n );\n};\n\nEarlyDayEditorButton.displayName = 'EarlDayEditorButton';\n","export { EarlyDayEditorButton } from './EarlyDayEditorButton';\nexport type { EarlyDayEditorButtonProps } from './EarlyDayEditorButton.types';\n","import { Loader } from '@googlemaps/js-api-loader';\nimport { TextField } from 'components/TextField';\nimport { SearchIcon } from 'icons/outline';\nimport noop from 'lodash/noop';\nimport toString from 'lodash/toString';\nimport type { JobApplicationDistanceFilterValue } from 'redux/shared/filters';\nimport uniq from 'lodash/uniq';\nimport type { ChangeEvent } from 'react';\nimport { useEffect, useRef, useState } from 'react';\nimport type { PlaceFieldProps } from './PlaceField.types';\n\nconst loader = new Loader({\n apiKey: process.env.NEXT_PUBLIC_GOOGLE_MAPS_API_KEY,\n version: 'weekly',\n libraries: ['places'],\n});\n\nconst serializedPlaceResult = (\n placeResult: google.maps.places.PlaceResult,\n): JobApplicationDistanceFilterValue => {\n return {\n formattedAddress: placeResult.formatted_address,\n lat: placeResult.geometry.location.lat(),\n lng: placeResult.geometry.location.lng(),\n placeId: placeResult.place_id,\n };\n};\n\nexport const PlaceField = (props: PlaceFieldProps) => {\n const {\n placeValue,\n onPlaceSelect = noop,\n types = ['address'],\n fields = ['address_components', 'formatted_address', 'geometry'],\n value: providedValue,\n ...textFieldProps\n } = props;\n\n const inputRef = useRef();\n const autoCompleteRef = useRef();\n\n const [place, setPlace] = useState(null);\n const [value, setValue] = useState('');\n\n useEffect(() => {\n if (inputRef.current && autoCompleteRef.current) {\n onPlaceSelect(place);\n setValue(place?.formattedAddress || '');\n }\n }, [place?.formattedAddress]);\n\n useEffect(() => {\n setPlace(placeValue);\n }, [placeValue]);\n\n useEffect(() => {\n setValue(toString(providedValue));\n }, [providedValue]);\n\n /* eslint-disable */\n useEffect(() => {\n if (inputRef?.current) {\n // @ts-ignore-next-line\n loader.importLibrary('places').then(({ Autocomplete }) => {\n autoCompleteRef.current = new Autocomplete(inputRef.current, {\n locationbias: 'ipbias',\n fields: uniq(['place_id', ...fields]),\n types,\n });\n\n autoCompleteRef.current.addListener('place_changed', () => {\n const place = autoCompleteRef.current.getPlace();\n const serialized = serializedPlaceResult(place);\n\n setPlace(serialized || null);\n });\n });\n }\n }, [inputRef?.current, providedValue]);\n /* eslint-enable */\n\n const resetPlace = (event: ChangeEvent) => {\n const value = event.target.value;\n setPlace(null);\n setValue(value);\n };\n\n return (\n
\n \n
\n );\n};\n\nPlaceField.displayName = 'PlaceField';\n","export { PlaceField } from './PlaceField';\nexport type { PlaceFieldProps } from './PlaceField.types';\n","import { RootStateOrAny, useSelector } from 'react-redux';\nimport { AccountResource } from 'util/resources/Account';\n\nexport const useAccount = (): {\n currentAccount: AccountResource;\n authenticated: boolean;\n loaded: boolean;\n loading: boolean;\n} => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const {\n currentAccount,\n authenticated,\n loaded,\n loading,\n }: {\n currentAccount: AccountResource;\n authenticated: boolean;\n loaded: boolean;\n loading: boolean;\n } = useSelector(\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n ({ account }: RootStateOrAny) => account,\n );\n\n return {\n currentAccount,\n authenticated,\n loaded,\n loading,\n };\n};\n","import { RootStateOrAny, useDispatch, useSelector } from 'react-redux';\nimport { useEffect } from 'react';\nimport {\n fetchCertificationCategories,\n selectStateCertificationOptions,\n} from 'redux/certification_categories';\nimport { CertificationOptionResource } from 'util/resources/CertificationOption';\n\nexport const useCertificationOptions = () => {\n const dispatch = useDispatch();\n\n const certificationOptions: CertificationOptionResource[] = useSelector(\n (state: RootStateOrAny) =>\n selectStateCertificationOptions(state) as CertificationOptionResource[],\n );\n\n useEffect(() => {\n dispatch(fetchCertificationCategories());\n }, [dispatch]);\n\n return {\n certificationOptions,\n };\n};\n","import { RootStateOrAny, useSelector } from 'react-redux';\n\nexport const useFeatureFlag = (flag: string): boolean => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-return\n const flags = useSelector((state: RootStateOrAny) => state.flipper.features) as Record<\n string,\n { enabled: boolean }\n >;\n\n return flags?.[flag]?.enabled;\n};\n","import { RootStateOrAny, useDispatch, useSelector } from 'react-redux';\nimport { GeographyOptionResource } from 'util/resources/GeographyOption';\nimport { GeographyResource } from 'util/resources/Geography';\nimport { useAccount } from 'hooks/redux/useAccount';\nimport { useEffect } from 'react';\nimport { fetchCurrentGeography, fetchGeographies } from 'redux/geographies/actions';\n\nexport const useGeographies = (\n props = { initialFetch: true },\n): {\n currentGeography: GeographyResource;\n geographyOptions: {\n location: GeographyOptionResource[];\n college_credit_types: GeographyOptionResource[];\n filterable_education_philosophy: GeographyOptionResource[];\n classroom_type: GeographyOptionResource[];\n minimum_age: GeographyOptionResource[];\n benefits: GeographyOptionResource[];\n trainings: GeographyOptionResource[];\n };\n} => {\n const { authenticated, loaded: accountLoaded } = useAccount();\n\n const currentGeography = useSelector((state: RootStateOrAny) => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n return state['currentGeography'] as GeographyResource;\n });\n\n const geographyOptions = useSelector(\n (state) =>\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n state['geographies'].geographyOptions as {\n location: GeographyOptionResource[];\n college_credit_types: GeographyOptionResource[];\n filterable_education_philosophy: GeographyOptionResource[];\n classroom_type: GeographyOptionResource[];\n minimum_age: GeographyOptionResource[];\n benefits: GeographyOptionResource[];\n trainings: GeographyOptionResource[];\n },\n );\n\n const dispatch = useDispatch();\n\n useEffect(() => {\n if (authenticated && accountLoaded && props.initialFetch) {\n dispatch(fetchGeographies());\n dispatch(fetchCurrentGeography());\n }\n }, [authenticated, accountLoaded, dispatch]);\n\n return {\n currentGeography,\n geographyOptions,\n };\n};\n","import { useSelector } from 'react-redux';\nimport { UserProfileResource } from 'util/resources/UserProfile';\nimport { GeographyResource } from 'util/resources/Geography';\nimport { JobListingResource } from 'util/resources/JobListing';\n\nexport const useUser = (): {\n currentUserProfile: UserProfileResource;\n resumeParsingStatus: { resumeJobInfos: unknown[] };\n loadingResumeParsingStatus: boolean;\n geography: GeographyResource;\n jobRecommendations: { list: JobListingResource[] };\n loading: boolean;\n missingRequiredFields: string[];\n} => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment\n const {\n currentUserProfile,\n resumeParsingStatus,\n loadingResumeParsingStatus,\n loading,\n jobRecommendations,\n geography,\n missingRequiredFields,\n } = useSelector(\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n // eslint-disable-next-line @typescript-eslint/no-unsafe-return\n ({ currentUserProfile }) =>\n currentUserProfile as {\n currentUserProfile: UserProfileResource;\n resumeParsingStatus: { resume_job_infos: unknown[] };\n loadingResumeParsingStatus: boolean;\n geography: GeographyResource;\n jobRecommendations: { list: JobListingResource[] };\n loading: boolean;\n missingRequiredFields: string[];\n },\n );\n\n return {\n currentUserProfile,\n resumeParsingStatus: { resumeJobInfos: resumeParsingStatus?.resume_job_infos },\n loadingResumeParsingStatus,\n loading,\n geography,\n jobRecommendations,\n missingRequiredFields,\n };\n};\n","import { useEffect, useState } from 'react';\nimport { UserProfileResource } from 'util/resources/UserProfile';\nimport { Account } from 'util/resources';\n\ntype UseUserProfileProps = {\n initiallyFetch?: boolean;\n};\n\ntype UseUserProfileReturn = {\n userProfile: UserProfileResource;\n loading: boolean;\n error: Error;\n refreshUserProfile: () => Promise;\n};\n\nexport const useCurrentUserProfile = (props?: UseUserProfileProps): UseUserProfileReturn => {\n const { initiallyFetch = true } = props || {};\n\n const [userProfile, setUserProfile] = useState(null);\n const [loading, setLoading] = useState(true);\n const [error, setError] = useState(null);\n\n const fetchCurrentUserProfile = async () => {\n setLoading(true);\n await Account.includes('userProfile')\n .find('')\n .then((response) => {\n setLoading(false);\n setUserProfile(response.userProfile());\n })\n .catch((error: Error) => {\n setLoading(false);\n setError(error);\n });\n };\n\n const refreshUserProfile = fetchCurrentUserProfile;\n\n useEffect(() => {\n if (initiallyFetch) {\n void fetchCurrentUserProfile();\n }\n }, []);\n\n return {\n userProfile,\n loading,\n error,\n refreshUserProfile,\n };\n};\n","import isFunction from 'lodash/isFunction';\nimport reduce from 'lodash/reduce';\nimport { posthogCapture } from 'lib/posthog';\nimport { AnalyticsEventNames, AnalyticsEvents } from 'util/analyticsEvents';\nimport { useAhoy } from 'hooks/useAhoy';\nimport { useCallback } from 'react';\n\nexport interface EventData {\n eventKey: AnalyticsEvents;\n payload?: Record | ((...args: unknown[]) => Record);\n}\n\nexport interface Callback {\n event: EventData;\n handler?: (...args: unknown[]) => void;\n}\n\nexport type UseTrackedEventsProps = {\n [key: string]: Callback;\n};\n\nconst postHogCapture = posthogCapture();\n\nexport const useTrackedEvents = (\n props: UseTrackedEventsProps,\n): {\n [key: string]: Callback['handler'];\n} => {\n const callbacks = { ...props };\n\n const { trackEvent: ahoyTrackEvent } = useAhoy();\n\n // Generic function that uses whatever analytics provider we want to use\n const captureEvent = useCallback(\n (name: string, payload?: Record) => {\n postHogCapture(name, payload);\n ahoyTrackEvent(name, payload);\n },\n [ahoyTrackEvent],\n );\n\n if (!Object.keys(callbacks).length) {\n return {};\n }\n\n return reduce(\n Object.entries(callbacks),\n (acc, [callbackName, { handler, event }]) => {\n acc[callbackName] = (...args: unknown[]) => {\n if (isFunction(handler)) {\n handler(...args);\n }\n\n const { eventKey, payload } = event;\n\n const name = AnalyticsEventNames[eventKey];\n\n if (name) {\n if (isFunction(payload)) {\n captureEvent(name, payload(...args));\n } else {\n captureEvent(name, payload);\n }\n }\n };\n return acc;\n },\n {},\n );\n};\n","import { useDispatch, useSelector } from 'react-redux';\nimport { ProfileQuestionAnswerResource } from 'util/resources/ProfileQuestionAnswer';\nimport { fetchProfileQuestionAnswers } from 'redux/current_user_profile/actions';\n\nexport const useProfileQuestionAnswers = () => {\n const { profileQuestionAnswers, profileQuestionAnswersLoading } = useSelector(\n ({\n currentUserProfile: { profileQuestionAnswers, profileQuestionAnswersLoading },\n }: {\n currentUserProfile: {\n profileQuestionAnswers: ProfileQuestionAnswerResource[];\n profileQuestionAnswersLoading: boolean;\n };\n }) => ({\n profileQuestionAnswers,\n profileQuestionAnswersLoading,\n }),\n );\n\n const dispatch = useDispatch();\n\n const refreshProfileQuestionAnswers = () => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n dispatch(fetchProfileQuestionAnswers());\n };\n\n return {\n profileQuestionAnswers,\n loading: profileQuestionAnswersLoading,\n refreshProfileQuestionAnswers,\n };\n};\n","import { useEffect, useState } from 'react';\nimport type { EducationHistoryResource } from 'util/resources/EducationHistory';\nimport { EducationHistory } from 'util/resources/EducationHistory';\nimport type { QueryProps } from 'util/resources/APILibrary';\n\ntype UseEducationHistoryProps = {\n initialQueryProps?: QueryProps;\n initiallyFetch?: boolean;\n};\n\ntype UseEducationHistoryReturn = {\n educationHistory: EducationHistoryResource[];\n loading: boolean;\n error: Error;\n fetchEducationHistory: () => Promise;\n};\n\nexport const useEducationHistory = (\n props?: UseEducationHistoryProps,\n): UseEducationHistoryReturn => {\n const { initiallyFetch = true, initialQueryProps = {} } = props || {};\n\n const [educationHistory, setEducationHistory] = useState(null);\n const [loading, setLoading] = useState(true);\n const [error, setError] = useState(null);\n\n const fetchEducationHistory = async (query = initialQueryProps) => {\n const { includes } = query || {};\n\n setLoading(true);\n await EducationHistory.includes(...(includes || []))\n .all()\n .then((response) => {\n setLoading(false);\n setEducationHistory(response.toArray());\n })\n .catch((error: Error) => {\n setLoading(false);\n setError(error);\n });\n };\n\n useEffect(() => {\n if (initiallyFetch) {\n void fetchEducationHistory();\n }\n }, []);\n\n return {\n educationHistory,\n loading,\n error,\n fetchEducationHistory,\n };\n};\n","import { useEffect, useMemo, useState } from 'react';\nimport apiCall from 'util/api/client';\nimport { useCurrentUserProfile } from 'hooks/useCurrentUserProfile';\nimport includes from 'lodash/includes';\n\nexport const useResumeParsingStatus = () => {\n const [jobsStatus, setJobsStatus] = useState(null);\n const [workHistoriesCount, setWorkHistoriesCount] = useState(null);\n const [educationHistoriesCount, setEducationHistoriesCount] = useState(null);\n const [fetching, setFetching] = useState(false);\n\n const { userProfile, loading: loadingUserProfile, refreshUserProfile } = useCurrentUserProfile();\n\n const [pollingTimeout, setPollingTimeout] = useState(null);\n\n const startPolling = (delay: number) => {\n if (pollingTimeout) {\n clearTimeout(pollingTimeout);\n }\n\n setPollingTimeout(\n setTimeout(() => {\n setFetching(true);\n void apiCall(`sidekiq_jobs`)\n .then(\n (payload: {\n status: string;\n work_histories_count: number;\n education_histories_count: number;\n }) => {\n setJobsStatus(payload.status);\n setWorkHistoriesCount(payload.work_histories_count);\n setEducationHistoriesCount(payload.education_histories_count);\n setFetching(false);\n\n if (!includes(['done', 'not_found'], payload.status)) {\n startPolling(delay);\n }\n },\n )\n .catch(() => {\n setFetching(false);\n });\n }, delay),\n );\n };\n\n const refreshStatus = (delay = 0) => {\n setJobsStatus(null);\n void refreshUserProfile();\n setTimeout(() => {\n startPolling(delay);\n }, 3000);\n };\n\n useEffect(() => {\n refreshStatus();\n }, []);\n\n const status = useMemo(() => {\n if (!userProfile?.resume && !loadingUserProfile) {\n return 'no_resume';\n }\n\n if (loadingUserProfile || !jobsStatus) {\n return 'loading';\n }\n\n return jobsStatus;\n }, [jobsStatus, userProfile?.resume, loadingUserProfile, fetching]);\n\n return {\n status,\n workHistoriesCount,\n educationHistoriesCount,\n refreshStatus,\n };\n};\n","import { useEffect, useState } from 'react';\nimport type { WorkHistoryResource } from 'util/resources/WorkHistory';\nimport { WorkHistory } from 'util/resources/WorkHistory';\nimport type { QueryProps } from 'util/resources/APILibrary';\n\ntype UseWorkHistoryProps = {\n initialQueryProps?: QueryProps;\n initiallyFetch?: boolean;\n};\n\ntype UseWorkHistoryReturn = {\n workHistory: WorkHistoryResource[];\n loading: boolean;\n error: Error;\n fetchWorkHistory: () => Promise;\n};\n\nexport const useWorkHistory = (props?: UseWorkHistoryProps): UseWorkHistoryReturn => {\n const { initiallyFetch = true, initialQueryProps = {} } = props || {};\n\n const [workHistory, setWorkHistory] = useState(null);\n const [loading, setLoading] = useState(true);\n const [error, setError] = useState(null);\n\n const fetchWorkHistory = async (query: QueryProps = initialQueryProps) => {\n const { includes = [], select = [], where = {}, order = {}, limit = 0, offset = 0 } = query;\n\n setLoading(true);\n await WorkHistory.includes(...includes)\n .select(...select)\n .where(where)\n .order(order)\n .limit(limit)\n .offset(offset)\n .all()\n .then((response) => {\n setLoading(false);\n setWorkHistory(response.toArray());\n })\n .catch((error: Error) => {\n setLoading(false);\n setError(error);\n });\n };\n\n useEffect(() => {\n if (initiallyFetch) {\n void fetchWorkHistory();\n }\n }, []);\n\n return {\n workHistory,\n loading,\n error,\n fetchWorkHistory,\n };\n};\n","import * as Sentry from '@sentry/nextjs';\nimport { postHogCapture } from 'components/analytics/PostHog';\nimport { useProfileQuestionAnswers } from 'hooks/redux/useProfileQuestionAnswers';\nimport { useEducationHistory } from 'hooks/useEducationHistory';\nimport { useResumeParsingStatus } from 'hooks/useResumeParsingStatus';\nimport { useWorkHistory } from 'hooks/useWorkHistory';\nimport { every, flatten } from 'lodash';\nimport find from 'lodash/find';\nimport includes from 'lodash/includes';\nimport isFunction from 'lodash/isFunction';\nimport isNull from 'lodash/isNull';\nimport isString from 'lodash/isString';\nimport isUndefined from 'lodash/isUndefined';\nimport map from 'lodash/map';\nimport reduce from 'lodash/reduce';\nimport some from 'lodash/some';\nimport uniq from 'lodash/uniq';\nimport type { Dispatch, PropsWithChildren, SetStateAction } from 'react';\nimport { createContext, useCallback, useEffect, useMemo, useState } from 'react';\nimport { useDispatch } from 'react-redux';\nimport { fetchCurrentProfile } from 'redux/current_user_profile/actions';\nimport { OnboardingEvent } from 'util/resources';\nimport type { EducationHistoryResource } from 'util/resources/EducationHistory';\nimport type { ProfileQuestionResource } from 'util/resources/ProfileQuestion';\nimport type { ProfileQuestionAnswerResource } from 'util/resources/ProfileQuestionAnswer';\nimport { ProfileQuestionAnswer } from 'util/resources/ProfileQuestionAnswer';\nimport type { UserProfileResource } from 'util/resources/UserProfile';\nimport type { WorkHistoryResource } from 'util/resources/WorkHistory';\n\nconst eventCapture = postHogCapture();\n\nexport type AuxiliaryDataContextProps = {\n steps: ProfileQuestionResource[];\n addedUnlistedSteps: string[];\n updateUnlistedSteps: (stepId: string, stepsToAdd?: string[]) => void;\n userProfile: UserProfileResource;\n profileQuestionAnswers: ProfileQuestionAnswerResource[];\n loadingProfileQuestionAnswers: boolean;\n refreshProfileQuestionAnswers: () => void;\n workHistory: WorkHistoryResource[];\n loadingWorkHistory: boolean;\n fetchWorkHistory: () => Promise;\n educationHistory: EducationHistoryResource[];\n loadingEducationHistory: boolean;\n fetchEducationHistory: () => Promise;\n hasFilledAbout: boolean;\n aboutAnswer: string;\n setAboutAnswer: Dispatch>;\n getStepIndexByName: (name: string) => number;\n getStepIndexById: (id: string) => number;\n hasUploadedResume: boolean;\n hasAttachments: boolean;\n setHasUploadedResume: Dispatch>;\n hasUploadedProfileImage: boolean;\n setHasUploadedProfileImage: Dispatch>;\n hasClickedVideoAskLink: boolean;\n setHasClickedVideoAskLink: Dispatch>;\n direction: 'initial' | 'next' | 'previous';\n setDirection: Dispatch>;\n getStep: (id: string) => ProfileQuestionResource;\n hideActions: boolean;\n setHideActions: Dispatch>;\n appliedAISuggestion: boolean;\n setAppliedAISuggestion: Dispatch>;\n hasExperienceWithChildren: boolean;\n hasOnlyAiGeneratedWorkHistory: boolean;\n hasSomeAiGeneratedWorkHistory: boolean;\n hasSomeAiGeneratedEducationHistory: boolean;\n resumeParsingStatus: string;\n workHistoriesCount: number;\n educationHistoriesCount: number;\n refreshResumeParsingStatus: (delay?: number) => void;\n handlePreviousStep: ({\n goToStep,\n profileQuestion,\n }: {\n goToStep: (index: number) => void;\n profileQuestion: ProfileQuestionResource;\n }) => () => void;\n handleNextStep: ({\n goToStep,\n activeStepIndex,\n isLastStep,\n onComplete,\n }: {\n goToStep: (index: number) => void;\n activeStepIndex: number;\n isLastStep: boolean;\n onComplete?: () => void | Promise;\n }) => () => Promise;\n handleSaveAnswer: (\n answeredProfileQuestion: ProfileQuestionResource,\n answeredProfileQuestionAnswer?: ProfileQuestionAnswerResource,\n callback?: (() => void) | (() => Promise),\n ) => (data: Record) => Promise;\n saveSkipStepEvent: (profileQuestion: ProfileQuestionResource) => Promise;\n overwriteAiGeneratedData?: boolean;\n setOverwriteAiGeneratedData?: Dispatch>;\n acknowledgedWorkingWithChildren?: boolean;\n setAcknowledgedWorkingWithChildren?: Dispatch>;\n activeWorkHistory: WorkHistoryResource;\n setActiveWorkHistory: Dispatch>;\n};\n\nexport const AuxiliaryDataContext = createContext(null);\n\nexport type AuxiliaryDataProviderProps = {\n steps: ProfileQuestionResource[];\n userProfile: UserProfileResource;\n};\n\nexport const AuxiliaryDataProvider = (props: PropsWithChildren) => {\n const { children, steps, userProfile } = props;\n\n const [hasUploadedResume, setHasUploadedResume] = useState(false);\n const [hasAttachments, setHasAttachments] = useState(false);\n\n useEffect(() => {\n setHasUploadedResume(Boolean(userProfile?.resume?.downloadUrl));\n }, [userProfile?.resume?.downloadUrl]);\n useEffect(() => {\n setHasAttachments(userProfile?.attachments?.length > 0);\n }, [userProfile?.attachments?.length]);\n\n const [aboutAnswer, setAboutAnswer] = useState('');\n const [hasUploadedProfileImage, setHasUploadedProfileImage] = useState(false);\n const [hasClickedVideoAskLink, setHasClickedVideoAskLink] = useState(false);\n const [appliedAISuggestion, setAppliedAISuggestion] = useState(false);\n\n const [acknowledgedWorkingWithChildren, setAcknowledgedWorkingWithChildren] =\n useState(false);\n\n const [overwriteAiGeneratedData, setOverwriteAiGeneratedData] = useState(false);\n\n const [unlistedStepsByStep, setUnlistedStepsByStep] = useState>({});\n\n const unlistedStepsByStepPrimitive = JSON.stringify(unlistedStepsByStep);\n\n const updateUnlistedSteps = (stepId: string, stepsToAdd: string[]) => {\n setUnlistedStepsByStep((prev) => ({\n ...prev,\n [stepId]: stepsToAdd || [],\n }));\n };\n\n const [direction, setDirection] = useState<'initial' | 'next' | 'previous'>('initial');\n\n const [hideActions, setHideActions] = useState(false);\n\n const dispatch = useDispatch();\n\n const hasFilledAbout = Boolean(aboutAnswer);\n\n const {\n workHistory,\n loading: loadingWorkHistory,\n fetchWorkHistory,\n } = useWorkHistory({\n initialQueryProps: {\n order: {\n start_date: 'desc',\n },\n },\n });\n\n const {\n educationHistory,\n loading: loadingEducationHistory,\n fetchEducationHistory,\n } = useEducationHistory({\n initialQueryProps: {\n includes: ['education_level'],\n },\n });\n\n const {\n profileQuestionAnswers,\n loading: loadingProfileQuestionAnswers,\n refreshProfileQuestionAnswers,\n } = useProfileQuestionAnswers();\n\n const profileQuestionAnswersPrimitive = JSON.stringify(\n map(profileQuestionAnswers, (pqa) => pqa.attributes()),\n );\n\n const addedUnlistedSteps = useMemo(\n () => uniq(flatten(Object.values(unlistedStepsByStep))),\n [unlistedStepsByStepPrimitive],\n );\n\n const [firstLoad, setFirstLoad] = useState(true);\n\n useEffect(() => {\n if (!firstLoad || !profileQuestionAnswers.length) {\n return;\n }\n\n const initialUnlistedSteps = reduce(\n profileQuestionAnswers,\n (acc, pqa) => {\n const profileQuestionAnswerQuestion = pqa.profileQuestion();\n const selectedOption = find(\n profileQuestionAnswerQuestion.options,\n (option) => option.value === pqa.value,\n );\n\n if (!selectedOption) {\n return acc;\n }\n\n return {\n ...acc,\n [profileQuestionAnswerQuestion.id]:\n selectedOption.flowControl?.addUnlistedProfileQuestionIds || [],\n };\n },\n {},\n );\n setFirstLoad(false);\n setUnlistedStepsByStep(initialUnlistedSteps);\n }, [profileQuestionAnswersPrimitive]);\n\n const addedUnlistedStepsPrimitive = JSON.stringify(addedUnlistedSteps);\n\n const [activeWorkHistory, setActiveWorkHistory] = useState(null);\n\n const workHistoryPrimitive = JSON.stringify(map(workHistory, (wh) => wh.attributes()));\n const educationHistoryPrimitive = JSON.stringify(map(educationHistory, (eh) => eh.attributes()));\n\n const getStepIndexByName = (name: string) => steps.findIndex((step) => step.name === name);\n\n const getStepIndexById = (id: string) => steps.findIndex((step) => step.id === id);\n\n const getStep = (id: string) => steps.find((step) => step.id === id);\n\n const {\n status: resumeParsingStatus,\n workHistoriesCount,\n educationHistoriesCount,\n refreshStatus,\n } = useResumeParsingStatus();\n\n const [shouldRefreshHistories, setShouldRefreshHistories] = useState(false);\n\n const refreshResumeParsingStatus = (delay?: number) => {\n setShouldRefreshHistories(true);\n refreshStatus(delay);\n };\n\n const workHistoryStep = find(steps, { name: 'work_history' });\n const parsingResumeStep = find(steps, { name: 'parsing_resume' });\n\n useEffect(() => {\n switch (resumeParsingStatus) {\n case 'done':\n case 'not_found':\n case 'no_resume':\n updateUnlistedSteps(workHistoryStep.id, []);\n break;\n case null:\n case 'loading':\n case 'running':\n case 'enqueued':\n default:\n updateUnlistedSteps(workHistoryStep.id, [parsingResumeStep.id]);\n break;\n }\n }, [resumeParsingStatus]);\n\n useEffect(() => {\n if (resumeParsingStatus === 'done' && shouldRefreshHistories) {\n void fetchWorkHistory();\n void fetchEducationHistory();\n setAppliedAISuggestion(false);\n setShouldRefreshHistories(false);\n }\n }, [resumeParsingStatus, shouldRefreshHistories]);\n\n const hasOnlyAiGeneratedWorkHistory = useMemo(\n () => every(workHistory, 'aiGenerated'),\n [workHistoryPrimitive],\n );\n\n const hasSomeAiGeneratedWorkHistory = useMemo(\n () => some(workHistory, 'aiGenerated'),\n [workHistoryPrimitive],\n );\n\n const hasSomeAiGeneratedEducationHistory = useMemo(\n () => some(educationHistory, 'aiGenerated'),\n [educationHistoryPrimitive],\n );\n\n const hasExperienceWithChildren = useMemo(\n () => some(workHistory, 'workedWithChildren'),\n [workHistoryPrimitive],\n );\n\n const handlePreviousStep =\n ({\n goToStep,\n profileQuestion,\n }: {\n goToStep: (index: number) => void;\n profileQuestion: ProfileQuestionResource;\n }) =>\n () => {\n setDirection('previous');\n\n const previousSteps = steps.slice(0, getStepIndexById(profileQuestion.id)).reverse();\n const previousValidStep: ProfileQuestionResource = find(\n previousSteps,\n (step) =>\n !step.unlisted ||\n (includes(addedUnlistedSteps, step.id) &&\n !includes(['rejection', 'final_rejection', 'loading'], step.inputType)),\n );\n\n return goToStep(getStepIndexById(previousValidStep.id));\n };\n\n const handleNextStep = useCallback(\n ({\n goToStep,\n activeStepIndex,\n isLastStep,\n onComplete,\n }: {\n goToStep: (index: number) => void;\n activeStepIndex: number;\n isLastStep: boolean;\n onComplete?: () => void | Promise;\n }) => {\n return async () => {\n setDirection('next');\n\n const nextSteps = steps.slice(activeStepIndex + 1);\n const nextValidStep: ProfileQuestionResource = find(\n nextSteps,\n (step) => !step.unlisted || includes(addedUnlistedSteps, step.id),\n );\n\n if ((!nextValidStep || isLastStep) && isFunction(onComplete)) {\n dispatch(fetchCurrentProfile());\n return onComplete();\n }\n\n return goToStep(getStepIndexById(nextValidStep.id));\n };\n },\n [addedUnlistedStepsPrimitive],\n );\n\n const saveSkipStepEvent = useCallback(\n async (profileQuestion: ProfileQuestionResource) => {\n await OnboardingEvent.create({\n event: 'skipped',\n profileQuestionId: profileQuestion.id,\n });\n },\n [userProfile?.id],\n );\n\n const saveAnswer = useCallback(\n async (\n data: Record,\n answeredProfileQuestion: ProfileQuestionResource,\n answeredProfileQuestionAnswer?: ProfileQuestionAnswerResource,\n ) => {\n const dataToBeSaved =\n isString(data[answeredProfileQuestion.name]) ||\n isNull(data[answeredProfileQuestion.name]) ||\n isUndefined(data[answeredProfileQuestion.name])\n ? data[answeredProfileQuestion.name]\n : JSON.stringify(data[answeredProfileQuestion.name]);\n\n if (!answeredProfileQuestionAnswer) {\n await ProfileQuestionAnswer.create({\n profileQuestionId: answeredProfileQuestion.id,\n value: dataToBeSaved,\n }).catch(() => {\n Sentry.captureException('Error creating profile question answer');\n });\n } else {\n await answeredProfileQuestionAnswer\n .update({\n value: dataToBeSaved,\n })\n .catch(() => {\n Sentry.captureException('Error updating profile question answer');\n });\n }\n\n eventCapture('Answer Onboarding Question', {\n 'Step Number': getStepIndexById(answeredProfileQuestion.id),\n 'Question Name': answeredProfileQuestion.name,\n Geography: userProfile?.geography?.()?.longName,\n });\n await OnboardingEvent.create({\n event: 'answered',\n profileQuestionId: answeredProfileQuestion.id,\n });\n },\n [userProfile?.id],\n );\n\n const handleSaveAnswer = useCallback(\n (\n answeredProfileQuestion: ProfileQuestionResource,\n answeredProfileQuestionAnswer?: ProfileQuestionAnswerResource,\n callback?: (() => void) | (() => Promise),\n ) =>\n async (data: Record) => {\n await saveAnswer(data, answeredProfileQuestion, answeredProfileQuestionAnswer);\n await callback?.();\n },\n [saveAnswer],\n );\n\n return (\n \n {children}\n \n );\n};\n","import type { OnboardingInputProps } from 'features/OnboardingFlow/OnboardingInput.types';\nimport map from 'lodash/map';\nimport { Radio } from 'components/Radio';\nimport { Controller, useFormContext } from 'react-hook-form';\nimport { RadioGroup } from '@headlessui/react';\nimport { HelperText } from 'components/HelperText';\nimport { AuxiliaryDataContext } from 'features/OnboardingFlow/AuxiliaryDataContext';\nimport { useContext, useEffect } from 'react';\n\nexport const OnboardingRadio = (props: OnboardingInputProps) => {\n const { profileQuestion } = props;\n\n const { updateUnlistedSteps } = useContext(AuxiliaryDataContext);\n\n const { control, watch } = useFormContext<{\n [profileQuestionName: string]: string;\n }>();\n\n const radioValue = watch(profileQuestion.name);\n\n useEffect(() => {\n const selectedOption = profileQuestion.options.find((option) => option.value === radioValue);\n\n updateUnlistedSteps(\n profileQuestion.id,\n selectedOption?.flowControl?.addUnlistedProfileQuestionIds || [],\n );\n }, [radioValue]);\n\n return (\n
\n (\n <>\n \n {map(profileQuestion.options, (option) => {\n return (\n \n \n {option.value}\n \n \n );\n })}\n \n\n {(error || null) && (\n
\n {error.message}\n
\n )}\n \n )}\n />\n \n );\n};\n\nOnboardingRadio.displayName = 'OnboardingRadio';\n","import { useEffect, useState } from 'react';\nimport { Select, SelectOption } from 'components/Select';\nimport map from 'lodash/map';\nimport parse from 'date-fns/parse';\nimport format from 'date-fns/format';\nimport { normalizeAbsoluteDate } from 'util/formatting/dates';\n\nconst MONTH_OPTIONS = [\n { children: 'Jan', value: 'January' },\n { children: 'Feb', value: 'February' },\n { children: 'Mar', value: 'March' },\n { children: 'Apr', value: 'April' },\n { children: 'May', value: 'May' },\n { children: 'Jun', value: 'June' },\n { children: 'Jul', value: 'July' },\n { children: 'Aug', value: 'August' },\n { children: 'Sep', value: 'September' },\n { children: 'Oct', value: 'October' },\n { children: 'Nov', value: 'November' },\n { children: 'Dec', value: 'December' },\n];\n\nconst YEAR_OPTIONS = map(Array(60).fill(null), (_value, index) => {\n const year = new Date().getFullYear() - index;\n return {\n children: year.toString(),\n value: year.toString(),\n };\n});\n\ntype MonthYearSelectProps = {\n value: string;\n onChange: (value: string) => void;\n invalid?: boolean;\n disabled?: boolean;\n};\n\nexport const MonthYearSelect = (props: MonthYearSelectProps) => {\n const { onChange, invalid, disabled = false, value } = props;\n\n const [month, setMonth] = useState(undefined);\n const [year, setYear] = useState(undefined);\n\n const onMonthChange = (newMonthValue: string) => {\n setMonth(newMonthValue);\n\n if (!year) {\n return;\n }\n\n onChange(format(parse(`${newMonthValue} ${year}`, 'MMMM yyyy', new Date()), 'yyyy-MM-dd'));\n };\n\n const onYearChange = (newYearValue: string) => {\n setYear(newYearValue);\n\n if (!month) {\n return;\n }\n\n onChange(format(parse(`${month} ${newYearValue}`, 'MMMM yyyy', new Date()), 'yyyy-MM-dd'));\n };\n\n useEffect(() => {\n if (!value) {\n setMonth(undefined);\n setYear(undefined);\n return;\n }\n\n setMonth(format(normalizeAbsoluteDate(new Date(value)), 'MMMM'));\n setYear(format(normalizeAbsoluteDate(new Date(value)), 'yyyy'));\n }, [value]);\n\n return (\n
\n
\n m.value === month)}\n onChange={onMonthChange}\n error={invalid}\n disabled={disabled}\n >\n {map(MONTH_OPTIONS, (option) => (\n \n {option.children}\n \n ))}\n \n
\n\n
\n y.value === year)}\n onChange={onYearChange}\n error={invalid}\n disabled={disabled}\n >\n {map(YEAR_OPTIONS, (year) => (\n \n {year.children}\n \n ))}\n \n
\n
\n );\n};\n\nMonthYearSelect.displayName = 'MonthYearSelect';\n","export const JOB_TITLES = [\n \"Assistant Teacher\",\n \"Assistant Preschool Teacher\",\n \"ABA Therapist\",\n \"Aide\",\n \"Assistant Infant Teacher\",\n \"Assistant Infant/Toddler Teacher\",\n \"Assi`stant Pre-K Teacher\",\n \"Assistant Toddler Teacher\",\n \"Au Pair\",\n \"Babysitter\",\n \"Camp Counselor\",\n \"Certified Assistant in a Large Family Child Care Program\",\n \"Certified Assistant\",\n \"Children's Art Teacher\",\n \"Children's Dance Teacher\",\n \"Children's Music Teacher\",\n \"Classroom Teacher\",\n \"Direct Support Professional\",\n \"Director\",\n \"Early Childhood Director\",\n \"Early Head Start Assistant Teacher\",\n \"Early Head Start Teacher\",\n \"Educational Director\",\n \"Family Childcare Assistant\",\n \"Family Childcare Owner\",\n \"Family Childcare Worker\",\n \"Head Preschool Teacher\",\n \"Head Start Assistant Teacher\",\n \"Head Start Teacher\",\n \"Infant Teacher\",\n \"Infant/Toddler Teacher\",\n \"Instructional Leader\",\n \"Kindergarten Teacher\",\n \"Large Family Child Care Provider\",\n \"Lead Classroom Teacher\",\n \"Lead Preschool Teacher\",\n \"Nanny\",\n \"Operational Leader\",\n \"Paraprofessional\",\n \"Personal Care Assistant\",\n \"Pre-K Teacher\",\n \"Preschool Director\",\n \"Preschool Floater Teacher\",\n \"Preschool Teacher\",\n \"Program Administrator\",\n \"Program Manager\",\n \"Site Coordinator\",\n \"Special Education Teacher\",\n \"Student Intern\",\n \"Student Teacher\",\n \"Substitute Assistant Preschool Teacher\",\n \"Substitute Preschool Teacher\",\n \"Teacher's Aide\",\n \"Teacher's Assistant\",\n \"Teacher\",\n \"Toddler Teacher\",\n \"Tutor\",\n];\n","import type { PropsWithChildren } from 'react';\nimport type { MultiSelectChipProps } from './MultiSelectChip.types';\nimport { CloseIcon } from 'icons/outline';\nimport { Combobox } from '@headlessui/react';\n\nexport const MultiSelectChip = (props: PropsWithChildren) => {\n const { children, value } = props;\n\n return (\n \n {children}\n \n \n \n \n );\n};\n\nMultiSelectChip.displayName = 'MultiSelectChip';\n","export { MultiSelectChip } from './MultiSelectChip';\nexport type { MultiSelectChipProps } from './MultiSelectChip.types';\n","import { Fragment, useMemo, useRef, useState } from 'react';\nimport { Combobox, Transition } from '@headlessui/react';\nimport clsx from 'clsx';\nimport type { MultiSelectOptionProps, MultiSelectProps } from './MultiSelect.types';\nimport { CheckIcon } from 'icons/outline';\nimport { isString } from 'lodash';\nimport filter from 'lodash/filter';\nimport deburr from 'lodash/deburr';\nimport map from 'lodash/map';\nimport isUndefined from 'lodash/isUndefined';\nimport { MultiSelectChip } from './MultiSelectChip';\n\nexport const MultiSelect = (\n props: MultiSelectProps,\n) => {\n const {\n className,\n placeholder,\n options = [],\n value: providedValue,\n onChange,\n error = false,\n disabled = false,\n fullWidth = false,\n debug = false,\n ...comboboxProps\n } = props;\n\n const [query, setQuery] = useState('');\n\n const inputRef = useRef(null);\n\n const optionsPrimitive = JSON.stringify(options);\n\n const mappedOptions: MultiSelectOptionProps[] = useMemo(\n () =>\n map(options, (option) => {\n if (isString(option)) {\n return { id: option, label: option, value: option };\n }\n return option as unknown as MultiSelectOptionProps;\n }),\n [optionsPrimitive],\n );\n\n const filteredOptions = useMemo(\n () =>\n query === ''\n ? mappedOptions\n : filter(mappedOptions, ({ label }) =>\n deburr(label.toLowerCase()).includes(deburr(query.toLowerCase())),\n ),\n [query, optionsPrimitive],\n );\n\n const safeValue = isUndefined(providedValue) ? undefined : providedValue || [];\n\n const handleChange = (newValue: T[]) => {\n inputRef.current.value = '';\n setQuery('');\n onChange(newValue);\n };\n\n return (\n
\n \n {({ open, value }) => (\n <>\n {\n inputRef.current.focus();\n }}\n >\n {(value.length || null) && (\n <>\n {map(value, (valueItem) => {\n const option = mappedOptions.find(\n (mappedOption) =>\n mappedOption.value ===\n (typeof valueItem === 'string' ? valueItem : valueItem?.value),\n );\n\n if (!option) {\n return null;\n }\n\n return (\n \n {option.label}\n \n );\n })}\n \n )}\n\n {\n setQuery(event.target.value);\n }}\n placeholder={placeholder}\n className=\"flex-1 outline-none\"\n ref={inputRef}\n />\n
\n\n {\n setQuery('');\n }}\n >\n \n {map(filteredOptions, (option) => (\n \n {({ selected }) => (\n \n {option.label}\n {selected && (\n \n )}\n \n )}\n \n ))}\n \n \n \n )}\n \n
\n );\n};\n\nMultiSelect.displayName = 'MultiSelect';\n","export { MultiSelect } from './MultiSelect';\nexport type { MultiSelectProps } from './MultiSelect.types';\n","export const TEACHING_ROLES = [\"Full-Time\", \"Part-Time\", \"Seasonal\", \"Substitute\"];\n","export const TEACHING_SETTINGS = [\n \"Preschool, Childcare Center, Daycare\",\n \"Family Childcare Home\",\n \"Private Home or Individual Family (as a Nanny or Babysitter)\",\n \"Before or Afterschool Program\",\n \"K-12th grade (Elementary, Middle or High School)\",\n \"Tutoring Center\",\n \"Camp\",\n];\n","export const GRADE_LEVELS = [\n \"0-12 months\",\n \"13-24 months\",\n \"2 years old\",\n \"3 years old\",\n \"4 years old\",\n \"5 years old\",\n \"Kindergarten\",\n \"1st grade\",\n \"2nd grade\",\n \"3rd grade\",\n \"4th grade\",\n \"5th grade\",\n \"6th grade\",\n \"Middle school aged\",\n \"High school aged\",\n \"College aged\",\n];\n","import { ActiveStorageFileUploadProps } from 'features/ActiveStorageFileUpload/ActiveStorageFileUpload.types';\nimport dynamic from 'next/dynamic';\n\nconst ActiveStorageFileUpload = dynamic(\n () =>\n import('features/ActiveStorageFileUpload/ActiveStorageFileUpload').then(\n (mod) => mod.ActiveStorageFileUpload,\n ),\n {\n ssr: false,\n },\n);\n\nexport const ActiveStorageFileUploadBrowser = (props: ActiveStorageFileUploadProps) => (\n \n);\n","import { AlertIcon } from 'icons/outline';\nimport { ModalIconColor } from 'components/Modal/Modal.types';\nimport { ModalBody } from 'components/Modal/ModalBody';\nimport { ModalActions } from 'components/Modal/ModalActions';\nimport { Button } from 'components/Button';\nimport type { DialogProps } from 'components/Dialog';\nimport { Dialog } from 'components/Dialog';\n\ntype ReplaceResumeConfirmationDialogProps = {\n onConfirm: () => void;\n} & DialogProps;\n\nexport const ReplaceResumeConfirmationDialog = (props: ReplaceResumeConfirmationDialogProps) => {\n const { open, onClose, onConfirm } = props;\n\n return (\n \n \n

\n Replacing your file will remove the existing file as well as any work experiences that\n have already been uploaded.\n

\n
\n \n \n \n \n );\n};\n\nReplaceResumeConfirmationDialog.displayName = 'ReplaceResumeConfirmationDialog';\n","import type { OnboardingInputProps } from 'features/OnboardingFlow/OnboardingInput.types';\nimport { Banner } from 'components/Banner';\nimport { Box } from 'components/Box';\nimport { Button } from 'components/Button';\nimport type { ChangeEvent } from 'react';\nimport { useCallback, useContext, useEffect, useState } from 'react';\nimport { TextField } from 'components/TextField';\nimport { Controller, useForm } from 'react-hook-form';\nimport { HelperText } from 'components/HelperText';\nimport { Checkbox } from 'components/Checkbox';\nimport { MonthYearSelect } from 'features/OnboardingFlow/inputs/MonthYearSelect';\nimport { TextArea } from 'components/TextArea';\nimport { RadioGroup } from '@headlessui/react';\nimport { Radio } from 'components/Radio';\nimport map from 'lodash/map';\nimport { WorkHistory } from 'util/resources';\nimport type { WorkHistoryResource } from 'util/resources/WorkHistory';\nimport isBoolean from 'lodash/isBoolean';\nimport { AgeIcon, ArrowLeftLongIcon, ArrowRightIcon, CheckIcon, TrashIcon } from 'icons/outline';\nimport { PlusIcon } from 'icons/solid';\nimport includes from 'lodash/includes';\nimport { Skeleton } from 'components/Skeleton';\nimport { AuxiliaryDataContext } from 'features/OnboardingFlow/AuxiliaryDataContext';\nimport clsx from 'clsx';\nimport { PlaceField } from 'features/PlaceField';\nimport { JOB_TITLES } from 'util/constants/job-titles';\nimport { SelectButton } from 'components/SelectButton';\nimport type { SelectOptionProps } from 'components/SelectButton/SelectButtonOption/SelectButtonOption.types';\nimport { MultiSelect } from 'components/MultiSelect';\nimport { LANGUAGES } from 'util/constants/languages';\nimport { TEACHING_ROLES } from 'util/constants/teaching-roles';\nimport { TEACHING_SETTINGS } from 'util/constants/teaching-settings';\nimport { GRADE_LEVELS } from 'util/constants/grade-levels';\nimport { ActiveStorageFileUploadBrowser } from 'features/ActiveStorageFileUpload/ActiveStorageFileUploadBrowser';\nimport { updateProfile } from 'util/api/user';\nimport { fetchCurrentProfile } from 'redux/current_user_profile/actions';\nimport { useDispatch } from 'react-redux';\nimport { useUser } from 'hooks/redux/useUser';\nimport { AppRoutes } from 'util/urlFactory';\nimport { useRouter } from 'next/router';\nimport { IconButton } from 'components/IconButton';\nimport { useWizard } from 'react-use-wizard';\nimport { useFeatureFlag } from 'hooks/redux/useFeatureFlag';\nimport { ReplaceResumeConfirmationDialog } from 'features/OnboardingFlow/auxiliary/ReplaceResumeConfirmationDialog';\nimport { useGeographies } from 'hooks/redux/useGeographies';\n\nconst BOOLEAN_YES_NO_OPTIONS = [\n {\n value: true,\n label: 'Yes',\n },\n {\n value: false,\n label: 'No',\n },\n];\n\nconst REQUIRED_HELPER_TEXT = '🚨 Answer this to go to the next question.';\n\nconst mapToOption = (value: string): SelectOptionProps => ({ id: value, value, label: value });\n\nconst GRADE_LEVEL_OPTIONS = map(GRADE_LEVELS, mapToOption);\n\nconst TEACHING_SETTINGS_OPTIONS = map(TEACHING_SETTINGS, mapToOption);\n\nconst TEACHING_ROLES_OPTIONS = map(TEACHING_ROLES, mapToOption);\n\nconst LANGUAGES_OPTIONS = LANGUAGES;\n\nconst JOB_TITLE_OPTIONS = map(JOB_TITLES, mapToOption);\n\nexport const OnboardingWorkHistory = (props: OnboardingInputProps) => {\n const { profileQuestion } = props;\n\n const {\n control: workHistoryControl,\n handleSubmit,\n reset,\n getValues,\n setValue: workHistorySetValue,\n watch,\n trigger,\n } = useForm<{\n jobTitle: string;\n company: string;\n city: string;\n current: boolean;\n startDate: string;\n endDate: string;\n description: string;\n workedWithChildren: boolean;\n gradeLevels: string[];\n teachingSettings: string[];\n approaches: string[];\n languages: string[];\n teachingRoles: string[];\n }>();\n watch();\n\n const dispatch = useDispatch();\n const router = useRouter();\n\n const hasAutoCompleteFlagEnabled = useFeatureFlag('open_ai_auto_complete_onboarding');\n\n const {\n workHistory,\n loadingWorkHistory,\n fetchWorkHistory,\n setHideActions,\n hasUploadedResume,\n resumeParsingStatus,\n hasExperienceWithChildren,\n handlePreviousStep,\n activeWorkHistory,\n setActiveWorkHistory,\n getStepIndexByName,\n hasSomeAiGeneratedWorkHistory,\n } = useContext(AuxiliaryDataContext);\n\n const { goToStep, previousStep } = useWizard();\n const { geographyOptions } = useGeographies({ initialFetch: false });\n const eucationalApproachesOptions = geographyOptions.filterable_education_philosophy?.map(\n (type) => ({\n value: type.title,\n label: type.title,\n }),\n );\n\n useEffect(() => {\n if (\n includes([null, 'loading', 'running'], resumeParsingStatus) &&\n hasAutoCompleteFlagEnabled &&\n hasUploadedResume\n ) {\n void router.push(`${AppRoutes.EDUCATOR_ONBOARDING}?stepName=parsing_resume`);\n }\n }, [resumeParsingStatus, hasUploadedResume, hasAutoCompleteFlagEnabled]);\n\n const [fileUploading, setFileUploading] = useState(false);\n\n const checkIncompleteWithChildrenInfo = useCallback(\n () =>\n getValues('workedWithChildren') &&\n (!getValues('teachingSettings')?.length || !getValues('gradeLevels')?.length),\n [],\n );\n\n useEffect(() => {\n setHideActions(Boolean(activeWorkHistory));\n\n if (activeWorkHistory?.id) {\n void trigger();\n }\n\n if (checkIncompleteWithChildrenInfo() && activeWorkHistory.isResourceValid()) {\n const element = document.getElementById('experience-with-children-section');\n if (element) {\n element.scrollIntoView({ behavior: 'smooth' });\n }\n }\n\n return () => {\n setHideActions(false);\n };\n }, [activeWorkHistory]);\n\n const { currentUserProfile } = useUser();\n\n const handleAddWorkHistory = () => {\n reset();\n setActiveWorkHistory(WorkHistory.build({}));\n };\n\n const onSaveWorkHistory = async (data: Record) => {\n await activeWorkHistory.update(data);\n\n await fetchWorkHistory();\n reset();\n setActiveWorkHistory(null);\n };\n\n const onCancel = () => {\n reset();\n setActiveWorkHistory(null);\n };\n\n const handleEditWorkHistory = (workHistoryItem: WorkHistoryResource) => {\n setActiveWorkHistory(workHistoryItem);\n workHistorySetValue('jobTitle', workHistoryItem.jobTitle);\n workHistorySetValue('company', workHistoryItem.company);\n workHistorySetValue('city', workHistoryItem.city);\n workHistorySetValue('current', workHistoryItem.current);\n workHistorySetValue('startDate', workHistoryItem.startDate);\n workHistorySetValue('endDate', workHistoryItem.endDate);\n workHistorySetValue('description', workHistoryItem.description);\n workHistorySetValue('workedWithChildren', workHistoryItem.workedWithChildren);\n workHistorySetValue('gradeLevels', workHistoryItem.gradeLevels);\n workHistorySetValue('teachingSettings', workHistoryItem.teachingSettings);\n workHistorySetValue('approaches', workHistoryItem.approaches);\n workHistorySetValue('languages', workHistoryItem.languages);\n workHistorySetValue('teachingRoles', workHistoryItem.teachingRoles);\n };\n\n const handleDeleteWorkHistory = async (workHistoryItem: WorkHistoryResource) => {\n await workHistoryItem.destroy();\n await fetchWorkHistory();\n\n reset();\n setActiveWorkHistory(null);\n };\n\n const handleFileUpload = async (upload: Record) => {\n setFileUploading(true);\n await updateProfile(upload, true);\n dispatch(fetchCurrentProfile());\n goToStep(getStepIndexByName('parsing_resume'));\n setFileUploading(false);\n };\n\n useEffect(() => {\n if (!workHistory?.length && !loadingWorkHistory) {\n handleAddWorkHistory();\n }\n }, [workHistory?.length, loadingWorkHistory]);\n\n const handleBack = handlePreviousStep({ goToStep, profileQuestion });\n\n useEffect(() => {\n return () => {\n setActiveWorkHistory(null);\n };\n }, []);\n\n return (\n
\n {loadingWorkHistory ? (\n <>\n \n
\n \n \n \n\n
\n
\n \n \n
\n
\n
\n
\n \n
\n \n \n \n\n
\n
\n \n \n
\n
\n
\n
\n \n ) : (\n <>\n {Boolean(activeWorkHistory) ? (\n <>\n

\n Please be sure to include your experience working with children.\n

\n\n \n
\n
\n
\n \n (\n <>\n onChange(newValue)}\n error={invalid}\n />\n {(invalid || null) && {error.message}}\n \n )}\n />\n
\n\n
\n \n (\n <>\n \n {(invalid || null) && {error.message}}\n \n )}\n />\n
\n\n
\n \n (\n <>\n {\n onChange(place?.formattedAddress || '');\n }}\n fullWidth\n value={value}\n />\n {(invalid || null) && {error.message}}\n \n )}\n />\n
\n\n
\n \n (\n \n )}\n />\n \n getValues('current') ||\n !getValues('endDate') ||\n value <= getValues('endDate') ||\n 'Start date must be before end date.',\n }}\n render={({\n field: { onChange, value },\n fieldState: { invalid, error },\n }) => (\n <>\n \n \n {(invalid || null) && {error.message}}\n \n )}\n />\n\n {(!getValues('current') || null) && (\n \n getValues('current') ||\n value >= getValues('startDate') ||\n 'End date must be after start date.',\n }}\n render={({\n field: { onChange, value },\n fieldState: { invalid, error },\n }) => (\n <>\n \n \n {(invalid || null) && {error.message}}\n \n )}\n />\n )}\n
\n\n
\n \n (\n \n )}\n />\n
\n\n
\n
\n \n {\n if (!isBoolean(value)) {\n return REQUIRED_HELPER_TEXT;\n }\n\n return true;\n },\n }}\n render={({\n field: { onChange, value },\n fieldState: { invalid, error },\n }) => (\n <>\n \n {map(BOOLEAN_YES_NO_OPTIONS, (option) => (\n \n {({ checked }) => (\n \n {option.label}\n \n )}\n \n ))}\n \n {(invalid || null) && {error.message}}\n \n )}\n />\n
\n\n {(getValues('workedWithChildren') || null) && (\n
\n
\n Experience working with children info:\n
\n\n {(checkIncompleteWithChildrenInfo() || null) && (\n
\n \n

\n Tell us more about your experience working with children.\n

\n
\n
\n )}\n\n
\n
\n \n

Select all that apply:

\n
\n\n (\n
\n {map(TEACHING_SETTINGS_OPTIONS, (option) => (\n ) => {\n const { checked, value: checkboxValue } = event.target;\n\n if (checked) {\n onChange([...value, checkboxValue]);\n return;\n }\n\n onChange(value.filter((v) => v !== checkboxValue));\n }}\n />\n ))}\n {(invalid || null) && (\n {error.message}\n )}\n
\n )}\n />\n
\n\n
\n\n
\n
\n \n

Select all that apply:

\n
\n\n (\n
\n {map(GRADE_LEVEL_OPTIONS, (option) => (\n ) => {\n const { checked, value: checkboxValue } = event.target;\n\n if (checked) {\n onChange([...value, checkboxValue]);\n return;\n }\n\n onChange(value.filter((v) => v !== checkboxValue));\n }}\n />\n ))}\n {(invalid || null) && (\n {error.message}\n )}\n
\n )}\n />\n
\n\n
\n\n
\n
\n \n

Select all that apply:

\n
\n\n (\n
\n {map(TEACHING_ROLES_OPTIONS, (option) => (\n ) => {\n const { checked, value: checkboxValue } = event.target;\n\n if (checked) {\n onChange([...value, checkboxValue]);\n return;\n }\n\n onChange(value.filter((v) => v !== checkboxValue));\n }}\n />\n ))}\n {(invalid || null) && (\n {error.message}\n )}\n
\n )}\n />\n
\n\n
\n\n
\n
\n \n

Select all that apply:

\n
\n\n (\n
\n {map(eucationalApproachesOptions, (option) => (\n ) => {\n const { checked, value: checkboxValue } = event.target;\n\n if (checked) {\n onChange([...value, checkboxValue]);\n return;\n }\n\n onChange(value.filter((v) => v !== checkboxValue));\n }}\n />\n ))}\n {(invalid || null) && (\n {error.message}\n )}\n
\n )}\n />\n
\n\n
\n\n
\n \n\n (\n
\n \n value={value}\n options={LANGUAGES_OPTIONS}\n onChange={onChange}\n placeholder=\"Type your answer here\"\n />\n {(invalid || null) && (\n {error.message}\n )}\n
\n )}\n />\n
\n
\n )}\n\n
\n {workHistory?.length && !loadingWorkHistory ? (\n \n ) : (\n \n )}\n\n {(activeWorkHistory.id || null) && (\n {\n void handleDeleteWorkHistory(activeWorkHistory);\n }}\n variant=\"outline\"\n >\n Remove experience\n \n )}\n\n \n
\n \n Save experience\n
\n \n
\n\n
\n
\n {workHistory?.length && !loadingWorkHistory ? (\n \n Cancel\n \n ) : (\n \n Back\n \n )}\n
\n\n
\n \n
\n \n Save experience\n
\n \n
\n\n {(activeWorkHistory.id || null) && (\n
\n {\n void handleDeleteWorkHistory(activeWorkHistory);\n }}\n variant=\"outline\"\n >\n Remove\n \n
\n )}\n
\n
\n
\n
\n
\n \n ) : (\n <>\n {((workHistory?.length && !hasExperienceWithChildren) || null) && (\n
\n \n
\n

🚨️

\n
\n

\n Do you have experience working with children?\n

\n

\n If yes, then upload a different resume which includes that experience, add\n that experience manually, or edit one of the experiences below.\n

\n
\n
\n
\n
\n )}\n\n {(hasUploadedResume || null) && (\n <>\n
\n {(hasSomeAiGeneratedWorkHistory || null) && (\n

\n Review your uploaded work experience below:\n

\n )}\n\n

This is the file you uploaded:

\n\n \n
\n 🚨\n \n We uploaded your resume, but we did not detect experience working with\n children. Add an experience working with children below.\n \n
\n \n }\n customFileRejectionError={\n \n
\n 🚨\n \n Oh no, we couldn't read your file! Please upload a different\n resume in pdf, doc, or docx format and under 10MB in size.\n \n
\n
\n }\n ConfirmationDialog={ReplaceResumeConfirmationDialog}\n />\n
\n\n
\n \n )}\n\n
\n {map(workHistory, (workHistoryItem) => {\n const hasIncompleteWithChildrenInfo =\n workHistoryItem.workedWithChildren &&\n (!workHistoryItem.teachingSettings?.length ||\n !workHistoryItem.gradeLevels?.length);\n\n return (\n handleEditWorkHistory(workHistoryItem)}\n hoverable\n >\n
\n
\n <>\n
\n
\n

\n {workHistoryItem.jobTitle}\n

\n\n
\n

\n {workHistoryItem.company}\n {(workHistoryItem.areDatesValid() || null) && (\n <> ({workHistoryItem.getExperienceDurationText()})\n )}\n

\n {(workHistoryItem.workedWithChildren || null) && (\n

\n \n Experience with children\n\n {(hasIncompleteWithChildrenInfo || null) && (\n \n (Add details)\n \n )}\n

\n )}\n
\n
\n\n
\n \n
\n
\n\n {(!workHistoryItem.isResourceValid() || null) && (\n
\n ✋ Required answers are missing.\n
\n )}\n \n
\n
\n \n );\n })}\n\n <>\n
\n \n
\n \n Add more experience\n
\n \n
\n\n
\n \n
\n \n \n \n )}\n \n )}\n
\n );\n};\n\nOnboardingWorkHistory.displayName = 'OnboardingWorkHistory';\n","import type { RichTextEditorProps } from './RichTextEditor.types';\nimport type { Editor } from '@tiptap/react';\nimport { EditorContent, useEditor } from '@tiptap/react';\nimport Placeholder from '@tiptap/extension-placeholder';\nimport clsx from 'clsx';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport {\n faBold,\n faItalic,\n faList,\n faListNumeric,\n faRedo,\n faUnderline,\n faUndo,\n} from '@fortawesome/free-solid-svg-icons';\nimport { useCallback, useEffect } from 'react';\nimport noop from 'lodash/noop';\nimport StarterKit from '@tiptap/starter-kit';\nimport Underline from '@tiptap/extension-underline';\n\nexport const RichTextEditor = (props: RichTextEditorProps) => {\n const {\n name,\n placeholder = '',\n showPlaceholderOnAllLines = false,\n disabled = false,\n Icon,\n fullWidth = false,\n error = false,\n onChange = noop,\n value = undefined,\n undo = false,\n redo = false,\n } = props;\n\n const editor = useEditor({\n onUpdate() {\n const html = (this as Editor).getHTML() || '';\n const json = html === '

' ? '' : html;\n onChange(json);\n },\n extensions: [\n Placeholder.configure({\n placeholder,\n }),\n StarterKit,\n Underline,\n ],\n editable: !disabled,\n editorProps: {\n attributes: {\n class: clsx(\n 'prose-view first-child:mt-0 last-child:mb-0 py-2.5 rounded-md text-sm border',\n {\n tiptap: !showPlaceholderOnAllLines,\n 'tiptap-all-lines': showPlaceholderOnAllLines,\n 'border-neutral-light text-neutral-light': disabled,\n 'focus:outline-none focus:ring-2 focus:border-transparent': !disabled,\n 'px-4': !Icon,\n 'pl-10 pr-4': Icon,\n 'w-full': fullWidth,\n },\n !disabled && {\n 'border-neutral text-neutral-ink-blue focus:ring-primary-pure-blue': !error,\n 'border-feedback-error focus:ring-feedback-error': error,\n },\n ),\n },\n },\n });\n\n useEffect(() => {\n if (editor && !editor.isDestroyed && value !== editor.getHTML()) {\n editor.commands.setContent(value);\n }\n }, [editor, value]);\n\n const isButtonActive = useCallback(\n (format: string) => {\n return editor && editor.isActive(format);\n },\n [editor],\n );\n\n if (!editor) {\n return null;\n }\n\n return (\n
\n
\n editor.chain().focus().toggleBold().run()}\n >\n \n \n editor.chain().focus().toggleItalic().run()}\n >\n \n \n editor.chain().focus().toggleUnderline().run()}\n >\n \n \n editor.chain().focus().toggleBulletList().run()}\n >\n \n \n editor.chain().focus().toggleOrderedList().run()}\n >\n \n \n {(undo || null) && (\n editor.chain().focus().undo().run()}\n >\n \n \n )}\n {(redo || null) && (\n editor.chain().focus().redo().run()}\n >\n \n \n )}\n
\n
\n {!Icon ? null : (\n \n )}\n \n
\n
\n );\n};\n\nRichTextEditor.displayName = 'RichTextEditor';\n","export { RichTextEditor } from './RichTextEditor';\nexport type { RichTextEditorProps } from './RichTextEditor.types';\n","import { InformationBox } from 'components/InformationBox';\nimport { InformationBoxEmojiContent } from 'components/InformationBox/InformationBoxEmojiContent';\nimport { EarlyDayLogoGraphic } from 'graphics';\nimport type { PropsWithChildren } from 'react';\n\nexport const AboutInformationBox = (props: PropsWithChildren>) => {\n const { children } = props;\n\n return (\n <>\n
\n \n
\n \n \n \n }\n >\n
\n

Want help with your answer?

\n
\n \n\n

\n \n Click the EarlyDay Editor button below 👇.\n {' '}\n We'll edit your answer for grammar and spelling, and also suggest additional\n sentences that highlight your skills and experience based on your uploaded resume.\n

\n
\n\n {children}\n
\n
\n\n
\n \n
\n \n \n \n }\n >\n
\n

Want help with your answer?

\n\n

\n \n Click the EarlyDay Editor button below 👇.\n {' '}\n We'll edit your answer for grammar and spelling, and also suggest additional\n sentences that highlight your skills and experience based on your uploaded resume.\n

\n
\n \n
\n
\n
\n \n );\n};\n","import type { OnboardingInputProps } from 'features/OnboardingFlow/OnboardingInput.types';\nimport { Controller, useFormContext } from 'react-hook-form';\nimport { useCallback, useContext, useEffect, useMemo, useState } from 'react';\nimport { RichTextEditor } from 'components/RichTextEditor';\nimport { AuxiliaryDataContext } from 'features/OnboardingFlow/AuxiliaryDataContext';\nimport { EarlyDayEditorButton } from 'features/EarlyDayEditorButton';\nimport { AnalyticsEvents } from 'util/analyticsEvents';\nimport { TrackedCallback } from 'components/TrackedCallback';\nimport apiCall from 'util/api/client';\nimport { EarlyDayEdit } from 'features/EarlyDayEdit';\nimport { AboutInformationBox } from 'features/OnboardingFlow/auxiliary/AboutInformationBox';\nimport { HelperText } from 'components/HelperText';\nimport { Alert } from 'components/Alert';\nimport toNumber from 'lodash/toNumber';\nimport { htmlToString } from 'util/formatting/string';\nimport trim from 'lodash/trim';\nimport find from 'lodash/find';\nimport toString from 'lodash/toString';\nimport { Banner } from 'components/Banner';\nimport isNil from 'lodash/isNil';\nimport { useRouter } from 'next/router';\nimport { ModalBody } from 'components/Modal/ModalBody';\nimport { ModalActions } from 'components/Modal/ModalActions';\nimport { Button } from 'components/Button';\nimport { Dialog } from 'components/Dialog';\n\nexport const MINIMUM_ABOUT_ME_ANSWER_LENGTH = 320;\n\nexport const OnboardingAbout = (props: OnboardingInputProps) => {\n const { profileQuestion } = props;\n\n const { setAboutAnswer, appliedAISuggestion, setAppliedAISuggestion, profileQuestionAnswers } =\n useContext(AuxiliaryDataContext);\n\n const router = useRouter();\n\n const { control, watch, setValue } = useFormContext<{\n [profileQuestionName: string]: string;\n }>();\n const aboutValue = watch('about');\n\n const [aiSuggestion, setAiSuggestion] = useState('');\n const [dismissedAISuggestion, setDismissedAISuggestion] = useState(false);\n const [clickedGenerator, setClickedGenerator] = useState(false);\n const [loading, setLoading] = useState(false);\n const [loaded, setLoaded] = useState(false);\n const [showEdited, setShowEdited] = useState(false);\n\n const handleGenerateAiSuggestion = async () => {\n setClickedGenerator(true);\n setLoading(true);\n const response = (await apiCall('chatgpt/about_me', 'POST', {\n body: JSON.stringify({ text_area_content: aboutValue }),\n })) as {\n message: string;\n };\n\n setLoaded(true);\n setAiSuggestion(response.message);\n setLoading(false);\n };\n\n useEffect(() => {\n if (showEdited) {\n setTimeout(() => {\n setShowEdited(false);\n }, 2000);\n }\n }, [showEdited]);\n\n const aboutLength = toNumber(trim(htmlToString(aboutValue)).length);\n const hasMinimumSize = aboutLength >= MINIMUM_ABOUT_ME_ANSWER_LENGTH;\n\n const personalExperienceWithChildrenAnswer = find(\n profileQuestionAnswers,\n ({ profileQuestionName }) => profileQuestionName === 'personal_experience_with_children',\n );\n const hasPersonalExperienceWithChildren = toString(\n personalExperienceWithChildrenAnswer?.value,\n ).includes('I have');\n\n const aboutProfileQuestionAnswer = find(profileQuestionAnswers, {\n profileQuestionName: profileQuestion.name,\n });\n\n useEffect(() => {\n if (aboutProfileQuestionAnswer?.value) {\n setValue(profileQuestion.name, toString(aboutProfileQuestionAnswer.value));\n }\n }, [aboutProfileQuestionAnswer?.value]);\n\n useEffect(() => {\n setAboutAnswer(aboutValue);\n }, [aboutValue]);\n\n const localHasUnsavedChanges = useMemo(\n () => !isNil(aboutValue) && aboutValue !== aboutProfileQuestionAnswer?.value,\n [aboutValue, aboutProfileQuestionAnswer?.value],\n );\n\n const [pageIntent, setPageIntent] = useState(null);\n const [showLoseInformationDialog, setShowLoseInformationDialog] = useState(false);\n\n const alertUser = useCallback(\n (event: BeforeUnloadEvent) => {\n if (localHasUnsavedChanges) {\n event.preventDefault();\n event.returnValue = '';\n }\n },\n [localHasUnsavedChanges],\n );\n\n useEffect(() => {\n window.addEventListener('beforeunload', alertUser);\n\n return () => {\n window.removeEventListener('beforeunload', alertUser);\n };\n }, [alertUser]);\n\n useEffect(() => {\n router.beforePopState(({ url }) => {\n if (localHasUnsavedChanges) {\n window.history.pushState({}, '', url);\n void router.push(router.asPath);\n setShowLoseInformationDialog(true);\n setPageIntent(url);\n return false;\n }\n\n return true;\n });\n }, [router, localHasUnsavedChanges]);\n\n return (\n <>\n {\n setShowLoseInformationDialog(false);\n }}\n heading={You have unsaved changes!}\n size=\"sm\"\n >\n \n

\n To save your changes, go back to the page and click either the “Go back” or\n the “Go to next” buttons.\n

\n
\n \n {\n if (pageIntent) {\n void router.push(pageIntent);\n }\n setShowLoseInformationDialog(false);\n }}\n >\n Leave page\n \n {\n setShowLoseInformationDialog(false);\n }}\n >\n Go back to page\n \n \n \n\n \n Edited!\n \n\n {(hasPersonalExperienceWithChildren || null) && (\n
\n \n
\n

🚨

\n
\n

\n Tell us about your experience with children.\n

\n

\n Describe how you have cared for your own children or for younger siblings and\n relatives.\n

\n
\n
\n
\n
\n )}\n\n
\n

\n {profileQuestion.label}\n {(profileQuestion.required || null) && *}\n

\n\n
\n

\n 💡 Tips: Keep a positive attitude and\n uplifting tone! Try answering one or more of these questions:\n

\n
    \n
  • - Why do you like working with children?
  • \n
  • - How do you plan to make an impact as a teacher?
  • \n
  • - What special or unique skills do you posses that you bring to the classroom?
  • \n
  • \n - Tell us if you have children of your own or have cared for relatives' children.\n
  • \n
\n
\n\n (\n <>\n \n\n {(invalid || null) && {error.message}}\n\n {((!appliedAISuggestion && hasMinimumSize) || null) && (\n
\n {(!clickedGenerator || null) && (\n
\n \n
\n \n
\n
\n\n
\n \n
\n
\n )}\n\n {((clickedGenerator && (!appliedAISuggestion || dismissedAISuggestion)) ||\n null) && (\n
\n {\n setClickedGenerator(false);\n setAppliedAISuggestion(true);\n setShowEdited(true);\n onChange(aiSuggestion);\n }}\n onDismiss={() => {\n setLoaded(false);\n setClickedGenerator(false);\n setDismissedAISuggestion(true);\n }}\n onGenerate={handleGenerateAiSuggestion}\n loading={loading}\n />\n
\n )}\n
\n )}\n \n )}\n />\n \n \n );\n};\n\nOnboardingAbout.displayName = 'OnboardingAbout';\n","import type { OnboardingInputProps } from 'features/OnboardingFlow/OnboardingInput.types';\nimport map from 'lodash/map';\nimport { Checkbox } from 'components/Checkbox';\nimport { Controller, useFormContext } from 'react-hook-form';\nimport { HelperText } from 'components/HelperText';\nimport type { ChangeEvent } from 'react';\nimport { useContext } from 'react';\nimport includes from 'lodash/includes';\nimport { AuxiliaryDataContext } from 'features/OnboardingFlow/AuxiliaryDataContext';\nimport reject from 'lodash/reject';\nimport filter from 'lodash/filter';\n\nexport const OnboardingCheckbox = (props: OnboardingInputProps) => {\n const { profileQuestion } = props;\n\n const { control, setValue, watch, getValues } = useFormContext<{\n [profileQuestionName: string]: string[];\n }>();\n\n watch(profileQuestion.name);\n\n const { updateUnlistedSteps } = useContext(AuxiliaryDataContext);\n\n const handleChange = (event: ChangeEvent) => {\n const { value, checked } = event.target;\n let currentValues = getValues(profileQuestion.name) || [];\n if (typeof currentValues === 'string') {\n currentValues = JSON.parse(currentValues) as string[];\n }\n\n if (checked) {\n const valueOption = profileQuestion.options.find((option) => option.value === value);\n\n updateUnlistedSteps(\n profileQuestion.id,\n valueOption?.flowControl?.addUnlistedProfileQuestionIds || [],\n );\n\n const isSingleSelection = valueOption?.singleSelection;\n\n if (isSingleSelection) {\n setValue(profileQuestion.name, [value]);\n return;\n }\n\n const currentValuesWithoutSingleSelection = reject(currentValues, (v) => {\n const option = profileQuestion.options.find((o) => o.value === v);\n return option?.singleSelection;\n });\n\n setValue(profileQuestion.name, [...currentValuesWithoutSingleSelection, value]);\n } else {\n setValue(\n profileQuestion.name,\n filter(\n currentValues,\n (v) => v !== value && includes(map(profileQuestion.options, 'value'), v),\n ),\n );\n }\n };\n\n return (\n
\n
\n (\n
\n {map(profileQuestion.options, (option) => {\n return (\n {option.value}}\n />\n );\n })}\n\n {(invalid || null) && (\n
\n {error.message}\n
\n )}\n
\n )}\n />\n \n
\n );\n};\n\nOnboardingCheckbox.displayName = 'OnboardingCheckbox';\n","import { useContext, useState } from 'react';\nimport type { OnboardingInputProps } from 'features/OnboardingFlow/OnboardingInput.types';\nimport { AuxiliaryDataContext } from 'features/OnboardingFlow/AuxiliaryDataContext';\nimport { fetchCurrentProfile } from 'redux/current_user_profile/actions';\nimport { useDispatch } from 'react-redux';\nimport { updateProfile } from 'util/api/user';\nimport { ActiveStorageFileUploadBrowser } from 'features/ActiveStorageFileUpload/ActiveStorageFileUploadBrowser';\nimport clsx from 'clsx';\nimport { HelperText } from 'components/HelperText';\nimport { useFeatureFlag } from 'hooks/redux/useFeatureFlag';\nimport { Button } from 'components/Button';\nimport { useWizard } from 'react-use-wizard';\nimport { RadioGroup } from '@headlessui/react';\nimport { Radio } from 'components/Radio';\n\nconst RADIO_OPTIONS = ['with_resume', 'without_resume'];\n\nexport const OnboardingUploadResume = (props: OnboardingInputProps) => {\n const { profileQuestion } = props;\n\n const dispatch = useDispatch();\n\n const hasAutoCompleteFlagEnabled = useFeatureFlag('open_ai_auto_complete_onboarding');\n\n const {\n userProfile,\n hasUploadedResume,\n resumeParsingStatus,\n refreshResumeParsingStatus,\n handleNextStep,\n handleSaveAnswer,\n getStepIndexByName,\n } = useContext(AuxiliaryDataContext);\n\n const { goToStep, activeStep: activeStepIndex, isLastStep } = useWizard();\n\n const [beganUploading, setBeganUploading] = useState(false);\n\n const handleDeleteUpload = async () => {\n await updateProfile({ resume: null });\n dispatch(fetchCurrentProfile());\n refreshResumeParsingStatus();\n };\n\n const handleFileUpload = async (upload: Record) => {\n setBeganUploading(true);\n await updateProfile(upload);\n dispatch(fetchCurrentProfile());\n await handleSaveAnswer(profileQuestion, null, () =>\n goToStep(getStepIndexByName('parsing_resume')),\n )({\n [profileQuestion.name]: 'with_resume',\n });\n setBeganUploading(false);\n };\n\n const handleNext = handleNextStep({\n goToStep,\n activeStepIndex,\n isLastStep,\n });\n\n return (\n
\n

\n Upload a Resume*\n

\n\n
\n \n {RADIO_OPTIONS.map((optionValue) => (\n \n {({ checked }) => {optionValue}}\n \n ))}\n \n
\n\n

\n {hasUploadedResume ? (\n 'This is the file you uploaded:'\n ) : (\n <>\n {hasAutoCompleteFlagEnabled ? (\n <>\n 💡 Save time! Upload your resume with your education and childhood-related\n experience. We’ll scan it and pre-fill the next steps for you!\n \n ) : (\n <>Upload your resume to make to help us understand your experience and skills.\n )}\n \n )}\n

\n\n \n \n
\n 🚨\n \n Oh no, we couldn't find any work experiences in your file! Please upload a\n different resume or delete that resume using the "trash can" icon and add your work experiences manually.\n \n
\n \n }\n customFileRejectionError={\n \n
\n 🚨\n \n Oh no, we couldn't read your file! Please upload a different resume in pdf,\n doc, or docx format and under 10MB in size.\n \n
\n
\n }\n />\n\n {!hasUploadedResume && (\n
\n

OR

\n\n \n handleSaveAnswer(\n profileQuestion,\n null,\n handleNext,\n )({\n [profileQuestion.name]: null,\n })\n }\n >\n Add your experience manually\n \n
\n )}\n \n \n );\n};\n\nOnboardingUploadResume.displayName = 'OnboardingUploadResume';\n","import type { OnboardingInputProps } from 'features/OnboardingFlow/OnboardingInput.types';\n\nexport const OnboardingVideo = (props: OnboardingInputProps) => {\n const { profileQuestion } = props;\n\n const embedId = profileQuestion.config.split('v=')[1];\n\n return (\n \n \n \n );\n};\n\nOnboardingVideo.displayName = 'OnboardingVideo';\n","import { useEffect, useState } from 'react';\nimport { EducationLevel, EducationLevelResource } from 'util/resources/EducationLevel';\n\ntype UseEducationLevelsProps = {\n initialQueryProps?: Record;\n initiallyFetch?: boolean;\n};\n\ntype UseEducationLevelsReturn = {\n educationLevels: EducationLevelResource[];\n loading: boolean;\n error: Error;\n fetchEducationLevels: () => Promise;\n};\n\nexport const useEducationLevels = (props?: UseEducationLevelsProps): UseEducationLevelsReturn => {\n const { initiallyFetch = true } = props || {};\n\n const [educationLevels, setEducationLevels] = useState(null);\n const [loading, setLoading] = useState(true);\n const [error, setError] = useState(null);\n\n const fetchEducationLevels = async () => {\n setLoading(true);\n await EducationLevel.all()\n .then((response) => {\n setLoading(false);\n setEducationLevels(response.toArray());\n })\n .catch((error: Error) => {\n setLoading(false);\n setError(error);\n });\n };\n\n useEffect(() => {\n if (initiallyFetch) {\n void fetchEducationLevels();\n }\n }, []);\n\n return {\n educationLevels,\n loading,\n error,\n fetchEducationLevels,\n };\n};\n","import { useEffect, useState } from 'react';\nimport { EducationField, EducationFieldResource } from 'util/resources/EducationField';\n\ntype UseEducationFieldsProps = {\n initialQueryProps?: Record;\n initiallyFetch?: boolean;\n};\n\ntype UseEducationFieldsReturn = {\n educationFields: EducationFieldResource[];\n loading: boolean;\n error: Error;\n fetchEducationFields: () => Promise;\n};\n\nexport const useEducationFields = (props?: UseEducationFieldsProps): UseEducationFieldsReturn => {\n const { initiallyFetch = true } = props || {};\n\n const [educationFields, setEducationFields] = useState(null);\n const [loading, setLoading] = useState(true);\n const [error, setError] = useState(null);\n\n const fetchEducationFields = async () => {\n setLoading(true);\n await EducationField.all()\n .then((response) => {\n setLoading(false);\n setEducationFields(response.toArray());\n })\n .catch((error: Error) => {\n setLoading(false);\n setError(error);\n });\n };\n\n useEffect(() => {\n if (initiallyFetch) {\n void fetchEducationFields();\n }\n }, []);\n\n return {\n educationFields,\n loading,\n error,\n fetchEducationFields,\n };\n};\n","export const SCHOOLS = [\n \"Abbot Lawrence Academy\",\n \"Abby Kelley Foster Charter Public School\",\n \"Abilene Christian University\",\n \"Abington High School\",\n \"Academy at Charlemont\",\n \"Academy at Swift River\",\n \"Academy of Notre Dame\",\n \"Academy of the Pacific Rim Charter Public School\",\n \"Accelerated Learning Lab\",\n \"Acton-Boxborough Regional High School\",\n \"Adler University\",\n \"Advanced Math and Science Academy Charter School\",\n \"Advanced Preparatory International\",\n \"Agawam High School\",\n \"Al Noor Academy\",\n \"Al-Hedayah Academy\",\n \"Alcuin School\",\n \"Aldine High School\",\n \"Alfred State College\",\n \"Algonquin Regional High School\",\n \"Alief Elsik High School\",\n \"Alief Hastings High School\",\n \"Alief Kerr High School\",\n \"All Saints Episcopal School\",\n \"Alter Ed Center\",\n \"Alvin Community College\",\n \"Amarillo College, Downtown Campus\",\n \"Amarillo College, Dumas Campus\",\n \"Amarillo College, East Campus\",\n \"Amarillo College, Hereford Campus\",\n \"Amarillo College, Washington Street Campus\",\n \"Amarillo College, West Campus\",\n \"Amberton University\",\n \"Ameen People Montessori School\",\n \"American Commercial College\",\n \"American InterContinental University\",\n \"American International College\",\n \"American Islamic College\",\n \"Amesbury High School\",\n \"Amesbury Innovation High School\",\n \"Amherst College\",\n \"Amherst Regional High School\",\n \"Anderson Private School For The Gifted & Talented\",\n \"Andover High School\",\n \"Andover Junior College\",\n \"Andover Newton Theological Seminary\",\n \"Angelina College\",\n \"Angelo State University\",\n \"Anna Maria College\",\n \"Apponequet Regional High School\",\n \"Aquinas College\",\n \"Archbishop Williams High School\",\n \"Argosy Collegiate Charter School\",\n \"Arlington Baptist College\",\n \"Arlington Baptist University\",\n \"Arlington Catholic High School\",\n \"Arlington Faith Academy\",\n \"Arlington Heights High School\",\n \"Arlington High School\",\n \"ArsDigita University\",\n \"Art Institute of Boston\",\n \"Art Institute of Dallas\",\n \"Ashland High School\",\n \"Assabet Valley Regional Technical High School\",\n \"Assumption University\",\n \"Athol High School\",\n \"Atlantic Union College\",\n \"Atlantis Charter School\",\n \"Attleboro Community Academy\",\n \"Attleboro High School\",\n \"Attleboro Virtual Academy\",\n \"Attleboro Vocational Technology High School\",\n \"Auburn High School\",\n \"Augustana College\",\n \"Aurora University\",\n \"Austin College\",\n \"Austin Community College District, Cypress Creek Campus\",\n \"Austin Community College District, Eastview Campus\",\n \"Austin Community College District, Elgin Campus\",\n \"Austin Community College District, Hays Campus\",\n \"Austin Community College District, Highland Campus\",\n \"Austin Community College District, Northridge Campus\",\n \"Austin Community College District, Pinnacle Campus\",\n \"Austin Community College District, Rio Grande Campus\",\n \"Austin Community College District, Riverside Campus\",\n \"Austin Community College District, Round Rock Campus\",\n \"Austin Community College District, South Austin Campus\",\n \"Austin Graduate School of Theology\",\n \"Austin Preparatory School\",\n \"Austin Presbyterian Theological Seminary\",\n \"Avon Middle High School\",\n \"Ayer High School\",\n \"Ayer Shirley Regional High School\",\n \"Azle Christian Schools\",\n \"Azle High School\",\n \"B. H. Carroll Theological Institute\",\n \"B.C. Elmore High School\",\n \"B.M.C. Durfee High School\",\n \"Babson College\",\n \"Bakke Graduate University\",\n \"Bancroft School\",\n \"Bank Street College of Education\",\n \"Baptist Missionary Association Theological Seminary\",\n \"Barack Obama Male Leadership Academy at A. Maceo Smith\",\n \"Barbara Jordan Career Center\",\n \"Bard College at Simon's Rock\",\n \"Barnard University\",\n \"Barnstable High School\",\n \"Bartlett High School\",\n \"Baruch College\",\n \"Bay Path Regional Vocational Technical High School\",\n \"Bay Path University\",\n \"Bay Ridge Christian College\",\n \"Bay State College\",\n \"Baylor Law School\",\n \"Baylor University\",\n \"Beacon High School\",\n \"Becker College\",\n \"Bedford High School\",\n \"Belchertown High School\",\n \"Bell High School\",\n \"Bellevue University\",\n \"Bellingham High School\",\n \"Belmont High School\",\n \"Belmont Hill School\",\n \"Bending Oaks High School\",\n \"Benedictine University\",\n \"Benjamin Franklin Institute of Technology\",\n \"Bentley University\",\n \"Berklee College of Music\",\n \"Berkshire Arts & Technology Charter Public School\",\n \"Berkshire Christian College\",\n \"Berkshire Community College\",\n \"Berkshire Country Day School\",\n \"Berkshire School\",\n \"Berkshire Waldorf High School\",\n \"Bethesda Christian School\",\n \"Beverly High School\",\n \"Billerica Memorial High School\",\n \"Binghamton University\",\n \"Birdville High School\",\n \"Bishop College\",\n \"Bishop Connolly High School\",\n \"Bishop Feehan High School\",\n \"Bishop Fenwick High School\",\n \"Bishop Lynch High School\",\n \"Bishop Stang High School\",\n \"Bishope Dunne Catholic School\",\n \"Black Hawk College\",\n \"Blackburn College\",\n \"Blackstone Valley Regional Vocational Technical High School\",\n \"Blackstone-Millville Regional High School\",\n \"Blinn College, Brenham Campus\",\n \"Blinn College, Bryan Campus\",\n \"Blinn College, Schulenberg Campus\",\n \"Blinn College, Sealy Campus\",\n \"Blue Hills Regional Technical School\",\n \"Booker T. Washington High School \",\n \"Booker T. Washington High School for the Performing and Visual Arts\",\n \"Borough of Manhattan Community College\",\n \"Boston Architectural College\",\n \"Boston Arts Academy\",\n \"Boston Baptist College\",\n \"Boston Business School\",\n \"Boston College High School\",\n \"Boston College\",\n \"Boston Community Leadership Academy\",\n \"Boston Day and Evening Academy\",\n \"Boston Graduate School of Psychoanalysis\",\n \"Boston Latin Academy\",\n \"Boston Latin School\",\n \"Boston State College\",\n \"Boston University Academy\",\n \"Boston University\",\n \"Boswell High School\",\n \"Bourne High School\",\n \"Boutwell Early Childhood Center\",\n \"Bouvé College\",\n \"Bowie High School\",\n \"Bradford Christian Academy\",\n \"Bradford College\",\n \"Bradley University\",\n \"Braintree High School\",\n \"Brandeis University\",\n \"Brazosport College\",\n \"Brewer High School\",\n \"Briarwood School\",\n \"Bridge Assoc\",\n \"Bridgewater State University\",\n \"Bridgewater-Raynham Regional High School\",\n \"Brighton High School\",\n \"Bristol Community College\",\n \"Bristol County Agricultural High School\",\n \"Bristol-Plymouth Regional Technical School\",\n \"Brite Divinity School\",\n \"British School of Boston\",\n \"Brockton High School\",\n \"Bronx Community College\",\n \"Brookhaven College\",\n \"Brookline High School\",\n \"Brooklyn College\",\n \"Brooks School\",\n \"Bryan Adams High School Leadership Academy\",\n \"Bryant & Stratton Business Institute\",\n \"Bryant McIntosh College\",\n \"Buckingham Browne & Nichols\",\n \"Buffalo State College\",\n \"Bunker Hill Community College\",\n \"Burdett College\",\n \"Burlington High School\",\n \"Burncoat High School\",\n \"Buxton School\",\n \"CCI Training Center\",\n \"CUNY Graduate Center\",\n \"CUNY Graduate School of Public Health and Health Policy\",\n \"CUNY School of Labor and Urban Studies\",\n \"CUNY School of Law\",\n \"CUNY School of Professional Studies\",\n \"Calvary Christian Academy\",\n \"Calvin Coolidge College\",\n \"Cambridge College\",\n \"Cambridge Junior College\",\n \"Cambridge Rindge and Latin School\",\n \"Canton High School\",\n \"Cape Cod Academy\",\n \"Cape Cod Community College\",\n \"Cape Cod Hospital School of Nursing\",\n \"Cape Cod Regional Technical High School\",\n \"Cardinal Cushing College\",\n \"Cardinal O'Connell Seminary\",\n \"Cardinal Spellman High School\",\n \"Carl Sandburg College\",\n \"Carnegie Vanguard High School\",\n \"Carroll Senior High School\",\n \"Carter Career Center\",\n \"Carter-Riverside High School\",\n \"Carver High School\",\n \"Carver Middle High School\",\n \"Castleberry High School\",\n \"Cathedral High School\",\n \"Catholic Memorial High School\",\n \"Cedar Valley College\",\n \"Center For Creative Living Elementary School\",\n \"Center for Advanced Legal Studies (Houston, Texas)\",\n \"Center for Technical Education\",\n \"Central Catholic High School\",\n \"Central High School\",\n \"Central New England College\",\n \"Central Texas College\",\n \"Central Western University\",\n \"Challenge Early College High School\",\n \"Chamberlain University\",\n \"Chamberlayne Junior College\",\n \"Champion Charter School\",\n \"Chapel Hill – Chauncy Hall School\",\n \"Charles H. McCann Technical High School\",\n \"Charlestown High School\",\n \"Chatham High School\",\n \"Chelmsford High School\",\n \"Chelsea High School\",\n \"Chicago State University\",\n \"Chicopee Comprehensive High School\",\n \"Chicopee High School\",\n \"Childrens University\",\n \"Christ For The Nations Institute\",\n \"Christian Cottage Prep\",\n \"Chávez High School \",\n \"Cisco College\",\n \"City Colleges of Chicago\",\n \"City on a Hill Charter School\",\n \"CityLab High School\",\n \"Clarendon College\",\n \"Clark University\",\n \"Clay Academy\",\n \"Clear Horizons Early College High School\",\n \"Clear Lake High School\",\n \"Clinton High School\",\n \"Coastal Bend College\",\n \"Codman Academy Charter Public School\",\n \"Cohasset High School\",\n \"College of DuPage\",\n \"College of Health Care Professions (CHCP)\",\n \"College of Lake County\",\n \"College of Saint Thomas More\",\n \"College of Staten Island\",\n \"College of the Holy Cross\",\n \"College of the Mainland\",\n \"Colleyville Heritage High School\",\n \"Collin College\",\n \"Collin College, Central Park Campus\",\n \"Collin College, Preston Ridge Campus\",\n \"Collin College, Spring Creek Campus\",\n \"Columbia College Chicago\",\n \"Columbia College\",\n \"Columbia University\",\n \"Commonwealth School\",\n \"Community Charter School of Cambridge\",\n \"Concord Academy\",\n \"Concord Assabet School\",\n \"Concord-Carlisle High School\",\n \"Concordia Lutheran High School\",\n \"Concordia University Chicago\",\n \"Concordia University Texas\",\n \"Contemporary Learning Center\",\n \"Conway School of Landscape Design\",\n \"Coram Deo Academy\",\n \"Cornerstone Academy\",\n \"Cornerstone Cross Academy\",\n \"Country Day School Of Arlington\",\n \"Covenant Academy\",\n \"Covenant Christian Academy\",\n \"Covenant Classical School\",\n \"Covenant School of Nursing\",\n \"Coyle and Cassidy High School\",\n \"Coyne College\",\n \"Craig Newmark Graduate School of Journalism\",\n \"Cristo Rey Boston High School\",\n \"Cristo Rey Dallas College Prep\",\n \"Criswell College\",\n \"Crossroads High School\",\n \"Crowley High School\",\n \"Ctr For New Lives\",\n \"Curry College\",\n \"Curtis-Tufts School\",\n \"Cushing Academy\",\n \"Cypress Christian School\",\n \"Dallas Academy\",\n \"Dallas Baptist University\",\n \"Dallas Baptist University-Dallas\",\n \"Dallas Baptist University-Hurst Colleyville\",\n \"Dallas Christian Academy\",\n \"Dallas Christian College\",\n \"Dallas College, Brookhaven Campus\",\n \"Dallas College, Cedar Valley Campus\",\n \"Dallas College, Del Mar College\",\n \"Dallas College, Eastfield Campus\",\n \"Dallas College, El Centro Campus\",\n \"Dallas College, Mountain View Campus\",\n \"Dallas College, North Lake Campus\",\n \"Dallas College, Richland Campus\",\n \"Dallas International School\",\n \"Dallas International University\",\n \"Dallas Lutheran School\",\n \"Dallas Theological Seminary\",\n \"Dana Hall School\",\n \"Danvers High School\",\n \"Danville Area Community College\",\n \"Dartmouth High School\",\n \"David Prouty High School\",\n \"David W. Carter High School\",\n \"DePaul University\",\n \"DeVry Advantage Academy\",\n \"DeVry University\",\n \"Dean College\",\n \"Dedham High School\",\n \"Dedman School of Law (Southern Methodist University)\",\n \"Deerfield Academy\",\n \"Dennis-Yarmouth Regional High School\",\n \"Destiny Christian Academy\",\n \"Dexter School\",\n \"Diamond Hill-Jarvis High School\",\n \"Dighton-Rehoboth Regional High School\",\n \"Diman Regional Vocational Technical High School\",\n \"Dobie High School\",\n \"Doherty Memorial High School\",\n \"Dominican University\",\n \"Don Bosco Technical High School\",\n \"Dorchester High School\",\n \"Douglas High School\",\n \"Dover-Sherborn High School\",\n \"Dr. L. G. Pinkston Sr. High School\",\n \"Dr. Wright L. Lassiter Early College High School at El Centro College\",\n \"Dracut High School\",\n \"Drury High School\",\n \"Duchesne Academy\",\n \"Dunbar High School\",\n \"Duxbury High School\",\n \"Eagle Hill School\",\n \"East Boston High School\",\n \"East Bridgewater High School\",\n \"East Longmeadow High School\",\n \"East St. Louis Community College Center (not independent\",\n \"East Texas Baptist University\",\n \"East-West University\",\n \"Eastern Hills High School\",\n \"Eastern Illinois University\",\n \"Eastern Nazarene College\",\n \"Eastfield College\",\n \"Easthampton High School\",\n \"Edgewood Greater Boston Academy\",\n \"Edward M. Kennedy Academy for Health Careers\",\n \"Eisenhower High School \",\n \"Ekklesia Christian School\",\n \"El Centro College\",\n \"El Paso Community College, Mission del Paso Campus\",\n \"El Paso Community College, Northwest Campus\",\n \"El Paso Community College, Rio Grande Campus\",\n \"El Paso Community College, Transmountain Campus\",\n \"El Paso Community College, Valle Verde Campus\",\n \"Elgin Community College\",\n \"Elmhurst University\",\n \"Elms College\",\n \"Emerson College\",\n \"Emmanuel College\",\n \"Emmett J. Conrad High School\",\n \"Empire State College\",\n \"Endicott College\",\n \"Endless Discoveries Child Development Center\",\n \"Energy Institute High School\",\n \"English High School of Boston\",\n \"Environmental School\",\n \"Episcopal Divinity School\",\n \"Erikson Institute\",\n \"Espicopal High School\",\n \"Essex Agricultural and Technical High School\",\n \"Eureka College\",\n \"Everest College-Fort Worth South\",\n \"Everest College-Mid Cities\",\n \"Everett High School\",\n \"Everman High School\",\n \"Excel High School\",\n \"Fairhaven High School\",\n \"Fairhill School\",\n \"Faith Christian School\",\n \"Falmouth Academy\",\n \"Falmouth High School\",\n \"Fellowship Academy\",\n \"Fenway High School\",\n \"First Baptist Academy\",\n \"First Baptist Christian Academy\",\n \"First Faith Preschool & Kindergarten\",\n \"Fisher College\",\n \"Fitchburg High School\",\n \"Fitchburg State University\",\n \"Flashpoint Chicago\",\n \"Fontbonne Academy\",\n \"Fordham University\",\n \"Forest Brook High School\",\n \"Fort Bend Christian Academy\",\n \"Fort Worth Academy Of Fine Arts\",\n \"Fort Worth Academy\",\n \"Fort Worth Can Academy\",\n \"Fort Worth Country Day School\",\n \"Fossil Ridge High School\",\n \"Four Rivers Charter Public School\",\n \"Fourth Street School\",\n \"Fox College\",\n \"Foxborough High School\",\n \"Framingham High School\",\n \"Framingham State University\",\n \"Francis W. Parker Charter Essential School\",\n \"Frank Phillips College\",\n \"Franklin County Technical School\",\n \"Franklin D. Roosevelt High School of Innovation\",\n \"Franklin High School\",\n \"Frontier Community College\",\n \"Frontier Regional High School\",\n \"Ft Worth Save Our Children\",\n \"Furr High School\",\n \"Fusion Academy Dallas\",\n \"Galveston College\",\n \"Gann Academy\",\n \"Gardner High School\",\n \"Garland Junior College\",\n \"Gateway Regional High School\",\n \"Gateway School\",\n \"George W. Truett Theological Seminary\",\n \"Georgetown High School\",\n \"Gifford School\",\n \"Gloucester High School\",\n \"Good Beginnings School\",\n \"Gordon College\",\n \"Gordon–Conwell Theological Seminary\",\n \"Governors State University\",\n \"Grace Lutheran School\",\n \"Grace Preparatory Academy\",\n \"Grafton High School\",\n \"Grahm Junior College\",\n \"Granby Junior Senior High School\",\n \"Grapevine High School\",\n \"Grayson College\",\n \"Greater Egleston High School\",\n \"Greater Lawrence Technical School\",\n \"Greater Lowell Technical High School\",\n \"Greater New Bedford Regional Vocational-Technical High School\",\n \"Green Oaks School\",\n \"Greenfield Community College\",\n \"Greenfield High School\",\n \"Greenville University\",\n \"Groton School\",\n \"Groton-Dunstable Regional High School\",\n \"Guadalupe College\",\n \"Guttman Community College\",\n \"H. Grady Spruce High School\",\n \"Hallmark Institute of Photography\",\n \"Hallmark University\",\n \"Haltom High School\",\n \"Hamilton-Wenham Regional High School\",\n \"Hampden College of Pharmacy\",\n \"Hampshire College\",\n \"Hampshire Regional High School\",\n \"Hanover High School\",\n \"Harbor Schools-Merrimac Campus\",\n \"Hardin-Simmons University\",\n \"Harold Washington College\",\n \"Harper College\",\n \"Harvard University\",\n \"Harvest Christian School\",\n \"Harwich High School\",\n \"Haverhill High School\",\n \"Heartland Community College\",\n \"Hebrew College\",\n \"Heights High School\",\n \"Hellenic College Holy Cross Greek Orthodox School of Theology\",\n \"High Point Preparatory Academy\",\n \"High School for Law and Justice\",\n \"High School of Commerce (Springfield\",\n \"Highland Community College\",\n \"Hill College\",\n \"Hill School Of Fort Worth\",\n \"Hillcrest High School\",\n \"Hingham High School\",\n \"Hofstra University\",\n \"Holbrook Junior Senior High School\",\n \"Holden School\",\n \"Holliston High School\",\n \"Holliston Junior College\",\n \"Holy Family Catholic School\",\n \"Holy Name Central Catholic High School\",\n \"Holyoke Catholic High School\",\n \"Holyoke Community College\",\n \"Holyoke High School\",\n \"Holyoke Street School\",\n \"Hoosac Valley High School\",\n \"Hopedale Junior Senior High School\",\n \"Hopkins Academy\",\n \"Hopkinton High School\",\n \"Horizon Academy\",\n \"Hostos Community College\",\n \"Houston Academy for International Studies\",\n \"Houston Baptist University\",\n \"Houston Christian High School\",\n \"Houston Community College, Central College\",\n \"Houston Community College, Coleman College of Health Sciences\",\n \"Houston Community College, Eastside Campus\",\n \"Houston Community College, Felix Fraga Academic Campus\",\n \"Houston Community College, Northeast College\",\n \"Houston Community College, Northwest College\",\n \"Houston Community College, Southeast College\",\n \"Houston Community College, Southwest College\",\n \"Houston Graduate School of Theology\",\n \"Houston Heights High School\",\n \"Houston Private Schools\",\n \"Howard County Junior College District, Howard College\",\n \"Howard County Junior College District, Southwest Collegiate Institute for the Deaf\",\n \"Howard Payne University\",\n \"Hudson Catholic High School\",\n \"Hudson High School\",\n \"Hull High School\",\n \"Hult International Business School\",\n \"Hunter College\",\n \"Huston-Tillotson University\",\n \"Hyde Park High School\",\n \"Illinois Central College\",\n \"Illinois College\",\n \"Illinois Eastern Community Colleges\",\n \"Illinois Institute of Technology\",\n \"Illinois State University\",\n \"Illinois Valley Community College\",\n \"Illinois Wesleyan University\",\n \"Immanuel Lutheran School\",\n \"Incarnate Word Academy\",\n \"Innovation Academy Charter School\",\n \"Innovation, Design, Entrepreneurship Academy at James W. Fannin\",\n \"Institute of Biosciences and Technology\",\n \"International School of Boston\",\n \"Ipswich High School\",\n \"Irma Lerma Rangel Young Women’s Leadership School\",\n \"Jacksonville College (Southern Baptist)\",\n \"James F. Farr Academy\",\n \"James Madison High School\",\n \"Jane Long Academy\",\n \"Japanese Language Advancement\",\n \"Jarvis Christian College\",\n \"Jeremiah E. Burke High School\",\n \"Jesuit College Prep School\",\n \"John A. Logan College\",\n \"John D. O'Bryant School of Mathematics & Science\",\n \"John Dewey Academy\",\n \"John Jay College of Criminal Justice\",\n \"John Wood Community College\",\n \"Joliet Junior College\",\n \"Jones Futures Academy\",\n \"Joseph Case High School\",\n \"Joseph P. Keefe Technical High School\",\n \"Judge Barefoot Sanders Law Magnet\",\n \"Judson University\",\n \"Justin F. Kimball High School\",\n \"Kankakee Community College\",\n \"Kashmere High School\",\n \"Kaskaskia College\",\n \"Kathlyn Joy Gilliam Collegiate Academy\",\n \"Kay On-Going Education Center\",\n \"Keller High School\",\n \"Keller Montessori School\",\n \"Kennedale High School\",\n \"Kennedy-King College\",\n \"Key School\",\n \"Keys Center\",\n \"Kids Place Child Development Center\",\n \"Kilgore College\",\n \"Kinder High School for the Performing and Visual Arts\",\n \"King Philip Regional High School\",\n \"Kingdom Academy\",\n \"Kingsborough Community College\",\n \"Kingwood High School\",\n \"Kingwood Park High School\",\n \"Kinyon-Campbell Business School\",\n \"Kishwaukee College\",\n \"Knox College\",\n \"LaGuardia Community College\",\n \"Labouré College\",\n \"Lake Country Christian School\",\n \"Lake Forest College\",\n \"Lake Land College\",\n \"Lake Worth High School\",\n \"Lakehill Preparatory School\",\n \"Lakeview College of Nursing\",\n \"Lamar High School \",\n \"Lamar High School\",\n \"Lamar Institute of Technology\",\n \"Lamar State College-Orange\",\n \"Lamar State College-Port Arthur\",\n \"Lamar University\",\n \"Laredo Community College\",\n \"Lasell University\",\n \"Lawrence Academy at Groton\",\n \"Lawrence High School\",\n \"LeTourneau University\",\n \"Leader's Academy High School for Business and Academic Success\",\n \"Lee College\",\n \"Lee High School\",\n \"Lehman College\",\n \"Leicester High School\",\n \"Leicester Junior College\",\n \"Lenox Memorial High School\",\n \"Leominster Center for Technical Education Leominster High School\",\n \"Leominster High School\",\n \"Lesley University\",\n \"Lewis University\",\n \"Lewis and Clark Community College\",\n \"Lexington Christian Academy\",\n \"Lexington High School\",\n \"Liberty High School \",\n \"Light Of The World School\",\n \"Lighthouse Christian Academy\",\n \"Lincoln Christian University\",\n \"Lincoln College of Technology\",\n \"Lincoln College\",\n \"Lincoln Humanities/Communications Magnet\",\n \"Lincoln Land Community College\",\n \"Lincoln Tech\",\n \"Lincoln Trail College\",\n \"Lincoln-Sudbury Regional High School\",\n \"Lindenwood University - Belleville\",\n \"Littleton High School\",\n \"Logos Academy\",\n \"Logos Preparatory Academy\",\n \"Logsdon School of Theology\",\n \"Lon Morris College\",\n \"Lone Star College-CyFair\",\n \"Lone Star College-Kingwood\",\n \"Lone Star College-Montgomery\",\n \"Lone Star College-North Harris\",\n \"Lone Star College-Tomball\",\n \"Lone Star College-University Park\",\n \"Longmeadow High School\",\n \"Longy School of Music of Bard College\",\n \"Lowell Catholic High School\",\n \"Lowell High School\",\n \"Lowell Middlesex Academy Charter\",\n \"Lowell State College\",\n \"Lowell Technological Institute\",\n \"Loyola University\",\n \"Lubbock Christian University\",\n \"Ludlow High School\",\n \"Lunenburg High School\",\n \"Lutheran North Academy\",\n \"Lutheran School of Theology at Chicago\",\n \"Luthern South Academy\",\n \"Lynn Classical High School\",\n \"Lynn English High School\",\n \"Lynn Vocational and Technical Institute\",\n \"Lynnfield High School\",\n \"M. B. Smiley High School\",\n \"MBA Graduate Career Service Center, TCU\",\n \"MGH Institute of Health Professions\",\n \"MIAT College of Technology\",\n \"MacCormac College\",\n \"MacDuffie School\",\n \"Macaulay Honors College\",\n \"Madison High School \",\n \"Madison Park High School\",\n \"Maimonides School\",\n \"Malcolm X College\",\n \"Malden Catholic High School\",\n \"Malden High School\",\n \"Manchester-Essex Regional Junior-Senior High School\",\n \"Manhattan College\",\n \"Mansfield High School\",\n \"Mansfield Legacy High School\",\n \"Mansfield Timberview High School\",\n \"Marblehead High School\",\n \"Margaret Long Wisdom High School\",\n \"Marian Court College\",\n \"Marian High School\",\n \"Marlborough High School\",\n \"Marshfield High School\",\n \"Martha's Vineyard Regional High School\",\n \"Martin High School\",\n \"Marvin E. Robinson School of Business and Management at Yvonne A. Ewell Townview Center\",\n \"Masconomet Regional High School\",\n \"Mashpee Middle-High School\",\n \"Massachusetts Academy for Math and Science\",\n \"Massachusetts Bay Community College\",\n \"Massachusetts College of Art and Design\",\n \"Massachusetts College of Liberal Arts\",\n \"Massachusetts College of Pharmacy and Health Sciences\",\n \"Massachusetts Institute of Technology\",\n \"Massachusetts Maritime Academy\",\n \"Massachusetts School of Law\",\n \"Massasoit Community College\",\n \"Matignon High School\",\n \"Maynard High School\",\n \"McGrath Educational Center\",\n \"McHenry County College\",\n \"McKendree University\",\n \"McLennan Community College\",\n \"McMurry University\",\n \"Medfield High School\",\n \"Medford High School\",\n \"Medford Vocational Technical High School\",\n \"Medgar Evers College\",\n \"Media and Technology Charter High School\",\n \"Medway High School\",\n \"Melrose High School\",\n \"Memorial Lutheran Classical School\",\n \"Mercy College\",\n \"Merrimack College\",\n \"Merryhill School\",\n \"Mesa High School\",\n \"Mesivta High School of Greater Boston\",\n \"Mesorah High School For Girls\",\n \"Methodist College\",\n \"Methuen High School\",\n \"Metro Opportunity\",\n \"Metroplex Chapel Academy\",\n \"Metropolitan College of New York\",\n \"Metropolitan Community College\",\n \"Mickey Leland College Preparatory Academy for Young Men\",\n \"Middle College for Technology Careers\",\n \"Middleborough High School\",\n \"Middlesex Community College\",\n \"Middlesex School\",\n \"Midland College\",\n \"Midwest College of Oriental Medicine\",\n \"Midwest Technical Institute\",\n \"Midwestern State University\",\n \"Midwestern University\",\n \"Milby High School\",\n \"Milford High School\",\n \"Millbury Junior/Senior High School\",\n \"Millikin University\",\n \"Millis High School\",\n \"Milton Academy\",\n \"Milton High School\",\n \"Minnechaug Regional High School\",\n \"Minuteman Regional High School\",\n \"Miss Endy's Christian Academy\",\n \"Miss Hall's School\",\n \"Mohawk Trail Regional High School\",\n \"Moisés E. Molina High School\",\n \"Monmouth College\",\n \"Monomoy Regional High School\",\n \"Monroe College\",\n \"Monson High School\",\n \"Montachusett Regional Vocational Technical School\",\n \"Montessori Children's House\",\n \"Montserrat College of Art\",\n \"Monument Mountain Regional High School\",\n \"Moody Bible Institute\",\n \"Moraine Valley Community College\",\n \"Morrisville State College\",\n \"Morton College\",\n \"Mount Alvernia College\",\n \"Mount Alvernia High School\",\n \"Mount Carmel Academy\",\n \"Mount Everett Regional School\",\n \"Mount Greylock Regional High School\",\n \"Mount Holyoke College\",\n \"Mount Ida College\",\n \"Mount Saint Joseph Academy\",\n \"Mount Wachusett Community College\",\n \"Mountain View College\",\n \"Murdock Middle/High School\",\n \"Mystic Valley Regional Charter School\",\n \"Nantucket High School\",\n \"Narragansett Regional High School\",\n \"Nashoba Regional High School\",\n \"Nashoba Valley Technical High School\",\n \"Natick High School\",\n \"National Louis University\",\n \"National University of Health Sciences\",\n \"Nauset Regional High School\",\n \"Navarro College\",\n \"Needham High School\",\n \"New Bedford High School\",\n \"New Beginners Preparatory\",\n \"New Beginnings Montessori School\",\n \"New Direction Learning Center\",\n \"New England College of Optometry\",\n \"New England Conservatory of Music\",\n \"New England Institute of Applied Funeral Arts and Sciences\",\n \"New England Institute of Art\",\n \"New England Law Boston\",\n \"New Mission High School\",\n \"New Tech High School at B.F. Darrell\",\n \"New York City College of Technology\",\n \"New York University\",\n \"Newbury College\",\n \"Newburyport High School\",\n \"Newton College of the Sacred Heart\",\n \"Newton Country Day School\",\n \"Newton Junior College\",\n \"Newton North High School\",\n \"Newton South High School\",\n \"Nichols College\",\n \"Nipmuc Regional High School\",\n \"Noble and Greenough School\",\n \"Nolan Catholic High School\",\n \"Norfolk County Agricultural High School\",\n \"North American University\",\n \"North Andover High School\",\n \"North Attleborough High School\",\n \"North Brookfield High School\",\n \"North Central College\",\n \"North Central Essential Charter School\",\n \"North Central Texas College\",\n \"North Central Texas College, Bowie Campus\",\n \"North Central Texas College, Corinth Campus\",\n \"North Crowley High School\",\n \"North Dallas High School\",\n \"North Forest High School\",\n \"North High School\",\n \"North Houston Early College High School\",\n \"North Lake College\",\n \"North Lake Early College High School\",\n \"North Middlesex Regional High School\",\n \"North Park Christian Academy\",\n \"North Park University\",\n \"North Quincy High School\",\n \"North Reading High School\",\n \"North Richland Hills Montessori\",\n \"North Shore Community College\",\n \"North Shore Technical High School\",\n \"North Side High School\",\n \"Northampton High School\",\n \"Northampton Junior College\",\n \"Northbridge High School\",\n \"Northbrook High School\",\n \"Northeast Lakeview College\",\n \"Northeast Metro Tech\",\n \"Northeast Texas Community College\",\n \"Northeastern Illinois University\",\n \"Northeastern University\",\n \"Northern Baptist Theological Seminary\",\n \"Northern Essex Community College\",\n \"Northern Illinois University\",\n \"Northfield Mount Hermon School\",\n \"Northland Christian School\",\n \"Northpoint Bible College\",\n \"Northshore Academy\",\n \"Northside High School \",\n \"Northstar School\",\n \"Northwest Vista College\",\n \"Northwestern College\",\n \"Northwestern University\",\n \"Northwood University\",\n \"Norton High School\",\n \"Norwell High School\",\n \"Norwood High School\",\n \"Notre Dame Academy\",\n \"Notre Dame Cristo Rey High School\",\n \"Notre Dame Preparatory School\",\n \"Notre Dame School of Dallas\",\n \"O D Wyatt High School\",\n \"Oakmont Regional High School\",\n \"Oakton Community College\",\n \"Oblate College & Seminary\",\n \"Oblate School of Theology\",\n \"Odessa College\",\n \"Odyssey High School\",\n \"Old Colony Regional Vocational Technical High School\",\n \"Old Rochester Regional High School\",\n \"Olin College\",\n \"Olive-Harvey College\",\n \"Oliver Ames High School\",\n \"Olivet Nazarene University\",\n \"Olney Central College\",\n \"Our Lady Of Victory Catholic School\",\n \"Our Lady of Nazareth Academy\",\n \"Our Lady of the Lake University\",\n \"Our Mother Of Mercy Catholic School\",\n \"Oxford High School\",\n \"Pace School\",\n \"Pace University\",\n \"Pacific College of Oriental Medicine\",\n \"Palmer High School\",\n \"Palo Alto College\",\n \"Panola College\",\n \"Pantego Christian Academy - Arlington Campus\",\n \"Pantego Christian Academy-Mansfield Campus\",\n \"Paris Junior College\",\n \"Parish Episcopal School\",\n \"Park Row Christian Academy\",\n \"Park University Austin\",\n \"Park University Del Rio at Laughlin Air Force Base\",\n \"Park University El Paso\",\n \"Park University Fort Bliss\",\n \"Park University Northeast San Antonio at Randolph Air Force Base\",\n \"Park University San Angelo at Goodfellow Air Force Base\",\n \"Park University San Antonio at Lackland Air Force Base\",\n \"Parker College\",\n \"Parker University\",\n \"Parkland College\",\n \"Paschal High School\",\n \"Pathfinder Vocational Technical High School\",\n \"Paul Quinn College\",\n \"Peabody Veterans Memorial High School\",\n \"Pembroke High School\",\n \"Pentucket Regional High School\",\n \"Perkins School of Theology\",\n \"Perry Normal School\",\n \"Peter Fitzpatrick School\",\n \"Phillips Academy\",\n \"Phoenix Charter Academy\",\n \"Pilgrim Center\",\n \"Pine Manor College\",\n \"Pingree School\",\n \"Pioneer Charter School of Science\",\n \"Pioneer Valley Christian School\",\n \"Pioneer Valley Performing Arts Charter Public School\",\n \"Pioneer Valley Regional School\",\n \"Pittsfield High School\",\n \"Plymouth North High School\",\n \"Plymouth South High School\",\n \"Plymouth South Technical High School\",\n \"Polytechnic High School\",\n \"Pope John XXIII High School\",\n \"Pope St. John XXIII National Seminary\",\n \"Prairie State College\",\n \"Prairie View A&M University\",\n \"Pratt Institute\",\n \"Premier Academy Heritage\",\n \"Presentation of Mary Academy\",\n \"Primavera Junior/Senior High School\",\n \"Primrose School At Eagle Ranch\",\n \"Primrose School Of Bedford\",\n \"Primrose School Of Columbus Trail\",\n \"Primrose School Of Mid-Cities\",\n \"Primrose School Of N E Green Oaks\",\n \"Primrose School Of Parkwood Hill\",\n \"Primrose School Of Walnut Creek\",\n \"Principia College\",\n \"Prospect Hill Academy\",\n \"Providence Classical School\",\n \"Provincetown High School\",\n \"Quabbin Regional High School\",\n \"Quaboag Regional Middle High School\",\n \"Queen Le University of Nursing\",\n \"Queens College\",\n \"Queensborough Community College\",\n \"Quincy College\",\n \"Quincy High School\",\n \"Quincy University\",\n \"Quinsigamond Community College\",\n \"Radcliffe College\",\n \"Ralph C. Mahar Regional High School\",\n \"Randolph High School\",\n \"Ranger College\",\n \"Rasmussen College\",\n \"Reach High School\",\n \"Reading Memorial High School\",\n \"Redeemer Lutheran School\",\n \"Redeemer Theological Seminary\",\n \"Regis College\",\n \"Rend Lake College\",\n \"Revere High School\",\n \"Rice University\",\n \"Richard J. Daley College\",\n \"Richard Milburn Academy - Fort Worth\",\n \"Richland College\",\n \"Richland Community College\",\n \"Richland High School\",\n \"River Oaks\",\n \"Riverview School\",\n \"Rock Valley College\",\n \"Rockford Career College\",\n \"Rockford University\",\n \"Rockland Senior High School\",\n \"Rockport High School\",\n \"Roger L Putnam Vocational-Technical High School\",\n \"Roosevelt University\",\n \"Rosalind Franklin University of Medicine and Science\",\n \"Rosehill Christian School\",\n \"Rosie M. Collins Sorrells School of Education and Social Services at Yvonne A. Ewell Townview Center\",\n \"Roxbury Charter High Public School\",\n \"Roxbury Community College\",\n \"Roxbury Latin School\",\n \"Rush University\",\n \"SABIS International Charter School\",\n \"SUNY Brockport\",\n \"SUNY Canton\",\n \"SUNY Cobleskill\",\n \"SUNY College of Environmental Science and Forestry\",\n \"SUNY Cortland\",\n \"SUNY Delhi\",\n \"SUNY Farmingdale\",\n \"SUNY Fredonia\",\n \"SUNY Geneseo\",\n \"SUNY Maritime\",\n \"SUNY New Paltz\",\n \"SUNY Old Westbury\",\n \"SUNY Oneonta\",\n \"SUNY Oswego\",\n \"SUNY Plattsburgh\",\n \"SUNY Polytechnic Institute\",\n \"SUNY Potsdam\",\n \"SUNY Purchase\",\n \"Sacred Heart High School\",\n \"Saginaw High School\",\n \"Saint Anthony College of Nursing\",\n \"Saint Clement High School\",\n \"Saint Hyacinth College & Seminary\",\n \"Saint John's Seminary\",\n \"Saint Mary High School\",\n \"Saint Paul Diocesan Jr. Sr. High School\",\n \"Saint Peter-Marian High School\",\n \"Saint Sebastian's School\",\n \"Saint Stephen's College\",\n \"Saint Thomas' Episcopal School\",\n \"Saint Xavier University\",\n \"Saintsville Baptist Church Academy\",\n \"Salem High School\",\n \"Salem State University\",\n \"Sam Houston High School\",\n \"Sam Houston Math, Science, and Technology Center\",\n \"Sam Houston State University College of Osteopathic Medicine\",\n \"Sam Houston State University\",\n \"San Antonio College\",\n \"San Jacinto College, Central Campus\",\n \"San Jacinto College, North Campus\",\n \"San Jacinto College, South Campus\",\n \"San Jacinto High School \",\n \"Sandwich High School\",\n \"Sarah Lawrence College\",\n \"Saugus High School\",\n \"Sauk Valley Community College\",\n \"Scarborough High School\",\n \"School for the Talented and Gifted at Yvonne A. Ewell Townview Center\",\n \"School of Health Professions at Yvonne A. Ewell Townview Center\",\n \"School of Science and Engineering at Yvonne A. Ewell Townview Center\",\n \"School of the Art Institute of Chicago\",\n \"School of the Museum of Fine Arts, Boston\",\n \"School of the Woods\",\n \"Schreiner University\",\n \"Scituate High School\",\n \"Sconzo Early College High School\",\n \"Seacoast School\",\n \"Seagoville High School\",\n \"Second Baptist School\",\n \"Seekonk High School\",\n \"Seguin High School\",\n \"Seminary of the Southwest\",\n \"Sharon High School\",\n \"Sharpstown High School\",\n \"Sharpstown International School\",\n \"Shawnee Community College\",\n \"Shawsheen Valley Technical High School\",\n \"Shelton School\",\n \"Shepherd Hill Regional High School\",\n \"Shrewsbury High School\",\n \"Silver Lake Regional High School\",\n \"Simmons University\",\n \"Skyline High School\",\n \"Smith Academy\",\n \"Smith College\",\n \"Smith Vocational and Agricultural High School\",\n \"Snowden International School\",\n \"Somerset Berkley Regional High School\",\n \"Somerville High School\",\n \"South Early College High School\",\n \"South Hadley High School\",\n \"South High Community School\",\n \"South Hills High School\",\n \"South Lancaster Academy\",\n \"South Oak Cliff High School\",\n \"South Plains College\",\n \"South Shore Christian Academy\",\n \"South Shore Vocational Technical High School\",\n \"South Suburban College\",\n \"South Texas College of Law\",\n \"South Texas College\",\n \"Southbridge High School\",\n \"Southeastern Illinois College\",\n \"Southeastern Regional Vocational Technical High School\",\n \"Southern Illinois University Carbondale\",\n \"Southern Illinois University Edwardsville\",\n \"Southern Methodist University\",\n \"Southern New England School of Law\",\n \"Southern Reformed Seminary\",\n \"Southfield School\",\n \"Southwest High School\",\n \"Southwest Texas Junior College, Crystal City Campus\",\n \"Southwest Texas Junior College, Del Rio Campus\",\n \"Southwest Texas Junior College, Eagle Pass Campus\",\n \"Southwest Texas Junior College, Hondo Campus\",\n \"Southwest Texas Junior College, Medina Valley Campus\",\n \"Southwest Texas Junior College, Pearsall Campus\",\n \"Southwest Texas Junior College, Uvalde Campus\",\n \"Southwestern Adventist University\",\n \"Southwestern Assemblies of God University\",\n \"Southwestern Baptist Theological Seminary\",\n \"Southwestern Christian College\",\n \"Southwestern Illinois College\",\n \"Southwestern University\",\n \"Southwick-Tolland Regional High School\",\n \"Spertus Institute for Jewish Learning and Leadership\",\n \"Spirit of Knowledge Charter School\",\n \"Spoon River College\",\n \"Spring Woods High School\",\n \"Springfield Central High School\",\n \"Springfield College\",\n \"Springfield High School of Science and Technology\",\n \"Springfield Technical Community College\",\n \"Spurling Christian Academy\",\n \"St Elizabeth Ann Seton School\",\n \"St George Catholic School\",\n \"St John The Apostle Catholic\",\n \"St Paul's Preparatory Academy\",\n \"St Peter The Apostle School\",\n \"St Peter's Classical School\",\n \"St Vincent's School\",\n \"St. Agnes Academy\",\n \"St. Bernard's Central Catholic High School\",\n \"St. Caatherine's Montessori\",\n \"St. Clare High School\",\n \"St. Edward's University\",\n \"St. Francis Episcopal School\",\n \"St. John Paul II High School\",\n \"St. John XXIII College Preparatory\",\n \"St. John's High School\",\n \"St. John's Preparatory School\",\n \"St. John's School\",\n \"St. Joseph Central High School\",\n \"St. Mark's School of Texas\",\n \"St. Mark's School\",\n \"St. Mary's High School\",\n \"St. Mary's Junior Senior High School\",\n \"St. Mary's University School of Law\",\n \"St. Mary's University, Texas\",\n \"St. Philip's College\",\n \"St. Pius X High School\",\n \"St. Thomas High School\",\n \"Starpoint School\",\n \"State Community College of East Saint Louis\",\n \"Stephen F. Austin High School \",\n \"Stephen F. Austin State University\",\n \"Stepping Stones Academy\",\n \"Sterling High School \",\n \"Stetson School\",\n \"Stevens College\",\n \"Stoneham High School\",\n \"Stonehill College\",\n \"Stoneleigh-Burnham School\",\n \"Stony Brook University\",\n \"Stoughton High School\",\n \"Strake Jesuit College Preparatory\",\n \"Stratford High School \",\n \"Sturgis Charter Public School\",\n \"Success High School\",\n \"Sudbury Valley School\",\n \"Suffolk University\",\n \"Sul Ross State University\",\n \"Summit High School\",\n \"Sunset High School\",\n \"Sutton High School\",\n \"Swain School of Design\",\n \"Swampscott High School\",\n \"Swedenborg School of Religion\",\n \"T R U C E Learning Center\",\n \"TCU Neeley Executive Education\",\n \"Tabor Academy\",\n \"Taconic High School\",\n \"Tahanto Regional High School\",\n \"Tantasqua Regional High School\",\n \"Tantasqua Regional Vocational School\",\n \"Tarleton State University - Southwest Metroplex Center\",\n \"Tarleton State University\",\n \"Tarrant Co J J A E P\",\n \"Tarrant County College District\",\n \"Tarrant County College District, Connect Campus (virtual)\",\n \"Tarrant County College District, Northeast Campus\",\n \"Tarrant County College District, Northwest Campus\",\n \"Tarrant County College District, South Campus\",\n \"Tarrant County College District, Southeast Campus\",\n \"Tarrant County College District, Trinity River Campus\",\n \"Tarrant County College Northeast Campus\",\n \"Tarrant County College Northwest Campus\",\n \"Tarrant County College South Campus\",\n \"Tarrant County College Southeast Campus\",\n \"Tarrant County College Trinity River Campus\",\n \"Tarrant County College\",\n \"Tarrant County College-Northeast\",\n \"Tarrant Youth Recovery\",\n \"Tate Springs Christian School\",\n \"Taunton High School\",\n \"Taylor Business Institute\",\n \"TechBoston Academy\",\n \"Technical Ed Center\",\n \"Temple College\",\n \"Tewksbury Memorial High School\",\n \"Texarkana College\",\n \"Texas A&M Health Science Center Coastal Bend Health Education Center\",\n \"Texas A&M Health Science Center College of Medicine\",\n \"Texas A&M Health Science Center Graduate School of Biomedical Sciences\",\n \"Texas A&M Health Science Center Irma Lerma Rangel College of Pharmacy\",\n \"Texas A&M Health Science Center School of Rural Public Health\",\n \"Texas A&M Health Science Center South Texas Center\",\n \"Texas A&M International University\",\n \"Texas A&M University College of Dentistry\",\n \"Texas A&M University School of Law (previously Texas Wesleyan University School of Law)\",\n \"Texas A&M University School of Law\",\n \"Texas A&M University\",\n \"Texas A&M University-Central Texas\",\n \"Texas A&M University-Commerce\",\n \"Texas A&M University-Corpus Christi\",\n \"Texas A&M University-Kingsville\",\n \"Texas A&M University-San Antonio\",\n \"Texas A&M University-Texarkana\",\n \"Texas A&M University–Commerce\",\n \"Texas Chiropractic College\",\n \"Texas Christian University\",\n \"Texas College\",\n \"Texas Lutheran University\",\n \"Texas Southern University\",\n \"Texas Southmost College\",\n \"Texas State Technical College North Texas\",\n \"Texas State Technical College, Abilene Campus\",\n \"Texas State Technical College, Breckenridge Campus\",\n \"Texas State Technical College, Brownwood Campus\",\n \"Texas State Technical College, Fort Bend County Campus\",\n \"Texas State Technical College, Harlingen Campus\",\n \"Texas State Technical College, Marshall Campus\",\n \"Texas State Technical College, North Texas Campus\",\n \"Texas State Technical College, Sweetwater Campus\",\n \"Texas State Technical College, Waco Campus\",\n \"Texas State University\",\n \"Texas Success Academy\",\n \"Texas Tech University Health Sciences Center El Paso\",\n \"Texas Tech University Health Sciences Center at Dallas\",\n \"Texas Tech University Health Sciences Center\",\n \"Texas Tech University Health Sciences Center, \",\n \"Texas Tech University Health Sciences Center, Abilene\",\n \"Texas Tech University Health Sciences Center, Amarillo\",\n \"Texas Tech University Health Sciences Center, El Paso\",\n \"Texas Tech University Health Sciences Center, Lubbock\",\n \"Texas Tech University Health Sciences Center, Odessa\",\n \"Texas Tech University School of Law\",\n \"Texas Tech University\",\n \"Texas Torah Institute\",\n \"Texas Wesleyan University\",\n \"Texas Woman's University\",\n \"The Arlington School\",\n \"The Awty International School\",\n \"The Banff School\",\n \"The Barbara Gordon Montessori School\",\n \"The Bridges Acad Alter\",\n \"The Bromfield School\",\n \"The Cambirdge School of Dallas\",\n \"The Cambridge School of Weston\",\n \"The Carroll School\",\n \"The Chicago School of Professional Psychology\",\n \"The City College of New York\",\n \"The Clariden School\",\n \"The Covenant Preparatory School\",\n \"The Covenant School\",\n \"The Emery/Weiner School\",\n \"The Episcopal School of Dallas\",\n \"The Flint Academy\",\n \"The Governor's Academy\",\n \"The Hockaday School\",\n \"The John Cooper School\",\n \"The King's College\",\n \"The King's University\",\n \"The Kinkaid School\",\n \"The Learning Center for the Deaf\",\n \"The Martha's Vineyard Public Charter School\",\n \"The Memorial Private School\",\n \"The New School\",\n \"The Newman School\",\n \"The Post Oak School\",\n \"The Rivers School\",\n \"The Springfield Renaissance School\",\n \"The Tenney School\",\n \"The Village School\",\n \"The Waring School\",\n \"The Westwood School\",\n \"The Winchendon School\",\n \"The Woodlands Christian Academy\",\n \"Thomas Jefferson High School\",\n \"Thurgood Marshall School of Law (Texas Southern University)\",\n \"Toyota Technological Institute at Chicago\",\n \"Transition Center\",\n \"Tri-County Regional Vocational Technical High School\",\n \"Trimble Technical High School\",\n \"Trinidad “Trini” Garza Early College High School at Mountain View College\",\n \"Trinity Baptist Temple Academy\",\n \"Trinity Catholic High School\",\n \"Trinity Christian College\",\n \"Trinity High School\",\n \"Trinity International University\",\n \"Trinity University\",\n \"Trinity Valley Community College\",\n \"Trinity Valley School\",\n \"Triton College\",\n \"Triton Regional High School\",\n \"Trivium School\",\n \"Truman College\",\n \"Tufts University\",\n \"Tuoro College\",\n \"Turners Falls High School\",\n \"Turning Point Alter High School\",\n \"Twin City Christian School\",\n \"Tyler Junior College\",\n \"Tyler Street Christain Academy\",\n \"Tyngsborough High School\",\n \"UTA Fort Worth\",\n \"Universal Technical Institute\",\n \"University Christian Church Weekday School\",\n \"University Park Campus School\",\n \"University at Albany\",\n \"University at Buffalo\",\n \"University of Chicago\",\n \"University of Dallas\",\n \"University of Houston College of Medicine\",\n \"University of Houston College of Pharmacy\",\n \"University of Houston Law Center\",\n \"University of Houston\",\n \"University of Houston-Clear Lake\",\n \"University of Houston-Downtown\",\n \"University of Houston-Victoria\",\n \"University of Illinois Springfield\",\n \"University of Illinois Urbana-Champaign\",\n \"University of Illinois at Chicago\",\n \"University of Mary Hardin-Baylor\",\n \"University of Massachusetts Amherst\",\n \"University of Massachusetts Boston\",\n \"University of Massachusetts Dartmouth\",\n \"University of Massachusetts Lowell\",\n \"University of Massachusetts Medical School\",\n \"University of North Texas Health Science Center at Fort Worth\",\n \"University of North Texas Health Science Center\",\n \"University of North Texas Health Science Center, Graduate School of Biomedical Sciences\",\n \"University of North Texas Health Science Center, Physician Assistant Studies Program\",\n \"University of North Texas Health Science Center, School of Public Health\",\n \"University of North Texas Health Science Center, Texas College of Osteopathic Medicine\",\n \"University of North Texas at Dallas College of Law\",\n \"University of North Texas at Dallas\",\n \"University of North Texas\",\n \"University of Phoenix\",\n \"University of St. Francis\",\n \"University of St. Thomas\",\n \"University of Texas Health Science Center at Houston\",\n \"University of Texas Health Science Center at San Antonio\",\n \"University of Texas Medical Branch at Galveston\",\n \"University of Texas Permian Basin\",\n \"University of Texas Rio Grande Valley School of Medicine\",\n \"University of Texas Rio Grande Valley\",\n \"University of Texas School of Law (University of Texas at Austin)\",\n \"University of Texas Southwestern Medical Center at Dallas\",\n \"University of Texas Southwestern Medical Center\",\n \"University of Texas at Arlington\",\n \"University of Texas at Arlington-College Of Business Administration\",\n \"University of Texas at Austin Dell Medical School\",\n \"University of Texas at Austin\",\n \"University of Texas at Dallas\",\n \"University of Texas at El Paso\",\n \"University of Texas at San Antonio\",\n \"University of Texas at Tyler\",\n \"University of the Incarnate Word School of Osteopathic Medicine\",\n \"University of the Incarnate Word\",\n \"Upper Cape Cod Regional Technical School\",\n \"Urban College of Boston\",\n \"Ursuline Academy of Dallas\",\n \"Ursuline Academy\",\n \"Uxbridge High School\",\n \"Valleyhead School\",\n \"VanderCook College of Music\",\n \"Venture Alter High School\",\n \"Vernon College\",\n \"Vesper George School of Art\",\n \"Victoria College\",\n \"Victory Early College High School\",\n \"Virginia College\",\n \"W. H. Adamson High School\",\n \"W. T. White High School\",\n \"W. W. Samuell High School\",\n \"Wabash Valley College\",\n \"Wachusett Regional High School\",\n \"Wade College\",\n \"Wahconah Regional High School\",\n \"Wakefield Memorial High School\",\n \"Walnut Creek Private School\",\n \"Walnut Hill School\",\n \"Walpole High School\",\n \"Waltham High School\",\n \"Waltrip High School\",\n \"Wang Institute of Graduate Studies\",\n \"Ware Junior Senior High School\",\n \"Wareham High School\",\n \"Watertown High School\",\n \"Watson Learning Center\",\n \"Waubonsee Community College\",\n \"Wayland Baptist University\",\n \"Wayland High School\",\n \"Weatherford College\",\n \"Wellesley College\",\n \"Wellesley High School\",\n \"Wentworth Institute of Technology\",\n \"West Academy\",\n \"West Boylston Middle/High School\",\n \"West Bridgewater Middle-Senior High School\",\n \"West Roxbury High School\",\n \"West Side Junior-Senior High School\",\n \"West Springfield High School\",\n \"West Texas A&M University\",\n \"Westborough High School\",\n \"Westbury Christian School\",\n \"Westbury High School \",\n \"Western Governors University\",\n \"Western Hills High School\",\n \"Western Illinois University\",\n \"Western New England University\",\n \"Westfield High School\",\n \"Westfield State University\",\n \"Westfield Vocational Technical High School\",\n \"Westford Academy\",\n \"Weston High School\",\n \"Westport High School\",\n \"Westside High School \",\n \"Westwood College\",\n \"Westwood High School\",\n \"Weymouth High School\",\n \"Wharton County Junior College\",\n \"Wheatley High School \",\n \"Wheaton College\",\n \"Wheelock College\",\n \"Whitinsville Christian School\",\n \"Whitman-Hanson Regional High School\",\n \"Whittier Regional Vocational Technical High School\",\n \"Wilbraham & Monson Academy\",\n \"Wilbur Wright College\",\n \"Wiley College\",\n \"William J Dean Vocational Technology High School\",\n \"William James College\",\n \"Williams College\",\n \"Williamstown High School\",\n \"Williston Northampton School\",\n \"Willowridge High School \",\n \"Wilmer-Hutchins High School\",\n \"Wilmington High School\",\n \"Winchester High School\",\n \"Winfree Academy Charter School (Grapevine)\",\n \"Winfree Academy North Richland Hills\",\n \"Winthrop High School\",\n \"Woburn Memorial High School\",\n \"Woodrow Wilson High School\",\n \"Worcester Academy\",\n \"Worcester Junior College\",\n \"Worcester Polytechnic Institute\",\n \"Worcester State University\",\n \"Worcester Technical High School\",\n \"Worcester Technical Institute\",\n \"Worthing High School \",\n \"Xaverian Brothers High School\",\n \"Xavier Academy\",\n \"Yates High School\",\n \"York College\",\n \"Young Women's College Preparatory Academy\",\n \"Central Michigan University\",\n \"Eastern Michigan University\",\n \"Michigan State University\",\n \"Michigan Technological University\",\n \"Oakland University\",\n \"University of Michigan\",\n \"Wayne State University\",\n \"Western Michigan University\",\n \"Andrews University\",\n \"Ferris State University\",\n \"Grand Valley State University\",\n \"University of Detroit Mercy\",\n \"University of Michigan-Flint\",\n \"Baker College\",\n \"Calvin University\",\n \"Concordia University Ann Arbor\",\n \"Cornerstone University\",\n \"Davenport University\",\n \"Kettering University\",\n \"Lawrence Technological University\",\n \"Madonna University\",\n \"Northern Michigan University\",\n \"Saginaw Valley State University\",\n \"Siena Heights University\",\n \"Spring Arbor University\",\n \"University of Michigan- Dearborn\",\n \"Adrian College\",\n \"Albion College\",\n \"Alma College\",\n \"Aquinas College\",\n \"Grace Christian University\",\n \"Great Lakes Christian College\",\n \"Hillsdale College\",\n \"Hope College\",\n \"Henry Ford College\",\n \"Kalamazoo College\",\n \"Kuyper College\",\n \"Lake Superior State University\",\n \"Rochester Christian University\",\n \"University of Olivet\",\n \"Jackson College\",\n \"Alpena Community College\",\n \"Jackson College\",\n \"Lake Michigan College\",\n \"Northwestern Michigan College\",\n \"Schoolcraft College\",\n \"Bay de Noc Community College\",\n \"Delta College\",\n \"Glen Oaks Community College\",\n \"Gogebic Community College\",\n \"Grand Rapids Community College\",\n \"Kalamazoo Valley Communty College\",\n \"Kellogg Community College\",\n \"Kirtland Community College\",\n \"Lansing Community College\",\n \"Macomb Community College\",\n \"Mid Michigan CoIlege\",\n \"Monroe County Community College\",\n \"Montcalm Community College\",\n \"Mott Community College\",\n \"Muskegon Community College\",\n \"North Central Michigan College\",\n \"Oakland Community College\",\n \"Southwestern Michigan College\",\n \"St. Clair County Community College\",\n \"Washtenaw Community College\",\n \"Wayne County Community College District\",\n \"West Shore Community College\",\n \"College for Creative Studies\",\n \"Cranbrook Academy of Art\",\n \"Cleary University\",\n \"Calvin Theological Seminary\",\n \"Ecumenical Theological Seminary\",\n \"Michigan School of Psychology\",\n \"Moody Theological Seminary- Michigan\",\n \"Northwood University\",\n \"Sacred Heart Major Seminary\",\n \"Walsh College of Accountancy and Business\",\n \"Western Michigan University Cooley Law School\",\n \"Western Theological Seminary\",\n \"Yeshiva Gedolah of Greater Detroit\",\n \"Bay Mills Community College\",\n \"Keweenaw Bay Ojibwa Community College\",\n \"Saginaw Chippewa Tribal College\",\n \"The Art Institute of Michigan\",\n \"Finlandia University\",\n \"Highland Park Community College\",\n \"International Academy of Design and Technology\",\n \"Jordan College\",\n \"Marygrove College\",\n \"Michigan Jewish Institute\",\n \"Nazareth College\",\n \"Robert B. Miller College\",\n \"William Tyndale College\",\n];\n","import type { OnboardingInputProps } from 'features/OnboardingFlow/OnboardingInput.types';\nimport { Box } from 'components/Box';\nimport { Button } from 'components/Button';\nimport type { ChangeEvent } from 'react';\nimport { useContext, useEffect, useMemo, useState } from 'react';\nimport { Controller, useForm } from 'react-hook-form';\nimport { HelperText } from 'components/HelperText';\nimport { Checkbox } from 'components/Checkbox';\nimport { MonthYearSelect } from 'features/OnboardingFlow/inputs/MonthYearSelect';\nimport { RadioGroup } from '@headlessui/react';\nimport { Radio } from 'components/Radio';\nimport map from 'lodash/map';\nimport { EducationHistory } from 'util/resources';\nimport type { EducationHistoryResource } from 'util/resources/EducationHistory';\nimport { ArrowLeftLongIcon, ArrowRightIcon, CheckIcon, TrashIcon } from 'icons/outline';\nimport { PlusIcon } from 'icons/solid';\nimport { Skeleton } from 'components/Skeleton';\nimport { AuxiliaryDataContext } from 'features/OnboardingFlow/AuxiliaryDataContext';\nimport clsx from 'clsx';\nimport { SelectButton } from 'components/SelectButton';\nimport { useEducationLevels } from 'hooks/useEducationLevels';\nimport type { SelectOptionProps } from 'components/SelectButton/SelectButtonOption/SelectButtonOption.types';\nimport { useEducationFields } from 'hooks/useEducationFields';\nimport { SCHOOLS } from 'util/constants/schools';\nimport { PlaceField } from 'features/PlaceField';\nimport { ActiveStorageFileUploadBrowser } from 'features/ActiveStorageFileUpload/ActiveStorageFileUploadBrowser';\nimport { AppRoutes } from 'util/urlFactory';\nimport { useRouter } from 'next/router';\nimport { updateProfile } from 'util/api/user';\nimport { fetchCurrentProfile } from 'redux/current_user_profile/actions';\nimport { useDispatch } from 'react-redux';\nimport { IconButton } from 'components/IconButton';\nimport { useWizard } from 'react-use-wizard';\nimport includes from 'lodash/includes';\nimport { useFeatureFlag } from 'hooks/redux/useFeatureFlag';\n\nconst SCHOOL_OPTIONS: SelectOptionProps[] = map(SCHOOLS, (value) => ({\n id: value,\n value,\n label: value,\n}));\n\nconst REQUIRED_HELPER_TEXT = '🚨 Answer this to go to the next question.';\n\ninterface FormData {\n city: string;\n currentOrPast: 'current' | 'past';\n educationLevelId: string;\n startDate: string;\n endDate: string;\n majorId: string;\n minorId: string;\n school: string;\n}\n\nexport const OnboardingEducationHistory = (props: OnboardingInputProps) => {\n const { profileQuestion } = props;\n\n const {\n control: educationHistoryControl,\n handleSubmit,\n reset,\n getValues,\n setValue: educationHistorySetValue,\n watch,\n trigger,\n } = useForm();\n watch();\n\n const educationLevelId = watch('educationLevelId');\n\n const dispatch = useDispatch();\n const router = useRouter();\n\n const hasAutoCompleteFlagEnabled = useFeatureFlag('open_ai_auto_complete_onboarding');\n\n const {\n steps,\n hasUploadedResume,\n userProfile,\n educationHistory,\n loadingEducationHistory,\n fetchEducationHistory,\n setHideActions,\n resumeParsingStatus,\n handlePreviousStep,\n hasSomeAiGeneratedEducationHistory,\n } = useContext(AuxiliaryDataContext);\n\n useEffect(() => {\n if (\n includes([null, 'loading', 'running'], resumeParsingStatus) &&\n hasAutoCompleteFlagEnabled &&\n hasUploadedResume\n ) {\n const parsingResumeStep = steps.find((step) => step.name === 'parsing_resume');\n\n if (parsingResumeStep) {\n void router.push(`${AppRoutes.EDUCATOR_ONBOARDING}?stepName=${parsingResumeStep.name}`);\n }\n }\n }, [resumeParsingStatus, hasAutoCompleteFlagEnabled, hasUploadedResume]);\n\n const { goToStep, previousStep } = useWizard();\n\n const [activeEducationHistory, setActiveEducationHistory] =\n useState(null);\n\n useEffect(() => {\n setHideActions(Boolean(activeEducationHistory));\n\n if (activeEducationHistory?.id) {\n void trigger();\n }\n\n return () => {\n setHideActions(false);\n };\n }, [activeEducationHistory]);\n\n const [fileUploading, setFileUploading] = useState(false);\n\n const { educationLevels } = useEducationLevels();\n const educationLevelsPrimitive = map(educationLevels, ({ id }) => id).join(',');\n\n const educationLevelOptions: SelectOptionProps[] = useMemo(\n () =>\n map(educationLevels, (educationLevel) => ({\n id: educationLevel.id,\n value: educationLevel.id,\n label: educationLevel.title,\n })),\n [educationLevelsPrimitive],\n );\n\n const { educationFields } = useEducationFields();\n const educationFieldsPrimitive = map(educationFields, ({ id }) => id).join(',');\n\n const educationFieldOptions: SelectOptionProps[] = useMemo(\n () =>\n map(educationFields, (educationField) => ({\n id: educationField.id,\n value: educationField.id,\n label: educationField.title,\n })),\n [educationFieldsPrimitive],\n );\n\n const isLevelHighSchool = Boolean(\n educationLevels?.find((educationLevel) => educationLevel.id === educationLevelId)\n ?.filterableEducationLevel === 'high_school',\n );\n const showFieldOfStudy = useMemo(\n () => Boolean(educationLevelId) && !isLevelHighSchool,\n [isLevelHighSchool, educationLevelId],\n );\n\n const [showMinor, setShowMinor] = useState(false);\n\n const handleAddEducationHistory = () => {\n setActiveEducationHistory(EducationHistory.build({}));\n };\n\n const onSaveEducationHistory = async (data: FormData) => {\n const payload = {\n ...data,\n current: data.currentOrPast === 'current',\n };\n\n await activeEducationHistory.update(payload);\n\n await fetchEducationHistory();\n reset();\n setActiveEducationHistory(null);\n };\n\n const onCancel = () => {\n reset();\n setActiveEducationHistory(null);\n };\n\n const handleEditEducationHistory = (educationHistoryItem: EducationHistoryResource) => {\n setActiveEducationHistory(educationHistoryItem);\n educationHistorySetValue('city', educationHistoryItem.city);\n educationHistorySetValue('currentOrPast', educationHistoryItem.current ? 'current' : 'past');\n educationHistorySetValue('startDate', educationHistoryItem.startDate);\n educationHistorySetValue('endDate', educationHistoryItem.endDate);\n educationHistorySetValue('majorId', educationHistoryItem.major?.id);\n educationHistorySetValue('minorId', educationHistoryItem.minor?.id);\n educationHistorySetValue('school', educationHistoryItem.school);\n\n const educationHistoryLevel = educationLevels.find(\n (educationLevel) =>\n educationLevel.filterableEducationLevel === educationHistoryItem.filterableEducationLevel,\n );\n educationHistorySetValue('educationLevelId', educationHistoryLevel.id);\n };\n\n const handleDeleteEducationHistory = async (educationHistoryItem: EducationHistoryResource) => {\n await educationHistoryItem.destroy();\n await fetchEducationHistory();\n\n reset();\n setActiveEducationHistory(null);\n };\n\n const handleHaveMinor = (event: ChangeEvent) => {\n const { checked } = event.target;\n setShowMinor(checked);\n };\n\n useEffect(() => {\n setShowMinor(Boolean(activeEducationHistory?.minor?.id));\n }, [activeEducationHistory?.minor?.id]);\n\n const handleFileUpload = async (upload: Record) => {\n setFileUploading(true);\n await updateProfile(upload);\n dispatch(fetchCurrentProfile());\n setFileUploading(false);\n };\n\n useEffect(() => {\n if (!educationHistory?.length && !loadingEducationHistory) {\n handleAddEducationHistory();\n }\n }, [educationHistory?.length, loadingEducationHistory]);\n\n const handlePrevious = handlePreviousStep({ goToStep, profileQuestion });\n\n useEffect(() => {\n return () => {\n setActiveEducationHistory(null);\n };\n }, []);\n\n return (\n <>\n
\n {(hasUploadedResume || null) && (\n <>\n
\n {(hasSomeAiGeneratedEducationHistory || null) && (\n

\n Review your uploaded education below:\n

\n )}\n\n

This is the file you uploaded:

\n\n \n
\n 🚨\n \n Oh no, we couldn't read your file! Please upload a different resume in\n pdf, doc, or docx format and under 10MB in size.\n \n
\n \n }\n readOnly\n />\n
\n\n
\n \n )}\n\n {loadingEducationHistory ? (\n <>\n \n
\n \n \n \n\n
\n
\n \n \n
\n
\n
\n
\n \n
\n \n \n \n\n
\n
\n \n \n
\n
\n
\n
\n \n ) : (\n
\n {Boolean(activeEducationHistory) ? (\n \n
\n
\n
\n \n (\n <>\n onChange(newValue)}\n error={invalid}\n value={educationLevelOptions.find((option) => option.id === value)}\n />\n {(invalid || null) && {error.message}}\n \n )}\n />\n
\n\n
\n (\n <>\n \n \n {({ checked }) => (\n \n I am currently in school\n \n )}\n \n \n {({ checked }) => (\n \n \n I have completed this level of education\n \n \n )}\n \n \n {(invalid || null) && {error.message}}\n \n )}\n />\n
\n\n {(showFieldOfStudy || null) && (\n <>\n
\n \n (\n <>\n onChange(newValue)}\n error={invalid}\n value={educationFieldOptions.find(\n (option) => option.id === value,\n )}\n />\n {(invalid || null) && (\n {error.message}\n )}\n \n )}\n />\n
\n\n
\n (\n <>\n \n {(showMinor || null) && (\n <>\n onChange(newValue)}\n error={invalid}\n value={educationFieldOptions.find(\n (option) => option.id === value,\n )}\n />\n {(invalid || null) && (\n {error.message}\n )}\n \n )}\n \n )}\n />\n
\n \n )}\n\n
\n \n (\n <>\n onChange(newValue)}\n error={invalid}\n maxOptionsCount={20}\n />\n {(invalid || null) && {error.message}}\n \n )}\n />\n
\n\n
\n \n (\n <>\n {\n onChange(place?.formattedAddress || '');\n }}\n fullWidth\n value={value}\n />\n {(invalid || null) && {error.message}}\n \n )}\n />\n
\n\n
\n \n \n getValues('currentOrPast') === 'current' ||\n !getValues('endDate') ||\n value <= getValues('endDate') ||\n 'Start date must be before end date.',\n }}\n render={({\n field: { onChange, value },\n fieldState: { invalid, error },\n }) => (\n <>\n \n \n {(invalid || null) && {error.message}}\n \n )}\n />\n\n {(getValues('currentOrPast') !== 'current' || null) && (\n \n getValues('currentOrPast') === 'current' ||\n value >= getValues('startDate') ||\n 'End date must be after start date.',\n }}\n render={({\n field: { onChange, value },\n fieldState: { invalid, error },\n }) => (\n <>\n \n \n {(invalid || null) && {error.message}}\n \n )}\n />\n )}\n
\n\n
\n {educationHistory?.length && !loadingEducationHistory ? (\n \n ) : (\n \n )}\n\n {(activeEducationHistory.id || null) && (\n {\n void handleDeleteEducationHistory(activeEducationHistory);\n }}\n variant=\"outline\"\n >\n Remove education\n \n )}\n\n \n
\n \n Save education\n
\n \n
\n\n
\n
\n {educationHistory?.length && !loadingEducationHistory ? (\n \n Cancel\n \n ) : (\n \n Back\n \n )}\n
\n\n
\n \n
\n \n Save education\n
\n \n
\n\n {(activeEducationHistory.id || null) && (\n
\n {\n void handleDeleteEducationHistory(activeEducationHistory);\n }}\n variant=\"outline\"\n >\n Remove\n \n
\n )}\n
\n
\n
\n
\n ) : (\n
\n {map(educationHistory, (educationHistoryItem) => {\n return (\n handleEditEducationHistory(educationHistoryItem)}\n hoverable\n >\n
\n
\n <>\n
\n
\n

\n {educationHistoryItem.school}\n

\n\n <>\n

\n {educationHistoryItem.getEducationProgressText()}\n

\n\n

\n {educationHistoryItem.city}\n

\n\n

\n {(educationHistoryItem.areDatesValid() || null) && (\n <>{educationHistoryItem.getEducationDurationText()}\n )}\n

\n \n
\n\n
\n \n
\n
\n\n {(!educationHistoryItem.isResourceValid() || null) && (\n
\n ✋ Required answers are missing.\n
\n )}\n \n
\n
\n \n );\n })}\n\n <>\n
\n \n
\n \n Add more education\n
\n \n
\n\n
\n \n
\n \n \n )}\n
\n )}\n
\n \n );\n};\n\nOnboardingEducationHistory.displayName = 'OnboardingEducationHistory';\n","import { OnboardingInputProps } from 'features/OnboardingFlow/OnboardingInput.types';\nimport { Controller, useFormContext } from 'react-hook-form';\nimport { HelperText } from 'components/HelperText';\nimport { WeeklyTimeIntervals } from 'components/WeeklyTimeIntervals';\nimport {\n mapComponentValueToDatabaseValue,\n mapDatabaseValueToComponentValue,\n weekDaysIntervalsHaveErrors,\n} from 'components/WeeklyTimeIntervals/WeeklyTimeIntervals.utils';\nimport { isJSONParsable } from 'util/validations';\n\nexport const OnboardingWeeklyAvailability = (props: OnboardingInputProps) => {\n const { profileQuestion } = props;\n\n const { control, watch } = useFormContext<{\n [profileQuestionName: string]: string;\n }>();\n watch(profileQuestion.name);\n\n return (\n
\n {\n if (!value && !profileQuestion.required) {\n return true;\n }\n\n if (!isJSONParsable(value)) {\n return 'Invalid JSON';\n }\n\n if (\n weekDaysIntervalsHaveErrors(\n mapDatabaseValueToComponentValue(\n JSON.parse(value) as Record,\n ),\n )\n ) {\n return 'Please fill out all fields';\n }\n\n return true;\n },\n }}\n render={({ field: { onChange, value }, fieldState: { error } }) => (\n <>\n ,\n )\n : null\n }\n onChange={(newValue) =>\n onChange(JSON.stringify(mapComponentValueToDatabaseValue(newValue)))\n }\n />\n\n {(error || null) && (\n
\n {error.message}\n
\n )}\n \n )}\n />\n \n );\n};\n","export default {\"src\":\"/_next/static/media/teacher1.93583af4.png\",\"height\":99,\"width\":84,\"blurDataURL\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAMAAAAC2hU0AAAAY1BMVEUuMRM0OhRmTT5tX0I5Px9xeGInLREpKBKecVooLRO7nYxVWz3As7OJdGrJqp1VXT5LQzaJZFKTjIdZYCV8gVfdq482KBgmGhFUTzpMPC2VaEqScWFlRCyifGbHloNBMSh9ZlkPlm2/AAAAFnRSTlP98P7+7+zd/v7z/vfo/v3N7fvY7e38TjvFHQAAAAlwSFlzAAALEwAACxMBAJqcGAAAAEBJREFUeJwFwQcCgDAIBLBTW6HuCXSp/3+lCdbRhSb08DbnCMDbMrQEXJY5CXAKP6wER7EWJWyvpiIdjm+/uU4/XWYDYVCj1PcAAAAASUVORK5CYII=\",\"blurWidth\":7,\"blurHeight\":8};","export default {\"src\":\"/_next/static/media/teacher2.d59fd2b0.png\",\"height\":99,\"width\":84,\"blurDataURL\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAMAAAAC2hU0AAAAb1BMVEXY2N3MytBaS0aysLR0bHKBYFu5t77OzNLEwcZ7eH+qi3nwv6WZbFzTn4+bcWEfHjDc2+EiHzVFO0K+fGvHw8bIloWXZlQaFhxNNy2rp6oxIBjl4+WveGdmaHSUbWE2Ljigale7oZq0d1tuU1CakZGQmBXWAAAAE3RSTlPtzf7w7/3V9vT3/f7t/tj79OD+lUxlTAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAEFJREFUeJwFwQUCgDAMBLADNtridIb7/99IgowKI1wCPp8WIWCu6qgM+BC2g4G1de4mmN266xvQpBSfV9CdvVodf11yA3RpLHCsAAAAAElFTkSuQmCC\",\"blurWidth\":7,\"blurHeight\":8};","export default {\"src\":\"/_next/static/media/teacher3.aeab6922.png\",\"height\":99,\"width\":77,\"blurDataURL\":\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAICAMAAADtGH4KAAAAaVBMVEWpind2dmOji3w9U0TFx7HFp5vg6sabgnGWZkI0NS4xQCkvQDRQUTXNmYXVnIeidFDHn4W9vaWbgW/Gi1/D2tCzv6eJgX1UWFt8gYoqLh9gQCh6XjmReGSkpJM0RjNgXlW1m4thSjqAenWrA7qDAAAAGXRSTlP99vf37/7v9/vp0t75/v7+/uzV/cno/unpQmtsUgAAAAlwSFlzAAALEwAACxMBAJqcGAAAADtJREFUeJwFwQcCQDAAALFDp9q7S/H/R0pYxCzUBjkdWaFZ5bej0zjJi/oxAydVCf1rabyPweLuzsT2B1ATAwKJC7KpAAAAAElFTkSuQmCC\",\"blurWidth\":6,\"blurHeight\":8};","import Image from 'next/image';\nimport { useContext, useEffect } from 'react';\nimport { useDispatch } from 'react-redux';\nimport PostHog, { postHogCapture } from 'components/analytics/PostHog';\nimport { InformationBox } from 'components/InformationBox';\nimport { InformationBoxEmojiContent } from 'components/InformationBox/InformationBoxEmojiContent';\nimport Teacher1 from 'public/images/avatars/teacher1.png';\nimport Teacher2 from 'public/images/avatars/teacher2.png';\nimport Teacher3 from 'public/images/avatars/teacher3.png';\nimport { updateProfile } from 'util/api/user';\nimport { AuxiliaryDataContext } from '../AuxiliaryDataContext';\nimport { useUser } from 'hooks/redux/useUser';\nimport { fetchCurrentProfile } from 'redux/current_user_profile/actions';\nimport { AvatarUpload } from 'features/AvatarUpload';\n\nconst eventCapture = postHogCapture();\n\nexport const OnboardingUploadAvatar = () => {\n const { currentUserProfile } = useUser();\n const dispatch = useDispatch();\n\n const { setHasUploadedProfileImage } = useContext(AuxiliaryDataContext);\n\n const uploadedImage = currentUserProfile?.avatar;\n const hasProfileImage = Boolean(uploadedImage);\n\n const setSignedId = async (upload) => {\n await updateProfile(upload);\n eventCapture('Save Uploaded Profile Image to Backend');\n dispatch(fetchCurrentProfile());\n };\n\n useEffect(() => {\n setHasUploadedProfileImage(hasProfileImage);\n }, [hasProfileImage]);\n\n return (\n
\n
\n Upload a professional profile picture!\n
\n .arrow]:hidden\">\n p]:!text-sm px-4 py-2.5\">\n

Did you know?

\n

\n Applicants with profile pictures are 3x more likely to receive responses from schools.\n We recommend a professional photo of you with a simple background.\n

\n
\n
\n
\n
\n \n {\n await setSignedId({ avatar });\n dispatch(fetchCurrentProfile());\n }}\n />\n \n
\n
\n
\n

\n Tips for the perfect profile photo 📸:\n

\n
\n \"teacher1\"\n \"teacher2\"\n \"teacher3\"\n
\n \n
    \n
  • \n 1. Smile naturally, with\n great eye contact\n
  • \n
  • \n 2. Clear background!\n
  • \n
  • \n 3. Just you, avoid group\n photos\n
  • \n
  • \n 4. Good lighting, so\n you're in focus\n
  • \n
\n
\n
\n
\n
\n );\n};\n\nOnboardingUploadAvatar.displayName = 'OnboardingUploadAvatar';\n","import { useContext } from 'react';\nimport PostHog from 'components/analytics/PostHog';\nimport { useAccount } from 'hooks/redux/useAccount';\nimport { useUser } from 'hooks/redux/useUser';\nimport { AddVideoIcon } from 'icons/outline';\nimport { externalVideoAskUrl } from 'util/urlFactory';\nimport { InformationBox } from 'components/InformationBox';\nimport { InformationBoxEmojiContent } from 'components/InformationBox/InformationBoxEmojiContent';\nimport { Link } from 'components/Link';\nimport { AuxiliaryDataContext } from 'features/OnboardingFlow/AuxiliaryDataContext';\n\nimport type { OnboardingInputProps } from 'features/OnboardingFlow/OnboardingInput.types';\n\nexport const OnboardingVideoAskInput = (props: OnboardingInputProps) => {\n const { currentUserProfile } = useUser();\n const { currentAccount } = useAccount();\n const { profileQuestion } = props;\n\n const { setHasClickedVideoAskLink } = useContext(AuxiliaryDataContext);\n\n return (\n
\n

{profileQuestion.label}

\n
\n \n {\n setHasClickedVideoAskLink(true);\n }}\n rel=\"noreferrer\"\n >\n \n \n Record video interview\n \n \n \n\n
\n .arrow]:hidden md:max-w-[400px]\"\n >\n p]:!text-sm [&>p]:max-sm:hidden px-4 py-2.5 text-neutral-ink-blue\"\n >\n

\n 💼 Extra tip:\n

\n

Extra tip:

\n

{profileQuestion.labelSubtext}

\n

You will need:

\n
    \n
  • 5 minutes
  • \n
  • Selfie camera on your phone or computer
  • \n
  • Quiet location
  • \n
  • Strong internet, ideally wifi connection
  • \n
  • \n Wear a professional, casual shirt (something you’d wear while teaching preschoolers)\n
  • \n
\n \n \n
\n
\n );\n};\n\nOnboardingVideoAskInput.displayName = 'OnboardingVideoAskInput';\n","export { OnboardingVideoAskInput } from './OnboardingVideoAskInput';\nexport type { OnboardingVideoAskInputProps } from './OnboardingVideoAskInput.types';\n","import type { OnboardingInputProps } from 'features/OnboardingFlow/OnboardingInput.types';\nimport map from 'lodash/map';\nimport { MultiSelect } from 'components/MultiSelect';\nimport { Controller, useFormContext } from 'react-hook-form';\n\nexport const OnboardingMultiSelect = (props: OnboardingInputProps) => {\n const { profileQuestion } = props;\n\n const { control, setValue } = useFormContext<{\n [profileQuestionName: string]: string[];\n }>();\n\n const stringOptions = map(profileQuestion.options, 'value');\n\n return (\n
\n (\n
\n \n value={value}\n options={stringOptions}\n onChange={onChange}\n placeholder=\"Type your answer here\"\n />\n
\n )}\n />\n \n );\n};\n\nOnboardingMultiSelect.displayName = 'OnboardingMultiSelect';\n","import { OnboardingInputProps } from 'features/OnboardingFlow/OnboardingInput.types';\nimport { Controller, useFormContext } from 'react-hook-form';\nimport format from 'date-fns/format';\nimport { TextField } from 'components/TextField';\n\nexport const OnboardingDate = (props: OnboardingInputProps) => {\n const { profileQuestion } = props;\n\n const { control } = useFormContext<{\n [profileQuestionName: string]: string;\n }>();\n\n return (\n
\n (\n
\n \n
\n )}\n name={props.profileQuestion.name}\n control={control}\n rules={{\n required: profileQuestion.required ? 'This field is required' : false,\n }}\n />\n \n );\n};\n","import { QueryProps } from 'util/resources/APILibrary';\nimport { GeographyOption } from 'util/resources';\nimport { useEffect, useState } from 'react';\nimport { GeographyOptionResource } from 'util/resources/GeographyOption';\n\ntype UseGeographyOptionsProps = {\n geographyId: string;\n initialQueryProps?: QueryProps;\n initiallyFetch?: boolean;\n};\n\ntype UseGeographyOptionsReturn = {\n geographyOptions: GeographyOptionResource[];\n loading: boolean;\n error: Error;\n fetchGeographyOptions: () => Promise;\n};\n\nexport const useGeographyOptions = (props: UseGeographyOptionsProps): UseGeographyOptionsReturn => {\n const { geographyId, initialQueryProps = {}, initiallyFetch = true } = props;\n\n const [geographyOptions, setGeographyOptions] = useState(null);\n const [loading, setLoading] = useState(true);\n const [error, setError] = useState(null);\n\n const fetchGeographyOptions = async (query: QueryProps = initialQueryProps) => {\n const { includes, where, select } = query || {};\n\n setLoading(true);\n await GeographyOption.includes(...(includes || []))\n .select(...(select || []))\n .where(where)\n .where({ geographyId })\n .all()\n .then((response) => {\n setLoading(false);\n setGeographyOptions(response.toArray());\n })\n .catch((error: Error) => {\n setLoading(false);\n setError(error);\n });\n };\n\n useEffect(() => {\n if (initiallyFetch) {\n void fetchGeographyOptions();\n }\n }, []);\n\n return { geographyOptions, loading, error, fetchGeographyOptions };\n};\n","import { OnboardingInputProps } from 'features/OnboardingFlow/OnboardingInput.types';\nimport { Controller, useFormContext } from 'react-hook-form';\nimport map from 'lodash/map';\nimport { Checkbox } from 'components/Checkbox';\nimport includes from 'lodash/includes';\nimport { HelperText } from 'components/HelperText';\nimport { ChangeEvent } from 'react';\nimport { useGeographyOptions } from 'hooks/useGeographyOptions';\n\nexport const OnboardingLocationByGeography = (props: OnboardingInputProps) => {\n const { profileQuestion } = props;\n\n const { control, setValue, watch, getValues } = useFormContext<{\n [profileQuestionName: string]: string[];\n }>();\n\n const { geographyOptions } = useGeographyOptions({\n geographyId: profileQuestion.geography().id,\n initialQueryProps: {\n where: {\n category: 'location',\n },\n },\n });\n\n watch(profileQuestion.name);\n\n const handleChange = (event: ChangeEvent) => {\n const { value, checked } = event.target;\n const currentValues = getValues(profileQuestion.name) || [];\n\n if (checked) {\n setValue(profileQuestion.name, [...currentValues, value]);\n } else {\n setValue(\n profileQuestion.name,\n currentValues.filter((v) => v !== value && includes(map(geographyOptions, 'id'), v)),\n );\n }\n };\n\n return (\n
\n (\n
\n {map(geographyOptions, (geographyOption) => {\n return (\n {geographyOption.title}\n }\n />\n );\n })}\n\n {(invalid || null) && (\n
\n {error.message}\n
\n )}\n
\n )}\n />\n \n );\n};\n","import { Controller, useForm } from 'react-hook-form';\nimport { TextField } from 'components/TextField';\nimport { ClockIcon, CurrencyIcon } from 'icons/outline';\nimport { SelectButton } from 'components/SelectButton';\nimport { Checkbox } from 'components/Checkbox';\nimport { ChangeEvent, useEffect } from 'react';\n\nconst COMPENSATION_INTERVAL_OPTIONS = [\n {\n id: 'per hour',\n label: 'per hour',\n value: 'per hour',\n },\n {\n id: 'per year',\n label: 'per year',\n value: 'per year',\n },\n];\n\nexport interface CompensationValues {\n min: string;\n max: string;\n interval: string;\n negotiable: boolean;\n}\n\ntype DesiredCompensationProps = {\n value?: CompensationValues;\n onChange: (value: CompensationValues) => void;\n};\n\nexport const DesiredCompensation = (props: DesiredCompensationProps) => {\n const { value, onChange } = props;\n\n const valuePrimitive = JSON.stringify(value);\n\n const { control, setValue, trigger, watch } = useForm<{\n min: string;\n max: string;\n interval: string;\n negotiable: boolean;\n }>({\n mode: 'all',\n defaultValues: {\n min: '',\n max: '',\n interval: COMPENSATION_INTERVAL_OPTIONS[0].value,\n negotiable: false,\n },\n });\n const [minValue, maxValue, intervalValue, negotiableValue] = watch([\n 'min',\n 'max',\n 'interval',\n 'negotiable',\n ]);\n\n useEffect(() => {\n if (value) {\n if (minValue !== value.min) {\n setValue('min', value.min);\n }\n if (maxValue !== value.max) {\n setValue('max', value.max);\n }\n if (intervalValue !== value.interval) {\n setValue('interval', value.interval);\n }\n if (negotiableValue !== value.negotiable) {\n setValue('negotiable', value.negotiable);\n }\n }\n }, [valuePrimitive]);\n\n useEffect(() => {\n onChange({\n min: minValue,\n max: maxValue,\n interval: intervalValue,\n negotiable: negotiableValue,\n });\n }, [minValue, maxValue, intervalValue, negotiableValue]);\n\n return (\n
\n
\n
\n \n\n {\n return Number(value) >= 0 || 'This field must be a positive number';\n },\n lessThanOrEqualToMax: (value, { max }) => {\n if (!max) {\n return true;\n }\n return (\n Number(value) <= Number(max) ||\n 'This field must be less than or equal to the maximum'\n );\n },\n },\n }}\n render={({ field: { onChange, value }, fieldState: { error, invalid } }) => (\n \n )}\n />\n
\n\n
\n \n\n {\n return Number(value) >= 0 || 'This field must be a positive number';\n },\n moreThanOrEqualToMin: (value, { min }) => {\n if (!min) {\n return true;\n }\n return (\n Number(value) >= Number(min) ||\n 'This field must be greater than or equal to the minimum'\n );\n },\n },\n }}\n render={({ field: { onChange, value }, fieldState: { error, invalid } }) => (\n \n )}\n />\n
\n\n
\n \n\n
\n (\n \n :\n \n }\n options={COMPENSATION_INTERVAL_OPTIONS}\n value={COMPENSATION_INTERVAL_OPTIONS.find((option) => option.value === value)}\n onChange={(option) => {\n onChange(option.value);\n }}\n />\n )}\n />\n
\n
\n
\n\n
\n (\n ) => {\n onChange(event.target.checked);\n }}\n />\n )}\n />\n
\n
\n );\n};\n\nDesiredCompensation.displayName = 'DesiredCompensation';\n","import { OnboardingInputProps } from 'features/OnboardingFlow/OnboardingInput.types';\nimport { Controller, useFormContext } from 'react-hook-form';\nimport { isJSONParsable } from 'util/validations';\nimport {\n CompensationValues,\n DesiredCompensation,\n} from 'features/OnboardingFlow/inputs/DesiredCompensation';\nimport { HelperText } from 'components/HelperText';\nimport toNumber from 'lodash/toNumber';\n\nexport const OnboardingCompensation = (props: OnboardingInputProps) => {\n const { profileQuestion } = props;\n\n const { control, watch } = useFormContext<{\n [profileQuestionName: string]: string;\n }>();\n watch(profileQuestion.name);\n\n return (\n
\n {\n if (!value && !profileQuestion.required) {\n return true;\n }\n\n if (!isJSONParsable(value)) {\n return 'Invalid JSON';\n }\n\n const parsedValue = JSON.parse(value) as CompensationValues;\n\n if (!parsedValue.max && !parsedValue.min && !parsedValue.negotiable) {\n // If all fields are empty, it's valid\n return true;\n }\n\n if (\n !parsedValue.interval ||\n !parsedValue.min ||\n !parsedValue.max ||\n toNumber(parsedValue.min) > toNumber(parsedValue.max)\n ) {\n return 'Invalid field values';\n }\n\n return true;\n },\n }}\n render={({ field: { onChange, value }, fieldState: { error, invalid } }) => (\n <>\n onChange(JSON.stringify(value))}\n value={isJSONParsable(value) ? (JSON.parse(value) as CompensationValues) : undefined}\n />\n {(invalid || null) && (\n
\n {error.message}\n
\n )}\n \n )}\n />\n \n );\n};\n\nOnboardingCompensation.displayName = 'OnboardingCompensation';\n","import type { OnboardingInputProps } from 'features/OnboardingFlow/OnboardingInput.types';\nimport { LoadingImage } from 'components/LoadingImage';\nimport { useContext, useEffect, useState } from 'react';\nimport { AuxiliaryDataContext } from 'features/OnboardingFlow/AuxiliaryDataContext';\nimport { useRouter } from 'next/router';\nimport { AppRoutes } from 'util/urlFactory';\nimport { useWizard } from 'react-use-wizard';\n\nexport const OnboardingLoading = (props: OnboardingInputProps) => {\n const { profileQuestion } = props;\n\n const {\n userProfile,\n steps: profileQuestions,\n resumeParsingStatus,\n workHistoriesCount,\n educationHistoriesCount,\n refreshResumeParsingStatus,\n profileQuestionAnswers,\n getStepIndexByName,\n } = useContext(AuxiliaryDataContext);\n\n const { goToStep } = useWizard();\n\n const [firstLoad, setFirstLoad] = useState(true);\n\n useEffect(() => {\n refreshResumeParsingStatus(2000);\n }, []);\n\n const router = useRouter();\n\n const profileQuestionsPrimitive = JSON.stringify(\n profileQuestions.map((question) => question.attributes()),\n );\n const profileQuestionAnswersPrimitive = JSON.stringify(\n profileQuestionAnswers.map((answer) => answer.attributes()),\n );\n\n useEffect(() => {\n if (firstLoad) {\n setTimeout(() => {\n setFirstLoad(false);\n }, 2000);\n return;\n }\n\n switch (resumeParsingStatus) {\n case 'done':\n void router.replace({\n pathname: AppRoutes.EDUCATOR_ONBOARDING,\n query: { stepName: 'work_history' },\n });\n goToStep(getStepIndexByName('work_history'));\n break;\n case 'no_resume':\n const isWorkHistoryUnanswered = !profileQuestionAnswers.find(\n (answer) => answer.profileQuestionName === 'work_history',\n );\n if (isWorkHistoryUnanswered || workHistoriesCount === 0) {\n void router.replace({\n pathname: AppRoutes.EDUCATOR_ONBOARDING,\n query: { stepName: 'work_history' },\n });\n goToStep(getStepIndexByName('work_history'));\n break;\n }\n\n const isEducationHistoryUnanswered = !profileQuestionAnswers.find(\n (answer) => answer.profileQuestionName === 'education_history',\n );\n if (isEducationHistoryUnanswered || educationHistoriesCount === 0) {\n void router.replace({\n pathname: AppRoutes.EDUCATOR_ONBOARDING,\n query: { stepName: 'education_history' },\n });\n goToStep(getStepIndexByName('education_history'));\n break;\n }\n\n const firstUnansweredQuestion = userProfile.getFirstUnansweredProfileQuestion(\n profileQuestions,\n profileQuestionAnswers,\n );\n void router.replace({\n pathname: AppRoutes.EDUCATOR_ONBOARDING,\n query: { stepName: firstUnansweredQuestion.name || 'job_search_status' },\n });\n goToStep(getStepIndexByName(firstUnansweredQuestion.name || 'job_search_status'));\n\n break;\n case 'not_found':\n void router.replace({\n pathname: AppRoutes.EDUCATOR_ONBOARDING,\n query: { stepName: 'upload_resume' },\n });\n goToStep(getStepIndexByName('upload_resume'));\n break;\n default:\n break;\n }\n }, [\n resumeParsingStatus,\n workHistoriesCount,\n educationHistoriesCount,\n userProfile?.id,\n profileQuestionsPrimitive,\n profileQuestionAnswersPrimitive,\n ]);\n\n return (\n
\n
\n

\n {profileQuestion.label}\n

\n \n

\n {profileQuestion.labelSubtext}\n

\n
\n\n
\n \n

\n {profileQuestion.label}\n

\n

\n {profileQuestion.labelSubtext}\n

\n
\n
\n );\n};\n\nOnboardingLoading.displayName = 'OnboardingLoading';\n","import type { OnboardingInputProps } from 'features/OnboardingFlow/OnboardingInput.types';\nimport { sanitizeTags } from 'util/formatting/string';\nimport { RejectedGraphic } from 'graphics';\nimport React from 'react';\n\nexport const OnboardingRejection = (props: OnboardingInputProps) => {\n const { profileQuestion } = props;\n\n return (\n
\n

\n {profileQuestion.label}\n

\n\n

\n We will not be moving you forward in the application process.\n

\n\n
\n
\n \n\n \n\n {(profileQuestion.description || null) && (\n \n )}\n
\n
\n
\n );\n};\n\nOnboardingRejection.displayName = 'OnboardingRejection';\n","import type { OnboardingInputProps } from 'features/OnboardingFlow/OnboardingInput.types';\nimport { sanitizeTags } from 'util/formatting/string';\nimport React from 'react';\n\nexport const OnboardingLandingPage = (props: OnboardingInputProps) => {\n const { profileQuestion } = props;\n\n return (\n
\n

\n {profileQuestion.label}\n

\n\n
\n \n\n {(profileQuestion.description || null) && (\n \n )}\n
\n
\n );\n};\n\nOnboardingLandingPage.displayName = 'OnboardingLandingPage';\n","import { useContext, useState } from 'react';\nimport type { OnboardingInputProps } from 'features/OnboardingFlow/OnboardingInput.types';\nimport { AuxiliaryDataContext } from 'features/OnboardingFlow/AuxiliaryDataContext';\nimport { fetchCurrentProfile } from 'redux/current_user_profile/actions';\nimport { useDispatch } from 'react-redux';\nimport { updateProfile } from 'util/api/user';\nimport { ActiveStorageFileUploadBrowser } from 'features/ActiveStorageFileUpload/ActiveStorageFileUploadBrowser';\nimport { HelperText } from 'components/HelperText';\nimport { sanitizeTags } from 'util/formatting/string';\n\nexport const OnboardingUploadGeneric = (props: OnboardingInputProps) => {\n const { profileQuestion } = props;\n\n const dispatch = useDispatch();\n\n const { userProfile } = useContext(AuxiliaryDataContext);\n\n const [beganUploading, setBeganUploading] = useState(false);\n\n const handleDeleteUpload = async () => {\n await updateProfile({ attachments: null });\n dispatch(fetchCurrentProfile());\n };\n\n const handleFileUpload = async (upload: Record) => {\n setBeganUploading(true);\n await updateProfile(upload);\n dispatch(fetchCurrentProfile());\n setBeganUploading(false);\n };\n\n return (\n
\n

{profileQuestion.label}

\n\n \n\n
\n \n
\n 🚨\n \n Oh no, we couldn't read your file! Please upload a different resume in pdf,\n doc, or docx format and under 10MB in size.\n \n
\n \n }\n />\n\n \n Clear uploaded files\n \n
\n \n );\n};\n\nOnboardingUploadGeneric.displayName = 'OnboardingUploadGeneric';\n","import { OnboardingInputProps } from 'features/OnboardingFlow/OnboardingInput.types';\nimport { Controller, useFormContext } from 'react-hook-form';\nimport { TextField } from 'components/TextField';\n\nexport const OnboardingText = (props: OnboardingInputProps) => {\n const { profileQuestion } = props;\n\n const { control } = useFormContext<{\n [profileQuestionName: string]: string;\n }>();\n\n return (\n
\n (\n
\n \n
\n )}\n name={props.profileQuestion.name}\n control={control}\n rules={{\n required: profileQuestion.required ? 'This field is required' : false,\n }}\n />\n \n );\n};\n","import type { OnboardingInputProps } from 'features/OnboardingFlow/OnboardingInput.types';\nimport map from 'lodash/map';\nimport { Checkbox } from 'components/Checkbox';\nimport { Controller, useFormContext } from 'react-hook-form';\nimport { HelperText } from 'components/HelperText';\nimport type { ChangeEvent } from 'react';\nimport includes from 'lodash/includes';\nimport filter from 'lodash/filter';\nimport { useCertificationOptions } from 'hooks/redux/useCertificationOptions';\n\nexport const OnboardingStateCertification = (props: OnboardingInputProps) => {\n const { profileQuestion } = props;\n // get certification categories from redux\n const { certificationOptions } = useCertificationOptions();\n const options = certificationOptions?.sort((a, b) => a.position - b.position)\n ?.map((option) => ({\n value: option.id,\n label: option.title,\n })) || [];\n\n const { control, setValue, watch, getValues } = useFormContext<{\n [profileQuestionName: string]: string[];\n }>();\n\n watch(profileQuestion.name);\n\n const handleChange = (event: ChangeEvent) => {\n const { value, checked } = event.target;\n let currentValues = getValues(profileQuestion.name) || [];\n if (typeof currentValues === 'string') {\n currentValues = JSON.parse(currentValues) as string[];\n }\n\n if (checked) {\n setValue(profileQuestion.name, [...currentValues, value]);\n } else {\n setValue(\n profileQuestion.name,\n filter(\n currentValues,\n (v) => v !== value && includes(map(options, 'value'), v),\n ),\n );\n }\n };\n\n return (\n
\n
\n (\n
\n {map(options, (option) => {\n return (\n {option.label}}\n />\n );\n })}\n\n {(invalid || null) && (\n
\n {error.message}\n
\n )}\n
\n )}\n />\n \n
\n );\n};\n\nOnboardingStateCertification.displayName = 'OnboardingStateCertification';\n","import type { OnboardingInputProps } from 'features/OnboardingFlow/OnboardingInput.types';\nimport { OnboardingRadio } from 'features/OnboardingFlow/inputs/OnboardingRadio';\nimport { OnboardingWorkHistory } from 'features/OnboardingFlow/inputs/OnboardingWorkHistory';\nimport { OnboardingAbout } from 'features/OnboardingFlow/inputs/OnboardingAbout';\nimport { OnboardingCheckbox } from 'features/OnboardingFlow/inputs/OnboardingCheckbox';\nimport { OnboardingUploadResume } from 'features/OnboardingFlow/inputs/OnboardingUploadResume';\nimport { OnboardingVideo } from 'features/OnboardingFlow/inputs/OnboardingVideo';\nimport { OnboardingEducationHistory } from 'features/OnboardingFlow/inputs/OnboardingEducationHistory';\nimport { OnboardingWeeklyAvailability } from 'features/OnboardingFlow/inputs/OnboardingWeeklyAvailability';\nimport { OnboardingUploadAvatar } from './inputs/OnboardingUploadAvatar';\nimport { OnboardingVideoAskInput } from 'features/OnboardingVideoAskInput';\nimport { OnboardingMultiSelect } from './inputs/OnboardingMultiSelect';\nimport { OnboardingDate } from 'features/OnboardingFlow/inputs/OnboardingDate';\nimport { OnboardingLocationByGeography } from 'features/OnboardingFlow/inputs/OnboardingLocationByGeography';\nimport { OnboardingCompensation } from 'features/OnboardingFlow/inputs/OnboardingCompensation';\nimport { OnboardingLoading } from 'features/OnboardingFlow/inputs/OnboardingLoading';\nimport { OnboardingRejection } from 'features/OnboardingFlow/inputs/OnboardingRejection';\nimport { OnboardingLandingPage } from 'features/OnboardingFlow/inputs/OnboardingLandingPage';\nimport { OnboardingUploadGeneric } from './inputs/OnboardingUploadGeneric';\nimport { OnboardingText } from './inputs/OnboardingText';\nimport { OnboardingStateCertification } from './inputs/OnboardingStateCertification';\n\nexport const OnboardingInput = (props: OnboardingInputProps) => {\n const { profileQuestion } = props;\n\n switch (profileQuestion.inputType) {\n case 'autocomplete':\n return ;\n case 'compensation':\n return ;\n case 'date':\n return ;\n case 'desired_location':\n return ;\n case 'education_history':\n return ;\n case 'video_page':\n return ;\n case 'generic_file_upload':\n return ;\n case 'file_upload':\n return ;\n case 'loading':\n return ;\n case 'state_certifications':\n return ;\n case 'multi-option':\n return ;\n case 'profile_picture':\n return ;\n case 'radio':\n return ;\n case 'final_rejection':\n case 'rejection':\n return ;\n case 'landing_page':\n return ;\n case 'text':\n return ;\n case 'text_area':\n return ;\n case 'video_ask':\n return ;\n case 'weekly_availability':\n return ;\n case 'work_history':\n return ;\n default:\n return <>{profileQuestion.inputType};\n }\n};\n\nOnboardingInput.displayName = 'OnboardingInput';\n","export const CategoryToHeadingMap = new Map([\n ['eligibility', 'Employment Eligibility'],\n ['education', 'Your Education'],\n ['experience', 'Work Experience'],\n ['job_preferences', 'Application Questions'],\n ['other', 'Complete your profile'],\n]);\n","import type { PropsWithChildren } from 'react';\nimport React from 'react';\n\nexport const OnboardingStepActionsWrapper = (props: PropsWithChildren>) => {\n const { children } = props;\n\n return (\n <>\n
\n {children}\n
\n\n
\n {children}\n
\n \n );\n};\n","import { Button } from 'components/Button';\nimport { Dialog } from 'components/Dialog';\nimport { IconButton } from 'components/IconButton';\nimport { ModalIconColor } from 'components/Modal/Modal.types';\nimport { ModalActions } from 'components/Modal/ModalActions';\nimport { ModalBody } from 'components/Modal/ModalBody';\nimport { AuxiliaryDataContext } from 'features/OnboardingFlow/AuxiliaryDataContext';\nimport { MINIMUM_ABOUT_ME_ANSWER_LENGTH } from 'features/OnboardingFlow/inputs/OnboardingAbout';\nimport type { OnboardingStepActionsProps } from 'features/OnboardingFlow/OnboardingStepActions.types';\nimport { OnboardingStepActionsWrapper } from 'features/OnboardingFlow/OnboardingStepActionsWrapper';\nimport { useFeatureFlag } from 'hooks/redux/useFeatureFlag';\nimport { AlertIcon, ArrowLeftLongIcon, ArrowRightLongIcon } from 'icons/outline';\nimport find from 'lodash/find';\nimport includes from 'lodash/includes';\nimport map from 'lodash/map';\nimport reject from 'lodash/reject';\nimport some from 'lodash/some';\nimport toArray from 'lodash/toArray';\nimport toString from 'lodash/toString';\nimport { useCallback, useContext, useEffect, useMemo, useState } from 'react';\nimport { useFormContext } from 'react-hook-form';\nimport { useWizard } from 'react-use-wizard';\nimport { signOut } from 'util/api/auth';\nimport { htmlToString } from 'util/formatting/string';\nimport { UserProfile } from 'util/resources';\nimport type { UserProfileResource } from 'util/resources/UserProfile';\n\nexport const OnboardingStepActions = (props: OnboardingStepActionsProps) => {\n const { profileQuestion, profileQuestionAnswer, onComplete } = props;\n\n const {\n handleSubmit,\n watch,\n formState: { dirtyFields },\n } = useFormContext();\n const value = watch(profileQuestion.name) as unknown;\n\n const dirtyFieldsPrimitive = Object.keys(dirtyFields).join(',');\n\n const hasAutoCompleteFlagEnabled = useFeatureFlag('open_ai_auto_complete_onboarding');\n\n const {\n steps: profileQuestions,\n userProfile,\n profileQuestionAnswers,\n educationHistory,\n loadingEducationHistory,\n workHistory,\n loadingWorkHistory,\n saveSkipStepEvent,\n hasFilledAbout,\n hasUploadedResume,\n hasAttachments,\n hasUploadedProfileImage,\n handlePreviousStep,\n handleNextStep,\n handleSaveAnswer,\n hideActions,\n getStepIndexByName,\n appliedAISuggestion,\n hasExperienceWithChildren,\n resumeParsingStatus,\n acknowledgedWorkingWithChildren,\n setAcknowledgedWorkingWithChildren,\n } = useContext(AuxiliaryDataContext);\n\n const [disabled, setDisabled] = useState(false);\n\n const { activeStep: activeStepIndex, isLastStep, goToStep } = useWizard();\n\n const handlePrevious = handlePreviousStep({ goToStep, profileQuestion });\n const handleNext = handleNextStep({\n goToStep,\n activeStepIndex,\n isLastStep,\n onComplete,\n });\n\n useEffect(() => {\n switch (profileQuestion.inputType) {\n case 'education_history':\n const hasInvalidEducationHistoryItems = some(\n educationHistory,\n (item) => !item.isResourceValid(),\n );\n setDisabled(\n loadingEducationHistory || hasInvalidEducationHistoryItems || !educationHistory?.length,\n );\n break;\n case 'file_upload':\n setDisabled(\n (profileQuestion.required && !hasUploadedResume) ||\n (hasAutoCompleteFlagEnabled &&\n hasUploadedResume &&\n resumeParsingStatus === 'not_found'),\n );\n break;\n case 'state_certifications':\n case 'multi-option':\n setDisabled(profileQuestion.required && (!value || !toArray(value).length));\n break;\n case 'work_history':\n const hasInvalidWorkHistoryItems = some(workHistory, (item) => !item.isResourceValid());\n setDisabled(loadingWorkHistory || hasInvalidWorkHistoryItems || !workHistory?.length);\n break;\n case 'generic_file_upload':\n setDisabled(profileQuestion.required && !hasAttachments);\n break;\n default:\n setDisabled(profileQuestion.required && !value);\n break;\n }\n }, [\n profileQuestion.id,\n value,\n loadingWorkHistory,\n workHistory?.length,\n loadingEducationHistory,\n educationHistory?.length,\n hasUploadedResume,\n hasAttachments,\n resumeParsingStatus,\n ]);\n\n const canSaveData = useMemo(\n () => !disabled && (Object.keys(dirtyFields)?.length || !profileQuestion.required),\n [disabled, dirtyFieldsPrimitive],\n );\n\n const [confirmContinueWithoutChildcareExperience, setConfirmContinueWithoutChildcareExperience] =\n useState(false);\n\n const handleCloseConfirmation = useCallback(() => {\n setConfirmContinueWithoutChildcareExperience(false);\n setTimeout(() => {\n window.scrollTo({ top: 0, behavior: 'smooth' });\n }, 200);\n }, []);\n\n const forwardButton = useMemo(() => {\n switch (profileQuestion.name) {\n case 'personal_experience_with_children':\n return (\n
\n {\n if (includes(toArray(value), 'Neither of the above')) {\n return handleNext();\n }\n\n return goToStep(getStepIndexByName('about'));\n }),\n )}\n disabled={disabled}\n >\n
\n Go to next\n \n
\n \n
\n );\n default:\n break;\n }\n\n switch (profileQuestion.inputType) {\n case 'file_upload':\n return (\n
\n {\n goToStep(getStepIndexByName('parsing_resume'));\n }\n : handleNext,\n ),\n )}\n disabled={disabled}\n >\n
\n Go to next\n \n
\n \n
\n );\n case 'loading':\n return null;\n case 'profile_picture':\n if (!hasUploadedProfileImage) {\n return (\n
\n {\n saveSkipStepEvent(profileQuestion);\n handleNext();\n }}\n disabled={disabled}\n >\n Skip and go to next\n \n
\n );\n }\n\n return (\n
\n \n
\n Go to next\n \n
\n \n
\n );\n case 'landing_page':\n return (\n
\n {\n let redirection = '/';\n if (profileQuestion.config) {\n redirection = profileQuestion.config;\n }\n window.location.href = redirection;\n }}\n >\n I understand\n \n
\n );\n case 'final_rejection':\n case 'rejection':\n return (\n
\n {\n setAcknowledgedWorkingWithChildren(false);\n let redirection = '/';\n if (profileQuestion.config) {\n redirection = profileQuestion.config;\n }\n signOut(redirection);\n }}\n >\n I understand\n \n
\n );\n case 'text_area':\n const onClick = handleSubmit(\n handleSaveAnswer(profileQuestion, profileQuestionAnswer, async () => {\n const updatedUserProfile: UserProfileResource = await UserProfile.find(\n userProfile.slug,\n );\n\n if (\n hasExperienceWithChildren ||\n updatedUserProfile?.aboutMeAnalysis?.mentionsChildren\n ) {\n return handleNext();\n }\n\n const personalExperienceQuestion = find(profileQuestions, {\n name: 'personal_experience_with_children',\n });\n\n const personalExperienceQuestionAnswer = find(\n profileQuestionAnswers,\n ({ profileQuestionName }) =>\n profileQuestionName === 'personal_experience_with_children',\n );\n\n if (\n Boolean(personalExperienceQuestion?.id) &&\n !personalExperienceQuestionAnswer?.value\n ) {\n return goToStep(getStepIndexByName('personal_experience_with_children'));\n }\n\n return goToStep(getStepIndexByName('rejection_working_with_children'));\n }),\n );\n\n if (\n !appliedAISuggestion &&\n htmlToString(toString(value)).length >= MINIMUM_ABOUT_ME_ANSWER_LENGTH\n ) {\n return (\n
\n \n {!hasFilledAbout ? (\n
\n Go to next\n \n
\n ) : (\n <>Continue without improvement\n )}\n \n
\n );\n }\n\n return (\n
\n \n
\n Go to next\n \n
\n \n
\n );\n case 'work_history':\n return (\n
\n {(!hasExperienceWithChildren || null) && (\n \n \n

\n Have you ever had a job that involved working with children?\n

\n
\n \n \n \n No\n \n \n \n )}\n\n {\n setConfirmContinueWithoutChildcareExperience(true);\n }\n }\n disabled={disabled}\n >\n
\n Go to next\n \n
\n \n
\n );\n default:\n return (\n
\n \n
\n Go to next\n \n
\n \n
\n );\n }\n }, [\n profileQuestion.name,\n profileQuestion.inputType,\n hasFilledAbout,\n appliedAISuggestion,\n disabled,\n hasUploadedProfileImage,\n resumeParsingStatus,\n value,\n hasExperienceWithChildren,\n acknowledgedWorkingWithChildren,\n handleNext,\n confirmContinueWithoutChildcareExperience,\n ]);\n\n const profileQuestionsPrimitive = JSON.stringify(\n map(profileQuestions, (pQuestion) => pQuestion.attributes()),\n );\n\n const backwardButton = useMemo(() => {\n const isFirstListedStep = reject(profileQuestions, 'unlisted')[0].id === profileQuestion.id;\n\n switch (profileQuestion.inputType) {\n case 'final_rejection':\n case 'loading':\n case 'working_with_children':\n return null;\n default:\n return (\n <>\n
\n \n
\n \n Go to previous\n
\n \n
\n\n
\n \n Go to previous\n \n
\n \n );\n }\n }, [\n profileQuestionsPrimitive,\n profileQuestion.id,\n profileQuestion.inputType,\n profileQuestion.name,\n canSaveData,\n handleSubmit,\n handleSaveAnswer,\n handlePrevious,\n ]);\n\n if (hideActions || (!backwardButton && !forwardButton)) {\n return null;\n }\n\n return (\n \n {backwardButton}\n {forwardButton}\n \n );\n};\n\nOnboardingStepActions.displayName = 'OnboardingStepActions';\n","import type { OnboardingStepProps } from 'features/OnboardingFlow/OnboardingStep.types';\nimport { useWizard } from 'react-use-wizard';\nimport { Fragment, useContext, useEffect, useMemo } from 'react';\nimport { Tab, Transition } from '@headlessui/react';\nimport { OnboardingInput } from 'features/OnboardingFlow/OnboardingInput';\nimport { FormProvider, useForm } from 'react-hook-form';\nimport { Skeleton } from 'components/Skeleton';\nimport map from 'lodash/map';\nimport toString from 'lodash/toString';\nimport includes from 'lodash/includes';\nimport { useRouter } from 'next/router';\nimport { isJSONParsable } from 'util/validations';\nimport { AuxiliaryDataContext } from 'features/OnboardingFlow/AuxiliaryDataContext';\nimport clsx from 'clsx';\nimport { CheckIcon } from 'icons/outline';\nimport { CategoryToHeadingMap } from 'features/OnboardingFlow/OnboardingFlow.constants';\nimport groupBy from 'lodash/groupBy';\nimport sortBy from 'lodash/sortBy';\nimport toNumber from 'lodash/toNumber';\nimport filter from 'lodash/filter';\nimport { OnboardingStepActions } from 'features/OnboardingFlow/OnboardingStepActions';\nimport { useFeatureFlag } from 'hooks/redux/useFeatureFlag';\nimport { OnboardingEvent } from 'util/resources';\nimport { sanitizeTags } from 'util/formatting/string';\n\nconst DEFAULT_TIME = {\n startTime: '8:00 AM',\n endTime: '5:00 PM',\n};\n\nconst DEFAULT_SCHEDULE = {\n Monday: [DEFAULT_TIME],\n Tuesday: [DEFAULT_TIME],\n Wednesday: [DEFAULT_TIME],\n Thursday: [DEFAULT_TIME],\n Friday: [DEFAULT_TIME],\n};\n\nexport const OnboardingStep = (props: OnboardingStepProps) => {\n const { step, onComplete } = props;\n\n const router = useRouter();\n\n const hasAutoCompleteFlagEnabled = useFeatureFlag('open_ai_auto_complete_onboarding');\n\n const { activeStep: activeStepIndex, goToStep } = useWizard();\n\n const {\n steps,\n profileQuestionAnswers,\n loadingProfileQuestionAnswers,\n refreshProfileQuestionAnswers,\n getStepIndexByName,\n direction,\n resumeParsingStatus,\n activeWorkHistory,\n } = useContext(AuxiliaryDataContext);\n\n const profileQuestionAnswersPrimitive = map(profileQuestionAnswers, ({ id }) => id).join(',');\n\n const profileQuestionAnswer = useMemo(\n () =>\n step?.id && profileQuestionAnswers?.length\n ? profileQuestionAnswers?.find(\n (profileQuestionAnswer) => profileQuestionAnswer.profileQuestionId === step.id,\n )\n : null,\n [step?.id, profileQuestionAnswersPrimitive],\n );\n\n const activeStep = steps[activeStepIndex];\n\n useEffect(() => {\n if (\n resumeParsingStatus === 'running' &&\n hasAutoCompleteFlagEnabled &&\n activeStep?.name !== 'parsing_resume'\n ) {\n goToStep(getStepIndexByName('parsing_resume'));\n }\n }, [resumeParsingStatus, hasAutoCompleteFlagEnabled, activeStep?.name]);\n\n const formMethods = useForm();\n const { setValue, watch } = formMethods;\n\n watch(step.name);\n\n const transitionProps =\n direction === 'previous'\n ? {\n enter: 'transition ease-in-out duration-400 transform',\n enterFrom: 'opacity-0 -translate-x-8',\n enterTo: 'opacity-200 translate-x-0',\n leave: 'transition ease-in-out duration-400 transform',\n leaveFrom: 'opacity-200 translate-x-0',\n leaveTo: 'opacity-0 translate-x-8',\n }\n : {\n enter: 'transition ease-in-out duration-400 transform',\n enterFrom: 'opacity-0 translate-x-8',\n enterTo: 'opacity-200 translate-x-0',\n leave: 'transition ease-in-out duration-400 transform',\n leaveFrom: 'opacity-200 translate-x-0',\n leaveTo: 'opacity-0 -translate-x-8',\n };\n\n // Change step on router.query change\n useEffect(() => {\n if (router.isReady) {\n if (activeStep.name !== toString(router.query.stepName) && step.name !== activeStep.name) {\n goToStep(getStepIndexByName(toString(router.query.stepName)));\n }\n }\n }, [router.query.stepName]);\n\n useEffect(() => {\n if (router.isReady) {\n if (router.query.stepName !== activeStep.name) {\n void router.push({\n pathname: router.pathname,\n query: {\n ...router.query,\n stepName: activeStep.name,\n },\n });\n }\n }\n }, [activeStep.name]);\n\n useEffect(() => {\n refreshProfileQuestionAnswers();\n void OnboardingEvent.create({\n event: 'viewed',\n profileQuestionId: step.id,\n });\n }, []);\n\n useEffect(() => {\n const handleRouteChange = (url: string) => {\n if (url.includes('onboarding') && url.includes('stepName=')) {\n const stepName = url.split('=').pop();\n if (router.isReady && stepName && stepName !== activeStep.name) {\n goToStep(getStepIndexByName(toString(stepName)));\n }\n }\n };\n\n router.events.on('routeChangeComplete', handleRouteChange);\n\n return () => {\n router.events.off('routeChangeComplete', handleRouteChange);\n };\n }, [router.isReady]);\n\n useEffect(() => {\n if (!loadingProfileQuestionAnswers) {\n switch (step.inputType) {\n case 'autocomplete':\n case 'desired_location':\n case 'multi-option':\n if (isJSONParsable(toString(profileQuestionAnswer?.value))) {\n setValue(step.name, JSON.parse(toString(profileQuestionAnswer?.value)));\n } else {\n setValue(step.name, null);\n }\n break;\n case 'weekly_availability':\n if (profileQuestionAnswer?.value) {\n setValue(step.name, toString(profileQuestionAnswer.value));\n } else {\n setValue(step.name, JSON.stringify(DEFAULT_SCHEDULE));\n }\n break;\n default:\n setValue(step.name, profileQuestionAnswer?.value);\n break;\n }\n }\n }, [profileQuestionAnswer?.value, loadingProfileQuestionAnswers]);\n\n const hasNoCounter = useMemo(\n () =>\n includes(['loading', 'rejection', 'final_rejection'], step.inputType) ||\n (step.inputType === 'work_history' && Boolean(activeWorkHistory)),\n [step.inputType, activeWorkHistory],\n );\n const hasCustomHeading = useMemo(\n () =>\n includes(\n [\n 'education_history',\n 'file_upload',\n 'generic_file_upload',\n 'final_rejection',\n 'loading',\n 'landing_page',\n 'profile_picture',\n 'rejection',\n 'text_area',\n 'video_ask',\n 'work_history',\n ],\n step.inputType,\n ),\n [step.inputType],\n );\n const hasQuestionCount = useMemo(\n () =>\n includes(['eligibility', 'job_preferences'], step.category) &&\n !includes(['rejection', 'final_rejection', 'loading'], step.inputType),\n [step.category, step.inputType],\n );\n\n const hasCustomFrame = useMemo(\n () => includes(['rejection', 'final_rejection'], step.inputType),\n [step.inputType],\n );\n\n const countableSteps = filter(\n steps,\n ({ inputType }) => !['loading', 'rejection', 'final_rejection'].includes(inputType),\n );\n\n const stepCount = filter(countableSteps, ({ category }) => category === step.category).length;\n const activeStepIndexInCategory = filter(\n countableSteps,\n ({ category }) => category === step.category,\n ).findIndex(({ name }) => name === step.name);\n\n const stepSections = groupBy(\n sortBy(steps, ({ order }) => toNumber(order)),\n 'category',\n );\n const sectionNames = Object.keys(stepSections);\n\n const activeCategoryIndex = useMemo(\n () => sectionNames.indexOf(step.category),\n [step.category, stepSections],\n );\n\n const activeCategoryHeading = useMemo(\n () => CategoryToHeadingMap.get(sectionNames[activeCategoryIndex]),\n [activeCategoryIndex, stepSections],\n );\n\n return (\n {\n const newCategory = sectionNames[index];\n goToStep(getStepIndexByName(stepSections[newCategory][0].name));\n }}\n >\n {hasNoCounter ? null : (\n <>\n

{activeCategoryHeading}

\n\n \n {map(sectionNames, (category, categoryIndex) => {\n const disabled = categoryIndex > activeCategoryIndex;\n const completed = categoryIndex < activeCategoryIndex;\n\n return (\n \n {(categoryIndex > 0 || null) && (\n
\n )}\n\n \n {({ selected }) => (\n \n {completed ? (\n \n ) : (\n categoryIndex + 1\n )}\n \n )}\n \n \n );\n })}\n \n \n )}\n\n \n {Object.entries(stepSections).map(([category]) => (\n \n \n \n \n {(hasQuestionCount || null) && (\n

\n Question {activeStepIndexInCategory + 1} of {stepCount}\n

\n )}\n\n {loadingProfileQuestionAnswers ? (\n
\n \n \n
\n
\n \n \n
\n
\n \n \n
\n
\n
\n ) : hasCustomHeading ? (\n \n ) : (\n <>\n

\n {step.label}\n {(step.required || null) && (\n *\n )}\n

\n {(step.labelSubtext || null) && (\n \n )}\n\n
\n \n
\n \n )}\n
\n \n\n \n \n \n ))}\n \n \n );\n};\n\nOnboardingStep.displayName = 'OnboardingStep';\n","import { useEffect, useState } from 'react';\nimport type { ProfileQuestionAnswerResource } from 'util/resources/ProfileQuestionAnswer';\nimport { ProfileQuestionAnswer } from 'util/resources/ProfileQuestionAnswer';\nimport type { QueryProps } from 'util/resources/APILibrary';\n\ntype UseProfileQuestionAnswerProps = {\n initialQueryProps?: QueryProps;\n initiallyFetch?: boolean;\n};\n\ntype UseProfileQuestionAnswerReturn = {\n profileQuestionAnswers: ProfileQuestionAnswerResource[];\n loading: boolean;\n error: Error;\n fetchProfileQuestionAnswers: () => Promise;\n};\n\nexport const useProfileQuestionAnswers = (\n props?: UseProfileQuestionAnswerProps,\n): UseProfileQuestionAnswerReturn => {\n const { initiallyFetch = true, initialQueryProps = {} } = props || {};\n\n const [profileQuestionAnswers, setProfileQuestionAnswers] =\n useState(null);\n const [loading, setLoading] = useState(true);\n const [error, setError] = useState(null);\n\n const fetchProfileQuestionAnswers = async (query: QueryProps = initialQueryProps) => {\n const { includes = [], select = [], where = {}, order, offset, limit } = query;\n\n setLoading(true);\n await ProfileQuestionAnswer.includes(...includes)\n .select(...select)\n .where(where)\n .order(order)\n .offset(offset)\n .limit(limit)\n .all()\n .then((response) => {\n setLoading(false);\n setProfileQuestionAnswers(response.toArray());\n })\n .catch((error: Error) => {\n setLoading(false);\n setError(error);\n });\n };\n\n useEffect(() => {\n if (initiallyFetch) {\n void fetchProfileQuestionAnswers();\n }\n }, []);\n\n return {\n profileQuestionAnswers,\n loading,\n error,\n fetchProfileQuestionAnswers,\n };\n};\n","import { useEffect, useMemo, useState } from 'react';\nimport { useRouter } from 'next/router';\nimport type { ProfileQuestionResource } from 'util/resources/ProfileQuestion';\nimport { useProfileQuestionAnswers } from 'hooks/useProfileQuestionAnswers';\nimport type { UserProfileResource } from 'util/resources/UserProfile';\nimport map from 'lodash/map';\n\ntype UseTeacherOnboardingProps = {\n profileQuestions: ProfileQuestionResource[];\n userProfile: UserProfileResource;\n loadingUserProfile: boolean;\n};\n\nexport const useTeacherOnboarding = (props: UseTeacherOnboardingProps) => {\n const { profileQuestions = [], userProfile, loadingUserProfile } = props;\n\n const profileQuestionsIdsPrimitive = profileQuestions.map(({ id }) => id).join(',');\n\n const {\n profileQuestionAnswers,\n loading: loadingProfileQuestionAnswers,\n fetchProfileQuestionAnswers,\n } = useProfileQuestionAnswers({\n initialQueryProps: {\n includes: ['profile_question'],\n },\n });\n\n const profileQuestionAnswersPrimitive = JSON.stringify(\n map(profileQuestionAnswers, (pQuestionAnswer) => pQuestionAnswer.attributes()),\n );\n\n const missingRequiredFields = userProfile?.missingRequiredFields || [];\n const missingRequiredFieldsPrimitive = missingRequiredFields.join(',');\n\n const [initialProfileQuestion, setInitialProfileQuestion] =\n useState(undefined);\n\n const router = useRouter();\n\n const loading = useMemo(\n () => loadingUserProfile || loadingProfileQuestionAnswers,\n [loadingUserProfile, loadingProfileQuestionAnswers],\n );\n\n useEffect(() => {\n if (!profileQuestions.length) {\n return;\n }\n\n if (router.isReady && !loading && !initialProfileQuestion) {\n const profileQuestionNameFromQuery = router.query.stepName;\n\n if (Boolean(profileQuestionNameFromQuery)) {\n const profileQuestionFromHash = profileQuestions.find(\n ({ name }) => name === profileQuestionNameFromQuery,\n );\n\n if (profileQuestionFromHash) {\n setInitialProfileQuestion(profileQuestionFromHash);\n return;\n }\n }\n\n setInitialProfileQuestion(\n userProfile?.getFirstUnansweredProfileQuestion(profileQuestions, profileQuestionAnswers),\n );\n return;\n }\n }, [\n router.isReady,\n router.query.stepName,\n userProfile.id,\n profileQuestionsIdsPrimitive,\n profileQuestionAnswersPrimitive,\n missingRequiredFieldsPrimitive,\n loading,\n ]);\n\n return {\n initialProfileQuestion,\n profileQuestionAnswers,\n loadingProfileQuestionAnswers,\n refreshProfileQuestionAnswers: fetchProfileQuestionAnswers,\n loading,\n };\n};\n","import type { OnboardingFlowProps } from './OnboardingFlow.types';\nimport map from 'lodash/map';\nimport { Wizard } from 'react-use-wizard';\nimport { useMemo } from 'react';\nimport { OnboardingStep } from 'features/OnboardingFlow/OnboardingStep';\nimport isUndefined from 'lodash/isUndefined';\nimport { AuxiliaryDataProvider } from 'features/OnboardingFlow/AuxiliaryDataContext';\nimport { useTeacherOnboarding } from 'features/OnboardingFlow/useTeacherOnboarding';\nimport { useRouter } from 'next/router';\nimport { useUser } from 'hooks/redux/useUser';\nimport { AppRoutes } from 'util/urlFactory';\n\nexport const OnboardingFlow = (props: OnboardingFlowProps) => {\n const { steps = [] } = props;\n\n const router = useRouter();\n\n const stepsPrimitive = steps.map(({ id }) => id).join(',');\n\n const { currentUserProfile: userProfile, loading: loadingUserProfile } = useUser();\n\n const { initialProfileQuestion } = useTeacherOnboarding({\n profileQuestions: steps,\n userProfile,\n loadingUserProfile,\n });\n\n const initialStepIndex = useMemo(() => {\n if (!initialProfileQuestion) {\n return undefined;\n }\n\n return steps.findIndex(({ id }) => id === initialProfileQuestion.id);\n }, [initialProfileQuestion?.id, stepsPrimitive]);\n\n const handleCompletedOnboarding = () => {\n void router.push(AppRoutes.SEARCH_JOBS);\n };\n\n return (\n
\n {(!isUndefined(initialStepIndex) || null) && (\n \n \n {map(steps, (step) => (\n \n ))}\n \n \n )}\n
\n );\n};\n\nOnboardingFlow.displayName = 'OnboardingFlow';\n","export { OnboardingFlow } from './OnboardingFlow';\nexport type { OnboardingFlowProps } from './OnboardingFlow.types';\n","import FullPageLoading from 'components/loading/full_page';\nimport Authenticated from 'components/auth/Authenticated';\nimport React, { useEffect, useState } from 'react';\nimport { ProfileQuestionResource } from 'util/resources/ProfileQuestion';\nimport { useUser } from 'hooks/redux/useUser';\nimport { Geography } from 'util/resources/Geography';\nimport Head from 'next/head';\nimport { useDispatch } from 'react-redux';\nimport { fetchGeographyOptions } from 'redux/geographies/actions';\nimport { Box } from 'components/Box';\nimport { EarlyDayRoutes } from 'util/urlFactory';\nimport { AsLink, Button } from 'components/Button';\nimport OnboardingLayout from 'components/layouts/Onboarding';\nimport { OnboardingFlow } from 'features/OnboardingFlow';\n\nexport const TeacherOnboardingPage = () => {\n const { currentUserProfile: userProfile, loading: loadingUserProfile, geography } = useUser();\n\n const [steps, setSteps] = useState([]);\n\n const [unsupportedGeography, setUnsupportedGeography] = useState(false);\n\n const dispatch = useDispatch();\n\n useEffect(() => {\n if (geography?.id) {\n void Geography.includes('profile_questions')\n .find(geography.id)\n .then((geographyResource) => {\n setSteps(geographyResource.profileQuestions().toArray());\n })\n .catch(() => {\n alert('Error loading geography requirements');\n setUnsupportedGeography(true);\n });\n\n dispatch(fetchGeographyOptions());\n }\n }, [geography?.id]);\n\n if (loadingUserProfile || !userProfile?.id || !geography?.id) {\n return (\n \n \n \n );\n }\n\n if (unsupportedGeography) {\n return (\n <>\n \n Unsupported State - EarlyDay.com\n \n
\n \n
\n

We're not in this location yet

\n

\n Sorry, we're not currently live in this location. We'll be in touch when\n we launch!\n

\n as=\"a\" href={EarlyDayRoutes.HOME} size=\"lg\">\n Home\n \n
\n
\n
\n \n );\n }\n\n return (\n \n \n Onboarding\n \n \n \n \n \n );\n};\n\nTeacherOnboardingPage.displayName = 'TeacherOnboardingPage';\n\nexport default TeacherOnboardingPage;\n","import { Geography, GeographyOption } from 'util/resources';\nimport { hiringHeroConfigsLoadSuccesss } from 'redux/hiring_hero_configs';\nimport * as types from './types';\n\nfunction startLoadGeographies() {\n return { type: types.GEOGRAPHIES_LOAD_START };\n}\n\nfunction startLoadCurrentGeography() {\n return { type: types.CURRENT_GEOGRAPHY_LOAD_START };\n}\n\nfunction successLoadCurrentGeography(payload) {\n return { type: types.CURRENT_GEOGRAPHY_LOAD_SUCCESS, payload };\n}\n\nfunction failureLoadCurrentGeography(payload) {\n return { type: types.CURRENT_GEOGRAPHY_LOAD_FAILURE, payload };\n}\n\nfunction successLoadGeographies(payload) {\n return { type: types.GEOGRAPHIES_LOAD_SUCCESS, payload };\n}\nfunction successLoadSuggestedGeography(payload) {\n return { type: types.GEOGRAPHY_SUGGESTED_LOAD_SUCCESS, payload };\n}\nfunction successLoadGeographyLocations(payload) {\n return { type: types.GEOGRAPHIES_LOCATIONS_LOAD_SUCCESS, payload };\n}\nfunction failureLoadGeographyLocations(payload) {\n return { type: types.GEOGRAPHIES_LOCATIONS_LOAD_FAILURE, payload };\n}\nfunction failureLoadGeographies(payload) {\n return { type: types.GEOGRAPHIES_LOAD_FAILURE, payload };\n}\n\nfunction startLoadGeographyOptions() {\n return { type: types.GEOGRAPHY_OPTIONS_LOAD_START };\n}\nfunction successLoadGeographyOptions(payload) {\n return { type: types.GEOGRAPHY_OPTIONS_LOAD_SUCCESS, payload };\n}\n\nfunction failureLoadGeographyOptions(payload) {\n return { type: types.GEOGRAPHY_OPTION_LOAD_FAILURE, payload };\n}\n\nexport function fetchGeographies() {\n return async (dispatch) => {\n dispatch(startLoadGeographies());\n\n try {\n const geographiesCollection = await Geography.includes('hiring_hero_configs').all();\n const geographies = geographiesCollection.all();\n dispatch(successLoadGeographies(geographies));\n const { closestGeography } = geographiesCollection.meta();\n\n if (closestGeography) {\n const geography = geographies.find((geography) => closestGeography.id === geography.id);\n const hiringHeroConfigs = geography.hiringHeroConfigs().toArray();\n dispatch(successLoadSuggestedGeography(closestGeography));\n dispatch(hiringHeroConfigsLoadSuccesss(hiringHeroConfigs));\n }\n } catch (e) {\n console.error(e);\n dispatch(failureLoadGeographies());\n }\n };\n}\n\nexport function fetchGeographyOptions(category) {\n return async (dispatch, getState) => {\n const { employer, currentUserProfile } = getState();\n dispatch(startLoadGeographyOptions());\n\n const geographyId = employer.employer.geographyId || currentUserProfile.geography.id;\n try {\n const options = await GeographyOption.where({\n category,\n geography_id: geographyId,\n })\n .includes('geography')\n .all();\n\n const userProfileRegisterableGeos = options\n .all()\n .filter((opt) => opt.geography()?.userProfileRegisterable);\n\n dispatch(successLoadGeographyOptions(userProfileRegisterableGeos));\n } catch (e) {\n console.error(e);\n dispatch(failureLoadGeographyOptions());\n }\n };\n}\n\nexport function fetchCurrentGeography() {\n return async (dispatch, getState) => {\n const { employer, currentUserProfile } = getState();\n dispatch(startLoadCurrentGeography());\n\n const geographyId = employer.employer.geographyId || currentUserProfile.geography.id;\n try {\n const geo = await Geography.includes('profile_questions').find(geographyId);\n\n dispatch(successLoadCurrentGeography(geo));\n } catch (e) {\n console.error(e);\n dispatch(failureLoadCurrentGeography());\n }\n };\n}\n\nexport function fetchGeographyOptionLocations(geography_id = '') {\n return async (dispatch) => {\n try {\n let options;\n if (geography_id) {\n options = await GeographyOption.where({\n category: 'location',\n geography_id: geography_id,\n }).all();\n } else {\n options = await GeographyOption.includes('geography')\n .where({\n category: 'location',\n })\n .all();\n }\n\n dispatch(successLoadGeographyLocations(options.all()));\n } catch (e) {\n console.error(e);\n dispatch(failureLoadGeographyLocations());\n }\n };\n}\n","export enum AnalyticsEvents {\n ATS_CLICK_INVITE_TO_INTERVIEW = 'ATS_CLICK_INVITE_TO_INTERVIEW',\n ATS_CLICK_SEND_MESSAGE = 'ATS_CLICK_SEND_MESSAGE',\n ATS_CLICK_DOWNLOAD_RESUME = 'ATS_CLICK_DOWNLOAD_RESUME',\n ATS_CLICK_CONTACT_INFO = 'ATS_CLICK_CONTACT_INFO',\n ATS_CLICK_NOTES = 'ATS_CLICK_NOTES',\n ATS_CLICK_APPLICANT = 'ATS_CLICK_APPLICANT',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_FEEDBACK = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_FEEDBACK',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_FEEDBACK_ADD_MORE = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_FEEDBACK_ADD_MORE',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_FEEDBACK_HIRE_DENIED = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_FEEDBACK_HIRE_DENIED',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_ADDITIONAL_FOR_ROLES = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_ADDITIONAL_FOR_ROLES',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_FOR_ROLES = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_FOR_ROLES',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_SOMEONE_LATELY = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_SOMEONE_LATELY',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_WHO = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_WHO',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_WHO_ELSE = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_WHO_ELSE',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_REASON_NOT_EARLYDAY = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_REASON_NOT_EARLYDAY',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_TEACHER_HIRED_SOMEONE = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_TEACHER_HIRED_SOMEONE',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_TEACHER_HIRE_CONFIRMATION = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_TEACHER_HIRE_CONFIRMATION',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_WHICH_PLATFORM = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_WHICH_PLATFORM',\n EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_WHICH_THIRD_PARTY_PLATFORMS = 'EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_WHICH_THIRD_PARTY_PLATFORMS',\n EMPLOYER_HIRING_UPDATE_FLOW_START = 'EMPLOYER_HIRING_UPDATE_FLOW_START',\n EMPLOYER_JOB_LISTING_STATUS_CHANGED = 'EMPLOYER_JOB_LISTING_STATUS_CHANGED',\n JOB_SEARCH_STATUS_FLOW_ABORT = 'JOB_SEARCH_STATUS_FLOW_ABORT',\n JOB_SEARCH_STATUS_FLOW_COMPLETE_APPLICATION_WITHDRAW_STEP = 'JOB_SEARCH_STATUS_FLOW_COMPLETE_APPLICATION_WITHDRAW_STEP',\n JOB_SEARCH_STATUS_FLOW_COMPLETE_EMPLOYER_STEP = 'JOB_SEARCH_STATUS_FLOW_COMPLETE_EMPLOYER_STEP',\n JOB_SEARCH_STATUS_FLOW_COMPLETE_FEEDBACK_STEP = 'JOB_SEARCH_STATUS_FLOW_COMPLETE_FEEDBACK_STEP',\n JOB_SEARCH_STATUS_FLOW_COMPLETE_FIND_JOB_STEP = 'JOB_SEARCH_STATUS_FLOW_COMPLETE_FIND_JOB_STEP',\n JOB_SEARCH_STATUS_FLOW_COMPLETE_PLATFORM_STEP = 'JOB_SEARCH_STATUS_FLOW_COMPLETE_PLATFORM_STEP',\n JOB_SEARCH_STATUS_FLOW_COMPLETE_STATUS_STEP = 'JOB_SEARCH_STATUS_FLOW_COMPLETE_STATUS_STEP',\n JOB_SEARCH_STATUS_FLOW_START = 'JOB_SEARCH_STATUS_FLOW_START',\n JOB_CARD_LIKE_BUTTON_CLICKED = 'JOB_CARD_LIKE_BUTTON_CLICKED',\n USER_PROFILE_CARD_LIKE_BUTTON_CLICKED = 'USER_PROFILE_CARD_LIKE_BUTTON_CLICKED',\n OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT = 'OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT',\n OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT_APPLIED = 'OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT_APPLIED',\n OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT_DISMISSED = 'OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT_DISMISSED',\n OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT_GENERATE_NEW_VERSION = 'OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT_GENERATE_NEW_VERSION',\n OPEN_AI_CLICK_DISMISS_CHAT_SUGGESTIONS = 'OPEN_AI_CLICK_DISMISS_CHAT_SUGGESTIONS',\n OPEN_AI_CLICK_INTERVIEW_MESSAGE_BUTTON = 'OPEN_AI_CLICK_INTERVIEW_MESSAGE_BUTTON',\n OPEN_AI_CLICK_INTERVIEW_MESSAGE_DISMISS_BUTTON = 'OPEN_AI_CLICK_INTERVIEW_MESSAGE_DISMISS_BUTTON',\n OPEN_AI_CLICK_JOB_DESCRIPTION_DIFFERENT_VERSION = 'OPEN_AI_CLICK_JOB_DESCRIPTION_DIFFERENT_VERSION',\n OPEN_AI_CLICK_JOB_DESCRIPTION_DISMISS_BUTTON = 'OPEN_AI_CLICK_JOB_DESCRIPTION_DISMISS_BUTTON',\n OPEN_AI_CLICK_JOB_DESCRIPTION_IMPROVEMENT = 'OPEN_AI_CLICK_JOB_DESCRIPTION_IMPROVEMENT',\n OPEN_AI_CLICK_JOB_DESCRIPTION_USE_THIS_VERSION = 'OPEN_AI_CLICK_JOB_DESCRIPTION_USE_THIS_VERSION',\n PROFILE_PAGE_CLICK_EDIT_PROFILE = 'PROFILE_PAGE_CLICK_EDIT_PROFILE',\n PROFILE_PAGE_CLICK_PREVIEW_PROFILE = 'PROFILE_PAGE_CLICK_PREVIEW_PROFILE',\n CLICK_TEACHER_CARD = 'CLICK_TEACHER_CARD',\n CLICK_ON_APPLY_VIDEO_ASK_LINK = 'CLICK_ON_APPLY_VIDEO_ASK',\n EDUCATOR_CLICK_ON_SAVE_FILTERS_BUTTON = 'EDUCATOR_CLICK_ON_SAVE_FILTERS_BUTTON',\n EMPLOYER_CLICK_ON_SAVE_FILTERS_BUTTON = 'EMPLOYER_CLICK_ON_SAVE_FILTERS_BUTTON',\n}\n\nexport const AnalyticsEventNames: Record = {\n [AnalyticsEvents.ATS_CLICK_INVITE_TO_INTERVIEW]: 'Click interview on applicants table',\n [AnalyticsEvents.ATS_CLICK_SEND_MESSAGE]: 'Click message on applicants table',\n [AnalyticsEvents.ATS_CLICK_CONTACT_INFO]: 'Click Contact Info [ATS]',\n [AnalyticsEvents.ATS_CLICK_NOTES]: 'Click Notes [ATS]',\n [AnalyticsEvents.ATS_CLICK_DOWNLOAD_RESUME]: 'Click Download Resume [ATS]',\n [AnalyticsEvents.ATS_CLICK_APPLICANT]: 'Click on View Applicant [ATS]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_FEEDBACK]:\n 'Complete feedback step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_FEEDBACK_ADD_MORE]:\n 'Complete feedback add more step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_FEEDBACK_HIRE_DENIED]:\n 'Complete feedback hire denied step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_ADDITIONAL_FOR_ROLES]:\n 'Complete hired additional for roles step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_FOR_ROLES]:\n 'Complete hired for roles step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_SOMEONE_LATELY]:\n 'Complete hired someone lately step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_WHO]:\n 'Complete hired who step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_HIRED_WHO_ELSE]:\n 'Complete hired who else step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_REASON_NOT_EARLYDAY]:\n 'Complete reason not EarlyDay step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_TEACHER_HIRED_SOMEONE]:\n 'Complete teacher hired someone step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_TEACHER_HIRE_CONFIRMATION]:\n 'Complete teacher hire confirmation step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_WHICH_PLATFORM]:\n 'Complete which platform step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_COMPLETE_WHICH_THIRD_PARTY_PLATFORMS]:\n 'Complete which third party platforms step [Hiring Update Flow]',\n [AnalyticsEvents.EMPLOYER_HIRING_UPDATE_FLOW_START]: 'Started flow [Hiring Update Flow]',\n [AnalyticsEvents.JOB_CARD_LIKE_BUTTON_CLICKED]: 'Job Card Like Button Clicked',\n [AnalyticsEvents.USER_PROFILE_CARD_LIKE_BUTTON_CLICKED]: 'User Profile Card Like Button Clicked',\n [AnalyticsEvents.EMPLOYER_JOB_LISTING_STATUS_CHANGED]: 'Changed Job Status',\n [AnalyticsEvents.JOB_SEARCH_STATUS_FLOW_ABORT]: 'Aborted flow [Job Search Status Update Flow]',\n [AnalyticsEvents.JOB_SEARCH_STATUS_FLOW_COMPLETE_APPLICATION_WITHDRAW_STEP]:\n 'Complete application withdraw step [Job Search Status Update Flow]',\n [AnalyticsEvents.JOB_SEARCH_STATUS_FLOW_COMPLETE_EMPLOYER_STEP]:\n 'Complete employer step [Job Search Status Update Flow]',\n [AnalyticsEvents.JOB_SEARCH_STATUS_FLOW_COMPLETE_FEEDBACK_STEP]:\n 'Complete feedback step [Job Search Status Update Flow]',\n [AnalyticsEvents.JOB_SEARCH_STATUS_FLOW_COMPLETE_FIND_JOB_STEP]:\n 'Complete find job step [Job Search Status Update Flow]',\n [AnalyticsEvents.JOB_SEARCH_STATUS_FLOW_COMPLETE_PLATFORM_STEP]:\n 'Complete platform step [Job Search Status Update Flow]',\n [AnalyticsEvents.JOB_SEARCH_STATUS_FLOW_COMPLETE_STATUS_STEP]:\n 'Complete status selection step [Job Search Status Update Flow]',\n [AnalyticsEvents.JOB_SEARCH_STATUS_FLOW_START]: 'Started flow [Job Search Status Update Flow]',\n [AnalyticsEvents.OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT]: 'About Me Improvement Clicked [OpenAI]',\n [AnalyticsEvents.OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT_APPLIED]:\n 'About Me Improvement Use this version Clicked [OpenAI]',\n [AnalyticsEvents.OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT_DISMISSED]:\n 'About Me Improvement Dismiss this version Clicked [OpenAI]',\n [AnalyticsEvents.OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT_GENERATE_NEW_VERSION]:\n 'About Me Improvement Generate New Version Clicked [OpenAI]',\n [AnalyticsEvents.OPEN_AI_CLICK_DISMISS_CHAT_SUGGESTIONS]: 'Dismiss chat suggestions [OpenAI]',\n [AnalyticsEvents.OPEN_AI_CLICK_INTERVIEW_MESSAGE_BUTTON]:\n 'Click on interview message button [OpenAI]',\n [AnalyticsEvents.OPEN_AI_CLICK_INTERVIEW_MESSAGE_DISMISS_BUTTON]:\n 'Dismiss interview message [OpenAI]',\n [AnalyticsEvents.OPEN_AI_CLICK_JOB_DESCRIPTION_DIFFERENT_VERSION]:\n 'Job Description Improvement Generate a different version Clicked [OpenAI]',\n [AnalyticsEvents.OPEN_AI_CLICK_JOB_DESCRIPTION_DISMISS_BUTTON]:\n 'Job Description Improvement Dismiss and use my original version Clicked [OpenAI]',\n [AnalyticsEvents.OPEN_AI_CLICK_JOB_DESCRIPTION_IMPROVEMENT]:\n 'Job Description Improvement Clicked [OpenAI]',\n [AnalyticsEvents.OPEN_AI_CLICK_JOB_DESCRIPTION_USE_THIS_VERSION]:\n 'Job Description Improvement Use this version Clicked [OpenAI]',\n [AnalyticsEvents.PROFILE_PAGE_CLICK_EDIT_PROFILE]: 'Click Edit My Profile [Profile Page]',\n [AnalyticsEvents.PROFILE_PAGE_CLICK_PREVIEW_PROFILE]: 'Click Preview My Profile [Profile Page]',\n [AnalyticsEvents.CLICK_TEACHER_CARD]: 'Click on a teacher card',\n [AnalyticsEvents.CLICK_ON_APPLY_VIDEO_ASK_LINK]: 'Click on video ask link on first application',\n [AnalyticsEvents.EDUCATOR_CLICK_ON_SAVE_FILTERS_BUTTON]:\n 'Click on the Save filters for future serches button (Educator)',\n [AnalyticsEvents.EMPLOYER_CLICK_ON_SAVE_FILTERS_BUTTON]:\n 'Click on the Save filters for future searches button (Employer)',\n};\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"Box_container__dncNm\",\"prose\":\"Box_prose__XfUPo\",\"prose-sm\":\"Box_prose-sm__wXJ0Y\",\"prose-view\":\"Box_prose-view__yTSQ_\",\"root\":\"Box_root__Bju99\",\"hoverable\":\"Box_hoverable__tddu8\",\"hover\":\"Box_hover__UrS6h\",\"sm:prose\":\"Box_sm__prose__lxf1V\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"CloseButton_container__rz1xe\",\"prose\":\"CloseButton_prose__k0jlb\",\"prose-sm\":\"CloseButton_prose-sm__kriuW\",\"prose-view\":\"CloseButton_prose-view__HW47n\",\"root\":\"CloseButton_root__AhTj6\",\"hover\":\"CloseButton_hover__1zEPK\",\"focus\":\"CloseButton_focus__ALyqZ\",\"sm:prose\":\"CloseButton_sm__prose__P3hxJ\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"IconButton_container__Pk3gT\",\"prose\":\"IconButton_prose__JRKbm\",\"prose-sm\":\"IconButton_prose-sm__gSKjX\",\"prose-view\":\"IconButton_prose-view__gkGAU\",\"root\":\"IconButton_root__ZTk63\",\"square\":\"IconButton_square__RL3ai\",\"circle\":\"IconButton_circle__3coiT\",\"sm\":\"IconButton_sm__q5Nx4\",\"md\":\"IconButton_md__42U_E\",\"lg\":\"IconButton_lg__sF0ID\",\"icon\":\"IconButton_icon__RyKvC\",\"solid\":\"IconButton_solid__NVOq0\",\"pure-blue\":\"IconButton_pure-blue__9M8pE\",\"poppy-red\":\"IconButton_poppy-red__pUOCc\",\"hover\":\"IconButton_hover__WxdUV\",\"focus\":\"IconButton_focus__hyjEq\",\"enabled\":\"IconButton_enabled__oVHnV\",\"disabled\":\"IconButton_disabled__f1pIq\",\"outline\":\"IconButton_outline__9RsPh\",\"alone\":\"IconButton_alone___KRzE\",\"loading\":\"IconButton_loading__FGWI2\",\"loader\":\"IconButton_loader___8WNE\",\"sm:prose\":\"IconButton_sm__prose__bs_p5\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"LoadingSpinner_root__nbOZ_\",\"spin\":\"LoadingSpinner_spin__ZxfpH\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"Modal_root__2rcUm\",\"contained\":\"Modal_contained___PeK3\",\"backdrop\":\"Modal_backdrop__bLvvH\",\"debug\":\"Modal_debug___TH5X\",\"panelScroll\":\"Modal_panelScroll__0wdj6\",\"panelWrapper\":\"Modal_panelWrapper__wEP2Y\",\"panel\":\"Modal_panel__xrwOI\",\"paddedTop\":\"Modal_paddedTop__I8TyJ\",\"sm\":\"Modal_sm__coSJB\",\"md\":\"Modal_md__Htqoy\",\"lg\":\"Modal_lg__ADaG_\",\"xl\":\"Modal_xl__7VBm9\",\"heading\":\"Modal_heading__usB8Y\",\"paddedHeading\":\"Modal_paddedHeading__YBUtu\",\"message\":\"Modal_message__dEbk_\",\"closeButton\":\"Modal_closeButton__2CxRz\",\"closeIcon\":\"Modal_closeIcon__Nfeu8\",\"iconWrapper\":\"Modal_iconWrapper__UM_XT\",\"success\":\"Modal_success__xDkaL\",\"warning\":\"Modal_warning__F0LbU\",\"error\":\"Modal_error__LX_dK\",\"info\":\"Modal_info__Uyiwr\",\"icon\":\"Modal_icon__xW5nU\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"ModalActions_root__Uc57w\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"root\":\"ModalBody_root__oj2Ks\"};"],"names":["window","__NEXT_P","push","__webpack_require__","AlertVariantToIconMap","Map","ClapIcon","AlertIcon","AlertHighlightedVariantToIconMap","CheckCircleIcon","InformationIcon","Alert","open","debug","highlighted","variant","children","className","props","FeedbackIcon","get","jsx_runtime","jsx","Transition","as","Fragment","show","enter","enterFrom","enterTo","leave","leaveFrom","leaveTo","div","clsx","jsxs","span","displayName","Box","hoverable","rootProps","classes","hover","ButtonSizeToIconSize","Button","size","color","disabled","loading","isLoading","fullWidth","href","onClick","isButtonDisabled","loaderComponent","LoadingSpinner","ButtonComponent","undefined","focus","Checkbox","id","checked","value","text","checkboxClassName","subLabel","label","length","input","type","readOnly","CheckIcon","CheckboxButton","onChange","providedChecked","defaultChecked","singleSelection","wrap","innerChecked","setInnerChecked","useState","useMemo","Icon","DotIcon","title","event","target","CloseButton","IconButton","shape","CloseIcon","HelperText","error","isDisabled","iconClassName","toString","aria-label","role","aria-hidden","InformationBoxEmojiContent","image","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","p","InformationBox","arrowDirection","positioningStyle","style","data-testid","Link","startsWith","NextLink","LinkComponent","rel","svg","width","height","viewBox","xmlns","path","d","opacity","ModalIconColor","ModalActions","ModalBody","Modal","heading","message","onClose","actionRequired","panelWrapperProps","panelProps","IconElement","iconColor","contained","overlayDismiss","dialogProps","disableScaleAnimation","hasIcon","DialogComponent","Dialog","DialogOverlayComponent","Overlay","DialogTitleComponent","Title","DialogDescriptionComponent","Description","Child","stopPropagation","tabIndex","Radio","name","Select","selectedOption","placeholder","ariaLabel","buttonProps","providedButtonProps","renderSelectedValue","option","Listbox","param","Label","ArrowDownIcon","Options","static","SelectOption","isHeader","description","notSelectable","selectable","Option","active","selected","Skeleton","TextArea","forwardRef","ref","helperText","textarea","TextField","appendix","appendixRef","useRef","rightPadding","setRightPadding","useEffect","current","clientWidth","htmlFor","paddingRight","TrackedCallback","Component","callbacks","componentProps","callbackKeys","Object","keys","componentPropsKeys","validOverrideKeys","intersection","propsWithoutOverrideKeys","difference","propsWithoutOverride","pick","childrenProps","useTrackedEvents","reduce","acc","propName","handler","AvatarUploadBrowser","dynamic","Promise","all","e","then","bind","mod","AvatarUpload","ssr","UseVersionButton","onApply","extraClasses","concat","TrackableUseVersionButton","eventKey","AnalyticsEvents","OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT_APPLIED","DismissButton","onDismiss","TrackableDismissButton","OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT_DISMISSED","GenerateNewEditButton","onGenerate","TrackedGenerateNewEditButton","OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT_GENERATE_NEW_VERSION","EarlyDayEdit","htmlContent","loadingText","streamMode","scrollTo","top","document","getElementById","offsetTop","behavior","EarlyDayLogoGraphic","h2","LoadingImage","src","dangerouslySetInnerHTML","__html","sanitizeTags","EarlyDayEditorButton","edited","loader","Loader","apiKey","process","version","libraries","serializedPlaceResult","formattedAddress","placeResult","formatted_address","lat","geometry","location","lng","placeId","place_id","PlaceField","placeValue","onPlaceSelect","noop","types","fields","providedValue","textFieldProps","inputRef","autoCompleteRef","place","setPlace","setValue","importLibrary","Autocomplete","locationbias","uniq","addListener","serialized","getPlace","SearchIcon","useAccount","currentAccount","authenticated","loaded","useSelector","account","useCertificationOptions","dispatch","useDispatch","certificationOptions","selectStateCertificationOptions","state","fetchCertificationCategories","useFeatureFlag","flags","flipper","features","flag","enabled","useGeographies","initialFetch","accountLoaded","currentGeography","geographyOptions","fetchGeographies","fetchCurrentGeography","useUser","currentUserProfile","resumeParsingStatus","loadingResumeParsingStatus","jobRecommendations","geography","missingRequiredFields","resumeJobInfos","resume_job_infos","useCurrentUserProfile","initiallyFetch","userProfile","setUserProfile","setLoading","setError","fetchCurrentUserProfile","Account","includes","find","response","catch","refreshUserProfile","postHogCapture","posthogCapture","trackEvent","ahoyTrackEvent","useAhoy","captureEvent","useCallback","payload","entries","callbackName","args","isFunction","AnalyticsEventNames","useProfileQuestionAnswers","profileQuestionAnswers","profileQuestionAnswersLoading","refreshProfileQuestionAnswers","fetchProfileQuestionAnswers","useEducationHistory","initialQueryProps","educationHistory","setEducationHistory","fetchEducationHistory","query","EducationHistory","toArray","useResumeParsingStatus","jobsStatus","setJobsStatus","workHistoriesCount","setWorkHistoriesCount","educationHistoriesCount","setEducationHistoriesCount","fetching","setFetching","loadingUserProfile","pollingTimeout","setPollingTimeout","startPolling","clearTimeout","setTimeout","apiCall","status","work_histories_count","education_histories_count","delay","refreshStatus","resume","useWorkHistory","workHistory","setWorkHistory","fetchWorkHistory","select","where","order","limit","offset","WorkHistory","eventCapture","AuxiliaryDataContext","createContext","AuxiliaryDataProvider","steps","hasUploadedResume","setHasUploadedResume","hasAttachments","setHasAttachments","Boolean","downloadUrl","attachments","aboutAnswer","setAboutAnswer","hasUploadedProfileImage","setHasUploadedProfileImage","hasClickedVideoAskLink","setHasClickedVideoAskLink","appliedAISuggestion","setAppliedAISuggestion","acknowledgedWorkingWithChildren","setAcknowledgedWorkingWithChildren","overwriteAiGeneratedData","setOverwriteAiGeneratedData","unlistedStepsByStep","setUnlistedStepsByStep","unlistedStepsByStepPrimitive","JSON","stringify","updateUnlistedSteps","stepId","stepsToAdd","prev","direction","setDirection","hideActions","setHideActions","loadingWorkHistory","start_date","loadingEducationHistory","loadingProfileQuestionAnswers","profileQuestionAnswersPrimitive","map","pqa","attributes","addedUnlistedSteps","flatten","values","firstLoad","setFirstLoad","initialUnlistedSteps","profileQuestionAnswerQuestion","profileQuestion","options","flowControl","addUnlistedProfileQuestionIds","addedUnlistedStepsPrimitive","activeWorkHistory","setActiveWorkHistory","workHistoryPrimitive","wh","educationHistoryPrimitive","eh","getStepIndexById","findIndex","step","shouldRefreshHistories","setShouldRefreshHistories","workHistoryStep","parsingResumeStep","hasOnlyAiGeneratedWorkHistory","every","hasSomeAiGeneratedWorkHistory","some","hasSomeAiGeneratedEducationHistory","hasExperienceWithChildren","handleNextStep","goToStep","activeStepIndex","isLastStep","onComplete","nextSteps","slice","nextValidStep","unlisted","fetchCurrentProfile","saveSkipStepEvent","OnboardingEvent","create","profileQuestionId","saveAnswer","data","answeredProfileQuestion","answeredProfileQuestionAnswer","dataToBeSaved","isString","isNull","isUndefined","update","Sentry","ProfileQuestionAnswer","Geography","longName","handleSaveAnswer","callback","Provider","hasFilledAbout","getStepIndexByName","getStep","refreshResumeParsingStatus","handlePreviousStep","previousSteps","reverse","previousValidStep","inputType","OnboardingRadio","useContext","control","watch","useFormContext","radioValue","form","Controller","rules","required","render","field","fieldState","RadioGroup","MONTH_OPTIONS","YEAR_OPTIONS","Array","fill","_value","index","year","Date","getFullYear","MonthYearSelect","invalid","month","setMonth","setYear","format","normalizeAbsoluteDate","m","newMonthValue","parse","y","newYearValue","MultiSelectChip","Combobox","MultiSelect","comboboxProps","setQuery","optionsPrimitive","mappedOptions","filteredOptions","filter","deburr","toLowerCase","safeValue","newValue","multiple","mappedOption","valueItem","Input","afterLeave","ActiveStorageFileUpload","ActiveStorageFileUploadBrowser","ReplaceResumeConfirmationDialog","onConfirm","WARNING","BOOLEAN_YES_NO_OPTIONS","REQUIRED_HELPER_TEXT","mapToOption","GRADE_LEVEL_OPTIONS","TEACHING_SETTINGS_OPTIONS","TEACHING_ROLES_OPTIONS","LANGUAGES_OPTIONS","LANGUAGES","JOB_TITLE_OPTIONS","OnboardingWorkHistory","workHistoryControl","handleSubmit","reset","getValues","workHistorySetValue","trigger","useForm","router","useRouter","hasAutoCompleteFlagEnabled","previousStep","useWizard","eucationalApproachesOptions","filterable_education_philosophy","AppRoutes","EDUCATOR_ONBOARDING","fileUploading","setFileUploading","checkIncompleteWithChildrenInfo","isResourceValid","element","scrollIntoView","handleAddWorkHistory","build","onSaveWorkHistory","onCancel","handleEditWorkHistory","workHistoryItem","jobTitle","company","city","startDate","endDate","workedWithChildren","gradeLevels","teachingSettings","approaches","languages","teachingRoles","handleDeleteWorkHistory","destroy","handleFileUpload","upload","updateProfile","handleBack","defaultValue","SelectButton","searchable","allowCustomValue","validate","rows","isBoolean","h5","Banner","noBorder","intent","checkboxValue","v","hr","ArrowLeftLongIcon","TrashIcon","h4","fileName","filename","fileDownloadUrl","onSetSignedId","acceptableFiles","downloadLabel","customError","customFileRejectionError","ConfirmationDialog","hasIncompleteWithChildrenInfo","areDatesValid","getExperienceDurationText","AgeIcon","ArrowRightIcon","PlusIcon","RichTextEditor","showPlaceholderOnAllLines","undo","redo","editor","useEditor","onUpdate","html","getHTML","extensions","Placeholder","configure","StarterKit","Underline","editable","editorProps","class","tiptap","isDestroyed","commands","setContent","isButtonActive","isActive","button","chain","toggleBold","run","FontAwesomeIcon","icon","faBold","toggleItalic","faItalic","toggleUnderline","faUnderline","toggleBulletList","faList","toggleOrderedList","faListNumeric","faUndo","faRedo","EditorContent","AboutInformationBox","OnboardingAbout","aboutValue","aiSuggestion","setAiSuggestion","dismissedAISuggestion","setDismissedAISuggestion","clickedGenerator","setClickedGenerator","setLoaded","showEdited","setShowEdited","handleGenerateAiSuggestion","body","text_area_content","hasMinimumSize","aboutLength","trim","htmlToString","personalExperienceWithChildrenAnswer","profileQuestionName","hasPersonalExperienceWithChildren","aboutProfileQuestionAnswer","localHasUnsavedChanges","isNil","pageIntent","setPageIntent","showLoseInformationDialog","setShowLoseInformationDialog","alertUser","preventDefault","returnValue","addEventListener","removeEventListener","beforePopState","url","history","pushState","asPath","h3","ul","li","OPEN_AI_CLICK_ABOUT_ME_IMPROVEMENT","OnboardingCheckbox","handleChange","currentValues","valueOption","currentValuesWithoutSingleSelection","reject","o","RADIO_OPTIONS","OnboardingUploadResume","activeStep","beganUploading","setBeganUploading","handleDeleteUpload","handleNext","optionValue","onRemoveFile","OnboardingVideo","embedId","config","split","paddingTop","iframe","allow","allowFullScreen","frameBorder","useEducationLevels","educationLevels","setEducationLevels","fetchEducationLevels","EducationLevel","useEducationFields","educationFields","setEducationFields","fetchEducationFields","EducationField","SCHOOL_OPTIONS","OnboardingEducationHistory","activeEducationHistory","educationHistoryControl","educationHistorySetValue","educationLevelId","setActiveEducationHistory","educationLevelsPrimitive","join","educationLevelOptions","educationLevel","educationFieldsPrimitive","educationFieldOptions","educationField","isLevelHighSchool","filterableEducationLevel","showFieldOfStudy","showMinor","setShowMinor","handleAddEducationHistory","onSaveEducationHistory","currentOrPast","handleEditEducationHistory","educationHistoryItem","major","minor","school","educationHistoryLevel","handleDeleteEducationHistory","handleHaveMinor","handlePrevious","maxOptionsCount","getEducationProgressText","getEducationDurationText","OnboardingWeeklyAvailability","isJSONParsable","weekDaysIntervalsHaveErrors","mapDatabaseValueToComponentValue","WeeklyTimeIntervals","newIntervalDefaultValue","start","end","mapComponentValueToDatabaseValue","teacher1","teacher2","teacher3","OnboardingUploadAvatar","uploadedImage","avatar","hasProfileImage","setSignedId","PostHog","eventName","clone","onUpload","Image","alt","priority","Teacher1","Teacher2","Teacher3","OnboardingVideoAskInput","externalVideoAskUrl","email","fullName","medium","AddVideoIcon","labelSubtext","OnboardingMultiSelect","stringOptions","OnboardingDate","min","useGeographyOptions","geographyId","setGeographyOptions","fetchGeographyOptions","GeographyOption","OnboardingLocationByGeography","category","geographyOption","COMPENSATION_INTERVAL_OPTIONS","DesiredCompensation","valuePrimitive","mode","defaultValues","max","interval","negotiable","minValue","maxValue","intervalValue","negotiableValue","positive","Number","lessThanOrEqualToMax","CurrencyIcon","moreThanOrEqualToMin","buttonLabel","ClockIcon","OnboardingCompensation","parsedValue","toNumber","OnboardingLoading","profileQuestions","profileQuestionsPrimitive","question","answer","replace","pathname","stepName","isWorkHistoryUnanswered","isEducationHistoryUnanswered","firstUnansweredQuestion","getFirstUnansweredProfileQuestion","OnboardingRejection","RejectedGraphic","OnboardingLandingPage","OnboardingUploadGeneric","files","maxFiles","OnboardingText","OnboardingStateCertification","sort","a","b","position","OnboardingInput","CategoryToHeadingMap","OnboardingStepActionsWrapper","OnboardingStepActions","profileQuestionAnswer","formState","dirtyFields","dirtyFieldsPrimitive","setDisabled","hasInvalidEducationHistoryItems","item","hasInvalidWorkHistoryItems","canSaveData","confirmContinueWithoutChildcareExperience","setConfirmContinueWithoutChildcareExperience","handleCloseConfirmation","forwardButton","ArrowRightLongIcon","redirection","signOut","updatedUserProfile","UserProfile","slug","aboutMeAnalysis","mentionsChildren","personalExperienceQuestion","personalExperienceQuestionAnswer","pQuestion","backwardButton","isFirstListedStep","DEFAULT_TIME","startTime","endTime","DEFAULT_SCHEDULE","Monday","Tuesday","Wednesday","Thursday","Friday","OnboardingStep","formMethods","transitionProps","isReady","handleRouteChange","pop","events","on","off","hasNoCounter","hasCustomHeading","hasQuestionCount","hasCustomFrame","countableSteps","stepCount","activeStepIndexInCategory","stepSections","groupBy","sortBy","sectionNames","activeCategoryIndex","indexOf","activeCategoryHeading","Tab","Group","selectedIndex","List","categoryIndex","completed","Panels","Panel","FormProvider","appear","setProfileQuestionAnswers","useTeacherOnboarding","profileQuestionsIdsPrimitive","pQuestionAnswer","missingRequiredFieldsPrimitive","initialProfileQuestion","setInitialProfileQuestion","profileQuestionNameFromQuery","profileQuestionFromHash","OnboardingFlow","stepsPrimitive","initialStepIndex","handleCompletedOnboarding","SEARCH_JOBS","Wizard","startIndex","TeacherOnboardingPage","setSteps","unsupportedGeography","setUnsupportedGeography","geographyResource","alert","Head","h1","EarlyDayRoutes","HOME","Authenticated","OnboardingLayout","FullPageLoading","onboarding","geographiesCollection","geographies","closestGeography","meta","hiringHeroConfigs","hiringHeroConfigsLoadSuccesss","console","getState","employer","userProfileRegisterableGeos","geography_id","opt","userProfileRegisterable","geo","fetchGeographyOptionLocations","module","exports"],"sourceRoot":""}