PageSourceSearch

https://www.classace.io/_next/static/chunks/pages/logout-c1263e22c2efed03.js

js classace.io collected 2026-10-01 12:00:39 UTC 14,266 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[17122,66347,73992,83200,88019],{9812:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var o=n(95916),r=n(73992);function i(e,t){if(t&&e?.currentUser?.uid&&e?.currentUnlockedProfileID){let n=(0,o.A)(t,e,e.currentUnlockedProfileID);(0,r.fetchSkillProgress)(e,n)}e.setProp("currentlySpeakingReadAloudIndex",-1),e.setCSD({currentSkillID:t,isMobileSkillFiltersMenuExpanded:!1,isMobileVocabMenuExpanded:!1,currentlySpeakingReadAloudIndex:-1})}},38912:(e,t,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/logout",function(){return n(68259)}])},39860:(e,t,n)=>{"use strict";n.d(t,{Hm:()=>i,Ih:()=>r});var o=n(80035);let r=e=>{let t;return{promise:new Promise(n=>{t=(0,o.z7)(e,()=>n())}),disposer:t}},i=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"whenDisposer",{promise:o,disposer:i}=r(e);return t[n]=i,o}},45253:(e,t,n)=>{"use strict";function o(e,t,n){e.setCSD({currentGrade:t,currentSubject:n,isMobileSkillFiltersMenuExpanded:!1,isMobileVocabMenuExpanded:!1})}n.d(t,{A:()=>o})},51115:function(e,t){var n,o,r;r=function(e){"use strict";function t(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(e,"__esModule",{value:!0});var n=!1;if("undefined"!=typeof window){var o={get passive(){n=!0}};window.addEventListener("testPassive",null,o),window.removeEventListener("testPassive",null,o)}function r(e){return a.some(function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))})}function i(e){var t=e||window.event;return!!r(t.target)||1<t.touches.length||(t.preventDefault&&t.preventDefault(),!1)}function l(){setTimeout(function(){void 0!==g&&(document.body.style.paddingRight=g,g=void 0),void 0!==d&&(document.body.style.overflow=d,d=void 0)})}var s="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&1<window.navigator.maxTouchPoints),a=[],c=!1,u=-1,d=void 0,g=void 0;e.disableBodyScroll=function(e,o){if(s){if(!e)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");e&&!a.some(function(t){return t.targetElement===e})&&(a=[].concat(t(a),[{targetElement:e,options:o||{}}]),e.ontouchstart=function(e){1===e.targetTouches.length&&(u=e.targetTouches[0].clientY)},e.ontouchmove=function(t){var n;1===t.targetTouches.length&&(n=t.targetTouches[0].clientY-u,r(t.target)||(e&&0===e.scrollTop&&0<n||e&&e.scrollHeight-e.scrollTop<=e.clientHeight&&n<0?i(t):t.stopPropagation()))},c||(document.addEventListener("touchmove",i,n?{passive:!1}:void 0),c=!0))}else setTimeout(function(){if(void 0===g){var e=!!o&&!0===o.reserveScrollBarGap,t=window.innerWidth-document.documentElement.clientWidth;e&&0<t&&(g=document.body.style.paddingRight,document.body.style.paddingRight=t+"px")}void 0===d&&(d=document.body.style.overflow,document.body.style.overflow="hidden")}),a=[].concat(t(a),[{targetElement:e,options:o||{}}])},e.clearAllBodyScrollLocks=function(){s?(a.forEach(function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null}),c&&(document.removeEventListener("touchmove",i,n?{passive:!1}:void 0),c=!1),a=[],u=-1):(l(),a=[])},e.enableBodyScroll=function(e){if(s){if(!e)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");e.ontouchstart=null,e.ontouchmove=null,a=a.filter(function(t){return t.targetElement!==e}),c&&0===a.length&&(document.removeEventListener("touchmove",i,n?{passive:!1}:void 0),c=!1)}else(a=a.filter(function(t){return t.targetElement!==e})).length||l()}},n=[t],void 0===(o=r.apply(t,n))||(e.exports=o)},65995:(e,t,n)=>{"use strict";function o(e,t){return+parseFloat(e).toFixed(t)}n.d(t,{a:()=>o})},68259:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S});var o=n(4902),r=n(37876),i=n(94250),l=n.n(i),s=n(74162);n(77328);var a=n(51115),c=n(14232),u=n(89099),d=n.n(u),g=n(71850),m=n(54238),p=n(23694),h=n(88019),f=n(9812),w=n(45253);class S extends c.Component{constructor(e){super(e),this.onCloseErrorModal=this.onCloseErrorModal.bind(this)}static async getInitialProps(e){let{req:t}=e,{stores:n,pathname:o,query:r}=e;return{}}onCloseErrorModal(){this.props.u.setCS("showErrorMessage",null)}async componentDidMount(){window.GA_INITIALIZED||((0,m.initGA)(),window.GA_INITIALIZED=!0),this.props.u.setProp("viewingPage","logout"),(0,a.clearAllBodyScrollLocks)(),await (0,h.startSignout)(this.props.u),(0,f.A)(this.props.u,null),(0,w.A)(this.props.u,null,null),d().push("/")}render(){let{u:e}=this.props;return p.PRODUCT_NAME,(0,r.jsxs)(g.A,{u:e,children:[(0,r.jsx)("div",{className:"jsx-3d648e2c00d7c5e5 content",children:"Logged out"}),(0,r.jsx)(l(),{id:"3d648e2c00d7c5e5",children:".content.jsx-3d648e2c00d7c5e5{width:100%;height:100vh;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;
1-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}"})]})}}S=(0,o.Cg)([(0,s.WQ)("u"),s.PA],S)},71850:(e,t,n)=>{"use strict";n.d(t,{A:()=>f});var o=n(37876),r=n(94250),i=n.n(r),l=n(14232),s=n(77328),a=n.n(s),c=n(85448),u=n(52203),d=n(23694),g=n(18847),m=n.n(g);let p={margin:0,padding:0,border:"0px solid #DDD"},h=m()(()=>Promise.all([n.e(20419),n.e(51423),n.e(72082)]).then(n.bind(n,51423)),{loadableGenerated:{webpack:()=>[51423]}}),f=e=>{let t=null;t=!0===e.hideNav?null:(0,o.jsxs)(l.Fragment,{children:[(0,o.jsx)(u.A,{aiFunctionsListMinData:e.aiFunctionsListMinData,alwaysVisible:!0}),(0,o.jsx)(c.default,{fixedTop:e.fixedTop})]});let n=e.blogHeader||null,r=d.IS_WRKAI?"WRKAI - AI For Everyone":`${d.PRODUCT_NAME} | AI Tools to Move You Forward`,s=d.IS_WRKAI?"State-of-the-Art Free & Pay-As-You-Go AI tools.":d.IS_SPYCEAI?"AI marketing workflows for research, positioning, advertising, and campaign creation.":"AI tools and resources for students, teachers, creators, and professionals. Trusted by over 10 million users.",g=d.IS_WRKAI?"https://www.wrkai.com/static/share/[email protected]":d.IS_CLASSACE?"https://www.classace.io/static/press/ph-gallery-1.png":"";return(0,o.jsxs)("div",{style:p,className:i().dynamic([["716e8b0e9305f3c9",["Open Sans"]]]),children:[(0,o.jsxs)(a(),{children:[(0,o.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0",className:i().dynamic([["716e8b0e9305f3c9",["Open Sans"]]])},"viewport"),(0,o.jsx)("title",{name:"title",className:i().dynamic([["716e8b0e9305f3c9",["Open Sans"]]]),children:r}),(0,o.jsx)("meta",{name:"ogtitle",property:"og:title",content:r,className:i().dynamic([["716e8b0e9305f3c9",["Open Sans"]]])}),(0,o.jsx)("meta",{name:"ogdescription",property:"og:description",content:s,className:i().dynamic([["716e8b0e9305f3c9",["Open Sans"]]])}),(0,o.jsx)("meta",{name:"description",content:s,className:i().dynamic([["716e8b0e9305f3c9",["Open Sans"]]])}),(0,o.jsx)("meta",{name:"ogimage",property:"og:image",content:g,className:i().dynamic([["716e8b0e9305f3c9",["Open Sans"]]])}),(0,o.jsx)("meta",{name:"ogimagewidth",property:"og:image:width",content:"1200px",className:i().dynamic([["716e8b0e9305f3c9",["Open Sans"]]])}),(0,o.jsx)("meta",{name:"ogimageheight",property:"og:image:height",content:"630px",className:i().dynamic([["716e8b0e9305f3c9",["Open Sans"]]])})]}),t,n,e.children,e.u?.clientState?.get("searchString")?.length>0&&(0,o.jsx)(h,{currentlyHoveringButtonID:e.u.getCS("currentlyHoveringButtonID"),currentlyHoveringBoundingRect:e.u.getCS("currentlyHoveringBoundingRect"),darkTheme:e.darkTheme}),(0,o.jsx)(i(),{id:"716e8b0e9305f3c9",dynamic:["Open Sans"],children:'body{margin:0px;height:auto;width:100%;min-height:100%!important;font-family:"Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif}p,label{line-height:2em;letter-spacing:.1px;font-size:15px}'})]})}},73992:(e,t,n)=>{"use strict";n.r(t),n.d(t,{fetchSkillProgress:()=>s});var o=n(82964),r=n(39860),i=n(49716),l=n(83200);async function s(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,{promise:a,disposer:c}=(0,r.Ih)(()=>e.currentUser?.uid?.length>0&&!1===e.loadingUserData);try{await a}finally{c()}let u=e.currentUser.uid;if(null===t||t.endsWith("anonymous")&&e.currentUser&&e.currentUser?.isAnonymous!==!0)return;let d=e.getCS("currentSkillProgressListenerObjectID"),g=e.getCS("currentSkillProgressListenerUnsubscribe");if(d===t&&g)return;g&&(g(),e.setCSD({currentSkillProgressListenerObjectID:null,currentSkillProgressListenerUnsubscribe:null}));let m=e.skillProgressesMap.get(t),p=!0;m&&(await (0,i.H)(e,[m],[],[],e.currentUser.uid,t.split("_").pop()),e.setCS("loadingSkillProgresses",!1),p=!1),p&&e.setCSD({currentSkillProgressListenerObjectID:t,loadingSkillProgresses:!0});try{let{db:r}=await Promise.resolve().then(n.bind(n,21028)),a=(0,o.doc)(r,"skillProgresses",t),c=await (0,o.getDoc)(a);if(c.exists()){let n=c.data();if(m||await (0,i.H)(e,[n],[],[],e.currentUser.uid,t.split("_").pop()),p&&e.setCS("loadingSkillProgresses",!1),e.getCS("currentSkillProgressListenerObjectID")!==t){let n=(0,o.onSnapshot)(a,async n=>{if(n.exists()){let o=n.data();await (0,i.H)(e,[o],[],[],e.currentUser.uid,t.split("_").pop())}else e.setMapKey("skillProgressesMap",t,null)},e=>{console.error(`Error in onSnapshot listener for ${t}: ${e}`)});
1e.setCSD({currentSkillProgressListenerUnsubscribe:n,currentSkillProgressListenerObjectID:t})}}else p&&e.setCS("loadingSkillProgresses",!1),await (0,l.initializeProgressForSkill)(e,s?.objectID??e.getCS("currentSkillID"),u,e?.currentUnlockedProfileID??"anonymous",e.currentPlayerName,null,null,null,null,s)}catch(n){console.error(`FetchSkillProgress: Error fetching initial document (${t}): ${n}`),p&&function(e,t){e.setCSD({loadingSkillProgresses:!1,currentSkillProgressListenerObjectID:null});let n=e.getCS("currentSkillProgressListenerUnsubscribe");n&&(n(),e.setCSD({currentSkillProgressListenerUnsubscribe:null}))}(e,0),await (0,l.initializeProgressForSkill)(e,s?.objectID??e.getCS("currentSkillID"),u,e?.currentUnlockedProfileID??"anonymous",e.currentPlayerName,null,null,null,null,s)}}},83200:(e,t,n)=>{"use strict";n.r(t),n.d(t,{initializeProgressForSkill:()=>i});var o=n(82964),r=n(95916);async function i(e,t,i,l,s){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,u=arguments.length>7&&void 0!==arguments[7]?arguments[7]:null,d=arguments.length>8&&void 0!==arguments[8]?arguments[8]:null,g=arguments.length>9&&void 0!==arguments[9]?arguments[9]:null;try{if(null==i)return;let m=(0,r.A)(t,e,l),p=e.skillProgressesMap.get(m);if(null!=p&&void 0!==p)return p;let h=g;if(!h){console.warn(`InitializeProgress: skillData was not passed for ${t}. Need to load skill`);let o=await n.e(96322).then(n.bind(n,96322));h=await o.loadSkill(e,t)}let f={objectID:m,id:m,skillID:t,score:0,uid:i,playerID:l,timePracticingSeconds:0,currentQuestionIndex:0,playerName:s||"Anonymous",answeredCorrectlyCount:0,answeredIncorrectlyCount:0,lastUpdatedTimestamp:(0,o.serverTimestamp)(),lastUpdatedTime:Date.now(),answeredCorrectlyCountByDate:{},answeredIncorrectlyCountByDate:{},timePracticingSecondsByDate:{},timeReadingSecondsByDate:{},timeReadingSeconds:0,deletedQuestionsOffset:0,skillName:h?.name||null,skillOwnedBy:h?.ownedBy||"classace",grade:h?.grade||null,subject:h?.subject||null,tags:h?.tags||null,skillIndex:h?.index??null,nextSkillID:h?.nextSkillID||null,nextSkillName:h?.nextSkillName||null,prevSkillID:h?.prevSkillID||null,prevSkillName:h?.prevSkillName||null,isWorksheet:h?.isWorksheet||!1,skillSubtitle:h?.subtitle||null};if(t?.startsWith("vocab-")){let o=await n.e(74368).then(n.bind(n,74368)).then(e=>e.default);f.knowledgeModel=await o(i,l,t.substring(6),e.vocabList,e),f.questions=[{questionType:"VocabularyMostCommonLikelyUnknown",id:"VocabMostCommon0",cloneCount:0},{questionType:"VocabularyMostCommonLikelyUnknown",id:"VocabMostCommon1",cloneCount:1},{questionType:"VocabularyMostCommonLikelyUnknown",id:"VocabMostCommon2",cloneCount:2},{questionType:"VocabularyMostCommonLikelyUnknown",id:"VocabMostCommon4",cloneCount:3}]}else{let o=null,r=null,i=null,l=h?.isWorksheet||!1;if(!0===l){f.isWorksheet=!0;let o=e.getCS("currentlyLoadedWorksheet");if(o?.objectID===t)i=JSON.parse(JSON.stringify(o.annotationsPerPage));else{let{loadWorksheetOnce:o}=await n.e(92229).then(n.bind(n,92229)),r=await o(t,e);i=r?JSON.parse(JSON.stringify(r.annotationsPerPage)):null}}else{let i=e.getCS("currentlyLoadedSkillQuestionsGenerator");if(i?.skillID===t)o=i.generateQuestions(),r=i.reserveQuestions;else if(null===a&&h){let{loadQuestionsGeneratorOnce:o}=await n.e(20793).then(n.bind(n,43174));o(e,t,h)}}null!=i&&(f.worksheetAnnotationSubmissions=i),null!=o&&(f.questions=o),null!=r&&(f.reserveQuestions=r)}null!=u&&(f.googleClassroomCourseWorkID=u),null!=d&&(f.googleClassroomCourseID=d),null!==a&&(f.dueDate=a,f.dueDateUnixMillis=a),null!==c&&(f.assignedBy=c),e.setCS("lastQuestionIndexAnsweredCorrectly",-1);try{let{db:r}=await Promise.resolve().then(n.bind(n,21028));return await (0,o.setDoc)((0,o.doc)(r,"skillProgresses",f.objectID),f,{merge:!0}),e.getCS("currentSkillID")===t&&((await Promise.all([n.e(49716),n.e(73992)]).then(n.bind(n,73992))).fetchSkillProgress(e,f.objectID,h),e.setProp("lastUpdatedTimestamp",Date.now())),f}catch(e){return console.error(`InitializeProgress: Error writing doc ${f.objectID}: `,e),null}}catch(e){return console.error(`InitializeProgress: Top-level error for ${t}:`,e),null}}},88019:(e,t,n)=>{"use strict";n.r(t),n.d(t,{startSignout:()=>i});var o=n(94403),r=n(21028);async function i(e){let{logoutRequest:t}=await n.e(3839).then(n.bind(n,3839));await t(e,!1);let i=(0,o.xI)(r.firebaseApp);await (0,o.CI)(i),window.location.reload(!1)}}},e=>{var t=t=>e(e.s=t);e.O(0,[48230,68827,30969,54587,13787,6698,52203,85448,49716,90636,46593,38792],()=>t(38912)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.