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AAS34B,OAAQwG,IACzByzB,EAAUtB,EAASnyB,GAChBhL,EAAoBC,EAAEu+B,EAAiBC,IAAYD,EAAgBC,IACrED,EAAgBC,GAAS,KAE1BD,EAAgBC,GAAW,EAE5B,OAAOz+B,EAAoBk9B,EAAE3W,EAC9B,EAEIwY,EAAqBC,KAAK,yBAA2BA,KAAK,0BAA4B,GAC1FD,EAAmB9kB,QAAQykB,EAAqBvlB,KAAK,KAAM,IAC3D4lB,EAAmB5zB,KAAOuzB,EAAqBvlB,KAAK,KAAM4lB,EAAmB5zB,KAAKgO,KAAK4lB,G,IC/CvF,IAAIE,EAAsBj/B,EAAoBk9B,OAAEl8B,EAAW,CAAC,MAAM,WAAa,OAAOhB,EAAoB,KAAO,IACjHi/B,EAAsBj/B,EAAoBk9B,EAAE+B,E","sources":["webpack://flook-vue/./extra/js/components/ sync \\.js$","webpack://flook-vue/./node_modules/moment/locale/ sync ^\\.\\/.*$","webpack://flook-vue/./extra/js/app.setup.js","webpack://flook-vue/./extra/js/components/BulkEditControls.js","webpack://flook-vue/./extra/js/components/VoucherBulkEditControls.js","webpack://flook-vue/./extra/js/components/addressCrud.js","webpack://flook-vue/./extra/js/components/addressSelection.js","webpack://flook-vue/./extra/js/components/adminListingFilter.js","webpack://flook-vue/./extra/js/components/ajaxUpload.js","webpack://flook-vue/./extra/js/components/cardSelection.js","webpack://flook-vue/./extra/js/components/elasticFilters.js","webpack://flook-vue/./extra/js/components/formValidator.js","webpack://flook-vue/./extra/js/components/genericChart.js","webpack://flook-vue/./extra/js/components/giftCardForm.js","webpack://flook-vue/./extra/js/components/loginModal.js","webpack://flook-vue/./extra/js/components/matrix.js","webpack://flook-vue/./extra/js/components/navBarControls.js","webpack://flook-vue/./extra/js/components/navItemCrud.js","webpack://flook-vue/./extra/js/components/notificationModal.js","webpack://flook-vue/./extra/js/components/parallaxRow.js","webpack://flook-vue/./extra/js/components/picks.js","webpack://flook-vue/./extra/js/components/productBulkEdit.js","webpack://flook-vue/./extra/js/components/productView.js","webpack://flook-vue/./extra/js/components/redemptionCodeBulkEdit.js","webpack://flook-vue/./extra/js/components/redemptionCodeBulkEditControls.js","webpack://flook-vue/./extra/js/components/redemptionCodes.js","webpack://flook-vue/./extra/js/components/redemptionReminder.js","webpack://flook-vue/./extra/js/components/slimUploader.js","webpack://flook-vue/./extra/js/components/toggleFilter.js","webpack://flook-vue/./extra/js/components/travelEnquiry.js","webpack://flook-vue/./extra/js/components/vendorDashboard.js","webpack://flook-vue/./extra/js/components/vodapayLinkGenerator.js","webpack://flook-vue/./extra/js/components/voucherBulkEdit.js","webpack://flook-vue/./extra/js/redactor.buttons.js","webpack://flook-vue/./extra/js/redactor.lightbox.js","webpack://flook-vue/./extra/js/redactor.newlines.js","webpack://flook-vue/./extra/js/redactor.slider.js","webpack://flook-vue/./src/plugins/Tooltip.js","webpack://flook-vue/./extra/js/app.js","webpack://flook-vue/./src/store/mutations.js","webpack://flook-vue/./src/store/actions.js","webpack://flook-vue/./src/store/getters.js","webpack://flook-vue/./src/store/_store.js","webpack://flook-vue/./src/plugins/ClickOutside.js","webpack://flook-vue/./src/components/FeaturesAndBenefits.vue","webpack://flook-vue/src/components/FeaturesAndBenefits.vue","webpack://flook-vue/./src/components/FeaturesAndBenefits.vue?5f85","webpack://flook-vue/./src/components/FeaturesAndBenefits.vue?6300","webpack://flook-vue/./src/components/search/Search.vue","webpack://flook-vue/src/components/search/Base.vue","webpack://flook-vue/./src/components/search/Base.vue","webpack://flook-vue/./src/components/cart/Base.vue","webpack://flook-vue/./src/components/search/Base.vue?a19f","webpack://flook-vue/src/components/search/Search.vue","webpack://flook-vue/./src/components/search/Search.vue?5b58","webpack://flook-vue/./src/components/search/Search.vue?a89d","webpack://flook-vue/./src/components/search/MobileSearch.vue","webpack://flook-vue/src/components/search/MobileSearch.vue","webpack://flook-vue/./src/components/search/MobileSearch.vue?a75f","webpack://flook-vue/./src/components/search/MobileSearch.vue?3586","webpack://flook-vue/./src/components/AddToCart.vue","webpack://flook-vue/src/components/cart/Base.vue","webpack://flook-vue/./src/components/cart/Base.vue?a557","webpack://flook-vue/./src/components/checkout/Payflex.vue","webpack://flook-vue/src/components/checkout/Payflex.vue","webpack://flook-vue/./src/components/checkout/Payflex.vue?b538","webpack://flook-vue/./src/components/checkout/Payflex.vue?0b98","webpack://flook-vue/./src/components/VodapayUrl.vue","webpack://flook-vue/src/components/VodapayUrl.vue","webpack://flook-vue/./src/mixins/CartHelper.vue","webpack://flook-vue/./src/components/VodapayUrl.vue?b1ca","webpack://flook-vue/./src/components/VodapayUrl.vue?e551","webpack://flook-vue/src/mixins/CartHelper.vue","webpack://flook-vue/./src/mixins/CartHelper.vue?fb43","webpack://flook-vue/src/components/AddToCart.vue","webpack://flook-vue/./src/components/AddToCart.vue?4d46","webpack://flook-vue/./src/components/AddToCart.vue?4082","webpack://flook-vue/./src/components/AddToWishlist.vue","webpack://flook-vue/src/components/AddToWishlist.vue","webpack://flook-vue/./src/components/AddToWishlist.vue?b007","webpack://flook-vue/./src/components/AddToWishlist.vue?ac7f","webpack://flook-vue/./src/components/WishlistCounter.vue","webpack://flook-vue/src/components/WishlistCounter.vue","webpack://flook-vue/./src/components/WishlistCounter.vue?4885","webpack://flook-vue/./src/components/WishlistCounter.vue?e456","webpack://flook-vue/./src/components/GiftCardAmount.vue","webpack://flook-vue/src/components/GiftCardAmount.vue","webpack://flook-vue/./src/components/GiftCardAmount.vue?b51b","webpack://flook-vue/./src/components/GiftCardAmount.vue?70c5","webpack://flook-vue/./src/components/cart/Mini.vue","webpack://flook-vue/src/components/cart/Mini.vue","webpack://flook-vue/./src/components/cart/Mini.vue?3c27","webpack://flook-vue/./src/components/cart/Mini.vue?415e","webpack://flook-vue/./src/components/cart/Full.vue","webpack://flook-vue/src/components/cart/Full.vue","webpack://flook-vue/./src/components/cart/Full.vue?a0ac","webpack://flook-vue/./src/components/cart/Full.vue?acdf","webpack://flook-vue/./src/components/cart/Summary.vue","webpack://flook-vue/src/components/cart/Summary.vue","webpack://flook-vue/./src/components/cart/Summary.vue?5fb3","webpack://flook-vue/./src/components/cart/Summary.vue?0b26","webpack://flook-vue/./src/components/checkout/Shipping.vue","webpack://flook-vue/src/components/checkout/Shipping.vue","webpack://flook-vue/./src/components/checkout/Shipping.vue?fa88","webpack://flook-vue/./src/components/checkout/Shipping.vue?94ed","webpack://flook-vue/./src/components/checkout/Voucher.vue","webpack://flook-vue/src/components/checkout/Voucher.vue","webpack://flook-vue/./src/components/checkout/Voucher.vue?9328","webpack://flook-vue/./src/components/checkout/Voucher.vue?d5c8","webpack://flook-vue/./src/components/checkout/RedemptionCode.vue","webpack://flook-vue/src/components/checkout/RedemptionCode.vue","webpack://flook-vue/./src/components/checkout/RedemptionCode.vue?29b0","webpack://flook-vue/./src/components/checkout/RedemptionCode.vue?56c0","webpack://flook-vue/./src/components/checkout/RedemptionCodeSearch.vue","webpack://flook-vue/src/components/checkout/RedemptionCodeSearch.vue","webpack://flook-vue/./src/components/checkout/RedemptionCodeSearch.vue?8a45","webpack://flook-vue/./src/components/checkout/RedemptionCodeSearch.vue?8349","webpack://flook-vue/./src/components/checkout/GiftCard.vue","webpack://flook-vue/src/components/checkout/GiftCard.vue","webpack://flook-vue/./src/components/checkout/Payment.vue","webpack://flook-vue/./src/components/StoreInit.vue","webpack://flook-vue/./src/components/countdown/Base.vue","webpack://flook-vue/./src/components/Payment.vue","webpack://flook-vue/./src/components/checkout/GiftCard.vue?0808","webpack://flook-vue/./src/components/checkout/GiftCard.vue?86d9","webpack://flook-vue/./src/components/BasePayment.vue","webpack://flook-vue/src/components/BasePayment.vue","webpack://flook-vue/./src/components/BasePayment.vue?b39b","webpack://flook-vue/./src/components/BasePayment.vue?473e","webpack://flook-vue/./src/components/CardSelection.vue","webpack://flook-vue/src/components/CardSelection.vue","webpack://flook-vue/./src/components/CardSelection.vue?5c3c","webpack://flook-vue/./src/components/CardSelection.vue?71a9","webpack://flook-vue/src/components/checkout/Payment.vue","webpack://flook-vue/./src/components/checkout/Payment.vue?ac09","webpack://flook-vue/./src/components/checkout/Review.vue","webpack://flook-vue/./src/components/DeliverySummaryModal.vue","webpack://flook-vue/src/components/DeliverySummaryModal.vue","webpack://flook-vue/./src/components/DeliverySummaryModal.vue?e5eb","webpack://flook-vue/./src/components/DeliverySummaryModal.vue?23b8","webpack://flook-vue/src/components/checkout/Review.vue","webpack://flook-vue/./src/components/checkout/Review.vue?e5da","webpack://flook-vue/./src/components/checkout/Review.vue?936e","webpack://flook-vue/./src/components/checkout/Summary.vue","webpack://flook-vue/src/components/checkout/Summary.vue","webpack://flook-vue/./src/components/checkout/Summary.vue?4267","webpack://flook-vue/./src/components/checkout/Summary.vue?ff8e","webpack://flook-vue/./src/components/checkout/PlaceOrder.vue","webpack://flook-vue/src/components/checkout/PlaceOrder.vue","webpack://flook-vue/./src/components/checkout/PlaceOrder.vue?7b57","webpack://flook-vue/./src/components/checkout/PlaceOrder.vue?cae9","webpack://flook-vue/./src/components/checkout/Contact.vue","webpack://flook-vue/src/components/checkout/Contact.vue","webpack://flook-vue/./src/components/checkout/Contact.vue?f065","webpack://flook-vue/./src/components/checkout/Contact.vue?61c5","webpack://flook-vue/src/components/StoreInit.vue","webpack://flook-vue/./src/components/StoreInit.vue?8b4d","webpack://flook-vue/./src/components/PicksCrud.vue","webpack://flook-vue/src/components/PicksCrud.vue","webpack://flook-vue/./src/components/PicksCrud.vue?25bf","webpack://flook-vue/./src/components/PicksCrud.vue?5c16","webpack://flook-vue/./src/components/countdown/Full.vue","webpack://flook-vue/src/components/countdown/Base.vue","webpack://flook-vue/./src/components/countdown/Base.vue?f619","webpack://flook-vue/src/components/countdown/Full.vue","webpack://flook-vue/./src/components/countdown/Full.vue?69db","webpack://flook-vue/./src/components/countdown/Full.vue?3fda","webpack://flook-vue/./src/components/countdown/Label.vue","webpack://flook-vue/src/components/countdown/Label.vue","webpack://flook-vue/./src/components/countdown/Label.vue?21df","webpack://flook-vue/./src/components/countdown/Label.vue?6726","webpack://flook-vue/./src/components/QuickAddToCart.vue","webpack://flook-vue/src/components/QuickAddToCart.vue","webpack://flook-vue/./src/components/QuickAddToCart.vue?3e18","webpack://flook-vue/./src/components/QuickAddToCart.vue?01dd","webpack://flook-vue/./src/components/AddToCartColours.vue","webpack://flook-vue/src/components/AddToCartColours.vue","webpack://flook-vue/./src/components/AddToCartColours.vue?21bf","webpack://flook-vue/./src/components/AddToCartColours.vue?63da","webpack://flook-vue/src/components/Payment.vue","webpack://flook-vue/./src/components/Payment.vue?fe41","webpack://flook-vue/./src/components/Countdown.vue","webpack://flook-vue/src/components/Countdown.vue","webpack://flook-vue/./src/components/Countdown.vue?54ab","webpack://flook-vue/./src/components/Countdown.vue?3523","webpack://flook-vue/./src/components/AddOnCardStrip.vue","webpack://flook-vue/src/components/AddOnCardStrip.vue","webpack://flook-vue/./src/components/AddOnCardStrip.vue?ebfa","webpack://flook-vue/./src/components/AddOnCardStrip.vue?3847","webpack://flook-vue/./src/components/VodabucksHowTo.vue","webpack://flook-vue/src/components/VodabucksHowTo.vue","webpack://flook-vue/./src/components/VodabucksHowTo.vue?c115","webpack://flook-vue/./src/components/VodabucksHowTo.vue?27f0","webpack://flook-vue/./src/components/redemptionCode/AddToCart.vue","webpack://flook-vue/src/components/redemptionCode/AddToCart.vue","webpack://flook-vue/./src/components/redemptionCode/AddToCart.vue?d834","webpack://flook-vue/./src/components/redemptionCode/AddToCart.vue?7608","webpack://flook-vue/./src/components/redemptionCode/Summary.vue","webpack://flook-vue/src/components/redemptionCode/Summary.vue","webpack://flook-vue/./src/components/redemptionCode/Summary.vue?e562","webpack://flook-vue/./src/components/redemptionCode/Summary.vue?0708","webpack://flook-vue/./src/components/redemptionCode/Mini.vue","webpack://flook-vue/src/components/redemptionCode/Mini.vue","webpack://flook-vue/./src/components/redemptionCode/Mini.vue?ab22","webpack://flook-vue/./src/components/redemptionCode/Mini.vue?a527","webpack://flook-vue/./src/components/dashboard/SkuReport.vue","webpack://flook-vue/src/components/dashboard/SkuReport.vue","webpack://flook-vue/./src/components/dashboard/SkuReport.vue?a708","webpack://flook-vue/./src/components/dashboard/SkuReport.vue?9ce8","webpack://flook-vue/./src/components/dashboard/ActiveProducts.vue","webpack://flook-vue/./src/components/ResultLoader.vue","webpack://flook-vue/src/components/ResultLoader.vue","webpack://flook-vue/./src/components/ResultLoader.vue?8658","webpack://flook-vue/./src/components/ResultLoader.vue?a2ba","webpack://flook-vue/src/components/dashboard/ActiveProducts.vue","webpack://flook-vue/./src/components/dashboard/ActiveProducts.vue?1679","webpack://flook-vue/./src/components/dashboard/ActiveProducts.vue?9540","webpack://flook-vue/./src/components/dashboard/TopProducts.vue","webpack://flook-vue/src/components/dashboard/TopProducts.vue","webpack://flook-vue/./src/components/dashboard/TopProducts.vue?e467","webpack://flook-vue/./src/components/dashboard/TopProducts.vue?e916","webpack://flook-vue/./src/components/dashboard/TopCustomers.vue","webpack://flook-vue/src/components/dashboard/TopCustomers.vue","webpack://flook-vue/./src/components/dashboard/TopCustomers.vue?4c0d","webpack://flook-vue/./src/components/dashboard/TopCustomers.vue?0c32","webpack://flook-vue/./src/components/dashboard/ProductsSellingBelowCost.vue","webpack://flook-vue/src/components/dashboard/ProductsSellingBelowCost.vue","webpack://flook-vue/./src/components/dashboard/ProductsSellingBelowCost.vue?bf60","webpack://flook-vue/./src/components/dashboard/ProductsSellingBelowCost.vue?3191","webpack://flook-vue/./src/components/RedeemedForm.vue","webpack://flook-vue/src/components/RedeemedForm.vue","webpack://flook-vue/./src/components/RedeemedForm.vue?46d8","webpack://flook-vue/./src/components/RedeemedForm.vue?9b75","webpack://flook-vue/./src/main.js","webpack://flook-vue/webpack/bootstrap","webpack://flook-vue/webpack/runtime/chunk loaded","webpack://flook-vue/webpack/runtime/compat get default export","webpack://flook-vue/webpack/runtime/define property getters","webpack://flook-vue/webpack/runtime/global","webpack://flook-vue/webpack/runtime/hasOwnProperty shorthand","webpack://flook-vue/webpack/runtime/make namespace object","webpack://flook-vue/webpack/runtime/node module decorator","webpack://flook-vue/webpack/runtime/jsonp chunk loading","webpack://flook-vue/webpack/startup"],"sourcesContent":["var map = {\n\t\"./BulkEditControls.js\": 3733,\n\t\"./VoucherBulkEditControls.js\": 3587,\n\t\"./addressCrud.js\": 8820,\n\t\"./addressSelection.js\": 9685,\n\t\"./adminListingFilter.js\": 8524,\n\t\"./ajaxUpload.js\": 3544,\n\t\"./cardSelection.js\": 7605,\n\t\"./elasticFilters.js\": 8760,\n\t\"./formValidator.js\": 6518,\n\t\"./genericChart.js\": 4197,\n\t\"./giftCardForm.js\": 8886,\n\t\"./loginModal.js\": 4559,\n\t\"./matrix.js\": 2870,\n\t\"./navBarControls.js\": 869,\n\t\"./navItemCrud.js\": 3410,\n\t\"./notificationModal.js\": 7836,\n\t\"./parallaxRow.js\": 2841,\n\t\"./picks.js\": 7018,\n\t\"./productBulkEdit.js\": 6519,\n\t\"./productView.js\": 6255,\n\t\"./redemptionCodeBulkEdit.js\": 1813,\n\t\"./redemptionCodeBulkEditControls.js\": 4383,\n\t\"./redemptionCodes.js\": 1967,\n\t\"./redemptionReminder.js\": 2772,\n\t\"./slimUploader.js\": 8231,\n\t\"./toggleFilter.js\": 5113,\n\t\"./travelEnquiry.js\": 9232,\n\t\"./vendorDashboard.js\": 9265,\n\t\"./vodapayLinkGenerator.js\": 8178,\n\t\"./voucherBulkEdit.js\": 6451\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 2880;","var map = {\n\t\"./af\": 2786,\n\t\"./af.js\": 2786,\n\t\"./ar\": 867,\n\t\"./ar-dz\": 4130,\n\t\"./ar-dz.js\": 4130,\n\t\"./ar-kw\": 6135,\n\t\"./ar-kw.js\": 6135,\n\t\"./ar-ly\": 6440,\n\t\"./ar-ly.js\": 6440,\n\t\"./ar-ma\": 7702,\n\t\"./ar-ma.js\": 7702,\n\t\"./ar-sa\": 6040,\n\t\"./ar-sa.js\": 6040,\n\t\"./ar-tn\": 7100,\n\t\"./ar-tn.js\": 7100,\n\t\"./ar.js\": 867,\n\t\"./az\": 1083,\n\t\"./az.js\": 1083,\n\t\"./be\": 9808,\n\t\"./be.js\": 9808,\n\t\"./bg\": 8338,\n\t\"./bg.js\": 8338,\n\t\"./bm\": 7438,\n\t\"./bm.js\": 7438,\n\t\"./bn\": 8905,\n\t\"./bn-bd\": 6225,\n\t\"./bn-bd.js\": 6225,\n\t\"./bn.js\": 8905,\n\t\"./bo\": 1560,\n\t\"./bo.js\": 1560,\n\t\"./br\": 1278,\n\t\"./br.js\": 1278,\n\t\"./bs\": 622,\n\t\"./bs.js\": 622,\n\t\"./ca\": 2468,\n\t\"./ca.js\": 2468,\n\t\"./cs\": 5822,\n\t\"./cs.js\": 5822,\n\t\"./cv\": 877,\n\t\"./cv.js\": 877,\n\t\"./cy\": 7373,\n\t\"./cy.js\": 7373,\n\t\"./da\": 4780,\n\t\"./da.js\": 4780,\n\t\"./de\": 9740,\n\t\"./de-at\": 217,\n\t\"./de-at.js\": 217,\n\t\"./de-ch\": 894,\n\t\"./de-ch.js\": 894,\n\t\"./de.js\": 9740,\n\t\"./dv\": 5300,\n\t\"./dv.js\": 5300,\n\t\"./el\": 837,\n\t\"./el.js\": 837,\n\t\"./en-au\": 8348,\n\t\"./en-au.js\": 8348,\n\t\"./en-ca\": 7925,\n\t\"./en-ca.js\": 7925,\n\t\"./en-gb\": 2243,\n\t\"./en-gb.js\": 2243,\n\t\"./en-ie\": 6436,\n\t\"./en-ie.js\": 6436,\n\t\"./en-il\": 7207,\n\t\"./en-il.js\": 7207,\n\t\"./en-in\": 4175,\n\t\"./en-in.js\": 4175,\n\t\"./en-nz\": 6319,\n\t\"./en-nz.js\": 6319,\n\t\"./en-sg\": 1662,\n\t\"./en-sg.js\": 1662,\n\t\"./eo\": 2915,\n\t\"./eo.js\": 2915,\n\t\"./es\": 5655,\n\t\"./es-do\": 5251,\n\t\"./es-do.js\": 5251,\n\t\"./es-mx\": 6112,\n\t\"./es-mx.js\": 6112,\n\t\"./es-us\": 1146,\n\t\"./es-us.js\": 1146,\n\t\"./es.js\": 5655,\n\t\"./et\": 5603,\n\t\"./et.js\": 5603,\n\t\"./eu\": 7763,\n\t\"./eu.js\": 7763,\n\t\"./fa\": 6959,\n\t\"./fa.js\": 6959,\n\t\"./fi\": 1897,\n\t\"./fi.js\": 1897,\n\t\"./fil\": 2549,\n\t\"./fil.js\": 2549,\n\t\"./fo\": 4694,\n\t\"./fo.js\": 4694,\n\t\"./fr\": 4470,\n\t\"./fr-ca\": 3049,\n\t\"./fr-ca.js\": 3049,\n\t\"./fr-ch\": 2330,\n\t\"./fr-ch.js\": 2330,\n\t\"./fr.js\": 4470,\n\t\"./fy\": 5044,\n\t\"./fy.js\": 5044,\n\t\"./ga\": 9295,\n\t\"./ga.js\": 9295,\n\t\"./gd\": 2101,\n\t\"./gd.js\": 2101,\n\t\"./gl\": 8794,\n\t\"./gl.js\": 8794,\n\t\"./gom-deva\": 7884,\n\t\"./gom-deva.js\": 7884,\n\t\"./gom-latn\": 3168,\n\t\"./gom-latn.js\": 3168,\n\t\"./gu\": 5349,\n\t\"./gu.js\": 5349,\n\t\"./he\": 4206,\n\t\"./he.js\": 4206,\n\t\"./hi\": 94,\n\t\"./hi.js\": 94,\n\t\"./hr\": 316,\n\t\"./hr.js\": 316,\n\t\"./hu\": 2138,\n\t\"./hu.js\": 2138,\n\t\"./hy-am\": 1423,\n\t\"./hy-am.js\": 1423,\n\t\"./id\": 9218,\n\t\"./id.js\": 9218,\n\t\"./is\": 135,\n\t\"./is.js\": 135,\n\t\"./it\": 626,\n\t\"./it-ch\": 150,\n\t\"./it-ch.js\": 150,\n\t\"./it.js\": 626,\n\t\"./ja\": 9183,\n\t\"./ja.js\": 9183,\n\t\"./jv\": 4286,\n\t\"./jv.js\": 4286,\n\t\"./ka\": 2105,\n\t\"./ka.js\": 2105,\n\t\"./kk\": 7772,\n\t\"./kk.js\": 7772,\n\t\"./km\": 8758,\n\t\"./km.js\": 8758,\n\t\"./kn\": 9282,\n\t\"./kn.js\": 9282,\n\t\"./ko\": 3730,\n\t\"./ko.js\": 3730,\n\t\"./ku\": 1408,\n\t\"./ku.js\": 1408,\n\t\"./ky\": 3291,\n\t\"./ky.js\": 3291,\n\t\"./lb\": 6841,\n\t\"./lb.js\": 6841,\n\t\"./lo\": 5466,\n\t\"./lo.js\": 5466,\n\t\"./lt\": 7010,\n\t\"./lt.js\": 7010,\n\t\"./lv\": 7595,\n\t\"./lv.js\": 7595,\n\t\"./me\": 9861,\n\t\"./me.js\": 9861,\n\t\"./mi\": 5493,\n\t\"./mi.js\": 5493,\n\t\"./mk\": 5966,\n\t\"./mk.js\": 5966,\n\t\"./ml\": 7341,\n\t\"./ml.js\": 7341,\n\t\"./mn\": 5115,\n\t\"./mn.js\": 5115,\n\t\"./mr\": 370,\n\t\"./mr.js\": 370,\n\t\"./ms\": 9847,\n\t\"./ms-my\": 1237,\n\t\"./ms-my.js\": 1237,\n\t\"./ms.js\": 9847,\n\t\"./mt\": 2126,\n\t\"./mt.js\": 2126,\n\t\"./my\": 6165,\n\t\"./my.js\": 6165,\n\t\"./nb\": 4924,\n\t\"./nb.js\": 4924,\n\t\"./ne\": 6744,\n\t\"./ne.js\": 6744,\n\t\"./nl\": 3901,\n\t\"./nl-be\": 9814,\n\t\"./nl-be.js\": 9814,\n\t\"./nl.js\": 3901,\n\t\"./nn\": 3877,\n\t\"./nn.js\": 3877,\n\t\"./oc-lnc\": 2135,\n\t\"./oc-lnc.js\": 2135,\n\t\"./pa-in\": 5858,\n\t\"./pa-in.js\": 5858,\n\t\"./pl\": 4495,\n\t\"./pl.js\": 4495,\n\t\"./pt\": 9520,\n\t\"./pt-br\": 7971,\n\t\"./pt-br.js\": 7971,\n\t\"./pt.js\": 9520,\n\t\"./ro\": 6459,\n\t\"./ro.js\": 6459,\n\t\"./ru\": 238,\n\t\"./ru.js\": 238,\n\t\"./sd\": 950,\n\t\"./sd.js\": 950,\n\t\"./se\": 7930,\n\t\"./se.js\": 7930,\n\t\"./si\": 124,\n\t\"./si.js\": 124,\n\t\"./sk\": 4249,\n\t\"./sk.js\": 4249,\n\t\"./sl\": 4985,\n\t\"./sl.js\": 4985,\n\t\"./sq\": 1104,\n\t\"./sq.js\": 1104,\n\t\"./sr\": 9131,\n\t\"./sr-cyrl\": 9915,\n\t\"./sr-cyrl.js\": 9915,\n\t\"./sr.js\": 9131,\n\t\"./ss\": 5893,\n\t\"./ss.js\": 5893,\n\t\"./sv\": 6415,\n\t\"./sv.js\": 6415,\n\t\"./sw\": 1172,\n\t\"./sw.js\": 1172,\n\t\"./ta\": 7333,\n\t\"./ta.js\": 7333,\n\t\"./te\": 3110,\n\t\"./te.js\": 3110,\n\t\"./tet\": 2095,\n\t\"./tet.js\": 2095,\n\t\"./tg\": 7321,\n\t\"./tg.js\": 7321,\n\t\"./th\": 9041,\n\t\"./th.js\": 9041,\n\t\"./tk\": 9005,\n\t\"./tk.js\": 9005,\n\t\"./tl-ph\": 5768,\n\t\"./tl-ph.js\": 5768,\n\t\"./tlh\": 9444,\n\t\"./tlh.js\": 9444,\n\t\"./tr\": 2397,\n\t\"./tr.js\": 2397,\n\t\"./tzl\": 8254,\n\t\"./tzl.js\": 8254,\n\t\"./tzm\": 1106,\n\t\"./tzm-latn\": 699,\n\t\"./tzm-latn.js\": 699,\n\t\"./tzm.js\": 1106,\n\t\"./ug-cn\": 9288,\n\t\"./ug-cn.js\": 9288,\n\t\"./uk\": 7691,\n\t\"./uk.js\": 7691,\n\t\"./ur\": 3795,\n\t\"./ur.js\": 3795,\n\t\"./uz\": 6791,\n\t\"./uz-latn\": 588,\n\t\"./uz-latn.js\": 588,\n\t\"./uz.js\": 6791,\n\t\"./vi\": 5666,\n\t\"./vi.js\": 5666,\n\t\"./x-pseudo\": 4378,\n\t\"./x-pseudo.js\": 4378,\n\t\"./yo\": 5805,\n\t\"./yo.js\": 5805,\n\t\"./zh-cn\": 3839,\n\t\"./zh-cn.js\": 3839,\n\t\"./zh-hk\": 5726,\n\t\"./zh-hk.js\": 5726,\n\t\"./zh-mo\": 9807,\n\t\"./zh-mo.js\": 9807,\n\t\"./zh-tw\": 4152,\n\t\"./zh-tw.js\": 4152\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 6700;","//global object\nlet app = {};\n\n//extend $ with setClass and getClass functions\napp.attachToJquery = function ($) {\n    $.fn.setClass = function () {\n        this.each(function () {\n            if ($(this).data('ComponentClass') === undefined && $(this).data('component') !== undefined) {\n                let className = $(this).data('component');\n\n                let ComponentClass = app[className];\n                if (!ComponentClass) {\n                    console.log('app.' + className + ' is not a class!');\n                    $(this).data('ComponentClass', false);\n                } else {\n                    $(this).data('ComponentClass', new ComponentClass($(this)));\n                }\n            }\n        });\n        return this;\n    };\n\n    $.fn.getClass = function () {\n        return this.data('ComponentClass');\n    };\n\n    $.fn.findComponent = function (selector) {\n        let componentNames = selector.split(' ');\n        let parent = this && this !== window ? this : document;\n        return $(parent).find('[data-component=\"' + componentNames.join('\"] [data-component=\"') + '\"]').setClass();\n    }\n\n    $.fn.initialize = function () {\n\n        //instantiate classes for each component that's on the page at the time of page load\n        $(this).find('[data-component]').not('.prevent-init').setClass().trigger('load');\n        if ($(this).data('component')) {\n            $(this).setClass().trigger('load');\n        }\n    }\n\n    return $;\n};\n\n//Parent component class which ALL components should extend\napp.Component = class {\n    constructor($this) {\n        this.$el = $this;\n        this.el = $this.get(0);\n\n        if (typeof this.onLoad === 'function') {\n            $this.on('load', () => this.onLoad());\n        }\n\n        if (typeof this.onReady === 'function') {\n            $(() => this.onReady());\n        }\n    }\n};\n\nexport default app;","import app from '../app.setup';\n\napp.productBulkEditControls = class extends app.Component {\n\tonReady() {\n\t\t$('body').delegate('.headerCheckbox', 'click', function () {\n\t\t\tif($(this).prop(\"checked\") == true){\n                $('.productCheckbox').prop('checked', true);\n            }\n\n            else if($(this).prop('checked') == false){\n                $('.productCheckbox').prop('checked', false);\n            }\n\t\t});\t\n\t}\n}\n","import app from '../app.setup';\n\napp.voucherBulkEditControls = class extends app.Component {\n\tonReady() {\n\t\t$('body').delegate('.headerCheckbox', 'click', function () {\n\t\t\tif($(this).prop(\"checked\") == true){\n                $('.voucherCheckbox').prop('checked', true);\n            }\n\n            else if($(this).prop('checked') == false){\n                $('.voucherCheckbox').prop('checked', false);\n            }\n\t\t});\t\n\t}\n}\n","import app from '../app.setup';\n\napp.addressCrud = class extends app.Component {\n\tonReady () {\n\t\tlet $suburbInput = this.$el.find('#suburb');\n\t\tlet $contactNumber = $('#contact-number');\n\n\t\t$suburbInput.on('select2:select', e => {\n\t\t\tlet metaData = e.params.data.meta;\n\n\t\t\tthis.$el.find('#city').val(metaData.city);\n\t\t\tthis.$el.find('#postal-code').val(metaData.postal_code);\n\t\t\tthis.$el.find('#province').val(metaData.province);\n\t\t})\n\n\t\tlet $billingSuburbInput = this.$el.find('#billing-suburb');\n\n\t\t$billingSuburbInput.on('select2:select', e => {\n\t\t\tlet metaData = e.params.data.meta;\n\n\t\t\tthis.$el.find('#billing-city').val(metaData.city);\n\t\t\tthis.$el.find('#billing-postal-code').val(metaData.postal_code);\n\t\t\tthis.$el.find('#billing-province').val(metaData.province);\n\t\t})\n\n\t\t$contactNumber.on('keypress', function(e) {\n\t\t\tvar charCode = (e.which) ? e.which : e.keyCode;\n\t\t\tif ( ((charCode > 31 && charCode < 48) || charCode > 57) || (e.keyCode >= 96 && e.keyCode <= 105)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t});\n\n\t\tlet $streetAddress1 = this.$el.find('#street-address-1');\n\t\tlet $poBoxError = this.$el.find('.po-box-error');\n\t\t$streetAddress1.on('change', e => {\n\t\t\tlet s = $streetAddress1.val().trim().toLowerCase().replace(/\\s/g, '');\n\t\t\tif (s.indexOf('pobox') >= 0 || s.indexOf('p.o.box') >= 0) {\n\t\t\t\t$streetAddress1.addClass('is-contain-po-box');\n\t\t\t\t$poBoxError.show();\n\t\t\t} else {\n\t\t\t\t$streetAddress1.removeClass('is-contain-po-box');\n\t\t\t\t$poBoxError.hide();\n\t\t\t}\n\t\t});\n\n\t\tlet $form = this.$el;\n\n\t\t$form.on('submit', e => {\n\t\t\te.preventDefault();\n\n\t\t\tvar hasDeliveryType = true;\n\t\t\tif ($('#deliveryHeading').length) {\n\t\t\t\thasDeliveryType = false;\n\t\t\t\tif ($('#deliveryHeading').hasClass('selected-delivery')) {\n\t\t\t\t\thasDeliveryType = true;\n\t\t\t\t\tconsole.log('Delivery');\n\t\t\t\t} else if ($('#click-and-collect-heading').hasClass('selected-delivery')) {\n\t\t\t\t\tif ($('input[name=\"pargo_point_code\"]').val().trim().length > 0) {\n\t\t\t\t\t\tconsole.log('Pargo: ', $('input[name=\"pargo_point_code\"]').val());\n\t\t\t\t\t\thasDeliveryType = true;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconsole.log('Pargo: none');\n\t\t\t\t\t\t$('html, body').animate({\n\t\t\t\t\t\t\tscrollTop: $('#click-and-collect-heading').offset().top\n\t\t\t\t\t\t}, 2000);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t$('html, body').animate({\n\t\t\t\t\t\tscrollTop: $('.delivery-type-option').offset().top\n\t\t\t\t\t}, 2000);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t$streetAddress1.change();\n\t\t\tif ($form[0].checkValidity() && hasDeliveryType && !$streetAddress1.hasClass('is-contain-po-box')) {\n\t\t\t\t$form.off('submit').trigger('submit');\n\t\t\t} else {\n\t\t\t\t$form[0].reportValidity();\n\t\t\t}\n\t\t});\n\t}\n}\n","import app from '../app.setup';\n\napp.addressSelection = class extends app.Component {\n\tonReady () {\n        let $addressInput = $('input[name=\"address_id\"]');\n        let $form = $('.checkout-form');\n        let $error = $('.error-message');\n\t\tlet $cbSameDelivery = $('#is-billing-same-as-delivery');\n\t\tlet $billingStreetAddress1 = $(\"#billing-street-address-1\");\n        let $billingSuburb = $(\"#billing-suburb\");\n\n        $addressInput.on('change', function() {\n            let addressId = $(this).val();\n            $error.hide();\n            document.dispatchEvent(new CustomEvent('order:addressIdChange', { detail: { address_id: addressId } }))\n        })\n\n        $form.on('submit', function(e) {\n\n            if (!$addressInput.val()) {\n                e.preventDefault();\n                $('#checkoutModal').modal('show');\n                $('.address-missing-error').removeClass('d-none');\n                $('html, body').animate({\n                    scrollTop: $addressInput.first().offset().top\n                }, 2000);\n            }\n        })\n\n\t\tlet setBillingAddress = input => {\n            if ($cbSameDelivery.is(\":checked\")) {\n                $billingStreetAddress1.prop('required', false);\n                $billingSuburb.prop('required', false);\n            } else {\n                $billingStreetAddress1.prop('required', true);\n                $billingSuburb.prop('required', true);\n            }\n        };\n        $cbSameDelivery.on('change', e => setBillingAddress());\n        setBillingAddress();\n\n        let landingAddressId = $('input[name=\"address_id\"]:checked').val() || false;\n        if (landingAddressId) {\n            document.dispatchEvent(new CustomEvent('order:addressIdChange', { detail: { address_id: landingAddressId, force_shipping: true } }));\n        }\n\n        $('#deliveryHeading').on('click', function() {\n            $('.pargo-address').html('');\n            $('#pargo-point-code').val('');\n        });\n\n        $('.delivery-option').on('click', function() {\n            var selectedDelivery = $(this);\n            $( \".delivery-option\" ).each(function( index ) {\n                $(this).find('.method-check').children('i').addClass('hidden');\n            });\n\n            $('.delivery-option').removeClass('selected-delivery');\n            $(selectedDelivery).addClass('selected-delivery');\n\n            $(selectedDelivery).find('.method-check').children('i').removeClass('hidden');\n        });\n\n        window.addEventListener(\"message\", selectPargoPoint, false);\n\n        function selectPargoPoint(item){\n            if (typeof item.data[\"pargoPointCode\"] !== 'undefined') {\n                var address = item.data['address1'] + '<br/>'\n                    + item.data['suburb'] + '<br/>'\n                    + item.data['city'] + '<br/>'\n                    + item.data['province'];\n\n                $('.pargo-address').html(address);\n                $('#click-and-collect').removeClass('pargo-section');\n                $('#pargo-point-code').val(item.data['storeName']+'-'+item.data['pargoPointCode']);\n\n                $('#pargoModal').modal('hide');\n            }\n        }\n\t}\n}\n","import app from '../app.setup';\n\napp.adminListingFilter = class extends app.Component {\n\tonReady() {\n\t\tlet typingTimer = '';\n\t\tlet ajaxFilter = $('.ajaxFilter');\n\n\t\tajaxFilter.on('keyup', function () {\n\t\t\tclearTimeout(typingTimer);\n\t\t\ttypingTimer = setTimeout($(this).filterAdminResults, '150');\n\t\t});\n\t\tajaxFilter.on('keydown', function () {\n\t\t\tclearTimeout(typingTimer);\n\t\t});\n\n\t\t$('.ajaxSelectFilter').on('change', function () {\n\t\t\t$(this).filterAdminResults();\n\t\t});\n\n\t\t$(\"<span class='sort-arrow fa fa-caret-up'></span>\").insertAfter(\"a.asc\");\n\t\t$(\"<span class='sort-arrow fa fa-caret-down'></span>\").insertAfter(\"a.desc\");\n\n\t\t$.fn.filterAdminResults = function (filter) {\n\n\t\t\tvar data = {\n\t\t\t\tsearch: ajaxFilter.val() || ''\n\t\t\t};\n\n\t\t\t$('.ajaxSelectFilter').each(function () {\n\t\t\t\tdata[$(this).attr('name')] = $(this).val();\n\t\t\t});\n\n\n\t\t\t$.ajax({\n\t\t\t\turl: '',\n\t\t\t\tdata: data,\n\t\t\t\tsuccess: function (response) {\n\n\t\t\t\t\tif ($(response).find('.listing').length > 0) {\n\t\t\t\t\t\t$('.listing').replaceWith($(response).find('.listing'));\n\t\t\t\t\t\t$('.paginate-wrapper').replaceWith($(response).find('.paginate-wrapper'));\n\t\t\t\t\t} else {\n\t\t\t\t\t\tvar h = $(response);\n\t\t\t\t\t\th.each(function(){\n\t\t\t\t\t\t\tif ($(this).hasClass('listing')) {\n\t\t\t\t\t\t\t\t$('.listing').replaceWith($(this));\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t\th.each(function(){\n\t\t\t\t\t\t\tif ($(this).hasClass('paginate-wrapper')) {\n\t\t\t\t\t\t\t\t$('.paginate-wrapper').replaceWith($(this));\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\n\t\t\t\t\t// update the url in addressbar\n\t\t\t\t\tif (history.pushState) {\n\t\t\t\t\t\tvar newurl = window.location.protocol + \"//\" + window.location.host + window.location.pathname + '?' + $.param(data);\n\t\t\t\t\t\twindow.history.pushState({path:newurl},'',newurl);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n}\n","import app from '../app.setup';\nimport Cookies from 'js-cookie';\n\napp.ajaxUpload = class extends app.Component {\n\tonReady () {\n\t\tthis.url = this.$el.data('url') || '/api/assets/upload.json';\n\t\tthis.$el.find('input[type=\"file\"]').on('change', e => this.uploadFile(e.target));\n\t\tthis.$submit = this.$el.parents('form').find('.submit');\n\t\tthis.$feedback = this.$el.find('.feedback');\n\t}\n\n\tuploadFile(input) {\n\t\tif (!input.files) {\n\t\t\treturn false;\n\t\t}\n\n\t\tthis.$submit.prop('disabled', true);\n\t\tthis.$feedback.text('Uploading...');\n\n\t\tlet formData = new FormData;\n\t\tformData.append('file', input.files[0]);\n\n\t\t$.ajax({\n\t\t\tprocessData: false,\n\t\t\tcontentType: false,\n\t\t\turl: this.url,\n\t\t\tdata: formData,\n\t\t\ttype: 'post',\n\t\t\ttimeout: 45000,\n\t\t\tsuccess: successData => {\n\t\t\t\tthis.$el.find('input[type=\"hidden\"]').val('/' + successData.path)\n\t\t\t},\n\t\t\tbeforeSend: (xhr) => {\n\t\t\t\tlet token = Cookies.get('csrfToken');\n\t\t\t\tif (token) {\n\t\t\t\t\txhr.setRequestHeader('X-CSRF-Token', token);\n\t\t\t\t}\n\t\t\t},\n\t\t\tcomplete: (xhr, message) => {\n\t\t\t\tthis.$submit.prop('disabled', false);\n\t\t\t\tthis.$feedback.text(message != 'success' ? message : '');\n\t\t\t}\n\t\t});\n\t}\n}","import app from '../app.setup';\n\napp.cardSelection = class extends app.Component {\n\tonReady () {\n        let $form = $('.checkout-form');\n\t\tlet $selectedCard = $('#selectedCardSet');\n\t\tlet $transactionMethod = $('#transactionMethod');\n\t\tlet $addNewCard = $('input[name=\"card_id\"]');\n\n        $form.on('submit', function(e) {\n\n\t\t\tvar $hasPaymentErrors = ($('#paymentErrors').length > 0);\n\t\t\tvar $newCardError = (($transactionMethod.val() == 'credit_card') && ($addNewCard.length != 1));\n\t\t\tvar $hasNoSelectedCard = (!$selectedCard.val() && ($transactionMethod.val() == 'credit_card'));\n\t\n            if ($hasPaymentErrors || ($newCardError && $hasNoSelectedCard)) {\n\t\t\t\te.preventDefault();\n\t\t\t\t$('html, body').animate({\n\t\t\t\t\tscrollTop: $transactionMethod.offset().top\n\t\t\t\t}, 2000);\n\n\t\t\t\t$('#checkoutModal').modal('show');\n\t\t\t\tif (!$('.address-missing-error').hasClass('d-none')) {\n\t\t\t\t\t$('.address-missing-error').addClass('d-none');\n\t\t\t\t}\n\t\t\t\t$('.credit-card-missing-error').removeClass('d-none');\n            } else {\n\t\t\t\tvar $formFields = $form.find('input');\n\t\t\t\t$formFields.each(function() {\n\t\t\t\t\tvar isRequired = $(this).prop('required');\n\t\t\t\t\tvar $isHidden = ($(this).css('display') === 'none') || ($(this).attr('type') === 'hidden') || ($(this).attr('readonly') === 'readonly');\n\t\t\t\t\tvar $radioInput = $(this).attr('type') === 'radio';\n\t\t\t\t\tvar $validCheckBox = $(this).attr('type') === 'checkbox' && $(this).prop('checked');\n\t\t\t\t\tvar $filledField = (!($(this).attr('type') === 'checkbox') &&  $(this).val())\n\n\t\t\t\t\tif (isRequired && !$isHidden && !$radioInput) {\n\t\t\t\t\t\tif (!$validCheckBox && !$filledField) {\n\n\t\t\t\t\t\t\tconsole.log($(this).val());\n\n\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t$('html, body').animate({\n\t\t\t\t\t\t\t\tscrollTop: $(this).offset().top -100\n\t\t\t\t\t\t\t}, 2000);\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n        });\n\t}\n}","import app from '../app.setup';\n\napp.elasticFilters = class extends app.Component {\n\tonReady () {\n\t\tthis.$el.on('change', 'input, select', e => {\n\t\t\tlet $td = $(e.target).parents('td');\n\t\t\tif ($td.length > 0) {\n\t\t\t\t$(e.target).is(':checked') ? $td.addClass('checked') : $td.removeClass('checked');\n\t\t\t}\n\n\t\t\tlet $parentFilterGroup = $(e.target).parents('.filter-group');\n\n\t\t\tlet url = this.$el.data('canonicalUrl');\n\t\t\tlet formData = this.$el.serializeArray();\n\t\t\tlet $comingSoonMessage = $('.no-results');\n\n\t\t\t$comingSoonMessage.hide();\n\n\t\t\t$.ajax({\n\t\t\t\turl,\n\t\t\t\tdata: [ ...formData, {name: 'ignoreFilters', value: 0} ],\n\t\t\t\tsuccess: response => {\n\t\t\t\t\tlet $response = $(response);\n\n\t\t\t\t\t$('.product-listing').replaceWith($response.find('.product-listing'));\n\t\t\t\t\t$('.product-listing-sort').replaceWith($response.find('.product-listing-sort'));\n\t\t\t\t\t$('.product-listing-count').replaceWith($response.find('.product-listing-count'));\n\t\t\t\t\t$('.product-listing-pagination').replaceWith($response.find('.product-listing-pagination'));\n\n\t\t\t\t\tthis.updateFilterCounts($parentFilterGroup, $response);\n\n\t\t\t\t\t$('.product-listing').find('[data-component]').setClass().trigger('load');\n\n\t\t\t\t\tif (history.pushState) {\n\t\t\t\t\t\tvar newurl = window.location.protocol + \"//\" + window.location.host + window.location.pathname + '?' + $.param(formData);\n\t\t\t\t\t\twindow.history.pushState({ path:newurl }, '', newurl);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t})\n\t\t});\n\t}\n\n\tupdateFilterCounts($parentFilterGroup, $responseHtml) {\n\t\tlet foundIds = [];\n\n\t\t$responseHtml.find('.form-control').not('[type=\"hidden\"]').each((i, el) => {\n\t\t\tlet id = $(el).prop('id');\n\t\t\tif (!id) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tid = '#' +id;\n\t\t\tlet $count = $(el).siblings('.count');\n\t\t\tfoundIds.push(id);\n\n\t\t\tthis.$el.find(id)\n\t\t\t\t.prop('disabled', false)\n\t\t\t\t.siblings('.count')\n\t\t\t\t.replaceWith($count);\n\t\t});\n\n\t\t$parentFilterGroup.siblings('.filter-group')\n\t\t\t.find('.form-control')\n\t\t\t.not(foundIds.join(', '))\n\t\t\t.each((i, el) => {\n\t\t\t\tlet $el = $(el);\n\t\t\t\t$el.prop('disabled', !$el.is(':checked'))\n\t\t\t\t\t.siblings('.count').text('(0)');\n\t\t\t});\n\t}\n}\n","import app from '../app.setup';\n\napp.formValidator = class extends app.Component {\n\n\tonReady() {\n\t\tlet $contactNumber = $('#contact-number');\n\t\t$contactNumber.on('keypress', function(e) {\n\t\t\tvar charCode = (e.which) ? e.which : e.keyCode;\n\t\t\tif ( ((charCode > 31 && charCode < 48) || charCode > 57) || (e.keyCode >= 96 && e.keyCode <= 105)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t});\n\t}\n}\n","import app from '../app.setup';\n\napp.genericChart = class extends app.Component {\n\tonReady () {\n\t\tthis.performanceChart = Highcharts.chart(this.el, this.$el.data('graphOptions'));\n\t}\n}\n","import app from '../app.setup';\nimport Cookies from 'js-cookie';\n\napp.giftCardForm = class extends app.Component {\n\n\tonReady() {\n\t\tlet $giftCardForm = $('#gift-card-form');\n\t\tlet $giftCardFormInput = $(\"#gift-card-form input, textarea, select\");\n\t\tlet $submitBtn = $('#submit-gift-card');\n\t\tlet $preventSubmit = $('.prevent-submit');\n\t\tlet token = Cookies.get('csrfToken');\n\t\tvar form = document.getElementById('gift-card-form');\n\n\t\tif (form.checkValidity()) {\n\t\t\t$submitBtn.prop('disabled', false);\n\t\t\tif ($('input[name=\"useGiftCartSession\"]').val()) {\n\t\t\t\t$giftCardForm.submit();\n\t\t\t}\n\t\t}\n\n\t\t$preventSubmit.on('click', function(e) {\n\t\t\te.preventDefault();\n\t\t\tif (form.checkValidity()) {\n\t\t\t\t$submitBtn.prop('disabled', false);\n\t\t\t\t$('input[name=\"isAjax\"]').val(true);\n\t\t\t\t\n\t\t\t\t$.ajax({\n\t\t\t\t\tdataType: \"json\",\n\t\t\t\t\tdata: $giftCardForm.serialize(),\n\t\t\t\t\ttype: 'post',\n\t\t\t\t\tbeforeSend: (xhr) => {\n\t\t\t\t\t\tif (token) {\n\t\t\t\t\t\t\txhr.setRequestHeader('X-CSRF-Token', token);\n\t\t\t\t\t\t}\n\t\t\t\t\t},\n\t\t\t\t\tcomplete: function(json) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t},\n\t\t\t\t\terror: function(json) {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t});\n\t\t\n\t\t$giftCardFormInput.on('keyup change click', function (){\n\n\t\t\tif (form.checkValidity()) {\n\t\t\t\t$submitBtn.prop('disabled', false);\n\t\t\t\t$('input[name=\"isAjax\"]').val(true);\n\n\t\t\t} else {\n\t\t\t\t$submitBtn.prop('disabled', true);\n\t\t\t}\n\t\t});\n\t}\n}\n","import app from '../app.setup';\n\napp.loginModal = class extends app.Component {\n\tonReady () {\n\t\tdocument.addEventListener('auth:requiresLogin', e => {\n\t\t\tthis.$el.modal('show')\n\t\t});\n\t}\n}\n","import  app  from '../app.setup';\n\napp.matrix = class extends app.Component {\n\tonReady() {\n\t\tthis.$template = this.$el\n\t\t\t.find('[data-template]')\n\t\t\t.removeAttr('data-template')\n\t\t\t.removeClass('is-template')\n\t\t\t.remove();\n\n\t\tthis.handleAdd();\n\t\tthis.handleDelete();\n\t}\n\n\thandleAdd() {\n\t\tthis.$el.find('[data-add-item]').on('click', () => {\n\t\t\tlet $lastEl = this.$el.find('.input-wrapper').not('[data-template]').last();\n\t\t\tlet largestKey = $lastEl.data('key') || 0;\n\t\t\tlet nextKey = largestKey + 1;\n\n\t\t\tlet $template = this.$template.clone()\n\t\t\t\t.data('key', nextKey);\n\n\t\t\t$template\n\t\t\t\t.appendTo(this.$el.find('[data-container]'))\n\t\t\t\t.html((index, html) => {\n\t\t\t\t\treturn html.split('{key}').join(nextKey).split('-key-').join(`-${nextKey}-`);\n\t\t\t\t})\n\t\t\t\t.find('[disabled]')\n\t\t\t\t.removeAttr('disabled');\n\n\t\t\t$template.find('.select2[data-no-auto]').removeAttr('data-no-auto').each((i, element) => {\n\t\t\t\tapp.initSelect2(element);\n\t\t\t});\n\n\t\t\t$template.find('.prevent-init')\n\t\t\t\t.removeClass('prevent-init')\n\t\t\t\t.setClass()\n\t\t\t\t.trigger('load');\n\n\t\t\tthis.$el.find('[data-container]').removeClass('empty');\n\n\t\t\t$('[data-field-type=\"date\"], [data-field-type=\"datetime\"]').each((index, element) => {\n\t\t\t\tapp.initFlatpicker(element)\n\t\t\t});\n\t\t})\n\t}\n\n\thandleDelete() {\n\t\tthis.$el.on('click', '[data-remove-item]', (event) => {\n\t\t\tlet dataContainer = $(event.target).parents('[data-container]');\n\t\t\t$(event.target).parents('.input-wrapper').remove();\n\n\t\t\tif (dataContainer.find('.input-wrapper').length == 1) {\n\t\t\t\tdataContainer.addClass('empty')\n\t\t\t}\n\t\t});\n\t}\n}","import app from '../app.setup';\n\napp.navBarControls = class extends app.Component {\n\tonReady() {\n\t\tlet $navLink = $('.mobile-nav-link');\n\t\tlet $toggleBtn = $('.side-nav-toggle');\n\t\tlet $sideNavContent = $('.side-nav-content');\n\t\tlet $mobileCatNav = $('.mobile-categories-nav');\n\t\tlet $childNav = $('.child-nav');\n\t\tlet $backLink = $('.nav-content-back-link');\n\n\t\t$toggleBtn.on('click', function(e) {\n\t\t\tif (!$sideNavContent.is(':visible')) {\n\t\t\t\t$sideNavContent.slideDown();\n\t\t\t\t$mobileCatNav.removeClass('show');\n\t\t\t\t$childNav.removeClass('show');\n\t\t\t}\n        });\n\n\t\t$navLink.on('click', function(e) {\n\t\t\tif ($sideNavContent.is(':visible')) {\n\t\t\t\t$sideNavContent.slideUp();\n\t\t\t}\n\t\t});\n\n\t\t$backLink.on('click', function(e) {\n\t\t\t$mobileCatNav.removeClass('show');\n\t\t\t$sideNavContent.slideDown();\n\t\t});\n\t}\n}\n","import app from '../app.setup';\n\napp.navItemCrud = class extends app.Component {\n\tonReady() {\n\t\t$('#url').on('change', function () {\n\t\t\tlet category_id = $(this).find(':selected').attr('data-category-id');\n\t\t\t$('#category-id').val(category_id);\n\t\t});\n\t}\n}","import app from '../app.setup';\n\napp.notificationModal = class extends app.Component {\n\tonReady () {\n\t\t\n\t\t$('#notification-modal').modal('show');\n\t\t\n\t}\n}\n","import app from '../app.setup';\n\napp.parallaxRow = class extends app.Component {\n    onReady() {\n        this.baseHeight = 100;\n        this.containerHeight = this.$el.height();\n        if (this.containerHeight <= 0) {\n            this.$el.remove();\n        }\n\n        $(window).on('scroll', () => this.setHeights());\n        this.setHeights();\n    }\n\n    setHeights() {\n        let scrollTop = $(window).scrollTop();\n        let elementTop = this.$el.offset().top - scrollTop;\n        let exposed = window.innerHeight - elementTop;\n\n        /**\n         * Is container visible?\n         */\n        let padding = this.baseHeight;\n        if (exposed > 0) {\n            padding = exposed / this.containerHeight * this.baseHeight;\n\n            if (padding < 0)\n                padding = 0;\n            if (padding > 100) {\n                padding = 100;\n            }\n        }\n\n        this.$el.find('.left').css({'padding-top': (this.baseHeight - padding) + 'px'});\n        this.$el.find('.right').css({'padding-top': padding + 'px'});\n    }\n}\n","import  app  from '../app.setup';\n\napp.picks = class extends app.Component {\n\tonReady() {\n\t\tthis.$el.find('.nav-link').on('click', e => {\n\t\t\tthis.$el.find('.heading').text($(e.target).text());\n\t\t});\n\t}\n}","import app from '../app.setup';\n\napp.productBulkEditFilter = class extends app.Component {\n\tonReady() {\n\t\tlet typingTimer = '';\n\t\tlet $ajaxProductFilter = $('.ajaxProductFilter');\n\t\tlet $brand = $('#brand');\n\t\tlet $title = $('#title');\n\t\tlet $status = $('#status');\n\t\tlet $merchant = $('#merchant');\n\t\tlet $isVodapayExclusive = $('#isVodapayExclusive');\n\t\tlet $isVodacomExclusive = $('#isVodacomExclusive');\n\n\t\t$ajaxProductFilter.on('keyup', function () {\n\t\t\tclearTimeout(typingTimer);\n\t\t\ttypingTimer = setTimeout($(this).filterAdminProductResults, '150');\n\t\t});\n\t\t$ajaxProductFilter.on('keydown', function () {\n\t\t\tclearTimeout(typingTimer);\n\t\t});\n\n\t\t$status.on('change', function () {\n\t\t\t$(this).filterAdminProductResults();\n\t\t});\n\n\t\t$merchant.on('change', function () {\n\t\t\t$(this).filterAdminProductResults();\n\t\t});\n\n\t\t$isVodapayExclusive.on('change', function () {\n\t\t\t$(this).filterAdminProductResults();\n\t\t});\n\n\t\t$isVodacomExclusive.on('change', function () {\n\t\t\t$(this).filterAdminProductResults();\n\t\t});\n\n\t\t$.fn.filterAdminProductResults = function (filter) {\n\t\t\tvar data = {\n\t\t\t\tbrand: $brand.val() || '',\n\t\t\t\ttitle: $title.val() || '',\n\t\t\t\tstatus: $status.val(),\n\t\t\t\tmerchant: $merchant.val(),\n\t\t\t\tis_vodapay_exclusive: $isVodapayExclusive.val(),\n\t\t\t\tis_vodacom_exclusive: $isVodacomExclusive.val(),\n\t\t\t};\n\n\t\t\t$('.ajaxProductFilter').each(function () {\n\t\t\t\tdata[$(this).attr('name')] = $(this).val();\n\t\t\t});\n\n\t\t\t$.ajax({\n\t\t\t\turl: '',\n\t\t\t\tdata: data,\n\t\t\t\tsuccess: function (response) {\n\t\t\t\t\t$('.listing').replaceWith($(response).find('.listing'));\n\t\t\t\t\t$('.paginate-wrapper').replaceWith($(response).find('.paginate-wrapper'));\n\t\t\t\t\tif (history.pushState) {\n\t\t\t\t\t\tvar newurl = window.location.protocol + \"//\" + window.location.host + window.location.pathname + '?' + $.param(data);\n\t\t\t\t\t\twindow.history.pushState({path:newurl},'',newurl);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n}\n","import app from '../app.setup';\n\napp.productView = class extends app.Component {\n\tonReady() {\n\t\tdocument.addEventListener('product:colourChange', e => { if (e.detail) this.onSizeOrColourChanged(`product-colour-thumb-${e.detail}`) });\n\t\tdocument.addEventListener('product:sizeChange', e => { if (e.detail) this.onSizeOrColourChanged(`product-size-thumb-${e.detail}`) });\n\n\t\twindow.addEventListener('resize', () => this.resetSlick());\n\t\tthis.resetSlick();\n\n\t\t$('.carousel').carousel({\n\t\t\tinterval: 5000\n\t\t});\n\n\t\t// handles the carousel thumbnails\n\t\t$('[id^=carousel-selector-]').click( function(){\n\t\t\tvar id_selector = $(this).attr(\"id\");\n\t\t\tvar id = id_selector.substr(id_selector.length -1);\n\t\t\tid = parseInt(id);\n\t\t\t$('.carousel').carousel(id);\n\t\t\t$('[id^=carousel-selector-]').removeClass('selected');\n\t\t\t$(this).addClass('selected');\n\t\t\t$('#product-slide-nav').slick('slickGoTo', parseInt($(this).data('slick-index')))\n\t\t});\n\n\t\t// when the carousel slides, auto update\n\t\t$('.carousel').on('slid', function (e) {\n\t\t\tvar id = $('.carousel-item.active').data('slide-number');\n\t\t\tid = parseInt(id);\n\t\t\t$('[id^=carousel-selector-]').removeClass('selected');\n\t\t\t$('[id^=carousel-selector-'+id+']').addClass('selected');\n\t\t});\n\n\t\t$('#accordion').on('shown.bs.collapse', function (e) {\n\t\t\t$('html,body').animate({\n\t\t\t\tscrollTop: $(e.target.previousElementSibling).offset().top\n\t\t\t}, 'slow');\n\t\t});\n\t}\n\n\tresetSlick() {\n\t\tlet $slider = this.$el.find('.product-image-slider');\n\n\t\tif (document.documentElement.clientWidth < 800 && !$slider.hasClass('slick-initialized')) {\n\t\t\t$slider.slick();\n\t\t}\n\t}\n\n\tonSizeOrColourChanged(domId) {\n\t\tif (!domId) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet $slick = this.$el.find('.product-image-slider.slick-initialized');\n\n\t\tif ($slick.length > 0) {\n\t\t\tlet slideNum = null;\n\t\t\t$slick.find('.slick-slide').each((i, item) => {\n\t\t\t\tif ($(item).find('.product-image').data('slideId') == domId) {\n\t\t\t\t\tslideNum = $(item).data('slickIndex');\n\t\t\t\t}\n\t\t\t});\n\n\t\t\tif (slideNum !== null) {\n\t\t\t\t$slick.slick('slickGoTo', slideNum);\n\t\t\t}\n\t\t} else {\n\t\t\tlet $el = this.$el.find(`[data-slide-id=\"${domId}\"]`);\n\t\t\tif ($el.length > 0) $el.get(0).scrollIntoView({ behavior: 'smooth' });\n\t\t}\n\t}\n}\n","import app from '../app.setup';\n\napp.redemptionCodeBulkEditFilter = class extends app.Component {\n\tonReady() {\n\t\tlet typingTimer = '';\n\t\tlet $ajaxRedemptionFilter = $('.ajaxRedemptionCodeFilter');\n\t\tlet $code = $('#code');\n\t\tlet $description = $('#description');\n\t\tlet $date_start = $('#date_start');\n\t\tlet $date_end = $('#date_end');\n\t\tlet $short_url_empty = $('#short_url_empty');\n\n\t\t$ajaxRedemptionFilter.on('keyup', function () {\n\t\t\tclearTimeout(typingTimer);\n\t\t\ttypingTimer = setTimeout($(this).filterAdminRedemptionCodeResults, '150');\n\t\t});\n\t\t$date_start.on('change', function () {\n\t\t\tclearTimeout(typingTimer);\n\t\t\ttypingTimer = setTimeout($(this).filterAdminRedemptionCodeResults, '150');\n\t\t});\n\t\t$date_end.on('change', function () {\n\t\t\tclearTimeout(typingTimer);\n\t\t\ttypingTimer = setTimeout($(this).filterAdminRedemptionCodeResults, '150');\n\t\t});\n\t\t$ajaxRedemptionFilter.on('keydown', function () {\n\t\t\tclearTimeout(typingTimer);\n\t\t});\n\t\t$short_url_empty.on('change', function () {\n\t\t\tclearTimeout(typingTimer);\n\t\t\ttypingTimer = setTimeout($(this).filterAdminRedemptionCodeResults, '150');\n\t\t});\n\n\t\t$.fn.filterAdminRedemptionCodeResults = function (filter) {\n\t\t\tvar data = {\n\t\t\t\tcode: $code.val() || '',\n\t\t\t\tdescription: $description.val() || '',\n\t\t\t\tdate_start: $date_start.val() || '',\n\t\t\t\tdate_end: $date_end.val() || '',\n\t\t\t\tshort_url_empty: $short_url_empty.is(':checked') ? 1 : 0,\n\t\t\t};\n\n\t\t\t$.ajax({\n\t\t\t\turl: '',\n\t\t\t\tdata: data,\n\t\t\t\tsuccess: function (response) {\n\t\t\t\t\t$('.listing').replaceWith($(response).find('.listing'));\n\t\t\t\t\t$('.paginate-wrapper').replaceWith($(response).find('.paginate-wrapper'));\n\t\t\t\t\tif (history.pushState) {\n\t\t\t\t\t\tvar newurl = window.location.protocol + \"//\" + window.location.host + window.location.pathname + '?' + $.param(data);\n\t\t\t\t\t\twindow.history.pushState({path:newurl},'',newurl);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n}\n","import app from '../app.setup';\n\napp.redemptionCodeBulkEditControls = class extends app.Component {\n\tonReady() {\n\t\t$('body').delegate('.headerCheckbox', 'click', function () {\n\t\t\tif($(this).prop(\"checked\") == true){\n                $('.redemptionCodeCheckbox').prop('checked', true);\n            }\n\n            else if($(this).prop('checked') == false){\n                $('.redemptionCodeCheckbox').prop('checked', false);\n            }\n\t\t});\t\n\t}\n}\n","import app from '../app.setup';\n\napp.redemptionCodes = class extends app.Component {\n\t// onReady () {\n\t// \tlet $redemptionCodeInput = $('input[name=\"redemption_code\"]');\n\t// \tconsole.log('TEST-CODE');\n\t// \tif ($redemptionCodeInput.val().length) {\n\t// \t\t$('body, html').animate({\n\t// \t\t\tscrollTop: $('.product-listing').offset().top - 20\n\t// \t\t}, 800);\n\t// \t}\n\t// }\n}\n","import app from '../app.setup';\n\napp.redemptionReminder = class extends app.Component {\n\tonReady () {\n\t\tdocument.addEventListener('redemptionReminder:display', e => {\n\t\t\t$('.redemption-code-header-p').removeClass('d-none');\n\t\t});\n\t\tdocument.addEventListener('redemptionReminder:hide', e => {\n\t\t\t$('.redemption-code-header-p').addClass('d-none');\n\t\t});\n\t}\n}\n","import app from '../app.setup';\nimport Cookies from 'js-cookie';\n\napp.slimUploader = class extends app.Component {\n\tonReady() {\n\t\tthis.initSlim(this.$el.find('.slim-wrapper').get(0));\n\t}\n\n\tinitSlim(element) {\n\t\tlet options = {\n\t\t\twillRequest: xhr => {\n\t\t\t\tlet token = Cookies.get('csrfToken');\n\t\t\t\tif (token) {\n\t\t\t\t\txhr.setRequestHeader('X-CSRF-Token', token);\n\t\t\t\t}\n\t\t\t},\n\t\t\tdidUpload: (error, data, response) => {\n\t\t\t\tif (response && response.path) {\n\t\t\t\t\tthis.$el.find('[data-upload-field]').val(response.path);\n\t\t\t\t}\n\t\t\t},\n\t\t\tdidSave: (error, data, response) => {\n\t\t\t\tif (!$(element).data('service')) {\n\t\t\t\t\tlet allAboutTheBase64 = data.dataBase64.output.image;\n\t\t\t\t\tallAboutTheBase64 = allAboutTheBase64.split(',')[1];\n\t\t\t\t\tthis.$el.find('[data-upload-field]').val(allAboutTheBase64);\n\t\t\t\t}\n\t\t\t\tconsole.log(data,response);\n\t\t\t},\n\t\t\tdidReceiveServerError: (error, defaultError) => {\n\t\t\t\tconsole.log('Error uploading image');\n\t\t\t},\n\t\t\tdidRemove: data => {\n\t\t\t\tthis.$el.find('[data-upload-field]').val('');\n\t\t\t}\n\t\t};\n\t\tthis.cropper = new Slim(element, {...options, ...element.dataset});\n\t}\n}\n","import app from '../app.setup';\n\napp.toggleFilter = class extends app.Component {\n\n\tonReady() {\n\t\tlet $toggleBtn = $('#toggle-filter-btn');\n\t\tlet $listingContainer = $('.product-listing-container');\n\t\tlet $toggleText = $('#toggle-filter-btn span');\n\n\n\t\t$toggleBtn.on('click', function(e) {\n\n\t\t\tif ($listingContainer.hasClass(\"hide-filters\")){\n\t\t\t\t$toggleText.html('HIDE FILTERS');\n\t\t\t\t$toggleBtn.removeClass('active-btn');\n\t\t\t\t\n\t\t\t} else {\n\t\t\t\t$toggleText.html('SHOW FILTERS');\n\t\t\t\t$toggleBtn.addClass('active-btn');\n\t\t\t}\n\t\t});\n\n\t}\n}\n","import app from '../app.setup';\n\napp.travelEnquiry = class extends app.Component {\n\tonReady() {\n\t\t$('select[name=\"enquiry_type\"]').on('change', function() {\n\t\t\tif ($(this)[0].selectedIndex == 1) {\n\t\t\t\t$('.quote-international').addClass('hidden');\n\t\t\t} else {\n\t\t\t\t$('.quote-international').removeClass('hidden');\n\t\t\t}\n\t\t});\n\n\t\t$('input[name=\"special_requests_budget\"]').on('change', function() {\n\t\t\tif (parseInt($(this).val()) > 0) {\n\t\t\t\t$('textarea[name=\"special_requests_content\"]').removeClass('hidden');\n\t\t\t} else {\n\t\t\t\t$('textarea[name=\"special_requests_content\"]').addClass('hidden');\n\t\t\t}\n\t\t});\n\n\t\tif (parseInt($('input[name=\"special_requests_budget\"]:checked').val()) > 0) {\n\t\t\t$('textarea[name=\"special_requests_content\"]').removeClass('hidden');\n\t\t}\n\t}\n}\n","import app from '../app.setup';\n\napp.vendorDashboard = class extends app.Component {\n\tonReady() {\n\t\t$('input[type=\"text\"]').on('change', function () {\n\t\t\tconsole.log($('#start-date').val());\n\t\t\tvar startDate = new Date($('#start-date').val());\n\t\t\tvar endDate = new Date($('#end-date').val());\n\t\t\tvar diffTime = Math.abs(endDate - startDate);\n\t\t\tvar diffTime = Math.ceil(diffTime / (1000 * 60 * 60 * 24));\n\n\t\t\t$('.row-value').first().text(diffTime + ' days')\n\t\t})\n\t}\n}\n","import app from '../app.setup';\n\napp.vodapayLinkGenerator = class extends app.Component {\n\tonReady () {\n\t\tthis.type = this.$el.data('type');\n\t\tthis.appId = this.$el.data('appId');\n\t\tthis.adjustKey = this.$el.data('adjustKey');\n\t\tthis.$outputContainer = this.$el.find('.links-output');\n\n\t\tthis.$el.find('select').on('change', () => this.$outputContainer.addClass('d-none').find('.link-output').text('').attr('href', ''));\n\n\t\tthis.$el.find('form').on('submit', event => {\n\t\t\tevent.preventDefault();\n\t\t\tthis.generate(event.target)\n\t\t});\n\t}\n\n\tgenerate(form) {\n\t\tconst formInputs = Object.fromEntries(new FormData(form));\n\n\t\tswitch (this.type) {\n\t\t\tcase 'product':\n\t\t\t\tthis.generateUrls(`/product/${formInputs.product_slug}`);\n\t\t\t\tbreak;\n\t\t\tcase 'categories':\n\t\t\t\tthis.generateUrls(`/category/${formInputs.category_route}`);\n\t\t\t\tbreak;\n\t\t\tcase 'collection':\n\t\t\t\tthis.generateUrls(`/collections/view/${formInputs.collection_slug}`);\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\talert('Invalid URL type');\n\t\t}\n\t}\n\n\tgenerateUrls(startUrl) {\n\t\tconst deepLinkUrl = new URL('vodapaywallet://deeplink.htm');\n\t\tdeepLinkUrl.searchParams.set('action', 'miniapp');\n\t\tdeepLinkUrl.searchParams.set('miniappId', this.appId);\n\t\tdeepLinkUrl.searchParams.set('query', `startUrl=${startUrl}`);\n\n\t\tconst url = new URL('https://app.adjust.com/' + this.adjustKey);\n\t\turl.searchParams.set('deep_link', deepLinkUrl);\n\n\t\tthis.$outputContainer.removeClass('d-none');\n\n\t\tthis.$outputContainer.find('.deals').text(deepLinkUrl).attr('href', deepLinkUrl);\n\t\tthis.$outputContainer.find('.full').text(url).attr('href', url);\n\n\t\t$.ajax({\n\t\t\turl: 'https://api-ssl.bitly.com/v4/shorten',\n\t\t\theaders: {\n\t\t\t\t'authorization': 'Bearer 60dbd945e24541af142635d5041ff67b3c41e1bf',\n\t\t\t},\n\t\t\tcontentType: \"application/json\",\n\t\t\tdataType: 'json',\n\t\t\ttype: 'POST',\n\t\t\tdata: JSON.stringify({\n\t\t\t\t'domain': 'bit.ly',\n\t\t\t\t'long_url': url.toString()\n\t\t\t}),\n\t\t\tsuccess: successData => this.$outputContainer.find('.shortened').text(successData.link).attr('href', successData.link),\n\t\t\terror: () => alert('Could not generate short URL')\n\t\t})\n\n\t}\n}\n","import app from '../app.setup';\n\napp.voucherBulkEditFilter = class extends app.Component {\n\tonReady() {\n\t\tlet typingTimer = '';\n\t\tlet $ajaxVoucherFilter = $('.ajaxVoucherFilter');\n\t\tlet $code = $('#code');\n\t\tlet $description = $('#description');\n\n\t\t$ajaxVoucherFilter.on('keyup', function () {\n\t\t\tclearTimeout(typingTimer);\n\t\t\ttypingTimer = setTimeout($(this).filterAdminVoucherResults, '150');\n\t\t});\n\t\t$ajaxVoucherFilter.on('keydown', function () {\n\t\t\tclearTimeout(typingTimer);\n\t\t});\n\n\t\t$.fn.filterAdminVoucherResults = function (filter) {\n\t\t\tvar data = {\n\t\t\t\tcode: $code.val() || '',\n\t\t\t\tdescription: $description.val() || '',\n\t\t\t};\n\n\t\t\t$('.ajaxVoucherFilter').each(function () {\n\t\t\t\tdata[$(this).attr('name')] = $(this).val();\n\t\t\t});\n\n\t\t\t$.ajax({\n\t\t\t\turl: '',\n\t\t\t\tdata: data,\n\t\t\t\tsuccess: function (response) {\n\t\t\t\t\t$('.listing').replaceWith($(response).find('.listing'));\n\t\t\t\t\t$('.paginate-wrapper').replaceWith($(response).find('.paginate-wrapper'));\n\t\t\t\t\tif (history.pushState) {\n\t\t\t\t\t\tvar newurl = window.location.protocol + \"//\" + window.location.host + window.location.pathname + '?' + $.param(data);\n\t\t\t\t\t\twindow.history.pushState({path:newurl},'',newurl);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n}\n","(function ($R) {\n\t$R.add('plugin', 'buttons', {\n\t\tinit: function (app) {\n\t\t\tthis.app = app;\n\t\t\tthis.files = [];\n\t\t},\n\t\t// messages\n\t\tonmodal: {\n\t\t\tbuttons: {\n\t\t\t\tinsert: function ($modal, $form) {\n\t\t\t\t\tlet $jForm = $($form.nodes);\n\t\t\t\t\tlet formData = $jForm.serializeArray();\n\n\t\t\t\t\tlet data = {};\n\t\t\t\t\tfor (let i = 0; i < formData.length; i++) {\n\t\t\t\t\t\tconst element = formData[i];\n\t\t\t\t\t\tdata[element.name] = element.value;\n\t\t\t\t\t}\n\t\t\t\t\tthis._insert(data);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tmodals: {\n\t\t\t'buttons': `\n\t\t\t\t<form action=\"\">\n\t\t\t\t\t<div class=\"form-group\">\n\t\t\t\t\t\t<input class=\"form-control\" type=\"text\" name=\"text\" name=\"\" placeholder=\"Button Text\" />\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"form-group\">\n\t\t\t\t\t\t<input class=\"form-control\" type=\"text\" name=\"url\" name=\"\" placeholder=\"Button URL\" />\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div class=\"form-group\">\n\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t<input type=\"radio\" name=\"type\" value=\"btn-primary\">\n\t\t\t\t\t\t\t<span class=\"btn btn-primary\">Primary</span>\n\t\t\t\t\t\t</label>\n\n\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t<input type=\"radio\" name=\"type\" value=\"btn-secondary\">\n\t\t\t\t\t\t\t<span class=\"btn btn-secondary\">Secondary</span>\n\t\t\t\t\t\t</label>\n\n\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t<input type=\"radio\" name=\"type\" value=\"btn-hollow\">\n\t\t\t\t\t\t\t<span class=\"btn btn-hollow\">Hollow</span>\n\t\t\t\t\t\t</label>\n\t\t\t\t\t</div>\n\t\t\t\t</form>\n\t\t\t`\n\t\t},\n\t\tstart: function () {\n\t\t\tlet buttonData = {\n\t\t\t\ttitle: 'Buttons',\n\t\t\t\tapi: 'plugin.buttons.open'\n\t\t\t};\n\n\t\t\tthis.app.toolbar.addButton('buttons', buttonData);\n\n\t\t\t$(this.app.container.$container.nodes).on('click', '.btn', e => {\n\t\t\t\te.preventDefault();\n\t\t\t\t$(e.target).parent('.button-container').remove();\n\t\t\t});\n\t\t},\n\t\topen: function () {\n\t\t\tlet options = {\n\t\t\t\ttitle: 'Buttons',\n\t\t\t\twidth: '600px',\n\t\t\t\tname: 'buttons',\n\t\t\t\thandle: 'insert',\n\t\t\t\tcommands: {\n\t\t\t\t\tinsert: { title: 'Insert' },\n\t\t\t\t\tcancel: { title: 'Cancel' }\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tthis.app.api('module.modal.build', options);\n\t\t},\n\t\t// private\n\t\t_insert: function (data) {\n\t\t\tthis.app.api('module.modal.close');\n\n\t\t\tlet html = `\n\t\t\t\t<div class=\"button-container non-editable d-inline-block\">\n\t\t\t\t\t<a class=\"btn ${data.type}\" href=\"${data.url}\">${data.text}</a>\n\t\t\t\t</div>\n\t\t\t\t<br>\n\t\t\t`;\n\n\t\t\tthis.app.insertion.insertHtml(html);\n\t\t}\n\t});\n})(Redactor);\n","(function ($R) {\n\t$R.add('plugin', 'lightbox', {\n\t\tinit: function (app) {\n\t\t\tthis.app = app;\n\t\t\tthis.files = [];\n\t\t},\n\t\tstart: function () {\n\t\t\tlet buttonData = {\n\t\t\t\ttitle: 'Lightbox',\n\t\t\t\tapi: 'plugin.lightbox.insert'\n\t\t\t};\n\n\t\t\tthis.app.toolbar.addButton('slider', buttonData);\n\t\t\tthis.initDeleteListener();\n\t\t},\n\t\tinitDeleteListener: function () {\n\t\t\t$(this.app.container.$container.nodes).on('click', '.remove-lightbox', e => {\n\t\t\t\t$(e.target).parents('.lightbox').remove();\n\t\t\t});\n\t\t},\n\t\t// private\n\t\tinsert: function () {\n\t\t\tlet html = `\n\t\t\t\t<div class=\"lightbox\">\n\t\t\t\t\t<span class=\"non-editable remove-lightbox\">Remove</span>\n\n\t\t\t\t\t<p>Text...</p>\n\t\t\t\t</div>\n\t\t\t\t<br>\n\t\t\t`;\n\n\t\t\tthis.app.insertion.insertHtml(html);\n\t\t}\n\t});\n})(Redactor);\n","(function($R)\n{\n\t$R.add('plugin', 'newlines', {\n\t\tinit: function(app)\n\t\t{\n\t\t\tthis.app = app;\n\t\t},\n\t\tstart: function()\n\t\t{\n\t\t\tlet $button = this.app.toolbar.addButton('newlines', {\n\t\t\t\ttitle: 'New Line'\n\t\t\t});\n\n\t\t\t$button.setDropdown({\n\t\t\t\titem1: {\n\t\t\t\t\ttitle: 'Top',\n\t\t\t\t\tapi: 'plugin.newlines.newLineTop'\n\t\t\t\t},\n\t\t\t\titem2: {\n\t\t\t\t\ttitle: 'Bottom',\n\t\t\t\t\tapi: 'plugin.newlines.newLineBottom'\n\t\t\t\t}\n\t\t\t});\n\t\t},\n\t\tnewLineTop: function()\n\t\t{\n\t\t\tthis.app.insertion.insertToOffset(0, '<br>');\n\t\t},\n\t\tnewLineBottom: function()\n\t\t{\n\t\t\tlet offset = this.app.offset.size();\n\t\t\tthis.app.insertion.insertToOffset(offset, '<br>');\n\t\t}\n\t});\n})(Redactor);","(function ($R) {\n    $R.add('plugin', 'slider', {\n        init: function (app) {\n            this.app = app;\n            this.files = [];\n            this.sortingIndexes = [];\n        },\n        // messages\n        onmodal: {\n            slider: {\n                opened: function ($modal, $form) {\n                    let $formGroup = $form.find('.form-group.upload');\n                    let $label = $form.find('.feedback-label');\n\n                    $label.hide();\n                    $formGroup.show();\n\n                    $form.find('input[type=\"file\"]').off().on('change', e => {\n                        if (e.target.files.length <= 0)\n                            return;\n\n                        $formGroup.hide();\n                        $label.text('Loading...').show();\n\n                        $.ajax({\n                            url: this.app.rootOpts.imageUploadMultiple,\n                            type: \"POST\",\n                            data:  new FormData($form.nodes[0]),\n                            contentType: false,\n                            cache: false,\n                            processData: false,\n                            beforeSend: this.app.rootOpts.callbacks.uploadBeforeSend\n                        })\n                        .then(r => {\n                            if (r.files)\n                                this.files = r.files;\n                                $label.text('Done! You can reorder the images by dragging and dropping each item.');\n\n                                this._generateOrderingPreview($form)\n                        });\n                    })\n                },\n                insert: function ($modal, $form) {\n                    this._insert({\n                        paths: this.files,\n                        type: $($form.nodes).find('input[name=\"type\"]:checked').val(), // $form.getData().type does NOT work\n                        $previewContainer: $form.find('.form-group.sort-preview'),\n                        options: {\n                            arrows: true,\n                            infinite: true,\n                            speed: 300,\n                            slidesToShow: 1,\n                            slidesToScroll: 1,\n                            adaptiveHeight: true\n                        }\n                    });\n                }\n            }\n        },\n        modals: {\n            'slider': `\n                <form class=\"ajax-upload\" method=\"post\" action=\"\" enctype=\"multipart/form-data\">\n                    <div class=\"form-group upload\">\n                        <label>\n                            <input type=\"radio\" name=\"type\" value=\"slider\" checked>\n                            Slider\n                        </label>\n\n                        <label>\n                            <input type=\"radio\" name=\"type\" value=\"parallax\">\n                            Side by side parallax\n                        </label>\n                    </div>\n\n                    <div class=\"form-group upload\">\n                        <input class=\"form-control\" type=\"file\" name=\"files[]\" id=\"file\" data-multiple-caption=\"{count} files selected\" multiple />\n                    </div>\n\n                    <div class=\"form-group sort-preview\"></div>\n\n                    <label class=\"feedback-label\"></label>\n                </form>\n            `\n        },\n        start: function () {\n            let buttonData = {\n                title: 'Slider',\n                api: 'plugin.slider.open'\n            };\n\n            this.app.toolbar.addButton('slider', buttonData);\n            this.initDeleteListener();\n        },\n        initDeleteListener: function () {\n            $(this.app.container.$container.nodes).on('click', '.remove-slider', e => {\n                $(e.target).parents('.images-container').remove();\n            });\n        },\n        open: function () {\n            let options = {\n                title: 'Slider',\n                width: '600px',\n                name: 'slider',\n                handle: 'insert',\n                commands: {\n                    insert: { title: 'Insert' },\n                    cancel: { title: 'Cancel' }\n                }\n            };\n\n            this.app.api('module.modal.build', options);\n        },\n        // private\n        _generateOrderingPreview($form) {\n            let $previewContainer = $form.find('.form-group.sort-preview').show();\n\n            let $ul = $('<ul>', {class: 'list-group'});\n\n            for (let i = 0; i < this.files.length; i++) {\n                let $img = $('<img>', {\n                    src: this.files[i].url, alt: `Image ${i + 1}`, height: '75px'\n                });\n\n                $ul.append($('<li>', {class: 'list-group-item pointer'}).append($img));\n            }\n\n            $previewContainer.append($ul);\n\n            new window.Sortable($ul.get(0), {\n                animation: 150,\n                ghostClass: 'blue-background-class'\n            });\n        },\n        _insert: function (data) {\n            this.app.api('module.modal.close');\n\n            if (data.paths.length == 0) return;\n\n            /**\n             * Creat array of image-container nodes, based on the ordering of the list-group\n             */\n            let slides = [];\n            let $orderedItems = data.$previewContainer.find('.list-group-item');\n            for (let i = 0; i < $orderedItems.length; i++) {\n                const $orderedItem = $orderedItems.eq(i);\n\n                for (let j = 0; j < data.paths.length; j++) {\n                    const element = data.paths[j];\n\n                    if ($orderedItem.find('img').attr('src') === element.url) {\n                        slides[i] = `\n                            <div class=\"image-container\">\n                                <img src=\"${element.url}\" alt=\"Slider image ${i + 1}\" class=\"w-100 img-fluid\"/>\n                            </div>\n                        `;\n                    }\n                }\n            }\n\n            /**\n             * Determine if slider or parallax parent nodes\n             */\n            let content = '';\n            if (data.type === 'slider') {\n                content = `\n                    <div class=\"slick defer\" data-slick='${JSON.stringify(data.options)}'>\n                        ${slides.join('')}\n                    </div>\n                `;\n            } else if (data.type === 'parallax') {\n                let slidesLeft = [];\n                let slidesRight = [];\n\n                for (let i = 0; i < slides.length; i++) {\n                    const element = slides[i];\n                    if (i % 2 === 0) {\n                        slidesLeft.push(element);\n                    } else {\n                        slidesRight.push(element);\n                    }\n                }\n\n                content = `\n                    <div data-component=\"parallaxRow\">\n                        <div class=\"left\">\n                            ${slidesLeft.join('')}\n                        </div>\n\n                        <div class=\"right\">\n                           ${slidesRight.join('')}\n                        </div>\n                    </div>\n                `;\n            }\n\n            /**\n             * Html\n             */\n            let html = `\n                <div class=\"non-editable images-container\">\n                    <div class=\"preview\">\n                        <span class=\"remove-slider\">Remove</span>\n                        ${slides.join('')}\n                    </div>\n\n                    <div class=\"content\">\n                        ${content}\n                    </div>\n                </div>\n                <br>\n            `;\n\n            this.app.insertion.insertHtml(html);\n            this.initDeleteListener();\n        }\n    });\n})(Redactor);\n","const removeTooltip = () => {\n    let tooltip = document.getElementById('lb-tooltip')\n    if (tooltip) {\n        tooltip.parentNode.removeChild(tooltip)\n    }\n}\n\nconst styleTooltip = (e) => {\n\n    $('#lb-tooltip').parent().mousemove(function(e){\n        let posX = e.clientX\n        let posY = e.clientY\n\n        $('.lb-tooltip').css({\n            'top':posY+'px',\n            'left':posX+'px',\n            'position': 'fixed',\n            'width': '200px',\n            'transform': 'translate(-50%, -100%)',\n            'margin-top': '-10px',\n            'z-index': '1000'\n        })\n\n        $('.lb-tooltip__content').css({\n            'display': 'block',\n            'position': 'relative',\n            '-webkit-border-radius': '4px',\n            '-moz-border-radius': '4px',\n            'border-radius': '4px',\n            'background-color': '#FFFFFF',\n            'box-shadow': '0 2px 6px 0 rgba(50,69,92,0.6)',\n            'color': '#445469',\n            'padding': '5px',\n            'text-align': 'center',\n            'font-size':'12px'\n        })\n\n        $('.lb-tooltip__arrow').css({\n            'display': 'block',\n            'position': 'absolute',\n            'width': '1px',\n            'height': '1px',\n            'border-bottom': '5px solid transparent',\n            'border-left': '5px solid transparent',\n            'border-right': '5px solid transparent',\n            'border-top': '5px solid #FFF',\n            'text-align': 'center',\n            'left': '50%',\n            'margin-left':'-5px'\n        })\n    })\n}\n\nconst Tooltip = {\n    install(Vue, options) {\n        Vue.mixin({\n            directives: {\n                'tooltip': {\n                    bind: function(el, binding, vNode) {\n\n                        const showToolTip = () => {\n                            removeTooltip()\n\n                            var g = document.createElement('div')\n                            g.id = 'lb-tooltip'\n                            g.className = 'lb-tooltip'\n                            g.innerHTML = \"<div class='lb-tooltip__content'>\"+binding.value+\"</div><div class='lb-tooltip__arrow'></div>\"                                       \n                            document.body.appendChild(g)\n\n                            styleTooltip()\n                        }\n\n                        var unbindMouseEvents = new Event('unbindmouse')\n\n                        el.addEventListener('unbindmouse', () => {\n                            el.removeEventListener('mouseenter', showToolTip, this)\n                            el.removeEventListener('mouseleave', removeTooltip, this)\n                        })\n\n                        if (binding.value) {\n                            el.addEventListener('mouseenter', showToolTip)\n                            el.addEventListener('mouseleave', removeTooltip)\n                        } else {\n                            el.dispatchEvent(unbindMouseEvents)\n                        }\n                    },\n                    componentUpdated: function(el, binding, vNode) {\n\n                        const showToolTip = () => {\n                            removeTooltip()\n\n                            var g = document.createElement('div')\n                            g.id = 'lb-tooltip'\n                            g.className = 'lb-tooltip'\n                            g.innerHTML = \"<div class='lb-tooltip__content'>\"+binding.value+\"</div><div class='lb-tooltip__arrow'></div>\"                                       \n                            document.body.appendChild(g)\n\n                            styleTooltip()\n                        }\n\n                        var unbindMouseEvents = new Event('unbindmouse')\n\n                        el.addEventListener('unbindmouse', () => {\n                            el.removeEventListener('mouseenter', showToolTip, this)\n                            el.removeEventListener('mouseleave', removeTooltip, this)\n                        })\n\n                        if (binding.value) {\n                            el.addEventListener('mouseenter', showToolTip)\n                            el.addEventListener('mouseleave', removeTooltip)\n                        } else {\n                            el.dispatchEvent(unbindMouseEvents)\n                        }\n                    },\n                }\n            }\n        })\n    }\n}\n\nexport default Tooltip","// add Vendor modules here and in app.scss if they have stylesheets\nimport $, { post } from \"expose-loader?exposes=$,jQuery!jquery\";\nimport 'select2';\nimport Cookies from 'js-cookie';\nimport app from './app.setup';\nimport 'slick-carousel';\nimport 'bootstrap';\nimport flatpickr from \"flatpickr\";\nimport 'simplebar';\nimport Sortable from 'sortablejs';\n\nwindow.Sortable = Sortable;\n\n//Loads in all pages and components created by us\nfunction requireAll(r) {\n    r.keys().forEach(r);\n}\nrequireAll(require.context('./components/', true, /\\.js$/));\n\nwindow.$ = $;\n\n// attach our app class to jquery\napp.attachToJquery($);\n\n// add any helper functions here.\napp.helperFunction = text => {\n    alert(text)\n}\n\n// initialize our classes into dom\nwindow.setTimeout(() => {\n    $(document).initialize();\n}, 100);\n\n\n// Bootstrap form validation: https://getbootstrap.com/docs/4.0/components/forms/#custom-styles\n(function() {\n    'use strict';\n    window.addEventListener('load', function() {\n        // Fetch all the forms we want to apply custom Bootstrap validation styles to\n        var forms = document.getElementsByClassName('needs-validation');\n        // Loop over them and prevent submission\n        var validation = Array.prototype.filter.call(forms, function(form) {\n            form.addEventListener('submit', function(event) {\n                if (form.checkValidity() === false) {\n                    event.preventDefault();\n                    event.stopPropagation();\n                } else {\n                    $('.btn.submit').prop('disabled', true);\n                }\n\n                form.classList.add('was-validated');\n                $('.redactor-box').trigger('formWasValidated');\n            }, false);\n\n            /**\n             * Password validation\n             */\n            $(form).find('[data-equalto]').each((i, input) => {\n                let $input = $(input);\n                let targetId = $input.data('equalto');\n                let $target = $(`#${targetId}`);\n\n                let checkEqual = input => {\n                    let validity = $input.val() == $target.val() ? \"\" : 'Passwords do not match';\n                    input.setCustomValidity(validity);\n                };\n\n                $input.on('input', e => checkEqual(input));\n                $target.on('input', e => checkEqual(input));\n            });\n\n            /**\n             * Redactor textarea show validation error message\n             */\n            $(form).find('.redactor-box').each((i, input) => {\n                let $input = $(input);\n                let $textAreaELement = $input.find(\"textarea\");\n\n                let checkNotEmpty = input => {\n                    if ($textAreaELement.prop('required') || $textAreaELement.hasClass(\"form-error\")) {\n                        if ($textAreaELement.val().replace(/<(?:.|\\s)*?>/g, \"\") != '') {\n                            $input.removeClass(\"is-invalid\");\n                            $input.siblings('.error-message').first().hide();\n                        } else {\n                            $input.addClass(\"is-invalid\");\n                            $input.siblings('.error-message').first().show();\n                        }\n                    }\n                };\n                $input.on('keyup formWasValidated', e => checkNotEmpty(input));\n            });\n\n            $(form).find('.form-control.form-error').each((i, input) => {\n                let $input = $(input);\n\n                let checkNotEmpty = input => {\n                    if ($input.val()) {\n                        $input.removeClass(\"is-invalid\");\n                        $input.siblings('.error-message').first().hide();\n                    } else {\n                        $input.addClass(\"is-invalid\");\n                        $input.siblings('.error-message').first().show();\n                    }\n                };\n                $input.on('keyup change formWasValidated', e => checkNotEmpty(input));\n            });\n        });\n    }, false);\n})();\n\n/**\n * Third party plugin initialisation\n */\napp.initSelect2 = element => {\n    let $el = $(element);\n    let options = {\n        theme: \"bootstrap\"\n    };\n\n    if ($el.data('url')) {\n        options.ajax = {\n            url: $el.data('url'),\n            dataType: 'json',\n            delay: 250\n        }\n    }\n    if ($el.data('parent')) {\n        let $parent = $el.data('parent');\n\n        if ($el.data('type') && $el.data('type') == 'modal') {\n            $parent += ' .modal-content';\n            options.dropdownParent = $('#'+$parent);\n        }\n    }\n\n    if ($el.attr('multiple') == 'multiple') {\n        options.closeOnSelect = false;\n    }\n\n    $el.select2(options);\n}\n\napp.initFlatpicker = element => {\n    let options = {\n        allowInput: true\n    };\n    let fieldType = $(element).data(\"fieldType\");\n    if (fieldType == 'datetime') {\n        options.enableTime = true;\n        options.dateFormat = \"Y-m-d, H:i\";\n    }\n    flatpickr(element, options);\n}\n\n$(document).ready(() => {\n    $(\".select2\").not('[data-no-auto]').each((i, element) => {\n        app.initSelect2(element)\n    });\n\n    $(\".navbar-nav\").children(\".nav-item\").each(function() {\n        var url = $(location).attr('href').split(\"/\");\n        var currentChild = $(this).children(\".nav-link\").first();\n\n        url.splice(0, 3);\n        url = \"/\" + url.join(\"/\");\n        if (currentChild.attr(\"href\") == url) {\n            currentChild.addClass(\"active\");\n        }\n    });\n\n    $('.close-nav').each(function(){\n        $(this).on('click', function() {\n            $('.nav-link.pointer').each(function(){\n                if ($(this).attr('aria-expanded') == 'true') {\n                    $(this).click();\n                }\n            });\n        });\n    });\n\n    $(function () {\n        $('[data-toggle=\"tooltip\"]').tooltip();\n    })\n\n    $(function () {\n        $('.vodabucks-logo').tooltip();\n    })\n\n    $(\".nav-group-heading\").on(\"click\", function(){\n        $(this).children(\"i\").toggleClass(\"fa-chevron-down fa-chevron-up\");\n    });\n\n    var url = $(location).attr('href');\n    var segments = url.split( '/' );\n    var segment3 = segments[3];\n\n    $('[data-component=\"redemptionCodes\"]').on(\"submit\", function(e){\n        e.preventDefault();\n\n        if (segment3 != 'redemption-codes') {\n            $.ajax({\n                url: '/api/utilities/set-session-variable.json',\n                data: {variable: 'open-redemption-modal', value: true},\n                type: \"POST\",\n                success: successData => {\n                    console.log('success');\n                },\n                beforeSend: (xhr) => {\n                    let token = Cookies.get('csrfToken');\n                    if (token) {\n                        xhr.setRequestHeader('X-CSRF-Token', token);\n                    }\n                },\n                complete: (xhr, message) => {\n                    console.log('successful');\n                    $(this).unbind('submit').submit();\n                }\n            })\n        } else {\n            $(this).unbind('submit').submit();\n        }\n    });\n\n    $.ajax({\n        url: '/api/utilities/consume-session-variable.json',\n        data: {variable: 'open-redemption-modal'},\n        type: \"POST\",\n        success: successData => {\n            console.log(successData.value);\n            if (successData.value) {\n                $('[data-target=\"#vodabucks-usage\"]').click();\n                $('.main-content').toggleClass('d-none');\n                $('body').toggleClass('overflow-auto');\n            }\n        },\n        beforeSend: (xhr) => {\n            let token = Cookies.get('csrfToken');\n            if (token) {\n                xhr.setRequestHeader('X-CSRF-Token', token);\n            }\n        },\n    });\n\n    $('[data-toggle=\"howToModal\"]').on('click', e => {\n        let event = new CustomEvent('howToModal:open');\n\n        document.dispatchEvent(event)\n    });\n\n    if (document.cookie.indexOf('visited=true') == -1 && segment3 == 'redemption-codes') {\n        var fifteenDays = 1000*60*60*24*15;\n        var expires = new Date((new Date()).valueOf() + fifteenDays);\n        document.cookie = \"visited=true;expires=\" + expires.toUTCString();\n        $('[data-toggle=\"howToModal\"]').click();\n    }\n\n    setInterval(function() {\n        $(\".countDownDate\").each(function(){\n\n            var countDownText;\n            var seconds_left = $(this).data(\"end-time\") - parseInt(new Date().getTime() / 1000);\n            var hours_left = Math.floor(seconds_left / 3600);\n\n            seconds_left -= (hours_left * 3600);\n            var mins_left = Math.floor(seconds_left / 60);\n            seconds_left -= (mins_left * 60);\n\n            if (hours_left < 10)\n                hours_left = \"0\" + hours_left;\n            if (mins_left < 10)\n                mins_left = \"0\" + mins_left;\n\n            if (hours_left < 48) {\n                countDownText = hours_left + \":\" + mins_left + \" Hours left\";\n            }\n            else {\n                $(this).hide();\n            }\n\n            $(this).html(countDownText);\n        })\n    }, 1000);\n\n    // initialize redactor\n    if (typeof $R !== 'undefined') {\n        $R('.redactor', {\n            plugins: [\n                'alignment', 'table', 'video', 'fullscreen', 'limiter',\n                'counter', 'specialchars', 'slider', 'lightbox', 'buttons',\n                'newlines', 'fontcolor'\n            ],\n            imageUpload: '/api/redactor-upload.json',\n            imageUploadMultiple: '/api/redactor-upload-multiple.json',\n            imageResizable: true,\n            imagePosition: true,\n            callbacks: {\n                uploadBeforeSend: xhr => {\n                    let token = Cookies.get('csrfToken');\n                    if (token) {\n                        xhr.setRequestHeader('X-CSRF-Token', token);\n                    }\n                }\n            }\n        });\n    }\n\n    $('[data-field-type=\"date\"], [data-field-type=\"datetime\"]').each((index, element) => {\n        app.initFlatpicker(element)\n    });\n\n    $(function () {\n        $('.slick').slick();\n    });\n\n    var windowsize = $(window).width();\n    if (windowsize <= 800) {\n        $('.home-slides .slick-arrow').hide();\n    }\n\n    /**\n     * Toggle a class for a target element\n     */\n    $(document).on('click', '[data-class-toggle]', e => {\n        let $a = $(e.target).closest('[data-class-toggle]');\n        let applyClass = $a.data('classToggle');\n        let $targets = $($a.data('classTarget'));\n\n        if ($targets.length > 0) {\n            e.preventDefault();\n            $targets.toggleClass(applyClass);\n        }\n    });\n\n    /**\n     * Trigger an event using a click\n     */\n    $(document).on('click', '[data-trigger]', e => {\n        let $el = $(e.target);\n\n        let detail = $el.data('triggerDetail');\n        let event = new CustomEvent($el.data('trigger'), { detail });\n\n        document.dispatchEvent(event)\n    });\n\n    /**\n     * Trigger collapse close when search is clicked\n     */\n    $(document).on('click', '.search-box', e => {\n        $('.collapse').collapse('hide');\n    });\n\n    $('[data-target=\"#vodabucks-usage\"]').on('click', e => {\n        $('.main-content').toggleClass('d-none');\n        $('body').toggleClass('overflow-auto');\n    });\n\n    $(document).keyup(function(e) {\n        if (e.key === \"Escape\") {\n            $('.drawer.show').removeClass('show');\n        }\n    });\n\n    /**\n    * Trigger form listeners\n    *\n    * '.form-group.select select'\n    * select2:opening select2:close\n    * || e.type == 'select2:opening'\n    */\n    let selectors = [\n        '.form-group.text input',\n        '.form-group.email input',\n        '.form-group.password input',\n        '.form-group.number input',\n        '.form-group.textarea textarea'\n    ];\n    $(document).on('keyup focus blur change', selectors.join(', '), e => {\n        let $target = $(e.target);\n\n        if ($target.val().toString().length || $target.is(':focus')) {\n            if ($target.parents('.form-group').hasClass('empty')) {\n                $target.parents('.form-group').removeClass('empty');\n            }\n        } else {\n            $target.parents('.form-group').addClass('empty');\n        }\n    });\n\n    $(document).ready(function() {\n        $('.accordion-header').each(function(){\n            var parent = $(this);\n            $(this).on('click', function(){\n                $('.content-accordion').each(function () {\n                    if ($(this).data('accordion-id') == parent.data('target-accordion-id')) {\n                        $(this).click();\n                    }\n                });\n            });\n        });\n\n        $('.content-accordion').each(function() {\n            if ($(this).next().children().length < 1) {\n                $(this).remove();\n                $(this).next().remove();\n            }\n            $(this).on('click', function(){\n                $(this).toggleClass('active');\n                $(this).children('.fas').toggleClass('fa-chevron-down fa-chevron-up');\n                $(this).next().toggleClass('active-panel');\n            });\n        });\n\n        $('.subject').on('click', function(){\n            var group = $(this).attr('data-target-accordion-id');\n            if(!$('#accordion-'+group).hasClass('active')) {\n                $('#accordion-'+group).click();\n            }\n            var subject = $(this).attr(\"href\");\n            $('html,body').animate({scrollTop: $(subject).offset().top},'slow');\n\n        });\n    })\n});\n","export default {\n\tsetState (state, data) {\n\t\tstate.cart = data.cart\n\t\tstate.isVodapay = data.isVodapay\n\t\tstate.wishlist = data.wishlist;\n\t},\n\tsetCart (state, newCart) {\n\t\tstate.cart = newCart;\n\t},\n\tsetIsVodapay (state, isVodapay) {\n\t\tstate.isVodapay = isVodapay;\n\t},\n\tsetWishlist (state, newWishlist) {\n\t\tstate.wishlist = newWishlist;\n\t},\n\twishlist (state, wishlist) {\n\t\tstate.wishlist = wishlist;\n\t},\n\tsetCartBusy (state, busy) {\n\t\tstate.cart.busy = busy;\n\t},\n\tclearCartPostalCode (state) {\n\t\tstate.cart.delivery_postal_code = null;\n\t},\n\tsetCartShippingValues (state, cart) {\n\t\tstate.cart.shipping = cart.shipping;\n\t\tstate.cart.to_pay = cart.to_pay;\n\t\tstate.cart.total = cart.total;\n\t\tstate.cart.parcel_ninja_shipping = cart.parcel_ninja_shipping;\n\t\tstate.cart.cl_shipping = cart.cl_shipping;\n\t\tstate.cart.tps_shipping = cart.tps_shipping;\n\t\tstate.cart.to_pay_external = cart.to_pay_external\n\t},\n\tsetCartGiftCard (state, cart) {\n\t\tstate.cart.gift_card_number = cart.gift_card_number;\n\t\tstate.cart.gift_card_amount = cart.gift_card_amount;\n\t\tstate.cart.to_pay = cart.to_pay;\n\t\tstate.cart.to_pay_external = cart.to_pay_external;\n\t},\n\tsetCartPaymentMethod (state, method) {\n\t\tstate.cart.transaction_method = method;\n\t},\n\tsetTransactionMethod (state, cart) {\n\t\tstate.cart.layup_service_fee = cart.layup_service_fee;\n\t\tstate.cart.to_pay = cart.to_pay;\n\t\tstate.cart.to_pay_external = cart.to_pay_external;\n\t\tstate.cart.total = cart.total;\n\t},\n\tsetCartVoucherDiscount (state, cart) {\n\t\tstate.cart.voucher_code = cart.voucher_code;\n\t\tstate.cart.discount = cart.discount;\n\t\tstate.cart.total = cart.total;\n\t\tstate.cart.to_pay = cart.to_pay;\n\t\tstate.cart.to_pay_external = cart.to_pay_external;\n\t},\n\taddAddOnProduct(state, skuCode) {\n\t\tstate.addOnsSkuCodesSelected.push(skuCode);\n\t},\n\tremoveAddOnProduct(state, skuCode) {\n\t\tstate.addOnsSkuCodesSelected = state.addOnsSkuCodesSelected.filter(item => item !== skuCode)\n\t}\n}","import axios from 'axios';\nimport Cookies from \"js-cookie\";\n\nconst axiosInstance = axios.create({headers: {\"X-CSRF-Token\": Cookies.get(\"csrfToken\")}});\n\nexport default {\n\tinitState({ commit }, payload){\n\t\tcommit('setState', payload)\n\t},\n\taddToCart({commit, state}, payload) {\n\t\tpayload.add_ons = state.addOnsSkuCodesSelected;\n\n\t\treturn axiosInstance.post('/api/cart/add-item.json', payload)\n\t\t\t.then(response => {\n\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\tif (response.data && response.data.cart) {\n\t\t\t\t\t\tcommit('setCart', response.data.cart);\n\t\t\t\t\t}\n\t\t\t\t\tif (response.data.reminder) {\n\t\t\t\t\t\tlet event = new CustomEvent('redemptionReminder:display');\n\t\t\t\t\t\tdocument.dispatchEvent(event);\n\t\t\t\t\t}\n\t\t\t\t\tresolve(response);\n\t\t\t\t})\n\t\t\t})\n\t\t\t.catch(error => {\n\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\treject(error);\n\t\t\t\t})\n\t\t\t});\n\t},\n\taddToWishlist({commit, state}, payload) {\n\t\treturn axiosInstance.post('/api/wishlist/set-item.json', payload)\n\t\t\t.then(response => {\n\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\tif (response.data && response.data.wishlist) {\n\t\t\t\t\t\tcommit('setWishlist', response.data.wishlist);\n\t\t\t\t\t}\n\t\t\t\t\tresolve(response);\n\t\t\t\t})\n\t\t\t})\n\t\t\t.catch(error => {\n\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\treject(error);\n\t\t\t\t})\n\t\t\t});\n\t},\n\tremoveFromWishlist({commit, state}, payload) {\n\t\treturn axiosInstance.post('/api/wishlist/set-item/1.json', payload)\n\t\t\t.then(response => {\n\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\tif (response.data && response.data.wishlist) {\n\t\t\t\t\t\tcommit('setWishlist', response.data.wishlist);\n\t\t\t\t\t}\n\t\t\t\t\tresolve(response);\n\t\t\t\t})\n\t\t\t})\n\t\t\t.catch(error => {\n\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\treject(error);\n\t\t\t\t})\n\t\t\t});\n\t},\n\tremoveFromCart({commit, state}, payload) {\n\t\treturn axiosInstance.post('/api/cart/remove-item.json', payload)\n\t\t\t.then(response => {\n\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\tif (response.data && response.data.cart) {\n\t\t\t\t\t\tcommit('setCart', response.data.cart);\n\t\t\t\t\t}\n\t\t\t\t\tresolve(response);\n\t\t\t\t})\n\t\t\t})\n\t\t\t.catch(error => {\n\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\treject(error);\n\t\t\t\t})\n\t\t\t});\n\t},\n\tapplyVoucherCode({commit, state}, payload) {\n\t\treturn axiosInstance.post('/api/cart/apply-voucher.json', payload)\n\t\t\t.then(response => {\n\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\tif (response.data && response.data.cart) {\n\t\t\t\t\t\tcommit('setCartVoucherDiscount', response.data.cart);\n\t\t\t\t\t}\n\t\t\t\t\tresolve(response);\n\t\t\t\t})\n\t\t\t})\n\t\t\t.catch(error => {\n\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\treject(error);\n\t\t\t\t})\n\t\t\t});\n\t},\n\tapplyRedemptionCode({commit, state}, payload) {\n\t\treturn axiosInstance.post('/api/cart/apply-redemption-code.json', payload)\n\t\t\t.then(response => {\n\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\tif (response.data && response.data.cart) {\n\t\t\t\t\t\tcommit('setCart', response.data.cart);\n\t\t\t\t\t}\n\t\t\t\t\tresolve(response);\n\t\t\t\t})\n\t\t\t})\n\t\t\t.catch(error => {\n\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\treject(error);\n\t\t\t\t})\n\t\t\t});\n\t},\n\tupdateAddressId({commit, state}, payload) {\n\t\treturn axiosInstance.post('/api/cart/update-address-id.json', payload)\n\t\t\t.then(response => {\n\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\tif (response.data && response.data.success) {\n\t\t\t\t\t\tcommit('setCartShippingValues', response.data.cart);\n\t\t\t\t\t\tresolve(response);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcommit('clearCartAddressId');\n\t\t\t\t\t\treject(response);\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t\t\t.catch(error => {\n\t\t\t\treturn new Promise((resolve, reject) => {\n\t\t\t\t\tcommit('clearCartAddressId');\n\t\t\t\t\treject(error);\n\t\t\t\t})\n\t\t\t});\n\t},\n\tsetCartPaymentMethod({commit, state}, payload) {\n\t\tcommit('setCartPaymentMethod', payload.method);\n\t},\n\tasync setTransactionMethod({commit, state}, payload) {\n\t\tconst response = await axiosInstance.post('/api/cart/update-transaction-method.json', payload);\n\t\tif (response.data && response.data.cart) {\n\t\t\tcommit('setTransactionMethod', response.data.cart);\n\t\t}\n\t},\n\tasync redeemGiftCard({commit, state}, payload) {\n\t\tconst response = await axiosInstance.post('/api/cart/redeem-gift-card.json', payload);\n\t\tif (response.data && response.data.cart) {\n\t\t\tcommit('setCartGiftCard', response.data.cart);\n\t\t}\n\n\t\treturn response;\n\t},\n\tasync removeGiftCard({commit, state}, payload) {\n\t\tconst response = await axiosInstance.post('/api/cart/remove-gift-card.json', payload)\n\t\tif (response.data && response.data.cart) {\n\t\t\tcommit('setCartGiftCard', response.data.cart);\n\t\t}\n\n\t\treturn response;\n\t},\n\tupdateAddOnProductList({commit, state}, payload) {\n\t\tlet mutation = payload.add ? 'addAddOnProduct' : 'removeAddOnProduct'\n\t\tcommit(mutation, payload.skuCode);\n\t}\n}","export default {\n\tcart (state) {\n\t\treturn state.cart\n\t},\n\tisVodapay(state) {\n\t\treturn state.isVodapay\n\t},\n\twishlist(state) {\n\t\treturn state.wishlist\n\t}\n}","import Vue from 'vue';\nimport Vuex from 'vuex';\n\nimport mutations from './mutations';\nimport actions from './actions';\nimport getters from './getters';\n\nVue.use(Vuex);\n\nexport const store = new Vuex.Store({\n\tstate: {\n\t\tcart: {},\n\t\tisVodapay: false,\n\t\twishlist: {},\n\t\taddOnsSkuCodesSelected: []\n\t},\n\tgetters,\n\tactions,\n\tmutations\n});","const ClickOutside = {\n    install(Vue, options) {\n        Vue.mixin({\n            directives: {\n                'click-outside': {\n                    bind: function(el, binding, vNode) {\n                        // Provided expression must evaluate to a function.\n                        if (typeof binding.value !== 'function') {\n                            const compName = vNode.context.name\n                            let warn = `[Vue-click-outside:] provided expression '${binding.expression}' is not a function, but has to be`\n                            if (compName) { \n                                warn += `Found in component '${compName}'`\n                            }\n                        }\n                        // Define Handler and cache it on the element\n                        const bubble = binding.modifiers.bubble\n                        const handler = (e) => {\n                            if (bubble || (!el.contains(e.target) && el !== e.target)) {\n                                binding.value(e)\n                            }\n                        }\n                        el.__vueClickOutside__ = handler\n\n                        // add Event Listeners\n                        document.addEventListener('click', handler)\n                    },\n\n                    unbind: function(el, binding) {\n                        // Remove Event Listeners\n                        document.removeEventListener('click', el.__vueClickOutside__)\n                        el.__vueClickOutside__ = null\n                    }\n                }\n            }\n        })\n    }\n}\n\nexport default ClickOutside","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"FeaturesAndBenefits\"}},[_vm._l((_vm.selectedFabs),function(selectedFab,key){return _c('div',{key:key,staticClass:\"form-group\"},[_c('a',{staticClass:\"pointer remove-item\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();$event.stopPropagation();return _vm.deleteFab(key)}}},[_vm._v(\"Remove Feature \"),_c('i',{staticClass:\"fas fa-trash-alt\"})]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(selectedFab.id),expression:\"selectedFab.id\"}],staticClass:\"form-control\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(selectedFab, \"id\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},_vm._l((_vm.fabs),function(fab,fabKey){return _c('option',{key:fabKey,attrs:{\"disabled\":selectedFab.id != fab.id && _vm.isFabSelected(fab.id)},domProps:{\"value\":fab.id}},[_vm._v(\" \"+_vm._s(fab.title)+\" \")])}),0),_vm._l((_vm.getFabOptions(selectedFab.id)),function(fabOption,optionKey){return _c('label',{key:optionKey},[_vm._v(\" \"+_vm._s(fabOption.title)+\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedOptionIds),expression:\"selectedOptionIds\"}],attrs:{\"name\":\"fab_options[_ids][]\",\"type\":\"checkbox\"},domProps:{\"value\":fabOption.id,\"checked\":Array.isArray(_vm.selectedOptionIds)?_vm._i(_vm.selectedOptionIds,fabOption.id)>-1:(_vm.selectedOptionIds)},on:{\"change\":function($event){var $$a=_vm.selectedOptionIds,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=fabOption.id,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.selectedOptionIds=$$a.concat([$$v]))}else{$$i>-1&&(_vm.selectedOptionIds=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.selectedOptionIds=$$c}}}})])})],2)}),_c('a',{staticClass:\"pointer\",on:{\"click\":function($event){return _vm.addFab()}}},[_vm._v(\"+ Add Feature\")])],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div id=\"FeaturesAndBenefits\">\n\t\t<div class=\"form-group\" v-for=\"(selectedFab, key) in selectedFabs\" :key=\"key\">\n\t\t\t<a href=\"#\" class=\"pointer remove-item\" v-on:click.prevent.stop=\"deleteFab(key)\">Remove Feature <i class=\"fas fa-trash-alt\"></i></a>\n\n\t\t\t<select class=\"form-control\" v-model=\"selectedFab.id\">\n\t\t\t\t<option v-for=\"(fab, fabKey) in fabs\" :key=\"fabKey\" :value=\"fab.id\" :disabled=\"selectedFab.id != fab.id && isFabSelected(fab.id)\">\n\t\t\t\t\t{{ fab.title }}\n\t\t\t\t</option>\n\t\t\t</select>\n\n\t\t\t<label v-for=\"(fabOption, optionKey) in getFabOptions(selectedFab.id)\" :key=\"optionKey\">\n\t\t\t\t{{ fabOption.title }}\n\t\t\t\t<input name=\"fab_options[_ids][]\" type=\"checkbox\" :value=\"fabOption.id\" v-model=\"selectedOptionIds\">\n\t\t\t</label>\n\t\t</div>\n\n\t\t<a class=\"pointer\" v-on:click=\"addFab()\">+ Add Feature</a>\n\t</div>\n</template>\n\n<script>\nimport { filter, each } from 'lodash'\n\nexport default {\n\tname: 'FeaturesAndBenefits',\n\tprops: {\n\t\tfabs: {required: true, type: Array},\n\t\tdefault_selected_option_ids: {required: true, type: Array}\n\t},\n\tdata () {\n\t\treturn {\n\t\t\tselectedOptionIds: this.default_selected_option_ids,\n\t\t\tselectedFabs: []\n\t\t}\n\t},\n\tmethods: {\n\t\taddFab () {\n\t\t\tthis.selectedFabs.push({id: null});\n\t\t},\n\t\tdeleteFab (key) {\n\t\t\tthis.selectedFabs.splice(key, 1);\n\t\t},\n\t\tgetFabOptions (fabId) {\n\t\t\tlet fabs = filter(this.fabs, fab => {\n\t\t\t\treturn fab.id == fabId;\n\t\t\t});\n\t\t\tif (fabs.length == 1) {\n\t\t\t\treturn fabs[0].fab_options;\n\t\t\t}\n\t\t\treturn [];\n\t\t},\n\t\tisFabSelected (fabId) {\n\t\t\tlet fabs = filter(this.selectedFabs, selctedFab => {\n\t\t\t\treturn selctedFab.id === fabId;\n\t\t\t});\n\t\t\treturn fabs.length > 0;\n\t\t}\n\t},\n\tmounted () {\n\t\tlet ids = [];\n\t\teach(this.fabs, fab => {\n\t\t\teach(fab.fab_options, fabOption => {\n\t\t\t\tif (this.selectedOptionIds.indexOf(fabOption.id) !== -1 && ids.indexOf(fab.id) === -1) {\n\t\t\t\t\tthis.selectedFabs.push({id: fab.id});\n\t\t\t\t\tids.push(fab.id);\n\t\t\t\t}\n\t\t\t});\n\t\t});\n\t}\n}\n</script>\n\n<style lang=\"scss\" scoped>\n\t#FeaturesAndBenefits {\n\t\t.form-group {\n\t\t\t.remove-item {\n\t\t\t\tdisplay: inline-block;\n\t\t\t\tmargin-bottom: 0.5rem;\n\t\t\t}\n\n\t\t\tselect {\n\t\t\t\tmargin-bottom: 0.5rem;\n\t\t\t}\n\n\t\t\tlabel {\n\t\t\t\tmargin: 0.5rem 1rem 0.5rem 0;\n\t\t\t}\n\t\t}\n\t}\n</style>\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./FeaturesAndBenefits.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./FeaturesAndBenefits.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FeaturesAndBenefits.vue?vue&type=template&id=1994845c&scoped=true&\"\nimport script from \"./FeaturesAndBenefits.vue?vue&type=script&lang=js&\"\nexport * from \"./FeaturesAndBenefits.vue?vue&type=script&lang=js&\"\nimport style0 from \"./FeaturesAndBenefits.vue?vue&type=style&index=0&id=1994845c&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"1994845c\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('form',{directives:[{name:\"click-outside\",rawName:\"v-click-outside\",value:(_vm.hideResults),expression:\"hideResults\"}],staticClass:\"search-form\",attrs:{\"action\":\"/products\"},on:{\"click\":_vm.showResults}},[_c('div',{staticClass:\"form-group p-1 mb-0 has-after\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchString),expression:\"searchString\"}],staticClass:\"form-control search-box\",attrs:{\"name\":\"keyword\",\"type\":\"text\",\"placeholder\":\"Search\"},domProps:{\"value\":(_vm.searchString)},on:{\"keyup\":_vm.search,\"input\":function($event){if($event.target.composing)return;_vm.searchString=$event.target.value}}}),_c('i',{staticClass:\"fas fa-search search-icon\"})]),_c('div',{staticClass:\"popup card p-4\",class:{'d-none': !_vm.showDropdown || !_vm.results}},[(_vm.results)?_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.results.html)}}):_vm._e()])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<script>\nimport axios from 'axios';\nimport Cookies from \"js-cookie\";\nimport { debounce } from 'lodash';\n\nconst axiosInstance = axios.create({headers: {\"X-CSRF-Token\": Cookies.get(\"csrfToken\")}});\n\nexport default {\n\tdata() {\n\t\treturn {\n\t\t\tsearchString: '',\n\t\t\tsearchInProgress: false, // shows a loader\n\t\t\tresults: null,\n\t\t}\n\t},\n\tmethods: {\n\t\tsearch: debounce(function (search, loading) {\n\t\t\tthis.searchInProgress = true;\n\n\t\t\tif (search.code == 'Enter') {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (this.searchString.length > 2) {\n\t\t\t\taxiosInstance.get(\"/api/search/autosuggest.json\", {params: {keyword: this.searchString}})\n\t\t\t\t\t.then(request => this.results = request.data)\n\t\t\t\t\t.finally(() => this.searchInProgress = false);\n\t\t\t}\n\t\t}, 200)\n\t}\n}\n</script>","var render, staticRenderFns\nimport script from \"./Base.vue?vue&type=script&lang=js&\"\nexport * from \"./Base.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render, staticRenderFns\nimport script from \"./Base.vue?vue&type=script&lang=js&\"\nexport * from \"./Base.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Base.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Base.vue?vue&type=script&lang=js&\"","<template>\n\t<form class=\"search-form\" action=\"/products\" @click=\"showResults\" v-click-outside=\"hideResults\">\n\t\t<div class=\"form-group p-1 mb-0 has-after\">\n\t\t\t<input name=\"keyword\" type=\"text\" v-model=\"searchString\" @keyup=\"search\" placeholder=\"Search\" class=\"form-control search-box\">\n\t\t\t<i class=\"fas fa-search search-icon\"></i>\n\t\t</div>\n\n\t\t<div class=\"popup card p-4\" :class=\"{'d-none': !showDropdown || !results}\">\n\t\t\t<div v-if=\"results\" v-html=\"results.html\"></div>\n\t\t</div>\n\t</form>\n</template>\n\n<script>\nimport Base from './Base.vue';\n\nexport default {\n\tname: \"search\",\n\textends: Base,\n\tdata() {\n\t\treturn {\n\t\t\tshowDropdown: false, // show or hide search dropdown\n\t\t}\n\t},\n\tmethods: {\n\t\thideResults() {\n\t\t\tthis.showDropdown = false\n\t\t},\n\t\tshowResults() {\n\t\t\tthis.showDropdown = true\n\t\t}\n\t}\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/scss/_custom.scss';\n\nform {\n\t.form-group {\n\t\t.form-control {\n\t\t\tborder: 1px solid $blue-dark-30;\n\t\t\tborder-radius: 3px;\n\t\t}\n\n\t\t.search-box {\n\t\t\tpadding: 8px 9px;\n\t\t}\n\n\t\t.search-icon {\n\t\t\tright: 16px;\n\t\t\ttop: 15px;\n\t\t}\n\t}\n\n\t.popup {\n\t\tposition: absolute;\n\t\ttop: 125px;\n\t\tmax-height: 70vh;\n\t\toverflow: hidden;\n\t\tmin-width: 300px;\n\t\theight: auto;\n\t\tz-index: 2;\n\t\toverflow-y: scroll;\n\t\tmargin-top: 4px;\n\t\tmargin-left: -8px;\n    \tmargin-right: 4px;\n\n\t\t.result-link {\n\t\t\twhite-space: normal;\n\t\t}\n\n\t\t@media (min-width: 769px) {\n\t\t\tmax-width: 600px;\n\t\t\ttop: 100px;\n\t\t\tmargin-left: 0;\n    \t\tmargin-right: 0;\n\t\t\tright: 0;\n\t\t}\n\n\t}\n}\n</style>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Search.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Search.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Search.vue?vue&type=template&id=2a277bd4&scoped=true&\"\nimport script from \"./Search.vue?vue&type=script&lang=js&\"\nexport * from \"./Search.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Search.vue?vue&type=style&index=0&id=2a277bd4&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"2a277bd4\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('form',{staticClass:\"mobile-search-form\",attrs:{\"action\":\"/products\"}},[_c('div',{staticClass:\"form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.searchString),expression:\"searchString\"}],staticClass:\"form-control\",attrs:{\"name\":\"keyword\",\"type\":\"text\",\"placeholder\":\"SEARCH\"},domProps:{\"value\":(_vm.searchString)},on:{\"keyup\":_vm.search,\"input\":function($event){if($event.target.composing)return;_vm.searchString=$event.target.value}}})]),(_vm.searchString.length > 2)?_c('div',[(_vm.results && _vm.results.products && _vm.results.products.length)?_c('div',{staticClass:\"result-group\"},[_c('h2',[_vm._v(\"Product Suggestions\")]),_vm._l((_vm.results.products),function(productData,index){return _c('div',{key:index,staticClass:\"row mb-2\"},[_c('div',{staticClass:\"col-4 text-center\"},[_c('img',{staticClass:\"img-fluid\",attrs:{\"alt\":productData.result.title,\"src\":productData.result.primary_image ? productData.result.primary_image.cdn_path : '/img/placeholder.png'}})]),_c('div',{staticClass:\"col-8\"},[_c('a',{attrs:{\"href\":'/products/' + productData.result.slug}},[_c('div',{domProps:{\"innerHTML\":_vm._s((productData.highlights && productData.highlights.title) ? productData.highlights.title[0] : productData.result.title)}}),_c('div',[_vm._v(_vm._s(productData.result.formatted_price))])])])])}),_c('a',{staticClass:\"text-red\",attrs:{\"href\":'/products?keyword=' + encodeURI(_vm.searchString)}},[_vm._v(\"See all results (\"+_vm._s(_vm.results.product_count)+\")\")])],2):_vm._e(),(_vm.results && _vm.results.categories && _vm.results.categories.length > 0)?_c('div',{staticClass:\"result-group\"},[_c('h2',[_vm._v(\"Categories\")]),_vm._l((_vm.results.categories),function(category,index){return _c('a',{key:index,attrs:{\"href\":_vm.buildUrl(category.link)}},[_c('em',[_vm._v(\"\\\"\"+_vm._s(_vm.searchString)+\"\\\"\")]),_vm._v(\" in \"+_vm._s(category.data.title)+\" \")])})],2):_vm._e(),(_vm.results && _vm.results.blogs && _vm.results.blogs.length > 0)?_c('div',{staticClass:\"result-group\"},[_c('h2',[_vm._v(\"Blogs\")]),_vm._l((_vm.results.blogs),function(blog,index){return _c('a',{key:index,attrs:{\"href\":'/blog/' + blog.slug}},[_vm._v(\" \"+_vm._s(blog.title)+\" \")])})],2):_vm._e()]):_c('div',[_vm._v(\" ... \")])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<form class=\"mobile-search-form\" action=\"/products\">\n\t\t<div class=\"form-group\">\n\t\t\t<input name=\"keyword\" type=\"text\" v-model=\"searchString\" @keyup=\"search\" placeholder=\"SEARCH\" class=\"form-control\">\n\t\t</div>\n\n\t\t<div v-if=\"searchString.length > 2\">\n\t\t\t<div class=\"result-group\" v-if=\"results && results.products && results.products.length\">\n\t\t\t\t<h2>Product Suggestions</h2>\n\t\t\t\t<div v-for=\"(productData, index) in results.products\" :key=\"index\" class=\"row mb-2\">\n\t\t\t\t\t<div class=\"col-4 text-center\">\n\t\t\t\t\t\t<img\n\t\t\t\t\t\t\tclass=\"img-fluid\" :alt=\"productData.result.title\"\n\t\t\t\t\t\t\t:src=\"productData.result.primary_image ? productData.result.primary_image.cdn_path : '/img/placeholder.png'\"\n\t\t\t\t\t\t>\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div class=\"col-8\">\n\t\t\t\t\t\t<a :href=\"'/products/' + productData.result.slug\">\n\t\t\t\t\t\t\t<div v-html=\"(productData.highlights && productData.highlights.title) ? productData.highlights.title[0] : productData.result.title\"></div>\n\t\t\t\t\t\t\t<div>{{ productData.result.formatted_price }}</div>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<a class=\"text-red\" :href=\"'/products?keyword=' + encodeURI(searchString)\">See all results ({{ results.product_count }})</a>\n\t\t\t</div>\n\n\t\t\t<div class=\"result-group\" v-if=\"results && results.categories && results.categories.length > 0\">\n\t\t\t\t<h2>Categories</h2>\n\t\t\t\t<a v-for=\"(category, index) in results.categories\" :key=\"index\" :href=\"buildUrl(category.link)\">\n\t\t\t\t\t<em>\"{{ searchString }}\"</em>\n\t\t\t\t\tin {{ category.data.title }}\n\t\t\t\t</a>\n\t\t\t</div>\n\n\t\t\t<div class=\"result-group\" v-if=\"results && results.blogs && results.blogs.length > 0\">\n\t\t\t\t<h2>Blogs</h2>\n\t\t\t\t<a v-for=\"(blog, index) in results.blogs\" :key=\"index\" :href=\"'/blog/' + blog.slug\">\n\t\t\t\t\t{{ blog.title }}\n\t\t\t\t</a>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div v-else>\n\t\t\t...\n\t\t</div>\n\t</form>\n</template>\n\n<script>\nimport Base from './Base.vue';\n\nexport default {\n\tname: \"mobile-search\",\n\textends: Base\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.mobile-search-form {\n\t.result-group {\n\t\tmargin-bottom: 12px;\n\n\t\timg {\n\t\t\tmax-height: 80px;\n\t\t}\n\t}\n}\n</style>","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MobileSearch.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./MobileSearch.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MobileSearch.vue?vue&type=template&id=49ecac32&scoped=true&\"\nimport script from \"./MobileSearch.vue?vue&type=script&lang=js&\"\nexport * from \"./MobileSearch.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MobileSearch.vue?vue&type=style&index=0&id=49ecac32&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"49ecac32\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('form',{staticClass:\"add-to-cart\",on:{\"submit\":function($event){$event.preventDefault();$event.stopPropagation();}}},[(_vm.product.virtual_deal && _vm.selectedSku && _vm.selectedSku.redemption_start && _vm.selectedSku.redemption_end && _vm.product.product_type.title !== _vm.productTypes.TRAVEL)?_c('p',{staticClass:\"product-valid-dates my-0\"},[_c('strong',[_vm._v(\"Valid From \"+_vm._s(_vm._f(\"formatDate\")(_vm.selectedSku.redemption_start))+\" to \"+_vm._s(_vm._f(\"formatDate\")(_vm.selectedSku.redemption_end)))])]):_vm._e(),(_vm.product.brand)?_c('a',{staticClass:\"product-brand my-2\",attrs:{\"href\":'/brands/view/' + _vm.product.brand.slug}},[_vm._v(\" By \"+_vm._s(_vm.product.brand.title)+\" \")]):_vm._e(),_c('div',{staticClass:\"row mx-auto mx-md-0 price-container mb-3\"},[_c('div',{staticClass:\"col px-0\"},[_c('div',{staticClass:\"price\"},[(_vm.reminder.eligibleProduct)?_c('span',[_vm._v(\" R 0 \"),_vm._m(0)]):_c('span',[_vm._v(\" \"+_vm._s(_vm._f(\"formatCurrency\")(_vm.selectedSku ? this.getSelectedSkuSalePrice() : this.getProductSalePriceBasedOnQty()))+\" \")]),((_vm.selectedSku && _vm.selectedSku.was_price) && (_vm.product.was_price > _vm.product.price) && !_vm.reminder.eligibleProduct)?_c('del',[_vm._v(\" \"+_vm._s(_vm._f(\"formatCurrency\")(_vm.selectedSku ? _vm.selectedSku.was_price : _vm.product.was_price))+\" \")]):(this.lowestWasPrice && !_vm.reminder.eligibleProduct)?_c('del',{key:\"2\"},[_vm._v(\" \"+_vm._s(_vm._f(\"formatCurrency\")(this.lowestWasPrice.was_price))+\" \")]):_vm._e()])]),_vm._t(\"countdown\"),(_vm.product.label)?_c('div',{staticClass:\"col-auto\"},[_c('strong',{staticClass:\"text-uppercase\"},[_vm._v(_vm._s(_vm.product.label.title))])]):_vm._e()],2),(! _vm.isVodapay)?_c('span',{staticClass:\"font-weight-bold\"},[_vm._v(\"Buy now, pay later\")]):_vm._e(),(! _vm.isVodapay)?_c('div',{staticClass:\"border px-3 py-2 container payflex-container mb-3\"},[_c('div',{staticClass:\"row\"},[_vm._m(1),_c('div',{staticClass:\"col align-self-center\"},[_c('payflex-widget',{attrs:{\"amount\":_vm.product.price,\"productViewPage\":true}})],1)])]):_vm._e(),(_vm.showSkuBreakdown)?_c('div',{staticClass:\"card h-auto mw-100 m-0\"},[_c('div',{staticClass:\"card-body\"},_vm._l((_vm.matchingSkus()),function(sku,i){return _c('div',{key:i},[_vm._v(\" \"+_vm._s(sku.code)+\" (\"+_vm._s(sku.description)+\"); Stock: \"+_vm._s(sku.stock_available)+\" \")])}),0)]):_vm._e(),_c('div',{staticClass:\"row mx-auto mx-md-0 modifiers\"},[_vm._l((_vm.modifierMap),function(data,modifierKey){return _c('div',{key:modifierKey,staticClass:\"form-group modifier no-material select col-6\"},[_c('label',{attrs:{\"for\":'modifier-' + data.id,\"id\":'label-modifier-' + data.id}},[_vm._v(\" \"+_vm._s(data.title)+\" \")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(data.selected_modifier_option_id),expression:\"data.selected_modifier_option_id\"}],staticClass:\"w-100 modifier-select\",attrs:{\"id\":'modifier-' + data.id},on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(data, \"selected_modifier_option_id\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},function($event){return _vm.modifierOptionChanged(data.id)}]}},[_c('option',{attrs:{\"value\":\"\",\"selected\":\"\"}}),_vm._l((_vm.modifierOptionsToArray(data)),function(items){return _c('option',{key:items.key,attrs:{\"disabled\":!_vm.isOptionCombinationValid(items.key, data.id)},domProps:{\"value\":items.key}},[_vm._v(\" \"+_vm._s(items.label)+\" \")])})],2)])}),_c('div',{staticClass:\"form-group modifier no-material select col-6\",class:_vm.product.virtual_deal ? 'mb-4' : 'sdaf'},[_c('label',[_vm._v(\" Qty \")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.quantity),expression:\"quantity\"}],staticClass:\"form-control w-100\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.quantity=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.multiplesArray(_vm.product.multiples_of)),function(option){return _c('option',{key:option,attrs:{\"disabled\":!_vm.selectedSku || _vm.selectedSku.stock_available < option},domProps:{\"value\":option}},[_vm._v(\" \"+_vm._s(option)+\" \")])}),0)])],2),_c('div',{staticClass:\"my-0 p-0 mb-3 container\"},[_vm._t(\"default\")],2),(!_vm.product.virtual_deal)?_c('div',{staticClass:\"container delivery-details d-none d-md-block mx-0 px-0\"},[_c('div',{staticClass:\"row my-2\"},[_vm._m(2),_c('div',{staticClass:\"col-md-6 pl-0 pr-0 delivery-text\"},[_vm._v(\" \"+_vm._s(_vm.convertToLowerCase(_vm.product.delivery_time || 'Takes up to 2 weeks'))+\" \")]),_vm._m(3),_vm._m(4)]),_vm._m(5)]):_vm._e(),(_vm.preventVodapayAddToCart)?_c('div',{staticClass:\"vodapay-info-block p-3\"},[(_vm.vodapayInitData)?_c('vodapay-url',{staticClass:\"link-hover-green bold\",attrs:{\"app-id\":_vm.vodapayInitData.appId,\"adjust-key\":_vm.vodapayInitData.adjustKey,\"type\":\"product\",\"product-slug\":_vm.product.slug,\"url-title\":\"Open in app\",\"show-image\":false}}):_vm._e()],1):((_vm.modifierMap.length >= 1 || _vm.product.skus.length == 1) && !_vm.isProductOutOfStock)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-6\"},[_c('span',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:((_vm.preventAddToCart || _vm.showTooltip) || null),expression:\"(preventAddToCart || showTooltip) || null\"}],staticClass:\"btn btn-secondary w-100 font-weight-bold px-0 mt-3\",attrs:{\"disabled\":_vm.preventAddToCart,\"id\":\"add-to-cart-btn\"},on:{\"click\":function($event){!_vm.preventAddToCart ? _vm.addToCart() : ''}}},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[(_vm.addInProgress)?_c('img',{key:\"1\",attrs:{\"src\":\"/img/loading.svg\"}}):(_vm.showAddedFeedback)?_c('span',{key:\"2\"},[_c('i',{staticClass:\"fas fa-check mr-1\"}),_vm._v(\" Added to Cart \")]):(_vm.preventVodacomAddToCart)?_c('span',{key:\"3\"},[_vm._v(\" Redemption Code Required \")]):(_vm.preventAddToCart && !_vm.minimumQtyAllowedError)?_c('span',{key:\"4\"},[_vm._v(\" Select Option \")]):(_vm.preventAddToCart && _vm.minimumQtyAllowedError)?_c('span',{key:\"5\"},[_vm._v(\" \"+_vm._s(_vm.minimumQtyAllowedError)+\" \")]):_c('span',{key:\"6\"},[_c('i',{staticClass:\"fas fa-shopping-bag mr-1\"}),_vm._v(\" Add to Bag \")])])],1)]),(_vm.product.product_type_id == 2)?_c('div',{staticClass:\"col-md-6\"},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[_c('a',{staticClass:\"travel-enquiry-button\",attrs:{\"href\":`/travel-enquiry/${ _vm.product.id }`,\"target\":\"_blank\"}},[_vm._v(\" Request A Quote \")])])],1):_c('div',{staticClass:\"col-md-6\"},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[(_vm.showCartLink)?_c('a',{staticClass:\"btn btn-outline-primary w-100 font-weight-bold mt-3\",attrs:{\"href\":\"/cart\"}},[_c('i',{staticClass:\"fas fa-arrow-right mr-1\"}),_vm._v(\" Go to Cart \")]):_vm._e()])],1),(_vm.showReminder)?_c('div',{class:`col-md-12 ${_vm.showReminderBar}`,attrs:{\"data-component\":\"redemptionReminder\"}},[_c('a',{staticClass:\"btn px-1 btn-outline redemption-reminder-link w-100 font-weight-bold\",style:(_vm.reminder.barLinkStyle),attrs:{\"href\":`/redemption-codes/${ _vm.reminder.slug }`}},[(_vm.reminder.name)?_c('div',[_vm._v(\" USE ANOTHER \"+_vm._s(_vm.reminder.name)+\" CODE \")]):_c('div',[_vm._v(\" USE ANOTHER REDEMPTION CODE \")])])]):_vm._e(),(_vm.showCartLink)?_c('div',{staticClass:\"col-md-12\"},[_vm._m(6)]):_vm._e()]):_c('div',[_vm._m(7)])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"vodabuck-text\"},[_c('img',{staticClass:\"vodabucks-logo m-2\",attrs:{\"src\":\"/img/vodabucks-logo.png\",\"alt\":\"VodaBucks Logo\"}}),_c('p',{staticClass:\"vodabucks-text\"},[_vm._v(\" VodaBucks Purchase \")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"col col-auto d-flex\"},[_c('img',{staticClass:\"payment-vendor-logo align-self-center\",attrs:{\"src\":\"/img/payflex-logo.png\",\"alt\":\"Pay Flex Logo\"}})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"col-md-3 col-lg-2\"},[_c('strong',[_vm._v(\"Delivery\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"col-md-2 text-left pl-0 ml-0\"},[_c('i',{staticClass:\"fa fa-question-circle question-circle\",attrs:{\"data-toggle\":\"modal\",\"data-target\":\"#deliveryModal\"}})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"modal fade\",attrs:{\"id\":\"deliveryModal\",\"tabindex\":\"-1\",\"role\":\"dialog\",\"aria-labelledby\":\"deliveryModalLabel\",\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"modal-dialog\",attrs:{\"role\":\"document\"}},[_c('div',{staticClass:\"modal-content\"},[_c('div',{staticClass:\"modal-header\"},[_c('button',{staticClass:\"close\",attrs:{\"type\":\"button\",\"data-dismiss\":\"modal\",\"aria-label\":\"Close\"}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])]),_c('div',{staticClass:\"modal-body px-0\"},[_c('p',{staticClass:\"h3 text-info\"},[_vm._v(\"Delivery\")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\"Flutta sells their own products, as well as products from The Pro Shop and Cycle Lab. In some cases, your order will be shipped from multiple warehouses, meaning that there will be multiple charges for shipping.\")])])])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"row my-2\"},[_c('div',{staticClass:\"col-md-3 col-lg-2\"},[_c('strong',[_vm._v(\"Returns\")])]),_c('div',{staticClass:\"col-md-6 pl-0 pr-0\"},[_vm._v(\" Exchange or return within 7 days \")]),_c('div',{staticClass:\"col-md-2 text-left pl-0 ml-0\"},[_c('i',{staticClass:\"fa fa-question-circle question-circle\",attrs:{\"data-toggle\":\"modal\",\"data-target\":\"#returnsModal\"}})]),_c('div',{staticClass:\"modal fade\",attrs:{\"id\":\"returnsModal\",\"tabindex\":\"-1\",\"role\":\"dialog\",\"aria-labelledby\":\"returnsModalLabel\",\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"modal-dialog\",attrs:{\"role\":\"document\"}},[_c('div',{staticClass:\"modal-content\"},[_c('div',{staticClass:\"modal-header\"},[_c('button',{staticClass:\"close\",attrs:{\"type\":\"button\",\"data-dismiss\":\"modal\",\"aria-label\":\"Close\"}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])]),_c('div',{staticClass:\"modal-body px-0\"},[_c('p',{staticClass:\"h3 text-info\"},[_vm._v(\"Criteria for return requests\")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\"Requests for returns must be logged within 7 working days of the delivery date.\")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\"Flutta will, from 15 December, accept requests for returns until 11 January.\")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\"Item/s must be in a re-sellable condition.\")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\"Item/s must be in their original packaging, with labels attached, undamaged.\")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\"​In the event, the item/s being returned is due to no error on Flutta's side, a collection & replacement charge might be levied. The Flutta customer service team will use their discretion to evaluate whether these fees may be waivered.\")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\"For more Returns related information - \"),_c('a',{staticClass:\"text-secondary font-weight-bold\",attrs:{\"href\":\"/shipping-and-delivery\"}},[_vm._v(\"Returns & Exchanges\")])])])])])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('a',{staticClass:\"btn btn-secondary mt-3 text-uppercase w-100\",attrs:{\"href\":\"/checkout\"}},[_c('i',{staticClass:\"fas fa-lock mr-1\"}),_vm._v(\" Checkout \")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"row ml-0 mr-2 pr-2\"},[_c('button',{staticClass:\"col-12 col-md-6 btn btn-primary w-100 mb-3 w-100 font-weight-bold out-of-stock\",attrs:{\"disabled\":\"\",\"title\":\"Out of stock\"}},[_vm._v(\" Out of stock \")])])\n}]\n\nexport { render, staticRenderFns }","<script>\n\timport { mapGetters } from 'vuex'\n\timport { each } from 'lodash';\n\n\texport default {\n\t\tcomputed: {\n\t\t\t...mapGetters(['cart']),\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tbusy: false\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tremoveItem(id, skuCode, quantity = 1, redemptionRemove = false) {\n\t\t\t\tif (this.busy) return;\n\n\t\t\t\tconst isAllVirtualBeforeDelete = this.cart.order_line_items.every(item => item.virtual_deal === false);\n\n\t\t\t\tthis.$store.dispatch('removeFromCart', {sku_code: skuCode, quantity: quantity, line_item_id: id});\n\n\t\t\t\tif (redemptionRemove) {\n\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\twindow.location = ('/redemption-codes/vodacom?redemption_code=' + redemptionRemove);\n\t\t\t\t\t}, 2000);\n\t\t\t\t}\n\n\t\t\t\tconst orderLineItems = this.cart.order_line_items.filter(item => item.sku_code != skuCode);\n\t\t\t\tconst isVirtualProductsOnly = orderLineItems.every(item => item.virtual_deal === true);\n\n\t\t\t\tif (!isAllVirtualBeforeDelete && isVirtualProductsOnly) {\n\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\tlocation.reload();\n\t\t\t\t\t}, 2000);\n\t\t\t\t}\n\t\t\t},\n\t\t\tquantityChanged(skuCode, quantity, merchant) {\n\t\t\t\tif (this.busy) return;\n\n\t\t\t\tvar totalQuantity = 0;\n\t\t\t\teach(this.cart.order_line_items, lineItem => {\n\t\t\t\t\tif (lineItem.sku_code == skuCode && lineItem.merchant == merchant) {\n\t\t\t\t\t\ttotalQuantity += parseInt(lineItem.quantity);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tthis.$store.dispatch('addToCart', {\n\t\t\t\t\tsku_code: skuCode,\n\t\t\t\t\tmerchant: merchant,\n\t\t\t\t\tquantity: totalQuantity\n\t\t\t\t});\n\t\t\t},\n\t\t\tavailableQtyOptions(lineItem, skus) {\n\t\t\t\tlet quantities = [], options = [], foundSku = null;\n\n\t\t\t\tif (lineItem.multiples_of) {\n\t\t\t\t\tquantities = this.multiplesArray(lineItem.multiples_of);\n\t\t\t\t} else {\n\t\t\t\t\tquantities = [1,2,3,4,5,6,7,8,9,10];\n\t\t\t\t}\n\n\t\t\t\teach(skus, sku => {\n\t\t\t\t\tif (sku.code == lineItem.sku_code) {\n\t\t\t\t\t\tfoundSku = sku;\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t\teach(quantities, value => {\n\t\t\t\t\toptions.push({\n\t\t\t\t\t\tvalue,\n\t\t\t\t\t\thas_stock: foundSku && foundSku.stock_available >= value\n\t\t\t\t\t});\n\t\t\t\t});\n\n\t\t\t\treturn options;\n\t\t\t},\n\t\t\tmultiplesArray(multiples_of) {\n\t\t\t\tlet multiplesArray = [];\n\t\t\t\tlet i = 1;\n\t\t\t\tlet multiple_of = multiples_of ? multiples_of : 1\n\n\t\t\t\tfor (i = 1; i < 11; i++) {\n\t\t\t\t\tlet multiple = parseInt(multiple_of) * i;\n\t\t\t\t\tmultiplesArray.push(multiple);\n\t\t\t\t}\n\n\t\t\t\treturn multiplesArray;\n\t\t\t},\n\t\t}\n\t}\n</script>","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Base.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Base.vue?vue&type=script&lang=js&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"payflex-widget\"},[(_vm.productViewPage)?_c('span',{staticClass:\"payflex pt-1 text-uppercase\",attrs:{\"id\":\"payFlexText\"},on:{\"click\":_vm.showPayFlexDialog}},[_vm._v(\"Only \"),(_vm.payFlexText)?_c('span',[_vm._v(\" \"+_vm._s(_vm.payFlexText)+\" \")]):_vm._e(),_vm._v(\" X 4 interest free payments \"),_c('a',{staticClass:\"text-blue text-capitalize text-underline ml-md-1\"},[_vm._v(\"Learn More\")])]):_c('span',{staticClass:\"payflex pt-1\",attrs:{\"id\":\"payFlexText\"},on:{\"click\":_vm.showPayFlexDialog}},[_vm._v(\"Split into 4x interest-free payments \"),(_vm.payFlexText)?_c('span',[_vm._v(\"of \"+_vm._s(_vm.payFlexText))]):_vm._e(),_vm._v(\" \"),_c('a',{staticClass:\"text-blue text-underline ml-md-1\"},[_vm._v(\"Learn More\")])]),_c('div',{staticClass:\"payflex-widget-original\"},[_c('script',{attrs:{\"async\":\"\",\"src\":`https://widgets.payflex.co.za/your-merchant-name/partpay-widget-0.1.1.js?type=calculator&amount=${_vm.amount}`,\"type\":\"application/javascript\"}})])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"payflex-widget\">\n        <span v-if=\"productViewPage\" id=\"payFlexText\" v-on:click=\"showPayFlexDialog\" class=\"payflex pt-1 text-uppercase\" >Only&nbsp;<span v-if=\"payFlexText\"> {{ payFlexText }} </span>&nbsp;X 4 interest free payments <a class=\"text-blue text-capitalize text-underline ml-md-1\">Learn More</a></span>\n        <span v-else id=\"payFlexText\" v-on:click=\"showPayFlexDialog\" class=\"payflex pt-1\" >Split into 4x interest-free payments&nbsp;<span v-if=\"payFlexText\">of {{ payFlexText }}</span> <a class=\"text-blue text-underline ml-md-1\">Learn More</a></span>\n\n        <div class=\"payflex-widget-original\">\n            <script async :src=\"`https://widgets.payflex.co.za/your-merchant-name/partpay-widget-0.1.1.js?type=calculator&amount=${amount}`\" type=\"application/javascript\"></script>\n        </div>\n\t</div>\n</template>\n\n<script>\n\nexport default {\n\tname: \"payflex-widget\",\n    props: {\n\t\tamount: { type: Number },\n        productViewPage: { type: Boolean },\n    },\n    data() {\n        return {\n            payFlexText: '',\n        }\n    },\n    mounted() {\n        let getPayFlex = () => {\n            let textElement = document.getElementById('partPayCalculatorWidgetTextFromCopy');\n            if (textElement) {\n                let payFlexAmount = textElement.innerText.match(/R[0-9]+.?[0-9]*/i)[0];\n\n                this.payFlexText = payFlexAmount;\n            }\n        }\n\n        // PayFlex only returns data if amount variable is between 50 and 20000\n        if (this.amount > 50 && this.amount < 20000) {\n            let interval = setInterval(getPayFlex, 1000);\n\n            setTimeout(() => {\n                clearInterval(interval);\n            }, 10000)\n        }\n    },\n\tmethods: {\n        showPayFlexDialog(ev) {\n            ev.preventDefault();\n\n            let body = $('body');\n            let dialog = $('#partPayCalculatorWidgetDialog').show();\n            body.addClass(\"partPayWidgetDialogVisible\");\n\n            let button = dialog\n                .find(\"#partPayCalculatorWidgetDialogClose\")\n                .on('click', function(e) {\n                    e.preventDefault();\n                    dialog.hide();\n                    body.removeClass(\"partPayWidgetDialogVisible\");\n\n                    // Put back on the widget.\n                    $('#partPayCalculatorWidgetDialog').append(dialog);\n                });\n\n            body.append(dialog);\n        },\n\t}\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/scss/_custom.scss';\n\n.payflex-widget {\n    #payFlexText {\n        a {\n            color: $blue;\n            text-decoration: underline;\n\n            &:hover {\n                cursor: pointer;\n            }\n        }\n    }\n}\n\n.payflex-widget-original {\n    display: none;\n}\n\n</style>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Payflex.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Payflex.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Payflex.vue?vue&type=template&id=4247d861&scoped=true&\"\nimport script from \"./Payflex.vue?vue&type=script&lang=js&\"\nexport * from \"./Payflex.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Payflex.vue?vue&type=style&index=0&id=4247d861&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"4247d861\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('a',{class:_vm.vodapayUrl ? '' : 'disable-link',attrs:{\"href\":_vm.vodapayUrl,\"target\":\"_blank\"}},[(_vm.urlTitle)?_c('div',{staticClass:\"d-inline\"},[_vm._v(_vm._s(_vm.urlTitle))]):_vm._e(),(_vm.showImage)?_c('img',{staticClass:\"d-inline ml-1\",attrs:{\"src\":\"/img/vodapay_logo.svg\",\"height\":\"20\"}}):_vm._e(),(_vm.isProcessing && !_vm.vodapayUrl)?_c('small',{staticClass:\"d-inline\"},[_c('img',{key:\"1\",attrs:{\"src\":\"/img/loading.svg\",\"height\":\"15\"}})]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<a :href=\"vodapayUrl\" :class=\"vodapayUrl ? '' : 'disable-link'\" target=\"_blank\">\n\t\t<div v-if=\"urlTitle\" class=\"d-inline\">{{ urlTitle }}</div>\n\t\t<img v-if=\"showImage\" src=\"/img/vodapay_logo.svg\" height=20 class=\"d-inline ml-1\" />\n\t\t<small v-if=\"isProcessing && !vodapayUrl\" class=\"d-inline\">\n\t\t\t<img src=\"/img/loading.svg\" key=\"1\" height=15>\n\t\t</small>\n\t</a>\n</template>\n<script>\nimport Cookies from 'js-cookie';\nimport axios from 'axios';\nconst axiosInstance = axios.create({headers: {\"X-CSRF-Token\": Cookies.get(\"csrfToken\")}});\n\nexport default {\n\tname: \"vodapay-url\",\n\tprops: {\n\t\tappId: { type: String, required: true, },\n\t\tadjustKey: { type: String, required: true, },\n\t\ttype: { type: String, required: true, },\n\t\tproductSlug: { type: String, required: false, },\n\t\tcategoryRoute: { type: String, required: false, },\n\t\tcollectionSlug: { type: String, required: false, },\n\t\torderHash: { type: String, required: false, },\n\t\turlTitle: { type: String, required: false, },\n\t\tshowImage: { type: Boolean, required: false, default: true },\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tvodapayUrl: null,\n\t\t\tisProcessing: false,\n\t\t}\n\t},\n\tmounted() {\n\t\tthis.generateUrl()\n\t},\n\tcomputed: {\n\t\tstartUrl() {\n\t\t\tswitch (this.type) {\n\t\t\t\tcase 'product':\n\t\t\t\t\treturn this.productSlug ? `/product/${this.productSlug}` : null\n\t\t\t\tcase 'categories':\n\t\t\t\t\treturn this.categoryRoute ? `/category/${this.categoryRoute}` : null;\n\t\t\t\tcase 'collection':\n\t\t\t\t\treturn this.collectionSlug ? `/collections/view/${this.collectionSlug}` : null;\n\t\t\t\tcase 'order':\n\t\t\t\t\treturn this.orderHash ? `/pay/${this.orderHash}` : null\n\t\t\t\tdefault:\n\t\t\t\t\treturn null\n\t\t\t}\n\t\t}\n\t},\n\tmethods: {\n\t\tgenerateUrl() {\n\t\t\tif (!this.appId || !this.adjustKey) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tif (! this.startUrl) return\n\n\t\t\tthis.isProcessing = true\n\n\t\t\tconst deepLinkUrl = new URL('vodapaywallet://deeplink.htm')\n\t\t\tdeepLinkUrl.searchParams.set('action', 'miniapp')\n\t\t\tdeepLinkUrl.searchParams.set('miniappId', this.appId)\n\t\t\tdeepLinkUrl.searchParams.set('query', `startUrl=${this.startUrl}`)\n\n\t\t\tconst adjustUrl = new URL('https://app.adjust.com/' + this.adjustKey)\n\t\t\tadjustUrl.searchParams.set('deep_link', deepLinkUrl.toString())\n\n\t\t\taxiosInstance.post(\"https://api-ssl.bitly.com/v4/shorten\", {\n\t\t\t\t\tdomain: 'bit.ly',\n\t\t\t\t\tlong_url: adjustUrl\n\t\t\t\t}, {\n\t\t\t\t\theaders: {\n\t\t\t\t\t\t'authorization': 'Bearer 60dbd945e24541af142635d5041ff67b3c41e1bf',\n\t\t\t\t\t\t'Content-type': 'application/json',\n\t\t\t\t\t},\n\t\t\t\t})\n\t\t\t\t.then(request => {\n\t\t\t\t\tconst results = request.data\n\t\t\t\t\tthis.vodapayUrl = results.link || null\n\t\t\t\t})\n\t\t\t\t.catch(function (error) {\n\t\t\t\t\t// handle error?\n\t\t\t\t\treturn false\n\t\t\t\t})\n\t\t\t\t.finally(() => { this.isProcessing = false });\n\t\t},\n\t},\n}\n</script>\n<style lang=\"scss\" scoped>\n@import '@/scss/custom.scss';\n\na.disable-link {\n\tpointer-events: none;\n\tcursor: default;\n\n\t&:hover {\n\t\tcolor: $green;\n\t\ttext-decoration: none;\n\t}\n}\n</style>","var render, staticRenderFns\nimport script from \"./CartHelper.vue?vue&type=script&lang=js&\"\nexport * from \"./CartHelper.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VodapayUrl.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VodapayUrl.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./VodapayUrl.vue?vue&type=template&id=09f1a61b&scoped=true&\"\nimport script from \"./VodapayUrl.vue?vue&type=script&lang=js&\"\nexport * from \"./VodapayUrl.vue?vue&type=script&lang=js&\"\nimport style0 from \"./VodapayUrl.vue?vue&type=style&index=0&id=09f1a61b&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"09f1a61b\",\n  null\n  \n)\n\nexport default component.exports","<script>\nimport { each, isEmpty } from 'lodash';\nimport { mapGetters } from 'vuex';\n\nexport default {\n\tmethods: {\n\t\tgaAddToCart(product, addToCartQty) {\n\t\t\tif (isEmpty(product) || !addToCartQty) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tdataLayer.push({\n\t\t\t\t'event': 'addToCart',\n\t\t\t\t'ecommerce': {\n\t\t\t\t\t'currencyCode': 'ZAR',\n\t\t\t\t\t'add': {\n\t\t\t\t\t'products': [{\n\t\t\t\t\t\t'name': product.title,\n\t\t\t\t\t\t'id': product.code,\n\t\t\t\t\t\t'price': product.promo_price ? product.promo_price : product.price,\n\t\t\t\t\t\t'brand': product.brand.title,\n\t\t\t\t\t\t'quantity': addToCartQty,\n\t\t\t\t\t}]\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t// Capture GA4 event\n\t\t\tlet gaCategories = this.product.categories[this.product.categories.length-1] ?? null\n\n\t\t\tdataLayer.push({\n\t\t\t\t'event': 'add_to_cart',\n\t\t\t\t'ecommerce': {\n\t\t\t\t\t'items': [\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t'item_name': product.title,\n\t\t\t\t\t\t\t'item_id': product.code,\n\t\t\t\t\t\t\t'price': product.promo_price ? product.promo_price : product.price,\n\t\t\t\t\t\t\t'currency': 'ZAR',\n\t\t\t\t\t\t\t'item_brand': isEmpty(product.brand) ? '' : product.brand.title,\n\t\t\t\t\t\t\t'item_category': ((!isEmpty(gaCategories) && !isEmpty(gaCategories.hierarchy[0])) ? gaCategories.hierarchy[0].title : ''),\n\t\t\t\t\t\t\t'item_category_2': ((!isEmpty(gaCategories) && !isEmpty(gaCategories.hierarchy[1])) ? gaCategories.hierarchy[1].title : '' ),\n\t\t\t\t\t\t\t'item_category_3': ((!isEmpty(gaCategories) && !isEmpty(gaCategories.hierarchy[2])) ? gaCategories.hierarchy[2].title : ''),\n\t\t\t\t\t\t\t'quantity': addToCartQty,\n\t\t\t\t\t\t}\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n}\n</script>\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CartHelper.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CartHelper.vue?vue&type=script&lang=js&\"","<template>\n\t<form @submit.prevent.stop class=\"add-to-cart\">\n\t\t<p v-if=\"product.virtual_deal && selectedSku && selectedSku.redemption_start && selectedSku.redemption_end && product.product_type.title !== productTypes.TRAVEL\" class=\"product-valid-dates my-0\">\n\t\t\t<strong>Valid From {{ selectedSku.redemption_start | formatDate }} to {{ selectedSku.redemption_end | formatDate }}</strong>\n\t\t</p>\n\t\t<a v-if=\"product.brand\" :href=\"'/brands/view/' + product.brand.slug\" class=\"product-brand my-2\">\n\t\t\tBy {{ product.brand.title }}\n\t\t</a>\n\t\t<div class=\"row mx-auto mx-md-0 price-container mb-3\">\n\t\t\t<div class=\"col px-0\">\n\t\t\t\t<div class=\"price\">\n\t\t\t\t\t<span v-if=\"reminder.eligibleProduct\">\n\t\t\t\t\t\tR 0 \n\t\t\t\t\t\t<span class=\"vodabuck-text\">\n\t\t\t\t\t\t\t<img src=\"/img/vodabucks-logo.png\" alt=\"VodaBucks Logo\" class=\"vodabucks-logo m-2\">\n\t\t\t\t\t\t\t<p class=\"vodabucks-text\">\n\t\t\t\t\t\t\t\tVodaBucks Purchase\n\t\t\t\t\t\t\t</p>\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</span>\n\t\t\t\t\t<span v-else>\n\t\t\t\t\t\t{{ selectedSku ? this.getSelectedSkuSalePrice() : this.getProductSalePriceBasedOnQty() | formatCurrency }}\n\t\t\t\t\t</span>\n\t\t\t\t\t<del v-if=\"(selectedSku && selectedSku.was_price) && (product.was_price > product.price) && !reminder.eligibleProduct\">\n\t\t\t\t\t\t{{ selectedSku ? selectedSku.was_price : product.was_price | formatCurrency }}\n\t\t\t\t\t</del>\n\t\t\t\t\t<del v-else-if=\"this.lowestWasPrice && !reminder.eligibleProduct\" key=\"2\">\n\t\t\t\t\t\t{{ this.lowestWasPrice.was_price | formatCurrency }}\n\t\t\t\t\t</del>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t\t<slot name=\"countdown\"></slot>\n\n\t\t\t<div v-if=\"product.label\" class=\"col-auto\">\n\t\t\t\t<strong class=\"text-uppercase\">{{ product.label.title }}</strong>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<span v-if=\"! isVodapay\" class=\"font-weight-bold\">Buy now, pay later</span>\n\n\t\t<div v-if=\"! isVodapay\" class=\"border px-3 py-2 container payflex-container mb-3\">\n\t\t\t<div class=\"row\">\n\t\t\t\t<div class=\"col col-auto d-flex\">\n\t\t\t\t\t<img src=\"/img/payflex-logo.png\" alt=\"Pay Flex Logo\" class=\"payment-vendor-logo align-self-center\">\n\t\t\t\t</div>\n\t\t\t\t<div class=\"col align-self-center\">\n\t\t\t\t\t<payflex-widget :amount=\"product.price\" :productViewPage=\"true\" ></payflex-widget>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<!-- VERY USEFUL FOR DEBUGGING WHICH SKUS MATCH THE SELECTED MODIFIERS -->\n\t\t<div v-if=\"showSkuBreakdown\" class=\"card h-auto mw-100 m-0\">\n\t\t\t<div class=\"card-body\">\n\t\t\t\t<div v-for=\"(sku, i) in matchingSkus()\" :key=\"i\">\n\t\t\t\t\t{{ sku.code }} ({{ sku.description }}); Stock: {{ sku.stock_available }}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div class=\"row mx-auto mx-md-0 modifiers\">\n\t\t\t<div v-for=\"(data, modifierKey) in modifierMap\" :key=\"modifierKey\" class=\"form-group modifier no-material select col-6\">\n\t\t\t\t<label :for=\"'modifier-' + data.id\" :id=\"'label-modifier-' + data.id\">\n\t\t\t\t\t{{ data.title }}\n\t\t\t\t</label>\n\n\t\t\t\t<select\n\t\t\t\t\t:id=\"'modifier-' + data.id\"\n\t\t\t\t\tclass=\"w-100 modifier-select\"\n\t\t\t\t\tv-model=\"data.selected_modifier_option_id\"\n\t\t\t\t\t@change=\"modifierOptionChanged(data.id)\"\n\t\t\t\t>\n\t\t\t\t\t<option value selected></option>\n\n\t\t\t\t\t<option\n\t\t\t\t\t\tv-for=\"items in modifierOptionsToArray(data)\"\n\t\t\t\t\t\t:key=\"items.key\"\n\t\t\t\t\t\t:value=\"items.key\"\n\t\t\t\t\t\t:disabled=\"!isOptionCombinationValid(items.key, data.id)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t{{ items.label }}\n\t\t\t\t\t</option>\n\t\t\t\t</select>\n\t\t\t</div>\n\n\t\t\t<div class=\"form-group modifier no-material select col-6\" :class=\"product.virtual_deal ? 'mb-4' : 'sdaf'\">\n\t\t\t\t<label>\n\t\t\t\t\tQty\n\t\t\t\t</label>\n\n\t\t\t\t<select v-model=\"quantity\" class=\"form-control w-100\">\n\t\t\t\t\t<option\n\t\t\t\t\t\tv-for=\"(option) in multiplesArray(product.multiples_of)\"\n\t\t\t\t\t\t:key=\"option\" :value=\"option\"\n\t\t\t\t\t\t:disabled=\"!selectedSku || selectedSku.stock_available < option\"\n\t\t\t\t\t>\n\t\t\t\t\t\t{{ option }}\n\t\t\t\t\t</option>\n\t\t\t\t</select>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div class=\"my-0 p-0 mb-3 container\"><slot></slot></div>\n\n\t\t<div v-if=\"!product.virtual_deal\" class=\"container delivery-details d-none d-md-block mx-0 px-0\">\n\t\t\t<div class=\"row my-2\">\n\t\t\t\t<div class=\"col-md-3 col-lg-2\">\n\t\t\t\t\t<strong>Delivery</strong>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"col-md-6 pl-0 pr-0 delivery-text\">\n\t\t\t\t\t{{ convertToLowerCase(product.delivery_time || 'Takes up to 2 weeks') }}\n\t\t\t\t</div>\n\t\t\t\t<div class=\"col-md-2 text-left pl-0 ml-0\">\n\t\t\t\t\t<i class=\"fa fa-question-circle question-circle\" data-toggle=\"modal\" data-target=\"#deliveryModal\"></i>\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"modal fade\" id=\"deliveryModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"deliveryModalLabel\" aria-hidden=\"true\">\n\t\t\t\t\t<div class=\"modal-dialog\" role=\"document\">\n\t\t\t\t\t\t<div class=\"modal-content\">\n\t\t\t\t\t\t\t<div class=\"modal-header\">\n\t\t\t\t\t\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n\t\t\t\t\t\t\t\t\t<span aria-hidden=\"true\">&times;</span>\n\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\t<div class=\"modal-body px-0\">\n\t\t\t\t\t\t\t\t<p class=\"h3 text-info\">Delivery</p>\n\t\t\t\t\t\t\t\t<p class=\"text-left\">Flutta sells their own products, as well as products from The Pro Shop and Cycle Lab. In some cases, your order will be shipped from multiple warehouses, meaning that there will be multiple charges for shipping.</p>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t\t<div class=\"row my-2\">\n\t\t\t\t<div class=\"col-md-3 col-lg-2\">\n\t\t\t\t\t<strong>Returns</strong>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"col-md-6 pl-0 pr-0\">\n\t\t\t\t\tExchange or return within 7 days\n\t\t\t\t</div>\n\t\t\t\t<div class=\"col-md-2 text-left pl-0 ml-0\">\n\t\t\t\t\t<i class=\"fa fa-question-circle question-circle\" data-toggle=\"modal\" data-target=\"#returnsModal\"></i>\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"modal fade\" id=\"returnsModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"returnsModalLabel\" aria-hidden=\"true\">\n\t\t\t\t\t<div class=\"modal-dialog\" role=\"document\">\n\t\t\t\t\t\t<div class=\"modal-content\">\n\t\t\t\t\t\t\t<div class=\"modal-header\">\n\t\t\t\t\t\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n\t\t\t\t\t\t\t\t\t<span aria-hidden=\"true\">&times;</span>\n\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class=\"modal-body px-0\">\n\t\t\t\t\t\t\t\t<p class=\"h3 text-info\">Criteria for return requests</p>\n\t\t\t\t\t\t\t\t<p class=\"text-left\">Requests for returns must be logged within 7 working days of the delivery date.</p>\n\t\t\t\t\t\t\t\t<p class=\"text-left\">Flutta will, from 15 December, accept requests for returns until 11 January.</p>\n\t\t\t\t\t\t\t\t<p class=\"text-left\">Item/s must be in a re-sellable condition.</p>\n\t\t\t\t\t\t\t\t<p class=\"text-left\">Item/s must be in their original packaging, with labels attached, undamaged.</p>\n\t\t\t\t\t\t\t\t<p class=\"text-left\">​In the event, the item/s being returned is due to no error on Flutta's side, a collection & replacement charge might be levied. The Flutta customer service team will use their discretion to evaluate whether these fees may be waivered.</p>\n\t\t\t\t\t\t\t\t<p class=\"text-left\">For more Returns related information - <a href=\"/shipping-and-delivery\" class=\"text-secondary font-weight-bold\">Returns & Exchanges</a> </p>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div v-if=\"preventVodapayAddToCart\" class=\"vodapay-info-block p-3\">\n\t\t\t<vodapay-url\n\t\t\t\tv-if=\"vodapayInitData\"\n\t\t\t\t:app-id='vodapayInitData.appId'\n\t\t\t\t:adjust-key='vodapayInitData.adjustKey'\n\t\t\t\ttype='product'\n\t\t\t\t:product-slug='product.slug'\n\t\t\t\turl-title='Open in app'\n\t\t\t\t:show-image=false\n\t\t\t\tclass='link-hover-green bold'\n\t\t\t></vodapay-url>\n\t\t</div>\n\t\t<div v-else-if=\"(modifierMap.length >= 1 || product.skus.length == 1) && !isProductOutOfStock\" class=\"row\">\n\t\t\t<div class=\"col-md-6\">\n\t\t\t\t<span\n\t\t\t\t\t@click=\"!preventAddToCart ? addToCart() : ''\" :disabled=\"preventAddToCart\"\n\t\t\t\t\tv-tooltip=\"(preventAddToCart || showTooltip) || null\"\n\t\t\t\t\tclass=\"btn btn-secondary w-100 font-weight-bold px-0 mt-3\"\n\t\t\t\t\tid=\"add-to-cart-btn\"\n\t\t\t\t>\n\t\t\t\t\t<transition name=\"fade\" mode=\"out-in\">\n\t\t\t\t\t\t<img v-if=\"addInProgress\" src=\"/img/loading.svg\" key=\"1\">\n\n\t\t\t\t\t\t<span v-else-if=\"showAddedFeedback\" key=\"2\">\n\t\t\t\t\t\t\t<i class=\"fas fa-check mr-1\"></i>\n\t\t\t\t\t\t\tAdded to Cart\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t<span v-else-if=\"preventVodacomAddToCart\" key=\"3\">\n\t\t\t\t\t\t\tRedemption Code Required\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t<span v-else-if=\"preventAddToCart && !minimumQtyAllowedError\" key=\"4\">\n\t\t\t\t\t\t\tSelect Option\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t<span v-else-if=\"preventAddToCart && minimumQtyAllowedError\" key=\"5\">\n\t\t\t\t\t\t\t{{ minimumQtyAllowedError }}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t<span v-else key=\"6\">\n\t\t\t\t\t\t\t<i class=\"fas fa-shopping-bag mr-1\"></i>\n\t\t\t\t\t\t\tAdd to Bag\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</transition>\n\t\t\t\t</span>\n\t\t\t</div>\n\n\t\t\t<div v-if=\"product.product_type_id == 2\" class=\"col-md-6\">\n\t\t\t\t<transition name=\"fade\" mode=\"out-in\">\n\t\t\t\t\t<a :href=\"`/travel-enquiry/${ product.id }`\" target=\"_blank\" class=\"travel-enquiry-button\">\n\t\t\t\t\t\tRequest A Quote\n\t\t\t\t\t</a>\n\t\t\t\t</transition>\n\t\t\t</div>\n\n\t\t\t<div v-else class=\"col-md-6\">\n\t\t\t\t<transition name=\"fade\" mode=\"out-in\">\n\t\t\t\t\t<a v-if=\"showCartLink\" href=\"/cart\" class=\"btn btn-outline-primary w-100 font-weight-bold mt-3\">\n\t\t\t\t\t\t<i class=\"fas fa-arrow-right mr-1\"></i>\n\t\t\t\t\t\tGo to Cart\n\t\t\t\t\t</a>\n\t\t\t\t</transition>\n\t\t\t</div>\n\t\t\t<div v-if=\"showReminder\" data-component=\"redemptionReminder\" :class=\"`col-md-12 ${showReminderBar}`\"><a class=\"btn px-1 btn-outline redemption-reminder-link w-100 font-weight-bold\" :href=\"`/redemption-codes/${ reminder.slug }`\" :style=\"reminder.barLinkStyle\">\n\t\t\t\t<div v-if=\"reminder.name\">\n\t\t\t\t\tUSE ANOTHER {{ reminder.name }} CODE\n\t\t\t\t</div>\n\t\t\t\t<div v-else>\n\t\t\t\t\tUSE ANOTHER REDEMPTION CODE\n\t\t\t\t</div>\n\t\t\t\t</a>\n\t\t\t</div>\n\t\t\t<div v-if=\"showCartLink\" class=\"col-md-12\">\n\t\t\t\t<a href=\"/checkout\" class=\"btn btn-secondary mt-3 text-uppercase w-100\">\n\t\t\t\t\t<i class=\"fas fa-lock mr-1\"></i>\n\t\t\t\t\tCheckout\n\t\t\t\t</a>\n\t\t\t</div>\n\t\t</div>\n\t\t<div v-else>\n\t\t\t<div class=\"row ml-0 mr-2 pr-2\">\n\t\t\t\t<button disabled title=\"Out of stock\" class=\"col-12 col-md-6 btn btn-primary w-100 mb-3 w-100 font-weight-bold out-of-stock\">\n\t\t\t\t\tOut of stock\n\t\t\t\t</button>\n\t\t\t</div>\n\t\t</div>\n\t</form>\n</template>\n\n<script>\nimport { each, chunk, forIn, sortBy, isInteger, isString, findIndex, differenceWith, isEqual, first } from 'lodash';\nimport { mapGetters } from 'vuex';\nimport BaseCart from './cart/Base.vue';\nimport moment from 'moment';\nimport Cookies from 'js-cookie';\nimport axios from 'axios';\nimport PayflexWidget  from './checkout/Payflex.vue';\nimport VodapayUrl from './VodapayUrl.vue';\nimport CartHelper from '../mixins/CartHelper.vue';\n\nconst axiosInstance = axios.create({headers: {\"X-CSRF-Token\": Cookies.get(\"csrfToken\")}});\n\nexport default {\n\tname: \"add-to-cart\",\n\tmixins: [\n\t\tCartHelper,\n\t],\n\textends: BaseCart,\n\tprops: {\n\t\tproduct: { type: Object },\n\t\tauthenticated: { type: Number, default: 0 },\n\t\treminder: { type: Object },\n\t\tproductTypes: { type: Object },\n\t\tvodapayInitData: { type: Object, required: true },\n\t},\n\tcomponents: {\n\t\tPayflexWidget,\n\t\tVodapayUrl,\n\t},\n\tdata() {\n\t\tlet data = {\n\t\t\tshowTooltip: false,\n\t\t\taddInProgress: false,\n\t\t\twishlistInProgress: false,\n\t\t\tshowAddedFeedback: false,\n\t\t\tshowCartLink: false,\n\t\t\tmodifierMap: [],\n\t\t\tquantity: this.product.multiples_of ? this.product.multiples_of : 1,\n\t\t\thighestWasPrice: null,\n\t\t\tlowestWasPrice: null,\n\t\t\tshowReminder: false,\n\t\t\tminimumQtyAllowedError: '',\n\t\t\tpayFlexText: ''\n\t\t};\n\n\t\treturn data;\n\t},\n\tfilters: {\n\t\tformatDate: function (value) {\n\t\t\tif (value) {\n\t\t\t\treturn moment(String(value)).format('DD MMMM YYYY')\n\t\t\t}\n\t\t\treturn null;\n\t\t}\n\t},\n\tcomputed: {\n\t\t...mapGetters(['cart', 'wishlist', 'isVodapay']),\n\t\tpreventVodapayAddToCart() {\n\t\t\treturn this.product.is_vodapay_exclusive && !this.isVodapay\n\t\t},\n\t\tpreventVodacomAddToCart() {\n\t\t\t// only allow adding to cart on the redemption product pages\n\t\t\treturn this.product.is_vodacom_exclusive\n\t\t},\n\t\tshowSkuBreakdown() {\n\t\t\tconst urlParams = new URLSearchParams(window.location.search);\n\t\t\tconst myParam = urlParams.get('show_sku_breakdown');\n\t\t\treturn Boolean(myParam);\n\t\t},\n\t\tinWishlist() {\n\t\t\tif (!this.selectedSku) return false;\n\n\t\t\tlet inWishlist = false;\n\t\t\tif (this.wishlist && this.wishlist.skus) {\n\t\t\t\teach(this.wishlist.skus, sku => {\n\t\t\t\t\tif (sku.id == this.selectedSku.id) {\n\t\t\t\t\t\tinWishlist = true;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\n\t\t\treturn inWishlist;\n\t\t},\n\t\tselectedSku() {\n\t\t\tlet skus = this.matchingSkus();\n\t\t\tconst dispatchCartOptionChanged = sku => {\n\t\t\t\tlet event = new CustomEvent('cart:optionChanged', { detail: { selectedSku: sku }});\n\t\t\t\tdocument.dispatchEvent(event);\n\n\t\t\t\treturn sku;\n\t\t\t};\n\n\t\t\tif (skus.length == 1) {\n\t\t\t\treturn dispatchCartOptionChanged(skus[0]);\n\t\t\t}\n\n\t\t\tif (skus.length === this.product.skus.length) {\n\t\t\t\treturn dispatchCartOptionChanged(null);\n\t\t\t}\n\n\t\t\treturn null;\n\t\t},\n\t\tpreventAddToCart() {\n\t\t\tthis.minimumQtyAllowedError = '';\n\t\t\tthis.showTooltip = true;\n\t\t\tif (this.product.isPreview) {\n\t\t\t\treturn 'In preview mode';\n\t\t\t}\n\n\t\t\tif (this.preventVodacomAddToCart) {\n\t\t\t\treturn \"Redemption Code Required\";\n\t\t\t}\n\n\t\t\tif (this.allOptionsSelected == false) {\n\t\t\t\treturn 'Please select all options';\n\t\t\t}\n\n\t\t\tif (this.selectedSku === null) {\n\t\t\t\treturn 'Option combo not available';\n\t\t\t}\n\n\t\t\tif (this.selectedSku.stock_available < 1) {\n\t\t\t\treturn 'This option combination is out of stock'\n\t\t\t}\n\n\t\t\tif (this.selectedSku.stock_available < this.quantityOfSelectedSku + this.quantity) {\n\t\t\t\treturn 'No more stock available';\n\t\t\t}\n\n\t\t\tif (this.addInProgress) {\n\t\t\t\treturn 'Please wait until the previous operation is completed'\n\t\t\t}\n\n\t\t\tif ((this.quantity + this.quantityOfSelectedSku) < this.selectedSku.minimum_purchase_qty) {\n\t\t\t\tthis.minimumQtyAllowedError = 'Minimum of ' + this.selectedSku.minimum_purchase_qty + ' items';\n\t\t\t\treturn this.minimumQtyAllowedError;\n\t\t\t}\n\t\t\tthis.showTooltip = false;\n\t\t\treturn false;\n\t\t},\n\t\tisProductOutOfStock() {\n\t\t\tif (this.product.stock_available < 1) {\n\t\t\t\treturn 'This product is out of stock'\n\t\t\t}\n\t\t\treturn false\n\t\t},\n\t\tquantityOfSelectedSku() {\n\t\t\tif (!this.selectedSku) {\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t\tlet quantity = 0;\n\t\t\teach (this.cart.order_line_items, item => {\n\t\t\t\tif (item.sku_code == this.selectedSku.code) {\n\t\t\t\t\tquantity += parseInt(item.quantity);\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn parseInt(quantity);\n\t\t},\n\t\tallOptionsSelected() {\n\t\t\tlet allSelected = true\n\t\t\teach(this.modifierMap, (modifierData, id) => {\n\t\t\t\tif (!modifierData.selected_modifier_option_id) {\n\t\t\t\t\tallSelected = false\n\t\t\t\t}\n\t\t\t})\n\t\t\treturn allSelected\n\t\t},\n\t\tselectedModifierIds() {\n\t\t\tlet modifiersSelected = [];\n\t\t\teach(this.modifierMap, modifierData => {\n\t\t\t\tif (modifierData.selected_modifier_option_id) {\n\t\t\t\t\tmodifiersSelected.push(modifierData.id);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\treturn modifiersSelected;\n\t\t},\n\n\t\tshowReminderBar() {\n\t\t\treturn this.reminder.isShowReminder? '': 'd-none';\n\t\t},\n\t\tselectedModifierOptionIds() {\n\t\t\tlet ids = [];\n\t\t\teach(this.modifierMap, (modifierData, id) => {\n\t\t\t\tif (modifierData.selected_modifier_option_id) {\n\t\t\t\t\tids.push(modifierData.selected_modifier_option_id);\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn ids;\n\t\t}\n\t},\n\tmethods: {\n\t\tgetModifierSkus(modifierId, modifierOptionId) {\n\t\t\tlet skus = []\n\t\t\teach(this.product.skus, sku => {\n\t\t\t\teach(sku.modifier_options, modifierOption => {\n\t\t\t\t\tif (modifierOption.id == modifierOptionId && modifierOption.modifier.id == modifierId) {\n\t\t\t\t\t\tskus.push(sku)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t\t\treturn skus\n\t\t},\n\t\t/**\n\t\t * Look for skus that have at least all of the selected modifier options.\n\t\t * Can provide a modifierId which will dictate which group of modifier options\n\t\t * we not want to filter on.\n\t\t */\n\t\tmatchingSkus(ignoreModifierId = null) {\n\t\t\tlet skus = []\n\n\t\t\teach(this.product.skus, sku => {\n\t\t\t\tlet matching = true\n\n\t\t\t\teach(this.selectedModifierOptionIds, modifierOptionId => {\n\t\t\t\t\t/**\n\t\t\t\t\t * Determine if we want to exclude a group of modifier options from the filtering\n\t\t\t\t\t */\n\t\t\t\t\tif (ignoreModifierId) {\n\t\t\t\t\t\tlet ignoreModifierOptions = null;\n\t\t\t\t\t\teach (this.modifierMap, data => {\n\t\t\t\t\t\t\tif (data.id == ignoreModifierId) {\n\t\t\t\t\t\t\t\tignoreModifierOptions = Object.keys(data.items)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n\n\t\t\t\t\t\tif (ignoreModifierOptions.includes(modifierOptionId)) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t/**\n\t\t\t\t\t * Look through the modifiers options on the sku and remember if we found a match\n\t\t\t\t\t */\n\t\t\t\t\tlet found = false\n\t\t\t\t\teach(sku.modifier_options, modifierOption => {\n\t\t\t\t\t\tif (modifierOption.id == modifierOptionId) {\n\t\t\t\t\t\t\tfound = true\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\n\t\t\t\t\tif (!found) {\n\t\t\t\t\t\tmatching = false\n\t\t\t\t\t}\n\t\t\t\t})\n\n\t\t\t\tif (matching) {\n\t\t\t\t\tskus.push(sku)\n\t\t\t\t}\n\t\t\t});\n\n\t\t\treturn skus\n\t\t},\t\t\n\t\taddToCart() {\n\t\t\tif (this.preventVodapayAddToCart || this.preventVodacomAddToCart) return false;\n\n\t\t\tif (!this.authenticated) {\n\t\t\t\tvar product = {};\n\t\t\t\tproduct = {\n\t\t\t\t\tisAjax: true,\n\t\t\t\t\tsku_code: this.selectedSku.code,\n\t\t\t\t\tmerchant: this.selectedSku.merchant,\n\t\t\t\t\tquantity: parseInt(this.quantityOfSelectedSku) + parseInt(this.quantity ? this.quantity : 1)\n\t\t\t\t};\n\t\t\t\taxiosInstance.post('/api/cart/add-item.json', product)\n\t\t\t\t.then(function (response) {\n\t\t\t\t\tthis.reminder.isShowReminder = response.data.reminder;\n\t\t\t\t\tthis.showReminder = response.data.reminder;\n\t\t\t\t\treturn true;\n\t\t\t\t\tthis.reminder.eligibleProduct = response.eligibleProduct;\n\t\t\t\t})\n\t\t\t\t.catch(function (error) {\n\t\t\t\t\treturn false;\n\t\t\t\t});\n\n\t\t\t\tlet event = new CustomEvent('auth:requiresLogin');\n\t\t\t\tdocument.dispatchEvent(event)\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (!this.selectedSku || this.addInProgress) return;\n\n\t\t\tthis.addInProgress = true;\n\t\t\tthis.$store.dispatch('addToCart', {\n\t\t\t\t\tsku_code: this.selectedSku.code,\n\t\t\t\t\tmerchant: this.selectedSku.merchant,\n\t\t\t\t\tquantity: parseInt(this.quantityOfSelectedSku) + parseInt(this.quantity ? this.quantity : 1)\n\t\t\t\t})\n\t\t\t\t.then((response) => {\n\t\t\t\t\tthis.reminder.eligibleProduct = response.eligibleProduct;\n\t\t\t\t\tthis.showAddedFeedback = true;\n\t\t\t\t\tthis.reminder.isShowReminder = response.data.reminder;\n\t\t\t\t\tthis.showReminder = response.data.reminder;\n\t\t\t\t\tthis.gaAddToCart(this.product, this.quantityOfSelectedSku + (this.quantity ? this.quantity : 1));\n\t\t\t\t\tsetTimeout(() => this.showCartLink = true, 1000);\n\t\t\t\t\tsetTimeout(() => this.showAddedFeedback = false, 6000);\n\n\t\t\t\t\tlet event = new CustomEvent('miniCart:show');\n\t\t\t\t\tdocument.dispatchEvent(event);\n\t\t\t\t})\n\t\t\t\t.finally(() => setTimeout(() => this.addInProgress = false, 1000));\n\t\t},\n\t\taddToWishlist() {\n\t\t\tif (!this.authenticated) {\n\t\t\t\tlet event = new CustomEvent('auth:requiresLogin');\n\t\t\t\tdocument.dispatchEvent(event)\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (!this.selectedSku || this.wishlistInProgress) return;\n\n\t\t\tthis.wishlistInProgress = true;\n\t\t\tthis.$store.dispatch('addToWishlist', { sku_code: this.selectedSku.code })\n\t\t\t\t.finally(this.wishlistInProgress = false);\n\t\t},\n\t\tremoveFromWishlist() {\n\t\t\tif (!this.selectedSku || this.wishlistInProgress) return;\n\n\t\t\tthis.wishlistInProgress = true;\n\t\t\tthis.$store.dispatch('removeFromWishlist', { sku_code: this.selectedSku.code })\n\t\t\t\t.finally(this.wishlistInProgress = false);\n\t\t},\n\t\t/**\n\t\t * Looks at the skus matching the current set of modifier options selected, and then sees if the given option would match,\n\t\t * or if the user has already selected from the given modifier id (then it makes all of those options valid)\n\t\t */\n\t\tisOptionCombinationValid(modifierOptionId, currentModifierId) {\n\t\t\tlet valid = false;\n\t\t\teach(this.matchingSkus(), sku => [\n\t\t\t\teach(sku.modifier_options, modifierOption => {\n\t\t\t\t\tif (this.selectedModifierIds.includes(currentModifierId)) {\n\t\t\t\t\t\tvalid = true;\n\t\t\t\t\t}\n\t\t\t\t\tif (modifierOptionId == modifierOption.id) {\n\t\t\t\t\t\tvalid = true;\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t])\n\t\t\treturn valid;\n\t\t},\n\t\t/**\n\t\t * Same as isOptionCombinationValid() but provides a modifierId to the matchingSkus() method,\n\t\t * to indicate we dont want to filter skus on this modifier, because if we select a modifier option,\n\t\t * then the rest of the options no longer match and all show as out of stock, which is NOT what we want.\n\t\t */\n\t\thasStock(modifierOptionId, modifierId) {\n\t\t\tlet hasStock = false;\n\t\t\tlet skus = this.getModifierSkus(modifierId, modifierOptionId);\n\t\t\teach (skus, sku => {\n\t\t\t\tif (sku.stock_available >= 1 && !hasStock) {\n\t\t\t\t\thasStock = true;\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn hasStock;\n\t\t},\n\t\tmodifierOptionChanged(modifierId) {\n\t\t\tlet found = false\n\t\t\teach(this.modifierMap, modifierData => {\n\t\t\t\tif (modifierId == modifierData.id) {\n\t\t\t\t\tfound = true\n\t\t\t\t} else if (found) {\n\t\t\t\t\tmodifierData.selected_modifier_option_id = '';\n\t\t\t\t}\n\t\t\t})\n\n\t\t\tdocument.getElementById(`label-modifier-${modifierId}`).classList.add('d-none');\n\t\t},\n\n\t\tmodifierOptionsToArray(data, sortValues = true) {\n\t\t\tlet options = [];\n\n\t\t\t// Convert data.items to an actual array. At this point it is still\n\t\t\t// { \"SOME_KEY\": \"SOME_VALUE\", \"ANOTHER_KEY\": \"ANOTHER_VALUE\", ... }\n\t\t\t// which is pretty difficult to deal with\n\t\t\tforIn(data.items, (valueData, keyData) => {\n\t\t\t\t// Check first if it is a numeric type\n\t\t\t\tlet value = valueData.title;\n\t\t\t\tlet key = valueData.id;\n\t\t\t\tconst properTypedValue = /^[0-9]+(|\\.)[0-9]*$/.test(value) ?\n\t\t\t\t\t(\n\t\t\t\t\t\t// If numeric, apply parsing\n\t\t\t\t\t\tisInteger(value) ? parseInt(value) : parseFloat(value)\n\t\t\t\t\t) : value; // Otherwise, just use the string\n\n\t\t\t\toptions.push({\n\t\t\t\t\tkey,\n\t\t\t\t\tvalue: properTypedValue,\n\t\t\t\t\t'label': `${value} ${this.isOptionCombinationValid(key, data.id) ? (this.hasStock(key, data.id) ? '' : '[Sold out]') : '[N/A]'}`,\n\t\t\t\t});\n\t\t\t});\n\n\t\t\t// Only sort sizes as per [FLKM-135]\n\t\t\tif (data.title !== 'Size') {\n\t\t\t\treturn options;\n\t\t\t}\n\n\t\t\tif (options.length && isString(options[0].value)) {\n\t\t\t\t/**\n\t\t\t\t * String sizes (S, M, L, XL, XXL) can't be sorted out of the box\n\t\t\t\t * We have to manually sort each of these without having to hard code each sizes.\n\t\t\t\t * You can add other sizes here if you want. Just make sure to order it properly:\n\t\t\t\t */\n\t\t\t\tconst properSizeOrder = ['S', 'M', 'L', 'XL', 'XXL'];\n\t\t\t\t\n\t\t\t\tlet newOptions = [];\n\t\t\t\tfor (const size of properSizeOrder) {\n\t\t\t\t\t// find `size` on `options` array\n\t\t\t\t\tlet itemIndex = findIndex(options, {value: size});\n\n\t\t\t\t\t// is `size` found on `options` array?\n\t\t\t\t\tif (itemIndex >= 0) {\n\t\t\t\t\t\t// then push it to `newOptions`\n\t\t\t\t\t\tnewOptions.push(options[itemIndex]);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Just in case there are sizes that are not listed on `properSizeOrder`\n\t\t\t\tlet notOnProperSizeOrder = differenceWith(options, newOptions, isEqual);\n\n\t\t\t\t// then add `notOnProperSizOrder` at the end of the array\n\t\t\t\tnewOptions = [...newOptions, ...notOnProperSizeOrder];\n\n\t\t\t\t// pass the `newOptions` to `options`\n\t\t\t\toptions = newOptions;\n\t\t\t} else {\n\t\t\t\t// If numeric sizes, sort by value\n\t\t\t\toptions = sortBy(options, ['value']);\n\t\t\t}\n\t\t\t\n\t\t\treturn options;\n\t\t},\n\n\t\tconvertToLowerCase(string) {\n\t\t\treturn string.toLowerCase();\n\t\t},\n\n\t\tshowPayFlexDialog(ev) {\n\t\t\tev.preventDefault();\n\n\t\t\tlet body = $('body');\n\t\t\tlet dialog = $('#partPayCalculatorWidgetDialog').show();\n\t\t\tbody.addClass(\"partPayWidgetDialogVisible\");\n\n\t\t\tlet button = dialog\n\t\t\t\t.find(\"#partPayCalculatorWidgetDialogClose\")\n\t\t\t\t.on('click', function(e) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\tdialog.hide();\n\t\t\t\t\tbody.removeClass(\"partPayWidgetDialogVisible\");\n\n\t\t\t\t\t// Put back on the widget.\n\t\t\t\t\t$('#partPayCalculatorWidgetDialog').append(dialog);\n\t\t\t\t});\n\n\t\t\tbody.append(dialog);\n\t\t},\n\t\tgetSelectedSkuSalePrice() {\n\t\t\tif (this.selectedSku && this.selectedSku.applied_sale_min_quantity !== null) {\n\t\t\t\treturn this.quantity >= parseInt(this.selectedSku.applied_sale_min_quantity) ? this.selectedSku.actual_price : this.selectedSku.actual_price_no_sale;\n\t\t\t}\n\t\t\treturn this.selectedSku.actual_price;\n\t\t},\n\t\tgetProductSalePriceBasedOnQty() {\n\t\t\tlet hasMinimumQtySetForSale = false;\n\t\t\teach (this.product.skus, sku => {\n\t\t\t\tif (sku.applied_sale_min_quantity > 1 && !hasMinimumQtySetForSale) {\n\t\t\t\t\thasMinimumQtySetForSale = true;\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn hasMinimumQtySetForSale ? this.product.price_no_sale : this.product.price;\n\t\t},\n\t},\n\twatch: {\n\t\tshowTooltip(newVal) {\n\t\t\tif (newVal) {\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.showTooltip = false;\n\t\t\t\t}, 3000);\n\t\t\t}\n\t\t}\n\t},\n\tmounted() {\n\t\tthis.highestWasPrice = this.product.skus.reduce((highest, sku) => highest.was_price > sku.was_price ? highest : sku)\n\t\tthis.highestWasPrice = this.highestWasPrice.was_price > this.product.price ? this.highestWasPrice : null\n\t\tthis.lowestWasPrice  = this.product.skus.reduce((lowest, sku) => lowest.was_price < sku.was_price ? lowest : sku)\n\t\tthis.lowestWasPrice = this.lowestWasPrice.was_price > this.product.price ? this.lowestWasPrice : null\n\n\t\tthis.showReminder = this.reminder.isShowReminder;\n\n\n\t\tthis.modifierMap = JSON.parse(JSON.stringify(this.product.modifier_map));\n\n\t\tif (this.modifierMap.length == 0 && this.product.skus.length > 1) {\n\t\t\tconsole.log('No modifiers, but many skus. Cannot choose which sku to sell the user');\n\t\t}\n\n\t\tif (this.cart.order_line_items.length > 0) {\n\t\t\tthis.showCartLink = true;\n\t\t}\n\n\t\taxiosInstance.post('/api/cart/stage-listing')\n\t\t.then(function (response) {\n\t\t\tif (response.data.success === true) {\n\t\t\t\twindow.location.reload(false);\n\t\t\t}\n\t\t})\n\t\t.catch(function (error) {\n\t\t\treturn false;\n\t\t});\n\t}\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/scss/app.scss';\n\n.add-to-cart {\n\n\t.btn {\n\t\tmin-width: unset;\n\t\tfont-family: $gotham-ultra;\n\t\tfont-size: 14px;\n\t\tline-height: 17px;\n\t\tletter-spacing: 2px;\n\t}\n\n\t.vodabucks-logo {\n\t\tmax-width: 24px;\n\t\tmargin-bottom: 0;\n\t\tdisplay: inline-block;\n\n\t\t@include media-breakpoint-up(md) {\n\t\t\tmax-width: 30px;\n\t\t}\n\t}\n\n\t.vodabucks-text {\n\t\tcolor: $vodacom-red;\n\t\tfont-size: 14px;\n\t\tdisplay: inline-block;\n\t\tword-wrap: break-word;\n\n\t\t@include media-breakpoint-up(md) {\n\t\t\tfont-size: 24px;\n\t\t}\n\t}\n\n\t.modifiers {\n\t\tmax-width: 500px;\n\n\t\t.modifier {\n\t\t\tpadding: 0;\n\n\t\t\t&:nth-of-type(odd) {\n\t\t\t\tpadding-right: 10px;\n\t\t\t}\n\n\t\t\t&:nth-of-type(even) {\n\t\t\t\tpadding-left: 10px;\n\t\t\t}\n\n\t\t\tlabel {\n\t\t\t\tposition: absolute;\n\t\t\t\tright: 50px;\n\t\t\t\ttop: 10px;\n\t\t\t\ttext-transform: uppercase;\n\n\t\t\t\t@media screen and (min-width: 800px) and (max-width: 1055px) {\n\t\t\t\t\tposition: relative;\n\t\t\t\t\tright: unset;\n\t\t\t\t\ttop: unset;\n\t\t\t\t}\n\n\t\t\t\t@media screen and (max-width: 445px) {\n\t\t\t\t\tposition: relative;\n\t\t\t\t\tright: unset;\n\t\t\t\t\ttop: unset;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tselect {\n\t\t\t\tborder-radius: 0%;\n\t\t\t\tbackground-size: 25px;\n\t\t\t\tbackground-position: right 10px top 8px;\n\t\t\t\theight: 42px;\n\t\t\t\tborder: solid 1px $grey;\n\n\t\t\t\t&:focus {\n\t\t\t\t\toutline: none;\n\t\t\t\t\tbox-shadow: none;\n\t\t\t\t}\n\n\t\t\t\toption:not(:disabled) {\n\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\tfont-weight: 600;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t.delivery-details {\n\t\tmax-width: 500px;\n\t}\n\n\t.fade-enter-active, .fade-leave-active {\n\t\ttransition: opacity .4s\n\t}\n\t.fade-enter, .fade-leave-to {\n\t\topacity: 0\n\t}\n\n\t.btn img {\n\t\tmax-height: 24px;\n\t}\n\n\t.sizes-table {\n\t\twidth: 100%;\n\t\tmargin-bottom: 1rem;\n\n\t\ttd {\n\t\t\tborder: 2px solid $gray-200;\n\t\t\tpadding: 14px 4px;\n\t\t\ttext-align: center;\n\n\t\t\t&.disabled, &.selected {\n\t\t\t\tbackground-color: $gray-100;\n\t\t\t}\n\t\t\t&.disabled {\n\t\t\t\tcolor: $gray-300;\n\t\t\t}\n\t\t\t&.selected {\n\t\t\t\tborder-color: $secondary;\n\t\t\t\tborder-style: double;\n\t\t\t}\n\t\t}\n\t}\n\n\t.info-circle {\n\t\tfont-size: 20px;\n\t\tcursor: pointer;\n\t}\n\n\t.colour-selection {\n\t\tinput:checked + label {\n\t\t\tborder-color: inherit;\n\t\t}\n\t\t.colour-label {\n\t\t\tmargin: 0;\n\t\t\tpadding: 2px;\n\t\t\tborder: 1px solid transparent;\n\t\t}\n\t}\n\n\t.price-container {\n\t\tmax-width: 500px;\n\n\t\t.price {\n\t\t\ttext-align: left;\n\t\t\tfont-weight: bold;\n\t\t\tcolor: $black;\n\t\t\topacity: 1;\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column-reverse;\n\t\t\tfont-family: $gotham-ultra;\n\t\t\tfont-size: 32px;\n\t\t\tfont-weight: normal;\n\t\t\tletter-spacing: 4px;\n\t\t\tline-height: 38px;\n\t\t\tmargin-top: 20px;\n\n\t\t\tdel {\n\t\t\t\tcolor: $gray-650;\n\t\t\t\tfont-family: $gotham-book;\n\t\t\t\tfont-size: 16px;\n\t\t\t\tletter-spacing: 0;\n\t\t\t\tline-height: 16px;\n\t\t\t}\n\t\t}\n\n\t\t.third-party-price-block {\n\t\t\tpadding-top: 15px;\n\t\t\tpadding-bottom: 24px;\n\t\t\tcolor: $gray-650;\n\t\t\tfont-family: $gotham-book;\n\t\t\tfont-size: 16px;\n\n\t\t\t#payflex-widget {\n\t\t\t\tdisplay: none !important;\n\t\t\t}\n\n\t\t\t.payflex:hover {\n\t\t\t\tcursor: pointer;\n\t\t\t}\n\t\t}\n\t}\n\n\t@include media-breakpoint-down(sm) {\n\t\t.modifiers {\n\t\t\t.modifier {\n\t\t\t\tselect {\n\t\t\t\t\tborder: solid 2px $blue-dark-30;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t@include media-breakpoint-up(md) {\n\t\t.price-container {\n\t\t\tpadding-top: 20px;\n\t\t\t.price {\n\t\t\t\ttext-align: left;\n\t\t\t\tfont-size: 30px;\n\t\t\t\tmargin-top: 0;\n\t\t\t}\n\t\t}\n\t}\n}\n.redemption-code-header {\n\tmargin-top: 20px;\n}\n\n.redemption-reminder-link {\n\tmargin-top: 20px;\n\tborder: 2px solid #F11900;\n\tbackground-color: white;\n\tcolor: #F11900;\n}\n\n.delivery-text:first-letter {\n    text-transform: capitalize;\n}\n\n.vodapay-info-block {\n\tbackground-color: $blue-dark;\n\tcolor: $white;\n\n\ta {\n\t\tcolor: $white;\n\t}\n}\n\n.payflex-container {\n\t.payment-vendor-logo {\n\t\tmax-height: 36px;\n\t\tmax-width: 75px;\n\t}\n}\n\n#partPayCalculatorWidget1 {\n\tdisplay: none !important;\n}\n</style>","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddToCart.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddToCart.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AddToCart.vue?vue&type=template&id=d128ea4c&scoped=true&\"\nimport script from \"./AddToCart.vue?vue&type=script&lang=js&\"\nexport * from \"./AddToCart.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AddToCart.vue?vue&type=style&index=0&id=d128ea4c&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"d128ea4c\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('a',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:(_vm.wishlistTooltip),expression:\"wishlistTooltip\"}],staticClass:\"add-to-wishlist\",on:{\"click\":function($event){return _vm.toggleInWishlist()}}},[(!_vm.inWishlist)?_c('i',{staticClass:\"far fa-heart\"}):_vm._e(),(_vm.inWishlist)?_c('i',{staticClass:\"fas fa-heart\"}):_vm._e()])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div>\n\t\t<a class=\"add-to-wishlist\" \n\t\t\t@click=\"toggleInWishlist()\"\n\t\t\tv-tooltip=\"wishlistTooltip\">\n\t\t\t<i class=\"far fa-heart\" v-if=\"!inWishlist\"></i>\n\t\t\t<i class=\"fas fa-heart\" v-if=\"inWishlist\"></i>\n\t\t</a>\n\t</div>\n</template>\n\n<script>\nimport { each } from 'lodash';\nimport { mapGetters } from 'vuex';\nimport BaseCart from './cart/Base.vue';\n\nexport default {\n\tname: \"add-to-wishlist\",\n\textends: BaseCart,\n\tprops: {\n\t\tauthenticated: { type: Number, default: 0 },\n\t\tproduct: { type: Object },\n\t},\n\tdata() {\n\t\tlet data = {\n\t\t\twishlistInProgress: false,\n\t\t\tselectedSkuId: null,\n\t\t\tselectedSkuCode: null,\n\t\t\tmodifierMap: [],\n\t\t\tselectedValue: null,\n\t\t\twishlistTooltip: \"\",\n\t\t};\n\n\t\treturn data;\n\t},\n\tcomputed: {\n\t\t...mapGetters(['wishlist']),\n\t\tinWishlist() {\n\t\t\tif (!this.selectedValue) return false;\n\n\t\t\tlet inWishlist = false;\n\t\t\tif (this.wishlist && this.wishlist.skus) {\n\t\t\t\teach(this.wishlist.skus, sku => {\n\t\t\t\t\tif (sku.id == this.selectedSkuId) {\n\t\t\t\t\t\tinWishlist = true;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\n\t\t\treturn inWishlist;\n\t\t}\n\t},\n\tmethods: {\n\t\ttoggleInWishlist() {\n\t\t\tif (!this.inWishlist && this.selectedValue) {\n\t\t\t\tthis.addToWishlist();\n\t\t\t} else {\n\t\t\t\tthis.removeFromWishlist();\n\t\t\t}\n\t\t},\n\t\taddToWishlist() {\n\t\t\tif (!this.authenticated) {\n\t\t\t\tlet event = new CustomEvent('auth:requiresLogin');\n\t\t\t\tdocument.dispatchEvent(event)\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (!this.selectedSkuCode || this.wishlistInProgress) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis.wishlistInProgress = true;\n\t\t\tthis.$store.dispatch('addToWishlist', { sku_code: this.selectedSkuCode })\n\t\t\t\t.finally(this.wishlistInProgress = false);\n\t\t},\n\t\tremoveFromWishlist() {\n\t\t\tif (!this.selectedSkuCode || this.wishlistInProgress) return;\n\n\t\t\tthis.wishlistInProgress = true;\n\t\t\tthis.$store.dispatch('removeFromWishlist', { sku_code: this.selectedSkuCode })\n\t\t\t\t.finally(this.wishlistInProgress = false);\n\t\t}\n\t},\n\tmounted() {\n\t\tdocument.addEventListener('cart:optionChanged', e => {\n\t\t\tconst selectedSku = e.detail.selectedSku;\n\n\t\t\tthis.selectedValue = selectedSku !== null;\n\n\t\t\tif (!this.selectedValue) {\n\t\t\t\tthis.wishlistTooltip = \"Please select all options\";\n\t\t\t} \n\n\t\t\tif (this.selectedValue) {\n\t\t\t\tthis.selectedSkuId = selectedSku.id;\n\t\t\t\tthis.selectedSkuCode = selectedSku.code;\n\t\t\t\tthis.wishlistTooltip = null;\n\t\t\t}\n\t\t});\n\t}\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/scss/app.scss';\n\n.add-to-wishlist {\n\tposition: absolute;\n\ttop: 5px;\n\tleft: unset;\n\tright: 0;\n\tbottom: unset;\n\theight: 40px;\n\twidth: 40px;\n\tz-index: 1;\n\tcursor: pointer;\n\n\ti {\n\t\tfont-size: 37px;\n\n\t\t&.far {\n\t\t\tcolor: $black;\n\t\t}\n\n\t\t&.fas {\n\t\t\tcolor: $red;\n\t\t}\n\t}\n}\n</style>","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddToWishlist.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddToWishlist.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AddToWishlist.vue?vue&type=template&id=e8bed802&scoped=true&\"\nimport script from \"./AddToWishlist.vue?vue&type=script&lang=js&\"\nexport * from \"./AddToWishlist.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AddToWishlist.vue?vue&type=style&index=0&id=e8bed802&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"e8bed802\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"wishlist-link d-inline-block\"},[_c('a',{staticClass:\"nav-link\",attrs:{\"href\":\"/account/wishlist\",\"data-toggle\":\"tooltip\",\"data-placement\":\"top\",\"title\":\"Wishlist\"}},[_c('i',{staticClass:\"far fa-heart\"}),_c('span',{staticClass:\"item-count\"},[_vm._v(_vm._s(_vm.itemCount))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"wishlist-link d-inline-block\">\n\t\t<a href=\"/account/wishlist\" class=\"nav-link\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Wishlist\">\n\t\t\t<i class=\"far fa-heart\"></i>\n\t\t\t<span class=\"item-count\">{{ itemCount }}</span>\n\t\t</a>\n\t</div>\n</template>\n\n<script>\nimport { each } from 'lodash'\nimport BaseCart from './cart/Base.vue';\nimport { mapGetters } from 'vuex';\n\nexport default {\n\tname: \"wishlist-counter\",\n\textends: BaseCart,\n\tcomputed: {\n\t\t...mapGetters(['wishlist']),\n\t\titemCount() {\n\t\t\tlet count = 0;\n\n\t\t\tif (this.wishlist && this.wishlist.skus) {\n\t\t\t\teach(this.wishlist.skus, sku => {\n\t\t\t\t\tcount += 1;\n\t\t\t\t});\n\t\t\t}\n\n\t\t\treturn count;\n\t\t},\n\t}\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/scss/app.scss';\n\n.wishlist-link {\n\t.nav-link {\n\t\tposition: relative;\n\t\tpadding: 8px 3px 0 0;\n\n\t\t.item-count {\n\t\t\tposition: absolute;\n\t\t\ttop: 9px;\n\t\t\tright: 3px;\n\t\t\tfont-size: 10px;\n\t\t\tline-height: 10px;\n\t\t}\n\t}\n}\n</style>\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./WishlistCounter.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./WishlistCounter.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./WishlistCounter.vue?vue&type=template&id=333fa29c&scoped=true&\"\nimport script from \"./WishlistCounter.vue?vue&type=script&lang=js&\"\nexport * from \"./WishlistCounter.vue?vue&type=script&lang=js&\"\nimport style0 from \"./WishlistCounter.vue?vue&type=style&index=0&id=333fa29c&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"333fa29c\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"gift-card-amount\"},[_c('div',{staticClass:\"form-group\"},[_c('label',{attrs:{\"for\":\"amount\"}},[_vm._v(\"Amount of credit\")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.amount),expression:\"amount\"}],staticClass:\"form-control mb-md-4\",attrs:{\"name\":\"amount\",\"id\":\"amount\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.amount=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},[_c('option',{attrs:{\"value\":\"50\"}},[_vm._v(\"50\")]),_c('option',{attrs:{\"value\":\"100\"}},[_vm._v(\"100\")]),_c('option',{attrs:{\"value\":\"250\"}},[_vm._v(\"250\")]),_c('option',{attrs:{\"value\":\"500\"}},[_vm._v(\"500\")]),_c('option',{attrs:{\"value\":\"750\"}},[_vm._v(\"750\")]),_c('option',{attrs:{\"value\":\"1000\"}},[_vm._v(\"1000\")]),_c('option',{attrs:{\"value\":\"1500\"}},[_vm._v(\"1500\")]),_c('option',{attrs:{\"value\":\"2000\"}},[_vm._v(\"2000\")]),_c('option',{attrs:{\"value\":\"5000\"}},[_vm._v(\"5000\")]),_c('option',{attrs:{\"value\":\"7500\"}},[_vm._v(\"7500\")]),_c('option',{attrs:{\"value\":\"10000\"}},[_vm._v(\"10000\")]),_c('option',{domProps:{\"value\":null}},[_vm._v(\"Own amount\")])]),(_vm.amount == null)?_c('input',{staticClass:\"form-control\",attrs:{\"name\":\"amount\",\"placeholder\":\"Gift Voucher Amount\"}}):_vm._e()])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"gift-card-amount\">\n\t\t<div class=\"form-group\">\n\t\t\t<label for=\"amount\">Amount of credit</label>\n\t\t\t<select v-model=\"amount\" name=\"amount\" id=\"amount\" class=\"form-control mb-md-4\">\n\t\t\t\t<option value=\"50\">50</option>\n\t\t\t\t<option value=\"100\">100</option>\n\t\t\t\t<option value=\"250\">250</option>\n\t\t\t\t<option value=\"500\">500</option>\n\t\t\t\t<option value=\"750\">750</option>\n\t\t\t\t<option value=\"1000\">1000</option>\n\t\t\t\t<option value=\"1500\">1500</option>\n\t\t\t\t<option value=\"2000\">2000</option>\n\t\t\t\t<option value=\"5000\">5000</option>\n\t\t\t\t<option value=\"7500\">7500</option>\n\t\t\t\t<option value=\"10000\">10000</option>\n\t\t\t\t<option :value=\"null\">Own amount</option>\n\t\t\t</select>\n\n\t\t\t<input v-if=\"amount == null\" name=\"amount\" class=\"form-control\" placeholder=\"Gift Voucher Amount\">\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nexport default {\n\tname: 'gift-card-amount',\n\tdata() {\n\t\treturn {\n\t\t\tamount: 100\n\t\t}\n\t}\n}\n</script>","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GiftCardAmount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GiftCardAmount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GiftCardAmount.vue?vue&type=template&id=0a6e298c&\"\nimport script from \"./GiftCardAmount.vue?vue&type=script&lang=js&\"\nexport * from \"./GiftCardAmount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"mini-cart d-inline-block\"},[_c('a',{staticClass:\"nav-link\",attrs:{\"href\":\"/cart\",\"data-toggle\":\"tooltip\",\"data-placement\":\"top\",\"title\":\"Cart\"},on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.openSummary()}}},[_c('img',{staticClass:\"cart-icon\",attrs:{\"src\":\"/img/carticon.png\",\"alt\":\"Cart\"}}),_c('span',{staticClass:\"item-count\"},[_vm._v(_vm._s(_vm.itemCount))])]),_c('div',{staticClass:\"cart-summary card p-3\",class:{'d-none': !_vm.showCart},attrs:{\"tabindex\":\"-1\"},on:{\"focusout\":function($event){return _vm.closeSummary()}}},[_c('div',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"lead text-left flex-grow-1\"},[_vm._v(\"My Cart\")]),_c('div',{staticClass:\"circle-container align-self-end\"},[_c('i',{staticClass:\"far fa-times-circle\",on:{\"click\":function($event){return _vm.closeSummary()}}})])]),(_vm.cart.order_line_items && _vm.cart.order_line_items.length > 0)?_c('div',[_vm._l((_vm.cart.order_line_items),function(orderLineItem,i){return _c('div',{key:i,staticClass:\"row align-items-center mb-3\"},[_c('div',{staticClass:\"col-3 text-center\"},[(orderLineItem.product_image)?[_c('img',{staticClass:\"img-fluid\",attrs:{\"src\":orderLineItem.product_image,\"alt\":\"Product Image\"}})]:_vm._e(),(!orderLineItem.product_image && orderLineItem.sku_code !== 'GIFTCARD')?[_c('img',{staticClass:\"img-fluid\",attrs:{\"src\":\"/flutta/img/flook-cart-thumb.png\",\"alt\":\"Product Image\"}})]:_vm._e(),(orderLineItem.sku_code === 'GIFTCARD')?[_c('img',{staticClass:\"img-fluid\",attrs:{\"src\":'/img/FLT_Gift_Card.jpg',\"alt\":\"Gift Card\"}})]:_vm._e()],2),_c('div',{staticClass:\"col-8\"},[_c('a',{staticClass:\"d-inline-block product-link mb-3\",attrs:{\"href\":orderLineItem.product_url}},[_vm._v(\" \"+_vm._s(_vm.computeLineItemDescription(orderLineItem))+\" \"+_vm._s(orderLineItem.sku_code)+\" \")]),_c('div',{staticClass:\"subtext\"},[_c('small',{staticClass:\"float-left\"},[_vm._v(\"Quantity: \"+_vm._s(orderLineItem.quantity))]),_c('small',{staticClass:\"float-right\"},[_vm._v(_vm._s(_vm._f(\"formatCurrency\")(orderLineItem.total_price)))])]),_vm._l((orderLineItem.redemption_codes),function(redemption_code,k){return _c('div',{key:i,staticClass:\"subtext\"},[_c('br'),_c('small',{staticClass:\"float-left\"},[_vm._v(_vm._s(_vm.redemption_vendor)+\" Codes: \"+_vm._s(redemption_code.code))]),_c('small',{staticClass:\"float-right\"},[_vm._v(\"-\"+_vm._s(_vm._f(\"formatCurrency\")(orderLineItem.item_price)))])])})],2),_c('div',[_c('a',{staticClass:\"remove-item\",attrs:{\"href\":\"#remove-item\"},on:{\"click\":function($event){return _vm.removeItem(orderLineItem.id, orderLineItem.sku_code, orderLineItem.quantity)}}},[_c('i',{staticClass:\"fas fa-times\"})])]),_vm._m(0,true)])}),_c('hr',{staticClass:\"mb-1 mt-1\",class:{'d-none': !_vm.cart.shipping}}),_c('div',{staticClass:\"total text-right\",class:{'d-none': !_vm.cart.shipping}},[_c('strong',[_vm._v(\"Shipping \"),_c('span',{staticClass:\"ml-2\"},[_vm._v(_vm._s(_vm._f(\"formatCurrency\")(_vm.cart.shipping)))])])]),_c('hr',{staticClass:\"mb-1 mt-1\",class:{'d-none': !_vm.cart.redemption_discount}}),_c('div',{staticClass:\"total text-right\",class:{'d-none': !_vm.cart.redemption_discount}},[_c('span',[_vm._v(\" \"+_vm._s(_vm.redemption_vendor)+\" codes \")]),_c('span',{staticClass:\"ml-2\"},[_vm._v(\"- \"+_vm._s(_vm._f(\"formatCurrency\")(_vm.cart.redemption_discount)))])]),_c('hr',{staticClass:\"mb-1 mt-1\",class:{'d-none': !_vm.cart.discount}}),_c('div',{staticClass:\"total text-right\",class:{'d-none': !_vm.cart.discount}},[_c('strong',[_vm._v(\"Discount \"),_c('span',{staticClass:\"ml-2\"},[_vm._v(\"- \"+_vm._s(_vm._f(\"formatCurrency\")(_vm.cart.discount)))])])]),_c('hr',{staticClass:\"mb-1 mt-3\"}),_c('div',{staticClass:\"total text-right\"},[_c('strong',[_vm._v(\"Total \"),_c('span',{staticClass:\"ml-2\"},[_vm._v(_vm._s(_vm._f(\"formatCurrency\")(_vm.cart.to_pay_external)))])])]),_c('hr',{staticClass:\"mt-1\"}),_vm._m(1)],2):_c('div',[_c('p',[_vm._v(\"You don't have anything in your cart.\")])])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"col-8 offset-3\"},[_c('hr',{staticClass:\"divider mb-1 mt-1\"})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"row pl-2 pr-2\"},[_c('div',{staticClass:\"col-12 col-md-6 p-2\"},[_c('a',{staticClass:\"btn btn-outline-secondary w-100 font-weight-bold\",attrs:{\"href\":\"/checkout\"}},[_c('i',{staticClass:\"fas fa-credit-card mr-1\"}),_vm._v(\" Checkout\")])]),_c('div',{staticClass:\"col-12 col-md-6 p-2\"},[_c('a',{staticClass:\"btn btn-outline-secondary w-100 font-weight-bold\",attrs:{\"href\":\"/cart\"}},[_c('i',{staticClass:\"fas fa-shopping-basket mr-1\"}),_vm._v(\" Cart\")])])])\n}]\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"mini-cart d-inline-block\">\n\t\t<a href=\"/cart\" class=\"nav-link\" @click.stop.prevent=\"openSummary()\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Cart\">\n\t\t\t<img src=\"/img/carticon.png\" alt=\"Cart\" class=\"cart-icon\">\n\t\t\t<span class=\"item-count\">{{ itemCount }}</span>\n\t\t</a>\n\n\t\t<div class=\"cart-summary card p-3\" :class=\"{'d-none': !showCart}\" @focusout=\"closeSummary()\" tabindex=\"-1\">\n\t\t\t<div class=\"d-flex\">\n\t\t\t\t<div class=\"lead text-left flex-grow-1\">My Cart</div>\n\t\t\t\t<div class=\"circle-container align-self-end\">\n\t\t\t\t\t<i class=\"far fa-times-circle\" @click=\"closeSummary()\"></i>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t\t<div v-if=\"cart.order_line_items && cart.order_line_items.length > 0\">\n\t\t\t\t<div v-for=\"(orderLineItem, i) in cart.order_line_items\" :key=\"i\" class=\"row align-items-center mb-3\">\n\t\t\t\t\t<div class=\"col-3 text-center\">\n\t\t\t\t\t\t<template v-if=\"orderLineItem.product_image\">\n\t\t\t\t\t\t\t<img class=\"img-fluid\" :src=\"orderLineItem.product_image\" alt=\"Product Image\">\n\t\t\t\t\t\t</template>\n\t\t\t\t\t\t<template v-if=\"!orderLineItem.product_image && orderLineItem.sku_code !== 'GIFTCARD'\">\n\t\t\t\t\t\t\t<img class=\"img-fluid\" src=\"/flutta/img/flook-cart-thumb.png\" alt=\"Product Image\">\n\t\t\t\t\t\t</template>\n\t\t\t\t\t\t<template v-if=\"orderLineItem.sku_code === 'GIFTCARD'\">\n\t\t\t\t\t\t\t<img class=\"img-fluid\" :src=\"'/img/FLT_Gift_Card.jpg'\" alt=\"Gift Card\">\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div class=\"col-8\">\n\t\t\t\t\t\t<a :href=\"orderLineItem.product_url\" class=\"d-inline-block product-link mb-3\">\n\t\t\t\t\t\t\t{{ computeLineItemDescription(orderLineItem) }} {{ orderLineItem.sku_code }}\n\t\t\t\t\t\t</a>\n\n\t\t\t\t\t\t<div class=\"subtext\">\n\t\t\t\t\t\t\t<small class=\"float-left\">Quantity: {{ orderLineItem.quantity }}</small>\n\t\t\t\t\t\t\t<small class=\"float-right\">{{ orderLineItem.total_price | formatCurrency }}</small>\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t<div class=\"subtext\" v-for=\"(redemption_code, k) in orderLineItem.redemption_codes\" :key=\"i\" >\n\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t<small class=\"float-left\">{{ redemption_vendor }} Codes: {{ redemption_code.code }}</small>\n\t\t\t\t\t\t\t<small class=\"float-right\">-{{ orderLineItem.item_price | formatCurrency }}</small>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<a href=\"#remove-item\" @click=\"removeItem(orderLineItem.id, orderLineItem.sku_code, orderLineItem.quantity)\" class=\"remove-item\">\n\t\t\t\t\t\t\t<i class=\"fas fa-times\"></i>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"col-8 offset-3\">\n\t\t\t\t\t\t<hr class=\"divider mb-1 mt-1\">\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<hr class=\"mb-1 mt-1\" :class=\"{'d-none': !cart.shipping}\">\n\n\t\t\t\t<div class=\"total text-right\" :class=\"{'d-none': !cart.shipping}\">\n\t\t\t\t\t<strong>Shipping <span class=\"ml-2\">{{ cart.shipping | formatCurrency }}</span></strong>\n\t\t\t\t</div>\n\n\t\t\t\t<hr class=\"mb-1 mt-1\" :class=\"{'d-none': !cart.redemption_discount}\">\n\n\t\t\t\t<div class=\"total text-right\" :class=\"{'d-none': !cart.redemption_discount}\">\n\t\t\t\t\t<span>\n\t\t\t\t\t\t{{ redemption_vendor }} codes \n\t\t\t\t\t</span>\n\t\t\t\t\t<span class=\"ml-2\">- {{cart.redemption_discount | formatCurrency }}</span>\n\t\t\t\t</div>\n\n\t\t\t\t<hr class=\"mb-1 mt-1\" :class=\"{'d-none': !cart.discount}\">\n\n\t\t\t\t<div class=\"total text-right\" :class=\"{'d-none': !cart.discount}\">\n\t\t\t\t\t<strong>Discount <span class=\"ml-2\">- {{cart.discount | formatCurrency }}</span></strong>\n\t\t\t\t</div>\n\n\t\t\t\t<hr class=\"mb-1 mt-3\">\n\n\t\t\t\t<div class=\"total text-right\">\n\t\t\t\t\t<strong>Total <span class=\"ml-2\">{{ cart.to_pay_external | formatCurrency }}</span></strong>\n\t\t\t\t</div>\n\n\t\t\t\t<hr class=\"mt-1\">\n\n\t\t\t\t<div class=\"row pl-2 pr-2\">\n\t\t\t\t\t<div class=\"col-12 col-md-6 p-2\">\n\t\t\t\t\t\t<a href=\"/checkout\" class=\"btn btn-outline-secondary w-100 font-weight-bold\"><i class=\"fas fa-credit-card mr-1\"></i> Checkout</a>\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div class=\"col-12 col-md-6 p-2\">\n\t\t\t\t\t\t<a href=\"/cart\" class=\"btn btn-outline-secondary w-100 font-weight-bold\"><i class=\"fas fa-shopping-basket mr-1\"></i> Cart</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t\t<div v-else>\n\t\t\t\t<p>You don't have anything in your cart.</p>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport { each } from 'lodash'\nimport BaseCart from './Base.vue';\n\nexport default {\n\tname: \"mini-cart\",\n\textends: BaseCart,\n\tprops: {\n\t\treminder: { type: Object },\n\t\tshowMiniCart: { type: Boolean }\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tshowCart: false,\n\t\t\tcartInitialized: false,\n\t\t\tredemption_vendor: 'Redemption'\n\t\t}\n\t},\n\tcomputed: {\n\t\titemCount() {\n\t\t\tif (!this.cart || !this.cart.order_line_items ) {\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t\tlet count = 0;\n\t\t\teach (this.cart.order_line_items, item => {\n\t\t\t\tcount += parseInt(item.quantity);\n\t\t\t});\n\t\t\treturn count;\n\t\t},\n\t},\n\t// watch: {\n\t// \tcart: {\n\t// \t\thandler(val) {\n\t// \t\t\tif (!this.cartInitialized) {\n\t// \t\t\t\tthis.cartInitialized = true;\n\t// \t\t\t\treturn;\n\t// \t\t\t}\n\t// \t\t\tthis.showCart = true;\n\t// \t\t\tthis.closeSummary(5000);\n\t// \t\t}\n\t// \t}\n\t// },\n\tmethods: {\n\t\topenSummary() {\n\t\t\tthis.showCart = !this.showCart;\n\t\t\tclearTimeout(this.summaryTimeout);\n\t\t},\n\t\tcloseSummary(delay = 500) {\n\t\t\tthis.summaryTimeout = setTimeout(() => this.showCart = false, delay);\n\t\t},\n\t\tcomputeLineItemDescription(orderLineItem) {\n\t\t\tif (!orderLineItem.description) {\n\t\t\t\treturn orderLineItem.product_name;\n\t\t\t}\n\t\t\treturn `${orderLineItem.product_name} (${orderLineItem.description})`;\n\t\t},\n\t\tclose (e) {\n\t\t\tif (!this.$el.contains(e.target)) {\n\t\t\t\tthis.showCart = false\n\t\t\t}\n\t\t},\n\t\tscrollToTop() {\n\t\t\twindow.scrollTo({ top: 0, behavior: 'smooth' })\n\t\t}\n\t},\n\tmounted () {\n\t\tdocument.addEventListener('click', this.close)\n\t\tdocument.addEventListener('miniCart:show', e => {\n\t\t\tthis.showCart = true;\n\t\t\tthis.scrollToTop();\n\t\t});\n\n\t\tif (this.showMiniCart == true) {\n\t\t\tthis.showCart = true;\n\t\t}\n\n\t\tif (this.reminder && this.reminder.name !== null) {\n\t\t\tthis.redemption_vendor = this.reminder.name;\n\t\t}\n\t},\n\tbeforeDestroy () {\n\t\tdocument.removeEventListener('click',this.close)\n\t}\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/scss/app.scss';\n.mini-cart {\n\t.nav-link {\n\t\tposition: relative;\n\t\tpadding: 8px 14px 0 0;\n\n\t\t.item-count {\n\t\t\tposition: absolute;\n\t\t\ttop: 0;\n\t\t\tright: 8px;\n\t\t\tfont-size: 10px;\n\t\t\tline-height: 10px;\n\t\t}\n\t}\n\n\t.circle-container {\n\t\tposition: relative;\n\n\t\t.fa-times-circle {\n\t\t\tposition: absolute;\n\t\t\tcursor: pointer;\n\t\t\tmargin-bottom: 14px;\n\t\t\tright: 0;\n\t\t\tbottom: 0;\n\t\t\tfont-size: 20px;\n\n\t\t\t@media screen and (min-width: 992px) {\n\t\t\t\tleft: -30px;\n    \t\t\tbottom: 0px;\n\t\t\t}\n\n\t\t\t&:hover {\n\t\t\t\tcolor: $grey;\n\t\t\t}\n\t\t}\n\t}\n\n\t.cart-summary {\n\t\tposition: absolute;\n\t\ttop: 60px;\n\t\tright: 0;\n\t\tmin-width: 300px;\n\t\tz-index: 10;\n\t\theight: unset;\n\n\t\t@media screen and (min-width: 992px) {\n\t\t\tmin-width: 650px;\n\t\t}\n\n\t\timg {\n\t\t\tmax-height: 65px;\n\t\t}\n\n\t\t.product-link {\n\t\t\twhite-space: normal;\n\t\t\twidth: calc(100% - 18px);\n\t\t}\n\n\t\thr.divider {\n\t\t\tborder-top: 1px solid $secondary;\n\t\t}\n\t}\n\n\timg.cart-icon {\n\t\tposition: relative;\n\t\ttop: -5px;\n\t\tmargin-left: 5px;\n\t\tmargin-right: 10px;\n\t\theight: 28px;\n\t}\n}\n</style>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Mini.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Mini.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Mini.vue?vue&type=template&id=74e61dd4&scoped=true&\"\nimport script from \"./Mini.vue?vue&type=script&lang=js&\"\nexport * from \"./Mini.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Mini.vue?vue&type=style&index=0&id=74e61dd4&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"74e61dd4\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"full-cart has-loading-overlay\"},[_c('div',{staticClass:\"overlay\",class:{'d-none': !_vm.busy}},[_c('img',{staticClass:\"img-fluid\",attrs:{\"src\":\"/img/loading-2.svg\"}})]),_c('div',{staticClass:\"container\"},[_vm._m(0),_vm._l((_vm.cart.order_line_items),function(lineItem,index){return _c('div',{key:index,staticClass:\"row product-item pt-0\"},[_c('div',{staticClass:\"col-12 col-md-6 mb-4\"},[_c('div',{staticClass:\"mobile-remove d-md-none text-right\"},[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.removeItem(lineItem.id, lineItem.sku_code, lineItem.quantity)}}},[_c('i',{staticClass:\"fas fa-times\"})])]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-4 col-md-3\"},[_c('div',{staticClass:\"image\"},[_c('a',{attrs:{\"href\":lineItem.product_url}},[(lineItem.product_image)?[_c('img',{staticClass:\"img-fluid\",attrs:{\"src\":lineItem.product_image,\"alt\":lineItem.product_name + ' image'}})]:_vm._e(),(!lineItem.product_image && lineItem.sku_code !== 'GIFTCARD')?[_c('img',{staticClass:\"img-fluid\",attrs:{\"src\":\"/flutta/img/flook-cart-thumb.png\",\"alt\":\"Product Image\"}})]:_vm._e(),(lineItem.sku_code === 'GIFTCARD')?[_c('img',{staticClass:\"img-fluid\",attrs:{\"src\":'/img/flutta-gift-card.png',\"alt\":'giftcard'}})]:_vm._e()],2)])]),_c('div',{staticClass:\"col-8 col-md-9 pl-4\"},[_c('div',{staticClass:\"title\"},[_c('a',{staticClass:\"title\",attrs:{\"href\":lineItem.product_url}},[_vm._v(_vm._s(lineItem.product_name))]),_c('div',{staticClass:\"sub\"},[_c('span',{staticClass:\"d-md-none\"},[_c('span',[_vm._v(_vm._s(_vm._f(\"formatCurrency\")(lineItem.item_price))+\" \")]),_c('br')]),_c('span',[_vm._v(_vm._s(lineItem.description))]),_vm._l((lineItem.redemption_codes),function(redemption_code,k){return _c('div',{key:_vm.i,staticClass:\"d-none d-md-block\"},[_vm._v(\" \"+_vm._s(_vm.reminder_bar_name)+\" Codes: \"+_vm._s(redemption_code.code)+\" \")])})],2)])])])]),_c('div',{staticClass:\"col-4 col-md-2 d-none d-md-block custom-margin-top\"},[_vm._v(\" \"+_vm._s(_vm._f(\"formatCurrency\")(lineItem.item_price))+\" \")]),_c('div',{staticClass:\"col-6 col-md-2\"},[_c('div',{staticClass:\"form-group\"},[(lineItem.allow_quantity_adjustment)?_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(lineItem.quantity),expression:\"lineItem.quantity\"}],staticClass:\"form-control\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(lineItem, \"quantity\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},function($event){return _vm.quantityChanged(lineItem.sku_code, lineItem.quantity, lineItem.merchant)}]}},_vm._l((_vm.availableQtyOptions(lineItem, _vm.skus)),function(option,index){return _c('option',{key:index,attrs:{\"disabled\":!option.has_stock},domProps:{\"value\":option.value}},[_vm._v(\" \"+_vm._s(option.value)+\" \"+_vm._s(option.has_stock ? '' : '(Not Enough Stock)')+\" \")])}),0):(lineItem.redeemed_items_qty > 0)?_c('div',{staticClass:\"custom-margin-top\"},[_vm._v(\" \"+_vm._s(lineItem.quantity)+\" \")]):_vm._e()])]),_c('div',{staticClass:\"col-6 col-md-2 custom-margin-top d-md-flex flex-md-column\"},[_c('strong',[_vm._v(_vm._s(_vm._f(\"formatCurrency\")(lineItem.total_price)))]),_c('br'),_vm._l((lineItem.redemption_codes),function(redemption_code,k){return _c('div',{key:_vm.i,staticClass:\"d-none d-md-block\"},[_c('strong',[_vm._v(\"-\"+_vm._s(_vm._f(\"formatCurrency\")(lineItem.item_price)))])])}),_c('a',{staticClass:\"ml-2 mt-5 gray d-none d-md-inline\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.removeItem(lineItem.id, lineItem.sku_code, lineItem.quantity)}}},[_c('i',{staticClass:\"fas fa-times mr-1\"}),_vm._v(\"Remove \")])],2),_vm._l((lineItem.redemption_codes),function(redemption_code,k){return _c('div',{key:_vm.i,staticClass:\"row\"},[_c('div',{staticClass:\"mobile-remove d-md-none\"},[_vm._v(\" \"+_vm._s(_vm.reminder_bar_name)+\" Codes: \"+_vm._s(redemption_code.code)+\" \")]),_c('div',{staticClass:\"flex-md-column mobile-remove d-md-none\"},[_c('strong',[_vm._v(\"-\"+_vm._s(_vm._f(\"formatCurrency\")(lineItem.item_price)))])])])})],2)})],2)])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"d-none d-md-block\"},[_c('div',{staticClass:\"row header\"},[_c('div',{staticClass:\"col-6\"},[_vm._v(\" Product \")]),_c('div',{staticClass:\"col-2\"},[_vm._v(\" Price \")]),_c('div',{staticClass:\"col-2\"},[_vm._v(\" Qty \")]),_c('div',{staticClass:\"col-2\"},[_vm._v(\" Subtotal \")])])])\n}]\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"full-cart has-loading-overlay\">\n\t\t<div class=\"overlay\" :class=\"{'d-none': !busy}\">\n\t\t\t<img class=\"img-fluid\" src=\"/img/loading-2.svg\">\n\t\t</div>\n\n\t\t<div class=\"container\">\n\t\t\t<div class=\"d-none d-md-block\">\n\t\t\t\t<div class=\"row header \">\n\t\t\t\t\t<div class=\"col-6\">\n\t\t\t\t\t\tProduct\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"col-2\">\n\t\t\t\t\t\tPrice\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"col-2\">\n\t\t\t\t\t\tQty\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"col-2\">\n\t\t\t\t\t\tSubtotal\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t\t<div  v-for=\"(lineItem, index) in cart.order_line_items\" :key=\"index\" class=\"row product-item pt-0\">\n\t\t\t\t<div class=\"col-12 col-md-6 mb-4\">\n\t\t\t\t\t<div class=\"mobile-remove d-md-none text-right\" >\n\t\t\t\t\t\t<a href=\"#\" @click.prevent=\"removeItem(lineItem.id, lineItem.sku_code, lineItem.quantity)\">\n\t\t\t\t\t\t\t<i class=\"fas fa-times\"></i>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t<div class=\"col-4 col-md-3\">\n\t\t\t\t\t\t\t<div class=\"image\">\n\t\t\t\t\t\t\t\t<a :href=\"lineItem.product_url\">\n\t\t\t\t\t\t\t\t\t<template v-if=\"lineItem.product_image\">\n\t\t\t\t\t\t\t\t\t\t<img class=\"img-fluid\" :src=\"lineItem.product_image\" :alt=\"lineItem.product_name + ' image'\">\n\t\t\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t\t\t\t<template v-if=\"!lineItem.product_image && lineItem.sku_code !== 'GIFTCARD'\">\n\t\t\t\t\t\t\t\t\t\t<img class=\"img-fluid\" src=\"/flutta/img/flook-cart-thumb.png\" alt=\"Product Image\">\n\t\t\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t\t\t\t<template v-if=\"lineItem.sku_code === 'GIFTCARD'\">\n\t\t\t\t\t\t\t\t\t\t<img class=\"img-fluid\" :src=\"'/img/flutta-gift-card.png'\" :alt=\"'giftcard'\">\n\t\t\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"col-8 col-md-9 pl-4\">\n\t\t\t\t\t\t\t<div class=\"title\">\n\t\t\t\t\t\t\t\t<a :href=\"lineItem.product_url\" class=\"title\">{{ lineItem.product_name }}</a>\n\t\t\t\t\t\t\t\t<div class=\"sub\">\n\n\t\t\t\t\t\t\t\t\t<span class=\"d-md-none\">\n\t\t\t\t\t\t\t\t\t\t<span>{{ lineItem.item_price | formatCurrency }} </span>\n\t\t\t\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t\t\t</span>\n\n\t\t\t\t\t\t\t\t\t<span>{{ lineItem.description }}</span>\n\t\t\t\t\t\t\t\t\t<div class=\"d-none d-md-block\" v-for=\"(redemption_code, k) in lineItem.redemption_codes\" :key=\"i\">\n\t\t\t\t\t\t\t\t\t\t{{ reminder_bar_name }} Codes:  {{ redemption_code.code}}\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"col-4 col-md-2 d-none d-md-block custom-margin-top\">\n\t\t\t\t\t{{ lineItem.item_price | formatCurrency }}\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"col-6 col-md-2\">\n\t\t\t\t\t<div class=\"form-group\">\n\t\t\t\t\t\t<select\n\t\t\t\t\t\t\tv-if=\"lineItem.allow_quantity_adjustment\"\n\t\t\t\t\t\t\tv-model=\"lineItem.quantity\"\n\t\t\t\t\t\t\t@change=\"quantityChanged(lineItem.sku_code, lineItem.quantity, lineItem.merchant)\"\n\t\t\t\t\t\t\tclass=\"form-control\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<option\n\t\t\t\t\t\t\t\tv-for=\"(option, index) in availableQtyOptions(lineItem, skus)\"\n\t\t\t\t\t\t\t\t:key=\"index\" :value=\"option.value\" :disabled=\"!option.has_stock\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{{ option.value }} {{ option.has_stock ? '' : '(Not Enough Stock)' }}\n\t\t\t\t\t\t\t</option>\n\t\t\t\t\t\t</select>\n\t\t\t\t\t\t<div v-else-if=\"lineItem.redeemed_items_qty > 0\" class=\"custom-margin-top\">\n\t\t\t\t\t\t\t{{ lineItem.quantity }}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"col-6 col-md-2 custom-margin-top d-md-flex flex-md-column\">\n\t\t\t\t\t<strong>{{ lineItem.total_price | formatCurrency }}</strong>\n\t\t\t\t\t<br>\n\t\t\t\t\t<div class=\"d-none d-md-block\" v-for=\"(redemption_code, k) in lineItem.redemption_codes\" :key=\"i\">\n\t\t\t\t\t\t<strong>-{{ lineItem.item_price | formatCurrency }}</strong>\n\t\t\t\t\t</div>\n\t\t\t\t\t<a class=\"ml-2 mt-5 gray d-none d-md-inline\" href=\"#\" @click.prevent=\"removeItem(lineItem.id, lineItem.sku_code, lineItem.quantity)\">\n\t\t\t\t\t\t\t<i class=\"fas fa-times mr-1\"></i>Remove\n\t\t\t\t\t</a>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"row\" v-for=\"(redemption_code, k) in lineItem.redemption_codes\" :key=\"i\">\n\t\t\t\t\t<div class=\"mobile-remove d-md-none\" >\n\t\t\t\t\t\t{{ reminder_bar_name }} Codes:  {{ redemption_code.code}}\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"flex-md-column mobile-remove d-md-none\">\n\t\t\t\t\t\t<strong>-{{ lineItem.item_price | formatCurrency }}</strong>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\n\timport { each } from 'lodash';\n\timport BaseCart from './Base.vue';\n\n\texport default {\n\t\tname: \"full-cart\",\n\t\textends: BaseCart,\n\t\tprops: {\n\t\t\tskus: { type: Array, required: true },\n\t\t\treminder_bar_name: { required: false }\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/scss/_custom.scss';\n@import \"node_modules/bootstrap/scss/mixins/_breakpoints\";\n.full-cart {\n\t.product-item {\n\t\tborder-bottom: 1px solid $gray-300;\n\t\tmargin: 20px 0;\n\t\tpadding: 20px 0;\n\t}\n\n\t.header {\n\t\tborder-bottom: 2px solid $gray-300;\n\t\tpadding-bottom: 20px;\n\t\tmargin-bottom: 20px;\n\t\tfont-weight: bold;\n\t}\n\n\t.image {\n\t\twidth: 100px;\n\t\tpadding-right: 30px;\n\t\t@include media-breakpoint-up(md) {\n\t\t\tpadding-right: 0px;\n\t\t}\n\t}\n\n\t.title {\n\t\tfont-weight: bold;\n\t}\n\n\t.sub {\n\t\tfont-weight: normal;\n\t\tfont-size: 14px;\n\t\tmargin-top: 10px;\n\t}\n\n\t.mobile-remove {\n\t\tmargin-top: 20px;\n\t\tmargin-left: 33px\n\t}\n\n\t.custom-margin-top {\n\t\tmargin-top: 12px;\n\t}\n}\n</style>","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Full.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Full.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Full.vue?vue&type=template&id=50145cde&scoped=true&\"\nimport script from \"./Full.vue?vue&type=script&lang=js&\"\nexport * from \"./Full.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Full.vue?vue&type=style&index=0&id=50145cde&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"50145cde\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"summary has-loading-overlay\"},[_c('div',{staticClass:\"overlay\",class:{'d-none': !_vm.busy}},[_c('img',{staticClass:\"img-fluid\",attrs:{\"src\":\"/img/loading-2.svg\"}})]),_c('div',{staticClass:\"bg-light container\"},[_vm._m(0),_c('table',{staticClass:\"w-100\"},[_c('tr',[_c('td',{staticClass:\"pb-1 w-50\"},[_vm._v(\"Order Total\")]),_c('td',{staticClass:\"pb-1\"},[_vm._v(_vm._s(_vm._f(\"formatCurrency\")(_vm.cart.sub_total)))])]),_c('tr',[(_vm.cart.shipping)?_c('td',{staticClass:\"pb-1 w-50\"},[_vm._v(\"Shipping\")]):_c('td',{staticClass:\"pb-1 w-50 position-absolute\"},[_vm._v(\"Shipping\")]),_c('td',{staticClass:\"pb-1\"},[(_vm.cart.shipping)?_c('span',[_vm._v(_vm._s(_vm._f(\"formatCurrency\")(_vm.cart.shipping)))]):(_vm.cart.redemption_discount)?_c('span',[_vm._v(\"Free\")]):_c('span',[_vm._v(\"Determined on checkout\")])])]),(_vm.cart.transaction_method == 'layup')?_c('tr',[_c('td',{staticClass:\"pb-1\"},[_vm._v(\"Layup service fee\")]),_c('td',{staticClass:\"pb-1\"},[_vm._v(\" \"+_vm._s(_vm._f(\"formatCurrency\")(_vm.cart.layup_service_fee))+\" \")])]):_vm._e(),(_vm.cart.voucher_code)?_c('tr',[_c('td',{staticClass:\"pb-1\"},[_vm._v(\" Discount (\"+_vm._s(_vm.cart.voucher_code)+\") \"),_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.applyCode(null)}}},[_c('i',{staticClass:\"fas fa-times\"})])]),_c('td',{staticClass:\"pb-1\"},[_vm._v(_vm._s(_vm._f(\"formatCurrency\")(_vm.cart.discount)))])]):_vm._e(),(_vm.cart.redemption_discount)?_c('tr',[_c('td',{staticClass:\"pb-1\"},[_vm._v(\" \"+_vm._s(_vm.reminder_bar_name)+\" Codes \")]),_c('td',{staticClass:\"pb-1\"},[_vm._v(_vm._s(_vm._f(\"formatCurrency\")(_vm.cart.redemption_discount)))])]):_vm._e(),(_vm.cart.user.total_credits)?_c('tr',[_c('td',{staticClass:\"pb-1\"},[_vm._v(\"Credits\")]),_c('td',{staticClass:\"pb-1\"},[_vm._v(\" \"+_vm._s(_vm._f(\"formatCurrency\")(-Math.min(_vm.cart.user.total_credits, _vm.cart.to_pay)))+\" \")])]):_vm._e(),_c('tr',{staticClass:\"text-secondary\"},[_vm._m(1),_c('td',{staticClass:\"pb-1\"},[_c('strong',[_vm._v(_vm._s(_vm._f(\"formatCurrency\")(_vm.cart.to_pay_external)))])])])]),_c('hr'),(this.reminder_bar_show)?_c('div',[_c('a',{staticClass:\"btn w-100 redemption-code-input\",style:(_vm.cssVars),attrs:{\"href\":`/redemption-codes/${ _vm.reminder_bar_slug }`}},[_vm._v(\" Use another \"+_vm._s(_vm.reminder_bar_name)+\" code \")])]):_vm._e(),(!this.reminder_bar_show && !_vm.cart.voucher_code)?_c('form',{staticClass:\"transparent row align-items-center\",on:{\"submit\":function($event){$event.preventDefault();return _vm.applyCode(_vm.voucherCode)}}},[_c('div',{staticClass:\"col form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.voucherCode),expression:\"voucherCode\"}],staticClass:\"form-control\",attrs:{\"placeholder\":\"Enter Promo Code\"},domProps:{\"value\":(_vm.voucherCode)},on:{\"change\":function($event){_vm.voucherInvalidFeedback = false},\"input\":function($event){if($event.target.composing)return;_vm.voucherCode=$event.target.value}}}),(_vm.voucherInvalidFeedback)?_c('div',{staticClass:\"error-message\"},[_vm._v(_vm._s(_vm.voucherInvalidFeedback))]):_vm._e()]),(_vm.showVoucherCode)?_c('div',{staticClass:\"col-auto\"},[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.applyCode(_vm.voucherCode)}}},[_vm._v(\"Apply\")])]):_vm._e()]):_vm._e(),_c('div',{staticClass:\"text-center\"},[_c('strong',[_vm._v(\"Have a gift card?\")]),_c('br'),_vm._v(\" You can add it during checkout. \"),_vm._t(\"proceed_link\"),(!_vm.$slots.proceed_link)?[_c('br'),_c('br'),_vm._m(2)]:_vm._e()],2)])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('p',{staticClass:\"text-uppercase\"},[_c('strong',[_vm._v(\"Order Summary\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('td',{staticClass:\"pb-1\"},[_c('strong',[_vm._v(\"TOTAL\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('a',{staticClass:\"btn btn-secondary text-uppercase w-100 proceed-to-checkout\",attrs:{\"href\":\"/checkout\"}},[_c('i',{staticClass:\"fas fa-lock mr-1\"}),_vm._v(\" Proceed to Checkout \")])\n}]\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"summary has-loading-overlay\">\n\t\t<div class=\"overlay\" :class=\"{'d-none': !busy}\">\n\t\t\t<img class=\"img-fluid\" src=\"/img/loading-2.svg\">\n\t\t</div>\n\n\t\t<div class=\"bg-light container\">\n\t\t\t<p class=\"text-uppercase\"><strong>Order Summary</strong></p>\n\n\t\t\t<table class=\"w-100\">\n\t\t\t\t<tr>\n\t\t\t\t\t<td class=\"pb-1 w-50\">Order Total</td>\n\t\t\t\t\t<td class=\"pb-1\">{{ cart.sub_total | formatCurrency }}</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td v-if=\"cart.shipping\" class=\"pb-1  w-50\">Shipping</td>\n\t\t\t\t\t<td v-else class=\"pb-1  w-50 position-absolute\">Shipping</td>\n\t\t\t\t\t<td class=\"pb-1\">\n\t\t\t\t\t\t<span v-if=\"cart.shipping\">{{ cart.shipping | formatCurrency }}</span>\n\t\t\t\t\t\t<span v-else-if=\"cart.redemption_discount\">Free</span>\n\t\t\t\t\t\t<span v-else>Determined on checkout</span>\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr v-if=\"cart.transaction_method == 'layup'\">\n\t\t\t\t\t<td class=\"pb-1\">Layup service fee</td>\n\n\t\t\t\t\t<td class=\"pb-1\">\n\t\t\t\t\t\t{{ cart.layup_service_fee | formatCurrency }}\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr v-if=\"cart.voucher_code\">\n\t\t\t\t\t<td class=\"pb-1\">\n\t\t\t\t\t\tDiscount ({{ cart.voucher_code }})\n\t\t\t\t\t\t<a href=\"#\" @click.prevent=\"applyCode(null)\">\n\t\t\t\t\t\t\t<i class=\"fas fa-times\"></i>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</td>\n\t\t\t\t\t<td class=\"pb-1\">{{ cart.discount | formatCurrency }}</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr v-if=\"cart.redemption_discount\">\n\t\t\t\t\t<td class=\"pb-1\">\n\t\t\t\t\t\t{{ reminder_bar_name }} Codes\n\t\t\t\t\t</td>\n\t\t\t\t\t<td class=\"pb-1\">{{ cart.redemption_discount | formatCurrency }}</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr v-if=\"cart.user.total_credits\">\n\t\t\t\t\t<td class=\"pb-1\">Credits</td>\n\n\t\t\t\t\t<td class=\"pb-1\">\n\t\t\t\t\t\t<!-- Choose the higher value total creds and amount to pay -->\n\t\t\t\t\t\t{{ -Math.min(cart.user.total_credits, cart.to_pay) | formatCurrency }}\n\t\t\t\t\t</td>\n\t\t\t\t</tr>\n\t\t\t\t<tr class=\"text-secondary\">\n\t\t\t\t\t<td class=\"pb-1\"><strong>TOTAL</strong></td>\n\t\t\t\t\t<td class=\"pb-1\"><strong>{{ cart.to_pay_external | formatCurrency }}</strong></td>\n\t\t\t\t</tr>\n\t\t\t</table>\n\n\t\t\t<hr>\n\n\t\t\t<div v-if=\"this.reminder_bar_show\">\n\t\t\t\t<a :href=\"`/redemption-codes/${ reminder_bar_slug }`\" class=\"btn w-100 redemption-code-input\" :style=\"cssVars\">\n\t\t\t\t\tUse another {{reminder_bar_name}} code\n\t\t\t\t</a>\n\n\t\t\t\t<!-- <form :action=\"redemptionCodeSearchUrl\" method=\"GET\" ref=\"redemptionForm\">\n\t\t\t\t\t<div class=\"col form-group redemption-code-form-group\">\n\t\t\t\t\t\t<input class=\"form-control redemption-code-input\" name=\"redemption_code\" v-model=\"redemptionCode\" :placeholder=\"redemptionCodePlaceholder\" @keyup.enter.native=\"searchRedemptionCode(redemptionCode)\" :style=\"cssVars\">\n\t\t\t\t\t</div>\n\t\t\t\t</form> -->\t\t\t\t\n\t\t\t</div>\n\n\t\t\t<form @submit.prevent=\"applyCode(voucherCode)\" class=\"transparent row align-items-center\" v-if=\"!this.reminder_bar_show && !cart.voucher_code\">\n\t\t\t\t<div class=\"col form-group\">\n\t\t\t\t\t<input class=\"form-control\" v-model=\"voucherCode\" @change=\"voucherInvalidFeedback = false\" placeholder=\"Enter Promo Code\">\n\t\t\t\t\t<div v-if=\"voucherInvalidFeedback\" class=\"error-message\">{{ voucherInvalidFeedback }}</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div v-if=\"showVoucherCode\" class=\"col-auto\">\n\t\t\t\t\t<a href=\"#\" @click.prevent=\"applyCode(voucherCode)\">Apply</a>\n\t\t\t\t</div>\n\t\t\t</form>\n\n\t\t\t<div class=\"text-center\">\n\t\t\t\t<strong>Have a gift card?</strong>\n\t\t\t\t<br>\n\t\t\t\tYou can add it during checkout.\n\n\t\t\t\t<slot name=\"proceed_link\"></slot>\n\n\t\t\t\t<template v-if=\"!$slots.proceed_link\">\n\t\t\t\t\t<br>\n\t\t\t\t\t<br>\n\n\t\t\t\t\t<a href=\"/checkout\" class=\"btn btn-secondary text-uppercase w-100 proceed-to-checkout\">\n\t\t\t\t\t\t<i class=\"fas fa-lock mr-1\"></i>\n\t\t\t\t\t\tProceed to Checkout\n\t\t\t\t\t</a>\n\t\t\t\t</template>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport BaseCart from './Base.vue';\n\nexport default {\n\tname: \"cart-summary\",\n\textends: BaseCart,\n\tprops: {\n\t\treminder_bar_show: { required: false },\n\t\treminder_bar_color: { required: false },\n\t\treminder_bar_background_color: { required: false },\n\t\treminder_bar_slug: { required: false },\n\t\treminder_bar_name: { required: false },\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tvoucherCode: '',\n\t\t\tvoucherInvalidFeedback: false,\n\t\t\tredemptionCode: '',\n\t\t\tredemptionCodePlaceholder: '',\n\t\t\tredemptionCodeSearchUrl: '',\n\t\t}\n\t},\n\tmounted() {\n\t\tthis.redemptionCodePlaceholder = 'Add ' + (this.reminder_bar_name || 'redemption') + ' code ...';\n\t\tthis.redemptionCodeSearchUrl = '/redemption-codes' + '/' + (this.reminder_bar_slug || '');\n\t},\n\tcomputed: {\n\t\tshowVoucherCode() {\n\t\t\tif (!this.voucherCode) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif (this.cart.voucher_code == this.voucherCode) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t},\n\t\tcssVars() {\n\t\t\treturn {\n\t\t\t\t'--primary-color': this.reminder_bar_color || '#495057',\n\t\t\t\t'--secondary-color': this.reminder_bar_background_color || '#fff'\n\t\t\t}\n\t\t}\n\t},\n\tmethods: {\n\t\tapplyCode(code) {\n\t\t\tif (this.busy) return;\n\n\t\t\tthis.$store.dispatch('applyVoucherCode', {code})\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (!response.data || !response.data.success) {\n\t\t\t\t\t\tthis.voucherInvalidFeedback = response.data.message || 'Code is not valid';\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.voucherCode = '';\n\t\t\t\t\t\tthis.voucherInvalidFeedback = false;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t},\n\t\tsearchRedemptionCode(redemptionCode) {\n\t\t\tthis.$refs.redemptionForm.submit()\n\t\t}\n\t}\n}\n</script>\n<style lang=\"scss\" scoped>\n@import '@/scss/app.scss';\n.summary {\n\t.add-redemption-code-btn {\n\t\tfont-size: 12px;\n\t}\n\t.redemption-code-form-group {\n\t\tpadding: 0px;\n\t}\n\t.redemption-code-input {\n\t\tborder-color: var(--secondary-color);\n\t\tbackground-color: var(--primary-color);\n\t\tcolor: var(--secondary-color);\n\t\tborder-radius: 0;\n\t\tfont-size: 16px;\n\t\tmargin-bottom: 15px;\n\t\ttext-align: center;\n\t\tcursor: pointer;\n\n\t\t&:hover {\n\t\t\tcolor: var(--secondary-color);\n\t\t}\n\n\t\t&:focus {\n\t\t\toutline: none;\n\t\t}\n\t}\n\t.redemption-code-input::placeholder {\n\t\tcolor: var(--secondary-color);\n\t}\n\n\t.proceed-to-checkout {\n\t\tpadding: 0.7rem 0;\n\t}\n}\n</style>","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Summary.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Summary.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Summary.vue?vue&type=template&id=3014d0c3&scoped=true&\"\nimport script from \"./Summary.vue?vue&type=script&lang=js&\"\nexport * from \"./Summary.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Summary.vue?vue&type=style&index=0&id=3014d0c3&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"3014d0c3\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"shipping\"},[_c('div',{staticClass:\"row mx-n1 mx-md-n2 mx-lg-n3\"},[_c('div',{staticClass:\"col-6 px-1 px-md-2 px-lg-3 form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cart.user_first_name),expression:\"cart.user_first_name\"}],staticClass:\"form-control\",attrs:{\"required\":\"\",\"name\":\"user_first_name\",\"placeholder\":\"Name\"},domProps:{\"value\":(_vm.cart.user_first_name)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.cart, \"user_first_name\", $event.target.value)}}})]),_c('div',{staticClass:\"col-6 px-1 px-md-2 px-lg-3 form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cart.user_last_name),expression:\"cart.user_last_name\"}],staticClass:\"form-control\",attrs:{\"required\":\"\",\"name\":\"user_last_name\",\"placeholder\":\"Surname\"},domProps:{\"value\":(_vm.cart.user_last_name)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.cart, \"user_last_name\", $event.target.value)}}})]),_c('div',{staticClass:\"col-6 px-1 px-md-2 px-lg-3 form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cart.user_contact_number),expression:\"cart.user_contact_number\"}],staticClass:\"form-control\",attrs:{\"required\":\"\",\"name\":\"user_contact_number\",\"pattern\":\"^0[0-9]{9}$\",\"placeholder\":\"Cellphone\"},domProps:{\"value\":(_vm.cart.user_contact_number)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.cart, \"user_contact_number\", $event.target.value)}}})]),_c('div',{staticClass:\"col-6 px-1 px-md-2 px-lg-3 form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cart.user_email),expression:\"cart.user_email\"}],staticClass:\"form-control\",attrs:{\"required\":\"\",\"name\":\"user_email\",\"placeholder\":\"Email\"},domProps:{\"value\":(_vm.cart.user_email)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.cart, \"user_email\", $event.target.value)}}})]),_c('div',{staticClass:\"col-12 px-1 px-md-2 px-lg-3 form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cart.delivery_street_address_1),expression:\"cart.delivery_street_address_1\"}],staticClass:\"form-control\",attrs:{\"required\":\"\",\"name\":\"delivery_street_address_1\",\"placeholder\":\"Street address\"},domProps:{\"value\":(_vm.cart.delivery_street_address_1)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.cart, \"delivery_street_address_1\", $event.target.value)}}})]),_c('div',{staticClass:\"col-12 px-1 px-md-2 px-lg-3 form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cart.delivery_company),expression:\"cart.delivery_company\"}],staticClass:\"form-control\",attrs:{\"name\":\"delivery_company\",\"placeholder\":\"Company\"},domProps:{\"value\":(_vm.cart.delivery_company)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.cart, \"delivery_company\", $event.target.value)}}})]),_c('div',{staticClass:\"col-12 px-1 px-md-2 px-lg-3 form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cart.delivery_suburb),expression:\"cart.delivery_suburb\"}],staticClass:\"form-control\",attrs:{\"required\":\"\",\"name\":\"delivery_suburb\",\"placeholder\":\"Suburb\"},domProps:{\"value\":(_vm.cart.delivery_suburb)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.cart, \"delivery_suburb\", $event.target.value)}}})]),_c('div',{staticClass:\"col-12 px-1 px-md-2 px-lg-3 form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cart.delivery_city),expression:\"cart.delivery_city\"}],staticClass:\"form-control\",attrs:{\"required\":\"\",\"name\":\"delivery_city\",\"placeholder\":\"City\"},domProps:{\"value\":(_vm.cart.delivery_city)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.cart, \"delivery_city\", $event.target.value)}}})]),_c('div',{staticClass:\"col-12 px-1 px-md-2 px-lg-3 form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cart.delivery_postal_code),expression:\"cart.delivery_postal_code\"}],staticClass:\"form-control\",attrs:{\"required\":\"\",\"name\":\"delivery_postal_code\",\"placeholder\":\"Postal code\"},domProps:{\"value\":(_vm.cart.delivery_postal_code)},on:{\"change\":function($event){return _vm.updatePostalCode()},\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.cart, \"delivery_postal_code\", $event.target.value)}}}),(_vm.cart.errors && _vm.cart.errors.delivery_postal_code)?_c('div',{staticClass:\"d-block invalid-feedback\"},[_vm._v(\"Postal code is not invalid.\")]):_vm._e()]),_c('div',{staticClass:\"col-12 px-1 px-md-2 px-lg-3 form-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cart.delivery_province),expression:\"cart.delivery_province\"}],staticClass:\"form-control\",attrs:{\"required\":\"\",\"name\":\"delivery_province\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.cart, \"delivery_province\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{domProps:{\"value\":null}},[_vm._v(\"-Select Province-\")]),_vm._l((_vm.provinces),function(province,key){return _c('option',{key:key,domProps:{\"value\":province.title}},[_vm._v(\" \"+_vm._s(province.title)+\" \")])})],2)]),_c('div',{staticClass:\"col-12 px-1 px-md-2 px-lg-3\"},[_c('div',{staticClass:\"form-group checkbox\"},[_c('input',{attrs:{\"type\":\"hidden\",\"name\":\"is_billing_same_as_delivery\",\"value\":\"0\"}}),_c('label',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cart.is_billing_same_as_delivery),expression:\"cart.is_billing_same_as_delivery\"}],staticClass:\"form-control\",attrs:{\"type\":\"checkbox\",\"name\":\"is_billing_same_as_delivery\",\"value\":\"1\"},domProps:{\"checked\":Array.isArray(_vm.cart.is_billing_same_as_delivery)?_vm._i(_vm.cart.is_billing_same_as_delivery,\"1\")>-1:(_vm.cart.is_billing_same_as_delivery)},on:{\"change\":function($event){var $$a=_vm.cart.is_billing_same_as_delivery,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=\"1\",$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(_vm.cart, \"is_billing_same_as_delivery\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(_vm.cart, \"is_billing_same_as_delivery\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(_vm.cart, \"is_billing_same_as_delivery\", $$c)}}}}),_vm._v(\" Billing address is the same \")]),_vm._m(0)])])]),_c('h2',{staticClass:\"text-uppercase\",class:{'d-none': _vm.cart.is_billing_same_as_delivery}},[_vm._v(\"Billing\")]),_c('div',{class:{'d-none': _vm.cart.is_billing_same_as_delivery}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-12 form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cart.billing_street_address_1),expression:\"cart.billing_street_address_1\"}],staticClass:\"form-control\",attrs:{\"name\":\"billing_street_address_1\",\"placeholder\":\"Street address\"},domProps:{\"value\":(_vm.cart.billing_street_address_1)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.cart, \"billing_street_address_1\", $event.target.value)}}})]),_c('div',{staticClass:\"col-12 form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cart.billing_company),expression:\"cart.billing_company\"}],staticClass:\"form-control\",attrs:{\"name\":\"billing_company\",\"placeholder\":\"Company\"},domProps:{\"value\":(_vm.cart.billing_company)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.cart, \"billing_company\", $event.target.value)}}})]),_c('div',{staticClass:\"col-12 form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cart.billing_suburb),expression:\"cart.billing_suburb\"}],staticClass:\"form-control\",attrs:{\"name\":\"billing_suburb\",\"placeholder\":\"Suburb\"},domProps:{\"value\":(_vm.cart.billing_suburb)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.cart, \"billing_suburb\", $event.target.value)}}})]),_c('div',{staticClass:\"col-12 form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cart.billing_city),expression:\"cart.billing_city\"}],staticClass:\"form-control\",attrs:{\"name\":\"billing_city\",\"placeholder\":\"City\"},domProps:{\"value\":(_vm.cart.billing_city)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.cart, \"billing_city\", $event.target.value)}}})]),_c('div',{staticClass:\"col-12 form-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cart.billing_province),expression:\"cart.billing_province\"}],staticClass:\"form-control\",attrs:{\"name\":\"billing_province\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(_vm.cart, \"billing_province\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])}}},[_c('option',{domProps:{\"value\":null}},[_vm._v(\"-Select Province-\")]),_vm._l((_vm.provinces),function(province,key){return _c('option',{key:key,domProps:{\"value\":province.title}},[_vm._v(\" \"+_vm._s(province.title)+\" \")])})],2)]),_c('div',{staticClass:\"col-12 form-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cart.billing_postal_code),expression:\"cart.billing_postal_code\"}],staticClass:\"form-control\",attrs:{\"name\":\"billing_postal_code\",\"placeholder\":\"Postal code\"},domProps:{\"value\":(_vm.cart.billing_postal_code)},on:{\"input\":function($event){if($event.target.composing)return;_vm.$set(_vm.cart, \"billing_postal_code\", $event.target.value)}}})])])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',[_vm._v(\" View Our \"),_c('a',{staticClass:\"text-secondary\",attrs:{\"href\":\"/shipping-and-returns\"}},[_vm._v(\"Shipping & Returns Policy\")])])\n}]\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"shipping\">\n\t\t<div class=\"row mx-n1 mx-md-n2 mx-lg-n3\">\n\t\t\t<div class=\"col-6 px-1 px-md-2 px-lg-3 form-group\">\n\t\t\t\t<input class=\"form-control\" required name=\"user_first_name\" v-model=\"cart.user_first_name\" placeholder=\"Name\">\n\t\t\t</div>\n\n\t\t\t<div class=\"col-6 px-1 px-md-2 px-lg-3 form-group\">\n\t\t\t\t<input class=\"form-control\" required name=\"user_last_name\" v-model=\"cart.user_last_name\" placeholder=\"Surname\">\n\t\t\t</div>\n\n\t\t\t<div class=\"col-6 px-1 px-md-2 px-lg-3 form-group\">\n\t\t\t\t<input class=\"form-control\" required name=\"user_contact_number\" v-model=\"cart.user_contact_number\" pattern=\"^0[0-9]{9}$\" placeholder=\"Cellphone\">\n\t\t\t</div>\n\n\t\t\t<div class=\"col-6 px-1 px-md-2 px-lg-3 form-group\">\n\t\t\t\t<input class=\"form-control\" required name=\"user_email\" v-model=\"cart.user_email\" placeholder=\"Email\">\n\t\t\t</div>\n\n\t\t\t<div class=\"col-12 px-1 px-md-2 px-lg-3 form-group\">\n\t\t\t\t<input class=\"form-control\" required name=\"delivery_street_address_1\" v-model=\"cart.delivery_street_address_1\" placeholder=\"Street address\">\n\t\t\t</div>\n\n\t\t\t<div class=\"col-12 px-1 px-md-2 px-lg-3 form-group\">\n\t\t\t\t<input class=\"form-control\" name=\"delivery_company\" v-model=\"cart.delivery_company\" placeholder=\"Company\">\n\t\t\t</div>\n\n\t\t\t<div class=\"col-12 px-1 px-md-2 px-lg-3 form-group\">\n\t\t\t\t<input class=\"form-control\" required name=\"delivery_suburb\" v-model=\"cart.delivery_suburb\" placeholder=\"Suburb\">\n\t\t\t</div>\n\n\t\t\t<div class=\"col-12 px-1 px-md-2 px-lg-3 form-group\">\n\t\t\t\t<input class=\"form-control\" required name=\"delivery_city\" v-model=\"cart.delivery_city\" placeholder=\"City\">\n\t\t\t</div>\n\n\t\t\t<div class=\"col-12 px-1 px-md-2 px-lg-3 form-group\">\n\t\t\t\t<input @change=\"updatePostalCode()\" class=\"form-control\" required name=\"delivery_postal_code\" v-model=\"cart.delivery_postal_code\" placeholder=\"Postal code\">\n\t\t\t\t<div v-if=\"cart.errors && cart.errors.delivery_postal_code\" class=\"d-block invalid-feedback\">Postal code is not invalid.</div>\n\t\t\t</div>\n\n\t\t\t<div class=\"col-12 px-1 px-md-2 px-lg-3 form-group\">\n\t\t\t\t<select class=\"form-control\" required name=\"delivery_province\" v-model=\"cart.delivery_province\">\n\t\t\t\t\t<option :value=\"null\">-Select Province-</option>\n\t\t\t\t\t<option v-for=\"(province, key) in provinces\" :key=\"key\" :value=\"province.title\">\n\t\t\t\t\t\t{{ province.title }}\n\t\t\t\t\t</option>\n\t\t\t\t</select>\n\t\t\t</div>\n\n\t\t\t<div class=\"col-12 px-1 px-md-2 px-lg-3\">\n\t\t\t\t<div class=\"form-group checkbox\">\n\t\t\t\t\t<input type=\"hidden\" name=\"is_billing_same_as_delivery\" value=\"0\">\n\t\t\t\t\t<label>\n\t\t\t\t\t\t<input class=\"form-control\" type=\"checkbox\" name=\"is_billing_same_as_delivery\" v-model=\"cart.is_billing_same_as_delivery\" value=\"1\">\n\t\t\t\t\t\tBilling address is the same\n\t\t\t\t\t</label>\n\t\t\t\t\t<div>\n\t\t\t\t\t\tView Our <a class=\"text-secondary\" href=\"/shipping-and-returns\">Shipping &amp; Returns Policy</a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<h2 :class=\"{'d-none': cart.is_billing_same_as_delivery}\" class=\"text-uppercase\">Billing</h2>\n\n\t\t<div :class=\"{'d-none': cart.is_billing_same_as_delivery}\">\n\t\t\t<div class=\"row\">\n\t\t\t\t<div class=\"col-12 form-group\">\n\t\t\t\t\t<input class=\"form-control\" name=\"billing_street_address_1\" v-model=\"cart.billing_street_address_1\" placeholder=\"Street address\">\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"col-12 form-group\">\n\t\t\t\t\t<input class=\"form-control\" name=\"billing_company\" v-model=\"cart.billing_company\" placeholder=\"Company\">\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"col-12 form-group\">\n\t\t\t\t\t<input class=\"form-control\" name=\"billing_suburb\" v-model=\"cart.billing_suburb\" placeholder=\"Suburb\">\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"col-12 form-group\">\n\t\t\t\t\t<input class=\"form-control\" name=\"billing_city\" v-model=\"cart.billing_city\" placeholder=\"City\">\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"col-12 form-group\">\n\t\t\t\t\t<select class=\"form-control\" name=\"billing_province\" v-model=\"cart.billing_province\">\n\t\t\t\t\t\t<option :value=\"null\">-Select Province-</option>\n\t\t\t\t\t\t<option v-for=\"(province, key) in provinces\" :key=\"key\" :value=\"province.title\">\n\t\t\t\t\t\t\t{{ province.title }}\n\t\t\t\t\t\t</option>\n\t\t\t\t\t</select>\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"col-12 form-group\">\n\t\t\t\t\t<input class=\"form-control\" name=\"billing_postal_code\" v-model=\"cart.billing_postal_code\" placeholder=\"Postal code\">\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport { mapGetters } from 'vuex';\nimport { each } from 'lodash';\n\nexport default {\n\tname: \"checkout-shipping\",\n\tprops: {\n\t\tprovinces: {type: Array}\n\t},\n\tcomputed: {\n\t\t...mapGetters(['cart'])\n\t},\n\tmethods: {\n\t\tupdatePostalCode() {\n\t\t\tthis.$store.dispatch('updatePostalCode', {delivery_postal_code: this.cart.delivery_postal_code});\n\t\t}\n\t}\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.shipping {\n}\n</style>","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Shipping.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Shipping.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Shipping.vue?vue&type=template&id=588069a2&scoped=true&\"\nimport script from \"./Shipping.vue?vue&type=script&lang=js&\"\nexport * from \"./Shipping.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Shipping.vue?vue&type=style&index=0&id=588069a2&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"588069a2\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"checkout-voucher\"},[_vm._m(0),_c('div',{staticClass:\"row align-items-center mx-n1 mx-md-n2 mx-lg-n3\"},[_c('div',{staticClass:\"col px-1 px-md-2 pl-lg-3 form-group input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.voucherCode),expression:\"voucherCode\"}],staticClass:\"form-control discount-code-entry\",attrs:{\"placeholder\":\"Enter Promo Code\",\"disabled\":_vm.cart.voucher_code},domProps:{\"value\":(_vm.voucherCode)},on:{\"change\":function($event){_vm.voucherInvalidFeedback = false},\"input\":function($event){if($event.target.composing)return;_vm.voucherCode=$event.target.value}}}),_c('div',{staticClass:\"input-group-append\"},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[(!_vm.cart.voucher_code)?_c('button',{staticClass:\"btn btn-primary w-100\",attrs:{\"type\":\"button\",\"disabled\":!_vm.voucherCode},on:{\"click\":function($event){return _vm.applyCode(_vm.voucherCode)}}},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[(_vm.busy)?_c('img',{key:\"1\",attrs:{\"src\":\"/img/loading.svg\"}}):_c('span',{key:\"2\"},[_vm._v(\"Apply\")])])],1):_c('button',{staticClass:\"btn btn-primary w-100\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.applyCode(null)}}},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[(_vm.busy)?_c('img',{key:\"1\",attrs:{\"src\":\"/img/loading.svg\"}}):_c('span',{key:\"2\"},[_vm._v(\"Remove\")])])],1)])],1)]),_c('div',{staticClass:\"col-12\"},[(_vm.cart.voucher_code && !_vm.cart.discount && !_vm.cart.voucher_free_shipping)?_c('div',{staticClass:\"error-message\"},[_vm._v(\" Voucher code successfully applied, but is not applicable to the current combination of products in the your cart \")]):(_vm.invalidFeedback)?_c('div',{staticClass:\"error-message\"},[_vm._v(_vm._s(_vm.invalidFeedback))]):_vm._e()])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"voucher-header mb-1\"},[_c('strong',[_vm._v(\"Apply your promo code\")])])\n}]\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"checkout-voucher\">\n\t\t<div class=\"voucher-header mb-1\">\n\t\t\t<strong>Apply your promo code</strong>\n\t\t</div>\n\t\t<div class=\"row align-items-center mx-n1 mx-md-n2 mx-lg-n3\">\n\t\t\t<div class=\"col px-1 px-md-2 pl-lg-3 form-group input-group\">\n\t\t\t\t<input\n\t\t\t\tclass=\"form-control discount-code-entry\"\n\t\t\t\tv-model=\"voucherCode\"\n\t\t\t\t@change=\"voucherInvalidFeedback = false\"\n\t\t\t\tplaceholder=\"Enter Promo Code\"\n\t\t\t\t:disabled=\"cart.voucher_code\"\n\t\t\t\t>\n\t\t\t\t<div class=\"input-group-append\">\n\t\t\t\t\t<transition name=\"fade\" mode=\"out-in\">\n\t\t\t\t\t\t<button\n\t\t\t\t\t\tv-if=\"!cart.voucher_code\"\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\tclass=\"btn btn-primary w-100\"\n\t\t\t\t\t\t:disabled=\"!voucherCode\"\n\t\t\t\t\t\t@click=\"applyCode(voucherCode)\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t<transition name=\"fade\" mode=\"out-in\">\n\t\t\t\t\t\t\t<img v-if=\"busy\" src=\"/img/loading.svg\" key=\"1\">\n\t\t\t\t\t\t\t<span v-else key=\"2\">Apply</span>\n\t\t\t\t\t\t</transition>\n\t\t\t\t\t</button>\n\n\t\t\t\t\t<button\n\t\t\t\t\tv-else\n\t\t\t\t\ttype=\"button\"\n\t\t\t\t\tclass=\"btn btn-primary w-100\"\n\t\t\t\t\t@click=\"applyCode(null)\"\n\t\t\t\t\t>\n\t\t\t\t\t<transition name=\"fade\" mode=\"out-in\">\n\t\t\t\t\t\t<img v-if=\"busy\" src=\"/img/loading.svg\" key=\"1\">\n\t\t\t\t\t\t<span v-else key=\"2\">Remove</span>\n\t\t\t\t\t</transition>\n\t\t\t\t</button>\n\t\t\t</transition>\n\t\t</div>\n\t</div>\n\n\t<div class=\"col-12\">\n\t\t<div v-if=\"cart.voucher_code && !cart.discount && !cart.voucher_free_shipping\" class=\"error-message\">\n\t\t\tVoucher code successfully applied, but is not applicable to the current combination of products in the your cart\n\t\t</div>\n\t\t<div v-else-if=\"invalidFeedback\" class=\"error-message\">{{ invalidFeedback }}</div>\n\t</div>\n</div>\n</div>\n</template>\n\n<script>\n\timport { mapGetters } from 'vuex';\n\n\texport default {\n\t\tname: \"checkout-voucher\",\n\t\tcomputed: {\n\t\t\t...mapGetters(['cart'])\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tbusy: false,\n\t\t\t\tvoucherCode: '',\n\t\t\t\tinvalidFeedback: false,\n\t\t\t\tappliedButInvalid: false\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tapplyCode(code) {\n\t\t\t\tif (this.busy) return;\n\n\t\t\t\tthis.busy = true;\n\t\t\t\tthis.$store.dispatch('applyVoucherCode', {code})\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (!response.data || !response.data.success) {\n\t\t\t\t\t\tthis.invalidFeedback = response.data.message || 'Code is not valid';\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.invalidFeedback = false\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t.finally(() => {\n\t\t\t\t\tthis.busy = false;\n\t\t\t\t\tthis.voucherCode = this.cart.voucher_code;\n\t\t\t\t});\n\t\t\t}\n\t\t},\n\t\tmounted() {\n\t\t\tthis.voucherCode = this.cart.voucher_code;\n\t\t},\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/scss/_custom.scss';\n.checkout-voucher {\n\t.btn {\n\t\tpadding: 0px;\n\t\theight: 100%;\n\t\tletter-spacing: 2px;\n\t\tfont-family: $gotham-ultra;\n\t\tfont-weight: normal;\n\t\tfont-size: 14px;\n\t\tline-height: 17px;\n\t\tbackground-color: $gray-950;\n\n\t\t&[disabled=\"disabled\"] {\n\t\t\tbackground-color: $gray-950 !important;\n\t\t\topacity: 1 !important;\n\t\t}\n\t}\n\n\tbutton img {\n\t\tmax-height: 22px;\n\t}\n\n\t.fade-enter-active, .fade-leave-active {\n\t\ttransition: opacity .4s\n\t}\n\t.fade-enter, .fade-leave-to {\n\t\topacity: 0\n\t}\n\n\t.form-group button {\n\t\tmin-width: 110px;\n\t}\n\n\t.discount-code-entry {\n\t\tborder: 2px solid $gray-950;\n\t}\n}\n</style>","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Voucher.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Voucher.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Voucher.vue?vue&type=template&id=6259b66e&scoped=true&\"\nimport script from \"./Voucher.vue?vue&type=script&lang=js&\"\nexport * from \"./Voucher.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Voucher.vue?vue&type=style&index=0&id=6259b66e&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"6259b66e\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"checkout-voucher\"},[_vm._m(0),_c('div',{staticClass:\"row align-items-center mx-n1 mx-md-n2 mx-lg-n3\"},[_c('div',{staticClass:\"col px-1 px-md-2 pl-lg-3 form-group input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.redemptionCode),expression:\"redemptionCode\"}],staticClass:\"form-control discount-code-entry\",attrs:{\"placeholder\":\"Enter Redemption Code\",\"disabled\":_vm.cart.redemption_discount > 0},domProps:{\"value\":(_vm.redemptionCode)},on:{\"change\":function($event){_vm.redemptionInvalidFeedback = false},\"input\":function($event){if($event.target.composing)return;_vm.redemptionCode=$event.target.value}}}),_c('div',{staticClass:\"input-group-append\"},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[(!_vm.cart.redemption_discount)?_c('button',{staticClass:\"btn btn-primary w-100\",attrs:{\"type\":\"button\",\"disabled\":!_vm.redemptionCode},on:{\"click\":function($event){return _vm.applyCode(_vm.redemptionCode)}}},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[(_vm.busy)?_c('img',{key:\"1\",attrs:{\"src\":\"/img/loading.svg\"}}):_c('span',{key:\"2\"},[_vm._v(\"Apply\")])])],1):_vm._e()])],1)]),_c('div',{staticClass:\"col-12\"},[(_vm.invalidFeedback)?_c('div',{staticClass:\"error-message\"},[_vm._v(_vm._s(_vm.invalidFeedback))]):_vm._e()])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"voucher-header mb-1\"},[_c('strong',[_vm._v(\"Apply your redemption code\")])])\n}]\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"checkout-voucher\">\n\t\t<div class=\"voucher-header mb-1\">\n\t\t\t<strong>Apply your redemption code</strong>\n\t\t</div>\n\t\t<div class=\"row align-items-center mx-n1 mx-md-n2 mx-lg-n3\">\n\t\t\t<div class=\"col px-1 px-md-2 pl-lg-3 form-group input-group\">\n\t\t\t\t<input\n\t\t\t\tclass=\"form-control discount-code-entry\"\n\t\t\t\tv-model=\"redemptionCode\"\n\t\t\t\t@change=\"redemptionInvalidFeedback = false\"\n\t\t\t\tplaceholder=\"Enter Redemption Code\"\n\t\t\t\t:disabled=\"cart.redemption_discount > 0\"\n\t\t\t\t>\n\t\t\t\t<div class=\"input-group-append\">\n\t\t\t\t\t<transition name=\"fade\" mode=\"out-in\">\n\t\t\t\t\t\t<button\n\t\t\t\t\t\tv-if=\"!cart.redemption_discount\"\n\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\tclass=\"btn btn-primary w-100\"\n\t\t\t\t\t\t:disabled=\"!redemptionCode\"\n\t\t\t\t\t\t@click=\"applyCode(redemptionCode)\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t<transition name=\"fade\" mode=\"out-in\">\n\t\t\t\t\t\t\t<img v-if=\"busy\" src=\"/img/loading.svg\" key=\"1\">\n\t\t\t\t\t\t\t<span v-else key=\"2\">Apply</span>\n\t\t\t\t\t\t</transition>\n\t\t\t\t\t</button>\n\t\t\t</transition>\n\t\t</div>\n\t</div>\n\n\t<div class=\"col-12\">\n\t\t<div v-if=\"invalidFeedback\" class=\"error-message\">{{ invalidFeedback }}</div>\n\t</div>\n</div>\n</div>\n</template>\n\n<script>\n\timport { mapGetters } from 'vuex';\n\n\texport default {\n\t\tname: \"checkout-redemption-code\",\n\t\tcomputed: {\n\t\t\t...mapGetters(['cart'])\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tbusy: false,\n\t\t\t\tredemptionCode: '',\n\t\t\t\tinvalidFeedback: false\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tapplyCode(code) {\n\t\t\t\tif (this.busy) return;\n\n\t\t\t\tthis.busy = true;\n\t\t\t\tthis.$store.dispatch('applyRedemptionCode', {code})\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (!response.data || !response.data.success) {\n\t\t\t\t\t\tthis.invalidFeedback = response.data.message || 'Redemption code is not valid';\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.invalidFeedback = false\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t.finally(() => {\n\t\t\t\t\tthis.busy = false;\n\t\t\t\t\tthis.redemptionCode = code;\n\t\t\t\t});\n\t\t\t}\n\t\t},\n\t\tmounted() {\n\t\t\tthis.redemptionCode = this.cart.added_redemption_codes[0] || '';\n\t\t},\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/scss/_custom.scss';\n.checkout-voucher {\n\t.btn {\n\t\tpadding: 0px;\n\t\theight: 100%;\n\t\tletter-spacing: 2px;\n\t\tfont-family: $gotham-ultra;\n\t\tfont-weight: normal;\n\t\tfont-size: 14px;\n\t\tline-height: 17px;\n\t\tbackground-color: $gray-950;\n\n\t\t&[disabled=\"disabled\"] {\n\t\t\tbackground-color: $gray-950 !important;\n\t\t\topacity: 1 !important;\n\t\t}\n\t}\n\n\tbutton img {\n\t\tmax-height: 22px;\n\t}\n\n\t.fade-enter-active, .fade-leave-active {\n\t\ttransition: opacity .4s\n\t}\n\t.fade-enter, .fade-leave-to {\n\t\topacity: 0\n\t}\n\n\t.form-group button {\n\t\tmin-width: 110px;\n\t}\n\n\t.discount-code-entry {\n\t\tborder: 2px solid $gray-950;\n\t}\n}\n</style>","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RedemptionCode.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RedemptionCode.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RedemptionCode.vue?vue&type=template&id=406869b2&scoped=true&\"\nimport script from \"./RedemptionCode.vue?vue&type=script&lang=js&\"\nexport * from \"./RedemptionCode.vue?vue&type=script&lang=js&\"\nimport style0 from \"./RedemptionCode.vue?vue&type=style&index=0&id=406869b2&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"406869b2\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return (this.redemption_search_show)?_c('div',{staticClass:\"checkout-voucher\"},[_c('a',{staticClass:\"form-control redemption-code-input\",style:(_vm.cssVars),attrs:{\"href\":`/redemption-codes/${ _vm.redemption_search_slug }`}},[_vm._v(\" Redeem another \"+_vm._s(_vm.redemption_search_name)+\" code here \")])]):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"checkout-voucher\" v-if=\"this.redemption_search_show\">\n\t\t<a :href=\"`/redemption-codes/${ redemption_search_slug }`\" class=\"form-control redemption-code-input\" :style=\"cssVars\">\n\t\t\tRedeem another {{redemption_search_name}} code here\n\t\t</a>\n\n\t\t<!-- <div class=\"voucher-header\" :style=\"cssVars\">\n\t\t\t<strong> {{ header }}</strong>\n\t\t</div>\n\t\t<div class=\"row align-items-center mx-n1 mx-md-n2 mx-lg-n3\">\n\t\t\t<div class=\"col px-1 px-md-2 pl-lg-3 form-group input-group\">\n\t\t\t\t<input\n\t\t\t\tclass=\"form-control\"\n\t\t\t\tv-model=\"redemptionCode\"\n\t\t\t\t@change=\"redemptionCodeInvalidFeedback = false\"\n\t\t\t\t:placeholder=\"redemptionCodePlaceholder\"\n\t\t\t\t:style=\"cssVars\"\n\t\t\t\t>\n\t\t\t\t<div class=\"input-group-append\">\n\t\t\t\t\t<transition name=\"fade\" mode=\"out-in\">\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\tv-if=\"!redemptionCode\"\n\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\tclass=\"btn btn-primary w-100\"\n\t\t\t\t\t\t\t@click=\"searchRedemptionCode(redemptionCode)\"\n\t\t\t\t\t\t\t:style=\"cssVars\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<transition name=\"fade\" mode=\"out-in\">\n\t\t\t\t\t\t\t\t<img v-if=\"busy\" src=\"/img/loading.svg\" key=\"1\">\n\t\t\t\t\t\t\t\t<span v-else key=\"2\">Apply</span>\n\t\t\t\t\t\t\t</transition>\n\t\t\t\t\t\t</button>\n\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\tv-else\n\t\t\t\t\t\t\ttype=\"button\"\n\t\t\t\t\t\t\tclass=\"btn btn-primary w-100\"\n\t\t\t\t\t\t\t@click=\"searchRedemptionCode(null)\"\n\t\t\t\t\t\t\t:style=\"cssVars\"\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<transition name=\"fade\" mode=\"out-in\">\n\t\t\t\t\t\t\t\t<img v-if=\"busy\" src=\"/img/loading.svg\" key=\"1\">\n\t\t\t\t\t\t\t\t<span v-else key=\"2\">Apply</span>\n\t\t\t\t\t\t\t</transition>\n\t\t\t\t\t\t</button>\n\t\t\t\t\t</transition>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div> -->\n\t</div>\n</template>\n\n<script>\n\timport { mapGetters } from 'vuex';\n\n\texport default {\n\t\tname: \"checkout-redemption-code-search\",\n\t\tcomputed: {\n\t\t\tcssVars() {\n\t\t\t\treturn {\n\t\t\t\t\t'--primary-color': this.redemption_search_color || '#040711',\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tprops: {\n\t\t\tredemption_search_show: { required: false },\n\t\t\tredemption_search_color: { required: false },\n\t\t\tredemption_search_slug: { required: false },\n\t\t\tredemption_search_name: { required: false },\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tbusy: false,\n\t\t\t\tredemptionCodeInvalidFeedback: false,\n\t\t\t\theader: 'Redeem another redemption code',\n\t\t\t\tredemptionCode: '',\n\t\t\t\tredemptionCodePlaceholder: '',\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tsearchRedemptionCode(code) {\n\t\t\t\twindow.location.href = '/redemption-codes/' + (this.redemption_search_slug || '') + '?redemption_code=' + this.redemptionCode;\n\t\t\t}\n\t\t},\n\t\tmounted() {\n\t\t\tthis.redemptionCodePlaceholder = (this.redemption_search_name || 'Redemption') + ' code';\n\t\t\tthis.header = 'Redeem another ' + (this.redemption_search_name || 'redemption') + ' code';\n\t\t},\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n.checkout-voucher {\n\t.btn {\n\t\tpadding: 0px;\n\t\theight: 100%;\n\t\tborder-color: var(--primary-color);\n\t\tbackground-color: var(--primary-color);\n\t}\n\n\tbutton img {\n\t\tmax-height: 22px;\n\t}\n\n\tinput {\n\t\tborder-color: var(--primary-color);\n\t}\n\n\t.voucher-header {\n\t\tcolor: var(--primary-color);\n\t\ttext-transform: uppercase;\n\t}\n\n\t.fade-enter-active, .fade-leave-active {\n\t\ttransition: opacity .4s\n\t}\n\t.fade-enter, .fade-leave-to {\n\t\topacity: 0\n\t}\n\n\t.form-group button {\n\t\tmin-width: 110px;\n\t}\n\n\t.redemption-code-input {\n\t\tborder-color: var(--primary-color);\n\t\tbackground-color: var(--primary-color);\n\t\tcolor: white;\n\t\tborder-radius: 0;\n\t\tfont-size: 15px;\n\t\tmargin-bottom: 15px;\n\t\ttext-align: center;\n\t\tcursor: pointer;\n\n\t\t&:hover {\n\t\t\tcolor: white;\n\t\t}\n\n\t\t&:focus {\n\t\t\toutline: none;\n\t\t}\n\t}\n}\n</style>","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RedemptionCodeSearch.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RedemptionCodeSearch.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RedemptionCodeSearch.vue?vue&type=template&id=6706214e&scoped=true&\"\nimport script from \"./RedemptionCodeSearch.vue?vue&type=script&lang=js&\"\nexport * from \"./RedemptionCodeSearch.vue?vue&type=script&lang=js&\"\nimport style0 from \"./RedemptionCodeSearch.vue?vue&type=style&index=0&id=6706214e&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"6706214e\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"gift-card\"},[_vm._m(0),_c('div',{staticClass:\"row align-items-center mx-n1 mx-md-n2 mx-lg-n3\"},[_c('div',{staticClass:\"col px-1 px-md-2 pl-lg-3 form-group input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.code),expression:\"code\"}],staticClass:\"form-control discount-code-entry\",attrs:{\"disabled\":_vm.cart.gift_card_number,\"placeholder\":\"Gift Card Number\"},domProps:{\"value\":(_vm.code)},on:{\"blur\":function($event){return _vm.getBalance()},\"input\":function($event){if($event.target.composing)return;_vm.code=$event.target.value}}}),_c('div',{staticClass:\"input-group-append\"},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[(!_vm.preventRemove && _vm.cart.gift_card_number)?_c('button',{key:\"1\",staticClass:\"btn btn-primary w-100\",on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.remove()}}},[_vm._v(\" Remove \")]):_c('button',{key:\"2\",staticClass:\"btn btn-primary w-100\",attrs:{\"disabled\":!_vm.code || !_vm.amount || _vm.cart.gift_card_number},on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.redeem()}}},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[(_vm.redemptionInProgress)?_c('img',{key:\"1\",attrs:{\"src\":\"/img/loading.svg\"}}):(_vm.cart.gift_card_number)?_c('span',{key:\"2\"},[_c('i',{staticClass:\"fas fa-check\"}),_vm._v(\" Redeemed \")]):_c('span',{key:\"3\"},[_vm._v(\" Redeem \")])])],1)])],1)]),_c('div',{staticClass:\"col-12 form-group\"},[(_vm.balance)?_c('small',{staticClass:\"d-block\"},[_vm._v(\"Gift Card Balance: \"+_vm._s(_vm._f(\"formatCurrency\")(_vm.balance)))]):_vm._e(),(_vm.invalidFeedback)?_c('small',{staticClass:\"text-danger d-block\"},[_vm._v(_vm._s(_vm.invalidFeedback))]):_vm._e()])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"gift-card-header mb-1\"},[_c('strong',[_vm._v(\"Redeem your gift cards\")])])\n}]\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"gift-card\">\n\t\t<div class=\"gift-card-header mb-1\">\n            <strong>Redeem your gift cards</strong>\n        </div>\n\t\t<div class=\"row align-items-center mx-n1 mx-md-n2 mx-lg-n3\">\n\t\t\t<div class=\"col px-1 px-md-2 pl-lg-3 form-group input-group\">\n\t\t\t\t<input\n\t\t\t\t\tv-model=\"code\" :disabled=\"cart.gift_card_number\" @blur=\"getBalance()\"\n\t\t\t\t\tplaceholder=\"Gift Card Number\" class=\"form-control discount-code-entry\"\n\t\t\t\t>\n\t\t\t\t<div class=\"input-group-append\">\n\t\t\t\t\t<transition name=\"fade\" mode=\"out-in\">\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\tv-if=\"!preventRemove && cart.gift_card_number\" @click.stop.prevent=\"remove()\"\n\t\t\t\t\t\t\tclass=\"btn btn-primary w-100\" key=\"1\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\tRemove\n\t\t\t\t\t\t</button>\n\n\t\t\t\t\t\t<button\n\t\t\t\t\t\t\tv-else :disabled=\"!code || !amount || cart.gift_card_number\" class=\"btn btn-primary w-100\"\n\t\t\t\t\t\t\t@click.stop.prevent=\"redeem()\" key=\"2\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<transition name=\"fade\" mode=\"out-in\">\n\t\t\t\t\t\t\t\t<img v-if=\"redemptionInProgress\" src=\"/img/loading.svg\" key=\"1\">\n\t\t\t\t\t\t\t\t<span v-else-if=\"cart.gift_card_number\" key=\"2\">\n\t\t\t\t\t\t\t\t\t<i class=\"fas fa-check\"></i>\n\t\t\t\t\t\t\t\t\tRedeemed\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t<span v-else key=\"3\">\n\t\t\t\t\t\t\t\t\tRedeem\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</transition>\n\t\t\t\t\t\t</button>\n\t\t\t\t\t</transition>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t\t<div class=\"col-12 form-group\">\n\t\t\t\t<small v-if=\"balance\" class=\"d-block\">Gift Card Balance: {{ balance | formatCurrency }}</small>\n\t\t\t\t<small v-if=\"invalidFeedback\" class=\"text-danger d-block\">{{ invalidFeedback }}</small>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport { mapGetters } from 'vuex';\nimport Cookies from \"js-cookie\";\nimport axios from 'axios';\n\nconst axiosInstance = axios.create({headers: {\"X-CSRF-Token\": Cookies.get(\"csrfToken\")}});\n\nexport default {\n\tname: \"checkout-gift-card\",\n\tcomputed: {\n\t\t...mapGetters(['cart'])\n\t},\n\tprops: {\n\t\tdefault_amount: { required: true }\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tcode: '',\n\t\t\tamount: '',\n\t\t\tbalance: '',\n\t\t\tinvalidFeedback: false,\n\t\t\tredemptionInProgress: false,\n\t\t\tpreventRemove: false,\n\t\t}\n\t},\n\tmounted() {\n\t\tthis.code = this.cart.gift_card_number;\n\t\tthis.amount = this.cart.gift_card_amount || this.default_amount;\n\t},\n\tmethods: {\n\t\tredeem() {\n\t\t\tthis.redemptionInProgress = true;\n\t\t\tthis.preventRemove = true;\n\t\t\tthis.$store.dispatch('redeemGiftCard', {code: this.code, amount: this.amount})\n\t\t\t\t.then(result => {\n\t\t\t\t\tif (result && result.data && result.data.message && !result.data.success) {\n\t\t\t\t\t\tthis.invalidFeedback = result.data.message;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.invalidFeedback = false;\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t.finally(() => {\n\t\t\t\t\tsetTimeout(() => this.redemptionInProgress = false, 1000);\n\t\t\t\t\tsetTimeout(() => this.preventRemove = false, 3000);\n\t\t\t\t});\n\t\t},\n\t\tgetBalance() {\n\t\t\tif (!this.code) return;\n\n\t\t\taxiosInstance.post('/api/cart/gift-card-balance.json', {code: this.code})\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response && response.data && response.data.success) {\n\t\t\t\t\t\tthis.balance = response.data.balance;\n\t\t\t\t\t\tthis.invalidFeedback = false;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.balance = '';\n\t\t\t\t\t\tthis.invalidFeedback = (response && response.data && response.data.message) || 'Invalid code entered';\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t.catch(error => this.balance = '');\n\t\t},\n\t\tremove() {\n\t\t\tthis.redemptionInProgress = true;\n\t\t\tthis.$store.dispatch('removeGiftCard', {code: this.code, amount: this.amount})\n\t\t\t\t.then(result => {\n\t\t\t\t\tif (!result || result.success) {\n\t\t\t\t\t\tthis.code = '';\n\t\t\t\t\t\tthis.amount = '';\n\t\t\t\t\t\tthis.balance = '';\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t.finally(() => setTimeout(() => this.redemptionInProgress = false, 1000));\n\t\t}\n\t}\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/scss/_custom.scss';\n.gift-card {\n\t.btn {\n\t\tpadding: 0px;\n\t\theight: 100%;\n\t\tletter-spacing: 2px;\n\t\tfont-family: $gotham-ultra;\n\t\tfont-weight: normal;\n\t\tfont-size: 14px;\n\t\tline-height: 17px;\n\t\tbackground-color: $gray-950;\n\n\t\t&[disabled=\"disabled\"] {\n\t\t\tbackground-color: $gray-950 !important;\n\t\t\topacity: 1 !important;\n\t\t}\n\t}\n\n\tbutton img {\n\t\tmax-height: 22px;\n\t}\n\n\t.fade-enter-active, .fade-leave-active {\n\t\ttransition: opacity .4s\n\t}\n\n\t.fade-enter, .fade-leave-to {\n\t\topacity: 0\n\t}\n\n\t.form-group button {\n\t\tmin-width: 110px;\n\t}\n\n\t.discount-code-entry {\n\t\tborder: 2px solid $gray-950;\n\t}\n}\n</style>","var render, staticRenderFns\nimport script from \"./Payment.vue?vue&type=script&lang=js&\"\nexport * from \"./Payment.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render, staticRenderFns\nimport script from \"./StoreInit.vue?vue&type=script&lang=js&\"\nexport * from \"./StoreInit.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render, staticRenderFns\nimport script from \"./Base.vue?vue&type=script&lang=js&\"\nexport * from \"./Base.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render, staticRenderFns\nimport script from \"./Payment.vue?vue&type=script&lang=js&\"\nexport * from \"./Payment.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GiftCard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GiftCard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GiftCard.vue?vue&type=template&id=393ef3c0&scoped=true&\"\nimport script from \"./GiftCard.vue?vue&type=script&lang=js&\"\nexport * from \"./GiftCard.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GiftCard.vue?vue&type=style&index=0&id=393ef3c0&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"393ef3c0\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"payments\"},[_c('input',{attrs:{\"name\":\"transaction_method\",\"id\":\"transactionMethod\",\"type\":\"hidden\"},domProps:{\"value\":_vm.order_transaction_method}}),(_vm.cart.to_pay_external)?_c('div',[_c('div',{staticClass:\"form-header px-0 pb-2\"},[_vm._v(\" Select a payment method \")]),_c('div',{attrs:{\"id\":\"payment-accordion\"}},[(! _vm.allow_vodapay_only)?[_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\",attrs:{\"id\":\"credit-card-label\"}},[_c('div',{staticClass:\"w-100 collapsed payment-method-option\",attrs:{\"data-payment-method\":\"credit_card\",\"data-toggle\":\"collapse\",\"data-target\":\"#credit-card-option\",\"aria-expanded\":\"false\",\"aria-controls\":\"credit-card-option\"},on:{\"click\":_vm.selectPayment}},[_c('span',{staticClass:\"method-check\"},[_c('i',{staticClass:\"fas fa-check\",class:{'d-none': _vm.transactionMethod != 'credit_card'}})]),_vm._v(\" Credit Card \")])]),_c('div',{staticClass:\"collapse\",attrs:{\"id\":\"credit-card-option\",\"aria-labelledby\":\"credit-card-label\",\"data-parent\":\"#payment-accordion\"}},[_c('div',{staticClass:\"card-body\"},[_c('card-selection',{attrs:{\"user\":_vm.user,\"enabled\":_vm.transactionMethod == 'credit_card'}})],1)])])]),_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\",attrs:{\"id\":\"instant-eft-label\"}},[_c('div',{staticClass:\"w-100 collapsed payment-method-option\",attrs:{\"data-payment-method\":\"ozow_eft\",\"data-toggle\":\"collapse\",\"data-target\":\"#instant-eft-option\",\"aria-expanded\":\"false\",\"aria-controls\":\"instant-eft-option\"},on:{\"click\":_vm.selectPayment}},[_vm._v(\" Ozow Instant EFT \"),_c('span',{staticClass:\"method-check\"},[_c('i',{staticClass:\"fas fa-check\",class:{'d-none': _vm.transactionMethod != 'ozow_eft'}})])])]),_vm._m(0)])]),_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\",attrs:{\"id\":\"payflex-label\"}},[_c('div',{staticClass:\"w-100 collapsed payment-method-option\",attrs:{\"data-payment-method\":\"payflex\",\"data-toggle\":\"collapse\",\"data-target\":\"#payflex-option\",\"aria-expanded\":\"false\",\"aria-controls\":\"payflex-option\"},on:{\"click\":_vm.selectPayment}},[_vm._v(\" PayFlex \"),_c('span',{staticClass:\"method-check payflex-check\"},[_c('i',{staticClass:\"fas fa-check\",class:{'d-none': _vm.transactionMethod != 'payflex'}})])])]),_vm._m(1)])])]:_vm._e(),(_vm.allow_vodapay_only)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\",attrs:{\"id\":\"voda-pay-label\"}},[_c('div',{staticClass:\"w-100 text-left collapsed pl-3\",attrs:{\"data-payment-method\":\"vodapay\",\"data-toggle\":\"collapse\",\"data-target\":\"#vodapay-option\",\"aria-expanded\":\"false\",\"aria-controls\":\"vodapay-option\"},on:{\"click\":_vm.selectPayment}},[_c('span',{staticClass:\"method-check\"},[_c('i',{staticClass:\"fas fa-check\",class:{'d-none': _vm.transactionMethod != 'vodapay'}})]),_vm._v(\" Pay with \"),_c('img',{attrs:{\"src\":\"/img/vodapay_logo.svg\",\"height\":\"20\"}})])]),_vm._m(2)])]):_vm._e()],2),_vm._m(3)]):_c('div',[(_vm.cart.redemption_discount)?_c('div',{staticClass:\"d-flex align-items-center\"},[_c('img',{staticClass:\"vodabucks-logo m-2\",attrs:{\"src\":\"/img/vodabucks-logo.png\",\"alt\":\"VodaBucks Logo\"}}),_c('p',{staticClass:\"vodacom-text\"},[_vm._v(\"You don't owe us a cent! Your order has been covered in full.\")])]):_c('div',[_c('p',[_vm._v(\"You don't owe us a cent! Your order has been covered in full.\")])])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"collapse\",attrs:{\"id\":\"instant-eft-option\",\"aria-labelledby\":\"instant-eft-label\",\"data-parent\":\"#payment-accordion\"}},[_c('div',{staticClass:\"card-body\"},[_c('strong',[_vm._v(\"Please note the following Instant EFT with OZOW payment instructions:\")]),_c('ul',[_c('li',[_vm._v(\"After clicking \\\"Place Your Order\\\" below, you will be taken to the OZOW page.\")]),_c('li',[_vm._v(\"Select your bank and log in using your internet banking credentials.\")]),_c('li',[_vm._v(\"Select an account to pay from and provide a reference for your records.\")]),_c('li',[_vm._v(\"Your bank will send you a One Time Pin (OTP) or mobile authentication message to verify the payment.\")]),_c('li',[_vm._v(\"Enter the OTP or accept the authentication message to complete the payment.\")]),_c('li',[_vm._v(\"Once the payment is complete we will send you an email confirming your order and direct you to the order confirmation page. No further action is required from your side.\")])]),_c('img',{staticClass:\"payment-logo-ozow mx-auto d-block\",attrs:{\"src\":\"/img/ozow-logo.png?v=1\",\"alt\":\"ozow-logo\"}})])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"collapse\",attrs:{\"id\":\"payflex-option\",\"aria-labelledby\":\"payflex-label\",\"data-parent\":\"#payment-accordion\"}},[_c('div',{staticClass:\"card-body\"},[_c('p',[_vm._v(\"HOW IT WORKS\")]),_c('p',[_vm._v(\"Payflex lets you get what you need now, but pay for it over four interest-free installments. You pay 25% upfront, then three payments of 25% over the following six weeks.\")]),_c('p',[_c('i',[_vm._v(\"Still want more information? \"),_c('a',{attrs:{\"href\":\"http://www.payflex.co.za/#howitworks/\",\"target\":\"_blank\"}},[_vm._v(\"Click here\")])])])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"collapse\",attrs:{\"id\":\"vodapay-option\",\"aria-labelledby\":\"voda-pay-label\",\"data-parent\":\"#payment-accordion\"}},[_c('div',{staticClass:\"card-body\"},[_vm._v(\" Use your VodaPay wallet to pay for your purchase! \")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"form-group\"},[_c('input',{attrs:{\"type\":\"hidden\",\"name\":\"accept_terms\",\"value\":\"0\"}}),_c('div',{staticClass:\"form-check\"},[_c('input',{staticClass:\"form-check-input\",attrs:{\"type\":\"checkbox\",\"value\":\"1\",\"name\":\"accept_terms\",\"id\":\"accept-terms\",\"required\":\"\"}}),_c('label',{staticClass:\"form-check-label\",attrs:{\"for\":\"accept-terms\"}},[_vm._v(\" I accept the \"),_c('a',{staticClass:\"text-secondary terms\",attrs:{\"href\":\"/terms-and-conditions\",\"target\":\"_blank\"}},[_vm._v(\"Terms and Conditions\")])]),_c('div',{staticClass:\"invalid-feedback\"},[_vm._v(\"You must agree before submitting.\")])])])\n}]\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"payments\">\n\t\t<input name=\"transaction_method\" id=\"transactionMethod\" type=\"hidden\" :value=\"order_transaction_method\">\n\n\t\t<div v-if=\"cart.to_pay_external\">\n\t\t\t<div class=\"form-header px-0 pb-2\">\n\t\t\t\tSelect a payment method\n\t\t\t</div>\n\n\t\t\t<div id=\"payment-accordion\">\n\t\t\t\t<template v-if=\"! allow_vodapay_only\">\n\t\t\t\t<div class=\"form-group\">\n\t\t\t\t\t<div class=\"card\">\n\t\t\t\t\t\t<div class=\"card-header\" id=\"credit-card-label\">\n\t\t\t\t\t\t\t<div @click=\"selectPayment\" data-payment-method=\"credit_card\" class=\"w-100 collapsed payment-method-option\" data-toggle=\"collapse\" data-target=\"#credit-card-option\" aria-expanded=\"false\" aria-controls=\"credit-card-option\">\n\t\t\t\t\t\t\t\t<span class=\"method-check\">\n\t\t\t\t\t\t\t\t\t<i class=\"fas fa-check\" :class=\"{'d-none': transactionMethod != 'credit_card'}\"></i>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\tCredit Card\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t<div id=\"credit-card-option\" class=\"collapse\" aria-labelledby=\"credit-card-label\" data-parent=\"#payment-accordion\">\n\t\t\t\t\t\t\t<div class=\"card-body\">\n\t\t\t\t\t\t\t\t<card-selection :user=\"user\" :enabled=\"transactionMethod == 'credit_card'\"></card-selection>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"form-group\">\n\t\t\t\t\t<div class=\"card\">\n\t\t\t\t\t\t<div class=\"card-header\" id=\"instant-eft-label\">\n\t\t\t\t\t\t\t<div @click=\"selectPayment\" data-payment-method=\"ozow_eft\" class=\"w-100 collapsed payment-method-option\" data-toggle=\"collapse\" data-target=\"#instant-eft-option\" aria-expanded=\"false\" aria-controls=\"instant-eft-option\">\n\t\t\t\t\t\t\t\tOzow Instant EFT\n\n\t\t\t\t\t\t\t\t<span class=\"method-check\">\n\t\t\t\t\t\t\t\t\t<i class=\"fas fa-check\" :class=\"{'d-none': transactionMethod != 'ozow_eft'}\"></i>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div id=\"instant-eft-option\" class=\"collapse\" aria-labelledby=\"instant-eft-label\" data-parent=\"#payment-accordion\">\n\t\t\t\t\t\t\t<div class=\"card-body\">\n\t\t\t\t\t\t\t\t<strong>Please note the following Instant EFT with OZOW payment instructions:</strong>\n\t\t\t\t\t\t\t\t<ul>\n\t\t\t\t\t\t\t\t\t<li>After clicking \"Place Your Order\" below, you will be taken to the OZOW page.</li>\n\t\t\t\t\t\t\t\t\t<li>Select your bank and log in using your internet banking credentials.</li>\n\t\t\t\t\t\t\t\t\t<li>Select an account to pay from and provide a reference for your records.</li>\n\t\t\t\t\t\t\t\t\t<li>Your bank will send you a One Time Pin (OTP) or mobile authentication message\n\t\t\t\t\t\t\t\t\tto verify the payment.</li>\n\t\t\t\t\t\t\t\t\t<li>Enter the OTP or accept the authentication message to complete the payment.</li>\n\t\t\t\t\t\t\t\t\t<li>Once the payment is complete we will send you an email confirming your order and\n\t\t\t\t\t\t\t\t\tdirect you to the order confirmation page. No further action is required from your\n\t\t\t\t\t\t\t\t\tside.</li>\n\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t\t<img class=\"payment-logo-ozow mx-auto d-block\" src=\"/img/ozow-logo.png?v=1\" alt=\"ozow-logo\">\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"form-group\">\n\t\t\t\t\t<div class=\"card\">\n\t\t\t\t\t\t<div class=\"card-header\" id=\"payflex-label\">\n\t\t\t\t\t\t\t<div @click=\"selectPayment\" data-payment-method=\"payflex\" class=\"w-100 collapsed payment-method-option\" data-toggle=\"collapse\" data-target=\"#payflex-option\" aria-expanded=\"false\" aria-controls=\"payflex-option\">\n\t\t\t\t\t\t\t\tPayFlex\n\n\t\t\t\t\t\t\t\t<span class=\"method-check payflex-check\">\n\t\t\t\t\t\t\t\t\t<i class=\"fas fa-check\" :class=\"{'d-none': transactionMethod != 'payflex'}\"></i>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div id=\"payflex-option\" class=\"collapse\" aria-labelledby=\"payflex-label\" data-parent=\"#payment-accordion\">\n\t\t\t\t\t\t\t<div class=\"card-body\">\n\t\t\t\t\t\t\t\t<p>HOW IT WORKS</p>\n\n\t\t\t\t\t\t\t\t<p>Payflex lets you get what you need now, but pay for it over four interest-free installments. You pay 25% upfront, then three payments of 25% over the following six weeks.</p>\n\n\t\t\t\t\t\t\t\t<p><i>Still want more information? <a href=\"http://www.payflex.co.za/#howitworks/\" target=\"_blank\">Click here</a></i></p>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t</template>\n\n\t\t\t\t<div v-if=\"allow_vodapay_only\" class=\"form-group\">\n\t\t\t\t\t<div class=\"card\">\n\t\t\t\t\t\t<div class=\"card-header\" id=\"voda-pay-label\">\n\t\t\t\t\t\t\t<div @click=\"selectPayment\" data-payment-method=\"vodapay\" class=\"w-100 text-left collapsed pl-3\" data-toggle=\"collapse\" data-target=\"#vodapay-option\" aria-expanded=\"false\" aria-controls=\"vodapay-option\">\n\t\t\t\t\t\t\t\t<span class=\"method-check\">\n\t\t\t\t\t\t\t\t\t<i class=\"fas fa-check\" :class=\"{'d-none': transactionMethod != 'vodapay'}\"></i>\n\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\tPay with <img src=\"/img/vodapay_logo.svg\" height=20 />\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t<div id=\"vodapay-option\" class=\"collapse\" aria-labelledby=\"voda-pay-label\" data-parent=\"#payment-accordion\">\n\t\t\t\t\t\t\t<div class=\"card-body\">\n\t\t\t\t\t\t\t\tUse your VodaPay wallet to pay for your purchase!\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t\t<div class=\"form-group\">\n\t\t\t\t<input type=\"hidden\" name=\"accept_terms\" value=\"0\">\n\n\t\t\t\t<div class=\"form-check\">\n\t\t\t\t\t<input class=\"form-check-input\" type=\"checkbox\" value=\"1\" name=\"accept_terms\" id=\"accept-terms\" required>\n\t\t\t\t\t<label class=\"form-check-label\" for=\"accept-terms\">\n\t\t\t\t\t\tI accept the <a href=\"/terms-and-conditions\" class=\"text-secondary terms\" target=\"_blank\">Terms and Conditions</a>\n\t\t\t\t\t</label>\n\n\t\t\t\t\t<div class=\"invalid-feedback\">You must agree before submitting.</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div v-else>\n\t\t\t<div class=\"d-flex align-items-center\" v-if=\"cart.redemption_discount\">\n\t\t\t\t<img src=\"/img/vodabucks-logo.png\" alt=\"VodaBucks Logo\" class=\"vodabucks-logo m-2\">\n\t\t\t\t<p class=\"vodacom-text\">You don't owe us a cent! Your order has been covered in full.</p>\n\t\t\t</div>\n\t\t\t<div v-else>\n\t\t\t\t<p>You don't owe us a cent! Your order has been covered in full.</p>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\n\texport default {\n\t\tname: \"base-payment\",\n\t\tprops: {\n\t\t\tuser: {required: true, type: Object},\n\t\t\tallow_vodapay_only: { default: false, type: Boolean }\n\t\t},\n\t\tcomputed: {\n\t\t\torder_transaction_method() {\n\t\t\t\tif (this.cart.to_pay_external <=  0) {\n\t\t\t\t\tif (this.cart.user.total_credits) {\n\t\t\t\t\t\treturn 'app_credit';\n\t\t\t\t\t}\n\t\t\t\t\tif (this.cart.gift_card_amount) {\n\t\t\t\t\t\treturn 'gift_card';\n\t\t\t\t\t}\n\t\t\t\t\tif (this.cart.redemption_discount) {\n\t\t\t\t\t\treturn 'redemption_code';\n\t\t\t\t\t}\n\t\t\t\t\tif (this.cart.voucher_code) {\n\t\t\t\t\t\treturn 'voucher_code';\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn this.transactionMethod;\n\t\t\t}\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\ttransactionMethod: this.allow_vodapay_only ? 'vodapay' : null\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/scss/_custom.scss';\n\n.payments {\n\t.vodacom-text {\n\t\tfont-size: 16px;\n\t\tcolor: $vodacom-red;\n\t\tmargin-bottom: 0;\n\t}\n\n\t#payment-accordion {\n\n\t\t.card-header {\n\t\t\tborder-bottom: none;\n\t\t\tborder: 2px solid $gray-950;\n\t\t\tbackground-color: $white;\n\n\t\t\t.method-check {\n\t\t\t\tposition: absolute;\n\t\t\t\tright: 20px;\n\t\t\t\tborder: 1px solid lightgray;\n\t\t\t\tborder-radius: 50%;\n\t\t\t\twidth: 24px;\n\t\t\t\theight: 24px;\n\t\t\t\ttop: 14px;\n\n\t\t\t\t@media (max-width: 800px) {\n\t\t\t\t\tposition: relative;\n\t\t\t\t\tfloat: right;\n\t\t\t\t\tleft: 0px;\n\t\t\t\t\twidth: 18px;\n\t\t\t\t\theight: 18px;\n\t\t\t\t\ttop: 55%;\n\t\t\t\t}\n\n\t\t\t\ti {\n\t\t\t\t\tposition: relative;\n\t\t\t\t\tleft: 1px;\n\t\t\t\t\tcolor: $success;\n\n\t\t\t\t\t@media (max-width: 800px) {\n\t\t\t\t\t\tleft: 3px;\n\t\t\t\t\t\ttop: -3px;\n\t\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t.layup-check {\n\t\t\t\tposition: absolute;\n\t\t\t\tright: 20px;\n\t\t\t\tborder: 1px solid lightgray;\n\t\t\t\tborder-radius: 50%;\n\t\t\t\twidth: 24px;\n\t\t\t\theight: 24px;\n\t\t\t\ttop: 18px;\n\n\t\t\t\t@media (max-width: 800px) {\n\t\t\t\t\tposition: relative;\n\t\t\t\t\tfloat: right;\n\t\t\t\t\tleft: 0px;\n\t\t\t\t\twidth: 18px;\n\t\t\t\t\theight: 18px;\n\t\t\t\t\ttop: 55%;\n\t\t\t\t}\n\n\t\t\t\ti {\n\t\t\t\t\tposition: relative;\n\t\t\t\t\tleft: 4px;\n\t\t\t\t\tcolor: $success;\n\n\t\t\t\t\t@media (max-width: 800px) {\n\t\t\t\t\t\tleft: 3px;\n\t\t\t\t\t\ttop: -3px;\n\t\t\t\t\t\tfont-size: 10px;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t.card-body {\n\t\t\tul {\n\t\t\t\tpadding-left: 10px;\n\t\t\t}\n\t\t}\n\n\t\t.payment-logo-ozow {\n\t\t\twidth: 105px;\n\t\t}\n\t}\n\n\ta.terms {\n\t\ttext-decoration: underline;\n\t}\n\n\t.payment-method-option {\n\t\ttext-align: center;\n\t\tfont-family: $gotham-ultra;\n\t\tletter-spacing: 2px;\n\t\ttext-transform: uppercase;\n\t}\n}\n</style>\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BasePayment.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./BasePayment.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BasePayment.vue?vue&type=template&id=69db6f3a&scoped=true&\"\nimport script from \"./BasePayment.vue?vue&type=script&lang=js&\"\nexport * from \"./BasePayment.vue?vue&type=script&lang=js&\"\nimport style0 from \"./BasePayment.vue?vue&type=style&index=0&id=69db6f3a&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"69db6f3a\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"card-selection\",attrs:{\"data-component\":\"cardSelection\"}},[_c('div',{staticClass:\"d-none\"},[_c('input',{attrs:{\"type\":\"hidden\",\"name\":\"customer[language]\"},domProps:{\"value\":_vm.language}}),_c('input',{attrs:{\"type\":\"hidden\",\"name\":\"customer[screenHeight]\"},domProps:{\"value\":_vm.screenHeight}}),_c('input',{attrs:{\"type\":\"hidden\",\"name\":\"customer[screenWidth]\"},domProps:{\"value\":_vm.screenWidth}}),_c('input',{attrs:{\"type\":\"hidden\",\"name\":\"customer[timezone]\"},domProps:{\"value\":_vm.timezone}})]),_vm._l((_vm.user.cards),function(card,i){return _c('label',{key:i,staticClass:\"row bg-light\"},[_c('div',{staticClass:\"col-auto align-self-center\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cardId),expression:\"cardId\"}],attrs:{\"type\":\"radio\",\"name\":\"card_id\"},domProps:{\"value\":card.id,\"checked\":_vm._q(_vm.cardId,card.id)},on:{\"change\":function($event){_vm.cardId=card.id}}})]),_c('div',{staticClass:\"col\"},[_vm._v(\" \"+_vm._s(card.title)+\" \"),_c('br'),_vm._v(\" **** **** **** \"+_vm._s(card.number)+\" \"),_c('br'),_vm._v(\" Expires \"+_vm._s(card.expiry_month)+\"/\"+_vm._s(card.expiry_year)+\" \")]),_c('div',{staticClass:\"col-auto align-self-center text-right\"},[_c('a',{staticClass:\"text-secondary\",on:{\"click\":function($event){return _vm.deleteCard(card)}}},[_vm._v(\" Delete \")])])])}),(_vm.selectedCard != null)?_c('input',{attrs:{\"type\":\"hidden\",\"id\":\"selectedCardSet\",\"value\":\"1\"}}):_vm._e(),_c('label',{staticClass:\"row bg-light\"},[_c('div',{staticClass:\"col-auto align-self-center\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.cardId),expression:\"cardId\"}],attrs:{\"type\":\"radio\",\"name\":\"card_id\"},domProps:{\"value\":null,\"checked\":_vm._q(_vm.cardId,null)},on:{\"change\":function($event){_vm.cardId=null}}})]),_c('div',{staticClass:\"col\"},[_vm._v(\" Add a New Card \")])]),(_vm.cardId == null && _vm.enabled)?_c('div',{staticClass:\"row mt-4\"},[_vm._m(0),_c('input',{attrs:{\"name\":\"card[user_id]\",\"type\":\"hidden\"},domProps:{\"value\":_vm.user.id}}),_vm._m(1),_vm._m(2),_vm._m(3),_c('div',{staticClass:\"form-group col-6\"},[_c('select',{staticClass:\"form-control\",attrs:{\"name\":\"card[expiry_month]\",\"required\":\"\"}},[_c('option',{attrs:{\"value\":\"\"}},[_vm._v(\"Month\")]),_vm._l(([1,2,3,4,5,6,7,8,9,10,11,12]),function(month,i){return _c('option',{key:i,domProps:{\"value\":month}},[_vm._v(\" \"+_vm._s(month)+\" \")])})],2)]),_c('div',{staticClass:\"form-group col-6\"},[_c('select',{staticClass:\"form-control\",attrs:{\"name\":\"card[expiry_year]\",\"required\":\"\"}},[_c('option',{attrs:{\"value\":\"\"}},[_vm._v(\"Year\")]),_vm._l((_vm.years),function(year,i){return _c('option',{key:i,domProps:{\"value\":year.toString().substring(2)}},[_vm._v(\" \"+_vm._s(year)+\" \")])})],2)]),_vm._m(4),_c('div',{staticClass:\"form-group col-6\"},[_vm._v(\" (Last 3 digits) \")]),_vm._m(5)]):_vm._e()],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"form-header p-3\"},[_c('strong',[_vm._v(\"Enter your details\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"form-group col-12\"},[_c('input',{staticClass:\"form-control\",attrs:{\"name\":\"card[title]\",\"required\":\"\",\"placeholder\":\"Provide a name for your card\"}})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"form-group col-12\"},[_c('input',{staticClass:\"form-control\",attrs:{\"name\":\"card[number]\",\"required\":\"\",\"placeholder\":\"Card Number\",\"maxlength\":\"16\"}})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"form-group col-12\"},[_c('input',{staticClass:\"form-control\",attrs:{\"name\":\"card[name]\",\"required\":\"\",\"placeholder\":\"Card Holder\"}})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"form-group col-6\"},[_c('input',{staticClass:\"form-control\",attrs:{\"name\":\"card[cvv]\",\"required\":\"\",\"placeholder\":\"CVC Number*\",\"maxlength\":\"3\"}})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"form-group col-12 justify-content-md-center\"},[_c('label',{staticClass:\"m-0\"},[_c('input',{staticClass:\"form-control w-auto\",attrs:{\"name\":\"card[save]\",\"type\":\"checkbox\",\"value\":\"1\"}}),_vm._v(\" Save card details \")])])\n}]\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"card-selection\" data-component=\"cardSelection\">\n\n\t\t<!-- Hidden Fields for all credit card(Peach Payment) transactions -->\n\t\t<div class=\"d-none\">\n\t\t\t<input type=\"hidden\" name=\"customer[language]\" :value=\"language\">\n\t\t\t<input type=\"hidden\" name=\"customer[screenHeight]\" :value=\"screenHeight\">\n\t\t\t<input type=\"hidden\" name=\"customer[screenWidth]\" :value=\"screenWidth\">\n\t\t\t<input type=\"hidden\" name=\"customer[timezone]\" :value=\"timezone\">\n\t\t</div>\n\n\t\t<label v-for=\"(card, i) in user.cards\" :key=\"i\" class=\"row bg-light\">\n\t\t\t<div class=\"col-auto align-self-center\">\n\t\t\t\t<input type=\"radio\" v-model=\"cardId\" :value=\"card.id\" name=\"card_id\">\n\t\t\t</div>\n\n\t\t\t<div class=\"col\">\n\t\t\t\t{{ card.title }}\n\t\t\t\t<br>\n\t\t\t\t**** **** **** {{ card.number }}\n\t\t\t\t<br>\n\t\t\t\tExpires {{ card.expiry_month }}/{{ card.expiry_year }}\n\t\t\t</div>\n\n\t\t\t<div class=\"col-auto align-self-center text-right\">\n\t\t\t\t<a @click=\"deleteCard(card)\" class=\"text-secondary\">\n\t\t\t\t\tDelete\n\t\t\t\t</a>\n\t\t\t</div>\n\t\t</label>\n\n\t\t<input v-if=\"selectedCard != null\" type=\"hidden\" id=\"selectedCardSet\" value=\"1\">\n\n\n\t\t<label class=\"row bg-light\">\n\t\t\t<div class=\"col-auto align-self-center\">\n\t\t\t\t<input type=\"radio\" v-model=\"cardId\" :value=\"null\" name=\"card_id\">\n\t\t\t</div>\n\n\t\t\t<div class=\"col\">\n\t\t\t\tAdd a New Card\n\t\t\t</div>\n\t\t</label>\n\n\t\t<div v-if=\"cardId == null && enabled\" class=\"row mt-4\">\n\t\t\t<div class=\"form-header p-3\">\n\t\t\t\t<strong>Enter your details</strong>\n\t\t\t</div>\n\t\t\t<input name=\"card[user_id]\" type=\"hidden\" :value=\"user.id\">\n\n\t\t\t<div class=\"form-group col-12\">\n\t\t\t\t<input name=\"card[title]\" required placeholder=\"Provide a name for your card\" class=\"form-control\">\n\t\t\t</div>\n\n\t\t\t<div class=\"form-group col-12\">\n\t\t\t\t<input name=\"card[number]\" required placeholder=\"Card Number\" maxlength=\"16\" class=\"form-control\">\n\t\t\t</div>\n\n\t\t\t<div class=\"form-group col-12\">\n\t\t\t\t<input name=\"card[name]\" required placeholder=\"Card Holder\" class=\"form-control\">\n\t\t\t</div>\n\n\t\t\t<div class=\"form-group col-6\">\n\t\t\t\t<select name=\"card[expiry_month]\" required class=\"form-control\">\n\t\t\t\t\t<option value=\"\">Month</option>\n\n\t\t\t\t\t<option v-for=\"(month, i) in [1,2,3,4,5,6,7,8,9,10,11,12]\" :key=\"i\" :value=\"month\">\n\t\t\t\t\t\t{{ month }}\n\t\t\t\t\t</option>\n\t\t\t\t</select>\n\t\t\t</div>\n\n\t\t\t<div class=\"form-group col-6\">\n\t\t\t\t<select name=\"card[expiry_year]\" required class=\"form-control\">\n\t\t\t\t\t<option value=\"\">Year</option>\n\n\t\t\t\t\t<option v-for=\"(year, i) in years\" :key=\"i\" :value=\"year.toString().substring(2)\">\n\t\t\t\t\t\t{{ year }}\n\t\t\t\t\t</option>\n\t\t\t\t</select>\n\t\t\t</div>\n\n\t\t\t<div class=\"form-group col-6\">\n\t\t\t\t<input name=\"card[cvv]\" required placeholder=\"CVC Number*\" maxlength=\"3\" class=\"form-control\">\n\t\t\t</div>\n\n\t\t\t<div class=\"form-group col-6\">\n\t\t\t\t(Last 3 digits)\n\t\t\t</div>\n\n\t\t\t<div class=\"form-group col-12 justify-content-md-center\">\n\t\t\t\t<label class=\"m-0\">\n\t\t\t\t\t<input name=\"card[save]\" type=\"checkbox\" value=\"1\" class=\"form-control w-auto\">\n\t\t\t\t\tSave card details\n\t\t\t\t</label>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\n\timport { each } from 'lodash';\n\n\n\texport default {\n\t\tname: 'CardSelection',\n\t\tprops: {\n\t\t\tenabled: {type: Boolean, required: true},\n\t\t\tuser: {type: Object, required: true}\n\t\t},\n\t\tcomputed: {\n\t\t\tselectedCard() {\n\t\t\t\tlet selectedCard = null\n\t\t\t\teach(this.user.cards, card => {\n\t\t\t\t\tif (this.cardId == card.id) {\n\t\t\t\t\t\tselectedCard = card;\n\t\t\t\t\t}\n\t\t\t\t})\n\n\t\t\t\treturn selectedCard;\n\t\t\t},\n\t\t\tyears() {\n\t\t\t\tlet date = new Date();\n\t\t\t\tlet currentYear = date.getFullYear();\n\t\t\t\tlet endYear = currentYear + 10;\n\n\t\t\t\tlet years = [];\n\t\t\t\tfor (var i = currentYear; i <= endYear; i++) {\n\t\t\t\t\tyears.push(i);\n\t\t\t\t}\n\t\t\t\treturn years;\n\t\t\t}\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tcardId: this.user.cards.length >= 1 ? this.user.cards[0].id : null,\n\t\t\t\tlanguage: navigator.language,\n\t\t\t\tscreenHeight: screen.height,\n\t\t\t\tscreenWidth: screen.width,\n\t\t\t\ttimezone: (new Date()).getTimezoneOffset(),\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\tdeleteCard(card) {\n\t\t\t\tdocument.getElementById(`delete-card-${card.id}`).click();\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n.card-selection {\n\tlabel {\n\t\tcursor: pointer;\n\t\twidth: 100%;\n\t\tpadding: 6px;\n\t\tmargin: 12px 0;\n\t}\n}\n</style>\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CardSelection.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./CardSelection.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CardSelection.vue?vue&type=template&id=240614d4&scoped=true&\"\nimport script from \"./CardSelection.vue?vue&type=script&lang=js&\"\nexport * from \"./CardSelection.vue?vue&type=script&lang=js&\"\nimport style0 from \"./CardSelection.vue?vue&type=style&index=0&id=240614d4&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"240614d4\",\n  null\n  \n)\n\nexport default component.exports","<script>\nimport { mapGetters } from 'vuex';\nimport BasePayment from '../BasePayment.vue'\nimport CardSelection from '../CardSelection.vue';\n\nexport default {\n\tname: \"checkout-payment\",\n\textends: BasePayment,\n\tcomponents: {CardSelection},\n\tcomputed: {\n\t\t...mapGetters(['cart'])\n\t},\n\twatch: {\n\t\tcart(cart) {\n\t\t\tthis.transactionMethod = cart.transaction_method\n\t\t}\n\t},\n\tmethods: {\n\t\tselectPayment(event) {\n\t\t\t/**\n\t\t\t * Note that when accordion is opened, `aria-expanded` attribute is false,\n\t\t\t * as this event occurs before BS hooks in and toggles it to true.\n\t\t\t */\n\t\t\tlet selected = event.currentTarget.getAttribute('aria-expanded') == 'false';\n\t\t\tlet method = selected ? event.currentTarget.getAttribute('data-payment-method') : null;\n\n\t\t\tif (method == 'layup' && !this.cart.allow_layby) {\n\t\t\t\treturn;\n\t\t\t}\n\n\n\t\t\tthis.transactionMethod = method\n\t\t\tthis.$store.dispatch('setTransactionMethod', { transaction_method: this.transactionMethod });\n\t\t\tthis.$store.dispatch('setCartPaymentMethod', { method: this.transactionMethod });\n\t\t}\n\t}\n}\n</script>","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Payment.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Payment.vue?vue&type=script&lang=js&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"review mt-2\"},[_c('h4',[_vm._v(\"YOUR ORDER\")]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-6\"},[_vm._v(\" Subtotal \")]),_c('div',{staticClass:\"col-6 text-right\"},[_vm._v(\" \"+_vm._s(_vm._f(\"formatCurrency\")(_vm.cart.sub_total))+\" \")]),_c('div',{staticClass:\"col-6\"},[_vm._v(\" Delivery fee \")]),_c('div',{staticClass:\"col-6 text-right\"},[(_vm.cart.shipping)?_c('span',[_vm._v(_vm._s(_vm._f(\"formatCurrency\")(_vm.cart.shipping)))]):_c('span',[_vm._v(\"FREE\")])]),(_vm.cart.transaction_method == 'layup')?_c('div',{staticClass:\"col-6\"},[_vm._v(\" Layup service fee \")]):_vm._e(),(_vm.cart.transaction_method == 'layup')?_c('div',{staticClass:\"col-6 text-right\"},[_vm._v(\" \"+_vm._s(_vm._f(\"formatCurrency\")(_vm.cart.layup_service_fee))+\" \")]):_vm._e(),(_vm.cart.voucher_code || _vm.cart.gift_card_number || _vm.cart.user.total_credits || _vm.cart.redemption_discount)?_c('hr',{staticClass:\"w-100\"}):_vm._e(),(_vm.cart.voucher_code)?_c('div',{staticClass:\"col-6\"},[_vm._v(\" Voucher (\"+_vm._s(_vm.cart.voucher_code)+\") \")]):_vm._e(),(_vm.cart.voucher_code)?_c('div',{staticClass:\"col-6 text-right\"},[_vm._v(\" \"+_vm._s(_vm._f(\"formatCurrency\")(-_vm.cart.discount))+\" \")]):_vm._e(),(_vm.cart.gift_card_number)?_c('div',{staticClass:\"col-6\"},[_vm._v(\" Gift Card \")]):_vm._e(),(_vm.cart.gift_card_number)?_c('div',{staticClass:\"col-6 text-right\"},[_vm._v(\" \"+_vm._s(_vm._f(\"formatCurrency\")(-_vm.cart.gift_card_amount))+\" \")]):_vm._e(),(_vm.cart.user.total_credits)?_c('div',{staticClass:\"col-6\"},[_vm._v(\" Credits \")]):_vm._e(),(_vm.cart.user.total_credits)?_c('div',{staticClass:\"col-6 text-right\"},[_vm._v(\" \"+_vm._s(_vm._f(\"formatCurrency\")(-Math.min(_vm.cart.user.total_credits, _vm.cart.to_pay)))+\" \")]):_vm._e(),(_vm.cart.redemption_discount)?_c('div',{staticClass:\"col-6\"},[_vm._v(\" \"+_vm._s(_vm.redemption_search_name)+\" Codes \")]):_vm._e(),(_vm.cart.redemption_discount)?_c('div',{staticClass:\"col-6 text-right\"},[_vm._v(\" \"+_vm._s(_vm._f(\"formatCurrency\")(-_vm.cart.redemption_discount))+\" \")]):_vm._e(),_vm._m(0),_c('div',{staticClass:\"col-6 text-right mt-4\"},[_c('h4',[_vm._v(_vm._s(_vm._f(\"formatCurrency\")(_vm.cart.to_pay_external)))])])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"col-6 mt-4\"},[_c('h4',[_vm._v(\"TOTAL\")])])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"d-inline\"},[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();_vm.showDeliverySummary = !_vm.showDeliverySummary}}},[_c('i',{staticClass:\"fas fa-question-circle\"})]),_c('div',{staticClass:\"delivery-summary modal\",class:{'show': _vm.showDeliverySummary}},[_c('div',{staticClass:\"modal-backdrop fade\",class:{'show': _vm.showDeliverySummary},on:{\"click\":function($event){$event.preventDefault();_vm.showDeliverySummary = !_vm.showDeliverySummary}}}),_c('div',{staticClass:\"modal-dialog\",attrs:{\"role\":\"document\"}},[_c('div',{staticClass:\"modal-content\"},[_c('div',{staticClass:\"modal-header\"},[_c('button',{staticClass:\"close\",attrs:{\"type\":\"button\",\"data-dismiss\":\"modal\",\"aria-label\":\"Close\"},on:{\"click\":function($event){$event.preventDefault();_vm.showDeliverySummary = !_vm.showDeliverySummary}}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])]),_c('div',{staticClass:\"modal-body\"},[_c('h2',[_vm._v(\" What does this mean? \")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\" Flutta sells their own products, as well as products from The Pro Shop and Cycle Lab. In some cases, your order will be shipped from multiple warehouses, meaning that there will be multiple charges for shipping. \")]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('h4',[_vm._v(\"Flutta\")]),_c('ul',_vm._l((_vm.getLineItemsForMerchant('FLK')),function(lineItem,i){return _c('li',{key:i},[_vm._v(\" \"+_vm._s(lineItem.product_name)+\" \")])}),0)]),_c('div',{staticClass:\"col\"},[_c('h4',[_vm._v(\"Cycle Lab\")]),_c('ul',_vm._l((_vm.getLineItemsForMerchant('CL')),function(lineItem,i){return _c('li',{key:i},[_vm._v(\" \"+_vm._s(lineItem.product_name)+\" \")])}),0)]),_c('div',{staticClass:\"col\"},[_c('h4',[_vm._v(\"The Pro Shop\")]),_c('ul',_vm._l((_vm.getLineItemsForMerchant('TPS')),function(lineItem,i){return _c('li',{key:i},[_vm._v(\" \"+_vm._s(lineItem.product_name)+\" \")])}),0)])]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('hr'),_c('strong',[_vm._v(_vm._s(_vm._f(\"formatCurrency\")(_vm.cart.parcel_ninja_shipping)))])]),_c('div',{staticClass:\"col\"},[_c('hr'),_c('strong',[_vm._v(_vm._s(_vm._f(\"formatCurrency\")(_vm.cart.cl_shipping)))])]),_c('div',{staticClass:\"col\"},[_c('hr'),_c('strong',[_vm._v(_vm._s(_vm._f(\"formatCurrency\")(_vm.cart.tps_shipping)))])])]),_c('hr'),(_vm.cart.merchants.length > 1)?_c('strong',[_vm._v(_vm._s(_vm._f(\"formatCurrency\")(_vm.cart.shipping)))]):_vm._e(),(_vm.cart.merchants.length > 1)?_c('hr'):_vm._e()])])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"d-inline\">\n\t\t<a href=\"#\" @click.prevent=\"showDeliverySummary = !showDeliverySummary\">\n\t\t\t<i class=\"fas fa-question-circle\"></i>\n\t\t</a>\n\n\t\t<div :class=\"{'show': showDeliverySummary}\" class=\"delivery-summary modal\">\n\t\t\t<div :class=\"{'show': showDeliverySummary}\" class=\"modal-backdrop fade\" @click.prevent=\"showDeliverySummary = !showDeliverySummary\"></div>\n\n\t\t\t<div role=\"document\" class=\"modal-dialog\">\n\t\t\t\t<div class=\"modal-content\">\n\t\t\t\t\t<div class=\"modal-header\">\n\t\t\t\t\t\t<button type=\"button\" data-dismiss=\"modal\" aria-label=\"Close\" class=\"close\" @click.prevent=\"showDeliverySummary = !showDeliverySummary\">\n\t\t\t\t\t\t\t<span aria-hidden=\"true\">×</span>\n\t\t\t\t\t\t</button>\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div class=\"modal-body\">\n\t\t\t\t\t\t<h2>\n\t\t\t\t\t\t\tWhat does this mean?\n\t\t\t\t\t\t</h2>\n\t\t\t\t\t\t<p class=\"text-left\">\n\t\t\t\t\t\t\tFlutta sells their own products, as well as products from The Pro Shop and Cycle Lab. In some cases, your order will be shipped from multiple warehouses, meaning that there will be multiple charges for shipping.\n\t\t\t\t\t\t</p>\n\n\t\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t\t<div class=\"col\">\n\t\t\t\t\t\t\t\t<h4>Flutta</h4>\n\n\t\t\t\t\t\t\t\t<ul>\n\t\t\t\t\t\t\t\t\t<li v-for=\"(lineItem, i) in getLineItemsForMerchant('FLK')\" :key=\"i\">\n\t\t\t\t\t\t\t\t\t\t{{ lineItem.product_name }}\n\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\t<div class=\"col\">\n\t\t\t\t\t\t\t\t<h4>Cycle Lab</h4>\n\n\t\t\t\t\t\t\t\t<ul>\n\t\t\t\t\t\t\t\t\t<li v-for=\"(lineItem, i) in getLineItemsForMerchant('CL')\" :key=\"i\">\n\t\t\t\t\t\t\t\t\t\t{{ lineItem.product_name }}\n\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\t<div class=\"col\">\n\t\t\t\t\t\t\t\t<h4>The Pro Shop</h4>\n\n\t\t\t\t\t\t\t\t<ul>\n\t\t\t\t\t\t\t\t\t<li v-for=\"(lineItem, i) in getLineItemsForMerchant('TPS')\" :key=\"i\">\n\t\t\t\t\t\t\t\t\t\t{{ lineItem.product_name }}\n\t\t\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t\t<div class=\"col\">\n\t\t\t\t\t\t\t\t<hr>\n\t\t\t\t\t\t\t\t<strong>{{ cart.parcel_ninja_shipping | formatCurrency }}</strong>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class=\"col\">\n\t\t\t\t\t\t\t\t<hr>\n\t\t\t\t\t\t\t\t<strong>{{ cart.cl_shipping | formatCurrency }}</strong>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class=\"col\">\n\t\t\t\t\t\t\t\t<hr>\n\t\t\t\t\t\t\t\t<strong>{{ cart.tps_shipping | formatCurrency }}</strong>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t<hr>\n\n\t\t\t\t\t\t<strong v-if=\"cart.merchants.length > 1\">{{ cart.shipping | formatCurrency }}</strong>\n\n\t\t\t\t\t\t<hr v-if=\"cart.merchants.length > 1\">\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport { mapGetters } from 'vuex';\nimport { each } from 'lodash';\n\nexport default {\n\tname: \"delivery-summary-modal\",\n\tcomputed: {\n\t\t...mapGetters(['cart'])\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tshowDeliverySummary: false\n\t\t}\n\t},\n\tmethods: {\n\t\tgetLineItemsForMerchant(merchant) {\n\t\t\tlet items = [];\n\n\t\t\teach(this.cart.order_line_items, lineItem => {\n\t\t\t\tif (lineItem.merchant == merchant) {\n\t\t\t\t\titems.push(lineItem);\n\t\t\t\t}\n\t\t\t})\n\t\t\treturn items;\n\t\t}\n\t}\n}\n</script>\n\n<style lang=\"scss\" scoped>\n\t.delivery-summary {\n\t\tdisplay: none;\n\n\t\t&.show {\n\t\t\tdisplay: block;\n\t\t}\n\n\t\t.modal-dialog {\n\t\t\tz-index: 1040;\n\t\t\tmax-width: 900px;\n\t\t}\n\t}\n</style>","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DeliverySummaryModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DeliverySummaryModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DeliverySummaryModal.vue?vue&type=template&id=7a0cc1a7&scoped=true&\"\nimport script from \"./DeliverySummaryModal.vue?vue&type=script&lang=js&\"\nexport * from \"./DeliverySummaryModal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DeliverySummaryModal.vue?vue&type=style&index=0&id=7a0cc1a7&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"7a0cc1a7\",\n  null\n  \n)\n\nexport default component.exports","<template>\n\t<div class=\"review mt-2\">\n\t\t<h4>YOUR ORDER</h4>\n\n\t\t<div class=\"row\">\n\t\t\t<div class=\"col-6\">\n\t\t\t\tSubtotal\n\t\t\t</div>\n\n\t\t\t<div class=\"col-6 text-right\">\n\t\t\t\t{{ cart.sub_total | formatCurrency }}\n\t\t\t</div>\n\n\t\t\t<div class=\"col-6\">\n\t\t\t\tDelivery fee\n\t\t\t</div>\n\n\t\t\t<div class=\"col-6 text-right\">\n\t\t\t\t<span v-if=\"cart.shipping\">{{ cart.shipping | formatCurrency }}</span>\n\t\t\t\t<span v-else>FREE</span>\n\t\t\t</div>\n\n\t\t\t<div v-if=\"cart.transaction_method == 'layup'\" class=\"col-6\">\n\t\t\t\tLayup service fee\n\t\t\t</div>\n\n\t\t\t<div v-if=\"cart.transaction_method == 'layup'\" class=\"col-6 text-right\">\n\t\t\t\t{{ cart.layup_service_fee | formatCurrency }}\n\t\t\t</div>\n\n\t\t\t<hr v-if=\"cart.voucher_code || cart.gift_card_number || cart.user.total_credits || cart.redemption_discount\" class=\"w-100\">\n\n\t\t\t<div v-if=\"cart.voucher_code\" class=\"col-6\">\n\t\t\t\tVoucher ({{ cart.voucher_code }})\n\t\t\t</div>\n\n\t\t\t<div v-if=\"cart.voucher_code\" class=\"col-6 text-right\">\n\t\t\t\t{{ -cart.discount | formatCurrency }}\n\t\t\t</div>\n\n\t\t\t<div v-if=\"cart.gift_card_number\" class=\"col-6\">\n\t\t\t\tGift Card\n\t\t\t</div>\n\n\t\t\t<div v-if=\"cart.gift_card_number\" class=\"col-6 text-right\">\n\t\t\t\t{{ -cart.gift_card_amount | formatCurrency }}\n\t\t\t</div>\n\n\t\t\t<div v-if=\"cart.user.total_credits\" class=\"col-6\">\n\t\t\t\tCredits\n\t\t\t</div>\n\n\t\t\t<div v-if=\"cart.user.total_credits\" class=\"col-6 text-right\">\n\t\t\t\t<!-- Choose the higher value total creds and amount to pay -->\n\t\t\t\t{{ -Math.min(cart.user.total_credits, cart.to_pay) | formatCurrency }}\n\t\t\t</div>\n\n\t\t\t<div v-if=\"cart.redemption_discount\" class=\"col-6\">\n\t\t\t\t{{ redemption_search_name }} Codes\n\t\t\t</div>\n\n\t\t\t<div v-if=\"cart.redemption_discount\" class=\"col-6 text-right\">\n\t\t\t\t{{ -cart.redemption_discount | formatCurrency }}\n\t\t\t</div>\n\n\t\t\t<div class=\"col-6 mt-4\">\n\t\t\t\t<h4>TOTAL</h4>\n\t\t\t</div>\n\n\t\t\t<div class=\"col-6 text-right mt-4\">\n\t\t\t\t<h4>{{ cart.to_pay_external | formatCurrency }}</h4>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport { mapGetters } from 'vuex';\nimport DeliverySummaryModal from '../DeliverySummaryModal.vue';\n\nexport default {\n\tname: \"checkout-review\",\n\tcomponents: {DeliverySummaryModal},\n\tprops: {\n\t\tredemption_search_name: { required: false }\n\t},\n\tcomputed: {\n\t\t...mapGetters(['cart'])\n\t}\n}\n\n</script>","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Review.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Review.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Review.vue?vue&type=template&id=65d20880&\"\nimport script from \"./Review.vue?vue&type=script&lang=js&\"\nexport * from \"./Review.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"order-summary\"},_vm._l((_vm.cart.order_line_items),function(orderLineItem,i){return _c('div',{key:i,staticClass:\"order-item\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-3 text-center\"},[_c('div',{staticClass:\"container-fluid px-0\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-12\"},[(orderLineItem.product_image)?[_c('img',{staticClass:\"img-fluid w-100\",attrs:{\"src\":orderLineItem.product_image,\"alt\":\"Product Image\"}})]:_vm._e(),(!orderLineItem.product_image && orderLineItem.sku_code !== 'GIFTCARD')?[_c('img',{staticClass:\"img-fluid w-100\",attrs:{\"src\":\"/flutta/img/flook-cart-thumb.png\",\"alt\":\"Product Image\"}})]:_vm._e(),(orderLineItem.sku_code === 'GIFTCARD')?[_c('img',{staticClass:\"img-fluid w-100\",attrs:{\"src\":'/img/flutta-gift-card.png',\"alt\":\"giftcard\"}})]:_vm._e()],2)])])]),_c('div',{staticClass:\"col-9\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col bold\"},[_vm._v(\" \"+_vm._s(_vm.computeLineItemDescription(orderLineItem))+\" \")]),_c('div',{staticClass:\"col-auto\"},[_c('a',{staticClass:\"remove-item\",attrs:{\"href\":\"#remove-item\"},on:{\"click\":function($event){return _vm.removeItem(orderLineItem.id, orderLineItem.sku_code, orderLineItem.quantity)}}},[_c('i',{staticClass:\"fas fa-times\"})])])]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-12 mb-2\"},[_c('div',{staticClass:\"subtext bold\"},[(orderLineItem.description)?_c('small',{staticClass:\"bold\"},[_vm._v(_vm._s(orderLineItem.description))]):_vm._e(),(orderLineItem.description)?_c('br'):_vm._e(),_c('small',{staticClass:\"float-left price bold\"},[_vm._v(_vm._s(_vm._f(\"formatCurrency\")(orderLineItem.item_price)))])])]),_vm._t(\"lineItem\",function(){return [_c('div',{staticClass:\"col-12\"},[_c('div',{staticClass:\"subtext\"},[_c('small',{staticClass:\"float-left\"},[_c('div',{staticClass:\"form-group quantity-selector\"},[(orderLineItem.allow_quantity_adjustment)?_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(orderLineItem.quantity),expression:\"orderLineItem.quantity\"}],staticClass:\"form-control w-auto\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(orderLineItem, \"quantity\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},function($event){return _vm.quantityChanged(orderLineItem.sku_code, orderLineItem.quantity, orderLineItem.merchant)}]}},_vm._l((_vm.availableQtyOptions(orderLineItem, _vm.skus)),function(option,index){return _c('option',{key:index,attrs:{\"disabled\":!option.has_stock},domProps:{\"value\":option.value}},[_vm._v(\" \"+_vm._s(option.value)+\" \"+_vm._s(option.has_stock ? '' : '(Not Enough Stock)')+\" \")])}),0):(orderLineItem.redeemed_items_qty > 0)?_c('div',{staticClass:\"w-auto\"},[_vm._v(\" Quantity: \"+_vm._s(orderLineItem.quantity)+\" \")]):_vm._e()])])])]),_c('div',{staticClass:\"col-auto\"},_vm._l((orderLineItem.redemption_codes),function(redemption_code,k){return _c('div',{key:i},[_vm._v(\" \"+_vm._s(_vm.reminder_bar_name)+\" Codes: \"+_vm._s(redemption_code.code)+\" \"),_c('br'),_vm._v(\" -\"+_vm._s(_vm._f(\"formatCurrency\")(orderLineItem.item_price))+\" \")])}),0)]})],2)])])])}),0)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"order-summary\">\n\t\t<div v-for=\"(orderLineItem, i) in cart.order_line_items\" :key=\"i\" class=\"order-item\">\n\t\t\t<div class=\"row\">\n\t\t\t\t<div class=\"col-3 text-center\">\n\t\t\t\t\t<div class=\"container-fluid px-0\">\n\t\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t\t<div class=\"col-md-12\">\n\t\t\t\t\t\t\t\t<template v-if=\"orderLineItem.product_image\">\n\t\t\t\t\t\t\t\t\t<img class=\"img-fluid w-100\" :src=\"orderLineItem.product_image\" alt=\"Product Image\">\n\t\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t\t\t<template v-if=\"!orderLineItem.product_image && orderLineItem.sku_code !== 'GIFTCARD'\">\n\t\t\t\t\t\t\t\t\t\t<img class=\"img-fluid w-100\" src=\"/flutta/img/flook-cart-thumb.png\" alt=\"Product Image\">\n\t\t\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t\t\t<template v-if=\"orderLineItem.sku_code === 'GIFTCARD'\">\n\t\t\t\t\t\t\t\t\t<img class=\"img-fluid w-100\" :src=\"'/img/flutta-gift-card.png'\" alt=\"giftcard\">\n\t\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"col-9\">\n\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t<div class=\"col bold\">\n\t\t\t\t\t\t\t{{ computeLineItemDescription(orderLineItem) }}\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t<div class=\"col-auto\">\n\t\t\t\t\t\t\t<a href=\"#remove-item\" @click=\"removeItem(orderLineItem.id, orderLineItem.sku_code, orderLineItem.quantity)\" class=\"remove-item\">\n\t\t\t\t\t\t\t\t<i class=\"fas fa-times\"></i>\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t<div class=\"col-12 mb-2\">\n\t\t\t\t\t\t\t<div class=\"subtext bold\">\n\t\t\t\t\t\t\t\t<small class=\"bold\" v-if=\"orderLineItem.description\">{{ orderLineItem.description }}</small>\n\t\t\t\t\t\t\t\t<br v-if=\"orderLineItem.description\">\n\t\t\t\t\t\t\t\t<small class=\"float-left price bold\">{{ orderLineItem.item_price | formatCurrency}}</small>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t<slot name=\"lineItem\">\n\t\t\t\t\t\t\t<div class=\"col-12\">\n\t\t\t\t\t\t\t\t<div class=\"subtext\">\n\t\t\t\t\t\t\t\t\t<small class=\"float-left\">\n\t\t\t\t\t\t\t\t\t\t<div class=\"form-group quantity-selector\">\n\t\t\t\t\t\t\t\t\t\t\t<select\n\t\t\t\t\t\t\t\t\t\t\t\tv-if=\"orderLineItem.allow_quantity_adjustment\"\n\t\t\t\t\t\t\t\t\t\t\t\tv-model=\"orderLineItem.quantity\"\n\t\t\t\t\t\t\t\t\t\t\t\t@change=\"quantityChanged(orderLineItem.sku_code, orderLineItem.quantity, orderLineItem.merchant)\"\n\t\t\t\t\t\t\t\t\t\t\t\tclass=\"form-control w-auto\"\n\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t<option\n\t\t\t\t\t\t\t\t\t\t\t\t\tv-for=\"(option, index) in availableQtyOptions(orderLineItem, skus)\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t:key=\"index\" :value=\"option.value\" :disabled=\"!option.has_stock\"\n\t\t\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t\t{{ option.value }} {{ option.has_stock ? '' : '(Not Enough Stock)' }}\n\t\t\t\t\t\t\t\t\t\t\t\t</option>\n\t\t\t\t\t\t\t\t\t\t\t</select>\n\t\t\t\t\t\t\t\t\t\t\t<div v-else-if=\"orderLineItem.redeemed_items_qty > 0\" class=\"w-auto\">\n\t\t\t\t\t\t\t\t\t\t\t\tQuantity: {{ orderLineItem.quantity }}\n\t\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t\t</small>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class=\"col-auto\">\n\t\t\t\t\t\t\t\t<div v-for=\"(redemption_code, k) in orderLineItem.redemption_codes\" :key=\"i\">\n\t\t\t\t\t\t\t\t\t{{ reminder_bar_name }} Codes:  {{ redemption_code.code}}\n\t\t\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t\t\t-{{ orderLineItem.item_price | formatCurrency}}\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</slot>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\n\timport { each } from 'lodash';\n\timport { mapGetters } from 'vuex';\n\timport BaseCart from '../cart/Base.vue';\n\n\texport default {\n\t\tname: \"checkout-order-summary\",\n\t\textends: BaseCart,\n\t\tprops: {\n\t\t\tskus: { type: Array, required: true },\n\t\t\treminder_bar_name: { required: false }\n\t\t},\n\t\tcomputed: {\n\t\t\t...mapGetters(['cart'])\n\t\t},\n\t\tmethods: {\n\t\t\tcomputeLineItemDescription(orderLineItem) {\n\t\t\t\tlet parts = [orderLineItem.size, orderLineItem.colour].filter(part => (part.trim() !== '' && part.trim() !== '-'));\n\t\t\t\tif (parts.length >= 1) {\n\t\t\t\t\tparts = parts.join(' / ');\n\t\t\t\t\treturn `${orderLineItem.product_name} (${parts})`;\n\t\t\t\t}\n\t\t\t\treturn orderLineItem.product_name;\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/scss/_custom.scss';\n\n.card {\n\tmargin-bottom: 1rem;\n}\n\n.order-summary {\n\n\tselect {\n\t\tfont-weight: 800;\n\t}\n\n\tpadding: 0px;\n\tmargin: 0px;\n\tposition: relative;\n\tborder-radius: 50%;\n\n\t.remove-item {\n\t\tcolor: $gray-600;\n\t\twidth: 100%;\n\t\tpadding-right: 18px;\n\t}\n\n\t.quantity-selector {\n\t\tpadding-right: 18px;\n\n\t\tselect {\n\t\t\tborder: 2px solid $gray-950;\n\t\t}\n\t}\n\n\t.order-item {\n\t\t// box-shadow: 0px 1px 3px $shadow;\n\t\tpadding: 0px 10px;\n\n\t\t.row {\n\t\t\tpadding: 15px 0px;\n\t\t}\n\t}\n\n\t.price {\n\t\tfont-weight: bold;\n\t\tfont-size: 14px;\n\t\tcolor: $black;\n\t}\n\n\ta.icon {\n\t\tcolor: $dark;\n\t}\n\n\t&.has-items {\n\t\tbackground-color: $secondary;\n\t\t// box-shadow: 0 0 6px 3px $secondary;\n\n\t\ta.icon {\n\t\t\tcolor: $white;\n\t\t}\n\t}\n\n\ta.icon {\n\t\tdisplay: block;\n\t\twidth: 42px;\n\t\theight: 42px;\n\t\ttext-align: center;\n\t\tline-height: 42px;\n\n\t\t&:hover {\n\t\t\ttext-decoration: none;\n\t\t}\n\t}\n\n\t.cart-summary {\n\t\tposition: absolute;\n\t\ttop: 40px;\n\t\tright: 0;\n\t\tmin-width: 360px;\n\t\tz-index: 10;\n\n\t\t@media screen and (min-width: 992px) {\n            right: -15px;\n            min-width: 560px;\n\t\t}\n\n\t\timg {\n\t\t\tmax-height: 65px;\n\t\t}\n\n\t\t.product-link {\n\t\t\twhite-space: normal;\n\t\t\twidth: calc(100% - 18px);\n\t\t}\n\n\t\t.remove-item {\n\t\t\tposition: absolute;\n\t\t\tright: 14px;\n\t\t\ttop: 0;\n\t\t}\n\t}\n}\n</style>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Summary.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Summary.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Summary.vue?vue&type=template&id=751c1b2f&scoped=true&\"\nimport script from \"./Summary.vue?vue&type=script&lang=js&\"\nexport * from \"./Summary.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Summary.vue?vue&type=style&index=0&id=751c1b2f&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"751c1b2f\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"place-order mt-1\"},[(!_vm.cart.transaction_method && _vm.cart.to_pay_external > 0)?_c('span',{staticClass:\"hidden\",attrs:{\"id\":\"paymentErrors\"}}):_vm._e(),_c('button',{staticClass:\"text-uppercase btn btn-wide btn-secondary checkout-submit submit\",attrs:{\"type\":\"submit\",\"title\":_vm.cart.transaction_method || _vm.cart.to_pay_external <= 0 ? null : 'Select a payment method before placing your order'}},[_vm._v(\" \"+_vm._s(_vm.cart.to_pay_external <= 0 ? 'Order' : 'Pay')+\" \")])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"place-order mt-1\">\n\t\t<span v-if=\"!cart.transaction_method && cart.to_pay_external > 0\" class=\"hidden\" id=\"paymentErrors\"></span>\n\t\t<button\n\t\t\ttype=\"submit\" class=\"text-uppercase btn btn-wide btn-secondary checkout-submit submit\"\n\t\t\t:title=\"cart.transaction_method || cart.to_pay_external <= 0 ? null : 'Select a payment method before placing your order'\"\n\t\t>\n\t\t\t{{ cart.to_pay_external <= 0 ? 'Order' : 'Pay' }}\n\t\t</button>\n\t</div>\n</template>\n\n<script>\nimport { mapGetters } from 'vuex';\n\nexport default {\n\tname: \"checkout-place-order\",\n\tcomputed: {\n\t\t...mapGetters(['cart'])\n\t}\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/scss/_custom.scss';\n.place-order {\n\tbutton {\n\t\twidth: 100%;\n\t\tcolor: $white;\n\t\tbackground-color: $red-90;\n\t\tborder: none;\n\t\tfont-weight: bold;\n\n\t\t&:hover {\n\t\t\tcolor: $red-90 !important;\n\t\t\tbackground-color: $white !important;\n\t\t\tborder: 2px solid $red-90;\n\t\t}\n\t}\n}\n</style>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PlaceOrder.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PlaceOrder.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PlaceOrder.vue?vue&type=template&id=589a58b8&scoped=true&\"\nimport script from \"./PlaceOrder.vue?vue&type=script&lang=js&\"\nexport * from \"./PlaceOrder.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PlaceOrder.vue?vue&type=style&index=0&id=589a58b8&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"589a58b8\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _vm._m(0)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"contact-details\"},[_c('div',{staticClass:\"phone-details\"},[_c('i',{staticClass:\"fa fa-phone fa-flip-horizontal\"}),_c('span',[_vm._v(\" Need help?  \"),_c('a',{staticClass:\"text-secondary\",attrs:{\"href\":\"tel:980407\"}},[_vm._v(\"Contact us\")])])])])\n}]\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"contact-details\">\n\t\t<div class=\"phone-details\">\n\t\t\t<i class=\"fa fa-phone fa-flip-horizontal\"></i>\n\t\t\t<span>\n\t\t\t\tNeed help?&nbsp;\n\t\t\t\t<a href=\"tel:980407\" class=\"text-secondary\">Contact us</a>\n\t\t\t</span>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nexport default {\n\tname: \"checkout-contact\",\n\tprops: {\n\t\tredemptionContact: {type: String, default: '/contact-us'}\n\t}\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/scss/_custom.scss';\n.contact-details {\n\twidth: 100%;\n\tmargin-top: 20px;\n\tpadding: 20px 32px;\n\tbackground: $gray-300 0% 0% no-repeat padding-box;\n\topacity: 1;\n\t\n\ti {\n\t\tcolor: $black;\n\t\topacity: 1;\n\t\tsize: 14px;\n\t\tmargin-right: 21px;\n\t}\n\tspan {\n\t\ttext-align: left;\n\t\tfont-weight: Bold;\n\t\tfont-size: 14px;\n\t\tletter-spacing: 1.9px;\n\t\tcolor: $black;\n\t\topacity: 1;\n\t}\n\t@media (max-width: 640px) {\n\t\twidth: initial;\n\t}\n\n\t.phone-details {\n\t\tspan {\n\t\t\tcolor: $black;\n\t\t\tfont-family: $gotham-bold;\n\t\t\tfont-size: 14px;\n\t\t\tletter-spacing: 0;\n\t\t\tline-height: 13px;\n\n\t\t\ta {\n\t\t\t\tcolor: $red-95 !important;\n\t\t\t}\n\t\t}\n\t}\n}\n</style>","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Contact.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Contact.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Contact.vue?vue&type=template&id=94bab3e6&scoped=true&\"\nimport script from \"./Contact.vue?vue&type=script&lang=js&\"\nexport * from \"./Contact.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Contact.vue?vue&type=style&index=0&id=94bab3e6&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"94bab3e6\",\n  null\n  \n)\n\nexport default component.exports","<script>\nexport default {\n    name: 'store-init',\n    props: {\n        data: {required: true, type: Object}\n    },\n    created() {\n        this.$store.dispatch('initState', this.data)\n    },\n    render: () => { return null }\n}\n</script>","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./StoreInit.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./StoreInit.vue?vue&type=script&lang=js&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"picks-crud\"},[_c('v-select',{attrs:{\"label\":\"text\",\"multiple\":\"\",\"closeOnSelect\":false,\"options\":_vm.options},on:{\"search\":_vm.onSearch},model:{value:(_vm.products),callback:function ($$v) {_vm.products=$$v},expression:\"products\"}}),_c('div',{staticClass:\"d-none\"},[_vm._l((_vm.products),function(product,i){return _c('input',{key:'product_id' + i,attrs:{\"name\":`picks[${i + _vm.padding}][product_id]`,\"type\":\"hidden\"},domProps:{\"value\":product.id}})}),_vm._l((_vm.products),function(product,i){return _c('input',{key:'pick_type' + i,attrs:{\"name\":`picks[${i + _vm.padding}][pick_type]`,\"type\":\"hidden\"},domProps:{\"value\":_vm.pick_type}})})],2)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"picks-crud\">\n\t\t<v-select label=\"text\" @search=\"onSearch\" multiple :closeOnSelect=\"false\" :options=\"options\" v-model=\"products\"></v-select>\n\n\t\t<div class=\"d-none\">\n\t\t\t<input v-for=\"(product, i) in products\" :key=\"'product_id' + i\" :value=\"product.id\" :name=\"`picks[${i + padding}][product_id]`\" type=\"hidden\">\n\t\t\t<input v-for=\"(product, i) in products\" :key=\"'pick_type' + i\" :value=\"pick_type\" :name=\"`picks[${i + padding}][pick_type]`\" type=\"hidden\">\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport vSelect from 'vue-select'\nimport { debounce } from 'lodash'\n\nexport default {\n\tname: \"picks-crud\",\n\tcomponents: { vSelect },\n\tprops: {\n\t\tinitial_picks: { type: Array },\n\t\tbase_url: { type: String },\n\t\tpadding: { type: Number, default: 0},\n\t\tpick_type: { type: String }\n\t},\n\tdata() {\n\t\treturn {\n\t\t\toptions: [],\n\t\t\tproducts: this.initial_picks\n\t\t}\n\t},\n\tmethods: {\n\t\tonSearch(search, loading) {\n\t\t\tloading(true);\n\t\t\tthis.search(loading, search, this);\n\t\t},\n\t\tsearch: debounce((loading, search, vm) => {\n\t\t\tfetch(`${vm.base_url}?term=${escape(search)}`)\n\t\t\t.then(res => {\n\t\t\t\tres.json().then(json => (vm.options = json.results));\n\t\t\t\tloading(false);\n\t\t\t});\n\t\t}, 350)\n\t}\n}\n</script>","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PicksCrud.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./PicksCrud.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PicksCrud.vue?vue&type=template&id=61150340&\"\nimport script from \"./PicksCrud.vue?vue&type=script&lang=js&\"\nexport * from \"./PicksCrud.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"full-release-countdown\"},[_vm._m(0),_c('div',{staticClass:\"row time-breakdown text-uppercase text-center\"},[_c('div',{staticClass:\"col\"},[_c('span',{staticClass:\"number\"},[_vm._v(_vm._s(_vm._f(\"number\")(_vm.days)))]),_c('br'),_c('span',{staticClass:\"label\"},[_vm._v(\"Days\")])]),_c('div',{staticClass:\"col\"},[_c('span',{staticClass:\"number\"},[_vm._v(_vm._s(_vm._f(\"number\")(_vm.hours)))]),_c('br'),_c('span',{staticClass:\"label\"},[_vm._v(\"Hrs\")])]),_c('div',{staticClass:\"col\"},[_c('span',{staticClass:\"number\"},[_vm._v(_vm._s(_vm._f(\"number\")(_vm.minutes)))]),_c('br'),_c('span',{staticClass:\"label\"},[_vm._v(\"Mins\")])]),_c('div',{staticClass:\"col\"},[_c('span',{staticClass:\"number\"},[_vm._v(_vm._s(_vm._f(\"number\")(_vm.seconds)))]),_c('br'),_c('span',{staticClass:\"label\"},[_vm._v(\"Secs\")])])]),_c('label',{staticClass:\"w-100\"},[_vm._v(\"Releasing \"+_vm._s(_vm._f(\"date\")(_vm.date)))])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('p',[_c('strong',[_vm._v(\"Countdown\")])])\n}]\n\nexport { render, staticRenderFns }","<script>\nexport default {\n\tprops: {\n\t\t/**\n\t\t * Time in seconds\n\t\t */\n\t\tunix_time: { type: Number, required: true }\n\t},\n\tcomputed: {\n\t\tdays() {\n\t\t\tthis.interval = this.interval || 0\n \t\t\treturn Math.floor(this.interval / 24 / 60 / 60)\n\t\t},\n\t\thours() {\n\t\t\tlet interval = this.interval || 0\n\t\t\tinterval = interval - (this.days * 24 * 60 * 60)\n \t\t\treturn Math.floor(interval / 60 / 60)\n\t\t},\n\t\tminutes() {\n\t\t\tlet interval = this.interval || 0\n\t\t\tinterval = interval - (this.days * 24 * 60 * 60) - (this.hours * 60 * 60)\n \t\t\treturn Math.floor(interval / 60)\n\t\t},\n\t\tseconds() {\n\t\t\tlet interval = this.interval || 0\n\t\t\tinterval = interval - (this.days * 24 * 60 * 60) - (this.hours * 60 * 60) - (this.minutes * 60)\n \t\t\treturn Math.floor(interval)\n\t\t}\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tdate: new Date(this.unix_time * 1000),\n\t\t\tinterval: ((new Date(this.unix_time * 1000)).getTime() - (new Date()).getTime()) / 1000\n\t\t}\n\t},\n\tfilters: {\n\t\tnumber: value => {\n\t\t\treturn (value < 10) ? '0' + value.toString() : value.toString()\n\t\t},\n\t\tdate: value => {\n\t\t\t let monthNames = [\n\t\t\t\t\"January\", \"February\", \"March\", \"April\", \"May\", \"June\", \"July\", \"August\", \"September\", \"October\", \"November\", \"December\"\n\t\t\t];\n\n\t\t\tlet day = value.getDate();\n\t\t\tlet monthIndex = value.getMonth();\n\t\t\tlet year = value.getFullYear();\n\n\t\t\treturn day + ' ' + monthNames[monthIndex] + ' ' + year;\n\t\t}\n\t},\n\tmounted() {\n\t\tsetInterval(() => {\n\t\t\tthis.interval--\n\n\t\t\tif (this.interval <= 0) {\n\t\t\t\tlocation.reload()\n\t\t\t}\n\t\t}, 1000)\n\t}\n}\n</script>","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Base.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Base.vue?vue&type=script&lang=js&\"","<template>\n\t<div class=\"full-release-countdown\">\n\t\t<p>\n\t\t\t<strong>Countdown</strong>\n\t\t</p>\n\n\t\t<div class=\"row time-breakdown text-uppercase text-center\">\n\t\t\t<div class=\"col\">\n\t\t\t\t<span class=\"number\">{{ days | number }}</span>\n\t\t\t\t<br>\n\t\t\t\t<span class=\"label\">Days</span>\n\t\t\t</div>\n\n\t\t\t<div class=\"col\">\n\t\t\t\t<span class=\"number\">{{ hours | number }}</span>\n\t\t\t\t<br>\n\t\t\t\t<span class=\"label\">Hrs</span>\n\t\t\t</div>\n\n\t\t\t<div class=\"col\">\n\t\t\t\t<span class=\"number\">{{ minutes | number }}</span>\n\t\t\t\t<br>\n\t\t\t\t<span class=\"label\">Mins</span>\n\t\t\t</div>\n\n\t\t\t<div class=\"col\">\n\t\t\t\t<span class=\"number\">{{ seconds | number }}</span>\n\t\t\t\t<br>\n\t\t\t\t<span class=\"label\">Secs</span>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<label class=\"w-100\">Releasing {{ date | date }}</label>\n\t</div>\n</template>\n\n<script>\nimport Base from './Base.vue';\n\nexport default {\n\tname: \"full-release-countdown\",\n\textends: Base\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/scss/_custom.scss';\n\n.full-release-countdown {\n\t.time-breakdown {\n\t\tfont-weight: bold;\n\t\tcolor: $white;\n\t\tpadding: {\n\t\t\ttop: 20px;\n\t\t\tbottom: 20px;\n\t\t}\n\t\tbackground-color: $gray-600;\n\t\tmargin: {\n\t\t\ttop: 0;\n\t\t\tright: 0;\n\t\t\tbottom: 8px;\n\t\t\tleft: 0;\n\t\t}\n\n\t\t.col:not(:last-child) {\n\t\t\tborder-right: 1px solid $gray-500;\n\t\t}\n\n\t\t.label {\n\t\t\tcolor: $gray-500;\n\t\t\tfont-size: 12px;\n\t\t}\n\t}\n\n\tlabel {\n\t\tbackground-color: $gray-100;\n\t\tpadding: 10px;\n\t\ttext-align: center;\n\t}\n}\n</style>","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Full.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Full.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Full.vue?vue&type=template&id=0fd471cd&scoped=true&\"\nimport script from \"./Full.vue?vue&type=script&lang=js&\"\nexport * from \"./Full.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Full.vue?vue&type=style&index=0&id=0fd471cd&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"0fd471cd\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"label-countdown\"},[(_vm.days)?_c('strong',[_vm._v(\" \"+_vm._s(_vm.days)+\"d \")]):_vm._e(),(_vm.hours)?_c('strong',[_vm._v(\" \"+_vm._s(_vm.hours)+\"h \")]):_vm._e(),(_vm.minutes)?_c('strong',[_vm._v(\" \"+_vm._s(_vm.minutes)+\"m \")]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"label-countdown\">\n\t\t<strong v-if=\"days\">\n\t\t\t{{ days }}d\n\t\t</strong>\n\n\t\t<strong v-if=\"hours\">\n\t\t\t{{ hours }}h\n\t\t</strong>\n\n\t\t<strong v-if=\"minutes\">\n\t\t\t{{ minutes }}m\n\t\t</strong>\n\t</div>\n</template>\n\n<script>\nimport Base from './Base.vue';\n\nexport default {\n\tname: \"label-countdown\",\n\textends: Base\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/scss/_custom.scss';\n\n.label-countdown {\n\tcolor: $primary;\n\ttext-transform: initial;\n}\n</style>","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Label.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Label.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Label.vue?vue&type=template&id=a0dce77c&scoped=true&\"\nimport script from \"./Label.vue?vue&type=script&lang=js&\"\nexport * from \"./Label.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Label.vue?vue&type=style&index=0&id=a0dce77c&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"a0dce77c\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"drawer from-right quick-add\",attrs:{\"id\":\"quick-add\"}},[_c('div',{staticClass:\"row h-100\"},[_c('div',{staticClass:\"col bg-dark overlay\",attrs:{\"data-class-toggle\":\"show\",\"data-class-target\":\"#quick-add\"}}),_c('div',{staticClass:\"col-10 col-lg-11 content container-fluid h-100\"},[_vm._m(0),_c('div',{staticClass:\"text-center\"},[_c('div',{staticClass:\"row justify-content-center\"},[_c('div',{staticClass:\"col-md-10 col-lg-8 col-xl-6\"},[_c('img',{attrs:{\"src\":_vm.imagePath,\"alt\":_vm.title}})])]),_c('div',{staticClass:\"row justify-content-center\"},[(_vm.addedSize)?[_c('div',{staticClass:\"col-md-10 col-lg-8 col-xl-6\"},[_c('h2',[_vm._v(\"Size \"+_vm._s(_vm.addedSize)+\" has been added to your cart\")]),_c('a',{staticClass:\"btn btn-primary\",attrs:{\"href\":\"/checkout/cart\"}},[_vm._v(\"Checkout\")]),_c('a',{staticClass:\"btn btn-primary\",attrs:{\"data-class-toggle\":\"show\",\"data-class-target\":`#quick-add`,\"href\":\"#\"}},[_vm._v(\"Back To Shopping\")])])]:[_c('div',{staticClass:\"col-md-10 col-lg-8 col-xl-6\"},[_c('h2',{staticClass:\"title\"},[_vm._v(_vm._s(_vm.title))]),_c('p',[_vm._v(\"Select a size to add this item to your cart\")]),_c('br')]),_c('div',{staticClass:\"col-md-10 col-lg-9 col-xl-8\"},[_c('table',{staticClass:\"w-100\"},_vm._l((_vm.skuChunks),function(skus,i){return _c('tr',{key:i},_vm._l((skus),function(sku,j){return _c('td',{key:j,class:{\n\t\t\t\t\t\t\t\t\t\t\tpointer: sku.stock_available >= 1,\n\t\t\t\t\t\t\t\t\t\t\tdisabled: sku.stock_available < 1,\n\t\t\t\t\t\t\t\t\t\t\tclicked: sku.clicked\n\t\t\t\t\t\t\t\t\t\t},attrs:{\"title\":sku.stock_available < 1 ? 'Out of stock' : null},on:{\"click\":function($event){return _vm.addToCart(sku)}}},[_c('strong',[_vm._v(_vm._s(sku.title || ''))])])}),0)}),0)])]],2)])])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"heading text-left\"},[_c('strong',[_vm._v(\"Quick Add\")]),_c('a',{staticClass:\"back pointer\",attrs:{\"data-class-toggle\":\"show\",\"data-class-target\":\"#quick-add\"}},[_c('i',{staticClass:\"fas fa-times\"})])])\n}]\n\nexport { render, staticRenderFns }","<template>\n\t<div id=\"quick-add\" class=\"drawer from-right quick-add\">\n\t\t<div class=\"row h-100\">\n\t\t\t<div\n\t\t\t\tclass=\"col bg-dark overlay\"\n\t\t\t\tdata-class-toggle=\"show\" data-class-target=\"#quick-add\"\n\t\t\t></div>\n\n\t\t\t<div class=\"col-10 col-lg-11 content container-fluid h-100\">\n\t\t\t\t<div class=\"heading text-left\">\n\t\t\t\t\t<strong>Quick Add</strong>\n\n\t\t\t\t\t<a class=\"back pointer\" data-class-toggle=\"show\" data-class-target=\"#quick-add\">\n\t\t\t\t\t\t<i class=\"fas fa-times\"></i>\n\t\t\t\t\t</a>\n\t\t\t\t</div>\n\n\t\t\t\t<!-- <div class=\"row justify-content-center\"> -->\n\t\t\t\t<div class=\"text-center\">\n\t\t\t\t\t<div class=\"row justify-content-center\">\n\t\t\t\t\t\t<div class=\"col-md-10 col-lg-8 col-xl-6\">\n\t\t\t\t\t\t\t<img :src=\"imagePath\" :alt=\"title\">\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div class=\"row justify-content-center\">\n\t\t\t\t\t\t<template v-if=\"addedSize\">\n\t\t\t\t\t\t\t<div class=\"col-md-10 col-lg-8 col-xl-6\">\n\t\t\t\t\t\t\t\t<h2>Size {{ addedSize }} has been added to your cart</h2>\n\n\t\t\t\t\t\t\t\t<a href=\"/checkout/cart\" class=\"btn btn-primary\">Checkout</a>\n\t\t\t\t\t\t\t\t<a data-class-toggle=\"show\" :data-class-target=\"`#quick-add`\" href=\"#\" class=\"btn btn-primary\">Back To Shopping</a>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</template>\n\n\t\t\t\t\t\t<template v-else>\n\t\t\t\t\t\t\t<div class=\"col-md-10 col-lg-8 col-xl-6\">\n\t\t\t\t\t\t\t\t<h2 class=\"title\">{{ title }}</h2>\n\n\t\t\t\t\t\t\t\t<p>Select a size to add this item to your cart</p>\n\n\t\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\t<div class=\"col-md-10 col-lg-9 col-xl-8\">\n\t\t\t\t\t\t\t\t<table class=\"w-100\">\n\t\t\t\t\t\t\t\t\t<tr v-for=\"(skus, i) in skuChunks\" :key=\"i\">\n\t\t\t\t\t\t\t\t\t\t<td\n\t\t\t\t\t\t\t\t\t\t\tv-for=\"(sku, j) in skus\"\n\t\t\t\t\t\t\t\t\t\t\t@click=\"addToCart(sku)\"\n\t\t\t\t\t\t\t\t\t\t\t:key=\"j\"\n\t\t\t\t\t\t\t\t\t\t\t:title=\"sku.stock_available < 1 ? 'Out of stock' : null\"\n\t\t\t\t\t\t\t\t\t\t\t:class=\"{\n\t\t\t\t\t\t\t\t\t\t\t\tpointer: sku.stock_available >= 1,\n\t\t\t\t\t\t\t\t\t\t\t\tdisabled: sku.stock_available < 1,\n\t\t\t\t\t\t\t\t\t\t\t\tclicked: sku.clicked\n\t\t\t\t\t\t\t\t\t\t\t}\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t<strong>{{ sku.title || '' }}</strong>\n\t\t\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t\t</table>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport { chunk, each } from 'lodash';\nimport { mapGetters } from 'vuex';\n\nexport default {\n\tname: \"quick-add\",\n\tdata() {\n\t\treturn {\n\t\t\taddedSize: null,\n\t\t\tsizeMap: null,\n\t\t\timagePath: null,\n\t\t\ttitle: null\n\t\t}\n\t},\n\tcomputed: {\n\t\t...mapGetters(['cart']),\n\t\tskuChunks() {\n\t\t\treturn chunk(this.sizeMap, 8);\n\t\t},\n\t},\n\tmethods: {\n\t\taddToCart(sku) {\n\t\t\tif (sku.stock_available < 1) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\tsku.clicked = true;\n\n\t\t\tthis.$store.dispatch('addToCart', {\n\t\t\t\tsku_code: sku.sku_code,\n\t\t\t\tmerchant: sku.merchant,\n\t\t\t\tquantity: 1\n\t\t\t})\n\t\t\t\t.then(result => {\n\t\t\t\t\tif (result.data.success) {\n\t\t\t\t\t\tthis.addedSize = sku.title || '';\n\t\t\t\t\t}\n\t\t\t\t\tsku.clicked = false;\n\t\t\t\t});\n\t\t}\n\t},\n\tmounted() {\n\t\tdocument.addEventListener('productListItem:quickAdd', e => {\n\t\t\tthis.addedSize = null;\n\t\t\tthis.sizeMap = e.detail.sizeMap;\n\t\t\tthis.imagePath = e.detail.imagePath;\n\t\t\tthis.title = e.detail.title;\n\t\t});\n\t}\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/scss/_custom.scss';\n\n.quick-add {\n\t.title {\n\t\tmargin-bottom: 60px;\n\t}\n\n\ttable {\n\t\ttd {\n\t\t\tpadding: 8px;\n\t\t\tfont-size: 20px;\n\n\t\t\t&.disabled {\n\t\t\t\tcolor: $gray-300;\n\t\t\t}\n\t\t\t&.clicked {\n\t\t\t\tcolor: $secondary;\n\t\t\t}\n\t\t}\n\t}\n}\n</style>","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./QuickAddToCart.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./QuickAddToCart.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./QuickAddToCart.vue?vue&type=template&id=19d76821&scoped=true&\"\nimport script from \"./QuickAddToCart.vue?vue&type=script&lang=js&\"\nexport * from \"./QuickAddToCart.vue?vue&type=script&lang=js&\"\nimport style0 from \"./QuickAddToCart.vue?vue&type=style&index=0&id=19d76821&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"19d76821\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"add-to-card-colours\"},[_c('label',[_c('strong',[_vm._v(\"Available Colours (\"+_vm._s(_vm.product.skus.length)+\")\")])]),_c('br'),(false)?_c('form',{staticClass:\"transparent mb-5\",on:{\"submit\":function($event){return _vm.search()}}},[_c('div',{staticClass:\"form-group email has-after\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.filterVal),expression:\"filterVal\"}],staticClass:\"form-control\",attrs:{\"type\":\"text\",\"placeholder\":\"Refine by colour or code\"},domProps:{\"value\":(_vm.filterVal)},on:{\"input\":function($event){if($event.target.composing)return;_vm.filterVal=$event.target.value}}}),_c('i',{staticClass:\"fas fa-search\"})])]):_vm._e(),_vm._l((_vm.filteredSkus),function(sku,i){return _c('div',{key:i,staticClass:\"colour-button-group text-center\"},[_c('div',{staticClass:\"colour-button d-flex w-100\",class:{\n\t\t\t\t'no-stock': sku.stock_available < 1,\n\t\t\t\tpointer: sku.stock_available > 0\n\t\t\t},style:({\n\t\t\t\t'background-color': '#' + sku.colour.first_hex,\n\t\t\t\t'color': sku.colour.first_hex ? _vm.getCorrectTextColor(sku.colour.first_hex) : null\n\t\t\t})},[(_vm.qtyInCart(sku) > 0)?[_c('span',{on:{\"click\":function($event){return _vm.removeFromCart(sku)}}},[_c('i',{staticClass:\"fas fa-minus\"})]),_c('strong',{staticClass:\"flex-grow-1\"},[_vm._v(\" \"+_vm._s(_vm.qtyInCart(sku))+\" \"+_vm._s(_vm.qtyInCart(sku) >= sku.stock_available ? '(max)' : '')+\" \")]),_c('span',{on:{\"click\":function($event){return _vm.addToCart(sku)}}},[_c('i',{staticClass:\"fas fa-plus\"})])]:[_c('strong',{staticClass:\"flex-grow-1\",on:{\"click\":function($event){return _vm.addToCart(sku)}}},[_vm._v(\" \"+_vm._s(sku.stock_available > 0 ? 'Add to Cart' : 'Out of Stock')+\" \")])]],2),_vm._v(\" \"+_vm._s(sku.colour.title)+\" \")])})],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"add-to-card-colours\">\n\t\t<label>\n\t\t\t<strong>Available Colours ({{ product.skus.length }})</strong>\n\t\t</label>\n\n\t\t<br>\n\n\t\t<form v-if=\"false\" @submit=\"search()\" class=\"transparent mb-5\">\n\t\t\t<div class=\"form-group email has-after\">\n\t\t\t\t<input v-model=\"filterVal\" type=\"text\" placeholder=\"Refine by colour or code\" class=\" form-control\">\n\t\t\t\t<i class=\"fas fa-search\"></i>\n\t\t\t</div>\n\t\t</form>\n\n\t\t<div\n\t\t\tv-for=\"(sku, i) in filteredSkus\"\n\t\t\t:key=\"i\"\n\t\t\tclass=\"colour-button-group text-center\"\n\t\t>\n\t\t\t<div\n\t\t\t\tclass=\"colour-button d-flex w-100\"\n\t\t\t\t:class=\"{\n\t\t\t\t\t'no-stock': sku.stock_available < 1,\n\t\t\t\t\tpointer: sku.stock_available > 0\n\t\t\t\t}\"\n\t\t\t\t:style=\"{\n\t\t\t\t\t'background-color': '#' + sku.colour.first_hex,\n\t\t\t\t\t'color': sku.colour.first_hex ? getCorrectTextColor(sku.colour.first_hex) : null\n\t\t\t\t}\"\n\t\t\t>\n\t\t\t\t<template v-if=\"qtyInCart(sku) > 0\">\n\t\t\t\t\t<span @click=\"removeFromCart(sku)\"><i class=\"fas fa-minus\"></i></span>\n\t\t\t\t\t<strong class=\"flex-grow-1\">\n\t\t\t\t\t\t{{ qtyInCart(sku) }}\n\t\t\t\t\t\t{{ qtyInCart(sku) >= sku.stock_available ? '(max)' : '' }}\n\t\t\t\t\t</strong>\n\t\t\t\t\t<span @click=\"addToCart(sku)\"><i class=\"fas fa-plus\"></i></span>\n\t\t\t\t</template>\n\t\t\t\t<template v-else>\n\t\t\t\t\t<strong @click=\"addToCart(sku)\" class=\"flex-grow-1\">\n\t\t\t\t\t\t{{ sku.stock_available > 0 ? 'Add to Cart' : 'Out of Stock' }}\n\t\t\t\t\t</strong>\n\t\t\t\t</template>\n\t\t\t</div>\n\n\t\t\t{{ sku.colour.title }}\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport { each, sortBy } from 'lodash';\nimport { mapGetters } from 'vuex';\n\nexport default {\n\tname: \"add-to-card-colours\",\n\tprops: {\n\t\tproduct: { type: Object }\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tfilterVal: ''\n\t\t}\n\t},\n\tcomputed: {\n\t\t...mapGetters(['cart']),\n\t\tfilteredSkus() {\n\t\t\tlet skus = [];\n\t\t\teach(this.product.skus, sku => {\n\t\t\t\tif (sku.colour && (sku.colour.title.toLowerCase().indexOf(this.filterVal.toLowerCase()) >= 0 || sku.colour.code.toLowerCase().indexOf(this.filterVal.toLowerCase()) >= 0)) {\n\t\t\t\t\tskus.push(sku);\n\t\t\t\t}\n\t\t\t});\n\t\t\tskus = sortBy(skus, sku => {\n\t\t\t\tif (!sku.colour || !sku.colour.sort_order) {\n\t\t\t\t\treturn 999;\n\t\t\t\t}\n\t\t\t\treturn sku.colour.sort_order;\n\t\t\t});\n\n\t\t\treturn skus;\n\t\t}\n\t},\n\tmethods: {\n\t\tqtyInCart(sku) {\n\t\t\tlet qty = 0;\n\t\t\teach (this.cart.order_line_items, lineItem => {\n\t\t\t\tif (lineItem.sku_code == sku.code) {\n\t\t\t\t\tqty += lineItem.quantity;\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn qty;\n\t\t},\n\t\taddToCart(sku) {\n\t\t\tthis.$store.dispatch('addToCart', {\n\t\t\t\tsku_code: sku.code,\n\t\t\t\tmerchant: sku.merchant,\n\t\t\t\tquantity: this.qtyInCart(sku) + 1\n\t\t\t});\n\t\t},\n\t\tremoveFromCart(sku) {\n\t\t\tthis.$store.dispatch('removeFromCart', {sku_code: sku.code, quantity: 1});\n\t\t},\n\t\thexToR(h) {\n\t\t\treturn parseInt((this.cutHex(h)).substring(0,2),16)\n\t\t},\n\t\thexToG(h) {\n\t\t\treturn parseInt((this.cutHex(h)).substring(2,4),16)\n\t\t},\n\t\thexToB(h) {\n\t\t\treturn parseInt((this.cutHex(h)).substring(4,6),16)\n\t\t},\n\t\tcutHex(h) {\n\t\t\treturn (h.charAt(0)==\"#\") ? h.substring(1,7):h\n\t\t},\n\t\tgetCorrectTextColor(hex) {\n\t\t\tlet threshold = 150; /* Lower threshold equals more dark text on dark background (max 256) */\n\n\t\t\tlet hRed = this.hexToR(hex);\n\t\t\tlet hGreen = this.hexToG(hex);\n\t\t\tlet hBlue = this.hexToB(hex);\n\n\t\t\tlet cBrightness = ((hRed * 299) + (hGreen * 587) + (hBlue * 114)) / 1000;\n\n\t\t\treturn cBrightness > threshold ? \"#000000\" : \"#ffffff\";\n\t\t}\n\t}\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.add-to-card-colours {\n\t.colour-button-group {\n\t\tmargin-bottom: 20px;\n\n\t\t.colour-button {\n\t\t\tborder-radius: 6px;\n\t\t\tmargin-bottom: 10px;\n\t\t\tborder: 1px solid;\n\n\t\t\t>* {\n\t\t\t\tpadding: 18px;\n\t\t\t}\n\n\t\t\t&.no-stock {\n\t\t\t\topacity: 0.5;\n\t\t\t}\n\t\t}\n\t}\n}\n</style>","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddToCartColours.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddToCartColours.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AddToCartColours.vue?vue&type=template&id=4b751854&scoped=true&\"\nimport script from \"./AddToCartColours.vue?vue&type=script&lang=js&\"\nexport * from \"./AddToCartColours.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AddToCartColours.vue?vue&type=style&index=0&id=4b751854&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"4b751854\",\n  null\n  \n)\n\nexport default component.exports","<script>\nimport BasePayment from './BasePayment.vue'\nimport CardSelection from './CardSelection.vue';\n\nexport default {\n\tname: \"checkout-payment\",\n\textends: BasePayment,\n\tcomponents: {CardSelection},\n\tprops: {\n\t\tcart: {required: true}\n\t},\n\tmethods: {\n\t\tselectPayment(event) {\n\t\t\t/**\n\t\t\t * Note that when accordion is opened, `aria-expanded` attribute is false,\n\t\t\t * as this event occurs before BS hooks in and toggles it to true.\n\t\t\t */\n\t\t\tlet selected = event.currentTarget.getAttribute('aria-expanded') == 'false';\n\t\t\tlet method = selected ? event.currentTarget.getAttribute('data-payment-method') : null;\n\n\t\t\tif (method == 'layup' && !this.cart.allow_layby) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tthis.transactionMethod = method\n\t\t}\n\t}\n}\n</script>","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Payment.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Payment.vue?vue&type=script&lang=js&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"countdown d-inline-block\"},[(_vm.hours > 0)?_c('span',[_vm._v(\" \"+_vm._s(_vm.hours)+\"h \")]):_vm._e(),(_vm.minutes > 0 || _vm.hours > 0)?_c('span',[_vm._v(\" \"+_vm._s(_vm.minutes)+\"m \")]):_vm._e(),(_vm.seconds > 0 || _vm.minutes > 0)?_c('span',[_vm._v(\" \"+_vm._s(_vm.seconds)+\"s \")]):_vm._e(),(_vm.remaining_seconds > 0)?_c('span',[_vm._v(\" left\")]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"countdown d-inline-block\">\n\t\t<span v-if=\"hours > 0\">\n\t\t\t{{ hours }}h\n\t\t</span>\n\n\t\t<span v-if=\"minutes > 0 || hours > 0\">\n\t\t\t{{ minutes }}m\n\t\t</span>\n\n\t\t<span v-if=\"seconds > 0 || minutes > 0\">\n\t\t\t{{ seconds }}s\n\t\t</span>\n\n\t\t<span v-if=\"remaining_seconds > 0\"> left</span>\n\t</div>\n</template>\n\n<script>\nexport default {\n\tname: \"countdown\",\n\tprops: {\n\t\ttotal_seconds: { type: Number }\n\t},\n\tdata () {\n\t\treturn {\n\t\t\tremaining_seconds: 0\n\t\t};\n\t},\n\tcomputed: {\n\t\tseconds() {\n\t\t\treturn Math.floor(this.remaining_seconds % 60);\n\t\t},\n\t\tminutes() {\n\t\t\treturn Math.floor((this.remaining_seconds % (60 * 60)) / (60));\n\t\t},\n\t\thours() {\n\t\t\treturn Math.floor((this.remaining_seconds % (60 * 60 * 24)) / (60 * 60));\n\t\t}\n\t},\n\tmounted() {\n\t\tthis.remaining_seconds = this.total_seconds;\n\t\t\n\t\tlet intervalTimer = setInterval(() => {\n\t\t\tthis.remaining_seconds -= 1;\n\n\t\t\tif (this.remaining_seconds <= 0) {\n\t\t\t\tclearInterval(intervalTimer);\n\t\t\t}\n\t\t}, 1000)\n\t}\n}\n</script>","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Countdown.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Countdown.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Countdown.vue?vue&type=template&id=1d2021fd&\"\nimport script from \"./Countdown.vue?vue&type=script&lang=js&\"\nexport * from \"./Countdown.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"add-on-card-strip text-white text-uppercase\",class:{ 'bg-danger': _vm.selected, 'bg-info': !_vm.selected }},[_c('label',{staticClass:\"m-0 d-block px-3 py-2 pointer\",attrs:{\"for\":_vm.forValue}},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selected),expression:\"selected\"}],attrs:{\"type\":\"checkbox\",\"id\":_vm.forValue},domProps:{\"checked\":Array.isArray(_vm.selected)?_vm._i(_vm.selected,null)>-1:(_vm.selected)},on:{\"change\":function($event){var $$a=_vm.selected,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.selected=$$a.concat([$$v]))}else{$$i>-1&&(_vm.selected=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.selected=$$c}}}}),_vm._v(\" \"+_vm._s(_vm.selected ? 'Added' : 'Add')+\" To Deal \")])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div\n\t\tclass=\"add-on-card-strip text-white text-uppercase\"\n\t\t:class=\"{ 'bg-danger': selected, 'bg-info': !selected }\"\n\t>\n\t\t<label class=\"m-0 d-block px-3 py-2 pointer\" :for=\"forValue\">\n\t\t\t<input type=\"checkbox\" :id=\"forValue\" v-model=\"selected\">\n\t\t\t{{ selected ? 'Added' : 'Add'}} To Deal\n\t\t</label>\n\t</div>\n</template>\n\n<script>\nexport default {\n\tname: \"add-on-card-strip\",\n\tprops: {\n\t\tsku_code: { type: String, required: true }\n\t},\n\twatch: {\n\t\tselected(value) {\n\t\t\tthis.$store.dispatch('updateAddOnProductList', {\n\t\t\t\tadd: value,\n\t\t\t\tskuCode: this.sku_code\n\t\t\t})\n\t\t}\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tselected: false,\n\t\t\tforValue: 'add-on-' + Math.floor(Math.random() * 10000)\n\t\t}\n\t},\n\tmounted() {\n\t}\n}\n</script>","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddOnCardStrip.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddOnCardStrip.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AddOnCardStrip.vue?vue&type=template&id=aaf01810&\"\nimport script from \"./AddOnCardStrip.vue?vue&type=script&lang=js&\"\nexport * from \"./AddOnCardStrip.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"vodabucks-how-to d-inline-block\"},[_c('div',{staticClass:\"how-to-popup row\",class:{'d-none': !_vm.showHowTo}},[_c('i',{staticClass:\"far fa-times-circle\",on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.closeHowTo()}}}),_vm._m(0),_vm._m(1),_vm._m(2),_vm._m(3),_vm._m(4),_c('div',{staticClass:\"col-12\"},[_c('a',{staticClass:\"close-text\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.closeHowTo()}}},[_vm._v(\"Got it. Close\")])])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"col-12 heading-block\"},[_c('img',{staticClass:\"vodabucks-logo-full\",attrs:{\"src\":\"/img/vodabucks-logo-full-nobg.png\",\"alt\":\"\"}}),_c('p',[_vm._v(\"How to get you VodaBucks purchase\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"col-6\"},[_c('div',{staticClass:\"step-block\"},[_c('span',{staticClass:\"step-count\"},[_vm._v(\"1\")]),_c('div',{staticClass:\"step-info\"},[_c('i',{staticClass:\"fas fa-mobile-alt\"}),_c('p',[_vm._v(\" Tap on the SMS link or enter your SMS VodaBucks code on Flutta \")])])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"col-6\"},[_c('div',{staticClass:\"step-block\"},[_c('span',{staticClass:\"step-count\"},[_vm._v(\"2\")]),_c('div',{staticClass:\"step-info\"},[_c('i',{staticClass:\"fas fa-tshirt\"}),_c('p',[_vm._v(\" Select your Flutta product \")])])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"col-6\"},[_c('div',{staticClass:\"step-block\"},[_c('span',{staticClass:\"step-count\"},[_vm._v(\"3\")]),_c('div',{staticClass:\"step-info\"},[_c('i',{staticClass:\"fas fa-shopping-basket\"}),_c('p',[_vm._v(\" Add to cart \")])])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"col-6\"},[_c('div',{staticClass:\"step-block\"},[_c('span',{staticClass:\"step-count\"},[_vm._v(\"4\")]),_c('div',{staticClass:\"step-info\"},[_c('i',{staticClass:\"fas fa-truck\"}),_c('p',[_vm._v(\" More Codes? Repeat from step 1. Then checkout. \")])])])])\n}]\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"vodabucks-how-to d-inline-block\">\n\t\t<div class=\"how-to-popup row\" :class=\"{'d-none': !showHowTo}\">\n\t\t\t<i class=\"far fa-times-circle\"  @click.stop.prevent=\"closeHowTo()\"></i>\n\t\t\t<div class=\"col-12 heading-block\">\n\t\t\t\t<img src=\"/img/vodabucks-logo-full-nobg.png\" alt=\"\" class=\"vodabucks-logo-full\">\n\t\t\t\t<p>How to get you VodaBucks purchase</p>\n\t\t\t</div>\n\n\t\t\t<div class=\"col-6\">\n\t\t\t\t<div class=\"step-block\">\n\t\t\t\t\t<span class=\"step-count\">1</span>\n\n\t\t\t\t\t<div class=\"step-info\">\n\t\t\t\t\t\t<i class=\"fas fa-mobile-alt\"></i>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\tTap on the SMS link or enter your SMS  VodaBucks code on Flutta\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class=\"col-6\">\n\t\t\t\t<div class=\"step-block\">\n\t\t\t\t\t<span class=\"step-count\">2</span>\n\n\t\t\t\t\t<div class=\"step-info\">\n\t\t\t\t\t\t<i class=\"fas fa-tshirt\"></i>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\tSelect your Flutta product\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class=\"col-6\">\n\t\t\t\t<div class=\"step-block\">\n\t\t\t\t\t<span class=\"step-count\">3</span>\n\n\t\t\t\t\t<div class=\"step-info\">\n\t\t\t\t\t\t<i class=\"fas fa-shopping-basket\"></i>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\tAdd to cart\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div class=\"col-6\">\n\t\t\t\t<div class=\"step-block\">\n\t\t\t\t\t<span class=\"step-count\">4</span>\n\n\t\t\t\t\t<div class=\"step-info\">\n\t\t\t\t\t\t<i class=\"fas fa-truck\"></i>\n\t\t\t\t\t\t<p>\n\t\t\t\t\t\t\tMore Codes? Repeat from step 1. Then checkout.\n\t\t\t\t\t\t</p>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t\t<div class=\"col-12\">\n\t\t\t\t<a href=\"#\" class=\"close-text\" @click.stop.prevent=\"closeHowTo()\">Got it. Close</a>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport { each } from 'lodash'\n\nexport default {\n\tname: \"vodabucks-how-to\",\n\tdata() {\n\t\treturn {\n\t\t\tshowHowTo: false,\n\t\t}\n\t},\n\tcomputed: {\n\t},\n\tmethods: {\n\t\topenSummary() {\n\t\t\tthis.showHowTo = !this.showHowTo;\n\t\t\tclearTimeout(this.summaryTimeout);\n\t\t},\n\t\tcloseHowTo(delay = 250) {\n\t\t\tthis.summaryTimeout = setTimeout(() => this.showHowTo = false, delay);\n\t\t},\n\t},\n\tmounted () {\n\t\tdocument.addEventListener('click', this.close);\n\t\tdocument.addEventListener('howToModal:open', e => {\n\t\t\tthis.showHowTo = true;\n\t\t});\n\t},\n\tbeforeDestroy () {\n\t\tdocument.removeEventListener('click',this.close)\n\t}\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/scss/app.scss';\n.vodabucks-how-to {\n\tposition: relative;\n\n\t.how-to-popup {\n\t\tbackground-color: $gray-200;\n\t\tposition: absolute;\n\t\ttop: 25px;\n\t\tright: -11px;\n\t\tmin-width: 300px;\n\t\tz-index: 10;\n\t\theight: unset;\n\n\t\t&:after {\n\t\t\tcontent: '';\n\t\t\tposition: absolute;\n\t\t\ttop: 0;\n\t\t\tleft: 86%;\n\t\t\twidth: 0;\n\t\t\theight: 0;\n\t\t\tborder: 20px solid transparent;\n\t\t\tborder-bottom-color: $gray-200;\n\t\t\tborder-top: 0;\n\t\t\tmargin-left: -20px;\n\t\t\tmargin-top: -20px;\n\t\t}\n\n\t\t.fa-times-circle {\n\t\t\tposition: absolute;\n\t\t\tright: 0px;\n\t\t\ttop: -3px;\n\t\t\tz-index: 100;\n\t\t\tfont-size: 23px;\n\t\t\tcursor: pointer;\n\n\t\t\t&:hover {\n\t\t\t\tcolor: $secondary;\n\t\t\t}\n\n\t\t\t@include media-breakpoint-up(md) {\n\t\t\t\tright: -14px;\n\t\t\t}\n\t\t}\n\n\t\t.heading-block {\n\t\t\ttext-align: center;\n\n\t\t\tp {\n\t\t\t\tmargin-bottom: 28px;\n\t\t\t}\n\n\t\t\t.vodabucks-logo-full {\n\t\t\t\theight: 65.48px;\n\t\t\t\twidth: 290px;\n\t\t\t\tmargin: 20px 0;\n\t\t\t}\n\t\t}\n\n\t\t.step-block {\n\t\t\tbackground-color: white;\n\t\t\theight: 128px;\n\t\t\tposition: relative;\n\t\t\tmargin-bottom: 20px;\n\t\t\ttext-align: center;\n\t\t\tpadding: 10px;\n\t\t\tdisplay: inline-flex;\n\t\t\twidth: 100%;\n\t\t\ttext-align: center;\n\n\t\t\t.step-count {\n\t\t\t\tcolor: $white;\n\t\t\t\tposition: absolute;\n\t\t\t\tleft: -10px;\n\t\t\t\ttop: -10px;\n\t\t\t\tfont-size: 26px;\n\t\t\t\tpadding: 13px 0;\n\t\t\t\twidth: 50px;\n\t\t\t\tborder-radius: 50%;\n\t\t\t\tbackground-color: $secondary;\n\t\t\t}\n\n\t\t\t.step-info {\n\t\t\t\tmargin-bottom: auto;\n\t\t\t\tmargin-top: auto;\n\t\t\t\twidth: 100%;\n\n\t\t\t\t.fas {\n\t\t\t\t\tmargin-top: 10px;\n\t\t\t\t\tfont-size: 30px;\n\t\t\t\t\tmargin-bottom: 8px;\n\t\t\t\t}\n\n\t\t\t\tp {\n\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\tletter-spacing: 0;\n\t\t\t\t\tline-height: 14px;\n\t\t\t\t\tmargin-bottom: 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t.close-text {\n\t\t\ttext-align: center;\n\t\t\tfont-size: 20px;\n\t\t\tcolor: $secondary;\n\t\t\ttext-decoration: underline;\n\t\t\tfont-weight: 500;\n\t\t\tmargin-bottom: 24px;\n\t\t\tdisplay: block;\n\t\t\ttext-transform: initial;\n\t\t}\n\n\t\t@media screen and (min-width: 992px) {\n\t\t\tmin-width: 329px;\n\t\t}\n\n\t\thr.divider {\n\t\t\tborder-top: 1px solid $secondary;\n\t\t}\n\t}\n}\n</style>\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VodabucksHowTo.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./VodabucksHowTo.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./VodabucksHowTo.vue?vue&type=template&id=d38c16a6&scoped=true&\"\nimport script from \"./VodabucksHowTo.vue?vue&type=script&lang=js&\"\nexport * from \"./VodabucksHowTo.vue?vue&type=script&lang=js&\"\nimport style0 from \"./VodabucksHowTo.vue?vue&type=style&index=0&id=d38c16a6&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"d38c16a6\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('form',{staticClass:\"add-to-cart\",on:{\"submit\":function($event){$event.preventDefault();$event.stopPropagation();}}},[(_vm.product.virtual_deal && _vm.selectedSku && _vm.selectedSku.redemption_start && _vm.selectedSku.redemption_end && _vm.product.product_type.title !== _vm.productTypes.TRAVEL)?_c('p',{staticClass:\"product-valid-dates my-0\"},[_c('strong',[_vm._v(\"Valid From \"+_vm._s(_vm._f(\"formatDate\")(_vm.selectedSku.redemption_start))+\" to \"+_vm._s(_vm._f(\"formatDate\")(_vm.selectedSku.redemption_end)))])]):_vm._e(),(_vm.product.brand)?_c('p',{staticClass:\"product-brand my-2\"},[_vm._v(\" By \"+_vm._s(_vm.product.brand.title)+\" \")]):_vm._e(),_c('div',{staticClass:\"row mx-auto mx-md-0 price-container\"},[_vm._m(0),(_vm.product.label)?_c('div',{staticClass:\"col-auto\"},[_c('strong',{staticClass:\"text-uppercase\"},[_vm._v(_vm._s(_vm.product.label.title))])]):_vm._e()]),(_vm.showSkuBreakdown)?_c('div',{staticClass:\"card h-auto mw-100 m-0\"},[_c('div',{staticClass:\"card-body\"},_vm._l((_vm.matchingSkus()),function(sku,i){return _c('div',{key:i},[_vm._v(\" \"+_vm._s(sku.code)+\" (\"+_vm._s(sku.description)+\"); Stock: \"+_vm._s(sku.stock_available)+\" \")])}),0)]):_vm._e(),_c('div',{staticClass:\"row mx-auto mx-md-0 modifiers\"},[_vm._l((_vm.modifierMap),function(data,modifierKey){return _c('div',{key:modifierKey,staticClass:\"form-group modifier no-material select col-6\"},[_c('label',{attrs:{\"for\":'modifier-' + data.id}},[_vm._v(\" \"+_vm._s(data.title)+\" \")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(data.selected_modifier_option_id),expression:\"data.selected_modifier_option_id\"}],staticClass:\"w-100 modifier-select\",attrs:{\"id\":'modifier-' + data.id},on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(data, \"selected_modifier_option_id\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},function($event){return _vm.modifierOptionChanged(data.id)}]}},[_c('option',{attrs:{\"value\":\"\",\"selected\":\"\"}},[_vm._v(\"-Select Option-\")]),_vm._l((data.items),function(modifierOptionData,modifierOptionId){return _c('option',{key:modifierOptionData.id,attrs:{\"disabled\":!_vm.isOptionCombinationValid(modifierOptionData.id, data.id)},domProps:{\"value\":modifierOptionData.id}},[_vm._v(\" \"+_vm._s(modifierOptionData.title)+\" \"+_vm._s(_vm.isOptionCombinationValid(modifierOptionData.id, data.id) ? (_vm.hasStock(modifierOptionData.id, data.id) ? '' : '[Sold out]') : '[N/A]')+\" \")])})],2)])}),_c('div',{staticClass:\"form-group modifier no-material select col-6\",class:_vm.product.virtual_deal ? 'mb-4' : 'sdaf'},[_c('label',[_vm._v(\" Quantity: 1 \")]),_vm._m(1)])],2),(!_vm.product.virtual_deal)?_c('div',{staticClass:\"container delivery-details d-none d-md-block mx-0 px-0\"},[_c('div',{staticClass:\"row my-2\"},[_vm._m(2),_c('div',{staticClass:\"col-md-8\"},[_vm._v(\" \"+_vm._s(_vm.product.delivery_time || 'Takes up to 2 weeks')+\" \")]),_vm._m(3),_vm._m(4)]),_vm._m(5)]):_vm._e(),(_vm.preventVodapayAddToCart)?_c('div',{staticClass:\"vodapay-info-block p-3\"},[(_vm.vodapayInitData)?_c('vodapay-url',{staticClass:\"link-hover-green bold\",attrs:{\"app-id\":_vm.vodapayInitData.appId,\"adjust-key\":_vm.vodapayInitData.adjustKey,\"type\":\"product\",\"product-slug\":_vm.product.slug,\"url-title\":\"Open in app\",\"show-image\":false}}):_vm._e()],1):((_vm.modifierMap.length >= 1 || _vm.product.skus.length == 1) && !_vm.isProductOutOfStock)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-12\"},[_c('span',{directives:[{name:\"tooltip\",rawName:\"v-tooltip\",value:((_vm.preventAddToCart || _vm.showTooltip) || null),expression:\"(preventAddToCart || showTooltip) || null\"}],staticClass:\"btn btn-secondary w-100 font-weight-bold\",attrs:{\"disabled\":_vm.preventAddToCart,\"id\":\"add-to-cart-btn\"},on:{\"click\":function($event){!_vm.preventAddToCart ? _vm.addToCart() : ''}}},[_c('transition',{attrs:{\"name\":\"fade\",\"mode\":\"out-in\"}},[(_vm.addInProgress)?_c('img',{key:\"1\",attrs:{\"src\":\"/img/loading.svg\"}}):(_vm.showAddedFeedback)?_c('span',{key:\"2\"},[_c('i',{staticClass:\"fas fa-check mr-1\"}),_vm._v(\" Already in cart - check out now \")]):(_vm.preventVodacomAddToCart)?_c('span',{key:\"3\"},[_vm._v(\" Redemption Code Required \")]):(_vm.preventAddToCart)?_c('span',{key:\"4\"},[_vm._v(\" Select option above \")]):_c('span',{key:\"5\"},[_c('i',{staticClass:\"fas fa-plus mr-1\"}),_vm._v(\" Add to Cart \")])])],1)])]):_c('div',[_c('button',{staticClass:\"btn btn-primary w-100 mb-3 w-100 font-weight-bold out-of-stock\",attrs:{\"disabled\":\"\",\"title\":\"Out of stock\"}},[_vm._v(\" Out of stock \")])]),_c('div',{staticClass:\"row\"},[_c('div',{class:`col-md-12 ${_vm.showReminderBar}`,attrs:{\"data-component\":\"redemptionReminder\"}},[_c('a',{staticClass:\"btn px-1 btn-outline redemption-reminder-link w-100 font-weight-bold\",style:(_vm.reminder.barLinkStyle),attrs:{\"href\":`/redemption-codes/${ _vm.reminder.slug }`}},[(_vm.reminder.name)?_c('div',[_vm._v(\" USE ANOTHER \"+_vm._s(_vm.reminder.name)+\" CODE \")]):_c('div',[_vm._v(\" USE ANOTHER REDEMPTION CODE \")])])])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"col px-0\"},[_c('div',{staticClass:\"price\"},[_c('span',[_vm._v(\" R 0 \")])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"text-wrapper\"},[_c('p',[_vm._v(\"** One FREE product per VodaBucks code\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"col-md-2\"},[_c('strong',[_vm._v(\"Delivery\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"col-md-2 text-right\"},[_c('i',{staticClass:\"fa fa-info-circle info-circle\",attrs:{\"data-toggle\":\"modal\",\"data-target\":\"#deliveryModal\"}})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"modal fade\",attrs:{\"id\":\"deliveryModal\",\"tabindex\":\"-1\",\"role\":\"dialog\",\"aria-labelledby\":\"deliveryModalLabel\",\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"modal-dialog\",attrs:{\"role\":\"document\"}},[_c('div',{staticClass:\"modal-content\"},[_c('div',{staticClass:\"modal-header\"},[_c('button',{staticClass:\"close\",attrs:{\"type\":\"button\",\"data-dismiss\":\"modal\",\"aria-label\":\"Close\"}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])]),_c('div',{staticClass:\"modal-body px-0\"},[_c('p',{staticClass:\"h3 text-info\"},[_vm._v(\"Delivery\")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\"Flutta sells their own products, as well as products from The Pro Shop and Cycle Lab. In some cases, your order will be shipped from multiple warehouses, meaning that there will be multiple charges for shipping.\")])])])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"row my-2\"},[_c('div',{staticClass:\"col-md-2\"},[_c('strong',[_vm._v(\"Returns\")])]),_c('div',{staticClass:\"col-md-8\"},[_vm._v(\" Exchange or return within 7 days \")]),_c('div',{staticClass:\"col-md-2 text-right\"},[_c('i',{staticClass:\"fa fa-info-circle info-circle\",attrs:{\"data-toggle\":\"modal\",\"data-target\":\"#returnsModal\"}})]),_c('div',{staticClass:\"modal fade\",attrs:{\"id\":\"returnsModal\",\"tabindex\":\"-1\",\"role\":\"dialog\",\"aria-labelledby\":\"returnsModalLabel\",\"aria-hidden\":\"true\"}},[_c('div',{staticClass:\"modal-dialog\",attrs:{\"role\":\"document\"}},[_c('div',{staticClass:\"modal-content\"},[_c('div',{staticClass:\"modal-header\"},[_c('button',{staticClass:\"close\",attrs:{\"type\":\"button\",\"data-dismiss\":\"modal\",\"aria-label\":\"Close\"}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])]),_c('div',{staticClass:\"modal-body px-0\"},[_c('p',{staticClass:\"h3 text-info\"},[_vm._v(\"Criteria for return requests\")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\"Requests for returns must be logged within 7 working days of the delivery date.\")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\"Flutta will, from 15 December, accept requests for returns until 11 January.\")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\"Item/s must be in a re-sellable condition.\")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\"Item/s must be in their original packaging, with labels attached, undamaged.\")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\"​In the event, the item/s being returned is due to no error on Flutta's side, a collection & replacement charge might be levied. The Flutta customer service team will use their discretion to evaluate whether these fees may be waivered.\")]),_c('p',{staticClass:\"text-left\"},[_vm._v(\"For more Returns related information - \"),_c('a',{staticClass:\"text-secondary font-weight-bold\",attrs:{\"href\":\"/shipping-and-delivery\"}},[_vm._v(\"Returns & Exchanges\")])])])])])])])\n}]\n\nexport { render, staticRenderFns }","<template>\n\t<form @submit.prevent.stop class=\"add-to-cart\">\n\t\t<p v-if=\"product.virtual_deal && selectedSku && selectedSku.redemption_start && selectedSku.redemption_end && product.product_type.title !== productTypes.TRAVEL\" class=\"product-valid-dates my-0\">\n\t\t\t<strong>Valid From {{ selectedSku.redemption_start | formatDate }} to {{ selectedSku.redemption_end | formatDate }}</strong>\n\t\t</p>\n\t\t<p v-if=\"product.brand\" class=\"product-brand my-2\">\n\t\t\tBy {{ product.brand.title }}\n\t\t</p>\n\t\t<div class=\"row mx-auto mx-md-0 price-container\">\n\t\t\t<div class=\"col px-0\">\n\t\t\t\t<div class=\"price\">\n\t\t\t\t\t<span>\n\t\t\t\t\t\tR 0\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t\t<div v-if=\"product.label\" class=\"col-auto\">\n\t\t\t\t<strong class=\"text-uppercase\">{{ product.label.title }}</strong>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<!-- VERY USEFUL FOR DEBUGGING WHICH SKUS MATCH THE SELECTED MODIFIERS -->\n\t\t<div v-if=\"showSkuBreakdown\" class=\"card h-auto mw-100 m-0\">\n\t\t\t<div class=\"card-body\">\n\t\t\t\t<div v-for=\"(sku, i) in matchingSkus()\" :key=\"i\">\n\t\t\t\t\t{{ sku.code }} ({{ sku.description }}); Stock: {{ sku.stock_available }}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div class=\"row mx-auto mx-md-0 modifiers\">\n\t\t\t<div v-for=\"(data, modifierKey) in modifierMap\" :key=\"modifierKey\" class=\"form-group modifier no-material select col-6\">\n\t\t\t\t<label :for=\"'modifier-' + data.id\">\n\t\t\t\t\t{{ data.title }}\n\t\t\t\t</label>\n\n\t\t\t\t<select\n\t\t\t\t\t:id=\"'modifier-' + data.id\"\n\t\t\t\t\tclass=\"w-100 modifier-select\"\n\t\t\t\t\tv-model=\"data.selected_modifier_option_id\"\n\t\t\t\t\t@change=\"modifierOptionChanged(data.id)\"\n\t\t\t\t>\n\t\t\t\t\t<option value selected>-Select Option-</option>\n\n\t\t\t\t\t<option\n\t\t\t\t\t\tv-for=\"(modifierOptionData, modifierOptionId) in data.items\"\n\t\t\t\t\t\t:key=\"modifierOptionData.id\"\n\t\t\t\t\t\t:value=\"modifierOptionData.id\"\n\t\t\t\t\t\t:disabled=\"!isOptionCombinationValid(modifierOptionData.id, data.id)\"\n\t\t\t\t\t>\n\t\t\t\t\t\t{{ modifierOptionData.title }} {{ isOptionCombinationValid(modifierOptionData.id, data.id) ? (hasStock(modifierOptionData.id, data.id) ? '' : '[Sold out]') : '[N/A]' }}\n\t\t\t\t\t</option>\n\t\t\t\t</select>\n\t\t\t</div>\n\n\t\t\t<div class=\"form-group modifier no-material select col-6\" :class=\"product.virtual_deal ? 'mb-4' : 'sdaf'\">\n\t\t\t\t<label>\n\t\t\t\t\tQuantity: 1\n\t\t\t\t</label>\n\t\t\t\t<div class=\"text-wrapper\">\n\t\t\t\t\t<p>** One FREE product per VodaBucks code</p>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div v-if=\"!product.virtual_deal\" class=\"container delivery-details d-none d-md-block mx-0 px-0\">\n\t\t\t<div class=\"row my-2\">\n\t\t\t\t<div class=\"col-md-2\">\n\t\t\t\t\t<strong>Delivery</strong>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"col-md-8\">\n\t\t\t\t\t{{ product.delivery_time || 'Takes up to 2 weeks'}}\n\t\t\t\t</div>\n\t\t\t\t<div class=\"col-md-2 text-right\">\n\t\t\t\t\t<i class=\"fa fa-info-circle info-circle\" data-toggle=\"modal\" data-target=\"#deliveryModal\"></i>\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"modal fade\" id=\"deliveryModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"deliveryModalLabel\" aria-hidden=\"true\">\n\t\t\t\t\t<div class=\"modal-dialog\" role=\"document\">\n\t\t\t\t\t\t<div class=\"modal-content\">\n\t\t\t\t\t\t\t<div class=\"modal-header\">\n\t\t\t\t\t\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n\t\t\t\t\t\t\t\t\t<span aria-hidden=\"true\">&times;</span>\n\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\t<div class=\"modal-body px-0\">\n\t\t\t\t\t\t\t\t<p class=\"h3 text-info\">Delivery</p>\n\t\t\t\t\t\t\t\t<p class=\"text-left\">Flutta sells their own products, as well as products from The Pro Shop and Cycle Lab. In some cases, your order will be shipped from multiple warehouses, meaning that there will be multiple charges for shipping.</p>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t\t<div class=\"row my-2\">\n\t\t\t\t<div class=\"col-md-2\">\n\t\t\t\t\t<strong>Returns</strong>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"col-md-8\">\n\t\t\t\t\tExchange or return within 7 days\n\t\t\t\t</div>\n\t\t\t\t<div class=\"col-md-2 text-right\">\n\t\t\t\t\t<i class=\"fa fa-info-circle info-circle\" data-toggle=\"modal\" data-target=\"#returnsModal\"></i>\n\t\t\t\t</div>\n\n\t\t\t\t<div class=\"modal fade\" id=\"returnsModal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"returnsModalLabel\" aria-hidden=\"true\">\n\t\t\t\t\t<div class=\"modal-dialog\" role=\"document\">\n\t\t\t\t\t\t<div class=\"modal-content\">\n\t\t\t\t\t\t\t<div class=\"modal-header\">\n\t\t\t\t\t\t\t\t<button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\">\n\t\t\t\t\t\t\t\t\t<span aria-hidden=\"true\">&times;</span>\n\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class=\"modal-body px-0\">\n\t\t\t\t\t\t\t\t<p class=\"h3 text-info\">Criteria for return requests</p>\n\t\t\t\t\t\t\t\t<p class=\"text-left\">Requests for returns must be logged within 7 working days of the delivery date.</p>\n\t\t\t\t\t\t\t\t<p class=\"text-left\">Flutta will, from 15 December, accept requests for returns until 11 January.</p>\n\t\t\t\t\t\t\t\t<p class=\"text-left\">Item/s must be in a re-sellable condition.</p>\n\t\t\t\t\t\t\t\t<p class=\"text-left\">Item/s must be in their original packaging, with labels attached, undamaged.</p>\n\t\t\t\t\t\t\t\t<p class=\"text-left\">​In the event, the item/s being returned is due to no error on Flutta's side, a collection & replacement charge might be levied. The Flutta customer service team will use their discretion to evaluate whether these fees may be waivered.</p>\n\t\t\t\t\t\t\t\t<p class=\"text-left\">For more Returns related information - <a href=\"/shipping-and-delivery\" class=\"text-secondary font-weight-bold\">Returns & Exchanges</a> </p>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div v-if=\"preventVodapayAddToCart\" class=\"vodapay-info-block p-3\">\n\t\t\t<vodapay-url\n\t\t\t\tv-if=\"vodapayInitData\"\n\t\t\t\t:app-id='vodapayInitData.appId'\n\t\t\t\t:adjust-key='vodapayInitData.adjustKey'\n\t\t\t\ttype='product'\n\t\t\t\t:product-slug='product.slug'\n\t\t\t\turl-title='Open in app'\n\t\t\t\t:show-image=false\n\t\t\t\tclass='link-hover-green bold'\n\t\t\t></vodapay-url>\n\t\t</div>\n\t\t<div v-else-if=\"(modifierMap.length >= 1 || product.skus.length == 1) && !isProductOutOfStock\" class=\"row\">\n\t\t\t<div class=\"col-md-12\">\n\t\t\t\t<span\n\t\t\t\t\t@click=\"!preventAddToCart ? addToCart() : ''\" :disabled=\"preventAddToCart\"\n\t\t\t\t\tv-tooltip=\"(preventAddToCart || showTooltip) || null\"\n\t\t\t\t\tclass=\"btn btn-secondary w-100 font-weight-bold\"\n\t\t\t\t\tid=\"add-to-cart-btn\"\n\t\t\t\t>\n\t\t\t\t\t<transition name=\"fade\" mode=\"out-in\">\n\t\t\t\t\t\t<img v-if=\"addInProgress\" src=\"/img/loading.svg\" key=\"1\">\n\n\t\t\t\t\t\t<span v-else-if=\"showAddedFeedback\" key=\"2\">\n\t\t\t\t\t\t\t<i class=\"fas fa-check mr-1\"></i>\n\t\t\t\t\t\t\tAlready in cart - check out now\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t<span v-else-if=\"preventVodacomAddToCart\" key=\"3\">\n\t\t\t\t\t\t\tRedemption Code Required\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t<span v-else-if=\"preventAddToCart\" key=\"4\">\n\t\t\t\t\t\t\tSelect option above\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t<span v-else key=\"5\">\n\t\t\t\t\t\t\t<i class=\"fas fa-plus mr-1\"></i>\n\t\t\t\t\t\t\tAdd to Cart\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</transition>\n\t\t\t\t</span>\n\t\t\t</div>\n\t\t</div>\n\n\t\t<div v-else>\n\t\t\t<button disabled title=\"Out of stock\" class=\"btn btn-primary w-100 mb-3 w-100 font-weight-bold out-of-stock\">\n\t\t\t\tOut of stock\n\t\t\t</button>\n\t\t</div>\n\t\t<div class=\"row\">\n\t\t\t<div data-component=\"redemptionReminder\" :class=\"`col-md-12 ${showReminderBar}`\"><a class=\"btn px-1 btn-outline redemption-reminder-link w-100 font-weight-bold\" :href=\"`/redemption-codes/${ reminder.slug }`\" :style=\"reminder.barLinkStyle\">\n\t\t\t\t<div v-if=\"reminder.name\">\n\t\t\t\t\tUSE ANOTHER {{ reminder.name }} CODE\n\t\t\t\t</div>\n\t\t\t\t<div v-else>\n\t\t\t\t\tUSE ANOTHER REDEMPTION CODE\n\t\t\t\t</div>\n\t\t\t\t</a>\n\t\t\t</div>\n\t\t</div>\n\t</form>\n</template>\n\n<script>\nimport { each, chunk } from 'lodash';\nimport { mapGetters } from 'vuex';\nimport BaseCart from '../cart/Base.vue';\nimport moment from 'moment';\nimport Cookies from 'js-cookie';\nimport axios from 'axios';\nimport VodapayUrl from '../VodapayUrl.vue';\n\nconst axiosInstance = axios.create({headers: {\"X-CSRF-Token\": Cookies.get(\"csrfToken\")}});\n\nexport default {\n\tname: \"redemption-add-to-cart\",\n\textends: BaseCart,\n\tcomponents: {\n\t\tVodapayUrl,\n\t},\n\tprops: {\n\t\talreadyInCart: { type : Boolean, default: false},\n\t\tproduct: { type: Object },\n\t\tauthenticated: { type: Number, default: 0 },\n\t\treminder: { type: Object },\n\t\tproductTypes: { type: Object },\n\t\tvodapayInitData: { type: Object, required: true },\n\t},\n\tdata() {\n\t\tlet data = {\n\t\t\tshowTooltip: false,\n\t\t\taddInProgress: false,\n\t\t\twishlistInProgress: false,\n\t\t\tshowAddedFeedback: this.alreadyInCart ? this.alreadyInCart : false,\n\t\t\tshowCartLink: false,\n\t\t\tmodifierMap: [],\n\t\t\tquantity: this.product.multiples_of ? this.product.multiples_of : 1,\n\t\t\thighestWasPrice: null,\n\t\t\tshowReminder: false,\n\t\t};\n\n\t\treturn data;\n\t},\n\tfilters: {\n\t\tformatDate: function (value) {\n\t\t\tif (value) {\n\t\t\t\treturn moment(String(value)).format('DD MMMM YYYY')\n\t\t\t}\n\t\t\treturn null;\n\t\t}\n\t},\n\tcomputed: {\n\t\t...mapGetters(['cart', 'wishlist', 'isVodapay']),\n\t\tpreventVodapayAddToCart() {\n\t\t\treturn this.product.is_vodapay_exclusive && !this.isVodapay\n\t\t},\n\t\tpreventVodacomAddToCart() {\n\t\t\treturn this.product.is_vodacom_exclusive && this.isVodapay\n\t\t},\n\t\tshowSkuBreakdown() {\n\t\t\tconst urlParams = new URLSearchParams(window.location.search);\n\t\t\tconst myParam = urlParams.get('show_sku_breakdown');\n\t\t\treturn Boolean(myParam);\n\t\t},\n\t\tinWishlist() {\n\t\t\tif (!this.selectedSku) return false;\n\n\t\t\tlet inWishlist = false;\n\t\t\tif (this.wishlist && this.wishlist.skus) {\n\t\t\t\teach(this.wishlist.skus, sku => {\n\t\t\t\t\tif (sku.id == this.selectedSku.id) {\n\t\t\t\t\t\tinWishlist = true;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\n\t\t\treturn inWishlist;\n\t\t},\n\t\tselectedSku() {\n\t\t\tlet skus = this.matchingSkus();\n\t\t\tif (skus.length == 1) {\n\t\t\t\treturn skus[0]\n\t\t\t}\n\t\t\treturn null;\n\t\t},\n\t\tpreventAddToCart() {\n\t\t\tthis.showTooltip = true;\n\t\t\tif (this.product.isPreview) {\n\t\t\t\treturn 'In preview mode';\n\t\t\t}\n\t\t\tif (this.preventVodacomAddToCart) {\n\t\t\t\treturn \"Redemption Code Required\";\n\t\t\t}\n\t\t\tif (this.allOptionsSelected == false) {\n\t\t\t\treturn 'Please select all options';\n\t\t\t}\n\t\t\tif (this.selectedSku === null) {\n\t\t\t\treturn 'Option combo not available';\n\t\t\t}\n\t\t\tif (this.selectedSku.stock_available < 1) {\n\t\t\t\treturn 'This option combination is out of stock'\n\t\t\t}\n\t\t\tif (this.selectedSku.stock_available < this.quantityOfSelectedSku + this.quantity) {\n\t\t\t\treturn 'No more stock available';\n\t\t\t}\n\t\t\tif (this.addInProgress) {\n\t\t\t\treturn 'Please wait until the previous operation is completed'\n\t\t\t}\n\t\t\tthis.showTooltip = false;\n\t\t\treturn false;\n\t\t},\n\t\tisProductOutOfStock() {\n\t\t\tif (this.product.stock_available < 1) {\n\t\t\t\treturn 'This product is out of stock'\n\t\t\t}\n\t\t\treturn false\n\t\t},\n\t\tquantityOfSelectedSku() {\n\t\t\tif (!this.selectedSku) {\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t\tlet quantity = 0;\n\t\t\teach (this.cart.order_line_items, item => {\n\t\t\t\tif (item.sku_code == this.selectedSku.code) {\n\t\t\t\t\tquantity += parseInt(item.quantity);\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn quantity;\n\t\t},\n\t\tallOptionsSelected() {\n\t\t\tlet allSelected = true\n\t\t\teach(this.modifierMap, (modifierData, id) => {\n\t\t\t\tif (!modifierData.selected_modifier_option_id) {\n\t\t\t\t\tallSelected = false\n\t\t\t\t}\n\t\t\t})\n\t\t\treturn allSelected\n\t\t},\n\t\tselectedModifierIds() {\n\t\t\tlet modifiersSelected = [];\n\t\t\teach(this.modifierMap, modifierData => {\n\t\t\t\tif (modifierData.selected_modifier_option_id) {\n\t\t\t\t\tmodifiersSelected.push(modifierData.id);\n\t\t\t\t}\n\t\t\t});\n\n\t\t\treturn modifiersSelected;\n\t\t},\n\t\tshowReminderBar() {\n\t\t\treturn this.reminder.isShowReminder? '': 'd-none';\n\t\t},\n\t\tselectedModifierOptionIds() {\n\t\t\tlet ids = [];\n\t\t\teach(this.modifierMap, (modifierData, id) => {\n\t\t\t\tif (modifierData.selected_modifier_option_id) {\n\t\t\t\t\tids.push(modifierData.selected_modifier_option_id);\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn ids;\n\t\t}\n\t},\n\tmethods: {\n\t\tgetModifierSkus(modifierId, modifierOptionId) {\n\t\t\tlet skus = []\n\t\t\teach(this.product.skus, sku => {\n\t\t\t\teach(sku.modifier_options, modifierOption => {\n\t\t\t\t\tif (modifierOption.id == modifierOptionId && modifierOption.modifier.id == modifierId) {\n\t\t\t\t\t\tskus.push(sku)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t})\n\t\t\treturn skus\n\t\t},\n\t\t/**\n\t\t * Look for skus that have at least all of the selected modifier options.\n\t\t * Can provide a modifierId which will dictate which group of modifier options\n\t\t * we not want to filter on.\n\t\t */\n\t\tmatchingSkus(ignoreModifierId = null) {\n\t\t\tlet skus = []\n\n\t\t\teach(this.product.skus, sku => {\n\t\t\t\tlet matching = true\n\n\t\t\t\teach(this.selectedModifierOptionIds, modifierOptionId => {\n\t\t\t\t\t/**\n\t\t\t\t\t * Determine if we want to exclude a group of modifier options from the filtering\n\t\t\t\t\t */\n\t\t\t\t\tif (ignoreModifierId) {\n\t\t\t\t\t\tlet ignoreModifierOptions = null;\n\t\t\t\t\t\teach (this.modifierMap, data => {\n\t\t\t\t\t\t\tif (data.id == ignoreModifierId) {\n\t\t\t\t\t\t\t\tignoreModifierOptions = Object.keys(data.items)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n\n\t\t\t\t\t\tif (ignoreModifierOptions.includes(modifierOptionId)) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t/**\n\t\t\t\t\t * Look through the modifiers options on the sku and remember if we found a match\n\t\t\t\t\t */\n\t\t\t\t\tlet found = false\n\t\t\t\t\teach(sku.modifier_options, modifierOption => {\n\t\t\t\t\t\tif (modifierOption.id == modifierOptionId) {\n\t\t\t\t\t\t\tfound = true\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\n\t\t\t\t\tif (!found) {\n\t\t\t\t\t\tmatching = false\n\t\t\t\t\t}\n\t\t\t\t})\n\n\t\t\t\tif (matching) {\n\t\t\t\t\tskus.push(sku)\n\t\t\t\t}\n\t\t\t});\n\n\t\t\treturn skus\n\t\t},\t\t\n\t\taddToCart() {\n\t\t\tif (this.preventVodapayAddToCart || this.preventVodacomAddToCart) return false;\n\n\t\t\tif (!this.preventAddToCart && !this.showAddedFeedback) {\n\t\t\t\tif (!this.authenticated) {\n\t\t\t\t\tvar product = {};\n\t\t\t\t\tproduct = {\n\t\t\t\t\t\tisAjax: true,\n\t\t\t\t\t\tsku_code: this.selectedSku.code,\n\t\t\t\t\t\tmerchant: this.selectedSku.merchant,\n\t\t\t\t\t\tquantity: this.quantityOfSelectedSku + (this.quantity ? this.quantity : 1)\n\t\t\t\t\t};\n\t\t\t\t\taxiosInstance.post('/api/cart/add-item.json', product)\n\t\t\t\t\t.then(function (response) {\n\t\t\t\t\t\tthis.reminder.isShowReminder = response.data.reminder;\n\t\t\t\t\t\tthis.showReminder = response.data.reminder;\n\t\t\t\t\t\tthis.reminder.eligibleProduct = response.eligibleProduct;\n\t\t\t\t\t\tthis.showAddedFeedback = true;\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t})\n\t\t\t\t\t.catch(function (error) {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t});\n\n\t\t\t\t\tlet event = new CustomEvent('auth:requiresLogin');\n\t\t\t\t\tdocument.dispatchEvent(event)\n\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tif (!this.selectedSku || this.addInProgress) return;\n\t\t\t\tthis.addInProgress = true;\n\t\t\t\tthis.$store.dispatch('addToCart', {\n\t\t\t\t\t\tsku_code: this.selectedSku.code,\n\t\t\t\t\t\tmerchant: this.selectedSku.merchant,\n\t\t\t\t\t\tquantity: 1,\n\t\t\t\t\t\tignore_existing_quantity: false\n\t\t\t\t\t})\n\t\t\t\t\t.then((response) => {\n\t\t\t\t\t\tthis.reminder.eligibleProduct = response.eligibleProduct;\n\t\t\t\t\t\tthis.showAddedFeedback = true;\n\t\t\t\t\t\tthis.reminder.isShowReminder = response.data.reminder;\n\t\t\t\t\t\tthis.showReminder = response.data.reminder;\n\t\t\t\t\t\tsetTimeout(() => this.showCartLink = true, 1000);\n\n\t\t\t\t\t\tlet event = new CustomEvent('miniCart:show');\n\t\t\t\t\t\tdocument.dispatchEvent(event);\n\t\t\t\t\t})\n\t\t\t\t\t.finally(() => setTimeout(() => this.addInProgress = false, 1000));\n\t\t\t} else if(this.showAddedFeedback && !this.preventAddToCart) {\n\t\t\t\twindow.location.href = '/vodacom/checkout'\n\t\t\t}\n\t\t},\n\t\tremoveFromWishlist() {\n\t\t\tif (!this.selectedSku || this.wishlistInProgress) return;\n\n\t\t\tthis.wishlistInProgress = true;\n\t\t\tthis.$store.dispatch('removeFromWishlist', { sku_code: this.selectedSku.code })\n\t\t\t\t.finally(this.wishlistInProgress = false);\n\t\t},\n\t\t/**\n\t\t * Looks at the skus matching the current set of modifier options selected, and then sees if the given option would match,\n\t\t * or if the user has already selected from the given modifier id (then it makes all of those options valid)\n\t\t */\n\t\tisOptionCombinationValid(modifierOptionId, currentModifierId) {\n\t\t\tlet valid = false;\n\t\t\teach(this.matchingSkus(), sku => [\n\t\t\t\teach(sku.modifier_options, modifierOption => {\n\t\t\t\t\tif (this.selectedModifierIds.includes(currentModifierId)) {\n\t\t\t\t\t\tvalid = true;\n\t\t\t\t\t}\n\t\t\t\t\tif (modifierOptionId == modifierOption.id) {\n\t\t\t\t\t\tvalid = true;\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t])\n\t\t\treturn valid;\n\t\t},\n\t\t/**\n\t\t * Same as isOptionCombinationValid() but provides a modifierId to the matchingSkus() method,\n\t\t * to indicate we dont want to filter skus on this modifier, because if we select a modifier option,\n\t\t * then the rest of the options no longer match and all show as out of stock, which is NOT what we want.\n\t\t */\n\t\thasStock(modifierOptionId, modifierId) {\n\t\t\tlet hasStock = false;\n\t\t\tlet skus = this.getModifierSkus(modifierId, modifierOptionId);\n\t\t\teach (skus, sku => {\n\t\t\t\tif (sku.stock_available >= 1 && !hasStock) {\n\t\t\t\t\thasStock = true;\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn hasStock;\n\t\t},\n\t\tmodifierOptionChanged(modifierId) {\n\t\t\tlet found = false\n\t\t\teach(this.modifierMap, modifierData => {\n\t\t\t\tif (modifierId == modifierData.id) {\n\t\t\t\t\tfound = true\n\t\t\t\t} else if (found) {\n\t\t\t\t\tmodifierData.selected_modifier_option_id = '';\n\t\t\t\t}\n\t\t\t})\n\t\t}\n\t},\n\twatch: {\n\t\tshowTooltip(newVal) {\n\t\t\tif (newVal) {\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tthis.showTooltip = false;\n\t\t\t\t}, 3000);\n\t\t\t}\n\t\t}\n\t},\n\tmounted() {\n\t\tthis.highestWasPrice = this.product.skus.reduce((highest, sku) => highest.was_price > sku.was_price ? highest : sku)\n\t\tthis.highestWasPrice = this.highestWasPrice.was_price > this.product.price ? this.highestWasPrice : null\n\n\t\tthis.showReminder = this.reminder.isShowReminder;\n\n\t\teach(this.product.modifier_map, (modifierData) => {\n\t\t\tmodifierData.selected_modifier_option_id = '';\n\t\t});\n\n\t\tthis.modifierMap = JSON.parse(JSON.stringify(this.product.modifier_map));\n\n\t\tif (this.modifierMap.length == 0 && this.product.skus.length > 1) {\n\t\t\tconsole.log('No modifiers, but many skus. Cannot choose which sku to sell the user');\n\t\t}\n\n\t\tif (this.cart.order_line_items.length > 0) {\n\t\t\tthis.showCartLink = true;\n\t\t}\n\n\t\taxiosInstance.post('/api/cart/stage-listing')\n\t\t.then(function (response) {\n\t\t\tif (response.data.success === true) {\n\t\t\t\twindow.location.reload(false);\n\t\t\t}\n\t\t})\n\t\t.catch(function (error) {\n\t\t\treturn false;\n\t\t});\n\t}\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/scss/app.scss';\n\n.add-to-cart {\n\n\t.btn {\n\t\tmin-width: unset;\n\t}\n\n\t.vodabucks-logo {\n\t\tmax-width: 24px;\n\t\tmargin-bottom: 0;\n\t\tdisplay: inline-block;\n\n\t\t@include media-breakpoint-up(md) {\n\t\t\tmax-width: 30px;\n\t\t}\n\t}\n\n\t.vodabucks-text {\n\t\tcolor: $vodacom-red;\n\t\tfont-size: 14px;\n\t\tdisplay: inline-block;\n\t\tword-wrap: break-word;\n\n\t\t@include media-breakpoint-up(md) {\n\t\t\tfont-size: 24px;\n\t\t}\n\t}\n\n\t.modifiers {\n\t\tmax-width: 500px;\n\n\t\t.modifier {\n\t\t\tpadding: 0;\n\n\t\t\t&:nth-of-type(odd) {\n\t\t\t\tpadding-right: 10px;\n\t\t\t}\n\n\t\t\t&:nth-of-type(even) {\n\t\t\t\tpadding-left: 10px;\n\t\t\t}\n\n\t\t\tselect {\n\t\t\t\tborder-radius: 0%;\n\t\t\t\tbackground-size: 25px;\n\t\t\t\tbackground-position: right 10px top 8px;\n\t\t\t\theight: 42px;\n\t\t\t\tborder: solid 1px $grey;\n\n\t\t\t\t&:focus {\n\t\t\t\t\toutline: none;\n\t\t\t\t\tbox-shadow: none;\n\t\t\t\t}\n\n\t\t\t\toption:not(:disabled) {\n\t\t\t\t\tfont-size: 16px;\n\t\t\t\t\tfont-weight: 600;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t.delivery-details {\n\t\tmax-width: 500px;\n\t}\n\n\t.fade-enter-active, .fade-leave-active {\n\t\ttransition: opacity .4s\n\t}\n\t.fade-enter, .fade-leave-to {\n\t\topacity: 0\n\t}\n\n\t.btn img {\n\t\tmax-height: 24px;\n\t}\n\n\t.sizes-table {\n\t\twidth: 100%;\n\t\tmargin-bottom: 1rem;\n\n\t\ttd {\n\t\t\tborder: 2px solid $gray-200;\n\t\t\tpadding: 14px 4px;\n\t\t\ttext-align: center;\n\n\t\t\t&.disabled, &.selected {\n\t\t\t\tbackground-color: $gray-100;\n\t\t\t}\n\t\t\t&.disabled {\n\t\t\t\tcolor: $gray-300;\n\t\t\t}\n\t\t\t&.selected {\n\t\t\t\tborder-color: $secondary;\n\t\t\t\tborder-style: double;\n\t\t\t}\n\t\t}\n\t}\n\n\t.info-circle {\n\t\tfont-size: 20px;\n\t\tcursor: pointer;\n\t}\n\n\t.colour-selection {\n\t\tinput:checked + label {\n\t\t\tborder-color: inherit;\n\t\t}\n\t\t.colour-label {\n\t\t\tmargin: 0;\n\t\t\tpadding: 2px;\n\t\t\tborder: 1px solid transparent;\n\t\t}\n\t}\n\n\t.price-container {\n\t\tmax-width: 500px;\n\n\t\t.price {\n\t\t\ttext-align: center;\n\t\t\tfont-weight: bold;\n\t\t\tfont-size: 24px;\n\t\t\tletter-spacing: 0;\n\t\t\tcolor: $black;\n\t\t\topacity: 1;\n\t\t\tpadding-bottom: 24px;\n\t\t\tdisplay: flex;\n\t\t\tflex-direction: column-reverse;\n\n\t\t\tdel {\n\t\t\t\tfont-weight: normal;\n\t\t\t\tfont-size: 17px;\n\t\t\t\tletter-spacing: 0;\n\t\t\t\tcolor: $grey;\n\t\t\t\topacity: 1;\n\t\t\t\tline-height: 23px;\n\t\t\t}\n\t\t}\n\t}\n\n\t@include media-breakpoint-down(sm) {\n\t\t.modifiers {\n\t\t\t.modifier {\n\t\t\t\tselect {\n\t\t\t\t\tborder: solid 2px $blue-dark-30;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t@include media-breakpoint-up(md) {\n\t\t.price-container {\n\t\t\tpadding-top: 20px;\n\t\t\t.price {\n\t\t\t\ttext-align: left;\n\t\t\t\tfont-size: 30px;\n\t\t\t}\n\t\t}\n\t}\n}\n.redemption-code-header {\n\tmargin-top: 20px;\n}\n\n.redemption-reminder-link {\n\tmargin-top: 20px;\n\tborder: 2px solid #F11900;\n\tbackground-color: white;\n\tcolor: #F11900;\n}\n\n.vodapay-info-block {\n\tbackground-color: $blue-dark;\n\tcolor: $white;\n\n\ta {\n\t\tcolor: $white;\n\t}\n}\n</style>","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddToCart.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddToCart.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AddToCart.vue?vue&type=template&id=6a4125fa&scoped=true&\"\nimport script from \"./AddToCart.vue?vue&type=script&lang=js&\"\nexport * from \"./AddToCart.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AddToCart.vue?vue&type=style&index=0&id=6a4125fa&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"6a4125fa\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"order-summary\"},_vm._l((_vm.cart.order_line_items),function(orderLineItem,i){return _c('div',{key:i,staticClass:\"order-item\"},[_c('div',{staticClass:\"row pb-0\"},[_c('div',{staticClass:\"col-3 text-center\"},[_c('div',{staticClass:\"container-fluid px-0\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-12\"},[(orderLineItem.product_image)?[_c('img',{staticClass:\"img-fluid w-100\",attrs:{\"src\":orderLineItem.product_image,\"alt\":\"Product Image\"}})]:_vm._e(),(orderLineItem.sku_code === 'GIFTCARD')?[_c('img',{staticClass:\"img-fluid w-100\",attrs:{\"src\":'/img/flutta-gift-card.png',\"alt\":\"giftcard\"}})]:_vm._e()],2)])])]),_c('div',{staticClass:\"col-9\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_vm._v(\" \"+_vm._s(_vm.computeLineItemDescription(orderLineItem))+\" \")]),_c('div',{staticClass:\"col-auto\"},[_c('a',{staticClass:\"remove-item\",attrs:{\"href\":\"#remove-item\"},on:{\"click\":function($event){return _vm.removeItem(orderLineItem.id, orderLineItem.sku_code, orderLineItem.quantity, orderLineItem.redemption_codes[0].code)}}},[_c('i',{staticClass:\"fas fa-times\"})])])]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-auto\"},[_c('div',{staticClass:\"subtext\"},[_c('small',{staticClass:\"float-right\"},[_c('div',{staticClass:\"form-group quantity-selector\"},[_c('span',[_c('strong',[_vm._v(_vm._s(orderLineItem.quantity))]),_vm._v(\" (Limited to 1 per Vodabucks Code) \")])])])])]),_c('div',{staticClass:\"col-auto\"},_vm._l((orderLineItem.redemption_codes),function(redemption_code,k){return _c('div',{key:i},[_vm._v(\" \"+_vm._s(_vm.reminder_bar_name)+\" Codes: \"+_vm._s(redemption_code.code)+\" \"),_c('br'),_vm._v(\" \"+_vm._s(_vm._f(\"formatCurrency\")(0))+\" \")])}),0)])])])])}),0)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"order-summary\">\n\t\t<div v-for=\"(orderLineItem, i) in cart.order_line_items\" :key=\"i\" class=\"order-item\">\n\t\t\t<div class=\"row pb-0\">\n\t\t\t\t<div class=\"col-3 text-center\">\n\t\t\t\t\t<div class=\"container-fluid px-0\">\n\t\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t\t<div class=\"col-md-12\">\n\t\t\t\t\t\t\t\t<template v-if=\"orderLineItem.product_image\">\n\t\t\t\t\t\t\t\t\t<img class=\"img-fluid w-100\" :src=\"orderLineItem.product_image\" alt=\"Product Image\">\n\t\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t\t\t<template v-if=\"orderLineItem.sku_code === 'GIFTCARD'\">\n\t\t\t\t\t\t\t\t\t<img class=\"img-fluid w-100\" :src=\"'/img/flutta-gift-card.png'\" alt=\"giftcard\">\n\t\t\t\t\t\t\t\t</template>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"col-9\">\n\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t<div class=\"col\">\n\t\t\t\t\t\t\t{{ computeLineItemDescription(orderLineItem) }}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"col-auto\">\n\t\t\t\t\t\t\t<a href=\"#remove-item\" @click=\"removeItem(orderLineItem.id, orderLineItem.sku_code, orderLineItem.quantity, orderLineItem.redemption_codes[0].code)\" class=\"remove-item\">\n\t\t\t\t\t\t\t\t<i class=\"fas fa-times\"></i>\n\t\t\t\t\t\t\t</a>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t<div class=\"col-auto\">\n\t\t\t\t\t\t\t<div class=\"subtext\">\n\t\t\t\t\t\t\t\t<small class=\"float-right\">\n\t\t\t\t\t\t\t\t\t<div class=\"form-group quantity-selector\">\n\t\t\t\t\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t\t\t\t\t<strong>{{ orderLineItem.quantity }}</strong> (Limited to 1 per Vodabucks Code)\n\t\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t</small>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"col-auto\">\n\t\t\t\t\t\t\t\t<div v-for=\"(redemption_code, k) in orderLineItem.redemption_codes\" :key=\"i\">\n\t\t\t\t\t\t\t\t\t{{ reminder_bar_name }} Codes:  {{ redemption_code.code}}\n\t\t\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t\t\t{{ 0 | formatCurrency}}\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</slot>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\n\timport { each } from 'lodash';\n\timport { mapGetters } from 'vuex';\n\timport BaseCart from '../cart/Base.vue';\n\n\texport default {\n\t\tname: \"checkout-order-summary\",\n\t\textends: BaseCart,\n\t\tprops: {\n\t\t\tskus: { type: Array, required: true },\n\t\t\treminder_bar_name: { required: false }\n\t\t},\n\t\tcomputed: {\n\t\t\t...mapGetters(['cart'])\n\t\t},\n\t\tmethods: {\n\t\t\tcomputeLineItemDescription(orderLineItem) {\n\t\t\t\tlet parts = [orderLineItem.size, orderLineItem.colour].filter(part => part);\n\t\t\t\tif (parts.length >= 1) {\n\t\t\t\t\tparts = parts.join(' / ');\n\t\t\t\t\treturn `${orderLineItem.product_name} (${parts})`;\n\t\t\t\t}\n\t\t\t\treturn orderLineItem.product_name;\n\t\t\t}\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/scss/_custom.scss';\n\n.order-summary {\n\n\tselect {\n\t\tfont-weight: 800;\n\t}\n\t\n\t.vodacom-text {\n\t\tfont-size: 16px;\n\t\tcolor: $vodacom-red;\n\t\tmargin-bottom: 0;\n\t}\n\n\t.quantity-selector {\n\t\tpadding: 5px 15px;\n\t\tborder: 1px solid $gray-300-light;\n\t\tcolor: $gray-500;\n\t}\n\n\tpadding: 20px 0px;\n\tmargin: 0px;\n\tposition: relative;\n\tborder-radius: 50%;\n\n\t.remove-item {\n\t\tcolor: $gray-600;\n\t\twidth: 100%;\n\t\tpadding-right: 18px;\n\t}\n\n\t.quantity-selector {\n\t\tpadding-right: 18px;\n\t}\n\n\t.order-item {\n\t\tbox-shadow: 0px 1px 3px $shadow;\n\t\tpadding: 0px 10px;\n\n\t\t.row {\n\t\t\tpadding: 15px 0px;\n\t\t}\n\t}\n\n\t.price {\n\t\tfont-weight: bold;\n\t\tfont-size: 14px;\n\t\tcolor: $secondary;\n\t}\n\n\ta.icon {\n\t\tcolor: $dark;\n\t}\n\n\t&.has-items {\n\t\tbackground-color: $secondary;\n\t\tbox-shadow: 0 0 6px 3px $secondary;\n\n\t\ta.icon {\n\t\t\tcolor: $white;\n\t\t}\n\t}\n\n\ta.icon {\n\t\tdisplay: block;\n\t\twidth: 42px;\n\t\theight: 42px;\n\t\ttext-align: center;\n\t\tline-height: 42px;\n\n\t\t&:hover {\n\t\t\ttext-decoration: none;\n\t\t}\n\t}\n\n\t.cart-summary {\n\t\tposition: absolute;\n\t\ttop: 40px;\n\t\tright: 0;\n\t\tmin-width: 360px;\n\t\tz-index: 10;\n\n\t\t@media screen and (min-width: 992px) {\n            right: -15px;\n            min-width: 560px;\n\t\t}\n\n\t\timg {\n\t\t\tmax-height: 65px;\n\t\t}\n\n\t\t.product-link {\n\t\t\twhite-space: normal;\n\t\t\twidth: calc(100% - 18px);\n\t\t}\n\n\t\t.remove-item {\n\t\t\tposition: absolute;\n\t\t\tright: 14px;\n\t\t\ttop: 0;\n\t\t}\n\t}\n}\n</style>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Summary.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Summary.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Summary.vue?vue&type=template&id=622d59ba&scoped=true&\"\nimport script from \"./Summary.vue?vue&type=script&lang=js&\"\nexport * from \"./Summary.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Summary.vue?vue&type=style&index=0&id=622d59ba&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"622d59ba\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"mini-cart d-inline-block\"},[_c('a',{staticClass:\"nav-link\",attrs:{\"href\":\"#\",\"data-toggle\":\"tooltip\",\"data-placement\":\"top\",\"title\":\"Cart\"},on:{\"click\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.openSummary()}}},[_c('img',{staticClass:\"cart-icon\",attrs:{\"src\":\"/img/carticon.png\",\"alt\":\"Cart\"}}),_c('span',{staticClass:\"item-count\"},[_vm._v(_vm._s(_vm.itemCount))])]),_c('div',{staticClass:\"cart-summary card p-3\",class:{'d-none': !_vm.showCart},attrs:{\"tabindex\":\"-1\"},on:{\"focusout\":function($event){return _vm.closeSummary()}}},[_c('div',{staticClass:\"d-flex\"},[_c('div',{staticClass:\"lead text-left flex-grow-1\"},[_vm._v(\"My Cart\")]),_c('div',{staticClass:\"circle-container align-self-end\"},[_c('i',{staticClass:\"far fa-times-circle\",on:{\"click\":function($event){return _vm.closeSummary()}}})])]),(_vm.cart.order_line_items && _vm.cart.order_line_items.length > 0)?_c('div',[_vm._l((_vm.cart.order_line_items),function(orderLineItem,i){return _c('div',{key:i,staticClass:\"row align-items-center mb-3\"},[_c('div',{staticClass:\"col-3 text-center\"},[(orderLineItem.product_image)?[_c('img',{staticClass:\"img-fluid\",attrs:{\"src\":orderLineItem.product_image,\"alt\":\"Product Image\"}})]:_vm._e(),(orderLineItem.sku_code === 'GIFTCARD')?[_c('img',{staticClass:\"img-fluid\",attrs:{\"src\":'/img/FLT_Gift_Card.jpg',\"alt\":\"Gift Card\"}})]:_vm._e()],2),_c('div',{staticClass:\"col-8\"},[_c('a',{staticClass:\"d-inline-block product-link\",attrs:{\"href\":'/vodacom' + orderLineItem.product_url}},[_vm._v(\" \"+_vm._s(_vm.computeLineItemDescription(orderLineItem))+\" \"+_vm._s(orderLineItem.sku_code)+\" \")]),_c('div',{staticClass:\"subtext\"},[_c('small',{staticClass:\"float-left\"},[_vm._v(\"Quantity: \"+_vm._s(orderLineItem.quantity))]),_c('small',{staticClass:\"float-right\"},[_vm._v(_vm._s(_vm._f(\"formatCurrency\")(0)))])]),_vm._l((orderLineItem.redemption_codes),function(redemption_code,k){return _c('div',{key:i,staticClass:\"subtext\"},[_c('br'),_c('small',{staticClass:\"float-left\"},[_vm._v(_vm._s(_vm.redemption_vendor)+\" Codes: \"+_vm._s(redemption_code.code))])])})],2),_c('div',[_c('a',{staticClass:\"remove-item\",attrs:{\"href\":\"#remove-item\"},on:{\"click\":function($event){_vm.removeItem(orderLineItem.id, orderLineItem.sku_code, orderLineItem.quantity, (orderLineItem.redemption_codes[0] ? orderLineItem.redemption_codes[0].code : null))}}},[_c('i',{staticClass:\"fas fa-times\"})])]),_vm._m(0,true)])}),_c('hr',{staticClass:\"mb-1 mt-1\"}),_vm._m(1),_c('hr',{staticClass:\"mt-1\"}),_c('div',{staticClass:\"row pl-2 pr-2\"},[_vm._m(2),_c('div',{staticClass:\"col-12 col-md-6 p-1\"},[_c('a',{staticClass:\"btn w-100 redemption-code-input\",attrs:{\"href\":`/redemption-codes/vodacom`}},[_vm._v(\"Use another VodaBucks code \")])])])],2):_c('div',[_c('p',[_vm._v(\"You don't have anything in your cart.\")])])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"col-8 offset-3\"},[_c('hr',{staticClass:\"divider mb-1 mt-1\"})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"total text-right\"},[_c('strong',[_vm._v(\"Total \"),_c('span',{staticClass:\"ml-2\"},[_vm._v(\"R 0\")])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"col-12 col-md-6 p-1\"},[_c('a',{staticClass:\"btn btn-outline-secondary w-100 font-weight-bold\",attrs:{\"href\":\"/vodacom/checkout\"}},[_c('i',{staticClass:\"fas fa-credit-card mr-1\"}),_c('span',{staticClass:\"checkout-button-text\"},[_vm._v(\"Checkout\")])])])\n}]\n\nexport { render, staticRenderFns }","<template>\n\t<div class=\"mini-cart d-inline-block\">\n\t\t<a href=\"#\" class=\"nav-link\" @click.stop.prevent=\"openSummary()\" data-toggle=\"tooltip\" data-placement=\"top\" title=\"Cart\">\n\t\t\t<img src=\"/img/carticon.png\" alt=\"Cart\" class=\"cart-icon\">\n\t\t\t<span class=\"item-count\">{{ itemCount }}</span>\n\t\t</a>\n\n\t\t<div class=\"cart-summary card p-3\" :class=\"{'d-none': !showCart}\" @focusout=\"closeSummary()\" tabindex=\"-1\">\n\t\t\t<div class=\"d-flex\">\n\t\t\t\t<div class=\"lead text-left flex-grow-1\">My Cart</div>\n\t\t\t\t<div class=\"circle-container align-self-end\">\n\t\t\t\t\t<i class=\"far fa-times-circle\" @click=\"closeSummary()\"></i>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t\t<div v-if=\"cart.order_line_items && cart.order_line_items.length > 0\">\n\t\t\t\t<div v-for=\"(orderLineItem, i) in cart.order_line_items\" :key=\"i\" class=\"row align-items-center mb-3\">\n\t\t\t\t\t<div class=\"col-3 text-center\">\n\t\t\t\t\t\t<template v-if=\"orderLineItem.product_image\">\n\t\t\t\t\t\t\t<img class=\"img-fluid\" :src=\"orderLineItem.product_image\" alt=\"Product Image\">\n\t\t\t\t\t\t</template>\n\t\t\t\t\t\t<template v-if=\"orderLineItem.sku_code === 'GIFTCARD'\">\n\t\t\t\t\t\t\t<img class=\"img-fluid\" :src=\"'/img/FLT_Gift_Card.jpg'\" alt=\"Gift Card\">\n\t\t\t\t\t\t</template>\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div class=\"col-8\">\n\t\t\t\t\t\t<a :href=\"'/vodacom' + orderLineItem.product_url\" class=\"d-inline-block product-link\">\n\t\t\t\t\t\t\t{{ computeLineItemDescription(orderLineItem) }} {{ orderLineItem.sku_code }}\n\t\t\t\t\t\t</a>\n\n\t\t\t\t\t\t<div class=\"subtext\">\n\t\t\t\t\t\t\t<small class=\"float-left\">Quantity: {{ orderLineItem.quantity }}</small>\n\t\t\t\t\t\t\t<small class=\"float-right\">{{ 0 | formatCurrency }}</small>\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t<div class=\"subtext\" v-for=\"(redemption_code, k) in orderLineItem.redemption_codes\" :key=\"i\" >\n\t\t\t\t\t\t\t<br>\n\t\t\t\t\t\t\t<small class=\"float-left\">{{ redemption_vendor }} Codes: {{ redemption_code.code }}</small>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<a href=\"#remove-item\" @click=\"removeItem(orderLineItem.id, orderLineItem.sku_code, orderLineItem.quantity, (orderLineItem.redemption_codes[0] ? orderLineItem.redemption_codes[0].code : null))\" class=\"remove-item\">\n\t\t\t\t\t\t\t<i class=\"fas fa-times\"></i>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"col-8 offset-3\">\n\t\t\t\t\t\t<hr class=\"divider mb-1 mt-1\">\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\n\t\t\t\t<hr class=\"mb-1 mt-1\">\n\n\t\t\t\t<div class=\"total text-right\">\n\t\t\t\t\t<strong>Total <span class=\"ml-2\">R 0</span></strong>\n\t\t\t\t</div>\n\n\t\t\t\t<hr class=\"mt-1\">\n\n\t\t\t\t<div class=\"row pl-2 pr-2\">\n\t\t\t\t\t<div class=\"col-12 col-md-6 p-1\">\n\t\t\t\t\t\t<a href=\"/vodacom/checkout\" class=\"btn btn-outline-secondary w-100 font-weight-bold\">\n\t\t\t\t\t\t\t<i class=\"fas fa-credit-card mr-1\"></i> \n\t\t\t\t\t\t\t<span class=\"checkout-button-text\">Checkout</span>\n\t\t\t\t\t\t</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class=\"col-12 col-md-6 p-1\">\n\t\t\t\t\t\t<a :href=\"`/redemption-codes/vodacom`\" class=\"btn w-100 redemption-code-input\">Use another VodaBucks code </a>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t\t<div v-else>\n\t\t\t\t<p>You don't have anything in your cart.</p>\n\t\t\t</div>\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport { each } from 'lodash'\nimport BaseCart from '../cart/Base.vue';\n\nexport default {\n\tname: \"redemption-mini-cart\",\n\textends: BaseCart,\n\tprops: {\n\t\treminder: { type: Object },\n\t\tshowMiniCart: { type: Boolean }\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tshowCart: false,\n\t\t\tcartInitialized: false,\n\t\t\tredemption_vendor: 'Redemption'\n\t\t}\n\t},\n\tcomputed: {\n\t\titemCount() {\n\t\t\tif (!this.cart || !this.cart.order_line_items ) {\n\t\t\t\treturn 0;\n\t\t\t}\n\t\t\tlet count = 0;\n\t\t\teach (this.cart.order_line_items, item => {\n\t\t\t\tcount += parseInt(item.quantity);\n\t\t\t});\n\t\t\treturn count;\n\t\t},\n\t},\n\t// watch: {\n\t// \tcart: {\n\t// \t\thandler(val) {\n\t// \t\t\tif (!this.cartInitialized) {\n\t// \t\t\t\tthis.cartInitialized = true;\n\t// \t\t\t\treturn;\n\t// \t\t\t}\n\t// \t\t\tthis.showCart = true;\n\t// \t\t\tthis.closeSummary(5000);\n\t// \t\t}\n\t// \t}\n\t// },\n\tmethods: {\n\t\topenSummary() {\n\t\t\tthis.showCart = !this.showCart;\n\t\t\tclearTimeout(this.summaryTimeout);\n\t\t},\n\t\tcloseSummary(delay = 500) {\n\t\t\tthis.summaryTimeout = setTimeout(() => this.showCart = false, delay);\n\t\t},\n\t\tcomputeLineItemDescription(orderLineItem) {\n\t\t\tif (!orderLineItem.description) {\n\t\t\t\treturn orderLineItem.product_name;\n\t\t\t}\n\t\t\treturn `${orderLineItem.product_name} (${orderLineItem.description})`;\n\t\t},\n\t\tclose (e) {\n\t\t\tif (!this.$el.contains(e.target)) {\n\t\t\t\tthis.showCart = false\n\t\t\t}\n\t\t},\n\t\tscrollToTop() {\n\t\t\twindow.scrollTo({ top: 0, behavior: 'smooth' })\n\t\t}\n\t},\n\tmounted () {\n\t\tdocument.addEventListener('click', this.close)\n\t\tdocument.addEventListener('miniCart:show', e => {\n\t\t\tthis.showCart = true;\n\t\t\tthis.scrollToTop();\n\t\t});\n\n\t\tif (this.showMiniCart == true) {\n\t\t\tthis.showCart = true;\n\n\t\t}\n\n\t\tif (this.reminder && this.reminder.name !== null) {\n\t\t\tthis.redemption_vendor = this.reminder.name;\n\t\t}\n\t},\n\tbeforeDestroy () {\n\t\tdocument.removeEventListener('click',this.close)\n\t}\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@import '@/scss/app.scss';\n.mini-cart {\n\t.nav-link {\n\t\tposition: relative;\n\t\tpadding: 8px 14px 0 0;\n\n\t\t.item-count {\n\t\t\tposition: absolute;\n\t\t\ttop: 0;\n\t\t\tright: 8px;\n\t\t\tfont-size: 10px;\n\t\t\tline-height: 10px;\n\t\t}\n\t}\n\n\t.btn {\n\t\tletter-spacing: 0.9px;\n\t\tpadding: .6rem 2rem;\n\t}\n\n\t.btn-outline-secondary {\n\t\tbackground-color: $secondary;\n\t\tcolor: $white;\n\t\tborder: 2px $secondary solid;\n\n\t\t.fa-credit-card {\n\t\t\tcolor: $white;\n\t\t}\n\n\t\t&:hover {\n\t\t\tbackground-color: $white;\n\t\t\tcolor: $secondary;\n\n\t\t\t.fa-credit-card {\n\t\t\t\tcolor: $secondary;\n\t\t\t}\n\t\t}\n\t}\n\n\t.redemption-code-input {\n\t\tborder-color: $vodacom-red;\n\t\tcolor: $vodacom-red;\n\t\tbackground-color: $white;\n\t\tpadding: 0.8rem 1rem !important;\n\t\tline-height: 19px;\n\n\t\t&:hover {\n\t\t\tborder-color: $vodacom-red;\n\t\t\tcolor: $vodacom-red !important;\n\t\t}\n\t}\n\n\t.circle-container {\n\t\tposition: relative;\n\n\t\t.fa-times-circle {\n\t\t\tposition: absolute;\n\t\t\tcursor: pointer;\n\t\t\tmargin-bottom: 14px;\n\t\t\tright: 10px;\n\t\t\tbottom: 0;\n\t\t\tfont-size: 20px;\n\n\t\t\t@media screen and (min-width: 992px) {\n\t\t\t\tleft: 0px;\n\t\t\t\tbottom: 22px;\n\t\t\t}\n\n\t\t\t&:hover {\n\t\t\t\tcolor: $grey;\n\t\t\t}\n\t\t}\n\t}\n\n\t.cart-summary {\n\t\tposition: absolute;\n\t\ttop: 40px;\n\t\tright: 0;\n\t\tmin-width: 300px;\n\t\tz-index: 10;\n\t\theight: unset;\n\n\t\t@media screen and (min-width: 992px) {\n\t\t\tmin-width: 650px;\n\t\t}\n\n\t\timg {\n\t\t\tmax-height: 65px;\n\t\t}\n\n\t\t.product-link {\n\t\t\twhite-space: normal;\n\t\t\twidth: calc(100% - 18px);\n\t\t}\n\n\t\thr.divider {\n\t\t\tborder-top: 1px solid $secondary;\n\t\t}\n\t}\n\n\timg.cart-icon {\n\t\tposition: relative;\n\t\ttop: -6px;\n\t\tmargin-left: 5px;\n\t\tmargin-right: 10px;\n\t\theight: 33px;\n\t}\n\n\t.checkout-button-text {\n\t\tline-height: 17px;\n\t\tvertical-align: middle;\n\t\tdisplay: inline-block;\n\t\tmargin-top: -5px;\n\t}\n}\n</style>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Mini.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Mini.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Mini.vue?vue&type=template&id=1d5ecdf5&scoped=true&\"\nimport script from \"./Mini.vue?vue&type=script&lang=js&\"\nexport * from \"./Mini.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Mini.vue?vue&type=style&index=0&id=1d5ecdf5&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"1d5ecdf5\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('table',{staticClass:\"table table-responsive-md\"},[_c('thead',[_c('tr',[_c('th',[_vm._v(_vm._s(_vm.title))]),(_vm.reportUrl)?_c('th',{staticClass:\"text-right\"},[_c('a',{attrs:{\"href\":_vm.reportUrl}},[_vm._v(\"View Report\")])]):_vm._e()])]),(_vm.fetchInProgress)?_c('div',[_c('img',{key:\"1\",attrs:{\"src\":\"/img/loading.svg\",\"width\":\"14px\",\"height\":\"14px\"}}),_c('span',[_vm._v(\" Fetching data...\")])]):(_vm.results)?_c('tbody',_vm._l((_vm.results),function(item,i){return _c('tr',{key:i},[_c('td',[_vm._v(\" \"+_vm._s(item['SKU Code'])+\" \"),_c('br'),_c('strong',[_c('a',{attrs:{\"href\":`/products/edit/${item['Product Id']}`,\"target\":\"_blank\"}},[_vm._v(_vm._s(item['Title']))])]),_c('br'),_vm._v(\" \"+_vm._s(item['Merchant'])+\" \")]),_c('td',{staticClass:\"text-right\"},[_vm._v(_vm._s(item[`${_vm.dataField}`])),(_vm.dataPostfix)?_c('span',[_vm._v(\" \"+_vm._s(_vm.dataPostfix))]):_vm._e()])])}),0):_c('div',[_vm._v(\" Failed to load the relevant data. Click \"),_c('button',{on:{\"click\":function($event){return _vm.fetchResults()}}},[_vm._v(\"here\")]),_vm._v(\" to retry. \")])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div>\n\t\t<table class=\"table table-responsive-md\">\n\t\t\t<thead>\n\t\t\t\t<tr>\n\t\t\t\t\t<th>{{ title }}</th>\n\t\t\t\t\t<th v-if=\"reportUrl\" class=\"text-right\"><a :href=\"reportUrl\">View Report</a></th>\n\t\t\t\t</tr>\n\t\t\t</thead>\n\n\t\t\t<div v-if=\"fetchInProgress\">\n\t\t\t\t<img\n\t\t\t\t\tsrc=\"/img/loading.svg\"\n\t\t\t\t\tkey=\"1\"\n\t\t\t\t\twidth=\"14px\"\n\t\t\t\t\theight=\"14px\"\n\t\t\t\t>\n\t\t\t\t<span> Fetching data...</span>\n\t\t\t</div>\n\t\t\t<tbody v-else-if=\"results\">\n\t\t\t\t<tr v-for=\"(item, i) in results\" :key=\"i\">\n\t\t\t\t\t<td>\n\t\t\t\t\t\t{{ item['SKU Code'] }}\n\t\t\t\t\t\t<br>\n\t\t\t\t\t\t<strong>\n\t\t\t\t\t\t\t<a :href=\"`/products/edit/${item['Product Id']}`\" target=\"_blank\">{{ item['Title'] }}</a>\n\t\t\t\t\t\t</strong>\n\t\t\t\t\t\t<br>\n\t\t\t\t\t\t{{ item['Merchant'] }}\n\t\t\t\t\t</td>\n\t\t\t\t\t<td class=\"text-right\">{{ item[`${dataField}`] }}<span v-if=\"dataPostfix\"> {{ dataPostfix }}</span></td>\n\t\t\t\t</tr>\n\t\t\t</tbody>\n\t\t\t<div v-else>\n\t\t\t\tFailed to load the relevant data. Click <button @click=\"fetchResults()\">here</button> to retry.\n\t\t\t</div>\n\t\t</table>\n\t</div>\n</template>\n\n<script>\nimport Cookies from \"js-cookie\";\nimport axios from 'axios';\n\nconst axiosInstance = axios.create({headers: {\"X-CSRF-Token\": Cookies.get(\"csrfToken\")}});\n\nexport default {\n\tname: \"dashboard-sku-report\",\n\tprops: {\n\t\ttitle: { type: String },\n\t\tapiUrl: { type: String },\n\t\treportUrl: { type: String },\n\t\tdataField: { type: String },\n\t\tdataPostfix: { type: String },\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tresults: null,\n\t\t\tfetchInProgress: false,\n\t\t\terrorMsg: null,\n\t\t}\n\t},\n\tmounted () {\n\t\tthis.fetchResults()\n\t},\n\tmethods: {\n\t\tfetchResults() {\n\t\t\tif (!this.apiUrl) return;\n\n\t\t\tthis.fetchInProgress = true;\n\n\t\t\taxiosInstance.post(this.apiUrl, {})\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response && response.data && response.data.results) {\n\t\t\t\t\t\tthis.results = response.data.results;\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t.catch(error => {\n\t\t\t\t\tthis.results = null\n\t\t\t\t})\n\t\t\t\t.finally(() => {\n\t\t\t\t\tthis.fetchInProgress = false;\n\t\t\t\t});\n\t\t}\n\t}\n}\n</script>","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SkuReport.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SkuReport.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SkuReport.vue?vue&type=template&id=58f2c265&\"\nimport script from \"./SkuReport.vue?vue&type=script&lang=js&\"\nexport * from \"./SkuReport.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('table',{staticClass:\"table table-responsive-md\"},[_vm._m(0),_c('tbody',[_vm._m(1),_c('tr',[_c('td',[_vm._v(\" Flook physical products \")]),_c('td',[_c('ResultLoader',{attrs:{\"url\":_vm.apiUrl,\"url-conditions\":{ isPhysical: true, type: 'plu' }}})],1),_c('td',[_c('ResultLoader',{attrs:{\"url\":_vm.apiUrl,\"url-conditions\":{ isPhysical: true, type: 'sku' }}})],1)]),_c('tr',[_c('td',[_vm._v(\" Virtual deals \")]),_c('td',[_c('ResultLoader',{attrs:{\"url\":_vm.apiUrl,\"url-conditions\":{ isVirtual: true, type: 'plu' }}})],1),_c('td',[_c('ResultLoader',{attrs:{\"url\":_vm.apiUrl,\"url-conditions\":{ isVirtual: true, type: 'sku' }}})],1)]),_c('tr',[_c('td',[_vm._v(\" Morecorp CLB \")]),_c('td',[_c('ResultLoader',{attrs:{\"url\":_vm.apiUrl,\"url-conditions\":{ vendor: 'CL', type: 'plu' }}})],1),_c('td',[_c('ResultLoader',{attrs:{\"url\":_vm.apiUrl,\"url-conditions\":{ vendor: 'CL', type: 'sku' }}})],1)]),_c('tr',[_c('td',[_vm._v(\" Morecorp TPS \")]),_c('td',[_c('ResultLoader',{attrs:{\"url\":_vm.apiUrl,\"url-conditions\":{ vendor: 'TPS', type: 'plu' }}})],1),_c('td',[_c('ResultLoader',{attrs:{\"url\":_vm.apiUrl,\"url-conditions\":{ vendor: 'TPS', type: 'sku' }}})],1)])])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('thead',[_c('tr',[_c('th',{attrs:{\"colspan\":\"3\"}},[_vm._v(\"Active Products\")])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('tr',[_c('th',[_vm._v(\" Product type \")]),_c('th',[_vm._v(\" Products (plu) \")]),_c('th',[_vm._v(\" Variants (sku) \")])])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(_vm.fetchInProgress)?_c('div',[_c('img',{key:\"1\",attrs:{\"src\":\"/img/loading.svg\",\"width\":_vm.imgWidth,\"height\":_vm.imgHeight}}),_c('span',[_vm._v(\" Fetching data...\")])]):(_vm.results || _vm.results == 0)?_c('div',[_vm._v(\" \"+_vm._s(_vm.results)+\" \"),_vm._t(\"default\")],2):_c('div',[_vm._v(\" Failed to load the relevant data. Click \"),_c('button',{on:{\"click\":function($event){return _vm.fetchResults()}}},[_vm._v(\"here\")]),_vm._v(\" to retry. \")])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div>\n\t\t<div v-if=\"fetchInProgress\">\n\t\t\t<img\n\t\t\t\tsrc=\"/img/loading.svg\"\n\t\t\t\tkey=\"1\"\n\t\t\t\t:width=\"imgWidth\"\n\t\t\t\t:height=\"imgHeight\"\n\t\t\t>\n\t\t\t<span> Fetching data...</span>\n\t\t</div>\n\t\t<div v-else-if=\"results || results == 0\">\n\t\t\t{{ results }}\n\t\t\t<slot></slot>\n\t\t</div>\n\t\t<div v-else>\n\t\t\tFailed to load the relevant data. Click <button @click=\"fetchResults()\">here</button> to retry.\n\t\t</div>\n\t</div>\n</template>\n\n<script>\nimport Cookies from \"js-cookie\";\nimport axios from 'axios';\n\nconst axiosInstance = axios.create({headers: {\"X-CSRF-Token\": Cookies.get(\"csrfToken\")}});\n\nexport default {\n\tname: \"result-loader\",\n\tprops: {\n\t\turl: { type: String },\n\t\turlConditions: { type: Object|null, default: {} },\n\t\timgWidth: { type: String, default: '14px' },\n\t\timgHeight: { type: String, default: '14px' },\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tresults: null,\n\t\t\tfetchInProgress: false,\n\t\t\terrorMsg: null,\n\t\t}\n\t},\n\tmounted () {\n\t\tthis.fetchResults()\n\t},\n\tmethods: {\n\t\tfetchResults() {\n\t\t\tif (!this.url) return;\n\n\t\t\tthis.fetchInProgress = true;\n\n\t\t\taxiosInstance.post(this.url, this.urlConditions)\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response && response.data) {\n\t\t\t\t\t\tthis.results = response.data.results;\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t.catch(error => {\n\t\t\t\t\tthis.results = null\n\t\t\t\t})\n\t\t\t\t.finally(() => {\n\t\t\t\t\tthis.fetchInProgress = false;\n\t\t\t\t});\n\t\t}\n\t}\n}\n</script>","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ResultLoader.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ResultLoader.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ResultLoader.vue?vue&type=template&id=2252c7f0&\"\nimport script from \"./ResultLoader.vue?vue&type=script&lang=js&\"\nexport * from \"./ResultLoader.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","<template>\n    <div>\n        <table  class=\"table table-responsive-md\">\n            <thead>\n                <tr>\n                    <th colspan=\"3\">Active Products</th>\n                </tr>\n            </thead>\n            <tbody>\n                <tr>\n                    <th>\n                        Product type\n                    </th>\n                    <th>\n                        Products (plu)\n                    </th>\n                    <th>\n                        Variants (sku)\n                    </th>\n                </tr>\n                <tr>\n                    <td>\n                        Flook physical products\n                    </td>\n                    <td>\n                        <ResultLoader :url=\"apiUrl\" :url-conditions=\"{ isPhysical: true, type: 'plu' }\"></ResultLoader>\n                    </td>\n                    <td>\n                        <ResultLoader :url=\"apiUrl\" :url-conditions=\"{ isPhysical: true, type: 'sku' }\"></ResultLoader>\n                    </td>\n                </tr>\n                <tr>\n                    <td>\n                        Virtual deals\n                    </td>\n                    <td>\n                        <ResultLoader :url=\"apiUrl\" :url-conditions=\"{ isVirtual: true, type: 'plu' }\"></ResultLoader>\n                    </td>\n                    <td>\n                        <ResultLoader :url=\"apiUrl\" :url-conditions=\"{ isVirtual: true, type: 'sku' }\"></ResultLoader>\n                    </td>\n                </tr>\n                <tr>\n                    <td>\n                        Morecorp CLB\n                    </td>\n                    <td>\n                        <ResultLoader :url=\"apiUrl\" :url-conditions=\"{ vendor: 'CL', type: 'plu' }\"></ResultLoader>\n                    </td>\n                    <td>\n                        <ResultLoader :url=\"apiUrl\" :url-conditions=\"{ vendor: 'CL', type: 'sku' }\"></ResultLoader>\n                    </td>\n                </tr>\n                <tr>\n                    <td>\n                        Morecorp TPS\n                    </td>\n                    <td>\n                        <ResultLoader :url=\"apiUrl\" :url-conditions=\"{ vendor: 'TPS', type: 'plu' }\"></ResultLoader>\n                    </td>\n                    <td>\n                        <ResultLoader :url=\"apiUrl\" :url-conditions=\"{ vendor: 'TPS', type: 'sku' }\"></ResultLoader>\n                    </td>\n                </tr>\n            </tbody>\n        </table>\n    </div>\n</template>\n\n<script>\nimport ResultLoader from '../ResultLoader.vue'\n\nexport default {\n    name: \"dashboard-active-products\",\n    components: { ResultLoader, },\n    props: {\n        apiUrl: { type: String },\n    },\n    data() {\n        return {\n            physicalProducts: null,\n            virtualProducts: null,\n            morecorpClProducts: null,\n            morecorpTpsProducts: null,\n            fetchInProgress: false,\n            errorMsg: null,\n        }\n    },\n}\n</script>","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ActiveProducts.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ActiveProducts.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ActiveProducts.vue?vue&type=template&id=631676e0&\"\nimport script from \"./ActiveProducts.vue?vue&type=script&lang=js&\"\nexport * from \"./ActiveProducts.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('table',{staticClass:\"table table-responsive-md\"},[_c('thead',[_c('tr',[_c('th',[_vm._v(\"Top Products\")]),(_vm.reportUrl)?_c('th',{staticClass:\"text-right\"},[_c('a',{attrs:{\"href\":_vm.reportUrl}},[_vm._v(\"View Report\")])]):_vm._e()])]),(_vm.fetchInProgress)?_c('div',[_c('img',{key:\"1\",attrs:{\"src\":\"/img/loading.svg\",\"width\":\"14px\",\"height\":\"14px\"}}),_c('span',[_vm._v(\" Fetching data...\")])]):(_vm.results)?_c('tbody',_vm._l((_vm.results),function(item,i){return _c('tr',{key:i},[_c('td',[_vm._v(\" \"+_vm._s(item['title'])+\" \"),_c('br'),_c('strong',[_vm._v(_vm._s(item['total_skus_sold'])+\" Orders\")])]),_c('td',{staticClass:\"text-right\"},[_vm._v(_vm._s(_vm._f(\"formatCurrency\")(item['total_sold_amount'])))])])}),0):_c('div',[_vm._v(\" Failed to load the relevant data. Click \"),_c('button',{on:{\"click\":function($event){return _vm.fetchResults()}}},[_vm._v(\"here\")]),_vm._v(\" to retry. \")])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div>\n\t\t<table class=\"table table-responsive-md\">\n\t\t\t<thead>\n\t\t\t\t<tr>\n\t\t\t\t\t<th>Top Products</th>\n\t\t\t\t\t<th v-if=\"reportUrl\" class=\"text-right\"><a :href=\"reportUrl\">View Report</a></th>\n\t\t\t\t</tr>\n\t\t\t</thead>\n\n\t\t\t<div v-if=\"fetchInProgress\">\n\t\t\t\t<img\n\t\t\t\t\tsrc=\"/img/loading.svg\"\n\t\t\t\t\tkey=\"1\"\n\t\t\t\t\twidth=\"14px\"\n\t\t\t\t\theight=\"14px\"\n\t\t\t\t>\n\t\t\t\t<span> Fetching data...</span>\n\t\t\t</div>\n\t\t\t<tbody v-else-if=\"results\">\n\t\t\t\t<tr v-for=\"(item, i) in results\" :key=\"i\">\n\t\t\t\t\t<td>\n\t\t\t\t\t\t{{ item['title'] }}\n\t\t\t\t\t\t<br>\n\t\t\t\t\t\t<strong>{{ item['total_skus_sold'] }} Orders</strong>\n\t\t\t\t\t</td>\n\t\t\t\t\t<td class=\"text-right\">{{ item['total_sold_amount'] | formatCurrency }}</td>\n\t\t\t\t</tr>\n\t\t\t</tbody>\n\t\t\t<div v-else>\n\t\t\t\tFailed to load the relevant data. Click <button @click=\"fetchResults()\">here</button> to retry.\n\t\t\t</div>\n\t\t</table>\n\t</div>\n</template>\n\n<script>\nimport Cookies from \"js-cookie\";\nimport axios from 'axios';\n\nconst axiosInstance = axios.create({headers: {\"X-CSRF-Token\": Cookies.get(\"csrfToken\")}});\n\nexport default {\n\tname: \"dashboard-top-products\",\n\tprops: {\n\t\tapiUrl: { type: String },\n\t\treportUrl: { type: String },\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tresults: null,\n\t\t\tfetchInProgress: false,\n\t\t\terrorMsg: null,\n\t\t}\n\t},\n\tmounted () {\n\t\tthis.fetchResults()\n\t},\n\tmethods: {\n\t\tfetchResults() {\n\t\t\tif (!this.apiUrl) return;\n\n\t\t\tthis.fetchInProgress = true;\n\n\t\t\taxiosInstance.post(this.apiUrl, {})\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response && response.data && response.data.results) {\n\t\t\t\t\t\tthis.results = response.data.results;\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t.catch(error => {\n\t\t\t\t\tthis.results = null\n\t\t\t\t})\n\t\t\t\t.finally(() => {\n\t\t\t\t\tthis.fetchInProgress = false;\n\t\t\t\t});\n\t\t}\n\t}\n}\n</script>","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopProducts.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopProducts.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TopProducts.vue?vue&type=template&id=04b381aa&\"\nimport script from \"./TopProducts.vue?vue&type=script&lang=js&\"\nexport * from \"./TopProducts.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('table',{staticClass:\"table table-responsive-md\"},[_c('thead',[_c('tr',[_c('th',[_vm._v(_vm._s(_vm.title))]),(_vm.reportUrl)?_c('th',{staticClass:\"text-right\"},[_c('a',{attrs:{\"href\":_vm.reportUrl}},[_vm._v(\"View Report\")])]):_vm._e()])]),(_vm.fetchInProgress)?_c('div',[_c('img',{key:\"1\",attrs:{\"src\":\"/img/loading.svg\",\"width\":\"14px\",\"height\":\"14px\"}}),_c('span',[_vm._v(\" Fetching data...\")])]):(_vm.results)?_c('tbody',_vm._l((_vm.results),function(item,i){return _c('tr',{key:i},[_c('td',[_vm._v(\" \"+_vm._s(item['full_name'])+\" \"),_c('br'),_c('strong',[_vm._v(_vm._s(item['order_count'])+\" Orders\")])]),_c('td',{staticClass:\"text-right\"},[_vm._v(_vm._s(_vm._f(\"formatCurrency\")(item['gross_sales'])))])])}),0):_c('div',[_vm._v(\" Failed to load the relevant data. Click \"),_c('button',{on:{\"click\":function($event){return _vm.fetchResults()}}},[_vm._v(\"here\")]),_vm._v(\" to retry. \")])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div>\n\t\t<table class=\"table table-responsive-md\">\n\t\t\t<thead>\n\t\t\t\t<tr>\n\t\t\t\t\t<th>{{ title }}</th>\n\t\t\t\t\t<th v-if=\"reportUrl\" class=\"text-right\"><a :href=\"reportUrl\">View Report</a></th>\n\t\t\t\t</tr>\n\t\t\t</thead>\n\n\t\t\t<div v-if=\"fetchInProgress\">\n\t\t\t\t<img\n\t\t\t\t\tsrc=\"/img/loading.svg\"\n\t\t\t\t\tkey=\"1\"\n\t\t\t\t\twidth=\"14px\"\n\t\t\t\t\theight=\"14px\"\n\t\t\t\t>\n\t\t\t\t<span> Fetching data...</span>\n\t\t\t</div>\n\t\t\t<tbody v-else-if=\"results\">\n\t\t\t\t<tr v-for=\"(item, i) in results\" :key=\"i\">\n\t\t\t\t\t<td>\n\t\t\t\t\t\t{{ item['full_name'] }}\n\t\t\t\t\t\t<br>\n\t\t\t\t\t\t<strong>{{ item['order_count'] }} Orders</strong>\n\t\t\t\t\t</td>\n\t\t\t\t\t<td class=\"text-right\">{{ item['gross_sales'] | formatCurrency }}</td>\n\t\t\t\t</tr>\n\t\t\t</tbody>\n\t\t\t<div v-else>\n\t\t\t\tFailed to load the relevant data. Click <button @click=\"fetchResults()\">here</button> to retry.\n\t\t\t</div>\n\t\t</table>\n\t</div>\n</template>\n\n<script>\nimport Cookies from \"js-cookie\";\nimport axios from 'axios';\n\nconst axiosInstance = axios.create({headers: {\"X-CSRF-Token\": Cookies.get(\"csrfToken\")}});\n\nexport default {\n\tname: \"dashboard-top-products\",\n\tprops: {\n\t\ttitle: { type: String },\n\t\tapiUrl: { type: String },\n\t\treportUrl: { type: String },\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tresults: null,\n\t\t\tfetchInProgress: false,\n\t\t\terrorMsg: null,\n\t\t}\n\t},\n\tmounted () {\n\t\tthis.fetchResults()\n\t},\n\tmethods: {\n\t\tfetchResults() {\n\t\t\tif (!this.apiUrl) return;\n\n\t\t\tthis.fetchInProgress = true;\n\n\t\t\taxiosInstance.post(this.apiUrl, {})\n\t\t\t\t.then(response => {\n\t\t\t\t\tif (response && response.data && response.data.results) {\n\t\t\t\t\t\tthis.results = response.data.results;\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t.catch(error => {\n\t\t\t\t\tthis.results = null\n\t\t\t\t})\n\t\t\t\t.finally(() => {\n\t\t\t\t\tthis.fetchInProgress = false;\n\t\t\t\t});\n\t\t}\n\t}\n}\n</script>","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopCustomers.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopCustomers.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TopCustomers.vue?vue&type=template&id=7fd7e2d0&\"\nimport script from \"./TopCustomers.vue?vue&type=script&lang=js&\"\nexport * from \"./TopCustomers.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('ResultLoader',{attrs:{\"url\":_vm.apiUrl}},[_vm._v(\" - \"),_c('small',[_c('a',{staticClass:\"text-danger\",attrs:{\"href\":_vm.reportUrl}},[_vm._v(\"View report\")])])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n    <div>\n        <ResultLoader :url=\"apiUrl\"> - <small><a :href=\"reportUrl\" class=\"text-danger\">View report</a></small></ResultLoader>\n    </div>\n</template>\n\n<script>\nimport ResultLoader from '../ResultLoader.vue'\n\nexport default {\n    name: \"products-selling-below-cost\",\n    components: { ResultLoader, },\n    props: {\n        apiUrl: { type: String },\n        reportUrl: { type: String },\n    },\n    data() {\n        return {\n            physicalProducts: null,\n            virtualProducts: null,\n            morecorpClProducts: null,\n            morecorpTpsProducts: null,\n            fetchInProgress: false,\n            errorMsg: null,\n        }\n    },\n}\n</script>","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductsSellingBelowCost.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ProductsSellingBelowCost.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ProductsSellingBelowCost.vue?vue&type=template&id=3307c53c&\"\nimport script from \"./ProductsSellingBelowCost.vue?vue&type=script&lang=js&\"\nexport * from \"./ProductsSellingBelowCost.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"form-group radio\"},[_c('label',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.isRedeemed),expression:\"isRedeemed\"}],attrs:{\"type\":\"radio\"},domProps:{\"value\":1,\"checked\":_vm._q(_vm.isRedeemed,1)},on:{\"change\":function($event){_vm.isRedeemed=1}}}),_vm._v(\" Yes \")]),_c('label',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.isRedeemed),expression:\"isRedeemed\"}],attrs:{\"type\":\"radio\"},domProps:{\"value\":0,\"checked\":_vm._q(_vm.isRedeemed,0)},on:{\"change\":function($event){_vm.isRedeemed=0}}}),_vm._v(\" No \")])]),_c('input',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isRedeemed === 1),expression:\"isRedeemed === 1\"},{name:\"model\",rawName:\"v-model\",value:(_vm.redeemedDate),expression:\"redeemedDate\"}],class:['form-control', { 'is-invalid': _vm.isRedeemed && !_vm.redeemedDate }],attrs:{\"type\":\"text\",\"required\":_vm.isRedeemed === 1,\"data-field-type\":\"datetime\",\"name\":_vm.isRedeemed === 1 ? 'redeemed' : '',\"placeholder\":\"Redeemed Date\"},domProps:{\"value\":(_vm.redeemedDate)},on:{\"input\":function($event){if($event.target.composing)return;_vm.redeemedDate=$event.target.value}}}),(_vm.isRedeemed && !_vm.redeemedDate)?_c('div',{staticClass:\"invalid-feedback\"},[_vm._v(\" Please enter the redeemed date. \")]):_vm._e()])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\t<div>\n        <div class=\"form-group radio\">\n            <label>\n                <input type=\"radio\" v-model=\"isRedeemed\" :value=\"1\"> Yes\n            </label>\n            <label>\n                <input type=\"radio\" v-model=\"isRedeemed\" :value=\"0\"> No\n            </label>\n        </div>\n        <input\n            v-show=\"isRedeemed === 1\"\n            type=\"text\"\n            v-model=\"redeemedDate\"\n            :required=\"isRedeemed === 1\"\n            data-field-type=\"datetime\"\n            :name=\"isRedeemed === 1 ? 'redeemed' : ''\"\n\t\t\t:class=\"['form-control', { 'is-invalid': isRedeemed && !redeemedDate }]\"\n      \t\tplaceholder=\"Redeemed Date\"\n        >\n\t\t<div class=\"invalid-feedback\" v-if=\"isRedeemed && !redeemedDate\">\n\t\tPlease enter the redeemed date.\n\t\t</div>\n    </div>\n</template>\n\n<script>\n\nexport default {\n\tname: \"redeemed-form\",\n\tprops: {\n        initialIsRedeemed: {\n            type: Number,\n            default: 0\n        },\n        initialRedeemedDate: {\n            type: String,\n            default: ''\n        }\n    },\n    data() {\n        return {\n            isRedeemed: this.initialIsRedeemed,\n            redeemedDate: this.initialRedeemedDate\n        };\n    },\n    watch: {\n        isRedeemed(newValue) {\n            if (newValue === 0) {\n                this.redeemedDate = '';\n            }\n        }\n    }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n</style>\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RedeemedForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./RedeemedForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RedeemedForm.vue?vue&type=template&id=9a525f5a&scoped=true&\"\nimport script from \"./RedeemedForm.vue?vue&type=script&lang=js&\"\nexport * from \"./RedeemedForm.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"9a525f5a\",\n  null\n  \n)\n\nexport default component.exports","import Tooltip from './plugins/Tooltip'\n\nimport '@/js/app.js'\nimport '@/scss/app.scss'\nimport \"@/js/redactor.slider.js\"\nimport \"@/scss/redactor.slider.scss\"\nimport \"@/js/redactor.lightbox.js\"\nimport \"@/scss/redactor.lightbox.scss\"\nimport \"@/js/redactor.buttons.js\"\nimport \"@/js/redactor.newlines.js\"\nimport \"@/scss/pdf.scss\"\n\nimport Vue from 'vue'\nimport { store } from './store/_store.js'\nimport 'vue-select/dist/vue-select.css';\n\nimport ClickOutside from './plugins/ClickOutside'\nimport FeaturesAndBenefits from './components/FeaturesAndBenefits.vue'\nimport Search from './components/search/Search.vue'\nimport MobileSearch from './components/search/MobileSearch.vue'\nimport AddToCart from './components/AddToCart.vue'\nimport AddToWishlist from './components/AddToWishlist.vue'\nimport WishlistCounter from './components/WishlistCounter.vue'\nimport GiftCardAmount from './components/GiftCardAmount.vue'\nimport MiniCart from './components/cart/Mini.vue'\nimport FullCart from './components/cart/Full.vue'\nimport CartSummary from './components/cart/Summary.vue'\nimport CheckoutShipping from './components/checkout/Shipping.vue'\nimport CheckoutVoucher from './components/checkout/Voucher.vue'\nimport CheckoutRedemptionCode from './components/checkout/RedemptionCode.vue'\nimport CheckoutRedemptionCodeSearch from './components/checkout/RedemptionCodeSearch.vue'\nimport CheckoutGiftCard from './components/checkout/GiftCard.vue'\nimport CheckoutPayment from './components/checkout/Payment.vue'\nimport CheckoutReview from './components/checkout/Review.vue'\nimport CheckoutOrderSummary from './components/checkout/Summary.vue'\nimport CheckoutPlaceOrder from './components/checkout/PlaceOrder.vue'\nimport CheckoutContact from './components/checkout/Contact.vue'\nimport StoreInit from './components/StoreInit.vue'\nimport PicksCrud from './components/PicksCrud.vue'\nimport FullReleaseCountdown from './components/countdown/Full.vue'\nimport LabelCountdown from './components/countdown/Label.vue'\nimport QuickAdd from './components/QuickAddToCart.vue'\nimport AddToCartColours from './components/AddToCartColours.vue'\nimport Payment from './components/Payment.vue'\nimport DeliverySummaryModal from './components/DeliverySummaryModal.vue'\nimport Countdown from './components/Countdown.vue'\nimport AddOnCardStrip from './components/AddOnCardStrip.vue'\nimport VodabucksHowTo from './components/VodabucksHowTo.vue'\nimport redemptionAddToCart from './components/redemptionCode/AddToCart.vue'\nimport redemptionCodeSummary from './components/redemptionCode/Summary.vue'\nimport redemptionMiniCart from './components/redemptionCode/Mini.vue'\nimport PayflexWidget from './components/checkout/Payflex.vue'\nimport VodapayUrl from './components/VodapayUrl.vue'\n\n// Admin\nimport DashboardSkuReport from './components/dashboard/SkuReport.vue'\nimport DashboardActiveProducts from './components/dashboard/ActiveProducts.vue'\nimport DashboardTopProducts from './components/dashboard/TopProducts.vue'\nimport DashboardTopCustomers from './components/dashboard/TopCustomers.vue'\nimport ProductsSellingBelowCost from './components/dashboard/ProductsSellingBelowCost.vue'\n\nimport RedeemedForm from './components/RedeemedForm.vue'\n\nVue.use(ClickOutside)\nVue.use(Tooltip)\n\nVue.filter('formatCurrency', amount => {\n\tlet formatter = new Intl.NumberFormat('en-ZA', { style: 'currency', currency: 'ZAR', minimumFractionDigits: 2, maximumFractionDigits: 2 });\n\tlet number = formatter.format(amount);\n\tnumber = number.replace(/\\s/g, '');\n\tlet lastIndex = number.lastIndexOf(',');\n\treturn number.substring(0, lastIndex) + '.' + number.substring(lastIndex + 1);\n})\n\nvar app = new Vue({\n\tel: '#app',\n\tstore,\n\tcomponents: {\n\t\tFeaturesAndBenefits,\n\t\tSearch,\n\t\tMobileSearch,\n\t\tAddToCart,\n\t\tAddToWishlist,\n\t\tWishlistCounter,\n\t\tGiftCardAmount,\n\t\tMiniCart,\n\t\tFullCart,\n\t\tCartSummary,\n\t\tCheckoutShipping,\n\t\tCheckoutVoucher,\n\t\tCheckoutRedemptionCode,\n\t\tCheckoutRedemptionCodeSearch,\n\t\tCheckoutGiftCard,\n\t\tCheckoutPayment,\n\t\tCheckoutReview,\n\t\tCheckoutOrderSummary,\n\t\tCheckoutPlaceOrder,\n\t\tCheckoutContact,\n\t\tStoreInit,\n\t\tPicksCrud,\n\t\tFullReleaseCountdown,\n\t\tLabelCountdown,\n\t\tQuickAdd,\n\t\tAddToCartColours,\n\t\tPayment,\n\t\tDeliverySummaryModal,\n\t\tCountdown,\n\t\tAddOnCardStrip,\n\t\tVodabucksHowTo,\n\t\tredemptionAddToCart,\n\t\tredemptionCodeSummary,\n\t\tredemptionMiniCart,\n\t\tPayflexWidget,\n\t\tVodapayUrl,\n\n\t\t// Admin\n\t\tDashboardSkuReport,\n\t\tDashboardActiveProducts,\n\t\tDashboardTopProducts,\n\t\tDashboardTopCustomers,\n\t\tProductsSellingBelowCost,\n\n\t\tRedeemedForm\n\t},\n});\n\ndocument.addEventListener('order:addressIdChange', e => {\n\tstore.dispatch('updateAddressId', { address_id: e.detail.address_id, force_shipping: (e.detail.force_shipping || false) });\n});","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t485: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkflook_vue\"] = self[\"webpackChunkflook_vue\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [998], function() { return __webpack_require__(8551); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","keys","Object","resolve","module","exports","app","$","fn","setClass","this","each","undefined","data","className","ComponentClass","console","log","getClass","findComponent","selector","componentNames","split","parent","window","document","find","join","initialize","not","trigger","constructor","$this","$el","el","get","onLoad","on","onReady","delegate","prop","$suburbInput","$contactNumber","metaData","params","meta","val","city","postal_code","province","$billingSuburbInput","charCode","which","keyCode","$streetAddress1","$poBoxError","s","trim","toLowerCase","replace","indexOf","addClass","show","removeClass","hide","$form","preventDefault","hasDeliveryType","length","hasClass","animate","scrollTop","offset","top","change","checkValidity","off","reportValidity","$addressInput","$error","$cbSameDelivery","$billingStreetAddress1","$billingSuburb","addressId","dispatchEvent","CustomEvent","detail","address_id","modal","first","setBillingAddress","input","is","landingAddressId","selectPargoPoint","item","address","html","force_shipping","selectedDelivery","index","children","addEventListener","typingTimer","ajaxFilter","clearTimeout","setTimeout","filterAdminResults","insertAfter","filter","search","attr","ajax","url","success","response","replaceWith","h","history","pushState","newurl","location","protocol","host","pathname","param","path","uploadFile","target","$submit","parents","$feedback","files","text","formData","FormData","append","processData","contentType","type","timeout","successData","beforeSend","xhr","token","Cookies","setRequestHeader","complete","message","$selectedCard","$transactionMethod","$addNewCard","$hasPaymentErrors","$newCardError","$hasNoSelectedCard","$formFields","isRequired","$isHidden","css","$radioInput","$validCheckBox","$filledField","$td","$parentFilterGroup","serializeArray","$comingSoonMessage","name","value","$response","updateFilterCounts","$responseHtml","foundIds","i","$count","siblings","push","performanceChart","Highcharts","chart","$giftCardForm","$giftCardFormInput","$submitBtn","$preventSubmit","form","getElementById","submit","dataType","serialize","json","error","$template","removeAttr","remove","handleAdd","handleDelete","$lastEl","last","largestKey","nextKey","clone","appendTo","element","event","dataContainer","$navLink","$toggleBtn","$sideNavContent","$mobileCatNav","$childNav","$backLink","slideDown","slideUp","category_id","baseHeight","containerHeight","height","setHeights","elementTop","exposed","innerHeight","padding","$ajaxProductFilter","$brand","$title","$status","$merchant","$isVodapayExclusive","$isVodacomExclusive","filterAdminProductResults","brand","title","status","merchant","is_vodapay_exclusive","is_vodacom_exclusive","onSizeOrColourChanged","resetSlick","carousel","interval","click","id_selector","substr","parseInt","slick","previousElementSibling","$slider","documentElement","clientWidth","domId","$slick","slideNum","scrollIntoView","behavior","$ajaxRedemptionFilter","$code","$description","$date_start","$date_end","$short_url_empty","filterAdminRedemptionCodeResults","description","date_start","date_end","short_url_empty","initSlim","options","willRequest","didUpload","didSave","allAboutTheBase64","dataBase64","output","image","didReceiveServerError","defaultError","didRemove","cropper","Slim","dataset","$listingContainer","$toggleText","selectedIndex","startDate","Date","endDate","diffTime","Math","abs","ceil","appId","adjustKey","$outputContainer","generate","formInputs","fromEntries","generateUrls","product_slug","category_route","collection_slug","alert","startUrl","deepLinkUrl","URL","searchParams","set","headers","JSON","stringify","toString","link","$ajaxVoucherFilter","filterAdminVoucherResults","$R","add","init","onmodal","buttons","insert","$modal","$jForm","nodes","_insert","modals","start","buttonData","api","toolbar","addButton","container","$container","open","width","handle","commands","cancel","insertion","insertHtml","Redactor","initDeleteListener","$button","setDropdown","item1","item2","newLineTop","insertToOffset","newLineBottom","size","sortingIndexes","slider","opened","$formGroup","$label","rootOpts","imageUploadMultiple","cache","callbacks","uploadBeforeSend","then","r","_generateOrderingPreview","paths","$previewContainer","arrows","infinite","speed","slidesToShow","slidesToScroll","adaptiveHeight","$ul","class","$img","src","alt","Sortable","animation","ghostClass","slides","$orderedItems","$orderedItem","eq","j","content","slidesLeft","slidesRight","removeTooltip","tooltip","parentNode","removeChild","styleTooltip","mousemove","posX","clientX","posY","clientY","Tooltip","install","Vue","mixin","directives","bind","binding","vNode","showToolTip","g","createElement","innerHTML","body","appendChild","unbindMouseEvents","Event","removeEventListener","componentUpdated","requireAll","forEach","require","forms","getElementsByClassName","Array","prototype","call","stopPropagation","classList","$input","targetId","$target","checkEqual","validity","setCustomValidity","$textAreaELement","checkNotEmpty","theme","delay","$parent","dropdownParent","closeOnSelect","select2","allowInput","fieldType","enableTime","dateFormat","flatpickr","ready","currentChild","splice","toggleClass","segments","segment3","variable","unbind","cookie","fifteenDays","expires","valueOf","toUTCString","setInterval","countDownText","seconds_left","getTime","hours_left","floor","mins_left","plugins","imageUpload","imageResizable","imagePosition","windowsize","$a","closest","applyClass","$targets","collapse","keyup","key","selectors","next","group","subject","setState","state","cart","isVodapay","wishlist","setCart","newCart","setIsVodapay","setWishlist","newWishlist","setCartBusy","busy","clearCartPostalCode","delivery_postal_code","setCartShippingValues","shipping","to_pay","total","parcel_ninja_shipping","cl_shipping","tps_shipping","to_pay_external","setCartGiftCard","gift_card_number","gift_card_amount","setCartPaymentMethod","method","transaction_method","setTransactionMethod","layup_service_fee","setCartVoucherDiscount","voucher_code","discount","addAddOnProduct","skuCode","addOnsSkuCodesSelected","removeAddOnProduct","axiosInstance","axios","initState","commit","payload","addToCart","add_ons","post","Promise","reject","reminder","catch","addToWishlist","removeFromWishlist","removeFromCart","applyVoucherCode","applyRedemptionCode","updateAddressId","async","updateAddOnProductList","mutation","Vuex","store","getters","actions","mutations","ClickOutside","compName","context","warn","expression","bubble","modifiers","handler","contains","__vueClickOutside__","render","_vm","_c","_self","attrs","_l","selectedFabs","selectedFab","staticClass","$event","deleteFab","_v","rawName","$$selectedVal","selected","_value","$set","multiple","fabs","fab","fabKey","isFabSelected","domProps","_s","getFabOptions","fabOption","optionKey","selectedOptionIds","isArray","_i","$$a","$$el","$$c","checked","$$v","$$i","concat","slice","addFab","staticRenderFns","props","required","default_selected_option_ids","methods","mounted","ids","component","hideResults","showResults","searchString","composing","showDropdown","results","_e","searchInProgress","keyword","request","finally","extends","products","productData","result","primary_image","cdn_path","slug","highlights","formatted_price","encodeURI","product_count","categories","category","buildUrl","blogs","blog","product","virtual_deal","selectedSku","redemption_start","redemption_end","product_type","productTypes","TRAVEL","_f","eligibleProduct","_m","getSelectedSkuSalePrice","getProductSalePriceBasedOnQty","was_price","price","lowestWasPrice","_t","label","showSkuBreakdown","matchingSkus","sku","stock_available","modifierMap","modifierKey","selected_modifier_option_id","modifierOptionChanged","modifierOptionsToArray","items","isOptionCombinationValid","quantity","multiplesArray","multiples_of","option","convertToLowerCase","delivery_time","preventVodapayAddToCart","vodapayInitData","skus","isProductOutOfStock","preventAddToCart","showTooltip","addInProgress","showAddedFeedback","preventVodacomAddToCart","minimumQtyAllowedError","product_type_id","showCartLink","showReminder","showReminderBar","style","barLinkStyle","computed","removeItem","sku_code","line_item_id","quantityChanged","totalQuantity","availableQtyOptions","quantities","foundSku","has_stock","productViewPage","showPayFlexDialog","payFlexText","amount","clearInterval","ev","dialog","vodapayUrl","urlTitle","showImage","isProcessing","productSlug","categoryRoute","collectionSlug","orderHash","default","generateUrl","adjustUrl","domain","long_url","gaAddToCart","dataLayer","mixins","CartHelper","authenticated","components","PayflexWidget","VodapayUrl","wishlistInProgress","highestWasPrice","filters","formatDate","inWishlist","quantityOfSelectedSku","allOptionsSelected","allSelected","selectedModifierIds","modifiersSelected","selectedModifierOptionIds","getModifierSkus","ignoreModifierOptions","found","matching","isAjax","valid","hasStock","modifierData","forIn","isInteger","newOptions","hasMinimumQtySetForSale","watch","wishlistTooltip","toggleInWishlist","selectedSkuId","selectedSkuCode","selectedValue","itemCount","count","openSummary","showCart","closeSummary","order_line_items","orderLineItem","product_image","product_url","computeLineItemDescription","total_price","redemption_codes","redemption_code","k","redemption_vendor","item_price","redemption_discount","showMiniCart","cartInitialized","close","scrollToTop","beforeDestroy","lineItem","product_name","reminder_bar_name","allow_quantity_adjustment","redeemed_items_qty","sub_total","applyCode","user","total_credits","min","reminder_bar_show","cssVars","reminder_bar_slug","voucherCode","voucherInvalidFeedback","showVoucherCode","$slots","proceed_link","reminder_bar_color","reminder_bar_background_color","redemptionCode","redemptionCodePlaceholder","redemptionCodeSearchUrl","searchRedemptionCode","user_first_name","user_last_name","user_contact_number","user_email","delivery_street_address_1","delivery_company","delivery_suburb","delivery_city","updatePostalCode","errors","delivery_province","provinces","is_billing_same_as_delivery","billing_street_address_1","billing_company","billing_suburb","billing_city","billing_province","billing_postal_code","voucher_free_shipping","invalidFeedback","appliedButInvalid","redemptionInvalidFeedback","redemption_search_show","redemption_search_slug","redemption_search_name","redemption_search_color","redemptionCodeInvalidFeedback","header","getBalance","preventRemove","redeem","redemptionInProgress","balance","default_amount","order_transaction_method","allow_vodapay_only","selectPayment","transactionMethod","language","screenHeight","screenWidth","timezone","cards","card","cardId","_q","number","expiry_month","expiry_year","deleteCard","selectedCard","enabled","month","years","year","substring","CardSelection","showDeliverySummary","getLineItemsForMerchant","merchants","DeliverySummaryModal","parts","redemptionContact","created","onSearch","model","callback","pick_type","vSelect","initial_picks","base_url","loading","fetch","res","days","hours","minutes","seconds","date","unix_time","imagePath","addedSize","skuChunks","pointer","disabled","clicked","sizeMap","filteredSkus","colour","first_hex","getCorrectTextColor","qtyInCart","filterVal","qty","hexToR","hexToG","hexToB","cutHex","remaining_seconds","total_seconds","forValue","showHowTo","closeHowTo","modifierOptionData","modifierOptionId","alreadyInCart","ignore_existing_quantity","reportUrl","fetchInProgress","dataField","dataPostfix","fetchResults","apiUrl","errorMsg","isPhysical","isVirtual","vendor","imgWidth","imgHeight","urlConditions","ResultLoader","physicalProducts","virtualProducts","morecorpClProducts","morecorpTpsProducts","isRedeemed","redeemedDate","initialIsRedeemed","initialRedeemedDate","formatter","Intl","NumberFormat","currency","minimumFractionDigits","maximumFractionDigits","format","lastIndex","lastIndexOf","FeaturesAndBenefits","Search","MobileSearch","AddToCart","AddToWishlist","WishlistCounter","GiftCardAmount","MiniCart","FullCart","CartSummary","CheckoutShipping","CheckoutVoucher","CheckoutRedemptionCode","CheckoutRedemptionCodeSearch","CheckoutGiftCard","CheckoutPayment","CheckoutReview","CheckoutOrderSummary","CheckoutPlaceOrder","CheckoutContact","StoreInit","PicksCrud","FullReleaseCountdown","LabelCountdown","QuickAdd","AddToCartColours","Payment","Countdown","AddOnCardStrip","VodabucksHowTo","redemptionAddToCart","redemptionCodeSummary","redemptionMiniCart","DashboardSkuReport","DashboardActiveProducts","DashboardTopProducts","DashboardTopCustomers","ProductsSellingBelowCost","RedeemedForm","dispatch","__webpack_module_cache__","moduleId","cachedModule","loaded","__webpack_modules__","m","deferred","O","chunkIds","priority","notFulfilled","Infinity","fulfilled","every","n","getter","__esModule","d","a","definition","defineProperty","enumerable","globalThis","Function","obj","hasOwnProperty","Symbol","toStringTag","nmd","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}