"].join("");e(o).html(r),i.axis&&"x"===i.axis?(n=parseInt(e(o).find(".aops-scroll-outer").height()),e(o).find(".aops-scroll-inner").height(n+i.adjust_container)):(n=parseInt(e(o).find(".aops-scroll-outer").width()),e(o).find(".aops-scroll-inner").width(n+i.adjust_container)),i.$scrollbar=e(o),i.$content=e(o).find(".aops-scroll-content"),AoPS.Ui.buildAopsScrollbar(i)}e.fn.aopsscroll=function(t,s){return this.each((function(){e.data(this,"plugin_aopsscroll")||e.data(this,"plugin_aopsscroll",new o(this,t,s))}))}}(jQuery),AoPS.Ui.ui_main_loaded=!0);
+;AoPS.GoToHash=function(e){var s=e.substring(1).replace(/^([a-zA-Z0-9\-]*).*/,"$1");if(s){var n=$("#"+s).length?$("#"+s):$("a[name="+s+"]");if(canNavResize&&n.offset()){var a=n.offset().top;$("#header").hasClass("shrunken-header")?a-=$("#header").height():a-=2*$("#header").height(),$("body,html").animate({scrollTop:a},300,"swing")}}};var canNavResize=!1,getWindowWidth=function(){return window.innerWidth},isMobile=function(){return window.matchMedia("(max-width: 700px)").matches};$(document).ready((function(){var e=getWindowWidth();$(".menubar-label-link-outer").on("click",(function(e){var s,n,a,i,o,t;isMobile()&&(s=this,n=$(s).next().find(".dropdown-content"),a=$(s).parent(),i=$(a).height(),o=$(n).height(),t=i,t=i>o+12?i-o-6:i+o+6,$(a).height(t))})),$(window).on("resize",(function(s){if(getWindowWidth()!==e)if(e=getWindowWidth(),isMobile()){$(".menubar-labels").css({display:"none"});var n=$("body").height(),a=$("#header-wrapper").height();$(".menubar-labels").height(n-a),$(".menubar-label").each((function(e){$(this).height("auto")}))}else $(".menubar-label").each((function(e){$(this).height(16)})),$(".menubar-labels").css({display:"flex",minHeight:0}),$(".menubar-labels").height("auto")})),$(".menubar-hamburger").on("click",(function(e){var s=$("body").height(),n=$("#header-wrapper").height();"none"===$(".menubar-labels").css("display")?($(".menubar-labels").css({display:"block"}),$(".menubar-labels").css({height:"auto",minHeight:s-n+"px"})):$(".menubar-labels").css({display:"none"})})),$("#mobile-search-icon").on("click",(function(e){var s=$("body").height(),n=$("#header-wrapper").height();"none"===$(".menubar-labels").css("display")&&($(".menubar-labels").css({display:"block"}),$(".menubar-labels").css({height:"auto",minHeight:s-n+"px"})),$("#mobile-search-input").focus()})),$(".dropdown-content a").on("click",(function(e){isMobile()&&$(".menubar-labels").css({display:"none"})})),$(".superuser").on("click",(function(e){$.post("/ajax.php",{action:"toggle-superuser"},(function(e){e.response&&e.response.success?(AoPS.Ui.Flyout.display("Sucessfully "+(e.response.superuser?"enabled":"disabled")+" superuser permissions."),$(".superuser").text(e.response.superuser?"Disable Superuser":"Enable Superuser")):AoPS.Ui.Flyout.display(e.error_msg)}))}));var s=!1,n=!1,a=_.throttle(_.bind((function(e){n&&(s=!1,n=!1,$("body,html").stop().animate()),$(window).scrollTop()>5?$("#header").addClass("shrunken-header"):$("#header").removeClass("shrunken-header")}),this),200),i=$("body"),o=i.hasClass("community")||i.hasClass("school-class-page")||i.hasClass("mediawiki")||i.hasClass("cart")||i.hasClass("ebooks")||i.hasClass("dashboard")||i.hasClass("resources")||i.hasClass("small-header")||i.hasClass("no-nav-resize");isMobile()||o||(canNavResize=!0,window.location.hash&&AoPS.GoToHash(window.location.hash),a(),$(window).on("scroll",a)),$("div.slide-button").on("click",(function(){if(!s){s=!0,n=!1;var e=$(".callouts-container").offset().top;isMobile()||(e-=2*$("#main-menubar").height()),$("body,html").animate({scrollTop:e},1200,"swing",(function(){s=!1}))}})),document.body.addEventListener("wheel",(function(){n=!0})),$(window).on("resize",(function(e){isMobile()||canNavResize||o?isMobile()&&canNavResize&&(canNavResize=!1,$("#header").removeClass("shrunken-header"),$(window).off("scroll",a)):(canNavResize=!0,$(window).on("scroll",a))})),window.addEventListener("hashchange",(function(){setTimeout((function(){AoPS.GoToHash(window.location.hash)}),10)})),$(".menubar-label").on("click",(function(e){if($(document).width()<=700){var s=$(e.currentTarget);s.height()<50&&$([document.documentElement,document.body]).animate({scrollTop:s.offset().top-15},500)}}))}));
+;AoPS.Utils=function(r){var t;return r.getKeyChain=function(r,t){if(_.isObject(r))return _.isArray(t)||(t=_.toArray(arguments).slice(1)),_.reduce(t,(function(r,t){if(!(!r||!r.hasOwnProperty(t)))return r[t]}),r)},r.hasKeyChain=function(){var t=r.getKeyChain.apply(this,arguments);return!_.isUndefined(t)},r.initKeyChain=function(r,t,e){return _.isArray(t)?_.isUndefined(e)&&(e={}):(t=_.toArray(arguments).slice(1),e={}),_.reduce(t,(function(r,n,o){var i=o===t.length-1?e:{};return r.hasOwnProperty(n)||(r[n]=i),r[n]}),r)},r.natSortBy=function(r,t,e){var n=new Intl.Collator("en",{numeric:!0});return r.sort((function(r,o){return(e?-1:1)*n.compare(""+t(r),""+t(o))}))},r.natSort=function(t,e){return r.natSortBy(t,(function(r){return r}),e)},r.Class=((t=function(){}).extend=function r(t){return function(e){var n,o,i;return(o=function(){}).prototype=t.prototype,n=new o,_.extend(n,e),i=function(){this.initialize&&this.initialize.apply(this,arguments)},i.prototype=n,i.extend=r(i),i}}(t),t),r}(AoPS.Utils||{});var Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(r){var t,e,n,o,i,a,h,c="",f=0;for(r=Base64._utf8_encode(r);f>2,i=(3&t)<<4|(e=r.charCodeAt(f++))>>4,a=(15&e)<<2|(n=r.charCodeAt(f++))>>6,h=63&n,isNaN(e)?a=h=64:isNaN(n)&&(h=64),c=c+this._keyStr.charAt(o)+this._keyStr.charAt(i)+this._keyStr.charAt(a)+this._keyStr.charAt(h);return c},decode:function(r){var t,e,n,o,i,a,h="",c=0;for(r=r.replace(/[^A-Za-z0-9\+\/\=]/g,"");c>4,e=(15&o)<<4|(i=this._keyStr.indexOf(r.charAt(c++)))>>2,n=(3&i)<<6|(a=this._keyStr.indexOf(r.charAt(c++))),h+=String.fromCharCode(t),64!==i&&(h+=String.fromCharCode(e)),64!==a&&(h+=String.fromCharCode(n));return h=Base64._utf8_decode(h)},_utf8_encode:function(r){r=r.replace(/\r\n/g,"\n");for(var t="",e=0;e127&&n<2048?(t+=String.fromCharCode(n>>6|192),t+=String.fromCharCode(63&n|128)):(t+=String.fromCharCode(n>>12|224),t+=String.fromCharCode(n>>6&63|128),t+=String.fromCharCode(63&n|128))}return t},_utf8_decode:function(r){for(var t="",e=0,n=0,o=0,i=0;e191&&n<224?(o=r.charCodeAt(e+1),t+=String.fromCharCode((31&n)<<6|63&o),e+=2):(o=r.charCodeAt(e+1),i=r.charCodeAt(e+2),t+=String.fromCharCode((15&n)<<12|(63&o)<<6|63&i),e+=3);return t}};
+;AoPS.Utils.initKeyChain(AoPS,"Ajax"),AoPS.Ajax=function(e){var t,i,s=AoPS.Utils;function n(t,i,s){var n=i.ajax_data,o=i.callback,r=i.timeout||t.timeout;return i.action&&(n.a=i.action),AoPS.session&&(n.aops_logged_in=AoPS.session.logged_in,n.aops_user_id=AoPS.session.user_id,n.aops_session_id=AoPS.session.id),s||(s={checkQueue:function(){},signalComplete:function(){}}),$.ajax({url:t.script_path,data:n,dataType:"json",type:"POST",timeout:r,error:function(t,i){s.checkQueue(),s.signalComplete(),e.handleError(o,t,i)},success:function(e){s.checkQueue(),s.signalComplete();var i=!e.hasOwnProperty("error_code");o(i,e),_.each(t.global_handlers,(function(t){t(i,e)}))}})}return e.handleError=function(e,t,i){var s=parseInt(t.status);200!==s||t.responseText.length?"abort"===i?e(!1,{response:{},error_code:"E_AJAX_CANCEL",error_msg:"The request was cancelled by the calling code."}):"timeout"===i?e(!1,{response:{},error_code:"E_AJAX_TIMEOUT",error_msg:"Something took too long to happen, and your browser gave up. Please check your internet connection, then try again."}):"parsererror"===i?(console.log(t.responseText),e(!1,{response:{},error_code:"E_AJAX_BADRETURN",error_msg:"You have come across a temporary error with our website. Please try again in an hour, and let us know if you continue to experience problems."})):e(!1,404===s?{response:{},error_code:"E_AJAX_404",error_msg:"The requested script does not exist."}:{response:{},error_code:"E_AJAX_UNKNOWN",error_msg:"Something went wrong. Please check your internet connection, then try again."}):e(!0,{response:{}})},t=s.Class.extend({initialize:function(e){this.processing_id=0,this.processing_xhr=null,this.next_id=1,this.window_size=!e||e<1?1:e,this.processing_size=0,this.queue_id_list=[],this.queue_table={}},getRunningId:function(){return this.processing_id},checkQueue:function(){if(this.processing_id=this.queue_id_list.pop(),this.processing_xhr=null,this.processing_id){var e=this.queue_table[this.processing_id];if(!e)return this.checkQueue();delete this.queue_table[this.processing_id],this.processing_xhr=e.processFunction(e.data,this)}else this.processing_id=0},signalComplete:function(){this.processing_size-=1},cancelId:function(e){var t;return this.queue_table[e]?((t=this.queue_table[e])&&t.data.callback(!1,{response:{},error_code:"E_AJAX_CANCEL",error_msg:"The request was cancelled by the calling code."}),delete this.queue_table[e],!0):!(this.processing_id!==e||!this.processing_xhr||!this.processing_xhr.abort)&&(this.processing_xhr.abort(),!0)},addToQueue:function(e,t,i){var s=this.next_id;return this.next_id+=1,this.queue_table[s]={data:e,processFunction:t},i?this.queue_id_list.push(s):this.queue_id_list=[s].concat(this.queue_id_list),this.processing_size0&&(this.timeout=n.timeout),o=500,_.isFinite(n.filter_interval)&&(o=n.filter_interval),o>0&&(this.filter_object=new e.RepetitionFilter(o)),this.last_queue_id=0,this.queue_object=i,this.use_queue=!n.hasOwnProperty("use_queue")||!!n.use_queue,this.use_queue&&n.separate_queue&&(this.queue_object=new t(n.window_size))},addGlobalHandler:function(e){return!!_.isFunction(e)&&(this.global_handlers.push(e),!0)},removeGlobalHandler:function(e){var t=this.global_handlers.length;return this.global_handlers=_.reject(this.global_handlers,(function(t){return t===e}),this),this.global_handlers.length',new Handlebars.SafeString(i)}return Handlebars.registerHelper("equals",(function(e,t,i){return e==t?i.fn(this):i.inverse(this)})),e.AutocreateMixin={setCreateFunction:function(e){this.createFunction=e},getOrCreate:function(e,t){t=t||{};var i=_.omit(t,["delay_add"]),s=this.get(e);if(s||_.isFunction(this.createFunction))return s||(s=this.createFunction(e))&&!t.delay_add&&this.add(s,i),s}},e.TemplateMixin={setTemplate:function(e,t){"#"!==e[0]&&(e="#"+e),this.compiledTemplate=AoPS.View.compileTemplate(e),this.compiledTemplate||console.log("WARNING: Template ID "+e+" not found"),this.use_root_el=!!t,this.rendered_tpl_before=!1},setTemplateAndUseRootEl:function(e){this.setTemplate(e,!0)},renderTopOnly:function(){var e,t;this.compiledTemplate?""===(e=$.trim(this.compiledTemplate({})))||(this.use_root_el?this.rendered_tpl_before||(t=$($.parseHTML(e)).empty(),this.$el.replaceWith(t),this.setElement(t),this.rendered_tpl_before=!0):this.rendered_tpl_before=!0):this.$el.empty()},renderTemplate:function(e){var t,i;this.compiledTemplate?""===(t=$.trim(this.compiledTemplate(e)))||(this.use_root_el?this.rendered_tpl_before?(this.$el.empty(),this.$el.append($($.parseHTML(t)).contents())):(i=this.$el.html(t).contents(),this.$el.replaceWith(i),this.setElement(i),this.rendered_tpl_before=!0):(this.$el.html(t),this.rendered_tpl_before=!0)):this.$el.empty()}},Handlebars.registerHelper("SUBVIEWLOC",i),Handlebars.registerHelper("subviewloc",i),e.SubviewMixin={reorderAtLocation:function(e,i,s){t.initKeyChain(this,["subviews",e],[]);var n=this.subviews[e].length;if(n){var o=this.subviews[e][n-1];i=_.bind(i,this);var a=_.map(this.subviews[e],(function(e){return{cmp:i(e),view:e}}),this);if(a.sort((function(e,t){return e.cmp',AoPS.Page.$loader=$($.parseHTML(AoPS.Page.loader_html)),AoPS.Page.buildLoader=function(){return AoPS.Page.$loader.clone()},AoPS.Page.Model=Backbone.Model.extend({initialize:function(){this.set("elements",{}),this.set("active_elements",[]),this.set("locations",[]),this.set("active_locations",[])},fetchElement:function(e){var t=e.hasOwnProperty("id")?this.findExistingElement(e.id):null;return _.isUndefined(t)||_.isNull(t)?t=this.createElement(e):"backbone"===t.type&&(t.dom_element=t.view.$el),t},findExistingElement:function(e){var t=this.get("elements");return t.hasOwnProperty(e)?t[e]:null},createElement:function(e){var t,o;return e.hasOwnProperty("type")&&"backbone"!==e.type?"jQuery_object"===e.type&&(e.hasOwnProperty("jQuery_object")||(console.log("You tried to initiate a jQuery_object element without sending the object!"),console.log("The id is "+e.id)),t={id:e.id,dom_element:e.jQuery_object,type:"jQuery_object",no_save:!!e.no_save,onAddToPage:e.hasOwnProperty("onAddToPage")?e.onAddToPage:function(){},onRemoveFromPage:e.hasOwnProperty("onRemoveFromPage")?e.onRemoveFromPage:function(){}}):(o=e.constructor(),t={id:e.id,dom_element:o.$el,type:"backbone",view:o,no_save:!!e.no_save,onAddToPage:"function"==typeof o.onAddToPage?function(e){o.onAddToPage(e)}:function(){},onRemoveFromPage:"function"==typeof o.onRemoveFromPage?function(){o.onRemoveFromPage()}:function(){}}),e.no_save||this.insertElement(t),t},insertElement:function(e){this.get("elements")[e.id]=e},activateElement:function(e){var t=this.fetchElement(e);return this.get("active_elements").push(t),t},fetchLocation:function(e){var t=_.find(this.get("locations"),(function(t){return t.id===e}));return _.isUndefined(t)&&(t=this.createLocation(e)),t},createLocation:function(e){var t={id:e,dom_element:$($.parseHTML('')),is_active:!1};return this.get("locations").push(t),t},activateLocation:function(e){e.is_active=!0,this.get("active_locations").push(e)},clearActiveArrays:function(){this.set("active_elements",[]),this.set("active_locations",[])}}),AoPS.Page.View=Backbone.View.extend({classes:[],$breadcrumbs_wrapper:$("#breadcrumbs-wrapper"),$breadcrumbs_bar:$("#breadcrumbs .crumb-wrapper"),initialize:function(){this.$subheader=$("#subheader"),0===this.$subheader.length&&(this.$subheader=$('').css({width:"100%","text-align":"center"}),$("#header").after(this.$subheader)),this.$error_window=$("#page_error_window"),0===this.$error_window.length&&(this.$error_window=$('').css({width:"100%","text-align":"left"})),this.$loader=AoPS.Page.buildLoader()},findActiveElement:function(e){return _.find(this.model.get("active_elements"),(function(t){return t.id===e}))},showElement:function(e){var t,o=this.model.activateElement(e);return e.hasOwnProperty("location")?"subheader"===e.location?this.$subheader.append(o.dom_element):((t=this.model.fetchLocation(e.location)).is_active||(this.model.activateLocation(t),this.$el.append(t.dom_element)),t.dom_element.append(o.dom_element)):this.$el.append(o.dom_element),o.dom_element.trigger("added_to_page",e.hasOwnProperty("on_add_settings")?e.on_add_settings:{}),o.onAddToPage(e.hasOwnProperty("on_add_settings")?e.on_add_settings:{}),_.clone(o)},showElements:function(e){var t=[];return _.each(e,_.bind((function(e){t.push(this.showElement(e))}),this)),t},hideElement:function(e){e&&(e.dom_element.detach(),"backbone"===e.type&&e.view.$el.detach(),e.onRemoveFromPage(),e.no_save&&"backbone"===e.type&&e.view.close&&e.view.close())},clearPage:function(e){var t=_.extend({remove_modals:!0,hide_loader:!0,remove_all:!0,remove_classes:!0},e);t.remove_modals&&AoPS.Ui.Modal.closeAllModals(),t.hide_loader&&this.hideLoader(),t.remove_classes&&this.clearClasses(),t.remove_all&&(_.each(this.model.get("active_elements"),this.hideElement,this),_.each(this.model.get("active_locations"),(function(e){e.is_active=!1,e.dom_element.detach()})),this.model.clearActiveArrays()),this.showBreadcrumbs()},removeElement:function(e){var t;0!==e.length&&(t=this.model.findExistingElement(e),this.hideElement(t),this.model.set("active_elements",_.without(this.model.get("active_elements"),t)))},forgetElement:function(e){var t;0!==e.length&&(t=this.model.findExistingElement(e),_.isUndefined(t)||(this.hideElement(t),this.model.set("active_elements",_.without(this.model.get("active_elements"),t)),this.model.set("elements",_.without(this.model.get("elements"),t))))},addClass:function(e){this.$el.addClass(e),this.classes.push(e)},removeClass:function(e){this.$el.removeClass(e),this.classes=_.without(this.classes,e)},setClass:function(e){this.clearClasses(),this.addClass(e)},clearClasses:function(){_.each(this.classes,_.bind((function(e){this.$el.removeClass(e)}),this)),this.classes=[]},throwError:function(e){var t;switch(this.clearPage(),e.error_type){case"unregistered":t="You must be signed in to view this page.";break;case"custom":t=e.error_msg}this.$error_window.html(t),this.showElement({id:"page-error-window-"+this.cid,type:"jQuery_object",jQuery_object:this.$error_window})},hideBreadcrumbs:function(){this.$breadcrumbs_wrapper.hide()},showBreadcrumbs:function(){this.$breadcrumbs_wrapper.show()},showLoader:function(){this.$loader.is(":visible")||this.$el.append(this.$loader)},hideLoader:function(){this.$loader.detach()},setBreadcrumbs:function(e,t){var o=_.map(e||[],(function(e,o){var i=e.text,n=e.no_stay?"":" "+(t||"data-stay");return e.url&&(i='"+i+""),''+i+""}));this.$breadcrumbs_bar.html($.parseHTML(o.join(' ')))},setTitle:function(e){document.title=e}}),AoPS.Page.setBreadcrumbs=function(e,t){var o=_.map(e||[],(function(e,o){var i=e.text,n=e.no_stay?"":" "+(t||"data-stay");return e.url&&(i=""+i+""),''+i+""}));$("#breadcrumbs .crumb-wrapper").html($.parseHTML(o.join(' ')))},AoPS.Page.showBreadcrumbs=function(){$("#breadcrumbs-wrapper").show()},AoPS.Page.hideBreadcrumbs=function(){$("#breadcrumbs-wrapper").hide()},AoPS.Page.constructPage=function(e){return new AoPS.Page.View({model:new AoPS.Page.Model,id:e})};
+;AoPS.AskAoPS=AoPS.AskAops={display:function(a){var o=['
','
',"
Ask AoPS
","I have a question about: ",'
','','','','','','','',"
","
",'
','
Have a general question about Art of Problem Solving? Let us know below.
','','','','','','','','','
','',"
","
","
"];o=o.join("\n"),AoPS.Ui.Modal.showPlain({body:o,width:"75%",onClose:this.onClose,scrollable:!1,frame_class:"askaops-modal",height:"",max_height:""}),$(".askaops-modal").parent(".aops-modal-wrapper").addClass("askaops-modal-wrapper"),void 0!==a&&setTimeout((function(){"class"===a?($(".askaops input[name='askaops-category'][value=class]").prop("checked",!0),AoPS.AskAoPS.onChange()):"book"===a&&($(".askaops input[name='askaops-category'][value=book]").prop("checked",!0),AoPS.AskAoPS.onChange())}),1),this.onShow()},onChange:function(a){var o=$(".askaops input[name='askaops-category']:checked").val(),s=["Have a general question about Art of Problem Solving?","Let us know below.","View our Privacy Policy."].join(" "),e=["Please tell us about your student's math background, including","their grade level, recent math classes, and contest experience","(if any), as well as your goals for choosing books. You can also","find suggestions on our ",'Recommendations page.',"View our Privacy Policy."].join(" "),r=["Please tell us about your student's math background, including","their grade level, recent math classes, and contest experience","(if any), as well as your goals for choosing a course. You can","also find suggestions on our",'Recommendations page.',"Visit ","Frequently Asked Questions for quick answers to common class questions.","View our Privacy Policy."].join(" "),n=["Have a question about an order? Let us know below.","View our Privacy Policy."].join(" "),t=["Have a question about your current class? Let us know below.",'Visit Frequently Asked Questions',"for quick answers to common class questions.","
Specific questions about homework problems or assignments","should be posted to your course's message board.","Extension requests can be made from your class homepage.
","View our Privacy Policy."].join(" ");switch($("#askaops-username").hide(),$("#askaops-ordernumber").hide(),$("#askaops-course").hide(),o){case"general":$("#askaops-blurb").html(s);break;case"book":$("#askaops-blurb").html(e);break;case"class":$("#askaops-blurb").html(r);break;case"order":$("#askaops-blurb").html(n),$("#askaops-ordernumber").show();break;case"myclass":$("#askaops-blurb").html(t),$("#askaops-username").show(),$("#askaops-course").show();break;case"technical":$("#askaops-username").show(),$("#askaops-blurb").html(["Please include a detailed description of the error or issue you ","are experiencing.","View our Privacy Policy."]);break;case"other":$("#askaops-blurb").html("View our Privacy Policy.")}},onSubmit:function(){$("#askaops-submit").off("click",AoPS.AskAoPS.onSubmit);var a=$(".askaops input[name='askaops-category']:checked").val();$.post("/m/contact/ajax.php",{action:"email",type:a,username:$("#askaops-username").val(),email:$("#askaops-email").val(),name:$("#askaops-name").val(),subject:$("#askaops-subject").val(),message:$("#askaops-message").val(),orderid:$("#askaops-ordernumber").val(),course:$("#askaops-course").val(),url:window.location.href},(function(a){if(a.error_msg)$("#askaops-error").html(a.error_msg).show(),$("#askaops-submit").on("click",AoPS.AskAoPS.onSubmit);else{AoPS.Ui.Modal.closeTopModal();AoPS.Ui.Modal.showAlertQuick(["
Thank you. We have received your comment or question.
","
One of our staff members will respond to you within two","business days.
"].join(" "))}}))},onShow:function(){$(".askaops input[name='askaops-category']").on("change",this.onChange),$("#askaops-submit").on("click",this.onSubmit)},onClose:function(){$(".askaops input[name='askaops-category']").off("change",this.onChange),$("#askaops-submit").off("click",this.onSubmit)}};
+;//# sourceMappingURL=aops_core.js.map
\ No newline at end of file
diff --git a/Download/ A Mathematical Curiosity_files/aops_errors.js b/Download/ A Mathematical Curiosity_files/aops_errors.js
new file mode 100644
index 0000000..2d1e0ff
--- /dev/null
+++ b/Download/ A Mathematical Curiosity_files/aops_errors.js
@@ -0,0 +1,4 @@
+function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}
+/*! Raven.js 3.26.4 (409f3b4) | github.com/getsentry/raven-js */!function(e){if("object"==("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).Raven=e()}}((function(){return function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var c=new Error("Cannot find module '"+a+"'");throw c.code="MODULE_NOT_FOUND",c}var l=n[a]={exports:{}};t[a][0].call(l.exports,(function(e){var n=t[a][1][e];return i(n||e)}),l,l.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;athis.k.maxBreadcrumbs&&this.u.shift(),this},addPlugin:function(e){var t=[].slice.call(arguments,1);return this.r.push([e,t]),this.n&&this.F(),this},setUserContext:function(e){return this.j.user=e,this},setExtraContext:function(e){return this.Z("extra",e),this},setTagsContext:function(e){return this.Z("tags",e),this},clearContext:function(){return this.j={},this},getContext:function(){return JSON.parse(s(this.j))},setEnvironment:function(e){return this.k.environment=e,this},setRelease:function(e){return this.k.release=e,this},setDataCallback:function(e){var t=this.k.dataCallback;return this.k.dataCallback=i(t,e),this},setBreadcrumbCallback:function(e){var t=this.k.breadcrumbCallback;return this.k.breadcrumbCallback=i(t,e),this},setShouldSendCallback:function(e){var t=this.k.shouldSendCallback;return this.k.shouldSendCallback=i(t,e),this},setTransport:function(e){return this.k.transport=e,this},lastException:function(){return this.d},lastEventId:function(){return this.f},isSetup:function(){return!(!this.a||!this.g&&(this.ravenNotConfiguredError||(this.ravenNotConfiguredError=!0,this.z("error","Error: Raven has not been configured.")),1))},afterLoad:function(){var e=B.RavenConfig;e&&this.config(e.dsn,e.config).install()},showReportDialog:function(e){if($){if(!(e=Object.assign({eventId:this.lastEventId(),dsn:this.H,user:this.j.user||{}},e)).eventId)throw new c("Missing eventId");if(!e.dsn)throw new c("Missing DSN");var t=encodeURIComponent,n=[];for(var r in e)if("user"===r){var i=e.user;i.name&&n.push("name="+t(i.name)),i.email&&n.push("email="+t(i.email))}else n.push(t(r)+"="+t(e[r]));var o=this.J(this.G(e.dsn)),a=$.createElement("script");a.async=!0,a.src=o+"/api/embed/error-page/?"+n.join("&"),($.head||$.body).appendChild(a)}},L:function(){var e=this;this.m+=1,setTimeout((function(){e.m-=1}))},$:function(e,t){var n,r;if(this.b){for(r in t=t||{},e="raven"+e.substr(0,1).toUpperCase()+e.substr(1),$.createEvent?(n=$.createEvent("HTMLEvents")).initEvent(e,!0,!0):(n=$.createEventObject()).eventType=e,t)R(t,r)&&(n[r]=t[r]);if($.createEvent)$.dispatchEvent(n);else try{$.fireEvent("on"+n.eventType.toLowerCase(),n)}catch(i){}}},_:function(e){var t=this;return function(n){if(t.aa=null,t.v!==n){var r;t.v=n;try{r=M(n.target)}catch(i){r=""}t.captureBreadcrumb({category:"ui."+e,message:r})}}},ba:function(){var e=this;return function(t){var n;try{n=t.target}catch(i){return}var r=n&&n.tagName;if(r&&("INPUT"===r||"TEXTAREA"===r||n.isContentEditable)){var o=e.aa;o||e._("input")(t),clearTimeout(o),e.aa=setTimeout((function(){e.aa=null}),1e3)}}},ca:function(e,t){var n=F(this.w.href),r=F(t),i=F(e);this.x=t,n.protocol===r.protocol&&n.host===r.host&&(t=r.relative),n.protocol===i.protocol&&n.host===i.host&&(e=i.relative),this.captureBreadcrumb({category:"navigation",data:{to:t,from:e}})},C:function(){var e=this;e.da=Function.prototype.toString,Function.prototype.toString=function(){return"function"==typeof this&&this.M?e.da.apply(this.O,arguments):e.da.apply(this,arguments)}},Q:function(){this.da&&(Function.prototype.toString=this.da)},D:function(){function e(e){return function(t,r){for(var i=new Array(arguments.length),o=0;o"}}},a)),e.apply?e.apply(this,i):e(i[0],i[1])}}function t(e){var t=B[e]&&B[e].prototype;t&&t.hasOwnProperty&&t.hasOwnProperty("addEventListener")&&(q(t,"addEventListener",(function(t){return function(r,o,a,s){try{o&&o.handleEvent&&(o.handleEvent=n.wrap({mechanism:{type:"instrument",data:{target:e,function:"handleEvent",handler:o&&o.name||""}}},o.handleEvent))}catch(u){}var c,l,f;return i&&i.dom&&("EventTarget"===e||"Node"===e)&&(l=n._("click"),f=n.ba(),c=function(e){if(e){var t;try{t=e.type}catch(n){return}return"click"===t?l(e):"keypress"===t?f(e):void 0}}),t.call(this,r,n.wrap({mechanism:{type:"instrument",data:{target:e,function:"addEventListener",handler:o&&o.name||""}}},o,c),a,s)}}),r),q(t,"removeEventListener",(function(e){return function(t,n,r,i){try{n=n&&(n.N?n.N:n)}catch(o){}return e.call(this,t,n,r,i)}}),r))}var n=this,r=n.t,i=this.k.autoBreadcrumbs;q(B,"setTimeout",e,r),q(B,"setInterval",e,r),B.requestAnimationFrame&&q(B,"requestAnimationFrame",(function(e){return function(t){return e(n.wrap({mechanism:{type:"instrument",data:{function:"requestAnimationFrame",handler:e&&e.name||""}}},t))}}),r);for(var o=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],a=0;a"}}},n)}))}var t=this,n=this.k.autoBreadcrumbs,r=t.t;if(n.xhr&&"XMLHttpRequest"in B){var i=B.XMLHttpRequest&&B.XMLHttpRequest.prototype;q(i,"open",(function(e){return function(n,r){return b(r)&&-1===r.indexOf(t.h)&&(this.ea={method:n,url:r,status_code:null}),e.apply(this,arguments)}}),r),q(i,"send",(function(n){return function(){function r(){if(i.ea&&4===i.readyState){try{i.ea.status_code=i.status}catch(e){}t.captureBreadcrumb({type:"http",category:"xhr",data:i.ea})}}for(var i=this,o=["onload","onerror","onprogress"],a=0;a"}}},e,r)})):i.onreadystatechange=r,n.apply(this,arguments)}}),r)}n.xhr&&A()&&q(B,"fetch",(function(e){return function(){for(var n=new Array(arguments.length),r=0;r2?arguments[2]:void 0;return n&&t.ca(t.x,n+""),e.apply(this,arguments)}};q(B.history,"pushState",u,r),q(B.history,"replaceState",u,r)}if(n.console&&"console"in B&&console.log){var c=function(e,n){t.captureBreadcrumb({message:e,level:n.level,category:"console"})};x(["debug","info","warn","error","log"],(function(e,t){I(console,t,c)}))}},R:function(){for(var e;this.t.length;){var t=(e=this.t.shift())[0],n=e[1],r=e[2];t[n]=r}},S:function(){for(var e in this.q)this.p[e]=this.q[e]},F:function(){var e=this;x(this.r,(function(t,n){var r=n[0],i=n[1];r.apply(e,[e].concat(i))}))},G:function(e){var t=z.exec(e),n={},r=7;try{for(;r--;)n[H[r]]=t[r]||""}catch(i){throw new c("Invalid DSN: "+e)}if(n.pass&&!this.k.allowSecretKey)throw new c("Do not specify your secret key in the DSN. See: http://bit.ly/raven-secret-key");return n},J:function(e){var t="//"+e.host+(e.port?":"+e.port:"");return e.protocol&&(t=e.protocol+":"+t),t},A:function(e,t){(t=t||{}).mechanism=t.mechanism||{type:"onerror",handled:!1},this.m||this.V(e,t)},V:function(e,t){var n=this.X(e,t);this.$("handle",{stackInfo:e,options:t}),this.fa(e.name,e.message,e.url,e.lineno,n,t)},X:function(e,t){var n=this,r=[];if(e.stack&&e.stack.length&&(x(e.stack,(function(t,i){var o=n.ga(i,e.url);o&&r.push(o)})),t&&t.trimHeadFrames))for(var i=0;i0&&(e.breadcrumbs={values:[].slice.call(this.u,0)}),this.j.user&&(e.user=this.j.user),t.environment&&(e.environment=t.environment),t.release&&(e.release=t.release),t.serverName&&(e.server_name=t.serverName),e=this.pa(e),Object.keys(e).forEach((function(t){(null==e[t]||""===e[t]||E(e[t]))&&delete e[t]})),y(t.dataCallback)&&(e=t.dataCallback(e)||e),e&&!E(e)&&(!y(t.shouldSendCallback)||t.shouldSendCallback(e)))return this.ma()?void this.z("warn","Raven dropped error due to backoff: ",e):void("number"==typeof t.sampleRate?Math.random() ".length;e&&r++<5&&!("html"===(t=h(e))||r>1&&i+n.length*o+t.length>=80);)n.push(t),i+=t.length,e=e.parentNode;return n.reverse().join(" > ")},htmlElementAsString:h,isSameException:function(e,t){return!p(e,t)&&(e=e.values[0],t=t.values[0],e.type===t.type&&e.value===t.value&&!function(e,t){return r(e)&&r(t)}(e.stacktrace,t.stacktrace)&&d(e.stacktrace,t.stacktrace))},isSameStacktrace:d,parseUrl:function(e){if("string"!=typeof e)return{};var t=e.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/),n=t[6]||"",r=t[8]||"";return{protocol:t[2],host:t[4],path:t[5],relative:t[5]+n+r}},fill:function(e,t,n,r){if(null!=e){var i=e[t];e[t]=n(i),e[t].M=!0,e[t].O=i,r&&r.push([e,t,i])}},safeJoin:function(e,t){if(!a(e))return"";for(var n=[],r=0;rr?e(t,n-1):o},serializeKeysForMessage:function(e,t){if("number"==typeof e||"string"==typeof e)return e.toString();if(!Array.isArray(e))return"";if(0===(e=e.filter((function(e){return"string"==typeof e}))).length)return"[object has no keys]";if(t="number"!=typeof t?x:t,e[0].length>=t)return e[0];for(var n=e.length;n>0;n--){var r=e.slice(0,n).join(", ");if(!(r.length>t))return n===e.length?r:r+"…"}return""},sanitize:function(e,t){if(!a(t)||a(t)&&0===t.length)return e;var n,r=f(t),o="********";try{n=JSON.parse(y(e))}catch(s){return e}return function e(t){return a(t)?t.map((function(t){return e(t)})):i(t)?Object.keys(t).reduce((function(n,i){return n[i]=r.test(i)?o:e(t[i]),n}),{}):t}(n)}}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{7:7}],6:[function(e,t,n){(function(n){function r(){return"undefined"==typeof document||null==document.location?"":document.location.href}var i=e(5),o={collectWindowErrors:!0,debug:!1},a="undefined"!=typeof window?window:void 0!==n?n:"undefined"!=typeof self?self:{},s=[].slice,u="?",c=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;o.report=function(){function e(t,n){var r=null;if(!n||o.collectWindowErrors){for(var i in p)if(p.hasOwnProperty(i))try{p[i].apply(null,[t].concat(s.call(arguments,2)))}catch(e){r=e}if(r)throw r}}function t(t,a,s,l,h){var p=i.isErrorEvent(h)?h.error:h,d=i.isErrorEvent(t)?t.message:t;if(v)o.computeStackTrace.augmentStackTraceWithInitialElement(v,a,s,d),n();else if(p&&i.isError(p))e(o.computeStackTrace(p),!0);else{var m,g={url:a,line:s,column:l},y=void 0;if("[object String]"==={}.toString.call(d))(m=d.match(c))&&(y=m[1],d=m[2]);g.func=u,e({name:y,message:d,url:r(),stack:[g]},!0)}return!!f&&f.apply(this,arguments)}function n(){var t=v,n=d;d=null,v=null,m=null,e.apply(null,[t,!1].concat(n))}function l(e,t){var r=s.call(arguments,1);if(v){if(m===e)return;n()}var i=o.computeStackTrace(e);if(v=i,m=e,d=r,setTimeout((function(){m===e&&n()}),i.incomplete?2e3:0),!1!==t)throw e}var f,h,p=[],d=null,m=null,v=null;return l.subscribe=function(e){h||(f=a.onerror,a.onerror=t,h=!0),p.push(e)},l.unsubscribe=function(e){for(var t=p.length-1;t>=0;--t)p[t]===e&&p.splice(t,1)},l.uninstall=function(){h&&(a.onerror=f,h=!1,f=void 0),p=[]},l}(),o.computeStackTrace=function(){function e(e){if(void 0!==e.stack&&e.stack){for(var t,n,i,o=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|native|eval|webpack||[a-z]:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx(?:-web)|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,s=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,c=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,l=/\((\S*)(?::(\d+))(?::(\d+))\)/,f=e.stack.split("\n"),h=[],p=(/^(.*) is undefined$/.exec(e.message),0),d=f.length;p eval")>-1&&(t=c.exec(n[3]))?(n[3]=t[1],n[4]=t[2],n[5]=null):0!==p||n[5]||void 0===e.columnNumber||(h[0].column=e.columnNumber+1),i={url:n[3],func:n[1]||u,args:n[2]?n[2].split(","):[],line:n[4]?+n[4]:null,column:n[5]?+n[5]:null}}if(!i.func&&i.line&&(i.func=u),i.url&&"blob:"===i.url.substr(0,5)){var v=new XMLHttpRequest;if(v.open("GET",i.url,!1),v.send(null),200===v.status){var g=v.responseText||"",y=(g=g.slice(-300)).match(/\/\/# sourceMappingURL=(.*)$/);if(y){var b=y[1];"~"===b.charAt(0)&&(b=("undefined"==typeof document||null==document.location?"":document.location.origin?document.location.origin:document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:""))+b.slice(1)),i.url=b.slice(0,-4)}}}h.push(i)}return h.length?{name:e.name,message:e.message,url:r(),stack:h}:null}}function t(e,t,n,r){var i={url:t,line:n};if(i.url&&i.line){if(e.incomplete=!1,i.func||(i.func=u),e.stack.length>0&&e.stack[0].url===i.url){if(e.stack[0].line===i.line)return!1;if(!e.stack[0].line&&e.stack[0].func===i.func)return e.stack[0].line=i.line,!1}return e.stack.unshift(i),e.partial=!0,!0}return e.incomplete=!0,!1}function n(e,a){for(var s,c,l=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,f=[],h={},p=!1,d=n.caller;d&&!p;d=d.caller)if(d!==i&&d!==o.report){if(c={url:null,func:u,line:null,column:null},d.name?c.func=d.name:(s=l.exec(d.toString()))&&(c.func=s[1]),void 0===c.func)try{c.func=s.input.substring(0,s.input.indexOf("{"))}catch(v){}h[""+d]?p=!0:h[""+d]=!0,f.push(c)}a&&f.splice(0,a);var m={name:e.name,message:e.message,url:r(),stack:f};return t(m,e.sourceURL||e.fileName,e.line||e.lineNumber,e.message||e.description),m}function i(t,i){var s=null;i=null==i?0:+i;try{if(s=e(t))return s}catch(a){if(o.debug)throw a}try{if(s=n(t,i+1))return s}catch(a){if(o.debug)throw a}return{name:t.name,message:t.message,url:r()}}return i.augmentStackTraceWithInitialElement=t,i.computeStackTraceFromStackProp=e,i}(),t.exports=o}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{5:5}],7:[function(e,t,n){function r(e,t){for(var n=0;n0){var s=r(n,this);~s?n.splice(s+1):n.push(this),~s?i.splice(s,1/0,o):i.push(o),~r(n,a)&&(a=t.call(this,o,a))}else n.push(a);return null==e?a instanceof Error?function(e){var t={stack:e.stack,message:e.message,name:e.name};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}(a):a:e.call(this,o,a)}}n=t.exports=function(e,t,n,r){return JSON.stringify(e,i(t,r),n)},n.getSerialize=i},{}],8:[function(e,t,n){function r(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function i(e,t,n,i,o,a){return r(function(e,t){return e<>>32-t}(r(r(t,e),r(i,a)),o),n)}function o(e,t,n,r,o,a,s){return i(t&n|~t&r,e,t,o,a,s)}function a(e,t,n,r,o,a,s){return i(t&r|n&~r,e,t,o,a,s)}function s(e,t,n,r,o,a,s){return i(t^n^r,e,t,o,a,s)}function u(e,t,n,r,o,a,s){return i(n^(t|~r),e,t,o,a,s)}function c(e,t){e[t>>5]|=128<>>9<<4)]=t;var n,i,c,l,f,h=1732584193,p=-271733879,d=-1732584194,m=271733878;for(n=0;n>5]>>>t%32&255);return n}function f(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t>5]|=(255&e.charCodeAt(t/8))<>>4&15)+r.charAt(15&t);return i}function p(e){return unescape(encodeURIComponent(e))}function d(e){return function(e){return l(c(f(e),8*e.length))}(p(e))}function m(e,t){return function(e,t){var n,r,i=f(e),o=[],a=[];for(o[15]=a[15]=void 0,i.length>16&&(i=c(i,8*e.length)),n=0;n<16;n+=1)o[n]=909522486^i[n],a[n]=1549556828^i[n];return r=c(o.concat(f(t)),512+8*t.length),l(c(a.concat(r),640))}(p(e),p(t))}t.exports=function(e,t,n){return t?n?m(t,e):function(e,t){return h(m(e,t))}(t,e):n?d(e):function(e){return h(d(e))}(e)}},{}]},{},[4])(4)}));
+;function _typeof(e){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}AoPS.ErrorUtil={PRODUCTION_ONLY:!0,IGNORE_ERRORS:["top.GLOBALS","originalCreateNotification","canvas.contentDocument","MyApp_RemoveAllHighlights","http://tt.epicplay.com","Can't find variable: ZiteReader","jigsaw is not defined","ComboSearch is not defined","http://loading.retry.widdit.com/","atomicFindClose","fb_xd_fragment","bmi_SafeAddOnload","EBCallBackMessageReceived","conduitPage",/\bUET\b/,/\(raven\)/i,"Cannot read property 'offsetParent' of null","Cannot read property 'DOMNodeInsertedByJs' of undefined","SymBrowser_Modify","Can't find variable: __opera","Can't find variable: didEnterViewPort","Can't find variable: GetHTMLElementsAtPoint","Can't find variable: GetImageTagSrcFromPoint","Can't find variable: require","Can't find variable: MyAppGetLinkTitleNameAtPoint","Can't find variable: MyAppGetLinkSRCAtPoint","Can't find variable: MyAppGetLinkHREFAtPoint","Can't find variable: MyAppGetHTMLElementsAtPoint","Can't find variable: UC_NEWS_PAUSE_ALL_VIDEOS","document.getElementsByTagName('video')[0].webkitExitFullScreen",'document.getElementsByName("screen-orientation")[0].content','document.getElementsByName("full-screen")',"window.biliInject.postMessage","undefined is not an object (evaluating 'window.webkit.messageHandlers')","Invalid character: '\\0'","Can't find variable: removeAllHighlights",/ss_post_message_to_iframe_injection/i,"$UCBrowser","WeixinJSBridge","__tb_js_bridge","ZhihuiOS","x5onSkinSwitch is not defined",/ServerLocationCb\d+ is not defined/,"Cannot read property 'content' of undefined","hwbrNotifyScreenConfigChanged is not defined.","Cannot redefine property: BetterJsPop","__gCrWeb.form.wasEditedByUser.set","vid_mate_check","__firefox__","Cannot redefine property: googletag","w2zo.data.indexOf","extAbbr is not defined",/Invalid regular expression: \/function\(/i,"Access is denied.","a.LegacyGlobal.LP_explicit_ignored",/Permission denied to access property/i,"ResizeObserver loop limit exceeded","Argument 1 ('target') to MutationObserver.observe must be an instance of Node","Cannot read property 'checkDomStatus' of undefined","document.getElementsByClassName.ToString is not a function","Cannot read property 'updateBookMallStatus' of undefined","Can't find variable: pktAnnotationHighlighter","Failed to execute 'postMessage' on 'Window': function (","Unspecified error.","null is not an object (evaluating 'a.title')","Failed to read the 'cookie' property from 'Document': Access is denied for this document.",/Failed to load 'https:\/\/.+\.ru\/adb_rotate\?/i],IGNORE_URLS:[/graph\.facebook\.com/i,/connect\.facebook\.net\//i,/eatdifferent\.com\.woopra-ns\.com/i,/static\.woopra\.com\/js\/woopra\.js/i,/extensions\//i,/^chrome:\/\//i,/^chrome-extension:\/\//i,/127\.0\.0\.1:4001\/isrunning/i,/webappstoolbarba\.texthelp\.com\//i,/metrics\.itunes\.apple\.com\.edgesuite\.net\//i],vitals:{"/js/jquery.min.js":function(){return"undefined"==typeof $},"/vendor/common-combined-2.js":function(){return"undefined"==typeof Backbone||"undefined"==typeof _||"undefined"==typeof Handlebars}},consoleErrors:!0,consoleSentryObjects:!1,blockSentry:!1,criticalFailure:!1,scriptLoadError:!1,mFolder:null},AoPS.ErrorUtil._init=function(){if(this.mFolder=this._getMFolder(),this._canCloudLog(!1)){var e={},t=this;e.release=AoPS.sentry.assetVersion,e.environment="acad"===AoPS.repo?AoPS.sentry.acadEnvironment:AoPS.sentry.aopsEnvironment,e.ignoreErrors=AoPS.ErrorUtil.IGNORE_ERRORS,e.ignoreUrls=AoPS.ErrorUtil.IGNORE_URLS,e.dataCallback=function(e){(Raven.setTagsContext({scriptLoadError:t.scriptLoadError,mFolder:t.mFolder}),Raven.setExtraContext(),e.transaction)&&(e.tags||(e.tags={scriptLoadError:t.scriptLoadError,mFolder:t.mFolder}),t._checkVitals(e.transaction)&&(e.tags.type="E_CRITICAL_DEPENDENCY_FAILURE"));return e},e.shouldSendCallback=function(e){var o=!0;return t.criticalFailure?(o=!1,t.consoleSentryObjects&&console.log("Error log cancelled by ErrorUtil.criticalFailure")):e.tags&&"E_CRITICAL_DEPENDENCY_FAILURE"===e.tags.type?t.criticalFailure=!0:t.scriptLoadError&&(o=!1,console.log("Error log cancelled by ErrorUtil.scriptLoadError")),o&&t.blockSentry&&(o=!1,t.consoleSentryObjects&&console.log("Error log cancelled by ErrorUtil.blockSentry")),t.consoleSentryObjects&&console.log(o?"Sending: ":"Not sending: ",e),o},Raven.config("acad"===AoPS.repo?"https://1a1e07bb9c0b4ea982520ea420a8d5ce@sentry.io/1294162":"https://6b4d51ae86274a829b38a3d93186b59a@sentry.io/1285919",e).install(),AoPS.session&&AoPS.session.logged_in&&Raven.setUserContext({id:AoPS.session.user_id,username:AoPS.session.username}),this._listenFailingScripts()}},AoPS.ErrorUtil._canCloudLog=function(e){return!this.criticalFailure&&(e=void 0===e||e,("production"===("acad"===AoPS.repo?AoPS.sentry.acadEnvironment:AoPS.sentry.aopsEnvironment)||!this.PRODUCTION_ONLY)&&(!e||!(!Raven||!Raven.isSetup())))},AoPS.ErrorUtil._getMFolder=function(){var e=window.location.pathname.match(/\/([^/]+)\/?/);return e?e[1]:null},AoPS.ErrorUtil._consoleError=function(e){console.error?console.error(e):console.log(e)},AoPS.ErrorUtil._listenFailingScripts=function(){var e=this;window.addEventListener("error",(function(t){var o;t.target&&((o=t.target)&&o.tagName&&"script"===o.tagName.toLowerCase())&&(e.scriptLoadError=!0,e._isVital(t.target.src)?e.log("E_CRITICAL_DEPENDENCY_FAILURE","
+
+
+
+
+
+
+
+
+
+
+
+
+ : Hello, World!
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
After months of procrastination, my new blog is
+finally here! While I have yet to finish the CSS, I'm going to start
+sporadically posting random entries on this blog. Alright, so let's
+begin!
+
+Let's start with Hello, World! programs in our favorite (esoteric) programming languages!
+
+Brainf*ck
+
DO ,1 <- #13
+PLEASE DO ,1 SUB #1 <- #238
+DO ,1 SUB #2 <- #108
+DO ,1 SUB #3 <- #112
+DO ,1 SUB #4 <- #0
+DO ,1 SUB #5 <- #64
+DO ,1 SUB #6 <- #194
+DO ,1 SUB #7 <- #48
+PLEASE DO ,1 SUB #8 <- #22
+DO ,1 SUB #9 <- #248
+DO ,1 SUB #10 <- #168
+DO ,1 SUB #11 <- #24
+DO ,1 SUB #12 <- #16
+DO ,1 SUB #13 <- #162
+PLEASE READ OUT ,1
+PLEASE GIVE UP
+ + by + piphi, Apr 7, 2020, 4:10 PM +
++-
+ Edit
+ -
+ Delete
+ -
+ Report
+
+