PageSourceSearch

https://www.averpoint.com/static/js/6387.2a7ee89a.chunk.js

js averpoint.com collected 2026-10-02 00:19:01 UTC 18,851 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkaverpoint_react_app=self.webpackChunkaverpoint_react_app||[]).push([[6387],{3784:(e,s,t)=>{t.d(s,{A:()=>n});t(79490);var i=t(70579);function n(e){let{onInstall:s,onSkip:t}=e;return(0,i.jsx)("div",{className:"teacher-invited-about-us",children:(0,i.jsxs)("div",{className:"shell",children:[(0,i.jsx)("div",{className:"step-eyebrow",children:"Step 3 of 3"}),(0,i.jsx)("h1",{className:"step-h1",children:"Install the browser extension."}),(0,i.jsx)("p",{className:"step-sub",children:"You can get the extension so you\u2019ll understand how students will"}),(0,i.jsxs)("ul",{className:"ext-list",children:[(0,i.jsx)("li",{children:"Read articles from sources your school subscribes to"}),(0,i.jsx)("li",{children:"Question, review, and add evidence to claims as you read"}),(0,i.jsx)("li",{children:"Save articles and quotes to your courses"})]}),(0,i.jsx)("button",{type:"button",className:"btn-primary",onClick:s,children:"Install the extension"}),(0,i.jsx)("div",{className:"skip-row",children:(0,i.jsx)("button",{type:"button",className:"btn-text",onClick:t,children:"Skip for now"})})]})})}},11152:(e,s,t)=>{t.d(s,{A:()=>v});var i=t(65043),n=t(98402),a=(t(50114),t(70579));function o(e){var s;let{model:t,user:n,onUpdate:o,onValidate:l,onContinue:c}=e;const r=t.firstName||(null===n||void 0===n?void 0:n.firstName)||"",d=t.lastName||(null===n||void 0===n?void 0:n.lastName)||"",u=t.schoolName||(null===n||void 0===n?void 0:n.schools)&&(null===(s=n.schools[0])||void 0===s?void 0:s.name)||"",[h,m]=(0,i.useState)(!1);return(0,i.useEffect)((()=>
1{l(!(!r||!d))}),[r,d]),(0,a.jsx)("div",{className:"student-invited-about-us",children:(0,a.jsxs)("div",{className:"shell",children:[(0,a.jsx)("div",{className:"step-eyebrow",children:"Step 1 of 4"}),(0,a.jsx)("h1",{className:"step-h1",children:"Welcome!"}),(0,a.jsx)("p",{className:"step-sub",children:"Complete your information"}),(0,a.jsxs)("div",{className:"field-row",children:[(0,a.jsxs)("div",{className:"field",children:[(0,a.jsx)("label",{htmlFor:"confirm-first",children:"First name"}),(0,a.jsx)("input",{id:"confirm-first",type:"text",value:r,onChange:e=>o({...t,firstName:e.target.value})})]}),(0,a.jsxs)("div",{className:"field",children:[(0,a.jsx)("label",{htmlFor:"confirm-last",children:"Last name"}),(0,a.jsx)("input",{id:"confirm-last",type:"text",value:d,onChange:e=>o({...t,lastName:e.target.value})})]})]}),(0,a.jsxs)("div",{className:"field",children:[(0,a.jsx)("label",{htmlFor:"confirm-school",children:"School"}),(0,a.jsx)("input",{id:"confirm-school",type:"text",value:u,readOnly:!0})]}),(0,a.jsx)("button",{type:"button",className:"btn-primary",disabled:h||!r||!d,onClick:async()=>{m(!0),await c(),m(!1)},children:h?"Saving\u2026":"Continue"})]})})}var l=t(81596);const c="placesOfInterest";function r(e){let{model:s,onUpdate:t,onValidate:i,onContinue:n}=e;return(0,a.jsx)("div",{className:"student-invited-important-cities",children:(0,a.jsxs)("div",{className:"shell",children:[(0,a.jsx)("div",{className:"step-eyebrow",children:"Step 2 of 4"}),(0,a.jsx)("h1",{className:"step-h1",children:"Local reading"}),(0,a.jsx)("p",{className:"step-sub",children:"What cities and/or towns are important to you?"}),(0,a.jsx)("div",{className:"question-description",children:"Every week, your AverPoint goals will include some local reading. What cities or towns do you follow?"}),(0,a.jsx)("div",{className:"location-section",children:(0,a.jsx)(l.A,{onChange:e=>{t({...s,[c]:e})},value:s[c]})}),(0,a.jsx)("button",{type:"button",className:"btn-primary",onClick:async()=>{await n()},children:"Continue"})]})})}function d(e){let{onInstall:s,onSkip:t}=e;return(0,a.jsx)("div",{className:"student-invited-about-us",children:(0,a.jsxs)("div",{className:"shell",children:[(0,a.jsx)("div",{className:"step-eyebrow",children:"Step 3 of 4"}),(0,a.jsx)("h1",{className:"step-h1",children:"Install the browser extension."}),(0,a.jsx)("p",{className:"step-sub",children:"You can get the extension so you'll understand how to use AverPoint"}),(0,a.jsxs)("ul",{className:"ext-list",children:[(0,a.jsx)("li",{children:"Read articles from sources your school subscribes to"}),(0,a.jsx)("li",{children:"Question, review, and add evidence to claims as you read"}),(0,a.jsx)("li",{children:"Save articles and quotes to your courses"})]}),(0,a.jsx)("button",{type:"button",className:"btn-primary",onClick:s,children:"Install the extension"}),(0,a.jsx)("div",{className:"skip-row",children:(0,a.jsx)("button",{type:"button",className:"btn-text",onClick:t,children:"Skip for now"})})]})})}var u=t(91513);const h="https://chrome.google.com/webstore/detail/averpoint/delinpnhfdkcjeifmapikhinioghdeia/",m="https://addons.mozilla.org/en-US/firefox/addon/averpoint44/",p="https://apps.apple.com/in/app/averpoint-browser-extension/id1601441044?mt=12",x="https://microsoftedge.microsoft.com/addons/detail/averpoint/efmfgioeediomheodhkkbeolhebmhing";const v=function(e){let{onComplete:s,...t}=e;const[l,c]=(0,i.useState)(0);return 0===l?(0,a.jsx)(o,{...t,onContinue:async()=>{c(1)}}):1===l?(0,a.jsx)(r,{...t,onContinue:async()=>{c(2)}}):2===l?(0,a.jsx)(d,{onInstall:async()=>{!function(){const e=(0,n.fx)(),s=e.isChrome&&h||e.isFirefox&&m||e.isSafari&&p||e.isEdge&&x;s&&window.open(s,"_blank")}(),c(3)},onSkip:async()=>{await s()}}):3===l?(0,a.jsx)(u.A,{onContinue:async()=>{await s()}}):null}},37489:(e,s,t)=>{e.exports=t.p+"static/media/puzzle-averpoint.e14dda795cb2f0c8c619.gif"},50114:()=>{},60958:(e,s,t)=>{t.d(s,{A:()=>j});var i=t(65043),n=t(98402),a=(t(79490),t(70579));const o=["Business","Communications","Economics","Government","Civics","History","English","Journalism","Other"],l=o.filter((e=>"Other"!==e));function c(e,s){return e.map((e=>"Other"===e?s||"Other":e)).join(", ")}function r(e){var s;let{model:t,role:n,user:r,onUpdate:d,onValidate:u,onContinue:h}=e;const m=t.firstName||(null===r||void 0===r?void 0:r.firstName)||"",p=t.lastName||(null===r||void 0===r?void 0:r.lastName)||"",x=t.schoolName||(null===r||void 0===r?void 0:r.schools)&&(null===(s=r.schools[0])||void 0===s?void 0:s.name)||"",v=t.
1subjects||"",j=t.classes||"",[f,N]=(0,i.useState)(!1),{selected:b,otherText:y}=function(e){const s=(e||"").split(",").map((e=>e.trim())).filter(Boolean),t=[];let i="";for(const n of s)l.includes(n)?t.push(n):"Other"===n?t.includes("Other")||t.push("Other"):(t.includes("Other")||t.push("Other"),i=n);return{selected:t,otherText:i}}(v),g=n?{schoolAdmin:"School Admin"}[n]||n.charAt(0).toUpperCase()+n.slice(1):"Teacher";return(0,i.useEffect)((()=>{u(!(!m||!p))}),[m,p]),(0,a.jsx)("div",{className:"teacher-invited-about-us",children:(0,a.jsxs)("div",{className:"shell",children:[(0,a.jsx)("div",{className:"step-eyebrow",children:"Step 2 of 3"}),(0,a.jsxs)("h1",{className:"step-h1",children:["Your ",g.toLowerCase()," account was created."]}),(0,a.jsx)("p",{className:"step-sub",children:"Complete your information"}),(0,a.jsxs)("div",{className:"field-row",children:[(0,a.jsxs)("div",{className:"field",children:[(0,a.jsx)("label",{htmlFor:"confirm-first",children:"First name"}),(0,a.jsx)("input",{id:"confirm-first",type:"text",value:m,onChange:e=>d({...t,firstName:e.target.value})})]}),(0,a.jsxs)("div",{className:"field",children:[(0,a.jsx)("label",{htmlFor:"confirm-last",children:"Last name"}),(0,a.jsx)("input",{id:"confirm-last",type:"text",value:p,onChange:e=>d({...t,lastName:e.target.value})})]})]}),(0,a.jsxs)("div",{className:"field",children:[(0,a.jsx)("label",{htmlFor:"confirm-school",children:"School"}),(0,a.jsx)("input",{id:"confirm-school",type:"text",value:x,readOnly:!0})]}),(0,a.jsxs)("div",{className:"field",children:[(0,a.jsxs)("label",{children:["Subjects you teach ",(0,a.jsx)("span",{className:"optional",children:"Optional"})]}),(0,a.jsx)("div",{className:"subject-chips",children:o.map((e=>{const s=b.includes(e);return(0,a.jsx)("button",{type:"button",className:"subject-chip"+(s?" subject-chip--active":""),onClick:()=>{const i=s?b.filter((s=>s!==e)):[...b,e];d({...t,subjects:c(i,y)})},children:e},e)}))}),b.includes("Other")&&(0,a.jsx)("input",{type:"text",className:"subject-other-input",placeholder:"Specify other subject",value:y,onChange:e=>{d({...t,subjects:c(b,e.target.value)})}})]}),(0,a.jsxs)("div",{className:"field",children:[(0,a.jsxs)("label",{htmlFor:"confirm-classes",children:["Classes you teach ",(0,a.jsx)("span",{className:"optional",children:"Optional"})]}),(0,a.jsx)("input",{id:"confirm-classes",type:"text",value:j,placeholder:"e.g. Period 1, Section A",onChange:e=>d({...t,classes:e.target.value})})]}),(0,a.jsx)("button",{type:"button",className:"btn-primary",disabled:f||!m||!p,onClick:async()=>{N(!0),await h(),N(!1)},children:f?"Saving\u2026":"Continue"})]})})}var d=t(3784),u=t(91513);const h=function(e){var s;let{user:t,courses:n,onCardClick:o,onGetUserCourses:l,onOpenModal:c,onNavigate:r}=e;const[d,u]=(0,i.useState)(!1),[h,m]=(0,i.useState)(!0),p=(null===t||void 0===t?void 0:t.firstName)||(null===t||void 0===t||null===(s=t.profile)||void 0===s?void 0:s.firstName)||"",x="/courses",v=`/portfolio/${null===t||void 0===t?void 0:t.username}`,j=n&&n.length>0;async function f(e){u(!0),await o(),r(e)}return(0,i.useEffect)((()=>{null===l||void 0===l||l().catch((()=>{})).finally((()=>m(!1)))}),[]),(0,a.jsx)("div",{className:"teacher-invited-about-us",children:(0,a.jsxs)("div",{className:"shell",children:[(0,a.jsx)("div",{className:"step-eyebrow",children:"You're in"}),(0,a.jsxs)("h1",{className:"step-h1",children:["You're all set",p?`, ${p}`:"","."]}),!h&&(j?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:"step-sub",children:"Now you can join your first course."}),(0,a.jsx)("div",{className:"choice-cards",children:(0,a.jsxs)("button",{type:"button",className:"choice-card",disabled:d,onClick:()=>f(x),children:[(0,a.jsx)("div",{className:"cc-title",children:"Go to courses."}),(0,a.jsx)("div",{className:"cc-sub",children:"View and join your courses."})]})})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:"step-sub",children:"What would you like to do first?"}),(0,a.jsxs)("div",{className:"choice-cards",children:[(0,a.jsxs)("button",{type:"button",className:"choice-card",disabled:d,onClick:async function(){u(!0),await o(),r(x),setTimeout((()=>{c("manage-course",{})}),1500)},children:[(0,a.jsx)("div",{className:"cc-title",children:"Set up your first course."}),(0,a.jsx)("div",{className:"cc-sub",children:"Pick subject, students, and pace. About five minutes."})]}),(0,a.jsxs)("button",{type:"button",className:"choice-card",disabled:d,onClick:()=>f(v),children:[(0,a.jsx)("div",{className:"cc-title",children:"Just explore."}),(0,a.jsx)("div",{className:"cc-sub",children:"Look around the teacher dashboard at your own pace."})]})]})]}))]})})},m="https://chrome.google.com/webstore/detail/averpoint/delinpnhfdkcjeifmapikhinioghdeia/",p="https://addons.mozilla.org/en-US/firefox/addon/averpoint44/",x="https://apps.apple.com/in/app/averpoint-browser-extension/id1601441044?mt=12",v="https://microsoftedge.microsoft.com/addons/detail/averpoint/efmfgioeediomheodhkkbeolhebmhing";const j=function(e){var s;let{onComplete:t,...o}=e;const[l,c]=(0,i.useState)(0),[j,f]=(0,i.useState)(null),{onGetUserCourses:N,onNavigate:b}=o;return(0,i.useEffect)((()=>
1{if(3!==l||j)return;let e=!1;return(async()=>{let s=[];try{s=await N()||[]}catch(i){console.error("Could not read courses to place the teacher",i)}e||(!function(e){return(e||[]).some((e=>e.invitedAsTeacher))}(s)?f("chooser"):(f("invited"),await t(),e||b("/courses")))})(),()=>{e=!0}}),[l]),0===l?(0,a.jsx)(r,{...o,onContinue:()=>c(1)}):1===l?(0,a.jsx)(d.A,{onInstall:()=>{!function(){const e=(0,n.fx)(),s=e.isChrome&&m||e.isFirefox&&p||e.isSafari&&x||e.isEdge&&v;s&&window.open(s,"_blank")}(),c(2)},onSkip:()=>c(3)}):2===l?(0,a.jsx)(u.A,{onContinue:async()=>{c(3)}}):"chooser"!==j?(0,a.jsx)("div",{className:"teacher-invited-about-us",children:(0,a.jsxs)("div",{className:"shell",children:[(0,a.jsx)("div",{className:"step-eyebrow",children:"You're in"}),(0,a.jsx)("h1",{className:"step-h1",children:"Finishing setup\u2026"})]})}):(0,a.jsx)(h,{onCardClick:t,onGetUserCourses:o.onGetUserCourses,onOpenModal:o.onOpenModal,onNavigate:o.onNavigate,user:o.user,courses:null===(s=o.user)||void 0===s?void 0:s.courses})}},79490:()=>{},81596:(e,s,t)=>{t.d(s,{A:()=>c});var i=t(65043),n=t(620),a=t(89439),o=t(70579);const l="AIzaSyCLTJk1aH13HKFxz82h-QLQTSUOWyonpWk";function c(e){let{value:s=[],onChange:t,autoFocus:c=!1}=e;const[r,d]=(0,i.useState)(""),[u,h]=(0,i.useState)(null);function m(){return s||[]}(0,i.useEffect)((()=>{u&&(!function(e){const s=m(),i={...e,isHome:0===s.length,isCurrent:0===s.length};t([...m(),i])}(u),d(""),h(null))}),[u]);const{ref:p}=(0,n.usePlacesWidget)({apiKey:l,language:"en",onPlaceSelected:e=>{if(!e||!Array.isArray(e.address_components))return;const s=e.address_components,t=s.find((e=>e.types.indexOf("country")>-1)),i=s.find((e=>e.types.indexOf("administrative_area_level_1")>-1)),n=s.find((e=>e.types.indexOf("locality")>-1||e.types.indexOf("administrative_area_level_2")>-1)),a={id:(new Date).getTime(),country:t?t.long_name:"",state:i?i.long_name:"",city:n?n.long_name:"",countryCode:t?t.short_name:"",isHome:!1,isCurrent:!1};h(a)}}),x=function(e){let s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=JSON.parse(JSON.stringify(m()));i=s?i.map((s=>({...s,isHome:s.id===e}))):i.map((s=>({...s,isCurrent:s.id===e}))),t(i)};return(0,o.jsxs)("div",{className:"location-picker bg-av-white mt-3 pl-3 pr-3 pb-3",children:[(0,o.jsxs)("div",{className:"floating-input",children:[(0,o.jsx)("input",{ref:p,type:"text",className:"form-control",value:r,onChange:e=>d(e.target.value),placeholder:"Search for location",autoFocus:c}),(0,o.jsx)("span",{className:"bar"})]}),function(){const e=m();if(Array.isArray(e)&&0!==e.length)return(0,o.jsx)("div",{className:"container header",children:(0,o.jsxs)("div",{className:"row",children:[(0,o.jsx)("div",{className:"col-xs-7 place",children:"Place"}),(0,o.jsx)("div",{className:"col-xs-2 homeCity",children:"Home City"}),(0,o.jsx)("div",{className:"col-xs-2 currentCity",children:"Current City"}),(0,o.jsx)("div",{className:"col-xs-1 remove"})]})})}(),function(){const e=m();if(Array.isArray(e)&&0!==e.length)return e.map((e=>(0,o.jsx)("div",{className:"container places",children:(0,o.jsxs)("div",{className:"row",children:[(0,o.jsxs)("div",{className:"col-xs-7 place",children:[(0,o.jsx)(a.I,{className:"icon",icon:a.Z.LOCATION,size:14}),(0,o.jsxs)("div",{className:"user-selected-location",children:[e.city,", ",e.state,", ",e.country,", ",e.countryCode]},e.city)]}),(0,o.jsx)("div",{className:"col-xs-2 homeCity",children:(0,o.jsx)("input",{type:"radio",onChange:()=>x(e.id,!0),checked:e.isHome})}),(0,o.jsx)("div",{className:"col-xs-2 currentCity",children:(0,o.jsx)("input",{type:"radio",onChange:()=>x(e.id),checked:e.isCurrent})}),(0,o.jsx)("div",{className:"col-xs-1 remove",children:(0,o.jsx)(a.I,{className:"icon",icon:a.Z.CLOSE,size:10,onClick:()=>(e=>{let s=JSON.parse(JSON.stringify(m()));s=s.filter((s=>s.id!==e)),t(s)})(e.id)})})]})})))}()]})}},91513:(e,s,t)=>{t.d(s,{A:()=>a});t(50114);var i=t(37489),n=t(70579);function a(e){let{onContinue:s}=e;return(0,n.jsx)("div",{className:"student-invited-about-us",children:(0,n.jsxs)("div",{className:"shell",children:[(0,n.jsx)("div",{className:"step-eyebrow",children:"Step 4 of 4"}),(0,n.jsx)("h1",{className:"step-h1",children:"Configure your browser extension."}),(0,n.jsxs)("ul",{className:"ext-list",children:[(0,n.jsx)("li",{children:"Click the puzzle piece"}),(0,n.jsx)("li",{children:"Click the pin icon"}),(0,n.jsx)("li",{children:"Confirm the icon is blue, meaning you're logged in. If it's white, click the icon and log in."})]}),(0,n.jsx)("div",{className:"mt-5 text-center",children:(0,n.jsx)("img",{src:i,className:"w-100",alt:"pin extension"})}),(0,n.jsx)("button",{type:"button",className:"btn-primary",onClick:s,children:"Continue"})]})})}},95789:(e,s,t)=>{t.d(s,{A:()=>m});var i=t(65043),n=t(98402),a=(t(79490),t(70579));function o(e){var s;let{model:t,role:n,user:o,onUpdate:l,onValidate:c,onContinue:r}=e;const d=t.firstName||(null===o||void 0===o?void 0:o.firstName)||"",u=t.lastName||(null===o||void 0===o?void 0:o.lastName)||"",h=t.schoolName||(null===o||void 0===o?void 0:o.schools)&&(null===(s=o.schools[0])||void 0===s?void 0:s.name)||"",m=t.subjectsForAverPointIntegration||"",[p,x]=(0,i.useState)(!1);n&&({schoolAdmin:"School Admin"}[n]||(n.charAt(0).toUpperCase(),n.slice(1)));return(0,i.useEffect)((()=>{c(!(!d||!u))}),[d,u]),(0,a.jsx)("div",{className:"teacher-invited-about-us",children:(0,a.jsxs)("div",{className:"shell",children:[(0,a.jsx)("div",{className:"step-eyebrow",children:"Step 2 of 3"}),(0,a.jsx)("h1",{className:"step-h1",children:"Your account was created."}),(0,a.jsx)("p",{className:"step-sub",children:"Complete your information"}),(0,a.jsxs)("div",{className:"field-row",children:[(0,a.jsxs)("div",{className:"field",children:[(0,a.jsx)("label",{htmlFor:"sa-first",children:"First name"}),(0,a.jsx)("input",{id:"sa-first",type:"text",value:d,onChange:e=>l({...t,firstName:e.target.value})})]}),(0,a.jsxs)("div",{className:"field",children:[(0,a.jsx)("label",{htmlFor:"sa-last",children:"Last name"}),(0,a.jsx)("input",{id:"sa-last",type:"text",value:u,onChange:e=>l({...t,lastName:e.target.value})})]})]}),(0,a.jsxs)("div",{className:"field",children:[(0,a.jsx)("label",{htmlFor:"sa-school",children:"School"}),(0,a.jsx)("input",{id:"sa-school",type:"text",value:h,readOnly:!0})]}),(0,a.jsxs)("div",{className:"field",children:[(0,a.jsxs)("label",{htmlFor:"sa-subjects-averpoint",children:["What classes at your school might use AverPoint?"," ",(0,a.jsx)("span",{className:"optional",children:"Optional"})]}),(0,a.jsx)("input",{id:"sa-subjects-averpoint",type:"text",value:m,placeholder:"e.g. AP US History, English Literature",onChange:e=>l({...t,subjectsForAverPointIntegration:e.target.value})})]}),(0,a.jsx)("button",{type:"button",className:"btn-primary",disabled:p||!d||!u,onClick:async()=>{x(!0),await r(),x(!1)},children:p?"Saving\u2026":"Continue"})]})})}var l=t(3784),c=t(91513);const r="https://chrome.google.com/webstore/detail/averpoint/delinpnhfdkcjeifmapikhinioghdeia/",d="https://addons.mozilla.org/en-US/firefox/addon/averpoint44/",u="https://apps.apple.com/in/app/averpoint-browser-extension/id1601441044?mt=12",h="https://microsoftedge.microsoft.com/addons/detail/averpoint/efmfgioeediomheodhkkbeolhebmhing";const m=function(e){let{onComplete:s,...t}=e;const[m,p]=(0,i.useState)(0);return 0===m?(0,a.jsx)(o,{...t,onContinue:()=>p(1)}):1===m?(0,a.jsx)(l.A,{onInstall:()=>{!function(){const e=(0,n.fx)(),s=e.isChrome&&r||e.isFirefox&&d||e.isSafari&&u||e.isEdge&&h;
1s&&window.open(s,"_blank")}(),p(2)},onSkip:s}):(0,a.jsx)(c.A,{onContinue:async()=>{await s()}})}}}]);
2//# sourceMappingURL=6387.2a7ee89a.chunk.js.map

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.