(window.webpackJsonp=window.webpackJsonp||[]).push([[30,25],{461:function(t,e,r){"use strict";r.r(e);r(26),r(78),r(196),r(31);var n=r(18),o=r(3),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 f(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={mixins:[{data:function(){return{blockTypes:{richtext:"ContentBlockQuill",image:"ContentBlockImage",images:"ContentBlockImages",video:"ContentBlockYouTube",vkvideo:"ContentBlockVkVideo",files:"ContentBlockFiles"}}}}],props:{value:{type:Array,required:!0},previewSrcList:{type:Array,default:function(){return[]}}},computed:f(f({},Object(c.e)(["host"])),{},{localPreviewSrcList:function(){var t=this,e=this.value.filter((function(t){return"images"===t.type})),r=[];return e.map((function(e){return e.content.map((function(e){r.push(t.getUrl(e.fileName))}))})),[].concat(Object(n.a)(this.previewSrcList),r)}}),methods:{getUrl:function(t){return!this.host.indexOf("admin")>=0?"/uploads/".concat(t):"/uploads/".concat(this.$route.params.site,"/").concat(t)}}},d=r(10),component=Object(d.a)(v,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"flex flex-col w-full gap-8 px-2"},t._l(t.value,(function(e,n){return r(t.blockTypes[e.type]+"View",{key:n,tag:"div",class:{video:"video"===e.type,vkvideo:"vkvideo"===e.type},attrs:{value:e.content,previewSrcList:t.localPreviewSrcList}})})),1)}),[],!1,null,null,null);e.default=component.exports},569:function(t,e,r){"use strict";r.r(e);r(20);var n=r(2),o=r(3),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 f(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={data:function(){return{page:{_id:null,name:null,content:null}}},computed:f(f({},Object(c.e)({host:"host"})),{},{contentBlocks:function(){if(this.page.content&&this.page.content.length)return this.page.content;var t=this.page.legacyData;if(t){var e=t.body||t.content||t.other_other_description;return e?[{type:"legacy",value:e}]:[]}return[]}}),methods:f({},Object(c.d)(["inputCurrentPageTitle"])),fetch:function(){var t=this;return Object(n.a)(regeneratorRuntime.mark((function e(){var r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=location.origin+"/api/pages/contacts",t.inputCurrentPageTitle("Контакты"),e.prev=2,e.next=5,t.$axios.$get(r);case 5:n=e.sent,t.page=n,e.next=12;break;case 9:e.prev=9,e.t0=e.catch(2),console.error(e.t0);case 12:case"end":return e.stop()}}),e,null,[[2,9]])})))()}},d=r(10),component=Object(d.a)(v,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("main",{staticClass:"flex flex-col mt-6 px-2"},[r("h1",{staticClass:"text-2xl font-bold"},[t._v("Контакты")]),t._v(" "),r("ContentBlocksView",{attrs:{value:t.contentBlocks}}),t._v(" "),"euro-krep-rus.ru"!==t.host&&"wesco-online.ru"!==t.host?r("div",{staticClass:"w-full flex flex-col gap-3"},[r("el-divider",{staticClass:"w-full"}),t._v(" "),r("h2",{staticClass:"bold text-lg mx-auto"},[t._v("Схема проезда до г. Москва, Маршала Прошлякова, 6")]),t._v(" "),r("iframe",{staticClass:"mx-auto",attrs:{src:"https://zakaz-rus.ru/static/roadmap.html",width:"830",height:"530",frameborder:"0",scrolling:"no","data-mce-fragment":"1"}})],1):t._e()],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{ContentBlocksView:r(461).default})}}]);