import{y as h,s as p,A as f,o as i,e as _,f as t,m as o,n as g,g as y,v as u,t as e,k as b,l as w,C as k}from"./vendor-CI5NvTnj.js";import{u as v,g as x}from"./index-BRMV7KFd.js";function d(s){const a=s;a.__i18n=a.__i18n||[],a.__i18n.push({locale:"",resource:{cs:{carbohydrates:n=>{const{normalize:r}=n;return r(["Sacharidy"])},composition:n=>{const{normalize:r}=n;return r(["Složení"])},energy_value:n=>{const{normalize:r}=n;return r(["Energetická hodnota"])},fats:n=>{const{normalize:r}=n;return r(["Tuky"])},fiber:n=>{const{normalize:r}=n;return r(["Vláknina"])},nutritional_information:n=>{const{normalize:r}=n;return r(["Výživové údaje na 100 g"])},of_which_saturated_fatty_acids:n=>{const{normalize:r}=n;return r(["z toho nasycené mastné kyseliny"])},of_which_sugars:n=>{const{normalize:r}=n;return r(["z toho cukry"])},proteins:n=>{const{normalize:r}=n;return r(["Bílkoviny"])},read_more:n=>{const{normalize:r}=n;return r(["číst více"])},salt:n=>{const{normalize:r}=n;return r(["Sůl"])}},sk:{carbohydrates:n=>{const{normalize:r}=n;return r(["Sacharidy"])},composition:n=>{const{normalize:r}=n;return r(["Zloženie"])},energy_value:n=>{const{normalize:r}=n;return r(["Energia"])},fats:n=>{const{normalize:r}=n;return r(["Tuky"])},fiber:n=>{const{normalize:r}=n;return r(["Vláknina"])},nutritional_information:n=>{const{normalize:r}=n;return r(["Výživové údaje na 100 g"])},of_which_saturated_fatty_acids:n=>{const{normalize:r}=n;return r(["z toho nasýtené mastné kyseliny"])},of_which_sugars:n=>{const{normalize:r}=n;return r(["z toho cukry"])},proteins:n=>{const{normalize:r}=n;return r(["Bielkoviny"])},read_more:n=>{const{normalize:r}=n;return r(["čítať ďalej"])},salt:n=>{const{normalize:r}=n;return r(["Soľ"])}},pl:{carbohydrates:n=>{const{normalize:r}=n;return r(["Węglowodany"])},composition:n=>{const{normalize:r}=n;return r(["Skład"])},energy_value:n=>{const{normalize:r}=n;return r(["Wartość energetyczna"])},fats:n=>{const{normalize:r}=n;return r(["Tłuszcz"])},fiber:n=>{const{normalize:r}=n;return r(["Błonnik"])},nutritional_information:n=>{const{normalize:r}=n;return r(["Wartości odżywcze w 100 g"])},of_which_saturated_fatty_acids:n=>{const{normalize:r}=n;return r(["w tym kwasy tłuszczowe nasycone"])},of_which_sugars:n=>{const{normalize:r}=n;return r(["w tym cukry"])},proteins:n=>{const{normalize:r}=n;return r(["Białko"])},read_more:n=>{const{normalize:r}=n;return r(["zobacz więcej"])},salt:n=>{const{normalize:r}=n;return r(["Sól"])}},hu:{carbohydrates:n=>{const{normalize:r}=n;return r(["Szénhidrátok"])},composition:n=>{const{normalize:r}=n;return r(["Összetevők"])},energy_value:n=>{const{normalize:r}=n;return r(["Energiatartalom"])},fats:n=>{const{normalize:r}=n;return r(["Zsírok"])},fiber:n=>{const{normalize:r}=n;return r(["Rostok"])},nutritional_information:n=>{const{normalize:r}=n;return r(["Tápértékadatok 100 g"])},of_which_saturated_fatty_acids:n=>{const{normalize:r}=n;return r(["ebből telített zsírsavak"])},of_which_sugars:n=>{const{normalize:r}=n;return r(["ebből cukror"])},proteins:n=>{const{normalize:r}=n;return r(["Fehérjék"])},read_more:n=>{const{normalize:r}=n;return r(["többet mutat"])},salt:n=>{const{normalize:r}=n;return r(["Só"])}},de:{carbohydrates:n=>{const{normalize:r}=n;return r(["Kohlenhydrate"])},composition:n=>{const{normalize:r}=n;return r(["Zutaten"])},energy_value:n=>{const{normalize:r}=n;return r(["Energiewert"])},fats:n=>{const{normalize:r}=n;return r(["Fette"])},fiber:n=>{const{normalize:r}=n;return r(["Ballaststoffe"])},nutritional_information:n=>{const{normalize:r}=n;return r(["Nährwertangaben pro 100 g"])},of_which_saturated_fatty_acids:n=>{const{normalize:r}=n;return r(["davon gesättigte Fettsäuren"])},of_which_sugars:n=>{const{normalize:r}=n;return r(["davon Zucker"])},proteins:n=>{const{normalize:r}=n;return r(["Eiweiß"])},read_more:n=>{const{normalize:r}=n;return r(["Mehr lesen"])},salt:n=>{const{normalize:r}=n;return r(["Salz"])}},at:{carbohydrates:n=>{const{normalize:r}=n;return r(["Kohlenhydrate"])},composition:n=>{const{normalize:r}=n;return r(["Zutaten"])},energy_value:n=>{const{normalize:r}=n;return r(["Energiewert"])},fats:n=>{const{normalize:r}=n;return r(["Fette"])},fiber:n=>{const{normalize:r}=n;return r(["Ballaststoffe"])},nutritional_information:n=>{const{normalize:r}=n;return r(["Nährwertangaben pro 100 g"])},of_which_saturated_fatty_acids:n=>{const{normalize:r}=n;return r(["davon gesättigte Fettsäuren"])},of_which_sugars:n=>{const{normalize:r}=n;return r(["davon Zucker"])},proteins:n=>{const{normalize:r}=n;return r(["Eiweiß"])},read_more:n=>{const{normalize:r}=n;return r(["Mehr lesen"])},salt:n=>{const{normalize:r}=n;return r(["Salz"])}},ro:{carbohydrates:n=>{const{normalize:r}=n;return r(["Carbohidrați"])},composition:n=>{const{normalize:r}=n;return r(["Ingrediente"])},energy_value:n=>{const{normalize:r}=n;return r(["Valoare energetică"])},fats:n=>{const{normalize:r}=n;return r(["Grăsimi"])},fiber:n=>{const{normalize:r}=n;return r(["Fibre"])},nutritional_information:n=>{const{normalize:r}=n;return r(["Informații nutriționale 100 g"])},of_which_saturated_fatty_acids:n=>{const{normalize:r}=n;return r(["din care acizi grași saturați"])},of_which_sugars:n=>{const{normalize:r}=n;return r(["din care zaharuri"])},proteins:n=>{const{normalize:r}=n;return r(["Proteine"])},read_more:n=>{const{normalize:r}=n;return r(["mai mult"])},salt:n=>{const{normalize:r}=n;return r(["Sare"])}}}})}const S={class:"container"},B={class:"modal-order-1"},T={class:"row justify-center justify-md-start items-center items-md-start"},V={class:"col-md-6"},j=["innerHTML"],E={class:"col-12 col-md-6 mb-3 mb-md-0"},F={class:"product-hero__image mb-0 w-100 h-auto"},M={class:"col-12"},C=["innerHTML"],N={class:"row justify-center"},Z={key:0,class:"col-12"},H={class:"mb-4 mb-md-5 mb-lg-6 text-primary text-center"},L={class:"table table-striped border-bottom"},P={class:"font-bold text-nowrap"},I={class:"font-bold text-nowrap"},W={class:"font-bold text-nowrap"},D={class:"font-bold text-nowrap"},K={class:"font-bold text-nowrap"},R={class:"font-bold text-nowrap"},$={class:"font-bold text-nowrap"},A={class:"font-bold text-nowrap"},G={class:"text-center"},J={__name:"ModalProductDetail",setup(s){const{t:a}=h(),n=v(),{getParams:r}=p(n);return(q,O)=>{var l,c,m;const z=f("router-link");return i(),_("div",S,[t("div",B,[t("div",T,[t("div",V,[t("p",{innerHTML:o(r).product.description},null,8,j)]),t("div",E,[t("div",F,[t("div",{class:g(["product-hero__image__in modal-hero-img embed-responsive",{"no-padding":!((l=o(r).product.images[0])!=null&&l.has_padding)}])},[o(r).product.images.length>0?(i(),y(x,{key:0,"product-image-data":(c=o(r).product.images[0])==null?void 0:c.data,"img-class":`embed-responsive-item ${(m=o(r).product.images[0])!=null&&m.has_padding?"image-contain":"image-cover"}`,alt:o(r).product.name},null,8,["product-image-data","img-class","alt"])):u("",!0)],2)])]),t("div",M,[t("h3",null,e(o(a)("composition"))+":",1),t("p",{innerHTML:o(r).product.composition},null,8,C)])])]),t("div",N,[o(r).product.showNutrition?(i(),_("div",Z,[t("h2",H,e(o(a)("nutritional_information")),1),t("table",L,[t("tbody",null,[t("tr",null,[t("td",null,e(o(a)("energy_value")),1),t("td",P,e(o(r).product.nutrition.energy)+" kJ / "+e((o(r).product.nutrition.energy/4.186).toFixed(2))+" kcal ",1)]),t("tr",null,[t("td",null,e(o(a)("fats")),1),t("td",I,e(o(r).product.nutrition.fats)+" g ",1)]),t("tr",null,[t("td",null,e(o(a)("of_which_saturated_fatty_acids")),1),t("td",W,e(o(r).product.nutrition.saturatedFats)+" g ",1)]),t("tr",null,[t("td",null,e(o(a)("carbohydrates")),1),t("td",D,e(o(r).product.nutrition.carbohydrates)+" g ",1)]),t("tr",null,[t("td",null,e(o(a)("of_which_sugars")),1),t("td",K,e(o(r).product.nutrition.sugars)+" g ",1)]),t("tr",null,[t("td",null,e(o(a)("fiber")),1),t("td",R,e(o(r).product.nutrition.fibre)+" g ",1)]),t("tr",null,[t("td",null,e(o(a)("proteins")),1),t("td",$,e(o(r).product.nutrition.proteins)+" g ",1)]),t("tr",null,[t("td",null,e(o(a)("salt")),1),t("td",A,e(o(r).product.nutrition.salt)+" g ",1)])])])])):u("",!0),t("div",G,[b(z,{class:"btn btn-success btn-gradient mt-2 py-3 px-8 px-xl-9 rounded-pill font-weight-medium",to:{name:"productPath",params:{permalink:o(r).product.permalink}}},{default:w(()=>[k(e(o(a)("read_more")),1)]),_:1},8,["to"])])])])}}};typeof d=="function"&&d(J);export{J as default};