{"version":3,"sources":["webpack:///./src/components/familyPortal/checkout/checkoutSubmit/SubmitTotals.vue?3711","webpack:///./src/components/familyPortal/checkout/checkoutSubmit/SubmitTotals.vue?d420","webpack:///./src/components/familyPortal/checkout/checkoutSubmit/SubmitTotals.vue?8389","webpack:///./src/components/familyPortal/checkout/checkoutSubmit/SubmitTotals.vue?70a0","webpack:///./src/components/familyPortal/checkout/checkoutSubmit/SubmitTotals.vue","webpack:///./src/components/familyPortal/checkout/stepper/Stepper.vue?ac9c","webpack:///./src/components/familyPortal/checkout/stepper/Stepper.vue?3f64","webpack:///./src/components/familyPortal/checkout/stepper/Stepper.vue?4c3d","webpack:///./src/components/familyPortal/checkout/stepper/Stepper.vue","webpack:///./src/components/familyPortal/checkout/stepper/Stepper.vue?aacf","webpack:///./src/components/familyPortal/checkout/steps/CheckoutDone.vue?f025","webpack:///./src/components/familyPortal/checkout/steps/CheckoutDone.vue?2a0b","webpack:///./src/components/familyPortal/checkout/steps/CheckoutDone.vue?859e","webpack:///./src/components/familyPortal/checkout/steps/CheckoutDone.vue?42bf","webpack:///./src/components/familyPortal/checkout/steps/CheckoutDone.vue","webpack:///./src/components/familyPortal/checkout/checkoutSubmitCard/SubmitCard.vue?6ec2","webpack:///./src/components/familyPortal/checkout/checkoutSubmitCard/SubmitCard.vue?98a5","webpack:///./src/components/familyPortal/checkout/checkoutSubmitCard/SubmitCard.vue?c4e3","webpack:///./src/components/familyPortal/checkout/checkoutSubmitCard/SubmitCard.vue","webpack:///./src/components/familyPortal/checkout/checkoutSubmitCard/SubmitCard.vue?c195"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","class","isMobile","mobile","_v","_s","screenText","getScreenText","formattedSubtotal","customFeesTotalLineItem","attrs","name","description","_e","formattedCurrencyTotal","directives","rawName","value","expression","formattedPromoCodeTotal","formattedTax","formattedTotal","staticRenderFns","ScreenText","useSubmitted","submittedCart","totals","subtotal","currencyFmt","format","promoCodeDiscount","promoCodeTotal","tax","total","feesToUse","feeTotalLineItem","customFeesTotal","customFees","trim","feesTotalExcludingTax","type","Boolean","default","component","CheckoutStep","Review","getState","Apply","activeStep","isLoadingCartApplicationsData","isFetchingCart","isReloadingCart","APP_CONST","STYLE","COLOR","NEUTRAL_900","currentApplicationDisplay","applicationsTotal","Submit","submitStepText","Done","StepState","Step","step","Complete","Active","Inactive","prototype","$eventHub","$on","CART_IS_RELOADING_EVENT","onReloadCartEvent","$off","attachExternalListeners","detachExternalListeners","commonEntry","accountDesignDetails","accentColor","isUpdatingCart","isDeleting","currentlySelectedApplicationIndex","cartApplications","cartItemApplicationData","length","Number","required","components","Spinner","title","subtext","style","color","APP_ROUTES","DASHBOARD","path","subtextHomepageLink","_l","item","key","session","sessionId","cartItemIds","scholars","isCartTotalFree","notificationBoxTitleText","notificationBoxInfoText","registerHooks","_to","_from","next","RESET_SUBMITTED_CART","cartItems","Stepper","SubmitCard","SubmitTotals","scopedSlots","_u","fn","programName","sessionName","proxy","isApplicationRemovalAlert","on","$event","onYesContinue","onCancel","childrenSelection","childrenLabelText","tag","index","scholarId","tagText","removable","disabled","handleScholarClick","noChildrenText","openRemoveApplicationAlert","$nextTick","updateCartItemPayload","cartId","activeCartId","quantity","scholarIds","updateCartItem","fetchCartApplications","scholarFirstName","scholarLastName","interactedCartItem","find","cartItem","scholar","removeSpecificCartItem","Object","Array","SessionPriceTag","BaseCard","Tag","RemoveApplicationAlert","RemoveApplication"],"mappings":"qKAAA,yBAA4mB,EAAG,G,2CCA/mB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,gDAAgDC,MAAM,CAAE,kBAAmBP,EAAIQ,SAAUC,OAAQT,EAAIQ,WAAY,CAACJ,EAAG,MAAM,CAACE,YAAY,6BAA6BC,MAAM,CAAE,kBAAmBP,EAAIQ,WAAY,CAACJ,EAAG,OAAO,CAACJ,EAAIU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C,KAAMiH,MAAOpE,UAAU,K,+BAGS,QAAvC,eAAK,CAAE7C,KAAMC,QAASC,SAAS,K,gCACQ,QAAvC,eAAK,CAAEF,KAAMC,QAASC,SAAS,K,+BAPb,EAAU,QAR9B,eAAU,CACT4C,WAAY,CACVoE,kBAAA,WACAC,WAAA,WACAC,MAAA,WACAC,uBAAAC,EAAA,eAGiB,WCpIsa,I,wBCQvbnH,EAAY,eACd,EACAlD,EACA6B,GACA,EACA,KACA,WACA,MAIa,aAAAqB,E,2CCnBf,yBAA0mB,EAAG","file":"js/chunk-20e9be96.795253a9.js","sourcesContent":["import mod from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubmitTotals.vue?vue&type=style&index=0&id=7c8e8ba1&lang=less&scoped=true&\"; export default mod; export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubmitTotals.vue?vue&type=style&index=0&id=7c8e8ba1&lang=less&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"checkout-submit-totals uk-flex uk-flex-column\",class:{ 'uk-flex-bottom': !_vm.isMobile, mobile: _vm.isMobile }},[_c('div',{staticClass:\"line-item subtotal uk-flex\",class:{ 'uk-flex-between': _vm.isMobile }},[_c('span',[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('CHECKOUT_SUBTOTAL_TEXT'))+\": \")]),_c('span',[_vm._v(\" \"+_vm._s(_vm.formattedSubtotal)+\" \")])]),(!!_vm.customFeesTotalLineItem)?_c('div',{staticClass:\"line-item subtotal uk-flex\",class:{ 'uk-flex-between': _vm.isMobile },attrs:{\"data-testid\":\"custom-fee\"}},[_c('div',[_c('span',{attrs:{\"data-testid\":\"custom-fee-name\"}},[_vm._v(_vm._s(_vm.customFeesTotalLineItem.name))]),(_vm.customFeesTotalLineItem.description)?_c('div',{staticClass:\"uk-inline tooltip\",attrs:{\"data-testid\":\"custom-fee-tooltip\"}},[_c('i',{staticClass:\"fa-solid fa-circle-info info-icon\"}),_c('span',{staticClass:\"tooltip-text\",attrs:{\"uk-dropdown\":\"delay-hide: 100; pos: bottom-right;\",\"data-testid\":\"custom-fee-tooltip-text\"}},[_vm._v(\" \"+_vm._s(_vm.customFeesTotalLineItem.description)+\" \")])]):_vm._e(),_c('span',[_vm._v(\":\")])]),_c('span',{attrs:{\"data-testid\":\"custom-fee-total\"}},[_vm._v(\" \"+_vm._s(_vm.customFeesTotalLineItem.formattedCurrencyTotal)+\" \")])]):_vm._e(),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.showPromoCodeLine),expression:\"showPromoCodeLine\"}],staticClass:\"line-item subtotal uk-flex\",class:{ 'uk-flex-between': _vm.isMobile },attrs:{\"data-testid\":\"promo-code-line\"}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('CHECKOUT_PROMO_CODE'))+\": \")]),_c('span',[_vm._v(\" - \"+_vm._s(_vm.formattedPromoCodeTotal)+\" \")])]),_c('div',{staticClass:\"line-item subtotal uk-flex\",class:{ 'uk-flex-between': _vm.isMobile }},[_c('span',[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('CHECKOUT_TAX_TEXT'))+\": \")]),_c('span',[_vm._v(\" \"+_vm._s(_vm.formattedTax)+\" \")])]),_c('hr',{staticClass:\"uk-width-expand\"}),_c('div',{staticClass:\"line-item total uk-flex\",class:{ 'uk-flex-between': _vm.isMobile }},[_c('span',[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('CHECKOUT_TOTAL_TEXT'))+\": \")]),_c('span',[_vm._v(\" \"+_vm._s(_vm.formattedTotal)+\" \")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Mixins, Prop } from 'vue-property-decorator';\nimport DeviceWidthCheckerMixin from '@/mixins/deviceWidthChecker.mixin';\nimport { ScreenText } from '@/lang/ScreenText';\nimport APP_UTILITIES from '@/utilities/commonFunctions';\nimport cartStore from '@/store/modules/checkout/cart/module';\nimport { CustomFeesTotalLineItem, CustomFeesTotal } from '@/Model/checkout/cart/types';\n\n@Component\nexport default class SubmitTotals extends Mixins(DeviceWidthCheckerMixin) {\n @Prop({ type: Boolean, default: false }) readonly useSubmitted!: boolean;\n public readonly screenText = new ScreenText();\n\n get formattedSubtotal(): string {\n const value = this.useSubmitted && cartStore.submittedCart\n ? cartStore.submittedCart.totals.subtotal\n : cartStore.subtotal;\n return APP_UTILITIES.currencyFmt.format(value);\n }\n\n get formattedPromoCodeTotal(): string {\n const value = this.useSubmitted && cartStore.submittedCart\n ? cartStore.submittedCart.totals.promoCodeDiscount\n : (cartStore.promoCodeTotal || 0);\n return APP_UTILITIES.currencyFmt.format(value);\n }\n\n get formattedTax(): string {\n const value = this.useSubmitted && cartStore.submittedCart\n ? cartStore.submittedCart.totals.tax\n : (cartStore.tax || 0);\n return APP_UTILITIES.currencyFmt.format(value);\n }\n\n get formattedTotal(): string {\n const value = this.useSubmitted && cartStore.submittedCart\n ? cartStore.submittedCart.totals.total\n : (cartStore.total || 0);\n return APP_UTILITIES.currencyFmt.format(value);\n }\n\n get showPromoCodeLine(): boolean {\n const value = this.useSubmitted && cartStore.submittedCart\n ? cartStore.submittedCart.totals.promoCodeDiscount\n : (cartStore.promoCodeTotal || 0);\n return value > 0;\n }\n\n get customFeesTotalLineItem(): CustomFeesTotalLineItem | null {\n let feesToUse: CustomFeesTotal | null = null;\n let feeTotalLineItem: CustomFeesTotalLineItem | null = null;\n\n if (this.useSubmitted && !!cartStore.submittedCart && !!cartStore.submittedCart.totals.customFeesTotal) {\n feesToUse = cartStore.submittedCart.totals.customFeesTotal;\n }\n else if (!this.useSubmitted && !!cartStore.customFeesTotal) {\n feesToUse = cartStore.customFeesTotal;\n }\n\n // As of right now there is only one Fee for a Payment Account.\n // Defaulting to use the 1st one for the name & tooltip description since it's currently the same across all Sessions\n // and unknown how multiple Fees may be handled in the future (i.e. it may not be a line item per Fee in the totals).\n if (feesToUse && feesToUse.customFees[0]) {\n const name = feesToUse.customFees[0].name.trim();\n const description = feesToUse.customFees[0].description && feesToUse.customFees[0].description.trim();\n const formattedCurrencyTotal = APP_UTILITIES.currencyFmt.format(feesToUse.feesTotalExcludingTax);\n feeTotalLineItem = { name, description, formattedCurrencyTotal };\n }\n\n return feeTotalLineItem;\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubmitTotals.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubmitTotals.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SubmitTotals.vue?vue&type=template&id=7c8e8ba1&scoped=true&\"\nimport script from \"./SubmitTotals.vue?vue&type=script&lang=ts&\"\nexport * from \"./SubmitTotals.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./SubmitTotals.vue?vue&type=style&index=0&id=7c8e8ba1&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7c8e8ba1\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"uk-flex uk-flex-around\"},[_c('div',{staticClass:\"stepper uk-flex uk-flex-top uk-flex-between uk-width-expand\"},[_c('Step',{attrs:{\"index\":_vm.CheckoutStep.Review,\"state\":_vm.getState(_vm.CheckoutStep.Review)}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('CHECKOUT_STEP_REVIEW'))+\" \")]),_c('Step',{attrs:{\"index\":_vm.CheckoutStep.Apply,\"state\":_vm.getState(_vm.CheckoutStep.Apply)}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('CHECKOUT_STEP_APPLY'))+\" \")]),(_vm.activeStep == _vm.CheckoutStep.Apply)?_c('div',[(_vm.isLoadingCartApplicationsData || _vm.isFetchingCart || _vm.isReloadingCart)?_c('span',[_c('Spinner',{attrs:{\"spinnerRatio\":.621,\"spinnerColor\":_vm.APP_CONST.STYLE.COLOR.NEUTRAL_900}})],1):_c('span',[_vm._v(_vm._s(_vm.currentApplicationDisplay)+\"/\"+_vm._s(_vm.applicationsTotal))])]):_vm._e()]),_c('Step',{attrs:{\"index\":_vm.CheckoutStep.Submit,\"state\":_vm.getState(_vm.CheckoutStep.Submit)}},[_vm._v(\" \"+_vm._s(_vm.submitStepText)+\" \")]),_c('Step',{attrs:{\"index\":_vm.CheckoutStep.Done,\"state\":_vm.getState(_vm.CheckoutStep.Done)}},[_vm._v(\" \"+_vm._s(_vm.screenText.getScreenText('CHECKOUT_STEP_DONE'))+\" \")])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { PropType } from 'vue';\nimport { Component, Prop, Vue } from 'vue-property-decorator';\nimport Spinner from '@/commoncomponents/spinner/Spinner.vue';\nimport Step, { StepState } from '@/components/familyPortal/checkout/stepper/Step.vue';\nimport { ScreenText } from '@/lang/ScreenText';\nimport cart from '@/store/modules/checkout/cart/module';\nimport APP_CONST from '@/constants/AppConst';\nimport commonEntry from '@/store/modules/commonEntry';\n\nexport enum CheckoutStep {\n Review = 1,\n Apply = 2,\n Submit = 3,\n Done = 4,\n}\n\n@Component({\n components: {\n Spinner,\n Step,\n }\n})\nexport default class Stepper extends Vue {\n public readonly StepState = StepState;\n public readonly CheckoutStep = CheckoutStep;\n public readonly screenText = new ScreenText();\n public isReloadingCart = false;\n APP_CONST = APP_CONST;\n\n @Prop({ type: Number as PropType, required: true }) readonly activeStep!: CheckoutStep;\n\n get cartHasPrice(): boolean {\n return cart.subtotal > 0;\n }\n\n get designColor(): string {\n return commonEntry.accountDesignDetails.accentColor;\n }\n\n get isLoadingCartApplicationsData(): boolean {\n return cart.isLoadingCartApplicationsData;\n }\n\n get isFetchingCart(): boolean {\n return cart.isFetchingCart || cart.isUpdatingCart || cart.isDeleting;\n }\n\n get currentApplicationDisplay(): number {\n return cart.currentlySelectedApplicationIndex + 1;\n }\n\n get applicationsTotal(): number {\n return cart.cartApplications\n ? cart.cartApplications.cartItemApplicationData.length\n : 0;\n }\n\n get submitStepText(): string {\n return this.screenText.getScreenText('CHECKOUT_STEP_SUBMIT');\n }\n\n public onReloadCartEvent(isReloadingCart: boolean) {\n this.isReloadingCart = isReloadingCart;\n }\n\n public getState(step: CheckoutStep): StepState {\n if (step < this.activeStep) {\n return StepState.Complete;\n }\n else if (step == this.activeStep) {\n if (step == CheckoutStep.Done) {\n // \"Done\" step is special -- should be marked complete when active.\n return StepState.Complete;\n }\n else {\n return StepState.Active;\n }\n }\n else {\n return StepState.Inactive;\n }\n }\n\n private attachExternalListeners() {\n Vue.prototype.$eventHub.$on(APP_CONST.CART_IS_RELOADING_EVENT, this.onReloadCartEvent);\n }\n\n private detachExternalListeners() {\n Vue.prototype.$eventHub.$off(APP_CONST.CART_IS_RELOADING_EVENT, this.onReloadCartEvent);\n }\n\n created() {\n this.attachExternalListeners();\n }\n\n destroyed() {\n this.detachExternalListeners();\n }\n}\n\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Stepper.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Stepper.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Stepper.vue?vue&type=template&id=4f12800c&scoped=true&\"\nimport script from \"./Stepper.vue?vue&type=script&lang=ts&\"\nexport * from \"./Stepper.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Stepper.vue?vue&type=style&index=0&id=4f12800c&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4f12800c\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Stepper.vue?vue&type=style&index=0&id=4f12800c&lang=less&scoped=true&\"; export default mod; export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Stepper.vue?vue&type=style&index=0&id=4f12800c&lang=less&scoped=true&\"","import mod from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckoutDone.vue?vue&type=style&index=0&id=c5c13a10&lang=less&scoped=true&\"; export default mod; export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckoutDone.vue?vue&type=style&index=0&id=c5c13a10&lang=less&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"uk-flex uk-flex-column uk-flex-stretch\",class:{ mobile: _vm.isMobile }},[_c('Stepper',{staticClass:\"uk-margin\",attrs:{\"activeStep\":_vm.CheckoutStep.Done}}),_c('div',{staticClass:\"uk-margin-bottom uk-padding checkout-done catalog-card\"},[_c('div',{staticClass:\"checkout-done-title-subtext-container\"},[_c('div',{staticClass:\"uk-text-center checkout-done-title\",attrs:{\"data-testid\":\"checkout-done-title\"}},[_vm._v(\" \"+_vm._s(_vm.title)+\" \")]),_c('div',{staticClass:\"uk-margin-top uk-text-center checkout-done-subtext\",attrs:{\"data-testid\":\"checkout-done-subtext\"}},[_vm._v(\" \"+_vm._s(_vm.subtext)+\" \"),_c('span',{staticClass:\"checkout-done-subtext-link\",attrs:{\"data-testid\":\"checkout-done-subtext-link\"}},[_c('router-link',{style:({ color: _vm.accentColor }),attrs:{\"to\":_vm.APP_ROUTES.DASHBOARD.path}},[_vm._v(\" \"+_vm._s(_vm.subtextHomepageLink)+\" \")])],1)])]),_c('div',{staticClass:\"uk-margin-medium-top\",class:{ 'uk-flex uk-flex-column-reverse': _vm.isMobile }},[_c('div',{staticClass:\"checkout-done-cart-list uk-flex uk-flex-column uk-width-expand\",class:{ 'uk-margin-medium-bottom': !_vm.isMobile }},_vm._l((_vm.sortedCartItems),function(item){return _c('SubmitCard',{key:item.session.sessionId,attrs:{\"session\":item.session,\"childrenSelection\":item.cartItemIds.length,\"scholars\":item.scholars,\"removable\":false}})}),1),_c('SubmitTotals',{class:_vm.isMobile ? 'uk-margin-medium-bottom' : 'uk-margin-large-bottom',attrs:{\"useSubmitted\":\"\"}})],1),(!_vm.isCartTotalFree)?_c('div',{staticClass:\"notification-box\",class:{ 'uk-margin-medium-top': _vm.isMobile },attrs:{\"data-testid\":\"bankInfoNotificationBox\"}},[_c('div',[_c('i',{staticClass:\"fa-solid fa-circle-info info-circle-icon\"}),_c('span',[_vm._v(_vm._s(_vm.notificationBoxTitleText))])]),_c('span',[_vm._v(_vm._s(_vm.notificationBoxInfoText))])]):_vm._e()])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Mixins } from 'vue-property-decorator';\nimport DeviceWidthCheckerMixin from '@/mixins/deviceWidthChecker.mixin';\nimport APP_CONST from '@/constants/AppConst';\nimport { ScreenText } from '@/lang/ScreenText';\nimport Stepper, { CheckoutStep } from '@/components/familyPortal/checkout/stepper/Stepper.vue';\nimport AccountSettings from '@/mixins/accountSettings.mixin';\nimport { RawLocation, Route } from 'vue-router';\nimport cartStore from '@/store/modules/checkout/cart/module';\nimport { SubmitCartItem } from '@/Model/checkout/cart/types';\nimport { sortSubmitCartItems } from '@/services/checkout/cart/helpers';\nimport SubmitCard from '@/components/familyPortal/checkout/checkoutSubmitCard/SubmitCard.vue';\nimport SubmitTotals from '@/components/familyPortal/checkout/checkoutSubmit/SubmitTotals.vue';\n\nComponent.registerHooks(['beforeRouteLeave']);\n\n@Component({\n components: {\n Stepper,\n SubmitCard,\n SubmitTotals\n }\n})\nexport default class CheckoutDone extends Mixins(DeviceWidthCheckerMixin, AccountSettings) {\n public readonly CheckoutStep = CheckoutStep;\n public readonly screenText = new ScreenText();\n public readonly APP_ROUTES = APP_CONST.APP_ROUTES;\n\n get title(): string {\n return this.screenText.getScreenText('CHECKOUT_STEP_DONE_TITLE');\n }\n\n get subtext(): string {\n return this.screenText.getScreenText('CHECKOUT_STEP_DONE_SUBTEXT');\n }\n\n get subtextHomepageLink(): string {\n return this.screenText.getScreenText('CHECKOUT_STEP_DONE_SUBTEXT_HOMEPAGE_LINK_TEXT');\n }\n\n get notificationBoxTitleText(): string {\n return this.screenText.getScreenText('CHECKOUT_STEP_DONE_NOTIFICATION_TITLE_TEXT');\n }\n\n get notificationBoxInfoText(): string {\n return this.screenText.getScreenText('CHECKOUT_STEP_DONE_NOTIFICATION_INFO_TEXT');\n }\n\n get sortedCartItems(): Array {\n return cartStore.submittedCart\n ? sortSubmitCartItems(cartStore.submittedCart.cartItems)\n : [];\n }\n\n get isCartTotalFree() {\n const value = cartStore.submittedCart\n ? cartStore.submittedCart.totals.total\n : (cartStore.total || 0);\n return value === 0;\n }\n\n beforeRouteLeave(_to: Route, _from: Route, next: ((to?: false | void | RawLocation) => void)) {\n cartStore.RESET_SUBMITTED_CART();\n next();\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckoutDone.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckoutDone.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./CheckoutDone.vue?vue&type=template&id=c5c13a10&scoped=true&\"\nimport script from \"./CheckoutDone.vue?vue&type=script&lang=ts&\"\nexport * from \"./CheckoutDone.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./CheckoutDone.vue?vue&type=style&index=0&id=c5c13a10&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c5c13a10\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('BaseCard',{attrs:{\"session\":_vm.session},scopedSlots:_vm._u([{key:\"card-name\",fn:function(){return [_c('div',{staticClass:\"session-name\"},[_vm._v(\" \"+_vm._s(_vm.session.programName)+\" \"),_c('img',{attrs:{\"src\":require(\"@/assets/images/dot-separator.svg\")}}),_vm._v(\" \"+_vm._s(_vm.session.sessionName)+\" \")])]},proxy:true},{key:\"card-mobile-price\",fn:function(){return [_c('RemoveApplicationAlert',{attrs:{\"isVisible\":_vm.isApplicationRemovalAlert},on:{\"update:isVisible\":function($event){_vm.isApplicationRemovalAlert=$event},\"update:is-visible\":function($event){_vm.isApplicationRemovalAlert=$event},\"continue\":_vm.onYesContinue,\"closepopup\":_vm.onCancel}}),(_vm.isMobile)?_c('SessionPriceTag',{staticClass:\"session-control-price\",attrs:{\"session\":_vm.session,\"quantity\":_vm.childrenSelection,\"review\":true}}):_vm._e()]},proxy:true},{key:\"card-actions\",fn:function(){return [(!_vm.isMobile)?_c('div',{staticClass:\"session-control uk-flex uk-flex-top\"},[(_vm.scholars && _vm.scholars.length > 0)?_c('div',{staticClass:\"session-control-children uk-flex uk-flex-column\"},[_c('label',[_vm._v(\" \"+_vm._s(_vm.childrenLabelText)+\": \")]),_vm._l((_vm.scholars),function(tag,index){return _c('Tag',{key:tag.scholarId+'-'+index,attrs:{\"tagText\":_vm.tagText(tag),\"tagId\":tag.scholarId,\"removable\":_vm.removable,\"disabled\":_vm.disabled},on:{\"x-pressed\":_vm.handleScholarClick}})})],2):_vm._e(),(_vm.scholars && _vm.scholars.length === 0)?_c('div',{staticClass:\"session-control-children uk-flex uk-flex-column\"},[_c('label',[_vm._v(\" \"+_vm._s(_vm.childrenLabelText)+\": \")]),_c('Tag',{attrs:{\"tagText\":_vm.noChildrenText,\"error\":\"\"}})],1):_vm._e(),(!_vm.isMobile)?_c('SessionPriceTag',{staticClass:\"session-control-price\",attrs:{\"session\":_vm.session,\"quantity\":_vm.childrenSelection}}):_vm._e(),_c('i',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.removable),expression:\"removable\"}],staticClass:\"fa-solid fa-trash trash-icon pointer\",class:{ 'disabled': _vm.disabled },attrs:{\"data-testid\":\"removeSessionIcon\"},on:{\"click\":function($event){return _vm.openRemoveApplicationAlert()}}})],1):_vm._e(),(_vm.isMobile)?_c('div',{staticClass:\"session-control uk-flex uk-width-expand\"},[(_vm.scholars && _vm.scholars.length > 0)?_c('div',{staticClass:\"session-control-children uk-flex uk-flex-column uk-width-expand\"},[_c('label',[_vm._v(\" \"+_vm._s(_vm.childrenLabelText)+\" \")]),_vm._l((_vm.scholars),function(tag){return _c('Tag',{key:tag.scholarId,attrs:{\"data-testid\":\"scholar-tag\",\"tagText\":_vm.tagText(tag),\"tagId\":tag.scholarId,\"removable\":_vm.removable},on:{\"x-pressed\":_vm.handleScholarClick}})})],2):_vm._e(),(_vm.scholars && _vm.scholars.length === 0)?_c('div',{staticClass:\"session-control-children uk-flex uk-flex-column\"},[_c('label',[_vm._v(\" \"+_vm._s(_vm.childrenLabelText)+\": \")]),_c('Tag',{attrs:{\"tagText\":_vm.noChildrenText,\"error\":\"\"}})],1):_vm._e(),_c('i',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.removable),expression:\"removable\"}],staticClass:\"fa-solid fa-trash trash-icon pointer\",class:{ 'disabled': _vm.disabled },attrs:{\"data-testid\":\"removeSessionIcon\"},on:{\"click\":function($event){return _vm.openRemoveApplicationAlert()}}})]):_vm._e()]},proxy:true}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Mixins, Prop } from 'vue-property-decorator';\nimport { ScreenText } from '@/lang/ScreenText';\nimport { CatalogSession } from '@/Model/sessions/catalogTypes';\nimport Tag from '../../removeableTag/Tag.vue';\nimport DeviceWidthCheckerMixin from '@/mixins/deviceWidthChecker.mixin';\nimport SessionPriceTag from '@/components/familyPortal/sessionCard/SessionPriceTag.vue';\nimport BaseCard from '@/components/familyPortal/sessionCard/BaseCard.vue';\nimport { SubmitCartScholar } from '@/Model/checkout/cart/types';\nimport cart from '@/store/modules/checkout/cart/module';\nimport APP_CONST from '@/constants/AppConst';\nimport RemoveApplicationAlert from '@/popupcomponents/removeApplication/RemoveApplication.vue';\nimport { UpdateCartItemActionPayload } from '@/Model/checkout/cart/types';\n\n@Component({\n components: {\n SessionPriceTag,\n BaseCard,\n Tag,\n RemoveApplicationAlert\n }\n})\nexport default class SubmitCard extends Mixins(DeviceWidthCheckerMixin) {\n @Prop({ type: Object, required: true }) readonly session!: CatalogSession;\n @Prop({ type: Number, required: true }) childrenSelection!: number;\n @Prop({ type: Array, required: false }) scholars:\n | SubmitCartScholar[]\n | undefined;\n @Prop({ type: Boolean, default: true }) readonly removable!: boolean;\n @Prop({ type: Boolean, default: true }) readonly disabled!: boolean;\n\n readonly screenText = new ScreenText();\n public readonly APP_ROUTES = APP_CONST.APP_ROUTES;\n isApplicationRemovalAlert = false;\n\n get childrenLabelText(): string {\n return this.screenText.getScreenText('CATALOG_SESSION_CHILDREN_LABEL');\n }\n\n get noChildrenText(): string {\n return this.screenText.getScreenText('NO_CHILDREN_FOUND');\n }\n\n openRemoveApplicationAlert() {\n if (!this.removable || this.disabled) {\n return;\n }\n this.isApplicationRemovalAlert = true;\n }\n\n async onYesContinue() {\n\n this.isApplicationRemovalAlert = false;\n await this.$nextTick();\n\n const updateCartItemPayload = {\n updateCartItemPayload: {\n cartId: cart.activeCartId,\n sessionId: this.session.sessionId,\n quantity: 0,\n scholarIds: [],\n },\n session: this.session\n } as UpdateCartItemActionPayload;\n\n await cart.updateCartItem(updateCartItemPayload);\n cart.fetchCartApplications();\n }\n\n onCancel() {\n this.isApplicationRemovalAlert = false;\n }\n\n tagText(tag: SubmitCartScholar) {\n return `${tag.scholarFirstName} ${tag.scholarLastName}`;\n }\n\n async handleScholarClick(tag: string) {\n if (!this.removable) {\n return;\n }\n const interactedCartItem = cart.cartItems.find(cartItem => cartItem.scholar && cartItem.scholar.scholarFirstName + ' ' + cartItem.scholar.scholarLastName == tag\n && cartItem.session.sessionId == this.session.sessionId);\n\n if (interactedCartItem) {\n await cart.removeSpecificCartItem(interactedCartItem);\n cart.fetchCartApplications();\n }\n }\n}\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubmitCard.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubmitCard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SubmitCard.vue?vue&type=template&id=5bb4a1cc&scoped=true&\"\nimport script from \"./SubmitCard.vue?vue&type=script&lang=ts&\"\nexport * from \"./SubmitCard.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./SubmitCard.vue?vue&type=style&index=0&id=5bb4a1cc&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5bb4a1cc\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubmitCard.vue?vue&type=style&index=0&id=5bb4a1cc&lang=less&scoped=true&\"; export default mod; export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubmitCard.vue?vue&type=style&index=0&id=5bb4a1cc&lang=less&scoped=true&\""],"sourceRoot":""}