{"version":3,"sources":["webpack:///./src/views/Pricing.vue?fcc4","webpack:///./src/views/Pricing.vue","webpack:///./src/views/Pricing.vue?71fb","webpack:///./src/views/Pricing.vue?0ffa"],"names":["class","products","$t","product","name","index","key","id","type","value","selectedProductSize","checked","for","selectedProduct","pContent","pItem","content","item","price","iterations","reports","components","Button","Icon","Footer","url","getProducts","Object","entries","async","baseURL","data","method","then","resp","console","log","catch","err","render","__scopeId"],"mappings":"kIAAA,W,8IC4DaA,MAAM,Q,GACJA,MAAM,uB,SACRA,MAAM,wB,EACT,eAAyB,UAArB,oBAAgB,G,GACjBA,MAAM,c,GAEJA,MAAM,uC,aAaNA,MAAM,c,SAIHA,MAAM,qB,GAEDA,MAAM,Y,GACJA,MAAM,Q,GACPA,MAAM,S,GACPA,MAAM,e,GAINA,MAAM,e,GACLA,MAAM,Y,GACJA,MAAM,Q,GACFA,MAAM,U,uBAINA,MAAM,W,GAGVA,MAAM,Q,GACFA,MAAM,U,GAGNA,MAAM,W,gIA/ClC,eA4DO,aA3DL,eA0DU,UA1DV,EA0DU,CAzDR,eAwDU,UAxDV,EAwDU,CAvDgC,EAAAC,U,iBAAxC,eAsDM,MAtDN,EAsDM,CArDJ,EACA,eAAqD,IAArD,EAAqD,eAA5B,EAAAC,GAAG,oBAAD,GAE3B,eAQM,MARN,EAQM,E,mBAPJ,eAMM,2BANgC,EAAAD,SAAQ,CAAjCE,EAASC,EAAMC,K,iBAA5B,eAMM,OAN2CC,IAAKF,EAAMJ,MAAM,a,gBAChE,eAC0C,SADlCO,GAAIF,EAAOG,KAAK,QAASC,MAAOL,E,qCAAe,EAAAM,oBAAmB,GACvEC,QAAmB,IAAVN,G,0CAD2C,EAAAK,uBAEvD,eAEQ,SAFAE,IAAKP,GAAK,eACbD,GAAI,e,QAOF,EAAAS,iB,iBAAX,eAqCM,SApCJ,eAEI,IAFJ,EAEI,eADC,EAAAX,GAAG,SAAS,EAAAQ,sBAAmB,I,mBAEpC,eAgCM,2BAhC2B,EAA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QC,IAAInC,EAASQ,SAEtB4B,MAAOC,IACNH,QAAQC,IAAIE,MAIlB,MAAO,CACLrC,WACAS,sBACAG,sB,UC/CN,EAAO0B,OAASA,EAChB,EAAOC,UAAY,kBAEJ","file":"js/Pricing.a66b970e.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/@vue/cli-service/node_modules/vue-loader-v16/dist/index.js??ref--1-1!./Pricing.vue?vue&type=style&index=0&id=76249ea3&lang=scss&scoped=true\"","\n\n\n\n\n","\nimport { onMounted, defineComponent, ref, onUnmounted, computed } from \"vue\"\n\nimport Button from \"../components/Button.vue\"\nimport Icon from \"../components/Icon.vue\"\nimport Footer from \"../components/footer.vue\"\nimport axios from \"axios\"\nimport { useStore } from \"vuex\"\n\nexport default defineComponent({\n components: {\n Button,\n Icon,\n Footer,\n },\n setup() {\n const url = \"https://api.otonomi.no\"\n\n onMounted(() => {\n getProducts()\n })\n\n const products = ref({})\n let selectedProductSize = ref(\"S\")\n\n const selectedProduct = computed(() => {\n for (const [key, value] of Object.entries(products.value)) {\n if (key == selectedProductSize.value) {\n return value\n }\n }\n })\n\n const getProducts = async () => {\n axios({\n baseURL: url,\n url: \"/order/products/\",\n data: {},\n method: \"GET\",\n })\n .then((resp) => {\n products.value = resp.data\n console.log(products.value)\n })\n .catch((err) => {\n console.log(err)\n })\n }\n\n return {\n products,\n selectedProductSize,\n selectedProduct,\n }\n },\n})\n","import { render } from \"./Pricing.vue?vue&type=template&id=76249ea3&scoped=true\"\nimport script from \"./Pricing.vue?vue&type=script&lang=ts\"\nexport * from \"./Pricing.vue?vue&type=script&lang=ts\"\n\nimport \"./Pricing.vue?vue&type=style&index=0&id=76249ea3&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-76249ea3\"\n\nexport default script"],"sourceRoot":""}