materio-d9/web/themes/custom/materiotheme/assets/dist/module-pricing.4bbb30943e8e2ecd7153.bundle.js

2 lines
2.3 KiB
JavaScript

try{let t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="1f9e0b73-834e-4bdf-85c1-fc09d3859513",t._sentryDebugIdIdentifier="sentry-dbid-1f9e0b73-834e-4bdf-85c1-fc09d3859513")}catch(t){}(self.webpackChunkmaterio_com=self.webpackChunkmaterio_com||[]).push([[634],{2218:(t,e,s)=>{s.r(e),s.d(e,{default:()=>p});var r=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"pricing"}},[t.products.length?t._l(t.products,(function(t){return e("Product",{key:t.uuid,attrs:{product:t}})})):e("div",{staticClass:"loading"},[e("span",[t._v(t._s(t.$t("default.Loading…")))])])],2)};r._withStripped=!0;var i=function(){var t=this,e=t._self._c;return e("article",{staticClass:"product"},[e("header",[e("h1",{domProps:{innerHTML:t._s(t.product.title)}})]),t._v(" "),e("section",{staticClass:"content"},[e("div",{staticClass:"description",domProps:{innerHTML:t._s(t.product.body)}})]),t._v(" "),t.isAdherent?t._e():e("aside",[t._l(t.product.variations,(function(s){return e("div",{key:s.id,staticClass:"variation"},[e("div",{staticClass:"variation-description",domProps:{innerHTML:t._s(s.description)}}),t._v(" "),e("div",{staticClass:"actions"},[e("button",{attrs:{type:"button",name:"addtocart"},on:{click:function(e){return e.stopPropagation(),t.checkaddtocart(e,s.id)}}},[t._v("\n "+t._s(t.$t("default."+t.variation_btn_txt[s.id]))+"\n ")])])])})),t._v(" "),8==t.product.id?e("div",[e("a",{staticClass:"btn",attrs:{href:"/pricing/multijoueur"}},[t._v("\n "+t._s(t.$t("default.Ask for a quote"))+"\n ")])]):t._e()],2)])};i._withStripped=!0;var n=s(3611),o=s(4651);const d={name:"Product",router:n.A,props:["product"],mixins:[o.A],data:()=>({quantity:1,variation_btn_txt:{6:"Yeees!",7:"Yay!",8:"Great!",9:"OKAY!"}}),created(){this.product}};var a=s(4486);const c=(0,a.A)(d,i,[],!1,null,"a02cf0fe",null).exports;var u=s(5353);const l={name:"Pricing",computed:{...(0,u.aH)({products:t=>t.Pages.products})},created(){this.products.length||this.getProducts()},methods:{...(0,u.i0)({getProducts:"Pages/getProducts"})},components:{Product:c}};const p=(0,a.A)(l,r,[],!1,null,"6c4e03c6",null).exports}}]);
//# sourceMappingURL=module-pricing.4bbb30943e8e2ecd7153.bundle.js.map