PageSourceSearch

https://facethefactsusa.org/sites/facethefactsusa.org/files/advagg…YNjTaAHiIGGTKyxQhN4xnwAn3YUAaXdrJLVLiemI.js

js facethefactsusa.org collected 2026-10-02 08:13:17 UTC 7,570 bytes, 12 lines download raw bytes

1/* Source and licensing information for the line(s) below can be found at https://facethefactsusa.org/sites/facethefactsusa.org/themes/facethefacts/js/global.js. */
2jQuery(document).ready(function($){$('input#edit-mailchimp-lists-mailchimp-get-the-latest-fact-mergevars-email').attr('placeholder','Get the latest fact, enter your email address...');$('input#edit-mailchimp-lists-mailchimp-get-the-latest-fact-mergevars-email--2').attr('placeholder','Enter your email address...');$('form.mailchimp-lists-user-subscribe-form input.form-submit').val('Subscribe');var $infographic=$('div.field-name-field-infographic div > img');$infographic.wrap('<a class="fancybox" href="'+$infographic.attr('src')+'"></a>');$('.fancybox').fancybox({fitToView:false});$('.infographic-lightbox').fancybox({type:'iframe',scrolling:'no',preload:true,width:'920px',minHeight:''+$(window).height()-60+'px'});if($('body').hasClass('node-type-facts')){var summary=$('div.field-name-field-description').find('p').text();$('span.st_twitter_hcount').attr('st_title',summary)}});try{Typekit.load()}catch(e){};
3/* Source and licensing information for the above line(s) can be found at https://facethefactsusa.org/sites/facethefactsusa.org/themes/facethefacts/js/global.js. */
4/* Source and licensing information for the line(s) below can be found at https://facethefactsusa.org/sites/facethefactsusa.org/themes/omega/omega/js/jquery.formalize.js. */
5var FORMALIZE=(function($,window,document,undefined){var PLACEHOLDER_SUPPORTED='placeholder'in document.createElement('input'),AUTOFOCUS_SUPPORTED='autofocus'in document.createElement('input'),IE6=!!($.browser.msie&&parseInt($.browser.version,10)===6),IE7=!!($.browser.msie&&parseInt($.browser.version,10)===7);return{go:function(){for(var i in FORMALIZE.init)FORMALIZE.init[i]()},init:{ie6_skin_inputs:function(){if(!IE6||!$('input, select, textarea').length)return;var button_regex=/button|submit|reset/,type_regex=/date|datetime|datetime-local|email|month|number|password|range|search|tel|text|time|url|week/;$('input').each(function(){var el=$(this);if(this.getAttribute('type').match(button_regex)){el.addClass('ie6-button');if(this.disabled)el.addClass('ie6-button-disabled')}else if(this.getAttribute('type').match(type_regex)){el.addClass('ie6-input');if(this.disabled)el.addClass('ie6-input-disabled')}});$('textarea, select').each(function(){if(this.disabled)$(this).addClass('ie6-input-disabled')})},autofocus:function(){if(AUTOFOCUS_SUPPORTED||!$(':input[autofocus]').length)return;$(':input[autofocus]:visible:first').focus()},placeholder:function(){if(PLACEHOLDER_SUPPORTED||!$(':input[placeholder]').length)return;FORMALIZE.misc.add_placeholder();$(':input[placeholder]').each(function(){var el=$(this),text=el.attr('placeholder');el.focus(function(){if(el.val()===text)el.val('').removeClass('placeholder-text')}).blur(function(){FORMALIZE.misc.add_placeholder()});el.closest('form').submit(function(){if(el.val()===text)el.val('').removeClass('placeholder-text')}).bind('reset',function(){setTimeout(FORMALIZE.misc.add_placeholder,50)})})}},misc:{add_placeholder:function(){if(PLACEHOLDER_SUPPORTED||!$(':input[placeholder]').length)return;$(':input[placeholder]').each(function(){var el=$(this),text=el.attr('placeholder');if(!el.val()||el.val()===text)el.val(text).addClass('placeholder-text')})}}}})(jQuery,this,this.document);jQuery(document).ready(function(){FORMALIZE.go()});;
6/* Source and licensing information for the above line(s) can be found at https://facethefactsusa.org/sites/facethefactsusa.org/themes/omega/omega/js/jquery.formalize.js. */
7/* Source and licensing information for the line(s) below can be found at https://facethefactsusa.org/sites/facethefactsusa.org/themes/omega/omega/js/omega-mediaqueries.js. */
8Drupal.omega=Drupal.omega||{};(function($){var current,previous,setCurrentLayout=function(index){index=parseInt(index);previous=current;current=Drupal.settings.omega.layouts.order.hasOwnProperty(index)?Drupal.settings.omega.layouts.order[index]:'mobile';if(previous!=current){$('body').removeClass('responsive-layout-'+previous).addClass('responsive-layout-'+current);$.event.trigger('responsivelayout',{from:previous,to:current})}};Drupal.omega.getCurrentLayout=function(){return current};Drupal.omega.getPreviousLayout=function(){return previous};Drupal.omega.crappyBrowser=function(){return $.browser.msie&&parseInt($.browser.version,10)<9};Drupal.omega.checkLayout=function(layout){if(Drupal.settings.omega.layouts.queries.hasOwnProperty(layout)&&Drupal.settings.omega.layouts.queries[layout]){var output=Drupal.omega.checkQuery(Drupal.settings.omega.layouts.queries[layout]);if(!output&&layout==Drupal.settings.omega.layouts.primary){var dummy=$('<div id="omega-check-query"></div>').prependTo('body');dummy.append('<style media="all">#omega-check-query { position: relative; z-index: -1; }</style>');dummy.append('<!--[if (lt IE 9)&(!IEMobile)]><style media="all">#omega-check-query { z-index: 100; }</style><![endif]-->');output=parseInt(dummy.css('z-index'))==100;dummy.remove()};return output};return false};Drupal.omega.checkQuery=function(query){var dummy=$('<div id="omega-check-query"></div>').prependTo('body');dummy.append('<style media="all">#omega-check-query { position: relative; z-index: -1; }</style>');dummy.append('<style media="'+query+'">#omega-check-query { z-index: 100; }</style>');var output=parseInt(dummy.css('z-index'))==100;dummy.remove();return output};Drupal.behaviors.omegaMediaQueries={attach:function(context){$('body',context).once('omega-mediaqueries',function(){var primary=$.inArray(Drupal.settings.omega.layouts.primary,Drupal.settings.omega.layouts.order),dummy=$('<div id="omega-media-query-dummy"></div>').prependTo('body');dummy.append('<style media="all">#omega-media-query-dummy { position: relative; z-index: -1; }</style>');dummy.append('<!--[if (lt IE 9)&(!IEMobile)]><style media="all">#omega-media-query-dummy { z-index: '+primary+'; }</style><![endif]-->');for(var i in Drupal.settings.omega.layouts.order)dummy.append('<style media="'+Drupal.settings.omega.layouts.queries[Drupal.settings.omega.layouts.order[i]]+'">#omega-media-query-dummy { z-index: '+i+'; }</style>');$(window).bind('resize.omegamediaqueries',function(){setCurrentLayout(dummy.css('z-index'))}).load(function(){$(this).trigger('resize.omegamediaqueries')})})}}})(jQuery);;
9/* Source and licensing information for the above line(s) can be found at https://facethefactsusa.org/sites/facethefactsusa.org/themes/omega/omega/js/omega-mediaqueries.js. */
10/* Source and licensing information for the line(s) below can be found at https://facethefactsusa.org/sites/facethefactsusa.org/themes/omega/omega/js/omega-equalheights.js. */
11(function($){Drupal.behaviors.omegaEqualHeights={attach:function(context){$('body',context).once('omega-equalheights',function(){$(window).bind('resize.omegaequalheights',function(){$($('.equal-height-container').get().reverse()).each(function(){var elements=$(this).children('.equal-height-element').css('height','');if(!Drupal.behaviors.hasOwnProperty('omegaMediaQueries')||Drupal.omega.getCurrentLayout()!='mobile'){var tallest=0;elements.each(function(){if($(this).height()>tallest)tallest=$(this).height()}).each(function(){if($(this).height()<tallest)$(this).css('height',tallest)})}})}).load(function(){$(this).trigger('resize.omegaequalheights')})})}}})(jQuery);;
12/* Source and licensing information for the above line(s) can be found at https://facethefactsusa.org/sites/facethefactsusa.org/themes/omega/omega/js/omega-equalheights.js. */

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.