{"version":3,"file":"js/app.d0d0969ca3d05e04b926.js","mappings":"4vBASe,8BAAc,EAAAA,IAAd,c,oBAIL,KAAAC,cAAwB,EACxB,KAAAC,uBAAiC,EACjC,KAAAC,UAAoB,CAc9B,CAZcC,mBACV,OAAOC,KAAKC,OAAOC,QAAQ,8BAAgC,CAAC,CAC9D,CAEQC,UACNH,KAAKF,UAAYE,KAAKI,aACtBJ,KAAKC,OAAOI,WAAU,CAACC,EAAUC,KACT,wCAAlBD,EAASE,MAAoE,8CAAlBF,EAASE,OACtER,KAAKF,UAAYS,EAAME,eAAeC,e,GAG5C,GAlBA,IAAC,IAAAC,MAAK,CAACC,QAAS,IAAM,I,4DACtB,IAAC,IAAAD,MAAK,CAACC,SAAS,I,uDAFH,MALd,IAAAC,WAAU,CACTC,KAAM,cACNC,YAAY,eAAmBC,mB,yMCajC,SAXgB,E,SAAA,GACd,UACA,IACA,KACA,EACA,KACA,WACA,MAI8B,O,mJCnBoL,QAAe,G,wDCAnO,IAAIC,EAAS,SAASA,SAAS,IAAIC,EAAIlB,KAAKmB,EAAGD,EAAIE,MAAMD,GAAUD,EAAIE,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAAED,EAAIpB,UAAY,EAAGqB,EAAG,MAAM,CAACG,YAAY,SAAS,CAACH,EAAG,IAAI,CAACI,MAAM,CAAC,KAAO,kBAAkB,CAACJ,EAAG,OAAO,CAACG,YAAY,WAAW,CAACJ,EAAIM,GAAGN,EAAIO,GAAGP,EAAIpB,UAAY,GAAK,MAAQoB,EAAIpB,kBAAkBqB,EAAG,OAAO,CAACG,YAAY,SAAS,CAACH,EAAG,OAAO,CAACG,YAAY,WAAW,CAACJ,EAAIM,GAAG,UACtX,EACIE,EAAkB,E","sources":["webpack:///./resources/area/web/default/js/components/HeaderCart.vue?8cb8","webpack:///./resources/area/web/default/js/components/HeaderCart.vue?787f","webpack:///./resources/area/web/default/js/components/HeaderCart.vue?c2d8","webpack:///./resources/area/web/default/js/components/HeaderCart.vue?40d7"],"sourcesContent":["\nimport {Component, Vue, Prop} from 'vue-property-decorator';\nimport ServiceContainer from '@flashpointbv/solar-service-container';\n\n@Component({\n  name: 'header-cart',\n  components: ServiceContainer().getComponents(),\n})\n\nexport default class extends Vue {\n  @Prop({default: () => 0}) private initialCount: number;\n  @Prop({default: false}) private isCart: boolean;\n\n  private showMiniCart: boolean = false;\n  private initLoadingCartTotals: boolean = true;\n  private itemCount: number = 0;\n\n  private get headerTotals(): object {\n    return this.$store.getters['CheckoutCart/headerTotals'] || {};\n  }\n\n  private created(): void {\n    this.itemCount = this.initialCount;\n    this.$store.subscribe((mutation, state) => {\n      if (mutation.type === 'CheckoutGlobal/SET_QUOTE_ITEM_COUNT' || mutation.type === 'CheckoutGlobal/INCREMENT_QUOTE_ITEM_COUNT') {\n        this.itemCount = state.CheckoutGlobal.quoteItemCount;\n      }\n    });\n  }\n}\n","import { render, staticRenderFns } from \"./HeaderCart.vue?vue&type=template&id=c28d7ae2&scoped=true&\"\nimport script from \"./HeaderCart.vue?vue&type=script&lang=ts&\"\nexport * from \"./HeaderCart.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./HeaderCart.vue?vue&type=style&index=0&id=c28d7ae2&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  \"c28d7ae2\",\n  null\n  \n)\n\nexport default component.exports","import mod from \"-!../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-6.use[0]!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HeaderCart.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-6.use[0]!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./HeaderCart.vue?vue&type=script&lang=ts&\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[(_vm.itemCount > 0)?_c('div',{staticClass:\"_cart\"},[_c('a',{attrs:{\"href\":\"checkout/cart\"}},[_c('span',{staticClass:\"_amount\"},[_vm._v(_vm._s(_vm.itemCount > 99 ? '99+' : _vm.itemCount))])])]):_c('span',{staticClass:\"_cart\"},[_c('span',{staticClass:\"_amount\"},[_vm._v(\"0\")])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"],"names":["Vue","showMiniCart","initLoadingCartTotals","itemCount","headerTotals","this","$store","getters","created","initialCount","subscribe","mutation","state","type","CheckoutGlobal","quoteItemCount","Prop","default","Component","name","components","getComponents","render","_vm","_c","_self","_setupProxy","staticClass","attrs","_v","_s","staticRenderFns"],"sourceRoot":""}