PageSourceSearch

https://www.collegefactual.com/_dir-static/js/articlefooter.min.js?v=20240203

js collegefactual.com collected 2026-09-24 09:10:01 UTC 18,049 bytes, 1 lines download raw bytes

1!(function(){if(!window.cfTracker){console.log("tracking system not found.");return}cfTracker.initializeTracking(window.bhGoogleAnalyticsId);cfTracker.trackPageView();$(function(){$("a").on("click",debounce(cfTracker.trackClick,500,true));$(".rightgreybox").on("click",cfTracker.trackClick);$(".rightgreybox a[href]").on("click",function(a){a.stopPropagation()})})})();!(function(){if(typeof cf_GetEzoicClickValueCallback==="undefined"){return}var a=document.getElementById("cclv2-calcmatchbig");if(a){a.addEventListener("click",cf_GetEzoicClickValueCallback(528))}})();!(function(){function b(){$("#mobile-nav-box").addClass("hidden-phone");$("#mobile-nav-header").click(function(){$("#mobile-nav-box").toggleClass("hidden-phone")})}function a(c){c=$(c);if(c.length===0){return}if(!c.get(0)||c.get(0).tagName==="NAV"){return}if(c.hasClass("active")){return}c.addClass("active");a(c.parent());var d=c.attr("data-activatenav");if(d){a("#"+d)}}$(function(){b();if(!!window.bhPageId){a(window.bhPageId)}});window.bhSetActiveNavigation=a}).call(this);!(function(){if(!!this.cfSkipBrowserVersionCheck){return}this.$buoop={c:2};function b(){var c=document.createElement("script");c.src="//browser-update.org/update.min.js";c.async=true;document.body.appendChild(c)}try{document.addEventListener("DOMContentLoaded",b,false)}catch(a){this.attachEvent("onload",b)}}).call(this);!(function(){if(document.location.pathname.indexOf("/colleges/")!==0){$("#relatedCollegeWidget").remove();return}function a(e){var d=$("<div id='relatedCollegeContainer"+e.index+"' class='span2' />").append($("<div id='relatedCollege"+e.index+"' style='height: 100%; background-image: url(https://dzhhw2kso6jlo.cloudfront.net/college_crests/v1/"+e.unitId+"_crest.jpg); background-size: cover; background-position: center center;' />").append("<div class='listTitle' style='background-color: rgba(255,255,255, 0.5);' >"+e.name+"</div>").click(function(g){window.cfTracker.trackClick(g,e.url)}));var f=$("<div id='relatedCollege"+e.index+"' class='span2' style='background-image: url(/college_images/"+e.img+");' />").append("<div class='listTitle' style='background-color: rgba(255,255,255, 0.5);' >"+e.name+"</div>").click(function(g){window.cfTracker.trackClick(g,e.url)});return d}function b(d,e){if(d.length===0||!e){$("#relatedCollegeWidget").remove();return}$.each(d,function(f,h){var g=a({index:f,unitId:h.unitId,name:h.name,img:h.slug+".jpg",url:e.replace("~collegeSlug~",h.slug)});$("#relatedCollegeButtons").append(g)});$("#relatedCollegeWidget").show()}function c(d,e){if(d.length===0||!e||$("#relatedCollegeWidget").length===0){return}$('<div id="slidebox" data-bhTrackRegion="CompareToSlidebox" />').append($('<i id="slideboxClose" class="icon-remove pull-right" />')).append($('<strong style="display: block; margin-bottom: 8px;">Compare to</strong>')).append($('<ul id="slideboxList" />')).appendTo("body");$.each(d,function(f,g){$("<a />").attr("href",e.replace("~collegeSlug~",g.slug)).append($("<i />").addClass("icon-retweet")).append(" "+g.name).appendTo($("<li />").appendTo("#slideboxList"))});$(window).scroll(function(){var f=$("#relatedCollegeWidget").offset().top-$(window).height();if($(window).scrollTop()>f){$("#slidebox").animate({right:"0px"},100)}else{$("#slidebox").stop(true).animate({right:"-325px"},100)}});$("#slideboxClose").click(function(){$(this).parent().remove()})}$(function(){var d=new RelatedSchools();var e=cfThisPageUrlTemplate.split("~sunshineSlug~/")[0];d.related_schools(cfThisPageSlug,6,function(g,f){b(f,e)});d.related_schools(cfThisPageSlug,6,function(g,f){c(f,cfCombatUrlTemplate)})})}).call(this);!(function(){var a=this.bhBaseUri||"",d=this.bhPageId||"";function f(){var j=document.createElement("input");return("placeholder" in j)}$(function(){if(!f()){$("[placeholder]").focus(function(){var j=$(this);if(j.val()===j.attr("placeholder")){j.val("");j.removeClass("placeholder")}}).blur(function(){var j=$(this);if(j.val()===""||j.val()===j.attr("placeholder")){j.addClass("placeholder");j.val(j.attr("placeholder"))}}).blur()}});function e(j){document.getElementById(j).focus();document.getElementById(j).select()}$("body").on("touchstart.dropdown",".dropdown-menu",function(j){j.stopPropagation()}).on("touchstart.dropdown",".dropdown-submenu",function(j){j.stopPropagation()});$(function(){$(".social-media .pinterest").click(function(){i("pinterest");return false});$(".social-media .facebook").click(function(){i("facebook");return false});$(".social-media .googleplus").click(function(){i("googleplus");return false});$(".social-media .twitter").click(function(){i("twitter");return false});$(".social-media .linkedin").click(function(){i("linkedin");return false})});function i(j){var k=c();var l=[];l.url=encodeURIComponent(b("url",k)||document.location.href);l.image=encodeURIComponent(b("image",k)||"");l.title=encodeURIComponent(b("title",k)||document.title);l.description=encodeURIComponent(b("description",k)||g("description"));l.source=encodeURIComponent(b("site_name",k)||"College Factual");l.isMobile=window.isMobileDevice;h(j,l)}function h(j,l){var k="";switch(j){case"pinterest":k="http://pinterest.com/pin/create/button/?url="+l.url+"&media="+l.image+"&description="+l.description;break;case"facebook":if(l.isMobile){k="http://m.facebook.com/sharer.php?u="+l.url}else{k="http://www.facebook.com/sharer/sharer.php?s=100&p%5Btitle%5D="+l.title+"&p%5Burl%5D="+l.url+"&p%5Bimages%5D%5B0%5D="+l.image+"&p%5Bsummary%5D="+l.description}break;case"googleplus":k="https://plus.google.com/share?url="+l.url;break;case"twitter":k="https://twitter.com/intent/tweet?text="+l.title+"&url="+l.url;break;case"linkedin":k="http://www.linkedin.com/shareArticle?mini=true&url="+l.url+"&title="+l.title+"&summary="+l.description+"&source="+l.source;break}window.open(k,"_blank")}$(function(){var k=c();var j=b("url",k)||document.location.href;$("input[name=embed]").val('<iframe src="'+j+'badge.html" height="394px" width="280px" style="border:none;"></iframe><div><a href="'+j+'">Verify at College Factual</a></div>');$("input[name=shareURL]").val(j);$(".shareIcons .pinterest").click(function(){i("pinterest");return false});$(".shareIcons .facebook").click(function(){i("facebook");return false});$(".shareIcons .gplus").click(function(){i("googleplus");return false});$(".shareIcons .twitter").click(function(){i("twitter");return false});$(".shareIcons .linkedin").click(function(){i("linkedin");return false})});$(function(){$("#advancedBadgeSharing .button").click(function(){var n=c();var o=encodeURIComponent(b("url",n)||document.location.href);var l=encodeURIComponent($("input#emailTo").val()||"");var k=encodeURIComponent($("input#emailFrom").val()||"");
1var m="type=badge&emailTo="+l+"&fromName="+k+"&image="+o;function p(){alert("Email sent successfully.")}function j(){alert("Error sending email.")}$.ajax({type:"GET",url:"http://www2.brighthub.com/charts/sendEmail.php",dataType:"jsonp",data:m,success:p,error:j});return false})});$(function(){$("#advancedBadgeSharing #embed").click(function(){e(this.id)});$("#advancedBadgeSharing #shareURL").click(function(){e(this.id)})});function g(l){var k;var m=document.getElementsByTagName("meta");for(var j=0,n=m.length;j<n;j++){if(m[j].name.toLowerCase()===l){k=m[j]}}return k.content}function b(k,j){return j["og:"+k]}function c(){var k=[];var m=document.getElementsByTagName("meta");for(var j=0,o=m.length;j<o;j++){var n=m[j].getAttribute("property");if(n&&n.substring(0,3)==="og:"){var l=m[j].getAttribute("content");k[n]=l}}return k}}).call(this);(function(){var b=function(d,c){return function(){return d.apply(c,arguments)}};!function(a,l){var k,j,i,h;return j=function(){function d(e){this.element=e,this._clickEvent=b(this._clickEvent,this),this.element=a(this.element),this.dropdown=this.element.parent().find(".dropdown-menu"),this.element.on("click",this._clickEvent)}return d.prototype._clickEvent=function(c){return this.dropdown.hasClass("shown")||c.preventDefault(),this.dropdown.toggleClass("shown"),this.element.parent().toggleClass("active")},d}(),i=function(){function c(o,n,m,g){this.button=o,this.element=n,this.location=m,this.offcanvas=g,this._getFade=b(this._getFade,this),this._getCss=b(this._getCss,this),this._touchEnd=b(this._touchEnd,this),this._touchMove=b(this._touchMove,this),this._touchStart=b(this._touchStart,this),this.endThreshold=130,this.startThreshold=this.element.hasClass("navbar-offcanvas-right")?a("body").outerWidth()-60:20,this.maxStartThreshold=this.element.hasClass("navbar-offcanvas-right")?a("body").outerWidth()-20:60,this.currentX=0,this.fade=this.element.hasClass("navbar-offcanvas-fade")?!0:!1,a(document).on("touchstart",this._touchStart),a(document).on("touchmove",this._touchMove),a(document).on("touchend",this._touchEnd)}return c.prototype._touchStart=function(d){return this.startX=d.originalEvent.touches[0].pageX,this.element.height(a(l).outerHeight())},c.prototype._touchMove=function(d){var e;if(a(d.target).parents(".navbar-offcanvas").length>0){return !0}if(this.startX>this.startThreshold&&this.startX<this.maxStartThreshold){if(d.preventDefault(),e=d.originalEvent.touches[0].pageX-this.startX,e=this.element.hasClass("navbar-offcanvas-right")?-e:e,Math.abs(e)<this.element.outerWidth()){return this.element.css(this._getCss(e)),this.element.css(this._getFade(e))}}else{if(this.element.hasClass("in")&&(d.preventDefault(),e=d.originalEvent.touches[0].pageX+(this.currentX-this.startX),e=this.element.hasClass("navbar-offcanvas-right")?-e:e,Math.abs(e)<this.element.outerWidth())){return this.element.css(this._getCss(e)),this.element.css(this._getFade(e))}}},c.prototype._touchEnd=function(e){var g,f;return a(e.target).parents(".navbar-offcanvas").length>0?!0:(f=e.originalEvent.changedTouches[0].pageX,g=this.element.hasClass("navbar-offcanvas-right")?Math.abs(f)>this.endThreshold+50:f<this.endThreshold+50,this.element.hasClass("in")&&g?(this.currentX=0,this.element.removeClass("in").css(this._clearCss()),this.button.removeClass("is-open")):Math.abs(f-this.startX)>this.endThreshold&&this.startX>this.startThreshold&&this.startX<this.maxStartThreshold?(this.currentX=this.element.hasClass("navbar-offcanvas-right")?-this.element.outerWidth():this.element.outerWidth(),this.element.toggleClass("in").css(this._clearCss()),this.button.toggleClass("is-open")):this.element.css(this._clearCss()),this.offcanvas.bodyOverflow())},c.prototype._getCss=function(d){return d=this.element.hasClass("navbar-offcanvas-right")?-d:d,{"-webkit-transform":"translate3d("+d+"px, 0px, 0px)","-webkit-transition-duration":"0s","-moz-transform":"translate3d("+d+"px, 0px, 0px)","-moz-transition":"0s","-o-transform":"translate3d("+d+"px, 0px, 0px)","-o-transition":"0s",transform:"translate3d("+d+"px, 0px, 0px)",transition:"0s"}},c.prototype._getFade=function(d){return this.fade?{opacity:d/this.element.outerWidth()}:{}},c.prototype._clearCss=function(){return{"-webkit-transform":"","-webkit-transition-duration":"","-moz-transform":"","-moz-transition":"","-o-transform":"","-o-transition":"",transform:"",transition:"",opacity:""}},c}(),l.Offcanvas=k=function(){function c(m){var f,e;this.element=m,this.bodyOverflow=b(this.bodyOverflow,this),this._sendEventsAfter=b(this._sendEventsAfter,this),this._sendEventsBefore=b(this._sendEventsBefore,this),this._documentClicked=b(this._documentClicked,this),this._clicked=b(this._clicked,this),this._navbarHeight=b(this._navbarHeight,this),e=this.element.attr("data-target")?this.element.attr("data-target"):!1,e?(this.target=a(e),this.target.length&&!this.target.hasClass("js-offcanas-done")&&(this.element.addClass("js-offcanvas-has-events"),this.location=this.target.hasClass("navbar-offcanvas-right")?"right":"left",this.target.addClass(transform?"offcanvas-transform js-offcanas-done":"offcanvas-position js-offcanas-done"),this.target.data("offcanvas",this),this.element.on("click",this._clicked),this.target.on("transitionend",function(d){return function(){return d.target.is(":not(.in)")?d.target.height(""):void 0}}(this)),a(document).on("click",this._documentClicked),this.target.hasClass("navbar-offcanvas-touch")&&(f=new i(this.element,this.target,this.location,this)),this.target.find(".dropdown-toggle").each(function(){var d;return d=new j(this)}))):console.warn("Offcanvas: `data-target` attribute must be present.")}return c.prototype._navbarHeight=function(){return this.target.is(".in")?this.target.height(a(l).outerHeight()):void 0},c.prototype._clicked=function(d){return d.preventDefault(),this._sendEventsBefore(),a(".navbar-offcanvas").not(this.target).removeClass("in"),this.target.toggleClass("in"),this.element.toggleClass("is-open"),this._navbarHeight(),this.bodyOverflow()},c.prototype._documentClicked=function(d){var e;return e=a(d.target),e.hasClass("offcanvas-toggle")||0!==e.parents(".offcanvas-toggle").length||0!==e.parents(".navbar-offcanvas").length||e.hasClass("navbar-offcanvas")||!this.target.hasClass("in")?void 0:(d.preventDefault(),this._sendEventsBefore(),this.target.removeClass("in"),this.element.removeClass("is-open"),this._navbarHeight(),this.bodyOverflow())},c.prototype._sendEventsBefore=function(){return this.target.hasClass("in")?this.target.trigger("show.bs.offcanvas"):this.target.trigger("hide.bs.offcanvas")},c.prototype._sendEventsAfter=function(){return this.target.hasClass("in")?this.target.trigger("shown.bs.offcanvas"):this.target.trigger("hidden.bs.offcanvas")},c.prototype.bodyOverflow=function(){return this.target.is(".in")?a("body").addClass("offcanvas-stop-scrolling"):a("body").removeClass("offcanvas-stop-scrolling"),this._sendEventsAfter()},c}(),h=function(c){return function(){var f,n,m,g;return n=document.createElement("div"),g="translate3d(0px, 0px, 0px)",m=/translate3d\(0px, 0px, 0px\)/g,n.style.cssText="-webkit-transform: "+g+"; -moz-transform: "+g+"; -o-transform: "+g+"; transform: "+g,f=n.style.cssText.match(m),c.transform=null!=f.length}}(this),a(function(){return h(),a('[data-toggle="offcanvas"]').each(function(){var c;return c=new k(a(this))}),a(l).on("resize",function(){return a(".navbar-offcanvas.in").each(function(){return a(this).height("").removeClass("in")})}),a(".offcanvas-toggle").each(function(){return a(this).on("click",function(e){var g,f;return !a(this).hasClass("js-offcanvas-has-events")&&(f=a(this).attr("data-target"),g=a(f))?(g.height(""),g.removeClass("in"),a("body").css({overflow:"",position:""})):void 0})})})}(window.jQuery,window)}).call(this);var cfSearchWidgetInit=cfSearchWidgetInit||(function(){if(typeof(Bloodhound)==="undefined"){return function(){console.log("cf : search widget : no infrastucture.")}}var e=function(n,j,q,i){var k=$(n);if(!Array.isArray(j)){j=["*"]}var p=[a];if(j[0]==="*"){for(var m in g){p.push(g[m])}}
1else{j.forEach(function(r){if(!g[r]){return}p.push(g[r])})}if(p.length===1){console.log("cf : search widget : no source specified.");return}var o=function(s,t,r){$(this).typeahead("val","");if(!t){return}if(typeof(q)==="function"){q(t);return}if(!!t.url){location.href=encodeURI(t.url)}};var l=function(s){if(s.which!==13){return}var r=$(this).val();if(!r){return}if(typeof(i)==="function"){i(r);return}location.href=encodeURI("/search/?cfSearch="+r)};k.typeahead.apply(k,p).on("typeahead:asyncrequest",function(){$(this).addClass("cfLoading")}).on("typeahead:asynccancel typeahead:asyncreceive",function(){$(this).removeClass("cfLoading")}).on("typeahead:select",o).on("typeahead:autocomplete",o).on("keyup",l)};var c=function(j,i){var k;if(i.length>j.length){k=i,i=j,j=k}return j.filter(function(l){return i.indexOf(l)!==-1}).filter(function(m,l,n){return n.indexOf(m)===l})};var b=function(l,k){f=l;var j=Bloodhound.tokenizers.whitespace(l);var i=j.slice(-1)[0];if(i&&i.length>2&&i.indexOf("*")===-1){j.push(i+"*");l=j.join(" ")}k.url=k.url.replace("%QUERY",encodeURIComponent(l));return k};var f="";var a={limit:10,minLength:3,highlight:true,hint:false};var h={name:"colleges",displayKey:"name",templates:{header:'<h3 style="font-size: 1.5em; margin: 0em; padding: 0.5em; line-height: 1em;">Colleges</h3>'},limit:100,source:new Bloodhound({datumTokenizer:Bloodhound.tokenizers.whitespace,queryTokenizer:Bloodhound.tokenizers.whitespace,remote:{url:mfMyFactualBase+"/api/schools/search.json?q=%QUERY",prepare:b,filter:function(k){var j=Bloodhound.tokenizers.nonword(f.toLowerCase());var i=$.map(k.schools,function(m){var q=Bloodhound.tokenizers.nonword(m.name.toLowerCase());var p=c(j,q).length;var o=(q.length===p?1000:p);if(m.aliases){var n=Bloodhound.tokenizers.nonword(m.aliases.toLowerCase());var l=c(j,n).length;o=o+(n.length===l?500:l)}return{type:"college",id:m.ipeds,slug:m.url,name:m.name,url:"/colleges/"+m.url,students:m.students_full_time||0,matches:o}});i.sort(function(m,l){return((l.matches+l.students/1000000)-(m.matches+m.students/1000000))});return i.slice(0,10)}}})};var d={name:"majors",displayKey:"name",templates:{header:'<h3 style="font-size: 1.5em; margin: 0em; padding: 0.5em; line-height: 1em;">Majors</h3>'},limit:100,source:new Bloodhound({datumTokenizer:Bloodhound.tokenizers.whitespace,queryTokenizer:Bloodhound.tokenizers.whitespace,remote:{url:mfMyFactualBase+"/api/majors/search.json?q=%QUERY",prepare:b,filter:function(k){var j=Bloodhound.tokenizers.nonword(f.toLowerCase());var i=$.map(k.majors,function(l){var o=Bloodhound.tokenizers.nonword(l.name.toLowerCase());var n=c(j,o).length;var m=(o.length===n?1000:n);return{type:"major",id:l.cip,slug:l.url,name:l.name,url:"/majors/"+l.url,students:l.graduates||0,matches:m}});i.sort(function(m,l){return((l.matches+l.students/1000000)-(m.matches+m.students/1000000))});return i.slice(0,10)}}})};var g={};g.colleges=h;g.majors=d;(function(){var j=[];for(var i in g){j.push(g[i].source.initialize())}$.when.apply($,j).done(function(){console.log("cf: Search engine initialized.")}).fail(function(){console.log("cf: Search engine failed to initialize.")})})();return e}).call(this);cfSearchWidgetInit(".siteSearch");$("[data-cfTarget]").on("click",bhOnLinkClick()).on("click",function(){location.href=$(this).attr("data-cfTarget")});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.