!function(e){function t(t){for(var n,s,a=t[0],c=t[1],l=t[2],d=0,p=[];d<a.length;d++)s=a[d],Object.prototype.hasOwnProperty.call(r,s)&&r[s]&&p.push(r[s][0]),r[s]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(u&&u(t);p.length;)p.shift()();return o.push.apply(o,l||[]),i()}function i(){for(var e,t=0;t<o.length;t++){for(var i=o[t],n=!0,a=1;a<i.length;a++){var c=i[a];0!==r[c]&&(n=!1)}n&&(o.splice(t--,1),e=s(s.s=i[0]))}return e}var n={},r={1:0},o=[];function s(t){if(n[t])return n[t].exports;var i=n[t]={i:t,l:!1,exports:{}};return e[t].call(i.exports,i,i.exports,s),i.l=!0,i.exports}s.m=e,s.c=n,s.d=function(e,t,i){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},s.t=function(e,t){if(1&t&&(e=s(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(s.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)s.d(i,n,function(t){return e[t]}.bind(null,n));return i},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,"a",t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p="/dist/";var a=window.webpackJsonp=window.webpackJsonp||[],c=a.push.bind(a);a.push=t,a=a.slice();for(var l=0;l<a.length;l++)t(a[l]);var u=c;o.push([456,0,2]),i()}({1:function(e,t,i){"use strict";var n;!function(e){e.IsLoading="isLoading",e.GetIdentityProvider="getIdentityProvider",e.GetUserId="getUserId",e.GetDisplayName="getDisplayName",e.GetToken="getToken",e.IsLogin="isLogin",e.GetLtiIdentity="getLtiIdentity",e.GetLtiToken="getLtiToken",e.HasClaim="hasClaim",e.GetClaim="getClaim",e.GetClaims="getClaims",e.Scopes="scopes",e.CanCreateCourseApplication="canCreateCourseApplication",e.CanListCourses="canListCourses",e.CanManageOrganization="canManageOrganization",e.CanViewExerciseArea="canViewExerciseArea",e.CanCreateBusinessUnitWithAccountRequest="canCreateBusinessUnitWithAccountRequest",e.CanCreateSnapshotInOrganization="canCreateSnapshotInOrganization",e.GetErrorCode="getErrorCode",e.GetErrorDetails="getErrorDetails",e.GetErrorMessage="getErrorMessage",e.GoogleLoginEnabled="googleLoginEnabled",e.AzureAdLoginEnabled="azureAdLoginEnabled",e.AuthenticationApiClient="getAuthenticationApiClient",e.BackgroundAuthenticationApiClient="getBackgroundAuthenticationApiClient",e.UserApiClient="getUserApiClient",e.BackgroundUserApiClient="BackgroundUserApiClient",e.InvitationApiClient="getInvitationApiClient",e.EntitlementApiClient="getEntitlementApiClient",e.CompetitionApiClient="getCompetitionApiClient",e.PaymentApiClient="getPaymentApiClient",e.VendibleApiClient="getVendibleApiClient",e.BalanceApiClient="getBalanceApiClient",e.ContentApiClient="getContentApiClient",e.NewsletterApiClient="getNewsletterApiClient",e.OrganizationApiClient="getOrganizationApiClient",e.BackgroundOrganizationApiClient="getBackgroundOrganizationApiClient",e.BusinessUnitApiClient="getBusinessUnitApiClient",e.CatalogFamilyAccessApiClient="getCatalogFamilyAccessApiClient",e.CatalogApiClient="getCatalogApiClient",e.CanViewAllCompetitions="canViewAllCompetitions",e.CanAccessCompetition="canAccessCompetition",e.CanRegisterAsAdmin="canRegisterAsAdmin",e.CanRegisterAsPlayer="canRegisterAsPlayer",e.GetVendiblePaymentRequiredError="getVendiblePaymentRequiredError",e.GetProcessingPaymentMessage="getProcessingPaymentMessage",e.BusinessUnitDisplayCategory="businessDisplayCategory",e.BusinessUnitDisplayRegion="businessDisplayRegion",e.BusinessUnitDisplayName="businessDisplayName"}(n||(n={})),t.a=n},1090:function(e,t){},1092:function(e,t){},1093:function(e,t){},1098:function(e,t){},1100:function(e,t){},1120:function(e,t){},1136:function(e,t){},1139:function(e,t){},1160:function(e,t,i){"use strict";i(437)},1161:function(e,t,i){(t=i(31)(!1)).push([e.i,".expansion-btn[data-v-51af2310] {\n  font: inherit;\n  font-size: inherit;\n  font-style: inherit;\n  text-transform: inherit;\n}\n",""]),e.exports=t},1162:function(e,t,i){"use strict";i(438)},1163:function(e,t,i){(t=i(31)(!1)).push([e.i,".bottomRight[data-v-bfabc89a] {\n  position: absolute;\n  bottom: 0;\n  right: 0;\n}\n.progress[data-v-bfabc89a] {\n  position: absolute;\n  width: 100%;\n  bottom: 40%;\n}\n",""]),e.exports=t},1164:function(e,t,i){"use strict";i(439)},1165:function(e,t,i){(t=i(31)(!1)).push([e.i,".titleIcon {\n  display: inline-block;\n  padding-right: 10px;\n}\n",""]),e.exports=t},1166:function(e,t,i){"use strict";i(440)},1167:function(e,t,i){(t=i(31)(!1)).push([e.i,".v-input--selection-controls {\n  margin-top: 0px;\n  padding-top: 0px;\n}\n.groupClass {\n  background-color: rgba(39, 52, 116, 0.2);\n  border-radius: 6px;\n  min-height: 400px;\n  overflow: hidden;\n}\n.rightSideClass {\n  background-color: rgba(39, 52, 116, 0.3);\n}\n.tooltipClass {\n  color: blue;\n}\n",""]),e.exports=t},1168:function(e,t,i){"use strict";i(441)},1169:function(e,t,i){(t=i(31)(!1)).push([e.i,".body-field[data-v-40be7b08] {\n  display: none;\n}\n",""]),e.exports=t},1170:function(e,t,i){"use strict";i(442)},1171:function(e,t,i){(t=i(31)(!1)).push([e.i,".v-input--selection-controls {\n  margin-top: 0px;\n  padding-top: 0px;\n}\n.groupClass {\n  background-color: rgba(39, 52, 116, 0.2);\n  border-radius: 6px;\n  min-height: 400px;\n  overflow: hidden;\n}\n.rightSideClass {\n  background-color: rgba(39, 52, 116, 0.3);\n}\n.tooltipClass {\n  color: blue;\n}\nfieldset {\n  border: none;\n}\n",""]),e.exports=t},1172:function(e,t,i){"use strict";i(443)},1173:function(e,t,i){(t=i(31)(!1)).push([e.i,"#inspire[data-v-3335158e] {\n  background-color: #f2f1ec;\n}\n.v-input--selection-controls[data-v-3335158e] {\n  margin-top: 0px;\n  padding-top: 0px;\n}\n.rightSideClass[data-v-3335158e] {\n  background-color: #d7d7d7;\n  width: 40%;\n  display: flex;\n  flex-direction: column;\n}\n.leftSideClass[data-v-3335158e] {\n  width: 60%;\n  background-color: white;\n}\n.leftSideClass > div[data-v-3335158e] {\n  min-height: 400px;\n}\n.whiteBackground[data-v-3335158e] {\n  background-color: white !important;\n}\n@media (max-width: 599px) {\n.outer-container[data-v-3335158e] {\n    max-width: 100%;\n    padding-left: 0px;\n    padding-right: 0px;\n}\n.whiteBackgroundWhenSmall[data-v-3335158e] {\n    background-color: white !important;\n}\n}\n@media (min-width: 600px) {\n.outer-container[data-v-3335158e] {\n    max-width: 80%;\n}\n}\n",""]),e.exports=t},1175:function(e,t,i){"use strict";i.r(t);var n=i(0),r=i(145),o=i(146),s=i(95);i.d(t,"default",(function(){return l}));var a={},c=[{en:{LOGIN_TITLE:{VACR:"Virginia Cyber Range",USCR:"Cyber Range"},LOGIN_BASIC_LOGIN:"Sign in with Basic",LOGIN_INVITATION_LOGIN_TEXT:"Have an invitation code?",LOGIN_ACCOUNT_NOT_FOUND:"Your account could not be found. Please make sure you select the right account to sign in or contact your organization admin for an account.",LOGIN_AZURE:"Azure",LOGIN_GOOGLE:"Google",LOGIN_GOOGLE_TEXT:"Sign in with Google",LOGIN_GOOGLE_PRIVACY_BLOCKER_TEXT:"Turn off a privacy blocker to sign in with Google",LOGIN_AZURE_AD_TEXT:"Sign in with Azure AD",LOGIN_CREDENTIAL_USER:"Sign in with a username/password",LOGIN_CREDENTIAL_ANONYMOUS:"Sign in with an anonymous password",LOGIN_INVALID_CREDENTIALS:"Invalid username or password.",LOGIN_UNABLE_TO_LOGIN_TEXT:"Unable to login at the moment.  Please try again later.",INVALID_REDIRECT_URL:"The given redirect URL '{url}' is not allowed by the application configuration.",LOGIN_TEXT:"Please login with one of the following options or contact your organization for an account.",LOGIN_ERROR_HELP_MESSAGE:"Having trouble logging in?",LOGIN_CLOCK_DRIFT_HELP_MESSAGE:"How can I set my system clock?",LOGIN_CLOCK_DRIFT_WARNING:"We've detected that your system clock is not synchronized. Please set your system time to the correct value. If you need help, follow the link below and read the tip regarding system clock skew. Once your clock is set correctly, reload the page and log in again.",LOGIN_ANONYMOUS_USER_HELP_MESSAGE:"What is an anonymous password?",LOGIN_GOOGLE_UNABLE_TO_GET_ID_TOKEN:"Unable to login with Google at the moment (missing id_token)  Please try again later."}},{en:{REGISTRATION_LOADING_MESSAGE:"Please wait while your account is being prepared...",REGISTRATION_COURSE_REGISTRATION:"Register for a Course",INVITATION_CODE_LABEL:"Invitation Code",REGISTRATION_CONFIRM_MESSAGE:"You are registering for <b>{course}</b>. To finish this registration, please confirm how you would like to access the course by signing in using one of the following services:",REGISTRATION_INSTRUCTIONS:"Hello. To register for a course, please enter the invitation code given by your instructor below:",REGISTRATION_ALREADY_REGISTERED:"Already Registered?"}},{en:{INVITATION_LOADING_MESSAGE:"Please wait while your account is being prepared...",INVITATION_CONFIRMATION:"Invite Confirmation",INVITATION_ACCEPTED_ERROR_MESSAGE:"The invitation has been accepted. Please login below to access your account.",INVITATION_NOT_FOUND_ERROR_MESSAGE:"The invitation could not be found. Please verify your invitation link and try again.",INVITATION_REJECTED_MESSAGE:"The invitation has been rejected. Please contact your organization for more details.",INVITATION_PENDING_APPROVAL_MESSAGE:"The invitation is pending for approval. You will be informed once the invitation has been approved.",INVITATION_WELCOME_TEXT:"Hi {name}! To finish signing up, just confirm how you would like to access the portal by signing in using one of the following services:",COMPETITION_NOT_FOUND_ERROR_MESSAGE:"The competition could not be found. Please verify your invitation link and try again."}},{en:{JOIN_TITLE:"Welcome to <b>{competitionName}</b>",JOIN_LOGGING_IN:"Logging in...",JOIN_CREATING_ACCOUNT:"Please wait while your account is being prepared...",JOIN_COMPETITION_NOT_FOUND:"The competition could not be found or no longer exists.",JOIN_FAILED_COMPETITION_ENDED:"Could not join this competition because it has ended.",JOIN_FAILED_COMPETITION_PRIVATE:"Could not join this competition because it does not allow public registration."}},r.a,{en:{LOGOUT_MESSAGE:"Your session has ended."}},{en:{VENDIBLE_PAYMENT_PROCESSING_MESSAGE:"Please wait while your payment is being processed...",VENDIBLE_PAYMENT_ERROR_GENERIC:"There was an error processing your payment. Please try again later",VENDIBLE_NOT_FOUND_ERROR_MESSAGE:"The vendible could not be found. Please verify your vendible link and try again.",VENDIBLE_PAYMENT_GENERIC_MESSAGE:"Access to {name} requires a one time charge.",VENDIBLE_PAYMENT_ORGANIZATION_BALANCE_MESSAGE:"Apply towards organization balance",VENDIBLE_PAYMENT_COURSE_ENROLLMENT_MESSAGE:"Access to {name} requires a one time charge to allow access from {startDate} to {endDate}.",VENDIBLE_PAYMENT_BUY_BUTTON:"Buy Now",VENDIBLE_PAYMENT_BUY_BUTTON_REDIRECTING:"Redirecting...",VENDIBLE_PAYMENT_CANCEL_BUTTON:"Cancel",VENDIBLE_CONFIRMED_NO_DATA:"This payment has already been processed. Please log in to your account.",VENDIBLE_PAYMENT_REFUND_POLICY_EXPANSION_HEADER:"U.S. Cyber Range of Virginia Tech Policy and Terms",VENDIBLE_PAYMENT_REFUND_POLICY_EXPANSION_CONTENT:'<p><b>U.S. Cyber Range of Virginia Tech Refund Policy</b></p>\n            <p>\n                Once users have logged into the range, the course fees are non-refundable, and course fees will not be reduced. Users who must withdraw from a course for medical, military, or other emergencies will be evaluated and will be reviewed on a case-by-case basis. If you have questions or need assistance, please contact our business office at 540-231-4759 or by email at contact@uscyberrange.org.\n            </p>\n            <p>\n                <b>U.S. Cyber Range of Virginia Tech</b><br>\n                1880 Pratt Drive, Suite 2006<br>\n                Blacksburg, VA 24060, United States<br>\n                <br>\n                <a href="https://uscyberrange.org/terms-of-use" target="_blank"><b>Terms of Use/Privacy Policy</b></a>\n            </p>',VENDIBLE_PAYMENT_ORGANIZATION_BALANCE_REFUND_POLICY_EXPANSION_CONTENT:'<p><b>U.S. Cyber Range of Virginia Tech Refund Policy</b></p>\n            <p>\n                Payments are non-refundable for services that have already been provided. For prepaid accounts, a credit to the customer will be provided if the actual usage is below the customer\'s account balance. Upon customer request, this credit will be returned to the Customer within 60 days of the end of the contract period. Other refund requests will be reviewed on a case-by-case basis. If you have questions or need assistance, please contact our business office at 540-231-4759 or by email at contact@uscyberrange.org. \n\n            </p>\n            <p>\n                <b>U.S. Cyber Range of Virginia Tech</b><br>\n                1880 Pratt Drive, Suite 2006<br>\n                Blacksburg, VA 24060, United States<br>\n                <br>\n                <a href="https://uscyberrange.org/terms-of-use" target="_blank"><b>Terms of Use/Privacy Policy</b></a>\n            </p>'}},{en:{PAGE_TAGLINE:"Supporting over 400 High Schools and Universities",PAGE_TERMS_AND_POLICY:"Terms and Policy"}},{en:{REDIRECTING:"Redirecting..."}},o.a,s.a,{en:{ACCESSIBLE_FORM_FORM_INSTRUCTION:"* indicates a required field"}},{en:{COPIED_ENVIRONMENT_SHARE_NOT_VALID_MESSAGE:"The sharing could not be found, was revoked, or has already been accepted.",COPIED_ENVIRONMENT_ACCEPT_SHARE_NO_PERMS_MESSAGE:"The selected user does not have permissions to create a copied environment. Please try again with a different user.",COPIED_ENVIRONMENT_SHARING_CONFIRMATION:"Sharing Confirmation",COPIED_ENVIRONMENT_SHARE_INFORMATION:"<b>{sharedByName}</b> has shared with you <b>{familyName} ({familyVersion})</b>",COPIED_ENVIRONMENT_SHARE_ORGANIZATION_SELECT_INSTRUCTIONS:"Please choose the organization where you want to save this environment.",COPIED_ENVIRONMENT_ORGANIZATION_SELECT_CONFIRM_BUTTON:"Confirm",COPIED_ENVIRONMENT_ORGANIZATION_SELECT_CANCEL_BUTTON:"Cancel",COPIED_ENVIRONMENT_WELCOME_MESSAGE:"Welcome, <b>{name}</b>!",COPIED_ENVIRONMENT_ACCEPT_INSTRUCTIONS:"To accept, please sign in using one of the following services:",COPIED_ENVIRONMENT_LOADING_MESSAGE:"Please wait while we prepare the copied environment..."}}];function l(e){var t,i,r,o,s,l,u,d;try{for(var p=Object(n.g)(c),v=p.next();!v.done;v=p.next()){var b=v.value;try{for(var h=(r=void 0,Object(n.g)(Object.keys(b))),g=h.next();!g.done;g=h.next()){var _=g.value;a[_]||(a[_]={});try{for(var f=(s=void 0,Object(n.g)(Object.keys(b[_]))),m=f.next();!m.done;m=f.next()){var O=m.value;if(b[_][O]instanceof Object)try{for(var E=(u=void 0,Object(n.g)(Object.keys(b[_][O]))),I=E.next();!I.done;I=E.next()){var y=I.value;y===e&&(b[_][O]=b[_][O][y])}}catch(e){u={error:e}}finally{try{I&&!I.done&&(d=E.return)&&d.call(E)}finally{if(u)throw u.error}}}}catch(e){s={error:e}}finally{try{m&&!m.done&&(l=f.return)&&l.call(f)}finally{if(s)throw s.error}}Object.assign.apply(Object,Object(n.f)([a[_],a[_]],b[_]))}}catch(e){r={error:e}}finally{try{g&&!g.done&&(o=h.return)&&o.call(h)}finally{if(r)throw r.error}}}}catch(e){t={error:e}}finally{try{v&&!v.done&&(i=p.return)&&i.call(p)}finally{if(t)throw t.error}}return a}},145:function(e,t,i){"use strict";t.a={en:{LTI_SETUP_ERROR_CLIENT_ID_NOT_FOUND:"Unexpected LTI client ID is found.  Please contact your organization admins to complete the configuration by creating an organization application for the LTI client ID in the Cyber Range organization.",LTI_SETUP_ERROR_DEPLOYMENT_ID_NOT_FOUND:"Unexpected LTI deployment ID is found.  Please contact your organization admins to complete the configuration by verifying that the organization application in the Cyber Range organization has the right deployment IDs.",LTI_SETUP_ERROR_INVALID_KEY_SIGNING:"Could not validate the signature of the LTI launch request. Please contact your organization admins to verify the organization application in the Cyber Range organization has the right key set URL.",LTI_SETUP_ERROR_INVALID_ROLE:"Your LTI identity does not have an authorized role to access this resource. Please make sure you are enrolled in this course as a teacher, a teaching assistant, or a student.",LTI_SETUP_ERROR_INVALID_ISSUER:"Unexpected LTI issuer is found.  Please contact your organization admins to complete the configuration by verifying that the organization application in the Cyber Range organization has the right issuer value.",LTI_SETUP_ERROR_INVALID_TARGET_URI:"Unexpected Target link URI found.  Please contact your organization admins to complete the configuration by verifying that the lti configuration has the right target link uri value.",LTI_SETUP_ERROR_PII_PROVIDED:"Your login could not be accepted because it contains personally identifiable information. Please contact your organization admins to configure your LTI platform to ensure user information is not shared.",LTI_SETUP_ERROR_TECHNICAL:"Oops! Something went wrong.  Please try again in a few moment.  If the problem persists, please contact your administrators.",LTI_SETUP_ERROR_GENERIC:"Please contact your organization admins to complete the configuration by configuring an organization application in the Cyber Range organization.",LTI_SETUP_ERROR_EVENT_ID:"Event ID: {eventId}",LTI_INVALID_TOKEN:"Invalid LTI token or the token is expired.",LTI_INVALID_IDENTITY:"Invalid LTI identity.",LTI_MISSING_COURSE_APPLICATION:"This course has not been associated with any Cyber Range course. Please contact your instructor or admins to complete this integration.",LTI_REDIRECTING:"Redirecting...",LTI_LOGIN_STEP_TITLE:"Login",LTI_LOGIN_STEP_TEXT:"In order to associate this course with a Cyber Range course, please login to your existing Cyber Range account  with the following options below to configure this integration:",LTI_SELECT_SELECT_COURSE_LABEL:"Course",LTI_SELECT_STEP_TITLE:"Select",LTI_SELECT_STEP_TEXT:"Please select a course you want to associate with <b>{canvasCourseName}</b>",LTI_SELECT_STEP_CANCEL:"Back",LTI_SELECT_STEP_CONFIRM:"Confirm",LTI_SELECT_LOADING:"Loading your courses...",LTI_SELECT_NO_COURSES:"This account does not have any courses that can be associated with <b>{canvasCourseName}</b>. Please login with a different account.",LTI_LINK_STEP_TITLE:"Link",LTI_LINK_STEP_LOADING:"Processing...",LTI_LINK_STEP_SUCCEEDED_TEXT:"<b>{ltiContextName}</b> has been successfully linked to <b>{courseName}</b>",LTI_LINK_STEP_FAILED_TEXT:"Could not associate this course with the Cyber Range course. Please retry again or contact your admins for assistance.",LTI_LINK_STEP_CANCEL:"Back",LTI_LINK_STEP_CONFIRM:"Launch",LTI_LINK_STEP_LAUNCH_FAILED:"Your session may have expired. Please reload this page to continue."}}},146:function(e,t,i){"use strict";var n=i(6),r=i(36);t.a={en:{TITLE_SIGNUP:"Signup",SIGNUP_REGISTRATION_TITLE:{VACR:"Signup for your Organization",USCR:"New U.S. Cyber Range Customers"},SIGNUP_ORGANIZATION_NAME:"Organization Name",SIGNUP_ORGANIZATION_DESCRIPTION:{VACR:"Want to register an organization? Please fill out and submit this form and you will be contacted as soon as possible.",USCR:"Would you like to have access to the U.S. Cyber Range for your school or organization? Please fill out and submit this form and you will be contacted as soon as possible."},SIGNUP_NAME:"Name",SIGNUP_COURSE_CODE_ERROR:"Invalid Code",SIGNUP_EMAIL:"Email",SIGNUP_YES_BUTTON_TEXT:"Yes",SIGNUP_NO_BUTTON_TEXT:"No",SIGNUP_INSTRUCTOR_VACR:"Do you teach a cybersecurity class in a public school, college, or university in Virginia?",SIGNUP_INSTRUCTOR_VIRGINIA_FACULTY_ONLY_TEXT:'The Virginia Cyber Range is limited to faculty teaching cyber security related classes at Virginia public high schools, colleges, and universities. Please visit the <a href="'+n.a.CYBER_RANGE_UI_USCR_BASE_URL+'">U.S. Cyber Range of Virginia Tech</a> to learn about our national offerings.',SIGNUP_SUBMISSION_COMPLETED:"Submission Completed!",SIGNUP_SUBMISSION_COMPLETED_TEXT:{USCR:'Thank you for your inquiry, we will be in touch with you as soon as possible. Feel free to browse our <a href="'+Object(r.resolve)(n.a.HOMEPAGE_UI_BASE_URL,"courseware")+'">courseware repository</a> while you wait.',VACR:'Thank you for signing up. Feel free to browse the <a href="'+Object(r.resolve)(n.a.HOMEPAGE_UI_BASE_URL,"courseware")+'">courseware repository</a> to learn more about our available content.'},SIGNUP_BUTTON_TEXT:"Sign up",SIGNUP_ORGANIZATION_CODE_INFO:"What is my organization code?",SIGNUP_ORGANIZATION_CODE_TOOLTIP:"Each organization has a unique code used to sign up. Please contact an organization admin for your organization-specific code.",REGISTRATION_STUDENT_INVITATION_CODE:"Student Sign Up",REGISTRATION_STUDENT_MESSAGE:"Are you a student taking a course that requires access to the Cyber Range?  If so, please click the button below to setup your account.",REGISTRATION_STUDENT_ACTION_BUTTON:"Join as a Student",REGISTRATION_SIGNUP_FINISHED_TITLE:"Thank You",REGISTRATION_SIGNUP_FINISHED_MESSAGE:"Your request has been received and will be reviewed by our support team shortly.",REGISTRATION_SIGNUP_FORM_INSTRUCTIONS:"Please fill out this form to request an instructor account for <b>{organization}</b>.",REGISTRATION_SIGNUP_FORM_TITLE:{VACR:"Instructor Sign Up",USCR:"Instructor Sign Up"},REGISTRATION_MONTHLY_NEWSLETTER:"Signup for monthly newsletter",REGISTRATION_TEACHER_FORUM:"Signup for the teacher forum",REGISTRATION_SIGNUP_CONFIRM_BUTTON:"Confirm",REGISTRATION_SIGNUP_CANCEL_BUTTON:"Cancel",REGISTRATION_FIRST_NAME:"First Name",REGISTRATION_LAST_NAME:"Last Name",REGISTRATION_NEWSLETTER_ERROR:"This email address appears to be invalid, please use your organization's institutional email address.",INVITATION_ACCOUNT_REQUEST_EMAIL_TITLE:"Institutional Email Address",INVITATION_JOB_TITLE:"Job Title",INVITATION_ACCOUNT_REQUEST_INVALID_CODE_MESSAGE:"Organization code is invalid.",INVITATION_ACCOUNT_REQUEST_ORGANIZATION_CODE:"Organization Code",NEXT:"Next",ERROR_PREFIX:"Error:"}}},147:function(e,t,i){"use strict";i.r(t);var n=i(0),r=i(7),o=i(212),s=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-app",[i("v-container",{staticClass:"ma-0 pa-0",attrs:{fluid:"","fill-height":""}},[i("v-row",{staticClass:"fill-height"},[i("v-col",{staticClass:"pa-0 d-none d-md-block"},[i("div",{staticClass:"side-image d-flex align-end"},[i("span",{staticClass:"footer"},[e._v(e._s(e.$t("PAGE_TAGLINE"))+" | "),i("a",{attrs:{href:e.policyUrl,target:"_blank"}},[e._v(e._s(e.$t("PAGE_TERMS_AND_POLICY")))])])])]),e._v(" "),i("v-col",{staticClass:"pa-0 d-flex flex-column justify-space-between align-center special-small-padding"},[i("div",{staticClass:"my-auto special-small-width",staticStyle:{"max-width":"70%"}},[i("router-view",{key:e.$route.fullPath})],1),e._v(" "),i("span",{staticClass:"footer full-footer d-md-none"},[e._v(e._s(e.$t("PAGE_TAGLINE"))+" | "),i("a",{attrs:{href:e.policyUrl,target:"_blank"}},[e._v(e._s(e.$t("PAGE_TERMS_AND_POLICY")))])])])],1)],1)],1)};s._withStripped=!0;var a=i(6),c=i(9),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(n.d)(t,e),Object.defineProperty(t.prototype,"policyUrl",{get:function(){return a.a.TERMS_AND_POLICIES_URL},enumerable:!1,configurable:!0}),t=Object(n.c)([c.b],t)}(r.default),u=(i(703),i(10)),d=Object(u.a)(l,s,[],!1,null,"09512f3f",null);d.options.__file="src/components/Page.vue";var p=d.exports,v=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("h1",{staticClass:"mb-6"},[e._v(e._s(e.$t("LOGIN_TITLE")))]),e._v(" "),i("v-alert",{staticClass:"mb-4",attrs:{role:"alert",type:"error",icon:"error",dense:"",value:!!e.error}},[e._v(e._s(e.error))]),e._v(" "),i("announcement"),e._v(" "),e.clockHasDrifted?[i("v-alert",{staticClass:"mb-4",attrs:{role:"alert",type:"warning",icon:"warning",dense:""}},[e._v(e._s(e.$t("LOGIN_CLOCK_DRIFT_WARNING")))]),e._v(" "),i("a",{attrs:{target:"_blank",href:e.clockDriftArticleUrl}},[e._v(e._s(e.$t("LOGIN_CLOCK_DRIFT_HELP_MESSAGE")))])]:[i("v-spacer"),e._v(" "),i("v-spacer"),e._v(" "),i("login-buttons",{attrs:{providers:["google","azure","credential_anonymous"],"credential-code":e.error?void 0:e.credentialCode,mode:""},on:{confirm:e.confirm}}),e._v(" "),i("router-link",{attrs:{to:{name:"registration"}}},[e._v(e._s(e.$t("LOGIN_INVITATION_LOGIN_TEXT")))]),e._v(" "),e.featureSignInAsAnonymousUserEnabled?[i("br"),e._v(" "),i("a",{attrs:{target:"_blank",href:e.anonymousUsersArticleUrl}},[e._v(e._s(e.$t("LOGIN_ANONYMOUS_USER_HELP_MESSAGE")))])]:e._e(),e._v(" "),i("br"),e._v(" "),i("a",{attrs:{target:"_blank",href:e.loginSupportUrl}},[e._v(e._s(e.$t("LOGIN_ERROR_HELP_MESSAGE")))])]],2)};v._withStripped=!0;var b=i(5),h=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"mt-6 mb-1",staticStyle:{"max-width":"320px"}},[e.text?i("v-flex",{attrs:{xs12:"","mb-4":""}},[i("p",{domProps:{innerHTML:e._s(e.text)}})]):e._e(),e._v(" "),i("v-flex",{directives:[{name:"show",rawName:"v-show",value:e.showBasicLogin&&!e.identityProvider||"basic"===e.identityProvider,expression:"showBasicLogin && !identityProvider || identityProvider==='basic'"}],attrs:{xs12:""}},[i("v-expansion-panels",{staticClass:"elevation-0"},[i("v-expansion-panel",{staticClass:"mb-1 elevation-0"},[i("v-expansion-panel-header",{staticClass:"loginExpensionHeader"},[e._v(e._s(e.$t("LOGIN_BASIC_LOGIN")))]),e._v(" "),i("v-expansion-panel-content",[i("basic-auth",{staticClass:"pa-3",on:{confirm:e.confirm}})],1)],1)],1)],1),e._v(" "),i("v-flex",{directives:[{name:"show",rawName:"v-show",value:e.providers.includes("google")&&e.googleLoginEnabled&&(!e.identityProvider||"google"===e.identityProvider),expression:"providers.includes('google') && googleLoginEnabled && (!identityProvider || identityProvider==='google')"}],attrs:{xs12:"","mb-4":""}},[i("google-sign-in-button",{attrs:{scopes:["profile","email","openid"]},on:{confirm:e.confirm}})],1),e._v(" "),i("v-flex",{directives:[{name:"show",rawName:"v-show",value:e.providers.includes("azure")&&e.azureAdLoginEnabled&&(!e.identityProvider||"azuread"===e.identityProvider),expression:"providers.includes('azure') && azureAdLoginEnabled && (!identityProvider || identityProvider==='azuread')"}],attrs:{xs12:"","mb-4":""}},[i("msal-login-button",{on:{confirm:e.confirm}})],1),e._v(" "),i("v-flex",{directives:[{name:"show",rawName:"v-show",value:e.identityProvider,expression:"identityProvider"}],attrs:{xs12:"","mb-4":""}},[i("v-btn",{staticClass:"elevation-0",staticStyle:{"background-color":"white"},attrs:{block:""},on:{click:e.showAllLoginOptions}},[e._v("Other Login Options")])],1),e._v(" "),i("v-flex",{directives:[{name:"show",rawName:"v-show",value:e.providers.includes("credential_user")&&e.credentialUserLoginEnabled&&(!e.identityProvider||"credential_user"===e.identityProvider),expression:"providers.includes('credential_user') && (credentialUserLoginEnabled && (!identityProvider || identityProvider==='credential_user'))"}],staticStyle:{"max-width":"320px"},attrs:{xs12:"","mb-4":""}},[i("credential-user-login-button",{attrs:{"credential-code":e.credentialCode,mode:e.mode,competitionId:e.competitionId},on:{confirm:e.confirm}})],1),e._v(" "),i("v-flex",{directives:[{name:"show",rawName:"v-show",value:e.providers.includes("credential_anonymous")&&e.featureSignInAsAnonymousUserEnabled&&(!e.identityProvider||"credential_anonymous"===e.identityProvider),expression:"providers.includes('credential_anonymous') && featureSignInAsAnonymousUserEnabled && (!identityProvider || identityProvider==='credential_anonymous')"}],staticStyle:{"max-width":"320px"},attrs:{xs12:"","mb-4":""}},[i("credential-anonymous-login-button",{attrs:{"credential-code":e.credentialCode,mode:e.mode,competitionId:e.competitionId},on:{confirm:e.confirm}})],1)],1)};h._withStripped=!0;var g=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-form",[i("v-text-field",{attrs:{"prepend-icon":"person",name:"login",label:"Login",type:"text"},model:{value:e.username,callback:function(t){e.username=t},expression:"username"}}),e._v(" "),i("v-text-field",{attrs:{"prepend-icon":"lock",name:"password",label:"Password",id:"password",type:"password"},on:{keyup:e.keyUp},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}}),e._v(" "),i("v-card-actions",[i("v-spacer"),e._v(" "),i("v-btn",{attrs:{color:"primary",loading:e.isLoggingIn,"data-testing":"basic-auth-login-button"},on:{click:e.submit}},[e._v(e._s(e.$t("LOGIN_TITLE")))])],1)],1)};g._withStripped=!0;var _=i(71),f=i(3),m=i(8),O=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.drawer=null,t.username="",t.password="",t.isLoggingIn=!1,t.error="",t}return Object(n.d)(t,e),t.prototype.keyUp=function(e){return Object(n.b)(this,void 0,void 0,(function(){return Object(n.e)(this,(function(t){return 13===e.keyCode&&this.submit(),[2]}))}))},t.prototype.submit=function(){return Object(n.b)(this,void 0,void 0,(function(){return Object(n.e)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,,2,3]),this.isLoggingIn=!0,[4,this.login({provider:"basic",token:_.Base64.encode(this.username+":"+this.password)})];case 1:return e.sent()?(this.$store.dispatch(b.a.ResetError),this.$emit("confirm")):this.$store.dispatch(b.a.SetError,{message:this.$t("LOGIN_INVALID_CREDENTIALS")}),[3,3];case 2:return this.isLoggingIn=!1,[7];case 3:return[2]}}))}))},Object(n.c)([Object(f.a)(b.a.Login)],t.prototype,"login",void 0),Object(n.c)([Object(m.c)()],t.prototype,"source",void 0),t=Object(n.c)([Object(m.a)({})],t)}(r.default),E=Object(u.a)(O,g,[],!1,null,null,null);E.options.__file="src/components/login/providers/BasicAuth.vue";var I=E.exports,y=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[e.isLoadingShown?i("v-btn",{style:e.buttonStyle,attrs:{text:"",outlined:"",block:"",loading:"",disabled:"","data-testing":"google-login-button"}}):e._e(),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:!e.isLoadingShown,expression:"!isLoadingShown"}],ref:"googleButtonContainer",staticClass:"google-button-container"},[e.googleScriptShouldBeLoadedByNow?i("v-flex",{staticClass:"google-placeholder pa-2"},[i("span",[e._v(e._s(e.$t("LOGIN_GOOGLE_PRIVACY_BLOCKER_TEXT")))])]):e._e()],1)],1)};y._withStripped=!0;var T=i(94),C=i(1),N=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.authInProgress=!1,t.googleScriptShouldBeLoadedByNow=!1,t}return Object(n.d)(t,e),Object.defineProperty(t.prototype,"isLoadingShown",{get:function(){return this.isLoading||this.authInProgress},enumerable:!1,configurable:!0}),t.prototype.buttonStyle=function(){return{height:"48px","background-color":"white"}},t.prototype.created=function(){var e=this;setTimeout((function(){return e.googleScriptShouldBeLoadedByNow=!0}),1e3)},t.prototype.mounted=function(){return Object(n.b)(this,void 0,void 0,(function(){var e;return Object(n.e)(this,(function(t){switch(t.label){case 0:return e=this,[4,this.$google.registerButton(this.googleButtonContainer,this.defaultOnSignInSuccess,this.scopes)];case 1:return e.buttonRegistrationKey=t.sent(),[2]}}))}))},t.prototype.defaultOnSignInSuccess=function(e){return Object(n.b)(this,void 0,void 0,(function(){var t;return Object(n.e)(this,(function(i){switch(i.label){case 0:this.authInProgress=!0,i.label=1;case 1:return i.trys.push([1,3,4,5]),[4,this.login({provider:"google",token:e.credential})];case 2:return i.sent()?(this.$emit("confirm",e),this.$store.dispatch(b.a.ResetError)):this.setError({message:this.$t("LOGIN_UNABLE_TO_LOGIN_TEXT")}),[3,5];case 3:return t=i.sent(),this.setError(t),T.a.track(t),[3,5];case 4:return this.authInProgress=!1,[7];case 5:return[2]}}))}))},t.prototype.beforeDestroy=function(){this.authInProgress=!1,this.$google.deregisterButton(this.buttonRegistrationKey)},Object(n.c)([Object(f.b)(C.a.IsLoading)],t.prototype,"isLoading",void 0),Object(n.c)([Object(f.a)(b.a.Login)],t.prototype,"login",void 0),Object(n.c)([Object(f.a)(b.a.SetError)],t.prototype,"setError",void 0),Object(n.c)([Object(m.c)(Function)],t.prototype,"onSignInSuccess",void 0),Object(n.c)([Object(m.c)(Array)],t.prototype,"scopes",void 0),Object(n.c)([Object(m.d)("googleButtonContainer")],t.prototype,"googleButtonContainer",void 0),t=Object(n.c)([Object(c.b)({})],t)}(r.default),S=(i(711),Object(u.a)(N,y,[],!1,null,"54ed1810",null));S.options.__file="src/components/login/providers/GoogleSignInButton.vue";var A=S.exports,R=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-btn",{staticClass:"msal-login-button",style:e.buttonStyle,attrs:{text:"",outlined:"",block:"",loading:e.loading||e.authInProgress,disabled:e.loading||e.authInProgress,"data-testing":"microsoft-login-button"},on:{click:e.msalLogin}},[i("v-layout",{staticClass:"px-2",attrs:{row:"",wrap:"","align-center":""}},[i("v-img",{attrs:{"max-height":"20","max-width":"20",src:e.azureLogo}}),e._v(" "),i("div",{staticClass:"text-xs-left text-none pl-3 flex-grow-1",staticStyle:{"font-family":'"Google Sans",arial,sans-serif'}},[e._v(e._s(e.$t("LOGIN_AZURE_AD_TEXT")))])],1)],1)};R._withStripped=!0;var L=i.p+"azure.svg?319d9b9a39d511547cf55d1336a8eca4",U=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.azureLogo=L,t.authInProgress=!1,t}return Object(n.d)(t,e),t.prototype.buttonStyle=function(){return{height:"48px","background-color":"white"}},t.prototype.msalLogin=function(){return Object(n.b)(this,void 0,void 0,(function(){var e,t;return Object(n.e)(this,(function(i){switch(i.label){case 0:this.authInProgress=!0,i.label=1;case 1:return i.trys.push([1,4,5,6]),[4,this.$msal.loginPopup({scopes:["user.read"],prompt:"select_account"})];case 2:return e=i.sent(),[4,this.login({provider:"microsoft",token:e.accessToken})];case 3:return i.sent()?(this.$emit("confirm"),this.resetError()):this.setError({message:this.$t("LOGIN_UNABLE_TO_LOGIN_TEXT")}),[3,6];case 4:return t=i.sent(),this.setError(t),TrackJS.track(t),[3,6];case 5:return this.authInProgress=!1,[7];case 6:return[2]}}))}))},Object(n.c)([Object(f.b)(C.a.IsLoading)],t.prototype,"loading",void 0),Object(n.c)([Object(f.a)(b.a.SetError)],t.prototype,"setError",void 0),Object(n.c)([Object(f.a)(b.a.Login)],t.prototype,"login",void 0),Object(n.c)([Object(f.a)(b.a.ResetError)],t.prototype,"resetError",void 0),t=Object(n.c)([Object(m.a)({})],t)}(r.default),j=(i(713),Object(u.a)(U,R,[],!1,null,null,null));j.options.__file="src/components/login/providers/MsalLoginButton.vue";var w=j.exports,x=function(){var e=this.$createElement;return(this._self._c||e)("credential-login-button",this._g(this._b({attrs:{provider:"credential_user",cognitoBaseUrl:this.cognitoBaseUrl,cognitoClientId:this.cognitoClientId,icon:"lock_outlined",label:this.$t("LOGIN_CREDENTIAL_USER")}},"credential-login-button",this.$attrs,!1),this.$listeners))};x._withStripped=!0;var P=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-btn",{staticClass:"credential-login-button",style:e.buttonStyle,attrs:{text:"",outlined:"",block:"",loading:e.loading||e.authInProgress,disabled:e.loading||e.authInProgress,"data-testing":"credential-login-button"},on:{click:e.credentialLogin}},[i("v-layout",{attrs:{row:"",wrap:"","align-center":""}},[i("v-flex",{staticClass:"icon"},[i("v-icon",[e._v(e._s(e.icon||"pin"))])],1),e._v(" "),i("v-flex",{attrs:{row:"",wrap:""}},[i("div",{staticClass:"text-none px-3",staticStyle:{"font-family":'"Google Sans",arial,sans-serif'}},[e._v(e._s(e.label||e.$t("LOGIN_CREDENTIAL_ANONYMOUS")))])])],1)],1)};P._withStripped=!0;var B=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.authInProgress=!1,t}return Object(n.d)(t,e),t.prototype.buttonStyle=function(){return{height:"48px","background-color":"white"}},t.prototype.credentialLogin=function(){return Object(n.b)(this,void 0,void 0,(function(){var e,t;return Object(n.e)(this,(function(i){return e=new URL("/"+this.mode,a.a.LOGIN_UI_BASE_URL),t=_.Base64.encode(JSON.stringify({competitionId:this.competitionId,provider:this.provider,redirectUrl:this.$route.query.redirect_url}),!0),window.location.href=new URL("/login?response_type=code&redirect_uri="+e.href+"&client_id="+this.cognitoClientId+"&state="+t,this.cognitoBaseUrl).href,[2]}))}))},Object.defineProperty(t.prototype,"state",{get:function(){var e;return JSON.parse(_.Base64.decode(null===(e=this.$route.query)||void 0===e?void 0:e.state)||{})},enumerable:!1,configurable:!0}),t.prototype.created=function(){return Object(n.b)(this,void 0,void 0,(function(){var e,t;return Object(n.e)(this,(function(i){switch(i.label){case 0:return i.trys.push([0,3,4,5]),this.authInProgress=!0,this.credentialCode&&this.provider===this.state.provider?(e=new URL(window.location.pathname,window.location.origin).href,[4,this.login({provider:this.provider,token:btoa(JSON.stringify({code:this.credentialCode,redirectUrl:e}))})]):[3,2];case 1:i.sent()?(this.$emit("confirm"),this.$store.dispatch(b.a.ResetError)):this.error||this.setError({message:this.$t("LOGIN_UNABLE_TO_LOGIN_TEXT")}),i.label=2;case 2:return[3,5];case 3:return t=i.sent(),this.setError(t),TrackJS.track(t),[3,5];case 4:return this.authInProgress=!1,[7];case 5:return[2]}}))}))},Object(n.c)([Object(f.b)(C.a.GetErrorMessage)],t.prototype,"error",void 0),Object(n.c)([Object(m.c)()],t.prototype,"credentialCode",void 0),Object(n.c)([Object(m.c)()],t.prototype,"competitionId",void 0),Object(n.c)([Object(m.c)()],t.prototype,"mode",void 0),Object(n.c)([Object(m.c)()],t.prototype,"provider",void 0),Object(n.c)([Object(m.c)()],t.prototype,"cognitoClientId",void 0),Object(n.c)([Object(m.c)()],t.prototype,"cognitoBaseUrl",void 0),Object(n.c)([Object(m.c)()],t.prototype,"label",void 0),Object(n.c)([Object(m.c)()],t.prototype,"icon",void 0),Object(n.c)([Object(f.b)(C.a.IsLoading)],t.prototype,"loading",void 0),Object(n.c)([Object(f.a)(b.a.SetError)],t.prototype,"setError",void 0),Object(n.c)([Object(f.a)(b.a.Login)],t.prototype,"login",void 0),Object(n.c)([Object(f.a)(b.a.ResetError)],t.prototype,"resetError",void 0),t=Object(n.c)([Object(m.a)({})],t)}(r.default),G=(i(715),Object(u.a)(B,P,[],!1,null,"30c0fa51",null));G.options.__file="src/components/login/providers/CredentialLoginButton.vue";var D=G.exports,k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(n.d)(t,e),Object.defineProperty(t.prototype,"cognitoBaseUrl",{get:function(){return a.a.COGNITO_USER_POOL_BASE_URL},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cognitoClientId",{get:function(){return a.a.COGNITO_USER_POOL_CLIENT_ID},enumerable:!1,configurable:!0}),t=Object(n.c)([Object(c.b)({components:{CredentialLoginButton:D}})],t)}(r.default),M=Object(u.a)(k,x,[],!1,null,null,null);M.options.__file="src/components/login/providers/CredentialUserLoginButton.vue";var $=M.exports,F=function(){var e=this.$createElement;return(this._self._c||e)("credential-login-button",this._g(this._b({attrs:{provider:"credential_anonymous",cognitoBaseUrl:this.cognitoBaseUrl,cognitoClientId:this.cognitoClientId}},"credential-login-button",this.$attrs,!1),this.$listeners))};F._withStripped=!0;var V=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(n.d)(t,e),Object.defineProperty(t.prototype,"cognitoBaseUrl",{get:function(){return a.a.COGNITO_ANONYMOUS_POOL_BASE_URL},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"cognitoClientId",{get:function(){return a.a.COGNITO_ANONYMOUS_POOL_CLIENT_ID},enumerable:!1,configurable:!0}),t=Object(n.c)([Object(c.b)({components:{CredentialLoginButton:D}})],t)}(r.default),z=Object(u.a)(V,F,[],!1,null,null,null);z.options.__file="src/components/login/providers/CredentialAnonymousLoginButton.vue";var q=z.exports,Y=i(36),H=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(n.d)(t,e),Object.defineProperty(t.prototype,"newAccountLink",{get:function(){return"VACR"===a.a.BASE_DOMAIN?Object(Y.resolve)(a.a.CYBER_RANGE_UI_BASE_URL,"/signup?code=vacr"):Object(Y.resolve)(a.a.HOMEPAGE_UI_BASE_URL,"/contact-us")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showBasicLogin",{get:function(){return a.a.BASIC_LOGIN_ENABLED},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"featureSignInAsAnonymousUserEnabled",{get:function(){return!!a.a.FEATURE_SIGN_IN_AS_ASNONYMOUS_USER_ENABLED},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"credentialUserLoginEnabled",{get:function(){return a.a.CREDENTIAL_USER_LOGIN_ENABLED},enumerable:!1,configurable:!0}),t.prototype.confirm=function(){this.$emit("confirm")},t.prototype.showAllLoginOptions=function(){this.resetIdentityProvider()},Object(n.c)([Object(f.b)(C.a.IsLoading)],t.prototype,"loading",void 0),Object(n.c)([Object(m.c)()],t.prototype,"text",void 0),Object(n.c)([Object(m.c)()],t.prototype,"mode",void 0),Object(n.c)([Object(m.c)()],t.prototype,"competitionId",void 0),Object(n.c)([Object(m.c)()],t.prototype,"credentialCode",void 0),Object(n.c)([Object(m.c)()],t.prototype,"providers",void 0),Object(n.c)([Object(f.b)(C.a.GetIdentityProvider)],t.prototype,"identityProvider",void 0),Object(n.c)([Object(f.b)(C.a.GoogleLoginEnabled)],t.prototype,"googleLoginEnabled",void 0),Object(n.c)([Object(f.b)(C.a.AzureAdLoginEnabled)],t.prototype,"azureAdLoginEnabled",void 0),Object(n.c)([Object(f.c)(b.a.ResetIdentityProvider)],t.prototype,"resetIdentityProvider",void 0),t=Object(n.c)([Object(c.b)({components:{BasicAuth:I,GoogleSignInButton:A,MsalLoginButton:w,CredentialUserLoginButton:$,CredentialAnonymousLoginButton:q}})],t)}(r.default),X=(i(717),Object(u.a)(H,h,[],!1,null,"101f4fee",null));X.options.__file="src/components/login/LoginButtons.vue";var Z=X.exports,J=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("span",[i("v-alert",{staticClass:"mb-4",attrs:{type:"info",icon:"info",dense:"",value:!!e.info}},[e._v(e._s(e.info))]),e._v(" "),i("v-alert",{staticClass:"mb-4",attrs:{type:"warning",icon:"warning",dense:"",value:!!e.warning}},[e._v(e._s(e.warning))])],1)};J._withStripped=!0;var K=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.info=a.a.ANNOUNCEMENT_INFO,t.warning=a.a.ANNOUNCEMENT_WARNING,t}return Object(n.d)(t,e),t=Object(n.c)([Object(c.b)({})],t)}(r.default),W=Object(u.a)(K,J,[],!1,null,null,null);W.options.__file="src/components/utils/Announcement.vue";var Q=W.exports,ee=function(e,t){this.method=e,this.args=t},te=i(34),ie=i(450),ne=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.clockHasDrifted=!1,t}return Object(n.d)(t,e),Object.defineProperty(t.prototype,"credentialCode",{get:function(){return this.$route.query?this.$route.query.code:void 0},enumerable:!1,configurable:!0}),t.prototype.confirm=function(){return Object(n.b)(this,void 0,void 0,(function(){var e;return Object(n.e)(this,(function(t){switch(t.label){case 0:return this.credentialCode?(this.loadingBegin(),[4,this.$store.dispatch(b.a.CreateUser,new ee(te.a.credential,ie.Credential.idFromDisplayName(this.getDisplayName)))]):[3,2];case 1:t.sent(),t.label=2;case 2:return this.loadingBegin(),[4,this.fetchClaims()];case 3:t.sent(),t.label=4;case 4:return t.trys.push([4,6,,7]),[4,this.getSsoToken()];case 5:return e=t.sent(),[3,7];case 6:return t.sent(),this.setError({message:this.$t("LOGIN_ACCOUNT_NOT_FOUND")}),this.loadingEnd(),[2];case 7:return this.$route.query.referrer_url&&this.getClaims("role").some((function(e){return"coursewareadmin"===e.value}))?[4,this.redirectToUrl(this.$route.query.referrer_url,e)]:[3,9];case 8:return t.sent(),[3,12];case 9:return this.$route.query.redirect_url?[4,this.redirectToUrl(this.$route.query.redirect_url,e)]:[3,11];case 10:return t.sent(),[3,12];case 11:this.canViewExerciseArea?window.location.href=a.a.CYBER_RANGE_UI_BASE_URL+"?s="+e:window.location.href=a.a.HOMEPAGE_UI_BASE_URL+"?s="+e,t.label=12;case 12:return[2]}}))}))},t.prototype.redirectToUrl=function(e,t){return Object(n.b)(this,void 0,void 0,(function(){return Object(n.e)(this,(function(i){return e.startsWith("/")?(this.$router.push(e),[2,!0]):a.a.REDIRECT_URLS.split(",").some((function(t){return t===e||!0===new RegExp(t).test(e)}))?(e.includes("?")||(e+="?"),window.location.href=e+"&s="+t,[2,!0]):(this.setError({message:this.$t("INVALID_REDIRECT_URL",{url:e})}),[2,!1])}))}))},Object.defineProperty(t.prototype,"loginSupportUrl",{get:function(){return a.a.LOGIN_SUPPORT_URL?a.a.LOGIN_SUPPORT_URL:Object(Y.resolve)(a.a.SUPPORT_URL,"/troubleshooting/cant-login.html")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"anonymousUsersArticleUrl",{get:function(){return a.a.LOGIN_SUPPORT_URL?a.a.LOGIN_SUPPORT_URL:Object(Y.resolve)(a.a.SUPPORT_URL,"/faq/us-what-is-anonymous-password.html")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"clockDriftArticleUrl",{get:function(){return a.a.LOGIN_SUPPORT_URL?a.a.LOGIN_SUPPORT_URL:Object(Y.resolve)(a.a.SUPPORT_URL,"/troubleshooting/cant-login.html#pclaptop-system-clock-time-date-skew")},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"featureSignInAsAnonymousUserEnabled",{get:function(){return!!a.a.FEATURE_SIGN_IN_AS_ASNONYMOUS_USER_ENABLED},enumerable:!1,configurable:!0}),t.prototype.mounted=function(){return Object(n.b)(this,void 0,void 0,(function(){var e;return Object(n.e)(this,(function(t){switch(t.label){case 0:return e=this,[4,this.detectSystemClockDrift()];case 1:return e.clockHasDrifted=t.sent(),[2]}}))}))},Object(n.c)([Object(f.b)(C.a.GetErrorMessage)],t.prototype,"error",void 0),Object(n.c)([Object(f.b)(C.a.GetClaims)],t.prototype,"getClaims",void 0),Object(n.c)([Object(f.b)(C.a.GetDisplayName)],t.prototype,"getDisplayName",void 0),Object(n.c)([Object(f.a)(b.a.SetError)],t.prototype,"setError",void 0),Object(n.c)([Object(f.a)(b.a.ResetError)],t.prototype,"resetError",void 0),Object(n.c)([Object(f.a)(b.a.GetSsoToken)],t.prototype,"getSsoToken",void 0),Object(n.c)([Object(f.b)(C.a.CanViewExerciseArea)],t.prototype,"canViewExerciseArea",void 0),Object(n.c)([Object(f.a)(b.a.FetchClaims)],t.prototype,"fetchClaims",void 0),Object(n.c)([Object(f.a)(b.a.LoadingBegin)],t.prototype,"loadingBegin",void 0),Object(n.c)([Object(f.a)(b.a.LoadingEnd)],t.prototype,"loadingEnd",void 0),Object(n.c)([Object(f.a)(b.a.DetectSystemClockDrift)],t.prototype,"detectSystemClockDrift",void 0),t=Object(n.c)([Object(c.b)({components:{LoginButtons:Z,Announcement:Q}})],t)}(r.default),re=(i(747),Object(u.a)(ne,v,[],!1,null,"08b4fdc3",null));re.options.__file="src/components/login/Login.vue";var oe=re.exports,se=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[e.loggingIn?[i("loading",{attrs:{message:e.$t("JOIN_LOGGING_IN")}})]:e.creatingUser?[i("loading",{attrs:{message:e.$t("JOIN_CREATING_ACCOUNT")}})]:e.error&&!e.retryableError?i("v-alert",{staticClass:"mb-4",attrs:{role:"alert",type:"error",icon:"error",dense:"",value:e.error}},[e._v(e._s(e.error))]):e._e(),e._v(" "),i("h1",{domProps:{innerHTML:e._s(e.$t("JOIN_TITLE",{competitionName:e.competition.name}))}}),e._v(" "),e.competition.id?[e.error&&e.retryableError?i("v-alert",{staticClass:"mb-4",attrs:{role:"alert",type:"error",icon:"error",dense:"",value:e.error}},[e._v(e._s(e.error))]):e._e(),e._v(" "),i("announcement"),e._v(" "),i("v-spacer"),e._v(" "),i("login-buttons",{attrs:{mode:"join",providers:e.providers,competitionId:e.competitionId,"credential-code":e.error?void 0:e.credentialCode},on:{confirm:e.onLoginSuccess}})]:e._e()],2)};se._withStripped=!0;var ae=i(110),ce=function(){var e=this.$createElement,t=this._self._c||e;return t("div",[t("v-progress-circular",{staticClass:"progress",attrs:{indeterminate:"",size:"20",width:3,color:"primary"}}),this._v(" "),!1!==this.message?[this._v(this._s(this.message||this.$t("LOADING_MESSAGE")))]:this._e()],2)};ce._withStripped=!0;var le=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(n.d)(t,e),Object(n.c)([Object(m.c)()],t.prototype,"message",void 0),t=Object(n.c)([Object(m.a)({})],t)}(r.default),ue=(i(749),Object(u.a)(le,ce,[],!1,null,null,null));ue.options.__file="src/components/utils/Loading.vue";var de=ue.exports,pe=i(143),ve=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.competition={},t.creatingUser=!1,t.retryableError=!0,t.loggingIn=!1,t}return Object(n.d)(t,e),Object.defineProperty(t.prototype,"credentialCode",{get:function(){return this.$route.query?this.$route.query.code:void 0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"competitionId",{get:function(){var e;return this.$route.params.ctfid?this.$route.params.ctfid:(JSON.parse(_.Base64.decode(null===(e=this.$route.query)||void 0===e?void 0:e.state))||{}).competitionId},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"providers",{get:function(){var e,t=["google","azure"];return(null===(e=this.competition.settings)||void 0===e?void 0:e.allowDirectLogin)&&t.push("credential_user"),t},enumerable:!1,configurable:!0}),t.prototype.created=function(){return Object(n.b)(this,void 0,void 0,(function(){var e;return Object(n.e)(this,(function(t){switch(t.label){case 0:return[4,this.competitionApiClient.get(new pe.CompetitionFilter({subdomain:this.competitionId}))];case 1:return 0===(e=t.sent()).items.length?(this.setError({message:this.$root.$t("JOIN_COMPETITION_NOT_FOUND")}),this.retryableError=!1,[2]):(this.competition=e.items[0],[2])}}))}))},t.prototype.onLoginSuccess=function(){var e,t,i,r,o,s;return Object(n.b)(this,void 0,void 0,(function(){var c,l;return Object(n.e)(this,(function(n){switch(n.label){case 0:return c=(null===(e=this.$route.query)||void 0===e?void 0:e.state)?null===(i=JSON.parse(_.Base64.decode(null===(t=this.$route.query)||void 0===t?void 0:t.state)))||void 0===i?void 0:i.redirectUrl:void 0,l=c||(this.$route.query.redirect_url?this.$route.query.redirect_url:this.$route.query.state?a.a.CTF_UI_BASE_URL.replace("www",this.competitionId):a.a.CTF_UI_BASE_URL),[4,this.tryLogin()];case 1:return n.sent(),[4,this.fetchClaims()];case 2:return n.sent(),this.loadingBegin(),this.canAccessCompetition(this.competition.id,this.competition.organizationId)?(this.loggingIn=!0,[4,this.redirectToUrl(l)]):[3,4];case 3:return n.sent(),[3,12];case 4:return this.credentialCode||this.canRegisterAsPlayer(this.competition.courseId)||this.canRegisterAsAdmin(this.competition.courseId)?[4,this.createUser(this.competition.subdomain)]:[3,7];case 5:return n.sent(),[4,this.redirectToUrl(l)];case 6:return n.sent(),[3,12];case 7:return(null===(r=this.competition.settings)||void 0===r?void 0:r.endTime)&&(null===(o=this.competition.settings)||void 0===o?void 0:o.endTime)<=(new Date).toISOString()?(this.setError({message:this.$t("JOIN_FAILED_COMPETITION_ENDED")}),[3,12]):[3,8];case 8:return(null===(s=this.competition.settings)||void 0===s?void 0:s.allowPublicRegistration)?[4,this.createUser(this.competition.subdomain)]:[3,11];case 9:return n.sent(),[4,this.redirectToUrl(l)];case 10:return n.sent(),[3,12];case 11:this.setError({message:this.$t("JOIN_FAILED_COMPETITION_PRIVATE")}),this.loadingEnd(),n.label=12;case 12:return[2]}}))}))},t.prototype.createUser=function(e){return Object(n.b)(this,void 0,void 0,(function(){var t;return Object(n.e)(this,(function(i){switch(i.label){case 0:return i.trys.push([0,4,,5]),this.creatingUser=!0,[4,this.userApiClient.createUserByCtfCompetitionSubdomain(e)];case 1:return i.sent(),[4,new Promise((function(e,t){return Object(ae.setTimeout)(e,2e3)}))];case 2:return i.sent(),[4,this.tryLogin()];case 3:return i.sent(),[3,5];case 4:throw t=i.sent(),this.creatingUser=!1,t;case 5:return[2]}}))}))},t.prototype.redirectToUrl=function(e){return Object(n.b)(this,void 0,void 0,(function(){var t;return Object(n.e)(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,this.getSsoToken()];case 1:return t=i.sent(),a.a.REDIRECT_URLS.split(",").some((function(t){return t===e||!0===new RegExp(t).test(e)}))?(e.includes("?")||(e+="?"),window.location.href=e+"&s="+t,[3,3]):[2,this.setError({message:this.$t("INVALID_REDIRECT_URL",{url:this.$route.query.redirect_url})})];case 2:return i.sent(),this.loggingIn=!1,[3,3];case 3:return[2]}}))}))},Object(n.c)([Object(f.a)(b.a.SetError)],t.prototype,"setError",void 0),Object(n.c)([Object(f.b)(C.a.CompetitionApiClient)],t.prototype,"competitionApiClient",void 0),Object(n.c)([Object(f.b)(C.a.UserApiClient)],t.prototype,"userApiClient",void 0),Object(n.c)([Object(f.a)(b.a.GetSsoToken)],t.prototype,"getSsoToken",void 0),Object(n.c)([Object(f.a)(b.a.TryLogin)],t.prototype,"tryLogin",void 0),Object(n.c)([Object(f.a)(b.a.FetchClaims)],t.prototype,"fetchClaims",void 0),Object(n.c)([Object(f.b)(C.a.CanAccessCompetition)],t.prototype,"canAccessCompetition",void 0),Object(n.c)([Object(f.b)(C.a.CanRegisterAsAdmin)],t.prototype,"canRegisterAsAdmin",void 0),Object(n.c)([Object(f.b)(C.a.CanRegisterAsPlayer)],t.prototype,"canRegisterAsPlayer",void 0),Object(n.c)([Object(f.b)(C.a.GetErrorMessage)],t.prototype,"error",void 0),Object(n.c)([Object(f.a)(b.a.LoadingBegin)],t.prototype,"loadingBegin",void 0),Object(n.c)([Object(f.a)(b.a.LoadingEnd)],t.prototype,"loadingEnd",void 0),t=Object(n.c)([Object(c.b)({components:{Loading:de,LoginButtons:Z,Announcement:Q}})],t)}(r.default),be=Object(u.a)(ve,se,[],!1,null,null,null);be.options.__file="src/components/join/Join.vue";var he=be.exports,ge=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[e.isErrorState&&!e.retryableError?i("v-alert",{staticClass:"mb-4",attrs:{role:"alert",type:"error",value:e.error,icon:"error",dense:""}},[e._v(e._s(e.error))]):e._e(),e._v(" "),e.creatingUser?[i("loading",{attrs:{message:e.$t("REGISTRATION_LOADING_MESSAGE")}})]:i("div",{staticClass:"elevation-0"},[i("h1",[e._v(e._s(e.$t("REGISTRATION_COURSE_REGISTRATION")))]),e._v(" "),e.error&&e.retryableError?i("v-alert",{staticClass:"mb-4",attrs:{roler:"alert",type:"error",icon:"error",value:!!e.error,dense:""}},[e._v(e._s(e.error))]):e._e(),e._v(" "),i("announcement"),e._v(" "),e.course.courseName?[i("p",{staticClass:"mt-3 mb-3",domProps:{innerHTML:e._s(e.$t("REGISTRATION_CONFIRM_MESSAGE",{course:e.course.courseName}))}}),e._v(" "),(e.isValidCourseCode,i("login-buttons",{attrs:{providers:["google","azure"],mode:"registration",transition:"fade-transition"},on:{confirm:e.onLoginSuccess}}))]:[i("p",{staticClass:"mt-3 mb-3"},[e._v(e._s(e.$t("REGISTRATION_INSTRUCTIONS")))]),e._v(" "),i("v-flex",{attrs:{xs12:""}},[i("v-text-field",{attrs:{label:e.$t("INVITATION_CODE_LABEL"),required:!0,disabled:e.loading},on:{input:e.onCourseCodeChange},model:{value:e.courseCode,callback:function(t){e.courseCode=t},expression:"courseCode"}})],1),e._v(" "),e.loading?i("div",{staticClass:"text-xs-center"},[i("loading",{attrs:{message:"Validating"}})],1):e._e()],e._v(" "),i("router-link",{attrs:{to:{name:"login"}}},[e._v("\n        "+e._s(e.$t("REGISTRATION_ALREADY_REGISTERED"))+"\n      ")])],2)],2)};ge._withStripped=!0;var _e=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.show?i("span",[!1!==e.showIcon?i("v-icon",{staticClass:"pr-1",attrs:{color:"error"}},[e._v("error")]):e._e(),e._v(" "),i("span",{staticClass:"error--text text--darken-1"},[e._v(e._s(e.message))])],1):e._e()};_e._withStripped=!0;var fe=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(n.d)(t,e),Object(n.c)([Object(m.c)(Boolean)],t.prototype,"show",void 0),Object(n.c)([Object(m.c)(Boolean)],t.prototype,"showIcon",void 0),Object(n.c)([Object(m.c)(String)],t.prototype,"message",void 0),t=Object(n.c)([Object(c.b)({})],t)}(r.default),me=(i(767),Object(u.a)(fe,_e,[],!1,null,"dfc65c12",null));me.options.__file="src/components/utils/ErrorText.vue";var Oe=me.exports,Ee=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isErrorState=!1,t.course={},t.courseCode="",t.retryableError=!0,t.courseCodeIcon=void 0,t.creatingUser=!1,t}return Object(n.d)(t,e),Object.defineProperty(t.prototype,"isValidCourseCode",{get:function(){return 12===this.courseCode.length},enumerable:!1,configurable:!0}),t.prototype.created=function(){return Object(n.b)(this,void 0,void 0,(function(){var e;return Object(n.e)(this,(function(t){switch(t.label){case 0:return this.$route.params.cid?(this.courseCode=this.$route.params.cid,[4,this.userApiClient.getCourseCode(this.courseCode)]):[3,2];case 1:e=t.sent(),this.course={courseName:e.courseName},t.label=2;case 2:return[2]}}))}))},t.prototype.destroyed=function(){this.resetError()},t.prototype.onCourseCodeChange=function(){return Object(n.b)(this,void 0,void 0,(function(){var e;return Object(n.e)(this,(function(t){switch(t.label){case 0:return 12!==this.courseCode.length?[3,2]:(e=this,[4,this.userApiClient.getCourseCode(this.courseCode)]);case 1:return e.course=t.sent(),this.resetError(),[3,3];case 2:this.courseCode.length<12&&this.resetError(),t.label=3;case 3:return[2]}}))}))},t.prototype.onLoginSuccess=function(){return Object(n.b)(this,void 0,void 0,(function(){return Object(n.e)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),this.creatingUser=!0,[4,this.$store.dispatch(b.a.CreateUser,new ee(te.a.courseCode,this.courseCode))];case 1:return e.sent(),[3,3];case 2:return e.sent(),this.creatingUser=!1,[3,3];case 3:return[2]}}))}))},Object(n.c)([Object(f.a)(b.a.SetError)],t.prototype,"setError",void 0),Object(n.c)([Object(f.a)(b.a.ResetError)],t.prototype,"resetError",void 0),Object(n.c)([Object(f.b)(C.a.UserApiClient)],t.prototype,"userApiClient",void 0),Object(n.c)([Object(f.a)(b.a.GetSsoToken)],t.prototype,"getSsoToken",void 0),Object(n.c)([Object(f.a)(b.a.TryLogin)],t.prototype,"tryLogin",void 0),Object(n.c)([Object(f.b)(C.a.IsLoading)],t.prototype,"loading",void 0),Object(n.c)([Object(f.b)(C.a.GetErrorMessage)],t.prototype,"error",void 0),t=Object(n.c)([Object(c.b)({components:{Loading:de,LoginButtons:Z,ErrorText:Oe,Announcement:Q}})],t)}(r.default),Ie=Object(u.a)(Ee,ge,[],!1,null,null,null);Ie.options.__file="src/components/registration/Registration.vue";var ye=Ie.exports,Te=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.creatingUser?i("loading",{attrs:{message:e.$t("INVITATION_LOADING_MESSAGE")}}):e.error&&!e.retryableError?i("v-alert",{staticClass:"mb-4",attrs:{role:"alert",type:"error",icon:"error",dense:"",value:e.error}},[e._v(e._s(e.error))]):i("div",{staticClass:"elevation-0"},[i("h1",[e._v(e._s(e.$t("INVITATION_CONFIRMATION")))]),e._v(" "),e.invitation.id?[e.error&&e.retryableError?i("v-alert",{staticClass:"mb-4",attrs:{role:"alert",type:"error",icon:"error",dense:"",value:e.error}},[e._v(e._s(e.error))]):e._e(),e._v(" "),i("announcement"),e._v(" "),i("p",{staticClass:"mt-3 mb-3"},[e._v(e._s(e.$t("INVITATION_WELCOME_TEXT",{name:e.invitation.name})))]),e._v(" "),i("v-spacer"),e._v(" "),i("v-spacer")]:e._e(),e._v(" "),e.invitation.id?[i("login-buttons",{attrs:{mode:"invitations",providers:["google","azure"]},on:{confirm:e.onLoginSuccess}})]:e._e()],2)};Te._withStripped=!0;var Ce=i(12),Ne=i(72),Se=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.invitation={},t.creatingUser=!1,t.retryableError=!0,t}return Object(n.d)(t,e),Object.defineProperty(t.prototype,"invitationId",{get:function(){return this.$route.params.iid},enumerable:!1,configurable:!0}),t.prototype.created=function(){return Object(n.b)(this,void 0,void 0,(function(){var e,t,i;return Object(n.e)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),e=this,[4,this.invitationApiClient.getOne(this.invitationId)];case 1:return e.invitation=n.sent(),this.invitation.status!==Ne.InvitationStatus.PendingApproval&&this.invitation.status!==Ne.InvitationStatus.Rejected||((t=new Error).message=this.invitation.status===Ne.InvitationStatus.PendingApproval?this.$root.$t("INVITATION_PENDING_APPROVAL_MESSAGE"):this.$root.$t("INVITATION_REJECTED_MESSAGE"),this.$router.push({name:"login"}),this.retryableError=!1,this.setError(t)),[3,3];case 2:return(i=n.sent())instanceof Ce.GoneApiClientError?(i.message=this.$root.$t("INVITATION_ACCEPTED_ERROR_MESSAGE"),this.$router.push({name:"login",query:{redirect_url:i.location}})):i instanceof Ce.NotFoundApiClientError&&(i.message=this.$root.$t("INVITATION_NOT_FOUND_ERROR_MESSAGE")),this.retryableError=!1,this.setError(i),[3,3];case 3:return[2]}}))}))},t.prototype.onLoginSuccess=function(){return Object(n.b)(this,void 0,void 0,(function(){var e;return Object(n.e)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),this.creatingUser=!0,[4,this.$store.dispatch(b.a.CreateUser,new ee(te.a.invitation,this.invitation))];case 1:return t.sent(),[3,3];case 2:return e=t.sent(),this.creatingUser=!1,e instanceof Ce.NotFoundApiClientError?(e.message=this.$root.$t("COMPETITION_NOT_FOUND_ERROR_MESSAGE"),this.retryableError=!1,this.setError(e),[3,3]):[2];case 3:return[2]}}))}))},Object(n.c)([Object(f.a)(b.a.SetError)],t.prototype,"setError",void 0),Object(n.c)([Object(f.b)(C.a.InvitationApiClient)],t.prototype,"invitationApiClient",void 0),Object(n.c)([Object(f.b)(C.a.UserApiClient)],t.prototype,"userApiClient",void 0),Object(n.c)([Object(f.b)(C.a.CompetitionApiClient)],t.prototype,"competitionApiClient",void 0),Object(n.c)([Object(f.a)(b.a.GetSsoToken)],t.prototype,"getSsoToken",void 0),Object(n.c)([Object(f.a)(b.a.TryLogin)],t.prototype,"tryLogin",void 0),Object(n.c)([Object(f.b)(C.a.GetErrorMessage)],t.prototype,"error",void 0),t=Object(n.c)([Object(c.b)({components:{Loading:de,LoginButtons:Z,Announcement:Q}})],t)}(r.default),Ae=Object(u.a)(Se,Te,[],!1,null,null,null);Ae.options.__file="src/components/invitation/Invitation.vue";var Re=Ae.exports,Le=function(){var e=this.$createElement,t=this._self._c||e;return t("v-app",[t("v-container",{attrs:{fluid:"","fill-height":"","elevation-0":""}},[t("v-layout",{attrs:{"align-center":"","justify-center":"","mb-5":"","pb-5":""}},[t("v-flex",{attrs:{xs12:"",sm8:"",md6:""}},[t("router-view",{key:this.$route.fullPath})],1)],1)],1)],1)};Le._withStripped=!0;var Ue=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(n.d)(t,e),t=Object(n.c)([c.b],t)}(r.default),je=(i(780),Object(u.a)(Ue,Le,[],!1,null,"5eb77ca7",null));je.options.__file="src/components/integration/lti/LtiPage.vue";var we=je.exports,xe=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("v-alert",{staticClass:"mb-4",attrs:{role:"alert",type:"error",icon:"error",dense:"",value:!!e.error}},[e._v(e._s(e.error))]),e._v(" "),i("announcement"),e._v(" "),e.redirecting?[i("loading",{attrs:{message:e.$t("LTI_REDIRECTING")}})]:e.activeStep>0?i("accessible-stepper",{staticClass:"elevation-0",attrs:{steps:e.steps},scopedSlots:e._u([{key:"Login",fn:function(){return[i("login-step",{on:{confirm:e.onLoginSuccess}})]},proxy:!0},{key:"Select",fn:function(){return[i("select-step",{attrs:{active:2===e.activeStep},on:{cancel:e.onSelectCanceled,confirm:e.onSelectConfirmed}})]},proxy:!0},{key:"Link",fn:function(){return[i("link-step",{attrs:{active:3===e.activeStep,course:e.selectedCourse},on:{cancel:e.onLinkCanceled}})]},proxy:!0}]),model:{value:e.activeStep,callback:function(t){e.activeStep=t},expression:"activeStep"}}):e._e()],2)};xe._withStripped=!0;var Pe=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-stepper",{attrs:{"aria-live":"polite"},model:{value:e.activeStep,callback:function(t){e.activeStep=t},expression:"activeStep"}},[i("v-stepper-header",[e._l(e.steps,(function(t,n){return[i("v-stepper-step",{key:"step-"+n+"-headder",attrs:{id:"step-"+n+"-header",complete:e.activeStep>n+1,step:n+1,"complete-icon":"check"}},[e.activeStep>n+1?i("span",{staticClass:"visually-hidden"},[e._v("Complete: ")]):e.activeStep===n+1?i("span",{staticClass:"visually-hidden"},[e._v("Current: ")]):e._e(),e._v("\n                "+e._s(t)+"\n            ")])]}))],2),e._v(" "),i("v-stepper-items",e._l(e.steps,(function(t,n){return i("v-stepper-content",{key:n+"-step",attrs:{step:n+1,"aria-labelledby":"step-"+n+"-header"}},[e._t(t.replace(" ","-"))],2)})),1)],1)};Pe._withStripped=!0;var Be=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(n.d)(t,e),Object(n.c)([Object(m.e)({type:Number,default:1})],t.prototype,"activeStep",void 0),Object(n.c)([Object(m.c)({type:Array,required:!0})],t.prototype,"steps",void 0),t=Object(n.c)([m.a],t)}(m.f),Ge=Object(u.a)(Be,Pe,[],!1,null,null,null);Ge.options.__file="src/components/utils/AccessibleStepper.vue";var De=Ge.exports,ke=function(){var e=this.$createElement,t=this._self._c||e;return t("v-card",[t("v-card-text",{staticClass:"d-flex justify-center"},[t("div",{staticStyle:{"max-width":"320px"}},[t("login-buttons",{attrs:{providers:["google","azure"],mode:"lti",text:this.$t("LTI_LOGIN_STEP_TEXT")},on:{confirm:this.onLoginSuccess}})],1)])],1)};ke._withStripped=!0;var Me=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(n.d)(t,e),t.prototype.onLoginSuccess=function(){return Object(n.b)(this,void 0,void 0,(function(){return Object(n.e)(this,(function(e){switch(e.label){case 0:return[4,this.tryLogin()];case 1:return e.sent(),[4,this.fetchClaims()];case 2:return e.sent(),this.$emit("confirm"),[2]}}))}))},Object(n.c)([Object(f.b)(C.a.IsLoading)],t.prototype,"isLoading",void 0),Object(n.c)([Object(f.b)(C.a.GetLtiToken)],t.prototype,"ltiToken",void 0),Object(n.c)([Object(f.a)(b.a.TryLogin)],t.prototype,"tryLogin",void 0),Object(n.c)([Object(f.a)(b.a.FetchClaims)],t.prototype,"fetchClaims",void 0),t=Object(n.c)([Object(m.a)({components:{LoginButtons:Z}})],t)}(m.f),$e=Object(u.a)(Me,ke,[],!1,null,null,null);$e.options.__file="src/components/integration/lti/steps/LoginStep.vue";var Fe=$e.exports,Ve=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-card",[i("v-card-text",[e.coursesFetched?[e.courses.length>0?[i("p",{domProps:{innerHTML:e._s(e.$t("LTI_SELECT_STEP_TEXT",{canvasCourseName:e.canvasCourseName}))}}),e._v(" "),i("v-select",{attrs:{items:e.courses,"item-text":"name","return-object":!0,label:e.$t("LTI_SELECT_SELECT_COURSE_LABEL"),loading:e.fetchingCourses,disabled:e.isLoading||e.fetchingCourses},scopedSlots:e._u([{key:"item",fn:function(t){return[i("v-list-item-content",[i("v-list-item-title",[e._v(e._s(t.item.name))]),e._v(" "),i("v-list-item-subtitle",{staticClass:"caption grey--text text--darken-1"},[e._v(e._s(e.getCourseInstructors(t.item)))])],1)]}}],null,!1,4273428200),model:{value:e.selectedCourse,callback:function(t){e.selectedCourse=t},expression:"selectedCourse"}})]:[i("p",{domProps:{innerHTML:e._s(e.$t("LTI_SELECT_NO_COURSES",{canvasCourseName:e.canvasCourseName}))}})]]:[i("loading",{attrs:{message:e.$t("LTI_SELECT_LOADING")}})]],2),e._v(" "),i("v-card-actions",{staticClass:"pl-2 pr-3 pb-3"},[i("v-spacer"),e._v(" "),i("v-btn",{attrs:{color:"confirm",text:"",disabled:e.isLoading},on:{click:e.cancel}},[e._v("\n            "+e._s(e.$t("LTI_SELECT_STEP_CANCEL"))+"\n        ")]),e._v(" "),i("v-btn",{staticClass:"elevation-0",attrs:{color:"primary",disabled:e.isLoading||e.fetchingCourses||!e.selectedCourse.id},on:{click:e.confirm}},[e._v("\n            "+e._s(e.$t("LTI_SELECT_STEP_CONFIRM"))+"\n        ")])],1)],1)};Ve._withStripped=!0;var ze=i(22),qe=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.courses=[],t.selectedCourse={},t.fetchingCourses=!1,t.coursesFetched=!1,t}return Object(n.d)(t,e),Object.defineProperty(t.prototype,"canvasCourseName",{get:function(){return this.ltiIdentity.contextName},enumerable:!1,configurable:!0}),t.prototype.onActiveChanged=function(){return Object(n.b)(this,void 0,void 0,(function(){var e,t,i=this;return Object(n.e)(this,(function(n){switch(n.label){case 0:if(!this.active)return[3,4];this.courses=[],this.selectedCourse={},n.label=1;case 1:return n.trys.push([1,,3,4]),this.coursesFetched=!1,this.fetchingCourses=!0,e=new ze.CourseFilter({organizationIds:[this.ltiIdentity.organizationId]}),t=this,[4,this.userApiClient.getAllCourses(e)];case 2:return t.courses=n.sent().sort((function(e,t){return e.name.localeCompare(t.name,void 0,{sensitivity:"base",numeric:!0})})).filter((function(e){return i.canCreateCourseApplication(e.id,e.organizationId)&&e.status===ze.CourseStatus.Ready})),this.coursesFetched=!0,[3,4];case 3:return this.fetchingCourses=!1,[7];case 4:return[2]}}))}))},t.prototype.getCourseInstructors=function(e){var t;return((null===(t=e.statistics)||void 0===t?void 0:t.instructors)||[]).map((function(e){return e.name})).join(", ")},t.prototype.cancel=function(){this.$emit("cancel")},t.prototype.confirm=function(){this.$emit("confirm",this.selectedCourse)},Object(n.c)([Object(m.c)(Boolean)],t.prototype,"active",void 0),Object(n.c)([Object(f.b)(C.a.IsLoading)],t.prototype,"isLoading",void 0),Object(n.c)([Object(f.b)(C.a.UserApiClient)],t.prototype,"userApiClient",void 0),Object(n.c)([Object(f.b)(C.a.GetLtiIdentity)],t.prototype,"ltiIdentity",void 0),Object(n.c)([Object(f.b)(C.a.CanCreateCourseApplication)],t.prototype,"canCreateCourseApplication",void 0),Object(n.c)([Object(m.g)("active")],t.prototype,"onActiveChanged",null),t=Object(n.c)([Object(m.a)({components:{Loading:de}})],t)}(m.f),Ye=Object(u.a)(qe,Ve,[],!1,null,null,null);Ye.options.__file="src/components/integration/lti/steps/SelectStep.vue";var He=Ye.exports,Xe=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-card",[i("v-card-text",[e.isLinking?[i("v-flex",{attrs:{xs12:"","mb-5":"",centeredIcon:""}},[i("loading",{attrs:{message:e.$t("LTI_LINK_STEP_LOADING")}})],1)]:e.successfullyLinked?[i("v-flex",{attrs:{xs12:"","mb-5":"",centeredIcon:""}},[i("v-icon",{attrs:{size:"48",color:"success"}},[e._v("done")])],1),e._v(" "),i("v-flex",{attrs:{xs12:"","mb-5":""}},[i("span",{domProps:{innerHTML:e._s(e.$t("LTI_LINK_STEP_SUCCEEDED_TEXT",{ltiContextName:e.ltiIdentity.contextName,courseName:e.course.name}))}})])]:[i("v-flex",{attrs:{xs12:"","mb-5":"",centeredIcon:""}},[i("v-icon",{attrs:{size:"48",color:"error"}},[e._v("error")])],1),e._v(" "),i("v-flex",{attrs:{xs12:"","mb-5":""}},[i("span",{domProps:{innerHTML:e._s(e.$t("LTI_LINK_STEP_FAILED_TEXT"))}})])]],2),e._v(" "),i("v-card-actions",{staticClass:"pl-2 pr-3 pb-3"},[i("v-spacer"),e._v(" "),e.isLinking||e.launchFailed?void 0:e.successfullyLinked?i("v-btn",{staticClass:"elevation-0",attrs:{color:"primary",disabled:e.isLoading},on:{click:e.confirm}},[e._v("\n            "+e._s(e.$t("LTI_LINK_STEP_CONFIRM"))+"\n        ")]):i("v-btn",{attrs:{color:"confirm",text:"",disabled:e.isLoading},on:{click:e.cancel}},[e._v("\n            "+e._s(e.$t("LTI_LINK_STEP_CANCEL"))+"\n        ")])],2)],1)};Xe._withStripped=!0;var Ze=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isLinking=!0,t.launchFailed=!1,t.successfullyLinked=!1,t}return Object(n.d)(t,e),t.prototype.onActiveChanged=function(){return Object(n.b)(this,void 0,void 0,(function(){var e,t,i;return Object(n.e)(this,(function(n){switch(n.label){case 0:if(!this.active)return[2];this.isLinking=!0,n.label=1;case 1:return n.trys.push([1,,11,12]),e=new ze.CourseApplication({type:ze.CourseApplicationType.Lti13,courseId:this.course.id,deploymentId:this.ltiIdentity.deploymentId,organizationId:this.ltiIdentity.organizationId,organizationApplicationId:this.ltiIdentity.organizationApplicationId,referenceId:this.ltiIdentity.contextId,referenceUrl:""}),[4,this.userApiClient.createCourseApplication(this.course.id,e)];case 2:n.sent(),n.label=3;case 3:return n.trys.push([3,5,,6]),[4,this.backgroundAuthenticationApiClient.addCurrentIdentityAlternateIds([this.ltiIdentity.sub])];case 4:return n.sent(),[3,6];case 5:if(!((t=n.sent())instanceof Ce.ConflictApiClientError))throw t;return[3,6];case 6:if(!this.ltiIdentity.roles.some((function(e){return[ze.UserRole.Instructor,ze.UserRole.Student,ze.UserRole.TA].includes(e)})))return[3,10];n.label=7;case 7:return n.trys.push([7,9,,10]),[4,this.userApiClient.createUserByLtiToken(this.ltiToken,{errorHandler:function(){}})];case 8:return n.sent(),[3,10];case 9:if(402!==(i=n.sent()).statusCode||!i.message.includes("payment"))throw this.defaultErrorHandler(i),i;return[3,10];case 10:return this.successfullyLinked=!0,[3,12];case 11:return this.isLinking=!1,[7];case 12:return[2]}}))}))},t.prototype.cancel=function(){return Object(n.b)(this,void 0,void 0,(function(){return Object(n.e)(this,(function(e){return this.$emit("cancel"),[2]}))}))},t.prototype.confirm=function(){return Object(n.b)(this,void 0,void 0,(function(){var e;return Object(n.e)(this,(function(t){switch(t.label){case 0:return[4,this.login({provider:"vcr",token:this.ltiToken})];case 1:return t.sent()?[4,this.getSsoToken()]:[3,3];case 2:return e=t.sent(),this.loadingBegin(),window.location.href=new URL("/courses/"+this.course.id+"?s="+e,a.a.CYBER_RANGE_UI_BASE_URL).href,[3,4];case 3:this.setError(new Error(this.$t("LTI_LINK_STEP_LAUNCH_FAILED").toString())),this.launchFailed=!0,t.label=4;case 4:return[2]}}))}))},Object(n.c)([Object(m.c)(Object)],t.prototype,"course",void 0),Object(n.c)([Object(m.c)(Boolean)],t.prototype,"active",void 0),Object(n.c)([Object(f.b)(C.a.GetLtiIdentity)],t.prototype,"ltiIdentity",void 0),Object(n.c)([Object(f.b)(C.a.GetLtiToken)],t.prototype,"ltiToken",void 0),Object(n.c)([Object(f.b)(C.a.IsLoading)],t.prototype,"isLoading",void 0),Object(n.c)([Object(f.b)(C.a.UserApiClient)],t.prototype,"userApiClient",void 0),Object(n.c)([Object(f.b)(C.a.BackgroundAuthenticationApiClient)],t.prototype,"backgroundAuthenticationApiClient",void 0),Object(n.c)([Object(f.a)(b.a.GetSsoToken)],t.prototype,"getSsoToken",void 0),Object(n.c)([Object(f.a)(b.a.LoadingBegin)],t.prototype,"loadingBegin",void 0),Object(n.c)([Object(f.a)(b.a.Login)],t.prototype,"login",void 0),Object(n.c)([Object(f.a)(b.a.SetError)],t.prototype,"setError",void 0),Object(n.c)([Object(f.a)(b.a.CustomApiErrorHandler)],t.prototype,"defaultErrorHandler",void 0),Object(n.c)([Object(m.g)("active")],t.prototype,"onActiveChanged",null),t=Object(n.c)([Object(m.a)({components:{Loading:de}})],t)}(m.f),Je=(i(922),Object(u.a)(Ze,Xe,[],!1,null,"b058c2f2",null));Je.options.__file="src/components/integration/lti/steps/LinkStep.vue";var Ke=Je.exports,We=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.activeStep=0,t.steps=[t.$t("LTI_LOGIN_STEP_TITLE"),t.$t("LTI_SELECT_STEP_TITLE"),t.$t("LTI_LINK_STEP_TITLE")],t.redirecting=!1,t.selectedCourse=new ze.Course,t}return Object(n.d)(t,e),t.prototype.onActiveStepChanged=function(){return Object(n.b)(this,void 0,void 0,(function(){return Object(n.e)(this,(function(e){switch(e.label){case 0:return[4,this.resetError()];case 1:return e.sent(),[2]}}))}))},t.prototype.created=function(){return Object(n.b)(this,void 0,void 0,(function(){var e;return Object(n.e)(this,(function(t){return this.ltiIdentity.sub||this.error||this.setError(new Error(this.$t("LTI_INVALID_IDENTITY").toString())),this.ltiIdentity.courseApplicationId?this.redirectToCourse():(e=this.ltiIdentity.roles).includes(ze.UserRole.Instructor)||e.includes(ze.UserRole.CourseAdmin)||e.includes(ze.UserRole.SuperAdmin)?this.activeStep=1:this.setError(new Error(this.$t("LTI_MISSING_COURSE_APPLICATION").toString())),[2]}))}))},t.prototype.redirectToCourse=function(){return Object(n.b)(this,void 0,void 0,(function(){var e;return Object(n.e)(this,(function(t){switch(t.label){case 0:return t.trys.push([0,,6,7]),this.redirecting=!0,[4,this.login({provider:"vcr",token:this.ltiToken})];case 1:return t.sent()?this.ltiIdentity.roles.some((function(e){return[ze.UserRole.Instructor,ze.UserRole.Student,ze.UserRole.TA].includes(e)}))?[4,this.$store.dispatch(b.a.CreateUser,new ee(te.a.lti,{ltiToken:this.ltiToken,courseId:this.ltiIdentity.courseId}))]:[3,3]:[3,5];case 2:return t.sent(),[3,5];case 3:return[4,this.getSsoToken()];case 4:e=t.sent(),this.loadingBegin(),window.location.href=new URL("/courses/"+this.ltiIdentity.courseId+"?s="+e,a.a.CYBER_RANGE_UI_BASE_URL).href,t.label=5;case 5:return[3,7];case 6:return this.redirecting=!1,[7];case 7:return[2]}}))}))},t.prototype.onLoginSuccess=function(e){this.activeStep++},t.prototype.onSelectCanceled=function(){this.activeStep--},t.prototype.onLinkCanceled=function(){return Object(n.b)(this,void 0,void 0,(function(){return Object(n.e)(this,(function(e){return this.activeStep--,this.selectedCourse=new ze.Course,[2]}))}))},t.prototype.onSelectConfirmed=function(e){return Object(n.b)(this,void 0,void 0,(function(){return Object(n.e)(this,(function(t){return this.activeStep++,this.selectedCourse=e,[2]}))}))},Object(n.c)([Object(f.b)(C.a.GetErrorMessage)],t.prototype,"error",void 0),Object(n.c)([Object(f.a)(b.a.SetError)],t.prototype,"setError",void 0),Object(n.c)([Object(f.a)(b.a.ResetError)],t.prototype,"resetError",void 0),Object(n.c)([Object(f.b)(C.a.GetLtiIdentity)],t.prototype,"ltiIdentity",void 0),Object(n.c)([Object(f.b)(C.a.GetLtiToken)],t.prototype,"ltiToken",void 0),Object(n.c)([Object(f.b)(C.a.UserApiClient)],t.prototype,"userApiClient",void 0),Object(n.c)([Object(f.b)(C.a.AuthenticationApiClient)],t.prototype,"authenticationApiClient",void 0),Object(n.c)([Object(f.a)(b.a.GetSsoToken)],t.prototype,"getSsoToken",void 0),Object(n.c)([Object(f.a)(b.a.Login)],t.prototype,"login",void 0),Object(n.c)([Object(f.a)(b.a.LoadingBegin)],t.prototype,"loadingBegin",void 0),Object(n.c)([Object(m.g)("activeStep")],t.prototype,"onActiveStepChanged",null),t=Object(n.c)([Object(c.b)({components:{AccessibleStepper:De,Announcement:Q,LoginStep:Fe,SelectStep:He,LinkStep:Ke,Loading:de}})],t)}(r.default),Qe=Object(u.a)(We,xe,[],!1,null,null,null);Qe.options.__file="src/components/integration/lti/lti.vue";var et=Qe.exports,tt=i(16),it=i(52),nt=i(144),rt=i(145),ot=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-alert",{staticClass:"mb-4",attrs:{type:"error",icon:"error",dense:"",value:!!e.error}},[i("div",[e._v("\n        "+e._s(e.error)+"\n    ")]),e._v(" "),e.eventId?i("div",{staticClass:"mt-3"},[e._v("\n        "+e._s(e.$t("LTI_SETUP_ERROR_EVENT_ID",{eventId:e.eventId}))+"\n    ")]):e._e()])};ot._withStripped=!0;var st=i(455),at=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(n.d)(t,e),Object.defineProperty(t.prototype,"eventId",{get:function(){return this._eventId||(this._eventId=st.a(this.$route.query.eid)?this.$route.query.eid:void 0)},enumerable:!1,configurable:!0}),t.prototype.created=function(){return Object(n.b)(this,void 0,void 0,(function(){var e;return Object(n.e)(this,(function(t){switch(e="",this.code){case"clientidnotfound":e=this.$t("LTI_SETUP_ERROR_CLIENT_ID_NOT_FOUND").toString();break;case"deploymentidnotfound":e=this.$t("LTI_SETUP_ERROR_DEPLOYMENT_ID_NOT_FOUND").toString();break;case"invalidkeysigning":e=this.$t("LTI_SETUP_ERROR_INVALID_KEY_SIGNING").toString();break;case"invalidrole":e=this.$t("LTI_SETUP_ERROR_INVALID_ROLE").toString();break;case"invalidissuer":e=this.$t("LTI_SETUP_ERROR_INVALID_ISSUER").toString();break;case"invalidtargeturi":e=this.$t("LTI_SETUP_ERROR_INVALID_TARGET_URI").toString();break;case"piiprovided":e=this.$t("LTI_SETUP_ERROR_PII_PROVIDED").toString();break;case"technical":e=this.$t("LTI_SETUP_ERROR_TECHNICAL").toString();break;default:e=this.$t("LTI_SETUP_ERROR_GENERIC").toString()}return this.setError(new Error(e)),[2]}))}))},Object(n.c)([Object(m.c)(String)],t.prototype,"code",void 0),Object(n.c)([Object(f.b)(C.a.GetErrorMessage)],t.prototype,"error",void 0),Object(n.c)([Object(f.a)(b.a.SetError)],t.prototype,"setError",void 0),t=Object(n.c)([Object(c.b)({components:{}})],t)}(r.default),ct=Object(u.a)(at,ot,[],!1,null,null,null);ct.options.__file="src/components/integration/lti/errors/ltiError.vue";var lt=ct.exports,ut=function(){var e=this.$createElement,t=this._self._c||e;return t("v-alert",{staticClass:"mb-4",attrs:{type:"error",icon:"error",dense:"",value:!!this.error}},[t("div",[this._v("\n        "+this._s(this.error)+"\n    ")])])};ut._withStripped=!0;var dt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(n.d)(t,e),t.prototype.created=function(){return Object(n.b)(this,void 0,void 0,(function(){return Object(n.e)(this,(function(e){return this.setError(new Error(this.$t("LOGOUT_MESSAGE").toString())),[2]}))}))},Object(n.c)([Object(f.b)(C.a.GetErrorMessage)],t.prototype,"error",void 0),Object(n.c)([Object(f.a)(b.a.SetError)],t.prototype,"setError",void 0),t=Object(n.c)([c.b],t)}(r.default),pt=Object(u.a)(dt,ut,[],!1,null,null,null);pt.options.__file="src/components/logout/Logout.vue";var vt=pt.exports,bt=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[e.error?i("v-alert",{staticClass:"mb-4",attrs:{role:"alert",type:"error",icon:"error",dense:"",value:!!e.error}},[e._v(e._s(e.error))]):[i("h1",[e._v(e._s(e.name))]),e._v(" "),i("p",{staticClass:"mt-3 mb-3"},[e._v(e._s(e.message))]),e._v(" "),i("v-spacer"),e._v(" "),i("v-spacer"),e._v(" "),i("v-layout",{attrs:{column:"","align-center":""}},[i("p",{staticClass:"display-3"},[e._v(e._s(e.cost))]),e._v(" "),i("v-btn",{staticClass:"px-5",attrs:{color:"primary",disabled:e.isRedirecting},on:{click:function(t){return t.preventDefault(),e.purchaseVendible(e.vendibleId)}}},[e.isRedirecting?i("loading",{attrs:{message:e.$t("VENDIBLE_PAYMENT_BUY_BUTTON_REDIRECTING")}}):i("span",[i("v-icon",{staticClass:"pr-2",attrs:{small:""}},[e._v("shopping_cart")]),e._v(e._s(e.$t("VENDIBLE_PAYMENT_BUY_BUTTON")))],1)],1),e._v(" "),i("v-btn",{staticClass:"mt-2 px-5",attrs:{color:"primary",text:"",disabled:e.isRedirecting},on:{click:function(t){return t.preventDefault(),e.cancel.apply(null,arguments)}}},[e._v("\n                "+e._s(e.$t("VENDIBLE_PAYMENT_CANCEL_BUTTON"))+"\n            ")])],1),e._v(" "),i("accessible-expandible",{staticClass:"mt-6 caption",attrs:{title:e.$t("VENDIBLE_PAYMENT_REFUND_POLICY_EXPANSION_HEADER")}},[i("div",{staticClass:"mt-2",domProps:{innerHTML:e._s(e.refundPolicy)}})])]],2)};bt._withStripped=!0;var ht=i(63),gt=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("v-btn",{staticClass:"expansion-btn pa-0 ma-0",attrs:{text:"","aria-expanded":""+e.isExpanded},on:{click:e.toggleIsExpanded}},[i("span",{staticClass:"d-inline-block",style:e.expansionIconStyle},[e._v(">")]),e._v(" "+e._s(e.title)+"\n    ")]),e._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:e.isExpanded,expression:"isExpanded"}]},[e._t("default")],2)],1)};gt._withStripped=!0;var _t=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isExpanded=!1,t}return Object(n.d)(t,e),Object.defineProperty(t.prototype,"expansionIconStyle",{get:function(){return this.isExpanded?"transform: rotate(90deg);":""},enumerable:!1,configurable:!0}),t.prototype.toggleIsExpanded=function(){this.isExpanded=!this.isExpanded},Object(n.c)([Object(m.c)(String)],t.prototype,"title",void 0),t=Object(n.c)([c.b],t)}(r.default),ft=(i(1160),Object(u.a)(_t,gt,[],!1,null,"51af2310",null));ft.options.__file="src/components/utils/AccessibleExpandible.vue";var mt=ft.exports,Ot=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isRedirecting=!1,t.vendible=null,t}return Object(n.d)(t,e),t.prototype.onError=function(e){return Object(n.b)(this,void 0,void 0,(function(){return Object(n.e)(this,(function(t){return e?(this.setError(new Error(this.$t("VENDIBLE_PAYMENT_ERROR_GENERIC").toString())),[2]):[2]}))}))},Object.defineProperty(t.prototype,"vendibleId",{get:function(){return this.$route.params.vendibleid},enumerable:!1,configurable:!0}),t.prototype.onVendibleIdChanged=function(){return Object(n.b)(this,void 0,void 0,(function(){var e,t;return Object(n.e)(this,(function(i){switch(i.label){case 0:return(e=this.$store.getters[C.a.GetVendiblePaymentRequiredError](this.vendibleId))?(this.vendible=e,[2]):this.isLoggedIn?[4,this.vendibleApiClient.getOne(this.vendibleId)]:(this.$router.push("/?redirect_url="+this.$route.fullPath),[2]);case 1:return(t=i.sent())||this.setError(new Error(this.$t("VENDIBLE_NOT_FOUND_ERROR_MESSAGE").toString())),this.vendible=t,[2]}}))}))},Object.defineProperty(t.prototype,"cost",{get:function(){var e,t;return"$"+((null===(t=null===(e=this.vendible)||void 0===e?void 0:e.price)||void 0===t?void 0:t.amount)||0).toFixed(2)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){var e;return null===(e=this.vendible)||void 0===e?void 0:e.name},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e,t;if((null===(e=this.vendible)||void 0===e?void 0:e.startTimestamp)&&(null===(t=this.vendible)||void 0===t?void 0:t.endTimeStamp)){var i=new Date(this.vendible.startTimestamp).toDateString(),n=new Date(this.vendible.endTimeStamp).toDateString();return this.$t("VENDIBLE_PAYMENT_COURSE_ENROLLMENT_MESSAGE",{name:this.name,startDate:i,endDate:n}).toString()}return"type"in this.vendible&&this.vendible.type===ht.VendibleType.OrganizationBalance?this.$t("VENDIBLE_PAYMENT_ORGANIZATION_BALANCE_MESSAGE").toString():this.$t("VENDIBLE_PAYMENT_GENERIC_MESSAGE",{name:this.name}).toString()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"refundPolicy",{get:function(){return"type"in this.vendible&&this.vendible.type===ht.VendibleType.OrganizationBalance?this.$t("VENDIBLE_PAYMENT_ORGANIZATION_BALANCE_REFUND_POLICY_EXPANSION_CONTENT"):this.$t("VENDIBLE_PAYMENT_REFUND_POLICY_EXPANSION_CONTENT")},enumerable:!1,configurable:!0}),t.prototype.purchaseVendible=function(e){return Object(n.b)(this,void 0,void 0,(function(){var t;return Object(n.e)(this,(function(i){switch(i.label){case 0:this.isRedirecting=!0,i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.$store.dispatch(b.a.PurchaseVendible,e)];case 2:return i.sent(),[3,4];case 3:return t=i.sent(),this.isRedirecting=!1,this.setError(t),[3,4];case 4:return[2]}}))}))},t.prototype.cancel=function(){this.$router.go(-1)},Object(n.c)([Object(f.b)(C.a.VendibleApiClient)],t.prototype,"vendibleApiClient",void 0),Object(n.c)([Object(f.b)(C.a.GetErrorMessage)],t.prototype,"error",void 0),Object(n.c)([Object(f.b)(C.a.IsLogin)],t.prototype,"isLoggedIn",void 0),Object(n.c)([Object(f.a)(b.a.SetError)],t.prototype,"setError",void 0),Object(n.c)([Object(m.g)("$route.query.error",{immediate:!0,deep:!0})],t.prototype,"onError",null),Object(n.c)([Object(m.g)("vendibleId",{immediate:!0})],t.prototype,"onVendibleIdChanged",null),t=Object(n.c)([Object(c.b)({components:{Loading:de,LoginButtons:Z,AccessibleExpandible:mt}})],t)}(r.default),Et=Object(u.a)(Ot,bt,[],!1,null,null,null);Et.options.__file="src/components/vendibles/PayVendible.vue";var It=Et.exports,yt=function(){var e=this.$createElement,t=this._self._c||e;return this.loading?t("loading",{attrs:{message:this.message}}):t("login")};yt._withStripped=!0;var Tt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.loading=!1,t}return Object(n.d)(t,e),Object.defineProperty(t.prototype,"vendibleId",{get:function(){return this.$route.params.vendibleid},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){return this.$store.getters[C.a.GetProcessingPaymentMessage]||this.$t("VENDIBLE_PAYMENT_PROCESSING_MESSAGE")},enumerable:!1,configurable:!0}),t.prototype.created=function(){return Object(n.b)(this,void 0,void 0,(function(){var e;return Object(n.e)(this,(function(t){switch(t.label){case 0:this.loading=!0,t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.$store.dispatch(b.a.ProcessPaymentConfirmed,this.vendibleId)];case 2:return t.sent(),[3,4];case 3:return(e=t.sent())instanceof Error&&"NoPaymentSessionDataFoundError"===e.name&&this.setError(new Error(this.$t("VENDIBLE_CONFIRMED_NO_DATA").toString())),this.loading=!1,[3,4];case 4:return[2]}}))}))},Object(n.c)([Object(f.b)(C.a.GetErrorMessage)],t.prototype,"error",void 0),Object(n.c)([Object(f.a)(b.a.SetError)],t.prototype,"setError",void 0),t=Object(n.c)([Object(c.b)({components:{Loading:de,Login:oe}})],t)}(r.default),Ct=Object(u.a)(Tt,yt,[],!1,null,null,null);Ct.options.__file="src/components/vendibles/VendiblePaymentConfirmed.vue";var Nt=Ct.exports,St=function(){var e=this.$createElement,t=this._self._c||e;return t("v-app",[t("v-container",{staticClass:"ma-0 pa-0",attrs:{fluid:"","fill-height":""}},[t("v-row",{staticClass:"fill-height"},[t("v-col",{staticClass:"pa-0 d-flex justify-center align-center"},[t("loading",{attrs:{message:this.$t("REDIRECTING")}})],1)],1)],1)],1)};St._withStripped=!0;var At=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(n.d)(t,e),t.prototype.created=function(){return Object(n.b)(this,void 0,void 0,(function(){var e,t;return Object(n.e)(this,(function(i){switch(i.label){case 0:return(e=Array.isArray(this.$route.query.redirecturl)?this.$route.query.redirecturl[0]:this.$route.query.redirecturl)?(t=this.$route.query.s)?[4,this.$store.dispatch(b.a.Login,{provider:"sso",token:t})]:[3,2]:(this.$router.push("/"),[2]);case 1:i.sent(),i.label=2;case 2:return window.location.assign(e),[2]}}))}))},t=Object(n.c)([Object(c.b)({components:{Loading:de}})],t)}(r.default),Rt=Object(u.a)(At,St,[],!1,null,null,null);Rt.options.__file="src/components/redirect/Redirect.vue";var Lt=Rt.exports,Ut=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-app",{class:e.hideRightSide||e.hideLeftSide?"whiteBackgroundWhenSmall":"",attrs:{id:"inspire"}},[i("v-content",[i("v-container",{staticClass:"my-auto outer-container",attrs:{"grid-list-xs":"",fluid:"","justify-center":"","align-center":""}},[i("v-layout",{staticStyle:{width:"100%"},attrs:{row:"",wrap:""}},[i("v-flex",{staticClass:"leftSideClass",attrs:{"pa-4":"","d-none":e.hideLeftSide}},[e.isUSCR?i("UscrOrganizationSignUp",{on:{submitting:function(t){return e.submittingLeft=t}}}):i("VacrInstructorSignUp",{on:{cancel:function(t){e.submittingLeft=!1},completed:function(t){e.completedLeft=!0},submitting:function(t){return e.submittingLeft=t}}})],1),e._v(" "),i("v-flex",{staticClass:"rightSideClass",class:e.hideLeftSide?"whiteBackground":"",attrs:{"pa-4":"","d-none":e.hideRightSide}},[e.isUSCR?[i("UscrInstructorSignUp",{on:{cancel:function(t){e.submittingRight=!1},completed:function(t){e.completedRight=!0},submitting:function(t){return e.submittingRight=t}}}),e._v(" "),!1===e.submittingRight?i("v-divider",{staticClass:"mt-2 mb-4"}):e._e()]:e._e(),e._v(" "),!1===e.submittingRight?i("StudentRegistration"):e._e()],2)],1)],1),e._v(" "),e.showErrorDialog?i("error-dialog",{attrs:{error:e.error},on:{cancel:e.toggleShowErrorDialog,confirm:e.toggleShowErrorDialog}}):e._e()],1)],1)};Ut._withStripped=!0;var jt,wt=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-layout",{attrs:{column:""}},[i("v-flex",{attrs:{xs12:""}},[i("v-layout",{attrs:{row:"",wrap:""}},[e.completed?!e.loading&&e.completed?i("v-flex",[i("v-layout",{attrs:{row:"",wrap:""}},[i("v-flex",{attrs:{xs12:""}},[i("h3",{staticClass:"headline"},[e._v("\n                        "+e._s(e.$t("SIGNUP_SUBMISSION_COMPLETED"))+"\n                    ")])]),e._v(" "),i("v-flex",{attrs:{xs12:""},domProps:{innerHTML:e._s(e.$t("SIGNUP_SUBMISSION_COMPLETED_TEXT"))}})],1)],1):e._e():i("v-flex",{attrs:{xs12:""}},[i("v-layout",{attrs:{row:"",wrap:""}},[i("v-flex",{attrs:{xs12:"","pb-3":""}},[i("h3",{staticClass:"headline"},[e._v("\n                        "+e._s(e.$t("SIGNUP_REGISTRATION_TITLE"))+"\n                    ")])]),e._v(" "),i("v-flex",{attrs:{xs12:""}},[e._v("\n                    "+e._s(e.$t("SIGNUP_ORGANIZATION_DESCRIPTION"))+"\n                ")]),e._v(" "),i("v-flex",{attrs:{xs12:""}},[i("v-text-field",{directives:[{name:"validate",rawName:"v-validate",value:"required|max:"+e.maxFieldLength,expression:"`required|max:${maxFieldLength}`"}],attrs:{label:e.requiredTextFieldLabel(e.organizationName,"SIGNUP_ORGANIZATION_NAME"),"error-messages":e.errors.collect("organization name"),"data-vv-name":"organization name",disabled:e.loading,required:""},on:{input:function(t){e.attemptedValidation=!1}},model:{value:e.organizationName,callback:function(t){e.organizationName=t},expression:"organizationName"}})],1),e._v(" "),i("v-flex",{attrs:{xs12:""}},[i("v-text-field",{directives:[{name:"validate",rawName:"v-validate",value:"required|max:"+e.maxFieldLength,expression:"`required|max:${maxFieldLength}`"}],attrs:{required:"","error-messages":e.errors.collect("name"),disabled:e.loading,"data-vv-name":"name",label:e.requiredTextFieldLabel(e.name,"SIGNUP_NAME")},on:{input:function(t){e.attemptedValidation=!1}},model:{value:e.name,callback:function(t){e.name=t},expression:"name"}})],1),e._v(" "),i("v-flex",{attrs:{xs12:""}},[i("v-text-field",{directives:[{name:"validate",rawName:"v-validate",value:"required|email|max:"+e.maxFieldLength,expression:"`required|email|max:${maxFieldLength}`"}],attrs:{required:"","error-messages":e.errors.collect("email"),disabled:e.loading,"data-vv-name":"email",label:e.requiredTextFieldLabel(e.email,"SIGNUP_EMAIL")},on:{input:function(t){e.attemptedValidation=!1}},model:{value:e.email,callback:function(t){e.email=t},expression:"email"}})],1)],1)],1)],1)],1),e._v(" "),i("v-spacer"),e._v(" "),e.completed?e._e():i("v-flex",{attrs:{xs12:""}},[i("v-layout",{attrs:{row:"",wrap:""}},[i("v-spacer"),e._v(" "),i("v-btn",{staticClass:"elevation-0",attrs:{loading:e.loading,color:"primary",disabled:e.loading,"aria-label":e.$t("SIGNUP_BUTTON_TEXT")},on:{click:e.signUp}},[e._v("\n                "+e._s(e.$t("SIGNUP_BUTTON_TEXT"))+"\n            ")])],1)],1)],1)};wt._withStripped=!0,function(e){e.ORGANIZATION_SIGNUP="Signup for Cyber Range Services"}(jt||(jt={}));var xt=jt;function Pt(e){return Object(n.b)(this,void 0,void 0,(function(){var t,i;return Object(n.e)(this,(function(n){switch(n.label){case 0:return[4,(t=e.$validator).validateAll()];case 1:return(i=n.sent())||t.errors.items.forEach((function(t){t.msg=e.$t("ERROR_PREFIX")+" "+t.msg})),[2,i]}}))}))}var Bt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.maxFieldLength=128,t.name="",t.email="",t.organizationName="",t.loading=!1,t.completed=!1,t}return Object(n.d)(t,e),t.prototype.requiredTextFieldLabel=function(e,t){return this.$t(t)+(""===e?"*":"")},Object.defineProperty(t.prototype,"messageWithOrganizationDetails",{get:function(){return{subject:xt.ORGANIZATION_SIGNUP,body:"Subject "+xt.ORGANIZATION_SIGNUP+"\n                    Name: "+this.name+"\n                    Email: "+this.email+"\n                    Organization: "+this.organizationName}},enumerable:!1,configurable:!0}),t.prototype.signUp=function(){return Object(n.b)(this,void 0,void 0,(function(){return Object(n.e)(this,(function(e){switch(e.label){case 0:return[4,Pt(this)];case 1:if(!e.sent()||0!==this.$validator.errors.items.length)return[3,6];this.$emit("submitting",!0),e.label=2;case 2:return e.trys.push([2,4,5,6]),this.loading=!0,[4,this.contentApiClient.sendSupportEmail(this.messageWithOrganizationDetails)];case 3:return e.sent(),this.completed=!0,[3,6];case 4:return e.sent(),[3,6];case 5:return this.loading=!1,[7];case 6:return[2]}}))}))},Object(n.c)([Object(f.b)(C.a.ContentApiClient)],t.prototype,"contentApiClient",void 0),t=Object(n.c)([Object(c.b)({components:{Loading:de}})],t)}(r.default),Gt=(i(1162),Object(u.a)(Bt,wt,[],!1,null,"bfabc89a",null));Gt.options.__file="src/components/signup/uscr/UscrOrganizationSignUp.vue";var Dt=Gt.exports,kt=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-layout",{attrs:{column:""}},[i("v-flex",{attrs:{xs12:""}},[i("v-layout",{attrs:{row:"",wrap:""}},[i("v-flex",{attrs:{xs12:""}},[i("v-layout",{attrs:{row:"",wrap:""}},[i("v-flex",{attrs:{xs12:"","pb-3":""}},[i("h3",{staticClass:"headline"},[e._v("\n                        "+e._s(e.$t("REGISTRATION_STUDENT_INVITATION_CODE"))+"\n                    ")])]),e._v(" "),i("v-flex",{attrs:{xs12:""}},[i("p",[e._v(e._s(e.$t("REGISTRATION_STUDENT_MESSAGE")))]),e._v(" "),i("v-layout",[e.isUSCR?i("v-spacer"):e._e(),e._v(" "),i("v-btn",{staticClass:"elevation-0 ml-0",attrs:{dark:!0,color:"primary","aria-label":e.$t("REGISTRATION_STUDENT_ACTION_BUTTON")},on:{click:e.confirm}},[e._v("\n                            "+e._s(e.$t("REGISTRATION_STUDENT_ACTION_BUTTON"))+"\n                        ")])],1)],1)],1)],1)],1)],1)],1)};kt._withStripped=!0;var Mt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(n.d)(t,e),Object.defineProperty(t.prototype,"isUSCR",{get:function(){return"USCR"===a.a.BASE_DOMAIN},enumerable:!1,configurable:!0}),t.prototype.confirm=function(){window.location.href=Object(Y.resolve)(a.a.LOGIN_UI_BASE_URL,"/registration")},t=Object(n.c)([Object(c.b)({components:{}})],t)}(r.default),$t=Object(u.a)(Mt,kt,[],!1,null,null,null);$t.options.__file="src/components/signup/vacr/StudentRegistration.vue";var Ft=$t.exports,Vt=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-layout",{attrs:{column:"","fill-height":""}},[i("v-flex",{attrs:{xs12:""}},[i("v-layout",{attrs:{row:"",wrap:""}},[i("div",{attrs:{"aria-live":"polite"}},[e.finished?[i("v-flex",{attrs:{xs12:"","pb-3":""}},[i("h1",{staticClass:"headline"},[e._v(e._s(e.$t("REGISTRATION_SIGNUP_FINISHED_TITLE")))])]),e._v(" "),i("v-flex",{attrs:{xs12:""}},[e.finished?[i("p",{staticClass:"mt-4 mb-4",domProps:{innerHTML:e._s(e.$t("SIGNUP_SUBMISSION_COMPLETED_TEXT"))}})]:e._e()],2)]:e._e()],2),e._v(" "),e.finished?e._e():[i("v-flex",{attrs:{xs12:"","pb-3":""}},[i("h1",{staticClass:"headline"},[e._v(e._s(e.$t("REGISTRATION_SIGNUP_FORM_TITLE")))])]),e._v(" "),i("v-flex",{attrs:{xs12:""}},[e.validated?[e.mailChimpError?i("ErrorDialog",{attrs:{error:""+e.$t("REGISTRATION_NEWSLETTER_ERROR")},on:{confirm:function(t){e.mailChimpError=!1}}}):e._e(),e._v(" "),i("AccessibleForm",{attrs:{"submit-function":e.confirm,"form-instruction":""}},[i("p",{staticClass:"mt-3 mb-3 subheading",domProps:{innerHTML:e._s(e.$t("REGISTRATION_SIGNUP_FORM_INSTRUCTIONS",{organization:e.selectedOrganization.organizationName}))}}),e._v(" "),i("v-text-field",{directives:[{name:"validate",rawName:"v-validate",value:"required|max:"+e.maxFieldLength,expression:"`required|max:${maxFieldLength}`"}],attrs:{label:e.$t("REGISTRATION_FIRST_NAME")+"*",required:"","error-messages":e.errors.collect("first name"),disabled:e.loading,"data-vv-name":"first name",autocomplete:"given-name"},model:{value:e.firstName,callback:function(t){e.firstName=t},expression:"firstName"}}),e._v(" "),i("v-text-field",{directives:[{name:"validate",rawName:"v-validate",value:"required|max:"+e.maxFieldLength,expression:"`required|max:${maxFieldLength}`"}],attrs:{label:e.$t("REGISTRATION_LAST_NAME")+"*",required:"","error-messages":e.errors.collect("last name"),disabled:e.loading,"data-vv-name":"last name",autocomplete:"family-name"},model:{value:e.lastName,callback:function(t){e.lastName=t},expression:"lastName"}}),e._v(" "),i("v-text-field",{directives:[{name:"validate",rawName:"v-validate",value:"required|email|max:"+e.maxFieldLength,expression:"`required|email|max:${maxFieldLength}`"}],attrs:{label:e.$t("INVITATION_ACCOUNT_REQUEST_EMAIL_TITLE")+"*",required:"","error-messages":e.errors.collect("email"),disabled:e.loading,"data-vv-name":"email",autocomplete:"email"},model:{value:e.invitation.email,callback:function(t){e.$set(e.invitation,"email",t)},expression:"invitation.email"}}),e._v(" "),i("v-text-field",{directives:[{name:"validate",rawName:"v-validate",value:"required|max:"+e.maxFieldLength,expression:"`required|max:${maxFieldLength}`"}],attrs:{label:e.$t("INVITATION_JOB_TITLE")+"*",disabled:e.loading,required:"","error-messages":e.errors.collect("title"),"data-vv-name":"title"},model:{value:e.invitation.title,callback:function(t){e.$set(e.invitation,"title",t)},expression:"invitation.title"}}),e._v(" "),e.organizationBusinessUnits.length>1?i("accessible-combobox",{directives:[{name:"validate",rawName:"v-validate",value:e.creatingBusinessUnit?"":"required",expression:"!creatingBusinessUnit? `required`: ''"}],attrs:{items:e.organizationBusinessUnits,"item-text":"displayText","item-value":"id",label:e.businessUnitDisplayName(e.selectedOrganization)+"*","error-messages":e.businessUnitSelectorErrorMessage("businessUnitDisplaySelector"),disabled:e.loading,required:!e.creatingBusinessUnit,"data-vv-name":"businessUnitDisplaySelector"},model:{value:e.selectedSchool,callback:function(t){e.selectedSchool=t},expression:"selectedSchool"}}):e._e(),e._v(" "),e.creatingBusinessUnit?i("v-text-field",{directives:[{name:"validate",rawName:"v-validate",value:"required|max:"+e.maxFieldLength,expression:"`required|max:${maxFieldLength}`"}],attrs:{label:e.businessUnitDisplayName(e.selectedOrganization)+"*",disabled:e.loading,required:"","error-messages":e.errors.collect(e.businessUnitDisplayName(e.selectedOrganization).toLowerCase()),"data-vv-name":e.businessUnitDisplayName(e.selectedOrganization).toLowerCase()},model:{value:e.invitation.businessUnit,callback:function(t){e.$set(e.invitation,"businessUnit",t)},expression:"invitation.businessUnit"}}):e._e(),e._v(" "),e.creatingBusinessUnit?i("accessible-combobox",{directives:[{name:"validate",rawName:"v-validate",value:e.creatingBusinessUnit&&!e.creatingBusinessUnitRegion?"required":"",expression:"creatingBusinessUnit && !creatingBusinessUnitRegion? `required`: ''"}],attrs:{label:e.businessUnitDisplayRegion(e.selectedOrganization)+"*",items:e.organizationRegions,disabled:e.loading,"error-messages":e.businessUnitSelectorErrorMessage("businessUnitRegionSelector"),required:e.creatingBusinessUnit&&!e.creatingBusinessUnitRegion,"data-vv-name":"businessUnitRegionSelector"},model:{value:e.selectedBusinessRegion,callback:function(t){e.selectedBusinessRegion=t},expression:"selectedBusinessRegion"}}):e._e(),e._v(" "),e.creatingBusinessUnit&&e.creatingBusinessUnitRegion?i("v-text-field",{directives:[{name:"validate",rawName:"v-validate",value:"required|max:"+e.maxFieldLength,expression:"`required|max:${maxFieldLength}`"}],attrs:{label:e.businessUnitDisplayRegion(e.selectedOrganization)+"*",required:"",disabled:e.loading,"error-messages":e.businessUnitErrorMessage("businessUnitDisplayRegion"),"data-vv-name":"'businessUnitDisplayRegion'"},model:{value:e.invitation.businessRegion,callback:function(t){e.$set(e.invitation,"businessRegion",t)},expression:"invitation.businessRegion"}}):e._e(),e._v(" "),e.creatingBusinessUnit?i("v-select",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"`required`"}],attrs:{label:e.businessUnitDisplayCategory(e.selectedOrganization)+"*",items:e.businessUnitCategories,disabled:e.loading,required:"","item-text":"key","item-value":"value","error-messages":e.businessUnitErrorMessage("businessUnitDisplayCategory"),"data-vv-name":"businessUnitDisplayCategory"},model:{value:e.invitation.businessCategory,callback:function(t){e.$set(e.invitation,"businessCategory",t)},expression:"invitation.businessCategory"}}):e._e(),e._v(" "),i("v-checkbox",{staticClass:"mt-3 pt-0",attrs:{disabled:e.loading,label:"Signup for monthly newsletter"},model:{value:e.newsLetterChecked,callback:function(t){e.newsLetterChecked=t},expression:"newsLetterChecked"}}),e._v(" "),i("Honeypot",{model:{value:e.honeypotFieldValue,callback:function(t){e.honeypotFieldValue=t},expression:"honeypotFieldValue"}}),e._v(" "),i("v-layout",{attrs:{row:"",wrap:""}},[i("router-link",{staticClass:"pt-3",attrs:{to:"/"}},[e._v(e._s(e.$t("REGISTRATION_ALREADY_REGISTERED")))]),e._v(" "),i("v-spacer"),e._v(" "),i("v-btn",{staticClass:"elevation-0",attrs:{disabled:e.loading,dark:!e.loading,color:"cancel","aria-label":e.$t("REGISTRATION_SIGNUP_CANCEL_BUTTON")},on:{click:e.cancel}},[e._v(e._s(e.$t("REGISTRATION_SIGNUP_CANCEL_BUTTON")))]),e._v(" "),i("v-btn",{staticClass:"elevation-0 ml-2",attrs:{type:"submit",disabled:e.loading,dark:!e.loading,loading:e.loading,color:"confirm","aria-label":e.$t("REGISTRATION_SIGNUP_CONFIRM_BUTTON")}},[e._v(e._s(e.$t("REGISTRATION_SIGNUP_CONFIRM_BUTTON")))])],1)],1)]:[i("v-layout",{attrs:{row:"",wrap:""}},[i("v-flex",{attrs:{xs12:""}},[i("v-text-field",{attrs:{label:e.$t("INVITATION_ACCOUNT_REQUEST_ORGANIZATION_CODE")+"*",disabled:e.loading,"error-messages":e.validated||e.attemptedValidation?e.$t("INVITATION_ACCOUNT_REQUEST_INVALID_CODE_MESSAGE"):"",required:""},on:{input:function(t){e.attemptedValidation=!1},change:function(t){return e.validateOrganizationCode()}},model:{value:e.code,callback:function(t){e.code=t},expression:"code"}})],1)],1)]],2)]],2)],1),e._v(" "),i("v-spacer"),e._v(" "),e.validated?e._e():i("v-flex",{attrs:{xs12:""}},[i("v-layout",{attrs:{row:"",wrap:""}},[i("v-flex",{attrs:{xs12:"",sm8:"",md8:""}},[i("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(t){var n=t.on;return[i("span",e._g({staticClass:"tooltipClass",staticStyle:{"line-height":"36px",height:"36px"}},n),[e._v("\n                            "+e._s(e.$t("SIGNUP_ORGANIZATION_CODE_INFO"))+"\n                        ")])]}}],null,!1,326094104)},[e._v(" "),i("span",[e._v(e._s(e.$t("SIGNUP_ORGANIZATION_CODE_TOOLTIP")))])])],1),e._v(" "),i("v-spacer"),e._v(" "),i("v-btn",{staticClass:"text-xs-center elevation-0 ma-0",attrs:{color:"primary","aria-label":e.$t("NEXT")},on:{click:function(t){return e.validateOrganizationCode()}}},[e._v("\n                    "+e._s(e.validatingCode?"":e.$t("NEXT"))+"\n                    "),e.validatingCode?i("v-progress-circular",{attrs:{indeterminate:"",color:"primary"}}):e._e()],1)],1)],1)],1)};Vt._withStripped=!0;var zt=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("confirmation-dialog",{attrs:{title:e.$t("ERROR"),"max-width":"50%",cancel:!1,confirm:e.$t("OK"),persistent:""},on:{confirm:e.clearError},model:{value:e.error,callback:function(t){e.error=t},expression:"error"}},[i("template",{slot:"titleIcon"},[i("v-icon",{attrs:{color:"error",size:"1.5em"}},[e._v("error")])],1),e._v("\n    "+e._s(e.error)+"\n")],2)};zt._withStripped=!0;var qt=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-dialog",{attrs:{"max-width":"50%",persistent:""},model:{value:e.selectedValue,callback:function(t){e.selectedValue=t},expression:"selectedValue"}},[i("v-card",[i("v-card-title",{staticClass:"headline"},[e.titleIcon?i("span",{staticClass:"titleIcon"},[e._t("titleIcon")],2):e._e(),e._v("\n            "+e._s(e.title||e.$t("ARE_YOU_SURE"))+"\n            "),i("v-spacer"),e._v(" "),e._t("titleActions")],2),e._v(" "),i("v-card-text",[e._t("default")],2),e._v(" "),i("v-card-actions",{staticClass:"pl-2 pr-3 pb-3"},[e._t("bottomLeft"),e._v(" "),i("v-spacer"),e._v(" "),e._t("bottom"),e._v(" "),!1!==e.cancel?i("v-btn",{attrs:{color:"confirm",text:"",disabled:e.disabled||e.loading||e.cancelDisabled},on:{click:function(t){e.$emit("cancel"),e.$emit("input",!1)}},nativeOn:{click:function(t){e.show=!1}}},[e._v(e._s(e.cancel||e.$t("CANCEL")))]):e._e(),e._v(" "),!1!==e.confirm?i("v-btn",{attrs:{color:e.confirmColor||"confirm",disabled:e.disabled||e.loading||e.confirmDisabled},on:{click:function(t){return e.$emit("confirm")}},nativeOn:{click:function(t){e.show=!1}}},[e._v(e._s(e.confirm||e.$t("CONFIRM")))]):e._e(),e._v(" "),e._t("bottomRight")],2)],1)],1)};qt._withStripped=!0;var Yt=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isOpen=!0,t}return Object(n.d)(t,e),Object.defineProperty(t.prototype,"selectedValue",{get:function(){return!!this.value},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"titleIcon",{get:function(){return this.$slots.titleIcon},enumerable:!1,configurable:!0}),Object(n.c)([Object(m.c)()],t.prototype,"cancel",void 0),Object(n.c)([Object(m.c)()],t.prototype,"confirm",void 0),Object(n.c)([Object(m.c)(String)],t.prototype,"title",void 0),Object(n.c)([Object(m.c)(Boolean)],t.prototype,"disabled",void 0),Object(n.c)([Object(m.c)(Boolean)],t.prototype,"value",void 0),Object(n.c)([Object(m.c)(Boolean)],t.prototype,"loading",void 0),Object(n.c)([Object(m.c)(Boolean)],t.prototype,"cancelDisabled",void 0),Object(n.c)([Object(m.c)(Boolean)],t.prototype,"confirmDisabled",void 0),Object(n.c)([Object(m.c)(String)],t.prototype,"confirmColor",void 0),t=Object(n.c)([Object(c.b)({})],t)}(r.default),Ht=(i(1164),Object(u.a)(Yt,qt,[],!1,null,null,null));Ht.options.__file="src/components/utils/ConfirmationDialog.vue";var Xt=Ht.exports,Zt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(n.d)(t,e),t.prototype.clearError=function(){this.$store.dispatch(b.a.ResetError),this.$emit("confirm",void 0),this.$emit("input",!1)},Object(n.c)([Object(m.c)(String)],t.prototype,"error",void 0),t=Object(n.c)([Object(c.b)({components:{ConfirmationDialog:Xt}})],t)}(r.default),Jt=Object(u.a)(Zt,zt,[],!1,null,"7a35a012",null);Jt.options.__file="src/components/utils/ErrorDialog.vue";var Kt,Wt=Jt.exports,Qt=i(73),ei=i(46);!function(e){e.USCR="uscyberrange",e.VACR="virginiacyberrange"}(Kt||(Kt={}));var ti=Kt,ii=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-menu",{attrs:{"open-on-click":!1,"close-on-click":!1,"offset-y":"",bottom:"",nudgeTop:e.nudgeTop,disabled:e.disabled},scopedSlots:e._u([{key:"activator",fn:function(t){return[i("v-text-field",e._b({ref:"input",attrs:{disabled:e.disabled,label:e.label,role:"combobox","aria-expanded":""+e.isMenuShowing,"aria-owns":e.listboxId,"aria-haspopup":"listbox","aria-autocomplete":"list","aria-controls":e.listboxId,"aria-activedescendant":e.selectedItemId},on:{keydown:e.onInputKeydown,"click:clear":function(t){return e.$emit("input","")},focus:e.openMenu,blur:e.onInputBlur,"update:error":function(t){return e.$emit("update:error",t)}},model:{value:e.displayText,callback:function(t){e.displayText=t},expression:"displayText"}},"v-text-field",e.$attrs,!1))]}}]),model:{value:e.isMenuShowing,callback:function(t){e.isMenuShowing=t},expression:"isMenuShowing"}},[e._v(" "),i("v-card",[i("v-layout",{ref:"list",staticClass:"ma-0 pa-0",style:e.listStyle,attrs:{id:e.listboxId,role:"listbox","aria-label":e.label,tabindex:"-1",column:"","align-start":""}},[e.filteredMenuItems.length>0?e._l(e.filteredMenuItems,(function(t,n){return i("span",{key:n,ref:"listitem",refInFor:!0,staticClass:"ma-0 px-2 py-3 subheading",class:{"grey lighten-3":e.focusedItemIndex===n},staticStyle:{width:"100%"},attrs:{id:e.id+"-"+t.value,role:"option","aria-selected":e.value===t.value,"data-cr-testing":e.testingSelector(t.text),tabindex:"-1"},on:{mouseenter:function(t){return e.setFocus(n,!1)},keydown:function(i){return e.setSelection(t.value)},click:function(i){return e.setSelection(t.value)}}},[e._v("\n                    "+e._s(t.text)+"\n                ")])})):i("span",{staticClass:"ma-0 px-2 py-3 subheading",staticStyle:{width:"100%"}},[e._v("\n                "+e._s(e.$t("NO_DATA"))+"\n            ")])],2)],1)],1)};ii._withStripped=!0;var ni=i(1178),ri=function(e,t,i){return i.toLocaleLowerCase().includes(t.toLocaleLowerCase())},oi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.focusedItemIndex=-1,t.isMenuShowing=!1,t.id=Object(ni.a)(),t.listboxId=t.id+"-listbox",t.queryText=null,t.listStyle={"overflow-y":"auto","max-height":"40vh"},t.nudgeTop=0,t}return Object(n.d)(t,e),t.prototype.testingSelector=function(e){return"cr-accessible-combobox-selection-"+e.trim().toLocaleLowerCase().replace(/\W+/g,"-")},Object.defineProperty(t.prototype,"displayText",{get:function(){if(null!==this.queryText)return this.queryText;if(!this.value)return"";var e=this.findItem(this.value);return e?this.getItemText(e):this.allowNew?this.value:""},set:function(e){this.queryText=e,this.allowNew&&this.$emit("input",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectedItemId",{get:function(){var e;return-1!==this.focusedItemIndex&&(null===(e=this.listitemRef[this.focusedItemIndex])||void 0===e?void 0:e.id)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"filteredMenuItems",{get:function(){var e,t,i=[];try{for(var r=Object(n.g)(this.items),o=r.next();!o.done;o=r.next()){var s=o.value,a=this.getItemText(s);this.filter(s,this.queryText||"",a)&&i.push({text:a,value:this.getItemValue(s)})}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=r.return)&&t.call(r)}finally{if(e)throw e.error}}return i},enumerable:!1,configurable:!0}),t.prototype.openMenu=function(){if(!this.isMenuShowing){this.isMenuShowing=!0;var e=window.innerHeight-this.inputRef.$el.getBoundingClientRect().bottom;this.listStyle["max-height"]=e+"px",this.nudgeTop=this.inputRef.$el.querySelector(".v-input__control").getBoundingClientRect().height-this.inputRef.$el.querySelector(".v-input__slot").getBoundingClientRect().height}},t.prototype.closeMenu=function(){this.isMenuShowing=!1,this.focusedItemIndex=-1,this.queryText=null},t.prototype.onInputBlur=function(e){return Object(n.b)(this,void 0,void 0,(function(){return Object(n.e)(this,(function(e){switch(e.label){case 0:return[4,new Promise((function(e){return setTimeout(e,200)}))];case 1:return e.sent(),this.closeMenu(),[2]}}))}))},t.prototype.onInputKeydown=function(e){var t,i;if(!(e.ctrlKey||e.altKey||e.metaKey))switch(e.key){case"Escape":this.isMenuShowing&&(e.stopPropagation(),this.closeMenu(),this.setSelection(this.value));break;case"ArrowUp":this.openMenu();var n=(null===(t=this.listitemRef)||void 0===t?void 0:t.length)||0;this.setFocus(this.focusedItemIndex<=0?n-1:this.focusedItemIndex-1),e.preventDefault();break;case"ArrowDown":this.openMenu();n=(null===(i=this.listitemRef)||void 0===i?void 0:i.length)||0;this.setFocus((this.focusedItemIndex+1)%n),e.preventDefault();break;case"Enter":if(this.isMenuShowing){var r=this.filteredMenuItems[this.focusedItemIndex].value;this.closeMenu(),this.setSelection(r)}break;default:this.openMenu()}},t.prototype.setFocus=function(e,t){var i;void 0===t&&(t=!0),Number.isNaN(e)&&(e=-1),this.focusedItemIndex=e,-1!==e&&t&&(null===(i=this.listitemRef[e])||void 0===i||i.scrollIntoView())},t.prototype.setSelection=function(e){this.$emit("input",e),this.queryText=null},t.prototype.findItem=function(e){var t=this;return this.items.find((function(i){return t.getItemValue(i)===e}))},t.prototype.getItemText=function(e){return"function"==typeof this.itemText?this.itemText(e):"string"==typeof e?e:e[this.itemText]},t.prototype.getItemValue=function(e){return"function"==typeof this.itemValue?this.itemValue(e):"string"==typeof e?e:e[this.itemValue]},Object(n.c)([Object(m.c)(Array)],t.prototype,"items",void 0),Object(n.c)([Object(m.c)([String,Function])],t.prototype,"itemText",void 0),Object(n.c)([Object(m.c)([String,Function])],t.prototype,"itemValue",void 0),Object(n.c)([Object(m.c)({type:Function,default:ri})],t.prototype,"filter",void 0),Object(n.c)([Object(m.c)(String)],t.prototype,"label",void 0),Object(n.c)([Object(m.c)(Boolean)],t.prototype,"disabled",void 0),Object(n.c)([Object(m.c)(String)],t.prototype,"value",void 0),Object(n.c)([Object(m.c)(Boolean)],t.prototype,"allowNew",void 0),Object(n.c)([Object(m.d)("input")],t.prototype,"inputRef",void 0),Object(n.c)([Object(m.d)("listitem")],t.prototype,"listitemRef",void 0),t=Object(n.c)([c.b],t)}(r.default),si=Object(u.a)(oi,ii,[],!1,null,null,null);si.options.__file="src/components/utils/AccessibleCombobox.vue";var ai=si.exports,ci=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-form",{ref:"accessibleForm",on:{submit:function(t){return t.preventDefault(),t.stopPropagation(),e.onSubmit.apply(null,arguments)}}},[e.formInstruction?i("p",[e._v(e._s(e.$t("ACCESSIBLE_FORM_FORM_INSTRUCTION")))]):e._e(),e._v(" "),e._t("default")],2)};ci._withStripped=!0;var li=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(n.d)(t,e),t.prototype.preventEnterSubmit=function(e){var t=e.target;"Enter"===e.key&&"submit"!==t.type&&e.preventDefault()},t.prototype.focusFirstError=function(){var e=this.$refs.accessibleForm.$el.querySelector(".v-input.error--text input");e&&e.focus()},t.prototype.mounted=function(){this.$el.addEventListener("keydown",this.preventEnterSubmit)},t.prototype.beforeDestroy=function(){this.$el.removeEventListener("keydown",this.preventEnterSubmit)},t.prototype.onSubmit=function(){return Object(n.b)(this,void 0,void 0,(function(){return Object(n.e)(this,(function(e){switch(e.label){case 0:return[4,this.submitFunction()];case 1:return e.sent(),this.focusFirstError(),[2]}}))}))},Object(n.c)([Object(m.c)()],t.prototype,"submitFunction",void 0),Object(n.c)([Object(m.c)(Boolean)],t.prototype,"formInstruction",void 0),t=Object(n.c)([Object(m.a)({})],t)}(r.default),ui=Object(u.a)(li,ci,[],!1,null,null,null);ui.options.__file="src/components/utils/AccessibleForm.vue";var di=ui.exports,pi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mailChimpError=!1,t.firstName="",t.lastName="",t.finished=!1,t.validated=!1,t.attemptedValidation=!1,t.validatingCode=!1,t.submissionAttempted=!1,t.maxFieldLength=255,t.honeypotFieldValue="",t.selectedOrganization={organizationId:"",organizationName:"",value:"",customAttributes:[]},t.selectedSchool="",t.selectedBusinessRegion="",t.businessUnits=[],t.newsLetterChecked=!0,t.otherSchoolStub={name:"Other",region:"Other",id:"otherSchoolId",displayText:"Other"},t.code="",t.invitation={name:"",email:"",businessUnit:"",businessRegion:"",businessCategory:"",title:"",businessUnitId:"",organizationId:""},t}return Object(n.d)(t,e),t.prototype.cancel=function(){this.code="",this.validated=!1,this.attemptedValidation=!1,this.$emit("cancel")},t.prototype.businessUnitSelectorErrorMessage=function(e){return!this.$validator.errors.first(e)||this.creatingBusinessUnit&&this.creatingBusinessUnitRegion?[]:this.$root.$t("BUSINESS_UNIT_FIELD_REQUIRED_ERROR_TEXT",{field:this.businessUnitFieldName(e)})},t.prototype.businessUnitErrorMessage=function(e){return this.$validator.errors.first(e)&&this.creatingBusinessUnit?this.$root.$t("BUSINESS_UNIT_FIELD_REQUIRED_ERROR_TEXT",{field:this.businessUnitFieldName(e)}):[]},t.prototype.businessUnitFieldName=function(e){return"businessUnitDisplaySelector"===e&&(e="businessUnitDisplayName"),"businessUnitRegionSelector"===e&&(e="businessUnitDisplayRegion"),this[e](this.selectedOrganization).toLowerCase()},t.prototype.updateCodeValidation=function(){this.attemptedValidation=!1},Object.defineProperty(t.prototype,"creatingBusinessUnit",{get:function(){return this.selectedSchool===this.otherSchoolStub.id},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creatingBusinessUnitRegion",{get:function(){return this.selectedBusinessRegion===this.otherSchoolStub.region},enumerable:!1,configurable:!0}),t.prototype.validateOrganizationCode=function(e){return Object(n.b)(this,void 0,void 0,(function(){var t;return Object(n.e)(this,(function(i){switch(i.label){case 0:if(this.validatingCode=!!this.code,0===(e=e||this.code).length)return this.attemptedValidation=!0,this.validatingCode=!1,[2];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.organizaztionApiClient.getOrganizationCode(e)];case 2:return t=i.sent(),this.selectedOrganization=t,this.invitation.organizationId=t.organizationId,this.validated=!0,this.$emit("submitting",!0),[3,4];case 3:return i.sent(),this.validated=!1,[3,4];case 4:return""!==this.code&&(this.attemptedValidation=!0),this.validatingCode=!1,[2]}}))}))},Object.defineProperty(t.prototype,"businessUnitCategories",{get:function(){return Object.keys(Qt.BusinessUnitCategory).map((function(e){return{key:e,value:Qt.BusinessUnitCategory[e]}}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pageDomain",{get:function(){return window.location.hostname.split(".")[0]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"queryCode",{get:function(){return Array.isArray(this.$route.query.code)?this.$route.query.code[0]:this.$route.query.code},enumerable:!1,configurable:!0}),t.prototype.created=function(){return Object(n.b)(this,void 0,void 0,(function(){var e,t,i,r,o,s,a,c;return Object(n.e)(this,(function(l){switch(l.label){case 0:return[4,this.businessUnitApiClient.get({token:null==e?void 0:e.nextPageToken})];case 1:e=l.sent(),(s=this.businessUnits).push.apply(s,Object(n.f)(e.items)),l.label=2;case 2:if(null==e?void 0:e.nextPageToken)return[3,0];l.label=3;case 3:try{for(t=Object(n.g)(this.businessUnits),i=t.next();!i.done;i=t.next())(r=i.value).displayText=r.name+" : "+r.region}catch(e){a={error:e}}finally{try{i&&!i.done&&(c=t.return)&&c.call(t)}finally{if(a)throw a.error}}return this.businessUnits=this.businessUnits.sort((function(e,t){return e.displayText<t.displayText?-1:1})),(o=this.queryCode||this.pageDomain)?[4,this.validateOrganizationCode(o)]:[3,5];case 4:l.sent(),l.label=5;case 5:return[2]}}))}))},Object.defineProperty(t.prototype,"organizationBusinessUnits",{get:function(){var e=this,t=this.businessUnits.filter((function(t){return t.organizationId===e.selectedOrganization.organizationId})).map((function(e){return Object.assign({displayText:e.name+" : "+e.region},e)}));return t.push(this.otherSchoolStub),t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"organizationRegions",{get:function(){return this.organizationBusinessUnits.map((function(e){return e.region}))},enumerable:!1,configurable:!0}),t.prototype.confirm=function(){return Object(n.b)(this,void 0,void 0,(function(){var e,t,i=this;return Object(n.e)(this,(function(n){switch(n.label){case 0:return this.invitation.name=(this.firstName+" "+this.lastName).trim(),this.honeypotFieldValue?(this.finished=!0,[2]):[4,Pt(this)];case 1:if(!n.sent())return[3,8];if(""===this.invitation.businessUnit&&(this.invitation.businessUnit=this.selectedSchool),""===this.invitation.businessRegion&&(this.invitation.businessRegion=this.selectedBusinessRegion),void 0!==(e=this.businessUnits.find((function(e){return e.id===i.selectedSchool})))&&(this.invitation.businessRegion=e.region,this.invitation.businessCategory=e.category,this.invitation.businessUnit=e.name,this.invitation.businessUnitId=e.id),this.creatingBusinessUnit&&delete this.invitation.businessUnitId,1===this.organizationBusinessUnits.length&&(delete this.invitation.businessUnitId,delete this.invitation.businessUnit,delete this.invitation.businessCategory,delete this.invitation.businessRegion),this.invitation.roles=[ze.UserRole.OrganizationInstructor],!this.newsLetterChecked)return[3,5];n.label=2;case 2:return n.trys.push([2,4,,5]),[4,this.newsletterApiClient.create(new ei.Subscriber({name:this.invitation.name,emailAddress:this.invitation.email,businessUnit:this.invitation.businessUnit,emailFormat:ei.EmailFormat.HTML,jobTitle:this.invitation.title,topics:[a.a.CYBER_RANGE_UI_BASE_URL.includes(ti.USCR)?ei.Topic.UscrGeneral:ei.Topic.VacrGeneral]}))];case 3:return n.sent(),[3,5];case 4:if(!(t=n.sent()).message.includes("looks fake or invalid"))throw t;return this.mailChimpError=!0,[3,5];case 5:return this.mailChimpError?[3,7]:[4,this.invitationApiClient.add([this.invitation])];case 6:n.sent(),this.finished=!0,n.label=7;case 7:return[3,9];case 8:this.submissionAttempted=!0,n.label=9;case 9:return[2]}}))}))},Object(n.c)([Object(f.b)(C.a.InvitationApiClient)],t.prototype,"invitationApiClient",void 0),Object(n.c)([Object(f.b)(C.a.BusinessUnitApiClient)],t.prototype,"businessUnitApiClient",void 0),Object(n.c)([Object(f.b)(C.a.BackgroundOrganizationApiClient)],t.prototype,"organizaztionApiClient",void 0),Object(n.c)([Object(f.b)(C.a.NewsletterApiClient)],t.prototype,"newsletterApiClient",void 0),Object(n.c)([Object(f.b)(C.a.BusinessUnitDisplayName)],t.prototype,"businessUnitDisplayName",void 0),Object(n.c)([Object(f.b)(C.a.BusinessUnitDisplayRegion)],t.prototype,"businessUnitDisplayRegion",void 0),Object(n.c)([Object(f.b)(C.a.BusinessUnitDisplayCategory)],t.prototype,"businessUnitDisplayCategory",void 0),Object(n.c)([Object(f.b)(C.a.IsLoading)],t.prototype,"loading",void 0),t=Object(n.c)([Object(c.b)({components:{ErrorDialog:Wt,AccessibleCombobox:ai,AccessibleForm:di}})],t)}(r.default),vi=(i(1166),Object(u.a)(pi,Vt,[],!1,null,null,null));vi.options.__file="src/components/signup/uscr/UscrInstructorSignUp.vue";var bi=vi.exports,hi=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-layout",{attrs:{column:"","fill-height":""}},[i("v-flex",{attrs:{xs12:""}},[i("v-layout",{attrs:{row:"",wrap:""}},[i("div",{attrs:{"aria-live":"polite"}},[e.finished?[i("v-flex",{attrs:{xs12:"","pb-3":""}},[i("h1",{staticClass:"headline"},[e._v(e._s(e.$t("REGISTRATION_SIGNUP_FINISHED_TITLE")))])]),e._v(" "),i("p",{staticClass:"mt-4 mb-4"},[e._v(e._s(e.$t("REGISTRATION_SIGNUP_FINISHED_MESSAGE")))]),e._v(" "),i("p",{domProps:{innerHTML:e._s(e.$t("SIGNUP_SUBMISSION_COMPLETED_TEXT"))}})]:e._e()],2),e._v(" "),e.finished?e._e():[i("v-flex",{attrs:{xs12:"","pb-3":""}},[i("h1",{staticClass:"headline"},[e._v(e._s(e.$t("REGISTRATION_SIGNUP_FORM_TITLE")))])]),e._v(" "),e.isVirginiaFaculty||e.choseVirginiaInstructor?e._e():i("fieldset",[i("legend",{staticClass:"pb-3"},[e._v(e._s(e.$t("SIGNUP_INSTRUCTOR_VACR")))]),e._v(" "),i("v-btn",{staticClass:"ml-0 elevation-0",attrs:{block:e.$vuetify.breakpoint.mdAndDown,"aria-label":e.$t("SIGNUP_NO_BUTTON_TEXT")},on:{click:function(t){e.isVirginiaFaculty=!1,e.choseVirginiaInstructor=!0}}},[e._v(e._s(e.$t("SIGNUP_NO_BUTTON_TEXT")))]),e._v(" "),i("v-btn",{attrs:{block:e.$vuetify.breakpoint.mdAndDown,color:"primary elevation-0 ml-2","aria-label":e.$t("SIGNUP_YES_BUTTON_TEXT"),"data-cr-testing":"cr-signup-is-instructor-yes-button"},on:{click:function(t){e.isVirginiaFaculty=!0,e.choseVirginiaInstructor=!0,e.$emit("submitting",e.validated)}}},[e._v(e._s(e.$t("SIGNUP_YES_BUTTON_TEXT")))])],1),e._v(" "),e.isVirginiaFaculty&&e.choseVirginiaInstructor?i("v-flex",{attrs:{xs12:""}},[e.isVirginiaFaculty&&!e.validated?[i("v-layout",{attrs:{row:"",wrap:""}},[i("v-flex",{attrs:{xs12:""}},[i("v-text-field",{attrs:{label:e.$t("INVITATION_ACCOUNT_REQUEST_ORGANIZATION_CODE")+"*",disabled:e.loading,"error-messages":e.validated||e.attemptedValidation?e.$t("INVITATION_ACCOUNT_REQUEST_INVALID_CODE_MESSAGE"):"",required:"","data-cr-testing":"cr-signup-organization-code-field"},on:{input:function(t){e.attemptedValidation=!1},change:function(t){return e.validateOrganizationCode()}},model:{value:e.code,callback:function(t){e.code=t},expression:"code"}})],1)],1)]:[e.mailChimpError?i("ErrorDialog",{attrs:{error:""+e.$t("REGISTRATION_NEWSLETTER_ERROR")},on:{confirm:function(t){e.mailChimpError=!1}}}):e._e(),e._v(" "),i("AccessibleForm",{attrs:{"submit-function":e.confirm,"form-instruction":""}},[i("p",{staticClass:"mt-3 mb-3 subheading",domProps:{innerHTML:e._s(e.$t("REGISTRATION_SIGNUP_FORM_INSTRUCTIONS",{organization:e.selectedOrganization.organizationName}))}}),e._v(" "),i("v-text-field",{directives:[{name:"validate",rawName:"v-validate",value:"required|max:"+e.maxFieldLength,expression:"`required|max:${maxFieldLength}`"}],attrs:{label:e.$t("REGISTRATION_FIRST_NAME")+"*",required:"","error-messages":e.errors.collect("first name"),disabled:e.loading,"data-vv-name":"first name","data-cr-testing":"cr-signup-first-name-field",autocomplete:"given-name"},model:{value:e.firstName,callback:function(t){e.firstName=t},expression:"firstName"}}),e._v(" "),i("v-text-field",{directives:[{name:"validate",rawName:"v-validate",value:"required|max:"+e.maxFieldLength,expression:"`required|max:${maxFieldLength}`"}],attrs:{label:e.$t("REGISTRATION_LAST_NAME")+"*",required:"","error-messages":e.errors.collect("last name"),disabled:e.loading,"data-vv-name":"last name","data-cr-testing":"cr-signup-last-name-field",autocomplete:"family-name"},model:{value:e.lastName,callback:function(t){e.lastName=t},expression:"lastName"}}),e._v(" "),i("v-text-field",{directives:[{name:"validate",rawName:"v-validate",value:"required|email|max:"+e.maxFieldLength,expression:"`required|email|max:${maxFieldLength}`"}],attrs:{label:e.$t("INVITATION_ACCOUNT_REQUEST_EMAIL_TITLE")+"*",required:"","error-messages":e.errors.collect("email"),disabled:e.loading,"data-vv-name":"email","data-cr-testing":"cr-signup-email-field",autocomplete:"email"},model:{value:e.invitation.email,callback:function(t){e.$set(e.invitation,"email",t)},expression:"invitation.email"}}),e._v(" "),i("v-text-field",{directives:[{name:"validate",rawName:"v-validate",value:"required|max:"+e.maxFieldLength,expression:"`required|max:${maxFieldLength}`"}],attrs:{label:e.$t("INVITATION_JOB_TITLE")+"*",disabled:e.loading,required:"","error-messages":e.errors.collect("title"),"data-vv-name":"title","data-cr-testing":"cr-signup-job-title-field"},model:{value:e.invitation.title,callback:function(t){e.$set(e.invitation,"title",t)},expression:"invitation.title"}}),e._v(" "),e.showOrganizationBusinessUnits?i("accessible-combobox",{directives:[{name:"validate",rawName:"v-validate",value:e.creatingBusinessUnit?"":"required",expression:"!creatingBusinessUnit? `required`: ''"}],attrs:{items:e.organizationBusinessUnits,"item-text":"displayText","item-value":"id",label:e.businessUnitDisplayName(e.selectedOrganization)+"*","error-messages":e.businessUnitSelectorErrorMessage("businessUnitDisplaySelector"),disabled:e.loading,required:!e.creatingBusinessUnit,"data-vv-name":"businessUnitDisplaySelector","data-cr-testing":"cr-signup-business-unit-select"},model:{value:e.selectedSchool,callback:function(t){e.selectedSchool=t},expression:"selectedSchool"}}):e._e(),e._v(" "),e.creatingBusinessUnit?i("v-text-field",{directives:[{name:"validate",rawName:"v-validate",value:"required|max:"+e.maxFieldLength,expression:"`required|max:${maxFieldLength}`"}],attrs:{label:e.businessUnitDisplayName(e.selectedOrganization)+"*",disabled:e.loading,required:"","error-messages":e.errors.collect(e.businessUnitDisplayName(e.selectedOrganization).toLowerCase()),"data-vv-name":e.businessUnitDisplayName(e.selectedOrganization).toLowerCase()},model:{value:e.invitation.businessUnit,callback:function(t){e.$set(e.invitation,"businessUnit",t)},expression:"invitation.businessUnit"}}):e._e(),e._v(" "),e.creatingBusinessUnit?i("accessible-combobox",{directives:[{name:"validate",rawName:"v-validate",value:e.creatingBusinessUnit&&!e.creatingBusinessUnitRegion?"required":"",expression:"creatingBusinessUnit && !creatingBusinessUnitRegion? `required`: ''"}],attrs:{label:e.businessUnitDisplayRegion(e.selectedOrganization)+"*",items:e.organizationRegions,disabled:e.loading,"error-messages":e.businessUnitSelectorErrorMessage("businessUnitRegionSelector"),required:e.creatingBusinessUnit&&!e.creatingBusinessUnitRegion,"data-vv-name":"businessUnitRegionSelector"},model:{value:e.selectedBusinessRegion,callback:function(t){e.selectedBusinessRegion=t},expression:"selectedBusinessRegion"}}):e._e(),e._v(" "),e.creatingBusinessUnit&&e.creatingBusinessUnitRegion?i("v-text-field",{directives:[{name:"validate",rawName:"v-validate",value:"required|max:"+e.maxFieldLength,expression:"`required|max:${maxFieldLength}`"}],attrs:{label:e.businessUnitDisplayRegion(e.selectedOrganization)+"*",required:"",disabled:e.loading,"error-messages":e.businessUnitErrorMessage("businessUnitDisplayRegion"),"data-vv-name":"'businessUnitDisplayRegion'"},model:{value:e.invitation.businessRegion,callback:function(t){e.$set(e.invitation,"businessRegion",t)},expression:"invitation.businessRegion"}}):e._e(),e._v(" "),e.creatingBusinessUnit?i("v-select",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"`required`"}],attrs:{label:e.businessUnitDisplayCategory(e.selectedOrganization)+"*",items:e.businessUnitCategories,disabled:e.loading,required:"","item-text":"key","item-value":"value","error-messages":e.businessUnitErrorMessage("businessUnitDisplayCategory"),"data-vv-name":"businessUnitDisplayCategory"},model:{value:e.invitation.businessCategory,callback:function(t){e.$set(e.invitation,"businessCategory",t)},expression:"invitation.businessCategory"}}):e._e(),e._v(" "),i("v-checkbox",{staticClass:"mt-3 pt-0",attrs:{disabled:e.loading,label:e.$t("REGISTRATION_MONTHLY_NEWSLETTER"),"data-cr-testing":"cr-signup-newsletter-checkbox"},model:{value:e.newsLetterChecked,callback:function(t){e.newsLetterChecked=t},expression:"newsLetterChecked"}}),e._v(" "),i("v-checkbox",{staticClass:"pt-0 mt-0",attrs:{disabled:e.loading,label:e.$t("REGISTRATION_TEACHER_FORUM"),"data-cr-testing":"cr-signup-teacher-forum-checkbox"},model:{value:e.teacherForumChecked,callback:function(t){e.teacherForumChecked=t},expression:"teacherForumChecked"}}),e._v(" "),i("Honeypot",{model:{value:e.honeypotFieldValue,callback:function(t){e.honeypotFieldValue=t},expression:"honeypotFieldValue"}}),e._v(" "),i("v-layout",{attrs:{row:"",wrap:"","align-center":""}},[i("v-flex",[i("router-link",{attrs:{to:"/"}},[e._v(e._s(e.$t("REGISTRATION_ALREADY_REGISTERED")))])],1),e._v(" "),i("v-flex",{attrs:{shrink:"","align-end":""}},[i("v-btn",{staticClass:"elevation-0",attrs:{disabled:e.loading,"aria-label":e.$t("REGISTRATION_SIGNUP_CANCEL_BUTTON")},on:{click:e.cancel}},[e._v(e._s(e.$t("REGISTRATION_SIGNUP_CANCEL_BUTTON")))]),e._v(" "),i("v-btn",{staticClass:"elevation-0 ml-2",attrs:{type:"submit",disabled:e.loading,dark:!e.loading,loading:e.loading,color:"confirm","aria-label":e.$t("REGISTRATION_SIGNUP_CONFIRM_BUTTON"),"data-cr-testing":"cr-signup-confirm-button"},on:{click:function(e){e.stopPropagation()}}},[e._v(e._s(e.$t("REGISTRATION_SIGNUP_CONFIRM_BUTTON")))])],1)],1)],1)]],2):!e.isVirginiaFaculty&&e.choseVirginiaInstructor?i("v-flex",{attrs:{xs12:""},domProps:{innerHTML:e._s(e.$t("SIGNUP_INSTRUCTOR_VIRGINIA_FACULTY_ONLY_TEXT"))}}):e._e()]],2)],1),e._v(" "),i("v-spacer"),e._v(" "),e.isVirginiaFaculty&&!e.validated?i("v-flex",{attrs:{xs12:""}},[i("v-layout",{attrs:{row:"",wrap:""}},[i("v-flex",{attrs:{xs12:"",md8:""}},[i("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(t){var n=t.on;return[i("span",e._g({staticClass:"tooltipClass",staticStyle:{"line-height":"36px",height:"36px"}},n),[e._v(e._s(e.$t("SIGNUP_ORGANIZATION_CODE_INFO")))])]}}],null,!1,3128429752)},[e._v(" "),i("span",[e._v(e._s(e.$t("SIGNUP_ORGANIZATION_CODE_TOOLTIP")))])])],1),e._v(" "),i("v-spacer"),e._v(" "),i("v-btn",{staticClass:"text-xs-center ma-0",attrs:{text:"",color:e.validated?"primary":"","aria-label":e.$t("NEXT"),"data-cr-testing":"cr-signup-next-button"},on:{click:function(t){return e.validateOrganizationCode()}}},[e._v("\n                "+e._s(e.validatingCode?"":e.$t("NEXT"))+"\n                "),e.validatingCode?i("v-progress-circular",{attrs:{indeterminate:"",color:"primary"}}):e._e()],1)],1)],1):e._e(),e._v(" "),!e.isVirginiaFaculty&&e.choseVirginiaInstructor?i("v-flex",{attrs:{xs12:""}},[i("v-layout",{attrs:{row:"",wrap:""}},[i("v-spacer"),e._v(" "),i("v-btn",{staticClass:"text-xs-center ma-0",attrs:{text:"",color:e.validated?"primary":"","aria-label":e.$t("CANCEL")},on:{click:function(t){e.choseVirginiaInstructor=!1}}},[e._v("\n                    "+e._s(e.$t("CANCEL"))+"\n                ")])],1)],1):e._e()],1)};hi._withStripped=!0;var gi=function(){var e=this,t=e.$createElement;return(e._self._c||t)("v-text-field",{staticClass:"body-field",attrs:{name:"body",label:"body"},model:{value:e.inputText,callback:function(t){e.inputText=t},expression:"inputText"}})};gi._withStripped=!0;var _i=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.inputText="",t}return Object(n.d)(t,e),t.prototype.onInputTextChanged=function(){this.$emit("update:modelValue",this.inputText)},Object(n.c)([Object(m.b)("update:modelValue")],t.prototype,"value",void 0),Object(n.c)([Object(m.g)("inputText")],t.prototype,"onInputTextChanged",null),t=Object(n.c)([Object(c.b)({})],t)}(r.default),fi=(i(1168),Object(u.a)(_i,gi,[],!1,null,"40be7b08",null));fi.options.__file="src/components/utils/Honeypot.vue";var mi=fi.exports,Oi=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.mailChimpError=!1,t.firstName="",t.lastName="",t.isVirginiaFaculty=!1,t.finished=!1,t.choseVirginiaInstructor=!1,t.validated=!1,t.attemptedValidation=!1,t.validatingCode=!1,t.submissionAttempted=!1,t.maxFieldLength=255,t.honeypotFieldValue="",t.selectedOrganization={organizationId:"",organizationName:"",value:"",customAttributes:[]},t.selectedSchool="",t.selectedBusinessRegion="",t.businessUnits=[],t.newsLetterChecked=!0,t.teacherForumChecked=!0,t.otherSchoolStub={name:"Other",region:"Other",id:"otherSchoolId",displayText:"Other"},t.code="",t.invitation={name:"",email:"",businessUnit:"",businessRegion:"",businessCategory:"",title:"",businessUnitId:"",organizationId:""},t}return Object(n.d)(t,e),t.prototype.cancel=function(){this.code=this.$route.query.code||"",this.attemptedValidation=!1,this.choseVirginiaInstructor=!1,this.isVirginiaFaculty=!1,this.validated=!!this.code,this.$emit("cancel")},t.prototype.businessUnitSelectorErrorMessage=function(e){return!this.$validator.errors.first(e)||this.creatingBusinessUnit&&this.creatingBusinessUnitRegion?[]:this.$root.$t("BUSINESS_UNIT_FIELD_REQUIRED_ERROR_TEXT",{field:this.businessUnitFieldName(e)})},t.prototype.businessUnitErrorMessage=function(e){return this.$validator.errors.first(e)&&this.creatingBusinessUnit?this.$root.$t("BUSINESS_UNIT_FIELD_REQUIRED_ERROR_TEXT",{field:this.businessUnitFieldName(e)}):[]},t.prototype.businessUnitFieldName=function(e){return"businessUnitDisplaySelector"===e&&(e="businessUnitDisplayName"),"businessUnitRegionSelector"===e&&(e="businessUnitDisplayRegion"),this[e](this.selectedOrganization).toLowerCase()},t.prototype.updateCodeValidation=function(){this.attemptedValidation=!1},Object.defineProperty(t.prototype,"creatingBusinessUnit",{get:function(){return this.selectedSchool===this.otherSchoolStub.id},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"creatingBusinessUnitRegion",{get:function(){return this.selectedBusinessRegion===this.otherSchoolStub.region},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"showOrganizationBusinessUnits",{get:function(){return this.canCreateBusinessUnit?this.organizationBusinessUnits.length>1:this.organizationBusinessUnits.length>0},enumerable:!1,configurable:!0}),t.prototype.validateOrganizationCode=function(e){return Object(n.b)(this,void 0,void 0,(function(){var t;return Object(n.e)(this,(function(i){switch(i.label){case 0:if(this.validatingCode=!!this.code,0===(e=e||this.code).length)return this.attemptedValidation=!0,this.validatingCode=!1,[2];i.label=1;case 1:return i.trys.push([1,3,,4]),[4,this.organizaztionApiClient.getOrganizationCode(e)];case 2:return t=i.sent(),this.selectedOrganization=t,this.invitation.organizationId=t.organizationId,this.validated=!0,this.choseVirginiaInstructor&&this.$emit("submitting",!0),[3,4];case 3:return i.sent(),this.validated=!1,[3,4];case 4:return""!==this.code&&(this.attemptedValidation=!0),this.validatingCode=!1,[2]}}))}))},Object.defineProperty(t.prototype,"businessUnitCategories",{get:function(){return Object.keys(Qt.BusinessUnitCategory).map((function(e){return{key:e,value:Qt.BusinessUnitCategory[e]}}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pageDomain",{get:function(){return window.location.hostname.split(".")[0]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"queryCode",{get:function(){return Array.isArray(this.$route.query.code)?this.$route.query.code[0]:this.$route.query.code},enumerable:!1,configurable:!0}),t.prototype.created=function(){return Object(n.b)(this,void 0,void 0,(function(){var e,t,i,r,o,s,a,c;return Object(n.e)(this,(function(l){switch(l.label){case 0:l.label=1;case 1:return[4,this.businessUnitApiClient.get({token:null==e?void 0:e.nextPageToken})];case 2:e=l.sent(),(s=this.businessUnits).push.apply(s,Object(n.f)(e.items)),l.label=3;case 3:if(null==e?void 0:e.nextPageToken)return[3,1];l.label=4;case 4:try{for(t=Object(n.g)(this.businessUnits),i=t.next();!i.done;i=t.next())(r=i.value).displayText=r.name+" : "+r.region}catch(e){a={error:e}}finally{try{i&&!i.done&&(c=t.return)&&c.call(t)}finally{if(a)throw a.error}}return this.businessUnits=this.businessUnits.sort((function(e,t){return e.displayText<t.displayText?-1:1})),(o=this.queryCode||this.pageDomain)?[4,this.validateOrganizationCode(o)]:[3,6];case 5:l.sent(),l.label=6;case 6:return[2]}}))}))},Object.defineProperty(t.prototype,"organizationBusinessUnits",{get:function(){var e=this,t=this.businessUnits.filter((function(t){return t.organizationId===e.selectedOrganization.organizationId})).map((function(e){return Object.assign({displayText:e.name+" : "+e.region},e)}));return this.canCreateBusinessUnit&&t.push(this.otherSchoolStub),t},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"organizationRegions",{get:function(){return this.organizationBusinessUnits.map((function(e){return e.region}))},enumerable:!1,configurable:!0}),t.prototype.confirm=function(){return Object(n.b)(this,void 0,void 0,(function(){var e,t,i=this;return Object(n.e)(this,(function(n){switch(n.label){case 0:return this.invitation.name=(this.firstName+" "+this.lastName).trim(),this.honeypotFieldValue?(this.finished=!0,[2]):[4,Pt(this)];case 1:if(!n.sent())return[3,8];if(""===this.invitation.businessUnit&&(this.invitation.businessUnit=this.selectedSchool),""===this.invitation.businessRegion&&(this.invitation.businessRegion=this.selectedBusinessRegion),void 0!==(e=this.businessUnits.find((function(e){return e.id===i.selectedSchool})))&&(this.invitation.businessRegion=e.region,this.invitation.businessCategory=e.category,this.invitation.businessUnit=e.name,this.invitation.businessUnitId=e.id),this.creatingBusinessUnit&&delete this.invitation.businessUnitId,this.canCreateBusinessUnit&&1===this.organizationBusinessUnits.length&&(delete this.invitation.businessUnitId,delete this.invitation.businessUnit,delete this.invitation.businessCategory,delete this.invitation.businessRegion),this.invitation.roles=[ze.UserRole.OrganizationInstructor],this.invitation.options=[{key:Ne.InvitationOptionKey.TeacherForum,value:this.teacherForumChecked}],[],!this.newsLetterChecked)return[3,5];n.label=2;case 2:return n.trys.push([2,4,,5]),[4,this.newsletterApiClient.create(new ei.Subscriber({name:this.invitation.name,emailAddress:this.invitation.email,businessUnit:this.invitation.businessUnit,emailFormat:ei.EmailFormat.HTML,jobTitle:this.invitation.title,topics:[a.a.CYBER_RANGE_UI_BASE_URL.includes(ti.USCR)?ei.Topic.UscrGeneral:ei.Topic.VacrGeneral]}))];case 3:return n.sent(),[3,5];case 4:if(!(t=n.sent()).message.includes("looks fake or invalid"))throw t;return this.mailChimpError=!0,[3,5];case 5:return this.mailChimpError?[3,7]:[4,this.invitationApiClient.add([this.invitation])];case 6:n.sent(),this.finished=!0,n.label=7;case 7:return[3,9];case 8:this.submissionAttempted=!0,n.label=9;case 9:return[2]}}))}))},Object(n.c)([Object(f.b)(C.a.InvitationApiClient)],t.prototype,"invitationApiClient",void 0),Object(n.c)([Object(f.b)(C.a.BusinessUnitApiClient)],t.prototype,"businessUnitApiClient",void 0),Object(n.c)([Object(f.b)(C.a.BackgroundOrganizationApiClient)],t.prototype,"organizaztionApiClient",void 0),Object(n.c)([Object(f.b)(C.a.NewsletterApiClient)],t.prototype,"newsletterApiClient",void 0),Object(n.c)([Object(f.b)(C.a.BusinessUnitDisplayName)],t.prototype,"businessUnitDisplayName",void 0),Object(n.c)([Object(f.b)(C.a.BusinessUnitDisplayRegion)],t.prototype,"businessUnitDisplayRegion",void 0),Object(n.c)([Object(f.b)(C.a.BusinessUnitDisplayCategory)],t.prototype,"businessUnitDisplayCategory",void 0),Object(n.c)([Object(f.b)(C.a.CanCreateBusinessUnitWithAccountRequest)],t.prototype,"canCreateBusinessUnit",void 0),Object(n.c)([Object(f.b)(C.a.IsLoading)],t.prototype,"loading",void 0),t=Object(n.c)([Object(c.b)({components:{Honeypot:mi,ErrorDialog:Wt,AccessibleCombobox:ai,AccessibleForm:di}})],t)}(r.default),Ei=(i(1170),Object(u.a)(Oi,hi,[],!1,null,null,null));Ei.options.__file="src/components/signup/vacr/VacrInstructorSignUp.vue";var Ii=Ei.exports,yi=i(146),Ti=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.submittingLeft=!1,t.submittingRight=!1,t.completedLeft=!1,t.completedRight=!1,t.showErrorDialog=!1,t}return Object(n.d)(t,e),t.prototype.onErrorChanged=function(e,t){void 0!==e&&(this.showErrorDialog=!0)},t.prototype.toggleShowErrorDialog=function(){this.showErrorDialog=!this.showErrorDialog},Object.defineProperty(t.prototype,"isUSCR",{get:function(){return"USCR"===a.a.BASE_DOMAIN},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hideLeftSide",{get:function(){return this.submittingRight||this.completedRight},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hideRightSide",{get:function(){return this.submittingLeft||this.completedLeft},enumerable:!1,configurable:!0}),Object(n.c)([Object(f.b)(C.a.GetErrorMessage)],t.prototype,"error",void 0),Object(n.c)([Object(m.g)("error")],t.prototype,"onErrorChanged",null),t=Object(n.c)([Object(c.b)({components:{StudentRegistration:Ft,UscrOrganizationSignUp:Dt,UscrInstructorSignUp:bi,VacrInstructorSignUp:Ii,ErrorDialog:Wt},metaInfo:function(){return{title:yi.a.en.TITLE_SIGNUP+" | "+a.a.APP_TITLE}}})],t)}(r.default),Ci=(i(1172),Object(u.a)(Ti,Ut,[],!1,null,"3335158e",null));Ci.options.__file="src/components/signup/AccountRequest.vue";var Ni=Ci.exports,Si=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.isLoading?i("loading",{attrs:{message:e.$t("COPIED_ENVIRONMENT_LOADING_MESSAGE")}}):e.error&&!e.retryableError?i("v-alert",{staticClass:"mb-4",attrs:{role:"alert",type:"error",icon:"error",dense:"",value:e.error}},[e._v(e._s(e.error))]):i("div",{staticClass:"elevation-0"},[i("h1",[e._v(e._s(e.$t("COPIED_ENVIRONMENT_SHARING_CONFIRMATION")))]),e._v(" "),e.catalogFamilyAccess.id?[e.error?i("v-alert",{staticClass:"mb-4",attrs:{role:"alert",type:"error",icon:"error",dense:"",value:e.error}},[e._v(e._s(e.error))]):e._e(),e._v(" "),i("announcement"),e._v(" "),e.getDisplayName?i("p",{staticClass:"mt-3 mb-3",domProps:{innerHTML:e._s(e.$t("COPIED_ENVIRONMENT_WELCOME_MESSAGE",{name:e.getDisplayName}))}}):e._e(),e._v(" "),i("p",{staticClass:"mt-3 mb-3",domProps:{innerHTML:e._s(e.$t("COPIED_ENVIRONMENT_SHARE_INFORMATION",{sharedByName:e.catalogFamilyAccess.sharedByName,familyName:e.catalogFamilyAccess.catalogFamilyName,familyVersion:e.catalogFamilyAccess.catalogFamilyVersion}))}}),e._v(" "),i("v-spacer"),e._v(" "),i("v-spacer")]:e._e(),e._v(" "),e.showOrganizationSelect?[i("AccessibleForm",{attrs:{"submit-function":e.onOrganizationSelectConfirmed}},[i("p",{staticClass:"mt-3 mb-3 subheading",domProps:{innerHTML:e._s(e.$t("COPIED_ENVIRONMENT_SHARE_ORGANIZATION_SELECT_INSTRUCTIONS"))}}),e._v(" "),e.selectableOrganizations.length>1?i("accessible-combobox",{directives:[{name:"validate",rawName:"v-validate",value:"required",expression:"`required`"}],attrs:{items:e.selectableOrganizations,"item-text":"name","item-value":"id",disabled:e.isLoading,required:"","data-vv-name":"copiedEnvironmentShareOrganizationSelect"},model:{value:e.selectedOrganizationId,callback:function(t){e.selectedOrganizationId=t},expression:"selectedOrganizationId"}}):e._e(),e._v(" "),i("v-layout",{attrs:{row:"",wrap:""}},[i("v-btn",{staticClass:"elevation-0",attrs:{disabled:e.isLoading,color:"cancel","aria-label":e.$t("COPIED_ENVIRONMENT_ORGANIZATION_SELECT_CANCEL_BUTTON")},on:{click:e.onOrganizationSelectCancelled}},[e._v(e._s(e.$t("COPIED_ENVIRONMENT_ORGANIZATION_SELECT_CANCEL_BUTTON")))]),e._v(" "),i("v-btn",{staticClass:"elevation-0 ml-2",attrs:{type:"submit",disabled:e.isLoading,loading:e.isLoading,dark:!e.isLoading,color:"confirm","aria-label":e.$t("COPIED_ENVIRONMENT_ORGANIZATION_SELECT_CONFIRM_BUTTON")}},[e._v(e._s(e.$t("COPIED_ENVIRONMENT_ORGANIZATION_SELECT_CONFIRM_BUTTON")))])],1)],1)]:e.catalogFamilyAccess.id?[i("p",{staticClass:"mt-3 mb-3",domProps:{innerHTML:e._s(e.$t("COPIED_ENVIRONMENT_ACCEPT_INSTRUCTIONS"))}}),e._v(" "),i("login-buttons",{attrs:{mode:"invitations",providers:["google","azure"]},on:{confirm:e.onLoginSuccess}})]:e._e()],2)};Si._withStripped=!0;var Ai=i(62),Ri=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.catalogFamilyAccess={},t.isLoading=!1,t.retryableError=!0,t.showOrganizationSelect=!1,t.selectedOrganizationId="",t.ACCEPT_COPY_SHARE_MAX_ATTEMPTS=10,t}return Object(n.d)(t,e),Object.defineProperty(t.prototype,"catalogFamilyAccessId",{get:function(){return this.$route.params.cfaid},enumerable:!1,configurable:!0}),t.prototype.created=function(){return Object(n.b)(this,void 0,void 0,(function(){var e,t;return Object(n.e)(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,this.catalogFamilyAccessApiClient.getOne(this.catalogFamilyAccessId)];case 1:if(e=i.sent(),this.catalogFamilyAccess=e,this.catalogFamilyAccess.accessStartedTimestamp)throw new Error;return[3,3];case 2:return(t=i.sent()).message=this.$root.$t("COPIED_ENVIRONMENT_SHARE_NOT_VALID_MESSAGE"),this.retryableError=!1,this.setError(t),[3,3];case 3:return[2]}}))}))},t.prototype.acceptAndNavigate=function(e){return Object(n.b)(this,void 0,void 0,(function(){var t,i,r,o,s,c;return Object(n.e)(this,(function(n){switch(n.label){case 0:return[4,this.catalogFamilyAccessApiClient.accept(this.catalogFamilyAccessId,e)];case 1:if(t=n.sent(),this.catalogFamilyAccess.accessType!==Ai.CatalogFamilyAccessType.Copied)return[3,9];r=void 0,o=0,n.label=2;case 2:return!r&&o<=this.ACCEPT_COPY_SHARE_MAX_ATTEMPTS?[4,new Promise((function(e){return setTimeout(e,1e3)}))]:[3,8];case 3:n.sent(),n.label=4;case 4:return n.trys.push([4,6,,7]),[4,this.catalogApiClient.getOne(t)];case 5:return(s=n.sent()).familyIds.length&&(r=s.familyIds[0]),[3,7];case 6:return n.sent(),[3,7];case 7:return o++,[3,2];case 8:return i=r,[3,10];case 9:i=this.catalogFamilyAccess.catalogFamilyId,n.label=10;case 10:return[4,this.getSsoToken()];case 11:return c=n.sent(),window.location.href=new URL("/my-copied-environments/"+i+"?s="+c,a.a.CYBER_RANGE_UI_BASE_URL).href,[2]}}))}))},t.prototype.onLoginSuccess=function(){return Object(n.b)(this,void 0,void 0,(function(){var e,t,i=this;return Object(n.e)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,9,,10]),this.isLoading=!0,this.catalogFamilyAccess.accessType!==Ai.CatalogFamilyAccessType.Linked?[3,2]:[4,this.acceptAndNavigate(this.catalogFamilyAccess.organizationId)];case 1:return n.sent(),[2];case 2:return this.catalogFamilyAccess.accessType!==Ai.CatalogFamilyAccessType.Copied?[3,8]:[4,this.fetchClaims()];case 3:return n.sent(),[4,this.organizationApiClient.getAll()];case 4:if(e=n.sent(),this.selectableOrganizations=e.filter((function(e){return!!i.canCreateSnapshotInOrganization(e.id)})),0!==this.selectableOrganizations.length)return[3,5];throw new Ce.ForbiddenApiClientError("");case 5:return 1!==this.selectableOrganizations.length?[3,7]:[4,this.acceptAndNavigate(this.selectableOrganizations[0].id)];case 6:return n.sent(),[3,8];case 7:this.selectedOrganizationId=this.selectableOrganizations[0].id,this.showOrganizationSelect=!0,this.isLoading=!1,n.label=8;case 8:return[3,10];case 9:return 403===(t=n.sent()).statusCode&&(t.message=this.$root.$t("COPIED_ENVIRONMENT_ACCEPT_SHARE_NO_PERMS_MESSAGE")),this.isLoading=!1,this.setError(t),[3,10];case 10:return[2]}}))}))},t.prototype.onOrganizationSelectConfirmed=function(){return Object(n.b)(this,void 0,void 0,(function(){var e;return Object(n.e)(this,(function(t){switch(t.label){case 0:this.isLoading=!0,t.label=1;case 1:return t.trys.push([1,3,,4]),[4,this.acceptAndNavigate(this.selectedOrganizationId)];case 2:return t.sent(),[3,4];case 3:return e=t.sent(),this.isLoading=!1,this.setError(e),[3,4];case 4:return[2]}}))}))},t.prototype.onOrganizationSelectCancelled=function(){this.showOrganizationSelect=!1},Object(n.c)([Object(f.a)(b.a.SetError)],t.prototype,"setError",void 0),Object(n.c)([Object(f.a)(b.a.GetSsoToken)],t.prototype,"getSsoToken",void 0),Object(n.c)([Object(f.a)(b.a.FetchClaims)],t.prototype,"fetchClaims",void 0),Object(n.c)([Object(f.b)(C.a.CatalogFamilyAccessApiClient)],t.prototype,"catalogFamilyAccessApiClient",void 0),Object(n.c)([Object(f.b)(C.a.CatalogApiClient)],t.prototype,"catalogApiClient",void 0),Object(n.c)([Object(f.b)(C.a.OrganizationApiClient)],t.prototype,"organizationApiClient",void 0),Object(n.c)([Object(f.b)(C.a.GetDisplayName)],t.prototype,"getDisplayName",void 0),Object(n.c)([Object(f.b)(C.a.CanCreateSnapshotInOrganization)],t.prototype,"canCreateSnapshotInOrganization",void 0),Object(n.c)([Object(f.b)(C.a.GetErrorMessage)],t.prototype,"error",void 0),t=Object(n.c)([Object(c.b)({components:{Loading:de,LoginButtons:Z,Announcement:Q,AccessibleCombobox:ai,AccessibleForm:di}})],t)}(r.default),Li=Object(u.a)(Ri,Si,[],!1,null,null,null);Li.options.__file="src/components/copiedEnvironmentShare/copiedEnvironmentShare.vue";var Ui=Li.exports;function ji(e,t,i){return Object(n.b)(this,void 0,void 0,(function(){return Object(n.e)(this,(function(t){switch(t.label){case 0:return[4,it.default.dispatch(b.a.RestorePaymentRequiredData,e.params.vendibleid)];case 1:return t.sent(),[2,i()]}}))}))}var wi=[{path:"/",component:p,children:[{path:"/",component:oe,name:"login"},{path:"/registration",component:ye,name:"registration"},{path:"/registration/:cid",component:ye,name:"registration"},{path:"/invitations",component:Re},{path:"/invitations/:iid",component:Re,name:"invitation"},{path:"/shared-environment-invitation/:cfaid",component:Ui,name:"copiedEnvironmentShare"},{path:"/join",component:he},{path:"/join/:ctfid",component:he,name:"join"},{path:"/logout",component:vt,name:"logout"},{path:"/vendibles/:vendibleid/pay",component:It,name:"payVendible",beforeEnter:ji},{path:"/vendibles/:vendibleid/confirmed",component:Nt,name:"VendiblePaymentConfirmed",beforeEnter:ji},{path:"/join-course/:cid/role/:role",component:oe,name:"joinCourse",beforeEnter:function(e,t,i){return Object(n.b)(this,void 0,void 0,(function(){return Object(n.e)(this,(function(t){switch(t.label){case 0:return[4,it.default.dispatch(b.a.Login,{token:e.query.s,provider:"sso"})];case 1:if(!t.sent())return[2,i({name:"login"})];t.label=2;case 2:return t.trys.push([2,4,,5]),[4,it.default.dispatch(b.a.CreateUser,new ee(te.a.directJoin,{courseId:e.params.cid,role:e.params.role,userId:it.default.getters[C.a.GetUserId]}))];case 3:return t.sent(),[3,5];case 4:return t.sent(),[2,i({name:"login"})];case 5:return[2]}}))}))}}]},{path:"/signup",component:Ni,name:"signup"},{path:"/lti",component:we,children:[{path:"/lti",component:et,name:"lti",beforeEnter:function(e,t,i){var r;return Object(n.b)(this,void 0,void 0,(function(){var t,o;return Object(n.e)(this,(function(n){switch(n.label){case 0:return t=e.query.lti,delete e.query.lti,t?[4,it.default.dispatch(b.a.ValidateToken,t)]:[3,3];case 1:return n.sent()&&(it.default.commit(tt.a.SetLtiToken,t),o=nt.decode(t),null===(r=o.provider)||void 0===r?void 0:r.startsWith("lti"))?(it.default.commit(tt.a.SetLtiIdentity,o),it.default.commit(tt.a.ResetIdentityProvider,o.requestedProvider),[2,i()]):[4,it.default.dispatch(b.a.SetError,new Error(rt.a.en.LTI_INVALID_TOKEN))];case 2:n.sent(),n.label=3;case 3:return i(),[2]}}))}))}},{path:"/lti/errors/:code",component:lt,name:"ltiError",props:!0}]},{path:"/redirect",component:Lt,name:"redirect"}];r.default.use(o.a);var xi=new o.a({mode:"history",routes:wi,scrollBehavior:function(e,t,i){return i||{x:0,y:0}}});t.default=xi},16:function(e,t,i){"use strict";var n;!function(e){e.ResetIdentityProvider="resetIdentityProvider",e.SetToken="setToken",e.SetLtiIdentity="setLtiIdentity",e.SetLtiToken="setLtiToken",e.SetClaims="setClaims",e.SetErrorCode="setErrorCode",e.SetErrorMessage="setErrorMessage",e.SetErrorDetails="setErrorDetails",e.IncrementLoading="incrementLoading",e.DecrementLoading="decrementLoading",e.SetPaymentRequiredData="setPaymentRequiredData",e.SetProcessingPaymentMessage="setProcessingPaymentMessage"}(n||(n={})),t.a=n},251:function(e,t,i){var n=i(30),r=i(664);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(r,o);e.exports=r.locals||{}},269:function(e,t,i){var n=i(30),r=i(704);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(r,o);e.exports=r.locals||{}},270:function(e,t,i){var n=i(30),r=i(712);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(r,o);e.exports=r.locals||{}},271:function(e,t,i){var n=i(30),r=i(714);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(r,o);e.exports=r.locals||{}},272:function(e,t,i){var n=i(30),r=i(716);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(r,o);e.exports=r.locals||{}},273:function(e,t,i){var n=i(30),r=i(718);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(r,o);e.exports=r.locals||{}},296:function(e,t,i){var n=i(30),r=i(748);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(r,o);e.exports=r.locals||{}},297:function(e,t,i){var n=i(30),r=i(750);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(r,o);e.exports=r.locals||{}},308:function(e,t,i){var n=i(30),r=i(768);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(r,o);e.exports=r.locals||{}},310:function(e,t,i){var n=i(30),r=i(781);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(r,o);e.exports=r.locals||{}},34:function(e,t,i){"use strict";var n;!function(e){e[e.courseCode=0]="courseCode",e[e.invitation=1]="invitation",e[e.lti=2]="lti",e[e.directJoin=3]="directJoin",e[e.credential=4]="credential"}(n||(n={})),t.a=n},355:function(e,t,i){var n=i(30),r=i(923);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(r,o);e.exports=r.locals||{}},437:function(e,t,i){var n=i(30),r=i(1161);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(r,o);e.exports=r.locals||{}},438:function(e,t,i){var n=i(30),r=i(1163);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(r,o);e.exports=r.locals||{}},439:function(e,t,i){var n=i(30),r=i(1165);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(r,o);e.exports=r.locals||{}},440:function(e,t,i){var n=i(30),r=i(1167);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(r,o);e.exports=r.locals||{}},441:function(e,t,i){var n=i(30),r=i(1169);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(r,o);e.exports=r.locals||{}},442:function(e,t,i){var n=i(30),r=i(1171);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(r,o);e.exports=r.locals||{}},443:function(e,t,i){var n=i(30),r=i(1173);"string"==typeof(r=r.__esModule?r.default:r)&&(r=[[e.i,r,""]]);var o={insert:"head",singleton:!1};n(r,o);e.exports=r.locals||{}},444:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var n=i(0),r=i(7);function o(){var e,t;try{for(var i=Object(n.g)([]),o=i.next();!o.done;o=i.next()){var s=o.value;r.default.filter(s.id,s.definition)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}}},445:function(e,t,i){"use strict";var n=i(0),r=function(){function e(e){this.clientId=e,this._onSigninSuccessCallbacks=new Map}return e.prototype.load=function(){var e=this;return void 0===this._loading&&(this._loading=Object(n.b)(e,void 0,void 0,(function(){var e=this;return Object(n.e)(this,(function(t){switch(t.label){case 0:return void 0!==window.google?[3,2]:[4,new Promise((function(e){return setTimeout(e,50)}))];case 1:return t.sent(),[3,0];case 2:return window.google.accounts.id.initialize({client_id:this.clientId,callback:function(t){return e.onSiginSuccess(t)}}),[2]}}))}))),this._loading},e.prototype.registerButton=function(e,t,i){return Object(n.b)(this,void 0,void 0,(function(){var r;return Object(n.e)(this,(function(n){switch(n.label){case 0:return[4,this.load()];case 1:return n.sent(),r=Symbol(),window.google.accounts.id.renderButton(e,{scope:i,size:"large",width:318}),this._onSigninSuccessCallbacks.set(r,t),[2,r]}}))}))},e.prototype.deregisterButton=function(e){return Object(n.b)(this,void 0,void 0,(function(){return Object(n.e)(this,(function(t){return this._onSigninSuccessCallbacks.delete(e),[2]}))}))},e.prototype.onSiginSuccess=function(e){var t,i;try{for(var r=Object(n.g)(this._onSigninSuccessCallbacks.values()),o=r.next();!o.done;o=r.next()){(0,o.value)(e)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(i=r.return)&&i.call(r)}finally{if(t)throw t.error}}},e}();t.a={install:function(e,t){var i=new r(t.clientId);i.load(),e.prototype.$google=i}}},446:function(e,t,i){"use strict";var n=i(1176);t.a={install:function(e,t){e.prototype.$msal=new n.a({auth:{clientId:t.clientId,redirectUri:t.redirectUri}})}}},454:function(e,t,i){"use strict";var n=function(){var e=this.$createElement;return(this._self._c||e)("router-view")};n._withStripped=!0;var r=i(0),o=i(7),s=i(9),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(r.d)(t,e),t.prototype.created=function(){return Object(r.b)(this,void 0,void 0,(function(){return Object(r.e)(this,(function(e){return[2]}))}))},t=Object(r.c)([Object(s.b)({})],t)}(o.default),c=(i(663),i(10)),l=Object(c.a)(a,n,[],!1,null,null,null);l.options.__file="src/components/Main.vue";t.a=l.exports},456:function(e,t,i){"use strict";i.r(t),function(e){i(458);var t=i(94),n=(i(660),i(454)),r=i(444),o=i(7),s=i(214),a=i(213),c=i.n(a),l=i(6),u=i(445),d=i(446),p=i(447),v=i(448);l.a.load("/dist/env.json?t="+(new Date).getTime()).then((function(){var t=i(147).default;o.default.use(p.a);var a=i(52).default;o.default.use(c.a),o.default.use(u.a,{clientId:l.a.GOOGLE_CLIENT_ID}),o.default.use(d.a,{clientId:l.a.AZUREAD_CLIENT_ID,redirectUri:new URL("/spa",l.a.LOGIN_UI_BASE_URL)}),Object(r.a)();var b=i(1175).default;o.default.use(s.a);var h=new s.a({locale:e.env.locale||"en",messages:b(l.a.BASE_DOMAIN)});o.default.use(v.a),new o.default({el:"#app",store:a,router:t,i18n:h,render:function(e){return e(n.a)},vuetify:new c.a({icons:{iconfont:"mdiSvg"},theme:{themes:{light:{primary:"#273474",secondary:"#feb500",disabled:"#9E9E9E",success:"#4caf50",application:"#f2f1ec",info:"#42A5F5",warning:"#FF9800",confirm:"#273474",error:"#B71C1C"}}},options:{customProperties:!0}})}),document.title=l.a.APP_TITLE})),o.default.config.devtools=!0,o.default.config.productionTip=!1,o.default.config.errorHandler=function(e,i,n){i.$options.propsData&&console.log("Props passed to component",i.$options.propsData);var r="Error in component: <"+i.$options._componentTag+" />\n";n&&(r+="Error occurred during lifecycle hook: "+n+"\n"),console.log(r),console.log(e),t.a.track(e)}}.call(this,i(33))},5:function(e,t,i){"use strict";var n;!function(e){e.LoadingBegin="loadingBegin",e.LoadingEnd="loadingEnd",e.SetError="setError",e.ResetError="resetError",e.ResetIdentityProvider="resetIdentityProvider",e.Login="login",e.GetSsoToken="getSsoToken",e.TryLogin="tryLogin",e.FetchClaims="fetchClaims",e.ClearClaims="clearClaims",e.ValidateToken="validateToken",e.CreateUser="createUser",e.PaymentRequired="paymentRequired",e.PurchaseVendible="purchaseVendible",e.ProcessPaymentConfirmed="processPaymentConfirmed",e.CustomApiErrorHandler="customApiErrorHandler",e.RestorePaymentRequiredData="restorePaymentRequiredData",e.DetectSystemClockDrift="detectSystemClockDrift"}(n||(n={})),t.a=n},52:function(e,t,i){"use strict";i.r(t);var n,r,o,s=i(7),a=i(74),c=i(6),l=i(1),u=i(5),d=i(64),p=i(12),v=i(94),b=i(16),h=i(22),g=i(72),_=i(451),f=i(143),m=i(63),O=i(452),E=i(453),I=i(73),y=i(111),T=i(46),C=i(62);function N(e,t){void 0===t&&(t=Ce),v.a.track(e),t.dispatch(u.a.SetError,e)}function S(){Ce.dispatch(u.a.LoadingBegin)}function A(){Ce.dispatch(u.a.LoadingEnd)}var R,L,U,j,w,x,P,B,G,D,k,M={state:{loading:0},getters:(n={},n[l.a.IsLoading]=function(e){return e.loading>0},n[l.a.AuthenticationApiClient]=function(e,t,i){var n=new p.ApiRequestConfig({authorization:"Bearer "+i.AuthenticationStore.token,"User-Agent":void 0},void 0,N,S,A);return new d.AuthenticationApiClient(c.a.AUTHENTICATION_API_BASE_URL,n)},n[l.a.BackgroundAuthenticationApiClient]=function(e,t,i){var n=new p.ApiRequestConfig({authorization:"Bearer "+i.AuthenticationStore.token,"User-Agent":void 0},void 0,void 0,void 0,void 0);return new d.AuthenticationApiClient(c.a.AUTHENTICATION_API_BASE_URL,n)},n[l.a.EntitlementApiClient]=function(e,t,i){var n=new p.ApiRequestConfig({authorization:"Bearer "+i.AuthenticationStore.token,"User-Agent":void 0},void 0,N,S,A);return new _.EntitlementApiClient(c.a.ENTITLEMENT_API_BASE_URL,n)},n[l.a.UserApiClient]=function(e,t,i){var n=new p.ApiRequestConfig({authorization:"Bearer "+i.AuthenticationStore.token,"User-Agent":void 0},void 0,N,S,A);return new h.UserApiClient(c.a.USER_API_BASE_URL,n)},n[l.a.BackgroundUserApiClient]=function(e,t,i){var n=new p.ApiRequestConfig({authorization:"Bearer "+i.AuthenticationStore.token,"User-Agent":void 0});return new h.UserApiClient(c.a.USER_API_BASE_URL,n)},n[l.a.InvitationApiClient]=function(e,t,i){var n=new p.ApiRequestConfig({authorization:"Bearer "+i.AuthenticationStore.token,"User-Agent":void 0},void 0,N,S,A);return new g.InvitationApiClient(c.a.INVITATION_API_BASE_URL,n)},n[l.a.CompetitionApiClient]=function(e,t,i){var n=new p.ApiRequestConfig({authorization:"Bearer "+i.AuthenticationStore.token,"User-Agent":void 0},void 0,N,S,A);return new f.CompetitionApiClient(c.a.COMPETITION_API_BASE_URL,n)},n[l.a.PaymentApiClient]=function(e,t,i){var n=new p.ApiRequestConfig({authorization:"Bearer "+i.AuthenticationStore.token,"User-Agent":void 0},void 0,N,S,A);return new m.PaymentApiClient(c.a.PAYMENT_API_BASE_URL,n)},n[l.a.VendibleApiClient]=function(e,t,i){var n=new p.ApiRequestConfig({authorization:"Bearer "+i.AuthenticationStore.token,"User-Agent":void 0},void 0,N,S,A);return new m.VendibleApiClient(c.a.PAYMENT_API_BASE_URL,n)},n[l.a.BalanceApiClient]=function(e,t,i){var n=new p.ApiRequestConfig({authorization:"Bearer "+i.AuthenticationStore.token,"User-Agent":void 0},void 0,N,S,A);return new O.BalanceApiClient(c.a.BALANCE_API_BASE_URL,n)},n[l.a.ContentApiClient]=function(e,t,i){var n=new p.ApiRequestConfig({authorization:"Bearer "+i.AuthenticationStore.token,"User-Agent":void 0},void 0,N,S,A);return new E.ContentApiClient(c.a.CONTENT_API_BASE_URL,n)},n[l.a.BusinessUnitApiClient]=function(e,t,i){var n=new p.ApiRequestConfig({authorization:"Bearer "+i.AuthenticationStore.token,"User-Agent":void 0},void 0,N,S,A);return new I.BusinessUnitApiClient(c.a.BUSINESS_UNIT_API_BASE_URL,n)},n[l.a.OrganizationApiClient]=function(e,t,i){var n=new p.ApiRequestConfig({authorization:"Bearer "+i.AuthenticationStore.token,"User-Agent":void 0},void 0,N,S,A);return new y.OrganizationApiClient(c.a.ORGANIZATION_API_BASE_URL,n)},n[l.a.BackgroundOrganizationApiClient]=function(e,t,i){var n=new p.ApiRequestConfig({authorization:"Bearer "+i.AuthenticationStore.token,"User-Agent":void 0});return new y.OrganizationApiClient(c.a.ORGANIZATION_API_BASE_URL,n)},n[l.a.NewsletterApiClient]=function(e,t,i){var n=new p.ApiRequestConfig({authorization:"Bearer "+i.AuthenticationStore.token,"User-Agent":void 0},void 0,N,S,A);return new T.NewsletterApiClient(c.a.NEWSLETTER_API_BASE_URL,n)},n[l.a.CatalogFamilyAccessApiClient]=function(e,t,i){var n=new p.ApiRequestConfig({authorization:"Bearer "+i.AuthenticationStore.token,"User-Agent":void 0},void 0,N,S,A);return new C.CatalogFamilyAccessApiClient(c.a.CATALOG_API_BASE_URL,n)},n[l.a.CatalogApiClient]=function(e,t,i){var n=new p.ApiRequestConfig({authorization:"Bearer "+i.AuthenticationStore.token,"User-Agent":void 0},void 0,N,S,A);return new C.CatalogApiClient(c.a.CATALOG_API_BASE_URL,n)},n),mutations:(r={},r[b.a.IncrementLoading]=function(e){e.loading=e.loading+1},r[b.a.DecrementLoading]=function(e){e.loading=e.loading-1},r),actions:(o={},o[u.a.LoadingBegin]=function(e){e.commit(b.a.IncrementLoading)},o[u.a.LoadingEnd]=function(e){e.commit(b.a.DecrementLoading)},o[u.a.CustomApiErrorHandler]=function(e,t){N(t,e)},o)},$={state:{errorCode:0,errorMessage:void 0,errorDetails:void 0},getters:(R={},R[l.a.GetErrorCode]=function(e){return e.errorCode},R[l.a.GetErrorMessage]=function(e){return e.errorMessage},R[l.a.GetErrorDetails]=function(e){return e.errorDetails},R),mutations:(L={},L[b.a.SetErrorCode]=function(e,t){e.errorCode=t},L[b.a.SetErrorMessage]=function(e,t){e.errorMessage=t},L[b.a.SetErrorDetails]=function(e,t){e.errorDetails=t},L),actions:(U={},U[u.a.SetError]=function(e,t){if(t){var i=t.message||t.error||JSON.stringify(t);if(502===t.statusCode)return;if((403===t.statusCode||422===t.statusCode||400===t.statusCode&&"jwt expired"===t.message)&&("Forbidden"!==t.message&&"jwt expired"!==t.message||(i="Your session has expired.")),"popup_closed_by_user"===i&&(i="Could not successfully authenticate with Google because the popup window was closed. Please disable popup blockers or privacy browser extensions and try again."),e.getters.getErrorMessage&&0===e.getters.getErrorMessage.indexOf("Your account could not be found"))return;(""+t.statusCode).startsWith("5")&&(i="Could not fulfill your request at this moment. Please try again."),e.commit(b.a.SetErrorCode,t.statusCode),e.commit(b.a.SetErrorMessage,i),e.commit(b.a.SetErrorDetails,t.details)}else e.commit(b.a.SetErrorCode,0),e.commit(b.a.SetErrorMessage,void 0),e.commit(b.a.SetErrorDetails,void 0)},U[u.a.ResetError]=function(e){e.dispatch(u.a.SetError,void 0)},U)},F={getters:(j={},j[l.a.GoogleLoginEnabled]=function(){return c.a.FEATURE_LOGIN_GOOGLE_ENABLED},j[l.a.AzureAdLoginEnabled]=function(){return c.a.FEATURE_LOGIN_AZUREAD_ENABLED},j[l.a.CanCreateBusinessUnitWithAccountRequest]=function(){return!1!==c.a.FEATURE_BUSINESS_UNIT_CREATION_ENABLED},j)},V=i(0),z=i(144),q={state:{identityProvider:"",userId:"",token:"",displayName:"",tokenExpirationTimeInMs:0,resources:[],ltiIdentity:new d.LtiIdentity,ltiToken:""},getters:(w={},w[l.a.GetToken]=function(e){return e.token},w[l.a.GetIdentityProvider]=function(e){return e.identityProvider},w[l.a.GetUserId]=function(e){return e.userId},w[l.a.GetDisplayName]=function(e){return e.displayName},w[l.a.IsLogin]=function(e){return!!e.token&&(new Date).getTime()<e.tokenExpirationTimeInMs},w[l.a.GetLtiIdentity]=function(e){return e.ltiIdentity},w[l.a.GetLtiToken]=function(e){return e.ltiToken},w),mutations:(x={},x[b.a.ResetIdentityProvider]=function(e,t){e.identityProvider=t,t?localStorage.setItem("identityProvider",t):localStorage.removeItem("identityProvider")},x[b.a.SetToken]=function(e,t){var i=t?t.value:void 0;if(e.token=i,i){var n=z.decode(i);e.tokenExpirationTimeInMs=1e3*(n.exp-30),e.identityProvider=n.provider,e.userId=n.sub,e.displayName=n.displayName,localStorage.setItem("identityProvider",e.identityProvider),sessionStorage.setItem("token",e.token)}else e.tokenExpirationTimeInMs=0},x[b.a.SetLtiIdentity]=function(e,t){e.ltiIdentity=t},x[b.a.SetLtiToken]=function(e,t){e.ltiToken=t},x),actions:(P={},P[u.a.Login]=function(e,t){return Object(V.b)(this,void 0,void 0,(function(){var i,n;return Object(V.e)(this,(function(r){switch(r.label){case 0:i=new d.AuthenticationApiClient(c.a.AUTHENTICATION_API_BASE_URL),r.label=1;case 1:return r.trys.push([1,3,,4]),[4,i.authenticate(t.provider,t.token)];case 2:return n=r.sent(),e.commit(b.a.SetToken,n),[3,4];case 3:return r.sent(),[2,!1];case 4:return[2,!0]}}))}))},P[u.a.TryLogin]=function(e){return Object(V.b)(this,void 0,void 0,(function(){var t;return Object(V.e)(this,(function(i){return(t=e.getters.getToken)?[2,e.dispatch(u.a.Login,{token:t,provider:"vcr"})]:[2,!1]}))}))},P[u.a.ValidateToken]=function(e,t){return Object(V.b)(this,void 0,void 0,(function(){var e;return Object(V.e)(this,(function(i){switch(i.label){case 0:e=new d.AuthenticationApiClient(c.a.AUTHENTICATION_API_BASE_URL),i.label=1;case 1:return i.trys.push([1,3,,4]),[4,e.validate(t)];case 2:return[2,i.sent()];case 3:return i.sent(),[2,!1];case 4:return[2]}}))}))},P[u.a.GetSsoToken]=function(e){return Object(V.b)(this,void 0,void 0,(function(){return Object(V.e)(this,(function(t){switch(t.label){case 0:return[4,e.getters.getAuthenticationApiClient.sso()];case 1:return[2,t.sent()]}}))}))},P[u.a.DetectSystemClockDrift]=function(e){return Object(V.b)(this,void 0,void 0,(function(){var t,i,n;return Object(V.e)(this,(function(r){switch(r.label){case 0:return t=(new Date).getTime(),n=Date.bind,[4,e.getters.getBackgroundAuthenticationApiClient.getCurrentTimestamp()];case 1:return i=(new(n.apply(Date,[void 0,r.sent()]))).getTime(),Math.abs(t-i)>c.a.SYSTEM_CLOCK_DRIFT_THRESHHOLD_IN_MS?[2,!0]:[2,!1]}}))}))},P)},Y=i(21),H={getters:(B={},B[l.a.CanListCourses]=function(e,t){return function(e){return t.hasClaim(Y.Type.API,Y.Value.LIST_V1_COURSES,Object(V.f)(e,[Y.Scope.UNDEFINED,Y.Scope.ANY]))}},B[l.a.CanManageOrganization]=function(e,t){return function(e){return t.hasClaim(Y.Type.CAN_MANAGE_ORGANIZATION,Object(V.f)([Y.Value.ANY],e),Object(V.f)(e,[Y.Scope.UNDEFINED,Y.Scope.ANY]))}},B[l.a.CanViewExerciseArea]=function(e,t){var i=t[l.a.Scopes];return t.isLogin&&(t.canManageOrganization(i)||t.canListCourses(i))},B[l.a.CanViewAllCompetitions]=function(e,t){return function(e){return t.hasClaim(Y.Type.CAN_VIEW_ALL_COMPETITIONS,[Y.Value.ANY,e],[e,Y.Scope.UNDEFINED,Y.Scope.ANY])}},B[l.a.CanAccessCompetition]=function(e,t){return function(e,i){return!!t.hasClaim(Y.Type.CTF_COMPETITION,e,[Y.Scope.ANY,e])||!!t.canViewAllCompetitions(i)}},B[l.a.CanRegisterAsAdmin]=function(e,t){return function(e){return t.hasClaim(Y.Type.CAN_REGISTER_CTF_ADMIN,e,[e,Y.Scope.UNDEFINED,Y.Scope.ANY])}},B[l.a.CanRegisterAsPlayer]=function(e,t){return function(e){return t.hasClaim(Y.Type.CAN_REGISTER_CTF_PLAYER,e,[e,Y.Scope.UNDEFINED,Y.Scope.ANY])}},B[l.a.CanCreateCourseApplication]=function(e,t){return function(e,i){return t.hasClaim(Y.Type.API,Y.Value.POST_V1_COURSE_APPLICATION,[e,i,Y.Scope.UNDEFINED,Y.Scope.ANY])}},B[l.a.CanCreateSnapshotInOrganization]=function(e,t){return function(e){return t.hasClaim(Y.Type.CAN_CREATE_SNAPSHOT_IN_ORGANIZATION,[Y.Value.ANY,e],[e,Y.Scope.UNDEFINED,Y.Scope.ANY])}},B)};function X(e,t,i){return(i||"")+"::"+(e||"")+"::"+(t||"")}var Z,J={state:{claims:{},scopes:[]},getters:(G={},G[l.a.HasClaim]=function(e){return function(t,i,n){var r,o,s,a,c=Array.isArray(i)?Object(V.f)(new Set(i)):[i],l=Array.isArray(n)?Object(V.f)(new Set(n)):[n];try{for(var u=Object(V.g)(c),d=u.next();!d.done;d=u.next()){var p=d.value;try{for(var v=(s=void 0,Object(V.g)(l)),b=v.next();!b.done;b=v.next()){if(X(t,p,b.value)in e.claims)return!0}}catch(e){s={error:e}}finally{try{b&&!b.done&&(a=v.return)&&a.call(v)}finally{if(s)throw s.error}}}}catch(e){r={error:e}}finally{try{d&&!d.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}return!1}},G[l.a.GetClaim]=function(e){return function(t,i,n){var r,o,s,a,c=[],l={},u=void 0===i?Object.values(e.claims).map((function(e){return e.value})):Array.isArray(i)?Object(V.f)(new Set(i)):[i],d=Array.isArray(n)?Object(V.f)(new Set(n)):[n];try{for(var p=Object(V.g)(u),v=p.next();!v.done;v=p.next()){var b=v.value;try{for(var h=(s=void 0,Object(V.g)(d)),g=h.next();!g.done;g=h.next()){var _=X(t,b,g.value);_ in e.claims&&!(_ in l)&&(c.push(e.claims[_]),l[_]=!0)}}catch(e){s={error:e}}finally{try{g&&!g.done&&(a=h.return)&&a.call(h)}finally{if(s)throw s.error}}}}catch(e){r={error:e}}finally{try{v&&!v.done&&(o=p.return)&&o.call(p)}finally{if(r)throw r.error}}return c}},G[l.a.GetClaims]=function(e){return function(t){return Object.values(e.claims).filter((function(e){return e.type===t}))}},G[l.a.Scopes]=function(e){return e.scopes},G),mutations:(D={},D[b.a.SetClaims]=function(e,t){var i,n,r,o;e.claims={};var s=new Set;try{for(var a=Object(V.g)(t),c=a.next();!c.done;c=a.next()){var l=c.value;try{for(var u=(r=void 0,Object(V.g)(l.scopes)),d=u.next();!d.done;d=u.next()){var p=d.value;s.add(p),e.claims[X(l.type,l.value,p)]=l}}catch(e){r={error:e}}finally{try{d&&!d.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}}}catch(e){i={error:e}}finally{try{c&&!c.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}e.scopes=Object(V.f)(s)},D),actions:(k={},k[u.a.FetchClaims]=function(e){return Object(V.b)(this,void 0,void 0,(function(){var t;return Object(V.e)(this,(function(i){switch(i.label){case 0:return[4,e.getters.getEntitlementApiClient.listClaims()];case 1:return t=i.sent(),[4,e.commit(b.a.SetClaims,t)];case 2:return i.sent(),[2]}}))}))},k[u.a.ClearClaims]=function(e){return Object(V.b)(this,void 0,void 0,(function(){return Object(V.e)(this,(function(t){return e.commit(b.a.SetClaims,[]),[2]}))}))},k)},K=i(147),W=function(e){function t(t){var i=e.call(this,t)||this;return i.name="NoPaymentSessionDataFoundError",i}return Object(V.d)(t,e),t}(Error);!function(e){e[e.UserCreation=0]="UserCreation"}(Z||(Z={}));var Q,ee,te,ie,ne,re=Z,oe=i(211),se=function(){function e(e,t){this.store=e,this.vendible=t,this.balanceApiClient=e.getters[l.a.BalanceApiClient],this.paymentApiClient=e.getters[l.a.PaymentApiClient]}return e.prototype.getSsoToken=function(){return Object(V.b)(this,void 0,void 0,(function(){return Object(V.e)(this,(function(e){switch(e.label){case 0:return[4,this.store.dispatch(u.a.GetSsoToken)];case 1:return[2,e.sent()]}}))}))},e.prototype.getPaymentId=function(){return Object(V.b)(this,void 0,void 0,(function(){var e;return Object(V.e)(this,(function(t){switch(t.label){case 0:return this._payment?[3,2]:[4,this.paymentApiClient.get({organizationId:this.vendible.organizationId,vendibleId:this.vendible.id,limit:1})];case 1:e=t.sent(),this._payment=e.items[0],t.label=2;case 2:return[2,this._payment]}}))}))},e.prototype.checkBalanceActivityExistence=function(){return Object(V.b)(this,void 0,void 0,(function(){var e,t,i;return Object(V.e)(this,(function(n){switch(n.label){case 0:return[4,this.getPaymentId()];case 1:return(e=n.sent())?((t=new Date(e.createdTimestamp)).setDate(t.getDate()-1),(i=new Date(e.createdTimestamp)).setDate(i.getDate()+1),[4,this.balanceApiClient.listOrganizationBalanceActivities(this.vendible.organizationId,{postedFrom:t.toISOString().substring(0,10),postedTo:i.toISOString().substring(0,10)})]):[2,!1];case 2:return[2,n.sent().items.some((function(t){return t.type===oe.ActivityType.Payment&&t.referenceId===e.id}))]}}))}))},e.prototype.process=function(){return Object(V.b)(this,void 0,void 0,(function(){var e,t,i,n,r,o;return Object(V.e)(this,(function(s){switch(s.label){case 0:e=!1,s.label=1;case 1:return t=new Promise((function(e){return setTimeout(e,2e3)})),[4,this.checkBalanceActivityExistence()];case 2:return(e=s.sent())?[3,4]:[4,t];case 3:s.sent(),s.label=4;case 4:if(!e)return[3,1];s.label=5;case 5:return n=(i=window.location).assign,r=URL.bind,o="/organizations/"+this.vendible.organizationId+"/billing?s=",[4,this.getSsoToken()];case 6:return n.apply(i,[(new(r.apply(URL,[void 0,o+s.sent(),c.a.CYBER_RANGE_UI_BASE_URL]))).href]),[2]}}))}))},e}(),ae=function(){function e(e,t){this.store=e,this.paymentData=t,this.message="Please wait while your account is being prepared..."}return e.prototype.process=function(){return Object(V.b)(this,void 0,void 0,(function(){var e;return Object(V.e)(this,(function(t){switch(t.label){case 0:if(e=this.store.getters[l.a.GetToken],window.sessionStorage.removeItem(this.paymentData.vendibleId),!e)throw new W;return[4,this.store.dispatch(u.a.CreateUser,{method:this.paymentData.source.method,args:this.paymentData.source.args})];case 1:return t.sent(),[2]}}))}))},e}(),ce=function(){function e(){}return e.create=function(e,t){return Object(V.b)(this,void 0,void 0,(function(){var i,n,r;return Object(V.e)(this,(function(o){switch(o.label){case 0:if(i=e.getters[l.a.GetVendiblePaymentRequiredError](t))return[3,5];n=e.getters[l.a.VendibleApiClient],r=void 0,o.label=1;case 1:return o.trys.push([1,3,,4]),[4,n.getOne(t)];case 2:return r=o.sent(),[3,4];case 3:return o.sent(),[3,4];case 4:return(null==r?void 0:r.type)===m.VendibleType.OrganizationBalance?[2,new se(e,r)]:[3,6];case 5:if(i.source.action===re.UserCreation)return[2,new ae(e,i)];o.label=6;case 6:throw new W}}))}))},e}(),le={state:{requiredPaymentData:{},processingPaymentMessage:""},getters:(Q={},Q[l.a.GetVendiblePaymentRequiredError]=function(e){return function(t){return e.requiredPaymentData[t]}},Q[l.a.GetProcessingPaymentMessage]=function(e){return e.processingPaymentMessage},Q),mutations:(ee={},ee[b.a.SetPaymentRequiredData]=function(e,t){e.requiredPaymentData[t.vendibleId]=t},ee[b.a.SetProcessingPaymentMessage]=function(e,t){e.processingPaymentMessage=t},ee),actions:(te={},te[u.a.RestorePaymentRequiredData]=function(e,t){var i,n;try{i=JSON.parse(window.sessionStorage.getItem(t))}catch(e){}i?(e.commit(b.a.SetPaymentRequiredData,i.data),n=i.userToken):n=sessionStorage.getItem("token"),e.commit(b.a.SetToken,new d.Token(n))},te[u.a.PaymentRequired]=function(e,t){e.commit(b.a.SetPaymentRequiredData,t);var i=e.getters[l.a.GetToken];window.sessionStorage.setItem(t.vendibleId,JSON.stringify({data:t,userToken:i})),K.default.push("/vendibles/"+t.vendibleId+"/pay")},te[u.a.PurchaseVendible]=function(e,t){return Object(V.b)(this,void 0,void 0,(function(){var i,n;return Object(V.e)(this,(function(r){switch(r.label){case 0:return[4,e.getters[l.a.VendibleApiClient].getPaymentUrl(t)];case 1:return i=r.sent().paymentUrl,window.self!==window.top?(n=window.open(i,void 0,"popup=true"),window.addEventListener("message",(function(e){e.source===n&&"paymentProcessed"===e.data&&K.default.push("/vendibles/"+t+"/confirmed")}))):window.location.assign(i),[2]}}))}))},te[u.a.ProcessPaymentConfirmed]=function(e,t){return Object(V.b)(this,void 0,void 0,(function(){var i;return Object(V.e)(this,(function(n){switch(n.label){case 0:return window.opener?(window.opener.postMessage("paymentProcessed"),window.close(),[2]):[4,ce.create(e,t)];case 1:return(i=n.sent()).message&&e.commit(b.a.SetProcessingPaymentMessage,i.message),[4,i.process()];case 2:return n.sent(),[2]}}))}))},te)},ue=i(34),de=function(){function e(e){this.storeContext=e}return e.prototype.getSsoToken=function(){return Object(V.b)(this,void 0,void 0,(function(){return Object(V.e)(this,(function(e){switch(e.label){case 0:return[4,this.storeContext.dispatch(u.a.GetSsoToken)];case 1:return[2,e.sent()]}}))}))},Object.defineProperty(e.prototype,"userApiClient",{get:function(){return this.storeContext.getters[l.a.BackgroundUserApiClient]},enumerable:!1,configurable:!0}),e}(),pe=function(e){function t(t,i){var n=e.call(this,t)||this;return n.courseCode=i,n}return Object(V.d)(t,e),t.prototype.create=function(){return this.userApiClient.createUserByCourseCode(this.courseCode)},t.prototype.afterCreate=function(){return Object(V.b)(this,void 0,void 0,(function(){var e,t;return Object(V.e)(this,(function(i){switch(i.label){case 0:return e=window.location,t=c.a.CYBER_RANGE_UI_BASE_URL+"?s=",[4,this.getSsoToken()];case 1:return e.href=t+i.sent(),[2]}}))}))},t}(de),ve=function(e){function t(t,i){var n=e.call(this,t)||this;return n.courseId=i.courseId,n.userId=i.userId,n.role=i.role,n}return Object(V.d)(t,e),t.prototype.create=function(){return this.userApiClient.addCourseUser(this.courseId,this.userId,this.role)},t.prototype.afterCreate=function(){return Object(V.b)(this,void 0,void 0,(function(){var e,t,i;return Object(V.e)(this,(function(n){switch(n.label){case 0:return e=window.location,t=URL.bind,i="/courses/"+this.courseId+"?s=",[4,this.getSsoToken()];case 1:return e.href=(new(t.apply(URL,[void 0,i+n.sent(),c.a.CYBER_RANGE_UI_BASE_URL]))).href,[2]}}))}))},t}(de),be=function(e){function t(t,i){var n=e.call(this,t)||this;return"string"==typeof i?n.invitationId=i:(n.invitationId=i.id,n._invitation=i),n}return Object(V.d)(t,e),t.prototype.getInvitation=function(){return Object(V.b)(this,void 0,void 0,(function(){var e;return Object(V.e)(this,(function(t){switch(t.label){case 0:return this._invitation?[3,2]:(e=this,[4,this.invitationApiClient.getOne(this.invitationId)]);case 1:e._invitation=t.sent(),t.label=2;case 2:return[2,this._invitation]}}))}))},Object.defineProperty(t.prototype,"invitationApiClient",{get:function(){return this.storeContext.getters[l.a.InvitationApiClient]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"competitionApiClient",{get:function(){return this.storeContext.getters[l.a.CompetitionApiClient]},enumerable:!1,configurable:!0}),t.prototype.create=function(){return this.userApiClient.createUserByInvitation(this.invitationId)},t.prototype.afterCreate=function(){return Object(V.b)(this,void 0,void 0,(function(){var e,t,i,n,r,o;return Object(V.e)(this,(function(s){switch(s.label){case 0:return[4,this.getInvitation()];case 1:return(e=s.sent()).ctfCompetitionId?[4,this.competitionApiClient.getOne(e.ctfCompetitionId)]:[3,4];case 2:return t=s.sent(),i=window.location,n="https://"+t.subdomain+"."+c.a.CTF_UI_BASE_DOMAIN+"?s=",[4,this.getSsoToken()];case 3:return i.href=n+s.sent(),[3,6];case 4:return r=window.location,o=c.a.CYBER_RANGE_UI_BASE_URL+"?s=",[4,this.getSsoToken()];case 5:r.href=o+s.sent(),s.label=6;case 6:return[2]}}))}))},t}(de),he=function(e){function t(t,i){var n=e.call(this,t)||this;return n.ltiToken=i.ltiToken,n.courseId=i.courseId,n}return Object(V.d)(t,e),t.prototype.create=function(){return this.userApiClient.createUserByLtiToken(this.ltiToken)},t.prototype.afterCreate=function(){return Object(V.b)(this,void 0,void 0,(function(){var e,t,i;return Object(V.e)(this,(function(n){switch(n.label){case 0:return e=window.location,t=URL.bind,i="/courses/"+this.courseId+"?s=",[4,this.getSsoToken()];case 1:return e.href=(new(t.apply(URL,[void 0,i+n.sent(),c.a.CYBER_RANGE_UI_BASE_URL]))).href,[2]}}))}))},t}(de),ge=function(e){function t(t,i){var n=e.call(this,t)||this;return n.credentialId=i,n}return Object(V.d)(t,e),t.prototype.create=function(){return this.userApiClient.createUserByCredential(this.credentialId)},t.prototype.afterCreate=function(){return Object(V.b)(this,void 0,void 0,(function(){var e,t,i;return Object(V.e)(this,(function(n){switch(n.label){case 0:return e=window.location,t=URL.bind,i="?s=",[4,this.getSsoToken()];case 1:return e.href=(new(t.apply(URL,[void 0,i+n.sent(),c.a.CYBER_RANGE_UI_BASE_URL]))).href,[2]}}))}))},t}(de),_e=function(){function e(){}return e.create=function(e,t,i){switch(t){case ue.a.invitation:return new be(e,i);case ue.a.courseCode:return new pe(e,i);case ue.a.lti:return new he(e,i);case ue.a.directJoin:return new ve(e,i);case ue.a.credential:return new ge(e,i);default:throw new Error("No creation process for user creation method '"+t+"'.")}},e}(),fe={actions:(ie={},ie[u.a.CreateUser]=function(e,t){return Object(V.b)(this,void 0,void 0,(function(){var i,n,r;return Object(V.e)(this,(function(o){switch(o.label){case 0:i=_e.create(e,t.method,t.args),o.label=1;case 1:return o.trys.push([1,3,,4]),[4,i.create()];case 2:return o.sent(),[3,4];case 3:if((n=o.sent())instanceof p.ApiClientError&&402===n.statusCode){r=void 0;try{if(!(r=JSON.parse(n.details)).vendibleId)throw new Error}catch(t){throw e.dispatch(u.a.CustomApiErrorHandler,n),n}return e.dispatch(u.a.PaymentRequired,Object(V.a)(Object(V.a)({},r),{source:{action:re.UserCreation,method:t.method,args:t.args}})),[2]}if(!(n instanceof p.ConflictApiClientError&&"The user has already accepted an invitation"===n.message))throw e.dispatch(u.a.CustomApiErrorHandler,n),n;return[3,4];case 4:return[4,new Promise((function(e,t){return setTimeout(e,2e3)}))];case 5:return o.sent(),[4,e.dispatch(u.a.TryLogin)];case 6:return o.sent(),[4,i.afterCreate()];case 7:return o.sent(),[2]}}))}))},ie)};!function(e){e.BusinessCategory="businesscategory",e.BusinessRegion="businessregion",e.BusinessUnit="businessunit"}(ne||(ne={}));var me=ne;function Oe(e){return e?(e=e.toString()).charAt(0).toUpperCase()+e.slice(1):""}var Ee,Ie=i(95),ye={state:{currentOrganizationCustomAttributes:{}},getters:(Ee={},Ee[l.a.BusinessUnitDisplayCategory]=function(e){return function(t){if(void 0!==t){var i=t.customAttributes?t.customAttributes.find((function(e){return e.name===me.BusinessCategory})):void 0;if(i)return Oe(i.value)}else if(e.currentOrganizationCustomAttributes&&e.currentOrganizationCustomAttributes[me.BusinessCategory])return Oe(e.currentOrganizationCustomAttributes[me.BusinessCategory]);return Ie.a.en.BUSINESS_CATEGORY}},Ee[l.a.BusinessUnitDisplayName]=function(e){return function(t){if(void 0!==t){var i=t.customAttributes?t.customAttributes.find((function(e){return e.name===me.BusinessUnit})):void 0;if(i)return Oe(i.value)}else if(e.currentOrganizationCustomAttributes&&e.currentOrganizationCustomAttributes[me.BusinessUnit])return Oe(e.currentOrganizationCustomAttributes[me.BusinessUnit]);return Ie.a.en.BUSINESS_UNIT}},Ee[l.a.BusinessUnitDisplayRegion]=function(e){return function(t){if(void 0!==t){var i=t.customAttributes?t.customAttributes.find((function(e){return e.name===me.BusinessRegion})):void 0;if(i)return Oe(i.value)}else if(e.currentOrganizationCustomAttributes&&e.currentOrganizationCustomAttributes[me.BusinessRegion])return Oe(e.currentOrganizationCustomAttributes[me.BusinessRegion]);return Ie.a.en.BUSINESS_REGION}},Ee)};s.default.use(a.a);var Te={modules:{AuthenticationStore:q,ApiClientStore:M,ErrorStore:$,FeatureStore:F,AuthorizationStore:H,EntitlementStore:J,PaymentStore:le,UserStore:fe,OrganizationStore:ye}},Ce=t.default=new a.a.Store(Te)},6:function(e,t,i){"use strict";(function(e){var n=i(0),r=i(140),o=function(){function t(){}var i;return t.load=function(e){return Object(n.b)(this,void 0,void 0,(function(){var i,r;return Object(n.e)(this,(function(n){switch(n.label){case 0:return[4,t.getFile(e)];case 1:return i=n.sent(),r=JSON.parse(i),t.init(r),[2]}}))}))},t.getFile=function(e){return Object(n.b)(this,void 0,void 0,(function(){return Object(n.e)(this,(function(t){return[2,new Promise((function(t,i){Object(r.get)(e).on("response",(function(e){var n="";e.on("data",(function(e){n+=e})),e.on("end",(function(){return t(n)})),e.on("error",(function(e){return i(e)}))}))}))]}))}))},t.init=function(e){Object.keys(e).forEach((function(i){t[i]=e[i]}))},t.APP_TITLE="The Cyber Range",t.LOCAL_STORAGE_VERSION_NUMBER=e.env.LOCAL_STORAGE_VERSION_NUMBER||"1.00",t.CYBER_RANGE_UI_BASE_URL=e.env.CYBER_RANGE_UI_BASE_URL||"http://console.vacr.io:8076",t.CYBER_RANGE_UI_USCR_BASE_URL=e.env.CYBER_RANGE_UI_USCR_BASE_URL||"http://www.uscyberrange.org",t.HOMEPAGE_UI_BASE_URL=e.env.HOMEPAGE_UI_BASE_URL||"http://home.vacr.io:8079",t.LOGIN_UI_BASE_URL=e.env.LOGIN_UI_BASE_URL||"http://localhost:8078",t.CTF_UI_BASE_URL=e.env.CTF_UI_BASE_URL||"http://www.ctf.vacr.io:8077/",t.CTF_UI_BASE_DOMAIN=e.env.CTF_UI_BASE_DOMAIN||"ctf.vacr.org:8077/",t.AUTHENTICATION_API_BASE_URL=e.env.AUTHENTICATION_API_BASE_URL||"http://localhost:8081",t.ENTITLEMENT_API_BASE_URL=e.env.ENTITLEMENT_API_BASE_URL||"http://localhost:8082",t.USER_API_BASE_URL=e.env.USER_API_BASE_URL||"http://localhost:8083/",t.CATALOG_API_BASE_URL=e.env.CATALOG_API_BASE_URL||"http://localhost:8084/",t.INVITATION_API_BASE_URL=e.env.INVITATION_API_BASE_URL||"http://localhost:8086/",t.COMPETITION_API_BASE_URL=e.env.COMPETITION_API_BASE_URL||"http://localhost:8100/",t.PAYMENT_API_BASE_URL=e.env.PAYMENT_API_BASE_URL||"http://localhost:8112/",t.BALANCE_API_BASE_URL=e.env.BALANCE_API_BASE_URL||"http://localhost:8113/",t.CONTENT_API_BASE_URL=e.env.CONTENT_API_BASE_URL||"http://host.vacr.org:8095/",t.BUSINESS_UNIT_API_BASE_URL=e.env.BUSINESS_UNIT_API_BASE_URL||"http://localhost:8094/",t.ORGANIZATION_API_BASE_URL=e.env.ORGANIZATION_API_BASE_URL||"http://localhost:8087/",t.NEWSLETTER_API_BASE_URL=e.env.NEWSLETTER_API_BASE_URL||"http://localhost:8099/",t.SUPPORT_URL=e.env.SUPPORT_URL||"https://kb.virginiacyberrange.org",t.LOGIN_SUPPORT_URL=e.env.LOGIN_SUPPORT_URL,t.COGNITO_USER_POOL_BASE_URL=e.env.COGNITO_USER_POOL_BASE_URL||"https://poc-user-direct-login.auth.us-east-1.amazoncognito.com",t.COGNITO_ANONYMOUS_POOL_BASE_URL=e.env.COGNITO_ANONYMOUS_POOL_BASE_URL||"https://poc-anonymous-users.auth.us-east-1.amazoncognito.com",t.BASE_DOMAIN=e.env.BASE_DOMAIN||"USCR",t.BASIC_LOGIN_ENABLED=!1,t.CREDENTIAL_USER_LOGIN_ENABLED=!0,t.FEATURE_LOGIN_GOOGLE_ENABLED=!0,t.FEATURE_LOGIN_AZUREAD_ENABLED=!0,t.GOOGLE_CLIENT_ID="",t.AZUREAD_CLIENT_ID="",t.REDIRECT_URLS="",t.COGNITO_USER_POOL_CLIENT_ID=e.env.COGNITO_USER_POOL_CLIENT_ID||"5fnh3vm9b6fp4vsp7oldnhmvp6",t.COGNITO_ANONYMOUS_POOL_CLIENT_ID=e.env.COGNITO_ANONYMOUS_POOL_CLIENT_ID||"6svrkh40obhkodpd2no2oor8vk",t.TERMS_AND_POLICIES_URL="",t.TEMPLATE_VARIABLES={},t.ANNOUNCEMENT_INFO=e.env.ANNOUNCEMENT_INFO||"",t.ANNOUNCEMENT_WARNING=e.env.ANNOUNCEMENT_WARNING||"",t.SYSTEM_CLOCK_DRIFT_THRESHHOLD_IN_MS=Number(null!==(i=e.env.SYSTEM_CLOCK_DRIFT_THRESHHOLD_IN_MS)&&void 0!==i?i:3e5),t}();t.a=o}).call(this,i(33))},663:function(e,t,i){"use strict";i(251)},664:function(e,t,i){(t=i(31)(!1)).push([e.i,"/* Vue1.1 */\n.v-menu__activator {\n  height: auto !important;\n}\n#inspire > div > main > div.v-content__wrap {\n  display: flex;\n}\n/* Vue2.0 */\n.v-expansion-panels.v-item-group {\n  position: inherit;\n}\n.v-expansion-panel-content__wrap {\n  padding-bottom: 0px;\n}\n.v-card__text {\n  color: inherit !important;\n}\n.v-input--selection-controls.v-input--is-focused .v-input--selection-controls__ripple:before,\n.v-input--selection-controls .v-input--selection-controls__input:hover .v-input--selection-controls__ripple::before {\n  background: none;\n  outline: solid #273474 3px;\n  transform: scale(0.9);\n  opacity: 1;\n}\n.v-input--selection-controls__ripple > .v-ripple__container {\n  transform: scale(0.9);\n}\n.visually-hidden {\n  position: absolute !important;\n  height: 1px;\n  width: 1px;\n  overflow: hidden;\n  padding: 0 !important;\n  border: 0! important;\n  white-space: nowrap !important;\n  clip: rect(1px 1px 1px 1px) !important;\n  /* IE6, IE7 */\n  clip: rect(1px, 1px, 1px, 1px) !important;\n  clip-path: inset(50%) !important;\n}\n",""]),e.exports=t},668:function(e,t){},670:function(e,t){},680:function(e,t){},703:function(e,t,i){"use strict";i(269)},704:function(e,t,i){var n=i(31),r=i(705),o=i(706),s=i(707),a=i(708),c=i(709),l=i(710);t=n(!1);var u=r(o),d=r(s),p=r(a),v=r(c),b=r(l);t.push([e.i,"\n[data-v-09512f3f] h1 {\n  color: #3c4886;\n}\n.side-image[data-v-09512f3f] {\n  background-size: cover;\n  background-position: center;\n  width: 100%;\n  height: 100%;\n}\n@media (max-height: 360px) {\n.side-image[data-v-09512f3f] {\n    background-image: url("+u+");\n}\n}\n@media (min-height: 361px) and (max-height: 720px) {\n.side-image[data-v-09512f3f] {\n    background-image: url("+d+");\n}\n}\n@media (min-height: 721px) and (max-height: 1080px) {\n.side-image[data-v-09512f3f] {\n    background-image: url("+p+");\n}\n}\n@media (min-height: 1081px) and (max-height: 1440px) {\n.side-image[data-v-09512f3f] {\n    background-image: url("+v+");\n}\n}\n@media (min-height: 1441px) {\n.side-image[data-v-09512f3f] {\n    background-image: url("+b+");\n}\n}\n@media (max-width: 360px) {\n.special-small-padding[data-v-09512f3f] {\n    margin-left: 11px;\n}\n}\n@media (max-width: 460px) {\n.special-small-width[data-v-09512f3f] {\n    max-width: 99% !important;\n}\n}\n.footer[data-v-09512f3f] {\n  text-align: center;\n  padding: 10px 0;\n  width: 100%;\n}\n.side-image .footer[data-v-09512f3f] {\n  color: white;\n  background: rgba(35, 72, 124, 0.8);\n}\n.side-image .footer a[data-v-09512f3f] {\n  color: inherit;\n}\n",""]),e.exports=t},706:function(e,t,i){"use strict";i.r(t),t.default=i.p+"side-image-360.webp?06a54240a1902cb249b302096f1efa42"},707:function(e,t,i){"use strict";i.r(t),t.default=i.p+"side-image-720.webp?8317fc80f587d3d6181e2fbc6bc662b7"},708:function(e,t,i){"use strict";i.r(t),t.default=i.p+"side-image-1080.webp?69d4e474f375913a436128c8c97273e9"},709:function(e,t,i){"use strict";i.r(t),t.default=i.p+"side-image-2k.webp?121d2efd371ac98ebf695fab1267cfb1"},710:function(e,t,i){"use strict";i.r(t),t.default=i.p+"side-image-4k.webp?a36325e78448d6f4288f95521c311a76"},711:function(e,t,i){"use strict";i(270)},712:function(e,t,i){(t=i(31)(!1)).push([e.i,'.google-placeholder[data-v-54ed1810] {\n  max-width: 320px;\n  box-sizing: border-box;\n  border-radius: 4px;\n  border: thin dashed rgba(0, 0, 0, 0.2);\n  font-family: "Google Sans", arial, sans-serif;\n  font-size: 14px;\n  font-weight: 500;\n  letter-spacing: 1.25px;\n  text-align: center;\n}\n.google-button-container[data-v-54ed1810] [role="button"]:hover {\n  border-color: #e0e0e0;\n  background-color: #f6f6f6;\n}\n.google-button-container[data-v-54ed1810] [role="button"]:focus {\n  border-radius: 5px;\n  box-shadow: 0 0 0 0.15rem #1867c0;\n  background-color: #e4e4e4;\n}\n.google-button-container[data-v-54ed1810] [role="button"] > div {\n  background: unset;\n}\n.google-button-container[data-v-54ed1810] [tabindex="0"]:empty {\n  display: none;\n}\n.google-button-container[data-v-54ed1810] iframe {\n  display: none !important;\n}\n',""]),e.exports=t},713:function(e,t,i){"use strict";i(271)},714:function(e,t,i){(t=i(31)(!1)).push([e.i,".msal-login-button:focus {\n  box-shadow: 0 0 0 0.15rem #1867c0 !important;\n}\n",""]),e.exports=t},715:function(e,t,i){"use strict";i(272)},716:function(e,t,i){(t=i(31)(!1)).push([e.i,".credential-login-button[data-v-30c0fa51]:focus {\n  box-shadow: 0 0 0 0.15rem #1867c0 !important;\n}\n",""]),e.exports=t},717:function(e,t,i){"use strict";i(273)},718:function(e,t,i){(t=i(31)(!1)).push([e.i,".loginExpensionHeader[data-v-101f4fee] {\n  font-size: 0.875rem;\n  font-weight: 500;\n  letter-spacing: 0.08928571em;\n  padding-left: 36px !important;\n}\n",""]),e.exports=t},747:function(e,t,i){"use strict";i(296)},748:function(e,t,i){(t=i(31)(!1)).push([e.i,"a[data-v-08b4fdc3] {\n  text-decoration: none !important;\n}\n",""]),e.exports=t},749:function(e,t,i){"use strict";i(297)},750:function(e,t,i){(t=i(31)(!1)).push([e.i,".progress {\n  vertical-align: top;\n  padding-right: 2.5em;\n}\n",""]),e.exports=t},767:function(e,t,i){"use strict";i(308)},768:function(e,t,i){(t=i(31)(!1)).push([e.i,".v-icon[data-v-dfc65c12] {\n  vertical-align: middle;\n}\n",""]),e.exports=t},780:function(e,t,i){"use strict";i(310)},781:function(e,t,i){(t=i(31)(!1)).push([e.i,".theme--light.v-application[data-v-5eb77ca7] {\n  background-color: #f1f1f1;\n}\n",""]),e.exports=t},922:function(e,t,i){"use strict";i(355)},923:function(e,t,i){(t=i(31)(!1)).push([e.i,".centeredIcon[data-v-b058c2f2] {\n  text-align: center;\n}\n",""]),e.exports=t},95:function(e,t,i){"use strict";t.a={en:{BUSINESS_UNIT:"Business Unit",BUSINESS_CATEGORY:"Business Category",BUSINESS_REGION:"Business Region",BUSINESS_UNIT_FIELD_REQUIRED_ERROR_TEXT:"Error: The {field} field is required."}}}});
//# sourceMappingURL=build.js.map