(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{576:function(t,e,r){"use strict";r(11),r(9),r(8),r(6),r(10);var n=r(4),o=r(7);function c(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}var l={name:"Breadcrumbs",computed:function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?c(Object(source),!0).forEach((function(e){Object(n.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):c(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},Object(o.d)("Breadcrumbs",["items"])),methods:{isCatalogLink:function(t){return this.items&&2===this.items.length&&0===t&&this.items[0].url==this.items[1].url}}},d=r(0),v=Object(d.a)(l,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.items?r("div",{staticClass:"breadcrumbs"},[r("ul",{staticClass:"breadcrumbs__list",attrs:{itemscope:"",itemtype:"https://schema.org/BreadcrumbList"}},[t._l(t.items,(function(e,n){return[r("li",{key:e.id,staticClass:"breadcrumbs__list-item text",attrs:{itemprop:"itemListElement",itemscope:"",itemtype:"https://schema.org/ListItem"}},[n+1<t.items.length&&!t.isCatalogLink(n)?r("NuxtLink",{attrs:{to:""+e.url,itemprop:"item",itemscope:"",itemtype:"https://schema.org/WebPage",itemid:e.url}},[r("span",{attrs:{itemprop:"name"}},[t._v(t._s(e.title))])]):r("span",{class:{"breadcrumbs__list-item--catalog":t.isCatalogLink(n)},attrs:{itemprop:"name"}},[t._v(t._s(e.title))]),t._v(" "),r("meta",{attrs:{itemprop:"position",content:n+1}})],1),t._v(" "),n+1<t.items.length?r("li",{staticClass:"breadcrumbs__list-separator"},[r("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"}},[r("path",{attrs:{d:"M4 8H12",stroke:"#8C8C8C","stroke-width":"0.5","stroke-linecap":"round","stroke-linejoin":"round"}})])]):t._e()]}))],2)]):t._e()}),[],!1,null,null,null).exports;e.a=v},579:function(t,e,r){"use strict";r.d(e,"a",(function(){return n}));r(78),r(68);var n=function(t){var e=(t=function(t){(t=(""+t).replace(/\D/g,""))&&t.length>0&&("7"==t[0]&&(t="8".concat(t.substr(1))));return t}(t)).match(/^(\d{1})(\d{3})(\d{3})(\d{2})(\d{2})$/);return e?"".concat(e[1]," (").concat(e[2],") ").concat(e[3],"-").concat(e[4],"-").concat(e[5]):null}},583:function(t,e,r){"use strict";var n=r(41),o=(r(11),r(9),r(8),r(6),r(10),r(4)),c=r(7);function l(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function d(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?l(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):l(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var v={name:"Payture",props:{uid:{required:!1,type:String},link:{required:!1,type:String},type:{required:!1,type:String}},data:function(){return{checker:null}},computed:{},methods:d(d({},Object(c.b)("Order",["setPaytureWalletUid","setPaytureInPayUid"])),{},{initChecker:function(){this.checker=setInterval(this.check,2e3)},destroyChecker:function(){this.checker&&(clearInterval(this.checker),this.checker=null)},check:function(){var t=this;"payturewallet"===this.type&&this.$api.paytureWallet.checkPaymentStatus(this.uid).then((function(e){var r;!0===(null==e||null===(r=e.data)||void 0===r?void 0:r.success)&&(t.destroyChecker(),t.setPaytureWalletUid(t.uid),t.$emit("close"))})),"paytureinpay"===this.type&&this.$api.paytureInPay.checkPaymentStatus(this.uid).then((function(e){var r;!0===(null==e||null===(r=e.data)||void 0===r?void 0:r.success)&&(t.destroyChecker(),t.setPaytureInPayUid(t.uid),t.$emit("close"))}))}}),mounted:function(){this.setPaytureWalletUid(null),this.setPaytureInPayUid(null),this.check(),this.initChecker()},beforeDestroy:function(){this.destroyChecker()}},_=r(0),m={name:"PaytureModal",components:{Payture:Object(_.a)(v,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"payture_wallet"},[this.link?e("iframe",{staticStyle:{border:"0",width:"100%",height:"100%",margin:"0 auto"},attrs:{src:this.link}}):this._e()])}),[],!1,null,null,null).exports},data:function(){return{opened:!1}},props:{uid:{required:!1,type:String},link:{required:!1,type:String},type:{required:!1,type:String}},methods:{show:function(){var t=Object(n.a)();document.body.classList.add("hidden","hidden--transparent"),document.body.style.paddingRight="".concat(t,"px"),document.getElementById("header").style.paddingRight="".concat(t,"px"),this.opened=!0},hide:function(){var t=this;document.body.classList.remove("hidden","hidden--transparent"),document.body.style.removeProperty("padding-right"),document.getElementById("header").style.removeProperty("padding-right"),this.opened=!1,setTimeout((function(){t.$emit("close")}),500)},change:function(data){this.$emit("change",data),this.hide()}},mounted:function(){var t=this;this.$nextTick((function(){t.show()}))}},h=Object(_.a)(m,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("portal",{attrs:{to:"aside"}},[r("div",{staticClass:"ui-modal",on:{mousedown:function(e){return e.target!==e.currentTarget?null:t.hide(e)}}},[r("div",{staticClass:"ui-modal--payture_wallet",class:{opened:t.opened}},[r("div",{staticClass:"modal__wrapper"},[r("div",{staticClass:"modal__top"},[r("div",{staticClass:"modal__title modal__title--filter"},[r("div",{staticClass:"modal__title-left"},[t._v("Оплата заказа")])]),t._v(" "),r("div",{staticClass:"modal__close",on:{click:t.hide}},[r("div",{staticClass:"modal__close-container"},[r("div",{staticClass:"leftright"}),t._v(" "),r("div",{staticClass:"rightleft"})])])]),t._v(" "),r("div",{staticClass:"modal__content"},[r("Payture",{attrs:{uid:t.uid,link:t.link,type:t.type},on:{close:t.hide}})],1)])])])])}),[],!1,null,null,null);e.a=h.exports},623:function(t,e,r){"use strict";r(32);var n={name:"Podeli",components:{PodeliModal:function(){return r.e(73).then(r.bind(null,763))},PodeliModal1:function(){return r.e(74).then(r.bind(null,773))}},props:{productsPrice:{required:!0,type:Number},deliveryPrice:{type:Number,default:0},checkoutPrice:{type:Number,default:0},payments:{type:Number,default:4},interval:{type:Number,default:14},inset:{type:Boolean,default:!1},ownDiscount:{type:Number,default:.9},podeliDiscount:{type:Number,default:.77},podeliDiscountMax:{type:Number,default:1e3}},data:function(){return{modal:!1,modal1:!1,script:null}},computed:{clearTotal:function(){return this.productsPrice+this.deliveryPrice},total:function(){return this.productsPrice*this.ownDiscount+this.deliveryPrice},podeliDiscountNumber:function(){return Math.round(this.total-this.total*this.podeliDiscount>this.podeliDiscountMax?this.podeliDiscountMax:this.total*(1-this.podeliDiscount))},fullPrice:function(){return this.productsPrice*this.ownDiscount+this.deliveryPrice-this.podeliDiscountNumber},periods:function(){for(var t=new Date,e=new Intl.DateTimeFormat("ru-RU",{day:"2-digit",month:"long"}),r=[],n=0;n<this.payments;n++){var o=this.addInterval(t,n*this.interval),c=parseFloat((this.clearTotal*this.ownDiscount/this.payments).toFixed(2));3===n&&(c=parseFloat((this.fullPrice-c*(this.payments-1)).toFixed(2))),r.push({id:n,active:n==this.payments-1,price:c,date:0===n?"Сегодня":e.format(o)})}return r}},methods:{addInterval:function(t,e){var r=new Date(Number(t));return r.setDate(t.getDate()+e),r}}},o=r(0),c=Object(o.a)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.clearTotal>300?r("div",{staticClass:"podeli",class:{inset:t.inset}},[r("div",{staticClass:"podeli__content"},[r("div",{staticClass:"podeli__top"},[r("div",{staticClass:"podeli__top-left"},[r("div",{staticClass:"podeli__top-price"},[r("div",{staticClass:"podeli__top-price_full"},[t._v(t._s(Math.round(t.fullPrice).toLocaleString())+" ₽")]),t._v(" "),r("div",{staticClass:"podeli__top-price_discount"},[t._v(t._s(t.clearTotal.toLocaleString())+" ₽")])]),t._v(" "),t._m(0)]),t._v(" "),t._m(1)]),t._v(" "),r("div",{staticClass:"podeli__periods"},t._l(t.periods,(function(e){return r("div",{key:e.id,staticClass:"podeli__period",class:{active:e.active}},[r("div",{staticClass:"podeli__period-indicator"}),t._v(" "),r("div",{staticClass:"podeli__period-content"},[r("div",{staticClass:"podeli__period-date"},[t._v(t._s(e.date))]),t._v(" "),r("div",{staticClass:"podeli__period-price"},[t._v(t._s(e.price)+" ₽")])])])})),0),t._v(" "),r("div",{staticClass:"podeli__bottom"},[r("a",{staticClass:"podeli__bottom-info",attrs:{href:"https://podeli.ru/zarina30",target:"_blank"}},[t._v("\n        Без комиссий и переплат\n        "),r("SvgIcon",{attrs:{name:"podeli-info",width:"10px",height:"10px"}})],1)]),t._v(" "),t._m(2)]),t._v(" "),t.modal?r("PodeliModal",{on:{close:function(e){t.modal=!1}}}):t._e(),t._v(" "),t.modal1?r("PodeliModal1",{on:{close:function(e){t.modal1=!1}}}):t._e()],1):t._e()}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"podeli__top-info"},[e("span",[this._v("до 30%")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"podeli__top-logo"},[e("img",{attrs:{src:"/img/icon/podeli-logo-new.svg"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"podeli__button"},[e("a",{attrs:{href:"https://podeli.ru/zarina30",target:"_blank"}},[e("span",[this._v("Скидка до 30%. "),e("u",[this._v("Подробнее")])])])])}],!1,null,null,null).exports;e.a=c},625:function(t,e,r){"use strict";r(12),r(6);var n=r(14),o=r(186),c=r(27),l={name:"FeedbackForm",data:function(){return{loading:!1,success:!1,category:null,option:null,name:null,city:null,phone:null,email:null,message:null,categories:{online:{title:"Интернет-магазин"},retail:{title:"Розничный магазин"},mobile:{title:"Мобильное приложение"},other:{title:"Опт Zarina"}},options:{online:[{title:"Оформление и отмена заказа"},{title:"Вопрос о наличии товара"},{title:"Вопрос о доставке и оплате"},{title:"Вопрос о возврате"},{title:"Возврат денежных средств"},{title:"Вопросы по программе лояльности"},{title:"Отзыв о работе интернет-магазина"},{title:"Прочие запросы"}],retail:[{title:"Прочие запросы"}],mobile:[{title:"Оформление и отмена заказа"},{title:"Вопрос о наличии товара"},{title:"Вопрос о доставке и оплате"},{title:"Вопрос о возврате"},{title:"Возврат денежных средств"},{title:"Вопросы по программе лояльности"},{title:"Отзыв о работе интернет-магазина"},{title:"Прочие запросы"}],other:[{title:"Прочие запросы"}]},texts:{category:{title:"Категория",placeholder:"Выберите категорию"},option:{title:"Опция",placeholder:"Выберите опцию"}},messages:{category:{required:"Не указана категория"},option:{required:"Не указана опция"},name:{required:"Введите свое имя"},city:{required:"Введите город"},phone:{required:"Введите номер телефона",phoneValidation:"Неправильный формат телефона"},email:{required:"Введите Email",email:"Неправильный формат Email"}},open:!1}},validations:{category:{required:n.required},option:{required:n.required},name:{required:n.required},city:{required:n.required},phone:{required:n.required,phoneValidation:o.a},email:{required:n.required,email:n.email},message:{required:n.required}},computed:{disabled:function(){return!this.category||!this.option},currentCategory:function(){var t;return(null===(t=this.categories[this.category])||void 0===t?void 0:t.title)||null},currentOptions:function(){return this.options[this.category]||null}},methods:{submit:function(){var t=this;this.$v.$touch(),this.$v.$invalid||this.loading||(this.loading=!0,Object(c.a)("feedbackForm").then((function(e){t.$api.forms.feedback({category:t.currentCategory,theme:t.option,name:t.name,city:t.city,phone:t.phone,email:t.email,message:t.message,reCaptchaKey:e}).then((function(){t.success=!0})).catch((function(t){console.log(t)})).finally((function(){t.loading=!1}))})))},toggle:function(){this.open=!this.open}},watch:{category:function(){this.option=null}},mounted:function(){Object(c.b)(!0)},destroyed:function(){Object(c.b)(!1)}},d=r(0),component=Object(d.a)(l,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"feedback"},[t.success?r("div",{staticClass:"form__success"},[r("div",{staticClass:"form__success-title"},[t._v("Ваше сообщение успешно отправлено!")]),t._v(" "),t._m(0)]):r("form",{staticClass:"z-form form__feedback",class:{loading:t.loading},attrs:{autocomplete:"off"},on:{submit:function(e){return e.preventDefault(),t.submit(e)}}},[r("UIField",{class:{"ui-invalid":t.$v.category.$error}},[r("label",{attrs:{for:"category"}},[t._v("\n        "+t._s(t.category?t.texts.category.title:t.texts.category.placeholder)+"\n      ")]),t._v(" "),r("UISelect",{attrs:{name:"category",id:"category"},model:{value:t.category,callback:function(e){t.category=e},expression:"category"}},t._l(t.categories,(function(e,n){return r("UIOption",{key:n,attrs:{value:n}},[t._v("\n          "+t._s(e.title)+"\n        ")])})),1),t._v(" "),t.$v.category.required?t._e():r("span",{staticClass:"ui-error"},[t._v("\n        "+t._s(t.messages.category.required)+"\n      ")])],1),t._v(" "),r("UIField",{class:{"ui-invalid":t.$v.option.$error}},[r("label",{attrs:{for:"option"}},[t._v("\n        "+t._s(t.option?t.texts.option.title:t.texts.option.placeholder)+"\n      ")]),t._v(" "),r("UISelect",{attrs:{name:"option",id:"option",disabled:!t.category},model:{value:t.option,callback:function(e){t.option=e},expression:"option"}},t._l(t.currentOptions,(function(e,n){return r("UIOption",{key:n,attrs:{value:e.title}},[t._v("\n          "+t._s(e.title)+"\n        ")])})),1),t._v(" "),t.$v.option.required?t._e():r("span",{staticClass:"ui-error"},[t._v("\n        "+t._s(t.messages.option.required)+"\n      ")])],1),t._v(" "),r("UIField",{class:{"ui-invalid":t.$v.name.$error}},[r("label",[t._v("Введите вашe имя")]),t._v(" "),r("UIInput",{attrs:{disabled:t.disabled},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t.$v.name.required?t._e():r("span",{staticClass:"ui-error"},[t._v("\n        "+t._s(t.messages.name.required)+"\n      ")])],1),t._v(" "),r("UIField",{class:{"ui-invalid":t.$v.city.$error}},[r("label",[t._v("Введите ваш город")]),t._v(" "),r("UIInput",{attrs:{disabled:t.disabled},model:{value:t.city,callback:function(e){t.city=e},expression:"city"}}),t._v(" "),t.$v.city.required?t._e():r("span",{staticClass:"ui-error"},[t._v("\n        "+t._s(t.messages.city.required)+"\n      ")])],1),t._v(" "),r("UIField",{class:{"ui-invalid":t.$v.phone.$error}},[r("label",[t._v("Введите ваш телефон")]),t._v(" "),r("UIPhoneInput",{attrs:{disabled:t.disabled},model:{value:t.phone,callback:function(e){t.phone=e},expression:"phone"}}),t._v(" "),t.$v.phone.required?t.$v.phone.phoneValidation?t._e():r("span",{staticClass:"ui-error"},[t._v(t._s(t.messages.phone.phoneValidation))]):r("span",{staticClass:"ui-error"},[t._v(t._s(t.messages.phone.required))])],1),t._v(" "),r("UIField",{class:{"ui-invalid":t.$v.email.$error}},[r("label",[t._v("Введите ваш email")]),t._v(" "),r("UIInput",{attrs:{disabled:t.disabled,type:"email"},model:{value:t.email,callback:function(e){t.email="string"==typeof e?e.trim():e},expression:"email"}}),t._v(" "),t.$v.email.required?t._e():r("span",{staticClass:"ui-error"},[t._v("\n        "+t._s(t.messages.email.required)+"\n      ")]),t._v(" "),t.$v.email.email?t._e():r("span",{staticClass:"ui-error"},[t._v("\n        "+t._s(t.messages.email.email)+"\n      ")])],1),t._v(" "),r("UIField",[r("label",[t._v("Введите сообщение")]),t._v(" "),r("UITextarea",{attrs:{disabled:t.disabled},model:{value:t.message,callback:function(e){t.message=e},expression:"message"}})],1),t._v(" "),r("div",{staticClass:"form__feedback-submit"},[r("UIButton",{staticClass:"ui-button-wide ui-button-dark",attrs:{loading:t.loading,disabled:!1,type:"submit"}},[t._v("Отправить")]),t._v(" "),r("div",{staticClass:"form__feedback-approve"},[r("p",[t._v("Нажимая на кнопку «Отправить», Вы принимаете условия обработки персональных данных.\n          "),r("span",{on:{click:t.toggle}},[t._v("Подробнее:")])]),t._v(" "),r("UIToggle",{attrs:{duration:{enter:500,leave:400}}},[t.open?r("div",[r("p",[t._v("Для анализа Вашей заявки и иной информации, передаваемой в веб-форме, АО «Мэлон Фэшн Груп» обрабатывает\n              персональные данные, сообщенные в веб-форме. Если заполненная форма содержит контактные данные либо Вы\n              ранее сообщили контактные данные иным способом, сотрудники компании могут связаться с Вами для\n              реагирования на Ваш запрос или уточнения данных (если это следует из Вашего запроса). Персональные\n              данные обрабатываются не более срока, необходимого для исполнения Вашего запроса, и уничтожаются в\n              течение 1 года после его исполнения, если отсутствует иное законное основание обработки данных.\n              Подробная информация о Ваших правах как субъекта персональных данных, а также мерах, принимаемых АО\n              «Мэлон Фэшн Груп» для защиты данных и обеспечения соответствия законодательству приведена в "),r("a",{attrs:{href:"/help/privacy-policy/",target:"_blank"}},[t._v("Политике\n                конфиденциальности")]),t._v(". Защита от спама reCAPTHCA:\n              "),r("a",{attrs:{href:"https://policies.google.com/privacy?hl=ru",target:"_blank"}},[t._v("конфиденциальность")]),t._v("\n              и "),r("a",{attrs:{href:"https://policies.google.com/terms?hl=ru",target:"_blank"}},[t._v("условия использования")])])]):t._e()])],1)],1)],1)])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"form__success-content"},[e("p",[this._v("\n        Наши менеджеры обязательно свяжутся с Вами и ответят на все Ваши\n        вопросы.\n      ")])])}],!1,null,null,null);e.a=component.exports},626:function(t,e,r){"use strict";var n={name:"SocialShare",props:{text:{type:String,default:null},title:{type:String,default:null},description:{type:String,default:null},url:{type:String,default:null},list:{type:Array,default:null}}},o=r(0),component=Object(o.a)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"product__share"},[t.text?r("div",{staticClass:"product__share-title"},[t._v(t._s(t.text))]):t._e(),t._v(" "),r("div",{staticClass:"product__share-list"},t._l(t.list,(function(e){return r("div",{key:e.network,staticClass:"product__share-item"},[r("ShareNetwork",{attrs:{network:e.network,url:t.url,title:t.title}},[r("SvgIcon",{attrs:{name:e.icon,width:"20",height:"20"}})],1)],1)})),0)])}),[],!1,null,null,null);e.a=component.exports},636:function(t,e,r){},637:function(t,e,r){"use strict";r(11),r(9),r(10),r(13);var n=r(3),o=(r(8),r(189),r(6),r(12),r(49),r(59),r(15),r(18),r(4)),c=r(7),l=r(188),d=r(576),v=r(626),_=(r(636),{name:"Media",props:{items:{type:Array,default:function(){return[]}},title:{type:String,default:null}},data:function(){return{viewerOptions:{movable:!0}}}}),m=r(0),h=Object(m.a)(_,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{directives:[{name:"viewer",rawName:"v-viewer",value:t.viewerOptions,expression:"viewerOptions"}],staticClass:"product__media-list"},t._l(t.items,(function(e,n){return r("div",{key:e.media_url,staticClass:"product__media-item"},["video"===e.type?[r("div",{staticClass:"product__media-video"},[r("video",{staticClass:"product-video",attrs:{id:"video-product",poster:e.poster,autoplay:"",playsinline:"",loop:"",preload:"auto",muted:""},domProps:{muted:!0}},[r("source",{attrs:{src:e.media_url,type:"video/webm"}}),t._v(" "),r("source",{attrs:{src:e.media_url.replace(".webm",".mp4"),type:"video/mp4"}})])])]:r("img",{attrs:{src:e.media_url,"data-src":e.media_url,"data-original-src":e.original_url,alt:t.title+" - фото "+(n+1),itemprop:0===n&&"image"}})],2)})),0)}),[],!1,null,null,null).exports,f={name:"ProductLabel",props:{text:{required:!0,type:String},classes:{required:!1,type:Object|String|Array,default:function(){return null}}}},y=Object(m.a)(f,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"product__badge",class:this.classes},[this._v("\n  "+this._s(this.text)+"\n")])}),[],!1,null,null,null).exports,C=(r(364),{name:"Slider",props:{items:{type:Array,default:function(){return[]}},title:{type:String,default:null}},data:function(){return{options:{slidesPerView:1,spaceBetween:0,loop:!1,navigation:!1,pagination:{el:".swiper-pagination",type:"bullets"}},viewerOptions:{movable:!1}}}}),w=Object(m.a)(C,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{directives:[{name:"swiper",rawName:"v-swiper:productCardSwiper",value:t.options,expression:"options",arg:"productCardSwiper"}],ref:"productCardSwiper",staticClass:"product__media-slider"},[r("div",{directives:[{name:"viewer",rawName:"v-viewer",value:t.viewerOptions,expression:"viewerOptions"}],staticClass:"swiper-wrapper",on:{click:function(e){return t.$emit("click")}}},t._l(t.items,(function(e,n){return r("div",{key:e.media_url,staticClass:"product__media-item swiper-slide"},["video"===e.type?[r("div",{staticClass:"product__media-video"},[r("video",{staticClass:"product-video",attrs:{id:"video-product",poster:e.poster,autoplay:"",playsinline:"",loop:"",preload:"auto",muted:""},domProps:{muted:!0}},[r("source",{attrs:{src:e.media_url,type:"video/webm"}}),t._v(" "),r("source",{attrs:{src:e.media_url.replace(".webm",".mp4"),type:"video/mp4"}})])])]:r("img",{attrs:{src:e.media_url,"data-src":e.media_url,"data-original-src":e.original_url,alt:t.title+" - фото "+(n+1),itemprop:0===n&&"image"}})],2)})),0),t._v(" "),r("div",{staticClass:"swiper-pagination",attrs:{slot:"pagination"},slot:"pagination"})])}),[],!1,null,null,null).exports,k=r(587),O={name:"SizesMobile",props:{offers:{type:Array,default:function(){return[]}},active:{type:Object,default:null}},data:function(){return{opened:!1}},methods:{toggle:function(){this.opened=!this.opened},hide:function(){this.opened=!1},openSizesTable:function(){this.hide(),this.$emit("openSizesTable")},change:function(t){this.hide(),this.$emit("change",t)}},mounted:function(){this.popupItem=this.$el},directives:{ClickOutside:r.n(k).a}},P=Object(m.a)(O,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.hide,expression:"hide"}],staticClass:"product__bottom-sizes"},[r("div",{staticClass:"product__bottom-current-size",on:{click:t.toggle}},[t._v("\n    "+t._s(t.active.id)+" "+t._s(t.active.size_ru)+"\n  ")]),t._v(" "),r("UIToggle",{attrs:{duration:{enter:500,leave:400}}},[t.opened?r("div",{staticClass:"product__bottom-select"},[r("div",{staticClass:"product__bottom-select_wrapper"},[r("div",{staticClass:"product__bottom-select_list"},t._l(t.offers,(function(e){return r("div",{key:e.id,staticClass:"product__bottom-select_item"},[r("div",{staticClass:"product__bottom-select_size",class:{active:t.active.id==e.id},on:{click:function(r){return t.change(e)}}},[t._v("\n              "+t._s(e.id)+" "+t._s(e.size_ru)+"\n            ")])])})),0),t._v(" "),r("div",{staticClass:"product__bottom-size-table"},[r("span",{on:{click:t.openSizesTable}},[t._v("Таблица размеров")])])])]):t._e()])],1)}),[],!1,null,null,null).exports;function j(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function S(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?j(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):j(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var x={name:"Measurements",props:{sizesList:{required:!0,type:Array,default:function(){return null}},measurements:{required:!0,type:Object,default:function(){return null}}},data:function(){return{isMobile:!1,open:[]}},computed:S(S({},Object(c.c)("Layout",["group"])),{},{isGrowths:function(){return Object.values(this.measurements.sizes).reduce((function(t,e){return t||e.length>1}),!1)}}),methods:{toggle:function(t){var e=this.open.indexOf(t);e>-1?this.open.splice(e,1):this.open.push(t)},isMan:function(){return"Мужской"===this.sizesList[0].gender},getTitle:function(t){return{"Мужской":"Мужская","Женский":"Женская"}[t.gender]+" "+t.type.toLowerCase()}},mounted:function(){var t=this;this.$nextTick((function(){t.isMobile=t.$screen&&t.$screen.width<=767}))},watch:{"$screen.width":function(){this.isMobile=this.$screen&&this.$screen.width<=767},isMobile:function(t){t&&this.$refs.scrollbar.destroy()}}},$=Object(m.a)(x,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"measurements"},[r("PerfectScrollbar",{ref:"scrollbar",staticClass:"measurements__wrapper"},[r("div",{staticClass:"measurements__item"},[r("div",{staticClass:"measurements__title",class:{opened:t.open.includes("Одежда")},on:{click:function(e){return t.toggle("Одежда")}}},[t._v("\n        "+t._s(t.getTitle(t.sizesList.filter((function(s){return"Одежда"===s.type}))[0]))+"\n        "),r("span",{staticClass:"measurements__dropdown"},[r("SvgIcon",{attrs:{name:"icon-dropdown",width:"7px",height:"5px"}})],1)]),t._v(" "),r("UIToggle",{attrs:{duration:{enter:500,leave:400}}},[t.open.includes("Одежда")?r("div",{staticClass:"measurements__content"},[r("div",{staticClass:"measurements__content-wrapper"},[r("div",{staticClass:"measurements__table"},[r("table",[r("thead",[r("tr",[r("td",[t._v("Международный размер")]),t._v(" "),r("td",[t._v("Российский размер")]),t._v(" "),r("td",[t._v("Обхват груди")]),t._v(" "),r("td",[t._v("Обхват талии")]),t._v(" "),r("td",[t._v("Обхват бедер")]),t._v(" "),r("td",[t._v("Рост")])])]),t._v(" "),r("tbody",t._l(t.sizesList.filter((function(s){return"Одежда"===s.type})),(function(e){return r("tr",{key:e.id},[r("td",[t._v(t._s(e.id))]),t._v(" "),r("td",[t._v(t._s(e.ru))]),t._v(" "),r("td",[t._v(t._s(e.bust))]),t._v(" "),r("td",[t._v(t._s(e.waist))]),t._v(" "),r("td",[t._v(t._s(e.hips))]),t._v(" "),r("td",[t._v(t._s(e.growth))])])})),0)])])])]):t._e()])],1),t._v(" "),t.sizesList.filter((function(s){return"Обувь"===s.type})).length?r("div",{staticClass:"measurements__item"},[r("div",{staticClass:"measurements__title",class:{opened:t.open.includes("Обувь")},on:{click:function(e){return t.toggle("Обувь")}}},[t._v("\n        "+t._s(t.getTitle(t.sizesList.filter((function(s){return"Обувь"===s.type}))[0]))+"\n        "),r("span",{staticClass:"measurements__dropdown"},[r("SvgIcon",{attrs:{name:"icon-dropdown",width:"7px",height:"5px"}})],1)]),t._v(" "),r("UIToggle",{attrs:{duration:{enter:500,leave:400}}},[t.open.includes("Обувь")?r("div",{staticClass:"measurements__content"},[r("div",{staticClass:"measurements__content-wrapper"},[r("div",{staticClass:"measurements__table"},[r("table",[r("thead",[r("tr",[r("td",[t._v("Международный размер")]),t._v(" "),r("td",[t._v("Российский размер")])])]),t._v(" "),r("tbody",t._l(t.sizesList.filter((function(s){return"Обувь"===s.type})),(function(e){return r("tr",{key:e.id},[r("td",[t._v(t._s(e.id))]),t._v(" "),r("td",[t._v(t._s(e.ru))])])})),0)])])])]):t._e()])],1):t._e(),t._v(" "),r("div",{staticClass:"measurements__item"},[r("div",{staticClass:"measurements__title",class:{opened:t.open.includes("Обмеры изделия")},on:{click:function(e){return t.toggle("Обмеры изделия")}}},[t._v("\n        Обмеры изделия\n        "),r("span",{staticClass:"measurements__dropdown"},[r("SvgIcon",{attrs:{name:"icon-dropdown",width:"7px",height:"5px"}})],1)]),t._v(" "),r("UIToggle",{attrs:{duration:{enter:500,leave:400}}},[t.open.includes("Обмеры изделия")?r("div",{staticClass:"measurements__content"},[r("div",{staticClass:"measurements__content-wrapper"},[r("div",{staticClass:"measurements__table"},[r("table",[r("thead",[r("tr",[r("td"),t._v(" "),t._l(t.measurements.sizes,(function(e,n){return r("td",{key:n,attrs:{colspan:e.length}},[t._v("\n                        "+t._s(n)+"\n                    ")])}))],2),t._v(" "),t.isGrowths?r("tr",[r("td",[t._v("Рост")]),t._v(" "),t._l(t.measurements.sizes,(function(e,n){return t._l(e,(function(e){return r("td",{key:n+t.growth},[t._v("\n                        "+t._s(e)+"\n                      ")])}))}))],2):t._e()]),t._v(" "),r("tbody",t._l(t.measurements.measurements,(function(e,n){return r("tr",{key:n},[r("td",[t._v(t._s(n))]),t._v(" "),t._l(t.measurements.sizes,(function(n,o){return t._l(e[o],(function(e){return r("td",[t._v("\n                        "+t._s(e)+"\n                      ")])}))}))],2)})),0)])])])]):t._e()])],1),t._v(" "),t.isMan?t._e():r("div",{staticClass:"measurements__item"},[r("div",{staticClass:"measurements__title",class:{opened:t.open.includes("Женские аксессуары")},on:{click:function(e){return t.toggle("Женские аксессуары")}}},[t._v("\n        Аксессуары\n        "),r("span",{staticClass:"measurements__dropdown"},[r("SvgIcon",{attrs:{name:"icon-dropdown",width:"7px",height:"5px"}})],1)]),t._v(" "),r("UIToggle",{attrs:{duration:{enter:500,leave:400}}},[t.open.includes("Женские аксессуары")?r("div",{staticClass:"measurements__content"},[r("div",{staticClass:"measurements__content-wrapper"},[r("div",{staticClass:"measurements__table"},[r("table",[r("thead",[r("tr",[r("td",[t._v("Вид изделия")]),t._v(" "),r("td",[t._v("Размер")]),t._v(" "),r("td",[t._v("Параметр")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("Головные уборы")]),t._v(" "),r("td",[t._v("56-58")]),t._v(" "),r("td",[t._v("Обхват головы")])]),t._v(" "),r("tr",[r("td",[t._v("Носки")]),t._v(" "),r("td",[t._v("23-25")]),t._v(" "),r("td",[t._v("Длина стопы")])])])])])])]):t._e()])],1),t._v(" "),t.isMan?r("div",{staticClass:"measurements__item"},[r("div",{staticClass:"measurements__title",class:{opened:t.open.includes("Мужские аксессуары")},on:{click:function(e){return t.toggle("Мужские аксессуары")}}},[t._v("\n        Аксессуары\n        "),r("span",{staticClass:"measurements__dropdown"},[r("SvgIcon",{attrs:{name:"icon-dropdown",width:"7px",height:"5px"}})],1)]),t._v(" "),r("UIToggle",{attrs:{duration:{enter:500,leave:400}}},[t.open.includes("Мужские аксессуары")?r("div",{staticClass:"measurements__content"},[r("div",{staticClass:"measurements__content-wrapper"},[r("div",{staticClass:"measurements__table"},[r("table",[r("thead",[r("tr",[r("td",[t._v("Вид изделия")]),t._v(" "),r("td",[t._v("Параметр")]),t._v(" "),r("td",[t._v("Размер")])])]),t._v(" "),r("tbody",[r("tr",[r("td",[t._v("Головные уборы")]),t._v(" "),r("td",[t._v("Обхват головы")]),t._v(" "),r("td",[t._v("56-62")])]),t._v(" "),r("tr",[r("td",[t._v("Носки")]),t._v(" "),r("td",[t._v("Длина стопы 25-27")]),t._v(" "),r("td",[t._v("39-42")])]),t._v(" "),r("tr",[r("td",[t._v("Носки")]),t._v(" "),r("td",[t._v("Длина стопы 27-29")]),t._v(" "),r("td",[t._v("42-45")])])])])])])]):t._e()])],1):t._e()])],1)}),[],!1,null,null,null).exports,I=r(649),M={name:"SizesModal",props:{sizesList:{required:!0,type:Array,default:function(){return null}},measurements:{required:!0,type:Object,default:function(){return null}}},components:{BaseModal:I.a,Measurements:$},data:function(){return{open:!1}}},z=Object(m.a)(M,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("BaseModal",{attrs:{modalName:"sizes_modal",mainClass:"modal__sizes"},on:{close:function(e){return t.$emit("close")}},scopedSlots:t._u([{key:"title",fn:function(){return[t._v(" Таблица размеров ")]},proxy:!0}])},[t._v(" "),r("Measurements",{attrs:{sizesList:t.sizesList,measurements:t.measurements}})],1)}),[],!1,null,null,null).exports,B=r(651),U=r(621),D=r(41),E={name:"Balloon",props:{shop:{required:!0,type:Object}},data:function(){return{types:{chain:"",franchise:"Партнерская сеть"}}}},L=Object(m.a)(E,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"reserve__balloon"},[r("div",{staticClass:"reserve__balloon-title"},[t._v(t._s(t.shop.name))]),t._v(" "),t.shop.subways?r("div",{staticClass:"reserve__balloon-subways"},t._l(t.shop.subways,(function(e){return r("div",{key:e,staticClass:"reserve__balloon-subway"},[t._e(),t._v(" "),r("div",{staticClass:"reserve__balloon-subway_title"},[t._v(t._s(e))])])})),0):t._e(),t._v(" "),r("div",{staticClass:"reserve__balloon-address"},[t._v(t._s(t.shop.address))]),t._v(" "),r("div",{staticClass:"reserve__balloon-time"},[t._v(t._s(t.shop.schedule))]),t._v(" "),r("div",{staticClass:"reserve__balloon-phone"},[t._v(t._s(t.shop.phone))]),t._v(" "),r("div",{staticClass:"reserve__balloon-button"},[r("UIButton",{staticClass:"ui-button ui-button-dark reserve__balloon-apply",attrs:{id:"reserveButtonApply"}},[t._v("Выбрать магазин")])],1)])}),[],!1,null,null,null).exports,T={name:"ReserveMap",components:{Balloon:L},inject:["shops"],props:["shop"],data:function(){return{items:[],map:null,settings:{coords:[59.936785,30.316086],zoom:12,controls:["zoomControl"],clusterOptions:{1:{preset:"islands#invertedBlackClusterIcons"}}},options:{zoomControlSize:"small"},markerIcon:{layout:"default#image",imageHref:"https://imgcdn.zarina.ru/upload/images/icon/icon-shop-zarina.svg",imageSize:[33,44],imageOffset:[-16,-44]}}},computed:{coords:function(){return this.items.map((function(t){return[t.lat,t.lon]}))}},methods:{setShop:function(t){this.$emit("change",t)},apply:function(){this.$emit("apply")},init:function(map){this.map=map,1===this.coords.length?this.map.setCenter(this.coords[0]):this.map.setBounds(ymaps.util.bounds.fromPoints(this.coords)),this.loading=!1},bindListener:function(){var element=document.getElementById("reserveButtonApply");element&&element.addEventListener("click",this.apply)},unbindListener:function(){var element=document.getElementById("reserveButtonApply");element&&element.removeEventListener("click",this.apply)}},mounted:function(){this.items=this.shops.map((function(t){return t.shop}))}},R=Object(m.a)(T,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"reserve__map"},[t.items.length>0?r("yandex-map",t._b({attrs:{options:t.options},on:{"map-was-initialized":t.init}},"yandex-map",Object.assign({},t.settings),!1),t._l(t.items,(function(e){return r("ymap-marker",{key:e.id,attrs:{"marker-id":e.id,coords:[e.lat,e.lon],"cluster-name":"1",icon:t.markerIcon,"marker-type":"placemark"},on:{click:function(r){return t.setShop(e)},balloonopen:function(r){return t.bindListener(e)},balloonclose:t.unbindListener}},[r("Balloon",{attrs:{slot:"balloon",shop:e},slot:"balloon"})],1)})),1):t._e()],1)}),[],!1,null,null,null).exports,F={name:"ReserveProduct",props:["product"],inject:{barcode:{from:"barcode"}},computed:{image:function(){return this.product.media.find((function(t){return"image"==t.type}))},color:function(){return this.product.colors.find((function(t){return t.is_current}))},offer:function(){var t=this,e=null;return this.product.sizes.forEach((function(r){e||(e=r.offers.find((function(e){return e.barcode===t.barcode})))})),e},isWhiteColor:function(){return"#ffffff"===this.color.code||"#FFFFFF"===this.color.code},isBlackColor:function(){return"#000000"===this.color.code}}},A=Object(m.a)(F,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"reserve__product"},[r("div",{staticClass:"reserve__product-image"},[r("img",{attrs:{src:t.image.media_url,alt:t.product.name}})]),t._v(" "),r("div",{staticClass:"reserve__product-info"},[r("div",{staticClass:"reserve__product-info_left"},[r("div",{staticClass:"reserve__product-title"},[t._v("\n        "+t._s(t.product.name)+"\n      ")]),t._v(" "),r("div",{staticClass:"reserve__product-article"},[t._v("\n        "+t._s(t.product.vendor_code)+"\n      ")]),t._v(" "),r("div",{staticClass:"reserve__product-color",class:{is_white:t.isWhiteColor,is_black:t.isBlackColor}},[r("span",{style:{backgroundColor:""+t.color.code}}),t._v("\n        "+t._s(t.color.title)+"\n      ")]),t._v(" "),r("div",{staticClass:"reserve__product-size"},[t._v("\n        "+t._s(t.offer.size)+" "),t.offer.size_ru?r("span",[t._v("("+t._s(t.offer.size_ru)+")")]):t._e(),t._v(" "+t._s(t.offer.growth)+"\n      ")])]),t._v(" "),r("div",{staticClass:"reserve__product-info_right"},[r("div",{staticClass:"reserve__product-price"},[r("div",{staticClass:"reserve__product-price_value"},[t._v("\n          "+t._s(t.product.price.discount_price)+" ₽\n        ")]),t._v(" "),t.product.price.has_discount?r("div",{staticClass:"reserve__product-price_old"},[t._v("\n          "+t._s(t.product.price.common_price)+" ₽\n        ")]):t._e()])])])])}),[],!1,null,null,null).exports,N={name:"ReserveShops",props:["shop"],inject:["shops"],data:function(){return{types:{last_chance:"Последний шанс",little:"Мало",enough:"Достаточно",a_lot:"Много"}}},computed:{active:{get:function(){return this.shop},set:function(t){this.update(t)}}},methods:{availabilityText:function(t){return this.types[t]||null},update:function(t){this.$emit("change",t)}},mounted:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.$nextTick((function(){t.$screen&&t.$screen.touch&&t.$refs.scrollbar.destroy()}));case 1:case"end":return e.stop()}}),e)})))()}},W={name:"ReserveStepShops",props:["shop","product"],components:{ReserveMap:R,ReserveProduct:A,ReserveShops:Object(m.a)(N,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"reserve__wrapper"},[r("PerfectScrollbar",{ref:"scrollbar",staticClass:"reserve__shops"},t._l(t.shops,(function(e){return r("div",{key:e.shop.id,staticClass:"reserve__shop",on:{click:function(r){return t.update(e.shop)}}},[r("div",{staticClass:"reserve__shop-action"},[r("UIRadio",{attrs:{value:e.shop},on:{change:function(r){return t.update(e.shop)}},model:{value:t.active,callback:function(e){t.active=e},expression:"active"}})],1),t._v(" "),r("div",{staticClass:"reserve__shop-info"},[r("div",{staticClass:"reserve__shop-title"},[t._v("\n          "+t._s(e.shop.name)+"\n        ")]),t._v(" "),r("div",{staticClass:"reserve__shop-availability"},[t._v("\n          "+t._s(e.shop.address)+"\n        ")])])])})),0),t._v(" "),r("div",{staticClass:"reserve__button"},[r("UIButton",{staticClass:"ui-button ui-button-dark ui-button-wide",attrs:{disabled:!t.shop},on:{click:function(e){return t.$emit("apply")}}},[t._v("Выбрать магазин")])],1)],1)}),[],!1,null,null,null).exports},data:function(){return{isMobile:!1,loading:!1,view:"list",titles:{list:"Показать на карте",map:"Показать списком"}}},computed:{viewTitle:function(){return this.titles[this.view]}},methods:{changeView:function(){this.view="list"===this.view?"map":"list"}},mounted:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.$nextTick((function(){t.isMobile=t.$screen&&t.$screen.width<=767,t.loading=!0}));case 1:case"end":return e.stop()}}),e)})))()},watch:{"$screen.width":function(){this.isMobile=this.$screen&&this.$screen.width<=767}}},V=Object(m.a)(W,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.loading?r("div",{staticClass:"reserve__content"},[t.isMobile?t._e():r("ReserveMap",{attrs:{shop:t.shop},on:{change:function(e){return t.$emit("change",e)},apply:function(e){return t.$emit("apply")}}}),t._v(" "),r("div",{staticClass:"reserve__right"},[r("ReserveProduct",{attrs:{product:t.product}}),t._v(" "),r("div",{staticClass:"reserve__flex"},[r("div",{staticClass:"reserve__flex-top"},[r("div",{staticClass:"reserve__flex-title"},[t._v("\n          Выберите магазин\n        ")]),t._v(" "),r("div",{staticClass:"reserve__flex-view",on:{click:t.changeView}},[t._v("\n          "+t._s(t.viewTitle)+"\n        ")])]),t._v(" "),"map"===t.view&&t.isMobile?r("ReserveMap",{attrs:{shop:t.shop},on:{change:function(e){return t.$emit("change",e)},apply:function(e){return t.$emit("apply")}}}):r("ReserveShops",{attrs:{shop:t.shop},on:{change:function(e){return t.$emit("change",e)},apply:function(e){return t.$emit("apply")}}})],1)],1)],1):t._e()}),[],!1,null,null,null).exports,G=r(579),H=(r(68),r(407),r(32),r(14)),Z=r(186),Y=r(27),J=r(45),K=r.n(J);function Q(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function X(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?Q(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):Q(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var tt={name:"ReserveForm",components:{PaytureModal:r(583).a},props:{user:Object,shop:String|Number,product:Object},computed:X(X({},Object(c.c)("Authentification",["getUser"])),Object(c.c)("Order",["paytureWalletUid","paytureInPayUid"])),data:function(){return{loading:!1,invalid:!1,success:!1,message:null,errors:{email:null,phone:null},name:null,email:null,phone:null,last_name:null,order:null,payment:null,payture:{uid:null,link:null,type:null},messages:{name:{required:"Введите ваше имя",alpha:'Разрешенные символы: А-я и "-"'},last_name:{alpha:'Разрешенные символы: А-я и "-"'},email:{required:"Введите Email",email:"Неправильный формат Email"},phone:{required:"Введите номер телефона",phoneValidation:"Неправильный формат телефона"}}}},inject:["barcode","gaProduct","ga4Product","getData"],validations:{name:{required:H.required,alpha:function(t){return/^[а-яА-ЯёЁ-\s]*$/i.test(t)}},last_name:{alpha:function(t){return!t||/^[а-яА-ЯёЁ-\s]*$/i.test(t)}},phone:{required:H.required,phoneValidation:Z.a},email:{required:H.required,email:H.email}},methods:X(X({},Object(c.b)("Order",["setPaytureWalletUid","setPaytureInPayUid"])),{},{submit:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.$v.$touch(),t.$v.$invalid){e.next=7;break}return t.invalid=!1,t.loading=!0,e.next=6,t.getData();case 6:Object(Y.a)("quickreserve").then((function(e){var r,n,o,c,l,d;if((null===(r=t.getUser)||void 0===r?void 0:r.id)>0&&!t.paytureWalletUid&&(null===(n=t.product)||void 0===n||null===(o=n.price)||void 0===o?void 0:o.discount_price)>0){var v=t.getUser.id,_=t.product.price.discount_price;t.$api.paytureWallet.getLink({userId:v,amount:_,storeId:t.shop,products:[t.getProduct(t.barcode)]}).then((function(e){var r,n;(null==e||null===(r=e.data)||void 0===r?void 0:r.uid)&&(null==e||null===(n=e.data)||void 0===n?void 0:n.link)&&(t.payture.uid=e.data.uid,t.payture.link=e.data.link,t.payture.type="payturewallet")})).finally((function(){t.loading=!1}))}else if(!(null===(c=t.getUser)||void 0===c?void 0:c.id)&&!t.paytureInPayUid&&(null===(l=t.product)||void 0===l||null===(d=l.price)||void 0===d?void 0:d.discount_price)>0){var m=t.product.price.discount_price;t.$api.paytureInPay.getLink({amount:m,storeId:t.shop,products:[t.getProduct(t.barcode)]}).then((function(e){var r,n;(null==e||null===(r=e.data)||void 0===r?void 0:r.uid)&&(null==e||null===(n=e.data)||void 0===n?void 0:n.link)&&(t.payture.uid=e.data.uid,t.payture.link=e.data.link,t.payture.type="paytureinpay")})).finally((function(){t.loading=!1}))}else t.$api.catalog.retailOrder(t.barcode,t.shop,{first_name:t.name,email:t.email,phone:t.phone,last_name:t.last_name,reCaptchaKey:e,paytureWalletUid:t.paytureWalletUid,paytureInPayUid:t.paytureInPayUid}).then((function(e){var data=e.data,r=data.order,n=data.shipping,o=data.tax,c=data.payment_tool;t.order=r,t.order&&(t.success=!0,t.$analytics.ga4.purchase({items:t.ga4Product,transaction_id:r,value:t.gaProduct.price,tax:o,shipping:n}),t.payment=c,t.$router.replace("/order/payment/process/".concat(r,"/")))})).catch((function(e){if(e&&e.response){var r=e.response,n=r.status,data=r.data;409===n&&(t.invalid=!0,t.message=data.message),422===n&&(t.invalid=!0,t.errors=Object.fromEntries(data.map((function(t){return[t.field_name,t.description]}))))}})).finally((function(){t.loading=!1,t.setPaytureWalletUid(null),t.setPaytureInPayUid(null)}))}));case 7:case"end":return e.stop()}}),e)})))()},emailChange:K.a.debounce((function(){this.$v.email.$invalid||this.checkoutStep3({option:"email"})}),500),phoneChange:K.a.debounce((function(){this.$v.email.$invalid||this.checkoutStep3({option:"tel"})}),500),nameChange:K.a.debounce((function(){this.$v.name.$invalid||this.checkoutStep3({option:"name"})}),500),lastnameChange:K.a.debounce((function(){null!==this.$v.last_name&&this.checkoutStep3({option:"surname"})}),500),checkoutStep3:function(option){},getProduct:function(t){for(var i in null===(e=this.product)||void 0===e?void 0:e.sizes){var e,r,n=null===(r=this.product)||void 0===r?void 0:r.sizes[i];for(var o in n.offers){var c=null==n?void 0:n.offers[o];if(c.barcode===t)return{id:c.offer_id,barcode:c.barcode,quantity:1,price:this.product.price.discount_price}}}}}),mounted:function(){this.email=this.user.email,this.phone=this.user.phone,this.name=this.user.name,this.last_name=this.user.last_name,Object(Y.b)(!0)},watch:{email:function(t){this.emailChange(t)},phone:function(t){this.phoneChange(t)},name:function(t){this.nameChange(t)},last_name:function(t){this.lastnameChange(t)},paytureWalletUid:function(t,e){!e&&t&&this.submit()},paytureInPayUid:function(t,e){!e&&t&&this.submit()}},destroyed:function(){Object(Y.b)(!1)}},et={name:"ReserveShopInfo",props:["shop"]},it={name:"ReserveMapShop",components:{Balloon:L},props:["shop"],data:function(){return{items:[],map:null,settings:{zoom:12,controls:["zoomControl"],clusterOptions:{1:{preset:"islands#invertedBlackClusterIcons"}}},options:{zoomControlSize:"small"},markerIcon:{layout:"default#image",imageHref:"https://imgcdn.zarina.ru/upload/images/icon/icon-shop-zarina.svg",imageSize:[33,44],imageOffset:[-16,-44]}}},methods:{init:function(map){this.map=map}}};function st(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function nt(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?st(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):st(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var at={name:"ReserveStepForm",props:["shop","product"],components:{ReserveForm:Object(m.a)(tt,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"reserve__form"},[r("form",{staticClass:"ui-form form__reserve",class:{loading:t.loading},on:{submit:function(e){return e.preventDefault(),t.submit(e)}}},[r("div",{staticClass:"form__reserve-button"},[r("UIField",{class:{"ui-invalid":t.$v.email.$error||t.errors.email}},[r("label",[t._v("Введите ваш e-mail")]),t._v(" "),r("UIInput",{model:{value:t.email,callback:function(e){t.email="string"==typeof e?e.trim():e},expression:"email"}}),t._v(" "),t.$v.email.required?t._e():r("span",{staticClass:"ui-error"},[t._v(t._s(t.messages.email.required))]),t._v(" "),!t.$v.email.email||t.errors.email?r("span",{staticClass:"ui-error"},[t._v(t._s(t.messages.email.email))]):t._e()],1),t._v(" "),r("UIField",{class:{"ui-invalid":t.$v.phone.$error||t.errors.phone}},[r("label",[t._v("Номер телефона")]),t._v(" "),r("UIPhoneInput",{model:{value:t.phone,callback:function(e){t.phone=e},expression:"phone"}}),t._v(" "),t.$v.phone.required?!t.$v.phone.phoneValidation||t.errors.phone?r("span",{staticClass:"ui-error"},[t._v(t._s(t.messages.phone.phoneValidation))]):t._e():r("span",{staticClass:"ui-error"},[t._v(t._s(t.messages.phone.required))])],1),t._v(" "),r("UIField",{class:{"ui-invalid":t.$v.name.$error}},[r("label",[t._v("Введите ваше имя")]),t._v(" "),r("UIInput",{model:{value:t.name,callback:function(e){t.name=e},expression:"name"}}),t._v(" "),t.$v.name.required?t.$v.name.alpha?t._e():r("span",{staticClass:"ui-error"},[t._v(t._s(t.messages.name.alpha))]):r("span",{staticClass:"ui-error"},[t._v(t._s(t.messages.name.required))])],1),t._v(" "),r("UIField",{class:{"ui-invalid":t.$v.last_name.$error}},[r("label",[t._v("Введите фамилию")]),t._v(" "),r("UIInput",{model:{value:t.last_name,callback:function(e){t.last_name=e},expression:"last_name"}}),t._v(" "),t.last_name&&!t.$v.last_name.alpha?r("span",{staticClass:"ui-error"},[t._v(t._s(t.messages.last_name.alpha))]):t._e()],1),t._v(" "),r("div",{staticClass:"reserve__form-button"},[r("UIButton",{staticClass:"ui-button-wide ui-button-dark",attrs:{type:"submit",loading:t.loading}},[t._v("\n          Оплатить заказ\n        ")]),t._v(" "),t._m(0)],1)],1)]),t._v(" "),t.payture.uid?r("PaytureModal",{attrs:{uid:t.payture.uid,link:t.payture.link,type:t.payture.type},on:{close:function(e){t.payture.uid=null,t.payture.link=null,t.payture.type=null}}}):t._e()],1)}),[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"reserve__form-conditions"},[t._v("\n          Нажимая на кнопку «Оплатить заказ», Вы принимаете "),r("a",{attrs:{href:"/help/conditions/",target:"_blank"}},[t._v("Правила работы\n          Интернет-магазина")]),t._v(" и подтверждаете, что ознакомлены с "),r("a",{attrs:{href:"/help/privacy-policy/",target:"_blank"}},[t._v("Политикой\n          конфиденциальности")]),t._v(" и даете "),r("a",{attrs:{href:"/help/privacy-policy/",target:"_blank"}},[t._v("согласие на обработку персональных\n          данных")]),t._v(" с целью получения информационной рассылки.\n          Защита от спама reCAPTHCA:\n          "),r("a",{attrs:{href:"https://policies.google.com/privacy?hl=ru",target:"_blank"}},[t._v("конфиденциальность")]),t._v("\n          и "),r("a",{attrs:{href:"https://policies.google.com/terms?hl=ru",target:"_blank"}},[t._v("условия использования")])])}],!1,null,null,null).exports,ReserveProduct:A,ReserveShopInfo:Object(m.a)(et,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"reserve__shop"},[r("div",{staticClass:"reserve__shop-info"},[r("div",{staticClass:"reserve__shop-back",on:{click:function(e){return t.$emit("back")}}},[t._v("\n      Выбрать другой магазин\n    ")]),t._v(" "),r("div",{staticClass:"reserve__shop-title"},[t._v("\n      "+t._s(t.shop.name)+"\n    ")]),t._v(" "),r("div",{staticClass:"reserve__shop-address"},[t._v("\n      "+t._s(t.shop.address)+"\n    ")]),t._v(" "),t.shop.schedule?r("div",{staticClass:"reserve__shop-schedule"},[t._v("\n      Время работы: "+t._s(t.shop.schedule)+"\n    ")]):t._e(),t._v(" "),t._m(0)])])}),[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"reserve__shop-lines"},[r("div",{staticClass:"reserve__shop-line"},[r("span",[t._v("Срок резерва:")]),t._v(" 3 дня\n        "),r("br"),t._v("\n        Время сборки заказа не более 8 часов\n      ")]),t._v(" "),r("div",{staticClass:"reserve__shop-line"}),t._v(" "),r("div",{staticClass:"reserve__shop-line"},[r("span",[t._v("Способ оплаты:")]),t._v(" банковской картой онлайн\n      ")]),t._v(" "),r("div",{staticClass:"reserve__shop-line"},[t._v("\n        Вы сможете забрать заказ после получения смс о готовности заказа.\n      ")])])}],!1,null,null,null).exports,ReserveMapShop:Object(m.a)(it,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"reserve__map"},[t.shop?r("yandex-map",t._b({attrs:{coords:[t.shop.lat,t.shop.lon],options:t.options},on:{"map-was-initialized":t.init}},"yandex-map",Object.assign({},t.settings),!1),[r("ymap-marker",{key:t.shop.id,attrs:{"marker-id":t.shop.id,coords:[t.shop.lat,t.shop.lon],"cluster-name":"1",icon:t.markerIcon,"marker-type":"placemark"}})],1):t._e()],1)}),[],!1,null,null,null).exports},data:function(){return{isMobile:!1,loading:!1}},computed:nt(nt({},Object(c.c)("Authentification",["getUser"])),{},{user:function(){var t,e,r,n;return{email:(null===(t=this.getUser)||void 0===t?void 0:t.email)||null,phone:Object(G.a)((null===(e=this.getUser)||void 0===e?void 0:e.phone)||null),name:(null===(r=this.getUser)||void 0===r?void 0:r.name)||null,last_name:(null===(n=this.getUser)||void 0===n?void 0:n.last_name)||null}}}),mounted:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.$nextTick((function(){t.isMobile=t.$screen&&t.$screen.width<=767,t.loading=!0}));case 1:case"end":return e.stop()}}),e)})))()},watch:{"$screen.width":function(){this.isMobile=this.$screen&&this.$screen.width<=767}}},ot={name:"Reserve",components:{ReserveStepShops:V,ReserveStepForm:Object(m.a)(at,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return t.loading?r("div",{staticClass:"reserve__content"},[t.isMobile?t._e():r("ReserveMapShop",{attrs:{shop:t.shop}}),t._v(" "),r("PerfectScrollbar",{staticClass:"reserve__right reserve__right--form"},[r("ReserveProduct",{attrs:{product:t.product}}),t._v(" "),r("ReserveShopInfo",{attrs:{shop:t.shop},on:{back:function(e){return t.$emit("back")}}}),t._v(" "),r("ReserveForm",{attrs:{user:t.user,shop:t.shop.id,product:t.product}})],1)],1):t._e()}),[],!1,null,null,null).exports},props:["shops","offerBarcode","product","gaProduct","ga4Product","getData"],data:function(){return{shop:null,showForm:!1}},provide:function(){return{shops:this.shops,barcode:this.offerBarcode,product:this.product,gaProduct:this.gaProduct,ga4Product:this.ga4Product,getData:this.getData}},computed:{step:function(){return this.shop&&this.showForm?"shops":"form"}},methods:{setShop:function(t){var e;this.shop=t;null===(e=this.shop)||void 0===e||e.name},applyShop:function(){this.showForm=!0},back:function(){this.showForm=!1}}};function ct(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function lt(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ct(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):ct(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var ut={name:"ReserveModal",components:{Reserve:Object(m.a)(ot,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"reserve"},["shops"===t.step?r("ReserveStepForm",{attrs:{shop:t.shop,product:t.product},on:{back:t.back}}):r("ReserveStepShops",{attrs:{shop:t.shop,product:t.product},on:{change:t.setShop,apply:t.applyShop}})],1)}),[],!1,null,null,null).exports},props:{product:Object,offerBarcode:String,gaProduct:Object,ga4Product:Object},data:function(){return{shops:[],productLocal:null,loading:!1,opened:!1}},computed:lt(lt({},Object(c.c)("Authentification",["location"])),{},{productData:{get:function(){return this.productLocal||this.product},set:function(t){this.productLocal=t}}}),methods:{show:function(){var t=Object(D.a)();document.body.classList.add("hidden","hidden--transparent"),document.body.style.paddingRight="".concat(t,"px"),document.getElementById("header").style.paddingRight="".concat(t,"px"),this.opened=!0},hide:function(){var t=this;document.body.classList.remove("hidden","hidden--transparent"),document.body.style.removeProperty("padding-right"),document.getElementById("header").style.removeProperty("padding-right"),this.opened=!1,setTimeout((function(){t.$emit("close")}),500)},getData:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,e.abrupt("return",t.$api.catalog.getRetailAvailability(t.offerBarcode,(null===(r=t.location)||void 0===r?void 0:r.name)||"Санкт-Петербург").then((function(e){var data=e.data;t.shops=data.shops,t.productData=JSON.parse(JSON.stringify(t.product)),data.discount_price>0&&(t.productData.price.discount_price=data.discount_price,t.productData.price.discount=t.productData.price.common_price-t.productData.price.discount_price,t.productData.price.has_discount=t.productData.price.discount>0)})).finally((function(){return t.loading=!1})));case 2:case"end":return e.stop()}}),e)})))()}},mounted:function(){var t=this;this.$nextTick((function(){t.show()})),this.getData()}},pt=Object(m.a)(ut,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("portal",{attrs:{to:"aside"}},[r("div",{staticClass:"ui-modal",on:{mousedown:function(e){return e.target!==e.currentTarget?null:t.hide(e)}}},[r("div",{staticClass:"ui-modal--reserve",class:{opened:t.opened}},[r("div",{staticClass:"modal__wrapper"},[r("div",{staticClass:"modal__top"},[r("div",{staticClass:"modal__title modal__title--filter"},[r("div",{staticClass:"modal__title-left"},[t._v("Забрать в магазине")])]),t._v(" "),r("div",{staticClass:"modal__close",on:{click:t.hide}},[r("div",{staticClass:"modal__close-container"},[r("div",{staticClass:"leftright"}),t._v(" "),r("div",{staticClass:"rightleft"})])])]),t._v(" "),r("div",{staticClass:"modal__content"},[t.shops.length>0?r("Reserve",{attrs:{shops:t.shops,product:t.productData,gaProduct:t.gaProduct,ga4Product:t.ga4Product,offerBarcode:t.offerBarcode,getData:t.getData}}):t._e()],1)])])])])}),[],!1,null,null,null).exports,vt=r(625),_t={name:"FeedbackModal",props:{sizes:{required:!0,type:Array,default:function(){return[]}},product:{required:!0,type:Object,default:function(){return null}},current:{required:!0,type:Object,default:function(){return null}}},components:{FeedbackForm:vt.a},data:function(){return{opened:!1}},methods:{show:function(){var t=Object(D.a)();document.body.classList.add("hidden","hidden--transparent"),document.body.style.paddingRight="".concat(t,"px"),document.getElementById("header").style.paddingRight="".concat(t,"px"),this.opened=!0},hide:function(){var t=this;document.body.classList.remove("hidden","hidden--transparent"),document.body.style.removeProperty("padding-right"),document.getElementById("header").style.removeProperty("padding-right"),this.opened=!1,setTimeout((function(){t.$emit("close")}),500)}},mounted:function(){var t=this;this.$nextTick((function(){t.show()}))}},mt=Object(m.a)(_t,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("portal",{attrs:{to:"aside"}},[r("div",{staticClass:"ui-modal",on:{mousedown:function(e){return e.target!==e.currentTarget?null:t.hide(e)}}},[r("div",{staticClass:"ui-modal--subscribe",class:{opened:t.opened}},[r("div",{staticClass:"modal__wrapper"},[r("div",{staticClass:"modal__top"},[r("div",{staticClass:"modal__title modal__title--filter"},[r("div",{staticClass:"modal__title-left"},[t._v("Задать вопрос")])]),t._v(" "),r("div",{staticClass:"modal__close",on:{click:t.hide}},[r("div",{staticClass:"modal__close-container"},[r("div",{staticClass:"leftright"}),t._v(" "),r("div",{staticClass:"rightleft"})])])]),t._v(" "),r("div",{staticClass:"modal__content"},[r("PerfectScrollbar",{staticClass:"modal__block"},[r("FeedbackForm")],1)],1)])])])])}),[],!1,null,null,null).exports;function ht(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function ft(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ht(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):ht(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var bt={name:"BonusesModal",data:function(){return{opened:!1}},computed:ft(ft({},Object(c.c)("Authentification",["getLoyalty"])),{},{level:function(){var t,e;return"string"==typeof(null===(t=this.getLoyalty)||void 0===t?void 0:t.current_level)?null===(e=this.getLoyalty)||void 0===e?void 0:e.current_level.toLowerCase():null}}),methods:{show:function(){var t=Object(D.a)();document.body.classList.add("hidden","hidden--transparent"),document.body.style.paddingRight="".concat(t,"px"),document.getElementById("header").style.paddingRight="".concat(t,"px"),this.opened=!0},hide:function(){var t=this;document.body.classList.remove("hidden","hidden--transparent"),document.body.style.removeProperty("padding-right"),document.getElementById("header").style.removeProperty("padding-right"),this.opened=!1,setTimeout((function(){t.$emit("close")}),500)}},mounted:function(){var t=this;this.$nextTick((function(){t.show()}))}},gt=Object(m.a)(bt,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("portal",{attrs:{to:"aside"}},[r("div",{staticClass:"ui-modals",class:{opened:t.opened},on:{click:t.hide}},[r("div",{staticClass:"ui-modals-dialog ui-modals-dialog--bonuses",on:{click:function(t){t.stopPropagation()}}},[r("div",{staticClass:"ui-modals-close",on:{click:t.hide}},[r("SvgIcon",{attrs:{name:"icon-close-thing",width:"26px",height:"26px"}})],1),t._v(" "),r("div",{staticClass:"ui-modals-body"},[r("div",{staticClass:"bonuses-modal"},[t.level?[r("p",{staticClass:"bonuses-modal__bold"},[t._v("Для участников программы лояльности Zarina Club")]),t._v(" "),r("p",[t._v("Количество бонусов к начислению для уровня "),r("span",{staticClass:"bonuses-modal__level"},[t._v(t._s(t.level))])]),t._v(" "),r("p",{staticClass:"bonuses-modal__bold bonuses-modal__bold--bonus-rub"},[t._v("1 бонус = 1 рубль")]),t._v(" "),r("p",[t._v("Копи бонусы и оплачивай до 30% от стоимости покупки")]),t._v(" "),r("p",[r("a",{attrs:{target:"_blank",href:"/help/loyalty/"}},[t._v("Подробнее о программе лояльности")])])]:[r("p",{staticClass:"bonuses-modal__bold"},[t._v("Для участников программы лояльности Zarina Club")]),t._v(" "),r("p",[t._v("Количество бонусов к начислению для уровня "),r("span",{staticClass:"bonuses-modal__level"},[t._v("Prime")])]),t._v(" "),r("p",{staticClass:"bonuses-modal__bold bonuses-modal__bold--bonus-rub"},[t._v("1 бонус = 1 рубль")]),t._v(" "),r("p",[t._v("Копи бонусы и оплачивай до 30% от стоимости покупки")]),t._v(" "),r("p",[r("a",{attrs:{target:"_blank",href:"/help/loyalty/"}},[t._v("Подробнее о программе лояльности")])])]],2)])])])])}),[],!1,null,null,null).exports,yt=r(194),Ct=r(623),wt=r(2),kt=r.n(wt);function Ot(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(object);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,r)}return e}function Pt(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?Ot(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):Ot(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var jt={components:{Breadcrumbs:d.a,Share:v.a,SizesModal:z,SubscribeModal:U.a,Media:h,Slider:w,SizesMobile:P,ReserveModal:pt,Label:y,Sizebar:B.a,FeedbackModal:mt,Promo:yt.a,Podeli:Ct.a,BonusesModal:gt},name:"ProductCard",props:{item:{required:!0,type:Object},productId:{required:!0,type:String}},inject:{listName:{from:"listName",default:""},pageType:{from:"pageType",default:""}},data:function(){return{activeSize:!1,activeOffer:!1,activeTab:0,showStoresModal:!1,showSizebar:!1,showFeedbackModal:!1,bonusesModal:!1,socials:[{network:"vk",icon:"icon-socials-vk"},{network:"odnoklassniki",icon:"icon-socials-ok"},{network:"telegram",icon:"icon-socials-telegram"},{network:"whatsapp",icon:"icon-socials-whatsapp"}],open:[],showSizesModal:!1,showSubscriptionModal:!1,isMobile:!1,showBottomMobile:!1,showReserveModal:!1,loading:!1}},computed:Pt(Pt(Pt(Pt(Pt({},Object(c.d)("Auth",["userEmail","userId","isAutorize","bitrixSessId"])),Object(c.c)("Authentification",["favorites","location","getLoyalty","getUser"])),Object(c.c)("Basket",["barcodes","products"])),Object(c.c)("Authentification",["colorMode"])),{},{inBasket:function(){var t=this.activeOffer&&this.activeOffer.barcode;return this.barcodes.includes(t)},vendor_code:function(){return this.item.vendor_code&&this.item.vendor_code.split("-")[0]},badgeText:function(){var t,e;return(null===(t=this.item)||void 0===t||null===(e=t.price)||void 0===e?void 0:e.discount)&&"-".concat(this.item.price.discount,"%")},isExclusiveOnline:function(){var t;return(null===(t=this.item)||void 0===t?void 0:t.attributes)&&this.item.attributes.find((function(t){return"эксклюзивно онлайн"===t}))},isFavorite:function(){var t;return null===(t=this.favorites)||void 0===t?void 0:t.includes(this.item.id)},activeSizeOrDefault:function(){return this.activeSize=this.item.sizes.find((function(t){return t.is_available}))||this.item.sizes[0]},defaultOffer:function(){return this.activeSize.offers.find((function(t){return t.is_available}))||this.activeSize.offers[0]},activeOfferOrDefault:function(){return this.activeOffer||this.defaultOffer},showGrowths:function(){var t,e;return(null===(t=this.activeSize)||void 0===t||null===(e=t.offers)||void 0===e?void 0:e.length)>1},category:function(){return this.item.categories.map((function(t){return t.title})).join(" / ")},color:function(){return this.item.colors.find((function(t){return t.is_current}))},bonusesText:function(){var t,e,r;return(null===(t=this.item)||void 0===t?void 0:t.bonus)>0?("+"+(null===(e=this.item)||void 0===e?void 0:e.bonus)+" "+Object(l.a)(null===(r=this.item)||void 0===r?void 0:r.bonus,["бонус","бонуса","бонусов"])).toUpperCase():null},available:function(){var t,e;return null===(t=this.item)||void 0===t||null===(e=t.sizes)||void 0===e?void 0:e.some((function(t){return t.is_available}))},gaProduct:function(){return{id:this.item.id,name:this.item.name,price:this.item.price.discount_price,brand:"ZARINA",category:this.category,variant:this.activeOffer.id}},ga4Product:function(){return{item_id:this.item.id,item_name:this.item.name,price:this.item.price.discount_price,item_brand:"ZARINA",item_category:this.category,item_list_name:this.listName}},isCrawler:function(){return this.$device.isCrawler},priceUntilValue:function(){return kt()().add(1,"year").format("YYYY-MM-DD")}}),methods:Pt(Pt(Pt(Pt({},Object(c.b)("Favorites",["addFavorites","removeFavorites"])),Object(c.b)("Basket",["addToBasket"])),Object(c.b)("Layout",["openCart","setGroup"])),{},{scroll:function(){var t=window.pageYOffset||document.documentElement.scrollTop,e=window.innerHeight,r=document.getElementById("footer").offsetTop;this.showBottomMobile=t+e<r+100},favoritesAction:function(){var t=this;this.isFavorite?this.removeFavorites(this.item.id):this.addFavorites(this.item.id).then((function(data){var e;t.$analytics.terratraf.init(null===(e=t.getUser)||void 0===e?void 0:e.id,window.location.href),t.$analytics.terratraf.likeProduct(t.item.id),t.$analytics.terratraf.send(),t.$analytics.ga4.addToWishlist(t.ga4Product)}))},clickBasket:function(t){var e=this;this.inBasket?this.openCart():(this.loading=!0,this.addToBasket({barcode:this.activeOffer.barcode,quantity:1}).then((function(){var t;e.$toast.show(" ",{action:{text:"Товар добавлен в корзину",class:"toasted-action",onClick:function(t,r){e.openCart(),r.goAway(0)}}}),e.gaAdd(),e.$analytics.terratraf.init(null===(t=e.getUser)||void 0===t?void 0:t.id,window.location.href),e.$analytics.terratraf.addBasket([e.activeOffer.barcode]),e.$analytics.terratraf.send()})).catch((function(t){if(t&&t.response){var r=t.response.data.message;e.$toast.error(r)}})).finally((function(){e.loading=!1})))},changeColor:function(t){this.$router.push("/catalog/product/".concat(t,"/"))},isWhiteColor:function(t){return"#ffffff"===t||"#FFFFFF"===t},isBlackColor:function(t){return"#000000"===t},setActiveSize:function(t){this.activeSize=t,this.activeOffer=this.defaultOffer,this.$analytics.ga4.viewItem(this.ga4Product),this.advcakeDetail()},setActiveOffer:function(t){this.activeOffer=t},showStoreModal:function(){this.$refs.reserveGoods.showReserveModal(),this.showStoresModal=!0},closeStoreModal:function(){this.showStoresModal=!1},addToSubscription:function(t){this.activeOffer=t,this.showSubscriptionModal=!0},toggle:function(t){var e=this.open.indexOf(t);e>-1?this.open.splice(e,1):this.open.push(t)},click:function(){this.$analytics.ga4.selectItem(this.ga4Product)},gaAdd:function(){this.$analytics.ga4.addToCart(this.ga4Product)},advcakeDetail:function(){this.$analytics.advcake.push({pageType:2,currentCategory:{id:this.category,name:this.category},currentProduct:{id:this.item.id,name:this.item.name,price:this.item.price.discount_price||this.item.price.common_price},basketProducts:Object.values(this.products).map((function(t){var e,r;return{id:t.article,name:t.name||t.old,price:(null===(e=t.price)||void 0===e?void 0:e.now)||(null===(r=t.price)||void 0===r?void 0:r.old),quantity:t.quantity,categoryId:t.category,categoryName:t.category}}))})},particlesInit:function(t){return Object(n.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,loadConfettiPreset(t);case 2:case"end":return e.stop()}}),e)})))()}}),mounted:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.setActiveSize(t.activeSizeOrDefault),t.setActiveOffer(t.activeOfferOrDefault),t.$nextTick((function(){t.isMobile=t.$screen&&t.$screen.width<=767,t.scroll()})),window.addEventListener("scroll",(function(){t.scroll()})),window.addEventListener("resize",(function(){t.scroll()})),window.APRT_DATA={pageType:2,currentProduct:{id:t.item.id,name:t.item.name,price:t.item.price.discount_price},currentCategory:{}},t.$analytics.ga4.viewItem(t.ga4Product),t.advcakeDetail(),t.$analytics.terratraf.init(null===(r=t.getUser)||void 0===r?void 0:r.id,window.location.href),t.$analytics.terratraf.viewProduct(t.item.id),t.$analytics.terratraf.send();case 11:case"end":return e.stop()}}),e)})))()},watch:{location:function(){},"$screen.width":function(){this.isMobile=this.$screen&&this.$screen.width<=767},item:function(t){this.setActiveSize(this.activeSizeOrDefault),this.setActiveOffer(this.activeOfferOrDefault)}},beforeDestroy:function(){var t=this;window.removeEventListener("resize",(function(){t.scroll()})),window.removeEventListener("scroll",(function(){t.scroll()}))},head:function(){var t,e,r,image=null===(t=this.item)||void 0===t||null===(e=t.media)||void 0===e||null===(r=e.filter((function(t){return"image"==t.type})))||void 0===r?void 0:r[0];if(image){var meta=[{hid:"og:image",property:"og:image",content:null==image?void 0:image.media_url}];return(null==image?void 0:image.width)>0&&meta.push({hid:"og:image:width",property:"og:image:width",content:null==image?void 0:image.width}),(null==image?void 0:image.height)>0&&meta.push({hid:"og:image:height",property:"og:image:height",content:null==image?void 0:image.height}),{meta:meta}}}},St=Object(m.a)(jt,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"product",attrs:{itemscope:"",itemtype:"https://schema.org/Product"}},[r("div",{staticClass:"product__wrapper"},[r("meta",{attrs:{itemprop:"brand",content:"ZARINA"}}),t._v(" "),r("meta",{attrs:{itemprop:"sku",content:t.item.vendor_code}}),t._v(" "),t.isMobile?r("Breadcrumbs"):t._e(),t._v(" "),r("div",{staticClass:"product__media"},[t.isMobile?r("Slider",{attrs:{items:t.item.media,title:t.item.name+" "+t.item.vendor_code}}):r("Media",{attrs:{items:t.item.media,title:t.item.name+" "+t.item.vendor_code}}),t._v(" "),t._l(t.item.badges,(function(t,e){return r("Label",{key:"badge"+e,style:{color:t.color,background:t.background},attrs:{text:t.label,classes:t.classes}})})),t._v(" "),t.isMobile&&t.activeOffer.stores_quantity>0?r("div",{staticClass:"product__stores-badge"},[r("span",{on:{click:function(e){t.showReserveModal=!0}}},[t._v("наличие в магазинах")])]):t._e(),t._v(" "),r("div",{staticClass:"product__favorites-mobile",class:{active:t.isFavorite},on:{click:t.favoritesAction}},[r("UIIcon",{attrs:{icon:t.isFavorite?"IconFavoritesFill":"IconFavoritesStroke",width:"20px",height:"20px"}})],1)],2),t._v(" "),r("NuxtjsStickySidebar",{staticClass:"product__content",attrs:{containerSelector:".product",topSpacing:90,bottomSpacing:30,minWidth:767,innerWrapperSelector:".product__content-inner"}},[r("div",{staticClass:"product__content-inner"},[t.isMobile?t._e():[r("Breadcrumbs"),t._v(" "),r("h1",{staticClass:"product__title",attrs:{itemprop:"name"}},[t._v("\n            "+t._s(t.item.name)+" "),r("span",[t._v(t._s(t.item.vendor_code))])]),t._v(" "),r("div",{staticClass:"product__price",attrs:{itemprop:"offers",itemscope:"",itemtype:"http://schema.org/Offer"}},[t.available?r("meta",{attrs:{itemprop:"availability",content:"InStock"}}):r("div",[t._v("\n              Нет в наличии\n              "),r("meta",{attrs:{itemprop:"availability",content:"OutOfStock"}})]),t._v(" "),t.item.price.discount&&t.available?r("div",{staticClass:"product__price-old"},[t._v("\n              "+t._s(t.item.price.common_price)+" ₽\n            ")]):t._e(),t._v(" "),t.available?r("div",{staticClass:"product__price-current"},[t._v("\n              "+t._s(t.item.price.discount_price)+" ₽\n            ")]):t._e(),t._v(" "),t.badgeText?r("div",{staticClass:"product__price-discount"},[t._v("\n              "+t._s(t.badgeText)+"\n            ")]):t._e(),t._v(" "),t.bonusesText?r("div",{staticClass:"product__price-bonuses",on:{click:function(e){t.bonusesModal=!0}}},[r("div",{staticClass:"product__price-bonuses_text"},[t._v("\n                "+t._s(t.bonusesText)+"\n              ")]),t._v(" "),r("div",{staticClass:"product__price-bonuses_info"},[r("SvgIcon",{staticClass:"product__price-bonuses_info--grey",attrs:{name:"icon-question-grey",width:"12px",height:"12px"}}),t._v(" "),r("SvgIcon",{staticClass:"product__price-bonuses_info--white",attrs:{name:"icon-question-white",width:"12px",height:"12px"}})],1)]):t._e(),t._v(" "),r("meta",{attrs:{itemprop:"price",content:t.item.price.discount_price}}),t._v(" "),r("meta",{attrs:{itemprop:"priceCurrency",content:"RUB"}}),t._v(" "),r("meta",{attrs:{itemprop:"priceValidUntil",content:t.priceUntilValue}})])],t._v(" "),r("div",{staticClass:"product__colors"},[r("div",{staticClass:"product__colors-list"},t._l(t.item.colors,(function(e){return r("div",{key:e.id,staticClass:"product__colors-item",class:{is_current:e.is_current,is_white:t.isWhiteColor(e.code),is_black:t.isBlackColor(e.code)},on:{click:function(r){return t.changeColor(e.product_id)}}},[r("span",{style:{backgroundColor:""+e.code}})])})),0),t._v(" "),t.color?r("div",{staticClass:"product__colors-title"},[t._v("\n            "+t._s(t.color.title)+"\n          ")]):t._e()]),t._v(" "),t.isMobile?t._e():[r("div",{staticClass:"product__sizes"},[r("div",{staticClass:"product__sizes-title"},[t._v("Размер")]),t._v(" "),r("div",{staticClass:"product__sizes-list"},t._l(t.item.sizes,(function(e){return r("div",{key:e.id,staticClass:"product__sizes-item"},[r("div",{staticClass:"size",class:{disabled:!e.is_available,active:t.activeSize.id===e.id},on:{click:function(r){return t.setActiveSize(e)}}},[r("div",{staticClass:"size-title"},[t._v(t._s(e.id))]),t._v(" "),e.size_ru?r("div",{staticClass:"size-ru"},[t._v("\n                    "+t._s(e.size_ru)+"\n                  ")]):t._e()])])})),0)]),t._v(" "),t.showGrowths?r("div",{staticClass:"product__growths"},[r("div",{staticClass:"product__growths-title"},[t._v("Рост")]),t._v(" "),r("div",{staticClass:"product__growths-list"},t._l(t.activeSize.offers,(function(e){return r("div",{key:e.barcode,staticClass:"product__growths-item"},[r("div",{staticClass:"growth",class:{disabled:!e.is_available,active:t.activeOffer.barcode===e.barcode},on:{click:function(r){return t.setActiveOffer(e)}}},[t._v("\n                  "+t._s(e.growth)+"\n                ")])])})),0)]):t._e(),t._v(" "),r("div",{staticClass:"product__sizes-link"},[r("span",{on:{click:function(e){t.showSizesModal=!0}}},[t._v("Таблица размеров")])]),t._v(" "),r("div",{staticClass:"product__actions"},[r("div",{staticClass:"product__actions-line"},[r("div",{ref:"productButtonCart",staticClass:"product__actions-button"},[t.activeOffer.is_available?r("UIButton",{staticClass:"ui-button-wide",class:{"ui-button-dark":!t.inBasket,"ui-button-white":t.inBasket},attrs:{loading:t.loading},on:{click:t.clickBasket}},[t._v("\n                  "+t._s(t.inBasket?"В корзине":"В корзину")+"\n                ")]):r("UIButton",{staticClass:"ui-button-wide ui-button-dark",on:{click:function(e){return t.addToSubscription(t.activeOffer)}}},[t._v("Сообщить о поступлении")])],1),t._v(" "),r("div",{staticClass:"product__actions-additional"},[r("div",{staticClass:"product__favorites",class:{active:t.isFavorite},on:{click:t.favoritesAction}},[r("UIIcon",{attrs:{icon:t.isFavorite?"IconFavoritesFill":"IconFavoritesStroke",width:"20px",height:"20px"}})],1)])]),t._v(" "),t.activeOffer.stores_quantity>0?r("div",{staticClass:"product__actions-line",on:{click:t.gaAdd}},[r("div",{staticClass:"product__actions-button"},[r("UIButton",{staticClass:"ui-button-wide ui-button-white",on:{click:function(e){t.showReserveModal=!0}}},[t._v("Быстрый заказ")])],1),t._v(" "),r("div",{staticClass:"product__actions-additional"},[r("div",{staticClass:"product__stores",on:{click:function(e){t.showReserveModal=!0}}},[r("span",[t._v("наличие в магазинах")])])])]):t._e()])],t._v(" "),t.item.discounts.length&&t.available?r("Promo",{attrs:{discounts:t.item.discounts}}):t.available?r("Podeli",{attrs:{productsPrice:t.item.price.discount_price,inset:""}}):t._e(),t._v(" "),r("div",{ref:"productTabs",staticClass:"product__tabs"},[r("div",{staticClass:"product__tab"},[r("div",{staticClass:"product__tab-title",class:{opened:t.open.includes(0)||t.isCrawler},on:{click:function(e){return t.toggle(0)}}},[t._v("\n              Информация о товаре\n              "),r("span",{staticClass:"product__tab-dropdown"},[r("SvgIcon",{attrs:{name:"icon-dropdown",width:"7px",height:"5px"}})],1)]),t._v(" "),r("UIToggle",{attrs:{duration:{enter:500,leave:400}}},[r("div",{directives:[{name:"show",rawName:"v-show",value:t.open.includes(0)||t.isCrawler,expression:"open.includes(0) || isCrawler"}],staticClass:"product__tab-content"},[r("div",{staticClass:"product__tab-content_wrapper"},[r("div",{staticClass:"product__article"},[t._v("\n                    Артикул: "+t._s(t.item.vendor_code)+"\n                  ")]),t._v(" "),t.item.description?r("div",{staticClass:"product__desc",attrs:{itemprop:"description"}},t._l(t.item.description,(function(desc){return r("div",{key:desc.title},[t._v("\n                      "+t._s(desc.title)+": "+t._s(desc.text)+"\n                    ")])})),0):t._e(),t._v(" "),t.item.model?r("div",{staticClass:"product__model"},[r("div",[t._v("\n                      Размер на модели: "+t._s(t.item.model.size_on_model)+"\n                    ")]),t._v(" "),r("div",[t._v("Параметры модели: "+t._s(t.item.model.params_model))])]):t._e()])])])],1),t._v(" "),t.isMobile&&t.activeOffer.stores_quantity>0?r("div",{staticClass:"product__reserve"},[r("div",{staticClass:"product__reserve-info"},[r("span",{on:{click:function(e){t.showReserveModal=!0}}},[t._v("наличие в магазинах")])]),t._v(" "),r("div",{staticClass:"product__reserve-button",on:{click:t.gaAdd}},[r("UIButton",{staticClass:"ui-button-wide ui-button-white",on:{click:function(e){t.showReserveModal=!0}}},[t._v("Быстрый заказ")])],1)]):t._e(),t._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:t.available,expression:"available"}],staticClass:"product__tab"},[r("div",{staticClass:"product__tab-title",class:{opened:t.open.includes(2)||t.isCrawler},on:{click:function(e){return t.toggle(2)}}},[t._v("\n              Доставка\n              "),r("span",{staticClass:"product__tab-dropdown"},[r("SvgIcon",{attrs:{name:"icon-dropdown",width:"7px",height:"5px"}})],1)]),t._v(" "),r("UIToggle",{attrs:{duration:{enter:500,leave:400}}},[r("div",{directives:[{name:"show",rawName:"v-show",value:t.open.includes(2)||t.isCrawler,expression:"open.includes(2) || isCrawler"}],staticClass:"product__tab-content"},[r("div",{staticClass:"product__tab-content_wrapper"},[r("p",[t.item.threshold>1?r("span",[t._v("\n                      Бесплатная доставка при заказе от\n                      "+t._s(t.item.threshold.toLocaleString())+" руб."),r("br")]):r("span",[t._v(" Бесплатная доставка"),r("br")]),t._v("\n                    Вы можете выбрать наиболее подходящий для вас способ\n                    доставки товара:\n                  ")]),t._v(" "),r("div",{staticClass:"product__deliveries"},[r("div",{staticClass:"product__deliveries-item"},[r("div",{staticClass:"product__deliveries-icon"},[r("SvgIcon",{attrs:{name:"icon-delivery-courier",width:"25px",height:"25px"}})],1),t._v(" "),r("div",{staticClass:"product__deliveries-text"},[r("div",{staticClass:"product__deliveries-title"},[t._v("\n                          Курьерская доставка.\n                        ")]),t._v(" "),r("div",{staticClass:"product__deliveries-desc"},[t._v("\n                          Срок – от 1 дня.\n                        ")])])]),t._v(" "),r("div",{staticClass:"product__deliveries-item"},[r("div",{staticClass:"product__deliveries-icon"},[r("SvgIcon",{attrs:{name:"icon-delivery-post",width:"25px",height:"25px"}})],1),t._v(" "),r("div",{staticClass:"product__deliveries-text"},[r("div",{staticClass:"product__deliveries-title"},[t._v("\n                          Доставка в пункты выдачи заказов и постаматы.\n                        ")]),t._v(" "),r("div",{staticClass:"product__deliveries-desc"},[t._v("\n                          Срок – от 1 дня.\n                        ")])])]),t._v(" "),r("div",{staticClass:"product__deliveries-item"},[r("div",{staticClass:"product__deliveries-icon"},[r("SvgIcon",{attrs:{name:"icon-delivery-pin",width:"25px",height:"25px"}})],1),t._v(" "),r("div",{staticClass:"product__deliveries-text"},[r("div",{staticClass:"product__deliveries-title"},[t._v("\n                          Самовывозом из магазина\n                        ")]),t._v(" "),r("div",{staticClass:"product__deliveries-desc"},[t._v("\n                          Срок – от 1 дня.\n                        ")])])])]),t._v(" "),r("p",[t._v("\n                    Более подробная информация в разделе\n                    "),r("NuxtLink",{attrs:{to:"/help/delivery-and-payment/",target:"_blank"}},[t._v("Доставка.")])],1)])])])],1),t._v(" "),r("div",{directives:[{name:"show",rawName:"v-show",value:t.available,expression:"available"}],staticClass:"product__tab"},[r("div",{staticClass:"product__tab-title",class:{opened:t.open.includes(3)||t.isCrawler},on:{click:function(e){return t.toggle(3)}}},[t._v("\n              Оплата\n              "),r("span",{staticClass:"product__tab-dropdown"},[r("SvgIcon",{attrs:{name:"icon-dropdown",width:"7px",height:"5px"}})],1)]),t._v(" "),r("UIToggle",{attrs:{duration:{enter:500,leave:400}}},[r("div",{directives:[{name:"show",rawName:"v-show",value:t.open.includes(3)||t.isCrawler,expression:"open.includes(3) || isCrawler"}],staticClass:"product__tab-content"},[r("div",{staticClass:"product__tab-content_wrapper"},[r("p",[t._v("\n                    Для вашего удобства мы предусмотрели разные способы оплаты\n                    заказа:\n                  ")]),t._v(" "),r("ol",[r("li",[t._v("Банковской картой на сайте")]),t._v(" "),r("li",[t._v("Подели - оплата по частям без комиссии и переплат")])]),t._v(" "),r("p",[t._v("\n                    Более подробная информация в разделе\n                    "),r("NuxtLink",{attrs:{to:"/help/delivery-and-payment/",target:"_blank"}},[t._v("Оплата.")])],1)])])])],1)]),t._v(" "),t._e(),t._v(" "),r("Share",{attrs:{text:"Поделиться",url:t.item.share_url,title:t.item.name,list:t.socials}})],2)])],1),t._v(" "),t.isMobile?r("div",{staticClass:"product__bottom",class:{opened:t.showBottomMobile}},[r("div",{staticClass:"product__bottom-top"},[r("div",{staticClass:"product__bottom-line"},[r("h1",{staticClass:"product__title",attrs:{itemprop:"name"}},[t._v("\n          "+t._s(t.item.name)+" "),r("span",[t._v(t._s(t.item.vendor_code))])]),t._v(" "),r("div",{staticClass:"product__price",attrs:{itemprop:"offers",itemscope:"",itemtype:"http://schema.org/Offer"}},[t.item.price.discount?r("div",{staticClass:"product__price-old"},[t._v("\n            "+t._s(t.item.price.common_price)+" ₽\n          ")]):t._e(),t._v(" "),r("div",{staticClass:"product__price-current"},[t._v("\n            "+t._s(t.item.price.discount_price)+" ₽\n          ")]),t._v(" "),r("meta",{attrs:{itemprop:"price",content:t.item.price.discount_price}}),t._v(" "),r("meta",{attrs:{itemprop:"priceCurrency",content:"RUB"}})])]),t._v(" "),t.bonusesText?r("div",{staticClass:"product__price-bonuses",on:{click:function(e){t.bonusesModal=!0}}},[r("div",{staticClass:"product__price-bonuses_text"},[t._v("\n          "+t._s(t.bonusesText)+"\n        ")]),t._v(" "),r("div",{staticClass:"product__price-bonuses_info"},[r("SvgIcon",{staticClass:"product__price-bonuses_info--grey",attrs:{name:"icon-question-grey",width:"12px",height:"12px"}}),t._v(" "),r("SvgIcon",{staticClass:"product__price-bonuses_info--white",attrs:{name:"icon-question-white",width:"12px",height:"12px"}})],1)]):t._e()]),t._v(" "),r("div",{staticClass:"product__bottom-actions"},[r("div",{staticClass:"product__bottom-sizes"},[r("div",{staticClass:"product__bottom-size",on:{click:function(e){t.showSizebar=!0}}},[r("div",[t._v("\n            "+t._s(t.activeOffer.size)+"\n            "),t.activeOffer.size_ru?r("span",[t._v("("+t._s(t.activeOffer.size_ru)+")")]):t._e(),t._v(" "),t.showGrowths?r("span",[t._v(t._s(t.activeOffer.growth))]):t._e()]),t._v(" "),r("div",{staticClass:"ui-arrow bottom"})])]),t._v(" "),r("div",{staticClass:"product__bottom-button"},[t.activeOffer.is_available?r("UIButton",{class:{"ui-button-wide":!0,"ui-button-dark":!t.inBasket,"ui-button-white":t.inBasket},attrs:{loading:t.loading},on:{click:t.clickBasket}},[t._v(t._s(t.inBasket?"В корзине":"В корзину"))]):r("UIButton",{staticClass:"ui-button-wide ui-button-dark mini",on:{click:function(e){return t.addToSubscription(t.activeOffer)}}},[t._v("Сообщить о поступлении")])],1)])]):t._e(),t._v(" "),t.showSizebar?r("Sizebar",{attrs:{sizes:t.item.sizes,activeOffer:t.activeOffer,useActive:!0},on:{close:function(e){t.showSizebar=!1},change:function(e){return t.setActiveOffer(e)},openSizesTable:function(e){t.showSizesModal=!0}}}):t._e(),t._v(" "),t.showSizesModal?r("SizesModal",{attrs:{sizesList:t.item.sizesList,measurements:t.item.measurements},on:{close:function(e){t.showSizesModal=!1}}}):t._e(),t._v(" "),t.showSubscriptionModal?r("SubscribeModal",{attrs:{activeOffer:t.activeOffer,product:t.item},on:{close:function(e){t.showSubscriptionModal=!1}}}):t._e(),t._v(" "),t.showReserveModal?r("ReserveModal",{attrs:{product:t.item,gaProduct:t.gaProduct,ga4Product:t.ga4Product,offerBarcode:t.activeOffer.barcode},on:{close:function(e){t.showReserveModal=!1}}}):t._e(),t._v(" "),t.showFeedbackModal?r("FeedbackModal",{on:{close:function(e){t.showFeedbackModal=!1}}}):t._e(),t._v(" "),t.bonusesModal?r("BonusesModal",{on:{close:function(e){t.bonusesModal=!1}}}):t._e()],1)}),[],!1,null,null,null).exports;e.a=St},640:function(t,e,r){"use strict";r(6);var n=r(19),o=(r(49),r(32),{name:"NewProductsItem",components:{ProductItem:r(575).a},props:{item:Object,index:Number}}),c=r(0),l={components:{Item:Object(c.a)(o,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"home__products-item swiper-slide"},[r("ProductItem",{attrs:{item:t.item,index:t.index,isSliderItem:!0},on:{changeColor:function(e){return t.$emit("change",e)}}})],1)}),[],!1,null,null,null).exports},name:"SimilarProducts",props:{articles:{required:!0,type:Array|Object,default:function(){return[]}},products:{required:!0,type:Array|Object,default:function(){return[]}}},data:function(){return{options:{loop:!1,slidesPerView:4,spaceBetween:20,breakpoints:{1024:{slidesPerView:"auto",spaceBetween:10}}}}},methods:{getProductById:function(t){return this.products.find((function(e){return e.id===t}))},updateProduct:function(t,e){this.$emit("update",t,e)}}},d=Object(c.a)(l,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"similar-products__slider"},[r("div",{directives:[{name:"swiper",rawName:"v-swiper:SimilarProductsSlider",value:t.options,expression:"options",arg:"SimilarProductsSlider"}],ref:"SimilarProductsSlider",staticClass:"slider__products"},[r("div",{staticClass:"swiper-wrapper"},t._l(t.articles,(function(article,e){return r("Item",{key:e,attrs:{index:e,item:t.getProductById(article)},on:{change:function(r){return t.updateProduct(e,r)}}})})),1)])])}),[],!1,null,null,null).exports,v={name:"SimilarProductsPlaceholder"},_=Object(c.a)(v,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"similar-products__placeholder"},[r("div",{staticClass:"similar-products__placeholder-wrapper"},t._l(4,(function(p){return r("div",{key:p,staticClass:"catalog__item"},[r("content-placeholders",{staticClass:"catalog__product",attrs:{animated:!1}},[r("div",{staticClass:"catalog__product-media"},[r("div",{staticClass:"catalog__product-media_wrapper"},[r("content-placeholders-img")],1)]),t._v(" "),r("content-placeholders-text",{staticClass:"catalog__product-info",attrs:{lines:3}})],1)],1)})),0)])}),[],!1,null,null,null).exports,m={name:"SimilarProducts",props:{productId:{required:!0,type:String},products:{type:null|Array,default:function(){return[]}},elastic:{type:null|Boolean,default:!1}},provide:function(){return{listName:"Похожие товары"}},components:{List:d,Placeholder:_},data:function(){return{visible:!1}},computed:{articles:function(){return this.products.map((function(t){return t.id}))}},methods:{setLoad:function(t){this.visible=t},fetchProducts:function(){var t=this;return this.$api.catalog.getSimilarProducts(this.productId).then((function(e){var data=e.data,r=data.articles,n=data.products;t.articles=r,t.products=n}))},updateProduct:function(t,e){var r=Object(n.a)(this.articles);r.splice(t,1,e),this.articles=r}},watch:{visible:function(t){var e=this;t&&!this.elastic&&this.fetchProducts().finally((function(){e.load=!0}))}}},h=Object(c.a)(m,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:{callback:this.setLoad,throttle:1e3,once:!0},expression:"{\n    callback: setLoad,\n    throttle: 1000,\n    once: true,\n  }"}],staticClass:"similar-products"},[e("div",{staticClass:"similar-products__wrapper"},[this._m(0),this._v(" "),this.products.length>0?e("List",{attrs:{articles:this.articles,products:this.products},on:{update:this.updateProduct}}):e("Placeholder")],1)])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"similar-products__title"},[e("div",{staticClass:"h2"},[this._v("Похожие товары")])])}],!1,null,null,null).exports;e.a=h},642:function(t,e,r){"use strict";r(6),r(49);var n=r(575),o=r(622),c={name:"ProductTotalLookBlock",components:{ProductItem:n.a,ShopTheLookModal:o.a},props:{productId:{type:null|String,required:!0,default:null},products:{type:Array,required:!0,default:function(){return[]}},articles:{type:Array,required:!0,default:function(){return[]}},modalOpen:{type:null|Boolean,default:!1}},provide:function(){return{listName:"Образ целиком"}},data:function(){return{showModal:!1,options:{loop:!1,slidesPerView:3,spaceBetween:20,breakpoints:{1200:{slidesPerView:2},767:{slidesPerView:2,spaceBetween:10}}}}},computed:{images:function(){var t=this;return this.articles.map((function(article){return t.getProductById(article).media.find((function(t){return"image"===t.type}))}))}},methods:{checkWidth:function(){this.isMobile=window.innerWidth<768},openModal:function(){var t=this;window.location="#totalLook",this.$api.catalog.getShopTheLook(this.productId).then((function(e){t.items=e.data.items.articles,t.products=e.data.items.products,t.showModal=!0}))},getLook:function(){var t=this;this.$api.catalog.getShopTheLook(this.productId).then((function(e){t.items=e.data.items.articles,t.products=e.data.items.products})).catch((function(t){console.log(t)}))},getProductById:function(t){return this.products.find((function(e){return e.id==t}))}},mounted:function(){this.modalOpen&&this.openModal(),this.checkWidth(),addEventListener("resize",this.checkWidth);var t=this.$refs.lookSwiper;t&&this.$nextTick((function(){t.swiper.loopDestroy(),t.swiper.loopCreate()}))},watch:{isInit:function(t,e){t&&this.getLook()}},updated:function(){var t=this.$refs.lookSwiper;t&&this.$nextTick((function(){t.swiper.loopDestroy(),t.swiper.loopCreate(),t.swiper.update()}))}},l=r(0),d={name:"TotalLookPlaceholder"},v={name:"TotalLook",components:{List:Object(l.a)(c,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"total-look__content"},[r("div",{staticClass:"total-look__list"},[r("div",{directives:[{name:"swiper",rawName:"v-swiper:ProductFashionSlider",value:t.options,expression:"options",arg:"ProductFashionSlider"}],ref:"ProductFashionSlider",staticClass:"total-look__slider"},[r("div",{staticClass:"swiper-wrapper"},t._l(t.articles,(function(article,e){return r("div",{key:e,staticClass:"total-look__item swiper-slide",attrs:{index:e}},[r("ProductItem",{attrs:{item:t.getProductById(article),index:e,isSliderItem:!0},on:{changeColor:function(r){return t.$emit("updateProduct",{index:e,id:r})}}})],1)})),0)])]),t._v(" "),r("div",{staticClass:"total-look__total"},[r("div",{staticClass:"total-look__total-wrapper"},[r("div",{staticClass:"total-look__total-content"},[r("div",{staticClass:"total-look__total-actions"},[r("div",{staticClass:"total-look__images"},t._l(t.images,(function(image){return r("div",{key:image.media_url,staticClass:"total-look__image"},[r("img",{attrs:{src:image.media_url,alt:""}})])})),0),t._v(" "),r("div",{staticClass:"total-look__button"},[r("UIButton",{class:["ui-button-transparent","ui-button-wide"],on:{click:t.openModal}},[t._v("Собери весь образ")])],1)])])])]),t._v(" "),t.showModal?r("ShopTheLookModal",{attrs:{articles:t.items,products:t.products,id:t.productId},on:{close:function(){return t.showModal=!1}}}):t._e()],1)}),[],!1,null,null,null).exports,Placeholder:Object(l.a)(d,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"similar-products__placeholder"},[r("div",{staticClass:"similar-products__placeholder-wrapper"},t._l(4,(function(p){return r("div",{key:p,staticClass:"catalog__item"},[r("content-placeholders",{staticClass:"catalog__product",attrs:{animated:!1}},[r("div",{staticClass:"catalog__product-media"},[r("div",{staticClass:"catalog__product-media_wrapper"},[r("content-placeholders-img")],1)]),t._v(" "),r("content-placeholders-text",{staticClass:"catalog__product-info",attrs:{lines:3}})],1)],1)})),0)])}),[],!1,null,null,null).exports},props:{modalOpen:{type:null|Boolean,default:!1},productId:{type:null|String,required:!0,default:null},products:{type:null|Array,default:function(){return[]}},elastic:{type:null|Boolean,default:!1}},data:function(){return{visible:!1}},computed:{articles:function(){return this.products.map((function(t){return t.id}))}},methods:{setLoad:function(t){this.visible=t},fetchProducts:function(){var t=this;return this.$api.catalog.getTotalLook(this.productId).then((function(e){t.products=e.data.products})).catch((function(t){console.log(t)}))},updateProduct:function(data){this.articles.splice(data.index,1,data.id)}},watch:{visible:function(t){var e=this;t&&!this.elastic&&this.fetchProducts().finally((function(){e.load=!0}))}}},_=Object(l.a)(v,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:{callback:t.setLoad,throttle:1e3,once:!0},expression:"{\n    callback: setLoad,\n    throttle: 1000,\n    once: true,\n  }"}],staticClass:"total-look"},[t._m(0),t._v(" "),t.products.length>0?r("List",{attrs:{articles:t.articles,products:t.products,productId:t.productId,modalOpen:t.modalOpen},on:{updateProduct:t.updateProduct}}):r("Placeholder")],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"total-look__title"},[e("div",{staticClass:"h2"},[this._v("Образ целиком")])])}],!1,null,null,null).exports;e.a=_}}]);