", {
+ class: "list post-list js-post-list"
+ }).replaceAll(".no-content"));
+ var e = a(a.parseHTML(c)).filter("*");
+ e.hide().fadeIn(400).prependTo(d);
+ var f = a(window);
+ f.scrollTop(e.offset().top + e.outerHeight() / 2 - f.height() / 2)
+ }
+ b.Content.autopagerize(".js-post-list", e), b.Entry.setupEmpathyButtons(e), b.Entry.setupHiddenContents(e), a("form.search").on("submit", b.Form.validateValueLength);
+ var h, i, j = a(".content-loading-window");
+ if (j.length) {
+ var k = d.search.substring(1);
+ k && (k = "&" + k), h = b.Net.ajax({
+ type: "GET",
+ url: d.pathname + "?" + a.param({
+ fragment: "activityfeed"
+ }) + k,
+ silent: !0
+ }).done(function(b) {
+ var c = a.parseHTML(b),
+ d = a(c).find("#main-body").children();
+ a("#js-main").html(d), a(document).trigger("olv:activity:success", [b, c, d])
+ }).fail(function() {
+ setTimeout(function() {
+ j.remove(), a(".content-load-error-window").removeClass("none")
+ }, 5e3)
+ });
+ i = "friend" !== b.Cookie.get("view_activity_filter") ? b.Net.ajax({
+ type: "GET",
+ url: "/my/latest_following_related_profile_posts",
+ silent: !0
+ }) : a.Deferred().resolve().promise()
+ } else h = a.Deferred().resolve().promise(), i = a.Deferred().resolve().promise();
+ h.then(function() {
+ f()
+ }), a.when(h, i).done(function(b, c) {
+ var d = a(a.parseHTML(a.trim(c[0]))),
+ e = a("[data-latest-following-relation-profile-post-placeholder]"),
+ f = [];
+ e.each(function(b, c) {
+ var e = d.get(b);
+ e && (a(c).html(e), f.push(c))
+ }), a(f).removeClass("none")
+ }), e.done(function() {
+ h.abort && h.abort()
+ })
+ }), b.router.connect("^(?:/|/communities)$", function(c, d, e) {
+ function f(b) {
+ a(".tab-body").addClass("none"), a("#tab-" + b + "-body").removeClass("none"), a(".platform-tab a").removeClass("selected"), a("#tab-" + b).addClass("selected")
+ }
+
+ function g(c) {
+ var d = a(this);
+ if (!b.Form.isDisabled(d) && !c.isDefaultPrevented()) {
+ c.preventDefault();
+ var e = a(this).attr("data-platform");
+ f(e), b.Cookie.set("view_platform", e)
+ }
+ }
+
+ function h(b) {
+ if (!b.isDefaultPrevented()) {
+ b.preventDefault();
+ var c = a(this).find('select[name="category"]').val();
+ window.location.href = c
+ }
+ }
+ var i = b.Cookie.get("view_platform");
+ i && f(i), b.Community.setupHotDiaryPostSlideShow(e), a(".platform-tab a").on("click", g), a(".filter-select-page form").on("submit", h), a("form.search").on("submit", b.Form.validateValueLength), e.done(function() {
+ a(".platform-tab a").off("click", g), a(".filter-select-page form").off("submit", h), a("form.search").off("submit", b.Form.validateValueLength)
+ })
+ }), b.router.connect("^/communities/categories/[a-z0-9\\-_]+$", function(c, d, e) {
+ function f(b) {
+ if (!b.isDefaultPrevented()) {
+ b.preventDefault();
+ var c = a(this).find('select[name="category"]').val();
+ window.location.href = c
+ }
+ }
+ b.Content.autopagerize(".community-list", e), a("#filter-select-page form").on("submit", f), e.done(function() {
+ a("#filter-select-page form").off("submit", f)
+ })
+ }), b.router.connect("^/(identified_user_posts|news/my_news)+$", function(a, c, d) {
+ b.Guest.isGuest() || b.User.setupFollowButton(d), b.Content.autopagerize(".js-post-list", d)
+ }), b.router.connect("^/communities/(?:favorites|played)$", function(a, c, d) {
+ b.Content.autopagerize(".community-list", d)
+ }), b.router.connect("^/titles/search$", function(c, d, e) {
+ a("form.search").on("submit", b.Form.validateValueLength), e.done(function() {
+ a("form.search").off("submit", b.Form.validateValueLength)
+ })
+ }), b.router.connect("^/titles/[0-9]+/[0-9]+(/diary|/new|/hot|/in_game|/old)?$", function(c, d, e) {
+ function f() {
+ a(".multi_timeline-topic-filter").addClass("open")
+ }
+
+ function g(b, c) {
+ var d = a(b.currentTarget).attr("data-post-list-container-selector"),
+ e = !!d,
+ f = e ? d + " .js-post-list" : ".js-post-list",
+ g = a(f);
+ e ? g.hasClass("empty") && g.removeClass("empty").children().remove() : g.length || (g = a("
", {
+ class: "list post-list js-post-list"
+ }).replaceAll(".no-content"));
+ var h = a(a.parseHTML(c)).filter("*");
+ h.hide().fadeIn(400).prependTo(g);
+ var i = a(window);
+ i.scrollTop(h.offset().top + h.outerHeight() / 2 - i.height() / 2)
+ }
+ b.Entry.setupHiddenContents(e), b.Content.autopagerize(".js-post-list", e), b.Community.setupPostFilter(e);
+ var h = a("#post-form");
+ b.Guest.isGuest() || (b.Entry.setupEmpathyButtons(e), b.EntryForm.setupSubmission(h, e), b.EntryForm.setupFormStatus(h, e), b.EntryForm.setupFoldedForm(h, e), b.EntryForm.setupAlbumImageSelector(h, e), h.hasClass("for-identified-user") && b.EntryForm.setupIdentifiedUserForm(h, e), a(".toggle-button").length && b.User.setupFollowButton(e), a(document).on("click", ".js-topic-post-button", f), e.done(function() {
+ a(document).off("click", ".js-topic-post-button", f)
+ })), a(".age-gate-dialog").length && b.Community.setupAgeGateDialog(e), h.on("olv:entryform:post:done", g), e.done(function() {
+ h.off("olv:entryform:post:done", g)
+ })
+ }), b.router.connect("^/titles/[0-9]+/[0-9]+(/artwork(/hot|/new)?|/topic(/new|/open)?)$", function(c, d, e) {
+ function f(d, f) {
+ var h = a(".js-post-list");
+ h.length || (h = a("
", {
+ class: "list multi-timeline-post-list js-post-list"
+ }).replaceAll(".no-content"));
+ var i = a(a.parseHTML(f)).filter("*");
+ i.hide().fadeIn(400).prependTo(h), /^\/topic(?:\/(?:new|open))?$/.test(c[1]) && (b.EntryForm.onTopicPostCreated(g, e), b.EntryForm.setupFoldedForm(g, e));
+ var j = a(window);
+ j.scrollTop(i.offset().top + i.outerHeight() / 2 - j.height() / 2)
+ }
+ b.Entry.setupHiddenContents(e), b.Content.autopagerize(".js-post-list", e), b.Community.setupPostFilter(e);
+ var g = a("#post-form");
+ b.Guest.isGuest() || (b.Entry.setupEmpathyButtons(e), b.EntryForm.setupSubmission(g, e), b.EntryForm.setupFormStatus(g, e), b.EntryForm.setupFoldedForm(g, e), b.EntryForm.setupAlbumImageSelector(g, e), g.hasClass("for-identified-user") && b.EntryForm.setupIdentifiedUserForm(g, e), a(".toggle-button").length && b.User.setupFollowButton(e)), a(".age-gate-dialog").length && b.Community.setupAgeGateDialog(e), g.on("olv:entryform:post:done", f), e.done(function() {
+ g.off("olv:entryform:post:done", f)
+ })
+ }), b.router.connect(/^\/posts\/([0-9A-Za-z\-_]+)$/, function(c, d, e) {
+ function f(c, d) {
+ var e = a(window),
+ f = a(a.parseHTML(d)).filter("*");
+ f.hide().fadeIn(400).appendTo(".reply-list"), e.scrollTop(f.offset().top + f.outerHeight() / 2 - e.height() / 2), b.Entry.incrementReplyCount(1)
+ }
+
+ function g(c, d) {
+ var e = a(c.target);
+ e.attr("data-is-post") ? b.Form.toggleDisabled(e, !0) : e.remove()
+ }
+ b.Entry.setupHiddenContents(e), b.Entry.setupMoreRepliesButtons(e), b.SocialButton.setup(e);
+ var h = a("#reply-form");
+ b.Guest.isGuest() || (b.Entry.setupPostEmpathyButton(e), b.Entry.setupEditButtons(e), b.EntryForm.setupSubmission(h, e), b.EntryForm.setupFormStatus(h, e), b.EntryForm.setupAlbumImageSelector(h, e), h.hasClass("for-identified-user") && b.EntryForm.setupIdentifiedUserForm(h, e), b.Entry.setupCloseTopicPostButton(e)), b.Entry.setupBodyLanguageSelector(e), b.Entry.setupMoreContentButton(e), a(document).on("olv:entryform:post:done", f), a(document).on("olv:report:done", g), e.done(function() {
+ a(document).off("olv:entryform:post:done", f), a(document).off("olv:report:done", g)
+ })
+ }), b.router.connect(/^\/replies\/([0-9A-Za-z\-_]+)$/, function(c, d, e) {
+ function f(c, d) {
+ var e = a(c.target);
+ e.attr("data-is-post") ? b.Form.toggleDisabled(e, !0) : e.remove()
+ }
+ b.SocialButton.setup(e);
+ var g = a("#reply-form");
+ b.Guest.isGuest() || (b.Entry.setupPostEmpathyButton(e), b.Entry.setupEditButtons(e), b.EntryForm.setupSubmission(g, e), b.EntryForm.setupFormStatus(g, e)), b.Entry.setupBodyLanguageSelector(e), a(document).on("olv:report:done", f), e.done(function() {
+ a(document).off("olv:report:done", f)
+ })
+ }), b.router.connect("^/users$", function(c, d, e) {
+ b.Content.autopagerize("#searched-user-list", e), b.Guest.isGuest() || b.User.setupFollowButton(e), a("form.search").on("submit", b.Form.validateValueLength), e.done(function() {
+ a("form.search").off("submit", b.Form.validateValueLength)
+ })
+ }), b.router.connect("^/users/[0-9a-zA-Z\\-_.]+/(empathies|posts)$", function(a, c, d) {
+ b.Content.autopagerize(".js-post-list", d)
+ }), b.router.connect("^/users/[0-9a-zA-Z\\-_.]+(/friends|/following|/followers)$", function(a, c, d) {
+ b.Content.autopagerize("#friend-list-content", d)
+ }), b.router.connect("^/users/[0-9a-zA-Z\\-_.]+(/diary)$", function(c, d, e) {
+ function f(b, c) {
+ var e = a(".js-post-list");
+ e.find(".no-content").addClass("none");
+ var f = a(a.parseHTML(c)).filter("*");
+ f.hide().fadeIn(400).prependTo(e), i.remove(), window.history.replaceState(window.history.state, "", d.href.replace(/\?.*/, ""));
+ var g = a(document).find("#js-my-post-count");
+ g[0] && g.text(+g.text() + 1);
+ var h = a(window);
+ h.scrollTop(f.offset().top + f.outerHeight() / 2 - h.height() / 2)
+ }
+
+ function g(a, b) {
+ i.remove()
+ }
+
+ function h(c, d) {
+ b.Form.toggleDisabled(a(c.target), !0)
+ }
+ b.Entry.setupHiddenContents(e), b.Content.autopagerize(".js-post-list", e);
+ var i = a("#post-form");
+ b.Guest.isGuest() || (b.Entry.setupEmpathyButtons(e), b.EntryForm.setupSubmission(i, e), b.EntryForm.setupFormStatus(i, e), i.hasClass("for-identified-user") && b.EntryForm.setupIdentifiedUserForm(i, e)), a(document).on("olv:report:done", h), i.on("olv:entryform:post:done", f);
+ var j = i.find(".cancel-button");
+ j.on("click", g), e.done(function() {
+ showButton.off("click"), a(document).off("olv:report:done", h), i.off("olv:entryform:post:done", f), j.off("click", g)
+ })
+ }), b.router.connect("^/users/[0-9a-zA-Z\\-_.]+(/friends|/following|/followers|/empathies|/posts)?$", function(c, d, e) {
+ function f(c, d) {
+ b.Form.toggleDisabled(a(c.target), !0)
+ }
+
+ function g(b, c) {
+ a("#user-content.is-visitor").length && a("#js-following-count").text(c)
+ }
+ b.User.setupFollowButton(e, {
+ container: ".main-column",
+ noReloadOnFollow: !0
+ }), b.Entry.setupHiddenContents(e), a(document).on("olv:report:done", f), a(document).on("olv:visitor:following-count:change", g), e.done(function() {
+ showButton.off("click"), a(document).off("olv:report:done", f), a(document).off("olv:visitor:following-count:change", g)
+ }), b.Entry.setupEmpathyButtons(e)
+ }), b.router.connect("^/users/[0-9a-zA-Z\\-_.]+/favorites$", function(a, c, d) {
+ b.Content.autopagerize(".community-list", d)
+ }), b.router.connect("^/settings/(?:account|profile)$", function(c, d, e) {
+ function f(c) {
+ var d = a(this),
+ e = d.closest("form");
+ b.Form.isDisabled(d) || c.isDefaultPrevented() || (c.preventDefault(), b.Form.submit(e, d).done(function(a) {
+ b.showMessage("", b.loc("olv.portal.dialog.apply_settings_done"))
+ }))
+ }
+
+ function g(c) {
+ var d = a(this);
+ b.showConfirm(b.loc("olv.portal.profile_post"), b.loc("olv.portal.profile_post.confirm_remove"), {
+ okLabel: b.loc("olv.portal.button.remove"),
+ cancelLabel: b.loc("olv.portal.stop")
+ }).done(function(a) {
+ a && b.Form.post("/settings/profile_post.unset.json", null, d).done(function() {
+ d.trigger("olv:entry:profile-post:remove"), d.remove()
+ })
+ })
+ }
+
+ function h(b) {
+ var c = a(),
+ d = a(),
+ e = a("#favorite-game-genre select");
+ e.each(function() {
+ var b = a(this),
+ d = b.find("option[value=" + b.val() + "]").attr("data-is-configurable");
+ null != d && "0" != d && e.filter(function() {
+ return !a(this).is(b)
+ }).each(function() {
+ var d = a(this),
+ e = d.find("option[value=" + b.val() + "]");
+ c = c.add(e)
+ })
+ }), d = e.find("option").filter(function() {
+ return !a(this).is(c)
+ }), c.prop("disabled", !0), d.prop("disabled", !1)
+ }
+ h(), a(document).on("click", ".apply-button", f), a(document).on("click", "#profile-post", g), a(document).on("change", "#favorite-game-genre select", h), e.done(function() {
+ a(document).off("click", ".apply-button", f), a(document).off("click", "#profile-post", g), a(document).off("change", "#favorite-game-genre select", h)
+ })
+ }), b.router.connect("^(/users/[0-9a-zA-Z\\-_.]+|/communities/(favorites|played)|/my_menu|/settings/profile)", function(a, c, d) {
+ b.User.setupUserSidebar(d)
+ }), b.router.connect("^/titles/[0-9]+/[0-9]+", function(a, c, d) {
+ b.Community.setupCommunitySidebar(d), b.SocialButton.setup(d)
+ }), b.init.done(function() {
+ b.CookiePolicyNotice.setup()
+ }), b.router.connect(/^/, function(c, d, e) {
+ var f = a(".track-error");
+ }), a(document).on("olv:ajax:error", function(a, c, d, e) {
+ e.status
+ }), window.onerror = function(a, c, d) {
+ var e = c + ":" + d + " - " + a;
+ }, b.init.done(function(a) {
+ a(document).on("click", "[data-track-action]", function(c) {
+ var d = a(this);
+ if (!b.Form.isDisabled(d) || void 0 !== d.attr("data-modal-open")) {
+ var e = d.attr("data-track-category"),
+ f = d.attr("data-track-action"),
+ g = d.attr("data-track-label");
+ }
+ }), a(document).on("olv:modal:report-violation olv:modal:report-violator", function(a, b, c) {
+ function d() {
+ var a = g.find("option:selected").attr("data-track-action");
+ e.attr("data-track-action", a)
+ }
+ var e = b.element.find(".post-button"),
+ f = b.triggerElement.attr("data-can-report-spoiler"),
+ g = "1" === f ? b.element.find("select.can-report-spoiler") : "0" === f ? b.element.find("select.cannot-report-spoiler") : b.element.find('select[name="type"]'),
+ h = b.triggerElement.attr("data-track-label"),
+ i = b.triggerElement.attr("data-url-id") || "";
+ e.attr("data-track-label", h), e.attr("data-url-id", i), g.on("change", d), c.done(function() {
+ g.off("change", d)
+ })
+ }), a(document).on("olv:community:favorite:toggle", function(b, c) {
+ a(b.target).attr("data-track-action", c ? "cancelFavorite" : "favorite")
+ }), a(document).on("olv:entry:empathy:toggle", function(b, c) {
+ a(b.target).attr("data-track-action", c ? "cancelYeah" : "yeah")
+ });
+ var c = function(a) {
+ var b = a.find("input[type=submit]"),
+ c = a.find('input[name="album_image_id"]').length && a.find('input[name="album_image_id"]').val().length > 0,
+ d = a.find('input[name="screenshot"]').length && a.find('input[name="screenshot"]').val().length > 0;
+ b.attr("data-post-with-screenshot", c || d ? "screenshot" : "nodata")
+ };
+ a(document).on("olv:entryform:updatescreenshot", function(b) {
+ var d = a(b.target);
+ c(d)
+ }), a(document).on("olv:entryform:fileselect", function(b, c) {
+ var d = a(b.target),
+ e = a(c).find('input[type="submit"]');
+ "screenshot" === d.attr("name") ? e.attr("data-post-with-screenshot", "screenshot") : "painting" === d.attr("name") && e.attr("data-post-content-type", "draw")
+ }), a(document).on("olv:entryform:reset", function(b) {
+ var d = a(b.target);
+ d.find("input[type=submit]").attr("data-post-content-type", "text"), setTimeout(function() {
+ c(d)
+ }, 0)
+ }), a(document).on("olv:modal:unfollow", function(a, b, c) {
+ var d = b.element.find(".ok-button");
+ d.attr("data-track-category", "follow"), d.attr("data-track-action", "unfollow"), d.attr("data-track-label", "user")
+ })
+ }))
+}).call(this, jQuery, Olv);
+Olv.Locale.Data = {
+ "olv.portal.age_gate.select_label": {
+ "value": "Please enter your date of birth."
+ },
+ "olv.portal.album.delete_confirm": {
+ "value": "Are you sure you want to delete this?"
+ },
+ "olv.portal.button.remove": {
+ "value": "Yes"
+ },
+ "olv.portal.cancel": {
+ "value": "Cancel"
+ },
+ "olv.portal.close": {
+ "value": "Close"
+ },
+ "olv.portal.dialog.apply_settings_done": {
+ "value": "Settings saved."
+ },
+ "olv.portal.dialog.report_spoiler_done": {
+ "value": "Spoiler reported. Thank you for your help!"
+ },
+ "olv.portal.dialog.report_violation_done": {
+ "value": "Violation reported. Thank you for your help!"
+ },
+ "olv.portal.edit.action.close_topic_post": {
+ "value": "Close for Comments"
+ },
+ "olv.portal.edit.action.close_topic_post.confirm": {
+ "value": "It will no longer be possible to post comments on this discussion. Is that OK? (This action cannot be reversed.)"
+ },
+ "olv.portal.edit.edit_post": {
+ "value": "Edit Post"
+ },
+ "olv.portal.edit.edit_reply": {
+ "value": "Edit Comment"
+ },
+ "olv.portal.error.500.for_offdevice": {
+ "value": "An error occurred.\nPlease try again later."
+ },
+ "olv.portal.error.album_limit_exceeded": {
+ "value": "Unable to save because the maximum number of screenshots that can be saved has been reached. Please delete some saved screenshots, and then try again."
+ },
+ "olv.portal.error.code": {
+ "args": [1],
+ "value": "Error Code: %s"
+ },
+ "olv.portal.error.code %1": {
+ "args": [1],
+ "value": "Error Code: %s"
+ },
+ "olv.portal.error.code [_1]": {
+ "args": [1],
+ "value": "Error Code: %s"
+ },
+ "olv.portal.error.daily_post_limit_exceeded": {
+ "value": "You have already exceeded the number of posts that you can contribute in a single day. Please try again tomorrow."
+ },
+ "olv.portal.error.failed_to_connect.for_offdevice": {
+ "value": "An error occurred."
+ },
+ "olv.portal.error.network_unavailable.for_offdevice": {
+ "value": "Cannot connect to the Internet. Please check your network connection and try again."
+ },
+ "olv.portal.error.post_time_restriction": {
+ "args": [],
+ "value": "Multiple posts cannot be made in such a short period of time. Please try posting again later."
+ },
+ "olv.portal.error.post_time_restriction %1": {
+ "args": [],
+ "value": "Multiple posts cannot be made in such a short period of time. Please try posting again later."
+ },
+ "olv.portal.error.post_time_restriction [_1]": {
+ "args": [],
+ "value": "Multiple posts cannot be made in such a short period of time. Please try posting again later."
+ },
+ "olv.portal.followlist.confirm_unfollow_with_name": {
+ "args": [1],
+ "value": "Remove %s from your follow list?"
+ },
+ "olv.portal.followlist.confirm_unfollow_with_name %1": {
+ "args": [1],
+ "value": "Remove %s from your follow list?"
+ },
+ "olv.portal.followlist.confirm_unfollow_with_name [_1]": {
+ "args": [1],
+ "value": "Remove %s from your follow list?"
+ },
+ "olv.portal.miitoo.frustrated": {
+ "value": "Yeah..."
+ },
+ "olv.portal.miitoo.frustrated.delete": {
+ "value": "Unyeah"
+ },
+ "olv.portal.miitoo.happy": {
+ "value": "Yeah!"
+ },
+ "olv.portal.miitoo.happy.delete": {
+ "value": "Unyeah"
+ },
+ "olv.portal.miitoo.like": {
+ "value": "Yeah\u2665"
+ },
+ "olv.portal.miitoo.like.delete": {
+ "value": "Unyeah"
+ },
+ "olv.portal.miitoo.normal": {
+ "value": "Yeah!"
+ },
+ "olv.portal.miitoo.normal.delete": {
+ "value": "Unyeah"
+ },
+ "olv.portal.miitoo.puzzled": {
+ "value": "Yeah..."
+ },
+ "olv.portal.miitoo.puzzled.delete": {
+ "value": "Unyeah"
+ },
+ "olv.portal.miitoo.surprised": {
+ "value": "Yeah!?"
+ },
+ "olv.portal.miitoo.surprised.delete": {
+ "value": "Unyeah"
+ },
+ "olv.portal.ok": {
+ "value": "OK"
+ },
+ "olv.portal.post.delete_confirm": {
+ "value": "Delete this post?"
+ },
+ "olv.portal.profile_post": {
+ "value": "Favorite Post"
+ },
+ "olv.portal.profile_post.confirm_remove": {
+ "value": "Remove this post from your profile?\nThe original post will not be deleted."
+ },
+ "olv.portal.profile_post.confirm_update": {
+ "value": "Set this post as your favorite?\nPlease note, it will replace any existing favorite post."
+ },
+ "olv.portal.profile_post.confirm_update.yes": {
+ "value": "OK"
+ },
+ "olv.portal.profile_post.done": {
+ "value": "Your favorite post has been set.\nWould you like to view your profile?"
+ },
+ "olv.portal.read_more_content": {
+ "value": "Read More"
+ },
+ "olv.portal.reply.delete_confirm": {
+ "value": "Delete this comment?"
+ },
+ "olv.portal.report.report_comment_id": {
+ "args": [1],
+ "value": "Comment ID: %s"
+ },
+ "olv.portal.report.report_comment_id %1": {
+ "args": [1],
+ "value": "Comment ID: %s"
+ },
+ "olv.portal.report.report_comment_id [_1]": {
+ "args": [1],
+ "value": "Comment ID: %s"
+ },
+ "olv.portal.report.report_post_id": {
+ "args": [1],
+ "value": "Post ID: %s"
+ },
+ "olv.portal.report.report_post_id %1": {
+ "args": [1],
+ "value": "Post ID: %s"
+ },
+ "olv.portal.report.report_post_id [_1]": {
+ "args": [1],
+ "value": "Post ID: %s"
+ },
+ "olv.portal.report.report_spoiler": {
+ "args": [],
+ "value": "Report Spoilers to Niiverse Administrators"
+ },
+ "olv.portal.report.report_spoiler %1": {
+ "args": [],
+ "value": "Report Spoilers to Niiverse Administrators"
+ },
+ "olv.portal.report.report_spoiler [_1]": {
+ "args": [],
+ "value": "Report Spoilers to Niiverse Administrators"
+ },
+ "olv.portal.report.report_spoiler_comment": {
+ "args": [],
+ "value": "Report Spoilers to Niiverse Administrators"
+ },
+ "olv.portal.report.report_spoiler_comment %1": {
+ "args": [],
+ "value": "Report Spoilers to Niiverse Administrators"
+ },
+ "olv.portal.report.report_spoiler_comment [_1]": {
+ "args": [],
+ "value": "Report Spoilers to Niiverse Administrators"
+ },
+ "olv.portal.report.report_violation": {
+ "args": [],
+ "value": "Report Violation to Niiverse Administrators"
+ },
+ "olv.portal.report.report_violation %1": {
+ "args": [],
+ "value": "Report Violation to Niiverse Administrators"
+ },
+ "olv.portal.report.report_violation [_1]": {
+ "args": [],
+ "value": "Report Violation to Niiverse Administrators"
+ },
+ "olv.portal.report.report_violation_comment": {
+ "args": [],
+ "value": "Report Violation to Niiverse Administrators"
+ },
+ "olv.portal.report.report_violation_comment %1": {
+ "args": [],
+ "value": "Report Violation to Niiverse Administrators"
+ },
+ "olv.portal.report.report_violation_comment [_1]": {
+ "args": [],
+ "value": "Report Violation to Niiverse Administrators"
+ },
+ "olv.portal.report.report_violation_message": {
+ "args": [],
+ "value": "Report Violation to Niiverse Administrators"
+ },
+ "olv.portal.report.report_violation_message %1": {
+ "args": [],
+ "value": "Report Violation to Niiverse Administrators"
+ },
+ "olv.portal.report.report_violation_message [_1]": {
+ "args": [],
+ "value": "Report Violation to Niiverse Administrators"
+ },
+ "olv.portal.setup": {
+ "value": "Set Up"
+ },
+ "olv.portal.show_more_content": {
+ "value": "View Entire Post"
+ },
+ "olv.portal.stop": {
+ "value": "Cancel"
+ },
+ "olv.portal.unfollow": {
+ "value": "Unfollow"
+ },
+ "olv.portal.user.search.go": {
+ "value": "View Profile"
+ },
+ "olv.portal.yes": {
+ "value": "Yes"
+ }
+};
diff --git a/src/services/miiverse-api/routes/portal.js b/src/services/miiverse-api/routes/portal.js
index cf1f6bb..5f706dd 100644
--- a/src/services/miiverse-api/routes/portal.js
+++ b/src/services/miiverse-api/routes/portal.js
@@ -4,9 +4,13 @@ const database = require('../../../database');
var router = express.Router();
var path = require("path");
-/* GET discovery server. */
+/* GET portal server. */
router.get('/titles/show', function (req, res) {
- res.sendFile(path.join(__dirname + '/portal.html'));
+ res.sendFile(path.join(__dirname + '../../../../portal/index.html'));
+});
+/* GET olv.js server. */
+router.get('/js/olv.js', function (req, res) {
+ res.sendFile(path.join(__dirname + '../../../../portal/js/olv.js'));
});
router.post('/posts', function (req, res) {