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AAO,SAAS,KAAO,aAAaoB,GAAG,CAAC,MAAQ,SAASC,GAAiC,OAAzBA,EAAOC,kBAAyB1B,EAAI2B,eAAeF,EAAQJ,EAAUC,GAAG,IAAI,CAACtB,EAAIY,GAAG,eAAeZ,EAAIa,GAAGb,EAAIc,GAAG,WAAWd,EAAI4B,kBAAkBP,EAAUC,MAAM,mBAAmB,IAAGtB,EAAIY,GAAG,KAAwB,GAAlBZ,EAAIQ,QAAQc,GAASpB,EAAG,MAAM,CAACA,EAAG,IAAI,CAACS,YAAY,MAAMP,MAAM,CAAC,KAAO,yBAAyB,CAACJ,EAAIY,GAAG,aAAaZ,EAAIa,GAAGb,EAAIc,GAAG,4BAA4B,gBAAgBd,EAAIoB,MAAM,IAC9jC,EAEA,EAAOL,eAAgB,E,wBCqCvB,MCxCyI,EDwCzI,CACEc,KAAM,UACNC,OAAM,IACNC,MAAO,CAAC,WACRC,OAAQ,CAACC,EAAA,GACTC,KAAI,KAEK,CACLC,SAAU,EAEVP,kBAAmB,CACjB,EAAG,SACH,EAAG,OACH,EAAG,SACH,EAAG,WAIT,OAAAQ,GAC8BnC,KAAKO,OACnC,G,cE1CF,SAXgB,OACd,EACA,EHPoB,IGSpB,EACA,KACA,WACA,MAI8B,Q,cCChC,MCnByI,EDmBzI,CACEqB,KAAM,UAONQ,SAAU,KACL,QAAS,CACVhC,SAAUiC,GAASA,EAAMC,MAAMlC,YAGnC,OAAA+B,GACMnC,KAAKI,SAASC,QAChBL,KAAKuC,aACT,EACAC,QAAS,KACJ,QAAW,CACZD,YAAa,uBAGjBE,WAAY,CACVC,QAAO,IExBX,SAXgB,OACd,EACA5C,EPPoB,IOSpB,EACA,KACA,WACA,MAI8B,O","sources":["webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Pages/Pricing.vue?6bb5","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Content/Product.vue?17bc","webpack://materio.com/web/themes/custom/materiotheme/vuejs/components/Content/Product.vue","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Content/Product.vue?d514","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Content/Product.vue","webpack://materio.com/web/themes/custom/materiotheme/vuejs/components/Pages/Pricing.vue","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Pages/Pricing.vue?b69b","webpack://materio.com/./web/themes/custom/materiotheme/vuejs/components/Pages/Pricing.vue"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{attrs:{\"id\":\"pricing\"}},[(!_vm.products.length)?_c('div',{staticClass:\"loading\"},[_c('span',[_vm._v(_vm._s(_vm.$t('default.Loading…')))])]):_vm._l((_vm.products),function(product){return _c('Product',{key:product.uuid,attrs:{\"product\":product}})})],2)\n}\nvar staticRenderFns = []\nrender._withStripped = true\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('article',{staticClass:\"product\"},[_c('header',[_c('h1',{domProps:{\"innerHTML\":_vm._s(_vm.product.title)}})]),_vm._v(\" \"),_c('section',{staticClass:\"content\"},[_c('div',{staticClass:\"description\",domProps:{\"innerHTML\":_vm._s(_vm.product.body)}})]),_vm._v(\" \"),(!_vm.isAdherent)?_c('aside',[_vm._l((_vm.product.variations),function(variation){return _c('div',{key:variation.id,staticClass:\"variation\"},[_c('div',{staticClass:\"variation-description\",domProps:{\"innerHTML\":_vm._s(variation.description)}}),_vm._v(\" \"),_c('div',{staticClass:\"actions\"},[_c('button',{attrs:{\"type\":\"button\",\"name\":\"addtocart\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.checkaddtocart($event, variation.id)}}},[_vm._v(\"\\n \"+_vm._s(_vm.$t('default.'+_vm.variation_btn_txt[variation.id]))+\"\\n \")])])])}),_vm._v(\" \"),(_vm.product.id == 8)?_c('div',[_c('a',{staticClass:\"btn\",attrs:{\"href\":\"/pricing/multijoueur\"}},[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"default.Ask for a quote\"))+\"\\n \")])]):_vm._e()],2):_vm._e()])\n}\nvar staticRenderFns = []\nrender._withStripped = true\nexport { render, staticRenderFns }","<template>\n <article class=\"product\">\n <header>\n <h1 v-html=\"product.title\"/>\n </header>\n <section class=\"content\">\n <div class=\"description\" v-html=\"product.body\"/>\n </section>\n <aside v-if=\"!isAdherent\">\n <div\n class=\"variation\"\n v-for=\"variation in product.variations\"\n :key=\"variation.id\"\n >\n <div class=\"variation-description\" v-html=\"variation.description\"/>\n <div class=\"actions\">\n <button\n type=\"button\"\n name=\"addtocart\"\n @click.stop=\"checkaddtocart($event, variation.id)\"\n >\n {{ $t('default.'+variation_btn_txt[variation.id]) }}\n </button>\n </div>\n </div>\n <div v-if=\"product.id == 8\">\n <a href=\"/pricing/multijoueur\" class=\"btn\">\n {{ $t(\"default.Ask for a quote\") }}\n </a>\n </div>\n </aside>\n\n </article>\n</template>\n\n<script>\n\nimport router from 'vuejs/route'\nimport productsMixins from 'vuejs/components/productsMixins'\n\nexport default {\n name: \"Product\",\n router,\n props: ['product'],\n mixins: [productsMixins],\n data(){\n // thoose should be on a field of the variation\n return {\n quantity: 1,\n // showLoginModal:false\n variation_btn_txt: {\n 6: 'Yeees!',\n 7: 'Yay!',\n 8: 'Great!',\n 9: 'OKAY!'\n }\n }\n },\n created(){\n console.log('this.product', this.product)\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n</style>\n","import mod from \"-!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Product.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Product.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Product.vue?vue&type=template&id=a02cf0fe&scoped=true\"\nimport script from \"./Product.vue?vue&type=script&lang=js\"\nexport * from \"./Product.vue?vue&type=script&lang=js\"\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 \"a02cf0fe\",\n null\n \n)\n\nexport default component.exports","<template>\n <div id=\"pricing\">\n <div class=\"loading\" v-if=\"!products.length\">\n <span>{{ $t('default.Loading…') }}</span>\n </div>\n <Product\n v-else\n v-for=\"product in products\"\n v-bind:key=\"product.uuid\"\n :product=\"product\"\n />\n </div>\n</template>\n\n<script>\n\nimport Product from 'vuejs/components/Content/Product'\nimport { mapState, mapActions } from 'vuex'\n\nexport default {\n name: \"Pricing\",\n // data() {\n // return {\n // items:[],\n // page:0\n // }\n // },\n computed: {\n ...mapState({\n products: state => state.Pages.products\n })\n },\n created(){\n if(!this.products.length)\n this.getProducts()\n },\n methods: {\n ...mapActions({\n getProducts: 'Pages/getProducts'\n })\n },\n components: {\n Product\n }\n}\n</script>\n<style lang=\"scss\" scoped>\n</style>\n","import mod from \"-!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Pricing.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Pricing.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Pricing.vue?vue&type=template&id=6c4e03c6&scoped=true\"\nimport script from \"./Pricing.vue?vue&type=script&lang=js\"\nexport * from \"./Pricing.vue?vue&type=script&lang=js\"\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 \"6c4e03c6\",\n null\n \n)\n\nexport default component.exports"],"names":["render","_vm","this","_c","_self","attrs","products","length","_l","product","key","uuid","staticClass","_v","_s","$t","_withStripped","domProps","title","body","isAdherent","_e","variation","id","description","on","$event","stopPropagation","checkaddtocart","variation_btn_txt","name","router","props","mixins","productsMixins","data","quantity","created","computed","state","Pages","getProducts","methods","components","Product"],"sourceRoot":""} |