1import{r as n,U as i}from"./constants-Dew8z-nn.js";import"./requestWrapper-5ae08Iuc.js";const m=({isSignUp:t=!1})=>{if(!window.postbuildEnv.CLASSLINK_ENABLED)return n.createElement("span",null);const e=t?"Sign up":"Log in",s=()=>{const a="https://launchpad.classlink.com/oauth2/v2/auth",l=encodeURIComponent(`${window.postbuildEnv.DEFAULT_URL}/auth/classlink/callback`),o=window.postbuildEnv.CLASSLINK_SSO_CLIENT_ID,c=`${a}?scope=full&redirect_uri=${l}&client_id=${o}&response_type=code${`&state=${t?"signup":"login"}`}`;window.location.href=c};return n.createElement("button",{onClick:s,type:"button"},n.createElement("img",{alt:"ClassLink icon",className:"classlink-icon",src:`${window.postbuildEnv.CDN_URL}/images/shared/classlink_icon_sm.png`}),n.createElement("span",null,e," with ClassLink"))},E=({login:t})=>{const e=window.localStorage.getItem(i);if(!e)return n.createElement("span",null);const s=t?"After you log in, you'll be assigning":"After you create an account, youâll be assigning";return n.createElement("div",{className:"anonymous-assign-activity-pack-banner"},n.createElement("p",null,s),n.createElement("p",{className:"activity-pack-name"},e))};export{E as A,m as C}; 2//# sourceMappingURL=assignActivityPackBanner-DKCU3oiT.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.