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mBACA,OAAQiC,EAAAA,EAAmBC,UAAUC,SACzC,CAEIvB,mBACA,OAAOqB,EAAAA,EAAmBC,WAAWtB,cAAgB,GACzD,CAEIH,mBACA,OAAOwB,EAAAA,EAAmBC,WAAWzB,cAAgB,GACzD,CAEIE,oBACA,OAAOsB,EAAAA,EAAmBC,WAAWvB,gBAAiB,CAC1D,CAEIE,oBACA,OAAOuB,EAAAA,EAAWC,MAAMC,WAAa,CACzC,CAEIvC,iBACA,OAAOwC,EAAAA,EAAWC,YACtB,CAEQrC,UAAUsC,GACd/C,KAAKwB,OAAOuB,IAAW,CAC3B,CAEQ1B,UAAU0B,GACd/C,KAAKwB,OAAOuB,IAAW,CAC3B,IAzCwCC,EAAAA,EAAAA,IAAA,EAAvCC,EAAAA,EAAAA,IAAK,CAAEC,KAAMC,OAAQC,UAAU,KAAO,iCACCJ,EAAAA,EAAAA,IAAA,EAAvCC,EAAAA,EAAAA,IAAK,CAAEC,KAAMC,OAAQC,UAAU,KAAO,+BAFtBlB,GAAsBc,EAAAA,EAAAA,IAAA,EAR1CK,EAAAA,EAAAA,IAAU,CACPC,KAAM,yBACNC,WAAY,CACRC,mBAAkB,EAClBC,SAAQ,EACRC,UAASA,EAAAA,MAGIxB,G,UCjBod,ICOze,IAAI,GAAY,OACd,EACApC,EACAiC,GACA,EACA,KACA,KACA,MAIF,QAAe,EAAiB,O","sources":["webpack://website-js/./src/components/mobile-header/MobileHeaderTopActions.vue","webpack://website-js/./src/components/mobile-header/icons/ShoppingBasketIcon.vue","webpack://website-js/./src/components/mobile-header/icons/ShoppingBasketIcon.vue?ea1d","webpack://website-js/./src/components/mobile-header/icons/UserIcon.vue","webpack://website-js/./src/components/mobile-header/icons/UserIcon.vue?1956","webpack://website-js/./src/components/mobile-header/MobileHeaderTopActions.vue?a371","webpack://website-js/./src/components/mobile-header/MobileHeaderTopActions.vue?5d7b","webpack://website-js/./src/components/mobile-header/MobileHeaderTopActions.vue?397b"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"mobile-header-top-row-actions uk-hidden-print\"},[(!_vm.isLoggedIn && _vm.displayLogin)?_c('div',{staticClass:\"mobile-header-top-row-actions-item\",on:{\"click\":function($event){return _vm.modalShow('login')}}},[_c('div',{staticClass:\"icon-container\"},[_c('user-icon')],1),_vm._v(\" \"+_vm._s(_vm.loginText)+\" \")]):_vm._e(),(_vm.isLoggedIn && _vm.displayLogin)?_c('a',{staticClass:\"mobile-header-top-row-actions-item\",attrs:{\"href\":_vm.dashboardUrl}},[_c('div',{staticClass:\"icon-container\"},[_c('user-icon')],1),_vm._v(\" \"+_vm._s(_vm.loginText)+\" \")]):_vm._e(),(!_vm.disableCatalogue && _vm.allowPurchase)?_c('a',{staticClass:\"mobile-header-top-row-actions-item\",attrs:{\"href\":_vm.checkoutpage}},[(_vm.cartItemCount > 0)?_c('div',{staticClass:\"mobile-header-top-row-actions-item-label uk-background-secondary\"},[_vm._v(\" \"+_vm._s(_vm.cartItemCount)+\" \")]):_vm._e(),_c('div',{staticClass:\"icon-container\"},[_c('shopping-basket-icon')],1),_vm._v(\" \"+_vm._s(_vm.cartText)+\" \")]):_vm._e(),_c('Modal',{attrs:{\"width\":\"600px\",\"height\":\"240px\"},on:{\"close-modal\":function($event){return _vm.modalHide('login')}},model:{value:(_vm.modals.login),callback:function ($$v) {_vm.$set(_vm.modals, \"login\", $$v)},expression:\"modals.login\"}},[_c('ModalHeader',{attrs:{\"title\":_vm.$t('login.login', ['Login']),\"icon\":\"user\"},on:{\"close-modal\":function($event){return _vm.modalHide('login')}}}),_c('div',{staticClass:\"login-form-container\"},[_c('LoginForm',{on:{\"close-modal\":function($event){return _vm.modalHide('Login')}}})],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('svg',{attrs:{\"viewBox\":\"0 0 26 20\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"d\":\"M24.8594 7H21.5508L15.5352 0.382818C15.2773 0.0820363 14.8477 0.0820363 14.5898 0.339849C14.2891 0.597661 14.2891 1.02735 14.5469 1.28516L19.7031 7H6.25391L11.4102 1.28516C11.668 1.02735 11.668 0.597661 11.3672 0.339849C11.1094 0.0820363 10.6797 0.0820363 10.4219 0.382818L4.40625 7H1.14062C0.839844 7 0.625 7.25782 0.625 7.51563V7.85938C0.625 8.16016 0.839844 8.375 1.14062 8.375H1.82812L3.11719 17.6133C3.24609 18.6445 4.10547 19.375 5.13672 19.375H20.8203C21.8516 19.375 22.7109 18.6445 22.8398 17.6133L24.1289 8.375H24.8594C25.1172 8.375 25.375 8.16016 25.375 7.85938V7.51563C25.375 7.25782 25.1172 7 24.8594 7ZM21.5078 17.4414C21.4219 17.7852 21.1641 18 20.8203 18H5.13672C4.79297 18 4.53516 17.7852 4.44922 17.4414L3.20312 8.375H22.7539L21.5078 17.4414ZM13.6875 10.7813C13.6875 10.4375 13.3438 10.0938 13 10.0938C12.6133 10.0938 12.3125 10.4375 12.3125 10.7813V15.5938C12.3125 15.9805 12.6133 16.2813 13 16.2813C13.3438 16.2813 13.6875 15.9805 13.6875 15.5938V10.7813ZM18.5 10.7813C18.5 10.4375 18.1562 10.0938 17.8125 10.0938C17.4258 10.0938 17.125 10.4375 17.125 10.7813V15.5938C17.125 15.9805 17.4258 16.2813 17.8125 16.2813C18.1562 16.2813 18.5 15.9805 18.5 15.5938V10.7813ZM8.875 10.7813C8.875 10.4375 8.53125 10.0938 8.1875 10.0938C7.80078 10.0938 7.5 10.4375 7.5 10.7813V15.5938C7.5 15.9805 7.80078 16.2813 8.1875 16.2813C8.53125 16.2813 8.875 15.9805 8.875 15.5938V10.7813Z\"}})])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./ShoppingBasketIcon.vue?vue&type=template&id=2f289660&\"\nvar script = {}\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/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('svg',{attrs:{\"viewBox\":\"0 0 22 23\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('path',{attrs:{\"d\":\"M11 2.125C13.6211 2.125 15.8125 4.31641 15.8125 6.9375C15.8125 9.60156 13.6211 11.75 11 11.75C8.33594 11.75 6.1875 9.60156 6.1875 6.9375C6.1875 4.31641 8.33594 2.125 11 2.125ZM16.5 15.875C18.7344 15.875 20.625 17.7656 20.625 20V21.375H1.375V20C1.375 17.7656 3.22266 15.875 5.5 15.875C9.15234 15.875 8.37891 16.5625 11 16.5625C13.5781 16.5625 12.8047 15.875 16.5 15.875ZM11 0.75C7.5625 0.75 4.8125 3.54297 4.8125 6.9375C4.8125 10.375 7.5625 13.125 11 13.125C14.3945 13.125 17.1875 10.375 17.1875 6.9375C17.1875 3.54297 14.3945 0.75 11 0.75ZM16.5 14.5C12.5039 14.5 13.4492 15.1875 11 15.1875C8.55078 15.1875 9.45312 14.5 5.5 14.5C2.44922 14.5 0 16.9922 0 20V21.375C0 22.1484 0.601562 22.75 1.375 22.75H20.625C21.3555 22.75 22 22.1484 22 21.375V20C22 16.9922 19.5078 14.5 16.5 14.5Z\"}})])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./UserIcon.vue?vue&type=template&id=026839ae&\"\nvar script = {}\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/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","\r\nimport { Component, Prop, Vue } from 'vue-property-decorator';\r\nimport ShoppingBasketIcon from '@/components/mobile-header/icons/ShoppingBasketIcon.vue';\r\nimport UserIcon from '@/components/mobile-header/icons/UserIcon.vue';\r\nimport UserModule from '@/store/modules/UserModule';\r\nimport CartModule from '@/store/modules/CartModule';\r\nimport { CbxVariablesModule } from '../../store/modules/CbxVariablesModule';\r\nimport LoginForm from '../login/LoginForm.vue';\r\n\r\n@Component({\r\n    name: 'MobileHeaderTopActions',\r\n    components: {\r\n        ShoppingBasketIcon,\r\n        UserIcon,\r\n        LoginForm,\r\n    },\r\n})\r\nexport default class MobileHeaderTopActions extends Vue {\r\n    @Prop({ type: String, required: true }) private loginText: string;\r\n    @Prop({ type: String, required: true }) private cartText: string;\r\n\r\n    private modals: any = {\r\n        login: false,\r\n    };\r\n\r\n    get disableCatalogue(): boolean {\r\n        return CbxVariablesModule.VARIABLES.disableCatalogue;\r\n    }\r\n\r\n    get displayLogin(): boolean {\r\n        return !CbxVariablesModule.VARIABLES.hideLogin;\r\n    }\r\n\r\n    get checkoutpage(): string {\r\n        return CbxVariablesModule.VARIABLES?.checkoutpage ?? '#';\r\n    }\r\n\r\n    get dashboardUrl(): string {\r\n        return CbxVariablesModule.VARIABLES?.dashboardUrl ?? '#';\r\n    }\r\n\r\n    get allowPurchase(): boolean {\r\n        return CbxVariablesModule.VARIABLES?.allowPurchase ?? false;\r\n    }\r\n\r\n    get cartItemCount(): number {\r\n        return CartModule.CART?.itemcount || 0;\r\n    }\r\n\r\n    get isLoggedIn(): boolean {\r\n        return UserModule.IS_SIGNED_IN;\r\n    }\r\n\r\n    private modalShow(section: string) {\r\n        this.modals[section] = true;\r\n    }\r\n\r\n    private modalHide(section: string) {\r\n        this.modals[section] = false;\r\n    }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./MobileHeaderTopActions.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??clonedRuleSet-41.use[0]!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[3]!../../../node_modules/cache-loader/dist/cjs.js??ruleSet[0].use[0]!../../../node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./MobileHeaderTopActions.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./MobileHeaderTopActions.vue?vue&type=template&id=7e5d982a&\"\nimport script from \"./MobileHeaderTopActions.vue?vue&type=script&lang=ts&\"\nexport * from \"./MobileHeaderTopActions.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/cli-service/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"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","isLoggedIn","displayLogin","on","$event","modalShow","_v","_s","loginText","_e","attrs","dashboardUrl","disableCatalogue","allowPurchase","checkoutpage","cartItemCount","cartText","modalHide","model","value","modals","login","callback","$$v","$set","expression","$t","staticRenderFns","script","component","MobileHeaderTopActions","Vue","constructor","args","_defineProperty","CbxVariablesModule","VARIABLES","hideLogin","CartModule","CART","itemcount","UserModule","IS_SIGNED_IN","section","__decorate","Prop","type","String","required","Component","name","components","ShoppingBasketIcon","UserIcon","LoginForm"],"sourceRoot":""}