diff --git a/config/config.exs b/config/config.exs index d3f9cf6e4..826dd07b7 100644 --- a/config/config.exs +++ b/config/config.exs @@ -56,6 +56,8 @@ rewrite_policy: Pleroma.Web.ActivityPub.MRF.NoOpPolicy, public: true +config :pleroma, :activitypub, accept_blocks: true + config :pleroma, :mrf_simple, media_removal: [], media_nsfw: [], diff --git a/config/test.exs b/config/test.exs index 0c73f892a..1bd11dee4 100644 --- a/config/test.exs +++ b/config/test.exs @@ -21,7 +21,7 @@ pool: Ecto.Adapters.SQL.Sandbox # Reduce hash rounds for testing -config :comeonin, :pbkdf2_rounds, 1 +config :pbkdf2_elixir, rounds: 1 config :pleroma, :websub, Pleroma.Web.WebsubMock config :pleroma, :ostatus, Pleroma.Web.OStatusMock diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx index 44905da49..b6ca30cc9 100644 --- a/installation/pleroma.nginx +++ b/installation/pleroma.nginx @@ -52,8 +52,9 @@ server { # if you do not want remote frontends to be able to access your Pleroma backend # server, remove these lines. add_header 'Access-Control-Allow-Origin' '*' always; - add_header 'Access-Control-Allow-Methods' 'POST, GET, OPTIONS' always; - add_header 'Access-Control-Allow-Headers' 'Authorization, Content-Type' always; + add_header 'Access-Control-Allow-Methods' 'POST, PUT, DELETE, GET, PATCH, OPTIONS' always; + add_header 'Access-Control-Allow-Headers' 'Authorization, Content-Type, Idempotency-Key' always; + add_header 'Access-Control-Expose-Headers' 'Link, X-RateLimit-Reset, X-RateLimit-Limit, X-RateLimit-Remaining, X-Request-Id' always; if ($request_method = OPTIONS) { return 204; } diff --git a/lib/pleroma/application.ex b/lib/pleroma/application.ex index e1e3bcd63..a89728471 100644 --- a/lib/pleroma/application.ex +++ b/lib/pleroma/application.ex @@ -5,6 +5,7 @@ defmodule Pleroma.Application do # for more information on OTP Applications def start(_type, _args) do import Supervisor.Spec + import Cachex.Spec # Define workers and child supervisors to be supervised children = @@ -28,8 +29,11 @@ def start(_type, _args) do [ :idempotency_cache, [ - default_ttl: :timer.seconds(6 * 60 * 60), - ttl_interval: :timer.seconds(60), + expiration: + expiration( + default: :timer.seconds(6 * 60 * 60), + interval: :timer.seconds(60) + ), limit: 2500 ] ], diff --git a/lib/pleroma/list.ex b/lib/pleroma/list.ex new file mode 100644 index 000000000..9d0b9285b --- /dev/null +++ b/lib/pleroma/list.ex @@ -0,0 +1,87 @@ +defmodule Pleroma.List do + use Ecto.Schema + import Ecto.{Changeset, Query} + alias Pleroma.{User, Repo} + + schema "lists" do + belongs_to(:user, Pleroma.User) + field(:title, :string) + field(:following, {:array, :string}, default: []) + + timestamps() + end + + def title_changeset(list, attrs \\ %{}) do + list + |> cast(attrs, [:title]) + |> validate_required([:title]) + end + + def follow_changeset(list, attrs \\ %{}) do + list + |> cast(attrs, [:following]) + |> validate_required([:following]) + end + + def for_user(user, opts) do + query = + from( + l in Pleroma.List, + where: l.user_id == ^user.id, + order_by: [desc: l.id], + limit: 50 + ) + + Repo.all(query) + end + + def get(id, %{id: user_id} = _user) do + query = + from( + l in Pleroma.List, + where: l.id == ^id, + where: l.user_id == ^user_id + ) + + Repo.one(query) + end + + def get_following(%Pleroma.List{following: following} = list) do + q = + from( + u in User, + where: u.follower_address in ^following + ) + + {:ok, Repo.all(q)} + end + + def rename(%Pleroma.List{} = list, title) do + list + |> title_changeset(%{title: title}) + |> Repo.update() + end + + def create(title, %User{} = creator) do + list = %Pleroma.List{user_id: creator.id, title: title} + Repo.insert(list) + end + + def follow(%Pleroma.List{following: following} = list, %User{} = followed) do + update_follows(list, %{following: Enum.uniq([followed.follower_address | following])}) + end + + def unfollow(%Pleroma.List{following: following} = list, %User{} = unfollowed) do + update_follows(list, %{following: List.delete(following, unfollowed.follower_address)}) + end + + def delete(%Pleroma.List{} = list) do + Repo.delete(list) + end + + def update_follows(%Pleroma.List{} = list, attrs) do + list + |> follow_changeset(attrs) + |> Repo.update() + end +end diff --git a/lib/pleroma/object.ex b/lib/pleroma/object.ex index 558e151b0..ff2af4a6f 100644 --- a/lib/pleroma/object.ex +++ b/lib/pleroma/object.ex @@ -33,19 +33,15 @@ def get_cached_by_ap_id(ap_id) do else key = "object:#{ap_id}" - Cachex.get!( - :user_cache, - key, - fallback: fn _ -> - object = get_by_ap_id(ap_id) + Cachex.fetch!(:user_cache, key, fn _ -> + object = get_by_ap_id(ap_id) - if object do - {:commit, object} - else - {:ignore, object} - end + if object do + {:commit, object} + else + {:ignore, object} end - ) + end) end end diff --git a/lib/pleroma/plugs/http_signature.ex b/lib/pleroma/plugs/http_signature.ex index 2d0e10cad..38bcd3a78 100644 --- a/lib/pleroma/plugs/http_signature.ex +++ b/lib/pleroma/plugs/http_signature.ex @@ -13,7 +13,7 @@ def call(%{assigns: %{valid_signature: true}} = conn, _opts) do end def call(conn, _opts) do - user = Utils.normalize_actor(conn.params["actor"]) + user = Utils.get_ap_id(conn.params["actor"]) Logger.debug("Checking sig for #{user}") [signature | _] = get_req_header(conn, "signature") diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index 6a8129ac8..b1b935a0f 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -67,7 +67,8 @@ def user_info(%User{} = user) do %{ following_count: length(user.following) - oneself, note_count: user.info["note_count"] || 0, - follower_count: user.info["follower_count"] || 0 + follower_count: user.info["follower_count"] || 0, + locked: user.info["locked"] || false } end @@ -167,28 +168,62 @@ def register_changeset(struct, params \\ %{}) do end end + def maybe_direct_follow(%User{} = follower, %User{info: info} = followed) do + user_info = user_info(followed) + + should_direct_follow = + cond do + # if the account is locked, don't pre-create the relationship + user_info["locked"] == true -> + false + + # if the users are blocking each other, we shouldn't even be here, but check for it anyway + User.blocks?(follower, followed) == true or User.blocks?(followed, follower) == true -> + false + + # if OStatus, then there is no three-way handshake to follow + User.ap_enabled?(followed) != true -> + true + + # if there are no other reasons not to, just pre-create the relationship + true -> + true + end + + if should_direct_follow do + follow(follower, followed) + else + follower + end + end + def follow(%User{} = follower, %User{info: info} = followed) do ap_followers = followed.follower_address - if following?(follower, followed) or info["deactivated"] do - {:error, "Could not follow user: #{followed.nickname} is already on your list."} - else - if !followed.local && follower.local && !ap_enabled?(followed) do - Websub.subscribe(follower, followed) - end + cond do + following?(follower, followed) or info["deactivated"] -> + {:error, "Could not follow user: #{followed.nickname} is already on your list."} - following = - [ap_followers | follower.following] - |> Enum.uniq() + blocks?(followed, follower) -> + {:error, "Could not follow user: #{followed.nickname} blocked you."} + + true -> + if !followed.local && follower.local && !ap_enabled?(followed) do + Websub.subscribe(follower, followed) + end + + following = + [ap_followers | follower.following] + |> Enum.uniq() + + follower = + follower + |> follow_changeset(%{following: following}) + |> update_and_set_cache + + {:ok, _} = update_follower_count(followed) - follower = follower - |> follow_changeset(%{following: following}) - |> update_and_set_cache - - {:ok, _} = update_follower_count(followed) - - follower end end @@ -223,9 +258,9 @@ def get_by_ap_id(ap_id) do def update_and_set_cache(changeset) do with {:ok, user} <- Repo.update(changeset) do - Cachex.set(:user_cache, "ap_id:#{user.ap_id}", user) - Cachex.set(:user_cache, "nickname:#{user.nickname}", user) - Cachex.set(:user_cache, "user_info:#{user.id}", user_info(user)) + Cachex.put(:user_cache, "ap_id:#{user.ap_id}", user) + Cachex.put(:user_cache, "nickname:#{user.nickname}", user) + Cachex.put(:user_cache, "user_info:#{user.id}", user_info(user)) {:ok, user} else e -> e @@ -239,12 +274,12 @@ def invalidate_cache(user) do def get_cached_by_ap_id(ap_id) do key = "ap_id:#{ap_id}" - Cachex.get!(:user_cache, key, fallback: fn _ -> get_by_ap_id(ap_id) end) + Cachex.fetch!(:user_cache, key, fn _ -> get_by_ap_id(ap_id) end) end def get_cached_by_nickname(nickname) do key = "nickname:#{nickname}" - Cachex.get!(:user_cache, key, fallback: fn _ -> get_or_fetch_by_nickname(nickname) end) + Cachex.fetch!(:user_cache, key, fn _ -> get_or_fetch_by_nickname(nickname) end) end def get_by_nickname(nickname) do @@ -260,7 +295,7 @@ def get_by_nickname_or_email(nickname_or_email) do def get_cached_user_info(user) do key = "user_info:#{user.id}" - Cachex.get!(:user_cache, key, fallback: fn _ -> user_info(user) end) + Cachex.fetch!(:user_cache, key, fn _ -> user_info(user) end) end def fetch_by_nickname(nickname) do diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index f07e26afd..d54dc224d 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -104,6 +104,17 @@ def accept(%{to: to, actor: actor, object: object} = params) do end end + def reject(%{to: to, actor: actor, object: object} = params) do + # only accept false as false value + local = !(params[:local] == false) + + with data <- %{"to" => to, "type" => "Reject", "actor" => actor, "object" => object}, + {:ok, activity} <- insert(data, local), + :ok <- maybe_federate(activity) do + {:ok, activity} + end + end + def update(%{to: to, cc: cc, actor: actor, object: object} = params) do # only accept false as false value local = !(params[:local] == false) @@ -201,12 +212,11 @@ def follow(follower, followed, activity_id \\ nil, local \\ true) do end end - def unfollow(follower, followed, local \\ true) do + def unfollow(follower, followed, activity_id \\ nil, local \\ true) do with %Activity{} = follow_activity <- fetch_latest_follow(follower, followed), - unfollow_data <- make_unfollow_data(follower, followed, follow_activity), + unfollow_data <- make_unfollow_data(follower, followed, follow_activity, activity_id), {:ok, activity} <- insert(unfollow_data, local), - :ok, - maybe_federate(activity) do + :ok <- maybe_federate(activity) do {:ok, activity} end end @@ -230,6 +240,29 @@ def delete(%Object{data: %{"id" => id, "actor" => actor}} = object, local \\ tru end end + def block(blocker, blocked, activity_id \\ nil, local \\ true) do + follow_activity = fetch_latest_follow(blocker, blocked) + + if follow_activity do + unfollow(blocker, blocked, nil, local) + end + + with block_data <- make_block_data(blocker, blocked, activity_id), + {:ok, activity} <- insert(block_data, local), + :ok <- maybe_federate(activity) do + {:ok, activity} + end + end + + def unblock(blocker, blocked, activity_id \\ nil, local \\ true) do + with %Activity{} = block_activity <- fetch_latest_block(blocker, blocked), + unblock_data <- make_unblock_data(blocker, blocked, block_activity, activity_id), + {:ok, activity} <- insert(unblock_data, local), + :ok <- maybe_federate(activity) do + {:ok, activity} + end + end + def fetch_activities_for_context(context, opts \\ %{}) do public = ["https://www.w3.org/ns/activitystreams#Public"] @@ -476,6 +509,7 @@ def user_data_from_user_object(data) do "url" => [%{"href" => data["image"]["url"]}] } + locked = data["manuallyApprovesFollowers"] || false data = Transmogrifier.maybe_fix_user_object(data) user_data = %{ @@ -483,7 +517,8 @@ def user_data_from_user_object(data) do info: %{ "ap_enabled" => true, "source_data" => data, - "banner" => banner + "banner" => banner, + "locked" => locked }, avatar: avatar, nickname: "#{data["preferredUsername"]}@#{URI.parse(data["id"]).host}", diff --git a/lib/pleroma/web/activity_pub/transmogrifier.ex b/lib/pleroma/web/activity_pub/transmogrifier.ex index a31452a63..3c9377be9 100644 --- a/lib/pleroma/web/activity_pub/transmogrifier.ex +++ b/lib/pleroma/web/activity_pub/transmogrifier.ex @@ -7,6 +7,7 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do alias Pleroma.Activity alias Pleroma.Repo alias Pleroma.Web.ActivityPub.ActivityPub + alias Pleroma.Web.ActivityPub.Utils import Ecto.Query @@ -145,6 +146,78 @@ def handle_incoming( end end + defp mastodon_follow_hack(%{"id" => id, "actor" => follower_id}, followed) do + with true <- id =~ "follows", + %User{local: true} = follower <- User.get_cached_by_ap_id(follower_id), + %Activity{} = activity <- Utils.fetch_latest_follow(follower, followed) do + {:ok, activity} + else + _ -> {:error, nil} + end + end + + defp mastodon_follow_hack(_), do: {:error, nil} + + defp get_follow_activity(follow_object, followed) do + with object_id when not is_nil(object_id) <- Utils.get_ap_id(follow_object), + {_, %Activity{} = activity} <- {:activity, Activity.get_by_ap_id(object_id)} do + {:ok, activity} + else + # Can't find the activity. This might a Mastodon 2.3 "Accept" + {:activity, nil} -> + mastodon_follow_hack(follow_object, followed) + + _ -> + {:error, nil} + end + end + + def handle_incoming( + %{"type" => "Accept", "object" => follow_object, "actor" => actor, "id" => id} = data + ) do + with %User{} = followed <- User.get_or_fetch_by_ap_id(actor), + {:ok, follow_activity} <- get_follow_activity(follow_object, followed), + %User{local: true} = follower <- User.get_cached_by_ap_id(follow_activity.data["actor"]), + {:ok, activity} <- + ActivityPub.accept(%{ + to: follow_activity.data["to"], + type: "Accept", + actor: followed.ap_id, + object: follow_activity.data["id"], + local: false + }) do + if not User.following?(follower, followed) do + {:ok, follower} = User.follow(follower, followed) + end + + {:ok, activity} + else + _e -> :error + end + end + + def handle_incoming( + %{"type" => "Reject", "object" => follow_object, "actor" => actor, "id" => id} = data + ) do + with %User{} = followed <- User.get_or_fetch_by_ap_id(actor), + {:ok, follow_activity} <- get_follow_activity(follow_object, followed), + %User{local: true} = follower <- User.get_cached_by_ap_id(follow_activity.data["actor"]), + {:ok, activity} <- + ActivityPub.accept(%{ + to: follow_activity.data["to"], + type: "Accept", + actor: followed.ap_id, + object: follow_activity.data["id"], + local: false + }) do + User.unfollow(follower, followed) + + {:ok, activity} + else + _e -> :error + end + end + def handle_incoming( %{"type" => "Like", "object" => object_id, "actor" => actor, "id" => id} = _data ) do @@ -207,11 +280,7 @@ def handle_incoming( def handle_incoming( %{"type" => "Delete", "object" => object_id, "actor" => actor, "id" => _id} = _data ) do - object_id = - case object_id do - %{"id" => id} -> id - id -> id - end + object_id = Utils.get_ap_id(object_id) with %User{} = _actor <- User.get_or_fetch_by_ap_id(actor), {:ok, object} <- @@ -229,13 +298,68 @@ def handle_incoming( "object" => %{"type" => "Announce", "object" => object_id}, "actor" => actor, "id" => id - } = data + } = _data ) do with %User{} = actor <- User.get_or_fetch_by_ap_id(actor), {:ok, object} <- get_obj_helper(object_id) || ActivityPub.fetch_object_from_id(object_id), {:ok, activity, _, _} <- ActivityPub.unannounce(actor, object, id, false) do {:ok, activity} + else + _e -> :error + end + end + + def handle_incoming( + %{ + "type" => "Undo", + "object" => %{"type" => "Follow", "object" => followed}, + "actor" => follower, + "id" => id + } = _data + ) do + with %User{local: true} = followed <- User.get_cached_by_ap_id(followed), + %User{} = follower <- User.get_or_fetch_by_ap_id(follower), + {:ok, activity} <- ActivityPub.unfollow(follower, followed, id, false) do + User.unfollow(follower, followed) + {:ok, activity} + else + e -> :error + end + end + + @ap_config Application.get_env(:pleroma, :activitypub) + @accept_blocks Keyword.get(@ap_config, :accept_blocks) + + def handle_incoming( + %{ + "type" => "Undo", + "object" => %{"type" => "Block", "object" => blocked}, + "actor" => blocker, + "id" => id + } = _data + ) do + with true <- @accept_blocks, + %User{local: true} = blocked <- User.get_cached_by_ap_id(blocked), + %User{} = blocker <- User.get_or_fetch_by_ap_id(blocker), + {:ok, activity} <- ActivityPub.unblock(blocker, blocked, id, false) do + User.unblock(blocker, blocked) + {:ok, activity} + else + e -> :error + end + end + + def handle_incoming( + %{"type" => "Block", "object" => blocked, "actor" => blocker, "id" => id} = data + ) do + with true <- @accept_blocks, + %User{local: true} = blocked = User.get_cached_by_ap_id(blocked), + %User{} = blocker = User.get_or_fetch_by_ap_id(blocker), + {:ok, activity} <- ActivityPub.block(blocker, blocked, id, false) do + User.unfollow(blocker, blocked) + User.block(blocker, blocked) + {:ok, activity} else e -> :error end @@ -247,7 +371,7 @@ def handle_incoming( "object" => %{"type" => "Like", "object" => object_id}, "actor" => actor, "id" => id - } = data + } = _data ) do with %User{} = actor <- User.get_or_fetch_by_ap_id(actor), {:ok, object} <- @@ -255,14 +379,10 @@ def handle_incoming( {:ok, activity, _, _} <- ActivityPub.unlike(actor, object, id, false) do {:ok, activity} else - e -> :error + _e -> :error end end - # TODO - # Accept - # Undo for non-Announce - def handle_incoming(_), do: :error def get_obj_helper(id) do @@ -516,10 +636,10 @@ def maybe_retire_websub(ap_id) do def maybe_fix_user_url(data) do if is_map(data["url"]) do - data = Map.put(data, "url", data["url"]["href"]) + Map.put(data, "url", data["url"]["href"]) + else + data end - - data end def maybe_fix_user_object(data) do diff --git a/lib/pleroma/web/activity_pub/utils.ex b/lib/pleroma/web/activity_pub/utils.ex index 937f032c3..56b80a8db 100644 --- a/lib/pleroma/web/activity_pub/utils.ex +++ b/lib/pleroma/web/activity_pub/utils.ex @@ -7,18 +7,15 @@ defmodule Pleroma.Web.ActivityPub.Utils do # Some implementations send the actor URI as the actor field, others send the entire actor object, # so figure out what the actor's URI is based on what we have. - def normalize_actor(actor) do - cond do - is_binary(actor) -> - actor - - is_map(actor) -> - actor["id"] + def get_ap_id(object) do + case object do + %{"id" => id} -> id + id -> id end end def normalize_params(params) do - Map.put(params, "actor", normalize_actor(params["actor"])) + Map.put(params, "actor", get_ap_id(params["actor"])) end def make_json_ld_header do @@ -238,11 +235,17 @@ def fetch_latest_follow(%User{ap_id: follower_id}, %User{ap_id: followed_id}) do query = from( activity in Activity, + where: + fragment( + "? ->> 'type' = 'Follow'", + activity.data + ), + where: activity.actor == ^follower_id, where: fragment( "? @> ?", activity.data, - ^%{type: "Follow", actor: follower_id, object: followed_id} + ^%{object: followed_id} ), order_by: [desc: :id], limit: 1 @@ -260,7 +263,7 @@ def get_existing_announce(actor, %{data: %{"id" => id}}) do query = from( activity in Activity, - where: fragment("(?)->>'actor' = ?", activity.data, ^actor), + where: activity.actor == ^actor, # this is to use the index where: fragment( @@ -346,13 +349,61 @@ def remove_announce_from_object(%Activity{data: %{"actor" => actor}}, object) do #### Unfollow-related helpers - def make_unfollow_data(follower, followed, follow_activity) do - %{ + def make_unfollow_data(follower, followed, follow_activity, activity_id) do + data = %{ "type" => "Undo", "actor" => follower.ap_id, "to" => [followed.ap_id], - "object" => follow_activity.data["id"] + "object" => follow_activity.data } + + if activity_id, do: Map.put(data, "id", activity_id), else: data + end + + #### Block-related helpers + def fetch_latest_block(%User{ap_id: blocker_id}, %User{ap_id: blocked_id}) do + query = + from( + activity in Activity, + where: + fragment( + "? ->> 'type' = 'Block'", + activity.data + ), + where: activity.actor == ^blocker_id, + where: + fragment( + "? @> ?", + activity.data, + ^%{object: blocked_id} + ), + order_by: [desc: :id], + limit: 1 + ) + + Repo.one(query) + end + + def make_block_data(blocker, blocked, activity_id) do + data = %{ + "type" => "Block", + "actor" => blocker.ap_id, + "to" => [blocked.ap_id], + "object" => blocked.ap_id + } + + if activity_id, do: Map.put(data, "id", activity_id), else: data + end + + def make_unblock_data(blocker, blocked, block_activity, activity_id) do + data = %{ + "type" => "Undo", + "actor" => blocker.ap_id, + "to" => [blocked.ap_id], + "object" => block_activity.data + } + + if activity_id, do: Map.put(data, "id", activity_id), else: data end #### Create-related helpers diff --git a/lib/pleroma/web/activity_pub/views/user_view.ex b/lib/pleroma/web/activity_pub/views/user_view.ex index ffd76b529..f4b2e0610 100644 --- a/lib/pleroma/web/activity_pub/views/user_view.ex +++ b/lib/pleroma/web/activity_pub/views/user_view.ex @@ -26,7 +26,7 @@ def render("user.json", %{user: user}) do "name" => user.name, "summary" => user.bio, "url" => user.ap_id, - "manuallyApprovesFollowers" => false, + "manuallyApprovesFollowers" => user.info["locked"] || false, "publicKey" => %{ "id" => "#{user.ap_id}#main-key", "owner" => user.ap_id, diff --git a/lib/pleroma/web/common_api/utils.ex b/lib/pleroma/web/common_api/utils.ex index e774743a2..9c9951371 100644 --- a/lib/pleroma/web/common_api/utils.ex +++ b/lib/pleroma/web/common_api/utils.ex @@ -133,7 +133,7 @@ def make_note_data( "context" => context, "attachment" => attachments, "actor" => actor, - "tag" => tags |> Enum.map(fn {_, tag} -> tag end) + "tag" => tags |> Enum.map(fn {_, tag} -> tag end) |> Enum.uniq() } if inReplyTo do @@ -187,9 +187,9 @@ defp shortname(name) do end end - def confirm_current_password(user, params) do + def confirm_current_password(user, password) do with %User{local: true} = db_user <- Repo.get(User, user.id), - true <- Pbkdf2.checkpw(params["password"], db_user.password_hash) do + true <- Pbkdf2.checkpw(password, db_user.password_hash) do {:ok, db_user} else _ -> {:error, "Invalid password."} diff --git a/lib/pleroma/web/http_signatures/http_signatures.ex b/lib/pleroma/web/http_signatures/http_signatures.ex index 4e0adbc1d..5e42a871b 100644 --- a/lib/pleroma/web/http_signatures/http_signatures.ex +++ b/lib/pleroma/web/http_signatures/http_signatures.ex @@ -32,14 +32,14 @@ def validate(headers, signature, public_key) do def validate_conn(conn) do # TODO: How to get the right key and see if it is actually valid for that request. # For now, fetch the key for the actor. - with actor_id <- Utils.normalize_actor(conn.params["actor"]), + with actor_id <- Utils.get_ap_id(conn.params["actor"]), {:ok, public_key} <- User.get_public_key_for_ap_id(actor_id) do if validate_conn(conn, public_key) do true else Logger.debug("Could not validate, re-fetching user and trying one more time") # Fetch user anew and try one more time - with actor_id <- Utils.normalize_actor(conn.params["actor"]), + with actor_id <- Utils.get_ap_id(conn.params["actor"]), {:ok, _user} <- ActivityPub.make_user_from_ap_id(actor_id), {:ok, public_key} <- User.get_public_key_for_ap_id(actor_id) do validate_conn(conn, public_key) diff --git a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex index c38412911..8dbbe3871 100644 --- a/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex +++ b/lib/pleroma/web/mastodon_api/mastodon_api_controller.ex @@ -2,7 +2,7 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do use Pleroma.Web, :controller alias Pleroma.{Repo, Activity, User, Notification, Stats} alias Pleroma.Web - alias Pleroma.Web.MastodonAPI.{StatusView, AccountView, MastodonView} + alias Pleroma.Web.MastodonAPI.{StatusView, AccountView, MastodonView, ListView} alias Pleroma.Web.ActivityPub.ActivityPub alias Pleroma.Web.{CommonAPI, OStatus} alias Pleroma.Web.OAuth.{Authorization, Token, App} @@ -284,11 +284,7 @@ def post_status(%{assigns: %{user: user}} = conn, %{"status" => _} = params) do end {:ok, activity} = - Cachex.get!( - :idempotency_cache, - idempotency_key, - fallback: fn _ -> CommonAPI.post(user, params) end - ) + Cachex.fetch!(:idempotency_cache, idempotency_key, fn _ -> CommonAPI.post(user, params) end) render(conn, StatusView, "status.json", %{activity: activity, for: user, as: :activity}) end @@ -442,7 +438,7 @@ def following(conn, %{"id" => id}) do def follow(%{assigns: %{user: follower}} = conn, %{"id" => id}) do with %User{} = followed <- Repo.get(User, id), - {:ok, follower} <- User.follow(follower, followed), + {:ok, follower} <- User.maybe_direct_follow(follower, followed), {:ok, _activity} <- ActivityPub.follow(follower, followed) do render(conn, AccountView, "relationship.json", %{user: follower, target: followed}) else @@ -455,7 +451,7 @@ def follow(%{assigns: %{user: follower}} = conn, %{"id" => id}) do def follow(%{assigns: %{user: follower}} = conn, %{"uri" => uri}) do with %User{} = followed <- Repo.get_by(User, nickname: uri), - {:ok, follower} <- User.follow(follower, followed), + {:ok, follower} <- User.maybe_direct_follow(follower, followed), {:ok, _activity} <- ActivityPub.follow(follower, followed) do render(conn, AccountView, "account.json", %{user: followed}) else @@ -466,24 +462,18 @@ def follow(%{assigns: %{user: follower}} = conn, %{"uri" => uri}) do end end - # TODO: Clean up and unify def unfollow(%{assigns: %{user: follower}} = conn, %{"id" => id}) do with %User{} = followed <- Repo.get(User, id), - {:ok, follower, follow_activity} <- User.unfollow(follower, followed), - {:ok, _activity} <- - ActivityPub.insert(%{ - "type" => "Undo", - "actor" => follower.ap_id, - # get latest Follow for these users - "object" => follow_activity.data["id"] - }) do + {:ok, _activity} <- ActivityPub.unfollow(follower, followed), + {:ok, follower, _} <- User.unfollow(follower, followed) do render(conn, AccountView, "relationship.json", %{user: follower, target: followed}) end end def block(%{assigns: %{user: blocker}} = conn, %{"id" => id}) do with %User{} = blocked <- Repo.get(User, id), - {:ok, blocker} <- User.block(blocker, blocked) do + {:ok, blocker} <- User.block(blocker, blocked), + {:ok, _activity} <- ActivityPub.block(blocker, blocked) do render(conn, AccountView, "relationship.json", %{user: blocker, target: blocked}) else {:error, message} -> @@ -495,7 +485,8 @@ def block(%{assigns: %{user: blocker}} = conn, %{"id" => id}) do def unblock(%{assigns: %{user: blocker}} = conn, %{"id" => id}) do with %User{} = blocked <- Repo.get(User, id), - {:ok, blocker} <- User.unblock(blocker, blocked) do + {:ok, blocker} <- User.unblock(blocker, blocked), + {:ok, _activity} <- ActivityPub.unblock(blocker, blocked) do render(conn, AccountView, "relationship.json", %{user: blocker, target: blocked}) else {:error, message} -> @@ -586,6 +577,102 @@ def favourites(%{assigns: %{user: user}} = conn, _) do |> render(StatusView, "index.json", %{activities: activities, for: user, as: :activity}) end + def get_lists(%{assigns: %{user: user}} = conn, opts) do + lists = Pleroma.List.for_user(user, opts) + res = ListView.render("lists.json", lists: lists) + json(conn, res) + end + + def get_list(%{assigns: %{user: user}} = conn, %{"id" => id}) do + with %Pleroma.List{} = list <- Pleroma.List.get(id, user) do + res = ListView.render("list.json", list: list) + json(conn, res) + else + _e -> json(conn, "error") + end + end + + def delete_list(%{assigns: %{user: user}} = conn, %{"id" => id}) do + with %Pleroma.List{} = list <- Pleroma.List.get(id, user), + {:ok, _list} <- Pleroma.List.delete(list) do + json(conn, %{}) + else + _e -> + json(conn, "error") + end + end + + def create_list(%{assigns: %{user: user}} = conn, %{"title" => title}) do + with {:ok, %Pleroma.List{} = list} <- Pleroma.List.create(title, user) do + res = ListView.render("list.json", list: list) + json(conn, res) + end + end + + def add_to_list(%{assigns: %{user: user}} = conn, %{"id" => id, "account_ids" => accounts}) do + accounts + |> Enum.each(fn account_id -> + with %Pleroma.List{} = list <- Pleroma.List.get(id, user), + %User{} = followed <- Repo.get(User, account_id) do + Pleroma.List.follow(list, followed) + end + end) + + json(conn, %{}) + end + + def remove_from_list(%{assigns: %{user: user}} = conn, %{"id" => id, "account_ids" => accounts}) do + accounts + |> Enum.each(fn account_id -> + with %Pleroma.List{} = list <- Pleroma.List.get(id, user), + %User{} = followed <- Repo.get(Pleroma.User, account_id) do + Pleroma.List.unfollow(list, followed) + end + end) + + json(conn, %{}) + end + + def list_accounts(%{assigns: %{user: user}} = conn, %{"id" => id}) do + with %Pleroma.List{} = list <- Pleroma.List.get(id, user), + {:ok, users} = Pleroma.List.get_following(list) do + render(conn, AccountView, "accounts.json", %{users: users, as: :user}) + end + end + + def rename_list(%{assigns: %{user: user}} = conn, %{"id" => id, "title" => title}) do + with %Pleroma.List{} = list <- Pleroma.List.get(id, user), + {:ok, list} <- Pleroma.List.rename(list, title) do + res = ListView.render("list.json", list: list) + json(conn, res) + else + _e -> + json(conn, "error") + end + end + + def list_timeline(%{assigns: %{user: user}} = conn, %{"list_id" => id} = params) do + with %Pleroma.List{title: title, following: following} <- Pleroma.List.get(id, user) do + params = + params + |> Map.put("type", "Create") + |> Map.put("blocking_user", user) + + # adding title is a hack to not make empty lists function like a public timeline + activities = + ActivityPub.fetch_activities([title | following], params) + |> Enum.reverse() + + conn + |> render(StatusView, "index.json", %{activities: activities, for: user, as: :activity}) + else + _e -> + conn + |> put_status(403) + |> json(%{error: "Error."}) + end + end + def index(%{assigns: %{user: user}} = conn, _params) do token = conn diff --git a/lib/pleroma/web/mastodon_api/views/account_view.ex b/lib/pleroma/web/mastodon_api/views/account_view.ex index f378bb36e..9db683f44 100644 --- a/lib/pleroma/web/mastodon_api/views/account_view.ex +++ b/lib/pleroma/web/mastodon_api/views/account_view.ex @@ -19,7 +19,7 @@ def render("account.json", %{user: user}) do username: hd(String.split(user.nickname, "@")), acct: user.nickname, display_name: user.name || user.nickname, - locked: false, + locked: user_info.locked, created_at: Utils.to_masto_date(user.inserted_at), followers_count: user_info.follower_count, following_count: user_info.following_count, diff --git a/lib/pleroma/web/mastodon_api/views/list_view.ex b/lib/pleroma/web/mastodon_api/views/list_view.ex new file mode 100644 index 000000000..1a1b7430b --- /dev/null +++ b/lib/pleroma/web/mastodon_api/views/list_view.ex @@ -0,0 +1,15 @@ +defmodule Pleroma.Web.MastodonAPI.ListView do + use Pleroma.Web, :view + alias Pleroma.Web.MastodonAPI.ListView + + def render("lists.json", %{lists: lists} = opts) do + render_many(lists, ListView, "list.json", opts) + end + + def render("list.json", %{list: list}) do + %{ + id: to_string(list.id), + title: list.title + } + end +end diff --git a/lib/pleroma/web/ostatus/activity_representer.ex b/lib/pleroma/web/ostatus/activity_representer.ex index 64cadba1b..4179d86c9 100644 --- a/lib/pleroma/web/ostatus/activity_representer.ex +++ b/lib/pleroma/web/ostatus/activity_representer.ex @@ -232,7 +232,12 @@ def to_simple_form(%{data: %{"type" => "Follow"}} = activity, user, with_author) end # Only undos of follow for now. Will need to get redone once there are more - def to_simple_form(%{data: %{"type" => "Undo"}} = activity, user, with_author) do + def to_simple_form( + %{data: %{"type" => "Undo", "object" => %{"type" => "Follow"} = follow_activity}} = + activity, + user, + with_author + ) do h = fn str -> [to_charlist(str)] end updated_at = activity.data["published"] @@ -240,34 +245,26 @@ def to_simple_form(%{data: %{"type" => "Undo"}} = activity, user, with_author) d author = if with_author, do: [{:author, UserRepresenter.to_simple_form(user)}], else: [] - follow_activity = - if is_map(activity.data["object"]) do - Activity.get_by_ap_id(activity.data["object"]["id"]) - else - Activity.get_by_ap_id(activity.data["object"]) - end - mentions = (activity.recipients || []) |> get_mentions + follow_activity = Activity.get_by_ap_id(follow_activity["id"]) - if follow_activity do - [ - {:"activity:object-type", ['http://activitystrea.ms/schema/1.0/activity']}, - {:"activity:verb", ['http://activitystrea.ms/schema/1.0/unfollow']}, - {:id, h.(activity.data["id"])}, - {:title, ['#{user.nickname} stopped following #{follow_activity.data["object"]}']}, - {:content, [type: 'html'], - ['#{user.nickname} stopped following #{follow_activity.data["object"]}']}, - {:published, h.(inserted_at)}, - {:updated, h.(updated_at)}, - {:"activity:object", - [ - {:"activity:object-type", ['http://activitystrea.ms/schema/1.0/person']}, - {:id, h.(follow_activity.data["object"])}, - {:uri, h.(follow_activity.data["object"])} - ]}, - {:link, [rel: 'self', type: ['application/atom+xml'], href: h.(activity.data["id"])], []} - ] ++ mentions ++ author - end + [ + {:"activity:object-type", ['http://activitystrea.ms/schema/1.0/activity']}, + {:"activity:verb", ['http://activitystrea.ms/schema/1.0/unfollow']}, + {:id, h.(activity.data["id"])}, + {:title, ['#{user.nickname} stopped following #{follow_activity.data["object"]}']}, + {:content, [type: 'html'], + ['#{user.nickname} stopped following #{follow_activity.data["object"]}']}, + {:published, h.(inserted_at)}, + {:updated, h.(updated_at)}, + {:"activity:object", + [ + {:"activity:object-type", ['http://activitystrea.ms/schema/1.0/person']}, + {:id, h.(follow_activity.data["object"])}, + {:uri, h.(follow_activity.data["object"])} + ]}, + {:link, [rel: 'self', type: ['application/atom+xml'], href: h.(activity.data["id"])], []} + ] ++ mentions ++ author end def to_simple_form(%{data: %{"type" => "Delete"}} = activity, user, with_author) do diff --git a/lib/pleroma/web/ostatus/handlers/unfollow_handler.ex b/lib/pleroma/web/ostatus/handlers/unfollow_handler.ex new file mode 100644 index 000000000..a115bf4c8 --- /dev/null +++ b/lib/pleroma/web/ostatus/handlers/unfollow_handler.ex @@ -0,0 +1,17 @@ +defmodule Pleroma.Web.OStatus.UnfollowHandler do + alias Pleroma.Web.{XML, OStatus} + alias Pleroma.Web.ActivityPub.ActivityPub + alias Pleroma.User + + def handle(entry, doc) do + with {:ok, actor} <- OStatus.find_make_or_update_user(doc), + id when not is_nil(id) <- XML.string_from_xpath("/entry/id", entry), + followed_uri when not is_nil(followed_uri) <- + XML.string_from_xpath("/entry/activity:object/id", entry), + {:ok, followed} <- OStatus.find_or_make_user(followed_uri), + {:ok, activity} <- ActivityPub.unfollow(actor, followed, id, false) do + User.unfollow(actor, followed) + {:ok, activity} + end + end +end diff --git a/lib/pleroma/web/ostatus/ostatus.ex b/lib/pleroma/web/ostatus/ostatus.ex index 5c4a1fd69..f0ff0624f 100644 --- a/lib/pleroma/web/ostatus/ostatus.ex +++ b/lib/pleroma/web/ostatus/ostatus.ex @@ -8,7 +8,7 @@ defmodule Pleroma.Web.OStatus do alias Pleroma.{Repo, User, Web, Object, Activity} alias Pleroma.Web.ActivityPub.ActivityPub alias Pleroma.Web.{WebFinger, Websub} - alias Pleroma.Web.OStatus.{FollowHandler, NoteHandler, DeleteHandler} + alias Pleroma.Web.OStatus.{FollowHandler, UnfollowHandler, NoteHandler, DeleteHandler} alias Pleroma.Web.ActivityPub.Transmogrifier def feed_path(user) do @@ -47,6 +47,9 @@ def handle_incoming(xml_string) do 'http://activitystrea.ms/schema/1.0/follow' -> with {:ok, activity} <- FollowHandler.handle(entry, doc), do: activity + 'http://activitystrea.ms/schema/1.0/unfollow' -> + with {:ok, activity} <- UnfollowHandler.handle(entry, doc), do: activity + 'http://activitystrea.ms/schema/1.0/share' -> with {:ok, activity, retweeted_activity} <- handle_share(entry, doc), do: [activity, retweeted_activity] diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index 87fd664f6..924254895 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -73,6 +73,7 @@ def user_fetcher(username) do scope "/api/pleroma", Pleroma.Web.TwitterAPI do pipe_through(:authenticated_api) post("/follow_import", UtilController, :follow_import) + post("/change_password", UtilController, :change_password) post("/delete_account", UtilController, :delete_account) end @@ -103,7 +104,6 @@ def user_fetcher(username) do get("/domain_blocks", MastodonAPIController, :empty_array) get("/follow_requests", MastodonAPIController, :empty_array) get("/mutes", MastodonAPIController, :empty_array) - get("/lists", MastodonAPIController, :empty_array) get("/timelines/home", MastodonAPIController, :home_timeline) @@ -125,6 +125,15 @@ def user_fetcher(username) do get("/notifications/:id", MastodonAPIController, :get_notification) post("/media", MastodonAPIController, :upload) + + get("/lists", MastodonAPIController, :get_lists) + get("/lists/:id", MastodonAPIController, :get_list) + delete("/lists/:id", MastodonAPIController, :delete_list) + post("/lists", MastodonAPIController, :create_list) + put("/lists/:id", MastodonAPIController, :rename_list) + get("/lists/:id/accounts", MastodonAPIController, :list_accounts) + post("/lists/:id/accounts", MastodonAPIController, :add_to_list) + delete("/lists/:id/accounts", MastodonAPIController, :remove_from_list) end scope "/api/web", Pleroma.Web.MastodonAPI do @@ -142,6 +151,7 @@ def user_fetcher(username) do get("/timelines/public", MastodonAPIController, :public_timeline) get("/timelines/tag/:tag", MastodonAPIController, :hashtag_timeline) + get("/timelines/list/:list_id", MastodonAPIController, :list_timeline) get("/statuses/:id", MastodonAPIController, :get_status) get("/statuses/:id/context", MastodonAPIController, :get_context) diff --git a/lib/pleroma/web/twitter_api/controllers/util_controller.ex b/lib/pleroma/web/twitter_api/controllers/util_controller.ex index 23e7408a0..cc5146566 100644 --- a/lib/pleroma/web/twitter_api/controllers/util_controller.ex +++ b/lib/pleroma/web/twitter_api/controllers/util_controller.ex @@ -197,8 +197,31 @@ def follow_import(%{assigns: %{user: user}} = conn, %{"list" => list}) do json(conn, "job started") end + def change_password(%{assigns: %{user: user}} = conn, params) do + case CommonAPI.Utils.confirm_current_password(user, params["password"]) do + {:ok, user} -> + with {:ok, _user} <- + User.reset_password(user, %{ + password: params["new_password"], + password_confirmation: params["new_password_confirmation"] + }) do + json(conn, %{status: "success"}) + else + {:error, changeset} -> + {_, {error, _}} = Enum.at(changeset.errors, 0) + json(conn, %{error: "New password #{error}."}) + + _ -> + json(conn, %{error: "Unable to change password."}) + end + + {:error, msg} -> + json(conn, %{error: msg}) + end + end + def delete_account(%{assigns: %{user: user}} = conn, params) do - case CommonAPI.Utils.confirm_current_password(user, params) do + case CommonAPI.Utils.confirm_current_password(user, params["password"]) do {:ok, user} -> Task.start(fn -> User.delete(user) end) json(conn, %{status: "success"}) diff --git a/lib/pleroma/web/twitter_api/representers/activity_representer.ex b/lib/pleroma/web/twitter_api/representers/activity_representer.ex index c2e1f07a5..57837205e 100644 --- a/lib/pleroma/web/twitter_api/representers/activity_representer.ex +++ b/lib/pleroma/web/twitter_api/representers/activity_representer.ex @@ -99,7 +99,7 @@ def to_map( ) do created_at = created_at |> Utils.date_to_asctime() - text = "#{user.nickname} undid the action at #{undid_activity}" + text = "#{user.nickname} undid the action at #{undid_activity["id"]}" %{ "id" => activity.id, diff --git a/lib/pleroma/web/twitter_api/twitter_api.ex b/lib/pleroma/web/twitter_api/twitter_api.ex index 722e436e2..331efa90b 100644 --- a/lib/pleroma/web/twitter_api/twitter_api.ex +++ b/lib/pleroma/web/twitter_api/twitter_api.ex @@ -25,7 +25,7 @@ def delete(%User{} = user, id) do def follow(%User{} = follower, params) do with {:ok, %User{} = followed} <- get_user(params), - {:ok, follower} <- User.follow(follower, followed), + {:ok, follower} <- User.maybe_direct_follow(follower, followed), {:ok, activity} <- ActivityPub.follow(follower, followed) do {:ok, follower, followed, activity} else @@ -36,14 +36,7 @@ def follow(%User{} = follower, params) do def unfollow(%User{} = follower, params) do with {:ok, %User{} = unfollowed} <- get_user(params), {:ok, follower, follow_activity} <- User.unfollow(follower, unfollowed), - {:ok, _activity} <- - ActivityPub.insert(%{ - "type" => "Undo", - "actor" => follower.ap_id, - # get latest Follow for these users - "object" => follow_activity.data["id"], - "published" => make_date() - }) do + {:ok, _activity} <- ActivityPub.unfollow(follower, unfollowed) do {:ok, follower, unfollowed} else err -> err @@ -52,7 +45,8 @@ def unfollow(%User{} = follower, params) do def block(%User{} = blocker, params) do with {:ok, %User{} = blocked} <- get_user(params), - {:ok, blocker} <- User.block(blocker, blocked) do + {:ok, blocker} <- User.block(blocker, blocked), + {:ok, _activity} <- ActivityPub.block(blocker, blocked) do {:ok, blocker, blocked} else err -> err @@ -61,7 +55,8 @@ def block(%User{} = blocker, params) do def unblock(%User{} = blocker, params) do with {:ok, %User{} = blocked} <- get_user(params), - {:ok, blocker} <- User.unblock(blocker, blocked) do + {:ok, blocker} <- User.unblock(blocker, blocked), + {:ok, _activity} <- ActivityPub.unblock(blocker, blocked) do {:ok, blocker, blocked} else err -> err diff --git a/mix.exs b/mix.exs index f49d2d04a..281687294 100644 --- a/mix.exs +++ b/mix.exs @@ -36,12 +36,13 @@ defp deps do {:postgrex, ">= 0.0.0"}, {:gettext, "~> 0.11"}, {:cowboy, "~> 1.0", override: true}, - {:comeonin, "~> 3.0"}, + {:comeonin, "~> 4.0"}, + {:pbkdf2_elixir, "~> 0.12"}, {:trailing_format_plug, "~> 0.0.5"}, {:html_sanitize_ex, "~> 1.3.0-rc1"}, {:phoenix_html, "~> 2.10"}, {:calendar, "~> 0.16.1"}, - {:cachex, "~> 2.1"}, + {:cachex, "~> 3.0"}, {:httpoison, "~> 1.1.0"}, {:jason, "~> 1.0"}, {:ex_machina, "~> 2.0", only: :test}, diff --git a/mix.lock b/mix.lock index 1f53df7de..2a826111c 100644 --- a/mix.lock +++ b/mix.lock @@ -1,42 +1,37 @@ %{ "bunt": {:hex, :bunt, "0.2.0", "951c6e801e8b1d2cbe58ebbd3e616a869061ddadcc4863d0a2182541acae9a38", [:mix], [], "hexpm"}, - "cachex": {:hex, :cachex, "2.1.0", "fad49b4e78d11c6c314e75bd8c9408f5b78cb065c047442798caed10803ee3be", [:mix], [{:eternal, "~> 1.1", [hex: :eternal, repo: "hexpm", optional: false]}], "hexpm"}, + "cachex": {:hex, :cachex, "3.0.2", "1351caa4e26e29f7d7ec1d29b53d6013f0447630bbf382b4fb5d5bad0209f203", [:mix], [{:eternal, "~> 1.2", [hex: :eternal, repo: "hexpm", optional: false]}, {:unsafe, "~> 1.0", [hex: :unsafe, repo: "hexpm", optional: false]}], "hexpm"}, "calendar": {:hex, :calendar, "0.16.1", "782327ad8bae7c797b887840dc4ddb933f05ce6e333e5b04964d7a5d5f79bde3", [:mix], [{:tzdata, "~> 0.5.8 or ~> 0.1.201603", [hex: :tzdata, repo: "hexpm", optional: false]}], "hexpm"}, "certifi": {:hex, :certifi, "2.3.1", "d0f424232390bf47d82da8478022301c561cf6445b5b5fb6a84d49a9e76d2639", [:rebar3], [{:parse_trans, "3.2.0", [hex: :parse_trans, repo: "hexpm", optional: false]}], "hexpm"}, - "comeonin": {:hex, :comeonin, "3.2.0", "cb10995a22aed6812667efb3856f548818c85d85394d8132bc116fbd6995c1ef", [:make, :mix], [{:elixir_make, "~> 0.4", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm"}, - "con_cache": {:hex, :con_cache, "0.12.0", "2d961aec219aa5a914473873f348f5a6088292dc69d5192a9d25f8a1e13e9905", [:mix], [{:exactor, "~> 2.2.0", [hex: :exactor, optional: false]}]}, + "comeonin": {:hex, :comeonin, "4.1.1", "c7304fc29b45b897b34142a91122bc72757bc0c295e9e824999d5179ffc08416", [:mix], [{:argon2_elixir, "~> 1.2", [hex: :argon2_elixir, repo: "hexpm", optional: true]}, {:bcrypt_elixir, "~> 0.12.1 or ~> 1.0", [hex: :bcrypt_elixir, repo: "hexpm", optional: true]}, {:pbkdf2_elixir, "~> 0.12", [hex: :pbkdf2_elixir, repo: "hexpm", optional: true]}], "hexpm"}, "connection": {:hex, :connection, "1.0.4", "a1cae72211f0eef17705aaededacac3eb30e6625b04a6117c1b2db6ace7d5976", [:mix], [], "hexpm"}, "cowboy": {:hex, :cowboy, "1.1.2", "61ac29ea970389a88eca5a65601460162d370a70018afe6f949a29dca91f3bb0", [:rebar3], [{:cowlib, "~> 1.0.2", [hex: :cowlib, repo: "hexpm", optional: false]}, {:ranch, "~> 1.3.2", [hex: :ranch, repo: "hexpm", optional: false]}], "hexpm"}, "cowlib": {:hex, :cowlib, "1.0.2", "9d769a1d062c9c3ac753096f868ca121e2730b9a377de23dec0f7e08b1df84ee", [:make], [], "hexpm"}, - "credo": {:hex, :credo, "0.9.1", "f021affa11b32a94dc2e807a6472ce0914289c9132f99644a97fc84432b202a1", [:mix], [{:bunt, "~> 0.2.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:poison, ">= 0.0.0", [hex: :poison, repo: "hexpm", optional: false]}], "hexpm"}, + "credo": {:hex, :credo, "0.9.2", "841d316612f568beb22ba310d816353dddf31c2d94aa488ae5a27bb53760d0bf", [:mix], [{:bunt, "~> 0.2.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:poison, ">= 0.0.0", [hex: :poison, repo: "hexpm", optional: false]}], "hexpm"}, "db_connection": {:hex, :db_connection, "1.1.3", "89b30ca1ef0a3b469b1c779579590688561d586694a3ce8792985d4d7e575a61", [:mix], [{:connection, "~> 1.0.2", [hex: :connection, repo: "hexpm", optional: false]}, {:poolboy, "~> 1.5", [hex: :poolboy, repo: "hexpm", optional: true]}, {:sbroker, "~> 1.0", [hex: :sbroker, repo: "hexpm", optional: true]}], "hexpm"}, "decimal": {:hex, :decimal, "1.5.0", "b0433a36d0e2430e3d50291b1c65f53c37d56f83665b43d79963684865beab68", [:mix], [], "hexpm"}, - "deppie": {:hex, :deppie, "1.1.0", "cfb6fcee7dfb64eb78cb8505537971a0805131899326ad469ef10df04520f451", [:mix], []}, "ecto": {:hex, :ecto, "2.2.10", "e7366dc82f48f8dd78fcbf3ab50985ceeb11cb3dc93435147c6e13f2cda0992e", [:mix], [{:db_connection, "~> 1.1", [hex: :db_connection, repo: "hexpm", optional: true]}, {:decimal, "~> 1.2", [hex: :decimal, repo: "hexpm", optional: false]}, {:mariaex, "~> 0.8.0", [hex: :mariaex, repo: "hexpm", optional: true]}, {:poison, "~> 2.2 or ~> 3.0", [hex: :poison, repo: "hexpm", optional: true]}, {:poolboy, "~> 1.5", [hex: :poolboy, repo: "hexpm", optional: false]}, {:postgrex, "~> 0.13.0", [hex: :postgrex, repo: "hexpm", optional: true]}, {:sbroker, "~> 1.0", [hex: :sbroker, repo: "hexpm", optional: true]}], "hexpm"}, - "elixir_make": {:hex, :elixir_make, "0.4.1", "6628b86053190a80b9072382bb9756a6c78624f208ec0ff22cb94c8977d80060", [:mix], [], "hexpm"}, "eternal": {:hex, :eternal, "1.2.0", "e2a6b6ce3b8c248f7dc31451aefca57e3bdf0e48d73ae5043229380a67614c41", [:mix], [], "hexpm"}, "ex_machina": {:hex, :ex_machina, "2.2.0", "fec496331e04fc2db2a1a24fe317c12c0c4a50d2beb8ebb3531ed1f0d84be0ed", [:mix], [{:ecto, "~> 2.1", [hex: :ecto, repo: "hexpm", optional: true]}], "hexpm"}, - "exactor": {:hex, :exactor, "2.2.3", "a6972f43bb6160afeb73e1d8ab45ba604cd0ac8b5244c557093f6e92ce582786", [:mix], []}, - "fs": {:hex, :fs, "2.12.0", "ad631efacc9a5683c8eaa1b274e24fa64a1b8eb30747e9595b93bec7e492e25e", [:rebar3], []}, "gettext": {:hex, :gettext, "0.15.0", "40a2b8ce33a80ced7727e36768499fc9286881c43ebafccae6bab731e2b2b8ce", [:mix], [], "hexpm"}, "hackney": {:hex, :hackney, "1.12.1", "8bf2d0e11e722e533903fe126e14d6e7e94d9b7983ced595b75f532e04b7fdc7", [:rebar3], [{:certifi, "2.3.1", [hex: :certifi, repo: "hexpm", optional: false]}, {:idna, "5.1.1", [hex: :idna, repo: "hexpm", optional: false]}, {:metrics, "1.0.1", [hex: :metrics, repo: "hexpm", optional: false]}, {:mimerl, "1.0.2", [hex: :mimerl, repo: "hexpm", optional: false]}, {:ssl_verify_fun, "1.1.1", [hex: :ssl_verify_fun, repo: "hexpm", optional: false]}], "hexpm"}, "html_sanitize_ex": {:hex, :html_sanitize_ex, "1.3.0", "f005ad692b717691203f940c686208aa3d8ffd9dd4bb3699240096a51fa9564e", [:mix], [{:mochiweb, "~> 2.15", [hex: :mochiweb, repo: "hexpm", optional: false]}], "hexpm"}, - "httpoison": {:hex, :httpoison, "1.1.0", "497949fb62924432f64a45269d20e6f61ecf35084ffa270917afcdb7cd4d8061", [:mix], [{:hackney, "~> 1.8", [hex: :hackney, repo: "hexpm", optional: false]}], "hexpm"}, + "httpoison": {:hex, :httpoison, "1.1.1", "96ed7ab79f78a31081bb523eefec205fd2900a02cda6dbc2300e7a1226219566", [:mix], [{:hackney, "~> 1.8", [hex: :hackney, repo: "hexpm", optional: false]}], "hexpm"}, "idna": {:hex, :idna, "5.1.1", "cbc3b2fa1645113267cc59c760bafa64b2ea0334635ef06dbac8801e42f7279c", [:rebar3], [{:unicode_util_compat, "0.3.1", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm"}, "jason": {:hex, :jason, "1.0.0", "0f7cfa9bdb23fed721ec05419bcee2b2c21a77e926bce0deda029b5adc716fe2", [:mix], [{:decimal, "~> 1.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm"}, "meck": {:hex, :meck, "0.8.9", "64c5c0bd8bcca3a180b44196265c8ed7594e16bcc845d0698ec6b4e577f48188", [:rebar3], [], "hexpm"}, "metrics": {:hex, :metrics, "1.0.1", "25f094dea2cda98213cecc3aeff09e940299d950904393b2a29d191c346a8486", [:rebar3], [], "hexpm"}, "mime": {:hex, :mime, "1.2.0", "78adaa84832b3680de06f88f0997e3ead3b451a440d183d688085be2d709b534", [:mix], [], "hexpm"}, "mimerl": {:hex, :mimerl, "1.0.2", "993f9b0e084083405ed8252b99460c4f0563e41729ab42d9074fd5e52439be88", [:rebar3], [], "hexpm"}, - "mix_test_watch": {:hex, :mix_test_watch, "0.3.3", "70859889a8d1d43d1b75d69d87258a301f43209a17787cdb2bd9cab42adf271d", [:mix], [{:fs, "~> 2.12", [hex: :fs, optional: false]}]}, "mochiweb": {:hex, :mochiweb, "2.15.0", "e1daac474df07651e5d17cc1e642c4069c7850dc4508d3db7263a0651330aacc", [:rebar3], [], "hexpm"}, "mock": {:hex, :mock, "0.3.1", "994f00150f79a0ea50dc9d86134cd9ebd0d177ad60bd04d1e46336cdfdb98ff9", [:mix], [{:meck, "~> 0.8.8", [hex: :meck, repo: "hexpm", optional: false]}], "hexpm"}, "parse_trans": {:hex, :parse_trans, "3.2.0", "2adfa4daf80c14dc36f522cf190eb5c4ee3e28008fc6394397c16f62a26258c2", [:rebar3], [], "hexpm"}, + "pbkdf2_elixir": {:hex, :pbkdf2_elixir, "0.12.3", "6706a148809a29c306062862c803406e88f048277f6e85b68faf73291e820b84", [:mix], [], "hexpm"}, "phoenix": {:hex, :phoenix, "1.3.2", "2a00d751f51670ea6bc3f2ba4e6eb27ecb8a2c71e7978d9cd3e5de5ccf7378bd", [:mix], [{:cowboy, "~> 1.0", [hex: :cowboy, repo: "hexpm", optional: true]}, {:phoenix_pubsub, "~> 1.0", [hex: :phoenix_pubsub, repo: "hexpm", optional: false]}, {:plug, "~> 1.3.3 or ~> 1.4", [hex: :plug, repo: "hexpm", optional: false]}, {:poison, "~> 2.2 or ~> 3.0", [hex: :poison, repo: "hexpm", optional: false]}], "hexpm"}, "phoenix_ecto": {:hex, :phoenix_ecto, "3.3.0", "702f6e164512853d29f9d20763493f2b3bcfcb44f118af2bc37bb95d0801b480", [:mix], [{:ecto, "~> 2.1", [hex: :ecto, repo: "hexpm", optional: false]}, {:phoenix_html, "~> 2.9", [hex: :phoenix_html, repo: "hexpm", optional: true]}, {:plug, "~> 1.0", [hex: :plug, repo: "hexpm", optional: false]}], "hexpm"}, - "phoenix_html": {:hex, :phoenix_html, "2.11.1", "77b6f7fbd252168c6ec4f573de648d37cc5258cda13266ef001fbf99267eb6f3", [:mix], [{:plug, "~> 1.5", [hex: :plug, repo: "hexpm", optional: false]}], "hexpm"}, + "phoenix_html": {:hex, :phoenix_html, "2.11.2", "86ebd768258ba60a27f5578bec83095bdb93485d646fc4111db8844c316602d6", [:mix], [{:plug, "~> 1.5", [hex: :plug, repo: "hexpm", optional: false]}], "hexpm"}, "phoenix_pubsub": {:hex, :phoenix_pubsub, "1.0.2", "bfa7fd52788b5eaa09cb51ff9fcad1d9edfeb68251add458523f839392f034c1", [:mix], [], "hexpm"}, - "plug": {:hex, :plug, "1.5.0", "224b25b4039bedc1eac149fb52ed456770b9678bbf0349cdd810460e1e09195b", [:mix], [{:cowboy, "~> 1.0.1 or ~> 1.1 or ~> 2.1", [hex: :cowboy, repo: "hexpm", optional: true]}, {:mime, "~> 1.0", [hex: :mime, repo: "hexpm", optional: false]}], "hexpm"}, + "plug": {:hex, :plug, "1.5.1", "1ff35bdecfb616f1a2b1c935ab5e4c47303f866cb929d2a76f0541e553a58165", [:mix], [{:cowboy, "~> 1.0.1 or ~> 1.1 or ~> 2.3", [hex: :cowboy, repo: "hexpm", optional: true]}, {:mime, "~> 1.0", [hex: :mime, repo: "hexpm", optional: false]}], "hexpm"}, "poison": {:hex, :poison, "3.1.0", "d9eb636610e096f86f25d9a46f35a9facac35609a7591b3be3326e99a0484665", [:mix], [], "hexpm"}, "poolboy": {:hex, :poolboy, "1.5.1", "6b46163901cfd0a1b43d692657ed9d7e599853b3b21b95ae5ae0a777cf9b6ca8", [:rebar], [], "hexpm"}, "postgrex": {:hex, :postgrex, "0.13.5", "3d931aba29363e1443da167a4b12f06dcd171103c424de15e5f3fc2ba3e6d9c5", [:mix], [{:connection, "~> 1.0", [hex: :connection, repo: "hexpm", optional: false]}, {:db_connection, "~> 1.1", [hex: :db_connection, repo: "hexpm", optional: false]}, {:decimal, "~> 1.0", [hex: :decimal, repo: "hexpm", optional: false]}], "hexpm"}, @@ -45,4 +40,5 @@ "trailing_format_plug": {:hex, :trailing_format_plug, "0.0.7", "64b877f912cf7273bed03379936df39894149e35137ac9509117e59866e10e45", [:mix], [{:plug, "> 0.12.0", [hex: :plug, repo: "hexpm", optional: false]}], "hexpm"}, "tzdata": {:hex, :tzdata, "0.5.16", "13424d3afc76c68ff607f2df966c0ab4f3258859bbe3c979c9ed1606135e7352", [:mix], [{:hackney, "~> 1.0", [hex: :hackney, repo: "hexpm", optional: false]}], "hexpm"}, "unicode_util_compat": {:hex, :unicode_util_compat, "0.3.1", "a1f612a7b512638634a603c8f401892afbf99b8ce93a45041f8aaca99cadb85e", [:rebar3], [], "hexpm"}, + "unsafe": {:hex, :unsafe, "1.0.0", "7c21742cd05380c7875546b023481d3a26f52df8e5dfedcb9f958f322baae305", [:mix], [], "hexpm"}, } diff --git a/priv/repo/migrations/20180429094642_create_lists.exs b/priv/repo/migrations/20180429094642_create_lists.exs new file mode 100644 index 000000000..64c62250e --- /dev/null +++ b/priv/repo/migrations/20180429094642_create_lists.exs @@ -0,0 +1,15 @@ +defmodule Pleroma.Repo.Migrations.CreateLists do + use Ecto.Migration + + def change do + create table(:lists) do + add :user_id, references(:users, on_delete: :delete_all) + add :title, :string + add :following, {:array, :string} + + timestamps() + end + + create index(:lists, [:user_id]) + end +end diff --git a/priv/static/index.html b/priv/static/index.html index e6bc4344a..ae3cde3a4 100644 --- a/priv/static/index.html +++ b/priv/static/index.html @@ -1 +1 @@ -
20},attachmentSize:function(){return this.$store.state.config.hideAttachments&&!this.inConversation||this.$store.state.config.hideAttachmentsInConv&&this.inConversation?"hide":this.compact?"small":"normal"}},components:{Attachment:u.default,FavoriteButton:d.default,RetweetButton:m.default,DeleteButton:v.default,PostStatusForm:_.default,UserCardContent:w.default,StillImage:C.default},methods:{visibilityIcon:function(e){switch(e){case"private":return"icon-lock";case"unlisted":return"icon-lock-open-alt";case"direct":return"icon-mail-alt";default:return"icon-globe"}},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},toggleShowTall:function(){this.showingTall=!this.showingTall},replyEnter:function(e,t){var a=this;this.showPreview=!0;var i=Number(e),s=this.$store.state.statuses.allStatuses;this.preview?this.preview.id!==i&&(this.preview=(0,n.default)(s,{id:i})):(this.preview=(0,n.default)(s,{id:i}),this.preview||this.$store.state.api.backendInteractor.fetchStatus({id:e}).then(function(e){a.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=k},function(e,t,a){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var s=a(64),n=i(s),o=a(165),r=i(o),l={props:["statusoid"],data:function(){return{expanded:!1}},components:{Status:n.default,Conversation:r.default},methods:{toggleExpanded:function(){this.expanded=!this.expanded}}};t.default=l},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={props:["src","referrerpolicy","mimetype"],data:function(){return{stopGifs:this.$store.state.config.stopGifs}},computed:{animated:function(){return this.stopGifs&&("image/gif"===this.mimetype||this.src.endsWith(".gif"))}},methods:{onLoad:function(){var e=this.$refs.canvas;e&&e.getContext("2d").drawImage(this.$refs.src,1,1,e.width,e.height)}}};t.default=a},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=a(66);t.default={data:function(){return{availableStyles:[],selected:this.$store.state.config.theme,bgColorLocal:"",btnColorLocal:"",textColorLocal:"",linkColorLocal:"",redColorLocal:"",blueColorLocal:"",greenColorLocal:"",orangeColorLocal:"",btnRadiusLocal:"",inputRadiusLocal:"",panelRadiusLocal:"",avatarRadiusLocal:"",avatarAltRadiusLocal:"",attachmentRadiusLocal:"",tooltipRadiusLocal:""}},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,i.rgbstr2hex)(this.$store.state.config.colors.bg),this.btnColorLocal=(0,i.rgbstr2hex)(this.$store.state.config.colors.btn),this.textColorLocal=(0,i.rgbstr2hex)(this.$store.state.config.colors.fg),this.linkColorLocal=(0,i.rgbstr2hex)(this.$store.state.config.colors.link),this.redColorLocal=(0,i.rgbstr2hex)(this.$store.state.config.colors.cRed),this.blueColorLocal=(0,i.rgbstr2hex)(this.$store.state.config.colors.cBlue),this.greenColorLocal=(0,i.rgbstr2hex)(this.$store.state.config.colors.cGreen),this.orangeColorLocal=(0,i.rgbstr2hex)(this.$store.state.config.colors.cOrange),this.btnRadiusLocal=this.$store.state.config.radii.btnRadius||4,this.inputRadiusLocal=this.$store.state.config.radii.inputRadius||4,this.panelRadiusLocal=this.$store.state.config.radii.panelRadius||10,this.avatarRadiusLocal=this.$store.state.config.radii.avatarRadius||5,this.avatarAltRadiusLocal=this.$store.state.config.radii.avatarAltRadius||50,this.tooltipRadiusLocal=this.$store.state.config.radii.tooltipRadius||2,this.attachmentRadiusLocal=this.$store.state.config.radii.attachmentRadius||5},methods:{setCustomTheme:function(){!this.bgColorLocal&&!this.btnColorLocal&&!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),a=e(this.btnColorLocal),i=e(this.textColorLocal),s=e(this.linkColorLocal),n=e(this.redColorLocal),o=e(this.blueColorLocal),r=e(this.greenColorLocal),l=e(this.orangeColorLocal);t&&a&&s&&this.$store.dispatch("setOption",{name:"customTheme",value:{fg:a,bg:t,text:i,link:s,cRed:n,cBlue:o,cGreen:r,cOrange:l,btnRadius:this.btnRadiusLocal,inputRadius:this.inputRadiusLocal,panelRadius:this.panelRadiusLocal,avatarRadius:this.avatarRadiusLocal,avatarAltRadius:this.avatarAltRadiusLocal,tooltipRadius:this.tooltipRadiusLocal,attachmentRadius:this.attachmentRadiusLocal}})}},watch:{selected:function(){this.bgColorLocal=this.selected[1],this.btnColorLocal=this.selected[2],this.textColorLocal=this.selected[3],this.linkColorLocal=this.selected[4],this.redColorLocal=this.selected[5],this.greenColorLocal=this.selected[6],this.blueColorLocal=this.selected[7],this.orangeColorLocal=this.selected[8]}}}},function(e,t,a){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var s=a(28),n=i(s),o={created:function(){this.$store.commit("clearTimeline",{timeline:"tag"}),this.$store.dispatch("startFetching",{tag:this.tag})},components:{Timeline:n.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=o},function(e,t,a){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var s=a(64),n=i(s),o=a(107),r=i(o),l=a(487),u=i(l),c=a(489),d=i(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:n.default,StatusOrConversation:u.default,UserCard:d.default},created:function(){var e=this.$store,t=e.state.users.currentUser.credentials,a=0===this.timeline.visibleStatuses.length;window.addEventListener("scroll",this.scrollLoad),r.default.fetchAndUpdate({store:e,credentials:t,timeline:this.timelineName,showImmediately:a,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,a=t.state.users.currentUser.credentials;t.commit("setLoading",{timeline:this.timelineName,value:!0}),r.default.fetchAndUpdate({store:t,credentials:a,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=document.body.getBoundingClientRect(),a=Math.max(t.height,-t.y);this.timeline.loading===!1&&this.$store.state.config.autoLoad&&this.$el.offsetHeight>0&&window.innerHeight+window.pageYOffset>=a-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,a){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var s=a(43),n=i(s),o={props:["user","showFollows"],data:function(){return{userExpanded:!1}},components:{UserCardContent:n.default},methods:{toggleUserExpanded:function(){this.userExpanded=!this.userExpanded}}};t.default=o},function(e,t,a){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var s=a(65),n=i(s),o=a(66);t.default={props:["user","switcher","selected","hideBio"],computed:{headingStyle:function(){var e=this.$store.state.config.colors.bg;if(e){var t=(0,o.hex2rgb)(e),a="rgba("+Math.floor(t.r)+", "+Math.floor(t.g)+", "+Math.floor(t.b)+", .5)";return console.log(t),console.log(["url("+this.user.cover_photo+")","linear-gradient(to bottom, "+a+", "+a+")"].join(", ")),{backgroundColor:"rgb("+Math.floor(.53*t.r)+", "+Math.floor(.56*t.g)+", "+Math.floor(.59*t.b)+")",backgroundImage:["linear-gradient(to bottom, "+a+", "+a+")","url("+this.user.cover_photo+")"].join(", ")}}},isOtherUser:function(){return this.user.id!==this.$store.state.users.currentUser.id},subscribeUrl:function(){var e=new URL(this.user.statusnet_profile_url);return e.protocol+"//"+e.host+"/main/ostatus"},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)}},components:{StillImage:n.default},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){if(this.switcher){var t=this.$store;t.commit("setProfileView",{v:e})}}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={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=a},function(e,t,a){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var s=a(476),n=i(s),o=a(166),r=i(o),l=a(43),u=i(l),c={computed:{user:function(){return this.$store.state.users.currentUser}},components:{LoginForm:n.default,PostStatusForm:r.default,UserCardContent:u.default}};t.default=c},function(e,t,a){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var s=a(43),n=i(s),o=a(28),r=i(o),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:n.default,Timeline:r.default}};t.default=l},function(e,t,a){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var s=a(213),n=i(s),o=a(167),r=i(o),l={data:function(){return{newname:this.$store.state.users.currentUser.name,newbio:this.$store.state.users.currentUser.description,followList:null,followImportError:!1,followsImported:!1,enableFollowsExport:!0,uploading:[!1,!1,!1,!1],previews:[null,null,null],deletingAccount:!1,deleteAccountConfirmPasswordInput:"",deleteAccountError:!1}},components:{StyleSwitcher:r.default},computed:{user:function(){return this.$store.state.users.currentUser},pleromaBackend:function(){return this.$store.state.config.pleromaBackend}},methods:{updateProfile:function(){var e=this,t=this.newname,a=this.newbio;this.$store.state.api.backendInteractor.updateProfile({params:{name:t,description:a}}).then(function(t){t.error||(e.$store.commit("addNewUsers",[t]),e.$store.commit("setCurrentUser",t))})},uploadFile:function(e,t){var a=this,i=t.target.files[0];if(i){var s=new FileReader;s.onload=function(t){var i=t.target,s=i.result;a.previews[e]=s,a.$forceUpdate()},s.readAsDataURL(i)}},submitAvatar:function(){var e=this;if(this.previews[0]){var t=this.previews[0],a=new Image,i=void 0,s=void 0,n=void 0,o=void 0;a.src=t,a.height>a.width?(i=0,n=a.width,s=Math.floor((a.height-a.width)/2),o=a.width):(s=0,o=a.height,i=Math.floor((a.width-a.height)/2),n=a.height),this.uploading[0]=!0,this.$store.state.api.backendInteractor.updateAvatar({params:{img:t,cropX:i,cropY:s,cropW:n,cropH:o}}).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],a=new Image,i=void 0,s=void 0,o=void 0,r=void 0;a.src=t,o=a.width,r=a.height,i=0,s=0,this.uploading[1]=!0,this.$store.state.api.backendInteractor.updateBanner({params:{banner:t,offset_top:i,offset_left:s,width:o,height:r}}).then(function(t){if(!t.error){var a=JSON.parse((0,n.default)(e.$store.state.users.currentUser));a.cover_photo=t.url,e.$store.commit("addNewUsers",[a]),e.$store.commit("setCurrentUser",a),e.previews[1]=null}e.uploading[1]=!1})}},submitBg:function(){var e=this;if(this.previews[2]){var t=this.previews[2],a=new Image,i=void 0,s=void 0,o=void 0,r=void 0;a.src=t,i=0,s=0,o=a.width,r=a.width,this.uploading[2]=!0,this.$store.state.api.backendInteractor.updateBg({params:{img:t,cropX:i,cropY:s,cropW:o,cropH:r}}).then(function(t){if(!t.error){var a=JSON.parse((0,n.default)(e.$store.state.users.currentUser));a.background_image=t.url,e.$store.commit("addNewUsers",[a]),e.$store.commit("setCurrentUser",a),e.previews[2]=null}e.uploading[2]=!1})}},importFollows:function(){var e=this;this.uploading[3]=!0;var t=this.followList;this.$store.state.api.backendInteractor.followImport({params:t}).then(function(t){t?e.followsImported=!0:e.followImportError=!0,e.uploading[3]=!1})},exportPeople:function(e,t){var a=e.map(function(e){return e&&e.is_local&&(e.screen_name+="@"+location.hostname),e.screen_name}).join("\n"),i=document.createElement("a");i.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(a)),i.setAttribute("download",t),i.style.display="none",document.body.appendChild(i),i.click(),document.body.removeChild(i)},exportFollows:function(){var e=this;this.enableFollowsExport=!1,this.$store.state.api.backendInteractor.fetchFriends({id:this.$store.state.users.currentUser.id}).then(function(t){e.exportPeople(t,"friends.csv")})},followListChange:function(){var e=new FormData;e.append("list",this.$refs.followlist.files[0]),this.followList=e},dismissImported:function(){this.followsImported=!1,this.followImportError=!1},confirmDelete:function(){this.deletingAccount=!0},deleteAccount:function(){var e=this;this.$store.state.api.backendInteractor.deleteAccount({password:this.deleteAccountConfirmPasswordInput}).then(function(t){"success"===t.status?(e.$store.dispatch("logout"),e.$router.push("/main/all")):e.deleteAccountError=t.error})}}};t.default=l},function(e,t){"use strict";function a(e,t,a,i){var s,n=t.ids,o=0,r=Math.floor(10*Math.random());for(s=r;s 20;\n\t },\n\t attachmentSize: function attachmentSize() {\n\t if (this.$store.state.config.hideAttachments && !this.inConversation || this.$store.state.config.hideAttachmentsInConv && this.inConversation) {\n\t return 'hide';\n\t } else if (this.compact) {\n\t return 'small';\n\t }\n\t return 'normal';\n\t }\n\t },\n\t components: {\n\t Attachment: _attachment2.default,\n\t FavoriteButton: _favorite_button2.default,\n\t RetweetButton: _retweet_button2.default,\n\t DeleteButton: _delete_button2.default,\n\t PostStatusForm: _post_status_form2.default,\n\t UserCardContent: _user_card_content2.default,\n\t StillImage: _stillImage2.default\n\t },\n\t methods: {\n\t visibilityIcon: function visibilityIcon(visibility) {\n\t switch (visibility) {\n\t case \"private\":\n\t return \"icon-lock\";\n\t case \"unlisted\":\n\t return \"icon-lock-open-alt\";\n\t case \"direct\":\n\t return \"icon-mail-alt\";\n\t default:\n\t return \"icon-globe\";\n\t }\n\t },\n\t linkClicked: function linkClicked(_ref) {\n\t var target = _ref.target;\n\t\n\t if (target.tagName === 'SPAN') {\n\t target = target.parentNode;\n\t }\n\t if (target.tagName === 'A') {\n\t window.open(target.href, '_blank');\n\t }\n\t },\n\t toggleReplying: function toggleReplying() {\n\t this.replying = !this.replying;\n\t },\n\t gotoOriginal: function gotoOriginal(id) {\n\t if (this.inConversation) {\n\t this.$emit('goto', id);\n\t }\n\t },\n\t toggleExpanded: function toggleExpanded() {\n\t this.$emit('toggleExpanded');\n\t },\n\t toggleMute: function toggleMute() {\n\t this.unmuted = !this.unmuted;\n\t },\n\t toggleUserExpanded: function toggleUserExpanded() {\n\t this.userExpanded = !this.userExpanded;\n\t },\n\t toggleShowTall: function toggleShowTall() {\n\t this.showingTall = !this.showingTall;\n\t },\n\t replyEnter: function replyEnter(id, event) {\n\t var _this = this;\n\t\n\t this.showPreview = true;\n\t var targetId = Number(id);\n\t var statuses = this.$store.state.statuses.allStatuses;\n\t\n\t if (!this.preview) {\n\t this.preview = (0, _find3.default)(statuses, { 'id': targetId });\n\t\n\t if (!this.preview) {\n\t this.$store.state.api.backendInteractor.fetchStatus({ id: id }).then(function (status) {\n\t _this.preview = status;\n\t });\n\t }\n\t } else if (this.preview.id !== targetId) {\n\t this.preview = (0, _find3.default)(statuses, { 'id': targetId });\n\t }\n\t },\n\t replyLeave: function replyLeave() {\n\t this.showPreview = false;\n\t }\n\t },\n\t watch: {\n\t 'highlight': function highlight(id) {\n\t id = Number(id);\n\t if (this.status.id === id) {\n\t var rect = this.$el.getBoundingClientRect();\n\t if (rect.top < 100) {\n\t window.scrollBy(0, rect.top - 200);\n\t } else if (rect.bottom > window.innerHeight - 50) {\n\t window.scrollBy(0, rect.bottom - window.innerHeight + 50);\n\t }\n\t }\n\t }\n\t }\n\t};\n\t\n\texports.default = Status;\n\n/***/ }),\n/* 198 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _status = __webpack_require__(64);\n\t\n\tvar _status2 = _interopRequireDefault(_status);\n\t\n\tvar _conversation = __webpack_require__(165);\n\t\n\tvar _conversation2 = _interopRequireDefault(_conversation);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar statusOrConversation = {\n\t props: ['statusoid'],\n\t data: function data() {\n\t return {\n\t expanded: false\n\t };\n\t },\n\t\n\t components: {\n\t Status: _status2.default,\n\t Conversation: _conversation2.default\n\t },\n\t methods: {\n\t toggleExpanded: function toggleExpanded() {\n\t this.expanded = !this.expanded;\n\t }\n\t }\n\t};\n\t\n\texports.default = statusOrConversation;\n\n/***/ }),\n/* 199 */\n/***/ (function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar StillImage = {\n\t props: ['src', 'referrerpolicy', 'mimetype'],\n\t data: function data() {\n\t return {\n\t stopGifs: this.$store.state.config.stopGifs\n\t };\n\t },\n\t\n\t computed: {\n\t animated: function animated() {\n\t return this.stopGifs && (this.mimetype === 'image/gif' || this.src.endsWith('.gif'));\n\t }\n\t },\n\t methods: {\n\t onLoad: function onLoad() {\n\t var canvas = this.$refs.canvas;\n\t if (!canvas) return;\n\t canvas.getContext('2d').drawImage(this.$refs.src, 1, 1, canvas.width, canvas.height);\n\t }\n\t }\n\t};\n\t\n\texports.default = StillImage;\n\n/***/ }),\n/* 200 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _color_convert = __webpack_require__(66);\n\t\n\texports.default = {\n\t data: function data() {\n\t return {\n\t availableStyles: [],\n\t selected: this.$store.state.config.theme,\n\t bgColorLocal: '',\n\t btnColorLocal: '',\n\t textColorLocal: '',\n\t linkColorLocal: '',\n\t redColorLocal: '',\n\t blueColorLocal: '',\n\t greenColorLocal: '',\n\t orangeColorLocal: '',\n\t btnRadiusLocal: '',\n\t inputRadiusLocal: '',\n\t panelRadiusLocal: '',\n\t avatarRadiusLocal: '',\n\t avatarAltRadiusLocal: '',\n\t attachmentRadiusLocal: '',\n\t tooltipRadiusLocal: ''\n\t };\n\t },\n\t created: function created() {\n\t var self = this;\n\t\n\t window.fetch('/static/styles.json').then(function (data) {\n\t return data.json();\n\t }).then(function (themes) {\n\t self.availableStyles = themes;\n\t });\n\t },\n\t mounted: function mounted() {\n\t this.bgColorLocal = (0, _color_convert.rgbstr2hex)(this.$store.state.config.colors.bg);\n\t this.btnColorLocal = (0, _color_convert.rgbstr2hex)(this.$store.state.config.colors.btn);\n\t this.textColorLocal = (0, _color_convert.rgbstr2hex)(this.$store.state.config.colors.fg);\n\t this.linkColorLocal = (0, _color_convert.rgbstr2hex)(this.$store.state.config.colors.link);\n\t\n\t this.redColorLocal = (0, _color_convert.rgbstr2hex)(this.$store.state.config.colors.cRed);\n\t this.blueColorLocal = (0, _color_convert.rgbstr2hex)(this.$store.state.config.colors.cBlue);\n\t this.greenColorLocal = (0, _color_convert.rgbstr2hex)(this.$store.state.config.colors.cGreen);\n\t this.orangeColorLocal = (0, _color_convert.rgbstr2hex)(this.$store.state.config.colors.cOrange);\n\t\n\t this.btnRadiusLocal = this.$store.state.config.radii.btnRadius || 4;\n\t this.inputRadiusLocal = this.$store.state.config.radii.inputRadius || 4;\n\t this.panelRadiusLocal = this.$store.state.config.radii.panelRadius || 10;\n\t this.avatarRadiusLocal = this.$store.state.config.radii.avatarRadius || 5;\n\t this.avatarAltRadiusLocal = this.$store.state.config.radii.avatarAltRadius || 50;\n\t this.tooltipRadiusLocal = this.$store.state.config.radii.tooltipRadius || 2;\n\t this.attachmentRadiusLocal = this.$store.state.config.radii.attachmentRadius || 5;\n\t },\n\t\n\t methods: {\n\t setCustomTheme: function setCustomTheme() {\n\t if (!this.bgColorLocal && !this.btnColorLocal && !this.linkColorLocal) {}\n\t\n\t var rgb = function rgb(hex) {\n\t var result = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex);\n\t return result ? {\n\t r: parseInt(result[1], 16),\n\t g: parseInt(result[2], 16),\n\t b: parseInt(result[3], 16)\n\t } : null;\n\t };\n\t var bgRgb = rgb(this.bgColorLocal);\n\t var btnRgb = rgb(this.btnColorLocal);\n\t var textRgb = rgb(this.textColorLocal);\n\t var linkRgb = rgb(this.linkColorLocal);\n\t\n\t var redRgb = rgb(this.redColorLocal);\n\t var blueRgb = rgb(this.blueColorLocal);\n\t var greenRgb = rgb(this.greenColorLocal);\n\t var orangeRgb = rgb(this.orangeColorLocal);\n\t\n\t if (bgRgb && btnRgb && linkRgb) {\n\t this.$store.dispatch('setOption', {\n\t name: 'customTheme',\n\t value: {\n\t fg: btnRgb,\n\t bg: bgRgb,\n\t text: textRgb,\n\t link: linkRgb,\n\t cRed: redRgb,\n\t cBlue: blueRgb,\n\t cGreen: greenRgb,\n\t cOrange: orangeRgb,\n\t btnRadius: this.btnRadiusLocal,\n\t inputRadius: this.inputRadiusLocal,\n\t panelRadius: this.panelRadiusLocal,\n\t avatarRadius: this.avatarRadiusLocal,\n\t avatarAltRadius: this.avatarAltRadiusLocal,\n\t tooltipRadius: this.tooltipRadiusLocal,\n\t attachmentRadius: this.attachmentRadiusLocal\n\t } });\n\t }\n\t }\n\t },\n\t watch: {\n\t selected: function selected() {\n\t this.bgColorLocal = this.selected[1];\n\t this.btnColorLocal = this.selected[2];\n\t this.textColorLocal = this.selected[3];\n\t this.linkColorLocal = this.selected[4];\n\t this.redColorLocal = this.selected[5];\n\t this.greenColorLocal = this.selected[6];\n\t this.blueColorLocal = this.selected[7];\n\t this.orangeColorLocal = this.selected[8];\n\t }\n\t }\n\t};\n\n/***/ }),\n/* 201 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _timeline = __webpack_require__(28);\n\t\n\tvar _timeline2 = _interopRequireDefault(_timeline);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar TagTimeline = {\n\t created: function created() {\n\t this.$store.commit('clearTimeline', { timeline: 'tag' });\n\t this.$store.dispatch('startFetching', { 'tag': this.tag });\n\t },\n\t\n\t components: {\n\t Timeline: _timeline2.default\n\t },\n\t computed: {\n\t tag: function tag() {\n\t return this.$route.params.tag;\n\t },\n\t timeline: function timeline() {\n\t return this.$store.state.statuses.timelines.tag;\n\t }\n\t },\n\t watch: {\n\t tag: function tag() {\n\t this.$store.commit('clearTimeline', { timeline: 'tag' });\n\t this.$store.dispatch('startFetching', { 'tag': this.tag });\n\t }\n\t },\n\t destroyed: function destroyed() {\n\t this.$store.dispatch('stopFetching', 'tag');\n\t }\n\t};\n\t\n\texports.default = TagTimeline;\n\n/***/ }),\n/* 202 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _status = __webpack_require__(64);\n\t\n\tvar _status2 = _interopRequireDefault(_status);\n\t\n\tvar _timeline_fetcherService = __webpack_require__(107);\n\t\n\tvar _timeline_fetcherService2 = _interopRequireDefault(_timeline_fetcherService);\n\t\n\tvar _status_or_conversation = __webpack_require__(487);\n\t\n\tvar _status_or_conversation2 = _interopRequireDefault(_status_or_conversation);\n\t\n\tvar _user_card = __webpack_require__(489);\n\t\n\tvar _user_card2 = _interopRequireDefault(_user_card);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar Timeline = {\n\t props: ['timeline', 'timelineName', 'title', 'userId', 'tag'],\n\t data: function data() {\n\t return {\n\t paused: false\n\t };\n\t },\n\t\n\t computed: {\n\t timelineError: function timelineError() {\n\t return this.$store.state.statuses.error;\n\t },\n\t followers: function followers() {\n\t return this.timeline.followers;\n\t },\n\t friends: function friends() {\n\t return this.timeline.friends;\n\t },\n\t viewing: function viewing() {\n\t return this.timeline.viewing;\n\t },\n\t newStatusCount: function newStatusCount() {\n\t return this.timeline.newStatusCount;\n\t },\n\t newStatusCountStr: function newStatusCountStr() {\n\t if (this.timeline.flushMarker !== 0) {\n\t return '';\n\t } else {\n\t return ' (' + this.newStatusCount + ')';\n\t }\n\t }\n\t },\n\t components: {\n\t Status: _status2.default,\n\t StatusOrConversation: _status_or_conversation2.default,\n\t UserCard: _user_card2.default\n\t },\n\t created: function created() {\n\t var store = this.$store;\n\t var credentials = store.state.users.currentUser.credentials;\n\t var showImmediately = this.timeline.visibleStatuses.length === 0;\n\t\n\t window.addEventListener('scroll', this.scrollLoad);\n\t\n\t _timeline_fetcherService2.default.fetchAndUpdate({\n\t store: store,\n\t credentials: credentials,\n\t timeline: this.timelineName,\n\t showImmediately: showImmediately,\n\t userId: this.userId,\n\t tag: this.tag\n\t });\n\t\n\t if (this.timelineName === 'user') {\n\t this.fetchFriends();\n\t this.fetchFollowers();\n\t }\n\t },\n\t destroyed: function destroyed() {\n\t window.removeEventListener('scroll', this.scrollLoad);\n\t this.$store.commit('setLoading', { timeline: this.timelineName, value: false });\n\t },\n\t\n\t methods: {\n\t showNewStatuses: function showNewStatuses() {\n\t if (this.timeline.flushMarker !== 0) {\n\t this.$store.commit('clearTimeline', { timeline: this.timelineName });\n\t this.$store.commit('queueFlush', { timeline: this.timelineName, id: 0 });\n\t this.fetchOlderStatuses();\n\t } else {\n\t this.$store.commit('showNewStatuses', { timeline: this.timelineName });\n\t this.paused = false;\n\t }\n\t },\n\t fetchOlderStatuses: function fetchOlderStatuses() {\n\t var _this = this;\n\t\n\t var store = this.$store;\n\t var credentials = store.state.users.currentUser.credentials;\n\t store.commit('setLoading', { timeline: this.timelineName, value: true });\n\t _timeline_fetcherService2.default.fetchAndUpdate({\n\t store: store,\n\t credentials: credentials,\n\t timeline: this.timelineName,\n\t older: true,\n\t showImmediately: true,\n\t userId: this.userId,\n\t tag: this.tag\n\t }).then(function () {\n\t return store.commit('setLoading', { timeline: _this.timelineName, value: false });\n\t });\n\t },\n\t fetchFollowers: function fetchFollowers() {\n\t var _this2 = this;\n\t\n\t var id = this.userId;\n\t this.$store.state.api.backendInteractor.fetchFollowers({ id: id }).then(function (followers) {\n\t return _this2.$store.dispatch('addFollowers', { followers: followers });\n\t });\n\t },\n\t fetchFriends: function fetchFriends() {\n\t var _this3 = this;\n\t\n\t var id = this.userId;\n\t this.$store.state.api.backendInteractor.fetchFriends({ id: id }).then(function (friends) {\n\t return _this3.$store.dispatch('addFriends', { friends: friends });\n\t });\n\t },\n\t scrollLoad: function scrollLoad(e) {\n\t var bodyBRect = document.body.getBoundingClientRect();\n\t var height = Math.max(bodyBRect.height, -bodyBRect.y);\n\t if (this.timeline.loading === false && this.$store.state.config.autoLoad && this.$el.offsetHeight > 0 && window.innerHeight + window.pageYOffset >= height - 750) {\n\t this.fetchOlderStatuses();\n\t }\n\t }\n\t },\n\t watch: {\n\t newStatusCount: function newStatusCount(count) {\n\t if (!this.$store.state.config.streaming) {\n\t return;\n\t }\n\t if (count > 0) {\n\t if (window.pageYOffset < 15 && !this.paused) {\n\t this.showNewStatuses();\n\t } else {\n\t this.paused = true;\n\t }\n\t }\n\t }\n\t }\n\t};\n\t\n\texports.default = Timeline;\n\n/***/ }),\n/* 203 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _user_card_content = __webpack_require__(43);\n\t\n\tvar _user_card_content2 = _interopRequireDefault(_user_card_content);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar UserCard = {\n\t props: ['user', 'showFollows'],\n\t data: function data() {\n\t return {\n\t userExpanded: false\n\t };\n\t },\n\t\n\t components: {\n\t UserCardContent: _user_card_content2.default\n\t },\n\t methods: {\n\t toggleUserExpanded: function toggleUserExpanded() {\n\t this.userExpanded = !this.userExpanded;\n\t }\n\t }\n\t};\n\t\n\texports.default = UserCard;\n\n/***/ }),\n/* 204 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _stillImage = __webpack_require__(65);\n\t\n\tvar _stillImage2 = _interopRequireDefault(_stillImage);\n\t\n\tvar _color_convert = __webpack_require__(66);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = {\n\t props: ['user', 'switcher', 'selected', 'hideBio'],\n\t computed: {\n\t headingStyle: function headingStyle() {\n\t var color = this.$store.state.config.colors.bg;\n\t if (color) {\n\t var rgb = (0, _color_convert.hex2rgb)(color);\n\t var tintColor = 'rgba(' + Math.floor(rgb.r) + ', ' + Math.floor(rgb.g) + ', ' + Math.floor(rgb.b) + ', .5)';\n\t console.log(rgb);\n\t console.log(['url(' + this.user.cover_photo + ')', 'linear-gradient(to bottom, ' + tintColor + ', ' + tintColor + ')'].join(', '));\n\t return {\n\t backgroundColor: 'rgb(' + Math.floor(rgb.r * 0.53) + ', ' + Math.floor(rgb.g * 0.56) + ', ' + Math.floor(rgb.b * 0.59) + ')',\n\t backgroundImage: ['linear-gradient(to bottom, ' + tintColor + ', ' + tintColor + ')', 'url(' + this.user.cover_photo + ')'].join(', ')\n\t };\n\t }\n\t },\n\t isOtherUser: function isOtherUser() {\n\t return this.user.id !== this.$store.state.users.currentUser.id;\n\t },\n\t subscribeUrl: function subscribeUrl() {\n\t var serverUrl = new URL(this.user.statusnet_profile_url);\n\t return serverUrl.protocol + '//' + serverUrl.host + '/main/ostatus';\n\t },\n\t loggedIn: function loggedIn() {\n\t return this.$store.state.users.currentUser;\n\t },\n\t dailyAvg: function dailyAvg() {\n\t var days = Math.ceil((new Date() - new Date(this.user.created_at)) / (60 * 60 * 24 * 1000));\n\t return Math.round(this.user.statuses_count / days);\n\t }\n\t },\n\t components: {\n\t StillImage: _stillImage2.default\n\t },\n\t methods: {\n\t followUser: function followUser() {\n\t var store = this.$store;\n\t store.state.api.backendInteractor.followUser(this.user.id).then(function (followedUser) {\n\t return store.commit('addNewUsers', [followedUser]);\n\t });\n\t },\n\t unfollowUser: function unfollowUser() {\n\t var store = this.$store;\n\t store.state.api.backendInteractor.unfollowUser(this.user.id).then(function (unfollowedUser) {\n\t return store.commit('addNewUsers', [unfollowedUser]);\n\t });\n\t },\n\t blockUser: function blockUser() {\n\t var store = this.$store;\n\t store.state.api.backendInteractor.blockUser(this.user.id).then(function (blockedUser) {\n\t return store.commit('addNewUsers', [blockedUser]);\n\t });\n\t },\n\t unblockUser: function unblockUser() {\n\t var store = this.$store;\n\t store.state.api.backendInteractor.unblockUser(this.user.id).then(function (unblockedUser) {\n\t return store.commit('addNewUsers', [unblockedUser]);\n\t });\n\t },\n\t toggleMute: function toggleMute() {\n\t var store = this.$store;\n\t store.commit('setMuted', { user: this.user, muted: !this.user.muted });\n\t store.state.api.backendInteractor.setUserMute(this.user);\n\t },\n\t setProfileView: function setProfileView(v) {\n\t if (this.switcher) {\n\t var store = this.$store;\n\t store.commit('setProfileView', { v: v });\n\t }\n\t }\n\t }\n\t};\n\n/***/ }),\n/* 205 */\n/***/ (function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar UserFinder = {\n\t data: function data() {\n\t return {\n\t username: undefined,\n\t hidden: true,\n\t error: false,\n\t loading: false\n\t };\n\t },\n\t methods: {\n\t findUser: function findUser(username) {\n\t var _this = this;\n\t\n\t username = username[0] === '@' ? username.slice(1) : username;\n\t this.loading = true;\n\t this.$store.state.api.backendInteractor.externalProfile(username).then(function (user) {\n\t _this.loading = false;\n\t _this.hidden = true;\n\t if (!user.error) {\n\t _this.$store.commit('addNewUsers', [user]);\n\t _this.$router.push({ name: 'user-profile', params: { id: user.id } });\n\t } else {\n\t _this.error = true;\n\t }\n\t });\n\t },\n\t toggleHidden: function toggleHidden() {\n\t this.hidden = !this.hidden;\n\t },\n\t dismissError: function dismissError() {\n\t this.error = false;\n\t }\n\t }\n\t};\n\t\n\texports.default = UserFinder;\n\n/***/ }),\n/* 206 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _login_form = __webpack_require__(476);\n\t\n\tvar _login_form2 = _interopRequireDefault(_login_form);\n\t\n\tvar _post_status_form = __webpack_require__(166);\n\t\n\tvar _post_status_form2 = _interopRequireDefault(_post_status_form);\n\t\n\tvar _user_card_content = __webpack_require__(43);\n\t\n\tvar _user_card_content2 = _interopRequireDefault(_user_card_content);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar UserPanel = {\n\t computed: {\n\t user: function user() {\n\t return this.$store.state.users.currentUser;\n\t }\n\t },\n\t components: {\n\t LoginForm: _login_form2.default,\n\t PostStatusForm: _post_status_form2.default,\n\t UserCardContent: _user_card_content2.default\n\t }\n\t};\n\t\n\texports.default = UserPanel;\n\n/***/ }),\n/* 207 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _user_card_content = __webpack_require__(43);\n\t\n\tvar _user_card_content2 = _interopRequireDefault(_user_card_content);\n\t\n\tvar _timeline = __webpack_require__(28);\n\t\n\tvar _timeline2 = _interopRequireDefault(_timeline);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar UserProfile = {\n\t created: function created() {\n\t this.$store.commit('clearTimeline', { timeline: 'user' });\n\t this.$store.dispatch('startFetching', ['user', this.userId]);\n\t if (!this.$store.state.users.usersObject[this.userId]) {\n\t this.$store.dispatch('fetchUser', this.userId);\n\t }\n\t },\n\t destroyed: function destroyed() {\n\t this.$store.dispatch('stopFetching', 'user');\n\t },\n\t\n\t computed: {\n\t timeline: function timeline() {\n\t return this.$store.state.statuses.timelines.user;\n\t },\n\t userId: function userId() {\n\t return this.$route.params.id;\n\t },\n\t user: function user() {\n\t if (this.timeline.statuses[0]) {\n\t return this.timeline.statuses[0].user;\n\t } else {\n\t return this.$store.state.users.usersObject[this.userId] || false;\n\t }\n\t }\n\t },\n\t watch: {\n\t userId: function userId() {\n\t this.$store.commit('clearTimeline', { timeline: 'user' });\n\t this.$store.dispatch('startFetching', ['user', this.userId]);\n\t }\n\t },\n\t components: {\n\t UserCardContent: _user_card_content2.default,\n\t Timeline: _timeline2.default\n\t }\n\t};\n\t\n\texports.default = UserProfile;\n\n/***/ }),\n/* 208 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _stringify = __webpack_require__(213);\n\t\n\tvar _stringify2 = _interopRequireDefault(_stringify);\n\t\n\tvar _style_switcher = __webpack_require__(167);\n\t\n\tvar _style_switcher2 = _interopRequireDefault(_style_switcher);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar UserSettings = {\n\t data: function data() {\n\t return {\n\t newname: this.$store.state.users.currentUser.name,\n\t newbio: this.$store.state.users.currentUser.description,\n\t followList: null,\n\t followImportError: false,\n\t followsImported: false,\n\t enableFollowsExport: true,\n\t uploading: [false, false, false, false],\n\t previews: [null, null, null],\n\t deletingAccount: false,\n\t deleteAccountConfirmPasswordInput: '',\n\t deleteAccountError: false\n\t };\n\t },\n\t\n\t components: {\n\t StyleSwitcher: _style_switcher2.default\n\t },\n\t computed: {\n\t user: function user() {\n\t return this.$store.state.users.currentUser;\n\t },\n\t pleromaBackend: function pleromaBackend() {\n\t return this.$store.state.config.pleromaBackend;\n\t }\n\t },\n\t methods: {\n\t updateProfile: function updateProfile() {\n\t var _this = this;\n\t\n\t var name = this.newname;\n\t var description = this.newbio;\n\t this.$store.state.api.backendInteractor.updateProfile({ params: { name: name, description: description } }).then(function (user) {\n\t if (!user.error) {\n\t _this.$store.commit('addNewUsers', [user]);\n\t _this.$store.commit('setCurrentUser', user);\n\t }\n\t });\n\t },\n\t uploadFile: function uploadFile(slot, e) {\n\t var _this2 = this;\n\t\n\t var file = e.target.files[0];\n\t if (!file) {\n\t return;\n\t }\n\t\n\t var reader = new FileReader();\n\t reader.onload = function (_ref) {\n\t var target = _ref.target;\n\t\n\t var img = target.result;\n\t _this2.previews[slot] = img;\n\t _this2.$forceUpdate();\n\t };\n\t reader.readAsDataURL(file);\n\t },\n\t submitAvatar: function submitAvatar() {\n\t var _this3 = this;\n\t\n\t if (!this.previews[0]) {\n\t return;\n\t }\n\t\n\t var img = this.previews[0];\n\t\n\t var imginfo = new Image();\n\t var cropX = void 0,\n\t cropY = void 0,\n\t cropW = void 0,\n\t cropH = void 0;\n\t imginfo.src = img;\n\t if (imginfo.height > imginfo.width) {\n\t cropX = 0;\n\t cropW = imginfo.width;\n\t cropY = Math.floor((imginfo.height - imginfo.width) / 2);\n\t cropH = imginfo.width;\n\t } else {\n\t cropY = 0;\n\t cropH = imginfo.height;\n\t cropX = Math.floor((imginfo.width - imginfo.height) / 2);\n\t cropW = imginfo.height;\n\t }\n\t this.uploading[0] = true;\n\t this.$store.state.api.backendInteractor.updateAvatar({ params: { img: img, cropX: cropX, cropY: cropY, cropW: cropW, cropH: cropH } }).then(function (user) {\n\t if (!user.error) {\n\t _this3.$store.commit('addNewUsers', [user]);\n\t _this3.$store.commit('setCurrentUser', user);\n\t _this3.previews[0] = null;\n\t }\n\t _this3.uploading[0] = false;\n\t });\n\t },\n\t submitBanner: function submitBanner() {\n\t var _this4 = this;\n\t\n\t if (!this.previews[1]) {\n\t return;\n\t }\n\t\n\t var banner = this.previews[1];\n\t\n\t var imginfo = new Image();\n\t\n\t var offset_top = void 0,\n\t offset_left = void 0,\n\t width = void 0,\n\t height = void 0;\n\t imginfo.src = banner;\n\t width = imginfo.width;\n\t height = imginfo.height;\n\t offset_top = 0;\n\t offset_left = 0;\n\t this.uploading[1] = true;\n\t this.$store.state.api.backendInteractor.updateBanner({ params: { banner: banner, offset_top: offset_top, offset_left: offset_left, width: width, height: height } }).then(function (data) {\n\t if (!data.error) {\n\t var clone = JSON.parse((0, _stringify2.default)(_this4.$store.state.users.currentUser));\n\t clone.cover_photo = data.url;\n\t _this4.$store.commit('addNewUsers', [clone]);\n\t _this4.$store.commit('setCurrentUser', clone);\n\t _this4.previews[1] = null;\n\t }\n\t _this4.uploading[1] = false;\n\t });\n\t },\n\t submitBg: function submitBg() {\n\t var _this5 = this;\n\t\n\t if (!this.previews[2]) {\n\t return;\n\t }\n\t var img = this.previews[2];\n\t\n\t var imginfo = new Image();\n\t var cropX = void 0,\n\t cropY = void 0,\n\t cropW = void 0,\n\t cropH = void 0;\n\t imginfo.src = img;\n\t cropX = 0;\n\t cropY = 0;\n\t cropW = imginfo.width;\n\t cropH = imginfo.width;\n\t this.uploading[2] = true;\n\t this.$store.state.api.backendInteractor.updateBg({ params: { img: img, cropX: cropX, cropY: cropY, cropW: cropW, cropH: cropH } }).then(function (data) {\n\t if (!data.error) {\n\t var clone = JSON.parse((0, _stringify2.default)(_this5.$store.state.users.currentUser));\n\t clone.background_image = data.url;\n\t _this5.$store.commit('addNewUsers', [clone]);\n\t _this5.$store.commit('setCurrentUser', clone);\n\t _this5.previews[2] = null;\n\t }\n\t _this5.uploading[2] = false;\n\t });\n\t },\n\t importFollows: function importFollows() {\n\t var _this6 = this;\n\t\n\t this.uploading[3] = true;\n\t var followList = this.followList;\n\t this.$store.state.api.backendInteractor.followImport({ params: followList }).then(function (status) {\n\t if (status) {\n\t _this6.followsImported = true;\n\t } else {\n\t _this6.followImportError = true;\n\t }\n\t _this6.uploading[3] = false;\n\t });\n\t },\n\t exportPeople: function exportPeople(users, filename) {\n\t var UserAddresses = users.map(function (user) {\n\t if (user && user.is_local) {\n\t user.screen_name += '@' + location.hostname;\n\t }\n\t return user.screen_name;\n\t }).join('\\n');\n\t\n\t var fileToDownload = document.createElement('a');\n\t fileToDownload.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(UserAddresses));\n\t fileToDownload.setAttribute('download', filename);\n\t fileToDownload.style.display = 'none';\n\t document.body.appendChild(fileToDownload);\n\t fileToDownload.click();\n\t document.body.removeChild(fileToDownload);\n\t },\n\t exportFollows: function exportFollows() {\n\t var _this7 = this;\n\t\n\t this.enableFollowsExport = false;\n\t this.$store.state.api.backendInteractor.fetchFriends({ id: this.$store.state.users.currentUser.id }).then(function (friendList) {\n\t _this7.exportPeople(friendList, 'friends.csv');\n\t });\n\t },\n\t followListChange: function followListChange() {\n\t var formData = new FormData();\n\t formData.append('list', this.$refs.followlist.files[0]);\n\t this.followList = formData;\n\t },\n\t dismissImported: function dismissImported() {\n\t this.followsImported = false;\n\t this.followImportError = false;\n\t },\n\t confirmDelete: function confirmDelete() {\n\t this.deletingAccount = true;\n\t },\n\t deleteAccount: function deleteAccount() {\n\t var _this8 = this;\n\t\n\t this.$store.state.api.backendInteractor.deleteAccount({ password: this.deleteAccountConfirmPasswordInput }).then(function (res) {\n\t if (res.status === 'success') {\n\t _this8.$store.dispatch('logout');\n\t _this8.$router.push('/main/all');\n\t } else {\n\t _this8.deleteAccountError = res.error;\n\t }\n\t });\n\t }\n\t }\n\t};\n\t\n\texports.default = UserSettings;\n\n/***/ }),\n/* 209 */\n/***/ (function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tfunction showWhoToFollow(panel, reply, aHost, aUser) {\n\t var users = reply.ids;\n\t var cn;\n\t var index = 0;\n\t var random = Math.floor(Math.random() * 10);\n\t for (cn = random; cn < users.length; cn = cn + 10) {\n\t var user;\n\t user = users[cn];\n\t var img;\n\t if (user.icon) {\n\t img = user.icon;\n\t } else {\n\t img = '/images/avi.png';\n\t }\n\t var name = user.to_id;\n\t if (index === 0) {\n\t panel.img1 = img;\n\t panel.name1 = name;\n\t panel.$store.state.api.backendInteractor.externalProfile(name).then(function (externalUser) {\n\t if (!externalUser.error) {\n\t panel.$store.commit('addNewUsers', [externalUser]);\n\t panel.id1 = externalUser.id;\n\t }\n\t });\n\t } else if (index === 1) {\n\t panel.img2 = img;\n\t panel.name2 = name;\n\t panel.$store.state.api.backendInteractor.externalProfile(name).then(function (externalUser) {\n\t if (!externalUser.error) {\n\t panel.$store.commit('addNewUsers', [externalUser]);\n\t panel.id2 = externalUser.id;\n\t }\n\t });\n\t } else if (index === 2) {\n\t panel.img3 = img;\n\t panel.name3 = name;\n\t panel.$store.state.api.backendInteractor.externalProfile(name).then(function (externalUser) {\n\t if (!externalUser.error) {\n\t panel.$store.commit('addNewUsers', [externalUser]);\n\t panel.id3 = externalUser.id;\n\t }\n\t });\n\t }\n\t index = index + 1;\n\t if (index > 2) {\n\t break;\n\t }\n\t }\n\t}\n\t\n\tfunction getWhoToFollow(panel) {\n\t var user = panel.$store.state.users.currentUser.screen_name;\n\t if (user) {\n\t panel.name1 = 'Loading...';\n\t panel.name2 = 'Loading...';\n\t panel.name3 = 'Loading...';\n\t var host = window.location.hostname;\n\t var whoToFollowProvider = panel.$store.state.config.whoToFollowProvider;\n\t var url;\n\t url = whoToFollowProvider.replace(/{{host}}/g, encodeURIComponent(host));\n\t url = url.replace(/{{user}}/g, encodeURIComponent(user));\n\t window.fetch(url, { mode: 'cors' }).then(function (response) {\n\t if (response.ok) {\n\t return response.json();\n\t } else {\n\t panel.name1 = '';\n\t panel.name2 = '';\n\t panel.name3 = '';\n\t }\n\t }).then(function (reply) {\n\t showWhoToFollow(panel, reply, host, user);\n\t });\n\t }\n\t}\n\t\n\tvar WhoToFollowPanel = {\n\t data: function data() {\n\t return {\n\t img1: '/images/avi.png',\n\t name1: '',\n\t id1: 0,\n\t img2: '/images/avi.png',\n\t name2: '',\n\t id2: 0,\n\t img3: '/images/avi.png',\n\t name3: '',\n\t id3: 0\n\t };\n\t },\n\t computed: {\n\t user: function user() {\n\t return this.$store.state.users.currentUser.screen_name;\n\t },\n\t moreUrl: function moreUrl() {\n\t var host = window.location.hostname;\n\t var user = this.user;\n\t var whoToFollowLink = this.$store.state.config.whoToFollowLink;\n\t var url;\n\t url = whoToFollowLink.replace(/{{host}}/g, encodeURIComponent(host));\n\t url = url.replace(/{{user}}/g, encodeURIComponent(user));\n\t return url;\n\t },\n\t showWhoToFollowPanel: function showWhoToFollowPanel() {\n\t return this.$store.state.config.showWhoToFollowPanel;\n\t }\n\t },\n\t watch: {\n\t user: function user(_user, oldUser) {\n\t if (this.showWhoToFollowPanel) {\n\t getWhoToFollow(this);\n\t }\n\t }\n\t },\n\t mounted: function mounted() {\n\t if (this.showWhoToFollowPanel) {\n\t getWhoToFollow(this);\n\t }\n\t }\n\t};\n\t\n\texports.default = WhoToFollowPanel;\n\n/***/ }),\n/* 210 */,\n/* 211 */,\n/* 212 */,\n/* 213 */,\n/* 214 */,\n/* 215 */,\n/* 216 */,\n/* 217 */,\n/* 218 */,\n/* 219 */,\n/* 220 */,\n/* 221 */,\n/* 222 */,\n/* 223 */,\n/* 224 */,\n/* 225 */,\n/* 226 */,\n/* 227 */,\n/* 228 */,\n/* 229 */,\n/* 230 */,\n/* 231 */,\n/* 232 */,\n/* 233 */,\n/* 234 */,\n/* 235 */,\n/* 236 */,\n/* 237 */,\n/* 238 */,\n/* 239 */,\n/* 240 */,\n/* 241 */,\n/* 242 */,\n/* 243 */,\n/* 244 */,\n/* 245 */,\n/* 246 */,\n/* 247 */,\n/* 248 */,\n/* 249 */,\n/* 250 */,\n/* 251 */,\n/* 252 */,\n/* 253 */,\n/* 254 */,\n/* 255 */,\n/* 256 */,\n/* 257 */,\n/* 258 */,\n/* 259 */,\n/* 260 */,\n/* 261 */,\n/* 262 */,\n/* 263 */,\n/* 264 */,\n/* 265 */,\n/* 266 */,\n/* 267 */,\n/* 268 */,\n/* 269 */,\n/* 270 */,\n/* 271 */,\n/* 272 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 273 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 274 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 275 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 276 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 277 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 278 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 279 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 280 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 281 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 282 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 283 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 284 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 285 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 286 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 287 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 288 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 289 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 290 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 291 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 292 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 293 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 294 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 295 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 296 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 297 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 298 */\n/***/ (function(module, exports) {\n\n\tmodule.exports = [\"now\",[\"%ss\",\"%ss\"],[\"%smin\",\"%smin\"],[\"%sh\",\"%sh\"],[\"%sd\",\"%sd\"],[\"%sw\",\"%sw\"],[\"%smo\",\"%smo\"],[\"%sy\",\"%sy\"]]\n\n/***/ }),\n/* 299 */\n/***/ (function(module, exports) {\n\n\tmodule.exports = [\"たった今\",\"%s 秒前\",\"%s 分前\",\"%s 時間前\",\"%s 日前\",\"%s 週間前\",\"%s ヶ月前\",\"%s 年前\"]\n\n/***/ }),\n/* 300 */,\n/* 301 */,\n/* 302 */,\n/* 303 */,\n/* 304 */,\n/* 305 */,\n/* 306 */,\n/* 307 */,\n/* 308 */,\n/* 309 */,\n/* 310 */,\n/* 311 */,\n/* 312 */,\n/* 313 */,\n/* 314 */,\n/* 315 */,\n/* 316 */,\n/* 317 */,\n/* 318 */,\n/* 319 */,\n/* 320 */,\n/* 321 */,\n/* 322 */,\n/* 323 */,\n/* 324 */,\n/* 325 */,\n/* 326 */,\n/* 327 */,\n/* 328 */,\n/* 329 */,\n/* 330 */,\n/* 331 */,\n/* 332 */,\n/* 333 */,\n/* 334 */,\n/* 335 */,\n/* 336 */,\n/* 337 */,\n/* 338 */,\n/* 339 */,\n/* 340 */,\n/* 341 */,\n/* 342 */,\n/* 343 */,\n/* 344 */,\n/* 345 */,\n/* 346 */,\n/* 347 */,\n/* 348 */,\n/* 349 */,\n/* 350 */,\n/* 351 */,\n/* 352 */,\n/* 353 */,\n/* 354 */,\n/* 355 */,\n/* 356 */,\n/* 357 */,\n/* 358 */,\n/* 359 */,\n/* 360 */,\n/* 361 */,\n/* 362 */,\n/* 363 */,\n/* 364 */,\n/* 365 */,\n/* 366 */,\n/* 367 */,\n/* 368 */,\n/* 369 */,\n/* 370 */,\n/* 371 */,\n/* 372 */,\n/* 373 */,\n/* 374 */,\n/* 375 */,\n/* 376 */,\n/* 377 */,\n/* 378 */,\n/* 379 */,\n/* 380 */,\n/* 381 */,\n/* 382 */,\n/* 383 */,\n/* 384 */,\n/* 385 */,\n/* 386 */,\n/* 387 */,\n/* 388 */,\n/* 389 */,\n/* 390 */,\n/* 391 */,\n/* 392 */,\n/* 393 */,\n/* 394 */,\n/* 395 */,\n/* 396 */,\n/* 397 */,\n/* 398 */,\n/* 399 */,\n/* 400 */,\n/* 401 */,\n/* 402 */,\n/* 403 */,\n/* 404 */,\n/* 405 */,\n/* 406 */,\n/* 407 */,\n/* 408 */,\n/* 409 */,\n/* 410 */,\n/* 411 */,\n/* 412 */,\n/* 413 */,\n/* 414 */,\n/* 415 */,\n/* 416 */,\n/* 417 */,\n/* 418 */,\n/* 419 */,\n/* 420 */,\n/* 421 */,\n/* 422 */,\n/* 423 */,\n/* 424 */,\n/* 425 */,\n/* 426 */,\n/* 427 */,\n/* 428 */,\n/* 429 */,\n/* 430 */,\n/* 431 */,\n/* 432 */,\n/* 433 */,\n/* 434 */,\n/* 435 */,\n/* 436 */,\n/* 437 */,\n/* 438 */,\n/* 439 */,\n/* 440 */,\n/* 441 */,\n/* 442 */,\n/* 443 */,\n/* 444 */,\n/* 445 */,\n/* 446 */,\n/* 447 */,\n/* 448 */,\n/* 449 */,\n/* 450 */,\n/* 451 */,\n/* 452 */,\n/* 453 */,\n/* 454 */,\n/* 455 */,\n/* 456 */,\n/* 457 */,\n/* 458 */,\n/* 459 */,\n/* 460 */,\n/* 461 */,\n/* 462 */,\n/* 463 */,\n/* 464 */,\n/* 465 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tmodule.exports = __webpack_require__.p + \"static/img/nsfw.50fd83c.png\";\n\n/***/ }),\n/* 466 */,\n/* 467 */,\n/* 468 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(284)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(176),\n\t /* template */\n\t __webpack_require__(511),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 469 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(283)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(177),\n\t /* template */\n\t __webpack_require__(510),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 470 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(277)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(178),\n\t /* template */\n\t __webpack_require__(504),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 471 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(179),\n\t /* template */\n\t __webpack_require__(515),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 472 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(290)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(181),\n\t /* template */\n\t __webpack_require__(521),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 473 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(292)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(182),\n\t /* template */\n\t __webpack_require__(523),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 474 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(183),\n\t /* template */\n\t __webpack_require__(519),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 475 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(288)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(184),\n\t /* template */\n\t __webpack_require__(518),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 476 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(280)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(185),\n\t /* template */\n\t __webpack_require__(507),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 477 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(285)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(186),\n\t /* template */\n\t __webpack_require__(512),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 478 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(187),\n\t /* template */\n\t __webpack_require__(502),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 479 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(294)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(188),\n\t /* template */\n\t __webpack_require__(525),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 480 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(189),\n\t /* template */\n\t __webpack_require__(514),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 481 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(272)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(190),\n\t /* template */\n\t __webpack_require__(495),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 482 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(192),\n\t /* template */\n\t __webpack_require__(503),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 483 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(193),\n\t /* template */\n\t __webpack_require__(513),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 484 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(281)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(194),\n\t /* template */\n\t __webpack_require__(508),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 485 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(276)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(195),\n\t /* template */\n\t __webpack_require__(501),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 486 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(293)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(196),\n\t /* template */\n\t __webpack_require__(524),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 487 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(279)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(198),\n\t /* template */\n\t __webpack_require__(506),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 488 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(201),\n\t /* template */\n\t __webpack_require__(500),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 489 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(297)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(203),\n\t /* template */\n\t __webpack_require__(528),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 490 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(278)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(205),\n\t /* template */\n\t __webpack_require__(505),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 491 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(296)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(206),\n\t /* template */\n\t __webpack_require__(527),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 492 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(282)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(207),\n\t /* template */\n\t __webpack_require__(509),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 493 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(289)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(208),\n\t /* template */\n\t __webpack_require__(520),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 494 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(295)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(209),\n\t /* template */\n\t __webpack_require__(526),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 495 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"notifications\"\n\t }, [_c('div', {\n\t staticClass: \"panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading\"\n\t }, [(_vm.unseenCount) ? _c('span', {\n\t staticClass: \"unseen-count\"\n\t }, [_vm._v(_vm._s(_vm.unseenCount))]) : _vm._e(), _vm._v(\"\\n \" + _vm._s(_vm.$t('notifications.notifications')) + \"\\n \"), (_vm.unseenCount) ? _c('button', {\n\t staticClass: \"read-button\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.markAsSeen($event)\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('notifications.read')))]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, _vm._l((_vm.visibleNotifications), function(notification) {\n\t return _c('div', {\n\t key: notification.action.id,\n\t staticClass: \"notification\",\n\t class: {\n\t \"unseen\": !notification.seen\n\t }\n\t }, [_c('notification', {\n\t attrs: {\n\t \"notification\": notification\n\t }\n\t })], 1)\n\t }))])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 496 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"profile-panel-background\",\n\t style: (_vm.headingStyle),\n\t attrs: {\n\t \"id\": \"heading\"\n\t }\n\t }, [_c('div', {\n\t staticClass: \"panel-heading text-center\"\n\t }, [_c('div', {\n\t staticClass: \"user-info\"\n\t }, [(!_vm.isOtherUser) ? _c('router-link', {\n\t staticStyle: {\n\t \"float\": \"right\",\n\t \"margin-top\": \"16px\"\n\t },\n\t attrs: {\n\t \"to\": \"/user-settings\"\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-cog usersettings\"\n\t })]) : _vm._e(), _vm._v(\" \"), (_vm.isOtherUser) ? _c('a', {\n\t staticStyle: {\n\t \"float\": \"right\",\n\t \"margin-top\": \"16px\"\n\t },\n\t attrs: {\n\t \"href\": _vm.user.statusnet_profile_url,\n\t \"target\": \"_blank\"\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-link-ext usersettings\"\n\t })]) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"container\"\n\t }, [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.user.id\n\t }\n\t }\n\t }\n\t }, [_c('StillImage', {\n\t staticClass: \"avatar\",\n\t attrs: {\n\t \"src\": _vm.user.profile_image_url_original\n\t }\n\t })], 1), _vm._v(\" \"), _c('div', {\n\t staticClass: \"name-and-screen-name\"\n\t }, [_c('div', {\n\t staticClass: \"user-name\",\n\t attrs: {\n\t \"title\": _vm.user.name\n\t }\n\t }, [_vm._v(_vm._s(_vm.user.name))]), _vm._v(\" \"), _c('router-link', {\n\t staticClass: \"user-screen-name\",\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.user.id\n\t }\n\t }\n\t }\n\t }, [_c('span', [_vm._v(\"@\" + _vm._s(_vm.user.screen_name))]), _vm._v(\" \"), _c('span', {\n\t staticClass: \"dailyAvg\"\n\t }, [_vm._v(_vm._s(_vm.dailyAvg) + \" \" + _vm._s(_vm.$t('user_card.per_day')))])])], 1)], 1), _vm._v(\" \"), (_vm.isOtherUser) ? _c('div', {\n\t staticClass: \"user-interactions\"\n\t }, [(_vm.user.follows_you && _vm.loggedIn) ? _c('div', {\n\t staticClass: \"following\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.follows_you')) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.loggedIn) ? _c('div', {\n\t staticClass: \"follow\"\n\t }, [(_vm.user.following) ? _c('span', [_c('button', {\n\t staticClass: \"pressed\",\n\t on: {\n\t \"click\": _vm.unfollowUser\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.following')) + \"\\n \")])]) : _vm._e(), _vm._v(\" \"), (!_vm.user.following) ? _c('span', [_c('button', {\n\t on: {\n\t \"click\": _vm.followUser\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.follow')) + \"\\n \")])]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), (_vm.isOtherUser) ? _c('div', {\n\t staticClass: \"mute\"\n\t }, [(_vm.user.muted) ? _c('span', [_c('button', {\n\t staticClass: \"pressed\",\n\t on: {\n\t \"click\": _vm.toggleMute\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.muted')) + \"\\n \")])]) : _vm._e(), _vm._v(\" \"), (!_vm.user.muted) ? _c('span', [_c('button', {\n\t on: {\n\t \"click\": _vm.toggleMute\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.mute')) + \"\\n \")])]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), (!_vm.loggedIn && _vm.user.is_local) ? _c('div', {\n\t staticClass: \"remote-follow\"\n\t }, [_c('form', {\n\t attrs: {\n\t \"method\": \"POST\",\n\t \"action\": _vm.subscribeUrl\n\t }\n\t }, [_c('input', {\n\t attrs: {\n\t \"type\": \"hidden\",\n\t \"name\": \"nickname\"\n\t },\n\t domProps: {\n\t \"value\": _vm.user.screen_name\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t attrs: {\n\t \"type\": \"hidden\",\n\t \"name\": \"profile\",\n\t \"value\": \"\"\n\t }\n\t }), _vm._v(\" \"), _c('button', {\n\t staticClass: \"remote-button\",\n\t attrs: {\n\t \"click\": \"submit\"\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.remote_follow')) + \"\\n \")])])]) : _vm._e(), _vm._v(\" \"), (_vm.isOtherUser && _vm.loggedIn) ? _c('div', {\n\t staticClass: \"block\"\n\t }, [(_vm.user.statusnet_blocking) ? _c('span', [_c('button', {\n\t staticClass: \"pressed\",\n\t on: {\n\t \"click\": _vm.unblockUser\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.blocked')) + \"\\n \")])]) : _vm._e(), _vm._v(\" \"), (!_vm.user.statusnet_blocking) ? _c('span', [_c('button', {\n\t on: {\n\t \"click\": _vm.blockUser\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.block')) + \"\\n \")])]) : _vm._e()]) : _vm._e()]) : _vm._e()], 1)]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body profile-panel-body\"\n\t }, [_c('div', {\n\t staticClass: \"user-counts\",\n\t class: {\n\t clickable: _vm.switcher\n\t }\n\t }, [_c('div', {\n\t staticClass: \"user-count\",\n\t class: {\n\t selected: _vm.selected === 'statuses'\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.setProfileView('statuses')\n\t }\n\t }\n\t }, [_c('h5', [_vm._v(_vm._s(_vm.$t('user_card.statuses')))]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.statuses_count) + \" \"), _c('br')])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"user-count\",\n\t class: {\n\t selected: _vm.selected === 'friends'\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.setProfileView('friends')\n\t }\n\t }\n\t }, [_c('h5', [_vm._v(_vm._s(_vm.$t('user_card.followees')))]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.friends_count))])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"user-count\",\n\t class: {\n\t selected: _vm.selected === 'followers'\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.setProfileView('followers')\n\t }\n\t }\n\t }, [_c('h5', [_vm._v(_vm._s(_vm.$t('user_card.followers')))]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.followers_count))])])]), _vm._v(\" \"), (!_vm.hideBio) ? _c('p', [_vm._v(_vm._s(_vm.user.description))]) : _vm._e()])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 497 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return (_vm.viewing == 'statuses') ? _c('div', {\n\t staticClass: \"timeline panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading timeline-heading\"\n\t }, [_c('div', {\n\t staticClass: \"title\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.title) + \"\\n \")]), _vm._v(\" \"), (_vm.timeline.newStatusCount > 0 && !_vm.timelineError) ? _c('button', {\n\t staticClass: \"loadmore-button\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.showNewStatuses($event)\n\t }\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.show_new')) + _vm._s(_vm.newStatusCountStr) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.timelineError) ? _c('div', {\n\t staticClass: \"loadmore-error alert error\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t }\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.error_fetching')) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (!_vm.timeline.newStatusCount > 0 && !_vm.timelineError) ? _c('div', {\n\t staticClass: \"loadmore-text\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t }\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.up_to_date')) + \"\\n \")]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('div', {\n\t staticClass: \"timeline\"\n\t }, _vm._l((_vm.timeline.visibleStatuses), function(status) {\n\t return _c('status-or-conversation', {\n\t key: status.id,\n\t staticClass: \"status-fadein\",\n\t attrs: {\n\t \"statusoid\": status\n\t }\n\t })\n\t }))]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-footer\"\n\t }, [(!_vm.timeline.loading) ? _c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.fetchOlderStatuses()\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"new-status-notification text-center panel-footer\"\n\t }, [_vm._v(_vm._s(_vm.$t('timeline.load_older')))])]) : _c('div', {\n\t staticClass: \"new-status-notification text-center panel-footer\"\n\t }, [_vm._v(\"...\")])])]) : (_vm.viewing == 'followers') ? _c('div', {\n\t staticClass: \"timeline panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading timeline-heading\"\n\t }, [_c('div', {\n\t staticClass: \"title\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.followers')) + \"\\n \")])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('div', {\n\t staticClass: \"timeline\"\n\t }, _vm._l((_vm.followers), function(follower) {\n\t return _c('user-card', {\n\t key: follower.id,\n\t attrs: {\n\t \"user\": follower,\n\t \"showFollows\": false\n\t }\n\t })\n\t }))])]) : (_vm.viewing == 'friends') ? _c('div', {\n\t staticClass: \"timeline panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading timeline-heading\"\n\t }, [_c('div', {\n\t staticClass: \"title\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.followees')) + \"\\n \")])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('div', {\n\t staticClass: \"timeline\"\n\t }, _vm._l((_vm.friends), function(friend) {\n\t return _c('user-card', {\n\t key: friend.id,\n\t attrs: {\n\t \"user\": friend,\n\t \"showFollows\": true\n\t }\n\t })\n\t }))])]) : _vm._e()\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 498 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"post-status-form\"\n\t }, [_c('form', {\n\t on: {\n\t \"submit\": function($event) {\n\t $event.preventDefault();\n\t _vm.postStatus(_vm.newStatus)\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('textarea', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.newStatus.status),\n\t expression: \"newStatus.status\"\n\t }],\n\t ref: \"textarea\",\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"placeholder\": _vm.$t('post_status.default'),\n\t \"rows\": \"1\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.newStatus.status)\n\t },\n\t on: {\n\t \"click\": _vm.setCaret,\n\t \"keyup\": [_vm.setCaret, function($event) {\n\t if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key)) { return null; }\n\t if (!$event.ctrlKey) { return null; }\n\t _vm.postStatus(_vm.newStatus)\n\t }],\n\t \"keydown\": [function($event) {\n\t if (!('button' in $event) && _vm._k($event.keyCode, \"down\", 40, $event.key)) { return null; }\n\t _vm.cycleForward($event)\n\t }, function($event) {\n\t if (!('button' in $event) && _vm._k($event.keyCode, \"up\", 38, $event.key)) { return null; }\n\t _vm.cycleBackward($event)\n\t }, function($event) {\n\t if (!('button' in $event) && _vm._k($event.keyCode, \"tab\", 9, $event.key)) { return null; }\n\t if (!$event.shiftKey) { return null; }\n\t _vm.cycleBackward($event)\n\t }, function($event) {\n\t if (!('button' in $event) && _vm._k($event.keyCode, \"tab\", 9, $event.key)) { return null; }\n\t _vm.cycleForward($event)\n\t }, function($event) {\n\t if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key)) { return null; }\n\t _vm.replaceCandidate($event)\n\t }, function($event) {\n\t if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key)) { return null; }\n\t if (!$event.metaKey) { return null; }\n\t _vm.postStatus(_vm.newStatus)\n\t }],\n\t \"drop\": _vm.fileDrop,\n\t \"dragover\": function($event) {\n\t $event.preventDefault();\n\t _vm.fileDrag($event)\n\t },\n\t \"input\": [function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.$set(_vm.newStatus, \"status\", $event.target.value)\n\t }, _vm.resize],\n\t \"paste\": _vm.paste\n\t }\n\t })]), _vm._v(\" \"), (_vm.candidates) ? _c('div', {\n\t staticStyle: {\n\t \"position\": \"relative\"\n\t }\n\t }, [_c('div', {\n\t staticClass: \"autocomplete-panel\"\n\t }, _vm._l((_vm.candidates), function(candidate) {\n\t return _c('div', {\n\t on: {\n\t \"click\": function($event) {\n\t _vm.replace(candidate.utf || (candidate.screen_name + ' '))\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"autocomplete\",\n\t class: {\n\t highlighted: candidate.highlighted\n\t }\n\t }, [(candidate.img) ? _c('span', [_c('img', {\n\t attrs: {\n\t \"src\": candidate.img\n\t }\n\t })]) : _c('span', [_vm._v(_vm._s(candidate.utf))]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(candidate.screen_name)), _c('small', [_vm._v(_vm._s(candidate.name))])])])])\n\t }))]) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-bottom\"\n\t }, [_c('media-upload', {\n\t attrs: {\n\t \"drop-files\": _vm.dropFiles\n\t },\n\t on: {\n\t \"uploading\": _vm.disableSubmit,\n\t \"uploaded\": _vm.addMediaFile,\n\t \"upload-failed\": _vm.enableSubmit\n\t }\n\t }), _vm._v(\" \"), (_vm.isOverLengthLimit) ? _c('p', {\n\t staticClass: \"error\"\n\t }, [_vm._v(_vm._s(_vm.charactersLeft))]) : (_vm.hasStatusLengthLimit) ? _c('p', {\n\t staticClass: \"faint\"\n\t }, [_vm._v(_vm._s(_vm.charactersLeft))]) : _vm._e(), _vm._v(\" \"), (_vm.posting) ? _c('button', {\n\t staticClass: \"btn btn-default\",\n\t attrs: {\n\t \"disabled\": \"\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('post_status.posting')))]) : (_vm.isOverLengthLimit) ? _c('button', {\n\t staticClass: \"btn btn-default\",\n\t attrs: {\n\t \"disabled\": \"\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _c('button', {\n\t staticClass: \"btn btn-default\",\n\t attrs: {\n\t \"disabled\": _vm.submitDisabled,\n\t \"type\": \"submit\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('general.submit')))])], 1), _vm._v(\" \"), (_vm.error) ? _c('div', {\n\t staticClass: \"alert error\"\n\t }, [_vm._v(\"\\n Error: \" + _vm._s(_vm.error) + \"\\n \"), _c('i', {\n\t staticClass: \"icon-cancel\",\n\t on: {\n\t \"click\": _vm.clearError\n\t }\n\t })]) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"attachments\"\n\t }, _vm._l((_vm.newStatus.files), function(file) {\n\t return _c('div', {\n\t staticClass: \"media-upload-container attachment\"\n\t }, [_c('i', {\n\t staticClass: \"fa icon-cancel\",\n\t on: {\n\t \"click\": function($event) {\n\t _vm.removeMediaFile(file)\n\t }\n\t }\n\t }), _vm._v(\" \"), (_vm.type(file) === 'image') ? _c('img', {\n\t staticClass: \"thumbnail media-upload\",\n\t attrs: {\n\t \"src\": file.image\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'video') ? _c('video', {\n\t attrs: {\n\t \"src\": file.image,\n\t \"controls\": \"\"\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'audio') ? _c('audio', {\n\t attrs: {\n\t \"src\": file.image,\n\t \"controls\": \"\"\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'unknown') ? _c('a', {\n\t attrs: {\n\t \"href\": file.image\n\t }\n\t }, [_vm._v(_vm._s(file.url))]) : _vm._e()])\n\t }))])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 499 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"timeline panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading conversation-heading\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.conversation')) + \"\\n \"), (_vm.collapsable) ? _c('span', {\n\t staticStyle: {\n\t \"float\": \"right\"\n\t }\n\t }, [_c('small', [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.$emit('toggleExpanded')\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('timeline.collapse')))])])]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('div', {\n\t staticClass: \"timeline\"\n\t }, _vm._l((_vm.conversation), function(status) {\n\t return _c('status', {\n\t key: status.id,\n\t staticClass: \"status-fadein\",\n\t attrs: {\n\t \"inlineExpanded\": _vm.collapsable,\n\t \"statusoid\": status,\n\t \"expandable\": false,\n\t \"focused\": _vm.focused(status.id),\n\t \"inConversation\": true,\n\t \"highlight\": _vm.highlight,\n\t \"replies\": _vm.getReplies(status.id)\n\t },\n\t on: {\n\t \"goto\": _vm.setHighlight\n\t }\n\t })\n\t }))])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 500 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('Timeline', {\n\t attrs: {\n\t \"title\": _vm.tag,\n\t \"timeline\": _vm.timeline,\n\t \"timeline-name\": 'tag',\n\t \"tag\": _vm.tag\n\t }\n\t })\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 501 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return (_vm.loggedIn) ? _c('div', [_c('i', {\n\t staticClass: \"icon-retweet rt-active\",\n\t class: _vm.classes,\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.retweet()\n\t }\n\t }\n\t }), _vm._v(\" \"), (_vm.status.repeat_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.repeat_num))]) : _vm._e()]) : _c('div', [_c('i', {\n\t staticClass: \"icon-retweet\",\n\t class: _vm.classes\n\t }), _vm._v(\" \"), (_vm.status.repeat_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.repeat_num))]) : _vm._e()])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 502 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('Timeline', {\n\t attrs: {\n\t \"title\": _vm.$t('nav.mentions'),\n\t \"timeline\": _vm.timeline,\n\t \"timeline-name\": 'mentions'\n\t }\n\t })\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 503 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('Timeline', {\n\t attrs: {\n\t \"title\": _vm.$t('nav.twkn'),\n\t \"timeline\": _vm.timeline,\n\t \"timeline-name\": 'publicAndExternal'\n\t }\n\t })\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 504 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return (!this.collapsed) ? _c('div', {\n\t staticClass: \"chat-panel\"\n\t }, [_c('div', {\n\t staticClass: \"panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading timeline-heading chat-heading\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.stopPropagation();\n\t $event.preventDefault();\n\t _vm.togglePanel($event)\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"title\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('chat.title')) + \"\\n \"), _c('i', {\n\t staticClass: \"icon-cancel\",\n\t staticStyle: {\n\t \"float\": \"right\"\n\t }\n\t })])]), _vm._v(\" \"), _c('div', {\n\t directives: [{\n\t name: \"chat-scroll\",\n\t rawName: \"v-chat-scroll\"\n\t }],\n\t staticClass: \"chat-window\"\n\t }, _vm._l((_vm.messages), function(message) {\n\t return _c('div', {\n\t key: message.id,\n\t staticClass: \"chat-message\"\n\t }, [_c('span', {\n\t staticClass: \"chat-avatar\"\n\t }, [_c('img', {\n\t attrs: {\n\t \"src\": message.author.avatar\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"chat-content\"\n\t }, [_c('router-link', {\n\t staticClass: \"chat-name\",\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: message.author.id\n\t }\n\t }\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(message.author.username) + \"\\n \")]), _vm._v(\" \"), _c('br'), _vm._v(\" \"), _c('span', {\n\t staticClass: \"chat-text\"\n\t }, [_vm._v(\"\\n \" + _vm._s(message.text) + \"\\n \")])], 1)])\n\t })), _vm._v(\" \"), _c('div', {\n\t staticClass: \"chat-input\"\n\t }, [_c('textarea', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.currentMessage),\n\t expression: \"currentMessage\"\n\t }],\n\t staticClass: \"chat-input-textarea\",\n\t attrs: {\n\t \"rows\": \"1\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.currentMessage)\n\t },\n\t on: {\n\t \"keyup\": function($event) {\n\t if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key)) { return null; }\n\t _vm.submit(_vm.currentMessage)\n\t },\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.currentMessage = $event.target.value\n\t }\n\t }\n\t })])])]) : _c('div', {\n\t staticClass: \"chat-panel\"\n\t }, [_c('div', {\n\t staticClass: \"panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading stub timeline-heading chat-heading\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.stopPropagation();\n\t $event.preventDefault();\n\t _vm.togglePanel($event)\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"title\"\n\t }, [_c('i', {\n\t staticClass: \"icon-comment-empty\"\n\t }), _vm._v(\"\\n \" + _vm._s(_vm.$t('chat.title')) + \"\\n \")])])])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 505 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('span', {\n\t staticClass: \"user-finder-container\"\n\t }, [(_vm.error) ? _c('span', {\n\t staticClass: \"alert error\"\n\t }, [_c('i', {\n\t staticClass: \"icon-cancel user-finder-icon\",\n\t on: {\n\t \"click\": _vm.dismissError\n\t }\n\t }), _vm._v(\"\\n \" + _vm._s(_vm.$t('finder.error_fetching_user')) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.loading) ? _c('i', {\n\t staticClass: \"icon-spin4 user-finder-icon animate-spin-slow\"\n\t }) : _vm._e(), _vm._v(\" \"), (_vm.hidden) ? _c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-user-plus user-finder-icon\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t $event.stopPropagation();\n\t _vm.toggleHidden($event)\n\t }\n\t }\n\t })]) : _c('span', [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.username),\n\t expression: \"username\"\n\t }],\n\t staticClass: \"user-finder-input\",\n\t attrs: {\n\t \"placeholder\": _vm.$t('finder.find_user'),\n\t \"id\": \"user-finder-input\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.username)\n\t },\n\t on: {\n\t \"keyup\": function($event) {\n\t if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key)) { return null; }\n\t _vm.findUser(_vm.username)\n\t },\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.username = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('i', {\n\t staticClass: \"icon-cancel user-finder-icon\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t $event.stopPropagation();\n\t _vm.toggleHidden($event)\n\t }\n\t }\n\t })])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 506 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', [(_vm.expanded) ? _c('conversation', {\n\t attrs: {\n\t \"collapsable\": true,\n\t \"statusoid\": _vm.statusoid\n\t },\n\t on: {\n\t \"toggleExpanded\": _vm.toggleExpanded\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (!_vm.expanded) ? _c('status', {\n\t attrs: {\n\t \"expandable\": true,\n\t \"inConversation\": false,\n\t \"focused\": false,\n\t \"statusoid\": _vm.statusoid\n\t },\n\t on: {\n\t \"toggleExpanded\": _vm.toggleExpanded\n\t }\n\t }) : _vm._e()], 1)\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 507 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"login panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('login.login')) + \"\\n \")]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('form', {\n\t staticClass: \"login-form\",\n\t on: {\n\t \"submit\": function($event) {\n\t $event.preventDefault();\n\t _vm.submit(_vm.user)\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"username\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('login.username')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.username),\n\t expression: \"user.username\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.loggingIn,\n\t \"id\": \"username\",\n\t \"placeholder\": \"e.g. lain\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.user.username)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.$set(_vm.user, \"username\", $event.target.value)\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"password\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('login.password')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.password),\n\t expression: \"user.password\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.loggingIn,\n\t \"id\": \"password\",\n\t \"type\": \"password\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.user.password)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.$set(_vm.user, \"password\", $event.target.value)\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('div', {\n\t staticClass: \"login-bottom\"\n\t }, [_c('div', [(_vm.registrationOpen) ? _c('router-link', {\n\t staticClass: \"register\",\n\t attrs: {\n\t \"to\": {\n\t name: 'registration'\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('login.register')))]) : _vm._e()], 1), _vm._v(\" \"), _c('button', {\n\t staticClass: \"btn btn-default\",\n\t attrs: {\n\t \"disabled\": _vm.loggingIn,\n\t \"type\": \"submit\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('login.login')))])])]), _vm._v(\" \"), (_vm.authError) ? _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('div', {\n\t staticClass: \"alert error\"\n\t }, [_vm._v(_vm._s(_vm.authError))])]) : _vm._e()])])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 508 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"settings panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('registration.registration')) + \"\\n \")]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('form', {\n\t staticClass: \"registration-form\",\n\t on: {\n\t \"submit\": function($event) {\n\t $event.preventDefault();\n\t _vm.submit(_vm.user)\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"container\"\n\t }, [_c('div', {\n\t staticClass: \"text-fields\"\n\t }, [_c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"username\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('login.username')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.username),\n\t expression: \"user.username\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.registering,\n\t \"id\": \"username\",\n\t \"placeholder\": \"e.g. lain\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.user.username)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.$set(_vm.user, \"username\", $event.target.value)\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"fullname\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('registration.fullname')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.fullname),\n\t expression: \"user.fullname\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.registering,\n\t \"id\": \"fullname\",\n\t \"placeholder\": \"e.g. Lain Iwakura\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.user.fullname)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.$set(_vm.user, \"fullname\", $event.target.value)\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"email\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('registration.email')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.email),\n\t expression: \"user.email\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.registering,\n\t \"id\": \"email\",\n\t \"type\": \"email\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.user.email)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.$set(_vm.user, \"email\", $event.target.value)\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"bio\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('registration.bio')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.bio),\n\t expression: \"user.bio\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.registering,\n\t \"id\": \"bio\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.user.bio)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.$set(_vm.user, \"bio\", $event.target.value)\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"password\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('login.password')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.password),\n\t expression: \"user.password\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.registering,\n\t \"id\": \"password\",\n\t \"type\": \"password\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.user.password)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.$set(_vm.user, \"password\", $event.target.value)\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"password_confirmation\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('registration.password_confirm')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.confirm),\n\t expression: \"user.confirm\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.registering,\n\t \"id\": \"password_confirmation\",\n\t \"type\": \"password\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.user.confirm)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.$set(_vm.user, \"confirm\", $event.target.value)\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('button', {\n\t staticClass: \"btn btn-default\",\n\t attrs: {\n\t \"disabled\": _vm.registering,\n\t \"type\": \"submit\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('general.submit')))])])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"terms-of-service\",\n\t domProps: {\n\t \"innerHTML\": _vm._s(_vm.termsofservice)\n\t }\n\t })]), _vm._v(\" \"), (_vm.error) ? _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('div', {\n\t staticClass: \"alert error\"\n\t }, [_vm._v(_vm._s(_vm.error))])]) : _vm._e()])])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 509 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', [(_vm.user) ? _c('div', {\n\t staticClass: \"user-profile panel panel-default\"\n\t }, [_c('user-card-content', {\n\t attrs: {\n\t \"user\": _vm.user,\n\t \"switcher\": true,\n\t \"selected\": _vm.timeline.viewing\n\t }\n\t })], 1) : _vm._e(), _vm._v(\" \"), _c('Timeline', {\n\t attrs: {\n\t \"title\": _vm.$t('user_profile.timeline_title'),\n\t \"timeline\": _vm.timeline,\n\t \"timeline-name\": 'user',\n\t \"user-id\": _vm.userId\n\t }\n\t })], 1)\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 510 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return (_vm.size === 'hide') ? _c('div', [(_vm.type !== 'html') ? _c('a', {\n\t staticClass: \"placeholder\",\n\t attrs: {\n\t \"target\": \"_blank\",\n\t \"href\": _vm.attachment.url\n\t }\n\t }, [_vm._v(\"[\" + _vm._s(_vm.nsfw ? \"NSFW/\" : \"\") + _vm._s(_vm.type.toUpperCase()) + \"]\")]) : _vm._e()]) : _c('div', {\n\t directives: [{\n\t name: \"show\",\n\t rawName: \"v-show\",\n\t value: (!_vm.isEmpty),\n\t expression: \"!isEmpty\"\n\t }],\n\t staticClass: \"attachment\",\n\t class: ( _obj = {\n\t loading: _vm.loading,\n\t 'small-attachment': _vm.isSmall,\n\t 'fullwidth': _vm.fullwidth\n\t }, _obj[_vm.type] = true, _obj )\n\t }, [(_vm.hidden) ? _c('a', {\n\t staticClass: \"image-attachment\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleHidden()\n\t }\n\t }\n\t }, [_c('img', {\n\t key: _vm.nsfwImage,\n\t attrs: {\n\t \"src\": _vm.nsfwImage\n\t }\n\t })]) : _vm._e(), _vm._v(\" \"), (_vm.nsfw && _vm.hideNsfwLocal && !_vm.hidden) ? _c('div', {\n\t staticClass: \"hider\"\n\t }, [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleHidden()\n\t }\n\t }\n\t }, [_vm._v(\"Hide\")])]) : _vm._e(), _vm._v(\" \"), (_vm.type === 'image' && !_vm.hidden) ? _c('a', {\n\t staticClass: \"image-attachment\",\n\t attrs: {\n\t \"href\": _vm.attachment.url,\n\t \"target\": \"_blank\"\n\t }\n\t }, [_c('StillImage', {\n\t class: {\n\t 'small': _vm.isSmall\n\t },\n\t attrs: {\n\t \"referrerpolicy\": \"no-referrer\",\n\t \"mimetype\": _vm.attachment.mimetype,\n\t \"src\": _vm.attachment.large_thumb_url || _vm.attachment.url\n\t }\n\t })], 1) : _vm._e(), _vm._v(\" \"), (_vm.type === 'video' && !_vm.hidden) ? _c('video', {\n\t class: {\n\t 'small': _vm.isSmall\n\t },\n\t attrs: {\n\t \"src\": _vm.attachment.url,\n\t \"controls\": \"\",\n\t \"loop\": \"\"\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (_vm.type === 'audio') ? _c('audio', {\n\t attrs: {\n\t \"src\": _vm.attachment.url,\n\t \"controls\": \"\"\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (_vm.type === 'html' && _vm.attachment.oembed) ? _c('div', {\n\t staticClass: \"oembed\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.linkClicked($event)\n\t }\n\t }\n\t }, [(_vm.attachment.thumb_url) ? _c('div', {\n\t staticClass: \"image\"\n\t }, [_c('img', {\n\t attrs: {\n\t \"src\": _vm.attachment.thumb_url\n\t }\n\t })]) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"text\"\n\t }, [_c('h1', [_c('a', {\n\t attrs: {\n\t \"href\": _vm.attachment.url\n\t }\n\t }, [_vm._v(_vm._s(_vm.attachment.oembed.title))])]), _vm._v(\" \"), _c('div', {\n\t domProps: {\n\t \"innerHTML\": _vm._s(_vm.attachment.oembed.oembedHTML)\n\t }\n\t })])]) : _vm._e()])\n\t var _obj;\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 511 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t style: (_vm.style),\n\t attrs: {\n\t \"id\": \"app\"\n\t }\n\t }, [_c('nav', {\n\t staticClass: \"container\",\n\t attrs: {\n\t \"id\": \"nav\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t _vm.scrollToTop()\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"inner-nav\",\n\t style: (_vm.logoStyle)\n\t }, [_c('div', {\n\t staticClass: \"item\"\n\t }, [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'root'\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.sitename))])], 1), _vm._v(\" \"), _c('div', {\n\t staticClass: \"item right\"\n\t }, [_c('user-finder', {\n\t staticClass: \"nav-icon\"\n\t }), _vm._v(\" \"), _c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'settings'\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-cog nav-icon\"\n\t })]), _vm._v(\" \"), (_vm.currentUser) ? _c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.logout($event)\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-logout nav-icon\",\n\t attrs: {\n\t \"title\": _vm.$t('login.logout')\n\t }\n\t })]) : _vm._e()], 1)])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"container\",\n\t attrs: {\n\t \"id\": \"content\"\n\t }\n\t }, [_c('div', {\n\t staticClass: \"panel-switcher\"\n\t }, [_c('button', {\n\t on: {\n\t \"click\": function($event) {\n\t _vm.activatePanel('sidebar')\n\t }\n\t }\n\t }, [_vm._v(\"Sidebar\")]), _vm._v(\" \"), _c('button', {\n\t on: {\n\t \"click\": function($event) {\n\t _vm.activatePanel('timeline')\n\t }\n\t }\n\t }, [_vm._v(\"Timeline\")])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"sidebar-flexer\",\n\t class: {\n\t 'mobile-hidden': _vm.mobileActivePanel != 'sidebar'\n\t }\n\t }, [_c('div', {\n\t staticClass: \"sidebar-bounds\"\n\t }, [_c('div', {\n\t staticClass: \"sidebar-scroller\"\n\t }, [_c('div', {\n\t staticClass: \"sidebar\"\n\t }, [_c('user-panel'), _vm._v(\" \"), _c('nav-panel'), _vm._v(\" \"), (_vm.showInstanceSpecificPanel) ? _c('instance-specific-panel') : _vm._e(), _vm._v(\" \"), (_vm.currentUser && _vm.showWhoToFollowPanel) ? _c('who-to-follow-panel') : _vm._e(), _vm._v(\" \"), (_vm.currentUser) ? _c('notifications') : _vm._e()], 1)])])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"main\",\n\t class: {\n\t 'mobile-hidden': _vm.mobileActivePanel != 'timeline'\n\t }\n\t }, [_c('transition', {\n\t attrs: {\n\t \"name\": \"fade\"\n\t }\n\t }, [_c('router-view')], 1)], 1)]), _vm._v(\" \"), (_vm.currentUser && _vm.chat) ? _c('chat-panel', {\n\t staticClass: \"floating-chat mobile-hidden\"\n\t }) : _vm._e()], 1)\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 512 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"media-upload\",\n\t on: {\n\t \"drop\": [function($event) {\n\t $event.preventDefault();\n\t }, _vm.fileDrop],\n\t \"dragover\": function($event) {\n\t $event.preventDefault();\n\t _vm.fileDrag($event)\n\t }\n\t }\n\t }, [_c('label', {\n\t staticClass: \"btn btn-default\"\n\t }, [(_vm.uploading) ? _c('i', {\n\t staticClass: \"icon-spin4 animate-spin\"\n\t }) : _vm._e(), _vm._v(\" \"), (!_vm.uploading) ? _c('i', {\n\t staticClass: \"icon-upload\"\n\t }) : _vm._e(), _vm._v(\" \"), _c('input', {\n\t staticStyle: {\n\t \"position\": \"fixed\",\n\t \"top\": \"-100em\"\n\t },\n\t attrs: {\n\t \"type\": \"file\"\n\t }\n\t })])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 513 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('Timeline', {\n\t attrs: {\n\t \"title\": _vm.$t('nav.public_tl'),\n\t \"timeline\": _vm.timeline,\n\t \"timeline-name\": 'public'\n\t }\n\t })\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 514 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return (_vm.notification.type === 'mention') ? _c('status', {\n\t attrs: {\n\t \"compact\": true,\n\t \"statusoid\": _vm.notification.status\n\t }\n\t }) : _c('div', {\n\t staticClass: \"non-mention\"\n\t }, [_c('a', {\n\t staticClass: \"avatar-container\",\n\t attrs: {\n\t \"href\": _vm.notification.action.user.statusnet_profile_url\n\t },\n\t on: {\n\t \"!click\": function($event) {\n\t $event.stopPropagation();\n\t $event.preventDefault();\n\t _vm.toggleUserExpanded($event)\n\t }\n\t }\n\t }, [_c('StillImage', {\n\t staticClass: \"avatar-compact\",\n\t attrs: {\n\t \"src\": _vm.notification.action.user.profile_image_url_original\n\t }\n\t })], 1), _vm._v(\" \"), _c('div', {\n\t staticClass: \"notification-right\"\n\t }, [(_vm.userExpanded) ? _c('div', {\n\t staticClass: \"usercard notification-usercard\"\n\t }, [_c('user-card-content', {\n\t attrs: {\n\t \"user\": _vm.notification.action.user,\n\t \"switcher\": false\n\t }\n\t })], 1) : _vm._e(), _vm._v(\" \"), _c('span', {\n\t staticClass: \"notification-details\"\n\t }, [_c('div', {\n\t staticClass: \"name-and-action\"\n\t }, [_c('span', {\n\t staticClass: \"username\",\n\t attrs: {\n\t \"title\": '@' + _vm.notification.action.user.screen_name\n\t }\n\t }, [_vm._v(_vm._s(_vm.notification.action.user.name))]), _vm._v(\" \"), (_vm.notification.type === 'favorite') ? _c('span', [_c('i', {\n\t staticClass: \"fa icon-star lit\"\n\t }), _vm._v(\" \"), _c('small', [_vm._v(_vm._s(_vm.$t('notifications.favorited_you')))])]) : _vm._e(), _vm._v(\" \"), (_vm.notification.type === 'repeat') ? _c('span', [_c('i', {\n\t staticClass: \"fa icon-retweet lit\"\n\t }), _vm._v(\" \"), _c('small', [_vm._v(_vm._s(_vm.$t('notifications.repeated_you')))])]) : _vm._e(), _vm._v(\" \"), (_vm.notification.type === 'follow') ? _c('span', [_c('i', {\n\t staticClass: \"fa icon-user-plus lit\"\n\t }), _vm._v(\" \"), _c('small', [_vm._v(_vm._s(_vm.$t('notifications.followed_you')))])]) : _vm._e()]), _vm._v(\" \"), _c('small', {\n\t staticClass: \"timeago\"\n\t }, [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'conversation',\n\t params: {\n\t id: _vm.notification.status.id\n\t }\n\t }\n\t }\n\t }, [_c('timeago', {\n\t attrs: {\n\t \"since\": _vm.notification.action.created_at,\n\t \"auto-update\": 240\n\t }\n\t })], 1)], 1)]), _vm._v(\" \"), (_vm.notification.type === 'follow') ? _c('div', {\n\t staticClass: \"follow-text\"\n\t }, [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.notification.action.user.id\n\t }\n\t }\n\t }\n\t }, [_vm._v(\"@\" + _vm._s(_vm.notification.action.user.screen_name))])], 1) : _c('status', {\n\t staticClass: \"faint\",\n\t attrs: {\n\t \"compact\": true,\n\t \"statusoid\": _vm.notification.status,\n\t \"noHeading\": true\n\t }\n\t })], 1)])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 515 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('conversation', {\n\t attrs: {\n\t \"collapsable\": false,\n\t \"statusoid\": _vm.statusoid\n\t }\n\t })\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 516 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"still-image\",\n\t class: {\n\t animated: _vm.animated\n\t }\n\t }, [(_vm.animated) ? _c('canvas', {\n\t ref: \"canvas\"\n\t }) : _vm._e(), _vm._v(\" \"), _c('img', {\n\t ref: \"src\",\n\t attrs: {\n\t \"src\": _vm.src,\n\t \"referrerpolicy\": _vm.referrerpolicy\n\t },\n\t on: {\n\t \"load\": _vm.onLoad\n\t }\n\t })])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 517 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"status-el\",\n\t class: [{\n\t 'status-el_focused': _vm.isFocused\n\t }, {\n\t 'status-conversation': _vm.inlineExpanded\n\t }]\n\t }, [(_vm.muted && !_vm.noReplyLinks) ? [_c('div', {\n\t staticClass: \"media status container muted\"\n\t }, [_c('small', [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.status.user.id\n\t }\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.status.user.screen_name))])], 1), _vm._v(\" \"), _c('small', {\n\t staticClass: \"muteWords\"\n\t }, [_vm._v(_vm._s(_vm.muteWordHits.join(', ')))]), _vm._v(\" \"), _c('a', {\n\t staticClass: \"unmute\",\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleMute($event)\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-eye-off\"\n\t })])])] : [(_vm.retweet && !_vm.noHeading) ? _c('div', {\n\t staticClass: \"media container retweet-info\"\n\t }, [(_vm.retweet) ? _c('StillImage', {\n\t staticClass: \"avatar\",\n\t attrs: {\n\t \"src\": _vm.statusoid.user.profile_image_url_original\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"media-body faint\"\n\t }, [_c('a', {\n\t staticStyle: {\n\t \"font-weight\": \"bold\"\n\t },\n\t attrs: {\n\t \"href\": _vm.statusoid.user.statusnet_profile_url,\n\t \"title\": '@' + _vm.statusoid.user.screen_name\n\t }\n\t }, [_vm._v(_vm._s(_vm.retweeter))]), _vm._v(\" \"), _c('i', {\n\t staticClass: \"fa icon-retweet retweeted\"\n\t }), _vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.repeated')) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"media status\"\n\t }, [(!_vm.noHeading) ? _c('div', {\n\t staticClass: \"media-left\"\n\t }, [_c('a', {\n\t attrs: {\n\t \"href\": _vm.status.user.statusnet_profile_url\n\t },\n\t on: {\n\t \"!click\": function($event) {\n\t $event.stopPropagation();\n\t $event.preventDefault();\n\t _vm.toggleUserExpanded($event)\n\t }\n\t }\n\t }, [_c('StillImage', {\n\t staticClass: \"avatar\",\n\t class: {\n\t 'avatar-compact': _vm.compact\n\t },\n\t attrs: {\n\t \"src\": _vm.status.user.profile_image_url_original\n\t }\n\t })], 1)]) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"status-body\"\n\t }, [(_vm.userExpanded) ? _c('div', {\n\t staticClass: \"usercard media-body\"\n\t }, [_c('user-card-content', {\n\t attrs: {\n\t \"user\": _vm.status.user,\n\t \"switcher\": false\n\t }\n\t })], 1) : _vm._e(), _vm._v(\" \"), (!_vm.noHeading) ? _c('div', {\n\t staticClass: \"media-body container media-heading\"\n\t }, [_c('div', {\n\t staticClass: \"media-heading-left\"\n\t }, [_c('div', {\n\t staticClass: \"name-and-links\"\n\t }, [_c('h4', {\n\t staticClass: \"user-name\"\n\t }, [_vm._v(_vm._s(_vm.status.user.name))]), _vm._v(\" \"), _c('span', {\n\t staticClass: \"links\"\n\t }, [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.status.user.id\n\t }\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.status.user.screen_name))]), _vm._v(\" \"), (_vm.status.in_reply_to_screen_name) ? _c('span', {\n\t staticClass: \"faint reply-info\"\n\t }, [_c('i', {\n\t staticClass: \"icon-right-open\"\n\t }), _vm._v(\" \"), _c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.status.in_reply_to_user_id\n\t }\n\t }\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.status.in_reply_to_screen_name) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), (_vm.isReply && !_vm.noReplyLinks) ? _c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.gotoOriginal(_vm.status.in_reply_to_status_id)\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-reply\",\n\t on: {\n\t \"mouseenter\": function($event) {\n\t _vm.replyEnter(_vm.status.in_reply_to_status_id, $event)\n\t },\n\t \"mouseout\": function($event) {\n\t _vm.replyLeave()\n\t }\n\t }\n\t })]) : _vm._e()], 1)]), _vm._v(\" \"), (_vm.inConversation && !_vm.noReplyLinks) ? _c('h4', {\n\t staticClass: \"replies\"\n\t }, [(_vm.replies.length) ? _c('small', [_vm._v(\"Replies:\")]) : _vm._e(), _vm._v(\" \"), _vm._l((_vm.replies), function(reply) {\n\t return _c('small', {\n\t staticClass: \"reply-link\"\n\t }, [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.gotoOriginal(reply.id)\n\t },\n\t \"mouseenter\": function($event) {\n\t _vm.replyEnter(reply.id, $event)\n\t },\n\t \"mouseout\": function($event) {\n\t _vm.replyLeave()\n\t }\n\t }\n\t }, [_vm._v(_vm._s(reply.name) + \" \")])])\n\t })], 2) : _vm._e()]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"media-heading-right\"\n\t }, [_c('router-link', {\n\t staticClass: \"timeago\",\n\t attrs: {\n\t \"to\": {\n\t name: 'conversation',\n\t params: {\n\t id: _vm.status.id\n\t }\n\t }\n\t }\n\t }, [_c('timeago', {\n\t attrs: {\n\t \"since\": _vm.status.created_at,\n\t \"auto-update\": 60\n\t }\n\t })], 1), _vm._v(\" \"), (_vm.status.visibility) ? _c('span', [_c('i', {\n\t class: _vm.visibilityIcon(_vm.status.visibility)\n\t })]) : _vm._e(), _vm._v(\" \"), (!_vm.status.is_local) ? _c('a', {\n\t staticClass: \"source_url\",\n\t attrs: {\n\t \"href\": _vm.status.external_url,\n\t \"target\": \"_blank\"\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-link-ext\"\n\t })]) : _vm._e(), _vm._v(\" \"), (_vm.expandable) ? [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleExpanded($event)\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-plus-squared\"\n\t })])] : _vm._e(), _vm._v(\" \"), (_vm.unmuted) ? _c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleMute($event)\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-eye-off\"\n\t })]) : _vm._e()], 2)]) : _vm._e(), _vm._v(\" \"), (_vm.showPreview) ? _c('div', {\n\t staticClass: \"status-preview-container\"\n\t }, [(_vm.preview) ? _c('status', {\n\t staticClass: \"status-preview\",\n\t attrs: {\n\t \"noReplyLinks\": true,\n\t \"statusoid\": _vm.preview,\n\t \"compact\": true\n\t }\n\t }) : _c('div', {\n\t staticClass: \"status-preview status-preview-loading\"\n\t }, [_c('i', {\n\t staticClass: \"icon-spin4 animate-spin\"\n\t })])], 1) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"status-content-wrapper\",\n\t class: {\n\t 'tall-status': _vm.hideTallStatus\n\t }\n\t }, [(_vm.hideTallStatus) ? _c('a', {\n\t staticClass: \"tall-status-hider\",\n\t class: {\n\t 'tall-status-hider_focused': _vm.isFocused\n\t },\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleShowTall($event)\n\t }\n\t }\n\t }, [_vm._v(\"Show more\")]) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"status-content media-body\",\n\t domProps: {\n\t \"innerHTML\": _vm._s(_vm.status.statusnet_html)\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.linkClicked($event)\n\t }\n\t }\n\t }), _vm._v(\" \"), (_vm.showingTall) ? _c('a', {\n\t staticClass: \"tall-status-unhider\",\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleShowTall($event)\n\t }\n\t }\n\t }, [_vm._v(\"Show less\")]) : _vm._e()]), _vm._v(\" \"), (_vm.status.attachments) ? _c('div', {\n\t staticClass: \"attachments media-body\"\n\t }, _vm._l((_vm.status.attachments), function(attachment) {\n\t return _c('attachment', {\n\t key: attachment.id,\n\t attrs: {\n\t \"size\": _vm.attachmentSize,\n\t \"status-id\": _vm.status.id,\n\t \"nsfw\": _vm.status.nsfw,\n\t \"attachment\": attachment\n\t }\n\t })\n\t })) : _vm._e(), _vm._v(\" \"), (!_vm.noHeading && !_vm.noReplyLinks) ? _c('div', {\n\t staticClass: \"status-actions media-body\"\n\t }, [(_vm.loggedIn) ? _c('div', [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleReplying($event)\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-reply\",\n\t class: {\n\t 'icon-reply-active': _vm.replying\n\t }\n\t })])]) : _vm._e(), _vm._v(\" \"), _c('retweet-button', {\n\t attrs: {\n\t \"loggedIn\": _vm.loggedIn,\n\t \"status\": _vm.status\n\t }\n\t }), _vm._v(\" \"), _c('favorite-button', {\n\t attrs: {\n\t \"loggedIn\": _vm.loggedIn,\n\t \"status\": _vm.status\n\t }\n\t }), _vm._v(\" \"), _c('delete-button', {\n\t attrs: {\n\t \"status\": _vm.status\n\t }\n\t })], 1) : _vm._e()])]), _vm._v(\" \"), (_vm.replying) ? _c('div', {\n\t staticClass: \"container\"\n\t }, [_c('div', {\n\t staticClass: \"reply-left\"\n\t }), _vm._v(\" \"), _c('post-status-form', {\n\t staticClass: \"reply-body\",\n\t attrs: {\n\t \"reply-to\": _vm.status.id,\n\t \"attentions\": _vm.status.attentions,\n\t \"repliedUser\": _vm.status.user\n\t },\n\t on: {\n\t \"posted\": _vm.toggleReplying\n\t }\n\t })], 1) : _vm._e()]], 2)\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 518 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"instance-specific-panel\"\n\t }, [_c('div', {\n\t staticClass: \"panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('div', {\n\t domProps: {\n\t \"innerHTML\": _vm._s(_vm.instanceSpecificPanelContent)\n\t }\n\t })])])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 519 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('Timeline', {\n\t attrs: {\n\t \"title\": _vm.$t('nav.timeline'),\n\t \"timeline\": _vm.timeline,\n\t \"timeline-name\": 'friends'\n\t }\n\t })\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 520 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"settings panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.user_settings')) + \"\\n \")]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body profile-edit\"\n\t }, [_c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.name_bio')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.name')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.newname),\n\t expression: \"newname\"\n\t }],\n\t staticClass: \"name-changer\",\n\t attrs: {\n\t \"id\": \"username\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.newname)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.newname = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.bio')))]), _vm._v(\" \"), _c('textarea', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.newbio),\n\t expression: \"newbio\"\n\t }],\n\t staticClass: \"bio\",\n\t domProps: {\n\t \"value\": (_vm.newbio)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.newbio = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('button', {\n\t staticClass: \"btn btn-default\",\n\t attrs: {\n\t \"disabled\": _vm.newname.length <= 0\n\t },\n\t on: {\n\t \"click\": _vm.updateProfile\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('general.submit')))])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.avatar')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.current_avatar')))]), _vm._v(\" \"), _c('img', {\n\t staticClass: \"old-avatar\",\n\t attrs: {\n\t \"src\": _vm.user.profile_image_url_original\n\t }\n\t }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.set_new_avatar')))]), _vm._v(\" \"), (_vm.previews[0]) ? _c('img', {\n\t staticClass: \"new-avatar\",\n\t attrs: {\n\t \"src\": _vm.previews[0]\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), _c('div', [_c('input', {\n\t attrs: {\n\t \"type\": \"file\"\n\t },\n\t on: {\n\t \"change\": function($event) {\n\t _vm.uploadFile(0, $event)\n\t }\n\t }\n\t })]), _vm._v(\" \"), (_vm.uploading[0]) ? _c('i', {\n\t staticClass: \"icon-spin4 animate-spin\"\n\t }) : (_vm.previews[0]) ? _c('button', {\n\t staticClass: \"btn btn-default\",\n\t on: {\n\t \"click\": _vm.submitAvatar\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.profile_banner')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.current_profile_banner')))]), _vm._v(\" \"), _c('img', {\n\t staticClass: \"banner\",\n\t attrs: {\n\t \"src\": _vm.user.cover_photo\n\t }\n\t }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.set_new_profile_banner')))]), _vm._v(\" \"), (_vm.previews[1]) ? _c('img', {\n\t staticClass: \"banner\",\n\t attrs: {\n\t \"src\": _vm.previews[1]\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), _c('div', [_c('input', {\n\t attrs: {\n\t \"type\": \"file\"\n\t },\n\t on: {\n\t \"change\": function($event) {\n\t _vm.uploadFile(1, $event)\n\t }\n\t }\n\t })]), _vm._v(\" \"), (_vm.uploading[1]) ? _c('i', {\n\t staticClass: \" icon-spin4 animate-spin uploading\"\n\t }) : (_vm.previews[1]) ? _c('button', {\n\t staticClass: \"btn btn-default\",\n\t on: {\n\t \"click\": _vm.submitBanner\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.profile_background')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.set_new_profile_background')))]), _vm._v(\" \"), (_vm.previews[2]) ? _c('img', {\n\t staticClass: \"bg\",\n\t attrs: {\n\t \"src\": _vm.previews[2]\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), _c('div', [_c('input', {\n\t attrs: {\n\t \"type\": \"file\"\n\t },\n\t on: {\n\t \"change\": function($event) {\n\t _vm.uploadFile(2, $event)\n\t }\n\t }\n\t })]), _vm._v(\" \"), (_vm.uploading[2]) ? _c('i', {\n\t staticClass: \" icon-spin4 animate-spin uploading\"\n\t }) : (_vm.previews[2]) ? _c('button', {\n\t staticClass: \"btn btn-default\",\n\t on: {\n\t \"click\": _vm.submitBg\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _vm._e()]), _vm._v(\" \"), (_vm.pleromaBackend) ? _c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.follow_import')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.import_followers_from_a_csv_file')))]), _vm._v(\" \"), _c('form', {\n\t model: {\n\t value: (_vm.followImportForm),\n\t callback: function($$v) {\n\t _vm.followImportForm = $$v\n\t },\n\t expression: \"followImportForm\"\n\t }\n\t }, [_c('input', {\n\t ref: \"followlist\",\n\t attrs: {\n\t \"type\": \"file\"\n\t },\n\t on: {\n\t \"change\": _vm.followListChange\n\t }\n\t })]), _vm._v(\" \"), (_vm.uploading[3]) ? _c('i', {\n\t staticClass: \" icon-spin4 animate-spin uploading\"\n\t }) : _c('button', {\n\t staticClass: \"btn btn-default\",\n\t on: {\n\t \"click\": _vm.importFollows\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('general.submit')))]), _vm._v(\" \"), (_vm.followsImported) ? _c('div', [_c('i', {\n\t staticClass: \"icon-cross\",\n\t on: {\n\t \"click\": _vm.dismissImported\n\t }\n\t }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.follows_imported')))])]) : (_vm.followImportError) ? _c('div', [_c('p', [_vm._v(_vm._s(_vm.$t('settings.follow_import_error')))])]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), (_vm.enableFollowsExport) ? _c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.follow_export')))]), _vm._v(\" \"), _c('button', {\n\t staticClass: \"btn btn-default\",\n\t on: {\n\t \"click\": _vm.exportFollows\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.follow_export_button')))])]) : _c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.follow_export_processing')))])]), _vm._v(\" \"), _c('hr'), _vm._v(\" \"), _c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.delete_account')))]), _vm._v(\" \"), (!_vm.deletingAccount) ? _c('p', [_vm._v(_vm._s(_vm.$t('settings.delete_account_description')))]) : _vm._e(), _vm._v(\" \"), (_vm.deletingAccount) ? _c('div', [_c('p', [_vm._v(_vm._s(_vm.$t('settings.delete_account_instructions')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('login.password')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.deleteAccountConfirmPasswordInput),\n\t expression: \"deleteAccountConfirmPasswordInput\"\n\t }],\n\t attrs: {\n\t \"type\": \"password\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.deleteAccountConfirmPasswordInput)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.deleteAccountConfirmPasswordInput = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('button', {\n\t staticClass: \"btn btn-default\",\n\t on: {\n\t \"click\": _vm.deleteAccount\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.delete_account')))])]) : _vm._e(), _vm._v(\" \"), (_vm.deleteAccountError !== false) ? _c('p', [_vm._v(_vm._s(_vm.$t('settings.delete_account_error')))]) : _vm._e(), _vm._v(\" \"), (_vm.deleteAccountError) ? _c('p', [_vm._v(_vm._s(_vm.deleteAccountError))]) : _vm._e(), _vm._v(\" \"), (!_vm.deletingAccount) ? _c('button', {\n\t staticClass: \"btn btn-default\",\n\t on: {\n\t \"click\": _vm.confirmDelete\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _vm._e()])])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 521 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return (_vm.canDelete) ? _c('div', [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.deleteStatus()\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-cancel delete-status\"\n\t })])]) : _vm._e()\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 522 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', [_c('div', [_vm._v(_vm._s(_vm.$t('settings.presets')) + \"\\n \"), _c('label', {\n\t staticClass: \"select\",\n\t attrs: {\n\t \"for\": \"style-switcher\"\n\t }\n\t }, [_c('select', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.selected),\n\t expression: \"selected\"\n\t }],\n\t staticClass: \"style-switcher\",\n\t attrs: {\n\t \"id\": \"style-switcher\"\n\t },\n\t on: {\n\t \"change\": function($event) {\n\t var $$selectedVal = Array.prototype.filter.call($event.target.options, function(o) {\n\t return o.selected\n\t }).map(function(o) {\n\t var val = \"_value\" in o ? o._value : o.value;\n\t return val\n\t });\n\t _vm.selected = $event.target.multiple ? $$selectedVal : $$selectedVal[0]\n\t }\n\t }\n\t }, _vm._l((_vm.availableStyles), function(style) {\n\t return _c('option', {\n\t domProps: {\n\t \"value\": style\n\t }\n\t }, [_vm._v(_vm._s(style[0]))])\n\t })), _vm._v(\" \"), _c('i', {\n\t staticClass: \"icon-down-open\"\n\t })])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"color-container\"\n\t }, [_c('p', [_vm._v(_vm._s(_vm.$t('settings.theme_help')))]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"color-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-color-lb\",\n\t attrs: {\n\t \"for\": \"bgcolor\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.background')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.bgColorLocal),\n\t expression: \"bgColorLocal\"\n\t }],\n\t staticClass: \"theme-color-cl\",\n\t attrs: {\n\t \"id\": \"bgcolor\",\n\t \"type\": \"color\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.bgColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.bgColorLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.bgColorLocal),\n\t expression: \"bgColorLocal\"\n\t }],\n\t staticClass: \"theme-color-in\",\n\t attrs: {\n\t \"id\": \"bgcolor-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.bgColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.bgColorLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"color-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-color-lb\",\n\t attrs: {\n\t \"for\": \"fgcolor\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.foreground')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.btnColorLocal),\n\t expression: \"btnColorLocal\"\n\t }],\n\t staticClass: \"theme-color-cl\",\n\t attrs: {\n\t \"id\": \"fgcolor\",\n\t \"type\": \"color\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.btnColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.btnColorLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.btnColorLocal),\n\t expression: \"btnColorLocal\"\n\t }],\n\t staticClass: \"theme-color-in\",\n\t attrs: {\n\t \"id\": \"fgcolor-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.btnColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.btnColorLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"color-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-color-lb\",\n\t attrs: {\n\t \"for\": \"textcolor\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.text')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.textColorLocal),\n\t expression: \"textColorLocal\"\n\t }],\n\t staticClass: \"theme-color-cl\",\n\t attrs: {\n\t \"id\": \"textcolor\",\n\t \"type\": \"color\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.textColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.textColorLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.textColorLocal),\n\t expression: \"textColorLocal\"\n\t }],\n\t staticClass: \"theme-color-in\",\n\t attrs: {\n\t \"id\": \"textcolor-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.textColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.textColorLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"color-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-color-lb\",\n\t attrs: {\n\t \"for\": \"linkcolor\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.links')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.linkColorLocal),\n\t expression: \"linkColorLocal\"\n\t }],\n\t staticClass: \"theme-color-cl\",\n\t attrs: {\n\t \"id\": \"linkcolor\",\n\t \"type\": \"color\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.linkColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.linkColorLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.linkColorLocal),\n\t expression: \"linkColorLocal\"\n\t }],\n\t staticClass: \"theme-color-in\",\n\t attrs: {\n\t \"id\": \"linkcolor-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.linkColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.linkColorLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"color-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-color-lb\",\n\t attrs: {\n\t \"for\": \"redcolor\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.cRed')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.redColorLocal),\n\t expression: \"redColorLocal\"\n\t }],\n\t staticClass: \"theme-color-cl\",\n\t attrs: {\n\t \"id\": \"redcolor\",\n\t \"type\": \"color\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.redColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.redColorLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.redColorLocal),\n\t expression: \"redColorLocal\"\n\t }],\n\t staticClass: \"theme-color-in\",\n\t attrs: {\n\t \"id\": \"redcolor-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.redColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.redColorLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"color-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-color-lb\",\n\t attrs: {\n\t \"for\": \"bluecolor\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.cBlue')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.blueColorLocal),\n\t expression: \"blueColorLocal\"\n\t }],\n\t staticClass: \"theme-color-cl\",\n\t attrs: {\n\t \"id\": \"bluecolor\",\n\t \"type\": \"color\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.blueColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.blueColorLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.blueColorLocal),\n\t expression: \"blueColorLocal\"\n\t }],\n\t staticClass: \"theme-color-in\",\n\t attrs: {\n\t \"id\": \"bluecolor-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.blueColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.blueColorLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"color-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-color-lb\",\n\t attrs: {\n\t \"for\": \"greencolor\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.cGreen')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.greenColorLocal),\n\t expression: \"greenColorLocal\"\n\t }],\n\t staticClass: \"theme-color-cl\",\n\t attrs: {\n\t \"id\": \"greencolor\",\n\t \"type\": \"color\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.greenColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.greenColorLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.greenColorLocal),\n\t expression: \"greenColorLocal\"\n\t }],\n\t staticClass: \"theme-color-in\",\n\t attrs: {\n\t \"id\": \"greencolor-t\",\n\t \"type\": \"green\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.greenColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.greenColorLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"color-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-color-lb\",\n\t attrs: {\n\t \"for\": \"orangecolor\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.cOrange')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.orangeColorLocal),\n\t expression: \"orangeColorLocal\"\n\t }],\n\t staticClass: \"theme-color-cl\",\n\t attrs: {\n\t \"id\": \"orangecolor\",\n\t \"type\": \"color\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.orangeColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.orangeColorLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.orangeColorLocal),\n\t expression: \"orangeColorLocal\"\n\t }],\n\t staticClass: \"theme-color-in\",\n\t attrs: {\n\t \"id\": \"orangecolor-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.orangeColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.orangeColorLocal = $event.target.value\n\t }\n\t }\n\t })])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"radius-container\"\n\t }, [_c('p', [_vm._v(_vm._s(_vm.$t('settings.radii_help')))]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"radius-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-radius-lb\",\n\t attrs: {\n\t \"for\": \"btnradius\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.btnRadius')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.btnRadiusLocal),\n\t expression: \"btnRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-rn\",\n\t attrs: {\n\t \"id\": \"btnradius\",\n\t \"type\": \"range\",\n\t \"max\": \"16\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.btnRadiusLocal)\n\t },\n\t on: {\n\t \"__r\": function($event) {\n\t _vm.btnRadiusLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.btnRadiusLocal),\n\t expression: \"btnRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-in\",\n\t attrs: {\n\t \"id\": \"btnradius-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.btnRadiusLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.btnRadiusLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"radius-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-radius-lb\",\n\t attrs: {\n\t \"for\": \"inputradius\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.inputRadius')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.inputRadiusLocal),\n\t expression: \"inputRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-rn\",\n\t attrs: {\n\t \"id\": \"inputradius\",\n\t \"type\": \"range\",\n\t \"max\": \"16\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.inputRadiusLocal)\n\t },\n\t on: {\n\t \"__r\": function($event) {\n\t _vm.inputRadiusLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.inputRadiusLocal),\n\t expression: \"inputRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-in\",\n\t attrs: {\n\t \"id\": \"inputradius-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.inputRadiusLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.inputRadiusLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"radius-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-radius-lb\",\n\t attrs: {\n\t \"for\": \"panelradius\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.panelRadius')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.panelRadiusLocal),\n\t expression: \"panelRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-rn\",\n\t attrs: {\n\t \"id\": \"panelradius\",\n\t \"type\": \"range\",\n\t \"max\": \"50\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.panelRadiusLocal)\n\t },\n\t on: {\n\t \"__r\": function($event) {\n\t _vm.panelRadiusLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.panelRadiusLocal),\n\t expression: \"panelRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-in\",\n\t attrs: {\n\t \"id\": \"panelradius-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.panelRadiusLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.panelRadiusLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"radius-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-radius-lb\",\n\t attrs: {\n\t \"for\": \"avatarradius\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.avatarRadius')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.avatarRadiusLocal),\n\t expression: \"avatarRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-rn\",\n\t attrs: {\n\t \"id\": \"avatarradius\",\n\t \"type\": \"range\",\n\t \"max\": \"28\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.avatarRadiusLocal)\n\t },\n\t on: {\n\t \"__r\": function($event) {\n\t _vm.avatarRadiusLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.avatarRadiusLocal),\n\t expression: \"avatarRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-in\",\n\t attrs: {\n\t \"id\": \"avatarradius-t\",\n\t \"type\": \"green\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.avatarRadiusLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.avatarRadiusLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"radius-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-radius-lb\",\n\t attrs: {\n\t \"for\": \"avataraltradius\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.avatarAltRadius')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.avatarAltRadiusLocal),\n\t expression: \"avatarAltRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-rn\",\n\t attrs: {\n\t \"id\": \"avataraltradius\",\n\t \"type\": \"range\",\n\t \"max\": \"28\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.avatarAltRadiusLocal)\n\t },\n\t on: {\n\t \"__r\": function($event) {\n\t _vm.avatarAltRadiusLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.avatarAltRadiusLocal),\n\t expression: \"avatarAltRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-in\",\n\t attrs: {\n\t \"id\": \"avataraltradius-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.avatarAltRadiusLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.avatarAltRadiusLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"radius-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-radius-lb\",\n\t attrs: {\n\t \"for\": \"attachmentradius\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.attachmentRadius')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.attachmentRadiusLocal),\n\t expression: \"attachmentRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-rn\",\n\t attrs: {\n\t \"id\": \"attachmentrradius\",\n\t \"type\": \"range\",\n\t \"max\": \"50\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.attachmentRadiusLocal)\n\t },\n\t on: {\n\t \"__r\": function($event) {\n\t _vm.attachmentRadiusLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.attachmentRadiusLocal),\n\t expression: \"attachmentRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-in\",\n\t attrs: {\n\t \"id\": \"attachmentradius-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.attachmentRadiusLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.attachmentRadiusLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"radius-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-radius-lb\",\n\t attrs: {\n\t \"for\": \"tooltipradius\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.tooltipRadius')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.tooltipRadiusLocal),\n\t expression: \"tooltipRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-rn\",\n\t attrs: {\n\t \"id\": \"tooltipradius\",\n\t \"type\": \"range\",\n\t \"max\": \"20\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.tooltipRadiusLocal)\n\t },\n\t on: {\n\t \"__r\": function($event) {\n\t _vm.tooltipRadiusLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.tooltipRadiusLocal),\n\t expression: \"tooltipRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-in\",\n\t attrs: {\n\t \"id\": \"tooltipradius-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.tooltipRadiusLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.tooltipRadiusLocal = $event.target.value\n\t }\n\t }\n\t })])]), _vm._v(\" \"), _c('div', {\n\t style: ({\n\t '--btnRadius': _vm.btnRadiusLocal + 'px',\n\t '--inputRadius': _vm.inputRadiusLocal + 'px',\n\t '--panelRadius': _vm.panelRadiusLocal + 'px',\n\t '--avatarRadius': _vm.avatarRadiusLocal + 'px',\n\t '--avatarAltRadius': _vm.avatarAltRadiusLocal + 'px',\n\t '--tooltipRadius': _vm.tooltipRadiusLocal + 'px',\n\t '--attachmentRadius': _vm.attachmentRadiusLocal + 'px'\n\t })\n\t }, [_c('div', {\n\t staticClass: \"panel dummy\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading\",\n\t style: ({\n\t 'background-color': _vm.btnColorLocal,\n\t 'color': _vm.textColorLocal\n\t })\n\t }, [_vm._v(\"Preview\")]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body theme-preview-content\",\n\t style: ({\n\t 'background-color': _vm.bgColorLocal,\n\t 'color': _vm.textColorLocal\n\t })\n\t }, [_c('div', {\n\t staticClass: \"avatar\",\n\t style: ({\n\t 'border-radius': _vm.avatarRadiusLocal + 'px'\n\t })\n\t }, [_vm._v(\"\\n ( ͡° ͜ʖ ͡°)\\n \")]), _vm._v(\" \"), _c('h4', [_vm._v(\"Content\")]), _vm._v(\" \"), _c('br'), _vm._v(\"\\n A bunch of more content and\\n \"), _c('a', {\n\t style: ({\n\t color: _vm.linkColorLocal\n\t })\n\t }, [_vm._v(\"a nice lil' link\")]), _vm._v(\" \"), _c('i', {\n\t staticClass: \"icon-reply\",\n\t style: ({\n\t color: _vm.blueColorLocal\n\t })\n\t }), _vm._v(\" \"), _c('i', {\n\t staticClass: \"icon-retweet\",\n\t style: ({\n\t color: _vm.greenColorLocal\n\t })\n\t }), _vm._v(\" \"), _c('i', {\n\t staticClass: \"icon-cancel\",\n\t style: ({\n\t color: _vm.redColorLocal\n\t })\n\t }), _vm._v(\" \"), _c('i', {\n\t staticClass: \"icon-star\",\n\t style: ({\n\t color: _vm.orangeColorLocal\n\t })\n\t }), _vm._v(\" \"), _c('br'), _vm._v(\" \"), _c('button', {\n\t staticClass: \"btn\",\n\t style: ({\n\t 'background-color': _vm.btnColorLocal,\n\t 'color': _vm.textColorLocal\n\t })\n\t }, [_vm._v(\"Button\")])])])]), _vm._v(\" \"), _c('button', {\n\t staticClass: \"btn\",\n\t on: {\n\t \"click\": _vm.setCustomTheme\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('general.apply')))])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 523 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return (_vm.loggedIn) ? _c('div', [_c('i', {\n\t staticClass: \"favorite-button fav-active\",\n\t class: _vm.classes,\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.favorite()\n\t }\n\t }\n\t }), _vm._v(\" \"), (_vm.status.fave_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.fave_num))]) : _vm._e()]) : _c('div', [_c('i', {\n\t staticClass: \"favorite-button\",\n\t class: _vm.classes\n\t }), _vm._v(\" \"), (_vm.status.fave_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.fave_num))]) : _vm._e()])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 524 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"settings panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.settings')) + \"\\n \")]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.theme')))]), _vm._v(\" \"), _c('style-switcher')], 1), _vm._v(\" \"), _c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.filtering')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.filtering_explanation')))]), _vm._v(\" \"), _c('textarea', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.muteWordsString),\n\t expression: \"muteWordsString\"\n\t }],\n\t attrs: {\n\t \"id\": \"muteWords\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.muteWordsString)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.muteWordsString = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.attachments')))]), _vm._v(\" \"), _c('ul', {\n\t staticClass: \"setting-list\"\n\t }, [_c('li', [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.hideAttachmentsLocal),\n\t expression: \"hideAttachmentsLocal\"\n\t }],\n\t attrs: {\n\t \"type\": \"checkbox\",\n\t \"id\": \"hideAttachments\"\n\t },\n\t domProps: {\n\t \"checked\": Array.isArray(_vm.hideAttachmentsLocal) ? _vm._i(_vm.hideAttachmentsLocal, null) > -1 : (_vm.hideAttachmentsLocal)\n\t },\n\t on: {\n\t \"change\": function($event) {\n\t var $$a = _vm.hideAttachmentsLocal,\n\t $$el = $event.target,\n\t $$c = $$el.checked ? (true) : (false);\n\t if (Array.isArray($$a)) {\n\t var $$v = null,\n\t $$i = _vm._i($$a, $$v);\n\t if ($$el.checked) {\n\t $$i < 0 && (_vm.hideAttachmentsLocal = $$a.concat([$$v]))\n\t } else {\n\t $$i > -1 && (_vm.hideAttachmentsLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n\t }\n\t } else {\n\t _vm.hideAttachmentsLocal = $$c\n\t }\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('label', {\n\t attrs: {\n\t \"for\": \"hideAttachments\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.hide_attachments_in_tl')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.hideAttachmentsInConvLocal),\n\t expression: \"hideAttachmentsInConvLocal\"\n\t }],\n\t attrs: {\n\t \"type\": \"checkbox\",\n\t \"id\": \"hideAttachmentsInConv\"\n\t },\n\t domProps: {\n\t \"checked\": Array.isArray(_vm.hideAttachmentsInConvLocal) ? _vm._i(_vm.hideAttachmentsInConvLocal, null) > -1 : (_vm.hideAttachmentsInConvLocal)\n\t },\n\t on: {\n\t \"change\": function($event) {\n\t var $$a = _vm.hideAttachmentsInConvLocal,\n\t $$el = $event.target,\n\t $$c = $$el.checked ? (true) : (false);\n\t if (Array.isArray($$a)) {\n\t var $$v = null,\n\t $$i = _vm._i($$a, $$v);\n\t if ($$el.checked) {\n\t $$i < 0 && (_vm.hideAttachmentsInConvLocal = $$a.concat([$$v]))\n\t } else {\n\t $$i > -1 && (_vm.hideAttachmentsInConvLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n\t }\n\t } else {\n\t _vm.hideAttachmentsInConvLocal = $$c\n\t }\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('label', {\n\t attrs: {\n\t \"for\": \"hideAttachmentsInConv\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.hide_attachments_in_convo')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.hideNsfwLocal),\n\t expression: \"hideNsfwLocal\"\n\t }],\n\t attrs: {\n\t \"type\": \"checkbox\",\n\t \"id\": \"hideNsfw\"\n\t },\n\t domProps: {\n\t \"checked\": Array.isArray(_vm.hideNsfwLocal) ? _vm._i(_vm.hideNsfwLocal, null) > -1 : (_vm.hideNsfwLocal)\n\t },\n\t on: {\n\t \"change\": function($event) {\n\t var $$a = _vm.hideNsfwLocal,\n\t $$el = $event.target,\n\t $$c = $$el.checked ? (true) : (false);\n\t if (Array.isArray($$a)) {\n\t var $$v = null,\n\t $$i = _vm._i($$a, $$v);\n\t if ($$el.checked) {\n\t $$i < 0 && (_vm.hideNsfwLocal = $$a.concat([$$v]))\n\t } else {\n\t $$i > -1 && (_vm.hideNsfwLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n\t }\n\t } else {\n\t _vm.hideNsfwLocal = $$c\n\t }\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('label', {\n\t attrs: {\n\t \"for\": \"hideNsfw\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.nsfw_clickthrough')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.autoLoadLocal),\n\t expression: \"autoLoadLocal\"\n\t }],\n\t attrs: {\n\t \"type\": \"checkbox\",\n\t \"id\": \"autoload\"\n\t },\n\t domProps: {\n\t \"checked\": Array.isArray(_vm.autoLoadLocal) ? _vm._i(_vm.autoLoadLocal, null) > -1 : (_vm.autoLoadLocal)\n\t },\n\t on: {\n\t \"change\": function($event) {\n\t var $$a = _vm.autoLoadLocal,\n\t $$el = $event.target,\n\t $$c = $$el.checked ? (true) : (false);\n\t if (Array.isArray($$a)) {\n\t var $$v = null,\n\t $$i = _vm._i($$a, $$v);\n\t if ($$el.checked) {\n\t $$i < 0 && (_vm.autoLoadLocal = $$a.concat([$$v]))\n\t } else {\n\t $$i > -1 && (_vm.autoLoadLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n\t }\n\t } else {\n\t _vm.autoLoadLocal = $$c\n\t }\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('label', {\n\t attrs: {\n\t \"for\": \"autoload\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.autoload')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.streamingLocal),\n\t expression: \"streamingLocal\"\n\t }],\n\t attrs: {\n\t \"type\": \"checkbox\",\n\t \"id\": \"streaming\"\n\t },\n\t domProps: {\n\t \"checked\": Array.isArray(_vm.streamingLocal) ? _vm._i(_vm.streamingLocal, null) > -1 : (_vm.streamingLocal)\n\t },\n\t on: {\n\t \"change\": function($event) {\n\t var $$a = _vm.streamingLocal,\n\t $$el = $event.target,\n\t $$c = $$el.checked ? (true) : (false);\n\t if (Array.isArray($$a)) {\n\t var $$v = null,\n\t $$i = _vm._i($$a, $$v);\n\t if ($$el.checked) {\n\t $$i < 0 && (_vm.streamingLocal = $$a.concat([$$v]))\n\t } else {\n\t $$i > -1 && (_vm.streamingLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n\t }\n\t } else {\n\t _vm.streamingLocal = $$c\n\t }\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('label', {\n\t attrs: {\n\t \"for\": \"streaming\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.streaming')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.hoverPreviewLocal),\n\t expression: \"hoverPreviewLocal\"\n\t }],\n\t attrs: {\n\t \"type\": \"checkbox\",\n\t \"id\": \"hoverPreview\"\n\t },\n\t domProps: {\n\t \"checked\": Array.isArray(_vm.hoverPreviewLocal) ? _vm._i(_vm.hoverPreviewLocal, null) > -1 : (_vm.hoverPreviewLocal)\n\t },\n\t on: {\n\t \"change\": function($event) {\n\t var $$a = _vm.hoverPreviewLocal,\n\t $$el = $event.target,\n\t $$c = $$el.checked ? (true) : (false);\n\t if (Array.isArray($$a)) {\n\t var $$v = null,\n\t $$i = _vm._i($$a, $$v);\n\t if ($$el.checked) {\n\t $$i < 0 && (_vm.hoverPreviewLocal = $$a.concat([$$v]))\n\t } else {\n\t $$i > -1 && (_vm.hoverPreviewLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n\t }\n\t } else {\n\t _vm.hoverPreviewLocal = $$c\n\t }\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('label', {\n\t attrs: {\n\t \"for\": \"hoverPreview\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.reply_link_preview')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.stopGifs),\n\t expression: \"stopGifs\"\n\t }],\n\t attrs: {\n\t \"type\": \"checkbox\",\n\t \"id\": \"stopGifs\"\n\t },\n\t domProps: {\n\t \"checked\": Array.isArray(_vm.stopGifs) ? _vm._i(_vm.stopGifs, null) > -1 : (_vm.stopGifs)\n\t },\n\t on: {\n\t \"change\": function($event) {\n\t var $$a = _vm.stopGifs,\n\t $$el = $event.target,\n\t $$c = $$el.checked ? (true) : (false);\n\t if (Array.isArray($$a)) {\n\t var $$v = null,\n\t $$i = _vm._i($$a, $$v);\n\t if ($$el.checked) {\n\t $$i < 0 && (_vm.stopGifs = $$a.concat([$$v]))\n\t } else {\n\t $$i > -1 && (_vm.stopGifs = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n\t }\n\t } else {\n\t _vm.stopGifs = $$c\n\t }\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('label', {\n\t attrs: {\n\t \"for\": \"stopGifs\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.stop_gifs')))])])])])])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 525 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"nav-panel\"\n\t }, [_c('div', {\n\t staticClass: \"panel panel-default\"\n\t }, [_c('ul', [(_vm.currentUser) ? _c('li', [_c('router-link', {\n\t attrs: {\n\t \"to\": \"/main/friends\"\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.timeline\")) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), (_vm.currentUser) ? _c('li', [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'mentions',\n\t params: {\n\t username: _vm.currentUser.screen_name\n\t }\n\t }\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.mentions\")) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), _c('li', [_c('router-link', {\n\t attrs: {\n\t \"to\": \"/main/public\"\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.public_tl\")) + \"\\n \")])], 1), _vm._v(\" \"), _c('li', [_c('router-link', {\n\t attrs: {\n\t \"to\": \"/main/all\"\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.twkn\")) + \"\\n \")])], 1)])])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 526 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"who-to-follow-panel\"\n\t }, [_c('div', {\n\t staticClass: \"panel panel-default base01-background\"\n\t }, [_vm._m(0), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body who-to-follow\"\n\t }, [_c('p', [_c('img', {\n\t attrs: {\n\t \"src\": _vm.img1\n\t }\n\t }), _vm._v(\" \"), _c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.id1\n\t }\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.name1))]), _c('br'), _vm._v(\" \"), _c('img', {\n\t attrs: {\n\t \"src\": _vm.img2\n\t }\n\t }), _vm._v(\" \"), _c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.id2\n\t }\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.name2))]), _c('br'), _vm._v(\" \"), _c('img', {\n\t attrs: {\n\t \"src\": _vm.img3\n\t }\n\t }), _vm._v(\" \"), _c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.id3\n\t }\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.name3))]), _c('br'), _vm._v(\" \"), _c('img', {\n\t attrs: {\n\t \"src\": _vm.$store.state.config.logo\n\t }\n\t }), _vm._v(\" \"), _c('a', {\n\t attrs: {\n\t \"href\": _vm.moreUrl,\n\t \"target\": \"_blank\"\n\t }\n\t }, [_vm._v(\"More\")])], 1)])])])\n\t},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"panel-heading timeline-heading base02-background base04\"\n\t }, [_c('div', {\n\t staticClass: \"title\"\n\t }, [_vm._v(\"\\n Who to follow\\n \")])])\n\t}]}\n\n/***/ }),\n/* 527 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"user-panel\"\n\t }, [(_vm.user) ? _c('div', {\n\t staticClass: \"panel panel-default\",\n\t staticStyle: {\n\t \"overflow\": \"visible\"\n\t }\n\t }, [_c('user-card-content', {\n\t attrs: {\n\t \"user\": _vm.user,\n\t \"switcher\": false,\n\t \"hideBio\": true\n\t }\n\t }), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-footer\"\n\t }, [(_vm.user) ? _c('post-status-form') : _vm._e()], 1)], 1) : _vm._e(), _vm._v(\" \"), (!_vm.user) ? _c('login-form') : _vm._e()], 1)\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 528 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"card\"\n\t }, [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t }\n\t }, [_c('img', {\n\t staticClass: \"avatar\",\n\t attrs: {\n\t \"src\": _vm.user.profile_image_url\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleUserExpanded($event)\n\t }\n\t }\n\t })]), _vm._v(\" \"), (_vm.userExpanded) ? _c('div', {\n\t staticClass: \"usercard\"\n\t }, [_c('user-card-content', {\n\t attrs: {\n\t \"user\": _vm.user,\n\t \"switcher\": false\n\t }\n\t })], 1) : _c('div', {\n\t staticClass: \"name-and-screen-name\"\n\t }, [_c('div', {\n\t staticClass: \"user-name\",\n\t attrs: {\n\t \"title\": _vm.user.name\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.user.name) + \"\\n \"), (!_vm.userExpanded && _vm.showFollows && _vm.user.follows_you) ? _c('span', {\n\t staticClass: \"follows-you\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.follows_you')) + \"\\n \")]) : _vm._e()]), _vm._v(\" \"), _c('a', {\n\t attrs: {\n\t \"href\": _vm.user.statusnet_profile_url,\n\t \"target\": \"blank\"\n\t }\n\t }, [_c('div', {\n\t staticClass: \"user-screen-name\"\n\t }, [_vm._v(\"@\" + _vm._s(_vm.user.screen_name))])])])])\n\t},staticRenderFns: []}\n\n/***/ })\n]);\n\n\n// WEBPACK FOOTER //\n// static/js/app.029b23b3921537271958.js","import Vue from 'vue'\nimport VueRouter from 'vue-router'\nimport Vuex from 'vuex'\nimport App from './App.vue'\nimport PublicTimeline from './components/public_timeline/public_timeline.vue'\nimport PublicAndExternalTimeline from './components/public_and_external_timeline/public_and_external_timeline.vue'\nimport FriendsTimeline from './components/friends_timeline/friends_timeline.vue'\nimport TagTimeline from './components/tag_timeline/tag_timeline.vue'\nimport ConversationPage from './components/conversation-page/conversation-page.vue'\nimport Mentions from './components/mentions/mentions.vue'\nimport UserProfile from './components/user_profile/user_profile.vue'\nimport Settings from './components/settings/settings.vue'\nimport Registration from './components/registration/registration.vue'\nimport UserSettings from './components/user_settings/user_settings.vue'\n\nimport statusesModule from './modules/statuses.js'\nimport usersModule from './modules/users.js'\nimport apiModule from './modules/api.js'\nimport configModule from './modules/config.js'\nimport chatModule from './modules/chat.js'\n\nimport VueTimeago from 'vue-timeago'\nimport VueI18n from 'vue-i18n'\n\nimport createPersistedState from './lib/persisted_state.js'\n\nimport messages from './i18n/messages.js'\n\nimport VueChatScroll from 'vue-chat-scroll'\n\nconst currentLocale = (window.navigator.language || 'en').split('-')[0]\n\nVue.use(Vuex)\nVue.use(VueRouter)\nVue.use(VueTimeago, {\n locale: currentLocale === 'ja' ? 'ja' : 'en',\n locales: {\n 'en': require('../static/timeago-en.json'),\n 'ja': require('../static/timeago-ja.json')\n }\n})\nVue.use(VueI18n)\nVue.use(VueChatScroll)\n\nconst persistedStateOptions = {\n paths: [\n 'config.hideAttachments',\n 'config.hideAttachmentsInConv',\n 'config.hideNsfw',\n 'config.autoLoad',\n 'config.hoverPreview',\n 'config.streaming',\n 'config.muteWords',\n 'config.customTheme',\n 'users.lastLoginName'\n ]\n}\n\nconst store = new Vuex.Store({\n modules: {\n statuses: statusesModule,\n users: usersModule,\n api: apiModule,\n config: configModule,\n chat: chatModule\n },\n plugins: [createPersistedState(persistedStateOptions)],\n strict: false // Socket modifies itself, let's ignore this for now.\n // strict: process.env.NODE_ENV !== 'production'\n})\n\nconst i18n = new VueI18n({\n locale: currentLocale,\n fallbackLocale: 'en',\n messages\n})\n\nwindow.fetch('/api/statusnet/config.json')\n .then((res) => res.json())\n .then((data) => {\n const {name, closed: registrationClosed, textlimit} = data.site\n\n store.dispatch('setOption', { name: 'name', value: name })\n store.dispatch('setOption', { name: 'registrationOpen', value: (registrationClosed === '0') })\n store.dispatch('setOption', { name: 'textlimit', value: parseInt(textlimit) })\n })\n\nwindow.fetch('/static/config.json')\n .then((res) => res.json())\n .then((data) => {\n const {theme, background, logo, showWhoToFollowPanel, whoToFollowProvider, whoToFollowLink, showInstanceSpecificPanel} = data\n store.dispatch('setOption', { name: 'theme', value: theme })\n store.dispatch('setOption', { name: 'background', value: background })\n store.dispatch('setOption', { name: 'logo', value: logo })\n store.dispatch('setOption', { name: 'showWhoToFollowPanel', value: showWhoToFollowPanel })\n store.dispatch('setOption', { name: 'whoToFollowProvider', value: whoToFollowProvider })\n store.dispatch('setOption', { name: 'whoToFollowLink', value: whoToFollowLink })\n store.dispatch('setOption', { name: 'showInstanceSpecificPanel', value: showInstanceSpecificPanel })\n if (data['chatDisabled']) {\n store.dispatch('disableChat')\n }\n\n const routes = [\n { name: 'root',\n path: '/',\n redirect: to => {\n var redirectRootLogin = data['redirectRootLogin']\n var redirectRootNoLogin = data['redirectRootNoLogin']\n return (store.state.users.currentUser ? redirectRootLogin : redirectRootNoLogin) || '/main/all'\n }},\n { path: '/main/all', component: PublicAndExternalTimeline },\n { path: '/main/public', component: PublicTimeline },\n { path: '/main/friends', component: FriendsTimeline },\n { path: '/tag/:tag', component: TagTimeline },\n { name: 'conversation', path: '/notice/:id', component: ConversationPage, meta: { dontScroll: true } },\n { name: 'user-profile', path: '/users/:id', component: UserProfile },\n { name: 'mentions', path: '/:username/mentions', component: Mentions },\n { name: 'settings', path: '/settings', component: Settings },\n { name: 'registration', path: '/registration', component: Registration },\n { name: 'user-settings', path: '/user-settings', component: UserSettings }\n ]\n\n const router = new VueRouter({\n mode: 'history',\n routes,\n scrollBehavior: (to, from, savedPosition) => {\n if (to.matched.some(m => m.meta.dontScroll)) {\n return false\n }\n return savedPosition || { x: 0, y: 0 }\n }\n })\n\n /* eslint-disable no-new */\n new Vue({\n router,\n store,\n i18n,\n el: '#app',\n render: h => h(App)\n })\n })\n\nwindow.fetch('/static/terms-of-service.html')\n .then((res) => res.text())\n .then((html) => {\n store.dispatch('setOption', { name: 'tos', value: html })\n })\n\nwindow.fetch('/api/pleroma/emoji.json')\n .then(\n (res) => res.json()\n .then(\n (values) => {\n const emoji = Object.keys(values).map((key) => {\n return { shortcode: key, image_url: values[key] }\n })\n store.dispatch('setOption', { name: 'customEmoji', value: emoji })\n store.dispatch('setOption', { name: 'pleromaBackend', value: true })\n },\n (failure) => {\n store.dispatch('setOption', { name: 'pleromaBackend', value: false })\n }\n ),\n (error) => console.log(error)\n )\n\nwindow.fetch('/static/emoji.json')\n .then((res) => res.json())\n .then((values) => {\n const emoji = Object.keys(values).map((key) => {\n return { shortcode: key, image_url: false, 'utf': values[key] }\n })\n store.dispatch('setOption', { name: 'emoji', value: emoji })\n })\n\nwindow.fetch('/instance/panel.html')\n .then((res) => res.text())\n .then((html) => {\n store.dispatch('setOption', { name: 'instanceSpecificPanelContent', value: html })\n })\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-0652fc80\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./timeline.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./timeline.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-0652fc80\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./timeline.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/timeline/timeline.vue\n// module id = 28\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-05b840de\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./user_card_content.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./user_card_content.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-05b840de\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./user_card_content.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/user_card_content/user_card_content.vue\n// module id = 43\n// module chunks = 2","/* eslint-env browser */\nconst LOGIN_URL = '/api/account/verify_credentials.json'\nconst FRIENDS_TIMELINE_URL = '/api/statuses/friends_timeline.json'\nconst ALL_FOLLOWING_URL = '/api/qvitter/allfollowing'\nconst PUBLIC_TIMELINE_URL = '/api/statuses/public_timeline.json'\nconst PUBLIC_AND_EXTERNAL_TIMELINE_URL = '/api/statuses/public_and_external_timeline.json'\nconst TAG_TIMELINE_URL = '/api/statusnet/tags/timeline'\nconst FAVORITE_URL = '/api/favorites/create'\nconst UNFAVORITE_URL = '/api/favorites/destroy'\nconst RETWEET_URL = '/api/statuses/retweet'\nconst STATUS_UPDATE_URL = '/api/statuses/update.json'\nconst STATUS_DELETE_URL = '/api/statuses/destroy'\nconst STATUS_URL = '/api/statuses/show'\nconst MEDIA_UPLOAD_URL = '/api/statusnet/media/upload'\nconst CONVERSATION_URL = '/api/statusnet/conversation'\nconst MENTIONS_URL = '/api/statuses/mentions.json'\nconst FOLLOWERS_URL = '/api/statuses/followers.json'\nconst FRIENDS_URL = '/api/statuses/friends.json'\nconst FOLLOWING_URL = '/api/friendships/create.json'\nconst UNFOLLOWING_URL = '/api/friendships/destroy.json'\nconst QVITTER_USER_PREF_URL = '/api/qvitter/set_profile_pref.json'\nconst REGISTRATION_URL = '/api/account/register.json'\nconst AVATAR_UPDATE_URL = '/api/qvitter/update_avatar.json'\nconst BG_UPDATE_URL = '/api/qvitter/update_background_image.json'\nconst BANNER_UPDATE_URL = '/api/account/update_profile_banner.json'\nconst PROFILE_UPDATE_URL = '/api/account/update_profile.json'\nconst EXTERNAL_PROFILE_URL = '/api/externalprofile/show.json'\nconst QVITTER_USER_TIMELINE_URL = '/api/qvitter/statuses/user_timeline.json'\nconst BLOCKING_URL = '/api/blocks/create.json'\nconst UNBLOCKING_URL = '/api/blocks/destroy.json'\nconst USER_URL = '/api/users/show.json'\nconst FOLLOW_IMPORT_URL = '/api/pleroma/follow_import'\nconst DELETE_ACCOUNT_URL = '/api/pleroma/delete_account'\n\nimport { each, map } from 'lodash'\nimport 'whatwg-fetch'\n\nconst oldfetch = window.fetch\n\nlet fetch = (url, options) => {\n options = options || {}\n const baseUrl = ''\n const fullUrl = baseUrl + url\n options.credentials = 'same-origin'\n return oldfetch(fullUrl, options)\n}\n\n// from https://developer.mozilla.org/en-US/docs/Web/API/WindowBase64/Base64_encoding_and_decoding\nlet utoa = (str) => {\n // first we use encodeURIComponent to get percent-encoded UTF-8,\n // then we convert the percent encodings into raw bytes which\n // can be fed into btoa.\n return btoa(encodeURIComponent(str)\n .replace(/%([0-9A-F]{2})/g,\n (match, p1) => { return String.fromCharCode('0x' + p1) }))\n}\n\n// Params\n// cropH\n// cropW\n// cropX\n// cropY\n// img (base 64 encodend data url)\nconst updateAvatar = ({credentials, params}) => {\n let url = AVATAR_UPDATE_URL\n\n const form = new FormData()\n\n each(params, (value, key) => {\n if (value) {\n form.append(key, value)\n }\n })\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'POST',\n body: form\n }).then((data) => data.json())\n}\n\nconst updateBg = ({credentials, params}) => {\n let url = BG_UPDATE_URL\n\n const form = new FormData()\n\n each(params, (value, key) => {\n if (value) {\n form.append(key, value)\n }\n })\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'POST',\n body: form\n }).then((data) => data.json())\n}\n\n// Params\n// height\n// width\n// offset_left\n// offset_top\n// banner (base 64 encodend data url)\nconst updateBanner = ({credentials, params}) => {\n let url = BANNER_UPDATE_URL\n\n const form = new FormData()\n\n each(params, (value, key) => {\n if (value) {\n form.append(key, value)\n }\n })\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'POST',\n body: form\n }).then((data) => data.json())\n}\n\n// Params\n// name\n// url\n// location\n// description\nconst updateProfile = ({credentials, params}) => {\n let url = PROFILE_UPDATE_URL\n\n const form = new FormData()\n\n each(params, (value, key) => {\n if (key === 'description' || /* Always include description, because it might be empty */\n value) {\n form.append(key, value)\n }\n })\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'POST',\n body: form\n }).then((data) => data.json())\n}\n\n// Params needed:\n// nickname\n// email\n// fullname\n// password\n// password_confirm\n//\n// Optional\n// bio\n// homepage\n// location\nconst register = (params) => {\n const form = new FormData()\n\n each(params, (value, key) => {\n if (value) {\n form.append(key, value)\n }\n })\n\n return fetch(REGISTRATION_URL, {\n method: 'POST',\n body: form\n })\n}\n\nconst authHeaders = (user) => {\n if (user && user.username && user.password) {\n return { 'Authorization': `Basic ${utoa(`${user.username}:${user.password}`)}` }\n } else {\n return { }\n }\n}\n\nconst externalProfile = ({profileUrl, credentials}) => {\n let url = `${EXTERNAL_PROFILE_URL}?profileurl=${profileUrl}`\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'GET'\n }).then((data) => data.json())\n}\n\nconst followUser = ({id, credentials}) => {\n let url = `${FOLLOWING_URL}?user_id=${id}`\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'POST'\n }).then((data) => data.json())\n}\n\nconst unfollowUser = ({id, credentials}) => {\n let url = `${UNFOLLOWING_URL}?user_id=${id}`\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'POST'\n }).then((data) => data.json())\n}\n\nconst blockUser = ({id, credentials}) => {\n let url = `${BLOCKING_URL}?user_id=${id}`\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'POST'\n }).then((data) => data.json())\n}\n\nconst unblockUser = ({id, credentials}) => {\n let url = `${UNBLOCKING_URL}?user_id=${id}`\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'POST'\n }).then((data) => data.json())\n}\n\nconst fetchUser = ({id, credentials}) => {\n let url = `${USER_URL}?user_id=${id}`\n return fetch(url, { headers: authHeaders(credentials) })\n .then((data) => data.json())\n}\n\nconst fetchFriends = ({id, credentials}) => {\n let url = `${FRIENDS_URL}?user_id=${id}`\n return fetch(url, { headers: authHeaders(credentials) })\n .then((data) => data.json())\n}\n\nconst fetchFollowers = ({id, credentials}) => {\n let url = `${FOLLOWERS_URL}?user_id=${id}`\n return fetch(url, { headers: authHeaders(credentials) })\n .then((data) => data.json())\n}\n\nconst fetchAllFollowing = ({username, credentials}) => {\n const url = `${ALL_FOLLOWING_URL}/${username}.json`\n return fetch(url, { headers: authHeaders(credentials) })\n .then((data) => data.json())\n}\n\nconst fetchConversation = ({id, credentials}) => {\n let url = `${CONVERSATION_URL}/${id}.json?count=100`\n return fetch(url, { headers: authHeaders(credentials) })\n .then((data) => data.json())\n}\n\nconst fetchStatus = ({id, credentials}) => {\n let url = `${STATUS_URL}/${id}.json`\n return fetch(url, { headers: authHeaders(credentials) })\n .then((data) => data.json())\n}\n\nconst setUserMute = ({id, credentials, muted = true}) => {\n const form = new FormData()\n\n const muteInteger = muted ? 1 : 0\n\n form.append('namespace', 'qvitter')\n form.append('data', muteInteger)\n form.append('topic', `mute:${id}`)\n\n return fetch(QVITTER_USER_PREF_URL, {\n method: 'POST',\n headers: authHeaders(credentials),\n body: form\n })\n}\n\nconst fetchTimeline = ({timeline, credentials, since = false, until = false, userId = false, tag = false}) => {\n const timelineUrls = {\n public: PUBLIC_TIMELINE_URL,\n friends: FRIENDS_TIMELINE_URL,\n mentions: MENTIONS_URL,\n 'publicAndExternal': PUBLIC_AND_EXTERNAL_TIMELINE_URL,\n user: QVITTER_USER_TIMELINE_URL,\n tag: TAG_TIMELINE_URL\n }\n\n let url = timelineUrls[timeline]\n\n let params = []\n\n if (since) {\n params.push(['since_id', since])\n }\n if (until) {\n params.push(['max_id', until])\n }\n if (userId) {\n params.push(['user_id', userId])\n }\n if (tag) {\n url += `/${tag}.json`\n }\n\n params.push(['count', 20])\n\n const queryString = map(params, (param) => `${param[0]}=${param[1]}`).join('&')\n url += `?${queryString}`\n\n return fetch(url, { headers: authHeaders(credentials) }).then((data) => data.json())\n}\n\nconst verifyCredentials = (user) => {\n return fetch(LOGIN_URL, {\n method: 'POST',\n headers: authHeaders(user)\n })\n}\n\nconst favorite = ({ id, credentials }) => {\n return fetch(`${FAVORITE_URL}/${id}.json`, {\n headers: authHeaders(credentials),\n method: 'POST'\n })\n}\n\nconst unfavorite = ({ id, credentials }) => {\n return fetch(`${UNFAVORITE_URL}/${id}.json`, {\n headers: authHeaders(credentials),\n method: 'POST'\n })\n}\n\nconst retweet = ({ id, credentials }) => {\n return fetch(`${RETWEET_URL}/${id}.json`, {\n headers: authHeaders(credentials),\n method: 'POST'\n })\n}\n\nconst postStatus = ({credentials, status, mediaIds, inReplyToStatusId}) => {\n const idsText = mediaIds.join(',')\n const form = new FormData()\n\n form.append('status', status)\n form.append('source', 'Pleroma FE')\n form.append('media_ids', idsText)\n if (inReplyToStatusId) {\n form.append('in_reply_to_status_id', inReplyToStatusId)\n }\n\n return fetch(STATUS_UPDATE_URL, {\n body: form,\n method: 'POST',\n headers: authHeaders(credentials)\n })\n}\n\nconst deleteStatus = ({ id, credentials }) => {\n return fetch(`${STATUS_DELETE_URL}/${id}.json`, {\n headers: authHeaders(credentials),\n method: 'POST'\n })\n}\n\nconst uploadMedia = ({formData, credentials}) => {\n return fetch(MEDIA_UPLOAD_URL, {\n body: formData,\n method: 'POST',\n headers: authHeaders(credentials)\n })\n .then((response) => response.text())\n .then((text) => (new DOMParser()).parseFromString(text, 'application/xml'))\n}\n\nconst followImport = ({params, credentials}) => {\n return fetch(FOLLOW_IMPORT_URL, {\n body: params,\n method: 'POST',\n headers: authHeaders(credentials)\n })\n .then((response) => response.ok)\n}\n\nconst deleteAccount = ({credentials, password}) => {\n const form = new FormData()\n\n form.append('password', password)\n\n return fetch(DELETE_ACCOUNT_URL, {\n body: form,\n method: 'POST',\n headers: authHeaders(credentials)\n })\n .then((response) => response.json())\n}\n\nconst fetchMutes = ({credentials}) => {\n const url = '/api/qvitter/mutes.json'\n\n return fetch(url, {\n headers: authHeaders(credentials)\n }).then((data) => data.json())\n}\n\nconst apiService = {\n verifyCredentials,\n fetchTimeline,\n fetchConversation,\n fetchStatus,\n fetchFriends,\n fetchFollowers,\n followUser,\n unfollowUser,\n blockUser,\n unblockUser,\n fetchUser,\n favorite,\n unfavorite,\n retweet,\n postStatus,\n deleteStatus,\n uploadMedia,\n fetchAllFollowing,\n setUserMute,\n fetchMutes,\n register,\n updateAvatar,\n updateBg,\n updateProfile,\n updateBanner,\n externalProfile,\n followImport,\n deleteAccount\n}\n\nexport default apiService\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/api/api.service.js","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-769e38a0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./status.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./status.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-769e38a0\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./status.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/status/status.vue\n// module id = 64\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-6ecb31e4\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./still-image.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./still-image.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-6ecb31e4\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./still-image.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/still-image/still-image.vue\n// module id = 65\n// module chunks = 2","import { map } from 'lodash'\n\nconst rgb2hex = (r, g, b) => {\n [r, g, b] = map([r, g, b], (val) => {\n val = Math.ceil(val)\n val = val < 0 ? 0 : val\n val = val > 255 ? 255 : val\n return val\n })\n return `#${((1 << 24) + (r << 16) + (g << 8) + b).toString(16).slice(1)}`\n}\n\nconst hex2rgb = (hex) => {\n const result = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex)\n return result ? {\n r: parseInt(result[1], 16),\n g: parseInt(result[2], 16),\n b: parseInt(result[3], 16)\n } : null\n}\n\nconst rgbstr2hex = (rgb) => {\n if (rgb[0] === '#') {\n return rgb\n }\n rgb = rgb.match(/\\d+/g)\n return `#${((Number(rgb[0]) << 16) + (Number(rgb[1]) << 8) + Number(rgb[2])).toString(16)}`\n}\n\nexport {\n rgb2hex,\n hex2rgb,\n rgbstr2hex\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/color_convert/color_convert.js","import { includes, remove, slice, sortBy, toInteger, each, find, flatten, maxBy, minBy, merge, last, isArray } from 'lodash'\nimport apiService from '../services/api/api.service.js'\n// import parse from '../services/status_parser/status_parser.js'\n\nconst emptyTl = () => ({\n statuses: [],\n statusesObject: {},\n faves: [],\n visibleStatuses: [],\n visibleStatusesObject: {},\n newStatusCount: 0,\n maxId: 0,\n minVisibleId: 0,\n loading: false,\n followers: [],\n friends: [],\n viewing: 'statuses',\n flushMarker: 0\n})\n\nexport const defaultState = {\n allStatuses: [],\n allStatusesObject: {},\n maxId: 0,\n notifications: [],\n favorites: new Set(),\n error: false,\n timelines: {\n mentions: emptyTl(),\n public: emptyTl(),\n user: emptyTl(),\n publicAndExternal: emptyTl(),\n friends: emptyTl(),\n tag: emptyTl()\n }\n}\n\nconst isNsfw = (status) => {\n const nsfwRegex = /#nsfw/i\n return includes(status.tags, 'nsfw') || !!status.text.match(nsfwRegex)\n}\n\nexport const prepareStatus = (status) => {\n // Parse nsfw tags\n if (status.nsfw === undefined) {\n status.nsfw = isNsfw(status)\n if (status.retweeted_status) {\n status.nsfw = status.retweeted_status.nsfw\n }\n }\n\n // Set deleted flag\n status.deleted = false\n\n // To make the array reactive\n status.attachments = status.attachments || []\n\n return status\n}\n\nexport const statusType = (status) => {\n if (status.is_post_verb) {\n return 'status'\n }\n\n if (status.retweeted_status) {\n return 'retweet'\n }\n\n if ((typeof status.uri === 'string' && status.uri.match(/(fave|objectType=Favourite)/)) ||\n (typeof status.text === 'string' && status.text.match(/favorited/))) {\n return 'favorite'\n }\n\n if (status.text.match(/deleted notice {{tag/) || status.qvitter_delete_notice) {\n return 'deletion'\n }\n\n // TODO change to status.activity_type === 'follow' when gs supports it\n if (status.text.match(/started following/)) {\n return 'follow'\n }\n\n return 'unknown'\n}\n\nexport const findMaxId = (...args) => {\n return (maxBy(flatten(args), 'id') || {}).id\n}\n\nconst mergeOrAdd = (arr, obj, item) => {\n const oldItem = obj[item.id]\n\n if (oldItem) {\n // We already have this, so only merge the new info.\n merge(oldItem, item)\n // Reactivity fix.\n oldItem.attachments.splice(oldItem.attachments.length)\n return {item: oldItem, new: false}\n } else {\n // This is a new item, prepare it\n prepareStatus(item)\n arr.push(item)\n obj[item.id] = item\n return {item, new: true}\n }\n}\n\nconst sortTimeline = (timeline) => {\n timeline.visibleStatuses = sortBy(timeline.visibleStatuses, ({id}) => -id)\n timeline.statuses = sortBy(timeline.statuses, ({id}) => -id)\n timeline.minVisibleId = (last(timeline.visibleStatuses) || {}).id\n return timeline\n}\n\nconst addNewStatuses = (state, { statuses, showImmediately = false, timeline, user = {}, noIdUpdate = false }) => {\n // Sanity check\n if (!isArray(statuses)) {\n return false\n }\n\n const allStatuses = state.allStatuses\n const allStatusesObject = state.allStatusesObject\n const timelineObject = state.timelines[timeline]\n\n const maxNew = statuses.length > 0 ? maxBy(statuses, 'id').id : 0\n const older = timeline && maxNew < timelineObject.maxId\n\n if (timeline && !noIdUpdate && statuses.length > 0 && !older) {\n timelineObject.maxId = maxNew\n }\n\n const addStatus = (status, showImmediately, addToTimeline = true) => {\n const result = mergeOrAdd(allStatuses, allStatusesObject, status)\n status = result.item\n\n if (result.new) {\n if (statusType(status) === 'retweet' && status.retweeted_status.user.id === user.id) {\n addNotification({ type: 'repeat', status: status, action: status })\n }\n\n // We are mentioned in a post\n if (statusType(status) === 'status' && find(status.attentions, { id: user.id })) {\n const mentions = state.timelines.mentions\n\n // Add the mention to the mentions timeline\n if (timelineObject !== mentions) {\n mergeOrAdd(mentions.statuses, mentions.statusesObject, status)\n mentions.newStatusCount += 1\n\n sortTimeline(mentions)\n }\n // Don't add notification for self-mention\n if (status.user.id !== user.id) {\n addNotification({ type: 'mention', status, action: status })\n }\n }\n }\n\n // Decide if we should treat the status as new for this timeline.\n let resultForCurrentTimeline\n // Some statuses should only be added to the global status repository.\n if (timeline && addToTimeline) {\n resultForCurrentTimeline = mergeOrAdd(timelineObject.statuses, timelineObject.statusesObject, status)\n }\n\n if (timeline && showImmediately) {\n // Add it directly to the visibleStatuses, don't change\n // newStatusCount\n mergeOrAdd(timelineObject.visibleStatuses, timelineObject.visibleStatusesObject, status)\n } else if (timeline && addToTimeline && resultForCurrentTimeline.new) {\n // Just change newStatuscount\n timelineObject.newStatusCount += 1\n }\n\n return status\n }\n\n const addNotification = ({type, status, action}) => {\n // Only add a new notification if we don't have one for the same action\n if (!find(state.notifications, (oldNotification) => oldNotification.action.id === action.id)) {\n state.notifications.push({ type, status, action, seen: false })\n\n if ('Notification' in window && window.Notification.permission === 'granted') {\n const title = action.user.name\n const result = {}\n result.icon = action.user.profile_image_url\n result.body = action.text // there's a problem that it doesn't put a space before links tho\n\n // Shows first attached non-nsfw image, if any. Should add configuration for this somehow...\n if (action.attachments && action.attachments.length > 0 && !action.nsfw &&\n action.attachments[0].mimetype.startsWith('image/')) {\n result.image = action.attachments[0].url\n }\n\n let notification = new window.Notification(title, result)\n\n // Chrome is known for not closing notifications automatically\n // according to MDN, anyway.\n setTimeout(notification.close.bind(notification), 5000)\n }\n }\n }\n\n const favoriteStatus = (favorite) => {\n const status = find(allStatuses, { id: toInteger(favorite.in_reply_to_status_id) })\n if (status) {\n status.fave_num += 1\n\n // This is our favorite, so the relevant bit.\n if (favorite.user.id === user.id) {\n status.favorited = true\n }\n\n // Add a notification if the user's status is favorited\n if (status.user.id === user.id) {\n addNotification({type: 'favorite', status, action: favorite})\n }\n }\n return status\n }\n\n const processors = {\n 'status': (status) => {\n addStatus(status, showImmediately)\n },\n 'retweet': (status) => {\n // RetweetedStatuses are never shown immediately\n const retweetedStatus = addStatus(status.retweeted_status, false, false)\n\n let retweet\n // If the retweeted status is already there, don't add the retweet\n // to the timeline.\n if (timeline && find(timelineObject.statuses, (s) => {\n if (s.retweeted_status) {\n return s.id === retweetedStatus.id || s.retweeted_status.id === retweetedStatus.id\n } else {\n return s.id === retweetedStatus.id\n }\n })) {\n // Already have it visible (either as the original or another RT), don't add to timeline, don't show.\n retweet = addStatus(status, false, false)\n } else {\n retweet = addStatus(status, showImmediately)\n }\n\n retweet.retweeted_status = retweetedStatus\n },\n 'favorite': (favorite) => {\n // Only update if this is a new favorite.\n if (!state.favorites.has(favorite.id)) {\n state.favorites.add(favorite.id)\n favoriteStatus(favorite)\n }\n },\n 'follow': (status) => {\n let re = new RegExp(`started following ${user.name} \\\\(${user.statusnet_profile_url}\\\\)`)\n let repleroma = new RegExp(`started following ${user.screen_name}$`)\n if (status.text.match(re) || status.text.match(repleroma)) {\n addNotification({ type: 'follow', status: status, action: status })\n }\n },\n 'deletion': (deletion) => {\n const uri = deletion.uri\n\n // Remove possible notification\n const status = find(allStatuses, {uri})\n if (!status) {\n return\n }\n\n remove(state.notifications, ({action: {id}}) => id === status.id)\n\n remove(allStatuses, { uri })\n if (timeline) {\n remove(timelineObject.statuses, { uri })\n remove(timelineObject.visibleStatuses, { uri })\n }\n },\n 'default': (unknown) => {\n console.log('unknown status type')\n console.log(unknown)\n }\n }\n\n each(statuses, (status) => {\n const type = statusType(status)\n const processor = processors[type] || processors['default']\n processor(status)\n })\n\n // Keep the visible statuses sorted\n if (timeline) {\n sortTimeline(timelineObject)\n if ((older || timelineObject.minVisibleId <= 0) && statuses.length > 0) {\n timelineObject.minVisibleId = minBy(statuses, 'id').id\n }\n }\n}\n\nexport const mutations = {\n addNewStatuses,\n showNewStatuses (state, { timeline }) {\n const oldTimeline = (state.timelines[timeline])\n\n oldTimeline.newStatusCount = 0\n oldTimeline.visibleStatuses = slice(oldTimeline.statuses, 0, 50)\n oldTimeline.minVisibleId = last(oldTimeline.visibleStatuses).id\n oldTimeline.visibleStatusesObject = {}\n each(oldTimeline.visibleStatuses, (status) => { oldTimeline.visibleStatusesObject[status.id] = status })\n },\n clearTimeline (state, { timeline }) {\n state.timelines[timeline] = emptyTl()\n },\n setFavorited (state, { status, value }) {\n const newStatus = state.allStatusesObject[status.id]\n newStatus.favorited = value\n },\n setRetweeted (state, { status, value }) {\n const newStatus = state.allStatusesObject[status.id]\n newStatus.repeated = value\n },\n setDeleted (state, { status }) {\n const newStatus = state.allStatusesObject[status.id]\n newStatus.deleted = true\n },\n setLoading (state, { timeline, value }) {\n state.timelines[timeline].loading = value\n },\n setNsfw (state, { id, nsfw }) {\n const newStatus = state.allStatusesObject[id]\n newStatus.nsfw = nsfw\n },\n setError (state, { value }) {\n state.error = value\n },\n setProfileView (state, { v }) {\n // load followers / friends only when needed\n state.timelines['user'].viewing = v\n },\n addFriends (state, { friends }) {\n state.timelines['user'].friends = friends\n },\n addFollowers (state, { followers }) {\n state.timelines['user'].followers = followers\n },\n markNotificationsAsSeen (state, notifications) {\n each(notifications, (notification) => {\n notification.seen = true\n })\n },\n queueFlush (state, { timeline, id }) {\n state.timelines[timeline].flushMarker = id\n }\n}\n\nconst statuses = {\n state: defaultState,\n actions: {\n addNewStatuses ({ rootState, commit }, { statuses, showImmediately = false, timeline = false, noIdUpdate = false }) {\n commit('addNewStatuses', { statuses, showImmediately, timeline, noIdUpdate, user: rootState.users.currentUser })\n },\n setError ({ rootState, commit }, { value }) {\n commit('setError', { value })\n },\n addFriends ({ rootState, commit }, { friends }) {\n commit('addFriends', { friends })\n },\n addFollowers ({ rootState, commit }, { followers }) {\n commit('addFollowers', { followers })\n },\n deleteStatus ({ rootState, commit }, status) {\n commit('setDeleted', { status })\n apiService.deleteStatus({ id: status.id, credentials: rootState.users.currentUser.credentials })\n },\n favorite ({ rootState, commit }, status) {\n // Optimistic favoriting...\n commit('setFavorited', { status, value: true })\n apiService.favorite({ id: status.id, credentials: rootState.users.currentUser.credentials })\n },\n unfavorite ({ rootState, commit }, status) {\n // Optimistic favoriting...\n commit('setFavorited', { status, value: false })\n apiService.unfavorite({ id: status.id, credentials: rootState.users.currentUser.credentials })\n },\n retweet ({ rootState, commit }, status) {\n // Optimistic retweeting...\n commit('setRetweeted', { status, value: true })\n apiService.retweet({ id: status.id, credentials: rootState.users.currentUser.credentials })\n },\n queueFlush ({ rootState, commit }, { timeline, id }) {\n commit('queueFlush', { timeline, id })\n }\n },\n mutations\n}\n\nexport default statuses\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/statuses.js","import apiService from '../api/api.service.js'\nimport timelineFetcherService from '../timeline_fetcher/timeline_fetcher.service.js'\n\nconst backendInteractorService = (credentials) => {\n const fetchStatus = ({id}) => {\n return apiService.fetchStatus({id, credentials})\n }\n\n const fetchConversation = ({id}) => {\n return apiService.fetchConversation({id, credentials})\n }\n\n const fetchFriends = ({id}) => {\n return apiService.fetchFriends({id, credentials})\n }\n\n const fetchFollowers = ({id}) => {\n return apiService.fetchFollowers({id, credentials})\n }\n\n const fetchAllFollowing = ({username}) => {\n return apiService.fetchAllFollowing({username, credentials})\n }\n\n const fetchUser = ({id}) => {\n return apiService.fetchUser({id, credentials})\n }\n\n const followUser = (id) => {\n return apiService.followUser({credentials, id})\n }\n\n const unfollowUser = (id) => {\n return apiService.unfollowUser({credentials, id})\n }\n\n const blockUser = (id) => {\n return apiService.blockUser({credentials, id})\n }\n\n const unblockUser = (id) => {\n return apiService.unblockUser({credentials, id})\n }\n\n const startFetching = ({timeline, store, userId = false}) => {\n return timelineFetcherService.startFetching({timeline, store, credentials, userId})\n }\n\n const setUserMute = ({id, muted = true}) => {\n return apiService.setUserMute({id, muted, credentials})\n }\n\n const fetchMutes = () => apiService.fetchMutes({credentials})\n\n const register = (params) => apiService.register(params)\n const updateAvatar = ({params}) => apiService.updateAvatar({credentials, params})\n const updateBg = ({params}) => apiService.updateBg({credentials, params})\n const updateBanner = ({params}) => apiService.updateBanner({credentials, params})\n const updateProfile = ({params}) => apiService.updateProfile({credentials, params})\n\n const externalProfile = (profileUrl) => apiService.externalProfile({profileUrl, credentials})\n const followImport = ({params}) => apiService.followImport({params, credentials})\n\n const deleteAccount = ({password}) => apiService.deleteAccount({credentials, password})\n\n const backendInteractorServiceInstance = {\n fetchStatus,\n fetchConversation,\n fetchFriends,\n fetchFollowers,\n followUser,\n unfollowUser,\n blockUser,\n unblockUser,\n fetchUser,\n fetchAllFollowing,\n verifyCredentials: apiService.verifyCredentials,\n startFetching,\n setUserMute,\n fetchMutes,\n register,\n updateAvatar,\n updateBg,\n updateBanner,\n updateProfile,\n externalProfile,\n followImport,\n deleteAccount\n }\n\n return backendInteractorServiceInstance\n}\n\nexport default backendInteractorService\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/backend_interactor_service/backend_interactor_service.js","const fileType = (typeString) => {\n let type = 'unknown'\n\n if (typeString.match(/text\\/html/)) {\n type = 'html'\n }\n\n if (typeString.match(/image/)) {\n type = 'image'\n }\n\n if (typeString.match(/video\\/(webm|mp4)/)) {\n type = 'video'\n }\n\n if (typeString.match(/audio|ogg/)) {\n type = 'audio'\n }\n\n return type\n}\n\nconst fileTypeService = {\n fileType\n}\n\nexport default fileTypeService\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/file_type/file_type.service.js","import { map } from 'lodash'\nimport apiService from '../api/api.service.js'\n\nconst postStatus = ({ store, status, media = [], inReplyToStatusId = undefined }) => {\n const mediaIds = map(media, 'id')\n\n return apiService.postStatus({credentials: store.state.users.currentUser.credentials, status, mediaIds, inReplyToStatusId})\n .then((data) => data.json())\n .then((data) => {\n if (!data.error) {\n store.dispatch('addNewStatuses', {\n statuses: [data],\n timeline: 'friends',\n showImmediately: true,\n noIdUpdate: true // To prevent missing notices on next pull.\n })\n }\n return data\n })\n .catch((err) => {\n return {\n error: err.message\n }\n })\n}\n\nconst uploadMedia = ({ store, formData }) => {\n const credentials = store.state.users.currentUser.credentials\n\n return apiService.uploadMedia({ credentials, formData }).then((xml) => {\n // Firefox and Chrome treat method differently...\n let link = xml.getElementsByTagName('link')\n\n if (link.length === 0) {\n link = xml.getElementsByTagName('atom:link')\n }\n\n link = link[0]\n\n const mediaData = {\n id: xml.getElementsByTagName('media_id')[0].textContent,\n url: xml.getElementsByTagName('media_url')[0].textContent,\n image: link.getAttribute('href'),\n mimetype: link.getAttribute('type')\n }\n\n return mediaData\n })\n}\n\nconst statusPosterService = {\n postStatus,\n uploadMedia\n}\n\nexport default statusPosterService\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/status_poster/status_poster.service.js","import { camelCase } from 'lodash'\n\nimport apiService from '../api/api.service.js'\n\nconst update = ({store, statuses, timeline, showImmediately}) => {\n const ccTimeline = camelCase(timeline)\n\n store.dispatch('setError', { value: false })\n\n store.dispatch('addNewStatuses', {\n timeline: ccTimeline,\n statuses,\n showImmediately\n })\n}\n\nconst fetchAndUpdate = ({store, credentials, timeline = 'friends', older = false, showImmediately = false, userId = false, tag = false}) => {\n const args = { timeline, credentials }\n const rootState = store.rootState || store.state\n const timelineData = rootState.statuses.timelines[camelCase(timeline)]\n\n if (older) {\n args['until'] = timelineData.minVisibleId\n } else {\n args['since'] = timelineData.maxId\n }\n\n args['userId'] = userId\n args['tag'] = tag\n\n return apiService.fetchTimeline(args)\n .then((statuses) => {\n if (!older && statuses.length >= 20 && !timelineData.loading) {\n store.dispatch('queueFlush', { timeline: timeline, id: timelineData.maxId })\n }\n update({store, statuses, timeline, showImmediately})\n }, () => store.dispatch('setError', { value: true }))\n}\n\nconst startFetching = ({timeline = 'friends', credentials, store, userId = false, tag = false}) => {\n const rootState = store.rootState || store.state\n const timelineData = rootState.statuses.timelines[camelCase(timeline)]\n const showImmediately = timelineData.visibleStatuses.length === 0\n fetchAndUpdate({timeline, credentials, store, showImmediately, userId, tag})\n const boundFetchAndUpdate = () => fetchAndUpdate({ timeline, credentials, store, userId, tag })\n return setInterval(boundFetchAndUpdate, 10000)\n}\nconst timelineFetcher = {\n fetchAndUpdate,\n startFetching\n}\n\nexport default timelineFetcher\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/timeline_fetcher/timeline_fetcher.service.js","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./conversation.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-12838600\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./conversation.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/conversation/conversation.vue\n// module id = 165\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-11ada5e0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./post_status_form.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./post_status_form.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-11ada5e0\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./post_status_form.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/post_status_form/post_status_form.vue\n// module id = 166\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-ae8f5000\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./style_switcher.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./style_switcher.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-ae8f5000\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./style_switcher.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/style_switcher/style_switcher.vue\n// module id = 167\n// module chunks = 2","const de = {\n chat: {\n title: 'Chat'\n },\n nav: {\n chat: 'Lokaler Chat',\n timeline: 'Zeitleiste',\n mentions: 'Erwähnungen',\n public_tl: 'Lokale Zeitleiste',\n twkn: 'Das gesamte Netzwerk'\n },\n user_card: {\n follows_you: 'Folgt dir!',\n following: 'Folgst du!',\n follow: 'Folgen',\n blocked: 'Blockiert!',\n block: 'Blockieren',\n statuses: 'Beiträge',\n mute: 'Stummschalten',\n muted: 'Stummgeschaltet',\n followers: 'Folgende',\n followees: 'Folgt',\n per_day: 'pro Tag',\n remote_follow: 'Remote Follow'\n },\n timeline: {\n show_new: 'Zeige Neuere',\n error_fetching: 'Fehler beim Laden',\n up_to_date: 'Aktuell',\n load_older: 'Lade ältere Beiträge',\n conversation: 'Unterhaltung',\n collapse: 'Einklappen',\n repeated: 'wiederholte'\n },\n settings: {\n user_settings: 'Benutzereinstellungen',\n name_bio: 'Name & Bio',\n name: 'Name',\n bio: 'Bio',\n avatar: 'Avatar',\n current_avatar: 'Dein derzeitiger Avatar',\n set_new_avatar: 'Setze neuen Avatar',\n profile_banner: 'Profil Banner',\n current_profile_banner: 'Dein derzeitiger Profil Banner',\n set_new_profile_banner: 'Setze neuen Profil Banner',\n profile_background: 'Profil Hintergrund',\n set_new_profile_background: 'Setze neuen Profil Hintergrund',\n settings: 'Einstellungen',\n theme: 'Farbschema',\n presets: 'Voreinstellungen',\n theme_help: 'Benutze HTML Farbcodes (#rrggbb) um dein Farbschema anzupassen.',\n background: 'Hintergrund',\n foreground: 'Vordergrund',\n text: 'Text',\n links: 'Links',\n cBlue: 'Blau (Antworten, Folgt dir)',\n cRed: 'Rot (Abbrechen)',\n cOrange: 'Orange (Favorisieren)',\n cGreen: 'Grün (Retweet)',\n btnRadius: 'Buttons',\n panelRadius: 'Panel',\n avatarRadius: 'Avatare',\n avatarAltRadius: 'Avatare (Benachrichtigungen)',\n tooltipRadius: 'Tooltips/Warnungen',\n attachmentRadius: 'Anhänge',\n filtering: 'Filter',\n filtering_explanation: 'Alle Beiträge die diese Wörter enthalten werden ausgeblendet. Ein Wort pro Zeile.',\n attachments: 'Anhänge',\n hide_attachments_in_tl: 'Anhänge in der Zeitleiste ausblenden',\n hide_attachments_in_convo: 'Anhänge in Unterhaltungen ausblenden',\n nsfw_clickthrough: 'Aktiviere ausblendbares Overlay für Anhänge, die als NSFW markiert sind',\n stop_gifs: 'Play-on-hover GIFs',\n autoload: 'Aktiviere automatisches Laden von älteren Beiträgen beim scrollen',\n streaming: 'Aktiviere automatisches Laden (Streaming) von neuen Beiträgen',\n reply_link_preview: 'Aktiviere reply-link Vorschau bei Maus-Hover',\n follow_import: 'Folgeliste importieren',\n import_followers_from_a_csv_file: 'Importiere Kontakte, denen du folgen möchtest, aus einer CSV-Datei',\n follows_imported: 'Folgeliste importiert! Die Bearbeitung kann eine Zeit lang dauern.',\n follow_import_error: 'Fehler beim importieren der Folgeliste'\n },\n notifications: {\n notifications: 'Benachrichtigungen',\n read: 'Gelesen!',\n followed_you: 'folgt dir',\n favorited_you: 'favorisierte deine Nachricht',\n repeated_you: 'wiederholte deine Nachricht'\n },\n login: {\n login: 'Anmelden',\n username: 'Benutzername',\n password: 'Passwort',\n register: 'Registrieren',\n logout: 'Abmelden'\n },\n registration: {\n registration: 'Registrierung',\n fullname: 'Angezeigter Name',\n email: 'Email',\n bio: 'Bio',\n password_confirm: 'Passwort bestätigen'\n },\n post_status: {\n posting: 'Veröffentlichen',\n default: 'Sitze gerade im Hofbräuhaus.'\n },\n finder: {\n find_user: 'Finde Benutzer',\n error_fetching_user: 'Fehler beim Suchen des Benutzers'\n },\n general: {\n submit: 'Absenden',\n apply: 'Anwenden'\n },\n user_profile: {\n timeline_title: 'Beiträge'\n }\n}\n\nconst fi = {\n nav: {\n timeline: 'Aikajana',\n mentions: 'Maininnat',\n public_tl: 'Julkinen Aikajana',\n twkn: 'Koko Tunnettu Verkosto'\n },\n user_card: {\n follows_you: 'Seuraa sinua!',\n following: 'Seuraat!',\n follow: 'Seuraa',\n statuses: 'Viestit',\n mute: 'Hiljennä',\n muted: 'Hiljennetty',\n followers: 'Seuraajat',\n followees: 'Seuraa',\n per_day: 'päivässä'\n },\n timeline: {\n show_new: 'Näytä uudet',\n error_fetching: 'Virhe ladatessa viestejä',\n up_to_date: 'Ajantasalla',\n load_older: 'Lataa vanhempia viestejä',\n conversation: 'Keskustelu',\n collapse: 'Sulje',\n repeated: 'toisti'\n },\n settings: {\n user_settings: 'Käyttäjän asetukset',\n name_bio: 'Nimi ja kuvaus',\n name: 'Nimi',\n bio: 'Kuvaus',\n avatar: 'Profiilikuva',\n current_avatar: 'Nykyinen profiilikuvasi',\n set_new_avatar: 'Aseta uusi profiilikuva',\n profile_banner: 'Juliste',\n current_profile_banner: 'Nykyinen julisteesi',\n set_new_profile_banner: 'Aseta uusi juliste',\n profile_background: 'Taustakuva',\n set_new_profile_background: 'Aseta uusi taustakuva',\n settings: 'Asetukset',\n theme: 'Teema',\n presets: 'Valmiit teemat',\n theme_help: 'Käytä heksadesimaalivärejä muokataksesi väriteemaasi.',\n background: 'Tausta',\n foreground: 'Korostus',\n text: 'Teksti',\n links: 'Linkit',\n filtering: 'Suodatus',\n filtering_explanation: 'Kaikki viestit, jotka sisältävät näitä sanoja, suodatetaan. Yksi sana per rivi.',\n attachments: 'Liitteet',\n hide_attachments_in_tl: 'Piilota liitteet aikajanalla',\n hide_attachments_in_convo: 'Piilota liitteet keskusteluissa',\n nsfw_clickthrough: 'Piilota NSFW liitteet klikkauksen taakse.',\n autoload: 'Lataa vanhempia viestejä automaattisesti ruudun pohjalla',\n streaming: 'Näytä uudet viestit automaattisesti ollessasi ruudun huipulla',\n reply_link_preview: 'Keskusteluiden vastauslinkkien esikatselu'\n },\n notifications: {\n notifications: 'Ilmoitukset',\n read: 'Lue!',\n followed_you: 'seuraa sinua',\n favorited_you: 'tykkäsi viestistäsi',\n repeated_you: 'toisti viestisi'\n },\n login: {\n login: 'Kirjaudu sisään',\n username: 'Käyttäjänimi',\n password: 'Salasana',\n register: 'Rekisteröidy',\n logout: 'Kirjaudu ulos'\n },\n registration: {\n registration: 'Rekisteröityminen',\n fullname: 'Koko nimi',\n email: 'Sähköposti',\n bio: 'Kuvaus',\n password_confirm: 'Salasanan vahvistaminen'\n },\n post_status: {\n posting: 'Lähetetään',\n default: 'Tulin juuri saunasta.'\n },\n finder: {\n find_user: 'Hae käyttäjä',\n error_fetching_user: 'Virhe hakiessa käyttäjää'\n },\n general: {\n submit: 'Lähetä',\n apply: 'Aseta'\n }\n}\n\nconst en = {\n chat: {\n title: 'Chat'\n },\n nav: {\n chat: 'Local Chat',\n timeline: 'Timeline',\n mentions: 'Mentions',\n public_tl: 'Public Timeline',\n twkn: 'The Whole Known Network'\n },\n user_card: {\n follows_you: 'Follows you!',\n following: 'Following!',\n follow: 'Follow',\n blocked: 'Blocked!',\n block: 'Block',\n statuses: 'Statuses',\n mute: 'Mute',\n muted: 'Muted',\n followers: 'Followers',\n followees: 'Following',\n per_day: 'per day',\n remote_follow: 'Remote follow'\n },\n timeline: {\n show_new: 'Show new',\n error_fetching: 'Error fetching updates',\n up_to_date: 'Up-to-date',\n load_older: 'Load older statuses',\n conversation: 'Conversation',\n collapse: 'Collapse',\n repeated: 'repeated'\n },\n settings: {\n user_settings: 'User Settings',\n name_bio: 'Name & Bio',\n name: 'Name',\n bio: 'Bio',\n avatar: 'Avatar',\n current_avatar: 'Your current avatar',\n set_new_avatar: 'Set new avatar',\n profile_banner: 'Profile Banner',\n current_profile_banner: 'Your current profile banner',\n set_new_profile_banner: 'Set new profile banner',\n profile_background: 'Profile Background',\n set_new_profile_background: 'Set new profile background',\n settings: 'Settings',\n theme: 'Theme',\n presets: 'Presets',\n theme_help: 'Use hex color codes (#rrggbb) to customize your color theme.',\n radii_help: 'Set up interface edge rounding (in pixels)',\n background: 'Background',\n foreground: 'Foreground',\n text: 'Text',\n links: 'Links',\n cBlue: 'Blue (Reply, follow)',\n cRed: 'Red (Cancel)',\n cOrange: 'Orange (Favorite)',\n cGreen: 'Green (Retweet)',\n btnRadius: 'Buttons',\n inputRadius: 'Input fields',\n panelRadius: 'Panels',\n avatarRadius: 'Avatars',\n avatarAltRadius: 'Avatars (Notifications)',\n tooltipRadius: 'Tooltips/alerts',\n attachmentRadius: 'Attachments',\n filtering: 'Filtering',\n filtering_explanation: 'All statuses containing these words will be muted, one per line',\n attachments: 'Attachments',\n hide_attachments_in_tl: 'Hide attachments in timeline',\n hide_attachments_in_convo: 'Hide attachments in conversations',\n nsfw_clickthrough: 'Enable clickthrough NSFW attachment hiding',\n stop_gifs: 'Play-on-hover GIFs',\n autoload: 'Enable automatic loading when scrolled to the bottom',\n streaming: 'Enable automatic streaming of new posts when scrolled to the top',\n reply_link_preview: 'Enable reply-link preview on mouse hover',\n follow_import: 'Follow import',\n import_followers_from_a_csv_file: 'Import follows from a csv file',\n follows_imported: 'Follows imported! Processing them will take a while.',\n follow_import_error: 'Error importing followers',\n delete_account: 'Delete Account',\n delete_account_description: 'Permanantly delete your account and all your messages.',\n delete_account_instructions: 'Type your password in the input below to confirm account deletion.',\n delete_account_error: 'There was an issue deleting your account. If this persists please contact your instance administrator.',\n follow_export: 'Follow export',\n follow_export_processing: 'Processing, you\\'ll soon be asked to download your file',\n follow_export_button: 'Export your follows to a csv file'\n },\n notifications: {\n notifications: 'Notifications',\n read: 'Read!',\n followed_you: 'followed you',\n favorited_you: 'favorited your status',\n repeated_you: 'repeated your status'\n },\n login: {\n login: 'Log in',\n username: 'Username',\n password: 'Password',\n register: 'Register',\n logout: 'Log out'\n },\n registration: {\n registration: 'Registration',\n fullname: 'Display name',\n email: 'Email',\n bio: 'Bio',\n password_confirm: 'Password confirmation'\n },\n post_status: {\n posting: 'Posting',\n default: 'Just landed in L.A.'\n },\n finder: {\n find_user: 'Find user',\n error_fetching_user: 'Error fetching user'\n },\n general: {\n submit: 'Submit',\n apply: 'Apply'\n },\n user_profile: {\n timeline_title: 'User Timeline'\n }\n}\n\nconst eo = {\n chat: {\n title: 'Babilo'\n },\n nav: {\n chat: 'Loka babilo',\n timeline: 'Tempovido',\n mentions: 'Mencioj',\n public_tl: 'Publika tempovido',\n twkn: 'Tuta konata reto'\n },\n user_card: {\n follows_you: 'Abonas vin!',\n following: 'Abonanta!',\n follow: 'Aboni',\n blocked: 'Barita!',\n block: 'Bari',\n statuses: 'Statoj',\n mute: 'Silentigi',\n muted: 'Silentigita',\n followers: 'Abonantoj',\n followees: 'Abonatoj',\n per_day: 'tage',\n remote_follow: 'Fora abono'\n },\n timeline: {\n show_new: 'Montri novajn',\n error_fetching: 'Eraro ĝisdatigante',\n up_to_date: 'Ĝisdata',\n load_older: 'Enlegi pli malnovajn statojn',\n conversation: 'Interparolo',\n collapse: 'Maletendi',\n repeated: 'ripetata'\n },\n settings: {\n user_settings: 'Uzulaj agordoj',\n name_bio: 'Nomo kaj prio',\n name: 'Nomo',\n bio: 'Prio',\n avatar: 'Profilbildo',\n current_avatar: 'Via nuna profilbildo',\n set_new_avatar: 'Agordi novan profilbildon',\n profile_banner: 'Profila rubando',\n current_profile_banner: 'Via nuna profila rubando',\n set_new_profile_banner: 'Agordi novan profilan rubandon',\n profile_background: 'Profila fono',\n set_new_profile_background: 'Agordi novan profilan fonon',\n settings: 'Agordoj',\n theme: 'Haŭto',\n presets: 'Antaŭmetaĵoj',\n theme_help: 'Uzu deksesumajn kolorkodojn (#rrvvbb) por adapti vian koloran haŭton.',\n radii_help: 'Agordi fasadan rondigon de randoj (rastrumere)',\n background: 'Fono',\n foreground: 'Malfono',\n text: 'Teksto',\n links: 'Ligiloj',\n cBlue: 'Blua (Respondo, abono)',\n cRed: 'Ruĝa (Nuligo)',\n cOrange: 'Orange (Ŝato)',\n cGreen: 'Verda (Kunhavigo)',\n btnRadius: 'Butonoj',\n panelRadius: 'Paneloj',\n avatarRadius: 'Profilbildoj',\n avatarAltRadius: 'Profilbildoj (Sciigoj)',\n tooltipRadius: 'Ŝpruchelpiloj/avertoj',\n attachmentRadius: 'Kunsendaĵoj',\n filtering: 'Filtrado',\n filtering_explanation: 'Ĉiuj statoj kun tiuj ĉi vortoj silentiĝos, po unu linie',\n attachments: 'Kunsendaĵoj',\n hide_attachments_in_tl: 'Kaŝi kunsendaĵojn en tempovido',\n hide_attachments_in_convo: 'Kaŝi kunsendaĵojn en interparoloj',\n nsfw_clickthrough: 'Ŝalti traklakan kaŝon de konsternaj kunsendaĵoj',\n stop_gifs: 'Movi GIF-bildojn dum ŝvebo',\n autoload: 'Ŝalti memfaran enlegadon ĉe subo de paĝo',\n streaming: 'Ŝalti memfaran fluigon de novaj afiŝoj ĉe supro de paĝo',\n reply_link_preview: 'Ŝalti respond-ligilan antaŭvidon dum ŝvebo',\n follow_import: 'Abona enporto',\n import_followers_from_a_csv_file: 'Enporti abonojn de CSV-dosiero',\n follows_imported: 'Abonoj enportiĝis! Traktado daŭros iom.',\n follow_import_error: 'Eraro enportante abonojn'\n },\n notifications: {\n notifications: 'Sciigoj',\n read: 'Legita!',\n followed_you: 'ekabonis vin',\n favorited_you: 'ŝatis vian staton',\n repeated_you: 'ripetis vian staton'\n },\n login: {\n login: 'Saluti',\n username: 'Salutnomo',\n password: 'Pasvorto',\n register: 'Registriĝi',\n logout: 'Adiaŭi'\n },\n registration: {\n registration: 'Registriĝo',\n fullname: 'Vidiga nomo',\n email: 'Retpoŝtadreso',\n bio: 'Prio',\n password_confirm: 'Konfirmo de pasvorto'\n },\n post_status: {\n posting: 'Afiŝanta',\n default: 'Ĵus alvenis la universalan kongreson!'\n },\n finder: {\n find_user: 'Trovi uzulon',\n error_fetching_user: 'Eraro alportante uzulon'\n },\n general: {\n submit: 'Sendi',\n apply: 'Apliki'\n },\n user_profile: {\n timeline_title: 'Uzula tempovido'\n }\n}\n\nconst et = {\n nav: {\n timeline: 'Ajajoon',\n mentions: 'Mainimised',\n public_tl: 'Avalik Ajajoon',\n twkn: 'Kogu Teadaolev Võrgustik'\n },\n user_card: {\n follows_you: 'Jälgib sind!',\n following: 'Jälgin!',\n follow: 'Jälgi',\n blocked: 'Blokeeritud!',\n block: 'Blokeeri',\n statuses: 'Staatuseid',\n mute: 'Vaigista',\n muted: 'Vaigistatud',\n followers: 'Jälgijaid',\n followees: 'Jälgitavaid',\n per_day: 'päevas'\n },\n timeline: {\n show_new: 'Näita uusi',\n error_fetching: 'Viga uuenduste laadimisel',\n up_to_date: 'Uuendatud',\n load_older: 'Kuva vanemaid staatuseid',\n conversation: 'Vestlus'\n },\n settings: {\n user_settings: 'Kasutaja sätted',\n name_bio: 'Nimi ja Bio',\n name: 'Nimi',\n bio: 'Bio',\n avatar: 'Profiilipilt',\n current_avatar: 'Sinu praegune profiilipilt',\n set_new_avatar: 'Vali uus profiilipilt',\n profile_banner: 'Profiilibänner',\n current_profile_banner: 'Praegune profiilibänner',\n set_new_profile_banner: 'Vali uus profiilibänner',\n profile_background: 'Profiilitaust',\n set_new_profile_background: 'Vali uus profiilitaust',\n settings: 'Sätted',\n theme: 'Teema',\n filtering: 'Sisu filtreerimine',\n filtering_explanation: 'Kõiki staatuseid, mis sisaldavad neid sõnu, ei kuvata. Üks sõna reale.',\n attachments: 'Manused',\n hide_attachments_in_tl: 'Peida manused ajajoonel',\n hide_attachments_in_convo: 'Peida manused vastlustes',\n nsfw_clickthrough: 'Peida tööks-mittesobivad(NSFW) manuste hiireklõpsu taha',\n autoload: 'Luba ajajoone automaatne uuendamine kui ajajoon on põhja keritud',\n reply_link_preview: 'Luba algpostituse kuvamine vastustes'\n },\n notifications: {\n notifications: 'Teavitused',\n read: 'Loe!',\n followed_you: 'alustas sinu jälgimist'\n },\n login: {\n login: 'Logi sisse',\n username: 'Kasutajanimi',\n password: 'Parool',\n register: 'Registreeru',\n logout: 'Logi välja'\n },\n registration: {\n registration: 'Registreerimine',\n fullname: 'Kuvatav nimi',\n email: 'E-post',\n bio: 'Bio',\n password_confirm: 'Parooli kinnitamine'\n },\n post_status: {\n posting: 'Postitan',\n default: 'Just sõitsin elektrirongiga Tallinnast Pääskülla.'\n },\n finder: {\n find_user: 'Otsi kasutajaid',\n error_fetching_user: 'Viga kasutaja leidmisel'\n },\n general: {\n submit: 'Postita'\n }\n}\n\nconst hu = {\n nav: {\n timeline: 'Idővonal',\n mentions: 'Említéseim',\n public_tl: 'Publikus Idővonal',\n twkn: 'Az Egész Ismert Hálózat'\n },\n user_card: {\n follows_you: 'Követ téged!',\n following: 'Követve!',\n follow: 'Követ',\n blocked: 'Letiltva!',\n block: 'Letilt',\n statuses: 'Állapotok',\n mute: 'Némít',\n muted: 'Némított',\n followers: 'Követők',\n followees: 'Követettek',\n per_day: 'naponta'\n },\n timeline: {\n show_new: 'Újak mutatása',\n error_fetching: 'Hiba a frissítések beszerzésénél',\n up_to_date: 'Naprakész',\n load_older: 'Régebbi állapotok betöltése',\n conversation: 'Társalgás'\n },\n settings: {\n user_settings: 'Felhasználói beállítások',\n name_bio: 'Név és Bio',\n name: 'Név',\n bio: 'Bio',\n avatar: 'Avatár',\n current_avatar: 'Jelenlegi avatár',\n set_new_avatar: 'Új avatár',\n profile_banner: 'Profil Banner',\n current_profile_banner: 'Jelenlegi profil banner',\n set_new_profile_banner: 'Új profil banner',\n profile_background: 'Profil háttérkép',\n set_new_profile_background: 'Új profil háttér beállítása',\n settings: 'Beállítások',\n theme: 'Téma',\n filtering: 'Szűrés',\n filtering_explanation: 'Minden tartalom mely ezen szavakat tartalmazza némítva lesz, soronként egy',\n attachments: 'Csatolmányok',\n hide_attachments_in_tl: 'Csatolmányok elrejtése az idővonalon',\n hide_attachments_in_convo: 'Csatolmányok elrejtése a társalgásokban',\n nsfw_clickthrough: 'NSFW átkattintási tartalom elrejtésének engedélyezése',\n autoload: 'Autoatikus betöltés engedélyezése lap aljára görgetéskor',\n reply_link_preview: 'Válasz-link előzetes mutatása egér rátételkor'\n },\n notifications: {\n notifications: 'Értesítések',\n read: 'Olvasva!',\n followed_you: 'követ téged'\n },\n login: {\n login: 'Bejelentkezés',\n username: 'Felhasználó név',\n password: 'Jelszó',\n register: 'Feliratkozás',\n logout: 'Kijelentkezés'\n },\n registration: {\n registration: 'Feliratkozás',\n fullname: 'Teljes név',\n email: 'Email',\n bio: 'Bio',\n password_confirm: 'Jelszó megerősítése'\n },\n post_status: {\n posting: 'Küldés folyamatban',\n default: 'Most érkeztem L.A.-be'\n },\n finder: {\n find_user: 'Felhasználó keresése',\n error_fetching_user: 'Hiba felhasználó beszerzésével'\n },\n general: {\n submit: 'Elküld'\n }\n}\n\nconst ro = {\n nav: {\n timeline: 'Cronologie',\n mentions: 'Menționări',\n public_tl: 'Cronologie Publică',\n twkn: 'Toată Reșeaua Cunoscută'\n },\n user_card: {\n follows_you: 'Te urmărește!',\n following: 'Urmărit!',\n follow: 'Urmărește',\n blocked: 'Blocat!',\n block: 'Blochează',\n statuses: 'Stări',\n mute: 'Pune pe mut',\n muted: 'Pus pe mut',\n followers: 'Următori',\n followees: 'Urmărește',\n per_day: 'pe zi'\n },\n timeline: {\n show_new: 'Arată cele noi',\n error_fetching: 'Erare la preluarea actualizărilor',\n up_to_date: 'La zi',\n load_older: 'Încarcă stări mai vechi',\n conversation: 'Conversație'\n },\n settings: {\n user_settings: 'Setările utilizatorului',\n name_bio: 'Nume și Bio',\n name: 'Nume',\n bio: 'Bio',\n avatar: 'Avatar',\n current_avatar: 'Avatarul curent',\n set_new_avatar: 'Setează avatar nou',\n profile_banner: 'Banner de profil',\n current_profile_banner: 'Bannerul curent al profilului',\n set_new_profile_banner: 'Setează banner nou la profil',\n profile_background: 'Fundalul de profil',\n set_new_profile_background: 'Setează fundal nou',\n settings: 'Setări',\n theme: 'Temă',\n filtering: 'Filtru',\n filtering_explanation: 'Toate stările care conțin aceste cuvinte vor fi puse pe mut, una pe linie',\n attachments: 'Atașamente',\n hide_attachments_in_tl: 'Ascunde atașamentele în cronologie',\n hide_attachments_in_convo: 'Ascunde atașamentele în conversații',\n nsfw_clickthrough: 'Permite ascunderea al atașamentelor NSFW',\n autoload: 'Permite încărcarea automată când scrolat la capăt',\n reply_link_preview: 'Permite previzualizarea linkului de răspuns la planarea de mouse'\n },\n notifications: {\n notifications: 'Notificări',\n read: 'Citit!',\n followed_you: 'te-a urmărit'\n },\n login: {\n login: 'Loghează',\n username: 'Nume utilizator',\n password: 'Parolă',\n register: 'Înregistrare',\n logout: 'Deloghează'\n },\n registration: {\n registration: 'Îregistrare',\n fullname: 'Numele întreg',\n email: 'Email',\n bio: 'Bio',\n password_confirm: 'Cofirmă parola'\n },\n post_status: {\n posting: 'Postează',\n default: 'Nu de mult am aterizat în L.A.'\n },\n finder: {\n find_user: 'Găsește utilizator',\n error_fetching_user: 'Eroare la preluarea utilizatorului'\n },\n general: {\n submit: 'trimite'\n }\n}\n\nconst ja = {\n chat: {\n title: 'チャット'\n },\n nav: {\n chat: 'ローカルチャット',\n timeline: 'タイムライン',\n mentions: 'メンション',\n public_tl: '公開タイムライン',\n twkn: '接続しているすべてのネットワーク'\n },\n user_card: {\n follows_you: 'フォローされました!',\n following: 'フォロー中!',\n follow: 'フォロー',\n blocked: 'ブロック済み!',\n block: 'ブロック',\n statuses: '投稿',\n mute: 'ミュート',\n muted: 'ミュート済み',\n followers: 'フォロワー',\n followees: 'フォロー',\n per_day: '/日',\n remote_follow: 'リモートフォロー'\n },\n timeline: {\n show_new: '更新',\n error_fetching: '更新の取得中にエラーが発生しました。',\n up_to_date: '最新',\n load_older: '古い投稿を読み込む',\n conversation: '会話',\n collapse: '折り畳む',\n repeated: 'リピート'\n },\n settings: {\n user_settings: 'ユーザー設定',\n name_bio: '名前とプロフィール',\n name: '名前',\n bio: 'プロフィール',\n avatar: 'アバター',\n current_avatar: 'あなたの現在のアバター',\n set_new_avatar: '新しいアバターを設定する',\n profile_banner: 'プロフィールバナー',\n current_profile_banner: '現在のプロフィールバナー',\n set_new_profile_banner: '新しいプロフィールバナーを設定する',\n profile_background: 'プロフィールの背景',\n set_new_profile_background: '新しいプロフィールの背景を設定する',\n settings: '設定',\n theme: 'テーマ',\n presets: 'プリセット',\n theme_help: '16進数カラーコード (#aabbcc) を使用してカラーテーマをカスタマイズ出来ます。',\n radii_help: 'インターフェースの縁の丸さを設定する。',\n background: '背景',\n foreground: '前景',\n text: '文字',\n links: 'リンク',\n cBlue: '青 (返信, フォロー)',\n cRed: '赤 (キャンセル)',\n cOrange: 'オレンジ (お気に入り)',\n cGreen: '緑 (リツイート)',\n btnRadius: 'ボタン',\n panelRadius: 'パネル',\n avatarRadius: 'アバター',\n avatarAltRadius: 'アバター (通知)',\n tooltipRadius: 'ツールチップ/アラート',\n attachmentRadius: 'ファイル',\n filtering: 'フィルタリング',\n filtering_explanation: 'これらの単語を含むすべてのものがミュートされます。1行に1つの単語を入力してください。',\n attachments: 'ファイル',\n hide_attachments_in_tl: 'タイムラインのファイルを隠す。',\n hide_attachments_in_convo: '会話の中のファイルを隠す。',\n nsfw_clickthrough: 'NSFWファイルの非表示を有効にする。',\n stop_gifs: 'カーソルを重ねた時にGIFを再生する。',\n autoload: '下にスクロールした時に自動で読み込むようにする。',\n streaming: '上までスクロールした時に自動でストリーミングされるようにする。',\n reply_link_preview: 'マウスカーソルを重ねた時に返信のプレビューを表示するようにする。',\n follow_import: 'フォローインポート',\n import_followers_from_a_csv_file: 'CSVファイルからフォローをインポートする。',\n follows_imported: 'フォローがインポートされました!処理に少し時間がかかるかもしれません。',\n follow_import_error: 'フォロワーのインポート中にエラーが発生しました。'\n },\n notifications: {\n notifications: '通知',\n read: '読んだ!',\n followed_you: 'フォローされました',\n favorited_you: 'あなたの投稿がお気に入りされました',\n repeated_you: 'あなたの投稿がリピートされました'\n },\n login: {\n login: 'ログイン',\n username: 'ユーザー名',\n password: 'パスワード',\n register: '登録',\n logout: 'ログアウト'\n },\n registration: {\n registration: '登録',\n fullname: '表示名',\n email: 'Eメール',\n bio: 'プロフィール',\n password_confirm: 'パスワードの確認'\n },\n post_status: {\n posting: '投稿',\n default: 'ちょうどL.A.に着陸しました。'\n },\n finder: {\n find_user: 'ユーザー検索',\n error_fetching_user: 'ユーザー検索でエラーが発生しました'\n },\n general: {\n submit: '送信',\n apply: '適用'\n },\n user_profile: {\n timeline_title: 'ユーザータイムライン'\n }\n}\n\nconst fr = {\n nav: {\n chat: 'Chat local',\n timeline: 'Journal',\n mentions: 'Notifications',\n public_tl: 'Statuts locaux',\n twkn: 'Le réseau connu'\n },\n user_card: {\n follows_you: 'Vous suit !',\n following: 'Suivi !',\n follow: 'Suivre',\n blocked: 'Bloqué',\n block: 'Bloquer',\n statuses: 'Statuts',\n mute: 'Masquer',\n muted: 'Masqué',\n followers: 'Vous suivent',\n followees: 'Suivis',\n per_day: 'par jour',\n remote_follow: 'Suivre d\\'une autre instance'\n },\n timeline: {\n show_new: 'Afficher plus',\n error_fetching: 'Erreur en cherchant les mises à jour',\n up_to_date: 'À jour',\n load_older: 'Afficher plus',\n conversation: 'Conversation',\n collapse: 'Fermer',\n repeated: 'a partagé'\n },\n settings: {\n user_settings: 'Paramètres utilisateur',\n name_bio: 'Nom & Bio',\n name: 'Nom',\n bio: 'Biographie',\n avatar: 'Avatar',\n current_avatar: 'Avatar actuel',\n set_new_avatar: 'Changer d\\'avatar',\n profile_banner: 'Bannière de profil',\n current_profile_banner: 'Bannière de profil actuelle',\n set_new_profile_banner: 'Changer de bannière',\n profile_background: 'Image de fond',\n set_new_profile_background: 'Changer d\\'image de fond',\n settings: 'Paramètres',\n theme: 'Thème',\n filtering: 'Filtre',\n filtering_explanation: 'Tout les statuts contenant ces mots seront masqués. Un mot par ligne.',\n attachments: 'Pièces jointes',\n hide_attachments_in_tl: 'Masquer les pièces jointes dans le journal',\n hide_attachments_in_convo: 'Masquer les pièces jointes dans les conversations',\n nsfw_clickthrough: 'Masquer les images marquées comme contenu adulte ou sensible',\n autoload: 'Charger la suite automatiquement une fois le bas de la page atteint',\n reply_link_preview: 'Afficher un aperçu lors du survol de liens vers une réponse',\n presets: 'Thèmes prédéfinis',\n theme_help: 'Spécifiez des codes couleur hexadécimaux (#aabbcc) pour personnaliser les couleurs du thème',\n background: 'Arrière plan',\n foreground: 'Premier plan',\n text: 'Texte',\n links: 'Liens',\n streaming: 'Charger automatiquement les nouveaux statuts lorsque vous êtes au haut de la page',\n follow_import: 'Importer ses abonnements',\n import_followers_from_a_csv_file: 'Importer ses abonnements depuis un fichier csv',\n follows_imported: 'Abonnements importés ! Le traitement peut prendre un moment.',\n follow_import_error: 'Erreur lors de l\\'importation des abonnements.',\n cBlue: 'Bleu (Répondre, suivre)',\n cRed: 'Rouge (Annuler)',\n cOrange: 'Orange (Aimer)',\n cGreen: 'Vert (Partager)',\n btnRadius: 'Boutons',\n panelRadius: 'Fenêtres',\n inputRadius: 'Champs de texte',\n avatarRadius: 'Avatars',\n avatarAltRadius: 'Avatars (Notifications)',\n tooltipRadius: 'Info-bulles/alertes ',\n attachmentRadius: 'Pièces jointes',\n radii_help: 'Vous pouvez ici choisir le niveau d\\'arrondi des angles de l\\'interface (en pixels)',\n stop_gifs: 'N\\'animer les GIFS que lors du survol du curseur de la souris'\n },\n notifications: {\n notifications: 'Notifications',\n read: 'Lu !',\n followed_you: 'a commencé à vous suivre',\n favorited_you: 'a aimé votre statut',\n repeated_you: 'a partagé votre statut'\n },\n login: {\n login: 'Connexion',\n username: 'Identifiant',\n password: 'Mot de passe',\n register: 'S\\'inscrire',\n logout: 'Déconnexion'\n },\n registration: {\n registration: 'Inscription',\n fullname: 'Pseudonyme',\n email: 'Adresse email',\n bio: 'Biographie',\n password_confirm: 'Confirmation du mot de passe'\n },\n post_status: {\n posting: 'Envoi en cours',\n default: 'Écrivez ici votre prochain statut.'\n },\n finder: {\n find_user: 'Chercher un utilisateur',\n error_fetching_user: 'Erreur lors de la recherche de l\\'utilisateur'\n },\n general: {\n submit: 'Envoyer',\n apply: 'Appliquer'\n },\n user_profile: {\n timeline_title: 'Journal de l\\'utilisateur'\n }\n}\n\nconst it = {\n nav: {\n timeline: 'Sequenza temporale',\n mentions: 'Menzioni',\n public_tl: 'Sequenza temporale pubblica',\n twkn: 'L\\'intiera rete conosciuta'\n },\n user_card: {\n follows_you: 'Ti segue!',\n following: 'Lo stai seguendo!',\n follow: 'Segui',\n statuses: 'Messaggi',\n mute: 'Ammutolisci',\n muted: 'Ammutoliti',\n followers: 'Chi ti segue',\n followees: 'Chi stai seguendo',\n per_day: 'al giorno'\n },\n timeline: {\n show_new: 'Mostra nuovi',\n error_fetching: 'Errori nel prelievo aggiornamenti',\n up_to_date: 'Aggiornato',\n load_older: 'Carica messaggi più vecchi'\n },\n settings: {\n user_settings: 'Configurazione dell\\'utente',\n name_bio: 'Nome & Introduzione',\n name: 'Nome',\n bio: 'Introduzione',\n avatar: 'Avatar',\n current_avatar: 'Il tuo attuale avatar',\n set_new_avatar: 'Scegli un nuovo avatar',\n profile_banner: 'Sfondo del tuo profilo',\n current_profile_banner: 'Sfondo attuale',\n set_new_profile_banner: 'Scegli un nuovo sfondo per il tuo profilo',\n profile_background: 'Sfondo della tua pagina',\n set_new_profile_background: 'Scegli un nuovo sfondo per la tua pagina',\n settings: 'Settaggi',\n theme: 'Tema',\n filtering: 'Filtri',\n filtering_explanation: 'Filtra via le notifiche che contengono le seguenti parole (inserisci rigo per rigo le parole di innesco)',\n attachments: 'Allegati',\n hide_attachments_in_tl: 'Nascondi gli allegati presenti nella sequenza temporale',\n hide_attachments_in_convo: 'Nascondi gli allegati presenti nelle conversazioni',\n nsfw_clickthrough: 'Abilita la trasparenza degli allegati NSFW',\n autoload: 'Abilita caricamento automatico quando si raggiunge il fondo schermo',\n reply_link_preview: 'Ability il reply-link preview al passaggio del mouse'\n },\n notifications: {\n notifications: 'Notifiche',\n read: 'Leggi!',\n followed_you: 'ti ha seguito'\n },\n general: {\n submit: 'Invia'\n }\n}\n\nconst oc = {\n chat: {\n title: 'Messatjariá'\n },\n nav: {\n chat: 'Chat local',\n timeline: 'Flux d’actualitat',\n mentions: 'Notificacions',\n public_tl: 'Estatuts locals',\n twkn: 'Lo malhum conegut'\n },\n user_card: {\n follows_you: 'Vos sèc !',\n following: 'Seguit !',\n follow: 'Seguir',\n blocked: 'Blocat',\n block: 'Blocar',\n statuses: 'Estatuts',\n mute: 'Amagar',\n muted: 'Amagat',\n followers: 'Seguidors',\n followees: 'Abonaments',\n per_day: 'per jorn',\n remote_follow: 'Seguir a distància'\n },\n timeline: {\n show_new: 'Ne veire mai',\n error_fetching: 'Error en cercant de mesas a jorn',\n up_to_date: 'A jorn',\n load_older: 'Ne veire mai',\n conversation: 'Conversacion',\n collapse: 'Tampar',\n repeated: 'repetit'\n },\n settings: {\n user_settings: 'Paramètres utilizaire',\n name_bio: 'Nom & Bio',\n name: 'Nom',\n bio: 'Biografia',\n avatar: 'Avatar',\n current_avatar: 'Vòstre avatar actual',\n set_new_avatar: 'Cambiar l’avatar',\n profile_banner: 'Bandièra del perfil',\n current_profile_banner: 'Bandièra actuala del perfil',\n set_new_profile_banner: 'Cambiar de bandièra',\n profile_background: 'Imatge de fons',\n set_new_profile_background: 'Cambiar l’imatge de fons',\n settings: 'Paramètres',\n theme: 'Tèma',\n presets: 'Pre-enregistrats',\n theme_help: 'Emplegatz los còdis de color hex (#rrggbb) per personalizar vòstre tèma de color.',\n radii_help: 'Configurar los caires arredondits de l’interfàcia (en pixèls)',\n background: 'Rèire plan',\n foreground: 'Endavant',\n text: 'Tèxte',\n links: 'Ligams',\n cBlue: 'Blau (Respondre, seguir)',\n cRed: 'Roge (Anullar)',\n cOrange: 'Irange (Metre en favorit)',\n cGreen: 'Verd (Repartajar)',\n inputRadius: 'Camps tèxte',\n btnRadius: 'Botons',\n panelRadius: 'Panèls',\n avatarRadius: 'Avatars',\n avatarAltRadius: 'Avatars (Notificacions)',\n tooltipRadius: 'Astúcias/Alèrta',\n attachmentRadius: 'Pèças juntas',\n filtering: 'Filtre',\n filtering_explanation: 'Totes los estatuts amb aqueles mots seràn en silenci, un mot per linha.',\n attachments: 'Pèças juntas',\n hide_attachments_in_tl: 'Rescondre las pèças juntas',\n hide_attachments_in_convo: 'Rescondre las pèças juntas dins las conversacions',\n nsfw_clickthrough: 'Activar lo clic per mostrar los imatges marcats coma pels adults o sensibles',\n stop_gifs: 'Lançar los GIFs al subrevòl',\n autoload: 'Activar lo cargament automatic un còp arribat al cap de la pagina',\n streaming: 'Activar lo cargament automatic dels novèls estatus en anar amont',\n reply_link_preview: 'Activar l’apercebut en passar la mirga',\n follow_import: 'Importar los abonaments',\n import_followers_from_a_csv_file: 'Importar los seguidors d’un fichièr csv',\n follows_imported: 'Seguidors importats. Lo tractament pòt trigar una estona.',\n follow_import_error: 'Error en important los seguidors'\n },\n notifications: {\n notifications: 'Notficacions',\n read: 'Legit !',\n followed_you: 'vos sèc',\n favorited_you: 'a aimat vòstre estatut',\n repeated_you: 'a repetit your vòstre estatut'\n },\n login: {\n login: 'Connexion',\n username: 'Nom d’utilizaire',\n password: 'Senhal',\n register: 'Se marcar',\n logout: 'Desconnexion'\n },\n registration: {\n registration: 'Inscripcion',\n fullname: 'Nom complèt',\n email: 'Adreça de corrièl',\n bio: 'Biografia',\n password_confirm: 'Confirmar lo senhal'\n },\n post_status: {\n posting: 'Mandadís',\n default: 'Escrivètz aquí vòstre estatut.'\n },\n finder: {\n find_user: 'Cercar un utilizaire',\n error_fetching_user: 'Error pendent la recèrca d’un utilizaire'\n },\n general: {\n submit: 'Mandar',\n apply: 'Aplicar'\n },\n user_profile: {\n timeline_title: 'Flux utilizaire'\n }\n}\n\nconst pl = {\n chat: {\n title: 'Czat'\n },\n nav: {\n chat: 'Lokalny czat',\n timeline: 'Oś czasu',\n mentions: 'Wzmianki',\n public_tl: 'Publiczna oś czasu',\n twkn: 'Cała znana sieć'\n },\n user_card: {\n follows_you: 'Obserwuje cię!',\n following: 'Obserwowany!',\n follow: 'Obserwuj',\n blocked: 'Zablokowany!',\n block: 'Zablokuj',\n statuses: 'Statusy',\n mute: 'Wycisz',\n muted: 'Wyciszony',\n followers: 'Obserwujący',\n followees: 'Obserwowani',\n per_day: 'dziennie',\n remote_follow: 'Zdalna obserwacja'\n },\n timeline: {\n show_new: 'Pokaż nowe',\n error_fetching: 'Błąd pobierania',\n up_to_date: 'Na bieżąco',\n load_older: 'Załaduj starsze statusy',\n conversation: 'Rozmowa',\n collapse: 'Zwiń',\n repeated: 'powtórzono'\n },\n settings: {\n user_settings: 'Ustawienia użytkownika',\n name_bio: 'Imię i bio',\n name: 'Imię',\n bio: 'Bio',\n avatar: 'Awatar',\n current_avatar: 'Twój obecny awatar',\n set_new_avatar: 'Ustaw nowy awatar',\n profile_banner: 'Banner profilu',\n current_profile_banner: 'Twój obecny banner profilu',\n set_new_profile_banner: 'Ustaw nowy banner profilu',\n profile_background: 'Tło profilu',\n set_new_profile_background: 'Ustaw nowe tło profilu',\n settings: 'Ustawienia',\n theme: 'Motyw',\n presets: 'Gotowe motywy',\n theme_help: 'Użyj kolorów w notacji szesnastkowej (#rrggbb), by stworzyć swój motyw.',\n radii_help: 'Ustaw zaokrąglenie krawędzi interfejsu (w pikselach)',\n background: 'Tło',\n foreground: 'Pierwszy plan',\n text: 'Tekst',\n links: 'Łącza',\n cBlue: 'Niebieski (odpowiedz, obserwuj)',\n cRed: 'Czerwony (anuluj)',\n cOrange: 'Pomarańczowy (ulubione)',\n cGreen: 'Zielony (powtórzenia)',\n btnRadius: 'Przyciski',\n panelRadius: 'Panele',\n avatarRadius: 'Awatary',\n avatarAltRadius: 'Awatary (powiadomienia)',\n tooltipRadius: 'Etykiety/alerty',\n attachmentRadius: 'Załączniki',\n filtering: 'Filtrowanie',\n filtering_explanation: 'Wszystkie statusy zawierające te słowa będą wyciszone. Jedno słowo na linijkę',\n attachments: 'Załączniki',\n hide_attachments_in_tl: 'Ukryj załączniki w osi czasu',\n hide_attachments_in_convo: 'Ukryj załączniki w rozmowach',\n nsfw_clickthrough: 'Włącz domyślne ukrywanie załączników o treści nieprzyzwoitej (NSFW)',\n stop_gifs: 'Odtwarzaj GIFy po najechaniu kursorem',\n autoload: 'Włącz automatyczne ładowanie po przewinięciu do końca strony',\n streaming: 'Włącz automatycznie strumieniowanie nowych postów gdy na początku strony',\n reply_link_preview: 'Włącz dymek z podglądem postu po najechaniu na znak odpowiedzi',\n follow_import: 'Import obserwowanych',\n import_followers_from_a_csv_file: 'Importuj obserwowanych z pliku CSV',\n follows_imported: 'Obserwowani zaimportowani! Przetwarzanie może trochę potrwać.',\n follow_import_error: 'Błąd przy importowaniu obserwowanych'\n },\n notifications: {\n notifications: 'Powiadomienia',\n read: 'Przeczytane!',\n followed_you: 'obserwuje cię',\n favorited_you: 'dodał twój status do ulubionych',\n repeated_you: 'powtórzył twój status'\n },\n login: {\n login: 'Zaloguj',\n username: 'Użytkownik',\n password: 'Hasło',\n register: 'Zarejestruj',\n logout: 'Wyloguj'\n },\n registration: {\n registration: 'Rejestracja',\n fullname: 'Wyświetlana nazwa profilu',\n email: 'Email',\n bio: 'Bio',\n password_confirm: 'Potwierdzenie hasła'\n },\n post_status: {\n posting: 'Wysyłanie',\n default: 'Właśnie wróciłem z kościoła'\n },\n finder: {\n find_user: 'Znajdź użytkownika',\n error_fetching_user: 'Błąd przy pobieraniu profilu'\n },\n general: {\n submit: 'Wyślij',\n apply: 'Zastosuj'\n },\n user_profile: {\n timeline_title: 'Oś czasu użytkownika'\n }\n}\n\nconst es = {\n chat: {\n title: 'Chat'\n },\n nav: {\n chat: 'Chat Local',\n timeline: 'Línea Temporal',\n mentions: 'Menciones',\n public_tl: 'Línea Temporal Pública',\n twkn: 'Toda La Red Conocida'\n },\n user_card: {\n follows_you: '¡Te sigue!',\n following: '¡Siguiendo!',\n follow: 'Seguir',\n blocked: '¡Bloqueado!',\n block: 'Bloquear',\n statuses: 'Estados',\n mute: 'Silenciar',\n muted: 'Silenciado',\n followers: 'Seguidores',\n followees: 'Siguiendo',\n per_day: 'por día',\n remote_follow: 'Seguir'\n },\n timeline: {\n show_new: 'Mostrar lo nuevo',\n error_fetching: 'Error al cargar las actualizaciones',\n up_to_date: 'Actualizado',\n load_older: 'Cargar actualizaciones anteriores',\n conversation: 'Conversación'\n },\n settings: {\n user_settings: 'Ajustes de Usuario',\n name_bio: 'Nombre y Biografía',\n name: 'Nombre',\n bio: 'Biografía',\n avatar: 'Avatar',\n current_avatar: 'Tu avatar actual',\n set_new_avatar: 'Cambiar avatar',\n profile_banner: 'Cabecera del perfil',\n current_profile_banner: 'Cabecera actual',\n set_new_profile_banner: 'Cambiar cabecera',\n profile_background: 'Fondo del Perfil',\n set_new_profile_background: 'Cambiar fondo del perfil',\n settings: 'Ajustes',\n theme: 'Tema',\n presets: 'Por defecto',\n theme_help: 'Use códigos de color hexadecimales (#rrggbb) para personalizar su tema de colores.',\n background: 'Segundo plano',\n foreground: 'Primer plano',\n text: 'Texto',\n links: 'Links',\n filtering: 'Filtros',\n filtering_explanation: 'Todos los estados que contengan estas palabras serán silenciados, una por línea',\n attachments: 'Adjuntos',\n hide_attachments_in_tl: 'Ocultar adjuntos en la línea temporal',\n hide_attachments_in_convo: 'Ocultar adjuntos en las conversaciones',\n nsfw_clickthrough: 'Activar el clic para ocultar los adjuntos NSFW',\n autoload: 'Activar carga automática al llegar al final de la página',\n streaming: 'Habilite la transmisión automática de nuevas publicaciones cuando se desplaza hacia la parte superior',\n reply_link_preview: 'Activar la previsualización del enlace de responder al pasar el ratón por encima',\n follow_import: 'Importar personas que tú sigues',\n import_followers_from_a_csv_file: 'Importar personas que tú sigues apartir de un archivo csv',\n follows_imported: '¡Importado! Procesarlos llevará tiempo.',\n follow_import_error: 'Error al importal el archivo'\n },\n notifications: {\n notifications: 'Notificaciones',\n read: '¡Leído!',\n followed_you: 'empezó a seguirte'\n },\n login: {\n login: 'Identificación',\n username: 'Usuario',\n password: 'Contraseña',\n register: 'Registrar',\n logout: 'Salir'\n },\n registration: {\n registration: 'Registro',\n fullname: 'Nombre a mostrar',\n email: 'Correo electrónico',\n bio: 'Biografía',\n password_confirm: 'Confirmación de contraseña'\n },\n post_status: {\n posting: 'Publicando',\n default: 'Acabo de aterrizar en L.A.'\n },\n finder: {\n find_user: 'Encontrar usuario',\n error_fetching_user: 'Error al buscar usuario'\n },\n general: {\n submit: 'Enviar',\n apply: 'Aplicar'\n }\n}\n\nconst pt = {\n chat: {\n title: 'Chat'\n },\n nav: {\n chat: 'Chat Local',\n timeline: 'Linha do tempo',\n mentions: 'Menções',\n public_tl: 'Linha do tempo pública',\n twkn: 'Toda a rede conhecida'\n },\n user_card: {\n follows_you: 'Segue você!',\n following: 'Seguindo!',\n follow: 'Seguir',\n blocked: 'Bloqueado!',\n block: 'Bloquear',\n statuses: 'Postagens',\n mute: 'Silenciar',\n muted: 'Silenciado',\n followers: 'Seguidores',\n followees: 'Seguindo',\n per_day: 'por dia',\n remote_follow: 'Seguidor Remoto'\n },\n timeline: {\n show_new: 'Mostrar novas',\n error_fetching: 'Erro buscando atualizações',\n up_to_date: 'Atualizado',\n load_older: 'Carregar postagens antigas',\n conversation: 'Conversa'\n },\n settings: {\n user_settings: 'Configurações de Usuário',\n name_bio: 'Nome & Biografia',\n name: 'Nome',\n bio: 'Biografia',\n avatar: 'Avatar',\n current_avatar: 'Seu avatar atual',\n set_new_avatar: 'Alterar avatar',\n profile_banner: 'Capa de perfil',\n current_profile_banner: 'Sua capa de perfil atual',\n set_new_profile_banner: 'Alterar capa de perfil',\n profile_background: 'Plano de fundo de perfil',\n set_new_profile_background: 'Alterar o plano de fundo de perfil',\n settings: 'Configurações',\n theme: 'Tema',\n presets: 'Predefinições',\n theme_help: 'Use cores em código hexadecimal (#rrggbb) para personalizar seu esquema de cores.',\n background: 'Plano de Fundo',\n foreground: 'Primeiro Plano',\n text: 'Texto',\n links: 'Links',\n filtering: 'Filtragem',\n filtering_explanation: 'Todas as postagens contendo estas palavras serão silenciadas, uma por linha.',\n attachments: 'Anexos',\n hide_attachments_in_tl: 'Ocultar anexos na linha do tempo.',\n hide_attachments_in_convo: 'Ocultar anexos em conversas',\n nsfw_clickthrough: 'Habilitar clique para ocultar anexos NSFW',\n autoload: 'Habilitar carregamento automático quando a rolagem chegar ao fim.',\n streaming: 'Habilitar o fluxo automático de postagens quando ao topo da página',\n reply_link_preview: 'Habilitar a pré-visualização de link de respostas ao passar o mouse.',\n follow_import: 'Importar seguidas',\n import_followers_from_a_csv_file: 'Importe seguidores a partir de um arquivo CSV',\n follows_imported: 'Seguidores importados! O processamento pode demorar um pouco.',\n follow_import_error: 'Erro ao importar seguidores'\n },\n notifications: {\n notifications: 'Notificações',\n read: 'Ler!',\n followed_you: 'seguiu você'\n },\n login: {\n login: 'Entrar',\n username: 'Usuário',\n password: 'Senha',\n register: 'Registrar',\n logout: 'Sair'\n },\n registration: {\n registration: 'Registro',\n fullname: 'Nome para exibição',\n email: 'Correio eletrônico',\n bio: 'Biografia',\n password_confirm: 'Confirmação de senha'\n },\n post_status: {\n posting: 'Publicando',\n default: 'Acabo de aterrizar em L.A.'\n },\n finder: {\n find_user: 'Buscar usuário',\n error_fetching_user: 'Erro procurando usuário'\n },\n general: {\n submit: 'Enviar',\n apply: 'Aplicar'\n }\n}\n\nconst ru = {\n chat: {\n title: 'Чат'\n },\n nav: {\n chat: 'Локальный чат',\n timeline: 'Лента',\n mentions: 'Упоминания',\n public_tl: 'Публичная лента',\n twkn: 'Федеративная лента'\n },\n user_card: {\n follows_you: 'Читает вас',\n following: 'Читаю',\n follow: 'Читать',\n blocked: 'Заблокирован',\n block: 'Заблокировать',\n statuses: 'Статусы',\n mute: 'Игнорировать',\n muted: 'Игнорирую',\n followers: 'Читатели',\n followees: 'Читаемые',\n per_day: 'в день',\n remote_follow: 'Читать удалённо'\n },\n timeline: {\n show_new: 'Показать новые',\n error_fetching: 'Ошибка при обновлении',\n up_to_date: 'Обновлено',\n load_older: 'Загрузить старые статусы',\n conversation: 'Разговор',\n collapse: 'Свернуть',\n repeated: 'повторил(а)'\n },\n settings: {\n user_settings: 'Настройки пользователя',\n name_bio: 'Имя и описание',\n name: 'Имя',\n bio: 'Описание',\n avatar: 'Аватар',\n current_avatar: 'Текущий аватар',\n set_new_avatar: 'Загрузить новый аватар',\n profile_banner: 'Баннер профиля',\n current_profile_banner: 'Текущий баннер профиля',\n set_new_profile_banner: 'Загрузить новый баннер профиля',\n profile_background: 'Фон профиля',\n set_new_profile_background: 'Загрузить новый фон профиля',\n settings: 'Настройки',\n theme: 'Тема',\n presets: 'Пресеты',\n theme_help: 'Используйте шестнадцатеричные коды цветов (#rrggbb) для настройки темы.',\n radii_help: 'Округление краёв элементов интерфейса (в пикселях)',\n background: 'Фон',\n foreground: 'Передний план',\n text: 'Текст',\n links: 'Ссылки',\n cBlue: 'Ответить, читать',\n cRed: 'Отменить',\n cOrange: 'Нравится',\n cGreen: 'Повторить',\n btnRadius: 'Кнопки',\n inputRadius: 'Поля ввода',\n panelRadius: 'Панели',\n avatarRadius: 'Аватары',\n avatarAltRadius: 'Аватары в уведомлениях',\n tooltipRadius: 'Всплывающие подсказки/уведомления',\n attachmentRadius: 'Прикреплённые файлы',\n filtering: 'Фильтрация',\n filtering_explanation: 'Все статусы, содержащие данные слова, будут игнорироваться, по одному в строке',\n attachments: 'Вложения',\n hide_attachments_in_tl: 'Прятать вложения в ленте',\n hide_attachments_in_convo: 'Прятать вложения в разговорах',\n stop_gifs: 'Проигрывать GIF анимации только при наведении',\n nsfw_clickthrough: 'Включить скрытие NSFW вложений',\n autoload: 'Включить автоматическую загрузку при прокрутке вниз',\n streaming: 'Включить автоматическую загрузку новых сообщений при прокрутке вверх',\n reply_link_preview: 'Включить предварительный просмотр ответа при наведении мыши',\n follow_import: 'Импортировать читаемых',\n import_followers_from_a_csv_file: 'Импортировать читаемых из файла .csv',\n follows_imported: 'Список читаемых импортирован. Обработка займёт некоторое время..',\n follow_import_error: 'Ошибка при импортировании читаемых.'\n },\n notifications: {\n notifications: 'Уведомления',\n read: 'Прочесть',\n followed_you: 'начал(а) читать вас',\n favorited_you: 'нравится ваш статус',\n repeated_you: 'повторил(а) ваш статус'\n },\n login: {\n login: 'Войти',\n username: 'Имя пользователя',\n password: 'Пароль',\n register: 'Зарегистрироваться',\n logout: 'Выйти'\n },\n registration: {\n registration: 'Регистрация',\n fullname: 'Отображаемое имя',\n email: 'Email',\n bio: 'Описание',\n password_confirm: 'Подтверждение пароля'\n },\n post_status: {\n posting: 'Отправляется',\n default: 'Что нового?'\n },\n finder: {\n find_user: 'Найти пользователя',\n error_fetching_user: 'Пользователь не найден'\n },\n general: {\n submit: 'Отправить',\n apply: 'Применить'\n },\n user_profile: {\n timeline_title: 'Лента пользователя'\n }\n}\nconst nb = {\n chat: {\n title: 'Chat'\n },\n nav: {\n chat: 'Lokal Chat',\n timeline: 'Tidslinje',\n mentions: 'Nevnt',\n public_tl: 'Offentlig Tidslinje',\n twkn: 'Det hele kjente nettverket'\n },\n user_card: {\n follows_you: 'Følger deg!',\n following: 'Følger!',\n follow: 'Følg',\n blocked: 'Blokkert!',\n block: 'Blokker',\n statuses: 'Statuser',\n mute: 'Demp',\n muted: 'Dempet',\n followers: 'Følgere',\n followees: 'Følger',\n per_day: 'per dag',\n remote_follow: 'Følg eksternt'\n },\n timeline: {\n show_new: 'Vis nye',\n error_fetching: 'Feil ved henting av oppdateringer',\n up_to_date: 'Oppdatert',\n load_older: 'Last eldre statuser',\n conversation: 'Samtale',\n collapse: 'Sammenfold',\n repeated: 'gjentok'\n },\n settings: {\n user_settings: 'Brukerinstillinger',\n name_bio: 'Navn & Biografi',\n name: 'Navn',\n bio: 'Biografi',\n avatar: 'Profilbilde',\n current_avatar: 'Ditt nåværende profilbilde',\n set_new_avatar: 'Rediger profilbilde',\n profile_banner: 'Profil-banner',\n current_profile_banner: 'Din nåværende profil-banner',\n set_new_profile_banner: 'Sett ny profil-banner',\n profile_background: 'Profil-bakgrunn',\n set_new_profile_background: 'Rediger profil-bakgrunn',\n settings: 'Innstillinger',\n theme: 'Tema',\n presets: 'Forhåndsdefinerte fargekoder',\n theme_help: 'Bruk heksadesimale fargekoder (#rrggbb) til å endre farge-temaet ditt.',\n radii_help: 'Bestem hvor runde hjørnene i brukergrensesnittet skal være (i piksler)',\n background: 'Bakgrunn',\n foreground: 'Framgrunn',\n text: 'Tekst',\n links: 'Linker',\n cBlue: 'Blå (Svar, følg)',\n cRed: 'Rød (Avbryt)',\n cOrange: 'Oransje (Lik)',\n cGreen: 'Grønn (Gjenta)',\n btnRadius: 'Knapper',\n panelRadius: 'Panel',\n avatarRadius: 'Profilbilde',\n avatarAltRadius: 'Profilbilde (Varslinger)',\n tooltipRadius: 'Verktøytips/advarsler',\n attachmentRadius: 'Vedlegg',\n filtering: 'Filtrering',\n filtering_explanation: 'Alle statuser som inneholder disse ordene vil bli dempet, en kombinasjon av tegn per linje',\n attachments: 'Vedlegg',\n hide_attachments_in_tl: 'Gjem vedlegg på tidslinje',\n hide_attachments_in_convo: 'Gjem vedlegg i samtaler',\n nsfw_clickthrough: 'Krev trykk for å vise statuser som kan være upassende',\n stop_gifs: 'Spill av GIFs når du holder over dem',\n autoload: 'Automatisk lasting når du blar ned til bunnen',\n streaming: 'Automatisk strømming av nye statuser når du har bladd til toppen',\n reply_link_preview: 'Vis en forhåndsvisning når du holder musen over svar til en status',\n follow_import: 'Importer følginger',\n import_followers_from_a_csv_file: 'Importer følginger fra en csv fil',\n follows_imported: 'Følginger imported! Det vil ta litt tid å behandle de.',\n follow_import_error: 'Feil ved importering av følginger.'\n },\n notifications: {\n notifications: 'Varslinger',\n read: 'Les!',\n followed_you: 'fulgte deg',\n favorited_you: 'likte din status',\n repeated_you: 'Gjentok din status'\n },\n login: {\n login: 'Logg inn',\n username: 'Brukernavn',\n password: 'Passord',\n register: 'Registrer',\n logout: 'Logg ut'\n },\n registration: {\n registration: 'Registrering',\n fullname: 'Visningsnavn',\n email: 'Epost-adresse',\n bio: 'Biografi',\n password_confirm: 'Bekreft passord'\n },\n post_status: {\n posting: 'Publiserer',\n default: 'Landet akkurat i L.A.'\n },\n finder: {\n find_user: 'Finn bruker',\n error_fetching_user: 'Feil ved henting av bruker'\n },\n general: {\n submit: 'Legg ut',\n apply: 'Bruk'\n },\n user_profile: {\n timeline_title: 'Bruker-tidslinje'\n }\n}\n\nconst messages = {\n de,\n fi,\n en,\n eo,\n et,\n hu,\n ro,\n ja,\n fr,\n it,\n oc,\n pl,\n es,\n pt,\n ru,\n nb\n}\n\nexport default messages\n\n\n\n// WEBPACK FOOTER //\n// ./src/i18n/messages.js","import merge from 'lodash.merge'\nimport objectPath from 'object-path'\nimport localforage from 'localforage'\nimport { throttle, each } from 'lodash'\n\nlet loaded = false\n\nconst defaultReducer = (state, paths) => (\n paths.length === 0 ? state : paths.reduce((substate, path) => {\n objectPath.set(substate, path, objectPath.get(state, path))\n return substate\n }, {})\n)\n\nconst defaultStorage = (() => {\n return localforage\n})()\n\nconst defaultSetState = (key, state, storage) => {\n if (!loaded) {\n console.log('waiting for old state to be loaded...')\n } else {\n return storage.setItem(key, state)\n }\n}\n\nexport default function createPersistedState ({\n key = 'vuex-lz',\n paths = [],\n getState = (key, storage) => {\n let value = storage.getItem(key)\n return value\n },\n setState = throttle(defaultSetState, 60000),\n reducer = defaultReducer,\n storage = defaultStorage,\n subscriber = store => handler => store.subscribe(handler)\n} = {}) {\n return store => {\n getState(key, storage).then((savedState) => {\n try {\n if (typeof savedState === 'object') {\n // build user cache\n const usersState = savedState.users || {}\n usersState.usersObject = {}\n const users = usersState.users || []\n each(users, (user) => { usersState.usersObject[user.id] = user })\n savedState.users = usersState\n\n store.replaceState(\n merge({}, store.state, savedState)\n )\n }\n if (store.state.config.customTheme) {\n // This is a hack to deal with async loading of config.json and themes\n // See: style_setter.js, setPreset()\n window.themeLoaded = true\n store.dispatch('setOption', {\n name: 'customTheme',\n value: store.state.config.customTheme\n })\n }\n if (store.state.users.lastLoginName) {\n store.dispatch('loginUser', {username: store.state.users.lastLoginName, password: 'xxx'})\n }\n loaded = true\n } catch (e) {\n console.log(\"Couldn't load state\")\n loaded = true\n }\n })\n\n subscriber(store)((mutation, state) => {\n try {\n setState(key, reducer(state, paths), storage)\n } catch (e) {\n console.log(\"Couldn't persist state:\")\n console.log(e)\n }\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/lib/persisted_state.js","import backendInteractorService from '../services/backend_interactor_service/backend_interactor_service.js'\nimport {isArray} from 'lodash'\nimport { Socket } from 'phoenix'\n\nconst api = {\n state: {\n backendInteractor: backendInteractorService(),\n fetchers: {},\n socket: null,\n chatDisabled: false\n },\n mutations: {\n setBackendInteractor (state, backendInteractor) {\n state.backendInteractor = backendInteractor\n },\n addFetcher (state, {timeline, fetcher}) {\n state.fetchers[timeline] = fetcher\n },\n removeFetcher (state, {timeline}) {\n delete state.fetchers[timeline]\n },\n setSocket (state, socket) {\n state.socket = socket\n },\n setChatDisabled (state, value) {\n state.chatDisabled = value\n }\n },\n actions: {\n startFetching (store, timeline) {\n let userId = false\n\n // This is for user timelines\n if (isArray(timeline)) {\n userId = timeline[1]\n timeline = timeline[0]\n }\n\n // Don't start fetching if we already are.\n if (!store.state.fetchers[timeline]) {\n const fetcher = store.state.backendInteractor.startFetching({timeline, store, userId})\n store.commit('addFetcher', {timeline, fetcher})\n }\n },\n stopFetching (store, timeline) {\n const fetcher = store.state.fetchers[timeline]\n window.clearInterval(fetcher)\n store.commit('removeFetcher', {timeline})\n },\n initializeSocket (store, token) {\n // Set up websocket connection\n if (!store.state.chatDisabled) {\n let socket = new Socket('/socket', {params: {token: token}})\n socket.connect()\n store.dispatch('initializeChat', socket)\n }\n },\n disableChat (store) {\n store.commit('setChatDisabled', true)\n }\n }\n}\n\nexport default api\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/api.js","const chat = {\n state: {\n messages: [],\n channel: {state: ''}\n },\n mutations: {\n setChannel (state, channel) {\n state.channel = channel\n },\n addMessage (state, message) {\n state.messages.push(message)\n state.messages = state.messages.slice(-19, 20)\n },\n setMessages (state, messages) {\n state.messages = messages.slice(-19, 20)\n }\n },\n actions: {\n initializeChat (store, socket) {\n const channel = socket.channel('chat:public')\n channel.on('new_msg', (msg) => {\n store.commit('addMessage', msg)\n })\n channel.on('messages', ({messages}) => {\n store.commit('setMessages', messages)\n })\n channel.join()\n store.commit('setChannel', channel)\n }\n }\n}\n\nexport default chat\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/chat.js","import { set } from 'vue'\nimport StyleSetter from '../services/style_setter/style_setter.js'\n\nconst defaultState = {\n name: 'Pleroma FE',\n colors: {},\n hideAttachments: false,\n hideAttachmentsInConv: false,\n hideNsfw: true,\n autoLoad: true,\n streaming: false,\n hoverPreview: true,\n muteWords: []\n}\n\nconst config = {\n state: defaultState,\n mutations: {\n setOption (state, { name, value }) {\n set(state, name, value)\n }\n },\n actions: {\n setPageTitle ({state}, option = '') {\n document.title = `${option} ${state.name}`\n },\n setOption ({ commit, dispatch }, { name, value }) {\n commit('setOption', {name, value})\n switch (name) {\n case 'name':\n dispatch('setPageTitle')\n break\n case 'theme':\n StyleSetter.setPreset(value, commit)\n break\n case 'customTheme':\n StyleSetter.setColors(value, commit)\n }\n }\n }\n}\n\nexport default config\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/config.js","import backendInteractorService from '../services/backend_interactor_service/backend_interactor_service.js'\nimport { compact, map, each, merge } from 'lodash'\nimport { set } from 'vue'\n\n// TODO: Unify with mergeOrAdd in statuses.js\nexport const mergeOrAdd = (arr, obj, item) => {\n if (!item) { return false }\n const oldItem = obj[item.id]\n if (oldItem) {\n // We already have this, so only merge the new info.\n merge(oldItem, item)\n return {item: oldItem, new: false}\n } else {\n // This is a new item, prepare it\n arr.push(item)\n obj[item.id] = item\n return {item, new: true}\n }\n}\n\nexport const mutations = {\n setMuted (state, { user: {id}, muted }) {\n const user = state.usersObject[id]\n set(user, 'muted', muted)\n },\n setCurrentUser (state, user) {\n state.lastLoginName = user.screen_name\n state.currentUser = merge(state.currentUser || {}, user)\n },\n clearCurrentUser (state) {\n state.currentUser = false\n state.lastLoginName = false\n },\n beginLogin (state) {\n state.loggingIn = true\n },\n endLogin (state) {\n state.loggingIn = false\n },\n addNewUsers (state, users) {\n each(users, (user) => mergeOrAdd(state.users, state.usersObject, user))\n },\n setUserForStatus (state, status) {\n status.user = state.usersObject[status.user.id]\n }\n}\n\nexport const defaultState = {\n lastLoginName: false,\n currentUser: false,\n loggingIn: false,\n users: [],\n usersObject: {}\n}\n\nconst users = {\n state: defaultState,\n mutations,\n actions: {\n fetchUser (store, id) {\n store.rootState.api.backendInteractor.fetchUser({id})\n .then((user) => store.commit('addNewUsers', user))\n },\n addNewStatuses (store, { statuses }) {\n const users = map(statuses, 'user')\n const retweetedUsers = compact(map(statuses, 'retweeted_status.user'))\n store.commit('addNewUsers', users)\n store.commit('addNewUsers', retweetedUsers)\n\n // Reconnect users to statuses\n each(statuses, (status) => {\n store.commit('setUserForStatus', status)\n })\n // Reconnect users to retweets\n each(compact(map(statuses, 'retweeted_status')), (status) => {\n store.commit('setUserForStatus', status)\n })\n },\n logout (store) {\n store.commit('clearCurrentUser')\n store.dispatch('stopFetching', 'friends')\n store.commit('setBackendInteractor', backendInteractorService())\n },\n loginUser (store, userCredentials) {\n return new Promise((resolve, reject) => {\n const commit = store.commit\n commit('beginLogin')\n store.rootState.api.backendInteractor.verifyCredentials(userCredentials)\n .then((response) => {\n if (response.ok) {\n response.json()\n .then((user) => {\n user.credentials = userCredentials\n commit('setCurrentUser', user)\n commit('addNewUsers', [user])\n\n // Set our new backend interactor\n commit('setBackendInteractor', backendInteractorService(userCredentials))\n\n if (user.token) {\n store.dispatch('initializeSocket', user.token)\n }\n\n // Start getting fresh tweets.\n store.dispatch('startFetching', 'friends')\n\n // Get user mutes and follower info\n store.rootState.api.backendInteractor.fetchMutes().then((mutedUsers) => {\n each(mutedUsers, (user) => { user.muted = true })\n store.commit('addNewUsers', mutedUsers)\n })\n\n if ('Notification' in window && window.Notification.permission === 'default') {\n window.Notification.requestPermission()\n }\n\n // Fetch our friends\n store.rootState.api.backendInteractor.fetchFriends()\n .then((friends) => commit('addNewUsers', friends))\n })\n } else {\n // Authentication failed\n commit('endLogin')\n if (response.status === 401) {\n reject('Wrong username or password')\n } else {\n reject('An error occurred, please try again')\n }\n }\n commit('endLogin')\n resolve()\n })\n .catch((error) => {\n console.log(error)\n commit('endLogin')\n reject('Failed to connect to server, try again')\n })\n })\n }\n }\n}\n\nexport default users\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/users.js","import { reduce, find } from 'lodash'\n\nexport const replaceWord = (str, toReplace, replacement) => {\n return str.slice(0, toReplace.start) + replacement + str.slice(toReplace.end)\n}\n\nexport const wordAtPosition = (str, pos) => {\n const words = splitIntoWords(str)\n const wordsWithPosition = addPositionToWords(words)\n\n return find(wordsWithPosition, ({start, end}) => start <= pos && end > pos)\n}\n\nexport const addPositionToWords = (words) => {\n return reduce(words, (result, word) => {\n const data = {\n word,\n start: 0,\n end: word.length\n }\n\n if (result.length > 0) {\n const previous = result.pop()\n\n data.start += previous.end\n data.end += previous.end\n\n result.push(previous)\n }\n\n result.push(data)\n\n return result\n }, [])\n}\n\nexport const splitIntoWords = (str) => {\n // Split at word boundaries\n const regex = /\\b/\n const triggers = /[@#:]+$/\n\n let split = str.split(regex)\n\n // Add trailing @ and # to the following word.\n const words = reduce(split, (result, word) => {\n if (result.length > 0) {\n let previous = result.pop()\n const matches = previous.match(triggers)\n if (matches) {\n previous = previous.replace(triggers, '')\n word = matches[0] + word\n }\n result.push(previous)\n }\n result.push(word)\n\n return result\n }, [])\n\n return words\n}\n\nconst completion = {\n wordAtPosition,\n addPositionToWords,\n splitIntoWords,\n replaceWord\n}\n\nexport default completion\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/completion/completion.js","import { times } from 'lodash'\nimport { rgb2hex, hex2rgb } from '../color_convert/color_convert.js'\n\n// While this is not used anymore right now, I left it in if we want to do custom\n// styles that aren't just colors, so user can pick from a few different distinct\n// styles as well as set their own colors in the future.\n\nconst setStyle = (href, commit) => {\n /***\n What's going on here?\n I want to make it easy for admins to style this application. To have\n a good set of default themes, I chose the system from base16\n (https://chriskempson.github.io/base16/) to style all elements. They\n all have the base00..0F classes. So the only thing an admin needs to\n do to style Pleroma is to change these colors in that one css file.\n Some default things (body text color, link color) need to be set dy-\n namically, so this is done here by waiting for the stylesheet to be\n loaded and then creating an element with the respective classes.\n\n It is a bit weird, but should make life for admins somewhat easier.\n ***/\n const head = document.head\n const body = document.body\n body.style.display = 'none'\n const cssEl = document.createElement('link')\n cssEl.setAttribute('rel', 'stylesheet')\n cssEl.setAttribute('href', href)\n head.appendChild(cssEl)\n\n const setDynamic = () => {\n const baseEl = document.createElement('div')\n body.appendChild(baseEl)\n\n let colors = {}\n times(16, (n) => {\n const name = `base0${n.toString(16).toUpperCase()}`\n baseEl.setAttribute('class', name)\n const color = window.getComputedStyle(baseEl).getPropertyValue('color')\n colors[name] = color\n })\n\n commit('setOption', { name: 'colors', value: colors })\n\n body.removeChild(baseEl)\n\n const styleEl = document.createElement('style')\n head.appendChild(styleEl)\n // const styleSheet = styleEl.sheet\n\n body.style.display = 'initial'\n }\n\n cssEl.addEventListener('load', setDynamic)\n}\n\nconst setColors = (col, commit) => {\n const head = document.head\n const body = document.body\n body.style.display = 'none'\n\n const styleEl = document.createElement('style')\n head.appendChild(styleEl)\n const styleSheet = styleEl.sheet\n\n const isDark = (col.text.r + col.text.g + col.text.b) > (col.bg.r + col.bg.g + col.bg.b)\n let colors = {}\n let radii = {}\n\n const mod = isDark ? -10 : 10\n\n colors.bg = rgb2hex(col.bg.r, col.bg.g, col.bg.b) // background\n colors.lightBg = rgb2hex((col.bg.r + col.fg.r) / 2, (col.bg.g + col.fg.g) / 2, (col.bg.b + col.fg.b) / 2) // hilighted bg\n colors.btn = rgb2hex(col.fg.r, col.fg.g, col.fg.b) // panels & buttons\n colors.input = `rgba(${col.fg.r}, ${col.fg.g}, ${col.fg.b}, .5)`\n colors.border = rgb2hex(col.fg.r - mod, col.fg.g - mod, col.fg.b - mod) // borders\n colors.faint = `rgba(${col.text.r}, ${col.text.g}, ${col.text.b}, .5)`\n colors.fg = rgb2hex(col.text.r, col.text.g, col.text.b) // text\n colors.lightFg = rgb2hex(col.text.r - mod * 5, col.text.g - mod * 5, col.text.b - mod * 5) // strong text\n\n colors['base07'] = rgb2hex(col.text.r - mod * 2, col.text.g - mod * 2, col.text.b - mod * 2)\n\n colors.link = rgb2hex(col.link.r, col.link.g, col.link.b) // links\n colors.icon = rgb2hex((col.bg.r + col.text.r) / 2, (col.bg.g + col.text.g) / 2, (col.bg.b + col.text.b) / 2) // icons\n\n colors.cBlue = col.cBlue && rgb2hex(col.cBlue.r, col.cBlue.g, col.cBlue.b)\n colors.cRed = col.cRed && rgb2hex(col.cRed.r, col.cRed.g, col.cRed.b)\n colors.cGreen = col.cGreen && rgb2hex(col.cGreen.r, col.cGreen.g, col.cGreen.b)\n colors.cOrange = col.cOrange && rgb2hex(col.cOrange.r, col.cOrange.g, col.cOrange.b)\n\n colors.cAlertRed = col.cRed && `rgba(${col.cRed.r}, ${col.cRed.g}, ${col.cRed.b}, .5)`\n\n radii.btnRadius = col.btnRadius\n radii.inputRadius = col.inputRadius\n radii.panelRadius = col.panelRadius\n radii.avatarRadius = col.avatarRadius\n radii.avatarAltRadius = col.avatarAltRadius\n radii.tooltipRadius = col.tooltipRadius\n radii.attachmentRadius = col.attachmentRadius\n\n styleSheet.toString()\n styleSheet.insertRule(`body { ${Object.entries(colors).filter(([k, v]) => v).map(([k, v]) => `--${k}: ${v}`).join(';')} }`, 'index-max')\n styleSheet.insertRule(`body { ${Object.entries(radii).filter(([k, v]) => v).map(([k, v]) => `--${k}: ${v}px`).join(';')} }`, 'index-max')\n body.style.display = 'initial'\n\n commit('setOption', { name: 'colors', value: colors })\n commit('setOption', { name: 'radii', value: radii })\n commit('setOption', { name: 'customTheme', value: col })\n}\n\nconst setPreset = (val, commit) => {\n window.fetch('/static/styles.json')\n .then((data) => data.json())\n .then((themes) => {\n const theme = themes[val] ? themes[val] : themes['pleroma-dark']\n const bgRgb = hex2rgb(theme[1])\n const fgRgb = hex2rgb(theme[2])\n const textRgb = hex2rgb(theme[3])\n const linkRgb = hex2rgb(theme[4])\n\n const cRedRgb = hex2rgb(theme[5] || '#FF0000')\n const cGreenRgb = hex2rgb(theme[6] || '#00FF00')\n const cBlueRgb = hex2rgb(theme[7] || '#0000FF')\n const cOrangeRgb = hex2rgb(theme[8] || '#E3FF00')\n\n const col = {\n bg: bgRgb,\n fg: fgRgb,\n text: textRgb,\n link: linkRgb,\n cRed: cRedRgb,\n cBlue: cBlueRgb,\n cGreen: cGreenRgb,\n cOrange: cOrangeRgb\n }\n\n // This is a hack, this function is only called during initial load.\n // We want to cancel loading the theme from config.json if we're already\n // loading a theme from the persisted state.\n // Needed some way of dealing with the async way of things.\n // load config -> set preset -> wait for styles.json to load ->\n // load persisted state -> set colors -> styles.json loaded -> set colors\n if (!window.themeLoaded) {\n setColors(col, commit)\n }\n })\n}\n\nconst StyleSetter = {\n setStyle,\n setPreset,\n setColors\n}\n\nexport default StyleSetter\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/style_setter/style_setter.js","import UserPanel from './components/user_panel/user_panel.vue'\nimport NavPanel from './components/nav_panel/nav_panel.vue'\nimport Notifications from './components/notifications/notifications.vue'\nimport UserFinder from './components/user_finder/user_finder.vue'\nimport WhoToFollowPanel from './components/who_to_follow_panel/who_to_follow_panel.vue'\nimport InstanceSpecificPanel from './components/instance_specific_panel/instance_specific_panel.vue'\nimport ChatPanel from './components/chat_panel/chat_panel.vue'\n\nexport default {\n name: 'app',\n components: {\n UserPanel,\n NavPanel,\n Notifications,\n UserFinder,\n WhoToFollowPanel,\n InstanceSpecificPanel,\n ChatPanel\n },\n data: () => ({\n mobileActivePanel: 'timeline'\n }),\n computed: {\n currentUser () { return this.$store.state.users.currentUser },\n background () {\n return this.currentUser.background_image || this.$store.state.config.background\n },\n logoStyle () { return { 'background-image': `url(${this.$store.state.config.logo})` } },\n style () { return { 'background-image': `url(${this.background})` } },\n sitename () { return this.$store.state.config.name },\n chat () { return this.$store.state.chat.channel.state === 'joined' },\n showWhoToFollowPanel () { return this.$store.state.config.showWhoToFollowPanel },\n showInstanceSpecificPanel () { return this.$store.state.config.showInstanceSpecificPanel }\n },\n methods: {\n activatePanel (panelName) {\n this.mobileActivePanel = panelName\n },\n scrollToTop () {\n window.scrollTo(0, 0)\n },\n logout () {\n this.$store.dispatch('logout')\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/App.js","import StillImage from '../still-image/still-image.vue'\nimport nsfwImage from '../../assets/nsfw.png'\nimport fileTypeService from '../../services/file_type/file_type.service.js'\n\nconst Attachment = {\n props: [\n 'attachment',\n 'nsfw',\n 'statusId',\n 'size'\n ],\n data () {\n return {\n nsfwImage,\n hideNsfwLocal: this.$store.state.config.hideNsfw,\n showHidden: false,\n loading: false,\n img: document.createElement('img')\n }\n },\n components: {\n StillImage\n },\n computed: {\n type () {\n return fileTypeService.fileType(this.attachment.mimetype)\n },\n hidden () {\n return this.nsfw && this.hideNsfwLocal && !this.showHidden\n },\n isEmpty () {\n return (this.type === 'html' && !this.attachment.oembed) || this.type === 'unknown'\n },\n isSmall () {\n return this.size === 'small'\n },\n fullwidth () {\n return fileTypeService.fileType(this.attachment.mimetype) === 'html'\n }\n },\n methods: {\n linkClicked ({target}) {\n if (target.tagName === 'A') {\n window.open(target.href, '_blank')\n }\n },\n toggleHidden () {\n if (this.img.onload) {\n this.img.onload()\n } else {\n this.loading = true\n this.img.src = this.attachment.url\n this.img.onload = () => {\n this.loading = false\n this.showHidden = !this.showHidden\n }\n }\n }\n }\n}\n\nexport default Attachment\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/attachment/attachment.js","const chatPanel = {\n data () {\n return {\n currentMessage: '',\n channel: null,\n collapsed: true\n }\n },\n computed: {\n messages () {\n return this.$store.state.chat.messages\n }\n },\n methods: {\n submit (message) {\n this.$store.state.chat.channel.push('new_msg', {text: message}, 10000)\n this.currentMessage = ''\n },\n togglePanel () {\n this.collapsed = !this.collapsed\n }\n }\n}\n\nexport default chatPanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/chat_panel/chat_panel.js","import Conversation from '../conversation/conversation.vue'\nimport { find, toInteger } from 'lodash'\n\nconst conversationPage = {\n components: {\n Conversation\n },\n computed: {\n statusoid () {\n const id = toInteger(this.$route.params.id)\n const statuses = this.$store.state.statuses.allStatuses\n const status = find(statuses, {id})\n\n return status\n }\n }\n}\n\nexport default conversationPage\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/conversation-page/conversation-page.js","import { reduce, filter, sortBy } from 'lodash'\nimport { statusType } from '../../modules/statuses.js'\nimport Status from '../status/status.vue'\n\nconst sortAndFilterConversation = (conversation) => {\n conversation = filter(conversation, (status) => statusType(status) !== 'retweet')\n return sortBy(conversation, 'id')\n}\n\nconst conversation = {\n data () {\n return {\n highlight: null\n }\n },\n props: [\n 'statusoid',\n 'collapsable'\n ],\n computed: {\n status () { return this.statusoid },\n conversation () {\n if (!this.status) {\n return false\n }\n\n const conversationId = this.status.statusnet_conversation_id\n const statuses = this.$store.state.statuses.allStatuses\n const conversation = filter(statuses, { statusnet_conversation_id: conversationId })\n return sortAndFilterConversation(conversation)\n },\n replies () {\n let i = 1\n return reduce(this.conversation, (result, {id, in_reply_to_status_id}) => {\n const irid = Number(in_reply_to_status_id)\n if (irid) {\n result[irid] = result[irid] || []\n result[irid].push({\n name: `#${i}`,\n id: id\n })\n }\n i++\n return result\n }, {})\n }\n },\n components: {\n Status\n },\n created () {\n this.fetchConversation()\n },\n watch: {\n '$route': 'fetchConversation'\n },\n methods: {\n fetchConversation () {\n if (this.status) {\n const conversationId = this.status.statusnet_conversation_id\n this.$store.state.api.backendInteractor.fetchConversation({id: conversationId})\n .then((statuses) => this.$store.dispatch('addNewStatuses', { statuses }))\n .then(() => this.setHighlight(this.statusoid.id))\n } else {\n const id = this.$route.params.id\n this.$store.state.api.backendInteractor.fetchStatus({id})\n .then((status) => this.$store.dispatch('addNewStatuses', { statuses: [status] }))\n .then(() => this.fetchConversation())\n }\n },\n getReplies (id) {\n id = Number(id)\n return this.replies[id] || []\n },\n focused (id) {\n if (this.statusoid.retweeted_status) {\n return (id === this.statusoid.retweeted_status.id)\n } else {\n return (id === this.statusoid.id)\n }\n },\n setHighlight (id) {\n this.highlight = Number(id)\n }\n }\n}\n\nexport default conversation\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/conversation/conversation.js","const DeleteButton = {\n props: [ 'status' ],\n methods: {\n deleteStatus () {\n const confirmed = window.confirm('Do you really want to delete this status?')\n if (confirmed) {\n this.$store.dispatch('deleteStatus', { id: this.status.id })\n }\n }\n },\n computed: {\n currentUser () { return this.$store.state.users.currentUser },\n canDelete () { return this.currentUser && this.currentUser.rights.delete_others_notice || this.status.user.id === this.currentUser.id }\n }\n}\n\nexport default DeleteButton\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/delete_button/delete_button.js","const FavoriteButton = {\n props: ['status', 'loggedIn'],\n data () {\n return {\n animated: false\n }\n },\n methods: {\n favorite () {\n if (!this.status.favorited) {\n this.$store.dispatch('favorite', {id: this.status.id})\n } else {\n this.$store.dispatch('unfavorite', {id: this.status.id})\n }\n this.animated = true\n setTimeout(() => {\n this.animated = false\n }, 500)\n }\n },\n computed: {\n classes () {\n return {\n 'icon-star-empty': !this.status.favorited,\n 'icon-star': this.status.favorited,\n 'animate-spin': this.animated\n }\n }\n }\n}\n\nexport default FavoriteButton\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/favorite_button/favorite_button.js","import Timeline from '../timeline/timeline.vue'\nconst FriendsTimeline = {\n components: {\n Timeline\n },\n computed: {\n timeline () { return this.$store.state.statuses.timelines.friends }\n }\n}\n\nexport default FriendsTimeline\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/friends_timeline/friends_timeline.js","const InstanceSpecificPanel = {\n computed: {\n instanceSpecificPanelContent () {\n return this.$store.state.config.instanceSpecificPanelContent\n }\n }\n}\n\nexport default InstanceSpecificPanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/instance_specific_panel/instance_specific_panel.js","const LoginForm = {\n data: () => ({\n user: {},\n authError: false\n }),\n computed: {\n loggingIn () { return this.$store.state.users.loggingIn },\n registrationOpen () { return this.$store.state.config.registrationOpen }\n },\n methods: {\n submit () {\n this.$store.dispatch('loginUser', this.user).then(\n () => {},\n (error) => {\n this.authError = error\n this.user.username = ''\n this.user.password = ''\n }\n )\n }\n }\n}\n\nexport default LoginForm\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/login_form/login_form.js","/* eslint-env browser */\nimport statusPosterService from '../../services/status_poster/status_poster.service.js'\n\nconst mediaUpload = {\n mounted () {\n const input = this.$el.querySelector('input')\n\n input.addEventListener('change', ({target}) => {\n const file = target.files[0]\n this.uploadFile(file)\n })\n },\n data () {\n return {\n uploading: false\n }\n },\n methods: {\n uploadFile (file) {\n const self = this\n const store = this.$store\n const formData = new FormData()\n formData.append('media', file)\n\n self.$emit('uploading')\n self.uploading = true\n\n statusPosterService.uploadMedia({ store, formData })\n .then((fileData) => {\n self.$emit('uploaded', fileData)\n self.uploading = false\n }, (error) => { // eslint-disable-line handle-callback-err\n self.$emit('upload-failed')\n self.uploading = false\n })\n },\n fileDrop (e) {\n if (e.dataTransfer.files.length > 0) {\n e.preventDefault() // allow dropping text like before\n this.uploadFile(e.dataTransfer.files[0])\n }\n },\n fileDrag (e) {\n let types = e.dataTransfer.types\n if (types.contains('Files')) {\n e.dataTransfer.dropEffect = 'copy'\n } else {\n e.dataTransfer.dropEffect = 'none'\n }\n }\n },\n props: [\n 'dropFiles'\n ],\n watch: {\n 'dropFiles': function (fileInfos) {\n if (!this.uploading) {\n this.uploadFile(fileInfos[0])\n }\n }\n }\n}\n\nexport default mediaUpload\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/media_upload/media_upload.js","import Timeline from '../timeline/timeline.vue'\n\nconst Mentions = {\n computed: {\n timeline () {\n return this.$store.state.statuses.timelines.mentions\n }\n },\n components: {\n Timeline\n }\n}\n\nexport default Mentions\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/mentions/mentions.js","const NavPanel = {\n computed: {\n currentUser () {\n return this.$store.state.users.currentUser\n },\n chat () {\n return this.$store.state.chat.channel\n }\n }\n}\n\nexport default NavPanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/nav_panel/nav_panel.js","import Status from '../status/status.vue'\nimport StillImage from '../still-image/still-image.vue'\nimport UserCardContent from '../user_card_content/user_card_content.vue'\n\nconst Notification = {\n data () {\n return {\n userExpanded: false\n }\n },\n props: [\n 'notification'\n ],\n components: {\n Status, StillImage, UserCardContent\n },\n methods: {\n toggleUserExpanded () {\n this.userExpanded = !this.userExpanded\n }\n }\n}\n\nexport default Notification\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/notification/notification.js","import Notification from '../notification/notification.vue'\n\nimport { sortBy, take, filter } from 'lodash'\n\nconst Notifications = {\n data () {\n return {\n visibleNotificationCount: 20\n }\n },\n computed: {\n notifications () {\n return this.$store.state.statuses.notifications\n },\n unseenNotifications () {\n return filter(this.notifications, ({seen}) => !seen)\n },\n visibleNotifications () {\n // Don't know why, but sortBy([seen, -action.id]) doesn't work.\n let sortedNotifications = sortBy(this.notifications, ({action}) => -action.id)\n sortedNotifications = sortBy(sortedNotifications, 'seen')\n return take(sortedNotifications, this.visibleNotificationCount)\n },\n unseenCount () {\n return this.unseenNotifications.length\n }\n },\n components: {\n Notification\n },\n watch: {\n unseenCount (count) {\n if (count > 0) {\n this.$store.dispatch('setPageTitle', `(${count})`)\n } else {\n this.$store.dispatch('setPageTitle', '')\n }\n }\n },\n methods: {\n markAsSeen () {\n this.$store.commit('markNotificationsAsSeen', this.visibleNotifications)\n }\n }\n}\n\nexport default Notifications\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/notifications/notifications.js","import statusPoster from '../../services/status_poster/status_poster.service.js'\nimport MediaUpload from '../media_upload/media_upload.vue'\nimport fileTypeService from '../../services/file_type/file_type.service.js'\nimport Completion from '../../services/completion/completion.js'\nimport { take, filter, reject, map, uniqBy } from 'lodash'\n\nconst buildMentionsString = ({user, attentions}, currentUser) => {\n let allAttentions = [...attentions]\n\n allAttentions.unshift(user)\n\n allAttentions = uniqBy(allAttentions, 'id')\n allAttentions = reject(allAttentions, {id: currentUser.id})\n\n let mentions = map(allAttentions, (attention) => {\n return `@${attention.screen_name}`\n })\n\n return mentions.join(' ') + ' '\n}\n\nconst PostStatusForm = {\n props: [\n 'replyTo',\n 'repliedUser',\n 'attentions'\n ],\n components: {\n MediaUpload\n },\n mounted () {\n this.resize(this.$refs.textarea)\n },\n data () {\n const preset = this.$route.query.message\n let statusText = preset || ''\n\n if (this.replyTo) {\n const currentUser = this.$store.state.users.currentUser\n statusText = buildMentionsString({ user: this.repliedUser, attentions: this.attentions }, currentUser)\n }\n\n return {\n dropFiles: [],\n submitDisabled: false,\n error: null,\n posting: false,\n highlighted: 0,\n newStatus: {\n status: statusText,\n files: []\n },\n caret: 0\n }\n },\n computed: {\n candidates () {\n const firstchar = this.textAtCaret.charAt(0)\n if (firstchar === '@') {\n const matchedUsers = filter(this.users, (user) => (String(user.name + user.screen_name)).toUpperCase()\n .match(this.textAtCaret.slice(1).toUpperCase()))\n if (matchedUsers.length <= 0) {\n return false\n }\n // eslint-disable-next-line camelcase\n return map(take(matchedUsers, 5), ({screen_name, name, profile_image_url_original}, index) => ({\n // eslint-disable-next-line camelcase\n screen_name: `@${screen_name}`,\n name: name,\n img: profile_image_url_original,\n highlighted: index === this.highlighted\n }))\n } else if (firstchar === ':') {\n if (this.textAtCaret === ':') { return }\n const matchedEmoji = filter(this.emoji.concat(this.customEmoji), (emoji) => emoji.shortcode.match(this.textAtCaret.slice(1)))\n if (matchedEmoji.length <= 0) {\n return false\n }\n return map(take(matchedEmoji, 5), ({shortcode, image_url, utf}, index) => ({\n // eslint-disable-next-line camelcase\n screen_name: `:${shortcode}:`,\n name: '',\n utf: utf || '',\n img: image_url,\n highlighted: index === this.highlighted\n }))\n } else {\n return false\n }\n },\n textAtCaret () {\n return (this.wordAtCaret || {}).word || ''\n },\n wordAtCaret () {\n const word = Completion.wordAtPosition(this.newStatus.status, this.caret - 1) || {}\n return word\n },\n users () {\n return this.$store.state.users.users\n },\n emoji () {\n return this.$store.state.config.emoji || []\n },\n customEmoji () {\n return this.$store.state.config.customEmoji || []\n },\n statusLength () {\n return this.newStatus.status.length\n },\n statusLengthLimit () {\n return this.$store.state.config.textlimit\n },\n hasStatusLengthLimit () {\n return this.statusLengthLimit > 0\n },\n charactersLeft () {\n return this.statusLengthLimit - this.statusLength\n },\n isOverLengthLimit () {\n return this.hasStatusLengthLimit && (this.statusLength > this.statusLengthLimit)\n }\n },\n methods: {\n replace (replacement) {\n this.newStatus.status = Completion.replaceWord(this.newStatus.status, this.wordAtCaret, replacement)\n const el = this.$el.querySelector('textarea')\n el.focus()\n this.caret = 0\n },\n replaceCandidate (e) {\n const len = this.candidates.length || 0\n if (this.textAtCaret === ':' || e.ctrlKey) { return }\n if (len > 0) {\n e.preventDefault()\n const candidate = this.candidates[this.highlighted]\n const replacement = candidate.utf || (candidate.screen_name + ' ')\n this.newStatus.status = Completion.replaceWord(this.newStatus.status, this.wordAtCaret, replacement)\n const el = this.$el.querySelector('textarea')\n el.focus()\n this.caret = 0\n this.highlighted = 0\n }\n },\n cycleBackward (e) {\n const len = this.candidates.length || 0\n if (len > 0) {\n e.preventDefault()\n this.highlighted -= 1\n if (this.highlighted < 0) {\n this.highlighted = this.candidates.length - 1\n }\n } else {\n this.highlighted = 0\n }\n },\n cycleForward (e) {\n const len = this.candidates.length || 0\n if (len > 0) {\n if (e.shiftKey) { return }\n e.preventDefault()\n this.highlighted += 1\n if (this.highlighted >= len) {\n this.highlighted = 0\n }\n } else {\n this.highlighted = 0\n }\n },\n setCaret ({target: {selectionStart}}) {\n this.caret = selectionStart\n },\n postStatus (newStatus) {\n if (this.posting) { return }\n if (this.submitDisabled) { return }\n\n if (this.newStatus.status === '') {\n if (this.newStatus.files.length > 0) {\n this.newStatus.status = '\\u200b' // hack\n } else {\n this.error = 'Cannot post an empty status with no files'\n return\n }\n }\n\n this.posting = true\n statusPoster.postStatus({\n status: newStatus.status,\n media: newStatus.files,\n store: this.$store,\n inReplyToStatusId: this.replyTo\n }).then((data) => {\n if (!data.error) {\n this.newStatus = {\n status: '',\n files: []\n }\n this.$emit('posted')\n let el = this.$el.querySelector('textarea')\n el.style.height = '16px'\n this.error = null\n } else {\n this.error = data.error\n }\n this.posting = false\n })\n },\n addMediaFile (fileInfo) {\n this.newStatus.files.push(fileInfo)\n this.enableSubmit()\n },\n removeMediaFile (fileInfo) {\n let index = this.newStatus.files.indexOf(fileInfo)\n this.newStatus.files.splice(index, 1)\n },\n disableSubmit () {\n this.submitDisabled = true\n },\n enableSubmit () {\n this.submitDisabled = false\n },\n type (fileInfo) {\n return fileTypeService.fileType(fileInfo.mimetype)\n },\n paste (e) {\n if (e.clipboardData.files.length > 0) {\n // Strangely, files property gets emptied after event propagation\n // Trying to wrap it in array doesn't work. Plus I doubt it's possible\n // to hold more than one file in clipboard.\n this.dropFiles = [e.clipboardData.files[0]]\n }\n },\n fileDrop (e) {\n if (e.dataTransfer.files.length > 0) {\n e.preventDefault() // allow dropping text like before\n this.dropFiles = e.dataTransfer.files\n }\n },\n fileDrag (e) {\n e.dataTransfer.dropEffect = 'copy'\n },\n resize (e) {\n const vertPadding = Number(window.getComputedStyle(e.target)['padding-top'].substr(0, 1)) +\n Number(window.getComputedStyle(e.target)['padding-bottom'].substr(0, 1))\n e.target.style.height = 'auto'\n e.target.style.height = `${e.target.scrollHeight - vertPadding}px`\n if (e.target.value === '') {\n e.target.style.height = '16px'\n }\n },\n clearError () {\n this.error = null\n }\n }\n}\n\nexport default PostStatusForm\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/post_status_form/post_status_form.js","import Timeline from '../timeline/timeline.vue'\nconst PublicAndExternalTimeline = {\n components: {\n Timeline\n },\n computed: {\n timeline () { return this.$store.state.statuses.timelines.publicAndExternal }\n },\n created () {\n this.$store.dispatch('startFetching', 'publicAndExternal')\n },\n destroyed () {\n this.$store.dispatch('stopFetching', 'publicAndExternal')\n }\n}\n\nexport default PublicAndExternalTimeline\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/public_and_external_timeline/public_and_external_timeline.js","import Timeline from '../timeline/timeline.vue'\nconst PublicTimeline = {\n components: {\n Timeline\n },\n computed: {\n timeline () { return this.$store.state.statuses.timelines.public }\n },\n created () {\n this.$store.dispatch('startFetching', 'public')\n },\n destroyed () {\n this.$store.dispatch('stopFetching', 'public')\n }\n\n}\n\nexport default PublicTimeline\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/public_timeline/public_timeline.js","const registration = {\n data: () => ({\n user: {},\n error: false,\n registering: false\n }),\n created () {\n if (!this.$store.state.config.registrationOpen || !!this.$store.state.users.currentUser) {\n this.$router.push('/main/all')\n }\n },\n computed: {\n termsofservice () { return this.$store.state.config.tos }\n },\n methods: {\n submit () {\n this.registering = true\n this.user.nickname = this.user.username\n this.$store.state.api.backendInteractor.register(this.user).then(\n (response) => {\n if (response.ok) {\n this.$store.dispatch('loginUser', this.user)\n this.$router.push('/main/all')\n this.registering = false\n } else {\n this.registering = false\n response.json().then((data) => {\n this.error = data.error\n })\n }\n }\n )\n }\n }\n}\n\nexport default registration\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/registration/registration.js","const RetweetButton = {\n props: ['status', 'loggedIn'],\n data () {\n return {\n animated: false\n }\n },\n methods: {\n retweet () {\n if (!this.status.repeated) {\n this.$store.dispatch('retweet', {id: this.status.id})\n }\n this.animated = true\n setTimeout(() => {\n this.animated = false\n }, 500)\n }\n },\n computed: {\n classes () {\n return {\n 'retweeted': this.status.repeated,\n 'animate-spin': this.animated\n }\n }\n }\n}\n\nexport default RetweetButton\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/retweet_button/retweet_button.js","import StyleSwitcher from '../style_switcher/style_switcher.vue'\nimport { filter, trim } from 'lodash'\n\nconst settings = {\n data () {\n return {\n hideAttachmentsLocal: this.$store.state.config.hideAttachments,\n hideAttachmentsInConvLocal: this.$store.state.config.hideAttachmentsInConv,\n hideNsfwLocal: this.$store.state.config.hideNsfw,\n muteWordsString: this.$store.state.config.muteWords.join('\\n'),\n autoLoadLocal: this.$store.state.config.autoLoad,\n streamingLocal: this.$store.state.config.streaming,\n hoverPreviewLocal: this.$store.state.config.hoverPreview,\n stopGifs: this.$store.state.config.stopGifs\n }\n },\n components: {\n StyleSwitcher\n },\n computed: {\n user () {\n return this.$store.state.users.currentUser\n }\n },\n watch: {\n hideAttachmentsLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideAttachments', value })\n },\n hideAttachmentsInConvLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideAttachmentsInConv', value })\n },\n hideNsfwLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideNsfw', value })\n },\n autoLoadLocal (value) {\n this.$store.dispatch('setOption', { name: 'autoLoad', value })\n },\n streamingLocal (value) {\n this.$store.dispatch('setOption', { name: 'streaming', value })\n },\n hoverPreviewLocal (value) {\n this.$store.dispatch('setOption', { name: 'hoverPreview', value })\n },\n muteWordsString (value) {\n value = filter(value.split('\\n'), (word) => trim(word).length > 0)\n this.$store.dispatch('setOption', { name: 'muteWords', value })\n },\n stopGifs (value) {\n this.$store.dispatch('setOption', { name: 'stopGifs', value })\n }\n }\n}\n\nexport default settings\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/settings/settings.js","import Attachment from '../attachment/attachment.vue'\nimport FavoriteButton from '../favorite_button/favorite_button.vue'\nimport RetweetButton from '../retweet_button/retweet_button.vue'\nimport DeleteButton from '../delete_button/delete_button.vue'\nimport PostStatusForm from '../post_status_form/post_status_form.vue'\nimport UserCardContent from '../user_card_content/user_card_content.vue'\nimport StillImage from '../still-image/still-image.vue'\nimport { filter, find } from 'lodash'\n\nconst Status = {\n name: 'Status',\n props: [\n 'statusoid',\n 'expandable',\n 'inConversation',\n 'focused',\n 'highlight',\n 'compact',\n 'replies',\n 'noReplyLinks',\n 'noHeading',\n 'inlineExpanded'\n ],\n data: () => ({\n replying: false,\n expanded: false,\n unmuted: false,\n userExpanded: false,\n preview: null,\n showPreview: false,\n showingTall: false\n }),\n computed: {\n muteWords () {\n return this.$store.state.config.muteWords\n },\n hideAttachments () {\n return (this.$store.state.config.hideAttachments && !this.inConversation) ||\n (this.$store.state.config.hideAttachmentsInConv && this.inConversation)\n },\n retweet () { return !!this.statusoid.retweeted_status },\n retweeter () { return this.statusoid.user.name },\n status () {\n if (this.retweet) {\n return this.statusoid.retweeted_status\n } else {\n return this.statusoid\n }\n },\n loggedIn () {\n return !!this.$store.state.users.currentUser\n },\n muteWordHits () {\n const statusText = this.status.text.toLowerCase()\n const hits = filter(this.muteWords, (muteWord) => {\n return statusText.includes(muteWord.toLowerCase())\n })\n\n return hits\n },\n muted () { return !this.unmuted && (this.status.user.muted || this.muteWordHits.length > 0) },\n isReply () { return !!this.status.in_reply_to_status_id },\n isFocused () {\n // retweet or root of an expanded conversation\n if (this.focused) {\n return true\n } else if (!this.inConversation) {\n return false\n }\n // use conversation highlight only when in conversation\n return this.status.id === this.highlight\n },\n // This is a bit hacky, but we want to approximate post height before rendering\n // so we count newlines (masto uses for paragraphs, GS uses 20\n },\n attachmentSize () {\n if ((this.$store.state.config.hideAttachments && !this.inConversation) ||\n (this.$store.state.config.hideAttachmentsInConv && this.inConversation)) {\n return 'hide'\n } else if (this.compact) {\n return 'small'\n }\n return 'normal'\n }\n },\n components: {\n Attachment,\n FavoriteButton,\n RetweetButton,\n DeleteButton,\n PostStatusForm,\n UserCardContent,\n StillImage\n },\n methods: {\n visibilityIcon(visibility) {\n switch(visibility) {\n case \"private\":\n return \"icon-lock\"\n case \"unlisted\":\n return \"icon-lock-open-alt\"\n case \"direct\":\n return \"icon-mail-alt\"\n default:\n return \"icon-globe\"\n }\n },\n linkClicked ({target}) {\n if (target.tagName === 'SPAN') {\n target = target.parentNode\n }\n if (target.tagName === 'A') {\n window.open(target.href, '_blank')\n }\n },\n toggleReplying () {\n this.replying = !this.replying\n },\n gotoOriginal (id) {\n // only handled by conversation, not status_or_conversation\n if (this.inConversation) {\n this.$emit('goto', id)\n }\n },\n toggleExpanded () {\n this.$emit('toggleExpanded')\n },\n toggleMute () {\n this.unmuted = !this.unmuted\n },\n toggleUserExpanded () {\n this.userExpanded = !this.userExpanded\n },\n toggleShowTall () {\n this.showingTall = !this.showingTall\n },\n replyEnter (id, event) {\n this.showPreview = true\n const targetId = Number(id)\n const statuses = this.$store.state.statuses.allStatuses\n\n if (!this.preview) {\n // if we have the status somewhere already\n this.preview = find(statuses, { 'id': targetId })\n // or if we have to fetch it\n if (!this.preview) {\n this.$store.state.api.backendInteractor.fetchStatus({id}).then((status) => {\n this.preview = status\n })\n }\n } else if (this.preview.id !== targetId) {\n this.preview = find(statuses, { 'id': targetId })\n }\n },\n replyLeave () {\n this.showPreview = false\n }\n },\n watch: {\n 'highlight': function (id) {\n id = Number(id)\n if (this.status.id === id) {\n let rect = this.$el.getBoundingClientRect()\n if (rect.top < 100) {\n window.scrollBy(0, rect.top - 200)\n } else if (rect.bottom > window.innerHeight - 50) {\n window.scrollBy(0, rect.bottom - window.innerHeight + 50)\n }\n }\n }\n }\n}\n\nexport default Status\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/status/status.js","import Status from '../status/status.vue'\nimport Conversation from '../conversation/conversation.vue'\n\nconst statusOrConversation = {\n props: ['statusoid'],\n data () {\n return {\n expanded: false\n }\n },\n components: {\n Status,\n Conversation\n },\n methods: {\n toggleExpanded () {\n this.expanded = !this.expanded\n }\n }\n}\n\nexport default statusOrConversation\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/status_or_conversation/status_or_conversation.js","const StillImage = {\n props: [\n 'src',\n 'referrerpolicy',\n 'mimetype'\n ],\n data () {\n return {\n stopGifs: this.$store.state.config.stopGifs\n }\n },\n computed: {\n animated () {\n return this.stopGifs && (this.mimetype === 'image/gif' || this.src.endsWith('.gif'))\n }\n },\n methods: {\n onLoad () {\n const canvas = this.$refs.canvas\n if (!canvas) return\n canvas.getContext('2d').drawImage(this.$refs.src, 1, 1, canvas.width, canvas.height)\n }\n }\n}\n\nexport default StillImage\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/still-image/still-image.js","import { rgbstr2hex } from '../../services/color_convert/color_convert.js'\n\nexport default {\n data () {\n return {\n availableStyles: [],\n selected: this.$store.state.config.theme,\n bgColorLocal: '',\n btnColorLocal: '',\n textColorLocal: '',\n linkColorLocal: '',\n redColorLocal: '',\n blueColorLocal: '',\n greenColorLocal: '',\n orangeColorLocal: '',\n btnRadiusLocal: '',\n inputRadiusLocal: '',\n panelRadiusLocal: '',\n avatarRadiusLocal: '',\n avatarAltRadiusLocal: '',\n attachmentRadiusLocal: '',\n tooltipRadiusLocal: ''\n }\n },\n created () {\n const self = this\n\n window.fetch('/static/styles.json')\n .then((data) => data.json())\n .then((themes) => {\n self.availableStyles = themes\n })\n },\n mounted () {\n this.bgColorLocal = rgbstr2hex(this.$store.state.config.colors.bg)\n this.btnColorLocal = rgbstr2hex(this.$store.state.config.colors.btn)\n this.textColorLocal = rgbstr2hex(this.$store.state.config.colors.fg)\n this.linkColorLocal = rgbstr2hex(this.$store.state.config.colors.link)\n\n this.redColorLocal = rgbstr2hex(this.$store.state.config.colors.cRed)\n this.blueColorLocal = rgbstr2hex(this.$store.state.config.colors.cBlue)\n this.greenColorLocal = rgbstr2hex(this.$store.state.config.colors.cGreen)\n this.orangeColorLocal = rgbstr2hex(this.$store.state.config.colors.cOrange)\n\n this.btnRadiusLocal = this.$store.state.config.radii.btnRadius || 4\n this.inputRadiusLocal = this.$store.state.config.radii.inputRadius || 4\n this.panelRadiusLocal = this.$store.state.config.radii.panelRadius || 10\n this.avatarRadiusLocal = this.$store.state.config.radii.avatarRadius || 5\n this.avatarAltRadiusLocal = this.$store.state.config.radii.avatarAltRadius || 50\n this.tooltipRadiusLocal = this.$store.state.config.radii.tooltipRadius || 2\n this.attachmentRadiusLocal = this.$store.state.config.radii.attachmentRadius || 5\n },\n methods: {\n setCustomTheme () {\n if (!this.bgColorLocal && !this.btnColorLocal && !this.linkColorLocal) {\n // reset to picked themes\n }\n\n const rgb = (hex) => {\n const result = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex)\n return result ? {\n r: parseInt(result[1], 16),\n g: parseInt(result[2], 16),\n b: parseInt(result[3], 16)\n } : null\n }\n const bgRgb = rgb(this.bgColorLocal)\n const btnRgb = rgb(this.btnColorLocal)\n const textRgb = rgb(this.textColorLocal)\n const linkRgb = rgb(this.linkColorLocal)\n\n const redRgb = rgb(this.redColorLocal)\n const blueRgb = rgb(this.blueColorLocal)\n const greenRgb = rgb(this.greenColorLocal)\n const orangeRgb = rgb(this.orangeColorLocal)\n\n if (bgRgb && btnRgb && linkRgb) {\n this.$store.dispatch('setOption', {\n name: 'customTheme',\n value: {\n fg: btnRgb,\n bg: bgRgb,\n text: textRgb,\n link: linkRgb,\n cRed: redRgb,\n cBlue: blueRgb,\n cGreen: greenRgb,\n cOrange: orangeRgb,\n btnRadius: this.btnRadiusLocal,\n inputRadius: this.inputRadiusLocal,\n panelRadius: this.panelRadiusLocal,\n avatarRadius: this.avatarRadiusLocal,\n avatarAltRadius: this.avatarAltRadiusLocal,\n tooltipRadius: this.tooltipRadiusLocal,\n attachmentRadius: this.attachmentRadiusLocal\n }})\n }\n }\n },\n watch: {\n selected () {\n this.bgColorLocal = this.selected[1]\n this.btnColorLocal = this.selected[2]\n this.textColorLocal = this.selected[3]\n this.linkColorLocal = this.selected[4]\n this.redColorLocal = this.selected[5]\n this.greenColorLocal = this.selected[6]\n this.blueColorLocal = this.selected[7]\n this.orangeColorLocal = this.selected[8]\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/style_switcher/style_switcher.js","import Timeline from '../timeline/timeline.vue'\n\nconst TagTimeline = {\n created () {\n this.$store.commit('clearTimeline', { timeline: 'tag' })\n this.$store.dispatch('startFetching', { 'tag': this.tag })\n },\n components: {\n Timeline\n },\n computed: {\n tag () { return this.$route.params.tag },\n timeline () { return this.$store.state.statuses.timelines.tag }\n },\n watch: {\n tag () {\n this.$store.commit('clearTimeline', { timeline: 'tag' })\n this.$store.dispatch('startFetching', { 'tag': this.tag })\n }\n },\n destroyed () {\n this.$store.dispatch('stopFetching', 'tag')\n }\n}\n\nexport default TagTimeline\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/tag_timeline/tag_timeline.js","import Status from '../status/status.vue'\nimport timelineFetcher from '../../services/timeline_fetcher/timeline_fetcher.service.js'\nimport StatusOrConversation from '../status_or_conversation/status_or_conversation.vue'\nimport UserCard from '../user_card/user_card.vue'\n\nconst Timeline = {\n props: [\n 'timeline',\n 'timelineName',\n 'title',\n 'userId',\n 'tag'\n ],\n data () {\n return {\n paused: false\n }\n },\n computed: {\n timelineError () { return this.$store.state.statuses.error },\n followers () {\n return this.timeline.followers\n },\n friends () {\n return this.timeline.friends\n },\n viewing () {\n return this.timeline.viewing\n },\n newStatusCount () {\n return this.timeline.newStatusCount\n },\n newStatusCountStr () {\n if (this.timeline.flushMarker !== 0) {\n return ''\n } else {\n return ` (${this.newStatusCount})`\n }\n }\n },\n components: {\n Status,\n StatusOrConversation,\n UserCard\n },\n created () {\n const store = this.$store\n const credentials = store.state.users.currentUser.credentials\n const showImmediately = this.timeline.visibleStatuses.length === 0\n\n window.addEventListener('scroll', this.scrollLoad)\n\n timelineFetcher.fetchAndUpdate({\n store,\n credentials,\n timeline: this.timelineName,\n showImmediately,\n userId: this.userId,\n tag: this.tag\n })\n\n // don't fetch followers for public, friend, twkn\n if (this.timelineName === 'user') {\n this.fetchFriends()\n this.fetchFollowers()\n }\n },\n destroyed () {\n window.removeEventListener('scroll', this.scrollLoad)\n this.$store.commit('setLoading', { timeline: this.timelineName, value: false })\n },\n methods: {\n showNewStatuses () {\n if (this.timeline.flushMarker !== 0) {\n this.$store.commit('clearTimeline', { timeline: this.timelineName })\n this.$store.commit('queueFlush', { timeline: this.timelineName, id: 0 })\n this.fetchOlderStatuses()\n } else {\n this.$store.commit('showNewStatuses', { timeline: this.timelineName })\n this.paused = false\n }\n },\n fetchOlderStatuses () {\n const store = this.$store\n const credentials = store.state.users.currentUser.credentials\n store.commit('setLoading', { timeline: this.timelineName, value: true })\n timelineFetcher.fetchAndUpdate({\n store,\n credentials,\n timeline: this.timelineName,\n older: true,\n showImmediately: true,\n userId: this.userId,\n tag: this.tag\n }).then(() => store.commit('setLoading', { timeline: this.timelineName, value: false }))\n },\n fetchFollowers () {\n const id = this.userId\n this.$store.state.api.backendInteractor.fetchFollowers({ id })\n .then((followers) => this.$store.dispatch('addFollowers', { followers }))\n },\n fetchFriends () {\n const id = this.userId\n this.$store.state.api.backendInteractor.fetchFriends({ id })\n .then((friends) => this.$store.dispatch('addFriends', { friends }))\n },\n scrollLoad (e) {\n const bodyBRect = document.body.getBoundingClientRect()\n const height = Math.max(bodyBRect.height, -(bodyBRect.y))\n if (this.timeline.loading === false &&\n this.$store.state.config.autoLoad &&\n this.$el.offsetHeight > 0 &&\n (window.innerHeight + window.pageYOffset) >= (height - 750)) {\n this.fetchOlderStatuses()\n }\n }\n },\n watch: {\n newStatusCount (count) {\n if (!this.$store.state.config.streaming) {\n return\n }\n if (count > 0) {\n // only 'stream' them when you're scrolled to the top\n if (window.pageYOffset < 15 && !this.paused) {\n this.showNewStatuses()\n } else {\n this.paused = true\n }\n }\n }\n }\n}\n\nexport default Timeline\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/timeline/timeline.js","import UserCardContent from '../user_card_content/user_card_content.vue'\n\nconst UserCard = {\n props: [\n 'user',\n 'showFollows'\n ],\n data () {\n return {\n userExpanded: false\n }\n },\n components: {\n UserCardContent\n },\n methods: {\n toggleUserExpanded () {\n this.userExpanded = !this.userExpanded\n }\n }\n}\n\nexport default UserCard\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_card/user_card.js","import StillImage from '../still-image/still-image.vue'\nimport { hex2rgb } from '../../services/color_convert/color_convert.js'\n\nexport default {\n props: [ 'user', 'switcher', 'selected', 'hideBio' ],\n computed: {\n headingStyle () {\n const color = this.$store.state.config.colors.bg\n if (color) {\n const rgb = hex2rgb(color)\n const tintColor = `rgba(${Math.floor(rgb.r)}, ${Math.floor(rgb.g)}, ${Math.floor(rgb.b)}, .5)`\n console.log(rgb)\n console.log([\n `url(${this.user.cover_photo})`,\n `linear-gradient(to bottom, ${tintColor}, ${tintColor})`\n ].join(', '))\n return {\n backgroundColor: `rgb(${Math.floor(rgb.r * 0.53)}, ${Math.floor(rgb.g * 0.56)}, ${Math.floor(rgb.b * 0.59)})`,\n backgroundImage: [\n `linear-gradient(to bottom, ${tintColor}, ${tintColor})`,\n `url(${this.user.cover_photo})`\n ].join(', ')\n }\n }\n },\n isOtherUser () {\n return this.user.id !== this.$store.state.users.currentUser.id\n },\n subscribeUrl () {\n // eslint-disable-next-line no-undef\n const serverUrl = new URL(this.user.statusnet_profile_url)\n return `${serverUrl.protocol}//${serverUrl.host}/main/ostatus`\n },\n loggedIn () {\n return this.$store.state.users.currentUser\n },\n dailyAvg () {\n const days = Math.ceil((new Date() - new Date(this.user.created_at)) / (60 * 60 * 24 * 1000))\n return Math.round(this.user.statuses_count / days)\n }\n },\n components: {\n StillImage\n },\n methods: {\n followUser () {\n const store = this.$store\n store.state.api.backendInteractor.followUser(this.user.id)\n .then((followedUser) => store.commit('addNewUsers', [followedUser]))\n },\n unfollowUser () {\n const store = this.$store\n store.state.api.backendInteractor.unfollowUser(this.user.id)\n .then((unfollowedUser) => store.commit('addNewUsers', [unfollowedUser]))\n },\n blockUser () {\n const store = this.$store\n store.state.api.backendInteractor.blockUser(this.user.id)\n .then((blockedUser) => store.commit('addNewUsers', [blockedUser]))\n },\n unblockUser () {\n const store = this.$store\n store.state.api.backendInteractor.unblockUser(this.user.id)\n .then((unblockedUser) => store.commit('addNewUsers', [unblockedUser]))\n },\n toggleMute () {\n const store = this.$store\n store.commit('setMuted', {user: this.user, muted: !this.user.muted})\n store.state.api.backendInteractor.setUserMute(this.user)\n },\n setProfileView (v) {\n if (this.switcher) {\n const store = this.$store\n store.commit('setProfileView', { v })\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_card_content/user_card_content.js","const UserFinder = {\n data: () => ({\n username: undefined,\n hidden: true,\n error: false,\n loading: false\n }),\n methods: {\n findUser (username) {\n username = username[0] === '@' ? username.slice(1) : username\n this.loading = true\n this.$store.state.api.backendInteractor.externalProfile(username)\n .then((user) => {\n this.loading = false\n this.hidden = true\n if (!user.error) {\n this.$store.commit('addNewUsers', [user])\n this.$router.push({name: 'user-profile', params: {id: user.id}})\n } else {\n this.error = true\n }\n })\n },\n toggleHidden () {\n this.hidden = !this.hidden\n },\n dismissError () {\n this.error = false\n }\n }\n}\n\nexport default UserFinder\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_finder/user_finder.js","import LoginForm from '../login_form/login_form.vue'\nimport PostStatusForm from '../post_status_form/post_status_form.vue'\nimport UserCardContent from '../user_card_content/user_card_content.vue'\n\nconst UserPanel = {\n computed: {\n user () { return this.$store.state.users.currentUser }\n },\n components: {\n LoginForm,\n PostStatusForm,\n UserCardContent\n }\n}\n\nexport default UserPanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_panel/user_panel.js","import UserCardContent from '../user_card_content/user_card_content.vue'\nimport Timeline from '../timeline/timeline.vue'\n\nconst UserProfile = {\n created () {\n this.$store.commit('clearTimeline', { timeline: 'user' })\n this.$store.dispatch('startFetching', ['user', this.userId])\n if (!this.$store.state.users.usersObject[this.userId]) {\n this.$store.dispatch('fetchUser', this.userId)\n }\n },\n destroyed () {\n this.$store.dispatch('stopFetching', 'user')\n },\n computed: {\n timeline () { return this.$store.state.statuses.timelines.user },\n userId () {\n return this.$route.params.id\n },\n user () {\n if (this.timeline.statuses[0]) {\n return this.timeline.statuses[0].user\n } else {\n return this.$store.state.users.usersObject[this.userId] || false\n }\n }\n },\n watch: {\n userId () {\n this.$store.commit('clearTimeline', { timeline: 'user' })\n this.$store.dispatch('startFetching', ['user', this.userId])\n }\n },\n components: {\n UserCardContent,\n Timeline\n }\n}\n\nexport default UserProfile\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_profile/user_profile.js","import StyleSwitcher from '../style_switcher/style_switcher.vue'\n\nconst UserSettings = {\n data () {\n return {\n newname: this.$store.state.users.currentUser.name,\n newbio: this.$store.state.users.currentUser.description,\n followList: null,\n followImportError: false,\n followsImported: false,\n enableFollowsExport: true,\n uploading: [ false, false, false, false ],\n previews: [ null, null, null ],\n deletingAccount: false,\n deleteAccountConfirmPasswordInput: '',\n deleteAccountError: false\n }\n },\n components: {\n StyleSwitcher\n },\n computed: {\n user () {\n return this.$store.state.users.currentUser\n },\n pleromaBackend () {\n return this.$store.state.config.pleromaBackend\n }\n },\n methods: {\n updateProfile () {\n const name = this.newname\n const description = this.newbio\n this.$store.state.api.backendInteractor.updateProfile({params: {name, description}}).then((user) => {\n if (!user.error) {\n this.$store.commit('addNewUsers', [user])\n this.$store.commit('setCurrentUser', user)\n }\n })\n },\n uploadFile (slot, e) {\n const file = e.target.files[0]\n if (!file) { return }\n // eslint-disable-next-line no-undef\n const reader = new FileReader()\n reader.onload = ({target}) => {\n const img = target.result\n this.previews[slot] = img\n this.$forceUpdate() // just changing the array with the index doesn't update the view\n }\n reader.readAsDataURL(file)\n },\n submitAvatar () {\n if (!this.previews[0]) { return }\n\n let img = this.previews[0]\n // eslint-disable-next-line no-undef\n let imginfo = new Image()\n let cropX, cropY, cropW, cropH\n imginfo.src = img\n if (imginfo.height > imginfo.width) {\n cropX = 0\n cropW = imginfo.width\n cropY = Math.floor((imginfo.height - imginfo.width) / 2)\n cropH = imginfo.width\n } else {\n cropY = 0\n cropH = imginfo.height\n cropX = Math.floor((imginfo.width - imginfo.height) / 2)\n cropW = imginfo.height\n }\n this.uploading[0] = true\n this.$store.state.api.backendInteractor.updateAvatar({params: {img, cropX, cropY, cropW, cropH}}).then((user) => {\n if (!user.error) {\n this.$store.commit('addNewUsers', [user])\n this.$store.commit('setCurrentUser', user)\n this.previews[0] = null\n }\n this.uploading[0] = false\n })\n },\n submitBanner () {\n if (!this.previews[1]) { return }\n\n let banner = this.previews[1]\n // eslint-disable-next-line no-undef\n let imginfo = new Image()\n /* eslint-disable camelcase */\n let offset_top, offset_left, width, height\n imginfo.src = banner\n width = imginfo.width\n height = imginfo.height\n offset_top = 0\n offset_left = 0\n this.uploading[1] = true\n this.$store.state.api.backendInteractor.updateBanner({params: {banner, offset_top, offset_left, width, height}}).then((data) => {\n if (!data.error) {\n let clone = JSON.parse(JSON.stringify(this.$store.state.users.currentUser))\n clone.cover_photo = data.url\n this.$store.commit('addNewUsers', [clone])\n this.$store.commit('setCurrentUser', clone)\n this.previews[1] = null\n }\n this.uploading[1] = false\n })\n /* eslint-enable camelcase */\n },\n submitBg () {\n if (!this.previews[2]) { return }\n let img = this.previews[2]\n // eslint-disable-next-line no-undef\n let imginfo = new Image()\n let cropX, cropY, cropW, cropH\n imginfo.src = img\n cropX = 0\n cropY = 0\n cropW = imginfo.width\n cropH = imginfo.width\n this.uploading[2] = true\n this.$store.state.api.backendInteractor.updateBg({params: {img, cropX, cropY, cropW, cropH}}).then((data) => {\n if (!data.error) {\n let clone = JSON.parse(JSON.stringify(this.$store.state.users.currentUser))\n clone.background_image = data.url\n this.$store.commit('addNewUsers', [clone])\n this.$store.commit('setCurrentUser', clone)\n this.previews[2] = null\n }\n this.uploading[2] = false\n })\n },\n importFollows () {\n this.uploading[3] = true\n const followList = this.followList\n this.$store.state.api.backendInteractor.followImport({params: followList})\n .then((status) => {\n if (status) {\n this.followsImported = true\n } else {\n this.followImportError = true\n }\n this.uploading[3] = false\n })\n },\n /* This function takes an Array of Users\n * and outputs a file with all the addresses for the user to download\n */\n exportPeople (users, filename) {\n // Get all the friends addresses\n var UserAddresses = users.map(function (user) {\n // check is it's a local user\n if (user && user.is_local) {\n // append the instance address\n // eslint-disable-next-line no-undef\n user.screen_name += '@' + location.hostname\n }\n return user.screen_name\n }).join('\\n')\n // Make the user download the file\n var fileToDownload = document.createElement('a')\n fileToDownload.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(UserAddresses))\n fileToDownload.setAttribute('download', filename)\n fileToDownload.style.display = 'none'\n document.body.appendChild(fileToDownload)\n fileToDownload.click()\n document.body.removeChild(fileToDownload)\n },\n exportFollows () {\n this.enableFollowsExport = false\n this.$store.state.api.backendInteractor\n .fetchFriends({id: this.$store.state.users.currentUser.id})\n .then((friendList) => {\n this.exportPeople(friendList, 'friends.csv')\n })\n },\n followListChange () {\n // eslint-disable-next-line no-undef\n let formData = new FormData()\n formData.append('list', this.$refs.followlist.files[0])\n this.followList = formData\n },\n dismissImported () {\n this.followsImported = false\n this.followImportError = false\n },\n confirmDelete () {\n this.deletingAccount = true\n },\n deleteAccount () {\n this.$store.state.api.backendInteractor.deleteAccount({password: this.deleteAccountConfirmPasswordInput})\n .then((res) => {\n if (res.status === 'success') {\n this.$store.dispatch('logout')\n this.$router.push('/main/all')\n } else {\n this.deleteAccountError = res.error\n }\n })\n }\n }\n}\n\nexport default UserSettings\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_settings/user_settings.js","function showWhoToFollow (panel, reply, aHost, aUser) {\n var users = reply.ids\n var cn\n var index = 0\n var random = Math.floor(Math.random() * 10)\n for (cn = random; cn < users.length; cn = cn + 10) {\n var user\n user = users[cn]\n var img\n if (user.icon) {\n img = user.icon\n } else {\n img = '/images/avi.png'\n }\n var name = user.to_id\n if (index === 0) {\n panel.img1 = img\n panel.name1 = name\n panel.$store.state.api.backendInteractor.externalProfile(name)\n .then((externalUser) => {\n if (!externalUser.error) {\n panel.$store.commit('addNewUsers', [externalUser])\n panel.id1 = externalUser.id\n }\n })\n } else if (index === 1) {\n panel.img2 = img\n panel.name2 = name\n panel.$store.state.api.backendInteractor.externalProfile(name)\n .then((externalUser) => {\n if (!externalUser.error) {\n panel.$store.commit('addNewUsers', [externalUser])\n panel.id2 = externalUser.id\n }\n })\n } else if (index === 2) {\n panel.img3 = img\n panel.name3 = name\n panel.$store.state.api.backendInteractor.externalProfile(name)\n .then((externalUser) => {\n if (!externalUser.error) {\n panel.$store.commit('addNewUsers', [externalUser])\n panel.id3 = externalUser.id\n }\n })\n }\n index = index + 1\n if (index > 2) {\n break\n }\n }\n}\n\nfunction getWhoToFollow (panel) {\n var user = panel.$store.state.users.currentUser.screen_name\n if (user) {\n panel.name1 = 'Loading...'\n panel.name2 = 'Loading...'\n panel.name3 = 'Loading...'\n var host = window.location.hostname\n var whoToFollowProvider = panel.$store.state.config.whoToFollowProvider\n var url\n url = whoToFollowProvider.replace(/{{host}}/g, encodeURIComponent(host))\n url = url.replace(/{{user}}/g, encodeURIComponent(user))\n window.fetch(url, {mode: 'cors'}).then(function (response) {\n if (response.ok) {\n return response.json()\n } else {\n panel.name1 = ''\n panel.name2 = ''\n panel.name3 = ''\n }\n }).then(function (reply) {\n showWhoToFollow(panel, reply, host, user)\n })\n }\n}\n\nconst WhoToFollowPanel = {\n data: () => ({\n img1: '/images/avi.png',\n name1: '',\n id1: 0,\n img2: '/images/avi.png',\n name2: '',\n id2: 0,\n img3: '/images/avi.png',\n name3: '',\n id3: 0\n }),\n computed: {\n user: function () {\n return this.$store.state.users.currentUser.screen_name\n },\n moreUrl: function () {\n var host = window.location.hostname\n var user = this.user\n var whoToFollowLink = this.$store.state.config.whoToFollowLink\n var url\n url = whoToFollowLink.replace(/{{host}}/g, encodeURIComponent(host))\n url = url.replace(/{{user}}/g, encodeURIComponent(user))\n return url\n },\n showWhoToFollowPanel () {\n return this.$store.state.config.showWhoToFollowPanel\n }\n },\n watch: {\n user: function (user, oldUser) {\n if (this.showWhoToFollowPanel) {\n getWhoToFollow(this)\n }\n }\n },\n mounted:\n function () {\n if (this.showWhoToFollowPanel) {\n getWhoToFollow(this)\n }\n }\n}\n\nexport default WhoToFollowPanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/who_to_follow_panel/who_to_follow_panel.js","module.exports = [\"now\",[\"%ss\",\"%ss\"],[\"%smin\",\"%smin\"],[\"%sh\",\"%sh\"],[\"%sd\",\"%sd\"],[\"%sw\",\"%sw\"],[\"%smo\",\"%smo\"],[\"%sy\",\"%sy\"]]\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./static/timeago-en.json\n// module id = 298\n// module chunks = 2","module.exports = [\"たった今\",\"%s 秒前\",\"%s 分前\",\"%s 時間前\",\"%s 日前\",\"%s 週間前\",\"%s ヶ月前\",\"%s 年前\"]\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./static/timeago-ja.json\n// module id = 299\n// module chunks = 2","module.exports = __webpack_public_path__ + \"static/img/nsfw.50fd83c.png\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/nsfw.png\n// module id = 465\n// module chunks = 2","\n/* styles */\nrequire(\"!!../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-4c17cd72\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./App.scss\")\n\nvar Component = require(\"!../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./App.js\"),\n /* template */\n require(\"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-4c17cd72\\\"}!../node_modules/vue-loader/lib/selector?type=template&index=0!./App.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/App.vue\n// module id = 468\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-48d74080\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./attachment.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./attachment.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-48d74080\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./attachment.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/attachment/attachment.vue\n// module id = 469\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-37c7b840\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./chat_panel.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./chat_panel.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-37c7b840\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./chat_panel.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/chat_panel/chat_panel.vue\n// module id = 470\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./conversation-page.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-6d354bd4\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./conversation-page.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/conversation-page/conversation-page.vue\n// module id = 471\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-ab5f3124\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./delete_button.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./delete_button.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-ab5f3124\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./delete_button.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/delete_button/delete_button.vue\n// module id = 472\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-bd666be8\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./favorite_button.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./favorite_button.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-bd666be8\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./favorite_button.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/favorite_button/favorite_button.vue\n// module id = 473\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./friends_timeline.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-938aba00\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./friends_timeline.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/friends_timeline/friends_timeline.vue\n// module id = 474\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-8ac93238\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./instance_specific_panel.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./instance_specific_panel.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-8ac93238\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./instance_specific_panel.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/instance_specific_panel/instance_specific_panel.vue\n// module id = 475\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-437c2fc0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./login_form.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./login_form.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-437c2fc0\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./login_form.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/login_form/login_form.vue\n// module id = 476\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-546891a0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./media_upload.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./media_upload.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-546891a0\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./media_upload.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/media_upload/media_upload.vue\n// module id = 477\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./mentions.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-2b4a7ac0\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./mentions.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/mentions/mentions.vue\n// module id = 478\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-d306a29c\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./nav_panel.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./nav_panel.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-d306a29c\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./nav_panel.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/nav_panel/nav_panel.vue\n// module id = 479\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./notification.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-68f32600\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./notification.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/notification/notification.vue\n// module id = 480\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-00135b32\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./notifications.scss\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./notifications.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-00135b32\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./notifications.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/notifications/notifications.vue\n// module id = 481\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./public_and_external_timeline.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-2dd59500\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./public_and_external_timeline.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/public_and_external_timeline/public_and_external_timeline.vue\n// module id = 482\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./public_timeline.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-63335050\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./public_timeline.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/public_timeline/public_timeline.vue\n// module id = 483\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-45f064c0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./registration.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./registration.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-45f064c0\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./registration.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/registration/registration.vue\n// module id = 484\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-1ca01100\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./retweet_button.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./retweet_button.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-1ca01100\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./retweet_button.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/retweet_button/retweet_button.vue\n// module id = 485\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-cd51c000\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./settings.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./settings.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-cd51c000\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./settings.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/settings/settings.vue\n// module id = 486\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-42b0f6a0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./status_or_conversation.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./status_or_conversation.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-42b0f6a0\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./status_or_conversation.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/status_or_conversation/status_or_conversation.vue\n// module id = 487\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./tag_timeline.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-1555bc40\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./tag_timeline.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/tag_timeline/tag_timeline.vue\n// module id = 488\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-f117c42c\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./user_card.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./user_card.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-f117c42c\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./user_card.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/user_card/user_card.vue\n// module id = 489\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-3e9fe956\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./user_finder.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./user_finder.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-3e9fe956\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./user_finder.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/user_finder/user_finder.vue\n// module id = 490\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-eda04b40\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./user_panel.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./user_panel.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-eda04b40\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./user_panel.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/user_panel/user_panel.vue\n// module id = 491\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-48484e40\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./user_profile.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./user_profile.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-48484e40\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./user_profile.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/user_profile/user_profile.vue\n// module id = 492\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-93ac3f60\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./user_settings.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./user_settings.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-93ac3f60\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./user_settings.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/user_settings/user_settings.vue\n// module id = 493\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-d8fd69d8\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./who_to_follow_panel.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./who_to_follow_panel.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-d8fd69d8\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./who_to_follow_panel.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/who_to_follow_panel/who_to_follow_panel.vue\n// module id = 494\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"notifications\"\n }, [_c('div', {\n staticClass: \"panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading\"\n }, [(_vm.unseenCount) ? _c('span', {\n staticClass: \"unseen-count\"\n }, [_vm._v(_vm._s(_vm.unseenCount))]) : _vm._e(), _vm._v(\"\\n \" + _vm._s(_vm.$t('notifications.notifications')) + \"\\n \"), (_vm.unseenCount) ? _c('button', {\n staticClass: \"read-button\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.markAsSeen($event)\n }\n }\n }, [_vm._v(_vm._s(_vm.$t('notifications.read')))]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, _vm._l((_vm.visibleNotifications), function(notification) {\n return _c('div', {\n key: notification.action.id,\n staticClass: \"notification\",\n class: {\n \"unseen\": !notification.seen\n }\n }, [_c('notification', {\n attrs: {\n \"notification\": notification\n }\n })], 1)\n }))])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-00135b32\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/notifications/notifications.vue\n// module id = 495\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"profile-panel-background\",\n style: (_vm.headingStyle),\n attrs: {\n \"id\": \"heading\"\n }\n }, [_c('div', {\n staticClass: \"panel-heading text-center\"\n }, [_c('div', {\n staticClass: \"user-info\"\n }, [(!_vm.isOtherUser) ? _c('router-link', {\n staticStyle: {\n \"float\": \"right\",\n \"margin-top\": \"16px\"\n },\n attrs: {\n \"to\": \"/user-settings\"\n }\n }, [_c('i', {\n staticClass: \"icon-cog usersettings\"\n })]) : _vm._e(), _vm._v(\" \"), (_vm.isOtherUser) ? _c('a', {\n staticStyle: {\n \"float\": \"right\",\n \"margin-top\": \"16px\"\n },\n attrs: {\n \"href\": _vm.user.statusnet_profile_url,\n \"target\": \"_blank\"\n }\n }, [_c('i', {\n staticClass: \"icon-link-ext usersettings\"\n })]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"container\"\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.user.id\n }\n }\n }\n }, [_c('StillImage', {\n staticClass: \"avatar\",\n attrs: {\n \"src\": _vm.user.profile_image_url_original\n }\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"name-and-screen-name\"\n }, [_c('div', {\n staticClass: \"user-name\",\n attrs: {\n \"title\": _vm.user.name\n }\n }, [_vm._v(_vm._s(_vm.user.name))]), _vm._v(\" \"), _c('router-link', {\n staticClass: \"user-screen-name\",\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.user.id\n }\n }\n }\n }, [_c('span', [_vm._v(\"@\" + _vm._s(_vm.user.screen_name))]), _vm._v(\" \"), _c('span', {\n staticClass: \"dailyAvg\"\n }, [_vm._v(_vm._s(_vm.dailyAvg) + \" \" + _vm._s(_vm.$t('user_card.per_day')))])])], 1)], 1), _vm._v(\" \"), (_vm.isOtherUser) ? _c('div', {\n staticClass: \"user-interactions\"\n }, [(_vm.user.follows_you && _vm.loggedIn) ? _c('div', {\n staticClass: \"following\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.follows_you')) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.loggedIn) ? _c('div', {\n staticClass: \"follow\"\n }, [(_vm.user.following) ? _c('span', [_c('button', {\n staticClass: \"pressed\",\n on: {\n \"click\": _vm.unfollowUser\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.following')) + \"\\n \")])]) : _vm._e(), _vm._v(\" \"), (!_vm.user.following) ? _c('span', [_c('button', {\n on: {\n \"click\": _vm.followUser\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.follow')) + \"\\n \")])]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), (_vm.isOtherUser) ? _c('div', {\n staticClass: \"mute\"\n }, [(_vm.user.muted) ? _c('span', [_c('button', {\n staticClass: \"pressed\",\n on: {\n \"click\": _vm.toggleMute\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.muted')) + \"\\n \")])]) : _vm._e(), _vm._v(\" \"), (!_vm.user.muted) ? _c('span', [_c('button', {\n on: {\n \"click\": _vm.toggleMute\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.mute')) + \"\\n \")])]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), (!_vm.loggedIn && _vm.user.is_local) ? _c('div', {\n staticClass: \"remote-follow\"\n }, [_c('form', {\n attrs: {\n \"method\": \"POST\",\n \"action\": _vm.subscribeUrl\n }\n }, [_c('input', {\n attrs: {\n \"type\": \"hidden\",\n \"name\": \"nickname\"\n },\n domProps: {\n \"value\": _vm.user.screen_name\n }\n }), _vm._v(\" \"), _c('input', {\n attrs: {\n \"type\": \"hidden\",\n \"name\": \"profile\",\n \"value\": \"\"\n }\n }), _vm._v(\" \"), _c('button', {\n staticClass: \"remote-button\",\n attrs: {\n \"click\": \"submit\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.remote_follow')) + \"\\n \")])])]) : _vm._e(), _vm._v(\" \"), (_vm.isOtherUser && _vm.loggedIn) ? _c('div', {\n staticClass: \"block\"\n }, [(_vm.user.statusnet_blocking) ? _c('span', [_c('button', {\n staticClass: \"pressed\",\n on: {\n \"click\": _vm.unblockUser\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.blocked')) + \"\\n \")])]) : _vm._e(), _vm._v(\" \"), (!_vm.user.statusnet_blocking) ? _c('span', [_c('button', {\n on: {\n \"click\": _vm.blockUser\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.block')) + \"\\n \")])]) : _vm._e()]) : _vm._e()]) : _vm._e()], 1)]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body profile-panel-body\"\n }, [_c('div', {\n staticClass: \"user-counts\",\n class: {\n clickable: _vm.switcher\n }\n }, [_c('div', {\n staticClass: \"user-count\",\n class: {\n selected: _vm.selected === 'statuses'\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.setProfileView('statuses')\n }\n }\n }, [_c('h5', [_vm._v(_vm._s(_vm.$t('user_card.statuses')))]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.statuses_count) + \" \"), _c('br')])]), _vm._v(\" \"), _c('div', {\n staticClass: \"user-count\",\n class: {\n selected: _vm.selected === 'friends'\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.setProfileView('friends')\n }\n }\n }, [_c('h5', [_vm._v(_vm._s(_vm.$t('user_card.followees')))]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.friends_count))])]), _vm._v(\" \"), _c('div', {\n staticClass: \"user-count\",\n class: {\n selected: _vm.selected === 'followers'\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.setProfileView('followers')\n }\n }\n }, [_c('h5', [_vm._v(_vm._s(_vm.$t('user_card.followers')))]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.followers_count))])])]), _vm._v(\" \"), (!_vm.hideBio) ? _c('p', [_vm._v(_vm._s(_vm.user.description))]) : _vm._e()])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-05b840de\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_card_content/user_card_content.vue\n// module id = 496\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (_vm.viewing == 'statuses') ? _c('div', {\n staticClass: \"timeline panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading timeline-heading\"\n }, [_c('div', {\n staticClass: \"title\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.title) + \"\\n \")]), _vm._v(\" \"), (_vm.timeline.newStatusCount > 0 && !_vm.timelineError) ? _c('button', {\n staticClass: \"loadmore-button\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.showNewStatuses($event)\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.show_new')) + _vm._s(_vm.newStatusCountStr) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.timelineError) ? _c('div', {\n staticClass: \"loadmore-error alert error\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.error_fetching')) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (!_vm.timeline.newStatusCount > 0 && !_vm.timelineError) ? _c('div', {\n staticClass: \"loadmore-text\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.up_to_date')) + \"\\n \")]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_c('div', {\n staticClass: \"timeline\"\n }, _vm._l((_vm.timeline.visibleStatuses), function(status) {\n return _c('status-or-conversation', {\n key: status.id,\n staticClass: \"status-fadein\",\n attrs: {\n \"statusoid\": status\n }\n })\n }))]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-footer\"\n }, [(!_vm.timeline.loading) ? _c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.fetchOlderStatuses()\n }\n }\n }, [_c('div', {\n staticClass: \"new-status-notification text-center panel-footer\"\n }, [_vm._v(_vm._s(_vm.$t('timeline.load_older')))])]) : _c('div', {\n staticClass: \"new-status-notification text-center panel-footer\"\n }, [_vm._v(\"...\")])])]) : (_vm.viewing == 'followers') ? _c('div', {\n staticClass: \"timeline panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading timeline-heading\"\n }, [_c('div', {\n staticClass: \"title\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.followers')) + \"\\n \")])]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_c('div', {\n staticClass: \"timeline\"\n }, _vm._l((_vm.followers), function(follower) {\n return _c('user-card', {\n key: follower.id,\n attrs: {\n \"user\": follower,\n \"showFollows\": false\n }\n })\n }))])]) : (_vm.viewing == 'friends') ? _c('div', {\n staticClass: \"timeline panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading timeline-heading\"\n }, [_c('div', {\n staticClass: \"title\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.followees')) + \"\\n \")])]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_c('div', {\n staticClass: \"timeline\"\n }, _vm._l((_vm.friends), function(friend) {\n return _c('user-card', {\n key: friend.id,\n attrs: {\n \"user\": friend,\n \"showFollows\": true\n }\n })\n }))])]) : _vm._e()\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-0652fc80\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/timeline/timeline.vue\n// module id = 497\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"post-status-form\"\n }, [_c('form', {\n on: {\n \"submit\": function($event) {\n $event.preventDefault();\n _vm.postStatus(_vm.newStatus)\n }\n }\n }, [_c('div', {\n staticClass: \"form-group\"\n }, [_c('textarea', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.newStatus.status),\n expression: \"newStatus.status\"\n }],\n ref: \"textarea\",\n staticClass: \"form-control\",\n attrs: {\n \"placeholder\": _vm.$t('post_status.default'),\n \"rows\": \"1\"\n },\n domProps: {\n \"value\": (_vm.newStatus.status)\n },\n on: {\n \"click\": _vm.setCaret,\n \"keyup\": [_vm.setCaret, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key)) { return null; }\n if (!$event.ctrlKey) { return null; }\n _vm.postStatus(_vm.newStatus)\n }],\n \"keydown\": [function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"down\", 40, $event.key)) { return null; }\n _vm.cycleForward($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"up\", 38, $event.key)) { return null; }\n _vm.cycleBackward($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"tab\", 9, $event.key)) { return null; }\n if (!$event.shiftKey) { return null; }\n _vm.cycleBackward($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"tab\", 9, $event.key)) { return null; }\n _vm.cycleForward($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key)) { return null; }\n _vm.replaceCandidate($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key)) { return null; }\n if (!$event.metaKey) { return null; }\n _vm.postStatus(_vm.newStatus)\n }],\n \"drop\": _vm.fileDrop,\n \"dragover\": function($event) {\n $event.preventDefault();\n _vm.fileDrag($event)\n },\n \"input\": [function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.newStatus, \"status\", $event.target.value)\n }, _vm.resize],\n \"paste\": _vm.paste\n }\n })]), _vm._v(\" \"), (_vm.candidates) ? _c('div', {\n staticStyle: {\n \"position\": \"relative\"\n }\n }, [_c('div', {\n staticClass: \"autocomplete-panel\"\n }, _vm._l((_vm.candidates), function(candidate) {\n return _c('div', {\n on: {\n \"click\": function($event) {\n _vm.replace(candidate.utf || (candidate.screen_name + ' '))\n }\n }\n }, [_c('div', {\n staticClass: \"autocomplete\",\n class: {\n highlighted: candidate.highlighted\n }\n }, [(candidate.img) ? _c('span', [_c('img', {\n attrs: {\n \"src\": candidate.img\n }\n })]) : _c('span', [_vm._v(_vm._s(candidate.utf))]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(candidate.screen_name)), _c('small', [_vm._v(_vm._s(candidate.name))])])])])\n }))]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"form-bottom\"\n }, [_c('media-upload', {\n attrs: {\n \"drop-files\": _vm.dropFiles\n },\n on: {\n \"uploading\": _vm.disableSubmit,\n \"uploaded\": _vm.addMediaFile,\n \"upload-failed\": _vm.enableSubmit\n }\n }), _vm._v(\" \"), (_vm.isOverLengthLimit) ? _c('p', {\n staticClass: \"error\"\n }, [_vm._v(_vm._s(_vm.charactersLeft))]) : (_vm.hasStatusLengthLimit) ? _c('p', {\n staticClass: \"faint\"\n }, [_vm._v(_vm._s(_vm.charactersLeft))]) : _vm._e(), _vm._v(\" \"), (_vm.posting) ? _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": \"\"\n }\n }, [_vm._v(_vm._s(_vm.$t('post_status.posting')))]) : (_vm.isOverLengthLimit) ? _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": \"\"\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": _vm.submitDisabled,\n \"type\": \"submit\"\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))])], 1), _vm._v(\" \"), (_vm.error) ? _c('div', {\n staticClass: \"alert error\"\n }, [_vm._v(\"\\n Error: \" + _vm._s(_vm.error) + \"\\n \"), _c('i', {\n staticClass: \"icon-cancel\",\n on: {\n \"click\": _vm.clearError\n }\n })]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"attachments\"\n }, _vm._l((_vm.newStatus.files), function(file) {\n return _c('div', {\n staticClass: \"media-upload-container attachment\"\n }, [_c('i', {\n staticClass: \"fa icon-cancel\",\n on: {\n \"click\": function($event) {\n _vm.removeMediaFile(file)\n }\n }\n }), _vm._v(\" \"), (_vm.type(file) === 'image') ? _c('img', {\n staticClass: \"thumbnail media-upload\",\n attrs: {\n \"src\": file.image\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'video') ? _c('video', {\n attrs: {\n \"src\": file.image,\n \"controls\": \"\"\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'audio') ? _c('audio', {\n attrs: {\n \"src\": file.image,\n \"controls\": \"\"\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'unknown') ? _c('a', {\n attrs: {\n \"href\": file.image\n }\n }, [_vm._v(_vm._s(file.url))]) : _vm._e()])\n }))])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-11ada5e0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/post_status_form/post_status_form.vue\n// module id = 498\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"timeline panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading conversation-heading\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.conversation')) + \"\\n \"), (_vm.collapsable) ? _c('span', {\n staticStyle: {\n \"float\": \"right\"\n }\n }, [_c('small', [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.$emit('toggleExpanded')\n }\n }\n }, [_vm._v(_vm._s(_vm.$t('timeline.collapse')))])])]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_c('div', {\n staticClass: \"timeline\"\n }, _vm._l((_vm.conversation), function(status) {\n return _c('status', {\n key: status.id,\n staticClass: \"status-fadein\",\n attrs: {\n \"inlineExpanded\": _vm.collapsable,\n \"statusoid\": status,\n \"expandable\": false,\n \"focused\": _vm.focused(status.id),\n \"inConversation\": true,\n \"highlight\": _vm.highlight,\n \"replies\": _vm.getReplies(status.id)\n },\n on: {\n \"goto\": _vm.setHighlight\n }\n })\n }))])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-12838600\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/conversation/conversation.vue\n// module id = 499\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('Timeline', {\n attrs: {\n \"title\": _vm.tag,\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'tag',\n \"tag\": _vm.tag\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-1555bc40\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/tag_timeline/tag_timeline.vue\n// module id = 500\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (_vm.loggedIn) ? _c('div', [_c('i', {\n staticClass: \"icon-retweet rt-active\",\n class: _vm.classes,\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.retweet()\n }\n }\n }), _vm._v(\" \"), (_vm.status.repeat_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.repeat_num))]) : _vm._e()]) : _c('div', [_c('i', {\n staticClass: \"icon-retweet\",\n class: _vm.classes\n }), _vm._v(\" \"), (_vm.status.repeat_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.repeat_num))]) : _vm._e()])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-1ca01100\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/retweet_button/retweet_button.vue\n// module id = 501\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('Timeline', {\n attrs: {\n \"title\": _vm.$t('nav.mentions'),\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'mentions'\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-2b4a7ac0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/mentions/mentions.vue\n// module id = 502\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('Timeline', {\n attrs: {\n \"title\": _vm.$t('nav.twkn'),\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'publicAndExternal'\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-2dd59500\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/public_and_external_timeline/public_and_external_timeline.vue\n// module id = 503\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (!this.collapsed) ? _c('div', {\n staticClass: \"chat-panel\"\n }, [_c('div', {\n staticClass: \"panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading timeline-heading chat-heading\",\n on: {\n \"click\": function($event) {\n $event.stopPropagation();\n $event.preventDefault();\n _vm.togglePanel($event)\n }\n }\n }, [_c('div', {\n staticClass: \"title\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('chat.title')) + \"\\n \"), _c('i', {\n staticClass: \"icon-cancel\",\n staticStyle: {\n \"float\": \"right\"\n }\n })])]), _vm._v(\" \"), _c('div', {\n directives: [{\n name: \"chat-scroll\",\n rawName: \"v-chat-scroll\"\n }],\n staticClass: \"chat-window\"\n }, _vm._l((_vm.messages), function(message) {\n return _c('div', {\n key: message.id,\n staticClass: \"chat-message\"\n }, [_c('span', {\n staticClass: \"chat-avatar\"\n }, [_c('img', {\n attrs: {\n \"src\": message.author.avatar\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"chat-content\"\n }, [_c('router-link', {\n staticClass: \"chat-name\",\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: message.author.id\n }\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(message.author.username) + \"\\n \")]), _vm._v(\" \"), _c('br'), _vm._v(\" \"), _c('span', {\n staticClass: \"chat-text\"\n }, [_vm._v(\"\\n \" + _vm._s(message.text) + \"\\n \")])], 1)])\n })), _vm._v(\" \"), _c('div', {\n staticClass: \"chat-input\"\n }, [_c('textarea', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.currentMessage),\n expression: \"currentMessage\"\n }],\n staticClass: \"chat-input-textarea\",\n attrs: {\n \"rows\": \"1\"\n },\n domProps: {\n \"value\": (_vm.currentMessage)\n },\n on: {\n \"keyup\": function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key)) { return null; }\n _vm.submit(_vm.currentMessage)\n },\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.currentMessage = $event.target.value\n }\n }\n })])])]) : _c('div', {\n staticClass: \"chat-panel\"\n }, [_c('div', {\n staticClass: \"panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading stub timeline-heading chat-heading\",\n on: {\n \"click\": function($event) {\n $event.stopPropagation();\n $event.preventDefault();\n _vm.togglePanel($event)\n }\n }\n }, [_c('div', {\n staticClass: \"title\"\n }, [_c('i', {\n staticClass: \"icon-comment-empty\"\n }), _vm._v(\"\\n \" + _vm._s(_vm.$t('chat.title')) + \"\\n \")])])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-37c7b840\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/chat_panel/chat_panel.vue\n// module id = 504\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('span', {\n staticClass: \"user-finder-container\"\n }, [(_vm.error) ? _c('span', {\n staticClass: \"alert error\"\n }, [_c('i', {\n staticClass: \"icon-cancel user-finder-icon\",\n on: {\n \"click\": _vm.dismissError\n }\n }), _vm._v(\"\\n \" + _vm._s(_vm.$t('finder.error_fetching_user')) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.loading) ? _c('i', {\n staticClass: \"icon-spin4 user-finder-icon animate-spin-slow\"\n }) : _vm._e(), _vm._v(\" \"), (_vm.hidden) ? _c('a', {\n attrs: {\n \"href\": \"#\"\n }\n }, [_c('i', {\n staticClass: \"icon-user-plus user-finder-icon\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n $event.stopPropagation();\n _vm.toggleHidden($event)\n }\n }\n })]) : _c('span', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.username),\n expression: \"username\"\n }],\n staticClass: \"user-finder-input\",\n attrs: {\n \"placeholder\": _vm.$t('finder.find_user'),\n \"id\": \"user-finder-input\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.username)\n },\n on: {\n \"keyup\": function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key)) { return null; }\n _vm.findUser(_vm.username)\n },\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.username = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('i', {\n staticClass: \"icon-cancel user-finder-icon\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n $event.stopPropagation();\n _vm.toggleHidden($event)\n }\n }\n })])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-3e9fe956\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_finder/user_finder.vue\n// module id = 505\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', [(_vm.expanded) ? _c('conversation', {\n attrs: {\n \"collapsable\": true,\n \"statusoid\": _vm.statusoid\n },\n on: {\n \"toggleExpanded\": _vm.toggleExpanded\n }\n }) : _vm._e(), _vm._v(\" \"), (!_vm.expanded) ? _c('status', {\n attrs: {\n \"expandable\": true,\n \"inConversation\": false,\n \"focused\": false,\n \"statusoid\": _vm.statusoid\n },\n on: {\n \"toggleExpanded\": _vm.toggleExpanded\n }\n }) : _vm._e()], 1)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-42b0f6a0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/status_or_conversation/status_or_conversation.vue\n// module id = 506\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"login panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('login.login')) + \"\\n \")]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_c('form', {\n staticClass: \"login-form\",\n on: {\n \"submit\": function($event) {\n $event.preventDefault();\n _vm.submit(_vm.user)\n }\n }\n }, [_c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"username\"\n }\n }, [_vm._v(_vm._s(_vm.$t('login.username')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.username),\n expression: \"user.username\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.loggingIn,\n \"id\": \"username\",\n \"placeholder\": \"e.g. lain\"\n },\n domProps: {\n \"value\": (_vm.user.username)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.user, \"username\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"password\"\n }\n }, [_vm._v(_vm._s(_vm.$t('login.password')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.password),\n expression: \"user.password\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.loggingIn,\n \"id\": \"password\",\n \"type\": \"password\"\n },\n domProps: {\n \"value\": (_vm.user.password)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.user, \"password\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('div', {\n staticClass: \"login-bottom\"\n }, [_c('div', [(_vm.registrationOpen) ? _c('router-link', {\n staticClass: \"register\",\n attrs: {\n \"to\": {\n name: 'registration'\n }\n }\n }, [_vm._v(_vm._s(_vm.$t('login.register')))]) : _vm._e()], 1), _vm._v(\" \"), _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": _vm.loggingIn,\n \"type\": \"submit\"\n }\n }, [_vm._v(_vm._s(_vm.$t('login.login')))])])]), _vm._v(\" \"), (_vm.authError) ? _c('div', {\n staticClass: \"form-group\"\n }, [_c('div', {\n staticClass: \"alert error\"\n }, [_vm._v(_vm._s(_vm.authError))])]) : _vm._e()])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-437c2fc0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/login_form/login_form.vue\n// module id = 507\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"settings panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('registration.registration')) + \"\\n \")]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_c('form', {\n staticClass: \"registration-form\",\n on: {\n \"submit\": function($event) {\n $event.preventDefault();\n _vm.submit(_vm.user)\n }\n }\n }, [_c('div', {\n staticClass: \"container\"\n }, [_c('div', {\n staticClass: \"text-fields\"\n }, [_c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"username\"\n }\n }, [_vm._v(_vm._s(_vm.$t('login.username')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.username),\n expression: \"user.username\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.registering,\n \"id\": \"username\",\n \"placeholder\": \"e.g. lain\"\n },\n domProps: {\n \"value\": (_vm.user.username)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.user, \"username\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"fullname\"\n }\n }, [_vm._v(_vm._s(_vm.$t('registration.fullname')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.fullname),\n expression: \"user.fullname\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.registering,\n \"id\": \"fullname\",\n \"placeholder\": \"e.g. Lain Iwakura\"\n },\n domProps: {\n \"value\": (_vm.user.fullname)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.user, \"fullname\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"email\"\n }\n }, [_vm._v(_vm._s(_vm.$t('registration.email')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.email),\n expression: \"user.email\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.registering,\n \"id\": \"email\",\n \"type\": \"email\"\n },\n domProps: {\n \"value\": (_vm.user.email)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.user, \"email\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"bio\"\n }\n }, [_vm._v(_vm._s(_vm.$t('registration.bio')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.bio),\n expression: \"user.bio\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.registering,\n \"id\": \"bio\"\n },\n domProps: {\n \"value\": (_vm.user.bio)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.user, \"bio\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"password\"\n }\n }, [_vm._v(_vm._s(_vm.$t('login.password')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.password),\n expression: \"user.password\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.registering,\n \"id\": \"password\",\n \"type\": \"password\"\n },\n domProps: {\n \"value\": (_vm.user.password)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.user, \"password\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"password_confirmation\"\n }\n }, [_vm._v(_vm._s(_vm.$t('registration.password_confirm')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.confirm),\n expression: \"user.confirm\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.registering,\n \"id\": \"password_confirmation\",\n \"type\": \"password\"\n },\n domProps: {\n \"value\": (_vm.user.confirm)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.user, \"confirm\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": _vm.registering,\n \"type\": \"submit\"\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))])])]), _vm._v(\" \"), _c('div', {\n staticClass: \"terms-of-service\",\n domProps: {\n \"innerHTML\": _vm._s(_vm.termsofservice)\n }\n })]), _vm._v(\" \"), (_vm.error) ? _c('div', {\n staticClass: \"form-group\"\n }, [_c('div', {\n staticClass: \"alert error\"\n }, [_vm._v(_vm._s(_vm.error))])]) : _vm._e()])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-45f064c0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/registration/registration.vue\n// module id = 508\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', [(_vm.user) ? _c('div', {\n staticClass: \"user-profile panel panel-default\"\n }, [_c('user-card-content', {\n attrs: {\n \"user\": _vm.user,\n \"switcher\": true,\n \"selected\": _vm.timeline.viewing\n }\n })], 1) : _vm._e(), _vm._v(\" \"), _c('Timeline', {\n attrs: {\n \"title\": _vm.$t('user_profile.timeline_title'),\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'user',\n \"user-id\": _vm.userId\n }\n })], 1)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-48484e40\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_profile/user_profile.vue\n// module id = 509\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (_vm.size === 'hide') ? _c('div', [(_vm.type !== 'html') ? _c('a', {\n staticClass: \"placeholder\",\n attrs: {\n \"target\": \"_blank\",\n \"href\": _vm.attachment.url\n }\n }, [_vm._v(\"[\" + _vm._s(_vm.nsfw ? \"NSFW/\" : \"\") + _vm._s(_vm.type.toUpperCase()) + \"]\")]) : _vm._e()]) : _c('div', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (!_vm.isEmpty),\n expression: \"!isEmpty\"\n }],\n staticClass: \"attachment\",\n class: ( _obj = {\n loading: _vm.loading,\n 'small-attachment': _vm.isSmall,\n 'fullwidth': _vm.fullwidth\n }, _obj[_vm.type] = true, _obj )\n }, [(_vm.hidden) ? _c('a', {\n staticClass: \"image-attachment\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleHidden()\n }\n }\n }, [_c('img', {\n key: _vm.nsfwImage,\n attrs: {\n \"src\": _vm.nsfwImage\n }\n })]) : _vm._e(), _vm._v(\" \"), (_vm.nsfw && _vm.hideNsfwLocal && !_vm.hidden) ? _c('div', {\n staticClass: \"hider\"\n }, [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleHidden()\n }\n }\n }, [_vm._v(\"Hide\")])]) : _vm._e(), _vm._v(\" \"), (_vm.type === 'image' && !_vm.hidden) ? _c('a', {\n staticClass: \"image-attachment\",\n attrs: {\n \"href\": _vm.attachment.url,\n \"target\": \"_blank\"\n }\n }, [_c('StillImage', {\n class: {\n 'small': _vm.isSmall\n },\n attrs: {\n \"referrerpolicy\": \"no-referrer\",\n \"mimetype\": _vm.attachment.mimetype,\n \"src\": _vm.attachment.large_thumb_url || _vm.attachment.url\n }\n })], 1) : _vm._e(), _vm._v(\" \"), (_vm.type === 'video' && !_vm.hidden) ? _c('video', {\n class: {\n 'small': _vm.isSmall\n },\n attrs: {\n \"src\": _vm.attachment.url,\n \"controls\": \"\",\n \"loop\": \"\"\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.type === 'audio') ? _c('audio', {\n attrs: {\n \"src\": _vm.attachment.url,\n \"controls\": \"\"\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.type === 'html' && _vm.attachment.oembed) ? _c('div', {\n staticClass: \"oembed\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.linkClicked($event)\n }\n }\n }, [(_vm.attachment.thumb_url) ? _c('div', {\n staticClass: \"image\"\n }, [_c('img', {\n attrs: {\n \"src\": _vm.attachment.thumb_url\n }\n })]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"text\"\n }, [_c('h1', [_c('a', {\n attrs: {\n \"href\": _vm.attachment.url\n }\n }, [_vm._v(_vm._s(_vm.attachment.oembed.title))])]), _vm._v(\" \"), _c('div', {\n domProps: {\n \"innerHTML\": _vm._s(_vm.attachment.oembed.oembedHTML)\n }\n })])]) : _vm._e()])\n var _obj;\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-48d74080\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/attachment/attachment.vue\n// module id = 510\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n style: (_vm.style),\n attrs: {\n \"id\": \"app\"\n }\n }, [_c('nav', {\n staticClass: \"container\",\n attrs: {\n \"id\": \"nav\"\n },\n on: {\n \"click\": function($event) {\n _vm.scrollToTop()\n }\n }\n }, [_c('div', {\n staticClass: \"inner-nav\",\n style: (_vm.logoStyle)\n }, [_c('div', {\n staticClass: \"item\"\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'root'\n }\n }\n }, [_vm._v(_vm._s(_vm.sitename))])], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"item right\"\n }, [_c('user-finder', {\n staticClass: \"nav-icon\"\n }), _vm._v(\" \"), _c('router-link', {\n attrs: {\n \"to\": {\n name: 'settings'\n }\n }\n }, [_c('i', {\n staticClass: \"icon-cog nav-icon\"\n })]), _vm._v(\" \"), (_vm.currentUser) ? _c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.logout($event)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-logout nav-icon\",\n attrs: {\n \"title\": _vm.$t('login.logout')\n }\n })]) : _vm._e()], 1)])]), _vm._v(\" \"), _c('div', {\n staticClass: \"container\",\n attrs: {\n \"id\": \"content\"\n }\n }, [_c('div', {\n staticClass: \"panel-switcher\"\n }, [_c('button', {\n on: {\n \"click\": function($event) {\n _vm.activatePanel('sidebar')\n }\n }\n }, [_vm._v(\"Sidebar\")]), _vm._v(\" \"), _c('button', {\n on: {\n \"click\": function($event) {\n _vm.activatePanel('timeline')\n }\n }\n }, [_vm._v(\"Timeline\")])]), _vm._v(\" \"), _c('div', {\n staticClass: \"sidebar-flexer\",\n class: {\n 'mobile-hidden': _vm.mobileActivePanel != 'sidebar'\n }\n }, [_c('div', {\n staticClass: \"sidebar-bounds\"\n }, [_c('div', {\n staticClass: \"sidebar-scroller\"\n }, [_c('div', {\n staticClass: \"sidebar\"\n }, [_c('user-panel'), _vm._v(\" \"), _c('nav-panel'), _vm._v(\" \"), (_vm.showInstanceSpecificPanel) ? _c('instance-specific-panel') : _vm._e(), _vm._v(\" \"), (_vm.currentUser && _vm.showWhoToFollowPanel) ? _c('who-to-follow-panel') : _vm._e(), _vm._v(\" \"), (_vm.currentUser) ? _c('notifications') : _vm._e()], 1)])])]), _vm._v(\" \"), _c('div', {\n staticClass: \"main\",\n class: {\n 'mobile-hidden': _vm.mobileActivePanel != 'timeline'\n }\n }, [_c('transition', {\n attrs: {\n \"name\": \"fade\"\n }\n }, [_c('router-view')], 1)], 1)]), _vm._v(\" \"), (_vm.currentUser && _vm.chat) ? _c('chat-panel', {\n staticClass: \"floating-chat mobile-hidden\"\n }) : _vm._e()], 1)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-4c17cd72\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = 511\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"media-upload\",\n on: {\n \"drop\": [function($event) {\n $event.preventDefault();\n }, _vm.fileDrop],\n \"dragover\": function($event) {\n $event.preventDefault();\n _vm.fileDrag($event)\n }\n }\n }, [_c('label', {\n staticClass: \"btn btn-default\"\n }, [(_vm.uploading) ? _c('i', {\n staticClass: \"icon-spin4 animate-spin\"\n }) : _vm._e(), _vm._v(\" \"), (!_vm.uploading) ? _c('i', {\n staticClass: \"icon-upload\"\n }) : _vm._e(), _vm._v(\" \"), _c('input', {\n staticStyle: {\n \"position\": \"fixed\",\n \"top\": \"-100em\"\n },\n attrs: {\n \"type\": \"file\"\n }\n })])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-546891a0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/media_upload/media_upload.vue\n// module id = 512\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('Timeline', {\n attrs: {\n \"title\": _vm.$t('nav.public_tl'),\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'public'\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-63335050\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/public_timeline/public_timeline.vue\n// module id = 513\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (_vm.notification.type === 'mention') ? _c('status', {\n attrs: {\n \"compact\": true,\n \"statusoid\": _vm.notification.status\n }\n }) : _c('div', {\n staticClass: \"non-mention\"\n }, [_c('a', {\n staticClass: \"avatar-container\",\n attrs: {\n \"href\": _vm.notification.action.user.statusnet_profile_url\n },\n on: {\n \"!click\": function($event) {\n $event.stopPropagation();\n $event.preventDefault();\n _vm.toggleUserExpanded($event)\n }\n }\n }, [_c('StillImage', {\n staticClass: \"avatar-compact\",\n attrs: {\n \"src\": _vm.notification.action.user.profile_image_url_original\n }\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"notification-right\"\n }, [(_vm.userExpanded) ? _c('div', {\n staticClass: \"usercard notification-usercard\"\n }, [_c('user-card-content', {\n attrs: {\n \"user\": _vm.notification.action.user,\n \"switcher\": false\n }\n })], 1) : _vm._e(), _vm._v(\" \"), _c('span', {\n staticClass: \"notification-details\"\n }, [_c('div', {\n staticClass: \"name-and-action\"\n }, [_c('span', {\n staticClass: \"username\",\n attrs: {\n \"title\": '@' + _vm.notification.action.user.screen_name\n }\n }, [_vm._v(_vm._s(_vm.notification.action.user.name))]), _vm._v(\" \"), (_vm.notification.type === 'favorite') ? _c('span', [_c('i', {\n staticClass: \"fa icon-star lit\"\n }), _vm._v(\" \"), _c('small', [_vm._v(_vm._s(_vm.$t('notifications.favorited_you')))])]) : _vm._e(), _vm._v(\" \"), (_vm.notification.type === 'repeat') ? _c('span', [_c('i', {\n staticClass: \"fa icon-retweet lit\"\n }), _vm._v(\" \"), _c('small', [_vm._v(_vm._s(_vm.$t('notifications.repeated_you')))])]) : _vm._e(), _vm._v(\" \"), (_vm.notification.type === 'follow') ? _c('span', [_c('i', {\n staticClass: \"fa icon-user-plus lit\"\n }), _vm._v(\" \"), _c('small', [_vm._v(_vm._s(_vm.$t('notifications.followed_you')))])]) : _vm._e()]), _vm._v(\" \"), _c('small', {\n staticClass: \"timeago\"\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'conversation',\n params: {\n id: _vm.notification.status.id\n }\n }\n }\n }, [_c('timeago', {\n attrs: {\n \"since\": _vm.notification.action.created_at,\n \"auto-update\": 240\n }\n })], 1)], 1)]), _vm._v(\" \"), (_vm.notification.type === 'follow') ? _c('div', {\n staticClass: \"follow-text\"\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.notification.action.user.id\n }\n }\n }\n }, [_vm._v(\"@\" + _vm._s(_vm.notification.action.user.screen_name))])], 1) : _c('status', {\n staticClass: \"faint\",\n attrs: {\n \"compact\": true,\n \"statusoid\": _vm.notification.status,\n \"noHeading\": true\n }\n })], 1)])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-68f32600\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/notification/notification.vue\n// module id = 514\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('conversation', {\n attrs: {\n \"collapsable\": false,\n \"statusoid\": _vm.statusoid\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-6d354bd4\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/conversation-page/conversation-page.vue\n// module id = 515\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"still-image\",\n class: {\n animated: _vm.animated\n }\n }, [(_vm.animated) ? _c('canvas', {\n ref: \"canvas\"\n }) : _vm._e(), _vm._v(\" \"), _c('img', {\n ref: \"src\",\n attrs: {\n \"src\": _vm.src,\n \"referrerpolicy\": _vm.referrerpolicy\n },\n on: {\n \"load\": _vm.onLoad\n }\n })])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-6ecb31e4\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/still-image/still-image.vue\n// module id = 516\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"status-el\",\n class: [{\n 'status-el_focused': _vm.isFocused\n }, {\n 'status-conversation': _vm.inlineExpanded\n }]\n }, [(_vm.muted && !_vm.noReplyLinks) ? [_c('div', {\n staticClass: \"media status container muted\"\n }, [_c('small', [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.status.user.id\n }\n }\n }\n }, [_vm._v(_vm._s(_vm.status.user.screen_name))])], 1), _vm._v(\" \"), _c('small', {\n staticClass: \"muteWords\"\n }, [_vm._v(_vm._s(_vm.muteWordHits.join(', ')))]), _vm._v(\" \"), _c('a', {\n staticClass: \"unmute\",\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleMute($event)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-eye-off\"\n })])])] : [(_vm.retweet && !_vm.noHeading) ? _c('div', {\n staticClass: \"media container retweet-info\"\n }, [(_vm.retweet) ? _c('StillImage', {\n staticClass: \"avatar\",\n attrs: {\n \"src\": _vm.statusoid.user.profile_image_url_original\n }\n }) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"media-body faint\"\n }, [_c('a', {\n staticStyle: {\n \"font-weight\": \"bold\"\n },\n attrs: {\n \"href\": _vm.statusoid.user.statusnet_profile_url,\n \"title\": '@' + _vm.statusoid.user.screen_name\n }\n }, [_vm._v(_vm._s(_vm.retweeter))]), _vm._v(\" \"), _c('i', {\n staticClass: \"fa icon-retweet retweeted\"\n }), _vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.repeated')) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"media status\"\n }, [(!_vm.noHeading) ? _c('div', {\n staticClass: \"media-left\"\n }, [_c('a', {\n attrs: {\n \"href\": _vm.status.user.statusnet_profile_url\n },\n on: {\n \"!click\": function($event) {\n $event.stopPropagation();\n $event.preventDefault();\n _vm.toggleUserExpanded($event)\n }\n }\n }, [_c('StillImage', {\n staticClass: \"avatar\",\n class: {\n 'avatar-compact': _vm.compact\n },\n attrs: {\n \"src\": _vm.status.user.profile_image_url_original\n }\n })], 1)]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"status-body\"\n }, [(_vm.userExpanded) ? _c('div', {\n staticClass: \"usercard media-body\"\n }, [_c('user-card-content', {\n attrs: {\n \"user\": _vm.status.user,\n \"switcher\": false\n }\n })], 1) : _vm._e(), _vm._v(\" \"), (!_vm.noHeading) ? _c('div', {\n staticClass: \"media-body container media-heading\"\n }, [_c('div', {\n staticClass: \"media-heading-left\"\n }, [_c('div', {\n staticClass: \"name-and-links\"\n }, [_c('h4', {\n staticClass: \"user-name\"\n }, [_vm._v(_vm._s(_vm.status.user.name))]), _vm._v(\" \"), _c('span', {\n staticClass: \"links\"\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.status.user.id\n }\n }\n }\n }, [_vm._v(_vm._s(_vm.status.user.screen_name))]), _vm._v(\" \"), (_vm.status.in_reply_to_screen_name) ? _c('span', {\n staticClass: \"faint reply-info\"\n }, [_c('i', {\n staticClass: \"icon-right-open\"\n }), _vm._v(\" \"), _c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.status.in_reply_to_user_id\n }\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.status.in_reply_to_screen_name) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), (_vm.isReply && !_vm.noReplyLinks) ? _c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.gotoOriginal(_vm.status.in_reply_to_status_id)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-reply\",\n on: {\n \"mouseenter\": function($event) {\n _vm.replyEnter(_vm.status.in_reply_to_status_id, $event)\n },\n \"mouseout\": function($event) {\n _vm.replyLeave()\n }\n }\n })]) : _vm._e()], 1)]), _vm._v(\" \"), (_vm.inConversation && !_vm.noReplyLinks) ? _c('h4', {\n staticClass: \"replies\"\n }, [(_vm.replies.length) ? _c('small', [_vm._v(\"Replies:\")]) : _vm._e(), _vm._v(\" \"), _vm._l((_vm.replies), function(reply) {\n return _c('small', {\n staticClass: \"reply-link\"\n }, [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.gotoOriginal(reply.id)\n },\n \"mouseenter\": function($event) {\n _vm.replyEnter(reply.id, $event)\n },\n \"mouseout\": function($event) {\n _vm.replyLeave()\n }\n }\n }, [_vm._v(_vm._s(reply.name) + \" \")])])\n })], 2) : _vm._e()]), _vm._v(\" \"), _c('div', {\n staticClass: \"media-heading-right\"\n }, [_c('router-link', {\n staticClass: \"timeago\",\n attrs: {\n \"to\": {\n name: 'conversation',\n params: {\n id: _vm.status.id\n }\n }\n }\n }, [_c('timeago', {\n attrs: {\n \"since\": _vm.status.created_at,\n \"auto-update\": 60\n }\n })], 1), _vm._v(\" \"), (_vm.status.visibility) ? _c('span', [_c('i', {\n class: _vm.visibilityIcon(_vm.status.visibility)\n })]) : _vm._e(), _vm._v(\" \"), (!_vm.status.is_local) ? _c('a', {\n staticClass: \"source_url\",\n attrs: {\n \"href\": _vm.status.external_url,\n \"target\": \"_blank\"\n }\n }, [_c('i', {\n staticClass: \"icon-link-ext\"\n })]) : _vm._e(), _vm._v(\" \"), (_vm.expandable) ? [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleExpanded($event)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-plus-squared\"\n })])] : _vm._e(), _vm._v(\" \"), (_vm.unmuted) ? _c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleMute($event)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-eye-off\"\n })]) : _vm._e()], 2)]) : _vm._e(), _vm._v(\" \"), (_vm.showPreview) ? _c('div', {\n staticClass: \"status-preview-container\"\n }, [(_vm.preview) ? _c('status', {\n staticClass: \"status-preview\",\n attrs: {\n \"noReplyLinks\": true,\n \"statusoid\": _vm.preview,\n \"compact\": true\n }\n }) : _c('div', {\n staticClass: \"status-preview status-preview-loading\"\n }, [_c('i', {\n staticClass: \"icon-spin4 animate-spin\"\n })])], 1) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"status-content-wrapper\",\n class: {\n 'tall-status': _vm.hideTallStatus\n }\n }, [(_vm.hideTallStatus) ? _c('a', {\n staticClass: \"tall-status-hider\",\n class: {\n 'tall-status-hider_focused': _vm.isFocused\n },\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleShowTall($event)\n }\n }\n }, [_vm._v(\"Show more\")]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"status-content media-body\",\n domProps: {\n \"innerHTML\": _vm._s(_vm.status.statusnet_html)\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.linkClicked($event)\n }\n }\n }), _vm._v(\" \"), (_vm.showingTall) ? _c('a', {\n staticClass: \"tall-status-unhider\",\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleShowTall($event)\n }\n }\n }, [_vm._v(\"Show less\")]) : _vm._e()]), _vm._v(\" \"), (_vm.status.attachments) ? _c('div', {\n staticClass: \"attachments media-body\"\n }, _vm._l((_vm.status.attachments), function(attachment) {\n return _c('attachment', {\n key: attachment.id,\n attrs: {\n \"size\": _vm.attachmentSize,\n \"status-id\": _vm.status.id,\n \"nsfw\": _vm.status.nsfw,\n \"attachment\": attachment\n }\n })\n })) : _vm._e(), _vm._v(\" \"), (!_vm.noHeading && !_vm.noReplyLinks) ? _c('div', {\n staticClass: \"status-actions media-body\"\n }, [(_vm.loggedIn) ? _c('div', [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleReplying($event)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-reply\",\n class: {\n 'icon-reply-active': _vm.replying\n }\n })])]) : _vm._e(), _vm._v(\" \"), _c('retweet-button', {\n attrs: {\n \"loggedIn\": _vm.loggedIn,\n \"status\": _vm.status\n }\n }), _vm._v(\" \"), _c('favorite-button', {\n attrs: {\n \"loggedIn\": _vm.loggedIn,\n \"status\": _vm.status\n }\n }), _vm._v(\" \"), _c('delete-button', {\n attrs: {\n \"status\": _vm.status\n }\n })], 1) : _vm._e()])]), _vm._v(\" \"), (_vm.replying) ? _c('div', {\n staticClass: \"container\"\n }, [_c('div', {\n staticClass: \"reply-left\"\n }), _vm._v(\" \"), _c('post-status-form', {\n staticClass: \"reply-body\",\n attrs: {\n \"reply-to\": _vm.status.id,\n \"attentions\": _vm.status.attentions,\n \"repliedUser\": _vm.status.user\n },\n on: {\n \"posted\": _vm.toggleReplying\n }\n })], 1) : _vm._e()]], 2)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-769e38a0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/status/status.vue\n// module id = 517\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"instance-specific-panel\"\n }, [_c('div', {\n staticClass: \"panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-body\"\n }, [_c('div', {\n domProps: {\n \"innerHTML\": _vm._s(_vm.instanceSpecificPanelContent)\n }\n })])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-8ac93238\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/instance_specific_panel/instance_specific_panel.vue\n// module id = 518\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('Timeline', {\n attrs: {\n \"title\": _vm.$t('nav.timeline'),\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'friends'\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-938aba00\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/friends_timeline/friends_timeline.vue\n// module id = 519\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"settings panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.user_settings')) + \"\\n \")]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body profile-edit\"\n }, [_c('div', {\n staticClass: \"setting-item\"\n }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.name_bio')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.name')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.newname),\n expression: \"newname\"\n }],\n staticClass: \"name-changer\",\n attrs: {\n \"id\": \"username\"\n },\n domProps: {\n \"value\": (_vm.newname)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.newname = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.bio')))]), _vm._v(\" \"), _c('textarea', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.newbio),\n expression: \"newbio\"\n }],\n staticClass: \"bio\",\n domProps: {\n \"value\": (_vm.newbio)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.newbio = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": _vm.newname.length <= 0\n },\n on: {\n \"click\": _vm.updateProfile\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))])]), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.avatar')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.current_avatar')))]), _vm._v(\" \"), _c('img', {\n staticClass: \"old-avatar\",\n attrs: {\n \"src\": _vm.user.profile_image_url_original\n }\n }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.set_new_avatar')))]), _vm._v(\" \"), (_vm.previews[0]) ? _c('img', {\n staticClass: \"new-avatar\",\n attrs: {\n \"src\": _vm.previews[0]\n }\n }) : _vm._e(), _vm._v(\" \"), _c('div', [_c('input', {\n attrs: {\n \"type\": \"file\"\n },\n on: {\n \"change\": function($event) {\n _vm.uploadFile(0, $event)\n }\n }\n })]), _vm._v(\" \"), (_vm.uploading[0]) ? _c('i', {\n staticClass: \"icon-spin4 animate-spin\"\n }) : (_vm.previews[0]) ? _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.submitAvatar\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.profile_banner')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.current_profile_banner')))]), _vm._v(\" \"), _c('img', {\n staticClass: \"banner\",\n attrs: {\n \"src\": _vm.user.cover_photo\n }\n }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.set_new_profile_banner')))]), _vm._v(\" \"), (_vm.previews[1]) ? _c('img', {\n staticClass: \"banner\",\n attrs: {\n \"src\": _vm.previews[1]\n }\n }) : _vm._e(), _vm._v(\" \"), _c('div', [_c('input', {\n attrs: {\n \"type\": \"file\"\n },\n on: {\n \"change\": function($event) {\n _vm.uploadFile(1, $event)\n }\n }\n })]), _vm._v(\" \"), (_vm.uploading[1]) ? _c('i', {\n staticClass: \" icon-spin4 animate-spin uploading\"\n }) : (_vm.previews[1]) ? _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.submitBanner\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.profile_background')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.set_new_profile_background')))]), _vm._v(\" \"), (_vm.previews[2]) ? _c('img', {\n staticClass: \"bg\",\n attrs: {\n \"src\": _vm.previews[2]\n }\n }) : _vm._e(), _vm._v(\" \"), _c('div', [_c('input', {\n attrs: {\n \"type\": \"file\"\n },\n on: {\n \"change\": function($event) {\n _vm.uploadFile(2, $event)\n }\n }\n })]), _vm._v(\" \"), (_vm.uploading[2]) ? _c('i', {\n staticClass: \" icon-spin4 animate-spin uploading\"\n }) : (_vm.previews[2]) ? _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.submitBg\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _vm._e()]), _vm._v(\" \"), (_vm.pleromaBackend) ? _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.follow_import')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.import_followers_from_a_csv_file')))]), _vm._v(\" \"), _c('form', {\n model: {\n value: (_vm.followImportForm),\n callback: function($$v) {\n _vm.followImportForm = $$v\n },\n expression: \"followImportForm\"\n }\n }, [_c('input', {\n ref: \"followlist\",\n attrs: {\n \"type\": \"file\"\n },\n on: {\n \"change\": _vm.followListChange\n }\n })]), _vm._v(\" \"), (_vm.uploading[3]) ? _c('i', {\n staticClass: \" icon-spin4 animate-spin uploading\"\n }) : _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.importFollows\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))]), _vm._v(\" \"), (_vm.followsImported) ? _c('div', [_c('i', {\n staticClass: \"icon-cross\",\n on: {\n \"click\": _vm.dismissImported\n }\n }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.follows_imported')))])]) : (_vm.followImportError) ? _c('div', [_c('p', [_vm._v(_vm._s(_vm.$t('settings.follow_import_error')))])]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), (_vm.enableFollowsExport) ? _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.follow_export')))]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.exportFollows\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.follow_export_button')))])]) : _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.follow_export_processing')))])]), _vm._v(\" \"), _c('hr'), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.delete_account')))]), _vm._v(\" \"), (!_vm.deletingAccount) ? _c('p', [_vm._v(_vm._s(_vm.$t('settings.delete_account_description')))]) : _vm._e(), _vm._v(\" \"), (_vm.deletingAccount) ? _c('div', [_c('p', [_vm._v(_vm._s(_vm.$t('settings.delete_account_instructions')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('login.password')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.deleteAccountConfirmPasswordInput),\n expression: \"deleteAccountConfirmPasswordInput\"\n }],\n attrs: {\n \"type\": \"password\"\n },\n domProps: {\n \"value\": (_vm.deleteAccountConfirmPasswordInput)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.deleteAccountConfirmPasswordInput = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.deleteAccount\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.delete_account')))])]) : _vm._e(), _vm._v(\" \"), (_vm.deleteAccountError !== false) ? _c('p', [_vm._v(_vm._s(_vm.$t('settings.delete_account_error')))]) : _vm._e(), _vm._v(\" \"), (_vm.deleteAccountError) ? _c('p', [_vm._v(_vm._s(_vm.deleteAccountError))]) : _vm._e(), _vm._v(\" \"), (!_vm.deletingAccount) ? _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.confirmDelete\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _vm._e()])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-93ac3f60\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_settings/user_settings.vue\n// module id = 520\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (_vm.canDelete) ? _c('div', [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.deleteStatus()\n }\n }\n }, [_c('i', {\n staticClass: \"icon-cancel delete-status\"\n })])]) : _vm._e()\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-ab5f3124\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/delete_button/delete_button.vue\n// module id = 521\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', [_c('div', [_vm._v(_vm._s(_vm.$t('settings.presets')) + \"\\n \"), _c('label', {\n staticClass: \"select\",\n attrs: {\n \"for\": \"style-switcher\"\n }\n }, [_c('select', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.selected),\n expression: \"selected\"\n }],\n staticClass: \"style-switcher\",\n attrs: {\n \"id\": \"style-switcher\"\n },\n on: {\n \"change\": function($event) {\n var $$selectedVal = Array.prototype.filter.call($event.target.options, function(o) {\n return o.selected\n }).map(function(o) {\n var val = \"_value\" in o ? o._value : o.value;\n return val\n });\n _vm.selected = $event.target.multiple ? $$selectedVal : $$selectedVal[0]\n }\n }\n }, _vm._l((_vm.availableStyles), function(style) {\n return _c('option', {\n domProps: {\n \"value\": style\n }\n }, [_vm._v(_vm._s(style[0]))])\n })), _vm._v(\" \"), _c('i', {\n staticClass: \"icon-down-open\"\n })])]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-container\"\n }, [_c('p', [_vm._v(_vm._s(_vm.$t('settings.theme_help')))]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('label', {\n staticClass: \"theme-color-lb\",\n attrs: {\n \"for\": \"bgcolor\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.background')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.bgColorLocal),\n expression: \"bgColorLocal\"\n }],\n staticClass: \"theme-color-cl\",\n attrs: {\n \"id\": \"bgcolor\",\n \"type\": \"color\"\n },\n domProps: {\n \"value\": (_vm.bgColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.bgColorLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.bgColorLocal),\n expression: \"bgColorLocal\"\n }],\n staticClass: \"theme-color-in\",\n attrs: {\n \"id\": \"bgcolor-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.bgColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.bgColorLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('label', {\n staticClass: \"theme-color-lb\",\n attrs: {\n \"for\": \"fgcolor\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.foreground')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.btnColorLocal),\n expression: \"btnColorLocal\"\n }],\n staticClass: \"theme-color-cl\",\n attrs: {\n \"id\": \"fgcolor\",\n \"type\": \"color\"\n },\n domProps: {\n \"value\": (_vm.btnColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.btnColorLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.btnColorLocal),\n expression: \"btnColorLocal\"\n }],\n staticClass: \"theme-color-in\",\n attrs: {\n \"id\": \"fgcolor-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.btnColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.btnColorLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('label', {\n staticClass: \"theme-color-lb\",\n attrs: {\n \"for\": \"textcolor\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.text')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.textColorLocal),\n expression: \"textColorLocal\"\n }],\n staticClass: \"theme-color-cl\",\n attrs: {\n \"id\": \"textcolor\",\n \"type\": \"color\"\n },\n domProps: {\n \"value\": (_vm.textColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.textColorLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.textColorLocal),\n expression: \"textColorLocal\"\n }],\n staticClass: \"theme-color-in\",\n attrs: {\n \"id\": \"textcolor-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.textColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.textColorLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('label', {\n staticClass: \"theme-color-lb\",\n attrs: {\n \"for\": \"linkcolor\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.links')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.linkColorLocal),\n expression: \"linkColorLocal\"\n }],\n staticClass: \"theme-color-cl\",\n attrs: {\n \"id\": \"linkcolor\",\n \"type\": \"color\"\n },\n domProps: {\n \"value\": (_vm.linkColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.linkColorLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.linkColorLocal),\n expression: \"linkColorLocal\"\n }],\n staticClass: \"theme-color-in\",\n attrs: {\n \"id\": \"linkcolor-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.linkColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.linkColorLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('label', {\n staticClass: \"theme-color-lb\",\n attrs: {\n \"for\": \"redcolor\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.cRed')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.redColorLocal),\n expression: \"redColorLocal\"\n }],\n staticClass: \"theme-color-cl\",\n attrs: {\n \"id\": \"redcolor\",\n \"type\": \"color\"\n },\n domProps: {\n \"value\": (_vm.redColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.redColorLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.redColorLocal),\n expression: \"redColorLocal\"\n }],\n staticClass: \"theme-color-in\",\n attrs: {\n \"id\": \"redcolor-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.redColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.redColorLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('label', {\n staticClass: \"theme-color-lb\",\n attrs: {\n \"for\": \"bluecolor\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.cBlue')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.blueColorLocal),\n expression: \"blueColorLocal\"\n }],\n staticClass: \"theme-color-cl\",\n attrs: {\n \"id\": \"bluecolor\",\n \"type\": \"color\"\n },\n domProps: {\n \"value\": (_vm.blueColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.blueColorLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.blueColorLocal),\n expression: \"blueColorLocal\"\n }],\n staticClass: \"theme-color-in\",\n attrs: {\n \"id\": \"bluecolor-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.blueColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.blueColorLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('label', {\n staticClass: \"theme-color-lb\",\n attrs: {\n \"for\": \"greencolor\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.cGreen')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.greenColorLocal),\n expression: \"greenColorLocal\"\n }],\n staticClass: \"theme-color-cl\",\n attrs: {\n \"id\": \"greencolor\",\n \"type\": \"color\"\n },\n domProps: {\n \"value\": (_vm.greenColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.greenColorLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.greenColorLocal),\n expression: \"greenColorLocal\"\n }],\n staticClass: \"theme-color-in\",\n attrs: {\n \"id\": \"greencolor-t\",\n \"type\": \"green\"\n },\n domProps: {\n \"value\": (_vm.greenColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.greenColorLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('label', {\n staticClass: \"theme-color-lb\",\n attrs: {\n \"for\": \"orangecolor\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.cOrange')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.orangeColorLocal),\n expression: \"orangeColorLocal\"\n }],\n staticClass: \"theme-color-cl\",\n attrs: {\n \"id\": \"orangecolor\",\n \"type\": \"color\"\n },\n domProps: {\n \"value\": (_vm.orangeColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.orangeColorLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.orangeColorLocal),\n expression: \"orangeColorLocal\"\n }],\n staticClass: \"theme-color-in\",\n attrs: {\n \"id\": \"orangecolor-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.orangeColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.orangeColorLocal = $event.target.value\n }\n }\n })])]), _vm._v(\" \"), _c('div', {\n staticClass: \"radius-container\"\n }, [_c('p', [_vm._v(_vm._s(_vm.$t('settings.radii_help')))]), _vm._v(\" \"), _c('div', {\n staticClass: \"radius-item\"\n }, [_c('label', {\n staticClass: \"theme-radius-lb\",\n attrs: {\n \"for\": \"btnradius\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.btnRadius')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.btnRadiusLocal),\n expression: \"btnRadiusLocal\"\n }],\n staticClass: \"theme-radius-rn\",\n attrs: {\n \"id\": \"btnradius\",\n \"type\": \"range\",\n \"max\": \"16\"\n },\n domProps: {\n \"value\": (_vm.btnRadiusLocal)\n },\n on: {\n \"__r\": function($event) {\n _vm.btnRadiusLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.btnRadiusLocal),\n expression: \"btnRadiusLocal\"\n }],\n staticClass: \"theme-radius-in\",\n attrs: {\n \"id\": \"btnradius-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.btnRadiusLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.btnRadiusLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"radius-item\"\n }, [_c('label', {\n staticClass: \"theme-radius-lb\",\n attrs: {\n \"for\": \"inputradius\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.inputRadius')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.inputRadiusLocal),\n expression: \"inputRadiusLocal\"\n }],\n staticClass: \"theme-radius-rn\",\n attrs: {\n \"id\": \"inputradius\",\n \"type\": \"range\",\n \"max\": \"16\"\n },\n domProps: {\n \"value\": (_vm.inputRadiusLocal)\n },\n on: {\n \"__r\": function($event) {\n _vm.inputRadiusLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.inputRadiusLocal),\n expression: \"inputRadiusLocal\"\n }],\n staticClass: \"theme-radius-in\",\n attrs: {\n \"id\": \"inputradius-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.inputRadiusLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.inputRadiusLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"radius-item\"\n }, [_c('label', {\n staticClass: \"theme-radius-lb\",\n attrs: {\n \"for\": \"panelradius\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.panelRadius')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.panelRadiusLocal),\n expression: \"panelRadiusLocal\"\n }],\n staticClass: \"theme-radius-rn\",\n attrs: {\n \"id\": \"panelradius\",\n \"type\": \"range\",\n \"max\": \"50\"\n },\n domProps: {\n \"value\": (_vm.panelRadiusLocal)\n },\n on: {\n \"__r\": function($event) {\n _vm.panelRadiusLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.panelRadiusLocal),\n expression: \"panelRadiusLocal\"\n }],\n staticClass: \"theme-radius-in\",\n attrs: {\n \"id\": \"panelradius-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.panelRadiusLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.panelRadiusLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"radius-item\"\n }, [_c('label', {\n staticClass: \"theme-radius-lb\",\n attrs: {\n \"for\": \"avatarradius\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.avatarRadius')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.avatarRadiusLocal),\n expression: \"avatarRadiusLocal\"\n }],\n staticClass: \"theme-radius-rn\",\n attrs: {\n \"id\": \"avatarradius\",\n \"type\": \"range\",\n \"max\": \"28\"\n },\n domProps: {\n \"value\": (_vm.avatarRadiusLocal)\n },\n on: {\n \"__r\": function($event) {\n _vm.avatarRadiusLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.avatarRadiusLocal),\n expression: \"avatarRadiusLocal\"\n }],\n staticClass: \"theme-radius-in\",\n attrs: {\n \"id\": \"avatarradius-t\",\n \"type\": \"green\"\n },\n domProps: {\n \"value\": (_vm.avatarRadiusLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.avatarRadiusLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"radius-item\"\n }, [_c('label', {\n staticClass: \"theme-radius-lb\",\n attrs: {\n \"for\": \"avataraltradius\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.avatarAltRadius')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.avatarAltRadiusLocal),\n expression: \"avatarAltRadiusLocal\"\n }],\n staticClass: \"theme-radius-rn\",\n attrs: {\n \"id\": \"avataraltradius\",\n \"type\": \"range\",\n \"max\": \"28\"\n },\n domProps: {\n \"value\": (_vm.avatarAltRadiusLocal)\n },\n on: {\n \"__r\": function($event) {\n _vm.avatarAltRadiusLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.avatarAltRadiusLocal),\n expression: \"avatarAltRadiusLocal\"\n }],\n staticClass: \"theme-radius-in\",\n attrs: {\n \"id\": \"avataraltradius-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.avatarAltRadiusLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.avatarAltRadiusLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"radius-item\"\n }, [_c('label', {\n staticClass: \"theme-radius-lb\",\n attrs: {\n \"for\": \"attachmentradius\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.attachmentRadius')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.attachmentRadiusLocal),\n expression: \"attachmentRadiusLocal\"\n }],\n staticClass: \"theme-radius-rn\",\n attrs: {\n \"id\": \"attachmentrradius\",\n \"type\": \"range\",\n \"max\": \"50\"\n },\n domProps: {\n \"value\": (_vm.attachmentRadiusLocal)\n },\n on: {\n \"__r\": function($event) {\n _vm.attachmentRadiusLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.attachmentRadiusLocal),\n expression: \"attachmentRadiusLocal\"\n }],\n staticClass: \"theme-radius-in\",\n attrs: {\n \"id\": \"attachmentradius-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.attachmentRadiusLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.attachmentRadiusLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"radius-item\"\n }, [_c('label', {\n staticClass: \"theme-radius-lb\",\n attrs: {\n \"for\": \"tooltipradius\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.tooltipRadius')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.tooltipRadiusLocal),\n expression: \"tooltipRadiusLocal\"\n }],\n staticClass: \"theme-radius-rn\",\n attrs: {\n \"id\": \"tooltipradius\",\n \"type\": \"range\",\n \"max\": \"20\"\n },\n domProps: {\n \"value\": (_vm.tooltipRadiusLocal)\n },\n on: {\n \"__r\": function($event) {\n _vm.tooltipRadiusLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.tooltipRadiusLocal),\n expression: \"tooltipRadiusLocal\"\n }],\n staticClass: \"theme-radius-in\",\n attrs: {\n \"id\": \"tooltipradius-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.tooltipRadiusLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.tooltipRadiusLocal = $event.target.value\n }\n }\n })])]), _vm._v(\" \"), _c('div', {\n style: ({\n '--btnRadius': _vm.btnRadiusLocal + 'px',\n '--inputRadius': _vm.inputRadiusLocal + 'px',\n '--panelRadius': _vm.panelRadiusLocal + 'px',\n '--avatarRadius': _vm.avatarRadiusLocal + 'px',\n '--avatarAltRadius': _vm.avatarAltRadiusLocal + 'px',\n '--tooltipRadius': _vm.tooltipRadiusLocal + 'px',\n '--attachmentRadius': _vm.attachmentRadiusLocal + 'px'\n })\n }, [_c('div', {\n staticClass: \"panel dummy\"\n }, [_c('div', {\n staticClass: \"panel-heading\",\n style: ({\n 'background-color': _vm.btnColorLocal,\n 'color': _vm.textColorLocal\n })\n }, [_vm._v(\"Preview\")]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body theme-preview-content\",\n style: ({\n 'background-color': _vm.bgColorLocal,\n 'color': _vm.textColorLocal\n })\n }, [_c('div', {\n staticClass: \"avatar\",\n style: ({\n 'border-radius': _vm.avatarRadiusLocal + 'px'\n })\n }, [_vm._v(\"\\n ( ͡° ͜ʖ ͡°)\\n \")]), _vm._v(\" \"), _c('h4', [_vm._v(\"Content\")]), _vm._v(\" \"), _c('br'), _vm._v(\"\\n A bunch of more content and\\n \"), _c('a', {\n style: ({\n color: _vm.linkColorLocal\n })\n }, [_vm._v(\"a nice lil' link\")]), _vm._v(\" \"), _c('i', {\n staticClass: \"icon-reply\",\n style: ({\n color: _vm.blueColorLocal\n })\n }), _vm._v(\" \"), _c('i', {\n staticClass: \"icon-retweet\",\n style: ({\n color: _vm.greenColorLocal\n })\n }), _vm._v(\" \"), _c('i', {\n staticClass: \"icon-cancel\",\n style: ({\n color: _vm.redColorLocal\n })\n }), _vm._v(\" \"), _c('i', {\n staticClass: \"icon-star\",\n style: ({\n color: _vm.orangeColorLocal\n })\n }), _vm._v(\" \"), _c('br'), _vm._v(\" \"), _c('button', {\n staticClass: \"btn\",\n style: ({\n 'background-color': _vm.btnColorLocal,\n 'color': _vm.textColorLocal\n })\n }, [_vm._v(\"Button\")])])])]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn\",\n on: {\n \"click\": _vm.setCustomTheme\n }\n }, [_vm._v(_vm._s(_vm.$t('general.apply')))])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-ae8f5000\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/style_switcher/style_switcher.vue\n// module id = 522\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (_vm.loggedIn) ? _c('div', [_c('i', {\n staticClass: \"favorite-button fav-active\",\n class: _vm.classes,\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.favorite()\n }\n }\n }), _vm._v(\" \"), (_vm.status.fave_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.fave_num))]) : _vm._e()]) : _c('div', [_c('i', {\n staticClass: \"favorite-button\",\n class: _vm.classes\n }), _vm._v(\" \"), (_vm.status.fave_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.fave_num))]) : _vm._e()])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-bd666be8\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/favorite_button/favorite_button.vue\n// module id = 523\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"settings panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.settings')) + \"\\n \")]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.theme')))]), _vm._v(\" \"), _c('style-switcher')], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.filtering')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.filtering_explanation')))]), _vm._v(\" \"), _c('textarea', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.muteWordsString),\n expression: \"muteWordsString\"\n }],\n attrs: {\n \"id\": \"muteWords\"\n },\n domProps: {\n \"value\": (_vm.muteWordsString)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.muteWordsString = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.attachments')))]), _vm._v(\" \"), _c('ul', {\n staticClass: \"setting-list\"\n }, [_c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.hideAttachmentsLocal),\n expression: \"hideAttachmentsLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"hideAttachments\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.hideAttachmentsLocal) ? _vm._i(_vm.hideAttachmentsLocal, null) > -1 : (_vm.hideAttachmentsLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.hideAttachmentsLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.hideAttachmentsLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.hideAttachmentsLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.hideAttachmentsLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"hideAttachments\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.hide_attachments_in_tl')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.hideAttachmentsInConvLocal),\n expression: \"hideAttachmentsInConvLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"hideAttachmentsInConv\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.hideAttachmentsInConvLocal) ? _vm._i(_vm.hideAttachmentsInConvLocal, null) > -1 : (_vm.hideAttachmentsInConvLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.hideAttachmentsInConvLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.hideAttachmentsInConvLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.hideAttachmentsInConvLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.hideAttachmentsInConvLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"hideAttachmentsInConv\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.hide_attachments_in_convo')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.hideNsfwLocal),\n expression: \"hideNsfwLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"hideNsfw\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.hideNsfwLocal) ? _vm._i(_vm.hideNsfwLocal, null) > -1 : (_vm.hideNsfwLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.hideNsfwLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.hideNsfwLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.hideNsfwLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.hideNsfwLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"hideNsfw\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.nsfw_clickthrough')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.autoLoadLocal),\n expression: \"autoLoadLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"autoload\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.autoLoadLocal) ? _vm._i(_vm.autoLoadLocal, null) > -1 : (_vm.autoLoadLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.autoLoadLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.autoLoadLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.autoLoadLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.autoLoadLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"autoload\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.autoload')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.streamingLocal),\n expression: \"streamingLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"streaming\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.streamingLocal) ? _vm._i(_vm.streamingLocal, null) > -1 : (_vm.streamingLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.streamingLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.streamingLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.streamingLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.streamingLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"streaming\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.streaming')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.hoverPreviewLocal),\n expression: \"hoverPreviewLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"hoverPreview\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.hoverPreviewLocal) ? _vm._i(_vm.hoverPreviewLocal, null) > -1 : (_vm.hoverPreviewLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.hoverPreviewLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.hoverPreviewLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.hoverPreviewLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.hoverPreviewLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"hoverPreview\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.reply_link_preview')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.stopGifs),\n expression: \"stopGifs\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"stopGifs\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.stopGifs) ? _vm._i(_vm.stopGifs, null) > -1 : (_vm.stopGifs)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.stopGifs,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.stopGifs = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.stopGifs = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.stopGifs = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"stopGifs\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.stop_gifs')))])])])])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-cd51c000\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/settings/settings.vue\n// module id = 524\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"nav-panel\"\n }, [_c('div', {\n staticClass: \"panel panel-default\"\n }, [_c('ul', [(_vm.currentUser) ? _c('li', [_c('router-link', {\n attrs: {\n \"to\": \"/main/friends\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.timeline\")) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), (_vm.currentUser) ? _c('li', [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'mentions',\n params: {\n username: _vm.currentUser.screen_name\n }\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.mentions\")) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), _c('li', [_c('router-link', {\n attrs: {\n \"to\": \"/main/public\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.public_tl\")) + \"\\n \")])], 1), _vm._v(\" \"), _c('li', [_c('router-link', {\n attrs: {\n \"to\": \"/main/all\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.twkn\")) + \"\\n \")])], 1)])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-d306a29c\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/nav_panel/nav_panel.vue\n// module id = 525\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"who-to-follow-panel\"\n }, [_c('div', {\n staticClass: \"panel panel-default base01-background\"\n }, [_vm._m(0), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body who-to-follow\"\n }, [_c('p', [_c('img', {\n attrs: {\n \"src\": _vm.img1\n }\n }), _vm._v(\" \"), _c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.id1\n }\n }\n }\n }, [_vm._v(_vm._s(_vm.name1))]), _c('br'), _vm._v(\" \"), _c('img', {\n attrs: {\n \"src\": _vm.img2\n }\n }), _vm._v(\" \"), _c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.id2\n }\n }\n }\n }, [_vm._v(_vm._s(_vm.name2))]), _c('br'), _vm._v(\" \"), _c('img', {\n attrs: {\n \"src\": _vm.img3\n }\n }), _vm._v(\" \"), _c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.id3\n }\n }\n }\n }, [_vm._v(_vm._s(_vm.name3))]), _c('br'), _vm._v(\" \"), _c('img', {\n attrs: {\n \"src\": _vm.$store.state.config.logo\n }\n }), _vm._v(\" \"), _c('a', {\n attrs: {\n \"href\": _vm.moreUrl,\n \"target\": \"_blank\"\n }\n }, [_vm._v(\"More\")])], 1)])])])\n},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"panel-heading timeline-heading base02-background base04\"\n }, [_c('div', {\n staticClass: \"title\"\n }, [_vm._v(\"\\n Who to follow\\n \")])])\n}]}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-d8fd69d8\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/who_to_follow_panel/who_to_follow_panel.vue\n// module id = 526\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"user-panel\"\n }, [(_vm.user) ? _c('div', {\n staticClass: \"panel panel-default\",\n staticStyle: {\n \"overflow\": \"visible\"\n }\n }, [_c('user-card-content', {\n attrs: {\n \"user\": _vm.user,\n \"switcher\": false,\n \"hideBio\": true\n }\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-footer\"\n }, [(_vm.user) ? _c('post-status-form') : _vm._e()], 1)], 1) : _vm._e(), _vm._v(\" \"), (!_vm.user) ? _c('login-form') : _vm._e()], 1)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-eda04b40\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_panel/user_panel.vue\n// module id = 527\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"card\"\n }, [_c('a', {\n attrs: {\n \"href\": \"#\"\n }\n }, [_c('img', {\n staticClass: \"avatar\",\n attrs: {\n \"src\": _vm.user.profile_image_url\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleUserExpanded($event)\n }\n }\n })]), _vm._v(\" \"), (_vm.userExpanded) ? _c('div', {\n staticClass: \"usercard\"\n }, [_c('user-card-content', {\n attrs: {\n \"user\": _vm.user,\n \"switcher\": false\n }\n })], 1) : _c('div', {\n staticClass: \"name-and-screen-name\"\n }, [_c('div', {\n staticClass: \"user-name\",\n attrs: {\n \"title\": _vm.user.name\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.user.name) + \"\\n \"), (!_vm.userExpanded && _vm.showFollows && _vm.user.follows_you) ? _c('span', {\n staticClass: \"follows-you\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.follows_you')) + \"\\n \")]) : _vm._e()]), _vm._v(\" \"), _c('a', {\n attrs: {\n \"href\": _vm.user.statusnet_profile_url,\n \"target\": \"blank\"\n }\n }, [_c('div', {\n staticClass: \"user-screen-name\"\n }, [_vm._v(\"@\" + _vm._s(_vm.user.screen_name))])])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-f117c42c\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_card/user_card.vue\n// module id = 528\n// module chunks = 2"],"sourceRoot":""}
\ No newline at end of file
diff --git a/priv/static/static/js/app.13c0bda10eb515cdf8ed.js b/priv/static/static/js/app.13c0bda10eb515cdf8ed.js
new file mode 100644
index 000000000..4f78c6e22
--- /dev/null
+++ b/priv/static/static/js/app.13c0bda10eb515cdf8ed.js
@@ -0,0 +1,7 @@
+webpackJsonp([2,0],[function(e,t,a){"use strict";function s(e){return e&&e.__esModule?e:{default:e}}var i=a(215),n=s(i),r=a(101),o=s(r),l=a(529),u=s(l),c=a(532),d=s(c),f=a(468),m=s(f),p=a(483),v=s(p),h=a(482),_=s(h),g=a(474),w=s(g),b=a(488),C=s(b),k=a(471),y=s(k),x=a(478),L=s(x),P=a(492),$=s(P),S=a(486),j=s(S),R=a(484),A=s(R),F=a(493),I=s(F),N=a(103),E=s(N),U=a(173),O=s(U),T=a(170),M=s(T),z=a(172),B=s(z),D=a(171),W=s(D),G=a(531),H=s(G),V=a(467),q=s(V),K=a(169),J=s(K),Z=a(168),Y=s(Z),X=a(466),Q=s(X),ee=(window.navigator.language||"en").split("-")[0];o.default.use(d.default),o.default.use(u.default),o.default.use(H.default,{locale:"ja"===ee?"ja":"en",locales:{en:a(298),ja:a(299)}}),o.default.use(q.default),o.default.use(Q.default);var te={paths:["config.hideAttachments","config.hideAttachmentsInConv","config.hideNsfw","config.autoLoad","config.hoverPreview","config.streaming","config.muteWords","config.customTheme","users.lastLoginName"]},ae=new d.default.Store({modules:{statuses:E.default,users:O.default,api:M.default,config:B.default,chat:W.default},plugins:[(0,J.default)(te)],strict:!1}),se=new q.default({locale:ee,fallbackLocale:"en",messages:Y.default});window.fetch("/api/statusnet/config.json").then(function(e){return e.json()}).then(function(e){var t=e.site,a=t.name,s=t.closed,i=t.textlimit;ae.dispatch("setOption",{name:"name",value:a}),ae.dispatch("setOption",{name:"registrationOpen",value:"0"===s}),ae.dispatch("setOption",{name:"textlimit",value:parseInt(i)})}),window.fetch("/static/config.json").then(function(e){return e.json()}).then(function(e){var t=e.theme,a=e.background,s=e.logo,i=e.showWhoToFollowPanel,n=e.whoToFollowProvider,r=e.whoToFollowLink,l=e.showInstanceSpecificPanel;ae.dispatch("setOption",{name:"theme",value:t}),ae.dispatch("setOption",{name:"background",value:a}),ae.dispatch("setOption",{name:"logo",value:s}),ae.dispatch("setOption",{name:"showWhoToFollowPanel",value:i}),ae.dispatch("setOption",{name:"whoToFollowProvider",value:n}),ae.dispatch("setOption",{name:"whoToFollowLink",value:r}),ae.dispatch("setOption",{name:"showInstanceSpecificPanel",value:l}),e.chatDisabled&&ae.dispatch("disableChat");var c=[{name:"root",path:"/",redirect:function(t){var a=e.redirectRootLogin,s=e.redirectRootNoLogin;return(ae.state.users.currentUser?a:s)||"/main/all"}},{path:"/main/all",component:_.default},{path:"/main/public",component:v.default},{path:"/main/friends",component:w.default},{path:"/tag/:tag",component:C.default},{name:"conversation",path:"/notice/:id",component:y.default,meta:{dontScroll:!0}},{name:"user-profile",path:"/users/:id",component:$.default},{name:"mentions",path:"/:username/mentions",component:L.default},{name:"settings",path:"/settings",component:j.default},{name:"registration",path:"/registration",component:A.default},{name:"user-settings",path:"/user-settings",component:I.default}],d=new u.default({mode:"history",routes:c,scrollBehavior:function(e,t,a){return!e.matched.some(function(e){return e.meta.dontScroll})&&(a||{x:0,y:0})}});new o.default({router:d,store:ae,i18n:se,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){ae.dispatch("setOption",{name:"tos",value:e})}),window.fetch("/api/pleroma/emoji.json").then(function(e){return e.json().then(function(e){var t=(0,n.default)(e).map(function(t){return{shortcode:t,image_url:e[t]}});ae.dispatch("setOption",{name:"customEmoji",value:t}),ae.dispatch("setOption",{name:"pleromaBackend",value:!0})},function(e){ae.dispatch("setOption",{name:"pleromaBackend",value:!1})})},function(e){return console.log(e)}),window.fetch("/static/emoji.json").then(function(e){return e.json()}).then(function(e){var t=(0,n.default)(e).map(function(t){return{shortcode:t,image_url:!1,utf:e[t]}});ae.dispatch("setOption",{name:"emoji",value:t})}),window.fetch("/instance/panel.html").then(function(e){return e.text()}).then(function(e){ae.dispatch("setOption",{name:"instanceSpecificPanelContent",value:e})})},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,a){a(274);var s=a(1)(a(202),a(497),null,null);e.exports=s.exports},,,,,,,,,,,,,,,function(e,t,a){a(273);var s=a(1)(a(204),a(496),null,null);e.exports=s.exports},function(e,t,a){"use strict";function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=a(42),n=s(i),r=a(61),o=s(r);a(533);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",p="/api/favorites/create",v="/api/favorites/destroy",h="/api/statuses/retweet",_="/api/statuses/update.json",g="/api/statuses/destroy",w="/api/statuses/show",b="/api/statusnet/media/upload",C="/api/statusnet/conversation",k="/api/statuses/mentions.json",y="/api/statuses/followers.json",x="/api/statuses/friends.json",L="/api/friendships/create.json",P="/api/friendships/destroy.json",$="/api/qvitter/set_profile_pref.json",S="/api/account/register.json",j="/api/qvitter/update_avatar.json",R="/api/qvitter/update_background_image.json",A="/api/account/update_profile_banner.json",F="/api/account/update_profile.json",I="/api/externalprofile/show.json",N="/api/qvitter/statuses/user_timeline.json",E="/api/blocks/create.json",U="/api/blocks/destroy.json",O="/api/users/show.json",T="/api/pleroma/follow_import",M="/api/pleroma/delete_account",z="/api/pleroma/change_password",B=window.fetch,D=function(e,t){t=t||{};var a="",s=a+e;return t.credentials="same-origin",B(s,t)},W=function(e){return btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,function(e,t){return String.fromCharCode("0x"+t)}))},G=function(e){var t=e.credentials,a=e.params,s=j,i=new FormData;return(0,o.default)(a,function(e,t){e&&i.append(t,e)}),D(s,{headers:J(t),method:"POST",body:i}).then(function(e){return e.json()})},H=function(e){var t=e.credentials,a=e.params,s=R,i=new FormData;return(0,o.default)(a,function(e,t){e&&i.append(t,e)}),D(s,{headers:J(t),method:"POST",body:i}).then(function(e){return e.json()})},V=function(e){var t=e.credentials,a=e.params,s=A,i=new FormData;return(0,o.default)(a,function(e,t){e&&i.append(t,e)}),D(s,{headers:J(t),method:"POST",body:i}).then(function(e){return e.json()})},q=function(e){var t=e.credentials,a=e.params,s=F,i=new FormData;return(0,o.default)(a,function(e,t){("description"===t||e)&&i.append(t,e)}),D(s,{headers:J(t),method:"POST",body:i}).then(function(e){return e.json()})},K=function(e){var t=new FormData;return(0,o.default)(e,function(e,a){e&&t.append(a,e)}),D(S,{method:"POST",body:t})},J=function(e){return e&&e.username&&e.password?{Authorization:"Basic "+W(e.username+":"+e.password)}:{}},Z=function(e){var t=e.profileUrl,a=e.credentials,s=I+"?profileurl="+t;return D(s,{headers:J(a),method:"GET"}).then(function(e){return e.json()})},Y=function(e){var t=e.id,a=e.credentials,s=L+"?user_id="+t;return D(s,{headers:J(a),method:"POST"}).then(function(e){return e.json()})},X=function(e){var t=e.id,a=e.credentials,s=P+"?user_id="+t;return D(s,{headers:J(a),method:"POST"}).then(function(e){return e.json()})},Q=function(e){var t=e.id,a=e.credentials,s=E+"?user_id="+t;return D(s,{headers:J(a),method:"POST"}).then(function(e){return e.json()})},ee=function(e){var t=e.id,a=e.credentials,s=U+"?user_id="+t;return D(s,{headers:J(a),method:"POST"}).then(function(e){return e.json()})},te=function(e){var t=e.id,a=e.credentials,s=O+"?user_id="+t;return D(s,{headers:J(a)}).then(function(e){return e.json()})},ae=function(e){var t=e.id,a=e.credentials,s=x+"?user_id="+t;return D(s,{headers:J(a)}).then(function(e){return e.json()})},se=function(e){var t=e.id,a=e.credentials,s=y+"?user_id="+t;return D(s,{headers:J(a)}).then(function(e){return e.json()})},ie=function(e){var t=e.username,a=e.credentials,s=c+"/"+t+".json";return D(s,{headers:J(a)}).then(function(e){return e.json()})},ne=function(e){var t=e.id,a=e.credentials,s=C+"/"+t+".json?count=100";return D(s,{headers:J(a)}).then(function(e){return e.json()})},re=function(e){var t=e.id,a=e.credentials,s=w+"/"+t+".json";return D(s,{headers:J(a)}).then(function(e){return e.json()})},oe=function(e){var t=e.id,a=e.credentials,s=e.muted,i=void 0===s||s,n=new FormData,r=i?1:0;return n.append("namespace","qvitter"),n.append("data",r),n.append("topic","mute:"+t),D($,{method:"POST",headers:J(a),body:n})},le=function(e){var t=e.timeline,a=e.credentials,s=e.since,i=void 0!==s&&s,r=e.until,o=void 0!==r&&r,l=e.userId,c=void 0!==l&&l,p=e.tag,v=void 0!==p&&p,h={public:d,friends:u,mentions:k,publicAndExternal:f,user:N,tag:m},_=h[t],g=[];i&&g.push(["since_id",i]),o&&g.push(["max_id",o]),c&&g.push(["user_id",c]),v&&(_+="/"+v+".json"),g.push(["count",20]);var w=(0,n.default)(g,function(e){return e[0]+"="+e[1]}).join("&");return _+="?"+w,D(_,{headers:J(a)}).then(function(e){return e.json()})},ue=function(e){return D(l,{method:"POST",headers:J(e)})},ce=function(e){var t=e.id,a=e.credentials;return D(p+"/"+t+".json",{headers:J(a),method:"POST"})},de=function(e){var t=e.id,a=e.credentials;return D(v+"/"+t+".json",{headers:J(a),method:"POST"})},fe=function(e){var t=e.id,a=e.credentials;return D(h+"/"+t+".json",{headers:J(a),method:"POST"})},me=function(e){var t=e.credentials,a=e.status,s=e.mediaIds,i=e.inReplyToStatusId,n=s.join(","),r=new FormData;return r.append("status",a),r.append("source","Pleroma FE"),r.append("media_ids",n),i&&r.append("in_reply_to_status_id",i),D(_,{body:r,method:"POST",headers:J(t)})},pe=function(e){var t=e.id,a=e.credentials;return D(g+"/"+t+".json",{headers:J(a),method:"POST"})},ve=function(e){var t=e.formData,a=e.credentials;return D(b,{body:t,method:"POST",headers:J(a)}).then(function(e){return e.text()}).then(function(e){return(new DOMParser).parseFromString(e,"application/xml")})},he=function(e){var t=e.params,a=e.credentials;return D(T,{body:t,method:"POST",headers:J(a)}).then(function(e){return e.ok})},_e=function(e){var t=e.credentials,a=e.password,s=new FormData;return s.append("password",a),D(M,{body:s,method:"POST",headers:J(t)}).then(function(e){return e.json()})},ge=function(e){var t=e.credentials,a=e.password,s=e.newPassword,i=e.newPasswordConfirmation,n=new FormData;return n.append("password",a),n.append("new_password",s),n.append("new_password_confirmation",i),D(z,{body:n,method:"POST",headers:J(t)}).then(function(e){return e.json()})},we=function(e){var t=e.credentials,a="/api/qvitter/mutes.json";return D(a,{headers:J(t)}).then(function(e){return e.json()})},be={verifyCredentials:ue,fetchTimeline:le,fetchConversation:ne,fetchStatus:re,fetchFriends:ae,fetchFollowers:se,followUser:Y,unfollowUser:X,blockUser:Q,unblockUser:ee,fetchUser:te,favorite:ce,unfavorite:de,retweet:fe,postStatus:me,deleteStatus:pe,uploadMedia:ve,fetchAllFollowing:ie,setUserMute:oe,fetchMutes:we,register:K,updateAvatar:G,updateBg:H,updateProfile:q,updateBanner:V,externalProfile:Z,followImport:he,deleteAccount:_e,changePassword:ge};t.default=be},,,,,,,,,,,,,,,,,,,,function(e,t,a){a(287);var s=a(1)(a(197),a(517),null,null);e.exports=s.exports},function(e,t,a){a(286);var s=a(1)(a(199),a(516),null,null);e.exports=s.exports},function(e,t,a){"use strict";function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.rgbstr2hex=t.hex2rgb=t.rgb2hex=void 0;var i=a(108),n=s(i),r=a(42),o=s(r),l=function(e,t,a){var s=(0,o.default)([e,t,a],function(e){return e=Math.ceil(e),e=e<0?0:e,e=e>255?255:e}),i=(0,n.default)(s,3);return e=i[0],t=i[1],a=i[2],"#"+((1<<24)+(e<<16)+(t<<8)+a).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,a){"use strict";function s(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 i=a(217),n=s(i),r=a(2),o=s(r),l=a(160),u=s(l),c=a(161),d=s(c),f=a(441),m=s(f),p=a(439),v=s(p),h=a(431),_=s(h),g=a(62),w=s(g),b=a(61),C=s(b),k=a(22),y=s(k),x=a(100),L=s(x),P=a(448),$=s(P),S=a(447),j=s(S),R=a(435),A=s(R),F=a(44),I=s(F),N=function(){return{statuses:[],statusesObject:{},faves:[],visibleStatuses:[],visibleStatusesObject:{},newStatusCount:0,maxId:0,minVisibleId:0,loading:!1,followers:[],friends:[],viewing:"statuses",flushMarker:0}},E=t.defaultState={allStatuses:[],allStatusesObject:{},maxId:0,notifications:[],favorites:new n.default,error:!1,timelines:{mentions:N(),public:N(),user:N(),publicAndExternal:N(),friends:N(),tag:N()}},U=function(e){var t=/#nsfw/i;return(0,A.default)(e.tags,"nsfw")||!!e.text.match(t)},O=t.prepareStatus=function(e){return void 0===e.nsfw&&(e.nsfw=U(e),e.retweeted_status&&(e.nsfw=e.retweeted_status.nsfw)),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"},M=(t.findMaxId=function(){for(var e=arguments.length,t=Array(e),a=0;a 20},attachmentSize:function(){return this.$store.state.config.hideAttachments&&!this.inConversation||this.$store.state.config.hideAttachmentsInConv&&this.inConversation?"hide":this.compact?"small":"normal"}},components:{Attachment:u.default,FavoriteButton:d.default,RetweetButton:m.default,DeleteButton:v.default,PostStatusForm:_.default,UserCardContent:w.default,StillImage:C.default},methods:{visibilityIcon:function(e){switch(e){case"private":return"icon-lock";case"unlisted":return"icon-lock-open-alt";case"direct":return"icon-mail-alt";default:return"icon-globe"}},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},toggleShowTall:function(){this.showingTall=!this.showingTall},replyEnter:function(e,t){var a=this;this.showPreview=!0;var s=Number(e),i=this.$store.state.statuses.allStatuses;this.preview?this.preview.id!==s&&(this.preview=(0,n.default)(i,{id:s})):(this.preview=(0,n.default)(i,{id:s}),this.preview||this.$store.state.api.backendInteractor.fetchStatus({id:e}).then(function(e){a.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=k},function(e,t,a){"use strict";function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=a(64),n=s(i),r=a(165),o=s(r),l={props:["statusoid"],data:function(){return{expanded:!1}},components:{Status:n.default,Conversation:o.default},methods:{toggleExpanded:function(){this.expanded=!this.expanded}}};t.default=l},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={props:["src","referrerpolicy","mimetype"],data:function(){return{stopGifs:this.$store.state.config.stopGifs}},computed:{animated:function(){return this.stopGifs&&("image/gif"===this.mimetype||this.src.endsWith(".gif"))}},methods:{onLoad:function(){var e=this.$refs.canvas;e&&e.getContext("2d").drawImage(this.$refs.src,1,1,e.width,e.height)}}};t.default=a},function(e,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=a(66);t.default={data:function(){return{availableStyles:[],selected:this.$store.state.config.theme,bgColorLocal:"",btnColorLocal:"",textColorLocal:"",linkColorLocal:"",redColorLocal:"",blueColorLocal:"",greenColorLocal:"",orangeColorLocal:"",btnRadiusLocal:"",inputRadiusLocal:"",panelRadiusLocal:"",avatarRadiusLocal:"",avatarAltRadiusLocal:"",attachmentRadiusLocal:"",tooltipRadiusLocal:""}},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,s.rgbstr2hex)(this.$store.state.config.colors.bg),this.btnColorLocal=(0,s.rgbstr2hex)(this.$store.state.config.colors.btn),this.textColorLocal=(0,s.rgbstr2hex)(this.$store.state.config.colors.fg),this.linkColorLocal=(0,s.rgbstr2hex)(this.$store.state.config.colors.link),this.redColorLocal=(0,s.rgbstr2hex)(this.$store.state.config.colors.cRed),this.blueColorLocal=(0,s.rgbstr2hex)(this.$store.state.config.colors.cBlue),this.greenColorLocal=(0,s.rgbstr2hex)(this.$store.state.config.colors.cGreen),this.orangeColorLocal=(0,s.rgbstr2hex)(this.$store.state.config.colors.cOrange),this.btnRadiusLocal=this.$store.state.config.radii.btnRadius||4,this.inputRadiusLocal=this.$store.state.config.radii.inputRadius||4,this.panelRadiusLocal=this.$store.state.config.radii.panelRadius||10,this.avatarRadiusLocal=this.$store.state.config.radii.avatarRadius||5,this.avatarAltRadiusLocal=this.$store.state.config.radii.avatarAltRadius||50,this.tooltipRadiusLocal=this.$store.state.config.radii.tooltipRadius||2,this.attachmentRadiusLocal=this.$store.state.config.radii.attachmentRadius||5},methods:{setCustomTheme:function(){!this.bgColorLocal&&!this.btnColorLocal&&!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),a=e(this.btnColorLocal),s=e(this.textColorLocal),i=e(this.linkColorLocal),n=e(this.redColorLocal),r=e(this.blueColorLocal),o=e(this.greenColorLocal),l=e(this.orangeColorLocal);t&&a&&i&&this.$store.dispatch("setOption",{name:"customTheme",value:{fg:a,bg:t,text:s,link:i,cRed:n,cBlue:r,cGreen:o,cOrange:l,btnRadius:this.btnRadiusLocal,inputRadius:this.inputRadiusLocal,panelRadius:this.panelRadiusLocal,avatarRadius:this.avatarRadiusLocal,avatarAltRadius:this.avatarAltRadiusLocal,tooltipRadius:this.tooltipRadiusLocal,attachmentRadius:this.attachmentRadiusLocal}})}},watch:{selected:function(){this.bgColorLocal=this.selected[1],this.btnColorLocal=this.selected[2],this.textColorLocal=this.selected[3],this.linkColorLocal=this.selected[4],this.redColorLocal=this.selected[5],this.greenColorLocal=this.selected[6],this.blueColorLocal=this.selected[7],this.orangeColorLocal=this.selected[8]}}}},function(e,t,a){"use strict";function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=a(28),n=s(i),r={created:function(){this.$store.commit("clearTimeline",{timeline:"tag"}),this.$store.dispatch("startFetching",{tag:this.tag})},components:{Timeline:n.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,a){"use strict";function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=a(64),n=s(i),r=a(107),o=s(r),l=a(487),u=s(l),c=a(489),d=s(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:n.default,StatusOrConversation:u.default,UserCard:d.default},created:function(){var e=this.$store,t=e.state.users.currentUser.credentials,a=0===this.timeline.visibleStatuses.length;window.addEventListener("scroll",this.scrollLoad),o.default.fetchAndUpdate({store:e,credentials:t,timeline:this.timelineName,showImmediately:a,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,a=t.state.users.currentUser.credentials;t.commit("setLoading",{timeline:this.timelineName,value:!0}),o.default.fetchAndUpdate({store:t,credentials:a,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=document.body.getBoundingClientRect(),a=Math.max(t.height,-t.y);this.timeline.loading===!1&&this.$store.state.config.autoLoad&&this.$el.offsetHeight>0&&window.innerHeight+window.pageYOffset>=a-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,a){"use strict";function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=a(43),n=s(i),r={props:["user","showFollows"],data:function(){return{userExpanded:!1}},components:{UserCardContent:n.default},methods:{toggleUserExpanded:function(){this.userExpanded=!this.userExpanded}}};t.default=r},function(e,t,a){"use strict";function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=a(65),n=s(i),r=a(66);t.default={props:["user","switcher","selected","hideBio"],computed:{headingStyle:function(){var e=this.$store.state.config.colors.bg;if(e){var t=(0,r.hex2rgb)(e),a="rgba("+Math.floor(t.r)+", "+Math.floor(t.g)+", "+Math.floor(t.b)+", .5)";return console.log(t),console.log(["url("+this.user.cover_photo+")","linear-gradient(to bottom, "+a+", "+a+")"].join(", ")),{backgroundColor:"rgb("+Math.floor(.53*t.r)+", "+Math.floor(.56*t.g)+", "+Math.floor(.59*t.b)+")",backgroundImage:["linear-gradient(to bottom, "+a+", "+a+")","url("+this.user.cover_photo+")"].join(", ")}}},isOtherUser:function(){return this.user.id!==this.$store.state.users.currentUser.id},subscribeUrl:function(){var e=new URL(this.user.statusnet_profile_url);return e.protocol+"//"+e.host+"/main/ostatus"},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)}},components:{StillImage:n.default},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){if(this.switcher){var t=this.$store;t.commit("setProfileView",{v:e})}}}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a={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=a},function(e,t,a){"use strict";function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=a(476),n=s(i),r=a(166),o=s(r),l=a(43),u=s(l),c={computed:{user:function(){return this.$store.state.users.currentUser}},components:{LoginForm:n.default,PostStatusForm:o.default,UserCardContent:u.default}};t.default=c},function(e,t,a){"use strict";function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=a(43),n=s(i),r=a(28),o=s(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:n.default,Timeline:o.default}};t.default=l},function(e,t,a){"use strict";function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=a(213),n=s(i),r=a(167),o=s(r),l={data:function(){return{newname:this.$store.state.users.currentUser.name,newbio:this.$store.state.users.currentUser.description,followList:null,followImportError:!1,followsImported:!1,enableFollowsExport:!0,uploading:[!1,!1,!1,!1],previews:[null,null,null],deletingAccount:!1,deleteAccountConfirmPasswordInput:"",deleteAccountError:!1,changePasswordInputs:["","",""],changedPassword:!1,changePasswordError:!1}},components:{StyleSwitcher:o.default},computed:{user:function(){return this.$store.state.users.currentUser},pleromaBackend:function(){return this.$store.state.config.pleromaBackend}},methods:{updateProfile:function(){var e=this,t=this.newname,a=this.newbio;this.$store.state.api.backendInteractor.updateProfile({params:{name:t,description:a}}).then(function(t){t.error||(e.$store.commit("addNewUsers",[t]),e.$store.commit("setCurrentUser",t))})},uploadFile:function(e,t){var a=this,s=t.target.files[0];if(s){var i=new FileReader;i.onload=function(t){var s=t.target,i=s.result;a.previews[e]=i,a.$forceUpdate()},i.readAsDataURL(s)}},submitAvatar:function(){var e=this;if(this.previews[0]){var t=this.previews[0],a=new Image,s=void 0,i=void 0,n=void 0,r=void 0;a.src=t,a.height>a.width?(s=0,n=a.width,i=Math.floor((a.height-a.width)/2),r=a.width):(i=0,r=a.height,s=Math.floor((a.width-a.height)/2),n=a.height),this.uploading[0]=!0,this.$store.state.api.backendInteractor.updateAvatar({params:{img:t,cropX:s,cropY:i,cropW:n,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],a=new Image,s=void 0,i=void 0,r=void 0,o=void 0;a.src=t,r=a.width,o=a.height,s=0,i=0,this.uploading[1]=!0,this.$store.state.api.backendInteractor.updateBanner({params:{banner:t,offset_top:s,offset_left:i,width:r,height:o}}).then(function(t){if(!t.error){var a=JSON.parse((0,n.default)(e.$store.state.users.currentUser));a.cover_photo=t.url,e.$store.commit("addNewUsers",[a]),e.$store.commit("setCurrentUser",a),e.previews[1]=null}e.uploading[1]=!1})}},submitBg:function(){var e=this;if(this.previews[2]){var t=this.previews[2],a=new Image,s=void 0,i=void 0,r=void 0,o=void 0;a.src=t,s=0,i=0,r=a.width,o=a.width,this.uploading[2]=!0,this.$store.state.api.backendInteractor.updateBg({params:{img:t,cropX:s,cropY:i,cropW:r,cropH:o}}).then(function(t){if(!t.error){var a=JSON.parse((0,n.default)(e.$store.state.users.currentUser));a.background_image=t.url,e.$store.commit("addNewUsers",[a]),e.$store.commit("setCurrentUser",a),e.previews[2]=null}e.uploading[2]=!1})}},importFollows:function(){var e=this;this.uploading[3]=!0;var t=this.followList;this.$store.state.api.backendInteractor.followImport({params:t}).then(function(t){t?e.followsImported=!0:e.followImportError=!0,e.uploading[3]=!1})},exportPeople:function(e,t){var a=e.map(function(e){return e&&e.is_local&&(e.screen_name+="@"+location.hostname),e.screen_name}).join("\n"),s=document.createElement("a");s.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(a)),s.setAttribute("download",t),s.style.display="none",document.body.appendChild(s),s.click(),document.body.removeChild(s)},exportFollows:function(){var e=this;this.enableFollowsExport=!1,this.$store.state.api.backendInteractor.fetchFriends({id:this.$store.state.users.currentUser.id}).then(function(t){e.exportPeople(t,"friends.csv")})},followListChange:function(){var e=new FormData;e.append("list",this.$refs.followlist.files[0]),this.followList=e},dismissImported:function(){this.followsImported=!1,this.followImportError=!1},confirmDelete:function(){this.deletingAccount=!0},deleteAccount:function(){var e=this;this.$store.state.api.backendInteractor.deleteAccount({password:this.deleteAccountConfirmPasswordInput}).then(function(t){"success"===t.status?(e.$store.dispatch("logout"),e.$router.push("/main/all")):e.deleteAccountError=t.error})},changePassword:function(){var e=this,t={password:this.changePasswordInputs[0],newPassword:this.changePasswordInputs[1],newPasswordConfirmation:this.changePasswordInputs[2]};this.$store.state.api.backendInteractor.changePassword(t).then(function(t){"success"===t.status?(e.changedPassword=!0,e.changePasswordError=!1):(e.changedPassword=!1,e.changePasswordError=t.error)})}}};t.default=l},function(e,t){"use strict";function a(e,t,a,s){var i,n=t.ids,r=0,o=Math.floor(10*Math.random());for(i=o;i 20;\n\t },\n\t attachmentSize: function attachmentSize() {\n\t if (this.$store.state.config.hideAttachments && !this.inConversation || this.$store.state.config.hideAttachmentsInConv && this.inConversation) {\n\t return 'hide';\n\t } else if (this.compact) {\n\t return 'small';\n\t }\n\t return 'normal';\n\t }\n\t },\n\t components: {\n\t Attachment: _attachment2.default,\n\t FavoriteButton: _favorite_button2.default,\n\t RetweetButton: _retweet_button2.default,\n\t DeleteButton: _delete_button2.default,\n\t PostStatusForm: _post_status_form2.default,\n\t UserCardContent: _user_card_content2.default,\n\t StillImage: _stillImage2.default\n\t },\n\t methods: {\n\t visibilityIcon: function visibilityIcon(visibility) {\n\t switch (visibility) {\n\t case 'private':\n\t return 'icon-lock';\n\t case 'unlisted':\n\t return 'icon-lock-open-alt';\n\t case 'direct':\n\t return 'icon-mail-alt';\n\t default:\n\t return 'icon-globe';\n\t }\n\t },\n\t linkClicked: function linkClicked(_ref) {\n\t var target = _ref.target;\n\t\n\t if (target.tagName === 'SPAN') {\n\t target = target.parentNode;\n\t }\n\t if (target.tagName === 'A') {\n\t window.open(target.href, '_blank');\n\t }\n\t },\n\t toggleReplying: function toggleReplying() {\n\t this.replying = !this.replying;\n\t },\n\t gotoOriginal: function gotoOriginal(id) {\n\t if (this.inConversation) {\n\t this.$emit('goto', id);\n\t }\n\t },\n\t toggleExpanded: function toggleExpanded() {\n\t this.$emit('toggleExpanded');\n\t },\n\t toggleMute: function toggleMute() {\n\t this.unmuted = !this.unmuted;\n\t },\n\t toggleUserExpanded: function toggleUserExpanded() {\n\t this.userExpanded = !this.userExpanded;\n\t },\n\t toggleShowTall: function toggleShowTall() {\n\t this.showingTall = !this.showingTall;\n\t },\n\t replyEnter: function replyEnter(id, event) {\n\t var _this = this;\n\t\n\t this.showPreview = true;\n\t var targetId = Number(id);\n\t var statuses = this.$store.state.statuses.allStatuses;\n\t\n\t if (!this.preview) {\n\t this.preview = (0, _find3.default)(statuses, { 'id': targetId });\n\t\n\t if (!this.preview) {\n\t this.$store.state.api.backendInteractor.fetchStatus({ id: id }).then(function (status) {\n\t _this.preview = status;\n\t });\n\t }\n\t } else if (this.preview.id !== targetId) {\n\t this.preview = (0, _find3.default)(statuses, { 'id': targetId });\n\t }\n\t },\n\t replyLeave: function replyLeave() {\n\t this.showPreview = false;\n\t }\n\t },\n\t watch: {\n\t 'highlight': function highlight(id) {\n\t id = Number(id);\n\t if (this.status.id === id) {\n\t var rect = this.$el.getBoundingClientRect();\n\t if (rect.top < 100) {\n\t window.scrollBy(0, rect.top - 200);\n\t } else if (rect.bottom > window.innerHeight - 50) {\n\t window.scrollBy(0, rect.bottom - window.innerHeight + 50);\n\t }\n\t }\n\t }\n\t }\n\t};\n\t\n\texports.default = Status;\n\n/***/ }),\n/* 198 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _status = __webpack_require__(64);\n\t\n\tvar _status2 = _interopRequireDefault(_status);\n\t\n\tvar _conversation = __webpack_require__(165);\n\t\n\tvar _conversation2 = _interopRequireDefault(_conversation);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar statusOrConversation = {\n\t props: ['statusoid'],\n\t data: function data() {\n\t return {\n\t expanded: false\n\t };\n\t },\n\t\n\t components: {\n\t Status: _status2.default,\n\t Conversation: _conversation2.default\n\t },\n\t methods: {\n\t toggleExpanded: function toggleExpanded() {\n\t this.expanded = !this.expanded;\n\t }\n\t }\n\t};\n\t\n\texports.default = statusOrConversation;\n\n/***/ }),\n/* 199 */\n/***/ (function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar StillImage = {\n\t props: ['src', 'referrerpolicy', 'mimetype'],\n\t data: function data() {\n\t return {\n\t stopGifs: this.$store.state.config.stopGifs\n\t };\n\t },\n\t\n\t computed: {\n\t animated: function animated() {\n\t return this.stopGifs && (this.mimetype === 'image/gif' || this.src.endsWith('.gif'));\n\t }\n\t },\n\t methods: {\n\t onLoad: function onLoad() {\n\t var canvas = this.$refs.canvas;\n\t if (!canvas) return;\n\t canvas.getContext('2d').drawImage(this.$refs.src, 1, 1, canvas.width, canvas.height);\n\t }\n\t }\n\t};\n\t\n\texports.default = StillImage;\n\n/***/ }),\n/* 200 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _color_convert = __webpack_require__(66);\n\t\n\texports.default = {\n\t data: function data() {\n\t return {\n\t availableStyles: [],\n\t selected: this.$store.state.config.theme,\n\t bgColorLocal: '',\n\t btnColorLocal: '',\n\t textColorLocal: '',\n\t linkColorLocal: '',\n\t redColorLocal: '',\n\t blueColorLocal: '',\n\t greenColorLocal: '',\n\t orangeColorLocal: '',\n\t btnRadiusLocal: '',\n\t inputRadiusLocal: '',\n\t panelRadiusLocal: '',\n\t avatarRadiusLocal: '',\n\t avatarAltRadiusLocal: '',\n\t attachmentRadiusLocal: '',\n\t tooltipRadiusLocal: ''\n\t };\n\t },\n\t created: function created() {\n\t var self = this;\n\t\n\t window.fetch('/static/styles.json').then(function (data) {\n\t return data.json();\n\t }).then(function (themes) {\n\t self.availableStyles = themes;\n\t });\n\t },\n\t mounted: function mounted() {\n\t this.bgColorLocal = (0, _color_convert.rgbstr2hex)(this.$store.state.config.colors.bg);\n\t this.btnColorLocal = (0, _color_convert.rgbstr2hex)(this.$store.state.config.colors.btn);\n\t this.textColorLocal = (0, _color_convert.rgbstr2hex)(this.$store.state.config.colors.fg);\n\t this.linkColorLocal = (0, _color_convert.rgbstr2hex)(this.$store.state.config.colors.link);\n\t\n\t this.redColorLocal = (0, _color_convert.rgbstr2hex)(this.$store.state.config.colors.cRed);\n\t this.blueColorLocal = (0, _color_convert.rgbstr2hex)(this.$store.state.config.colors.cBlue);\n\t this.greenColorLocal = (0, _color_convert.rgbstr2hex)(this.$store.state.config.colors.cGreen);\n\t this.orangeColorLocal = (0, _color_convert.rgbstr2hex)(this.$store.state.config.colors.cOrange);\n\t\n\t this.btnRadiusLocal = this.$store.state.config.radii.btnRadius || 4;\n\t this.inputRadiusLocal = this.$store.state.config.radii.inputRadius || 4;\n\t this.panelRadiusLocal = this.$store.state.config.radii.panelRadius || 10;\n\t this.avatarRadiusLocal = this.$store.state.config.radii.avatarRadius || 5;\n\t this.avatarAltRadiusLocal = this.$store.state.config.radii.avatarAltRadius || 50;\n\t this.tooltipRadiusLocal = this.$store.state.config.radii.tooltipRadius || 2;\n\t this.attachmentRadiusLocal = this.$store.state.config.radii.attachmentRadius || 5;\n\t },\n\t\n\t methods: {\n\t setCustomTheme: function setCustomTheme() {\n\t if (!this.bgColorLocal && !this.btnColorLocal && !this.linkColorLocal) {}\n\t\n\t var rgb = function rgb(hex) {\n\t var result = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex);\n\t return result ? {\n\t r: parseInt(result[1], 16),\n\t g: parseInt(result[2], 16),\n\t b: parseInt(result[3], 16)\n\t } : null;\n\t };\n\t var bgRgb = rgb(this.bgColorLocal);\n\t var btnRgb = rgb(this.btnColorLocal);\n\t var textRgb = rgb(this.textColorLocal);\n\t var linkRgb = rgb(this.linkColorLocal);\n\t\n\t var redRgb = rgb(this.redColorLocal);\n\t var blueRgb = rgb(this.blueColorLocal);\n\t var greenRgb = rgb(this.greenColorLocal);\n\t var orangeRgb = rgb(this.orangeColorLocal);\n\t\n\t if (bgRgb && btnRgb && linkRgb) {\n\t this.$store.dispatch('setOption', {\n\t name: 'customTheme',\n\t value: {\n\t fg: btnRgb,\n\t bg: bgRgb,\n\t text: textRgb,\n\t link: linkRgb,\n\t cRed: redRgb,\n\t cBlue: blueRgb,\n\t cGreen: greenRgb,\n\t cOrange: orangeRgb,\n\t btnRadius: this.btnRadiusLocal,\n\t inputRadius: this.inputRadiusLocal,\n\t panelRadius: this.panelRadiusLocal,\n\t avatarRadius: this.avatarRadiusLocal,\n\t avatarAltRadius: this.avatarAltRadiusLocal,\n\t tooltipRadius: this.tooltipRadiusLocal,\n\t attachmentRadius: this.attachmentRadiusLocal\n\t } });\n\t }\n\t }\n\t },\n\t watch: {\n\t selected: function selected() {\n\t this.bgColorLocal = this.selected[1];\n\t this.btnColorLocal = this.selected[2];\n\t this.textColorLocal = this.selected[3];\n\t this.linkColorLocal = this.selected[4];\n\t this.redColorLocal = this.selected[5];\n\t this.greenColorLocal = this.selected[6];\n\t this.blueColorLocal = this.selected[7];\n\t this.orangeColorLocal = this.selected[8];\n\t }\n\t }\n\t};\n\n/***/ }),\n/* 201 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _timeline = __webpack_require__(28);\n\t\n\tvar _timeline2 = _interopRequireDefault(_timeline);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar TagTimeline = {\n\t created: function created() {\n\t this.$store.commit('clearTimeline', { timeline: 'tag' });\n\t this.$store.dispatch('startFetching', { 'tag': this.tag });\n\t },\n\t\n\t components: {\n\t Timeline: _timeline2.default\n\t },\n\t computed: {\n\t tag: function tag() {\n\t return this.$route.params.tag;\n\t },\n\t timeline: function timeline() {\n\t return this.$store.state.statuses.timelines.tag;\n\t }\n\t },\n\t watch: {\n\t tag: function tag() {\n\t this.$store.commit('clearTimeline', { timeline: 'tag' });\n\t this.$store.dispatch('startFetching', { 'tag': this.tag });\n\t }\n\t },\n\t destroyed: function destroyed() {\n\t this.$store.dispatch('stopFetching', 'tag');\n\t }\n\t};\n\t\n\texports.default = TagTimeline;\n\n/***/ }),\n/* 202 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _status = __webpack_require__(64);\n\t\n\tvar _status2 = _interopRequireDefault(_status);\n\t\n\tvar _timeline_fetcherService = __webpack_require__(107);\n\t\n\tvar _timeline_fetcherService2 = _interopRequireDefault(_timeline_fetcherService);\n\t\n\tvar _status_or_conversation = __webpack_require__(487);\n\t\n\tvar _status_or_conversation2 = _interopRequireDefault(_status_or_conversation);\n\t\n\tvar _user_card = __webpack_require__(489);\n\t\n\tvar _user_card2 = _interopRequireDefault(_user_card);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar Timeline = {\n\t props: ['timeline', 'timelineName', 'title', 'userId', 'tag'],\n\t data: function data() {\n\t return {\n\t paused: false\n\t };\n\t },\n\t\n\t computed: {\n\t timelineError: function timelineError() {\n\t return this.$store.state.statuses.error;\n\t },\n\t followers: function followers() {\n\t return this.timeline.followers;\n\t },\n\t friends: function friends() {\n\t return this.timeline.friends;\n\t },\n\t viewing: function viewing() {\n\t return this.timeline.viewing;\n\t },\n\t newStatusCount: function newStatusCount() {\n\t return this.timeline.newStatusCount;\n\t },\n\t newStatusCountStr: function newStatusCountStr() {\n\t if (this.timeline.flushMarker !== 0) {\n\t return '';\n\t } else {\n\t return ' (' + this.newStatusCount + ')';\n\t }\n\t }\n\t },\n\t components: {\n\t Status: _status2.default,\n\t StatusOrConversation: _status_or_conversation2.default,\n\t UserCard: _user_card2.default\n\t },\n\t created: function created() {\n\t var store = this.$store;\n\t var credentials = store.state.users.currentUser.credentials;\n\t var showImmediately = this.timeline.visibleStatuses.length === 0;\n\t\n\t window.addEventListener('scroll', this.scrollLoad);\n\t\n\t _timeline_fetcherService2.default.fetchAndUpdate({\n\t store: store,\n\t credentials: credentials,\n\t timeline: this.timelineName,\n\t showImmediately: showImmediately,\n\t userId: this.userId,\n\t tag: this.tag\n\t });\n\t\n\t if (this.timelineName === 'user') {\n\t this.fetchFriends();\n\t this.fetchFollowers();\n\t }\n\t },\n\t destroyed: function destroyed() {\n\t window.removeEventListener('scroll', this.scrollLoad);\n\t this.$store.commit('setLoading', { timeline: this.timelineName, value: false });\n\t },\n\t\n\t methods: {\n\t showNewStatuses: function showNewStatuses() {\n\t if (this.timeline.flushMarker !== 0) {\n\t this.$store.commit('clearTimeline', { timeline: this.timelineName });\n\t this.$store.commit('queueFlush', { timeline: this.timelineName, id: 0 });\n\t this.fetchOlderStatuses();\n\t } else {\n\t this.$store.commit('showNewStatuses', { timeline: this.timelineName });\n\t this.paused = false;\n\t }\n\t },\n\t fetchOlderStatuses: function fetchOlderStatuses() {\n\t var _this = this;\n\t\n\t var store = this.$store;\n\t var credentials = store.state.users.currentUser.credentials;\n\t store.commit('setLoading', { timeline: this.timelineName, value: true });\n\t _timeline_fetcherService2.default.fetchAndUpdate({\n\t store: store,\n\t credentials: credentials,\n\t timeline: this.timelineName,\n\t older: true,\n\t showImmediately: true,\n\t userId: this.userId,\n\t tag: this.tag\n\t }).then(function () {\n\t return store.commit('setLoading', { timeline: _this.timelineName, value: false });\n\t });\n\t },\n\t fetchFollowers: function fetchFollowers() {\n\t var _this2 = this;\n\t\n\t var id = this.userId;\n\t this.$store.state.api.backendInteractor.fetchFollowers({ id: id }).then(function (followers) {\n\t return _this2.$store.dispatch('addFollowers', { followers: followers });\n\t });\n\t },\n\t fetchFriends: function fetchFriends() {\n\t var _this3 = this;\n\t\n\t var id = this.userId;\n\t this.$store.state.api.backendInteractor.fetchFriends({ id: id }).then(function (friends) {\n\t return _this3.$store.dispatch('addFriends', { friends: friends });\n\t });\n\t },\n\t scrollLoad: function scrollLoad(e) {\n\t var bodyBRect = document.body.getBoundingClientRect();\n\t var height = Math.max(bodyBRect.height, -bodyBRect.y);\n\t if (this.timeline.loading === false && this.$store.state.config.autoLoad && this.$el.offsetHeight > 0 && window.innerHeight + window.pageYOffset >= height - 750) {\n\t this.fetchOlderStatuses();\n\t }\n\t }\n\t },\n\t watch: {\n\t newStatusCount: function newStatusCount(count) {\n\t if (!this.$store.state.config.streaming) {\n\t return;\n\t }\n\t if (count > 0) {\n\t if (window.pageYOffset < 15 && !this.paused) {\n\t this.showNewStatuses();\n\t } else {\n\t this.paused = true;\n\t }\n\t }\n\t }\n\t }\n\t};\n\t\n\texports.default = Timeline;\n\n/***/ }),\n/* 203 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _user_card_content = __webpack_require__(43);\n\t\n\tvar _user_card_content2 = _interopRequireDefault(_user_card_content);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar UserCard = {\n\t props: ['user', 'showFollows'],\n\t data: function data() {\n\t return {\n\t userExpanded: false\n\t };\n\t },\n\t\n\t components: {\n\t UserCardContent: _user_card_content2.default\n\t },\n\t methods: {\n\t toggleUserExpanded: function toggleUserExpanded() {\n\t this.userExpanded = !this.userExpanded;\n\t }\n\t }\n\t};\n\t\n\texports.default = UserCard;\n\n/***/ }),\n/* 204 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _stillImage = __webpack_require__(65);\n\t\n\tvar _stillImage2 = _interopRequireDefault(_stillImage);\n\t\n\tvar _color_convert = __webpack_require__(66);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = {\n\t props: ['user', 'switcher', 'selected', 'hideBio'],\n\t computed: {\n\t headingStyle: function headingStyle() {\n\t var color = this.$store.state.config.colors.bg;\n\t if (color) {\n\t var rgb = (0, _color_convert.hex2rgb)(color);\n\t var tintColor = 'rgba(' + Math.floor(rgb.r) + ', ' + Math.floor(rgb.g) + ', ' + Math.floor(rgb.b) + ', .5)';\n\t console.log(rgb);\n\t console.log(['url(' + this.user.cover_photo + ')', 'linear-gradient(to bottom, ' + tintColor + ', ' + tintColor + ')'].join(', '));\n\t return {\n\t backgroundColor: 'rgb(' + Math.floor(rgb.r * 0.53) + ', ' + Math.floor(rgb.g * 0.56) + ', ' + Math.floor(rgb.b * 0.59) + ')',\n\t backgroundImage: ['linear-gradient(to bottom, ' + tintColor + ', ' + tintColor + ')', 'url(' + this.user.cover_photo + ')'].join(', ')\n\t };\n\t }\n\t },\n\t isOtherUser: function isOtherUser() {\n\t return this.user.id !== this.$store.state.users.currentUser.id;\n\t },\n\t subscribeUrl: function subscribeUrl() {\n\t var serverUrl = new URL(this.user.statusnet_profile_url);\n\t return serverUrl.protocol + '//' + serverUrl.host + '/main/ostatus';\n\t },\n\t loggedIn: function loggedIn() {\n\t return this.$store.state.users.currentUser;\n\t },\n\t dailyAvg: function dailyAvg() {\n\t var days = Math.ceil((new Date() - new Date(this.user.created_at)) / (60 * 60 * 24 * 1000));\n\t return Math.round(this.user.statuses_count / days);\n\t }\n\t },\n\t components: {\n\t StillImage: _stillImage2.default\n\t },\n\t methods: {\n\t followUser: function followUser() {\n\t var store = this.$store;\n\t store.state.api.backendInteractor.followUser(this.user.id).then(function (followedUser) {\n\t return store.commit('addNewUsers', [followedUser]);\n\t });\n\t },\n\t unfollowUser: function unfollowUser() {\n\t var store = this.$store;\n\t store.state.api.backendInteractor.unfollowUser(this.user.id).then(function (unfollowedUser) {\n\t return store.commit('addNewUsers', [unfollowedUser]);\n\t });\n\t },\n\t blockUser: function blockUser() {\n\t var store = this.$store;\n\t store.state.api.backendInteractor.blockUser(this.user.id).then(function (blockedUser) {\n\t return store.commit('addNewUsers', [blockedUser]);\n\t });\n\t },\n\t unblockUser: function unblockUser() {\n\t var store = this.$store;\n\t store.state.api.backendInteractor.unblockUser(this.user.id).then(function (unblockedUser) {\n\t return store.commit('addNewUsers', [unblockedUser]);\n\t });\n\t },\n\t toggleMute: function toggleMute() {\n\t var store = this.$store;\n\t store.commit('setMuted', { user: this.user, muted: !this.user.muted });\n\t store.state.api.backendInteractor.setUserMute(this.user);\n\t },\n\t setProfileView: function setProfileView(v) {\n\t if (this.switcher) {\n\t var store = this.$store;\n\t store.commit('setProfileView', { v: v });\n\t }\n\t }\n\t }\n\t};\n\n/***/ }),\n/* 205 */\n/***/ (function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar UserFinder = {\n\t data: function data() {\n\t return {\n\t username: undefined,\n\t hidden: true,\n\t error: false,\n\t loading: false\n\t };\n\t },\n\t methods: {\n\t findUser: function findUser(username) {\n\t var _this = this;\n\t\n\t username = username[0] === '@' ? username.slice(1) : username;\n\t this.loading = true;\n\t this.$store.state.api.backendInteractor.externalProfile(username).then(function (user) {\n\t _this.loading = false;\n\t _this.hidden = true;\n\t if (!user.error) {\n\t _this.$store.commit('addNewUsers', [user]);\n\t _this.$router.push({ name: 'user-profile', params: { id: user.id } });\n\t } else {\n\t _this.error = true;\n\t }\n\t });\n\t },\n\t toggleHidden: function toggleHidden() {\n\t this.hidden = !this.hidden;\n\t },\n\t dismissError: function dismissError() {\n\t this.error = false;\n\t }\n\t }\n\t};\n\t\n\texports.default = UserFinder;\n\n/***/ }),\n/* 206 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _login_form = __webpack_require__(476);\n\t\n\tvar _login_form2 = _interopRequireDefault(_login_form);\n\t\n\tvar _post_status_form = __webpack_require__(166);\n\t\n\tvar _post_status_form2 = _interopRequireDefault(_post_status_form);\n\t\n\tvar _user_card_content = __webpack_require__(43);\n\t\n\tvar _user_card_content2 = _interopRequireDefault(_user_card_content);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar UserPanel = {\n\t computed: {\n\t user: function user() {\n\t return this.$store.state.users.currentUser;\n\t }\n\t },\n\t components: {\n\t LoginForm: _login_form2.default,\n\t PostStatusForm: _post_status_form2.default,\n\t UserCardContent: _user_card_content2.default\n\t }\n\t};\n\t\n\texports.default = UserPanel;\n\n/***/ }),\n/* 207 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _user_card_content = __webpack_require__(43);\n\t\n\tvar _user_card_content2 = _interopRequireDefault(_user_card_content);\n\t\n\tvar _timeline = __webpack_require__(28);\n\t\n\tvar _timeline2 = _interopRequireDefault(_timeline);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar UserProfile = {\n\t created: function created() {\n\t this.$store.commit('clearTimeline', { timeline: 'user' });\n\t this.$store.dispatch('startFetching', ['user', this.userId]);\n\t if (!this.$store.state.users.usersObject[this.userId]) {\n\t this.$store.dispatch('fetchUser', this.userId);\n\t }\n\t },\n\t destroyed: function destroyed() {\n\t this.$store.dispatch('stopFetching', 'user');\n\t },\n\t\n\t computed: {\n\t timeline: function timeline() {\n\t return this.$store.state.statuses.timelines.user;\n\t },\n\t userId: function userId() {\n\t return this.$route.params.id;\n\t },\n\t user: function user() {\n\t if (this.timeline.statuses[0]) {\n\t return this.timeline.statuses[0].user;\n\t } else {\n\t return this.$store.state.users.usersObject[this.userId] || false;\n\t }\n\t }\n\t },\n\t watch: {\n\t userId: function userId() {\n\t this.$store.commit('clearTimeline', { timeline: 'user' });\n\t this.$store.dispatch('startFetching', ['user', this.userId]);\n\t }\n\t },\n\t components: {\n\t UserCardContent: _user_card_content2.default,\n\t Timeline: _timeline2.default\n\t }\n\t};\n\t\n\texports.default = UserProfile;\n\n/***/ }),\n/* 208 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _stringify = __webpack_require__(213);\n\t\n\tvar _stringify2 = _interopRequireDefault(_stringify);\n\t\n\tvar _style_switcher = __webpack_require__(167);\n\t\n\tvar _style_switcher2 = _interopRequireDefault(_style_switcher);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tvar UserSettings = {\n\t data: function data() {\n\t return {\n\t newname: this.$store.state.users.currentUser.name,\n\t newbio: this.$store.state.users.currentUser.description,\n\t followList: null,\n\t followImportError: false,\n\t followsImported: false,\n\t enableFollowsExport: true,\n\t uploading: [false, false, false, false],\n\t previews: [null, null, null],\n\t deletingAccount: false,\n\t deleteAccountConfirmPasswordInput: '',\n\t deleteAccountError: false,\n\t changePasswordInputs: ['', '', ''],\n\t changedPassword: false,\n\t changePasswordError: false\n\t };\n\t },\n\t\n\t components: {\n\t StyleSwitcher: _style_switcher2.default\n\t },\n\t computed: {\n\t user: function user() {\n\t return this.$store.state.users.currentUser;\n\t },\n\t pleromaBackend: function pleromaBackend() {\n\t return this.$store.state.config.pleromaBackend;\n\t }\n\t },\n\t methods: {\n\t updateProfile: function updateProfile() {\n\t var _this = this;\n\t\n\t var name = this.newname;\n\t var description = this.newbio;\n\t this.$store.state.api.backendInteractor.updateProfile({ params: { name: name, description: description } }).then(function (user) {\n\t if (!user.error) {\n\t _this.$store.commit('addNewUsers', [user]);\n\t _this.$store.commit('setCurrentUser', user);\n\t }\n\t });\n\t },\n\t uploadFile: function uploadFile(slot, e) {\n\t var _this2 = this;\n\t\n\t var file = e.target.files[0];\n\t if (!file) {\n\t return;\n\t }\n\t\n\t var reader = new FileReader();\n\t reader.onload = function (_ref) {\n\t var target = _ref.target;\n\t\n\t var img = target.result;\n\t _this2.previews[slot] = img;\n\t _this2.$forceUpdate();\n\t };\n\t reader.readAsDataURL(file);\n\t },\n\t submitAvatar: function submitAvatar() {\n\t var _this3 = this;\n\t\n\t if (!this.previews[0]) {\n\t return;\n\t }\n\t\n\t var img = this.previews[0];\n\t\n\t var imginfo = new Image();\n\t var cropX = void 0,\n\t cropY = void 0,\n\t cropW = void 0,\n\t cropH = void 0;\n\t imginfo.src = img;\n\t if (imginfo.height > imginfo.width) {\n\t cropX = 0;\n\t cropW = imginfo.width;\n\t cropY = Math.floor((imginfo.height - imginfo.width) / 2);\n\t cropH = imginfo.width;\n\t } else {\n\t cropY = 0;\n\t cropH = imginfo.height;\n\t cropX = Math.floor((imginfo.width - imginfo.height) / 2);\n\t cropW = imginfo.height;\n\t }\n\t this.uploading[0] = true;\n\t this.$store.state.api.backendInteractor.updateAvatar({ params: { img: img, cropX: cropX, cropY: cropY, cropW: cropW, cropH: cropH } }).then(function (user) {\n\t if (!user.error) {\n\t _this3.$store.commit('addNewUsers', [user]);\n\t _this3.$store.commit('setCurrentUser', user);\n\t _this3.previews[0] = null;\n\t }\n\t _this3.uploading[0] = false;\n\t });\n\t },\n\t submitBanner: function submitBanner() {\n\t var _this4 = this;\n\t\n\t if (!this.previews[1]) {\n\t return;\n\t }\n\t\n\t var banner = this.previews[1];\n\t\n\t var imginfo = new Image();\n\t\n\t var offset_top = void 0,\n\t offset_left = void 0,\n\t width = void 0,\n\t height = void 0;\n\t imginfo.src = banner;\n\t width = imginfo.width;\n\t height = imginfo.height;\n\t offset_top = 0;\n\t offset_left = 0;\n\t this.uploading[1] = true;\n\t this.$store.state.api.backendInteractor.updateBanner({ params: { banner: banner, offset_top: offset_top, offset_left: offset_left, width: width, height: height } }).then(function (data) {\n\t if (!data.error) {\n\t var clone = JSON.parse((0, _stringify2.default)(_this4.$store.state.users.currentUser));\n\t clone.cover_photo = data.url;\n\t _this4.$store.commit('addNewUsers', [clone]);\n\t _this4.$store.commit('setCurrentUser', clone);\n\t _this4.previews[1] = null;\n\t }\n\t _this4.uploading[1] = false;\n\t });\n\t },\n\t submitBg: function submitBg() {\n\t var _this5 = this;\n\t\n\t if (!this.previews[2]) {\n\t return;\n\t }\n\t var img = this.previews[2];\n\t\n\t var imginfo = new Image();\n\t var cropX = void 0,\n\t cropY = void 0,\n\t cropW = void 0,\n\t cropH = void 0;\n\t imginfo.src = img;\n\t cropX = 0;\n\t cropY = 0;\n\t cropW = imginfo.width;\n\t cropH = imginfo.width;\n\t this.uploading[2] = true;\n\t this.$store.state.api.backendInteractor.updateBg({ params: { img: img, cropX: cropX, cropY: cropY, cropW: cropW, cropH: cropH } }).then(function (data) {\n\t if (!data.error) {\n\t var clone = JSON.parse((0, _stringify2.default)(_this5.$store.state.users.currentUser));\n\t clone.background_image = data.url;\n\t _this5.$store.commit('addNewUsers', [clone]);\n\t _this5.$store.commit('setCurrentUser', clone);\n\t _this5.previews[2] = null;\n\t }\n\t _this5.uploading[2] = false;\n\t });\n\t },\n\t importFollows: function importFollows() {\n\t var _this6 = this;\n\t\n\t this.uploading[3] = true;\n\t var followList = this.followList;\n\t this.$store.state.api.backendInteractor.followImport({ params: followList }).then(function (status) {\n\t if (status) {\n\t _this6.followsImported = true;\n\t } else {\n\t _this6.followImportError = true;\n\t }\n\t _this6.uploading[3] = false;\n\t });\n\t },\n\t exportPeople: function exportPeople(users, filename) {\n\t var UserAddresses = users.map(function (user) {\n\t if (user && user.is_local) {\n\t user.screen_name += '@' + location.hostname;\n\t }\n\t return user.screen_name;\n\t }).join('\\n');\n\t\n\t var fileToDownload = document.createElement('a');\n\t fileToDownload.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(UserAddresses));\n\t fileToDownload.setAttribute('download', filename);\n\t fileToDownload.style.display = 'none';\n\t document.body.appendChild(fileToDownload);\n\t fileToDownload.click();\n\t document.body.removeChild(fileToDownload);\n\t },\n\t exportFollows: function exportFollows() {\n\t var _this7 = this;\n\t\n\t this.enableFollowsExport = false;\n\t this.$store.state.api.backendInteractor.fetchFriends({ id: this.$store.state.users.currentUser.id }).then(function (friendList) {\n\t _this7.exportPeople(friendList, 'friends.csv');\n\t });\n\t },\n\t followListChange: function followListChange() {\n\t var formData = new FormData();\n\t formData.append('list', this.$refs.followlist.files[0]);\n\t this.followList = formData;\n\t },\n\t dismissImported: function dismissImported() {\n\t this.followsImported = false;\n\t this.followImportError = false;\n\t },\n\t confirmDelete: function confirmDelete() {\n\t this.deletingAccount = true;\n\t },\n\t deleteAccount: function deleteAccount() {\n\t var _this8 = this;\n\t\n\t this.$store.state.api.backendInteractor.deleteAccount({ password: this.deleteAccountConfirmPasswordInput }).then(function (res) {\n\t if (res.status === 'success') {\n\t _this8.$store.dispatch('logout');\n\t _this8.$router.push('/main/all');\n\t } else {\n\t _this8.deleteAccountError = res.error;\n\t }\n\t });\n\t },\n\t changePassword: function changePassword() {\n\t var _this9 = this;\n\t\n\t var params = {\n\t password: this.changePasswordInputs[0],\n\t newPassword: this.changePasswordInputs[1],\n\t newPasswordConfirmation: this.changePasswordInputs[2]\n\t };\n\t this.$store.state.api.backendInteractor.changePassword(params).then(function (res) {\n\t if (res.status === 'success') {\n\t _this9.changedPassword = true;\n\t _this9.changePasswordError = false;\n\t } else {\n\t _this9.changedPassword = false;\n\t _this9.changePasswordError = res.error;\n\t }\n\t });\n\t }\n\t }\n\t};\n\t\n\texports.default = UserSettings;\n\n/***/ }),\n/* 209 */\n/***/ (function(module, exports) {\n\n\t'use strict';\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tfunction showWhoToFollow(panel, reply, aHost, aUser) {\n\t var users = reply.ids;\n\t var cn;\n\t var index = 0;\n\t var random = Math.floor(Math.random() * 10);\n\t for (cn = random; cn < users.length; cn = cn + 10) {\n\t var user;\n\t user = users[cn];\n\t var img;\n\t if (user.icon) {\n\t img = user.icon;\n\t } else {\n\t img = '/images/avi.png';\n\t }\n\t var name = user.to_id;\n\t if (index === 0) {\n\t panel.img1 = img;\n\t panel.name1 = name;\n\t panel.$store.state.api.backendInteractor.externalProfile(name).then(function (externalUser) {\n\t if (!externalUser.error) {\n\t panel.$store.commit('addNewUsers', [externalUser]);\n\t panel.id1 = externalUser.id;\n\t }\n\t });\n\t } else if (index === 1) {\n\t panel.img2 = img;\n\t panel.name2 = name;\n\t panel.$store.state.api.backendInteractor.externalProfile(name).then(function (externalUser) {\n\t if (!externalUser.error) {\n\t panel.$store.commit('addNewUsers', [externalUser]);\n\t panel.id2 = externalUser.id;\n\t }\n\t });\n\t } else if (index === 2) {\n\t panel.img3 = img;\n\t panel.name3 = name;\n\t panel.$store.state.api.backendInteractor.externalProfile(name).then(function (externalUser) {\n\t if (!externalUser.error) {\n\t panel.$store.commit('addNewUsers', [externalUser]);\n\t panel.id3 = externalUser.id;\n\t }\n\t });\n\t }\n\t index = index + 1;\n\t if (index > 2) {\n\t break;\n\t }\n\t }\n\t}\n\t\n\tfunction getWhoToFollow(panel) {\n\t var user = panel.$store.state.users.currentUser.screen_name;\n\t if (user) {\n\t panel.name1 = 'Loading...';\n\t panel.name2 = 'Loading...';\n\t panel.name3 = 'Loading...';\n\t var host = window.location.hostname;\n\t var whoToFollowProvider = panel.$store.state.config.whoToFollowProvider;\n\t var url;\n\t url = whoToFollowProvider.replace(/{{host}}/g, encodeURIComponent(host));\n\t url = url.replace(/{{user}}/g, encodeURIComponent(user));\n\t window.fetch(url, { mode: 'cors' }).then(function (response) {\n\t if (response.ok) {\n\t return response.json();\n\t } else {\n\t panel.name1 = '';\n\t panel.name2 = '';\n\t panel.name3 = '';\n\t }\n\t }).then(function (reply) {\n\t showWhoToFollow(panel, reply, host, user);\n\t });\n\t }\n\t}\n\t\n\tvar WhoToFollowPanel = {\n\t data: function data() {\n\t return {\n\t img1: '/images/avi.png',\n\t name1: '',\n\t id1: 0,\n\t img2: '/images/avi.png',\n\t name2: '',\n\t id2: 0,\n\t img3: '/images/avi.png',\n\t name3: '',\n\t id3: 0\n\t };\n\t },\n\t computed: {\n\t user: function user() {\n\t return this.$store.state.users.currentUser.screen_name;\n\t },\n\t moreUrl: function moreUrl() {\n\t var host = window.location.hostname;\n\t var user = this.user;\n\t var whoToFollowLink = this.$store.state.config.whoToFollowLink;\n\t var url;\n\t url = whoToFollowLink.replace(/{{host}}/g, encodeURIComponent(host));\n\t url = url.replace(/{{user}}/g, encodeURIComponent(user));\n\t return url;\n\t },\n\t showWhoToFollowPanel: function showWhoToFollowPanel() {\n\t return this.$store.state.config.showWhoToFollowPanel;\n\t }\n\t },\n\t watch: {\n\t user: function user(_user, oldUser) {\n\t if (this.showWhoToFollowPanel) {\n\t getWhoToFollow(this);\n\t }\n\t }\n\t },\n\t mounted: function mounted() {\n\t if (this.showWhoToFollowPanel) {\n\t getWhoToFollow(this);\n\t }\n\t }\n\t};\n\t\n\texports.default = WhoToFollowPanel;\n\n/***/ }),\n/* 210 */,\n/* 211 */,\n/* 212 */,\n/* 213 */,\n/* 214 */,\n/* 215 */,\n/* 216 */,\n/* 217 */,\n/* 218 */,\n/* 219 */,\n/* 220 */,\n/* 221 */,\n/* 222 */,\n/* 223 */,\n/* 224 */,\n/* 225 */,\n/* 226 */,\n/* 227 */,\n/* 228 */,\n/* 229 */,\n/* 230 */,\n/* 231 */,\n/* 232 */,\n/* 233 */,\n/* 234 */,\n/* 235 */,\n/* 236 */,\n/* 237 */,\n/* 238 */,\n/* 239 */,\n/* 240 */,\n/* 241 */,\n/* 242 */,\n/* 243 */,\n/* 244 */,\n/* 245 */,\n/* 246 */,\n/* 247 */,\n/* 248 */,\n/* 249 */,\n/* 250 */,\n/* 251 */,\n/* 252 */,\n/* 253 */,\n/* 254 */,\n/* 255 */,\n/* 256 */,\n/* 257 */,\n/* 258 */,\n/* 259 */,\n/* 260 */,\n/* 261 */,\n/* 262 */,\n/* 263 */,\n/* 264 */,\n/* 265 */,\n/* 266 */,\n/* 267 */,\n/* 268 */,\n/* 269 */,\n/* 270 */,\n/* 271 */,\n/* 272 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 273 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 274 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 275 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 276 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 277 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 278 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 279 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 280 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 281 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 282 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 283 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 284 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 285 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 286 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 287 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 288 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 289 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 290 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 291 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 292 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 293 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 294 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 295 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 296 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 297 */\n/***/ (function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 298 */\n/***/ (function(module, exports) {\n\n\tmodule.exports = [\"now\",[\"%ss\",\"%ss\"],[\"%smin\",\"%smin\"],[\"%sh\",\"%sh\"],[\"%sd\",\"%sd\"],[\"%sw\",\"%sw\"],[\"%smo\",\"%smo\"],[\"%sy\",\"%sy\"]]\n\n/***/ }),\n/* 299 */\n/***/ (function(module, exports) {\n\n\tmodule.exports = [\"たった今\",\"%s 秒前\",\"%s 分前\",\"%s 時間前\",\"%s 日前\",\"%s 週間前\",\"%s ヶ月前\",\"%s 年前\"]\n\n/***/ }),\n/* 300 */,\n/* 301 */,\n/* 302 */,\n/* 303 */,\n/* 304 */,\n/* 305 */,\n/* 306 */,\n/* 307 */,\n/* 308 */,\n/* 309 */,\n/* 310 */,\n/* 311 */,\n/* 312 */,\n/* 313 */,\n/* 314 */,\n/* 315 */,\n/* 316 */,\n/* 317 */,\n/* 318 */,\n/* 319 */,\n/* 320 */,\n/* 321 */,\n/* 322 */,\n/* 323 */,\n/* 324 */,\n/* 325 */,\n/* 326 */,\n/* 327 */,\n/* 328 */,\n/* 329 */,\n/* 330 */,\n/* 331 */,\n/* 332 */,\n/* 333 */,\n/* 334 */,\n/* 335 */,\n/* 336 */,\n/* 337 */,\n/* 338 */,\n/* 339 */,\n/* 340 */,\n/* 341 */,\n/* 342 */,\n/* 343 */,\n/* 344 */,\n/* 345 */,\n/* 346 */,\n/* 347 */,\n/* 348 */,\n/* 349 */,\n/* 350 */,\n/* 351 */,\n/* 352 */,\n/* 353 */,\n/* 354 */,\n/* 355 */,\n/* 356 */,\n/* 357 */,\n/* 358 */,\n/* 359 */,\n/* 360 */,\n/* 361 */,\n/* 362 */,\n/* 363 */,\n/* 364 */,\n/* 365 */,\n/* 366 */,\n/* 367 */,\n/* 368 */,\n/* 369 */,\n/* 370 */,\n/* 371 */,\n/* 372 */,\n/* 373 */,\n/* 374 */,\n/* 375 */,\n/* 376 */,\n/* 377 */,\n/* 378 */,\n/* 379 */,\n/* 380 */,\n/* 381 */,\n/* 382 */,\n/* 383 */,\n/* 384 */,\n/* 385 */,\n/* 386 */,\n/* 387 */,\n/* 388 */,\n/* 389 */,\n/* 390 */,\n/* 391 */,\n/* 392 */,\n/* 393 */,\n/* 394 */,\n/* 395 */,\n/* 396 */,\n/* 397 */,\n/* 398 */,\n/* 399 */,\n/* 400 */,\n/* 401 */,\n/* 402 */,\n/* 403 */,\n/* 404 */,\n/* 405 */,\n/* 406 */,\n/* 407 */,\n/* 408 */,\n/* 409 */,\n/* 410 */,\n/* 411 */,\n/* 412 */,\n/* 413 */,\n/* 414 */,\n/* 415 */,\n/* 416 */,\n/* 417 */,\n/* 418 */,\n/* 419 */,\n/* 420 */,\n/* 421 */,\n/* 422 */,\n/* 423 */,\n/* 424 */,\n/* 425 */,\n/* 426 */,\n/* 427 */,\n/* 428 */,\n/* 429 */,\n/* 430 */,\n/* 431 */,\n/* 432 */,\n/* 433 */,\n/* 434 */,\n/* 435 */,\n/* 436 */,\n/* 437 */,\n/* 438 */,\n/* 439 */,\n/* 440 */,\n/* 441 */,\n/* 442 */,\n/* 443 */,\n/* 444 */,\n/* 445 */,\n/* 446 */,\n/* 447 */,\n/* 448 */,\n/* 449 */,\n/* 450 */,\n/* 451 */,\n/* 452 */,\n/* 453 */,\n/* 454 */,\n/* 455 */,\n/* 456 */,\n/* 457 */,\n/* 458 */,\n/* 459 */,\n/* 460 */,\n/* 461 */,\n/* 462 */,\n/* 463 */,\n/* 464 */,\n/* 465 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tmodule.exports = __webpack_require__.p + \"static/img/nsfw.50fd83c.png\";\n\n/***/ }),\n/* 466 */,\n/* 467 */,\n/* 468 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(284)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(176),\n\t /* template */\n\t __webpack_require__(511),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 469 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(283)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(177),\n\t /* template */\n\t __webpack_require__(510),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 470 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(277)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(178),\n\t /* template */\n\t __webpack_require__(504),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 471 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(179),\n\t /* template */\n\t __webpack_require__(515),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 472 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(290)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(181),\n\t /* template */\n\t __webpack_require__(521),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 473 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(292)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(182),\n\t /* template */\n\t __webpack_require__(523),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 474 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(183),\n\t /* template */\n\t __webpack_require__(519),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 475 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(288)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(184),\n\t /* template */\n\t __webpack_require__(518),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 476 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(280)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(185),\n\t /* template */\n\t __webpack_require__(507),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 477 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(285)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(186),\n\t /* template */\n\t __webpack_require__(512),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 478 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(187),\n\t /* template */\n\t __webpack_require__(502),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 479 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(294)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(188),\n\t /* template */\n\t __webpack_require__(525),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 480 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(189),\n\t /* template */\n\t __webpack_require__(514),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 481 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(272)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(190),\n\t /* template */\n\t __webpack_require__(495),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 482 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(192),\n\t /* template */\n\t __webpack_require__(503),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 483 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(193),\n\t /* template */\n\t __webpack_require__(513),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 484 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(281)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(194),\n\t /* template */\n\t __webpack_require__(508),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 485 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(276)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(195),\n\t /* template */\n\t __webpack_require__(501),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 486 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(293)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(196),\n\t /* template */\n\t __webpack_require__(524),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 487 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(279)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(198),\n\t /* template */\n\t __webpack_require__(506),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 488 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(201),\n\t /* template */\n\t __webpack_require__(500),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 489 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(297)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(203),\n\t /* template */\n\t __webpack_require__(528),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 490 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(278)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(205),\n\t /* template */\n\t __webpack_require__(505),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 491 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(296)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(206),\n\t /* template */\n\t __webpack_require__(527),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 492 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(282)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(207),\n\t /* template */\n\t __webpack_require__(509),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 493 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(289)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(208),\n\t /* template */\n\t __webpack_require__(520),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 494 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t\n\t/* styles */\n\t__webpack_require__(295)\n\t\n\tvar Component = __webpack_require__(1)(\n\t /* script */\n\t __webpack_require__(209),\n\t /* template */\n\t __webpack_require__(526),\n\t /* scopeId */\n\t null,\n\t /* cssModules */\n\t null\n\t)\n\t\n\tmodule.exports = Component.exports\n\n\n/***/ }),\n/* 495 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"notifications\"\n\t }, [_c('div', {\n\t staticClass: \"panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading\"\n\t }, [(_vm.unseenCount) ? _c('span', {\n\t staticClass: \"unseen-count\"\n\t }, [_vm._v(_vm._s(_vm.unseenCount))]) : _vm._e(), _vm._v(\"\\n \" + _vm._s(_vm.$t('notifications.notifications')) + \"\\n \"), (_vm.unseenCount) ? _c('button', {\n\t staticClass: \"read-button\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.markAsSeen($event)\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('notifications.read')))]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, _vm._l((_vm.visibleNotifications), function(notification) {\n\t return _c('div', {\n\t key: notification.action.id,\n\t staticClass: \"notification\",\n\t class: {\n\t \"unseen\": !notification.seen\n\t }\n\t }, [_c('notification', {\n\t attrs: {\n\t \"notification\": notification\n\t }\n\t })], 1)\n\t }))])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 496 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"profile-panel-background\",\n\t style: (_vm.headingStyle),\n\t attrs: {\n\t \"id\": \"heading\"\n\t }\n\t }, [_c('div', {\n\t staticClass: \"panel-heading text-center\"\n\t }, [_c('div', {\n\t staticClass: \"user-info\"\n\t }, [(!_vm.isOtherUser) ? _c('router-link', {\n\t staticStyle: {\n\t \"float\": \"right\",\n\t \"margin-top\": \"16px\"\n\t },\n\t attrs: {\n\t \"to\": \"/user-settings\"\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-cog usersettings\"\n\t })]) : _vm._e(), _vm._v(\" \"), (_vm.isOtherUser) ? _c('a', {\n\t staticStyle: {\n\t \"float\": \"right\",\n\t \"margin-top\": \"16px\"\n\t },\n\t attrs: {\n\t \"href\": _vm.user.statusnet_profile_url,\n\t \"target\": \"_blank\"\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-link-ext usersettings\"\n\t })]) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"container\"\n\t }, [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.user.id\n\t }\n\t }\n\t }\n\t }, [_c('StillImage', {\n\t staticClass: \"avatar\",\n\t attrs: {\n\t \"src\": _vm.user.profile_image_url_original\n\t }\n\t })], 1), _vm._v(\" \"), _c('div', {\n\t staticClass: \"name-and-screen-name\"\n\t }, [_c('div', {\n\t staticClass: \"user-name\",\n\t attrs: {\n\t \"title\": _vm.user.name\n\t }\n\t }, [_vm._v(_vm._s(_vm.user.name))]), _vm._v(\" \"), _c('router-link', {\n\t staticClass: \"user-screen-name\",\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.user.id\n\t }\n\t }\n\t }\n\t }, [_c('span', [_vm._v(\"@\" + _vm._s(_vm.user.screen_name))]), _vm._v(\" \"), _c('span', {\n\t staticClass: \"dailyAvg\"\n\t }, [_vm._v(_vm._s(_vm.dailyAvg) + \" \" + _vm._s(_vm.$t('user_card.per_day')))])])], 1)], 1), _vm._v(\" \"), (_vm.isOtherUser) ? _c('div', {\n\t staticClass: \"user-interactions\"\n\t }, [(_vm.user.follows_you && _vm.loggedIn) ? _c('div', {\n\t staticClass: \"following\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.follows_you')) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.loggedIn) ? _c('div', {\n\t staticClass: \"follow\"\n\t }, [(_vm.user.following) ? _c('span', [_c('button', {\n\t staticClass: \"pressed\",\n\t on: {\n\t \"click\": _vm.unfollowUser\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.following')) + \"\\n \")])]) : _vm._e(), _vm._v(\" \"), (!_vm.user.following) ? _c('span', [_c('button', {\n\t on: {\n\t \"click\": _vm.followUser\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.follow')) + \"\\n \")])]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), (_vm.isOtherUser) ? _c('div', {\n\t staticClass: \"mute\"\n\t }, [(_vm.user.muted) ? _c('span', [_c('button', {\n\t staticClass: \"pressed\",\n\t on: {\n\t \"click\": _vm.toggleMute\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.muted')) + \"\\n \")])]) : _vm._e(), _vm._v(\" \"), (!_vm.user.muted) ? _c('span', [_c('button', {\n\t on: {\n\t \"click\": _vm.toggleMute\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.mute')) + \"\\n \")])]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), (!_vm.loggedIn && _vm.user.is_local) ? _c('div', {\n\t staticClass: \"remote-follow\"\n\t }, [_c('form', {\n\t attrs: {\n\t \"method\": \"POST\",\n\t \"action\": _vm.subscribeUrl\n\t }\n\t }, [_c('input', {\n\t attrs: {\n\t \"type\": \"hidden\",\n\t \"name\": \"nickname\"\n\t },\n\t domProps: {\n\t \"value\": _vm.user.screen_name\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t attrs: {\n\t \"type\": \"hidden\",\n\t \"name\": \"profile\",\n\t \"value\": \"\"\n\t }\n\t }), _vm._v(\" \"), _c('button', {\n\t staticClass: \"remote-button\",\n\t attrs: {\n\t \"click\": \"submit\"\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.remote_follow')) + \"\\n \")])])]) : _vm._e(), _vm._v(\" \"), (_vm.isOtherUser && _vm.loggedIn) ? _c('div', {\n\t staticClass: \"block\"\n\t }, [(_vm.user.statusnet_blocking) ? _c('span', [_c('button', {\n\t staticClass: \"pressed\",\n\t on: {\n\t \"click\": _vm.unblockUser\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.blocked')) + \"\\n \")])]) : _vm._e(), _vm._v(\" \"), (!_vm.user.statusnet_blocking) ? _c('span', [_c('button', {\n\t on: {\n\t \"click\": _vm.blockUser\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.block')) + \"\\n \")])]) : _vm._e()]) : _vm._e()]) : _vm._e()], 1)]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body profile-panel-body\"\n\t }, [_c('div', {\n\t staticClass: \"user-counts\",\n\t class: {\n\t clickable: _vm.switcher\n\t }\n\t }, [_c('div', {\n\t staticClass: \"user-count\",\n\t class: {\n\t selected: _vm.selected === 'statuses'\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.setProfileView('statuses')\n\t }\n\t }\n\t }, [_c('h5', [_vm._v(_vm._s(_vm.$t('user_card.statuses')))]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.statuses_count) + \" \"), _c('br')])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"user-count\",\n\t class: {\n\t selected: _vm.selected === 'friends'\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.setProfileView('friends')\n\t }\n\t }\n\t }, [_c('h5', [_vm._v(_vm._s(_vm.$t('user_card.followees')))]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.friends_count))])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"user-count\",\n\t class: {\n\t selected: _vm.selected === 'followers'\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.setProfileView('followers')\n\t }\n\t }\n\t }, [_c('h5', [_vm._v(_vm._s(_vm.$t('user_card.followers')))]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.followers_count))])])]), _vm._v(\" \"), (!_vm.hideBio) ? _c('p', [_vm._v(_vm._s(_vm.user.description))]) : _vm._e()])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 497 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return (_vm.viewing == 'statuses') ? _c('div', {\n\t staticClass: \"timeline panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading timeline-heading\"\n\t }, [_c('div', {\n\t staticClass: \"title\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.title) + \"\\n \")]), _vm._v(\" \"), (_vm.timeline.newStatusCount > 0 && !_vm.timelineError) ? _c('button', {\n\t staticClass: \"loadmore-button\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.showNewStatuses($event)\n\t }\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.show_new')) + _vm._s(_vm.newStatusCountStr) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.timelineError) ? _c('div', {\n\t staticClass: \"loadmore-error alert error\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t }\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.error_fetching')) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (!_vm.timeline.newStatusCount > 0 && !_vm.timelineError) ? _c('div', {\n\t staticClass: \"loadmore-text\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t }\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.up_to_date')) + \"\\n \")]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('div', {\n\t staticClass: \"timeline\"\n\t }, _vm._l((_vm.timeline.visibleStatuses), function(status) {\n\t return _c('status-or-conversation', {\n\t key: status.id,\n\t staticClass: \"status-fadein\",\n\t attrs: {\n\t \"statusoid\": status\n\t }\n\t })\n\t }))]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-footer\"\n\t }, [(!_vm.timeline.loading) ? _c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.fetchOlderStatuses()\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"new-status-notification text-center panel-footer\"\n\t }, [_vm._v(_vm._s(_vm.$t('timeline.load_older')))])]) : _c('div', {\n\t staticClass: \"new-status-notification text-center panel-footer\"\n\t }, [_vm._v(\"...\")])])]) : (_vm.viewing == 'followers') ? _c('div', {\n\t staticClass: \"timeline panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading timeline-heading\"\n\t }, [_c('div', {\n\t staticClass: \"title\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.followers')) + \"\\n \")])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('div', {\n\t staticClass: \"timeline\"\n\t }, _vm._l((_vm.followers), function(follower) {\n\t return _c('user-card', {\n\t key: follower.id,\n\t attrs: {\n\t \"user\": follower,\n\t \"showFollows\": false\n\t }\n\t })\n\t }))])]) : (_vm.viewing == 'friends') ? _c('div', {\n\t staticClass: \"timeline panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading timeline-heading\"\n\t }, [_c('div', {\n\t staticClass: \"title\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.followees')) + \"\\n \")])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('div', {\n\t staticClass: \"timeline\"\n\t }, _vm._l((_vm.friends), function(friend) {\n\t return _c('user-card', {\n\t key: friend.id,\n\t attrs: {\n\t \"user\": friend,\n\t \"showFollows\": true\n\t }\n\t })\n\t }))])]) : _vm._e()\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 498 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"post-status-form\"\n\t }, [_c('form', {\n\t on: {\n\t \"submit\": function($event) {\n\t $event.preventDefault();\n\t _vm.postStatus(_vm.newStatus)\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('textarea', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.newStatus.status),\n\t expression: \"newStatus.status\"\n\t }],\n\t ref: \"textarea\",\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"placeholder\": _vm.$t('post_status.default'),\n\t \"rows\": \"1\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.newStatus.status)\n\t },\n\t on: {\n\t \"click\": _vm.setCaret,\n\t \"keyup\": [_vm.setCaret, function($event) {\n\t if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key)) { return null; }\n\t if (!$event.ctrlKey) { return null; }\n\t _vm.postStatus(_vm.newStatus)\n\t }],\n\t \"keydown\": [function($event) {\n\t if (!('button' in $event) && _vm._k($event.keyCode, \"down\", 40, $event.key)) { return null; }\n\t _vm.cycleForward($event)\n\t }, function($event) {\n\t if (!('button' in $event) && _vm._k($event.keyCode, \"up\", 38, $event.key)) { return null; }\n\t _vm.cycleBackward($event)\n\t }, function($event) {\n\t if (!('button' in $event) && _vm._k($event.keyCode, \"tab\", 9, $event.key)) { return null; }\n\t if (!$event.shiftKey) { return null; }\n\t _vm.cycleBackward($event)\n\t }, function($event) {\n\t if (!('button' in $event) && _vm._k($event.keyCode, \"tab\", 9, $event.key)) { return null; }\n\t _vm.cycleForward($event)\n\t }, function($event) {\n\t if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key)) { return null; }\n\t _vm.replaceCandidate($event)\n\t }, function($event) {\n\t if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key)) { return null; }\n\t if (!$event.metaKey) { return null; }\n\t _vm.postStatus(_vm.newStatus)\n\t }],\n\t \"drop\": _vm.fileDrop,\n\t \"dragover\": function($event) {\n\t $event.preventDefault();\n\t _vm.fileDrag($event)\n\t },\n\t \"input\": [function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.$set(_vm.newStatus, \"status\", $event.target.value)\n\t }, _vm.resize],\n\t \"paste\": _vm.paste\n\t }\n\t })]), _vm._v(\" \"), (_vm.candidates) ? _c('div', {\n\t staticStyle: {\n\t \"position\": \"relative\"\n\t }\n\t }, [_c('div', {\n\t staticClass: \"autocomplete-panel\"\n\t }, _vm._l((_vm.candidates), function(candidate) {\n\t return _c('div', {\n\t on: {\n\t \"click\": function($event) {\n\t _vm.replace(candidate.utf || (candidate.screen_name + ' '))\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"autocomplete\",\n\t class: {\n\t highlighted: candidate.highlighted\n\t }\n\t }, [(candidate.img) ? _c('span', [_c('img', {\n\t attrs: {\n\t \"src\": candidate.img\n\t }\n\t })]) : _c('span', [_vm._v(_vm._s(candidate.utf))]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(candidate.screen_name)), _c('small', [_vm._v(_vm._s(candidate.name))])])])])\n\t }))]) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-bottom\"\n\t }, [_c('media-upload', {\n\t attrs: {\n\t \"drop-files\": _vm.dropFiles\n\t },\n\t on: {\n\t \"uploading\": _vm.disableSubmit,\n\t \"uploaded\": _vm.addMediaFile,\n\t \"upload-failed\": _vm.enableSubmit\n\t }\n\t }), _vm._v(\" \"), (_vm.isOverLengthLimit) ? _c('p', {\n\t staticClass: \"error\"\n\t }, [_vm._v(_vm._s(_vm.charactersLeft))]) : (_vm.hasStatusLengthLimit) ? _c('p', {\n\t staticClass: \"faint\"\n\t }, [_vm._v(_vm._s(_vm.charactersLeft))]) : _vm._e(), _vm._v(\" \"), (_vm.posting) ? _c('button', {\n\t staticClass: \"btn btn-default\",\n\t attrs: {\n\t \"disabled\": \"\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('post_status.posting')))]) : (_vm.isOverLengthLimit) ? _c('button', {\n\t staticClass: \"btn btn-default\",\n\t attrs: {\n\t \"disabled\": \"\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _c('button', {\n\t staticClass: \"btn btn-default\",\n\t attrs: {\n\t \"disabled\": _vm.submitDisabled,\n\t \"type\": \"submit\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('general.submit')))])], 1), _vm._v(\" \"), (_vm.error) ? _c('div', {\n\t staticClass: \"alert error\"\n\t }, [_vm._v(\"\\n Error: \" + _vm._s(_vm.error) + \"\\n \"), _c('i', {\n\t staticClass: \"icon-cancel\",\n\t on: {\n\t \"click\": _vm.clearError\n\t }\n\t })]) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"attachments\"\n\t }, _vm._l((_vm.newStatus.files), function(file) {\n\t return _c('div', {\n\t staticClass: \"media-upload-container attachment\"\n\t }, [_c('i', {\n\t staticClass: \"fa icon-cancel\",\n\t on: {\n\t \"click\": function($event) {\n\t _vm.removeMediaFile(file)\n\t }\n\t }\n\t }), _vm._v(\" \"), (_vm.type(file) === 'image') ? _c('img', {\n\t staticClass: \"thumbnail media-upload\",\n\t attrs: {\n\t \"src\": file.image\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'video') ? _c('video', {\n\t attrs: {\n\t \"src\": file.image,\n\t \"controls\": \"\"\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'audio') ? _c('audio', {\n\t attrs: {\n\t \"src\": file.image,\n\t \"controls\": \"\"\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'unknown') ? _c('a', {\n\t attrs: {\n\t \"href\": file.image\n\t }\n\t }, [_vm._v(_vm._s(file.url))]) : _vm._e()])\n\t }))])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 499 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"timeline panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading conversation-heading\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.conversation')) + \"\\n \"), (_vm.collapsable) ? _c('span', {\n\t staticStyle: {\n\t \"float\": \"right\"\n\t }\n\t }, [_c('small', [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.$emit('toggleExpanded')\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('timeline.collapse')))])])]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('div', {\n\t staticClass: \"timeline\"\n\t }, _vm._l((_vm.conversation), function(status) {\n\t return _c('status', {\n\t key: status.id,\n\t staticClass: \"status-fadein\",\n\t attrs: {\n\t \"inlineExpanded\": _vm.collapsable,\n\t \"statusoid\": status,\n\t \"expandable\": false,\n\t \"focused\": _vm.focused(status.id),\n\t \"inConversation\": true,\n\t \"highlight\": _vm.highlight,\n\t \"replies\": _vm.getReplies(status.id)\n\t },\n\t on: {\n\t \"goto\": _vm.setHighlight\n\t }\n\t })\n\t }))])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 500 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('Timeline', {\n\t attrs: {\n\t \"title\": _vm.tag,\n\t \"timeline\": _vm.timeline,\n\t \"timeline-name\": 'tag',\n\t \"tag\": _vm.tag\n\t }\n\t })\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 501 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return (_vm.loggedIn) ? _c('div', [_c('i', {\n\t staticClass: \"icon-retweet rt-active\",\n\t class: _vm.classes,\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.retweet()\n\t }\n\t }\n\t }), _vm._v(\" \"), (_vm.status.repeat_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.repeat_num))]) : _vm._e()]) : _c('div', [_c('i', {\n\t staticClass: \"icon-retweet\",\n\t class: _vm.classes\n\t }), _vm._v(\" \"), (_vm.status.repeat_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.repeat_num))]) : _vm._e()])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 502 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('Timeline', {\n\t attrs: {\n\t \"title\": _vm.$t('nav.mentions'),\n\t \"timeline\": _vm.timeline,\n\t \"timeline-name\": 'mentions'\n\t }\n\t })\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 503 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('Timeline', {\n\t attrs: {\n\t \"title\": _vm.$t('nav.twkn'),\n\t \"timeline\": _vm.timeline,\n\t \"timeline-name\": 'publicAndExternal'\n\t }\n\t })\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 504 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return (!this.collapsed) ? _c('div', {\n\t staticClass: \"chat-panel\"\n\t }, [_c('div', {\n\t staticClass: \"panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading timeline-heading chat-heading\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.stopPropagation();\n\t $event.preventDefault();\n\t _vm.togglePanel($event)\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"title\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('chat.title')) + \"\\n \"), _c('i', {\n\t staticClass: \"icon-cancel\",\n\t staticStyle: {\n\t \"float\": \"right\"\n\t }\n\t })])]), _vm._v(\" \"), _c('div', {\n\t directives: [{\n\t name: \"chat-scroll\",\n\t rawName: \"v-chat-scroll\"\n\t }],\n\t staticClass: \"chat-window\"\n\t }, _vm._l((_vm.messages), function(message) {\n\t return _c('div', {\n\t key: message.id,\n\t staticClass: \"chat-message\"\n\t }, [_c('span', {\n\t staticClass: \"chat-avatar\"\n\t }, [_c('img', {\n\t attrs: {\n\t \"src\": message.author.avatar\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"chat-content\"\n\t }, [_c('router-link', {\n\t staticClass: \"chat-name\",\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: message.author.id\n\t }\n\t }\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(message.author.username) + \"\\n \")]), _vm._v(\" \"), _c('br'), _vm._v(\" \"), _c('span', {\n\t staticClass: \"chat-text\"\n\t }, [_vm._v(\"\\n \" + _vm._s(message.text) + \"\\n \")])], 1)])\n\t })), _vm._v(\" \"), _c('div', {\n\t staticClass: \"chat-input\"\n\t }, [_c('textarea', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.currentMessage),\n\t expression: \"currentMessage\"\n\t }],\n\t staticClass: \"chat-input-textarea\",\n\t attrs: {\n\t \"rows\": \"1\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.currentMessage)\n\t },\n\t on: {\n\t \"keyup\": function($event) {\n\t if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key)) { return null; }\n\t _vm.submit(_vm.currentMessage)\n\t },\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.currentMessage = $event.target.value\n\t }\n\t }\n\t })])])]) : _c('div', {\n\t staticClass: \"chat-panel\"\n\t }, [_c('div', {\n\t staticClass: \"panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading stub timeline-heading chat-heading\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.stopPropagation();\n\t $event.preventDefault();\n\t _vm.togglePanel($event)\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"title\"\n\t }, [_c('i', {\n\t staticClass: \"icon-comment-empty\"\n\t }), _vm._v(\"\\n \" + _vm._s(_vm.$t('chat.title')) + \"\\n \")])])])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 505 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('span', {\n\t staticClass: \"user-finder-container\"\n\t }, [(_vm.error) ? _c('span', {\n\t staticClass: \"alert error\"\n\t }, [_c('i', {\n\t staticClass: \"icon-cancel user-finder-icon\",\n\t on: {\n\t \"click\": _vm.dismissError\n\t }\n\t }), _vm._v(\"\\n \" + _vm._s(_vm.$t('finder.error_fetching_user')) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.loading) ? _c('i', {\n\t staticClass: \"icon-spin4 user-finder-icon animate-spin-slow\"\n\t }) : _vm._e(), _vm._v(\" \"), (_vm.hidden) ? _c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-user-plus user-finder-icon\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t $event.stopPropagation();\n\t _vm.toggleHidden($event)\n\t }\n\t }\n\t })]) : _c('span', [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.username),\n\t expression: \"username\"\n\t }],\n\t staticClass: \"user-finder-input\",\n\t attrs: {\n\t \"placeholder\": _vm.$t('finder.find_user'),\n\t \"id\": \"user-finder-input\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.username)\n\t },\n\t on: {\n\t \"keyup\": function($event) {\n\t if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key)) { return null; }\n\t _vm.findUser(_vm.username)\n\t },\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.username = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('i', {\n\t staticClass: \"icon-cancel user-finder-icon\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t $event.stopPropagation();\n\t _vm.toggleHidden($event)\n\t }\n\t }\n\t })])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 506 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', [(_vm.expanded) ? _c('conversation', {\n\t attrs: {\n\t \"collapsable\": true,\n\t \"statusoid\": _vm.statusoid\n\t },\n\t on: {\n\t \"toggleExpanded\": _vm.toggleExpanded\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (!_vm.expanded) ? _c('status', {\n\t attrs: {\n\t \"expandable\": true,\n\t \"inConversation\": false,\n\t \"focused\": false,\n\t \"statusoid\": _vm.statusoid\n\t },\n\t on: {\n\t \"toggleExpanded\": _vm.toggleExpanded\n\t }\n\t }) : _vm._e()], 1)\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 507 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"login panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('login.login')) + \"\\n \")]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('form', {\n\t staticClass: \"login-form\",\n\t on: {\n\t \"submit\": function($event) {\n\t $event.preventDefault();\n\t _vm.submit(_vm.user)\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"username\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('login.username')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.username),\n\t expression: \"user.username\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.loggingIn,\n\t \"id\": \"username\",\n\t \"placeholder\": \"e.g. lain\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.user.username)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.$set(_vm.user, \"username\", $event.target.value)\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"password\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('login.password')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.password),\n\t expression: \"user.password\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.loggingIn,\n\t \"id\": \"password\",\n\t \"type\": \"password\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.user.password)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.$set(_vm.user, \"password\", $event.target.value)\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('div', {\n\t staticClass: \"login-bottom\"\n\t }, [_c('div', [(_vm.registrationOpen) ? _c('router-link', {\n\t staticClass: \"register\",\n\t attrs: {\n\t \"to\": {\n\t name: 'registration'\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('login.register')))]) : _vm._e()], 1), _vm._v(\" \"), _c('button', {\n\t staticClass: \"btn btn-default\",\n\t attrs: {\n\t \"disabled\": _vm.loggingIn,\n\t \"type\": \"submit\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('login.login')))])])]), _vm._v(\" \"), (_vm.authError) ? _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('div', {\n\t staticClass: \"alert error\"\n\t }, [_vm._v(_vm._s(_vm.authError))])]) : _vm._e()])])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 508 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"settings panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('registration.registration')) + \"\\n \")]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('form', {\n\t staticClass: \"registration-form\",\n\t on: {\n\t \"submit\": function($event) {\n\t $event.preventDefault();\n\t _vm.submit(_vm.user)\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"container\"\n\t }, [_c('div', {\n\t staticClass: \"text-fields\"\n\t }, [_c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"username\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('login.username')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.username),\n\t expression: \"user.username\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.registering,\n\t \"id\": \"username\",\n\t \"placeholder\": \"e.g. lain\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.user.username)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.$set(_vm.user, \"username\", $event.target.value)\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"fullname\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('registration.fullname')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.fullname),\n\t expression: \"user.fullname\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.registering,\n\t \"id\": \"fullname\",\n\t \"placeholder\": \"e.g. Lain Iwakura\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.user.fullname)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.$set(_vm.user, \"fullname\", $event.target.value)\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"email\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('registration.email')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.email),\n\t expression: \"user.email\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.registering,\n\t \"id\": \"email\",\n\t \"type\": \"email\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.user.email)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.$set(_vm.user, \"email\", $event.target.value)\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"bio\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('registration.bio')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.bio),\n\t expression: \"user.bio\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.registering,\n\t \"id\": \"bio\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.user.bio)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.$set(_vm.user, \"bio\", $event.target.value)\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"password\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('login.password')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.password),\n\t expression: \"user.password\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.registering,\n\t \"id\": \"password\",\n\t \"type\": \"password\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.user.password)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.$set(_vm.user, \"password\", $event.target.value)\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('label', {\n\t attrs: {\n\t \"for\": \"password_confirmation\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('registration.password_confirm')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.user.confirm),\n\t expression: \"user.confirm\"\n\t }],\n\t staticClass: \"form-control\",\n\t attrs: {\n\t \"disabled\": _vm.registering,\n\t \"id\": \"password_confirmation\",\n\t \"type\": \"password\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.user.confirm)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.$set(_vm.user, \"confirm\", $event.target.value)\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('button', {\n\t staticClass: \"btn btn-default\",\n\t attrs: {\n\t \"disabled\": _vm.registering,\n\t \"type\": \"submit\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('general.submit')))])])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"terms-of-service\",\n\t domProps: {\n\t \"innerHTML\": _vm._s(_vm.termsofservice)\n\t }\n\t })]), _vm._v(\" \"), (_vm.error) ? _c('div', {\n\t staticClass: \"form-group\"\n\t }, [_c('div', {\n\t staticClass: \"alert error\"\n\t }, [_vm._v(_vm._s(_vm.error))])]) : _vm._e()])])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 509 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', [(_vm.user) ? _c('div', {\n\t staticClass: \"user-profile panel panel-default\"\n\t }, [_c('user-card-content', {\n\t attrs: {\n\t \"user\": _vm.user,\n\t \"switcher\": true,\n\t \"selected\": _vm.timeline.viewing\n\t }\n\t })], 1) : _vm._e(), _vm._v(\" \"), _c('Timeline', {\n\t attrs: {\n\t \"title\": _vm.$t('user_profile.timeline_title'),\n\t \"timeline\": _vm.timeline,\n\t \"timeline-name\": 'user',\n\t \"user-id\": _vm.userId\n\t }\n\t })], 1)\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 510 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return (_vm.size === 'hide') ? _c('div', [(_vm.type !== 'html') ? _c('a', {\n\t staticClass: \"placeholder\",\n\t attrs: {\n\t \"target\": \"_blank\",\n\t \"href\": _vm.attachment.url\n\t }\n\t }, [_vm._v(\"[\" + _vm._s(_vm.nsfw ? \"NSFW/\" : \"\") + _vm._s(_vm.type.toUpperCase()) + \"]\")]) : _vm._e()]) : _c('div', {\n\t directives: [{\n\t name: \"show\",\n\t rawName: \"v-show\",\n\t value: (!_vm.isEmpty),\n\t expression: \"!isEmpty\"\n\t }],\n\t staticClass: \"attachment\",\n\t class: ( _obj = {\n\t loading: _vm.loading,\n\t 'small-attachment': _vm.isSmall,\n\t 'fullwidth': _vm.fullwidth\n\t }, _obj[_vm.type] = true, _obj )\n\t }, [(_vm.hidden) ? _c('a', {\n\t staticClass: \"image-attachment\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleHidden()\n\t }\n\t }\n\t }, [_c('img', {\n\t key: _vm.nsfwImage,\n\t attrs: {\n\t \"src\": _vm.nsfwImage\n\t }\n\t })]) : _vm._e(), _vm._v(\" \"), (_vm.nsfw && _vm.hideNsfwLocal && !_vm.hidden) ? _c('div', {\n\t staticClass: \"hider\"\n\t }, [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleHidden()\n\t }\n\t }\n\t }, [_vm._v(\"Hide\")])]) : _vm._e(), _vm._v(\" \"), (_vm.type === 'image' && !_vm.hidden) ? _c('a', {\n\t staticClass: \"image-attachment\",\n\t attrs: {\n\t \"href\": _vm.attachment.url,\n\t \"target\": \"_blank\"\n\t }\n\t }, [_c('StillImage', {\n\t class: {\n\t 'small': _vm.isSmall\n\t },\n\t attrs: {\n\t \"referrerpolicy\": \"no-referrer\",\n\t \"mimetype\": _vm.attachment.mimetype,\n\t \"src\": _vm.attachment.large_thumb_url || _vm.attachment.url\n\t }\n\t })], 1) : _vm._e(), _vm._v(\" \"), (_vm.type === 'video' && !_vm.hidden) ? _c('video', {\n\t class: {\n\t 'small': _vm.isSmall\n\t },\n\t attrs: {\n\t \"src\": _vm.attachment.url,\n\t \"controls\": \"\",\n\t \"loop\": \"\"\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (_vm.type === 'audio') ? _c('audio', {\n\t attrs: {\n\t \"src\": _vm.attachment.url,\n\t \"controls\": \"\"\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), (_vm.type === 'html' && _vm.attachment.oembed) ? _c('div', {\n\t staticClass: \"oembed\",\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.linkClicked($event)\n\t }\n\t }\n\t }, [(_vm.attachment.thumb_url) ? _c('div', {\n\t staticClass: \"image\"\n\t }, [_c('img', {\n\t attrs: {\n\t \"src\": _vm.attachment.thumb_url\n\t }\n\t })]) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"text\"\n\t }, [_c('h1', [_c('a', {\n\t attrs: {\n\t \"href\": _vm.attachment.url\n\t }\n\t }, [_vm._v(_vm._s(_vm.attachment.oembed.title))])]), _vm._v(\" \"), _c('div', {\n\t domProps: {\n\t \"innerHTML\": _vm._s(_vm.attachment.oembed.oembedHTML)\n\t }\n\t })])]) : _vm._e()])\n\t var _obj;\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 511 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t style: (_vm.style),\n\t attrs: {\n\t \"id\": \"app\"\n\t }\n\t }, [_c('nav', {\n\t staticClass: \"container\",\n\t attrs: {\n\t \"id\": \"nav\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t _vm.scrollToTop()\n\t }\n\t }\n\t }, [_c('div', {\n\t staticClass: \"inner-nav\",\n\t style: (_vm.logoStyle)\n\t }, [_c('div', {\n\t staticClass: \"item\"\n\t }, [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'root'\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.sitename))])], 1), _vm._v(\" \"), _c('div', {\n\t staticClass: \"item right\"\n\t }, [_c('user-finder', {\n\t staticClass: \"nav-icon\"\n\t }), _vm._v(\" \"), _c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'settings'\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-cog nav-icon\"\n\t })]), _vm._v(\" \"), (_vm.currentUser) ? _c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.logout($event)\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-logout nav-icon\",\n\t attrs: {\n\t \"title\": _vm.$t('login.logout')\n\t }\n\t })]) : _vm._e()], 1)])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"container\",\n\t attrs: {\n\t \"id\": \"content\"\n\t }\n\t }, [_c('div', {\n\t staticClass: \"panel-switcher\"\n\t }, [_c('button', {\n\t on: {\n\t \"click\": function($event) {\n\t _vm.activatePanel('sidebar')\n\t }\n\t }\n\t }, [_vm._v(\"Sidebar\")]), _vm._v(\" \"), _c('button', {\n\t on: {\n\t \"click\": function($event) {\n\t _vm.activatePanel('timeline')\n\t }\n\t }\n\t }, [_vm._v(\"Timeline\")])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"sidebar-flexer\",\n\t class: {\n\t 'mobile-hidden': _vm.mobileActivePanel != 'sidebar'\n\t }\n\t }, [_c('div', {\n\t staticClass: \"sidebar-bounds\"\n\t }, [_c('div', {\n\t staticClass: \"sidebar-scroller\"\n\t }, [_c('div', {\n\t staticClass: \"sidebar\"\n\t }, [_c('user-panel'), _vm._v(\" \"), _c('nav-panel'), _vm._v(\" \"), (_vm.showInstanceSpecificPanel) ? _c('instance-specific-panel') : _vm._e(), _vm._v(\" \"), (_vm.currentUser && _vm.showWhoToFollowPanel) ? _c('who-to-follow-panel') : _vm._e(), _vm._v(\" \"), (_vm.currentUser) ? _c('notifications') : _vm._e()], 1)])])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"main\",\n\t class: {\n\t 'mobile-hidden': _vm.mobileActivePanel != 'timeline'\n\t }\n\t }, [_c('transition', {\n\t attrs: {\n\t \"name\": \"fade\"\n\t }\n\t }, [_c('router-view')], 1)], 1)]), _vm._v(\" \"), (_vm.currentUser && _vm.chat) ? _c('chat-panel', {\n\t staticClass: \"floating-chat mobile-hidden\"\n\t }) : _vm._e()], 1)\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 512 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"media-upload\",\n\t on: {\n\t \"drop\": [function($event) {\n\t $event.preventDefault();\n\t }, _vm.fileDrop],\n\t \"dragover\": function($event) {\n\t $event.preventDefault();\n\t _vm.fileDrag($event)\n\t }\n\t }\n\t }, [_c('label', {\n\t staticClass: \"btn btn-default\"\n\t }, [(_vm.uploading) ? _c('i', {\n\t staticClass: \"icon-spin4 animate-spin\"\n\t }) : _vm._e(), _vm._v(\" \"), (!_vm.uploading) ? _c('i', {\n\t staticClass: \"icon-upload\"\n\t }) : _vm._e(), _vm._v(\" \"), _c('input', {\n\t staticStyle: {\n\t \"position\": \"fixed\",\n\t \"top\": \"-100em\"\n\t },\n\t attrs: {\n\t \"type\": \"file\"\n\t }\n\t })])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 513 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('Timeline', {\n\t attrs: {\n\t \"title\": _vm.$t('nav.public_tl'),\n\t \"timeline\": _vm.timeline,\n\t \"timeline-name\": 'public'\n\t }\n\t })\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 514 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return (_vm.notification.type === 'mention') ? _c('status', {\n\t attrs: {\n\t \"compact\": true,\n\t \"statusoid\": _vm.notification.status\n\t }\n\t }) : _c('div', {\n\t staticClass: \"non-mention\"\n\t }, [_c('a', {\n\t staticClass: \"avatar-container\",\n\t attrs: {\n\t \"href\": _vm.notification.action.user.statusnet_profile_url\n\t },\n\t on: {\n\t \"!click\": function($event) {\n\t $event.stopPropagation();\n\t $event.preventDefault();\n\t _vm.toggleUserExpanded($event)\n\t }\n\t }\n\t }, [_c('StillImage', {\n\t staticClass: \"avatar-compact\",\n\t attrs: {\n\t \"src\": _vm.notification.action.user.profile_image_url_original\n\t }\n\t })], 1), _vm._v(\" \"), _c('div', {\n\t staticClass: \"notification-right\"\n\t }, [(_vm.userExpanded) ? _c('div', {\n\t staticClass: \"usercard notification-usercard\"\n\t }, [_c('user-card-content', {\n\t attrs: {\n\t \"user\": _vm.notification.action.user,\n\t \"switcher\": false\n\t }\n\t })], 1) : _vm._e(), _vm._v(\" \"), _c('span', {\n\t staticClass: \"notification-details\"\n\t }, [_c('div', {\n\t staticClass: \"name-and-action\"\n\t }, [_c('span', {\n\t staticClass: \"username\",\n\t attrs: {\n\t \"title\": '@' + _vm.notification.action.user.screen_name\n\t }\n\t }, [_vm._v(_vm._s(_vm.notification.action.user.name))]), _vm._v(\" \"), (_vm.notification.type === 'favorite') ? _c('span', [_c('i', {\n\t staticClass: \"fa icon-star lit\"\n\t }), _vm._v(\" \"), _c('small', [_vm._v(_vm._s(_vm.$t('notifications.favorited_you')))])]) : _vm._e(), _vm._v(\" \"), (_vm.notification.type === 'repeat') ? _c('span', [_c('i', {\n\t staticClass: \"fa icon-retweet lit\"\n\t }), _vm._v(\" \"), _c('small', [_vm._v(_vm._s(_vm.$t('notifications.repeated_you')))])]) : _vm._e(), _vm._v(\" \"), (_vm.notification.type === 'follow') ? _c('span', [_c('i', {\n\t staticClass: \"fa icon-user-plus lit\"\n\t }), _vm._v(\" \"), _c('small', [_vm._v(_vm._s(_vm.$t('notifications.followed_you')))])]) : _vm._e()]), _vm._v(\" \"), _c('small', {\n\t staticClass: \"timeago\"\n\t }, [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'conversation',\n\t params: {\n\t id: _vm.notification.status.id\n\t }\n\t }\n\t }\n\t }, [_c('timeago', {\n\t attrs: {\n\t \"since\": _vm.notification.action.created_at,\n\t \"auto-update\": 240\n\t }\n\t })], 1)], 1)]), _vm._v(\" \"), (_vm.notification.type === 'follow') ? _c('div', {\n\t staticClass: \"follow-text\"\n\t }, [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.notification.action.user.id\n\t }\n\t }\n\t }\n\t }, [_vm._v(\"@\" + _vm._s(_vm.notification.action.user.screen_name))])], 1) : _c('status', {\n\t staticClass: \"faint\",\n\t attrs: {\n\t \"compact\": true,\n\t \"statusoid\": _vm.notification.status,\n\t \"noHeading\": true\n\t }\n\t })], 1)])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 515 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('conversation', {\n\t attrs: {\n\t \"collapsable\": false,\n\t \"statusoid\": _vm.statusoid\n\t }\n\t })\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 516 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"still-image\",\n\t class: {\n\t animated: _vm.animated\n\t }\n\t }, [(_vm.animated) ? _c('canvas', {\n\t ref: \"canvas\"\n\t }) : _vm._e(), _vm._v(\" \"), _c('img', {\n\t ref: \"src\",\n\t attrs: {\n\t \"src\": _vm.src,\n\t \"referrerpolicy\": _vm.referrerpolicy\n\t },\n\t on: {\n\t \"load\": _vm.onLoad\n\t }\n\t })])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 517 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"status-el\",\n\t class: [{\n\t 'status-el_focused': _vm.isFocused\n\t }, {\n\t 'status-conversation': _vm.inlineExpanded\n\t }]\n\t }, [(_vm.muted && !_vm.noReplyLinks) ? [_c('div', {\n\t staticClass: \"media status container muted\"\n\t }, [_c('small', [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.status.user.id\n\t }\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.status.user.screen_name))])], 1), _vm._v(\" \"), _c('small', {\n\t staticClass: \"muteWords\"\n\t }, [_vm._v(_vm._s(_vm.muteWordHits.join(', ')))]), _vm._v(\" \"), _c('a', {\n\t staticClass: \"unmute\",\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleMute($event)\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-eye-off\"\n\t })])])] : [(_vm.retweet && !_vm.noHeading) ? _c('div', {\n\t staticClass: \"media container retweet-info\"\n\t }, [(_vm.retweet) ? _c('StillImage', {\n\t staticClass: \"avatar\",\n\t attrs: {\n\t \"src\": _vm.statusoid.user.profile_image_url_original\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"media-body faint\"\n\t }, [_c('a', {\n\t staticStyle: {\n\t \"font-weight\": \"bold\"\n\t },\n\t attrs: {\n\t \"href\": _vm.statusoid.user.statusnet_profile_url,\n\t \"title\": '@' + _vm.statusoid.user.screen_name\n\t }\n\t }, [_vm._v(_vm._s(_vm.retweeter))]), _vm._v(\" \"), _c('i', {\n\t staticClass: \"fa icon-retweet retweeted\"\n\t }), _vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.repeated')) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"media status\"\n\t }, [(!_vm.noHeading) ? _c('div', {\n\t staticClass: \"media-left\"\n\t }, [_c('a', {\n\t attrs: {\n\t \"href\": _vm.status.user.statusnet_profile_url\n\t },\n\t on: {\n\t \"!click\": function($event) {\n\t $event.stopPropagation();\n\t $event.preventDefault();\n\t _vm.toggleUserExpanded($event)\n\t }\n\t }\n\t }, [_c('StillImage', {\n\t staticClass: \"avatar\",\n\t class: {\n\t 'avatar-compact': _vm.compact\n\t },\n\t attrs: {\n\t \"src\": _vm.status.user.profile_image_url_original\n\t }\n\t })], 1)]) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"status-body\"\n\t }, [(_vm.userExpanded) ? _c('div', {\n\t staticClass: \"usercard media-body\"\n\t }, [_c('user-card-content', {\n\t attrs: {\n\t \"user\": _vm.status.user,\n\t \"switcher\": false\n\t }\n\t })], 1) : _vm._e(), _vm._v(\" \"), (!_vm.noHeading) ? _c('div', {\n\t staticClass: \"media-body container media-heading\"\n\t }, [_c('div', {\n\t staticClass: \"media-heading-left\"\n\t }, [_c('div', {\n\t staticClass: \"name-and-links\"\n\t }, [_c('h4', {\n\t staticClass: \"user-name\"\n\t }, [_vm._v(_vm._s(_vm.status.user.name))]), _vm._v(\" \"), _c('span', {\n\t staticClass: \"links\"\n\t }, [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.status.user.id\n\t }\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.status.user.screen_name))]), _vm._v(\" \"), (_vm.status.in_reply_to_screen_name) ? _c('span', {\n\t staticClass: \"faint reply-info\"\n\t }, [_c('i', {\n\t staticClass: \"icon-right-open\"\n\t }), _vm._v(\" \"), _c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.status.in_reply_to_user_id\n\t }\n\t }\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.status.in_reply_to_screen_name) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), (_vm.isReply && !_vm.noReplyLinks) ? _c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.gotoOriginal(_vm.status.in_reply_to_status_id)\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-reply\",\n\t on: {\n\t \"mouseenter\": function($event) {\n\t _vm.replyEnter(_vm.status.in_reply_to_status_id, $event)\n\t },\n\t \"mouseout\": function($event) {\n\t _vm.replyLeave()\n\t }\n\t }\n\t })]) : _vm._e()], 1)]), _vm._v(\" \"), (_vm.inConversation && !_vm.noReplyLinks) ? _c('h4', {\n\t staticClass: \"replies\"\n\t }, [(_vm.replies.length) ? _c('small', [_vm._v(\"Replies:\")]) : _vm._e(), _vm._v(\" \"), _vm._l((_vm.replies), function(reply) {\n\t return _c('small', {\n\t staticClass: \"reply-link\"\n\t }, [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.gotoOriginal(reply.id)\n\t },\n\t \"mouseenter\": function($event) {\n\t _vm.replyEnter(reply.id, $event)\n\t },\n\t \"mouseout\": function($event) {\n\t _vm.replyLeave()\n\t }\n\t }\n\t }, [_vm._v(_vm._s(reply.name) + \" \")])])\n\t })], 2) : _vm._e()]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"media-heading-right\"\n\t }, [_c('router-link', {\n\t staticClass: \"timeago\",\n\t attrs: {\n\t \"to\": {\n\t name: 'conversation',\n\t params: {\n\t id: _vm.status.id\n\t }\n\t }\n\t }\n\t }, [_c('timeago', {\n\t attrs: {\n\t \"since\": _vm.status.created_at,\n\t \"auto-update\": 60\n\t }\n\t })], 1), _vm._v(\" \"), (_vm.status.visibility) ? _c('span', [_c('i', {\n\t class: _vm.visibilityIcon(_vm.status.visibility)\n\t })]) : _vm._e(), _vm._v(\" \"), (!_vm.status.is_local) ? _c('a', {\n\t staticClass: \"source_url\",\n\t attrs: {\n\t \"href\": _vm.status.external_url,\n\t \"target\": \"_blank\"\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-link-ext\"\n\t })]) : _vm._e(), _vm._v(\" \"), (_vm.expandable) ? [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleExpanded($event)\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-plus-squared\"\n\t })])] : _vm._e(), _vm._v(\" \"), (_vm.unmuted) ? _c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleMute($event)\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-eye-off\"\n\t })]) : _vm._e()], 2)]) : _vm._e(), _vm._v(\" \"), (_vm.showPreview) ? _c('div', {\n\t staticClass: \"status-preview-container\"\n\t }, [(_vm.preview) ? _c('status', {\n\t staticClass: \"status-preview\",\n\t attrs: {\n\t \"noReplyLinks\": true,\n\t \"statusoid\": _vm.preview,\n\t \"compact\": true\n\t }\n\t }) : _c('div', {\n\t staticClass: \"status-preview status-preview-loading\"\n\t }, [_c('i', {\n\t staticClass: \"icon-spin4 animate-spin\"\n\t })])], 1) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"status-content-wrapper\",\n\t class: {\n\t 'tall-status': _vm.hideTallStatus\n\t }\n\t }, [(_vm.hideTallStatus) ? _c('a', {\n\t staticClass: \"tall-status-hider\",\n\t class: {\n\t 'tall-status-hider_focused': _vm.isFocused\n\t },\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleShowTall($event)\n\t }\n\t }\n\t }, [_vm._v(\"Show more\")]) : _vm._e(), _vm._v(\" \"), _c('div', {\n\t staticClass: \"status-content media-body\",\n\t domProps: {\n\t \"innerHTML\": _vm._s(_vm.status.statusnet_html)\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.linkClicked($event)\n\t }\n\t }\n\t }), _vm._v(\" \"), (_vm.showingTall) ? _c('a', {\n\t staticClass: \"tall-status-unhider\",\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleShowTall($event)\n\t }\n\t }\n\t }, [_vm._v(\"Show less\")]) : _vm._e()]), _vm._v(\" \"), (_vm.status.attachments) ? _c('div', {\n\t staticClass: \"attachments media-body\"\n\t }, _vm._l((_vm.status.attachments), function(attachment) {\n\t return _c('attachment', {\n\t key: attachment.id,\n\t attrs: {\n\t \"size\": _vm.attachmentSize,\n\t \"status-id\": _vm.status.id,\n\t \"nsfw\": _vm.status.nsfw,\n\t \"attachment\": attachment\n\t }\n\t })\n\t })) : _vm._e(), _vm._v(\" \"), (!_vm.noHeading && !_vm.noReplyLinks) ? _c('div', {\n\t staticClass: \"status-actions media-body\"\n\t }, [(_vm.loggedIn) ? _c('div', [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleReplying($event)\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-reply\",\n\t class: {\n\t 'icon-reply-active': _vm.replying\n\t }\n\t })])]) : _vm._e(), _vm._v(\" \"), _c('retweet-button', {\n\t attrs: {\n\t \"loggedIn\": _vm.loggedIn,\n\t \"status\": _vm.status\n\t }\n\t }), _vm._v(\" \"), _c('favorite-button', {\n\t attrs: {\n\t \"loggedIn\": _vm.loggedIn,\n\t \"status\": _vm.status\n\t }\n\t }), _vm._v(\" \"), _c('delete-button', {\n\t attrs: {\n\t \"status\": _vm.status\n\t }\n\t })], 1) : _vm._e()])]), _vm._v(\" \"), (_vm.replying) ? _c('div', {\n\t staticClass: \"container\"\n\t }, [_c('div', {\n\t staticClass: \"reply-left\"\n\t }), _vm._v(\" \"), _c('post-status-form', {\n\t staticClass: \"reply-body\",\n\t attrs: {\n\t \"reply-to\": _vm.status.id,\n\t \"attentions\": _vm.status.attentions,\n\t \"repliedUser\": _vm.status.user\n\t },\n\t on: {\n\t \"posted\": _vm.toggleReplying\n\t }\n\t })], 1) : _vm._e()]], 2)\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 518 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"instance-specific-panel\"\n\t }, [_c('div', {\n\t staticClass: \"panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('div', {\n\t domProps: {\n\t \"innerHTML\": _vm._s(_vm.instanceSpecificPanelContent)\n\t }\n\t })])])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 519 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('Timeline', {\n\t attrs: {\n\t \"title\": _vm.$t('nav.timeline'),\n\t \"timeline\": _vm.timeline,\n\t \"timeline-name\": 'friends'\n\t }\n\t })\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 520 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"settings panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.user_settings')) + \"\\n \")]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body profile-edit\"\n\t }, [_c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.name_bio')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.name')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.newname),\n\t expression: \"newname\"\n\t }],\n\t staticClass: \"name-changer\",\n\t attrs: {\n\t \"id\": \"username\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.newname)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.newname = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.bio')))]), _vm._v(\" \"), _c('textarea', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.newbio),\n\t expression: \"newbio\"\n\t }],\n\t staticClass: \"bio\",\n\t domProps: {\n\t \"value\": (_vm.newbio)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.newbio = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('button', {\n\t staticClass: \"btn btn-default\",\n\t attrs: {\n\t \"disabled\": _vm.newname.length <= 0\n\t },\n\t on: {\n\t \"click\": _vm.updateProfile\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('general.submit')))])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.avatar')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.current_avatar')))]), _vm._v(\" \"), _c('img', {\n\t staticClass: \"old-avatar\",\n\t attrs: {\n\t \"src\": _vm.user.profile_image_url_original\n\t }\n\t }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.set_new_avatar')))]), _vm._v(\" \"), (_vm.previews[0]) ? _c('img', {\n\t staticClass: \"new-avatar\",\n\t attrs: {\n\t \"src\": _vm.previews[0]\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), _c('div', [_c('input', {\n\t attrs: {\n\t \"type\": \"file\"\n\t },\n\t on: {\n\t \"change\": function($event) {\n\t _vm.uploadFile(0, $event)\n\t }\n\t }\n\t })]), _vm._v(\" \"), (_vm.uploading[0]) ? _c('i', {\n\t staticClass: \"icon-spin4 animate-spin\"\n\t }) : (_vm.previews[0]) ? _c('button', {\n\t staticClass: \"btn btn-default\",\n\t on: {\n\t \"click\": _vm.submitAvatar\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.profile_banner')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.current_profile_banner')))]), _vm._v(\" \"), _c('img', {\n\t staticClass: \"banner\",\n\t attrs: {\n\t \"src\": _vm.user.cover_photo\n\t }\n\t }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.set_new_profile_banner')))]), _vm._v(\" \"), (_vm.previews[1]) ? _c('img', {\n\t staticClass: \"banner\",\n\t attrs: {\n\t \"src\": _vm.previews[1]\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), _c('div', [_c('input', {\n\t attrs: {\n\t \"type\": \"file\"\n\t },\n\t on: {\n\t \"change\": function($event) {\n\t _vm.uploadFile(1, $event)\n\t }\n\t }\n\t })]), _vm._v(\" \"), (_vm.uploading[1]) ? _c('i', {\n\t staticClass: \" icon-spin4 animate-spin uploading\"\n\t }) : (_vm.previews[1]) ? _c('button', {\n\t staticClass: \"btn btn-default\",\n\t on: {\n\t \"click\": _vm.submitBanner\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.profile_background')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.set_new_profile_background')))]), _vm._v(\" \"), (_vm.previews[2]) ? _c('img', {\n\t staticClass: \"bg\",\n\t attrs: {\n\t \"src\": _vm.previews[2]\n\t }\n\t }) : _vm._e(), _vm._v(\" \"), _c('div', [_c('input', {\n\t attrs: {\n\t \"type\": \"file\"\n\t },\n\t on: {\n\t \"change\": function($event) {\n\t _vm.uploadFile(2, $event)\n\t }\n\t }\n\t })]), _vm._v(\" \"), (_vm.uploading[2]) ? _c('i', {\n\t staticClass: \" icon-spin4 animate-spin uploading\"\n\t }) : (_vm.previews[2]) ? _c('button', {\n\t staticClass: \"btn btn-default\",\n\t on: {\n\t \"click\": _vm.submitBg\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.change_password')))]), _vm._v(\" \"), _c('div', [_c('p', [_vm._v(_vm._s(_vm.$t('settings.current_password')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.changePasswordInputs[0]),\n\t expression: \"changePasswordInputs[0]\"\n\t }],\n\t attrs: {\n\t \"type\": \"password\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.changePasswordInputs[0])\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.$set(_vm.changePasswordInputs, 0, $event.target.value)\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', [_c('p', [_vm._v(_vm._s(_vm.$t('settings.new_password')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.changePasswordInputs[1]),\n\t expression: \"changePasswordInputs[1]\"\n\t }],\n\t attrs: {\n\t \"type\": \"password\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.changePasswordInputs[1])\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.$set(_vm.changePasswordInputs, 1, $event.target.value)\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', [_c('p', [_vm._v(_vm._s(_vm.$t('settings.confirm_new_password')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.changePasswordInputs[2]),\n\t expression: \"changePasswordInputs[2]\"\n\t }],\n\t attrs: {\n\t \"type\": \"password\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.changePasswordInputs[2])\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.$set(_vm.changePasswordInputs, 2, $event.target.value)\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('button', {\n\t staticClass: \"btn btn-default\",\n\t on: {\n\t \"click\": _vm.changePassword\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('general.submit')))]), _vm._v(\" \"), (_vm.changedPassword) ? _c('p', [_vm._v(_vm._s(_vm.$t('settings.changed_password')))]) : (_vm.changePasswordError !== false) ? _c('p', [_vm._v(_vm._s(_vm.$t('settings.change_password_error')))]) : _vm._e(), _vm._v(\" \"), (_vm.changePasswordError) ? _c('p', [_vm._v(_vm._s(_vm.changePasswordError))]) : _vm._e()]), _vm._v(\" \"), (_vm.pleromaBackend) ? _c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.follow_import')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.import_followers_from_a_csv_file')))]), _vm._v(\" \"), _c('form', {\n\t model: {\n\t value: (_vm.followImportForm),\n\t callback: function($$v) {\n\t _vm.followImportForm = $$v\n\t },\n\t expression: \"followImportForm\"\n\t }\n\t }, [_c('input', {\n\t ref: \"followlist\",\n\t attrs: {\n\t \"type\": \"file\"\n\t },\n\t on: {\n\t \"change\": _vm.followListChange\n\t }\n\t })]), _vm._v(\" \"), (_vm.uploading[3]) ? _c('i', {\n\t staticClass: \" icon-spin4 animate-spin uploading\"\n\t }) : _c('button', {\n\t staticClass: \"btn btn-default\",\n\t on: {\n\t \"click\": _vm.importFollows\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('general.submit')))]), _vm._v(\" \"), (_vm.followsImported) ? _c('div', [_c('i', {\n\t staticClass: \"icon-cross\",\n\t on: {\n\t \"click\": _vm.dismissImported\n\t }\n\t }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.follows_imported')))])]) : (_vm.followImportError) ? _c('div', [_c('i', {\n\t staticClass: \"icon-cross\",\n\t on: {\n\t \"click\": _vm.dismissImported\n\t }\n\t }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.follow_import_error')))])]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), (_vm.enableFollowsExport) ? _c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.follow_export')))]), _vm._v(\" \"), _c('button', {\n\t staticClass: \"btn btn-default\",\n\t on: {\n\t \"click\": _vm.exportFollows\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.follow_export_button')))])]) : _c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.follow_export_processing')))])]), _vm._v(\" \"), _c('hr'), _vm._v(\" \"), _c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.delete_account')))]), _vm._v(\" \"), (!_vm.deletingAccount) ? _c('p', [_vm._v(_vm._s(_vm.$t('settings.delete_account_description')))]) : _vm._e(), _vm._v(\" \"), (_vm.deletingAccount) ? _c('div', [_c('p', [_vm._v(_vm._s(_vm.$t('settings.delete_account_instructions')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('login.password')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.deleteAccountConfirmPasswordInput),\n\t expression: \"deleteAccountConfirmPasswordInput\"\n\t }],\n\t attrs: {\n\t \"type\": \"password\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.deleteAccountConfirmPasswordInput)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.deleteAccountConfirmPasswordInput = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('button', {\n\t staticClass: \"btn btn-default\",\n\t on: {\n\t \"click\": _vm.deleteAccount\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.delete_account')))])]) : _vm._e(), _vm._v(\" \"), (_vm.deleteAccountError !== false) ? _c('p', [_vm._v(_vm._s(_vm.$t('settings.delete_account_error')))]) : _vm._e(), _vm._v(\" \"), (_vm.deleteAccountError) ? _c('p', [_vm._v(_vm._s(_vm.deleteAccountError))]) : _vm._e(), _vm._v(\" \"), (!_vm.deletingAccount) ? _c('button', {\n\t staticClass: \"btn btn-default\",\n\t on: {\n\t \"click\": _vm.confirmDelete\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _vm._e()])])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 521 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return (_vm.canDelete) ? _c('div', [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.deleteStatus()\n\t }\n\t }\n\t }, [_c('i', {\n\t staticClass: \"icon-cancel delete-status\"\n\t })])]) : _vm._e()\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 522 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', [_c('div', [_vm._v(_vm._s(_vm.$t('settings.presets')) + \"\\n \"), _c('label', {\n\t staticClass: \"select\",\n\t attrs: {\n\t \"for\": \"style-switcher\"\n\t }\n\t }, [_c('select', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.selected),\n\t expression: \"selected\"\n\t }],\n\t staticClass: \"style-switcher\",\n\t attrs: {\n\t \"id\": \"style-switcher\"\n\t },\n\t on: {\n\t \"change\": function($event) {\n\t var $$selectedVal = Array.prototype.filter.call($event.target.options, function(o) {\n\t return o.selected\n\t }).map(function(o) {\n\t var val = \"_value\" in o ? o._value : o.value;\n\t return val\n\t });\n\t _vm.selected = $event.target.multiple ? $$selectedVal : $$selectedVal[0]\n\t }\n\t }\n\t }, _vm._l((_vm.availableStyles), function(style) {\n\t return _c('option', {\n\t domProps: {\n\t \"value\": style\n\t }\n\t }, [_vm._v(_vm._s(style[0]))])\n\t })), _vm._v(\" \"), _c('i', {\n\t staticClass: \"icon-down-open\"\n\t })])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"color-container\"\n\t }, [_c('p', [_vm._v(_vm._s(_vm.$t('settings.theme_help')))]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"color-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-color-lb\",\n\t attrs: {\n\t \"for\": \"bgcolor\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.background')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.bgColorLocal),\n\t expression: \"bgColorLocal\"\n\t }],\n\t staticClass: \"theme-color-cl\",\n\t attrs: {\n\t \"id\": \"bgcolor\",\n\t \"type\": \"color\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.bgColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.bgColorLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.bgColorLocal),\n\t expression: \"bgColorLocal\"\n\t }],\n\t staticClass: \"theme-color-in\",\n\t attrs: {\n\t \"id\": \"bgcolor-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.bgColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.bgColorLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"color-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-color-lb\",\n\t attrs: {\n\t \"for\": \"fgcolor\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.foreground')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.btnColorLocal),\n\t expression: \"btnColorLocal\"\n\t }],\n\t staticClass: \"theme-color-cl\",\n\t attrs: {\n\t \"id\": \"fgcolor\",\n\t \"type\": \"color\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.btnColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.btnColorLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.btnColorLocal),\n\t expression: \"btnColorLocal\"\n\t }],\n\t staticClass: \"theme-color-in\",\n\t attrs: {\n\t \"id\": \"fgcolor-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.btnColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.btnColorLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"color-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-color-lb\",\n\t attrs: {\n\t \"for\": \"textcolor\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.text')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.textColorLocal),\n\t expression: \"textColorLocal\"\n\t }],\n\t staticClass: \"theme-color-cl\",\n\t attrs: {\n\t \"id\": \"textcolor\",\n\t \"type\": \"color\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.textColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.textColorLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.textColorLocal),\n\t expression: \"textColorLocal\"\n\t }],\n\t staticClass: \"theme-color-in\",\n\t attrs: {\n\t \"id\": \"textcolor-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.textColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.textColorLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"color-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-color-lb\",\n\t attrs: {\n\t \"for\": \"linkcolor\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.links')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.linkColorLocal),\n\t expression: \"linkColorLocal\"\n\t }],\n\t staticClass: \"theme-color-cl\",\n\t attrs: {\n\t \"id\": \"linkcolor\",\n\t \"type\": \"color\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.linkColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.linkColorLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.linkColorLocal),\n\t expression: \"linkColorLocal\"\n\t }],\n\t staticClass: \"theme-color-in\",\n\t attrs: {\n\t \"id\": \"linkcolor-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.linkColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.linkColorLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"color-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-color-lb\",\n\t attrs: {\n\t \"for\": \"redcolor\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.cRed')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.redColorLocal),\n\t expression: \"redColorLocal\"\n\t }],\n\t staticClass: \"theme-color-cl\",\n\t attrs: {\n\t \"id\": \"redcolor\",\n\t \"type\": \"color\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.redColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.redColorLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.redColorLocal),\n\t expression: \"redColorLocal\"\n\t }],\n\t staticClass: \"theme-color-in\",\n\t attrs: {\n\t \"id\": \"redcolor-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.redColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.redColorLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"color-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-color-lb\",\n\t attrs: {\n\t \"for\": \"bluecolor\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.cBlue')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.blueColorLocal),\n\t expression: \"blueColorLocal\"\n\t }],\n\t staticClass: \"theme-color-cl\",\n\t attrs: {\n\t \"id\": \"bluecolor\",\n\t \"type\": \"color\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.blueColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.blueColorLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.blueColorLocal),\n\t expression: \"blueColorLocal\"\n\t }],\n\t staticClass: \"theme-color-in\",\n\t attrs: {\n\t \"id\": \"bluecolor-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.blueColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.blueColorLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"color-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-color-lb\",\n\t attrs: {\n\t \"for\": \"greencolor\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.cGreen')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.greenColorLocal),\n\t expression: \"greenColorLocal\"\n\t }],\n\t staticClass: \"theme-color-cl\",\n\t attrs: {\n\t \"id\": \"greencolor\",\n\t \"type\": \"color\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.greenColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.greenColorLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.greenColorLocal),\n\t expression: \"greenColorLocal\"\n\t }],\n\t staticClass: \"theme-color-in\",\n\t attrs: {\n\t \"id\": \"greencolor-t\",\n\t \"type\": \"green\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.greenColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.greenColorLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"color-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-color-lb\",\n\t attrs: {\n\t \"for\": \"orangecolor\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.cOrange')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.orangeColorLocal),\n\t expression: \"orangeColorLocal\"\n\t }],\n\t staticClass: \"theme-color-cl\",\n\t attrs: {\n\t \"id\": \"orangecolor\",\n\t \"type\": \"color\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.orangeColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.orangeColorLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.orangeColorLocal),\n\t expression: \"orangeColorLocal\"\n\t }],\n\t staticClass: \"theme-color-in\",\n\t attrs: {\n\t \"id\": \"orangecolor-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.orangeColorLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.orangeColorLocal = $event.target.value\n\t }\n\t }\n\t })])]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"radius-container\"\n\t }, [_c('p', [_vm._v(_vm._s(_vm.$t('settings.radii_help')))]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"radius-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-radius-lb\",\n\t attrs: {\n\t \"for\": \"btnradius\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.btnRadius')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.btnRadiusLocal),\n\t expression: \"btnRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-rn\",\n\t attrs: {\n\t \"id\": \"btnradius\",\n\t \"type\": \"range\",\n\t \"max\": \"16\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.btnRadiusLocal)\n\t },\n\t on: {\n\t \"__r\": function($event) {\n\t _vm.btnRadiusLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.btnRadiusLocal),\n\t expression: \"btnRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-in\",\n\t attrs: {\n\t \"id\": \"btnradius-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.btnRadiusLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.btnRadiusLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"radius-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-radius-lb\",\n\t attrs: {\n\t \"for\": \"inputradius\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.inputRadius')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.inputRadiusLocal),\n\t expression: \"inputRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-rn\",\n\t attrs: {\n\t \"id\": \"inputradius\",\n\t \"type\": \"range\",\n\t \"max\": \"16\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.inputRadiusLocal)\n\t },\n\t on: {\n\t \"__r\": function($event) {\n\t _vm.inputRadiusLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.inputRadiusLocal),\n\t expression: \"inputRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-in\",\n\t attrs: {\n\t \"id\": \"inputradius-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.inputRadiusLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.inputRadiusLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"radius-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-radius-lb\",\n\t attrs: {\n\t \"for\": \"panelradius\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.panelRadius')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.panelRadiusLocal),\n\t expression: \"panelRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-rn\",\n\t attrs: {\n\t \"id\": \"panelradius\",\n\t \"type\": \"range\",\n\t \"max\": \"50\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.panelRadiusLocal)\n\t },\n\t on: {\n\t \"__r\": function($event) {\n\t _vm.panelRadiusLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.panelRadiusLocal),\n\t expression: \"panelRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-in\",\n\t attrs: {\n\t \"id\": \"panelradius-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.panelRadiusLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.panelRadiusLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"radius-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-radius-lb\",\n\t attrs: {\n\t \"for\": \"avatarradius\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.avatarRadius')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.avatarRadiusLocal),\n\t expression: \"avatarRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-rn\",\n\t attrs: {\n\t \"id\": \"avatarradius\",\n\t \"type\": \"range\",\n\t \"max\": \"28\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.avatarRadiusLocal)\n\t },\n\t on: {\n\t \"__r\": function($event) {\n\t _vm.avatarRadiusLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.avatarRadiusLocal),\n\t expression: \"avatarRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-in\",\n\t attrs: {\n\t \"id\": \"avatarradius-t\",\n\t \"type\": \"green\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.avatarRadiusLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.avatarRadiusLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"radius-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-radius-lb\",\n\t attrs: {\n\t \"for\": \"avataraltradius\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.avatarAltRadius')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.avatarAltRadiusLocal),\n\t expression: \"avatarAltRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-rn\",\n\t attrs: {\n\t \"id\": \"avataraltradius\",\n\t \"type\": \"range\",\n\t \"max\": \"28\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.avatarAltRadiusLocal)\n\t },\n\t on: {\n\t \"__r\": function($event) {\n\t _vm.avatarAltRadiusLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.avatarAltRadiusLocal),\n\t expression: \"avatarAltRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-in\",\n\t attrs: {\n\t \"id\": \"avataraltradius-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.avatarAltRadiusLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.avatarAltRadiusLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"radius-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-radius-lb\",\n\t attrs: {\n\t \"for\": \"attachmentradius\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.attachmentRadius')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.attachmentRadiusLocal),\n\t expression: \"attachmentRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-rn\",\n\t attrs: {\n\t \"id\": \"attachmentrradius\",\n\t \"type\": \"range\",\n\t \"max\": \"50\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.attachmentRadiusLocal)\n\t },\n\t on: {\n\t \"__r\": function($event) {\n\t _vm.attachmentRadiusLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.attachmentRadiusLocal),\n\t expression: \"attachmentRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-in\",\n\t attrs: {\n\t \"id\": \"attachmentradius-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.attachmentRadiusLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.attachmentRadiusLocal = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"radius-item\"\n\t }, [_c('label', {\n\t staticClass: \"theme-radius-lb\",\n\t attrs: {\n\t \"for\": \"tooltipradius\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.tooltipRadius')))]), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.tooltipRadiusLocal),\n\t expression: \"tooltipRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-rn\",\n\t attrs: {\n\t \"id\": \"tooltipradius\",\n\t \"type\": \"range\",\n\t \"max\": \"20\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.tooltipRadiusLocal)\n\t },\n\t on: {\n\t \"__r\": function($event) {\n\t _vm.tooltipRadiusLocal = $event.target.value\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.tooltipRadiusLocal),\n\t expression: \"tooltipRadiusLocal\"\n\t }],\n\t staticClass: \"theme-radius-in\",\n\t attrs: {\n\t \"id\": \"tooltipradius-t\",\n\t \"type\": \"text\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.tooltipRadiusLocal)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.tooltipRadiusLocal = $event.target.value\n\t }\n\t }\n\t })])]), _vm._v(\" \"), _c('div', {\n\t style: ({\n\t '--btnRadius': _vm.btnRadiusLocal + 'px',\n\t '--inputRadius': _vm.inputRadiusLocal + 'px',\n\t '--panelRadius': _vm.panelRadiusLocal + 'px',\n\t '--avatarRadius': _vm.avatarRadiusLocal + 'px',\n\t '--avatarAltRadius': _vm.avatarAltRadiusLocal + 'px',\n\t '--tooltipRadius': _vm.tooltipRadiusLocal + 'px',\n\t '--attachmentRadius': _vm.attachmentRadiusLocal + 'px'\n\t })\n\t }, [_c('div', {\n\t staticClass: \"panel dummy\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading\",\n\t style: ({\n\t 'background-color': _vm.btnColorLocal,\n\t 'color': _vm.textColorLocal\n\t })\n\t }, [_vm._v(\"Preview\")]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body theme-preview-content\",\n\t style: ({\n\t 'background-color': _vm.bgColorLocal,\n\t 'color': _vm.textColorLocal\n\t })\n\t }, [_c('div', {\n\t staticClass: \"avatar\",\n\t style: ({\n\t 'border-radius': _vm.avatarRadiusLocal + 'px'\n\t })\n\t }, [_vm._v(\"\\n ( ͡° ͜ʖ ͡°)\\n \")]), _vm._v(\" \"), _c('h4', [_vm._v(\"Content\")]), _vm._v(\" \"), _c('br'), _vm._v(\"\\n A bunch of more content and\\n \"), _c('a', {\n\t style: ({\n\t color: _vm.linkColorLocal\n\t })\n\t }, [_vm._v(\"a nice lil' link\")]), _vm._v(\" \"), _c('i', {\n\t staticClass: \"icon-reply\",\n\t style: ({\n\t color: _vm.blueColorLocal\n\t })\n\t }), _vm._v(\" \"), _c('i', {\n\t staticClass: \"icon-retweet\",\n\t style: ({\n\t color: _vm.greenColorLocal\n\t })\n\t }), _vm._v(\" \"), _c('i', {\n\t staticClass: \"icon-cancel\",\n\t style: ({\n\t color: _vm.redColorLocal\n\t })\n\t }), _vm._v(\" \"), _c('i', {\n\t staticClass: \"icon-star\",\n\t style: ({\n\t color: _vm.orangeColorLocal\n\t })\n\t }), _vm._v(\" \"), _c('br'), _vm._v(\" \"), _c('button', {\n\t staticClass: \"btn\",\n\t style: ({\n\t 'background-color': _vm.btnColorLocal,\n\t 'color': _vm.textColorLocal\n\t })\n\t }, [_vm._v(\"Button\")])])])]), _vm._v(\" \"), _c('button', {\n\t staticClass: \"btn\",\n\t on: {\n\t \"click\": _vm.setCustomTheme\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('general.apply')))])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 523 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return (_vm.loggedIn) ? _c('div', [_c('i', {\n\t staticClass: \"favorite-button fav-active\",\n\t class: _vm.classes,\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.favorite()\n\t }\n\t }\n\t }), _vm._v(\" \"), (_vm.status.fave_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.fave_num))]) : _vm._e()]) : _c('div', [_c('i', {\n\t staticClass: \"favorite-button\",\n\t class: _vm.classes\n\t }), _vm._v(\" \"), (_vm.status.fave_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.fave_num))]) : _vm._e()])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 524 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"settings panel panel-default\"\n\t }, [_c('div', {\n\t staticClass: \"panel-heading\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.settings')) + \"\\n \")]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body\"\n\t }, [_c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.theme')))]), _vm._v(\" \"), _c('style-switcher')], 1), _vm._v(\" \"), _c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.filtering')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.filtering_explanation')))]), _vm._v(\" \"), _c('textarea', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.muteWordsString),\n\t expression: \"muteWordsString\"\n\t }],\n\t attrs: {\n\t \"id\": \"muteWords\"\n\t },\n\t domProps: {\n\t \"value\": (_vm.muteWordsString)\n\t },\n\t on: {\n\t \"input\": function($event) {\n\t if ($event.target.composing) { return; }\n\t _vm.muteWordsString = $event.target.value\n\t }\n\t }\n\t })]), _vm._v(\" \"), _c('div', {\n\t staticClass: \"setting-item\"\n\t }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.attachments')))]), _vm._v(\" \"), _c('ul', {\n\t staticClass: \"setting-list\"\n\t }, [_c('li', [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.hideAttachmentsLocal),\n\t expression: \"hideAttachmentsLocal\"\n\t }],\n\t attrs: {\n\t \"type\": \"checkbox\",\n\t \"id\": \"hideAttachments\"\n\t },\n\t domProps: {\n\t \"checked\": Array.isArray(_vm.hideAttachmentsLocal) ? _vm._i(_vm.hideAttachmentsLocal, null) > -1 : (_vm.hideAttachmentsLocal)\n\t },\n\t on: {\n\t \"change\": function($event) {\n\t var $$a = _vm.hideAttachmentsLocal,\n\t $$el = $event.target,\n\t $$c = $$el.checked ? (true) : (false);\n\t if (Array.isArray($$a)) {\n\t var $$v = null,\n\t $$i = _vm._i($$a, $$v);\n\t if ($$el.checked) {\n\t $$i < 0 && (_vm.hideAttachmentsLocal = $$a.concat([$$v]))\n\t } else {\n\t $$i > -1 && (_vm.hideAttachmentsLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n\t }\n\t } else {\n\t _vm.hideAttachmentsLocal = $$c\n\t }\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('label', {\n\t attrs: {\n\t \"for\": \"hideAttachments\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.hide_attachments_in_tl')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.hideAttachmentsInConvLocal),\n\t expression: \"hideAttachmentsInConvLocal\"\n\t }],\n\t attrs: {\n\t \"type\": \"checkbox\",\n\t \"id\": \"hideAttachmentsInConv\"\n\t },\n\t domProps: {\n\t \"checked\": Array.isArray(_vm.hideAttachmentsInConvLocal) ? _vm._i(_vm.hideAttachmentsInConvLocal, null) > -1 : (_vm.hideAttachmentsInConvLocal)\n\t },\n\t on: {\n\t \"change\": function($event) {\n\t var $$a = _vm.hideAttachmentsInConvLocal,\n\t $$el = $event.target,\n\t $$c = $$el.checked ? (true) : (false);\n\t if (Array.isArray($$a)) {\n\t var $$v = null,\n\t $$i = _vm._i($$a, $$v);\n\t if ($$el.checked) {\n\t $$i < 0 && (_vm.hideAttachmentsInConvLocal = $$a.concat([$$v]))\n\t } else {\n\t $$i > -1 && (_vm.hideAttachmentsInConvLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n\t }\n\t } else {\n\t _vm.hideAttachmentsInConvLocal = $$c\n\t }\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('label', {\n\t attrs: {\n\t \"for\": \"hideAttachmentsInConv\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.hide_attachments_in_convo')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.hideNsfwLocal),\n\t expression: \"hideNsfwLocal\"\n\t }],\n\t attrs: {\n\t \"type\": \"checkbox\",\n\t \"id\": \"hideNsfw\"\n\t },\n\t domProps: {\n\t \"checked\": Array.isArray(_vm.hideNsfwLocal) ? _vm._i(_vm.hideNsfwLocal, null) > -1 : (_vm.hideNsfwLocal)\n\t },\n\t on: {\n\t \"change\": function($event) {\n\t var $$a = _vm.hideNsfwLocal,\n\t $$el = $event.target,\n\t $$c = $$el.checked ? (true) : (false);\n\t if (Array.isArray($$a)) {\n\t var $$v = null,\n\t $$i = _vm._i($$a, $$v);\n\t if ($$el.checked) {\n\t $$i < 0 && (_vm.hideNsfwLocal = $$a.concat([$$v]))\n\t } else {\n\t $$i > -1 && (_vm.hideNsfwLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n\t }\n\t } else {\n\t _vm.hideNsfwLocal = $$c\n\t }\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('label', {\n\t attrs: {\n\t \"for\": \"hideNsfw\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.nsfw_clickthrough')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.autoLoadLocal),\n\t expression: \"autoLoadLocal\"\n\t }],\n\t attrs: {\n\t \"type\": \"checkbox\",\n\t \"id\": \"autoload\"\n\t },\n\t domProps: {\n\t \"checked\": Array.isArray(_vm.autoLoadLocal) ? _vm._i(_vm.autoLoadLocal, null) > -1 : (_vm.autoLoadLocal)\n\t },\n\t on: {\n\t \"change\": function($event) {\n\t var $$a = _vm.autoLoadLocal,\n\t $$el = $event.target,\n\t $$c = $$el.checked ? (true) : (false);\n\t if (Array.isArray($$a)) {\n\t var $$v = null,\n\t $$i = _vm._i($$a, $$v);\n\t if ($$el.checked) {\n\t $$i < 0 && (_vm.autoLoadLocal = $$a.concat([$$v]))\n\t } else {\n\t $$i > -1 && (_vm.autoLoadLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n\t }\n\t } else {\n\t _vm.autoLoadLocal = $$c\n\t }\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('label', {\n\t attrs: {\n\t \"for\": \"autoload\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.autoload')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.streamingLocal),\n\t expression: \"streamingLocal\"\n\t }],\n\t attrs: {\n\t \"type\": \"checkbox\",\n\t \"id\": \"streaming\"\n\t },\n\t domProps: {\n\t \"checked\": Array.isArray(_vm.streamingLocal) ? _vm._i(_vm.streamingLocal, null) > -1 : (_vm.streamingLocal)\n\t },\n\t on: {\n\t \"change\": function($event) {\n\t var $$a = _vm.streamingLocal,\n\t $$el = $event.target,\n\t $$c = $$el.checked ? (true) : (false);\n\t if (Array.isArray($$a)) {\n\t var $$v = null,\n\t $$i = _vm._i($$a, $$v);\n\t if ($$el.checked) {\n\t $$i < 0 && (_vm.streamingLocal = $$a.concat([$$v]))\n\t } else {\n\t $$i > -1 && (_vm.streamingLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n\t }\n\t } else {\n\t _vm.streamingLocal = $$c\n\t }\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('label', {\n\t attrs: {\n\t \"for\": \"streaming\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.streaming')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.hoverPreviewLocal),\n\t expression: \"hoverPreviewLocal\"\n\t }],\n\t attrs: {\n\t \"type\": \"checkbox\",\n\t \"id\": \"hoverPreview\"\n\t },\n\t domProps: {\n\t \"checked\": Array.isArray(_vm.hoverPreviewLocal) ? _vm._i(_vm.hoverPreviewLocal, null) > -1 : (_vm.hoverPreviewLocal)\n\t },\n\t on: {\n\t \"change\": function($event) {\n\t var $$a = _vm.hoverPreviewLocal,\n\t $$el = $event.target,\n\t $$c = $$el.checked ? (true) : (false);\n\t if (Array.isArray($$a)) {\n\t var $$v = null,\n\t $$i = _vm._i($$a, $$v);\n\t if ($$el.checked) {\n\t $$i < 0 && (_vm.hoverPreviewLocal = $$a.concat([$$v]))\n\t } else {\n\t $$i > -1 && (_vm.hoverPreviewLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n\t }\n\t } else {\n\t _vm.hoverPreviewLocal = $$c\n\t }\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('label', {\n\t attrs: {\n\t \"for\": \"hoverPreview\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.reply_link_preview')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n\t directives: [{\n\t name: \"model\",\n\t rawName: \"v-model\",\n\t value: (_vm.stopGifs),\n\t expression: \"stopGifs\"\n\t }],\n\t attrs: {\n\t \"type\": \"checkbox\",\n\t \"id\": \"stopGifs\"\n\t },\n\t domProps: {\n\t \"checked\": Array.isArray(_vm.stopGifs) ? _vm._i(_vm.stopGifs, null) > -1 : (_vm.stopGifs)\n\t },\n\t on: {\n\t \"change\": function($event) {\n\t var $$a = _vm.stopGifs,\n\t $$el = $event.target,\n\t $$c = $$el.checked ? (true) : (false);\n\t if (Array.isArray($$a)) {\n\t var $$v = null,\n\t $$i = _vm._i($$a, $$v);\n\t if ($$el.checked) {\n\t $$i < 0 && (_vm.stopGifs = $$a.concat([$$v]))\n\t } else {\n\t $$i > -1 && (_vm.stopGifs = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n\t }\n\t } else {\n\t _vm.stopGifs = $$c\n\t }\n\t }\n\t }\n\t }), _vm._v(\" \"), _c('label', {\n\t attrs: {\n\t \"for\": \"stopGifs\"\n\t }\n\t }, [_vm._v(_vm._s(_vm.$t('settings.stop_gifs')))])])])])])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 525 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"nav-panel\"\n\t }, [_c('div', {\n\t staticClass: \"panel panel-default\"\n\t }, [_c('ul', [(_vm.currentUser) ? _c('li', [_c('router-link', {\n\t attrs: {\n\t \"to\": \"/main/friends\"\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.timeline\")) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), (_vm.currentUser) ? _c('li', [_c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'mentions',\n\t params: {\n\t username: _vm.currentUser.screen_name\n\t }\n\t }\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.mentions\")) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), _c('li', [_c('router-link', {\n\t attrs: {\n\t \"to\": \"/main/public\"\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.public_tl\")) + \"\\n \")])], 1), _vm._v(\" \"), _c('li', [_c('router-link', {\n\t attrs: {\n\t \"to\": \"/main/all\"\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.twkn\")) + \"\\n \")])], 1)])])])\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 526 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"who-to-follow-panel\"\n\t }, [_c('div', {\n\t staticClass: \"panel panel-default base01-background\"\n\t }, [_vm._m(0), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-body who-to-follow\"\n\t }, [_c('p', [_c('img', {\n\t attrs: {\n\t \"src\": _vm.img1\n\t }\n\t }), _vm._v(\" \"), _c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.id1\n\t }\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.name1))]), _c('br'), _vm._v(\" \"), _c('img', {\n\t attrs: {\n\t \"src\": _vm.img2\n\t }\n\t }), _vm._v(\" \"), _c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.id2\n\t }\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.name2))]), _c('br'), _vm._v(\" \"), _c('img', {\n\t attrs: {\n\t \"src\": _vm.img3\n\t }\n\t }), _vm._v(\" \"), _c('router-link', {\n\t attrs: {\n\t \"to\": {\n\t name: 'user-profile',\n\t params: {\n\t id: _vm.id3\n\t }\n\t }\n\t }\n\t }, [_vm._v(_vm._s(_vm.name3))]), _c('br'), _vm._v(\" \"), _c('img', {\n\t attrs: {\n\t \"src\": _vm.$store.state.config.logo\n\t }\n\t }), _vm._v(\" \"), _c('a', {\n\t attrs: {\n\t \"href\": _vm.moreUrl,\n\t \"target\": \"_blank\"\n\t }\n\t }, [_vm._v(\"More\")])], 1)])])])\n\t},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"panel-heading timeline-heading base02-background base04\"\n\t }, [_c('div', {\n\t staticClass: \"title\"\n\t }, [_vm._v(\"\\n Who to follow\\n \")])])\n\t}]}\n\n/***/ }),\n/* 527 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"user-panel\"\n\t }, [(_vm.user) ? _c('div', {\n\t staticClass: \"panel panel-default\",\n\t staticStyle: {\n\t \"overflow\": \"visible\"\n\t }\n\t }, [_c('user-card-content', {\n\t attrs: {\n\t \"user\": _vm.user,\n\t \"switcher\": false,\n\t \"hideBio\": true\n\t }\n\t }), _vm._v(\" \"), _c('div', {\n\t staticClass: \"panel-footer\"\n\t }, [(_vm.user) ? _c('post-status-form') : _vm._e()], 1)], 1) : _vm._e(), _vm._v(\" \"), (!_vm.user) ? _c('login-form') : _vm._e()], 1)\n\t},staticRenderFns: []}\n\n/***/ }),\n/* 528 */\n/***/ (function(module, exports) {\n\n\tmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n\t return _c('div', {\n\t staticClass: \"card\"\n\t }, [_c('a', {\n\t attrs: {\n\t \"href\": \"#\"\n\t }\n\t }, [_c('img', {\n\t staticClass: \"avatar\",\n\t attrs: {\n\t \"src\": _vm.user.profile_image_url\n\t },\n\t on: {\n\t \"click\": function($event) {\n\t $event.preventDefault();\n\t _vm.toggleUserExpanded($event)\n\t }\n\t }\n\t })]), _vm._v(\" \"), (_vm.userExpanded) ? _c('div', {\n\t staticClass: \"usercard\"\n\t }, [_c('user-card-content', {\n\t attrs: {\n\t \"user\": _vm.user,\n\t \"switcher\": false\n\t }\n\t })], 1) : _c('div', {\n\t staticClass: \"name-and-screen-name\"\n\t }, [_c('div', {\n\t staticClass: \"user-name\",\n\t attrs: {\n\t \"title\": _vm.user.name\n\t }\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.user.name) + \"\\n \"), (!_vm.userExpanded && _vm.showFollows && _vm.user.follows_you) ? _c('span', {\n\t staticClass: \"follows-you\"\n\t }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.follows_you')) + \"\\n \")]) : _vm._e()]), _vm._v(\" \"), _c('a', {\n\t attrs: {\n\t \"href\": _vm.user.statusnet_profile_url,\n\t \"target\": \"blank\"\n\t }\n\t }, [_c('div', {\n\t staticClass: \"user-screen-name\"\n\t }, [_vm._v(\"@\" + _vm._s(_vm.user.screen_name))])])])])\n\t},staticRenderFns: []}\n\n/***/ })\n]);\n\n\n// WEBPACK FOOTER //\n// static/js/app.13c0bda10eb515cdf8ed.js","import Vue from 'vue'\nimport VueRouter from 'vue-router'\nimport Vuex from 'vuex'\nimport App from './App.vue'\nimport PublicTimeline from './components/public_timeline/public_timeline.vue'\nimport PublicAndExternalTimeline from './components/public_and_external_timeline/public_and_external_timeline.vue'\nimport FriendsTimeline from './components/friends_timeline/friends_timeline.vue'\nimport TagTimeline from './components/tag_timeline/tag_timeline.vue'\nimport ConversationPage from './components/conversation-page/conversation-page.vue'\nimport Mentions from './components/mentions/mentions.vue'\nimport UserProfile from './components/user_profile/user_profile.vue'\nimport Settings from './components/settings/settings.vue'\nimport Registration from './components/registration/registration.vue'\nimport UserSettings from './components/user_settings/user_settings.vue'\n\nimport statusesModule from './modules/statuses.js'\nimport usersModule from './modules/users.js'\nimport apiModule from './modules/api.js'\nimport configModule from './modules/config.js'\nimport chatModule from './modules/chat.js'\n\nimport VueTimeago from 'vue-timeago'\nimport VueI18n from 'vue-i18n'\n\nimport createPersistedState from './lib/persisted_state.js'\n\nimport messages from './i18n/messages.js'\n\nimport VueChatScroll from 'vue-chat-scroll'\n\nconst currentLocale = (window.navigator.language || 'en').split('-')[0]\n\nVue.use(Vuex)\nVue.use(VueRouter)\nVue.use(VueTimeago, {\n locale: currentLocale === 'ja' ? 'ja' : 'en',\n locales: {\n 'en': require('../static/timeago-en.json'),\n 'ja': require('../static/timeago-ja.json')\n }\n})\nVue.use(VueI18n)\nVue.use(VueChatScroll)\n\nconst persistedStateOptions = {\n paths: [\n 'config.hideAttachments',\n 'config.hideAttachmentsInConv',\n 'config.hideNsfw',\n 'config.autoLoad',\n 'config.hoverPreview',\n 'config.streaming',\n 'config.muteWords',\n 'config.customTheme',\n 'users.lastLoginName'\n ]\n}\n\nconst store = new Vuex.Store({\n modules: {\n statuses: statusesModule,\n users: usersModule,\n api: apiModule,\n config: configModule,\n chat: chatModule\n },\n plugins: [createPersistedState(persistedStateOptions)],\n strict: false // Socket modifies itself, let's ignore this for now.\n // strict: process.env.NODE_ENV !== 'production'\n})\n\nconst i18n = new VueI18n({\n locale: currentLocale,\n fallbackLocale: 'en',\n messages\n})\n\nwindow.fetch('/api/statusnet/config.json')\n .then((res) => res.json())\n .then((data) => {\n const {name, closed: registrationClosed, textlimit} = data.site\n\n store.dispatch('setOption', { name: 'name', value: name })\n store.dispatch('setOption', { name: 'registrationOpen', value: (registrationClosed === '0') })\n store.dispatch('setOption', { name: 'textlimit', value: parseInt(textlimit) })\n })\n\nwindow.fetch('/static/config.json')\n .then((res) => res.json())\n .then((data) => {\n const {theme, background, logo, showWhoToFollowPanel, whoToFollowProvider, whoToFollowLink, showInstanceSpecificPanel} = data\n store.dispatch('setOption', { name: 'theme', value: theme })\n store.dispatch('setOption', { name: 'background', value: background })\n store.dispatch('setOption', { name: 'logo', value: logo })\n store.dispatch('setOption', { name: 'showWhoToFollowPanel', value: showWhoToFollowPanel })\n store.dispatch('setOption', { name: 'whoToFollowProvider', value: whoToFollowProvider })\n store.dispatch('setOption', { name: 'whoToFollowLink', value: whoToFollowLink })\n store.dispatch('setOption', { name: 'showInstanceSpecificPanel', value: showInstanceSpecificPanel })\n if (data['chatDisabled']) {\n store.dispatch('disableChat')\n }\n\n const routes = [\n { name: 'root',\n path: '/',\n redirect: to => {\n var redirectRootLogin = data['redirectRootLogin']\n var redirectRootNoLogin = data['redirectRootNoLogin']\n return (store.state.users.currentUser ? redirectRootLogin : redirectRootNoLogin) || '/main/all'\n }},\n { path: '/main/all', component: PublicAndExternalTimeline },\n { path: '/main/public', component: PublicTimeline },\n { path: '/main/friends', component: FriendsTimeline },\n { path: '/tag/:tag', component: TagTimeline },\n { name: 'conversation', path: '/notice/:id', component: ConversationPage, meta: { dontScroll: true } },\n { name: 'user-profile', path: '/users/:id', component: UserProfile },\n { name: 'mentions', path: '/:username/mentions', component: Mentions },\n { name: 'settings', path: '/settings', component: Settings },\n { name: 'registration', path: '/registration', component: Registration },\n { name: 'user-settings', path: '/user-settings', component: UserSettings }\n ]\n\n const router = new VueRouter({\n mode: 'history',\n routes,\n scrollBehavior: (to, from, savedPosition) => {\n if (to.matched.some(m => m.meta.dontScroll)) {\n return false\n }\n return savedPosition || { x: 0, y: 0 }\n }\n })\n\n /* eslint-disable no-new */\n new Vue({\n router,\n store,\n i18n,\n el: '#app',\n render: h => h(App)\n })\n })\n\nwindow.fetch('/static/terms-of-service.html')\n .then((res) => res.text())\n .then((html) => {\n store.dispatch('setOption', { name: 'tos', value: html })\n })\n\nwindow.fetch('/api/pleroma/emoji.json')\n .then(\n (res) => res.json()\n .then(\n (values) => {\n const emoji = Object.keys(values).map((key) => {\n return { shortcode: key, image_url: values[key] }\n })\n store.dispatch('setOption', { name: 'customEmoji', value: emoji })\n store.dispatch('setOption', { name: 'pleromaBackend', value: true })\n },\n (failure) => {\n store.dispatch('setOption', { name: 'pleromaBackend', value: false })\n }\n ),\n (error) => console.log(error)\n )\n\nwindow.fetch('/static/emoji.json')\n .then((res) => res.json())\n .then((values) => {\n const emoji = Object.keys(values).map((key) => {\n return { shortcode: key, image_url: false, 'utf': values[key] }\n })\n store.dispatch('setOption', { name: 'emoji', value: emoji })\n })\n\nwindow.fetch('/instance/panel.html')\n .then((res) => res.text())\n .then((html) => {\n store.dispatch('setOption', { name: 'instanceSpecificPanelContent', value: html })\n })\n\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-0652fc80\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./timeline.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./timeline.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-0652fc80\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./timeline.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/timeline/timeline.vue\n// module id = 28\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-05b840de\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./user_card_content.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./user_card_content.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-05b840de\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./user_card_content.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/user_card_content/user_card_content.vue\n// module id = 43\n// module chunks = 2","/* eslint-env browser */\nconst LOGIN_URL = '/api/account/verify_credentials.json'\nconst FRIENDS_TIMELINE_URL = '/api/statuses/friends_timeline.json'\nconst ALL_FOLLOWING_URL = '/api/qvitter/allfollowing'\nconst PUBLIC_TIMELINE_URL = '/api/statuses/public_timeline.json'\nconst PUBLIC_AND_EXTERNAL_TIMELINE_URL = '/api/statuses/public_and_external_timeline.json'\nconst TAG_TIMELINE_URL = '/api/statusnet/tags/timeline'\nconst FAVORITE_URL = '/api/favorites/create'\nconst UNFAVORITE_URL = '/api/favorites/destroy'\nconst RETWEET_URL = '/api/statuses/retweet'\nconst STATUS_UPDATE_URL = '/api/statuses/update.json'\nconst STATUS_DELETE_URL = '/api/statuses/destroy'\nconst STATUS_URL = '/api/statuses/show'\nconst MEDIA_UPLOAD_URL = '/api/statusnet/media/upload'\nconst CONVERSATION_URL = '/api/statusnet/conversation'\nconst MENTIONS_URL = '/api/statuses/mentions.json'\nconst FOLLOWERS_URL = '/api/statuses/followers.json'\nconst FRIENDS_URL = '/api/statuses/friends.json'\nconst FOLLOWING_URL = '/api/friendships/create.json'\nconst UNFOLLOWING_URL = '/api/friendships/destroy.json'\nconst QVITTER_USER_PREF_URL = '/api/qvitter/set_profile_pref.json'\nconst REGISTRATION_URL = '/api/account/register.json'\nconst AVATAR_UPDATE_URL = '/api/qvitter/update_avatar.json'\nconst BG_UPDATE_URL = '/api/qvitter/update_background_image.json'\nconst BANNER_UPDATE_URL = '/api/account/update_profile_banner.json'\nconst PROFILE_UPDATE_URL = '/api/account/update_profile.json'\nconst EXTERNAL_PROFILE_URL = '/api/externalprofile/show.json'\nconst QVITTER_USER_TIMELINE_URL = '/api/qvitter/statuses/user_timeline.json'\nconst BLOCKING_URL = '/api/blocks/create.json'\nconst UNBLOCKING_URL = '/api/blocks/destroy.json'\nconst USER_URL = '/api/users/show.json'\nconst FOLLOW_IMPORT_URL = '/api/pleroma/follow_import'\nconst DELETE_ACCOUNT_URL = '/api/pleroma/delete_account'\nconst CHANGE_PASSWORD_URL = '/api/pleroma/change_password'\n\nimport { each, map } from 'lodash'\nimport 'whatwg-fetch'\n\nconst oldfetch = window.fetch\n\nlet fetch = (url, options) => {\n options = options || {}\n const baseUrl = ''\n const fullUrl = baseUrl + url\n options.credentials = 'same-origin'\n return oldfetch(fullUrl, options)\n}\n\n// from https://developer.mozilla.org/en-US/docs/Web/API/WindowBase64/Base64_encoding_and_decoding\nlet utoa = (str) => {\n // first we use encodeURIComponent to get percent-encoded UTF-8,\n // then we convert the percent encodings into raw bytes which\n // can be fed into btoa.\n return btoa(encodeURIComponent(str)\n .replace(/%([0-9A-F]{2})/g,\n (match, p1) => { return String.fromCharCode('0x' + p1) }))\n}\n\n// Params\n// cropH\n// cropW\n// cropX\n// cropY\n// img (base 64 encodend data url)\nconst updateAvatar = ({credentials, params}) => {\n let url = AVATAR_UPDATE_URL\n\n const form = new FormData()\n\n each(params, (value, key) => {\n if (value) {\n form.append(key, value)\n }\n })\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'POST',\n body: form\n }).then((data) => data.json())\n}\n\nconst updateBg = ({credentials, params}) => {\n let url = BG_UPDATE_URL\n\n const form = new FormData()\n\n each(params, (value, key) => {\n if (value) {\n form.append(key, value)\n }\n })\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'POST',\n body: form\n }).then((data) => data.json())\n}\n\n// Params\n// height\n// width\n// offset_left\n// offset_top\n// banner (base 64 encodend data url)\nconst updateBanner = ({credentials, params}) => {\n let url = BANNER_UPDATE_URL\n\n const form = new FormData()\n\n each(params, (value, key) => {\n if (value) {\n form.append(key, value)\n }\n })\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'POST',\n body: form\n }).then((data) => data.json())\n}\n\n// Params\n// name\n// url\n// location\n// description\nconst updateProfile = ({credentials, params}) => {\n let url = PROFILE_UPDATE_URL\n\n const form = new FormData()\n\n each(params, (value, key) => {\n if (key === 'description' || /* Always include description, because it might be empty */\n value) {\n form.append(key, value)\n }\n })\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'POST',\n body: form\n }).then((data) => data.json())\n}\n\n// Params needed:\n// nickname\n// email\n// fullname\n// password\n// password_confirm\n//\n// Optional\n// bio\n// homepage\n// location\nconst register = (params) => {\n const form = new FormData()\n\n each(params, (value, key) => {\n if (value) {\n form.append(key, value)\n }\n })\n\n return fetch(REGISTRATION_URL, {\n method: 'POST',\n body: form\n })\n}\n\nconst authHeaders = (user) => {\n if (user && user.username && user.password) {\n return { 'Authorization': `Basic ${utoa(`${user.username}:${user.password}`)}` }\n } else {\n return { }\n }\n}\n\nconst externalProfile = ({profileUrl, credentials}) => {\n let url = `${EXTERNAL_PROFILE_URL}?profileurl=${profileUrl}`\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'GET'\n }).then((data) => data.json())\n}\n\nconst followUser = ({id, credentials}) => {\n let url = `${FOLLOWING_URL}?user_id=${id}`\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'POST'\n }).then((data) => data.json())\n}\n\nconst unfollowUser = ({id, credentials}) => {\n let url = `${UNFOLLOWING_URL}?user_id=${id}`\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'POST'\n }).then((data) => data.json())\n}\n\nconst blockUser = ({id, credentials}) => {\n let url = `${BLOCKING_URL}?user_id=${id}`\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'POST'\n }).then((data) => data.json())\n}\n\nconst unblockUser = ({id, credentials}) => {\n let url = `${UNBLOCKING_URL}?user_id=${id}`\n return fetch(url, {\n headers: authHeaders(credentials),\n method: 'POST'\n }).then((data) => data.json())\n}\n\nconst fetchUser = ({id, credentials}) => {\n let url = `${USER_URL}?user_id=${id}`\n return fetch(url, { headers: authHeaders(credentials) })\n .then((data) => data.json())\n}\n\nconst fetchFriends = ({id, credentials}) => {\n let url = `${FRIENDS_URL}?user_id=${id}`\n return fetch(url, { headers: authHeaders(credentials) })\n .then((data) => data.json())\n}\n\nconst fetchFollowers = ({id, credentials}) => {\n let url = `${FOLLOWERS_URL}?user_id=${id}`\n return fetch(url, { headers: authHeaders(credentials) })\n .then((data) => data.json())\n}\n\nconst fetchAllFollowing = ({username, credentials}) => {\n const url = `${ALL_FOLLOWING_URL}/${username}.json`\n return fetch(url, { headers: authHeaders(credentials) })\n .then((data) => data.json())\n}\n\nconst fetchConversation = ({id, credentials}) => {\n let url = `${CONVERSATION_URL}/${id}.json?count=100`\n return fetch(url, { headers: authHeaders(credentials) })\n .then((data) => data.json())\n}\n\nconst fetchStatus = ({id, credentials}) => {\n let url = `${STATUS_URL}/${id}.json`\n return fetch(url, { headers: authHeaders(credentials) })\n .then((data) => data.json())\n}\n\nconst setUserMute = ({id, credentials, muted = true}) => {\n const form = new FormData()\n\n const muteInteger = muted ? 1 : 0\n\n form.append('namespace', 'qvitter')\n form.append('data', muteInteger)\n form.append('topic', `mute:${id}`)\n\n return fetch(QVITTER_USER_PREF_URL, {\n method: 'POST',\n headers: authHeaders(credentials),\n body: form\n })\n}\n\nconst fetchTimeline = ({timeline, credentials, since = false, until = false, userId = false, tag = false}) => {\n const timelineUrls = {\n public: PUBLIC_TIMELINE_URL,\n friends: FRIENDS_TIMELINE_URL,\n mentions: MENTIONS_URL,\n 'publicAndExternal': PUBLIC_AND_EXTERNAL_TIMELINE_URL,\n user: QVITTER_USER_TIMELINE_URL,\n tag: TAG_TIMELINE_URL\n }\n\n let url = timelineUrls[timeline]\n\n let params = []\n\n if (since) {\n params.push(['since_id', since])\n }\n if (until) {\n params.push(['max_id', until])\n }\n if (userId) {\n params.push(['user_id', userId])\n }\n if (tag) {\n url += `/${tag}.json`\n }\n\n params.push(['count', 20])\n\n const queryString = map(params, (param) => `${param[0]}=${param[1]}`).join('&')\n url += `?${queryString}`\n\n return fetch(url, { headers: authHeaders(credentials) }).then((data) => data.json())\n}\n\nconst verifyCredentials = (user) => {\n return fetch(LOGIN_URL, {\n method: 'POST',\n headers: authHeaders(user)\n })\n}\n\nconst favorite = ({ id, credentials }) => {\n return fetch(`${FAVORITE_URL}/${id}.json`, {\n headers: authHeaders(credentials),\n method: 'POST'\n })\n}\n\nconst unfavorite = ({ id, credentials }) => {\n return fetch(`${UNFAVORITE_URL}/${id}.json`, {\n headers: authHeaders(credentials),\n method: 'POST'\n })\n}\n\nconst retweet = ({ id, credentials }) => {\n return fetch(`${RETWEET_URL}/${id}.json`, {\n headers: authHeaders(credentials),\n method: 'POST'\n })\n}\n\nconst postStatus = ({credentials, status, mediaIds, inReplyToStatusId}) => {\n const idsText = mediaIds.join(',')\n const form = new FormData()\n\n form.append('status', status)\n form.append('source', 'Pleroma FE')\n form.append('media_ids', idsText)\n if (inReplyToStatusId) {\n form.append('in_reply_to_status_id', inReplyToStatusId)\n }\n\n return fetch(STATUS_UPDATE_URL, {\n body: form,\n method: 'POST',\n headers: authHeaders(credentials)\n })\n}\n\nconst deleteStatus = ({ id, credentials }) => {\n return fetch(`${STATUS_DELETE_URL}/${id}.json`, {\n headers: authHeaders(credentials),\n method: 'POST'\n })\n}\n\nconst uploadMedia = ({formData, credentials}) => {\n return fetch(MEDIA_UPLOAD_URL, {\n body: formData,\n method: 'POST',\n headers: authHeaders(credentials)\n })\n .then((response) => response.text())\n .then((text) => (new DOMParser()).parseFromString(text, 'application/xml'))\n}\n\nconst followImport = ({params, credentials}) => {\n return fetch(FOLLOW_IMPORT_URL, {\n body: params,\n method: 'POST',\n headers: authHeaders(credentials)\n })\n .then((response) => response.ok)\n}\n\nconst deleteAccount = ({credentials, password}) => {\n const form = new FormData()\n\n form.append('password', password)\n\n return fetch(DELETE_ACCOUNT_URL, {\n body: form,\n method: 'POST',\n headers: authHeaders(credentials)\n })\n .then((response) => response.json())\n}\n\nconst changePassword = ({credentials, password, newPassword, newPasswordConfirmation}) => {\n const form = new FormData()\n\n form.append('password', password)\n form.append('new_password', newPassword)\n form.append('new_password_confirmation', newPasswordConfirmation)\n\n return fetch(CHANGE_PASSWORD_URL, {\n body: form,\n method: 'POST',\n headers: authHeaders(credentials)\n })\n .then((response) => response.json())\n}\n\nconst fetchMutes = ({credentials}) => {\n const url = '/api/qvitter/mutes.json'\n\n return fetch(url, {\n headers: authHeaders(credentials)\n }).then((data) => data.json())\n}\n\nconst apiService = {\n verifyCredentials,\n fetchTimeline,\n fetchConversation,\n fetchStatus,\n fetchFriends,\n fetchFollowers,\n followUser,\n unfollowUser,\n blockUser,\n unblockUser,\n fetchUser,\n favorite,\n unfavorite,\n retweet,\n postStatus,\n deleteStatus,\n uploadMedia,\n fetchAllFollowing,\n setUserMute,\n fetchMutes,\n register,\n updateAvatar,\n updateBg,\n updateProfile,\n updateBanner,\n externalProfile,\n followImport,\n deleteAccount,\n changePassword\n}\n\nexport default apiService\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/api/api.service.js","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-769e38a0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./status.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./status.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-769e38a0\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./status.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/status/status.vue\n// module id = 64\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-6ecb31e4\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./still-image.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./still-image.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-6ecb31e4\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./still-image.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/still-image/still-image.vue\n// module id = 65\n// module chunks = 2","import { map } from 'lodash'\n\nconst rgb2hex = (r, g, b) => {\n [r, g, b] = map([r, g, b], (val) => {\n val = Math.ceil(val)\n val = val < 0 ? 0 : val\n val = val > 255 ? 255 : val\n return val\n })\n return `#${((1 << 24) + (r << 16) + (g << 8) + b).toString(16).slice(1)}`\n}\n\nconst hex2rgb = (hex) => {\n const result = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex)\n return result ? {\n r: parseInt(result[1], 16),\n g: parseInt(result[2], 16),\n b: parseInt(result[3], 16)\n } : null\n}\n\nconst rgbstr2hex = (rgb) => {\n if (rgb[0] === '#') {\n return rgb\n }\n rgb = rgb.match(/\\d+/g)\n return `#${((Number(rgb[0]) << 16) + (Number(rgb[1]) << 8) + Number(rgb[2])).toString(16)}`\n}\n\nexport {\n rgb2hex,\n hex2rgb,\n rgbstr2hex\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/color_convert/color_convert.js","import { includes, remove, slice, sortBy, toInteger, each, find, flatten, maxBy, minBy, merge, last, isArray } from 'lodash'\nimport apiService from '../services/api/api.service.js'\n// import parse from '../services/status_parser/status_parser.js'\n\nconst emptyTl = () => ({\n statuses: [],\n statusesObject: {},\n faves: [],\n visibleStatuses: [],\n visibleStatusesObject: {},\n newStatusCount: 0,\n maxId: 0,\n minVisibleId: 0,\n loading: false,\n followers: [],\n friends: [],\n viewing: 'statuses',\n flushMarker: 0\n})\n\nexport const defaultState = {\n allStatuses: [],\n allStatusesObject: {},\n maxId: 0,\n notifications: [],\n favorites: new Set(),\n error: false,\n timelines: {\n mentions: emptyTl(),\n public: emptyTl(),\n user: emptyTl(),\n publicAndExternal: emptyTl(),\n friends: emptyTl(),\n tag: emptyTl()\n }\n}\n\nconst isNsfw = (status) => {\n const nsfwRegex = /#nsfw/i\n return includes(status.tags, 'nsfw') || !!status.text.match(nsfwRegex)\n}\n\nexport const prepareStatus = (status) => {\n // Parse nsfw tags\n if (status.nsfw === undefined) {\n status.nsfw = isNsfw(status)\n if (status.retweeted_status) {\n status.nsfw = status.retweeted_status.nsfw\n }\n }\n\n // Set deleted flag\n status.deleted = false\n\n // To make the array reactive\n status.attachments = status.attachments || []\n\n return status\n}\n\nexport const statusType = (status) => {\n if (status.is_post_verb) {\n return 'status'\n }\n\n if (status.retweeted_status) {\n return 'retweet'\n }\n\n if ((typeof status.uri === 'string' && status.uri.match(/(fave|objectType=Favourite)/)) ||\n (typeof status.text === 'string' && status.text.match(/favorited/))) {\n return 'favorite'\n }\n\n if (status.text.match(/deleted notice {{tag/) || status.qvitter_delete_notice) {\n return 'deletion'\n }\n\n // TODO change to status.activity_type === 'follow' when gs supports it\n if (status.text.match(/started following/)) {\n return 'follow'\n }\n\n return 'unknown'\n}\n\nexport const findMaxId = (...args) => {\n return (maxBy(flatten(args), 'id') || {}).id\n}\n\nconst mergeOrAdd = (arr, obj, item) => {\n const oldItem = obj[item.id]\n\n if (oldItem) {\n // We already have this, so only merge the new info.\n merge(oldItem, item)\n // Reactivity fix.\n oldItem.attachments.splice(oldItem.attachments.length)\n return {item: oldItem, new: false}\n } else {\n // This is a new item, prepare it\n prepareStatus(item)\n arr.push(item)\n obj[item.id] = item\n return {item, new: true}\n }\n}\n\nconst sortTimeline = (timeline) => {\n timeline.visibleStatuses = sortBy(timeline.visibleStatuses, ({id}) => -id)\n timeline.statuses = sortBy(timeline.statuses, ({id}) => -id)\n timeline.minVisibleId = (last(timeline.visibleStatuses) || {}).id\n return timeline\n}\n\nconst addNewStatuses = (state, { statuses, showImmediately = false, timeline, user = {}, noIdUpdate = false }) => {\n // Sanity check\n if (!isArray(statuses)) {\n return false\n }\n\n const allStatuses = state.allStatuses\n const allStatusesObject = state.allStatusesObject\n const timelineObject = state.timelines[timeline]\n\n const maxNew = statuses.length > 0 ? maxBy(statuses, 'id').id : 0\n const older = timeline && maxNew < timelineObject.maxId\n\n if (timeline && !noIdUpdate && statuses.length > 0 && !older) {\n timelineObject.maxId = maxNew\n }\n\n const addStatus = (status, showImmediately, addToTimeline = true) => {\n const result = mergeOrAdd(allStatuses, allStatusesObject, status)\n status = result.item\n\n if (result.new) {\n if (statusType(status) === 'retweet' && status.retweeted_status.user.id === user.id) {\n addNotification({ type: 'repeat', status: status, action: status })\n }\n\n // We are mentioned in a post\n if (statusType(status) === 'status' && find(status.attentions, { id: user.id })) {\n const mentions = state.timelines.mentions\n\n // Add the mention to the mentions timeline\n if (timelineObject !== mentions) {\n mergeOrAdd(mentions.statuses, mentions.statusesObject, status)\n mentions.newStatusCount += 1\n\n sortTimeline(mentions)\n }\n // Don't add notification for self-mention\n if (status.user.id !== user.id) {\n addNotification({ type: 'mention', status, action: status })\n }\n }\n }\n\n // Decide if we should treat the status as new for this timeline.\n let resultForCurrentTimeline\n // Some statuses should only be added to the global status repository.\n if (timeline && addToTimeline) {\n resultForCurrentTimeline = mergeOrAdd(timelineObject.statuses, timelineObject.statusesObject, status)\n }\n\n if (timeline && showImmediately) {\n // Add it directly to the visibleStatuses, don't change\n // newStatusCount\n mergeOrAdd(timelineObject.visibleStatuses, timelineObject.visibleStatusesObject, status)\n } else if (timeline && addToTimeline && resultForCurrentTimeline.new) {\n // Just change newStatuscount\n timelineObject.newStatusCount += 1\n }\n\n return status\n }\n\n const addNotification = ({type, status, action}) => {\n // Only add a new notification if we don't have one for the same action\n if (!find(state.notifications, (oldNotification) => oldNotification.action.id === action.id)) {\n state.notifications.push({ type, status, action, seen: false })\n\n if ('Notification' in window && window.Notification.permission === 'granted') {\n const title = action.user.name\n const result = {}\n result.icon = action.user.profile_image_url\n result.body = action.text // there's a problem that it doesn't put a space before links tho\n\n // Shows first attached non-nsfw image, if any. Should add configuration for this somehow...\n if (action.attachments && action.attachments.length > 0 && !action.nsfw &&\n action.attachments[0].mimetype.startsWith('image/')) {\n result.image = action.attachments[0].url\n }\n\n let notification = new window.Notification(title, result)\n\n // Chrome is known for not closing notifications automatically\n // according to MDN, anyway.\n setTimeout(notification.close.bind(notification), 5000)\n }\n }\n }\n\n const favoriteStatus = (favorite) => {\n const status = find(allStatuses, { id: toInteger(favorite.in_reply_to_status_id) })\n if (status) {\n status.fave_num += 1\n\n // This is our favorite, so the relevant bit.\n if (favorite.user.id === user.id) {\n status.favorited = true\n }\n\n // Add a notification if the user's status is favorited\n if (status.user.id === user.id) {\n addNotification({type: 'favorite', status, action: favorite})\n }\n }\n return status\n }\n\n const processors = {\n 'status': (status) => {\n addStatus(status, showImmediately)\n },\n 'retweet': (status) => {\n // RetweetedStatuses are never shown immediately\n const retweetedStatus = addStatus(status.retweeted_status, false, false)\n\n let retweet\n // If the retweeted status is already there, don't add the retweet\n // to the timeline.\n if (timeline && find(timelineObject.statuses, (s) => {\n if (s.retweeted_status) {\n return s.id === retweetedStatus.id || s.retweeted_status.id === retweetedStatus.id\n } else {\n return s.id === retweetedStatus.id\n }\n })) {\n // Already have it visible (either as the original or another RT), don't add to timeline, don't show.\n retweet = addStatus(status, false, false)\n } else {\n retweet = addStatus(status, showImmediately)\n }\n\n retweet.retweeted_status = retweetedStatus\n },\n 'favorite': (favorite) => {\n // Only update if this is a new favorite.\n if (!state.favorites.has(favorite.id)) {\n state.favorites.add(favorite.id)\n favoriteStatus(favorite)\n }\n },\n 'follow': (status) => {\n let re = new RegExp(`started following ${user.name} \\\\(${user.statusnet_profile_url}\\\\)`)\n let repleroma = new RegExp(`started following ${user.screen_name}$`)\n if (status.text.match(re) || status.text.match(repleroma)) {\n addNotification({ type: 'follow', status: status, action: status })\n }\n },\n 'deletion': (deletion) => {\n const uri = deletion.uri\n\n // Remove possible notification\n const status = find(allStatuses, {uri})\n if (!status) {\n return\n }\n\n remove(state.notifications, ({action: {id}}) => id === status.id)\n\n remove(allStatuses, { uri })\n if (timeline) {\n remove(timelineObject.statuses, { uri })\n remove(timelineObject.visibleStatuses, { uri })\n }\n },\n 'default': (unknown) => {\n console.log('unknown status type')\n console.log(unknown)\n }\n }\n\n each(statuses, (status) => {\n const type = statusType(status)\n const processor = processors[type] || processors['default']\n processor(status)\n })\n\n // Keep the visible statuses sorted\n if (timeline) {\n sortTimeline(timelineObject)\n if ((older || timelineObject.minVisibleId <= 0) && statuses.length > 0) {\n timelineObject.minVisibleId = minBy(statuses, 'id').id\n }\n }\n}\n\nexport const mutations = {\n addNewStatuses,\n showNewStatuses (state, { timeline }) {\n const oldTimeline = (state.timelines[timeline])\n\n oldTimeline.newStatusCount = 0\n oldTimeline.visibleStatuses = slice(oldTimeline.statuses, 0, 50)\n oldTimeline.minVisibleId = last(oldTimeline.visibleStatuses).id\n oldTimeline.visibleStatusesObject = {}\n each(oldTimeline.visibleStatuses, (status) => { oldTimeline.visibleStatusesObject[status.id] = status })\n },\n clearTimeline (state, { timeline }) {\n state.timelines[timeline] = emptyTl()\n },\n setFavorited (state, { status, value }) {\n const newStatus = state.allStatusesObject[status.id]\n newStatus.favorited = value\n },\n setRetweeted (state, { status, value }) {\n const newStatus = state.allStatusesObject[status.id]\n newStatus.repeated = value\n },\n setDeleted (state, { status }) {\n const newStatus = state.allStatusesObject[status.id]\n newStatus.deleted = true\n },\n setLoading (state, { timeline, value }) {\n state.timelines[timeline].loading = value\n },\n setNsfw (state, { id, nsfw }) {\n const newStatus = state.allStatusesObject[id]\n newStatus.nsfw = nsfw\n },\n setError (state, { value }) {\n state.error = value\n },\n setProfileView (state, { v }) {\n // load followers / friends only when needed\n state.timelines['user'].viewing = v\n },\n addFriends (state, { friends }) {\n state.timelines['user'].friends = friends\n },\n addFollowers (state, { followers }) {\n state.timelines['user'].followers = followers\n },\n markNotificationsAsSeen (state, notifications) {\n each(notifications, (notification) => {\n notification.seen = true\n })\n },\n queueFlush (state, { timeline, id }) {\n state.timelines[timeline].flushMarker = id\n }\n}\n\nconst statuses = {\n state: defaultState,\n actions: {\n addNewStatuses ({ rootState, commit }, { statuses, showImmediately = false, timeline = false, noIdUpdate = false }) {\n commit('addNewStatuses', { statuses, showImmediately, timeline, noIdUpdate, user: rootState.users.currentUser })\n },\n setError ({ rootState, commit }, { value }) {\n commit('setError', { value })\n },\n addFriends ({ rootState, commit }, { friends }) {\n commit('addFriends', { friends })\n },\n addFollowers ({ rootState, commit }, { followers }) {\n commit('addFollowers', { followers })\n },\n deleteStatus ({ rootState, commit }, status) {\n commit('setDeleted', { status })\n apiService.deleteStatus({ id: status.id, credentials: rootState.users.currentUser.credentials })\n },\n favorite ({ rootState, commit }, status) {\n // Optimistic favoriting...\n commit('setFavorited', { status, value: true })\n apiService.favorite({ id: status.id, credentials: rootState.users.currentUser.credentials })\n },\n unfavorite ({ rootState, commit }, status) {\n // Optimistic favoriting...\n commit('setFavorited', { status, value: false })\n apiService.unfavorite({ id: status.id, credentials: rootState.users.currentUser.credentials })\n },\n retweet ({ rootState, commit }, status) {\n // Optimistic retweeting...\n commit('setRetweeted', { status, value: true })\n apiService.retweet({ id: status.id, credentials: rootState.users.currentUser.credentials })\n },\n queueFlush ({ rootState, commit }, { timeline, id }) {\n commit('queueFlush', { timeline, id })\n }\n },\n mutations\n}\n\nexport default statuses\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/statuses.js","import apiService from '../api/api.service.js'\nimport timelineFetcherService from '../timeline_fetcher/timeline_fetcher.service.js'\n\nconst backendInteractorService = (credentials) => {\n const fetchStatus = ({id}) => {\n return apiService.fetchStatus({id, credentials})\n }\n\n const fetchConversation = ({id}) => {\n return apiService.fetchConversation({id, credentials})\n }\n\n const fetchFriends = ({id}) => {\n return apiService.fetchFriends({id, credentials})\n }\n\n const fetchFollowers = ({id}) => {\n return apiService.fetchFollowers({id, credentials})\n }\n\n const fetchAllFollowing = ({username}) => {\n return apiService.fetchAllFollowing({username, credentials})\n }\n\n const fetchUser = ({id}) => {\n return apiService.fetchUser({id, credentials})\n }\n\n const followUser = (id) => {\n return apiService.followUser({credentials, id})\n }\n\n const unfollowUser = (id) => {\n return apiService.unfollowUser({credentials, id})\n }\n\n const blockUser = (id) => {\n return apiService.blockUser({credentials, id})\n }\n\n const unblockUser = (id) => {\n return apiService.unblockUser({credentials, id})\n }\n\n const startFetching = ({timeline, store, userId = false}) => {\n return timelineFetcherService.startFetching({timeline, store, credentials, userId})\n }\n\n const setUserMute = ({id, muted = true}) => {\n return apiService.setUserMute({id, muted, credentials})\n }\n\n const fetchMutes = () => apiService.fetchMutes({credentials})\n\n const register = (params) => apiService.register(params)\n const updateAvatar = ({params}) => apiService.updateAvatar({credentials, params})\n const updateBg = ({params}) => apiService.updateBg({credentials, params})\n const updateBanner = ({params}) => apiService.updateBanner({credentials, params})\n const updateProfile = ({params}) => apiService.updateProfile({credentials, params})\n\n const externalProfile = (profileUrl) => apiService.externalProfile({profileUrl, credentials})\n const followImport = ({params}) => apiService.followImport({params, credentials})\n\n const deleteAccount = ({password}) => apiService.deleteAccount({credentials, password})\n const changePassword = ({password, newPassword, newPasswordConfirmation}) => apiService.changePassword({credentials, password, newPassword, newPasswordConfirmation})\n\n const backendInteractorServiceInstance = {\n fetchStatus,\n fetchConversation,\n fetchFriends,\n fetchFollowers,\n followUser,\n unfollowUser,\n blockUser,\n unblockUser,\n fetchUser,\n fetchAllFollowing,\n verifyCredentials: apiService.verifyCredentials,\n startFetching,\n setUserMute,\n fetchMutes,\n register,\n updateAvatar,\n updateBg,\n updateBanner,\n updateProfile,\n externalProfile,\n followImport,\n deleteAccount,\n changePassword\n }\n\n return backendInteractorServiceInstance\n}\n\nexport default backendInteractorService\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/backend_interactor_service/backend_interactor_service.js","const fileType = (typeString) => {\n let type = 'unknown'\n\n if (typeString.match(/text\\/html/)) {\n type = 'html'\n }\n\n if (typeString.match(/image/)) {\n type = 'image'\n }\n\n if (typeString.match(/video\\/(webm|mp4)/)) {\n type = 'video'\n }\n\n if (typeString.match(/audio|ogg/)) {\n type = 'audio'\n }\n\n return type\n}\n\nconst fileTypeService = {\n fileType\n}\n\nexport default fileTypeService\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/file_type/file_type.service.js","import { map } from 'lodash'\nimport apiService from '../api/api.service.js'\n\nconst postStatus = ({ store, status, media = [], inReplyToStatusId = undefined }) => {\n const mediaIds = map(media, 'id')\n\n return apiService.postStatus({credentials: store.state.users.currentUser.credentials, status, mediaIds, inReplyToStatusId})\n .then((data) => data.json())\n .then((data) => {\n if (!data.error) {\n store.dispatch('addNewStatuses', {\n statuses: [data],\n timeline: 'friends',\n showImmediately: true,\n noIdUpdate: true // To prevent missing notices on next pull.\n })\n }\n return data\n })\n .catch((err) => {\n return {\n error: err.message\n }\n })\n}\n\nconst uploadMedia = ({ store, formData }) => {\n const credentials = store.state.users.currentUser.credentials\n\n return apiService.uploadMedia({ credentials, formData }).then((xml) => {\n // Firefox and Chrome treat method differently...\n let link = xml.getElementsByTagName('link')\n\n if (link.length === 0) {\n link = xml.getElementsByTagName('atom:link')\n }\n\n link = link[0]\n\n const mediaData = {\n id: xml.getElementsByTagName('media_id')[0].textContent,\n url: xml.getElementsByTagName('media_url')[0].textContent,\n image: link.getAttribute('href'),\n mimetype: link.getAttribute('type')\n }\n\n return mediaData\n })\n}\n\nconst statusPosterService = {\n postStatus,\n uploadMedia\n}\n\nexport default statusPosterService\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/status_poster/status_poster.service.js","import { camelCase } from 'lodash'\n\nimport apiService from '../api/api.service.js'\n\nconst update = ({store, statuses, timeline, showImmediately}) => {\n const ccTimeline = camelCase(timeline)\n\n store.dispatch('setError', { value: false })\n\n store.dispatch('addNewStatuses', {\n timeline: ccTimeline,\n statuses,\n showImmediately\n })\n}\n\nconst fetchAndUpdate = ({store, credentials, timeline = 'friends', older = false, showImmediately = false, userId = false, tag = false}) => {\n const args = { timeline, credentials }\n const rootState = store.rootState || store.state\n const timelineData = rootState.statuses.timelines[camelCase(timeline)]\n\n if (older) {\n args['until'] = timelineData.minVisibleId\n } else {\n args['since'] = timelineData.maxId\n }\n\n args['userId'] = userId\n args['tag'] = tag\n\n return apiService.fetchTimeline(args)\n .then((statuses) => {\n if (!older && statuses.length >= 20 && !timelineData.loading) {\n store.dispatch('queueFlush', { timeline: timeline, id: timelineData.maxId })\n }\n update({store, statuses, timeline, showImmediately})\n }, () => store.dispatch('setError', { value: true }))\n}\n\nconst startFetching = ({timeline = 'friends', credentials, store, userId = false, tag = false}) => {\n const rootState = store.rootState || store.state\n const timelineData = rootState.statuses.timelines[camelCase(timeline)]\n const showImmediately = timelineData.visibleStatuses.length === 0\n fetchAndUpdate({timeline, credentials, store, showImmediately, userId, tag})\n const boundFetchAndUpdate = () => fetchAndUpdate({ timeline, credentials, store, userId, tag })\n return setInterval(boundFetchAndUpdate, 10000)\n}\nconst timelineFetcher = {\n fetchAndUpdate,\n startFetching\n}\n\nexport default timelineFetcher\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/timeline_fetcher/timeline_fetcher.service.js","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./conversation.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-12838600\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./conversation.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/conversation/conversation.vue\n// module id = 165\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-11ada5e0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./post_status_form.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./post_status_form.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-11ada5e0\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./post_status_form.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/post_status_form/post_status_form.vue\n// module id = 166\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-ae8f5000\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./style_switcher.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./style_switcher.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-ae8f5000\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./style_switcher.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/style_switcher/style_switcher.vue\n// module id = 167\n// module chunks = 2","const de = {\n chat: {\n title: 'Chat'\n },\n nav: {\n chat: 'Lokaler Chat',\n timeline: 'Zeitleiste',\n mentions: 'Erwähnungen',\n public_tl: 'Lokale Zeitleiste',\n twkn: 'Das gesamte Netzwerk'\n },\n user_card: {\n follows_you: 'Folgt dir!',\n following: 'Folgst du!',\n follow: 'Folgen',\n blocked: 'Blockiert!',\n block: 'Blockieren',\n statuses: 'Beiträge',\n mute: 'Stummschalten',\n muted: 'Stummgeschaltet',\n followers: 'Folgende',\n followees: 'Folgt',\n per_day: 'pro Tag',\n remote_follow: 'Remote Follow'\n },\n timeline: {\n show_new: 'Zeige Neuere',\n error_fetching: 'Fehler beim Laden',\n up_to_date: 'Aktuell',\n load_older: 'Lade ältere Beiträge',\n conversation: 'Unterhaltung',\n collapse: 'Einklappen',\n repeated: 'wiederholte'\n },\n settings: {\n user_settings: 'Benutzereinstellungen',\n name_bio: 'Name & Bio',\n name: 'Name',\n bio: 'Bio',\n avatar: 'Avatar',\n current_avatar: 'Dein derzeitiger Avatar',\n set_new_avatar: 'Setze neuen Avatar',\n profile_banner: 'Profil Banner',\n current_profile_banner: 'Dein derzeitiger Profil Banner',\n set_new_profile_banner: 'Setze neuen Profil Banner',\n profile_background: 'Profil Hintergrund',\n set_new_profile_background: 'Setze neuen Profil Hintergrund',\n settings: 'Einstellungen',\n theme: 'Farbschema',\n presets: 'Voreinstellungen',\n theme_help: 'Benutze HTML Farbcodes (#rrggbb) um dein Farbschema anzupassen.',\n background: 'Hintergrund',\n foreground: 'Vordergrund',\n text: 'Text',\n links: 'Links',\n cBlue: 'Blau (Antworten, Folgt dir)',\n cRed: 'Rot (Abbrechen)',\n cOrange: 'Orange (Favorisieren)',\n cGreen: 'Grün (Retweet)',\n btnRadius: 'Buttons',\n panelRadius: 'Panel',\n avatarRadius: 'Avatare',\n avatarAltRadius: 'Avatare (Benachrichtigungen)',\n tooltipRadius: 'Tooltips/Warnungen',\n attachmentRadius: 'Anhänge',\n filtering: 'Filter',\n filtering_explanation: 'Alle Beiträge die diese Wörter enthalten werden ausgeblendet. Ein Wort pro Zeile.',\n attachments: 'Anhänge',\n hide_attachments_in_tl: 'Anhänge in der Zeitleiste ausblenden',\n hide_attachments_in_convo: 'Anhänge in Unterhaltungen ausblenden',\n nsfw_clickthrough: 'Aktiviere ausblendbares Overlay für Anhänge, die als NSFW markiert sind',\n stop_gifs: 'Play-on-hover GIFs',\n autoload: 'Aktiviere automatisches Laden von älteren Beiträgen beim scrollen',\n streaming: 'Aktiviere automatisches Laden (Streaming) von neuen Beiträgen',\n reply_link_preview: 'Aktiviere reply-link Vorschau bei Maus-Hover',\n follow_import: 'Folgeliste importieren',\n import_followers_from_a_csv_file: 'Importiere Kontakte, denen du folgen möchtest, aus einer CSV-Datei',\n follows_imported: 'Folgeliste importiert! Die Bearbeitung kann eine Zeit lang dauern.',\n follow_import_error: 'Fehler beim importieren der Folgeliste'\n },\n notifications: {\n notifications: 'Benachrichtigungen',\n read: 'Gelesen!',\n followed_you: 'folgt dir',\n favorited_you: 'favorisierte deine Nachricht',\n repeated_you: 'wiederholte deine Nachricht'\n },\n login: {\n login: 'Anmelden',\n username: 'Benutzername',\n password: 'Passwort',\n register: 'Registrieren',\n logout: 'Abmelden'\n },\n registration: {\n registration: 'Registrierung',\n fullname: 'Angezeigter Name',\n email: 'Email',\n bio: 'Bio',\n password_confirm: 'Passwort bestätigen'\n },\n post_status: {\n posting: 'Veröffentlichen',\n default: 'Sitze gerade im Hofbräuhaus.'\n },\n finder: {\n find_user: 'Finde Benutzer',\n error_fetching_user: 'Fehler beim Suchen des Benutzers'\n },\n general: {\n submit: 'Absenden',\n apply: 'Anwenden'\n },\n user_profile: {\n timeline_title: 'Beiträge'\n }\n}\n\nconst fi = {\n nav: {\n timeline: 'Aikajana',\n mentions: 'Maininnat',\n public_tl: 'Julkinen Aikajana',\n twkn: 'Koko Tunnettu Verkosto'\n },\n user_card: {\n follows_you: 'Seuraa sinua!',\n following: 'Seuraat!',\n follow: 'Seuraa',\n statuses: 'Viestit',\n mute: 'Hiljennä',\n muted: 'Hiljennetty',\n followers: 'Seuraajat',\n followees: 'Seuraa',\n per_day: 'päivässä'\n },\n timeline: {\n show_new: 'Näytä uudet',\n error_fetching: 'Virhe ladatessa viestejä',\n up_to_date: 'Ajantasalla',\n load_older: 'Lataa vanhempia viestejä',\n conversation: 'Keskustelu',\n collapse: 'Sulje',\n repeated: 'toisti'\n },\n settings: {\n user_settings: 'Käyttäjän asetukset',\n name_bio: 'Nimi ja kuvaus',\n name: 'Nimi',\n bio: 'Kuvaus',\n avatar: 'Profiilikuva',\n current_avatar: 'Nykyinen profiilikuvasi',\n set_new_avatar: 'Aseta uusi profiilikuva',\n profile_banner: 'Juliste',\n current_profile_banner: 'Nykyinen julisteesi',\n set_new_profile_banner: 'Aseta uusi juliste',\n profile_background: 'Taustakuva',\n set_new_profile_background: 'Aseta uusi taustakuva',\n settings: 'Asetukset',\n theme: 'Teema',\n presets: 'Valmiit teemat',\n theme_help: 'Käytä heksadesimaalivärejä muokataksesi väriteemaasi.',\n background: 'Tausta',\n foreground: 'Korostus',\n text: 'Teksti',\n links: 'Linkit',\n filtering: 'Suodatus',\n filtering_explanation: 'Kaikki viestit, jotka sisältävät näitä sanoja, suodatetaan. Yksi sana per rivi.',\n attachments: 'Liitteet',\n hide_attachments_in_tl: 'Piilota liitteet aikajanalla',\n hide_attachments_in_convo: 'Piilota liitteet keskusteluissa',\n nsfw_clickthrough: 'Piilota NSFW liitteet klikkauksen taakse.',\n autoload: 'Lataa vanhempia viestejä automaattisesti ruudun pohjalla',\n streaming: 'Näytä uudet viestit automaattisesti ollessasi ruudun huipulla',\n reply_link_preview: 'Keskusteluiden vastauslinkkien esikatselu'\n },\n notifications: {\n notifications: 'Ilmoitukset',\n read: 'Lue!',\n followed_you: 'seuraa sinua',\n favorited_you: 'tykkäsi viestistäsi',\n repeated_you: 'toisti viestisi'\n },\n login: {\n login: 'Kirjaudu sisään',\n username: 'Käyttäjänimi',\n password: 'Salasana',\n register: 'Rekisteröidy',\n logout: 'Kirjaudu ulos'\n },\n registration: {\n registration: 'Rekisteröityminen',\n fullname: 'Koko nimi',\n email: 'Sähköposti',\n bio: 'Kuvaus',\n password_confirm: 'Salasanan vahvistaminen'\n },\n post_status: {\n posting: 'Lähetetään',\n default: 'Tulin juuri saunasta.'\n },\n finder: {\n find_user: 'Hae käyttäjä',\n error_fetching_user: 'Virhe hakiessa käyttäjää'\n },\n general: {\n submit: 'Lähetä',\n apply: 'Aseta'\n }\n}\n\nconst en = {\n chat: {\n title: 'Chat'\n },\n nav: {\n chat: 'Local Chat',\n timeline: 'Timeline',\n mentions: 'Mentions',\n public_tl: 'Public Timeline',\n twkn: 'The Whole Known Network'\n },\n user_card: {\n follows_you: 'Follows you!',\n following: 'Following!',\n follow: 'Follow',\n blocked: 'Blocked!',\n block: 'Block',\n statuses: 'Statuses',\n mute: 'Mute',\n muted: 'Muted',\n followers: 'Followers',\n followees: 'Following',\n per_day: 'per day',\n remote_follow: 'Remote follow'\n },\n timeline: {\n show_new: 'Show new',\n error_fetching: 'Error fetching updates',\n up_to_date: 'Up-to-date',\n load_older: 'Load older statuses',\n conversation: 'Conversation',\n collapse: 'Collapse',\n repeated: 'repeated'\n },\n settings: {\n user_settings: 'User Settings',\n name_bio: 'Name & Bio',\n name: 'Name',\n bio: 'Bio',\n avatar: 'Avatar',\n current_avatar: 'Your current avatar',\n set_new_avatar: 'Set new avatar',\n profile_banner: 'Profile Banner',\n current_profile_banner: 'Your current profile banner',\n set_new_profile_banner: 'Set new profile banner',\n profile_background: 'Profile Background',\n set_new_profile_background: 'Set new profile background',\n settings: 'Settings',\n theme: 'Theme',\n presets: 'Presets',\n theme_help: 'Use hex color codes (#rrggbb) to customize your color theme.',\n radii_help: 'Set up interface edge rounding (in pixels)',\n background: 'Background',\n foreground: 'Foreground',\n text: 'Text',\n links: 'Links',\n cBlue: 'Blue (Reply, follow)',\n cRed: 'Red (Cancel)',\n cOrange: 'Orange (Favorite)',\n cGreen: 'Green (Retweet)',\n btnRadius: 'Buttons',\n inputRadius: 'Input fields',\n panelRadius: 'Panels',\n avatarRadius: 'Avatars',\n avatarAltRadius: 'Avatars (Notifications)',\n tooltipRadius: 'Tooltips/alerts',\n attachmentRadius: 'Attachments',\n filtering: 'Filtering',\n filtering_explanation: 'All statuses containing these words will be muted, one per line',\n attachments: 'Attachments',\n hide_attachments_in_tl: 'Hide attachments in timeline',\n hide_attachments_in_convo: 'Hide attachments in conversations',\n nsfw_clickthrough: 'Enable clickthrough NSFW attachment hiding',\n stop_gifs: 'Play-on-hover GIFs',\n autoload: 'Enable automatic loading when scrolled to the bottom',\n streaming: 'Enable automatic streaming of new posts when scrolled to the top',\n reply_link_preview: 'Enable reply-link preview on mouse hover',\n follow_import: 'Follow import',\n import_followers_from_a_csv_file: 'Import follows from a csv file',\n follows_imported: 'Follows imported! Processing them will take a while.',\n follow_import_error: 'Error importing followers',\n delete_account: 'Delete Account',\n delete_account_description: 'Permanently delete your account and all your messages.',\n delete_account_instructions: 'Type your password in the input below to confirm account deletion.',\n delete_account_error: 'There was an issue deleting your account. If this persists please contact your instance administrator.',\n follow_export: 'Follow export',\n follow_export_processing: 'Processing, you\\'ll soon be asked to download your file',\n follow_export_button: 'Export your follows to a csv file',\n change_password: 'Change Password',\n current_password: 'Current password',\n new_password: 'New password',\n confirm_new_password: 'Confirm new password',\n changed_password: 'Password changed successfully!',\n change_password_error: 'There was an issue changing your password.'\n },\n notifications: {\n notifications: 'Notifications',\n read: 'Read!',\n followed_you: 'followed you',\n favorited_you: 'favorited your status',\n repeated_you: 'repeated your status'\n },\n login: {\n login: 'Log in',\n username: 'Username',\n password: 'Password',\n register: 'Register',\n logout: 'Log out'\n },\n registration: {\n registration: 'Registration',\n fullname: 'Display name',\n email: 'Email',\n bio: 'Bio',\n password_confirm: 'Password confirmation'\n },\n post_status: {\n posting: 'Posting',\n default: 'Just landed in L.A.'\n },\n finder: {\n find_user: 'Find user',\n error_fetching_user: 'Error fetching user'\n },\n general: {\n submit: 'Submit',\n apply: 'Apply'\n },\n user_profile: {\n timeline_title: 'User Timeline'\n }\n}\n\nconst eo = {\n chat: {\n title: 'Babilo'\n },\n nav: {\n chat: 'Loka babilo',\n timeline: 'Tempovido',\n mentions: 'Mencioj',\n public_tl: 'Publika tempovido',\n twkn: 'Tuta konata reto'\n },\n user_card: {\n follows_you: 'Abonas vin!',\n following: 'Abonanta!',\n follow: 'Aboni',\n blocked: 'Barita!',\n block: 'Bari',\n statuses: 'Statoj',\n mute: 'Silentigi',\n muted: 'Silentigita',\n followers: 'Abonantoj',\n followees: 'Abonatoj',\n per_day: 'tage',\n remote_follow: 'Fora abono'\n },\n timeline: {\n show_new: 'Montri novajn',\n error_fetching: 'Eraro ĝisdatigante',\n up_to_date: 'Ĝisdata',\n load_older: 'Enlegi pli malnovajn statojn',\n conversation: 'Interparolo',\n collapse: 'Maletendi',\n repeated: 'ripetata'\n },\n settings: {\n user_settings: 'Uzulaj agordoj',\n name_bio: 'Nomo kaj prio',\n name: 'Nomo',\n bio: 'Prio',\n avatar: 'Profilbildo',\n current_avatar: 'Via nuna profilbildo',\n set_new_avatar: 'Agordi novan profilbildon',\n profile_banner: 'Profila rubando',\n current_profile_banner: 'Via nuna profila rubando',\n set_new_profile_banner: 'Agordi novan profilan rubandon',\n profile_background: 'Profila fono',\n set_new_profile_background: 'Agordi novan profilan fonon',\n settings: 'Agordoj',\n theme: 'Haŭto',\n presets: 'Antaŭmetaĵoj',\n theme_help: 'Uzu deksesumajn kolorkodojn (#rrvvbb) por adapti vian koloran haŭton.',\n radii_help: 'Agordi fasadan rondigon de randoj (rastrumere)',\n background: 'Fono',\n foreground: 'Malfono',\n text: 'Teksto',\n links: 'Ligiloj',\n cBlue: 'Blua (Respondo, abono)',\n cRed: 'Ruĝa (Nuligo)',\n cOrange: 'Orange (Ŝato)',\n cGreen: 'Verda (Kunhavigo)',\n btnRadius: 'Butonoj',\n panelRadius: 'Paneloj',\n avatarRadius: 'Profilbildoj',\n avatarAltRadius: 'Profilbildoj (Sciigoj)',\n tooltipRadius: 'Ŝpruchelpiloj/avertoj',\n attachmentRadius: 'Kunsendaĵoj',\n filtering: 'Filtrado',\n filtering_explanation: 'Ĉiuj statoj kun tiuj ĉi vortoj silentiĝos, po unu linie',\n attachments: 'Kunsendaĵoj',\n hide_attachments_in_tl: 'Kaŝi kunsendaĵojn en tempovido',\n hide_attachments_in_convo: 'Kaŝi kunsendaĵojn en interparoloj',\n nsfw_clickthrough: 'Ŝalti traklakan kaŝon de konsternaj kunsendaĵoj',\n stop_gifs: 'Movi GIF-bildojn dum ŝvebo',\n autoload: 'Ŝalti memfaran enlegadon ĉe subo de paĝo',\n streaming: 'Ŝalti memfaran fluigon de novaj afiŝoj ĉe supro de paĝo',\n reply_link_preview: 'Ŝalti respond-ligilan antaŭvidon dum ŝvebo',\n follow_import: 'Abona enporto',\n import_followers_from_a_csv_file: 'Enporti abonojn de CSV-dosiero',\n follows_imported: 'Abonoj enportiĝis! Traktado daŭros iom.',\n follow_import_error: 'Eraro enportante abonojn'\n },\n notifications: {\n notifications: 'Sciigoj',\n read: 'Legita!',\n followed_you: 'ekabonis vin',\n favorited_you: 'ŝatis vian staton',\n repeated_you: 'ripetis vian staton'\n },\n login: {\n login: 'Saluti',\n username: 'Salutnomo',\n password: 'Pasvorto',\n register: 'Registriĝi',\n logout: 'Adiaŭi'\n },\n registration: {\n registration: 'Registriĝo',\n fullname: 'Vidiga nomo',\n email: 'Retpoŝtadreso',\n bio: 'Prio',\n password_confirm: 'Konfirmo de pasvorto'\n },\n post_status: {\n posting: 'Afiŝanta',\n default: 'Ĵus alvenis la universalan kongreson!'\n },\n finder: {\n find_user: 'Trovi uzulon',\n error_fetching_user: 'Eraro alportante uzulon'\n },\n general: {\n submit: 'Sendi',\n apply: 'Apliki'\n },\n user_profile: {\n timeline_title: 'Uzula tempovido'\n }\n}\n\nconst et = {\n nav: {\n timeline: 'Ajajoon',\n mentions: 'Mainimised',\n public_tl: 'Avalik Ajajoon',\n twkn: 'Kogu Teadaolev Võrgustik'\n },\n user_card: {\n follows_you: 'Jälgib sind!',\n following: 'Jälgin!',\n follow: 'Jälgi',\n blocked: 'Blokeeritud!',\n block: 'Blokeeri',\n statuses: 'Staatuseid',\n mute: 'Vaigista',\n muted: 'Vaigistatud',\n followers: 'Jälgijaid',\n followees: 'Jälgitavaid',\n per_day: 'päevas'\n },\n timeline: {\n show_new: 'Näita uusi',\n error_fetching: 'Viga uuenduste laadimisel',\n up_to_date: 'Uuendatud',\n load_older: 'Kuva vanemaid staatuseid',\n conversation: 'Vestlus'\n },\n settings: {\n user_settings: 'Kasutaja sätted',\n name_bio: 'Nimi ja Bio',\n name: 'Nimi',\n bio: 'Bio',\n avatar: 'Profiilipilt',\n current_avatar: 'Sinu praegune profiilipilt',\n set_new_avatar: 'Vali uus profiilipilt',\n profile_banner: 'Profiilibänner',\n current_profile_banner: 'Praegune profiilibänner',\n set_new_profile_banner: 'Vali uus profiilibänner',\n profile_background: 'Profiilitaust',\n set_new_profile_background: 'Vali uus profiilitaust',\n settings: 'Sätted',\n theme: 'Teema',\n filtering: 'Sisu filtreerimine',\n filtering_explanation: 'Kõiki staatuseid, mis sisaldavad neid sõnu, ei kuvata. Üks sõna reale.',\n attachments: 'Manused',\n hide_attachments_in_tl: 'Peida manused ajajoonel',\n hide_attachments_in_convo: 'Peida manused vastlustes',\n nsfw_clickthrough: 'Peida tööks-mittesobivad(NSFW) manuste hiireklõpsu taha',\n autoload: 'Luba ajajoone automaatne uuendamine kui ajajoon on põhja keritud',\n reply_link_preview: 'Luba algpostituse kuvamine vastustes'\n },\n notifications: {\n notifications: 'Teavitused',\n read: 'Loe!',\n followed_you: 'alustas sinu jälgimist'\n },\n login: {\n login: 'Logi sisse',\n username: 'Kasutajanimi',\n password: 'Parool',\n register: 'Registreeru',\n logout: 'Logi välja'\n },\n registration: {\n registration: 'Registreerimine',\n fullname: 'Kuvatav nimi',\n email: 'E-post',\n bio: 'Bio',\n password_confirm: 'Parooli kinnitamine'\n },\n post_status: {\n posting: 'Postitan',\n default: 'Just sõitsin elektrirongiga Tallinnast Pääskülla.'\n },\n finder: {\n find_user: 'Otsi kasutajaid',\n error_fetching_user: 'Viga kasutaja leidmisel'\n },\n general: {\n submit: 'Postita'\n }\n}\n\nconst hu = {\n nav: {\n timeline: 'Idővonal',\n mentions: 'Említéseim',\n public_tl: 'Publikus Idővonal',\n twkn: 'Az Egész Ismert Hálózat'\n },\n user_card: {\n follows_you: 'Követ téged!',\n following: 'Követve!',\n follow: 'Követ',\n blocked: 'Letiltva!',\n block: 'Letilt',\n statuses: 'Állapotok',\n mute: 'Némít',\n muted: 'Némított',\n followers: 'Követők',\n followees: 'Követettek',\n per_day: 'naponta'\n },\n timeline: {\n show_new: 'Újak mutatása',\n error_fetching: 'Hiba a frissítések beszerzésénél',\n up_to_date: 'Naprakész',\n load_older: 'Régebbi állapotok betöltése',\n conversation: 'Társalgás'\n },\n settings: {\n user_settings: 'Felhasználói beállítások',\n name_bio: 'Név és Bio',\n name: 'Név',\n bio: 'Bio',\n avatar: 'Avatár',\n current_avatar: 'Jelenlegi avatár',\n set_new_avatar: 'Új avatár',\n profile_banner: 'Profil Banner',\n current_profile_banner: 'Jelenlegi profil banner',\n set_new_profile_banner: 'Új profil banner',\n profile_background: 'Profil háttérkép',\n set_new_profile_background: 'Új profil háttér beállítása',\n settings: 'Beállítások',\n theme: 'Téma',\n filtering: 'Szűrés',\n filtering_explanation: 'Minden tartalom mely ezen szavakat tartalmazza némítva lesz, soronként egy',\n attachments: 'Csatolmányok',\n hide_attachments_in_tl: 'Csatolmányok elrejtése az idővonalon',\n hide_attachments_in_convo: 'Csatolmányok elrejtése a társalgásokban',\n nsfw_clickthrough: 'NSFW átkattintási tartalom elrejtésének engedélyezése',\n autoload: 'Autoatikus betöltés engedélyezése lap aljára görgetéskor',\n reply_link_preview: 'Válasz-link előzetes mutatása egér rátételkor'\n },\n notifications: {\n notifications: 'Értesítések',\n read: 'Olvasva!',\n followed_you: 'követ téged'\n },\n login: {\n login: 'Bejelentkezés',\n username: 'Felhasználó név',\n password: 'Jelszó',\n register: 'Feliratkozás',\n logout: 'Kijelentkezés'\n },\n registration: {\n registration: 'Feliratkozás',\n fullname: 'Teljes név',\n email: 'Email',\n bio: 'Bio',\n password_confirm: 'Jelszó megerősítése'\n },\n post_status: {\n posting: 'Küldés folyamatban',\n default: 'Most érkeztem L.A.-be'\n },\n finder: {\n find_user: 'Felhasználó keresése',\n error_fetching_user: 'Hiba felhasználó beszerzésével'\n },\n general: {\n submit: 'Elküld'\n }\n}\n\nconst ro = {\n nav: {\n timeline: 'Cronologie',\n mentions: 'Menționări',\n public_tl: 'Cronologie Publică',\n twkn: 'Toată Reșeaua Cunoscută'\n },\n user_card: {\n follows_you: 'Te urmărește!',\n following: 'Urmărit!',\n follow: 'Urmărește',\n blocked: 'Blocat!',\n block: 'Blochează',\n statuses: 'Stări',\n mute: 'Pune pe mut',\n muted: 'Pus pe mut',\n followers: 'Următori',\n followees: 'Urmărește',\n per_day: 'pe zi'\n },\n timeline: {\n show_new: 'Arată cele noi',\n error_fetching: 'Erare la preluarea actualizărilor',\n up_to_date: 'La zi',\n load_older: 'Încarcă stări mai vechi',\n conversation: 'Conversație'\n },\n settings: {\n user_settings: 'Setările utilizatorului',\n name_bio: 'Nume și Bio',\n name: 'Nume',\n bio: 'Bio',\n avatar: 'Avatar',\n current_avatar: 'Avatarul curent',\n set_new_avatar: 'Setează avatar nou',\n profile_banner: 'Banner de profil',\n current_profile_banner: 'Bannerul curent al profilului',\n set_new_profile_banner: 'Setează banner nou la profil',\n profile_background: 'Fundalul de profil',\n set_new_profile_background: 'Setează fundal nou',\n settings: 'Setări',\n theme: 'Temă',\n filtering: 'Filtru',\n filtering_explanation: 'Toate stările care conțin aceste cuvinte vor fi puse pe mut, una pe linie',\n attachments: 'Atașamente',\n hide_attachments_in_tl: 'Ascunde atașamentele în cronologie',\n hide_attachments_in_convo: 'Ascunde atașamentele în conversații',\n nsfw_clickthrough: 'Permite ascunderea al atașamentelor NSFW',\n autoload: 'Permite încărcarea automată când scrolat la capăt',\n reply_link_preview: 'Permite previzualizarea linkului de răspuns la planarea de mouse'\n },\n notifications: {\n notifications: 'Notificări',\n read: 'Citit!',\n followed_you: 'te-a urmărit'\n },\n login: {\n login: 'Loghează',\n username: 'Nume utilizator',\n password: 'Parolă',\n register: 'Înregistrare',\n logout: 'Deloghează'\n },\n registration: {\n registration: 'Îregistrare',\n fullname: 'Numele întreg',\n email: 'Email',\n bio: 'Bio',\n password_confirm: 'Cofirmă parola'\n },\n post_status: {\n posting: 'Postează',\n default: 'Nu de mult am aterizat în L.A.'\n },\n finder: {\n find_user: 'Găsește utilizator',\n error_fetching_user: 'Eroare la preluarea utilizatorului'\n },\n general: {\n submit: 'trimite'\n }\n}\n\nconst ja = {\n chat: {\n title: 'チャット'\n },\n nav: {\n chat: 'ローカルチャット',\n timeline: 'タイムライン',\n mentions: 'メンション',\n public_tl: '公開タイムライン',\n twkn: '接続しているすべてのネットワーク'\n },\n user_card: {\n follows_you: 'フォローされました!',\n following: 'フォロー中!',\n follow: 'フォロー',\n blocked: 'ブロック済み!',\n block: 'ブロック',\n statuses: '投稿',\n mute: 'ミュート',\n muted: 'ミュート済み',\n followers: 'フォロワー',\n followees: 'フォロー',\n per_day: '/日',\n remote_follow: 'リモートフォロー'\n },\n timeline: {\n show_new: '更新',\n error_fetching: '更新の取得中にエラーが発生しました。',\n up_to_date: '最新',\n load_older: '古い投稿を読み込む',\n conversation: '会話',\n collapse: '折り畳む',\n repeated: 'リピート'\n },\n settings: {\n user_settings: 'ユーザー設定',\n name_bio: '名前とプロフィール',\n name: '名前',\n bio: 'プロフィール',\n avatar: 'アバター',\n current_avatar: 'あなたの現在のアバター',\n set_new_avatar: '新しいアバターを設定する',\n profile_banner: 'プロフィールバナー',\n current_profile_banner: '現在のプロフィールバナー',\n set_new_profile_banner: '新しいプロフィールバナーを設定する',\n profile_background: 'プロフィールの背景',\n set_new_profile_background: '新しいプロフィールの背景を設定する',\n settings: '設定',\n theme: 'テーマ',\n presets: 'プリセット',\n theme_help: '16進数カラーコード (#aabbcc) を使用してカラーテーマをカスタマイズ出来ます。',\n radii_help: 'インターフェースの縁の丸さを設定する。',\n background: '背景',\n foreground: '前景',\n text: '文字',\n links: 'リンク',\n cBlue: '青 (返信, フォロー)',\n cRed: '赤 (キャンセル)',\n cOrange: 'オレンジ (お気に入り)',\n cGreen: '緑 (リツイート)',\n btnRadius: 'ボタン',\n panelRadius: 'パネル',\n avatarRadius: 'アバター',\n avatarAltRadius: 'アバター (通知)',\n tooltipRadius: 'ツールチップ/アラート',\n attachmentRadius: 'ファイル',\n filtering: 'フィルタリング',\n filtering_explanation: 'これらの単語を含むすべてのものがミュートされます。1行に1つの単語を入力してください。',\n attachments: 'ファイル',\n hide_attachments_in_tl: 'タイムラインのファイルを隠す。',\n hide_attachments_in_convo: '会話の中のファイルを隠す。',\n nsfw_clickthrough: 'NSFWファイルの非表示を有効にする。',\n stop_gifs: 'カーソルを重ねた時にGIFを再生する。',\n autoload: '下にスクロールした時に自動で読み込むようにする。',\n streaming: '上までスクロールした時に自動でストリーミングされるようにする。',\n reply_link_preview: 'マウスカーソルを重ねた時に返信のプレビューを表示するようにする。',\n follow_import: 'フォローインポート',\n import_followers_from_a_csv_file: 'CSVファイルからフォローをインポートする。',\n follows_imported: 'フォローがインポートされました!処理に少し時間がかかるかもしれません。',\n follow_import_error: 'フォロワーのインポート中にエラーが発生しました。'\n },\n notifications: {\n notifications: '通知',\n read: '読んだ!',\n followed_you: 'フォローされました',\n favorited_you: 'あなたの投稿がお気に入りされました',\n repeated_you: 'あなたの投稿がリピートされました'\n },\n login: {\n login: 'ログイン',\n username: 'ユーザー名',\n password: 'パスワード',\n register: '登録',\n logout: 'ログアウト'\n },\n registration: {\n registration: '登録',\n fullname: '表示名',\n email: 'Eメール',\n bio: 'プロフィール',\n password_confirm: 'パスワードの確認'\n },\n post_status: {\n posting: '投稿',\n default: 'ちょうどL.A.に着陸しました。'\n },\n finder: {\n find_user: 'ユーザー検索',\n error_fetching_user: 'ユーザー検索でエラーが発生しました'\n },\n general: {\n submit: '送信',\n apply: '適用'\n },\n user_profile: {\n timeline_title: 'ユーザータイムライン'\n }\n}\n\nconst fr = {\n nav: {\n chat: 'Chat local',\n timeline: 'Journal',\n mentions: 'Notifications',\n public_tl: 'Statuts locaux',\n twkn: 'Le réseau connu'\n },\n user_card: {\n follows_you: 'Vous suit !',\n following: 'Suivi !',\n follow: 'Suivre',\n blocked: 'Bloqué',\n block: 'Bloquer',\n statuses: 'Statuts',\n mute: 'Masquer',\n muted: 'Masqué',\n followers: 'Vous suivent',\n followees: 'Suivis',\n per_day: 'par jour',\n remote_follow: 'Suivre d\\'une autre instance'\n },\n timeline: {\n show_new: 'Afficher plus',\n error_fetching: 'Erreur en cherchant les mises à jour',\n up_to_date: 'À jour',\n load_older: 'Afficher plus',\n conversation: 'Conversation',\n collapse: 'Fermer',\n repeated: 'a partagé'\n },\n settings: {\n user_settings: 'Paramètres utilisateur',\n name_bio: 'Nom & Bio',\n name: 'Nom',\n bio: 'Biographie',\n avatar: 'Avatar',\n current_avatar: 'Avatar actuel',\n set_new_avatar: 'Changer d\\'avatar',\n profile_banner: 'Bannière de profil',\n current_profile_banner: 'Bannière de profil actuelle',\n set_new_profile_banner: 'Changer de bannière',\n profile_background: 'Image de fond',\n set_new_profile_background: 'Changer d\\'image de fond',\n settings: 'Paramètres',\n theme: 'Thème',\n filtering: 'Filtre',\n filtering_explanation: 'Tout les statuts contenant ces mots seront masqués. Un mot par ligne.',\n attachments: 'Pièces jointes',\n hide_attachments_in_tl: 'Masquer les pièces jointes dans le journal',\n hide_attachments_in_convo: 'Masquer les pièces jointes dans les conversations',\n nsfw_clickthrough: 'Masquer les images marquées comme contenu adulte ou sensible',\n autoload: 'Charger la suite automatiquement une fois le bas de la page atteint',\n reply_link_preview: 'Afficher un aperçu lors du survol de liens vers une réponse',\n presets: 'Thèmes prédéfinis',\n theme_help: 'Spécifiez des codes couleur hexadécimaux (#aabbcc) pour personnaliser les couleurs du thème',\n background: 'Arrière plan',\n foreground: 'Premier plan',\n text: 'Texte',\n links: 'Liens',\n streaming: 'Charger automatiquement les nouveaux statuts lorsque vous êtes au haut de la page',\n follow_import: 'Importer ses abonnements',\n import_followers_from_a_csv_file: 'Importer ses abonnements depuis un fichier csv',\n follows_imported: 'Abonnements importés ! Le traitement peut prendre un moment.',\n follow_import_error: 'Erreur lors de l\\'importation des abonnements.',\n cBlue: 'Bleu (Répondre, suivre)',\n cRed: 'Rouge (Annuler)',\n cOrange: 'Orange (Aimer)',\n cGreen: 'Vert (Partager)',\n btnRadius: 'Boutons',\n panelRadius: 'Fenêtres',\n inputRadius: 'Champs de texte',\n avatarRadius: 'Avatars',\n avatarAltRadius: 'Avatars (Notifications)',\n tooltipRadius: 'Info-bulles/alertes ',\n attachmentRadius: 'Pièces jointes',\n radii_help: 'Vous pouvez ici choisir le niveau d\\'arrondi des angles de l\\'interface (en pixels)',\n stop_gifs: 'N\\'animer les GIFS que lors du survol du curseur de la souris'\n },\n notifications: {\n notifications: 'Notifications',\n read: 'Lu !',\n followed_you: 'a commencé à vous suivre',\n favorited_you: 'a aimé votre statut',\n repeated_you: 'a partagé votre statut'\n },\n login: {\n login: 'Connexion',\n username: 'Identifiant',\n password: 'Mot de passe',\n register: 'S\\'inscrire',\n logout: 'Déconnexion'\n },\n registration: {\n registration: 'Inscription',\n fullname: 'Pseudonyme',\n email: 'Adresse email',\n bio: 'Biographie',\n password_confirm: 'Confirmation du mot de passe'\n },\n post_status: {\n posting: 'Envoi en cours',\n default: 'Écrivez ici votre prochain statut.'\n },\n finder: {\n find_user: 'Chercher un utilisateur',\n error_fetching_user: 'Erreur lors de la recherche de l\\'utilisateur'\n },\n general: {\n submit: 'Envoyer',\n apply: 'Appliquer'\n },\n user_profile: {\n timeline_title: 'Journal de l\\'utilisateur'\n }\n}\n\nconst it = {\n nav: {\n timeline: 'Sequenza temporale',\n mentions: 'Menzioni',\n public_tl: 'Sequenza temporale pubblica',\n twkn: 'L\\'intiera rete conosciuta'\n },\n user_card: {\n follows_you: 'Ti segue!',\n following: 'Lo stai seguendo!',\n follow: 'Segui',\n statuses: 'Messaggi',\n mute: 'Ammutolisci',\n muted: 'Ammutoliti',\n followers: 'Chi ti segue',\n followees: 'Chi stai seguendo',\n per_day: 'al giorno'\n },\n timeline: {\n show_new: 'Mostra nuovi',\n error_fetching: 'Errori nel prelievo aggiornamenti',\n up_to_date: 'Aggiornato',\n load_older: 'Carica messaggi più vecchi'\n },\n settings: {\n user_settings: 'Configurazione dell\\'utente',\n name_bio: 'Nome & Introduzione',\n name: 'Nome',\n bio: 'Introduzione',\n avatar: 'Avatar',\n current_avatar: 'Il tuo attuale avatar',\n set_new_avatar: 'Scegli un nuovo avatar',\n profile_banner: 'Sfondo del tuo profilo',\n current_profile_banner: 'Sfondo attuale',\n set_new_profile_banner: 'Scegli un nuovo sfondo per il tuo profilo',\n profile_background: 'Sfondo della tua pagina',\n set_new_profile_background: 'Scegli un nuovo sfondo per la tua pagina',\n settings: 'Settaggi',\n theme: 'Tema',\n filtering: 'Filtri',\n filtering_explanation: 'Filtra via le notifiche che contengono le seguenti parole (inserisci rigo per rigo le parole di innesco)',\n attachments: 'Allegati',\n hide_attachments_in_tl: 'Nascondi gli allegati presenti nella sequenza temporale',\n hide_attachments_in_convo: 'Nascondi gli allegati presenti nelle conversazioni',\n nsfw_clickthrough: 'Abilita la trasparenza degli allegati NSFW',\n autoload: 'Abilita caricamento automatico quando si raggiunge il fondo schermo',\n reply_link_preview: 'Ability il reply-link preview al passaggio del mouse'\n },\n notifications: {\n notifications: 'Notifiche',\n read: 'Leggi!',\n followed_you: 'ti ha seguito'\n },\n general: {\n submit: 'Invia'\n }\n}\n\nconst oc = {\n chat: {\n title: 'Messatjariá'\n },\n nav: {\n chat: 'Chat local',\n timeline: 'Flux d’actualitat',\n mentions: 'Notificacions',\n public_tl: 'Estatuts locals',\n twkn: 'Lo malhum conegut'\n },\n user_card: {\n follows_you: 'Vos sèc !',\n following: 'Seguit !',\n follow: 'Seguir',\n blocked: 'Blocat',\n block: 'Blocar',\n statuses: 'Estatuts',\n mute: 'Amagar',\n muted: 'Amagat',\n followers: 'Seguidors',\n followees: 'Abonaments',\n per_day: 'per jorn',\n remote_follow: 'Seguir a distància'\n },\n timeline: {\n show_new: 'Ne veire mai',\n error_fetching: 'Error en cercant de mesas a jorn',\n up_to_date: 'A jorn',\n load_older: 'Ne veire mai',\n conversation: 'Conversacion',\n collapse: 'Tampar',\n repeated: 'repetit'\n },\n settings: {\n user_settings: 'Paramètres utilizaire',\n name_bio: 'Nom & Bio',\n name: 'Nom',\n bio: 'Biografia',\n avatar: 'Avatar',\n current_avatar: 'Vòstre avatar actual',\n set_new_avatar: 'Cambiar l’avatar',\n profile_banner: 'Bandièra del perfil',\n current_profile_banner: 'Bandièra actuala del perfil',\n set_new_profile_banner: 'Cambiar de bandièra',\n profile_background: 'Imatge de fons',\n set_new_profile_background: 'Cambiar l’imatge de fons',\n settings: 'Paramètres',\n theme: 'Tèma',\n presets: 'Pre-enregistrats',\n theme_help: 'Emplegatz los còdis de color hex (#rrggbb) per personalizar vòstre tèma de color.',\n radii_help: 'Configurar los caires arredondits de l’interfàcia (en pixèls)',\n background: 'Rèire plan',\n foreground: 'Endavant',\n text: 'Tèxte',\n links: 'Ligams',\n cBlue: 'Blau (Respondre, seguir)',\n cRed: 'Roge (Anullar)',\n cOrange: 'Irange (Metre en favorit)',\n cGreen: 'Verd (Repartajar)',\n inputRadius: 'Camps tèxte',\n btnRadius: 'Botons',\n panelRadius: 'Panèls',\n avatarRadius: 'Avatars',\n avatarAltRadius: 'Avatars (Notificacions)',\n tooltipRadius: 'Astúcias/Alèrta',\n attachmentRadius: 'Pèças juntas',\n filtering: 'Filtre',\n filtering_explanation: 'Totes los estatuts amb aqueles mots seràn en silenci, un mot per linha.',\n attachments: 'Pèças juntas',\n hide_attachments_in_tl: 'Rescondre las pèças juntas',\n hide_attachments_in_convo: 'Rescondre las pèças juntas dins las conversacions',\n nsfw_clickthrough: 'Activar lo clic per mostrar los imatges marcats coma pels adults o sensibles',\n stop_gifs: 'Lançar los GIFs al subrevòl',\n autoload: 'Activar lo cargament automatic un còp arribat al cap de la pagina',\n streaming: 'Activar lo cargament automatic dels novèls estatus en anar amont',\n reply_link_preview: 'Activar l’apercebut en passar la mirga',\n follow_import: 'Importar los abonaments',\n import_followers_from_a_csv_file: 'Importar los seguidors d’un fichièr csv',\n follows_imported: 'Seguidors importats. Lo tractament pòt trigar una estona.',\n follow_import_error: 'Error en important los seguidors'\n },\n notifications: {\n notifications: 'Notficacions',\n read: 'Legit !',\n followed_you: 'vos sèc',\n favorited_you: 'a aimat vòstre estatut',\n repeated_you: 'a repetit your vòstre estatut'\n },\n login: {\n login: 'Connexion',\n username: 'Nom d’utilizaire',\n password: 'Senhal',\n register: 'Se marcar',\n logout: 'Desconnexion'\n },\n registration: {\n registration: 'Inscripcion',\n fullname: 'Nom complèt',\n email: 'Adreça de corrièl',\n bio: 'Biografia',\n password_confirm: 'Confirmar lo senhal'\n },\n post_status: {\n posting: 'Mandadís',\n default: 'Escrivètz aquí vòstre estatut.'\n },\n finder: {\n find_user: 'Cercar un utilizaire',\n error_fetching_user: 'Error pendent la recèrca d’un utilizaire'\n },\n general: {\n submit: 'Mandar',\n apply: 'Aplicar'\n },\n user_profile: {\n timeline_title: 'Flux utilizaire'\n }\n}\n\nconst pl = {\n chat: {\n title: 'Czat'\n },\n nav: {\n chat: 'Lokalny czat',\n timeline: 'Oś czasu',\n mentions: 'Wzmianki',\n public_tl: 'Publiczna oś czasu',\n twkn: 'Cała znana sieć'\n },\n user_card: {\n follows_you: 'Obserwuje cię!',\n following: 'Obserwowany!',\n follow: 'Obserwuj',\n blocked: 'Zablokowany!',\n block: 'Zablokuj',\n statuses: 'Statusy',\n mute: 'Wycisz',\n muted: 'Wyciszony',\n followers: 'Obserwujący',\n followees: 'Obserwowani',\n per_day: 'dziennie',\n remote_follow: 'Zdalna obserwacja'\n },\n timeline: {\n show_new: 'Pokaż nowe',\n error_fetching: 'Błąd pobierania',\n up_to_date: 'Na bieżąco',\n load_older: 'Załaduj starsze statusy',\n conversation: 'Rozmowa',\n collapse: 'Zwiń',\n repeated: 'powtórzono'\n },\n settings: {\n user_settings: 'Ustawienia użytkownika',\n name_bio: 'Imię i bio',\n name: 'Imię',\n bio: 'Bio',\n avatar: 'Awatar',\n current_avatar: 'Twój obecny awatar',\n set_new_avatar: 'Ustaw nowy awatar',\n profile_banner: 'Banner profilu',\n current_profile_banner: 'Twój obecny banner profilu',\n set_new_profile_banner: 'Ustaw nowy banner profilu',\n profile_background: 'Tło profilu',\n set_new_profile_background: 'Ustaw nowe tło profilu',\n settings: 'Ustawienia',\n theme: 'Motyw',\n presets: 'Gotowe motywy',\n theme_help: 'Użyj kolorów w notacji szesnastkowej (#rrggbb), by stworzyć swój motyw.',\n radii_help: 'Ustaw zaokrąglenie krawędzi interfejsu (w pikselach)',\n background: 'Tło',\n foreground: 'Pierwszy plan',\n text: 'Tekst',\n links: 'Łącza',\n cBlue: 'Niebieski (odpowiedz, obserwuj)',\n cRed: 'Czerwony (anuluj)',\n cOrange: 'Pomarańczowy (ulubione)',\n cGreen: 'Zielony (powtórzenia)',\n btnRadius: 'Przyciski',\n panelRadius: 'Panele',\n avatarRadius: 'Awatary',\n avatarAltRadius: 'Awatary (powiadomienia)',\n tooltipRadius: 'Etykiety/alerty',\n attachmentRadius: 'Załączniki',\n filtering: 'Filtrowanie',\n filtering_explanation: 'Wszystkie statusy zawierające te słowa będą wyciszone. Jedno słowo na linijkę',\n attachments: 'Załączniki',\n hide_attachments_in_tl: 'Ukryj załączniki w osi czasu',\n hide_attachments_in_convo: 'Ukryj załączniki w rozmowach',\n nsfw_clickthrough: 'Włącz domyślne ukrywanie załączników o treści nieprzyzwoitej (NSFW)',\n stop_gifs: 'Odtwarzaj GIFy po najechaniu kursorem',\n autoload: 'Włącz automatyczne ładowanie po przewinięciu do końca strony',\n streaming: 'Włącz automatycznie strumieniowanie nowych postów gdy na początku strony',\n reply_link_preview: 'Włącz dymek z podglądem postu po najechaniu na znak odpowiedzi',\n follow_import: 'Import obserwowanych',\n import_followers_from_a_csv_file: 'Importuj obserwowanych z pliku CSV',\n follows_imported: 'Obserwowani zaimportowani! Przetwarzanie może trochę potrwać.',\n follow_import_error: 'Błąd przy importowaniu obserwowanych'\n },\n notifications: {\n notifications: 'Powiadomienia',\n read: 'Przeczytane!',\n followed_you: 'obserwuje cię',\n favorited_you: 'dodał twój status do ulubionych',\n repeated_you: 'powtórzył twój status'\n },\n login: {\n login: 'Zaloguj',\n username: 'Użytkownik',\n password: 'Hasło',\n register: 'Zarejestruj',\n logout: 'Wyloguj'\n },\n registration: {\n registration: 'Rejestracja',\n fullname: 'Wyświetlana nazwa profilu',\n email: 'Email',\n bio: 'Bio',\n password_confirm: 'Potwierdzenie hasła'\n },\n post_status: {\n posting: 'Wysyłanie',\n default: 'Właśnie wróciłem z kościoła'\n },\n finder: {\n find_user: 'Znajdź użytkownika',\n error_fetching_user: 'Błąd przy pobieraniu profilu'\n },\n general: {\n submit: 'Wyślij',\n apply: 'Zastosuj'\n },\n user_profile: {\n timeline_title: 'Oś czasu użytkownika'\n }\n}\n\nconst es = {\n chat: {\n title: 'Chat'\n },\n nav: {\n chat: 'Chat Local',\n timeline: 'Línea Temporal',\n mentions: 'Menciones',\n public_tl: 'Línea Temporal Pública',\n twkn: 'Toda La Red Conocida'\n },\n user_card: {\n follows_you: '¡Te sigue!',\n following: '¡Siguiendo!',\n follow: 'Seguir',\n blocked: '¡Bloqueado!',\n block: 'Bloquear',\n statuses: 'Estados',\n mute: 'Silenciar',\n muted: 'Silenciado',\n followers: 'Seguidores',\n followees: 'Siguiendo',\n per_day: 'por día',\n remote_follow: 'Seguir'\n },\n timeline: {\n show_new: 'Mostrar lo nuevo',\n error_fetching: 'Error al cargar las actualizaciones',\n up_to_date: 'Actualizado',\n load_older: 'Cargar actualizaciones anteriores',\n conversation: 'Conversación'\n },\n settings: {\n user_settings: 'Ajustes de Usuario',\n name_bio: 'Nombre y Biografía',\n name: 'Nombre',\n bio: 'Biografía',\n avatar: 'Avatar',\n current_avatar: 'Tu avatar actual',\n set_new_avatar: 'Cambiar avatar',\n profile_banner: 'Cabecera del perfil',\n current_profile_banner: 'Cabecera actual',\n set_new_profile_banner: 'Cambiar cabecera',\n profile_background: 'Fondo del Perfil',\n set_new_profile_background: 'Cambiar fondo del perfil',\n settings: 'Ajustes',\n theme: 'Tema',\n presets: 'Por defecto',\n theme_help: 'Use códigos de color hexadecimales (#rrggbb) para personalizar su tema de colores.',\n background: 'Segundo plano',\n foreground: 'Primer plano',\n text: 'Texto',\n links: 'Links',\n filtering: 'Filtros',\n filtering_explanation: 'Todos los estados que contengan estas palabras serán silenciados, una por línea',\n attachments: 'Adjuntos',\n hide_attachments_in_tl: 'Ocultar adjuntos en la línea temporal',\n hide_attachments_in_convo: 'Ocultar adjuntos en las conversaciones',\n nsfw_clickthrough: 'Activar el clic para ocultar los adjuntos NSFW',\n autoload: 'Activar carga automática al llegar al final de la página',\n streaming: 'Habilite la transmisión automática de nuevas publicaciones cuando se desplaza hacia la parte superior',\n reply_link_preview: 'Activar la previsualización del enlace de responder al pasar el ratón por encima',\n follow_import: 'Importar personas que tú sigues',\n import_followers_from_a_csv_file: 'Importar personas que tú sigues apartir de un archivo csv',\n follows_imported: '¡Importado! Procesarlos llevará tiempo.',\n follow_import_error: 'Error al importal el archivo'\n },\n notifications: {\n notifications: 'Notificaciones',\n read: '¡Leído!',\n followed_you: 'empezó a seguirte'\n },\n login: {\n login: 'Identificación',\n username: 'Usuario',\n password: 'Contraseña',\n register: 'Registrar',\n logout: 'Salir'\n },\n registration: {\n registration: 'Registro',\n fullname: 'Nombre a mostrar',\n email: 'Correo electrónico',\n bio: 'Biografía',\n password_confirm: 'Confirmación de contraseña'\n },\n post_status: {\n posting: 'Publicando',\n default: 'Acabo de aterrizar en L.A.'\n },\n finder: {\n find_user: 'Encontrar usuario',\n error_fetching_user: 'Error al buscar usuario'\n },\n general: {\n submit: 'Enviar',\n apply: 'Aplicar'\n }\n}\n\nconst pt = {\n chat: {\n title: 'Chat'\n },\n nav: {\n chat: 'Chat Local',\n timeline: 'Linha do tempo',\n mentions: 'Menções',\n public_tl: 'Linha do tempo pública',\n twkn: 'Toda a rede conhecida'\n },\n user_card: {\n follows_you: 'Segue você!',\n following: 'Seguindo!',\n follow: 'Seguir',\n blocked: 'Bloqueado!',\n block: 'Bloquear',\n statuses: 'Postagens',\n mute: 'Silenciar',\n muted: 'Silenciado',\n followers: 'Seguidores',\n followees: 'Seguindo',\n per_day: 'por dia',\n remote_follow: 'Seguidor Remoto'\n },\n timeline: {\n show_new: 'Mostrar novas',\n error_fetching: 'Erro buscando atualizações',\n up_to_date: 'Atualizado',\n load_older: 'Carregar postagens antigas',\n conversation: 'Conversa'\n },\n settings: {\n user_settings: 'Configurações de Usuário',\n name_bio: 'Nome & Biografia',\n name: 'Nome',\n bio: 'Biografia',\n avatar: 'Avatar',\n current_avatar: 'Seu avatar atual',\n set_new_avatar: 'Alterar avatar',\n profile_banner: 'Capa de perfil',\n current_profile_banner: 'Sua capa de perfil atual',\n set_new_profile_banner: 'Alterar capa de perfil',\n profile_background: 'Plano de fundo de perfil',\n set_new_profile_background: 'Alterar o plano de fundo de perfil',\n settings: 'Configurações',\n theme: 'Tema',\n presets: 'Predefinições',\n theme_help: 'Use cores em código hexadecimal (#rrggbb) para personalizar seu esquema de cores.',\n background: 'Plano de Fundo',\n foreground: 'Primeiro Plano',\n text: 'Texto',\n links: 'Links',\n filtering: 'Filtragem',\n filtering_explanation: 'Todas as postagens contendo estas palavras serão silenciadas, uma por linha.',\n attachments: 'Anexos',\n hide_attachments_in_tl: 'Ocultar anexos na linha do tempo.',\n hide_attachments_in_convo: 'Ocultar anexos em conversas',\n nsfw_clickthrough: 'Habilitar clique para ocultar anexos NSFW',\n autoload: 'Habilitar carregamento automático quando a rolagem chegar ao fim.',\n streaming: 'Habilitar o fluxo automático de postagens quando ao topo da página',\n reply_link_preview: 'Habilitar a pré-visualização de link de respostas ao passar o mouse.',\n follow_import: 'Importar seguidas',\n import_followers_from_a_csv_file: 'Importe seguidores a partir de um arquivo CSV',\n follows_imported: 'Seguidores importados! O processamento pode demorar um pouco.',\n follow_import_error: 'Erro ao importar seguidores'\n },\n notifications: {\n notifications: 'Notificações',\n read: 'Ler!',\n followed_you: 'seguiu você'\n },\n login: {\n login: 'Entrar',\n username: 'Usuário',\n password: 'Senha',\n register: 'Registrar',\n logout: 'Sair'\n },\n registration: {\n registration: 'Registro',\n fullname: 'Nome para exibição',\n email: 'Correio eletrônico',\n bio: 'Biografia',\n password_confirm: 'Confirmação de senha'\n },\n post_status: {\n posting: 'Publicando',\n default: 'Acabo de aterrizar em L.A.'\n },\n finder: {\n find_user: 'Buscar usuário',\n error_fetching_user: 'Erro procurando usuário'\n },\n general: {\n submit: 'Enviar',\n apply: 'Aplicar'\n }\n}\n\nconst ru = {\n chat: {\n title: 'Чат'\n },\n nav: {\n chat: 'Локальный чат',\n timeline: 'Лента',\n mentions: 'Упоминания',\n public_tl: 'Публичная лента',\n twkn: 'Федеративная лента'\n },\n user_card: {\n follows_you: 'Читает вас',\n following: 'Читаю',\n follow: 'Читать',\n blocked: 'Заблокирован',\n block: 'Заблокировать',\n statuses: 'Статусы',\n mute: 'Игнорировать',\n muted: 'Игнорирую',\n followers: 'Читатели',\n followees: 'Читаемые',\n per_day: 'в день',\n remote_follow: 'Читать удалённо'\n },\n timeline: {\n show_new: 'Показать новые',\n error_fetching: 'Ошибка при обновлении',\n up_to_date: 'Обновлено',\n load_older: 'Загрузить старые статусы',\n conversation: 'Разговор',\n collapse: 'Свернуть',\n repeated: 'повторил(а)'\n },\n settings: {\n user_settings: 'Настройки пользователя',\n name_bio: 'Имя и описание',\n name: 'Имя',\n bio: 'Описание',\n avatar: 'Аватар',\n current_avatar: 'Текущий аватар',\n set_new_avatar: 'Загрузить новый аватар',\n profile_banner: 'Баннер профиля',\n current_profile_banner: 'Текущий баннер профиля',\n set_new_profile_banner: 'Загрузить новый баннер профиля',\n profile_background: 'Фон профиля',\n set_new_profile_background: 'Загрузить новый фон профиля',\n settings: 'Настройки',\n theme: 'Тема',\n presets: 'Пресеты',\n theme_help: 'Используйте шестнадцатеричные коды цветов (#rrggbb) для настройки темы.',\n radii_help: 'Округление краёв элементов интерфейса (в пикселях)',\n background: 'Фон',\n foreground: 'Передний план',\n text: 'Текст',\n links: 'Ссылки',\n cBlue: 'Ответить, читать',\n cRed: 'Отменить',\n cOrange: 'Нравится',\n cGreen: 'Повторить',\n btnRadius: 'Кнопки',\n inputRadius: 'Поля ввода',\n panelRadius: 'Панели',\n avatarRadius: 'Аватары',\n avatarAltRadius: 'Аватары в уведомлениях',\n tooltipRadius: 'Всплывающие подсказки/уведомления',\n attachmentRadius: 'Прикреплённые файлы',\n filtering: 'Фильтрация',\n filtering_explanation: 'Все статусы, содержащие данные слова, будут игнорироваться, по одному в строке',\n attachments: 'Вложения',\n hide_attachments_in_tl: 'Прятать вложения в ленте',\n hide_attachments_in_convo: 'Прятать вложения в разговорах',\n stop_gifs: 'Проигрывать GIF анимации только при наведении',\n nsfw_clickthrough: 'Включить скрытие NSFW вложений',\n autoload: 'Включить автоматическую загрузку при прокрутке вниз',\n streaming: 'Включить автоматическую загрузку новых сообщений при прокрутке вверх',\n reply_link_preview: 'Включить предварительный просмотр ответа при наведении мыши',\n follow_import: 'Импортировать читаемых',\n import_followers_from_a_csv_file: 'Импортировать читаемых из файла .csv',\n follows_imported: 'Список читаемых импортирован. Обработка займёт некоторое время..',\n follow_import_error: 'Ошибка при импортировании читаемых.'\n },\n notifications: {\n notifications: 'Уведомления',\n read: 'Прочесть',\n followed_you: 'начал(а) читать вас',\n favorited_you: 'нравится ваш статус',\n repeated_you: 'повторил(а) ваш статус'\n },\n login: {\n login: 'Войти',\n username: 'Имя пользователя',\n password: 'Пароль',\n register: 'Зарегистрироваться',\n logout: 'Выйти'\n },\n registration: {\n registration: 'Регистрация',\n fullname: 'Отображаемое имя',\n email: 'Email',\n bio: 'Описание',\n password_confirm: 'Подтверждение пароля'\n },\n post_status: {\n posting: 'Отправляется',\n default: 'Что нового?'\n },\n finder: {\n find_user: 'Найти пользователя',\n error_fetching_user: 'Пользователь не найден'\n },\n general: {\n submit: 'Отправить',\n apply: 'Применить'\n },\n user_profile: {\n timeline_title: 'Лента пользователя'\n }\n}\nconst nb = {\n chat: {\n title: 'Chat'\n },\n nav: {\n chat: 'Lokal Chat',\n timeline: 'Tidslinje',\n mentions: 'Nevnt',\n public_tl: 'Offentlig Tidslinje',\n twkn: 'Det hele kjente nettverket'\n },\n user_card: {\n follows_you: 'Følger deg!',\n following: 'Følger!',\n follow: 'Følg',\n blocked: 'Blokkert!',\n block: 'Blokker',\n statuses: 'Statuser',\n mute: 'Demp',\n muted: 'Dempet',\n followers: 'Følgere',\n followees: 'Følger',\n per_day: 'per dag',\n remote_follow: 'Følg eksternt'\n },\n timeline: {\n show_new: 'Vis nye',\n error_fetching: 'Feil ved henting av oppdateringer',\n up_to_date: 'Oppdatert',\n load_older: 'Last eldre statuser',\n conversation: 'Samtale',\n collapse: 'Sammenfold',\n repeated: 'gjentok'\n },\n settings: {\n user_settings: 'Brukerinstillinger',\n name_bio: 'Navn & Biografi',\n name: 'Navn',\n bio: 'Biografi',\n avatar: 'Profilbilde',\n current_avatar: 'Ditt nåværende profilbilde',\n set_new_avatar: 'Rediger profilbilde',\n profile_banner: 'Profil-banner',\n current_profile_banner: 'Din nåværende profil-banner',\n set_new_profile_banner: 'Sett ny profil-banner',\n profile_background: 'Profil-bakgrunn',\n set_new_profile_background: 'Rediger profil-bakgrunn',\n settings: 'Innstillinger',\n theme: 'Tema',\n presets: 'Forhåndsdefinerte fargekoder',\n theme_help: 'Bruk heksadesimale fargekoder (#rrggbb) til å endre farge-temaet ditt.',\n radii_help: 'Bestem hvor runde hjørnene i brukergrensesnittet skal være (i piksler)',\n background: 'Bakgrunn',\n foreground: 'Framgrunn',\n text: 'Tekst',\n links: 'Linker',\n cBlue: 'Blå (Svar, følg)',\n cRed: 'Rød (Avbryt)',\n cOrange: 'Oransje (Lik)',\n cGreen: 'Grønn (Gjenta)',\n btnRadius: 'Knapper',\n panelRadius: 'Panel',\n avatarRadius: 'Profilbilde',\n avatarAltRadius: 'Profilbilde (Varslinger)',\n tooltipRadius: 'Verktøytips/advarsler',\n attachmentRadius: 'Vedlegg',\n filtering: 'Filtrering',\n filtering_explanation: 'Alle statuser som inneholder disse ordene vil bli dempet, en kombinasjon av tegn per linje',\n attachments: 'Vedlegg',\n hide_attachments_in_tl: 'Gjem vedlegg på tidslinje',\n hide_attachments_in_convo: 'Gjem vedlegg i samtaler',\n nsfw_clickthrough: 'Krev trykk for å vise statuser som kan være upassende',\n stop_gifs: 'Spill av GIFs når du holder over dem',\n autoload: 'Automatisk lasting når du blar ned til bunnen',\n streaming: 'Automatisk strømming av nye statuser når du har bladd til toppen',\n reply_link_preview: 'Vis en forhåndsvisning når du holder musen over svar til en status',\n follow_import: 'Importer følginger',\n import_followers_from_a_csv_file: 'Importer følginger fra en csv fil',\n follows_imported: 'Følginger imported! Det vil ta litt tid å behandle de.',\n follow_import_error: 'Feil ved importering av følginger.'\n },\n notifications: {\n notifications: 'Varslinger',\n read: 'Les!',\n followed_you: 'fulgte deg',\n favorited_you: 'likte din status',\n repeated_you: 'Gjentok din status'\n },\n login: {\n login: 'Logg inn',\n username: 'Brukernavn',\n password: 'Passord',\n register: 'Registrer',\n logout: 'Logg ut'\n },\n registration: {\n registration: 'Registrering',\n fullname: 'Visningsnavn',\n email: 'Epost-adresse',\n bio: 'Biografi',\n password_confirm: 'Bekreft passord'\n },\n post_status: {\n posting: 'Publiserer',\n default: 'Landet akkurat i L.A.'\n },\n finder: {\n find_user: 'Finn bruker',\n error_fetching_user: 'Feil ved henting av bruker'\n },\n general: {\n submit: 'Legg ut',\n apply: 'Bruk'\n },\n user_profile: {\n timeline_title: 'Bruker-tidslinje'\n }\n}\n\nconst messages = {\n de,\n fi,\n en,\n eo,\n et,\n hu,\n ro,\n ja,\n fr,\n it,\n oc,\n pl,\n es,\n pt,\n ru,\n nb\n}\n\nexport default messages\n\n\n\n// WEBPACK FOOTER //\n// ./src/i18n/messages.js","import merge from 'lodash.merge'\nimport objectPath from 'object-path'\nimport localforage from 'localforage'\nimport { throttle, each } from 'lodash'\n\nlet loaded = false\n\nconst defaultReducer = (state, paths) => (\n paths.length === 0 ? state : paths.reduce((substate, path) => {\n objectPath.set(substate, path, objectPath.get(state, path))\n return substate\n }, {})\n)\n\nconst defaultStorage = (() => {\n return localforage\n})()\n\nconst defaultSetState = (key, state, storage) => {\n if (!loaded) {\n console.log('waiting for old state to be loaded...')\n } else {\n return storage.setItem(key, state)\n }\n}\n\nexport default function createPersistedState ({\n key = 'vuex-lz',\n paths = [],\n getState = (key, storage) => {\n let value = storage.getItem(key)\n return value\n },\n setState = throttle(defaultSetState, 60000),\n reducer = defaultReducer,\n storage = defaultStorage,\n subscriber = store => handler => store.subscribe(handler)\n} = {}) {\n return store => {\n getState(key, storage).then((savedState) => {\n try {\n if (typeof savedState === 'object') {\n // build user cache\n const usersState = savedState.users || {}\n usersState.usersObject = {}\n const users = usersState.users || []\n each(users, (user) => { usersState.usersObject[user.id] = user })\n savedState.users = usersState\n\n store.replaceState(\n merge({}, store.state, savedState)\n )\n }\n if (store.state.config.customTheme) {\n // This is a hack to deal with async loading of config.json and themes\n // See: style_setter.js, setPreset()\n window.themeLoaded = true\n store.dispatch('setOption', {\n name: 'customTheme',\n value: store.state.config.customTheme\n })\n }\n if (store.state.users.lastLoginName) {\n store.dispatch('loginUser', {username: store.state.users.lastLoginName, password: 'xxx'})\n }\n loaded = true\n } catch (e) {\n console.log(\"Couldn't load state\")\n loaded = true\n }\n })\n\n subscriber(store)((mutation, state) => {\n try {\n setState(key, reducer(state, paths), storage)\n } catch (e) {\n console.log(\"Couldn't persist state:\")\n console.log(e)\n }\n })\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/lib/persisted_state.js","import backendInteractorService from '../services/backend_interactor_service/backend_interactor_service.js'\nimport {isArray} from 'lodash'\nimport { Socket } from 'phoenix'\n\nconst api = {\n state: {\n backendInteractor: backendInteractorService(),\n fetchers: {},\n socket: null,\n chatDisabled: false\n },\n mutations: {\n setBackendInteractor (state, backendInteractor) {\n state.backendInteractor = backendInteractor\n },\n addFetcher (state, {timeline, fetcher}) {\n state.fetchers[timeline] = fetcher\n },\n removeFetcher (state, {timeline}) {\n delete state.fetchers[timeline]\n },\n setSocket (state, socket) {\n state.socket = socket\n },\n setChatDisabled (state, value) {\n state.chatDisabled = value\n }\n },\n actions: {\n startFetching (store, timeline) {\n let userId = false\n\n // This is for user timelines\n if (isArray(timeline)) {\n userId = timeline[1]\n timeline = timeline[0]\n }\n\n // Don't start fetching if we already are.\n if (!store.state.fetchers[timeline]) {\n const fetcher = store.state.backendInteractor.startFetching({timeline, store, userId})\n store.commit('addFetcher', {timeline, fetcher})\n }\n },\n stopFetching (store, timeline) {\n const fetcher = store.state.fetchers[timeline]\n window.clearInterval(fetcher)\n store.commit('removeFetcher', {timeline})\n },\n initializeSocket (store, token) {\n // Set up websocket connection\n if (!store.state.chatDisabled) {\n let socket = new Socket('/socket', {params: {token: token}})\n socket.connect()\n store.dispatch('initializeChat', socket)\n }\n },\n disableChat (store) {\n store.commit('setChatDisabled', true)\n }\n }\n}\n\nexport default api\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/api.js","const chat = {\n state: {\n messages: [],\n channel: {state: ''}\n },\n mutations: {\n setChannel (state, channel) {\n state.channel = channel\n },\n addMessage (state, message) {\n state.messages.push(message)\n state.messages = state.messages.slice(-19, 20)\n },\n setMessages (state, messages) {\n state.messages = messages.slice(-19, 20)\n }\n },\n actions: {\n initializeChat (store, socket) {\n const channel = socket.channel('chat:public')\n channel.on('new_msg', (msg) => {\n store.commit('addMessage', msg)\n })\n channel.on('messages', ({messages}) => {\n store.commit('setMessages', messages)\n })\n channel.join()\n store.commit('setChannel', channel)\n }\n }\n}\n\nexport default chat\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/chat.js","import { set } from 'vue'\nimport StyleSetter from '../services/style_setter/style_setter.js'\n\nconst defaultState = {\n name: 'Pleroma FE',\n colors: {},\n hideAttachments: false,\n hideAttachmentsInConv: false,\n hideNsfw: true,\n autoLoad: true,\n streaming: false,\n hoverPreview: true,\n muteWords: []\n}\n\nconst config = {\n state: defaultState,\n mutations: {\n setOption (state, { name, value }) {\n set(state, name, value)\n }\n },\n actions: {\n setPageTitle ({state}, option = '') {\n document.title = `${option} ${state.name}`\n },\n setOption ({ commit, dispatch }, { name, value }) {\n commit('setOption', {name, value})\n switch (name) {\n case 'name':\n dispatch('setPageTitle')\n break\n case 'theme':\n StyleSetter.setPreset(value, commit)\n break\n case 'customTheme':\n StyleSetter.setColors(value, commit)\n }\n }\n }\n}\n\nexport default config\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/config.js","import backendInteractorService from '../services/backend_interactor_service/backend_interactor_service.js'\nimport { compact, map, each, merge } from 'lodash'\nimport { set } from 'vue'\n\n// TODO: Unify with mergeOrAdd in statuses.js\nexport const mergeOrAdd = (arr, obj, item) => {\n if (!item) { return false }\n const oldItem = obj[item.id]\n if (oldItem) {\n // We already have this, so only merge the new info.\n merge(oldItem, item)\n return {item: oldItem, new: false}\n } else {\n // This is a new item, prepare it\n arr.push(item)\n obj[item.id] = item\n return {item, new: true}\n }\n}\n\nexport const mutations = {\n setMuted (state, { user: {id}, muted }) {\n const user = state.usersObject[id]\n set(user, 'muted', muted)\n },\n setCurrentUser (state, user) {\n state.lastLoginName = user.screen_name\n state.currentUser = merge(state.currentUser || {}, user)\n },\n clearCurrentUser (state) {\n state.currentUser = false\n state.lastLoginName = false\n },\n beginLogin (state) {\n state.loggingIn = true\n },\n endLogin (state) {\n state.loggingIn = false\n },\n addNewUsers (state, users) {\n each(users, (user) => mergeOrAdd(state.users, state.usersObject, user))\n },\n setUserForStatus (state, status) {\n status.user = state.usersObject[status.user.id]\n }\n}\n\nexport const defaultState = {\n lastLoginName: false,\n currentUser: false,\n loggingIn: false,\n users: [],\n usersObject: {}\n}\n\nconst users = {\n state: defaultState,\n mutations,\n actions: {\n fetchUser (store, id) {\n store.rootState.api.backendInteractor.fetchUser({id})\n .then((user) => store.commit('addNewUsers', user))\n },\n addNewStatuses (store, { statuses }) {\n const users = map(statuses, 'user')\n const retweetedUsers = compact(map(statuses, 'retweeted_status.user'))\n store.commit('addNewUsers', users)\n store.commit('addNewUsers', retweetedUsers)\n\n // Reconnect users to statuses\n each(statuses, (status) => {\n store.commit('setUserForStatus', status)\n })\n // Reconnect users to retweets\n each(compact(map(statuses, 'retweeted_status')), (status) => {\n store.commit('setUserForStatus', status)\n })\n },\n logout (store) {\n store.commit('clearCurrentUser')\n store.dispatch('stopFetching', 'friends')\n store.commit('setBackendInteractor', backendInteractorService())\n },\n loginUser (store, userCredentials) {\n return new Promise((resolve, reject) => {\n const commit = store.commit\n commit('beginLogin')\n store.rootState.api.backendInteractor.verifyCredentials(userCredentials)\n .then((response) => {\n if (response.ok) {\n response.json()\n .then((user) => {\n user.credentials = userCredentials\n commit('setCurrentUser', user)\n commit('addNewUsers', [user])\n\n // Set our new backend interactor\n commit('setBackendInteractor', backendInteractorService(userCredentials))\n\n if (user.token) {\n store.dispatch('initializeSocket', user.token)\n }\n\n // Start getting fresh tweets.\n store.dispatch('startFetching', 'friends')\n\n // Get user mutes and follower info\n store.rootState.api.backendInteractor.fetchMutes().then((mutedUsers) => {\n each(mutedUsers, (user) => { user.muted = true })\n store.commit('addNewUsers', mutedUsers)\n })\n\n if ('Notification' in window && window.Notification.permission === 'default') {\n window.Notification.requestPermission()\n }\n\n // Fetch our friends\n store.rootState.api.backendInteractor.fetchFriends()\n .then((friends) => commit('addNewUsers', friends))\n })\n } else {\n // Authentication failed\n commit('endLogin')\n if (response.status === 401) {\n reject('Wrong username or password')\n } else {\n reject('An error occurred, please try again')\n }\n }\n commit('endLogin')\n resolve()\n })\n .catch((error) => {\n console.log(error)\n commit('endLogin')\n reject('Failed to connect to server, try again')\n })\n })\n }\n }\n}\n\nexport default users\n\n\n\n// WEBPACK FOOTER //\n// ./src/modules/users.js","import { reduce, find } from 'lodash'\n\nexport const replaceWord = (str, toReplace, replacement) => {\n return str.slice(0, toReplace.start) + replacement + str.slice(toReplace.end)\n}\n\nexport const wordAtPosition = (str, pos) => {\n const words = splitIntoWords(str)\n const wordsWithPosition = addPositionToWords(words)\n\n return find(wordsWithPosition, ({start, end}) => start <= pos && end > pos)\n}\n\nexport const addPositionToWords = (words) => {\n return reduce(words, (result, word) => {\n const data = {\n word,\n start: 0,\n end: word.length\n }\n\n if (result.length > 0) {\n const previous = result.pop()\n\n data.start += previous.end\n data.end += previous.end\n\n result.push(previous)\n }\n\n result.push(data)\n\n return result\n }, [])\n}\n\nexport const splitIntoWords = (str) => {\n // Split at word boundaries\n const regex = /\\b/\n const triggers = /[@#:]+$/\n\n let split = str.split(regex)\n\n // Add trailing @ and # to the following word.\n const words = reduce(split, (result, word) => {\n if (result.length > 0) {\n let previous = result.pop()\n const matches = previous.match(triggers)\n if (matches) {\n previous = previous.replace(triggers, '')\n word = matches[0] + word\n }\n result.push(previous)\n }\n result.push(word)\n\n return result\n }, [])\n\n return words\n}\n\nconst completion = {\n wordAtPosition,\n addPositionToWords,\n splitIntoWords,\n replaceWord\n}\n\nexport default completion\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/completion/completion.js","import { times } from 'lodash'\nimport { rgb2hex, hex2rgb } from '../color_convert/color_convert.js'\n\n// While this is not used anymore right now, I left it in if we want to do custom\n// styles that aren't just colors, so user can pick from a few different distinct\n// styles as well as set their own colors in the future.\n\nconst setStyle = (href, commit) => {\n /***\n What's going on here?\n I want to make it easy for admins to style this application. To have\n a good set of default themes, I chose the system from base16\n (https://chriskempson.github.io/base16/) to style all elements. They\n all have the base00..0F classes. So the only thing an admin needs to\n do to style Pleroma is to change these colors in that one css file.\n Some default things (body text color, link color) need to be set dy-\n namically, so this is done here by waiting for the stylesheet to be\n loaded and then creating an element with the respective classes.\n\n It is a bit weird, but should make life for admins somewhat easier.\n ***/\n const head = document.head\n const body = document.body\n body.style.display = 'none'\n const cssEl = document.createElement('link')\n cssEl.setAttribute('rel', 'stylesheet')\n cssEl.setAttribute('href', href)\n head.appendChild(cssEl)\n\n const setDynamic = () => {\n const baseEl = document.createElement('div')\n body.appendChild(baseEl)\n\n let colors = {}\n times(16, (n) => {\n const name = `base0${n.toString(16).toUpperCase()}`\n baseEl.setAttribute('class', name)\n const color = window.getComputedStyle(baseEl).getPropertyValue('color')\n colors[name] = color\n })\n\n commit('setOption', { name: 'colors', value: colors })\n\n body.removeChild(baseEl)\n\n const styleEl = document.createElement('style')\n head.appendChild(styleEl)\n // const styleSheet = styleEl.sheet\n\n body.style.display = 'initial'\n }\n\n cssEl.addEventListener('load', setDynamic)\n}\n\nconst setColors = (col, commit) => {\n const head = document.head\n const body = document.body\n body.style.display = 'none'\n\n const styleEl = document.createElement('style')\n head.appendChild(styleEl)\n const styleSheet = styleEl.sheet\n\n const isDark = (col.text.r + col.text.g + col.text.b) > (col.bg.r + col.bg.g + col.bg.b)\n let colors = {}\n let radii = {}\n\n const mod = isDark ? -10 : 10\n\n colors.bg = rgb2hex(col.bg.r, col.bg.g, col.bg.b) // background\n colors.lightBg = rgb2hex((col.bg.r + col.fg.r) / 2, (col.bg.g + col.fg.g) / 2, (col.bg.b + col.fg.b) / 2) // hilighted bg\n colors.btn = rgb2hex(col.fg.r, col.fg.g, col.fg.b) // panels & buttons\n colors.input = `rgba(${col.fg.r}, ${col.fg.g}, ${col.fg.b}, .5)`\n colors.border = rgb2hex(col.fg.r - mod, col.fg.g - mod, col.fg.b - mod) // borders\n colors.faint = `rgba(${col.text.r}, ${col.text.g}, ${col.text.b}, .5)`\n colors.fg = rgb2hex(col.text.r, col.text.g, col.text.b) // text\n colors.lightFg = rgb2hex(col.text.r - mod * 5, col.text.g - mod * 5, col.text.b - mod * 5) // strong text\n\n colors['base07'] = rgb2hex(col.text.r - mod * 2, col.text.g - mod * 2, col.text.b - mod * 2)\n\n colors.link = rgb2hex(col.link.r, col.link.g, col.link.b) // links\n colors.icon = rgb2hex((col.bg.r + col.text.r) / 2, (col.bg.g + col.text.g) / 2, (col.bg.b + col.text.b) / 2) // icons\n\n colors.cBlue = col.cBlue && rgb2hex(col.cBlue.r, col.cBlue.g, col.cBlue.b)\n colors.cRed = col.cRed && rgb2hex(col.cRed.r, col.cRed.g, col.cRed.b)\n colors.cGreen = col.cGreen && rgb2hex(col.cGreen.r, col.cGreen.g, col.cGreen.b)\n colors.cOrange = col.cOrange && rgb2hex(col.cOrange.r, col.cOrange.g, col.cOrange.b)\n\n colors.cAlertRed = col.cRed && `rgba(${col.cRed.r}, ${col.cRed.g}, ${col.cRed.b}, .5)`\n\n radii.btnRadius = col.btnRadius\n radii.inputRadius = col.inputRadius\n radii.panelRadius = col.panelRadius\n radii.avatarRadius = col.avatarRadius\n radii.avatarAltRadius = col.avatarAltRadius\n radii.tooltipRadius = col.tooltipRadius\n radii.attachmentRadius = col.attachmentRadius\n\n styleSheet.toString()\n styleSheet.insertRule(`body { ${Object.entries(colors).filter(([k, v]) => v).map(([k, v]) => `--${k}: ${v}`).join(';')} }`, 'index-max')\n styleSheet.insertRule(`body { ${Object.entries(radii).filter(([k, v]) => v).map(([k, v]) => `--${k}: ${v}px`).join(';')} }`, 'index-max')\n body.style.display = 'initial'\n\n commit('setOption', { name: 'colors', value: colors })\n commit('setOption', { name: 'radii', value: radii })\n commit('setOption', { name: 'customTheme', value: col })\n}\n\nconst setPreset = (val, commit) => {\n window.fetch('/static/styles.json')\n .then((data) => data.json())\n .then((themes) => {\n const theme = themes[val] ? themes[val] : themes['pleroma-dark']\n const bgRgb = hex2rgb(theme[1])\n const fgRgb = hex2rgb(theme[2])\n const textRgb = hex2rgb(theme[3])\n const linkRgb = hex2rgb(theme[4])\n\n const cRedRgb = hex2rgb(theme[5] || '#FF0000')\n const cGreenRgb = hex2rgb(theme[6] || '#00FF00')\n const cBlueRgb = hex2rgb(theme[7] || '#0000FF')\n const cOrangeRgb = hex2rgb(theme[8] || '#E3FF00')\n\n const col = {\n bg: bgRgb,\n fg: fgRgb,\n text: textRgb,\n link: linkRgb,\n cRed: cRedRgb,\n cBlue: cBlueRgb,\n cGreen: cGreenRgb,\n cOrange: cOrangeRgb\n }\n\n // This is a hack, this function is only called during initial load.\n // We want to cancel loading the theme from config.json if we're already\n // loading a theme from the persisted state.\n // Needed some way of dealing with the async way of things.\n // load config -> set preset -> wait for styles.json to load ->\n // load persisted state -> set colors -> styles.json loaded -> set colors\n if (!window.themeLoaded) {\n setColors(col, commit)\n }\n })\n}\n\nconst StyleSetter = {\n setStyle,\n setPreset,\n setColors\n}\n\nexport default StyleSetter\n\n\n\n// WEBPACK FOOTER //\n// ./src/services/style_setter/style_setter.js","import UserPanel from './components/user_panel/user_panel.vue'\nimport NavPanel from './components/nav_panel/nav_panel.vue'\nimport Notifications from './components/notifications/notifications.vue'\nimport UserFinder from './components/user_finder/user_finder.vue'\nimport WhoToFollowPanel from './components/who_to_follow_panel/who_to_follow_panel.vue'\nimport InstanceSpecificPanel from './components/instance_specific_panel/instance_specific_panel.vue'\nimport ChatPanel from './components/chat_panel/chat_panel.vue'\n\nexport default {\n name: 'app',\n components: {\n UserPanel,\n NavPanel,\n Notifications,\n UserFinder,\n WhoToFollowPanel,\n InstanceSpecificPanel,\n ChatPanel\n },\n data: () => ({\n mobileActivePanel: 'timeline'\n }),\n computed: {\n currentUser () { return this.$store.state.users.currentUser },\n background () {\n return this.currentUser.background_image || this.$store.state.config.background\n },\n logoStyle () { return { 'background-image': `url(${this.$store.state.config.logo})` } },\n style () { return { 'background-image': `url(${this.background})` } },\n sitename () { return this.$store.state.config.name },\n chat () { return this.$store.state.chat.channel.state === 'joined' },\n showWhoToFollowPanel () { return this.$store.state.config.showWhoToFollowPanel },\n showInstanceSpecificPanel () { return this.$store.state.config.showInstanceSpecificPanel }\n },\n methods: {\n activatePanel (panelName) {\n this.mobileActivePanel = panelName\n },\n scrollToTop () {\n window.scrollTo(0, 0)\n },\n logout () {\n this.$store.dispatch('logout')\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/App.js","import StillImage from '../still-image/still-image.vue'\nimport nsfwImage from '../../assets/nsfw.png'\nimport fileTypeService from '../../services/file_type/file_type.service.js'\n\nconst Attachment = {\n props: [\n 'attachment',\n 'nsfw',\n 'statusId',\n 'size'\n ],\n data () {\n return {\n nsfwImage,\n hideNsfwLocal: this.$store.state.config.hideNsfw,\n showHidden: false,\n loading: false,\n img: document.createElement('img')\n }\n },\n components: {\n StillImage\n },\n computed: {\n type () {\n return fileTypeService.fileType(this.attachment.mimetype)\n },\n hidden () {\n return this.nsfw && this.hideNsfwLocal && !this.showHidden\n },\n isEmpty () {\n return (this.type === 'html' && !this.attachment.oembed) || this.type === 'unknown'\n },\n isSmall () {\n return this.size === 'small'\n },\n fullwidth () {\n return fileTypeService.fileType(this.attachment.mimetype) === 'html'\n }\n },\n methods: {\n linkClicked ({target}) {\n if (target.tagName === 'A') {\n window.open(target.href, '_blank')\n }\n },\n toggleHidden () {\n if (this.img.onload) {\n this.img.onload()\n } else {\n this.loading = true\n this.img.src = this.attachment.url\n this.img.onload = () => {\n this.loading = false\n this.showHidden = !this.showHidden\n }\n }\n }\n }\n}\n\nexport default Attachment\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/attachment/attachment.js","const chatPanel = {\n data () {\n return {\n currentMessage: '',\n channel: null,\n collapsed: true\n }\n },\n computed: {\n messages () {\n return this.$store.state.chat.messages\n }\n },\n methods: {\n submit (message) {\n this.$store.state.chat.channel.push('new_msg', {text: message}, 10000)\n this.currentMessage = ''\n },\n togglePanel () {\n this.collapsed = !this.collapsed\n }\n }\n}\n\nexport default chatPanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/chat_panel/chat_panel.js","import Conversation from '../conversation/conversation.vue'\nimport { find, toInteger } from 'lodash'\n\nconst conversationPage = {\n components: {\n Conversation\n },\n computed: {\n statusoid () {\n const id = toInteger(this.$route.params.id)\n const statuses = this.$store.state.statuses.allStatuses\n const status = find(statuses, {id})\n\n return status\n }\n }\n}\n\nexport default conversationPage\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/conversation-page/conversation-page.js","import { reduce, filter, sortBy } from 'lodash'\nimport { statusType } from '../../modules/statuses.js'\nimport Status from '../status/status.vue'\n\nconst sortAndFilterConversation = (conversation) => {\n conversation = filter(conversation, (status) => statusType(status) !== 'retweet')\n return sortBy(conversation, 'id')\n}\n\nconst conversation = {\n data () {\n return {\n highlight: null\n }\n },\n props: [\n 'statusoid',\n 'collapsable'\n ],\n computed: {\n status () { return this.statusoid },\n conversation () {\n if (!this.status) {\n return false\n }\n\n const conversationId = this.status.statusnet_conversation_id\n const statuses = this.$store.state.statuses.allStatuses\n const conversation = filter(statuses, { statusnet_conversation_id: conversationId })\n return sortAndFilterConversation(conversation)\n },\n replies () {\n let i = 1\n return reduce(this.conversation, (result, {id, in_reply_to_status_id}) => {\n const irid = Number(in_reply_to_status_id)\n if (irid) {\n result[irid] = result[irid] || []\n result[irid].push({\n name: `#${i}`,\n id: id\n })\n }\n i++\n return result\n }, {})\n }\n },\n components: {\n Status\n },\n created () {\n this.fetchConversation()\n },\n watch: {\n '$route': 'fetchConversation'\n },\n methods: {\n fetchConversation () {\n if (this.status) {\n const conversationId = this.status.statusnet_conversation_id\n this.$store.state.api.backendInteractor.fetchConversation({id: conversationId})\n .then((statuses) => this.$store.dispatch('addNewStatuses', { statuses }))\n .then(() => this.setHighlight(this.statusoid.id))\n } else {\n const id = this.$route.params.id\n this.$store.state.api.backendInteractor.fetchStatus({id})\n .then((status) => this.$store.dispatch('addNewStatuses', { statuses: [status] }))\n .then(() => this.fetchConversation())\n }\n },\n getReplies (id) {\n id = Number(id)\n return this.replies[id] || []\n },\n focused (id) {\n if (this.statusoid.retweeted_status) {\n return (id === this.statusoid.retweeted_status.id)\n } else {\n return (id === this.statusoid.id)\n }\n },\n setHighlight (id) {\n this.highlight = Number(id)\n }\n }\n}\n\nexport default conversation\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/conversation/conversation.js","const DeleteButton = {\n props: [ 'status' ],\n methods: {\n deleteStatus () {\n const confirmed = window.confirm('Do you really want to delete this status?')\n if (confirmed) {\n this.$store.dispatch('deleteStatus', { id: this.status.id })\n }\n }\n },\n computed: {\n currentUser () { return this.$store.state.users.currentUser },\n canDelete () { return this.currentUser && this.currentUser.rights.delete_others_notice || this.status.user.id === this.currentUser.id }\n }\n}\n\nexport default DeleteButton\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/delete_button/delete_button.js","const FavoriteButton = {\n props: ['status', 'loggedIn'],\n data () {\n return {\n animated: false\n }\n },\n methods: {\n favorite () {\n if (!this.status.favorited) {\n this.$store.dispatch('favorite', {id: this.status.id})\n } else {\n this.$store.dispatch('unfavorite', {id: this.status.id})\n }\n this.animated = true\n setTimeout(() => {\n this.animated = false\n }, 500)\n }\n },\n computed: {\n classes () {\n return {\n 'icon-star-empty': !this.status.favorited,\n 'icon-star': this.status.favorited,\n 'animate-spin': this.animated\n }\n }\n }\n}\n\nexport default FavoriteButton\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/favorite_button/favorite_button.js","import Timeline from '../timeline/timeline.vue'\nconst FriendsTimeline = {\n components: {\n Timeline\n },\n computed: {\n timeline () { return this.$store.state.statuses.timelines.friends }\n }\n}\n\nexport default FriendsTimeline\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/friends_timeline/friends_timeline.js","const InstanceSpecificPanel = {\n computed: {\n instanceSpecificPanelContent () {\n return this.$store.state.config.instanceSpecificPanelContent\n }\n }\n}\n\nexport default InstanceSpecificPanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/instance_specific_panel/instance_specific_panel.js","const LoginForm = {\n data: () => ({\n user: {},\n authError: false\n }),\n computed: {\n loggingIn () { return this.$store.state.users.loggingIn },\n registrationOpen () { return this.$store.state.config.registrationOpen }\n },\n methods: {\n submit () {\n this.$store.dispatch('loginUser', this.user).then(\n () => {},\n (error) => {\n this.authError = error\n this.user.username = ''\n this.user.password = ''\n }\n )\n }\n }\n}\n\nexport default LoginForm\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/login_form/login_form.js","/* eslint-env browser */\nimport statusPosterService from '../../services/status_poster/status_poster.service.js'\n\nconst mediaUpload = {\n mounted () {\n const input = this.$el.querySelector('input')\n\n input.addEventListener('change', ({target}) => {\n const file = target.files[0]\n this.uploadFile(file)\n })\n },\n data () {\n return {\n uploading: false\n }\n },\n methods: {\n uploadFile (file) {\n const self = this\n const store = this.$store\n const formData = new FormData()\n formData.append('media', file)\n\n self.$emit('uploading')\n self.uploading = true\n\n statusPosterService.uploadMedia({ store, formData })\n .then((fileData) => {\n self.$emit('uploaded', fileData)\n self.uploading = false\n }, (error) => { // eslint-disable-line handle-callback-err\n self.$emit('upload-failed')\n self.uploading = false\n })\n },\n fileDrop (e) {\n if (e.dataTransfer.files.length > 0) {\n e.preventDefault() // allow dropping text like before\n this.uploadFile(e.dataTransfer.files[0])\n }\n },\n fileDrag (e) {\n let types = e.dataTransfer.types\n if (types.contains('Files')) {\n e.dataTransfer.dropEffect = 'copy'\n } else {\n e.dataTransfer.dropEffect = 'none'\n }\n }\n },\n props: [\n 'dropFiles'\n ],\n watch: {\n 'dropFiles': function (fileInfos) {\n if (!this.uploading) {\n this.uploadFile(fileInfos[0])\n }\n }\n }\n}\n\nexport default mediaUpload\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/media_upload/media_upload.js","import Timeline from '../timeline/timeline.vue'\n\nconst Mentions = {\n computed: {\n timeline () {\n return this.$store.state.statuses.timelines.mentions\n }\n },\n components: {\n Timeline\n }\n}\n\nexport default Mentions\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/mentions/mentions.js","const NavPanel = {\n computed: {\n currentUser () {\n return this.$store.state.users.currentUser\n },\n chat () {\n return this.$store.state.chat.channel\n }\n }\n}\n\nexport default NavPanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/nav_panel/nav_panel.js","import Status from '../status/status.vue'\nimport StillImage from '../still-image/still-image.vue'\nimport UserCardContent from '../user_card_content/user_card_content.vue'\n\nconst Notification = {\n data () {\n return {\n userExpanded: false\n }\n },\n props: [\n 'notification'\n ],\n components: {\n Status, StillImage, UserCardContent\n },\n methods: {\n toggleUserExpanded () {\n this.userExpanded = !this.userExpanded\n }\n }\n}\n\nexport default Notification\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/notification/notification.js","import Notification from '../notification/notification.vue'\n\nimport { sortBy, take, filter } from 'lodash'\n\nconst Notifications = {\n data () {\n return {\n visibleNotificationCount: 20\n }\n },\n computed: {\n notifications () {\n return this.$store.state.statuses.notifications\n },\n unseenNotifications () {\n return filter(this.notifications, ({seen}) => !seen)\n },\n visibleNotifications () {\n // Don't know why, but sortBy([seen, -action.id]) doesn't work.\n let sortedNotifications = sortBy(this.notifications, ({action}) => -action.id)\n sortedNotifications = sortBy(sortedNotifications, 'seen')\n return take(sortedNotifications, this.visibleNotificationCount)\n },\n unseenCount () {\n return this.unseenNotifications.length\n }\n },\n components: {\n Notification\n },\n watch: {\n unseenCount (count) {\n if (count > 0) {\n this.$store.dispatch('setPageTitle', `(${count})`)\n } else {\n this.$store.dispatch('setPageTitle', '')\n }\n }\n },\n methods: {\n markAsSeen () {\n this.$store.commit('markNotificationsAsSeen', this.visibleNotifications)\n }\n }\n}\n\nexport default Notifications\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/notifications/notifications.js","import statusPoster from '../../services/status_poster/status_poster.service.js'\nimport MediaUpload from '../media_upload/media_upload.vue'\nimport fileTypeService from '../../services/file_type/file_type.service.js'\nimport Completion from '../../services/completion/completion.js'\nimport { take, filter, reject, map, uniqBy } from 'lodash'\n\nconst buildMentionsString = ({user, attentions}, currentUser) => {\n let allAttentions = [...attentions]\n\n allAttentions.unshift(user)\n\n allAttentions = uniqBy(allAttentions, 'id')\n allAttentions = reject(allAttentions, {id: currentUser.id})\n\n let mentions = map(allAttentions, (attention) => {\n return `@${attention.screen_name}`\n })\n\n return mentions.join(' ') + ' '\n}\n\nconst PostStatusForm = {\n props: [\n 'replyTo',\n 'repliedUser',\n 'attentions'\n ],\n components: {\n MediaUpload\n },\n mounted () {\n this.resize(this.$refs.textarea)\n },\n data () {\n const preset = this.$route.query.message\n let statusText = preset || ''\n\n if (this.replyTo) {\n const currentUser = this.$store.state.users.currentUser\n statusText = buildMentionsString({ user: this.repliedUser, attentions: this.attentions }, currentUser)\n }\n\n return {\n dropFiles: [],\n submitDisabled: false,\n error: null,\n posting: false,\n highlighted: 0,\n newStatus: {\n status: statusText,\n files: []\n },\n caret: 0\n }\n },\n computed: {\n candidates () {\n const firstchar = this.textAtCaret.charAt(0)\n if (firstchar === '@') {\n const matchedUsers = filter(this.users, (user) => (String(user.name + user.screen_name)).toUpperCase()\n .match(this.textAtCaret.slice(1).toUpperCase()))\n if (matchedUsers.length <= 0) {\n return false\n }\n // eslint-disable-next-line camelcase\n return map(take(matchedUsers, 5), ({screen_name, name, profile_image_url_original}, index) => ({\n // eslint-disable-next-line camelcase\n screen_name: `@${screen_name}`,\n name: name,\n img: profile_image_url_original,\n highlighted: index === this.highlighted\n }))\n } else if (firstchar === ':') {\n if (this.textAtCaret === ':') { return }\n const matchedEmoji = filter(this.emoji.concat(this.customEmoji), (emoji) => emoji.shortcode.match(this.textAtCaret.slice(1)))\n if (matchedEmoji.length <= 0) {\n return false\n }\n return map(take(matchedEmoji, 5), ({shortcode, image_url, utf}, index) => ({\n // eslint-disable-next-line camelcase\n screen_name: `:${shortcode}:`,\n name: '',\n utf: utf || '',\n img: image_url,\n highlighted: index === this.highlighted\n }))\n } else {\n return false\n }\n },\n textAtCaret () {\n return (this.wordAtCaret || {}).word || ''\n },\n wordAtCaret () {\n const word = Completion.wordAtPosition(this.newStatus.status, this.caret - 1) || {}\n return word\n },\n users () {\n return this.$store.state.users.users\n },\n emoji () {\n return this.$store.state.config.emoji || []\n },\n customEmoji () {\n return this.$store.state.config.customEmoji || []\n },\n statusLength () {\n return this.newStatus.status.length\n },\n statusLengthLimit () {\n return this.$store.state.config.textlimit\n },\n hasStatusLengthLimit () {\n return this.statusLengthLimit > 0\n },\n charactersLeft () {\n return this.statusLengthLimit - this.statusLength\n },\n isOverLengthLimit () {\n return this.hasStatusLengthLimit && (this.statusLength > this.statusLengthLimit)\n }\n },\n methods: {\n replace (replacement) {\n this.newStatus.status = Completion.replaceWord(this.newStatus.status, this.wordAtCaret, replacement)\n const el = this.$el.querySelector('textarea')\n el.focus()\n this.caret = 0\n },\n replaceCandidate (e) {\n const len = this.candidates.length || 0\n if (this.textAtCaret === ':' || e.ctrlKey) { return }\n if (len > 0) {\n e.preventDefault()\n const candidate = this.candidates[this.highlighted]\n const replacement = candidate.utf || (candidate.screen_name + ' ')\n this.newStatus.status = Completion.replaceWord(this.newStatus.status, this.wordAtCaret, replacement)\n const el = this.$el.querySelector('textarea')\n el.focus()\n this.caret = 0\n this.highlighted = 0\n }\n },\n cycleBackward (e) {\n const len = this.candidates.length || 0\n if (len > 0) {\n e.preventDefault()\n this.highlighted -= 1\n if (this.highlighted < 0) {\n this.highlighted = this.candidates.length - 1\n }\n } else {\n this.highlighted = 0\n }\n },\n cycleForward (e) {\n const len = this.candidates.length || 0\n if (len > 0) {\n if (e.shiftKey) { return }\n e.preventDefault()\n this.highlighted += 1\n if (this.highlighted >= len) {\n this.highlighted = 0\n }\n } else {\n this.highlighted = 0\n }\n },\n setCaret ({target: {selectionStart}}) {\n this.caret = selectionStart\n },\n postStatus (newStatus) {\n if (this.posting) { return }\n if (this.submitDisabled) { return }\n\n if (this.newStatus.status === '') {\n if (this.newStatus.files.length > 0) {\n this.newStatus.status = '\\u200b' // hack\n } else {\n this.error = 'Cannot post an empty status with no files'\n return\n }\n }\n\n this.posting = true\n statusPoster.postStatus({\n status: newStatus.status,\n media: newStatus.files,\n store: this.$store,\n inReplyToStatusId: this.replyTo\n }).then((data) => {\n if (!data.error) {\n this.newStatus = {\n status: '',\n files: []\n }\n this.$emit('posted')\n let el = this.$el.querySelector('textarea')\n el.style.height = '16px'\n this.error = null\n } else {\n this.error = data.error\n }\n this.posting = false\n })\n },\n addMediaFile (fileInfo) {\n this.newStatus.files.push(fileInfo)\n this.enableSubmit()\n },\n removeMediaFile (fileInfo) {\n let index = this.newStatus.files.indexOf(fileInfo)\n this.newStatus.files.splice(index, 1)\n },\n disableSubmit () {\n this.submitDisabled = true\n },\n enableSubmit () {\n this.submitDisabled = false\n },\n type (fileInfo) {\n return fileTypeService.fileType(fileInfo.mimetype)\n },\n paste (e) {\n if (e.clipboardData.files.length > 0) {\n // Strangely, files property gets emptied after event propagation\n // Trying to wrap it in array doesn't work. Plus I doubt it's possible\n // to hold more than one file in clipboard.\n this.dropFiles = [e.clipboardData.files[0]]\n }\n },\n fileDrop (e) {\n if (e.dataTransfer.files.length > 0) {\n e.preventDefault() // allow dropping text like before\n this.dropFiles = e.dataTransfer.files\n }\n },\n fileDrag (e) {\n e.dataTransfer.dropEffect = 'copy'\n },\n resize (e) {\n const vertPadding = Number(window.getComputedStyle(e.target)['padding-top'].substr(0, 1)) +\n Number(window.getComputedStyle(e.target)['padding-bottom'].substr(0, 1))\n e.target.style.height = 'auto'\n e.target.style.height = `${e.target.scrollHeight - vertPadding}px`\n if (e.target.value === '') {\n e.target.style.height = '16px'\n }\n },\n clearError () {\n this.error = null\n }\n }\n}\n\nexport default PostStatusForm\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/post_status_form/post_status_form.js","import Timeline from '../timeline/timeline.vue'\nconst PublicAndExternalTimeline = {\n components: {\n Timeline\n },\n computed: {\n timeline () { return this.$store.state.statuses.timelines.publicAndExternal }\n },\n created () {\n this.$store.dispatch('startFetching', 'publicAndExternal')\n },\n destroyed () {\n this.$store.dispatch('stopFetching', 'publicAndExternal')\n }\n}\n\nexport default PublicAndExternalTimeline\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/public_and_external_timeline/public_and_external_timeline.js","import Timeline from '../timeline/timeline.vue'\nconst PublicTimeline = {\n components: {\n Timeline\n },\n computed: {\n timeline () { return this.$store.state.statuses.timelines.public }\n },\n created () {\n this.$store.dispatch('startFetching', 'public')\n },\n destroyed () {\n this.$store.dispatch('stopFetching', 'public')\n }\n\n}\n\nexport default PublicTimeline\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/public_timeline/public_timeline.js","const registration = {\n data: () => ({\n user: {},\n error: false,\n registering: false\n }),\n created () {\n if (!this.$store.state.config.registrationOpen || !!this.$store.state.users.currentUser) {\n this.$router.push('/main/all')\n }\n },\n computed: {\n termsofservice () { return this.$store.state.config.tos }\n },\n methods: {\n submit () {\n this.registering = true\n this.user.nickname = this.user.username\n this.$store.state.api.backendInteractor.register(this.user).then(\n (response) => {\n if (response.ok) {\n this.$store.dispatch('loginUser', this.user)\n this.$router.push('/main/all')\n this.registering = false\n } else {\n this.registering = false\n response.json().then((data) => {\n this.error = data.error\n })\n }\n }\n )\n }\n }\n}\n\nexport default registration\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/registration/registration.js","const RetweetButton = {\n props: ['status', 'loggedIn'],\n data () {\n return {\n animated: false\n }\n },\n methods: {\n retweet () {\n if (!this.status.repeated) {\n this.$store.dispatch('retweet', {id: this.status.id})\n }\n this.animated = true\n setTimeout(() => {\n this.animated = false\n }, 500)\n }\n },\n computed: {\n classes () {\n return {\n 'retweeted': this.status.repeated,\n 'animate-spin': this.animated\n }\n }\n }\n}\n\nexport default RetweetButton\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/retweet_button/retweet_button.js","import StyleSwitcher from '../style_switcher/style_switcher.vue'\nimport { filter, trim } from 'lodash'\n\nconst settings = {\n data () {\n return {\n hideAttachmentsLocal: this.$store.state.config.hideAttachments,\n hideAttachmentsInConvLocal: this.$store.state.config.hideAttachmentsInConv,\n hideNsfwLocal: this.$store.state.config.hideNsfw,\n muteWordsString: this.$store.state.config.muteWords.join('\\n'),\n autoLoadLocal: this.$store.state.config.autoLoad,\n streamingLocal: this.$store.state.config.streaming,\n hoverPreviewLocal: this.$store.state.config.hoverPreview,\n stopGifs: this.$store.state.config.stopGifs\n }\n },\n components: {\n StyleSwitcher\n },\n computed: {\n user () {\n return this.$store.state.users.currentUser\n }\n },\n watch: {\n hideAttachmentsLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideAttachments', value })\n },\n hideAttachmentsInConvLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideAttachmentsInConv', value })\n },\n hideNsfwLocal (value) {\n this.$store.dispatch('setOption', { name: 'hideNsfw', value })\n },\n autoLoadLocal (value) {\n this.$store.dispatch('setOption', { name: 'autoLoad', value })\n },\n streamingLocal (value) {\n this.$store.dispatch('setOption', { name: 'streaming', value })\n },\n hoverPreviewLocal (value) {\n this.$store.dispatch('setOption', { name: 'hoverPreview', value })\n },\n muteWordsString (value) {\n value = filter(value.split('\\n'), (word) => trim(word).length > 0)\n this.$store.dispatch('setOption', { name: 'muteWords', value })\n },\n stopGifs (value) {\n this.$store.dispatch('setOption', { name: 'stopGifs', value })\n }\n }\n}\n\nexport default settings\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/settings/settings.js","import Attachment from '../attachment/attachment.vue'\nimport FavoriteButton from '../favorite_button/favorite_button.vue'\nimport RetweetButton from '../retweet_button/retweet_button.vue'\nimport DeleteButton from '../delete_button/delete_button.vue'\nimport PostStatusForm from '../post_status_form/post_status_form.vue'\nimport UserCardContent from '../user_card_content/user_card_content.vue'\nimport StillImage from '../still-image/still-image.vue'\nimport { filter, find } from 'lodash'\n\nconst Status = {\n name: 'Status',\n props: [\n 'statusoid',\n 'expandable',\n 'inConversation',\n 'focused',\n 'highlight',\n 'compact',\n 'replies',\n 'noReplyLinks',\n 'noHeading',\n 'inlineExpanded'\n ],\n data: () => ({\n replying: false,\n expanded: false,\n unmuted: false,\n userExpanded: false,\n preview: null,\n showPreview: false,\n showingTall: false\n }),\n computed: {\n muteWords () {\n return this.$store.state.config.muteWords\n },\n hideAttachments () {\n return (this.$store.state.config.hideAttachments && !this.inConversation) ||\n (this.$store.state.config.hideAttachmentsInConv && this.inConversation)\n },\n retweet () { return !!this.statusoid.retweeted_status },\n retweeter () { return this.statusoid.user.name },\n status () {\n if (this.retweet) {\n return this.statusoid.retweeted_status\n } else {\n return this.statusoid\n }\n },\n loggedIn () {\n return !!this.$store.state.users.currentUser\n },\n muteWordHits () {\n const statusText = this.status.text.toLowerCase()\n const hits = filter(this.muteWords, (muteWord) => {\n return statusText.includes(muteWord.toLowerCase())\n })\n\n return hits\n },\n muted () { return !this.unmuted && (this.status.user.muted || this.muteWordHits.length > 0) },\n isReply () { return !!this.status.in_reply_to_status_id },\n isFocused () {\n // retweet or root of an expanded conversation\n if (this.focused) {\n return true\n } else if (!this.inConversation) {\n return false\n }\n // use conversation highlight only when in conversation\n return this.status.id === this.highlight\n },\n // This is a bit hacky, but we want to approximate post height before rendering\n // so we count newlines (masto uses for paragraphs, GS uses 20\n },\n attachmentSize () {\n if ((this.$store.state.config.hideAttachments && !this.inConversation) ||\n (this.$store.state.config.hideAttachmentsInConv && this.inConversation)) {\n return 'hide'\n } else if (this.compact) {\n return 'small'\n }\n return 'normal'\n }\n },\n components: {\n Attachment,\n FavoriteButton,\n RetweetButton,\n DeleteButton,\n PostStatusForm,\n UserCardContent,\n StillImage\n },\n methods: {\n visibilityIcon (visibility) {\n switch (visibility) {\n case 'private':\n return 'icon-lock'\n case 'unlisted':\n return 'icon-lock-open-alt'\n case 'direct':\n return 'icon-mail-alt'\n default:\n return 'icon-globe'\n }\n },\n linkClicked ({target}) {\n if (target.tagName === 'SPAN') {\n target = target.parentNode\n }\n if (target.tagName === 'A') {\n window.open(target.href, '_blank')\n }\n },\n toggleReplying () {\n this.replying = !this.replying\n },\n gotoOriginal (id) {\n // only handled by conversation, not status_or_conversation\n if (this.inConversation) {\n this.$emit('goto', id)\n }\n },\n toggleExpanded () {\n this.$emit('toggleExpanded')\n },\n toggleMute () {\n this.unmuted = !this.unmuted\n },\n toggleUserExpanded () {\n this.userExpanded = !this.userExpanded\n },\n toggleShowTall () {\n this.showingTall = !this.showingTall\n },\n replyEnter (id, event) {\n this.showPreview = true\n const targetId = Number(id)\n const statuses = this.$store.state.statuses.allStatuses\n\n if (!this.preview) {\n // if we have the status somewhere already\n this.preview = find(statuses, { 'id': targetId })\n // or if we have to fetch it\n if (!this.preview) {\n this.$store.state.api.backendInteractor.fetchStatus({id}).then((status) => {\n this.preview = status\n })\n }\n } else if (this.preview.id !== targetId) {\n this.preview = find(statuses, { 'id': targetId })\n }\n },\n replyLeave () {\n this.showPreview = false\n }\n },\n watch: {\n 'highlight': function (id) {\n id = Number(id)\n if (this.status.id === id) {\n let rect = this.$el.getBoundingClientRect()\n if (rect.top < 100) {\n window.scrollBy(0, rect.top - 200)\n } else if (rect.bottom > window.innerHeight - 50) {\n window.scrollBy(0, rect.bottom - window.innerHeight + 50)\n }\n }\n }\n }\n}\n\nexport default Status\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/status/status.js","import Status from '../status/status.vue'\nimport Conversation from '../conversation/conversation.vue'\n\nconst statusOrConversation = {\n props: ['statusoid'],\n data () {\n return {\n expanded: false\n }\n },\n components: {\n Status,\n Conversation\n },\n methods: {\n toggleExpanded () {\n this.expanded = !this.expanded\n }\n }\n}\n\nexport default statusOrConversation\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/status_or_conversation/status_or_conversation.js","const StillImage = {\n props: [\n 'src',\n 'referrerpolicy',\n 'mimetype'\n ],\n data () {\n return {\n stopGifs: this.$store.state.config.stopGifs\n }\n },\n computed: {\n animated () {\n return this.stopGifs && (this.mimetype === 'image/gif' || this.src.endsWith('.gif'))\n }\n },\n methods: {\n onLoad () {\n const canvas = this.$refs.canvas\n if (!canvas) return\n canvas.getContext('2d').drawImage(this.$refs.src, 1, 1, canvas.width, canvas.height)\n }\n }\n}\n\nexport default StillImage\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/still-image/still-image.js","import { rgbstr2hex } from '../../services/color_convert/color_convert.js'\n\nexport default {\n data () {\n return {\n availableStyles: [],\n selected: this.$store.state.config.theme,\n bgColorLocal: '',\n btnColorLocal: '',\n textColorLocal: '',\n linkColorLocal: '',\n redColorLocal: '',\n blueColorLocal: '',\n greenColorLocal: '',\n orangeColorLocal: '',\n btnRadiusLocal: '',\n inputRadiusLocal: '',\n panelRadiusLocal: '',\n avatarRadiusLocal: '',\n avatarAltRadiusLocal: '',\n attachmentRadiusLocal: '',\n tooltipRadiusLocal: ''\n }\n },\n created () {\n const self = this\n\n window.fetch('/static/styles.json')\n .then((data) => data.json())\n .then((themes) => {\n self.availableStyles = themes\n })\n },\n mounted () {\n this.bgColorLocal = rgbstr2hex(this.$store.state.config.colors.bg)\n this.btnColorLocal = rgbstr2hex(this.$store.state.config.colors.btn)\n this.textColorLocal = rgbstr2hex(this.$store.state.config.colors.fg)\n this.linkColorLocal = rgbstr2hex(this.$store.state.config.colors.link)\n\n this.redColorLocal = rgbstr2hex(this.$store.state.config.colors.cRed)\n this.blueColorLocal = rgbstr2hex(this.$store.state.config.colors.cBlue)\n this.greenColorLocal = rgbstr2hex(this.$store.state.config.colors.cGreen)\n this.orangeColorLocal = rgbstr2hex(this.$store.state.config.colors.cOrange)\n\n this.btnRadiusLocal = this.$store.state.config.radii.btnRadius || 4\n this.inputRadiusLocal = this.$store.state.config.radii.inputRadius || 4\n this.panelRadiusLocal = this.$store.state.config.radii.panelRadius || 10\n this.avatarRadiusLocal = this.$store.state.config.radii.avatarRadius || 5\n this.avatarAltRadiusLocal = this.$store.state.config.radii.avatarAltRadius || 50\n this.tooltipRadiusLocal = this.$store.state.config.radii.tooltipRadius || 2\n this.attachmentRadiusLocal = this.$store.state.config.radii.attachmentRadius || 5\n },\n methods: {\n setCustomTheme () {\n if (!this.bgColorLocal && !this.btnColorLocal && !this.linkColorLocal) {\n // reset to picked themes\n }\n\n const rgb = (hex) => {\n const result = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex)\n return result ? {\n r: parseInt(result[1], 16),\n g: parseInt(result[2], 16),\n b: parseInt(result[3], 16)\n } : null\n }\n const bgRgb = rgb(this.bgColorLocal)\n const btnRgb = rgb(this.btnColorLocal)\n const textRgb = rgb(this.textColorLocal)\n const linkRgb = rgb(this.linkColorLocal)\n\n const redRgb = rgb(this.redColorLocal)\n const blueRgb = rgb(this.blueColorLocal)\n const greenRgb = rgb(this.greenColorLocal)\n const orangeRgb = rgb(this.orangeColorLocal)\n\n if (bgRgb && btnRgb && linkRgb) {\n this.$store.dispatch('setOption', {\n name: 'customTheme',\n value: {\n fg: btnRgb,\n bg: bgRgb,\n text: textRgb,\n link: linkRgb,\n cRed: redRgb,\n cBlue: blueRgb,\n cGreen: greenRgb,\n cOrange: orangeRgb,\n btnRadius: this.btnRadiusLocal,\n inputRadius: this.inputRadiusLocal,\n panelRadius: this.panelRadiusLocal,\n avatarRadius: this.avatarRadiusLocal,\n avatarAltRadius: this.avatarAltRadiusLocal,\n tooltipRadius: this.tooltipRadiusLocal,\n attachmentRadius: this.attachmentRadiusLocal\n }})\n }\n }\n },\n watch: {\n selected () {\n this.bgColorLocal = this.selected[1]\n this.btnColorLocal = this.selected[2]\n this.textColorLocal = this.selected[3]\n this.linkColorLocal = this.selected[4]\n this.redColorLocal = this.selected[5]\n this.greenColorLocal = this.selected[6]\n this.blueColorLocal = this.selected[7]\n this.orangeColorLocal = this.selected[8]\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/style_switcher/style_switcher.js","import Timeline from '../timeline/timeline.vue'\n\nconst TagTimeline = {\n created () {\n this.$store.commit('clearTimeline', { timeline: 'tag' })\n this.$store.dispatch('startFetching', { 'tag': this.tag })\n },\n components: {\n Timeline\n },\n computed: {\n tag () { return this.$route.params.tag },\n timeline () { return this.$store.state.statuses.timelines.tag }\n },\n watch: {\n tag () {\n this.$store.commit('clearTimeline', { timeline: 'tag' })\n this.$store.dispatch('startFetching', { 'tag': this.tag })\n }\n },\n destroyed () {\n this.$store.dispatch('stopFetching', 'tag')\n }\n}\n\nexport default TagTimeline\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/tag_timeline/tag_timeline.js","import Status from '../status/status.vue'\nimport timelineFetcher from '../../services/timeline_fetcher/timeline_fetcher.service.js'\nimport StatusOrConversation from '../status_or_conversation/status_or_conversation.vue'\nimport UserCard from '../user_card/user_card.vue'\n\nconst Timeline = {\n props: [\n 'timeline',\n 'timelineName',\n 'title',\n 'userId',\n 'tag'\n ],\n data () {\n return {\n paused: false\n }\n },\n computed: {\n timelineError () { return this.$store.state.statuses.error },\n followers () {\n return this.timeline.followers\n },\n friends () {\n return this.timeline.friends\n },\n viewing () {\n return this.timeline.viewing\n },\n newStatusCount () {\n return this.timeline.newStatusCount\n },\n newStatusCountStr () {\n if (this.timeline.flushMarker !== 0) {\n return ''\n } else {\n return ` (${this.newStatusCount})`\n }\n }\n },\n components: {\n Status,\n StatusOrConversation,\n UserCard\n },\n created () {\n const store = this.$store\n const credentials = store.state.users.currentUser.credentials\n const showImmediately = this.timeline.visibleStatuses.length === 0\n\n window.addEventListener('scroll', this.scrollLoad)\n\n timelineFetcher.fetchAndUpdate({\n store,\n credentials,\n timeline: this.timelineName,\n showImmediately,\n userId: this.userId,\n tag: this.tag\n })\n\n // don't fetch followers for public, friend, twkn\n if (this.timelineName === 'user') {\n this.fetchFriends()\n this.fetchFollowers()\n }\n },\n destroyed () {\n window.removeEventListener('scroll', this.scrollLoad)\n this.$store.commit('setLoading', { timeline: this.timelineName, value: false })\n },\n methods: {\n showNewStatuses () {\n if (this.timeline.flushMarker !== 0) {\n this.$store.commit('clearTimeline', { timeline: this.timelineName })\n this.$store.commit('queueFlush', { timeline: this.timelineName, id: 0 })\n this.fetchOlderStatuses()\n } else {\n this.$store.commit('showNewStatuses', { timeline: this.timelineName })\n this.paused = false\n }\n },\n fetchOlderStatuses () {\n const store = this.$store\n const credentials = store.state.users.currentUser.credentials\n store.commit('setLoading', { timeline: this.timelineName, value: true })\n timelineFetcher.fetchAndUpdate({\n store,\n credentials,\n timeline: this.timelineName,\n older: true,\n showImmediately: true,\n userId: this.userId,\n tag: this.tag\n }).then(() => store.commit('setLoading', { timeline: this.timelineName, value: false }))\n },\n fetchFollowers () {\n const id = this.userId\n this.$store.state.api.backendInteractor.fetchFollowers({ id })\n .then((followers) => this.$store.dispatch('addFollowers', { followers }))\n },\n fetchFriends () {\n const id = this.userId\n this.$store.state.api.backendInteractor.fetchFriends({ id })\n .then((friends) => this.$store.dispatch('addFriends', { friends }))\n },\n scrollLoad (e) {\n const bodyBRect = document.body.getBoundingClientRect()\n const height = Math.max(bodyBRect.height, -(bodyBRect.y))\n if (this.timeline.loading === false &&\n this.$store.state.config.autoLoad &&\n this.$el.offsetHeight > 0 &&\n (window.innerHeight + window.pageYOffset) >= (height - 750)) {\n this.fetchOlderStatuses()\n }\n }\n },\n watch: {\n newStatusCount (count) {\n if (!this.$store.state.config.streaming) {\n return\n }\n if (count > 0) {\n // only 'stream' them when you're scrolled to the top\n if (window.pageYOffset < 15 && !this.paused) {\n this.showNewStatuses()\n } else {\n this.paused = true\n }\n }\n }\n }\n}\n\nexport default Timeline\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/timeline/timeline.js","import UserCardContent from '../user_card_content/user_card_content.vue'\n\nconst UserCard = {\n props: [\n 'user',\n 'showFollows'\n ],\n data () {\n return {\n userExpanded: false\n }\n },\n components: {\n UserCardContent\n },\n methods: {\n toggleUserExpanded () {\n this.userExpanded = !this.userExpanded\n }\n }\n}\n\nexport default UserCard\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_card/user_card.js","import StillImage from '../still-image/still-image.vue'\nimport { hex2rgb } from '../../services/color_convert/color_convert.js'\n\nexport default {\n props: [ 'user', 'switcher', 'selected', 'hideBio' ],\n computed: {\n headingStyle () {\n const color = this.$store.state.config.colors.bg\n if (color) {\n const rgb = hex2rgb(color)\n const tintColor = `rgba(${Math.floor(rgb.r)}, ${Math.floor(rgb.g)}, ${Math.floor(rgb.b)}, .5)`\n console.log(rgb)\n console.log([\n `url(${this.user.cover_photo})`,\n `linear-gradient(to bottom, ${tintColor}, ${tintColor})`\n ].join(', '))\n return {\n backgroundColor: `rgb(${Math.floor(rgb.r * 0.53)}, ${Math.floor(rgb.g * 0.56)}, ${Math.floor(rgb.b * 0.59)})`,\n backgroundImage: [\n `linear-gradient(to bottom, ${tintColor}, ${tintColor})`,\n `url(${this.user.cover_photo})`\n ].join(', ')\n }\n }\n },\n isOtherUser () {\n return this.user.id !== this.$store.state.users.currentUser.id\n },\n subscribeUrl () {\n // eslint-disable-next-line no-undef\n const serverUrl = new URL(this.user.statusnet_profile_url)\n return `${serverUrl.protocol}//${serverUrl.host}/main/ostatus`\n },\n loggedIn () {\n return this.$store.state.users.currentUser\n },\n dailyAvg () {\n const days = Math.ceil((new Date() - new Date(this.user.created_at)) / (60 * 60 * 24 * 1000))\n return Math.round(this.user.statuses_count / days)\n }\n },\n components: {\n StillImage\n },\n methods: {\n followUser () {\n const store = this.$store\n store.state.api.backendInteractor.followUser(this.user.id)\n .then((followedUser) => store.commit('addNewUsers', [followedUser]))\n },\n unfollowUser () {\n const store = this.$store\n store.state.api.backendInteractor.unfollowUser(this.user.id)\n .then((unfollowedUser) => store.commit('addNewUsers', [unfollowedUser]))\n },\n blockUser () {\n const store = this.$store\n store.state.api.backendInteractor.blockUser(this.user.id)\n .then((blockedUser) => store.commit('addNewUsers', [blockedUser]))\n },\n unblockUser () {\n const store = this.$store\n store.state.api.backendInteractor.unblockUser(this.user.id)\n .then((unblockedUser) => store.commit('addNewUsers', [unblockedUser]))\n },\n toggleMute () {\n const store = this.$store\n store.commit('setMuted', {user: this.user, muted: !this.user.muted})\n store.state.api.backendInteractor.setUserMute(this.user)\n },\n setProfileView (v) {\n if (this.switcher) {\n const store = this.$store\n store.commit('setProfileView', { v })\n }\n }\n }\n}\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_card_content/user_card_content.js","const UserFinder = {\n data: () => ({\n username: undefined,\n hidden: true,\n error: false,\n loading: false\n }),\n methods: {\n findUser (username) {\n username = username[0] === '@' ? username.slice(1) : username\n this.loading = true\n this.$store.state.api.backendInteractor.externalProfile(username)\n .then((user) => {\n this.loading = false\n this.hidden = true\n if (!user.error) {\n this.$store.commit('addNewUsers', [user])\n this.$router.push({name: 'user-profile', params: {id: user.id}})\n } else {\n this.error = true\n }\n })\n },\n toggleHidden () {\n this.hidden = !this.hidden\n },\n dismissError () {\n this.error = false\n }\n }\n}\n\nexport default UserFinder\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_finder/user_finder.js","import LoginForm from '../login_form/login_form.vue'\nimport PostStatusForm from '../post_status_form/post_status_form.vue'\nimport UserCardContent from '../user_card_content/user_card_content.vue'\n\nconst UserPanel = {\n computed: {\n user () { return this.$store.state.users.currentUser }\n },\n components: {\n LoginForm,\n PostStatusForm,\n UserCardContent\n }\n}\n\nexport default UserPanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_panel/user_panel.js","import UserCardContent from '../user_card_content/user_card_content.vue'\nimport Timeline from '../timeline/timeline.vue'\n\nconst UserProfile = {\n created () {\n this.$store.commit('clearTimeline', { timeline: 'user' })\n this.$store.dispatch('startFetching', ['user', this.userId])\n if (!this.$store.state.users.usersObject[this.userId]) {\n this.$store.dispatch('fetchUser', this.userId)\n }\n },\n destroyed () {\n this.$store.dispatch('stopFetching', 'user')\n },\n computed: {\n timeline () { return this.$store.state.statuses.timelines.user },\n userId () {\n return this.$route.params.id\n },\n user () {\n if (this.timeline.statuses[0]) {\n return this.timeline.statuses[0].user\n } else {\n return this.$store.state.users.usersObject[this.userId] || false\n }\n }\n },\n watch: {\n userId () {\n this.$store.commit('clearTimeline', { timeline: 'user' })\n this.$store.dispatch('startFetching', ['user', this.userId])\n }\n },\n components: {\n UserCardContent,\n Timeline\n }\n}\n\nexport default UserProfile\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_profile/user_profile.js","import StyleSwitcher from '../style_switcher/style_switcher.vue'\n\nconst UserSettings = {\n data () {\n return {\n newname: this.$store.state.users.currentUser.name,\n newbio: this.$store.state.users.currentUser.description,\n followList: null,\n followImportError: false,\n followsImported: false,\n enableFollowsExport: true,\n uploading: [ false, false, false, false ],\n previews: [ null, null, null ],\n deletingAccount: false,\n deleteAccountConfirmPasswordInput: '',\n deleteAccountError: false,\n changePasswordInputs: [ '', '', '' ],\n changedPassword: false,\n changePasswordError: false\n }\n },\n components: {\n StyleSwitcher\n },\n computed: {\n user () {\n return this.$store.state.users.currentUser\n },\n pleromaBackend () {\n return this.$store.state.config.pleromaBackend\n }\n },\n methods: {\n updateProfile () {\n const name = this.newname\n const description = this.newbio\n this.$store.state.api.backendInteractor.updateProfile({params: {name, description}}).then((user) => {\n if (!user.error) {\n this.$store.commit('addNewUsers', [user])\n this.$store.commit('setCurrentUser', user)\n }\n })\n },\n uploadFile (slot, e) {\n const file = e.target.files[0]\n if (!file) { return }\n // eslint-disable-next-line no-undef\n const reader = new FileReader()\n reader.onload = ({target}) => {\n const img = target.result\n this.previews[slot] = img\n this.$forceUpdate() // just changing the array with the index doesn't update the view\n }\n reader.readAsDataURL(file)\n },\n submitAvatar () {\n if (!this.previews[0]) { return }\n\n let img = this.previews[0]\n // eslint-disable-next-line no-undef\n let imginfo = new Image()\n let cropX, cropY, cropW, cropH\n imginfo.src = img\n if (imginfo.height > imginfo.width) {\n cropX = 0\n cropW = imginfo.width\n cropY = Math.floor((imginfo.height - imginfo.width) / 2)\n cropH = imginfo.width\n } else {\n cropY = 0\n cropH = imginfo.height\n cropX = Math.floor((imginfo.width - imginfo.height) / 2)\n cropW = imginfo.height\n }\n this.uploading[0] = true\n this.$store.state.api.backendInteractor.updateAvatar({params: {img, cropX, cropY, cropW, cropH}}).then((user) => {\n if (!user.error) {\n this.$store.commit('addNewUsers', [user])\n this.$store.commit('setCurrentUser', user)\n this.previews[0] = null\n }\n this.uploading[0] = false\n })\n },\n submitBanner () {\n if (!this.previews[1]) { return }\n\n let banner = this.previews[1]\n // eslint-disable-next-line no-undef\n let imginfo = new Image()\n /* eslint-disable camelcase */\n let offset_top, offset_left, width, height\n imginfo.src = banner\n width = imginfo.width\n height = imginfo.height\n offset_top = 0\n offset_left = 0\n this.uploading[1] = true\n this.$store.state.api.backendInteractor.updateBanner({params: {banner, offset_top, offset_left, width, height}}).then((data) => {\n if (!data.error) {\n let clone = JSON.parse(JSON.stringify(this.$store.state.users.currentUser))\n clone.cover_photo = data.url\n this.$store.commit('addNewUsers', [clone])\n this.$store.commit('setCurrentUser', clone)\n this.previews[1] = null\n }\n this.uploading[1] = false\n })\n /* eslint-enable camelcase */\n },\n submitBg () {\n if (!this.previews[2]) { return }\n let img = this.previews[2]\n // eslint-disable-next-line no-undef\n let imginfo = new Image()\n let cropX, cropY, cropW, cropH\n imginfo.src = img\n cropX = 0\n cropY = 0\n cropW = imginfo.width\n cropH = imginfo.width\n this.uploading[2] = true\n this.$store.state.api.backendInteractor.updateBg({params: {img, cropX, cropY, cropW, cropH}}).then((data) => {\n if (!data.error) {\n let clone = JSON.parse(JSON.stringify(this.$store.state.users.currentUser))\n clone.background_image = data.url\n this.$store.commit('addNewUsers', [clone])\n this.$store.commit('setCurrentUser', clone)\n this.previews[2] = null\n }\n this.uploading[2] = false\n })\n },\n importFollows () {\n this.uploading[3] = true\n const followList = this.followList\n this.$store.state.api.backendInteractor.followImport({params: followList})\n .then((status) => {\n if (status) {\n this.followsImported = true\n } else {\n this.followImportError = true\n }\n this.uploading[3] = false\n })\n },\n /* This function takes an Array of Users\n * and outputs a file with all the addresses for the user to download\n */\n exportPeople (users, filename) {\n // Get all the friends addresses\n var UserAddresses = users.map(function (user) {\n // check is it's a local user\n if (user && user.is_local) {\n // append the instance address\n // eslint-disable-next-line no-undef\n user.screen_name += '@' + location.hostname\n }\n return user.screen_name\n }).join('\\n')\n // Make the user download the file\n var fileToDownload = document.createElement('a')\n fileToDownload.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(UserAddresses))\n fileToDownload.setAttribute('download', filename)\n fileToDownload.style.display = 'none'\n document.body.appendChild(fileToDownload)\n fileToDownload.click()\n document.body.removeChild(fileToDownload)\n },\n exportFollows () {\n this.enableFollowsExport = false\n this.$store.state.api.backendInteractor\n .fetchFriends({id: this.$store.state.users.currentUser.id})\n .then((friendList) => {\n this.exportPeople(friendList, 'friends.csv')\n })\n },\n followListChange () {\n // eslint-disable-next-line no-undef\n let formData = new FormData()\n formData.append('list', this.$refs.followlist.files[0])\n this.followList = formData\n },\n dismissImported () {\n this.followsImported = false\n this.followImportError = false\n },\n confirmDelete () {\n this.deletingAccount = true\n },\n deleteAccount () {\n this.$store.state.api.backendInteractor.deleteAccount({password: this.deleteAccountConfirmPasswordInput})\n .then((res) => {\n if (res.status === 'success') {\n this.$store.dispatch('logout')\n this.$router.push('/main/all')\n } else {\n this.deleteAccountError = res.error\n }\n })\n },\n changePassword () {\n const params = {\n password: this.changePasswordInputs[0],\n newPassword: this.changePasswordInputs[1],\n newPasswordConfirmation: this.changePasswordInputs[2]\n }\n this.$store.state.api.backendInteractor.changePassword(params)\n .then((res) => {\n if (res.status === 'success') {\n this.changedPassword = true\n this.changePasswordError = false\n } else {\n this.changedPassword = false\n this.changePasswordError = res.error\n }\n })\n }\n }\n}\n\nexport default UserSettings\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/user_settings/user_settings.js","function showWhoToFollow (panel, reply, aHost, aUser) {\n var users = reply.ids\n var cn\n var index = 0\n var random = Math.floor(Math.random() * 10)\n for (cn = random; cn < users.length; cn = cn + 10) {\n var user\n user = users[cn]\n var img\n if (user.icon) {\n img = user.icon\n } else {\n img = '/images/avi.png'\n }\n var name = user.to_id\n if (index === 0) {\n panel.img1 = img\n panel.name1 = name\n panel.$store.state.api.backendInteractor.externalProfile(name)\n .then((externalUser) => {\n if (!externalUser.error) {\n panel.$store.commit('addNewUsers', [externalUser])\n panel.id1 = externalUser.id\n }\n })\n } else if (index === 1) {\n panel.img2 = img\n panel.name2 = name\n panel.$store.state.api.backendInteractor.externalProfile(name)\n .then((externalUser) => {\n if (!externalUser.error) {\n panel.$store.commit('addNewUsers', [externalUser])\n panel.id2 = externalUser.id\n }\n })\n } else if (index === 2) {\n panel.img3 = img\n panel.name3 = name\n panel.$store.state.api.backendInteractor.externalProfile(name)\n .then((externalUser) => {\n if (!externalUser.error) {\n panel.$store.commit('addNewUsers', [externalUser])\n panel.id3 = externalUser.id\n }\n })\n }\n index = index + 1\n if (index > 2) {\n break\n }\n }\n}\n\nfunction getWhoToFollow (panel) {\n var user = panel.$store.state.users.currentUser.screen_name\n if (user) {\n panel.name1 = 'Loading...'\n panel.name2 = 'Loading...'\n panel.name3 = 'Loading...'\n var host = window.location.hostname\n var whoToFollowProvider = panel.$store.state.config.whoToFollowProvider\n var url\n url = whoToFollowProvider.replace(/{{host}}/g, encodeURIComponent(host))\n url = url.replace(/{{user}}/g, encodeURIComponent(user))\n window.fetch(url, {mode: 'cors'}).then(function (response) {\n if (response.ok) {\n return response.json()\n } else {\n panel.name1 = ''\n panel.name2 = ''\n panel.name3 = ''\n }\n }).then(function (reply) {\n showWhoToFollow(panel, reply, host, user)\n })\n }\n}\n\nconst WhoToFollowPanel = {\n data: () => ({\n img1: '/images/avi.png',\n name1: '',\n id1: 0,\n img2: '/images/avi.png',\n name2: '',\n id2: 0,\n img3: '/images/avi.png',\n name3: '',\n id3: 0\n }),\n computed: {\n user: function () {\n return this.$store.state.users.currentUser.screen_name\n },\n moreUrl: function () {\n var host = window.location.hostname\n var user = this.user\n var whoToFollowLink = this.$store.state.config.whoToFollowLink\n var url\n url = whoToFollowLink.replace(/{{host}}/g, encodeURIComponent(host))\n url = url.replace(/{{user}}/g, encodeURIComponent(user))\n return url\n },\n showWhoToFollowPanel () {\n return this.$store.state.config.showWhoToFollowPanel\n }\n },\n watch: {\n user: function (user, oldUser) {\n if (this.showWhoToFollowPanel) {\n getWhoToFollow(this)\n }\n }\n },\n mounted:\n function () {\n if (this.showWhoToFollowPanel) {\n getWhoToFollow(this)\n }\n }\n}\n\nexport default WhoToFollowPanel\n\n\n\n// WEBPACK FOOTER //\n// ./src/components/who_to_follow_panel/who_to_follow_panel.js","module.exports = [\"now\",[\"%ss\",\"%ss\"],[\"%smin\",\"%smin\"],[\"%sh\",\"%sh\"],[\"%sd\",\"%sd\"],[\"%sw\",\"%sw\"],[\"%smo\",\"%smo\"],[\"%sy\",\"%sy\"]]\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./static/timeago-en.json\n// module id = 298\n// module chunks = 2","module.exports = [\"たった今\",\"%s 秒前\",\"%s 分前\",\"%s 時間前\",\"%s 日前\",\"%s 週間前\",\"%s ヶ月前\",\"%s 年前\"]\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./static/timeago-ja.json\n// module id = 299\n// module chunks = 2","module.exports = __webpack_public_path__ + \"static/img/nsfw.50fd83c.png\";\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/assets/nsfw.png\n// module id = 465\n// module chunks = 2","\n/* styles */\nrequire(\"!!../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-4c17cd72\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./App.scss\")\n\nvar Component = require(\"!../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./App.js\"),\n /* template */\n require(\"!!../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-4c17cd72\\\"}!../node_modules/vue-loader/lib/selector?type=template&index=0!./App.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/App.vue\n// module id = 468\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-48d74080\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./attachment.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./attachment.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-48d74080\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./attachment.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/attachment/attachment.vue\n// module id = 469\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-37c7b840\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./chat_panel.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./chat_panel.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-37c7b840\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./chat_panel.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/chat_panel/chat_panel.vue\n// module id = 470\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./conversation-page.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-6d354bd4\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./conversation-page.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/conversation-page/conversation-page.vue\n// module id = 471\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-ab5f3124\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./delete_button.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./delete_button.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-ab5f3124\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./delete_button.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/delete_button/delete_button.vue\n// module id = 472\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-bd666be8\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./favorite_button.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./favorite_button.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-bd666be8\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./favorite_button.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/favorite_button/favorite_button.vue\n// module id = 473\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./friends_timeline.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-938aba00\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./friends_timeline.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/friends_timeline/friends_timeline.vue\n// module id = 474\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-8ac93238\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./instance_specific_panel.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./instance_specific_panel.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-8ac93238\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./instance_specific_panel.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/instance_specific_panel/instance_specific_panel.vue\n// module id = 475\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-437c2fc0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./login_form.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./login_form.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-437c2fc0\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./login_form.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/login_form/login_form.vue\n// module id = 476\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-546891a0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./media_upload.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./media_upload.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-546891a0\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./media_upload.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/media_upload/media_upload.vue\n// module id = 477\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./mentions.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-2b4a7ac0\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./mentions.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/mentions/mentions.vue\n// module id = 478\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-d306a29c\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./nav_panel.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./nav_panel.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-d306a29c\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./nav_panel.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/nav_panel/nav_panel.vue\n// module id = 479\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./notification.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-68f32600\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./notification.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/notification/notification.vue\n// module id = 480\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-00135b32\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!./notifications.scss\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./notifications.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-00135b32\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./notifications.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/notifications/notifications.vue\n// module id = 481\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./public_and_external_timeline.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-2dd59500\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./public_and_external_timeline.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/public_and_external_timeline/public_and_external_timeline.vue\n// module id = 482\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./public_timeline.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-63335050\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./public_timeline.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/public_timeline/public_timeline.vue\n// module id = 483\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-45f064c0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./registration.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./registration.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-45f064c0\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./registration.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/registration/registration.vue\n// module id = 484\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-1ca01100\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./retweet_button.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./retweet_button.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-1ca01100\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./retweet_button.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/retweet_button/retweet_button.vue\n// module id = 485\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-cd51c000\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./settings.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./settings.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-cd51c000\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./settings.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/settings/settings.vue\n// module id = 486\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-42b0f6a0\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./status_or_conversation.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./status_or_conversation.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-42b0f6a0\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./status_or_conversation.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/status_or_conversation/status_or_conversation.vue\n// module id = 487\n// module chunks = 2","var Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./tag_timeline.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-1555bc40\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./tag_timeline.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/tag_timeline/tag_timeline.vue\n// module id = 488\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-f117c42c\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./user_card.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./user_card.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-f117c42c\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./user_card.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/user_card/user_card.vue\n// module id = 489\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-3e9fe956\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./user_finder.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./user_finder.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-3e9fe956\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./user_finder.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/user_finder/user_finder.vue\n// module id = 490\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-eda04b40\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./user_panel.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./user_panel.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-eda04b40\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./user_panel.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/user_panel/user_panel.vue\n// module id = 491\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-48484e40\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./user_profile.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./user_profile.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-48484e40\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./user_profile.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/user_profile/user_profile.vue\n// module id = 492\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-93ac3f60\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./user_settings.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./user_settings.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-93ac3f60\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./user_settings.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/user_settings/user_settings.vue\n// module id = 493\n// module chunks = 2","\n/* styles */\nrequire(\"!!../../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"extract\\\":true,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"id\\\":\\\"data-v-d8fd69d8\\\",\\\"scoped\\\":false,\\\"hasInlineConfig\\\":false}!sass-loader?sourceMap!../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./who_to_follow_panel.vue\")\n\nvar Component = require(\"!../../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./who_to_follow_panel.js\"),\n /* template */\n require(\"!!../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-d8fd69d8\\\"}!../../../node_modules/vue-loader/lib/selector?type=template&index=0!./who_to_follow_panel.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/who_to_follow_panel/who_to_follow_panel.vue\n// module id = 494\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"notifications\"\n }, [_c('div', {\n staticClass: \"panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading\"\n }, [(_vm.unseenCount) ? _c('span', {\n staticClass: \"unseen-count\"\n }, [_vm._v(_vm._s(_vm.unseenCount))]) : _vm._e(), _vm._v(\"\\n \" + _vm._s(_vm.$t('notifications.notifications')) + \"\\n \"), (_vm.unseenCount) ? _c('button', {\n staticClass: \"read-button\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.markAsSeen($event)\n }\n }\n }, [_vm._v(_vm._s(_vm.$t('notifications.read')))]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, _vm._l((_vm.visibleNotifications), function(notification) {\n return _c('div', {\n key: notification.action.id,\n staticClass: \"notification\",\n class: {\n \"unseen\": !notification.seen\n }\n }, [_c('notification', {\n attrs: {\n \"notification\": notification\n }\n })], 1)\n }))])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-00135b32\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/notifications/notifications.vue\n// module id = 495\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"profile-panel-background\",\n style: (_vm.headingStyle),\n attrs: {\n \"id\": \"heading\"\n }\n }, [_c('div', {\n staticClass: \"panel-heading text-center\"\n }, [_c('div', {\n staticClass: \"user-info\"\n }, [(!_vm.isOtherUser) ? _c('router-link', {\n staticStyle: {\n \"float\": \"right\",\n \"margin-top\": \"16px\"\n },\n attrs: {\n \"to\": \"/user-settings\"\n }\n }, [_c('i', {\n staticClass: \"icon-cog usersettings\"\n })]) : _vm._e(), _vm._v(\" \"), (_vm.isOtherUser) ? _c('a', {\n staticStyle: {\n \"float\": \"right\",\n \"margin-top\": \"16px\"\n },\n attrs: {\n \"href\": _vm.user.statusnet_profile_url,\n \"target\": \"_blank\"\n }\n }, [_c('i', {\n staticClass: \"icon-link-ext usersettings\"\n })]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"container\"\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.user.id\n }\n }\n }\n }, [_c('StillImage', {\n staticClass: \"avatar\",\n attrs: {\n \"src\": _vm.user.profile_image_url_original\n }\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"name-and-screen-name\"\n }, [_c('div', {\n staticClass: \"user-name\",\n attrs: {\n \"title\": _vm.user.name\n }\n }, [_vm._v(_vm._s(_vm.user.name))]), _vm._v(\" \"), _c('router-link', {\n staticClass: \"user-screen-name\",\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.user.id\n }\n }\n }\n }, [_c('span', [_vm._v(\"@\" + _vm._s(_vm.user.screen_name))]), _vm._v(\" \"), _c('span', {\n staticClass: \"dailyAvg\"\n }, [_vm._v(_vm._s(_vm.dailyAvg) + \" \" + _vm._s(_vm.$t('user_card.per_day')))])])], 1)], 1), _vm._v(\" \"), (_vm.isOtherUser) ? _c('div', {\n staticClass: \"user-interactions\"\n }, [(_vm.user.follows_you && _vm.loggedIn) ? _c('div', {\n staticClass: \"following\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.follows_you')) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.loggedIn) ? _c('div', {\n staticClass: \"follow\"\n }, [(_vm.user.following) ? _c('span', [_c('button', {\n staticClass: \"pressed\",\n on: {\n \"click\": _vm.unfollowUser\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.following')) + \"\\n \")])]) : _vm._e(), _vm._v(\" \"), (!_vm.user.following) ? _c('span', [_c('button', {\n on: {\n \"click\": _vm.followUser\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.follow')) + \"\\n \")])]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), (_vm.isOtherUser) ? _c('div', {\n staticClass: \"mute\"\n }, [(_vm.user.muted) ? _c('span', [_c('button', {\n staticClass: \"pressed\",\n on: {\n \"click\": _vm.toggleMute\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.muted')) + \"\\n \")])]) : _vm._e(), _vm._v(\" \"), (!_vm.user.muted) ? _c('span', [_c('button', {\n on: {\n \"click\": _vm.toggleMute\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.mute')) + \"\\n \")])]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), (!_vm.loggedIn && _vm.user.is_local) ? _c('div', {\n staticClass: \"remote-follow\"\n }, [_c('form', {\n attrs: {\n \"method\": \"POST\",\n \"action\": _vm.subscribeUrl\n }\n }, [_c('input', {\n attrs: {\n \"type\": \"hidden\",\n \"name\": \"nickname\"\n },\n domProps: {\n \"value\": _vm.user.screen_name\n }\n }), _vm._v(\" \"), _c('input', {\n attrs: {\n \"type\": \"hidden\",\n \"name\": \"profile\",\n \"value\": \"\"\n }\n }), _vm._v(\" \"), _c('button', {\n staticClass: \"remote-button\",\n attrs: {\n \"click\": \"submit\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.remote_follow')) + \"\\n \")])])]) : _vm._e(), _vm._v(\" \"), (_vm.isOtherUser && _vm.loggedIn) ? _c('div', {\n staticClass: \"block\"\n }, [(_vm.user.statusnet_blocking) ? _c('span', [_c('button', {\n staticClass: \"pressed\",\n on: {\n \"click\": _vm.unblockUser\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.blocked')) + \"\\n \")])]) : _vm._e(), _vm._v(\" \"), (!_vm.user.statusnet_blocking) ? _c('span', [_c('button', {\n on: {\n \"click\": _vm.blockUser\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.block')) + \"\\n \")])]) : _vm._e()]) : _vm._e()]) : _vm._e()], 1)]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body profile-panel-body\"\n }, [_c('div', {\n staticClass: \"user-counts\",\n class: {\n clickable: _vm.switcher\n }\n }, [_c('div', {\n staticClass: \"user-count\",\n class: {\n selected: _vm.selected === 'statuses'\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.setProfileView('statuses')\n }\n }\n }, [_c('h5', [_vm._v(_vm._s(_vm.$t('user_card.statuses')))]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.statuses_count) + \" \"), _c('br')])]), _vm._v(\" \"), _c('div', {\n staticClass: \"user-count\",\n class: {\n selected: _vm.selected === 'friends'\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.setProfileView('friends')\n }\n }\n }, [_c('h5', [_vm._v(_vm._s(_vm.$t('user_card.followees')))]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.friends_count))])]), _vm._v(\" \"), _c('div', {\n staticClass: \"user-count\",\n class: {\n selected: _vm.selected === 'followers'\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.setProfileView('followers')\n }\n }\n }, [_c('h5', [_vm._v(_vm._s(_vm.$t('user_card.followers')))]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(_vm.user.followers_count))])])]), _vm._v(\" \"), (!_vm.hideBio) ? _c('p', [_vm._v(_vm._s(_vm.user.description))]) : _vm._e()])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-05b840de\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_card_content/user_card_content.vue\n// module id = 496\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (_vm.viewing == 'statuses') ? _c('div', {\n staticClass: \"timeline panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading timeline-heading\"\n }, [_c('div', {\n staticClass: \"title\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.title) + \"\\n \")]), _vm._v(\" \"), (_vm.timeline.newStatusCount > 0 && !_vm.timelineError) ? _c('button', {\n staticClass: \"loadmore-button\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.showNewStatuses($event)\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.show_new')) + _vm._s(_vm.newStatusCountStr) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.timelineError) ? _c('div', {\n staticClass: \"loadmore-error alert error\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.error_fetching')) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (!_vm.timeline.newStatusCount > 0 && !_vm.timelineError) ? _c('div', {\n staticClass: \"loadmore-text\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.up_to_date')) + \"\\n \")]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_c('div', {\n staticClass: \"timeline\"\n }, _vm._l((_vm.timeline.visibleStatuses), function(status) {\n return _c('status-or-conversation', {\n key: status.id,\n staticClass: \"status-fadein\",\n attrs: {\n \"statusoid\": status\n }\n })\n }))]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-footer\"\n }, [(!_vm.timeline.loading) ? _c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.fetchOlderStatuses()\n }\n }\n }, [_c('div', {\n staticClass: \"new-status-notification text-center panel-footer\"\n }, [_vm._v(_vm._s(_vm.$t('timeline.load_older')))])]) : _c('div', {\n staticClass: \"new-status-notification text-center panel-footer\"\n }, [_vm._v(\"...\")])])]) : (_vm.viewing == 'followers') ? _c('div', {\n staticClass: \"timeline panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading timeline-heading\"\n }, [_c('div', {\n staticClass: \"title\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.followers')) + \"\\n \")])]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_c('div', {\n staticClass: \"timeline\"\n }, _vm._l((_vm.followers), function(follower) {\n return _c('user-card', {\n key: follower.id,\n attrs: {\n \"user\": follower,\n \"showFollows\": false\n }\n })\n }))])]) : (_vm.viewing == 'friends') ? _c('div', {\n staticClass: \"timeline panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading timeline-heading\"\n }, [_c('div', {\n staticClass: \"title\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.followees')) + \"\\n \")])]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_c('div', {\n staticClass: \"timeline\"\n }, _vm._l((_vm.friends), function(friend) {\n return _c('user-card', {\n key: friend.id,\n attrs: {\n \"user\": friend,\n \"showFollows\": true\n }\n })\n }))])]) : _vm._e()\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-0652fc80\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/timeline/timeline.vue\n// module id = 497\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"post-status-form\"\n }, [_c('form', {\n on: {\n \"submit\": function($event) {\n $event.preventDefault();\n _vm.postStatus(_vm.newStatus)\n }\n }\n }, [_c('div', {\n staticClass: \"form-group\"\n }, [_c('textarea', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.newStatus.status),\n expression: \"newStatus.status\"\n }],\n ref: \"textarea\",\n staticClass: \"form-control\",\n attrs: {\n \"placeholder\": _vm.$t('post_status.default'),\n \"rows\": \"1\"\n },\n domProps: {\n \"value\": (_vm.newStatus.status)\n },\n on: {\n \"click\": _vm.setCaret,\n \"keyup\": [_vm.setCaret, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key)) { return null; }\n if (!$event.ctrlKey) { return null; }\n _vm.postStatus(_vm.newStatus)\n }],\n \"keydown\": [function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"down\", 40, $event.key)) { return null; }\n _vm.cycleForward($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"up\", 38, $event.key)) { return null; }\n _vm.cycleBackward($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"tab\", 9, $event.key)) { return null; }\n if (!$event.shiftKey) { return null; }\n _vm.cycleBackward($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"tab\", 9, $event.key)) { return null; }\n _vm.cycleForward($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key)) { return null; }\n _vm.replaceCandidate($event)\n }, function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key)) { return null; }\n if (!$event.metaKey) { return null; }\n _vm.postStatus(_vm.newStatus)\n }],\n \"drop\": _vm.fileDrop,\n \"dragover\": function($event) {\n $event.preventDefault();\n _vm.fileDrag($event)\n },\n \"input\": [function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.newStatus, \"status\", $event.target.value)\n }, _vm.resize],\n \"paste\": _vm.paste\n }\n })]), _vm._v(\" \"), (_vm.candidates) ? _c('div', {\n staticStyle: {\n \"position\": \"relative\"\n }\n }, [_c('div', {\n staticClass: \"autocomplete-panel\"\n }, _vm._l((_vm.candidates), function(candidate) {\n return _c('div', {\n on: {\n \"click\": function($event) {\n _vm.replace(candidate.utf || (candidate.screen_name + ' '))\n }\n }\n }, [_c('div', {\n staticClass: \"autocomplete\",\n class: {\n highlighted: candidate.highlighted\n }\n }, [(candidate.img) ? _c('span', [_c('img', {\n attrs: {\n \"src\": candidate.img\n }\n })]) : _c('span', [_vm._v(_vm._s(candidate.utf))]), _vm._v(\" \"), _c('span', [_vm._v(_vm._s(candidate.screen_name)), _c('small', [_vm._v(_vm._s(candidate.name))])])])])\n }))]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"form-bottom\"\n }, [_c('media-upload', {\n attrs: {\n \"drop-files\": _vm.dropFiles\n },\n on: {\n \"uploading\": _vm.disableSubmit,\n \"uploaded\": _vm.addMediaFile,\n \"upload-failed\": _vm.enableSubmit\n }\n }), _vm._v(\" \"), (_vm.isOverLengthLimit) ? _c('p', {\n staticClass: \"error\"\n }, [_vm._v(_vm._s(_vm.charactersLeft))]) : (_vm.hasStatusLengthLimit) ? _c('p', {\n staticClass: \"faint\"\n }, [_vm._v(_vm._s(_vm.charactersLeft))]) : _vm._e(), _vm._v(\" \"), (_vm.posting) ? _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": \"\"\n }\n }, [_vm._v(_vm._s(_vm.$t('post_status.posting')))]) : (_vm.isOverLengthLimit) ? _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": \"\"\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": _vm.submitDisabled,\n \"type\": \"submit\"\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))])], 1), _vm._v(\" \"), (_vm.error) ? _c('div', {\n staticClass: \"alert error\"\n }, [_vm._v(\"\\n Error: \" + _vm._s(_vm.error) + \"\\n \"), _c('i', {\n staticClass: \"icon-cancel\",\n on: {\n \"click\": _vm.clearError\n }\n })]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"attachments\"\n }, _vm._l((_vm.newStatus.files), function(file) {\n return _c('div', {\n staticClass: \"media-upload-container attachment\"\n }, [_c('i', {\n staticClass: \"fa icon-cancel\",\n on: {\n \"click\": function($event) {\n _vm.removeMediaFile(file)\n }\n }\n }), _vm._v(\" \"), (_vm.type(file) === 'image') ? _c('img', {\n staticClass: \"thumbnail media-upload\",\n attrs: {\n \"src\": file.image\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'video') ? _c('video', {\n attrs: {\n \"src\": file.image,\n \"controls\": \"\"\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'audio') ? _c('audio', {\n attrs: {\n \"src\": file.image,\n \"controls\": \"\"\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.type(file) === 'unknown') ? _c('a', {\n attrs: {\n \"href\": file.image\n }\n }, [_vm._v(_vm._s(file.url))]) : _vm._e()])\n }))])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-11ada5e0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/post_status_form/post_status_form.vue\n// module id = 498\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"timeline panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading conversation-heading\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.conversation')) + \"\\n \"), (_vm.collapsable) ? _c('span', {\n staticStyle: {\n \"float\": \"right\"\n }\n }, [_c('small', [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.$emit('toggleExpanded')\n }\n }\n }, [_vm._v(_vm._s(_vm.$t('timeline.collapse')))])])]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_c('div', {\n staticClass: \"timeline\"\n }, _vm._l((_vm.conversation), function(status) {\n return _c('status', {\n key: status.id,\n staticClass: \"status-fadein\",\n attrs: {\n \"inlineExpanded\": _vm.collapsable,\n \"statusoid\": status,\n \"expandable\": false,\n \"focused\": _vm.focused(status.id),\n \"inConversation\": true,\n \"highlight\": _vm.highlight,\n \"replies\": _vm.getReplies(status.id)\n },\n on: {\n \"goto\": _vm.setHighlight\n }\n })\n }))])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-12838600\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/conversation/conversation.vue\n// module id = 499\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('Timeline', {\n attrs: {\n \"title\": _vm.tag,\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'tag',\n \"tag\": _vm.tag\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-1555bc40\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/tag_timeline/tag_timeline.vue\n// module id = 500\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (_vm.loggedIn) ? _c('div', [_c('i', {\n staticClass: \"icon-retweet rt-active\",\n class: _vm.classes,\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.retweet()\n }\n }\n }), _vm._v(\" \"), (_vm.status.repeat_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.repeat_num))]) : _vm._e()]) : _c('div', [_c('i', {\n staticClass: \"icon-retweet\",\n class: _vm.classes\n }), _vm._v(\" \"), (_vm.status.repeat_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.repeat_num))]) : _vm._e()])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-1ca01100\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/retweet_button/retweet_button.vue\n// module id = 501\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('Timeline', {\n attrs: {\n \"title\": _vm.$t('nav.mentions'),\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'mentions'\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-2b4a7ac0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/mentions/mentions.vue\n// module id = 502\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('Timeline', {\n attrs: {\n \"title\": _vm.$t('nav.twkn'),\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'publicAndExternal'\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-2dd59500\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/public_and_external_timeline/public_and_external_timeline.vue\n// module id = 503\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (!this.collapsed) ? _c('div', {\n staticClass: \"chat-panel\"\n }, [_c('div', {\n staticClass: \"panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading timeline-heading chat-heading\",\n on: {\n \"click\": function($event) {\n $event.stopPropagation();\n $event.preventDefault();\n _vm.togglePanel($event)\n }\n }\n }, [_c('div', {\n staticClass: \"title\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('chat.title')) + \"\\n \"), _c('i', {\n staticClass: \"icon-cancel\",\n staticStyle: {\n \"float\": \"right\"\n }\n })])]), _vm._v(\" \"), _c('div', {\n directives: [{\n name: \"chat-scroll\",\n rawName: \"v-chat-scroll\"\n }],\n staticClass: \"chat-window\"\n }, _vm._l((_vm.messages), function(message) {\n return _c('div', {\n key: message.id,\n staticClass: \"chat-message\"\n }, [_c('span', {\n staticClass: \"chat-avatar\"\n }, [_c('img', {\n attrs: {\n \"src\": message.author.avatar\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"chat-content\"\n }, [_c('router-link', {\n staticClass: \"chat-name\",\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: message.author.id\n }\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(message.author.username) + \"\\n \")]), _vm._v(\" \"), _c('br'), _vm._v(\" \"), _c('span', {\n staticClass: \"chat-text\"\n }, [_vm._v(\"\\n \" + _vm._s(message.text) + \"\\n \")])], 1)])\n })), _vm._v(\" \"), _c('div', {\n staticClass: \"chat-input\"\n }, [_c('textarea', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.currentMessage),\n expression: \"currentMessage\"\n }],\n staticClass: \"chat-input-textarea\",\n attrs: {\n \"rows\": \"1\"\n },\n domProps: {\n \"value\": (_vm.currentMessage)\n },\n on: {\n \"keyup\": function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key)) { return null; }\n _vm.submit(_vm.currentMessage)\n },\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.currentMessage = $event.target.value\n }\n }\n })])])]) : _c('div', {\n staticClass: \"chat-panel\"\n }, [_c('div', {\n staticClass: \"panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading stub timeline-heading chat-heading\",\n on: {\n \"click\": function($event) {\n $event.stopPropagation();\n $event.preventDefault();\n _vm.togglePanel($event)\n }\n }\n }, [_c('div', {\n staticClass: \"title\"\n }, [_c('i', {\n staticClass: \"icon-comment-empty\"\n }), _vm._v(\"\\n \" + _vm._s(_vm.$t('chat.title')) + \"\\n \")])])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-37c7b840\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/chat_panel/chat_panel.vue\n// module id = 504\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('span', {\n staticClass: \"user-finder-container\"\n }, [(_vm.error) ? _c('span', {\n staticClass: \"alert error\"\n }, [_c('i', {\n staticClass: \"icon-cancel user-finder-icon\",\n on: {\n \"click\": _vm.dismissError\n }\n }), _vm._v(\"\\n \" + _vm._s(_vm.$t('finder.error_fetching_user')) + \"\\n \")]) : _vm._e(), _vm._v(\" \"), (_vm.loading) ? _c('i', {\n staticClass: \"icon-spin4 user-finder-icon animate-spin-slow\"\n }) : _vm._e(), _vm._v(\" \"), (_vm.hidden) ? _c('a', {\n attrs: {\n \"href\": \"#\"\n }\n }, [_c('i', {\n staticClass: \"icon-user-plus user-finder-icon\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n $event.stopPropagation();\n _vm.toggleHidden($event)\n }\n }\n })]) : _c('span', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.username),\n expression: \"username\"\n }],\n staticClass: \"user-finder-input\",\n attrs: {\n \"placeholder\": _vm.$t('finder.find_user'),\n \"id\": \"user-finder-input\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.username)\n },\n on: {\n \"keyup\": function($event) {\n if (!('button' in $event) && _vm._k($event.keyCode, \"enter\", 13, $event.key)) { return null; }\n _vm.findUser(_vm.username)\n },\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.username = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('i', {\n staticClass: \"icon-cancel user-finder-icon\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n $event.stopPropagation();\n _vm.toggleHidden($event)\n }\n }\n })])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-3e9fe956\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_finder/user_finder.vue\n// module id = 505\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', [(_vm.expanded) ? _c('conversation', {\n attrs: {\n \"collapsable\": true,\n \"statusoid\": _vm.statusoid\n },\n on: {\n \"toggleExpanded\": _vm.toggleExpanded\n }\n }) : _vm._e(), _vm._v(\" \"), (!_vm.expanded) ? _c('status', {\n attrs: {\n \"expandable\": true,\n \"inConversation\": false,\n \"focused\": false,\n \"statusoid\": _vm.statusoid\n },\n on: {\n \"toggleExpanded\": _vm.toggleExpanded\n }\n }) : _vm._e()], 1)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-42b0f6a0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/status_or_conversation/status_or_conversation.vue\n// module id = 506\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"login panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('login.login')) + \"\\n \")]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_c('form', {\n staticClass: \"login-form\",\n on: {\n \"submit\": function($event) {\n $event.preventDefault();\n _vm.submit(_vm.user)\n }\n }\n }, [_c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"username\"\n }\n }, [_vm._v(_vm._s(_vm.$t('login.username')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.username),\n expression: \"user.username\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.loggingIn,\n \"id\": \"username\",\n \"placeholder\": \"e.g. lain\"\n },\n domProps: {\n \"value\": (_vm.user.username)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.user, \"username\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"password\"\n }\n }, [_vm._v(_vm._s(_vm.$t('login.password')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.password),\n expression: \"user.password\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.loggingIn,\n \"id\": \"password\",\n \"type\": \"password\"\n },\n domProps: {\n \"value\": (_vm.user.password)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.user, \"password\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('div', {\n staticClass: \"login-bottom\"\n }, [_c('div', [(_vm.registrationOpen) ? _c('router-link', {\n staticClass: \"register\",\n attrs: {\n \"to\": {\n name: 'registration'\n }\n }\n }, [_vm._v(_vm._s(_vm.$t('login.register')))]) : _vm._e()], 1), _vm._v(\" \"), _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": _vm.loggingIn,\n \"type\": \"submit\"\n }\n }, [_vm._v(_vm._s(_vm.$t('login.login')))])])]), _vm._v(\" \"), (_vm.authError) ? _c('div', {\n staticClass: \"form-group\"\n }, [_c('div', {\n staticClass: \"alert error\"\n }, [_vm._v(_vm._s(_vm.authError))])]) : _vm._e()])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-437c2fc0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/login_form/login_form.vue\n// module id = 507\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"settings panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('registration.registration')) + \"\\n \")]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_c('form', {\n staticClass: \"registration-form\",\n on: {\n \"submit\": function($event) {\n $event.preventDefault();\n _vm.submit(_vm.user)\n }\n }\n }, [_c('div', {\n staticClass: \"container\"\n }, [_c('div', {\n staticClass: \"text-fields\"\n }, [_c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"username\"\n }\n }, [_vm._v(_vm._s(_vm.$t('login.username')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.username),\n expression: \"user.username\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.registering,\n \"id\": \"username\",\n \"placeholder\": \"e.g. lain\"\n },\n domProps: {\n \"value\": (_vm.user.username)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.user, \"username\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"fullname\"\n }\n }, [_vm._v(_vm._s(_vm.$t('registration.fullname')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.fullname),\n expression: \"user.fullname\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.registering,\n \"id\": \"fullname\",\n \"placeholder\": \"e.g. Lain Iwakura\"\n },\n domProps: {\n \"value\": (_vm.user.fullname)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.user, \"fullname\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"email\"\n }\n }, [_vm._v(_vm._s(_vm.$t('registration.email')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.email),\n expression: \"user.email\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.registering,\n \"id\": \"email\",\n \"type\": \"email\"\n },\n domProps: {\n \"value\": (_vm.user.email)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.user, \"email\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"bio\"\n }\n }, [_vm._v(_vm._s(_vm.$t('registration.bio')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.bio),\n expression: \"user.bio\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.registering,\n \"id\": \"bio\"\n },\n domProps: {\n \"value\": (_vm.user.bio)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.user, \"bio\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"password\"\n }\n }, [_vm._v(_vm._s(_vm.$t('login.password')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.password),\n expression: \"user.password\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.registering,\n \"id\": \"password\",\n \"type\": \"password\"\n },\n domProps: {\n \"value\": (_vm.user.password)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.user, \"password\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('label', {\n attrs: {\n \"for\": \"password_confirmation\"\n }\n }, [_vm._v(_vm._s(_vm.$t('registration.password_confirm')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.user.confirm),\n expression: \"user.confirm\"\n }],\n staticClass: \"form-control\",\n attrs: {\n \"disabled\": _vm.registering,\n \"id\": \"password_confirmation\",\n \"type\": \"password\"\n },\n domProps: {\n \"value\": (_vm.user.confirm)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.user, \"confirm\", $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"form-group\"\n }, [_c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": _vm.registering,\n \"type\": \"submit\"\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))])])]), _vm._v(\" \"), _c('div', {\n staticClass: \"terms-of-service\",\n domProps: {\n \"innerHTML\": _vm._s(_vm.termsofservice)\n }\n })]), _vm._v(\" \"), (_vm.error) ? _c('div', {\n staticClass: \"form-group\"\n }, [_c('div', {\n staticClass: \"alert error\"\n }, [_vm._v(_vm._s(_vm.error))])]) : _vm._e()])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-45f064c0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/registration/registration.vue\n// module id = 508\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', [(_vm.user) ? _c('div', {\n staticClass: \"user-profile panel panel-default\"\n }, [_c('user-card-content', {\n attrs: {\n \"user\": _vm.user,\n \"switcher\": true,\n \"selected\": _vm.timeline.viewing\n }\n })], 1) : _vm._e(), _vm._v(\" \"), _c('Timeline', {\n attrs: {\n \"title\": _vm.$t('user_profile.timeline_title'),\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'user',\n \"user-id\": _vm.userId\n }\n })], 1)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-48484e40\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_profile/user_profile.vue\n// module id = 509\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (_vm.size === 'hide') ? _c('div', [(_vm.type !== 'html') ? _c('a', {\n staticClass: \"placeholder\",\n attrs: {\n \"target\": \"_blank\",\n \"href\": _vm.attachment.url\n }\n }, [_vm._v(\"[\" + _vm._s(_vm.nsfw ? \"NSFW/\" : \"\") + _vm._s(_vm.type.toUpperCase()) + \"]\")]) : _vm._e()]) : _c('div', {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: (!_vm.isEmpty),\n expression: \"!isEmpty\"\n }],\n staticClass: \"attachment\",\n class: ( _obj = {\n loading: _vm.loading,\n 'small-attachment': _vm.isSmall,\n 'fullwidth': _vm.fullwidth\n }, _obj[_vm.type] = true, _obj )\n }, [(_vm.hidden) ? _c('a', {\n staticClass: \"image-attachment\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleHidden()\n }\n }\n }, [_c('img', {\n key: _vm.nsfwImage,\n attrs: {\n \"src\": _vm.nsfwImage\n }\n })]) : _vm._e(), _vm._v(\" \"), (_vm.nsfw && _vm.hideNsfwLocal && !_vm.hidden) ? _c('div', {\n staticClass: \"hider\"\n }, [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleHidden()\n }\n }\n }, [_vm._v(\"Hide\")])]) : _vm._e(), _vm._v(\" \"), (_vm.type === 'image' && !_vm.hidden) ? _c('a', {\n staticClass: \"image-attachment\",\n attrs: {\n \"href\": _vm.attachment.url,\n \"target\": \"_blank\"\n }\n }, [_c('StillImage', {\n class: {\n 'small': _vm.isSmall\n },\n attrs: {\n \"referrerpolicy\": \"no-referrer\",\n \"mimetype\": _vm.attachment.mimetype,\n \"src\": _vm.attachment.large_thumb_url || _vm.attachment.url\n }\n })], 1) : _vm._e(), _vm._v(\" \"), (_vm.type === 'video' && !_vm.hidden) ? _c('video', {\n class: {\n 'small': _vm.isSmall\n },\n attrs: {\n \"src\": _vm.attachment.url,\n \"controls\": \"\",\n \"loop\": \"\"\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.type === 'audio') ? _c('audio', {\n attrs: {\n \"src\": _vm.attachment.url,\n \"controls\": \"\"\n }\n }) : _vm._e(), _vm._v(\" \"), (_vm.type === 'html' && _vm.attachment.oembed) ? _c('div', {\n staticClass: \"oembed\",\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.linkClicked($event)\n }\n }\n }, [(_vm.attachment.thumb_url) ? _c('div', {\n staticClass: \"image\"\n }, [_c('img', {\n attrs: {\n \"src\": _vm.attachment.thumb_url\n }\n })]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"text\"\n }, [_c('h1', [_c('a', {\n attrs: {\n \"href\": _vm.attachment.url\n }\n }, [_vm._v(_vm._s(_vm.attachment.oembed.title))])]), _vm._v(\" \"), _c('div', {\n domProps: {\n \"innerHTML\": _vm._s(_vm.attachment.oembed.oembedHTML)\n }\n })])]) : _vm._e()])\n var _obj;\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-48d74080\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/attachment/attachment.vue\n// module id = 510\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n style: (_vm.style),\n attrs: {\n \"id\": \"app\"\n }\n }, [_c('nav', {\n staticClass: \"container\",\n attrs: {\n \"id\": \"nav\"\n },\n on: {\n \"click\": function($event) {\n _vm.scrollToTop()\n }\n }\n }, [_c('div', {\n staticClass: \"inner-nav\",\n style: (_vm.logoStyle)\n }, [_c('div', {\n staticClass: \"item\"\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'root'\n }\n }\n }, [_vm._v(_vm._s(_vm.sitename))])], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"item right\"\n }, [_c('user-finder', {\n staticClass: \"nav-icon\"\n }), _vm._v(\" \"), _c('router-link', {\n attrs: {\n \"to\": {\n name: 'settings'\n }\n }\n }, [_c('i', {\n staticClass: \"icon-cog nav-icon\"\n })]), _vm._v(\" \"), (_vm.currentUser) ? _c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.logout($event)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-logout nav-icon\",\n attrs: {\n \"title\": _vm.$t('login.logout')\n }\n })]) : _vm._e()], 1)])]), _vm._v(\" \"), _c('div', {\n staticClass: \"container\",\n attrs: {\n \"id\": \"content\"\n }\n }, [_c('div', {\n staticClass: \"panel-switcher\"\n }, [_c('button', {\n on: {\n \"click\": function($event) {\n _vm.activatePanel('sidebar')\n }\n }\n }, [_vm._v(\"Sidebar\")]), _vm._v(\" \"), _c('button', {\n on: {\n \"click\": function($event) {\n _vm.activatePanel('timeline')\n }\n }\n }, [_vm._v(\"Timeline\")])]), _vm._v(\" \"), _c('div', {\n staticClass: \"sidebar-flexer\",\n class: {\n 'mobile-hidden': _vm.mobileActivePanel != 'sidebar'\n }\n }, [_c('div', {\n staticClass: \"sidebar-bounds\"\n }, [_c('div', {\n staticClass: \"sidebar-scroller\"\n }, [_c('div', {\n staticClass: \"sidebar\"\n }, [_c('user-panel'), _vm._v(\" \"), _c('nav-panel'), _vm._v(\" \"), (_vm.showInstanceSpecificPanel) ? _c('instance-specific-panel') : _vm._e(), _vm._v(\" \"), (_vm.currentUser && _vm.showWhoToFollowPanel) ? _c('who-to-follow-panel') : _vm._e(), _vm._v(\" \"), (_vm.currentUser) ? _c('notifications') : _vm._e()], 1)])])]), _vm._v(\" \"), _c('div', {\n staticClass: \"main\",\n class: {\n 'mobile-hidden': _vm.mobileActivePanel != 'timeline'\n }\n }, [_c('transition', {\n attrs: {\n \"name\": \"fade\"\n }\n }, [_c('router-view')], 1)], 1)]), _vm._v(\" \"), (_vm.currentUser && _vm.chat) ? _c('chat-panel', {\n staticClass: \"floating-chat mobile-hidden\"\n }) : _vm._e()], 1)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-4c17cd72\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/App.vue\n// module id = 511\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"media-upload\",\n on: {\n \"drop\": [function($event) {\n $event.preventDefault();\n }, _vm.fileDrop],\n \"dragover\": function($event) {\n $event.preventDefault();\n _vm.fileDrag($event)\n }\n }\n }, [_c('label', {\n staticClass: \"btn btn-default\"\n }, [(_vm.uploading) ? _c('i', {\n staticClass: \"icon-spin4 animate-spin\"\n }) : _vm._e(), _vm._v(\" \"), (!_vm.uploading) ? _c('i', {\n staticClass: \"icon-upload\"\n }) : _vm._e(), _vm._v(\" \"), _c('input', {\n staticStyle: {\n \"position\": \"fixed\",\n \"top\": \"-100em\"\n },\n attrs: {\n \"type\": \"file\"\n }\n })])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-546891a0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/media_upload/media_upload.vue\n// module id = 512\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('Timeline', {\n attrs: {\n \"title\": _vm.$t('nav.public_tl'),\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'public'\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-63335050\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/public_timeline/public_timeline.vue\n// module id = 513\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (_vm.notification.type === 'mention') ? _c('status', {\n attrs: {\n \"compact\": true,\n \"statusoid\": _vm.notification.status\n }\n }) : _c('div', {\n staticClass: \"non-mention\"\n }, [_c('a', {\n staticClass: \"avatar-container\",\n attrs: {\n \"href\": _vm.notification.action.user.statusnet_profile_url\n },\n on: {\n \"!click\": function($event) {\n $event.stopPropagation();\n $event.preventDefault();\n _vm.toggleUserExpanded($event)\n }\n }\n }, [_c('StillImage', {\n staticClass: \"avatar-compact\",\n attrs: {\n \"src\": _vm.notification.action.user.profile_image_url_original\n }\n })], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"notification-right\"\n }, [(_vm.userExpanded) ? _c('div', {\n staticClass: \"usercard notification-usercard\"\n }, [_c('user-card-content', {\n attrs: {\n \"user\": _vm.notification.action.user,\n \"switcher\": false\n }\n })], 1) : _vm._e(), _vm._v(\" \"), _c('span', {\n staticClass: \"notification-details\"\n }, [_c('div', {\n staticClass: \"name-and-action\"\n }, [_c('span', {\n staticClass: \"username\",\n attrs: {\n \"title\": '@' + _vm.notification.action.user.screen_name\n }\n }, [_vm._v(_vm._s(_vm.notification.action.user.name))]), _vm._v(\" \"), (_vm.notification.type === 'favorite') ? _c('span', [_c('i', {\n staticClass: \"fa icon-star lit\"\n }), _vm._v(\" \"), _c('small', [_vm._v(_vm._s(_vm.$t('notifications.favorited_you')))])]) : _vm._e(), _vm._v(\" \"), (_vm.notification.type === 'repeat') ? _c('span', [_c('i', {\n staticClass: \"fa icon-retweet lit\"\n }), _vm._v(\" \"), _c('small', [_vm._v(_vm._s(_vm.$t('notifications.repeated_you')))])]) : _vm._e(), _vm._v(\" \"), (_vm.notification.type === 'follow') ? _c('span', [_c('i', {\n staticClass: \"fa icon-user-plus lit\"\n }), _vm._v(\" \"), _c('small', [_vm._v(_vm._s(_vm.$t('notifications.followed_you')))])]) : _vm._e()]), _vm._v(\" \"), _c('small', {\n staticClass: \"timeago\"\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'conversation',\n params: {\n id: _vm.notification.status.id\n }\n }\n }\n }, [_c('timeago', {\n attrs: {\n \"since\": _vm.notification.action.created_at,\n \"auto-update\": 240\n }\n })], 1)], 1)]), _vm._v(\" \"), (_vm.notification.type === 'follow') ? _c('div', {\n staticClass: \"follow-text\"\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.notification.action.user.id\n }\n }\n }\n }, [_vm._v(\"@\" + _vm._s(_vm.notification.action.user.screen_name))])], 1) : _c('status', {\n staticClass: \"faint\",\n attrs: {\n \"compact\": true,\n \"statusoid\": _vm.notification.status,\n \"noHeading\": true\n }\n })], 1)])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-68f32600\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/notification/notification.vue\n// module id = 514\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('conversation', {\n attrs: {\n \"collapsable\": false,\n \"statusoid\": _vm.statusoid\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-6d354bd4\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/conversation-page/conversation-page.vue\n// module id = 515\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"still-image\",\n class: {\n animated: _vm.animated\n }\n }, [(_vm.animated) ? _c('canvas', {\n ref: \"canvas\"\n }) : _vm._e(), _vm._v(\" \"), _c('img', {\n ref: \"src\",\n attrs: {\n \"src\": _vm.src,\n \"referrerpolicy\": _vm.referrerpolicy\n },\n on: {\n \"load\": _vm.onLoad\n }\n })])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-6ecb31e4\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/still-image/still-image.vue\n// module id = 516\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"status-el\",\n class: [{\n 'status-el_focused': _vm.isFocused\n }, {\n 'status-conversation': _vm.inlineExpanded\n }]\n }, [(_vm.muted && !_vm.noReplyLinks) ? [_c('div', {\n staticClass: \"media status container muted\"\n }, [_c('small', [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.status.user.id\n }\n }\n }\n }, [_vm._v(_vm._s(_vm.status.user.screen_name))])], 1), _vm._v(\" \"), _c('small', {\n staticClass: \"muteWords\"\n }, [_vm._v(_vm._s(_vm.muteWordHits.join(', ')))]), _vm._v(\" \"), _c('a', {\n staticClass: \"unmute\",\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleMute($event)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-eye-off\"\n })])])] : [(_vm.retweet && !_vm.noHeading) ? _c('div', {\n staticClass: \"media container retweet-info\"\n }, [(_vm.retweet) ? _c('StillImage', {\n staticClass: \"avatar\",\n attrs: {\n \"src\": _vm.statusoid.user.profile_image_url_original\n }\n }) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"media-body faint\"\n }, [_c('a', {\n staticStyle: {\n \"font-weight\": \"bold\"\n },\n attrs: {\n \"href\": _vm.statusoid.user.statusnet_profile_url,\n \"title\": '@' + _vm.statusoid.user.screen_name\n }\n }, [_vm._v(_vm._s(_vm.retweeter))]), _vm._v(\" \"), _c('i', {\n staticClass: \"fa icon-retweet retweeted\"\n }), _vm._v(\"\\n \" + _vm._s(_vm.$t('timeline.repeated')) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"media status\"\n }, [(!_vm.noHeading) ? _c('div', {\n staticClass: \"media-left\"\n }, [_c('a', {\n attrs: {\n \"href\": _vm.status.user.statusnet_profile_url\n },\n on: {\n \"!click\": function($event) {\n $event.stopPropagation();\n $event.preventDefault();\n _vm.toggleUserExpanded($event)\n }\n }\n }, [_c('StillImage', {\n staticClass: \"avatar\",\n class: {\n 'avatar-compact': _vm.compact\n },\n attrs: {\n \"src\": _vm.status.user.profile_image_url_original\n }\n })], 1)]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"status-body\"\n }, [(_vm.userExpanded) ? _c('div', {\n staticClass: \"usercard media-body\"\n }, [_c('user-card-content', {\n attrs: {\n \"user\": _vm.status.user,\n \"switcher\": false\n }\n })], 1) : _vm._e(), _vm._v(\" \"), (!_vm.noHeading) ? _c('div', {\n staticClass: \"media-body container media-heading\"\n }, [_c('div', {\n staticClass: \"media-heading-left\"\n }, [_c('div', {\n staticClass: \"name-and-links\"\n }, [_c('h4', {\n staticClass: \"user-name\"\n }, [_vm._v(_vm._s(_vm.status.user.name))]), _vm._v(\" \"), _c('span', {\n staticClass: \"links\"\n }, [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.status.user.id\n }\n }\n }\n }, [_vm._v(_vm._s(_vm.status.user.screen_name))]), _vm._v(\" \"), (_vm.status.in_reply_to_screen_name) ? _c('span', {\n staticClass: \"faint reply-info\"\n }, [_c('i', {\n staticClass: \"icon-right-open\"\n }), _vm._v(\" \"), _c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.status.in_reply_to_user_id\n }\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.status.in_reply_to_screen_name) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), (_vm.isReply && !_vm.noReplyLinks) ? _c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.gotoOriginal(_vm.status.in_reply_to_status_id)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-reply\",\n on: {\n \"mouseenter\": function($event) {\n _vm.replyEnter(_vm.status.in_reply_to_status_id, $event)\n },\n \"mouseout\": function($event) {\n _vm.replyLeave()\n }\n }\n })]) : _vm._e()], 1)]), _vm._v(\" \"), (_vm.inConversation && !_vm.noReplyLinks) ? _c('h4', {\n staticClass: \"replies\"\n }, [(_vm.replies.length) ? _c('small', [_vm._v(\"Replies:\")]) : _vm._e(), _vm._v(\" \"), _vm._l((_vm.replies), function(reply) {\n return _c('small', {\n staticClass: \"reply-link\"\n }, [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.gotoOriginal(reply.id)\n },\n \"mouseenter\": function($event) {\n _vm.replyEnter(reply.id, $event)\n },\n \"mouseout\": function($event) {\n _vm.replyLeave()\n }\n }\n }, [_vm._v(_vm._s(reply.name) + \" \")])])\n })], 2) : _vm._e()]), _vm._v(\" \"), _c('div', {\n staticClass: \"media-heading-right\"\n }, [_c('router-link', {\n staticClass: \"timeago\",\n attrs: {\n \"to\": {\n name: 'conversation',\n params: {\n id: _vm.status.id\n }\n }\n }\n }, [_c('timeago', {\n attrs: {\n \"since\": _vm.status.created_at,\n \"auto-update\": 60\n }\n })], 1), _vm._v(\" \"), (_vm.status.visibility) ? _c('span', [_c('i', {\n class: _vm.visibilityIcon(_vm.status.visibility)\n })]) : _vm._e(), _vm._v(\" \"), (!_vm.status.is_local) ? _c('a', {\n staticClass: \"source_url\",\n attrs: {\n \"href\": _vm.status.external_url,\n \"target\": \"_blank\"\n }\n }, [_c('i', {\n staticClass: \"icon-link-ext\"\n })]) : _vm._e(), _vm._v(\" \"), (_vm.expandable) ? [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleExpanded($event)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-plus-squared\"\n })])] : _vm._e(), _vm._v(\" \"), (_vm.unmuted) ? _c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleMute($event)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-eye-off\"\n })]) : _vm._e()], 2)]) : _vm._e(), _vm._v(\" \"), (_vm.showPreview) ? _c('div', {\n staticClass: \"status-preview-container\"\n }, [(_vm.preview) ? _c('status', {\n staticClass: \"status-preview\",\n attrs: {\n \"noReplyLinks\": true,\n \"statusoid\": _vm.preview,\n \"compact\": true\n }\n }) : _c('div', {\n staticClass: \"status-preview status-preview-loading\"\n }, [_c('i', {\n staticClass: \"icon-spin4 animate-spin\"\n })])], 1) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"status-content-wrapper\",\n class: {\n 'tall-status': _vm.hideTallStatus\n }\n }, [(_vm.hideTallStatus) ? _c('a', {\n staticClass: \"tall-status-hider\",\n class: {\n 'tall-status-hider_focused': _vm.isFocused\n },\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleShowTall($event)\n }\n }\n }, [_vm._v(\"Show more\")]) : _vm._e(), _vm._v(\" \"), _c('div', {\n staticClass: \"status-content media-body\",\n domProps: {\n \"innerHTML\": _vm._s(_vm.status.statusnet_html)\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.linkClicked($event)\n }\n }\n }), _vm._v(\" \"), (_vm.showingTall) ? _c('a', {\n staticClass: \"tall-status-unhider\",\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleShowTall($event)\n }\n }\n }, [_vm._v(\"Show less\")]) : _vm._e()]), _vm._v(\" \"), (_vm.status.attachments) ? _c('div', {\n staticClass: \"attachments media-body\"\n }, _vm._l((_vm.status.attachments), function(attachment) {\n return _c('attachment', {\n key: attachment.id,\n attrs: {\n \"size\": _vm.attachmentSize,\n \"status-id\": _vm.status.id,\n \"nsfw\": _vm.status.nsfw,\n \"attachment\": attachment\n }\n })\n })) : _vm._e(), _vm._v(\" \"), (!_vm.noHeading && !_vm.noReplyLinks) ? _c('div', {\n staticClass: \"status-actions media-body\"\n }, [(_vm.loggedIn) ? _c('div', [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleReplying($event)\n }\n }\n }, [_c('i', {\n staticClass: \"icon-reply\",\n class: {\n 'icon-reply-active': _vm.replying\n }\n })])]) : _vm._e(), _vm._v(\" \"), _c('retweet-button', {\n attrs: {\n \"loggedIn\": _vm.loggedIn,\n \"status\": _vm.status\n }\n }), _vm._v(\" \"), _c('favorite-button', {\n attrs: {\n \"loggedIn\": _vm.loggedIn,\n \"status\": _vm.status\n }\n }), _vm._v(\" \"), _c('delete-button', {\n attrs: {\n \"status\": _vm.status\n }\n })], 1) : _vm._e()])]), _vm._v(\" \"), (_vm.replying) ? _c('div', {\n staticClass: \"container\"\n }, [_c('div', {\n staticClass: \"reply-left\"\n }), _vm._v(\" \"), _c('post-status-form', {\n staticClass: \"reply-body\",\n attrs: {\n \"reply-to\": _vm.status.id,\n \"attentions\": _vm.status.attentions,\n \"repliedUser\": _vm.status.user\n },\n on: {\n \"posted\": _vm.toggleReplying\n }\n })], 1) : _vm._e()]], 2)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-769e38a0\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/status/status.vue\n// module id = 517\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"instance-specific-panel\"\n }, [_c('div', {\n staticClass: \"panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-body\"\n }, [_c('div', {\n domProps: {\n \"innerHTML\": _vm._s(_vm.instanceSpecificPanelContent)\n }\n })])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-8ac93238\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/instance_specific_panel/instance_specific_panel.vue\n// module id = 518\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('Timeline', {\n attrs: {\n \"title\": _vm.$t('nav.timeline'),\n \"timeline\": _vm.timeline,\n \"timeline-name\": 'friends'\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-938aba00\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/friends_timeline/friends_timeline.vue\n// module id = 519\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"settings panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.user_settings')) + \"\\n \")]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body profile-edit\"\n }, [_c('div', {\n staticClass: \"setting-item\"\n }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.name_bio')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.name')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.newname),\n expression: \"newname\"\n }],\n staticClass: \"name-changer\",\n attrs: {\n \"id\": \"username\"\n },\n domProps: {\n \"value\": (_vm.newname)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.newname = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.bio')))]), _vm._v(\" \"), _c('textarea', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.newbio),\n expression: \"newbio\"\n }],\n staticClass: \"bio\",\n domProps: {\n \"value\": (_vm.newbio)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.newbio = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('button', {\n staticClass: \"btn btn-default\",\n attrs: {\n \"disabled\": _vm.newname.length <= 0\n },\n on: {\n \"click\": _vm.updateProfile\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))])]), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.avatar')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.current_avatar')))]), _vm._v(\" \"), _c('img', {\n staticClass: \"old-avatar\",\n attrs: {\n \"src\": _vm.user.profile_image_url_original\n }\n }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.set_new_avatar')))]), _vm._v(\" \"), (_vm.previews[0]) ? _c('img', {\n staticClass: \"new-avatar\",\n attrs: {\n \"src\": _vm.previews[0]\n }\n }) : _vm._e(), _vm._v(\" \"), _c('div', [_c('input', {\n attrs: {\n \"type\": \"file\"\n },\n on: {\n \"change\": function($event) {\n _vm.uploadFile(0, $event)\n }\n }\n })]), _vm._v(\" \"), (_vm.uploading[0]) ? _c('i', {\n staticClass: \"icon-spin4 animate-spin\"\n }) : (_vm.previews[0]) ? _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.submitAvatar\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.profile_banner')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.current_profile_banner')))]), _vm._v(\" \"), _c('img', {\n staticClass: \"banner\",\n attrs: {\n \"src\": _vm.user.cover_photo\n }\n }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.set_new_profile_banner')))]), _vm._v(\" \"), (_vm.previews[1]) ? _c('img', {\n staticClass: \"banner\",\n attrs: {\n \"src\": _vm.previews[1]\n }\n }) : _vm._e(), _vm._v(\" \"), _c('div', [_c('input', {\n attrs: {\n \"type\": \"file\"\n },\n on: {\n \"change\": function($event) {\n _vm.uploadFile(1, $event)\n }\n }\n })]), _vm._v(\" \"), (_vm.uploading[1]) ? _c('i', {\n staticClass: \" icon-spin4 animate-spin uploading\"\n }) : (_vm.previews[1]) ? _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.submitBanner\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.profile_background')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.set_new_profile_background')))]), _vm._v(\" \"), (_vm.previews[2]) ? _c('img', {\n staticClass: \"bg\",\n attrs: {\n \"src\": _vm.previews[2]\n }\n }) : _vm._e(), _vm._v(\" \"), _c('div', [_c('input', {\n attrs: {\n \"type\": \"file\"\n },\n on: {\n \"change\": function($event) {\n _vm.uploadFile(2, $event)\n }\n }\n })]), _vm._v(\" \"), (_vm.uploading[2]) ? _c('i', {\n staticClass: \" icon-spin4 animate-spin uploading\"\n }) : (_vm.previews[2]) ? _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.submitBg\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _vm._e()]), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.change_password')))]), _vm._v(\" \"), _c('div', [_c('p', [_vm._v(_vm._s(_vm.$t('settings.current_password')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.changePasswordInputs[0]),\n expression: \"changePasswordInputs[0]\"\n }],\n attrs: {\n \"type\": \"password\"\n },\n domProps: {\n \"value\": (_vm.changePasswordInputs[0])\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.changePasswordInputs, 0, $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', [_c('p', [_vm._v(_vm._s(_vm.$t('settings.new_password')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.changePasswordInputs[1]),\n expression: \"changePasswordInputs[1]\"\n }],\n attrs: {\n \"type\": \"password\"\n },\n domProps: {\n \"value\": (_vm.changePasswordInputs[1])\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.changePasswordInputs, 1, $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('div', [_c('p', [_vm._v(_vm._s(_vm.$t('settings.confirm_new_password')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.changePasswordInputs[2]),\n expression: \"changePasswordInputs[2]\"\n }],\n attrs: {\n \"type\": \"password\"\n },\n domProps: {\n \"value\": (_vm.changePasswordInputs[2])\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.$set(_vm.changePasswordInputs, 2, $event.target.value)\n }\n }\n })]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.changePassword\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))]), _vm._v(\" \"), (_vm.changedPassword) ? _c('p', [_vm._v(_vm._s(_vm.$t('settings.changed_password')))]) : (_vm.changePasswordError !== false) ? _c('p', [_vm._v(_vm._s(_vm.$t('settings.change_password_error')))]) : _vm._e(), _vm._v(\" \"), (_vm.changePasswordError) ? _c('p', [_vm._v(_vm._s(_vm.changePasswordError))]) : _vm._e()]), _vm._v(\" \"), (_vm.pleromaBackend) ? _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.follow_import')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.import_followers_from_a_csv_file')))]), _vm._v(\" \"), _c('form', {\n model: {\n value: (_vm.followImportForm),\n callback: function($$v) {\n _vm.followImportForm = $$v\n },\n expression: \"followImportForm\"\n }\n }, [_c('input', {\n ref: \"followlist\",\n attrs: {\n \"type\": \"file\"\n },\n on: {\n \"change\": _vm.followListChange\n }\n })]), _vm._v(\" \"), (_vm.uploading[3]) ? _c('i', {\n staticClass: \" icon-spin4 animate-spin uploading\"\n }) : _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.importFollows\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))]), _vm._v(\" \"), (_vm.followsImported) ? _c('div', [_c('i', {\n staticClass: \"icon-cross\",\n on: {\n \"click\": _vm.dismissImported\n }\n }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.follows_imported')))])]) : (_vm.followImportError) ? _c('div', [_c('i', {\n staticClass: \"icon-cross\",\n on: {\n \"click\": _vm.dismissImported\n }\n }), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.follow_import_error')))])]) : _vm._e()]) : _vm._e(), _vm._v(\" \"), (_vm.enableFollowsExport) ? _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.follow_export')))]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.exportFollows\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.follow_export_button')))])]) : _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.follow_export_processing')))])]), _vm._v(\" \"), _c('hr'), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h3', [_vm._v(_vm._s(_vm.$t('settings.delete_account')))]), _vm._v(\" \"), (!_vm.deletingAccount) ? _c('p', [_vm._v(_vm._s(_vm.$t('settings.delete_account_description')))]) : _vm._e(), _vm._v(\" \"), (_vm.deletingAccount) ? _c('div', [_c('p', [_vm._v(_vm._s(_vm.$t('settings.delete_account_instructions')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('login.password')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.deleteAccountConfirmPasswordInput),\n expression: \"deleteAccountConfirmPasswordInput\"\n }],\n attrs: {\n \"type\": \"password\"\n },\n domProps: {\n \"value\": (_vm.deleteAccountConfirmPasswordInput)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.deleteAccountConfirmPasswordInput = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.deleteAccount\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.delete_account')))])]) : _vm._e(), _vm._v(\" \"), (_vm.deleteAccountError !== false) ? _c('p', [_vm._v(_vm._s(_vm.$t('settings.delete_account_error')))]) : _vm._e(), _vm._v(\" \"), (_vm.deleteAccountError) ? _c('p', [_vm._v(_vm._s(_vm.deleteAccountError))]) : _vm._e(), _vm._v(\" \"), (!_vm.deletingAccount) ? _c('button', {\n staticClass: \"btn btn-default\",\n on: {\n \"click\": _vm.confirmDelete\n }\n }, [_vm._v(_vm._s(_vm.$t('general.submit')))]) : _vm._e()])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-93ac3f60\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_settings/user_settings.vue\n// module id = 520\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (_vm.canDelete) ? _c('div', [_c('a', {\n attrs: {\n \"href\": \"#\"\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.deleteStatus()\n }\n }\n }, [_c('i', {\n staticClass: \"icon-cancel delete-status\"\n })])]) : _vm._e()\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-ab5f3124\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/delete_button/delete_button.vue\n// module id = 521\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', [_c('div', [_vm._v(_vm._s(_vm.$t('settings.presets')) + \"\\n \"), _c('label', {\n staticClass: \"select\",\n attrs: {\n \"for\": \"style-switcher\"\n }\n }, [_c('select', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.selected),\n expression: \"selected\"\n }],\n staticClass: \"style-switcher\",\n attrs: {\n \"id\": \"style-switcher\"\n },\n on: {\n \"change\": function($event) {\n var $$selectedVal = Array.prototype.filter.call($event.target.options, function(o) {\n return o.selected\n }).map(function(o) {\n var val = \"_value\" in o ? o._value : o.value;\n return val\n });\n _vm.selected = $event.target.multiple ? $$selectedVal : $$selectedVal[0]\n }\n }\n }, _vm._l((_vm.availableStyles), function(style) {\n return _c('option', {\n domProps: {\n \"value\": style\n }\n }, [_vm._v(_vm._s(style[0]))])\n })), _vm._v(\" \"), _c('i', {\n staticClass: \"icon-down-open\"\n })])]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-container\"\n }, [_c('p', [_vm._v(_vm._s(_vm.$t('settings.theme_help')))]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('label', {\n staticClass: \"theme-color-lb\",\n attrs: {\n \"for\": \"bgcolor\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.background')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.bgColorLocal),\n expression: \"bgColorLocal\"\n }],\n staticClass: \"theme-color-cl\",\n attrs: {\n \"id\": \"bgcolor\",\n \"type\": \"color\"\n },\n domProps: {\n \"value\": (_vm.bgColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.bgColorLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.bgColorLocal),\n expression: \"bgColorLocal\"\n }],\n staticClass: \"theme-color-in\",\n attrs: {\n \"id\": \"bgcolor-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.bgColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.bgColorLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('label', {\n staticClass: \"theme-color-lb\",\n attrs: {\n \"for\": \"fgcolor\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.foreground')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.btnColorLocal),\n expression: \"btnColorLocal\"\n }],\n staticClass: \"theme-color-cl\",\n attrs: {\n \"id\": \"fgcolor\",\n \"type\": \"color\"\n },\n domProps: {\n \"value\": (_vm.btnColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.btnColorLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.btnColorLocal),\n expression: \"btnColorLocal\"\n }],\n staticClass: \"theme-color-in\",\n attrs: {\n \"id\": \"fgcolor-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.btnColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.btnColorLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('label', {\n staticClass: \"theme-color-lb\",\n attrs: {\n \"for\": \"textcolor\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.text')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.textColorLocal),\n expression: \"textColorLocal\"\n }],\n staticClass: \"theme-color-cl\",\n attrs: {\n \"id\": \"textcolor\",\n \"type\": \"color\"\n },\n domProps: {\n \"value\": (_vm.textColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.textColorLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.textColorLocal),\n expression: \"textColorLocal\"\n }],\n staticClass: \"theme-color-in\",\n attrs: {\n \"id\": \"textcolor-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.textColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.textColorLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('label', {\n staticClass: \"theme-color-lb\",\n attrs: {\n \"for\": \"linkcolor\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.links')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.linkColorLocal),\n expression: \"linkColorLocal\"\n }],\n staticClass: \"theme-color-cl\",\n attrs: {\n \"id\": \"linkcolor\",\n \"type\": \"color\"\n },\n domProps: {\n \"value\": (_vm.linkColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.linkColorLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.linkColorLocal),\n expression: \"linkColorLocal\"\n }],\n staticClass: \"theme-color-in\",\n attrs: {\n \"id\": \"linkcolor-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.linkColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.linkColorLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('label', {\n staticClass: \"theme-color-lb\",\n attrs: {\n \"for\": \"redcolor\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.cRed')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.redColorLocal),\n expression: \"redColorLocal\"\n }],\n staticClass: \"theme-color-cl\",\n attrs: {\n \"id\": \"redcolor\",\n \"type\": \"color\"\n },\n domProps: {\n \"value\": (_vm.redColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.redColorLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.redColorLocal),\n expression: \"redColorLocal\"\n }],\n staticClass: \"theme-color-in\",\n attrs: {\n \"id\": \"redcolor-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.redColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.redColorLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('label', {\n staticClass: \"theme-color-lb\",\n attrs: {\n \"for\": \"bluecolor\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.cBlue')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.blueColorLocal),\n expression: \"blueColorLocal\"\n }],\n staticClass: \"theme-color-cl\",\n attrs: {\n \"id\": \"bluecolor\",\n \"type\": \"color\"\n },\n domProps: {\n \"value\": (_vm.blueColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.blueColorLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.blueColorLocal),\n expression: \"blueColorLocal\"\n }],\n staticClass: \"theme-color-in\",\n attrs: {\n \"id\": \"bluecolor-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.blueColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.blueColorLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('label', {\n staticClass: \"theme-color-lb\",\n attrs: {\n \"for\": \"greencolor\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.cGreen')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.greenColorLocal),\n expression: \"greenColorLocal\"\n }],\n staticClass: \"theme-color-cl\",\n attrs: {\n \"id\": \"greencolor\",\n \"type\": \"color\"\n },\n domProps: {\n \"value\": (_vm.greenColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.greenColorLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.greenColorLocal),\n expression: \"greenColorLocal\"\n }],\n staticClass: \"theme-color-in\",\n attrs: {\n \"id\": \"greencolor-t\",\n \"type\": \"green\"\n },\n domProps: {\n \"value\": (_vm.greenColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.greenColorLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"color-item\"\n }, [_c('label', {\n staticClass: \"theme-color-lb\",\n attrs: {\n \"for\": \"orangecolor\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.cOrange')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.orangeColorLocal),\n expression: \"orangeColorLocal\"\n }],\n staticClass: \"theme-color-cl\",\n attrs: {\n \"id\": \"orangecolor\",\n \"type\": \"color\"\n },\n domProps: {\n \"value\": (_vm.orangeColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.orangeColorLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.orangeColorLocal),\n expression: \"orangeColorLocal\"\n }],\n staticClass: \"theme-color-in\",\n attrs: {\n \"id\": \"orangecolor-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.orangeColorLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.orangeColorLocal = $event.target.value\n }\n }\n })])]), _vm._v(\" \"), _c('div', {\n staticClass: \"radius-container\"\n }, [_c('p', [_vm._v(_vm._s(_vm.$t('settings.radii_help')))]), _vm._v(\" \"), _c('div', {\n staticClass: \"radius-item\"\n }, [_c('label', {\n staticClass: \"theme-radius-lb\",\n attrs: {\n \"for\": \"btnradius\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.btnRadius')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.btnRadiusLocal),\n expression: \"btnRadiusLocal\"\n }],\n staticClass: \"theme-radius-rn\",\n attrs: {\n \"id\": \"btnradius\",\n \"type\": \"range\",\n \"max\": \"16\"\n },\n domProps: {\n \"value\": (_vm.btnRadiusLocal)\n },\n on: {\n \"__r\": function($event) {\n _vm.btnRadiusLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.btnRadiusLocal),\n expression: \"btnRadiusLocal\"\n }],\n staticClass: \"theme-radius-in\",\n attrs: {\n \"id\": \"btnradius-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.btnRadiusLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.btnRadiusLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"radius-item\"\n }, [_c('label', {\n staticClass: \"theme-radius-lb\",\n attrs: {\n \"for\": \"inputradius\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.inputRadius')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.inputRadiusLocal),\n expression: \"inputRadiusLocal\"\n }],\n staticClass: \"theme-radius-rn\",\n attrs: {\n \"id\": \"inputradius\",\n \"type\": \"range\",\n \"max\": \"16\"\n },\n domProps: {\n \"value\": (_vm.inputRadiusLocal)\n },\n on: {\n \"__r\": function($event) {\n _vm.inputRadiusLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.inputRadiusLocal),\n expression: \"inputRadiusLocal\"\n }],\n staticClass: \"theme-radius-in\",\n attrs: {\n \"id\": \"inputradius-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.inputRadiusLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.inputRadiusLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"radius-item\"\n }, [_c('label', {\n staticClass: \"theme-radius-lb\",\n attrs: {\n \"for\": \"panelradius\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.panelRadius')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.panelRadiusLocal),\n expression: \"panelRadiusLocal\"\n }],\n staticClass: \"theme-radius-rn\",\n attrs: {\n \"id\": \"panelradius\",\n \"type\": \"range\",\n \"max\": \"50\"\n },\n domProps: {\n \"value\": (_vm.panelRadiusLocal)\n },\n on: {\n \"__r\": function($event) {\n _vm.panelRadiusLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.panelRadiusLocal),\n expression: \"panelRadiusLocal\"\n }],\n staticClass: \"theme-radius-in\",\n attrs: {\n \"id\": \"panelradius-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.panelRadiusLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.panelRadiusLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"radius-item\"\n }, [_c('label', {\n staticClass: \"theme-radius-lb\",\n attrs: {\n \"for\": \"avatarradius\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.avatarRadius')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.avatarRadiusLocal),\n expression: \"avatarRadiusLocal\"\n }],\n staticClass: \"theme-radius-rn\",\n attrs: {\n \"id\": \"avatarradius\",\n \"type\": \"range\",\n \"max\": \"28\"\n },\n domProps: {\n \"value\": (_vm.avatarRadiusLocal)\n },\n on: {\n \"__r\": function($event) {\n _vm.avatarRadiusLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.avatarRadiusLocal),\n expression: \"avatarRadiusLocal\"\n }],\n staticClass: \"theme-radius-in\",\n attrs: {\n \"id\": \"avatarradius-t\",\n \"type\": \"green\"\n },\n domProps: {\n \"value\": (_vm.avatarRadiusLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.avatarRadiusLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"radius-item\"\n }, [_c('label', {\n staticClass: \"theme-radius-lb\",\n attrs: {\n \"for\": \"avataraltradius\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.avatarAltRadius')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.avatarAltRadiusLocal),\n expression: \"avatarAltRadiusLocal\"\n }],\n staticClass: \"theme-radius-rn\",\n attrs: {\n \"id\": \"avataraltradius\",\n \"type\": \"range\",\n \"max\": \"28\"\n },\n domProps: {\n \"value\": (_vm.avatarAltRadiusLocal)\n },\n on: {\n \"__r\": function($event) {\n _vm.avatarAltRadiusLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.avatarAltRadiusLocal),\n expression: \"avatarAltRadiusLocal\"\n }],\n staticClass: \"theme-radius-in\",\n attrs: {\n \"id\": \"avataraltradius-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.avatarAltRadiusLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.avatarAltRadiusLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"radius-item\"\n }, [_c('label', {\n staticClass: \"theme-radius-lb\",\n attrs: {\n \"for\": \"attachmentradius\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.attachmentRadius')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.attachmentRadiusLocal),\n expression: \"attachmentRadiusLocal\"\n }],\n staticClass: \"theme-radius-rn\",\n attrs: {\n \"id\": \"attachmentrradius\",\n \"type\": \"range\",\n \"max\": \"50\"\n },\n domProps: {\n \"value\": (_vm.attachmentRadiusLocal)\n },\n on: {\n \"__r\": function($event) {\n _vm.attachmentRadiusLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.attachmentRadiusLocal),\n expression: \"attachmentRadiusLocal\"\n }],\n staticClass: \"theme-radius-in\",\n attrs: {\n \"id\": \"attachmentradius-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.attachmentRadiusLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.attachmentRadiusLocal = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"radius-item\"\n }, [_c('label', {\n staticClass: \"theme-radius-lb\",\n attrs: {\n \"for\": \"tooltipradius\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.tooltipRadius')))]), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.tooltipRadiusLocal),\n expression: \"tooltipRadiusLocal\"\n }],\n staticClass: \"theme-radius-rn\",\n attrs: {\n \"id\": \"tooltipradius\",\n \"type\": \"range\",\n \"max\": \"20\"\n },\n domProps: {\n \"value\": (_vm.tooltipRadiusLocal)\n },\n on: {\n \"__r\": function($event) {\n _vm.tooltipRadiusLocal = $event.target.value\n }\n }\n }), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.tooltipRadiusLocal),\n expression: \"tooltipRadiusLocal\"\n }],\n staticClass: \"theme-radius-in\",\n attrs: {\n \"id\": \"tooltipradius-t\",\n \"type\": \"text\"\n },\n domProps: {\n \"value\": (_vm.tooltipRadiusLocal)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.tooltipRadiusLocal = $event.target.value\n }\n }\n })])]), _vm._v(\" \"), _c('div', {\n style: ({\n '--btnRadius': _vm.btnRadiusLocal + 'px',\n '--inputRadius': _vm.inputRadiusLocal + 'px',\n '--panelRadius': _vm.panelRadiusLocal + 'px',\n '--avatarRadius': _vm.avatarRadiusLocal + 'px',\n '--avatarAltRadius': _vm.avatarAltRadiusLocal + 'px',\n '--tooltipRadius': _vm.tooltipRadiusLocal + 'px',\n '--attachmentRadius': _vm.attachmentRadiusLocal + 'px'\n })\n }, [_c('div', {\n staticClass: \"panel dummy\"\n }, [_c('div', {\n staticClass: \"panel-heading\",\n style: ({\n 'background-color': _vm.btnColorLocal,\n 'color': _vm.textColorLocal\n })\n }, [_vm._v(\"Preview\")]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body theme-preview-content\",\n style: ({\n 'background-color': _vm.bgColorLocal,\n 'color': _vm.textColorLocal\n })\n }, [_c('div', {\n staticClass: \"avatar\",\n style: ({\n 'border-radius': _vm.avatarRadiusLocal + 'px'\n })\n }, [_vm._v(\"\\n ( ͡° ͜ʖ ͡°)\\n \")]), _vm._v(\" \"), _c('h4', [_vm._v(\"Content\")]), _vm._v(\" \"), _c('br'), _vm._v(\"\\n A bunch of more content and\\n \"), _c('a', {\n style: ({\n color: _vm.linkColorLocal\n })\n }, [_vm._v(\"a nice lil' link\")]), _vm._v(\" \"), _c('i', {\n staticClass: \"icon-reply\",\n style: ({\n color: _vm.blueColorLocal\n })\n }), _vm._v(\" \"), _c('i', {\n staticClass: \"icon-retweet\",\n style: ({\n color: _vm.greenColorLocal\n })\n }), _vm._v(\" \"), _c('i', {\n staticClass: \"icon-cancel\",\n style: ({\n color: _vm.redColorLocal\n })\n }), _vm._v(\" \"), _c('i', {\n staticClass: \"icon-star\",\n style: ({\n color: _vm.orangeColorLocal\n })\n }), _vm._v(\" \"), _c('br'), _vm._v(\" \"), _c('button', {\n staticClass: \"btn\",\n style: ({\n 'background-color': _vm.btnColorLocal,\n 'color': _vm.textColorLocal\n })\n }, [_vm._v(\"Button\")])])])]), _vm._v(\" \"), _c('button', {\n staticClass: \"btn\",\n on: {\n \"click\": _vm.setCustomTheme\n }\n }, [_vm._v(_vm._s(_vm.$t('general.apply')))])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-ae8f5000\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/style_switcher/style_switcher.vue\n// module id = 522\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return (_vm.loggedIn) ? _c('div', [_c('i', {\n staticClass: \"favorite-button fav-active\",\n class: _vm.classes,\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.favorite()\n }\n }\n }), _vm._v(\" \"), (_vm.status.fave_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.fave_num))]) : _vm._e()]) : _c('div', [_c('i', {\n staticClass: \"favorite-button\",\n class: _vm.classes\n }), _vm._v(\" \"), (_vm.status.fave_num > 0) ? _c('span', [_vm._v(_vm._s(_vm.status.fave_num))]) : _vm._e()])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-bd666be8\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/favorite_button/favorite_button.vue\n// module id = 523\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"settings panel panel-default\"\n }, [_c('div', {\n staticClass: \"panel-heading\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('settings.settings')) + \"\\n \")]), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body\"\n }, [_c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.theme')))]), _vm._v(\" \"), _c('style-switcher')], 1), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.filtering')))]), _vm._v(\" \"), _c('p', [_vm._v(_vm._s(_vm.$t('settings.filtering_explanation')))]), _vm._v(\" \"), _c('textarea', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.muteWordsString),\n expression: \"muteWordsString\"\n }],\n attrs: {\n \"id\": \"muteWords\"\n },\n domProps: {\n \"value\": (_vm.muteWordsString)\n },\n on: {\n \"input\": function($event) {\n if ($event.target.composing) { return; }\n _vm.muteWordsString = $event.target.value\n }\n }\n })]), _vm._v(\" \"), _c('div', {\n staticClass: \"setting-item\"\n }, [_c('h2', [_vm._v(_vm._s(_vm.$t('settings.attachments')))]), _vm._v(\" \"), _c('ul', {\n staticClass: \"setting-list\"\n }, [_c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.hideAttachmentsLocal),\n expression: \"hideAttachmentsLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"hideAttachments\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.hideAttachmentsLocal) ? _vm._i(_vm.hideAttachmentsLocal, null) > -1 : (_vm.hideAttachmentsLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.hideAttachmentsLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.hideAttachmentsLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.hideAttachmentsLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.hideAttachmentsLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"hideAttachments\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.hide_attachments_in_tl')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.hideAttachmentsInConvLocal),\n expression: \"hideAttachmentsInConvLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"hideAttachmentsInConv\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.hideAttachmentsInConvLocal) ? _vm._i(_vm.hideAttachmentsInConvLocal, null) > -1 : (_vm.hideAttachmentsInConvLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.hideAttachmentsInConvLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.hideAttachmentsInConvLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.hideAttachmentsInConvLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.hideAttachmentsInConvLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"hideAttachmentsInConv\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.hide_attachments_in_convo')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.hideNsfwLocal),\n expression: \"hideNsfwLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"hideNsfw\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.hideNsfwLocal) ? _vm._i(_vm.hideNsfwLocal, null) > -1 : (_vm.hideNsfwLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.hideNsfwLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.hideNsfwLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.hideNsfwLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.hideNsfwLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"hideNsfw\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.nsfw_clickthrough')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.autoLoadLocal),\n expression: \"autoLoadLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"autoload\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.autoLoadLocal) ? _vm._i(_vm.autoLoadLocal, null) > -1 : (_vm.autoLoadLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.autoLoadLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.autoLoadLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.autoLoadLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.autoLoadLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"autoload\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.autoload')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.streamingLocal),\n expression: \"streamingLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"streaming\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.streamingLocal) ? _vm._i(_vm.streamingLocal, null) > -1 : (_vm.streamingLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.streamingLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.streamingLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.streamingLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.streamingLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"streaming\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.streaming')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.hoverPreviewLocal),\n expression: \"hoverPreviewLocal\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"hoverPreview\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.hoverPreviewLocal) ? _vm._i(_vm.hoverPreviewLocal, null) > -1 : (_vm.hoverPreviewLocal)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.hoverPreviewLocal,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.hoverPreviewLocal = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.hoverPreviewLocal = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.hoverPreviewLocal = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"hoverPreview\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.reply_link_preview')))])]), _vm._v(\" \"), _c('li', [_c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.stopGifs),\n expression: \"stopGifs\"\n }],\n attrs: {\n \"type\": \"checkbox\",\n \"id\": \"stopGifs\"\n },\n domProps: {\n \"checked\": Array.isArray(_vm.stopGifs) ? _vm._i(_vm.stopGifs, null) > -1 : (_vm.stopGifs)\n },\n on: {\n \"change\": function($event) {\n var $$a = _vm.stopGifs,\n $$el = $event.target,\n $$c = $$el.checked ? (true) : (false);\n if (Array.isArray($$a)) {\n var $$v = null,\n $$i = _vm._i($$a, $$v);\n if ($$el.checked) {\n $$i < 0 && (_vm.stopGifs = $$a.concat([$$v]))\n } else {\n $$i > -1 && (_vm.stopGifs = $$a.slice(0, $$i).concat($$a.slice($$i + 1)))\n }\n } else {\n _vm.stopGifs = $$c\n }\n }\n }\n }), _vm._v(\" \"), _c('label', {\n attrs: {\n \"for\": \"stopGifs\"\n }\n }, [_vm._v(_vm._s(_vm.$t('settings.stop_gifs')))])])])])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-cd51c000\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/settings/settings.vue\n// module id = 524\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"nav-panel\"\n }, [_c('div', {\n staticClass: \"panel panel-default\"\n }, [_c('ul', [(_vm.currentUser) ? _c('li', [_c('router-link', {\n attrs: {\n \"to\": \"/main/friends\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.timeline\")) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), (_vm.currentUser) ? _c('li', [_c('router-link', {\n attrs: {\n \"to\": {\n name: 'mentions',\n params: {\n username: _vm.currentUser.screen_name\n }\n }\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.mentions\")) + \"\\n \")])], 1) : _vm._e(), _vm._v(\" \"), _c('li', [_c('router-link', {\n attrs: {\n \"to\": \"/main/public\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.public_tl\")) + \"\\n \")])], 1), _vm._v(\" \"), _c('li', [_c('router-link', {\n attrs: {\n \"to\": \"/main/all\"\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t(\"nav.twkn\")) + \"\\n \")])], 1)])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-d306a29c\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/nav_panel/nav_panel.vue\n// module id = 525\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"who-to-follow-panel\"\n }, [_c('div', {\n staticClass: \"panel panel-default base01-background\"\n }, [_vm._m(0), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-body who-to-follow\"\n }, [_c('p', [_c('img', {\n attrs: {\n \"src\": _vm.img1\n }\n }), _vm._v(\" \"), _c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.id1\n }\n }\n }\n }, [_vm._v(_vm._s(_vm.name1))]), _c('br'), _vm._v(\" \"), _c('img', {\n attrs: {\n \"src\": _vm.img2\n }\n }), _vm._v(\" \"), _c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.id2\n }\n }\n }\n }, [_vm._v(_vm._s(_vm.name2))]), _c('br'), _vm._v(\" \"), _c('img', {\n attrs: {\n \"src\": _vm.img3\n }\n }), _vm._v(\" \"), _c('router-link', {\n attrs: {\n \"to\": {\n name: 'user-profile',\n params: {\n id: _vm.id3\n }\n }\n }\n }, [_vm._v(_vm._s(_vm.name3))]), _c('br'), _vm._v(\" \"), _c('img', {\n attrs: {\n \"src\": _vm.$store.state.config.logo\n }\n }), _vm._v(\" \"), _c('a', {\n attrs: {\n \"href\": _vm.moreUrl,\n \"target\": \"_blank\"\n }\n }, [_vm._v(\"More\")])], 1)])])])\n},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"panel-heading timeline-heading base02-background base04\"\n }, [_c('div', {\n staticClass: \"title\"\n }, [_vm._v(\"\\n Who to follow\\n \")])])\n}]}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-d8fd69d8\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/who_to_follow_panel/who_to_follow_panel.vue\n// module id = 526\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"user-panel\"\n }, [(_vm.user) ? _c('div', {\n staticClass: \"panel panel-default\",\n staticStyle: {\n \"overflow\": \"visible\"\n }\n }, [_c('user-card-content', {\n attrs: {\n \"user\": _vm.user,\n \"switcher\": false,\n \"hideBio\": true\n }\n }), _vm._v(\" \"), _c('div', {\n staticClass: \"panel-footer\"\n }, [(_vm.user) ? _c('post-status-form') : _vm._e()], 1)], 1) : _vm._e(), _vm._v(\" \"), (!_vm.user) ? _c('login-form') : _vm._e()], 1)\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-eda04b40\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_panel/user_panel.vue\n// module id = 527\n// module chunks = 2","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"card\"\n }, [_c('a', {\n attrs: {\n \"href\": \"#\"\n }\n }, [_c('img', {\n staticClass: \"avatar\",\n attrs: {\n \"src\": _vm.user.profile_image_url\n },\n on: {\n \"click\": function($event) {\n $event.preventDefault();\n _vm.toggleUserExpanded($event)\n }\n }\n })]), _vm._v(\" \"), (_vm.userExpanded) ? _c('div', {\n staticClass: \"usercard\"\n }, [_c('user-card-content', {\n attrs: {\n \"user\": _vm.user,\n \"switcher\": false\n }\n })], 1) : _c('div', {\n staticClass: \"name-and-screen-name\"\n }, [_c('div', {\n staticClass: \"user-name\",\n attrs: {\n \"title\": _vm.user.name\n }\n }, [_vm._v(\"\\n \" + _vm._s(_vm.user.name) + \"\\n \"), (!_vm.userExpanded && _vm.showFollows && _vm.user.follows_you) ? _c('span', {\n staticClass: \"follows-you\"\n }, [_vm._v(\"\\n \" + _vm._s(_vm.$t('user_card.follows_you')) + \"\\n \")]) : _vm._e()]), _vm._v(\" \"), _c('a', {\n attrs: {\n \"href\": _vm.user.statusnet_profile_url,\n \"target\": \"blank\"\n }\n }, [_c('div', {\n staticClass: \"user-screen-name\"\n }, [_vm._v(\"@\" + _vm._s(_vm.user.screen_name))])])])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler?{\"id\":\"data-v-f117c42c\"}!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/user_card/user_card.vue\n// module id = 528\n// module chunks = 2"],"sourceRoot":""}
\ No newline at end of file
diff --git a/priv/static/static/js/manifest.16ab7851cdbf730f9cbc.js b/priv/static/static/js/manifest.16ab7851cdbf730f9cbc.js
new file mode 100644
index 000000000..e0b409bb5
--- /dev/null
+++ b/priv/static/static/js/manifest.16ab7851cdbf730f9cbc.js
@@ -0,0 +1,2 @@
+!function(e){function t(a){if(r[a])return r[a].exports;var n=r[a]={exports:{},id:a,loaded:!1};return e[a].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var a=window.webpackJsonp;window.webpackJsonp=function(c,o){for(var p,l,s=0,i=[];s
between them)\n // as well as approximate line count by counting characters and approximating ~80\n // per line.\n //\n // Using max-height + overflow: auto for status components resulted in false positives\n // very often with japanese characters, and it was very annoying.\n hideTallStatus () {\n if (this.showingTall) {\n return false\n }\n const lengthScore = this.status.statusnet_html.split(/
between them)\n // as well as approximate line count by counting characters and approximating ~80\n // per line.\n //\n // Using max-height + overflow: auto for status components resulted in false positives\n // very often with japanese characters, and it was very annoying.\n hideTallStatus () {\n if (this.showingTall) {\n return false\n }\n const lengthScore = this.status.statusnet_html.split(/
in bio", %{conn: conn} do
assert user.bio == "Hello,
World! I
am a test."
end
+ describe "POST /api/pleroma/change_password" do
+ setup [:valid_user]
+
+ test "without credentials", %{conn: conn} do
+ conn = post(conn, "/api/pleroma/change_password")
+ assert json_response(conn, 403) == %{"error" => "Invalid credentials."}
+ end
+
+ test "with credentials and invalid password", %{conn: conn, user: current_user} do
+ conn =
+ conn
+ |> with_credentials(current_user.nickname, "test")
+ |> post("/api/pleroma/change_password", %{
+ "password" => "hi",
+ "new_password" => "newpass",
+ "new_password_confirmation" => "newpass"
+ })
+
+ assert json_response(conn, 200) == %{"error" => "Invalid password."}
+ end
+
+ test "with credentials, valid password and new password and confirmation not matching", %{
+ conn: conn,
+ user: current_user
+ } do
+ conn =
+ conn
+ |> with_credentials(current_user.nickname, "test")
+ |> post("/api/pleroma/change_password", %{
+ "password" => "test",
+ "new_password" => "newpass",
+ "new_password_confirmation" => "notnewpass"
+ })
+
+ assert json_response(conn, 200) == %{
+ "error" => "New password does not match confirmation."
+ }
+ end
+
+ test "with credentials, valid password and invalid new password", %{
+ conn: conn,
+ user: current_user
+ } do
+ conn =
+ conn
+ |> with_credentials(current_user.nickname, "test")
+ |> post("/api/pleroma/change_password", %{
+ "password" => "test",
+ "new_password" => "",
+ "new_password_confirmation" => ""
+ })
+
+ assert json_response(conn, 200) == %{
+ "error" => "New password can't be blank."
+ }
+ end
+
+ test "with credentials, valid password and matching new password and confirmation", %{
+ conn: conn,
+ user: current_user
+ } do
+ conn =
+ conn
+ |> with_credentials(current_user.nickname, "test")
+ |> post("/api/pleroma/change_password", %{
+ "password" => "test",
+ "new_password" => "newpass",
+ "new_password_confirmation" => "newpass"
+ })
+
+ assert json_response(conn, 200) == %{"status" => "success"}
+ fetched_user = Repo.get(User, current_user.id)
+ assert Pbkdf2.checkpw("newpass", fetched_user.password_hash) == true
+ end
+ end
+
describe "POST /api/pleroma/delete_account" do
setup [:valid_user]
diff --git a/test/web/twitter_api/twitter_api_test.exs b/test/web/twitter_api/twitter_api_test.exs
index af565c0e5..4716abb84 100644
--- a/test/web/twitter_api/twitter_api_test.exs
+++ b/test/web/twitter_api/twitter_api_test.exs
@@ -166,7 +166,7 @@ test "Block another user using screen_name" do
test "Unblock another user using user_id" do
unblocked = insert(:user)
user = insert(:user)
- User.block(user, unblocked)
+ {:ok, user, _unblocked} = TwitterAPI.block(user, %{"user_id" => unblocked.id})
{:ok, user, _unblocked} = TwitterAPI.unblock(user, %{"user_id" => unblocked.id})
assert user.info["blocks"] == []
@@ -175,7 +175,7 @@ test "Unblock another user using user_id" do
test "Unblock another user using screen_name" do
unblocked = insert(:user)
user = insert(:user)
- User.block(user, unblocked)
+ {:ok, user, _unblocked} = TwitterAPI.block(user, %{"screen_name" => unblocked.nickname})
{:ok, user, _unblocked} = TwitterAPI.unblock(user, %{"screen_name" => unblocked.nickname})
assert user.info["blocks"] == []
diff --git a/test/web/twitter_api/views/notification_view_test.exs b/test/web/twitter_api/views/notification_view_test.exs
index e3b140657..79eafda7d 100644
--- a/test/web/twitter_api/views/notification_view_test.exs
+++ b/test/web/twitter_api/views/notification_view_test.exs
@@ -24,7 +24,7 @@ test "A follow notification" do
{:ok, follower} = User.follow(follower, user)
{:ok, activity} = ActivityPub.follow(follower, user)
- Cachex.set(:user_cache, "user_info:#{user.id}", User.user_info(Repo.get!(User, user.id)))
+ Cachex.put(:user_cache, "user_info:#{user.id}", User.user_info(Repo.get!(User, user.id)))
[follow_notif] = Notification.for_user(user)
represented = %{
diff --git a/test/web/twitter_api/views/user_view_test.exs b/test/web/twitter_api/views/user_view_test.exs
index dd55c0b7e..9f8bf4cdc 100644
--- a/test/web/twitter_api/views/user_view_test.exs
+++ b/test/web/twitter_api/views/user_view_test.exs
@@ -31,7 +31,7 @@ test "A user" do
User.follow(second_follower, user)
User.follow(user, follower)
{:ok, user} = User.update_follower_count(user)
- Cachex.set(:user_cache, "user_info:#{user.id}", User.user_info(Repo.get!(User, user.id)))
+ Cachex.put(:user_cache, "user_info:#{user.id}", User.user_info(Repo.get!(User, user.id)))
image = "http://localhost:4001/images/avi.png"
banner = "http://localhost:4001/images/banner.png"