1(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{151:function(t,e,n){"use strict";n(19),n(21),n(52),n(31),n(23),n(253),n(255),n(188);var r=new class{constructor(){this.apiPath=null,this.$http=null}setConfig(t){this.apiPath=t.apiPath,this.$http=t.$http}get(t,data){var e=new URL(this.apiPath+t,"https://example.com");for(var i in data)void 0!==data[i]&&e.searchParams.append(i,data[i]);return t=e.toString().replace("https://example.com",""),this.$http.get(t)}post(t){var e,data=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return data instanceof FormData?e=data:(e=new FormData,Object.keys(data).forEach((t=>{!0!==data[t]&&!1!==data[t]||(data[t]=data[t]?"1":"0"),e.append(t,data[t])}))),this.$http.post(this.apiPath+t,e)}};e.a=r},160:function(t,e,n){"use strict";n(81),n(19),n(35),n(127),n(23);var r=n(4),o=window.requestIdleCallback||function(t){var e=Date.now();return setTimeout((function(){t({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-e))})}),1)},c=window.cancelIdleCallback||function(t){clearTimeout(t)},l=window.IntersectionObserver&&new window.IntersectionObserver((t=>{t.forEach((t=>{var{intersectionRatio:e,target:link}=t;e<=0||!link.__prefetch||link.__prefetch()}))}));e.a={name:"NuxtLink",extends:r.default.component("RouterLink"),props:{prefetch:{type:Boolean,default:!1},noPrefetch:{type:Boolean,default:!1}},mounted(){this.prefetch&&!this.noPrefetch&&(this.handleId=o(this.observe,{timeout:2e3}))},beforeDestroy(){c(this.handleId),this.__observed&&(l.unobserve(this.$el),delete this.$el.__prefetch)},methods:{observe(){l&&this.shouldPrefetch()&&(this.$el.__prefetch=this.prefetchLink.bind(this),l.observe(this.$el),this.__observed=!0)},shouldPrefetch(){return this.getPrefetchComponents().length>0},canPrefetch(){var t=navigator.connection;return!(this.$nuxt.isOffline||t&&((t.effectiveType||"").includes("2g")||t.saveData))},getPrefetchComponents(){return this.$router.resolve(this.to,this.$route,this.append).resolved.matched.map((t=>t.components.default)).filter((t=>"function"==typeof t&&!t.options&&!t.__prefetched))},prefetchLink(){if(this.canPrefetch()){l.unobserve(this.$el);var t=this.getPrefetchComponents();for(var e of t){var n=e();n instanceof Promise&&n.catch((()=>{})),e.__prefetched=!0}}}}}},202:function(t,e,n){"use strict";var r={};r.blogAdmin=n(339),r.blogAdmin=r.blogAdmin.default||r.blogAdmin,e.a=r},209:function(t,e,n){"use strict";(function(t){n(35);var r=n(159),o={url:"redis://127.0.0.1:6379",prefix:"cache",appendHost:!1,disable:!1,ignoreConnectionErrors:!0};e.a=(e,n)=>{var{req:c}=e;n("cacheFetch",((e,n)=>{var{key:l,expire:d,disable:h=o.disable,url:f=o.url,prefix:m=o.prefix,ignoreConnectionErrors:v=o.ignoreConnectionErrors}=e;if(h)return n();var y=c&&c.headers?c.headers.host:"";return l=o.appendHost?l+"-"+y:l,new r.a(f,!0,m,t&&!1,v).fetch(l,d,n,!0)})),n("cacheWrite",((e,n)=>{var{key:l,expire:d,disable:h=o.disable,url:f=o.url,prefix:m=o.prefix,ignoreConnectionErrors:v=o.ignoreConnectionErrors}=e;if(h)return new Promise((t=>t(!1)));var y=c&&c.headers?c.headers.host:"";l=o.appendHost?l+"-"+y:l;var _=new r.a(f,!1,m,t&&!1,v);try{return _.write(l,n,d)}catch(t){return console.error(t),new Promise((t=>t(!1)))}finally{_.disconnect()}})),n("cacheRead",(e=>{var{key:n,disable:l=o.disable,url:d=o.url,prefix:h=o.prefix,ignoreConnectionErrors:f=o.ignoreConnectionErrors}=e;if(l)return new Promise((t=>t(null)));var m=c&&c.headers?c.headers.host:"";n=o.appendHost?n+"-"+m:n;var v=new r.a(d,!1,h,t&&!1,f);try{return v.read(n)}catch(t){return console.error(t),new Promise((t=>t(null)))}finally{v.disconnect()}}))}}).call(this,n(59))},211:function(t,e,n){"use strict";n(35);var r={data:()=>({isOpen:!1}),methods:{toggleOpen(){this.isOpen=!this.isOpen},handleCloseOutside(){this.isOpen&&(this.isOpen=!1)},clickLinkListener(t){var e=t.target;e&&(e.closest(".bl-menu__link")&&this.toggleOpen())},onCloseIfOutside(t){t.target.closest(".bl-dropdown__drop-in")||this.handleCloseOutside()},onOpen(){if(this.$refs.drop.addEventListener("click",this.clickLinkListener),window.innerWidth<1024){var t=window.innerWidth-this.$root.$el.clientWidth;document.body.style.overflow="hidden",document.body.style.marginRight=t+"px"}},onClose(){this.$refs.drop.removeEventListener("click",this.clickLinkListener),document.body.style.overflow=null,document.body.style.marginRight=null}},beforeDestroy(){this.isOpen&&this.onClose()},watch:{isOpen(t){t?this.onOpen():this.onClose()}}},o=n(33),component=Object(o.a)(r,(function(){var t=this,e=t._self._c;return e("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.handleCloseOutside,expression:"handleCloseOutside"}],ref:"drop",staticClass:"bl-dropdown"},[e("div",{staticClass:"bl-drowdown__btn",on:{click:t.toggleOpen}},[t._t("button")],2),t._v(" "),e("transition",{attrs:{name:"drop",duration:600}},[t.isOpen?e("div",{staticClass:"bl-dropdown__drop",on:{click:t.onCloseIfOutside}},[e("div",{staticClass:"bl-dropdown__drop-in"},[t._t("drop")],2)]):t._e()])],1)}),[],!1,null,null,null);e.a=component.exports},252:function(t,e,n){t.exports={}},271:function(t,e){},295:function(t,e,n){"use strict";var r=n(8),o=(n(35),n(4)),c=n(6),l=window.__NUXT__;function d(){if(!this._hydrated)return this.$fetch()}function h(){if((t=this).$vnode&&t.$vnode.elm&&t.$vnode.elm.dataset&&t.$vnode.elm.dataset.fetchKey){var t;this._hydrated=!0,this._fetchKey=this.$vnode.elm.dataset.fetchKey;var data=l.fetch[this._fetchKey];if(data&&data._error)this.$fetchState.error=data._error;else for(var e in data)o.default.set(this.$data,e,data[e])}}function f(){return this._fetchPromise||(this._fetchPromise=m.call(this).then((()=>{delete this._fetchPromise}))),this._fetchPromise}function m(){return v.apply(this,arguments)}function v(){return(v=Object(r.a)((function*(){this.$nuxt.nbFetching++,this.$fetchState.pending=!0,this.$fetchState.error=null,this._hydrated=!1;var t=null,e=Date.now();try{yield this.$options.fetch.call(this)}catch(e){0,t=Object(c.p)(e)}var n=this._fetchDelay-(Date.now()-e);n>0&&(yield new Promise((t=>setTimeout(t,n)))),this.$fetchState.error=t,this.$fetchState.pending=!1,this.$fetchState.timestamp=Date.now(),this.$nextTick((()=>this.$nuxt.nbFetching--))}))).apply(this,arguments)}e.a={beforeCreate(){Object(c.l)(this)&&(this._fetchDelay="number"==typeof this.$options.fetchDelay?this.$options.fetchDelay:200,o.default.util.defineReactive(this,"$fetchState",{pending:!1,error:null,timestamp:Date.now()}
1),this.$fetch=f.bind(this),Object(c.a)(this,"created",h),Object(c.a)(this,"beforeMount",d))}}},308:function(t,e,n){t.exports=n(309)},309:function(t,e,n){"use strict";n.r(e),function(t){var e=n(8),r=(n(81),n(19),n(53),n(35),n(21),n(127),n(242),n(335),n(23),n(4)),o=n(280),c=n(202),l=n(6),d=n(67),h=n(295),f=n(160);r.default.__nuxt__fetch__mixin__||(r.default.mixin(h.a),r.default.__nuxt__fetch__mixin__=!0),r.default.component(f.a.name,f.a),r.default.component("NLink",f.a),t.fetch||(t.fetch=o.a);var m,v,y=[],_=window.__NUXT__||{},w=_.config||{};w._app&&(n.p=Object(l.v)(w._app.cdnURL,w._app.assetsPath)),Object.assign(r.default.config,{silent:!0,performance:!1});var O=r.default.config.errorHandler||console.error;function x(t,e,n){for(var r=component=>{var t=function(component,t){if(!component||!component.options||!component.options[t])return{};var option=component.options[t];if("function"==typeof option){for(var e=arguments.length,n=new Array(e>2?e-2:0),r=2;r<e;r++)n[r-2]=arguments[r];return option(...n)}return option}(component,"transition",e,n)||{};return"string"==typeof t?{name:t}:t},o=n?Object(l.g)(n):[],c=Math.max(t.length,o.length),d=[],h=function(){var e=Object.assign({},r(t[i])),n=Object.assign({},r(o[i]));Object.keys(e).filter((t=>void 0!==e[t]&&!t.toLowerCase().includes("leave"))).forEach((t=>{n[t]=e[t]})),d.push(n)},i=0;i<c;i++)h();return d}function j(t,e,n){return $.apply(this,arguments)}function $(){return($=Object(e.a)((function*(t,e,n){this._routeChanged=Boolean(m.nuxt.err)||e.name!==t.name,this._paramChanged=!this._routeChanged&&e.path!==t.path,this._queryChanged=!this._paramChanged&&e.fullPath!==t.fullPath,this._diffQuery=this._queryChanged?Object(l.i)(t.query,e.query):[],(this._routeChanged||this._paramChanged)&&this.$loading.start&&!this.$loading.manual&&this.$loading.start();try{if(this._queryChanged)(yield Object(l.r)(t,((t,e)=>({Component:t,instance:e})))).some((n=>{var{Component:r,instance:o}=n,c=r.options.watchQuery;return!0===c||(Array.isArray(c)?c.some((t=>this._diffQuery[t])):"function"==typeof c&&c.apply(o,[t.query,e.query]))}))&&this.$loading.start&&!this.$loading.manual&&this.$loading.start();n()}catch(l){var r=l||{},o=r.statusCode||r.status||r.response&&r.response.status||500,c=r.message||"";if(/^Loading( CSS)? chunk (\d)+ failed\./.test(c))return void window.location.reload(!0);this.error({statusCode:o,message:c}),this.$nuxt.$emit("routeChanged",t,e,r),n()}}))).apply(this,arguments)}function C(t){return Object(l.d)(t,function(){var t=Object(e.a)((function*(t,e,n,r,o){"function"!=typeof t||t.options||(t=yield t());var c=function(t,e){return _.serverRendered&&e&&Object(l.b)(t,e),t._Ctor=t,t}(Object(l.s)(t),_.data?_.data[o]:null);return n.components[r]=c,c}));return function(e,n,r,o,c){return t.apply(this,arguments)}}())}function S(t,e,n,r){var o=[],d=!1;if(void 0!==n&&(o=[],(n=Object(l.s)(n)).options.middleware&&(o=o.concat(n.options.middleware)),t.forEach((t=>{t.options.middleware&&(o=o.concat(t.options.middleware))}))),o=o.map((t=>"function"==typeof t?t:("function"!=typeof c.a[t]&&(d=!0,this.error({statusCode:500,message:"Unknown middleware "+t})),c.a[t]))),!d)return Object(l.o)(o,e,r)}function E(t,e,n,r){return T.apply(this,arguments)}function T(){return T=Object(e.a)((function*(t,n,r,o){var c=this;if(!1===this._routeChanged&&!1===this._paramChanged&&!1===this._queryChanged)return r();if(t===n)y=[];else{var h=[];y=Object(l.g)(n,h).map(((t,i)=>Object(l.c)(n.matched[h[i]].path)(n.params)))}var f=!1;yield Object(l.t)(m,{route:t,from:n,error:t=>{o.aborted||m.nuxt.error.call(this,t)},next:(path=>{n.path===path.path&&this.$loading.finish&&this.$loading.finish(),n.path!==path.path&&this.$loading.pause&&this.$loading.pause(),f||(f=!0,r(path))}).bind(this)}),this._dateLastError=m.nuxt.dateErr,this._hadError=Boolean(m.nuxt.err);var v=[],_=Object(l.g)(t,v);if(!_.length){if(yield S.call(this,_,m.context,void 0,o),f)return;if(o.aborted)return void r(!1);var w=(d.a.options||d.a).layout,O=yield this.loadLayout("function"==typeof w?w.call(d.a,m.context):w);if(yield S.call(this,_,m.context,O,o),f)return;return o.aborted?void r(!1):(m.context.error({statusCode:404,message:"This page could not be found"}),r())}_.forEach((t=>{t._Ctor&&t._Ctor.options&&(t.options.asyncData=t._Ctor.options.asyncData,t.options.fetch=t._Ctor.options.fetch)}
1)),this.setTransitions(x(_,t,n));try{if(yield S.call(this,_,m.context,void 0,o),f)return;if(o.aborted)return void r(!1);if(m.context._errored)return r();var j=_[0].options.layout;if("function"==typeof j&&(j=j(m.context)),j=yield this.loadLayout(j),yield S.call(this,_,m.context,j,o),f)return;if(o.aborted)return void r(!1);if(m.context._errored)return r();var $,C=!0;try{for(var E of _)if("function"==typeof E.options.validate&&!(C=yield E.options.validate(m.context)))break}catch(t){return this.error({statusCode:t.statusCode||"500",message:t.message}),r()}if(!C)return this.error({statusCode:404,message:"This page could not be found"}),r();if(yield Promise.all(_.map(function(){var r=Object(e.a)((function*(e,i){e._path=Object(l.c)(t.matched[v[i]].path)(t.params),e._dataRefresh=!1;var r=e._path!==y[i];if(c._routeChanged&&r)e._dataRefresh=!0;else if(c._paramChanged&&r){var o=e.options.watchParam;e._dataRefresh=!1!==o}else if(c._queryChanged){var d=e.options.watchQuery;!0===d?e._dataRefresh=!0:Array.isArray(d)?e._dataRefresh=d.some((t=>c._diffQuery[t])):"function"==typeof d&&($||($=Object(l.h)(t)),e._dataRefresh=d.apply($[i],[t.query,n.query]))}if(c._hadError||!c._isMounted||e._dataRefresh){var h=[],f=e.options.asyncData&&"function"==typeof e.options.asyncData,_=Boolean(e.options.fetch)&&e.options.fetch.length,w=f&&_?30:45;if(f){var O=Object(l.q)(e.options.asyncData,m.context);O.then((t=>{Object(l.b)(e,t),c.$loading.increase&&c.$loading.increase(w)})),h.push(O)}if(c.$loading.manual=!1===e.options.loading,_){var p=e.options.fetch(m.context);p&&(p instanceof Promise||"function"==typeof p.then)||(p=Promise.resolve(p)),p.then((t=>{c.$loading.increase&&c.$loading.increase(w)})),h.push(p)}return Promise.all(h)}}));return function(t,e){return r.apply(this,arguments)}}())),!f){if(this.$loading.finish&&!this.$loading.manual&&this.$loading.finish(),o.aborted)return void r(!1);r()}}catch(e){if(o.aborted)return void r(!1);var T=e||{};if("ERR_REDIRECT"===T.message)return this.$nuxt.$emit("routeChanged",t,n,T);y=[],Object(l.k)(T);var k=(d.a.options||d.a).layout;"function"==typeof k&&(k=k(m.context)),yield this.loadLayout(k),this.error(T),this.$nuxt.$emit("routeChanged",t,n,T),r()}})),T.apply(this,arguments)}function k(t,e){Object(l.d)(t,((t,e,n,o)=>("object"!=typeof t||t.options||((t=r.default.extend(t))._Ctor=t,n.components[o]=t),t)))}Object(d.b)(null,_.config).then((function(t){return A.apply(this,arguments)})).catch(O);var P=new WeakMap;function I(t,e,n){var r=Boolean(this.$options.nuxt.err);this._hadError&&this._dateLastError===this.$options.nuxt.dateErr&&(r=!1);var o=r?(d.a.options||d.a).layout:t.matched[0].components.default.options.layout;"function"==typeof o&&(o=o(m.context)),P.set(t,o),n&&n()}function D(t){var e=P.get(t);P.delete(t),this._hadError&&this._dateLastError===this.$options.nuxt.dateErr&&(this.$options.nuxt.err=null),this.setLayout(e)}function R(t){t._hadError&&t._dateLastError===t.$options.nuxt.dateErr&&t.error()}function L(t,e){if(!1!==this._routeChanged||!1!==this._paramChanged||!1!==this._queryChanged){var n=Object(l.h)(t),o=Object(l.g)(t),c=!1;r.default.nextTick((()=>{n.forEach(((t,i)=>{if(t&&!t._isDestroyed&&t.constructor._dataRefresh&&o[i]===t.constructor&&!0!==t.$vnode.data.keepAlive&&"function"==typeof t.constructor.options.data){var e=t.constructor.options.data.call(t);for(var n in e)r.default.set(t.$data,n,e[n]);c=!0}})),c&&window.$nuxt.$nextTick((()=>{window.$nuxt.$emit("triggerScroll")})),R(this)}))}}function A(){return(A=Object(e.a)((function*(t){m=t.app,v=t.router,t.store;var e=new r.default(m),n=_.layout||"default";yield e.loadLayout(n),e.setLayout(n);var o=()=>{e.$mount("#__nuxt"),v.afterEach(k),v.beforeResolve(I.bind(e)),v.afterEach(D.bind(e)),v.afterEach(L.bind(e)),r.default.nextTick((()=>{!function(t){window.onNuxtReadyCbs.forEach((e=>{"function"==typeof e&&e(t)})),"function"==typeof window._onNuxtLoaded&&window._onNuxtLoaded(t),v.afterEach(((e,n)=>{r.default.nextTick((()=>t.$nuxt.$emit("routeChanged",e,n)))}))}(e)}))},c=yield Promise.all(C(m.context.route));e.setTransitions=e.$options.nuxt.setTransitions.bind(e),c.length&&(e.setTransitions(x(c,v.currentRoute)),y=v.currentRoute.matched.map((t=>Object(l.c)(t.path)(v.currentRoute.params)))),e.$loading={},_.error&&(e.error(_.error),e.nuxt.errPageReady=!0),v.beforeEach(j.bind(e));var d=null,h=E.bind(e);if(v.beforeEach(((t,e,n)=>{d&&(d.aborted=!0),h(t,e,n,d={aborted:!1})})),_.serverRendered&&Object(l.n)(_.routePath,e.context.route.path))return o();var f=()=>{k(v.currentRoute,v.currentRoute),I.call(e,v.currentRoute),D.call(e,v.currentRoute),R(e),o()};yield new Promise((t=>setTimeout(t,0))),E.call(e,v.currentRoute,v.currentRoute,(path=>{if(path){var t=v.afterEach(((e,n)=>{t(),f()}));v.push(path,void 0,(t=>{t&&O(t)}))}else f()}),{aborted:!1})}))).apply(this,arguments)}}.call(this,n(36))},339:function(t,e,n){"use strict";n.r(e);var r=n(8);function o(){return(o=Object(r.a)((function*(t){var{redirect:e,route:n,$api:r,error:o}=t;
1try{var c=n.params.blogId,l=yield r.get("blogAdmin/check",{blogId:c}),d=yield l.json();d.isAdmin?d.phoneVerified||e("/checkphone?forward="+encodeURIComponent(n.fullPath)):e("/".concat(n.params.blogId))}catch(t){o({statusCode:t.statusCode,message:t.message})}}))).apply(this,arguments)}e.default=function(t){return o.apply(this,arguments)}},349:function(t,e,n){"use strict";n(252)},350:function(t,e,n){t.exports={}},351:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return o})),n.d(e,"mutations",(function(){return c})),n.d(e,"actions",(function(){return l})),n.d(e,"getters",(function(){return d}));var r=n(8),o=()=>({windowStatus:0}),c={SET_WINDOW_STATUS(t,e){t.windowStatus=e}},l={setWindowStatus:(t,e)=>{t.commit("SET_WINDOW_STATUS",e)},nuxtServerInit:t=>Object(r.a)((function*(){var{dispatch:e}=t;yield e("user/nuxtServerInit"),yield e("categories/nuxtServerInit")}))(),nuxtClientInit:t=>Object(r.a)((function*(){var{dispatch:e}=t}))()},d={windowStatus:t=>t.windowStatus}},352:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return r})),n.d(e,"mutations",(function(){return o})),n.d(e,"actions",(function(){return c}));var r=()=>({visible:!0}),o={SET_VISIBLE(t,e){t.visible=e}},c={setVisible(t,e){var{commit:n}=t;n("SET_VISIBLE",!!e)}}},353:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return o})),n.d(e,"mutations",(function(){return c})),n.d(e,"actions",(function(){return l})),n.d(e,"getters",(function(){return d}));var r=n(8),o=()=>({cats:[]}),c={SET_CATS(t,e){t.cats=e}},l={getCached(t){var e=this;return Object(r.a)((function*(){var{commit:n}=t;n("SET_CATS",yield e.$cacheFetch({key:"blogs_nuxt_cats",expire:600},Object(r.a)((function*(){var t=yield e.$api.get("cats/get");return(yield t.json()).cats}))))}))()},nuxtServerInit:t=>Object(r.a)((function*(){var{dispatch:e}=t;yield e("getCached")}))()},d={cats:t=>t.cats}},354:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return r})),n.d(e,"mutations",(function(){return o}));var r=()=>({cat:"",url:""}),o={show(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.cat=e.cat,t.url=e.url}}},355:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return o})),n.d(e,"actions",(function(){return d})),n.d(e,"getters",(function(){return h}));n(35);var r=n(80);n.d(e,"getErrors",(function(){return r.a}));var o=()=>({}),c=["ÐаÑвка оÑклонена","ÐÑ
одÑÑÐ°Ñ Ð·Ð°Ñвка","ÐаÑвка оÑпÑавлена","ÐаÑвка пÑинÑÑа"],l=["Рколлеги","ÐÐ°Ñ Ð¿Ð¾Ð´Ð¿Ð¸ÑÑик","ÐаÑвка оÑпÑавлена","ÐÑ Ðоллеги"],d={setFriend(t,e,n){return new Promise(((t,n)=>{this.app.$api.post("collegues/set",e).then((t=>t.json())).then((e=>{t({status:e.status,statusText:c[e.status]})})).catch((t=>{Object(r.a)(t).then((t=>{n(new Error(t))}))}))}))},removeFriend(t,e,n){return new Promise(((t,n)=>{this.app.$api.post("collegues/remove",e).then((t=>t.json())).then((e=>{t({status:e.status,statusText:c[e.status]})})).catch((t=>{Object(r.a)(t).then((t=>{n(new Error(t))}))}))}))}},h={statusText:t=>t=>l[t]}},356:function(t,e,n){"use strict";n.r(e),n.d(e,"optsKey",(function(){return h})),n.d(e,"state",(function(){return f})),n.d(e,"mutations",(function(){return m})),n.d(e,"actions",(function(){return v})),n.d(e,"getters",(function(){return y}));var r=n(8),o=(n(53),n(104),n(4)),c={loaded:!1,status:"await",statusText:"",comments:[],commentsRights:{},isFeedAdmin:!1,formStatus:"idle",needLogin:!1},l={adminDeleted:!1,adminModeration:!1},d=function(t,e){var n=[];return t.state.comments[e].isFeedAdmin&&(t.state.opts.adminDeleted&&n.push("deleted=1"),t.state.opts.adminModeration&&n.push("moderation=1"),n=n.length?"&"+n.join("&"):""),n},h="blCommentsOpts",f=()=>({opts:{},comments:{}}),m={CREATE_UID_STORE(t,e){o.default.set(t.comments,e.uid,Object.assign({},c)),e.isFeedAdmin&&(t.comments[e.uid].isFeedAdmin=e.isFeedAdmin)},SET_LOADED(t,e){t.comments[e].loaded=!0},SET_STATUS(t,e){t.comments[e.uid].status=e.status,e.text?t.comments[e.uid].statusText=e.text:t.comments[e.uid].statusText=""},SET_COMMENTS(t,e){e.uid&&(t.comments[e.uid].comments=e.comments,t.comments[e.uid].commentsRights=e.commentsRights)},UPDATE_OPTS(t,e){var n;t.opts=Object.assign(t.opts,e),n=t.opts,window&&window.localStorage&&window.localStorage.setItem(h,JSON.stringify(n))},SET_FORM_STATUS(t,e){t.comments[e.uid].formStatus=e.status},SET_COMMENT_DELETED_STATUS(t,e){var n=t.comments[e.uid].comments.findIndex((t=>t.IDPOST===e.commentId));n>=0&&(t.comments[e.uid].comments[n].DELETED=e.deleted)},SET_COMMENT_VOTE(t,e){var n=t.comments[e.uid].comments.findIndex((t=>t.IDPOST===e.commentId));n>=0&&("like"===e.vote?t.comments[e.uid].comments[n].PLUSVOTE=Number(t.comments[e.uid].comments[n].PLUSVOTE)+1:t.comments[e.uid].comments[n].MINUSVOTE=Number(t.comments[e.uid].comments[n].MINUSVOTE)+1)},SET_USER_FRIEND_STATUS(t,e){var n=t.comments[e.uid].comments.findIndex((t=>t.IDPOST===e.commentId));n>=0&&(t.comments[e.uid].comments[n].USER_FRIEND_STATUS=e.status)}},v={createUIDStore(t,e){t.state.comments[e.uid]||t.commit("CREATE_UID_STORE",e),0==Object.keys(t.state.opts).length&&t.dispatch("initOpts")}
1,initOpts(t){var e=Object.assign({},l);window&&window.localStorage&&(e=Object.assign(e,JSON.parse(window.localStorage.getItem(h)))),t.commit("UPDATE_OPTS",e)},getComments(t,e){var n=this;return Object(r.a)((function*(){var r=d(t,e.uid);try{var o=yield n.$api.get("comments/get?feedId=".concat(e.uid).concat(r)),data=yield o.json();data.uid=e.uid,t.commit("SET_COMMENTS",data),t.commit("SET_STATUS",{uid:e.uid,status:"success"})}catch(n){t.commit("SET_STATUS",{uid:e.uid,status:"error",text:n.message})}t.commit("SET_LOADED",e.uid)}))()},setComment(t,e){var n=this;return Object(r.a)((function*(){t.commit("SET_FORM_STATUS",{uid:e.uid,status:"process"});try{var r=yield n.$api.post("comment/".concat(e.action),e.data),data=yield r.json();return t.commit("SET_FORM_STATUS",{uid:e.uid,status:"idle"}),data}catch(n){throw t.commit("SET_FORM_STATUS",{uid:e.uid,status:"idle"}),n}}))()},deleteComment(t,e){var n=this;return Object(r.a)((function*(){var{commit:r}=t;r("SET_COMMENT_DELETED_STATUS",{uid:e.uid,commentId:e.commentId,deleted:e.deleted});var o=new FormData;o.append("commentId",e.commentId),o.append("deleted",e.deleted);try{var c=yield n.$api.post("comment/delete?feedId=".concat(e.uid),o);return yield c.json()}catch(t){throw r("SET_COMMENT_DELETED_STATUS",{uid:uid,commentId:commentId,deleted:"1"===e.deleted?"0":"1"}),t}}))()},voteComment(t,e){var n=this;return Object(r.a)((function*(){var{commit:r}=t,o=new FormData;return o.append("commentId",e.commentId),o.append("vote",e.vote),yield n.$api.post("comment/vote?feedId=".concat(e.uid),o),r("SET_COMMENT_VOTE",e),!0}))()},lengthComments(t,e){var n=this;return Object(r.a)((function*(){var r=d(t,e.uid);try{var o=yield n.$api.get("comments/length?feedId=".concat(e.uid).concat(r)),data=yield o.json();return parseInt(data.commentsCount)}catch(t){return 0}}))()},setUserFriendStatus(t,e){var{commit:n}=t;n("SET_USER_FRIEND_STATUS",e)}},y={opts:t=>t.opts,loaded:t=>e=>t.comments[e].loaded,list:t=>e=>t.comments[e].comments,listLength:t=>e=>t.comments[e].comments.length,rights:t=>e=>t.comments[e].commentsRights,status:t=>e=>t.comments[e].status,statusText:t=>e=>t.comments[e].statusText,formStatus:t=>e=>t.comments[e].formStatus}},357:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return f})),n.d(e,"mutations",(function(){return v})),n.d(e,"actions",(function(){return y})),n.d(e,"getters",(function(){return _}));var r=n(8),o=(n(53),n(146)),c=n.n(o),l=n(4),d=[],h=!1,f=()=>({feeds:{}}),m={plus:0,minus:0,smile:0,sad:0},v={SET_REQUEST_STATUS(t,e){-1===d.indexOf(e)&&d.push(e),void 0===t.feeds[e]&&l.default.set(t.feeds,e,{statuses:Object.assign({},m),userLike:null})},INCREMENT_STATUS(t,e){t.feeds[e.feedId].statuses[e.status]=t.statuses[e.feedId][e.status]+1,t.feeds[e.feedId].userLike=e.status},SET_FEED_STATUSES(t,e){t.feeds[e.feedId]={statuses:Object.assign({},m,e.statuses),userLike:e.userLike}}},y={setStatus:(t,e)=>{t.commit("SET_REQUEST_STATUS",e),t.dispatch("_requestFeeds")},sendStatus(t,e){var n=this;return Object(r.a)((function*(){var r=yield n.$api.post("feedVote/set",e),o=yield r.json();return t.commit("SET_FEED_STATUSES",o),!0}))()},removeStatus(t,e){var n=this;return Object(r.a)((function*(){var r=yield n.$api.post("feedVote/remove",e),o=yield r.json();t.commit("SET_FEED_STATUSES",o)}))()},_requestFeeds:c()((t=>{t.dispatch("requestFeeds")}),1e3),requestFeeds(t){var e=this;return Object(r.a)((function*(){if(!h){h=!0;var n=d;d=[];try{var r=yield e.$api.post("feedsVotes/get",{feedsIds:n}),o=yield r.json();return o.statuses&&o.statuses.forEach((e=>{t.commit("SET_FEED_STATUSES",e)})),d.length&&t.dispatch("_requestFeeds"),!0}catch(t){}finally{h=!1}return!1}}))()}},_={statuses:t=>e=>t.feeds[e]?t.feeds[e].statuses:{},userLike:t=>e=>t.feeds[e]?t.feeds[e].userLike:null,allStatuses:t=>t.feeds}},358:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return r})),n.d(e,"mutations",(function(){return o})),n.d(e,"actions",(function(){return c})),n.d(e,"getters",(function(){return l}));var r=()=>({messages:[]}),o={ADD_MESSAGE(t,e){t.messages.push(e)}},c={create(t,e){t.commit("ADD_MESSAGE",e)}},l={messages:t=>t.messages}},359:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return l})),n.d(e,"mutations",(function(){return d})),n.d(e,"actions",(function(){return h})),n.d(e,"getters",(function(){return f}));var r=n(8),o=(n(151),n(80)),c="logged-in",l=()=>({status:"no-login",user:{},blogs:[],invitations:[]}),d={SET_USER(t,e){t.status=e.status===c?c:"no-login",t.user=e.user||{},t.blogs=e.blogs||[],t.invitations=e.invitations||[]}},h={get(t){var e=this;return Object(r.a)((function*(){var{commit:n}=t;try{var r=yield e.$api.get("user/get");n("SET_USER",yield r.json())}catch(t){n("SET_USER",{})}}))()},login(t,data){var e=this;return Object(r.a)((function*(){var{commit:n,dispatch:r,state:c}=t;try{var l=yield e.$api.post("user/login",data);return n("SET_USER",yield l.json()),{ok:!0}}catch(t){var d=yield Object(o.a)(t),h={ok:!1,error:d.messages.message||"ÐÑибка вÑ
ода"};return"needVerify"===d.messages.reason&&(h.reason=d.messages.reason,h.verifyLink=d.messages.verifyLink),h}}))()},logout(t){var e=this;return Object(r.a)((function*(){var{dispatch:n}=t;try{return yield e.$api.get("user/logout"),n("logoutComplete"),{ok:!0}}catch(t){return{ok:!1,error:t.message}}}))()},logoutComplete(t){var{commit:e}=t;e("SET_USER",{})},nuxtServerInit:t=>Object(r.a)((function*(){var{dispatch:e}=t;yield e("get")}))()},f={loggedIn:t=>t.status===c,username:t=>t.status===c?t.user.username:"ÐоÑÑÑ",user:t=>t.user,status:t=>t.status,blogs:t=>t.blogs,invitations:t=>t.invitations}},364:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return o}
1)),n.d(e,"mutations",(function(){return c})),n.d(e,"actions",(function(){return l}));var r=n(8),o=()=>({feedsIds:[]}),c={},l={setFeed(t,e){var n=this;return Object(r.a)((function*(){var{commit:r}=t,o=new FormData;o.append("feedId",e),yield n.$api.post("bookmarks/set",o)}))()},removeFeed(t,e){var n=this;return Object(r.a)((function*(){var{commit:r}=t,o=new FormData;o.append("feedId",e),yield n.$api.post("bookmarks/remove",o)}))()}}},365:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return o})),n.d(e,"mutations",(function(){return c})),n.d(e,"actions",(function(){return l}));var r=n(8),o=()=>({blogsIds:[]}),c={},l={setBlog(t,e){var n=this;return Object(r.a)((function*(){var{commit:r}=t,o=new FormData;o.append("blogId",e.blogId);try{var c=yield n.$api.post("subscribe/set",o);return yield c.json()}catch(t){throw t}}))()},removeBlog(t,e){var n=this;return Object(r.a)((function*(){var{commit:r}=t,o=new FormData;o.append("blogId",e.blogId);try{var c=yield n.$api.post("subscribe/remove",o);return yield c.json()}catch(t){throw t}}))()}}},423:function(t,e){},446:function(t,e,n){var map={"./icons.svg":447};function r(t){var e=o(t);return n(e)}function o(t){if(!n.o(map,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return map[t]}r.keys=function(){return Object.keys(map)},r.resolve=o,t.exports=r,r.id=446},447:function(t,e,n){"use strict";n.r(e),e.default=n.p+"ca3a3a4e1a0de7558f2535186dc3c1f3.svg"},6:function(t,e,n){"use strict";n.d(e,"k",(function(){return f})),n.d(e,"m",(function(){return m})),n.d(e,"l",(function(){return v})),n.d(e,"e",(function(){return y})),n.d(e,"b",(function(){return _})),n.d(e,"s",(function(){return w})),n.d(e,"g",(function(){return O})),n.d(e,"h",(function(){return x})),n.d(e,"d",(function(){return j})),n.d(e,"r",(function(){return $})),n.d(e,"j",(function(){return C})),n.d(e,"t",(function(){return E})),n.d(e,"o",(function(){return k})),n.d(e,"q",(function(){return P})),n.d(e,"f",(function(){return I})),n.d(e,"c",(function(){return D})),n.d(e,"i",(function(){return R})),n.d(e,"p",(function(){return L})),n.d(e,"a",(function(){return V})),n.d(e,"v",(function(){return W})),n.d(e,"n",(function(){return H})),n.d(e,"u",(function(){return Y}));var r=n(8),o=n(12),c=(n(81),n(19),n(54),n(104),n(35),n(162),n(21),n(52),n(127),n(31),n(213),n(117),n(23),n(4)),l=n(65);function d(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function h(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?d(Object(n),!0).forEach((function(e){Object(o.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function f(t){c.default.config.errorHandler&&c.default.config.errorHandler(t)}function m(t){return t.then((t=>t.default||t))}function v(t){return t.$options&&"function"==typeof t.$options.fetch&&!t.$options.fetch.length}function y(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=t.$children||[];for(var r of n)r.$fetch&&e.push(r),r.$children&&y(r,e);return e}function _(t,e){if(e||!t.options.__hasNuxtData){var n=t.options._originDataFn||t.options.data||function(){return{}};t.options._originDataFn=n,t.options.data=function(){var data=n.call(this,this);return this.$ssrContext&&(e=this.$ssrContext.asyncData[t.cid]),h(h({},data),e)},t.options.__hasNuxtData=!0,t._Ctor&&t._Ctor.options&&(t._Ctor.options.data=t.options.data)}}function w(t){return t.options&&t._Ctor===t||(t.options?(t._Ctor=t,t.extendOptions=t.options):(t=c.default.extend(t))._Ctor=t,!t.options.name&&t.options.__file&&(t.options.name=t.options.__file)),t}function O(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"components";return Array.prototype.concat.apply([],t.matched.map(((t,r)=>Object.keys(t[n]).map((o=>(e&&e.push(r),t[n][o]))))))}function x(t){return O(t,arguments.length>1&&void 0!==arguments[1]&&arguments[1],"instances")}function j(t,e){return Array.prototype.concat.apply([],t.matched.map(((t,n)=>Object.keys(t.components).reduce(((r,o)=>(t.components[o]?r.push(e(t.components[o],t.instances[o],t,o,n)):delete t.components[o],r)),[]))))}function $(t,e){return Promise.all(j(t,function(){var t=Object(r.a)((function*(t,n,r,o){if("function"==typeof t&&!t.options)try{t=yield t()}catch(t){if(t&&"ChunkLoadError"===t.name&&"undefined"!=typeof window&&window.sessionStorage){var c=Date.now();try{var l=parseInt(window.sessionStorage.getItem("nuxt-reload"));(!l||l+6e4<c)&&(window.sessionStorage.setItem("nuxt-reload",c),window.location.reload(!0))}catch(t){}}throw t}return r.components[o]=t=w(t),"function"==typeof e?e(t,n,r,o):t}));return function(e,n,r,o){return t.apply(this,arguments)}}()))}function C(t){return S.apply(this,arguments)}function S(){return(S=Object(r.a)((function*(t){if(t)return yield $(t),h(h({},t),{},{meta:O(t).map(((e,n)=>h(h({},e.options.meta),(t.matched[n]||{}).meta)))})}))).apply(this,arguments)}function E(t,e){return T.apply(this,arguments)}function T(){return(T=Object(r.a)((function*(t,e){t.context||(t.context={isStatic:!1,isDev:!1,isHMR:!1,app:t,store:t.store,payload:e.payload,error:e.error,base:t.router.options.base,env:{}},e.req&&(t.context.req=e.req),e.res&&(t.context.res=e.res),e.ssrContext&&(t.context.ssrContext=e.ssrContext),t.context.redirect=(e,path,n)=>{if(e){t.context._redirected=!0;var r=typeof path;if("number"==typeof e||"undefined"!==r&&"object"!==r||(n=path||{},r=typeof(path=e),e=302),"object"===r&&(path=t.router.resolve(path).route.fullPath),!/(^[.]{1,2}\/)|(^\/(?!\/))/.test(path))throw path=Object(l.d)(path,n),window.location.assign(path),new Error("ERR_REDIRECT");t.context.next({path:path,query:n,status:e})}},t.context.nuxtState=window.__NUXT__);var[n,r]=yield Promise.all([C(e.route),C(e.from)]);e.route&&(t.context.route=n),e.from&&(t.context.from=r),e.error&&(t.context.error=e.error),t.context.next=e.next,t.context._redirected=!1,t.context._errored=!1,t.context.
1isHMR=!1,t.context.params=t.context.route.params||{},t.context.query=t.context.route.query||{}}))).apply(this,arguments)}function k(t,e,n){return!t.length||e._redirected||e._errored||n&&n.aborted?Promise.resolve():P(t[0],e).then((()=>k(t.slice(1),e,n)))}function P(t,e){var n;return(n=2===t.length?new Promise((n=>{t(e,(function(t,data){t&&e.error(t),n(data=data||{})}))})):t(e))&&n instanceof Promise&&"function"==typeof n.then?n:Promise.resolve(n)}function I(base,t){if("hash"===t)return window.location.hash.replace(/^#\//,"");base=decodeURI(base).slice(0,-1);var path=decodeURI(window.location.pathname);base&&path.startsWith(base)&&(path=path.slice(base.length));var e=(path||"/")+window.location.search+window.location.hash;return Object(l.c)(e)}function D(t,e){return function(t,e){for(var n=new Array(t.length),i=0;i<t.length;i++)"object"==typeof t[i]&&(n[i]=new RegExp("^(?:"+t[i].pattern+")$",B(e)));return function(e,r){for(var path="",data=e||{},o=(r||{}).pretty?N:encodeURIComponent,c=0;c<t.length;c++){var l=t[c];if("string"!=typeof l){var d=data[l.name||"pathMatch"],h=void 0;if(null==d){if(l.optional){l.partial&&(path+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(Array.isArray(d)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var f=0;f<d.length;f++){if(h=o(d[f]),!n[c].test(h))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(h)+"`");path+=(0===f?l.prefix:l.delimiter)+h}}else{if(h=l.asterisk?U(d):o(d),!n[c].test(h))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+h+'"');path+=l.prefix+h}}else path+=l}return path}}(function(t,e){var n,r=[],o=0,c=0,path="",l=e&&e.delimiter||"/";for(;null!=(n=A.exec(t));){var d=n[0],h=n[1],f=n.index;if(path+=t.slice(c,f),c=f+d.length,h)path+=h[1];else{var m=t[c],v=n[2],y=n[3],_=n[4],w=n[5],O=n[6],x=n[7];path&&(r.push(path),path="");var j=null!=v&&null!=m&&m!==v,$="+"===O||"*"===O,C="?"===O||"*"===O,S=n[2]||l,pattern=_||w;r.push({name:y||o++,prefix:v||"",delimiter:S,optional:C,repeat:$,partial:j,asterisk:Boolean(x),pattern:pattern?F(pattern):x?".*":"[^"+M(S)+"]+?"})}}c<t.length&&(path+=t.substr(c));path&&r.push(path);return r}(t,e),e)}function R(t,e){var n={},r=h(h({},t),e);for(var o in r)String(t[o])!==String(e[o])&&(n[o]=!0);return n}function L(t){var e;if(t.message||"string"==typeof t)e=t.message||t;else try{e=JSON.stringify(t,null,2)}catch(n){e="[".concat(t.constructor.name,"]")}return h(h({},t),{},{message:e,statusCode:t.statusCode||t.status||t.response&&t.response.status||500})}window.onNuxtReadyCbs=[],window.onNuxtReady=t=>{window.onNuxtReadyCbs.push(t)};var A=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function N(t,e){var n=e?/[?#]/g:/[/?#]/g;return encodeURI(t).replace(n,(t=>"%"+t.charCodeAt(0).toString(16).toUpperCase()))}function U(t){return N(t,!0)}function M(t){return t.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function F(t){return t.replace(/([=!:$/()])/g,"\\$1")}function B(t){return t&&t.sensitive?"":"i"}function V(t,e,n){t.$options[e]||(t.$options[e]=[]),t.$options[e].includes(n)||t.$options[e].push(n)}var W=l.b,H=(l.e,l.a);function Y(t){try{window.history.scrollRestoration=t}catch(t){}}},67:function(t,e,n){"use strict";n.d(e,"b",(function(){return oe})),n.d(e,"a",(function(){return P}));var r=n(8),o=n(12),c=(n(54),n(53),n(35),n(21),n(31),n(4)),l=n(125),d=n(281),h=n(203),f=n.n(h),m=n(102),v=n.n(m),y=(n(19),n(23),n(204)),_=n(65),w=n(6);"scrollRestoration"in window.history&&(Object(w.u)("manual"),window.addEventListener("beforeunload",(()=>{Object(w.u)("auto")})),window.addEventListener("load",(()=>{Object(w.u)("manual")})));function O(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function x(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?O(Object(n),!0).forEach((function(e){Object(o.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var j=()=>{};c.default.use(y.a);var $={mode:"history",base:"/blogs/",linkActiveClass:"nuxt-link-active",linkExactActiveClass:"nuxt-link-exact-active",scrollBehavior:function(t,e,n){var r=!1,o=t!==e;n?r=n:o&&function(t){var e=Object(w.g)(t);if(1===e.length){var{options:n={}}=e[0];return!1!==n.scrollToTop}return e.some((t=>{var{options:e}=t;return e&&e.scrollToTop}))}(t)&&(r={x:0,y:0});var c=window.$nuxt;return(!o||t.path===e.path&&t.hash!==e.hash)&&c.$nextTick((()=>c.$emit("triggerScroll"))),new Promise((e=>{c.$once("triggerScroll",(()=>{if(t.hash){var n=t.hash;void 0!==window.CSS&&void 0!==window.CSS.escape&&(n="#"+window.CSS.escape(n.substr(1)));try{var o=document.querySelector(n);if(o){var c;r={selector:n};var l=Number(null===(c=getComputedStyle(o)["scroll-margin-top"])||void 0===c?void 0:c.replace("px",""));l&&(r.offset={y:l})}}catch(t){console.warn("Failed to save scroll position. Please add CSS.escape() polyfill (https://github.com/mathiasbynens/CSS.escape).")}}e(r)}))}))},routes:[{path:"/about",component:()=>Object(w.m)(n.e(11).then(n.bind(null,577))),name:"about"},{path:"/all",component:()=>Object(w.m)(n.e(13).then(n.bind(null,578))),name:"all"},{path:"/bookmarks",component:()=>Object(w.m)(n.e(14).then(n.bind(null,576))),name:"bookmarks"},{path:"/cat",component:()=>Object(w.m)(n.e(15).then(n.bind(null,579))),children:[{path:"",component:()=>Object(w.m)(Promise.all([n.e(1),n.e(17)]).then(n.bind(null,580))),name:"cat"},{path:":catId",component:()=>Object(w.m)(Promise.all([n.e(1),n.e(16)]).then(n.bind(null,581))),name:"cat-catId"}]},{path:"/checkphone",component:()=>Object(w.m)(n.e(19).then(n.bind(null,582))),name:"checkphone"},{path:"/create",component:()=>Object(w.m)(n.e(20).then(n.bind(null,572))),name:"create"},{path:"/create.old",component:()=>Object(w.m)(n.e(21).then(n.bind(null,583))),name:"create.old"},{path:"/policy",component:()=>Object(w.m)(n.e(23).then(n.bind(null,584))),name:"policy",children:[{path:"blog",component:()=>Object(w.m)(n.e(24).then(n.bind(null,585))),name:"policy-blog"},{path:"private",component:()=>Object(w.m)(n.e(25).then(n.bind(null,586))),name:"policy-private"}]},{path:"/search",component:()=>Object(w.m)(n.e(30).then(n.bind(null,587))),name:"search"},{path:"/",component:()=>Object(w.m)(Promise.all([n.e(34),n.e(22)]).then(n.bind(null,614))),name:"index"},{path:"/admin/:blogId?",component:()=>Object(w.m)(n.e(12).then(n.bind(null,588))),name:"admin-blogId"},{path:"/chat/:roomId?",component:()=>Object(w.m)(n.e(18).then(n.bind(null,589))),name:"chat-roomId"},{path:"/profile/:userId?",component:()=>Object(w.m)(n.e(26).then(n.bind(null,590))),children:[{path:"",component:()=>Object(w.m)(n.e(28).then(n.bind(null,591))),name:"profile-userId"},{path:"friends",component:()=>Object(w.m)(n.e(27).then(n.bind(null,592))),name:"profile-userId-friends"},{path:"subscriptions",component:()=>Object(w.m)(n.e(29).then(n.bind(null,593))),name:"profile-userId-subscriptions"}]},{path:"/tags/:tagId?",component:()=>Object(w.m)(n.e(31).then(n.bind(null,594))),name:"tags-tagId"},{path:"/:blogId",component:()=>Object(w.m)(n.e(6).then(n.bind(null,573))),children:[{path:"",component:()=>Object(w.m)(n.e(8).then(n.bind(null,595))),name:"blogId"},{path:"info",component:()=>Object(w.m)(n.e(9).then(n.bind(null,596))),name:"blogId-info"},{path:"subscribers",component:()=>Object(w.m)(n.e(10).then(n.bind(null,597))),name:"blogId-subscribers"},{path:":feedId",component:()=>Object(w.m)(n.e(7).then(n.bind(null,568))),name:"blogId-feedId"}]}],fallback:!1};var C={name:"NuxtChild",functional:!0,props:{nuxtChildKey:{type:String,default:""},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0}},render(t,e){var{parent:n,data:data,props:r}=e,o=n.$createElement;data.nuxtChild=!0;for(var c=n,l=n.$nuxt.nuxt.transitions,d=n.$nuxt.nuxt.defaultTransition,h=0;n;)n.$vnode&&n.$vnode.data.nuxtChild&&h++,n=n.$parent;data.nuxtChildDepth=h;var f=l[h]||d,m={};
1S.forEach((t=>{void 0!==f[t]&&(m[t]=f[t])}));var v={};E.forEach((t=>{"function"==typeof f[t]&&(v[t]=f[t].bind(c))}));var y=v.beforeEnter;if(v.beforeEnter=t=>{if(window.$nuxt.$nextTick((()=>{window.$nuxt.$emit("triggerScroll")})),y)return y.call(c,t)},!1===f.css){var _=v.leave;(!_||_.length<2)&&(v.leave=(t,e)=>{_&&_.call(c,t),c.$nextTick(e)})}var w=o("routerView",data);return r.keepAlive&&(w=o("keep-alive",{props:r.keepAliveProps},[w])),o("transition",{props:m,on:v},[w])}},S=["name","mode","appear","css","type","duration","enterClass","leaveClass","appearClass","enterActiveClass","enterActiveClass","leaveActiveClass","appearActiveClass","enterToClass","leaveToClass","appearToClass"],E=["beforeEnter","enter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","beforeAppear","appear","afterAppear","appearCancelled"],T={layout:"blogs",props:{error:{type:Object,default:null}},computed:{statusCode(){return this.error&&this.error.statusCode||404},message(){return this.error.message||"СÑÑаниÑа не найдена"}},head(){return{title:this.message}}},k=n(33),P=Object(k.a)(T,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"bl-container mt-2"},[e("div",{staticClass:"bl-card__header__text"},[t._v("ÐÑибка - "+t._s(t.statusCode))]),t._v(" "),e("div",{staticClass:"bl-text-small t-m"},[t._v("\n "+t._s(t.message)+"\n ")]),t._v(" "),e("div",{staticClass:"bl-text-small mt-1"},[e("NLink",{staticClass:"bl-link",attrs:{to:"/"}},[t._v("Ðа главнÑÑ")])],1)])}),[],!1,null,null,null).exports,I=(n(52),{name:"Nuxt",components:{NuxtChild:C,NuxtError:P},props:{nuxtChildKey:{type:String,default:void 0},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0},name:{type:String,default:"default"}},errorCaptured(t){this.displayingNuxtError&&(this.errorFromNuxtError=t,this.$forceUpdate())},computed:{routerViewKey(){if(void 0!==this.nuxtChildKey||this.$route.matched.length>1)return this.nuxtChildKey||Object(w.c)(this.$route.matched[0].path)(this.$route.params);var[t]=this.$route.matched;if(!t)return this.$route.path;var e=t.components.default;if(e&&e.options){var{options:n}=e;if(n.key)return"function"==typeof n.key?n.key(this.$route):n.key}return/\/$/.test(t.path)?this.$route.path:this.$route.path.replace(/\/$/,"")}},beforeCreate(){c.default.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render(t){return this.nuxt.err&&this.nuxt.errPageReady?this.errorFromNuxtError?(this.$nextTick((()=>this.errorFromNuxtError=!1)),t("div",{},[t("h2","An error occurred while showing the error page"),t("p","Unfortunately an error occurred and while showing the error page another error occurred"),t("p","Error details: ".concat(this.errorFromNuxtError.toString())),t("nuxt-link",{props:{to:"/"}},"Go back to home")])):(this.displayingNuxtError=!0,this.$nextTick((()=>this.displayingNuxtError=!1)),t(P,{props:{error:this.nuxt.err}})):t("NuxtChild",{key:this.routerViewKey,props:this.$props})}}),D={name:"NuxtLoading",data:()=>({percent:0,show:!1,canSucceed:!0,reversed:!1,skipTimerCount:0,rtl:!1,throttle:200,duration:5e3,continuous:!1}),computed:{left(){return!(!this.continuous&&!this.rtl)&&(this.rtl?this.reversed?"0px":"auto":this.reversed?"auto":"0px")}},beforeDestroy(){this.clear()},methods:{clear(){clearInterval(this._timer),clearTimeout(this._throttle),clearTimeout(this._hide),this._timer=null},start(){return this.clear(),this.percent=0,this.reversed=!1,this.skipTimerCount=0,this.canSucceed=!0,this.throttle?this._throttle=setTimeout((()=>this.startTimer()),this.throttle):this.startTimer(),this},set(t){return this.show=!0,this.canSucceed=!0,this.percent=Math.min(100,Math.max(0,Math.floor(t))),this},get(){return this.percent},increase(t){return this.percent=Math.min(100,Math.floor(this.percent+t)),this},decrease(t){return this.percent=Math.max(0,Math.floor(this.percent-t)),this},pause(){return clearInterval(this._timer),this},resume(){return this.startTimer(),this},finish(){return this.percent=this.reversed?0:100,this.hide(),this},hide(){return this.clear(),this._hide=setTimeout((()=>{this.show=!1,this.$nextTick((()=>{this.percent=0,this.reversed=!1}))}),500),this},fail(t){return this.canSucceed=!1,this},startTimer(){this.show||(this.show=!0),void 0===this._cut&&(this._cut=1e4/Math.floor(this.duration)),this._timer=setInterval((()=>{this.skipTimerCount>0?this.skipTimerCount--:(this.reversed?this.decrease(this._cut):this.increase(this._cut),this.continuous&&(this.percent>=100||this.percent<=0)&&(this.skipTimerCount=1,this.reversed=!this.reversed))}),100)}},render(t){var e=t(!1);return this.show&&(e=t("div",{staticClass:"nuxt-progress",class:{"nuxt-progress-notransition":this.skipTimerCount>0,"nuxt-progress-failed":!this.canSucceed},style:{width:this.percent+"%",left:this.left}})),e}}
1,R=(n(349),Object(k.a)(D,undefined,undefined,!1,null,null,null).exports),L=(n(350),n(146)),A=n.n(L),N=n(211),U={data:()=>({term:"",active:!1}),methods:{submit(t){this.term.length?(this.$router.push("/search?term=".concat(this.term)),this.term="",this.$refs.input.blur()):(this.active=!0,this.$refs.input.focus())},blur(){this.active=!1,this.term=""}}},M=Object(k.a)(U,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"bl-header__search"},[e("form",{staticClass:"d-flex ai-c p-r ml-1 bl-search d-none",class:{active:t.active},attrs:{action:"/search","aria-label":"search"},on:{submit:function(e){return e.preventDefault(),t.submit.apply(null,arguments)}}},[e("div",{staticClass:"bl-search__input-wrap"},[e("input",{directives:[{name:"model",rawName:"v-model:trim",value:t.term,expression:"term",arg:"trim"}],ref:"input",staticClass:"bl-input bl-search__input pr-3",attrs:{type:"text",name:"term",placeholder:"ÐайÑи в блогаÑ
"},domProps:{value:t.term},on:{blur:t.blur,input:function(e){e.target.composing||(t.term=e.target.value)}}})]),t._v(" "),e("button",{staticClass:"bl-btn bl-btn--clear bl-btn--sm bl-search__btn",attrs:{type:"submit",title:"ÐайÑи в блогаÑ
"}},[e("svg-icon",{staticClass:"bl-icon fill-gray",attrs:{name:"search"}})],1)])])}),[],!1,null,null,null),F=M.exports,B={components:{UIDropdown:N.a,Search:F,LoginForm:()=>n.e(44).then(n.bind(null,575)),UserPlace:()=>n.e(59).then(n.bind(null,604)),UserMenu:()=>n.e(58).then(n.bind(null,605))},data:()=>({ready:!1,lastEvent:{},newEventsCount:null}),computed:{userLoggedIn(){return this.$store.getters["user/loggedIn"]},user(){return this.$store.getters["user/user"]},claimVisible:()=>window.innerWidth>=768},watch:{$route(){this.burgerModalOpened=!1}},mounted(){this.$nuxt.$on("openLogin",this.openLogin)},methods:{handleLoginSuccess(){},openLogin(){this.$refs.loginFormDropdown.toggleOpen()}}},V=Object(k.a)(B,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"bl-header"},[e("div",{staticClass:"bl-container"},[e("div",{staticClass:"bl-header__inner"},[e("div",{staticClass:"d-flex bl-header__brand-group"},[e("button",{staticClass:"bl-header__item bl-header__menubtn",attrs:{type:"button"},on:{click:function(e){return t.$nuxt.$emit("sidebarOpen")}}},[e("svg-icon",{staticClass:"bl-header__icon",attrs:{name:"burger"}})],1),t._v(" "),e("NLink",{staticClass:"bl-header__brand",attrs:{to:"/"},nativeOn:{click:function(e){return t.$nuxt.$emit("mainLogoClick")}}},[e("svg-icon",{staticClass:"bl-header__brand-image",attrs:{name:"sblogs-logo"}})],1)],1),t._v(" "),e("client-only",[e("UserMenu",{attrs:{userLoggedIn:t.userLoggedIn}})],1),t._v(" "),e("div",{staticClass:"d-flex ai-c"},[e("client-only",[t.userLoggedIn?e("UserPlace",{staticClass:"fg-2"}):[e("UIDropdown",{ref:"loginFormDropdown",staticClass:"mr-1 mr-1024-0",scopedSlots:t._u([{key:"button",fn:function(){return[e("div",{staticClass:"d-flex ai-c bl-header__login-btn bl-header__item",attrs:{type:"button",id:"bl_login_btn"}},[e("svg-icon",{staticClass:"bl-header__login-btn__icon",attrs:{name:"signin"}}),t._v(" "),e("span",{staticClass:"bl-header__login-btn__text"},[t._v("ÐойÑи")])],1)]},proxy:!0},{key:"drop",fn:function(){return[e("LoginForm")]},proxy:!0}])},[t._v("client\n ")])]],2),t._v(" "),e("Search")],1)],1)])])}),[],!1,null,null,null).exports,W={data:()=>({unwatch:null,opened:!1}),mounted(){this.$nuxt.$on("sidebarOpen",this.open),this.$nuxt.$on("sidebarClose",this.close)},methods:{open(){this.opened=!0,this.unwatch=this.$watch("$route",(()=>{this.close()})),window.addEventListener("keydown",this.watchEscape)},watchEscape(t){"Escape"===t.key&&this.close()},close(){this.opened=!1,window.removeEventListener("keydown",this.watchEscape),this.unwatch()},claim(){this.$claim.show({cat:"techProblem",url:window.location.href})}}},H={components:{Header:V,Sidebar:Object(k.a)(W,(function(){var t=this,e=t._self._c;return e("transition",{attrs:{name:"sidebar-fade"}},[t.opened?e("div",{staticClass:"bl-sidebar"},[e("div",{staticClass:"bl-sidebar__overlay",on:{click:t.close}}),t._v(" "),e("button",{staticClass:"bl-sidebar__close",attrs:{type:"button"},on:{click:t.close}},[e("svg-icon",{staticClass:"bl-btn__icon",attrs:{name:"close"}})],1),t._v(" "),e("div",{staticClass:"bl-sidebar__content bl-card--shadow-strong d-flex fd-c jc-sb bg-color-white"},[e("div",{staticClass:"bl-card bl-card--shadow-none"},[e("form",{staticClass:"p-r",on:{submit:function(e){return e.preventDefault(),t.$router.push("/search?term=".concat(t.$refs.term.value))}}},[e("input",{ref:"term",staticClass:"bl-input pr-2 w-100",attrs:{type:"text",placeholder:"ÐоиÑк в блогаÑ
"}}),t._v(" "),e("button",{staticClass:"bl-btn bl-btn--icon bl-btn--clear p-a t-0 r-0",attrs:{type:"submit"}},[e("svg-icon",{staticClass:"bl-icon px-1",attrs:{name:"search"}})],1)])]),t._v(" "),e("portal-target",{attrs:{name:"burgerModalFirst"}}),t._v(" "),e("portal-target",{attrs:{name:"burgerModalTop"}}),t._v(" "),e("div",{staticClass:"mt-1 bl-card bl-card--bot-radius-0 bl-card--top-radius-0 bl-card--shadow-none pt-0"},[e("div",{staticClass:"mt-1"},[e("button",{staticClass:"bl-btn bl-btn--sm",attrs:{type:"button"},on:{click:t.claim}},[t._v("СообÑиÑÑ Ð¾ пÑоблеме")])]),t._v(" "),e("div",{staticClass:"mt-1 t-m"},[e("NLink",{staticClass:"bl-link bl-text-small",attrs:{to:"/policy/private#policy"}},[t._v("ÐолиÑика конÑиденÑиалÑноÑÑи")])],1),t._v(" "),e("div",{staticClass:"mt-1 t-m"},[e("NLink",{staticClass:"bl-link bl-text-small",attrs:{to:"/policy/private#useterms"}},[t._v("ÐолÑзоваÑелÑÑкое ÑоглаÑение")])],1),t._v(" "),e("div",{staticClass:"mt-1 t-m"},[e("NLink",{staticClass:"bl-link bl-text-small",attrs:{to:"/policy/blog"}},[t._v("ÐÑавила Ð²ÐµÐ´ÐµÐ½Ð¸Ñ Ð±Ð»Ð¾Ð³Ð°")])],1),t._v(" "),e("div",{staticClass:"mt-1"},[e("NLink",{staticClass:"mt-1 mr-1",attrs:{to:"/"}},[e("svg-icon",{staticStyle:{height:"24px",width:"68px",transform:"translateY(20%)"},attrs:{name:"sblogs-logo"}})],1),t._v(" "),e("a",{staticClass:"mt-1",attrs:{href:"/"}},[e("svg-icon",{staticStyle:{height:"17px",width:"71px"},attrs:{name:"sostav_logo"}})],1)],1)])],1)]):t._e()])}),[],!1,null,null,null).exports,Claim:()=>n.e(56).then(n.bind(null,598)),IMViewer:()=>n.e(42).then(n.bind(null,599)),Invitations:()=>n.e(50).then(n.bind(null,600)),Reactions:()=>n.e(43).then(n.bind(null,601)),Notify:()=>n.e(57).then(n.bind(null,602)),Banner:()=>n.e(0).then(n.bind(null,494))},data:()=>({scrollToTopDebounce:null,scrollToTopVisible:!1}),computed:{topbarSpacing:()=>window.innerWidth>=1600?80:40},mounted(){window.addEventListener("resize",this.checkWindowSize),window.addEventListener("scroll",this.initScrollToTop),this.checkWindowSize()},beforeDestroy(){window.removeEventListener("resize",this.checkWindowSize),window.removeEventListener("scroll",this.initScrollToTop)},methods:{initScrollToTop:A()((function(){window.scrollY>300?this.scrollToTopVisible=!0:this.scrollToTopVisible=!1}),200,{maxWait:200,leading:!1,trailing:!0}),scrollToTop(){window.document.body.scrollIntoView()},checkWindowSize(){var t;t=window.innerWidth<540?0:window.innerWidth<768?1:window.innerWidth<1024?2:window.innerWidth<1200?3:window.innerWidth<1400?4:window.innerWidth<1600?5:6,this.$store.dispatch("setWindowStatus",t)}}},Y=Object(k.a)(H,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"bl p-r"},[e("client-only",[e("Banner",{attrs:{pos:"rm1"}})],1),t._v(" "),e("Header"),t._v(" "),e("div",{staticClass:"bl__content bl-content pb-1"},[e("client-only",[e("Invitations")],1),t._v(" "),e("nuxt")],1),t._v(" "),e("Sidebar"),t._v(" "),e("client-only",[e("Claim"),t._v(" "),e("IMViewer"),t._v(" "),e("Reactions"),t._v(" "),e("Notify"),t._v(" "),e("div",{staticClass:"bl-scroll"},[e("a",{staticClass:"bl-scroll__btn",class:{visible:t.scrollToTopVisible},on:{click:t.scrollToTop}},[e("svg-icon",{attrs:{name:"arrow-up"}})],1)])],1)],1)}),[],!1,null,null,null).exports,z=Object(k.a)({},(function(){var t=this._self._c;return t("div",[t("Nuxt")],1)}),[],!1,null,null,null).exports,K={_blogs:Object(w.s)(Y),_default:Object(w.s)(z)}
1,J={render(t,e){var n=t("NuxtLoading",{ref:"loading"}),r=t(this.layout||"nuxt"),o=t("div",{domProps:{id:"__layout"},key:this.layoutName},[r]),c=t("transition",{props:{name:"layout",mode:"out-in"},on:{beforeEnter(t){window.$nuxt.$nextTick((()=>{window.$nuxt.$emit("triggerScroll")}))}}},[o]);return t("div",{domProps:{id:"__nuxt"}},[n,c])},data:()=>({isOnline:!0,layout:null,layoutName:"",nbFetching:0}),beforeCreate(){c.default.util.defineReactive(this,"nuxt",this.$options.nuxt)},created(){this.$root.$options.$nuxt=this,window.$nuxt=this,this.refreshOnlineStatus(),window.addEventListener("online",this.refreshOnlineStatus),window.addEventListener("offline",this.refreshOnlineStatus),this.error=this.nuxt.error,this.context=this.$options.context},mounted(){var t=this;return Object(r.a)((function*(){t.$loading=t.$refs.loading}))()},watch:{"nuxt.err":"errorChanged"},computed:{isOffline(){return!this.isOnline},isFetching(){return this.nbFetching>0}},methods:{refreshOnlineStatus(){void 0===window.navigator.onLine?this.isOnline=!0:this.isOnline=window.navigator.onLine},refresh(){var t=this;return Object(r.a)((function*(){var e=Object(w.h)(t.$route);if(e.length){t.$loading.start();var n=e.map(function(){var e=Object(r.a)((function*(e){var p=[];for(var component of(e.$options.fetch&&e.$options.fetch.length&&p.push(Object(w.q)(e.$options.fetch,t.context)),e.$options.asyncData&&p.push(Object(w.q)(e.$options.asyncData,t.context).then((t=>{for(var n in t)c.default.set(e.$data,n,t[n])}))),yield Promise.all(p),p=[],e.$fetch&&p.push(e.$fetch()),Object(w.e)(e.$vnode.componentInstance)))p.push(component.$fetch());return Promise.all(p)}));return function(t){return e.apply(this,arguments)}}());try{yield Promise.all(n)}catch(e){t.$loading.fail(e),Object(w.k)(e),t.error(e)}t.$loading.finish()}}))()},errorChanged(){if(this.nuxt.err){this.$loading&&(this.$loading.fail&&this.$loading.fail(this.nuxt.err),this.$loading.finish&&this.$loading.finish());var t=(P.options||P).layout;"function"==typeof t&&(t=t(this.context)),this.nuxt.errPageReady=!0,this.setLayout(t)}},setLayout(t){return t&&K["_"+t]||(t="default"),this.layoutName=t,this.layout=K["_"+t],this.layout},loadLayout:t=>(t&&K["_"+t]||(t="default"),Promise.resolve(K["_"+t]))},components:{NuxtLoading:R}};n(81);c.default.use(l.a);var Q=["state","getters","actions","mutations"],X={};(X=function(t,e){if((t=t.default||t).commit)throw new Error("[nuxt] ".concat(e," should export a method that returns a Vuex instance."));return"function"!=typeof t&&(t=Object.assign({},t)),Z(t,e)}(n(351),"store/index.js")).modules=X.modules||{},tt(n(352),"banner.js"),tt(n(353),"categories.js"),tt(n(354),"claim.js"),tt(n(355),"collegues.js"),tt(n(356),"comments.js"),tt(n(357),"feedStatus.js"),tt(n(358),"notify.js"),tt(n(359),"user.js"),tt(n(364),"userBookmarks.js"),tt(n(365),"userSubscriptions.js");var G=X instanceof Function?X:()=>new l.a.Store(Object.assign({strict:!1},X));function Z(t,e){if(t.state&&"function"!=typeof t.state){console.warn("'state' should be a method that returns an object in ".concat(e));var n=Object.assign({},t.state);t=Object.assign({},t,{state:()=>n})}return t}function tt(t,e){t=t.default||t;var n=e.replace(/\.(js|mjs)$/,"").split("/"),r=n[n.length-1],o="store/".concat(e);if(t="state"===r?function(t,e){if("function"!=typeof t){console.warn("".concat(e," should export a method that returns an object"));var n=Object.assign({},t);return()=>n}return Z(t,e)}(t,o):Z(t,o),Q.includes(r)){var c=r;nt(et(X,n,{isProperty:!0}),t,c)}else{"index"===r&&(n.pop(),r=n[n.length-1]);var l=et(X,n);for(var d of Q)nt(l,t[d],d);!1===t.namespaced&&delete l.namespaced}}function et(t,e){var{isProperty:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!e.length||n&&1===e.length)return t;var r=e.shift();return t.modules[r]=t.modules[r]||{},t.modules[r].namespaced=!0,t.modules[r].modules=t.modules[r].modules||{},et(t.modules[r],e,{isProperty:n})}function nt(t,e,n){e&&("state"===n?t.state=e||t.state:t[n]=Object.assign({},t[n],e))}var ot=n(479),it=n(478);c.default.use(ot.a),c.default.use(it.a);var st=n(209),at=n(78),ct=n.n(at);c.default.use(ct.a);n(271),n(117);var ut=n(290),lt=n.n(ut),ht=n(210),pt=n(291);function ft(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function mt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
1e%2?ft(Object(n),!0).forEach((function(e){Object(o.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ft(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}class vt{constructor(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pt.a;this._defaults=mt({hooks:{}},t),this._ky=e}getBaseURL(){return this._defaults.prefixUrl}setBaseURL(t){this._defaults.prefixUrl=t}setHeader(t,e){e?this._defaults.headers[t]=e:delete this._defaults.headers[t]}setToken(t,e){var n=t?(e?e+" ":"")+t:null;this.setHeader("Authorization",n)}_hook(t,e){this._defaults.hooks[t]||(this._defaults.hooks[t]=[]),this._defaults.hooks[t].push(e)}onRequest(t){this._hook("beforeRequest",t)}onRetry(t){this._hook("beforeRetry",t)}onResponse(t){this._hook("afterResponse",t)}onError(t){this._hook("onError",t)}create(t){var{retry:e,timeout:n,prefixUrl:r,headers:o}=this._defaults;return yt(lt()(t,{retry:e,timeout:n,prefixUrl:r,headers:o}))}}var bt=function(t){var e=["post","put","patch"].includes(t);vt.prototype[t]=function(){var n=Object(r.a)((function*(n,r,o){var c;e?(c=o||{},void 0!==r&&(r.constructor===Object||Array.isArray(r)?c.json=r:c.body=r)):c=r;var l=mt(mt({},this._defaults),c);/^https?/.test(n)?delete l.prefixUrl:l.prefixUrl&&"string"==typeof n&&n.startsWith("/")&&(n=n.substr(1));try{return yield this._ky[t](n,l)}catch(t){if(t.response){t.statusCode=t.response.status;try{var text=yield t.response.text();t.response.text=()=>Promise.resolve(text);var d=Object(ht.a)(text);t.response.json=()=>Promise.resolve(d),t.response.data=d}catch(t){}}if(l.hooks.onError)for(var h of l.hooks.onError){var f=h(t);if(void 0!==f)return f}throw t}}));return function(t,e,r){return n.apply(this,arguments)}}(),vt.prototype["$"+t]=function(e,n,r){return this[t](e,n,r).then((t=>t&&t.text?t.text():t)).then((body=>Object(ht.a)(body)))}};for(var gt of["get","head","delete","post","put","patch"])bt(gt);var yt=t=>new vt(t),_t=(t,e)=>{var n=(t.$config&&t.$config.http||{}).browserBaseURL||"http://localhost:3000/";var r=yt({retry:0,timeout:!1,prefixUrl:n,headers:{}});t.$http=r,e("http",r)},wt=n(126),Ot=["useRuntimeConfig","metrikaUrl"],xt=["id"],jt=t=>{var{app:{router:e},$config:n}=t,r={useRuntimeConfig:"yandexMetrika",id:"25659224",metrikaUrl:"https://mc.yandex.ru/metrika/tag.js"},{useRuntimeConfig:o,metrikaUrl:c}=r,l=Object(wt.a)(r,Ot);n&&o&&Object.assign(l,n[o]);var d,h,f,m,i,v,a,{id:y}=l,_=Object(wt.a)(l,xt),w=!1,O=(e.options.base||"/").replace(/\/$/,"");e.onReady((()=>{w=!0})),void 0===window.ym&&(w||(d=window,h=document,f="script",m=c,d[i="ym"]=d[i]||function(){(d[i].a=d[i].a||[]).push(arguments)},d[i].l=1*new Date,v=h.createElement(f),a=h.getElementsByTagName(f)[0],v.async=1,v.src=m,a.parentNode.insertBefore(v,a),ym(y,"init",_)),e.afterEach(((t,e)=>{ym(y,"hit",O+t.fullPath,{referer:O+e.fullPath})})))},$t=n(292),Ct=n.n($t);function St(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Et(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?St(Object(n),!0).forEach((function(e){Object(o.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):St(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Tt=function(){var t=Object(r.a)((function*(t,e){var n=t.$config&&t.$config.googleAnalytics||{},r=Et(Et({},{dev:!0,debug:{sendHitTask:!0},id:"UA-26871115-1"}),n);"function"==typeof r.asyncID&&(r.id=yield r.asyncID(t)),c.default.use(Ct.a,Et(Et({},{router:t.app.router}),r)),t.$ga=c.default.$ga,e("ga",c.default.$ga)}));return function(e,n){return t.apply(this,arguments)}}(),kt=function(){window.onNuxtReady((()=>{var t=document.createElement("link");t.rel="stylesheet",t.href="fonts/euclid/include-m.css",document.head.appendChild(t)}))},Pt=(n(104),n(88));function It(t){var{icon:e,sprite:r}=t;
1return function(t){var e=n(446)("./"+t+".svg");return"string"==typeof e?e:"object"==typeof e&&"string"==typeof e.default?e.default:""}(r)+"#i-".concat(e.toLowerCase().replace(/\.svg$/,"").replace(/[^a-z0-9-]/g,"-"))}var Dt={name:"SvgIcon",functional:!0,props:{name:{type:String,required:!0},title:{type:String,default:null},desc:{type:String,default:null},viewBox:{type:String,default:null,validator:t=>t.split(" ").every((t=>!isNaN(parseInt(t))))}},render(t,e){var{props:n,data:data}=e,r=function(t){var[e,n]=t.split("/");return n||(n=e,e="icons"),{icon:n,sprite:e}}(n.name),o=It(r),use=t("use",{attrs:{href:o,"xlink:href":o}}),title=n.title?t("title",n.title):null,desc=n.desc?t("desc",n.desc):null,{sprite:c}=r,l={class:"icon sprite-"+c,attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:n.viewBox}};return t("svg",Object(Pt.a)(data,l),[title,desc,use].filter(Boolean))}};c.default.component(Dt.name,Dt);var Rt=n(151),Lt=(t,e)=>{Rt.a.setConfig({apiPath:t.$config.useProxy?t.$config.apiPath:t.$config.apiRoot+t.$config.apiPath,$http:t.$http}),e("api",Rt.a)},At=(t,e)=>{e("claim",{show(e){var{cat:n="message",url:r=""}=e;t.store.commit("claim/show",{cat:n,url:r})}})},Nt=function(){var t=Object(r.a)((function*(t){yield t.store.dispatch("nuxtClientInit",t)}));return function(e){return t.apply(this,arguments)}}(),Ut=n(103),Mt=n.n(Ut),Ft=Mt()(),qt=Mt()(Ft.format("YYYY-MM-DD")),Bt=Ft.diff(qt,"days",!0),Vt={1:"Янв",2:"Фев",3:"ÐаÑ",4:"ÐпÑ",5:"ÐаÑ",6:"ÐÑн",7:"ÐÑл",8:"Ðвг",9:"Сен",10:"ÐкÑ",11:"ÐоÑ",12:"Ðек"},Wt=(setInterval((()=>{Ft=Mt()()}),36e5),{DDMonYYYY(t){var s="",e=Mt()(t),n=Ft.diff(e,"days",!0);if(n<Bt?s="Ð¡ÐµÐ³Ð¾Ð´Ð½Ñ Ð² "+e.format("HH:mm"):n-Bt<1&&(s="ÐÑеÑа в "+e.format("HH:mm")),s.length)return s;var r=Ft.format("YYYY"),o=e.format("YYYY"),c="";return r!==o&&(c=" "+o),e.format("D")+" "+Vt[e.format("M")]+c},DDMonDotHHII(t){var e=Mt()(t);return e.format("D")+" "+Vt[e.format("M")]+" ⢠"+e.format("HH:mm")}}),Ht="DDMonYYYY";c.default.directive("dayjs",{inserted:(t,e)=>{var data={};"string"==typeof e.value?(data.date=e.value,data.format=Ht):(data.date=e.value.date||"",data.format=e.value.format||Ht),t.innerHTML=Wt[data.format](data.date)}}),c.default.directive("click-outside",{bind:function(t,e,n){t.clickOutsideEvent=function(r){t==r.target||t.contains(r.target)||n.context[e.expression](r)},document.body.addEventListener("click",t.clickOutsideEvent)},unbind:function(t){document.body.removeEventListener("click",t.clickOutsideEvent)}});var Yt=n(293);c.default.use(Yt.a,{lazyComponent:!0,observer:!0});var zt=n(294),Kt=n.n(zt);c.default.use(Kt.a,{componentName:"Cropper"});var Jt=n(277),Qt=n.n(Jt);c.default.component("InfiniteLoading",Qt.a);var Xt=n(296);c.default.use(Xt.a,{componentName:"Scrollbar"});c.default.directive("limit-chars",{inserted:(t,e)=>{var n,r;"string"==typeof e.value?(n=e.value,r=80):(n=e.value.str||"",r=e.value.limit||80),n.length>r&&(t.innerHTML=n.substring(0,r)+"...")}});var Gt=n(297);function Zt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function te(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Zt(Object(n),!0).forEach((function(e){Object(o.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Zt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}c.default.use(Gt.a),c.default.component(f.a.name,f.a),c.default.component(v.a.name,te(te({},v.a),{},{render:(t,e)=>(v.a._warned||(v.a._warned=!0,console.warn("<no-ssr> has been deprecated and will be removed in Nuxt 3, please use <client-only> instead")),v.a.render(t,e))})),c.default.component(C.name,C),c.default.component("NChild",C),c.default.component(I.name,I),Object.defineProperty(c.default.prototype,"$nuxt",{get(){var t=this.$root?this.$root.$options.$nuxt:null;return t||"undefined"==typeof window?t:window.$nuxt},configurable:!0}),c.default.use(d.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});var ee={name:"page",mode:"out-in",appear:!1,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"},ne=l.a.Store.prototype.registerModule;function re(path,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=Array.isArray(path)?!!path.reduce(((t,path)=>t&&t[path]),this.state):path in this.state;return ne.call(this,path,t,te({preserveState:n},e))}function oe(t){return ie.apply(this,arguments)}function ie(){return ie=Object(r.a)((function*(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=G(t),o=yield function(t,e){var base=e._app&&e._app.basePath||$.base,n=new y.a(x(x({},$),{},{base:base})),r=n.push;n.push=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:j,n=arguments.length>2?arguments[2]:void 0;return r.call(this,t,e,n)};var o=n.resolve.bind(n);return n.resolve=(t,e,n)=>
1("string"==typeof t&&(t=Object(_.c)(t)),o(t,e,n)),n}(0,e);n.$router=o,n.registerModule=re;var l=te({head:t=>{var e=t.$config.baseTitle||"BlogSostav_v4";return{title:e,htmlAttrs:{lang:"ru"},meta:[{hid:"robots",name:"robots",content:t.$config.metaRobots||"noindex, nofollow, noarchive"},{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{hid:"description",name:"description",content:"Ðлоги коÑпоÑаÑивнÑе и лиÑнÑе пÑедÑÑавиÑелей индÑÑÑÑии ÑекламÑ, маÑкеÑинга, PR"},{name:"msapplication-TileColor",content:"#ffffff"},{name:"theme-color",content:"#ffffff"},{name:"twitter:card",content:"summary_large_image"},{hid:"og:title",name:"og:title",property:"og:title",content:e},{hid:"og:image",name:"og:image",property:"og:image",content:t.$config._app.basePath+"img/sblogs-card.png"},{hid:"og:image:width",name:"og:image:width",property:"og:image:width",content:"1024"},{hid:"og:image:height",name:"og:image:height",property:"og:image:height",content:"512"}],link:[{rel:"apple-touch-icon",sizes:"180x180",href:t.$config._app.basePath+"favicon/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",href:t.$config._app.basePath+"favicon/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",href:t.$config._app.basePath+"favicon/favicon-16x16.png"},{rel:"manifest",href:t.$config._app.basePath+"site.webmanifest"},{rel:"mask-icon",href:t.$config._app.basePath+"favicon/safari-pinned-tab.svg",color:"#ff0000"}]}},store:n,router:o,nuxt:{defaultTransition:ee,transitions:[ee],setTransitions(t){return Array.isArray(t)||(t=[t]),t=t.map((t=>t=t?"string"==typeof t?Object.assign({},ee,{name:t}):Object.assign({},ee,t):ee)),this.$options.nuxt.transitions=t,t},err:null,errPageReady:!1,dateErr:null,error(e){e=e||null,l.context._errored=Boolean(e),e=e?Object(w.p)(e):null;var n=l.nuxt;return this&&(n=this.nuxt||this.$options.nuxt),n.dateErr=Date.now(),n.err=e,n.errPageReady=!1,t&&(t.nuxt.error=e),e}}},J);n.app=l;var d,h=t?t.next:t=>l.router.push(t);if(t)d=o.resolve(t.url).route;else{var path=Object(w.f)(o.options.base,o.options.mode);d=o.resolve(path).route}function f(t,e){if(!t)throw new Error("inject(key, value) has no key provided");if(void 0===e)throw new Error("inject('".concat(t,"', value) has no value provided"));l[t="$"+t]=e,l.context[t]||(l.context[t]=e),n[t]=l[t];var r="__nuxt_"+t+"_installed__";c.default[r]||(c.default[r]=!0,c.default.use((()=>{Object.prototype.hasOwnProperty.call(c.default.prototype,t)||Object.defineProperty(c.default.prototype,t,{get(){return this.$root.$options[t]}})})))}return yield Object(w.t)(l,{store:n,route:d,next:h,error:l.nuxt.error.bind(l),payload:t?t.payload:void 0,req:t?t.req:void 0,res:t?t.res:void 0,beforeRenderFns:t?t.beforeRenderFns:void 0,beforeSerializeFns:t?t.beforeSerializeFns:void 0,ssrContext:t}),f("config",e),window.__NUXT__&&window.__NUXT__.state&&n.replaceState(window.__NUXT__.state),"function"==typeof st.a&&(yield Object(st.a)(l.context,f)),yield _t(l.context,f),yield jt(l.context),"function"==typeof Tt&&(yield Tt(l.context,f)),yield kt(l.context),yield Lt(l.context,f),yield At(l.context,f),"function"==typeof Nt&&(yield Nt(l.context,f)),yield new Promise(((t,e)=>{var{route:n}=o.resolve(l.context.route.fullPath);if(!n.matched.length)return t();o.replace(l.context.route.fullPath,t,(n=>{if(!n._isRouter)return e(n);if(2!==n.type)return t();var c=o.afterEach(function(){var e=Object(r.a)((function*(e,n){l.context.route=yield Object(w.j)(e),l.context.params=e.params||{},l.context.query=e.query||{},c(),t()}));return function(t,n){return e.apply(this,arguments)}}())}))})),{store:n,app:l,router:o}})),ie.apply(this,arguments)}},80:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(8);function o(t){return c.apply(this,arguments)}function c(){return c=Object(r.a)((function*(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={statusCode:0,messages:{},toString:function(){var text=[];for(var i in this.messages)text.push(("message"===i?"":i+": ")+this.messages[i]);return text.join("; \n")}};if(n.statusCode=t.statusCode||0,400===n.statusCode&&t.response){var r=yield t.response.json();n.messages=r.errors||{message:"ÐеизвеÑÑÐ½Ð°Ñ Ð¾Ñибка"}}else n.messages={message:t.message};if(e){var text="";for(var i in n.messages)text+="<dl><dd><strong>"+i+"</strong></dd><dt>
1"+n.messages[i]+"</dt></dd>";return text}return n})),c.apply(this,arguments)}}},[[308,32,5,33]]]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.