akkoma/priv/static/static/js/app.fefccf252cac9e1310ea.js
2017-12-05 12:11:46 +01:00

6 lines
No EOL
136 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

webpackJsonp([2,0],[function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}var n=s(204),i=a(n),r=s(99),o=a(r),l=s(495),u=a(l),c=s(498),d=a(c),f=s(441),m=a(f),v=s(454),p=a(v),h=s(453),_=a(h),g=s(447),b=a(g),w=s(459),k=a(w),C=s(444),y=a(C),x=s(450),S=a(x),$=s(463),j=a($),P=s(457),L=a(P),A=s(455),N=a(A),F=s(464),M=a(F),U=s(443),I=a(U),O=s(101),T=a(O),E=s(167),z=a(E),B=s(164),D=a(B),R=s(166),W=a(R),H=s(165),V=a(H),q=s(497),K=a(q),J=s(440),Z=a(J),Y=s(163),G=a(Y),X=s(162),Q=a(X),ee=(window.navigator.language||"en").split("-")[0];o.default.use(d.default),o.default.use(u.default),o.default.use(K.default,{locale:"ja"===ee?"ja":"en",locales:{en:s(277),ja:s(278)}}),o.default.use(Z.default);var te={paths:["config.hideAttachments","config.hideAttachmentsInConv","config.hideNsfw","config.autoLoad","config.hoverPreview","config.streaming","config.muteWords","config.customTheme","users.lastLoginName"]},se=new d.default.Store({modules:{statuses:T.default,users:z.default,api:D.default,config:W.default,chat:V.default},plugins:[(0,G.default)(te)],strict:!1}),ae=new Z.default({locale:ee,fallbackLocale:"en",messages:Q.default});window.fetch("/static/config.json").then(function(e){return e.json()}).then(function(e){var t=e.name,s=e.theme,a=e.background,n=e.logo,i=e.registrationOpen;se.dispatch("setOption",{name:"name",value:t}),se.dispatch("setOption",{name:"theme",value:s}),se.dispatch("setOption",{name:"background",value:a}),se.dispatch("setOption",{name:"logo",value:n}),se.dispatch("setOption",{name:"registrationOpen",value:i});var r=[{name:"root",path:"/",redirect:e.defaultPath||"/main/all"},{path:"/main/all",component:_.default},{path:"/main/public",component:p.default},{path:"/main/friends",component:b.default},{path:"/tag/:tag",component:k.default},{name:"conversation",path:"/notice/:id",component:y.default,meta:{dontScroll:!0}},{name:"user-profile",path:"/users/:id",component:j.default},{name:"mentions",path:"/:username/mentions",component:S.default},{name:"settings",path:"/settings",component:L.default},{name:"registration",path:"/registration",component:N.default},{name:"user-settings",path:"/user-settings",component:M.default},{name:"chat",path:"/chat",component:I.default}],l=new u.default({mode:"history",routes:r,scrollBehavior:function(e,t,s){return!e.matched.some(function(e){return e.meta.dontScroll})&&(s||{x:0,y:0})}});new o.default({router:l,store:se,i18n:ae,el:"#app",render:function(e){return e(m.default)}})}),window.fetch("/static/terms-of-service.html").then(function(e){return e.text()}).then(function(e){se.dispatch("setOption",{name:"tos",value:e})}),window.fetch("/api/pleroma/emoji.json").then(function(e){return e.json()}).then(function(e){var t=(0,i.default)(e).map(function(t){return{shortcode:t,image_url:e[t]}});se.dispatch("setOption",{name:"emoji",value:t})})},,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,s){s(257);var a=s(1)(s(193),s(467),null,null);e.exports=a.exports},,,,,,,,,,,,function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(40),i=a(n),r=s(59),o=a(r);s(499);var l="/api/account/verify_credentials.json",u="/api/statuses/friends_timeline.json",c="/api/qvitter/allfollowing",d="/api/statuses/public_timeline.json",f="/api/statuses/public_and_external_timeline.json",m="/api/statusnet/tags/timeline",v="/api/favorites/create",p="/api/favorites/destroy",h="/api/statuses/retweet",_="/api/statuses/update.json",g="/api/statuses/destroy",b="/api/statuses/show",w="/api/statusnet/media/upload",k="/api/statusnet/conversation",C="/api/statuses/mentions.json",y="/api/statuses/followers.json",x="/api/statuses/friends.json",S="/api/friendships/create.json",$="/api/friendships/destroy.json",j="/api/qvitter/set_profile_pref.json",P="/api/account/register.json",L="/api/qvitter/update_avatar.json",A="/api/qvitter/update_background_image.json",N="/api/account/update_profile_banner.json",F="/api/account/update_profile.json",M="/api/externalprofile/show.json",U="/api/qvitter/statuses/user_timeline.json",I="/api/blocks/create.json",O="/api/blocks/destroy.json",T="/api/users/show.json",E=window.fetch,z=function(e,t){t=t||{};var s="",a=s+e;return t.credentials="same-origin",E(a,t)},B=function(e){var t=e.credentials,s=e.params,a=L,n=new FormData;return(0,o.default)(s,function(e,t){e&&n.append(t,e)}),z(a,{headers:V(t),method:"POST",body:n}).then(function(e){return e.json()})},D=function(e){var t=e.credentials,s=e.params,a=A,n=new FormData;return(0,o.default)(s,function(e,t){e&&n.append(t,e)}),z(a,{headers:V(t),method:"POST",body:n}).then(function(e){return e.json()})},R=function(e){var t=e.credentials,s=e.params,a=N,n=new FormData;return(0,o.default)(s,function(e,t){e&&n.append(t,e)}),z(a,{headers:V(t),method:"POST",body:n}).then(function(e){return e.json()})},W=function(e){var t=e.credentials,s=e.params,a=F,n=new FormData;return(0,o.default)(s,function(e,t){e&&n.append(t,e)}),z(a,{headers:V(t),method:"POST",body:n}).then(function(e){return e.json()})},H=function(e){var t=new FormData;return(0,o.default)(e,function(e,s){e&&t.append(s,e)}),z(P,{method:"POST",body:t})},V=function(e){return e&&e.username&&e.password?{Authorization:"Basic "+btoa(e.username+":"+e.password)}:{}},q=function(e){var t=e.profileUrl,s=e.credentials,a=M+"?profileurl="+t;return z(a,{headers:V(s),method:"GET"}).then(function(e){return e.json()})},K=function(e){var t=e.id,s=e.credentials,a=S+"?user_id="+t;return z(a,{headers:V(s),method:"POST"}).then(function(e){return e.json()})},J=function(e){var t=e.id,s=e.credentials,a=$+"?user_id="+t;return z(a,{headers:V(s),method:"POST"}).then(function(e){return e.json()})},Z=function(e){var t=e.id,s=e.credentials,a=I+"?user_id="+t;return z(a,{headers:V(s),method:"POST"}).then(function(e){return e.json()})},Y=function(e){var t=e.id,s=e.credentials,a=O+"?user_id="+t;return z(a,{headers:V(s),method:"POST"}).then(function(e){return e.json()})},G=function(e){var t=e.id,s=e.credentials,a=T+"?user_id="+t;return z(a,{headers:V(s)}).then(function(e){return e.json()})},X=function(e){var t=e.id,s=e.credentials,a=x+"?user_id="+t;return z(a,{headers:V(s)}).then(function(e){return e.json()})},Q=function(e){var t=e.id,s=e.credentials,a=y+"?user_id="+t;return z(a,{headers:V(s)}).then(function(e){return e.json()})},ee=function(e){var t=e.username,s=e.credentials,a=c+"/"+t+".json";return z(a,{headers:V(s)}).then(function(e){return e.json()})},te=function(e){var t=e.id,s=e.credentials,a=k+"/"+t+".json?count=100";return z(a,{headers:V(s)}).then(function(e){return e.json()})},se=function(e){var t=e.id,s=e.credentials,a=b+"/"+t+".json";return z(a,{headers:V(s)}).then(function(e){return e.json()})},ae=function(e){var t=e.id,s=e.credentials,a=e.muted,n=void 0===a||a,i=new FormData,r=n?1:0;return i.append("namespace","qvitter"),i.append("data",r),i.append("topic","mute:"+t),z(j,{method:"POST",headers:V(s),body:i})},ne=function(e){var t=e.timeline,s=e.credentials,a=e.since,n=void 0!==a&&a,r=e.until,o=void 0!==r&&r,l=e.userId,c=void 0!==l&&l,v=e.tag,p=void 0!==v&&v,h={public:d,friends:u,mentions:C,publicAndExternal:f,user:U,tag:m},_=h[t],g=[];n&&g.push(["since_id",n]),o&&g.push(["max_id",o]),c&&g.push(["user_id",c]),p&&(_+="/"+p+".json"),g.push(["count",20]);var b=(0,i.default)(g,function(e){return e[0]+"="+e[1]}).join("&");return _+="?"+b,z(_,{headers:V(s)}).then(function(e){return e.json()})},ie=function(e){return z(l,{method:"POST",headers:V(e)})},re=function(e){var t=e.id,s=e.credentials;return z(v+"/"+t+".json",{headers:V(s),method:"POST"})},oe=function(e){var t=e.id,s=e.credentials;return z(p+"/"+t+".json",{headers:V(s),method:"POST"})},le=function(e){var t=e.id,s=e.credentials;return z(h+"/"+t+".json",{headers:V(s),method:"POST"})},ue=function(e){var t=e.credentials,s=e.status,a=e.mediaIds,n=e.inReplyToStatusId,i=a.join(","),r=new FormData;return r.append("status",s),r.append("source","Pleroma FE"),r.append("media_ids",i),n&&r.append("in_reply_to_status_id",n),z(_,{body:r,method:"POST",headers:V(t)})},ce=function(e){var t=e.id,s=e.credentials;return z(g+"/"+t+".json",{headers:V(s),method:"POST"})},de=function(e){var t=e.formData,s=e.credentials;return z(w,{body:t,method:"POST",headers:V(s)}).then(function(e){return e.text()}).then(function(e){return(new DOMParser).parseFromString(e,"application/xml")})},fe=function(e){var t=e.credentials,s="/api/qvitter/mutes.json";return z(s,{headers:V(t)}).then(function(e){return e.json()})},me={verifyCredentials:ie,fetchTimeline:ne,fetchConversation:te,fetchStatus:se,fetchFriends:X,fetchFollowers:Q,followUser:K,unfollowUser:J,blockUser:Z,unblockUser:Y,fetchUser:G,favorite:re,unfavorite:oe,retweet:le,postStatus:ue,deleteStatus:ce,uploadMedia:de,fetchAllFollowing:ee,setUserMute:ae,fetchMutes:fe,register:H,updateAvatar:B,updateBg:D,updateProfile:W,updateBanner:R,externalProfile:q};t.default=me},,,,,,,,,,,,,,,,,,,,,function(e,t,s){s(269);var a=s(1)(s(189),s(485),null,null);e.exports=a.exports},function(e,t,s){s(256);var a=s(1)(s(195),s(466),null,null);e.exports=a.exports},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.rgbstr2hex=t.hex2rgb=t.rgb2hex=void 0;var n=s(209),i=a(n),r=s(40),o=a(r),l=function(e,t,s){var a=(0,o.default)([e,t,s],function(e){return e=Math.ceil(e),e=e<0?0:e,e=e>255?255:e}),n=(0,i.default)(a,3);return e=n[0],t=n[1],s=n[2],"#"+((1<<24)+(e<<16)+(t<<8)+s).toString(16).slice(1)},u=function(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null},c=function(e){return"#"===e[0]?e:(e=e.match(/\d+/g),"#"+((Number(e[0])<<16)+(Number(e[1])<<8)+Number(e[2])).toString(16))};t.rgb2hex=l,t.hex2rgb=u,t.rgbstr2hex=c},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.mutations=t.findMaxId=t.statusType=t.prepareStatus=t.defaultState=void 0;var n=s(206),i=a(n),r=s(2),o=a(r),l=s(416),u=a(l),c=s(155),d=a(c),f=s(154),m=a(f),v=s(417),p=a(v),h=s(408),_=a(h),g=s(60),b=a(g),w=s(59),k=a(w),C=s(22),y=a(C),x=s(98),S=a(x),$=s(425),j=a($),P=s(424),L=a(P),A=s(412),N=a(A),F=s(41),M=a(F),U=t.defaultState={allStatuses:[],allStatusesObject:{},maxId:0,notifications:[],favorites:new i.default,error:!1,timelines:{mentions:{statuses:[],statusesObject:{},faves:[],visibleStatuses:[],visibleStatusesObject:{},newStatusCount:0,maxId:0,minVisibleId:0,loading:!1,followers:[],friends:[],viewing:"statuses",flushMarker:0},public:{statuses:[],statusesObject:{},faves:[],visibleStatuses:[],visibleStatusesObject:{},newStatusCount:0,maxId:0,minVisibleId:0,loading:!1,followers:[],friends:[],viewing:"statuses",flushMarker:0},user:{statuses:[],statusesObject:{},faves:[],visibleStatuses:[],visibleStatusesObject:{},newStatusCount:0,maxId:0,minVisibleId:0,loading:!1,followers:[],friends:[],viewing:"statuses",flushMarker:0},publicAndExternal:{statuses:[],statusesObject:{},faves:[],visibleStatuses:[],visibleStatusesObject:{},newStatusCount:0,maxId:0,minVisibleId:0,loading:!1,followers:[],friends:[],viewing:"statuses",flushMarker:0},friends:{statuses:[],statusesObject:{},faves:[],visibleStatuses:[],visibleStatusesObject:{},newStatusCount:0,maxId:0,minVisibleId:0,loading:!1,followers:[],friends:[],viewing:"statuses",flushMarker:0},tag:{statuses:[],statusesObject:{},faves:[],visibleStatuses:[],visibleStatusesObject:{},newStatusCount:0,maxId:0,minVisibleId:0,loading:!1,followers:[],friends:[],viewing:"statuses",flushMarker:0}}},I=function(e){var t=/#nsfw/i;return(0,N.default)(e.tags,"nsfw")||!!e.text.match(t)},O=t.prepareStatus=function(e){return void 0===e.nsfw&&(e.nsfw=I(e)),e.deleted=!1,e.attachments=e.attachments||[],e},T=t.statusType=function(e){return e.is_post_verb?"status":e.retweeted_status?"retweet":"string"==typeof e.uri&&e.uri.match(/(fave|objectType=Favourite)/)||"string"==typeof e.text&&e.text.match(/favorited/)?"favorite":e.text.match(/deleted notice {{tag/)||e.qvitter_delete_notice?"deletion":e.text.match(/started following/)?"follow":"unknown"},E=(t.findMaxId=function(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return((0,p.default)((0,_.default)(t),"id")||{}).id},function(e,t,s){var a=t[s.id];return a?((0,d.default)(a,s),a.attachments.splice(a.attachments.length),{item:a,new:!1}):(O(s),e.push(s),t[s.id]=s,{item:s,new:!0})}),z=function(e){return e.visibleStatuses=(0,S.default)(e.visibleStatuses,function(e){var t=e.id;return-t}),e.statuses=(0,S.default)(e.statuses,function(e){var t=e.id;return-t}),e.minVisibleId=((0,m.default)(e.visibleStatuses)||{}).id,e},B=function(e,t){var s=t.statuses,a=t.showImmediately,n=void 0!==a&&a,i=t.timeline,r=t.user,l=void 0===r?{}:r,c=t.noIdUpdate,d=void 0!==c&&c;if(!(0,o.default)(s))return!1;var f=e.allStatuses,m=e.allStatusesObject,v=e.timelines[i],p=function(e){var t=e.id;return!(!i||d)&&void(v.maxId=(0,u.default)([t,v.maxId]))},h=function(t,s){var a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=E(f,m,t);if(t=n.item,n.new&&(p(t),"retweet"===T(t)&&t.retweeted_status.user.id===l.id&&_({type:"repeat",status:t.retweeted_status,action:t}),"status"===T(t)&&(0,b.default)(t.attentions,{id:l.id}))){var r=e.timelines.mentions;v!==r&&(E(r.statuses,r.statusesObject,t),r.newStatusCount+=1,z(r)),t.user.id!==l.id&&_({type:"mention",status:t,action:t})}var o=void 0;return i&&a&&(o=E(v.statuses,v.statusesObject,t)),i&&s?E(v.visibleStatuses,v.visibleStatusesObject,t):i&&a&&o.new&&(v.newStatusCount+=1),t},_=function(t){var s=t.type,a=t.status,n=t.action;if(!(0,b.default)(e.notifications,function(e){return e.action.id===n.id})&&(e.notifications.push({type:s,status:a,action:n,seen:!1}),"Notification"in window&&"granted"===window.Notification.permission)){var i=n.user.name,r={};r.icon=n.user.profile_image_url,r.body=n.text,n.attachments&&n.attachments.length>0&&!n.nsfw&&n.attachments[0].mimetype.startsWith("image/")&&(r.image=n.attachments[0].url);var o=new window.Notification(i,r);setTimeout(o.close.bind(o),5e3)}},g=function(e){var t=(0,b.default)(f,{id:(0,y.default)(e.in_reply_to_status_id)});return t&&(t.fave_num+=1,e.user.id===l.id&&(t.favorited=!0),t.user.id===l.id&&_({type:"favorite",status:t,action:e})),t},w={status:function(e){h(e,n)},retweet:function e(t){var s=h(t.retweeted_status,!1,!1),e=void 0;e=i&&(0,b.default)(v.statuses,function(e){return e.retweeted_status?e.id===s.id||e.retweeted_status.id===s.id:e.id===s.id})?h(t,!1,!1):h(t,n),e.retweeted_status=s},favorite:function(t){e.favorites.has(t.id)||(e.favorites.add(t.id),p(t),g(t))},follow:function(e){var t=new RegExp("started following "+l.name+" \\("+l.statusnet_profile_url+"\\)"),s=new RegExp("started following "+l.screen_name+"$");(e.text.match(t)||e.text.match(s))&&_({type:"follow",status:e,action:e})},deletion:function(t){var s=t.uri;p(t);var a=(0,b.default)(f,{uri:s});a&&((0,L.default)(e.notifications,function(e){var t=e.action.id;return t===a.id}),(0,L.default)(f,{uri:s}),i&&((0,L.default)(v.statuses,{uri:s}),(0,L.default)(v.visibleStatuses,{uri:s})))},default:function(e){console.log("unknown status type"),console.log(e)}};(0,k.default)(s,function(e){var t=T(e),s=w[t]||w.default;s(e)}),i&&z(v)},D=t.mutations={addNewStatuses:B,showNewStatuses:function(e,t){var s=t.timeline,a=e.timelines[s];a.newStatusCount=0,a.visibleStatuses=(0,j.default)(a.statuses,0,50),a.visibleStatusesObject={},(0,k.default)(a.visibleStatuses,function(e){a.visibleStatusesObject[e.id]=e})},clearTimeline:function(e,t){var s=t.timeline,a={statuses:[],statusesObject:{},faves:[],visibleStatuses:[],visibleStatusesObject:{},newStatusCount:0,maxId:0,minVisibleId:0,loading:!1,followers:[],friends:[],viewing:"statuses",flushMarker:0};e.timelines[s]=a},setFavorited:function(e,t){var s=t.status,a=t.value,n=e.allStatusesObject[s.id];n.favorited=a},setRetweeted:function(e,t){var s=t.status,a=t.value,n=e.allStatusesObject[s.id];n.repeated=a},setDeleted:function(e,t){var s=t.status,a=e.allStatusesObject[s.id];a.deleted=!0},setLoading:function(e,t){var s=t.timeline,a=t.value;e.timelines[s].loading=a},setNsfw:function(e,t){var s=t.id,a=t.nsfw,n=e.allStatusesObject[s];n.nsfw=a},setError:function(e,t){var s=t.value;e.error=s},setProfileView:function(e,t){var s=t.v;e.timelines.user.viewing=s},addFriends:function(e,t){var s=t.friends;e.timelines.user.friends=s},addFollowers:function(e,t){var s=t.followers;e.timelines.user.followers=s},markNotificationsAsSeen:function(e,t){(0,k.default)(t,function(e){e.seen=!0})},queueFlush:function(e,t){var s=t.timeline,a=t.id;e.timelines[s].flushMarker=a}},R={state:U,actions:{addNewStatuses:function(e,t){var s=e.rootState,a=e.commit,n=t.statuses,i=t.showImmediately,r=void 0!==i&&i,o=t.timeline,l=void 0!==o&&o,u=t.noIdUpdate,c=void 0!==u&&u;a("addNewStatuses",{statuses:n,showImmediately:r,timeline:l,noIdUpdate:c,user:s.users.currentUser})},setError:function(e,t){var s=(e.rootState,e.commit),a=t.value;s("setError",{value:a})},addFriends:function(e,t){var s=(e.rootState,e.commit),a=t.friends;s("addFriends",{friends:a})},addFollowers:function(e,t){var s=(e.rootState,e.commit),a=t.followers;s("addFollowers",{followers:a})},deleteStatus:function(e,t){var s=e.rootState,a=e.commit;a("setDeleted",{status:t}),M.default.deleteStatus({id:t.id,credentials:s.users.currentUser.credentials})},favorite:function(e,t){var s=e.rootState,a=e.commit;a("setFavorited",{status:t,value:!0}),M.default.favorite({id:t.id,credentials:s.users.currentUser.credentials})},unfavorite:function(e,t){var s=e.rootState,a=e.commit;a("setFavorited",{status:t,value:!1}),M.default.unfavorite({id:t.id,credentials:s.users.currentUser.credentials})},retweet:function(e,t){var s=e.rootState,a=e.commit;a("setRetweeted",{status:t,value:!0}),M.default.retweet({id:t.id,credentials:s.users.currentUser.credentials})},queueFlush:function(e,t){var s=(e.rootState,e.commit),a=t.timeline,n=t.id;s("queueFlush",{timeline:a,id:n})}},mutations:D};t.default=R},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(41),i=a(n),r=s(105),o=a(r),l=function(e){var t=function(t){var s=t.id;return i.default.fetchStatus({id:s,credentials:e})},s=function(t){var s=t.id;return i.default.fetchConversation({id:s,credentials:e})},a=function(t){var s=t.id;return i.default.fetchFriends({id:s,credentials:e})},n=function(t){var s=t.id;return i.default.fetchFollowers({id:s,credentials:e})},r=function(t){var s=t.username;return i.default.fetchAllFollowing({username:s,credentials:e})},l=function(t){var s=t.id;return i.default.fetchUser({id:s,credentials:e})},u=function(t){return i.default.followUser({credentials:e,id:t})},c=function(t){return i.default.unfollowUser({credentials:e,id:t})},d=function(t){return i.default.blockUser({credentials:e,id:t})},f=function(t){return i.default.unblockUser({credentials:e,id:t})},m=function(t){var s=t.timeline,a=t.store,n=t.userId,i=void 0!==n&&n;return o.default.startFetching({timeline:s,store:a,credentials:e,userId:i})},v=function(t){var s=t.id,a=t.muted,n=void 0===a||a;return i.default.setUserMute({id:s,muted:n,credentials:e})},p=function(){return i.default.fetchMutes({credentials:e})},h=function(e){return i.default.register(e)},_=function(t){var s=t.params;return i.default.updateAvatar({credentials:e,params:s})},g=function(t){var s=t.params;return i.default.updateBg({credentials:e,params:s})},b=function(t){var s=t.params;return i.default.updateBanner({credentials:e,params:s})},w=function(t){var s=t.params;return i.default.updateProfile({credentials:e,params:s})},k=function(t){return i.default.externalProfile({profileUrl:t,credentials:e})},C={fetchStatus:t,fetchConversation:s,fetchFriends:a,fetchFollowers:n,followUser:u,unfollowUser:c,blockUser:d,unblockUser:f,fetchUser:l,fetchAllFollowing:r,verifyCredentials:i.default.verifyCredentials,startFetching:m,setUserMute:v,fetchMutes:p,register:h,updateAvatar:_,updateBg:g,updateBanner:b,updateProfile:w,externalProfile:k};return C};t.default=l},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=function(e){var t="unknown";return e.match(/text\/html/)&&(t="html"),e.match(/image/)&&(t="image"),e.match(/video\/(webm|mp4)/)&&(t="video"),e.match(/audio|ogg/)&&(t="audio"),t},a={fileType:s};t.default=a},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(40),i=a(n),r=s(41),o=a(r),l=function(e){var t=e.store,s=e.status,a=e.media,n=void 0===a?[]:a,r=e.inReplyToStatusId,l=void 0===r?void 0:r,u=(0,i.default)(n,"id");return o.default.postStatus({credentials:t.state.users.currentUser.credentials,status:s,mediaIds:u,inReplyToStatusId:l}).then(function(e){return e.json()}).then(function(e){return e.error||t.dispatch("addNewStatuses",{statuses:[e],timeline:"friends",showImmediately:!0,noIdUpdate:!0}),e}).catch(function(e){return{error:e.message}})},u=function(e){var t=e.store,s=e.formData,a=t.state.users.currentUser.credentials;return o.default.uploadMedia({credentials:a,formData:s}).then(function(e){var t=e.getElementsByTagName("link");0===t.length&&(t=e.getElementsByTagName("atom:link")),t=t[0];var s={id:e.getElementsByTagName("media_id")[0].textContent,url:e.getElementsByTagName("media_url")[0].textContent,image:t.getAttribute("href"),mimetype:t.getAttribute("type")};return s})},c={postStatus:l,uploadMedia:u};t.default=c},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(401),i=a(n),r=s(41),o=a(r),l=function(e){var t=e.store,s=e.statuses,a=e.timeline,n=e.showImmediately,r=(0,i.default)(a);t.dispatch("setError",{value:!1}),t.dispatch("addNewStatuses",{timeline:r,statuses:s,showImmediately:n})},u=function(e){var t=e.store,s=e.credentials,a=e.timeline,n=void 0===a?"friends":a,r=e.older,u=void 0!==r&&r,c=e.showImmediately,d=void 0!==c&&c,f=e.userId,m=void 0!==f&&f,v=e.tag,p=void 0!==v&&v,h={timeline:n,credentials:s},_=t.rootState||t.state,g=_.statuses.timelines[(0,i.default)(n)];return u?h.until=g.minVisibleId:h.since=g.maxId,h.userId=m,h.tag=p,o.default.fetchTimeline(h).then(function(e){!u&&e.length>=20&&t.dispatch("queueFlush",{timeline:n,id:g.maxId}),l({store:t,statuses:e,timeline:n,showImmediately:d})},function(){return t.dispatch("setError",{value:!0})})},c=function(e){var t=e.timeline,s=void 0===t?"friends":t,a=e.credentials,n=e.store,r=e.userId,o=void 0!==r&&r,l=e.tag,c=void 0!==l&&l,d=n.rootState||n.state,f=d.statuses.timelines[(0,i.default)(s)],m=0===f.visibleStatuses.length;u({timeline:s,credentials:a,store:n,showImmediately:m,userId:o,tag:c});var v=function(){return u({timeline:s,credentials:a,store:n,userId:o,tag:c})};return setInterval(v,1e4)},d={fetchAndUpdate:u,startFetching:c};t.default=d},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,s){var a=s(1)(s(174),s(469),null,null);e.exports=a.exports},function(e,t,s){s(258);var a=s(1)(s(183),s(468),null,null);e.exports=a.exports},function(e,t,s){s(272);var a=s(1)(s(191),s(489),null,null);e.exports=a.exports},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s={nav:{timeline:"Zeitleiste",mentions:"Erwähnungen",public_tl:"Lokale Zeitleiste",twkn:"Das gesamte Netzwerk"},user_card:{follows_you:"Folgt dir!",following:"Folgst du!",follow:"Folgen",blocked:"Blockiert!",block:"Blockieren",statuses:"Beiträge",mute:"Stummschalten",muted:"Stummgeschaltet",followers:"Folgende",followees:"Folgt",per_day:"pro Tag"},timeline:{show_new:"Zeige Neuere",error_fetching:"Fehler beim Laden",up_to_date:"Aktuell",load_older:"Lade ältere Beiträge",conversation:"Unterhaltung"},settings:{user_settings:"Benutzereinstellungen",name_bio:"Name & Bio",name:"Name",bio:"Bio",avatar:"Avatar",current_avatar:"Dein derzeitiger Avatar",set_new_avatar:"Setze neuen Avatar",profile_banner:"Profil Banner",current_profile_banner:"Dein derzeitiger Profil Banner",set_new_profile_banner:"Setze neuen Profil Banner",profile_background:"Profil Hintergrund",set_new_profile_background:"Setze neuen Profil Hintergrund",settings:"Einstellungen",theme:"Farbschema",presets:"Voreinstellungen",theme_help:"Benutze HTML Farbcodes (#aabbcc) um dein Farbschema anzupassen.",background:"Hintergrund",foreground:"Vordergrund",text:"Text",links:"Links",filtering:"Filter",filtering_explanation:"Alle Beiträge die diese Wörter enthalten werden ausgeblendet. Ein Wort pro Zeile.",attachments:"Anhänge",hide_attachments_in_tl:"Anhänge in der Timeline ausblenden",hide_attachments_in_convo:"Anhänge in Unterhaltungen ausblenden",nsfw_clickthrough:"Aktiviere ausblendbares Overlay für als NSFW markierte Anhänge",autoload:"Aktiviere automatisches Laden von älteren Beiträgen beim scrollen",streaming:"Aktiviere automatisches Laden (Streaming) von neuen Beiträgen",reply_link_preview:"Aktiviere reply-link Vorschau bei Maus-Hover"},notifications:{notifications:"Benachrichtigungen",read:"Gelesen!",followed_you:"folgt dir"},login:{login:"Anmelden",username:"Benutzername",password:"Passwort",register:"Registrieren",logout:"Abmelden"},registration:{registration:"Registrierung",fullname:"Angezeigter Name",email:"Email",bio:"Bio",password_confirm:"Passwort bestätigen"},post_status:{posting:"Veröffentlichen",default:"Sitze gerade im Hofbräuhaus."},finder:{find_user:"Finde Benutzer",error_fetching_user:"Fehler beim Suchen des Benutzers"},general:{submit:"Absenden",apply:"Anwenden"}},a={nav:{timeline:"Aikajana",mentions:"Maininnat",public_tl:"Julkinen Aikajana",twkn:"Koko Tunnettu Verkosto"},user_card:{follows_you:"Seuraa sinua!",following:"Seuraat!",follow:"Seuraa",statuses:"Viestit",mute:"Hiljennä",muted:"Hiljennetty",followers:"Seuraajat",followees:"Seuraa",per_day:"päivässä"},timeline:{show_new:"Näytä uudet",error_fetching:"Virhe ladatessa viestejä",up_to_date:"Ajantasalla",load_older:"Lataa vanhempia viestejä",conversation:"Keskustelu"},settings:{user_settings:"Käyttäjän asetukset",name_bio:"Nimi ja kuvaus",name:"Nimi",bio:"Kuvaus",avatar:"Profiilikuva",current_avatar:"Nykyinen profiilikuvasi",set_new_avatar:"Aseta uusi profiilikuva",profile_banner:"Juliste",current_profile_banner:"Nykyinen julisteesi",set_new_profile_banner:"Aseta uusi juliste",profile_background:"Taustakuva",set_new_profile_background:"Aseta uusi taustakuva",settings:"Asetukset",theme:"Teema",presets:"Valmiit teemat",theme_help:"Käytä heksadesimaalivärejä muokataksesi väriteemaasi.",background:"Tausta",foreground:"Korostus",text:"Teksti",links:"Linkit",filtering:"Suodatus",filtering_explanation:"Kaikki viestit, jotka sisältävät näitä sanoja, suodatetaan. Yksi sana per rivi.",attachments:"Liitteet",hide_attachments_in_tl:"Piilota liitteet aikajanalla",hide_attachments_in_convo:"Piilota liitteet keskusteluissa",nsfw_clickthrough:"Piilota NSFW liitteet klikkauksen taakse.",autoload:"Lataa vanhempia viestejä automaattisesti ruudun pohjalla",streaming:"Näytä uudet viestit automaattisesti ollessasi ruudun huipulla",reply_link_preview:"Keskusteluiden vastauslinkkien esikatselu"},notifications:{notifications:"Ilmoitukset",read:"Lue!",followed_you:"seuraa sinua"},login:{login:"Kirjaudu sisään",username:"Käyttäjänimi",password:"Salasana",register:"Rekisteröidy",logout:"Kirjaudu ulos"},registration:{registration:"Rekisteröityminen",fullname:"Koko nimi",email:"Sähköposti",bio:"Kuvaus",password_confirm:"Salasanan vahvistaminen"},post_status:{posting:"Lähetetään",default:"Tulin juuri saunasta."},finder:{find_user:"Hae käyttäjä",error_fetching_user:"Virhe hakiessa käyttäjää"},general:{submit:"Lähetä",apply:"Aseta"}},n={chat:{title:"Chat"},nav:{chat:"Local Chat",timeline:"Timeline",mentions:"Mentions",public_tl:"Public Timeline",twkn:"The Whole Known Network"},user_card:{follows_you:"Follows you!",following:"Following!",follow:"Follow",blocked:"Blocked!",block:"Block",statuses:"Statuses",mute:"Mute",muted:"Muted",followers:"Followers",followees:"Following",per_day:"per day"},timeline:{show_new:"Show new",error_fetching:"Error fetching updates",up_to_date:"Up-to-date",load_older:"Load older statuses",conversation:"Conversation"},settings:{user_settings:"User Settings",name_bio:"Name & Bio",name:"Name",bio:"Bio",avatar:"Avatar",current_avatar:"Your current avatar",set_new_avatar:"Set new avatar",profile_banner:"Profile Banner",current_profile_banner:"Your current profile banner",set_new_profile_banner:"Set new profile banner",profile_background:"Profile Background",set_new_profile_background:"Set new profile background",settings:"Settings",theme:"Theme",presets:"Presets",theme_help:"Use hex color codes (#aabbcc) to customize your color theme.",background:"Background",foreground:"Foreground",text:"Text",links:"Links",filtering:"Filtering",filtering_explanation:"All statuses containing these words will be muted, one per line",attachments:"Attachments",hide_attachments_in_tl:"Hide attachments in timeline",hide_attachments_in_convo:"Hide attachments in conversations",nsfw_clickthrough:"Enable clickthrough NSFW attachment hiding",autoload:"Enable automatic loading when scrolled to the bottom",streaming:"Enable automatic streaming of new posts when scrolled to the top",reply_link_preview:"Enable reply-link preview on mouse hover"},notifications:{notifications:"Notifications",read:"Read!",followed_you:"followed you"},login:{login:"Log in",username:"Username",password:"Password",register:"Register",logout:"Log out"},registration:{registration:"Registration",fullname:"Display name",email:"Email",bio:"Bio",password_confirm:"Password confirmation"},post_status:{posting:"Posting",default:"Just landed in L.A."},finder:{find_user:"Find user",error_fetching_user:"Error fetching user"},general:{submit:"Submit",apply:"Apply"}},i={nav:{timeline:"Ajajoon",mentions:"Mainimised",public_tl:"Avalik Ajajoon",twkn:"Kogu Teadaolev Võrgustik"},user_card:{follows_you:"Jälgib sind!",following:"Jälgin!",follow:"Jälgi",blocked:"Blokeeritud!",block:"Blokeeri",statuses:"Staatuseid",mute:"Vaigista",muted:"Vaigistatud",followers:"Jälgijaid",followees:"Jälgitavaid",per_day:"päevas"},timeline:{show_new:"Näita uusi",error_fetching:"Viga uuenduste laadimisel",up_to_date:"Uuendatud",load_older:"Kuva vanemaid staatuseid",conversation:"Vestlus"},settings:{user_settings:"Kasutaja sätted",name_bio:"Nimi ja Bio",name:"Nimi",bio:"Bio",avatar:"Profiilipilt",current_avatar:"Sinu praegune profiilipilt",set_new_avatar:"Vali uus profiilipilt",profile_banner:"Profiilibänner",current_profile_banner:"Praegune profiilibänner",set_new_profile_banner:"Vali uus profiilibänner",profile_background:"Profiilitaust",set_new_profile_background:"Vali uus profiilitaust",settings:"Sätted",theme:"Teema",filtering:"Sisu filtreerimine",filtering_explanation:"Kõiki staatuseid, mis sisaldavad neid sõnu, ei kuvata. Üks sõna reale.",attachments:"Manused",hide_attachments_in_tl:"Peida manused ajajoonel",hide_attachments_in_convo:"Peida manused vastlustes",nsfw_clickthrough:"Peida tööks-mittesobivad(NSFW) manuste hiireklõpsu taha",autoload:"Luba ajajoone automaatne uuendamine kui ajajoon on põhja keritud",reply_link_preview:"Luba algpostituse kuvamine vastustes"},notifications:{notifications:"Teavitused",read:"Loe!",followed_you:"alustas sinu jälgimist"},login:{login:"Logi sisse",username:"Kasutajanimi",password:"Parool",register:"Registreeru",logout:"Logi välja"},registration:{registration:"Registreerimine",fullname:"Kuvatav nimi",email:"E-post",bio:"Bio",password_confirm:"Parooli kinnitamine"},post_status:{posting:"Postitan",default:"Just sõitsin elektrirongiga Tallinnast Pääskülla."},finder:{find_user:"Otsi kasutajaid",error_fetching_user:"Viga kasutaja leidmisel"},general:{submit:"Postita"}},r={nav:{timeline:"Idővonal",mentions:"Említéseim",public_tl:"Publikus Idővonal",twkn:"Az Egész Ismert Hálózat"},user_card:{follows_you:"Követ téged!",following:"Követve!",follow:"Követ",blocked:"Letiltva!",block:"Letilt",statuses:"Állapotok",mute:"Némít",muted:"Némított",followers:"Követők",
followees:"Követettek",per_day:"naponta"},timeline:{show_new:"Újak mutatása",error_fetching:"Hiba a frissítések beszerzésénél",up_to_date:"Naprakész",load_older:"Régebbi állapotok betöltése",conversation:"Társalgás"},settings:{user_settings:"Felhasználói beállítások",name_bio:"Név és Bio",name:"Név",bio:"Bio",avatar:"Avatár",current_avatar:"Jelenlegi avatár",set_new_avatar:"Új avatár",profile_banner:"Profil Banner",current_profile_banner:"Jelenlegi profil banner",set_new_profile_banner:"Új profil banner",profile_background:"Profil háttérkép",set_new_profile_background:"Új profil háttér beállítása",settings:"Beállítások",theme:"Téma",filtering:"Szűrés",filtering_explanation:"Minden tartalom mely ezen szavakat tartalmazza némítva lesz, soronként egy",attachments:"Csatolmányok",hide_attachments_in_tl:"Csatolmányok elrejtése az idővonalon",hide_attachments_in_convo:"Csatolmányok elrejtése a társalgásokban",nsfw_clickthrough:"NSFW átkattintási tartalom elrejtésének engedélyezése",autoload:"Autoatikus betöltés engedélyezése lap aljára görgetéskor",reply_link_preview:"Válasz-link előzetes mutatása egér rátételkor"},notifications:{notifications:"Értesítések",read:"Olvasva!",followed_you:"követ téged"},login:{login:"Bejelentkezés",username:"Felhasználó név",password:"Jelszó",register:"Feliratkozás",logout:"Kijelentkezés"},registration:{registration:"Feliratkozás",fullname:"Teljes név",email:"Email",bio:"Bio",password_confirm:"Jelszó megerősítése"},post_status:{posting:"Küldés folyamatban",default:"Most érkeztem L.A.-be"},finder:{find_user:"Felhasználó keresése",error_fetching_user:"Hiba felhasználó beszerzésével"},general:{submit:"Elküld"}},o={nav:{timeline:"Cronologie",mentions:"Menționări",public_tl:"Cronologie Publică",twkn:"Toată Reșeaua Cunoscută"},user_card:{follows_you:"Te urmărește!",following:"Urmărit!",follow:"Urmărește",blocked:"Blocat!",block:"Blochează",statuses:"Stări",mute:"Pune pe mut",muted:"Pus pe mut",followers:"Următori",followees:"Urmărește",per_day:"pe zi"},timeline:{show_new:"Arată cele noi",error_fetching:"Erare la preluarea actualizărilor",up_to_date:"La zi",load_older:"Încarcă stări mai vechi",conversation:"Conversație"},settings:{user_settings:"Setările utilizatorului",name_bio:"Nume și Bio",name:"Nume",bio:"Bio",avatar:"Avatar",current_avatar:"Avatarul curent",set_new_avatar:"Setează avatar nou",profile_banner:"Banner de profil",current_profile_banner:"Bannerul curent al profilului",set_new_profile_banner:"Setează banner nou la profil",profile_background:"Fundalul de profil",set_new_profile_background:"Setează fundal nou",settings:"Setări",theme:"Temă",filtering:"Filtru",filtering_explanation:"Toate stările care conțin aceste cuvinte vor fi puse pe mut, una pe linie",attachments:"Atașamente",hide_attachments_in_tl:"Ascunde atașamentele în cronologie",hide_attachments_in_convo:"Ascunde atașamentele în conversații",nsfw_clickthrough:"Permite ascunderea al atașamentelor NSFW",autoload:"Permite încărcarea automată când scrolat la capăt",reply_link_preview:"Permite previzualizarea linkului de răspuns la planarea de mouse"},notifications:{notifications:"Notificări",read:"Citit!",followed_you:"te-a urmărit"},login:{login:"Loghează",username:"Nume utilizator",password:"Parolă",register:"Înregistrare",logout:"Deloghează"},registration:{registration:"Îregistrare",fullname:"Numele întreg",email:"Email",bio:"Bio",password_confirm:"Cofirmă parola"},post_status:{posting:"Postează",default:"Nu de mult am aterizat în L.A."},finder:{find_user:"Găsește utilizator",error_fetching_user:"Eroare la preluarea utilizatorului"},general:{submit:"trimite"}},l={nav:{timeline:"タイムライン",mentions:"通知",public_tl:"公開タイムライン",twkn:"接続しているすべてのネットワーク"},user_card:{follows_you:"フォローされました!",following:"フォロー中!",follow:"フォロー",statuses:"ステータス",mute:"ミュート",muted:"ミュート済み",followers:"フォロワー",followees:"フォロー",per_day:"/日"},timeline:{show_new:"新しいものを表示",error_fetching:"更新の取得中にエラーが発生しました",up_to_date:"最新",load_older:"古いステータスを読み込む"},settings:{user_settings:"ユーザー設定",name_bio:"名前 & プロフィール",name:"名前",bio:"プロフィール",avatar:"アバター",current_avatar:"あなたの現在のアバター",set_new_avatar:"新しいアバターを設定する",profile_banner:"プロフィールバナー",current_profile_banner:"現在のプロフィールバナー",set_new_profile_banner:"新しいプロフィールバナーを設定する",profile_background:"プロフィールの背景",set_new_profile_background:"新しいプロフィールの背景を設定する",settings:"設定",theme:"テーマ",filtering:"フィルタリング",filtering_explanation:"これらの単語を含むすべてのものはミュートされます、1行に1つのワードを入力してください",attachments:"添付ファイル",hide_attachments_in_tl:"タイムラインの添付ファイルを隠す",hide_attachments_in_convo:"会話の中の添付ファイルを隠す",nsfw_clickthrough:"NSFWファイルの非表示を有効にする",autoload:"下にスクロールした時に自動で読み込むようにする",reply_link_preview:"マウスカーソルを重ねたときに返信リンクプレビューを表示するようにする"},notifications:{notifications:"通知",read:"読んだ!",followed_you:"フォローされました"},login:{login:"ログイン",username:"ユーザーネーム",password:"パスワード",register:"登録",logout:"ログアウト"},registration:{registration:"登録",fullname:"表示名",email:"Eメール",bio:"プロフィール",password_confirm:"パスワードの確認"},post_status:{posting:"投稿",default:"ちょうど羽田に着陸しました"},finder:{find_user:"ユーザー検索",error_fetching_user:"ユーザー検索でエラーが発生しました"},general:{submit:"送信"}},u={nav:{timeline:"Journal",mentions:"Notifications",public_tl:"Statuts locaux",twkn:"Le réseau connu"},user_card:{follows_you:"Vous suit!",following:"Suivi!",follow:"Suivre",blocked:"Bloqué",block:"Bloquer",statuses:"Statuts",mute:"En sourdine",muted:"Mis en sourdine",followers:"Vous suivent",followees:"Suivis",per_day:"par jour"},timeline:{show_new:"Afficher plus",error_fetching:"Erreur en cherchant des mises à jours",up_to_date:"À jour",load_older:"Afficher plus",conversation:"Conversation"},settings:{user_settings:"Paramètres utilisateur",name_bio:"Nom & Bio",name:"Nom",bio:"Bioraphie",avatar:"Avatar",current_avatar:"Votre avatar",set_new_avatar:"Changer d'avatar",profile_banner:"Bannière du Profil",current_profile_banner:"Bannière du profil",set_new_profile_banner:"Changer de bannière",profile_background:"Image de fond",set_new_profile_background:"Changer l'image de fond",settings:"Paramètres",theme:"Thème",filtering:"Filtre",filtering_explanation:"Tout les statuts contenant ces mots vont être mis sous silence, un mot par ligne.",attachments:"Pièces jointes",hide_attachments_in_tl:"Cacher les pièces jointes dans le journal",hide_attachments_in_convo:"Cacher les pièces jointes dans les conversations",nsfw_clickthrough:"Activer le clic pour afficher les images marquées comme contenu adulte ou sensible",autoload:"Activer le chargement automatique une fois le bas de la page atteint",reply_link_preview:"Activer un aperçu sur passage de la souris"},notifications:{notifications:"Notfications",read:"Lu!",followed_you:"vous a suivi"},login:{login:"Connexion",username:"Nom d'utilisateur",password:"Mot de passe",register:"S'inscrire",logout:"Déconnexion"},registration:{registration:"Inscription",fullname:"Nom complet",email:"Adresse courriel",bio:"Biographie",password_confirm:"Confirmer le mot de passe"},post_status:{posting:"Envoi en cours",default:"Écrivez ici votre prochain statut."},finder:{find_user:"Chercher un utilisateur",error_fetching_user:"Une erreur est survenue pendant la recherche d'un utilisateur"},general:{submit:"Envoyer"}},c={nav:{timeline:"Sequenza temporale",mentions:"Menzioni",public_tl:"Sequenza temporale pubblica",twkn:"L'intiera rete conosciuta"},user_card:{follows_you:"Ti segue!",following:"Lo stai seguendo!",follow:"Segui",statuses:"Messaggi",mute:"Ammutolisci",muted:"Ammutoliti",followers:"Chi ti segue",followees:"Chi stai seguendo",per_day:"al giorno"},timeline:{show_new:"Mostra nuovi",error_fetching:"Errori nel prelievo aggiornamenti",up_to_date:"Aggiornato",load_older:"Carica messaggi più vecchi"},settings:{user_settings:"Configurazione dell'utente",name_bio:"Nome & Introduzione",name:"Nome",bio:"Introduzione",avatar:"Avatar",current_avatar:"Il tuo attuale avatar",set_new_avatar:"Scegli un nuovo avatar",profile_banner:"Sfondo del tuo profilo",current_profile_banner:"Sfondo attuale",set_new_profile_banner:"Scegli un nuovo sfondo per il tuo profilo",profile_background:"Sfondo della tua pagina",set_new_profile_background:"Scegli un nuovo sfondo per la tua pagina",settings:"Settaggi",theme:"Tema",filtering:"Filtri",filtering_explanation:"Filtra via le notifiche che contengono le seguenti parole (inserisci rigo per rigo le parole di innesco)",attachments:"Allegati",hide_attachments_in_tl:"Nascondi gli allegati presenti nella sequenza temporale",hide_attachments_in_convo:"Nascondi gli allegati presenti nelle conversazioni",nsfw_clickthrough:"Abilita la trasparenza degli allegati NSFW",autoload:"Abilita caricamento automatico quando si raggiunge il fondo schermo",reply_link_preview:"Ability il reply-link preview al passaggio del mouse"},notifications:{notifications:"Notifiche",read:"Leggi!",followed_you:"ti ha seguito"},general:{submit:"Invia"}},d={nav:{timeline:"Oś czasu",mentions:"Wzmianki",public_tl:"Publiczna oś czasu",twkn:"Cała znana sieć"},user_card:{follows_you:"Obserwuje cię!",following:"Obserwowany!",follow:"Obserwuj",blocked:"Zablokowany!",block:"Zablokuj",statuses:"Statusy",mute:"Wycisz",muted:"Wyciszony",followers:"Obserwujący",followees:"Obserwowani",per_day:"dziennie"},timeline:{show_new:"Pokaż nowe",error_fetching:"Błąd pobierania",up_to_date:"Na bieżąco",load_older:"Załaduj starsze statusy",conversation:"Rozmowa"},settings:{user_settings:"Ustawienia użytkownika",name_bio:"Imię i bio",name:"Imię",bio:"Bio",avatar:"Awatar",current_avatar:"Twój obecny awatar",set_new_avatar:"Ustaw nowy awatar",profile_banner:"Banner profilui",current_profile_banner:"Twój obecny banner profilu",set_new_profile_banner:"Ustaw nowy banner profilu",profile_background:"Tło profilu",set_new_profile_background:"Ustaw nowe tło profilu",settings:"Ustawienia",theme:"Motyw",filtering:"Filtrowanie",filtering_explanation:"Wszystkie statusy zawierające te słowa będą wyciszone. Jedno słowo na linijkę",attachments:"Załączniki",hide_attachments_in_tl:"Ukryj załączniki w osi czasu",hide_attachments_in_convo:"Ukryj załączniki w rozmowach",nsfw_clickthrough:"Włącz domyślne ukrywanie załączników o treści nieprzyzwoitej (NSFW)",autoload:"Włącz automatyczne ładowanie po przewinięciu do końca strony",reply_link_preview:"Włącz dymek z podglądem postu po najechaniu na znak odpowiedzi"},notifications:{notifications:"Powiadomienia",read:"Przeczytane!",followed_you:"obserwuje cię"},login:{login:"Zaloguj",username:"Użytkownik",password:"Hasło",register:"Zarejestruj",logout:"Wyloguj"},registration:{registration:"Rejestracja",fullname:"Wyświetlane imię",email:"Email",bio:"Bio",password_confirm:"Potwierdzenie hasła"},post_status:{posting:"Wysyłanie",default:"Właśnie wróciłem z kościoła"},finder:{find_user:"Znajdź użytkownika",error_fetching_user:"Błąd przy pobieraniu profilu"},general:{submit:"Wyślij"}},f={nav:{timeline:"Línea Temporal",mentions:"Menciones",public_tl:"Línea Temporal Pública",twkn:"Toda La Red Conocida"},user_card:{follows_you:"¡Te sigue!",following:"¡Siguiendo!",follow:"Seguir",blocked:"¡Bloqueado!",block:"Bloquear",statuses:"Estados",mute:"Silenciar",muted:"Silenciado",followers:"Seguidores",followees:"Siguiendo",per_day:"por día"},timeline:{show_new:"Mostrar lo nuevo",error_fetching:"Error al cargar las actualizaciones",up_to_date:"Actualizado",load_older:"Cargar actualizaciones anteriores",conversation:"Conversación"},settings:{user_settings:"Ajustes de Usuario",name_bio:"Nombre y Biografía",name:"Nombre",bio:"Biografía",avatar:"Avatar",current_avatar:"Tu avatar actual",set_new_avatar:"Cambiar avatar",profile_banner:"Cabecera del perfil",current_profile_banner:"Cabecera actual",set_new_profile_banner:"Cambiar cabecera",profile_background:"Fondo del Perfil",set_new_profile_background:"Cambiar fondo del perfil",settings:"Ajustes",theme:"Tema",filtering:"Filtros",filtering_explanation:"Todos los estados que contengan estas palabras serán silenciados, una por línea",attachments:"Adjuntos",hide_attachments_in_tl:"Ocultar adjuntos en la línea temporal",hide_attachments_in_convo:"Ocultar adjuntos en las conversaciones",nsfw_clickthrough:"Activar el clic para ocultar los adjuntos NSFW",autoload:"Activar carga automática al llegar al final de la página",reply_link_preview:"Activar la previsualización del enlace de responder al pasar el ratón por encima"},notifications:{notifications:"Notificaciones",read:"¡Leído!",followed_you:"empezó a seguirte"},login:{login:"Identificación",username:"Usuario",password:"Contraseña",register:"Registrar",logout:"Salir"},registration:{registration:"Registro",fullname:"Nombre a mostrar",email:"Correo electrónico",bio:"Biografía",password_confirm:"Confirmación de contraseña"},post_status:{posting:"Publicando",default:"Acabo de aterrizar en L.A."},finder:{find_user:"Encontrar usuario",error_fetching_user:"Error al buscar usuario"},general:{submit:"Enviar"}},m={nav:{timeline:"Linha do tempo",mentions:"Menções",public_tl:"Linha do tempo pública",twkn:"Toda a rede conhecida"},user_card:{follows_you:"Segue você!",following:"Seguindo!",follow:"Seguir",blocked:"Bloqueado!",block:"Bloquear",statuses:"Postagens",mute:"Mutar",muted:"Mudo",followers:"Seguidores",followees:"Seguindo",per_day:"por dia"},timeline:{show_new:"Mostrar novas",error_fetching:"Erro buscando atualizações",up_to_date:"Atualizado",load_older:"Carregar postagens antigas",conversation:"Conversa"},settings:{user_settings:"Configurações de Usuário",name_bio:"Nome & Biografia",name:"Nome",bio:"Biografia",avatar:"Avatar",current_avatar:"Seu avatar atual",set_new_avatar:"Mudar avatar",profile_banner:"Capa de perfil",current_profile_banner:"Sua capa de perfil atual",set_new_profile_banner:"Mudar capa de perfil",profile_background:"Plano de fundo de perfil",set_new_profile_background:"Mudar o plano de fundo de perfil",settings:"Configurações",theme:"Tema",filtering:"Filtragem",filtering_explanation:"Todas as postagens contendo estas palavras serão silenciadas, uma por linha.",attachments:"Anexos",hide_attachments_in_tl:"Ocultar anexos na linha do tempo.",hide_attachments_in_convo:"Ocultar anexos em conversas",nsfw_clickthrough:"Habilitar clique para ocultar anexos NSFW",autoload:"Habilitar carregamento automático quando a rolagem chegar ao fim.",reply_link_preview:"Habilitar a pré-visualização de link de respostas ao passar o mouse."},notifications:{notifications:"Notificações",read:"Ler!",followed_you:"seguiu você"},login:{login:"Entrar",username:"Usuário",password:"Senha",register:"Registrar",logout:"Sair"},registration:{registration:"Registro",fullname:"Nome para exibição",email:"Correio eletônico",bio:"Biografia",password_confirm:"Confirmação de senha"},post_status:{posting:"Publicando",default:"Acabo de aterrizar em L.A."},finder:{find_user:"Buscar usuário",error_fetching_user:"Erro procurando usuário"},general:{submit:"Enviar"}},v={de:s,fi:a,en:n,et:i,hu:r,ro:o,ja:l,fr:u,it:c,pl:d,es:f,pt:m};t.default=v},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.key,s=void 0===t?"vuex-lz":t,a=e.paths,n=void 0===a?[]:a,i=e.getState,o=void 0===i?function(e,t){var s=t.getItem(e);return s}:i,u=e.setState,d=void 0===u?(0,c.default)(w,6e4):u,m=e.reducer,v=void 0===m?g:m,p=e.storage,h=void 0===p?b:p,k=e.subscriber,C=void 0===k?function(e){return function(t){return e.subscribe(t)}}:k;return function(e){o(s,h).then(function(t){try{if("object"===("undefined"==typeof t?"undefined":(0,r.default)(t))){var s=t.users||{};s.usersObject={};var a=s.users||[];(0,l.default)(a,function(e){s.usersObject[e.id]=e}),t.users=s,e.replaceState((0,f.default)({},e.state,t))}e.state.config.customTheme&&(window.themeLoaded=!0,e.dispatch("setOption",{name:"customTheme",value:e.state.config.customTheme})),e.state.users.lastLoginName&&e.dispatch("loginUser",{username:e.state.users.lastLoginName,password:"xxx"}),_=!0}catch(e){console.log("Couldn't load state"),_=!0}}),C(e)(function(e,t){try{d(s,v(t,n),h)}catch(e){console.log("Couldn't persist state:"),console.log(e)}})}}Object.defineProperty(t,"__esModule",{value:!0});var i=s(211),r=a(i),o=s(59),l=a(o),u=s(428),c=a(u);t.default=n;var d=s(291),f=a(d),m=s(437),v=a(m),p=s(279),h=a(p),_=!1,g=function(e,t){return 0===t.length?e:t.reduce(function(t,s){return v.default.set(t,s,v.default.get(e,s)),t},{})},b=function(){return h.default}(),w=function(e,t,s){return _?s.setItem(e,t):void console.log("waiting for old state to be loaded...")}},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(2),i=a(n),r=s(102),o=a(r),l=s(438),u={state:{backendInteractor:(0,o.default)(),fetchers:{},socket:null},mutations:{setBackendInteractor:function(e,t){e.backendInteractor=t},addFetcher:function(e,t){var s=t.timeline,a=t.fetcher;e.fetchers[s]=a},removeFetcher:function(e,t){var s=t.timeline;delete e.fetchers[s]},setSocket:function(e,t){e.socket=t}},actions:{startFetching:function(e,t){var s=!1;if((0,i.default)(t)&&(s=t[1],t=t[0]),!e.state.fetchers[t]){var a=e.state.backendInteractor.startFetching({timeline:t,store:e,userId:s});e.commit("addFetcher",{timeline:t,fetcher:a})}},stopFetching:function(e,t){var s=e.state.fetchers[t];window.clearInterval(s),e.commit("removeFetcher",{timeline:t})},initializeSocket:function(e,t){var s=new l.Socket("/socket",{params:{token:t}});s.connect(),e.dispatch("initializeChat",s)}}};t.default=u},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s={state:{messages:[],channel:null},mutations:{setChannel:function(e,t){e.channel=t},addMessage:function(e,t){e.messages.push(t),e.messages=e.messages.slice(-19,20)},setMessages:function(e,t){e.messages=t.slice(-19,20)}},actions:{initializeChat:function(e,t){var s=t.channel("chat:public");s.on("new_msg",function(t){e.commit("addMessage",t)}),s.on("messages",function(t){var s=t.messages;e.commit("setMessages",s)}),s.join(),e.commit("setChannel",s)}}};t.default=s},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(99),i=s(169),r=a(i),o={name:"Pleroma FE",colors:{},hideAttachments:!1,hideAttachmentsInConv:!1,hideNsfw:!0,autoLoad:!0,streaming:!1,hoverPreview:!0,muteWords:[]},l={state:o,mutations:{setOption:function(e,t){var s=t.name,a=t.value;(0,n.set)(e,s,a)}},actions:{setPageTitle:function(e){var t=e.state,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";document.title=s+" "+t.name},setOption:function(e,t){var s=e.commit,a=e.dispatch,n=t.name,i=t.value;switch(s("setOption",{name:n,value:i}),n){case"name":a("setPageTitle");break;case"theme":r.default.setPreset(i,s);break;case"customTheme":r.default.setColors(i,s)}}}};t.default=l},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.defaultState=t.mutations=t.mergeOrAdd=void 0;var n=s(205),i=a(n),r=s(155),o=a(r),l=s(59),u=a(l),c=s(40),d=a(c),f=s(403),m=a(f),v=s(102),p=a(v),h=s(99),_=t.mergeOrAdd=function(e,t,s){if(!s)return!1;var a=t[s.id];return a?((0,o.default)(a,s),{item:a,new:!1}):(e.push(s),t[s.id]=s,{item:s,new:!0})},g=t.mutations={setMuted:function(e,t){var s=t.user.id,a=t.muted,n=e.usersObject[s];(0,h.set)(n,"muted",a)},setCurrentUser:function(e,t){e.lastLoginName=t.screen_name,e.currentUser=(0,o.default)(e.currentUser||{},t)},clearCurrentUser:function(e){e.currentUser=!1,e.lastLoginName=!1},beginLogin:function(e){e.loggingIn=!0},endLogin:function(e){e.loggingIn=!1},addNewUsers:function(e,t){(0,u.default)(t,function(t){return _(e.users,e.usersObject,t)})},setUserForStatus:function(e,t){t.user=e.usersObject[t.user.id]}},b=t.defaultState={lastLoginName:!1,currentUser:!1,loggingIn:!1,users:[],usersObject:{}},w={state:b,mutations:g,actions:{fetchUser:function(e,t){e.rootState.api.backendInteractor.fetchUser({id:t}).then(function(t){return e.commit("addNewUsers",t)})},addNewStatuses:function(e,t){var s=t.statuses,a=(0,d.default)(s,"user"),n=(0,m.default)((0,d.default)(s,"retweeted_status.user"));e.commit("addNewUsers",a),e.commit("addNewUsers",n),(0,u.default)(s,function(t){e.commit("setUserForStatus",t)}),(0,u.default)((0,m.default)((0,d.default)(s,"retweeted_status")),function(t){e.commit("setUserForStatus",t)})},logout:function(e){e.commit("clearCurrentUser"),e.dispatch("stopFetching","friends"),e.commit("setBackendInteractor",(0,p.default)())},loginUser:function(e,t){return new i.default(function(s,a){var n=e.commit;n("beginLogin"),e.rootState.api.backendInteractor.verifyCredentials(t).then(function(i){i.ok?i.json().then(function(s){s.credentials=t,n("setCurrentUser",s),n("addNewUsers",[s]),n("setBackendInteractor",(0,p.default)(t)),s.token&&e.dispatch("initializeSocket",s.token),e.dispatch("startFetching","friends"),e.rootState.api.backendInteractor.fetchMutes().then(function(t){(0,u.default)(t,function(e){e.muted=!0}),e.commit("addNewUsers",t)}),"Notification"in window&&"default"===window.Notification.permission&&window.Notification.requestPermission(),e.rootState.api.backendInteractor.fetchFriends().then(function(e){return n("addNewUsers",e)})}):(n("endLogin"),a(401===i.status?"Wrong username or password":"An error occurred, please try again")),n("endLogin"),s()}).catch(function(e){console.log(e),n("endLogin"),a("Failed to connect to server, try again")})})}}};t.default=w},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.splitIntoWords=t.addPositionToWords=t.wordAtPosition=t.replaceWord=void 0;var n=s(60),i=a(n),r=s(156),o=a(r),l=t.replaceWord=function(e,t,s){return e.slice(0,t.start)+s+e.slice(t.end)},u=t.wordAtPosition=function(e,t){var s=d(e),a=c(s);return(0,i.default)(a,function(e){var s=e.start,a=e.end;return s<=t&&a>t})},c=t.addPositionToWords=function(e){return(0,o.default)(e,function(e,t){var s={word:t,start:0,end:t.length};if(e.length>0){var a=e.pop();s.start+=a.end,s.end+=a.end,e.push(a)}return e.push(s),e},[])},d=t.splitIntoWords=function(e){var t=/\b/,s=/[@#:]+$/,a=e.split(t),n=(0,o.default)(a,function(e,t){if(e.length>0){var a=e.pop(),n=a.match(s);n&&(a=a.replace(s,""),t=n[0]+t),e.push(a)}return e.push(t),e},[]);return n},f={wordAtPosition:u,addPositionToWords:c,splitIntoWords:d,replaceWord:l};t.default=f},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(429),i=a(n),r=s(64),o=function(e,t){var s=document.head,a=document.body;a.style.display="none";var n=document.createElement("link");n.setAttribute("rel","stylesheet"),n.setAttribute("href",e),s.appendChild(n);var r=function(){var e=document.createElement("div");a.appendChild(e);var n={};(0,i.default)(16,function(t){var s="base0"+t.toString(16).toUpperCase();e.setAttribute("class",s);var a=window.getComputedStyle(e).getPropertyValue("color");n[s]=a}),t("setOption",{name:"colors",value:n}),a.removeChild(e);var r=document.createElement("style");s.appendChild(r);var o=r.sheet;o.insertRule("a { color: "+n.base08,"index-max"),o.insertRule("body { color: "+n.base05,"index-max"),o.insertRule(".base05-border { border-color: "+n.base05,"index-max"),o.insertRule(".base03-border { border-color: "+n.base03,"index-max"),a.style.display="initial"};n.addEventListener("load",r)},l=function(e,t){var s=document.head,a=document.body;a.style.display="none";var n=document.createElement("style");s.appendChild(n);var o=n.sheet,l=e.text.r+e.text.g+e.text.b>e.bg.r+e.bg.g+e.bg.b,u={},c=10;l&&(c*=-1),u.base00=(0,r.rgb2hex)(e.bg.r,e.bg.g,e.bg.b),u.base01=(0,r.rgb2hex)((e.bg.r+e.fg.r)/2,(e.bg.g+e.fg.g)/2,(e.bg.b+e.fg.b)/2),u.base02=(0,r.rgb2hex)(e.fg.r,e.fg.g,e.fg.b),u.base03=(0,r.rgb2hex)(e.fg.r-c,e.fg.g-c,e.fg.b-c),u.base04=(0,r.rgb2hex)(e.text.r+2*c,e.text.g+2*c,e.text.b+2*c),u.base05=(0,r.rgb2hex)(e.text.r,e.text.g,e.text.b),u.base06=(0,r.rgb2hex)(e.text.r-c,e.text.g-c,e.text.b-c),u.base07=(0,r.rgb2hex)(e.text.r-2*c,e.text.g-2*c,e.text.b-2*c),u.base08=(0,r.rgb2hex)(e.link.r,e.link.g,e.link.b),u.base09=(0,r.rgb2hex)((e.bg.r+e.text.r)/2,(e.bg.g+e.text.g)/2,(e.bg.b+e.text.b)/2);var d=10;(0,i.default)(d,function(e){var t=u["base0"+(d-1-e)];o.insertRule(".base0"+(d-1-e)+" { color: "+t,"index-max"),o.insertRule(".base0"+(d-1-e)+"-background { background-color: "+t,"index-max")}),o.insertRule("a { color: "+u.base08,"index-max"),o.insertRule("body { color: "+u.base05,"index-max"),o.insertRule(".base05-border { border-color: "+u.base05,"index-max"),o.insertRule(".base03-border { border-color: "+u.base03,"index-max"),a.style.display="initial",t("setOption",{name:"colors",value:u}),t("setOption",{name:"customTheme",value:e})},u=function(e,t){window.fetch("/static/styles.json").then(function(e){return e.json()}).then(function(s){var a=s[e]?s[e]:s["pleroma-dark"],n=(0,r.hex2rgb)(a[1]),i=(0,r.hex2rgb)(a[2]),o=(0,r.hex2rgb)(a[3]),u=(0,r.hex2rgb)(a[4]),c={bg:n,fg:i,text:o,link:u};window.themeLoaded||l(c,t)})},c={setStyle:o,setPreset:u,setColors:l};t.default=c},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(462),i=a(n),r=s(451),o=a(r),l=s(452),u=a(l),c=s(461),d=a(c);t.default={name:"app",components:{UserPanel:i.default,NavPanel:o.default,Notifications:u.default,UserFinder:d.default},data:function(){return{mobileActivePanel:"timeline"}},computed:{currentUser:function(){return this.$store.state.users.currentUser},background:function(){return this.currentUser.background_image||this.$store.state.config.background},logoStyle:function(){return{"background-image":"url("+this.$store.state.config.logo+")"}},style:function(){return{"background-image":"url("+this.background+")"}},sitename:function(){return this.$store.state.config.name}},methods:{activatePanel:function(e){this.mobileActivePanel=e},scrollToTop:function(){window.scrollTo(0,0)},logout:function(){this.$store.dispatch("logout")}}}},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(439),i=a(n),r=s(103),o=a(r),l={props:["attachment","nsfw","statusId"],data:function(){return{nsfwImage:i.default,hideNsfwLocal:this.$store.state.config.hideNsfw,showHidden:!1,loading:!1,img:document.createElement("img")}},computed:{type:function(){return o.default.fileType(this.attachment.mimetype)},hidden:function(){return this.nsfw&&this.hideNsfwLocal&&!this.showHidden},isEmpty:function(){return"html"===this.type&&!this.attachment.oembed||"unknown"===this.type}},methods:{linkClicked:function(e){var t=e.target;"A"===t.tagName&&window.open(t.href,"_blank")},toggleHidden:function(){var e=this;this.img.onload?this.img.onload():(this.loading=!0,this.img.src=this.attachment.url,this.img.onload=function(){e.loading=!1,e.showHidden=!e.showHidden})}}};t.default=l},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s={data:function(){return{currentMessage:"",channel:null}},computed:{messages:function(){return this.$store.state.chat.messages}},methods:{submit:function(e){this.$store.state.chat.channel.push("new_msg",{text:e},1e4),this.currentMessage=""}}};t.default=s},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(22),i=a(n),r=s(60),o=a(r),l=s(159),u=a(l),c={components:{Conversation:u.default},computed:{statusoid:function(){var e=(0,i.default)(this.$route.params.id),t=this.$store.state.statuses.allStatuses,s=(0,o.default)(t,{id:e});return s}}};t.default=c},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(98),i=a(n),r=s(38),o=a(r),l=s(156),u=a(l),c=s(101),d=s(62),f=a(d),m=function(e){return e=(0,o.default)(e,function(e){return"retweet"!==(0,c.statusType)(e)}),(0,i.default)(e,"id")},v={data:function(){return{highlight:null}},props:["statusoid","collapsable"],computed:{status:function(){return this.statusoid},conversation:function e(){if(!this.status)return!1;var t=this.status.statusnet_conversation_id,s=this.$store.state.statuses.allStatuses,e=(0,o.default)(s,{statusnet_conversation_id:t});return m(e)},replies:function(){var e=1;return(0,u.default)(this.conversation,function(t,s){var a=s.id,n=s.in_reply_to_status_id,i=Number(n);return i&&(t[i]=t[i]||[],t[i].push({name:"#"+e,id:a})),e++,t},{})}},components:{Status:f.default},created:function(){this.fetchConversation()},watch:{$route:"fetchConversation"},methods:{fetchConversation:function(){var e=this;if(this.status){var t=this.status.statusnet_conversation_id;this.$store.state.api.backendInteractor.fetchConversation({id:t}).then(function(t){return e.$store.dispatch("addNewStatuses",{statuses:t})}).then(function(){return e.setHighlight(e.statusoid.id)})}else{var s=this.$route.params.id;this.$store.state.api.backendInteractor.fetchStatus({id:s}).then(function(t){return e.$store.dispatch("addNewStatuses",{statuses:[t]})}).then(function(){return e.fetchConversation()})}},getReplies:function(e){return e=Number(e),this.replies[e]||[]},focused:function(e){return this.statusoid.retweeted_status?e===this.statusoid.retweeted_status.id:e===this.statusoid.id},setHighlight:function(e){this.highlight=Number(e)}}};t.default=v},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s={props:["status"],methods:{deleteStatus:function(){var e=window.confirm("Do you really want to delete this status?");e&&this.$store.dispatch("deleteStatus",{id:this.status.id})}},computed:{currentUser:function(){return this.$store.state.users.currentUser},canDelete:function(){return this.currentUser.rights.delete_others_notice||this.status.user.id===this.currentUser.id}}};t.default=s},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s={props:["status"],data:function(){return{animated:!1}},methods:{favorite:function(){var e=this;this.status.favorited?this.$store.dispatch("unfavorite",{id:this.status.id}):this.$store.dispatch("favorite",{id:this.status.id}),this.animated=!0,setTimeout(function(){e.animated=!1},500)}},computed:{classes:function(){return{"icon-star-empty":!this.status.favorited,"icon-star":this.status.favorited,"animate-spin":this.animated}}}};t.default=s},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(29),i=a(n),r={components:{Timeline:i.default},computed:{timeline:function(){return this.$store.state.statuses.timelines.friends}}};t.default=r},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s={data:function(){return{user:{},authError:!1}},computed:{loggingIn:function(){return this.$store.state.users.loggingIn},registrationOpen:function(){return this.$store.state.config.registrationOpen}},methods:{submit:function(){var e=this;this.$store.dispatch("loginUser",this.user).then(function(){},function(t){e.authError=t,e.user.username="",e.user.password=""})}}};t.default=s},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(104),i=a(n),r={mounted:function(){var e=this,t=this.$el.querySelector("input");t.addEventListener("change",function(t){var s=t.target,a=s.files[0];e.uploadFile(a)})},data:function(){return{uploading:!1}},methods:{uploadFile:function(e){var t=this,s=this.$store,a=new FormData;a.append("media",e),t.$emit("uploading"),t.uploading=!0,i.default.uploadMedia({store:s,formData:a}).then(function(e){t.$emit("uploaded",e),t.uploading=!1},function(e){t.$emit("upload-failed"),t.uploading=!1})},fileDrop:function(e){e.dataTransfer.files.length>0&&(e.preventDefault(),this.uploadFile(e.dataTransfer.files[0]))},fileDrag:function(e){var t=e.dataTransfer.types;t.contains("Files")?e.dataTransfer.dropEffect="copy":e.dataTransfer.dropEffect="none"}},props:["dropFiles"],watch:{dropFiles:function(e){this.uploading||this.uploadFile(e[0])}}};t.default=r},function(e,t,s){"use strict";function a(e){
return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(29),i=a(n),r={computed:{timeline:function(){return this.$store.state.statuses.timelines.mentions}},components:{Timeline:i.default}};t.default=r},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s={computed:{currentUser:function(){return this.$store.state.users.currentUser}}};t.default=s},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(38),i=a(n),r=s(157),o=a(r),l=s(98),u=a(l),c=s(62),d=a(c),f={data:function(){return{visibleNotificationCount:10}},computed:{notifications:function(){return this.$store.state.statuses.notifications},unseenNotifications:function(){return(0,i.default)(this.notifications,function(e){var t=e.seen;return!t})},visibleNotifications:function(){var e=(0,u.default)(this.notifications,function(e){var t=e.action;return-t.id});return e=(0,u.default)(e,"seen"),(0,o.default)(e,this.visibleNotificationCount)},unseenCount:function(){return this.unseenNotifications.length},hiderStyle:function(){return{background:"linear-gradient(to bottom, rgba(0, 0, 0, 0), "+this.$store.state.config.colors.base00+" 80%)"}}},components:{Status:d.default},watch:{unseenCount:function(e){e>0?this.$store.dispatch("setPageTitle","("+e+")"):this.$store.dispatch("setPageTitle","")}},methods:{markAsSeen:function(){this.$store.commit("markNotificationsAsSeen",this.visibleNotifications)}}};t.default=f},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(210),i=a(n),r=s(433),o=a(r),l=s(40),u=a(l),c=s(423),d=a(c),f=s(38),m=a(f),v=s(157),p=a(v),h=s(104),_=a(h),g=s(449),b=a(g),w=s(103),k=a(w),C=s(168),y=a(C),x=function(e,t){var s=e.user,a=e.attentions,n=[].concat((0,i.default)(a));n.unshift(s),n=(0,o.default)(n,"id"),n=(0,d.default)(n,{id:t.id});var r=(0,u.default)(n,function(e){return"@"+e.screen_name});return r.join(" ")+" "},S={props:["replyTo","repliedUser","attentions"],components:{MediaUpload:b.default},data:function(){var e="";if(this.replyTo){var t=this.$store.state.users.currentUser;e=x({user:this.repliedUser,attentions:this.attentions},t)}return{dropFiles:[],submitDisabled:!1,error:null,posting:!1,newStatus:{status:e,files:[]},caret:0}},computed:{candidates:function(){var e=this,t=this.textAtCaret.charAt(0);if("@"===t){var s=(0,m.default)(this.users,function(t){return String(t.name+t.screen_name).match(e.textAtCaret.slice(1))});return!(s.length<=0)&&(0,u.default)((0,p.default)(s,5),function(e){var t=e.screen_name,s=e.name,a=e.profile_image_url_original;return{screen_name:"@"+t,name:s,img:a}})}if(":"===t){var a=(0,m.default)(this.emoji,function(t){return t.shortcode.match(e.textAtCaret.slice(1))});return!(a.length<=0)&&(0,u.default)((0,p.default)(a,5),function(e){var t=e.shortcode,s=e.image_url;return{screen_name:":"+t+":",name:"",img:s}})}return!1},textAtCaret:function(){return(this.wordAtCaret||{}).word||""},wordAtCaret:function(){var e=y.default.wordAtPosition(this.newStatus.status,this.caret-1)||{};return e},users:function(){return this.$store.state.users.users},emoji:function(){return this.$store.state.config.emoji||[]}},methods:{replace:function(e){this.newStatus.status=y.default.replaceWord(this.newStatus.status,this.wordAtCaret,e);var t=this.$el.querySelector("textarea");t.focus(),this.caret=0},setCaret:function(e){var t=e.target.selectionStart;this.caret=t},postStatus:function(e){var t=this;if(!this.posting){if(""===this.newStatus.status){if(!(this.newStatus.files.length>0))return void(this.error="Cannot post an empty status with no files");this.newStatus.status=""}this.posting=!0,_.default.postStatus({status:e.status,media:e.files,store:this.$store,inReplyToStatusId:this.replyTo}).then(function(e){if(e.error)t.error=e.error;else{t.newStatus={status:"",files:[]},t.$emit("posted");var s=t.$el.querySelector("textarea");s.style.height="16px",t.error=null}t.posting=!1})}},addMediaFile:function(e){this.newStatus.files.push(e),this.enableSubmit()},removeMediaFile:function(e){var t=this.newStatus.files.indexOf(e);this.newStatus.files.splice(t,1)},disableSubmit:function(){this.submitDisabled=!0},enableSubmit:function(){this.submitDisabled=!1},type:function(e){return k.default.fileType(e.mimetype)},paste:function(e){e.clipboardData.files.length>0&&(this.dropFiles=[e.clipboardData.files[0]])},fileDrop:function(e){e.dataTransfer.files.length>0&&(e.preventDefault(),this.dropFiles=e.dataTransfer.files)},fileDrag:function(e){e.dataTransfer.dropEffect="copy"},resize:function(e){e.target.style.height="auto",e.target.style.height=e.target.scrollHeight-10+"px",""===e.target.value&&(e.target.style.height="16px")},clearError:function(){this.error=null}}};t.default=S},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(29),i=a(n),r={components:{Timeline:i.default},computed:{timeline:function(){return this.$store.state.statuses.timelines.publicAndExternal}},created:function(){this.$store.dispatch("startFetching","publicAndExternal")},destroyed:function(){this.$store.dispatch("stopFetching","publicAndExternal")}};t.default=r},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(29),i=a(n),r={components:{Timeline:i.default},computed:{timeline:function(){return this.$store.state.statuses.timelines.public}},created:function(){this.$store.dispatch("startFetching","public")},destroyed:function(){this.$store.dispatch("stopFetching","public")}};t.default=r},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s={data:function(){return{user:{},error:!1,registering:!1}},created:function(){this.$store.state.config.registrationOpen&&!this.$store.state.users.currentUser||this.$router.push("/main/all")},computed:{termsofservice:function(){return this.$store.state.config.tos}},methods:{submit:function(){var e=this;this.registering=!0,this.user.nickname=this.user.username,this.$store.state.api.backendInteractor.register(this.user).then(function(t){t.ok?(e.$store.dispatch("loginUser",e.user),e.$router.push("/main/all"),e.registering=!1):(e.registering=!1,t.json().then(function(t){e.error=t.error}))})}}};t.default=s},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s={props:["status"],data:function(){return{animated:!1}},methods:{retweet:function(){var e=this;this.status.repeated||this.$store.dispatch("retweet",{id:this.status.id}),this.animated=!0,setTimeout(function(){e.animated=!1},500)}},computed:{classes:function(){return{retweeted:this.status.repeated,"animate-spin":this.animated}}}};t.default=s},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(432),i=a(n),r=s(38),o=a(r),l=s(161),u=a(l),c={data:function(){return{hideAttachmentsLocal:this.$store.state.config.hideAttachments,hideAttachmentsInConvLocal:this.$store.state.config.hideAttachmentsInConv,hideNsfwLocal:this.$store.state.config.hideNsfw,muteWordsString:this.$store.state.config.muteWords.join("\n"),autoLoadLocal:this.$store.state.config.autoLoad,streamingLocal:this.$store.state.config.streaming,hoverPreviewLocal:this.$store.state.config.hoverPreview}},components:{StyleSwitcher:u.default},computed:{user:function(){return this.$store.state.users.currentUser}},watch:{hideAttachmentsLocal:function(e){this.$store.dispatch("setOption",{name:"hideAttachments",value:e})},hideAttachmentsInConvLocal:function(e){this.$store.dispatch("setOption",{name:"hideAttachmentsInConv",value:e})},hideNsfwLocal:function(e){this.$store.dispatch("setOption",{name:"hideNsfw",value:e})},autoLoadLocal:function(e){this.$store.dispatch("setOption",{name:"autoLoad",value:e})},streamingLocal:function(e){this.$store.dispatch("setOption",{name:"streaming",value:e})},hoverPreviewLocal:function(e){this.$store.dispatch("setOption",{name:"hoverPreview",value:e})},muteWordsString:function(e){e=(0,o.default)(e.split("\n"),function(e){return(0,i.default)(e).length>0}),this.$store.dispatch("setOption",{name:"muteWords",value:e})}}};t.default=c},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(60),i=a(n),r=s(38),o=a(r),l=s(442),u=a(l),c=s(446),d=a(c),f=s(456),m=a(f),v=s(445),p=a(v),h=s(160),_=a(h),g=s(63),b=a(g),w={props:["statusoid","expandable","inConversation","focused","highlight","compact","replies"],data:function(){return{replying:!1,expanded:!1,unmuted:!1,userExpanded:!1,preview:null,showPreview:!1}},computed:{muteWords:function(){return this.$store.state.config.muteWords},hideAttachments:function(){return this.$store.state.config.hideAttachments&&!this.inConversation||this.$store.state.config.hideAttachmentsInConv&&this.inConversation},retweet:function(){return!!this.statusoid.retweeted_status},retweeter:function(){return this.statusoid.user.name},status:function(){return this.retweet?this.statusoid.retweeted_status:this.statusoid},loggedIn:function(){return!!this.$store.state.users.currentUser},muteWordHits:function(){var e=this.status.text.toLowerCase(),t=(0,o.default)(this.muteWords,function(t){return e.includes(t.toLowerCase())});return t},muted:function(){return!this.unmuted&&(this.status.user.muted||this.muteWordHits.length>0)},isReply:function(){return!!this.status.in_reply_to_status_id},borderColor:function(){return{borderBottomColor:this.$store.state.config.colors.base02}},isFocused:function(){return!!this.focused||!!this.inConversation&&this.status.id===this.highlight}},components:{Attachment:u.default,FavoriteButton:d.default,RetweetButton:m.default,DeleteButton:p.default,PostStatusForm:_.default,UserCardContent:b.default},methods:{linkClicked:function(e){var t=e.target;"SPAN"===t.tagName&&(t=t.parentNode),"A"===t.tagName&&window.open(t.href,"_blank")},toggleReplying:function(){this.replying=!this.replying},gotoOriginal:function(e){this.inConversation&&this.$emit("goto",e)},toggleExpanded:function(){this.$emit("toggleExpanded")},toggleMute:function(){this.unmuted=!this.unmuted},toggleUserExpanded:function(){this.userExpanded=!this.userExpanded},replyEnter:function(e,t){var s=this;this.showPreview=!0;var a=Number(e),n=this.$store.state.statuses.allStatuses;this.preview?this.preview.id!==a&&(this.preview=(0,i.default)(n,{id:a})):(this.preview=(0,i.default)(n,{id:a}),this.preview||this.$store.state.api.backendInteractor.fetchStatus({id:e}).then(function(e){s.preview=e}))},replyLeave:function(){this.showPreview=!1}},watch:{highlight:function(e){if(e=Number(e),this.status.id===e){var t=this.$el.getBoundingClientRect();t.top<100?window.scrollBy(0,t.top-200):t.bottom>window.innerHeight-50&&window.scrollBy(0,t.bottom-window.innerHeight+50)}}}};t.default=w},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(62),i=a(n),r=s(159),o=a(r),l={props:["statusoid"],data:function(){return{expanded:!1}},components:{Status:i.default,Conversation:o.default},methods:{toggleExpanded:function(){this.expanded=!this.expanded}}};t.default=l},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s(64);t.default={data:function(){return{availableStyles:[],selected:this.$store.state.config.theme,bgColorLocal:"",fgColorLocal:"",textColorLocal:"",linkColorLocal:""}},created:function(){var e=this;window.fetch("/static/styles.json").then(function(e){return e.json()}).then(function(t){e.availableStyles=t})},mounted:function(){this.bgColorLocal=(0,a.rgbstr2hex)(this.$store.state.config.colors.base00),this.fgColorLocal=(0,a.rgbstr2hex)(this.$store.state.config.colors.base02),this.textColorLocal=(0,a.rgbstr2hex)(this.$store.state.config.colors.base05),this.linkColorLocal=(0,a.rgbstr2hex)(this.$store.state.config.colors.base08)},methods:{setCustomTheme:function(){!this.bgColorLocal&&!this.fgColorLocal&&!this.linkColorLocal;var e=function(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null},t=e(this.bgColorLocal),s=e(this.fgColorLocal),a=e(this.textColorLocal),n=e(this.linkColorLocal);t&&s&&n&&this.$store.dispatch("setOption",{name:"customTheme",value:{fg:s,bg:t,text:a,link:n}})}},watch:{selected:function(){this.bgColorLocal=this.selected[1],this.fgColorLocal=this.selected[2],this.textColorLocal=this.selected[3],this.linkColorLocal=this.selected[4]}}}},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(29),i=a(n),r={created:function(){this.$store.commit("clearTimeline",{timeline:"tag"}),this.$store.dispatch("startFetching",{tag:this.tag})},components:{Timeline:i.default},computed:{tag:function(){return this.$route.params.tag},timeline:function(){return this.$store.state.statuses.timelines.tag}},watch:{tag:function(){this.$store.commit("clearTimeline",{timeline:"tag"}),this.$store.dispatch("startFetching",{tag:this.tag})}},destroyed:function(){this.$store.dispatch("stopFetching","tag")}};t.default=r},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(62),i=a(n),r=s(105),o=a(r),l=s(458),u=a(l),c=s(460),d=a(c),f={props:["timeline","timelineName","title","userId","tag"],data:function(){return{paused:!1}},computed:{timelineError:function(){return this.$store.state.statuses.error},followers:function(){return this.timeline.followers},friends:function(){return this.timeline.friends},viewing:function(){return this.timeline.viewing},newStatusCount:function(){return this.timeline.newStatusCount},newStatusCountStr:function(){return 0!==this.timeline.flushMarker?"":" ("+this.newStatusCount+")"}},components:{Status:i.default,StatusOrConversation:u.default,UserCard:d.default},created:function(){var e=this.$store,t=e.state.users.currentUser.credentials,s=0===this.timeline.visibleStatuses.length;window.addEventListener("scroll",this.scrollLoad),o.default.fetchAndUpdate({store:e,credentials:t,timeline:this.timelineName,showImmediately:s,userId:this.userId,tag:this.tag}),"user"===this.timelineName&&(this.fetchFriends(),this.fetchFollowers())},destroyed:function(){window.removeEventListener("scroll",this.scrollLoad),this.$store.commit("setLoading",{timeline:this.timelineName,value:!1})},methods:{showNewStatuses:function(){0!==this.timeline.flushMarker?(this.$store.commit("clearTimeline",{timeline:this.timelineName}),this.$store.commit("queueFlush",{timeline:this.timelineName,id:0}),this.fetchOlderStatuses()):(this.$store.commit("showNewStatuses",{timeline:this.timelineName}),this.paused=!1)},fetchOlderStatuses:function(){var e=this,t=this.$store,s=t.state.users.currentUser.credentials;t.commit("setLoading",{timeline:this.timelineName,value:!0}),o.default.fetchAndUpdate({store:t,credentials:s,timeline:this.timelineName,older:!0,showImmediately:!0,userId:this.userId,tag:this.tag}).then(function(){return t.commit("setLoading",{timeline:e.timelineName,value:!1})})},fetchFollowers:function(){var e=this,t=this.userId;this.$store.state.api.backendInteractor.fetchFollowers({id:t}).then(function(t){return e.$store.dispatch("addFollowers",{followers:t})})},fetchFriends:function(){var e=this,t=this.userId;this.$store.state.api.backendInteractor.fetchFriends({id:t}).then(function(t){return e.$store.dispatch("addFriends",{friends:t})})},scrollLoad:function(e){var t=Math.max(document.body.offsetHeight,document.body.scrollHeight);this.timeline.loading===!1&&this.$store.state.config.autoLoad&&this.$el.offsetHeight>0&&window.innerHeight+window.pageYOffset>=t-750&&this.fetchOlderStatuses()}},watch:{newStatusCount:function(e){this.$store.state.config.streaming&&e>0&&(window.pageYOffset<15&&!this.paused?this.showNewStatuses():this.paused=!0)}}};t.default=f},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(63),i=a(n),r={props:["user","showFollows"],data:function(){return{userExpanded:!1}},components:{UserCardContent:i.default},methods:{toggleUserExpanded:function(){this.userExpanded=!this.userExpanded}}};t.default=r},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s(64);t.default={props:["user","switcher"],computed:{headingStyle:function(){var e=this.$store.state.config.colors.base00;if(e){var t=(0,a.hex2rgb)(e);return console.log(t),{backgroundColor:"rgb("+Math.floor(.53*t[0])+", "+Math.floor(.56*t[1])+", "+Math.floor(.59*t[2])+")",backgroundImage:"url("+this.user.cover_photo+")"}}},bodyStyle:function(){return{background:"linear-gradient(to bottom, rgba(0, 0, 0, 0), "+this.$store.state.config.colors.base00+" 80%)"}},isOtherUser:function(){return this.user.id!==this.$store.state.users.currentUser.id},loggedIn:function(){return this.$store.state.users.currentUser},dailyAvg:function(){var e=Math.ceil((new Date-new Date(this.user.created_at))/864e5);return Math.round(this.user.statuses_count/e)}},methods:{followUser:function(){var e=this.$store;e.state.api.backendInteractor.followUser(this.user.id).then(function(t){return e.commit("addNewUsers",[t])})},unfollowUser:function(){var e=this.$store;e.state.api.backendInteractor.unfollowUser(this.user.id).then(function(t){return e.commit("addNewUsers",[t])})},blockUser:function(){var e=this.$store;e.state.api.backendInteractor.blockUser(this.user.id).then(function(t){return e.commit("addNewUsers",[t])})},unblockUser:function(){var e=this.$store;e.state.api.backendInteractor.unblockUser(this.user.id).then(function(t){return e.commit("addNewUsers",[t])})},toggleMute:function(){var e=this.$store;e.commit("setMuted",{user:this.user,muted:!this.user.muted}),e.state.api.backendInteractor.setUserMute(this.user)},setProfileView:function(e){var t=this.$store;t.commit("setProfileView",{v:e})}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s={data:function(){return{username:void 0,hidden:!0,error:!1,loading:!1}},methods:{findUser:function(e){var t=this;e="@"===e[0]?e.slice(1):e,this.loading=!0,this.$store.state.api.backendInteractor.externalProfile(e).then(function(e){t.loading=!1,t.hidden=!0,e.error?t.error=!0:(t.$store.commit("addNewUsers",[e]),t.$router.push({name:"user-profile",params:{id:e.id}}))})},toggleHidden:function(){this.hidden=!this.hidden},dismissError:function(){this.error=!1}}};t.default=s},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(448),i=a(n),r=s(160),o=a(r),l=s(63),u=a(l),c={computed:{user:function(){return this.$store.state.users.currentUser}},components:{LoginForm:i.default,PostStatusForm:o.default,UserCardContent:u.default}};t.default=c},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(63),i=a(n),r=s(29),o=a(r),l={created:function(){this.$store.commit("clearTimeline",{timeline:"user"}),this.$store.dispatch("startFetching",["user",this.userId]),this.$store.state.users.usersObject[this.userId]||this.$store.dispatch("fetchUser",this.userId)},destroyed:function(){this.$store.dispatch("stopFetching","user")},computed:{timeline:function(){return this.$store.state.statuses.timelines.user},userId:function(){return this.$route.params.id},user:function(){return this.timeline.statuses[0]?this.timeline.statuses[0].user:this.$store.state.users.usersObject[this.userId]||!1}},watch:{userId:function(){this.$store.commit("clearTimeline",{timeline:"user"}),this.$store.dispatch("startFetching",["user",this.userId])}},components:{UserCardContent:i.default,Timeline:o.default}};t.default=l},function(e,t,s){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var n=s(203),i=a(n),r=s(161),o=a(r),l={data:function(){return{newname:this.$store.state.users.currentUser.name,newbio:this.$store.state.users.currentUser.description,uploading:[!1,!1,!1],previews:[null,null,null]}},components:{StyleSwitcher:o.default},computed:{user:function(){return this.$store.state.users.currentUser}},methods:{updateProfile:function(){var e=this,t=this.newname,s=this.newbio;this.$store.state.api.backendInteractor.updateProfile({params:{name:t,description:s}}).then(function(t){t.error||(e.$store.commit("addNewUsers",[t]),e.$store.commit("setCurrentUser",t))})},uploadFile:function(e,t){var s=this,a=t.target.files[0];if(a){var n=new FileReader;n.onload=function(t){var a=t.target,n=a.result;s.previews[e]=n,s.$forceUpdate()},n.readAsDataURL(a)}},submitAvatar:function(){var e=this;if(this.previews[0]){var t=this.previews[0],s=new Image,a=void 0,n=void 0,i=void 0,r=void 0;s.src=t,s.height>s.width?(a=0,i=s.width,n=Math.floor((s.height-s.width)/2),r=s.width):(n=0,r=s.height,a=Math.floor((s.width-s.height)/2),i=s.height),this.uploading[0]=!0,this.$store.state.api.backendInteractor.updateAvatar({params:{img:t,cropX:a,cropY:n,cropW:i,cropH:r}}).then(function(t){t.error||(e.$store.commit("addNewUsers",[t]),e.$store.commit("setCurrentUser",t),e.previews[0]=null),e.uploading[0]=!1})}},submitBanner:function(){var e=this;if(this.previews[1]){var t=this.previews[1],s=new Image,a=void 0,n=void 0,r=void 0,o=void 0;s.src=t,r=s.width,o=s.height,a=0,n=0,this.uploading[1]=!0,this.$store.state.api.backendInteractor.updateBanner({params:{banner:t,offset_top:a,offset_left:n,width:r,height:o}}).then(function(t){if(!t.error){var s=JSON.parse((0,i.default)(e.$store.state.users.currentUser));s.cover_photo=t.url,e.$store.commit("addNewUsers",[s]),e.$store.commit("setCurrentUser",s),e.previews[1]=null}e.uploading[1]=!1})}},submitBg:function(){var e=this;if(this.previews[2]){var t=this.previews[2],s=new Image,a=void 0,n=void 0,r=void 0,o=void 0;s.src=t,a=0,n=0,r=s.width,o=s.width,this.uploading[2]=!0,this.$store.state.api.backendInteractor.updateBg({params:{img:t,cropX:a,cropY:n,cropW:r,cropH:o}}).then(function(t){if(!t.error){var s=JSON.parse((0,i.default)(e.$store.state.users.currentUser));s.background_image=t.url,e.$store.commit("addNewUsers",[s]),e.$store.commit("setCurrentUser",s),e.previews[2]=null}e.uploading[2]=!1})}}}};t.default=l},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){e.exports=["now",["%ss","%ss"],["%smin","%smin"],["%sh","%sh"],["%sd","%sd"],["%sw","%sw"],["%smo","%smo"],["%sy","%sy"]]},function(e,t){e.exports=["たった今","%s 秒前","%s 分前","%s 時間前","%s 日前","%s 週間前","%s ヶ月前","%s 年前"]},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,s){e.exports=s.p+"static/img/nsfw.9399fe3.png"},,function(e,t,s){s(267);var a=s(1)(s(170),s(481),null,null);e.exports=a.exports},function(e,t,s){s(266);var a=s(1)(s(171),s(480),null,null);e.exports=a.exports},function(e,t,s){s(260);var a=s(1)(s(172),s(474),null,null);e.exports=a.exports},function(e,t,s){var a=s(1)(s(173),s(484),null,null);e.exports=a.exports},function(e,t,s){s(271);var a=s(1)(s(175),s(488),null,null);e.exports=a.exports},function(e,t,s){s(273);var a=s(1)(s(176),s(490),null,null);e.exports=a.exports},function(e,t,s){var a=s(1)(s(177),s(486),null,null);e.exports=a.exports},function(e,t,s){s(263);var a=s(1)(s(178),s(477),null,null);e.exports=a.exports},function(e,t,s){s(268);var a=s(1)(s(179),s(482),null,null);e.exports=a.exports},function(e,t,s){var a=s(1)(s(180),s(472),null,null);e.exports=a.exports},function(e,t,s){s(275);var a=s(1)(s(181),s(492),null,null);e.exports=a.exports},function(e,t,s){s(255);var a=s(1)(s(182),s(465),null,null);e.exports=a.exports},function(e,t,s){var a=s(1)(s(184),s(473),null,null);e.exports=a.exports},function(e,t,s){var a=s(1)(s(185),s(483),null,null);e.exports=a.exports},function(e,t,s){s(264);var a=s(1)(s(186),s(478),null,null);e.exports=a.exports},function(e,t,s){s(259);var a=s(1)(s(187),s(471),null,null);e.exports=a.exports},function(e,t,s){s(274);var a=s(1)(s(188),s(491),null,null);e.exports=a.exports},function(e,t,s){s(262);var a=s(1)(s(190),s(476),null,null);e.exports=a.exports},function(e,t,s){var a=s(1)(s(192),s(470),null,null);e.exports=a.exports},function(e,t,s){s(276);var a=s(1)(s(194),s(494),null,null);e.exports=a.exports},function(e,t,s){s(261);var a=s(1)(s(196),s(475),null,null);e.exports=a.exports},function(e,t,s){var a=s(1)(s(197),s(493),null,null);e.exports=a.exports},function(e,t,s){s(265);var a=s(1)(s(198),s(479),null,null);e.exports=a.exports},function(e,t,s){s(270);var a=s(1)(s(199),s(487),null,null);e.exports=a.exports},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"notifications"},[s("div",{staticClass:"panel panel-default base00-background"},[s("div",{staticClass:"panel-heading base02-background base04"},[e.unseenCount?s("span",{staticClass:"unseen-count"},[e._v(e._s(e.unseenCount))]):e._e(),e._v("\n "+e._s(e.$t("notifications.notifications"))+"\n "),s("button",{staticClass:"base04 base02-background read-button",on:{click:function(t){t.preventDefault(),e.markAsSeen(t)}}},[e._v(e._s(e.$t("notifications.read")))])]),e._v(" "),s("div",{staticClass:"panel-body base03-border"},e._l(e.visibleNotifications,function(t){return s("div",{key:t,staticClass:"notification",class:{unseen:!t.seen}},[s("div",[s("a",{attrs:{href:t.action.user.statusnet_profile_url,target:"_blank"}},[s("img",{staticClass:"avatar",attrs:{src:t.action.user.profile_image_url_original}})])]),e._v(" "),s("div",{staticClass:"text",staticStyle:{width:"100%"}},["favorite"===t.type?s("div",[s("h1",[s("span",{attrs:{title:"@"+t.action.user.screen_name}},[e._v(e._s(t.action.user.name))]),e._v(" "),s("i",{staticClass:"fa icon-star lit"}),e._v(" "),s("small",[s("router-link",{attrs:{to:{name:"conversation",params:{id:t.status.id}}}},[s("timeago",{attrs:{since:t.action.created_at,"auto-update":240}})],1)],1)]),e._v(" "),s("div",{staticClass:"notification-gradient",style:e.hiderStyle}),e._v(" "),s("div",{staticClass:"notification-content",domProps:{innerHTML:e._s(t.status.statusnet_html)}})]):e._e(),e._v(" "),"repeat"===t.type?s("div",[s("h1",[s("span",{attrs:{title:"@"+t.action.user.screen_name}},[e._v(e._s(t.action.user.name))]),e._v(" "),s("i",{staticClass:"fa icon-retweet lit"}),e._v(" "),s("small",[s("router-link",{attrs:{to:{name:"conversation",params:{id:t.status.id}}}},[s("timeago",{attrs:{since:t.action.created_at,"auto-update":240}})],1)],1)]),e._v(" "),s("div",{staticClass:"notification-gradient",style:e.hiderStyle}),e._v(" "),s("div",{staticClass:"notification-content",domProps:{innerHTML:e._s(t.status.statusnet_html)}})]):e._e(),e._v(" "),"mention"===t.type?s("div",[s("h1",[s("span",{attrs:{title:"@"+t.action.user.screen_name}},[e._v(e._s(t.action.user.name))]),e._v(" "),s("i",{staticClass:"fa icon-reply lit"}),e._v(" "),s("small",[s("router-link",{attrs:{to:{name:"conversation",params:{id:t.status.id}}}},[s("timeago",{attrs:{since:t.action.created_at,"auto-update":240}})],1)],1)]),e._v(" "),s("status",{attrs:{compact:!0,statusoid:t.status}})],1):e._e(),e._v(" "),"follow"===t.type?s("div",[s("h1",[s("span",{attrs:{title:"@"+t.action.user.screen_name}},[e._v(e._s(t.action.user.name))]),e._v(" "),s("i",{staticClass:"fa icon-user-plus lit"})]),e._v(" "),s("div",[s("router-link",{attrs:{to:{name:"user-profile",params:{id:t.action.user.id}}}},[e._v("@"+e._s(t.action.user.screen_name))]),e._v(" "+e._s(e.$t("notifications.followed_you"))+"\n ")],1)]):e._e()])])}))])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"profile-panel-background",style:e.headingStyle,attrs:{id:"heading"}},[s("div",{staticClass:"panel-heading text-center"},[s("div",{staticClass:"user-info"},[e.isOtherUser?e._e():s("router-link",{staticStyle:{float:"right","margin-top":"16px"},attrs:{to:"/user-settings"}},[s("i",{staticClass:"icon-cog usersettings"})]),e._v(" "),s("div",{staticClass:"container"},[s("router-link",{attrs:{to:{name:"user-profile",params:{id:e.user.id}}}},[s("img",{attrs:{src:e.user.profile_image_url_original}})]),e._v(" "),s("span",{staticClass:"glyphicon glyphicon-user"}),e._v(" "),s("div",{staticClass:"name-and-screen-name"},[s("div",{staticClass:"user-name"},[e._v(e._s(e.user.name))]),e._v(" "),s("router-link",{attrs:{to:{name:"user-profile",params:{id:e.user.id}}}},[s("div",{staticClass:"user-screen-name"},[e._v("@"+e._s(e.user.screen_name))])])],1)],1),e._v(" "),e.isOtherUser?s("div",{staticClass:"user-interactions"},[e.user.follows_you&&e.loggedIn?s("div",{staticClass:"following base06"},[e._v("\n "+e._s(e.$t("user_card.follows_you"))+"\n ")]):e._e(),e._v(" "),e.loggedIn?s("div",{staticClass:"follow"},[e.user.following?s("span",[s("button",{staticClass:"base04 base00-background pressed",on:{click:e.unfollowUser}},[e._v("\n "+e._s(e.$t("user_card.following"))+"\n ")])]):e._e(),e._v(" "),e.user.following?e._e():s("span",[s("button",{staticClass:"base05 base02-background",on:{click:e.followUser}},[e._v("\n "+e._s(e.$t("user_card.follow"))+"\n ")])])]):e._e(),e._v(" "),e.isOtherUser?s("div",{staticClass:"mute"},[e.user.muted?s("span",[s("button",{staticClass:"base04 base00-background pressed",on:{click:e.toggleMute}},[e._v("\n "+e._s(e.$t("user_card.muted"))+"\n ")])]):e._e(),e._v(" "),e.user.muted?e._e():s("span",[s("button",{staticClass:"base05 base02-background",on:{click:e.toggleMute}},[e._v("\n "+e._s(e.$t("user_card.mute"))+"\n ")])])]):e._e(),e._v(" "),e.isOtherUser&&e.loggedIn?s("div",{staticClass:"block"},[e.user.statusnet_blocking?s("span",[s("button",{staticClass:"base04 base00-background pressed",on:{click:e.unblockUser}},[e._v("\n "+e._s(e.$t("user_card.blocked"))+"\n ")])]):e._e(),e._v(" "),e.user.statusnet_blocking?e._e():s("span",[s("button",{staticClass:"base05 base02-background",on:{click:e.blockUser}},[e._v("\n "+e._s(e.$t("user_card.block"))+"\n ")])])]):e._e()]):e._e()],1)]),e._v(" "),s("div",{staticClass:"panel-body profile-panel-body",style:e.bodyStyle},[s("div",{staticClass:"user-counts"},[s("div",{staticClass:"user-count"},[e.switcher?s("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.setProfileView("statuses")}}},[s("h5",{staticClass:"base05"},[e._v(e._s(e.$t("user_card.statuses")))])]):s("h5",[e._v(e._s(e.$t("user_card.statuses")))]),e._v(" "),s("span",{staticClass:"base05"},[e._v(e._s(e.user.statuses_count)+" "),s("br"),s("span",{staticClass:"dailyAvg"},[e._v(e._s(e.dailyAvg)+" "+e._s(e.$t("user_card.per_day")))])])]),e._v(" "),s("div",{staticClass:"user-count"},[e.switcher?s("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.setProfileView("friends")}}},[s("h5",{staticClass:"base05"},[e._v(e._s(e.$t("user_card.followees")))])]):s("h5",[e._v(e._s(e.$t("user_card.followees")))]),e._v(" "),s("span",{staticClass:"base05"},[e._v(e._s(e.user.friends_count))])]),e._v(" "),s("div",{staticClass:"user-count"},[e.switcher?s("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.setProfileView("followers")}}},[s("h5",{staticClass:"base05"},[e._v(e._s(e.$t("user_card.followers")))])]):s("h5",[e._v(e._s(e.$t("user_card.followers")))]),e._v(" "),s("span",{staticClass:"base05"},[e._v(e._s(e.user.followers_count))])])]),e._v(" "),s("p",[e._v(e._s(e.user.description))])])]);
},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return"statuses"==e.viewing?s("div",{staticClass:"timeline panel panel-default"},[s("div",{staticClass:"panel-heading timeline-heading base02-background base04"},[s("div",{staticClass:"title"},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),e.timeline.newStatusCount>0&&!e.timelineError?s("button",{staticClass:"base05 base02-background loadmore-button",on:{click:function(t){t.preventDefault(),e.showNewStatuses(t)}}},[e._v("\n "+e._s(e.$t("timeline.show_new"))+e._s(e.newStatusCountStr)+"\n ")]):e._e(),e._v(" "),e.timelineError?s("div",{staticClass:"base06 error loadmore-text",on:{click:function(e){e.preventDefault()}}},[e._v("\n "+e._s(e.$t("timeline.error_fetching"))+"\n ")]):e._e(),e._v(" "),!e.timeline.newStatusCount>0&&!e.timelineError?s("div",{staticClass:"base04 base02-background loadmore-text",on:{click:function(e){e.preventDefault()}}},[e._v("\n "+e._s(e.$t("timeline.up_to_date"))+"\n ")]):e._e()]),e._v(" "),s("div",{staticClass:"panel-body base01-background"},[s("div",{staticClass:"timeline"},[e._l(e.timeline.visibleStatuses,function(e){return s("status-or-conversation",{key:e.id,attrs:{statusoid:e}})}),e._v(" "),e.timeline.loading?s("div",{staticClass:"base02-background base03-border new-status-notification text-center"},[e._v("...")]):s("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.fetchOlderStatuses()}}},[s("div",{staticClass:"base02-background base03-border new-status-notification text-center"},[e._v(e._s(e.$t("timeline.load_older")))])])],2)])]):"followers"==e.viewing?s("div",{staticClass:"timeline panel panel-default"},[s("div",{staticClass:"panel-heading timeline-heading base02-background base04"},[s("div",{staticClass:"title"},[e._v("\n "+e._s(e.$t("user_card.followers"))+"\n ")])]),e._v(" "),s("div",{staticClass:"panel-body base01-background"},[s("div",{staticClass:"timeline"},e._l(e.followers,function(e){return s("user-card",{attrs:{user:e,showFollows:!1}})}))])]):"friends"==e.viewing?s("div",{staticClass:"timeline panel panel-default"},[s("div",{staticClass:"panel-heading timeline-heading base02-background base04"},[s("div",{staticClass:"title"},[e._v("\n "+e._s(e.$t("user_card.followees"))+"\n ")])]),e._v(" "),s("div",{staticClass:"panel-body base01-background"},[s("div",{staticClass:"timeline"},e._l(e.friends,function(e){return s("user-card",{attrs:{user:e,showFollows:!0}})}))])]):e._e()},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"post-status-form"},[s("form",{on:{submit:function(t){t.preventDefault(),e.postStatus(e.newStatus)}}},[s("div",{staticClass:"form-group base03-border"},[s("textarea",{directives:[{name:"model",rawName:"v-model",value:e.newStatus.status,expression:"newStatus.status"}],staticClass:"form-control",attrs:{placeholder:e.$t("post_status.default"),rows:"1"},domProps:{value:e.newStatus.status},on:{click:e.setCaret,keyup:[e.setCaret,function(t){return("button"in t||!e._k(t.keyCode,"enter",13))&&t.ctrlKey?void e.postStatus(e.newStatus):null}],keydown:function(t){return("button"in t||!e._k(t.keyCode,"enter",13))&&t.metaKey?void e.postStatus(e.newStatus):null},drop:e.fileDrop,dragover:function(t){t.preventDefault(),e.fileDrag(t)},input:[function(t){t.target.composing||(e.newStatus.status=t.target.value)},e.resize],paste:e.paste}})]),e._v(" "),e.candidates?s("div",{staticStyle:{position:"relative"}},[s("div",{staticClass:"autocomplete-panel base05-background"},e._l(e.candidates,function(t){return s("div",{staticClass:"autocomplete base02",on:{click:function(s){e.replace(t.screen_name+" ")}}},[s("img",{attrs:{src:t.img}}),e._v(" "),s("span",[e._v("\n "+e._s(t.screen_name)+"\n "),s("small",{staticClass:"base02"},[e._v(e._s(t.name))])])])}))]):e._e(),e._v(" "),s("div",{staticClass:"form-bottom"},[s("media-upload",{attrs:{"drop-files":e.dropFiles},on:{uploading:e.disableSubmit,uploaded:e.addMediaFile,"upload-failed":e.enableSubmit}}),e._v(" "),e.posting?s("button",{staticClass:"btn btn-default base05 base02-background",attrs:{disabled:""}},[e._v(e._s(e.$t("post_status.posting")))]):s("button",{staticClass:"btn btn-default base05 base02-background",attrs:{disabled:e.submitDisabled,type:"submit"}},[e._v(e._s(e.$t("general.submit")))])],1),e._v(" "),e.error?s("div",{staticClass:"error"},[e._v("\n Error: "+e._s(e.error)+"\n "),s("i",{staticClass:"icon-cancel",on:{click:e.clearError}})]):e._e(),e._v(" "),s("div",{staticClass:"attachments"},e._l(e.newStatus.files,function(t){return s("div",{staticClass:"media-upload-container attachment base03-border"},[s("i",{staticClass:"fa icon-cancel",on:{click:function(s){e.removeMediaFile(t)}}}),e._v(" "),"image"===e.type(t)?s("img",{staticClass:"thumbnail media-upload",attrs:{src:t.image}}):e._e(),e._v(" "),"video"===e.type(t)?s("video",{attrs:{src:t.image,controls:""}}):e._e(),e._v(" "),"audio"===e.type(t)?s("audio",{attrs:{src:t.image,controls:""}}):e._e(),e._v(" "),"unknown"===e.type(t)?s("a",{attrs:{href:t.image}},[e._v(e._s(t.url))]):e._e()])}))])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"timeline panel panel-default"},[s("div",{staticClass:"panel-heading base02-background base04 base03-border conversation-heading"},[e._v("\n "+e._s(e.$t("timeline.conversation"))+"\n "),e.collapsable?s("span",{staticStyle:{float:"right"}},[s("small",[s("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.$emit("toggleExpanded")}}},[e._v("Collapse")])])]):e._e()]),e._v(" "),s("div",{staticClass:"panel-body"},[s("div",{staticClass:"timeline"},e._l(e.conversation,function(t){return s("status",{key:t.id,attrs:{statusoid:t,expandable:!1,focused:e.focused(t.id),inConversation:!0,highlight:e.highlight,replies:e.getReplies(t.id)},on:{goto:e.setHighlight}})}))])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("Timeline",{attrs:{title:e.tag,timeline:e.timeline,"timeline-name":"tag",tag:e.tag}})},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("i",{staticClass:"icon-retweet base09",class:e.classes,on:{click:function(t){t.preventDefault(),e.retweet()}}}),e._v(" "),e.status.repeat_num>0?s("span",[e._v(e._s(e.status.repeat_num))]):e._e()])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("Timeline",{attrs:{title:e.$t("nav.mentions"),timeline:e.timeline,"timeline-name":"mentions"}})},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("Timeline",{attrs:{title:e.$t("nav.twkn"),timeline:e.timeline,"timeline-name":"publicAndExternal"}})},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"chat-panel panel panel-default"},[s("div",{staticClass:"panel-heading timeline-heading base02-background base04"},[s("div",{staticClass:"title"},[e._v("\n "+e._s(e.$t("chat.title"))+"\n ")])]),e._v(" "),s("div",{staticClass:"panel-body base01-background"},[s("div",{staticClass:"chat-window"},e._l(e.messages,function(t){return s("div",{staticClass:"chat-message"},[s("span",{staticClass:"chat-avatar"},[s("img",{attrs:{src:t.author.avatar}}),e._v("\n "+e._s(t.author.username)+":\n ")]),e._v(" "),s("span",{staticClass:"chat-text"},[e._v("\n "+e._s(t.text)+"\n ")])])})),e._v(" "),s("div",{staticClass:"chat-input"},[s("form",{on:{submit:function(t){t.preventDefault(),e.submit(e.currentMessage)}}},[s("input",{directives:[{name:"model",rawName:"v-model",value:e.currentMessage,expression:"currentMessage"}],attrs:{type:"text"},domProps:{value:e.currentMessage},on:{input:function(t){t.target.composing||(e.currentMessage=t.target.value)}}})])])])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("span",{staticClass:"user-finder-container"},[e.error?s("span",{staticClass:"finder-error base05"},[s("i",{staticClass:"icon-cancel user-finder-icon",on:{click:e.dismissError}}),e._v("\n "+e._s(e.$t("finder.error_fetching_user"))+"\n ")]):e._e(),e._v(" "),e.loading?s("i",{staticClass:"icon-spin4 user-finder-icon animate-spin-slow"}):e._e(),e._v(" "),e.hidden?s("a",{attrs:{href:"#"}},[s("i",{staticClass:"icon-user-plus user-finder-icon",on:{click:function(t){t.preventDefault(),t.stopPropagation(),e.toggleHidden(t)}}})]):s("span",[s("input",{directives:[{name:"model",rawName:"v-model",value:e.username,expression:"username"}],staticClass:"user-finder-input base03-border",attrs:{placeholder:e.$t("finder.find_user"),id:"user-finder-input",type:"text"},domProps:{value:e.username},on:{keyup:function(t){return"button"in t||!e._k(t.keyCode,"enter",13)?void e.findUser(e.username):null},input:function(t){t.target.composing||(e.username=t.target.value)}}}),e._v(" "),s("i",{staticClass:"icon-cancel user-finder-icon",on:{click:function(t){t.preventDefault(),t.stopPropagation(),e.toggleHidden(t)}}})])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[e.expanded?s("conversation",{attrs:{collapsable:!0,statusoid:e.statusoid},on:{toggleExpanded:e.toggleExpanded}}):e._e(),e._v(" "),e.expanded?e._e():s("status",{attrs:{expandable:!0,inConversation:!1,focused:!1,statusoid:e.statusoid},on:{toggleExpanded:e.toggleExpanded}})],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"login panel panel-default base00-background"},[s("div",{staticClass:"panel-heading base02-background base04"},[e._v("\n "+e._s(e.$t("login.login"))+"\n ")]),e._v(" "),s("div",{staticClass:"panel-body"},[s("form",{staticClass:"login-form",on:{submit:function(t){t.preventDefault(),e.submit(e.user)}}},[s("div",{staticClass:"form-group"},[s("label",{attrs:{for:"username"}},[e._v(e._s(e.$t("login.username")))]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.user.username,expression:"user.username"}],staticClass:"form-control",attrs:{disabled:e.loggingIn,id:"username",placeholder:"e.g. lain"},domProps:{value:e.user.username},on:{input:function(t){t.target.composing||(e.user.username=t.target.value)}}})]),e._v(" "),s("div",{staticClass:"form-group"},[s("label",{attrs:{for:"password"}},[e._v(e._s(e.$t("login.password")))]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.user.password,expression:"user.password"}],staticClass:"form-control",attrs:{disabled:e.loggingIn,id:"password",type:"password"},domProps:{value:e.user.password},on:{input:function(t){t.target.composing||(e.user.password=t.target.value)}}})]),e._v(" "),s("div",{staticClass:"form-group"},[s("div",{staticClass:"login-bottom"},[s("div",[e.registrationOpen?s("router-link",{staticClass:"register",attrs:{to:{name:"registration"}}},[e._v(e._s(e.$t("login.register")))]):e._e()],1),e._v(" "),s("button",{staticClass:"btn btn-default base04 base02-background",attrs:{disabled:e.loggingIn,type:"submit"}},[e._v(e._s(e.$t("login.login")))])])]),e._v(" "),e.authError?s("div",{staticClass:"form-group"},[s("div",{staticClass:"error base05"},[e._v(e._s(e.authError))])]):e._e()])])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"settings panel panel-default base00-background"},[s("div",{staticClass:"panel-heading base02-background base04"},[e._v("\n "+e._s(e.$t("registration.registration"))+"\n ")]),e._v(" "),s("div",{staticClass:"panel-body"},[s("form",{staticClass:"registration-form",on:{submit:function(t){t.preventDefault(),e.submit(e.user)}}},[s("div",{staticClass:"container"},[s("div",{staticClass:"text-fields"},[s("div",{staticClass:"form-group"},[s("label",{attrs:{for:"username"}},[e._v(e._s(e.$t("login.username")))]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.user.username,expression:"user.username"}],staticClass:"form-control",attrs:{disabled:e.registering,id:"username",placeholder:"e.g. lain"},domProps:{value:e.user.username},on:{input:function(t){t.target.composing||(e.user.username=t.target.value)}}})]),e._v(" "),s("div",{staticClass:"form-group"},[s("label",{attrs:{for:"fullname"}},[e._v(e._s(e.$t("registration.fullname")))]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.user.fullname,expression:"user.fullname"}],staticClass:"form-control",attrs:{disabled:e.registering,id:"fullname",placeholder:"e.g. Lain Iwakura"},domProps:{value:e.user.fullname},on:{input:function(t){t.target.composing||(e.user.fullname=t.target.value)}}})]),e._v(" "),s("div",{staticClass:"form-group"},[s("label",{attrs:{for:"email"}},[e._v(e._s(e.$t("registration.email")))]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.user.email,expression:"user.email"}],staticClass:"form-control",attrs:{disabled:e.registering,id:"email",type:"email"},domProps:{value:e.user.email},on:{input:function(t){t.target.composing||(e.user.email=t.target.value)}}})]),e._v(" "),s("div",{staticClass:"form-group"},[s("label",{attrs:{for:"bio"}},[e._v(e._s(e.$t("registration.bio")))]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.user.bio,expression:"user.bio"}],staticClass:"form-control",attrs:{disabled:e.registering,id:"bio"},domProps:{value:e.user.bio},on:{input:function(t){t.target.composing||(e.user.bio=t.target.value)}}})]),e._v(" "),s("div",{staticClass:"form-group"},[s("label",{attrs:{for:"password"}},[e._v(e._s(e.$t("login.password")))]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.user.password,expression:"user.password"}],staticClass:"form-control",attrs:{disabled:e.registering,id:"password",type:"password"},domProps:{value:e.user.password},on:{input:function(t){t.target.composing||(e.user.password=t.target.value)}}})]),e._v(" "),s("div",{staticClass:"form-group"},[s("label",{attrs:{for:"password_confirmation"}},[e._v(e._s(e.$t("registration.password_confirm")))]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.user.confirm,expression:"user.confirm"}],staticClass:"form-control",attrs:{disabled:e.registering,id:"password_confirmation",type:"password"},domProps:{value:e.user.confirm},on:{input:function(t){t.target.composing||(e.user.confirm=t.target.value)}}})]),e._v(" "),s("div",{staticClass:"form-group"},[s("button",{staticClass:"btn btn-default base05 base02-background",attrs:{disabled:e.registering,type:"submit"}},[e._v(e._s(e.$t("general.submit")))])])]),e._v(" "),s("div",{staticClass:"terms-of-service",domProps:{innerHTML:e._s(e.termsofservice)}})]),e._v(" "),e.error?s("div",{staticClass:"form-group"},[s("div",{staticClass:"error base05"},[e._v(e._s(e.error))])]):e._e()])])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[e.user?s("div",{staticClass:"user-profile panel panel-default base00-background"},[s("user-card-content",{attrs:{user:e.user,switcher:!0}})],1):e._e(),e._v(" "),s("Timeline",{attrs:{title:"User Timeline",timeline:e.timeline,"timeline-name":"user","user-id":e.userId}})],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{directives:[{name:"show",rawName:"v-show",value:!e.isEmpty,expression:"!isEmpty"}],staticClass:"attachment base03-border",class:(a={loading:e.loading},a[e.type]=!0,a)},[e.hidden?s("a",{staticClass:"image-attachment",on:{click:function(t){t.preventDefault(),e.toggleHidden()}}},[s("img",{key:e.nsfwImage,attrs:{src:e.nsfwImage}})]):e._e(),e._v(" "),e.nsfw&&e.hideNsfwLocal&&!e.hidden?s("div",{staticClass:"hider"},[s("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.toggleHidden()}}},[e._v("Hide")])]):e._e(),e._v(" "),"image"!==e.type||e.hidden?e._e():s("a",{staticClass:"image-attachment",attrs:{href:e.attachment.url,target:"_blank"}},[s("img",{staticClass:"base03-border",attrs:{referrerpolicy:"no-referrer",src:e.attachment.large_thumb_url||e.attachment.url}})]),e._v(" "),"video"!==e.type||e.hidden?e._e():s("video",{staticClass:"base03",attrs:{src:e.attachment.url,controls:"",loop:""}}),e._v(" "),"audio"===e.type?s("audio",{attrs:{src:e.attachment.url,controls:""}}):e._e(),e._v(" "),"html"===e.type&&e.attachment.oembed?s("div",{staticClass:"oembed",on:{click:function(t){t.preventDefault(),e.linkClicked(t)}}},[e.attachment.thumb_url?s("div",{staticClass:"image"},[s("img",{attrs:{src:e.attachment.thumb_url}})]):e._e(),e._v(" "),s("div",{staticClass:"text"},[s("h1",[s("a",{attrs:{href:e.attachment.url}},[e._v(e._s(e.attachment.oembed.title))])]),e._v(" "),s("div",{domProps:{innerHTML:e._s(e.attachment.oembed.oembedHTML)}})])]):e._e()]);var a},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"base02-background",style:e.style,attrs:{id:"app"}},[s("nav",{staticClass:"container base02-background base05",attrs:{id:"nav"},on:{click:function(t){e.scrollToTop()}}},[s("div",{staticClass:"inner-nav",style:e.logoStyle},[s("div",{staticClass:"item"},[s("router-link",{attrs:{to:{name:"root"}}},[e._v(e._s(e.sitename))])],1),e._v(" "),s("div",{staticClass:"item right"},[s("user-finder",{staticClass:"nav-icon"}),e._v(" "),s("router-link",{attrs:{to:{name:"settings"}}},[s("i",{staticClass:"icon-cog nav-icon"})]),e._v(" "),e.currentUser?s("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.logout(t)}}},[s("i",{staticClass:"icon-logout nav-icon",attrs:{title:e.$t("login.logout")}})]):e._e()],1)])]),e._v(" "),s("div",{staticClass:"container",attrs:{id:"content"}},[s("div",{staticClass:"panel-switcher"},[s("button",{staticClass:"base02-background base05",on:{click:function(t){e.activatePanel("sidebar")}}},[e._v("Sidebar")]),e._v(" "),s("button",{staticClass:"base02-background base05",on:{click:function(t){e.activatePanel("timeline")}}},[e._v("Timeline")])]),e._v(" "),s("div",{staticClass:"sidebar-flexer",class:{"mobile-hidden":"sidebar"!=e.mobileActivePanel}},[s("div",{staticClass:"sidebar-bounds"},[s("div",{staticClass:"sidebar-scroller"},[s("div",{staticClass:"sidebar"},[s("user-panel"),e._v(" "),s("nav-panel"),e._v(" "),e.currentUser?s("notifications"):e._e()],1)])])]),e._v(" "),s("div",{staticClass:"main",class:{"mobile-hidden":"timeline"!=e.mobileActivePanel}},[s("transition",{attrs:{name:"fade"}},[s("router-view")],1)],1)])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"media-upload",on:{drop:[function(e){e.preventDefault()},e.fileDrop],dragover:function(t){t.preventDefault(),e.fileDrag(t)}}},[s("label",{staticClass:"btn btn-default"},[e.uploading?s("i",{staticClass:"base09 icon-spin4 animate-spin"}):e._e(),e._v(" "),e.uploading?e._e():s("i",{staticClass:"base09 icon-upload"}),e._v(" "),s("input",{staticStyle:{position:"fixed",top:"-100em"},attrs:{type:"file"}})])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("Timeline",{attrs:{title:e.$t("nav.public_tl"),timeline:e.timeline,"timeline-name":"public"}})},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("conversation",{attrs:{collapsable:!1,statusoid:e.statusoid}})},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return e.compact?s("div",{staticClass:"status-el base00-background"},[s("div",{staticClass:"status-content",domProps:{innerHTML:e._s(e.status.statusnet_html)},on:{click:function(t){t.preventDefault(),e.linkClicked(t)}}}),e._v(" "),e.loggedIn?s("div",[s("div",{staticClass:"status-actions"},[s("div",[s("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.toggleReplying(t)}}},[s("i",{staticClass:"base09 icon-reply",class:{"icon-reply-active":e.replying}})])]),e._v(" "),s("retweet-button",{attrs:{status:e.status}}),e._v(" "),s("favorite-button",{attrs:{status:e.status}})],1)]):e._e(),e._v(" "),e.replying?s("post-status-form",{staticClass:"reply-body",attrs:{"reply-to":e.status.id,attentions:e.status.attentions,repliedUser:e.status.user},on:{posted:e.toggleReplying}}):e._e()],1):e.status.deleted?e._e():s("div",{staticClass:"status-el base00-background base03-border status-fadein",class:[{"base01-background":e.isFocused},{"status-conversation":e.inConversation}]},[e.muted?[s("div",{staticClass:"media status container muted"},[s("small",[s("router-link",{attrs:{to:{name:"user-profile",params:{id:e.status.user.id}}}},[e._v(e._s(e.status.user.screen_name))])],1),e._v(" "),s("small",{staticClass:"muteWords"},[e._v(e._s(e.muteWordHits.join(", ")))]),e._v(" "),s("a",{staticClass:"unmute",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.toggleMute(t)}}},[s("i",{staticClass:"base09 icon-eye-off"})])])]:e._e(),e._v(" "),e.muted?e._e():[e.retweet?s("div",{staticClass:"media container retweet-info"},[s("div",{staticClass:"media-left"},[s("i",{staticClass:"fa icon-retweet retweeted"})]),e._v(" "),s("div",{staticClass:"media-body"},[e._v("\n Repeated by "),s("a",{staticStyle:{"font-weight":"bold"},attrs:{href:e.statusoid.user.statusnet_profile_url,title:"@"+e.statusoid.user.screen_name}},[e._v(e._s(e.retweeter))])])]):e._e(),e._v(" "),s("div",{staticClass:"media status container"},[s("div",{staticClass:"media-left"},[s("a",{attrs:{href:e.status.user.statusnet_profile_url}},[s("img",{staticClass:"avatar",class:{retweeted:e.retweet},attrs:{src:e.status.user.profile_image_url_original},on:{click:function(t){t.preventDefault(),e.toggleUserExpanded(t)}}}),e._v(" "),e.retweet?s("img",{staticClass:"avatar-retweeter",attrs:{src:e.statusoid.user.profile_image_url_original}}):e._e()])]),e._v(" "),s("div",{staticClass:"media-body"},[e.userExpanded?s("div",{staticClass:"base03-border usercard"},[s("user-card-content",{attrs:{user:e.status.user,switcher:!1}})],1):e._e(),e._v(" "),s("div",{staticClass:"user-content"},[s("div",{staticClass:"media-heading"},[s("div",{staticClass:"name-and-links"},[s("h4",{staticClass:"user-name"},[e._v(e._s(e.status.user.name))]),e._v(" "),s("div",{staticClass:"links"},[s("h4",[s("small",[s("router-link",{attrs:{to:{name:"user-profile",params:{id:e.status.user.id}}}},[e._v(e._s(e.status.user.screen_name))])],1),e._v(" "),e.status.in_reply_to_screen_name?s("small",[e._v(" >\n "),s("router-link",{attrs:{to:{name:"user-profile",params:{id:e.status.in_reply_to_user_id}}}},[e._v("\n "+e._s(e.status.in_reply_to_screen_name)+"\n ")])],1):e._e(),e._v(" "),e.isReply?[s("small",[s("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.gotoOriginal(e.status.in_reply_to_status_id)}}},[s("i",{staticClass:"icon-reply",on:{mouseenter:function(t){e.replyEnter(e.status.in_reply_to_status_id,t)},mouseout:function(t){e.replyLeave()}}})])])]:e._e(),e._v("\n -\n "),s("small",[s("router-link",{attrs:{to:{name:"conversation",params:{id:e.status.id}}}},[s("timeago",{attrs:{since:e.status.created_at,"auto-update":60}})],1)],1)],2)]),e._v(" "),e.inConversation?s("h4",{staticClass:"replies"},[e.replies.length?s("small",[e._v("Replies:")]):e._e(),e._v(" "),e._l(e.replies,function(t){return s("small",[s("a",{attrs:{href:"#"},on:{click:function(s){s.preventDefault(),e.gotoOriginal(t.id)},mouseenter:function(s){e.replyEnter(t.id,s)},mouseout:function(t){e.replyLeave()}}},[e._v(e._s(t.name)+" ")])])})],2):e._e()]),e._v(" "),s("div",{staticClass:"heading-icons"},[e.unmuted?s("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.toggleMute(t)}}},[s("i",{staticClass:"base09 icon-eye-off"})]):e._e(),e._v(" "),e.status.is_local?e._e():s("a",{staticClass:"source_url",attrs:{href:e.status.external_url,target:"_blank"}},[s("i",{staticClass:"base09 icon-binoculars"})]),e._v(" "),e.expandable?[s("a",{staticClass:"expand",attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.toggleExpanded(t)}}},[s("i",{staticClass:"base09 icon-plus-squared"})])]:e._e()],2)]),e._v(" "),e.showPreview&&e.preview?s("div",{staticClass:"status-preview base00-background base03-border"},[s("img",{staticClass:"avatar",attrs:{src:e.preview.user.profile_image_url_original}}),e._v(" "),s("div",{staticClass:"text"},[s("h4",[e._v("\n "+e._s(e.preview.user.name)+"\n "),s("small",[s("a",[e._v(e._s(e.preview.user.screen_name))])])]),e._v(" "),s("div",{staticClass:"status-content",domProps:{innerHTML:e._s(e.preview.statusnet_html)},on:{click:function(t){t.preventDefault(),e.linkClicked(t)}}})])]):e.showPreview?s("div",{staticClass:"status-preview status-preview-loading base00-background base03-border"},[s("i",{staticClass:"base09 icon-spin4 animate-spin"})]):e._e(),e._v(" "),s("div",{staticClass:"status-content",domProps:{innerHTML:e._s(e.status.statusnet_html)},on:{click:function(t){t.preventDefault(),e.linkClicked(t)}}}),e._v(" "),e.status.attachments?s("div",{staticClass:"attachments"},e._l(e.status.attachments,function(t){return e.hideAttachments?e._e():s("attachment",{attrs:{"status-id":e.status.id,nsfw:e.status.nsfw,attachment:t}})})):e._e()]),e._v(" "),e.loggedIn?s("div",[s("div",{staticClass:"status-actions"},[s("div",[s("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.toggleReplying(t)}}},[s("i",{staticClass:"base09 icon-reply",class:{"icon-reply-active":e.replying}})])]),e._v(" "),s("retweet-button",{attrs:{status:e.status}}),e._v(" "),s("favorite-button",{attrs:{status:e.status}}),e._v(" "),s("delete-button",{attrs:{status:e.status}})],1)]):e._e()])]),e._v(" "),e.replying?s("div",{staticClass:"status base00-background container"},[s("div",{staticClass:"reply-left"}),e._v(" "),s("post-status-form",{staticClass:"reply-body",attrs:{"reply-to":e.status.id,attentions:e.status.attentions,repliedUser:e.status.user},on:{posted:e.toggleReplying}})],1):e._e()]],2)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("Timeline",{attrs:{title:e.$t("nav.timeline"),timeline:e.timeline,"timeline-name":"friends"}})},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"settings panel panel-default base00-background"},[s("div",{staticClass:"panel-heading base02-background base04"},[e._v("\n "+e._s(e.$t("settings.user_settings"))+"\n ")]),e._v(" "),s("div",{staticClass:"panel-body profile-edit"},[s("div",{staticClass:"setting-item"},[s("h3",[e._v(e._s(e.$t("settings.name_bio")))]),e._v(" "),s("p",[e._v(e._s(e.$t("settings.name")))]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.newname,expression:"newname"}],staticClass:"name-changer base03-border",attrs:{id:"username"},domProps:{value:e.user.screen_name,value:e.newname},on:{input:function(t){t.target.composing||(e.newname=t.target.value)}}}),e._v(" "),s("p",[e._v(e._s(e.$t("settings.bio")))]),e._v(" "),s("textarea",{directives:[{name:"model",rawName:"v-model",value:e.newbio,expression:"newbio"}],staticClass:"bio base03-border",domProps:{value:e.newbio},on:{input:function(t){t.target.composing||(e.newbio=t.target.value)}}}),e._v(" "),s("button",{staticClass:"btn btn-default base05 base02-background",attrs:{disabled:e.newname.length<=0},on:{click:e.updateProfile}},[e._v(e._s(e.$t("general.submit")))])]),e._v(" "),s("div",{staticClass:"setting-item"},[s("h3",[e._v(e._s(e.$t("settings.avatar")))]),e._v(" "),s("p",[e._v(e._s(e.$t("settings.current_avatar")))]),e._v(" "),s("img",{staticClass:"old-avatar",attrs:{src:e.user.profile_image_url_original}}),e._v(" "),s("p",[e._v(e._s(e.$t("settings.set_new_avatar")))]),e._v(" "),e.previews[0]?s("img",{staticClass:"new-avatar",attrs:{src:e.previews[0]}}):e._e(),e._v(" "),s("div",[s("input",{attrs:{type:"file"},on:{change:function(t){e.uploadFile(0,t)}}})]),e._v(" "),e.uploading[0]?s("i",{staticClass:"base09 icon-spin4 animate-spin"}):e.previews[0]?s("button",{staticClass:"btn btn-default base05 base02-background",on:{click:e.submitAvatar}},[e._v(e._s(e.$t("general.submit")))]):e._e()]),e._v(" "),s("div",{staticClass:"setting-item"},[s("h3",[e._v(e._s(e.$t("settings.profile_banner")))]),e._v(" "),s("p",[e._v(e._s(e.$t("settings.current_profile_banner")))]),e._v(" "),s("img",{staticClass:"banner",attrs:{src:e.user.cover_photo}}),e._v(" "),s("p",[e._v(e._s(e.$t("settings.set_new_profile_banner")))]),e._v(" "),e.previews[1]?s("img",{staticClass:"banner",attrs:{src:e.previews[1]}}):e._e(),e._v(" "),s("div",[s("input",{attrs:{type:"file"},on:{change:function(t){e.uploadFile(1,t)}}})]),e._v(" "),e.uploading[1]?s("i",{staticClass:"base09 icon-spin4 animate-spin uploading"}):e.previews[1]?s("button",{staticClass:"btn btn-default base05 base02-background",on:{click:e.submitBanner}},[e._v(e._s(e.$t("general.submit")))]):e._e()]),e._v(" "),s("div",{staticClass:"setting-item"},[s("h3",[e._v(e._s(e.$t("settings.profile_background")))]),e._v(" "),s("p",[e._v(e._s(e.$t("settings.set_new_profile_background")))]),e._v(" "),e.previews[2]?s("img",{staticClass:"bg",attrs:{src:e.previews[2]}}):e._e(),e._v(" "),s("div",[s("input",{attrs:{type:"file"},on:{change:function(t){e.uploadFile(2,t)}}})]),e._v(" "),e.uploading[2]?s("i",{staticClass:"base09 icon-spin4 animate-spin uploading"}):e.previews[2]?s("button",{staticClass:"btn btn-default base05 base02-background",on:{click:e.submitBg}},[e._v(e._s(e.$t("general.submit")))]):e._e()])])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return e.canDelete?s("div",[s("a",{attrs:{href:"#"},on:{click:function(t){t.preventDefault(),e.deleteStatus()}}},[s("i",{staticClass:"base09 icon-cancel delete-status"})])]):e._e()},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("p",[e._v(e._s(e.$t("settings.presets")))]),e._v(" "),s("select",{directives:[{name:"model",rawName:"v-model",value:e.selected,expression:"selected"}],staticClass:"style-switcher",on:{change:function(t){var s=Array.prototype.filter.call(t.target.options,function(e){return e.selected}).map(function(e){var t="_value"in e?e._value:e.value;return t});e.selected=t.target.multiple?s:s[0]}}},e._l(e.availableStyles,function(t){return s("option",{domProps:{value:t}},[e._v(e._s(t[0]))])})),e._v(" "),s("p",[e._v(e._s(e.$t("settings.theme_help")))]),e._v(" "),s("div",{staticClass:"color-container"},[s("div",{staticClass:"color-item"},[s("label",{staticClass:"base04",attrs:{for:"bgcolor"}},[e._v(e._s(e.$t("settings.background")))]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.bgColorLocal,expression:"bgColorLocal"}],staticClass:"theme-color-in",attrs:{id:"bgcolor",type:"text"},domProps:{value:e.bgColorLocal},on:{input:function(t){t.target.composing||(e.bgColorLocal=t.target.value)}}})]),e._v(" "),s("div",{staticClass:"color-item"},[s("label",{staticClass:"base04",attrs:{for:"fgcolor"}},[e._v(e._s(e.$t("settings.foreground")))]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.fgColorLocal,expression:"fgColorLocal"}],staticClass:"theme-color-in",attrs:{id:"fgcolor",type:"text"},domProps:{value:e.fgColorLocal},on:{input:function(t){t.target.composing||(e.fgColorLocal=t.target.value)}}})]),e._v(" "),s("div",{staticClass:"color-item"},[s("label",{staticClass:"base04",attrs:{for:"textcolor"}},[e._v(e._s(e.$t("settings.text")))]),e._v(" "),s("input",{
directives:[{name:"model",rawName:"v-model",value:e.textColorLocal,expression:"textColorLocal"}],staticClass:"theme-color-in",attrs:{id:"textcolor",type:"text"},domProps:{value:e.textColorLocal},on:{input:function(t){t.target.composing||(e.textColorLocal=t.target.value)}}})]),e._v(" "),s("div",{staticClass:"color-item"},[s("label",{staticClass:"base04",attrs:{for:"linkcolor"}},[e._v(e._s(e.$t("settings.links")))]),e._v(" "),s("input",{directives:[{name:"model",rawName:"v-model",value:e.linkColorLocal,expression:"linkColorLocal"}],staticClass:"theme-color-in",attrs:{id:"linkcolor",type:"text"},domProps:{value:e.linkColorLocal},on:{input:function(t){t.target.composing||(e.linkColorLocal=t.target.value)}}})])]),e._v(" "),s("div",[s("div",{staticClass:"panel"},[s("div",{staticClass:"panel-heading",style:{"background-color":e.fgColorLocal,color:e.textColorLocal}},[e._v("Preview")]),e._v(" "),s("div",{staticClass:"panel-body theme-preview-content",style:{"background-color":e.bgColorLocal,color:e.textColorLocal}},[s("h4",[e._v("Content")]),e._v(" "),s("br"),e._v("\n A bunch of more content and\n "),s("a",{style:{color:e.linkColorLocal}},[e._v("a nice lil' link")]),e._v(" "),s("br"),e._v(" "),s("button",{staticClass:"btn",style:{"background-color":e.fgColorLocal,color:e.textColorLocal}},[e._v("Button")])])])]),e._v(" "),s("button",{staticClass:"btn base02-background base04",on:{click:e.setCustomTheme}},[e._v(e._s(e.$t("general.apply")))])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",[s("i",{staticClass:"favorite-button base09",class:e.classes,on:{click:function(t){t.preventDefault(),e.favorite()}}}),e._v(" "),e.status.fave_num>0?s("span",[e._v(e._s(e.status.fave_num))]):e._e()])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"settings panel panel-default base00-background"},[s("div",{staticClass:"panel-heading base02-background base04"},[e._v("\n "+e._s(e.$t("settings.settings"))+"\n ")]),e._v(" "),s("div",{staticClass:"panel-body"},[s("div",{staticClass:"setting-item"},[s("h2",[e._v(e._s(e.$t("settings.theme")))]),e._v(" "),s("style-switcher")],1),e._v(" "),s("div",{staticClass:"setting-item"},[s("h2",[e._v(e._s(e.$t("settings.filtering")))]),e._v(" "),s("p",[e._v(e._s(e.$t("settings.filtering_explanation")))]),e._v(" "),s("textarea",{directives:[{name:"model",rawName:"v-model",value:e.muteWordsString,expression:"muteWordsString"}],attrs:{id:"muteWords"},domProps:{value:e.muteWordsString},on:{input:function(t){t.target.composing||(e.muteWordsString=t.target.value)}}})]),e._v(" "),s("div",{staticClass:"setting-item"},[s("h2",[e._v(e._s(e.$t("settings.attachments")))]),e._v(" "),s("ul",{staticClass:"setting-list"},[s("li",[s("input",{directives:[{name:"model",rawName:"v-model",value:e.hideAttachmentsLocal,expression:"hideAttachmentsLocal"}],attrs:{type:"checkbox",id:"hideAttachments"},domProps:{checked:Array.isArray(e.hideAttachmentsLocal)?e._i(e.hideAttachmentsLocal,null)>-1:e.hideAttachmentsLocal},on:{__c:function(t){var s=e.hideAttachmentsLocal,a=t.target,n=!!a.checked;if(Array.isArray(s)){var i=null,r=e._i(s,i);n?r<0&&(e.hideAttachmentsLocal=s.concat(i)):r>-1&&(e.hideAttachmentsLocal=s.slice(0,r).concat(s.slice(r+1)))}else e.hideAttachmentsLocal=n}}}),e._v(" "),s("label",{attrs:{for:"hideAttachments"}},[e._v(e._s(e.$t("settings.hide_attachments_in_tl")))])]),e._v(" "),s("li",[s("input",{directives:[{name:"model",rawName:"v-model",value:e.hideAttachmentsInConvLocal,expression:"hideAttachmentsInConvLocal"}],attrs:{type:"checkbox",id:"hideAttachmentsInConv"},domProps:{checked:Array.isArray(e.hideAttachmentsInConvLocal)?e._i(e.hideAttachmentsInConvLocal,null)>-1:e.hideAttachmentsInConvLocal},on:{__c:function(t){var s=e.hideAttachmentsInConvLocal,a=t.target,n=!!a.checked;if(Array.isArray(s)){var i=null,r=e._i(s,i);n?r<0&&(e.hideAttachmentsInConvLocal=s.concat(i)):r>-1&&(e.hideAttachmentsInConvLocal=s.slice(0,r).concat(s.slice(r+1)))}else e.hideAttachmentsInConvLocal=n}}}),e._v(" "),s("label",{attrs:{for:"hideAttachmentsInConv"}},[e._v(e._s(e.$t("settings.hide_attachments_in_convo")))])]),e._v(" "),s("li",[s("input",{directives:[{name:"model",rawName:"v-model",value:e.hideNsfwLocal,expression:"hideNsfwLocal"}],attrs:{type:"checkbox",id:"hideNsfw"},domProps:{checked:Array.isArray(e.hideNsfwLocal)?e._i(e.hideNsfwLocal,null)>-1:e.hideNsfwLocal},on:{__c:function(t){var s=e.hideNsfwLocal,a=t.target,n=!!a.checked;if(Array.isArray(s)){var i=null,r=e._i(s,i);n?r<0&&(e.hideNsfwLocal=s.concat(i)):r>-1&&(e.hideNsfwLocal=s.slice(0,r).concat(s.slice(r+1)))}else e.hideNsfwLocal=n}}}),e._v(" "),s("label",{attrs:{for:"hideNsfw"}},[e._v(e._s(e.$t("settings.nsfw_clickthrough")))])]),e._v(" "),s("li",[s("input",{directives:[{name:"model",rawName:"v-model",value:e.autoLoadLocal,expression:"autoLoadLocal"}],attrs:{type:"checkbox",id:"autoLoad"},domProps:{checked:Array.isArray(e.autoLoadLocal)?e._i(e.autoLoadLocal,null)>-1:e.autoLoadLocal},on:{__c:function(t){var s=e.autoLoadLocal,a=t.target,n=!!a.checked;if(Array.isArray(s)){var i=null,r=e._i(s,i);n?r<0&&(e.autoLoadLocal=s.concat(i)):r>-1&&(e.autoLoadLocal=s.slice(0,r).concat(s.slice(r+1)))}else e.autoLoadLocal=n}}}),e._v(" "),s("label",{attrs:{for:"autoLoad"}},[e._v(e._s(e.$t("settings.autoload")))])]),e._v(" "),s("li",[s("input",{directives:[{name:"model",rawName:"v-model",value:e.streamingLocal,expression:"streamingLocal"}],attrs:{type:"checkbox",id:"streaming"},domProps:{checked:Array.isArray(e.streamingLocal)?e._i(e.streamingLocal,null)>-1:e.streamingLocal},on:{__c:function(t){var s=e.streamingLocal,a=t.target,n=!!a.checked;if(Array.isArray(s)){var i=null,r=e._i(s,i);n?r<0&&(e.streamingLocal=s.concat(i)):r>-1&&(e.streamingLocal=s.slice(0,r).concat(s.slice(r+1)))}else e.streamingLocal=n}}}),e._v(" "),s("label",{attrs:{for:"streaming"}},[e._v(e._s(e.$t("settings.streaming")))])]),e._v(" "),s("li",[s("input",{directives:[{name:"model",rawName:"v-model",value:e.hoverPreviewLocal,expression:"hoverPreviewLocal"}],attrs:{type:"checkbox",id:"hoverPreview"},domProps:{checked:Array.isArray(e.hoverPreviewLocal)?e._i(e.hoverPreviewLocal,null)>-1:e.hoverPreviewLocal},on:{__c:function(t){var s=e.hoverPreviewLocal,a=t.target,n=!!a.checked;if(Array.isArray(s)){var i=null,r=e._i(s,i);n?r<0&&(e.hoverPreviewLocal=s.concat(i)):r>-1&&(e.hoverPreviewLocal=s.slice(0,r).concat(s.slice(r+1)))}else e.hoverPreviewLocal=n}}}),e._v(" "),s("label",{attrs:{for:"hoverPreview"}},[e._v(e._s(e.$t("settings.reply_link_preview")))])])])])])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"nav-panel"},[s("div",{staticClass:"panel panel-default base01-background"},[s("ul",{staticClass:"base03-border"},[e.currentUser?s("li",[s("router-link",{staticClass:"base00-background",attrs:{to:"/main/friends"}},[e._v("\n "+e._s(e.$t("nav.timeline"))+"\n ")])],1):e._e(),e._v(" "),e.currentUser?s("li",[s("router-link",{staticClass:"base00-background",attrs:{to:"/chat"}},[e._v("\n "+e._s(e.$t("nav.chat"))+"\n ")])],1):e._e(),e._v(" "),e.currentUser?s("li",[s("router-link",{staticClass:"base00-background",attrs:{to:{name:"mentions",params:{username:e.currentUser.screen_name}}}},[e._v("\n "+e._s(e.$t("nav.mentions"))+"\n ")])],1):e._e(),e._v(" "),s("li",[s("router-link",{staticClass:"base00-background",attrs:{to:"/main/public"}},[e._v("\n "+e._s(e.$t("nav.public_tl"))+"\n ")])],1),e._v(" "),s("li",[s("router-link",{staticClass:"base00-background",attrs:{to:"/main/all"}},[e._v("\n "+e._s(e.$t("nav.twkn"))+"\n ")])],1)])])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"user-panel"},[e.user?s("div",{staticClass:"panel panel-default",staticStyle:{overflow:"visible"}},[s("user-card-content",{attrs:{user:e.user,switcher:!1}}),e._v(" "),s("div",{staticClass:"panel-footer base00-background"},[e.user?s("post-status-form"):e._e()],1)],1):e._e(),e._v(" "),e.user?e._e():s("login-form")],1)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"card base00-background"},[s("a",{attrs:{href:"#"}},[s("img",{staticClass:"avatar",attrs:{src:e.user.profile_image_url},on:{click:function(t){t.preventDefault(),e.toggleUserExpanded(t)}}})]),e._v(" "),e.userExpanded?s("div",{staticClass:"usercard"},[s("user-card-content",{attrs:{user:e.user,switcher:!1}})],1):s("div",{staticClass:"name-and-screen-name"},[s("div",{staticClass:"user-name"},[e._v("\n "+e._s(e.user.name)+"\n "),!e.userExpanded&&e.showFollows&&e.user.follows_you?s("span",{staticClass:"follows-you"},[e._v("\n "+e._s(e.$t("user_card.follows_you"))+"\n ")]):e._e()]),e._v(" "),s("a",{attrs:{href:e.user.statusnet_profile_url,target:"blank"}},[s("div",{staticClass:"user-screen-name"},[e._v("@"+e._s(e.user.screen_name))])])])])},staticRenderFns:[]}}]);
//# sourceMappingURL=app.fefccf252cac9e1310ea.js.map