PageSourceSearch

https://myglobalflowers.es/build/assets/Show-D-EnR3c1.js

js myglobalflowers.es collected 2026-09-29 16:57:07 UTC 68,352 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/swiper.min-BcX6GuGD.js","assets/_commonjsHelpers-D6-XlEtG.js","assets/index.es-BjmdiBy9.js","assets/runtime-dom.esm-bundler-Bm0-6-7k.js","assets/runtime-core.esm-bundler-qir4qudY.js","assets/reactivity.esm-bundler-BFx7IUI5.js","assets/ru.es-D6YqEBVv.js","assets/fancybox-BQijCr04.css","assets/index-C15R3u8j.js","assets/isPlainObject-BXxeEMt4.js","assets/carousel-Do23qHbT.css","assets/carousel-D6yBtgYN.css","assets/carousel.dots-B7cQgRrX.js","assets/AdditionalProductsSidebar-C-SunnSX.js","assets/index-hdnIDsqN.js","assets/index.esm-CzVXYlLT.js","assets/index-DKCShYzV.js","assets/adding-postcard-DGNHKWLb.js","assets/l10n-CGGNtq87.js","assets/app-storage-wV_v2cMS.js","assets/get-noun-BuN0d69S.js","assets/Modal-5JEvAa1x.js","assets/IconCloseSimple-BuMM0PT6.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/adding-postcard-BlCL_ClT.css","assets/IconEdit-DWTkxTiy.js","assets/format-date-CW8rKoir.js","assets/VPreloader-Cu0FWR3q.js","assets/VueSidebar-B-ZsDM_o.js","assets/VueSidebar-adfTk6ZY.css","assets/AdditionalProductsSidebar-DRAOiiNs.css","assets/ModalProductAddedCart-OAg4JM_f.js","assets/products-BmbZhSUR.js","assets/AdditionalProducts-Bc1MeGfe.js","assets/AdditionalProducts-BQzM9Iaz.css","assets/get-item-url-with-customization-BlAmca9a.js","assets/InputCounter-DR1OH6dC.js","assets/InputCounter-DC-srIZU.css","assets/ModalProductAddedCart-C3F0Fssx.css","assets/ProductPageServiceInfo-BdIAksD1.js"])))=>i.map(i=>d[i]);
2import{_ as W}from"./preload-helper-BfFHrpNk.js";import{w as lt,T as Oe}from"./runtime-dom.esm-bundler-Bm0-6-7k.js";import{g as dt,c as ut,a as ct,p as pt,d as _t}from"./index-hdnIDsqN.js";import{d as mt,e as vt,f as gt,c as ft,g as ht,b as yt}from"./products-BmbZhSUR.js";import{u as le,h as Xe,a as wt,l as Ve}from"./index.esm-CzVXYlLT.js";import{$ as u}from"./l10n-CGGNtq87.js";import{a as bt}from"./app-storage-wV_v2cMS.js";import{u as et}from"./event-BB8LJZvC.js";import{v as Ae}from"./v-lazy-load-BjNevzln.js";import{V as Ee}from"./vtooltip-DaxD26A9.js";import{_ as kt}from"./AppAdvantages-vgFyFvVn.js";import{_ as Ct}from"./app-CVprVFKY.js";import{d as B}from"./dayjs.min-B0RTI1Lu.js";import{I as de}from"./IconLoading-D9p-PT93.js";import{I as ze}from"./InputCounter-DR1OH6dC.js";import{_ as Be}from"./ListProductCards-DToqcm-T.js";import{M as tt}from"./Modal-5JEvAa1x.js";import{a as i,o as t,F as $,f as ve,d as r,j as A,k as D,q as ie,r as F,c as j,b as w,p as ge,z as rt,s as Se,X as at,w as z,g as xe,l as X,e as L,aw as xt,n as me,ay as Fe}from"./runtime-core.esm-bundler-qir4qudY.js";import{t as n,u as o,n as O,r as M,S as Le,a as _e}from"./reactivity.esm-bundler-BFx7IUI5.js";import{r as $t}from"./google-feed-BFjleqBW.js";import{u as it}from"./useLocaleFormat-DvXrBnZm.js";import{g as ot}from"./_commonjsHelpers-D6-XlEtG.js";import{t as Pt}from"./timezone-CtaH2OX4.js";import{u as Mt}from"./utc-3h0IjZqf.js";import{t as St}from"./json-ld-Cw88fcSS.js";import{_ as Lt}from"./_plugin-vue_export-helper-DlAUqK2U.js";import{I as Me}from"./IconStar-BnFJuhcR.js";import{I as Dt}from"./IconArrowRight-JPZdqG94.js";import"./index-DKCShYzV.js";import"./get-noun-BuN0d69S.js";import"./ProductCard-XJrVEh9h.js";import"./IconCloseSimple-BuMM0PT6.js";import"./index-C8FYt4yT.js";const It=["disabled"],He={__name:"ProductPageAddToCart",props:{btnClass:{default:"",type:String},inCart:{default:!1,type:Boolean},isAvailable:{default:!0,type:Boolean},loading:{default:!1,type:Boolean},noindexClass:{default:"",type:String}},emits:["add-to-cart"],setup(e,{emit:a}){const s=a;return(v,g)=>(t(),i("div",null,[e.isAvailable?(t(),i($,{key:0},[e.inCart?ve(v.$slots,"in-cart",{key:0}):(t(),i($,{key:1},[r("button",{type:"button",class:O(e.btnClass),disabled:e.loading,onClick:g[0]||(g[0]=p=>s("add-to-cart"))},[e.loading?(t(),A(de,{key:0})):(t(),i($,{key:1},[D(n(o(u)("common.add_to_cart")),1)],64))],10,It),ve(v.$slots,"default")],64))],64)):(t(),i("noindex",{key:1,class:O(e.noindexClass)},n(o(u)("product.not_available_for_order")),3))]))}},jt={class:"delimited-list-item mb-5"},qt={class:"swiper-wrapper"},Rt=["href"],Tt={__name:"ProductPageCities",props:{data:Array},setup(e){const a=M(null);return ie(()=>{new ObserverConstructor(a.value,{},(s,v)=>
2{s.forEach(async g=>{if(!g.isIntersecting)return;v.disconnect();const p=await W(()=>import("./swiper.min-BcX6GuGD.js").then(b=>b.s),__vite__mapDeps([0,1])).then(b=>b.default);new p(a.value,{freeMode:!0,mousewheel:!0,slidesPerView:"auto"})})}).observe()}),(s,v)=>(t(),i("section",jt,[v[0]||(v[0]=r("h2",{class:"section-title"},"Доставка цветов в другие города",-1)),r("ul",{ref_key:"elSlider",ref:a,class:"swiper-container"},[r("li",qt,[(t(!0),i($,null,F(e.data,(g,p)=>(t(),i("a",{class:"swiper-slide tag-alt",href:g.url,style:{width:"auto","white-space":"nowrap"},key:p+g.url},n(g.title),9,Rt))),128))])],512)]))}},Ot={class:"white-box order-1"},At={class:"white-box__title"},Et={class:"product-page__composition"},Vt={key:0,class:"product-page__composition-item"},zt=["href"],Bt={__name:"ProductPageComposition",props:{composition:{required:!0,type:Array},internalLinks:{required:!0,type:Object},product:{required:!0,type:Object}},setup(e){const a=e,s=M(4),v=j(()=>a.product.is_calculator?[a.product.items[0]]:a.composition.slice(0,s.value));function g(){s.value=1/0}return(p,b)=>(t(),i("div",Ot,[r("h2",At,n(o(u)("common.composition")),1),r("div",Et,[(t(!0),i($,null,F(v.value,(c,f)=>(t(),i($,{key:c.id},[f<s.value?(t(),i("div",Vt,[e.internalLinks[c.id]?(t(),i("a",{key:0,href:e.internalLinks[c.id].href},n(c.name),9,zt)):(t(),i($,{key:1},[D(n(c.name),1)],64)),b[1]||(b[1]=r("hr",{class:"product-page__composition-item-line"},null,-1)),e.product.is_calculator?(t(),i($,{key:2},[D(n(e.product.quantity),1)],64)):(t(),i($,{key:3},[D(n(Math.max(1,Math.round(c.quantity))),1)],64)),D(" "+n(o(u)("unit.pcs")),1)])):w("",!0)],64))),128))]),!e.product.is_calculator&&e.composition.length>s.value?(t(),i("div",{key:0,class:"product-page__composition-btn-show mt-3",onClick:b[0]||(b[0]=c=>g())},n(o(u)("common.show_all")),1)):w("",!0)]))}},Ft={class:"product-page-customizations flex-md-wrap hidden-scrollbar"},Ht=["disabled","onClick"],Nt={__name:"ProductPageCustomizations",props:{data:{required:!0,type:Object},disabled:{default:!1,type:Boolean},value:{default:null,type:Object}},emits:["change"],setup(e,{emit:a}){const s=a,v=e,g=j(()=>{var c;return((c=v.value)==null?void 0:c.code)||""}),p=j(()=>{const c=[{code:"",name:u("product.no_customization")}];return Object.keys(v.data).forEach(f=>c.push(v.data[f])),c});function b(c){s("change",c.code?c:null)}return(c,f)=>(t(),i("div",Ft,[(t(!0),i($,null,F(p.value,_=>(t(),i("button",{type:"button",class:O(["badge-chip badge-chip_outline badge-chip_only-text badge-chip_xl-l",{"badge-chip_active":g.value===_.code,"fm-btn_disabled":e.disabled}]),disabled:e.disabled,key:_.code||"default",onClick:I=>b(_)},n(_.name),11,Ht))),128))]))}},Yt={class:"text-nowrap text-primary"},Wt={key:1,class:"text-accent"},Zt={__name:"ProductPageDeliveryDate",props:{availableInCurrentCity:Boolean,deliveryConditions:{required:!0,type:Object},preferredDeliveryDate:{required:!1,type:String,default:""}},emits:["change","set"],setup(e,{emit:a}){const s=le().props.__lang,{datepickerFormat:v,dayjsDateFormat:g,datepickerLang:p}=it(),b=M(s),c=a,f=e,_=xe(async()=>{const T=await W(()=>import("./index.es-BjmdiBy9.js"),__vite__mapDeps([2,3,4,5]));return s==="ru"&&await W(()=>import("./ru.es-D6YqEBVv.js"),__vite__mapDeps([6,2,3,4,5])),b.value=await p(s),T}),I=M(!1),S=M(null),E=M(!1),C=M("");f.deliveryConditions&&(C.value=f.deliveryConditions.closestTime.split("T")[0],S.value=
2B(C.value).toDate());const q=j(()=>B(S.value).format(g));ge(I,T=>{T||document.body.removeEventListener("click",x)}),rt(()=>{const T=$t(f.preferredDeliveryDate,C.value,h);if(T){S.value=T,c("set",S.value);return}if(f.availableInCurrentCity){const P=browser_storage.local.getItem("deliveryDate");P&&B(P).isAfter(C.value,"day")?(S.value=B(P).toDate(),c("set",S.value)):browser_storage.local.removeItem("deliveryDate")}}),ie(()=>{E.value=!0}),Se(()=>document.body.removeEventListener("click",x));function h(T){if(!f.deliveryConditions)return;const P=T.getDay()||7,V=B(T).format("DD-MM"),G=f.deliveryConditions.allowedDeliveryDays.some(ae=>ae.num===P),re=f.deliveryConditions.enabledDays.some(ae=>B(ae.split("T")[0]).format("DD-MM")===V);return B(T).isBefore(C.value,"day")||!G&&!re}function x(T){T.target.closest(".mx-calendar")||(I.value=!1)}function Q(T){c("change",T),I.value=!1,browser_storage.local.setItem("deliveryDate",T.toJSON())}function Z(){if(I.value){I.value=!1;return}I.value=!0,document.body.addEventListener("click",x)}return(T,P)=>(t(),i("div",{class:"product-page__delivery-date",onClick:P[2]||(P[2]=lt(V=>Z(),["stop"]))},[P[3]||(P[3]=at('<svg class="product-page__delivery-date-icon" width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 2V5" stroke="currentColor" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 2V5" stroke="currentColor" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3.5 9.09009H20.5" stroke="currentColor" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M21 8.5V17C21 20 19.5 22 16 22H8C4.5 22 3 20 3 17V8.5C3 5.5 4.5 3.5 8 3.5H16C19.5 3.5 21 5.5 21 8.5Z" stroke="currentColor" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M15.6937 13.7002H15.7027" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M15.6937 16.7002H15.7027" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11.9945 13.7002H12.0035" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M11.9945 16.7002H12.0035" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8.29529 13.7002H8.30427" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M8.29529 16.7002H8.30427" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>',1)),r("div",null,[r("span",Yt,n(o(u)("product.delivery_date")+" "),1),E.value&&e.availableInCurrentCity?(t(),A(o(_),{key:0,value:S.value,"onUpdate:value":P[0]||(P[0]=V=>S.value=V),class:"product-delivery-date","input-class":"product-delivery-date__input",format:o(v),lang:b.value,"disabled-date":h,clearable:!1,open:I.value,onChange:P[1]||(P[1]=V=>Q(V))},{"icon-calendar":z(()=>[D(n(q.value),1)]),_:1},8,["value","format","lang","open"])):(t(),i("span",Wt,n(q.value),1))]),P[4]||(P[4]=r("svg",{class:"d-lg-none",width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[r("path",{d:"M8.91016 19.9201L15.4302 13.4001C16.2002 12.6301 16.2002 11.3701 15.4302 10.6001L8.91016 4.08008",stroke:"currentColor","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"})],-1))]))}},Gt={class:"product-page__terms-delivery","data-toggle":"v-modal","data-target":"SelectCity","data-event-type":"3","data-test-id":"product-terms-delivery-courier"},Jt={class:"d-flex flex-column"},Ut={class:"text-accent"},Qt={class:"product-page__terms-delivery-small-text"},Ne={__name:"ProductPageDeliveryPrice",props:{type:{default:"courier",type:String}},setup(e){const a=j(()=>u("order.delivery__.in_city",{val:le().props.__city.long_name}));return(s,v)=>X((t(),i("div",Gt,[ve(s.$slots,"icon"),r("div",Jt,[r("span",Ut,n(a.value),1),r("div",Qt,[ve(s.$slots,"default")])]),v[0]||(v[0]=r("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[r("path",{d:"M8.91016 19.9201L15.4302 13.4001C16.2002 12.6301 16.2002 11.3701 15.4302 10.6001L8.91016 4.08008",stroke:"currentColor","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"})],-1))])),[[o(Ee),o(u)("order.delivery__.val",{item:o(u)("order.delivery__.items."+e.type)})]])}};var $e={exports:{}},Kt=$e.exports,Ye;function Xt(){return Ye||(Ye=1,function(e,a){(function(s,v){e.exports=v()})(Kt,function(){return function(s,v,g){v.prototype.isToday=function(){var p="YYYY-MM-DD",b=g();return this.format(p)===b.format(p)}}})}($e)),$e.exports}var er=Xt();const tr=ot(er);var Pe={exports:{}},rr=Pe.exports,We;function ar(){return We||(We=1,function(e,a){(function(s,v){e.exports=v()})(rr,function(){return function(s,v,g){v.prototype.isTomorrow=function(){var p="YYYY-MM-DD",b=g().add(1,"day");return this.format(p)===b.format(p)}}})}(Pe)),Pe.exports}var ir=ar();const or=ot(ir),sr={class:"white-box d-md-block order-1"},nr={class:"white-box__title d-md-none"},lr={class:"white-box__title d-none d-md-block"},dr={class:"small text-secondary"},ur={__name:"ProductPageDeliveryTerms",props:{deliveryConditions:{required:!1,type:Object},product:{required:!0,type:Object}},setup(e){B.extend(tr),B.extend(or),B.extend(Pt),B.extend(Mt);const a=e,s=le().props.__city,v=le().props.__domain,{dayjsDateFormat:g,dayjsTimeFormat:p}=it(),b=M(""),c=M(!1),f=M(!1),_=M("");return ge(()=>a.deliveryConditions.closestTime,I=>{if(!a.deliveryConditions)return;const S=B.utc(I),E=B().tz(s.timezone);b.value=S.format(g),c.value=C(I,E),f.value=C(I,E,1),_.value=S.format(p);function C(q="",h,x=0){return q=B.utc(q.split("T")[0]),h.add(x,"day").isSame(q,"day")}},{immediate:!0}),(I,S)=>(t(),i("div",sr,[r("h3",nr,n(o(u)("common.delivery")),1),r("div",lr,n(o(u)("product.delivery_terms")),1),r("p",null,[D(n(o(u)("product.nearest_delivery"))+" ",1),e.deliveryConditions?(t
2(),i($,{key:0},[c.value?(t(),i($,{key:0},[D(n(o(u)("product.today")),1)],64)):f.value?(t(),i($,{key:1},[D(n(o(u)("product.tomorrow")),1)],64)):w("",!0),D(" "+n(b.value)+" ",1),o(v).isFm?(t(),i($,{key:2},[D(n(o(u)("product.from"))+" "+n(_.value+" "),1)],64)):w("",!0)],64)):w("",!0),o(v).isFm&&e.product.delivery_term?(t(),i($,{key:1},[D(n(o(u)("product.within"))+" "+n(e.product.delivery_term)+".",1),S[0]||(S[0]=r("br",null,null,-1))],64)):(t(),i($,{key:2},[D(n(o(u)("product.during_the_day"))+".",1),S[1]||(S[1]=r("br",null,null,-1))],64)),D(" "+n(o(u)("product.delivery_in_and_price",{city:o(s).long_name,price:e.product.delivery_cost_formatted})),1)]),r("i",dr,"* "+n(o(u)("product.delivery_footnote"))+".",1)]))}},cr={class:"white-box d-md-block"},pr={class:"white-box__title"},_r={class:"m-0",style:{"white-space":"pre-wrap"}},mr={__name:"ProductPageDescription",props:{data:String},setup(e){const a=e,s=M(200),v=M(a.data.length<=s.value),g=j(()=>{const p=a.data.replace(/<[^>]*>/g,"");return v.value?p:p.slice(0,s.value-1).trim()+"…"});return(p,b)=>(t(),i("div",cr,[r("h3",pr,n(o(u)("common.description")),1),r("p",_r,n(g.value),1),a.data.length>s.value?(t(),i("button",{key:0,type:"button",class:"fm-btn fm-btn_text mt-3",onClick:b[0]||(b[0]=c=>v.value=!v.value)},[D(n(o(u)("product.all_description"))+" ",1),(t(),i("svg",{width:"20",height:"21",viewBox:"0 0 20 21",style:Le({transform:v.value?"rotate(180deg)":""}),fill:"none",xmlns:"http://www.w3.org/2000/svg"},b[1]||(b[1]=[r("path",{d:"M9.99977 14.1963C9.41644 14.1963 8.83311 13.9713 8.39144 13.5297L2.95811 8.09632C2.71644 7.85465 2.71644 7.45465 2.95811 7.21299C3.19977 6.97132 3.59977 6.97132 3.84144 7.21299L9.27477 12.6463C9.67477 13.0463 10.3248 13.0463 10.7248 12.6463L16.1581 7.21299C16.3998 6.97132 16.7998 6.97132 17.0414 7.21299C17.2831 7.45465 17.2831 7.85465 17.0414 8.09632L11.6081 13.5297C11.1664 13.9713 10.5831 14.1963 9.99977 14.1963Z",fill:"#C0C6CE"},null,-1)]),4))])):w("",!0)]))}},vr={key:1,width:"28",height:"28",viewBox:"0 0 24 25",xmlns:"http://www.w3.org/2000/svg"},gr={key:2,width:"28",height:"28",viewBox:"0 0 24 25",xmlns:"http://www.w3.org/2000/svg"},fr={__name:"ProductPageFavorite",props:{productId:{required:!0,type:Number},inWishlist:{default:!1,type:Boolean}},emits:["change"],setup(e,{emit:a}){const s=a,v=e,g=M(!1);function p(b=0){g.value||(g.value=!0,v.inWishlist?mt(b).then(({data:c})=>{c.status==="success"?(s("change",!1),toastr.success(u("common.item_removed_from_favorites")),document.getElementById("js_favorites-number").textContent=c.count||""):toastr.error(c.message||u("common.error"))}).finally(()=>g.value=!1):vt(b).then(({data:c})=>{c.status==="success"?(s("change",!0),toastr.success(u("common.item_added_to_favorites")),document.getElementById("js_favorites-number").textContent=c.count||""):toastr.error(c.message||u("common.error"))}).finally(()=>g.value=!1))}return(b,c)=>X((t(),i("div",{class:O(["product-page__favorite",{"product-page__favorite_active":e.inWishlist}]),onClick:c[0]||(c[0]=f=>p(e.productId))},[g.value?(t(),A(de,{key:0})):e.inWishlist?(t(),i("svg",vr,c[1]||(c[1]=[r("path",{fill:"currentColor",d:"M12,21.92c-.31,0-.61-.04-.86-.13C7.32,20.48,1.25,15.83,1.25,8.96c0-3.5,2.83-6.34,6.31-6.34,1.69,0,3.27,.66,4.44,1.84,1.17-1.18,2.75-1.84,4.44-1.84,3.48,0,6.31,2.85,6.31,6.34,0,6.88-6.07,11.52-9.89,12.83-.25,.09-.55,.13-.86,.13ZM7.56,10.49c-2.65,0-4.81-.15-4.81-.33,0-.47,6.57-.74,8.88-.79,.18,0,.57,0,.75,0,2.3,.05,8.88,.32,8.88,.79,0,.18-2.16,.33-4.81,.33-1.52,0-2.93-.05-3.84-.13-.28-.03-.92-.03-1.2,0-.93,.09-2.33,.13-3.85,.13Z"},null,-1)]))):(t(),i("svg",gr,c[2]||(c[2]=[r("path",{fill:"currentColor",d:"M12 21.916C11.69 21.916 11.39 21.876 11.14 21.786C7.32 20.476 1.25 15.826 1.25 8.95597C1.25 5.45597 4.08 2.61597 7.56 2.61597C9.25 2.61597 10.83 3.27597 12 4.45597C13.17 3.27597 14.75 2.61597 16.44 2.61597C19.92 2.61597 22.75 5.46597 22.75 8.95597C22.75 15.836 16.68 20.476 12.86 21.786C12.61 21.876 12.31 21.916 12 21.916ZM7.56 4.11597C4.91 4.11597 2.75 6.28597 2.75 8.95597C2.75 15.786 9.32 19.586 11.63 20.376C11.81 20.436 12.2 20.436 12.38 20.376C14.68 19.586 21.26 15.796 21.26 8.95597C21.26 6.28597 19.1 4.11597 16.45 4.11597C14.93 4.11597 13.52 4.82597 12.61 6.05597C12.33 6.43597 11.69 6.43597 11.41 6.05597C10.48 4.81597 9.08 4.11597 7.56 4.11597Z"},null,-1)])))],2)),[[o(Ee),o(u)(e.inWishlist?"product.in_favorites":"product._add_favorites")]])}},hr=["data-src","data-thumb-src"],yr=["data-lazy-src","aria-label"],wr=["src","aria-label","alt"],br={__name:"ProductPageGallery",props:{alt:{required:"",type:String},items:{required:!0,type:Array}},setup(e){W(()=>Promise.resolve({}),__vite__mapDeps([7]));const a=e,s=M(null);return ie(async()=>{const{Fancybox:v}=await W(async()=>{const{Fancybox:p}=await import("./index-C15R3u8j.js");return{Fancybox:p}},__vite__mapDeps([8,9]));let g=null;if(a.items.length>1){await Promise.all([W(()=>Promise.resolve({}),__vite__mapDeps([10])),W(()=>Promise.resolve({}),__vite__mapDeps([11]))]);const[{Arrows:p,Carousel:b,Lazyload:c,Thumbs:f},{Dots:_}]=await Promise.all([W(()=>import("./index-C15R3u8j.js"),__vite__mapDeps([8,9])),W(()=>import("./carousel.dots-B7cQgRrX.js"),__vite__mapDeps([12,9]))]);g=b(s.value,{Thumbs:{type:"classic"},Lazyload:{preload:0}},{Arrows:p,Thumbs:f,Dots:_,Lazyload:c}).init()}v.bind("[data-fancybox]",{Hash:!1,Carousel:g})}),(v,g)=>(t(),i("div",{ref_key:"gallery",ref:s,class:"f-carousel"}
2,[(t(!0),i($,null,F(e.items,(p,b)=>(t(),i("div",{class:"f-carousel__slide","data-fancybox":"gallery","data-src":p.large_image,"data-thumb-src":p.small_image,key:p.id},[b?(t(),i("img",{key:0,class:"f-carousel__slide-img",src:"/img/empty.svg","data-lazy-src":p.large_image,"aria-label":"Image ".index+1,width:"1000",height:"1000",alt:""},null,8,yr)):(t(),i("img",{key:1,class:"f-carousel__slide-img",src:p.large_image,fetchpriority:"high","aria-label":e.alt,width:"1000",height:"1000",alt:e.alt},null,8,wr))],8,hr))),128))],512))}},kr={__name:"ProductPageJsonLd",props:{isAvailable:Boolean,name:{required:!0,type:String},reviews:Array,avgRating:{type:[String,Number],default:0},ratingsCount:{type:[String,Number],default:0}},setup(e){var T;const{__breadcrumbs:a,__country:s,__currency:v,__domain:g,contacts:p,meta:b,product:c,routes:f}=le().props,_=e,I=c.client_description||b.description,S=Z(c.url,"?"),E=g.site_name.replaceAll(" ",""),C={"@context":"https://schema.org","@type":"Product","@id":S+"#product",name:_.name,image:c.media.map(P=>P.large_image),description:I,sku:"MGF-DIEF-"+c.id,mpn:"MGF-DIEF-"+c.id,brand:{"@type":"Brand",name:E},category:a.filter((P,V)=>V).map(P=>P.title).join(" > "),itemCondition:"https://schema.org/NewCondition",offers:{"@type":"Offer","@id":S+"#offer",url:S,priceCurrency:v.code,price:c.price||0,priceValidUntil:B().endOf("year").format("YYYY-MM-DD"),availability:"https://schema.org/"+(_.isAvailable?"InStock":"OutOfStock"),itemCondition:"https://schema.org/NewCondition",seller:{"@type":"Florist",name:E,url:f.home,image:f.home+(g.isFm?"/img/flomarket-logo.svg":"/img/mgf-logo.svg"),priceRange:"$$",telephone:p.phoneFormatted,address:{"@type":"PostalAddress",streetAddress:p.address.street,addressLocality:p.address.locality,addressRegion:p.address.region,postalCode:p.address.postalCode,addressCountry:s.code}},shippingDetails:{"@type":"OfferShippingDetails",deliveryTime:{"@type":"ShippingDeliveryTime",businessDays:{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"]},handlingTime:{"@type":"QuantitativeValue",minValue:0,maxValue:1,unitCode:"d"},transitTime:{"@type":"QuantitativeValue",minValue:0,maxValue:1,unitCode:"d"}},shippingRate:{"@type":"MonetaryAmount",value:c.delivery_cost,currency:v.code},shippingDestination:{"@type":"DefinedRegion",addressCountry:s.code}},hasMerchantReturnPolicy:{"@type":"MerchantReturnPolicy",applicableCountry:s.code,merchantReturnDays:g.isFm?7:30,merchantReturnLink:f.public_sitepage_show.refunds,returnFees:"https://schema.org/FreeReturn",returnMethod:"https://schema.org/ReturnByMail",refundType:"https://schema.org/FullRefund",returnPolicyCategory:"https://schema.org/MerchantReturnFiniteReturnWindow"}}};g.isFm||(p.country&&(C.offers.seller.areaServed={"@type":"Country",name:p.country}),(T=p.sameAs)!=null&&T.length&&(C.offers.seller.sameAs=p.sameAs));const q=_.reviews.filter(P=>Number(P.mark)>0),h=Number(_.avgRating)||0,x=Number(_.ratingsCount)||0;h>0&&x>0&&(C.aggregateRating={"@type":"AggregateRating",ratingValue:h.toFixed(1),ratingCount:x,bestRating:"5",worstRating:"1"}),q.length&&(C.review=q.map(P=>{const V={"@type":"Review",author:{"@type":"Person",name:P.customer_name||u("common.anonym")},reviewBody:P.comment,reviewRating:{"@type":"Rating",bestRating:"5",ratingValue:P.mark,worstRating:"1"}};return P.created_at_iso&&(V.datePublished=P.created_at_iso),V}));const Q=[{"@context":"https://schema.org","@type":"WebPage",name:b.title,url:S,isPartOf:{"@type":"WebSite",name:g.site_name,url:f.home},about:{"@type":"Thing",name:_.name,description:I},significantLinks:[f.about,f.public_sitepage_show.guarantee,f.public_sitepage_show.delivery,f.public_sitepage_show.refunds,f.public_sitepage_show.contact]},C];c.media.length&&Q.push({"@context":"https://schema.org","@type":"ImageObject",contentUrl:c.media[0].large_image,description:c.client_description||_.name,name:_.name});function Z(P,V){const G=P.indexOf(V);return G===-1?P:P.slice(0,G)}return(P,V)=>(t(),A(o(Xe),null,{default:z(()=>[(t(),i($,null,F(Q,G=>L(xt("script"),{type:"application/ld+json","data-type":G["@type"],key:G["@type"]},{default:z(()=>[D(n(o(St)(G)),1)],void 0,!0),_:2},1032,["data-type"])),64))],void 0),_:1}))}},Cr={class:"product-labels"},xr={__name:"ProductPageLabels",props:{labels:{required:!0,type:Array}},setup(e){const a=e,s=j(()=>{const v={};
2return a.labels.forEach(g=>{switch(g.code){case"discount":v[g.code]={classModifier:"product-labels__item_success"};break;case"new":case"product_of_day":v[g.code]={classModifier:"product-labels__item_danger"};break;case"same_day":default:v[g.code]={classModifier:"product-labels__item_warning"};break}}),v});return(v,g)=>(t(),i("div",Cr,[ve(v.$slots,"before"),(t(!0),i($,null,F(e.labels,p=>(t(),i("div",{class:O(["product-labels__item",s.value[p.code].classModifier]),key:p.code},n(p.name),3))),128))]))}},$r=["data-src","alt"],Ze={__name:"ProductPagePartnerAvatar",props:{partner:{required:!0,type:Object}},setup(e){return(a,s)=>X((t(),i("img",{class:"img-fluid product-page__partner-avatar",src:"/img/empty.svg","data-src":e.partner.avatar.small_image,width:"74",height:"74",alt:e.partner.name},null,8,$r)),[[o(Ae)]])}},Pr={class:"white-box order-1"},Mr={class:"d-flex product-page__partner"},Sr=["href"],Lr={key:1,class:"flex-shrink-0 mr-3"},Dr={class:"align-self-center"},Ir=["href"],jr={key:1,class:"product-page__partner-name"},qr={key:2,class:"product-page__partner-city mb-3"},Rr={class:"d-flex hidden-scrollbar"},Tr=["href"],Or=["href"],Ar={key:1,class:"product-page__partner-comments"},Er={__name:"ProductPagePartner",props:{partner:{required:!0,type:Object}},setup(e){const a=e,s={beforeMount(v){a.partner.nofollow&&v.setAttribute("rel","nofollow")}};return ie(()=>{a.partner.avatar||send_log("У партнёра нет аватарки")}),(v,g)=>{var p,b;return t(),i("div",Pr,[r("div",Mr,[(p=e.partner.avatar)!=null&&p.small_image?(t(),i($,{key:0},[e.partner.has_link?X((t(),i("a",{key:0,class:"flex-shrink-0 mr-3",href:e.partner.url},[L(Ze,{partner:e.partner},null,8,["partner"])],8,Sr)),[[s]]):(t(),i("div",Lr,[L(Ze,{partner:e.partner},null,8,["partner"])]))],64)):w("",!0),r("div",Dr,[e.partner.has_link?X((t(),i("a",{key:0,class:"product-page__partner-name",href:e.partner.url},[D(n(e.partner.name),1)],8,Ir)),[[s]]):(t(),i("div",jr,n(e.partner.name),1)),(b=e.partner.salon)!=null&&b.full_address?(t(),i("div",qr,n(e.partner.salon.full_address),1)):w("",!0),r("div",Rr,[e.partner.has_link?X((t(),i("a",{key:0,class:"product-page__partner-flowers",href:e.partner.url+"#partner-tabs"},[D(n(o(u)("product.all_products")),1)],8,Tr)),[[s]]):w("",!0),e.partner.reviews_qty?(t(),i($,{key:1},[e.partner.has_link?X((t(),i("a",{key:0,class:"product-page__partner-comments",href:e.partner.url+"#reviews-tabs"},[D(n(o(u)("review.reviews"))+" "+n(e.partner.reviews_qty),1)],8,Or)),[[s]]):(t(),i("div",Ar,n(o(u)("review.reviews"))+" "+n(e.partner.reviews_qty),1))],64)):w("",!0)])])])])}}},Vr={key:1,class:"d-flex align-items-start mr-auto"},zr={key:2,class:"small mt-1"},Ge={__name:"ProductPagePrice",props:{fullPriceClass:{default:"",type:String},iconLoadingSize:{default:24,type:[Number,String]},loading:{default:!1,type:Boolean},priceClass:{default:"",type:String},product:{required:!0,type:Object}},setup(e){const a=M([3,15,16].includes(le().props.__domain.id));return(s,v)=>(t(),i("div",null,[e.loading?(t(),A(de,{key:0,size:e.iconLoadingSize},null,8,["size"])):(t(),i("div",Vr,[r("div",{class:O(["product-page__new-price pr-3",e.priceClass])},n(e.product.price_formatted),3),e.product.discount?(t(),i("div",{key:0,class:O(["product-page__od-price",e.fullPriceClass])},n(e.product.full_price_formatted),3)):w("",!0)])),a.value?(t(),i("div",zr,v[0]||(v[0]=[D(" Inkl. MwSt., zzgl. "),r("a",{href:"/lieferung"},"Versandkosten",-1)]))):w("",!0)]))}},Br={class:"product-rating"},Fr={__name:"ProductPageRating",props:{avgRating:{required:!0,type:Number},ratingsCount:{required:!0,type:Number}},setup(e){const a=e,s=j(()=>parseFloat(a.avgRating.toFixed(1)));return(v,g)=>(t(),i("div",Br,[g[0]||(g[0]=r("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[r("path",{fill:"#FFBC5A",d:"M11.4409 2.92492L12.9075 5.85825C13.1075 6.26659 13.6409 6.65825 14.0909 6.73325L16.7492 7.17492C18.4492 7.45825 18.8492 8.69159 17.6242 9.90825L15.5575 11.9749C15.2075 12.3249 15.0159 12.9999 15.1242 13.4833L15.7159 16.0416C16.1825 18.0666 15.1075 18.8499 13.3159 17.7916L10.8242 16.3166C10.3742 16.
20499 9.63253 16.0499 9.17419 16.3166L6.68253 17.7916C4.89919 18.8499 3.81586 18.0583 4.28253 16.0416L4.87419 13.4833C4.98253 12.9999 4.79086 12.3249 4.44086 11.9749L2.37419 9.90825C1.15753 8.69159 1.54919 7.45825 3.24919 7.17492L5.90753 6.73325C6.34919 6.65825 6.88252 6.26659 7.08252 5.85825L8.54919 2.92492C9.34919 1.33325 10.6492 1.33325 11.4409 2.92492Z"})],-1)),D(" "+n(s.value)+" ("+n(o(u)("review.count_reviews",{count:{qty:e.ratingsCount}}))+") ",1)]))}},Hr={},Nr={xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"};function Yr(e,a){return t(),i("svg",Nr,a[0]||(a[0]=[r("path",{d:"M13.2788 5.9668L8.93208 10.3135C8.41875 10.8268 7.57875 10.8268 7.06542 10.3135L2.71875 5.9668",stroke:"currentColor","stroke-width":"1.5","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))}const Wr=Lt(Hr,[["render",Yr]]),Zr={class:"product-page-review"},Gr={class:"product-page-review__header"},Jr={class:"product-page-review__meta"},Ur={class:"product-page-review__author"},Qr={class:"product-page-review__date"},Kr={key:0,class:"product-page-review__stars"},Xr={class:"product-page-review__photos-label"},ea={key:0,class:"product-page-review__photos-wrapper"},ta=["data-fancybox","data-src"],ra=["src"],aa={key:0,class:"product-page-review__photo-overlay"},ia={class:"d-none"},oa=["data-fancybox","data-src"],Je=40,sa=4,Ue={__name:"ProductPageReview",props:{data:{required:!0,type:Object},full:{type:Boolean,default:!1}},emits:["read-more"],setup(e){W(()=>Promise.resolve({}),__vite__mapDeps([7]));const a=e,s=M(null),v=M(0);let g=null;const p=j(()=>{var C;return((C=a.data.customer_photos)==null?void 0:C.data)??[]}),b=j(()=>{const C=`review-${a.data.id??a.data.created_at??a.data.customer_name??"unknown"}`;return a.full?`${C}-modal`:C}),c=j(()=>{if(!v.value)return p.value.length;const C=Je-sa,q=Math.floor((v.value-Je)/C)+1;return Math.max(1,q)}),f=j(()=>Math.min(c.value,p.value.length)),_=j(()=>{const C=p.value.slice(0,f.value),q=Math.max(0,p.value.length-f.value);return C.map((h,x)=>({...h,_extraCount:q>0&&x===C.length-1?q:0,_key:h.id??h.url??`photo-${x}`}))}),I=j(()=>p.value.slice(f.value));async function S(){const{Fancybox:C}=await W(async()=>{const{Fancybox:h}=await import("./index-C15R3u8j.js");return{Fancybox:h}},__vite__mapDeps([8,9])),q=`[data-fancybox="${b.value}"]`;C.bind(q,{Hash:!1})}function E(){if(!s.value){v.value=0;return}const C=getComputedStyle(s.value),q=Number.parseFloat(C.paddingLeft||"0")+Number.parseFloat(C.paddingRight||"0");v.value=Math.max(0,s.value.clientWidth-q)}return ie(async()=>{await me(),E(),await S(),!(typeof ResizeObserver>"u"||!s.value)&&(g=new ResizeObserver(()=>{E()}),g.observe(s.value))}),Se(()=>{g==null||g.disconnect(),g=null}),(C,q)=>(t(),i("div",Zr,[r("div",Gr,[r("div",Jr,[r("span",Ur,n(e.data.customer_name||o(u)("common.anonym")),1),r("span",Qr,n(e.data.created_at),1)]),e.data.mark?(t(),i("div",Kr,[(t(),i($,null,F(5,h=>L(Me,{key:h,class:O(["product-page-review__star",h<=Math.round(e.data.mark)?"product-page-review__star--active":""])},null,8,["class"])),64))])):w("",!0)]),r("p",{class:O(["product-page-review__text",e.full?"product-page-review__text--full":""])},n(e.data.comment),3),!e.full&&(e.data.comment??"").length>=50?(t(),i("button",{key:0,class:"product-page-review__read-more",onClick:q[0]||(q[0]=h=>C.$emit("read-more"))},[D(n(o(u)("review.read_more"))+" ",1),L(Dt,{class:"product-page-review__read-more-arrow"})])):w("",!0),p.value.length?(t(),i("div",{key:1,ref_key:"photosBlockRef",ref:s,class:"product-page-review__photos"},[r("div",Xr,n(o(u)("review.photos")),1),_.value.length?(t(),i("div",ea,[(t(!0),i($,null,F(_.value,(h,x)=>(t(),i("a",{key:h._key,"data-fancybox":b.value,"data-src":h.large_image||h.medium_image||h.small_image||h.url,class:"product-page-review__photo-item",href:"javascript:;",style:Le({zIndex:_.value.length-x})},[r("img",{src:h.small_image||h.medium_image||h.large_image||h.url||"/img/empty.svg",class:"product-page-review__photo",alt:"",loading:"lazy"},null,8,ra),h._extraCount>0?(t(),i("div",aa," +"+n(h._extraCount),1)):w("",!0)],12,ta))),128)),r("div",ia,[(t(!0),i($,
2null,F(I.value,(h,x)=>(t(),i("a",{key:h.id??h.url??`photo-hidden-${x}`,"data-fancybox":b.value,"data-src":h.large_image||h.medium_image||h.small_image||h.url,href:"javascript:;"},null,8,oa))),128))])])):w("",!0)],512)):w("",!0)]))}},na={class:"product-reviews__stats"},la={class:"product-reviews__head"},da={class:"product-reviews__score"},ua={class:"product-reviews__avg"},ca={class:"product-reviews__stars"},pa={class:"product-reviews__meta"},_a={class:"m-0"},ma={class:"mr-1"},va={class:"m-0"},ga={class:"mr-1"},fa={class:"product-reviews__distribution"},ha={class:"product-reviews__dist-num"},ya={class:"product-reviews__dist-track"},wa={class:"product-reviews__dist-count"},st={__name:"ProductPageReviewsStats",props:{avgRating:{type:[Number,String],default:0},ratingsCount:{type:Number,default:0},purchasesCount:{type:Number,default:0},distribution:{type:Object,default:()=>({})}},setup(e){const a=e,s=j(()=>{const c=String(a.avgRating??"").replace(",","."),f=Number.parseFloat(c);return Number.isNaN(f)?0:Math.min(5,Math.max(0,f))}),v=j(()=>Math.round(s.value)),g=j(()=>s.value.toFixed(1)),p=j(()=>Math.max(...[5,4,3,2,1].map(c=>a.distribution[c]||0),1));function b(c){return Math.round((a.distribution[c]||0)/p.value*100)}return(c,f)=>(t(),i("div",na,[r("div",la,[r("div",da,[r("span",ua,n(g.value),1),r("div",ca,[(t(),i($,null,F(5,_=>
2L(Me,{key:_,class:O(["product-reviews__star",_<=v.value?"product-reviews__star--active":""])},null,8,["class"])),64))])]),r("div",pa,[r("p",_a,[r("span",ma,n(e.ratingsCount),1),D(" "+n(o(u)("review.ratings")),1)]),r("p",va,[r("span",ga,n(e.purchasesCount),1),D(" "+n(o(u)("review.purchases")),1)])])]),f[0]||(f[0]=r("hr",{class:"product-reviews__divider"},null,-1)),r("div",fa,[(t(),i($,null,F([5,4,3,2,1],_=>r("div",{key:_,class:"product-reviews__dist-row"},[r("span",ha,n(_),1),L(Me,{class:O(["product-reviews__star","product-reviews__dist-icon",(e.distribution[_]||0)>0?"product-reviews__star--active":""])},null,8,["class"]),r("div",ya,[r("div",{class:"product-reviews__dist-fill",style:Le({width:b(_)+"%"})},null,4)]),r("span",wa,n(e.distribution[_]||0),1)])),64))])]))}},ba={class:"white-box product-reviews"},ka={class:"product-reviews__top"},Ca={class:"white-box__title product-reviews__title m-0"},xa={key:0,class:"product-reviews__layout"},$a={class:"white-box__title product-reviews__latest-title m-0"},Pa={class:"swiper-wrapper"},Ma={key:0,class:"swiper-controls product-reviews__controls"},Sa={key:0,class:"product-reviews__load-more"},La={key:1,class:"product-reviews__mobile-summary"},Da={class:"product-reviews__mobile-score"},Ia={class:"product-reviews__mobile-avg"},ja={class:"product-reviews__stars product-reviews__mobile-stars"},qa={key:0,class:"product-reviews__mobile-divider"},Ra={class:"product-reviews__mobile-meta"},Ta={class:"m-0"},Oa={class:"mr-1"},Aa={class:"m-0"},Ea={class:"mr-1"},Va={class:"product-reviews__mobile-photos"},za=["src"],Ba={key:0,class:"product-reviews__mobile-photo-overlay"},Fa={class:"swiper-wrapper"},Ha={key:0,class:"swiper-controls product-reviews-modal__controls"},Na={key:0,class:"product-reviews__load-more product-reviews__load-more_modal"},Ya=3,Qe=5,Wa={__name:"ProductPageReviews",props:{initialReviews:{type:Array,default:()=>[]},initialTotal:{type:Number,default:0},initialStats:{type:Object,default:null},productId:{required:!0,type:Number}},setup(e){var l,d,N,H;const a=e,s=M([...a.initialReviews]),v=M(a.initialTotal),g=M(((l=a.initialStats)==null?void 0:l.stars_distribution)??{}),p=M({avg_rating:((d=a.initialStats)==null?void 0:d.avg_rating)??0,ratings_count:((N=a.initialStats)==null?void 0:N.reviews_count)??0,purchases_count:((H=a.initialStats)==null?void 0:H.purchase_count)??0}),b=M(null),c=M(!1),f=M(0),_=M(null),I=M(!1),S=M(!1),E=M(!1),C=M(1),q=M(0);let h=null,x=null,Q=!1;const Z=j(()=>s.value.length<v.value),T=j(()=>{const m=String(p.value.avg_rating??"").replace(",","."),k=Number.parseFloat(m);return Number.isNaN(k)?0:Math.min(5,Math.max(0,k))}),P=j(()=>Math.round(T.value)),V=j(()=>T.value.toFixed(1)),G=j(()=>!I.value||S.value),re=j(()=>Z.value||s.value.length>2),ae=j(()=>q.value<=767.98?1:q.value<=991.98?2:3),K=j(()=>Z.value||s.value.length>ae.value),ee=j(()=>Z.value||s.value.length>1),fe=j(()=>s.value.flatMap(m=>{var k;return((k=m.customer_photos)==null?void 0:k.data)??[]})),oe=j(()=>{const m=fe.value.slice(0,Qe),k=Math.max(0,fe.value.length-Qe);return m.map((R,Y)=>({...R,_extraCount:k>0&&Y===m.length-1?k:0,_key:R.id??R.url??`summary-photo-${Y}`}))});function ue(){q.value=window.innerWidth,I.value=q.value<=767.98,I.value||(S.value=!0)}function De(){I.value&&(S.value=!S.value)}function Ie(){!I.value||S.value||(S.value=!0)}function ce(){h==null||h.destroy(!0,!0),h=null}function he(){x==null||x.destroy(!0,!0),x=null}function J(m){var k;m==null||m.update(),(k=m==null?void 0:m.pagination)==null||k.update()}function U(m,k){var R,Y;m&&(m.allowTouchMove=k,m.allowSlideNext=k,m.allowSlidePrev=k,m.params.simulateTouch=k,k?(R=m.setGrabCursor)==null||R.call(m):(Y=m.unsetGrabCursor)==null||Y.call(m))}function je(){U(h,K.value),U(x,ee.value)}function ye(){J(h),J(x),je()}function we(m,k=""){return{containerEl:m==null?void 0:m.querySelector(`.js_swiper-${k}container`),paginationEl:m==null?void 0:m.querySelector(`.js_swiper-${k}pagination`),nextEl:m==null?void 0:m.querySelector(`.js_swiper-${k}next`),prevEl:m==null?void 0:m.querySelector(`.js_swiper-${k}prev`)}}function be({enabled:m,paginationEl:k,nextEl:R,prevEl:Y,isFraction:ne=!1,dynamicBullets:pe=!0}){return!m||!k||!R||!Y?{}:{navigation:{nextEl:R,prevEl:Y},pagination:ne?{el:k,type:"fraction"}:{clickable:!0,dynamicBullets:pe,el:k}}}async function se(){if(!(E.value||!Z.value)){E.value=!0;try{const{data:m}=await gt(a.productId,{page:C.value+1,per_page:Ya,require_comment:1}),k=(m==null?void 0:m.data)??[];s.value=[...s.value,...k],C.value++,await me(),ye()}catch{}finally{E.value=!1}}}async function te(){if(!b.value||h)return;const{default:m}=await W(async()=>{const{default:Re}=await import("./swiper.min-BcX6GuGD.js").then(Te=>Te.s);return{default:Re}},__vite__mapDeps([0,1])),{containerEl:k,paginationEl:R,nextEl:Y,prevEl:ne}=we(b.value),pe=be({enabled:K.value,paginationEl:R,nextEl:Y,prevEl:ne,dynamicBullets:re.value});Q=K.value,h=new m(k,{allowTouchMove:K.value,slidesPerView:3,spaceBetween:8,speed:300,...pe,breakpoints:{991.98:{slidesPerView:2},767.98:{slidesPerView:1}},on:{reachEnd:se}})}
2async function ke(){if(!_.value)return;const{default:m}=await W(async()=>{const{default:Te}=await import("./swiper.min-BcX6GuGD.js").then(nt=>nt.s);return{default:Te}},__vite__mapDeps([0,1])),k=window.innerWidth<=767.98,{containerEl:R,paginationEl:Y,nextEl:ne,prevEl:pe}=we(_.value,"modal-"),Re=be({enabled:ee.value,paginationEl:Y,nextEl:ne,prevEl:pe,isFraction:k,dynamicBullets:re.value});x=new m(R,{allowTouchMove:ee.value,initialSlide:f.value,slidesPerView:1,spaceBetween:8,...Re,on:{reachEnd:se}})}async function qe(){!h||Q===K.value||(ce(),await me(),G.value&&s.value.length&&await te())}async function Ce(m){f.value=m,c.value=!0,await me(),await ke()}function y(){c.value=!1,he()}return et(()=>window,"resize",ue),ie(async()=>{ue(),G.value&&s.value.length&&await te()}),ge(()=>[G.value,s.value.length],async([m,k])=>{if(!m||!k){ce();return}if(await me(),h){J(h);return}await te()}),ge(()=>[K.value,ee.value,q.value],async()=>{await qe(),ye()}),Se(()=>{ce(),he()}),(m,k)=>(t(),i("div",ba,[r("div",ka,[r("h3",Ca,n(o(u)("review.reviews")),1),I.value&&s.value.length?(t(),i("button",{key:0,type:"button",class:"product-reviews__toggle",onClick:De},[D(n(o(u)(S.value?"review.collapse":"review.show_details"))+" ",1),L(Wr,{class:O(["product-reviews__toggle-icon",{"product-reviews__toggle-icon--expanded":S.value}])},null,8,["class"])])):w("",!0)]),s.value.length?(t(),i($,{key:0},[!I.value||S.value?(t(),i("div",xa,[L(st,{"avg-rating":p.value.avg_rating,"ratings-count":p.value.ratings_count,"purchases-count":p.value.purchases_count,distribution:g.value},null,8,["avg-rating","ratings-count","purchases-count","distribution"]),r("h4",$a,n(o(u)("review.last_reviews")),1),r("div",{ref_key:"sliderWrapRef",ref:b,class:"product-reviews__slider-wrap"},[r("div",{class:O(["swiper-container product-reviews__swiper js_swiper-container",{"product-reviews__swiper_disabled":!K.value}])},[r("div",Pa,[(t(!0),i($,null,F(s.value,(R,Y)=>(t(),i("div",{key:R.id,class:"swiper-slide"},[L(Ue,{data:R,onReadMore:ne=>Ce(Y)},null,8,["data","onReadMore"])]))),128))])],2),K.value?(t(),i("div",Ma,k[0]||(k[0]=[r("div",{class:"swiper-button swiper-button-prev js_swiper-prev"},null,-1),r("div",{class:"swiper-pagination js_swiper-pagination"},null,-1),r("div",{class:"swiper-button swiper-button-next js_swiper-next"},null,-1)]))):w("",!0),L(Oe,{name:"product-reviews-loader"},{default:z(()=>[E.value?(t(),i("div",Sa,[L(de,{size:28})])):w("",!0)],void 0),_:1})],512)])):(t(),i("div",La,[r("div",Da,[r("span",Ia,n(V.value),1),r("div",ja,[(t(),i($,null,F(5,R=>L(Me,{key:`summary-star-${R}`,class:O(["product-reviews__star",R<=P.value?"product-reviews__star--active":""])},null,8,["class"])),64))])]),oe.value.length?(t(),i("div",qa)):w("",!0),r("div",Ra,[r("p",Ta,[r("span",Oa,n(p.value.ratings_count),1),D(" "+n(o(u)("review.ratings")),1)]),r("p",Aa,[r("span",Ea,n(p.value.purchases_count),1),D(" "+n(o(u)("review.purchases")),1)])]),oe.value.length?(t(),i($,{key:1},[k[1]||(k[1]=r("div",{class:"product-reviews__mobile-divider"},null,-1)),r("div",Va,[(t(!0),i($,null,F(oe.value,(R,Y)=>(t(),i("button",{key:R._key,class:"product-reviews__mobile-photo-item",type:"button",style:Le({zIndex:oe.value.length-Y}),onClick:Ie},[r("img",{src:R.small_image||R.medium_image||R.large_image||R.url||"/img/empty.svg",class:"product-reviews__mobile-photo",alt:"",loading:"lazy"},null,8,za),R._extraCount>0?(t(),i("div",Ba," +"+n(R._extraCount),1)):w("",!0)],4))),128))])],64)):w("",!0)]))],64)):w("",!0),c.value?(t(),A(tt,{key:1,touch:!0,onClose:y},{default:z(()=>[r("div",{ref_key:"modalSwiperWrapRef",ref:_,class:"product-reviews-modal"},[r("div",{class:O(["swiper-container js_swiper-modal-container",{"product-reviews__swiper_disabled":!ee.value}])},[r("div",Fa,[(t(!0),i($,null,F(s.value,R=>(t(),i("div",{key:R.id,class:"swiper-slide"},[L(Ue,{data:R,full:!0},null,8,["data"])]))),128))])],2),k[3]||(k[3]=r("div",{class:"product-reviews-modal__divider"},null,-1)),ee.value?(t(),i("div",Ha,k[2]||(k[2]=[r("div",{class:"swiper-button swiper-button-prev js_swiper-modal-prev"},null,-1),r("div",{class:"swiper-pagination js_swiper-modal-pagination"},null,-1),r("div",{class:"swiper-button swiper-button-next js_swiper-modal-next"},null,-1)]))):w("",!0),L(Oe,{name:"product-reviews-loader"},{default:z(()=>[E.value?(t(),i("div",Na,[L(de,{size:28})])):w("",!0)],void 0,!0),_:1})],512)],void 0),_:1})):w("",!0)]))}},Za=["href"],Ga={class:"boxes-style pb-3 pb-sm-5"},Ja={id:"js_product-page-box",class:"container"},Ua={class:"product-page"},Qa={class:"product-page__col"},Ka={class:"product-page__sticky-box"},Xa={key:0,class:"product-labels__item product-labels__item_danger"},ei={class:"product-page__col product-page__col_right"},ti={class:"white-box"},ri=["innerHTML"],ai={key:1,class:"product-page__purchase-qty mb-3 mt-lg-4 mb-lg-4"},ii={class:"product-page__size mb-2"},oi={class:"product-page__buttons-size flex-md-wrap hidden-scrollbar mb-3 mb-lg-4"},si=["disabled","onClick"],ni={class:"product-page__size mb-2"},li={key:0,class:"product-page__size"},di={class:"white-box product-page__price-and-btn-buy"},ui={class:"product-page__price-info"},ci={key:0,class:"product-page__bonus-box"},pi={class:"product-page__bonus-text"},_i={class:"product-page__bonus-info",width:"20",height:"21",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-tooltip-html":"true"},mi={key:1,class:"product-page__bonus"},vi={key:0,class:"product-page__terms-delivery-list"},gi=["data-customization-code","data-img","data-name","data-price","data-product-id"],fi={class:"white-box"},hi={class:"product-page__guarantee"},yi={class:"flex-shrink-0",src:"/img/empty-transparent.svg","data-src":"/img/product/guarantee.png",width:"48",height:"48",alt:""},wi={class:"product-page__guarantee-text"},bi={class:"product-page__badges-tabs hidden-scrollbar d-md-none"},ki=["onClick"],Ci={class:"white-box__title"},xi={class:"product-page__payment-methods"},$i=["data-src"],Pi={class:"white-box__title"},Mi=["innerHTML"],Si={key:5,class:"white-box product-reviews order-3"},Li={class:"product-reviews__top"},Di={class:"white-box__title product-reviews__title m-0"},Ii={class:"d-sm-none floating-order-box"},ji={class:"container"},qi={key:0,class:"delimited-list-item mb-5"},Ri={class:"section-title"},Ti={class:"text-center"},Oi=["href"],Ai={key:1,class:"delimited-list-item"},Ei={class:"section-title"},Vi={key:2,class:"delimited-list-item"},zi={class:"row list-unstyled mb-3"},Bi=["href"],Fi=["innerHTML"],Ke="there-is-page-product",Co={__name:"Show",props:{__city:{required:!0,type:Object},__currency:{required:!0,type:Object},__featureToggles:{required:!0,type:Object},__domain:{required:!0,type:Object},__measurementSystem:{required:!0,type:Object},advantages:Array,availableInCurrentCity:Boolean,canBuy:Boolean,catalogLink:String,citiesHrefs:Array,customization:String,customizations:{required:!1,type:Object},deliveryConditions:{required:!1,type:Object},disableSalon:Boolean,flowerLinks:Array,googleFeedDeliveryDate:{required:!1,type:String,default:""},internalLinks:{required:!0,type:Object},meta:{required:!0,type:Object},paymentMethods:Array,partner:{required:!0,type:Object},product:{required:!0,type:Object},reviews:{required:!0,type:Object},rootCategoryId:Number,routes:{required:!0,type:Object},similarProducts:Array,trace:{default:null,type:Object},viewedProducts:Array}
2,setup(e){var Ce;const a=e,s=wt(a.product,"product"),v=xe(()=>W(()=>import("./AdditionalProductsSidebar-C-SunnSX.js"),__vite__mapDeps([13,14,15,1,16,3,4,5,17,18,19,20,21,22,23,24,25,26,27,28,29,30]))),g=xe(()=>(swal.blockUI(),new Promise(y=>{W(()=>import("./ModalProductAddedCart-OAg4JM_f.js"),__vite__mapDeps([31,14,32,16,17,18,19,5,20,21,22,23,4,3,24,33,0,1,34,26,35,36,37,38])).then(l=>y(l))}))),p=xe(()=>W(()=>import("./ProductPageServiceInfo-BdIAksD1.js"),__vite__mapDeps([39,25,23,4,5]))),b=M(null),c=M(null),f=_e({list:[],loading:!1,sidebar:{hidden:!0,open:!1}}),_=_e({bonus:!1,price:!1,toggleInCart:!1}),I=_e({addedCart:{open:!1,product:null}}),S=_e([{active:!!a.product.client_description,code:"description",name:u("common.description")},{active:!a.disableSalon,code:"delivery",name:u("common.delivery")},{active:!!a.paymentMethods.length,code:"payment",name:u("common.payment_providers")},{active:!0,code:"refund-policy",name:u("product.refund_policy.title")}].filter(y=>y.active)),E=_e({reviews:!1}),C=M(null),q=M(null),h=M(null),x=M(null),Q=M(!1),Z=M(((Ce=S[0])==null?void 0:Ce.code)||""),T=j(()=>({composition:J("items")||a.product.composition,name:(a.meta.h1||a.product.product_name)+(J("short_name")?' <span class="text-nowrap text-accent">'+u("product.percent_flowers",{val:J("short_name")})+"</span>":""),width:J("width")||a.product.width})),P=j(()=>{var y,l,d;return{customized_product_data:C.value,product_name:a.product.product_name,id:a.product.id,index:(y=q.value)==null?void 0:y.index,price:((d=(l=q.value)==null?void 0:l.customized_product_data)==null?void 0:d.price)||a.product.price,partner:a.partner,category:{name:a.product.parent_category_name_ru}}}),V=j(()=>a.canBuy&&a.product.is_moderated&&!a.product.disabled_at&&!a.product.archived_at);a.product.quantity=a.product.quantity||a.product.min_quantity||1;const G=a.product.price;function re(){return`customization_${a.product.id}`}function ae(y){try{y?browser_storage.session.setItem(re(),y):browser_storage.session.removeItem(re())}catch{}}function K(y){var d;if(!y||!((d=a.customizations)!=null&&d[y]))return;const l=a.customizations[y];C.value=l,a.product.full_price=l.full_price,a.product.full_price_formatted=l.full_price_formatted,a.product.price=l.price,a.product.price_formatted=l.price_formatted}K(a.customization),et("","pointerdown",je,{once:!0,targetDocument:!0}),ge(()=>a.product.price,()=>he()),rt(()=>document.body.classList.add(Ke)),Se(()=>document.body.classList.remove(Ke)),ie(()=>{bt.productId=a.product.id,a.customization?C.value&&ae(C.value.code):K(browser_storage.session.getItem(re())),c.value&&(document.getElementById("js_product-page-box").append(c.value.$el),E.reviews=!0),ue().then(l=>{x.value=l,l?(te(l.quantity),U()):h.value&&U()}),y(),data_layer.push_event("view_item",P.value),window.show_modal_product_added_cart=(l,d)=>{I.addedCart.product=d,I.addedCart.open=!0};function y(){const l=JSON.parse(browser_storage.local.getItem("obj_for_gtm_from_list"));browser_storage.local.removeItem("obj_for_gtm_from_list"),l&&l.id===a.product.id&&l.price!==G&&ft({city_id:globalParams.city.id,domain_id:globalParams.domain_id,product_id:a.product.id}),q.value=l}});function ee(y=a.product.id,l=J("code"),d=h.value,N=a.product.quantity){a.availableInCurrentCity?(_.toggleInCart=!0,data_layer.push_ecommerce("add_to_cart",Object.assign({},P.value,{quantity:N})),ct({customization:l||void 0,date:d?B(d).format("YYYY-MM-DD"):void 0,product_id:y,quantity:N||void 0}).then(H=>{H.checkout_orders.some(m=>m.items.some(k=>{if(!(k.product_id!==y||l&&l!==k.customization))return x.value=k})),x.value&&(f.loading||!f.loading&&f.list.length)&&(f.sidebar.open=!0)}).catch(H=>{handling_error(H),toastr.error(u("common.error"))}).finally(()=>_.toggleInCart=!1),f.sidebar.hidden=!1,ce()):Q.value=!0}function fe(y){var l;((l=h.value)==null?void 0:l.toJSON())!==y.toJSON()&&(h.value=y,f.list=[],U())}async function oe(y){y.detail.new_val>=a.product.min_quantity?(await ke(y),te(y.detail.new_val)):Ie()}function ue(y=a.product.id,l=J("code")){return dt().then(d=>{let N=null;return d.some(H=>{if(H.product_id===y&&(!l&&!H.customization||l===H.customization))return N=H}),N}).catch(d=>{throw handling_error(d),d})}function De(){f.sidebar.open=!1,f.sidebar.hidden=!0}function Ie(y=x.value){_.toggleInCart=!0,_t(y.id).then(()=>{te(0),x.value=null,U()}).catch(l=>{handling_error(l),toastr.error(u("common.error"))}).finally(()=>_.toggleInCart=!1)}function ce(y=a.partner.id,l=h.value){f.list.length||(f.loading=!0,yt({date:l?B(l).format("YYYY-MM-DD"):void 0,partner_id:y}).then(d=>f.list=d).finally(()=>f.loading=!1))}function he(y=a.product.price,l=a.__currency.code){return _.bonus=!0,ut({currency_code:l,price:y}).then(d=>{a.product.bonus=d.bonus,a.product.bonus_formatted=d.bonus_formatted}).catch(d=>{handling_error(d),toastr.error(u("common.error"))}).finally(()=>_.bonus=!1)}function J(y="",l=C.value){return(l==null?void 0:l[y])||""}function U(y=a.product.id,l=J("code"),d=h.value,N=a.product.quantity){const H={customization:l||void 0,date:d?B(d).format("YYYY-MM-DD"):void 0,quantity:N||void 0};
2if(U.reqParams!==JSON.stringify(H))return U.reqParams=JSON.stringify(H),_.price=!0,ht(y,H).then(m=>{a.product.discount=m.discount,a.product.full_price=m.full_price,a.product.full_price_formatted=m.full_price_formatted,a.product.price=m.price,a.product.price_formatted=m.price_formatted,a.product.price_rub=m.price_rub}).catch(m=>{throw handling_error(m),toastr.error(u("common.error")),m}).finally(()=>{U.reqParams="",_.price=!1})}function je(){viewport_width>=992||(global_storage.layers.header.el.dataset.scrollY="100",global_storage.layers.header.el.classList.add("header_hidden"),global_storage.layers.header.el.style.transition="none",global_storage.layers.header.el.classList.add("d-block"),b.value.$el.classList.add("d-flex"),scrollY||scrollTo(0,b.value.$el.clientHeight+global_storage.layers.header.el.clientHeight),global_storage.layers.header.el.style.transition="0.15s")}function ye(){c.value&&scrollBy({behavior:"smooth",top:c.value.$el.getBoundingClientRect().top-(viewport_width<992?8:document.getElementById("js_header__bottom-panel").clientHeight+16)})}async function we(y){_.price=!0;const l=C.value;C.value=y;try{const d=await ue();await U(a.product.id,J("code"),h.value,d==null?void 0:d.quantity),x.value=d,te(d==null?void 0:d.quantity),ae(y==null?void 0:y.code)}catch(d){handling_error(d),C.value=l,_.price=!1}}function be(y){h.value=y}function se(y){y!==a.product.quantity&&(te(y),x.value?ke({detail:{new_val:y,old_val:x.value.quantity}}):U())}function te(y){y?a.product.quantity=y:a.product.quantity=a.product.min_quantity}function ke(y,l=h.value){_.price=!0;const d=x.value;return pt(d.id,{date:l?B(l).format("YYYY-MM-DD"):void 0,quantity:y.detail.new_val}).then(N=>{N.checkout_orders.some(H=>H.items.some(m=>m.id===d.id?x.value=m:!1)),x.value&&(a.product.full_price_formatted=x.value.full_price_sum_formatted,a.product.price=x.value.price_sum,a.product.price_formatted=x.value.price_sum_formatted)}).catch(N=>{handling_error(N),toastr.error(_.price=!0),se(y.detail.old_val)}).finally(()=>_.price=!1)}function qe(){!x.value||!f.loading&&!f.list.length||(f.sidebar.open=!0)}return(y,l)=>(t(),i("div",null,[o(s).media.length?(t(),A(o(Xe),{key:0},{default:z(()=>[r("link",{fetchpriority:"high",rel:"preload",as:"image",href:o(s).media[0].large_image},null,8,Za)],void 0),_:1})):w("",!0),r("div",Ga,[r("div",Ja,[L(Ct,{ref_key:"refBreadcrumb",ref:b},null,512),r("section",Ua,[r("div",Qa,[r("div",Ka,[L(xr,{labels:o(s).labels},{before:z(()=>[o(s).build_time_hours>=24?(t(),i("div",Xa,n(o(u)("common.preorder")),1)):w("",!0)]),_:1},8,["labels"]),L(fr,{"product-id":o(s).id,"in-wishlist":o(s).in_wishlist,onChange:l[0]||(l[0]=d=>o(s).in_wishlist=d)},null,8,["product-id","in-wishlist"]),L(br,{alt:o(s).product_name,items:o(s).media},null,8,["alt","items"])])]),r("div",ei,[r("div",ti,[r("h1",{class:"product-page__title",innerHTML:T.value.name},null,8,ri),e.availableInCurrentCity&&parseInt(e.reviews.statistics.avg_rating)?(t(),A(Fr,{key:0,"avg-rating":e.reviews.statistics.avg_rating,"ratings-count":e.reviews.statistics.reviews_count,class:O({"cursor-pointer":e.reviews.list.length}),onClick:l[1]||(l[1]=d=>ye())},null,8,["avg-rating","ratings-count","class"])):w("",!0),o(s).faked_purchase_quantity?(t(),i("div",ai,[l[14]||(l[14]=at('<svg width="20" height="21" viewBox="0 0 20 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.25 6.65754V5.84921C6.25 3.97421 7.75833 2.13254 9.63333 1.95754C11.8667 1.74088 13.75 3.49921 13.75 5.69088V6.84088" stroke="#333333" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7.50083 18.5993H12.5008C15.8508 18.5993 16.4508 17.2576 16.6258 15.6243L17.2508 10.6243C17.4758 8.59095 16.8925 6.93262 13.3342 6.93262H6.6675C3.10917 6.93262 2.52583 8.59095 2.75083 10.6243L3.37583 15.6243C3.55083 17.2576 4.15083 18.5993 7.50083 18.5993Z" stroke="#333333" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"></path><path d="M12.9121 10.2658H12.9196" stroke="#333333" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path><path d="M7.07859 10.2658H7.08608" stroke="#333333" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg>',1)),D(" "+n(o(u)("product.purchases_today"))+": "+n(o(s).faked_purchase_quantity),1)])):w("",!0),o(s).is_calculator?(t(),i($,{key:2},[r("div",ii,n(o(u)("product.qty_flowers_bouquet")),1),r("div",oi,[(t(!0),i($,
2null,F(o(s).items,d=>(t(),i("button",{type:"button",class:O(["badge-chip badge-chip_outline badge-chip_only-text badge-chip_xl-l",[{"badge-chip_active":o(s).quantity===d.quantity,"fm-btn_disabled":_.price||_.toggleInCart}]]),disabled:_.price||_.toggleInCart,key:d.quantity,onClick:N=>se(d.quantity)},n(d.quantity),11,si))),128))]),r("div",ni,n(o(u)("product.change_qty")),1),L(ze,{class:"input-counter_small product-page__input-counter-qty",data:o(s).quantity,min:o(s).min_quantity,timeout:500,disabled:_.price||_.toggleInCart,onChange:l[2]||(l[2]=d=>se(d.detail.new_val))},null,8,["data","min","disabled"])],64)):e.customizations?(t(),i($,{key:3},[L(Nt,{data:e.customizations,disabled:_.price||_.toggleInCart,value:C.value,onChange:l[3]||(l[3]=d=>we(d))},null,8,["data","disabled","value"]),T.value.width>0&&o(s).height>0?(t(),i("div",li,n(o(u)("product.sizes_bouquet"))+": "+n(T.value.width)+"х"+n(o(s).height)+" "+n(o(u)("unit."+e.__measurementSystem.length)),1)):w("",!0)],64)):w("",!0)]),r("div",di,[r("div",ui,[L(Ge,{class:"d-none d-sm-block","icon-loading-size":"40",loading:_.price,product:o(s)},null,8,["loading","product"]),o(s).bonus?(t(),i("div",ci,[r("div",pi,n(o(u)("product.give_bonuses")),1),X((t(),i("svg",_i,l[15]||(l[15]=[r("path",{d:"M9.99984 14.0993V10.766M9.99984 7.43262H10.0082M18.3332 10.766C18.3332 15.3683 14.6022 19.0993 9.99984 19.0993C5.39746 19.0993 1.6665 15.3683 1.6665 10.766C1.6665 6.16358 5.39746 2.43262 9.99984 2.43262C14.6022 2.43262 18.3332 6.16358 18.3332 10.766Z",stroke:"#A9AEB2","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},null,-1)]))),[[o(Ee),o(u)("product.plus_number_bonus_tooltip",{number:a.product.bonus_formatted})]]),_.bonus?(t(),A(de,{key:0,class:"ml-auto ml-lg-0",size:"23"})):(t(),i("span",mi,n(o(s).bonus_formatted),1))])):w("",!0),e.deliveryConditions?(t(),A(Zt,{key:1,"available-in-current-city":e.availableInCurrentCity,"delivery-conditions":e.deliveryConditions,"preferred-delivery-date":e.googleFeedDeliveryDate,onChange:l[4]||(l[4]=d=>fe(d)),onSet:l[5]||(l[5]=d=>be(d))},null,8,["available-in-current-city","delivery-conditions","preferred-delivery-date"])):w("",!0)]),e.availableInCurrentCity&&!e.disableSalon?(t(),i("div",vi,[L(Ne,null,{icon:z(()=>l[16]||(l[16]=[r("svg",{class:"product-page__terms-delivery-icon",width:"20",height:"20",viewBox:"0 0 22 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"}
2,[r("path",{d:"M13.7502 2.59912V11.7658C13.7502 12.7741 12.9252 13.5991 11.9168 13.5991H1.8335V6.26579C1.8335 4.23995 3.47433 2.59912 5.50016 2.59912H13.7502Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),r("path",{d:"M20.1668 13.5991V16.3491C20.1668 17.8708 18.9385 19.0991 17.4168 19.0991H16.5002C16.5002 18.0908 15.6752 17.2658 14.6668 17.2658C13.6585 17.2658 12.8335 18.0908 12.8335 19.0991H9.16683C9.16683 18.0908 8.34183 17.2658 7.3335 17.2658C6.32516 17.2658 5.50016 18.0908 5.50016 19.0991H4.5835C3.06183 19.0991 1.8335 17.8708 1.8335 16.3491V13.5991H11.9168C12.9252 13.5991 13.7502 12.7741 13.7502 11.7658V5.34912H15.4368C16.0968 5.34912 16.7018 5.70663 17.0318 6.27496L18.5993 9.01579H17.4168C16.9127 9.01579 16.5002 9.42829 16.5002 9.93245V12.6825C16.5002 13.1866 16.9127 13.5991 17.4168 13.5991H20.1668Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),r("path",{d:"M7.33333 20.9325C8.34586 20.9325 9.16667 20.1117 9.16667 19.0992C9.16667 18.0867 8.34586 17.2659 7.33333 17.2659C6.32081 17.2659 5.5 18.0867 5.5 19.0992C5.5 20.1117 6.32081 20.9325 7.33333 20.9325Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),r("path",{d:"M14.6668 20.9325C15.6794 20.9325 16.5002 20.1117 16.5002 19.0992C16.5002 18.0867 15.6794 17.2659 14.6668 17.2659C13.6543 17.2659 12.8335 18.0867 12.8335 19.0992C12.8335 20.1117 13.6543 20.9325 14.6668 20.9325Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),r("path",{d:"M20.1667 11.7659V13.5992H17.4167C16.9125 13.5992 16.5 13.1867 16.5 12.6825V9.93254C16.5 9.42837 16.9125 9.01587 17.4167 9.01587H18.5992L20.1667 11.7659Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])),default:z(()=>[D(" "+n(o(s).delivery_cost_formatted)+" ",1),e.__domain.isFm&&o(s).delivery_term?(t(),i($,{key:0},[D(" ("+n(o(s).delivery_term)+") ",1)],64)):w("",!0)],void 0),_:1}),o(s).delivery_by_post_settings?(t(),A(Ne,{key:0,type:"dhl"},{icon:z(()=>l[17]||(l[17]=[r("svg",{class:"product-page__terms-delivery-icon",width:"20",height:"20",viewBox:"0 0 22 23",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[r("path",{d:"M2.90771 7.08496L11.0019 11.7691L19.041 7.11243",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),r("path",{d:"M11 20.0739V11.7598",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),r("path",{d:"M9.10305 2.53863L4.20806 5.26116C3.09889 5.87533 2.19141 7.41531 2.19141 8.68031V13.8595C2.19141 15.1245 3.09889 16.6645 4.20806 17.2786L9.10305 20.0012C10.1481 20.5787 11.8622 20.5787 12.9072 20.0012L17.8022 17.2786C18.9114 16.6645 19.8189 15.1245 19.8189 13.8595V8.68031C19.8189 7.41531 18.9114 5.87533 17.8022 5.26116L12.9072 2.53863C11.853 1.95197 10.1481 1.95197 9.10305 2.53863Z",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),r("path",{d:"M15.5849 12.4028V9.04779L6.88574 4.02441",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])),default:z(()=>[D(" "+n(o(s).delivery_by_post_settings.price_formatted),1)],void 0),_:1})):w("",!0)])):w("",!0),o(s).category.id!==5?(t(),A(He,{key:1,class:"product-page__buttons-buy mt-3 mt-lg-0","btn-class":"d-none d-sm-flex fm-btn fm-btn_main product-page__btn-order","noindex-class":"d-none d-sm-flex fm-btn fm-btn_main fm-btn_disabled product-page__btn-order","in-cart":!!x.value,"is-available":V.value,loading:_.price||_.toggleInCart,onAddToCart:l[7]||(l[7]=d=>ee())},{"in-cart":z(()=>[L(o(Ve),{class:"d-none d-sm-flex fm-btn fm-btn_success product-page__btn-order",href:e.routes.cart_index},{default:z(()=>[D(n(o(u)("common.in_basket"))+" ",1),l[18]||(l[18]=r("svg",{width:"25",height:"25",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[r("path",{d:"M14.6811 19.0701C14.4911 19.0701 14.3011 19.0001 14.1511 18.8501C13.8611 18.5601 13.8611 18.0801 14.1511 17.7901L19.6911 12.2501L14.1511 6.71012C13.8611 6.42012 13.8611 5.94012 14.1511 5.65012C14.4411 5.36012 14.9211 5.36012 15.2111 5.65012L21.2811 11.7201C21.5711 12.0101 21.5711 12.4901 21.2811 12.7801L15.2111 18.8501C15.0611 19.0001 14.8711 19.0701 14.6811 19.0701Z",fill:"white"}),r("path",{d:"M20.58 13H3.75C3.34 13 3 12.66 3 12.25C3 11.84 3.34 11.5 3.75 11.5H20.58C20.99 11.5 21.33 11.84 21.33 12.25C21.33 12.66 20.99 13 20.58 13Z",fill:"white"})],-1))],void 0,!0),_:1},8,["href"]),L(ze,{class:"d-none d-sm-flex input-counter_success product-page__btn-order",data:o(s).quantity,min:0,timeout:500,disabled:_.price||_.toggleInCart,onChange:l[6]||(l[6]=d=>oe(d))},null,8,["data","disabled"])]),default:z(()=>
2[e.__domain.isFm?(t(),i("button",{key:0,type:"button",class:"fm-btn fm-btn_tint-primary product-page__btn-order js_callback-btn","data-customization-code":J("code"),"data-img":o(s).media[0]?o(s).media[0].medium_image:"","data-name":T.value.name,"data-price":o(s).price_formatted,"data-product-id":o(s).id},n(o(u)("product.one_click_order")),9,gi)):w("",!0)],void 0),_:1},8,["in-cart","is-available","loading"])):w("",!0)]),r("div",fi,[r("div",hi,[X(r("img",yi,null,512),[[o(Ae)]]),r("div",null,[D(n(o(u)("product.not_like_bouquet")),1),l[19]||(l[19]=r("br",null,null,-1)),r("div",wi,n(o(u)("product.inform_we_replace_bouquet",{line_break:""})),1)])])]),e.trace?(t(),A(o(p),{key:0,class:"white-box order-first",product:o(s),routes:e.routes,trace:e.trace},null,8,["product","routes","trace"])):w("",!0),L(Bt,{composition:T.value.composition,"internal-links":e.internalLinks,product:o(s)},null,8,["composition","internal-links","product"]),e.availableInCurrentCity&&!e.__featureToggles.reviews?(t(),i($,{key:1},[e.reviews.list.length?(t(),A(Wa,{key:0,ref_key:"refProductReviews",ref:c,class:O({"d-md-none":!E.reviews}),"initial-reviews":e.reviews.list,"initial-total":e.reviews.total,"initial-stats":e.reviews.statistics,"product-id":o(s).id},null,8,["class","initial-reviews","initial-total","initial-stats","product-id"])):w("",!0)],64)):w("",!0),r("div",bi,[(t(!0),i($,null,F(S,d=>(t(),i("div",{key:d.code,class:O(["product-page__badges-tab",{"product-page__badges-tab_active":Z.value===d.code}]),onClick:N=>Z.value=d.code},n(d.name),11,ki))),128))]),o(s).client_description?(t(),A(mr,{key:2,class:O({"d-none":Z.value!=="description"}),data:o(s).client_description},null,8,["class","data"])):w("",!0),e.availableInCurrentCity&&!e.disableSalon?(t(),A(ur,{key:3,class:O
2({"d-none":Z.value!=="delivery"}),"delivery-conditions":e.deliveryConditions,product:o(s)},null,8,["class","delivery-conditions","product"])):w("",!0),e.paymentMethods.length?(t(),i("div",{key:4,class:O(["white-box d-md-block order-2",{"d-none":Z.value!=="payment"}])},[r("h3",Ci,n(o(u)("common.payment_providers")),1),r("div",xi,[(t(!0),i($,null,F(e.paymentMethods,d=>(t(),i("div",{class:"product-page__payment-method",key:d.code},[X(r("img",{src:"/img/empty-transparent.svg","data-src":`/img/payment/${d.code}.svg?v=2`,width:"32",height:"32",alt:""},null,8,$i),[[o(Ae)]]),D(" "+n(d.name),1)]))),128))])],2)):w("",!0),r("div",{class:O(["white-box d-md-block order-2",{"d-none":Z.value!=="refund-policy"}])},[r("h3",Pi,n(o(u)("product.refund_policy.title")),1),r("p",{class:"m-0",innerHTML:e.rootCategoryId===62?o(u)("product.refund_policy.text"):o(u)("product.refund_policy.text_alt")},null,8,Mi)],2),e.availableInCurrentCity&&!e.__featureToggles.reviews&&!e.reviews.list.length&&e.reviews.statistics.reviews_count?(t(),i("div",Si,[r("div",Li,[r("h3",Di,n(o(u)("review.reviews")),1)]),L(st,{"avg-rating":e.reviews.statistics.avg_rating,"ratings-count":e.reviews.statistics.reviews_count,"purchases-count":e.reviews.statistics.purchase_count,distribution:e.reviews.statistics.stars_distribution},null,8,["avg-rating","ratings-count","purchases-count","distribution"])])):w("",!0),L(Er,{partner:e.partner},null,8,["partner"])])])]),r("div",Ii,[L(Ge,{"full-price-class":"floating-order-box__od-price",loading:_.price,"price-class":"floating-order-box__new-price",product:o(s)},null,8,["loading","product"]),o(s).category.id!==5?(t(),A(He,{key:0,"btn-class":"fm-btn fm-btn_main fm-btn_small floating-order-box__btn-in-cart","noindex-class":"fm-btn fm-btn_main fm-btn_small fm-btn_disabled floating-order-box__btn-in-cart","in-cart":!!x.value,"is-available":V.value,loading:_.price||_.toggleInCart,onAddToCart:l[8]||(l[8]=d=>ee())},{"in-cart":z(()=>[L(o(Ve),{class:"fm-btn fm-btn_success fm-btn_small floating-order-box__btn-in-cart",href:e.routes.cart_index},{default:z(()=>[D(n(o(u)("common.in_basket")),1)],void 0,!0),_:1},8,["href"])]),_:1},8,["in-cart","is-available","loading"])):w("",!0)])]),r("div",ji,[e.similarProducts.length>3?(t(),i("div",qi,[r("div",Ri,n(o(u)("product.related_products")),1),L(Be,{data:e.similarProducts},null,8,["data"]),r("div",Ti,[r("a",{class:"btn btn-outline-danger d-block d-sm-inline-block",href:e.catalogLink},n(o(u)("product.related_products_btn_more")),9,Oi)])])):w("",!0),e.viewedProducts.length?(t(),i("section",Ai,[r("h2",Ei,n(o(u)("product.viewed_products")),1),L(Be,{data:e.viewedProducts},null,8,["data"])])):w("",!0),e.flowerLinks.length?(t(),i("section",Vi,[l[20]||(l[20]=r("h2",{class:"section-title"},"Diese Blumen sind sehr beliebt",-1)),r("ul",zi,[(t(!0),i($,null,F(e.flowerLinks,d=>(t(),i("li",{class:"col-6 col-md-3 col-sm-4 d-flex mb-3",key:d.id},[r("a",{class:"btn btn-block btn-outline-danger px-1",href:d.url},n(d.anchor),9,Bi)]))),128))])])):w("",!0),e.citiesHrefs.length?(t(),A(Tt,{key:3,data:e.citiesHrefs},null,8,["data"])):w("",!0)]),L(kt,{data:e.advantages},null,8,["data"]),f.sidebar.hidden?w("",!0):(t(),A(o(v),{key:1,"cart-url":e.routes.cart_index,"in-cart":x.value,loading:f.loading,open:f.sidebar.open,products:f.list,onClose:l[9]||(l[9]=d=>De()),onMounted:l[10]||(l[10]=d=>qe())},null,8,["cart-url","in-cart","loading","open","products"])),!e.availableInCurrentCity&&Q.value?(t(),A(tt,{key:2,onClose:l[11]||(l[11]=d=>Q.value=!1)},{title:z(()=>[D(n(o(u)("common.select_city")),1)]),default:z(()=>[r("div",{innerHTML:o(u)("product.product_not_available_select_other_city",{city:e.__city.long_name,catalog_link:e.catalogLink})},null,8,Fi)],void 0),_:1})):w("",!0),L(Oe,{name:"modal"},{default:z(()=>[I.addedCart.open?(t(),A(o(g),{key:0,product:I.addedCart.product,onClose:l[12]||(l[12]=d=>I.addedCart.open=!1)},null,8,["product"])):w("",!0)],void 0),_:1}),l[13]||(Fe(-1),(l[13]=L(kr,{"is-available":V.value,name:T.value.name,reviews:e.reviews.list,"avg-rating":e.reviews.statistics.avg_rating,"ratings-count":e.reviews.statistics.reviews_count},null,8,["is-available","name","reviews","avg-rating","ratings-count"])).cacheIndex=13,Fe(1),l[13])]))}};export{Co as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.