PageSourceSearch

https://viblo.asia/_nuxt/app.a183cf290c2a7bbf87f3.js

js viblo.asia collected 2026-10-01 10:32:03 UTC 540,205 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[12],{1e3:function(t,e,n){"use strict";n.r(e),e.default=function(t){var e,n=t.store,r=t.redirect;(null===(e=n.state.auth.user)||void 0===e?void 0:e.reputation)<=n.state.conditionCreateOrganization.conditionReputations&&r("/me/organizations")}},1001:function(t,e,n){"use strict";n.r(e),e.default=function(t){var e=t.store,n=t.redirect;null!==e.state.auth.user&&n("/")}},1002:function(t,e,n){"use strict";n.r(e),e.default=function(t){var e=t.store,n=t.route,r=t.redirect;if("/"===n.path){var o=n.fullPath;return e.state.auth.guest||"default"!==e.state.settings.homepage?r("/newest".concat("/"!==o?o:"")):r("/followings".concat("/"!==o?o:""))}}},1003:function(t,e,n){"use strict";n.r(e);var r=n(34),o=n.n(r);e.default=function(t){var e=t.route;t.store.commit("pageHistory/setCurrentPage",o()(e,["path","hash","params","fullPath"]))}},103:function(t,e,n){"use strict";n.d(e,"d",(function(){return l})),n.d(e,"c",(function(){return h})),n.d(e,"b",(function(){return d})),n.d(e,"a",(function(){return f}));n(64),n(5);var r=n(100),o=n.n(r);function c(t){var e=t.split("."),r=o.a.read("i18n_redirected")||"vi",c=n(1185)("./".concat(r,".js")).default;return e.forEach((function(t){c=c[t]})),c}function l(t){return function(t){return void 0!==window.$nuxt?window.$nuxt.$_i18n.t(t):c(t)}(t)}function h(text){return document.getElementsByClassName("v-markdown-it-code-copy").forEach((function(t){t.getElementsByClassName("tooltiptext")[0].innerHTML=text}))}function d(text){return document.getElementsByClassName("v-markdown-it-code-copy").forEach((function(t){t.setAttribute("title",text)}))}function f(text){return document.getElementsByClassName("v-markdown-it-show-more").forEach((function(t){t.getElementsByClassName("show-more-text")[0].innerHTML=text}))}},1034:function(t,e,n){"use strict";n.r(e);var r=n(3),o=(n(11),n(52)),c=n.n(o),l=n(20);function h(){return(h=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,r,o,c,h,v,y,w,_,k,O,x,C,j,S,P,T;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.route,r=e.redirect,o=e.store,c=e.error,e.req,h=window.location.host,v=m(h,o,!0),y=m(h,o,!1),w=o.state.config.vars.is_special_organization,_=o.state.config.vars.is_special_profile,k=n.fullPath,t.prev=7,O=Object(l.c)(n.params.post),x=O.hashId,t.next=11,o.dispatch("postView/fetchPost",x);case 11:C=t.sent,j=C&&!!C.video,o.dispatch("organizationsUser/getOrganizations"),o.dispatch("config/changeBanner",{isVideoPage:j}),S=Object(l.g)(h),P=(_||y)&&d(C,S),T=(w||v)&&f(C,S),(P||T)&&r("".concat("https://viblo.asia").concat("/"!==k?k:"")),t.next=24;break;case 21:t.prev=21,t.t0=t.catch(7),Object(l.h)(c,t.t0);case 24:case"end":return t.stop()}}),t,null,[[7,21]])})))).apply(this,arguments)}function d(t,e){return t&&t.user.data.username!==e}function f(t,e){return t.organization&&t.organization.data.slug!==e||void 0===t.organization}function m(t,e,n){var r=n?e.state.config.vars.cname_organizations:e.state.config.vars.cname_profiles;return-1!==c()(r,t)}e.default=function(t){return h.apply(this,arguments)}},107:function(t,e,n){"use strict";n.d(e,"h",(function(){return w})),n.d(e,"c",(function(){return _})),n.d(e,"d",(function(){return k})),n.d(e,"a",(function(){return x})),n.d(e,"g",(function(){return C})),n.d(e,"f",(function(){return j})),n.d(e,"b",(function(){return S})),n.d(e,"e",(function(){return O}));var r=n(10),o=(n(117),new r.b.Entity("users")),c=new r.b.Object({data:o}),l=new r.b.Entity("comments",{user:c}),h=new r.b.Array(l),d=new r.b.Object({data:h}),f=new r.b.Entity("questions",{user:c,comments:d}),m=new r.b.Entity("series",{user:c,comments:d}),v=new r.b.Entity("answers",{user:c,comments:d}),y=new r.b.Entity("tags",{},{idAttribute:"slug"}),w=function(data){return Object(r.a)(data,new r.b.Array(o))},_=function(data){return Object(r.a)(data,f)},k=function(data){return Object(r.a)(data,m)},O=function(data){return Object(r.a)(data,new r.b.Array(m))},x=function(data){return Object(r.a)(data,new r.b.Array(v))},C=function(data){return Object(r.a)(data,new r.b.Array(y))},j=function(data){return Object(r.a)(data,y)},S=function(data){return Object(r.a)(data,new r.b.Array(l))}},1074:function(t,e,n){"use strict";n.r(e);var r=n(3),o=(n(11),n(52)),c=n.n(o),l=n(20),h=n(466);function d(){return(d=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,r,o,c,d,m,v,y,w,_;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.route,r=e.redirect,o=e.store,c=e.error,d=o.state.config.vars.is_special_profile,m=o.state.config.vars.special_profiles,v=n.fullPath,t.prev=4,y=Object(l.c)(n.params.question),w=y.hashId,t.next=8,o.dispatch(h.ACTION_FETCH_QUESTION,w);case 8:_=t.sent,d&&f(m,_)&&r("".concat("https://viblo.asia").concat("/"!==v?v:"")),t.next=15;break;case 12:t.prev=12,t.t0=t.catch(4),Object(l.h)(c,t.t0);case 15:case"end":return t.stop()}}),t,null,[[4,12]])})))).apply(this,arguments)}function f(t,e){return e&&-1===c()(t,e.user.data.username)}e.default=function(t){return d.apply(this,arguments)}},112:function(t,e,n){"use strict";var r=n(1),component=Object(r.a)({},(function(t,e){return(0,e._c)("div",{staticClass:"text-center font-weight-bold text-muted my-05"},[e._t("default")],2)}),[],!0,null,null,null);e.a=component.exports},1123:function(t,e,n){"use strict";n.r(e);var r=n(3),o=(n(11),n(64),n(52)),c=n.n(o),l=n(20);
1function h(){return(h=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,r,o,c,h,f,m,v,y,w;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.route,r=e.redirect,o=e.store,c=e.error,h=e.query,f=o.state.config.vars.is_special_profile,m=o.state.config.vars.special_profiles,v=n.fullPath,t.prev=4,y=function(t){return t.split("-").pop()}(n.params.hashId),t.next=9,o.dispatch("seriesView/getSeries",{hashId:y,query:h});case 9:w=t.sent,f&&d(m,w)&&r("".concat("https://viblo.asia").concat("/"!==v?v:"")),t.next=16;break;case 13:t.prev=13,t.t0=t.catch(4),Object(l.h)(c,t.t0);case 16:case"end":return t.stop()}}),t,null,[[4,13]])})))).apply(this,arguments)}function d(t,e){return e&&-1===c()(t,e.user.data.username)}e.default=function(t){return h.apply(this,arguments)}},1124:function(t,e,n){"use strict";n.r(e);n(2),n(8),n(38),n(19);e.default=function(t){t.req,t.res}},1133:function(t,e,n){"use strict";n(599)},1134:function(t,e,n){"use strict";n(600)},1135:function(t,e,n){},1141:function(t,e,n){"use strict";n(601)},1147:function(t,e,n){"use strict";n(604)},117:function(t,e,n){"use strict";n.r(e),n.d(e,"user",(function(){return o})),n.d(e,"userArray",(function(){return c})),n.d(e,"userResource",(function(){return l})),n.d(e,"organization",(function(){return h})),n.d(e,"organizationArray",(function(){return d})),n.d(e,"organizationResource",(function(){return f})),n.d(e,"post",(function(){return m})),n.d(e,"postArray",(function(){return v})),n.d(e,"question",(function(){return y})),n.d(e,"questionArray",(function(){return w})),n.d(e,"answer",(function(){return _})),n.d(e,"answerArray",(function(){return k})),n.d(e,"comment",(function(){return O})),n.d(e,"commentArray",(function(){return x}));var r=n(10),o=new r.b.Entity("users"),c=new r.b.Array(o),l=new r.b.Object({data:o}),h=new r.b.Entity("organizations"),d=new r.b.Array(h),f=new r.b.Object({data:h}),m=new r.b.Entity("posts",{user:l,organization:f}),v=new r.b.Array(m),y=new r.b.Entity("questions",{user:l}),w=new r.b.Array(y),_=new r.b.Entity("answers",{user:l}),k=new r.b.Array(_),O=new r.b.Entity("comments",{user:l}),x=new r.b.Array(O)},1172:function(t,e,n){"use strict";n(612)},1173:function(t,e,n){"use strict";n(614)},1174:function(t,e,n){"use strict";n(615)},1175:function(t,e,n){"use strict";n(616)},1176:function(t,e,n){"use strict";n(617)},1177:function(t,e,n){"use strict";n(618)},1178:function(t,e,n){"use strict";n(619)},1179:function(t,e,n){"use strict";n(620)},1180:function(t,e,n){"use strict";n(621)},1181:function(t,e,n){"use strict";n(622)},1182:function(t,e,n){"use strict";n(623)},1183:function(t,e,n){"use strict";n(624)},1185:function(t,e,n){var map={"./emoji-picker-element/vi.js":468,"./en.js":469,"./vi.js":470};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=1185},1189:function(t,e,n){"use strict";n(626)},1190:function(t,e,n){"use strict";n(627)},1191:function(t,e,n){t.exports=n.p+"img/app-store-badge.8c4986ee4828b47d16f5cd694ef065f2.svg"},1192:function(t,e,n){t.exports=n.p+"img/app-qr.c5ca206317a63151db036cac5ebc8be2.png"},1193:function(t,e,n){"use strict";n(629)},1194:function(t,e,n){"use strict";n(630)},1195:function(t,e,n){"use strict";n(631)},1196:function(t,e,n){"use strict";n(632)},1197:function(t,e,n){"use strict";n(633)},1198:function(t,e,n){"use strict";n(634)},1199:function(t,e,n){"use strict";n(635)},1200:function(t,e,n){"use strict";n(636)},1201:function(t,e,n){"use strict";n(637)},1202:function(t,e,n){"use strict";n(638)},1203:function(t,e,n){"use strict";n(639)},1204:function(t,e,n){"use strict";n(640)},1205:function(t,e,n){"use strict";n(641)},1206:function(t,e,n){"use strict";n(642)},1207:function(t,e,n){"use strict";n(643)},1208:function(t,e,n){"use strict";n(644)},1209:function(t,e,n){"use strict";n.r(e),n.d(e,"actions",(function(){return k})),n.d(e,"plugins",(function(){return O}));var r=n(3),o=(n(11),n(9)),c=n.n(o),l=n(8),h=n.n(l),d=n(52),f=n.n(d),m=n(4),v=n.n(m),y=n(20),w=n(471),_=n(483),k={nuxtServerInit:function(t,e){return Object(r.a)(regeneratorRuntime.mark((function n(){var r,o,l,d,m,w,data,_,k,O,x,C,j,S,P,T,A,R,E,D,L,N,$,B,M;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.commit,o=e.req,l=e.redirect,d=e.app,m=e.res,n.next=4,v.a.get("/web/init");case 4:w=n.sent,data=w.data,_=data.auth,k=data.motd,O=data.banners,x=data.logo,C=data.preferences,j=data.lastSeens,S=data.externalSurvey,P=data.webS
1ocket,T=data.mayFestTime,A=data.config,R=data.wrappedUpTime,E=data.witePostNewYear,D=data.reputationOrganizations,_&&(L=c()(C,"preferred_locale","vi"),r("auth/set",_),r("auth/setLastSeens",j),r("i18n/setLocale",L),r("survey/setExternalUrl",S),d.i18n.locale=L),m.cookie("socket_broadcaster",P.broadcaster),"pusher"===P.broadcaster&&(m.cookie("socket_key",P.key),m.cookie("auth_endpoint",P.authEndpoint),m.cookie("socket_host",P.host),m.cookie("wsPort",P.wsPort),m.cookie("wssPort",P.wssPort)),N=-1!==f()(A.special_organizations,Object(y.d)(o.headers.host)),$=-1!==f()(A.cname_organizations,o.headers.host),B={is_special_organization:null,is_special_profile:null},o.headers.host!==Object(y.f)("https://viblo.asia")&&(N||$?(m.cookie("is_special_subdomain","organization"),B.is_special_organization=!0):(m.cookie("is_special_subdomain","profile"),B.is_special_profile=!0)),r("mayFestTime/setTime",T),r("wrappedUpTime/setTime",R),r("witePostNewYear/setTime",E),r("config/setConfig",{name:"banners",value:O}),r("config/setConfig",{name:"motd",value:k}),r("config/setConfig",{name:"logo",value:x}),r("config/setConfig",{name:"vars",value:h()({},A,B)}),r("conditionCreateOrganization/setCondition",D),M=c()(o,"session.settings"),r("settings/setAll",h()({},C,M)),r("toast/pushMessages",o.flash("messages")),_&&_.user.first_login&&l("/get-started");case 26:case"end":return n.stop()}}),n)})))()}},O=[w.default,_.default]},1234:function(t,e){},124:function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));var r={INTERVIEW:"viblo-interview",LEARN:"viblo-learning",CODE:"viblo-code",CTF:"viblo-ctf"}},1242:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return _})),n.d(e,"actions",(function(){return k})),n.d(e,"mutations",(function(){return O}));var r=n(62),o=n.n(r),c=n(8),l=n.n(c),h=n(9),d=n.n(h),f=n(81),m=n.n(f),v=n(137),y=n(349),w=n(275),_=function(){return{indicator:0,items:[],processing:!1,pinnedItem:[],post:{},related:[]}},k={loadAnnouncements:function(t){var e=t.commit;return Object(w.j)({src:"popover"}).then((function(t){var data=t.data;e("setAnnouncements",{items:data.posts,unread:data.unread_count})}))},getPinnedItem:function(t){var e=t.commit;return Object(w.c)().then((function(t){var data=t.data.data;data.length>0&&e("setPinnedItem",data)}))},markAsRead:function(t,e){var n=t.commit,r=t.rootState;n("markAsRead",{slug:e,createdAt:d()(r,"auth.user.created_at")})},markAllAsRead:function(t){var e=t.commit;t.state.indicator>0&&Object(w.k)().then((function(){return e("markAllAsRead")}))}},O={markAsRead:function(t,e){var n=e.slug,r=e.createdAt,o=Object(v.a)(new Date,"yyyy-MM-dd hh:mm:ss"),c=m()(t.items,(function(t){return t.slug===n}));t.items=Object(y.a)(t.items,"slug",n,{read_at:o}),c&&null===c.read_at&&c.published_at>r&&(t.indicator-=1)},markAllAsRead:function(t){var e=Object(v.a)(new Date,"yyyy-MM-dd hh:mm:ss");t.items=o()(t.items,(function(t){return l()({},t,{read_at:e})})),t.indicator=0},setAnnouncements:function(t,e){var n=e.items,r=e.unread;t.items=n||[],t.indicator=r},setPinnedItem:function(t,e){t.pinnedItem=e}}},1243:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return y})),n.d(e,"getters",(function(){return w})),n.d(e,"actions",(function(){return _})),n.d(e,"mutations",(function(){return k}));n(31);var r=n(9),o=n.n(r),c=n(8),l=n.n(c),h=n(55),d=n.n(h),f=n(4),m=n.n(f),v=n(59),y=function(){return{user:null,roles:null,lastSeens:null,guest:!0,showAuthDialog:!1,showLetRegister:!0,reminderLogin:!1,avtUser:null,is_partner:null}},w={authenticated:function(t){return null!=t.user},roles:function(t){return t.user&&t.roles||[]},hasRole:function(t){return function(e){return!!t.roles&&d()(t.roles,e)}},isEditor:function(t){return t.user&&d()(t.roles,"editor")},userId:function(t){return t.user?t.user.id:null},canRateComment:function(t){return!!t.user&&t.user.reputation+t.user.qa_reputation>=50},isUser:function(t){return function(e){return t.user&&t.user.id===e}},isAdmin:function(t){return t.user&&!0===t.user.is_admin},isPartner:function(t){return t.user&&null!=t.is_partner},isCollaborator:function(t){return t.user&&d()(t.roles,"collaborator")},isSocialMediaEditor:function(t){return t.user&&d()(t.roles,"social-media-editor")}
1,isSpamReviewer:function(t){return t.user&&d()(t.roles,"spam-reviewer")},needsCaptcha:function(t){return!(!t.user||!t.user.needs_captcha)},lastSeen:function(t){return function(e){return t.user&&t.lastSeens[e]||null}}},_={fetchLastSeen:function(t){var e=t.state,n=t.commit;return e.guest?Promise.resolve():m.a.get("/me/activity/lastVisit").then((function(t){var data=t.data;return n("setLastSeens",data)}))},showAuthDialog:function(){Object(v.a)()}},k={set:function(t,e){var n=o()(e,"user",null),r=o()(e,"is_admin",!1),c=o()(e,"roles",[]),h=o()(e,"is_partner",null),d=o()(e,"needs_captcha",!1);t.guest=!1,t.user=n?l()({},n,{needs_captcha:d},r?{is_admin:r}:null):n,t.roles=c,t.is_partner=h},SET_POSTS_COUNT:function(t,e){t.user.posts_count!==e&&(t.user.posts_count=e)},setShow:function(t,e){t.showLetRegister=e},setLastSeens:function(t,data){t.lastSeens=l()({},t.lastSeens,data)},setFollowingTechnicalsCount:function(t,e){t.user.following_technicals_count+=e},setReminderLogin:function(t,e){t.reminderLogin=e},setAvtUser:function(t,e){t.avtUser=e},updateLayout:function(t,e){t.user.layout=e}}},1244:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return c})),n.d(e,"actions",(function(){return l})),n.d(e,"mutations",(function(){return h}));var r=n(3),o=(n(11),n(503)),c=function(){return{items:{}}},l={fetch:function(t){return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.commit,r=t.rootGetters,r["auth/authenticated"]){e.next=4;break}return e.abrupt("return",n("setItems",{}));case 4:return e.next=6,Object(o.b)().then((function(t){return t.data}));case 6:return c=e.sent,e.abrupt("return",n("setItems",c));case 8:case"end":return e.stop()}}),e)})))()}},h={setItems:function(t,e){t.items=e}}},1245:function(t,e,n){"use strict";n.r(e);var r=n(3),o=(n(11),n(58)),c={getBookmarks:function(t,e){return Object(r.a)(regeneratorRuntime.mark((function n(){var r,c,l,h,d,f,data;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.commit,c=e.sort,l=e.page,h=e.perPage,d=e.username,f=e.type,n.next=4,Object(o.b)(d,"clipped-".concat(f),{sort:c,page:l,limit:h});case 4:data=n.sent,r("setDataBookmarks",{data:data,type:f});case 6:case"end":return n.stop()}}),n)})))()}};e.default={state:function(){return{bookmarks:null,pagination:null,type:"posts"}},actions:c,getters:{},mutations:{setDataBookmarks:function(t,e){var data=e.data,n=e.type;t.bookmarks=data.data.data,t.pagination=data.data.meta.pagination,t.type=n}}}},1246:function(t,e,n){"use strict";n.r(e);var r=n(2),o=n(3),c=(n(11),n(74)),l=n.n(c),h=n(8),d=n.n(h),f=n(107),m=n(320),v={fetch:function(t,e){return Object(o.a)(regeneratorRuntime.mark((function n(){var r,o,c,l,h;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.commit,n.next=3,Object(m.b)(e).then((function(t){return{comments:t.data.data,pagination:t.data.meta.pagination}}));case 3:o=n.sent,c=o.comments,l=o.pagination,h=Object(f.b)(c),r("entities/users/put",h.entities.users,{root:!0}),r("setPagination",l),r("setData",c);case 10:case"end":return n.stop()}}),n)})))()},rated:function(t,e){var n=t.commit,r=e.comment,o=e.rated_value;n("UPDATE_COMMENT",{id:r.id,points:r.points-r.rated_value+o,rated_value:o})}},y={setData:function(t,data){t.comments=data},setPagination:function(t,e){t.pagination=e},UPDATE_COMMENT:function(t,e){var n=l()(t.comments,(function(t){return t.id===e.id})),o=d()({},t.comments[n],e);t.comments=d()([],t.comments,Object(r.a)({},n,o))}};e.default={state:function(){return{comments:{},pagination:{}}},actions:v,mutations:y}},1247: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=function(){return{conditionReputations:0}},o={setCondition:function(t,e){t.conditionReputations=e}}},1248:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return v})),n.d(e,"getters",(function(){return w})),n.d(e,"actions",(function(){return _})),n.d(e,"mutations",(function(){return k}));n(42);var r=n(9),o=n.n(r),c=n(265),l=n.n(c),h=n(38),d=n.n(h),f=n(74),m=n.n(f),v=function(){return{analytics_track_id:"G-HF9XE2NDGV",banners:[],currentBannerIndex:null,motd:[],currentMotdIndex:null,currentBgIndex:null,logo:[],currentLogoIndex:0,vars:[]}},y=["#5488c7, #A15284","#8360c3, #5198A6","#7f7fd5, #23709E","#8360c3, #2ebf91","#8A3C52, #6A82FB"],w={get:function(t){return function(e,n){return o()(t,e,n)}},currentBanner:function(t){var e=t.banners,n=t.currentBannerIndex;return o()(e,n,null)},currentMotd:function(t){var e=t.motd,n=t.currentMotdIndex;return o()(e,n,null)},currentBg:function(t){var e=t.currentBgIndex;return o()(y,e,null)},currentLogo:function(t){var e=t.logo,n=t.currentLogoIndex;return o()(e,n,null)}}
1,_={changeBanner:function(t){var e=t.commit,n=t.state,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=r.isVideoPage,c=void 0!==o&&o;if(!d()(n.banners)){var h=c?m()(n.banners,(function(t){return"Uiza"===t.name})):-1,f=-1!==h?h:l()(n.banners.length-1);e("setConfig",{name:"currentBannerIndex",value:f})}},changeMotd:function(t){var e=t.commit,n=t.state;d()(n.motd)||(e("setConfig",{name:"currentMotdIndex",value:l()(n.motd.length-1)}),e("setConfig",{name:"currentBgIndex",value:l()(y.length-1)}))},changeLogo:function(t){var e=t.commit,n=t.state;d()(n.logo)||e("setConfig",{name:"currentLogoIndex",value:l()(n.logo.length-1)})}},k={setConfig:function(t,e){var n=e.name,r=e.value;t[n]=r}}},1250:function(t,e,n){"use strict";n.r(e);var r=n(2),o=n(3),c=(n(11),n(38)),l=n.n(c),h=n(8),d=n.n(h),f=n(29),m=n.n(f),v=n(78),y=n.n(v),w=n(36),_=n(27),k=n(58),O={get:function(t){return function(e){var n=t.all[e];return l()(n)?null:n}}},x={follow:function(t,e){return Object(o.a)(regeneratorRuntime.mark((function n(){var o,c,l,h,d;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.commit,c=t.state,l=e.username,h=e.value,n.next=4,Object(w.subscribe)(_.SubscribableType.User,l,h);case 4:d=c.all[l],o("updateHovercard",Object(r.a)({},d.username,{following:h,followers_count:d.followers_count+(h?1:-1),reputation:d.reputation+(h?7:-7)}));case 6:case"end":return n.stop()}}),n)})))()},getUser:function(t,e){return Object(o.a)(regeneratorRuntime.mark((function n(){var r,o,c;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=t.state,o=t.commit,!l()(r.all[e])){n.next=6;break}return n.next=4,Object(k.e)(e).then((function(t){return t.data}));case 4:c=n.sent,o("putToHovercards",c);case 6:case"end":return n.stop()}}),n)})))()}},C={putToHovercards:function(t,e){t.all=d()({},t.all,Object(r.a)({},e.username,e))},updateHovercard:function(t,e){var n=m()(e,(function(e,n){return t.all[n]})),r=y()({},n,e);t.all=d()({},t.all,r)}};e.default={state:function(){return{all:{}}},actions:x,getters:O,mutations:C}},1251:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return c})),n.d(e,"getters",(function(){return l})),n.d(e,"mutations",(function(){return h}));var r=n(74),o=n.n(r),c=function(){return{searchLog:null,CTRLogs:[],clickedLog:null}},l={getSearchLog:function(t){return t.log},getCTRLogs:function(t){return t.CTRLogs},getClickedLog:function(t){return t.clickedLog}},h={setSearchLog:function(t,data){t.log=data},setClickedLog:function(t,data){t.clickedLog=data},pushCTRLogs:function(t,data){var e=o()(t.CTRLogs,{section:data.section}),n=t.CTRLogs;-1!==e?(n[e]=data,t.CTRLogs=n):t.CTRLogs.push(data)},clearCTRLogs:function(t){t.CTRLogs=[]}}},1252: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=function(){return{startTime:"",endTime:"",active:!1,happening:!1,link_annc:"",tag_event:""}},o={setTime:function(t,data){t.startTime=data.startTime,t.endTime=data.endTime,t.active=data.active,t.happening=data.happening,t.link_annc=data.link_annc,t.tag_event=data.tag}}},1253:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return h})),n.d(e,"getters",(function(){return f})),n.d(e,"actions",(function(){return y})),n.d(e,"mutations",(function(){return w}));var r=n(26),o=n(3),c=(n(11),n(36)),l=n(349),h=function(){return{data:[],batch:0,lastBatch:1,unread:0,loadNoti:!0}},d=function(t){return t.batch<t.lastBatch},f={hasMore:d,withUnreadCount:function(t){return function(title){return t.unread>0?"(".concat(t.unread,") ").concat(title):title}}},m=function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(e,n){var data,r,o,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(c.getNotifications)({page:e,locale:n});case 2:return data=t.sent,r=data.counter,o=data.notifications,l=o.meta.pagination,t.abrupt("return",{notifications:o.data,unread:r,pagination:l});case 7:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),v=function(t,e,n){var r=n.notifications,o=n.unread,c=n.pagination;t(e,r),t("setUnreadCount",o),t("setPagination",{current:c.current_page,last:c.total_pages})},y={fetchMore:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){var r,o,data;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(r=t.state,o=t.commit,d(r)){n.next=3;break}return n.abrupt("return");case 3:return n.next=5,m(r.batch+1,e.state.i18n.locale);case 5:data=n.sent,v(o,"push",data);case 7:case"end":return n.stop()}}),n)})))()},fetch:function(t){var e=this;return Object(o.a)(regeneratorRuntime.mark((function n(){var r,data;return regeneratorRuntime.wrap((function(n){for(;;
1)switch(n.prev=n.next){case 0:return(r=t.commit)("setLoad",!0),n.prev=2,n.next=5,m(1,e.state.i18n.locale);case 5:data=n.sent,v(r,"set",data),r("setLoad",!1),n.next=13;break;case 10:throw n.prev=10,n.t0=n.catch(2),n.t0;case 13:case"end":return n.stop()}}),n,null,[[2,10]])})))()},clear:function(t){var e=t.commit;Object(c.clearNotifications)().then((function(){e("setUnreadCount",0)}))},deleteAll:function(t){var e=t.commit;Object(c.clearNotifications)(!0).then((function(){e("clear")}))}},w={shift:function(t,e){t.data=[e].concat(Object(r.a)(t.data))},push:function(t,e){t.data=[].concat(Object(r.a)(t.data),Object(r.a)(e))},set:function(t,e){t.data=e},setPagination:function(t,e){var n=e.current,r=e.last;t.batch=n,t.lastBatch=r},setRead:function(t,e){t.data=Object(l.a)(t.data,"id",e,{is_read:!0})},setUnreadCount:function(t,e){t.unread=e},clear:function(t){t.data=[],t.batch=0,t.lastBatch=1,t.unread=0},setLoad:function(t,data){t.loadNoti=data}}},1254: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=function(){return{isDisplayed:!1,isSkipped:!1}},o={setIsDisplayed:function(t,e){t.isDisplayed=e},setIsSkipped:function(t,e){t.isSkipped=e}}},1255:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return f})),n.d(e,"actions",(function(){return m})),n.d(e,"mutations",(function(){return y})),n.d(e,"getters",(function(){return v}));var r=n(3),o=(n(11),n(9)),c=n.n(o),l=n(81),h=n.n(l),d=n(84),f=function(){return{organizations:[]}},m={getOrganizations:function(t){return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,o,l,h;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.rootState,r=t.commit,o=c()(n,"auth.user"),l=function(){return Object(d.u)().then((function(t){return t.data.data})).catch((function(){return[]}))},!o){e.next=9;break}return e.next=6,l();case 6:e.t0=e.sent,e.next=10;break;case 9:e.t0=[];case 10:h=e.t0,r("set_organizations",h);case 12:case"end":return e.stop()}}),e)})))()}},v={byId:function(t){return function(e){return h()(t.organizations,(function(t){return t.id===e}))}}},y={set_organizations:function(t,e){t.organizations=e}}},1256: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=function(){return{current:null,previous:null}},o={setCurrentPage:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t.previous=t.current,t.current=e}}},1257:function(t,e,n){"use strict";n.r(e);n(15),n(13),n(12),n(17),n(18);var r=n(32),o=n(3),c=n(2),l=(n(11),n(54),n(66),n(31),n(46),n(60),n(257)),h=n(91),d=n(43),f=n(135),m=n(92),v=n(53),y=n(124);function w(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function _(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?w(Object(source),!0).forEach((function(e){Object(c.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):w(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var k=_(_({},v.getters),{},{getUserPartners:function(t,e,n,r){return t.sidebar.userPartners?t.sidebar.userPartners.map((function(t){return _(_({},t),{},{is_self:t.id===r["auth/userId"]})})):null}}),O=_(_({},Object(v.createActions)({fetchPosts:function(t){var e=t.feed,n=t.params;return Object(l.getPostsFeed)(e,n)}})),{},{fetchSidebar:function(t){return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o,c,l,m,v,y;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([Object(f.loadUsers)(t,Object(d.h)("sidebar").then((function(t){return t.data.data}))),Object(h.getQuestionsFeed)(h.QuestionFeedType.Newest,{limit:5}).then((function(t){return t.data})),Object(f.loadOrganizations)(t,Object(d.g)("sidebar").then((function(t){return t.data.data}))),Object(d.a)().then((function(t){return t.data.data})),Object(d.i)().then((function(t){return t.data.data}))]);case 2:n=e.sent,o=Object(r.a)(n,5),c=o[0],l=o[1],m=o[2],v=o[3],y=o[4],t.commit("setSidebar",{users:c,questions:l,organizations:m,organizationPartners:v,userPartners:y});case 10:case"end":return e.stop()}}),e)})))()},fetchSidebarRecommend:function(t){return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o,c,l,m,v,w;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([Object(f.loadUsers)(t,Object(d.h)("sidebar").then((function(t){return t.data.data}))),Object(h.getQuestionsFeed)(h.QuestionFeedType.Newest,{limit:3}).then((function(t){return t.data})),Object(d.f)({type:y.a.CODE}).then((function(t){return t.data})),Object(d.f)({type:y.a.LEARN}).then((function(t){return t.data})),Object(d.f)({type:y.a.CTF}).then((function(t){return t.data}))]);case 2:n=e.sent,o=Object(r.a)(n,5),c=o[0],l=o[1],m=o[2],v=o[3],w=o[4],t.commit("setSidebar",{users:c,questions:l,suggestionChallenges:m,suggestionCourses:v,suggestionPuzzles:w});case 10:case"end":return e.stop()}}),e)})))()},getPostInOrgByLevel:function(t,e){return Object(o.a)(regeneratorRuntime.mark((function n(){var r,o,c,l,h;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.commit,o=e.level,c=e.page,l="setPostsByLevel".concat(o.charAt(0).toUpperCase()+o.slice(1)),n.next=5,Object(m.d)({level:o,page:c}).then((function(t){return t.data}
1)).catch((function(){return null}));case 5:h=n.sent,r(l,h);case 7:case"end":return n.stop()}}),n)})))()}}),x=_(_({},v.mutations),{},{setSidebar:function(t,data){t.sidebar=data},setPostsByLevelDiamond:function(t,data){t.postOrgLevelDiamond=data.data,t.pagination=data.meta},setPostsByLevelGold:function(t,data){t.postOrgLevelGold=data.data,t.pagination=data.meta},setPostsByLevelSilver:function(t,data){t.postOrgLevelSilver=data.data,t.pagination=data.meta}});e.default={state:function(){return _(_({},v.defaultState),{},{sidebar:{users:[],questions:[],organizations:[],organizationPartners:[],userPartners:[],suggestionChallenges:[],suggestionCourses:[],suggestionPuzzles:[]},postOrgLevelDiamond:null,postOrgLevelGold:null,postOrgLevelSilver:null,pagination:null})},getters:k,actions:O,mutations:x}},1258:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return O})),n.d(e,"actions",(function(){return x})),n.d(e,"getters",(function(){return j})),n.d(e,"mutations",(function(){return C}));var r=n(2),o=n(3),c=(n(31),n(11),n(9)),l=n.n(c),h=n(220),d=n.n(h),f=n(34),m=n.n(f),v=n(78),y=n.n(v),w=n(8),_=n.n(w),k=n(96),O=function(){return{profile:null}},x={getProfile:function(t,e){return Object(o.a)(regeneratorRuntime.mark((function n(){var o,c,l;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.commit,n.next=3,Object(k.getProfile)(e);case 3:c=n.sent,l=c.data,o("setProfile",l),o("entities/users/put",Object(r.a)({},l.id,l),{root:!0});case 7:case"end":return n.stop()}}),n)})))()},follow:function(t,e){var n=t.state,r=t.dispatch;return n.profile?r("entities/users/follow",{username:n.profile.username,value:e},{root:!0}):Promise.resolve()}},C={setProfile:function(t,e){t.profile=m()(e,["id","username","internal_name","is_internal_member","accepted_answers_count","answers_count","posts_stats","posts_stats_tags","subscriptions_count","banned_at","total_post_views","badges"])},put:function(t,data){t.profile=y()(t.profile,data)},UPDATE_COUNTER:function(t,e){var n=e.key,r=e.value;if(t.profile){var o=l()(t,n),c=r?1:-1;d()(t,n,o+c)}}},j={current:function(t,e,n,r){if(!t.profile)return{};var o=r["auth/userId"],c=r["entities/users/get"](t.profile.id);return _()({},c,t.profile,{is_self:t.profile.id===o})}}},1259:function(t,e,n){"use strict";n.r(e);n(15),n(13),n(12),n(17),n(18);var r=n(2),o=n(3),c=(n(11),n(10)),l=n(47),h=n(43);function d(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function f(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?d(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):d(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var m={fetchTopUsers:function(t,e){return Object(o.a)(regeneratorRuntime.mark((function n(){var r,o,d;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.commit,n.next=3,Object(h.h)(e).then((function(t){return t.data.data}));case 3:o=n.sent,d=Object(c.a)(o,l.f),r("entities/users/put",d.entities.users,{root:!0}),r("setUsers",{context:e,users:d.result});case 7:case"end":return n.stop()}}),n)})))()},fetchPopularTags:function(t,e){return Object(o.a)(regeneratorRuntime.mark((function n(){var r,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.commit,n.next=3,Object(h.b)(e,{limit:15}).then((function(t){return t.data.data}));case 3:o=n.sent,r("SET_POPULAR_TAGS",o);case 5:case"end":return n.stop()}}),n)})))()}},v={setUsers:function(t,e){var n=e.users,o=e.context;t.users=f(f({},t.users),{},Object(r.a)({},o,n))},SET_POPULAR_TAGS:function(t,e){t.tags=e},SET_SHARING_ID:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t.currentSharingId=e}};e.default={state:function(){return{users:{},posts:[],tags:[],currentSharingId:null}},actions:m,mutations:v}},1260:function(t,e,n){"use strict";n.r(e);n(15),n(13),n(12),n(17),n(18);var r=n(32),o=n(3),c=n(2),l=(n(11),n(54),n(66),n(31),n(46),n(257)),h=n(91),d=n(43),f=n(135),m=n(73),v=n(124);function y(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function w(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?y(Object(source),!0).forEach((function(e){Object(c.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):y(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var _=w(w({},m.getters),{},{getUserPartners:function(t,e,n,r){return t.sidebar.userPartners?t.sidebar.userPartners.map((function(t){return w(w({},t),{},{is_self:t.id===r["auth/userId"]})})):null}}),k={fetch:Object(m.createFetchAction)((function(t){var e=t.feed,n=t.params;return Object(h.getQuestionsFeed)(e||h.QuestionFeedType.Newest,n)})),fetchSidebar:function(t){return Object(o.a)(regeneratorRuntime.mark((function e(){var n,o,c,h,m,y,w;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([Object(f.loadUsers)(t,Object(d.h)("qa_sidebar").then((function(t){return t.data.data}))),Object(l.getPostsFeed)(l.PostFeedType.Newest,{limit:5,category:"normal"}).then((function(t){return t.data})),Object(d.a)().then((function(t){return t.data.data})),Object(d.i)().then((function(t){return t.data.data})),Object(d.f)({type:v.a.INTERVIEW}).then((function(t){return t.data}))]);case 2:n=e.sent,o=Object(r.a)(n,5),c=o[0],h=o[1],m=o[2],y=o[3],w=o[4],t.commit("setSidebar",{users:c,posts:h,organizationPartners:m,userPartners:y,interviewQuestions:w});case 10:case"end":return e.stop()}}),e)})))()}},O=w(w({},m.mutations),{},{setSidebar:function(t,data){t.sidebar=data}});e.default={state:function(){return w(w({},m.state),{},{sidebar:{users:[],posts:[],organizationPartners:[],userPartners:[],interviewQuestions:[]}})},getters:_,actions:k,mutations:O}},1261:function(t,e,n){"use strict";n.r(e);var r=n(26),o=n(2),c=n(3),l=(n(31),n(46),n(11),n(36)),h=n(284),d=n(27),f=n(8),m=n.n(f),v=n(510),y=n(370),w=n(37),_=n(107),k={series:function(t,e,n,r){if(!t.series)return null;var o=t.series,c=r["auth/userId"];return m()(o,{is_own:o.user_id===c})}},O={getSeries:function(t,e){return Object(c.a)(regeneratorRuntime.mark((function n(){var r,o,c,l,h,d,f,m;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.dispatch,o=t.commit,c=t.rootGetters,l=e.hashId,h=e.query,n.next=4,Object(y.e)(l,h).then((function(data){return{series:data.series.data,posts:data.posts,user_id:data.series.data.user.data.id}}));case 4:return d=n.sent,f=Object(_.d)(d.series),o("setCurrent",d),(m=f.entities.users)[d.user_id]=d.series.user.data,o("entities/users/put",m,{root:!0}),o("comments/set",f.entities.comments||{}),c["auth/userId"]===d.series.user_id&&r("getAllRequestNews"),n.abrupt("return",d.series);case 13:case"end":return n.stop()}}),n)})))()},getAllRequestNews:function(t){return Object(c.a)(regeneratorRuntime.mark((function e(){var n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.state,r=t.commit,e.next=3,Object(y.c)(n.series.hash_id).then((function(t){return t.data.data}));case 3:o=e.sent,r("SET_REQUESTS",o);case 5:case"end":return e.stop()}}),e)})))()},clip:function(t,e){var n=t.state,r=t.commit,c=t.rootGetters,h=e.hash_id,f=e.value,m=n.series,v=c["entities/users/get"](m.user_id);return Object(l.subscribe)(d.SubscribableType.Series,h,f).then((function(t){return r("update",{clipped:f,clips_count:m.clips_count+(f?1:-1)}),c["auth/userId"]!==m.user_id&&r("entities/users/put",Object(o.a)({},m.user_id,{reputation:v.reputation+(f?3:-3)}),{root:!0}),t}))},addComment:function(t,e){return Object(c.a)(regeneratorRuntime.mark((function n(){var o,c,l,h,d,f,m;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.dispatch,c=t.commit,l=t.state,h=e.values,n.next=4,o("comments/add",{commentable_type:"series",commentable_id:l.series.hash_id,values:h});case 4:d=n.sent,f=l.series.comments.data,m=[].concat(Object(r.a)(f),[d]),c("update",{comments:{data:m},comments_count:l.series.comments_count+1});case 8:case"end":return n.stop()}}),n)})))()},destroyComment:function(t,e){return Object(c.a)(regeneratorRuntime.mark((function n(){var r,o,c;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.dispatch,o=t.commit,c=t.state,n.next=3,r("comments/remove",e);case 3:o("update",{comments_count:c.series.comments_count-1});case 4:case"end":return n.stop()}}),n)})))()},vote:function(t,e){return Object(c.a)(regeneratorRuntime.mark((function n(){var r,c,l,f,m,v,y,_,k;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.commit,c=t.state,l=c.series,f=l.rated_value,m=Object(w.b)(f),v=m!==e?e:"none",y={up:4,down:0,none:0},n.next=8,Object(h.castVote)(d.RateableType.Series,l.hash_id,v).then((function(t){return t.data.rated_value}));case 8:_=n.sent,k=y[v]-y[m],r("update",{rated_value:_,points:l.points-f+_}),r("entities/users/increment",Object(o.a)({},l.user_id,{reputation:k}),{root:!0});case 12:case"end":return n.stop()}}),n)})))()},getSeriesHomeFeed:function(t,e){return Object(c.a)(regeneratorRuntime.mark((function n(){var r,o,c;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.commit,o=e.params,n.next=4,Object(v.getSeriesFeed)(o);case 4:c=n.sent,r("setDataSeriesHomeFeed",c);case 6:case"end":return n.stop()}}),n)})))()}},x={setCurrent:function(t,e){var n=e.series,r=e.posts;t.series=n,t.posts=r},SET_REQUESTS:function(t,e){t.requests=e},update:function(t,e){var n=t.series;t.series=m()(n,e)},setDataSeriesHomeFeed:function(t,e){t.seriesHome=e.data,t.paginationSeries=e.meta.pagination}};e.default={state:function(){return{series:{},posts:[],requests:[],seriesHome:null,paginationSeries:null}},actions:O,getters:k,mutations:x}},1262:function(t,e,n){"use strict";n.r(e);var r=n(3),o=(n(11),n(42),n(72)),c=n.n(o),l=n(343),h=n.n(l),d=n(354),f=n.n(d),m=n(516),v=n.n(m),y=n(4),w=n.n(y),_=n(36),k={preferred_post_layout:"layout",post_per_page:"perPage",highlight_theme:"theme",homepage:"homepage"},O={setLayout:function(t,e){return(0,t.commit)("setLayout",e),w.a.put("/sessionSettings",{setting:"preferred_post_layout",value:e},{baseURL:"/"})},setValue:function(t,e){var n=t.commit,r=e.name,o=e.value,c=k[r];return w.a.put("/sessionSettings",{setting:c,value:o},{baseURL:"/"}).then((function(){n("setValue",{setting:c,value:o})}))},updateServiceSettings:function(t,e){var n=t.commit,r=e.sessionSettings,o=e.userSettings;n("setAll",h()(f()((function(t){return t.status}
1)),v()(r))(o))},getSettingUser:function(t){return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.commit,e.prev=1,e.next=4,Object(_.getServiceSettings)();case 4:r=e.sent,o=r.data,n("setValueSetting",{settings:o}),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(1),n("setValueSetting",{settings:{complete_survey:!0,complete_tour:"all",viewed_popup_newsletter:!0}});case 12:case"end":return e.stop()}}),e,null,[[1,9]])})))()}},x={setAll:function(t,e){c()(e,(function(e,n){n=k[n]||n,e&&t[n]&&(t[n]=e)}))},setLayout:function(t,e){t.layout=e},setValue:function(t,e){var n=e.setting,r=e.value;t[n]=r},reset:function(t){t.perPage=20,t.layout="simple",t.theme="default",t.homepage="default"},setValueSetting:function(t,e){t.complete_survey=e.settings.complete_survey,t.complete_tour=e.settings.complete_tour,t.viewed_popup_newsletter=e.settings.viewed_popup_newsletter},setValueTour:function(t,e){t.complete_tour=e},setValueSurvey:function(t){t.complete_survey=!0}};e.default={state:function(){return{perPage:20,layout:"simple",theme:"default",homepage:"default",complete_survey:!1,complete_tour:"",viewed_popup_newsletter:!0}},actions:O,mutations:x}},1263: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=function(){return{externalUrl:null}},o={setExternalUrl:function(t,data){t.externalUrl=data}}},1264:function(t,e,n){"use strict";n.r(e);var r=n(26),o=(n(60),{pushMessages:function(t,e){t.messages=[].concat(Object(r.a)(t.messages),Object(r.a)(e))},popMessage:function(t){t.messages=t.messages.slice(0,t.messages.length-1)},pushNewPost:function(t){t.newPosts+=1},clearNewPost:function(t){t.newPosts=0}});e.default={state:function(){return{messages:[],newPosts:0}},mutations:o}},1265:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return c})),n.d(e,"getters",(function(){return l})),n.d(e,"mutations",(function(){return h}));var r=n(488),o=n.n(r),c=function(){return{fontSize:18,lineHeight:1.75,fullScreen:!1,modeTheme:"default"}},l={fontSize:function(t){return"".concat(t.fontSize,"px")},lineHeight:function(t){return t.lineHeight},fullScreen:function(t){return t.fullScreen}},h={increaseFontSize:function(t){t.fontSize+=1},decreaseFontSize:function(t){t.fontSize-=1},increaseLineHeight:function(t){t.lineHeight=o()(t.lineHeight+.1,2)},decreaseLineHeight:function(t){t.lineHeight=o()(t.lineHeight-.1,2)},resetFontSizeAndLineHeight:function(t){t.fontSize=18,t.lineHeight=1.75,t.fullScreen=!1,t.modeTheme="default"},showFullScreen:function(t){t.fullScreen=!t.fullScreen},switchMode:function(t,e){t.modeTheme=e}}},1267:function(t,e,n){"use strict";n.r(e);var r,o=n(3),c=(n(11),n(29)),l=n.n(c),h=n(10),d=n(47),f=n(58),m=n(45),v={fetch:(r=Object(o.a)(regeneratorRuntime.mark((function t(e,n){var r,o,c,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.commit,t.next=3,Object(f.n)(n).then((function(t){return t.data}));case 3:o=t.sent,c=Object(h.a)(o.data,d.f),l=c.entities.users,r(m.PUT_USERS_TO_STATE,l,{root:!0}),r("setCurrent",c.result),r("setUsers",l);case 9:case"end":return t.stop()}}),t)}))),function(t,e){return r.apply(this,arguments)})},y={setCurrent:function(t,e){t.current=e},setUsers:function(t,e){t.byId=l()(e,(function(t){return{reputation_earned:t.reputation_earned}}))}};e.default={state:function(){return{current:[],byId:{}}},actions:v,mutations:y}},1268:function(t,e,n){"use strict";n.r(e);e.default={state:function(){return{step0:!1,step1:!1,step2:!1,step3:!1,step4:!1,writePostStep0:!1,writePostStep1:!1,writePostStep2:!1,writePostStep3:!1,showBackgroud:!1,triggerUserMenu:"click",doneFetchData:!1}},mutations:{setDataStep0:function(t,data){t.step0=data},setDataStep1:function(t,data){t.step1=data},setDataStep2:function(t,data){t.step2=data},setDataStep3:function(t,data){t.step3=data},setDataStep4:function(t,data){t.step4=data},setDataWritePostStep0:function(t,data){t.writePostStep0=data},setDataWritePostStep1:function(t,data){t.writePostStep1=data},setDataWritePostStep2:function(t,data){t.writePostStep2=data},setDataWritePostStep3:function(t,data){t.writePostStep3=data},setDataWritePostStep4:function(t,data){t.writePostStep4=data},setShowBackgroud:function(t,data){t.showBackgroud=data},doneOrSkipTour:function(t){t.step0=!1,t.step1=!1,t.step2=!1,t.step3=!1,t.step4=!1},doneOrSkipTourWritePost:function(t){t.writePostStep0=!1,t.writePostStep1=!1,t.writePostStep2=!1,t.writePostStep3=!1,t.writePostStep4=!1}
1,setTriggerUserMenu:function(t,data){t.triggerUserMenu=data},setDoneFetchData:function(t,data){t.doneFetchData=data}}}},1269: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=function(){return{startTime:"",endTime:"",active:!1,happening:!1,link_annc:"",tag_event:""}},o={setTime:function(t,data){t.startTime=data.startTime,t.endTime=data.endTime,t.active=data.active,t.happening=data.happening,t.link_annc=data.link_annc,t.tag_event=data.tag}}},1270: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=function(){return{startTime:"",endTime:"",lastImage:""}},o={setTime:function(t,data){t.startTime=data.startTime,t.endTime=data.endTime,t.lastImage=data.lastImage}}},1275:function(t,e,n){"use strict";n.r(e),n.d(e,"PUT_ORGANIZATIONS_TO_STATE",(function(){return k})),n.d(e,"state",(function(){return x})),n.d(e,"actions",(function(){return C})),n.d(e,"mutations",(function(){return j}));var r=n(2),o=n(3),c=(n(11),n(34)),l=n.n(c),h=n(78),d=n.n(h),f=n(8),m=n.n(f),v=n(36),y=n(29),w=n.n(y),_=n(204);n.d(e,"getters",(function(){return _.a}));var k="entities/organizations/put",O=["id","slug","user_id","avatar","name","posts_count","short_description","full_description","followers_count","members_count","following","location","website","website_verified","approved","postviews_count","level_partner","google_analytics_id","description_subdomain"],x=function(){return{all:{}}},C={subscribe:function(t,e){return Object(o.a)(regeneratorRuntime.mark((function n(){var o,c,l;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.commit,c=e.organization,l=e.value,n.next=4,Object(v.subscribe)("organization",c.slug,l);case 4:o("put",Object(r.a)({},c.id,{following:l,followers_count:c.followers_count+(l?1:-1)}));case 5:case"end":return n.stop()}}),n)})))()}},j={put:function(t,e){var data=function(t){return w()(t,(function(t){return l()(t,O)}))}(e),n=w()(data,(function(e,n){return t.all[n]})),r=d()({},n,data);t.all=m()({},t.all,r)}}},1276:function(t,e,n){"use strict";n.r(e);var r=n(84),o=n(48),c={fetch:Object(o.createFetchAction)((function(t){var e=t.slug,n=t.params;return Object(r.m)(e,n)})),resetData:function(t){(0,t.commit)("resetData")}};e.default={state:o.state,actions:c,mutations:o.mutations}},1277:function(t,e,n){"use strict";n.r(e);var r=n(84),o=n(48),c={fetch:Object(o.createFetchAction)((function(t){var e=t.slug,n=t.params;return Object(r.l)(e,n).then((function(t){return t.data}))})),resetData:function(t){(0,t.commit)("resetData")}};e.default={state:o.state,actions:c,mutations:o.mutations}},1278:function(t,e,n){"use strict";n.r(e);var r=n(84),o={fetch:function(t,e){var n=t.commit;return Object(r.v)(e).then((function(t){var data=t.data;return n("setTechnologies",data.data)}))},update:function(t,e){var n=t.dispatch,o=e.slug,c=e.technologies;return Object(r.I)(o,{technologies:c}).then((function(){return n("fetch",o)}))}};e.default={state:function(){return{technologies:[]}},actions:o,mutations:{setTechnologies:function(t,e){t.technologies=e}}}},1279:function(t,e,n){"use strict";n.r(e);var r,o=n(3),c=(n(11),n(10)),l=n(47),h=n(84),d=n(45),f={fetch:(r=Object(o.a)(regeneratorRuntime.mark((function t(e,n){var r,o,f,m;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.commit,t.next=3,Object(h.w)(n).then((function(t){return t.data}));case 3:o=t.sent,f=Object(c.a)(o.data,l.f),m=f.entities.users,r("topMembers",o.data),r(d.PUT_USERS_TO_STATE,m,{root:!0});case 8:case"end":return t.stop()}}),t)}))),function(t,e){return r.apply(this,arguments)}),resetData:function(t){(0,t.commit)("resetData")}};e.default={state:function(){return{topMembers:[]}},actions:f,mutations:{topMembers:function(t,e){t.topMembers=e},resetData:function(t){t.topMembers=[]}}}},1280:function(t,e,n){"use strict";n.r(e);n(15),n(13),n(12),n(17),n(18);var r=n(3),o=n(2),c=(n(11),n(10)),l=n(161),h=n(27),d=n(47),f=n(49),m=n(45);function v(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function y(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?v(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):v(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var w=f.getters,_=y(y({},f.actions),{},{fetch:function(t,e){return Object(r.a)(regeneratorRuntime.mark((function n(){var r,data,o,f;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return(r=t.commit)("setLoading",!0),n.next=4,Object(l.getComments)(h.CommentableType.Post,e);case 4:data=n.sent,o=Object(c.a)(data.comments.data,d.c),f=o.entities,r("set",{comments:f.comments,threads:data.threads}),r(m.PUT_USERS_TO_STATE,f.users,{root:!0}),r("setLoading",!1);case 9:case"end":return n.stop()}}),n)})))()}}),k=y(y({},f.createMutations({threadKeyName:"in_reply_to_comment"})),{},{setLoading:function(t,e){t.loading=e}});e.default={state:function(){return y(y({},f.defaultState),{},{loading:!0})},getters:w,actions:_,mutations:k}},1281:function(t,e,n){"use strict";n.r(e);n(15),n(13),n(12),n(17),n(18);var r=n(3),o=n(2),c=(n(11),n(10)),l=n(161),h=n(27),d=n(47),f=n(49),m=n(45);function v(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function y(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?v(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):v(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var w=f.getters,_=y(y({},f.actions),{},{fetch:function(t,e){return Object(r.a)(regeneratorRuntime.mark((function n(){var r,o,f,v,y;return regeneratorRuntime.wrap((function(n){for(;;
1)switch(n.prev=n.next){case 0:return(r=t.commit)("setLoading",!0),n.next=4,Object(l.getComments)(h.CommentableType.User,e);case 4:o=n.sent,f=o.comments,v=Object(c.a)(f.data,d.c),y=v.entities,r("set",y.comments),r(m.PUT_USERS_TO_STATE,y.users,{root:!0}),r("setLoading",!1);case 10:case"end":return n.stop()}}),n)})))()}}),k=y(y({},f.createMutations({threadKeyName:"in_reply_to_comment"})),{},{setLoading:function(t,e){t.loading=e}});e.default={state:function(){return y(y({},f.defaultState),{},{loading:!0})},getters:w,actions:_,mutations:k}},1282:function(t,e,n){"use strict";n.r(e);var r=n(96),o=n(48),c={fetch:Object(o.createFetchAction)((function(t){var e=t.username,n=t.params;return Object(r.getUserFollowers)(e,n)})),resetData:function(t){(0,t.commit)("resetData")}};e.default={state:o.state,actions:c,mutations:o.mutations}},1283:function(t,e,n){"use strict";n.r(e);var r,o=n(3),c=(n(11),n(9)),l=n.n(c),h=n(96),d=n(45),f=n(48),m={fetch:Object(f.createFetchAction)((function(t){var e=t.username,n=t.params;return Object(h.getUserFollowings)(e,n)})),follow:(r=Object(o.a)(regeneratorRuntime.mark((function t(e,n){var r,o,c,h,f,m;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.dispatch,o=e.commit,c=e.rootState,t.next=3,r(d.ACTION_FOLLOW_USER,n,{root:!0});case 3:return h=t.sent,f=l()(c,"auth.user.id"),m=l()(c,"profile.profile",{}),f===m.id&&o("profile/put",{subscriptions_count:{users:l()(m,"subscriptions_count.users",0)+(!0===n.value?1:-1)}},{root:!0}),t.abrupt("return",h);case 8:case"end":return t.stop()}}),t)}))),function(t,e){return r.apply(this,arguments)}),resetData:function(t){(0,t.commit)("resetData")}};e.default={state:f.state,actions:m,mutations:f.mutations}},1284:function(t,e,n){"use strict";n.r(e);n(15),n(13),n(12),n(17),n(18);var r=n(2),o=n(96),c=n(155),l=n.n(c),h=n(53);function d(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function f(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?d(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):d(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var m=f(f({},Object(h.createActions)({fetchPosts:function(t){var e=t.username,n=t.params;return Object(o.getUserPosts)(e,n)}})),{},{resetData:function(t){(0,t.commit)("resetData")}});e.default={state:function(){return l()(h.defaultState)},getters:h.getters,actions:m,mutations:h.mutations}},1285:function(t,e,n){"use strict";n.r(e);var r=n(96),o=n(73),c={fetch:Object(o.createFetchAction)((function(t){var e=t.username,n=t.params;return Object(r.getUserQuestions)(e,n)})),resetData:function(t){(0,t.commit)("resetData")}};e.default={state:o.state,getters:o.getters,actions:c,mutations:o.mutations}},1286:function(t,e,n){"use strict";n.r(e);var r=n(58),o={fetch:function(t,e){var n=t.commit;return Object(r.m)(e).then((function(t){var data=t.data;return n("setSkills",data.data)}))},update:function(t,e){var n=t.dispatch,o=e.username,c=e.skills;return Object(r.s)(o,{skills:c}).then((function(){return n("fetch",o)}))}};e.default={state:function(){return{skills:[]}},actions:o,mutations:{setSkills:function(t,e){t.skills=e}}}},1287:function(t,e,n){"use strict";n.r(e);var r=n(26),o=n(2),c=n(3),l=(n(11),n(31),n(46),n(15),n(13),n(12),n(17),n(18),n(81)),h=n.n(l),d=n(245),f=n.n(d),m=n(8),v=n.n(m),y=n(882),w=n.n(y),_=n(10),k=n(356),O=n(27),x=n(47),C=n(657),j=n(156),S=n(45);function P(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}var T={store:function(t,e){return Object(c.a)(regeneratorRuntime.mark((function n(){var r,o,c,l,h,d,f,m;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.commit,o=e.question,c=e.values,n.next=4,k.postAnswer(o,c).then((function(t){return t.data}));case 4:return l=n.sent,h=l.answer,d=Object(_.a)(h.data,x.a),f=d.entities,m=d.result,r("add",f.answers[m]),r(S.PUT_USERS_TO_STATE,f.users,{root:!0}),n.abrupt("return",{answer:h.data});case 12:case"end":return n.stop()}}),n)})))()},update:function(t,e){return Object(c.a)(regeneratorRuntime.mark((function n(){var r,o,c,l,h;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.commit,o=e.id,c=e.values,n.next=4,k.updateAnswer(o,c).then((function(t){return t.data}));case 4:return l=n.sent,h=l.answer,r("update",f()(h.data,"user")),n.abrupt("return",h.data);case 8:case"end":return n.stop()}}),n)})))()},report:function(t,e){var n=e.id,r=e.values;return Object(C.c)(n,r)},vote:Object(j.a)(O.RateableType.Answer,(function(t,e){return e.byId[t]}),(function(t,e,n){return n("update",function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?P(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):P(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({id:t},e))})),destroy:function(t,e){return Object(c.a)(regeneratorRuntime.mark((function n(){var r,c,l;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.state,c=t.commit,n.next=3,k.deleteAnswer(e);case 3:l=h()(r.byId,{hash_id:e}),c("remove",l.id),c("entities/users/increment",Object(o.a)({},l.user_id,{answers_count:-1}),{root:!0});case 6:case"end":return n.stop()}}),n)})))()}},A={set:function(t,e){t.all=e.all,t.byId=e.byId},add:function(t,e){var n=t;t.all=[].concat(Object(r.a)(n.all),[e.id]),t.byId=v()({},n.byId,Object(o.a)({},e.id,e))},update:function(t,e){var n=v()({},t.byId[e.id],e);t.byId=v()({},t.byId,Object(o.a)({},e.id,n))},remove:function(t,e){t.all=w()(t.all,e),t.byId=f()(t.byId,e)}};e.default={state:function(){return{byId:{},all:[]}},actions:T,mutations:A}},1291:function(t,e,n){"use strict";n.r(e);var r=n(155),o=n.n(r),c=n(49),l=c.getters,h=c.actions,d=c.createMutations({threadKeyName:function(t){return"".concat(t.commentable_type.toLowerCase(),"-").concat(t.commentable_id)}});e.default={state:function(){return o()(c.defaultState)},getters:l,actions:h,mutations:d}},1292:function(t,e,n){"use strict";n.r(e);var r=n(155),o=n.n(r),c=n(49),l=c.getters,h=c.actions,d=c.createMutations();e.default={state:function(){return o()(c.defaultState)},getters:l,actions:h,mutations:d}},1293:function(t,e,n){"use strict";n.r(e);var r=n(95),o=n(48),c={fetch:Object(o.createFetchAction)((function(t){var e=t.tag,n=t.params;return Object(r.getTagFollowers)(e,n)}))};e.default={state:o.state,actions:c,mutations:o.mutations}},1294:function(t,e,n){"use strict";n.r(e);var r=n(95),o=n(73),c={fetch:Object(o.createFetchAction)((function(t){var e=t.tag,n=t.params;return Object(r.getTagQuestions)(e,n)}))};e.default={state:o.state,getters:o.getters,actions:c,mutations:o.mutations}},1295:function(t,e,n){"use strict";n.r(e);var r=n(9),o=n.n(r),c=n(29),l=n.n(c),h=n(10),d=n(658),f=n(117),m=n(53),v={fetch:function(t,e){var n,r,c,m=e.puzzleHashId,v=e.params;return Object(d.c)(m,v).then((r=(n=t).commit,c=n.rootState,function(t){var e=t.data,n=Object(h.a)(e.data,f.postArray),d=n.entities,m=n.result;r("entities/posts/put",d.posts,{root:!0}),r("entities/users/put",d.users,{root:!0}),r("entities/organizations/put",d.organizations,{root:!0}),r("setAllIds",m),r("setPagination",e.meta.pagination),r("setPuzzle",e.meta.puzzle);var v=o()(c,"auth.user.id"),y=l()(d.posts,(function(t){return{is_own:t.user_id===v,commentators:t.commentators,contents_short:t.contents_short,organization:t.organization?d.organizations[t.organization.data]:null}}));r("setPosts",y)}))}};m.mutations.setPuzzle=function(t,e){t.puzzle=e},e.default={state:function(){return{byId:{},all:[],pagination:{},puzzle:null}},getters:m.getters,actions:v,mutations:m.mutations}},1301:function(t,e,n){"use strict";n(664)},1302:function(t,e,n){"use strict";n(665)},1303:function(t,e,n){"use strict";n(666)},135:function(t,e,n){"use strict";n.r(e),n.d(e,"loadUsers",(function(){return l})),n.d(e,"loadOrganizations",(function(){return d}));var r=n(3),o=(n(11),n(10)),c=n(47);function l(t,e){return h.apply(this,arguments)}function h(){return(h=Object(r.a)(regeneratorRuntime.mark((function t(e,n){var r,l,h;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.commit,t.next=3,n;case 3:return l=t.sent,h=Object(o.a)(l,c.f),r("entities/users/put",h.entities.users,{root:!0}),t.abrupt("return",h.result);case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function d(t,e){return f.apply(this,arguments)}function f(){return(f=Object(r.a)(regeneratorRuntime.mark((function t(e,n){var r,l,h;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.commit,t.next=3,n;case 3:return l=t.sent,h=Object(o.a)(l,c.d),r("entities/organizations/put",h.entities.organizations,{root:!0}),t.abrupt("return",h.result);case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},136:function(t,e,n){"use strict";n.r(e),n.d(e,"QUESTION_ENTITIES",(function(){return S})),n.d(e,"PUT_QUESTIONS_TO_STATE",(function(){return P}));var r=n(3),o=n(2),c=(n(11),n(34)),l=n.n(c),h=n(8),d=n.n(h),f=n(35),m=n.n(f),v=n(185),y=n.n(v),w=n(29),_=n.n(w),k=n(36),O=n(91),x=n(27),C=n(156),j=n(204),S="entities/questions",P="entities/questions/put",T={vote:Object(C.a)(x.RateableType.Question,(function(t,e){return e.all[t]}),(function(t,e,n){return n("put",Object(o.a)({},t,e))})),clip:function(t,e){return Object(r.a)(regeneratorRuntime.mark((function n(){var r,c,l,h,d,f,m,v;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.rootGetters,c=t.commit,l=t.state,h=e.id,d=e.value,f=l.all[h],m=Object(k.subscribe)(x.SubscribableType.Question,f.hash_id,d),v=r["auth/isUser"](f.user_id),c("entities/users/increment",Object(o.a)({},f.user_id,{reputation:v?0:d?3:-3}),{root:!0}),c("put",Object(o.a)({},h,{clipped:d,clips_count:f.clips_count+(d?1:-1)})),n.abrupt("return",m);case 8:case"end":return n.stop()}}),n)})))()},clipSingleQuestion:function(t,e){return Object(r.a)(regeneratorRuntime.mark((function n(){var r,c,l,h,d;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.commit,c=e.question,l=e.value,h=e.id,d=Object(k.subscribe)(x.SubscribableType.Question,c.hash_id,l),r("put",Object(o.a)({},h,{clipped:l,clips_count:c.clips_count+(l?1:-1)})),n.abrupt("return",d);case 5:case"end":return n.stop()}}),n)})))()},destroy:function(t,e){return Object(r.a)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.commit,n.abrupt("return",Object(O.deleteQuestion)(e.hash_id).then((function(){r("entities/users/increment",Object(o.a)({},e.user_id,{questions_count:-1}),{root:!0})}
1)));case 2:case"end":return n.stop()}}),n)})))()}},A={put:function(t,e){var data=function(t){return _()(t,(function(t){return l()(t,["id","hash_id","user_id","title","tags","seo","title_slug","solved","accepted_answer_id","points","rated_value","clipped","clips_count","views_count","comments_count","answers_count","created_at","updated_at","canonical_url","uploads","contents","moderation"])}))}(e),n=_()(data,(function(e,n){return t.all[n]})),r=y()({},n,data,(function(t,e){if(m()(t)&&m()(e))return e})),o=d()({},t.all,r);t.all=o}};e.default={state:function(){return{all:{}}},getters:j.a,actions:T,mutations:A}},1381:function(t,e){},139:function(t,e,n){"use strict";n.d(e,"b",(function(){return wh})),n.d(e,"a",(function(){return Nn}));n(15),n(13),n(12),n(17),n(18);var r=n(3),o=n(2),c=(n(11),n(42),n(54),n(31),n(85),n(5)),l=n(7),h=n(263),d=n(484),f=n.n(d),m=n(221),v=n.n(m),y=(n(64),n(485)),w=n(20),_=(n(52),n(84)),k=n(96),O="default",x="layout-subdomains-2",C=function(){return Promise.all([n.e(6),n.e(0),n.e(5),n.e(13)]).then(n.bind(null,2568)).then((function(t){return t.default}))},j=function(){return Promise.all([n.e(6),n.e(0),n.e(5),n.e(13)]).then(n.bind(null,2535)).then((function(t){return t.default}))},S=function(){return Promise.all([n.e(6),n.e(0),n.e(5),n.e(13)]).then(n.bind(null,2569)).then((function(t){return t.default}))},P=function(){return Promise.all([n.e(6),n.e(0),n.e(5),n.e(13)]).then(n.bind(null,2570)).then((function(t){return t.default}))},T=function(){return Promise.all([n.e(6),n.e(0),n.e(5),n.e(13)]).then(n.bind(null,2571)).then((function(t){return t.default}))},A=function(){return Promise.all([n.e(6),n.e(0),n.e(5),n.e(13)]).then(n.bind(null,2572)).then((function(t){return t.default}))},R=function(){return Promise.all([n.e(6),n.e(0),n.e(5),n.e(13)]).then(n.bind(null,2573)).then((function(t){return t.default}))},E=function(){return Promise.all([n.e(6),n.e(0),n.e(5),n.e(13)]).then(n.bind(null,2574)).then((function(t){return t.default}))},D=function(){return Promise.all([n.e(6),n.e(0),n.e(5),n.e(13)]).then(n.bind(null,2531)).then((function(t){return t.default}))},L=function(){return Promise.all([n.e(6),n.e(0),n.e(5),n.e(13)]).then(n.bind(null,2575)).then((function(t){return t.default}))},N=function(){return Promise.all([n.e(6),n.e(0),n.e(5),n.e(13)]).then(n.bind(null,2576)).then((function(t){return t.default}))},$=function(){return Promise.all([n.e(6),n.e(0),n.e(5),n.e(13)]).then(n.bind(null,2518)).then((function(t){return t.default}))},B=function(){return Promise.all([n.e(6),n.e(0),n.e(5),n.e(13)]).then(n.bind(null,2659)).then((function(t){return t.default}))},M=function(){return Promise.all([n.e(6),n.e(0),n.e(5),n.e(13)]).then(n.bind(null,2548)).then((function(t){return t.default}))},I=function(){return Promise.all([n.e(6),n.e(0),n.e(5),n.e(13)]).then(n.bind(null,2537)).then((function(t){return t.default}))},U=function(){return Promise.all([n.e(6),n.e(0),n.e(5),n.e(13)]).then(n.bind(null,2549)).then((function(t){return t.default}))},z=function(){return Promise.all([n.e(6),n.e(0),n.e(5),n.e(13)]).then(n.bind(null,2528)).then((function(t){return t.default}))},V=function(){return Promise.all([n.e(6),n.e(0),n.e(5),n.e(13)]).then(n.bind(null,2538)).then((function(t){return t.default}))},F=function(){return Promise.all([n.e(6),n.e(0),n.e(5),n.e(13)]).then(n.bind(null,2577)).then((function(t){return t.default}))},H=function(){return Promise.all([n.e(6),n.e(0),n.e(5),n.e(13)]).then(n.bind(null,2578)).then((function(t){return t.default}))},Q=function(){return Promise.all([n.e(3),n.e(8),n.e(6),n.e(0),n.e(7)]).then(n.bind(null,2523)).then((function(t){return t.default}))},X=function(){return Promise.all([n.e(3),n.e(8),n.e(6),n.e(0),n.e(7)]).then(n.bind(null,2524)).then((function(t){return t.default}))},G=function(){return Promise.all([n.e(3),n.e(8),n.e(6),n.e(0),n.e(7)]).then(n.bind(null,2526)).then((function(t){return t.default}))},Y=function(){return Promise.all([n.e(0),n.e(5),n.e(1)]).then(n.bind(null,1589)).then((function(t){return t.default}))},W=function(){return Promise.all([n.e(0),n.e(5),n.e(1)]).then(n.bind(null,1579)).then((function(t){return t.default}))},K=function(){return Promise.all([n.e(0),n.e(5),n.e(1)]).then(n.bind(null,1588)).then((function(t){return t.default}))},J=function(){return Promise.all([n.e(0),n.e(5),n.e(1)]).then(n.bind(null,1590)).then((function(t){return t.default}))},Z=function(){return Promise.all([n.e(0),n.e(5),n.e(1)]).then(n.bind(null,1591)).then((function(t){return t.default}))},tt=function(){return Promise.all([n.e(0),n.e(5),n.e(1)]).then(n.bind(null,1592)).then((function(t){return t.default}))},et=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2525)).then((function(t){return t.default}))},nt=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2579)).then((function(t){return t.default}))},ot=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2580)).then((function(t){return t.default}))},it=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2581)).then((function(t){return t.default}))},at=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2582)).then((function(t){return t.default}))},st=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2583)).then((function(t){return t.default}))},ct=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2584)).then((function(t){return t.default}))},ut=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2585)).then((function(t){return t.default}))},lt=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2586)).then((function(t){return t.default}))},ht=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2587)).then((function(t){return t.default}))},pt=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2588)).then((function(t){return t.default}))}
1,ft=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2589)).then((function(t){return t.default}))},mt=function(){return Promise.all([n.e(3),n.e(0),n.e(14)]).then(n.bind(null,2550)).then((function(t){return t.default}))},gt=function(){return Promise.all([n.e(3),n.e(0),n.e(14)]).then(n.bind(null,2590)).then((function(t){return t.default}))},bt=function(){return Promise.all([n.e(3),n.e(0),n.e(14)]).then(n.bind(null,2551)).then((function(t){return t.default}))},vt=function(){return Promise.all([n.e(3),n.e(0),n.e(14)]).then(n.bind(null,2552)).then((function(t){return t.default}))},yt=function(){return Promise.all([n.e(3),n.e(0),n.e(14)]).then(n.bind(null,2591)).then((function(t){return t.default}))},wt=function(){return Promise.all([n.e(3),n.e(0),n.e(14)]).then(n.bind(null,2592)).then((function(t){return t.default}))},_t=function(){return Promise.all([n.e(3),n.e(0),n.e(14)]).then(n.bind(null,2593)).then((function(t){return t.default}))},kt=function(){return Promise.all([n.e(3),n.e(0),n.e(14)]).then(n.bind(null,2594)).then((function(t){return t.default}))},Ot=function(){return Promise.all([n.e(3),n.e(0),n.e(14)]).then(n.bind(null,2595)).then((function(t){return t.default}))},xt=function(){return Promise.all([n.e(3),n.e(0),n.e(14)]).then(n.bind(null,2596)).then((function(t){return t.default}))},Ct=function(){return Promise.all([n.e(3),n.e(0),n.e(14)]).then(n.bind(null,2597)).then((function(t){return t.default}))},jt=function(){return Promise.all([n.e(3),n.e(0),n.e(14)]).then(n.bind(null,2598)).then((function(t){return t.default}))},St=function(){return Promise.all([n.e(3),n.e(0),n.e(14)]).then(n.bind(null,2599)).then((function(t){return t.default}))},Pt=function(){return Promise.all([n.e(3),n.e(0),n.e(14)]).then(n.bind(null,2533)).then((function(t){return t.default}))},Tt=function(){return Promise.all([n.e(3),n.e(0),n.e(14)]).then(n.bind(null,2600)).then((function(t){return t.default}))},At=function(){return Promise.all([n.e(3),n.e(0),n.e(14)]).then(n.bind(null,2601)).then((function(t){return t.default}))},Rt=function(){return Promise.all([n.e(3),n.e(0),n.e(14)]).then(n.bind(null,2602)).then((function(t){return t.default}))},Et=function(){return Promise.all([n.e(3),n.e(0),n.e(14)]).then(n.bind(null,2553)).then((function(t){return t.default}))},Dt=function(){return n.e(1).then(n.bind(null,1580)).then((function(t){return t.default}))},Lt=function(){return n.e(2).then(n.bind(null,1583)).then((function(t){return t.default}))},Nt=function(){return n.e(2).then(n.bind(null,1584)).then((function(t){return t.default}))},$t=function(){return n.e(2).then(n.bind(null,1585)).then((function(t){return t.default}))},Bt=function(){return n.e(2).then(n.bind(null,1586)).then((function(t){return t.default}))},Mt=function(){return n.e(2).then(n.bind(null,1593)).then((function(t){return t.default}))},It=function(){return Promise.all([n.e(3),n.e(9),n.e(6),n.e(0),n.e(15)]).then(n.bind(null,2603)).then((function(t){return t.default}))},qt=function(){return Promise.all([n.e(3),n.e(9),n.e(6),n.e(0),n.e(15)]).then(n.bind(null,2604)).then((function(t){return t.default}))},Ut=function(){return Promise.all([n.e(3),n.e(9),n.e(6),n.e(0),n.e(15)]).then(n.bind(null,2605)).then((function(t){return t.default}))},zt=function(){return Promise.all([n.e(3),n.e(9),n.e(6),n.e(0),n.e(15)]).then(n.bind(null,2606)).then((function(t){return t.default}))},Vt=function(){return Promise.all([n.e(3),n.e(9),n.e(6),n.e(0),n.e(15)]).then(n.bind(null,2607)).then((function(t){return t.default}))},Ft=function(){return Promise.all([n.e(3),n.e(9),n.e(6),n.e(0),n.e(15)]).then(n.bind(null,2608)).then((function(t){return t.default}))},Ht=function(){return Promise.all([n.e(3),n.e(9),n.e(6),n.e(0),n.e(15)]).then(n.bind(null,2609)).then((function(t){return t.default}))},Qt=function(){return Promise.all([n.e(3),n.e(9),n.e(6),n.e(0),n.e(15)]).then(n.bind(null,2610)).then((function(t){return t.default}))},Xt=function(){return Promise.all([n.e(3),n.e(9),n.e(6),n.e(0),n.e(15)]).then(n.bind(null,2539)).then((function(t){return t.default}))},Gt=function(){return n.e(2).then(n.bind(null,1587)).then((function(t){return t.default}))},Yt=function(){return n.e(2).then(n.bind(null,1594)).then((function(t){return t.default}))},Wt=function(){return n.e(2).then(n.bind(null,1595)).then((function(t){return t.default}))},Kt=function(){return n.e(2).then(n.bind(null,1596)).then((function(t){return t.default}))},Jt=function(){return n.e(2).then(n.bind(null,1581)).then((function(t){return t.default}))},Zt=function(){return n.e(0).then(n.bind(null,2611)).then((function(t){return t.default}))},te=function(){return n.e(0).then(n.bind(null,2532)).then((function(t){return t.default}))},ee=function(){return n.e(0).then(n.bind(null,2612)).then((function(t){return t.default}))},ne=function(){return n.e(0).then(n.bind(null,2613)).then((function(t){return t.default}))},re=function(){return n.e(0).then(n.bind(null,2614)).then((function(t){return t.default}))},oe=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2536)).then((function(t){return t.default}))},ie=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2615)).then((function(t){return t.default}))},ae=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2616)).then((function(t){return t.default}))},se=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2617)).then((function(t){return t.default}))},ce=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2618)).then((function(t){return t.default}))},ue=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2619)).then((function(t){return t.default}))},le=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2620)).then((function(t){return t.default}))},he=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2621)).then((function(t){return t.default}))},de=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2622)).then((function(t){return t.default}))},pe=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2623)).then((function(t){return t.default}))},fe=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2624)).then((function(t){return t.default}))},me=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2625)).then((function(t){return t.default}))},ge=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2626)).then((function(t){return t.default}))},be=function(){return Promise.all([n.e(6),n.e(0),n.e(17)]).then(n.bind(null,2554)).then((function(t){return t.default}))},ve=function(){return Promise.all([n.e(6),n.e(0),n.e(17)]).then(n.bind(null,2627)).then((function(t){return t.default}))},ye=function(){return Promise.all([n.e(6),n.e(0),n.e(17)]).then(n.bind(null,2628)).then((function(t){return t.default}))},we=function(){return Promise.all([n.e(6),n.e(0),n.e(17)]).then(n.bind(null,2629)).then((function(t){return t.default}))},_e=function(){return Promise.all([n.e(6),n.e(0),n.e(17)]).then(n.bind(null,2630)).then((function(t){return t.default}))},ke=function(){return Promise.all([n.e(6),n.e(0),n.e(17)]).then(n.bind(null,2631)).then((function(t){return t.default}))},Oe=function(){return Promise.all([n.e(6),n.e(0),n.e(17)]).then(n.bind(null,2555)).then((function(t){return t.default}))},xe=function(){return Promise.all([n.e(6),n.e(0),n.e(17)]).then(n.bind(null,2632)).then((function(t){return t.default}))},Ce=function(){return Promise.all([n.e(4),n.e(7)]).then(n.bind(null,2527)).then((function(t){return t.default}))},je=function(){return n.e(1).then(n.bind(null,1582)).then((function(t){return t.default}))},Se=function(){return Promise.all([n.e(0),n.e(5),n.e(1)]).then(n.bind(null,1597)).then((function(t){return t.default}))},Pe=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2529)).then((function(t){return t.default}))},Te=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2556)).then((function(t){return t.default}))},Ae=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2540)).then((function(t){return t.default}))},Re=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2633)).then((function(t){return t.default}))},Ee=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2634)).then((function(t){return t.default}))},De=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2635)).then((function(t){return t.default}))},Le=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2636)).then((function(t){return t.default}))},Ne=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2637)).then((function(t){return t.default}))},$e=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2545)).then((function(t){return t.default}))},Be=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2638)).then((function(t){return t.default}))},Me=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2639)).then((function(t){return t.default}))},Ie=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2640)).then((function(t){return t.default}))},qe=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2534)).then((function(t){return t.default}))},Ue=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2641)).then((function(t){return t.default}))},ze=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2557)).then((function(t){return t.default}))},Ve=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2642)).then((function(t){return t.default}))},Fe=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2541)).then((function(t){return t.default}))},He=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2643)).then((function(t){return t.default}))},Qe=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2644)).then((function(t){return t.default}))},Xe=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2558)).then((function(t){return t.default}))},Ge=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2645)).then((function(t){return t.default}))},Ye=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2646
1)).then((function(t){return t.default}))},We=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2559)).then((function(t){return t.default}))},Ke=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2647)).then((function(t){return t.default}))},Je=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2542)).then((function(t){return t.default}))},Ze=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2648)).then((function(t){return t.default}))},tn=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2543)).then((function(t){return t.default}))},en=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2560)).then((function(t){return t.default}))},nn=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2530)).then((function(t){return t.default}))},rn=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2649)).then((function(t){return t.default}))},on=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2561)).then((function(t){return t.default}))},an=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2650)).then((function(t){return t.default}))},sn=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2651)).then((function(t){return t.default}))},cn=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2652)).then((function(t){return t.default}))},un=function(){return Promise.all([n.e(3),n.e(9),n.e(10),n.e(0)]).then(n.bind(null,2562)).then((function(t){return t.default}))},ln=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2563)).then((function(t){return t.default}))},hn=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2546)).then((function(t){return t.default}))},dn=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2653)).then((function(t){return t.default}))},pn=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2654)).then((function(t){return t.default}))},fn=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2564)).then((function(t){return t.default}))},mn=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2565)).then((function(t){return t.default}))},gn=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2655)).then((function(t){return t.default}))},bn=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2547)).then((function(t){return t.default}))},vn=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2566)).then((function(t){return t.default}))},yn=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2656)).then((function(t){return t.default}))},wn=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2544)).then((function(t){return t.default}))},_n=function(){return Promise.all([n.e(3),n.e(8),n.e(10),n.e(0),n.e(5)]).then(n.bind(null,2567)).then((function(t){return t.default}))};c.default.use(y.a),window.history.scrollRestoration="manual";var kn=function(t,e,n){var r=!1;(t.matched.length<2||t.matched.some((function(t){return t.components.default.options.scrollToTop})))&&(r={x:0,y:0}),n&&(r=n);try{if(t.hash&&document.querySelector(t.hash))return{selector:t.hash}}catch(t){t instanceof DOMException&&console.warn(t.message)}return r};function On(){return(On=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,r,o,c,l,h,d,f,m,v;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=[],c=null,l=O,r=Object(w.e)(window.document.cookie,"is_special_subdomain"),o="organization"===r,c="profile"===r,h=window.location.host,d=Object(w.d)(h),!o){t.next=16;break}return t.next=12,Object(_.e)(d).then((function(t){return t.data}));case 12:f=t.sent,l=f.layout?f.layout:O,t.next=22;break;case 16:if(!c){t.next=22;break}return t.next=19,Object(k.getProfile)(d);case 19:m=t.sent,v=m.data,l=v.layout?v.layout:O;case 22:return n=o&&l===O?[{path:"/",component:qe,children:[{path:"",component:Ue},{path:"videos",component:ze},{path:"submissions",component:Ve},{path:"members",component:Fe},{path:"followers",component:He},{path:"info",component:Qe},{path:"info/edit",component:Xe},{path:"info/website-verify",component:Ge},{path:"invitations",component:Ye},{name:"OrganizationStatsOverview",path:"/stats",component:Ke},{name:"OrganizationStatsContribution",path:"/stats/contribution",component:We}]},{name:"detail-post",path:"/p/:post",component:Q}]:o&&l===x?[{path:"/",component:Je,children:[{path:"",component:Ze},{path:"members",component:tn},{path:"followers",component:en},{path:"invitations",component:nn},{name:"OrganizationStatsOverview",path:"/stats",component:rn},{name:"OrganizationStatsContribution",path:"/stats/contribution",component:on},{path:"videos",component:an},{path:"submissions",component:sn},{path:"info",component:cn},{path:"info/edit",component:un}]},{name:"detail-post",path:"/p/:post",component:Q}]:c&&l===O?[{path:"/",component:Pe,children:[{path:"",component:Te},{path:"series",component:Ae},{path:"questions",component:Re},{path:"clips/:clip",component:Ee},{path:"following",component:De},{path:"following/organizations",component:Le},{path:"followers",component:Ne},{path:"following-tags",component:$e},{path:"reputations",component:Be},{path:"answers",component:Me},{path:"contact",component:Ie}]},{name:"detail-post",path:"/p/:post",component:Q},{path:"/s/:hashId",component:G},{path:"/q/:question",component:X}]:c&&l===x?[{path:"/",component:ln,children:[{path:"",component:hn},{path:"following",component:dn},{path:"followers",component:pn},{path:"following/organizations",component:fn},{path:"answers",component:mn},{path:"following-tags",component:bn},{path:"series",component:gn},{path:"questions",component:vn},{path:"reputations",component:yn},{path:"contact",component:wn},{path:"clips/:clip",component:_n}]},{name:"detail-post",path:"/p/:post",component:Q},{path:"/s/:hashId",component:G},{path:"/q/:question",component:X}]:[{path:"/",component:j,children:[{path:"mayfest2026",component:S},{path:"newest",component:P},{path:"editors-choice",component:T},{path:"",component:P},{path:"/followings",component:R},{path:"trending",component:A},{path:"clip/:clip?",component:E},{path:"announcements",component:ye},{path:"series",component:L},{path:"videos",component:N},{path:"/write-ups/:puzzle",component:Se},{path:"content-creator",component:D}]},{path:"/me",redirect:"/me/posts/drafts",component:mt,children:[{path:"/me/posts",redirect:"/me/posts/drafts"},{path:"posts/drafts",component:gt},{path:"posts/public",component:yt},{path:"posts/unlisted",component:wt},{path:"posts/spam",component:_t},{path:"posts/not-ready",component:kt},{path:"posts/scheduled",component:Ot},{path:"answer-requests/received",component:xt},{path:"answer-requests/sent-history",component:Ct},{path:"gallery",component:jt},{path:"technical-skills",component:St},{path:"series",component:Pt},{path:"answers",component:bt},{path:"questions",component:vt},{path:"clips",redirect:"/me/clips/posts"},{path:"clips/posts",component:Tt},{path:"clips/questions",component:At},{path:"clips/series",component:Rt},{path:"violations",component:Et}]},{path:"/o/:organization",component:oe,children:[{path:"",component:ce},{path:"videos",component:ue},{path:"submissions",component:le},{path:"members",component:de},{path:"followers",component:he},{path:"info",component:ie},{path:"info/edit",component:ae},{path:"info/website-verify",component:se},{path:"invitations",component:ge}]},{path:"/o/:organization/stats",component:pe,children:[{name:"OrganizationStatsOverview",path:"",component:fe},{name:"OrganizationStatsContribution",path:"contribution",component:me}]},{path:"/questions",component:B},{path:"/questions/:feed(unsolved|followings|clips)",component:$},{path:"/discussion",component:I},{path:"/organizations",component:M},{path:"/authors",component:U},{path:"/search",component:z},{path:"/explore",component:V},{path:"/explore/authors",component:F},{path:"/explore/tags",component:H},{name:"detail-post",path:"/p/:post",component:Q},{path:"/q/:question",component:X},{path:"/s/:hashId",component:G},{path:"/tags",component:Y},{path:"/tags/:tag",component:W,children:[{path:"",component:K},{path:"questions",component:J},{path:"series",component:Z},{path:"followers",component:tt}]},{path:"/u/:user",component:et,children:[{path:"",component:it},{path:"series",component:ot},{path:"questions",component:at},{path:"clips/:clip",component:st},{path:"following",component:ct},{path:"following/organizations",component:ut},{path:"followers",component:lt},{path:"following-tags",component:ht},{path:"reputations",component:nt},{path:"answers",component:pt},{path:"contact",component:ft}]},{name:"write-post",path:"/publish/post",component:It},{path:"/publish/series",component:zt},{path:"/publish/video",component:Ut},{path:"/questions/ask",component:qt},{path:"/posts/:post/edit",component:Vt},{path:"/posts/:post/settings/seo",component:Ft},{path:"/videos/:video/edit",component:Ht},{path:"/questions/:hashId/edit",component:Qt},{path:"/series/:hashId/edit",component:Xt},{path:"/settings",component:Gt,children:[{path:"",component:Wt},{path:"notifications",component:Yt},{path:"appearances",component:Wt},{path:"webhooks",component:Jt}]},{path:"/me/organizations",component:Zt,children:[{path:"",component:te},{path:"followings",component:ee}]},{path:"/me/organizations/create",component:re},{path:"/o/:organization/invites/:user",component:ne},{path:"/notifications",component:Kt},{path:"/get-started",component:C},{path:"/helps",component:be},{path:"/helps/:post",component:ve},{path:"/announcements/:post",component:we},{path:"/faq",component:_e},{path:"/rss-channels",component:Oe},{path:"/feedback",component:ke},{path:"/terms",redirect:"/terms/vi_term",component:xe},{path:"/terms/:locale",component:xe},{path:"/survey/:token",component:Ce},{path:"/:username/unsubscribe/mail-channel",component:je},{path:"/me/activities",component:Dt},{path:"/review-contents",redirect:"/review-contents/social-shares/drafts",component:Lt,children:[{path:"social-shares",redirect:"/review-contents/social-shares/drafts"},{path:"social-shares/drafts",component:$t},{path:"social-shares/scheduled",component:Bt},{path:"social-shares/published",component:Mt},{path:"posts-spam",component:Nt}]}],t.abrupt("return",new y.a({mode:"history",fallback:!1,base:"/",linkActiveClass:"active",linkExactActiveClass:"nuxt-link-exact-active",scrollBehavior:kn,routes:n}));case 24:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function xn(t,e){return function(t){return On.apply(this,arguments)}
1(t,null,null,e)}var Cn={name:"NuxtChild",functional:!0,props:{nuxtChildKey:{type:String,default:""},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0}},render:function(t,e){var n=e.parent,data=e.data,r=e.props,o=n.$createElement;data.nuxtChild=!0;for(var c=n,l=n.$nuxt.nuxt.transitions,h=n.$nuxt.nuxt.defaultTransition,d=0;n;)n.$vnode&&n.$vnode.data.nuxtChild&&d++,n=n.$parent;data.nuxtChildDepth=d;var f=l[d]||h,m={};jn.forEach((function(t){void 0!==f[t]&&(m[t]=f[t])}));var v={};Sn.forEach((function(t){"function"==typeof f[t]&&(v[t]=f[t].bind(c))}));var y=v.beforeEnter;if(v.beforeEnter=function(t){if(window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")})),y)return y.call(c,t)},!1===f.css){var w=v.leave;(!w||w.length<2)&&(v.leave=function(t,e){w&&w.call(c,t),c.$nextTick(e)})}var _=o("routerView",data);return r.keepAlive&&(_=o("keep-alive",{props:r.keepAliveProps},[_])),o("transition",{props:m,on:v},[_])}},jn=["name","mode","appear","css","type","duration","enterClass","leaveClass","appearClass","enterActiveClass","enterActiveClass","leaveActiveClass","appearActiveClass","enterToClass","leaveToClass","appearToClass"],Sn=["beforeEnter","enter","afterEnter","enterCancelled","beforeLeave","leave","afterLeave","leaveCancelled","beforeAppear","appear","afterAppear","appearCancelled"],Pn=n(9),Tn=n.n(Pn),An=n(344),Rn=n.n(An),En=n(19);var Dn={name:"error",props:["error"],computed:{appName:function(){return"Viblo"},title:function(){if(this.error.customMessage)return"".concat(this.error.statusCode," - ").concat(this.error.customMessage);switch(this.error.statusCode){case 403:return this.$t("pageError.error403.status");default:return this.$t("pageError.error404.status")}},subTitle:function(){return 503===this.error.statusCode?this.$t("pageError.error503"):this.$t("pageError.error404.title")},isForbiddenReadWriteup:function(){return!!Rn()(this.error.response,"data.puzzle_hash_id")},linkPuzzleCTF:function(){var t=Tn()(this.error.response,"data.puzzle_hash_id");return Object(En.p)(t)},exceptionName:function(){var t=this.error,e=t.response,n=t.name;if(!e)return"JavaScript::".concat(n||"Error");var r=Tn()(e,"data.name");if(r)return"SPA::".concat(r);var o=Tn()(e,"data.error.type");return"API::".concat(o||"Exception")}},mounted:function(){500===this.error.statusCode&&this.$gtag.event("server_error",{eventCategory:"Server Error",eventLabel:this.$route.fullPath,nonInteraction:!0})}},Ln=(n(1133),n(1)),Nn=Object(Ln.a)(Dn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"container"},[n("div",{staticClass:"panel"},[n("div",{staticClass:"panel-heading"},[n("nuxt-link",{staticClass:"logo",attrs:{to:"/"}},[t._v("\n                "+t._s(t.appName)+"\n            ")]),t._v("\n            "+t._s(t.subTitle)+"\n        ")],1),t._v(" "),n("div",{staticClass:"panel-body"},[n("div",{staticClass:"title"},[t._v("\n                "+t._s(t.title)+"\n            ")])]),t._v(" "),t.isForbiddenReadWriteup?n("div",{staticClass:"panel-footering"},[n("div",{staticClass:"title-down"},[t._v("\n                "+t._s(t.$t("pageError.error403.content1"))+"\n                "),n("a",{attrs:{href:t.linkPuzzleCTF,target:"_blank"}},[t._v(" "+t._s(t.$t("pageError.error403.content2"))+" ")]),t._v("\n                "+t._s(t.$t("pageError.error403.content3"))+"\n            ")])]):t._e()])])}),[],!1,null,"d1aa3b4e",null).exports,$n=n(32),Bn=(n(166),n(167),n(21)),Mn={name:"Nuxt",components:{NuxtChild:Cn,NuxtError:Nn},props:{nuxtChildKey:{type:String,default:void 0},keepAlive:Boolean,keepAliveProps:{type:Object,default:void 0},name:{type:String,default:"default"}},errorCaptured:function(t){this.displayingNuxtError&&(this.errorFromNuxtError=t,this.$forceUpdate())},computed:{routerViewKey:function(){if(void 0!==this.nuxtChildKey||this.$route.matched.length>1)return this.nuxtChildKey||Object(Bn.c)(this.$route.matched[0].path)(this.$route.params);var t=Object($n.a)(this.$route.matched,1)[0];if(!t)return this.$route.path;var e=t.components.default;if(e&&e.options){var n=e.options;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:function(){c.default.util.defineReactive(this,"nuxt",this.$root.$options.nuxt)},render:function(t){var e=this;return this.nuxt.err?this.errorFromNuxtError?(this.$nextTick((function(){return e.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((function(){return e.displayingNuxtError=!1})),t(Nn,{props:{error:this.nuxt.err}})):t("NuxtChild",{key:this.routerViewKey,props:this.$props})}},In=(n(60),n(118),n(66),n(46),n(486)),qn=n.n(In),Un={data:function(){return{percent:0,show:!1,canSuccess:!0,height:"2px",color:"#5488c7",failedColor:"red"}},methods:{start:function(){var t=this;return this.show=!0,this.canSuccess=!0,this._timer&&(clearInterval(this._timer),this.percent=0),this._cut=5,this._timer=setInterval((function(){t.increase(t._cut*Math.random())}),100),this},set:function(t){return this.show=!0,this.canSuccess=!0,this.percent=Math.floor(t),this},get:function(){return Math.floor(this.percent)}
1,increase:function(t){return this.percent=qn()(this.percent+Math.floor(t),0,98),this},decrease:function(t){return this.percent=qn()(this.percent-Math.floor(t),0,98),this},finish:function(){return this.percent=100,this.hide(),this},pause:function(){return clearInterval(this._timer),this},hide:function(){var t=this;return clearInterval(this._timer),this._timer=null,setTimeout((function(){t.show=!1,t.$root.$nextTick((function(){setTimeout((function(){t.percent=0}),200)}))}),500),this},fail:function(){return this.canSuccess=!1,this}}},zn=(n(1134),Object(Ln.a)(Un,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"progress",style:{width:t.percent+"%",height:t.height,"background-color":t.canSuccess?t.color:t.failedColor,opacity:t.show?1:0}})}),[],!1,null,"4e3e2ebc",null).exports),Vn=(n(1135),n(1136),n(1137),n(1138),n(1139),n(1140),Object(Ln.a)({},(function(){var t=this.$createElement,e=this._self._c||t;return e("v-container",{staticClass:"layout--blank h-100 py-2"},[e("nuxt")],1)}),[],!1,null,null,null).exports),Fn={data:function(){return{offlineAlertInstance:null}},watch:{"$nuxt.isOffline":function(t){this.handleNetworkStatusChange(t)}},methods:{handleNetworkStatusChange:function(t){var e=this;t?this.offlineAlertInstance=this.$notify({showClose:!0,message:this.$t("pwa.offline_warning"),type:"error",duration:0,position:"bottom-left",customClass:"el-alert--error is-light",onClose:function(){e.offlineAlertInstance=null}}):this.offlineAlertInstance&&this.offlineAlertInstance.close()}},mounted:function(){this.handleNetworkStatusChange(this.$nuxt.isOffline)}},Hn=n(58);function Qn(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Xn(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?Qn(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):Qn(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var Gn={computed:Xn(Xn(Xn(Xn(Xn({},Object(l.e)("auth",["guest"])),Object(l.e)({newQuestionsCount:function(t){return Tn()(t,"badges.items.questions-newest",0)}})),Object(l.e)("vueTour",["step2"])),Object(l.e)("config",["vars"])),{},{isSubdomain:function(){return this.vars.is_special_organization||this.vars.is_special_profile}}),methods:{toAppUrl:En.n}},Yn=(n(1141),Object(Ln.a)(Gn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ul",{staticClass:"main-menu list-unstyled"},[n("li",{staticClass:"main-menu__item"},[t.guest?n("nuxt-link",{staticClass:"link",attrs:{to:"/newest",exact:""}},[t._v("\n            "+t._s(t.$t("mainNavbar.mainMenu.posts"))+"\n        ")]):n("span",[t.isSubdomain?n("a",{staticClass:"link",attrs:{href:t.toAppUrl("/"),exact:""}},[t._v("\n                "+t._s(t.$t("mainNavbar.mainMenu.posts"))+"\n            ")]):n("nuxt-link",{staticClass:"link",attrs:{to:"/",exact:""}},[t._v("\n                "+t._s(t.$t("mainNavbar.mainMenu.posts"))+"\n            ")])],1)],1),t._v(" "),n("li",{staticClass:"main-menu__item",class:{"border-tour":t.step2},attrs:{id:"v-step-2"}},[n("div",{class:[t.step2?"pulse main-menu__vue-tour":""]},[t.isSubdomain?n("a",{staticClass:"link",attrs:{href:t.toAppUrl("/questions"),exact:""}},[n("el-badge",{staticClass:"badge-has-new",attrs:{"is-dot":!!t.newQuestionsCount}},[t._v("\n                    "+t._s(t.$t("mainNavbar.mainMenu.questions"))+"\n                ")])],1):n("nuxt-link",{staticClass:"link",attrs:{to:"/questions",exact:""}},[n("el-badge",{staticClass:"badge-has-new",attrs:{"is-dot":!!t.newQuestionsCount}},[t._v("\n                    "+t._s(t.$t("mainNavbar.mainMenu.questions"))+"\n                ")])],1)],1)]),t._v(" "),n("li",{staticClass:"main-menu__item"},[n("nuxt-link",{staticClass:"link",attrs:{to:"/discussion",exact:""}},[t._v("\n            "+t._s(t.$t("mainNavbar.mainMenu.discussions"))+"\n        ")])],1)])}
1),[],!1,null,null,null).exports);function Wn(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Kn(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?Wn(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):Wn(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var Jn={components:{UserMenu:n(937).a},computed:Kn(Kn(Kn(Kn({},Object(l.e)("auth",["user"])),Object(l.c)("auth",["hasRole","authenticated","isAdmin","isUser","isSocialMediaEditor","isSpamReviewer"])),Object(l.e)("vueTour",["step0"])),{},{permissions:function(){var t=this.isAdmin,e=this.isSpamReviewer,n=this.hasRole("collaborator"),r=this.hasRole("editor");return{canModeration:n||t||r||e}}}),methods:Kn(Kn({},Object(l.b)("auth",["showAuthDialog"])),{},{toUser:En.q,openMenu:function(){this.$refs.menu.open()},closeMenu:function(){this.$refs.menu.close()}})},Zn=(n(1147),Object(Ln.a)(Jn,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return null===t.user?n("el-button",{attrs:{type:"text",icon:"fa fa-sign-in"},on:{click:t.showAuthDialog}},[t._v("\n    "+t._s(t.$t("mainNavbar.userMenu.login"))+"\n")]):n("UserMenu",{ref:"menu",attrs:{profile:t.user,service:"viblo"}},[n("template",{slot:"menu"},[n("div",{staticClass:"user-menu__menu-item"},[n("nuxt-link",{staticClass:"link link--plain",attrs:{to:t.toUser(t.user)},nativeOn:{click:function(e){return t.$refs.menu.close()}}},[n("i",{staticClass:"fa fa-user"}),t._v(" "+t._s(t.$t("mainNavbar.userMenu.profile"))+"\n            ")])],1),t._v(" "),n("div",{staticClass:"user-menu__menu-item"},[n("nuxt-link",{staticClass:"link link--plain",attrs:{to:"/me/posts/drafts"},nativeOn:{click:function(e){return t.$refs.menu.close()}}},[n("i",{staticClass:"fa fa-file-text-o"}),t._v(" "+t._s(t.$t("mainNavbar.userMenu.myContents"))+"\n            ")])],1),t._v(" "),t.permissions.canModeration||t.isSocialMediaEditor||t.isAdmin?n("div",{staticClass:"user-menu__menu-item"},[n("nuxt-link",{staticClass:"link link--plain",attrs:{to:t.isSocialMediaEditor?"/review-contents":"/review-contents/posts-spam"},nativeOn:{click:function(e){return t.$refs.menu.close()}}},[n("i",{staticClass:"fa fa-handshake-o"}),t._v(" "+t._s(t.$t("mainNavbar.userMenu.reviewContents"))+"\n            ")])],1):t._e(),t._v(" "),n("div",{staticClass:"user-menu__menu-item"},[n("nuxt-link",{staticClass:"link link--plain",attrs:{to:"/me/activities"},nativeOn:{click:function(e){return t.$refs.menu.close()}}},[n("i",{staticClass:"fa fa-history"}),t._v(" "+t._s(t.$t("mainNavbar.userMenu.myActivities"))+"\n            ")])],1),t._v(" "),n("div",{staticClass:"user-menu__menu-item"},[n("nuxt-link",{staticClass:"link link--plain",attrs:{to:"/me/organizations"},nativeOn:{click:function(e){return t.$refs.menu.close()}}},[n("i",{staticClass:"fa fa-building"}),t._v(" "+t._s(t.$t("mainNavbar.userMenu.organizations"))+"\n            ")])],1),t._v(" "),n("div",{staticClass:"user-menu__menu-item",class:{"show-tour-step0":t.step0},attrs:{id:"v-step-0"}},[n("nuxt-link",{staticClass:"link link--plain",class:{pulse:t.step0},attrs:{to:"/settings/appearances"},nativeOn:{click:function(e){return t.$refs.menu.close()}}},[n("i",{staticClass:"fa fa-cog"}),t._v(" "+t._s(t.$t("mainNavbar.userMenu.preferences"))+"\n            ")])],1),t._v(" "),t.user.is_admin?n("div",{staticClass:"user-menu__menu-item"},[n("a",{staticClass:"link link--plain",attrs:{href:"/admin",target:"_blank",rel:"noopener"},on:{click:function(e){return t.$refs.menu.close()}}},[n("i",{staticClass:"fa fa-tachometer"}),t._v(" "+t._s(t.$t("mainNavbar.userMenu.adminDashboard"))+"\n            ")])]):t._e(),t._v(" "),t.step0?n("div",{staticClass:"background-menu"}):t._e()])],2)}),[],!1,null,null,null).exports),er=n(55),nr=n.n(er);function rr(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function or(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?rr(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):rr(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var ir={computed:or(or({},Object(l.e)("auth",["user","roles"])),{},{canCreateVideo:function(){return this.user&&(this.user.is_admin||nr()(this.roles,"video-editor"))}})},ar=Object(Ln.a)(ir,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-dropdown",{attrs:{trigger:"click",size:"medium"}},[n("el-button",{directives:[{name:"tooltip",rawName:"v-tooltip"}],staticClass:"text-muted py-0",staticStyle:{"font-size":"1.2rem"},attrs:{title:t.$t("mainNavbar.writeMenu.title"),type:"text",icon:"el-icon-edit"}}),t._v(" "),n("el-dropdown-menu",{staticClass:"publish-dropdown el-dropdown-menu--wide",attrs:{slot:"dropdown"},slot:"dropdown"},[n("el-dropdown-item",[n("nuxt-link",{staticClass:"link link--plain",attrs:{to:"/publish/post"}},[n("i",{staticClass:"fa fa-pencil mr-05"}),t._v(" "+t._s(t.$t("mainNavbar.writeMenu.writePost"))+"\n            ")])],1),t._v(" "),n("el-dropdown-item",{attrs:{divided:""}},[n("nuxt-link",{staticClass:"link link--plain",attrs:{to:"/publish/series"}},[n("i",{staticClass:"fa fa-list-ul mr-05"}),t._v(" "+t._s(t.$t("mainNavbar.writeMenu.newSeries"))+"\n            ")])],1),t._v(" "),n("el-dropdown-item",{attrs:{divided:""}},[n("nuxt-link",{staticClass:"link link--plain",attrs:{to:"/questions/ask"}},[n("i",{staticClass:"fa fa-question-circle mr-05"}),t._v(" "+t._s(t.$t("mainNavbar.writeMenu.askQuestion"))+"\n            ")])],1),t._v(" "),t.canCreateVideo?[n("el-dropdown-item",{attrs:{divided:""}},[n("nuxt-link",{staticClass:"link link--plain",attrs:{to:"/publish/video"}},[n("i",{staticClass:"fa fa-play-circle mr-05"}),t._v(" "+t._s(t.$t("mainNavbar.writeMenu.newVideo"))+"\n                ")])],1)]:t._e()],2)],1)}),[],!1,null,null,null).exports,sr=n(273),cr=n(505),ur=n.n(cr),lr=n(29),dr=n.n(lr),pr=n(86),fr=n.n(pr),map=n(131),mr=n.n(map),gr=n(874),vr=n.n(gr),yr=n(875),wr=n.n(yr),_r=n(511),kr=n(226),Or=n(606),xr=(n(63),n(38)),Cr=n.n(xr),jr=n(37),Sr={props:{item:Object},computed:{to:function(){return Object(jr.i)(this.item)}}},Pr=(n(1172),Object(Ln.a)(Sr,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nuxt-link",{staticClass:"link d-block",attrs:{to:t.to}},[n("div",{staticClass:"suggestion-has-image"},[n("div",{staticClass:"suggestion-image"},[n("img",{attrs:{alt:t.item.name,src:t.item.image}})]),t._v(" "),n("div",[n("h6",{staticClass:"font-weight-bold mb-0 suggestion-identifier"},[t._v("\n                "+t._s(t.item.name)+"\n            ")]),t._v(" "),n("div",{staticClass:"suggestion-stats text-muted"},[n("p",{staticClass:"mr-1 mb-0"},[t._v("\n                    "+t._s(t.$t("search.suggestions.tags.followers"))+": "),n("strong",[t._v(t._s(t.item.followers_count))])]),t._v(" "),n("p",{staticClass:"mb-0"},[t._v("\n                    "+t._s(t.$t("search.suggestions.tags.posts"))+": "),n("strong",[t._v(t._s(t.item.posts_count))])])])])])])}),[],!1,null,null,null).exports),Tr={props:{item:Object},methods:{routeToPost:jr.f,hasHighlight:function(t,e){return t&&!Cr()(t[e])},previewContents:function(t){return"".concat(t.substr(0,120),"...")}}},Ar=Object(Ln.a)(Tr,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nuxt-link",{staticClass:"link d-block",attrs:{to:t.routeToPost(t.item)}},[n("div",[n("h6",{staticClass:"font-weight-bold mb-0 suggestion-identifier"},[t.hasHighlight(t.item.highlights,"title")?n("div",{domProps:{innerHTML:t._s(t.item.highlights.title[0])}}):n("div",[t._v("\n                "+t._s(t.item.title)+"\n            ")])]),t._v(" "),n("div",[n("span",{staticClass:"text-primary"},[t._v(t._s(t.item.user.data.name)+" ")]),t._v(" "),n("span",{staticClass:"text-muted"},[t._v("\n                "+t._s(t.$t("search.suggestions.posts.posted"))+"\n                "+t._s(t._f("formatTime")(t.item.published_at))+"\n            ")])]),t._v(" "),n("div",{staticClass:"text-dark"},[t.hasHighlight(t.item.highlights,"contents")?n("div",{domProps:{innerHTML:t._s("..."+t.item.highlights.contents[0]+"...")}}):n("div",[t._v("\n                "+t._s(t.previewContents(t.item.teaser))+"\n            ")])])])])}),[],!1,null,null,null).exports,Rr={components:{Avatar:n(271).a},props:{item:Object},computed:{profilePage:function(){return Object(jr.j)(this.item)}}},Er=Object(Ln.a)(Rr,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nuxt-link",{staticClass:"link d-block",attrs:{to:t.profilePage}},[n("div",{staticClass:"suggestion-has-image"},[n("div",{staticClass:"suggestion-image"},[n("avatar",{attrs:{image:t.item.avatar,username:t.item.username,size:"md"}})],1),t._v(" "),n("div",[n("h6",{staticClass:"font-weight-bold mb-0 suggestion-identifier"},[t._v("\n                "+t._s(t.item.name)+" "),n("span",{staticClass:"text-muted"},[t._v("@"+t._s(t.item.username))])]),t._v(" "),n("div",{staticClass:"suggestion-stats text-muted"},[n("p",{staticClass:"mr-1 mb-0"},[t._v("\n                    "+t._s(t.$t("search.suggestions.users.followers"))+" "),n("strong",[t._v(t._s(t.item.followers_count))])]),t._v(" "),n("p",{staticClass:"mb-0"},[t._v("\n                    "+t._s(t.$t("search.suggestions.users.posts"))+" "),n("strong",[t._v(t._s(t.item.posts_count))])])])])])])}),[],!1,null,null,null).exports,Dr={props:{item:Object},methods:{routeToQuestion:jr.g,hasHighlight:function(t,e){return t&&!Cr()(t[e])},previewContents:function(t){return"".concat(t.substr(0,120),"...")}}},Lr=Object(Ln.a)(Dr,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nuxt-link",{staticClass:"link d-block",attrs:{to:t.routeToQuestion(t.item)}},[n("div",[n("h6",{staticClass:"font-weight-bold mb-0 suggestion-identifier"},[t.hasHighlight(t.item.highlights,"title")?n("div",{domProps:{innerHTML:t._s(t.item.highlights.title[0])}}):n("div",[t._v("\n                "+t._s(t.item.title)+"\n            ")])]),t._v(" "),n("div",[n("span",{staticClass:"text-primary"},[t._v(t._s(t.item.user.data.name)+" ")]),t._v(" "),n("span",{staticClass:"text-muted"},[t._v("\n                "+t._s(t.$t("search.suggestions.questions.asked"))+"\n                "+t._s(t._f("formatTime")(t.item.created_at))+"\n            ")])]),t._v(" "),n("div",{staticClass:"text-dark"},[t.hasHighlight(t.item.highlights,"contents")?n("div",{domProps:{innerHTML:t._s("..."+t.item.highlights.contents[0]+"...")}}):n("div",[t._v("\n                "+t._s(t.previewContents(t.item.contents_short))+"\n            ")])])])])}),[],!1,null,null,null).exports,Nr={props:{items:Object,highlight:{type:Number,default:-1}},watch:{highlight:function(t){if(-1!==t){var e=this.$el.querySelectorAll("li.sb__suggestions-item")[t];e&&e.firstChild.focus()}}},methods:{renderGroup:function(t,e,data){var n=this,r=this.$createElement;if(Cr()(data))return null;var o=data.map((function(t,o){return r("li",{class:"sb__suggestions-item"},[r(e,{attrs:{item:t},nativeOn:{click:n.$emit.bind(n,"suggestion-picked",o,data.length,t)}})])}));return r("div",{class:"sb__suggestions-group"},[r("header",{class:"sb__suggestions-group__name"},[t]),r("ul",{class:"sb__suggestions-list"},[o])])}},render:function(){var t=arguments[0],e=this.items||{},n=e.posts,r=e.questions,o=e.users,c=e.tags;return t("div",[this.renderGroup(this.$t("search.posts"),Ar,n),this.renderGroup(this.$t("search.questions"),Lr,r),this.renderGroup(this.$t("search.authors"),Er,o),this.renderGroup(this.$t("search.tags"),Pr,c)])}};n(1175);function $r(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Br(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?$r(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):$r(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var Mr={components:{Suggestions:Object(Ln.a)(Nr,undefined,undefined,!1,null,null,null).exports},mixins:[sr.mixin],data:function(){return{state:{input:"",show:!1,loading:!1,highlight:-1},items:null}},computed:Br(Br(Br({},Object(l.c)("auth",["userId"])),Object(l.e)({postIds:function(t){return Tn()(t,["postHomeFeed","all"])}})),{},{noResults:function(){return this.state.input&&0===this.resultsCount},resultsCount:function(){return fr()(mr()(wr.a),vr.a)(this.items)},debouncedFetch:function(){return ur()(this.fetchResults,800)}}),mounted:function(){this.$_searchTracking=Object(Or.a)("quick_search",this.userId)},methods:{fetchResults:function(t){var e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(t){n.next=3;break}return e.cancelFetch(),n.abrupt("return");case 3:return n.prev=3,e.state.loading=!0,n.next=7,Object(_r.a)(t);case 7:r=n.sent,e.items=dr()(r.results,(function(t){return t.data})),n.next=14;break;case 11:n.prev=11,n.t0=n.catch(3),e.items=null;case 14:return n.prev=14,e.state.show=!0,e.state.loading=!1,n.finish(14);case 18:case"end":return n.stop()}}),n,null,[[3,11,14,18]])})))()},toSearchPage:function(q){this.cancelFetch(),"/search"===this.$route.path&&this.$route.query.q===q||this.$router.push({path:"/search",query:{q:q}})},cancelFetch:function(){this.debouncedFetch.cancel(),this.hideSuggestions(),this.state.loading=!1,this.items=null},onUp:function(t){if(!this.noResults&&this.state.show){t.preventDefault();var e=Object(kr.e)(this.state.highlight,-1,this.resultsCount-1,"prev");this.setHighlight(e)}},onDown:function(t){if(this.state.show){if(!this.noResults){t.preventDefault();var e=Object(kr.e)(this.state.highlight,-1,this.resultsCount-1,"next");this.setHighlight(e)}}else t.preventDefault(),this.requestData()},setHighlight:function(t){this.state.highlight=t,-1===t&&this.$refs.input.focus()},requestData:function(){this.items&&!this.state.show?this.state.show=!0:this.state.input&&!this.items&&this.fetchResults(this.state.input)},hideSuggestions:function(){this.state.highlight=-1,this.state.show=!1},onSuggestionPicked:function(t,e,n){var input={clicked_item:{type:n.type,id:n.id,position_search_results:t+1},total_search_results:e},r=this.$store.getters["log/getSearchLog"];this.$_searchTracking.updateLog(r,input).catch((function(){})),this.hideSuggestions()}}},Ir=(n(1176),Object(Ln.a)(Mr,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"on-clickaway",rawName:"v-on-clickaway",value:t.hideSuggestions,expression:"hideSuggestions"}],staticClass:"sb",on:{keydown:[function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"up",38,e.key,["Up","ArrowUp"])?null:t.onUp.apply(null,arguments)},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"down",40,e.key,["Down","ArrowDown"])?null:t.onDown.apply(null,arguments)}],keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"esc",27,e.key,["Esc","Escape"])?null:t.hideSuggestions.apply(null,arguments)}}},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.state.input,expression:"state.input"}],ref:"input",staticClass:"sb__input",attrs:{placeholder:t.$t("mainNavbar.quickSearch.placeholder")},domProps:{value:t.state.input},on:{input:[function(e){e.target.composing||t.$set(t.state,"input",e.target.value)},function(e){return t.debouncedFetch(t.state.input)}],keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.toSearchPage(t.state.input)}}}),t._v(" "),n("button",{directives:[{name:"show",rawName:"v-show",value:!t.state.loading,expression:"!state.loading"}],staticClass:"btn btn-primary",on:{click:function(e){return e.preventDefault(),t.toSearchPage(t.state.input)}}},[n("i",{staticClass:"fa fa-search"})]),t._v(" "),n("i",{directives:[{name:"show",rawName:"v-show",value:t.state.loading,expression:"state.loading"}],staticClass:"fa fa-circle-o-notch fa-spin sb-icon",attrs:{"aria-hidden":"true"}}),t._v(" "),n("i",{directives:[{name:"show",rawName:"v-show",value:t.state.input,expression:"state.input"}],staticClass:"fa fa-times sb-icon clr text-muted",attrs:{"aria-hidden":"true"},on:{click:function(e){t.state.input=""}}}),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.state.show,expression:"state.show"}],staticClass:"sb__suggestions"},[t.noResults?n("div",{staticClass:"text-center"},[t._v("\n            "+t._s(t.$t("mainNavbar.quickSearch.notFound"))+" "),n("nuxt-link",{attrs:{to:"/search"}},[t._v("\n                "+t._s(t.$t("mainNavbar.quickSearch.advancedSearch"))+"\n            ")]),t._v(".\n        ")],1):n("suggestions",{attrs:{items:t.items,highlight:t.state.highlight},on:{"suggestion-picked":t.onSuggestionPicked}})],1)])}
1),[],!1,null,null,null).exports),qr={props:{icon:String,badge:[String,Number]},methods:{toggleMenu:function(){this.$refs.popover.doToggle()},open:function(){this.$refs.popover.doShow()},close:function(){this.$refs.popover.doClose()}}},Ur=(n(1177),Object(Ln.a)(qr,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-popover",t._g({ref:"popover",staticClass:"flyout",attrs:{"append-to-body":!1,placement:"bottom-end",transition:"el-zoom-in-top","popper-class":"flyout__popper"}},t.$listeners),[n("div",{staticClass:"el-badge",attrs:{slot:"reference"},slot:"reference"},[n("el-button",{staticClass:"text-muted",attrs:{icon:t.icon,type:"text"}}),t._v(" "),t.badge>0&&t.badge<=99?n("sup",{staticClass:"el-badge__content is-fixed"},[t._v("\n            "+t._s(t.badge)+"\n        ")]):t._e(),t._v(" "),t.badge>99?n("sup",{staticClass:"el-badge__content is-fixed"},[t._v("\n            99+\n        ")]):t._e()],1),t._v(" "),t.$slots.header?n("div",{staticClass:"flyout__header"},[t._t("header")],2):t._e(),t._v(" "),n("div",{staticClass:"flyout__body"},[n("el-scrollbar",{staticClass:"flyout__scroll",attrs:{"wrap-class":"flyout__scroll-wrap"}},[t._t("default")],2)],1),t._v(" "),t.$slots.footer?n("div",{staticClass:"flyout__footer"},[t._t("footer")],2):t._e()])}),[],!1,null,null,null).exports);function zr(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Vr(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?zr(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):zr(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var Fr={computed:Vr({},Object(l.e)("auth",["guest"])),methods:Vr({},Object(l.b)("announcements",["markAllAsRead"]))};n(1178);function Hr(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Qr(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?Hr(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):Hr(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var Xr={components:{Flyout:Ur,MarkAllAsRead:Object(Ln.a)(Fr,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.guest?t._e():n("a",{staticClass:"mark-all-as-read",attrs:{href:"javascript:void(0);",title:t.$t("mainNavbar.announcements.allRead")},on:{click:t.markAllAsRead}},[t._v("\n    "+t._s(t.$t("mainNavbar.announcements.allRead"))+"\n")])}),[],!1,null,"6a6360b4",null).exports},props:{open:{type:Boolean,default:!1}},data:function(){return{state:{open:this.open||!1}}},computed:Qr(Qr({},Object(l.e)("auth",["user"])),Object(l.e)("announcements",["items","indicator","processing"])),watch:{user:"loadData"},mounted:function(){this.loadData()},methods:Qr(Qr({routeToPost:jr.f},Object(l.b)("announcements",["loadAnnouncements"])),{},{loadData:function(){return this.loadAnnouncements().catch(w.b)},hide:function(){this.$refs.flyout.close()},announcementClasses:function(article){return this.user&&!article.read_at&&article.published_at>this.user.created_at?"announcement-flyout__item--highlight":null}})},Gr=(n(1179),Object(Ln.a)(Xr,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Flyout",{ref:"flyout",staticClass:"announcement-flyout",attrs:{badge:t.indicator,icon:"fa fa-info"}},[n("div",{staticClass:"d-flex align-items-center justify-content-between",attrs:{slot:"header"},slot:"header"},[n("span",{staticClass:"announcement-flyout__heading"},[t._v(t._s(t.$t("mainNavbar.announcements.announcements")))]),t._v(" "),n("MarkAllAsRead")],1),t._v(" "),0===t.items.length?n("div",{staticClass:"py-05 text-center"},[n("span",[n("i",{staticClass:"fa fa-times",attrs:{"aria-hidden":"true"}}),t._v(" "+t._s(t.$t("mainNavbar.announcements.noAnnouncement"))+"\n        ")])]):n("div",{staticClass:"announcement-flyout__list"},t._l(t.items,(function(article,e){return n("nuxt-link",{key:e,staticClass:"announcement-flyout__item d-block link",class:t.announcementClasses(article),attrs:{to:t.routeToPost(article)},nativeOn:{click:function(e){return t.hide.apply(null,arguments)}}},[n("span",{staticStyle:{"word-break":"break-word"}},[t._v(t._s(article.title))]),t._v(" "),n("br"),t._v(" "),n("small",{staticClass:"subtext"},[t._v(t._s(t._f("humanize-time")(article.published_at)))])])})),1),t._v(" "),n("div",{staticClass:"text-right",attrs:{slot:"footer"},slot:"footer"},[n("nuxt-link",{staticClass:"announcement-flyout__all",attrs:{to:"/announcements"},nativeOn:{click:function(e){return t.hide()}}},[t._v("\n            "+t._s(t.$t("mainNavbar.announcements.allAnnouncements"))+"\n        ")])],1)])}
1),[],!1,null,null,null).exports),Yr=n(270),Wr=n.n(Yr),Kr=n(346),Jr=n(361),Zr=n(362);function to(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}var eo={components:{Flyout:Ur,InfiniteLoading:Wr.a,NotificationsList:Jr.a,NotificationPlaceholder:Zr.a},mixins:[Kr.a],data:function(){return{openTime:(new Date).getTime(),loadNoti:!0}},computed:function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?to(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):to(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},Object(l.e)("i18n",["locale"])),watch:{locale:function(){var t=this;this.loadNoti=!0,this.fetchNotifications().then((function(){t.loadNoti=!1,!t.hasMore()&&t.$refs.loader&&t.$refs.loader.stateChanger.complete()}))}},mounted:function(){var t=this;this.fetchNotifications().then((function(){t.loadNoti=!1,!t.hasMore()&&t.$refs.loader&&t.$refs.loader.stateChanger.complete()}))},methods:{onInfinite:function(t){var e=this;this.fetchMore().then((function(){e.hasMore()?t.loaded():t.complete()}))},onItemClick:function(t){this.setRead(t),this.hide()},hide:function(){this.$refs.flyout.close()},onShow:function(){this.clear(),this.openTime=(new Date).getTime()}}},no=(n(1183),Object(Ln.a)(eo,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("Flyout",{ref:"flyout",staticClass:"notifications-flyout",attrs:{badge:t.unreadCounter,icon:"fa fa-bell-o"},on:{show:t.onShow}},[n("div",{staticClass:"d-flex align-items-center justify-content-between",attrs:{slot:"header"},slot:"header"},[n("span",[t._v(t._s(t.$t("mainNavbar.notifications.notifications")))]),t._v(" "),n("nuxt-link",{directives:[{name:"tooltip",rawName:"v-tooltip"}],staticClass:"link",attrs:{to:"/settings/notifications",title:t.$t("mainNavbar.notifications.NotificationSettings")},nativeOn:{click:function(e){return t.hide()}}},[n("i",{staticClass:"el-icon-setting",attrs:{"aria-hidden":"true"}})])],1),t._v(" "),t.loadNoti?n("NotificationPlaceholder"):n("div",[n("NotificationsList",{staticClass:"notifications-flyout__list",attrs:{"open-time":t.openTime,notifications:t.notifications},on:{"item-click":function(e){return t.onItemClick(e)}}}),t._v(" "),n("client-only",[n("InfiniteLoading",{ref:"loader",attrs:{distance:50,spinner:"spiral"},on:{infinite:t.onInfinite}},[n("span",{attrs:{slot:"no-uploadResults"},slot:"no-uploadResults"}),t._v(" "),n("span",{attrs:{slot:"no-more"},slot:"no-more"}),t._v(" "),n("span",{attrs:{slot:"no-results"},slot:"no-results"},[t._v(t._s(t.$t("empty")))])])],1)],1),t._v(" "),n("div",{staticClass:"notifications-flyout__all",attrs:{slot:"footer"},slot:"footer"},[n("nuxt-link",{attrs:{to:"/notifications"},nativeOn:{click:function(e){return t.hide()}}},[t._v("\n            "+t._s(t.$t("mainNavbar.notifications.seeAll"))+"\n        ")])],1)],1)}),[],!1,null,null,null).exports),ro={components:{FeedbackForm:n(869).a},data:function(){return{show:!1}},methods:{open:function(){this.show=!0},close:function(){this.show=!1},onClose:function(){this.$refs.form.reset()}}},oo=Object(Ln.a)(ro,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-dialog",{attrs:{show:t.show,animation:"zoom-out","bg-color":"rgba(0,0,0,.9)"},on:{"update:show":function(e){t.show=e},close:t.onClose}},[n("FeedbackForm",{ref:"form",on:{sent:t.close}})],1)}),[],!1,null,null,null).exports,io=n(870),ao=n(216),so=[{name:"Viblo",src:"https://viblo.asia",icon:"/favicon.ico"},{name:"Viblo Code",src:"https://code.viblo.asia",icon:"/images/viblo-code.png"}
1,{name:"Viblo CTF",src:"https://ctf.viblo.asia",icon:"/images/viblo-ctf.png"},{name:"Viblo CV",src:"https://cv.viblo.asia",icon:"/images/viblo-cv.png"},{name:"Viblo Learning",src:"https://learn.viblo.asia",icon:"/images/viblo-learn.png"},{name:"Viblo Partner",src:"https://partner.viblo.asia",icon:"/images/viblo-partner.png"},{name:"Viblo Battle",src:"https://battle.viblo.asia",icon:"/images/viblo-battle.png"},{name:"Viblo Interview",src:"https://interview.viblo.asia",icon:"/images/viblo-interview.ico"}],co={mixins:[sr.mixin],data:function(){return{isShow:!1,vibloServices:so}},methods:{open:function(){this.$refs.popover.doShow()},close:function(){this.$refs.popover.doClose()},trackingGA:function(){this.$gtag.event("tracking_services",{event_category:"Tracking Services",eventLabel:"Dropdown Services",nonInteraction:!0})},getUTMUrl:function(t){return"".concat(t,"/?utm_source=Viblo_Service&utm_medium=Page&utm_campaign=DropdownServices")}}},uo=(n(1190),Object(Ln.a)(co,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("ElPopover",{ref:"popover",attrs:{"append-to-body":!1,transition:"el-zoom-in-top",placement:"bottom-end"}},[t._t("reference",(function(){return[n("div",{staticClass:"position-relative",on:{click:function(e){return t.trackingGA()}}},[n("i",{staticClass:"viblo-services-toggle fa fa-th"}),t._v(" "),n("sup",{staticClass:"service-new-icon el-badge__content el-badge__content--undefined is-fixed"},[t._v("new")])])]}),{slot:"reference"}),t._v(" "),n("ul",{staticClass:"viblo-services-menu"},t._l(t.vibloServices,(function(e,r){return n("li",{key:r,staticClass:"viblo-services-menu__item"},["Viblo"===e.name?n("nuxt-link",{attrs:{to:"/",target:"_blank",rel:"noopener"}},[n("span",{staticClass:"service-icon viblo-icon",style:"background: url("+e.icon+");"}),t._v(" "),n("span",{staticClass:"service-name d-block"},[t._v("\n                    "+t._s(e.name)+"\n                ")])]):n("a",{staticClass:"position-relative",attrs:{href:t.getUTMUrl(e.src),target:"_blank",rel:"noopener"}},[n("div",{staticClass:"position-relative"},[n("span",{staticClass:"service-icon",style:"background: url("+e.icon+");"}),t._v(" "),"Viblo Interview"===e.name?n("sup",{staticClass:"new-service-icon__item el-badge__content el-badge__content--undefined is-fixed"},[t._v("\n                        new\n                    ")]):t._e()]),t._v(" "),n("span",{staticClass:"service-name d-block"},[t._v("\n                    "+t._s(e.name)+"\n                ")])])],1)})),0)],2)}),[],!1,null,"eb7ed3b6",null).exports);function lo(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function ho(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?lo(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):lo(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var po=["vueTour.gotoSetting","vueTour.createContent","vueTour.seeQuestions","vueTour.previewMode","vueTour.sendFeebback"],fo={components:{Quicksearch:Ir,MainMenu:Yn,UserMenu:Zn,WriteMenu:ar,Announcements:Gr,Notifications:no,FeedbackPopup:oo,VueTour:io.a,LanguageSwitcher:ao.a,Services:uo},data:function(){var t=this;return{showBackgroud:!1,contentSteps:po,tinyUrl:null,Mycallbacks:{onPreviousStep:this.myCustomPreviousStepCallback,onNextStep:this.myCustomNextStepCallback},steps:[{target:"#v-step-0",content:this.$t("vueTour.gotoSetting"),before:function(e){return new Promise((function(e){t.$store.commit("vueTour/setDataStep0",!0),e("foo")}))}},{target:"#v-step-1",content:this.$t("vueTour.createContent"),before:function(e){return new Promise((function(e){t.$store.commit("vueTour/setDataStep0",!1),t.$store.commit("vueTour/setDataStep1",!0),t.$refs.menuUser.closeMenu(),e("foo")}))}},{target:"#v-step-2",content:this.$t("vueTour.seeQuestions"),before:function(e){return new Promise((function(e){t.$store.commit("vueTour/setDataStep1",!1),t.$store.commit("vueTour/setDataStep2",!0),e("foo")}))}},{target:"#v-step-3",content:this.$t("vueTour.previewMode"),params:{enableScrolling:!1},before:function(e){return new Promise((function(e){window.scrollTo(0,0),t.$store.commit("vueTour/setDataStep2",!1),t.$store.commit("vueTour/setDataStep3",!0),e("foo")}))}},{target:"#v-step-4",content:this.$t("vueTour.sendFeebback"),before:function(e){return new Promise((function(e){t.$store.commit("vueTour/setDataStep3",!1),t.$store.commit("vueTour/setDataStep4",!0),e("foo")}))}}]}}
1,computed:ho(ho(ho(ho(ho(ho({},Object(l.e)("auth",["guest","user"])),Object(l.c)("auth",["authenticated"])),Object(l.e)("vueTour",["step1","triggerUserMenu","doneFetchData"])),Object(l.c)("config",{logo:"currentLogo"})),Object(l.e)("config",["vars"])),{},{getLocale:function(){return this.$i18n.locale},showVueTour:function(){return"/newest"===this.$route.path},isSubdomain:function(){return this.vars.is_special_organization||this.vars.is_special_profile}}),watch:{getLocale:function(){for(var i=0;i<this.steps.length;i+=1)this.steps[i].content=this.$t(po[i])},doneFetchData:function(){var t=this,e="/newest"===this.$route.path,n=this.$store.state.vueTour.doneFetchData;if(this.authenticated&&e&&n){var r=this.$store.state.settings.complete_tour;r&&"writePost"!==r||(this.$store.commit("vueTour/setTriggerUserMenu","manual"),this.$root.$emit("changleTriggerUserMenu",this.triggerUserMenu),this.showBackgroud=!0,this.doneUpdate(),setTimeout((function(){t.$tours.myTour.start()}),150),this.disableEventBody())}}},beforeDestroy:function(){document.body.style.pointerEvents="unset"},methods:{toAppUrl:En.n,doneUpdate:function(){var t=this;setTimeout((function(){t.$refs.menuUser.openMenu()}),1)},myCustomPreviousStepCallback:function(t){var e=this.$store.state.settings.complete_tour,n=!e||"writePost"===e;1===t&&n&&(this.$refs.menuUser.openMenu(),setTimeout((function(){window.scroll(0,20)}),200),this.$store.commit("vueTour/setDataStep1",!1)),2===t&&n&&(this.$store.commit("vueTour/setDataStep1",!0),this.$store.commit("vueTour/setDataStep2",!1)),3===t&&n&&(this.$store.commit("vueTour/setDataStep2",!0),this.$store.commit("vueTour/setDataStep3",!1)),4===t&&n&&(window.scrollTo(0,0),this.$store.commit("vueTour/setDataStep3",!0),this.$store.commit("vueTour/setDataStep4",!1))},myCustomNextStepCallback:function(){},closeVueTour:function(t){var e=this.$store.state.settings.complete_tour;t.skip(),Object(Hn.q)(this.user.id,{type:"intro"}),this.showBackgroud=!1,this.$store.commit("vueTour/doneOrSkipTour"),this.$store.commit("vueTour/setTriggerUserMenu","click"),this.$root.$emit("doneTour",this.triggerUserMenu),this.enableEventBody(),e?this.$store.commit("settings/setValueTour","all"):this.$store.commit("settings/setValueTour","intro")},closeVueTourWhenFinish:function(t){var e=this.$store.state.settings.complete_tour;t.stop(),Object(Hn.q)(this.user.id,{type:"intro"}),this.showBackgroud=!1,this.$store.commit("vueTour/doneOrSkipTour"),this.$store.commit("vueTour/setTriggerUserMenu","click"),this.$root.$emit("doneTour",this.triggerUserMenu),this.enableEventBody(),e?this.$store.commit("settings/setValueTour","all"):this.$store.commit("settings/setValueTour","intro")},disableEventBody:function(){document.getElementsByTagName("body")[0].style.pointerEvents="none"},enableEventBody:function(){document.getElementsByTagName("body")[0].style.pointerEvents="auto"}}},mo=(n(420),Object(Ln.a)(fo,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("header",{staticClass:"main-navbar main-navbar__group py-1"},[n("div",{staticClass:"main-navbar__container container px-md-0"},[n("div",{staticClass:"d-flex main-navbar__grow"},[t.guest?n("nuxt-link",{staticClass:"main-navbar__logo d-block mr-lg-5",attrs:{to:"/newest",exact:""}},[t.logo?n("progressive-img",{attrs:{"tiny-src":t.tinyUrl,src:t.logo.image,width:62,height:21,alt:""}}):n("img",{attrs:{src:"/logo_full.svg",alt:"Viblo",width:"62",height:"21"}})],1):n("span",[t.isSubdomain?n("a",{staticClass:"main-navbar__logo d-block mr-lg-5",attrs:{href:t.toAppUrl("/"),exact:""}},[t.logo?n("progressive-img",{attrs:{"tiny-src":t.tinyUrl,src:t.logo.image,width:62,height:21,alt:""}}):n("img",{attrs:{src:"/logo_full.svg",alt:"Viblo",width:"62",height:"21"}})],1):n("nuxt-link",{staticClass:"main-navbar__logo d-block mr-lg-5",attrs:{to:"/",exact:""}},[t.logo?n("progressive-img",{attrs:{"tiny-src":t.tinyUrl,src:t.logo.image,width:62,height:21,alt:""}}):n("img",{attrs:{src:"/logo_full.svg",alt:"Viblo",width:"62",height:"21"}})],1)],1),t._v(" "),n("MainMenu",{staticClass:"hidden-md-down"})],1),t._v(" "),n("div",{staticClass:"main-navbar__right"},[n("nuxt-link",{staticClass:"link text-muted hidden-md-up mr-1",attrs:{to:"/search"}},[n("i",{staticClass:"fa fa-search",attrs:{"aria-hidden":"true"}})]),t._v(" "),n("quicksearch",{staticClass:"hidden-sm-down flex-fill mr-1"}),t._v(" "),n("div",{staticClass:"main-navbar__group"},[n("Announcements",{staticClass:"mr-1"}),t._v(" "),t.guest?t._e():n("Notifications",{staticClass:"mr-1"})],1),t._v(" "),n("div",{staticClass:"main-navbar__group"},[n("div",{staticClass:"mr-05",class:{"hightlight-vue-tour":t.step1}},[t.guest?t._e():n("WriteMenu",{staticClass:"main-navbar__writer",class:{pulse:t.step1},attrs:{id:"v-step-1"}})],1),t._v(" "),n("div",{staticClass:"main-navbar__group"},[n("LanguageSwitcher",{staticClass:"sm-response"})],1),t._v(" "),n("Services"),t._v(" "),n("UserMenu",{ref:"menuUser"}),t._v(" "),t.showBackgroud?n("div",{staticClass:"backgroud-vue-tour"}):t._e()],1),t._v(" "),t.showVueTour&&t.user?n("VueTour",{attrs:{steps:t.steps,callbacks:t.Mycallbacks},on:{closeVueTour:t.closeVueTour,closeVueTourWhenFinish:t.closeVueTourWhenFinish}}):t._e()],1)]),t._v(" "),n("feedback-popup",{ref:"feedbackDialog"})],1)}
1),[],!1,null,null,null).exports),go=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"d-flex mobile-app-badges"},[r("div",{staticClass:"d-flex flex-md-column justify-content-between flex-wrap"},[r("a",{staticClass:"d-block",attrs:{href:"https://play.google.com/store/apps/details?id=com.sun.viblo.android",target:"_blank",rel:"noopener"}},[r("img",{staticClass:"play-store-badge",attrs:{alt:"Get it on Google Play",src:"https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png",width:"646",height:"250"}})]),t._v(" "),r("a",{staticClass:"d-block",attrs:{href:"https://itunes.apple.com/us/app/viblo/id1365286437",target:"_blank",rel:"noopener"}},[r("img",{staticClass:"app-store-badge",attrs:{alt:"Download on the App Store",src:n(1191),width:"646",height:"250"}})])]),t._v(" "),r("img",{staticClass:"qr hidden-md-down",attrs:{src:n(1192),width:"124",height:"124",alt:"QR code"}})])}],bo=(n(1193),Object(Ln.a)({},(function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)}),go,!1,null,null,null).exports);function vo(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function yo(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?vo(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):vo(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var wo={components:{MobileApp:bo,FeedbackPopup:oo},data:function(){return{vibloServices:so}},computed:yo(yo(yo(yo({},Object(l.e)("auth",["guest"])),Object(l.e)("vueTour",["step4"])),Object(l.e)("config",["vars"])),{},{termPath:function(){return"en"===this.$i18n.locale?"/terms/en_term":"/terms/vi_term"},isSubdomain:function(){return this.vars.is_special_organization||this.vars.is_special_profile}}),methods:{toAppUrl:En.n}},_o=(n(1194),Object(Ln.a)(wo,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("footer",{staticClass:"footer bg-dark",attrs:{id:"footer"}},[n("v-container",{staticClass:"pt-2"},[n("v-row",[n("v-col",{staticClass:"mb-1 mb-md-0",attrs:{md:4}},[n("h4",{staticClass:"footer__header"},[t._v("\n                    "+t._s(t.$t("footer.resources.title"))+"\n                ")]),t._v(" "),n("ul",{staticClass:"list-unstyled footer__links resources"},[n("li",[t.isSubdomain?n("a",{staticClass:"link",attrs:{href:t.toAppUrl("/")}},[t._v("\n                            "+t._s(t.$t("footer.resources.posts"))+"\n                        ")]):n("nuxt-link",{staticClass:"link",attrs:{to:"/"}},[t._v("\n                            "+t._s(t.$t("footer.resources.posts"))+"\n                        ")])],1),t._v(" "),n("li",[n("nuxt-link",{staticClass:"link",attrs:{to:"/organizations"}},[t._v("\n                            "+t._s(t.$t("footer.resources.organizations"))+"\n                        ")])],1),t._v(" "),n("li",[t.isSubdomain?n("a",{staticClass:"link",attrs:{href:t.toAppUrl("/questions")}},[t._v("\n                            "+t._s(t.$t("footer.resources.questions"))+"\n                        ")]):n("nuxt-link",{staticClass:"link",attrs:{to:"/questions"}},[t._v("\n                            "+t._s(t.$t("footer.resources.questions"))+"\n                        ")])],1),t._v(" "),n("li",[n("nuxt-link",{staticClass:"link",attrs:{to:"/tags"}},[t._v("\n                            "+t._s(t.$t("footer.resources.tags"))+"\n                        ")])],1),t._v(" "),n("li",[t.isSubdomain?n("a",{staticClass:"link",attrs:{href:t.toAppUrl("/videos")}},[t._v("\n                            "+t._s(t.$t("footer.resources.videos"))+"\n                        ")]):n("nuxt-link",{staticClass:"link",attrs:{to:"/videos"}},[t._v("\n                            "+t._s(t.$t("footer.resources.videos"))+"\n                        ")])],1),t._v(" "),n("li",[n("nuxt-link",{staticClass:"link",attrs:{to:"/authors"}},[t._v("\n                            "+t._s(t.$t("footer.resources.authors"))+"\n                        ")])],1),t._v(" "),n("li",[n("nuxt-link",{staticClass:"link",attrs:{to:"/discussion"}},[t._v("\n                            "+t._s(t.$t("footer.resources.discussions"))+"\n                        ")])],1),t._v(" "),n("li",[n("nuxt-link",{staticClass:"link",attrs:{to:"/explore"}},[t._v("\n                            "+t._s(t.$t("footer.resources.recommendSystem"))+"\n                        ")])],1),t._v(" "),n("li",[n("a",{staticClass:"link",attrs:{href:"https://about.viblo.asia/tools/",target:"_blank",rel:"noopener"}},[t._v(t._s(t.$t("footer.resources.tools")))])]),t._v(" "),n("li",[n("a",{staticClass:"link",attrs:{href:"https://machine-learning.viblo.asia",target:"_blank",rel:"noopener"}},[t._v(t._s(t.$t("footer.resources.machineLearning")))])]),t._v(" "),n("li",[n("a",{staticClass:"link",attrs:{href:"https://status.viblo.asia",target:"_blank",rel:"noopener"}},[t._v(t._s(t.$t("footer.resources.systemStatus")))])])])]),t._v(" "),n("v-col",{staticClass:"mb-1 mb-md-0",attrs:{md:3,xl:{offset:1}}},[n("h4",{staticClass:"footer__header"},[t._v("\n                    "+t._s(t.$t("footer.resources.services"))+"\n                ")]),t._v(" "),n("ul",{staticClass:"list-unstyled footer__links service-badges"},[n("v-row",t._l(t.vibloServices,(function(e){return n("v-col",{key:e.name,attrs:{xs:12,sm:3,md:12,lg:12,xl:12}},[n("li",{staticClass:"footer__links__external-link"},[n("a",{staticClass:"link",attrs:{href:e.src,target:"_blank",rel:"noopener"}},[n("img",{staticClass:"link-icon",attrs:{src:e.icon,alt:e.name,width:"24",height:"24"}}),t._v("\n                                    "+t._s(e.name)+"\n                                ")])])])})),1)],1)]),t._v(" "),n("v-col",{staticClass:"mb-1 mb-md-0",attrs:{md:{span:3,offset:1}}},[n("div",{staticClass:"d-flex align-items-baseline"},[n("h4",{staticClass:"footer__header mr-1"},[t._v("\n                        "+t._s(t.$t("footer.resources.mobileAp
1p"))+"\n                    ")])]),t._v(" "),n("MobileApp",{staticClass:"mb-05"}),t._v(" "),n("h4",{staticClass:"footer__header"},[t._v("\n                    "+t._s(t.$t("footer.resources.links"))+"\n                ")]),t._v(" "),n("ul",{staticClass:"list-unstyled footer__social-links"},[n("li",{staticClass:"footer__socail-links__external-link"},[n("a",{staticClass:"link",attrs:{href:"https://www.facebook.com/viblo.asia/",target:"_blank",rel:"noopener"}},[n("i",{staticClass:"fa fa-facebook link-icon"})])]),t._v(" "),n("li",{staticClass:"footer__socail-links__external-link"},[n("a",{staticClass:"link",attrs:{href:"https://github.com/viblo-asia/",target:"_blank",rel:"noopener"}},[n("i",{staticClass:"fa fa-github link-icon"})])]),t._v(" "),n("li",{staticClass:"footer__socail-links__external-link"},[n("a",{staticClass:"link",attrs:{href:"https://chrome.google.com/webstore/detail/viblos-news-feed/mliahmjgdpkkicelofhbhgiidgljijmj",target:"_blank",rel:"noopener"}},[n("i",{staticClass:"fa fa-chrome link-icon"})])]),t._v(" "),n("li",{staticClass:"footer__socail-links__external-link"},[n("a",{staticClass:"link",attrs:{href:"https://atom.io/packages/viblo",target:"_blank",rel:"noopener"}},[n("img",{staticClass:"link-icon",attrs:{src:"/images/atom-editor.svg",alt:"Atom Icon",width:"24",height:"24"}})])])])],1)],1),t._v(" "),n("hr",{staticClass:"footer__divider"}),t._v(" "),n("v-row",{staticClass:"py-1"},[n("v-col",{attrs:{xs:12,sm:4,lg:5,xl:6}},[n("p",{staticClass:"copyright"},[t._v("\n                    © "+t._s((new Date).getFullYear())+"\n                    "),n("b",[t._v("Viblo")]),t._v(t._s(t.$t("footer.resources.rightsReserved"))+"\n                ")])]),t._v(" "),n("v-col",{attrs:{xs:12,sm:8,lg:7,xl:6}},[n("ul",{staticClass:"list-unstyled d-flex justify-content-between flex-wrap"},[n("li",{staticClass:"mb-05"},[n("a",{staticClass:"link",attrs:{href:"https://about.viblo.asia/",target:"_blank",rel:"noopener"}},[t._v(t._s(t.$t("footer.about")))])]),t._v(" "),n("li",{staticClass:"mb-05 mx-05",class:{"hightlight-step4":t.step4},attrs:{id:"v-step-4"}},[n("a",{staticClass:"link",class:{pulse:t.step4},attrs:{href:"/feedback"},on:{click:function(e){return e.preventDefault(),t.$refs.feedbackDialog.open.apply(null,arguments)}}},[t._v(t._s(t.$t("footer.feedback.title")))])]),t._v(" "),n("li",{staticClass:"mb-05 mx-05"},[n("nuxt-link",{staticClass:"link",attrs:{to:"/helps"}},[t._v("\n                            "+t._s(t.$t("footer.help"))+"\n                        ")])],1),t._v(" "),n("li",{staticClass:"mb-05 mx-05"},[n("nuxt-link",{staticClass:"link",attrs:{to:"/faq"}},[t._v("\n                            "+t._s(t.$t("footer.fAQs"))+"\n                        ")])],1),t._v(" "),n("li",{staticClass:"mb-05 mx-05"},[n("nuxt-link",{staticClass:"link",attrs:{to:"/rss-channels"}},[t._v("\n                            "+t._s(t.$t("footer.rSS"))+"\n                        ")])],1),t._v(" "),n("li",{staticClass:"mb-05 mx-05"},[n("nuxt-link",{staticClass:"link",attrs:{to:t.termPath}},[t._v("\n                            "+t._s(t.$t("footer.terms"))+"\n                        ")])],1),t._v(" "),n("li",{staticClass:"mb-05 mx-05"},[n("a",{staticClass:"link dmca-badge",attrs:{href:"//www.dmca.com/Protection/Status.aspx?ID=41818fcd-5a60-4504-867a-38fde606354e",title:"DMCA.com Protection Status",target:"_blank",rel:"noopener"}},[n("img",{attrs:{src:"https://images.dmca.com/Badges/dmca-badge-w100-5x1-07.png?ID=41818fcd-5a60-4504-867a-38fde606354e",alt:"DMCA.com Protection Status",width:"100",height:"20"}})]),t._v(" "),n("script",{attrs:{src:"https://images.dmca.com/Badges/DMCABadgeHelper.min.js"}})])])])],1)],1),t._v(" "),n("feedback-popup",{ref:"feedbackDialog"})],1)}),[],!1,null,null,null).exports),ko=n(4),Oo=n.n(ko),xo={username:{required:!0,message:"Username or Email is required"},password:{required:!0,message:"Password is required"}},Co={data:function(){return{loading:!1,form:{username:"",password:""},validations:xo,authenticationError:null}},methods:{submit:function(){var t=this;this.$refs.form.validate((function(e){e&&t.login()}))},login:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.loading=!0,e.prev=1,e.next=4,Oo.a.post("/auth/login",t.form,{baseURL:"https://viblo.asia"});case 4:(n=e.sent)&&t.$gtag.event("authentication",{eventCategory:"Authentication",eventAction:"Sign In",eventLabel:n.last_login?"Regular":"First"}),t.authenticationError=null,t.$emit("loggedIn"),e.next=14;break;case 10:e.prev=10,e.t0=e.catch(1),t.loading=!1,e.t0.response&&401===e.t0.response.status?t.authenticationError=e.t0.response.data:t.authenticationError={error:"unknown",message:"Sorry, something went wrong."};case 14:case"end":return e.stop()}}),e,null,[[1,10]])})))()},reset:function(){this.$refs.form.clearValidate(),this.$refs.form.resetFields()}}},jo=Object(Ln.a)(Co,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"login-form"},[t._m(0),t._v(" "),t.authenticationError?n("el-alert",{staticClass:"mb-05",attrs:{title:t.authenticationError.message,closable:!1,type:"error","show-icon":""}}):t._e(),t._v(" "),t.authenticationError&&"unverified_email"===t.authenticationError.error?n("div",[t._v("\n        If you did not receive your email\n        "),n("nuxt-link",{staticClass:"accented-link",attrs:{to:"/account/activation"}},[t._v("\n            click here\n        ")]),t._v("\n        to resend.\n    ")],1):t._e(),t._v(" "),n("el-form",{ref:"form",attrs:{model:t.form,rules:t.validations}},[n("el-form-item",{attrs:{prop:"username"}},[n("el-input",{attrs:{name:"username",placeholder:"Username or Email",autofocus:""},nativeOn:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.login.apply(null,arguments)}},model:{value:t.form.username,callback:function(e){t.$set(t.form,"username",e)},expression:"form.username"}})],1),t._v(" "),n("el-form-item",{attrs:{prop:"password"}},[n("el-input",{attrs:{name:"password",type:"password",placeholder:"Password"},nativeOn:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.login.apply(null,arguments)}},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1)],1),t._v(" "),t._m(1),t._v(" "),n("el-button",{staticClass:"full-width text-uppercase",attrs:{loading:t.loading,type:"primary"},on:{click:t.submit}},[t._v("\n        Sign In\n    ")])],1)}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"auth-brand text-sm-center hidden-sm-down mt-1 mb-1"},[n("p",[t._v("Join us to find useful information required to improve your skills")])])},function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"text-right mb-05"},[n("a",{attrs:{href:"/password/reset"}},[t._v("Forgot your password?")])])}],!1,null,null,null).exports,So={methods:{redirectToService:function(t){var e=t.trim().toLowerCase(),n=window.location.href,r=encodeURIComponent(n);this.$root.$loading.start(),window.location.href="/auth/".concat(e,"?state=").concat(r)}}},Po=(n(1195),Object(Ln.a)(So,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"social-login"},[t._m(0),t._v(" "),n("ul",{staticClass:"social-login__buttons d-flex align-items-center justify-content-around pl-0"},[n("li",[n("a",{staticClass:"social-btn-circle facebook-btn icon-btn",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.redirectToService("facebook")}}},[n("i",{staticClass:"fa fa-facebook",attrs:{"aria-hidden":"true"}})])]),t._v(" "),n("li",[n("a",{staticClass:"social-btn-circle google-btn icon-btn",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.redirectToService("google")}}},[n("i",{staticClass:"fa fa-google-plus",attrs:{"aria-hidden":"true"}})])]),t._v(" "),n("li",[n("a",{staticClass:"social-btn-circle github-btn icon-btn",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.redirectToService("github")}}},[n("i",{staticClass:"fa fa-github",attrs:{"aria-hidden":"true"}})])])])])}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"social-login__divider d-flex align-items-center justify-content-between my-1"},[n("span"),t._v(" "),n("span",[t._v("or")]),t._v(" "),n("span")])}
1],!1,null,null,null).exports),To=n(8),Ao=n.n(To),Ro=n(160),Eo=n(274);function Do(t,e,n){!0===e?n():n(new Error(t.message))}var Lo={name:"",email:"",terms:!1,username:"",password:"",password_confirmation:""},No={mixins:[Eo.a],props:{values:{type:Object,default:function(){return{}}}},data:function(){var t,e,form=Ao()({},Lo,this.values);return{form:form,validations:{email:[{required:!0,message:"Email is required"},{type:"email",message:"Must be a valid email"},{max:255,message:"Email must not be longer than 255 characters"}],name:[{required:!0,message:"Name is required"},{max:50,message:"Must be less than 50 characters"}],username:[{required:!0,message:"Username is required"},{max:20,message:"Must be less than 20 characters"}],password:[{required:!0,message:"Password is required"},{min:6,message:"Password must has at least 6 characters"}],password_confirmation:[{required:!0,message:"Password confirmation is required"},{validator:(t=form,e="password",function(n,r,o){r===t[e]?o():o(new Error(n.message))}),message:"Password confirmation does not match"}],terms:[{validator:Do,message:"Please agree to our Terms of service"}]},processing:!1}},methods:{_isEmpty:Cr.a,register:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.processing=!0,e.prev=1,e.next=4,Ro.axios.post("/register",t.form,{baseURL:"/"});case 4:n=e.sent,r=n.data,t.sendGaEvent(),r.must_verify_email?(t.$message({message:"You've been signed up. Please check your E-mail address to confirm your new account.",showClose:!0,duration:0}),t.$emit("sent")):window.location.href="/",e.next=13;break;case 10:e.prev=10,e.t0=e.catch(1),t.handleError(e.t0);case 13:return e.prev=13,t.processing=!1,e.finish(13);case 16:case"end":return e.stop()}}),e,null,[[1,10,13,16]])})))()},sendGaEvent:function(){this.$gtag.event("authentication",{eventCategory:"Authentication",eventAction:this.values.social?"Sign up|Social":"Sign up",eventLabel:"Regular"})},reset:function(){this.serverErrors={},this.$refs.form.clearValidate(),this.$refs.form.resetFields()}}},$o=(n(1196),{components:{LoginForm:jo,SocialLogin:Po,RegistrationForm:Object(Ln.a)(No,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"registration-form"},[t._m(0),t._v(" "),n("el-form",{ref:"form",attrs:{model:t.form,rules:t.validations,"status-icon":!0}},[n("el-form-item",{attrs:{error:t.serverErrors.email,prop:"email"}},[n("el-input",{attrs:{disabled:!t._isEmpty(t.values.social),name:"email",placeholder:"Your E-mail address"},model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}})],1),t._v(" "),n("div",{staticClass:"d-flex justify-content-between"},[n("el-form-item",{staticClass:"mr-05",attrs:{error:t.serverErrors.name,prop:"name"}},[n("el-input",{attrs:{name:"name",placeholder:"Your name"},model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),t._v(" "),n("el-form-item",{staticClass:"ml-05",attrs:{error:t.serverErrors.username,prop:"username"}},[n("el-input",{attrs:{name:"username",placeholder:"Your username"},model:{value:t.form.username,callback:function(e){t.$set(t.form,"username",e)},expression:"form.username"}})],1)],1),t._v(" "),n("el-form-item",{attrs:{error:t.serverErrors.password,prop:"password"}},[n("el-input",{attrs:{name:"password",type:"password",placeholder:"Password"},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}})],1),t._v(" "),n("el-form-item",{attrs:{error:t.serverErrors.password_confirmation,prop:"password_confirmation"}},[n("el-input",{attrs:{name:"password_confirmation",type:"password",placeholder:"Confirm your password"},model:{value:t.form.password_confirmation,callback:function(e){t.$set(t.form,"password_confirmation",e)},expression:"form.password_confirmation"}})],1),t._v(" "),n("el-form-item",{staticClass:"registration-form__terms",attrs:{error:t.serverErrors.terms,prop:"terms"}},[n("el-checkbox",{model:{value:t.form.terms,callback:function(e){t.$set(t.form,"terms",e)},expression:"form.terms"}},[t._v("\n                I agree to "),n("a",{attrs:{href:"/terms",target:"_blank",rel:"noopener"}},[t._v("Viblo Terms of Service")])])],1)],1),t._v(" "),n("el-button",{staticClass:"full-width text-uppercase",attrs:{loading:t.processing,type:"primary"},on:{click:function(e){return t.submit(t.$refs.form,t.register)}}},[t._v("\n        Sign Up\n    ")])],1)}),[function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"auth-brand text-center mt-1 mb-1"},[n("h1",{staticClass:"top-header"},[n("span",[t._v("Free")]),t._v(" service for"),n("br"),t._v("technical knowledge "),n("span",[t._v("sharing")])]),t._v(" "),n("p",{staticClass:"hidden-sm-down"},[t._v("\n            Join us to find useful information required to improve your skills\n        ")])])}],!1,null,null,null).exports},computed:{show:{get:function(){return this.$store.state.auth.showAuthDialog},set:function(t){this.$store.commit("auth/setShowAuthDialog",t)}}},methods:{open:function(){this.show=!0},close:function(){this.show=!1},reset:function(){this.$refs.loginForm.reset(),this.$refs.registrationForm.reset()},reloadPage:function(){window.location.reload()}}}),Bo=(n(1197),Object(Ln.a)($o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-dialog",{staticClass:"login-popup",attrs:{show:t.show,animation:"zoom-out","bg-color":"rgba(0,0,0,.9)",size:"small"},on:{"update:show":function(e){t.show=e},close:t.reset}},[n("Tabs",{attrs:{"initial-active-pane":"login"}},[n("TabPane",{attrs:{label:"Login",name:"login"}},[n("LoginForm",{ref:"loginForm",on:{loggedIn:t.reloadPage}})],1),t._v(" "),n("TabPane",{attrs:{label:"Register",name:"register"}},[n("RegistrationForm",{ref:"registrationForm",on:{sent:t.close}})],1)],1),t._v(" "),n("SocialLogin")],1)}
1),[],!1,null,null,null).exports),Mo=n(72),Io=n.n(Mo),qo=n(62),Uo=n.n(qo),zo={name:"Tinybox",model:{prop:"index",event:"change"},props:{images:{type:Array,default:function(){return[]}},index:{type:Number,default:null},loop:{type:Boolean,default:!1},noThumbs:{type:Boolean,default:!1},isCloseOutsiteBox:{type:Boolean,default:!0},isLoadingImage:{type:Boolean,default:!1}},data:function(){return{slide:"next",swipeDone:!1,swipeX:null}},computed:{open:function(){return null!=this.index},prevImage:function(){return this.index>0?this.index-1:this.loop?this.images.length-1:this.index},nextImage:function(){return this.index<this.images.length-1?this.index+1:this.loop?0:this.index}},watch:{open:function(t){t?window.addEventListener("keyup",this.keyup):window.removeEventListener("keyup",this.keyup)},index:function(t){var e=this;this.noThumbs||null==t||this.$nextTick((function(){var n=e.$refs,r=n.thumbs,o=n.thumbItems[t];if(o.offsetLeft+o.clientWidth/2>window.innerWidth/2){var c=o.offsetLeft-window.innerWidth/2;c<r.scrollWidth?r.scrollLeft=c+o.clientWidth/2:r.scrollLeft=r.scrollWidth}else r.scrollLeft=0}))}},methods:{close:function(){var t=this.index;this.goto(null),this.$emit("close",t)},prev:function(){this.$emit("prev",this.prevImage),this.goto(this.prevImage,"prev")},next:function(){this.$emit("next",this.nextImage),this.goto(this.nextImage,"next")},goto:function(t,e){this.slide=e||(this.index<t?"next":"prev"),this.$emit("change",t)},keyup:function(t){"ArrowRight"===t.code||"ArrowRight"===t.key||"Right"===t.key||39===t.keyCode?this.next():"ArrowLeft"===t.code||"ArrowLeft"===t.key||"Left"===t.key||37===t.keyCode?this.prev():"Escape"!==t.code&&"Escape"!==t.key&&"Esc"!==t.key&&27!==t.keyCode||this.close()},swipeStart:function(t){this.swipeDone=!1,1===t.changedTouches.length&&(this.swipeX=t.changedTouches[0].screenX)},swipe:function(t){if(!this.swipeDone&&1===t.changedTouches.length){var e=t.changedTouches[0].screenX-this.swipeX;e>=50?(this.prev(),this.swipeDone=!0):e<=-50&&(this.next(),this.swipeDone=!0)}}}},Vo=(n(1198),Object(Ln.a)(zo,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"fade"}},[t.open?n("div",{staticClass:"tinybox",on:{click:function(e){t.isCloseOutsiteBox&&t.close},wheel:function(t){t.preventDefault()},touchmove:function(t){t.preventDefault()}}},[n("div",{staticClass:"tinybox__content",class:{"tinybox__content--no-thumbs":t.noThumbs},on:{touchstart:t.swipeStart,touchmove:t.swipe}},[n("transition",{attrs:{name:t.slide}},[t.isLoadingImage?n("i",{staticClass:"el-icon-loading text-white mr-05"}):n("img",{key:t.images[t.index].src||t.images[t.index]||"",staticClass:"tinybox__content__image",attrs:{src:t.images[t.index].src||t.images[t.index]||"",alt:t.images[t.index].alt||t.images[t.index].caption||""},on:{click:function(e){return e.stopPropagation(),t.next.apply(null,arguments)}}})]),t._v(" "),t.images[t.index].caption?n("span",{staticClass:"tinybox__content__image__caption",domProps:{textContent:t._s(t.images[t.index].caption)}}):t._e(),t._v(" "),t.prevImage!==t.index?n("div",{staticClass:"tinybox__content__control tinybox__content__control--prev",on:{click:function(e){return e.stopPropagation(),t.prev.apply(null,arguments)}}}):t._e(),t._v(" "),t.nextImage!==t.index?n("div",{staticClass:"tinybox__content__control tinybox__content__control--next",on:{click:function(e){return e.stopPropagation(),t.next.apply(null,arguments)}}}):t._e(),t._v(" "),n("div",{staticClass:"tinybox__content__control tinybox__content__control--close",on:{click:function(e){return e.stopPropagation(),t.close.apply(null,arguments)}}})],1),t._v(" "),t.noThumbs?t._e():n("div",{ref:"thumbs",staticClass:"tinybox__thumbs",on:{touchmove:function(t){t.stopPropagation()},wheel:function(t){t.stopPropagation()}}},t._l(t.images,(function(image,e){return n("img",{key:e,ref:"thumbItems",refInFor:!0,staticClass:"tinybox__thumbs__item",class:{"tinybox__thumbs__item--active":t.index===e},attrs:{src:image.thumbnail||image.src||image||"",alt:t.images[t.index].alt||t.images[t.index].caption||""},on:{click:function(n){return n.stopPropagation(),t.goto(e)}}})})),0)]):t._e()])}
1),[],!1,null,"0aa2b62a",null).exports),Fo=function(t){return Oo.a.get("/me/wrapped-up",{params:t}).then((function(t){return t.data}))},Ho=(n(1199),Object(Ln.a)({},(function(){var t=this,e=t.$createElement;t._self._c;return t._m(0)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"pyro"},[e("div",{staticClass:"before"}),e("div",{staticClass:"after"})])}],!1,null,null,null).exports),Qo={props:{images:{type:Array,required:!0}},data:function(){return{checked:!0,imagesList:this.images,imageIndex:1}},computed:{downloadDisabled:function(){var t=[];return this.imagesList.forEach((function(image){image.selected&&t.push(image)})),t.length<=0}},mounted:function(){this.renderImageList(!0)},methods:{onSelectImage:function(t,e){this.imagesList=Uo()(this.imagesList,(function(n,r){return t===r&&(n.selected=e),n})),this.checked=this.imagesList.every((function(image){return image.selected}))},onCheckImages:function(t){this.renderImageList(t)},renderImageList:function(t){this.imagesList=Uo()(this.imagesList,(function(e){return e.selected=t,e}))},onClose:function(){this.$emit("changeDisplayLastItem",!1)},downloadImages:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,o,c,l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.downloadDisabled){if((n=t.imagesList.filter((function(image){return image.selected}))).length>1){r=n.map((function(image){return image.src}));try{o=new URLSearchParams,r.forEach((function(t){o.append("images[]",t)})),c=o.toString(),(l=document.createElement("a")).href="".concat("https://viblo.asia","/api/me/wrapped-up/download-images?").concat(c),l.target="_blank",l.click(),l.remove()}catch(e){t.$message.error(t.$t("wrappedUp.downloadMessage"))}}else Io()(t.imagesList,(function(image){image.selected&&image.src?(Object(kr.c)(image.src,"viblo-wrapped-up-2023-".concat(t.imageIndex,".png")),t.imageIndex+=1):t.$message.error(t.$t("wrappedUp.downloadMessage"))}));t.renderImageList(!1),t.checked=!1}case 1:case"end":return e.stop()}}),e)})))()}}},Xo=(n(1200),Object(Ln.a)(Qo,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"box-last"},[n("div",{staticClass:"box-last__content position-relative\n        d-flex flex-column align-items-center justify-content-center text-white"},[n("div",{staticClass:"box-last__bg-up position-absolute"}),t._v(" "),n("div",{staticClass:"box-last__popup"},[n("div",{staticClass:"position-relative box-last__popup__header"},[n("div",{staticClass:"title text-uppercase font-italic font-weight-bold"},[t._v("\n                    "+t._s(t.$t("wrappedUp.chooseImage"))+"\n                ")]),t._v(" "),n("img",{staticClass:"position-absolute",attrs:{src:"/images/wrapped-up/close-around.png",width:"32"},on:{click:function(e){return t.$emit("display",!1)}}})]),t._v(" "),n("div",{staticClass:"grid-container"},t._l(t.imagesList,(function(image,e){return n("div",{key:e,staticClass:"grid-item"},[n("el-checkbox",{staticClass:"mb-1 d-flex flex-column justity-content-center align-items-center",attrs:{value:image.selected},on:{change:function(n){return t.onSelectImage(e,n)}}},[n("img",{attrs:{src:image.src,width:"110",alt:""}})])],1)})),0),t._v(" "),n("div",{staticClass:"btn-content d-flex"},[n("div",{class:"btn-content__left d-flex justify-content-center align-items-center\n                    "+(t.downloadDisabled?"download-disabled":""),on:{click:t.downloadImages}},[n("img",{attrs:{src:"/images/wrapped-up/download.svg",width:"20"}}),t._v(" "),n("div",{staticClass:"text text-uppercase font-italic font-weight-bold ml-2"},[t._v("\n                        "+t._s(t.$t("wrappedUp.saveImage"))+"\n                    ")])]),t._v(" "),n("div",{staticClass:"btn-content__right d-flex justify-content-center align-items-center"},[n("el-checkbox",{on:{change:t.onCheckImages},model:{value:t.checked,callback:function(e){t.checked=e},expression:"checked"}},[n("div",{staticClass:"text text-uppercase font-italic font-weight-bold"},[t._v("\n                            "+t._s(t.$t("wrappedUp.all"))+"\n                        ")])])],1)])]),t._v(" "),n("div",{staticClass:"box-last__bg-down"})])])}
1),[],!1,null,null,null).exports),Go={};n(1201);function Yo(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Wo(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?Yo(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):Yo(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var Ko={components:{Tinybox:Vo,BackgroundEffect:Ho,LastItem:Xo,Loading:Object(Ln.a)(Go,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wrapped-up-loading"},[n("div",{staticClass:"wrapped-up-loading__contents position-relative\n        d-flex flex-column align-items-center justify-content-center text-white"},[n("div",{staticClass:"text"},[t._v("\n            "+t._s(this.$t("wrappedUp.toolTip"))+"\n            "),n("i",{staticClass:"el-icon-loading"})]),t._v(" "),n("img",{staticClass:"position-absolute",attrs:{src:"/images/wrapped-up/close.svg",width:"24"},on:{click:function(e){return t.$emit("skip")}}})])])}),[],!1,null,null,null).exports},data:function(){return{showWrappedUp:!1,displayImage:!1,showEffect:!1,showLastItem:!1,loading:!1,imageIndex:0,index:0,images:[],refTinyBox:void 0,statusTimeDone:0,isLoading:!1}},computed:Wo(Wo({},Object(l.c)("auth",["isAdmin"])),{},{isWrapped:function(){return new Date(this.$store.state.wrappedUpTime.startTime)<=Date.now()&&new Date(this.$store.state.wrappedUpTime.endTime)>=Date.now()},isWrappedWithAdmin:function(){return new Date(this.$store.state.wrappedUpTime.endTime)>=Date.now()&&this.isAdmin},user:function(){return this.$route.query.user}}),mounted:function(){var t=localStorage.getItem("show-wrapped-up");localStorage.setItem("show-wrapped-up",null===t||t),this.showWrappedUp=null===t||JSON.parse(t),"#wrappedup2023"===this.$route.hash&&(this.isWrapped||this.isAdmin)&&this.onDisplay(),window.addEventListener("keyup",this.keyup)},beforeDestroy:function(){window.removeEventListener("keyup",this.keyup)},methods:{close:function(){localStorage.setItem("show-wrapped-up",!1),this.showWrappedUp=!1},onCloseBox:function(){this.displayImage=!1,this.showEffect=!1,this.images=[]},skipLoading:function(){this.loading=!1,this.displayImage=!1,this.showEffect=!1},keyup:function(t){"ArrowRight"===t.code||"ArrowRight"===t.key||"Right"===t.key||39===t.keyCode?(this.index<=this.images.length-1&&(this.index+=1),this.index===this.images.length&&(this.index=0),this.onNext(this.index),this.changeImage(this.index)):"ArrowLeft"===t.code||"ArrowLeft"===t.key||"Left"===t.key||37===t.keyCode?(0===this.index?this.index=this.images.length-1:this.index-=1,this.onPrevious(this.index),this.changeImage(this.index)):"Escape"!==t.code&&"Escape"!==t.key&&"Esc"!==t.key&&27!==t.keyCode||this.onCloseBox()},onDisplay:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,o,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.loading=!0,n={},t.user&&(n={user:t.user}),e.next=6,Fo(n);case 6:o=e.sent,c=o.images,"https://images.viblo.asia",c.push({imageLink:"".concat("https://images.viblo.asia","/full/").concat(t.$store.state.wrappedUpTime.lastImage),template:null}),Io()(c,(function(image){(image.template||image.imageLink)&&t.images.push({src:image.imageLink,caption:t.$t("wrappedUp.withViblo"),template:image.template||null,selected:!0})})),Promise.all(Io()(c,function(){var e=Object(r.a)(regeneratorRuntime.mark((function e(image){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(image.src||!image.template){e.next=5;break}return e.next=3,t.updateImageData(image.template);case 3:t.statusTimeDone+=1,t.statusTimeDone===t.images.length-1&&(t.loading=!1,t.showEffect=!0,t.displayImage=!0,t.index=0,t.statusTimeDone=0);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())),t.images.length<=2&&(t.loading=!1,t.showEffect=!0,t.displayImage=!0,t.index=0,t.statusTimeDone=0),e.next=18;break;case 15:e.prev=15,e.t0=e.catch(0),t.$message.error(t.$t("wrappedUp.error"));case 18:case"end":return e.stop()}}),e,null,[[0,15]])})))()},updateImageData:function(template){var t=arguments,e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){var r,o,data;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.length>1&&void 0!==t[1]?t[1]:"next",o={template:template,action:r},e.user&&(o=Ao()({},o,{user:e.user})),n.next=5,Fo(o);case 5:data=n.sent,e.images=Uo()(e.images,(function(image){return image.template===template&&image.src!==data.imageLink&&(image.src=data.imageLink),image}));case 7:case"end":return n.stop()}}),n)})))()},onPrevious:function(t){this.isLoading=!0;var image=this.images[t-1];void 0!==image&&image.template&&this.updateImageData(image.template,"prev"),0===t&&"undefined"!==this.images[0]&&this.images[0].template&&this.updateImageData(this.images[0].template,"prev"),this.isLoading=!1},onNext:function(t){this.isLoading=!0;var image=this.images[t+1];void 0!==image&&image.template&&t>0&&this.updateImageData(image.template),0===t&&"undefined"!==this.images[0]&&this.images[0].template&&this.updateImageData(this.images[0].template),this.isLoading=!1},changeImage:function(t){this.showEffect=!1,0===t&&t<this.imageIndex&&this.imageIndex===this.images.length-1&&(this.showLastItem=!0),this.imageIndex=t},changeDisplayLastItem:function(t){this.showLastItem=t}}},Jo=(n(1202),n(1203),Object(Ln.a)(Ko,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.isWrapped||t.isWrappedWithAdmin?n("section",{staticClass:"section-wrapped-up"},[t.showWrappedUp?n("div",{staticClass:"v-wrapped-up"},[n("div",{staticClass:"btn-wrapped-up-close"},[n("i",{staticClass:"el-icon-close",on:{click:function(e){return t.close()}}})]),t._v(" "),n("img",{directives:[{name:"tooltip",rawName:"v-tooltip.left",modifiers:{left:!0}}],attrs:{src:"/images/btn-wrapped2023-up.png",title:t.$t("wrappedUp.lookBack"),alt:""},on:{click:t.onDisplay}})]):t._e(),t._v(" "),t.loading?n("Loading",{on:{skip:t.skipLoading}}):t._e(),t._v(" "),t.displayImage&&!t.loading?n("client-only",[n("Tinybox",{staticClass:"tinybox-custom",attrs:{images:t.images,"is-loading-image":t.isLoading,loop:"","no-thumbs":"","is-close-outsite-box":""},on:{close:t.onCloseBox,prev:t.onPrevious,next:t.onNext,change:t.changeImage},model:{value:t.index,callback:function(e){t.index=e},expression:"index"}}),t._v(" "),t.showLastItem?n("LastItem",{attrs:{images:t.images},on:{display:t.changeDisplayLastItem}}
1):t._e()],1):t._e(),t._v(" "),t.showEffect?n("BackgroundEffect"):t._e()],1):t._e()}),[],!1,null,"044c47a3",null).exports),Zo={props:{offset:{type:Number,default:500}},mounted:function(){window.addEventListener("scroll",this.checkShowButton)},destroyed:function(){window.removeEventListener("scroll",this.checkShowButton)},methods:{checkShowButton:function(){!function(button,t){window.scrollY>t?button.classList.add("top-btn-is-visible"):button.classList.remove("top-btn-is-visible")}(this.$el,this.offset)}}},ti=(n(1204),Object(Ln.a)(Zo,(function(){var t=this.$createElement,e=this._self._c||t;return e("a",{directives:[{name:"scroll-to",rawName:"v-scroll-to",value:"body",expression:"'body'"}],staticClass:"hidden-sm-down",attrs:{id:"top-btn",href:"javascript:void(0);"}},[e("i",{staticClass:"fa fa-arrow-up",attrs:{"aria-hidden":"true"}})])}),[],!1,null,null,null).exports);function ei(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function ni(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ei(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):ei(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var ri={components:{MainNavbar:mo,AuthDialog:Bo,MainFooter:_o,WrappedUp:Jo,ScrollToTop:ti,FixedBottomBar:function(){return n.e(2).then(n.bind(null,1598))},PopupDownloadApp:function(){return n.e(4).then(n.bind(null,2657))}},mixins:[Fn],middleware:["root-domain-redirect"],computed:ni(ni({},Object(l.e)("settings",["theme","viewed_popup_newsletter","complete_tour"])),Object(l.c)("auth",["authenticated"]))},oi=(n(1205),Object(Ln.a)(ri,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.theme,attrs:{id:"app-container"}},[n("MainNavbar"),t._v(" "),n("div",{attrs:{id:"main-content"}},[n("nuxt")],1),t._v(" "),n("MainFooter"),t._v(" "),n("AuthDialog"),t._v(" "),t.authenticated?n("WrappedUp"):t._e(),t._v(" "),n("ScrollToTop"),t._v(" "),t.authenticated?t._e():n("FixedBottomBar"),t._v(" "),n("PopupDownloadApp")],1)}),[],!1,null,null,null).exports);function ii(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function ai(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ii(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):ii(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var si={components:{MainNavbar:mo,MainFooter:_o,AuthDialog:Bo},mixins:[oi],computed:ai(ai({},Object(l.e)("auth",["guest"])),Object(l.e)("settings",["theme"]))},ci=Object(Ln.a)(si,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.theme,attrs:{id:"app-container"}},[n("MainNavbar"),t._v(" "),n("div",{staticClass:"bg-faded mt-2",attrs:{id:"main-content"}},[n("div",{staticClass:"container"},[n("div",{staticClass:"row pt-3 pb-1"},[n("div",{staticClass:"col-md-12"},[n("nuxt")],1)])])]),t._v(" "),n("MainFooter"),t._v(" "),n("AuthDialog")],1)}),[],!1,null,null,null).exports;function ui(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function hi(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ui(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):ui(Object(source)).forEac
1h((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var di={components:{Quicksearch:Ir,MainMenu:Yn,UserMenu:Zn,WriteMenu:ar,Announcements:Gr,Notifications:no,FeedbackPopup:oo,LanguageSwitcher:ao.a,Services:uo},data:function(){return{showBackgroud:!1}},computed:hi(hi(hi(hi(hi({},Object(l.e)("auth",["guest","user"])),Object(l.c)("auth",["authenticated"])),Object(l.c)("config",{logo:"currentLogo"})),Object(l.e)("config",["vars"])),{},{getLocale:function(){return this.$i18n.locale},isSubdomain:function(){return this.vars.is_special_organization||this.vars.is_special_profile}}),beforeDestroy:function(){document.body.style.pointerEvents="unset"},methods:{toAppUrl:En.n,doneUpdate:function(){var t=this;setTimeout((function(){t.$refs.menuUser.openMenu()}),1)},disableEventBody:function(){document.getElementsByTagName("body")[0].style.pointerEvents="none"},enableEventBody:function(){document.getElementsByTagName("body")[0].style.pointerEvents="auto"}}},pi=Object(Ln.a)(di,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("header",{staticClass:"main-navbar main-navbar__group py-1"},[n("div",{staticClass:"main-navbar__container container px-md-0"},[n("div",{staticClass:"d-flex main-navbar__grow"},[t.guest?n("nuxt-link",{staticClass:"main-navbar__logo d-block mr-lg-5",attrs:{to:"/newest",exact:""}},[t.logo?n("progressive-img",{attrs:{"tiny-src":t.tinyUrl,src:t.logo.image,width:62,height:21,alt:""}}):n("img",{attrs:{src:"/logo_full.svg",alt:"Viblo",width:"62",height:"21"}})],1):n("span",[t.isSubdomain?n("a",{staticClass:"main-navbar__logo d-block mr-lg-5",attrs:{href:t.toAppUrl("/"),exact:""}},[t.logo?n("progressive-img",{attrs:{"tiny-src":t.tinyUrl,src:t.logo.image,width:62,height:21,alt:""}}):n("img",{attrs:{src:"/logo_full.svg",alt:"Viblo",width:"62",height:"21"}})],1):n("nuxt-link",{staticClass:"main-navbar__logo d-block mr-lg-5",attrs:{to:"/",exact:""}},[t.logo?n("progressive-img",{attrs:{"tiny-src":t.tinyUrl,src:t.logo.image,width:62,height:21,alt:""}}):n("img",{attrs:{src:"/logo_full.svg",alt:"Viblo",width:"62",height:"21"}})],1)],1),t._v(" "),n("MainMenu",{staticClass:"hidden-md-down"})],1),t._v(" "),n("div",{staticClass:"main-navbar__right"},[n("nuxt-link",{staticClass:"link text-muted hidden-md-up mr-1",attrs:{to:"/search"}},[n("i",{staticClass:"fa fa-search",attrs:{"aria-hidden":"true"}})]),t._v(" "),n("quicksearch",{staticClass:"hidden-sm-down flex-fill mr-1"}),t._v(" "),n("div",{staticClass:"main-navbar__group"},[n("Announcements",{staticClass:"mr-1"}),t._v(" "),t.guest?t._e():n("Notifications",{staticClass:"mr-1"})],1),t._v(" "),n("div",{staticClass:"main-navbar__group"},[n("div",{staticClass:"mr-05"},[t.guest?t._e():n("WriteMenu",{staticClass:"main-navbar__writer",attrs:{id:"v-step-1"}})],1),t._v(" "),n("div",{staticClass:"main-navbar__group"},[n("LanguageSwitcher",{staticClass:"sm-response"})],1),t._v(" "),n("Services"),t._v(" "),n("UserMenu",{ref:"menuUser"}),t._v(" "),t.showBackgroud?n("div",{staticClass:"backgroud-vue-tour"}):t._e()],1)],1)]),t._v(" "),n("feedback-popup",{ref:"feedbackDialog"})],1)}),[],!1,null,null,null).exports;function fi(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function mi(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?fi(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):fi(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var gi={components:{MobileApp:bo,FeedbackPopup:oo},data:function(){return{vibloServices:so}},computed:mi(mi(mi(mi({},Object(l.e)("auth",["guest"])),Object(l.e)("vueTour",["step4"])),Object(l.e)("config",["vars"])),{},{termPath:function(){return"en"===this.$i18n.locale?"/terms/en_term":"/terms/vi_term"},isSubdomain:function(){return this.vars.is_special_organization||this.vars.is_special_profile}}),methods:{toAppUrl:En.n}},bi=(n(1206),Object(Ln.a)(gi,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("footer",{staticClass:"footer footer-subdomain",attrs:{id:"footer"}},[n("v-container",{staticClass:"pt-2"},[n("v-row",[n("v-col",{staticClass:"mb-1 mb-md-0",attrs:{md:4}},[n("h4",{staticClass:"footer__header"},[t._v("\n                    "+t._s(t.$t("footer.resources.title"))+"\n                ")]),t._v(" "),n("ul",{staticClass:"list-unstyled footer__links resources"},[n("li",[t.isSubdomain?n("a",{staticClass:"link",attrs:{href:t.toAppUrl("/")}},[t._v("\n                            "+t._s(t.$t("footer.resources.posts"))+"\n                        ")]):n("nuxt-link",{staticClass:"link",attrs:{to:"/"}},[t._v("\n                            "+t._s(t.$t("footer.resources.posts"))+"\n                        ")])],1),t._v(" "),n("li",[n("nuxt-link",{staticClass:"link",attrs:{to:"/organizations"}},[t._v("\n                            "+t._s(t.$t("footer.resources.organizations"))+"\n                        ")])],1),t._v(" "),n("li",[t.isSubdomain?n("a",{staticClass:"link",attrs:{href:t.toAppUrl("/questions")}},[t._v("\n                            "+t._s(t.$t("footer.resources.questions"))+"\n                        ")]):n("nuxt-link",{staticClass:"link",attrs:{to:"/questions"}},[t._v("\n                            "+t._s(t.$t("footer.resources.questions"))+"\n                        ")])],1),t._v(" "),n("li",[n("nuxt-link",{staticClass:"link",attrs:{to:"/tags"}},[t._v("\n                            "+t._s(t.$t("footer.resources.tags"))+"\n                        ")])],1),t._v(" "),n("li",[t.isSubdomain?n("a",{staticClass:"link",attrs:{href:t.toAppUrl("/videos")}},[t._v("\n                            "+t._s(t.$t("footer.resources.videos"))+"\n                        ")]):n("nuxt-link",{staticClass:"link",attrs:{to:"/videos"}},[t._v("\n                            "+t._s(t.$t("footer.resources.videos"))+"\n                        ")])],1),t._v(" "),n("li",[n("nuxt-link",{staticClass:"link",attrs:{to:"/authors"}},[t._v("\n                            "+t._s(t.$t("footer.resources.authors"))+"\n                        ")])],1),t._v(" "),n("li",[n("nuxt-link",{staticClass:"link",attrs:{to:"/discussion"}},[t._v("\n                            "+t._s(t.$t("footer.resources.discussions"))+"\n                        ")])],1),t._v(" "),n("li",[n("nuxt-link",{staticClass:"link",attrs:{to:"/explore"}},[t._v("\n                            "+t._s(t.$t("footer.resources.recommendSystem"))+"\n                        ")])],1),t._v(" "),n("li",[n("a",{staticClass:"link",attrs:{href:"https://about.viblo.asia/tools/",target:"_blank",rel:"noopener"}},[t._v(t._s(t.$t("footer.resources.tools")))])]),t._v(" "),n("li",[n("a",{staticClass:"link",attrs:{href:"https://machine-learning.viblo.asia",target:"_blank",rel:"noopener"}},[t._v(t._s(t.$t("footer.resources.machineLearning")))])]),t._v(" "),n("li",[n("a",{staticClass:"link",attrs:{href:"https://status.viblo.asia",target:"_blank",rel:"noopener"}},[t._v(t._s(t.$t("footer.resources.systemStatus")))])])])]),t._v(" "),n("v-col",{staticClass:"mb-1 mb-md-0",attrs:{md:3,xl:{offset:1}}},[n("h4",{staticClass:"footer__header"},[t._v("\n                    "+t._s(t.$t("footer.resources.services"))+"\n                ")]),t._v(" "),n("ul",{staticClass:"list-unstyled footer__links service-badges"},[n("v-row",t._l(t.vibloServices,(function(e){return n("v-col",{key:e.name,attrs:{xs:12,sm:3,md:12,lg:12,xl:12}},[n("li",{staticClass:"footer__links__external-link"},[n("a",{staticClass:"link",attrs:{href:e.src,target:"_blank",rel:"noopener"}},[n("img",{staticClass:"link-icon",attrs:{src:e.icon,alt:e.name,width:"24",height:"24"}}),t._v("\n                                    "+t._s(e.name)+"\n                                ")])])])})),1)],1)]),t._v(" "),n("v-col",{staticClass:"mb-1 mb-md-0",attrs:{md:{span:3,offset:1}}},[n("div",{staticClass:"d-flex align-items-baseline"},[n("h4",{staticClass:"footer__header mr-1"},[t._v("\n                        "+t._s(t.$t("footer.resources.mobileAp
1p"))+"\n                    ")])]),t._v(" "),n("MobileApp",{staticClass:"mb-05"}),t._v(" "),n("h4",{staticClass:"footer__header"},[t._v("\n                    "+t._s(t.$t("footer.resources.links"))+"\n                ")]),t._v(" "),n("ul",{staticClass:"list-unstyled footer__social-links"},[n("li",{staticClass:"footer__socail-links__external-link"},[n("a",{staticClass:"link",attrs:{href:"https://www.facebook.com/viblo.asia/",target:"_blank",rel:"noopener"}},[n("i",{staticClass:"fa fa-facebook link-icon"})])]),t._v(" "),n("li",{staticClass:"footer__socail-links__external-link"},[n("a",{staticClass:"link",attrs:{href:"https://github.com/viblo-asia/",target:"_blank",rel:"noopener"}},[n("i",{staticClass:"fa fa-github link-icon"})])]),t._v(" "),n("li",{staticClass:"footer__socail-links__external-link"},[n("a",{staticClass:"link",attrs:{href:"https://chrome.google.com/webstore/detail/viblos-news-feed/mliahmjgdpkkicelofhbhgiidgljijmj",target:"_blank",rel:"noopener"}},[n("i",{staticClass:"fa fa-chrome link-icon"})])]),t._v(" "),n("li",{staticClass:"footer__socail-links__external-link"},[n("a",{staticClass:"link",attrs:{href:"https://atom.io/packages/viblo",target:"_blank",rel:"noopener"}},[n("img",{staticClass:"link-icon",attrs:{src:"/images/atom-editor-subdomain.svg",alt:"Atom Icon",width:"24",height:"24"}})])])])],1)],1),t._v(" "),n("hr",{staticClass:"footer__divider"}),t._v(" "),n("v-row",{staticClass:"py-1"},[n("v-col",{attrs:{xs:12,sm:4,lg:5,xl:6}},[n("p",{staticClass:"copyright"},[t._v("\n                    © "+t._s((new Date).getFullYear())+"\n                    "),n("b",[t._v("Viblo")]),t._v(t._s(t.$t("footer.resources.rightsReserved"))+"\n                ")])]),t._v(" "),n("v-col",{attrs:{xs:12,sm:8,lg:7,xl:6}},[n("ul",{staticClass:"list-unstyled d-flex justify-content-between flex-wrap"},[n("li",{staticClass:"mb-05"},[n("a",{staticClass:"link",attrs:{href:"https://about.viblo.asia/",target:"_blank",rel:"noopener"}},[t._v(t._s(t.$t("footer.about")))])]),t._v(" "),n("li",{staticClass:"mb-05 mx-05",class:{"hightlight-step4":t.step4},attrs:{id:"v-step-4"}},[n("a",{staticClass:"link",class:{pulse:t.step4},attrs:{href:"/feedback"},on:{click:function(e){return e.preventDefault(),t.$refs.feedbackDialog.open.apply(null,arguments)}}},[t._v(t._s(t.$t("footer.feedback.title")))])]),t._v(" "),n("li",{staticClass:"mb-05 mx-05"},[n("nuxt-link",{staticClass:"link",attrs:{to:"/helps"}},[t._v("\n                            "+t._s(t.$t("footer.help"))+"\n                        ")])],1),t._v(" "),n("li",{staticClass:"mb-05 mx-05"},[n("nuxt-link",{staticClass:"link",attrs:{to:"/faq"}},[t._v("\n                            "+t._s(t.$t("footer.fAQs"))+"\n                        ")])],1),t._v(" "),n("li",{staticClass:"mb-05 mx-05"},[n("nuxt-link",{staticClass:"link",attrs:{to:"/rss-channels"}},[t._v("\n                            "+t._s(t.$t("footer.rSS"))+"\n                        ")])],1),t._v(" "),n("li",{staticClass:"mb-05 mx-05"},[n("nuxt-link",{staticClass:"link",attrs:{to:t.termPath}},[t._v("\n                            "+t._s(t.$t("footer.terms"))+"\n                        ")])],1),t._v(" "),n("li",{staticClass:"mb-05 mx-05"},[n("a",{staticClass:"link dmca-badge",attrs:{href:"//www.dmca.com/Protection/Status.aspx?ID=41818fcd-5a60-4504-867a-38fde606354e",title:"DMCA.com Protection Status",target:"_blank",rel:"noopener"}},[n("img",{attrs:{src:"https://images.dmca.com/Badges/dmca-badge-w100-5x1-07.png?ID=41818fcd-5a60-4504-867a-38fde606354e",alt:"DMCA.com Protection Status",width:"100",height:"20"}})]),t._v(" "),n("script",{attrs:{src:"https://images.dmca.com/Badges/DMCABadgeHelper.min.js"}})])])])],1)],1),t._v(" "),n("feedback-popup",{ref:"feedbackDialog"})],1)}),[],!1,null,null,null).exports);function vi(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function yi(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?vi(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):vi(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var wi={components:{MainNavbar:pi,AuthDialog:Bo,MainFooter:bi,ScrollToTop:ti,FixedBottomBar:function(){return n.e(2).then(n.bind(null,1598))},PopupDownloadApp:function(){return n.e(4).then(n.bind(null,2657))}},mixins:[Fn],middleware:["root-domain-redirect"],computed:yi(yi(yi(yi({},Object(l.e)("settings",["theme"])),Object(l.e)("typeControl",["modeTheme"])),Object(l.c)("auth",["authenticated"])),{},{showPopupNewsletter:function(){return!this.$store.state.settings.viewed_popup_newsletter},modeThemeSubdomain:function(){return this.$store.state.typeControl.modeTheme}}),mounted:function(){var t=this.$cookies.get("modeTheme")||"default";this.switchMode(t)},methods:yi({},Object(l.d)({switchMode:"typeControl/switchMode"}))},_i=(n(1207),Object(Ln.a)(wi,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:[t.theme,t.modeThemeSubdomain],attrs:{id:"app-container"}},[n("MainNavbar"),t._v(" "),n("div",{attrs:{id:"main-content"}},[n("nuxt")],1),t._v(" "),n("MainFooter"),t._v(" "),n("AuthDialog"),t._v(" "),n("ScrollToTop"),t._v(" "),n("PopupDownloadApp"),t._v(" "),t.authenticated?t._e():n("FixedBottomBar")],1)}),[],!1,null,null,null).exports);function ki(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Oi(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ki(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):ki(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var xi={components:{MainNavbar:pi,AuthDialog:Bo,MainFooter:bi,ScrollToTop:ti,FixedBottomBar:function(){return n.e(2).then(n.bind(null,1598))},PopupDownloadApp:function(){return n.e(4).then(n.bind(null,2657))}},mixins:[Fn],middleware:["root-domain-redirect"],computed:Oi(Oi(Oi(Oi({},Object(l.e)("settings",["theme"])),Object(l.e)("typeControl",["modeTheme"])),Object(l.c)("auth",["authenticated"])),{},{showPopupNewsletter:function(){return!this.$store.state.settings.viewed_popup_newsletter},modeThemeSubdomain:function(){return this.$store.state.typeControl.modeTheme}}),mounted:function(){var t=this.$cookies.get("modeTheme")||"default";this.switchMode(t)},methods:Oi({},Object(l.d)({switchMode:"typeControl/switchMode"}))},Ci=Object(Ln.a)(xi,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:[t.theme,t.modeThemeSubdomain],attrs:{id:"app-container"}},[n("MainNavbar"),t._v(" "),n("div",{attrs:{id:"main-content"}},[n("nuxt")],1),t._v(" "),n("MainFooter"),t._v(" "),n("AuthDialog"),t._v(" "),n("ScrollToTop"),t._v(" "),n("PopupDownloadApp"),t._v(" "),t.authenticated?t._e():n("FixedBottomBar")],1)}),[],!1,null,null,null).exports,ji=(n(1208),Object(Ln.a)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"layout--survey"},[n("v-container",[n("v-row",[n("v-col",{attrs:{sm:"12"}},[n("nuxt-link",{staticClass:"logo-wrapper py-4",attrs:{to:"/"}},[n("img",{staticClass:"logo",attrs:{src:"/images/logo--dark.png",alt:"Viblo logo"}})]),t._v(" "),n("nuxt-child")],1)],1)],1)],1)}),[],!1,null,null,null).exports);function Si(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Pi(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?Si(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):Si(Object(source)).forEac
1h((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var Ti={components:{MainMenu:Yn,UserMenu:Zn,WriteMenu:ar,Announcements:Gr,Notifications:no},computed:Pi(Pi({},Object(l.e)("auth",["guest"])),Object(l.e)("vueTour",["showBackgroud"]))};function Ai(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}var Ri={components:{WritingNavbar:Object(Ln.a)(Ti,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("header",{staticClass:"main-navbar main-navbar__group py-1"},[n("div",{staticClass:"main-navbar__container container-fluid"},[n("div",{staticClass:"main-navbar__left"},[n("nuxt-link",{staticClass:"main-navbar__logo d-block mr-lg-5",attrs:{to:"/",exact:""}},[n("img",{attrs:{src:"/logo_full.svg",alt:"Viblo",width:"62",height:"21"}})]),t._v(" "),n("MainMenu",{staticClass:"hidden-md-down"})],1),t._v(" "),n("div",{staticClass:"main-navbar__right"},[n("div",{staticClass:"main-navbar__group"},[n("Announcements",{staticClass:"mr-1"}),t._v(" "),t.guest?t._e():n("Notifications",{staticClass:"mr-1"})],1),t._v(" "),n("div",{staticClass:"main-navbar__group"},[t.guest?t._e():n("WriteMenu",{staticClass:"mr-1"}),t._v(" "),n("UserMenu")],1)])]),t._v(" "),t.showBackgroud?n("div",{staticClass:"backgroud-vue-tour"}):t._e()])}),[],!1,null,null,null).exports,AuthDialog:Bo},mixins:[Fn],computed:function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?Ai(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):Ai(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({},Object(l.e)("settings",["theme"]))},Ei=Object(Ln.a)(Ri,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.theme,attrs:{id:"app-container"}},[n("WritingNavbar"),t._v(" "),n("nuxt",{staticClass:"container-fluid bg-light"}),t._v(" "),n("AuthDialog")],1)}),[],!1,null,null,null).exports;function Di(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return Li(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Li(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function Li(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}var Ni={_blank:Object(Bn.r)(Vn),_default:Object(Bn.r)(oi),_faded:Object(Bn.r)(ci),"_subdomain/default":Object(Bn.r)(_i),"_subdomain/layout-subdomains-2":Object(Bn.r)(Ci),_survey:Object(Bn.r)(ji),_writing:Object(Bn.r)(Ei)},$i={render:function(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:function(t){window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")}))}}},[o]);return t("div",{domProps:{id:"__nuxt"}},[n,c])},data:function(){return{isOnline:!0,layout:null,layoutName:"",nbFetching:0}},beforeCreate:function(){c.default.util.defineReactive(this,"nuxt",this.$options.nuxt)},created:function(){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:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.$loading=t.$refs.loading;
1case 1:case"end":return e.stop()}}),e)})))()},watch:{"nuxt.err":"errorChanged"},computed:{isOffline:function(){return!this.isOnline},isFetching:function(){return this.nbFetching>0}},methods:{refreshOnlineStatus:function(){void 0===window.navigator.onLine?this.isOnline=!0:this.isOnline=window.navigator.onLine},refresh:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((n=Object(Bn.h)(t.$route)).length){e.next=3;break}return e.abrupt("return");case 3:return t.$loading.start(),r=n.map((function(e){var p=[];if(e.$options.fetch&&e.$options.fetch.length&&p.push(Object(Bn.p)(e.$options.fetch,t.context)),e.$fetch)p.push(e.$fetch());else{var n,r=Di(Object(Bn.e)(e.$vnode.componentInstance));try{for(r.s();!(n=r.n()).done;){var component=n.value;p.push(component.$fetch())}}catch(t){r.e(t)}finally{r.f()}}return e.$options.asyncData&&p.push(Object(Bn.p)(e.$options.asyncData,t.context).then((function(t){for(var n in t)c.default.set(e.$data,n,t[n])}))),Promise.all(p)})),e.prev=5,e.next=8,Promise.all(r);case 8:e.next=15;break;case 10:e.prev=10,e.t0=e.catch(5),t.$loading.fail(e.t0),Object(Bn.k)(e.t0),t.error(e.t0);case 15:t.$loading.finish();case 16:case"end":return e.stop()}}),e,null,[[5,10]])})))()},errorChanged:function(){if(this.nuxt.err){this.$loading&&(this.$loading.fail&&this.$loading.fail(this.nuxt.err),this.$loading.finish&&this.$loading.finish());var t=(Nn.options||Nn).layout;"function"==typeof t&&(t=t(this.context)),this.setLayout(t)}},setLayout:function(t){return t&&Ni["_"+t]||(t="default"),this.layoutName=t,this.layout=Ni["_"+t],this.layout},loadLayout:function(t){return t&&Ni["_"+t]||(t="default"),Promise.resolve(Ni["_"+t])}},components:{NuxtLoading:zn}};n(140);function Bi(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return Mi(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Mi(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function Mi(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}c.default.use(l.a);var Ii=["state","getters","actions","mutations"],qi={};(qi=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)),zi(t,e)}(n(1209),"store/index.js")).modules=qi.modules||{},Vi(n(1242),"announcements.js"),Vi(n(1243),"auth.js"),Vi(n(1244),"badges.js"),Vi(n(1245),"bookmarks.js"),Vi(n(1246),"commentsList.js"),Vi(n(1247),"conditionCreateOrganization.js"),Vi(n(1248),"config.js"),Vi(n(1250),"hovercard.js"),Vi(n(1251),"log.js"),Vi(n(1252),"mayFestTime.js"),Vi(n(1253),"notifications.js"),Vi(n(1254),"oneTap.js"),Vi(n(1255),"organizationsUser.js"),Vi(n(1256),"pageHistory.js"),Vi(n(1257),"postHomeFeed.js"),Vi(n(1563),"postView.js"),Vi(n(1258),"profile.js"),Vi(n(1259),"promoted.js"),Vi(n(1260),"questionHomeFeed.js"),Vi(n(466),"questionView.js"),Vi(n(1261),"seriesView.js"),Vi(n(1262),"settings.js"),Vi(n(1263),"survey.js"),Vi(n(1264),"toast.js"),Vi(n(1265),"typeControl.js"),Vi(n(1267),"userRankings.js"),Vi(n(1268),"vueTour.js"),Vi(n(1269),"witePostNewYear.js"),Vi(n(1270),"wrappedUpTime.js"),Vi(n(49),"__modules/comments.js"),Vi(n(53),"__modules/post-feed.js"),Vi(n(73),"__modules/question-feed.js"),Vi(n(48),"__modules/user-list.js"),Vi(n(471),"__plugins/pushNewPosts.js"),Vi(n(483),"__plugins/pushNotifications.js"),Vi(n(135),"__utils/entities.js"),Vi(n(117),"__utils/schemas.js"),Vi(n(1275),"entities/organizations.js"),Vi(n(355),"entities/posts.js"),Vi(n(136),"entities/questions.js"),Vi(n(1564),"entities/tags.js"),Vi(n(45),"entities/users.js"),Vi(n(1276),"organizationView/followers.js"),Vi(n(1277),"organizationView/members.js"),Vi(n(1278),"organizationView/technologyStacks.js"),Vi(n(1279),"organizationView/topMembers.js"),Vi(n(1280),"postView/comments.js"),Vi(n(1281),"profile/contact.js"),Vi(n(1282),"profile/followers.js"),Vi(n(1283),"profile/following.js"),Vi(n(1284),"profile/posts.js"),Vi(n(1285),"profile/questions.js"),Vi(n(1286),"profile/skills.js"),Vi(n(1287),"questionView/answers.js"),Vi(n(1291),"questionView/comments.js"),Vi(n(1292),"seriesView/comments.js"),Vi(n(1293),"tagView/followers.js"),Vi(n(473),"tagView/posts.js"),Vi(n(1294),"tagView/questions.js"),Vi(n(1295),"writeups/puzzlePosts.js");var Ui=qi instanceof Function?qi:function(){return new l.a.Store(Object.assign({strict:!1},qi))};function zi(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:function(){return n}})}return t}function Vi(t,e){t=t.default||t;var n=e.replace(/\.(js|mjs)$/,"").split("/"),r=n[n.length-1],o="store/".concat(e);
1if(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 function(){return n}}return zi(t,e)}(t,o):zi(t,o),Ii.includes(r)){var c=r;Hi(Fi(qi,n,{isProperty:!0}),t,c)}else{"index"===r&&(n.pop(),r=n[n.length-1]);var l,h=Fi(qi,n),d=Bi(Ii);try{for(d.s();!(l=d.n()).done;){var f=l.value;Hi(h,t[f],f)}}catch(t){d.e(t)}finally{d.f()}!1===t.namespaced&&delete h.namespaced}}function Fi(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.isProperty,o=void 0!==r&&r;if(!e.length||o&&1===e.length)return t;var c=e.shift();return t.modules[c]=t.modules[c]||{},t.modules[c].namespaced=!0,t.modules[c].modules=t.modules[c].modules||{},Fi(t.modules[c],e,{isProperty:o})}function Hi(t,e,n){e&&("state"===n?t.state=e||t.state:t[n]=Object.assign({},t[n],e))}n(883);var Qi=n(884),Xi=n.n(Qi),Gi=n(121),Yi=n(497),Wi=n(1574),Ki=n(1575),Ji=n(1576),Zi=n(1577),ta=n(1578),ea=n(936);function na(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function ra(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?na(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):na(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var oa=function(t,e){var n={dsn:"https://[email protected]/9",environment:"production",tracesSampleRate:.05};t.$config&&t.$config.sentry&&Xi()(n,t.$config.sentry.config,t.$config.sentry.clientConfig),n.integrations=[new Wi.a({}),new Ki.a({}),new Ji.a({}),new Zi.a({}),new ta.a(ra({Vue:c.default},{attachProps:!0,logErrors:!1,tracing:!0,tracingOptions:{hooks:["mount","update"],timeout:2e3,trackComponents:!0}}))],n.integrations.push(new ea.a.BrowserTracing({})),Gi.e(n),e("sentry",Yi),t.$sentry=Yi},ia=n(887),aa=n.n(ia),sa=function(t,e){var n=t.req,r=t.res,o=!0;e("cookies",aa()(n,r,o))},ca=n(888),ua=n.n(ca);function la(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function ha(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?la(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):la(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var da=function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(e,n){var r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.$config&&e.$config.googleAnalytics||{},"function"!=typeof(o=ha(ha({},{dev:!0,debug:{sendHitTask:!0},id:"G-HF9XE2NDGV"}),r)).asyncID){t.next=7;break}return t.next=6,o.asyncID(e);case 6:o.id=t.sent;case 7:c.default.use(ua.a,ha(ha({},{router:e.app.router}),o)),e.$ga=c.default.$ga,n("ga",c.default.$ga);case 10:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}(),pa=n(61),fa=(n(225),n(417),n(165),n(469)),ma=n(470),ga={COMPONENT_OPTIONS_KEY:"nuxtI18n",STRATEGIES:{PREFIX:"prefix",PREFIX_EXCEPT_DEFAULT:"prefix_except_default",PREFIX_AND_DEFAULT:"prefix_and_default",NO_PREFIX:"no_prefix"}},ba=void 0,va={vueI18n:{fallbackLocale:"en",silentTranslationWarn:!0},vueI18nLoader:!0,locales:[{code:"vi",file:"vi.js",name:"Tiếng Việt"},{code:"en",file:"en.js",name:"English"}],defaultLocale:"vi",defaultDirection:"ltr",routesNameSeparator:"___",defaultLocaleRouteNameSuffix:"default",sortRoutes:!0,strategy:"prefix_except_default",lazy:!1,langDir:"/srv/viblo/app/lang",rootRedirect:null,detectBrowserLanguage:{alwaysRedirect:!1,cookieCrossOrigin:!1,cookieDomain:null,cookieKey:"i18n_redirected",cookieSecure:!1,fallbackLocale:"",onlyOnNoPrefix:!1,onlyOnRoot:!1,useCookie:!0},differentDomains:!1,seo:!1,baseUrl:"",vuex:{moduleName:"i18n",syncLocale:!0,syncMessages:!1,syncRouteParam
1s:!1},parsePages:!0,pages:{},skipSettingLocaleOnNavigate:!1,beforeLanguageSwitch:function(){return null},onBeforeLanguageSwitch:function(){},onLanguageSwitched:function(){return null},normalizedLocales:[{code:"vi",file:"vi.js",name:"Tiếng Việt"},{code:"en",file:"en.js",name:"English"}],localeCodes:["vi","en"]},ya={
1"en.js":function(){return Promise.resolve(fa.default)},
1"vi.js":function(){return Promise.resolve(ma.default)}
1},wa=(n(276),n(130),n(1296),n(489)),_a=n.n(wa);function ka(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return Oa(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Oa(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function Oa(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function xa(text){return"[nuxt-i18n] ".concat(text)}function Ca(input){return input.split(",").map((function(t){return t.split(";")[0]}))}function ja(t,e){var n,r=[],o=[],c=ka(t);try{for(c.s();!(n=c.n()).done;){var l=n.value,code=l.code,h=l.iso||code;o.push({code:code,iso:h})}}catch(t){c.e(t)}finally{c.f()}var d,f=ka(e.entries());try{var m=function(){var t=Object($n.a)(d.value,2),n=t[0],c=t[1],l=o.find((function(t){return t.iso.toLowerCase()===c.toLowerCase()}));if(l)return r.push({code:l.code,score:1-n/e.length}),"break"};for(f.s();!(d=f.n()).done;){if("break"===m())break}}catch(t){f.e(t)}finally{f.f()}var v,y=ka(e.entries());try{var w=function(){var t=Object($n.a)(v.value,2),n=t[0],c=t[1].split("-")[0].toLowerCase(),l=o.find((function(t){return t.iso.split("-")[0].toLowerCase()===c}));if(l)return r.push({code:l.code,score:.999-n/e.length}),"break"};for(y.s();!(v=y.n()).done;){if("break"===w())break}}catch(t){y.e(t)}finally{y.f()}return r.length>1&&r.sort((function(t,e){return t.score===e.score?e.code.length-t.code.length:e.score-t.score})),r.length?r[0].code:void 0}function Sa(t,e){var n;if(n=window.location.host){var r=t.find((function(t){return t.domain===n}));if(r)return r.code}return""}function Pa(t){return new RegExp("^/(".concat(t.join("|"),")(?:/|$)"),"i")}function Ta(t,e){var n=e.routesNameSeparator,r=e.defaultLocaleRouteNameSuffix,o="(".concat(t.join("|"),")"),c="(?:".concat(n).concat(r,")?"),l=new RegExp("".concat(n).concat(o).concat(c,"$"),"i"),h=Pa(t);return function(t){if(t.name){var e=t.name.match(l);if(e&&e.length>1)return e[1]}else if(t.path){var n=t.path.match(h);if(n&&n.length>1)return n[1]}return""}}function Aa(t,e){var n,r=e.useCookie,o=e.cookieKey,c=e.localeCodes;if(r&&((n=_a.a.get(o))&&c.includes(n)))return n}function Ra(t,e,n){var r=n.useCookie,o=n.cookieDomain,c=n.cookieKey,l=n.cookieSecure,h=n.cookieCrossOrigin;if(r){var d=new Date,f={expires:new Date(d.setDate(d.getDate()+365)),path:"/",sameSite:h?"none":"lax",secure:h||l};o&&(f.domain=o),_a.a.set(c,t,f)}}var Ea=n(83);function Da(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function La(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?Da(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):Da(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}function Na(t,e){return $a.apply(this,arguments)}function $a(){return($a=Object(r.a)(regeneratorRuntime.mark((function t(e,n){var r,o,c,l,h,d,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.app,(o=r.i18n).loadedLanguages||(o.loadedLanguages=[]),o.loadedLanguages.includes(n)){t.next=34;break}if(!(c=va.normalizedLocales.find((function(t){return t.code===n})))){t.next=33;break}if(!(l=c.file)){t.next=30;break}if((d=e.nuxtState)&&d.__i18n&&d.__i18n.langs[n]&&(h=d.__i18n.langs[n],e.isDev&&ya[l]()),h){t.next=27;break}return t.prev=10,t.next=13,ya[l]().then((function(t){return t.default||t}));case 13:if("function"!=typeof(f=t.sent)){t.next=20;break}return t.next=17,Promise.resolve(f(e,n));case 17:t.t0=t.sent,t.next=21;break;case 20:t.t0=f;case 21:h=t.t0,t.next=27;break;case 24:t.prev=24,t.t1=t.catch(10),console.error(xa("Failed loading async locale export: ".concat(t.t1.message)));
1case 27:h&&(o.setLocaleMessage(n,h),o.loadedLanguages.push(n)),t.next=31;break;case 30:console.warn(xa("Could not find lang file for locale ".concat(n)));case 31:t.next=34;break;case 33:console.warn(xa('Attempted to load messages for non-existant locale code "'.concat(n,'"')));case 34:case"end":return t.stop()}}),t,null,[[10,24]])})))).apply(this,arguments)}function Ba(t,e,n,r){var o=r.differentDomains,c=r.normalizedLocales;if("function"==typeof t)return t(e);if(o&&n){var l=Ma(n,e.req,{normalizedLocales:c});if(l)return l}return t}function Ma(t,e,n){var r,o=n.normalizedLocales.find((function(e){return e.code===t}));if(o&&o.domain)return Object(Ea.a)(o.domain)?o.domain:(r=window.location.protocol.split(":")[0],"".concat(r,"://").concat(o.domain));console.warn(xa("Could not find domain name for locale ".concat(t)))}function Ia(t,e,n){var r={namespaced:!0,state:function(){return La(La(La({},e.syncLocale?{locale:""}:{}),e.syncMessages?{messages:{}}:{}),e.syncRouteParams?{routeParams:{}}:{})},actions:La(La(La({},e.syncLocale?{setLocale:function(t,e){(0,t.commit)("setLocale",e)}}:{}),e.syncMessages?{setMessages:function(t,e){(0,t.commit)("setMessages",e)}}:{}),e.syncRouteParams?{setRouteParams:function(t,e){(0,t.commit)("setRouteParams",e)}}:{}),mutations:La(La(La({},e.syncLocale?{setLocale:function(t,e){t.locale=e}}:{}),e.syncMessages?{setMessages:function(t,e){t.messages=e}}:{}),e.syncRouteParams?{setRouteParams:function(t,e){t.routeParams=e}}:{}),getters:La({},e.syncRouteParams?{localeRouteParams:function(t){var e=t.routeParams;return function(t){return e&&e[t]||{}}}}:{})};t.registerModule(e.moduleName,r,{preserveState:!!t.state[e.moduleName]})}function qa(t){return Ua.apply(this,arguments)}function Ua(){return(Ua=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,r,o,c=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=c.length>1&&void 0!==c[1]?c[1]:null,r=c.length>2&&void 0!==c[2]?c[2]:null,!(o=c.length>3?c[3]:void 0)||!e){t.next=10;break}if(null===n||!o.syncLocale){t.next=7;break}return t.next=7,e.dispatch(o.moduleName+"/setLocale",n);case 7:if(null===r||!o.syncMessages){t.next=10;break}return t.next=10,e.dispatch(o.moduleName+"/setMessages",r);case 10:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var za=n(938),Va=n(261),Fa=function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,r,o,c,l,h,d;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=e.app,!e.isHMR){t.next=3;break}return t.abrupt("return");case 3:return t.next=5,n.i18n.__onNavigate(e.route);case 5:r=t.sent,o=Object($n.a)(r,3),c=o[0],l=o[1],h=o[2],c&&l&&(d=h?e.route.query:void 0,e.redirect(c,l,d));case 11:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();Va.a.nuxti18n=Fa;var Ha=["params"];function Qa(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Xa(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?Qa(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):Qa(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}function Ga(t,e){var n=Ka.call(this,t,e);return n?n.route.fullPath:""}function Ya(t,e){var n=Ka.call(this,t,e);return n?n.route:void 0}function Wa(t,e){var n=Ka.call(this,t,e);return n?n.location:void 0}function Ka(t,e){if(t){var n=this.i18n;if(e=e||n.locale){"string"==typeof t&&(t="/"===t[0]?{path:t}:{name:t});var r=Object.assign({},t);if(r.path&&!r.name){var o=this.router.resolve(r).route,c=this.getRouteBaseName(o);if(c)r={name:ts(c,e),params:o.params,query:o.query,hash:o.hash};else!(e===va.defaultLocale&&[ga.STRATEGIES.PREFIX_EXCEPT_DEFAULT,ga.STRATEGIES.PREFIX_AND_DEFAULT].includes(va.strategy)||va.strategy===ga.STRATEGIES.NO_PREFIX||n.differentDomains)&&(r.path="/".concat(e).concat(r.path)),r.path=ba?Object(Ea.f)(r.path,!0):Object(Ea.g)(r.path,!0)}else{r.name||r.path||(r.name=this.getRouteBaseName()),r.name=ts(r.name,e);var l=r.params;l&&void 0===l[0]&&l.pathMatch&&(l[0]=l.pathMatch)}var h=this.router.resolve(r);return h.route.name?h:this.router.resolve(t)}}}function Ja(t){var e=this.getRouteBaseName();if(!e)return"";var n=this.i18n,r=this.route,o=this.store,c=r.params,l=Object(za.a)(r,Ha),h={};
1va.vuex&&va.vuex.syncRouteParams&&o&&(h=o.getters["".concat(va.vuex.moduleName,"/localeRouteParams")](t));var d=Object.assign({},l,{name:e,params:Xa(Xa(Xa({},c),h),{},{0:c.pathMatch})}),path=this.localePath(d,t);if(n.differentDomains){var f={differentDomains:n.differentDomains,normalizedLocales:va.normalizedLocales},m=Ma(t,this.req,f);m&&(path=m+path)}return path}function Za(t){var e=void 0!==t?t:this.route;if(e&&e.name)return e.name.split(va.routesNameSeparator)[0]}function ts(t,e){var n=t+(va.strategy===ga.STRATEGIES.NO_PREFIX?"":va.routesNameSeparator+e);return e===va.defaultLocale&&va.strategy===ga.STRATEGIES.PREFIX_AND_DEFAULT&&(n+=va.routesNameSeparator+va.defaultLocaleRouteNameSuffix),n}var es=function(t){return function(){var e={getRouteBaseName:this.getRouteBaseName,i18n:this.$i18n,localePath:this.localePath,localeRoute:this.localeRoute,localeLocation:this.localeLocation,req:null,route:this.$route,router:this.$router,store:this.$store};return t.call.apply(t,[e].concat(Array.prototype.slice.call(arguments)))}},ns=function(t,e){return function(){var n=t.app,r=(t.req,t.route),o=t.store,c={getRouteBaseName:n.getRouteBaseName,i18n:n.i18n,localePath:n.localePath,localeLocation:n.localeLocation,localeRoute:n.localeRoute,req:null,route:r,router:n.router,store:o};return e.call.apply(e,[c].concat(Array.prototype.slice.call(arguments)))}},rs={install:function(t){t.mixin({methods:{localePath:es(Ga),localeRoute:es(Ya),localeLocation:es(Wa),switchLocalePath:es(Ja),getRouteBaseName:es(Za)}})}},os=function(t){c.default.use(rs);var e=t.app,n=t.store;e.localePath=t.localePath=ns(t,Ga),e.localeRoute=t.localeRoute=ns(t,Ya),e.localeLocation=t.localeLocation=ns(t,Wa),e.switchLocalePath=t.switchLocalePath=ns(t,Ja),e.getRouteBaseName=t.getRouteBaseName=ns(t,Za),n&&(n.localePath=e.localePath,n.localeRoute=e.localeRoute,n.localeLocation=e.localeLocation,n.switchLocalePath=e.switchLocalePath,n.getRouteBaseName=e.getRouteBaseName)},is=(n(373),n(490)),as=n(26);n(1297);function ss(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function cs(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ss(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):ss(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}function us(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return ls(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ls(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function ls(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function hs(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.addDirAttribute,n=void 0===e||e,r=t.addSeoAttributes,o=void 0!==r&&r;if(!this.$i18n)return{};var c={htmlAttrs:{},link:[],meta:[]},l=this.$i18n.localeProperties,d=l.iso,f=l.dir||va.defaultDirection;if(n&&(c.htmlAttrs.dir=f),o&&(h.a.hasMetaInfo?h.a.hasMetaInfo(this):this._hasMetaInfo)&&this.$i18n.locale&&this.$i18n.locales&&!1!==this.$options[ga.COMPONENT_OPTIONS_KEY]&&(!this.$options[ga.COMPONENT_OPTIONS_KEY]||!1!==this.$options[ga.COMPONENT_OPTIONS_KEY].seo)){d&&(c.htmlAttrs.lang=d);var m=this.$i18n.locales;v.bind(this)(m,this.$i18n.__baseUrl,c.link),y.bind(this)(this.$i18n.__baseUrl,c.link),w.bind(this)(l,d,c.meta),_.bind(this)(m,d,c.meta)}function v(t,e,link){if(va.strategy!==ga.STRATEGIES.NO_PREFIX){var n,r=new Map,o=us(t);try{for(o.s();!(n=o.n()).done;){var c=n.value,l=c.iso;if(l){var h=l.split("-"),d=Object($n.a)(h,2),f=d[0],m=d[1];f&&m&&(c.isCatchallLocale||!r.has(f))&&r.set(f,c),r.set(l,c)}else console.warn(xa("Locale ISO code is required to generate alternate link"))}}catch(t){o.e(t)}finally{o.f()}var v,y=us(r.entries());try{for(y.s();!(v=y.n()).done;){var w=Object($n.a)(v.value,2),_=w[0],k=w[1],x=this.switchLocalePath(k.code);x&&link.push({hid:"i18n-alt-".concat(_),rel:"alternate",href:O(x,e),hreflang:_})}}catch(t){y.e(t)}finally{y.f()}if(va.defaultLocale){var C=this.switchLocalePath(va.defaultLocale);C&&link.push({hid:"i18n-xd",rel:"alternate",href:O(C,e),hreflang:"x-default"})}}}function y(t,link){var e=this.localeRoute(cs(cs({},this.$route),{},{name:this.getRouteBaseName()}
1)),n=e?e.path:null;n&&link.push({hid:"i18n-can",rel:"canonical",href:O(n,t)})}function w(t,e,meta){t&&e&&meta.push({hid:"i18n-og",property:"og:locale",content:k(e)})}function _(t,e,meta){var n=t.filter((function(t){var n=t.iso;return n&&n!==e}));if(n.length){var r=n.map((function(t){return{hid:"i18n-og-alt-".concat(t.iso),property:"og:locale:alternate",content:k(t.iso)}}));meta.push.apply(meta,Object(as.a)(r))}}function k(t){return(t||"").replace(/-/g,"_")}function O(t,e){return t.match(/^https?:\/\//)?t:e+t}return c}function ds(){return hs.call(this,{addDirAttribute:!1,addSeoAttributes:!0})}var ps=n(224);function fs(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return ms(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ms(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function ms(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}c.default.use(is.a);var gs=function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,o,l,h,d,f,m,v,y,w,_,k,O,x,C,j,S,P,T,A,R,E,D,L,N,$,B,M,I,U,z,V,F,H,Q,X,G,Y;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n=e.app,o=e.route,l=e.store,h=e.req,e.res,d=e.redirect,va.vuex&&l&&Ia(l,va.vuex,va.localeCodes),f=va.lazy,f&&(!0===f||!0!==f.skipNuxtState),t.next=9;break;case 7:m=t.sent.default,e.beforeNuxtRender((function(t){var e=t.nuxtState,r={},o=n.i18n,c=o.fallbackLocale,l=o.locale;if(l&&l!==c){var h=n.i18n._getMessages()[l];if(h)try{m(h),r[l]=h}catch(t){}}e.__i18n={langs:r}}));case 9:if(v=va.detectBrowserLanguage,y=v.alwaysRedirect,w=v.fallbackLocale,_=v.onlyOnNoPrefix,k=v.onlyOnRoot,O=v.useCookie,x=v.cookieKey,C=v.cookieDomain,j=v.cookieSecure,S=v.cookieCrossOrigin,P=function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(r){var o,h,f,m,v,y,w,_,k,x,C,j,S,P,T,R,E,D,L=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(o=L.length>1&&void 0!==L[1]?L[1]:{},h=o.initialSetup,f=void 0!==h&&h,r){t.next=3;break}return t.abrupt("return");case 3:if(f||!n.i18n.differentDomains){t.next=5;break}return t.abrupt("return");case 5:if(m=n.i18n.locale,r!==m){t.next=8;break}return t.abrupt("return");case 8:if(!(v=n.i18n.onBeforeLanguageSwitch(m,r,f,e))||!n.i18n.localeCodes.includes(v)){t.next=13;break}if(v!==m){t.next=12;break}return t.abrupt("return");case 12:r=v;case 13:if(f||n.i18n.beforeLanguageSwitch(m,r),O&&n.i18n.setLocaleCookie(r),!va.langDir){t.next=29;break}if(y=n.i18n.fallbackLocale,!va.lazy){t.next=27;break}if(!y){t.next=23;break}return w=[],Array.isArray(y)?w=y.map((function(t){return Na(e,t)})):"object"===Object(pa.a)(y)?(y[r]&&(w=w.concat(y[r].map((function(t){return Na(e,t)})))),y.default&&(w=w.concat(y.default.map((function(t){return Na(e,t)}))))):r!==y&&w.push(Na(e,y)),t.next=23,Promise.all(w);case 23:return t.next=25,Na(e,r);case 25:t.next=29;break;case 27:return t.next=29,Promise.all(va.localeCodes.map((function(t){return Na(e,t)})));case 29:for(n.i18n.locale=r,_=va.normalizedLocales.find((function(t){return t.code===r}))||{code:r},k=0,x=Object.keys(n.i18n.localeProperties);k<x.length;k++)C=x[k],n.i18n.localeProperties[C]=void 0;for(j=0,S=Object.entries(_);j<S.length;j++)P=Object($n.a)(S[j],2),T=P[0],R=P[1],c.default.set(n.i18n.localeProperties,T,Object(ps.a)(R));if(!va.vuex){t.next=36;break}return t.next=36,qa(l,r,n.i18n.getLocaleMessage(r),va.vuex);case 36:E=e.route,D=A(E,r),f?n.i18n.__redirect=D:(n.i18n.onLanguageSwitched(m,r),D&&d(D));case 39:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),T=Ta(va.localeCodes,{routesNameSeparator:va.routesNameSeparator,defaultLocaleRouteNameSuffix:va.defaultLocaleRouteNameSuffix}),A=function(t,e){if(!e||n.i18n.differentDomains||va.strategy===ga.STRATEGIES.NO_PREFIX)return"";if(T(t)===e&&(!k&&!_||e!==va.defaultLocale||va.strategy!==ga.STRATEGIES.PREFIX_AND_DEFAULT))return"";var r=n.switchLocalePath(e);return r||(r=n.localePath(t.fullPath,e)),!r||r===t.fullPath||r.startsWith("//")?"":r},R=function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(r){var o,path,c,l,h;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("/"!==r.path||!va.rootRedirect){t.next=5;break}return o=302,path=va.rootRedirect,"string"!=typeof va.rootRedirect&&(o=va.rootRedirect.statusCode,path=va.rootRedirect.path),t.abrupt("return",[o,"/".concat(path),!0]);case 5:if(!(c=n.i18n.__redirect)){t.next=9;break}return n.i18n.__redirect=null,t.abrupt("return",[302,c]);case 9:if(l={differentDomains:va.differentDomains,normalizedLocales:va.normalizedLocales},n.i18n.__baseUrl=Ba(va.baseUrl,e,n.i18n.locale,l),h=va.detectBrowserLanguage&&N(r)||T(r)||n.i18n.locale||n.i18n.defaultLocale||"",!va.skipSettingLocaleOnNavigate){t.next=17;break}n.i18n.__pendingLocale=h,n.i18n.__pendingLocalePromise=new Promise((function(t){n.i18n.__resolvePendingLocalePromise=t})),t.next=19;break;case 17:return t.next=19,n.i18n.setLocale(h);case 19:return t.abrupt("return",[null,null]);case 20:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),E=function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n.i18n.__pendingLocale){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,n.i18n.setLocale(n.i18n.__pendingLocale);case 4:n.i18n.__resolvePendingLocalePromise(""),n.i18n.__pendingLocale=null;case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),D=function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!n.i18n.__pendingLocale){t.next=3;break}return t.next=3,n.i18n.__pendingLocalePromise;case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),L=function(){return"undefined"!=typeof navigator&&navigator.languages?ja(va.normalizedLocales,navigator.languages):h&&void 0!==h.headers["accept-language"]?ja(va.normalizedLocales,Ca(h.headers["accept-language"])):void 0},N=function(t){if(va.strategy!==ga.STRATEGIES.NO_PREFIX)if(k){if("/"!==t.path)return""}else if(_&&!y&&t.path.match(Pa(va.localeCodes)))return"";var e;O&&(e=n.i18n.getLocaleCookie())||(e=L());var r=e||w;return!r||O&&!y&&n.i18n.getLocaleCookie()||r===n.i18n.locale?"":r},$=function(t){t.locales=Object(ps.a)(va.locales),t.localeCodes=Object(ps.a)(va.localeCodes),t.localeProperties=c.default.observable(Object(ps.a)(va.normalizedLocales.find((function(e){return e.code===t.locale}))||{code:t.locale})),t.defaultLocale=va.defaultLocale,t.differentDomains=va.differentDomains,t.beforeLanguageSwitch=va.beforeLanguageSwitch,t.onBeforeLanguageSwitch=va.onBeforeLanguageSwitch,t.onLanguageSwitched=va.onLanguageSwitched,t.setLocaleCookie=function(t){return Ra(t,0,{useCookie:O,cookieDomain:C,cookieKey:x,cookieSecure:j,cookieCrossOrigin:S})},t.getLocaleCookie=function(){return Aa(0,{useCookie:O,cookieKey:x,localeCodes:va.localeCodes})},t.setLocale=function(t){return P(t)},t.getBrowserLocale=function(){return L()},t.finalizePendingLocaleChange=E,t.waitForPendingLocaleChange=D,t.__baseUrl=n.i18n.__baseUrl,t.__pe
1ndingLocale=n.i18n.__pendingLocale,t.__pendingLocalePromise=n.i18n.__pendingLocalePromise,t.__resolvePendingLocalePromise=n.i18n.__resolvePendingLocalePromise},"function"!=typeof va.vueI18n){t.next=25;break}return t.next=22,va.vueI18n(e);case 22:t.t0=t.sent,t.next=26;break;case 25:t.t0=Object(ps.a)(va.vueI18n);case 26:if((B=t.t0).componentInstanceCreatedListener=$,n.i18n=e.i18n=new is.a(B),n.i18n.locale="",n.i18n.fallbackLocale=B.fallbackLocale||"",$(n.i18n),M={differentDomains:va.differentDomains,normalizedLocales:va.normalizedLocales},n.i18n.__baseUrl=Ba(va.baseUrl,e,"",M),n.i18n.__onNavigate=R,c.default.prototype.$nuxtI18nSeo=ds,c.default.prototype.$nuxtI18nHead=hs,!l){t.next=58;break}if(l.$i18n=n.i18n,!l.state.localeDomains){t.next=58;break}I=fs(n.i18n.locales),t.prev=41,I.s();case 43:if((U=I.n()).done){t.next=50;break}if("string"!=typeof(z=U.value)){t.next=47;break}return t.abrupt("continue",48);case 47:z.domain=l.state.localeDomains[z.code];case 48:t.next=43;break;case 50:t.next=55;break;case 52:t.prev=52,t.t1=t.catch(41),I.e(t.t1);case 55:return t.prev=55,I.f(),t.finish(55);case 58:return(V=va.detectBrowserLanguage?N(o):"")||((F=va.vuex)&&F.syncLocale&&l&&""!==l.state[F.moduleName].locale?V=l.state[F.moduleName].locale:n.i18n.differentDomains?(H=Sa(va.normalizedLocales),V=H):va.strategy!==ga.STRATEGIES.NO_PREFIX&&(Q=T(o),V=Q)),!V&&O&&(V=n.i18n.getLocaleCookie()),V||(V=n.i18n.defaultLocale||""),t.next=64,P(V,{initialSetup:!0});case 64:t.next=72;break;case 67:X=t.sent,G=Object($n.a)(X,2),G[0],(Y=G[1])&&location.assign(Object(Ea.c)(e.base,Y));case 72:case"end":return t.stop()}}),t,null,[[41,52,55,58]])})));return function(e){return t.apply(this,arguments)}}();Oo.a.defaults.baseURL="/api";var bs=function(t){t.req},vs=n(491),ys=n.n(vs);function ws(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return _s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _s(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function _s(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function ks(t,e,n){return t.find((function(t){return n?t[e]===n:t[e]}))}var Os=n(889),xs=function(t){!function(t,e){if("function"!=typeof t)for(var n in e){var r=e[n];if(Array.isArray(r)){t[n]=t[n]||[];var o,c=ws(r);try{for(c.s();!(o=c.n()).done;){var l=o.value;l.hid&&ks(t[n],"hid",l.hid)||l.name&&ks(t[n],"name",l.name)||t[n].push(l)}}catch(t){c.e(t)}finally{c.f()}}else if("object"===Object(pa.a)(r))for(var h in t[n]=t[n]||{},r)t[n][h]=r[h];else void 0===t[n]&&(t[n]=r)}else console.warn("Cannot merge meta. Avoid using head as a function!")}(t.app.head,Os)},Cs=function(t,e){return js.apply(this,arguments)};function js(){return(js=Object(r.a)(regeneratorRuntime.mark((function t(e,n){var r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r={"64x64":"/_nuxt/icons/icon_64x64.a0a65a.png","120x120":"/_nuxt/icons/icon_120x120.a0a65a.png","144x144":"/_nuxt/icons/icon_144x144.a0a65a.png","152x152":"/_nuxt/icons/icon_152x152.a0a65a.png","192x192":"/_nuxt/icons/icon_192x192.a0a65a.png","384x384":"/_nuxt/icons/icon_384x384.a0a65a.png","512x512":"/_nuxt/icons/icon_512x512.a0a65a.png",ipad_1536x2048:"/_nuxt/icons/splash_ipad_1536x2048.a0a65a.png",ipadpro9_1536x2048:"/_nuxt/icons/splash_ipadpro9_1536x2048.a0a65a.png",ipadpro10_1668x2224:"/_nuxt/icons/splash_ipadpro10_1668x2224.a0a65a.png",ipadpro12_2048x2732:"/_nuxt/icons/splash_ipadpro12_2048x2732.a0a65a.png",iphonese_640x1136:"/_nuxt/icons/splash_iphonese_640x1136.a0a65a.png",iphone6_50x1334:"/_nuxt/icons/splash_iphone6_50x1334.a0a65a.png",iphoneplus_1080x1920:"/_nuxt/icons/splash_iphoneplus_1080x1920.a0a65a.png",iphonex_1125x2436:"/_nuxt/icons/splash_iphonex_1125x2436.a0a65a.png",iphonexr_828x1792:"/_nuxt/icons/splash_iphonexr_828x1792.a0a65a.png",iphonexsmax_1242x2688:"/_nuxt/icons/splash_iphonexsmax_1242x2688.a0a65a.png"},n("icon",(function(t){return r[t+"x"+t]||""}));case 3:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var Ss=function(t){var e=t.app,n=t.store;c.default.prototype.$_i18n=e.i18n,c.default.prototype.$_store=n},Ps={props:{name:String,url:String,primary:Boolean,size:{type:String,default:"default"},className:{type:String,default:""}},computed:{sizeTag:function(){return"el-tag--".concat(this.size)}}},Ts=(n(1301),Object(Ln.a)(Ps,(function(){var t,e=this,n=e.$createElement;return(e._self._c||n)("nuxt-link",{staticClass:"el-tag tag",class:(t={},t[e.className]=e.className,t["el-tag--info"]=!e.primary&&!e.className,t["primary-tag"]=e.primary,t[e.sizeTag]=!0,t),attrs:{to:e.url}},[e.name?[e._v("\n        "+e._s(e.name)+"\n    ")]:e._t("default")],2)}
1),[],!1,null,"5668f23d",null).exports),As=n(465);var Rs=n.n(As)()((function(){var t=document.createElement("div");t.style.visibility="hidden",t.style.overflow="scroll",document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e})),Es={props:{show:Boolean,title:String,viewport:Boolean,animation:{type:String,default:"zoom-in"},bgColor:String,backdrop:{type:Boolean,default:!0},appendToBody:Boolean,lazy:{type:Boolean,default:!0},size:{type:String,default:"default",validator:function(t){return nr()(["default","small","large","fit-content","full"],t)}}},data:function(){return{rendered:!1}},computed:{showHeader:function(){return this.title||this.$slots.header||this.$slots.title},wrapperStyle:function(){return{"background-color":this.bgColor}}},watch:{show:function(t){this.$emit(t?"open":"close"),!t&&this.rendered||(this.rendered=!0)}},mounted:function(){window.addEventListener("keydown",this.onEsc),this.appendToBody&&document.body.appendChild(this.$el)},beforeDestroy:function(){window.removeEventListener("keydown",this.onEsc),this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el),this.show&&this.restoreScroll()},methods:{onBackdropClicked:function(){this.backdrop&&this.requestClose()},onEsc:function(t){this.show&&27===t.keyCode&&this.requestClose()},lockBodyScroll:function(){document.body.scrollHeight>window.innerHeight&&(document.body.style.overflowY="hidden",document.body.style.paddingRight="".concat(Rs(),"px"))},restoreScroll:function(){document.body.style.overflowY=null,document.body.style.paddingRight=null},requestClose:function(){this.$emit("update:show",!1)}}},Ds=(n(1302),Object(Ln.a)(Es,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return!t.lazy||t.rendered?n("transition",{attrs:{name:"dialog-"+t.animation},on:{"before-enter":t.lockBodyScroll,"after-leave":t.restoreScroll}},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],staticClass:"dialog__wrapper",style:t.wrapperStyle,on:{click:t.onBackdropClicked}},[n("div",{class:["dialog","dialog--"+t.size],attrs:{role:"dialog"},on:{click:function(t){t.stopPropagation()}}},[n("button",{staticClass:"dialog__close",attrs:{type:"button"},on:{click:t.requestClose}},[n("i",{staticClass:"el-icon-close",attrs:{"aria-hidden":"true"}})]),t._v(" "),t.showHeader?n("div",{staticClass:"dialog__header"},[t._t("header",(function(){return[n("h3",{staticClass:"dialog__title"},[t._t("title",(function(){return[t._v("\n                            "+t._s(t.title)+"\n                        ")]}))],2)]}))],2):t._e(),t._v(" "),n("div",{staticClass:"dialog__body"},[t._t("default")],2),t._v(" "),t.$slots.footer?n("div",{staticClass:"dialog__footer"},[t._t("footer")],2):t._e()])])]):t._e()}),[],!1,null,null,null).exports),filter=n(203),Ls=n.n(filter),Ns=n(890),$s=n.n(Ns),Bs={props:{initialActivePane:String},data:function(){return{panes:[],activePane:this.initialActivePane}},methods:{setActivePane:function(t){this.activePane=t,this.$emit("active-pane",t)},addPane:function(t){var e=this.getPaneIndex(t);this.panes=[].concat(Object(as.a)(this.panes.slice(0,e)),[t],Object(as.a)(this.panes.slice(e+1)))},removePane:function(t){var e=this.getPaneIndex(t);this.panes=[].concat(Object(as.a)(this.panes.slice(0,e)),Object(as.a)(this.panes.slice(e+1)))},getPaneIndex:function(t){return fr()(Ls()((function(t){return"TabPane"===t.$options.componentName})),$s()(t))(this.$children)}}},Ms=(n(1303),Object(Ln.a)(Bs,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tabs"},[n("ul",{staticClass:"tabs__list",attrs:{role:"tablist"}},t._l(t.panes,(function(e,r){return n("li",{key:r,staticClass:"tabs__item",on:{click:function(n){return n.preventDefault(),t.setActivePane(e.name)}}},[n("div",{staticClass:"tabs__link",class:{active:t.activePane===e.name}},[t._v("\n                "+t._s(e.label)+"\n            ")])])})),0),t._v(" "),n("div",{staticClass:"tabs__content"},[t._t("default")],2)])}),[],!1,null,null,null).exports),Is={componentName:"TabPane",props:{name:String,label:String},computed:{active:function(){return this.$parent.activePane===this.name}}
1,mounted:function(){this.$parent.addPane(this)},destroyed:function(){this.$parent.removePane(this)}},qs=Object(Ln.a)(Is,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{directives:[{name:"show",rawName:"v-show",value:t.active,expression:"active"}],staticClass:"tab-pane",attrs:{role:"tabpanel"}},[t._t("default")],2)}),[],!1,null,null,null).exports,Us=n(281),zs=n(501),Vs={props:{fluid:Boolean}},Fs=Object(Ln.a)(Vs,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"container",class:{"container-fluid":t.fluid}},[t._t("default")],2)}),[],!1,null,null,null).exports,Hs=function(t,e){return"string"==typeof e?"".concat(t,"-").concat(e):Uo()(e,(function(e,n){return"".concat(t,"-").concat(n,"-").concat(e)}))},Qs={props:{justify:{type:[String,Object],default:null},align:{type:[String,Object],default:null},noGutters:Boolean},computed:{classes:function(){return[Hs("align-items",this.align),Hs("justify-content",this.justify),{"no-gutters":this.noGutters}]}}},Xs=Object(Ln.a)(Qs,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"row",class:t.classes},[t._t("default")],2)}),[],!1,null,null,null).exports,Gs=n(154),Ys=n.n(Gs),Ws=n(500),Ks=n.n(Ws),Js=n(517),Zs=n.n(Js),tc=function(t){return t?"-".concat(t):""},ec=function(t,e,n){return t+tc(e)+tc(n)},nc=Ys()((function(t,e,n){return Tn()({span:function(){return ec("col",t,"*"!==e?e:"")},offset:function(){return ec("offset",t,e)}},n)()})),rc=function(t,e){return t&&"object"===Object(pa.a)(t)?Uo()(function(t){return Zs()(t,(function(t,e){return t&&nr()(["span","offset"],e)}))}(t),nc(e)):nc(e,t,"span")},oc={props:{span:[Number,String],offset:{type:Number,default:0},xs:[Number,String,Object],sm:[Number,String,Object],md:[Number,String,Object],lg:[Number,String,Object],xl:[Number,String,Object]},computed:{classes:function(){var t=this,e=rc({span:this.span,offset:this.offset}),n=fr()(Ls()((function(e){return t[e]})),mr()((function(e){return rc(t[e],e)})))(["xs","sm","md","lg","xl"]);return Ks()(e,n)}}},ic=Object(Ln.a)(oc,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{class:t.classes},[t._t("default")],2)}),[],!1,null,null,null).exports,ac={functional:!0,props:{shadow:Boolean}},sc=Object(Ln.a)(ac,(function(t,e){var n=e._c;return n("div",{staticClass:"card",class:{"shadow-sm":e.props.shadow}},[e.slots().image?n("div",{staticClass:"card-img-top"},[e._t("image")],2):e._e(),e._v(" "),n("div",{staticClass:"card-body"},[e._t("default")],2)])}),[],!0,null,null,null).exports,cc=n(78),uc=n.n(cc),lc=n(255),hc=n(256),dc=n(526),pc=n(518);function fc(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function mc(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?fc(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):fc(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var gc={name:"VCtr",props:{name:{type:String,required:!0},container:{type:String,required:!1},autoSave:{type:Boolean,default:!0},externalData:{type:[Object,Function],default:function(){return{}}}},computed:mc({},Object(l.c)("auth",["userId"])),mounted:function(){var section=this.container?this.$el.querySelector(this.container):this.$el;this.$_ctrTracking=function(section){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"[aria-ctr-enable]";if(!section||!t)throw new Error("CTR is missing argument.");t="string"==typeof t?section.querySelectorAll(t):t;var e=Object(jr.c)(),n={"first-seen":function(){},"clicked-item":function(){}},r=function t(r){dc.b(section)&&(window.removeEventListener("scroll",t),n["first-seen"]({guid:e,event:r}))},o=function(t){return n["clicked-item"]({guid:e,event:t})};return window.addEventListener("scroll",r),Io()(t,(function(t){return t.addEventListener("click",o)})),{guid:e,on:function(t,e){n[t]=e},destroy:function(){Io()(t,(function(t){return t.removeEventListener("click",o)}))}}}
1(section,"[aria-ctr-enable]"),this.$_ctrTracking.on("first-seen",this.onSeen)},beforeDestroy:function(){this.$_ctrTracking&&this.$_ctrTracking.destroy()},methods:{onSeen:function(t){var e=this;return Object(r.a)(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!e.autoSave){n.next=5;break}return n.next=3,e.storeLog("seen",t).catch((function(){}));case 3:(r=n.sent)&&void 0!==r.data&&e.$store.commit("log/pushCTRLogs",r.data.data);case 5:e.$emit("seen",t);case 6:case"end":return n.stop()}}),n)})))()},onClickedItem:function(t){var e=t.event.currentTarget.getAttribute("aria-ctr-enable");this.autoSave&&this.storeLog("clicked",t,{clicked_item_id:e}).catch((function(){})),t.clickedItemId=e,this.$emit("clicked",t)},storeLog:function(t,e){var n=arguments,o=this;return Object(r.a)(regeneratorRuntime.mark((function r(){var data,c,l,h;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return data=n.length>2&&void 0!==n[2]?n[2]:{},c=e.guid,l="function"==typeof o.externalData?o.externalData(e):o.externalData,r.next=5,Object(pc.a)();case 5:return h=r.sent,r.abrupt("return",Object(hc.a)(lc.a,uc()(mc({guid:c,action:t,section:o.name,user_id:o.userId},h),data,l)));case 7:case"end":return r.stop()}}),r)})))()}}},bc=Object(Ln.a)(gc,(function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"v-ctr-section"},[t._t("default")],2)}),[],!1,null,null,null).exports,vc=n(112),yc=n(65),wc=function(){c.default.component("Tabs",Ms),c.default.component("TabPane",qs),c.default.component("Markdown",Us.a),c.default.component("MarkdownPure",zs.a),c.default.component("v-tag",Ts),c.default.component("v-dialog",Ds),c.default.component("v-container",Fs),c.default.component("v-row",Xs),c.default.component("v-col",ic),c.default.component("v-card",sc),c.default.component("v-ctr",bc),c.default.component("v-empty",vc.a),c.default.component("v-pagination",yc.a)},_c=n(358),kc=n.n(_c),Oc=n(258),xc=n.n(Oc),Cc=n(348),jc=n.n(Cc),input=n(205),Sc=n.n(input),Pc=n(892),Tc=n.n(Pc),Ac=n(893),Rc=n.n(Ac),Ec=n(894),Dc=n.n(Ec),Lc=n(895),Nc=n.n(Lc),$c=n(336),Bc=n.n($c),Mc=n(482),Ic=n.n(Mc),qc=n(896),Uc=n.n(qc),zc=n(897),Vc=n.n(zc),Fc=n(898),Hc=n.n(Fc),Qc=n(899),Xc=n.n(Qc),Gc=n(259),Yc=n.n(Gc),Wc=n(900),Kc=n.n(Wc),Jc=n(901),Zc=n.n(Jc),tu=n(902),eu=n.n(tu),nu=n(903),ru=n.n(nu),ou=n(904),iu=n.n(ou),au=n(905),su=n.n(au),cu=n(906),uu=n.n(cu),lu=n(907),hu=n.n(lu),table=n(908),du=n.n(table),pu=n(909),fu=n.n(pu),mu=n(206),gu=n.n(mu),progress=n(710),bu=n.n(progress),vu=n(910),yu=n.n(vu),menu=n(911),wu=n.n(menu),_u=n(912),ku=n.n(_u),Ou=n(913),xu=n.n(Ou),Cu=n(914),ju=n.n(Cu),Su=n(915),Pu=n.n(Su),Tu=n(916),Au=n.n(Tu),dialog=n(917),Ru=n.n(dialog),Eu=n(337),Du=n.n(Eu),Lu=n(918),Nu=n.n(Lu),$u=n(919),Bu=n.n($u),Mu=n(920),Iu=n.n(Mu),qu=n(921),Uu=n.n(qu),zu=n(494),Vu=n.n(zu),Fu=n(922),Hu=n.n(Fu),Qu=n(347);function Xu(t){var e=t.store;Object(Qu.a)(e.state.i18n.locale),c.default.use(Vu.a.directive),c.default.prototype.$loading=Vu.a.service,c.default.prototype.$message=kc.a,c.default.prototype.$notify=jc.a,c.default.prototype.$msgbox=xc.a,c.default.prototype.$alert=xc.a.alert,c.default.prototype.$confirm=xc.a.confirm,c.default.prototype.$prompt=xc.a.prompt,c.default.component("ElSkeleton",Nu.a),c.default.component("ElSkeletonItem",Bu.a),c.default.component("ElInput",Sc.a),c.default.component("ElSelect",Tc.a),c.default.component("ElOption",Rc.a),c.default.component("ElOptionGroup",Dc.a),c.default.component("ElSwitch",Nc.a),c.default.component("ElCheckbox",Bc.a),c.default.component("ElCheckboxGroup",Ic.a),c.default.component("ElRadio",Uc.a),c.default.component("ElRadioButton",Vc.a),c.default.component("ElRadioGroup",Hc.a),c.default.component("ElAutocomplete",Xc.a),c.default.component("ElButton",Yc.a),c.default.component("ElForm",Kc.a),c.default.component("ElFormItem",Zc.a),c.default.component("ElAlert",eu.a),c.default.component("ElBadge",ru.a),c.default.component("ElPopover",iu.a),c.default.component("ElDropdown",su.a),c.default.component("ElDropdownMenu",uu.a),c.default.component("ElDropdownItem",hu.a),c.default.component("ElTable",du.a),c.default.component("ElTableColumn",fu.a),c.default.component("ElScrollbar",gu.a),c.default.component("ElProgress",bu.a),c.default.component("ElDrawer",yu.a),c.default.component("ElMenu",wu.a),c.default.component("ElSubmenu",ku.a),c.default.component("ElMenuItemGroup",ju.a),c.default.component("ElMenuItem",xu.a),c.default.component("ElDialog",Ru.a),c.default.component("ElTabs",Pu.a),c.default.component("ElTabPane",Au.a),c.default.component("ElTooltip",Du.a),c.default.component("ElCarousel",Iu.a),c.default.component("ElCarouselItem",Uu.a),c.default.component("ElDatePicker",Hu.a)}var Gu=n(923),Yu=n.n(Gu),Wu=n(189),Ku=(n(1528),function(t){var e=parseInt(t,10);return Number.isNaN(e)?t:"".concat(e>0?"+":"").concat(e)}),Ju=n(80),Zu=function(){c.default.filter("pluralize",Yu.a),c.default.filter("formatNumber",Wu.a),c.default.filter("signed",Ku),c.default.filter("formatTime",Ju.b),c.default.filter("humanizeTime",Ju.c),c.default.filter("formatDate",Ju.a)},tl=n(925),el=n.n(tl);n(1529),c.default.use(el.a);var nl=n(926),rl=n.n(nl);c.default.use(rl.a);var il=n(495),al=n.n(il),sl=n(213),cl=n(472),ll=function(t,e){var n=t.state,r=t.commit,o=Ao()({},e.notification,{id:e.id,is_read:!1,created_at:new Date});r("notifications/setUnreadCount",n.notifications.unread+1),r("notifications/shift",o)},hl=function(t,e){var n=t.state,r=t.commit,o=n.notifications.unread-e.ids.length;(r("notifications/setUnreadCount",o<0?0:o),e.deleted)&&r("notifications/set",n.notifications.data.filter((function(t){return!nr()(e.ids,t.id)})))},pl=function(t){var e=t.store,n=e.state.auth.user;if(n){var r=sl.joinPrivateChannel(n.id,cl.default),o=al()(ll,e),c=al()(hl,e);r.onNewNotification(o),r.onNotificationCleared(c)}},fl=n(927),ml=n.n(fl),gl=function(t){var e,n,r=t.store,o=r.state.toast.messages,c=function(t){return function(e){t.commit("toast/popMessage",e);var n=e.type,r=e.message,o=e.duration;kc()({type:n,message:r,duration:o||5e3,showClose:!0})}}(r);e=c,n=0,o.forEach((function(t){ml()(e,n,t),n+=t.duration||5e3}))},bl=Ys()((function(t,e){e.target.setAttribute("src",t),e.target.setAttribute("srcset","".concat(t," 1x"))})),vl=function(t,e){var n=e.value,r="string"!=typeof n?"".concat("https://viblo.asia","/images/mm.png"):"https://www.gravatar.com/avatar/".concat(n,"?s=80&d=mm");t.addEventListener("error",bl(r),{once:!0})},yl={inserted:function(t,e,n){if(void 0===e.value||!0===e.value){var r=Tn()(n,"componentInstance.focus");"function"==typeof r?r():t.focus()}}},wl=n(928),_l=n.n(wl),kl=function(t,e,n){var r=e.offset,o=e.name;return function(){var e=function(t,e){var n=window.scrollY;return _l()(t,(function(t){return n+e>(r=n,t.getBoundingClientRect().top+r);var r}))}(t,r);e&&(n.context.$data[o]=e.id)}},Ol=function(t,e,n){var r=e.value;if("object"===Object(pa.a)(r)){var o=Uo()(r.items,(function(t){return document.getElementById(t)})),c=kl(o,r,n);t.$scrollspy={listener:c},window.addEventListener("scroll",c)}},xl=function(t){t.$scrollspy&&(window.removeEventListener("scroll",t.$scrollspy.listener),t.$scrollspy=null)},Cl={bind:Ol,update:function(t,e,n){var r=e.value,o=e.oldValue;r.items!==o.items&&(xl(t),Ol(t,e,n))},unbind:xl}
1,jl=n(929),Sl=n.n(jl),Pl=["top","top-start","top-end","right","right-start","right-end","bottom","bottom-start","bottom-end","left","left-start","left-end"],Tl="bottom",Al=function(t){return Cr()(t)?Tl:Pl.find((function(e){return!0===t[e]}))||Tl},Rl={bind:function(t,e){var n=e.value,r=e.modifiers,o="string"==typeof n&&n;(o||t.getAttribute("title"))&&(o&&t.setAttribute("title",n),Sl()(t,{placement:t.getAttribute("tooltip-placement")||Al(r),animation:"fade",size:"regular",arrow:!0,arrowTransform:"scale(0.75)",performance:!0,dynamicTitle:!0}))},update:function(t,e){var n=e.value;n!==e.oldValue&&t.setAttribute("title",n)},unbind:function(t){t._tippy&&t._tippy.destroy()}},El=n(280);n(1532);function Dl(t){return function(){var e,n,r=(e=window.location.hash,(n=/^#(answer|comment)-([a-zA-Z0-9]{11})$/).test(e)?e.replace(n,'[data-$1id="$2"]'):null);!function(t,e){var n=t.querySelector(e);n&&Object(El.a)(n,{offset:-150,duration:200,callback:function(){n.classList.add("v-highlight"),setTimeout((function(){n.classList.remove("v-highlight")}),5e3)}})}(t,r)}}var Ll={bind:function(t){t.$_onHashChange=Dl(t)},inserted:function(t){t.$_onHashChange(),window.addEventListener("hashchange",t.$_onHashChange)},unbind:function(t){window.removeEventListener("hashchange",t.$_onHashChange),t.$_onHashChange=void 0}},Nl={bind:function(element,t){var e=t.value||element.dataset.scrollTarget,n=element.dataset.scrollDuration||300,r=element.dataset.scrollOffset||0;e?element.addEventListener("click",(function(){return Object(El.a)(e,{duration:n,offset:r})})):console.warn("No target element to scroll.",e)}},$l=function(){c.default.directive("avatar",vl),c.default.directive("focus",yl),c.default.directive("scrollspy",Cl),c.default.directive("tooltip",Rl),c.default.directive("jump-to-route-hash",Ll),c.default.directive("scroll-to",Nl)},Bl=n(360),Ml=n.n(Bl),Il=!1,ql=[],Ul={page:function(){},event:function(){},time:function(){},social:function(){}},zl={tracker:function(t,e){return t?(Vl(t,e),function(t){return{page:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Fl.apply(void 0,["".concat(t,".send"),"pageview"].concat(n))},event:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Fl.apply(void 0,["".concat(t,".send"),"event"].concat(n))},time:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Fl.apply(void 0,["".concat(t,".send"),"timing"].concat(n))},social:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Fl.apply(void 0,["".concat(t,".send"),"social"].concat(n))}}}(e)):(console.warn("No Tracker ID provided"),Ul)},page:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Fl.apply(void 0,["send","pageview"].concat(e))},event:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Fl.apply(void 0,["send","event"].concat(e))},time:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Fl.apply(void 0,["send","timing"].concat(e))},social:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Fl.apply(void 0,["send","social"].concat(e))},ready:function(t){Il?t(this):ql.push(t)}};function Vl(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t||console.warn("No Id provided"),Fl("create",t,"auto",e),Il=!0,ql.forEach((function(t){return t(zl)})),ql=[]}function Fl(t){var e=window.ga;if(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.apply(void 0,[t].concat(r))}else console.warn("Google analytics is not available")}var Hl={create:Vl,setUp:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];window.GoogleAnalyticsObject="ga",window.ga=window.ga||function(){(window.ga.q=window.ga.q||[]).push(e)},window.ga.l=1*new Date},features:zl};function Ql(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function Xl(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?Ql(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):Ql(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var Gl=function(t){var e=t.app.router,n=t.store;c.default.$ga=Hl.features,c.default.prototype.$ga=Hl.features,Ml()("https://www.google-analytics.com/analytics.js",{async:!0},(function(){Hl.setUp(),Hl.create(Tn()(n,"state.config.analytics_track_id")),Yl(e.currentRoute),e.afterEach(Yl)}))};function Yl(t){var e=function(t){var e=Tn()(t.matched[0],"components.default"),n=Tn()(e,"options.analytics",{});return"function"==typeof n?n(t):n}(t);!1!==e.autoTrack&&c.default.nextTick((function(){c.default.$ga.page(Xl(Xl({},e.analyticsFields),{},{title:Tn()(e,"title",t.name),page:Tn()(e,"page",t.fullPath),location:window.location.href}))}))}var Wl=function(t){var e,n,r,o,element,c,l,h=t.store;h.getters["auth/authenticated"]||(document.body.appendChild((e={clientId:"321129265690-ttithr3ovvvottfro43rqr1klbf8o1co.apps.googleusercontent.com",googleLoginUri:(c=window.location.href,l=encodeURIComponent(c),"".concat("https://accounts.viblo.asia","/auth/one-tap/callback?redirect_uri=").concat(l)),monmentCallback:"__onOneTapContinueNextIdp"},n=e.clientId,r=e.googleLoginUri,o=e.monmentCallback,(element=document.createElement("div")).setAttribute("id","g_id_onload"),element.setAttribute("data-client_id",n),element.setAttribute("data-login_uri",r),element.setAttribute("data-cancel_on_tap_outside","false"),element.setAttribute("data-prompt_parent_id","g_id_onload"),element.setAttribute("data-moment_callback","".concat(o)),element.style.position="fixed",element.style.top="45px",element.style.right=0,element.style.zIndex=1040,element)),window.__onOneTapContinueNextIdp=function(data){data.isNotDisplayed()||data.isSkippedMoment()?h.commit("oneTap/setIsDisplayed",!1):h.commit("oneTap/setIsDisplayed",!0)},Ml()("https://accounts.google.com/gsi/client",{async:!0,attrs:{defer:""}}))},Kl=n(267),Jl=n.n(Kl),Zl=function(t){var e=t.store,n=t.app.router;function o(t){n.push(function(t){return t.replace(/^(http[s]?\:\/\/[a-zA-Z-0-9\-\.\:]+)/,"")}(t)).catch()}function c(t,e){return l.apply(this,arguments)}function l(){return(l=Object(r.a)(regeneratorRuntime.mark((function t(n,body){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(!e.state.postView.post||e.state.postView.post.slug!==body.slug)){t.next=4;break}return t.next=4,e.dispatch("postView/setPreloadedData",body);case 4:o(n);case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}Jl.a.init({delayBeforePreload:0,cacheTTL:3e5,isPreloadable:function(t){return/\/p\/(.+-)?([a-zA-Z0-9]{11})$/.test(t)},transformURL:function(t){var e=t.match(/([^/-]+)$/)[1];return"/api/p/".concat(e)}}),Jl.a.on("wait",(function(){window.$nuxt.$loading.start().increase(5)})),Jl.a.on("change",function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(e,n){var body;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:body=n.body,c(e,body);case 2:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}()),Jl.a.on("exit",(function(t){o(t)}))},eh=n(357);n(1534);c.default.use(eh.a);var nh=n(519),rh=function(){Promise.all([nh.b()])},oh=n(930),ih=n.n(oh);c.default.use(ih.a);var ah=n(931);c.default.use(ah.a,{config:{id:"G-HF9XE2NDGV"}});var sh=n(932),ch=n(933),uh=n.n(ch),lh=n(934);function hh(t){return dh.apply(this,arguments)}function dh(){return(dh=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,fetch(e);case 2:return n=t.sent,t.next=5,n.blob();case 5:return r=t.sent,t.abrupt("return",new Promise((function(t,e){var n=new FileReader;n.onloadend=function(){t(n.result)},n.onerror=e,n.readAsDataURL(r)})));case 7:case"end":return t.stop()}}),t)})))).apply(this,arguments)}var ph=function(t,e){Object(sh.a)(t),e("zipper",{createAndDownloadZip:function(t,e,n){return Object(r.a)(regeneratorRuntime.mark((function o(){var c,l,content;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return c=new uh.a,l=t.map(function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(e,r){var o,l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,hh(e);case 3:o=t.sent,l="".concat(n,"_").concat(r,".png"),c.file(l,o.split(",")[1],{base64:!0}),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(0),console.error("Error loading image ".concat(r,":"),t.t0);case 11:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(e,n){return t.apply(this,arguments)}}()),o.prev=2,o.next=5,Promise.all(l);case 5:return o.next=7,c.generateAsync({type:"blob"});case 7:content=o.sent,Object(lh.saveAs)(content,e),o.next=14;break;case 11:o.prev=11,o.t0=o.catch(2),console.error("Error processing images:",o.t0);case 14:case"end":return o.stop()}}),o,null,[[2,11]])})))()}})},fh=function(t){var e=t.app,n=e.$cookies.get("modeTheme")||"default";e.store.commit("typeControl/switchMode",n)};function mh(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function gh(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?mh(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):mh(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}c.default.component(f.a.name,f.a),c.default.component(v.a.name,gh(gh({},v.a),{},{render:function(t,e){return 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(Cn.name,Cn),c.default.component("NChild",Cn),c.default.component(Mn.name,Mn),Object.defineProperty(c.default.prototype,"$nuxt",{get:function(){var t=this.$root.$options.$nuxt;return t||"undefined"==typeof window?t:window.$nuxt},configurable:!0}),c.default.use(h.a,{keyName:"head",attribute:"data-n-head",ssrAttribute:"data-n-head-ssr",tagIDKeyName:"hid"});var bh={name:"page",mode:"out-in",appear:!1,appearClass:"appear",appearActiveClass:"appear-active",appearToClass:"appear-to"},vh=l.a.Store.prototype.registerModule;function yh(path,t){var e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=Array.isArray(path)?!!path.reduce((function(t,path){return t&&t[path]}),this.state):path in this.state;return vh.call(this,path,t,gh({preserveState:n},e))}function wh(t){return _h.apply(this,arguments)}function _h(){return(_h=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,o,l,h,d,f,path,m,v=arguments;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return m=function(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"));h[t="$"+t]=e,h.context[t]||(h.context[t]=e),l[t]=h[t];var n="__nuxt_"+t+"_installed__";c.default[n]||(c.default[n]=!0,c.default.use((function(){Object.prototype.hasOwnProperty.call(c.default.prototype,t)||Object.defineProperty(c.default.prototype,t,{get:function(){return this.$root.$options[t]}})})))},n=v.length>1&&void 0!==v[1]?v[1]:{},t.next=4,xn(e,n);case 4:return o=t.sent,(l=Ui(e)).$router=o,l.registerModule=yh,h=gh({head:{htmlAttrs:{lang:"vi",prefix:"og: https://ogp.me/ns#",amp:!0},headAttrs:{viblo:!0},bodyAttrs:{viblo:!0},title:"Viblo | Free service for technical knowledge sharing",meta:[{charset:"utf-8"},{name:"viewport",content:"width=device-width, initial-scale=1"},{"http-equiv":"X-UA-Compatible",content:"IE=edge"},{name:"application-name",content:"Viblo"},{property:"og:site_name",content:"Viblo"},{hid:"description",name:"description",content:"Technology Articles Platform from Asia, filled with latest information on Programming Languages and Frameworks. Ruby on Rails / PHP / Swift / Unity / Java /.Net"},{hid:"og:type",property:"og:type",content:"website"},{hid:"og:title",property:"og:title",content:"Viblo | Free service for technical knowledge sharing"},{hid:"og:description",name:"og:description",content:"Technology Articles Platform from Asia, filled with latest information on Programming Languages and Frameworks. Ruby on Rails / PHP / Swift / Unity / Java /.Net"},{hid:"og:image",property:"og:image",content:"https://viblo.asia/og-facebook-3.png"},{hid:"twitter:title",name:"twitter:title",content:"Viblo | Free service for technical knowledge sharing"},{hid:"twitter:card",name:"twitter:card",content:"summary"},{hid:"fb:app_id",property:"fb:app_id",content:"982854298857505"},{name:"google-site-verification",content:"RKTOz1S8uxhAZHqaOsf6cSvT_pqnPHEyAnlTnlLiiok"},{name:"dmca-site-verification",content:"U3I1Yy84OGp3ZFprUTZCU1JrbjM4UT090"},{name:"msapplication-TileColor",content:"#FFFFFF"},{name:"msapplication-TileImage",content:"/mstile-144x144.png"},{name:"msapplication-square70x70logo",content:"/mstile-70x70.png"},{name:"msapplication-square150x150logo",content:"/mstile-150x150.png"},{name:"msapplication-wide310x150logo",content:"/mstile-310x150.png"},{name:"msapplication-square310x310logo",content:"/mstile-310x310.png"}],link:[{rel:"alternate",type:"application/rss+xml",name:"Viblo RSS Feed",href:"/rss"}
1,{rel:"preconnect",href:"https://fonts.googleapis.com"},{rel:"preconnect",href:"https://fonts.gstatic.com",crossorigin:""},{rel:"stylesheet",href:"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,400;0,700;1,400;1,700&display=swap"},{rel:"stylesheet",href:"https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css",integrity:"sha256-eZrrJcwDc/3uDhsdt61sL2oOBY362qM3lon1gyExkL0=",crossorigin:"anonymous"},{rel:"icon",type:"image/x-icon",href:"/favicon.ico"},{rel:"apple-touch-icon-precomposed",sizes:"57x57",href:"/apple-touch-icon-57x57.png"},{rel:"apple-touch-icon-precomposed",sizes:"114x114",href:"/apple-touch-icon-114x114.png"},{rel:"apple-touch-icon-precomposed",sizes:"72x72",href:"/apple-touch-icon-72x72.png"},{rel:"apple-touch-icon-precomposed",sizes:"144x144",href:"/apple-touch-icon-144x144.png"},{rel:"apple-touch-icon-precomposed",sizes:"60x60",href:"/apple-touch-icon-60x60.png"},{rel:"apple-touch-icon-precomposed",sizes:"120x120",href:"/apple-touch-icon-120x120.png"},{rel:"apple-touch-icon-precomposed",sizes:"76x76",href:"/apple-touch-icon-76x76.png"},{rel:"apple-touch-icon-precomposed",sizes:"152x152",href:"/apple-touch-icon-152x152.png"},{rel:"icon",type:"image/png",href:"/favicon-196x196.png",sizes:"196x196"},{rel:"icon",type:"image/png",href:"/favicon-96x96.png",sizes:"96x96"},{rel:"icon",type:"image/png",href:"/favicon-32x32.png",sizes:"32x32"},{rel:"icon",type:"image/png",href:"/favicon-16x16.png",sizes:"16x16"},{rel:"icon",type:"image/png",href:"/favicon-128.png",sizes:"128x128"}],script:[],style:[]},store:l,router:o,nuxt:{defaultTransition:bh,transitions:[bh],setTransitions:function(t){return Array.isArray(t)||(t=[t]),t=t.map((function(t){return t=t?"string"==typeof t?Object.assign({},bh,{name:t}):Object.assign({},bh,t):bh})),this.$options.nuxt.transitions=t,t},err:null,dateErr:null,error:function(t){t=t||null,h.context._errored=Boolean(t),t=t?Object(Bn.o)(t):null;var n=h.nuxt;return this&&(n=this.nuxt||this.$options.nuxt),n.dateErr=Date.now(),n.err=t,e&&(e.nuxt.error=t),t}}},$i),l.app=h,d=e?e.next:function(t){return h.router.push(t)},e?f=o.resolve(e.url).route:(path=Object(Bn.f)(o.options.base,o.options.mode),f=o.resolve(path).route),t.next=14,Object(Bn.s)(h,{store:l,route:f,next:d,error:h.nuxt.error.bind(h),payload:e?e.payload:void 0,req:e?e.req:void 0,res:e?e.res:void 0,beforeRenderFns:e?e.beforeRenderFns:void 0,ssrContext:e});case 14:m("config",n),window.__NUXT__&&window.__NUXT__.state&&l.replaceState(window.__NUXT__.state),t.next=20;break;case 20:return t.next=23,oa(h.context,m);case 23:return t.next=26,sa(h.context,m);case 26:if("function"!=typeof da){t.next=29;break}return t.next=29,da(h.context,m);case 29:t.next=32;break;case 32:return t.next=35,os(h.context);case 35:if("function"!=typeof gs){t.next=38;break}return t.next=38,gs(h.context,m);case 38:return t.next=41,bs(h.context);case 41:if("function"!=typeof ys.a){t.next=44;break}return t.next=44,ys()(h.context,m);case 44:return t.next=47,xs(h.context);case 47:return t.next=50,Cs(h.context,m);case 50:t.next=53;break;case 53:return t.next=56,Ss(h.context);case 56:return t.next=59,wc(h.context);case 59:return t.next=62,Xu(h.context);case 62:return t.next=65,Zu(h.context);case 65:t.next=68;break;case 68:t.next=71;break;case 71:return t.next=74,pl(h.context);case 74:return t.next=77,gl(h.context);case 77:return t.next=80,$l(h.context);case 80:return t.next=83,Gl(h.context);case 83:return t.next=86,Wl(h.context);case 86:return t.next=89,Zl(h.context);case 89:t.next=92;break;case 92:return t.next=95,rh(h.context);case 95:t.next=98;break;case 98:t.next=101;break;case 101:return t.next=104,ph(h.context,m);case 104:return t.next=107,fh(h.context);case 107:return t.next=110,new Promise((function(t,e){if(!o.resolve(h.context.route.fullPath).route.matched.length)return t();o.replace(h.context.route.fullPath,t,(function(n){if(!n._isRouter)return e(n);if(2!==n.type)return t();var c=o.afterEach(function(){var e=Object(r.a)(regeneratorRuntime.mark((function e(n,r){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=3,Object(Bn.j)(n);case 3:h.context.route=e.sent,h.context.params=n.params||{},h.context.query=n.query||{},c(),t();case 8:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}())}))}));case 110:return t.abrupt("return",{store:l,app:h,router:o});case 111:case"end":return t.stop()}}),t)})))).apply(this,arguments)}},1477:function(t,e,n){"use strict";n(698)},1480:function(t,e,n){"use strict";n(699)},1532:function(t,e,n){},1535:function(t,e,n){var map={"./af":712,"./af.js":712,"./ar":713,"./ar-dz":714,"./ar-dz.js":714,"./ar-kw":715,"./ar-kw.js":715,"./ar-ly":716,"./ar-ly.js":716,"./ar-ma":717,"./ar-ma.js":717,"./ar-sa":718,"./ar-sa.js":718,"./ar-tn":719,"./ar-tn.js":719,"./ar.js":713,"./az":720,"./az.js":720,"./be":721,"./be.js":721,"./bg":722,"./bg.js":722,"./bm":723,"./bm.js":723,"./bn":724,"./bn-bd":725,"./bn-bd.js":725,"./bn.js":724,"./bo":726,"./bo.js":726,"./br":727,"./br.js":727,"./bs":728,"./bs.js":728,"./ca":729,"./ca.js":729,"./cs":730,"./cs.js":730,"./cv":731,"./cv.js":731,"./cy":732,"./cy.js":732,"./da":733,"./da.js":733,"./de":734,"./de-at":735,"./de-at.js":735,"./de-ch":736,"./de-ch.js":736,"./de.js":734,"./dv":737,"./dv.js":737,"./el":738,"./el.js":738,"./en-au":739,"./en-au.js":739,"./en-ca":740,"./en-ca.js":740,"./en-gb":741,"./en-gb.js":741,"./en-ie":742,"./en-ie.js":742,"./en-il":743,"./en-il.js":743,"./en-in":744,"./en-in.js":744,"./en-nz":745,"./en-nz.js":745,"./en-sg":746,"./en-sg.js":746,"./eo":747,"./eo.js":747,"./es":748,"./es-do":749,"./es-do.js":749,"./es-mx":750,"./es-mx.js":750,"./es-us":751,"./es-us.js":751,"./es.js":748,"./et":752,"./et.js":752,"./eu":753,"./eu.js":753,"./fa":754,"./fa.js":754,"./fi":755,"./fi.js":755,"./fil":756,"./fil.js":756,"./fo":757,"./fo.js":757,"./fr":758,"./fr-ca":759,"./fr-ca.js":759,"./fr-ch":760,"./fr-ch.js":760,"./fr.js":758,"./fy":761,"./fy.js":761,"./ga":762,"./ga.js":762,"./gd":763,"./gd.js":763,"./gl":764,"./gl.js":764,"./gom-deva":765,"./gom-deva.js":765,"./gom-latn":766,"./gom-latn.js":766,"./gu":767,"./gu.js":767,"./he":768,"./he.js":768,"./hi":769,"./hi.js":769,"./hr":770,"./hr.js":770,"./hu":771,"./hu.js":771,"./hy-am":772,"./hy-am.js":772,"./id":773,"./id.js":773,"./is":774,"./is.js":774,"./it":775,"./it-ch":776,"./it-ch.js":776,"./it.js":775,"./ja":777,"./ja.js":777,"./jv":778,"./jv.js":778,"./ka":779,"./ka.js":779,"./kk":780,"./kk.js":780,"./km":781,"./km.js":781,"./kn":782,"./kn.js":782,"./ko":783,"./ko.js":783,"./ku":784,"./ku.js":784,"./ky":785,"./ky.js":785,"./lb":786,"./lb.js":786,"./lo":787,"./lo.js":787,"./lt":788,"./lt.js":788,"./lv":789,"./lv.js":789,"./me":790,"./me.js":790,"./mi":791,"./mi.js":791,"./mk":792,"./mk.js":792,"./ml":793,"./ml.js":793,"./mn":794,"./mn.js":794,"./mr":795,"./mr.js":795,"./ms":796,"./ms-my":797,"./ms-my.js":797,"./ms.js":796,"./mt":798,"./mt.js":798,"./my":799,"./my.js":799,"./nb":800,"./nb.js":800,"./ne":801,"./ne.js":801,"./nl":802,"./nl-be":803,"./nl-be.js":803,"./nl.js":802,"./nn":804,"./nn.js":804,"./oc-lnc":805,"./oc-lnc.js":805,"./pa-in":806,"./pa-in.js":806,"./pl":807,"./pl.js":807,"./pt":808,"./pt-br":809,"./pt-br.js":809,"./pt.js":808,"./ro":810,"./ro.js":810,"./ru":811,"./ru.js":811,"./sd":812,"./sd.js":812,"./se":813,"./se.js":813,"./si":814,"./si.js":814,"./sk":815,"./sk.js":815,"./sl":816,"./sl.js":816,"./sq":817,"./sq.js":817,"./sr":818,"./sr-cyrl":819,"./sr-cyrl.js":819,"./sr.js":818,"./ss":820,"./ss.js":820,"./sv":821,"./sv.js":821,"./sw":822,"./sw.js":822,"./ta":823,"./ta.js":823,"./te":824,"./te.js":824,"./tet":825,"./tet.js":825,"./tg":826,"./tg.js":826,"./th":827,"./th.js":827,"./tk":828,"./tk.js":828,"./tl-ph":829,"./tl-ph.js":829,"./tlh":830,"./tlh.js":830,"./tr":831,"./tr.js":831,"./tzl":832,"./tzl.js":832,"./tzm":833,"./tzm-latn":834,"./tzm-latn.js":834,"./tzm.js":833,"./ug-cn":835,"./ug-cn.js":835,"./uk":836,"./uk.js":836,"./ur":837,"./ur.js":837,"./uz":838,"./uz-latn":839,"./uz-latn.js":839,"./uz.js":838,"./vi":840,"./vi.js":840,"./x-pseudo":841,"./x-pseudo.js":841,"./yo":842,"./yo.js":842,"./zh-cn":843,"./zh-cn.js":843,"./zh-hk":844,"./zh-hk.js":844,"./zh-mo":845,"./zh-mo.js":845,"./zh-tw":846,"./zh-tw.js":846};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=1535},156:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var r=n(2),o=n(3),c=(n(11),n(284)),l=n(27),h=n(285),d=function(t,e,n){var d=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"hash_id";return function(){var f=Object(o.a)(regeneratorRuntime.mark((function o(f,m){var v,y,w,_,k,O,x,C,j,S;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return v=f.commit,y=f.state,w=m.id,_=m.value,k=e(w,y),O=k.rated_value,x=Object(h.a)(O),C=x!==_?_:l.VoteDir.None,o.next=8,Object(c.castVote)(t,k[d],C);case 8:j=Object(h.c)(C),n(w,{rated_value:j,points:k.points+(j-O)},v),S=Object(h.b)(j,O,t),v("entities/users/increment",Object(r.a)({},k.user_id,{reputation:S}
1),{root:!0});case 12:case"end":return o.stop()}}),o)})));return function(t,e){return f.apply(this,arguments)}}()}},1561:function(t,e,n){"use strict";n.r(e);n(64),n(15),n(954);var r=n(52),o=n.n(r),c=n(20),l=["/","/series","/questions","/answers","/clips/posts","/clips/series","/clips/questions","/following","/following/organizations","/followers","/following-tags","/reputations","/contact","/p/","/s/","/q/"],h=["/","/videos","/submissions","/members","/followers","/info","/info/edit","/stats","/stats/","/stats/contribution","/invitations","/p/"];e.default=function(t){var e=t.route,n=t.redirect,r=(t.req,window.document.cookie),f=Object(c.e)(r,"is_special_subdomain"),m=e.fullPath;"organization"===f&&-1===o()(h,m.split("?")[0])&&d(m,e.params)&&n("".concat("https://viblo.asia").concat("/"!==m?m:"")),"profile"===f&&-1===o()(l,m.split("?")[0])&&d(m,e.params)&&n("".concat("https://viblo.asia").concat("/"!==m?m:""))};function d(t,e){if(Object.keys(e).length>0){var n=Object.values(e)[0];return-1===o()(l,t.split(n)[0])}return!0}},1563:function(t,e,n){"use strict";n.r(e);var r=n(32),o=n(2),c=n(3),l=(n(54),n(42),n(66),n(31),n(46),n(11),n(34)),h=n.n(l),d=n(8),f=n.n(d),m=n(38),v=n.n(m),y=n(9),w=n.n(y),_=n(880),k=n(10),O=n(117),x=n(135),C=n(4),j=n.n(C),S=function(t,e){return j.a.put("/posts/".concat(t,"/promote"),{value:e})},P=n(92),T=n(43),A=n(124),R=function(t,e){return!(t.post&&!t.invalidated&&t.fetchedAt&&t.post.slug===e)||Object(_.a)(new Date,t.fetchedAt)>5},E={post:function(t,e,n,r){if(!t.post)return null;var o=r["entities/posts/get"](t.post.id),c=r["entities/users/get"](o.user_id),l=r["entities/organizations/get"](w()(t.post,"organization.data.id")),h=t.post.user_id===r["auth/userId"];return f()({},o,t.post,{is_own:h,user:{data:c},organization:{data:l}})},author:function(t,e,n,r){return t.post?r["entities/users/get"](t.post.user_id):null}},D={fetchPost:function(t,e){var n=arguments;return Object(c.a)(regeneratorRuntime.mark((function r(){var o,c,l,d,video,f;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(o=t.commit,c=t.state,n.length>2&&void 0!==n[2]&&n[2]||R(c,e)){r.next=4;break}return r.abrupt("return",c.post);case 4:return r.next=6,Object(P.c)(e);case 6:return l=r.sent,d=l.data,video=w()(d,"video.data",null),f=Object(k.a)(d,O.post),o("entities/posts/put",f.entities.posts,{root:!0}),o("entities/users/put",f.entities.users,{root:!0}),o("entities/organizations/put",f.entities.organizations,{root:!0}),o("setPost",h()(d,["id","slug","transliterated","user_id","contents","moderation","preview","current_revision","category_id","reading_time","series_id","video_id","video_type","slide_url","organization","last_edited_at","reading_time","puzzle_hash_id","license","seo_setting","tags","summary"])),o("setVideo",v()(video)?null:video),o("setRelated",null),o("setRelatedOrganizations",null),o("setSeries",null),r.abrupt("return",d);case 19:case"end":return r.stop()}}),r)})))()},setPreloadedData:function(t,e){return Object(c.a)(regeneratorRuntime.mark((function n(){var r,video,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:r=t.commit,video=w()(e,"video.data",null),o=Object(k.a)(e,O.post),r("entities/posts/put",o.entities.posts,{root:!0}),r("entities/users/put",o.entities.users,{root:!0}),r("entities/organizations/put",o.entities.organizations,{root:!0}),r("setPost",h()(e,["id","slug","transliterated","user_id","contents","moderation","preview","current_revision","category_id","reading_time","series_id","video_id","video_type","slide_url","organization","last_edited_at","reading_time","puzzle_hash_id","license","seo_setting","tags","summary","user"])),r("setVideo",v()(video)?null:video),r("setRelated",null),r("setRelatedOrganizations",null),r("setSeries",null);case 11:case"end":return n.stop()}}),n)})))()},getRelated:function(t){return Object(c.a)(regeneratorRuntime.mark((function e(){var n,r,o,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.state,r=t.commit,n.post||r("setRelated",null),o={tags:n.post.tags?n.post.tags.data.map((function(t){return t.slug})):[]},e.next=5,Object(P.f)(n.post.slug,o).then((function(t){return t.data}
1)).catch((function(){return null}));case 5:c=e.sent,r("setRelated",c);case 7:case"end":return e.stop()}}),e)})))()},getRelatedOrganizations:function(t){return Object(c.a)(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={tags:t.state.post.tags?t.state.post.tags.data.map((function(t){return t.slug})):[]},e.next=3,Object(x.loadOrganizations)(t,Object(P.g)(t.state.post.slug,n).then((function(t){return t.data.data}))).catch((function(){return null}));case 3:r=e.sent,t.commit("setRelatedOrganizations",r);case 5:case"end":return e.stop()}}),e)})))()},fetchProposals:function(t){return Object(c.a)(regeneratorRuntime.mark((function e(){var n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.commit,r=t.state,e.next=3,Object(P.b)(r.post.slug).then((function(t){return t.data.data}));case 3:o=e.sent,n("setProposals",o);case 5:case"end":return e.stop()}}),e)})))()},getSeries:function(t){return Object(c.a)(regeneratorRuntime.mark((function e(){var n,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.state,r=t.commit,n.post||r("setSeries",null),e.next=4,Object(P.h)(n.post.slug).then((function(t){return t.data}));case 4:o=e.sent,r("setSeries",o);case 6:case"end":return e.stop()}}),e)})))()},vote:function(t,e){var n=t.state;return(0,t.dispatch)("entities/posts/vote",{id:n.post.id,value:e},{root:!0})},clip:function(t,e){var n=t.state;return(0,t.dispatch)("entities/posts/clip",{id:n.post.id,value:e},{root:!0})},markFeatured:function(t,e){return Object(c.a)(regeneratorRuntime.mark((function n(){var r,c,l;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.state,c=t.commit,n.next=3,S(r.post.slug,e);case 3:return l=n.sent,c("entities/posts/put",Object(o.a)({},r.post.id,{promoted:e}),{root:!0}),n.abrupt("return",l);case 6:case"end":return n.stop()}}),n)})))()},report:function(t,e){var n=t.state,r=t.commit,o=e.reason,source=e.source,c=e.comment;return Object(P.j)(n.post.slug,{reason:o,source:source,comment:c}).then((function(t){return r("setReported"),t}))},addComment:function(t,e){var n=t.state,r=t.dispatch,c=t.commit;return r("comments/add",{hashId:n.post.slug,values:e}).then((function(t){return c("entities/posts/increment",Object(o.a)({},n.post.id,{comments_count:1}),{root:!0}),t}))},removeComment:function(t,e){var n=t.state,r=t.dispatch,c=t.commit;return r("comments/remove",e).then((function(t){c("entities/posts/increment",Object(o.a)({},n.post.id,{comments_count:-1*t}),{root:!0})}))},fetchSuggestions:function(t,e){return Object(c.a)(regeneratorRuntime.mark((function n(){var o,c,l,h,d,m,v,y;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.commit,c=w()(e,"tags.data").reduce((function(t,e){return t.push(e.name),t}),[]),l={detail_tags:c,post_slug:e.slug},n.next=5,Promise.all([Object(T.f)(f()({},l,{type:A.a.CODE})).then((function(t){return t.data})),Object(T.f)(f()({},l,{type:A.a.LEARN})).then((function(t){return t.data})),Object(T.f)(f()({},l,{type:A.a.CTF})).then((function(t){return t.data}))]);case 5:h=n.sent,d=Object(r.a)(h,3),m=d[0],v=d[1],y=d[2],o("setSuggestionChallenges",m),o("setSuggestionCourses",v),o("setSuggestionPuzzles",y);case 13:case"end":return n.stop()}}),n)})))()}},L={setPost:function(t,e){t.post=e,t.fetchedAt=new Date,t.invalidated=!1},setVideo:function(t,video){t.video=video},setProposals:function(t,e){t.proposals=e},setSeries:function(t,e){t.series=e},setRelated:function(t,e){t.related=e},setRelatedOrganizations:function(t,e){t.relatedOrganizations=e},invalidate:function(t){t.invalidated=!0},setPromoted:function(t,e){var n=e.promoted,r=e.promotion;t.post.promoted=n,t.post.promotion=r},setReported:function(t){t.post.reported=!0},setSuggestionChallenges:function(t,e){t.suggestionChallenges=e},setSuggestionPuzzles:function(t,e){t.suggestionPuzzles=e},setSuggestionCourses:function(t,e){t.suggestionCourses=e}};e.default={state:function(){return{post:null,related:null,relatedOrganizations:null,fetchedAt:null,invali
1dated:!0,series:null,proposals:[],video:null,tracking:null,suggestionChallenges:[],suggestionCourses:[],suggestionPuzzles:[]}},actions:D,mutations:L,getters:E}},1564:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return S})),n.d(e,"getters",(function(){return k.a})),n.d(e,"actions",(function(){return P})),n.d(e,"mutations",(function(){return T}));var r=n(2),o=n(3),c=(n(11),n(34)),l=n.n(c),h=n(78),d=n.n(h),f=n(8),m=n.n(f),v=n(29),y=n.n(v),w=n(36),_=n(27),k=n(204),O=n(4),x=n.n(O),C=function(t){var data=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return x.a.put("/tags/".concat(t.slug,"/mark-technical"),data)},j=["slug","image","name","url","posts_count","primary","technology","questions_count","followers_count","following","system"],S=function(){return{all:{}}},P={subscribe:function(t,e){return Object(o.a)(regeneratorRuntime.mark((function n(){var o,c,l;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.commit,c=e.tag,l=e.value,n.next=4,Object(w.subscribe)(_.SubscribableType.Tag,c.slug,l);case 4:o("put",Object(r.a)({},c.slug,{following:l,followers_count:c.followers_count+(l?1:-1)})),o("auth/setFollowingTechnicalsCount",l?1:-1,{root:!0});case 6:case"end":return n.stop()}}),n)})))()},markTechnical:function(t,e){return Object(o.a)(regeneratorRuntime.mark((function n(){var o,c,l;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.commit,c=e.tag,l=e.value,n.next=4,C(c,{technical:l});case 4:o("put",Object(r.a)({},c.slug,{technology:l}));case 5:case"end":return n.stop()}}),n)})))()}},T={put:function(t,e){var n,data=(n=e,y()(n,(function(t){return l()(t,j)}))),r=y()(data,(function(e,n){return t.all[n]})),o=d()({},r,data);t.all=m()({},t.all,o)}}},189:function(t,e,n){"use strict";n.d(e,"b",(function(){return h}));n(63),n(60),n(85),n(31),n(166),n(167);var r=n(345),o=n.n(r),c={1e3:"K",1e6:"M",1e9:"B",1e12:"T"},l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=o()(c,(function(e,n){return t>=n}));if(!e)return Number(t.toFixed(2));var n=t/e,r=Math.floor(n),l=Number(String(n).replace(/\d+\./,"").slice(0,1)),h=c[e];return r===String(n)?"".concat(r).concat(h):"".concat(r,".").concat(l).concat(h)},h=function(t){return null==t?void 0:t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")};e.a=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3;return t<Math.pow(10,e)?h(t):l(t)}},19:function(t,e,n){"use strict";n.d(e,"c",(function(){return r})),n.d(e,"f",(function(){return image})),n.d(e,"b",(function(){return o})),n.d(e,"d",(function(){return c})),n.d(e,"q",(function(){return l})),n.d(e,"i",(function(){return h})),n.d(e,"l",(function(){return d})),n.d(e,"j",(function(){return f})),n.d(e,"g",(function(){return m})),n.d(e,"m",(function(){return v})),n.d(e,"e",(function(){return y})),n.d(e,"h",(function(){return w})),n.d(e,"a",(function(){return _})),n.d(e,"p",(function(){return k})),n.d(e,"o",(function(){return O})),n.d(e,"k",(function(){return x})),n.d(e,"n",(function(){return C}));n(130),n(85),n(64),n(60);var r="".concat(window.location.protocol,"//").concat(window.location.host);function image(t,e){return e?"".concat("https://images.viblo.asia","/").concat(e,"/").concat(t):"".concat("https://images.viblo.asia","/").concat(t)}function o(t){return"/a/".concat(t.hash_id)}function c(t){return"/c/".concat(t.hash_id)}function l(t,e){return t&&t.username?(e=void 0===e?"":"/".concat(e),"/u/".concat(t.username).concat(e)):"/users"}function h(t){if(!t.system)return t.transliterated?"/p/".concat(t.transliterated,"-").concat(t.slug):"/p/".concat(t.slug);if("faqs"===t.system||"faq"===t.system)return"/faq";if("vi_terms"===t.system)return"/terms/vi_term";if("en_terms"===t.system)return"/terms/en_term";if("jp_terms"===t.system)return"/terms/jp_term";var e="announcement"===t.system?"announcements":t.system;return"/".concat(e,"/").concat(t.transliterated,"-").concat(t.slug)}function d(t){return"/s/".concat(t.hash_id)}function f(t){return"/q/".concat(t.hash_id)}function m(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e?"/o/".concat(t.slug,"/").concat(e):"/o/".concat(t.slug)}function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return"editors-choice"===t.slug?"/editors-choice":t.system?"announcement"===t.slug||"help"===t.slug?"/".concat(t.slug,"s"):"/".concat(t.slug):e?"/tags/".concat(t.slug,"/").concat(e):"/tags/".concat(t.slug)}function y(t){return"homepage"===t?"/":"/".concat(t)}function w(t){return"/embed/users/".concat(t)}function _(){var path=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/";return path.match(/^http(s?):\/\//)?path:"".concat(r,"/").concat(path.replace(/^\/+|\/+$/,""))}function k(t){return"https://ctf.viblo.asia/puzzles/".concat(t)}function O(t){return"https://www.facebook.com/".concat(t)}function x(t){return"/posts/".concat(t,"/settings/seo")}function C(t){return"".concat("https://viblo.asia").concat(t)}},20:function(t,e,n){"use strict";n.d(e,"b",(function(){return C})),n.d(e,"h",(function(){return j})),n.d(e,"a",(function(){return S})),n.d(e,"c",(function(){return P})),n.d(e,"f",(function(){return T})),n.d(e,"d",(function(){return A})),n.d(e,"e",(function(){return R})),n.d(e,"g",(function(){return E}));var r=n(32),o=n(2),c=(n(130),n(85),n(64),n(34)),l=n.n(c),h=n(154),d=n.n(h),f=n(9),m=n.n(f),v=n(190),y=n.n(v),w=n(108),_=n.n(w),k=n(81),O=n.n(k),x=[{slug:"sun-ai",host:"blog.sun-asterisk.ai"},{slug:"sun-ai",host:"sun-ai.sun-asterisk.ai"}],C=function(){},j=d()((function(t,e){if(!e.response)throw e;var n=l()(e.response,["status","statusText","data"]);t({response:n,statusCode:n.status})})),S=d()((function(t,e){if(e.response){var n=m()(e,"response.statusText"),r=m()(e,"response.data.message"),o=m()(e,"response.data.errors");t((o?y()(o[y()(_()(o))]):null)||r||n)}else t("Something went wrong!")}));function P(param){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"hashId",e=param.match(/^([^/]+(?=-))?-?([^/-]+)$/);return e?Object(o.a)({slug:e[1]},t,e[2]):{}}function T(t){return t.replace("https://","")}function A(t){return null==t?void 0:t.split(".")[0]}function R(t,e){var n={};return t&&void 0!==t?(t.split(";").forEach((function(t){var e=t.split("="),o=Object(r.a)(e,2),c=o[0],l=o[1];n[c.trim()]=l})),n[e]):null}function E(t){var e=O()(x,{host:t});return void 0!==e&&e.slug?e.slug:t.split(".")[0]}},204:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));n(12),n(54);var r=n(34),o=n.n(r),c={get:function(t){return function(e){return t.all[e]}},byId:function(t){return function(e){return o()(t.all,e)}},mapId:function(t){return function(e){return e.map((function(e){return t.all[e]})).filter((function(t){return t}))}}}},209:function(t,e,n){"use strict";n.d(e,"b",(function(){return h})),n.d(e,"a",(function(){return d}));var r=n(492),o=n(103),c={maxSize:500,maxExpand:100,maxCharacter:1e3},l={successText:Object(o.d)("copied"),titleButton:Object(o.d)("copy"),showMoreText:Object(o.d)("showMore")},h=function(){return Object(r.createRenderer)({baseURL:"https://viblo.asia",embed:!1,absoluteURL:!1,katex:c,clipboard:l})},d=function(){return Object(r.createRenderer)({baseURL:"https://viblo.asia",absoluteURL:!1,embed:{wrapperClass:"embed-responsive embed-responsive-16by9",iframeClass:"embed-responsive-item"},katex:c,clipboard:l})}},21:function(t,e,n){"use strict";n.d(e,"k",(function(){return w})),n.d(e,"l",(function(){return _})),n.d(e,"e",(function(){return k})),n.d(e,"b",(function(){return O})),n.d(e,"r",(function(){return x})),n.d(e,"g",(function(){return C})),n.d(e,"h",(function(){return j})),n.d(e,"d",(function(){return S})),n.d(e,"q",(function(){return P})),n.d(e,"j",(function(){return T})),n.d(e,"s",(function(){return R})),n.d(e,"n",(function(){return D})),n.d(e,"p",(function(){return L})),n.d(e,"f",(function(){return N})),n.d(e,"c",(function(){return $})),n.d(e,"i",(function(){return B})),n.d(e,"o",(function(){return M})),n.d(e,"a",(function(){return Q})),n.d(e,"t",(function(){return X})),n.d(e,"m",(function(){return G}));n(13),n(118),n(17),n(18);var r=n(61),o=n(3),c=n(2),l=n(32),h=(n(11),n(12),n(417),n(31),n(42),n(54),n(15),n(66),n(46),n(60),n(85),n(373),n(376),n(276),n(166),n(167),n(1129),n(165),n(140),n(5)),d=n(83);function f(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function m(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?f(Object(source),!0).forEach((function(e){Object(c.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):f(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}function v(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return y(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function w(t){h.default.config.errorHandler&&h.default.config.errorHandler(t)}function _(t){return t.$options&&"function"==typeof t.$options.fetch&&!t.$options.fetch.length}function k(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=t.$children||[],o=v(r);try{for(o.s();!(e=o.n()).done;){var c=e.value;c.$fetch?n.push(c):c.$children&&k(c,n)}}catch(t){o.e(t)}finally{o.f()}return n}function O(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]),m(m({},data),e)},t.options.__hasNuxtData=!0,t._Ctor&&t._Ctor.options&&(t._Ctor.options.data=t.options.data)}}function x(t){return t.options&&t._Ctor===t||(t.options?(t._Ctor=t,t.extendOptions=t.options):(t=h.default.extend(t))._Ctor=t,!t.options.name&&t.options.__file&&(t.options.name=t.options.__file)),t}function C(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((function(t,r){return Object.keys(t[n]).map((function(o){return e&&e.push(r),t[n][o]}))})))}function j(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return C(t,e,"instances")}function S(t,e){return Array.prototype.concat.apply([],t.matched.map((function(t,n){return Object.keys(t.components).reduce((function(r,o){return t.components[o]?r.push(e(t.components[o],t.instances[o],t,o,n)):delete t.components[o],r}),[])})))}function P(t,e){return Promise.all(S(t,function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(n,r,o,c){var l,h;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof n||n.options){t.next=11;break}return t.prev=1,t.next=4,n();case 4:n=t.sent,t.next=11;break;case 7:throw t.prev=7,t.t0=t.catch(1),t.t0&&"ChunkLoadError"===t.t0.name&&"undefined"!=typeof window&&window.sessionStorage&&(l=Date.now(),(!(h=parseInt(window.sessionStorage.getItem("nuxt-reload")))||h+6e4<l)&&(window.sessionStorage.setItem("nuxt-reload",l),window.location.reload(!0))),t.t0;case 11:return o.components[c]=n=x(n),t.abrupt("return","function"==typeof e?e(n,r,o,c):n);case 13:case"end":return t.stop()}}),t,null,[[1,7]])})));return function(e,n,r,o){return t.apply(this,arguments)}}()))}function T(t){return A.apply(this,arguments)}function A(){return(A=Object(o.a)(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,P(e);case 4:return t.abrupt("return",m(m({},e),{},{meta:C(e).map((function(t,n){return m(m({},t.options.meta),(e.matched[n]||{}).meta)}))}));case 5:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function R(t,e){return E.apply(this,arguments)}function E(){return(E=Object(o.a)(regeneratorRuntime.mark((function t(e,n){var o,c,h,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e.context||(e.context={isStatic:!1,isDev:!1,isHMR:!1,app:e,store:e.store,payload:n.payload,error:n.error,base:e.router.options.base,env:{APP_ENV:"production",SSO_APP_URL:"https://accounts.viblo.asia",SSO_IMAGES_URL:"https://images.viblo.asia",SSO_SERVICE_CODE:"viblo",APP_URL:"https://viblo.asia",CDN_URL:"/_nuxt/",IMAGES_URL:"https://images.viblo.asia",CTF_URL:"https://ctf.viblo.asia",STATS_API_URL:"/v3/stats/track",GOOGLE_ANALYTICS_TRACK_ID:"G-HF9XE2NDGV",GOOGLE_CLIENT_ID:"321129265690-ttithr3ovvvottfro43rqr1klbf8o1co.apps.googleusercontent.com",UIZA_API_DOMAIN:"viblo.uiza.co",UIZA_APP_ID:"",TIME_DELAY_INCREASE_VIEW_REQUEST:1e3,FACEBOOK_APP_ID:"982854298857505",INTERVIEW_URL:"https://interview.viblo.asia",CODE_URL:"https://code.viblo.asia",LEARN_URL:"https://learn.viblo.asia",PARTNER_URL:"https://partner.viblo.asia",CV_URL:"https://cv.viblo.asia",BATTLE_URL:"https://battle.viblo.asia",TURNSTILE_SITE_KEY:""}},n.req&&(e.context.req=n.req),n.res&&(e.context.res=n.res),n.ssrContext&&(e.context.ssrContext=n.ssrContext),e.context.redirect=function(t,path,n){if(t){e.context._redirected=!0;var o=Object(r.a)(path);if("number"==typeof t||"undefined"!==o&&"object"!==o||(n=path||{},path=t,o=Object(r.a)(path),t=302),"object"===o&&(path=e.router.resolve(path).route.fullPath),!/(^[.]{1,2}
1\/)|(^\/(?!\/))/.test(path))throw path=Object(d.e)(path,n),window.location.replace(path),new Error("ERR_REDIRECT");e.context.next({path:path,query:n,status:t})}},e.context.nuxtState=window.__NUXT__),t.next=3,Promise.all([T(n.route),T(n.from)]);case 3:o=t.sent,c=Object(l.a)(o,2),h=c[0],f=c[1],n.route&&(e.context.route=h),n.from&&(e.context.from=f),e.context.next=n.next,e.context._redirected=!1,e.context._errored=!1,e.context.isHMR=!1,e.context.params=e.context.route.params||{},e.context.query=e.context.route.query||{};case 15:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function D(t,e){return!t.length||e._redirected||e._errored?Promise.resolve():L(t[0],e).then((function(){return D(t.slice(1),e)}))}function L(t,e){var n;return(n=2===t.length?new Promise((function(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 N(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(d.d)(e)}function $(t,e){return function(t,e){for(var n=new Array(t.length),i=0;i<t.length;i++)"object"===Object(r.a)(t[i])&&(n[i]=new RegExp("^(?:"+t[i].pattern+")$",H(e)));return function(e,r){for(var path="",data=e||{},o=(r||{}).pretty?U:encodeURIComponent,c=0;c<t.length;c++){var l=t[c];if("string"!=typeof l){var h=data[l.name||"pathMatch"],d=void 0;if(null==h){if(l.optional){l.partial&&(path+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(Array.isArray(h)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(h)+"`");if(0===h.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var f=0;f<h.length;f++){if(d=o(h[f]),!n[c].test(d))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(d)+"`");path+=(0===f?l.prefix:l.delimiter)+d}}else{if(d=l.asterisk?z(h):o(h),!n[c].test(d))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+d+'"');path+=l.prefix+d}}else path+=l}return path}}(function(t,e){var n,r=[],o=0,c=0,path="",l=e&&e.delimiter||"/";for(;null!=(n=I.exec(t));){var h=n[0],d=n[1],f=n.index;if(path+=t.slice(c,f),c=f+h.length,d)path+=d[1];else{var m=t[c],v=n[2],y=n[3],w=n[4],_=n[5],k=n[6],O=n[7];path&&(r.push(path),path="");var x=null!=v&&null!=m&&m!==v,C="+"===k||"*"===k,j="?"===k||"*"===k,S=n[2]||l,pattern=w||_;r.push({name:y||o++,prefix:v||"",delimiter:S,optional:j,repeat:C,partial:x,asterisk:Boolean(O),pattern:pattern?F(pattern):O?".*":"[^"+V(S)+"]+?"})}}c<t.length&&(path+=t.substr(c));path&&r.push(path);return r}(t,e),e)}function B(t,e){var n={},r=m(m({},t),e);for(var o in r)String(t[o])!==String(e[o])&&(n[o]=!0);return n}function M(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 m(m({},t),{},{message:e,statusCode:t.statusCode||t.status||t.response&&t.response.status||500})}window.onNuxtReadyCbs=[],window.onNuxtReady=function(t){window.onNuxtReadyCbs.push(t)};var I=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function U(t,e){var n=e?/[?#]/g:/[/?#]/g;return encodeURI(t).replace(n,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function z(t){return U(t,!0)}function V(t){return t.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function F(t){return t.replace(/([=!:$/()])/g,"\\$1")}function H(t){return t&&t.sensitive?"":"i"}function Q(t,e,n){t.$options[e]||(t.$options[e]=[]),t.$options[e].includes(n)||t.$options[e].push(n)}var X=d.c,G=(d.g,d.b)},216:function(t,e,n){"use strict";n(15),n(13),n(12),n(17),n(18);var r=n(2),o=n(7),c=n(36),l=n(103),h=n(347);function d(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function f(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?d(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):d(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var m={computed:f(f({},Object(o.e)("i18n",["locale"])),Object(o.c)("auth",["authenticated"])),mounted:function(){if(!this.authenticated){var t=localStorage.getItem("preferred_locale")||"vi";this.updateSettings(t)}},methods:{updateSettings:function(t){this.$i18n.locale=t,this.$store.dispatch("i18n/setLocale",t),Object(l.c)(this.$t("copied")),Object(l.b)(this.$t("copy")),Object(l.a)(this.$t("showMore")),Object(h.a)(t),this.authenticated?Object(c.updateSettings)("preferred_locale",t):localStorage.setItem("preferred_locale",t)},srcImage:function(t){return"/images/".concat(t,"-flag-32x48.png")}}},v=(n(1189),n(1)),component=Object(v.a)(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("el-dropdown",{on:{command:t.updateSettings}},[n("span",{staticClass:"el-dropdown-link uppercase switch-language font-bold text-sm"},[n("img",{staticClass:"imageLocale",attrs:{slot:"prefix",src:t.srcImage(t.locale),width:"20",height:"20"},slot:"prefix"}),t._v(" "),n("span",{staticClass:"leading-none block hiden-sm-screen"},[t._v(t._s(t.locale))])]),t._v(" "),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},t._l(t.$i18n.locales,(function(e){return n("el-dropdown-item",{key:e.code,attrs:{command:e.code}},[n("a",{staticClass:"dropdown-item px-4"},[t._v("\n                "+t._s(e.name)+"\n            ")])])})),1)],1)}),[],!1,null,null,null);e.a=component.exports},226:function(t,e,n){"use strict";n.d(e,"e",(function(){return c})),n.d(e,"c",(function(){return l})),n.d(e,"b",(function(){return h})),n.d(e,"a",(function(){return d})),n.d(e,"d",(function(){return f}));n(130),n(376),n(60);var r="next",o="prev";function c(t,e,n,c){switch(c){case o:return t<=e?n:t-1;case r:return t>=n?e:t+1}return t}function l(t,e){if(window.ActiveXObject){if(window.ActiveXObject&&document.execCommand){var n=window.open(t,"_blank");n.document.close(),n.document.execCommand("SaveAs",!0,e||t),n.close()}}else{var r=document.createElement("a");r.href=t,r.target="_blank";var o=t.substring(t.lastIndexOf("/")+1);if(r.download=e||o,navigator.userAgent.toLowerCase().match(/(ipad|iphone|safari)/)&&navigator.userAgent.
1search("Chrome")<0)document.location=r.href;else{var c=new MouseEvent("click",{view:window,bubbles:!0,cancelable:!1});r.dispatchEvent(c),(window.URL||window.webkitURL).revokeObjectURL(r.href)}}}function h(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,n=e+648e7,r=e+12e5;return t<r||t>n}function d(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Date,n=e+648e7,r=e-864e5+12e5;return t<r||t>n}function f(){var t=(new Date).getTimezoneOffset();return"".concat((t>0?"-":"+")+"0".concat(Math.floor(Math.abs(t)/60)).slice(-2),":").concat("0".concat(Math.abs(t)%60).slice(-2))}},255:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return c}));var r="view-post-logs",o="search-logs",c="ctr-logs"},256:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return l}));var r=n(876),o=n.n(r).a.create({baseURL:"/v3/stats/track",timeout:5e3,headers:{Accept:"application/json"}}),c=function(t,data){return o.post("/".concat(t),data)},l=function(t,e,data){return o.put("/".concat(t,"/").concat(e),data)}},261:function(t,e,n){"use strict";var r={};r.auth=n(994),r.auth=r.auth.default||r.auth,r.createOrganizations=n(1e3),r.createOrganizations=r.createOrganizations.default||r.createOrganizations,r.guest=n(1001),r.guest=r.guest.default||r.guest,r["homepage-redirect"]=n(1002),r["homepage-redirect"]=r["homepage-redirect"].default||r["homepage-redirect"],r["page-history"]=n(1003),r["page-history"]=r["page-history"].default||r["page-history"],r["post-domain-redirect"]=n(1034),r["post-domain-redirect"]=r["post-domain-redirect"].default||r["post-domain-redirect"],r["question-doamin-redirect"]=n(1074),r["question-doamin-redirect"]=r["question-doamin-redirect"].default||r["question-doamin-redirect"],r["root-domain-redirect"]=n(1561),r["root-domain-redirect"]=r["root-domain-redirect"].default||r["root-domain-redirect"],r["series-domain-redirect"]=n(1123),r["series-domain-redirect"]=r["series-domain-redirect"].default||r["series-domain-redirect"],r.utm=n(1124),r.utm=r.utm.default||r.utm,e.a=r},264:function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(6),o=n.n(r);function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date;return o()(t).utcOffset("+07:00").toDate().getTime()}},271:function(t,e,n){"use strict";var r=n(19),o=n(523),c=n(524),l={mixins:[o.a,c.a],props:{username:{type:String,required:!0},size:{type:String,default:"md"},levelPartner:{type:String,default:null}},computed:{userPage:function(){return Object(r.q)({username:this.username})}}},h=(n(1174),n(1)),component=Object(h.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("nuxt-link",{attrs:{to:t.userPage}},[n("Avatar",t._b({staticClass:"level-default avatar-event",attrs:{image:t.image||t.imagePolyfill}},"Avatar",t.$props,!1))],1)}),[],!1,null,null,null);e.a=component.exports},274:function(t,e,n){"use strict";var r=n(29),o=n.n(r);e.a={data:function(){return{processing:!1,serverErrors:{},serverErrorMessage:null}},methods:{submit:function(form,t){this.serverErrors={},form.model?form.validate((function(e){e&&t()})):t()},handleError:function(t){if(!t.response)throw this.$message.error("Something went wrong. Please try again later."),t;var e,data=t.response.data;422===t.response.status?this.serverErrors=(e=data.errors,o()(e,"0")):data.message&&(this.serverErrorMessage=data.message)}}}},275:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"c",(function(){return l})),n.d(e,"b",(function(){return h})),n.d(e,"j",(function(){return d})),n.d(e,"g",(function(){return f})),n.d(e,"f",(function(){return m})),n.d(e,"e",(function(){return v})),n.d(e,"k",(function(){return y})),n.d(e,"d",(function(){return w})),n.d(e,"i",(function(){return _})),n.d(e,"l",(function(){return k})),n.d(e,"m",(function(){return O})),n.d(e,"h",(function(){return x}));var r=n(4),o=n.n(r),c=function(t){return o.a.get("/announcements",{params:t})},l=function(t){return o.a.get("/announcements-pin",{params:t})},h=function(t){return o.a.get("/announcements/".concat(t))},d=function(t){return o.a.get("/announcements",{params:t})},f=function(t){return o.a.get("/helps",{params:t})},m=function(t){return o.a.get(t?"/help/".concat(t):"/help")},v=function(){return o.a.get("/faq")},y=function(){return o.a.delete("/me/announcements")},w=function(t){return o.a.get("/me/attachments",{params:t})},_=function(t,e){return o.a.put("/".concat(t,"/").concat(e,"/highlighting-code"))},k=function(t){return o.a.put("/pin-announcement/".concat(t))},O=function(t){return o.a.put("/un-pin-announcement/".concat(t))},x=function(t){return o.a.get("/terms/".concat(t))}},277:function(t,e,n){"use strict";var r=n(2),o=(n(54),n(63),n(15),n(13),n(12),n(17),n(18),n(86)),c=n.n(o),l=n(613),h=n.n(l),d=n(877),f=n.n(d),m=n(19);function v(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function y(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?v(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):v(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var w=n(131).convert({cap:!1});var _={name:"Avatar",functional:!0,props:{image:String,imageSize:[Number,String],size:String,rectangle:Boolean,organization:Boolean,defaultImage:{type:String,default:"/images/mm.png"}},render:function(t,e){var n,o,l,d,v,_=e.props,data=e.data,k=function(t){var image=t.image,e=t.imageSize,n=t.defaultImage;if(!image)return{src:n};var r=function(t){return"string"==typeof t?[t,"".concat(t,"-retina")]:"number"==typeof t?[t,2*t]:["avatar","avatar-retina"]}(e).map((function(t){return Object(m.f)(image,t)}));return{src:r[0],srcset:c()(f()(1,2),w((function(img,t){return"".concat(img," ").concat(t+2,"x")})),h()(", "))(r)}}(_),O=["avatar",(l=(n=_).size,d=n.rectangle,v=n.organization,o={},Object(r.a)(o,"avatar--".concat(l),Boolean(l)),Object(r.a)(o,"avatar--rect",d),Object(r.a)(o,"avatar--ognzt",v),o),data.class,data.staticClass];return t("img",{directives:[{name:"avatar",value:!0}],attrs:y(y({},k),{},{alt:"Avatar"}),class:O})}},k=(n(1173),n(1)),component=Object(k.a)(_,undefined,undefined,!1,null,"f09f4d56",null);e.a=component.exports},281:function(t,e,n){"use strict";n(15),n(13),n(12),n(17),n(18);var r,o=n(2),c=(n(276),n(64),n(31),n(166),n(167),n(286)),l=n.n(c),h=n(7),d=n(357),f=n(891),m=n(209),v=n(19),y=n(103),w=n(157),_=n(158),k=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"img:not(.emoji)";Object(w.a)(this,t),this.selector=e}return Object(_.a)(t,[{key:"call",value:function(t){t.querySelectorAll(this.selector).forEach((function(img){img.classList.add("article-img")}))}}]),t}(),O=n(525),x=(n(130),n(962),n(81)),C=n.n(x),j=function(){function t(e){Object(w.a)(this,t),this.uploads=e}return Object(_.a)(t,[{key:"call",value:function(t){var e=this;t.querySelectorAll(".article-img").forEach((function(img){var t=img.getAttribute("src");if(t){var n=t.match(new RegExp(String.raw(r||(r=Object(O.a)(["^","/(w{8}-w{4}-w{4}-w{4}-w{12}).([a-z]+)$"],["^","\\/(\\w{8}-\\w{4}-\\w{4}-\\w{4}-\\w{12})\\.([a-z]+)$"])),l()("https://images.viblo.asia"))),"i");if(n){var o=n[1],c=n[2],h=C()(e.uploads,{uuid:o});if(h&&h.width&&h.height){var d=h.width,f=h.height,m="".concat("https://images.viblo.asia","/60/").concat(o,".").concat(c),v="".concat("https://images.viblo.asia","/retina/").concat(o,".").concat(c," 2x"),y="".concat("https://images.viblo.asia","/full/").concat(o,".").concat(c);img.setAttribute("width",d),img.setAttribute("height",f),img.setAttribute("data-tiny-src",m),img.setAttribute("data-zoom-src",y),img.setAttribute("data-srcset",v),img.setAttribute("data-wrapper-class","article-img-wrapper"),img.setAttribute("data-tiny-class","article-img-tiny"),img.setAttribute("data-full-class","article-img"),img.classList.add("pil-img")}}}}))}}]),t}(),S=n(493),P=function(){function t(e,n){Object(w.a)(this,t),this.textContent=e,this.markdownRenderer=n,this.htmlFilters=[]}return Object(_.a)(t,[{key:"appendHtmlFilter",value:function(filter){this.htmlFilters.push(filter)}},{key:"process",value:function(){var t=this.markdownRenderer.render(this.textContent),e=Object(S.parse)(t);return this.htmlFilters.forEach((function(filter){return filter.call(e,{parse:S.parse})})),e}}]),t}();function T(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function A(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?T(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):T(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var R={components:{Tinybox:f.a},props:{contents:{type:String,default:""},uploads:{type:Array,default:function(){return[]}},renderer:{type:String,default:"full"},classContent:{type:String,default:""}},data:function(){return{html:"",index:null,images:[]}},computed:A(A({},Object(h.e)("typeControl",["modeTheme"])),Object(h.c)("typeControl",["fontSize","lineHeight"])),watch:{contents:function(){this.getHtml()}},created:function(){this.getHtml()},mounted:function(){Object(y.c)(this.$t("copied")),Object(y.b)(this.$t("copy")),Object(y.a)(this.$t("showMore")),this.tinyBoxInit()},methods:{changeTextLangInMarkdown:function(){var t=this;document.getElementsByClassName("v-markdown-it-code-copy").forEach((function(e){e.getElementsByClassName("tooltiptext")[0].innerHTML=t.$t("copied")}))},tinyBoxInit:function(){var t=this;this.$nextTick((function(){t.$refs.article.querySelectorAll(".article-img").forEach((function(e,n){var r=e.dataset.zoomSrc||e.getAttribute("src"),o="^".concat(l()("https://images.viblo.asia"),"\\/"),c=new RegExp(o);if(r&&c.test(r)){var h=r.split(/[/?#]/);t.images.push(Object(v.f)(h[h.length-1],"full"))}else t.images.push(r);e.addEventListener("click",(function(){t.index=n}))}))}))},getHtml:function(){var t="lite"===this.renderer?Object(m.b)():Object(m.a)(),e=new P(this.contents,t);e.appendHtmlFilter(new k),e.appendHtmlFilter(new j(this.uploads)),e.appendHtmlFilter(new d.b(".pil-img"));var n=e.process();this.html=n.toString()}}},E=(n(1477),n(1)),component=Object(E.a)(R,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.classContent},[n("div",{directives:[{name:"progressive-img",rawName:"v-progressive-img",value:".pil-img",expression:"'.pil-img'"}],ref:"article",staticClass:"md-contents",style:{fontSize:t.fontSize,lineHeight:t.lineHeight},domProps:{innerHTML:t._s(t.html)}}),t._v(" "),n("client-only",[n("Tinybox",{staticClass:"tinybox-custom",attrs:{images:t.images},model:{value:t.index,callback:function(e){t.index=e},expression:"index"}})],1)],1)}),[],!1,null,null,null);e.a=component.exports},285:function(t,e,n){"use strict";n.d(e,"a",(function(){return l})),n.d(e,"c",(function(){return h})),n.d(e,"b",(function(){return f}));var r,o=n(2),c=n(27),l=function(t){return t?t>0?c.VoteDir.Up:c.VoteDir.Down:c.VoteDir.None},h=function(t){var e;return(e={},Object(o.a)(e,c.VoteDir.Up,1),Object(o.a)(e,c.VoteDir.Down,-1),Object(o.a)(e,c.VoteDir.None,0),e)[t]},d=(r={},Object(o.a)(r,c.RateableType.Post,{up:4,down:0,none:0}),Object(o.a)(r,c.RateableType.Series,{up:4,down:0,none:0}),Object(o.a)(r,c.RateableType.Question,{up:2,down:0,none:0}),Object(o.a)(r,c.RateableType.Answer,{up:1,down:0,none:0}),Object(o.a)(r,c.RateableType.Comment,{up:2,down:0,none:0}),r),f=function(t,e,n){var r=l(t),o=l(e),c=d[n];return c?c[r]-c[o]:null}},320:function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return l})),n.d(e,"c",(function(){return h}));var r=n(4),o=n.n(r),c=function(t){return o.a.get("/comments",{params:t})},l=function(t){return o.a.post("/admin/comments/".concat(t.hash_id,"/convertToAnswer"))},h=function(t,e){return o.a.post("/comments/".concat(t,"/report"),e)}},346:function(t,e,n){"use strict";n(15),n(13),n(12),n(17),n(18);var r=n(2),o=n(7);function c(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function l(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?c(Object(source),!0).forEach((function(e){Object(r.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}e.a={computed:l({},Object(o.e)("notifications",{notifications:"data",unreadCounter:"unread"})),methods:l(l(l({},Object(o.b)("notifications",{fetchNotifications:"fetch",fetchMore:"fetchMore",clearUnread:"clear"})),Object(o.c)("notifications",["hasMore"])),{},{clear:function(){this.unreadCounter>0&&this.clearUnread()},setRead:function(t){this.$store.commit("notifications/setRead",t)}})}},347:function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(183),o=n.n(r),c=n(879),l=n.n(c),h=n(487),d=n.n(h);function f(t){switch(t){case"en":o.a.use(l.a);break;case"vi":default:o.a.use(d.a)}}},349:function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(26),o=n(2),c=(n(60),n(8)),l=n.n(c),h=n(74),d=n.n(h),f=function(data,t,e,n){var c=d()(data,Object(o.a)({},t,e));if(-1===c)return data;var h=l()({},data[c],n);return[].concat(Object(r.a)(data.slice(0,c)),[h],Object(r.a)(data.slice(c+1)))}},355:function(t,e,n){"use strict";n.r(e),n.d(e,"PUT_POST_INCREMENT",(function(){return C}));var r=n(3),o=n(2),c=(n(11),n(12),n(54),n(34)),l=n.n(c),h=n(8),d=n.n(h),f=n(35),m=n.n(f),v=n(29),y=n.n(v),w=n(185),_=n.n(w),k=n(36),O=n(27),x=n(156),C="entities/posts/increment",j={get:function(t){return function(e){return t.all[e]}},byId:function(t){return function(e){return l()(t.all,e)}},mapId:function(t){return function(e){return e.map((function(e){return t.all[e]})).filter((function(t){return t}))}}},S={vote:Object(x.a)(O.RateableType.Post,(function(t,e){return e.all[t]}),(function(t,e,n){return n("put",Object(o.a)({},t,e))}),"slug"),clip:function(t,e){return Object(r.a)(regeneratorRuntime.mark((function n(){var r,c,l,h,d,f,m;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.state,c=t.commit,l=t.rootGetters,h=e.id,d=e.value,f=r.all[h],n.next=5,Object(k.subscribe)(O.SubscribableType.Post,f.slug,d);case 5:return m=n.sent,l["auth/userId"]===f.user_id||c("entities/users/increment",Object(o.a)({},f.user_id,{reputation:d?3:-3}),{root:!0}),c("put",Object(o.a)({},h,{clipped:d,clips_count:f.clips_count+(d?1:-1)})),n.abrupt("return",m);case 10:case"end":return n.stop()}}),n)})))()},clipSinglePost:function(t,e){return Object(r.a)(regeneratorRuntime.mark((function n(){var r,c,l,h,d;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.commit,c=e.post,l=e.value,h=e.id,n.next=4,Object(k.subscribe)(O.SubscribableType.Post,c.slug,l);case 4:return d=n.sent,r("put",Object(o.a)({},h,{clipped:l,clips_count:c.clips_count+(l?1:-1)})),n.abrupt("return",d);case 7:case"end":return n.stop()}}),n)})))()}},P={put:function(t,e){var data=function(t){return y()(t,(function(t){return l()(t,["id","slug","title","transliterated","tags","system_tag","user_id","path","canonical_url","uploads","status","is_published","is_shared","is_public","promoted","trending","system","thumbnail_url","is_video","video","organization","views_count","clips_count","comments_count","clipped","points","rated_value","scheduled_publish_at","created_at","updated_at","published_at","promoted_at","trend_at","reading_time","can_share_social","submit_status","profile_pin_position"])}))}(e),n=y()(data,(function(e,n){return t.all[n]})),r=_()({},n,data,(function(t,e){return m()(t)&&m()(e)?e:void 0})),o=d()({},t.all,r);t.all=o},increment:function(t,e){var n=function(t,e){return"number"==typeof t&&"number"==typeof e?t+e:void 0},r=y()(e,(function(e,n){return t.all[n]})),o=_()({},r,e,n),c=d()({},t.all,o);t.all=c},updatePinPosition:function(t,e){var n=e.id,r=e.position,o=t.all[n];o&&(o.profile_pin_position=r)}};e.default={state:function(){return{all:{}}},actions:S,getters:j,mutations:P}},361:function(t,e,n){"use strict";n(63);var filter=n(114),r=n.n(filter),o=n(9),c=n.n(o),l=n(19),h={components:{Avatar:n(271).a},props:{notification:{type:Object,required:!0}},computed:{sender:function(){return c()(this.notification,"sender.data")},answerUrl:function(){var t=/\/a\/[a-zA-Z0-9]+#comment-([a-zA-Z0-9]+)/.exec(this.notification.data.url),e=/^\/(a\/[a-zA-Z0-9]+)/.exec(this.notification.data.url);return t?"".concat(l.c,"/c/").concat(t[1]):e?"".concat(l.c,"/").concat(e[1]):null},commentUrl:function(){var t=/^\/(c\/[a-zA-Z0-9]+)/.exec(this.notification.data.url);return t?"".concat(l.c,"/").concat(t[1]):null},targetUrl:function(){return this.answerUrl?this.answerUrl:this.notification.data.url},facebookUrl:function(){return/^(http[s]):\/\/(www\.)?facebook.com(\/.*)?/.test(this.notification.data.url)}},methods:{onClickUrl:function(){this.answerUrl?window.location=this.answerUrl:this.commentUrl?window.location=this.commentUrl:this.facebookUrl?window.open(this.notification.data.url):this.$router.push(this.notification.data.url)}}},d=(n(1180),n(1)),f={components:{Item:Object(d.a)(h,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"notification-item word-break",class:{"
1is-new":!t.notification.is_read}},[n("div",{staticClass:"notification-item__avatar"},[t.sender?n("Avatar",{attrs:{image:t.sender.avatar,username:t.sender.username}}):t._e()],1),t._v(" "),t.notification.data.message?n("div",{staticClass:"notification-item__message"},[n("span",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.notification.data.message)}}),t._v(" "),n("br"),t._v(" "),n("small",[t._v(t._s(t._f("humanize-time")(t.notification.created_at)))])]):n("a",{staticClass:"notification-item__message link",attrs:{href:t.targetUrl},on:{click:function(e){return e.preventDefault(),t.onClickUrl.apply(null,arguments)}}},[n("div",[n("span",{staticClass:"mb-0",domProps:{innerHTML:t._s(t.notification.data.title.html)}}),t._v(" "),n("br"),t._v(" "),n("small",[t._v(t._s(t._f("humanize-time")(t.notification.created_at)))])])])])}),[],!1,null,null,null).exports},props:{notifications:[Array,Object],openTime:[Number]},computed:{unreads:function(){return r()(this.notifications,(function(t){return!t.is_read}))},earliers:function(){return r()(this.notifications,{is_read:!0})}}},m=(n(1181),Object(d.a)(f,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"notification-list"},[t.unreads.length>0?[n("div",{staticClass:"notification-list__group-header"},[n("div",{staticClass:"el-badge"},[n("span",[t._v(t._s(t.$t("mainNavbar.notifications.notificationsList.new")))]),t._v(" "),n("sup",{staticClass:"el-badge__content is-fixed is-dot"})])]),t._v(" "),t._l(t.unreads,(function(e){return n("Item",{key:e.id+t.openTime,attrs:{notification:e},nativeOn:{click:function(n){return t.$emit("item-click",e.id)}}})}))]:t._e(),t._v(" "),n("div",{staticClass:"notification-list__group-header"},[t._v("\n        "+t._s(t.$t("mainNavbar.notifications.notificationsList.earlier"))+"\n    ")]),t._v(" "),t._l(t.earliers,(function(e){return n("Item",{key:e.id+t.openTime,attrs:{notification:e},nativeOn:{click:function(n){return t.$emit("item-click",e.id)}}})}))],2)}),[],!1,null,null,null));e.a=m.exports},362:function(t,e,n){"use strict";n(1182);var r=n(1),component=Object(r.a)({},(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("section",{staticClass:"container-notifications"},[n("el-skeleton",{attrs:{animated:"",count:10}},[n("template",{slot:"template"},[n("div",{staticClass:"d-flex mb-1"},[n("div",{staticClass:"mr-05"},[n("el-skeleton-item",{staticStyle:{width:"40px",height:"40px","border-radius":"50%"},attrs:{variant:"image"}})],1),t._v(" "),n("div",{staticClass:"flex-fill"},[n("el-skeleton-item",{staticStyle:{width:"75%"},attrs:{variant:"text"}}),t._v(" "),n("el-skeleton-item",{attrs:{variant:"h3"}}),t._v(" "),n("el-skeleton-item",{staticStyle:{width:"60%"},attrs:{variant:"text"}})],1)])])],2)],1)}),[],!1,null,null,null);e.a=component.exports},366:function(t,e,n){"use strict";n(165),n(140),n(54),n(12),n(31),n(60),n(42),n(13),n(118),n(66),n(46);var r=n(5);function o(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,l=!0,h=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return l=t.done,t},e:function(t){h=!0,o=t},f:function(){try{l||null==n.return||n.return()}finally{if(h)throw o}}}}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}var l=window.requestIdleCallback||function(t){var e=Date.now();return setTimeout((function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})}),1)},h=window.cancelIdleCallback||function(t){clearTimeout(t)},d=window.IntersectionObserver&&new window.IntersectionObserver((function(t){t.forEach((function(t){var e=t.intersectionRatio,link=t.target;e<=0||!link.__prefetch||link.__prefetch()}))}));e.a={name:"NuxtLink",extends:r.default.component("RouterLink"),props:{prefetch:{type:Boolean,default:!0},noPrefetch:{type:Boolean,default:!1}},mounted:function(){this.prefetch&&!this.noPrefetch&&(this.handleId=l(this.observe,{timeout:2e3}))}
1,beforeDestroy:function(){h(this.handleId),this.__observed&&(d.unobserve(this.$el),delete this.$el.__prefetch)},methods:{observe:function(){d&&this.shouldPrefetch()&&(this.$el.__prefetch=this.prefetchLink.bind(this),d.observe(this.$el),this.__observed=!0)},shouldPrefetch:function(){return this.getPrefetchComponents().length>0},canPrefetch:function(){var t=navigator.connection;return!(this.$nuxt.isOffline||t&&((t.effectiveType||"").includes("2g")||t.saveData))},getPrefetchComponents:function(){return this.$router.resolve(this.to,this.$route,this.append).resolved.matched.map((function(t){return t.components.default})).filter((function(t){return"function"==typeof t&&!t.options&&!t.__prefetched}))},prefetchLink:function(){if(this.canPrefetch()){d.unobserve(this.$el);var t,e=o(this.getPrefetchComponents());try{for(e.s();!(t=e.n()).done;){var n=t.value,r=n();r instanceof Promise&&r.catch((function(){})),n.__prefetched=!0}}catch(t){e.e(t)}finally{e.f()}}}}}},37:function(t,e,n){"use strict";n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return c}));n(85),n(31),n(166),n(167),n(63),n(345);var r=n(19);function o(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}function c(){return"".concat(Date.parse(new Date),"-").concat(o()).concat(o(),"-").concat(o(),"-").concat(o())}n.d(e,"f",(function(){return r.i})),n.d(e,"g",(function(){return r.j})),n.d(e,"i",(function(){return r.m})),n.d(e,"j",(function(){return r.q})),n.d(e,"d",(function(){return r.e})),n.d(e,"h",(function(){return r.l})),n.d(e,"e",(function(){return r.g})),n.d(e,"a",(function(){return r.a}));var l=function(t){return 0===t?"none":t>0?"up":"down"}},370:function(t,e,n){"use strict";n.d(e,"f",(function(){return c})),n.d(e,"i",(function(){return l})),n.d(e,"d",(function(){return h})),n.d(e,"b",(function(){return d})),n.d(e,"h",(function(){return f})),n.d(e,"j",(function(){return m})),n.d(e,"c",(function(){return v})),n.d(e,"a",(function(){return y})),n.d(e,"k",(function(){return w})),n.d(e,"g",(function(){return _})),n.d(e,"e",(function(){return k}));var r=n(4),o=n.n(r),c=function(t){return o.a.get("/series/myPosts",{params:t})},l=function(t,e){var n=e.reason,source=e.source;return o.a.post("/series/".concat(t,"/report"),{reason:n,source:source})},h=function(t){return o.a.get("/series/series-with-check",{params:t})},d=function(t){return o.a.get("/series/posts-with-check",{params:t})},f=function(t,e){return o.a.put("/series/".concat(e,"/propose-add-post"),{post_id:t})},m=function(t,e){return o.a.put("/series/".concat(e,"/request-add-post"),{post_id:t})},v=function(t){return o.a.get("/series/".concat(t,"/requests"))},y=function(t){return o.a.delete("/series-modification/".concat(t))},w=function(t,e){return o.a.put("/series-modification/".concat(t),e)},_=function(t){return o.a.get("/me/contents/series",{params:t})},k=function(t,e){return o.a.get("/series/".concat(t),{params:e}).then((function(t){return t.data}))}},420:function(t,e,n){"use strict";n(628)},43:function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"h",(function(){return l})),n.d(e,"g",(function(){return h})),n.d(e,"e",(function(){return d})),n.d(e,"d",(function(){return f})),n.d(e,"c",(function(){return m})),n.d(e,"a",(function(){return v})),n.d(e,"i",(function(){return y})),n.d(e,"f",(function(){return w}));var r=n(4),o=n.n(r),c=function(t){return o.a.get("/tags/".concat(t,"/popular"))},l=function(t){return o.a.get("/user-placements",{params:{context:t}})},h=function(t){return o.a.get("/organization-placements",{params:{context:t}})},d=function(t,e){return o.a.get("/".concat(t,"/").concat(e,"/subscribers"))},f=function(t){return o.a.get("/related-tags",{params:t})},m=function(t){return o.a.get("/related-authors",{params:t})},v=function(){return o.a.get("/organization-partners")},y=function(){return o.a.get("/user-partners")},w=function(t){return o.a.get("/suggestion/service",{params:t}).then((function(t){return t.data}))}},438:function(t,e){},439:function(t,e){},45:function(t,e,n){"use strict";n.r(e),n.d(e,"USER_ENTITIES",(function(){return H})),n.d(e,"PUT_USERS_TO_STATE",(function(){return Q})),n.d(e,"ACTION_FOLLOW_USER",(function(){return X})),n.d(e,"CHANGE_REPUTATION",(function(){return G}));var r=n(2),o=n(3),c=(n(11),n(81)),l=n.n(c),h=n(34),d=n.n(h),f=n(78),m=n.n(f),v=n(185),y=n.n(v),w=n(29),_=n.n(w),k=n(8),O=n.n(k),x=n(220),C=n.n(x),j=n(38),S=n.n(j),P=n(86),T=n.n(P),map=n(131),A=n.n(map),filter=n(203),R=n.n(filter),E=n(36),D=n(27),L="POST_CLIPPED",N="SERIES_CLIPPED",$="QUESTION_CLIPPING",B="USER_FOLLOWING",M="QUESTION_VOTED",I="ANSWER_VOTED",U="COMMENT_VOTED",z="ANSWER_ACCEPTED",V="POST_VOTED",F=["id","username","name","avatar","following","reputation","followers_count","posts_count","questions_count","answers_count","total_post_views","banned_at","level_partner"],H="entities/users",Q="entities/users/put",X="entities/users/follow",G="entities/users/changeReputation",Y={get:function(t,e,n,r){return function(e){var n=t.all[e];return S()(n)?null:O()({},n,{is_self:n.id===r["auth/userId"]})}},byId:function(t){return function(e){return d()(t.all,e)}},mapId:function(t,e){return function(n){return T()(R()((function(e){return null!=t.all[e]})),A()(e.get))(n)}}},W={follow:function(t,e){return Object(o.a)(regeneratorRuntime.mark((function n(){var o,c,h,d,f;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.commit,c=t.state,h=e.username,d=e.value,n.next=4,Object(E.subscribe)(D.SubscribableType.User,h,d);case 4:f=l()(c.all,{username:h}),o("put",Object(r.a)({},f.id,{following:d,followers_count:f.followers_count+(d?1:-1),reputation:f.reputation+(d?7:-7)})),o("hovercard/updateHovercard",Object(r.a)({},f.username,{following:d,followers_count:f.followers_count+(d?1:-1),reputation:f.reputation+(d?7:-7)}),{root:!0});case 7:case"end":return n.stop()}}),n)})))()},changeReputation:function(t,e){var n=t.commit,r=t.state,o=t.rootState.auth,c=e.reason,l=e.status,h=e.userId,d=r.all[h];o.user&&d&&h!==o.user.id&&(d.reputation+=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;switch(t){case L:case $:case N:case z:return e?3:-3;case B:return e?7:-7;case V:return 1===e.newValue?4:1===e.oldValue?-4:0;case M:case U:return 1===e.newValue?2:1===e.oldValue?-2:0;case I:return 1===e.newValue?1:1===e.oldValue?-1:0;default:return 0}}(c,l),C()(r,"all.".concat(h),d),n("put",r.all))},changeFollowing:function(t,e){var n=t.commit,r=t.state,o=e.userId,c=e.following,l=r.all[o];l&&(l.following=c,l.followers_count+=c?1:-1,C()(r,"all.".concat(o),l),n("put",r.all))},setUser:function(t,e){var n=t.commit,r=t.state,o=e.id,c=r.all[o],l={};e=c?m()({},c,e):e,C()(l,o,e),n("put",l)}},K={put:function(t,e){var data=function(t){return _()(t,(function(t){return d()(t,F)}))}(e),n=_()(data,(function(e,n){return t.all[n]})),r=m()({},n,data);t.all=O()({},t.all,r)},increment:function(t,e){var n=function(t,e){if("number"==typeof t&&"number"==typeof e)return t+e},r=_()(e,(function(e,n){return t.all[n]})),o=y()({},r,e,n),c=O()({},t.all,o);t.all=c}};e.default={state:function(){return{all:{}}},actions:W,getters:Y,mutations:K}},466:function(t,e,n){"use strict";n.r(e),n.d(e,"ACTION_FETCH_QUESTION",(function(){return L}));var r=n(26),o=n(3),c=n(2),l=(n(31),n(46),n(11),n(62)),h=n.n(l),d=n(34),f=n.n(d),m=n(78),v=n.n(m),y=n(343),w=n.n(y),_=n(114),k=n.n(_),O=n(8),x=n.n(O),C=n(38),j=n.n(C),S=n(91),P=n(107
1),T=n(507),A=n(43),R=n(45),E=n(136),D=n(596),L="questionView/fetchQuestion",N={current:function(t,e,n,r){if(!t.question)return null;var o=r["".concat(E.QUESTION_ENTITIES,"/get")](t.question.id),c=r["".concat(R.USER_ENTITIES,"/get")](o.user_id),l=r["auth/userId"],h=t.question;return x()({},o,h,{is_own:o.user_id===l,user:x()({},{data:c})})},answers:function(t,e,n,r){if(!t.question)return null;var o=t.answers.all,c=t.answers.byId,l=h()(o,(function(t){return c[t]})),d=r["auth/userId"];return h()(l,(function(a){return x()({},a,{is_own:a.user_id===d,accepted:e.current.accepted_answer_id===a.id})}))},canAcceptAnswer:function(t,e){var n=e.current;return n&&n.is_own}},$=function(t,e,n){t(E.PUT_QUESTIONS_TO_STATE,Object(c.a)({},e.id,{answers_count:e.answers_count+n}),{root:!0})},B={fetchQuestion:function(t,e){return Object(o.a)(regeneratorRuntime.mark((function n(){var r,o,c,l,h,d,f,m,y,w;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.commit,n.next=3,Object(S.getQuestion)(e);case 3:return o=n.sent,c=o.question.data,l=o.answers.data,h=Object(P.c)(c),d=h.result,f=h.entities.questions,r(E.PUT_QUESTIONS_TO_STATE,f,{root:!0}),r("setQuestion",f[d]),m=Object(P.a)(l),r("answers/set",{all:m.result,byId:m.entities.answers}),y=x()({},h.entities.comments,m.entities.comments),r("comments/set",y),w=v()({},h.entities.users,m.entities.users),r(R.PUT_USERS_TO_STATE,w,{root:!0}),n.abrupt("return",c);case 18:case"end":return n.stop()}}),n)})))()},addAnswer:function(t,e){var n=t.dispatch,r=t.commit,o=t.getters,c=e.values,l=o.current;return n("answers/store",{question:l.hash_id,values:c}).then((function(t){return $(r,l,1),t}))},removeAnswer:function(t,e){var n=t.dispatch,r=t.commit,o=t.getters.current;return n("answers/destroy",e).then((function(t){return $(r,o,-1),t}))},addComment:function(t,e){return Object(o.a)(regeneratorRuntime.mark((function n(){var o,c,l,h,d,f,m,v;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return o=t.dispatch,c=t.commit,l=t.state,h=t.getters,d=e.values,n.next=4,o("comments/add",{hashId:h.current.hash_id,values:d});case 4:f=n.sent,m=l.question.comments.data,v=[].concat(Object(r.a)(m),[f.id]),c("update",{comments:{data:v}});case 8:case"end":return n.stop()}}),n)})))()},acceptAnswer:function(t,e){return Object(o.a)(regeneratorRuntime.mark((function n(){var r,o,l,h,d,f,m,v,y,_;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.commit,o=t.state,l=t.getters,h=e.answer,d=e.value,n.next=4,Object(S.acceptAnswer)(h.hash_id,d);case 4:if(f=l.current,m=f.accepted_answer_id?o.answers.byId[f.accepted_answer_id]:null,r(E.PUT_QUESTIONS_TO_STATE,Object(c.a)({},f.id,{accepted_answer_id:d?h.id:null}),{root:!0}),!(m&&m.user_id===h.user_id&&!0===d)){n.next=10;break}return n.abrupt("return");case 10:v=f.user_id!==h.user_id,y=m&&m.user_id!==h.user_id&&f.user_id!==m.user_id,_=w()((function(t){return v?x()(t,Object(c.a)({},h.user_id,{reputation:d?3:-3})):t}),(function(t){return y?x()(t,Object(c.a)({},m.user_id,{reputation:-3})):t}))({}),j()(_)||r("entities/users/increment",_,{root:!0});case 14:case"end":return n.stop()}}),n)})))()},voteQuestion:function(t,e){var n=t.state;return(0,t.dispatch)("entities/questions/vote",{id:n.question.id,value:e},{root:!0})},fetchSubscribers:function(t,e){var n=t.commit;return n("SET_SUBSCRIBERS",[]),Object(A.e)("questions",e).then((function(t){var data=t.data.data;return n("SET_SUBSCRIBERS",data),data}))},clip:function(t,e){return Object(o.a)(regeneratorRuntime.mark((function n(){var r,o,c,l,h;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.dispatch,o=t.state,c=t.commit,l=t.rootState.auth.user,n.next=3,r("entities/questions/clip",{id:o.question.id,value:e},{root:!0});case 3:return h=n.sent,c("updateSubscribers",{value:e,clipper:l}),n.abrupt("return",h);case 6:case"end":return n.stop()}}),n)})))()},report:function(t,e){var n=t.state,r=t.commit,o=e.reason,source=e.source;return Object(T.e)(n.question.hash_id,{reason:o,source:source}).then((function(t){return r("SET_REPORTED"),t}))},updateTags:function(t,e){return Object(o.a)(regeneratorRuntime.mark((function n(){var r,o,data,l,h;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return r=t.state,o=t.commit,data=e.data,l=r.question,n.next=5,Object(D.b)(l.hash_id,data);case 5:h=n.sent,o(E.PUT_QUESTIONS_TO_STATE,Object(c.a)({},l.id,{tags:h}),{root:!0});case 7:case"end":return n.stop()}}),n)})))()}},M={setQuestion:function(t,e){t.question=f()(e,["id","contents","comments","hash_id","user_id"])},update:function(t,e){var n=t.question;t.question=x()(n,e)},updateSubscribers:function(t,e){var n=e.value,o=e.clipper;o&&(t.subscribers=n?[o].concat(Object(r.a)(t.subscribers)):k()(t.subscribers,(function(t){return t.username!==o.username})))},SET_REPORTED:function(t){t.question.reported=!0}
1,SET_SUBSCRIBERS:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];e.length>=0&&(t.subscribers=e)}};e.default={state:function(){return{question:null,answers:{byId:{},all:[]},subscribers:[],invalidated:!0}},actions:B,getters:N,mutations:M}},468:function(t,e,n){"use strict";n.r(e),e.default={categoriesLabel:"Chuyên mục",emojiUnsupportedMessage:"Trình duyệt của bạn không hỗ trợ emoji màu.",favoritesLabel:"Yêu thích",loadingMessage:"Đang tải…",networkErrorMessage:"Không thể tải emoji.",regionLabel:"Chọn emoji",searchDescription:"Khi có kết quả tìm kiếm, nhấn phím mũi tên lên hoặc xuống để lựa chọn và nhấn enter để sử dụng.",searchLabel:"Tìm kiếm",searchResultsLabel:"Kết quả tìm kiếm",skinToneDescription:"Khi lựa chọn hiện lên, nhấn phím mũi tên lên hoặc xuống để lựa chọn và nhấn enter để sử dụng.",skinToneLabel:"Chọn loại màu da (hiện tại là {skinTone})",skinTonesLabel:"Màu da",skinTones:["Mặc định","Sáng","Trung bình-sáng","Trung bình","Trung bình-tối","Tối"],categories:{custom:"Tùy chỉnh","smileys-emotion":"Mặt cười và biểu tượng cảm xúc","people-body":"Con người và cơ thể","animals-nature":"Động vật và thiên nhiên","food-drink":"Thức ăn và đồ uống","travel-places":"Du lịch và địa điểm",activities:"Hoạt động",objects:"Đồ vật",symbols:"Ký hiệu",flags:"Quốc kỳ"}}},469:function(t,e,n){"use strict";n.r(e),e.default={mainNavbar:{mainMenu:{posts:"Posts",questions:"Questions",discussions:"Discussions"},quickSearch:{placeholder:"Search Viblo",notFound:"We couldn't find anything. Try an",advancedSearch:"advanced search"},announcements:{announcements:"Announcements",allRead:"Mark all as read",noAnnouncement:"No announcement yet.",allAnnouncements:"All Announcements"},notifications:{notifications:"Notifications",NotificationSettings:"Notification settings",notificationsList:{new:"New",earlier:"Earlier"},seeAll:"See All"},writeMenu:{title:"Write",writePost:"Write post",newSeries:"New series",askQuestion:"Ask question",newVideo:"New video"},userMenu:{login:"Sign In/Sign up",profile:"Profile",myContents:"My Contents",myActivities:"My Activities",reviewContents:"Review Contents",organizations:"Organizations",preferences:"Preferences",adminDashboard:"Admin Dashboard"},setting:{appearances:{title:"Appearances",postLayout:{title:"Post layout",detail:"You may choose to display posts with simple layout - only title and metadata or with a teaser for preview layout.",simple:"Simple",preview:"Preview"},itemsPerPage:{title:"Items per page",detail:"You may customize the number of posts to display in a single page for a paginated post list (e.g. homepage)."},highlightThemes:{title:"Highlight Themes",detail:"Theme used changes code blocks",dark:"Dark",light:"Light"},homePage:{title:"Homepage",detail:"You may choose your suitable feed to display what interested you the most.",followings:"Followings",newest:"Newest"},locale:{title:"Preferred Language",detail:"Website, emails and notifications will appear in the selected language."},layout:{title:"Layout",detail:"You can choose a layout template to apply on your subdomain page. ",placeholder:"Select Display Layout",options:{default:"Layout 1",layoutSubdomain2:"Layout 2"}},success:"Settings updated"},notifications:{title:"Notifications",content:{title:"Contents for you",contentPeople:{content:"Contents from people you followed",detail:"We'll notify you when people you are following published a new post."},question:{content:"Questions you asked or followed",detail:"We'll notify you when there are new answers to questions you asked or followed."}},comment:{title:"Comments & mentions",comments:{title:"Comments",detail:"We'll notify you when someone comments on your posts, questions and answers."},mentions:{title:"Mentions",detail:"We'll notify you when someone mentions you in their posts, questions or answer."}},reputations:{title:"Your reputations",voteAndclip:{title:"Votes & Bookmarks",detail
1:"We'll notify you when someone votes or bookmarks your posts, questions or answers."},acceptedAnswers:{title:"Accepted answers",detail:"We'll notify you when your answers are accepted."},newFollowers:{title:"New followers",detail:"We'll notify you when a new person starts following you."},vibloFanpage:{title:"Viblo Fanpage",detail:"We'll notify you when your post have been shared into Viblo Fanpage."}},email:{title:"Email",unread:{title:"Unread notifications",detail:"We'll email you when you have new unread notifications."},newsletter:{title:" Weekly newsletter",detail:"We'll send you newsletter every Friday."}}},webhooks:{title:"Webhooks",newPost:"New post",firstDetail:"We will send",link:"JSON payload",lastDetail:"when the authors you are following publish a new post.",form:{targetURL:"Target URL",secret:"Secret",token:"Secure token",tokenHeader:"Secure token header",basicAuth:"Use basic auth",username:"Username",password:"Password",update:"Update",webhookUpdated:"Webhook updated",checkWebhook:"Sent a request to {url}. Please check it!"},popup:{title:"PayLoad Structure",copy:"Copy"},validations:{url:{required:"Payload url is required",type:"Must be a valid url",max:"Url must not be longer than 255 characters"},secureTokenHeader:{max:"Secure token header must not be longer than 255 characters"},secureToken:{max:"Secure token must not be longer than 255 characters"},secret:{max:"Secure token must not be longer than 255 characters"}},test:"Test",updateAndTest:"Update & Test"}}},welcomeHero:{guest:{welcome:"Welcome to Viblo",free:"Free",service:"service for technical knowledge",sharing:"sharing",join:"Join us to find useful information required to perfect your skill",start:"Get started"},user:{welcome:"Welcome back,",writings:"Feel like starting you writings today?",start:"Get started now!"}},feedBar:{mayfestTitle:"Mayfest",followings:"Followings",newest:"Newest",series:"Series",editorsChoice:"Editors' Choice",trending:"Trending",videos:"Videos",clip:"My Bookmarks",createPost:"Create Post",mayfest:{starts:"Until Viblo May Fest starts. Join now to receive attractive gifts!",happenning:"Until Viblo May Fest ends. Share new Posts now to receive attractive gifts!",end:"Viblo May Fest ended. Thanks everyone for contributing to the success of the event"},contentCreator:"Content Creator"},alAlert:{followingTagsLessThanFive:{title:"Hi there! We make an effort to help you improve your feed by",machineLearing:"Viblo Machine Learning.",follow:"So, let's follow at least",tag:"5 technical tags",reading:"that you're interested in reading!",interest:"What's your interest?"},termWarningVisible:{update:"September 2020, we have been updated our",termsOfService:"Terms of Service",detail:'for the "Our Ownership" section. If you don\'t have any feedback, we assume that you have agreed to this new term.'}},sidebar:{question:"Newest questions",organization:"Top Organizations",author:"Top authors",partners:"Content creator",organizationPartners:"Organizations",userPartners:"Authors",suggestion:{question:{title:"Question suggestions"},challenge:{title:"Challenge suggestions"},course:{title:"Course suggestions",level:{beginning:"Beginner",intermediate:"Intermediate",advanced:"Advanced"}},puzzle:{title:"Puzzle suggestions"},post:"Post Suggestions",profile:{empty:"This user hasn’t posted yet."}}},getStarted:{title:"Tags",tag:"Technical Tags",sort:{title:"Sort by",nameASC:"Name: A to Z",nameDESC:"Name: Z to A",followers:"Followers",posts:"Number of Posts",question:"Number of Questions"},type:{title:"Type of",all:"All of types",technical:"Technical Tag",others:"Other types"},search:"Search Tags",continueAble:{follow:"Follow 5 or more",continue:"Continue",followed:"Followed"},tagItem:{posts:"posts",questions:"questions",followers:"followers"},follow:{following:"Following",follow:"Follow"},beforeRouteLeave:{content:"Please follow at least 5 technical tags to move on to the next step.",title:"You have not follow enough 5 technical tags"},start:"Get started with Viblo"},profile:{posts:"Posts",series:"Series",questions:"Questions",answers:"Answers",clips:"Bookmarks",followings:"Followings",followers:"Followers",tags:"Tags",reputations:"Reputations",communication:"Communication",follow:"Follow",following:"Following",edit:"Edit",layoutSwitcher:{simple:"Only title",preview:"With preview contents"},embed:{title:"Embed Profile Stats",close:"Close"},profileStats:{postViews:"Total post views",reputations:"Reputations",followingTags:"Following tags",followingUsers:"Following users",followers:"Followers",posts:"Posts",Clips:"Bookmarks",totalQuestions:"Total questions",totalAnswers:"Total answers"},statsHeader:{postViews:"Post views",reputations:"Reputations",followers:"Followers",posts:"Posts"},badges:"Badges",technicalSkills:{title:"Technical skills",noSkill:"Have no skills yet.",update:"Update now!",updateSkill:"Update technical skills"},organizations:{title:"Organizations",noOrganization:"Have no organizations yet.",createOrgaization:"Create your organization!",posts:"Posts: ",members:"Members",follow:"Followers",view:"Post view",totalPost:"Total posts",newPost:"New posts",createOrgaizationCondition:"You don't have enough 100 reputations to create an organization",description:"This organization has subdomain at"},report:"Report",reportDialog:{title:"Report content",label:"Reason for reporting this content",spam:"Spam",rulesViolation:"Rules Violation",harassment:"Harassment",terms:"Viblo Terms of Service",comment:"Comment",reported:"Reported",reportBtn:"Report",validations:{reason:"Please choose a reason."}},postsTendency:"Posts tendency",answered:"Answered",featured:"Featured",trending:"Trending",reputationHistory:"Reported History",reason:"Reason:",reportAt:"Report at:",deleted:"Your {type} has been deleted."},userCard:{edit:"Edit",following:"Following",follow:"Follow"},contentMenu:{minRead:" min read",posts:{title:"Posts",drafts:"Drafts",public:"Public",unlisted:"Anyone with the link",spam:"Spam",notReady:"Needs to be edited",scheduled:"Scheduled",writeups:"Writeups"},minRLastead:"min read",socialShare:{title:"Social Shares",drafts:"Drafts",scheduled:"Scheduled",published:"Published"},series:"Series",answers:"Answers",questions:"Questions",postsSpam:"Posts Spam",clips:{title:"My Bookmarks",posts:"Posts",series:"Series",questions:"Questions"},answerRequests:{title:"Answer Requests",receivedQuestions:"Received Questions",sentHistory:"Sent history"},gallery:"Gallery",technicalSkill:"Technical Skills",violations:"Violations"},myContent:{search:{startDate:"Start date",endDate:"End date",apply:"Apply",tag:"Tag",search:"Search"},title:{drafts:"Drafts",publicPosts:"Public Posts",unlistedPosts:"Anyone with the link",sharesDrafts:"Social Shares - Drafts",sharesScheduled:"Social Shares - Scheduled",sharesPublished:"Social Shares - Published",series:"Series",answers:"Answers",questions:"Questions",clipsPosts:"My Bookmarks - Posts",clipsSeries:"My Bookmarks - Series",clipsQuestions:"My Bookmarks - Questions",receivedQuestions:"Received Questions",sentHistory:"Sent History",gallery:"Gallery",technicalSkills:"Technical Skills",violations:"Violations",postsSpam:"Posts Spam",notReady:"Post Needs To Be Edited",scheduledPosts:"Scheduled Posts"},updateSkills:"Update skills",noSkill:"You have no skills yet.",technicalSkillsDialog:{title:"Update Technical Skills",placeholder:"Select technical skills"},sentHistory:{title:"Do you know?",firstContent:"For any question, you can request answer to the people who you think they are knowledgeable. Let click on",betweenContent:'"Request answer" in Question Menu',lastContent:"choose an user then send your request."},action:{addToSeries:{title:"Add to my series",empty:"You don't have any series.",create:"Create a new one!",titlePopup:"What series you want to add this post to?",add:"Add",sendProposal:"Send proposal",success:"Add post to series successfully!",proposalSuccess:"Your proposal has been sent. Please wait for owner's response!",error:"There was a problem when adding this post to your series."},edit:"Edit",delete:{title:"Delete",titleDelete:"Delete post",contentDelete:"Delete this post?"},seoSetting:"SEO Settings"},series:{stats:{views:"Views",votes:"Votes",comments:"Comments",clips:"Bookmarks",posts:"Posts"},status:{draft:"Draft - Last edited: ",unlisted:"Anyone with the link - Last edited: ",published:"Published: ",edit:"Last edit: "},action:{add:"Add post",edit:"Edit",delete:"Delete",remove:"Remove",contentDelete:"Do you want to delete this answer?",titleRemovePosts:"Remove posts",contentRemovePosts:"Remove this posts?"}},answer:{yourAnswer:"Your answer:",vote:"Vote:",answered:"Answered"}
1,sendRequestions:{status:"Status",recipient:"Recipient",question:"Question",requestedAt:"Requested at",requestedBy:"Requested by",writeAnswer:"Write answer",answered:"Answered",noAnswerYet:"No answer yet",accepted:"Accepted"},violations:{type:"Type",title:"Title",reason:"Reason",deleteAt:"Deleted at",comment:"Comment: ",entityTypes:{post:"Post",question:"Question",series:"Series",answer:"Answer",comment:"Comment"},reasonTypes:{spam:"Spam",poor_translation:"Poor Translation",infringes_copyright:"Infringes Copyright",harashment:"Harashment",tos_violation:"Rules Violation"}},socialShare:{title:"Title",creator:"Creator",type:"Type",rankScore:"Rank score",createdAt:"Created at",actions:"Actions",message:"Message",publishedAt:"Published at: ",publishAt:"Expected publish time: "}},footer:{resources:{title:"Resources",posts:"Posts",organizations:"Organizations",questions:"Questions",tags:"Tags",videos:"Videos",authors:"Authors",discussions:"Discussions",recommendSystem:"Recommend System",tools:"Tools",machineLearning:"Machine Learning",systemStatus:"System Status",services:"Services",mobileApp:"Mobile App",links:"Links",rightsReserved:". All rights reserved."},about:"About Us",help:"Help",fAQs:"FAQs",rSS:"RSS",terms:"Terms",feedback:{title:"Feedback",titleForm:"Viblo - Free service for technical knowledge sharing",lable:"Your feedback",description:"Your feedback will be shared with our product delivery teams, and taken into consideration for future development.",lableName:"Name",lableEmail:"Email",send:"Send",cancel:"Cancel",survey:"Take a survey",required:"The feedback content is required",min:"The feedback content must be at least 10 characters",max:"The feedback content is too long",success:"Thank you for your feedback!",error:"Something went wrong while trying to send your feedback. Please try again later.",validations:{requireContent:"The feedback content is required",contentMin:"The feedback content must be at least 10 characters",contentMax:"The feedback content is too long",typeEmail:"Must be a valid email",requireName:"Name is required",maxName:"Name is too long"}}},question:{newest:"Newest",unsolved:"Unsolved",followings:"Followings",myClips:"My Bookmarks",askQuestion:"Ask Question",newestPost:"Newest posts",topAuthors:"Top authors",views:"Views: ",comments:"Comments: ",cliped:"Bookmarked: ",score:"Score",answer:"Answers",view:"Views",comment:"Comments",clips:"Bookmarks",posts:"Posts",clip:"Bookmark this question",unClip:"Delete bookmark",asked:"Asked",unclip:"Delete bookmark this question",isOwn:"You cannot bookmark your own question",recommend:"Maybe you are interested",interview_question:"Interview questions",votes:"Vote: ",noQuestion:"No question",answers:"answers"},userInline:{reputations:"Reputations: ",posts:"Posts: ",followers:"Followers: ",totalPostViews:"Total post views: ",following:"Following",follow:"Follow",edit:"Edit",questions:"Questions: ",answers:"Answers: ",views:"Views: ",comments:"Comments: ",clips:"Bookmarks: "},myClips:{type:"Type: ",posts:"Posts",series:"Series",questions:"Questions",sort:"Sort by: ",published:"Published date",clipAt:"Bookmarked at"},myFollowing:{type:"Type: ",users:"Authors",organizations:"Organizations"},cancelScheduled:{title:"Cancel scheduled sharing",confirm:"Confirm",content:"Are you sure cancel share post?",success:"Post has been removed from list!",error:"Something went wrong. Cannot delete this post!"},postBody:{postInOgranziation:{pendingIn:"| Pending in",in:"in",followedBy:"Followed by",people:"people.",following:"Following",follow:"Follow"},postActions:{readingTool:"Reading tool",clip:"Bookmark this post",unclip:"Unbookmark this post",shareLinkFB:"Share a link to this page on Facebook",shareLinkTwitter:"Share a link to this page on Twitter",editorsChoice:"Mark as Editors' choice",shareToFanpage:{title:{notYetShare:"Share to Viblo Fanpage",hasBeenShare:"This post has been add to Facebook share list"}},isOwner:"You cannot bookmark your own post",error:"Something went wrong. Please try again later."},postContent:{statusPost:{published:"Published",unlisted:"Anyone with the link",draft:"Draft",lastEdited:"- Last edited",scheduled:"Scheduled publish at"},postAuthor:{following:"Following",follow:"Follow",edit:"Edit",reputations:"Reputations: ",followers:"Followers: ",posts:"Posts: ",views:"Views: ",scroll:"Scroll to Comments",showClips:"Show all Bookmarks",clipEmpty:"No bookmark, yet.",peo
1pleClipped:" people bookmarked",notFollowing:"This user haven't followed anyone, yet.",notFollowed:"This user doesn't have any followers."},solveSolution:"This is a solution to solve",puzzle:"the puzzle",ctf:"in Viblo CTF.",helpfulLinks:"Helpful links:",backToList:"Back to the write-ups list.",goToCTF:"Go to the puzzle in Viblo CTF.",spam:"Spam Alert:",firstContent:"This post is marked as spam by",betweenContent:"our system",lastContent:". So it can't be shown in homepage! Administrators will review as soon as possible. If you have any problems, please send us your feedback.",notReady:{withAuthor:"This post is not ready to publish. You may have accidentally made it public during writing. Therefore, it was spam. Please change it's status to Draft to remove this warning.",withUser:"This post is not ready to publish. The author may have accidentally made it public during writing. Therefore, you should ponder before reading this post."},notUpdate:{content:"This post hasn't been updated for {year} years"},postMenu:{title:"Show more actions",edit:"Edit",report:"Report",addToSeries:"Add to my series",removeOrganization:"Remove from organization",submitOrganization:"Submit to organization",convertQuestion:"Convert to question",deletePost:"Delete this post",markSpam:"Mark as spam",reportNotSpam:"Report not spam",reportNotReady:"Report not ready",postModeration:"Post Moderation",codeBlocks:"Highlighting code blocks"},dialogReport:{title:"Report content",titleForUser:"Reason for delete this content",titleForm:"Reason for reporting this content",spam:"Spam",rulesViolation:"Rules Violation",harassment:"Harassment",infringesCopyright:"Infringes copyright",poorTranslation:"Poor Translation",placeholder:"Comment (max 255 characters)",placeholderUser:"Comment",vibloTerms:"Viblo Terms of Service",requireReason:"Please choose a reason",report:"Report",delete:"Delete",success:"Content successfully reported",successDeleted:"Content successfully deleted",error:"There was a problem reporting this content. Please try again later",errorDeleted:"There was a problem deleting this content. Please try again later",alsoDeleteUser:"Also permanently ban and delete all of the author's content",alsoDeleteUserHint:"The author's account will be permanently banned and all of their content will be deleted once you confirm in the next step."},dialogAddOrganization:{title:"Which organization would you like to add this post to?",submit:"Submit to an organization",notOrganization:"You don't have any organization.",createOrganization:"Create a new organization",success:"This post has been submitted to the organization {name}",error:"Something went wrong. Can not submit this post to the organization. Please try again later."},removeOrganization:{content:"Do you want remove to organization?",title:"Remove to organization",success:"This post has been removed from organization"},convertToQuestion:{title:"Are you sure?",content:"Convert post to question, the post will be deleted when completed. Are you sure to continue?",success:"The post is converted to question successfully.",error:"There was something wrong!"},deletePost:{title:"Delete this post",content:"Do you want to delete this post?",success:"Post has been deleted",error:"There was something wrong!"},markSpam:{title:"Mark as spam",content:"Do you want to mark this post as Spam?",success:"Post has been marked as Spam. It's will be reviewed by administrator.",error:"There was something wrong!",noRight:"This post cannot be marked as spam because the admin has marked it as not spam"},notSpam:{title:"Report not spam",content:"Are you sure this post is not a spam?",success:"Post unmarked as spam.",error:"There was something wrong!",tooltipNotSpam:"Mark not spam",tooltipLink:"Go to post"},reportNotReady:{title:"Report not ready",content:"Are you sure this post is not ready for publish?",success:"Post marked as not ready for publish.",error:"The was something wrong!"},highlightingCode:{title:"Highlighting code blocks",content:"Do you want to highlight code blocks in this post?",success:"Update highlighting code blocks successfully!",error:"There was something wrong!"},postModeration:{title:"Post Moderation",save:"Save",placeholder:"Please fill suitable tag for this post. Maximum 5 tags"}},postSidebar:{contentsTree:{title:"Table of contents",empty:"Have no Table of contents"},series:"Series's Post",organization:"Suggested Organizations"},recommendations:{related:"Related",moreFrom:"More from"}},detailQuestion:{stats:{views:"Views",clips:"Bookmarks",answers:"Answers"},postAnswer:"Post answer",questionMenu:{title:"Show more actions",edit:"Edit",report:"Report",markSpam:"Mark as spam",reportNotSpam:"Report not spam",requestAnswer:"Request answer",deleteQuestion:"Delete this question",shareToFanpage:"Share to Fanpage",questionModeration:"Question moderation",highlighting:"Highlighting code blocks"},spam:"Spam Alert:",firstContent:"This question is marked as spam by",betweenContent:"our system",lastContent:". So it can't be shown in homepage! Administrators will review as soon as possible. If you have any problems, please send us your feedback.",markSpam:{title:"Mark as spam",content:"Do you want to mark this question as spam?",success:"The question has been marked as Spam. It will be reviewed by administrators.",error:"Something went wrong",noRight:"You cannot mark this question as spam because an administrator has marked it as not spam"},notSpam:{title:"Report not spam",content:"Are you sure this question is not spam?",success:"The question has been unmarked as spam.",error:"An error occurred!"},dialogRequestAnswer:{title:"Request Answer",content:"Please search and select recipient who you want to send an answer request for question",placeholder:"Search recipient for question",note:"Note: You only can send 3 answer requests per day.",cancel:"Cancel",send:"Send",confirmRequestAnswer:{title:"Confirm Send Request",content:"Are you sure? Send an answer request to user"},sendRequest:"Request has been sent to"},confirmDelete:{title:"Delete this question",content:"Do you want to delete this question?",success:"Question has been deleted successfully!"},dialogQuestionModeration:{title:"Question Moderation",placeholder:"Please fill suitable tag for this question. Maximum 5 tags",save:"Save",error:"Something went wrong while trying to update this question"},highlightCodeAnswer:{title:"Highlighting code blocks",content:"Do you want to highlight code blocks in this answer?",success:"Success! It maybe take a few minutes to complete."},comment:{title:"Add a comment",answers:"ANSWERS",commentForm:{write:"Write",preview:"Preview",writeAResponse:"Write a response...",discard:"Discard",save:"Save",comment:"Comment",empty:"Nothing to preview!",comf
1irmDiscard:{title:"Are you sure?",content:"Changes you made may not be saved. Are you sure?"},emoji:"Emoji Suggestion",image:"Drag image or click to attach",markdown:"Markdown Help",answer:"Answer",answering:"You are answering as:",saveComment:"Save Comment",saveAnswer:"Save"},answerForm:{answered:"Answered",accepted:"Accepted",acceptAnswer:"Accept this answer",approveAnswer:"Approve to ",reject:"Reject"},socialShare:{title:"Share a link to this answer",button:"Share",close:"Close"},menuAction:{title:"Show more actions",edit:"Edit",report:"Report",deleteAnswer:"Delete this answer",highlighting:"Highlighting code blocks"}},deleteConfirm:{title:"Delete answer",content:"Deleted answers are gone forever. Are you sure?",success:"This answer have been removed.",error:"Something went wrong. Can not remove this answer."},confirmHighlight:{title:"Highlighting code blocks",content:"Do you want to highlight code blocks in this answer?",success:"Success! It maybe take a few minutes to complete."},commentHasNotAccepted:{reply:"Reply",actionComment:{title:"Show more actions",edit:"Edit",report:"Report",deleteComment:"Delete this comment",convertToAnswer:"Convert to Answer",highlighting:"Highlighting code blocks"},confirmDelete:{title:"Delete comment",content:"Deleted comments are gone forever. Are you sure?"},confirmConvert:{title:"Convert this to answer",content:"This comment will be deleted then posted as an Answer. Are you sure?",success:"Converted to answer successfully!",commentDeleted:"This comment has been deleted"},confirmHighlight:{title:"Highlighting code blocks",content:"Do you want to highlight code blocks in this comment?",success:"Success! It maybe take a few minutes to complete."}}},commentPost:{comments:"Comments",loading:"Loading comments...",login:"Login to comment",noComent:"No comments, yet.",postComment:"Post Comment",viewMore:"View more"},activities:{title:"My activities",filterAction:{all:"All activities",clip:"Bookmark",unclip:"Delete bookmark",upVote:"Upvote",downVote:"Downvote",unVote:"Unvote",accept:"Accept",delete:"Delete",upVoteUndo:"Upvote/Undo",downVoteUndo:"Downvote/Undo"},filterType:{all:"All types",post:"Post",question:"Question",series:"Series",organization:"Organization",answer:"Answer",tag:"Tag",comment:"Comment",user:"User"},search:"Search",table:{date:"Date",type:"Type",interactableTypes:{Post:"Post",User:"User",Tag:"Tag",Question:"Question",Organization:"Organization",Series:"Series",Answer:"Answer",Comment:"Comment"},activity:{title:"Activity",clip:"Bookmark",unclip:"Delete Bookmark",follow:"Follow",unfollow:"Unfollow",upvoteUndo:"Upvote/Undo",downvoteUndo:"Downvote/Undo",delete:"Delete",accept:"Accept",unvote:"Unvote",upvote:"Upvote",downvote:"Downvote",acceptUndo:"Accept/Undo"},title:"Title",actions:"Actions"},vote:{comment:{cannotVote:"You cannot vote your own comment"},content:{cannotVote:"You cannot vote your own content"},needReputationToVote:"You need 50 reputation to vote",upvote:"Upvote",downVote:"Downvote"},comment:{reply:"Reply",shareLinkComment:"Share a link to this comment",commentAnswer:"Comment on answer"}},createSeries:{title:"Title",save:"Save",publishPopover:{publishSeries:"Publish your series",startPublish:"Add a title and start writing something to publish.",visibility:"Visibility:",public:"Public",unlisted:"Anyone with the link",draft:"Private draft",type:"series",descriptionPublic:"Everyone can see your ",descriptionSchedule:"Schedule publish ",descriptionUnlistFirst:"Only those with the link to this ",descriptionUnlistLast:" can see it.",descriptionDraftFirst:"Only you can see this ",descriptionDraftLast:". Your draft is already saved automatically as you type.",saveDraft:"Save",publish:"Publish",schedule:"Schedule",selectDateTime:"Select date and time"},saving:"Saving",cannotSave:"Cannot save your series",saved:"Saved",addPosts:{title:"SERIES CONTENTS",noPostYet:"There's no post yet. Please add posts to this series to make it displayed on the homepage!",addPost:"Add post",titleDialog:"Add posts",buttonAdd:"Add posts",cancel:"Cancel",notPost:"You have no post.",write:"Go write one",edit:"Edit",remove:"Remove",titleRemove:"Remove post",contentRemove:"Remove this post from series?"},validations:{title:"The series title is required",contents:"The series content is required"}},series:{draft:"Draft - Last edited",unlisted:"Anyone with the link - Last edited",published:"Published at",views:"Views",clips:"Bookmarks",comments:"Comments",posts:"Posts",menuAction:{title:"Show more actions",edit:"Edit",report:"Report",delete:"Delete this series",share:"Share to Fanpage",highlight:"Highlighting code blocks"},lableShare:"Share a link to series",bottom:{contents:"CONTENTS",postsDraft:"This draft post is hidden in the series. Please make this post public!",noPostsYet:"This series doesn't have any posts"},titleComment:"COMMENTS",unclip:"Delete bookmark",clip:"Bookmark this 
1series",unclipTooltip:"Delete bookmark this series",isOwn:"You cannot bookmark your own series",author:"AUTHORS",comfirmDelete:{title:"Delete series",content:"Deleted series are gone forever. Are you sure?",success:"Series has been deleted"},hinghlightCode:{title:"Highlighting code blocks",content:"Do you want to highlight code blocks in this series?",success:"Success! It maybe take a few minutes to complete."},createButton:"Create new series"},createQuestion:{title:"Title",contentTag:"Tag your question. Maximum 5 tags.",create:"Create",edit:"Edit",question:"Question",discard:"Discard",errorUpdate:"An error happened while trying to update your question. Please try again!",errorAdd:"An error happened while trying to post your question. Please try again!",validateTitle:"The question title is required",validateTag:"The question tag is required",validateContent:"The question content is required"},seoSetting:{title:"SEO Settings",titleForm:"Title",placeholderTitle:"Enter title...",description:"Description",placeholderDescription:"Enter description...",preview:"Preview",desktop:"Desktop preview",mobile:"Mobile preview",save:"Save Settings",titleEmpty:"Title field is empty",titleShort:"Your title is probably too short",titlePerfect:"Congrats! Your title has an ideal length for search engines.",titleLong:"Your title is too long and will be cut off some words in Google results",descriptionEmpty:"Description field is empty",descriptionShort:"Your description is probably too short",descriptionPerfect:"Congrats! Your description has an ideal length for search engines.",descriptionLong:"Your description is too long and will be cut off some words in Google results",success:"SEO settings has been updated successfully!",error:"Something is wrong, please try again!",validateTitle:"Title must not be empty.",validateDescription:"Description must not be empty.",validateDescriptionMin:"The description must be at least 150 characters",validateDescriptionMax:"The description is too long"},createPost:{missingTags:"Please tag at least 1 tag to automatically save a public post.",isTagDifferentFromEvents:"You need to add at least 1 tag, maximum of 5 tags, apart from the Event tag to save this post.",lastSaved:"Last saved: ",save:"Saved",title:"Title",tootipTitle:"Open this post in the new tab",lableCategories:"Categories",Normal:"Normal",Help:"Help",Announcement:"Announcement",FAQ:"FAQ",lableSystem:"System categories",Vi_term:"Terms of Service (Vietnamese)",En_term:"Terms of Service (English)",Jp_term:"Terms of Service (Japanese)",placeholdertag:"Tag your post. Maximum 5 tags. At least 1 tag!",seoSetting:"SEO Settings",changeImage:{title:"Change thumbnail",detailChangeImage:"Using a high-quality image will attract more people to your article. By default, the thumbnail of Viblo will be used as the thumbnail for your article.",upload:"Upload",enter:"Enter thumbnail url",remove:" Remove thumbnail",titleChange:"Set Thumbnail URL",contentChange:"Please enter a direct link to your external thumbnail file:",error:"Invalid URL",uploadSuccess:"The feature image have been updated successfully!",errorUpload:"The width and height of the feature image must be at least ",errorChage:"Thumbnail change failed",titleConfirmRemove:"Are you sure?",contentConfirmRemove:"If you remove this image, Viblo's default thumbnail would be applied. Are you sure to continue removing the current thumbnail?",removeSuccess:"The feature image have been removed successfully!",cancel:"Cancel",confirm:"OK"},leaveTitle:"Are you sure?",leaveContent:"Your post content is not saved. Do you want to leave?",publishPopover:{title:"Add a title and start writing something to publish.",addIn:"Added in"},writeUpTitle:"Permission denied!",writeUpContent:"Please solve the puzzle first. If you gave up, you also can not submit a write-up.",saving:"Saving",cannotSave:"Cannot save your post",errorAutoSave:{title:"Autosave Failed",content:"Couldn't autosave this post. Please save manually edited content!",confirm:"OK, I'll save it manually"},submitOrganization:{success:"Submitted to ",error:"Something went wrong. Can not submit to organization."},turnstile:{verifyAgain:"Verification has expired. Please verify again and retry.",loadError:"Could not load the captcha verification. Please check your connection and try again.",retry:"Retry"},removeOrganization:{title:"Cancel submission",content:"This post will be removed from the organization. Are you sure?",success:"Removed from organization"},licence:{title:"License:",selectLicense:"Please select the appropriate license for your work:",someRights:"Some rights reserved",noRights:"No rights reserved",saveLicence:"Save license",cancel:"Cancel",warning:"Autosaving is running... Please wait and try again!",success:"The license is updated!",error:"Please save the post first!",allRightReserved:"All Rights Reserved",noRightsReserved:"No Rights Reserved - Public Domain",thisWork:"This work",by:"by",isLicensedUnder:"is licensed under",allRight:{lable:"All rights reserved",shortName:"All Rights Reserved"},ccBy:{lable:"Attribution",shortName:"CC BY 4.0"},ccBySA:{lable:"Attribution, share alike",shortName:"CC BY-SA 4.0"},ccByND:{lable:"Attribution, no derivatives",shortName:"CC BY-ND 4.0"},ccByNC:{lable:"Attribution, non-commercial",shortName:"CC BY-NC 4.0"},ccByNCSA:{lable:"Attribution, non-commercial, share alike",shortName:"CC BY-NC-SA 4.0"},ccByNCND:{lable:"Attribution, non-commercial, no derivatives",shortName:"CC BY-NC-ND 4.0"},ccCCO:{lable:"Copyright waiver",shortName:"CC0 1.0"},publicDomain:{lable:"Public domain",shortName:"Public Domain"},rules:{all:"Others cannot distribute, remix, adapt, and build upon your work without your permission (or as permitted by fair use).",by:"Others can distribute, remix and build upon your work as long as they credit you for the original creation.",sa:"Others must license the derivatives, the modified material under the same terms.",nd:"Others can copy and distribute your work as long as they do not change it or create derivative works.",nc:"Others can only use your work for non-commercial purpose.",cc0:"You waive all c
1opyright and similar rights in your work and dedicating those rights to the public domain.",pd:"This work is already in the public domain and free of copyright restrictions."}},puplishPopup:{title:"Add a title, pick up at least a tag and start writing something to publish.",publishPost:"Publish your post",contentLicensing:"Content Licensing",submitOrganization:"Submit to organization",removeOrganization:"Remove organization",organizationSelecter:{title:"Select a organization which will be added",cancel:"Cancel",submit:"Submit"},confirmSubmit:{title:"Ready to submit in the organization?",content:"This will submit post to the organization. Are you sure this post is ready to publish in the organization?",content1:"Are you sure to submit this ",content2:" in the organization?"}},buttonSave:"Save",buttonPublish:"Publish",post:"post",errorMessage:{scheduleTimeAfter:"Scheduled posts need to be shared between 20 minutes and 75 days from when you create them."}},createVideo:{title:"Title",addVideo:"Add video",changeVideo:"Change this video",slideUrl:"Presentation slide URL",placeholdertag:"Tag your post.",publishPopover:{title:"Add a title, choose a video and start writing something to publish."},noteCanAddVideo:"Add a title and start writing something to save post after add a video.",saving:"Saving",saved:"Saved",canNotSave:"Cannot save your post",addByUrl:"Thêm video bằng đường dẫn URL",addVideoLabel:"You can add video by the link of media on Youtube Or Vimeo:",endterYourLink:"Enter your link (full URL of media)",addURL:"Add URL",noteDirectVideo:"Direct public Youtube, Vimeo.",mesageErrorLink:"Please enter correct link of media on Youtube Or Vimeo"},organization:{title:"Organizations",sort:{label:"Sort by",posts:"Number of Posts",users:"Number of Users",followers:"Followers"},headingTabs:{myOrganizations:"My Organizations",followings:"Followings"},listJoined:{first:"You don't follow any organizations yet. Let take a look at",organization:"organizations",last:"in Viblo!"},create:"Create organization",companyItem:{stast:{posts:"Posts: ",followers:"Followers: ",member:"Member: ",location:"Location"},menuAction:{writePost:"Write post",submissions:"Submissions",manageMembers:" Manage members",editOrganization:"Edit organization",deleteOrganization:"Delete organization",leaveOrganization:"Leave organization"},confirmDelete:{title:"Delete organization",content:"Are you sure delete this organization?"},confirmLeave:{title:"Leave organization",content:"Are you sure to leave this organization?"}},head:"My Organizations - ",followings:"Following",follow:"Follow",noFollowers:"This company have no followers, yet.",invitations:{title:"Invitations",accept:"Accept",decline:"Decline",invitedBy:"invited by",invited:"Invited"},stats:{postView:"Post views",followers:"Followers",posts:"Posts",members:"Members",numberOf:"Number of",from:"acquired from",to:"to"},level:{gold:"Gold",silver:"Silver",diamond:"Diamond",diamondDescription:"Diamond Content Creator",goldDescription:"Gold Content Creator",silverDescription:"Silver Content Creator"}},detailOrgaization:{menu:{posts:"Posts",submissions:"Submissions",members:"Members",followers:"Followers",aboutUs:"About Us",stats:"Stats",invitations:"Invitations"},edit:"Edit",following:"Following",follow:"Follow",stast:{newPosts:"New Posts",postViews:"Views",posts:"Posts",followers:"Followers",members:"Members"},notApproved:"The organization is not approved by Administrator yet. After approved, you can write post, invite member, etc. If rejected, it will be also deleted.",noMember:"This company have no members, yet.",membersList:"Members List",technology:"Technology stacks",noTechnology:"Have no technology yet.",wiewAdminNoTechnology:"Update now!",dialogTag:{title:"Update Technical Stacks",placeholder:"Select technical stacks",save:"Save",success:"Success",error:"Something went wrong"},about:{fullDescription:"This organization hasn't updated full description!",edit:"Edit"},darkMode:"Dark mode",lightMode:"Light mode"},inviteInOrgaization:{title:"Invite Member",fistContent:"You can invite members to the",lastContent:"organization.",formSearch:"Search user for invite",formRole:"Set role for user",invite:"Invite",success:"Invited!",error:"The user is already invited to the organization.",valdateError1:"Please fill the input to invite users to this organization.",valdateError2:"The user is already invited to the organization.",invitations:"Invitations",cancel:"Cancel",writer:"Writer",editor:"Editor",admin:"Admin",owner:"Owner",allRole:"All Role",confirmCancel:{title:"Are you sure?",content:"Cancel invitation",success:"Invitation cancelled!"},confirmRemove:{title:"Are you sure",content:"Remove member"},confirmChangeRole:{title:"Change role",success:"Member role changed!",setOwner:"If you set ",as:" as ",roleOwner:" you will be set as admin and you are not owner of this organization. Are you sure?",set:"Set"},removeMember:{succes:"This member has been removed.",error:"Sorry. Something went wrong."},existingMember:{title:"Existing Members",search:"Search member",table:{name:"Name",role:"Role",action:"Action"}},invited:"Invited"},detailTag:{following:"Following",follow:"Follow",posts:"Posts",series:"Series",questions:"Questions",followers:"Followers",topTag:"Top QA Tags",popularTag:"Popular Tags",allTag:"All tags"},createOrganization:{title:"New Organization",alert:"The new organization is created that must be approved by Administrator. After that, you can write post, invite member, etc. If rejected, It will be also deleted.",inputName:{title:"Name",required:"Name is required",max:"Name must not be longer than 255 characters"},inputTrackingID:{title:"Tracking ID (Google Analytics)",max:"Tracking ID must not be longer than 20 characters"},googleAnalyticHelp:"You can use google analytics track id v3 or v4",inputURL:{title:"URL",required:"URL is required",max:"URL must not be longer than 255 characters"}
1,inputWebsite:{title:"Website",max:"Website must not be longer than 253 characters",type:"Must be a valid URL"},inputLocation:{title:"Location",required:"Location is required",max:"Location must not be longer than 255 characters"},inputShotDescription:{title:"Short Description",required:"Short description is required",max:"Description must not be longer than 500 characters",placeholder:"Short description about your organization..."},inputFullDescription:{title:"About This Organization",required:"This article is required",min:"This article must has at least 200 characters",max:"This article must not be longer than 5000 characters",placeholder:"Markdown syntax is supported! For example:\nTo next line, using HTML <br> tag or Enter Twice!\nHeading h1~h6, using #, ##, ...!\nBold a text, using **text**\n"},verify:{first:"You need to",between:"verify your website ownership",last:"before your website shows up to everyone."},save:"Save",create:"Create",update:"Update",requiredAvt:"Organization logo is required",confirmEditSlug:{title:"Be careful. Renaming an organization's url can have unintended side effects. The people cannot access to your organization by the old URL. Are you sure to continue?",content:"Are you sure?"},updatesuccess:"Success",layout:{title:"Layout",detail:"You can choose a layout template to apply on your organization’s subdomain page.",placeholder:"Select Display Layout",options:{default:"Layout 1",layoutSubdomain2:"Layout 2"}}},verifyOrganization:{verified:"This organization has been verified by Viblo.",noVerify:"Verify ownership",firstTitle:"Follow the instructions below to verify your website",lastTitle:"ownership.",strategies:"Strategies",htmlFile:{title:"HTML File",here:"here",step1:"Step 1: Download HTML file",step2:" Step 2: Upload above HTML file to your domain’s web host.",step3:"Step 3: Click the verify button below.",button:"Verify"},htmlTag:{title:"HTML <meta> Tag",step1:"Step 1: Copy the code below.",step2:"Step 2: Paste the above code inside the <head> section of your website's homepage.",step3:"Step 3: Click the verify button below."},dnsRecord:{title:"DNS record",step1:"Step 1: Go to your domain’s DNS Management page.",step2:"Step 2: Select the option to add a new record.",step3:"Step 3: Add new record TXT as follows:",step4:"Step 4: Click the verify button below."},email:{title:"Mail",step1:"We support website verification by sending an activation email to some restricted email addresses.",step2:"Please choose an email address below to continue:",sent:{firstTitle:"Verification email has been sent to your selected mail address. Still haven't receiving any email?",betweenTitle:"Click here",lastTitle:"to resend the verification email."},success:"Email sent! Please follow the instruction in email to proceed verification.",error:"Something goes wrong and email couldn't be sent. Please try again later."},success:"Verification success!",warning:"We couldn't verify your website's ownership. Please recheck your verification steps.",error:"We cannot proceed verification right now. Please try again later."},statsOrganization:{title:"Stats for",overview:{title:"Overview"},contribution:{title:"Contribution",search:"Search member",table:{stt:"STT",name:"Name",reputations:"Reputations",tootipReputations:"Reputations: ",publish:"Published Posts",inOrganization:" In Organization",organizationPosts:"Organization Posts: ",allIn:"All In Viblo",toolTipAllIn:"Posts: ",postViews:"Postviews",tootipPostView:"Views: ",answers:"Answers",tootipAnswers:"Answers: "}},date:{thisMonth:"This month",lastMonth:"Last month",twoMonths:"2 months ago"}},discussions:{title:"DISCUSSIONS",noDiscussions:"No discussion yet.",answer:{isOwner:"commented to your answer in question",default:"commented to answer in the question"},question:{isOwner:"commented to your question",default:"commented to the question"},post:{isOwner:"commented to your post",default:"commented to the post"},series:{isOwner:"commented to your series",default:"commented to the series"},default:"commented on",of:"of"},dialogRegister:{title:"Let's register a Viblo Account to get more interesting posts.",register:"Register",login:"Login",createAccount:"Create a new account",seeMore:"Learn & sharing with",forgotPassword:"Forgot password ?",or:"or",skip:"Skip"},dialogNoAvt:{title:"You have no avatar yet!",content:"It’s time to have a new awesome look on your profile. Only 1 step to easily create a stunning avatar from a photo in Viblo Accounts.",button:"OK, I got it!"},dialogExternalSurvey:{title:"User Survey",content:"Hi, currently Viblo team is consulting users to improve service quality. Let's take a moment to survey with us ^^!",confirmBtn:"Let's go",cancelBtn:"Cancel"},dialogUpload:{title:"Insert thumbnails",dropzone:"Drag and drop files here or click to upload",watermark:"Enable Watermark",y
1ourPhoto:"Your photos",cancel:"Cancel",updateProfilePicture:"Update profile picture"},dialogThumbnail:{thumbnailTitle:"Viblo templates",thumbnailContent:"Please choose a thumbnail for your post:",empty:"No templates to preview"},dialogDetect:{title:"Convert image to LaTex",dropzone:"Hold and drag, or paste (Ctr/Command + V) an image file here, or click to select a file.",result:"Result:",done:"Done",notDetectFomulas:"No result found. Please try again!",note:"(*) Please note that the current version works best for single-line formulas; more complicated ones will be supported in the next versions.",description:"An easy-to-use tool that converts images of math formulas to LaTeX."},dialogReadingTool:{tooltip:"Reading tool",fontSize:"Font size",lineHeight:"Line height",reset:"Reset",default:"Default",fullScreen:"Full Screen",colorMode:"Color Mode"},topAuthors:{title:"Top authors",sortBy:"Sort by",sortOptions:{reputation:"Reputation",followers:"Followers",posts:"Posts"},rangeFilter:{week:"Week",month:"Month",all:"All"}},editor:{placeholder:'Markdown syntax is supported. Click ? for Help\nTo next line, using HTML <br> tag or Enter Twice\nClick 👁 or press "Ctrl + P" to toggle Preview mode\nClick ▯▯ or press "F9" to toggle Side by Side Preview mode\nClick 🕂 or press "F11" to toggle Fullscreen mode \nTo highlight codes, please add the programming lowercase language name after the opening triple backticks (for example: ```ruby)',lines:"Lines",words:"Words",upload:{uploading:"Uploading",fileUploading:"Uploading your files"},emoji:{title:"Emoji Suggestion",categories:{search:"Search Results",recent:"Frequently Used",people:"Smileys & People",nature:"Animals & Nature",foods:"Food & Drink",activity:"Activity",places:"Travel & Places",objects:"Objects",symbols:"Symbols",flags:"Flags",custom:"Custom"},notFound:"No Emoji Found",search:"Search",pick:"Pick your emoji"},actions:{link:"Insert Link (Ctrl-K)",image:"Insert Image (Ctrl-Alt-I)",embed:"Add an embed",help:"Markdown Help",shortcut:"Shortcut Cheatsheet",emoji:"Emoji Suggestion",alignCenter:"Center the content (Ctrl-Shift-E)",alignLeft:"Left align content (Ctrl-Shift-L)",alignRight:"Right align content (Ctrl-Shift-R)",fullscreen:"Fullscreen mode (F11)",sideBySide:"Side by side mode (F9)",embedPopup:{title:"Add an embed",label:"Please enter embed URL:",ok:"OK",cancel:"Cancel",invalid:"Invalid URL. Accepted URL: Youtube, Vimeo, Slideshare, Codepen, Gist, JsFiddle, GoogleSlide, Soundcloud."},linkPopup:{title:"Insert link",label:"Please enter your link:",ok:"OK",cancel:"Cancel",invalid:"Doesn't look like a valid URL.",link:"Link",placeholder:"Please insert a link or search from your posts"},detectMatex:"Image to LaTeX Converter",invalidImage:"Invalid image format please try again"}},dialogMarkdownHelp:{title:"Markdown Help",linkFull:"Link Full: ",clickto:"Click to see more",row1:{component:"Bold",markdown:"**Bold** (No Space after opening and before closing)"},row2:{component:"Next Line",markdown:"Using HTML <br> tag or Enter Twice"},row3:{component:"Italic",markdown:"*Italic* (No Space after opening and before closing)"},row4:{component:"Inline code",markdown:"Inline code"},row5:{component1:"var",component2:" s = 'Syntax Highlighting';",markdown1:"```javascript",markdown2:"var s = 'Syntax Highlighting';",markdown3:"```",markdown4:"If you want to include both language and filename",markdown5:"```javascript:app/index.js",markdown6:"var s = 'Syntax Highlighting';",markdown7:"We supported 64 languages such as PHP, JavaScript, XML, YAML...",markdown8:"Read more."},row6:{component:"Link",markdown:"[Link](http://~)"},row7:{component:"Image"},row8:{component:"Headings (h1~h6)",markdown1:"# h1 (A space after #)",markdown2:"## h2 (A space after ##)",markdown3:"### h3 (A space after ###)"},row10:{component:"Unordered list",markdown:"* Item (A space after *)"},row11:{component:"Ordered list 1, 2, 3"},row12:{component:"Horizontal rules"},row13:{component:"Blockquotest",markdown:"> Blockquotes"},row14:{component:"Table",markdown1:"| Column 1 | Column 2 |",markdown2:"| - | - |",markdown3:"| Text | Text |"},row15:{component:"Escape markdown"},row16:{component:"Embed syntax",markdown1:"{@embed: Your embed URL}",markdown2:"(Supported embed URL: Youtube, Vimeo, Slideshare, Codepen, Gist, JsFiddle, Google Slide, Soundcloud)"},row17:{component:"Math formula",markdown1:"Inline: $f(x) = x$",markdown2:"(No spaces after opening or before closing)",markdown3:"Block:",markdown4:"(See more)"}
1,row18:{component:"Aligning syntax",markdown1:"Swap your content inside a HTML tag (div, p) with ",markdown2:"align",markdown3:"attribute. Example:",markdown4:'<div align="left|right|center|justify">',markdown5:"  [Your content here]",markdown6:"</div>",markdown7:"(Some Markdown syntaxes may not work inside HTML tag when aligning.)"}},shortcutCheatsheet:{title:"Shortcut Cheatsheet",shortcut:"Shortcut",description:"Description",row1:{description:"Toggle Blockquote"},row2:{description:"Toggle Bold"},row3:{description:"Clean Block"},row4:{description:"Toggle Heading Smaller"},row5:{description:"Toggle Italic"},row6:{description:"Draw Link"},row7:{description:"Toggle Unordered List"},row8:{description:"Preview Mode"},row9:{description:"Save"},row10:{description:"Toggle CodeBlock"},row11:{description:"Draw Image"},row12:{description:"Toggle Ordered List"},row13:{description:"Toggle Heading Bigger"},row14:{description:"Toggle Side BySide"},row15:{description:"Toggle Full Screen"},row16:{description:"Left Align Content"},row17:{description:"Right Align Content"},row18:{description:"Center The Content"}},stats:{answers:"Answers",comments:"Comments",clips:"Bookmarks",posts:"Posts",views:"Views",votes:"Votes",suggestion:{question:{vote:"Vote: ",bookmark:"Bookmark: ",comment:"Comment: ",view:"View: "},challenge:{score:"Score: ",completed_times:"Completion rate: ",trophied_count:"Achievement rate: "},course:{view:"View: ",user_count:"Enrolled student: ",question_count:"Total question: ",test_count:"Total test: "},puzzle:{score:"Score: ",completed_times:"Solver: "}}},search:{title:"Search",results:"results",posts:"Posts",questions:"Questions",authors:"Authors",tags:"Tags",suggestions:{tags:{followers:"Followers",posts:"Posts"},posts:{posted:"posted"},users:{followers:"Followers",posts:"Posts"},questions:{asked:"asked"}},searching:"Searching",not_found:"We couldn't find anything",sort:{label:"Sort by",best_match:"Best match",clipped:"Most clipped",viewed:"Most viewed",rated:"Most rated",commented:"Most commented",newest:"Newest",oldest:"Oldest"},guide:{label:"Search syntax",title:'Containing "Git" in title',body:'Containing "Ruby" in body',code:'Containing "function" in code',tag:'Tagged with "Rails"',not_tag:'Not containing tags "Ruby" and "Rails"',user:'Created by user "name"',clip:"Clipped more than 3 times",views:"Viewed more or equal than 10 times",rate:"Post that have a rating greater than or equal 10",created:"Created after 2016-09-30",updated:"Updated in the range between 2016-09-01 and 2016-09-30",contain:'Containing "Ruby" or "Rails"',not_contain:'Must not contain "php"',title_or_body:'Containing phrase "Js performance" in title or body',language:"Filter posts by language (en, vi, ja)"}},notification:{label:"Your Notifications",noNew:"No new notifications",settingsUpdated:"Settings updated",options:{label:"Options",markAsRead:"Mark all as read",deleteAll:"Delete all",settings:"Notification settings"}},rss:{title:"Viblo RSS Channels",description:"RSS (Really Simple Syndication) is a type of XML file that helps create information channels (feeds). The principle of RSS is minimalism, shortened content only contains important items such as title, author, summary content, date, ... so users can update information quickly without needing to directly access the site. Users can synthesize information from many different websites through specialized RSS reader.",seeAll:"See all",posts:{title:"Posts",newest:"Newest",trending:"Trending",editorsChoice:"Editors' Choice",video:"Videos",mayfest:"Viblo May Fest"},questions:{title:"Questions",newest:"Newest",unsolved:"Unsolved"},topic:"Topic",authors:"Authors",organizations:"Organizations"},headSeo:{following:"Following post - Viblo",followingDefault:"Followings",newest:"Newest post - Viblo",newestDefault:"Newest Posts",series:"Post Series",announcements:"Announcements",clipPost:"My Post Bookmarks",clipSeries:"My Series Bookmarks",clipQuestion:"My Question Bookmarks",questionsNewest:"Newest Questions",questionsUnsolved:"Unsolved Questions",questionsFollowings:"Following's Questions",questionsAsk:"Ask Question",editorsChoice:"Editor's Choice",trending:"Trending Posts",discussion:"Discussions",translation:"Translation Posts",homePageTitle:"Viblo | Free service for technical knowledge sharing",defaultDescription:"Technology Articles Platform from Asia, filled with latest information on Programming Languages and Frameworks. Ruby on Rails / PHP / Swift / Unity / Java /.Net",contentCreatorPost:"Content creator"},titleEmoji:"Emoji Suggestion",vueTour:{createContent:"Click here to create a new post, question or series",seeQuestions:"Click here to see the latest questions",previewMode:"You can customize the display posts with titles only or display posts with content preview",sendFeebback:"Click here to give us feedback",gotoSetting:"Click here to go to settings",skip:"Skip",previous:"Previous step",next:"Next step",finish:"Finish",enterTitle:"Enter title here",enterTag:"Add tags related to this post here",changeImage:"Click vào đây để chọn ảnh hiển thị mặc định",selectlicense:"Click here to select the appropriate license and publish the post",markdownHelp:"Click here to learn about markdown syntax",enterContent:"Enter content here"},pageError:{error404:{title:"IS ENCOUNTERING SOME PROBLEMS.",status:"404 - Not Found."},error403:{status:"403 - Forbidden.",content1:"Please solve (or give up)",content2:"this puzzle",content3:"in Viblo CTF first to read this post!"},error503:"IS CURRENTLY IN THE MAINTENANCE MODE."},titleSeries:"Series with zero posts will only be displayed on users profile page, and will not be listed here.",empty:"There is nothing here.",common:{alert:{warning:"Warning:"},actions:{remove:"Remove"}},moderation:{inlineAction:{tooltip:"Permanently ban and delete all of this user's content"}
1,banPurgeConfirm:{title:"Ban & delete all content",warningTitle:"Warning: this action cannot be undone from the UI",warningBody:"You are about to permanently ban @{username} and delete all of their content.",effectBan:"The account will be banned forever (no time limit).",effectPurge:"All of this user's posts, questions and answers will be deleted.",effectReversible:"Only an admin can restore this later; you cannot undo it yourself.",typeToConfirm:'Type "{username}" to confirm this action.',cancel:"Cancel",continue:"Continue",confirm:"Confirm ban & delete",success:"User banned and all their content deleted successfully",error:"There was a problem banning and deleting this user's content. Please try again later"}},reviewContents:{postsSpam:{title:"Title",author:"Author",published:"Published At"}},popUpSocialShare:{content:"Content:",titleDefault:"Share to Viblo Fanpage",rankingScore:"Ranking score",placeholderContent:"Content of the post",placeholderRankScore:"Ranking score of the post",detailRankScore:{content1:"The",content2:"ranking score",content3:"is a number between 0 and 1, which is used to evaluate the priority of the posts shared on the fan page.",content4:"The higher the rating score, the higher the priority."},cancel:"Cancel",add:"Add",updateSuccess:"Update successfully!",updateError:"Something went wrong. Cannot update this post!",handleDelete:{title:"Delete",content:"Delete this sharing?",success:"Post has been removed from list!",error:"Something went wrong. Cannot delete this post!"},shareSuccess:"Post have been add to Facebook share list!",shareError:"Something went wrong. Can not share this post.",shareQuestionSuccess:"Question has been add to social share list!",shareQuestionError:"Something went wrong. Can not share this post.",shareSeriesSuccess:"Series has been add to social share list!",shareSeriesError:"Something went wrong. Can not share this post.",validations:{requiredContent:"Content is required",requiredRankScore:"RankScore is required"}},seeNewPosts:{firstContent:"See",lastContent:"new post(s)"},confirmInvitation:{title:"Confirm Invitation",titleAlert:"Info:",content1:"You have been invited to the",content2:"organization as",content3:"by",accept:"Accept",decline:"Decline"},pwa:{offline_warning:"You are offline. Some functionality may be unavailable.",new_version_available:"A new version is available!",refresh:"Refresh"},authorsRecommend:{title:"AUTHORS RECOMMENDATION",content:"You need follow more authors that we can recommend more for you",seeMore:"See more >>>"},tagRecommend:{title:"TAGS RECOMMENDATION",content:"You need follow more tags that we can recommend more for you"},userMenu:{edit:"Edit",signOut:"Sign out"},pinAnnouncement:{success:"Successfully pinned the announcement",error:"An error occurred, please try again",tooltip:"Pin this Announcement",tooltipUnPin:"Unpin this Announcement",unPinSuccess:"Unpin success announcement"},confirm:{ok:"OK",cancel:"Cancel"},deleteVideo:{title:"Delete video",content:"Uploaded video file will be deleted forever. Are you sure?"},deleteNotification:{title:"Clear notification",content:"Do you want to delete all available notifications?"},deleteImage:{title:"Are you sure that you want to delete this image?",cancel:"Cancel",confirm:"Confirm"},copyURL:"Copy URL",questions:{delete:{title:"Delete question",content:"Deleted questions are gone forever. Are you sure?"},unBookmark:{title:"Remove question",content:"Remove this questions?"}},moreArticles:"More articles",copied:"Copied ✔️",copy:"Copy",showMore:"Show more",validateUploadImage:{invalidType:"Invalid file type",maxFilesize:"File is too large for upload ({imageSize}MB). Maximum allowed file size is {maxFilesize}MB.",offline:"You are offline, cannot upload image."},popupEvent:{the:"The",takingPlace:"event is taking place",untilend:"until the end of",enterForAChance:" Enter for a chance to win",addTag:" by adding the",intoPost:"tag into your post.",learnMore:"Learn more.",reward:"rewards"},canNotTag:'Sorry, {eventName} is not opening. You can not tag this post into "{eventName}" now.',postPublicNotInEvent:'Sorry, this post has been published outside the peri
1od of {eventName} event. Therefore, it cannot be tagged with "{eventName}" tag',canNotTagContentCreator:"Only accounts that are Content Creator can add this tag.",canNotTagContentCreatorIfNotPost:"Only Post can be added this tag.",seriesProposal:{title:"Be careful! This post can only be added to one series only!",actions:"Actions",block:"Block",approve:"Approve",reject:"Reject",user:"User",wantToAdd:"want to add this post to his/her series",success:"Action successfully!"},lastEdited:"Last edited",tags:{sort:{title:"Sort by",newestPosts:"Newest posts",mostCliped:"Most bookmarked",mostViewed:"Most viewed",mostVoted:"Most voted"}},Answer:"Answer",Series:"Series",Question:"Question",Post:"Post","Poor Translation":"Poor Translation","Infringes copyright":"Infringes copyright","Harassment content":"Harassment content","TOS Violation":"TOS Violation","Spam content":"Spam content","Viblo MayFest 2020 Badge":"Badge for succeeded users in Viblo MayFest 2020 event.","Viblo MayFest 2021 Badge":"Badge for succeeded users in Viblo MayFest 2021 event.","Viblo MayFest 2022 Badge":"Badge for succeeded users in Viblo MayFest 2022 event.","Viblo MayFest 2023 Badge":"Badge for succeeded users in Viblo MayFest 2023 event.","Viblo MayFest 2024 Badge":"Badge for succeeded users in Viblo MayFest 2024 event.","Viblo MayFest 2025 Badge":"Badge for succeeded users in Viblo MayFest 2025 event.",contentCreator:{rank:{grade:"Grade: ",title:"All",diamondGrade:"Diamond grade",goldGrade:"Gold grade",silverGrade:"Silver grade"}},uploadAvt:{tip:"Tips: Use scroll wheel to zoom, drag to move profile picture.",title:"Change Profile Picture",save:"Save"},wrappedUp:{toolTip:"Please wait a few minutes to look back at your achievements last year!",lookBack:"Let's look back at your achievements last year",aYear:"a year with Viblo",withViblo:"Let's look back on the past year with Viblo",error:"An error occurred, please try again!",chooseImage:"Select images to download",saveImage:"Download",all:"All",loading:"loading ...",downloadMessage:"Can't download images"},writeUps:{collectionWriteupsDesc:"A collection of write-ups from the best hackers for",congratulationsWriteUpsDesc:"Congratulations! You have solved this puzzle. Let become the first hacker",submitAWriteUps:"submit a write-up",to:"to"},settings:{newsletter:{textUpdateEmailSubscription:"Set up your email subscription",textSubscribeEmail:"In order to create consistent notification experience on Viblo, we’ve turned off email subscriptions for these two items. You can turn on below to receive new updates on",textNewsletter:"Weekly newsletter",textUnreadNotifications:"Unread notifications",accessLink:"Adjust notification settings:",textAdjustSettings:"Click here for further notification settings",messageSuccess:"Update settings successfully!"},error:"Something went wrong. Please try again later."},socialSharePopUp:{title:"Description for the social share of your post",label:"Contents",validations:{contentMin:"The description must be at least 10 characters",contentMax:"The description can't be more than 10000 characters"},save:"Save",skip:"Skip",description:"Viblo Team will use this content when your post is selected to share on Viblo's social media pages (Facebook, TikTok, Threads,...).",noRequire:"Providing this content is optional."},allPosts:"All posts",somePicturesAboutUs:"Some pictures about",allVideos:"All videos",postsBookmarked:"The post has been bookmarked",subdomain:{PostPin:"Pinned Posts",videoPin:"Pinned Video",growthDate:"From {from} to {to}",AllMembers:"Members list",AllFollowers:"Followers list",PinnedPosts:"Select pinned posts",alertPostPin:"Note: Please select 3 or 6 posts to save the list of pinned posts"},pinPostOrg:{confirmContent:"Are you sure to pin this video?",confirmContentUnPin:"Are you sure to unpin this video?",confirmPostPin:"Are you sure to pin this post?",confirmPostUnPin:"Are you sure to unpin this post?",contentPin:"Pin post",contentUnPin:"Un pin post",pinSuccess:"Post has been pinned!",unPinSuccess:"Post has been un pinned!",pinVideoSuccess:"Video has been pinned!",unPinVideoSuccess:"Video has been un pinned!",titlePinPost:"Select post pin",reset:"Reset",confirmPinPost:{title:"Confirm",content:"Are you sure to pin these posts?"}},navbarOrg:{topMembers:"Featured member",seeAll:"See all >"},uploadImage:"Add activity photos",descDarkMode:"When you switch between light mode and dark mode, subsequent pages will automatically apply the chosen mode until you make another change. You can customize the mode on the subdomain page or adjust the background color on detail post pages.",PopupDownloadApp:{title:"Download Mobile App",content:"Looking for an easier way to explore Viblo?",download:"Download Now"}}},47:function(t,e,n){"use strict";n.d(e,"f",(function(){return c})),n.d(e,"d",(function(){return h})),n.d(e,"e",(function(){return v})),n.d(e,"a",(function(){return y}
1)),n.d(e,"b",(function(){return w})),n.d(e,"c",(function(){return _}));var r=n(10),o=new r.b.Entity("users"),c=new r.b.Array(o),l=new r.b.Entity("organizations"),h=new r.b.Array(l),d=new r.b.Object({data:o}),f=new r.b.Entity("posts",{user:d}),m=(new r.b.Array(f),new r.b.Entity("questions",{user:d})),v=new r.b.Array(m),y=new r.b.Entity("answers",{user:d}),w=(new r.b.Array(y),new r.b.Entity("comments",{user:d})),_=new r.b.Array(w)},470:function(t,e,n){"use strict";n.r(e),e.default={mainNavbar:{mainMenu:{posts:"Bài Viết",questions:"Hỏi Đáp",discussions:"Thảo Luận"},quickSearch:{placeholder:"Tìm kiếm trên Viblo",notFound:"Chúng tôi không thể tìm thấy bất cứ điều gì. Hãy thử dùng",advancedSearch:"công cụ tìm kiếm nâng cao"},announcements:{announcements:"Thông tin",allRead:"Đánh dấu tất cả đã đọc",noAnnouncement:"Chưa có thông tin",allAnnouncements:"Tất cả thông tin"},notifications:{notifications:"Thông báo",NotificationSettings:"Cài đặt thông báo",notificationsList:{new:"Mới",earlier:"Cũ hơn"},seeAll:"Xem tất cả"},writeMenu:{title:"Viết",writePost:"Viết bài",newSeries:"Series mới",askQuestion:"Đặt câu hỏi",newVideo:"Video mới"},userMenu:{login:"Đăng nhập/Đăng ký",profile:"Trang cá nhân",myContents:"Quản lý nội dung",myActivities:"Lịch sử hoạt động",reviewContents:"Đánh giá nội dung",organizations:"Tổ chức",preferences:"Tùy chỉnh",adminDashboard:"Trang quản trị"},setting:{appearances:{title:"Hiển thị",postLayout:{title:"Bố cục bài viết",detail:'Bạn có thể chọn chế độ hiển thị danh sách bài viết "Đơn giản" - chỉ có tiêu đề và metadata hoặc chế độ "Xem trước" - sẽ xuất hiện thêm một đoạn trích nội dung.',simple:"Đơn giản",preview:"Xem trước"},itemsPerPage:{title:"Số mục trên trang",detail:"Bạn có thể tùy chỉnh số lượng các mục được hiển thị trong một trang cho danh sách được phân trang (ví dụ: trang chủ)."},highlightThemes:{title:"Màu nền cho các đoạn code",detail:"Chủ đề được sử dụng thay đổi đoạn mã",dark:"Tối",light:"Sáng"},homePage:{title:"Cài đặt trang chủ",detail:"Bạn có thể đặt các trang sau làm trang chủ để hiển thị những gì bạn quan tâm nhất.",followings:"Đang theo dõi",newest:"Bài viết mới nhất"},locale:{title:"Ngôn ngữ hiển thị",detail:"Website, email và các thông báo sẽ hiển thị với ngôn ngữ đã chọn."},layout:{title:"Bố cục trang",detail:"Bạn hãy chọn mẫu layout sẽ được áp dụng trên trang subdomain của mình. ",placeholder:"Chọn bố cục hiển thị",options:{default:"Bố cục trang 1",layoutSubdomain2:"Bố cục trang 2"}},success:"Đã cập nhật cài đặt"},notifications:{title:"Thông báo",content:{title:"Nội dung dành cho bạn",contentPeople:{content:"Nội dung từ những người bạn đã theo dõi",detail:"Chúng tôi sẽ thông báo cho bạn khi những người bạn đang theo dõi đăng tải bài viết mới."},question:{content:"Những câu hỏi bạn đã tạo hoặc đã theo dõi",detail:"Chúng tôi sẽ thông báo cho bạn khi có câu trả lời mới cho những câu hỏi bạn đã hỏi hoặc theo dõi."}},comment:{title:"Nhận xét & Đề cập",comments:{title:"Nhận xét",detail:"Chúng tôi sẽ thông báo cho bạn khi ai đó nhận xét về bài đăng, câu hỏi và câu trả lời của bạn."},mentions:{title:"Đề cập",detail:"Chúng tôi sẽ thông báo cho bạn khi ai đó nhắc đến bạn trong các bài đăng, câu hỏi hoặc câu trả lời của họ."}},reputations:{title:"Reputations của bạn",voteAndclip:{title:"Votes & Bookmarks",detail:"Chúng tôi sẽ thông báo cho bạn khi ai đó vote hoặc bookmark các bài đăng, câu hỏi hoặc câu trả lời của bạn."},acceptedAnswers:{title:"Chấp nhận câu trả lời",detail:"Chúng tôi sẽ thông báo cho bạn khi câu trả lời của bạn được chấp nhận."}
1,newFollowers:{title:"Người theo dõi mới",detail:"Chúng tôi sẽ thông báo cho bạn khi một người mới bắt đầu theo dõi bạn."},vibloFanpage:{title:"Viblo Fanpage",detail:"Chúng tôi sẽ thông báo cho bạn khi bài đăng cá»§a bạn được chia sẻ trên Viblo Fanpage."}},email:{title:"Email",unread:{title:"Thông báo chưa đọc",detail:"Chúng tôi sẽ gá»­i email cho bạn khi bạn có thông báo mới chưa đọc trong ngày."},newsletter:{title:"Bản tin",detail:"Chúng tôi sẽ gá»­i cho bạn bản tin tổng hợp vào Thứ Sáu hàng tuần."}}},webhooks:{title:"Webhook",newPost:"Bài viết mới",firstDetail:"Chúng tôi sẽ gá»­i",link:"JSON payload",lastDetail:"khi các tác giả bạn đang theo dõi publish một bài viết mới.",form:{targetURL:"URL đích",secret:"Khóa",token:"Mã bảo mật an toàn",tokenHeader:"Tiêu đề mã bảo mật an toàn",basicAuth:"Sá»­ dụng xác thá»±c cÆ¡ bản",username:"Tài khoản",password:"Mật khẩu",update:"Cập nhật",webhookUpdated:"Webhook đã được cập nhật",checkWebhook:"Đã gá»­i yêu cầu tới {url}. Vui lòng kiểm tra nó!"},popup:{title:"Cấu trúc dữ liệu được gá»­i",copy:"Sao chép"},validations:{url:{required:"Vui lòng nhập URL đích",type:"URL không hợp lệ",max:"Độ dài tối đa là 255 ký tá»±"},secureTokenHeader:{max:"Độ dài tối đa tiêu đề mã bảo mật là 255 ký tá»±"},secureToken:{max:"Độ dài tối đa mã bảo mật là 255 ký tá»±"},secret:{max:"Độ dài tối đa cá»§a khóa là 255 ký tá»±"}},test:"Kiểm tra",updateAndTest:"Cập nhật & Kiểm tra"}}},welcomeHero:{guest:{welcome:"Chào mừng đến với Viblo",free:"Dịch vụ chia sẻ",service:"kiến thức IT",sharing:"miễn phí",join:"Tham gia với chúng tôi để cập nhật những kiến thức IT mới nhất và cải thiện năng lá»±c bản thân",start:"Bắt đầu"},user:{welcome:"Chào mừng bạn trở lại,",writings:"Chia sẻ câu chuyện cá»§a bạn ngày hôm nay?",start:"Bắt đầu ngay bây giờ!"}},feedBar:{mayfestTitle:"Mayfest",followings:"Đang theo dõi",newest:"Mới nhất",series:"Series",editorsChoice:"Editors' Choice",trending:"Trending",videos:"Videos",clip:"Bookmark Cá»§a Tôi",createPost:"Viết bài",mayfest:{starts:"May Fest sắp bắt đầu, hãy chuẩn bị trước bài viết để nhận những phần quà hấp dẫn!",happenning:"May Fest vẫn đang mở. Chia sẻ câu chuyện cá»§a bạn để nhận những phần quà hấp dẫn!",end:"Viblo May Fest đã khép lại. Cảm Æ¡n các bạn đã đồng hành cùng chúng tôi trong sứ mệnh lan tỏa tri thức Việt!"},contentCreator:"Nhà sáng tạo nội dung"},alAlert:{followingTagsLessThanFive:{title:"Chào bạn! Chúng tôi đang nỗ lá»±c để cung cấp đến bạn những nội dung mà bạn quan tâm nhất thông qua hệ thống ",machineLearing:"Viblo Machine Learning. ",follow:"Vì vậy, hãy theo dõi ít nhất",tag:"5 chá»§ đề kỹ thuật",reading:"mà bạn muốn đọc!",interest:"Bạn muốn tìm hiểu chá»§ đề nào?"},termWarningVisible:{update:"Tháng 9 năm 2020, chúng tôi đã được cập nhật",termsOfService:"Điều khoản dịch vụ",detail:'cho phần "Quyền sở hữu cá»§a chúng tôi". Nếu bạn không có bất kỳ phản hồi nào, chúng tôi cho rằng bạn đã đồng ý với điều khoản mới này.'}},sidebar:{question:"Câu hỏi mới nhất",organization:"Các tổ chức hàng đầu",author:"Các tác giả hàng đầu",partners:"Nhà sáng tạo nội dung",organizationPartners:"Tổ chức",userPartners:"Tác giả",suggestion:{question:{title:"Câu hỏi đề xuất"},challenge:{title:"Thá»­ thách đề xuất"},course:{title:"Khóa học đề xuất",level:{beginning:"CÆ¡ bản",intermediate:"Trung cấp",advanced:"Nâng cao"}},puzzle:{title:"Câu đố đề xuất"},post:"Bài viết đề xuất",profile:{empty:"Người dùng này chưa có bài viết nào."}}},getStarted:{title:"Chá»§ đề",tag:"Chá»§ Đề Kỹ Thuật",sort:{title:"Sắp xếp",nameASC:"Tên: A đá
1º¿n Z",nameDESC:"Tên: Z đến A",followers:"Người theo dõi",posts:"Số bài viết",question:"Số  câu hỏi"},type:{title:"Loại",all:"Tất cả các loại",technical:"Chá»§ đề kỹ thuật",others:"Các loại khác"},search:"Tìm kiếm chá»§ đề",continueAble:{follow:"Theo dõi 5 chá»§ đề hoặc nhiều hÆ¡n",continue:"Tiếp tục",followed:"Đã theo dõi"},tagItem:{posts:"bài viết",questions:"câu hỏi",followers:"người theo dõi"},follow:{following:"Đang theo dõi",follow:"Theo dõi"},beforeRouteLeave:{content:"Vui lòng theo dõi ít nhất 5 chá»§ đề kỹ thuật để chuyển sang bước tiếp theo.",title:"Bạn chưa theo dõi đủ 5 chá»§ đề kỹ thuật"},start:"Bắt đầu với Viblo"},profile:{posts:"Bài viết",series:"Series",questions:"Câu hỏi",answers:"Câu trả lời",clips:"Bookmark",followings:"Đang theo dõi",followers:"Người theo dõi",tags:"Thẻ",reputations:"Reputations",communication:"Liên hệ",follow:"Theo dõi",following:"Đang theo dõi",edit:"Sá»­a",layoutSwitcher:{simple:"Chỉ tiêu đề",preview:"Xem trước nội dung"},embed:{title:"Nhúng trang cá nhân",close:"Đóng"},profileStats:{postViews:"Tổng số lượt xem bài viết",reputations:"Reputations",followingTags:"Các thẻ theo dõi",followingUsers:"Đang theo dõi các người dùng",followers:"Các người dùng đang theo dõi",posts:"Bài viết",Clips:"Bookmark",totalQuestions:"Tổng số câu hỏi",totalAnswers:"Tổng số câu trả lời"},statsHeader:{postViews:"Lượt xem bài viết",reputations:"Reputations",followers:"Người theo dõi",posts:"Bài viết"},badges:"Danh hiệu",technicalSkills:{title:"Các kÄ© năng",noSkill:"Chưa có dữ liệu.",update:"Cập nhật ngay!",updateSkill:"Cập nhật kỹ năng IT"},organizations:{title:"Tổ chức",noOrganization:"Chưa có tổ chức nào.",createOrgaization:"Tạo tổ chức cá»§a bạn!",posts:"Bài viết: ",members:"Thành viên",follow:"Người theo dõi",view:"Lượt xem bài viết",totalPost:"Tổng số  bài viết",newPost:"Bài viết mới",createOrgaizationCondition:"Bạn chưa đủ 100 điểm reputations để tạo tổ chức",description:"Tổ chức này đã có subdomain tại"},report:"Báo cáo",reportDialog:{title:"Nội dung báo cáo",label:"Lý do báo cáo nội dung này",spam:"Spam",rulesViolation:"Vi phạm quy tắc",harassment:"Sá»± quấy rầy",terms:"Điều khoản dịch vụ cá»§a Viblo",comment:"Bình luận",reported:"Đã gá»­i báo cáo",reportBtn:"Báo cáo",validations:{reason:"Vui lòng chọn một lý do."}},postsTendency:"Xu hướng bài viết",answered:"Đã trả lời",featured:"Được chọn",trending:"Trending",reputationHistory:"Lịch sá»­  reputations",reason:"Lý do:",reportAt:"Báo cáo lúc:",deleted:"{type} cá»§a bạn đã bị xóa"},userCard:{edit:"Sá»­a",following:"Đang theo dõi",follow:"Theo dõi"},contentMenu:{minRead:" phút đọc",posts:{title:"Bài viết",drafts:"Bản nháp",public:"Công khai",unlisted:"Bất kỳ ai có liên kết",spam:"Spam",notReady:"Cần chỉnh sá»­a",scheduled:"Đã lên lịch",writeups:"Writeups"},socialShare:{title:"Chia sẻ lên MXH",drafts:"Bản nháp",scheduled:"Lên lịch",published:"Đã chia sẻ"},series:"Series",answers:"Câu trả lời",questions:"Câu hỏi",postsSpam:"Bài viết spam",clips:{title:"Bookmark cá»§a tôi",posts:"Bài viết",series:"Series",questions:"Câu hỏi"},answerRequests:{title:"Nhờ trả lời câu hỏi",receivedQuestions:"Câu hỏi đã nhận",sentHistory:"Yêu cầu đã gá»­i"},gallery:"Q.lý hình ảnh",technicalSkill:"KÄ© năng IT",violations:"Vi phạm"},myContent:{search:{startDate:"Ngày bắt đầu",endDate:"Ngày kết thúc",apply:"Áp dụng",tag:"Thẻ",search:"Tìm kiếm"},title:{drafts:"Bản nháp",publicPosts:"Bài viết công khai",unlistedPosts:"Bất kỳ ai có liên kết",sharesDrafts:"Bản chia sẻ nháp",sharesScheduled:"Bản chia sẻ đã lên lịch",sharesPublished:"Bản đã chia sẻ",series:"Series",answers:"Câu trả lời",questions:"Câu hỏi",clipsPosts:"Bài viết đã bookmark",clipsSeries:"Series đã bookmark",clipsQuestions:"Câu hỏi đã bookmark",receivedQuestions:"Câu hỏi đã nhận",sentHistory:"Yêu cầu đã gá»­i",gallery:"Quản lý hình ảnh",technicalSkills:"Kỹ năng IT",violations:"Vi phạm",postsSpam:"Bài viết spam",notReady:"Bài viết cần được chỉnh sá»­a",scheduledPosts:"Bài viết đã được lên lịch"},updateSkills:"Cập nhật kỹ năng",noSkill:"Bạn chưa có kỹ năng nào.",technicalSkillsDialog:{title:"Cập nhật kỹ năng IT",placeholder:"Chọn kỹ năng IT"}
1,sentHistory:{title:"Bạn có biết?",firstContent:"Bạn có thể nhờ các thành viên khác trả lời giúp một câu hỏi bất kỳ nếu bạn biết rằng họ rất giỏi trong chá»§ đề đó. Hãy nhấp vào",betweenContent:'"Nhờ chuyên gia trả lời" trong Menu Câu hỏi',lastContent:"chọn một người dùng sau đó gá»­i yêu cầu cá»§a bạn."},action:{addToSeries:{title:"Thêm vào series cá»§a tôi",empty:"Bạn không có bất kỳ series nào.",create:"Tạo một cái mới!",titlePopup:"Bạn muốn thêm bài viết này này vào series nào?",add:"Thêm",sendProposal:"Gá»­i đề xuất",success:"Thêm bài vào series thành công!",proposalSuccess:"Đề xuất cá»§a bạn đã được gá»­i. Vui lòng đợi phản hồi cá»§a chá»§ nhân series!",error:"Đã xảy ra sá»± cố khi thêm bài viết này vào series cá»§a bạn."},edit:"Sá»­a",delete:{title:"Xóa",titleDelete:"Xóa bài viết",contentDelete:"Xóa bài viết này?"},seoSetting:"Tùy chỉnh SEO"},series:{stats:{views:"Lượt xem",votes:"Votes",comments:"Bình luận",clips:"Bookmark",posts:"Bài viết"},status:{draft:"Bản nháp - Lần sá»­a cuối:",unlisted:"Bất kỳ ai có liên kết - Lần sá»­a cuối:",published:"Được phát hành: ",edit:"Sá»­a lần cuối: "},action:{add:"Thêm bài viết",edit:"Sá»­a",delete:"Xóa",remove:"Xóa",contentDelete:"Bạn có muốn xóa câu trả lời này không?",titleRemovePosts:"Xóa bài viết",contentRemovePosts:"Xóa bài viết này?"}},answer:{yourAnswer:"Câu trả lời cá»§a bạn:",vote:"Vote:",answered:"Đã trả lời"},sendRequestions:{status:"Trạng thái",recipient:"Người nhận",question:"Câu hỏi",requestedAt:"Yêu cầu lúc",requestedBy:"Được yêu cầu bởi",writeAnswer:"Viết câu trả lời",answered:"Đã trả lời",noAnswerYet:"Chưa có câu trả lời",accepted:"Đã được chấp nhận"},violations:{type:"Loại",title:"Tiêu đề",reason:"Lý do",deleteAt:"Xóa lúc",comment:"Lý do: ",entityTypes:{post:"Bài viết",question:"Câu hỏi",series:"Series",answer:"Câu trả lời",comment:"Bình luận"},reasonTypes:{spam:"Spam",poor_translation:"Bản dịch kém",infringes_copyright:"Vi phạm bản quyền",harashment:"Quấy rối",tos_violation:"Vi phạm quy tắc"}},socialShare:{title:"Tiêu đề",creator:"Người tạo",type:"Kiểu",rankScore:"Điểm xếp hạng",createdAt:"Ngày tạo",actions:"Hành động",message:"Message",publishedAt:"Xuất bản lúc",publishAt:"Dá»± kiến Xuất bản"}},footer:{resources:{title:"Tài nguyên",posts:"Bài viết",organizations:"Tổ chức",questions:"Câu hỏi",tags:"Tags",videos:"Videos",authors:"Tác giả",discussions:"Thảo luận",recommendSystem:"Đề xuất hệ thống",tools:"Công cụ",machineLearning:"Machine Learning",systemStatus:"Trạng thái hệ thống",services:"Dịch vụ",mobileApp:"Ứng dụng di động",links:"Liên kết",rightsReserved:". All rights reserved."},about:"Về chúng tôi",help:"Giúp đỡ",fAQs:"FAQs",rSS:"RSS",terms:"Điều khoản",feedback:{title:"Phản hồi",titleForm:"Viblo - Dịch vụ chia sẻ kiến thức kỹ thuật miễn phí",lable:"Phản hồi cá»§a bạn",description:"Phản hồi cá»§a bạn sẽ được chia sẻ với đội ngÅ© phát triển sản phẩm cá»§a chúng tôi và được xem xét để phát triển trong tương lai.",lableName:"Tên",lableEmail:"Email",send:"Gá»­i",cancel:"Há»§y",survey:"Tham gia khảo sát",required:"Nội dung phản hồi là bắt buộc",min:"Nội dung phản hồi phải có ít nhất 10 ký tá»±",max:"Nội dung phản hồi quá dài",success:"Cảm Æ¡n phản hồi của baÌ£n!",error:"Đã xảy ra sá»± cố khi cố gắng gá»­i phản hồi cá»§a bạn. Vui lòng thá»­ lại sau.",validations:{requireContent:"Nội dung phản hồi là bắt buộc",contentMin:"Nội dung phản hồi phải có ít nhất 10 ký tá»±",contentMax:"Nội dung phản hồi quá dài",typeEmail:"Email không hợp lệ",requireName:"Tên người dùng là bắt buộc",maxName:"Tên quá dài"}}},question:{newest:"Mới nhất",unsolved:"Chưa giải quyết",followings:"Đang theo dõi",myClips:"Đã bookmark",askQuestion:"Đặt câu hỏi",newestPost:"Bài viết mới nhất",topAuthors:"Các tác giả hàng đá
1º§u",views:"Lượt xem: ",comments:"Bình luận: ",cliped:"Đã bookmark: ",score:"Điểm",answer:"Câu trả lời",view:"Lượt xem",comment:"Bình luận",clips:"Bookmark",posts:"Bài viết",clip:"Bookmark câu hỏi này",unClip:"Xóa bookmark",asked:"Yêu cầu",unclip:"Xóa bookmark câu hỏi này",isOwn:"Bạn không thể bookmark cho câu hỏi cá»§a bạn",recommend:"Có thể bạn quan tâm",interview_questions:"Các câu hỏi phỏng vấn",votes:"Vote: ",noQuestion:"Không có câu hỏi",answers:"trả lời"},userInline:{reputations:"Reputations: ",posts:"Bài viết: ",followers:"Người theo dõi: ",totalPostViews:"Tổng số lượt xem: ",following:"Đã theo dõi",follow:"Theo dõi",edit:"Sá»­a",questions:"Câu hỏi: ",answers:"Câu trả lời: ",views:"Lượt xem: ",comments:"Bình luận: ",clips:"Bookmark: "},myClips:{type:"Loại: ",posts:"Bài viết",series:"Series",questions:"Câu hỏi",sort:"Sắp xếp theo: ",published:"Ngày xuất bản",clipAt:"Được bookmark lúc"},myFollowing:{type:"Đối tượng: ",users:"Tác giả",organizations:"Tổ chức"},cancelScheduled:{title:"Huá»· lên lịch",confirm:"Xác nhận",content:"Bạn có chắc chắn há»§y chia sẻ bài viết này không?",success:"Bài đăng đã bị xóa khỏi danh sách!",error:"Đã xảy ra lỗi. Không thể xóa bài đăng này!"},postBody:{postInOgranziation:{pendingIn:"| Đang chờ xá»­ lý",in:"trong",followedBy:"Theo dõi bởi",people:"người.",following:"Đang theo dõi",follow:"Theo dõi"},postActions:{readingTool:"Công cụ đọc",clip:"Bookmark bài viết này",unclip:"Bỏ bookmark bài viết này",shareLinkFB:"Chia sẻ liên kết đến trang này trên Facebook",shareLinkTwitter:"Chia sẻ liên kết đến trang này trên Twitter",editorsChoice:"Đánh dấu là lá»±a chọn cá»§a ban biên tập",shareToFanpage:{title:{notYetShare:"Chia sẻ lên Fanpage cá»§a Viblo",hasBeenShare:"Bài viết này đã được thêm vào danh sách chia sẻ Facebook"}},isOwner:"Bạn không thể bookmark cho bài viết cá»§a bạn",error:"Đã xảy ra lỗi. Vui lòng thá»­ lại sau."},postContent:{statusPost:{published:"Đã đăng vào",unlisted:"Bất kỳ ai có liên kết",draft:"Bản nháp",lastEdited:"- Sá»­a lần cuối",scheduled:"Đã lên lịch công khai lúc"},postAuthor:{following:"Đang theo dõi",follow:"Theo dõi",edit:"Sá»­a",reputations:"Reputations: ",followers:"Người theo dõi: ",posts:"Bài viết: ",views:"Lượt xem: ",scroll:"Di chuyển đến bình luận",showClips:"Xem danh sách người bookmark",clipEmpty:"Chưa có bookmark.",peopleClipped:" người đã bookmark",notFollowing:"Người dùng này chưa theo dõi bất kỳ ai.",notFollowed:"Người dùng này chưa có ai theo dõi."},solveSolution:"Đây là một giải pháp để giải quyết",puzzle:"câu đố",ctf:"trong Viblo CTF.",helpfulLinks:"Liên kết hữu ích:",backToList:"Quay lại danh sách write-ups.",goToCTF:"Đi tới câu đố trên Viblo CTF.",spam:"Cảnh báo Spam:",firstContent:"Bài đăng này bị đánh dấu là spam bởi",betweenContent:"hệ thống cá»§a chúng tôi",lastContent:". Vì vậy, nó không thể được hiển thị trong trang chá»§! Ban quản trị sẽ xem xét trong thời gian sớm nhất. Nếu bạn có bất kỳ vấn đề gì, hãy gá»­i phản hồi cho chúng tôi.",notReady:{withAuthor:"Bài đăng này chưa sẵn sàng để xuất bản. Bạn có thể đã vô tình công khai nó trong khi viết. Do đó, nó là thư rác. Vui lòng thay đổi trạng thái cá»§a nó thành Bản nháp để loại bỏ cảnh báo này.",withUser:"Bài đăng này chưa sẵn sàng để xuất bản. Tác giả có thể đã vô tình công khai nó trong quá trình viết. Do đó, bạn nên suy nghÄ© trước khi đọc bài bài này."},notUpdate:{content:"Bài đăng này đã không được cập nhật trong {year} năm"},postMenu:{title:"Hiển thị các hành động",edit:"Sá»­a",report:"Báo cáo",addToSeries:"Thêm vào series cá»§a tôi",removeOrganization:"Xóa khỏi tổ chức",submitOrganization:"Thêm vào tổ chức",convertQuestion:"Chuyển thành câu hỏi",deletePost:"Xóa bài viết này",markSpam:"Đánh dấu là Spam",reportNotSpam:"Gỡ trạng thái Spam",reportNotReady:"Đánh dấu là chưa sẵn sàng",postModeration:"Sá»­a nhanh thẻ",codeBlocks:"Bôi màu code tá»± động"},dialogReport:{title:"Nội dung báo cáo",titleForUser:"Lý do xóa nội dung này",titleForm:"Lý do báo cáo nội dung này",spam:"Spam",rulesViolation:"Vi phạm điều khoản",harassment:"Quấy rối",infringesCopyright:"Vi phạm bản quyền",poorTranslation:"Bản dịch kém chất lượng",placeholder:"Nhận xét (tối đa 25
15 ký tự)",placeholderUser:"Nhận xét",vibloTerms:"Điều khoản dịch vụ của Viblo",requireReason:"Vui lòng chọn một lý do",report:"Báo cáo",delete:"Xóa",success:"Nội dung được báo cáo thành công",successDeleted:"Nội dung được xóa thành công",error:"Đã xảy ra sự cố khi báo cáo nội dung này. Vui lòng thử lại sau!",errorDeleted:"Đã xảy ra sự cố khi xóa nội dung này. Vui lòng thử lại sau!",alsoDeleteUser:"Đồng thời cấm vĩnh viễn và xóa toàn bộ nội dung của tác giả",alsoDeleteUserHint:"Tài khoản tác giả sẽ bị cấm vĩnh viễn và toàn bộ nội dung của họ sẽ bị xóa sau khi bạn xác nhận ở bước tiếp theo."},dialogAddOrganization:{title:"Bạn muốn thêm bài viết này vào tổ chức nào?",submit:"Thêm bài viết vào tổ chức",notOrganization:"Bạn đang không thuộc một tổ chức nào.",createOrganization:"Tạo tổ chức mới",success:"Bài viết đã được thêm vào tổ chức {name}",error:"Đã xảy ra lỗi. Không thể thêm bài viết vào tổ chức. Vui lòng thử lại sau."},removeOrganization:{content:"Bạn có muốn xóa khỏi tổ chức không?",title:"Xóa khỏi tổ chức",success:"Bài đăng này đã bị xóa khỏi tổ chức"},convertToQuestion:{title:"Bạn có chắc chắn không?",content:"Chuyển đổi bài viết thành câu hỏi, bài viết sẽ bị xóa khi hoàn thành. Bạn có chắc chắn để tiếp tục?",success:"Bài viết được chuyển đổi thành câu hỏi thành công.",error:"Đã xảy ra lỗi"},deletePost:{title:"Xóa bài viết này",content:"Bạn có muốn xóa bài viết này?",success:"Bài đăng đã bị xóa",error:"Đã có lỗi xảy ra!"},markSpam:{title:"Đánh dấu là spam",content:"Bạn có muốn đánh dấu bài đăng này là spam không",success:"Bài đăng đã bị đánh dấu là Spam. Nó sẽ được xem xét bởi quản trị viên.",error:"Có gì đó không ổn",noRight:"Bạn không thể đánh spam bài viết này vì quản trị viên đã đánh dấu nó không phải spam"},notSpam:{title:"Báo cáo không phải spam",content:"Bạn có chắc bài đăng này không phải là spam?",success:"Bài viết đã được gỡ spam.",error:"Đã có lỗi xảy ra!",tooltipNotSpam:"Gỡ spam cho bài viết",tooltipLink:"Đi tới bài viết"},reportNotReady:{title:"Báo cáo chưa sẵn sàng",content:"Bạn có chắc bài đăng này chưa sẵn sàng để xuất bản?",success:"Bài viết được đánh dấu là chưa sẵn sàng để xuất bản.",error:"Đã có lỗi xảy ra!"},highlightingCode:{title:"Làm nổi bật các đoạn mã",content:"Bạn có muốn làm nổi bật các đoạn mã trong bài đăng này không?",success:"Làm nổi bật các đoạn mã thành công",error:"Đã có lỗi xảy ra!"},postModeration:{title:"Sửa danh sách thẻ",save:"Lưu",placeholder:"Vui lòng điền thẻ phù hợp cho bài đăng này. Tối đa 5 thẻ"}},postSidebar:{contentsTree:{title:"Mục lục",empty:"Không có mục lục"},series:"Bài viết thuộc series",organization:"Các tổ chức được đề xuất"},recommendations:{related:"Bài viết liên quan",moreFrom:"Bài viết khác từ"}},detailQuestion:{stats:{views:"Lượt xem",clips:"Bookmark",answers:"Câu trả lời"},postAnswer:"Đăng câu trả lời",questionMenu:{title:"Hiển thị các hành động",edit:"Sửa",report:"Báo cáo",markSpam:"Đánh dấu là Spam",reportNotSpam:"Gỡ trạng thái Spam",requestAnswer:"Nhờ chuyên gia trả lời",deleteQuestion:"Xóa câu hỏi này",shareToFanpage:"Chia sẻ lên Fanpage",questionModeration:"Sửa nhanh thẻ",highlighting:"Bội màu code tự động"},spam:"Cảnh báo Spam:",firstContent:"Câu hỏi này bị đánh dấu là spam bởi",betweenContent:"hệ thống của chúng tôi",lastContent:". Vì vậy, nó không thể được hiển thị trong trang chủ! Ban quản trị sẽ xem xét trong thời gian sớm nhất. Nếu bạn có bất kỳ vấn đề gì, hãy gửi phản hồi cho chúng tôi.",markSpam:{title:"Đánh dấu là spam",content:"Bạn có muốn đánh dấu câu hỏi này là spam không",success:"Câu hỏi đã bị đánh dấu là Spam. Nó sẽ được xem xét bởi quản trị viên.",error:"Có gì đó không ổn",noRight:"Bạn không thể đánh spam câu hỏi này vì quản trị viên đã đánh dấu nó không phải spam"},notSpam:{title:"Báo cáo không phải spam",content:"Bạn có chắc câu hỏi này không phải là spam?",success:"Câu hỏi đã được gỡ spam.",error:"Đã có lỗi xảy ra!"},dialogRequestAnswer:{title:"Nhờ trả lời câu hỏi",content:"Vui lòng tìm kiếm và chọn người nhận mà bạn muốn gửi yêu cầu trả lời cho câu hỏi",placeholder:"Tìm kiếm người nhận cho câu hỏi",note:"Lưu ý: Bạn chỉ có thể gửi 3 yêu cầu trả lời mỗi ngày.",cancel:"Hủy bỏ",send:"Gửi",confirmRequestAnswer:{title:"Xác nhận Gửi yêu cầu",content:"Bạn có chắc không? Gửi yêu cầu trả lời cho"},sendRequest:"Yêu cầu đã được gửi đến"},confirmDelete:{title:"Xóa câu hỏi này",content:"Bạn có muốn xóa câu hỏi này không?",success:"Câu hỏi đã được xóa thành công!"},dialogQuestionModeration:{title:"Kiểm duyệt câu hỏi",placeholder:"Vui lòng điền thẻ phù hợp cho câu hỏi này. Tối đa 5 thẻ",save:"Lưu",error:"Đã xảy ra lỗi khi cố gắng cập nhật câu hỏi này"},highlightCodeAnswer:{title:"Bôi màu code tự động",content:"Bạn có muốn bôi màu code tự động cho nội dung câu trả lời này không?",success:"Thành công! Vui lòng đợi trong giây lát để hệ thống cập nhật nội dung mới."},comment:{title:"Thêm một bình luận",answers:"CÂU TRẢ LỜI",commentForm:{write:"Viết",preview:"Xem trước",writeAResponse:"Viết bình luận...",discard:"Hủy",save:"Lưu",comment:"Bình luận",empty:"Không có gì để xem trước!",comf
1irmDiscard:{title:"Bạn chắc chứ",content:"Những thay đổi bạn đã thá»±c hiện sẽ không được lưu. Bạn có chắc không?"},emoji:"Biểu tượng cảm xúc đề xuất",image:"Kéo hình ảnh hoặc nhấp để đính kèm",markdown:"Hỗ trợ Markdown",answer:"Trả lời",answering:"Bạn đang trả lời là:",saveComment:"Lưu bình luận",saveAnswer:"Lưu"},answerForm:{answered:"Đã trả lời",accepted:"Đã được chấp nhận",acceptAnswer:"Chấp nhận câu trả lời này",approveAnswer:"Chấp thuận cho ",reject:"Từ chối"},socialShare:{title:"Chia sẻ liên kết đến câu trả lời này",button:"Chia sẻ",close:"Đóng"},menuAction:{title:"Hiển thị các hành động",edit:"Sá»­a",report:"Báo cáo",deleteAnswer:"Xóa câu trả lời này",highlighting:"Bôi màu code tá»± động"}},deleteConfirm:{title:"Xóa câu trả lời",content:"Các câu trả lời đã xóa sẽ biến mất vÄ©nh viễn. Bạn có chắc không?",success:"Câu trả lời này đã bị xóa.",error:"Đã xảy ra lỗi. Không thể  xóa câu trả lời này."},confirmHighlight:{title:"Bôi màu code tá»± động",content:"Bạn có muốn bôi màu code tá»± động cho nội dung câu trả lời này không?",success:"Thành công! Vui lòng đợi trong giây lát để hệ thống cập nhật nội dung mới."},commentHasNotAccepted:{reply:"Trả lời",actionComment:{title:"Hiển thị các hành động",edit:"Sá»­a",report:"Báo cáo",deleteComment:"Xóa bình luận này",convertToAnswer:"Chuyển đổi thành câu trả lời",highlighting:"Bôi màu code tá»± động"},confirmDelete:{title:"Xóa bình luận",content:"Các bình luận đã xóa sẽ biến mất vÄ©nh viễn. Bạn có chắc không?"},confirmConvert:{title:"Chuyển câu trả lời này thành câu trả lời",content:"Bình luận này sẽ bị xóa sau đó được đăng dưới dạng Câu trả lời. Bạn có chắc không?",success:"Đã chuyển thành câu trả lời thành công!",commentDeleted:"Bình luận này đã bị xóa"},confirmHighlight:{title:"Bôi màu code tá»± động",content:"Bạn có muốn bôi màu code tá»± động cho nội dung bình luận này không?",success:"Thành công! Vui lòng đợi trong giây lát để hệ thống cập nhật nội dung mới."}}},commentPost:{comments:"Bình luận",loading:"Đang tải thêm bình luận...",login:"Đăng nhập để bình luận",noComent:"Chưa có bình luận nào.",postComment:"Bình luận",viewMore:"Xem thêm"},activities:{title:"Hoạt Động Cá»§a Tôi",filterAction:{all:"Tất cả hoạt động",clip:"Bookmark",unclip:"Xóa bookmark",upVote:"Upvote",downVote:"Downvote",unVote:"Unvote",accept:"Chấp nhận",delete:"Xóa",upVoteUndo:"Hoàn tác-Upvote",downVoteUndo:"Hoàn tác-Downvote"},filterType:{all:"Tất cả các loại",post:"Bài viết",question:"Câu hỏi",series:"Series",organization:"Tổ chức",answer:"Câu trả lời",tag:"Thẻ",comment:"Bình luận",user:"Người dùng"},search:"Tìm kiếm",table:{date:"Ngày",type:"Kiểu",interactableTypes:{Post:"Bài viết",User:"Người dùng",Tag:"Thẻ",Question:"Câu hỏi",Organization:"Tổ chức",Series:"Series",Answer:"Câu trả lời",Comment:"Bình luận"},activity:{title:"Hoạt Động",clip:"Bookmark",unclip:"Xóa Bookmark",follow:"Theo Dõi",unfollow:"Bỏ Theo Dõi",upvoteUndo:"Hoàn tác/Upvote",downvoteUndo:"Hoàn tác/Downvote",delete:"Xóa",accept:"Chấp Nhận",unvote:"Unvote",upvote:"Upvote",downvote:"Downvote",acceptUndo:"Hoàn Tác Chấp nhận"},title:"Tiêu đề",actions:"Hành động"},vote:{comment:{cannotVote:"Bạn không thể  vote cho bình luận cá»§a bạn"},content:{cannotVote:"Bạn không thể  vote cho nội dung cá»§a bạn"},needReputationToVote:"Bạn cần 50 điểm reputations để vote",upvote:"Upvote",downVote:"Downvote"},comment:{reply:"Trả lời",shareLinkComment:"Chia sẻ đường dẫn cá»§a bình luận này",commentAnswer:"Bình luận trả lời"}},createSeries:{title:"Tiêu đề",save:"Lưu",publishPopover:{publishSeries:"Xuất bản series cá»§a bạn",startPublish:"Thêm tiêu đề và bắt đâù viết một cái gì đó để xuất bản",visibility:"Hiển thị:",public:"Công khai",unlisted:"Bất kỳ ai có liên kết",draft:"Chỉ mình tôi",type:"series",descriptionPublic:"Mọi người có thể thấy ",descriptionSchedule:"Đặt lịch công khai ",descriptionUnlistFirst:"Chỉ những người có liên kết đến ",descriptionUnlistLast:" này, mới có thể xem được ",descriptionDraftFirst:"Chỉ có bạn mới có thể xem ",descriptionDraftLast:" này. Bản nháp cá»§a bạn đã được lưu tá»± động khi bạn nhập",saveDraft:"Lưu lại",publish:"Xuất bản",schedule:"Đặt lịch",selectDateTime:"Chọn ngày giờ"},saving:"Đang lưu",cannotSave:"Không thể lưu series cá»§a bạn",saved:"Đã lưu",addPosts:{title:"NỘI DUNG SERIES",noPostYet:"Chưa có bài viết nào. Vui lòng thêm bài vào series này để hiển thị trên trang chá»§!",addPost:"Thêm bài viết",titleDialog:"Thêm bài viết",buttonAdd:"Thêm bài viết",cancel:"Há»§y bỏ",notPost:"Bạn không có bài đăng nào",write:"Đi tới viết một bài",edit:"Sá»­a",remove:"Xóa",titleRemove:"Xóa bài viết",contentRemove:"Xóa bài viết này khỏi series"},validations:{title:"Vui lòng nhập tiêu đề series",contents:"Vui lòng nhập nội dung series"}},series:{draft:"Bản nháp - Chỉnh sá»­a lần cuối",unlisted:"Bất kỳ ai có liên kết - Chỉnh sá»­a lần cuối",published:"Xuất bản",views:"Lượt xem",clips:"Bookmark",comments:"Bình luận",posts:"Bài viết",menuAction:{title:"Hiển thị các hành động",edit:"Sá»­a",report:"Báo cáo",delete:"Xóa series này",share:"Chia sẻ lên Fanpage",highlight:"Bôi màu code tá»± động"},lableShare:"Chia sẻ liên kết đến series",bottom:{contents:"NỘI DUNG",postsDraft:"Bài viết nháp này được ẩn trong series. Vui lòng công khai bài viết này!",noPostsYet:"Series này không có bất kỳ bài đăng nào"},titleComment:"BÌNH LUẬN",unclip:"Xóa bookmark",clip:"Bookmark series này",unclipTooltip:"Xóa bookmark series này",isOwn:"Bạn không thể bookmark cho series cá»§a bạn",author:"TÁC GIẢ",comfirmDelete:{title:"Xóa series",content:"Series đã xóa sẽ biến mất vÄ©nh viễn. Bạn chắc chứ?",success:"Series đã bị xóa"},hinghlightCode:{title:"Bôi màu code tá»± động",content:"Bạn có muốn bôi màu code tá»± động cho nội dung series này không?",success:"Thành công! Vui lòng đợi trong giây lát để hệ thống cập nhật nội dung mới!"},createButton:"Tạo series mới"},createQuestion:{title:"Tiêu đề",contentTag:"Gắn thẻ câu hỏi cá»§a bạn. Tối đa 5 thẻ.",create:"Tạo",edit:"Sá»­a",question:"Câu hỏi",discard:"Há»§y",errorUpdate:"Đã xảy ra lỗi khi cố gắng cập nhật câu hỏi cá»§a bạn. Vui lòng thá»­ lại!",errorAdd:"Có lỗi đã xảy ra trong khi lưu câu hỏi cá»§a bạn. Xin vui lòng thá»­ lại!",validateTitle:"Tiêu đề câu hỏi là bắt buộc",validateTag:"Thẻ câu hỏi là bắt buộc",validateContent:"Nội dung câu hỏi là bắt buộc"},seoSetting:{title:"Cài đặt SEO",titleForm:"Tiêu đề",placeholderTitle:"Nhập tiêu đề...",description:"Mô tả",placeholderDescription:"Nhập mô tả...",preview:"Xem trước",desktop:"Xem trước trên máy tính",mobile:"Xem trước trên thiết bị di động",save:"Lưu cài đặt",titleEmpty:"Trường tiêu đề trống",titleShort:"Tiêu đề cá»§a bạn quá ngắn",titlePerfect:"Chúc mừng! Tiêu đề cá»§a bạn có độ dài lý tưởng để hiển thị trên công cụ tìm kiếm.",titleLong:"Tiêu đề cá»§a bạn quá dài và sẽ bị cắt một số từ trong kết quả cá»§a Google",descriptionEmpty:"Trường mô tả trống",descriptionShort:"Mô tả cá»§a bạn quá ngắn",descriptionPerfect:"Chúc mừng! Mô tả cá»§a bạn có độ dài lý tưởng để hiển thị trên công cụ tìm kiếm.",descriptionLong:"Mô tả cá»§a bạn quá dài và sẽ bị cắt một số từ trong kết quả cá»§a Google",success:"Cài đặt SEO đã được cập nhật thành công!",error:"Có gì đó không ổn, vui lòng thá»­ lại!",validateTitle:"Tiêu đề không được để trống.",validateDescription:"Mô tả không được để trống.",validateDescriptionMin:"Mô tả phải có ít nhất 150 ký tá»±",validateDescriptionMax:"Mô tả quá dài"},createPost:{missingTags:"Hãy gắn ít nhất 1 thẻ để được tá»± động lưu bài viết đã công khai.",isTagDifferentFromEvents:"Bạn cần thêm tối thiểu 1 tag, tối đa 5 tag ngoài tag Sá»± kiện để lưu bài viết.",lastSaved:"Lưu lần cuối cùng: ",save:"Đã lưu",title:"Tiêu đề",tootipTitle:"Mở bài viết này trong cá»­a sổ mới",lableCategories:"Danh má
1»¥c",Normal:"Mặc định",Help:"Trợ giúp",Announcement:"Thông báo",lableSystem:"Danh mục hệ thống",Vi_term:"Điều khoản Tiếng Việt",En_term:"Điều khoản Tiếng Anh",Jp_term:"Điều khoản Tiếng Nhật",placeholdertag:"Gắn thẻ bài viết cá»§a bạn. Tối đa 5 thẻ. Ít nhất 1 thẻ!",seoSetting:"Cài đặt SEO",changeImage:{title:"Thay đổi ảnh thu nhỏ",detailChangeImage:"Sá»­ dụng hình ảnh chất lượng cao sẽ thu hút nhiều người truy cập vào bài viết cá»§a bạn hÆ¡n. Theo mặc định, hình ảnh mẫu cá»§a Viblo sẽ được sá»­ dụng làm hình ảnh thu nhỏ cho bài viết cá»§a bạn.",upload:"Tải lên",enter:"Nhập url ảnh",remove:" Xóa ảnh",titleChange:"Nhập URL hình ảnh",contentChange:"Vui lòng nhập liên kết trá»±c tiếp đến tệp hình ảnh thu nhỏ bên ngoài cá»§a bạn:",error:"URL không hợp lệ",uploadSuccess:"Hình ảnh tính năng đã được tải lên thành công!",errorUpload:"Chiều rộng và chiều cao cá»§a hình ảnh tối thiểu phải bằng ",errorChage:"Thay đổi thumbnail không thành công",titleConfirmRemove:"Bạn có chắc không?",contentConfirmRemove:"Nếu bạn xóa ảnh này, ảnh thu nhỏ mặc định cá»§a Viblo sẽ được sá»­ dụng. Bạn có chắc chắn tiếp tục xóa ảnh hiện tại không?",removeSuccess:"Hình ảnh tính năng đã được xóa thành công!",cancel:"Há»§y",confirm:"Xác nhận"},leaveTitle:"Bạn chắc chắn không",leaveContent:"Nội dung bài viết cá»§a bạn không được lưu. Bạn có muốn rời đi?",publishPopover:{title:"Thêm tiêu đề và bắt đầu viết mội cái gì đó để xuất bản",addIn:"Đã thêm vào"},writeUpTitle:"Quyền bị từ chối!",writeUpContent:"Hãy giải puzzle trước. Nếu bạn đã từ bỏ, bạn cÅ©ng không thể submit write-up lại.",saving:"Đang lưu",cannotSave:"Không thể lưu bài viết này",errorAutoSave:{title:"Tá»± động lưu không thành công",content:"Không thể tá»± động lưu bài đăng này. Vui lòng lưu nội dung được chỉnh sá»­a thá»§ công!",confirm:"OK, tôi sẽ lưu nó theo cách thá»§ công"},submitOrganization:{success:"Đã gá»­i đến tổ chức ",error:"Đã xảy ra lỗi. không thể gá»­i đến tổ chức"},turnstile:{verifyAgain:"Xác minh đã hết hiệu lá»±c. Vui lòng xác minh lại và thá»­ lại.",loadError:"Không tải được bước xác minh captcha. Vui lòng kiểm tra kết nối mạng rồi thá»­ lại.",retry:"Thá»­ lại"},removeOrganization:{title:"Há»§y submission",content:"Bài viết này sẽ bị xóa khỏi tổ chức. Bạn có chắc không?",success:"Đã xóa khỏi tổ chức"},licence:{title:"Giấy phép:",selectLicense:"Vui lòng chọn giấy phép thích hợp cho bài viết cá»§a bạn:",someRights:"Một số quyền được bảo lưu",noRights:"Không có quyền nào được bảo lưu",saveLicence:"Lưu giấy phép",cancel:"Há»§y bỏ",warning:"Đang chạy tá»± động lưu ... Vui lòng đợi và thá»­ lại!",success:"Giấy phép được cập nhật",error:"Hãy lưu bào viết trước",allRightReserved:"All rights reserved",noRightsReserved:"Không có quyền nào được bảo lưu - Phạm vi công cộng",thisWork:"Bài viết này",by:"bởi",isLicensedUnder:"được cấp phép theo",allRight:{lable:"All rights reserved",shortName:"All rights reserved"},ccBy:{lable:"Chỉ Ghi công",shortName:"CC BY 4.0"},ccBySA:{lable:"Ghi công, Chia sẻ tương tá»±",shortName:"CC BY-SA 4.0"},ccByND:{lable:"Ghi công, Không phái sinh",shortName:"CC BY-ND 4.0"},ccByNC:{lable:"Ghi công,  Phi thương mại ",shortName:"CC BY-NC 4.0"},ccByNCSA:{lable:"Ghi công, Phi thương mại, Chia sẻ tương tá»±",shortName:"CC BY-NC-SA 4.0"},ccByNCND:{lable:"Ghi công, Phi thương mại, Không phái sinh",shortName:"CC BY-NC-ND 4.0"},ccCCO:{lable:"Từ bỏ bản quyền",shortName:"CC0 1.0"},publicDomain:{lable:" Phạm vi công cộng",shortName:"Public Domain"},rules:{all:"Người khác không thể phân phối, sá»­a lại, phỏng theo hay xây dá»±ng dá»±a trên bài viết cá»§a bạn mà không có sá»± cho phép cá»
1§a bạn (hoặc khi được cho phép bởi việc sá»­ dụng hợp lý).",by:"Người khác có thể phân phối, sá»­a lại, phỏng theo hay xây dá»±ng dá»±a trên bài viết cá»§a bạn miễn là họ có ghi bạn là tác giả cá»§a bài viết gốc",sa:"Người khác phải cấp phép cho các phái sinh, tài liệu đã được sá»­a đổi theo các điều khoản tương tá»±.",nd:"Người khác có thể sao chép và phân phối bài viết cá»§a bạn miễn là họ không thay đổi hoặc tạo ra các bài viết phái sinh.",nc:"Người khác chỉ có thể sá»­ dụng bài viết cá»§a bạn cho mục đích phi thương mại.",cc0:"Bạn từ bỏ tất cả bản quyền và các quyền tương tá»± trong bài viết cá»§a mình và bài viết sẽ thuộc phạm vi công cộng.",pd:"Tác phẩm này đã thuộc phạm vi công cộng và không bị giới hạn bản quyền."}},puplishPopup:{title:"Thêm tiêu đề, chọn ít nhất một thẻ và bắt đầu viết một cái gì đó để xuất bản.",publishPost:"Xuất bản bài viết cá»§a bạn",contentLicensing:"Cấp phép nội dung",submitOrganization:"Gá»­i đến tổ chức",removeOrganization:"Xóa khỏi tổ chức",organizationSelecter:{title:"Chọn một tổ chức sẽ được thêm vào",cancel:"Há»§y",submit:"Thêm"},confirmSubmit:{title:"Sẵn sàng để gá»­i bài đến tổ chức",content:"Điều này sẽ gá»­i bài viết cho tổ chức. Bạn có chắc bài viết này đã sẵn sàng để xuất bản trong tổ chức không?",content1:"Bạn có chắc chắn gá»­i ",content2:" này trong tổ chức không?"}},buttonSave:"Lưu",buttonPublish:"Xuất bản bài viết",post:"bài viết",errorMessage:{scheduleTimeAfter:"Thời gian đặt lịch công khai phải sau 20 phút và trước 75 ngày kể từ khi bạn tạo chúng"}},createVideo:{title:"Tiêu đề",addVideo:"Thêm video",changeVideo:"Thay đổi video",slideUrl:"Đường dẫn URL bài thuyết trình",placeholdertag:"Gắn thẻ bài viết cá»§a bạn.",publishPopover:{title:"Thêm tiêu đề, chọn một video và viết gì đó để  xuất bản"},noteCanAddVideo:"Thêm tiêu đề và viết gì đó để  lưu bài viết sau đó thêm một video",saving:"Đang lưu",saved:"Đã lưu",canNotSave:"Cannot save your post",addByUrl:"Thêm video bằng đường dẫn URL",addVideoLabel:"Bạn có thể thêm video bằng liên kết đa phương tiện trên Youtube hoặc Vimeo:",endterYourLink:"Nhập liên kết cá»§a bạn (đường dẫn đa phương tiện đầy đủ)",addURL:"Thêm đường dẫn URL",noteDirectVideo:"Trá»±c tiếp công khai trên Youtube, Vimeo.",mesageErrorLink:"Vui lòng nhập đúng liên kết đa phương tiện trên Youtube hoặc Vimeo"},organization:{title:"Tổ chức",sort:{label:"Sắp xếp theo",posts:"Số bài viết",users:"Số thành viên",followers:"Số người theo dõi"},headingTabs:{myOrganizations:"Tổ  chức cá»§a tôi",followings:"Đang theo dõi"},listJoined:{first:"Bạn chưa theo dõi bất kỳ tổ chức nào. Hãy xem các",organization:"tổ chức",last:"trong Viblo!"},create:"Tạo tổ chức",companyItem:{stast:{posts:"Bài viết: ",followers:"Người theo dõi: ",member:"Thành viên: ",location:"Địa điểm"},menuAction:{writePost:"Viết bài",submissions:"Bài viết chờ kiểm duyệt",manageMembers:"Quản lý thành viên",editOrganization:"Chỉnh sá»­a tổ chức",deleteOrganization:"Xóa tổ chức",leaveOrganization:"Thoát khỏi tổ chức"},confirmDelete:{title:"Xóa tổ chức",content:"Bạn có chắc chắn xóa tổ chức này không?"},confirmLeave:{title:"Rời khỏi tổ chức",content:"Bạn có chắc chắn rời khỏi tổ chức này không"}},head:"Tổ chức cá»§a tôi - ",followings:"Đang theo dõi",follow:"Theo dõi",noFollowers:"Tổ chức này chưa có người theo dõi.",invitations:{title:"Lời mời",accept:"Chấp nhận",decline:"Từ chối",invitedBy:"Được mời bởi",invited:"Đã mời"},stats:{postView:"Lượt xem bài viết",followers:"Người theo dõi",posts:"Bài viết",members:"Thành viên",numberOf:"Số lượng",from:"có được từ",to:"đến"},level:{gold:"Vàng",silver:"Bạc",diamond:"Kim cương",diamondDescription:"Nhà sáng tạo nội dung hạng Kim Cương",goldDescription:"Nhà sáng tạo nội dung hạng Vàng",silverDescription:"Nhà sáng tạo nội dung hạng Bạc"}},detailOrgaization:{menu:{posts:"Bài viết",submissions:"Nội dung chờ kiểm duyệt",members:"Thành viên",followers:"Người theo dõi",aboutUs:"Về chúng tôi",stats:"Thống kê",invitations:"Lời mời"},edit:"Sá»­a",following:"Đang theo dõi",follow:"Theo dõi",stast:{newPosts:"Bài viết mới",postViews:"Lượt xem",posts:"Bài viết",followers:"Người theo dõi",members:"Thành viên"}
1,notApproved:"Tổ chức chưa được Quản trị viên phê duyệt. Sau khi được phê duyệt, bạn có thể viết bài, mời thành viên, v.v. Nếu bị từ chối, nó cÅ©ng sẽ bị xóa.",noMember:"Tổ chức này chưa có thành viên nào.",membersList:"Danh sách thành viên",technology:"Thẻ Công nghệ",noTechnology:"Chưa có công nghệ.",wiewAdminNoTechnology:"Cập nhật ngay",dialogTag:{title:"Cập nhật thẻ Công nghệ",placeholder:"Chọn thẻ Công nghệ",save:"Lưu",success:"Thành công",error:"Đã xảy ra lỗi"},about:{fullDescription:"Tổ chức này chưa cập nhật mô tả đầy đủ!",edit:"Sá»­a"},darkMode:"Chế độ tối",lightMode:"Chế độ sáng"},inviteInOrgaization:{title:"Mời thành viên",fistContent:"Bạn có thể mời các thành viên tham gia tổ chức",lastContent:"",formSearch:"Tìm kiếm người dùng để mời",formRole:"Xét quyền cho người dùng",invite:"Mời",success:"Đã mời",error:"Người dùng đã được mời vào tổ chức.",valdateError1:"Vui lòng điền thông tin đầu vào để mời người dùng vào tổ chức này.",valdateError2:"Người dùng đã được mời vào tổ chức.",invitations:"Lời mời",cancel:"Há»§y",writer:"Người viết",editor:"Biên tập viên",admin:"Quản trị viên",owner:"Chá»§ sở hữu",allRole:"Tất cả vai trò",confirmCancel:{title:"Bạn có chắc không",content:"Há»§y lời mời",success:"Lời mời đã bị há»§y!"},confirmRemove:{title:"Bạn có chắc không",content:"Xóa thành viên"},confirmChangeRole:{title:"Đổi vai trò",success:"Vai trò cá»§a thành viên đã được thay đổi!",setOwner:"Nếu bạn đặt ",as:" là ",roleOwner:" bạn sẽ được đặt làm quản trị viên và bạn không phải là chá»§ sở hữu cá»§a tổ chức này. Bạn có chắc không?",set:"Đặt "},removeMember:{succes:"Thành viên này đã bị xóa",error:"Đã có lỗi xảy ra."},existingMember:{title:"Thành viên hiện có",search:"Tìm kiếm thành viên",table:{name:"Tên",role:"Vai trò",action:"Hành động"}},invited:"Đã mời"},detailTag:{following:"Đang theo dõi",follow:"Theo dõi",posts:"Bài viết",series:"Series",questions:"Câu hỏi",followers:"Người theo dõi",topTag:"Tag QA Hàng Đầu",popularTag:"Tag Phổ Biến",allTag:"Tất cả tags"},createOrganization:{title:"Tạo tổ chức mới",alert:"Tổ chức mới được tạo phải được Quản trị viên phê duyệt. Sau đó, bạn có thể viết bài, mời thành viên, v.v. Nếu bị từ chối, nó cÅ©ng sẽ bị xóa.",inputName:{title:"Tên",required:"Tên là bắt buộc",max:"Tên không được dài hÆ¡n 255 ký tá»±"},inputTrackingID:{title:"Mã theo dõi (Google Analytics)",max:"Mã theo dõi không được dài hÆ¡n 20 kí tá»±"},googleAnalyticHelp:"Bạn có thể sá»­ dụng mã theo dõi google analytics v3 hoặc v4",inputURL:{title:"URL",required:"URL là bắt buộc",max:"URL không được dài hÆ¡n 255 ký tá»±"},inputWebsite:{title:"Trang web",max:"Trang web không được dài hÆ¡n 253 ký tá»±",type:"URL không hợp lệ"},inputLocation:{title:"Vị trí",required:"Vị trí là bắt buộc",max:"Vị trí không được dài hÆ¡n 255 kí tá»±"},inputShotDescription:{title:"Mô tả ngắn",required:"Mô tả ngắn là bắt buộc",max:"Mô tả ngắn không được dài hÆ¡n 500 ký tá»±",placeholder:"Mô tả ngắn gọn về tổ chức cá»§a bạn ..."},inputFullDescription:{title:"Giới thiệu về tổ chức này",required:"Bài viết này là bắt buộc",min:"Bài viết này phải có ít nhất 200 ký tá»±",max:"Bài viết này không được dài hÆ¡n 5000 ký tá»±",placeholder:"Cú pháp markdown được hỗ trợ! Ví dụ:\nĐến dòng tiếp theo, sá»­ dụng HTML <br> hoặc Nhập hai lần!\nTiêu đề h1~h6, sá»­ dụng #, ##, ...!\nIn đậm văn bản, sá»­ dụng **text**\n"},verify:{first:"Bạn cần phải",between:"xác minh quyền sở hữu trang web cá»§a mình ",last:"trước khi trang web cá»§a bạn được hiển thị với mọi người."},save:"Lưu",create:"Tạo",update:"Cập nhật",requiredAvt:"Logo cá»
1§a tổ chức là bắt buộc",confirmEditSlug:{title:"Hãy cẩn thận. Đổi tên url cá»§a tổ chức có thể có tác động khác không mong muốn. Mọi người không thể truy cập vào tổ chức cá»§a bạn bằng URL cÅ©. Bạn có chắc chắn để tiếp tục?",content:"Bạn có chắc chắn không"},updatesuccess:"Thành công",layout:{title:"Bố cục trang",detail:"Bạn hãy chọn mẫu layout sẽ được áp dụng trên trang subdomain tổ chức cá»§a mình.",placeholder:"Chọn bố cục hiển thị",options:{default:"Bố cục 1",layoutSubdomain2:"Bố cục 2"}}},verifyOrganization:{verified:"Tổ chức này đã được xác minh bởi Viblo.",noVerify:"Xác minh quyền sở hữu",firstTitle:"Làm theo hướng dẫn bên dưới để xác minh quyền sở hữu trang web ",lastTitle:"cá»§a bạn.",strategies:"Phương Pháp",htmlFile:{title:"HTML File",step1:"Bước 1: Tải file HTML",here:"ở đây",step2:"Bước 2: Tải tệp HTML ở trên lên máy chá»§ web với tên miền cá»§a bạn.",step3:"Bước 3: Nhấp vào nút xác minh ở bên dưới",button:"Xác minh"},htmlTag:{title:"HTML <meta> Tag",step1:"Bước 1: Copy đoạn mã bên dưới.",step2:"Bước 2: Dán đoạn mã trên vào trong <head> phần trang chá»§ cá»§a trang web cá»§a bạn",step3:"Bước 3: Nhấp vào nút xác minh bên dưới"},dnsRecord:{title:"DNS record",step1:"Bước 1: Truy cập vào trang quản lý DNS cá»§a tên miền cá»§a bạn.",step2:"Bước 2: Chọn để thêm bản ghi mới",step3:"Bước 3: Thêm TXT bản ghi mới như sau:",step4:"Bước 4: Nhấp vào nút xác minh bên dưới."},email:{title:"Mail",step1:"Chúng tôi hỗ trợ xác minh trang web bằng cách gá»­i email kích hoạt đến một số địa chỉ email nhất định.",step2:"Vui lòng chọn một địa chỉ email dưới đây để tiếp tục:",sent:{firstTitle:"Email xác minh đã được gá»­i đến địa chỉ mail đã chọn cá»§a bạn. Vẫn chưa nhận được bất kỳ email nào?",betweenTitle:"Bấm vào đây",lastTitle:"để gá»­i lại email xác minh."},success:"Đã gá»­i email! Vui lòng làm theo hướng dẫn trong email để tiến hành xác minh.",error:"Đã xảy ra sá»± cố và không thể gá»­i email. Vui lòng thá»­ lại sau."},success:"Xác minh thành công",warning:"Chúng tôi không thể xác minh quyền sở hữu trang web cá»§a bạn. Vui lòng kiểm tra lại các bước xác minh cá»§a bạn.",error:"Chúng tôi không thể tiến hành xác minh ngay bây giờ. Vui lòng thá»­ lại sau."},statsOrganization:{title:"Số liệu thống kê cho",overview:{title:"Tổng quan"},contribution:{stt:"STT",title:"Đóng góp",search:"Tìm kiếm thành viên",table:{name:"Tên",reputations:"Reputations",tootipReputations:"Reputations: ",publish:"Bài viết đã xuất bản",inOrganization:" Trong tổ chức",organizationPosts:"Bài viết trong tổ chức: ",allIn:"Tất cả trong Viblo",toolTipAllIn:"Bài viết: ",postViews:"Lượt xem",tootipPostView:"Lượt xem: ",answers:"Câu trả lời",tootipAnswers:"Câu trả lời: "}},date:{thisMonth:"Tháng hiện tại",lastMonth:"Tháng trước",twoMonths:"2 tháng trước"}},discussions:{title:"THẢO LUẬN",noDiscussions:"Chưa có cuộc thảo luận nào.",answer:{isOwner:"đã bình luận câu trả lời cá»§a bạn trong câu hỏi",default:"đã bình luận câu trả lời trong câu hỏi"},question:{isOwner:"đã nhận xét câu hỏi cá»§a bạn",default:"đã nhận xét cho câu hỏi"},post:{isOwner:"đã bình luận bài viết cá»§a bạn",default:"đã bình luận cho bài viết"},series:{isOwner:"đã bình luận series cá»§a bạn",default:"đã bình luận cho series"},default:"bình luận về",of:"cá»§a"},dialogRegister:{title:"Hãy đăng ký một tài khoản Viblo để nhận được nhiều bài viết thú vị hÆ¡n.",register:"Đăng kí",login:"Đăng nhập",createAccount:"Tạo tài khoản mới",seeMore:"Học tập và chia sẻ với",forgotPassword:"Quên mật khẩu ?",or:"hoặc",skip:"Bỏ qua"},dialogNoAvt:{title:"Bạn chưa có ảnh đại diện",content:"Đã đến lúc có một ảnh đại diện mới trên hồ sÆ¡ cá»§a bạn. Chỉ 1 bước để dễ dàng tạo ảnh đại diện tuyệt đẹp từ ảnh trong Tài khoản Viblo.",button:"OK, tô
1i hiểu rồi!"},dialogExternalSurvey:{title:"Khảo sát ý kiến người dùng",content:"Chào bạn, hiện tại Viblo chúng mình đang tham khảo ý kiến người dùng để cải thiện chất lượng dịch vụ, bạn bỏ chút thời gian làm khảo sát cùng chúng mình nhé ^^!",confirmBtn:"Bắt đầu",cancelBtn:"Hủy"},dialogUpload:{title:"Thêm hình ảnh thu nhỏ",dropzone:"Kéo và thả tập tin ở đây hoặc nhấp chuột để tải tập tin lên",watermark:"Chèn hình mờ Viblo",yourPhoto:"Ảnh của bạn",cancel:"Hủy",updateProfilePicture:"Cập nhật hình ảnh đại diện"},dialogThumbnail:{thumbnailTitle:"Mẫu sẵn có",thumbnailContent:"Vui lòng chọn mẫu thumbnail cho bài viết này:",empty:"Không có mẫu nào để xem trước"},dialogDetect:{title:"Chuyển đổi hình ảnh sang LaTeX",dropzone:"Giữ và thả, hoặc dán (Ctrl/Command + V) một tập tin ảnh ở đây, hoặc nhấp chuột để chọn tập tin",result:"Kết quả:",done:"Hoàn thành",notDetectFomulas:"Không tìm thấy kết quả, vui lòng thử lại!",note:"(*) Vui lòng lưu ý, phiên bản hiện tại hoạt động tốt nhất với các công thức đơn dòng; những công thức phức tạp hơn sẽ được hỗ trợ trong các phiên bản tiếp theo.",description:"Một công cụ dễ dàng sử dụng giúp chuyển đổi hình ảnh công thức toán học sang LaTeX."},dialogReadingTool:{tooltip:"Công cụ đọc",fontSize:"Cỡ chữ",lineHeight:"Độ cao hàng",reset:"Đặt lại",default:"Mặc định",fullScreen:"Toàn màn hình",colorMode:"Màu nền"},topAuthors:{title:"Tác giả hàng đầu",sortBy:"Sắp xếp theo",sortOptions:{reputation:"Reputations",followers:"Người theo dõi",posts:"Bài viết"},rangeFilter:{week:"Tuần",month:"Tháng",all:"Tất cả"}},editor:{placeholder:'Cú pháp Markdown được hỗ trợ. Nhấp vào ? để xem hướng dẫn\nĐể xuống dòng, sử dụng thẻ <br> hoặc nhấn Enter hai lần\nNhấp vào 👁 hoặc nhấn "Ctrl + P" bật/tắt chế độ xem trước\nNhấp vào ▯▯ hoặc nhấn "F9" để bật/tắt chế độ xem trước song song với soạn thảo\nNhấp vào 🕂 hoặc nhấn "F11" để  bật/tắt chế độ toàn màn hình \nĐể highlight các đoạn code, hãy viết thêm tên viết thường của ngôn ngữ sau ba dấu gạch ngược (ví dụ: ```ruby)',lines:"Dòng",words:"Từ",upload:{uploading:"Đang tải lên",fileUploading:"Đang tải tập tin lên"},emoji:{title:"Biểu tượng cảm xúc",categories:{search:"Kết quả tìm kiếm",recent:"Thường xuyên sử dụng",people:"Biểu tượng mặt cười & Con người ",nature:"Động vật & thiên nhiên",foods:"Đồ ăn & Thức uống",activity:"Hoạt động",places:"Du lịch & Địa điểm",objects:"Đồ vật",symbols:"Ký hiệu",flags:"Cờ",custom:"Tùy chọn"},notFound:"Không tìm thấy",search:"Tìm kiếm",pick:"Chọn biểu tượng"},actions:{link:"Chèn đường dẫn (Ctrl-K)",image:"Chèn ảnh (Ctrl-Alt-I)",embed:"Nhúng nội dung",help:"Hỗ trợ Markdown",shortcut:"Bảng phím tắt",emoji:"Biểu tượng cảm xúc",alignCenter:"Căn giữa nội dung (Ctrl-Shift-E)",alignLeft:"Căn trái nội dung (Ctrl-Shift-L)",alignRight:"Căn phải nội dung (Ctrl-Shift-R)",fullscreen:"Chế độ toàn màn hình (F11)",sideBySide:"Chế độ xem trước (F9)",embedPopup:{title:"Nhúng nội dung",label:"Thêm đường dẫn nhúng",ok:"Chèn",cancel:"Hủy",invalid:"Đường dẫn không hợp lệ. Chỉ chấp nhận các đường dẫn từ: Youtube, Vimeo, Slideshare, Codepen, Gist, JsFiddle, GoogleSlide, Soundcloud."},linkPopup:{title:"Chèn liên kết",label:"Nhập liên kết tại đây:",ok:"Chèn",cancel:"Hủy",invalid:"Liên kết không hợp lệ.",link:"Liên kết",placeholder:"Vui lòng chèn một liên kết hoặc tìm kiếm từ các bài viết của bạn"}
1,detectMatex:"Chuyển đổi hình ảnh sang LaTeX",invalidImage:"Định dạng ảnh không hợp lệ vui lòng thử lại"}},dialogMarkdownHelp:{title:"Markdown Help",linkFull:"Link Đầy Đủ: ",clickto:"Nhấp chuột để xem thêm",row1:{component:"In đậm",markdown:"**In đậm** (Không có khoảng trống sau khi mở và trước khi đóng)"},row2:{component:"Dòng tiếp theo",markdown:"Sử dụng thẻ HTML <br> hoặc ấn nút Enter hai lần"},row3:{component:"In nghiêng",markdown:"*In nghiêng* (Không có khoảng trống sau khi mở và trước khi đóng)"},row4:{component:"Inline code",markdown:"Inline code"},row5:{component1:"var",component2:" s = 'Đánh dấu cú pháp';",markdown1:"```javascript",markdown2:"var s = 'Đánh dấu cú pháp ';",markdown3:"```",markdown4:"Nếu bạn muốn bao gồm cả ngôn ngữ và tên tệp",markdown5:"```javascript:app/index.js",markdown6:"var s = 'Syntax Highlighting';",markdown7:"Chúng tôi hỗ trợ 64 ngôn ngữ như PHP, JavaScript, XML, YAML ...",markdown8:"Đọc thêm."},row6:{component:"Liên kết",markdown:"[Liên kết](http://~)"},row7:{component:"Hình ảnh"},row8:{component:"Tiêu đề (h1~h6)",markdown1:"# h1 (1 dấu cách sau #)",markdown2:"## h2 (1 dấu cách sau ##)",markdown3:"### h3 (1 dấu cách sau ###)"},row10:{component:"Danh sách không theo thứ tự",markdown:"* Item (1 dấu cách sau *)"},row11:{component:"Danh sách theo thứ tự 1, 2, 3"},row12:{component:"Horizontal rules"},row13:{component:"Blockquotest",markdown:"> Blockquotes"},row14:{component:"Bảng",markdown1:"| Cột 1 | Cột 2 |",markdown2:"| - | - |",markdown3:"| Chữ | Chữ |"},row15:{component:"Escape markdown"},row16:{component:"Nhúng nội dung",markdown1:"{@embed: URL embed của bạn}",markdown2:"(URL embed được hỗ trợ: Youtube, Vimeo, Slideshare, Codepen, Gist, JsFiddle, Google Slide, Soundcloud)"},row17:{component:"Công thức toán học",markdown1:"Inline: $f(x) = x$",markdown2:"(Không có dấu cách sau khi mở hoặc trước khi đóng)",markdown3:"Block:",markdown4:"(Xem thêm)"},row18:{component:"Cú pháp căn chỉnh",markdown1:"Hoán đổi nội dung bên trong thẻ HTML (div, p) với ",markdown2:"align",markdown3:"attribute. Example:",markdown4:'<div align="left|right|center|justify">',markdown5:"  [Nội dung của bạn ở đây]",markdown6:"</div>",markdown7:"(Một số cú pháp Markdown có thể không hoạt động bên trong thẻ HTML khi căn chỉnh.)"}},shortcutCheatsheet:{title:"Bảng phím tắt",shortcut:"Phím tắt",description:"Mô tả",row1:{description:"Chuyển chế độ trích dẫn"},row2:{description:"Chuyển chế độ in đậm"},row3:{description:"Clean Block"},row4:{description:"Chuyển về chế độ tiêu đề nhỏ hơn"},row5:{description:"Chuyển chế độ in nghiêng"},row6:{description:"Thả đường link"},row7:{description:"Chuyển chế độ danh sách không theo thứ tự"},row8:{description:"Chế độ xem trước"},row9:{description:"Lưu"},row10:{description:"Chuyển chế độ Codeblock"},row11:{description:"Thả hình ảnh"},row12:{description:"Chuyển chế độ danh sách theo thứ tự"},row13:{description:"Chuyển về chế độ tiêu đề lớn hơn"},row14:{description:"Chuyển chế độ Side Byside"},row15:{description:"Chuyển chế độ toàn màn hình"},row16:{description:"Căn trái nội dung"},row17:{description:"Căn phải nội dung"},row18:{description:"Căn giữa nội dung"}},stats:{answers:"Trả lời",comments:"Bình luận",clips:"Bookmark",posts:"Bài viết",views:"Lượt xem",votes:"Votes",suggestion:{question:{vote:"Vote: ",bookmark:"Bookmark: ",comment:"Bình luận: ",view:"Lượt xem: "},challenge:{score:"Điểm: ",completed_times:"Tỉ lệ hoàn thành: ",trophied_count:"Tỉ lệ nhận cúp: "},course:{view:"Lượt xem: ",user_count:"Số lượng học viên: ",question_count:"Tổng số câu hỏi: ",test_count:"Tổng số luợt thi: "},puzzle:{score:"Điểm: ",completed_times:"Số người hoàn thành: "}}},search:{title:"Tìm kiếm",results:"kết quả",posts:"Bài viết",questions:"Câu hỏi",authors:"Tác giả",tags:"Thẻ",suggestions:{tags:{followers:"Người theo dõi",posts:"Số bài viết"},posts:{posted:"đăng vào"},users:{followers:"Người theo dõi",posts:"Số bài viết"},questions:{asked:"đăng lúc"}},searching:"Đang tìm kiếm",not_found:"Không có kết quả nào",sort:{label:"Sắp xếp theo",best_match:"Phù hợp nhất",clipped:"Lượt bookmark giảm dần",viewed:"Lượt xem giảm dần",rated:"Lượt vote giảm dần",commented:"Lượt bình luận giảm dần",newest:"Mới nhất",oldest:"Cũ nhất"},guide:{label:"Cú pháp tìm kiếm",title:'Bao gồm "Git" trong tiêu đề',body:'Bao gồm "Ruby" trong nội dung',code:'Bao gồm "function" trong code',tag:'Có chứa thẻ "Rails"',not_tag:'Không bao gồm các thẻ "Ruby" và "Rails"',user:'Được tạo bởi người dùng "name"',clip:"Được bookmark nhiều hơn 3 lần",views:"Được xem ít nhất 10 lần",rate:"Có ít nhất 10 lượt vote",created:"Được tạo sau ngày 2016-09-30",updated:"Được cập nhật trong khoảng 2016-09-01 và 2016-09-30",contain:'Bao gồm "Ruby" hoặc "Rails"',not_contain:'Không bao gồm "php"',title_or_body:'Chứa cụm từ "Js performance" trong tiêu đề hoặc nội dung',language:"Lọc bài viết theo ngôn ngữ (en, vi, ja)"}},notification:{label:"Thông báo",noNew:"Không có thông báo mới",settingsUpdated:"Cài đặt đã được cập nhật",options:{label:"Tùy chọn",markAsRead:"Đánh dấu tất cả là đã đọc",deleteAll:"Xóa tất cả",settings:"Cài đặt thông báo"}},rss:{title:"Chức năng RSS của Viblo",description:"RSS (Really Simple Syndication) là một loại tệp XML giúp cho người dùng có thể cập nhận tin tức thông qua các kênh thông tin (feeds). Nguyên tắc của RSS là tối giản nên nội dung của nó được rút gọn chỉ chứa các mục quan trọng như tiêu đề, tác giả, nội dung tóm tắt, ngày tháng... để bạn có thể cập nhật thông tin một cách nhanh nhất mà không cần trực tiếp truy cập vào trang web. Bạn có thể tổng hợp thông tin từ nhiều nguồn thông qua các trình đọc RSS chuyên dụng.",posts:{title:"Bài viết",newest:"Mới nhất",trending:"Trending",editorsChoice:"Lựa chọn của biên tập viên",video:"Video",mayfest:"Viblo May Fest"},questions:{title:"Câu hỏi",newest:"Mới nhất",unsolved:"Chưa được giải quyết"},topic:"Chủ đề",seeAll:"Xem tất cả",authors:"Tác giả",organizations:"Tổ chức"},headSeo:{following:"Bài viết đang theo dõi - Viblo",followingDefault:"Đang theo dõi",newest:"Bài viết mới nhất - Viblo",newestDefault:"Các bài viết mới nhất",series:"Series bài viết",announcements:"Thông báo",clipPost:"Bài viết được bookmark",clipSeries:"Series được bookmark",clipQuestion:"Câu hỏi được bookmark",questionsNewest:"Câu hỏi mới nhất",questionsUnsolved:"Câu hỏi chưa giải quyết",questionsFollowings:"Câu hỏi đang theo dõi",questionsAsk:"Đặt câu hỏi",editorsChoice:"Editor's Choice",trending:"Bài viết trending",discussion:"Thảo luận",translation:"Bài dịch",homePageTitle:"Viblo | Dịch vụ miễn phí để chia sẻ kiến thức kỹ thuật",defaultDescription:"Nền tảng Công nghệ Bài báo từ Châu Á, chứa đầy thông tin mới nhất về Ngôn ngữ và framework lập trình. Ruby on Rails / PHP / Swift / Unity / Java /.Net",contentCreatorPost:"Nhà sáng tạo nội dung"},titleEmoji:"Đề xuất biểu tượng cảm xúc",vueTour:{createContent:"Nhấp chuột vào đây để tạo một bài viết, câu hỏi hoặc loạt bài mới",seeQuestions:"Nhấp chuột vào đây để xem các câu hỏi mới nhất",previewMode:"Bạn có thể tùy chỉnh hiển thị các bài viết chỉ với tiêu đề  hoặc hiển với nội dung xem trước",sendFeebback:"Nhấp chuột vào đây để gửi phản hồi cho chúng tôi",gotoSetting:"Nhấp chuột vào đây đi tới cài đặt",skip:"Bỏ qua",previous:"Bước trước",next:"Bước tiếp",finish:"Hoàn thành",enterTitle:"Nhập tiêu đề  ở đây",enterTag:"Thêm các thẻ liên quan đến bài viết tại đây",changeImage:"Nhấp chuột vào đây để chọn hiển thị hình ảnh mặc định",selectlicense:"Nhấp chuột vào đây để chọn giấy phép phù hợp và publish bài viết",markdownHelp:"Nhấp chuột vào đây để tìm hiểu về cú pháp markdown",enterContent:"Nhập nội dung tại đây"},pageError:{error404:{title:"IS ENCOUNTERING SOME PROBLEMS.",status:"404 - Not Found."},error403:{status:"403 - Forbidden.",content1:"Hãy tiếp tục giải (hoặc bỏ cuộc)",content2:"câu đố này",content3:"tại Viblo CTF trước để đọc được bài viết này!"},error503:"IS CURRENTLY IN THE MAINTENANCE MODE."},titleSeries:"Series không có bài viết nào sẽ chỉ được hiển thị trên trang cá nhân của người dùng và sẽ không được hiển thị ở đây.",empty:"Không có gì ở đây cả",common:{alert:{warning:"Cảnh báo:"},actions:{remove:"Xóa"}}
1,moderation:{inlineAction:{tooltip:"Cấm vĩnh viễn và xóa toàn bộ nội dung của người dùng này"},banPurgeConfirm:{title:"Cấm và xóa toàn bộ nội dung",warningTitle:"Cảnh báo: hành động này không thể hoàn tác từ giao diện",warningBody:"Bạn sắp cấm vĩnh viễn tài khoản @{username} và xóa toàn bộ nội dung của họ.",effectBan:"Tài khoản sẽ bị cấm vĩnh viễn (không giới hạn thời gian).",effectPurge:"Toàn bộ bài viết, câu hỏi, câu trả lời của người này sẽ bị xóa.",effectReversible:"Chỉ quản trị viên mới khôi phục được, bạn không thể tự hoàn tác.",typeToConfirm:'Nhập "{username}" để xác nhận thao tác.',cancel:"Hủy",continue:"Tiếp tục",confirm:"Xác nhận cấm & xóa",success:"Đã cấm tài khoản và xóa toàn bộ nội dung thành công",error:"Đã xảy ra sự cố khi cấm và xóa nội dung của người dùng này. Vui lòng thử lại sau!"}},reviewContents:{postsSpam:{title:"Tiêu đề",author:"Tác giả",published:"Xuất bản lúc"}},popUpSocialShare:{content:"Nội dung:",titleDefault:"Chia sẻ lên Fanpage của Viblo",rankingScore:"Điểm xếp hạng",placeholderContent:"Nội dung của bài viết",placeholderRankScore:"Điểm xếp hạng của bài viết",detailRankScore:{content1:"Điểm",content2:"xếp hạng",content3:"là một số từ 0 đến 1, được sử dụng để đánh giá mức độ ưu tiên của các bài viết được chia sẻ trên fan page.",content4:"Điểm đánh giá càng cao, ưu tiên càng cao."},cancel:"Huỷ bỏ",add:"Thêm",updateSuccess:"Cập nhật thành công!",updateError:"Đã có lỗi xảy ra. Không thể cập nhât bài viết này",handleDelete:{title:"Xóa",content:"Xóa bài viết này?",success:"Bài viết đã bị xóa khỏi danh sách!",error:"Đã xảy ra lỗi. Không thể xóa bài viết này!"},shareSuccess:"Bài viết đã được thêm vào danh sách chia sẻ lên Facebook!",shareError:"Đã xảy ra lỗi. Không thể chia sẻ bài viết này.",shareQuestionSuccess:"Câu hỏi đã được thêm vào danh sách chia sẻ lên Facebook!",shareQuestionError:"Đã xảy ra lỗi. Không thể chia sẻ câu hỏi này.",shareSeriesSuccess:"Series đã được thêm vào danh sách chia sẻ lên Facebook!",shareSeriesError:"Đã xảy ra lỗi. Không thể chia sẻ series này.",validations:{requiredContent:"Nội dung là bắt buộc",requiredRankScore:"Điểm xếp hạng là bắt buộc"}},seeNewPosts:{firstContent:"Xem",lastContent:"bài viết mới"},confirmInvitation:{title:"Xác nhận lời mời",titleAlert:"Thông tin:",content1:"Bạn đã được mời tham gia tổ chức",content2:"với tư cách là",content3:"bởi",accept:"Chấp nhận",decline:"Từ chối"},pwa:{offline_warning:"Bạn đang ngoại tuyến. Một số chức năng có thể không khả dụng.",new_version_available:"Đã có phiên bản mới!",refresh:"Làm mới"},authorsRecommend:{title:"TÁC GIẢ ĐỀ XUẤT",content:"Bạn cần theo dõi nhiều tác giả hơn, chúng tôi có thể giới thiệu thêm cho bạn",seeMore:"Xem thêm >>>"},tagRecommend:{title:"TAG ĐỀ XUẤT",content:"Bạn cần theo dõi thêm các thẻ, chúng tôi có thể giới thiệu thêm cho bạn"},userMenu:{edit:"Sửa",signOut:"Đăng xuất"},pinAnnouncement:{success:"Đã ghim thành công bài thông báo",error:"Đã có lỗi xảy ra vui lòng thử lại",tooltip:"Ghim thông báo này",tooltipUnPin:"Bỏ ghim thông báo này",unPinSuccess:"Bỏ ghim thông báo thành công"},confirm:{ok:"Đồng ý",cancel:"Hủy bỏ"},deleteVideo:{title:"Xóa video",content:"Video đã tải lên sẽ bị xóa vĩnh viễn. Bạn có chắc không?"},deleteNotification:{title:"Xóa thông báo ",content:"Bạn có muốn xóa tất cả các thông báo có sẵn không?"},deleteImage:{title:"Bạn có chắc chắn muốn xóa hình ảnh này không?",cancel:"Hủy bỏ",confirm:"Xác nhận"},copyURL:"Sao chép URL",questions:{delete:{title:"Xóa câu hỏi",content:"Các câu hỏi đã xóa sẽ biến mất vĩnh viễn. Bạn có chắc không?"},unBookmark:{title:"Xóa câu hỏi",content:"Xóa câu hỏi này?"}},moreArticles:"Các bài viết khác",copied:"Đã sao chép ✔️",copy:"Sao chép",showMore:"Xem thêm",validateUploadImage:{invali
1dType:"Loại tệp không hợp lệ",maxFilesize:"Tệp quá lớn để tải lên ({imageSize}MB). Kích thước tệp cho phép tối đa là {maxFilesize}MB.",offline:"Bạn đang ngoại tuyến, không thể tải ảnh lên."},popupEvent:{the:"Sự kiện",takingPlace:"đang diễn ra",untilend:"đến hết",enterForAChance:"Tham gia để có cơ hội giành",addTag:"bằng cách thêm thẻ",intoPost:"vào bài viết của bạn.",learnMore:"Tìm hiểu thêm.",reward:"giải thưởng"},canNotTag:'Xin lỗi, sự kiện {eventName} hiện không mở. Bạn không thể gắn thẻ này của của sự kiện "{eventName}" vào bài viết bây giờ',postPublicNotInEvent:'Xin lỗi, bài viết này được publish ngoài thời gian sự kiện nên không thể gắn tag "{eventName}".',canNotTagContentCreator:"Chỉ những tài khoản là Nhà sáng tạo nội dung mới có thể thêm thẻ này.",canNotTagContentCreatorIfNotPost:"Chỉ những bài viết mới được thêm thẻ này",seriesProposal:{title:"Hãy cẩn thận! Bài đăng này chỉ có thể được thêm vào một series duy nhất!",actions:"Hành động",block:"Chặn",approve:"Chấp thuận",reject:"Từ chối",user:"Người dùng",wantToAdd:"muốn thêm bài viết này vào series của anh ấy / cô ấy",success:"Thành công!"},lastEdited:"Sửa lần cuối",tags:{sort:{title:"Sắp xếp theo",newestPosts:"Bài viết mới nhất",mostCliped:"Nhiều lượt bookmark nhất",mostViewed:"Nhiều lượt xem nhất",mostVoted:"Nhiều lượt vote nhất"}},Answer:"Câu trả lời",Series:"Series",Question:"Câu hỏi",Post:"Bài viết","Poor Translation":"Bản dịch chất lượng kém","Infringes copyright":"Vi phạm bản quyền","Harassment content":"Quấy rối, đả kích","TOS Violation":"Vi phạm điều khoản","Spam content":"Nội dung rác","Viblo MayFest 2020 Badge":"Huy hiệu cho người dùng hoàn thành thử thách trong sự kiện Viblo MayFest 2020.","Viblo MayFest 2021 Badge":"Huy hiệu cho người dùng hoàn thành thử thách trong sự kiện Viblo MayFest 2021.","Viblo MayFest 2022 Badge":"Huy hiệu cho người dùng hoàn thành thử thách trong sự kiện Viblo MayFest 2022.","Viblo MayFest 2023 Badge":"Huy hiệu cho người dùng hoàn thành thử thách trong sự kiện Viblo MayFest 2023.","Viblo MayFest 2024 Badge":"Huy hiệu cho người dùng hoàn thành thử thách trong sự kiện Viblo MayFest 2024.","Viblo MayFest 2025 Badge":"Huy hiệu cho người dùng hoàn thành thử thách trong sự kiện Viblo MayFest 2025.",contentCreator:{rank:{grade:"Hạng: ",title:"Tất cả",diamondGrade:"Hạng kim cương",goldGrade:"Hạng vàng",silverGrade:"Hạng bạc"}},uploadAvt:{tip:"Mẹo: Sử dụng con lăn để thu phóng, kéo để di chuyển ảnh.",title:"Thay đổi hình ảnh đại diện",save:"Lưu"},wrappedUp:{toolTip:"Cùng chờ một chút để nhìn lại thành tích của bạn trong năm qua nhé!",lookBack:"Cùng nhìn lại thành tích của bạn trong năm qua",aYear:"một năm",withViblo:"Cùng Viblo nhìn lại một năm qua",error:"Đã có lỗi xảy ra vui lòng thử lại!",chooseImage:"Chọn hình ảnh tải xuống",saveImage:"Tải xuống",all:"Tất cả",loading:"đang tải ...",downloadMessage:"Không thể tải ảnh"},writeUps:{collectionWriteupsDesc:"Một bộ sưu tập các write-ups từ các hacker giỏi nhất cho",congratulationsWriteUpsDesc:"Chúc mừng nhé! Bạn đã giải quyết được puzzle này. Hãy trở thành hacker đầu tiên",submitAWriteUps:"viết một write-up",to:"tới"},settings:{newsletter:{textUpdateEmailSubscription:"Thiết lập theo dõi email",textSubscribeEmail:"Để mang tới trải nghiệm thông báo nhất quán trên Viblo, chúng tôi đã tạm dừng gửi email với 2 thông báo này. Bạn có thể bật lại bên dưới để nhận cập nhật mới về",textNewsletter:"Bản tin hàng tuần",textUnreadNotifications:"Thông báo chưa đọc",textAdjustSettings:"Bấm vào đây để xem cài đặt thông báo khác",messageSuccess:"Cập nhật cài đặt thành công!"},error:"Có lỗi xảy ra. Vui lòng thử lại sau."},socialSharePopUp:{title:"Mô tả cho bài viết khi chia sẻ công khai",label:"Nội dung",validations:{contentMin:"Mô tả phải có ít nhất 10 ký tự",contentMax:"Mô tả không được dài quá 10000 kí tự"},save:"Lưu",skip:"Bỏ qua",description:"Viblo Team sẽ sử dụng nội dung này khi bài viết của bạn được lựa chọn để chia sẻ trên các trang MXH của Viblo (Facebook, TikTok, Threads,...).",noRequire:"Việc cung cấp nội dung này là không bắt buộc."},allPosts:"Tất cả bài viết",somePicturesAboutUs:"Một số hình ảnh về",allVideos:"Tất cả video",postsBookmarked:"Bài viết đã bookmark",subdomain:{PostPin:"Bài viết được ghim",videoPin:"Video được ghim",growthDate:"Từ {from} đến {to}",AllMembers:"Tất cả thành viên",AllFollowers:"Tất cả người theo dõi",PinnedPosts:" Chọn bài viết được ghim",alertPostPin:"Lưu ý: Hãy chọn 3 hoặc 6 bài viết để có thể lưu danh sách bài viết được ghim"},pinPostOrg:{confirmContent:"Bạn có chắc chắn muốn ghim video này?",confirmContentUnPin:"Bạn có chắc chắn muốn bỏ ghim video này?",confirmPostPin:"Bạn có chắc chắn muốn ghim bài viết này?",confirmPostUnPin:"Bạn có chắc chắn muốn bỏ ghim bài viết này?",contentPin:"Ghim bài viết",contentUnPin:"Bỏ ghim bài viết",pinSuccess:"Bài viết đã được ghim!",pinVideoSuccess:"Video đã được ghim!",unPinVideoSuccess:"Video đã được bỏ ghim!",unPinSuccess:"Bài viết đã được bỏ ghim!",titlePinPost:"Chọn bài ghim",reset:"Làm mới",confirmPinPost:{title:"Xác nhận ghim",content:"Bạn có chắc chắn muốn ghim những bài viết này?"}},navbarOrg:{topMembers:"Thành viên nổi bật",seeAll:"Xem tất cả >"},uploadImage:"Thêm ảnh hoạt động",descDarkMode:"Khi nhấn chuyển chế độ sáng/chế độ tối, các trang tiếp theo sẽ tự động áp dụng chế độ này cho đến khi bạn thay đổi lại. Bạn có thể tuỳ chỉnh chế độ tại trang subdomain, hoặc thay đổi màu nền tại trang chi tiết bài viết.",PopupDownloadApp:{title:"Tải ngay Viblo Mobile App",content:"Bạn đang tìm cách khám phá Viblo dễ dàng hơn?",download:"Tải ứng dụng ngay"}}},471:function(t,e,n){"use strict";n.r(e);var r=n(213);e.default=function(t){var e=n(472).default;Object(r.joinNewPostsChannel)(e).onNewPostPublished((function(){t.commit("toast/pushNewPost")}))}},472:function(t,e,n){"use strict";n.r(e);var r=n(100),o=n.n(r),c=n(213),l=o.a.read("socket_broadcaster"),h={host:"/",csrfToken:o.a.read("XSRF-TOKEN"),broadcaster:"socket.io"};if("pusher"===l){window.Pusher=n(1240);var d=o.a.read("socket_key"),f=o.a.read("auth_endpoint"),m=o.a.read("socket_host"),v=o.a.read("wsPort"),y=o.a.read("wssPort");h={host:m,csrfToken:o.a.read("XSRF-TOKEN"),broadcaster:l,key:d,authEndpoint:f,wsHost:m,wsPort:v,wssPort:y,forceTLS:!1,encrypted:!0,disableStats:!0,enabledTransports:["ws","wss"]}}e.default=Object(c.newConnection)(h)},473:function(t,e,n){"use strict";n.r(e),n.d(e,"ACTION_FETCH_TAG_POST_FEED",(function(){return h}));var r=n(95),o=n(155),c=n.n(o),l=n(53),h="tagView/posts/fetch",d=Object(l.createActions)({fetchPosts:function(t){var e=t.tag,n=t.params;return Object(r.getTagPosts)(e,n)}});e.default={state:function(){return c()(l.defaultState)},getters:l.getters,actions:d,mutations:l.mutations}},48:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return f})),n.d(e,"createFetchAction",(function(){return m})),n.d(e,"mutations",(function(){return v}));var r=n(26),o=n(10),c=n(9),l=n.n(c),h=n(47),d=n(45),f=function(){return{current:[],pagination:{}}},m=function(t){return function(e,n){var r=e.commit;return t(n).then((function(t){var e,c=Object(o.a)(t.data,h.f),f=null==n||null===(e=n.params)||void 0===e?void 0:e.isLoadMore;r(d.PUT_USERS_TO_STATE,c.entities.users,{root:!0}),r(f?"setDataLoreMore":"setCurrent",c.result),r("setPagination",l()(t,"meta.pagination"))}))}},v={setCurrent:function(t,e){t.current=e},setDataLoreMore:function(t,e){t.current=[].concat(Object(r.a)(t.current),Object(r.a)(e))},setPagination:function(t,e){t.pagination=e},resetData:function(t){t.current=[],t.pagination={}}}},483:function(t,e,n){"use strict";n.r(e);var r=n(9),o=n.n(r),c=n(348),l=n.n(c),h="".concat(window.location.protocol,"//").concat(window.location.host);function d(t){var e=/\/a\/[a-zA-Z0-9]+#comment-([a-zA-Z0-9]+)/.exec(t),n=/^\/(a\/[a-zA-Z0-9]+)/.exec(t);return e?"".concat(h,"/c/").concat(e[1]):n?"".concat(h,"/").concat(n[1]):null}e.default=function(t){t.subscribe((function(t){if("notifications/shift"===t.type){var e=t.payload,n=o()(e,"data.url"),r=o()(e,"data.title.html");l()({message:r,dangerouslyUseHTMLString:!0,iconClass:"fa fa-bell-o text-primary",customClass:n?"cursor-pointer":null,showClose:!0,offset:50,onClick:function(){n&&(/^(http[s]):\/\/(www\.)?facebook.com(\/.*)?/.test(n)?window.open(n):d(n)?window.location=d(n):window.$nuxt.$router.push(n))}})}}))}},49:function(t,e,n){"use strict";n.r(e),n.d(e,"defaultState",(function(){return Q})),n.d(e,"getters",(function(){return X})),n.d(e,"actions",(function(){return G})),n.d(e,"createMutations",(function(){return Y}));var r=n(26),o=n(2),c=n(3),l=(n(11),n(31),n(46),n(15),n(13),n(12),n(17),n(18),n(9)),h=n.n(l),d=n(344),f=n.n(d),m=n(34),v=n.n(m),y=n(8),w=n.n(y),_=n(72),k=n.n(_),O=n(52),x=n.n(O),C=n(86),j=n.n(C),S=n(131),P=n.n(S),T=n(881),A=n.n(T),R=n(354),E=n.n(R),D=n(10),L=n(161),N=n(27),$=n(47),B=n(156),M=n(320),I=n(45),U=n(355);function z(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}var V,F,H,Q={byId:{},threads:{}},X={get:function(t){return function(e){return t.byId[e]}},thread:function(t){return function(e){return t.threads[e]}}},G={add:(H=Object(c.a)(regeneratorRuntime.mark((function t(e,n){var r,c,l,h,d,f,m,v;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.commit,c=n.commentable,l=n.values,t.next=4,Object(L.postComment)(c.type,c.hashId,l);case 4:return h=t.sent,d=h.data.comment.data,f=Object(D.a)(d,$.b),m=f.entities,v=f.result,r("add",m.comments[v]),r(I.PUT_USERS_TO_STATE,m.users,{root:!0}),r(U.PUT_POST_INCREMENT,Object(o.a)({},c.id,{comments_count:1}),{root:!0}),t.abrupt("return",d);case 11:case"end":return t.stop()}}),t)}))),function(t,e){return H.apply(this,arguments)}),remove:(F=Object(c.a)(regeneratorRuntime.mark((function t(e,n){var r,c,l,d;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=e.state,c=e.commit,f()(r.byId,n.id)){t.next=4;break}return l=new Error("Comment is not in this store"),t.abrupt("return",Promise.reject(l));case 4:return t.next=6,Object(L.deleteComment)(n.hash_id);case 6:return d=t.sent,c("remove",n),c(U.PUT_POST_INCREMENT,Object(o.a)({},n.commentable_id,{comments_count:-1}),{root:!0}),t.abrupt("return",h()(d.data,"deleted.length"));case 10:case"end":return t.stop()}}),t)}))),function(t,e){return F.apply(this,arguments)}),update:(V=Object(c.a)(regeneratorRuntime.mark((function t(e,n){var r,o,c,l,h,d;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.commit,o=n.id,c=n.values,t.next=4,Object(L.updateComment)(o,c).then((function(t){return t.data}));case 4:l=t.sent,h=l.comment,d=v()(h.data,["id","contents","updated_at"]),r("update",d);case 8:case"end":return t.stop()}}),t)}))),function(t,e){return V.apply(this,arguments)}),report:function(t,e){var n=e.id,r=e.values;return Object(M.c)(n,r)},vote:Object(B.a)(N.RateableType.Comment,(function(t,e){return e.byId[t]}),(function(t,e,n){return n("update",function(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?z(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):z(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}({id:t},e))}))},Y=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.threadKeyName,n=void 0===e?null:e,c=function(t){return"function"==typeof n?n(t):n&&t[n]||"root"};return{set:function(t,data){data&&data.threads?(t.byId=data.comments,t.threads=data.threads):data?(t.byId=data,t.threads=j()(A()(c),E()(P()("id")))(data)):(t.byId={},t.threads={})},add:function(t,e){t.byId=w()({},t.byId,Object(o.a)({},e.id,e));var n=c(e);x()(n,t.threads.root)<0&&k()(t.threads,(function(t,e){x()(t,n)>=0&&"root"!==e&&(n=e)}));var l=t.threads[n]||[];return t.threads=w()({},t.threads,Object(o.a)({},n,[].concat(Object(r.a)(l),[e.id]))),!0},update:function(t,e){var n=w()({},t.byId[e.id],e);t.byId=w()({},t.byId,Object(o.a)({},e.id,n))},remove:function(t,e){h()(t.byId,e.id).deleted_at=Date.now()}}}},491:function(t,e,n){var r=n(1300);function o(){return(o=r(regeneratorRuntime.mark((function t(){var e,r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(!1 in navigator)){t.next=2;break}throw new Error("serviceWorker is not supported in current browser!");case 2:return t.next=4,n.e(1).then(n.bind(null,1557));case 4:return e=t.sent,r=e.Workbox,o=new r("/sw.js",{scope:"/"}),t.next=9,o.register();case 9:return t.abrupt("return",o);case 10:case"end":return t.stop()}}),t)})))).apply(this,arguments)}n(11),window.$workbox=function(){return o.apply(this,arguments)}().catch((function(t){}))},501:function(t,e,n){"use strict";var r=n(209),o={functional:!0,props:{contents:{type:String,required:!0},renderer:{type:String,default:"lute"}},render:function(t,e){var n=e.props;return t("div",{class:["md-contents",e.data.staticClass],domProps:{innerHTML:("lite"===n.renderer?Object(r.b)():Object(r.a)()).render(n.contents)}})}},c=n(1),component=Object(c.a)(o,undefined,undefined,!1,null,null,null);e.a=component.exports},503:function(t,e,n){"use strict";n.d(e,"a",(function(){return o})),n.d(e,"d",(function(){return c})),n.d(e,"b",(function(){return l})),n.d(e,"c",(function(){return h}));var r=n(160),o={Post:"posts",Question:"questions",Series:"series",Announcements:"announcements"},c=function(t){return r.axios.put("/me/activity/visit/".concat(t))},l=function(){return r.axios.get("/me/feed/badges")};function h(t,e){return r.axios.post("/".concat(t,"/").concat(e,"/increment"),null,{baseURL:"/"})}},507:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"e",(function(){return l})),n.d(e,"g",(function(){return h})),n.d(e,"b",(function(){return d})),n.d(e,"c",(function(){return f})),n.d(e,"d",(function(){return m})),n.d(e,"f",(function(){return v}));var r=n(4),o=n.n(r),c=function(t){return o.a.get("/questions/".concat(t,"/edit"))},l=function(t,e){var n=e.reason,source=e.source;return o.a.post("/questions/".concat(t,"/report"),{reason:n,source:source})},h=function(t,e){return o.a.post("/u/".concat(t,"/request-answer/").concat(e))},d=function(){return o.a.get("/me/answer-requests/received")},f=function(){return o.a.get("/me/answer-requests/sent")},m=function(t){return o.a.put("/questions/".concat(t,"/markAsReview"))},v=function(t){return o.a.post("/questions/".concat(t,"/mark-not-spam"))}},509:function(t,e,n){"use strict";n.d(e,"a",(function(){return v})),n.d(e,"b",(function(){return y}));var r=n(72),o=n.n(r),c=n(35),l=n.n(c),h=n(77),d=n.n(h),f=n(29),m=n.n(f);function v(t){return m()(t,"0")}var y=function(data){var t=new FormData;
1return o()(data,(function(e,n){null!=e&&(l()(e)?o()(e,(function(e){return t.append("".concat(n,"[]"),e)})):d()(e)?e instanceof File?t.append(n,e):o()(e,(function(e,r){return t.append("".concat(n,"[").concat(r,"]"),e)})):t.append(n,e))})),t}},511:function(t,e,n){"use strict";n.d(e,"b",(function(){return m})),n.d(e,"a",(function(){return v}));n(15),n(13),n(12),n(17),n(18);var r=n(2),o=n(4),c=n.n(o),l=n(5);function h(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function d(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?h(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):h(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var f=function(){var t=l.default.prototype.$_store.state.config.vars;return"undefined"!==t.search_host&&t.search_host?t.search_host:""},m=function(t,e){return c.a.get("".concat(f(),"/search/").concat(t),{params:e}).then((function(t){return t.data}))},v=function(t,e){return c.a.get("".concat(f(),"/search/multi"),{params:d({q:t},e)}).then((function(t){return t.data}))}},518:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));n(15),n(13),n(12),n(17),n(18);var r=n(2),o=n(3),c=(n(11),n(939));function l(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function h(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(r.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 d=function(){var t=Object(o.a)(regeneratorRuntime.mark((function t(){var e,n,r,o,l,d,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,c.a.load().then((function(t){return t.get()})).then((function(t){return t}));case 2:return e=t.sent,n=e.visitorId,r={},"undefined"!=typeof window&&(o=window,l=o.navigator,d=l.platform,f=l.userAgent,r={platform:d,userAgent:f}),t.abrupt("return",{visitor:h({id:n},r)});case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()},519:function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"a",(function(){return l}));n(31);var r=n(264),o=0;function c(){return new Promise((function(t,e){var n,c,l=new XMLHttpRequest;l.onreadystatechange=function(){l.readyState===XMLHttpRequest.HEADERS_RECEIVED&&200===l.status&&(c=Object(r.a)())},l.onload=function(){if(200===l.status){var h=l.getResponseHeader("Date"),d=Object(r.a)(new Date(h));t(o=d+(c-n)/2-c)}else e(new Error({status:l.status,statusText:l.statusText}))},l.open("HEAD","".concat(window.location.protocol,"//").concat(window.location.host)),l.setRequestHeader("cache-control","no-cache"),n=Object(r.a)(),l.send()}))}function l(){return Object(r.a)()+o}},523:function(t,e,n){"use strict";n(63),n(522),n(85);var r=n(9),o=n.n(r),c=n(277);e.a={components:{Avatar:c.a},props:{image:String,imageSize:[Number,String],size:String,images:Array},computed:{imagePolyfill:function(){var t=this.images?o()(this.images,0):null;return t&&!t.endsWith("mm.png")?t.replace(/^.+\//,""):null}}}},524:function(t,e,n){"use strict";var r=n(878),o=n.n(r);e.a={mounted:function(){o()(this.$el.querySelector(".avatar-event"),{threshold:.1}).observe()}}},526:function(t,e,n){"use strict";n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return o}));var r=function(t,e){var rect=t.getBoundingClientRect(),n=e.getBoundingClientRect();
1return{top:rect.top-n.top,left:rect.left-n.left}},o=function(t){var rect=t.getBoundingClientRect();return rect.top>=0&&rect.left>=0&&rect.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&rect.right<=(window.innerWidth||document.documentElement.clientWidth)}},53:function(t,e,n){"use strict";n.r(e),n.d(e,"defaultState",(function(){return y})),n.d(e,"getters",(function(){return w})),n.d(e,"createActions",(function(){return _})),n.d(e,"mutations",(function(){return k}));var r=n(26),o=n(9),c=n.n(o),l=n(29),h=n.n(l),d=n(52),f=n.n(d),m=n(10),v=n(117),y={byId:{},all:[],pagination:{},current:[]},w={get:function(t){return function(e){return t.byId[e]}},isEmpty:function(t){return!t.all.length}},_=function(t){var e=t.fetchPosts;return{fetch:function(t,n){return e(n).then(function(t,e){var n=t.commit,r=t.rootState;return function(t){var o,l=Object(m.a)(t.data,v.postArray),d=l.entities,f=l.result,y=null==e||null===(o=e.params)||void 0===o?void 0:o.isLoadMore;n("entities/posts/put",d.posts,{root:!0}),n("entities/users/put",d.users,{root:!0}),n("entities/organizations/put",d.organizations,{root:!0}),n("setAllIds",f),n("setPagination",t.meta.pagination),n("vueTour/setDoneFetchData",!0,{root:!0});var w=c()(r,"auth.user.id"),_=h()(d.posts,(function(t){return{is_own:t.user_id===w,commentators:t.commentators,contents_short:t.contents_short,organization:t.organization?d.organizations[t.organization.data]:null,social_shares:t.social_shares?t.social_shares.data:null}}));y&&n("setMorePosts",f),n("setPosts",_)}}(t,n))}}};var k={setPosts:function(t,data){t.byId=data},setCurrent:function(t,data){t.current=data},setMorePosts:function(t,data){t.current=[].concat(Object(r.a)(t.current),Object(r.a)(data))},setAllIds:function(t,e){t.all=e},setPagination:function(t,e){t.pagination=e},destroyId:function(t,e){t.all.splice(f()(t.all,e),1)},resetData:function(t){t.current=[],t.pagination={}}}},58:function(t,e,n){"use strict";n.d(e,"b",(function(){return c})),n.d(e,"n",(function(){return l})),n.d(e,"i",(function(){return h})),n.d(e,"d",(function(){return d})),n.d(e,"c",(function(){return f})),n.d(e,"g",(function(){return m})),n.d(e,"h",(function(){return v})),n.d(e,"e",(function(){return y})),n.d(e,"k",(function(){return w})),n.d(e,"l",(function(){return _})),n.d(e,"m",(function(){return k})),n.d(e,"s",(function(){return O})),n.d(e,"p",(function(){return x})),n.d(e,"a",(function(){return C})),n.d(e,"q",(function(){return j})),n.d(e,"j",(function(){return S})),n.d(e,"o",(function(){return P})),n.d(e,"r",(function(){return T})),n.d(e,"f",(function(){return A}));var r=n(4),o=n.n(r),c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"posts",n=arguments.length>2?arguments[2]:void 0;return o.a.get("/users/".concat(t,"/").concat(e),{params:n})},l=function(t){return o.a.get("/users",{params:t})},h=function(t){return o.a.get("/users/".concat(t,"/reputations")).then((function(t){return t.data}))},d=function(t){return o.a.get("/me/flags",{params:t}).then((function(t){return t.data}))},f=function(t,e){return o.a.get("/users/".concat(t,"/answers"),{params:e}).then((function(t){return t.data}))},m=function(t,e){return o.a.get("/users/".concat(t,"/pinned-posts"),{params:e}).then((function(t){return t.data}))},v=function(t,e){return o.a.get("/users/".concat(t,"/questions"),{params:e}).then((function(t){return t.data}))},y=function(t){return o.a.get("/hovercard/users/".concat(t)).then((function(t){return t.data}))},w=function(){return o.a.get("me/stats").then((function(t){return t.data}))},_=function(t){return o.a.get("/tags",{params:t}).then((function(t){return t.data}))},k=function(t){return o.a.get("/u/".concat(t,"/skills"))},O=function(t,data){return o.a.post("/u/".concat(t,"/skills"),data)},x=function(t,e){var n=e.reason,source=e.source;return o.a.post("/users/".concat(t,"/report"),{reason:n,source:source})},C=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.a.post("/moderation/users/".concat(t,"/ban-purge"),e)},j=function(t,e){return o.a.put("me/complete-tour/".concat(t),e)},S=function(t){return o.a.get("/me/contents/scheduled",{params:t}).then((function(t){return t.data}))},P=function(t,data){return o.a.post("/pin-posts-profile-subdomain/".concat(t),data)},T=function(t,data){return o.a.put("/users/".concat(t,"/update-layout"),data)},A=function(t){return o.a.get("/users/".concat(t,"/images")).then((function(data){return data.data}))}},59:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return l}));var r=n(873),o=new(n.n(r).a)({domain:"https://accounts.viblo.asia",service:"viblo"});function c(){o.login({continue:window.location.href})}function l(t,e){var n=window.location.href;o.login({redirect:e,continue:n})}},596:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"b",(function(){return l}));var r=n(4),o=n.n(r),c=function(t,e){return o.a.post("/moderation/posts/".concat(t,"/tags"),{tags:e})},l=function(t,data){return o.a.post("/question/".concat(t,"/updateTags"),{data:data})}},599:function(t,e,n){},600:function(t,e,n){},601:function(t,e,n){},604:function(t,e,n){},606:function(t,e,n){"use strict";n(15),n(13),n(12),n(17),n(18);var r=n(2),o=n(37),c=n(255),l=n(256);function h(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function d(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?h(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):h(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}e.a=function(section){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,e=Object(o.c)();return{guid:e,saveLog:function(n){return Object(l.a)(c.c,d(d({guid:e,section:section},n),{},{user_id:t}))},updateLog:function(t,data){return Object(l.b)(c.c,t._id,data)}}}},612:function(t,e,n){},614:function(t,e,n){},615:function(t,e,n){},616:function(t,e,n){},617:function(t,e,n){},618:function(t,e,n){},619:function(t,e,n){},620:function(t,e,n){},621:function(t,e,n){},622:function(t,e,n){},623:function(t,e,n){},624:function(t,e,n){},626:function(t,e,n){},627:function(t,e,n){},628:function(t,e,n){},629:function(t,e,n){},630:function(t,e,n){},631:function(t,e,n){},632:function(t,e,n){},633:function(t,e,n){},634:function(t,e,n){},635:function(t,e,n){},636:function(t,e,n){},637:function(t,e,n){},638:function(t,e,n){},639:function(t,e,n){},640:function(t,e,n){},641:function(t,e,n){},642:function(t,e,n){},643:function(t,e,n){},644:function(t,e,n){},65:function(t,e,n){"use strict";n(15),n(13),n(12),n(17),n(18);var r=n(2),o=(n(63),n(377)),c=n.n(o),filter=n(114),l=n.n(filter),h=n(82),d=n.n(h),f=n(245),m=n.n(f),v=n(260),y=n.n(v);function w(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function _(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?w(Object(source),!0).forEach((function(e){Object(r.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):w(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var k={props:{path:String,query:Object,currentPage:{type:Number,default:1},lastPage:{type:Number,default:1},onEachSide:{type:Number,default:3},queryParam:{type:String,default:"page"},nuxt:{type:Boolean,default:!0}},computed:{pages:function(){var t=this.get(this.onEachSide);return c()(l()([t.first,d()(t.slider)?["..."]:null,t.slider,d()(t.last)?["..."]:null,t.last],(function(t){return null!==t})))},hasPages:function(){return this.lastPage>1}},methods:{to:function(t){var path=this.path||this.$route.path,e=m()(this.query||this.$route.query,[this.queryParam]);return{path:path,query:1!==t?_(_({},e),{},Object(r.a)({},this.queryParam,t)):e}},get:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:3;return this.lastPage<2*t+6?this.getSmallSlider():this.getUrlSlider(t)},getSmallSlider:function(){return{first:y()(1,this.lastPage+1),slider:null,last:null}},getUrlSlider:function(t){var e=2*t;return this.hasPages?this.currentPage<=e?this.getSliderTooCloseToBeginning(e):this.currentPage>this.lastPage-e?this.getSliderTooCloseToEnding(e):this.getFullSlider(t):{first:null,slider:null,last:null}},getSliderTooCloseToBeginning:function(t){return{first:y()(1,t+3),slider:null,last:this.getFinish()}},getSliderTooCloseToEnding:function(t){return{first:this.getStart(),slider:null,last:y()(this.lastPage-(t+2),this.lastPage+1)}},getFullSlider:function(t){return{first:this.getStart(),slider:this.getAdjacentUrlRange(t),last:this.getFinish()}},getAdjacentUrlRange:function(t){return y()(this.currentPage-t,this.currentPage+t+1)},getStart:function(){return[1,2]},getFinish:function(){return[this.lastPage-1,this.lastPage]}}},O=(n(1480),n(1)),component=Object(O.a)(k,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.hasPages?n("ul",{staticClass:"pagination"},[1==t.currentPage?n("li",{staticClass:"page-item"},[t._m(0)]):n("li",{staticClass:"page-item"},[t.nuxt?n("nuxt-link",{attrs:{to:t.to(t.currentPage-1),rel:"prev",exact:""}},[n("i",{staticClass:"fa fa-angle-left",attrs:{"aria-hidden":"true"}})]):n("a",{staticClass:"cursor-pointer",on:{click:function(e){return e.preventDefault(),function(){return t.$emit("click-page-item",t.currentPage-1)}.apply(null,arguments)}}},[n("i",{staticClass:"fa fa-angle-left",attrs:{"aria-hidden":"true"}})])],1),t._v(" "),t._l(t.pages,(function(e,r){return n("li",{key:r},["..."===e?n("a",{staticClass:"disabled"},[t._v("...")]):t._e(),t._v(" "),"..."!==e&&t.nuxt?n("nuxt-link",{class:{active:e===t.currentPage},attrs:{to:t.to(e),"active-class":""}}
1,[t._v("\n            "+t._s(e)+"\n        ")]):"..."!==e?n("a",{class:{active:e===t.currentPage,"cursor-pointer":!0},on:{click:function(n){return n.preventDefault(),function(){return t.$emit("click-page-item",e)}.apply(null,arguments)}}},[t._v("\n            "+t._s(e)+"\n        ")]):t._e()],1)})),t._v(" "),t.currentPage==t.lastPage?n("li",{staticClass:"page-item"},[t._m(1)]):n("li",{staticClass:"page-item"},[t.nuxt?n("nuxt-link",{attrs:{to:t.to(t.currentPage+1),rel:"next",exact:""}},[n("i",{staticClass:"fa fa-angle-right",attrs:{"aria-hidden":"true"}})]):n("a",{staticClass:"cursor-pointer",on:{click:function(e){return e.preventDefault(),function(){return t.$emit("click-page-item",t.currentPage+1)}.apply(null,arguments)}}},[n("i",{staticClass:"fa fa-angle-right",attrs:{"aria-hidden":"true"}})])],1)],2):t._e()}),[function(){var t=this.$createElement,e=this._self._c||t;return e("a",{staticClass:"disabled"},[e("i",{staticClass:"fa fa-angle-left",attrs:{"aria-hidden":"true"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("a",{staticClass:"disabled"},[e("i",{staticClass:"fa fa-angle-right",attrs:{"aria-hidden":"true"}})])}],!1,null,null,null);e.a=component.exports},657:function(t,e,n){"use strict";n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return l})),n.d(e,"b",(function(){return h}));var r=n(4),o=n.n(r),c=function(t,e){return o.a.post("/answers/".concat(t,"/report"),e)},l=function(t){return o.a.post("/approve-answer/".concat(t))},h=function(t,e){return o.a.post("remove-answer/".concat(t),e)}},658:function(t,e,n){"use strict";n.d(e,"a",(function(){return c})),n.d(e,"c",(function(){return l})),n.d(e,"b",(function(){return h}));var r=n(4),o=n.n(r),c=function(t){return o.a.get("/me/can-submit-write-up",{params:t})},l=function(t,e){return o.a.get("/puzzles/".concat(t,"/write-ups"),{params:e})},h=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t.apply(void 0,n).then((function(){return!0})).catch((function(){return!1}))}},664:function(t,e,n){},665:function(t,e,n){},666:function(t,e,n){},684:function(t,e){},688:function(t,e){},698:function(t,e,n){},699:function(t,e,n){},73:function(t,e,n){"use strict";n.r(e),n.d(e,"state",(function(){return y})),n.d(e,"getters",(function(){return w})),n.d(e,"createFetchAction",(function(){return _})),n.d(e,"mutations",(function(){return k}));var r=n(26),o=n(9),c=n.n(o),l=n(29),h=n.n(l),d=n(10),f=n(47),m=n(45),v=n(136),y=function(){return{byId:{},current:[],pagination:{}}},w={get:function(t){return function(e){return t.byId[e]}}},_=function(t){return function(e,n){var r=e.commit,o=e.rootState;return t(n).then((function(t){var e,l=Object(d.a)(t.data,f.e),y=l.entities,w=null==n||null===(e=n.params)||void 0===e?void 0:e.isLoadMore;r(v.PUT_QUESTIONS_TO_STATE,y.questions,{root:!0}),r(m.PUT_USERS_TO_STATE,y.users,{root:!0}),r(w?"setDataLoreMore":"setCurrent",l.result),r("setPagination",t.meta.pagination);var _=c()(o,"auth.user.id"),k=h()(y.questions,(function(t){return{is_own:t.user_id===_,contributors:t.contributors}}));r("setData",k)}))}},k={setData:function(t,data){t.byId=data},setCurrent:function(t,e){t.current=e},setPagination:function(t,e){t.pagination=e},setDataLoreMore:function(t,e){t.current=[].concat(Object(r.a)(t.current),Object(r.a)(e))},resetData:function(t){t.current=[],t.pagination={}}}},80:function(t,e,n){"use strict";n.d(e,"b",(function(){return _})),n.d(e,"a",(function(){return k})),n.d(e,"c",(function(){return O}));var r=n(269),o=n(1567),c=n(137),l=n(1569),h=n(1568),d=n(499),f=n(128),m=n(5),v=function(){return"vi"===m.default.prototype.$_i18n.locale},y=function(t,e){return t instanceof Date||(t=Object(r.a)(t,{locale:v()?f.a:""})),e instanceof Date||(e=Object(r.a)(e,{locale:v()?f.a:""})),Object(o.a)(t,e)<1?Object(c.a)(e,"MMM do, h:mm aaaa",{locale:v()?f.a:""}):Object(c.a)(e,"MMM do, yyyy h:mm aaaa",{locale:v()?f.a:""})},w=function(t,e){return e?Object(d.a)(t,e):Object(r.a)(t)};function _(t,e){if(t){var n=new Date,r=e?Object(d.a)(t,e):t;return y(n,r)}return""}function k(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"LLL do, yyyy HH:mm:ss",n=arguments.length>2?arguments[2]:void 0;if(t){var r="string"==typeof t?w(t,n):t;return Object(c.a)(r,e,{locale:v()?f.a:""})}return""}function O(t,e){if(t){var n=new Date,o=e?Object(d.a)(t,e,new Date):t;return function(t,e){t instanceof Date||(t=Object(r.a)(t,{locale:v()?f.a:""})),e instanceof Date||(e=Object(r.a)(e,{locale:v()?f.a:""}));var n=Object(l.a)(t,e);return n<1?Object(h.a)(e,t,{addSuffix:!0,locale:v()?f.a:""}):n<7?Object(c.a)(e,"EEEE, h:mm aaaa",{locale:v()?f.a:""}):null}(n,o)||y(n,o)}return""}},84:function(t,e,n){"use strict";n.d(e,"d",(function(){return c})),n.d(e,"u",(function(){return l})),n.d(e,"x",(function(){return h})),n.d(e,"r",(function(){return d})),n.d(e,"y",(function(){return f})),n.d(e,"J",(function(){return m})),n.d(e,"D",(function(){return v})),n.d(e,"b",(function(){return y}
1)),n.d(e,"H",(function(){return w})),n.d(e,"c",(function(){return _})),n.d(e,"z",(function(){return k})),n.d(e,"l",(function(){return O})),n.d(e,"w",(function(){return x})),n.d(e,"m",(function(){return C})),n.d(e,"C",(function(){return j})),n.d(e,"a",(function(){return S})),n.d(e,"g",(function(){return P})),n.d(e,"E",(function(){return T})),n.d(e,"G",(function(){return A})),n.d(e,"n",(function(){return R})),n.d(e,"o",(function(){return E})),n.d(e,"e",(function(){return D})),n.d(e,"f",(function(){return L})),n.d(e,"h",(function(){return N})),n.d(e,"i",(function(){return $})),n.d(e,"j",(function(){return B})),n.d(e,"p",(function(){return M})),n.d(e,"v",(function(){return I})),n.d(e,"I",(function(){return U})),n.d(e,"t",(function(){return z})),n.d(e,"s",(function(){return V})),n.d(e,"k",(function(){return F})),n.d(e,"q",(function(){return H})),n.d(e,"A",(function(){return Q})),n.d(e,"B",(function(){return X})),n.d(e,"F",(function(){return G}));var r=n(4),o=n.n(r),c=function(t){return o.a.get("/organizations",{params:t})},l=function(t){return o.a.get("/me/organizations",{params:t})},h=function(t){return o.a.get("/users/".concat(t,"/organizations"))},d=function(t){return o.a.get("/me/organizations/".concat(t,"/edit"))},f=function(t,e){return o.a.get("/me/organizations/".concat(t,"/get-token"),{params:e})},m=function(t,data){return o.a.post("/me/organizations/".concat(t,"/verify"),data)},v=function(t,data){return o.a.post("/me/organizations/".concat(t,"/send-mail"),data)},y=function(data){return o.a.post("/me/organizations",data)},w=function(t,data){return o.a.put("/me/organizations/".concat(t),data)},_=function(t){return o.a.delete("/me/organizations/".concat(t))},k=function(t){return o.a.delete("/organizations/".concat(t,"/leave"))},O=function(t,e){return o.a.get("/organizations/".concat(t,"/members"),{params:e})},x=function(t,e){return o.a.get("/organizations/".concat(t,"/top-members"),{params:e})},C=function(t,e){return o.a.get("/organizations/".concat(t,"/followers"),{params:e}).then((function(t){return t.data}))},j=function(t,data){return o.a.delete("/organizations/".concat(t,"/members"),{data:data})},S=function(t,e,data){return o.a.patch("/organizations/".concat(t,"/users/").concat(e,"/change-roles"),data)},P=function(t,e){return o.a.get("/organizations/".concat(t,"/submitted-drafts"),{params:e})},T=function(t){return o.a.put("/me/subscriptions/organization/".concat(t))},A=function(t){return o.a.delete("/me/subscriptions/organization/".concat(t))},R=function(t){return o.a.get("/me/subscribed/organizations",{params:t}).then((function(data){return data.data}))},E=function(t,e){return o.a.get("/users/".concat(t,"/following-organizations"),{params:e}).then((function(data){return data.data}))},D=function(t){return o.a.get("/organizations/".concat(t)).then((function(data){return data.data}))},L=function(t,e){return o.a.get("/organizations/".concat(t,"/posts"),{params:e})},N=function(t,e){return o.a.get("/organizations/".concat(t,"/videos"),{params:e})},$=function(t,e){return o.a.get("/organizations/".concat(t,"/videos-subdomain"),{params:e})},B=function(t,e){return o.a.get("/organizations/".concat(t,"/videos-pin-subdomain"),{params:e})},M=function(t){return o.a.get("/organizations/".concat(t,"/images")).then((function(data){return data.data}))},I=function(t){return o.a.get("/o/".concat(t,"/technologies"))},U=function(t,data){return o.a.post("/o/".concat(t,"/technologies"),data)},z=function(t,e){return o.a.get("/organizations/".concat(t,"/stats"),{params:e})},V=function(t,e){return o.a.get("/organizations/".concat(t,"/stats/general"),{params:e})},F=function(t){return o.a.get("/organizations-with-check",{params:t})},H=function(t,e){return o.a.get("/organizations/".concat(t,"/pinned-posts"),{params:e})},Q=function(t,data){return o.a.post("/pin-posts-organization/".concat(t),data)},X=function(t,e){return o.a.put("/pin-video-organization/".concat(t,"/").concat(e))},G=function(t){return o.a.put("/un-pin-video-organization/".concat(t))}},869:function(t,e,n){"use strict";n(15),n(13),n(12),n(17),n(18);var r=n(3),o=n(2),c=(n(11),n(9)),l=n.n(c),h=n(7),d=n(160),f=n(509);function m(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}function v(t){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};
1i%2?m(Object(source),!0).forEach((function(e){Object(o.a)(t,e,source[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(source)):m(Object(source)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(source,e))}))}return t}var y={data:function(){var t=this.$store.state.auth.user;return{sending:!1,validations:{content:[{required:!0,message:this.$t("footer.feedback.validations.requireContent")},{min:10,message:this.$t("footer.feedback.validations.contentMin")},{max:1e4,message:this.$t("footer.feedback.validations.contentMax")}],email:[{type:"email",message:this.$t("footer.feedback.validations.typeEmail")}],name:[{required:!0,message:this.$t("footer.feedback.validations.requireName")},{max:255,message:this.$t("footer.feedback.validations.maxName")}]},serverErrors:{},form:{name:l()(t,"name",""),email:l()(t,"email",""),content:""}}},computed:v(v({},Object(h.e)("auth",{authUser:"user",guest:"guest"})),Object(h.e)("survey",["externalUrl"])),methods:{submit:function(){var t=this;this.$refs.form.validate((function(e){e&&t.sendFeedback()}))},surveyOpened:function(){localStorage.setItem("showSurvey-".concat(this.externalUrl),!0)},sendFeedback:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,t.sending=!0,e.next=4,d.axios.post("/feedback",t.form);case 4:t.$message.success({message:t.$t("footer.feedback.success"),duration:5e3,showClose:!0}),t.$emit("sent"),e.next=16;break;case 8:if(e.prev=8,e.t0=e.catch(0),!e.t0.response){e.next=14;break}t.serverErrors=Object(f.a)(e.t0.response.data.errors),e.next=16;break;case 14:throw t.$message.error(t.$t("footer.feedback.error")),e.t0;case 16:return e.prev=16,t.sending=!1,e.finish(16);case 19:case"end":return e.stop()}}),e,null,[[0,8,16,19]])})))()},reset:function(){this.serverErrors={},this.$refs.form.clearValidate(),this.$refs.form.resetFields()}}},w=n(1),component=Object(w.a)(y,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("p",{staticClass:"title font-weight-bold"},[t._v("\n        "+t._s(t.$t("footer.feedback.titleForm"))+"\n    ")]),t._v(" "),n("el-form",{ref:"form",attrs:{model:t.form,rules:t.validations}},[n("el-form-item",{attrs:{error:t.serverErrors.content,prop:"content",label:t.$t("footer.feedback.lable")}},[n("el-input",{attrs:{rows:4,type:"textarea"},model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}})],1),t._v(" "),n("p",{staticClass:"mt-1"},[t._v("\n            "+t._s(t.$t("footer.feedback.description"))+"\n        ")]),t._v(" "),n("div",{staticClass:"d-flex justify-content-between"},[n("el-form-item",{staticClass:"flex-grow-1 mr-05",attrs:{error:t.serverErrors.name,prop:"name",label:t.$t("footer.feedback.lableName")}},[n("el-input",{model:{value:t.form.name,callback:function(e){t.$set(t.form,"name",e)},expression:"form.name"}})],1),t._v(" "),n("el-form-item",{staticClass:"flex-grow-1 ml-05",attrs:{error:t.serverErrors.email,prop:"email",label:t.$t("footer.feedback.lableEmail")}},[n("el-input",{model:{value:t.form.email,callback:function(e){t.$set(t.form,"email",e)},expression:"form.email"}})],1)],1),t._v(" "),t.externalUrl?n("div",{staticClass:"text-right"},[n("a",{attrs:{href:t.externalUrl,target:"_blank"},on:{click:t.surveyOpened}},[t._v("\n                "+t._s(t.$t("footer.feedback.survey"))+"\n            ")])]):t._e()],1),t._v(" "),n("div",{staticClass:"d-flex justify-content-center"},[n("el-button",{attrs:{loading:t.sending,type:"primary"},on:{click:t.submit}},[t._v("\n            "+t._s(t.$t("footer.feedback.send"))+"\n        ")])],1)],1)}),[],!1,null,null,null);e.a=component.exports},870:function(t,e,n){"use strict";var r={props:{steps:{type:Array,default:function(){return[]}},callbacks:{type:Object,default:function(){}}},methods:{closeVueTour:function(t){return this.$emit("closeVueTour",t)},closeVueTourWhenFinish:function(t){return this.$emit("closeVueTourWhenFinish",t)}}},o=n(1),component=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-tour",{staticClass:"vue-tour-style",attrs:{name:"myTour",steps:t.steps,callbacks:t.callbacks},scopedSlots:t._u([{key:"default",fn:function(e){return[n("transition",{attrs:{name:"fade"}},[e.steps[e.currentStep]?n("v-step",{key:e.currentStep,attrs:{step:e.steps[e.currentStep],"previous-step":e.previousStep,"next-step":e.nextStep,stop:e.stop,skip:e.ski
1p,"is-first":e.isFirst,"is-last":e.isLast,labels:e.labels}},[[n("div",{attrs:{slot:"actions"},slot:"actions"},[e.isLast?t._e():n("button",{staticClass:"btn btn-primary",on:{click:function(n){return t.closeVueTour(e)}}},[t._v("\n                            "+t._s(t.$t("vueTour.skip"))+"\n                        ")]),t._v(" "),e.isFirst?t._e():n("button",{staticClass:"btn btn-primary",on:{click:e.previousStep}},[t._v("\n                            "+t._s(t.$t("vueTour.previous"))+"\n                        ")]),t._v(" "),e.isLast?t._e():n("button",{staticClass:"btn btn-primary",on:{click:e.nextStep}},[t._v("\n                            "+t._s(t.$t("vueTour.next"))+"\n                        ")]),t._v(" "),e.isLast?n("button",{directives:[{name:"scroll-to",rawName:"v-scroll-to",value:"body",expression:"'body'"}],staticClass:"btn btn-primary",on:{click:function(n){return t.closeVueTourWhenFinish(e)}}},[t._v("\n                            "+t._s(t.$t("vueTour.finish"))+"\n                        ")]):t._e()])]],2):t._e()],1)]}}])})}),[],!1,null,null,null);e.a=component.exports},883:function(t,e){},889:function(t){t.exports=JSON.parse('{"title":"Viblo","meta":[{"hid":"charset","charset":"utf-8"},{"hid":"viewport","name":"viewport","content":"width=device-width, initial-scale=1"},{"hid":"mobile-web-app-capable","name":"mobile-web-app-capable","content":"yes"},{"hid":"apple-mobile-web-app-title","name":"apple-mobile-web-app-title","content":"Viblo"},{"hid":"description","name":"description","content":"Free service for technical knowledge sharing"},{"hid":"theme-color","name":"theme-color","content":"#5488c7"},{"hid":"og:type","name":"og:type","property":"og:type","content":"website"},{"hid":"og:title","name":"og:title","property":"og:title","content":"Viblo"},{"hid":"og:site_name","name":"og:site_name","property":"og:site_name","content":"Viblo"},{"hid":"og:description","name":"og:description","property":"og:description","content":"Free service for technical knowledge sharing"}],"link":[{"hid":"shortcut-icon","rel":"shortcut icon","href":"/_nuxt/icons/icon_64x64.a0a65a.png"},{"hid":"apple-touch-icon","rel":"apple-touch-icon","href":"/_nuxt/icons/icon_512x512.a0a65a.png","sizes":"512x512"},{"rel":"manifest","href":"/_nuxt/manifest.01f43339.json","hid":"manifest","crossorigin":"use-credentials"}],"htmlAttrs":{"lang":"en"}}')},92:function(t,e,n){"use strict";n.d(e,"c",(function(){return c})),n.d(e,"h",(function(){return l})),n.d(e,"f",(function(){return h})),n.d(e,"g",(function(){return d})),n.d(e,"j",(function(){return f})),n.d(e,"i",(function(){return m})),n.d(e,"l",(function(){return v})),n.d(e,"k",(function(){return y})),n.d(e,"b",(function(){return w})),n.d(e,"a",(function(){return _})),n.d(e,"e",(function(){return k})),n.d(e,"d",(function(){return O}));var r=n(4),o=n.n(r),c=function(t){return o.a.get("/p/".concat(t))},l=function(t){return o.a.get("/p/".concat(t,"/series"))},h=function(t,e){return o.a.get("/posts/".concat(t,"/related"),{params:e})},d=function(t,e){return o.a.get("/posts/".concat(t,"/related-organizations"),{params:e})},f=function(t,data){return o.a.post("/posts/".concat(t,"/report"),data)},m=function(t){return o.a.put("/posts/".concat(t,"/markAsReview"))},v=function(t){return o.a.post("/posts/".concat(t,"/mark-not-spam"))},y=function(t){return o.a.post("/posts/".concat(t,"/mark-not-ready"))},w=function(t){return o.a.get("/posts/".concat(t,"/proposals"))},_=function(t){return o.a.post("/admin/posts/".concat(t,"/convert"))},k=function(t){return o.a.get("/posts/mark-spam-as-by-sytem",{params:t})},O=function(t){return o.a.get("/content-creator",{params:t})}},935:function(t,e,n){"use strict";var r=n(3),o=(n(11),n(31),n(5)),c=n(21),l=window.__NUXT__;function h(){if(!this._hydrated)return this.$fetch()}function d(){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(){var t=this;return this._fetchPromise||(this._fetchPromise=m.call(this).then((function(){delete t._fetchPromise}))),this._fetchPromise}function m(){return v.apply(this,arguments)}function v(){return(v=Object(r.a)(regeneratorRuntime.mark((function t(){var e,n,r,o=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.$nuxt.nbFetching++,this.$fetchState.pending=!0,this.$fetchState.error=null,this._hydrated=!1,e=null,n=Date.now(),t.prev=6,t.next=9,this.$options.fetch.call(this);case 9:t.next=15;break;case 11:t.prev=11,t.t0=t.catch(6),e=Object(c.o)(t.t0);case 15:if(!((r=this._fetchDelay-(Date.now()-n))>0)){t.next=19;break}return t.next=19,new Promise((function(t){return setTimeout(t,r)}));case 19:this.$fetchState.error=e,this.$fetchState.pending=!1,this.$fetchState.timestamp=Date.now(),this.$nextTick((function(){return o.$nuxt.nbFetching--}));case 23:case"end":return t.stop()}}),t,this,[[6,11]])})))).apply(this,arguments)}e.a={beforeCreate:function(){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",d),Object(c.a)(this,"beforeMount",h))}}},975:function(t,e,n){t.exports=n(976)},976:function(t,e,n){"use strict";n.r(e),function(t){n(60),n(13),n(118);var e=n(61),r=n(3),o=(n(537),n(984),n(989),n(991),n(11),n(42),n(12),n(15),n(165),n(140),n(54),n(66),n(31),n(46),n(5)),c=n(872),l=n(261),h=n(21),d=n(139),f=n(935),m=n(366);function v(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return y(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){l=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(l)throw o}}}}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}o.default.__nuxt__fetch__mixin__||(o.default.mixin(f.a),o.default.__nuxt__fetch__mixin__=!0),o.default.component(m.a.name,m.a),o.default.component("NLink",m.a),t.fetch||(t.fetch=c.a);var w,_,k=[],O=window.__NUXT__||{},x=O.config||{};x._app&&(n.p=Object(h.t)(x._app.cdnURL,x._app.assetsPath)),Object.assign(o.default.config,{silent:!0,performance:!1});var C=o.default.config.errorHandler||console.error;function j(t,e,n){for(var r=function(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.apply(void 0,n)}return option}(component,"transition",e,n)||{};return"string"==typeof t?{name:t}:t},o=n?Object(h.g)(n):[],c=Math.max(t.length,o.length),l=[],d=function(i){var e=Object.assign({},r(t[i])),n=Object.assign({},r(o[i]));Object.keys(e).filter((function(t){return void 0!==e[t]&&!t.toLowerCase().includes("leave")})).forEach((function(t){n[t]=e[t]})),l.push(n)},i=0;i<c;i++)d(i);return l}function S(t,e,n){return P.apply(this,arguments)}function P(){return(P=Object(r.a)(regeneratorRuntime.mark((function t(e,n,r){var o,c,l,d,f=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this._routeChanged=Boolean(w.nuxt.err)||n.name!==e.name,this._paramChanged=!this._routeChanged&&n.path!==e.path,this._queryChanged=!this._paramChanged&&n.fullPath!==e.fullPath,this._diffQuery=this._queryChanged?Object(h.i)(e.query,n.query):[],(this._routeChanged||this._paramChanged)&&this.$loading.start&&!this.$loading.manual&&this.$loading.start(),t.prev=5,!this._queryChanged){t.next=12;break}return t.next=9,Object(h.q)(e,(function(t,e){return{Component:t,instance:e}}));case 9:o=t.sent,o.some((function(t){var r=t.Component,o=t.instance,c=r.options.watchQuery;return!0===c||(Array.isArray(c)?c.some((function(t){return f._diffQuery[t]})):"function"==typeof c&&c.apply(o,[e.query,n.query]))}))&&this.$loading.start&&!this.$loading.manual&&this.$loading.start();case 12:r(),t.next=26;break;case 15:if(t.prev=15,t.t0=t.catch(5),c=t.t0||{},l=c.statusCode||c.status||c.response&&c.response.status||500,d=c.message||"",!/^Loading( CSS)? chunk (\d)+ failed\./.test(d)){t.next=23;break}return window.location.reload(!0),t.abrupt("return");case 23:this.error({statusCode:l,message:d}),this.$nuxt.$emit("routeChanged",e,n,c),r();case 26:case"end":return t.stop()}}),t,this,[[5,15]])})))).apply(this,arguments)}function T(t,e){return O.serverRendered&&e&&Object(h.b)(t,e),t._Ctor=t,t}function A(t){return Object(h.d)(t,function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(e,n,r,o,c){var l;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("function"!=typeof e||e.options){t.next=4;break}return t.next=3,e();case 3:e=t.sent;case 4:return l=T(Object(h.r)(e),O.data?O.data[c]:null),r.components[o]=l,t.abrupt("return",l);case 7:case"end":return t.stop()}}),t)})));return function(e,n,r,o,c){return t.apply(this,arguments)}}())}function R(t,e,n){var r=this,o=["utm","page-history","nuxti18n"],c=!1;if(void 0!==n&&(o=[],(n=Object(h.r)(n)).options.middleware&&(o=o.concat(n.options.middleware)),t.forEach((function(t){t.options.middleware&&(o=o.concat(t.options.middleware))}))),o=o.map((function(t){return"function"==typeof t?t:("function"!=typeof l.a[t]&&(c=!0,r.error({statusCode:500,message:"Unknown middleware "+t})),l.a[t])})),!c)return Object(h.n)(o,e)}function E(t,e,n){return D.apply(this,arguments)}function D(){return(D=Object(r.a)(regeneratorRuntime.mark((function t(e,n,o){var c,l,f,m,y,_,O,x,C,S,P,T,A,E,D,L=this;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!1!==this._routeChanged||!1!==this._paramChanged||!1!==this._queryChanged){t.next=2;break}return t.abrupt("return",o());case 2:return!1,e===n?(k=[],!0):(c=[],k=Object(h.g)(n,c).map((function(t,i){return Object(h.c)(n.matched[c[i]].path)(n.params)}))),l=!1,f=function(path){n.path===path.path&&L.$loading.finish&&L.$loading.finish(),n.path!==path.path&&L.$loading.pause&&L.$loading.pause(),l||(l=!0,o(path))},t.next=8,Object(h.s)(w,{route:e,from:n,next:f.bind(this)});case 8:if(this._dateLastError=w.nuxt.dateErr,this._hadError=Boolean(w.nuxt.err),m=[],(y=Object(h.g)(e,m)).length){t.next=27;break}return t.next=15,R.call(this,y,w.context);case 15:if(!l){t.next=17;break}return t.abrupt("return");case 17:return _=(d.a.options||d.a).layout,t.next=20,this.loadLayout("function"==typeof _?_.call(d.a,w.context):_);case 20:return O=t.sent,t.next=23,R.call(this,y,w.context,O);case 23:if(!l){t.next=25;break}return t.abrupt("return");case 25:return w.context.error({statusCode:404,message:"This page could not be found"}),t.abrupt("return",o());
1case 27:return y.forEach((function(t){t._Ctor&&t._Ctor.options&&(t.options.asyncData=t._Ctor.options.asyncData,t.options.fetch=t._Ctor.options.fetch)})),this.setTransitions(j(y,e,n)),t.prev=29,t.next=32,R.call(this,y,w.context);case 32:if(!l){t.next=34;break}return t.abrupt("return");case 34:if(!w.context._errored){t.next=36;break}return t.abrupt("return",o());case 36:return"function"==typeof(x=y[0].options.layout)&&(x=x(w.context)),t.next=40,this.loadLayout(x);case 40:return x=t.sent,t.next=43,R.call(this,y,w.context,x);case 43:if(!l){t.next=45;break}return t.abrupt("return");case 45:if(!w.context._errored){t.next=47;break}return t.abrupt("return",o());case 47:C=!0,t.prev=48,S=v(y),t.prev=50,S.s();case 52:if((P=S.n()).done){t.next=63;break}if("function"==typeof(T=P.value).options.validate){t.next=56;break}return t.abrupt("continue",61);case 56:return t.next=58,T.options.validate(w.context);case 58:if(C=t.sent){t.next=61;break}return t.abrupt("break",63);case 61:t.next=52;break;case 63:t.next=68;break;case 65:t.prev=65,t.t0=t.catch(50),S.e(t.t0);case 68:return t.prev=68,S.f(),t.finish(68);case 71:t.next=77;break;case 73:return t.prev=73,t.t1=t.catch(48),this.error({statusCode:t.t1.statusCode||"500",message:t.t1.message}),t.abrupt("return",o());case 77:if(C){t.next=80;break}return this.error({statusCode:404,message:"This page could not be found"}),t.abrupt("return",o());case 80:return t.next=82,Promise.all(y.map(function(){var t=Object(r.a)(regeneratorRuntime.mark((function t(r,i){var o,c,l,d,f,v,y,_,p;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r._path=Object(h.c)(e.matched[m[i]].path)(e.params),r._dataRefresh=!1,o=r._path!==k[i],L._routeChanged&&o?r._dataRefresh=!0:L._paramChanged&&o?(c=r.options.watchParam,r._dataRefresh=!1!==c):L._queryChanged&&(!0===(l=r.options.watchQuery)?r._dataRefresh=!0:Array.isArray(l)?r._dataRefresh=l.some((function(t){return L._diffQuery[t]})):"function"==typeof l&&(A||(A=Object(h.h)(e)),r._dataRefresh=l.apply(A[i],[e.query,n.query]))),L._hadError||!L._isMounted||r._dataRefresh){t.next=6;break}return t.abrupt("return");case 6:return d=[],f=r.options.asyncData&&"function"==typeof r.options.asyncData,v=Boolean(r.options.fetch)&&r.options.fetch.length,y=f&&v?30:45,f&&((_=Object(h.p)(r.options.asyncData,w.context)).then((function(t){Object(h.b)(r,t),L.$loading.increase&&L.$loading.increase(y)})),d.push(_)),L.$loading.manual=!1===r.options.loading,v&&((p=r.options.fetch(w.context))&&(p instanceof Promise||"function"==typeof p.then)||(p=Promise.resolve(p)),p.then((function(t){L.$loading.increase&&L.$loading.increase(y)})),d.push(p)),t.abrupt("return",Promise.all(d));case 14:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}()));case 82:l||(this.$loading.finish&&!this.$loading.manual&&this.$loading.finish(),o()),t.next=99;break;case 85:if(t.prev=85,t.t2=t.catch(29),"ERR_REDIRECT"!==(E=t.t2||{}).message){t.next=90;break}return t.abrupt("return",this.$nuxt.$emit("routeChanged",e,n,E));case 90:return k=[],Object(h.k)(E),"function"==typeof(D=(d.a.options||d.a).layout)&&(D=D(w.context)),t.next=96,this.loadLayout(D);case 96:this.error(E),this.$nuxt.$emit("routeChanged",e,n,E),o();case 99:case"end":return t.stop()}}),t,this,[[29,85],[48,73],[50,65,68,71]])})))).apply(this,arguments)}function L(t,n){Object(h.d)(t,(function(t,n,r,c){return"object"!==Object(e.a)(t)||t.options||((t=o.default.extend(t))._Ctor=t,r.components[c]=t),t}))}function N(t){var e=Boolean(this.$options.nuxt.err);this._hadError&&this._dateLastError===this.$options.nuxt.dateErr&&(e=!1);var n=e?(d.a.options||d.a).layout:t.matched[0].components.default.options.layout;"function"==typeof n&&(n=n(w.context)),this.setLayout(n)}function $(t){t._hadError&&t._dateLastError===t.$options.nuxt.dateErr&&t.error()}function B(t,e){var n=this;if(!1!==this._routeChanged||!1!==this._paramChanged||!1!==this._queryChanged){var r=Object(h.h)(t),c=Object(h.g)(t),l=!1;o.default.nextTick((function(){r.forEach((function(t,i){if(t&&!t._isDestroyed&&t.constructor._dataRefresh&&c[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)o.default.set(t.$data,n,e[n]);l=!0}})),l&&window.$nuxt.$nextTick((function(){window.$nuxt.$emit("triggerScroll")})),$(n)}))}}
1function M(t){window.onNuxtReadyCbs.forEach((function(e){"function"==typeof e&&e(t)})),"function"==typeof window._onNuxtLoaded&&window._onNuxtLoaded(t),_.afterEach((function(e,n){o.default.nextTick((function(){return t.$nuxt.$emit("routeChanged",e,n)}))}))}function I(){return(I=Object(r.a)(regeneratorRuntime.mark((function t(e){var n,r,c,l,d;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return w=e.app,_=e.router,e.store,n=new o.default(w),r=O.layout||"default",t.next=7,n.loadLayout(r);case 7:return n.setLayout(r),c=function(){n.$mount("#__nuxt"),_.afterEach(L),_.afterEach(N.bind(n)),_.afterEach(B.bind(n)),o.default.nextTick((function(){M(n)}))},t.next=11,Promise.all(A(w.context.route));case 11:if(l=t.sent,n.setTransitions=n.$options.nuxt.setTransitions.bind(n),l.length&&(n.setTransitions(j(l,_.currentRoute)),k=_.currentRoute.matched.map((function(t){return Object(h.c)(t.path)(_.currentRoute.params)}))),n.$loading={},O.error&&n.error(O.error),_.beforeEach(S.bind(n)),_.beforeEach(E.bind(n)),!O.serverRendered||!Object(h.m)(O.routePath,n.context.route.path)){t.next=20;break}return t.abrupt("return",c());case 20:return d=function(){L(_.currentRoute,_.currentRoute),N.call(n,_.currentRoute),$(n),c()},t.next=23,new Promise((function(t){return setTimeout(t,0)}));case 23:E.call(n,_.currentRoute,_.currentRoute,(function(path){if(path){var t=_.afterEach((function(e,n){t(),d()}));_.push(path,void 0,(function(t){t&&C(t)}))}else d()}));case 24:case"end":return t.stop()}}),t)})))).apply(this,arguments)}Object(d.b)(null,O.config).then((function(t){return I.apply(this,arguments)})).catch(C)}.call(this,n(44))},994:function(t,e,n){"use strict";n.r(e);var r=n(59);e.default=function(t){var e=t.store,n=t.redirect,o=t.req;e.state.auth.user||Object(r.b)(o,n)}}},[[975,16,2,1]]]);

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.