Back up old old blog

This commit is contained in:
Anthony Wang 2022-05-20 14:26:30 -05:00
parent c0a7087585
commit f130ffebca
Signed by: a
GPG Key ID: BC96B00AEC5F2D76
226 changed files with 106677 additions and 0 deletions

1508
CSS/-.css Normal file

File diff suppressed because it is too large Load Diff

81
CSS/blog.css Normal file
View File

@ -0,0 +1,81 @@
@import url("https://fonts.googleapis.com/css?family=VT323:100,200,300,375,400,500,600,700,800,900");
/* Loading bar */
@keyframes loading{
0%{
width: 0px;
top: calc(50vh - 50px);
font-family: VT323;
content: "Loading...";
transition: ease;
text-align: center;
}
75%{
width: 300px;
top: calc(50vh - 50px);
font-family: VT323;
content: "Loading...";
text-align: center;
}
75.1%{
width: 300px;
top: calc(50vh - 50px);
font-family: VT323;
content: "Done!";
text-align: center;
}
85%{
top: calc(50vh - 100px);
width: 300px;
font-family: VT323;
content: "Done!";
text-align: center;
}
100%{
top: calc(150vh - 50px);
width: 300px;
font-family: VT323;
content: "Done!";
text-align: center;
}
}
html::before{
font-family: VT323;
content: "Loading...";
height: 100px;
position: fixed !important;
margin: 0px;
padding: 0px;
top: calc(150vh - 50px);
left: calc(50vw - 150px);
background-color: black;
color: white !important;
line-height: 100px;
white-space: nowrap;
font-size: 50px !important;
z-index: 1000000000 !important;
animation: loading 2s ease !important;
width: 300px !important;
box-shadow: 0px 0px 0px 5px white, 0px 50vw 0px calc(50vw + 50vh - 50px) black, 0px 0px 0px 5px white !important;
/* The box shadow that makes the border is put before and after the background shadow, because of order issues (Firefox displays the first one on top, chrome displays the last one on top) */
display: block !important;
}
html::after{
font-family: VT323;
content: "Loading... please wait";
height: 100px;
width: 0px;
position: fixed !important;
margin: 0px;
padding: 0px;
top: calc(150vh - 50px);
left: calc(50vw - 150px);
background-color: white;
color: black !important;
line-height: 100px;
z-index: 1000000001 !important;
white-space: nowrap;
font-size: 50px !important;
animation: loading 2s ease !important;
overflow: hidden !important;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

View File

@ -0,0 +1,582 @@
/**
* blog_router.js Holds the router for Blogs. It gets the ball rolling once the page is loaded.
*
*/
AoPS.Blog = (function (Blog) {
var Lang = AoPS.Community.Lang,
Constants = AoPS.Community.Constants;
Blog.Router = AoPS.Community.Utils.routerBase.extend({
routes: {
"": "constructAoPSMasterCollection",
},
initialize: function (options) {
var self = this;
this.models = {};
this.models.search_categories = {};
this.models.master = options.master;
// Will this take care of everything?
this.myPage = AoPS.Page.constructPage("wrapper");
this.route(
/((?:c\d+)?(?:t\d+)?(?:f\d+)?(?:h\d+)?(?:p\d+)?(?:s\d+)?)/,
"parseEncodedUrl"
);
this.route(/((?:c\d+)(.*)\/(.*))/, "search");
this.bind("route", this.onFinishRoute);
this.first_pass = true;
// If there is a preloaded topic for directly navigating to a topic on page load,
// then this will be set to the preloaded id when the preloaded data is parsed.
// We then set this back to -1 once the preloaded topic is set as the focus_topic.
// This flag is used to prevent a redundant Ajax call (change_focus_topic) when the topic is built.
this.preloaded_topic_id = -1;
Backbone.on("logged_out", this.onAjaxDetectLogout);
Backbone.on("logged_in", this.onAjaxDetectLogin);
if (AoPS.bootstrap_data.hasOwnProperty("blog_base")) {
this.models.blog = this.models.master.constructNewCategory(
AoPS.bootstrap_data.blog_base
);
// TODO : check that topics exist
_.each(AoPS.bootstrap_data.blog_topics.topics_data, function (topic) {
self.models.master.processPotentialNewTopic(topic, true);
});
if (String(AoPS.bootstrap_data.blog_topics.no_more_topics) === "1") {
this.models.blog.set("all_topics_loaded", true);
}
} else {
// TODO : Throw error, you are in the wrong place.
}
this.models.master.set("focus_category", this.models.blog);
AoPS.Community.Utils.activateLatexOnclick();
$("body").addClass("community");
},
goToTopic: function (args) {
var url = "#";
if (args.hasOwnProperty("category_id")) {
url += "c" + args.category_id;
}
url += "h" + args.topic_id;
this.navigate(url, {
trigger: true,
replace: true, //(args.hasOwnProperty('replace') ? args.replace : false)
});
},
buildBreadcrumbs: function (data) {
var input = '<a href="/community">Community</a> &raquo; ';
input +=
'<a href="/community/c' +
Constants.aops_blogroll_id +
'">Blogs</a> &raquo; '; // TODO : POINT THIS AT THE BLOGS CATEGORY
input +=
'<a data-blog href="/community/c' +
data.blog.category_id +
'">' +
data.blog.name +
"</a>";
if (data.hasOwnProperty("topic")) {
input +=
' &raquo; <a data-blog href="/community/c' +
data.blog.category_id +
"h" +
data.topic.topic_id +
'">' +
data.topic.title +
"</a>";
}
$("#left_navigation_box").html(input);
},
onFinishRoute: function (name, args) {
this.previous_route = name;
if (!this.keep_fullscreen_mode) {
$("body").removeClass("fullscreen");
}
$(window).trigger("resize");
this.keep_fullscreen_mode = false;
},
/**
* Search this blog
*
* @param string of form /c<id>/<encoded search text>
**/
search: function (url) {
var pieces, str, coords, search_settings;
pieces = url.split("/");
if (pieces[1].length === 0) {
this.parseEncodedUrl(pieces[0]);
return;
}
str = pieces[1];
coords = {
category_id: 0,
tag_id: 0,
tag_forum_id: 0,
search_text: str,
is_search: true,
};
if (this.models.search_categories.hasOwnProperty(str)) {
coords.category = this.models.search_categories[str].category;
coords.topic_list = this.models.search_categories[str].topic_list;
} else {
search_settings = {
blog_id: this.models.blog.get("category_id"),
search_text: decodeURIComponent(pieces[1]),
};
coords.category =
this.models.master.buildSearchCategory(search_settings);
this.models.search_categories[str] = {
category: coords.category,
};
}
this.startConstructingPage(coords);
},
/** Start functions for building pages that have ids encoded in URL **/
/**
* parseEncodedUrl parses the url and then routes us to the appropriate function
* to construct the page once we're sure we have some topics to play with.
* (We'll likely handle that "check for some topics" differently when we build the real system.)
*
* @param url: everything after # in the url.
*
*/
parseEncodedUrl: function (url) {
var coords = {
topic: null,
category: null,
};
function extractValueFromUrl(stub, url_in) {
var match_array;
if (_.isNull(url_in)) {
return 0;
}
match_array = url_in.match(new RegExp(stub + "(\\d+)"));
if (_.isNull(match_array)) {
return 0;
} else {
return parseInt(match_array[1]);
}
}
/**
* If we're hitting a category, topic, or post on page load (first_pass through the
* router), then we check the preload_cmty_data property of bootstrap to see if
* there's anything we can preload, and to see if we need to rewrite the url.
*
* There are later url rewrite checks, but they shouldn't ever be triggered.
* I'm leaving them in, in case down the line we introduce ways that users can
* travel down routes missing properties (like topic id with no category id) in
* some way other than the initial page load.
**/
if (this.first_pass) {
if (AoPS.bootstrap_data.hasOwnProperty("preload_cmty_data")) {
this.first_pass = false;
if (this.parsePreloadedData()) {
return;
}
}
}
// Fill coords object from url
_.each(this.url_parameters, function (item) {
coords[item.property] = extractValueFromUrl(item.letter, url);
});
coords.is_search = false;
this.startConstructingPage(coords);
},
startConstructingPage: function (coords) {
this.myPage.clearPage();
this.myPage.showElement({
id: "blog-top",
constructor: _.bind(function () {
return new AoPS.Community.Views.CategoryCellBlogHeading({
model: this.models.blog,
});
}, this),
});
if (coords.is_search) {
if (coords.hasOwnProperty("topic_list")) {
this.prepareBlogFront(coords);
} else {
this.checkTopicListThenContinue(coords);
}
} else if (coords.topic_id > 0) {
this.prepareBlogTopic(coords);
} else {
this.prepareBlogFront(coords);
}
return;
},
/**
* The sidebar and the clearfix are needed everywhere.
**/
finishBuildingPage: function (coords) {
this.myPage.showElement({
id: "blog-sidebar",
constructor: _.bind(function () {
return new AoPS.Community.Views.BlogSidebar({
model: this.models.blog,
});
}, this),
location: "content",
});
this.myPage.showElement({
id: "blog-clearfix",
type: "jQuery_object",
jQuery_object: $('<div class="clear"></div>'),
location: "content",
});
},
prepareBlogTopic: function (coords) {
var self = this;
coords.topic = this.models.master.fetchTopicById(coords.topic_id);
if (_.isNull(coords.topic) && !_.isUndefined(coords.topic)) {
this.listenTo(
this.models.master,
"single_topic_load",
_.bind(function (obj) {
self.myPage.hideLoader();
if (obj.topic_id === coords.topic_id) {
// We found the topic
this.stopListening(this.models.master, "single_topic_load");
if (obj.ok) {
coords.topic = obj.topic;
this.buildBlogTopic(coords);
} else {
// Database fetch failed dues to lack of permissions
if (obj.error_code === "E_NO_PERMISSION") {
if (AoPS.session.logged_in) {
this.throwError(
Lang["router-err-no-topic-perms-logged-in"]
);
} else {
this.throwError(
Lang["router-err-no-topic-perms-logged-out"]
);
}
} else if (obj.error_code === "E_NO_SUCH_TOPIC") {
this.throwError(Lang["router-err-no-topic"]);
}
}
}
}, this)
);
this.myPage.showLoader();
this.models.master.fetchTopicFromDb({
topic_id: coords.topic_id,
});
return;
} else {
// If we have a topic, process all the tags on it (add them to their categories).
this.buildBlogTopic(coords);
return;
}
},
buildBlogTopic: function (coords) {
var topic_page_element,
blog_name = this.models.blog.get("category_name"),
topic_title = coords.topic.get("topic_title");
this.myPage.setTitle(
_.unescape(blog_name) + " : " + _.unescape(topic_title)
);
coords.topic.set("category", this.models.blog);
this.models.master.set("focus_topic", coords.topic, {
suppress_ajax: coords.topic_id === this.preloaded_topic_id,
fetch_all: true,
});
this.preloaded_topic_id = -1;
/**
* If we navigate in the blog to this top, the scrollbar might be set somewhere
* far down the page
**/
$(window).scrollTop(0);
topic_page_element = this.myPage.showElement({
id: "blog-topic-" + coords.topic_id,
constructor: _.bind(function () {
return new AoPS.Community.Views.BlogTopicFull({
model: coords.topic,
post_id: coords.post_id,
});
}, this),
on_add_settings: {
post_id: coords.post_id,
},
location: "content",
});
this.finishBuildingPage(coords);
// Reply triggered
if (coords.state === 3) {
if (coords.topic.getPermission("c_can_reply")) {
topic_page_element.dom_element.trigger("open_reply");
}
}
this.buildBreadcrumbs({
blog: {
category_id: this.models.blog.get("category_id"),
name: blog_name,
},
topic: {
title: topic_title,
topic_id: coords.topic.get("topic_id"),
},
});
},
buildBlogFrontPage: function (coords) {
var topic_list,
blog_name = this.models.blog.get("category_name");
if (coords.hasOwnProperty("topic_list")) {
topic_list = coords.topic_list;
} else {
topic_list = this.models.master.fetchFilteredTopicList({
category: this.models.blog,
category_id: this.models.blog.get("category_id"),
tag_ids: [],
});
if (coords.is_search) {
this.models.search_categories[coords.search_text].topic_list =
topic_list;
}
}
this.myPage.hideLoader();
this.myPage.setTitle(_.unescape(blog_name));
this.myPage.showElement({
id:
"blog-topics" +
coords.tag_id +
(coords.hasOwnProperty("search_text") ? coords.search_text : ""),
constructor: _.bind(function () {
return new AoPS.Community.Views.TopicsListBlog({
collection: topic_list,
blog: this.models.blog,
});
}, this),
location: "content",
});
this.models.master.set("focus_topic", null);
this.buildBreadcrumbs({
blog: {
category_id: this.models.blog.get("category_id"),
name: blog_name,
},
});
this.finishBuildingPage(coords);
},
/***
* Construct the topic list that we use for the page. If the topic list
* has no topics, then we go get some topics before building.
*
* @param coords: settings used to build the page.
*/
checkTopicListThenContinue: function (coords) {
var self = this;
// Construct or fetch the Community.Models.FilteredTopicList that matches
// the set of parameters we seek.
// Gets called twice for topics that are shorn of tags, but we can live with that, I think
// That will be rare. We could do a property check, though. Might be more expensive than it's worth.
coords.topic_list = this.models.master.fetchFilteredTopicList({
category:
coords.hasOwnProperty("category") && !_.isNull(coords.category)
? coords.category
: this.models.blog,
category_id: coords.category_id,
tag_ids:
coords.tag_id > 0
? [
{
tag_id: coords.tag_id,
tag_forum_id: coords.tag_forum_id,
},
]
: [], //currently assumes at most one tag_id.
});
// Not enough topics in this list; I'm gonna get more.
if (
coords.topic_list.length <=
AoPS.Community.Constants.min_topic_list_initial_length &&
!coords.topic_list.all_topics_fetched
) {
this.myPage.showLoader();
coords.topic_list.fetchMoreTopics({
onFinish: _.bind(function () {
this.buildBlogFrontPage(coords);
}, this),
onError: function (data) {
var msg;
if (data.error_code === "E_AJAX_CANCEL") {
return;
}
if (
typeof Lang["initial-fetch-err-" + data.error_code] === "string"
) {
msg = AoPS.Community.Utils.formatString(
Lang["initial-fetch-blog-err-" + data.error_code],
[coords.category_id]
);
console.log(msg);
console.log(coords.category_id);
} else {
msg = Lang["unexpected-error-code"] + data.error_code;
}
// Force page reload after error
$("a[data-blog]").removeAttr("data-blog");
self.throwError(msg);
},
});
} else {
this.buildBlogFrontPage(coords);
}
},
prepareBlogFront: function (coords) {
if (coords.tag_id > 0) {
coords.tag_forum_id = coords.category_id;
this.checkTopicListThenContinue(coords);
} else {
this.buildBlogFrontPage(coords);
}
},
setBreadcrumbs: function (crumbs) {
crumbs = _.map(crumbs, function (crumb) {
crumb.data = "data-cmty";
return crumb;
});
this.myPage.setBreadcrumbs(this.breadcrumb_base.concat(crumbs));
},
onAjaxDetectLogout: function () {
if (!AoPS.login.user_clicked_logout) {
AoPS.Ui.buildLoginConfirm(Lang["unexpected-logout"]);
AoPS.login.onUserAjaxLogout();
}
},
onAjaxDetectLogin: function () {
if (!AoPS.login.user_clicked_login) {
document.location.reload(true);
}
},
onAjaxDetectLoginChange: function () {
//if (
},
});
$(window).load(function () {
var master, app;
master = new AoPS.Community.Models.Master();
app = new Blog.Router({
master: master,
});
$("#page-wrapper").append(app.myPage.el);
Backbone.history.start({
pushState: true,
root: "community",
});
$("a.blog-login").on("click", function (e) {
AoPS.login.display();
e.stopPropagation();
e.preventDefault();
});
$("a.blog-logout").on("click", function (e) {
AoPS.login.logout(e);
e.stopPropagation();
e.preventDefault();
});
$(document).on("click", "a[data-blog]", function (e) {
e.stopPropagation();
e.preventDefault();
Backbone.history.navigate($(this).attr("href").substring(10), {
trigger: true,
});
});
if (AoPS.session.logged_in) {
$("#blog-subscribe").on("click", function (e) {
AoPS.Community.Views.toggleBlogSubscription({
blog: app.models.blog,
user: master.get("current_user"),
});
e.stopPropagation();
e.preventDefault();
});
}
/* FEED MUST COME AFTER Backbone start!*/
// experimenting with delay to let the page render before Feed is built.
// If this seems to work well, we'll want to animate the feed in.
setTimeout(function () {
var feed = new AoPS.Community.Models.Feed({
master: master,
}),
feed_view = new AoPS.Feed.Views.FeedMaster({
model: feed,
});
$("body").append(feed_view.$el);
}, 100);
// console.log('end page ' + (new Date().getTime() - start));
// });
});
return Blog;
})(AoPS.Blog || {});

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 568 B

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,627 @@
/* BASICS */
.CodeMirror {
/* Set height, width, borders, and global font properties here */
font-family: monospace;
height: auto;
}
.CodeMirror-scroll {
/* Set scrolling behaviour here */
overflow-y: hidden;
overflow-x: auto;
}
/* PADDING */
.CodeMirror-lines {
padding: 4px 0; /* Vertical padding around content */
}
.CodeMirror pre {
padding: 0 4px; /* Horizontal padding of content */
}
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
background-color: white; /* The little square between H and V scrollbars */
}
/* GUTTER */
.CodeMirror-gutters {
border-right: 1px solid #ddd;
background-color: #f7f7f7;
white-space: nowrap;
}
.CodeMirror-linenumbers {}
.CodeMirror-linenumber {
padding: 0 3px 0 5px;
min-width: 20px;
text-align: right;
color: #999;
}
/* CURSOR */
.CodeMirror div.CodeMirror-cursor {
border-left: 1px solid black;
z-index: 3;
}
/* Shown when moving in bi-directional text */
.CodeMirror div.CodeMirror-secondarycursor {
border-left: 1px solid silver;
}
.CodeMirror.cm-keymap-fat-cursor div.CodeMirror-cursor {
width: auto;
border: 0;
background: #7e7;
z-index: 1;
}
/* Can style cursor different in overwrite (non-insert) mode */
.CodeMirror div.CodeMirror-cursor.CodeMirror-overwrite {}
.cm-tab { display: inline-block; }
/* DEFAULT THEME */
.cm-s-default .cm-keyword {color: #ff7700;}
.cm-s-default .cm-atom {color: #219;}
.cm-s-default .cm-number {color: #000000;}
.cm-s-default .cm-def {color: #00f;}
.cm-s-default .cm-variable {color: black;}
.cm-s-default .cm-variable-2 {color: #05a;}
.cm-s-default .cm-variable-3 {color: #085;}
.cm-s-default .cm-property {color: black;}
.cm-s-default .cm-operator {color: black;}
.cm-s-default .cm-comment {color: #dd0000;}
.cm-s-default .cm-string {color: #00aa00;}
.cm-s-default .cm-string-2 {color: #f50;}
.cm-s-default .cm-meta {color: #555;}
.cm-s-default .cm-qualifier {color: #555;}
.cm-s-default .cm-builtin {color: #900090;}
.cm-s-default .cm-bracket {color: #997;}
.cm-s-default .cm-tag {color: #170;}
.cm-s-default .cm-attribute {color: #00c;}
.cm-s-default .cm-header {color: blue;}
.cm-s-default .cm-quote {color: #090;}
.cm-s-default .cm-hr {color: #999;}
.cm-s-default .cm-link {color: #00c;}
.cm-negative {color: #d44;}
.cm-positive {color: #292;}
.cm-header, .cm-strong {font-weight: bold;}
.cm-em {font-style: italic;}
.cm-link {text-decoration: underline;}
.cm-s-default .cm-error {color: #f00;}
.cm-invalidchar {color: #f00;}
div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
.CodeMirror-activeline-background {background: #e8f2ff;}
/* STOP */
/* The rest of this file contains styles related to the mechanics of
the editor. You probably shouldn't touch them. */
.CodeMirror {
line-height: 1;
position: relative;
overflow: hidden;
background: white;
color: black;
}
.CodeMirror-scroll {
/* 30px is the magic margin used to hide the element's real scrollbars */
/* See overflow: hidden in .CodeMirror */
margin-bottom: -30px; margin-right: -30px;
padding-bottom: 30px; padding-right: 30px;
height: 100%;
outline: none; /* Prevent dragging from highlighting the element */
position: relative;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
.CodeMirror-sizer {
position: relative;
}
/* The fake, visible scrollbars. Used to force redraw during scrolling
before actuall scrolling happens, thus preventing shaking and
flickering artifacts. */
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
position: absolute;
z-index: 6;
display: none;
}
.CodeMirror-vscrollbar {
right: 0; top: 0;
overflow-x: hidden;
overflow-y: scroll;
}
.CodeMirror-hscrollbar {
bottom: 0; left: 0;
overflow-y: hidden;
overflow-x: scroll;
}
.CodeMirror-scrollbar-filler {
right: 0; bottom: 0;
}
.CodeMirror-gutter-filler {
left: 0; bottom: 0;
}
.CodeMirror-gutters {
position: absolute; left: 0; top: 0;
padding-bottom: 30px;
z-index: 3;
}
.CodeMirror-gutter {
white-space: normal;
height: 100%;
-moz-box-sizing: content-box;
box-sizing: content-box;
padding-bottom: 30px;
margin-bottom: -32px;
display: inline-block;
/* Hack to make IE7 behave */
*zoom:1;
*display:inline;
}
.CodeMirror-gutter-elt {
position: absolute;
cursor: default;
z-index: 4;
}
.CodeMirror-lines {
cursor: text;
}
.CodeMirror pre {
/* Reset some styles that the rest of the page might have set */
-moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
border-width: 0;
background: transparent;
font-family: inherit;
font-size: inherit;
margin: 0;
white-space: pre;
word-wrap: normal;
line-height: inherit;
color: inherit;
z-index: 2;
position: relative;
overflow: visible;
}
.CodeMirror-wrap pre {
word-wrap: break-word;
white-space: pre-wrap;
word-break: normal;
}
.CodeMirror-code pre {
border-right: 30px solid transparent;
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;
}
.CodeMirror-wrap .CodeMirror-code pre {
border-right: none;
width: auto;
}
.CodeMirror-linebackground {
position: absolute;
left: 0; right: 0; top: 0; bottom: 0;
z-index: 0;
}
.CodeMirror-linewidget {
position: relative;
z-index: 2;
overflow: auto;
}
.CodeMirror-widget {}
.CodeMirror-wrap .CodeMirror-scroll {
overflow-x: hidden;
}
.CodeMirror-measure {
position: absolute;
width: 100%;
height: 0;
overflow: hidden;
visibility: hidden;
}
.CodeMirror-measure pre { position: static; }
.CodeMirror div.CodeMirror-cursor {
position: absolute;
visibility: hidden;
border-right: none;
width: 0;
}
.CodeMirror-focused div.CodeMirror-cursor {
visibility: visible;
}
.CodeMirror-selected { background: #d9d9d9; }
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
.cm-searching {
background: #ffa;
background: rgba(255, 255, 0, .4);
}
/* IE7 hack to prevent it from returning funny offsetTops on the spans */
.CodeMirror span { *vertical-align: text-bottom; }
@media print {
/* Hide the cursor when printing */
.CodeMirror div.CodeMirror-cursor {
visibility: hidden;
}
}
.error {
background-color: #fdd;
}
#tab-grader .pywindow, #tab-homework .pywindow {
/* background-color: #c5f0e5;*/
/* background-color: #eefaf8;*/
/* padding: 10px 15px 15px 15px;*/
/* margin: 5px 0px 5px 0px;*/
/* border-radius: 15px*/
}
.pywindow .CodeMirror {
border: 2px solid #ccc;
border-radius: 4px;
}
.pywindow > pre, .pywindow .error pre {
font-family: 'Consolas', 'Deja Vu Sans Mono',
'Bitstream Vera Sans Mono', monospace;
/* font-size: 0.95em;*/
letter-spacing: 0.015em;
line-height: 120%;
/* border: 1px solid #ccc;*/
/* background-color: #f8f8f8;*/
display: block;
padding: 9.5px;
margin: 5px 0 10px;
font-size: 13px;
/* line-height: 1.428571429;*/
color: #333;
/* word-break: break-all;*/
/* word-wrap: break-word;*/
background-color: #f5f5f5;
border: 1px solid #ccc;
border-radius: 4px;
min-height: 20px;
/* max-height: 500px;*/
resize: vertical;
overflow: auto;
}
.pywindow > pre a, .pywindow .error pre a {
color: inherit;
text-decoration: underline;
}
.pywindow .btn, .btn.pywindow-preview-popout{
display: inline-block;
margin: 5px 10px;
padding: 3px 6px;
height: 24px;
line-height: 16px;
/*font-weight: normal;*/
text-align: center;
white-space: nowrap;
vertical-align: middle;
cursor: pointer;
border: 1px solid transparent;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
font-size: 1em;
/*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/
float: right;
}
.pywindow .btn-link, .btn-link.pywindow-preview-popout{
outline: 0px;
font-size: 15px;
}
.pyfile-preview-modal-holder .aops-modal-title {
text-align: center;
font-size: 150%;
}
.pyfile-preview-modal-holder textarea {
padding: 20px!important;
}
.pywindow .btn-run, .pywindow .btn-run-disabled {
float: left;
margin: 5px 0px;
}
.pywindow .btn-reset {
margin: 5px 0px;
}
.pywindow .btn-run:hover, .pywindow .btn-run:focus,
.pywindow .btn-reset:hover, .pywindow .btn-reset:focus {
outline: 0px;
text-decoration: none;
}
.pywindow .btn-run:active, .pywindow .btn-run.active,
.pywindow .btn-reset:active, .pywindow .btn-reset.active {
outline: 0px;
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.pywindow .btn.disabled, .pywindow .btn[disabled], .pywindow fieldset[disabled] .btn {
pointer-events: none;
cursor: not-allowed;
opacity: .65;
filter: alpha(opacity=65);
-webkit-box-shadow: none;
box-shadow: none;
}
.pywindow .btn-run {
color: #fff;
background-color: #5cb85c;
}
.pywindow .btn-run:hover, .pywindow .btn-run:focus, .pywindow .btn-run:active, .pywindow .btn-run.active {
color: #fff;
background-color: #47a447;
}
.pywindow .btn-run:active, .pywindow .btn-run.active {
background-image: none
}
.pywindow .btn-run.disabled, .pywindow .btn-run[disabled], .pywindow fieldset[disabled] .btn-run,
.pywindow .btn-run.disabled:hover, .pywindow .btn-run[disabled]:hover, .pywindow fieldset[disabled] .btn-run:hover,
.pywindow .btn-run.disabled:focus, .pywindow .btn-run[disabled]:focus, .pywindow fieldset[disabled] .btn-run:focus,
.pywindow .btn-run.disabled:active, .pywindow .btn-run[disabled]:active, .pywindow fieldset[disabled] .btn-run:active,
.pywindow .btn-run.disabled.active, .pywindow .btn-run[disabled].active, .pywindow fieldset[disabled] .btn-run.active {
background-color: #5cb85c;
border-color: #4cae4c;
}
.pywindow .btn-reset {
color: #fff;
background-color: #ed9c28;
}
.pywindow .btn-reset:hover, .pywindow .btn-reset:focus, .pywindow .btn-reset:active, .pywindow .btn-reset.active {
color: #fff;
background-color: #ea8b02;
}
.pywindow .btn-reset:active, .pywindow .btn-reset.active {
background-image: none
}
.pywindow .btn-reset.disabled, .pywindow .btn-reset[disabled], .pywindow fieldset[disabled] .btn-reset,
.pywindow .btn-reset.disabled:hover, .pywindow .btn-reset[disabled]:hover, .pywindow fieldset[disabled] .btn-reset:hover,
.pywindow .btn-reset.disabled:focus, .pywindow .btn-reset[disabled]:focus, .pywindow fieldset[disabled] .btn-reset:focus,
.pywindow .btn-reset.disabled:active, .pywindow .btn-reset[disabled]:active, .pywindow fieldset[disabled] .btn-reset:active,
.pywindow .btn-reset.disabled.active, .pywindow .btn-reset[disabled].active, .pywindow fieldset[disabled] .btn-reset.active {
background-color: #f0ad4e;
border-color: #eea236;
}
/*.pyfile-preview-modal .btn-pop, .pywindow .btn-pop, .pywindow .btn-viewfiles, .pywindow .btn-linenumbers, .pywindow .btn-showdeleted, .pywindow .btn-hidedeleted {
color: #fff;
background-color: #999;
}
.pywindow-file-preview-modal .btn-pop:hover, .pywindow-file-preview-modal .btn-pop:focus,
.pywindow-file-preview-modal .btn-pop:active, .pywindow-file-preview-modal .btn-pop.active,
.pywindow .btn-pop:hover, .pywindow .btn-pop:focus, .pywindow .btn-pop:active, .pywindow .btn-pop.active,
.pywindow .btn-viewfiles:hover, .pywindow .btn-viewfiles:focus, .pywindow .btn-viewfiles:active, .pywindow .btn-viewfiles.active,
.pywindow .btn-linenumbers:hover, .pywindow .btn-linenumbers:focus, .pywindow .btn-linenumbers:active, .pywindow .btn-linenumbers.active,
.pywindow .btn-showdeleted:hover, .pywindow .btn-showdeleted:focus, .pywindow .btn-showdeleted:active, .pywindow .btn-showdeleted.active,
.pywindow .btn-hidedeleted:hover, .pywindow .btn-hidedeleted:focus, .pywindow .btn-hidedeleted:active, .pywindow .btn-hidedeleted.active {
color: #fff;
background-color: #888;
}*/
.pywindow .alert {
padding: 15px;
margin-bottom: 15px;
border: 1px solid transparent;
border-radius: 4px;
color: #333;
background-color: #f2dede;
border-color: #eed3d7;
}
.pywindow .alert h3 {
text-align: left;
}
.pywindow .alert p {
margin: 10px 0px 20px;
}
.pywindow .alert pre {
margin: 10px 0px 20px;
}
.pywindow .ac-files-hidden {
display: none;
}
.pywindow .pywindow-file-table-holder {
border:1px solid black;
border-radius:6px;
background-color: #fff;
display: inline-block;
margin-left: auto;
margin-right: auto;
width: 100%;
}
.pywindow .pywindow-file-table {
margin-bottom: 7px;
width: 100%;
}
.pywindow .pywindow-file-table tr:nth-of-type(even) {
background-color: #eee;
}
.pywindow .pywindow-file-table th {
padding: 5px;
}
.pywindow .pywindow-file-table th:nth-of-type(2) {
text-align: left;
}
.pywindow .pywindow-file-table td {
padding: 5px;
}
.pywindow .pywindow-file-table td:nth-of-type(2) {
min-width: 100px;
}
.pyfile_restore, .pyfile_reset, .pyfile_delete, .pyfile_preview_cursor {
cursor: pointer;
}
.pyfile_delete {
max-width: 30px;
}
.pyfile-clickable-icons {
text-align: center;
clear: both;
}
.pywindow .pyfile_restore, .pywindow .pyfile_reset, .pywindow .pyfile_delete, .pywindow .pyfile-div-a-float-holder {
float: left;
margin-left: 10px;
min-width: 20px;
}
.pywindow-readonly .CodeMirror-gutters {
background-color: #eaeaea;
}
.pywindow-readonly .CodeMirror {
background-color: #f2f2f2;
}
.pywindow .pywindow-btn-small {
padding: 0px 3px;
margin: 0px;
}
.pywindow .active-out-hidden {
display: none;
}
.pywindow .pywindow-temp-preview-code .python {
white-space: pre;
margin-top: 0px!important;
margin-bottom: 0px!important;
border-radius: 2px;
border: 2px solid #ccc;
font-size: 15px; /* or 14.86 */
font-family: monospace;
}
.pywindow .pywindow-temp-preview-code ol {
background-color: #fcfcfc!important;
overflow-x: auto;
overflow-y: visible;
padding-left: 0px!important;
padding-bottom: 8px;
margin-top: 0px!important;
margin-bottom: 0px!important;
margin-left: 0px!important;
/* border-radius: 2px;*/
list-style-type: none;
}
.pywindow .pywindow-temp-preview-code li {
counter-increment: customlistcounter;
position: relative;
top: 3px;
height: 15px; /* or 14.86 */
/* margin: -5px 0px 0px 0px!important;*/
}
.pywindow .pywindow-temp-preview-code li:before {
content: " " counter(customlistcounter);
background-color: #f7f7f7;
position: relative;
top: -2px;
height: 15px; /* or 14.86 */
float: left;
border-right: 1px solid #ddd;
width: 34px; /* 27 or 21 or 35*/
margin: 0px 4px 0px -7px!important;
text-align: center;
color: #999;
}
.pywindow .pywindow-temp-preview-code li:last-child:before {
height: 21px; /* or 20.86 */
margin-bottom: -6px!important;
}
.pywindow .pywindow-one-digit-lines li:before {
width: 28px;
}
.pywindow .pywindow-two-digit-lines li:before {
width: 34px;
}
.pywindow .pywindow-three-digit-lines li:before {
width: 42px;
}
/*.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(1):before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(1) ~ li:before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(2):before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(2) ~ li:before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(3):before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(3) ~ li:before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(4):before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(4) ~ li:before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(5):before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(5) ~ li:before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(6):before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(6) ~ li:before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(7):before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(7) ~ li:before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(8):before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(8) ~ li:before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(9):before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(9) ~ li:before {
width: 28px;
}*/
.pywindow .pywindow-temp-preview-code ol:first-child {
counter-reset: customlistcounter;
}
.pywindow .pywindow-temp-preview-code span {
}
.pywindow .pywindow-temp-preview-code li>div {
cursor: text;
color: black;
}
.pywindow .ac-canvas {
background-color: white;
border: 2px solid #777;
}
.pywindow-enable-onclickpre-button {
float: left!important;
}
.pywindow-onclickpre-preview {
border: 2px solid #ccc;
padding: 10px;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,497 @@
AoPS.Community={};AoPS.Community.categories = [];
AoPS.Community.categories[0] = {category_id : 3,category_name : "Middle School Math",num_topics : 46945,num_posts : 659595,main_color : "#f90",secondary_color : "#fff5d4",num_users : 13,short_description : "Grades 5-8, Ages 10-13, MATHCOUNTS, AMC 8",long_description : "",item_sort_type : "forum",category_type : "forum",has_source : false,has_halp : false,is_monitored : false,is_locked : false,has_announcements : true,has_thanks : true,has_nothanks : false,include_in_count : true,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : true};
AoPS.Community.categories[0].items = [];AoPS.Community.categories[0].items.push({item_id : 1,item_text : "MATHCOUNTS",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 48,item_text : "geometry",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 177,item_text : "number theory",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 193,item_text : "probability",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 169,item_text : "algebra",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 146,item_text : "3D geometry",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 3,item_text : "AMC",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 55,item_text : "AMC 8",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 259,item_text : "ratio",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 298,item_text : "function",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 251,item_text : "analytic geometry",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 96,item_text : "LaTeX",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 130,item_text : "rectangle",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 273,item_text : "counting",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 231,item_text : "quadratics",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 179,item_text : "AMC 10",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 178,item_text : "modular arithmetic",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 243,item_text : "inequalities",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 183,item_text : "AIME",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 127,item_text : "perimeter",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 29911,item_text : "poll",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 194,item_text : "trigonometry",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 105,item_text : "search",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 170,item_text : "polynomial",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 309,item_text : "combinatorics",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 517,item_text : "math",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 260,item_text : "percent",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 116,item_text : "calculus",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 98,item_text : "Alcumus",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 283,item_text : "geometric transformation",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 101,item_text : "FTW",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 39,item_text : "Pythagorean Theorem",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 180,item_text : "prime numbers",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 284,item_text : "rotation",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 115,item_text : "videos",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 65300,item_text : "middle school math",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 263,item_text : "least common multiple",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 253,item_text : "graphing lines",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 134,item_text : "trapezoid",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 237,item_text : "factorial",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 254,item_text : "slope",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 181,item_text : "prime factorization",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 29489,item_text : "Counting and Probability",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 112,item_text : "AoPS Books",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 264,item_text : "greatest common divisor",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 278,item_text : "distinguishability",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 174,item_text : "USA(J)MO",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 117,item_text : "integration",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 279,item_text : "logarithms",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 131,item_text : "parallelogram",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[1] = {category_id : 4,category_name : "High School Math",num_topics : 103885,num_posts : 565535,main_color : "#e75400",secondary_color : "#ffe7cc",num_users : 5,short_description : "Grades 9-12, Ages 13-18",long_description : "",item_sort_type : "forum",category_type : "forum",has_source : false,has_halp : false,is_monitored : false,is_locked : false,has_announcements : false,has_thanks : true,has_nothanks : false,include_in_count : true,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : true};
AoPS.Community.categories[1].items = [];AoPS.Community.categories[1].items.push({item_id : 48,item_text : "geometry",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 169,item_text : "algebra",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 177,item_text : "number theory",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 194,item_text : "trigonometry",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 298,item_text : "function",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 243,item_text : "inequalities",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 170,item_text : "polynomial",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 193,item_text : "probability",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 309,item_text : "combinatorics",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 116,item_text : "calculus",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 231,item_text : "quadratics",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 251,item_text : "analytic geometry",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 146,item_text : "3D geometry",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 3,item_text : "AMC",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 259,item_text : "ratio",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 178,item_text : "modular arithmetic",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 183,item_text : "AIME",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 279,item_text : "logarithms",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 96,item_text : "LaTeX",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 226,item_text : "conics",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 130,item_text : "rectangle",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 159,item_text : "complex numbers",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 283,item_text : "geometric transformation",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 123,item_text : "circumcircle",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 217,item_text : "induction",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 117,item_text : "integration",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 416,item_text : "floor function",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 127,item_text : "perimeter",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 273,item_text : "counting",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 284,item_text : "rotation",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 281,item_text : "system of equations",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 195,item_text : "trig identities",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 105,item_text : "search",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 157,item_text : "vector",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 253,item_text : "graphing lines",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 134,item_text : "trapezoid",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 254,item_text : "slope",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 415,item_text : "symmetry",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 265,item_text : "relatively prime",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 124,item_text : "angle bisector",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 179,item_text : "AMC 10",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 131,item_text : "parallelogram",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 227,item_text : "parabola",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 39,item_text : "Pythagorean Theorem",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 173,item_text : "Vieta",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 299,item_text : "domain",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 180,item_text : "prime numbers",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 237,item_text : "factorial",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 264,item_text : "greatest common divisor",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 248,item_text : "Diophantine equation",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[2] = {category_id : 5,category_name : "Contests &amp; Programs",num_topics : 29049,num_posts : 471543,main_color : "#008fd5",secondary_color : "#d9effd",num_users : 9,short_description : "AMC and other contests, summer programs, etc.",long_description : "",item_sort_type : "forum",category_type : "forum",has_source : true,has_halp : false,is_monitored : false,is_locked : false,has_announcements : true,has_thanks : true,has_nothanks : false,include_in_count : true,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : true};
AoPS.Community.categories[2].items = [];AoPS.Community.categories[2].items.push({item_id : 3,item_text : "AMC",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 183,item_text : "AIME",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 179,item_text : "AMC 10",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 48,item_text : "geometry",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 174,item_text : "USA(J)MO",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 175,item_text : "USAMO",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 37,item_text : "AMC 12",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 190,item_text : "AIME I",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 184,item_text : "AMC 10 A",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 176,item_text : "USAJMO",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 55,item_text : "AMC 8",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 1,item_text : "MATHCOUNTS",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 193,item_text : "probability",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 177,item_text : "number theory",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 194,item_text : "trigonometry",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 186,item_text : "AMC 10 B",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 29911,item_text : "poll",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 169,item_text : "algebra",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 63,item_text : "summer program",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 191,item_text : "AIME II",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 185,item_text : "AMC 12 A",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 298,item_text : "function",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 109,item_text : "email",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 187,item_text : "AMC 12 B",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 116,item_text : "calculus",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 243,item_text : "inequalities",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 58,item_text : "ARML",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 251,item_text : "analytic geometry",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 259,item_text : "ratio",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 146,item_text : "3D geometry",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 170,item_text : "polynomial",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 105,item_text : "search",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 57,item_text : "AwesomeMath",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 112,item_text : "AoPS Books",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 231,item_text : "quadratics",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 64,item_text : "HMMT",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 209,item_text : "college",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 283,item_text : "geometric transformation",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 91,item_text : "USAMTS",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 98,item_text : "Alcumus",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 96,item_text : "LaTeX",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 83,item_text : "PROMYS",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 130,item_text : "rectangle",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 71,item_text : "Mathcamp",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 279,item_text : "logarithms",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 178,item_text : "modular arithmetic",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 159,item_text : "complex numbers",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 284,item_text : "rotation",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 107,item_text : "AoPSwiki",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 84,item_text : "Ross Mathematics Program",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[3] = {category_id : 6,category_name : "High School Olympiads",num_topics : 275646,num_posts : 1201306,main_color : "#029386",secondary_color : "#e1fff2",num_users : 13,short_description : "Regional, national, and international math olympiads",long_description : "",item_sort_type : "forum",category_type : "forum",has_source : true,has_halp : false,is_monitored : false,is_locked : false,has_announcements : true,has_thanks : true,has_nothanks : false,include_in_count : true,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : true};
AoPS.Community.categories[3].items = [];AoPS.Community.categories[3].items.push({item_id : 169,item_text : "algebra",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 309,item_text : "combinatorics",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 48,item_text : "geometry",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 243,item_text : "inequalities",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 177,item_text : "number theory",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 360,item_text : "IMO",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 108,item_text : "articles",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 298,item_text : "function",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 322,item_text : "inequalities proposed",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 304,item_text : "algebra unsolved",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 194,item_text : "trigonometry",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 325,item_text : "number theory unsolved",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 123,item_text : "circumcircle",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 321,item_text : "inequalities unsolved",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 170,item_text : "polynomial",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 315,item_text : "geometry unsolved",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 316,item_text : "geometry proposed",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 310,item_text : "combinatorics unsolved",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 326,item_text : "number theory proposed",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 305,item_text : "algebra proposed",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 178,item_text : "modular arithmetic",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 217,item_text : "induction",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 300,item_text : "functional equation",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 283,item_text : "geometric transformation",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 116,item_text : "calculus",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 120,item_text : "incenter",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 312,item_text : "combinatorics proposed",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 231,item_text : "quadratics",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 146,item_text : "3D geometry",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 285,item_text : "reflection",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 279,item_text : "logarithms",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 259,item_text : "ratio",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 251,item_text : "analytic geometry",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 416,item_text : "floor function",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 180,item_text : "prime numbers",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 105,item_text : "search",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 124,item_text : "angle bisector",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 131,item_text : "parallelogram",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 117,item_text : "integration",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 96,item_text : "LaTeX",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 29440,item_text : "Inequality",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 119,item_text : "limit",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 130,item_text : "rectangle",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 159,item_text : "complex numbers",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 248,item_text : "Diophantine equation",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 193,item_text : "probability",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 212,item_text : "Euler",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 226,item_text : "conics",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 157,item_text : "vector",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 210,item_text : "cyclic quadrilateral",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[4] = {category_id : 7,category_name : "College Math",num_topics : 102697,num_posts : 402681,main_color : "#511e8f",secondary_color : "#f2e6fe",num_users : 7,short_description : "Topics in undergraduate and graduate studies",long_description : "",item_sort_type : "forum",category_type : "forum",has_source : true,has_halp : false,is_monitored : false,is_locked : false,has_announcements : false,has_thanks : true,has_nothanks : false,include_in_count : true,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : true};
AoPS.Community.categories[4].items = [];AoPS.Community.categories[4].items.push({item_id : 116,item_text : "calculus",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 427,item_text : "real analysis",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 290,item_text : "linear algebra",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 435,item_text : "superior algebra",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 443,item_text : "complex analysis",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 448,item_text : "advanced fields",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 455,item_text : "probability and stats",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 177,item_text : "number theory",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 440,item_text : "topology",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 441,item_text : "Putnam",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 442,item_text : "college contests",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 108,item_text : "articles",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 298,item_text : "function",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 117,item_text : "integration",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 458,item_text : "calculus computations",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 428,item_text : "real analysis unsolved",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 119,item_text : "limit",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 194,item_text : "trigonometry",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 169,item_text : "algebra",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 291,item_text : "matrix",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 279,item_text : "logarithms",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 436,item_text : "superior algebra unsolved",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 118,item_text : "derivative",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 170,item_text : "polynomial",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 48,item_text : "geometry",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 29490,item_text : "abstract algebra",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 243,item_text : "inequalities",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 157,item_text : "vector",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 29371,item_text : "group theory",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 431,item_text : "linear algebra unsolved",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 193,item_text : "probability",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 450,item_text : "advanced fields unsolved",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 251,item_text : "analytic geometry",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 299,item_text : "domain",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 217,item_text : "induction",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 96,item_text : "LaTeX",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 146,item_text : "3D geometry",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 444,item_text : "complex analysis unsolved",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 29450,item_text : "Ring Theory",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 159,item_text : "complex numbers",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 283,item_text : "geometric transformation",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 438,item_text : "superior algebra solved",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 430,item_text : "real analysis theorems",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 31731,item_text : "Functional Analysis",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 105,item_text : "search",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 293,item_text : "parameterization",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 231,item_text : "quadratics",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 429,item_text : "real analysis solved",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 259,item_text : "ratio",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 226,item_text : "conics",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[5] = {category_id : 9,category_name : "Other Forums",num_topics : 43,num_posts : 1412,main_color : "#356CB5",secondary_color : "#dae7f6",num_users : 1,short_description : "Games, local and regional communities, and user-created forums.",long_description : "Create a new forum on your <a data-cmty href='/community/my-aops'><span class='aops-font'>A</span>My AoPS</a> page.",item_sort_type : "system",category_type : "folder_forums",has_source : false,has_halp : false,is_monitored : false,is_locked : true,has_announcements : false,has_thanks : false,has_nothanks : false,include_in_count : false,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : false};
AoPS.Community.categories[5].items = [];AoPS.Community.categories[5].items.push({item_id : 1967976,item_text : "Peer-to-Peer Programs",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Schoolhouse.world, student-prepared handouts, and other peer-to-peer efforts"});AoPS.Community.categories[5].items.push({item_id : 594864,item_text : "AoPS Mock Contests",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "A forum for posting, taking, and discussing contests created by AoPS users"});AoPS.Community.categories[5].items.push({item_id : 123,item_text : "USAMTS",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "The USA Mathematical Talent Search, a free math competition"});AoPS.Community.categories[5].items.push({item_id : 124,item_text : "ARML",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "The American Regions Mathematics League, a team math competition"});AoPS.Community.categories[5].items.push({item_id : 129,item_text : "HMMT",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "The Harvard-MIT Mathematics Tournament, a math meet in MA"});AoPS.Community.categories[5].items.push({item_id : 164,item_text : "Physics",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "For topics in physics and discussion of physics competitions"});AoPS.Community.categories[5].items.push({item_id : 140,item_text : "Princeton Math Competition",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "The Princeton Math Competition (PUMaC), a math meet in NJ"});AoPS.Community.categories[5].items.push({item_id : 132,item_text : "Math Prize for Girls",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "A math contest for girls in 11th grade or below (AMC 10/12 required to apply)"});AoPS.Community.categories[5].items.push({item_id : 170,item_text : "The Round Table",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "For serious discussions"});AoPS.Community.categories[5].items.push({item_id : 149,item_text : "Purple Comet",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "A free online math meet for middle and high school students"});AoPS.Community.categories[5].items.push({item_id : 163,item_text : "Computer Science and Informatics",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "For topics in CS and informatics and discussion of CS competitions"});AoPS.Community.categories[5].items.push({item_id : 162,item_text : "Chemistry",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "For topics in chemistry and discussion of chemistry competitions"});AoPS.Community.categories[5].items.push({item_id : 161,item_text : "Biology",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "For topics in biology and discussion of biology competitions"});AoPS.Community.categories[5].items.push({item_id : 172,item_text : "College",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "College admissions, preparing for college, etc."});AoPS.Community.categories[5].items.push({item_id : 2788149,item_text : "Xarcade!",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Overload of games, and fun threads! Anyone can make threads! (Pronounced: Ksar-keid)"});AoPS.Community.categories[5].items.push({item_id : 1211547,item_text : "Boredom Buster&lrm;!",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Isn\'t it obvious? We bust your boredom!"});AoPS.Community.categories[5].items.push({item_id : 1962982,item_text : "Luminosity",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Illuminating the World with Games..."});AoPS.Community.categories[5].items.push({item_id : 1136128,item_text : "The Avatar Market &copy;",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Making Your Avatars a Little Sweeter ✨"});AoPS.Community.categories[5].items.push({item_id : 1079043,item_text : "The Clan Gathering",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Live an adventurous wild cat life in The Clan Gathering!"});AoPS.Community.categories[5].items.push({item_id : 1068820,item_text : "Old High School Olympiads",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Regional, National, and International Math Olympiads before 2001 mostly, recent years have been posted in order to make contest collections richer"});AoPS.Community.categories[5].items.push({item_id : 851893,item_text : "Pokemon!!!",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "The best Pokemon RPG forum!"});AoPS.Community.categories[5].items.push({item_id : 538368,item_text : "Ask the AoPS Community",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "General questions addressed to the community - for questions/comments that don\'t fit elsewhere."});AoPS.Community.categories[5].items.push({item_id : 1623484,item_text : "triviat",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Games, community, and trivia!"});AoPS.Community.categories[5].items.push({item_id : 1232176,item_text : "The Warriors Of AoPS",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Warriors | The Chaotic Version"});AoPS.Community.categories[5].items.push({item_id : 3034721,item_text : "MIG",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Math Invitational for Girls"});AoPS.Community.categories[5].items.push({item_id : 3015717,item_text : "The Lollipop Forum",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Like Lollipops? Like Math? Can\'t fit the two together? You came to the right place! We post word problems concerning lollipops!"});AoPS.Community.categories[5].items.push({item_id : 1036644,item_text : "Not Just 20 Questions!",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "A place to have fun and make new friends~"});AoPS.Community.categories[5].items.push({item_id : 2330780,item_text : "Cats of All Clans",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Welcome to a Warrior forum, but with 5 clans."});AoPS.Community.categories[5].items.push({item_id : 1273609,item_text : "Island of the Lost",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Mystique, action, and story: this dedicated RPG forum has it all!"});AoPS.Community.categories[5].items.push({item_id : 1243730,item_text : "Civil Discourse",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "The debate forum dedicated to polite, organized, civil discussions."});AoPS.Community.categories[5].items.push({item_id : 2414357,item_text : "✯ Sparkling Stars! ✯",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "✯ Sparkling Stars Is An Awesome Forum With Games, Avatar Shops, Contests, And More! Join Now! ✯"});AoPS.Community.categories[5].items.push({item_id : 1987267,item_text : "Night Warriors",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "The free-for-all warriors forum"});AoPS.Community.categories[5].items.push({item_id : 2392466,item_text : "Christians Forum!",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "My hope is that on this forum, people can see who God really is: a father who gave is son for us, so that we may gain something we don\'t even deserve."});AoPS.Community.categories[5].items.push({item_id : 618937,item_text : "Euclidean Geometry In Mathematical Olympiads",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Study group for Euclidean Geometry in Mathematical Olympiads by Evan Chen"});AoPS.Community.categories[5].items.push({item_id : 134,item_text : "mathleague.org",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Topics about mathleague.org contests for elementary to high school students"});AoPS.Community.categories[5].items.push({item_id : 521,item_text : "Berkeley Math Tournament",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "The BMT, a math meet in CA for high school students and below"});AoPS.Community.categories[5].items.push({item_id : 1800128,item_text : "♟The Chess Forum♟",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Chess Tournaments, Discussion, Games, Shops, Puzzles, and much more!"});AoPS.Community.categories[5].items.push({item_id : 3026505,item_text : "the artists forum 3.0",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "A forum for all artists across aops!"});AoPS.Community.categories[5].items.push({item_id : 2484934,item_text : "Haven of Spells",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "A fantasy RPG full of new spells, weapons, stories, and more!"});AoPS.Community.categories[5].items.push({item_id : 260,item_text : "India",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "For users from India and discussions related to India"});AoPS.Community.categories[5].items.push({item_id : 3042458,item_text : "Smurf Village",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "The Village of the Smurfs"});AoPS.Community.categories[5].items.push({item_id : 3029020,item_text : "(⌐■_■) model 1.2 &copy;",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "totally useless forum to do whatever in -- model 1.2 -- peace is boring -- most mods in a user-created forum -- french fries are tasty and fridays are fun"});AoPS.Community.categories[5].items.push({item_id : 2995387,item_text : "Digging Hamsters",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "The authentic hamster heaven"});AoPS.Community.categories[5].items.push({item_id : 3041179,item_text : "The Climate Crew!",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "The forum of all the people who care about the climate and want to stop the climate change!"});AoPS.Community.categories[5].items.push({item_id : 2406262,item_text : "The Forum Bulletin",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "News about game forums"});AoPS.Community.categories[5].items.push({item_id : 1997611,item_text : "Earthrise",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "When shadows cloak our small blue dot, it\'s up to us to fight them."});AoPS.Community.categories[5].items.push({item_id : 2530682,item_text : "Clams of all Clans",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Clams are supreme"});AoPS.Community.categories[5].items.push({item_id : 2991586,item_text : "Pyrrhia and Pantala",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Welcome to the worlds of Pyrrhia and Pantala, wonderful worlds full of dragons... and chaos."});AoPS.Community.categories[5].items.push({item_id : 1655243,item_text : "Guilds of Magic Official",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "A chaotic world full of elemental mages"});AoPS.Community.categories[5].items.push({item_id : 3040443,item_text : "Games and More Games",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "A game forum"});AoPS.Community.categories[6] = {category_id : 10,category_name : "Site Support",num_topics : 16579,num_posts : 138067,main_color : "#a90008",secondary_color : "#ffe4e1",num_users : 1,short_description : "Tech support and questions about AoPS classes and materials",long_description : "",item_sort_type : "forum",category_type : "forum",has_source : false,has_halp : false,is_monitored : true,is_locked : false,has_announcements : true,has_thanks : true,has_nothanks : false,include_in_count : true,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : true};
AoPS.Community.categories[6].items = [];AoPS.Community.categories[6].items.push({item_id : 98,item_text : "Alcumus",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 99,item_text : "blogs",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 96,item_text : "LaTeX",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 105,item_text : "search",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 101,item_text : "FTW",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 48,item_text : "geometry",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 95,item_text : "Support",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 109,item_text : "email",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 298,item_text : "function",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 1,item_text : "MATHCOUNTS",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 3,item_text : "AMC",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 107,item_text : "AoPSwiki",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 45137,item_text : "Bug",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 100,item_text : "Reaper",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 183,item_text : "AIME",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 30722,item_text : "Forums",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 54636,item_text : "suggestion",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 29911,item_text : "poll",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 51399,item_text : "site support",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 179,item_text : "AMC 10",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 29348,item_text : "AoPS",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 97,item_text : "Asymptote",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 115,item_text : "videos",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 29349,item_text : "AoPS classes",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 30593,item_text : "posts",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 236942,item_text : "pms",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 116,item_text : "calculus",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 30468,item_text : "Glitch",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 30323,item_text : "Suggestions",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 193,item_text : "probability",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 177,item_text : "number theory",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 55,item_text : "AMC 8",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 102,item_text : "classes",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 112,item_text : "AoPS Books",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 110,item_text : "classroom",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 30967,item_text : "help",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 45973,item_text : "question",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 30366,item_text : "Forum",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 146,item_text : "3D geometry",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 114,item_text : "Greed Control",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 111609,item_text : "glitch or bug",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 174,item_text : "USA(J)MO",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 190,item_text : "AIME I",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 29345,item_text : "Tags",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 31541,item_text : "BBCode",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 31784,item_text : "Avatars",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 169,item_text : "algebra",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 29755,item_text : "Homework",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 30642,item_text : "Friends",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 68190,item_text : "upvotes",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[7] = {category_id : 91,category_name : "Contest of the Week",num_topics : 0,num_posts : 0,main_color : "#990000",secondary_color : "#FFDADA",num_users : 1,short_description : "2014 EGMO",long_description : "",item_sort_type : "manual",category_type : "view_posts",has_source : false,has_halp : false,is_monitored : false,is_locked : true,has_announcements : false,has_thanks : false,has_nothanks : false,include_in_count : false,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : false};
AoPS.Community.categories[7].items = [];AoPS.Community.categories[7].items.push({item_id : 4572669,item_text : "Day 1",item_forum_id : 0,item_type : "post",item_main_color : "",item_secondary_color : ""
,post_data : {"post_id":4572669,"post_type":"view_posts_text","topic_id":0,"poster_id":0,"post_rendered":"April 12th","post_canonical":"April 12th","username":"","post_number":2,"post_format":"bbcode","category_name":"2014 EGMO","category_id":4329,"poster_avatar":"\/\/avatar.artofproblemsolving.com\/no-avatar.png"}});
AoPS.Community.categories[7].items.push({item_id : 3459747,item_text : "1",item_forum_id : 0,item_type : "post",item_main_color : "",item_secondary_color : ""
,post_data : {"post_id":3459747,"post_type":"forum","topic_id":585057,"poster_id":146965,"post_rendered":"Determine all real constants <img src=\"\/\/latex.artofproblemsolving.com\/e\/0\/d\/e0d2bf360290fd61d1c1557e763f2622363b3d35.png\" class=\"latex\" alt=\"$t$\" width=\"6\" height=\"11\" > such that whenever <span style=\"white-space:nowrap;\"><img src=\"\/\/latex.artofproblemsolving.com\/c\/7\/d\/c7d457e388298246adb06c587bccd419ea67f7e8.png\" class=\"latex\" alt=\"$a$\" width=\"9\" height=\"8\" >,<\/span> <img src=\"\/\/latex.artofproblemsolving.com\/8\/1\/3\/8136a7ef6a03334a7246df9097e5bcc31ba33fd2.png\" class=\"latex\" alt=\"$b$\" width=\"8\" height=\"12\" > and <img src=\"\/\/latex.artofproblemsolving.com\/3\/3\/7\/3372c1cb6d68cf97c2d231acc0b47b95a9ed04cc.png\" class=\"latex\" alt=\"$c$\" width=\"8\" height=\"8\" > are the lengths of sides of a triangle, then so are <span style=\"white-space:nowrap;\"><img src=\"\/\/latex.artofproblemsolving.com\/f\/2\/d\/f2d8108bdff76b490b211a92fff96443dad92a15.png\" class=\"latex\" alt=\"$a^2+bct$\" style=\"vertical-align: -1px\" width=\"61\" height=\"16\" >,<\/span> <span style=\"white-space:nowrap;\"><img src=\"\/\/latex.artofproblemsolving.com\/e\/9\/1\/e9133c6dd8ed572e9694fb70c27e825b78d98d72.png\" class=\"latex\" alt=\"$b^2+cat$\" style=\"vertical-align: -1px\" width=\"61\" height=\"16\" >,<\/span> <span style=\"white-space:nowrap;\"><img src=\"\/\/latex.artofproblemsolving.com\/b\/5\/8\/b583284bde2729e1295d36e76433e81a76a8bf09.png\" class=\"latex\" alt=\"$c^2+abt$\" style=\"vertical-align: -1px\" width=\"61\" height=\"16\" >.<\/span>","post_canonical":"Determine all real constants $t$ such that whenever $a$, $b$ and $c$ are the lengths of sides of a triangle, then so are $a^2+bct$, $b^2+cat$, $c^2+abt$.","username":"shivangjindal","post_number":1,"post_format":"bbcode","category_name":"High School Olympiads","category_id":6,"poster_avatar":"\/\/avatar.artofproblemsolving.com\/avatar_146965.png"}});
AoPS.Community.categories[7].items.push({item_id : 3459750,item_text : "2",item_forum_id : 0,item_type : "post",item_main_color : "",item_secondary_color : ""
,post_data : {"post_id":3459750,"post_type":"forum","topic_id":585058,"poster_id":146965,"post_rendered":"Let <img src=\"\/\/latex.artofproblemsolving.com\/9\/f\/f\/9ffb448918db29f2a72f8f87f421b3b3cad18f95.png\" class=\"latex\" alt=\"$D$\" width=\"15\" height=\"12\" > and <img src=\"\/\/latex.artofproblemsolving.com\/f\/a\/2\/fa2fa899f0afb05d6837885523503a2d4df434f9.png\" class=\"latex\" alt=\"$E$\" width=\"14\" height=\"12\" > be points in the interiors of sides <img src=\"\/\/latex.artofproblemsolving.com\/5\/7\/e\/57ee5125358c0606c9b588580ddfa66f83e607b7.png\" class=\"latex\" alt=\"$AB$\" width=\"27\" height=\"13\" > and <span style=\"white-space:nowrap;\"><img src=\"\/\/latex.artofproblemsolving.com\/a\/1\/7\/a179ff2638e4799cadd820db205c2beff6299ce9.png\" class=\"latex\" alt=\"$AC$\" width=\"27\" height=\"13\" >,<\/span> respectively, of a triangle <span style=\"white-space:nowrap;\"><img src=\"\/\/latex.artofproblemsolving.com\/e\/2\/a\/e2a559986ed5a0ffc5654bd367c29dfc92913c36.png\" class=\"latex\" alt=\"$ABC$\" width=\"42\" height=\"13\" >,<\/span> such that <span style=\"white-space:nowrap;\"><img src=\"\/\/latex.artofproblemsolving.com\/5\/9\/5\/5954c8ce56621e52bd7465bd85aba65b872ddd29.png\" class=\"latex\" alt=\"$DB = BC = CE$\" width=\"136\" height=\"12\" >.<\/span> Let the lines <img src=\"\/\/latex.artofproblemsolving.com\/0\/9\/4\/0948661e822f2a953c43a57ac9e40b2734476de4.png\" class=\"latex\" alt=\"$CD$\" width=\"29\" height=\"12\" > and <img src=\"\/\/latex.artofproblemsolving.com\/a\/7\/b\/a7baf95ecafc2d7791788ec79aeeae390d60b119.png\" class=\"latex\" alt=\"$BE$\" width=\"28\" height=\"12\" > meet at <span style=\"white-space:nowrap;\"><img src=\"\/\/latex.artofproblemsolving.com\/a\/0\/5\/a055f405829e64a3b70253ab67cb45ed6ed5bb29.png\" class=\"latex\" alt=\"$F$\" width=\"14\" height=\"12\" >.<\/span> Prove that the incentre <img src=\"\/\/latex.artofproblemsolving.com\/0\/2\/7\/027f4a11d6090f9eac0ce2488df6384dad1263ea.png\" class=\"latex\" alt=\"$I$\" width=\"9\" height=\"12\" > of triangle <span style=\"white-space:nowrap;\"><img src=\"\/\/latex.artofproblemsolving.com\/e\/2\/a\/e2a559986ed5a0ffc5654bd367c29dfc92913c36.png\" class=\"latex\" alt=\"$ABC$\" width=\"42\" height=\"13\" >,<\/span> the orthocentre <img src=\"\/\/latex.artofproblemsolving.com\/b\/1\/9\/b1902d279ba37d60bdce4e0e987b7cd19d48974e.png\" class=\"latex\" alt=\"$H$\" width=\"16\" height=\"12\" > of triangle <img src=\"\/\/latex.artofproblemsolving.com\/2\/e\/9\/2e9e8b2c23e0545ef6de81f0ea578173e9ab7a64.png\" class=\"latex\" alt=\"$DEF$\" width=\"44\" height=\"12\" > and the midpoint <img src=\"\/\/latex.artofproblemsolving.com\/5\/d\/1\/5d1e4485dc90c450e8c76826516c1b2ccb8fce16.png\" class=\"latex\" alt=\"$M$\" width=\"19\" height=\"12\" > of the arc <img src=\"\/\/latex.artofproblemsolving.com\/2\/e\/d\/2edcdc0d73ef64ec441f60a3a8dccdbd10aa61a5.png\" class=\"latex\" alt=\"$BAC$\" width=\"42\" height=\"13\" > of the circumcircle of triangle <img src=\"\/\/latex.artofproblemsolving.com\/e\/2\/a\/e2a559986ed5a0ffc5654bd367c29dfc92913c36.png\" class=\"latex\" alt=\"$ABC$\" width=\"42\" height=\"13\" > are collinear.","post_canonical":"Let $D$ and $E$ be points in the interiors of sides $AB$ and $AC$, respectively, of a triangle $ABC$, such that $DB = BC = CE$. Let the lines $CD$ and $BE$ meet at $F$. Prove that the incentre $I$ of triangle $ABC$, the orthocentre $H$ of triangle $DEF$ and the midpoint $M$ of the arc $BAC$ of the circumcircle of triangle $ABC$ are collinear.","username":"shivangjindal","post_number":1,"post_format":"bbcode","category_name":"High School Olympiads","category_id":6,"poster_avatar":"\/\/avatar.artofproblemsolving.com\/avatar_146965.png"}});
AoPS.Community.categories[7].items.push({item_id : 3459754,item_text : "3",item_forum_id : 0,item_type : "post",item_main_color : "",item_secondary_color : ""
,post_data : {"post_id":3459754,"post_type":"forum","topic_id":585060,"poster_id":146965,"post_rendered":"We denote the number of positive divisors of a positive integer <img src=\"\/\/latex.artofproblemsolving.com\/f\/5\/0\/f5047d1e0cbb50ec208923a22cd517c55100fa7b.png\" class=\"latex\" alt=\"$m$\" width=\"15\" height=\"8\" > by <img src=\"\/\/latex.artofproblemsolving.com\/e\/3\/1\/e31583b08d7a4d2cfef6b1686c943f75bb920c49.png\" class=\"latex\" alt=\"$d(m)$\" style=\"vertical-align: -4px\" width=\"38\" height=\"18\" > and the number of distinct prime divisors of <img src=\"\/\/latex.artofproblemsolving.com\/f\/5\/0\/f5047d1e0cbb50ec208923a22cd517c55100fa7b.png\" class=\"latex\" alt=\"$m$\" width=\"15\" height=\"8\" > by <span style=\"white-space:nowrap;\"><img src=\"\/\/latex.artofproblemsolving.com\/9\/1\/9\/919dc0c0fa599acc4c13d5e8a75e19b33182f6f5.png\" class=\"latex\" alt=\"$\\omega(m)$\" style=\"vertical-align: -4px\" width=\"40\" height=\"18\" >.<\/span> Let <img src=\"\/\/latex.artofproblemsolving.com\/8\/c\/3\/8c325612684d41304b9751c175df7bcc0f61f64f.png\" class=\"latex\" alt=\"$k$\" width=\"9\" height=\"12\" > be a positive integer. Prove that there exist infinitely many positive integers <img src=\"\/\/latex.artofproblemsolving.com\/1\/7\/4\/174fadd07fd54c9afe288e96558c92e0c1da733a.png\" class=\"latex\" alt=\"$n$\" width=\"10\" height=\"8\" > such that <img src=\"\/\/latex.artofproblemsolving.com\/2\/c\/9\/2c9efe77e963a45b695222612888db8539c25243.png\" class=\"latex\" alt=\"$\\omega(n) = k$\" style=\"vertical-align: -4px\" width=\"71\" height=\"18\" > and <img src=\"\/\/latex.artofproblemsolving.com\/b\/0\/5\/b05725a6508fe8df761c6e91d2735b697ebd87d9.png\" class=\"latex\" alt=\"$d(n)$\" style=\"vertical-align: -4px\" width=\"33\" height=\"18\" > does not divide <img src=\"\/\/latex.artofproblemsolving.com\/1\/7\/b\/17b82e2b28496651fd8a395028161093503285a7.png\" class=\"latex\" alt=\"$d(a^2+b^2)$\" style=\"vertical-align: -4px\" width=\"76\" height=\"19\" > for any positive integers <img src=\"\/\/latex.artofproblemsolving.com\/3\/8\/3\/3834f0cef2a1f4d8524aa5bc8e3faca298550862.png\" class=\"latex\" alt=\"$a, b$\" style=\"vertical-align: -3px\" width=\"25\" height=\"16\" > satisfying <span style=\"white-space:nowrap;\"><img src=\"\/\/latex.artofproblemsolving.com\/d\/6\/d\/d6d145c0bf2d95f16f578fbd3045d9883173bcf0.png\" class=\"latex\" alt=\"$a + b = n$\" style=\"vertical-align: -1px\" width=\"74\" height=\"14\" >.<\/span>","post_canonical":"We denote the number of positive divisors of a positive integer $m$ by $d(m)$ and the number of distinct prime divisors of $m$ by $\\omega(m)$. Let $k$ be a positive integer. Prove that there exist infinitely many positive integers $n$ such that $\\omega(n) = k$ and $d(n)$ does not divide $d(a^2+b^2)$ for any positive integers $a, b$ satisfying $a + b = n$.","username":"shivangjindal","post_number":1,"post_format":"bbcode","category_name":"High School Olympiads","category_id":6,"poster_avatar":"\/\/avatar.artofproblemsolving.com\/avatar_146965.png"}});
AoPS.Community.categories[8] = {category_id : 2958087,category_name : "2022 Contests",num_topics : 0,num_posts : 0,main_color : "#356cb5",secondary_color : "#dae7f6",num_users : 0,short_description : "Contests in the 2021-22 school year",long_description : "",item_sort_type : "abc",category_type : "folder",has_source : false,has_halp : false,is_monitored : false,is_locked : true,has_announcements : false,has_thanks : false,has_nothanks : false,include_in_count : false,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : true};
AoPS.Community.categories[8].items = [];AoPS.Community.categories[8].items.push({item_id : 2829975,item_text : "2022 3rd Memorial &quot;Aleksandar Blazhevski-Cane&quot;",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "2022 3rd Memorial Mathematical Contest &quot;Aleksandar Blazhevski-Cane&quot;"});AoPS.Community.categories[8].items.push({item_id : 2977946,item_text : "2022 AIME Problems",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "AIME Problems 2022"});AoPS.Community.categories[8].items.push({item_id : 3004467,item_text : "2022 BAMO",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Problems from the 2022 BAMO-12 and BAMO-8 exams"});AoPS.Community.categories[8].items.push({item_id : 3003199,item_text : "2022 Brazil EGMO TST",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "EGMO Team Selection Test for Brazil 2022"});AoPS.Community.categories[8].items.push({item_id : 3016176,item_text : "2022 Bulgarian Spring Math Competition",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : ""});AoPS.Community.categories[8].items.push({item_id : 3012255,item_text : "2022 Canada National Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Canada National Olympiad 2022"});AoPS.Community.categories[8].items.push({item_id : 3012254,item_text : "2022 Canadian Junior Mathematical Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "CJMO - Canadian Junior Mathematical Olympiad 2022"});AoPS.Community.categories[8].items.push({item_id : 3009744,item_text : "2022 Caucasus Mathematical Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "VII Caucasus Mathematical Olympiad"});AoPS.Community.categories[8].items.push({item_id : 2742261,item_text : "2022 China National Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "China National Olympiad 22"});AoPS.Community.categories[8].items.push({item_id : 3014889,item_text : "2022 China Team Selection Test",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "China Team Selection Test 2022"});AoPS.Community.categories[8].items.push({item_id : 3012505,item_text : "2022 CMIMC",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Problems from the CMIMC 2022"});AoPS.Community.categories[8].items.push({item_id : 2995570,item_text : "2022 Cyprus JBMO TST",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : ""});AoPS.Community.categories[8].items.push({item_id : 2995676,item_text : "2022 Cyprus TST",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : ""});AoPS.Community.categories[8].items.push({item_id : 2431474,item_text : "2022 DIME",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Problems from the 2022 DIME (9/17/2021 - 12/31/2021)"});AoPS.Community.categories[8].items.push({item_id : 3016625,item_text : "2022 District Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "District Olympiad 2022"});AoPS.Community.categories[8].items.push({item_id : 2986892,item_text : "2022 EGMO TST - Romania",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "EGMO TST - Romania 2022"});AoPS.Community.categories[8].items.push({item_id : 3001576,item_text : "2022 Girls in Math at Yale",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : ""});AoPS.Community.categories[8].items.push({item_id : 3001273,item_text : "2022 Greece Junior Math Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "2021-22"});AoPS.Community.categories[8].items.push({item_id : 3000111,item_text : "2022 Greece National Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Greece National Olympiad 2022"});AoPS.Community.categories[8].items.push({item_id : 3010099,item_text : "2022 Harvard-MIT Mathematics Tournament",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Harvard-MIT Mathematics Tournament 2022"});AoPS.Community.categories[8].items.push({item_id : 2690929,item_text : "2022 ICMC",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "ICMC 2021-2022"});AoPS.Community.categories[8].items.push({item_id : 3006124,item_text : "2022 India National Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "India National Olympiad 2022"});AoPS.Community.categories[8].items.push({item_id : 2742268,item_text : "2022 Indonesia TST",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Indonesia IMO TST"});AoPS.Community.categories[8].items.push({item_id : 2992870,item_text : "2022 International Zhautykov Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "International Zhautykov Olympiad 2022"});AoPS.Community.categories[8].items.push({item_id : 3007444,item_text : "2022 IOQM India",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Indian Olympiad Qualifier in Mathematics"});AoPS.Community.categories[8].items.push({item_id : 2991639,item_text : "2022 Japan Junior MO Finals",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "JJMO Final Round 2022"});AoPS.Community.categories[8].items.push({item_id : 2991663,item_text : "2022 Japan Junior MO Preliminary",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : ""});AoPS.Community.categories[8].items.push({item_id : 2991653,item_text : "2022 Japan Mathematical Olympiad Preliminary",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Japan Mathematical Olympiad Preliminary 2022"});AoPS.Community.categories[8].items.push({item_id : 2991652,item_text : "2022 Japan MO Finals",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Japan MO Finals 2022"});AoPS.Community.categories[8].items.push({item_id : 3010662,item_text : "2022 JBMO TST - Turkey",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "JBMO TST - Turkey 2022"});AoPS.Community.categories[8].items.push({item_id : 2883098,item_text : "2022 Kyiv City MO Round 1",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Problems from the first round of Kyiv Mathematical Olympiad 2022"});AoPS.Community.categories[8].items.push({item_id : 2908206,item_text : "2022 Kyiv City MO Round 2",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Problems from the second round of Kyiv Mathematical Olympiad 2022"});AoPS.Community.categories[8].items.push({item_id : 3012070,item_text : "2022 Philippine MO",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Mathematical Olympiad 2022"});AoPS.Community.categories[8].items.push({item_id : 2984414,item_text : "2022 Poland - Second Round",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Second Round - Poland 2022"});AoPS.Community.categories[8].items.push({item_id : 3005618,item_text : "2022 Sharygin Geometry Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Sharygin Geometry Olympiad 2022"});AoPS.Community.categories[8].items.push({item_id : 2994643,item_text : "2022 Taiwan Mathematics Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : ""});AoPS.Community.categories[8].items.push({item_id : 3010935,item_text : "2022 Turkey EGMO TST",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Turkey EGMO TST 2022"});AoPS.Community.categories[8].items.push({item_id : 3010153,item_text : "2022 Turkey Team Selection Test",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Turkey Team Selection Test 2022"});AoPS.Community.categories[8].items.push({item_id : 3015327,item_text : "2022 USAJMO",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "USAJMO 2022"});AoPS.Community.categories[8].items.push({item_id : 3015506,item_text : "2022 USAMO -",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "USAMO 2022"});AoPS.Community.categories[8].items.push({item_id : 3016098,item_text : "2022 Utah Mathematical Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Utah Mathematical Olympiad 2022"});AoPS.Community.categories[8].items.push({item_id : 3004917,item_text : "2022 Vietnam National Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "VMO 2022"});AoPS.Community.categories[9] = {category_id : 2,category_name : "AoPS Collection",num_topics : 0,num_posts : 0,main_color : "#356CB5",secondary_color : "#dae7f6",num_users : 1,short_description : "",long_description : "",item_sort_type : "manual",category_type : "folder",has_source : false,has_halp : false,is_monitored : false,is_locked : true,has_announcements : false,has_thanks : false,has_nothanks : false,include_in_count : false,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : false};
AoPS.Community.categories[9].items = [];AoPS.Community.categories[9].items.push({item_id : 3,item_text : "Middle School Math ",item_forum_id : 0,item_type : "forum",item_main_color : "#f90",item_secondary_color : "#fff5d4"
,item_subtitle : "Grades 5-8, Ages 10-13, MATHCOUNTS, AMC 8"});AoPS.Community.categories[9].items.push({item_id : 4,item_text : "High School Math",item_forum_id : 0,item_type : "forum",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
,item_subtitle : "Grades 9-12, Ages 13-18"});AoPS.Community.categories[9].items.push({item_id : 5,item_text : "Contests & Programs",item_forum_id : 0,item_type : "forum",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
,item_subtitle : "AMC and other contests, summer programs, etc."});AoPS.Community.categories[9].items.push({item_id : 6,item_text : "High School Olympiads",item_forum_id : 0,item_type : "forum",item_main_color : "#029386",item_secondary_color : "#e1fff2"
,item_subtitle : "Regional, national, and international math olympiads"});AoPS.Community.categories[9].items.push({item_id : 7,item_text : "College Math",item_forum_id : 0,item_type : "forum",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
,item_subtitle : "Topics in undergraduate and graduate studies"});AoPS.Community.categories[9].items.push({item_id : 10,item_text : "Site Support",item_forum_id : 0,item_type : "forum",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
,item_subtitle : "Tech support and questions about AoPS classes and materials"});AoPS.Community.categories[9].items.push({item_id : 11,item_text : "AoPS Forums",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Forums for AoPS books, courses, and other resources."});AoPS.Community.categories[9].items.push({item_id : 13,item_text : "Contest Collections",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Collections of competitions from around the world."});AoPS.Community.categories[9].items.push({item_id : 9,item_text : "Other Forums",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Games, local and regional communities, and user-created forums."});AoPS.Community.categories[9].items.push({item_id : 12,item_text : "Special Collections",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Collections of forums, tags, topics, and posts from the AoPS community."});AoPS.Community.categories[9].no_more_items=true;AoPS.Community.categories[10] = {category_id : 11,category_name : "AoPS Forums",num_topics : 412,num_posts : 34141,main_color : "#356CB5",secondary_color : "#dae7f6",num_users : 33,short_description : "Forums for AoPS books, courses, and other resources.",long_description : "COPY NEEDED",item_sort_type : "manual",category_type : "folder",has_source : false,has_halp : false,is_monitored : false,is_locked : true,has_announcements : false,has_thanks : false,has_nothanks : false,include_in_count : false,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : false};
AoPS.Community.categories[10].items = [];AoPS.Community.categories[10].items.push({item_id : 70,item_text : "AoPS Online Classes",item_forum_id : 0,item_type : "forum",item_main_color : "#009fad",item_secondary_color : "#cdeef1"
,item_subtitle : "Questions and information about AoPS classes"});AoPS.Community.categories[10].items.push({item_id : 71,item_text : "AoPS Books",item_forum_id : 0,item_type : "forum",item_main_color : "#008345",item_secondary_color : "#ddedcd"
,item_subtitle : "Questions and information about AoPS books"});AoPS.Community.categories[10].items.push({item_id : 63,item_text : "Alcumus",item_forum_id : 0,item_type : "forum",item_main_color : "#1F3D7B",item_secondary_color : "#D9E3F9"
,item_subtitle : "The free AoPS online learning system"});AoPS.Community.categories[10].items.push({item_id : 50,item_text : "For the Win! Problem Discussion",item_forum_id : 0,item_type : "forum",item_main_color : "#1F3D7B",item_secondary_color : "#D9E3F9"
,item_subtitle : "Discussion of problems found on For the Win!"});AoPS.Community.categories[10].items.push({item_id : 101841,item_text : "MATHCOUNTS Trainer",item_forum_id : 0,item_type : "forum",item_main_color : "#1f3d7b",item_secondary_color : "#d9e3f9"
,item_subtitle : "Discuss the AoPS MATHCOUNTS Trainer"});AoPS.Community.categories[10].items.push({item_id : 64,item_text : "AoPS Videos",item_forum_id : 0,item_type : "forum",item_main_color : "#1F3D7B",item_secondary_color : "#D9E3F9"
,item_subtitle : "AoPS Videos from the AoPS Resources pages"});AoPS.Community.categories[10].items.push({item_id : 1105845,item_text : "Keep Learning",item_forum_id : 0,item_type : "forum",item_main_color : "#1F3D7B",item_secondary_color : "#D9E3F9"
,item_subtitle : "Resources for users at home during the COVID-19 crisis"});AoPS.Community.categories[10].items.push({item_id : 797193,item_text : "Graph Coloring",item_forum_id : 0,item_type : "forum",item_main_color : "#1F3D7B",item_secondary_color : "#D9E3F9"
,item_subtitle : "CrowdMath project forum"});AoPS.Community.categories[10].items.push({item_id : 66,item_text : "AoPS Blogs Discussions",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Creating, using, and styling blogs on AoPS"});AoPS.Community.categories[10].items.push({item_id : 65,item_text : "AoPS Wiki Discussions",item_forum_id : 0,item_type : "forum",item_main_color : "#1F3D7B",item_secondary_color : "#D9E3F9"
,item_subtitle : "Content and operation of the AoPS Wiki"});AoPS.Community.categories[10].items.push({item_id : 68,item_text : "LaTeX and Asymptote",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Mathematical typesetting with LaTeX and Asymptote"});AoPS.Community.categories[10].items.push({item_id : 67,item_text : "Test Forum",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Test forum features here; all posts are temporary"});AoPS.Community.categories[10].no_more_items=true;AoPS.Community.categories[11] = {category_id : 12,category_name : "Special Collections",num_topics : 0,num_posts : 0,main_color : "#356CB5",secondary_color : "#dae7f6",num_users : 1,short_description : "Collections of forums, tags, topics, and posts from the AoPS community.",long_description : "Create a new collection on your <a data-cmty href='/community/my-aops'><span class='aops-font'>A</span>My AoPS</a> page.",item_sort_type : "manual",category_type : "folder_collections",has_source : false,has_halp : false,is_monitored : false,is_locked : true,has_announcements : false,has_thanks : false,has_nothanks : false,include_in_count : false,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : false};
AoPS.Community.categories[11].items = [];AoPS.Community.categories[11].items.push({item_id : 8,item_text : "Games Forums",item_forum_id : 0,item_type : "folder",item_main_color : "#c20078",item_secondary_color : "#ffe3ff"
,item_subtitle : "FTW, Mafia, video games, etc."});AoPS.Community.categories[11].items.push({item_id : 21,item_text : "Sciences",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Chemistry, physics, biology, and other sciences."});AoPS.Community.categories[11].items.push({item_id : 89,item_text : "AoPS Olympiad & College Portal",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Customized for Olympiad & College students "});AoPS.Community.categories[11].items.push({item_id : 46,item_text : "Other Interests",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Current events, music, arts, etc."});AoPS.Community.categories[11].items.push({item_id : 72,item_text : "Contest Forums",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Forums for specific contests"});AoPS.Community.categories[11].items.push({item_id : 73,item_text : "Summer Program Forums",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Forums for specific summer programs"});AoPS.Community.categories[11].items.push({item_id : 30,item_text : "Olympiad Classic View",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "High School Olympiads in the old AoPS style"});AoPS.Community.categories[11].items.push({item_id : 31,item_text : "College Classic View",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "College Math in the old AoPS style"});AoPS.Community.categories[11].items.push({item_id : 24,item_text : "Communities Around the World",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Local and National Communities around the World"});AoPS.Community.categories[11].items.push({item_id : 74,item_text : "New Forums",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Public forums created in the last month"});AoPS.Community.categories[11].items.push({item_id : 88,item_text : "AoPS Blogroll",item_forum_id : 0,item_type : "blogroll",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "User-created blogs"});AoPS.Community.categories[11].items.push({item_id : 105,item_text : "Other Collections",item_forum_id : 0,item_type : "folder_collections",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "User-created collections."});AoPS.Community.categories[11].items.push({item_id : 106,item_text : "New Collections",item_forum_id : 0,item_type : "folder_collections",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "New user-created collections."});AoPS.Community.categories[11].items.push({item_id : 51,item_text : "After High School",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Discussions about college and careers"});AoPS.Community.categories[11].items.push({item_id : 20,item_text : "Publications",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Forums for specific books and journals"});AoPS.Community.categories[11].no_more_items=true;AoPS.Community.categories[12] = {category_id : 13,category_name : "Contest Collections",num_topics : 0,num_posts : 0,main_color : "#356CB5",secondary_color : "#dae7f6",num_users : 1,short_description : "Collections of competitions from around the world.",long_description : "",item_sort_type : "manual",category_type : "folder",has_source : false,has_halp : false,is_monitored : false,is_locked : true,has_announcements : false,has_thanks : false,has_nothanks : false,include_in_count : false,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : false};
AoPS.Community.categories[12].items = [];AoPS.Community.categories[12].items.push({item_id : 14,item_text : "International Contests",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "International competitions"});AoPS.Community.categories[12].items.push({item_id : 16,item_text : "National and Regional Contests",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "National and regional competitions"});AoPS.Community.categories[12].items.push({item_id : 15,item_text : "Undergraduate Contests",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Collegiate competitions"});AoPS.Community.categories[12].items.push({item_id : 58,item_text : "National Olympiads",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "National math olympiads from around the world"});AoPS.Community.categories[12].items.push({item_id : 59,item_text : "Team Selection Tests",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "IMO Team Selection Tests"});AoPS.Community.categories[12].items.push({item_id : 62,item_text : "Junior Olympiads",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Junior olympiads from around the world"});AoPS.Community.categories[12].items.push({item_id : 2958087,item_text : "2022 Contests",item_forum_id : 0,item_type : "folder",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Contests in the 2021-22 school year"});AoPS.Community.categories[12].items.push({item_id : 1964313,item_text : "2021 Contests",item_forum_id : 0,item_type : "folder",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Contests in the 2020-21 school year"});AoPS.Community.categories[12].items.push({item_id : 934345,item_text : "2020 Contests",item_forum_id : 0,item_type : "folder",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Contests in the 2019-20 school year"});AoPS.Community.categories[12].items.push({item_id : 801582,item_text : "2019 Contests",item_forum_id : 0,item_type : "folder",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Contests in the 2018-19 school year"});AoPS.Community.categories[12].items.push({item_id : 116,item_text : "New Post Collections",item_forum_id : 0,item_type : "folder_collections",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "New contests and other new collections of posts"});AoPS.Community.categories[12].items.push({item_id : 40244,item_text : "Contest Collections Discussion",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "For sets of contest problems to and requests for the Contest Collections"});AoPS.Community.categories[12].no_more_items=true;AoPS.Community.categories[13] = {category_id : 30,category_name : "Olympiad Classic View",num_topics : 0,num_posts : 0,main_color : "#356CB5",secondary_color : "#dae7f6",num_users : 1,short_description : "High School Olympiads in the old AoPS style",long_description : "",item_sort_type : "manual",category_type : "folder",has_source : false,has_halp : false,is_monitored : false,is_locked : true,has_announcements : false,has_thanks : false,has_nothanks : false,include_in_count : false,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : false};
AoPS.Community.categories[13].items = [];AoPS.Community.categories[13].items.push({item_id : 32,item_text : "Olympiad Algebra",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Algebra discussions in the High School Olympiads forum"});AoPS.Community.categories[13].items.push({item_id : 33,item_text : "Olympiad Combinatorics",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Combinatorics discussions in the High School Olympiads forum"});AoPS.Community.categories[13].items.push({item_id : 36,item_text : "Olympiad Geometry",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Geometry discussions in the High School Olympiads forum"});AoPS.Community.categories[13].items.push({item_id : 34,item_text : "Olympiad Inequalities",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Inequalities discussions in the High School Olympiads forum"});AoPS.Community.categories[13].items.push({item_id : 35,item_text : "Olympiad Number Theory",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Number Theory discussions in the High School Olympiads forum"});AoPS.Community.categories[13].items.push({item_id : 37,item_text : "Contests and Problem Sets",item_forum_id : 0,item_type : "view_tags",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "IMO, other contest, and problem sets"});AoPS.Community.categories[13].items.push({item_id : 13188,item_text : "Olympiad Articles",item_forum_id : 0,item_type : "view_topics",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "The equivalent of the old Olympiad Articles forum, for student-written articles as well as discussion of articles from outside sources. Please post your article in one of the forums and then PM a mod/admin of this collection to add it."});AoPS.Community.categories[13].no_more_items=true;AoPS.Community.categories[14] = {category_id : 31,category_name : "College Classic View",num_topics : 0,num_posts : 0,main_color : "#356CB5",secondary_color : "#dae7f6",num_users : 0,short_description : "College Math in the old AoPS style",long_description : "",item_sort_type : "manual",category_type : "folder",has_source : false,has_halp : false,is_monitored : false,is_locked : true,has_announcements : false,has_thanks : false,has_nothanks : false,include_in_count : false,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : false};
AoPS.Community.categories[14].items = [];AoPS.Community.categories[14].items.push({item_id : 38,item_text : "Calculus - Real Analysis",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Calculus and real analysis discussions in the College Math forum"});AoPS.Community.categories[14].items.push({item_id : 39,item_text : "Linear Algebra",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Linear algebra discussions in the College Math forum"});AoPS.Community.categories[14].items.push({item_id : 40,item_text : "Superior Algebra",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Superior algebra discussions in the College Math forum"});AoPS.Community.categories[14].items.push({item_id : 41,item_text : "Complex Analysis",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Complex analysis discussions in the College Math forum"});AoPS.Community.categories[14].items.push({item_id : 42,item_text : "Collegiate Advanced Fields",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Advanced collegiate fields discussions in the College Math forum"});AoPS.Community.categories[14].items.push({item_id : 44,item_text : "Probability and Stats",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Probability and statistics discussions in the College Math forum"});AoPS.Community.categories[14].items.push({item_id : 45,item_text : "Topology",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Topology discussions in the College Math forum"});AoPS.Community.categories[14].items.push({item_id : 43,item_text : "College Contests & Research",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "College contests and research discussions in the College Math forum"});AoPS.Community.categories[14].no_more_items=true;AoPS.Community.categories[15] = {category_id : 89,category_name : "AoPS Olympiad & College Portal",num_topics : 0,num_posts : 0,main_color : "#356CB5",secondary_color : "#dae7f6",num_users : 1,short_description : "Customized for Olympiad & College students ",long_description : "Customized for Olympiad & College students ",item_sort_type : "manual",category_type : "folder",has_source : false,has_halp : false,is_monitored : false,is_locked : true,has_announcements : false,has_thanks : false,has_nothanks : false,include_in_count : false,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : false};
AoPS.Community.categories[15].items = [];AoPS.Community.categories[15].items.push({item_id : 6,item_text : "High School Olympiads",item_forum_id : 0,item_type : "forum",item_main_color : "#029386",item_secondary_color : "#e1fff2"
,item_subtitle : "Regional, national, and international math olympiads"});AoPS.Community.categories[15].items.push({item_id : 7,item_text : "College Math",item_forum_id : 0,item_type : "forum",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
,item_subtitle : "Topics in undergraduate and graduate studies"});AoPS.Community.categories[15].items.push({item_id : 90,item_text : "Problem of the Day",item_forum_id : 0,item_type : "view_posts",item_main_color : "#990000",item_secondary_color : "#FFDADA"
,item_subtitle : "2007 Argentina Team Selection Test"});AoPS.Community.categories[15].items.push({item_id : 91,item_text : "Contest of the Week",item_forum_id : 0,item_type : "view_posts",item_main_color : "#990000",item_secondary_color : "#FFDADA"
,item_subtitle : "2014 EGMO"});AoPS.Community.categories[15].items.push({item_id : 10,item_text : "Site Support",item_forum_id : 0,item_type : "forum",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
,item_subtitle : "Tech support and questions about AoPS classes and materials"});AoPS.Community.categories[15].items.push({item_id : 11,item_text : "AoPS Forums",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Forums for AoPS books, courses, and other resources."});AoPS.Community.categories[15].items.push({item_id : 13,item_text : "Contests",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Collections of competitions from around the world."});AoPS.Community.categories[15].items.push({item_id : 30,item_text : "Olympiad Classic View",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "High School Olympiads in the old AoPS style"});AoPS.Community.categories[15].items.push({item_id : 31,item_text : "College Classic View",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "College Math in the old AoPS style"});AoPS.Community.categories[15].items.push({item_id : 9,item_text : "Other Forums",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Games, local and regional communities, and user-created forums."});AoPS.Community.categories[15].items.push({item_id : 12,item_text : "Special Collections",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Collections of forums, tags, topics, and posts from the AoPS community."});AoPS.Community.categories[15].items.push({item_id : 2958087,item_text : "2022 Contests",item_forum_id : 0,item_type : "folder",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Contests in the 2021-22 school year"});AoPS.Community.categories[15].no_more_items=true;AoPS.Community.categories[16] = {category_id : 90,category_name : "Problem of the Day",num_topics : 0,num_posts : 0,main_color : "#990000",secondary_color : "#FFDADA",num_users : 1,short_description : "2007 Argentina Team Selection Test",long_description : "",item_sort_type : "manual",category_type : "view_posts",has_source : false,has_halp : false,is_monitored : false,is_locked : true,has_announcements : false,has_thanks : false,has_nothanks : false,include_in_count : false,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : false};
AoPS.Community.categories[16].items = [];AoPS.Community.categories[16].items.push({item_id : 1614224,item_text : "",item_forum_id : 1,item_type : "post",item_main_color : "",item_secondary_color : ""
,post_data : {"post_id":1614224,"post_type":"forum","topic_id":298034,"poster_id":44461,"post_rendered":"Let <img src=\"\/\/latex.artofproblemsolving.com\/7\/a\/6\/7a69b356c30dc0e6e574aa607ed8c0387b2e3720.png\" class=\"latex\" alt=\"$ d_1,d_2 \\ldots, d_r$\" style=\"vertical-align: -3px\" width=\"93\" height=\"16\" > be the positive divisors of <img src=\"\/\/latex.artofproblemsolving.com\/6\/d\/3\/6d3f8b726378d5420223c5cb14b10f24b202b187.png\" class=\"latex\" alt=\"$ n$\" width=\"10\" height=\"8\" ><br>\n<img src=\"\/\/latex.artofproblemsolving.com\/5\/a\/2\/5a2aea46e629a76c8360a499b552b8955a77350c.png\" class=\"latex\" alt=\"$ 1=d_1&lt;d_2&lt; \\ldots &lt;d_r=n$\" style=\"vertical-align: -2px\" width=\"212\" height=\"15\" ><br>\nIf <img src=\"\/\/latex.artofproblemsolving.com\/f\/f\/d\/ffde4cc95e45408e3dce494dff344b293458f751.png\" class=\"latex\" alt=\"$ (d_7)^2 + (d_{15})^2= (d_{16})^2$\" style=\"vertical-align: -4px\" width=\"173\" height=\"19\" > find all posible values of <img src=\"\/\/latex.artofproblemsolving.com\/6\/7\/3\/673b4cd3225107602230080c50d1f27924cb8e4b.png\" class=\"latex\" alt=\"$ d_{17}$\" style=\"vertical-align: -2px\" width=\"22\" height=\"15\" >","post_canonical":"Let $ d_1,d_2 \\ldots, d_r$ be the positive divisors of $ n$\r\n$ 1\\equal{}d_1<d_2< \\ldots <d_r\\equal{}n$\r\nIf $ (d_7)^2 \\plus{} (d_{15})^2\\equal{} (d_{16})^2$ find all posible values of $ d_{17}$","username":"lambruscokid","post_number":1,"post_format":"bbcode","category_name":"High School Olympiads","category_id":6,"poster_avatar":"\/\/avatar.artofproblemsolving.com\/no-avatar.png"}});
AoPS.Community.categories[16].no_more_items=true;

View File

@ -0,0 +1 @@
.community-background-color .round-dropdown:before{content:"";color:#009fad;cursor:default;font-size:16px;-webkit-transform:none;transform:none}.cmty-search-bar-icon{position:absolute;color:#009fad;cursor:pointer;font-size:16px;-webkit-transform:none;transform:none;right:10px;font-family:AoPS}.cmty-main-crumb-search{width:238px;color:#009fad;background-color:#fff}.cmty-main-crumb-search input{width:222px;clear:both;padding:0;height:20px;border:none;border-radius:0;background-color:transparent}.cmty-main-crumb-search input:focus{outline:0}.header-user-data-bottom a{margin-right:5px}.header-box .cmty-icon-w-text:hover{border-bottom:1px solid #fff}.header-community .header-user-data-bottom a:hover{text-decoration:none}#community-panel .aops-icon{font-size:16px;padding-right:2px;font-family:AoPS}@media (max-width:800px){.cmty-phone-hide{display:none!important}}@media (max-width:930px){.header-user-data-bottom a:nth-child(3){display:none}}@media (max-width:767px){.cmty-main-crumb-search{width:550px}.cmty-main-crumb-search input{width:538px}}@media (max-width:650px){.cmty-main-crumb-search{width:450px}.cmty-main-crumb-search input{width:438px}}@media (max-width:550px){.cmty-main-crumb-search{width:350px}.cmty-main-crumb-search input{width:338px}}@media (max-width:450px){.cmty-main-crumb-search{width:236px}.cmty-main-crumb-search input{width:220px}}@media (max-width:400px){.cmty-main-crumb-search{width:216px}.cmty-main-crumb-search input{width:200px}#community-panel .cmty-category-cell-number{font-size:12px}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,388 @@
/*
* The MIT License
* Copyright (c) 2012 Matias Meno <m@tias.me>
*/
@-webkit-keyframes passing-through {
0% {
opacity: 0;
-webkit-transform: translateY(40px);
-moz-transform: translateY(40px);
-ms-transform: translateY(40px);
-o-transform: translateY(40px);
transform: translateY(40px); }
30%, 70% {
opacity: 1;
-webkit-transform: translateY(0px);
-moz-transform: translateY(0px);
-ms-transform: translateY(0px);
-o-transform: translateY(0px);
transform: translateY(0px); }
100% {
opacity: 0;
-webkit-transform: translateY(-40px);
-moz-transform: translateY(-40px);
-ms-transform: translateY(-40px);
-o-transform: translateY(-40px);
transform: translateY(-40px); } }
@-moz-keyframes passing-through {
0% {
opacity: 0;
-webkit-transform: translateY(40px);
-moz-transform: translateY(40px);
-ms-transform: translateY(40px);
-o-transform: translateY(40px);
transform: translateY(40px); }
30%, 70% {
opacity: 1;
-webkit-transform: translateY(0px);
-moz-transform: translateY(0px);
-ms-transform: translateY(0px);
-o-transform: translateY(0px);
transform: translateY(0px); }
100% {
opacity: 0;
-webkit-transform: translateY(-40px);
-moz-transform: translateY(-40px);
-ms-transform: translateY(-40px);
-o-transform: translateY(-40px);
transform: translateY(-40px); } }
@keyframes passing-through {
0% {
opacity: 0;
-webkit-transform: translateY(40px);
-moz-transform: translateY(40px);
-ms-transform: translateY(40px);
-o-transform: translateY(40px);
transform: translateY(40px); }
30%, 70% {
opacity: 1;
-webkit-transform: translateY(0px);
-moz-transform: translateY(0px);
-ms-transform: translateY(0px);
-o-transform: translateY(0px);
transform: translateY(0px); }
100% {
opacity: 0;
-webkit-transform: translateY(-40px);
-moz-transform: translateY(-40px);
-ms-transform: translateY(-40px);
-o-transform: translateY(-40px);
transform: translateY(-40px); } }
@-webkit-keyframes slide-in {
0% {
opacity: 0;
-webkit-transform: translateY(40px);
-moz-transform: translateY(40px);
-ms-transform: translateY(40px);
-o-transform: translateY(40px);
transform: translateY(40px); }
30% {
opacity: 1;
-webkit-transform: translateY(0px);
-moz-transform: translateY(0px);
-ms-transform: translateY(0px);
-o-transform: translateY(0px);
transform: translateY(0px); } }
@-moz-keyframes slide-in {
0% {
opacity: 0;
-webkit-transform: translateY(40px);
-moz-transform: translateY(40px);
-ms-transform: translateY(40px);
-o-transform: translateY(40px);
transform: translateY(40px); }
30% {
opacity: 1;
-webkit-transform: translateY(0px);
-moz-transform: translateY(0px);
-ms-transform: translateY(0px);
-o-transform: translateY(0px);
transform: translateY(0px); } }
@keyframes slide-in {
0% {
opacity: 0;
-webkit-transform: translateY(40px);
-moz-transform: translateY(40px);
-ms-transform: translateY(40px);
-o-transform: translateY(40px);
transform: translateY(40px); }
30% {
opacity: 1;
-webkit-transform: translateY(0px);
-moz-transform: translateY(0px);
-ms-transform: translateY(0px);
-o-transform: translateY(0px);
transform: translateY(0px); } }
@-webkit-keyframes pulse {
0% {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1); }
10% {
-webkit-transform: scale(1.1);
-moz-transform: scale(1.1);
-ms-transform: scale(1.1);
-o-transform: scale(1.1);
transform: scale(1.1); }
20% {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1); } }
@-moz-keyframes pulse {
0% {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1); }
10% {
-webkit-transform: scale(1.1);
-moz-transform: scale(1.1);
-ms-transform: scale(1.1);
-o-transform: scale(1.1);
transform: scale(1.1); }
20% {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1); } }
@keyframes pulse {
0% {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1); }
10% {
-webkit-transform: scale(1.1);
-moz-transform: scale(1.1);
-ms-transform: scale(1.1);
-o-transform: scale(1.1);
transform: scale(1.1); }
20% {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1); } }
.dropzone, .dropzone * {
box-sizing: border-box; }
.dropzone {
min-height: 150px;
border: 2px solid rgba(0, 0, 0, 0.3);
background: white;
padding: 20px 20px; }
.dropzone.dz-clickable {
cursor: pointer; }
.dropzone.dz-clickable * {
cursor: default; }
.dropzone.dz-clickable .dz-message, .dropzone.dz-clickable .dz-message * {
cursor: pointer; }
.dropzone.dz-started .dz-message {
display: none; }
.dropzone.dz-drag-hover {
border-style: solid; }
.dropzone.dz-drag-hover .dz-message {
opacity: 0.5; }
.dropzone .dz-message {
text-align: center;
margin: 2em 0; }
.dropzone .dz-preview {
position: relative;
display: inline-block;
vertical-align: top;
margin: 16px;
min-height: 100px; }
.dropzone .dz-preview:hover {
z-index: 1000; }
.dropzone .dz-preview:hover .dz-details {
opacity: 1; }
.dropzone .dz-preview.dz-file-preview .dz-image {
border-radius: 20px;
background: #999;
background: linear-gradient(to bottom, #eee, #ddd); }
.dropzone .dz-preview.dz-file-preview .dz-details {
opacity: 1; }
.dropzone .dz-preview.dz-image-preview {
background: white; }
.dropzone .dz-preview.dz-image-preview .dz-details {
-webkit-transition: opacity 0.2s linear;
-moz-transition: opacity 0.2s linear;
-ms-transition: opacity 0.2s linear;
-o-transition: opacity 0.2s linear;
transition: opacity 0.2s linear; }
.dropzone .dz-preview .dz-remove {
font-size: 14px;
text-align: center;
display: block;
cursor: pointer;
border: none; }
.dropzone .dz-preview .dz-remove:hover {
text-decoration: underline; }
.dropzone .dz-preview:hover .dz-details {
opacity: 1; }
.dropzone .dz-preview .dz-details {
z-index: 20;
position: absolute;
top: 0;
left: 0;
opacity: 0;
font-size: 13px;
min-width: 100%;
max-width: 100%;
padding: 2em 1em;
text-align: center;
color: rgba(0, 0, 0, 0.9);
line-height: 150%; }
.dropzone .dz-preview .dz-details .dz-size {
margin-bottom: 1em;
font-size: 16px; }
.dropzone .dz-preview .dz-details .dz-filename {
white-space: nowrap; }
.dropzone .dz-preview .dz-details .dz-filename:hover span {
border: 1px solid rgba(200, 200, 200, 0.8);
background-color: rgba(255, 255, 255, 0.8); }
.dropzone .dz-preview .dz-details .dz-filename:not(:hover) {
overflow: hidden;
text-overflow: ellipsis; }
.dropzone .dz-preview .dz-details .dz-filename:not(:hover) span {
border: 1px solid transparent; }
.dropzone .dz-preview .dz-details .dz-filename span, .dropzone .dz-preview .dz-details .dz-size span {
background-color: rgba(255, 255, 255, 0.4);
padding: 0 0.4em;
border-radius: 3px; }
.dropzone .dz-preview:hover .dz-image img {
-webkit-transform: scale(1.05, 1.05);
-moz-transform: scale(1.05, 1.05);
-ms-transform: scale(1.05, 1.05);
-o-transform: scale(1.05, 1.05);
transform: scale(1.05, 1.05);
-webkit-filter: blur(8px);
filter: blur(8px); }
.dropzone .dz-preview .dz-image {
border-radius: 20px;
overflow: hidden;
width: 120px;
height: 120px;
position: relative;
display: block;
z-index: 10; }
.dropzone .dz-preview .dz-image img {
display: block; }
.dropzone .dz-preview.dz-success .dz-success-mark {
-webkit-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
-moz-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
-ms-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
-o-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1); }
.dropzone .dz-preview.dz-error .dz-error-mark {
opacity: 1;
-webkit-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
-moz-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
-ms-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
-o-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1); }
.dropzone .dz-preview .dz-success-mark, .dropzone .dz-preview .dz-error-mark {
pointer-events: none;
opacity: 0;
z-index: 500;
position: absolute;
display: block;
top: 50%;
left: 50%;
margin-left: -27px;
margin-top: -27px; }
.dropzone .dz-preview .dz-success-mark svg, .dropzone .dz-preview .dz-error-mark svg {
display: block;
width: 54px;
height: 54px; }
.dropzone .dz-preview.dz-processing .dz-progress {
opacity: 1;
-webkit-transition: all 0.2s linear;
-moz-transition: all 0.2s linear;
-ms-transition: all 0.2s linear;
-o-transition: all 0.2s linear;
transition: all 0.2s linear; }
.dropzone .dz-preview.dz-complete .dz-progress {
opacity: 0;
-webkit-transition: opacity 0.4s ease-in;
-moz-transition: opacity 0.4s ease-in;
-ms-transition: opacity 0.4s ease-in;
-o-transition: opacity 0.4s ease-in;
transition: opacity 0.4s ease-in; }
.dropzone .dz-preview:not(.dz-processing) .dz-progress {
-webkit-animation: pulse 6s ease infinite;
-moz-animation: pulse 6s ease infinite;
-ms-animation: pulse 6s ease infinite;
-o-animation: pulse 6s ease infinite;
animation: pulse 6s ease infinite; }
.dropzone .dz-preview .dz-progress {
opacity: 1;
z-index: 1000;
pointer-events: none;
position: absolute;
height: 16px;
left: 50%;
top: 50%;
margin-top: -8px;
width: 80px;
margin-left: -40px;
background: rgba(255, 255, 255, 0.9);
-webkit-transform: scale(1);
border-radius: 8px;
overflow: hidden; }
.dropzone .dz-preview .dz-progress .dz-upload {
background: #333;
background: linear-gradient(to bottom, #666, #444);
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 0;
-webkit-transition: width 300ms ease-in-out;
-moz-transition: width 300ms ease-in-out;
-ms-transition: width 300ms ease-in-out;
-o-transition: width 300ms ease-in-out;
transition: width 300ms ease-in-out; }
.dropzone .dz-preview.dz-error .dz-error-message {
display: block; }
.dropzone .dz-preview.dz-error:hover .dz-error-message {
opacity: 1;
pointer-events: auto; }
.dropzone .dz-preview .dz-error-message {
pointer-events: none;
z-index: 1000;
position: absolute;
display: block;
display: none;
opacity: 0;
-webkit-transition: opacity 0.3s ease;
-moz-transition: opacity 0.3s ease;
-ms-transition: opacity 0.3s ease;
-o-transition: opacity 0.3s ease;
transition: opacity 0.3s ease;
border-radius: 8px;
font-size: 13px;
top: 130px;
left: -10px;
width: 140px;
background: #be2626;
background: linear-gradient(to bottom, #be2626, #a92222);
padding: 0.5em 1.2em;
color: white; }
.dropzone .dz-preview .dz-error-message:after {
content: '';
position: absolute;
top: -6px;
left: 64px;
width: 0;
height: 0;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-bottom: 6px solid #be2626; }

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,35 @@
/* Copies a lot of ba-html-modal styles from ba repo */
.aops-html-modal-epic-fail {
position: absolute;
position: fixed;
top: 0;
width: 100%;
height: 100%;
background-color: #000000;
background-color: rgba(0, 0, 0, 0.5);
z-index: 1000000;
/* header is 99999, need to exceed that */
}
.aops-html-modal-inner-epic-fail {
width: 30%;
min-width: 200px;
margin: auto;
margin-top: 220px;
background-color: #ffffff;
border: 5px solid #c0c0c0;
font-size: 18px;
color: #606060;
text-align: center;
line-height: 140%;
}
.aops-html-modal-main-epic-fail {
padding: 30px 20px;
}
.aops-html-modal-bottom-epic-fail {
border-top: 1px solid #ddd;
background-color: #efefef;
padding: 10px;
}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,125 @@
/*
#navigation_box {
background-color : #20458c !important;
border-bottom : 1px dashed #fff !important;
padding : 2px 2px 3px !important;
font-size : 10pt !important;
display : block !important;
font-family : Arial !important;
height : 22px !important;
line-height : 14px !important;
position : absolute !important;
border-top : 0px !important;
border-right : 0px !important;
border-left : 0px !important;
-webkit-border-radius : 0px important;
left : 0 !important;
top : 0 !important;
z-index : 900000 !important;
width : 100% !important;
margin : 0 !important;
}
#wrapper {
z-index : 1 !important;
}
#navigation_box a {
color : #fff !important;
font-size : 10pt !important;
display : inline-block !important;
font-family : Arial !important;
line-height : 14px !important;
border : none !important;
margin : 0 !important;
padding : 0 !important;
}
#left_navigation_box {
float : left !important ;
text-align : left !important;
color : white !important;
width : auto;
font-size : 11pt !important;
display : block !important;
font-family : Arial !important;
margin : 0 !important;
padding : 0 !important;
position : relative !important;
left : 0 !important;
top : 0 !important;
height : 22px !important;
line-height : 14px !important;
border : none !important;
}
#right_navigation_box {
float : right !important;
text-align : right !important;
width : auto !important;
color : white !important;
font-size : 11pt !important;
position : relative !important;
display : block !important;
font-family : Arial !important;
height : 22px !important;
right : 0 !important;
margin : 0 !important;
padding : 0 !important;
top : 0 !important;
line-height : 14px !important;
border : none !important;
}
*/
/* Start deleted post */
.cmty-post-is-deleted .commentwrap {
display: none !important;
background-color: #ddd !important;
}
.cmty-post-is-deleted .modactions {
display: none !important;
}
.cmty-post-is-deleted .cmty-post-deleted-info {
display: block !important;
}
.cmty-deleted-info-post-open {
display: none !important;
}
.cmty-post-deleted-info {
position: relative !important;
width: 100% !important;
background-color: #fff !important;
padding: 5px !important;
}
.cmty-undelete-post {
float: right !important;
}
.cmty-post-deleted-open .commentwrap {
display: block !important;
}
.cmty-post-deleted-open .cmty-deleted-info-post-closed {
display: none !important;
}
.cmty-post-deleted-open .cmty-deleted-info-post-open {
display: block !important;
}
/* End deleted post */
@media (max-width: 480px), (max-height: 480px) {
a.blog-info {
display: none !important;
}
}

View File

@ -0,0 +1,630 @@
input,
select,
textarea {
border: 1px solid #d0d0d0;
font-family: "Roboto", sans-serif;
font-size: 13px;
}
button,
input[type="reset"],
input[type="button"],
input[type="submit"] {
padding: 0 6px;
text-align: center;
white-space: pre;
}
.deleted {
background-color: #a19ca6;
}
.foe {
background-color: #ff6600;
}
.num_replies {
float: right;
}
.no_blogs {
text-align: center;
font-size: 1.3em;
font-weight: bold;
}
#replies {
text-align: center;
margin-top: 15px;
}
/**
* Left menu
*/
#left_menu {
width: 240px;
vertical-align: top;
}
#blog_searchform {
color: #ffffff;
margin-top: 5px;
white-space: nowrap;
}
/**
* Standard CSS
*/
body {
font-size: 11pt;
font-family: Arial;
text-align: center;
margin: 0;
padding: 0;
display: block;
background-image: none;
background-color: transparent;
}
textarea {
padding: 5px;
line-height: 1.4em;
}
.inputbox {
width: 100%;
}
a:hover {
color: #376fc0;
text-decoration: underline;
}
a:visited {
color: #0066cc;
text-decoration: none;
}
a:link {
color: #2188e0;
text-decoration: none;
}
.cmty-post-username a:link,
.cmty-post-username a:visited {
color: black;
}
h1 {
display: block;
font-weight: normal;
letter-spacing: 1px;
margin: 0;
font-size: 16pt;
}
a h1:hover {
text-decoration: underline;
}
h2 {
color: #0066cc;
font-size: 10pt;
font-weight: normal;
margin: 0;
}
img {
border: 0 none;
max-width: 100%;
}
#wrapper {
background: white url(/m/community/img/blogs/hyperion/bg.png) repeat-y scroll
right center;
border-bottom: 1px solid #bcbcbc;
border-left: 1px solid #bcbcbc;
border-right: 1px solid #bcbcbc;
margin-left: auto;
margin-right: auto;
padding: 0 2px 2px;
text-align: center;
width: 800px;
}
#header {
background: #efefef none repeat scroll 0 0;
clear: both;
font-family: Tahoma;
font-size: 5em;
line-height: 1.5em;
height: auto;
width: auto;
overflow: auto;
vertical-align: middle;
white-space: nowrap;
border-top: 5px solid #cccccc;
border-bottom: 5px solid #cccccc;
z-index: 1;
}
#main {
width: 530px;
padding: 5px;
float: left;
}
div#header h1 {
text-align: center;
}
#content {
text-align: left;
}
div.entry {
border-bottom: 1px dashed #cccccc;
margin-top: 1em;
overflow-y: visible;
padding-bottom: 1em;
}
div.entry h1 {
padding: 0.1em;
overflow: hidden;
}
div .entrywrap,
div .entrywrap-hover {
background-color: #dedede;
border: 1px solid black;
margin: 0.5em;
overflow-y: visible;
padding: 0.5em;
height: 99%;
position: relative;
}
#navigation_box {
background-color: #006699;
border-bottom: 1px dashed #fff;
padding: 2px 2px 3px;
}
#navigation_box a {
color: #fff;
}
#left_navigation_box {
float: left;
text-align: left;
width: auto;
}
#right_navigation_box {
float: right;
text-align: right;
width: auto;
}
div.comment {
clear: both;
}
div.actions {
float: left;
font-size: 10px;
padding: 0.5em;
text-align: left;
}
div.modactions {
float: right;
font-size: 10px;
padding: 0.5em 0 0;
text-align: right;
}
div.cfooter div.actions {
padding: 0;
}
div.modactions ul,
div.actions ul {
border: medium none;
display: inline;
list-style-image: none;
list-style-position: outside;
list-style-type: square;
margin-left: 0;
padding-left: 0;
}
div.modactions ul li,
div.actions ul li {
border: medium none;
display: inline;
margin-left: 0;
margin-top: 0.2em;
/*padding : 0.2em 0.5em 0;NEW-REMOVE*/
}
div.modactions ul li a,
div.actions ul li a {
display: inline;
text-decoration: underline;
}
div.comment {
border-bottom: 1px solid #ccc;
margin-top: 1em;
overflow: auto;
/*padding-bottom : 1em;NEW-REMOVED */
}
div.commentwrap {
height: auto;
overflow: auto;
padding: 0.5em 0.5em 0 0.5em;
width: 97%;
position: relative;
/*margin : 0 auto 10px auto; NEW-REMOVED*/
}
input.helpline {
display: none;
}
.clear {
clear: both;
}
fieldset.admin dt {
border-right: 1px solid #ccc;
float: left;
padding-top: 3px;
text-align: left;
width: 45%;
}
fieldset.admin dd {
border: none;
margin: 0 0 0 45%;
padding: 0 0 0 5px;
vertical-align: top;
}
#side {
float: right;
line-height: 1.4em;
margin: 0;
padding: 5px;
width: 258px;
}
#side .block {
clear: both;
padding: 1em 0;
}
#side .widget {
margin-bottom: 2em;
}
.widget-title {
font-size: 13px;
font-weight: bold;
padding-bottom: 2px;
}
fieldset {
border: 2px groove threedface;
display: block;
background-color: transparent;
margin: 0 2px;
padding: 0; /*0.35em 0.625em 0.75em;/* this was commented out once */
}
fieldset ul {
list-style-image: none;
list-style-position: outside;
list-style-type: none;
margin: 0;
padding: 0;
}
.row1 {
background-color: #f9f9f9;
}
.row2 {
background-color: #f0f0f0;
}
fieldset.submit-buttons {
text-align: center;
}
div.quotetitle,
div.quotecontent {
background-color: #ebeadd;
border-right: 1px solid #dbdbce;
border-left: 1px solid #dbdbce;
}
div.quotecontent {
border-bottom: 1px solid #dbdbce;
}
div.quotetitle {
border-top: 1px solid #dbdbce;
font-weight: bold;
}
ul.cats li {
font-size: 8pt;
line-height: 24px;
}
img.latexcenter {
display: block;
margin: auto;
text-align: center;
}
.hidden-label {
color: blue;
text-decoration: underline;
cursor: pointer;
}
#blog-errors {
margin: 1em;
border: 2px solid #800;
background-color: #eee;
font-size: 16px;
}
div.post-tags {
margin: 5px 0;
font-weight: bold;
}
a:link.post-tag,
a:visited.post-tag {
font-weight: normal;
}
/** New material **/
/** Loader for when stuff is being fetched from the server **/
.blog-loader {
background: url(/assets/images/logo-ludicrous.gif) center center no-repeat;
width: 100%;
height: 40px;
}
/** Start scrollbars in the side panel **/
.blog-scroll-outer {
width: 100%;
height: 100%;
left: 0px;
padding: 0.35em 0.625em 0.75em;
}
.blog-scroll-outer .aops-scroll-inner {
width: calc(100% + 26px);
width: -webkit-calc(100% + 26px);
}
.blog-scroll-outer .aops-scroll-content {
width: 221px;
}
.blog-scroll-outer .aops-scroll-bar {
right: 7px;
height: calc(100% - 1.1em);
height: -webkit-calc(100% - 1.1em);
}
/** End scrollbars in the side panel **/
/** Start archive stuff in the side panel **/
.archive-month {
font-size: 10pt;
}
.archive-month-header {
cursor: pointer;
}
.archive-row {
padding-bottom: 2px;
padding-left: 39px;
text-indent: -24px;
overflow: hidden;
}
.archive-month-collapsed {
display: none;
}
/** Start shoutbox stuff **/
#shouts-widget fieldset.blog-shout-wrapper {
height: 400px; /* Height of the shoutbox */
}
.blog-shout-wrapper .aops-scroll-content {
width: 208px;
}
.blog-shout .aops-icon {
font-size: 16px;
color: #990000;
margin-right: 6px;
cursor: pointer;
}
#shouts-widget ul {
-webkit-margin-before: 0;
-webkit-padding-start: 0;
display: block;
margin-top: -7px;
}
#shouts-widget li {
padding: 0 3px;
overflow-x: hidden;
}
#message {
width: 247px;
height: 100px;
margin: 0 2px 2px 2px;
}
#shout-helper {
display: none;
}
#submit {
float: right;
cursor: pointer;
}
/** End Shoutbox stuff **/
/** Reply window sizing **/
.blog-reply-window .cmty-posting-box-container textarea {
height: 400px;
}
.blog-reply-window .cmty-post-preview {
height: auto;
border: 1px solid #aaa;
}
.blog-reply-window .cmty-bbcode-list,
.blog-reply-window .cmty-bbcode-text-size {
display: none;
}
/** End reply window CSS **/
/** Shows that there is a reported post **/
.blog-report-indicator {
position: absolute;
right: 4px;
top: 4px;
}
/** Sidebar Tag box Start **/
#side .cmty-itembox {
height: 300px;
}
.blog-tags-wrapper .blog-scroll-outer {
padding-left: 0.25em;
}
.blog-tags-wrapper .blog-scroll-outer .aops-scroll-content {
padding-right: 0px;
width: 213px;
}
/** Sidebar Tag box end **/
/** Topic Tags start **/
.entry .cmty-tags-itembox-wrapper {
margin-top: 5px;
position: relative;
}
.entry .cmty-items-input-box input {
margin: 4px 0 0 3px;
padding-left: 4px;
}
/** Topic Tags end **/
/* Prevents mega-wide images from blowing up the window.*/
.message {
overflow: auto;
}
#navigation_box {
background-color: #1b365d;
border-bottom: 1px dashed #fff;
padding: 2px 2px 3px;
font-size: 10pt;
display: block;
font-family: Arial;
height: 22px;
line-height: 14px;
position: absolute;
border-top: 0px;
border-right: 0px;
border-left: 0px;
-webkit-border-radius: 0px important;
left: 0;
top: 0;
z-index: 900000;
width: 100%;
margin: 0;
}
#wrapper {
z-index: 1;
}
#navigation_box a {
color: #fff;
font-size: 10pt;
display: inline-block;
font-family: Arial;
line-height: 14px;
border: none;
margin: 0;
padding: 0;
}
#left_navigation_box {
float: left;
text-align: left;
color: white;
width: auto;
font-size: 11pt;
display: block;
font-family: Arial;
margin: 0;
padding: 0;
position: relative;
left: 0;
top: 0;
height: 22px;
line-height: 14px;
border: none;
}
#right_navigation_box {
float: right;
text-align: right;
width: auto;
color: white;
font-size: 11pt;
position: relative;
display: block;
font-family: Arial;
height: 22px;
right: 0;
margin: 0;
padding: 0;
top: 0;
line-height: 14px;
border: none;
}
#page_error_window {
padding-top: 25px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 B

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,543 @@
/*
* Jeditable - jQuery in place edit plugin
*
* Copyright (c) 2006-2009 Mika Tuupola, Dylan Verheul
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* Project home:
* http://www.appelsiini.net/projects/jeditable
*
* Based on editable by Dylan Verheul <dylan_at_dyve.net>:
* http://www.dyve.net/jquery/?editable
*
*/
/**
* Version 1.7.1
*
* ** means there is basic unit tests for this parameter.
*
* @name Jeditable
* @type jQuery
* @param String target (POST) URL or function to send edited content to **
* @param Hash options additional options
* @param String options[method] method to use to send edited content (POST or PUT) **
* @param Function options[callback] Function to run after submitting edited content **
* @param String options[name] POST parameter name of edited content
* @param String options[id] POST parameter name of edited div id
* @param Hash options[submitdata] Extra parameters to send when submitting edited content.
* @param String options[type] text, textarea or select (or any 3rd party input type) **
* @param Integer options[rows] number of rows if using textarea **
* @param Integer options[cols] number of columns if using textarea **
* @param Mixed options[height] 'auto', 'none' or height in pixels **
* @param Mixed options[width] 'auto', 'none' or width in pixels **
* @param String options[loadurl] URL to fetch input content before editing **
* @param String options[loadtype] Request type for load url. Should be GET or POST.
* @param String options[loadtext] Text to display while loading external content.
* @param Mixed options[loaddata] Extra parameters to pass when fetching content before editing.
* @param Mixed options[data] Or content given as paramameter. String or function.**
* @param String options[indicator] indicator html to show when saving
* @param String options[tooltip] optional tooltip text via title attribute **
* @param String options[event] jQuery event such as 'click' of 'dblclick' **
* @param String options[submit] submit button value, empty means no button **
* @param String options[cancel] cancel button value, empty means no button **
* @param String options[cssclass] CSS class to apply to input form. 'inherit' to copy from parent. **
* @param String options[style] Style to apply to input form 'inherit' to copy from parent. **
* @param String options[select] true or false, when true text is highlighted ??
* @param String options[placeholder] Placeholder text or html to insert when element is empty. **
* @param String options[onblur] 'cancel', 'submit', 'ignore' or function ??
*
* @param Function options[onsubmit] function(settings, original) { ... } called before submit
* @param Function options[onreset] function(settings, original) { ... } called before reset
* @param Function options[onerror] function(settings, original, xhr) { ... } called on error
*
* @param Hash options[ajaxoptions] jQuery Ajax options. See docs.jquery.com.
*
*/
(function($) {
$.fn.editable = function(target, options) {
if ('disable' == target) {
$(this).data('disabled.editable', true);
return;
}
if ('enable' == target) {
$(this).data('disabled.editable', false);
return;
}
if ('destroy' == target) {
$(this)
.unbind($(this).data('event.editable'))
.removeData('disabled.editable')
.removeData('event.editable');
return;
}
var settings = $.extend({}, $.fn.editable.defaults, {target:target}, options);
/* setup some functions */
var plugin = $.editable.types[settings.type].plugin || function() { };
var submit = $.editable.types[settings.type].submit || function() { };
var buttons = $.editable.types[settings.type].buttons
|| $.editable.types['defaults'].buttons;
var content = $.editable.types[settings.type].content
|| $.editable.types['defaults'].content;
var element = $.editable.types[settings.type].element
|| $.editable.types['defaults'].element;
var reset = $.editable.types[settings.type].reset
|| $.editable.types['defaults'].reset;
var callback = settings.callback || function() { };
var onedit = settings.onedit || function() { };
var onsubmit = settings.onsubmit || function() { };
var onreset = settings.onreset || function() { };
var onerror = settings.onerror || reset;
/* show tooltip */
if (settings.tooltip) {
$(this).attr('title', settings.tooltip);
}
settings.autowidth = 'auto' == settings.width;
settings.autoheight = 'auto' == settings.height;
return this.each(function() {
/* save this to self because this changes when scope changes */
var self = this;
/* inlined block elements lose their width and height after first edit */
/* save them for later use as workaround */
var savedwidth = $(self).width();
var savedheight = $(self).height();
/* save so it can be later used by $.editable('destroy') */
$(this).data('event.editable', settings.event);
/* if element is empty add something clickable (if requested) */
if (!$.trim($(this).html())) {
$(this).html(settings.placeholder);
}
$(this).bind(settings.event, function(e) {
/* abort if disabled for this element */
if (true === $(this).data('disabled.editable')) {
return;
}
/* prevent throwing an exeption if edit field is clicked again */
if (self.editing) {
return;
}
/* abort if onedit hook returns false */
if (false === onedit.apply(this, [settings, self])) {
return;
}
/* prevent default action and bubbling */
e.preventDefault();
e.stopPropagation();
/* remove tooltip */
if (settings.tooltip) {
$(self).removeAttr('title');
}
/* figure out how wide and tall we are, saved width and height */
/* are workaround for http://dev.jquery.com/ticket/2190 */
if (0 == $(self).width()) {
//$(self).css('visibility', 'hidden');
settings.width = savedwidth;
settings.height = savedheight;
} else {
if (settings.width != 'none') {
settings.width =
settings.autowidth ? $(self).width() : settings.width;
}
if (settings.height != 'none') {
settings.height =
settings.autoheight ? $(self).height() : settings.height;
}
}
//$(this).css('visibility', '');
/* remove placeholder text, replace is here because of IE */
if ($(this).html().toLowerCase().replace(/(;|")/g, '') ==
settings.placeholder.toLowerCase().replace(/(;|")/g, '')) {
$(this).html('');
}
self.editing = true;
self.revert = $(self).html();
$(self).html('');
/* create the form object */
var form = $('<form />');
/* apply css or style or both */
if (settings.cssclass) {
if ('inherit' == settings.cssclass) {
form.attr('class', $(self).attr('class'));
} else {
form.attr('class', settings.cssclass);
}
}
if (settings.style) {
if ('inherit' == settings.style) {
form.attr('style', $(self).attr('style'));
/* IE needs the second line or display wont be inherited */
form.css('display', $(self).css('display'));
} else {
form.attr('style', settings.style);
}
}
/* add main input element to form and store it in input */
var input = element.apply(form, [settings, self]);
/* set input content via POST, GET, given data or existing value */
var input_content;
if (settings.loadurl) {
var t = setTimeout(function() {
input.disabled = true;
content.apply(form, [settings.loadtext, settings, self]);
}, 100);
var loaddata = {};
loaddata[settings.id] = self.id;
if ($.isFunction(settings.loaddata)) {
$.extend(loaddata, settings.loaddata.apply(self, [self.revert, settings]));
} else {
$.extend(loaddata, settings.loaddata);
}
$.ajax({
type : settings.loadtype,
url : settings.loadurl,
data : loaddata,
async : false,
success: function(result) {
window.clearTimeout(t);
input_content = result;
input.disabled = false;
}
});
} else if (settings.data) {
input_content = settings.data;
if ($.isFunction(settings.data)) {
input_content = settings.data.apply(self, [self.revert, settings]);
}
} else {
input_content = self.revert;
}
content.apply(form, [input_content, settings, self]);
input.attr('name', settings.name);
/* add buttons to the form */
buttons.apply(form, [settings, self]);
/* add created form to self */
$(self).append(form);
/* attach 3rd party plugin if requested */
plugin.apply(form, [settings, self]);
/* focus to first visible form element */
$(':input:visible:enabled:first', form).focus();
/* highlight input contents when requested */
if (settings.select) {
input.select();
}
/* discard changes if pressing esc */
input.keydown(function(e) {
if (e.keyCode == 27) {
e.preventDefault();
//self.reset();
reset.apply(form, [settings, self]);
}
});
/* discard, submit or nothing with changes when clicking outside */
/* do nothing is usable when navigating with tab */
var t;
if ('cancel' == settings.onblur) {
input.blur(function(e) {
/* prevent canceling if submit was clicked */
t = setTimeout(function() {
reset.apply(form, [settings, self]);
}, 500);
});
} else if ('submit' == settings.onblur) {
input.blur(function(e) {
/* prevent double submit if submit was clicked */
t = setTimeout(function() {
form.submit();
}, 200);
});
} else if ($.isFunction(settings.onblur)) {
input.blur(function(e) {
settings.onblur.apply(self, [input.val(), settings]);
});
} else {
input.blur(function(e) {
/* TODO: maybe something here */
});
}
form.submit(function(e) {
if (t) {
clearTimeout(t);
}
/* do no submit */
e.preventDefault();
/* call before submit hook. */
/* if it returns false abort submitting */
if (false !== onsubmit.apply(form, [settings, self])) {
/* custom inputs call before submit hook. */
/* if it returns false abort submitting */
if (false !== submit.apply(form, [settings, self])) {
/* check if given target is function */
if ($.isFunction(settings.target)) {
var str = settings.target.apply(self, [input.val(), settings]);
$(self).html(str);
self.editing = false;
callback.apply(self, [self.innerHTML, settings]);
/* TODO: this is not dry */
if (!$.trim($(self).html())) {
$(self).html(settings.placeholder);
}
} else {
/* add edited content and id of edited element to POST */
var submitdata = {};
submitdata[settings.name] = input.val();
submitdata[settings.id] = self.id;
/* add extra data to be POST:ed */
if ($.isFunction(settings.submitdata)) {
$.extend(submitdata, settings.submitdata.apply(self, [self.revert, settings]));
} else {
$.extend(submitdata, settings.submitdata);
}
/* quick and dirty PUT support */
if ('PUT' == settings.method) {
submitdata['_method'] = 'put';
}
/* show the saving indicator */
$(self).html(settings.indicator);
/* defaults for ajaxoptions */
var ajaxoptions = {
type : 'POST',
data : submitdata,
dataType: 'html',
url : settings.target,
success : function(result, status) {
if (ajaxoptions.dataType == 'html') {
$(self).html(result);
}
self.editing = false;
callback.apply(self, [result, settings]);
if (!$.trim($(self).html())) {
$(self).html(settings.placeholder);
}
},
error : function(xhr, status, error) {
onerror.apply(form, [settings, self, xhr]);
}
};
/* override with what is given in settings.ajaxoptions */
$.extend(ajaxoptions, settings.ajaxoptions);
$.ajax(ajaxoptions);
}
}
}
/* show tooltip again */
$(self).attr('title', settings.tooltip);
return false;
});
});
/* privileged methods */
this.reset = function(form) {
/* prevent calling reset twice when blurring */
if (this.editing) {
/* before reset hook, if it returns false abort reseting */
if (false !== onreset.apply(form, [settings, self])) {
$(self).html(self.revert);
self.editing = false;
if (!$.trim($(self).html())) {
$(self).html(settings.placeholder);
}
/* show tooltip again */
if (settings.tooltip) {
$(self).attr('title', settings.tooltip);
}
}
}
};
});
};
$.editable = {
types: {
defaults: {
element : function(settings, original) {
var input = $('<input type="hidden"></input>');
$(this).append(input);
return(input);
},
content : function(string, settings, original) {
$(':input:first', this).val(string);
},
reset : function(settings, original) {
original.reset(this);
},
buttons : function(settings, original) {
var form = this;
if (settings.submit) {
/* if given html string use that */
if (settings.submit.match(/>$/)) {
var submit = $(settings.submit).click(function() {
if (submit.attr("type") != "submit") {
form.submit();
}
});
/* otherwise use button with given string as text */
} else {
var submit = $('<button type="submit" />');
submit.html(settings.submit);
}
$(this).append(submit);
}
if (settings.cancel) {
/* if given html string use that */
if (settings.cancel.match(/>$/)) {
var cancel = $(settings.cancel);
/* otherwise use button with given string as text */
} else {
var cancel = $('<button type="cancel" />');
cancel.html(settings.cancel);
}
$(this).append(cancel);
$(cancel).click(function(event) {
//original.reset();
if ($.isFunction($.editable.types[settings.type].reset)) {
var reset = $.editable.types[settings.type].reset;
} else {
var reset = $.editable.types['defaults'].reset;
}
reset.apply(form, [settings, original]);
return false;
});
}
}
},
text: {
element : function(settings, original) {
var input = $('<input />');
if (settings.width != 'none') { input.width(settings.width); }
if (settings.height != 'none') { input.height(settings.height); }
/* https://bugzilla.mozilla.org/show_bug.cgi?id=236791 */
//input[0].setAttribute('autocomplete','off');
input.attr('autocomplete','off');
$(this).append(input);
return(input);
}
},
textarea: {
element : function(settings, original) {
var textarea = $('<textarea />');
if (settings.rows) {
textarea.attr('rows', settings.rows);
} else if (settings.height != "none") {
textarea.height(settings.height);
}
if (settings.cols) {
textarea.attr('cols', settings.cols);
} else if (settings.width != "none") {
textarea.width(settings.width);
}
$(this).append(textarea);
return(textarea);
}
},
select: {
element : function(settings, original) {
var select = $('<select />');
$(this).append(select);
return(select);
},
content : function(data, settings, original) {
/* If it is string assume it is json. */
if (String == data.constructor) {
eval ('var json = ' + data);
} else {
/* Otherwise assume it is a hash already. */
var json = data;
}
for (var key in json) {
if (!json.hasOwnProperty(key)) {
continue;
}
if ('selected' == key) {
continue;
}
var option = $('<option />').val(key).append(json[key]);
$('select', this).append(option);
}
/* Loop option again to set selected. IE needed this... */
$('select', this).children().each(function() {
if ($(this).val() == json['selected'] ||
$(this).text() == $.trim(original.revert)) {
$(this).attr('selected', 'selected');
}
});
}
}
},
/* Add new input type */
addInputType: function(name, input) {
$.editable.types[name] = input;
}
};
// publicly accessible defaults
$.fn.editable.defaults = {
name : 'value',
id : 'id',
type : 'text',
width : 'auto',
height : 'auto',
event : 'click.editable',
onblur : 'cancel',
loadtype : 'GET',
loadtext : 'Loading...',
placeholder: 'Click to edit',
loaddata : {},
submitdata : {},
ajaxoptions: {}
};
})(jQuery);

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B

View File

@ -0,0 +1,3 @@
/* Polyfill service v3.111.0
* Disable minification (remove `.min` from URL path) for more info */

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,407 @@
(function () {
if (typeof self === 'undefined' || !self.Prism || !self.document || !document.createElement) {
return;
}
// The dependencies map is built automatically with gulp
var lang_dependencies = /*dependencies_placeholder[*/{
"javascript": "clike",
"actionscript": "javascript",
"arduino": "cpp",
"aspnet": [
"markup",
"csharp"
],
"bison": "c",
"c": "clike",
"csharp": "clike",
"cpp": "c",
"coffeescript": "javascript",
"crystal": "ruby",
"css-extras": "css",
"d": "clike",
"dart": "clike",
"django": "markup-templating",
"ejs": [
"javascript",
"markup-templating"
],
"etlua": [
"lua",
"markup-templating"
],
"erb": [
"ruby",
"markup-templating"
],
"fsharp": "clike",
"firestore-security-rules": "clike",
"flow": "javascript",
"ftl": "markup-templating",
"glsl": "clike",
"gml": "clike",
"go": "clike",
"groovy": "clike",
"haml": "ruby",
"handlebars": "markup-templating",
"haxe": "clike",
"java": "clike",
"javadoc": [
"markup",
"java",
"javadoclike"
],
"jolie": "clike",
"jsdoc": [
"javascript",
"javadoclike"
],
"js-extras": "javascript",
"js-templates": "javascript",
"jsonp": "json",
"json5": "json",
"kotlin": "clike",
"latte": [
"clike",
"markup-templating",
"php"
],
"less": "css",
"lilypond": "scheme",
"markdown": "markup",
"markup-templating": "markup",
"n4js": "javascript",
"nginx": "clike",
"objectivec": "c",
"opencl": "cpp",
"parser": "markup",
"php": [
"clike",
"markup-templating"
],
"phpdoc": [
"php",
"javadoclike"
],
"php-extras": "php",
"plsql": "sql",
"processing": "clike",
"protobuf": "clike",
"pug": [
"markup",
"javascript"
],
"qml": "javascript",
"qore": "clike",
"jsx": [
"markup",
"javascript"
],
"tsx": [
"jsx",
"typescript"
],
"reason": "clike",
"ruby": "clike",
"sass": "css",
"scss": "css",
"scala": "java",
"shell-session": "bash",
"smarty": "markup-templating",
"solidity": "clike",
"soy": "markup-templating",
"sparql": "turtle",
"sqf": "clike",
"swift": "clike",
"tap": "yaml",
"textile": "markup",
"tt2": [
"clike",
"markup-templating"
],
"twig": "markup",
"typescript": "javascript",
"t4-cs": [
"t4-templating",
"csharp"
],
"t4-vb": [
"t4-templating",
"visual-basic"
],
"vala": "clike",
"vbnet": "basic",
"velocity": "markup",
"wiki": "markup",
"xeora": "markup",
"xquery": "markup"
}/*]*/;
var lang_aliases = /*aliases_placeholder[*/{
"html": "markup",
"xml": "markup",
"svg": "markup",
"mathml": "markup",
"js": "javascript",
"g4": "antlr4",
"adoc": "asciidoc",
"shell": "bash",
"rbnf": "bnf",
"cs": "csharp",
"dotnet": "csharp",
"coffee": "coffeescript",
"jinja2": "django",
"dns-zone": "dns-zone-file",
"dockerfile": "docker",
"gamemakerlanguage": "gml",
"hs": "haskell",
"tex": "latex",
"context": "latex",
"ly": "lilypond",
"emacs": "lisp",
"elisp": "lisp",
"emacs-lisp": "lisp",
"md": "markdown",
"moon": "moonscript",
"n4jsd": "n4js",
"objectpascal": "pascal",
"px": "pcaxis",
"py": "python",
"robot": "robotframework",
"rb": "ruby",
"rq": "sparql",
"trig": "turtle",
"ts": "typescript",
"t4": "t4-cs",
"vb": "visual-basic",
"xeoracube": "xeora",
"yml": "yaml"
}/*]*/;
/**
* @typedef LangDataItem
* @property {{ success?: () => void, error?: () => void }[]} callbacks
* @property {boolean} [error]
* @property {boolean} [loading]
*/
/** @type {Object<string, LangDataItem>} */
var lang_data = {};
var ignored_language = 'none';
var languages_path = 'components/';
var script = Prism.util.currentScript();
if (script) {
var autoloaderFile = /\bplugins\/autoloader\/prism-autoloader\.(?:min\.)js$/i;
var prismFile = /[\w-]+\.(?:min\.)js$/i;
if (script.hasAttribute('data-autoloader-path')) {
// data-autoloader-path is set, so just use it
languages_path = script.getAttribute('data-autoloader-path').trim().replace(/\/?$/, '/');
} else {
var src = script.src;
if (autoloaderFile.test(src)) {
// the script is the original autoloader script in the usual Prism project structure
languages_path = src.replace(autoloaderFile, 'components/');
} else if (prismFile.test(src)) {
// the script is part of a bundle like a custom prism.js from the download page
languages_path = src.replace(prismFile, 'components/');
}
}
}
var config = Prism.plugins.autoloader = {
languages_path: languages_path,
use_minified: true,
loadLanguages: loadLanguages
};
/**
* Lazily loads an external script.
*
* @param {string} src
* @param {() => void} [success]
* @param {() => void} [error]
*/
function addScript(src, success, error) {
var s = document.createElement('script');
s.src = src;
s.async = true;
s.onload = function () {
document.body.removeChild(s);
success && success();
};
s.onerror = function () {
document.body.removeChild(s);
error && error();
};
document.body.appendChild(s);
}
/**
* Returns the path to a grammar, using the language_path and use_minified config keys.
*
* @param {string} lang
* @returns {string}
*/
function getLanguagePath(lang) {
return config.languages_path +
'prism-' + lang
+ (config.use_minified ? '.min' : '') + '.js'
}
/**
* Tries to load the grammar(s) and once loaded, highlights the given element again.
*
* @param {string} lang
* @param {HTMLElement} elt
*/
function registerElement(lang, elt) {
if (lang in lang_aliases) {
lang = lang_aliases[lang];
}
// Look for additional dependencies defined on the <code> or <pre> tags
var deps = elt.getAttribute('data-dependencies');
var parent = elt.parentElement;
if (!deps && parent && parent.tagName.toLowerCase() === 'pre') {
deps = parent.getAttribute('data-dependencies');
}
if (deps) {
deps = deps.split(/\s*,\s*/g);
} else {
deps = [];
}
loadLanguages(deps, function () {
loadLanguage(lang, function () {
Prism.highlightElement(elt);
});
});
}
/**
* Loads all given grammars concurrently.
*
* @param {string[]|string} languages
* @param {(languages: string[]) => void} [success]
* @param {(language: string) => void} [error] This callback will be invoked on the first language to fail.
*/
function loadLanguages(languages, success, error) {
if (typeof languages === 'string') {
languages = [languages];
}
var total = languages.length;
var completed = 0;
var failed = false;
if (total === 0) {
if (success) {
setTimeout(success, 0);
}
return;
}
function successCallback() {
if (failed) {
return;
}
completed++;
if (completed === total) {
success && success(languages);
}
}
languages.forEach(function (lang) {
loadLanguage(lang, successCallback, function () {
if (failed) {
return;
}
failed = true;
error && error(lang);
});
});
}
/**
* Loads a grammar with its dependencies.
*
* @param {string} lang
* @param {() => void} [success]
* @param {() => void} [error]
*/
function loadLanguage(lang, success, error) {
var force = lang.indexOf('!') >= 0;
lang = lang.replace('!', '');
lang = lang_aliases[lang] || lang;
var load = function () {
var data = lang_data[lang];
if (!data) {
data = lang_data[lang] = {
callbacks: []
};
}
data.callbacks.push({
success: success,
error: error
});
if (!force && Prism.languages[lang]) {
languageCallback(lang, "success");
} else if (!force && data.error) {
languageCallback(lang, "error");
} else if (force || !data.loading) {
data.loading = true;
var src = getLanguagePath(lang);
addScript(src, function () {
data.loading = false;
languageCallback(lang, "success");
}, function () {
data.loading = false;
data.error = true;
languageCallback(lang, "error");
});
}
};
var dependencies = lang_dependencies[lang];
if (dependencies && dependencies.length) {
loadLanguages(dependencies, load, error);
} else {
load();
}
}
/**
* Runs all callbacks of the given type for the given language.
*
* @param {string} lang
* @param {"success" | "error"} type
*/
function languageCallback(lang, type) {
if (lang_data[lang]) {
var callbacks = lang_data[lang].callbacks;
for (var i = 0, l = callbacks.length; i < l; i++) {
var callback = callbacks[i][type];
if (callback) {
setTimeout(callback, 0);
}
}
callbacks.length = 0;
}
}
Prism.hooks.add('complete', function (env) {
if (env.element && env.language && !env.grammar) {
if (env.language !== ignored_language) {
registerElement(env.language, env.element);
}
}
});
}());

View File

@ -0,0 +1,122 @@
/**
* prism.js tomorrow night eighties for JavaScript, CoffeeScript, CSS and HTML
* Based on https://github.com/chriskempson/tomorrow-theme
* @author Rose Pritchard
*/
code[class*="language-"],
pre[class*="language-"] {
color: #ccc;
background: none;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
font-size: 1em;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: .5em 0;
overflow: auto;
}
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
background: #2d2d2d;
}
/* Inline code */
:not(pre) > code[class*="language-"] {
padding: .1em;
border-radius: .3em;
white-space: normal;
}
.token.comment,
.token.block-comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #999;
}
.token.punctuation {
color: #ccc;
}
.token.tag,
.token.attr-name,
.token.namespace,
.token.deleted {
color: #e2777a;
}
.token.function-name {
color: #6196cc;
}
.token.boolean,
.token.number,
.token.function {
color: #f08d49;
}
.token.property,
.token.class-name,
.token.constant,
.token.symbol {
color: #f8c555;
}
.token.selector,
.token.important,
.token.atrule,
.token.keyword,
.token.builtin {
color: #cc99cd;
}
.token.string,
.token.char,
.token.attr-value,
.token.regex,
.token.variable {
color: #7ec699;
}
.token.operator,
.token.entity,
.token.url {
color: #67cdcc;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}
.token.inserted {
color: green;
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,81 @@
@import url("https://fonts.googleapis.com/css?family=VT323:100,200,300,375,400,500,600,700,800,900");
/* Loading bar */
@keyframes loading{
0%{
width: 0px;
top: calc(50vh - 50px);
font-family: VT323;
content: "Loading...";
transition: ease;
text-align: center;
}
75%{
width: 300px;
top: calc(50vh - 50px);
font-family: VT323;
content: "Loading...";
text-align: center;
}
75.1%{
width: 300px;
top: calc(50vh - 50px);
font-family: VT323;
content: "Done!";
text-align: center;
}
85%{
top: calc(50vh - 100px);
width: 300px;
font-family: VT323;
content: "Done!";
text-align: center;
}
100%{
top: calc(150vh - 50px);
width: 300px;
font-family: VT323;
content: "Done!";
text-align: center;
}
}
html::before{
font-family: VT323;
content: "Loading...";
height: 100px;
position: fixed !important;
margin: 0px;
padding: 0px;
top: calc(150vh - 50px);
left: calc(50vw - 150px);
background-color: black;
color: white !important;
line-height: 100px;
white-space: nowrap;
font-size: 50px !important;
z-index: 1000000000 !important;
animation: loading 2s ease !important;
width: 300px !important;
box-shadow: 0px 0px 0px 5px white, 0px 50vw 0px calc(50vw + 50vh - 50px) black, 0px 0px 0px 5px white !important;
/* The box shadow that makes the border is put before and after the background shadow, because of order issues (Firefox displays the first one on top, chrome displays the last one on top) */
display: block !important;
}
html::after{
font-family: VT323;
content: "Loading... please wait";
height: 100px;
width: 0px;
position: fixed !important;
margin: 0px;
padding: 0px;
top: calc(150vh - 50px);
left: calc(50vw - 150px);
background-color: white;
color: black !important;
line-height: 100px;
z-index: 1000000001 !important;
white-space: nowrap;
font-size: 50px !important;
animation: loading 2s ease !important;
overflow: hidden !important;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

View File

@ -0,0 +1,582 @@
/**
* blog_router.js Holds the router for Blogs. It gets the ball rolling once the page is loaded.
*
*/
AoPS.Blog = (function (Blog) {
var Lang = AoPS.Community.Lang,
Constants = AoPS.Community.Constants;
Blog.Router = AoPS.Community.Utils.routerBase.extend({
routes: {
"": "constructAoPSMasterCollection",
},
initialize: function (options) {
var self = this;
this.models = {};
this.models.search_categories = {};
this.models.master = options.master;
// Will this take care of everything?
this.myPage = AoPS.Page.constructPage("wrapper");
this.route(
/((?:c\d+)?(?:t\d+)?(?:f\d+)?(?:h\d+)?(?:p\d+)?(?:s\d+)?)/,
"parseEncodedUrl"
);
this.route(/((?:c\d+)(.*)\/(.*))/, "search");
this.bind("route", this.onFinishRoute);
this.first_pass = true;
// If there is a preloaded topic for directly navigating to a topic on page load,
// then this will be set to the preloaded id when the preloaded data is parsed.
// We then set this back to -1 once the preloaded topic is set as the focus_topic.
// This flag is used to prevent a redundant Ajax call (change_focus_topic) when the topic is built.
this.preloaded_topic_id = -1;
Backbone.on("logged_out", this.onAjaxDetectLogout);
Backbone.on("logged_in", this.onAjaxDetectLogin);
if (AoPS.bootstrap_data.hasOwnProperty("blog_base")) {
this.models.blog = this.models.master.constructNewCategory(
AoPS.bootstrap_data.blog_base
);
// TODO : check that topics exist
_.each(AoPS.bootstrap_data.blog_topics.topics_data, function (topic) {
self.models.master.processPotentialNewTopic(topic, true);
});
if (String(AoPS.bootstrap_data.blog_topics.no_more_topics) === "1") {
this.models.blog.set("all_topics_loaded", true);
}
} else {
// TODO : Throw error, you are in the wrong place.
}
this.models.master.set("focus_category", this.models.blog);
AoPS.Community.Utils.activateLatexOnclick();
$("body").addClass("community");
},
goToTopic: function (args) {
var url = "#";
if (args.hasOwnProperty("category_id")) {
url += "c" + args.category_id;
}
url += "h" + args.topic_id;
this.navigate(url, {
trigger: true,
replace: true, //(args.hasOwnProperty('replace') ? args.replace : false)
});
},
buildBreadcrumbs: function (data) {
var input = '<a href="/community">Community</a> &raquo; ';
input +=
'<a href="/community/c' +
Constants.aops_blogroll_id +
'">Blogs</a> &raquo; '; // TODO : POINT THIS AT THE BLOGS CATEGORY
input +=
'<a data-blog href="/community/c' +
data.blog.category_id +
'">' +
data.blog.name +
"</a>";
if (data.hasOwnProperty("topic")) {
input +=
' &raquo; <a data-blog href="/community/c' +
data.blog.category_id +
"h" +
data.topic.topic_id +
'">' +
data.topic.title +
"</a>";
}
$("#left_navigation_box").html(input);
},
onFinishRoute: function (name, args) {
this.previous_route = name;
if (!this.keep_fullscreen_mode) {
$("body").removeClass("fullscreen");
}
$(window).trigger("resize");
this.keep_fullscreen_mode = false;
},
/**
* Search this blog
*
* @param string of form /c<id>/<encoded search text>
**/
search: function (url) {
var pieces, str, coords, search_settings;
pieces = url.split("/");
if (pieces[1].length === 0) {
this.parseEncodedUrl(pieces[0]);
return;
}
str = pieces[1];
coords = {
category_id: 0,
tag_id: 0,
tag_forum_id: 0,
search_text: str,
is_search: true,
};
if (this.models.search_categories.hasOwnProperty(str)) {
coords.category = this.models.search_categories[str].category;
coords.topic_list = this.models.search_categories[str].topic_list;
} else {
search_settings = {
blog_id: this.models.blog.get("category_id"),
search_text: decodeURIComponent(pieces[1]),
};
coords.category =
this.models.master.buildSearchCategory(search_settings);
this.models.search_categories[str] = {
category: coords.category,
};
}
this.startConstructingPage(coords);
},
/** Start functions for building pages that have ids encoded in URL **/
/**
* parseEncodedUrl parses the url and then routes us to the appropriate function
* to construct the page once we're sure we have some topics to play with.
* (We'll likely handle that "check for some topics" differently when we build the real system.)
*
* @param url: everything after # in the url.
*
*/
parseEncodedUrl: function (url) {
var coords = {
topic: null,
category: null,
};
function extractValueFromUrl(stub, url_in) {
var match_array;
if (_.isNull(url_in)) {
return 0;
}
match_array = url_in.match(new RegExp(stub + "(\\d+)"));
if (_.isNull(match_array)) {
return 0;
} else {
return parseInt(match_array[1]);
}
}
/**
* If we're hitting a category, topic, or post on page load (first_pass through the
* router), then we check the preload_cmty_data property of bootstrap to see if
* there's anything we can preload, and to see if we need to rewrite the url.
*
* There are later url rewrite checks, but they shouldn't ever be triggered.
* I'm leaving them in, in case down the line we introduce ways that users can
* travel down routes missing properties (like topic id with no category id) in
* some way other than the initial page load.
**/
if (this.first_pass) {
if (AoPS.bootstrap_data.hasOwnProperty("preload_cmty_data")) {
this.first_pass = false;
if (this.parsePreloadedData()) {
return;
}
}
}
// Fill coords object from url
_.each(this.url_parameters, function (item) {
coords[item.property] = extractValueFromUrl(item.letter, url);
});
coords.is_search = false;
this.startConstructingPage(coords);
},
startConstructingPage: function (coords) {
this.myPage.clearPage();
this.myPage.showElement({
id: "blog-top",
constructor: _.bind(function () {
return new AoPS.Community.Views.CategoryCellBlogHeading({
model: this.models.blog,
});
}, this),
});
if (coords.is_search) {
if (coords.hasOwnProperty("topic_list")) {
this.prepareBlogFront(coords);
} else {
this.checkTopicListThenContinue(coords);
}
} else if (coords.topic_id > 0) {
this.prepareBlogTopic(coords);
} else {
this.prepareBlogFront(coords);
}
return;
},
/**
* The sidebar and the clearfix are needed everywhere.
**/
finishBuildingPage: function (coords) {
this.myPage.showElement({
id: "blog-sidebar",
constructor: _.bind(function () {
return new AoPS.Community.Views.BlogSidebar({
model: this.models.blog,
});
}, this),
location: "content",
});
this.myPage.showElement({
id: "blog-clearfix",
type: "jQuery_object",
jQuery_object: $('<div class="clear"></div>'),
location: "content",
});
},
prepareBlogTopic: function (coords) {
var self = this;
coords.topic = this.models.master.fetchTopicById(coords.topic_id);
if (_.isNull(coords.topic) && !_.isUndefined(coords.topic)) {
this.listenTo(
this.models.master,
"single_topic_load",
_.bind(function (obj) {
self.myPage.hideLoader();
if (obj.topic_id === coords.topic_id) {
// We found the topic
this.stopListening(this.models.master, "single_topic_load");
if (obj.ok) {
coords.topic = obj.topic;
this.buildBlogTopic(coords);
} else {
// Database fetch failed dues to lack of permissions
if (obj.error_code === "E_NO_PERMISSION") {
if (AoPS.session.logged_in) {
this.throwError(
Lang["router-err-no-topic-perms-logged-in"]
);
} else {
this.throwError(
Lang["router-err-no-topic-perms-logged-out"]
);
}
} else if (obj.error_code === "E_NO_SUCH_TOPIC") {
this.throwError(Lang["router-err-no-topic"]);
}
}
}
}, this)
);
this.myPage.showLoader();
this.models.master.fetchTopicFromDb({
topic_id: coords.topic_id,
});
return;
} else {
// If we have a topic, process all the tags on it (add them to their categories).
this.buildBlogTopic(coords);
return;
}
},
buildBlogTopic: function (coords) {
var topic_page_element,
blog_name = this.models.blog.get("category_name"),
topic_title = coords.topic.get("topic_title");
this.myPage.setTitle(
_.unescape(blog_name) + " : " + _.unescape(topic_title)
);
coords.topic.set("category", this.models.blog);
this.models.master.set("focus_topic", coords.topic, {
suppress_ajax: coords.topic_id === this.preloaded_topic_id,
fetch_all: true,
});
this.preloaded_topic_id = -1;
/**
* If we navigate in the blog to this top, the scrollbar might be set somewhere
* far down the page
**/
$(window).scrollTop(0);
topic_page_element = this.myPage.showElement({
id: "blog-topic-" + coords.topic_id,
constructor: _.bind(function () {
return new AoPS.Community.Views.BlogTopicFull({
model: coords.topic,
post_id: coords.post_id,
});
}, this),
on_add_settings: {
post_id: coords.post_id,
},
location: "content",
});
this.finishBuildingPage(coords);
// Reply triggered
if (coords.state === 3) {
if (coords.topic.getPermission("c_can_reply")) {
topic_page_element.dom_element.trigger("open_reply");
}
}
this.buildBreadcrumbs({
blog: {
category_id: this.models.blog.get("category_id"),
name: blog_name,
},
topic: {
title: topic_title,
topic_id: coords.topic.get("topic_id"),
},
});
},
buildBlogFrontPage: function (coords) {
var topic_list,
blog_name = this.models.blog.get("category_name");
if (coords.hasOwnProperty("topic_list")) {
topic_list = coords.topic_list;
} else {
topic_list = this.models.master.fetchFilteredTopicList({
category: this.models.blog,
category_id: this.models.blog.get("category_id"),
tag_ids: [],
});
if (coords.is_search) {
this.models.search_categories[coords.search_text].topic_list =
topic_list;
}
}
this.myPage.hideLoader();
this.myPage.setTitle(_.unescape(blog_name));
this.myPage.showElement({
id:
"blog-topics" +
coords.tag_id +
(coords.hasOwnProperty("search_text") ? coords.search_text : ""),
constructor: _.bind(function () {
return new AoPS.Community.Views.TopicsListBlog({
collection: topic_list,
blog: this.models.blog,
});
}, this),
location: "content",
});
this.models.master.set("focus_topic", null);
this.buildBreadcrumbs({
blog: {
category_id: this.models.blog.get("category_id"),
name: blog_name,
},
});
this.finishBuildingPage(coords);
},
/***
* Construct the topic list that we use for the page. If the topic list
* has no topics, then we go get some topics before building.
*
* @param coords: settings used to build the page.
*/
checkTopicListThenContinue: function (coords) {
var self = this;
// Construct or fetch the Community.Models.FilteredTopicList that matches
// the set of parameters we seek.
// Gets called twice for topics that are shorn of tags, but we can live with that, I think
// That will be rare. We could do a property check, though. Might be more expensive than it's worth.
coords.topic_list = this.models.master.fetchFilteredTopicList({
category:
coords.hasOwnProperty("category") && !_.isNull(coords.category)
? coords.category
: this.models.blog,
category_id: coords.category_id,
tag_ids:
coords.tag_id > 0
? [
{
tag_id: coords.tag_id,
tag_forum_id: coords.tag_forum_id,
},
]
: [], //currently assumes at most one tag_id.
});
// Not enough topics in this list; I'm gonna get more.
if (
coords.topic_list.length <=
AoPS.Community.Constants.min_topic_list_initial_length &&
!coords.topic_list.all_topics_fetched
) {
this.myPage.showLoader();
coords.topic_list.fetchMoreTopics({
onFinish: _.bind(function () {
this.buildBlogFrontPage(coords);
}, this),
onError: function (data) {
var msg;
if (data.error_code === "E_AJAX_CANCEL") {
return;
}
if (
typeof Lang["initial-fetch-err-" + data.error_code] === "string"
) {
msg = AoPS.Community.Utils.formatString(
Lang["initial-fetch-blog-err-" + data.error_code],
[coords.category_id]
);
console.log(msg);
console.log(coords.category_id);
} else {
msg = Lang["unexpected-error-code"] + data.error_code;
}
// Force page reload after error
$("a[data-blog]").removeAttr("data-blog");
self.throwError(msg);
},
});
} else {
this.buildBlogFrontPage(coords);
}
},
prepareBlogFront: function (coords) {
if (coords.tag_id > 0) {
coords.tag_forum_id = coords.category_id;
this.checkTopicListThenContinue(coords);
} else {
this.buildBlogFrontPage(coords);
}
},
setBreadcrumbs: function (crumbs) {
crumbs = _.map(crumbs, function (crumb) {
crumb.data = "data-cmty";
return crumb;
});
this.myPage.setBreadcrumbs(this.breadcrumb_base.concat(crumbs));
},
onAjaxDetectLogout: function () {
if (!AoPS.login.user_clicked_logout) {
AoPS.Ui.buildLoginConfirm(Lang["unexpected-logout"]);
AoPS.login.onUserAjaxLogout();
}
},
onAjaxDetectLogin: function () {
if (!AoPS.login.user_clicked_login) {
document.location.reload(true);
}
},
onAjaxDetectLoginChange: function () {
//if (
},
});
$(window).load(function () {
var master, app;
master = new AoPS.Community.Models.Master();
app = new Blog.Router({
master: master,
});
$("#page-wrapper").append(app.myPage.el);
Backbone.history.start({
pushState: true,
root: "community",
});
$("a.blog-login").on("click", function (e) {
AoPS.login.display();
e.stopPropagation();
e.preventDefault();
});
$("a.blog-logout").on("click", function (e) {
AoPS.login.logout(e);
e.stopPropagation();
e.preventDefault();
});
$(document).on("click", "a[data-blog]", function (e) {
e.stopPropagation();
e.preventDefault();
Backbone.history.navigate($(this).attr("href").substring(10), {
trigger: true,
});
});
if (AoPS.session.logged_in) {
$("#blog-subscribe").on("click", function (e) {
AoPS.Community.Views.toggleBlogSubscription({
blog: app.models.blog,
user: master.get("current_user"),
});
e.stopPropagation();
e.preventDefault();
});
}
/* FEED MUST COME AFTER Backbone start!*/
// experimenting with delay to let the page render before Feed is built.
// If this seems to work well, we'll want to animate the feed in.
setTimeout(function () {
var feed = new AoPS.Community.Models.Feed({
master: master,
}),
feed_view = new AoPS.Feed.Views.FeedMaster({
model: feed,
});
$("body").append(feed_view.$el);
}, 100);
// console.log('end page ' + (new Date().getTime() - start));
// });
});
return Blog;
})(AoPS.Blog || {});

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 568 B

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,627 @@
/* BASICS */
.CodeMirror {
/* Set height, width, borders, and global font properties here */
font-family: monospace;
height: auto;
}
.CodeMirror-scroll {
/* Set scrolling behaviour here */
overflow-y: hidden;
overflow-x: auto;
}
/* PADDING */
.CodeMirror-lines {
padding: 4px 0; /* Vertical padding around content */
}
.CodeMirror pre {
padding: 0 4px; /* Horizontal padding of content */
}
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
background-color: white; /* The little square between H and V scrollbars */
}
/* GUTTER */
.CodeMirror-gutters {
border-right: 1px solid #ddd;
background-color: #f7f7f7;
white-space: nowrap;
}
.CodeMirror-linenumbers {}
.CodeMirror-linenumber {
padding: 0 3px 0 5px;
min-width: 20px;
text-align: right;
color: #999;
}
/* CURSOR */
.CodeMirror div.CodeMirror-cursor {
border-left: 1px solid black;
z-index: 3;
}
/* Shown when moving in bi-directional text */
.CodeMirror div.CodeMirror-secondarycursor {
border-left: 1px solid silver;
}
.CodeMirror.cm-keymap-fat-cursor div.CodeMirror-cursor {
width: auto;
border: 0;
background: #7e7;
z-index: 1;
}
/* Can style cursor different in overwrite (non-insert) mode */
.CodeMirror div.CodeMirror-cursor.CodeMirror-overwrite {}
.cm-tab { display: inline-block; }
/* DEFAULT THEME */
.cm-s-default .cm-keyword {color: #ff7700;}
.cm-s-default .cm-atom {color: #219;}
.cm-s-default .cm-number {color: #000000;}
.cm-s-default .cm-def {color: #00f;}
.cm-s-default .cm-variable {color: black;}
.cm-s-default .cm-variable-2 {color: #05a;}
.cm-s-default .cm-variable-3 {color: #085;}
.cm-s-default .cm-property {color: black;}
.cm-s-default .cm-operator {color: black;}
.cm-s-default .cm-comment {color: #dd0000;}
.cm-s-default .cm-string {color: #00aa00;}
.cm-s-default .cm-string-2 {color: #f50;}
.cm-s-default .cm-meta {color: #555;}
.cm-s-default .cm-qualifier {color: #555;}
.cm-s-default .cm-builtin {color: #900090;}
.cm-s-default .cm-bracket {color: #997;}
.cm-s-default .cm-tag {color: #170;}
.cm-s-default .cm-attribute {color: #00c;}
.cm-s-default .cm-header {color: blue;}
.cm-s-default .cm-quote {color: #090;}
.cm-s-default .cm-hr {color: #999;}
.cm-s-default .cm-link {color: #00c;}
.cm-negative {color: #d44;}
.cm-positive {color: #292;}
.cm-header, .cm-strong {font-weight: bold;}
.cm-em {font-style: italic;}
.cm-link {text-decoration: underline;}
.cm-s-default .cm-error {color: #f00;}
.cm-invalidchar {color: #f00;}
div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
div.CodeMirror span.CodeMirror-nonmatchingbracket {color: #f22;}
.CodeMirror-activeline-background {background: #e8f2ff;}
/* STOP */
/* The rest of this file contains styles related to the mechanics of
the editor. You probably shouldn't touch them. */
.CodeMirror {
line-height: 1;
position: relative;
overflow: hidden;
background: white;
color: black;
}
.CodeMirror-scroll {
/* 30px is the magic margin used to hide the element's real scrollbars */
/* See overflow: hidden in .CodeMirror */
margin-bottom: -30px; margin-right: -30px;
padding-bottom: 30px; padding-right: 30px;
height: 100%;
outline: none; /* Prevent dragging from highlighting the element */
position: relative;
-moz-box-sizing: content-box;
box-sizing: content-box;
}
.CodeMirror-sizer {
position: relative;
}
/* The fake, visible scrollbars. Used to force redraw during scrolling
before actuall scrolling happens, thus preventing shaking and
flickering artifacts. */
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
position: absolute;
z-index: 6;
display: none;
}
.CodeMirror-vscrollbar {
right: 0; top: 0;
overflow-x: hidden;
overflow-y: scroll;
}
.CodeMirror-hscrollbar {
bottom: 0; left: 0;
overflow-y: hidden;
overflow-x: scroll;
}
.CodeMirror-scrollbar-filler {
right: 0; bottom: 0;
}
.CodeMirror-gutter-filler {
left: 0; bottom: 0;
}
.CodeMirror-gutters {
position: absolute; left: 0; top: 0;
padding-bottom: 30px;
z-index: 3;
}
.CodeMirror-gutter {
white-space: normal;
height: 100%;
-moz-box-sizing: content-box;
box-sizing: content-box;
padding-bottom: 30px;
margin-bottom: -32px;
display: inline-block;
/* Hack to make IE7 behave */
*zoom:1;
*display:inline;
}
.CodeMirror-gutter-elt {
position: absolute;
cursor: default;
z-index: 4;
}
.CodeMirror-lines {
cursor: text;
}
.CodeMirror pre {
/* Reset some styles that the rest of the page might have set */
-moz-border-radius: 0; -webkit-border-radius: 0; border-radius: 0;
border-width: 0;
background: transparent;
font-family: inherit;
font-size: inherit;
margin: 0;
white-space: pre;
word-wrap: normal;
line-height: inherit;
color: inherit;
z-index: 2;
position: relative;
overflow: visible;
}
.CodeMirror-wrap pre {
word-wrap: break-word;
white-space: pre-wrap;
word-break: normal;
}
.CodeMirror-code pre {
border-right: 30px solid transparent;
width: -webkit-fit-content;
width: -moz-fit-content;
width: fit-content;
}
.CodeMirror-wrap .CodeMirror-code pre {
border-right: none;
width: auto;
}
.CodeMirror-linebackground {
position: absolute;
left: 0; right: 0; top: 0; bottom: 0;
z-index: 0;
}
.CodeMirror-linewidget {
position: relative;
z-index: 2;
overflow: auto;
}
.CodeMirror-widget {}
.CodeMirror-wrap .CodeMirror-scroll {
overflow-x: hidden;
}
.CodeMirror-measure {
position: absolute;
width: 100%;
height: 0;
overflow: hidden;
visibility: hidden;
}
.CodeMirror-measure pre { position: static; }
.CodeMirror div.CodeMirror-cursor {
position: absolute;
visibility: hidden;
border-right: none;
width: 0;
}
.CodeMirror-focused div.CodeMirror-cursor {
visibility: visible;
}
.CodeMirror-selected { background: #d9d9d9; }
.CodeMirror-focused .CodeMirror-selected { background: #d7d4f0; }
.cm-searching {
background: #ffa;
background: rgba(255, 255, 0, .4);
}
/* IE7 hack to prevent it from returning funny offsetTops on the spans */
.CodeMirror span { *vertical-align: text-bottom; }
@media print {
/* Hide the cursor when printing */
.CodeMirror div.CodeMirror-cursor {
visibility: hidden;
}
}
.error {
background-color: #fdd;
}
#tab-grader .pywindow, #tab-homework .pywindow {
/* background-color: #c5f0e5;*/
/* background-color: #eefaf8;*/
/* padding: 10px 15px 15px 15px;*/
/* margin: 5px 0px 5px 0px;*/
/* border-radius: 15px*/
}
.pywindow .CodeMirror {
border: 2px solid #ccc;
border-radius: 4px;
}
.pywindow > pre, .pywindow .error pre {
font-family: 'Consolas', 'Deja Vu Sans Mono',
'Bitstream Vera Sans Mono', monospace;
/* font-size: 0.95em;*/
letter-spacing: 0.015em;
line-height: 120%;
/* border: 1px solid #ccc;*/
/* background-color: #f8f8f8;*/
display: block;
padding: 9.5px;
margin: 5px 0 10px;
font-size: 13px;
/* line-height: 1.428571429;*/
color: #333;
/* word-break: break-all;*/
/* word-wrap: break-word;*/
background-color: #f5f5f5;
border: 1px solid #ccc;
border-radius: 4px;
min-height: 20px;
/* max-height: 500px;*/
resize: vertical;
overflow: auto;
}
.pywindow > pre a, .pywindow .error pre a {
color: inherit;
text-decoration: underline;
}
.pywindow .btn, .btn.pywindow-preview-popout{
display: inline-block;
margin: 5px 10px;
padding: 3px 6px;
height: 24px;
line-height: 16px;
/*font-weight: normal;*/
text-align: center;
white-space: nowrap;
vertical-align: middle;
cursor: pointer;
border: 1px solid transparent;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
font-size: 1em;
/*font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;*/
float: right;
}
.pywindow .btn-link, .btn-link.pywindow-preview-popout{
outline: 0px;
font-size: 15px;
}
.pyfile-preview-modal-holder .aops-modal-title {
text-align: center;
font-size: 150%;
}
.pyfile-preview-modal-holder textarea {
padding: 20px!important;
}
.pywindow .btn-run, .pywindow .btn-run-disabled {
float: left;
margin: 5px 0px;
}
.pywindow .btn-reset {
margin: 5px 0px;
}
.pywindow .btn-run:hover, .pywindow .btn-run:focus,
.pywindow .btn-reset:hover, .pywindow .btn-reset:focus {
outline: 0px;
text-decoration: none;
}
.pywindow .btn-run:active, .pywindow .btn-run.active,
.pywindow .btn-reset:active, .pywindow .btn-reset.active {
outline: 0px;
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.pywindow .btn.disabled, .pywindow .btn[disabled], .pywindow fieldset[disabled] .btn {
pointer-events: none;
cursor: not-allowed;
opacity: .65;
filter: alpha(opacity=65);
-webkit-box-shadow: none;
box-shadow: none;
}
.pywindow .btn-run {
color: #fff;
background-color: #5cb85c;
}
.pywindow .btn-run:hover, .pywindow .btn-run:focus, .pywindow .btn-run:active, .pywindow .btn-run.active {
color: #fff;
background-color: #47a447;
}
.pywindow .btn-run:active, .pywindow .btn-run.active {
background-image: none
}
.pywindow .btn-run.disabled, .pywindow .btn-run[disabled], .pywindow fieldset[disabled] .btn-run,
.pywindow .btn-run.disabled:hover, .pywindow .btn-run[disabled]:hover, .pywindow fieldset[disabled] .btn-run:hover,
.pywindow .btn-run.disabled:focus, .pywindow .btn-run[disabled]:focus, .pywindow fieldset[disabled] .btn-run:focus,
.pywindow .btn-run.disabled:active, .pywindow .btn-run[disabled]:active, .pywindow fieldset[disabled] .btn-run:active,
.pywindow .btn-run.disabled.active, .pywindow .btn-run[disabled].active, .pywindow fieldset[disabled] .btn-run.active {
background-color: #5cb85c;
border-color: #4cae4c;
}
.pywindow .btn-reset {
color: #fff;
background-color: #ed9c28;
}
.pywindow .btn-reset:hover, .pywindow .btn-reset:focus, .pywindow .btn-reset:active, .pywindow .btn-reset.active {
color: #fff;
background-color: #ea8b02;
}
.pywindow .btn-reset:active, .pywindow .btn-reset.active {
background-image: none
}
.pywindow .btn-reset.disabled, .pywindow .btn-reset[disabled], .pywindow fieldset[disabled] .btn-reset,
.pywindow .btn-reset.disabled:hover, .pywindow .btn-reset[disabled]:hover, .pywindow fieldset[disabled] .btn-reset:hover,
.pywindow .btn-reset.disabled:focus, .pywindow .btn-reset[disabled]:focus, .pywindow fieldset[disabled] .btn-reset:focus,
.pywindow .btn-reset.disabled:active, .pywindow .btn-reset[disabled]:active, .pywindow fieldset[disabled] .btn-reset:active,
.pywindow .btn-reset.disabled.active, .pywindow .btn-reset[disabled].active, .pywindow fieldset[disabled] .btn-reset.active {
background-color: #f0ad4e;
border-color: #eea236;
}
/*.pyfile-preview-modal .btn-pop, .pywindow .btn-pop, .pywindow .btn-viewfiles, .pywindow .btn-linenumbers, .pywindow .btn-showdeleted, .pywindow .btn-hidedeleted {
color: #fff;
background-color: #999;
}
.pywindow-file-preview-modal .btn-pop:hover, .pywindow-file-preview-modal .btn-pop:focus,
.pywindow-file-preview-modal .btn-pop:active, .pywindow-file-preview-modal .btn-pop.active,
.pywindow .btn-pop:hover, .pywindow .btn-pop:focus, .pywindow .btn-pop:active, .pywindow .btn-pop.active,
.pywindow .btn-viewfiles:hover, .pywindow .btn-viewfiles:focus, .pywindow .btn-viewfiles:active, .pywindow .btn-viewfiles.active,
.pywindow .btn-linenumbers:hover, .pywindow .btn-linenumbers:focus, .pywindow .btn-linenumbers:active, .pywindow .btn-linenumbers.active,
.pywindow .btn-showdeleted:hover, .pywindow .btn-showdeleted:focus, .pywindow .btn-showdeleted:active, .pywindow .btn-showdeleted.active,
.pywindow .btn-hidedeleted:hover, .pywindow .btn-hidedeleted:focus, .pywindow .btn-hidedeleted:active, .pywindow .btn-hidedeleted.active {
color: #fff;
background-color: #888;
}*/
.pywindow .alert {
padding: 15px;
margin-bottom: 15px;
border: 1px solid transparent;
border-radius: 4px;
color: #333;
background-color: #f2dede;
border-color: #eed3d7;
}
.pywindow .alert h3 {
text-align: left;
}
.pywindow .alert p {
margin: 10px 0px 20px;
}
.pywindow .alert pre {
margin: 10px 0px 20px;
}
.pywindow .ac-files-hidden {
display: none;
}
.pywindow .pywindow-file-table-holder {
border:1px solid black;
border-radius:6px;
background-color: #fff;
display: inline-block;
margin-left: auto;
margin-right: auto;
width: 100%;
}
.pywindow .pywindow-file-table {
margin-bottom: 7px;
width: 100%;
}
.pywindow .pywindow-file-table tr:nth-of-type(even) {
background-color: #eee;
}
.pywindow .pywindow-file-table th {
padding: 5px;
}
.pywindow .pywindow-file-table th:nth-of-type(2) {
text-align: left;
}
.pywindow .pywindow-file-table td {
padding: 5px;
}
.pywindow .pywindow-file-table td:nth-of-type(2) {
min-width: 100px;
}
.pyfile_restore, .pyfile_reset, .pyfile_delete, .pyfile_preview_cursor {
cursor: pointer;
}
.pyfile_delete {
max-width: 30px;
}
.pyfile-clickable-icons {
text-align: center;
clear: both;
}
.pywindow .pyfile_restore, .pywindow .pyfile_reset, .pywindow .pyfile_delete, .pywindow .pyfile-div-a-float-holder {
float: left;
margin-left: 10px;
min-width: 20px;
}
.pywindow-readonly .CodeMirror-gutters {
background-color: #eaeaea;
}
.pywindow-readonly .CodeMirror {
background-color: #f2f2f2;
}
.pywindow .pywindow-btn-small {
padding: 0px 3px;
margin: 0px;
}
.pywindow .active-out-hidden {
display: none;
}
.pywindow .pywindow-temp-preview-code .python {
white-space: pre;
margin-top: 0px!important;
margin-bottom: 0px!important;
border-radius: 2px;
border: 2px solid #ccc;
font-size: 15px; /* or 14.86 */
font-family: monospace;
}
.pywindow .pywindow-temp-preview-code ol {
background-color: #fcfcfc!important;
overflow-x: auto;
overflow-y: visible;
padding-left: 0px!important;
padding-bottom: 8px;
margin-top: 0px!important;
margin-bottom: 0px!important;
margin-left: 0px!important;
/* border-radius: 2px;*/
list-style-type: none;
}
.pywindow .pywindow-temp-preview-code li {
counter-increment: customlistcounter;
position: relative;
top: 3px;
height: 15px; /* or 14.86 */
/* margin: -5px 0px 0px 0px!important;*/
}
.pywindow .pywindow-temp-preview-code li:before {
content: " " counter(customlistcounter);
background-color: #f7f7f7;
position: relative;
top: -2px;
height: 15px; /* or 14.86 */
float: left;
border-right: 1px solid #ddd;
width: 34px; /* 27 or 21 or 35*/
margin: 0px 4px 0px -7px!important;
text-align: center;
color: #999;
}
.pywindow .pywindow-temp-preview-code li:last-child:before {
height: 21px; /* or 20.86 */
margin-bottom: -6px!important;
}
.pywindow .pywindow-one-digit-lines li:before {
width: 28px;
}
.pywindow .pywindow-two-digit-lines li:before {
width: 34px;
}
.pywindow .pywindow-three-digit-lines li:before {
width: 42px;
}
/*.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(1):before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(1) ~ li:before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(2):before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(2) ~ li:before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(3):before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(3) ~ li:before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(4):before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(4) ~ li:before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(5):before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(5) ~ li:before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(6):before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(6) ~ li:before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(7):before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(7) ~ li:before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(8):before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(8) ~ li:before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(9):before,
.pywindow .pywindow-temp-preview-code li:first-child:nth-last-child(9) ~ li:before {
width: 28px;
}*/
.pywindow .pywindow-temp-preview-code ol:first-child {
counter-reset: customlistcounter;
}
.pywindow .pywindow-temp-preview-code span {
}
.pywindow .pywindow-temp-preview-code li>div {
cursor: text;
color: black;
}
.pywindow .ac-canvas {
background-color: white;
border: 2px solid #777;
}
.pywindow-enable-onclickpre-button {
float: left!important;
}
.pywindow-onclickpre-preview {
border: 2px solid #ccc;
padding: 10px;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,497 @@
AoPS.Community={};AoPS.Community.categories = [];
AoPS.Community.categories[0] = {category_id : 3,category_name : "Middle School Math",num_topics : 46945,num_posts : 659612,main_color : "#f90",secondary_color : "#fff5d4",num_users : 11,short_description : "Grades 5-8, Ages 10-13, MATHCOUNTS, AMC 8",long_description : "",item_sort_type : "forum",category_type : "forum",has_source : false,has_halp : false,is_monitored : false,is_locked : false,has_announcements : true,has_thanks : true,has_nothanks : false,include_in_count : true,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : true};
AoPS.Community.categories[0].items = [];AoPS.Community.categories[0].items.push({item_id : 1,item_text : "MATHCOUNTS",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 48,item_text : "geometry",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 177,item_text : "number theory",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 193,item_text : "probability",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 169,item_text : "algebra",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 146,item_text : "3D geometry",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 3,item_text : "AMC",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 55,item_text : "AMC 8",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 259,item_text : "ratio",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 298,item_text : "function",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 251,item_text : "analytic geometry",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 96,item_text : "LaTeX",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 130,item_text : "rectangle",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 273,item_text : "counting",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 231,item_text : "quadratics",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 179,item_text : "AMC 10",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 178,item_text : "modular arithmetic",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 243,item_text : "inequalities",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 183,item_text : "AIME",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 127,item_text : "perimeter",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 29911,item_text : "poll",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 194,item_text : "trigonometry",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 105,item_text : "search",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 170,item_text : "polynomial",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 309,item_text : "combinatorics",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 517,item_text : "math",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 260,item_text : "percent",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 116,item_text : "calculus",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 98,item_text : "Alcumus",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 283,item_text : "geometric transformation",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 101,item_text : "FTW",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 39,item_text : "Pythagorean Theorem",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 180,item_text : "prime numbers",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 284,item_text : "rotation",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 115,item_text : "videos",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 65300,item_text : "middle school math",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 263,item_text : "least common multiple",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 253,item_text : "graphing lines",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 134,item_text : "trapezoid",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 237,item_text : "factorial",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 254,item_text : "slope",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 181,item_text : "prime factorization",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 29489,item_text : "Counting and Probability",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 112,item_text : "AoPS Books",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 264,item_text : "greatest common divisor",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 278,item_text : "distinguishability",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 174,item_text : "USA(J)MO",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 117,item_text : "integration",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 279,item_text : "logarithms",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[0].items.push({item_id : 131,item_text : "parallelogram",item_forum_id : 3,item_type : "tag",item_main_color : "#f90",item_secondary_color : "#fff5d4"
});AoPS.Community.categories[1] = {category_id : 4,category_name : "High School Math",num_topics : 103886,num_posts : 565536,main_color : "#e75400",secondary_color : "#ffe7cc",num_users : 7,short_description : "Grades 9-12, Ages 13-18",long_description : "",item_sort_type : "forum",category_type : "forum",has_source : false,has_halp : false,is_monitored : false,is_locked : false,has_announcements : false,has_thanks : true,has_nothanks : false,include_in_count : true,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : true};
AoPS.Community.categories[1].items = [];AoPS.Community.categories[1].items.push({item_id : 48,item_text : "geometry",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 169,item_text : "algebra",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 177,item_text : "number theory",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 194,item_text : "trigonometry",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 298,item_text : "function",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 243,item_text : "inequalities",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 170,item_text : "polynomial",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 193,item_text : "probability",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 309,item_text : "combinatorics",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 116,item_text : "calculus",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 231,item_text : "quadratics",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 251,item_text : "analytic geometry",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 146,item_text : "3D geometry",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 3,item_text : "AMC",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 259,item_text : "ratio",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 178,item_text : "modular arithmetic",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 183,item_text : "AIME",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 279,item_text : "logarithms",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 96,item_text : "LaTeX",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 226,item_text : "conics",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 130,item_text : "rectangle",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 159,item_text : "complex numbers",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 283,item_text : "geometric transformation",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 123,item_text : "circumcircle",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 217,item_text : "induction",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 117,item_text : "integration",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 416,item_text : "floor function",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 127,item_text : "perimeter",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 273,item_text : "counting",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 284,item_text : "rotation",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 281,item_text : "system of equations",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 195,item_text : "trig identities",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 105,item_text : "search",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 157,item_text : "vector",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 253,item_text : "graphing lines",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 134,item_text : "trapezoid",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 254,item_text : "slope",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 415,item_text : "symmetry",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 265,item_text : "relatively prime",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 124,item_text : "angle bisector",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 179,item_text : "AMC 10",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 131,item_text : "parallelogram",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 227,item_text : "parabola",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 39,item_text : "Pythagorean Theorem",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 173,item_text : "Vieta",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 299,item_text : "domain",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 180,item_text : "prime numbers",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 237,item_text : "factorial",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 264,item_text : "greatest common divisor",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[1].items.push({item_id : 248,item_text : "Diophantine equation",item_forum_id : 4,item_type : "tag",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
});AoPS.Community.categories[2] = {category_id : 5,category_name : "Contests &amp; Programs",num_topics : 29049,num_posts : 471546,main_color : "#008fd5",secondary_color : "#d9effd",num_users : 11,short_description : "AMC and other contests, summer programs, etc.",long_description : "",item_sort_type : "forum",category_type : "forum",has_source : true,has_halp : false,is_monitored : false,is_locked : false,has_announcements : true,has_thanks : true,has_nothanks : false,include_in_count : true,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : true};
AoPS.Community.categories[2].items = [];AoPS.Community.categories[2].items.push({item_id : 3,item_text : "AMC",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 183,item_text : "AIME",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 179,item_text : "AMC 10",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 48,item_text : "geometry",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 174,item_text : "USA(J)MO",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 175,item_text : "USAMO",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 37,item_text : "AMC 12",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 190,item_text : "AIME I",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 184,item_text : "AMC 10 A",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 176,item_text : "USAJMO",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 55,item_text : "AMC 8",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 1,item_text : "MATHCOUNTS",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 193,item_text : "probability",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 177,item_text : "number theory",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 194,item_text : "trigonometry",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 186,item_text : "AMC 10 B",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 29911,item_text : "poll",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 169,item_text : "algebra",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 63,item_text : "summer program",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 191,item_text : "AIME II",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 185,item_text : "AMC 12 A",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 298,item_text : "function",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 109,item_text : "email",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 187,item_text : "AMC 12 B",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 116,item_text : "calculus",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 243,item_text : "inequalities",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 58,item_text : "ARML",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 251,item_text : "analytic geometry",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 259,item_text : "ratio",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 146,item_text : "3D geometry",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 170,item_text : "polynomial",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 105,item_text : "search",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 57,item_text : "AwesomeMath",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 112,item_text : "AoPS Books",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 231,item_text : "quadratics",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 64,item_text : "HMMT",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 209,item_text : "college",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 283,item_text : "geometric transformation",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 91,item_text : "USAMTS",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 98,item_text : "Alcumus",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 96,item_text : "LaTeX",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 83,item_text : "PROMYS",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 130,item_text : "rectangle",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 71,item_text : "Mathcamp",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 279,item_text : "logarithms",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 178,item_text : "modular arithmetic",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 159,item_text : "complex numbers",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 284,item_text : "rotation",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 107,item_text : "AoPSwiki",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[2].items.push({item_id : 84,item_text : "Ross Mathematics Program",item_forum_id : 5,item_type : "tag",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
});AoPS.Community.categories[3] = {category_id : 6,category_name : "High School Olympiads",num_topics : 275646,num_posts : 1201309,main_color : "#029386",secondary_color : "#e1fff2",num_users : 19,short_description : "Regional, national, and international math olympiads",long_description : "",item_sort_type : "forum",category_type : "forum",has_source : true,has_halp : false,is_monitored : false,is_locked : false,has_announcements : true,has_thanks : true,has_nothanks : false,include_in_count : true,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : true};
AoPS.Community.categories[3].items = [];AoPS.Community.categories[3].items.push({item_id : 169,item_text : "algebra",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 309,item_text : "combinatorics",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 48,item_text : "geometry",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 243,item_text : "inequalities",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 177,item_text : "number theory",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 360,item_text : "IMO",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 108,item_text : "articles",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 298,item_text : "function",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 322,item_text : "inequalities proposed",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 304,item_text : "algebra unsolved",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 194,item_text : "trigonometry",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 325,item_text : "number theory unsolved",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 123,item_text : "circumcircle",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 321,item_text : "inequalities unsolved",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 170,item_text : "polynomial",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 315,item_text : "geometry unsolved",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 316,item_text : "geometry proposed",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 310,item_text : "combinatorics unsolved",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 326,item_text : "number theory proposed",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 305,item_text : "algebra proposed",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 178,item_text : "modular arithmetic",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 217,item_text : "induction",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 300,item_text : "functional equation",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 283,item_text : "geometric transformation",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 116,item_text : "calculus",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 120,item_text : "incenter",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 312,item_text : "combinatorics proposed",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 231,item_text : "quadratics",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 146,item_text : "3D geometry",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 285,item_text : "reflection",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 279,item_text : "logarithms",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 259,item_text : "ratio",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 251,item_text : "analytic geometry",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 416,item_text : "floor function",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 180,item_text : "prime numbers",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 105,item_text : "search",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 124,item_text : "angle bisector",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 131,item_text : "parallelogram",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 117,item_text : "integration",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 96,item_text : "LaTeX",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 29440,item_text : "Inequality",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 119,item_text : "limit",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 130,item_text : "rectangle",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 159,item_text : "complex numbers",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 248,item_text : "Diophantine equation",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 193,item_text : "probability",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 212,item_text : "Euler",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 226,item_text : "conics",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 157,item_text : "vector",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[3].items.push({item_id : 210,item_text : "cyclic quadrilateral",item_forum_id : 6,item_type : "tag",item_main_color : "#029386",item_secondary_color : "#e1fff2"
});AoPS.Community.categories[4] = {category_id : 7,category_name : "College Math",num_topics : 102698,num_posts : 402685,main_color : "#511e8f",secondary_color : "#f2e6fe",num_users : 7,short_description : "Topics in undergraduate and graduate studies",long_description : "",item_sort_type : "forum",category_type : "forum",has_source : true,has_halp : false,is_monitored : false,is_locked : false,has_announcements : false,has_thanks : true,has_nothanks : false,include_in_count : true,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : true};
AoPS.Community.categories[4].items = [];AoPS.Community.categories[4].items.push({item_id : 116,item_text : "calculus",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 427,item_text : "real analysis",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 290,item_text : "linear algebra",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 435,item_text : "superior algebra",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 443,item_text : "complex analysis",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 448,item_text : "advanced fields",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 455,item_text : "probability and stats",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 177,item_text : "number theory",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 440,item_text : "topology",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 441,item_text : "Putnam",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 442,item_text : "college contests",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 108,item_text : "articles",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 298,item_text : "function",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 117,item_text : "integration",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 458,item_text : "calculus computations",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 428,item_text : "real analysis unsolved",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 119,item_text : "limit",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 194,item_text : "trigonometry",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 169,item_text : "algebra",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 291,item_text : "matrix",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 279,item_text : "logarithms",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 436,item_text : "superior algebra unsolved",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 118,item_text : "derivative",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 170,item_text : "polynomial",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 48,item_text : "geometry",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 29490,item_text : "abstract algebra",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 243,item_text : "inequalities",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 157,item_text : "vector",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 29371,item_text : "group theory",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 431,item_text : "linear algebra unsolved",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 193,item_text : "probability",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 450,item_text : "advanced fields unsolved",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 251,item_text : "analytic geometry",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 299,item_text : "domain",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 217,item_text : "induction",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 96,item_text : "LaTeX",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 146,item_text : "3D geometry",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 444,item_text : "complex analysis unsolved",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 29450,item_text : "Ring Theory",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 159,item_text : "complex numbers",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 283,item_text : "geometric transformation",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 438,item_text : "superior algebra solved",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 430,item_text : "real analysis theorems",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 31731,item_text : "Functional Analysis",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 105,item_text : "search",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 293,item_text : "parameterization",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 231,item_text : "quadratics",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 429,item_text : "real analysis solved",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 259,item_text : "ratio",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[4].items.push({item_id : 226,item_text : "conics",item_forum_id : 7,item_type : "tag",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
});AoPS.Community.categories[5] = {category_id : 9,category_name : "Other Forums",num_topics : 43,num_posts : 1412,main_color : "#356CB5",secondary_color : "#dae7f6",num_users : 1,short_description : "Games, local and regional communities, and user-created forums.",long_description : "Create a new forum on your <a data-cmty href='/community/my-aops'><span class='aops-font'>A</span>My AoPS</a> page.",item_sort_type : "system",category_type : "folder_forums",has_source : false,has_halp : false,is_monitored : false,is_locked : true,has_announcements : false,has_thanks : false,has_nothanks : false,include_in_count : false,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : false};
AoPS.Community.categories[5].items = [];AoPS.Community.categories[5].items.push({item_id : 1967976,item_text : "Peer-to-Peer Programs",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Schoolhouse.world, student-prepared handouts, and other peer-to-peer efforts"});AoPS.Community.categories[5].items.push({item_id : 594864,item_text : "AoPS Mock Contests",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "A forum for posting, taking, and discussing contests created by AoPS users"});AoPS.Community.categories[5].items.push({item_id : 123,item_text : "USAMTS",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "The USA Mathematical Talent Search, a free math competition"});AoPS.Community.categories[5].items.push({item_id : 124,item_text : "ARML",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "The American Regions Mathematics League, a team math competition"});AoPS.Community.categories[5].items.push({item_id : 129,item_text : "HMMT",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "The Harvard-MIT Mathematics Tournament, a math meet in MA"});AoPS.Community.categories[5].items.push({item_id : 164,item_text : "Physics",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "For topics in physics and discussion of physics competitions"});AoPS.Community.categories[5].items.push({item_id : 140,item_text : "Princeton Math Competition",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "The Princeton Math Competition (PUMaC), a math meet in NJ"});AoPS.Community.categories[5].items.push({item_id : 132,item_text : "Math Prize for Girls",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "A math contest for girls in 11th grade or below (AMC 10/12 required to apply)"});AoPS.Community.categories[5].items.push({item_id : 170,item_text : "The Round Table",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "For serious discussions"});AoPS.Community.categories[5].items.push({item_id : 149,item_text : "Purple Comet",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "A free online math meet for middle and high school students"});AoPS.Community.categories[5].items.push({item_id : 163,item_text : "Computer Science and Informatics",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "For topics in CS and informatics and discussion of CS competitions"});AoPS.Community.categories[5].items.push({item_id : 162,item_text : "Chemistry",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "For topics in chemistry and discussion of chemistry competitions"});AoPS.Community.categories[5].items.push({item_id : 161,item_text : "Biology",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "For topics in biology and discussion of biology competitions"});AoPS.Community.categories[5].items.push({item_id : 172,item_text : "College",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "College admissions, preparing for college, etc."});AoPS.Community.categories[5].items.push({item_id : 2788149,item_text : "Xarcade!",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Overload of games, and fun threads! Anyone can make threads! (Pronounced: Ksar-keid)"});AoPS.Community.categories[5].items.push({item_id : 1211547,item_text : "Boredom Buster&lrm;!",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Isn\'t it obvious? We bust your boredom!"});AoPS.Community.categories[5].items.push({item_id : 1962982,item_text : "Luminosity",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Illuminating the World with Games..."});AoPS.Community.categories[5].items.push({item_id : 1136128,item_text : "The Avatar Market &copy;",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Making Your Avatars a Little Sweeter ✨"});AoPS.Community.categories[5].items.push({item_id : 1079043,item_text : "The Clan Gathering",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Live an adventurous wild cat life in The Clan Gathering!"});AoPS.Community.categories[5].items.push({item_id : 1068820,item_text : "Old High School Olympiads",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Regional, National, and International Math Olympiads before 2001 mostly, recent years have been posted in order to make contest collections richer"});AoPS.Community.categories[5].items.push({item_id : 851893,item_text : "Pokemon!!!",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "The best Pokemon RPG forum!"});AoPS.Community.categories[5].items.push({item_id : 538368,item_text : "Ask the AoPS Community",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "General questions addressed to the community - for questions/comments that don\'t fit elsewhere."});AoPS.Community.categories[5].items.push({item_id : 1623484,item_text : "triviat",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Games, community, and trivia!"});AoPS.Community.categories[5].items.push({item_id : 1232176,item_text : "The Warriors Of AoPS",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Warriors | The Chaotic Version"});AoPS.Community.categories[5].items.push({item_id : 3034721,item_text : "MIG",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Math Invitational for Girls"});AoPS.Community.categories[5].items.push({item_id : 3015717,item_text : "The Lollipop Forum",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Like Lollipops? Like Math? Can\'t fit the two together? You came to the right place! We post word problems concerning lollipops!"});AoPS.Community.categories[5].items.push({item_id : 1036644,item_text : "Not Just 20 Questions!",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "A place to have fun and make new friends~"});AoPS.Community.categories[5].items.push({item_id : 2330780,item_text : "Cats of All Clans",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Welcome to a Warrior forum, but with 5 clans."});AoPS.Community.categories[5].items.push({item_id : 1273609,item_text : "Island of the Lost",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Mystique, action, and story: this dedicated RPG forum has it all!"});AoPS.Community.categories[5].items.push({item_id : 1243730,item_text : "Civil Discourse",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "The debate forum dedicated to polite, organized, civil discussions."});AoPS.Community.categories[5].items.push({item_id : 2414357,item_text : "✯ Sparkling Stars! ✯",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "✯ Sparkling Stars Is An Awesome Forum With Games, Avatar Shops, Contests, And More! Join Now! ✯"});AoPS.Community.categories[5].items.push({item_id : 1987267,item_text : "Night Warriors",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "The free-for-all warriors forum"});AoPS.Community.categories[5].items.push({item_id : 2392466,item_text : "Christians Forum!",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "My hope is that on this forum, people can see who God really is: a father who gave is son for us, so that we may gain something we don\'t even deserve."});AoPS.Community.categories[5].items.push({item_id : 618937,item_text : "Euclidean Geometry In Mathematical Olympiads",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Study group for Euclidean Geometry in Mathematical Olympiads by Evan Chen"});AoPS.Community.categories[5].items.push({item_id : 134,item_text : "mathleague.org",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Topics about mathleague.org contests for elementary to high school students"});AoPS.Community.categories[5].items.push({item_id : 521,item_text : "Berkeley Math Tournament",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "The BMT, a math meet in CA for high school students and below"});AoPS.Community.categories[5].items.push({item_id : 1800128,item_text : "♟The Chess Forum♟",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Chess Tournaments, Discussion, Games, Shops, Puzzles, and much more!"});AoPS.Community.categories[5].items.push({item_id : 3026505,item_text : "the artists forum 3.0",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "A forum for all artists across aops!"});AoPS.Community.categories[5].items.push({item_id : 2484934,item_text : "Haven of Spells",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "A fantasy RPG full of new spells, weapons, stories, and more!"});AoPS.Community.categories[5].items.push({item_id : 260,item_text : "India",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "For users from India and discussions related to India"});AoPS.Community.categories[5].items.push({item_id : 3042458,item_text : "Smurf Village",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "The Village of the Smurfs"});AoPS.Community.categories[5].items.push({item_id : 3029020,item_text : "(⌐■_■) model 1.2 &copy;",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "totally useless forum to do whatever in -- model 1.2 -- peace is boring -- most mods in a user-created forum -- french fries are tasty and fridays are fun"});AoPS.Community.categories[5].items.push({item_id : 2995387,item_text : "Digging Hamsters",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "The authentic hamster heaven"});AoPS.Community.categories[5].items.push({item_id : 3041179,item_text : "The Climate Crew!",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "The forum of all the people who care about the climate and want to stop the climate change!"});AoPS.Community.categories[5].items.push({item_id : 2406262,item_text : "The Forum Bulletin",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "News about game forums"});AoPS.Community.categories[5].items.push({item_id : 1997611,item_text : "Earthrise",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "When shadows cloak our small blue dot, it\'s up to us to fight them."});AoPS.Community.categories[5].items.push({item_id : 2530682,item_text : "Clams of all Clans",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Clams are supreme"});AoPS.Community.categories[5].items.push({item_id : 2991586,item_text : "Pyrrhia and Pantala",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Welcome to the worlds of Pyrrhia and Pantala, wonderful worlds full of dragons... and chaos."});AoPS.Community.categories[5].items.push({item_id : 1655243,item_text : "Guilds of Magic Official",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "A chaotic world full of elemental mages"});AoPS.Community.categories[5].items.push({item_id : 3040443,item_text : "Games and More Games",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "A game forum"});AoPS.Community.categories[6] = {category_id : 10,category_name : "Site Support",num_topics : 16579,num_posts : 138067,main_color : "#a90008",secondary_color : "#ffe4e1",num_users : 1,short_description : "Tech support and questions about AoPS classes and materials",long_description : "",item_sort_type : "forum",category_type : "forum",has_source : false,has_halp : false,is_monitored : true,is_locked : false,has_announcements : true,has_thanks : true,has_nothanks : false,include_in_count : true,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : true};
AoPS.Community.categories[6].items = [];AoPS.Community.categories[6].items.push({item_id : 98,item_text : "Alcumus",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 99,item_text : "blogs",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 96,item_text : "LaTeX",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 105,item_text : "search",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 101,item_text : "FTW",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 48,item_text : "geometry",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 95,item_text : "Support",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 109,item_text : "email",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 298,item_text : "function",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 1,item_text : "MATHCOUNTS",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 3,item_text : "AMC",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 107,item_text : "AoPSwiki",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 45137,item_text : "Bug",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 100,item_text : "Reaper",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 183,item_text : "AIME",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 30722,item_text : "Forums",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 54636,item_text : "suggestion",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 29911,item_text : "poll",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 51399,item_text : "site support",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 179,item_text : "AMC 10",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 29348,item_text : "AoPS",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 97,item_text : "Asymptote",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 115,item_text : "videos",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 29349,item_text : "AoPS classes",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 30593,item_text : "posts",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 236942,item_text : "pms",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 116,item_text : "calculus",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 30468,item_text : "Glitch",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 30323,item_text : "Suggestions",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 193,item_text : "probability",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 177,item_text : "number theory",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 55,item_text : "AMC 8",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 102,item_text : "classes",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 112,item_text : "AoPS Books",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 110,item_text : "classroom",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 30967,item_text : "help",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 45973,item_text : "question",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 30366,item_text : "Forum",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 146,item_text : "3D geometry",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 114,item_text : "Greed Control",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 111609,item_text : "glitch or bug",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 174,item_text : "USA(J)MO",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 190,item_text : "AIME I",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 29345,item_text : "Tags",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 31541,item_text : "BBCode",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 31784,item_text : "Avatars",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 169,item_text : "algebra",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 29755,item_text : "Homework",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 30642,item_text : "Friends",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[6].items.push({item_id : 68190,item_text : "upvotes",item_forum_id : 10,item_type : "tag",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
});AoPS.Community.categories[7] = {category_id : 91,category_name : "Contest of the Week",num_topics : 0,num_posts : 0,main_color : "#990000",secondary_color : "#FFDADA",num_users : 1,short_description : "2014 EGMO",long_description : "",item_sort_type : "manual",category_type : "view_posts",has_source : false,has_halp : false,is_monitored : false,is_locked : true,has_announcements : false,has_thanks : false,has_nothanks : false,include_in_count : false,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : false};
AoPS.Community.categories[7].items = [];AoPS.Community.categories[7].items.push({item_id : 4572669,item_text : "Day 1",item_forum_id : 0,item_type : "post",item_main_color : "",item_secondary_color : ""
,post_data : {"post_id":4572669,"post_type":"view_posts_text","topic_id":0,"poster_id":0,"post_rendered":"April 12th","post_canonical":"April 12th","username":"","post_number":2,"post_format":"bbcode","category_name":"2014 EGMO","category_id":4329,"poster_avatar":"\/\/avatar.artofproblemsolving.com\/no-avatar.png"}});
AoPS.Community.categories[7].items.push({item_id : 3459747,item_text : "1",item_forum_id : 0,item_type : "post",item_main_color : "",item_secondary_color : ""
,post_data : {"post_id":3459747,"post_type":"forum","topic_id":585057,"poster_id":146965,"post_rendered":"Determine all real constants <img src=\"\/\/latex.artofproblemsolving.com\/e\/0\/d\/e0d2bf360290fd61d1c1557e763f2622363b3d35.png\" class=\"latex\" alt=\"$t$\" width=\"6\" height=\"11\" > such that whenever <span style=\"white-space:nowrap;\"><img src=\"\/\/latex.artofproblemsolving.com\/c\/7\/d\/c7d457e388298246adb06c587bccd419ea67f7e8.png\" class=\"latex\" alt=\"$a$\" width=\"9\" height=\"8\" >,<\/span> <img src=\"\/\/latex.artofproblemsolving.com\/8\/1\/3\/8136a7ef6a03334a7246df9097e5bcc31ba33fd2.png\" class=\"latex\" alt=\"$b$\" width=\"8\" height=\"12\" > and <img src=\"\/\/latex.artofproblemsolving.com\/3\/3\/7\/3372c1cb6d68cf97c2d231acc0b47b95a9ed04cc.png\" class=\"latex\" alt=\"$c$\" width=\"8\" height=\"8\" > are the lengths of sides of a triangle, then so are <span style=\"white-space:nowrap;\"><img src=\"\/\/latex.artofproblemsolving.com\/f\/2\/d\/f2d8108bdff76b490b211a92fff96443dad92a15.png\" class=\"latex\" alt=\"$a^2+bct$\" style=\"vertical-align: -1px\" width=\"61\" height=\"16\" >,<\/span> <span style=\"white-space:nowrap;\"><img src=\"\/\/latex.artofproblemsolving.com\/e\/9\/1\/e9133c6dd8ed572e9694fb70c27e825b78d98d72.png\" class=\"latex\" alt=\"$b^2+cat$\" style=\"vertical-align: -1px\" width=\"61\" height=\"16\" >,<\/span> <span style=\"white-space:nowrap;\"><img src=\"\/\/latex.artofproblemsolving.com\/b\/5\/8\/b583284bde2729e1295d36e76433e81a76a8bf09.png\" class=\"latex\" alt=\"$c^2+abt$\" style=\"vertical-align: -1px\" width=\"61\" height=\"16\" >.<\/span>","post_canonical":"Determine all real constants $t$ such that whenever $a$, $b$ and $c$ are the lengths of sides of a triangle, then so are $a^2+bct$, $b^2+cat$, $c^2+abt$.","username":"shivangjindal","post_number":1,"post_format":"bbcode","category_name":"High School Olympiads","category_id":6,"poster_avatar":"\/\/avatar.artofproblemsolving.com\/avatar_146965.png"}});
AoPS.Community.categories[7].items.push({item_id : 3459750,item_text : "2",item_forum_id : 0,item_type : "post",item_main_color : "",item_secondary_color : ""
,post_data : {"post_id":3459750,"post_type":"forum","topic_id":585058,"poster_id":146965,"post_rendered":"Let <img src=\"\/\/latex.artofproblemsolving.com\/9\/f\/f\/9ffb448918db29f2a72f8f87f421b3b3cad18f95.png\" class=\"latex\" alt=\"$D$\" width=\"15\" height=\"12\" > and <img src=\"\/\/latex.artofproblemsolving.com\/f\/a\/2\/fa2fa899f0afb05d6837885523503a2d4df434f9.png\" class=\"latex\" alt=\"$E$\" width=\"14\" height=\"12\" > be points in the interiors of sides <img src=\"\/\/latex.artofproblemsolving.com\/5\/7\/e\/57ee5125358c0606c9b588580ddfa66f83e607b7.png\" class=\"latex\" alt=\"$AB$\" width=\"27\" height=\"13\" > and <span style=\"white-space:nowrap;\"><img src=\"\/\/latex.artofproblemsolving.com\/a\/1\/7\/a179ff2638e4799cadd820db205c2beff6299ce9.png\" class=\"latex\" alt=\"$AC$\" width=\"27\" height=\"13\" >,<\/span> respectively, of a triangle <span style=\"white-space:nowrap;\"><img src=\"\/\/latex.artofproblemsolving.com\/e\/2\/a\/e2a559986ed5a0ffc5654bd367c29dfc92913c36.png\" class=\"latex\" alt=\"$ABC$\" width=\"42\" height=\"13\" >,<\/span> such that <span style=\"white-space:nowrap;\"><img src=\"\/\/latex.artofproblemsolving.com\/5\/9\/5\/5954c8ce56621e52bd7465bd85aba65b872ddd29.png\" class=\"latex\" alt=\"$DB = BC = CE$\" width=\"136\" height=\"12\" >.<\/span> Let the lines <img src=\"\/\/latex.artofproblemsolving.com\/0\/9\/4\/0948661e822f2a953c43a57ac9e40b2734476de4.png\" class=\"latex\" alt=\"$CD$\" width=\"29\" height=\"12\" > and <img src=\"\/\/latex.artofproblemsolving.com\/a\/7\/b\/a7baf95ecafc2d7791788ec79aeeae390d60b119.png\" class=\"latex\" alt=\"$BE$\" width=\"28\" height=\"12\" > meet at <span style=\"white-space:nowrap;\"><img src=\"\/\/latex.artofproblemsolving.com\/a\/0\/5\/a055f405829e64a3b70253ab67cb45ed6ed5bb29.png\" class=\"latex\" alt=\"$F$\" width=\"14\" height=\"12\" >.<\/span> Prove that the incentre <img src=\"\/\/latex.artofproblemsolving.com\/0\/2\/7\/027f4a11d6090f9eac0ce2488df6384dad1263ea.png\" class=\"latex\" alt=\"$I$\" width=\"9\" height=\"12\" > of triangle <span style=\"white-space:nowrap;\"><img src=\"\/\/latex.artofproblemsolving.com\/e\/2\/a\/e2a559986ed5a0ffc5654bd367c29dfc92913c36.png\" class=\"latex\" alt=\"$ABC$\" width=\"42\" height=\"13\" >,<\/span> the orthocentre <img src=\"\/\/latex.artofproblemsolving.com\/b\/1\/9\/b1902d279ba37d60bdce4e0e987b7cd19d48974e.png\" class=\"latex\" alt=\"$H$\" width=\"16\" height=\"12\" > of triangle <img src=\"\/\/latex.artofproblemsolving.com\/2\/e\/9\/2e9e8b2c23e0545ef6de81f0ea578173e9ab7a64.png\" class=\"latex\" alt=\"$DEF$\" width=\"44\" height=\"12\" > and the midpoint <img src=\"\/\/latex.artofproblemsolving.com\/5\/d\/1\/5d1e4485dc90c450e8c76826516c1b2ccb8fce16.png\" class=\"latex\" alt=\"$M$\" width=\"19\" height=\"12\" > of the arc <img src=\"\/\/latex.artofproblemsolving.com\/2\/e\/d\/2edcdc0d73ef64ec441f60a3a8dccdbd10aa61a5.png\" class=\"latex\" alt=\"$BAC$\" width=\"42\" height=\"13\" > of the circumcircle of triangle <img src=\"\/\/latex.artofproblemsolving.com\/e\/2\/a\/e2a559986ed5a0ffc5654bd367c29dfc92913c36.png\" class=\"latex\" alt=\"$ABC$\" width=\"42\" height=\"13\" > are collinear.","post_canonical":"Let $D$ and $E$ be points in the interiors of sides $AB$ and $AC$, respectively, of a triangle $ABC$, such that $DB = BC = CE$. Let the lines $CD$ and $BE$ meet at $F$. Prove that the incentre $I$ of triangle $ABC$, the orthocentre $H$ of triangle $DEF$ and the midpoint $M$ of the arc $BAC$ of the circumcircle of triangle $ABC$ are collinear.","username":"shivangjindal","post_number":1,"post_format":"bbcode","category_name":"High School Olympiads","category_id":6,"poster_avatar":"\/\/avatar.artofproblemsolving.com\/avatar_146965.png"}});
AoPS.Community.categories[7].items.push({item_id : 3459754,item_text : "3",item_forum_id : 0,item_type : "post",item_main_color : "",item_secondary_color : ""
,post_data : {"post_id":3459754,"post_type":"forum","topic_id":585060,"poster_id":146965,"post_rendered":"We denote the number of positive divisors of a positive integer <img src=\"\/\/latex.artofproblemsolving.com\/f\/5\/0\/f5047d1e0cbb50ec208923a22cd517c55100fa7b.png\" class=\"latex\" alt=\"$m$\" width=\"15\" height=\"8\" > by <img src=\"\/\/latex.artofproblemsolving.com\/e\/3\/1\/e31583b08d7a4d2cfef6b1686c943f75bb920c49.png\" class=\"latex\" alt=\"$d(m)$\" style=\"vertical-align: -4px\" width=\"38\" height=\"18\" > and the number of distinct prime divisors of <img src=\"\/\/latex.artofproblemsolving.com\/f\/5\/0\/f5047d1e0cbb50ec208923a22cd517c55100fa7b.png\" class=\"latex\" alt=\"$m$\" width=\"15\" height=\"8\" > by <span style=\"white-space:nowrap;\"><img src=\"\/\/latex.artofproblemsolving.com\/9\/1\/9\/919dc0c0fa599acc4c13d5e8a75e19b33182f6f5.png\" class=\"latex\" alt=\"$\\omega(m)$\" style=\"vertical-align: -4px\" width=\"40\" height=\"18\" >.<\/span> Let <img src=\"\/\/latex.artofproblemsolving.com\/8\/c\/3\/8c325612684d41304b9751c175df7bcc0f61f64f.png\" class=\"latex\" alt=\"$k$\" width=\"9\" height=\"12\" > be a positive integer. Prove that there exist infinitely many positive integers <img src=\"\/\/latex.artofproblemsolving.com\/1\/7\/4\/174fadd07fd54c9afe288e96558c92e0c1da733a.png\" class=\"latex\" alt=\"$n$\" width=\"10\" height=\"8\" > such that <img src=\"\/\/latex.artofproblemsolving.com\/2\/c\/9\/2c9efe77e963a45b695222612888db8539c25243.png\" class=\"latex\" alt=\"$\\omega(n) = k$\" style=\"vertical-align: -4px\" width=\"71\" height=\"18\" > and <img src=\"\/\/latex.artofproblemsolving.com\/b\/0\/5\/b05725a6508fe8df761c6e91d2735b697ebd87d9.png\" class=\"latex\" alt=\"$d(n)$\" style=\"vertical-align: -4px\" width=\"33\" height=\"18\" > does not divide <img src=\"\/\/latex.artofproblemsolving.com\/1\/7\/b\/17b82e2b28496651fd8a395028161093503285a7.png\" class=\"latex\" alt=\"$d(a^2+b^2)$\" style=\"vertical-align: -4px\" width=\"76\" height=\"19\" > for any positive integers <img src=\"\/\/latex.artofproblemsolving.com\/3\/8\/3\/3834f0cef2a1f4d8524aa5bc8e3faca298550862.png\" class=\"latex\" alt=\"$a, b$\" style=\"vertical-align: -3px\" width=\"25\" height=\"16\" > satisfying <span style=\"white-space:nowrap;\"><img src=\"\/\/latex.artofproblemsolving.com\/d\/6\/d\/d6d145c0bf2d95f16f578fbd3045d9883173bcf0.png\" class=\"latex\" alt=\"$a + b = n$\" style=\"vertical-align: -1px\" width=\"74\" height=\"14\" >.<\/span>","post_canonical":"We denote the number of positive divisors of a positive integer $m$ by $d(m)$ and the number of distinct prime divisors of $m$ by $\\omega(m)$. Let $k$ be a positive integer. Prove that there exist infinitely many positive integers $n$ such that $\\omega(n) = k$ and $d(n)$ does not divide $d(a^2+b^2)$ for any positive integers $a, b$ satisfying $a + b = n$.","username":"shivangjindal","post_number":1,"post_format":"bbcode","category_name":"High School Olympiads","category_id":6,"poster_avatar":"\/\/avatar.artofproblemsolving.com\/avatar_146965.png"}});
AoPS.Community.categories[8] = {category_id : 2958087,category_name : "2022 Contests",num_topics : 0,num_posts : 0,main_color : "#356cb5",secondary_color : "#dae7f6",num_users : 0,short_description : "Contests in the 2021-22 school year",long_description : "",item_sort_type : "abc",category_type : "folder",has_source : false,has_halp : false,is_monitored : false,is_locked : true,has_announcements : false,has_thanks : false,has_nothanks : false,include_in_count : false,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : true};
AoPS.Community.categories[8].items = [];AoPS.Community.categories[8].items.push({item_id : 2829975,item_text : "2022 3rd Memorial &quot;Aleksandar Blazhevski-Cane&quot;",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "2022 3rd Memorial Mathematical Contest &quot;Aleksandar Blazhevski-Cane&quot;"});AoPS.Community.categories[8].items.push({item_id : 2977946,item_text : "2022 AIME Problems",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "AIME Problems 2022"});AoPS.Community.categories[8].items.push({item_id : 3004467,item_text : "2022 BAMO",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Problems from the 2022 BAMO-12 and BAMO-8 exams"});AoPS.Community.categories[8].items.push({item_id : 3003199,item_text : "2022 Brazil EGMO TST",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "EGMO Team Selection Test for Brazil 2022"});AoPS.Community.categories[8].items.push({item_id : 3016176,item_text : "2022 Bulgarian Spring Math Competition",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : ""});AoPS.Community.categories[8].items.push({item_id : 3012255,item_text : "2022 Canada National Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Canada National Olympiad 2022"});AoPS.Community.categories[8].items.push({item_id : 3012254,item_text : "2022 Canadian Junior Mathematical Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "CJMO - Canadian Junior Mathematical Olympiad 2022"});AoPS.Community.categories[8].items.push({item_id : 3009744,item_text : "2022 Caucasus Mathematical Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "VII Caucasus Mathematical Olympiad"});AoPS.Community.categories[8].items.push({item_id : 2742261,item_text : "2022 China National Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "China National Olympiad 22"});AoPS.Community.categories[8].items.push({item_id : 3014889,item_text : "2022 China Team Selection Test",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "China Team Selection Test 2022"});AoPS.Community.categories[8].items.push({item_id : 3012505,item_text : "2022 CMIMC",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Problems from the CMIMC 2022"});AoPS.Community.categories[8].items.push({item_id : 2995570,item_text : "2022 Cyprus JBMO TST",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : ""});AoPS.Community.categories[8].items.push({item_id : 2995676,item_text : "2022 Cyprus TST",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : ""});AoPS.Community.categories[8].items.push({item_id : 2431474,item_text : "2022 DIME",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Problems from the 2022 DIME (9/17/2021 - 12/31/2021)"});AoPS.Community.categories[8].items.push({item_id : 3016625,item_text : "2022 District Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "District Olympiad 2022"});AoPS.Community.categories[8].items.push({item_id : 2986892,item_text : "2022 EGMO TST - Romania",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "EGMO TST - Romania 2022"});AoPS.Community.categories[8].items.push({item_id : 3001576,item_text : "2022 Girls in Math at Yale",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : ""});AoPS.Community.categories[8].items.push({item_id : 3001273,item_text : "2022 Greece Junior Math Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "2021-22"});AoPS.Community.categories[8].items.push({item_id : 3000111,item_text : "2022 Greece National Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Greece National Olympiad 2022"});AoPS.Community.categories[8].items.push({item_id : 3010099,item_text : "2022 Harvard-MIT Mathematics Tournament",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Harvard-MIT Mathematics Tournament 2022"});AoPS.Community.categories[8].items.push({item_id : 2690929,item_text : "2022 ICMC",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "ICMC 2021-2022"});AoPS.Community.categories[8].items.push({item_id : 3006124,item_text : "2022 India National Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "India National Olympiad 2022"});AoPS.Community.categories[8].items.push({item_id : 2742268,item_text : "2022 Indonesia TST",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Indonesia IMO TST"});AoPS.Community.categories[8].items.push({item_id : 2992870,item_text : "2022 International Zhautykov Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "International Zhautykov Olympiad 2022"});AoPS.Community.categories[8].items.push({item_id : 3007444,item_text : "2022 IOQM India",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Indian Olympiad Qualifier in Mathematics"});AoPS.Community.categories[8].items.push({item_id : 2991639,item_text : "2022 Japan Junior MO Finals",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "JJMO Final Round 2022"});AoPS.Community.categories[8].items.push({item_id : 2991663,item_text : "2022 Japan Junior MO Preliminary",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : ""});AoPS.Community.categories[8].items.push({item_id : 2991653,item_text : "2022 Japan Mathematical Olympiad Preliminary",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Japan Mathematical Olympiad Preliminary 2022"});AoPS.Community.categories[8].items.push({item_id : 2991652,item_text : "2022 Japan MO Finals",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Japan MO Finals 2022"});AoPS.Community.categories[8].items.push({item_id : 3010662,item_text : "2022 JBMO TST - Turkey",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "JBMO TST - Turkey 2022"});AoPS.Community.categories[8].items.push({item_id : 2883098,item_text : "2022 Kyiv City MO Round 1",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Problems from the first round of Kyiv Mathematical Olympiad 2022"});AoPS.Community.categories[8].items.push({item_id : 2908206,item_text : "2022 Kyiv City MO Round 2",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Problems from the second round of Kyiv Mathematical Olympiad 2022"});AoPS.Community.categories[8].items.push({item_id : 3012070,item_text : "2022 Philippine MO",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Mathematical Olympiad 2022"});AoPS.Community.categories[8].items.push({item_id : 2984414,item_text : "2022 Poland - Second Round",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Second Round - Poland 2022"});AoPS.Community.categories[8].items.push({item_id : 3005618,item_text : "2022 Sharygin Geometry Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Sharygin Geometry Olympiad 2022"});AoPS.Community.categories[8].items.push({item_id : 2994643,item_text : "2022 Taiwan Mathematics Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : ""});AoPS.Community.categories[8].items.push({item_id : 3010935,item_text : "2022 Turkey EGMO TST",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Turkey EGMO TST 2022"});AoPS.Community.categories[8].items.push({item_id : 3010153,item_text : "2022 Turkey Team Selection Test",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Turkey Team Selection Test 2022"});AoPS.Community.categories[8].items.push({item_id : 3015327,item_text : "2022 USAJMO",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "USAJMO 2022"});AoPS.Community.categories[8].items.push({item_id : 3015506,item_text : "2022 USAMO -",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "USAMO 2022"});AoPS.Community.categories[8].items.push({item_id : 3016098,item_text : "2022 Utah Mathematical Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Utah Mathematical Olympiad 2022"});AoPS.Community.categories[8].items.push({item_id : 3004917,item_text : "2022 Vietnam National Olympiad",item_forum_id : 0,item_type : "view_posts",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "VMO 2022"});AoPS.Community.categories[9] = {category_id : 2,category_name : "AoPS Collection",num_topics : 0,num_posts : 0,main_color : "#356CB5",secondary_color : "#dae7f6",num_users : 1,short_description : "",long_description : "",item_sort_type : "manual",category_type : "folder",has_source : false,has_halp : false,is_monitored : false,is_locked : true,has_announcements : false,has_thanks : false,has_nothanks : false,include_in_count : false,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : false};
AoPS.Community.categories[9].items = [];AoPS.Community.categories[9].items.push({item_id : 3,item_text : "Middle School Math ",item_forum_id : 0,item_type : "forum",item_main_color : "#f90",item_secondary_color : "#fff5d4"
,item_subtitle : "Grades 5-8, Ages 10-13, MATHCOUNTS, AMC 8"});AoPS.Community.categories[9].items.push({item_id : 4,item_text : "High School Math",item_forum_id : 0,item_type : "forum",item_main_color : "#e75400",item_secondary_color : "#ffe7cc"
,item_subtitle : "Grades 9-12, Ages 13-18"});AoPS.Community.categories[9].items.push({item_id : 5,item_text : "Contests & Programs",item_forum_id : 0,item_type : "forum",item_main_color : "#008fd5",item_secondary_color : "#d9effd"
,item_subtitle : "AMC and other contests, summer programs, etc."});AoPS.Community.categories[9].items.push({item_id : 6,item_text : "High School Olympiads",item_forum_id : 0,item_type : "forum",item_main_color : "#029386",item_secondary_color : "#e1fff2"
,item_subtitle : "Regional, national, and international math olympiads"});AoPS.Community.categories[9].items.push({item_id : 7,item_text : "College Math",item_forum_id : 0,item_type : "forum",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
,item_subtitle : "Topics in undergraduate and graduate studies"});AoPS.Community.categories[9].items.push({item_id : 10,item_text : "Site Support",item_forum_id : 0,item_type : "forum",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
,item_subtitle : "Tech support and questions about AoPS classes and materials"});AoPS.Community.categories[9].items.push({item_id : 11,item_text : "AoPS Forums",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Forums for AoPS books, courses, and other resources."});AoPS.Community.categories[9].items.push({item_id : 13,item_text : "Contest Collections",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Collections of competitions from around the world."});AoPS.Community.categories[9].items.push({item_id : 9,item_text : "Other Forums",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Games, local and regional communities, and user-created forums."});AoPS.Community.categories[9].items.push({item_id : 12,item_text : "Special Collections",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Collections of forums, tags, topics, and posts from the AoPS community."});AoPS.Community.categories[9].no_more_items=true;AoPS.Community.categories[10] = {category_id : 11,category_name : "AoPS Forums",num_topics : 412,num_posts : 34141,main_color : "#356CB5",secondary_color : "#dae7f6",num_users : 33,short_description : "Forums for AoPS books, courses, and other resources.",long_description : "COPY NEEDED",item_sort_type : "manual",category_type : "folder",has_source : false,has_halp : false,is_monitored : false,is_locked : true,has_announcements : false,has_thanks : false,has_nothanks : false,include_in_count : false,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : false};
AoPS.Community.categories[10].items = [];AoPS.Community.categories[10].items.push({item_id : 70,item_text : "AoPS Online Classes",item_forum_id : 0,item_type : "forum",item_main_color : "#009fad",item_secondary_color : "#cdeef1"
,item_subtitle : "Questions and information about AoPS classes"});AoPS.Community.categories[10].items.push({item_id : 71,item_text : "AoPS Books",item_forum_id : 0,item_type : "forum",item_main_color : "#008345",item_secondary_color : "#ddedcd"
,item_subtitle : "Questions and information about AoPS books"});AoPS.Community.categories[10].items.push({item_id : 63,item_text : "Alcumus",item_forum_id : 0,item_type : "forum",item_main_color : "#1F3D7B",item_secondary_color : "#D9E3F9"
,item_subtitle : "The free AoPS online learning system"});AoPS.Community.categories[10].items.push({item_id : 50,item_text : "For the Win! Problem Discussion",item_forum_id : 0,item_type : "forum",item_main_color : "#1F3D7B",item_secondary_color : "#D9E3F9"
,item_subtitle : "Discussion of problems found on For the Win!"});AoPS.Community.categories[10].items.push({item_id : 101841,item_text : "MATHCOUNTS Trainer",item_forum_id : 0,item_type : "forum",item_main_color : "#1f3d7b",item_secondary_color : "#d9e3f9"
,item_subtitle : "Discuss the AoPS MATHCOUNTS Trainer"});AoPS.Community.categories[10].items.push({item_id : 64,item_text : "AoPS Videos",item_forum_id : 0,item_type : "forum",item_main_color : "#1F3D7B",item_secondary_color : "#D9E3F9"
,item_subtitle : "AoPS Videos from the AoPS Resources pages"});AoPS.Community.categories[10].items.push({item_id : 1105845,item_text : "Keep Learning",item_forum_id : 0,item_type : "forum",item_main_color : "#1F3D7B",item_secondary_color : "#D9E3F9"
,item_subtitle : "Resources for users at home during the COVID-19 crisis"});AoPS.Community.categories[10].items.push({item_id : 797193,item_text : "Graph Coloring",item_forum_id : 0,item_type : "forum",item_main_color : "#1F3D7B",item_secondary_color : "#D9E3F9"
,item_subtitle : "CrowdMath project forum"});AoPS.Community.categories[10].items.push({item_id : 66,item_text : "AoPS Blogs Discussions",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Creating, using, and styling blogs on AoPS"});AoPS.Community.categories[10].items.push({item_id : 65,item_text : "AoPS Wiki Discussions",item_forum_id : 0,item_type : "forum",item_main_color : "#1F3D7B",item_secondary_color : "#D9E3F9"
,item_subtitle : "Content and operation of the AoPS Wiki"});AoPS.Community.categories[10].items.push({item_id : 68,item_text : "LaTeX and Asymptote",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Mathematical typesetting with LaTeX and Asymptote"});AoPS.Community.categories[10].items.push({item_id : 67,item_text : "Test Forum",item_forum_id : 0,item_type : "forum",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Test forum features here; all posts are temporary"});AoPS.Community.categories[10].no_more_items=true;AoPS.Community.categories[11] = {category_id : 12,category_name : "Special Collections",num_topics : 0,num_posts : 0,main_color : "#356CB5",secondary_color : "#dae7f6",num_users : 1,short_description : "Collections of forums, tags, topics, and posts from the AoPS community.",long_description : "Create a new collection on your <a data-cmty href='/community/my-aops'><span class='aops-font'>A</span>My AoPS</a> page.",item_sort_type : "manual",category_type : "folder_collections",has_source : false,has_halp : false,is_monitored : false,is_locked : true,has_announcements : false,has_thanks : false,has_nothanks : false,include_in_count : false,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : false};
AoPS.Community.categories[11].items = [];AoPS.Community.categories[11].items.push({item_id : 8,item_text : "Games Forums",item_forum_id : 0,item_type : "folder",item_main_color : "#c20078",item_secondary_color : "#ffe3ff"
,item_subtitle : "FTW, Mafia, video games, etc."});AoPS.Community.categories[11].items.push({item_id : 21,item_text : "Sciences",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Chemistry, physics, biology, and other sciences."});AoPS.Community.categories[11].items.push({item_id : 89,item_text : "AoPS Olympiad & College Portal",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Customized for Olympiad & College students "});AoPS.Community.categories[11].items.push({item_id : 46,item_text : "Other Interests",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Current events, music, arts, etc."});AoPS.Community.categories[11].items.push({item_id : 72,item_text : "Contest Forums",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Forums for specific contests"});AoPS.Community.categories[11].items.push({item_id : 73,item_text : "Summer Program Forums",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Forums for specific summer programs"});AoPS.Community.categories[11].items.push({item_id : 30,item_text : "Olympiad Classic View",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "High School Olympiads in the old AoPS style"});AoPS.Community.categories[11].items.push({item_id : 31,item_text : "College Classic View",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "College Math in the old AoPS style"});AoPS.Community.categories[11].items.push({item_id : 24,item_text : "Communities Around the World",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Local and National Communities around the World"});AoPS.Community.categories[11].items.push({item_id : 74,item_text : "New Forums",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Public forums created in the last month"});AoPS.Community.categories[11].items.push({item_id : 88,item_text : "AoPS Blogroll",item_forum_id : 0,item_type : "blogroll",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "User-created blogs"});AoPS.Community.categories[11].items.push({item_id : 105,item_text : "Other Collections",item_forum_id : 0,item_type : "folder_collections",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "User-created collections."});AoPS.Community.categories[11].items.push({item_id : 106,item_text : "New Collections",item_forum_id : 0,item_type : "folder_collections",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "New user-created collections."});AoPS.Community.categories[11].items.push({item_id : 51,item_text : "After High School",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Discussions about college and careers"});AoPS.Community.categories[11].items.push({item_id : 20,item_text : "Publications",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Forums for specific books and journals"});AoPS.Community.categories[11].no_more_items=true;AoPS.Community.categories[12] = {category_id : 13,category_name : "Contest Collections",num_topics : 0,num_posts : 0,main_color : "#356CB5",secondary_color : "#dae7f6",num_users : 1,short_description : "Collections of competitions from around the world.",long_description : "",item_sort_type : "manual",category_type : "folder",has_source : false,has_halp : false,is_monitored : false,is_locked : true,has_announcements : false,has_thanks : false,has_nothanks : false,include_in_count : false,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : false};
AoPS.Community.categories[12].items = [];AoPS.Community.categories[12].items.push({item_id : 14,item_text : "International Contests",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "International competitions"});AoPS.Community.categories[12].items.push({item_id : 16,item_text : "National and Regional Contests",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "National and regional competitions"});AoPS.Community.categories[12].items.push({item_id : 15,item_text : "Undergraduate Contests",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Collegiate competitions"});AoPS.Community.categories[12].items.push({item_id : 58,item_text : "National Olympiads",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "National math olympiads from around the world"});AoPS.Community.categories[12].items.push({item_id : 59,item_text : "Team Selection Tests",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "IMO Team Selection Tests"});AoPS.Community.categories[12].items.push({item_id : 62,item_text : "Junior Olympiads",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Junior olympiads from around the world"});AoPS.Community.categories[12].items.push({item_id : 2958087,item_text : "2022 Contests",item_forum_id : 0,item_type : "folder",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Contests in the 2021-22 school year"});AoPS.Community.categories[12].items.push({item_id : 1964313,item_text : "2021 Contests",item_forum_id : 0,item_type : "folder",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Contests in the 2020-21 school year"});AoPS.Community.categories[12].items.push({item_id : 934345,item_text : "2020 Contests",item_forum_id : 0,item_type : "folder",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Contests in the 2019-20 school year"});AoPS.Community.categories[12].items.push({item_id : 801582,item_text : "2019 Contests",item_forum_id : 0,item_type : "folder",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Contests in the 2018-19 school year"});AoPS.Community.categories[12].items.push({item_id : 116,item_text : "New Post Collections",item_forum_id : 0,item_type : "folder_collections",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "New contests and other new collections of posts"});AoPS.Community.categories[12].items.push({item_id : 40244,item_text : "Contest Collections Discussion",item_forum_id : 0,item_type : "forum",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "For sets of contest problems to and requests for the Contest Collections"});AoPS.Community.categories[12].no_more_items=true;AoPS.Community.categories[13] = {category_id : 30,category_name : "Olympiad Classic View",num_topics : 0,num_posts : 0,main_color : "#356CB5",secondary_color : "#dae7f6",num_users : 1,short_description : "High School Olympiads in the old AoPS style",long_description : "",item_sort_type : "manual",category_type : "folder",has_source : false,has_halp : false,is_monitored : false,is_locked : true,has_announcements : false,has_thanks : false,has_nothanks : false,include_in_count : false,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : false};
AoPS.Community.categories[13].items = [];AoPS.Community.categories[13].items.push({item_id : 32,item_text : "Olympiad Algebra",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Algebra discussions in the High School Olympiads forum"});AoPS.Community.categories[13].items.push({item_id : 33,item_text : "Olympiad Combinatorics",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Combinatorics discussions in the High School Olympiads forum"});AoPS.Community.categories[13].items.push({item_id : 36,item_text : "Olympiad Geometry",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Geometry discussions in the High School Olympiads forum"});AoPS.Community.categories[13].items.push({item_id : 34,item_text : "Olympiad Inequalities",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Inequalities discussions in the High School Olympiads forum"});AoPS.Community.categories[13].items.push({item_id : 35,item_text : "Olympiad Number Theory",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Number Theory discussions in the High School Olympiads forum"});AoPS.Community.categories[13].items.push({item_id : 37,item_text : "Contests and Problem Sets",item_forum_id : 0,item_type : "view_tags",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "IMO, other contest, and problem sets"});AoPS.Community.categories[13].items.push({item_id : 13188,item_text : "Olympiad Articles",item_forum_id : 0,item_type : "view_topics",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "The equivalent of the old Olympiad Articles forum, for student-written articles as well as discussion of articles from outside sources. Please post your article in one of the forums and then PM a mod/admin of this collection to add it."});AoPS.Community.categories[13].no_more_items=true;AoPS.Community.categories[14] = {category_id : 31,category_name : "College Classic View",num_topics : 0,num_posts : 0,main_color : "#356CB5",secondary_color : "#dae7f6",num_users : 0,short_description : "College Math in the old AoPS style",long_description : "",item_sort_type : "manual",category_type : "folder",has_source : false,has_halp : false,is_monitored : false,is_locked : true,has_announcements : false,has_thanks : false,has_nothanks : false,include_in_count : false,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : false};
AoPS.Community.categories[14].items = [];AoPS.Community.categories[14].items.push({item_id : 38,item_text : "Calculus - Real Analysis",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Calculus and real analysis discussions in the College Math forum"});AoPS.Community.categories[14].items.push({item_id : 39,item_text : "Linear Algebra",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Linear algebra discussions in the College Math forum"});AoPS.Community.categories[14].items.push({item_id : 40,item_text : "Superior Algebra",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Superior algebra discussions in the College Math forum"});AoPS.Community.categories[14].items.push({item_id : 41,item_text : "Complex Analysis",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Complex analysis discussions in the College Math forum"});AoPS.Community.categories[14].items.push({item_id : 42,item_text : "Collegiate Advanced Fields",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Advanced collegiate fields discussions in the College Math forum"});AoPS.Community.categories[14].items.push({item_id : 44,item_text : "Probability and Stats",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Probability and statistics discussions in the College Math forum"});AoPS.Community.categories[14].items.push({item_id : 45,item_text : "Topology",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Topology discussions in the College Math forum"});AoPS.Community.categories[14].items.push({item_id : 43,item_text : "College Contests & Research",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "College contests and research discussions in the College Math forum"});AoPS.Community.categories[14].no_more_items=true;AoPS.Community.categories[15] = {category_id : 89,category_name : "AoPS Olympiad & College Portal",num_topics : 0,num_posts : 0,main_color : "#356CB5",secondary_color : "#dae7f6",num_users : 1,short_description : "Customized for Olympiad & College students ",long_description : "Customized for Olympiad & College students ",item_sort_type : "manual",category_type : "folder",has_source : false,has_halp : false,is_monitored : false,is_locked : true,has_announcements : false,has_thanks : false,has_nothanks : false,include_in_count : false,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : false};
AoPS.Community.categories[15].items = [];AoPS.Community.categories[15].items.push({item_id : 6,item_text : "High School Olympiads",item_forum_id : 0,item_type : "forum",item_main_color : "#029386",item_secondary_color : "#e1fff2"
,item_subtitle : "Regional, national, and international math olympiads"});AoPS.Community.categories[15].items.push({item_id : 7,item_text : "College Math",item_forum_id : 0,item_type : "forum",item_main_color : "#511e8f",item_secondary_color : "#f2e6fe"
,item_subtitle : "Topics in undergraduate and graduate studies"});AoPS.Community.categories[15].items.push({item_id : 90,item_text : "Problem of the Day",item_forum_id : 0,item_type : "view_posts",item_main_color : "#990000",item_secondary_color : "#FFDADA"
,item_subtitle : "2007 Argentina Team Selection Test"});AoPS.Community.categories[15].items.push({item_id : 91,item_text : "Contest of the Week",item_forum_id : 0,item_type : "view_posts",item_main_color : "#990000",item_secondary_color : "#FFDADA"
,item_subtitle : "2014 EGMO"});AoPS.Community.categories[15].items.push({item_id : 10,item_text : "Site Support",item_forum_id : 0,item_type : "forum",item_main_color : "#a90008",item_secondary_color : "#ffe4e1"
,item_subtitle : "Tech support and questions about AoPS classes and materials"});AoPS.Community.categories[15].items.push({item_id : 11,item_text : "AoPS Forums",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Forums for AoPS books, courses, and other resources."});AoPS.Community.categories[15].items.push({item_id : 13,item_text : "Contests",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Collections of competitions from around the world."});AoPS.Community.categories[15].items.push({item_id : 30,item_text : "Olympiad Classic View",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "High School Olympiads in the old AoPS style"});AoPS.Community.categories[15].items.push({item_id : 31,item_text : "College Classic View",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "College Math in the old AoPS style"});AoPS.Community.categories[15].items.push({item_id : 9,item_text : "Other Forums",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Games, local and regional communities, and user-created forums."});AoPS.Community.categories[15].items.push({item_id : 12,item_text : "Special Collections",item_forum_id : 0,item_type : "folder",item_main_color : "#356CB5",item_secondary_color : "#dae7f6"
,item_subtitle : "Collections of forums, tags, topics, and posts from the AoPS community."});AoPS.Community.categories[15].items.push({item_id : 2958087,item_text : "2022 Contests",item_forum_id : 0,item_type : "folder",item_main_color : "#356cb5",item_secondary_color : "#dae7f6"
,item_subtitle : "Contests in the 2021-22 school year"});AoPS.Community.categories[15].no_more_items=true;AoPS.Community.categories[16] = {category_id : 90,category_name : "Problem of the Day",num_topics : 0,num_posts : 0,main_color : "#990000",secondary_color : "#FFDADA",num_users : 1,short_description : "2007 Argentina Team Selection Test",long_description : "",item_sort_type : "manual",category_type : "view_posts",has_source : false,has_halp : false,is_monitored : false,is_locked : true,has_announcements : false,has_thanks : false,has_nothanks : false,include_in_count : false,include_in_thank_count : true,include_in_nothank_count : true,include_in_dynamic_collections : false};
AoPS.Community.categories[16].items = [];AoPS.Community.categories[16].items.push({item_id : 1614224,item_text : "",item_forum_id : 1,item_type : "post",item_main_color : "",item_secondary_color : ""
,post_data : {"post_id":1614224,"post_type":"forum","topic_id":298034,"poster_id":44461,"post_rendered":"Let <img src=\"\/\/latex.artofproblemsolving.com\/7\/a\/6\/7a69b356c30dc0e6e574aa607ed8c0387b2e3720.png\" class=\"latex\" alt=\"$ d_1,d_2 \\ldots, d_r$\" style=\"vertical-align: -3px\" width=\"93\" height=\"16\" > be the positive divisors of <img src=\"\/\/latex.artofproblemsolving.com\/6\/d\/3\/6d3f8b726378d5420223c5cb14b10f24b202b187.png\" class=\"latex\" alt=\"$ n$\" width=\"10\" height=\"8\" ><br>\n<img src=\"\/\/latex.artofproblemsolving.com\/5\/a\/2\/5a2aea46e629a76c8360a499b552b8955a77350c.png\" class=\"latex\" alt=\"$ 1=d_1&lt;d_2&lt; \\ldots &lt;d_r=n$\" style=\"vertical-align: -2px\" width=\"212\" height=\"15\" ><br>\nIf <img src=\"\/\/latex.artofproblemsolving.com\/f\/f\/d\/ffde4cc95e45408e3dce494dff344b293458f751.png\" class=\"latex\" alt=\"$ (d_7)^2 + (d_{15})^2= (d_{16})^2$\" style=\"vertical-align: -4px\" width=\"173\" height=\"19\" > find all posible values of <img src=\"\/\/latex.artofproblemsolving.com\/6\/7\/3\/673b4cd3225107602230080c50d1f27924cb8e4b.png\" class=\"latex\" alt=\"$ d_{17}$\" style=\"vertical-align: -2px\" width=\"22\" height=\"15\" >","post_canonical":"Let $ d_1,d_2 \\ldots, d_r$ be the positive divisors of $ n$\r\n$ 1\\equal{}d_1<d_2< \\ldots <d_r\\equal{}n$\r\nIf $ (d_7)^2 \\plus{} (d_{15})^2\\equal{} (d_{16})^2$ find all posible values of $ d_{17}$","username":"lambruscokid","post_number":1,"post_format":"bbcode","category_name":"High School Olympiads","category_id":6,"poster_avatar":"\/\/avatar.artofproblemsolving.com\/no-avatar.png"}});
AoPS.Community.categories[16].no_more_items=true;

View File

@ -0,0 +1 @@
.community-background-color .round-dropdown:before{content:"";color:#009fad;cursor:default;font-size:16px;-webkit-transform:none;transform:none}.cmty-search-bar-icon{position:absolute;color:#009fad;cursor:pointer;font-size:16px;-webkit-transform:none;transform:none;right:10px;font-family:AoPS}.cmty-main-crumb-search{width:238px;color:#009fad;background-color:#fff}.cmty-main-crumb-search input{width:222px;clear:both;padding:0;height:20px;border:none;border-radius:0;background-color:transparent}.cmty-main-crumb-search input:focus{outline:0}.header-user-data-bottom a{margin-right:5px}.header-box .cmty-icon-w-text:hover{border-bottom:1px solid #fff}.header-community .header-user-data-bottom a:hover{text-decoration:none}#community-panel .aops-icon{font-size:16px;padding-right:2px;font-family:AoPS}@media (max-width:800px){.cmty-phone-hide{display:none!important}}@media (max-width:930px){.header-user-data-bottom a:nth-child(3){display:none}}@media (max-width:767px){.cmty-main-crumb-search{width:550px}.cmty-main-crumb-search input{width:538px}}@media (max-width:650px){.cmty-main-crumb-search{width:450px}.cmty-main-crumb-search input{width:438px}}@media (max-width:550px){.cmty-main-crumb-search{width:350px}.cmty-main-crumb-search input{width:338px}}@media (max-width:450px){.cmty-main-crumb-search{width:236px}.cmty-main-crumb-search input{width:220px}}@media (max-width:400px){.cmty-main-crumb-search{width:216px}.cmty-main-crumb-search input{width:200px}#community-panel .cmty-category-cell-number{font-size:12px}}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,388 @@
/*
* The MIT License
* Copyright (c) 2012 Matias Meno <m@tias.me>
*/
@-webkit-keyframes passing-through {
0% {
opacity: 0;
-webkit-transform: translateY(40px);
-moz-transform: translateY(40px);
-ms-transform: translateY(40px);
-o-transform: translateY(40px);
transform: translateY(40px); }
30%, 70% {
opacity: 1;
-webkit-transform: translateY(0px);
-moz-transform: translateY(0px);
-ms-transform: translateY(0px);
-o-transform: translateY(0px);
transform: translateY(0px); }
100% {
opacity: 0;
-webkit-transform: translateY(-40px);
-moz-transform: translateY(-40px);
-ms-transform: translateY(-40px);
-o-transform: translateY(-40px);
transform: translateY(-40px); } }
@-moz-keyframes passing-through {
0% {
opacity: 0;
-webkit-transform: translateY(40px);
-moz-transform: translateY(40px);
-ms-transform: translateY(40px);
-o-transform: translateY(40px);
transform: translateY(40px); }
30%, 70% {
opacity: 1;
-webkit-transform: translateY(0px);
-moz-transform: translateY(0px);
-ms-transform: translateY(0px);
-o-transform: translateY(0px);
transform: translateY(0px); }
100% {
opacity: 0;
-webkit-transform: translateY(-40px);
-moz-transform: translateY(-40px);
-ms-transform: translateY(-40px);
-o-transform: translateY(-40px);
transform: translateY(-40px); } }
@keyframes passing-through {
0% {
opacity: 0;
-webkit-transform: translateY(40px);
-moz-transform: translateY(40px);
-ms-transform: translateY(40px);
-o-transform: translateY(40px);
transform: translateY(40px); }
30%, 70% {
opacity: 1;
-webkit-transform: translateY(0px);
-moz-transform: translateY(0px);
-ms-transform: translateY(0px);
-o-transform: translateY(0px);
transform: translateY(0px); }
100% {
opacity: 0;
-webkit-transform: translateY(-40px);
-moz-transform: translateY(-40px);
-ms-transform: translateY(-40px);
-o-transform: translateY(-40px);
transform: translateY(-40px); } }
@-webkit-keyframes slide-in {
0% {
opacity: 0;
-webkit-transform: translateY(40px);
-moz-transform: translateY(40px);
-ms-transform: translateY(40px);
-o-transform: translateY(40px);
transform: translateY(40px); }
30% {
opacity: 1;
-webkit-transform: translateY(0px);
-moz-transform: translateY(0px);
-ms-transform: translateY(0px);
-o-transform: translateY(0px);
transform: translateY(0px); } }
@-moz-keyframes slide-in {
0% {
opacity: 0;
-webkit-transform: translateY(40px);
-moz-transform: translateY(40px);
-ms-transform: translateY(40px);
-o-transform: translateY(40px);
transform: translateY(40px); }
30% {
opacity: 1;
-webkit-transform: translateY(0px);
-moz-transform: translateY(0px);
-ms-transform: translateY(0px);
-o-transform: translateY(0px);
transform: translateY(0px); } }
@keyframes slide-in {
0% {
opacity: 0;
-webkit-transform: translateY(40px);
-moz-transform: translateY(40px);
-ms-transform: translateY(40px);
-o-transform: translateY(40px);
transform: translateY(40px); }
30% {
opacity: 1;
-webkit-transform: translateY(0px);
-moz-transform: translateY(0px);
-ms-transform: translateY(0px);
-o-transform: translateY(0px);
transform: translateY(0px); } }
@-webkit-keyframes pulse {
0% {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1); }
10% {
-webkit-transform: scale(1.1);
-moz-transform: scale(1.1);
-ms-transform: scale(1.1);
-o-transform: scale(1.1);
transform: scale(1.1); }
20% {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1); } }
@-moz-keyframes pulse {
0% {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1); }
10% {
-webkit-transform: scale(1.1);
-moz-transform: scale(1.1);
-ms-transform: scale(1.1);
-o-transform: scale(1.1);
transform: scale(1.1); }
20% {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1); } }
@keyframes pulse {
0% {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1); }
10% {
-webkit-transform: scale(1.1);
-moz-transform: scale(1.1);
-ms-transform: scale(1.1);
-o-transform: scale(1.1);
transform: scale(1.1); }
20% {
-webkit-transform: scale(1);
-moz-transform: scale(1);
-ms-transform: scale(1);
-o-transform: scale(1);
transform: scale(1); } }
.dropzone, .dropzone * {
box-sizing: border-box; }
.dropzone {
min-height: 150px;
border: 2px solid rgba(0, 0, 0, 0.3);
background: white;
padding: 20px 20px; }
.dropzone.dz-clickable {
cursor: pointer; }
.dropzone.dz-clickable * {
cursor: default; }
.dropzone.dz-clickable .dz-message, .dropzone.dz-clickable .dz-message * {
cursor: pointer; }
.dropzone.dz-started .dz-message {
display: none; }
.dropzone.dz-drag-hover {
border-style: solid; }
.dropzone.dz-drag-hover .dz-message {
opacity: 0.5; }
.dropzone .dz-message {
text-align: center;
margin: 2em 0; }
.dropzone .dz-preview {
position: relative;
display: inline-block;
vertical-align: top;
margin: 16px;
min-height: 100px; }
.dropzone .dz-preview:hover {
z-index: 1000; }
.dropzone .dz-preview:hover .dz-details {
opacity: 1; }
.dropzone .dz-preview.dz-file-preview .dz-image {
border-radius: 20px;
background: #999;
background: linear-gradient(to bottom, #eee, #ddd); }
.dropzone .dz-preview.dz-file-preview .dz-details {
opacity: 1; }
.dropzone .dz-preview.dz-image-preview {
background: white; }
.dropzone .dz-preview.dz-image-preview .dz-details {
-webkit-transition: opacity 0.2s linear;
-moz-transition: opacity 0.2s linear;
-ms-transition: opacity 0.2s linear;
-o-transition: opacity 0.2s linear;
transition: opacity 0.2s linear; }
.dropzone .dz-preview .dz-remove {
font-size: 14px;
text-align: center;
display: block;
cursor: pointer;
border: none; }
.dropzone .dz-preview .dz-remove:hover {
text-decoration: underline; }
.dropzone .dz-preview:hover .dz-details {
opacity: 1; }
.dropzone .dz-preview .dz-details {
z-index: 20;
position: absolute;
top: 0;
left: 0;
opacity: 0;
font-size: 13px;
min-width: 100%;
max-width: 100%;
padding: 2em 1em;
text-align: center;
color: rgba(0, 0, 0, 0.9);
line-height: 150%; }
.dropzone .dz-preview .dz-details .dz-size {
margin-bottom: 1em;
font-size: 16px; }
.dropzone .dz-preview .dz-details .dz-filename {
white-space: nowrap; }
.dropzone .dz-preview .dz-details .dz-filename:hover span {
border: 1px solid rgba(200, 200, 200, 0.8);
background-color: rgba(255, 255, 255, 0.8); }
.dropzone .dz-preview .dz-details .dz-filename:not(:hover) {
overflow: hidden;
text-overflow: ellipsis; }
.dropzone .dz-preview .dz-details .dz-filename:not(:hover) span {
border: 1px solid transparent; }
.dropzone .dz-preview .dz-details .dz-filename span, .dropzone .dz-preview .dz-details .dz-size span {
background-color: rgba(255, 255, 255, 0.4);
padding: 0 0.4em;
border-radius: 3px; }
.dropzone .dz-preview:hover .dz-image img {
-webkit-transform: scale(1.05, 1.05);
-moz-transform: scale(1.05, 1.05);
-ms-transform: scale(1.05, 1.05);
-o-transform: scale(1.05, 1.05);
transform: scale(1.05, 1.05);
-webkit-filter: blur(8px);
filter: blur(8px); }
.dropzone .dz-preview .dz-image {
border-radius: 20px;
overflow: hidden;
width: 120px;
height: 120px;
position: relative;
display: block;
z-index: 10; }
.dropzone .dz-preview .dz-image img {
display: block; }
.dropzone .dz-preview.dz-success .dz-success-mark {
-webkit-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
-moz-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
-ms-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
-o-animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1);
animation: passing-through 3s cubic-bezier(0.77, 0, 0.175, 1); }
.dropzone .dz-preview.dz-error .dz-error-mark {
opacity: 1;
-webkit-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
-moz-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
-ms-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
-o-animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1);
animation: slide-in 3s cubic-bezier(0.77, 0, 0.175, 1); }
.dropzone .dz-preview .dz-success-mark, .dropzone .dz-preview .dz-error-mark {
pointer-events: none;
opacity: 0;
z-index: 500;
position: absolute;
display: block;
top: 50%;
left: 50%;
margin-left: -27px;
margin-top: -27px; }
.dropzone .dz-preview .dz-success-mark svg, .dropzone .dz-preview .dz-error-mark svg {
display: block;
width: 54px;
height: 54px; }
.dropzone .dz-preview.dz-processing .dz-progress {
opacity: 1;
-webkit-transition: all 0.2s linear;
-moz-transition: all 0.2s linear;
-ms-transition: all 0.2s linear;
-o-transition: all 0.2s linear;
transition: all 0.2s linear; }
.dropzone .dz-preview.dz-complete .dz-progress {
opacity: 0;
-webkit-transition: opacity 0.4s ease-in;
-moz-transition: opacity 0.4s ease-in;
-ms-transition: opacity 0.4s ease-in;
-o-transition: opacity 0.4s ease-in;
transition: opacity 0.4s ease-in; }
.dropzone .dz-preview:not(.dz-processing) .dz-progress {
-webkit-animation: pulse 6s ease infinite;
-moz-animation: pulse 6s ease infinite;
-ms-animation: pulse 6s ease infinite;
-o-animation: pulse 6s ease infinite;
animation: pulse 6s ease infinite; }
.dropzone .dz-preview .dz-progress {
opacity: 1;
z-index: 1000;
pointer-events: none;
position: absolute;
height: 16px;
left: 50%;
top: 50%;
margin-top: -8px;
width: 80px;
margin-left: -40px;
background: rgba(255, 255, 255, 0.9);
-webkit-transform: scale(1);
border-radius: 8px;
overflow: hidden; }
.dropzone .dz-preview .dz-progress .dz-upload {
background: #333;
background: linear-gradient(to bottom, #666, #444);
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 0;
-webkit-transition: width 300ms ease-in-out;
-moz-transition: width 300ms ease-in-out;
-ms-transition: width 300ms ease-in-out;
-o-transition: width 300ms ease-in-out;
transition: width 300ms ease-in-out; }
.dropzone .dz-preview.dz-error .dz-error-message {
display: block; }
.dropzone .dz-preview.dz-error:hover .dz-error-message {
opacity: 1;
pointer-events: auto; }
.dropzone .dz-preview .dz-error-message {
pointer-events: none;
z-index: 1000;
position: absolute;
display: block;
display: none;
opacity: 0;
-webkit-transition: opacity 0.3s ease;
-moz-transition: opacity 0.3s ease;
-ms-transition: opacity 0.3s ease;
-o-transition: opacity 0.3s ease;
transition: opacity 0.3s ease;
border-radius: 8px;
font-size: 13px;
top: 130px;
left: -10px;
width: 140px;
background: #be2626;
background: linear-gradient(to bottom, #be2626, #a92222);
padding: 0.5em 1.2em;
color: white; }
.dropzone .dz-preview .dz-error-message:after {
content: '';
position: absolute;
top: -6px;
left: 64px;
width: 0;
height: 0;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-bottom: 6px solid #be2626; }

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,35 @@
/* Copies a lot of ba-html-modal styles from ba repo */
.aops-html-modal-epic-fail {
position: absolute;
position: fixed;
top: 0;
width: 100%;
height: 100%;
background-color: #000000;
background-color: rgba(0, 0, 0, 0.5);
z-index: 1000000;
/* header is 99999, need to exceed that */
}
.aops-html-modal-inner-epic-fail {
width: 30%;
min-width: 200px;
margin: auto;
margin-top: 220px;
background-color: #ffffff;
border: 5px solid #c0c0c0;
font-size: 18px;
color: #606060;
text-align: center;
line-height: 140%;
}
.aops-html-modal-main-epic-fail {
padding: 30px 20px;
}
.aops-html-modal-bottom-epic-fail {
border-top: 1px solid #ddd;
background-color: #efefef;
padding: 10px;
}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,125 @@
/*
#navigation_box {
background-color : #20458c !important;
border-bottom : 1px dashed #fff !important;
padding : 2px 2px 3px !important;
font-size : 10pt !important;
display : block !important;
font-family : Arial !important;
height : 22px !important;
line-height : 14px !important;
position : absolute !important;
border-top : 0px !important;
border-right : 0px !important;
border-left : 0px !important;
-webkit-border-radius : 0px important;
left : 0 !important;
top : 0 !important;
z-index : 900000 !important;
width : 100% !important;
margin : 0 !important;
}
#wrapper {
z-index : 1 !important;
}
#navigation_box a {
color : #fff !important;
font-size : 10pt !important;
display : inline-block !important;
font-family : Arial !important;
line-height : 14px !important;
border : none !important;
margin : 0 !important;
padding : 0 !important;
}
#left_navigation_box {
float : left !important ;
text-align : left !important;
color : white !important;
width : auto;
font-size : 11pt !important;
display : block !important;
font-family : Arial !important;
margin : 0 !important;
padding : 0 !important;
position : relative !important;
left : 0 !important;
top : 0 !important;
height : 22px !important;
line-height : 14px !important;
border : none !important;
}
#right_navigation_box {
float : right !important;
text-align : right !important;
width : auto !important;
color : white !important;
font-size : 11pt !important;
position : relative !important;
display : block !important;
font-family : Arial !important;
height : 22px !important;
right : 0 !important;
margin : 0 !important;
padding : 0 !important;
top : 0 !important;
line-height : 14px !important;
border : none !important;
}
*/
/* Start deleted post */
.cmty-post-is-deleted .commentwrap {
display: none !important;
background-color: #ddd !important;
}
.cmty-post-is-deleted .modactions {
display: none !important;
}
.cmty-post-is-deleted .cmty-post-deleted-info {
display: block !important;
}
.cmty-deleted-info-post-open {
display: none !important;
}
.cmty-post-deleted-info {
position: relative !important;
width: 100% !important;
background-color: #fff !important;
padding: 5px !important;
}
.cmty-undelete-post {
float: right !important;
}
.cmty-post-deleted-open .commentwrap {
display: block !important;
}
.cmty-post-deleted-open .cmty-deleted-info-post-closed {
display: none !important;
}
.cmty-post-deleted-open .cmty-deleted-info-post-open {
display: block !important;
}
/* End deleted post */
@media (max-width: 480px), (max-height: 480px) {
a.blog-info {
display: none !important;
}
}

View File

@ -0,0 +1,630 @@
input,
select,
textarea {
border: 1px solid #d0d0d0;
font-family: "Roboto", sans-serif;
font-size: 13px;
}
button,
input[type="reset"],
input[type="button"],
input[type="submit"] {
padding: 0 6px;
text-align: center;
white-space: pre;
}
.deleted {
background-color: #a19ca6;
}
.foe {
background-color: #ff6600;
}
.num_replies {
float: right;
}
.no_blogs {
text-align: center;
font-size: 1.3em;
font-weight: bold;
}
#replies {
text-align: center;
margin-top: 15px;
}
/**
* Left menu
*/
#left_menu {
width: 240px;
vertical-align: top;
}
#blog_searchform {
color: #ffffff;
margin-top: 5px;
white-space: nowrap;
}
/**
* Standard CSS
*/
body {
font-size: 11pt;
font-family: Arial;
text-align: center;
margin: 0;
padding: 0;
display: block;
background-image: none;
background-color: transparent;
}
textarea {
padding: 5px;
line-height: 1.4em;
}
.inputbox {
width: 100%;
}
a:hover {
color: #376fc0;
text-decoration: underline;
}
a:visited {
color: #0066cc;
text-decoration: none;
}
a:link {
color: #2188e0;
text-decoration: none;
}
.cmty-post-username a:link,
.cmty-post-username a:visited {
color: black;
}
h1 {
display: block;
font-weight: normal;
letter-spacing: 1px;
margin: 0;
font-size: 16pt;
}
a h1:hover {
text-decoration: underline;
}
h2 {
color: #0066cc;
font-size: 10pt;
font-weight: normal;
margin: 0;
}
img {
border: 0 none;
max-width: 100%;
}
#wrapper {
background: white url(/m/community/img/blogs/hyperion/bg.png) repeat-y scroll
right center;
border-bottom: 1px solid #bcbcbc;
border-left: 1px solid #bcbcbc;
border-right: 1px solid #bcbcbc;
margin-left: auto;
margin-right: auto;
padding: 0 2px 2px;
text-align: center;
width: 800px;
}
#header {
background: #efefef none repeat scroll 0 0;
clear: both;
font-family: Tahoma;
font-size: 5em;
line-height: 1.5em;
height: auto;
width: auto;
overflow: auto;
vertical-align: middle;
white-space: nowrap;
border-top: 5px solid #cccccc;
border-bottom: 5px solid #cccccc;
z-index: 1;
}
#main {
width: 530px;
padding: 5px;
float: left;
}
div#header h1 {
text-align: center;
}
#content {
text-align: left;
}
div.entry {
border-bottom: 1px dashed #cccccc;
margin-top: 1em;
overflow-y: visible;
padding-bottom: 1em;
}
div.entry h1 {
padding: 0.1em;
overflow: hidden;
}
div .entrywrap,
div .entrywrap-hover {
background-color: #dedede;
border: 1px solid black;
margin: 0.5em;
overflow-y: visible;
padding: 0.5em;
height: 99%;
position: relative;
}
#navigation_box {
background-color: #006699;
border-bottom: 1px dashed #fff;
padding: 2px 2px 3px;
}
#navigation_box a {
color: #fff;
}
#left_navigation_box {
float: left;
text-align: left;
width: auto;
}
#right_navigation_box {
float: right;
text-align: right;
width: auto;
}
div.comment {
clear: both;
}
div.actions {
float: left;
font-size: 10px;
padding: 0.5em;
text-align: left;
}
div.modactions {
float: right;
font-size: 10px;
padding: 0.5em 0 0;
text-align: right;
}
div.cfooter div.actions {
padding: 0;
}
div.modactions ul,
div.actions ul {
border: medium none;
display: inline;
list-style-image: none;
list-style-position: outside;
list-style-type: square;
margin-left: 0;
padding-left: 0;
}
div.modactions ul li,
div.actions ul li {
border: medium none;
display: inline;
margin-left: 0;
margin-top: 0.2em;
/*padding : 0.2em 0.5em 0;NEW-REMOVE*/
}
div.modactions ul li a,
div.actions ul li a {
display: inline;
text-decoration: underline;
}
div.comment {
border-bottom: 1px solid #ccc;
margin-top: 1em;
overflow: auto;
/*padding-bottom : 1em;NEW-REMOVED */
}
div.commentwrap {
height: auto;
overflow: auto;
padding: 0.5em 0.5em 0 0.5em;
width: 97%;
position: relative;
/*margin : 0 auto 10px auto; NEW-REMOVED*/
}
input.helpline {
display: none;
}
.clear {
clear: both;
}
fieldset.admin dt {
border-right: 1px solid #ccc;
float: left;
padding-top: 3px;
text-align: left;
width: 45%;
}
fieldset.admin dd {
border: none;
margin: 0 0 0 45%;
padding: 0 0 0 5px;
vertical-align: top;
}
#side {
float: right;
line-height: 1.4em;
margin: 0;
padding: 5px;
width: 258px;
}
#side .block {
clear: both;
padding: 1em 0;
}
#side .widget {
margin-bottom: 2em;
}
.widget-title {
font-size: 13px;
font-weight: bold;
padding-bottom: 2px;
}
fieldset {
border: 2px groove threedface;
display: block;
background-color: transparent;
margin: 0 2px;
padding: 0; /*0.35em 0.625em 0.75em;/* this was commented out once */
}
fieldset ul {
list-style-image: none;
list-style-position: outside;
list-style-type: none;
margin: 0;
padding: 0;
}
.row1 {
background-color: #f9f9f9;
}
.row2 {
background-color: #f0f0f0;
}
fieldset.submit-buttons {
text-align: center;
}
div.quotetitle,
div.quotecontent {
background-color: #ebeadd;
border-right: 1px solid #dbdbce;
border-left: 1px solid #dbdbce;
}
div.quotecontent {
border-bottom: 1px solid #dbdbce;
}
div.quotetitle {
border-top: 1px solid #dbdbce;
font-weight: bold;
}
ul.cats li {
font-size: 8pt;
line-height: 24px;
}
img.latexcenter {
display: block;
margin: auto;
text-align: center;
}
.hidden-label {
color: blue;
text-decoration: underline;
cursor: pointer;
}
#blog-errors {
margin: 1em;
border: 2px solid #800;
background-color: #eee;
font-size: 16px;
}
div.post-tags {
margin: 5px 0;
font-weight: bold;
}
a:link.post-tag,
a:visited.post-tag {
font-weight: normal;
}
/** New material **/
/** Loader for when stuff is being fetched from the server **/
.blog-loader {
background: url(/assets/images/logo-ludicrous.gif) center center no-repeat;
width: 100%;
height: 40px;
}
/** Start scrollbars in the side panel **/
.blog-scroll-outer {
width: 100%;
height: 100%;
left: 0px;
padding: 0.35em 0.625em 0.75em;
}
.blog-scroll-outer .aops-scroll-inner {
width: calc(100% + 26px);
width: -webkit-calc(100% + 26px);
}
.blog-scroll-outer .aops-scroll-content {
width: 221px;
}
.blog-scroll-outer .aops-scroll-bar {
right: 7px;
height: calc(100% - 1.1em);
height: -webkit-calc(100% - 1.1em);
}
/** End scrollbars in the side panel **/
/** Start archive stuff in the side panel **/
.archive-month {
font-size: 10pt;
}
.archive-month-header {
cursor: pointer;
}
.archive-row {
padding-bottom: 2px;
padding-left: 39px;
text-indent: -24px;
overflow: hidden;
}
.archive-month-collapsed {
display: none;
}
/** Start shoutbox stuff **/
#shouts-widget fieldset.blog-shout-wrapper {
height: 400px; /* Height of the shoutbox */
}
.blog-shout-wrapper .aops-scroll-content {
width: 208px;
}
.blog-shout .aops-icon {
font-size: 16px;
color: #990000;
margin-right: 6px;
cursor: pointer;
}
#shouts-widget ul {
-webkit-margin-before: 0;
-webkit-padding-start: 0;
display: block;
margin-top: -7px;
}
#shouts-widget li {
padding: 0 3px;
overflow-x: hidden;
}
#message {
width: 247px;
height: 100px;
margin: 0 2px 2px 2px;
}
#shout-helper {
display: none;
}
#submit {
float: right;
cursor: pointer;
}
/** End Shoutbox stuff **/
/** Reply window sizing **/
.blog-reply-window .cmty-posting-box-container textarea {
height: 400px;
}
.blog-reply-window .cmty-post-preview {
height: auto;
border: 1px solid #aaa;
}
.blog-reply-window .cmty-bbcode-list,
.blog-reply-window .cmty-bbcode-text-size {
display: none;
}
/** End reply window CSS **/
/** Shows that there is a reported post **/
.blog-report-indicator {
position: absolute;
right: 4px;
top: 4px;
}
/** Sidebar Tag box Start **/
#side .cmty-itembox {
height: 300px;
}
.blog-tags-wrapper .blog-scroll-outer {
padding-left: 0.25em;
}
.blog-tags-wrapper .blog-scroll-outer .aops-scroll-content {
padding-right: 0px;
width: 213px;
}
/** Sidebar Tag box end **/
/** Topic Tags start **/
.entry .cmty-tags-itembox-wrapper {
margin-top: 5px;
position: relative;
}
.entry .cmty-items-input-box input {
margin: 4px 0 0 3px;
padding-left: 4px;
}
/** Topic Tags end **/
/* Prevents mega-wide images from blowing up the window.*/
.message {
overflow: auto;
}
#navigation_box {
background-color: #1b365d;
border-bottom: 1px dashed #fff;
padding: 2px 2px 3px;
font-size: 10pt;
display: block;
font-family: Arial;
height: 22px;
line-height: 14px;
position: absolute;
border-top: 0px;
border-right: 0px;
border-left: 0px;
-webkit-border-radius: 0px important;
left: 0;
top: 0;
z-index: 900000;
width: 100%;
margin: 0;
}
#wrapper {
z-index: 1;
}
#navigation_box a {
color: #fff;
font-size: 10pt;
display: inline-block;
font-family: Arial;
line-height: 14px;
border: none;
margin: 0;
padding: 0;
}
#left_navigation_box {
float: left;
text-align: left;
color: white;
width: auto;
font-size: 11pt;
display: block;
font-family: Arial;
margin: 0;
padding: 0;
position: relative;
left: 0;
top: 0;
height: 22px;
line-height: 14px;
border: none;
}
#right_navigation_box {
float: right;
text-align: right;
width: auto;
color: white;
font-size: 11pt;
position: relative;
display: block;
font-family: Arial;
height: 22px;
right: 0;
margin: 0;
padding: 0;
top: 0;
line-height: 14px;
border: none;
}
#page_error_window {
padding-top: 25px;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 B

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,543 @@
/*
* Jeditable - jQuery in place edit plugin
*
* Copyright (c) 2006-2009 Mika Tuupola, Dylan Verheul
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*
* Project home:
* http://www.appelsiini.net/projects/jeditable
*
* Based on editable by Dylan Verheul <dylan_at_dyve.net>:
* http://www.dyve.net/jquery/?editable
*
*/
/**
* Version 1.7.1
*
* ** means there is basic unit tests for this parameter.
*
* @name Jeditable
* @type jQuery
* @param String target (POST) URL or function to send edited content to **
* @param Hash options additional options
* @param String options[method] method to use to send edited content (POST or PUT) **
* @param Function options[callback] Function to run after submitting edited content **
* @param String options[name] POST parameter name of edited content
* @param String options[id] POST parameter name of edited div id
* @param Hash options[submitdata] Extra parameters to send when submitting edited content.
* @param String options[type] text, textarea or select (or any 3rd party input type) **
* @param Integer options[rows] number of rows if using textarea **
* @param Integer options[cols] number of columns if using textarea **
* @param Mixed options[height] 'auto', 'none' or height in pixels **
* @param Mixed options[width] 'auto', 'none' or width in pixels **
* @param String options[loadurl] URL to fetch input content before editing **
* @param String options[loadtype] Request type for load url. Should be GET or POST.
* @param String options[loadtext] Text to display while loading external content.
* @param Mixed options[loaddata] Extra parameters to pass when fetching content before editing.
* @param Mixed options[data] Or content given as paramameter. String or function.**
* @param String options[indicator] indicator html to show when saving
* @param String options[tooltip] optional tooltip text via title attribute **
* @param String options[event] jQuery event such as 'click' of 'dblclick' **
* @param String options[submit] submit button value, empty means no button **
* @param String options[cancel] cancel button value, empty means no button **
* @param String options[cssclass] CSS class to apply to input form. 'inherit' to copy from parent. **
* @param String options[style] Style to apply to input form 'inherit' to copy from parent. **
* @param String options[select] true or false, when true text is highlighted ??
* @param String options[placeholder] Placeholder text or html to insert when element is empty. **
* @param String options[onblur] 'cancel', 'submit', 'ignore' or function ??
*
* @param Function options[onsubmit] function(settings, original) { ... } called before submit
* @param Function options[onreset] function(settings, original) { ... } called before reset
* @param Function options[onerror] function(settings, original, xhr) { ... } called on error
*
* @param Hash options[ajaxoptions] jQuery Ajax options. See docs.jquery.com.
*
*/
(function($) {
$.fn.editable = function(target, options) {
if ('disable' == target) {
$(this).data('disabled.editable', true);
return;
}
if ('enable' == target) {
$(this).data('disabled.editable', false);
return;
}
if ('destroy' == target) {
$(this)
.unbind($(this).data('event.editable'))
.removeData('disabled.editable')
.removeData('event.editable');
return;
}
var settings = $.extend({}, $.fn.editable.defaults, {target:target}, options);
/* setup some functions */
var plugin = $.editable.types[settings.type].plugin || function() { };
var submit = $.editable.types[settings.type].submit || function() { };
var buttons = $.editable.types[settings.type].buttons
|| $.editable.types['defaults'].buttons;
var content = $.editable.types[settings.type].content
|| $.editable.types['defaults'].content;
var element = $.editable.types[settings.type].element
|| $.editable.types['defaults'].element;
var reset = $.editable.types[settings.type].reset
|| $.editable.types['defaults'].reset;
var callback = settings.callback || function() { };
var onedit = settings.onedit || function() { };
var onsubmit = settings.onsubmit || function() { };
var onreset = settings.onreset || function() { };
var onerror = settings.onerror || reset;
/* show tooltip */
if (settings.tooltip) {
$(this).attr('title', settings.tooltip);
}
settings.autowidth = 'auto' == settings.width;
settings.autoheight = 'auto' == settings.height;
return this.each(function() {
/* save this to self because this changes when scope changes */
var self = this;
/* inlined block elements lose their width and height after first edit */
/* save them for later use as workaround */
var savedwidth = $(self).width();
var savedheight = $(self).height();
/* save so it can be later used by $.editable('destroy') */
$(this).data('event.editable', settings.event);
/* if element is empty add something clickable (if requested) */
if (!$.trim($(this).html())) {
$(this).html(settings.placeholder);
}
$(this).bind(settings.event, function(e) {
/* abort if disabled for this element */
if (true === $(this).data('disabled.editable')) {
return;
}
/* prevent throwing an exeption if edit field is clicked again */
if (self.editing) {
return;
}
/* abort if onedit hook returns false */
if (false === onedit.apply(this, [settings, self])) {
return;
}
/* prevent default action and bubbling */
e.preventDefault();
e.stopPropagation();
/* remove tooltip */
if (settings.tooltip) {
$(self).removeAttr('title');
}
/* figure out how wide and tall we are, saved width and height */
/* are workaround for http://dev.jquery.com/ticket/2190 */
if (0 == $(self).width()) {
//$(self).css('visibility', 'hidden');
settings.width = savedwidth;
settings.height = savedheight;
} else {
if (settings.width != 'none') {
settings.width =
settings.autowidth ? $(self).width() : settings.width;
}
if (settings.height != 'none') {
settings.height =
settings.autoheight ? $(self).height() : settings.height;
}
}
//$(this).css('visibility', '');
/* remove placeholder text, replace is here because of IE */
if ($(this).html().toLowerCase().replace(/(;|")/g, '') ==
settings.placeholder.toLowerCase().replace(/(;|")/g, '')) {
$(this).html('');
}
self.editing = true;
self.revert = $(self).html();
$(self).html('');
/* create the form object */
var form = $('<form />');
/* apply css or style or both */
if (settings.cssclass) {
if ('inherit' == settings.cssclass) {
form.attr('class', $(self).attr('class'));
} else {
form.attr('class', settings.cssclass);
}
}
if (settings.style) {
if ('inherit' == settings.style) {
form.attr('style', $(self).attr('style'));
/* IE needs the second line or display wont be inherited */
form.css('display', $(self).css('display'));
} else {
form.attr('style', settings.style);
}
}
/* add main input element to form and store it in input */
var input = element.apply(form, [settings, self]);
/* set input content via POST, GET, given data or existing value */
var input_content;
if (settings.loadurl) {
var t = setTimeout(function() {
input.disabled = true;
content.apply(form, [settings.loadtext, settings, self]);
}, 100);
var loaddata = {};
loaddata[settings.id] = self.id;
if ($.isFunction(settings.loaddata)) {
$.extend(loaddata, settings.loaddata.apply(self, [self.revert, settings]));
} else {
$.extend(loaddata, settings.loaddata);
}
$.ajax({
type : settings.loadtype,
url : settings.loadurl,
data : loaddata,
async : false,
success: function(result) {
window.clearTimeout(t);
input_content = result;
input.disabled = false;
}
});
} else if (settings.data) {
input_content = settings.data;
if ($.isFunction(settings.data)) {
input_content = settings.data.apply(self, [self.revert, settings]);
}
} else {
input_content = self.revert;
}
content.apply(form, [input_content, settings, self]);
input.attr('name', settings.name);
/* add buttons to the form */
buttons.apply(form, [settings, self]);
/* add created form to self */
$(self).append(form);
/* attach 3rd party plugin if requested */
plugin.apply(form, [settings, self]);
/* focus to first visible form element */
$(':input:visible:enabled:first', form).focus();
/* highlight input contents when requested */
if (settings.select) {
input.select();
}
/* discard changes if pressing esc */
input.keydown(function(e) {
if (e.keyCode == 27) {
e.preventDefault();
//self.reset();
reset.apply(form, [settings, self]);
}
});
/* discard, submit or nothing with changes when clicking outside */
/* do nothing is usable when navigating with tab */
var t;
if ('cancel' == settings.onblur) {
input.blur(function(e) {
/* prevent canceling if submit was clicked */
t = setTimeout(function() {
reset.apply(form, [settings, self]);
}, 500);
});
} else if ('submit' == settings.onblur) {
input.blur(function(e) {
/* prevent double submit if submit was clicked */
t = setTimeout(function() {
form.submit();
}, 200);
});
} else if ($.isFunction(settings.onblur)) {
input.blur(function(e) {
settings.onblur.apply(self, [input.val(), settings]);
});
} else {
input.blur(function(e) {
/* TODO: maybe something here */
});
}
form.submit(function(e) {
if (t) {
clearTimeout(t);
}
/* do no submit */
e.preventDefault();
/* call before submit hook. */
/* if it returns false abort submitting */
if (false !== onsubmit.apply(form, [settings, self])) {
/* custom inputs call before submit hook. */
/* if it returns false abort submitting */
if (false !== submit.apply(form, [settings, self])) {
/* check if given target is function */
if ($.isFunction(settings.target)) {
var str = settings.target.apply(self, [input.val(), settings]);
$(self).html(str);
self.editing = false;
callback.apply(self, [self.innerHTML, settings]);
/* TODO: this is not dry */
if (!$.trim($(self).html())) {
$(self).html(settings.placeholder);
}
} else {
/* add edited content and id of edited element to POST */
var submitdata = {};
submitdata[settings.name] = input.val();
submitdata[settings.id] = self.id;
/* add extra data to be POST:ed */
if ($.isFunction(settings.submitdata)) {
$.extend(submitdata, settings.submitdata.apply(self, [self.revert, settings]));
} else {
$.extend(submitdata, settings.submitdata);
}
/* quick and dirty PUT support */
if ('PUT' == settings.method) {
submitdata['_method'] = 'put';
}
/* show the saving indicator */
$(self).html(settings.indicator);
/* defaults for ajaxoptions */
var ajaxoptions = {
type : 'POST',
data : submitdata,
dataType: 'html',
url : settings.target,
success : function(result, status) {
if (ajaxoptions.dataType == 'html') {
$(self).html(result);
}
self.editing = false;
callback.apply(self, [result, settings]);
if (!$.trim($(self).html())) {
$(self).html(settings.placeholder);
}
},
error : function(xhr, status, error) {
onerror.apply(form, [settings, self, xhr]);
}
};
/* override with what is given in settings.ajaxoptions */
$.extend(ajaxoptions, settings.ajaxoptions);
$.ajax(ajaxoptions);
}
}
}
/* show tooltip again */
$(self).attr('title', settings.tooltip);
return false;
});
});
/* privileged methods */
this.reset = function(form) {
/* prevent calling reset twice when blurring */
if (this.editing) {
/* before reset hook, if it returns false abort reseting */
if (false !== onreset.apply(form, [settings, self])) {
$(self).html(self.revert);
self.editing = false;
if (!$.trim($(self).html())) {
$(self).html(settings.placeholder);
}
/* show tooltip again */
if (settings.tooltip) {
$(self).attr('title', settings.tooltip);
}
}
}
};
});
};
$.editable = {
types: {
defaults: {
element : function(settings, original) {
var input = $('<input type="hidden"></input>');
$(this).append(input);
return(input);
},
content : function(string, settings, original) {
$(':input:first', this).val(string);
},
reset : function(settings, original) {
original.reset(this);
},
buttons : function(settings, original) {
var form = this;
if (settings.submit) {
/* if given html string use that */
if (settings.submit.match(/>$/)) {
var submit = $(settings.submit).click(function() {
if (submit.attr("type") != "submit") {
form.submit();
}
});
/* otherwise use button with given string as text */
} else {
var submit = $('<button type="submit" />');
submit.html(settings.submit);
}
$(this).append(submit);
}
if (settings.cancel) {
/* if given html string use that */
if (settings.cancel.match(/>$/)) {
var cancel = $(settings.cancel);
/* otherwise use button with given string as text */
} else {
var cancel = $('<button type="cancel" />');
cancel.html(settings.cancel);
}
$(this).append(cancel);
$(cancel).click(function(event) {
//original.reset();
if ($.isFunction($.editable.types[settings.type].reset)) {
var reset = $.editable.types[settings.type].reset;
} else {
var reset = $.editable.types['defaults'].reset;
}
reset.apply(form, [settings, original]);
return false;
});
}
}
},
text: {
element : function(settings, original) {
var input = $('<input />');
if (settings.width != 'none') { input.width(settings.width); }
if (settings.height != 'none') { input.height(settings.height); }
/* https://bugzilla.mozilla.org/show_bug.cgi?id=236791 */
//input[0].setAttribute('autocomplete','off');
input.attr('autocomplete','off');
$(this).append(input);
return(input);
}
},
textarea: {
element : function(settings, original) {
var textarea = $('<textarea />');
if (settings.rows) {
textarea.attr('rows', settings.rows);
} else if (settings.height != "none") {
textarea.height(settings.height);
}
if (settings.cols) {
textarea.attr('cols', settings.cols);
} else if (settings.width != "none") {
textarea.width(settings.width);
}
$(this).append(textarea);
return(textarea);
}
},
select: {
element : function(settings, original) {
var select = $('<select />');
$(this).append(select);
return(select);
},
content : function(data, settings, original) {
/* If it is string assume it is json. */
if (String == data.constructor) {
eval ('var json = ' + data);
} else {
/* Otherwise assume it is a hash already. */
var json = data;
}
for (var key in json) {
if (!json.hasOwnProperty(key)) {
continue;
}
if ('selected' == key) {
continue;
}
var option = $('<option />').val(key).append(json[key]);
$('select', this).append(option);
}
/* Loop option again to set selected. IE needed this... */
$('select', this).children().each(function() {
if ($(this).val() == json['selected'] ||
$(this).text() == $.trim(original.revert)) {
$(this).attr('selected', 'selected');
}
});
}
}
},
/* Add new input type */
addInputType: function(name, input) {
$.editable.types[name] = input;
}
};
// publicly accessible defaults
$.fn.editable.defaults = {
name : 'value',
id : 'id',
type : 'text',
width : 'auto',
height : 'auto',
event : 'click.editable',
onblur : 'cancel',
loadtype : 'GET',
loadtext : 'Loading...',
placeholder: 'Click to edit',
loaddata : {},
submitdata : {},
ajaxoptions: {}
};
})(jQuery);

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 278 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 284 B

View File

@ -0,0 +1,3 @@
/* Polyfill service v3.111.0
* Disable minification (remove `.min` from URL path) for more info */

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,407 @@
(function () {
if (typeof self === 'undefined' || !self.Prism || !self.document || !document.createElement) {
return;
}
// The dependencies map is built automatically with gulp
var lang_dependencies = /*dependencies_placeholder[*/{
"javascript": "clike",
"actionscript": "javascript",
"arduino": "cpp",
"aspnet": [
"markup",
"csharp"
],
"bison": "c",
"c": "clike",
"csharp": "clike",
"cpp": "c",
"coffeescript": "javascript",
"crystal": "ruby",
"css-extras": "css",
"d": "clike",
"dart": "clike",
"django": "markup-templating",
"ejs": [
"javascript",
"markup-templating"
],
"etlua": [
"lua",
"markup-templating"
],
"erb": [
"ruby",
"markup-templating"
],
"fsharp": "clike",
"firestore-security-rules": "clike",
"flow": "javascript",
"ftl": "markup-templating",
"glsl": "clike",
"gml": "clike",
"go": "clike",
"groovy": "clike",
"haml": "ruby",
"handlebars": "markup-templating",
"haxe": "clike",
"java": "clike",
"javadoc": [
"markup",
"java",
"javadoclike"
],
"jolie": "clike",
"jsdoc": [
"javascript",
"javadoclike"
],
"js-extras": "javascript",
"js-templates": "javascript",
"jsonp": "json",
"json5": "json",
"kotlin": "clike",
"latte": [
"clike",
"markup-templating",
"php"
],
"less": "css",
"lilypond": "scheme",
"markdown": "markup",
"markup-templating": "markup",
"n4js": "javascript",
"nginx": "clike",
"objectivec": "c",
"opencl": "cpp",
"parser": "markup",
"php": [
"clike",
"markup-templating"
],
"phpdoc": [
"php",
"javadoclike"
],
"php-extras": "php",
"plsql": "sql",
"processing": "clike",
"protobuf": "clike",
"pug": [
"markup",
"javascript"
],
"qml": "javascript",
"qore": "clike",
"jsx": [
"markup",
"javascript"
],
"tsx": [
"jsx",
"typescript"
],
"reason": "clike",
"ruby": "clike",
"sass": "css",
"scss": "css",
"scala": "java",
"shell-session": "bash",
"smarty": "markup-templating",
"solidity": "clike",
"soy": "markup-templating",
"sparql": "turtle",
"sqf": "clike",
"swift": "clike",
"tap": "yaml",
"textile": "markup",
"tt2": [
"clike",
"markup-templating"
],
"twig": "markup",
"typescript": "javascript",
"t4-cs": [
"t4-templating",
"csharp"
],
"t4-vb": [
"t4-templating",
"visual-basic"
],
"vala": "clike",
"vbnet": "basic",
"velocity": "markup",
"wiki": "markup",
"xeora": "markup",
"xquery": "markup"
}/*]*/;
var lang_aliases = /*aliases_placeholder[*/{
"html": "markup",
"xml": "markup",
"svg": "markup",
"mathml": "markup",
"js": "javascript",
"g4": "antlr4",
"adoc": "asciidoc",
"shell": "bash",
"rbnf": "bnf",
"cs": "csharp",
"dotnet": "csharp",
"coffee": "coffeescript",
"jinja2": "django",
"dns-zone": "dns-zone-file",
"dockerfile": "docker",
"gamemakerlanguage": "gml",
"hs": "haskell",
"tex": "latex",
"context": "latex",
"ly": "lilypond",
"emacs": "lisp",
"elisp": "lisp",
"emacs-lisp": "lisp",
"md": "markdown",
"moon": "moonscript",
"n4jsd": "n4js",
"objectpascal": "pascal",
"px": "pcaxis",
"py": "python",
"robot": "robotframework",
"rb": "ruby",
"rq": "sparql",
"trig": "turtle",
"ts": "typescript",
"t4": "t4-cs",
"vb": "visual-basic",
"xeoracube": "xeora",
"yml": "yaml"
}/*]*/;
/**
* @typedef LangDataItem
* @property {{ success?: () => void, error?: () => void }[]} callbacks
* @property {boolean} [error]
* @property {boolean} [loading]
*/
/** @type {Object<string, LangDataItem>} */
var lang_data = {};
var ignored_language = 'none';
var languages_path = 'components/';
var script = Prism.util.currentScript();
if (script) {
var autoloaderFile = /\bplugins\/autoloader\/prism-autoloader\.(?:min\.)js$/i;
var prismFile = /[\w-]+\.(?:min\.)js$/i;
if (script.hasAttribute('data-autoloader-path')) {
// data-autoloader-path is set, so just use it
languages_path = script.getAttribute('data-autoloader-path').trim().replace(/\/?$/, '/');
} else {
var src = script.src;
if (autoloaderFile.test(src)) {
// the script is the original autoloader script in the usual Prism project structure
languages_path = src.replace(autoloaderFile, 'components/');
} else if (prismFile.test(src)) {
// the script is part of a bundle like a custom prism.js from the download page
languages_path = src.replace(prismFile, 'components/');
}
}
}
var config = Prism.plugins.autoloader = {
languages_path: languages_path,
use_minified: true,
loadLanguages: loadLanguages
};
/**
* Lazily loads an external script.
*
* @param {string} src
* @param {() => void} [success]
* @param {() => void} [error]
*/
function addScript(src, success, error) {
var s = document.createElement('script');
s.src = src;
s.async = true;
s.onload = function () {
document.body.removeChild(s);
success && success();
};
s.onerror = function () {
document.body.removeChild(s);
error && error();
};
document.body.appendChild(s);
}
/**
* Returns the path to a grammar, using the language_path and use_minified config keys.
*
* @param {string} lang
* @returns {string}
*/
function getLanguagePath(lang) {
return config.languages_path +
'prism-' + lang
+ (config.use_minified ? '.min' : '') + '.js'
}
/**
* Tries to load the grammar(s) and once loaded, highlights the given element again.
*
* @param {string} lang
* @param {HTMLElement} elt
*/
function registerElement(lang, elt) {
if (lang in lang_aliases) {
lang = lang_aliases[lang];
}
// Look for additional dependencies defined on the <code> or <pre> tags
var deps = elt.getAttribute('data-dependencies');
var parent = elt.parentElement;
if (!deps && parent && parent.tagName.toLowerCase() === 'pre') {
deps = parent.getAttribute('data-dependencies');
}
if (deps) {
deps = deps.split(/\s*,\s*/g);
} else {
deps = [];
}
loadLanguages(deps, function () {
loadLanguage(lang, function () {
Prism.highlightElement(elt);
});
});
}
/**
* Loads all given grammars concurrently.
*
* @param {string[]|string} languages
* @param {(languages: string[]) => void} [success]
* @param {(language: string) => void} [error] This callback will be invoked on the first language to fail.
*/
function loadLanguages(languages, success, error) {
if (typeof languages === 'string') {
languages = [languages];
}
var total = languages.length;
var completed = 0;
var failed = false;
if (total === 0) {
if (success) {
setTimeout(success, 0);
}
return;
}
function successCallback() {
if (failed) {
return;
}
completed++;
if (completed === total) {
success && success(languages);
}
}
languages.forEach(function (lang) {
loadLanguage(lang, successCallback, function () {
if (failed) {
return;
}
failed = true;
error && error(lang);
});
});
}
/**
* Loads a grammar with its dependencies.
*
* @param {string} lang
* @param {() => void} [success]
* @param {() => void} [error]
*/
function loadLanguage(lang, success, error) {
var force = lang.indexOf('!') >= 0;
lang = lang.replace('!', '');
lang = lang_aliases[lang] || lang;
var load = function () {
var data = lang_data[lang];
if (!data) {
data = lang_data[lang] = {
callbacks: []
};
}
data.callbacks.push({
success: success,
error: error
});
if (!force && Prism.languages[lang]) {
languageCallback(lang, "success");
} else if (!force && data.error) {
languageCallback(lang, "error");
} else if (force || !data.loading) {
data.loading = true;
var src = getLanguagePath(lang);
addScript(src, function () {
data.loading = false;
languageCallback(lang, "success");
}, function () {
data.loading = false;
data.error = true;
languageCallback(lang, "error");
});
}
};
var dependencies = lang_dependencies[lang];
if (dependencies && dependencies.length) {
loadLanguages(dependencies, load, error);
} else {
load();
}
}
/**
* Runs all callbacks of the given type for the given language.
*
* @param {string} lang
* @param {"success" | "error"} type
*/
function languageCallback(lang, type) {
if (lang_data[lang]) {
var callbacks = lang_data[lang].callbacks;
for (var i = 0, l = callbacks.length; i < l; i++) {
var callback = callbacks[i][type];
if (callback) {
setTimeout(callback, 0);
}
}
callbacks.length = 0;
}
}
Prism.hooks.add('complete', function (env) {
if (env.element && env.language && !env.grammar) {
if (env.language !== ignored_language) {
registerElement(env.language, env.element);
}
}
});
}());

View File

@ -0,0 +1,122 @@
/**
* prism.js tomorrow night eighties for JavaScript, CoffeeScript, CSS and HTML
* Based on https://github.com/chriskempson/tomorrow-theme
* @author Rose Pritchard
*/
code[class*="language-"],
pre[class*="language-"] {
color: #ccc;
background: none;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
font-size: 1em;
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
line-height: 1.5;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
}
/* Code blocks */
pre[class*="language-"] {
padding: 1em;
margin: .5em 0;
overflow: auto;
}
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
background: #2d2d2d;
}
/* Inline code */
:not(pre) > code[class*="language-"] {
padding: .1em;
border-radius: .3em;
white-space: normal;
}
.token.comment,
.token.block-comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #999;
}
.token.punctuation {
color: #ccc;
}
.token.tag,
.token.attr-name,
.token.namespace,
.token.deleted {
color: #e2777a;
}
.token.function-name {
color: #6196cc;
}
.token.boolean,
.token.number,
.token.function {
color: #f08d49;
}
.token.property,
.token.class-name,
.token.constant,
.token.symbol {
color: #f8c555;
}
.token.selector,
.token.important,
.token.atrule,
.token.keyword,
.token.builtin {
color: #cc99cd;
}
.token.string,
.token.char,
.token.attr-value,
.token.regex,
.token.variable {
color: #7ec699;
}
.token.operator,
.token.entity,
.token.url {
color: #67cdcc;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}
.token.inserted {
color: green;
}

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,81 @@
@import url("https://fonts.googleapis.com/css?family=VT323:100,200,300,375,400,500,600,700,800,900");
/* Loading bar */
@keyframes loading{
0%{
width: 0px;
top: calc(50vh - 50px);
font-family: VT323;
content: "Loading...";
transition: ease;
text-align: center;
}
75%{
width: 300px;
top: calc(50vh - 50px);
font-family: VT323;
content: "Loading...";
text-align: center;
}
75.1%{
width: 300px;
top: calc(50vh - 50px);
font-family: VT323;
content: "Done!";
text-align: center;
}
85%{
top: calc(50vh - 100px);
width: 300px;
font-family: VT323;
content: "Done!";
text-align: center;
}
100%{
top: calc(150vh - 50px);
width: 300px;
font-family: VT323;
content: "Done!";
text-align: center;
}
}
html::before{
font-family: VT323;
content: "Loading...";
height: 100px;
position: fixed !important;
margin: 0px;
padding: 0px;
top: calc(150vh - 50px);
left: calc(50vw - 150px);
background-color: black;
color: white !important;
line-height: 100px;
white-space: nowrap;
font-size: 50px !important;
z-index: 1000000000 !important;
animation: loading 2s ease !important;
width: 300px !important;
box-shadow: 0px 0px 0px 5px white, 0px 50vw 0px calc(50vw + 50vh - 50px) black, 0px 0px 0px 5px white !important;
/* The box shadow that makes the border is put before and after the background shadow, because of order issues (Firefox displays the first one on top, chrome displays the last one on top) */
display: block !important;
}
html::after{
font-family: VT323;
content: "Loading... please wait";
height: 100px;
width: 0px;
position: fixed !important;
margin: 0px;
padding: 0px;
top: calc(150vh - 50px);
left: calc(50vw - 150px);
background-color: white;
color: black !important;
line-height: 100px;
z-index: 1000000001 !important;
white-space: nowrap;
font-size: 50px !important;
animation: loading 2s ease !important;
overflow: hidden !important;
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.4 KiB

View File

@ -0,0 +1,582 @@
/**
* blog_router.js Holds the router for Blogs. It gets the ball rolling once the page is loaded.
*
*/
AoPS.Blog = (function (Blog) {
var Lang = AoPS.Community.Lang,
Constants = AoPS.Community.Constants;
Blog.Router = AoPS.Community.Utils.routerBase.extend({
routes: {
"": "constructAoPSMasterCollection",
},
initialize: function (options) {
var self = this;
this.models = {};
this.models.search_categories = {};
this.models.master = options.master;
// Will this take care of everything?
this.myPage = AoPS.Page.constructPage("wrapper");
this.route(
/((?:c\d+)?(?:t\d+)?(?:f\d+)?(?:h\d+)?(?:p\d+)?(?:s\d+)?)/,
"parseEncodedUrl"
);
this.route(/((?:c\d+)(.*)\/(.*))/, "search");
this.bind("route", this.onFinishRoute);
this.first_pass = true;
// If there is a preloaded topic for directly navigating to a topic on page load,
// then this will be set to the preloaded id when the preloaded data is parsed.
// We then set this back to -1 once the preloaded topic is set as the focus_topic.
// This flag is used to prevent a redundant Ajax call (change_focus_topic) when the topic is built.
this.preloaded_topic_id = -1;
Backbone.on("logged_out", this.onAjaxDetectLogout);
Backbone.on("logged_in", this.onAjaxDetectLogin);
if (AoPS.bootstrap_data.hasOwnProperty("blog_base")) {
this.models.blog = this.models.master.constructNewCategory(
AoPS.bootstrap_data.blog_base
);
// TODO : check that topics exist
_.each(AoPS.bootstrap_data.blog_topics.topics_data, function (topic) {
self.models.master.processPotentialNewTopic(topic, true);
});
if (String(AoPS.bootstrap_data.blog_topics.no_more_topics) === "1") {
this.models.blog.set("all_topics_loaded", true);
}
} else {
// TODO : Throw error, you are in the wrong place.
}
this.models.master.set("focus_category", this.models.blog);
AoPS.Community.Utils.activateLatexOnclick();
$("body").addClass("community");
},
goToTopic: function (args) {
var url = "#";
if (args.hasOwnProperty("category_id")) {
url += "c" + args.category_id;
}
url += "h" + args.topic_id;
this.navigate(url, {
trigger: true,
replace: true, //(args.hasOwnProperty('replace') ? args.replace : false)
});
},
buildBreadcrumbs: function (data) {
var input = '<a href="/community">Community</a> &raquo; ';
input +=
'<a href="/community/c' +
Constants.aops_blogroll_id +
'">Blogs</a> &raquo; '; // TODO : POINT THIS AT THE BLOGS CATEGORY
input +=
'<a data-blog href="/community/c' +
data.blog.category_id +
'">' +
data.blog.name +
"</a>";
if (data.hasOwnProperty("topic")) {
input +=
' &raquo; <a data-blog href="/community/c' +
data.blog.category_id +
"h" +
data.topic.topic_id +
'">' +
data.topic.title +
"</a>";
}
$("#left_navigation_box").html(input);
},
onFinishRoute: function (name, args) {
this.previous_route = name;
if (!this.keep_fullscreen_mode) {
$("body").removeClass("fullscreen");
}
$(window).trigger("resize");
this.keep_fullscreen_mode = false;
},
/**
* Search this blog
*
* @param string of form /c<id>/<encoded search text>
**/
search: function (url) {
var pieces, str, coords, search_settings;
pieces = url.split("/");
if (pieces[1].length === 0) {
this.parseEncodedUrl(pieces[0]);
return;
}
str = pieces[1];
coords = {
category_id: 0,
tag_id: 0,
tag_forum_id: 0,
search_text: str,
is_search: true,
};
if (this.models.search_categories.hasOwnProperty(str)) {
coords.category = this.models.search_categories[str].category;
coords.topic_list = this.models.search_categories[str].topic_list;
} else {
search_settings = {
blog_id: this.models.blog.get("category_id"),
search_text: decodeURIComponent(pieces[1]),
};
coords.category =
this.models.master.buildSearchCategory(search_settings);
this.models.search_categories[str] = {
category: coords.category,
};
}
this.startConstructingPage(coords);
},
/** Start functions for building pages that have ids encoded in URL **/
/**
* parseEncodedUrl parses the url and then routes us to the appropriate function
* to construct the page once we're sure we have some topics to play with.
* (We'll likely handle that "check for some topics" differently when we build the real system.)
*
* @param url: everything after # in the url.
*
*/
parseEncodedUrl: function (url) {
var coords = {
topic: null,
category: null,
};
function extractValueFromUrl(stub, url_in) {
var match_array;
if (_.isNull(url_in)) {
return 0;
}
match_array = url_in.match(new RegExp(stub + "(\\d+)"));
if (_.isNull(match_array)) {
return 0;
} else {
return parseInt(match_array[1]);
}
}
/**
* If we're hitting a category, topic, or post on page load (first_pass through the
* router), then we check the preload_cmty_data property of bootstrap to see if
* there's anything we can preload, and to see if we need to rewrite the url.
*
* There are later url rewrite checks, but they shouldn't ever be triggered.
* I'm leaving them in, in case down the line we introduce ways that users can
* travel down routes missing properties (like topic id with no category id) in
* some way other than the initial page load.
**/
if (this.first_pass) {
if (AoPS.bootstrap_data.hasOwnProperty("preload_cmty_data")) {
this.first_pass = false;
if (this.parsePreloadedData()) {
return;
}
}
}
// Fill coords object from url
_.each(this.url_parameters, function (item) {
coords[item.property] = extractValueFromUrl(item.letter, url);
});
coords.is_search = false;
this.startConstructingPage(coords);
},
startConstructingPage: function (coords) {
this.myPage.clearPage();
this.myPage.showElement({
id: "blog-top",
constructor: _.bind(function () {
return new AoPS.Community.Views.CategoryCellBlogHeading({
model: this.models.blog,
});
}, this),
});
if (coords.is_search) {
if (coords.hasOwnProperty("topic_list")) {
this.prepareBlogFront(coords);
} else {
this.checkTopicListThenContinue(coords);
}
} else if (coords.topic_id > 0) {
this.prepareBlogTopic(coords);
} else {
this.prepareBlogFront(coords);
}
return;
},
/**
* The sidebar and the clearfix are needed everywhere.
**/
finishBuildingPage: function (coords) {
this.myPage.showElement({
id: "blog-sidebar",
constructor: _.bind(function () {
return new AoPS.Community.Views.BlogSidebar({
model: this.models.blog,
});
}, this),
location: "content",
});
this.myPage.showElement({
id: "blog-clearfix",
type: "jQuery_object",
jQuery_object: $('<div class="clear"></div>'),
location: "content",
});
},
prepareBlogTopic: function (coords) {
var self = this;
coords.topic = this.models.master.fetchTopicById(coords.topic_id);
if (_.isNull(coords.topic) && !_.isUndefined(coords.topic)) {
this.listenTo(
this.models.master,
"single_topic_load",
_.bind(function (obj) {
self.myPage.hideLoader();
if (obj.topic_id === coords.topic_id) {
// We found the topic
this.stopListening(this.models.master, "single_topic_load");
if (obj.ok) {
coords.topic = obj.topic;
this.buildBlogTopic(coords);
} else {
// Database fetch failed dues to lack of permissions
if (obj.error_code === "E_NO_PERMISSION") {
if (AoPS.session.logged_in) {
this.throwError(
Lang["router-err-no-topic-perms-logged-in"]
);
} else {
this.throwError(
Lang["router-err-no-topic-perms-logged-out"]
);
}
} else if (obj.error_code === "E_NO_SUCH_TOPIC") {
this.throwError(Lang["router-err-no-topic"]);
}
}
}
}, this)
);
this.myPage.showLoader();
this.models.master.fetchTopicFromDb({
topic_id: coords.topic_id,
});
return;
} else {
// If we have a topic, process all the tags on it (add them to their categories).
this.buildBlogTopic(coords);
return;
}
},
buildBlogTopic: function (coords) {
var topic_page_element,
blog_name = this.models.blog.get("category_name"),
topic_title = coords.topic.get("topic_title");
this.myPage.setTitle(
_.unescape(blog_name) + " : " + _.unescape(topic_title)
);
coords.topic.set("category", this.models.blog);
this.models.master.set("focus_topic", coords.topic, {
suppress_ajax: coords.topic_id === this.preloaded_topic_id,
fetch_all: true,
});
this.preloaded_topic_id = -1;
/**
* If we navigate in the blog to this top, the scrollbar might be set somewhere
* far down the page
**/
$(window).scrollTop(0);
topic_page_element = this.myPage.showElement({
id: "blog-topic-" + coords.topic_id,
constructor: _.bind(function () {
return new AoPS.Community.Views.BlogTopicFull({
model: coords.topic,
post_id: coords.post_id,
});
}, this),
on_add_settings: {
post_id: coords.post_id,
},
location: "content",
});
this.finishBuildingPage(coords);
// Reply triggered
if (coords.state === 3) {
if (coords.topic.getPermission("c_can_reply")) {
topic_page_element.dom_element.trigger("open_reply");
}
}
this.buildBreadcrumbs({
blog: {
category_id: this.models.blog.get("category_id"),
name: blog_name,
},
topic: {
title: topic_title,
topic_id: coords.topic.get("topic_id"),
},
});
},
buildBlogFrontPage: function (coords) {
var topic_list,
blog_name = this.models.blog.get("category_name");
if (coords.hasOwnProperty("topic_list")) {
topic_list = coords.topic_list;
} else {
topic_list = this.models.master.fetchFilteredTopicList({
category: this.models.blog,
category_id: this.models.blog.get("category_id"),
tag_ids: [],
});
if (coords.is_search) {
this.models.search_categories[coords.search_text].topic_list =
topic_list;
}
}
this.myPage.hideLoader();
this.myPage.setTitle(_.unescape(blog_name));
this.myPage.showElement({
id:
"blog-topics" +
coords.tag_id +
(coords.hasOwnProperty("search_text") ? coords.search_text : ""),
constructor: _.bind(function () {
return new AoPS.Community.Views.TopicsListBlog({
collection: topic_list,
blog: this.models.blog,
});
}, this),
location: "content",
});
this.models.master.set("focus_topic", null);
this.buildBreadcrumbs({
blog: {
category_id: this.models.blog.get("category_id"),
name: blog_name,
},
});
this.finishBuildingPage(coords);
},
/***
* Construct the topic list that we use for the page. If the topic list
* has no topics, then we go get some topics before building.
*
* @param coords: settings used to build the page.
*/
checkTopicListThenContinue: function (coords) {
var self = this;
// Construct or fetch the Community.Models.FilteredTopicList that matches
// the set of parameters we seek.
// Gets called twice for topics that are shorn of tags, but we can live with that, I think
// That will be rare. We could do a property check, though. Might be more expensive than it's worth.
coords.topic_list = this.models.master.fetchFilteredTopicList({
category:
coords.hasOwnProperty("category") && !_.isNull(coords.category)
? coords.category
: this.models.blog,
category_id: coords.category_id,
tag_ids:
coords.tag_id > 0
? [
{
tag_id: coords.tag_id,
tag_forum_id: coords.tag_forum_id,
},
]
: [], //currently assumes at most one tag_id.
});
// Not enough topics in this list; I'm gonna get more.
if (
coords.topic_list.length <=
AoPS.Community.Constants.min_topic_list_initial_length &&
!coords.topic_list.all_topics_fetched
) {
this.myPage.showLoader();
coords.topic_list.fetchMoreTopics({
onFinish: _.bind(function () {
this.buildBlogFrontPage(coords);
}, this),
onError: function (data) {
var msg;
if (data.error_code === "E_AJAX_CANCEL") {
return;
}
if (
typeof Lang["initial-fetch-err-" + data.error_code] === "string"
) {
msg = AoPS.Community.Utils.formatString(
Lang["initial-fetch-blog-err-" + data.error_code],
[coords.category_id]
);
console.log(msg);
console.log(coords.category_id);
} else {
msg = Lang["unexpected-error-code"] + data.error_code;
}
// Force page reload after error
$("a[data-blog]").removeAttr("data-blog");
self.throwError(msg);
},
});
} else {
this.buildBlogFrontPage(coords);
}
},
prepareBlogFront: function (coords) {
if (coords.tag_id > 0) {
coords.tag_forum_id = coords.category_id;
this.checkTopicListThenContinue(coords);
} else {
this.buildBlogFrontPage(coords);
}
},
setBreadcrumbs: function (crumbs) {
crumbs = _.map(crumbs, function (crumb) {
crumb.data = "data-cmty";
return crumb;
});
this.myPage.setBreadcrumbs(this.breadcrumb_base.concat(crumbs));
},
onAjaxDetectLogout: function () {
if (!AoPS.login.user_clicked_logout) {
AoPS.Ui.buildLoginConfirm(Lang["unexpected-logout"]);
AoPS.login.onUserAjaxLogout();
}
},
onAjaxDetectLogin: function () {
if (!AoPS.login.user_clicked_login) {
document.location.reload(true);
}
},
onAjaxDetectLoginChange: function () {
//if (
},
});
$(window).load(function () {
var master, app;
master = new AoPS.Community.Models.Master();
app = new Blog.Router({
master: master,
});
$("#page-wrapper").append(app.myPage.el);
Backbone.history.start({
pushState: true,
root: "community",
});
$("a.blog-login").on("click", function (e) {
AoPS.login.display();
e.stopPropagation();
e.preventDefault();
});
$("a.blog-logout").on("click", function (e) {
AoPS.login.logout(e);
e.stopPropagation();
e.preventDefault();
});
$(document).on("click", "a[data-blog]", function (e) {
e.stopPropagation();
e.preventDefault();
Backbone.history.navigate($(this).attr("href").substring(10), {
trigger: true,
});
});
if (AoPS.session.logged_in) {
$("#blog-subscribe").on("click", function (e) {
AoPS.Community.Views.toggleBlogSubscription({
blog: app.models.blog,
user: master.get("current_user"),
});
e.stopPropagation();
e.preventDefault();
});
}
/* FEED MUST COME AFTER Backbone start!*/
// experimenting with delay to let the page render before Feed is built.
// If this seems to work well, we'll want to animate the feed in.
setTimeout(function () {
var feed = new AoPS.Community.Models.Feed({
master: master,
}),
feed_view = new AoPS.Feed.Views.FeedMaster({
model: feed,
});
$("body").append(feed_view.$el);
}, 100);
// console.log('end page ' + (new Date().getTime() - start));
// });
});
return Blog;
})(AoPS.Blog || {});

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 568 B

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More