PageSourceSearch

https://www.tysonfoods.com/sites/default/files/js/js_Nu5Nm6H8N5R7q…1UKYx2ei4kiEX6mTOgtObX_YFpXyfbhFCFMuAAfcD3Y

js tysonfoods.com collected 2026-10-01 10:22:13 UTC 76,761 bytes, 14 lines download raw bytes

1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
2!(function(a){"function"==typeof define&&define.amd?define(["jquery"],a):"object"==typeof exports?a(require("jquery")):a(jQuery);})(function(a){function b(a){return h.raw?a:encodeURIComponent(a);}function c(a){return h.raw?a:decodeURIComponent(a);}function d(a){return b(h.json?JSON.stringify(a):String(a));}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return ((a=decodeURIComponent(a.replace(g," "))),h.json?JSON.parse(a):a);}catch(b){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d;};var g=/\+/g,h=(a.cookie=function(e,g,i){if(void (0)!==g&&!a.isFunction(g)){if(((i=a.extend({},h.defaults,i)),"number"==typeof i.expires)){var j=i.expires,k=(i.expires=new Date());k.setTime(+k+864e5*j);};return (document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join(""));};for(var l=e?void (0):{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;o>n;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break;};e||void (0)===(r=f(r))||(l[q]=r);};return l;});(h.defaults={}),(a.removeCookie=function(b,c){return void (0)===a.cookie(b)?!1:(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b));});});;
3(function(f){function A(a,b,d){var c=a[0],g=/er/.test(d)?_indeterminate:/bl/.test(d)?n:k,e=d==_update?{checked:c[k],disabled:c[n],indeterminate:"true"==a.attr(_indeterminate)||"false"==a.attr(_determinate)}:c[g];if(/^(ch|di|in)/.test(d)&&!e)x(a,g);else if(/^(un|en|de)/.test(d)&&e)q(a,g);else if(d==_update)for(var f in e)e[f]?x(a,f,!0):q(a,f,!0);else{if(!b||"toggle"==d){if(!b)a[_callback]("ifClicked");e?c[_type]!==r&&q(a,g):x(a,g);}}}function x(a,b,d){var c=a[0],g=a.parent(),e=b==k,u=b==_indeterminate,v=b==n,s=u?_determinate:e?y:"enabled",F=l(a,s+t(c[_type])),B=l(a,b+t(c[_type]));if(!0!==c[b]){if(!d&&b==k&&c[_type]==r&&c.name){var w=a.closest("form"),p='input[name="'+c.name+'"]',p=w.length?w.find(p):f(p);p.each(function(){this!==c&&f(this).data(m)&&q(f(this),b);});}u?(c[b]=!0,c[k]&&q(a,k,"force")):(d||(c[b]=!0),e&&c[_indeterminate]&&q(a,_indeterminate,!1));D(a,e,b,d);}c[n]&&l(a,_cursor,!0)&&g.find("."+C).css(_cursor,"default");g[_add](B||l(a,b)||"");g.attr("role")&&!u&&g.attr("aria-"+(v?n:k),"true");g[_remove](F||l(a,s)||"");}function q(a,b,d){var c=a[0],g=a.parent(),e=b==k,f=b==_indeterminate,m=b==n,s=f?_determinate:e?y:"enabled",q=l(a,s+t(c[_type])),r=l(a,b+t(c[_type]));if(!1!==c[b]){if(f||!d||"force"==d)c[b]=!1;D(a,e,s,d);}!c[n]&&l(a,_cursor,!0)&&g.find("."+C).css(_cursor,"pointer");g[_remove](r||l(a,b)||"");g.attr("role")&&!f&&g.attr("aria-"+(m?n:k),"false");g[_add](q||l(a,s)||"");}function E(a,b){if(a.data(m)){a.parent().html(a.attr("style",a.data(m).s||""));if(b)a[_callback](b);a.off(".i").unwrap();f(_label+'[for="'+a[0].id+'"]').add(a.closest(_label)).off(".i");}}function l(a,b,f){if(a.data(m))return a.data(m).o[b+(f?"":"Class")];}function t(a){return a.charAt(0).toUpperCase()+a.slice(1);}function D(a,b,f,c){if(!c){if(b)a[_callback]("ifToggled");a[_callback]("ifChanged")[_callback]("if"+t(f));}}var m="iCheck",C=m+"-helper",r="radio",k="checked",y="un"+k,n="disabled";_determinate="determinate";_indeterminate="in"+_determinate;_update="update";_type="type";_click="click";_touch="touchbegin.i touchend.i";_add="addClass";_remove="removeClass";_callback="trigger";_label="label";_cursor="cursor";_mobile=/ipad|iphone|ipod|android|blackberry|windows phone|opera mini|silk/i.test(navigator.userAgent);f.fn[m]=function(a,b){var d='input[type="checkbox"], input[type="'+r+'"]',c=f(),g=function(a){a.each(function(){var a=f(this);c=a.is(d)?c.add(a):c.add(a.find(d));});};if(/^(check|uncheck|toggle|indeterminate|determinate|disable|enable|update|destroy)$/i.test(a))return a=a.toLowerCase(),g(this),c.each(function(){var c=f(this);"destroy"==a?E(c,"ifDestroyed"):A(c,!0,a);f.isFunction(b)&&b();});if("object"!=typeof a&&a)return this;var e=f.extend({checkedClass:k,disabledClass:n,indeterminateClass:_indeterminate,labelHover:!0}
3,a),l=e.handle,v=e.hoverClass||"hover",s=e.focusClass||"focus",t=e.activeClass||"active",B=!!e.labelHover,w=e.labelHoverClass||"hover",p=(""+e.increaseArea).replace("%","")|0;if("checkbox"==l||l==r)d='input[type="'+l+'"]';-50>p&&(p=-50);g(this);return c.each(function(){var a=f(this);E(a);var c=this,b=c.id,g=-p+"%",d=100+2*p+"%",d={position:"absolute",top:g,left:g,display:"block",width:d,height:d,margin:0,padding:0,background:"#fff",border:0,opacity:0},g=_mobile?{position:"absolute",visibility:"hidden"}:p?d:{position:"absolute",opacity:0},l="checkbox"==c[_type]?e.checkboxClass||"icheckbox":e.radioClass||"i"+r,z=f(_label+'[for="'+b+'"]').add(a.closest(_label)),u=!!e.aria,y=m+"-"+Math.random().toString(36).substr(2,6),h='<div class="'+l+'" '+(u?'role="'+c[_type]+'" ':"");u&&z.each(function(){h+='aria-labelledby="';this.id?h+=this.id:(this.id=y,h+=y);h+='"';});h=a.wrap(h+"/>")[_callback]("ifCreated").parent().append(e.insert);d=f('<ins class="'+C+'"/>').css(d).appendTo(h);a.data(m,{o:e,s:a.attr("style")}).css(g);e.inheritClass&&h[_add](c.className||"");e.inheritID&&b&&h.attr("id",m+"-"+b);"static"==h.css("position")&&h.css("position","relative");A(a,!0,_update);if(z.length)z.on(_click+".i mouseover.i mouseout.i "+_touch,function(b){var d=b[_type],e=f(this);if(!c[n]){if(d==_click){if(f(b.target).is("a"))return;A(a,!1,!0);}else B&&(/ut|nd/.test(d)?(h[_remove](v),e[_remove](w)):(h[_add](v),e[_add](w)));if(_mobile)b.stopPropagation();else return !1;}});a.on(_click+".i focus.i blur.i keyup.i keydown.i keypress.i",function(b){var d=b[_type];b=b.keyCode;if(d==_click)return !1;if("keydown"==d&&32==b)return c[_type]==r&&c[k]||(c[k]?q(a,k):x(a,k)),!1;if("keyup"==d&&c[_type]==r)!c[k]&&x(a,k);else{if(/us|ur/.test(d))h["blur"==d?_remove:_add](s);}});d.on(_click+" mousedown mouseup mouseover mouseout "+_touch,function(b){var d=b[_type],e=/wn|up/.test(d)?t:v;if(!c[n]){if(d==_click)A(a,!1,!0);else{if(/wn|er|in/.test(d))h[_add](e);else h[_remove](e+" "+t);if(z.length&&B&&e==v)z[/ut|nd/.test(d)?_remove:_add](w);}if(_mobile)b.stopPropagation();else return !1;}});});};})(window.jQuery||window.Zepto);;
4(function(){var t,e,s,i,n=function(t,e){return function(){return t.apply(e,arguments);};},r=function(t,e){function s(){this.constructor=t;}for(var i in e)o.call(e,i)&&(t[i]=e[i]);return s.prototype=e.prototype,t.prototype=new s(),t.__super__=e.prototype,t;},o={}.hasOwnProperty;(i=function(){function t(){this.options_index=0,this.parsed=[];}return t.prototype.add_node=function(t){return "OPTGROUP"===t.nodeName.toUpperCase()?this.add_group(t):this.add_option(t);},t.prototype.add_group=function(t){var e,s,i,n,r,o;for(e=this.parsed.length,this.parsed.push({array_index:e,group:!0,label:t.label,title:t.title?t.title:void 0,children:0,disabled:t.disabled,classes:t.className}),o=[],s=0,i=(r=t.childNodes).length;s<i;s++)n=r[s],o.push(this.add_option(n,e,t.disabled));return o;},t.prototype.add_option=function(t,e,s){if("OPTION"===t.nodeName.toUpperCase())return ""!==t.text?(null!=e&&(this.parsed[e].children+=1),this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,value:t.value,text:t.text,html:t.innerHTML,title:t.title?t.title:void 0,selected:t.selected,disabled:!0===s?s:t.disabled,group_array_index:e,group_label:null!=e?this.parsed[e].label:null,classes:t.className,style:t.style.cssText})):this.parsed.push({array_index:this.parsed.length,options_index:this.options_index,empty:!0}),this.options_index+=1;},t;}()).select_to_array=function(t){var e,s,n,r,o;for(r=new i(),s=0,n=(o=t.childNodes).length;s<n;s++)e=o[s],r.add_node(e);return r.parsed;},e=function(){function t(e,s){this.form_field=e,this.options=null!=s?s:{},this.label_click_handler=n(this.label_click_handler,this),t.browser_is_supported()&&(this.is_multiple=this.form_field.multiple,this.set_default_text(),this.set_default_values(),this.setup(),this.set_up_html(),this.register_observers(),this.on_ready());}return t.prototype.set_default_values=function(){return this.click_test_action=function(t){return function(e){return t.test_active_click(e);};}(this),this.activate_action=function(t){return function(e){return t.activate_field(e);};}(this),this.active_field=!1,this.mouse_on_container=!1,this.results_showing=!1,this.result_highlighted=null,this.is_rtl=this.options.rtl||/\bchosen-rtl\b/.test(this.form_field.className),this.allow_single_deselect=null!=this.options.allow_single_deselect&&null!=this.form_field.options[0]&&""===this.form_field.options[0].text&&this.options.allow_single_deselect,this.disable_search_threshold=this.options.disable_search_threshold||0,this.disable_search=this.options.disable_search||!1,this.enable_split_word_search=null==this.options.enable_split_word_search||this.options.enable_split_word_search,this.group_search=null==this.options.group_search||this.options.group_search,this.search_contains=this.options.search_contains||!1,this.single_backstroke_delete=null==this.options.single_backstroke_delete||this.options.single_backstroke_delete,this.max_selected_options=this.options.max_selected_options||Infinity,this.inherit_select_classes=this.options.inherit_select_classes||!1,this.display_selected_options=null==this.options.display_selected_options||this.options.display_selected_options,this.display_disabled_options=null==this.options.display_disabled_options||this.options.display_disabled_options,this.include_group_label_in_selected=this.options.include_group_label_in_selected||!1,this.max_shown_results=this.options.max_shown_results||Number.POSITIVE_INFINITY,this.case_sensitive_search=this.options.case_sensitive_search||!1,this.hide_results_on_select=null==this.options.hide_results_on_select||this.options.hide_results_on_select;},t.prototype.set_default_text=function(){return this.form_field.getAttribute("data-placeholder")?this.default_text=this.form_field.getAttribute("data-placeholder"):this.is_multiple?this.default_text=this.options.placeholder_text_multiple||this.options.placeholder_text||t.default_multiple_text:this.default_text=this.options.placeholder_text_single||this.options.placeholder_text||t.default_single_text,this.default_text=this.escape_html(this.default_text),this.results_none_found=this.form_field.getAttribute("data-no_results_text")||this.options.no_results_text||t.default_no_result_text;},t.prototype.choice_label=function(t){return this.include_group_label_in_selected&&null!=t.group_label?"<b class='group-name'>"+t.group_label+"</b>"+t.html:t.html;},t.prototype.mouse_enter=function(){return this.mouse_on_container=!0;},t.prototype.mouse_leave=function(){return this.mouse_on_container=!1;},t.prototype.input_focus=function(t){if(this.is_multiple){if(!this.active_field)return setTimeout(function(t){return function(){return t.container_mousedown();};}(this),50);}else{if(!this.active_field)return this.activate_field();}},t.prototype.input_blur=function(t){if(!this.mouse_on_container)return this.active_field=!1,setTimeout(function(t){return function(){return t.blur_test();};}(this),100);},t.prototype.label_click_handler=function(t){return this.is_multiple?this.container_mousedown(t):this.activate_field();},t.prototype.results_option_build=function(t){var e,s,i,n,r,o,h;for(e="",h=0,n=0,r=(o=this.results_data).length;n<r&&(s=o[n],i="",""!==(i=s.group?this.result_add_group(s):this.result_add_option(s))&&(h++,e+=i),(null!=t?t.first:void 0)&&(s.selected&&this.is_multiple?this.choice_build(s):s.selected&&!this.is_multiple&&this.single_set_selected_text(this.choice_label(s))),!(h>=this.max_shown_results));n++);return e;},t.prototype.result_add_option=function(t){var e,s;return t.search_match&&this.include_option_in_results(t)?(e=[],t.disabled||t.selected&&this.is_multiple||e.push("active-result"),!t.disabled||t.selected&&this.is_multiple||e.push("disabled-result"),t.selected&&e.push("result-selected"),null!=t.group_array_index&&e.push("group-option"),""!==t.classes&&e.push(t.classes),s=document.createElement("li"),s.className=e.join(" "),s.style.cssText=t.style,s.setAttribute("data-option-array-index",t.array_index),s.innerHTML=t.highlighted_html||t.html,t.title&&(s.title=t.title),this.outerHTML(s)):"";},t.prototype.result_add_group=function(t){var e,s;return (t.search_match||t.group_match)&&t.active_options>0?((e=[]).push("group-result"),t.classes&&e.push(t.classes),s=document.createElement("li"),s.className=e.join(" "),s.innerHTML=t.highlighted_html||this.escape_html(t.label),t.title&&(s.title=t.title),this.outerHTML(s)):"";},t.prototype.results_update_field=function(){if(this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing)return this.winnow_results();},t.prototype.reset_single_select_options=function(){var t,e,s,i,n;for(n=[],t=0,e=(s=this.results_data).length;t<e;t++)(i=s[t]).selected?n.push(i.selected=!1):n.push(void 0);return n;},t.prototype.results_toggle=function(){return this.results_showing?this.results_hide():this.results_show();},t.prototype.results_search=function(t){return this.results_showing?this.winnow_results():this.results_show();},t.prototype.winnow_results=function(){var t,e,s,i,n,r,o,h,l,c,_,a,u,d,p;for(this.no_results_clear(),c=0,t=(o=this.get_search_text()).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),l=this.get_search_regex(t),s=0,i=(h=this.results_data).length;s<i;s++)(n=h[s]).search_match=!1,_=null,a=null,n.highlighted_html="",this.include_option_in_results(n)&&(n.group&&(n.group_match=!1,n.active_options=0),null!=n.group_array_index&&this.results_data[n.group_array_index]&&(0===(_=this.results_data[n.group_array_index]).active_options&&_.search_match&&(c+=1),_.active_options+=1),p=n.group?n.label:n.text,n.group&&!this.group_search||(a=this.search_string_match(p,l),n.search_match=null!=a,n.search_match&&!n.group&&(c+=1),n.search_match?(o.length&&(u=a.index,r=p.slice(0,u),e=p.slice(u,u+o.length),d=p.slice(u+o.length),n.highlighted_html=this.escape_html(r)+"<em>"+this.escape_html(e)+"</em>"+this.escape_html(d)),null!=_&&(_.group_match=!0)):null!=n.group_array_index&&this.results_data[n.group_array_index].search_match&&(n.search_match=!0)));return this.result_clear_highlight(),c<1&&o.length?(this.update_results_content(""),this.no_results(o)):(this.update_results_content(this.results_option_build()),this.winnow_results_set_highlight());},t.prototype.get_search_regex=function(t){var e,s;return s=this.search_contains?t:"(^|\\s|\\b)"+t+"[^\\s]*",this.enable_split_word_search||this.search_contains||(s="^"+s),e=this.case_sensitive_search?"":"i",new RegExp(s,e);},t.prototype.search_string_match=function(t,e){var s;return s=e.exec(t),!this.search_contains&&(null!=s?s[1]:void 0)&&(s.index+=1),s;},t.prototype.choices_count=function(){var t,e,s;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,t=0,e=(s=this.form_field.options).length;t<e;t++)s[t].selected&&(this.selected_option_count+=1);return this.selected_option_count;},t.prototype.choices_click=function(t){if(t.preventDefault(),this.activate_field(),!this.results_showing&&!this.is_disabled)return this.results_show();},t.prototype.keydown_checker=function(t){var e,s;switch(s=null!=(e=t.which)?e:t.keyCode,this.search_field_scale(),8!==s&&this.pending_backstroke&&this.clear_backstroke(),s){case 8:this.backstroke_length=this.get_search_field_value().length;break;case 9:this.results_showing&&!this.is_multiple&&this.result_select(t),this.mouse_on_container=!1;break;case 13:case 27:this.results_showing&&t.preventDefault();break;case 32:this.disable_search&&t.preventDefault();break;case 38:t.preventDefault(),this.keyup_arrow();break;case 40:t.preventDefault(),this.keydown_arrow();}},t.prototype.keyup_checker=function(t){var e,s;switch(s=null!=(e=t.which)?e:t.keyCode,this.search_field_scale(),s){case 8:this.is_multiple&&this.backstroke_length<1&&this.choices_count()>0?this.keydown_backstroke():this.pending_backstroke||(this.result_clear_highlight(),this.results_search());break;case 13:t.preventDefault(),this.results_showing&&this.result_select(t);break;case 27:this.results_showing&&this.results_hide();break;case 9:case 16:case 17:case 18:case 38:case 40:case 91:break;default:this.results_search();}},t.prototype.clipboard_event_checker=function(t){if(!this.is_disabled)return setTimeout(function(t){return function(){return t.results_search();};}(this),50);},t.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px";},t.prototype.include_option_in_results=function(t){return !(this.is_multiple&&!this.display_selected_options&&t.selected)&&(!(!this.display_disabled_options&&t.disabled)&&!t.empty);},t.prototype.search_results_touchstart=function(t){return this.touch_started=!0,this.search_results_mouseover(t);},t.prototype.search_results_touchmove=function(t){return this.touch_started=!1,this.search_results_mouseout(t);},t.prototype.search_results_touchend=function(t){if(this.touch_started)return this.search_results_mouseup(t);},t.prototype.outerHTML=function(t){var e;return t.outerHTML?t.outerHTML:((e=document.createElement("div")).appendChild(t),e.innerHTML);},t.prototype.get_single_html=function(){return '<a class="chosen-single chosen-default">\n  <span>'+this.default_text+'</span>\n  <div><b></b></div>\n</a>\n<div class="chosen-drop">\n  <div class="chosen-search">\n    <input class="chosen-search-input" type="text" autocomplete="off" />\n  </div>\n  <ul class="chosen-results"></ul>\n</div>';},t.prototype.get_multi_html=function(){return '<ul class="chosen-choices">\n  <li class="search-field">\n    <input class="chosen-search-input" type="text" autocomplete="off" value="'+this.default_text+'" />\n  </li>\n</ul>\n<div class="chosen-drop">\n  <ul class="chosen-results"></ul>\n</div>';},t.prototype.get_no_results_html=function(t){return '<li class="no-results">\n  '+this.results_none_found+" <span>"+this.escape_html(t)+"</span>\n</li>";},t.browser_is_supported=function(){return "Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:!(/iP(od|hone)/i.test(window.navigator.userAgent)||/IEMobile/i.test(window.navigator.userAgent)||/Windows Phone/i.test(window.navigator.userAgent)||/BlackBerry/i.test(window.navigator.userAgent)||/BB10/i.test(window.navigator.userAgent)||/Android.*Mobile/i.test(window.navigator.userAgent));},t.default_multiple_text="Select Some Options",t.default_single_text="Select an Option",t.default_no_result_text="No results match",t;}(),(t=jQuery).fn.extend({chosen:function(i){return e.browser_is_supported()?this.each(function(e){var n,r;r=(n=t(this)).data("chosen"),"destroy"!==i?r instanceof s||n.data("chosen",new s(this,i)):r instanceof s&&r.destroy();}):this;}}),s=function(s){function n(){return n.__super__.constructor.apply(this,arguments);}return r(n,e),n.prototype.setup=function(){return this.form_field_jq=t(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex;},n.prototype.set_up_html=function(){var e,s;return (e=["chosen-container"]).push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&e.push(this.form_field.className),this.is_rtl&&e.push("chosen-rtl"),s={"class":e.join(" "),title:this.form_field.title},this.form_field.id.length&&(s.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=t("<div />",s),this.container.width(this.container_width()),this.is_multiple?this.container.html(this.get_multi_html()):this.container.html(this.get_single_html()),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior();},n.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this});},n.prototype.register_observers=function(){return this.containe
4r.on("touchstart.chosen",function(t){return function(e){t.container_mousedown(e);};}(this)),this.container.on("touchend.chosen",function(t){return function(e){t.container_mouseup(e);};}(this)),this.container.on("mousedown.chosen",function(t){return function(e){t.container_mousedown(e);};}(this)),this.container.on("mouseup.chosen",function(t){return function(e){t.container_mouseup(e);};}(this)),this.container.on("mouseenter.chosen",function(t){return function(e){t.mouse_enter(e);};}(this)),this.container.on("mouseleave.chosen",function(t){return function(e){t.mouse_leave(e);};}(this)),this.search_results.on("mouseup.chosen",function(t){return function(e){t.search_results_mouseup(e);};}(this)),this.search_results.on("mouseover.chosen",function(t){return function(e){t.search_results_mouseover(e);};}(this)),this.search_results.on("mouseout.chosen",function(t){return function(e){t.search_results_mouseout(e);};}(this)),this.search_results.on("mousewheel.chosen DOMMouseScroll.chosen",function(t){return function(e){t.search_results_mousewheel(e);};}(this)),this.search_results.on("touchstart.chosen",function(t){return function(e){t.search_results_touchstart(e);};}(this)),this.search_results.on("touchmove.chosen",function(t){return function(e){t.search_results_touchmove(e);};}(this)),this.search_results.on("touchend.chosen",function(t){return function(e){t.search_results_touchend(e);};}(this)),this.form_field_jq.on("chosen:updated.chosen",function(t){return function(e){t.results_update_field(e);};}(this)),this.form_field_jq.on("chosen:activate.chosen",function(t){return function(e){t.activate_field(e);};}(this)),this.form_field_jq.on("chosen:open.chosen",function(t){return function(e){t.container_mousedown(e);};}(this)),this.form_field_jq.on("chosen:close.chosen",function(t){return function(e){t.close_field(e);};}(this)),this.search_field.on("blur.chosen",function(t){return function(e){t.input_blur(e);};}(this)),this.search_field.on("keyup.chosen",function(t){return function(e){t.keyup_checker(e);};}(this)),this.search_field.on("keydown.chosen",function(t){return function(e){t.keydown_checker(e);};}(this)),this.search_field.on("focus.chosen",function(t){return function(e){t.input_focus(e);};}(this)),this.search_field.on("cut.chosen",function(t){return function(e){t.clipboard_event_checker(e);};}(this)),this.search_field.on("paste.chosen",function(t){return function(e){t.clipboard_event_checker(e);};}(this)),this.is_multiple?this.search_choices.on("click.chosen",function(t){return function(e){t.choices_click(e);};}(this)):this.container.on("click.chosen",function(t){t.preventDefault();});},n.prototype.destroy=function(){return t(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.form_field_label.length>0&&this.form_field_label.off("click.chosen"),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show();},n.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field.disabled||this.form_field_jq.parents("fieldset").is(":disabled"),this.container.toggleClass("chosen-disabled",this.is_disabled),this.search_field[0].disabled=this.is_disabled,this.is_multiple||this.selected_item.off("focus.chosen",this.activate_field),this.is_disabled?this.close_field():this.is_multiple?void 0:this.selected_item.on("focus.chosen",this.activate_field);},n.prototype.container_mousedown=function(e){var s;if(!this.is_disabled)return !e||"mousedown"!==(s=e.type)&&"touchstart"!==s||this.results_showing||e.preventDefault(),null!=e&&t(e.target).hasClass("search-choice-close")?void 0:(this.active_field?this.is_multiple||!e||t(e.target)[0]!==this.selected_item[0]&&!t(e.target).parents("a.chosen-single").length||(e.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),t(this.container[0].ownerDocument).on("click.chosen",this.click_test_action),this.results_show()),this.activate_field());},n.prototype.container_mouseup=function(t){if("ABBR"===t.target.nodeName&&!this.is_disabled)return this.results_reset(t);},n.prototype.search_results_mousewheel=function(t){var e;if(t.originalEvent&&(e=t.originalEvent.deltaY||-t.originalEvent.wheelDelta||t.originalEvent.detail),null!=e)return t.preventDefault(),"DOMMouseScroll"===t.type&&(e*=40),this.search_results.scrollTop(e+this.search_results.scrollTop());},n.prototype.blur_test=function(t){if(!this.active_field&&this.container.hasClass("chosen-container-active"))return this.close_field();},n.prototype.close_field=function(){return t(this.container[0].ownerDocument).off("
4click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale(),this.search_field.blur();},n.prototype.activate_field=function(){if(!this.is_disabled)return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus();},n.prototype.test_active_click=function(e){var s;return (s=t(e.target).closest(".chosen-container")).length&&this.container[0]===s[0]?this.active_field=!0:this.close_field();},n.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=i.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():this.is_multiple||(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1;},n.prototype.result_do_highlight=function(t){var e,s,i,n,r;if(t.length){if(this.result_clear_highlight(),this.result_highlight=t,this.result_highlight.addClass("highlighted"),i=parseInt(this.search_results.css("maxHeight"),10),r=this.search_results.scrollTop(),n=i+r,s=this.result_highlight.position().top+this.search_results.scrollTop(),(e=s+this.result_highlight.outerHeight())>=n)return this.search_results.scrollTop(e-i>0?e-i:0);if(s<r)return this.search_results.scrollTop(s);}},n.prototype.result_clear_highlight=function(){return this.result_highlight&&this.result_highlight.removeClass("highlighted"),this.result_highlight=null;},n.prototype.results_show=function(){return this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.container.addClass("chosen-with-drop"),this.results_showing=!0,this.search_field.focus(),this.search_field.val(this.get_search_field_value()),this.winnow_results(),this.form_field_jq.trigger("chosen:showing_dropdown",{chosen:this}));},n.prototype.update_results_content=function(t){return this.search_results.html(t);},n.prototype.results_hide=function(){return this.results_showing&&(this.result_clear_highlight(),this.container.removeClass("chosen-with-drop"),this.form_field_jq.trigger("chosen:hiding_dropdown",{chosen:this})),this.results_showing=!1;},n.prototype.set_tab_index=function(t){var e;if(this.form_field.tabIndex)return e=this.form_field.tabIndex,this.form_field.tabIndex=-1,this.search_field[0].tabIndex=e;},n.prototype.set_label_behavior=function(){if(this.form_field_label=this.form_field_jq.parents("label"),!this.form_field_label.length&&this.form_field.id.length&&(this.form_field_label=t("label[for='"+this.form_field.id+"']")),this.form_field_label.length>0)return this.form_field_label.on("click.chosen",this.label_click_handler);},n.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"));},n.prototype.search_results_mouseup=function(e){var s;if((s=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first()).length)return this.result_highlight=s,this.result_select(e),this.search_field.focus();},n.prototype.search_results_mouseover=function(e){var s;if(s=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first())return this.result_do_highlight(s);},n.prototype.search_results_mouseout=function(e){if(t(e.target).hasClass("active-result")||t(e.target).parents(".active-result").first())return this.result_clear_highlight();},n.prototype.choice_build=function(e){var s,i;return s=t("<li />",{"class":"search-choice"}).html("<span>"+this.choice_label(e)+"</span>"),e.disabled?s.addClass("search-choice-disabled"):((i=t("<a />",{"class":"search-choice-close","data-option-array-index":e.array_index})).on("click.chosen",function(t){return function(e){return t.choice_destroy_link_click(e);};}(this)),s.append(i)),this.search_container.before(s);},n.prototype.choice_destroy_link_click=function(e){if(e.preventDefault(),e.stopPropagation(),!this.is_disabled)return this.choice_destroy(t(e.target));},n.prototype.choice_destroy=function(t){if(this.result_deselect(t[0].getAttribute("data-option-array-index")))return this.active_field?this.search_field.focus():this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.get_search_field_value().length<1&&this.results_hide(),t.parents("li").first().remove(),this.search_field_scale();},n.prototype.results_reset=function(){if(this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.trigger_form_field_change(),this.active_field)return this.results_hide();},n.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove();},n.prototype.result_select=function(t){var e,s;if(this.result_highlight)return e=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?e.removeClass("active-result"):this.reset_single_select_options(),e.addClass("result-selected"),s=this.results_data[e[0].getAttribute("data-option-array-index")],s.selected=!0,this.form_field.options[s.options_index].selected=!0,this.selected_option_count=null,this.search_field.val(""),this.is_multiple?this.choice_build(s):this.single_set_selected_text(this.choice_label(s)),this.is_multiple&&(!this.hide_results_on_select||t.metaKey||t.ctrlKey)?this.winnow_results():(this.results_hide(),this.show_search_field_default()),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.trigger_form_field_change({selected:this.form_field.options[s.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,t.preventDefault(),this.search_field_scale());},n.prototype.single_set_selected_text=function(t){return null==t&&(t=this.default_text),t===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(t);},n.prototype.result_deselect=function(t){var e;return e=this.results_data[t],!this.form_field.options[e.options_index].disabled&&(e.selected=!1,this.form_field.options[e.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.trigger_form_field_change({deselected:this.form_field.options[e.options_index].value}),this.search_field_scale(),!0);},n.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return this.selected_item.find("abbr").length||this.selected_item.find("span").first().after('<abbr class="search-choice-close"></abbr>'),this.selected_item.addClass("chosen-single-with-deselect");},n.prototype.get_search_field_value=function(){return this.search_field.val();},n.prototype.get_search_text=function(){return t.trim(this.get_search_field_value());},n.prototype.escape_html=function(e){return t("<div/>").text(e).html();},n.prototype.winnow_results_set_highlight=function(){var t,e;if(e=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),null!=(t=e.length?e.first():this.search_results.find(".active-result").first()))return this.result_do_highlight(t);},n.prototype.no_results=function(t){var e;return e=this.get_no_results_html(t),this.search_results.append(e),this.form_field_jq.trigger("chosen:no_results",{chosen:this});},n.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove();},n.prototype.keydown_arrow=function(){var t;return this.results_showing&&this.result_highlight?(t=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(t):void 0:this.results_show();},n.prototype.keyup_arrow=function(){var t;return this.results_showing||this.is_multiple?this.result_highlight?(t=this.result_highlight.prevAll("li.active-result")).length?this.result_do_highlight(t.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight()):void 0:this.results_show();},n.prototype.keydown_backstroke=function(){var t;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(t=this.search_container.siblings("li.search-choice").last()).length&&!t.hasClass("search-choice-disabled")?(this.pending_backstroke=t,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0;},n.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null;},n.prototype.search_field_scale=function(){var e,s,i,n,r,o,h;if(this.is_multiple){for(r={position:"absolute",left:"-1000px",top:"-1000px",display:"none",whiteSpace:"pre"},s=0,i=(o=["fontSize","fontStyle","fontWeight","fontFamily","lineHeight","textTransform","letterSpacing"]).length;s<i;s++)r[n=o[s]]=this.search_field.css(n);return (e=t("<div />").css(r)).text(this.get_search_field_value()),t("body").append(e),h=e.width()+25,e.remove(),this.container.is(":visible")&&(h=Math.min(this.container.outerWidth()-10,h)),this.search_field.width(h);}},n.prototype.trigger_form_field_change=function(t){return this.form_field_jq.trigger("input",t),this.form_field_jq.trigger("change",t);},n;}();}).call(this);;
5(function($){"use strict";$.fn.succinct=function(options){var settings=$.extend({size:240,omission:"...",ignore:true},options);return this.each(function(){var textDefault,textTruncated,elements=$(this),regex=/[!-\/:-@\[-`{-~]$/,init=function(){elements.each(function(){textDefault=$(this).html();if(textDefault.length>
5settings.size){textTruncated=$.trim(textDefault).substring(0,settings.size).split(" ").slice(0,-1).join(" ");if(settings.ignore)textTruncated=textTruncated.replace(regex,"");$(this).html(textTruncated+settings.omission);}});};init();});};})(jQuery);(function($){"use strict";function calculateVisibilityForDiv(div$){var windowHeight=$(window).height(),docScroll=$(document).scrollTop(),divPosition=div$.offset().top,divHeight=div$.height(),hiddenBefore=docScroll-divPosition,hiddenAfter=divPosition+divHeight-(docScroll+windowHeight);if(docScroll>divPosition+divHeight||divPosition>docScroll+windowHeight)return 0;else{var result=100;if(hiddenBefore>0)result-=(hiddenBefore*100)/divHeight;if(hiddenAfter>0)result-=(hiddenAfter*100)/divHeight;return result;}}function withinViewableArea(div$){var screenTop=$(document).scrollTop(),screenBottom=screenTop+$(window).height(),divTop=div$.offset().top,divBottom=divTop+div$.height(),isDivTopViewable=screenTop<=divTop&&divTop<=screenBottom,isDivBottomViewable=screenTop<=divBottom&&divBottom<=screenBottom;return isDivTopViewable||isDivBottomViewable;}function cookiesPolicyBar(){if(!$.cookie("GDPR"))$("#cookieAcceptBar").show();$("#cookieAcceptBarConfirm").on("click",function(){$.cookie("GDPR","true",{path:"/"});$("#cookieAcceptBar").fadeOut();});$("#cookieBarDeclineConfirm").on("click",function(){$.cookie("GDPR","false",{path:"/"});$("#cookieAcceptBar").fadeOut();});}Drupal.behaviors.tysonMain={attach:function(context,settings){once('resize-test','header',context).forEach(function(element){var isScrolling=$(element).parents(".brick-theme-scrolling").length;var main=$("main",context);var searchForm=$(".global-search-block form",context);var menu=$(".region-header");new ResizeSensor(element,function(){$(element).trigger("on-header-resize");if(!isScrolling)main.css("padding-top",$(element).height()+"px");if(searchForm.length>0&&!$(menu).hasClass("menu-open"))searchForm.css("top",$(element).height()+"px");});});if($(".brick-image_offset",context).length>0)once('offset-animation','body',context).forEach(function(element){var offsets=$(".brick-image_offset",context);$(window).scroll(function(){offsets.each(function(){if(!$(this).hasClass("animated"))if(calculateVisibilityForDiv($(this))>=75)$(this).addClass("animated");});}).scroll();offsets.each(function(){if(!$(this).hasClass("animated"))if(withinViewableArea($(this)))$(this).addClass("animated");});});$(".field--name-field-summary-text").succinct({size:100});var userAgent,ieReg,ie;userAgent=window.navigator.userAgent;ieReg=/msie|Trident.*rv[ :]*11\./gi;ie=ieReg.test(userAgent);if(ie){$(".brick-career .field--name-field-career-description p").each(function(){var $container=$(this);$container.addClass("field--name-field-career-descriptionpie");});$(".popccp__left").each(function(){var $container=$(this);$container.addClass("ie-fix");});}$(".menu-item .our-brands").hover(function(){var windowWidth=$(window).outerWidth();if(windowWidth>"798")$(".block-brandcarousel").css("visibility","visible");},function(){var windowWidth=$(window).outerWidth();if(windowWidth>"798")var setTimeoutConst=setTimeout(function(){$(".block-brandcarousel").css("visibility","hidden");},200);});$(document).on("click",".hero__wrapper",function(){var l=$(this).find("a");});$(".block-brandcarousel").hover(function(){$(".menu-item .our-brands").parent().addClass("still-active");},function(){$(".menu-item .our-brands").parent().removeClass("still-active");});cookiesPolicyBar();}};})(jQuery);var modal=document.getElementById("mymodal");if(document.getElementsByClassName("field--name-field-theme").length!=0){var themepopcco=document.getElementsByClassName("field--name-field-theme")[0].firstChild.textContent;var popccp=document.getElementsByClassName("popccp")[0];popccp.classList.add(themepopcco);}if(modal!=null){window.modelContent=document.getElementById("mymodal-content");if(window.modelContent!=null){var btn=document.getElementById("mybtn");var mediaImage=btn.getElementsByClassName("media--image")[0];function createElements(){let btn=document.createElement("BUTTON");let t=document.createTextNode("X");btn.appendChild(t);btn.classList.add("video-close");btn.classList.add("modal_video__close");window.modelContent.insertAdjacentElement("afterbegin",btn);mediaImage.classList.add("media--image-after");mediaImage.classList.add("icon-play");}createElements();var stopVideo=function(element){var iframe=element.querySelector("iframe");var video=element.querySelector("video");if(iframe){let iframeSrc=iframe.src;
5iframe.src=iframeSrc;}if(video)video.pause();};window.onclick=function(event){if(event.target.parentNode.parentNode.parentNode.parentNode===btn)modal.classList.add("modal_video_display");else{stopVideo(window.modelContent);modal.classList.remove("modal_video_display");}};}}if(window.location.href.match(/search/)){let searchRows=document.getElementsByClassName("views-row");for(let i=0;i<searchRows.length;i++){let title=searchRows[i].getElementsByClassName("node-title-link")[0].firstChild.innerHTML;if(title.match(/Recall|recall/)){let domElement=searchRows[i];searchRows[i].parentElement.appendChild(domElement);}}};
6(function($){'use strict';$.fn.inView=function(){var win=$(window),obj=$(this),scrollPosition=win.scrollTop(),visibleArea=win.scrollTop()+win.height(),objEndPos=(obj.offset().top+obj.outerHeight());return (visibleArea>=objEndPos&&scrollPosition<=objEndPos?true:false);};var fullBleedMovement=function(){var menuTop=0,menuBottom=$('.region-header').height()+menuTop,headerTop=0,headerBottom=$('header').height()+headerTop,scrollTop=$(window).scrollTop(),transparent=false,colored=false,h=$(window).height();$('.theme-full-bleed:visible').each(function(){var top=$(this).offset().top-scrollTop,bottom=$(this).height()+top;if(top<=headerBottom&&bottom>=headerTop){transparent=true;$('header').addClass('transparent');if(top<=menuBottom&&bottom>=menuTop)if($(this).attr('data-attr-header-color')){colored=true;$('.region-header').removeClass('colored');$('.region-header').removeClass('white');$('.region-header').removeClass('default');$('.slide-menu').removeClass('colored');$('.slide-menu').removeClass('white');$('.slide-menu').removeClass('default');$('.region-header').addClass('colored');$('.region-header').addClass($(this).attr('data-attr-header-color'));$('.slide-menu').addClass('colored');$('.slide-menu').addClass($(this).attr('data-attr-header-color'));}}});if(!transparent)$('header').removeClass('transparent');if(!colored){$('.region-header').removeClass('colored');$('.region-header').removeClass('white');$('.region-header').removeClass('default');$('.slide-menu').removeClass('colored');$('.slide-menu').removeClass('white');$('.slide-menu').removeClass('default');}};Drupal.behaviors.hero={attach:function(context,settings){fullBleedMovement();$(window).scroll(function(e){fullBleedMovement();});$(window).resize(function(e){fullBleedMovement();});}};})(jQuery);;
7(function($){const showClass='submenu-visible';const menuDesktopBtn='.region-header-menu .block-mainnavigation > .menu > .menu-item > a';const mobileExpandMenu='.menu-toggle';const desktopMenuContainer='.region-header-menu nav.menu--main';var timeoutId,headerHeight=$('header').height(),h=Math.max(document.documentElement.clientHeight,window.innerHeight||0),calc=(h-headerHeight),regionHeader=$('.region-header');function desktopMenuBtnHover(){$(window).click(function(){$('.submenu-visible').removeClass('submenu-visible');});$(document).keyup(function(e){if(e.keyCode==27)$('.submenu-visible').removeClass('submenu-visible');});$(menuDesktopBtn).mouseover(function(e){clearTimeout(timeoutId);$('.submenu-visible').removeClass('submenu-visible');e.stopPropagation();e.preventDefault();$(this).parent().toggleClass(showClass);});}function desktopMenuTimout(){$(desktopMenuContainer).mouseenter(function(){clearTimeout(timeoutId);}).mouseleave(function(){timeoutId=setTimeout(function(){$('.submenu-visible').removeClass('submenu-visible');},1e3);});}function mobileNavigation(){$(mobileExpandMenu).click(function(e){e.stopPropagation();e.preventDefault();if($(this).parent().hasClass(showClass))$(this).parent().removeClass(showClass);else{var p=$(this).parent().attr('data-attr-menu-parent');$('.menu-item[data-attr-menu-parent='+p+']').removeClass(showClass);$(this).parent().addClass(showClass);}});}function buildMenuThing(context,parent){$('> .menu-item',$(context)).each(function(){$(this).attr('data-attr-menu-parent',parent);var p=$(context);if($('> span',$(this)).length>0)$('> .menu-box > .menu',$(this)).each(function(){buildMenuThing($(this),parent);});else $('> .menu-box > .menu',$(this)).each(function(){var p=$(this).attr('data-attr-menu-index');buildMenuThing($(this),p);});});}function mobileNavSizeDetect(context,parent){$('header').bind('on-header-resize',function(){if(!regionHeader.hasClass('menu-open')){headerHeight=$('header').height();h=Math.max(document.documentElement.clientHeight,window.innerHeight||0);calc=(h-headerHeight);}});};Drupal.behaviors.tyson_menu={attach:function(context,settings){const menuDesktopBtn='.regi
7on-header-menu .block-mainnavigation > .menu > .menu-item > a';if(context==document){desktopMenuBtnHover();desktopMenuTimout();once('mobile-menu-setup','.block-topmenu .block-mainnavigation',context).forEach(function(element){var i=0;$('.menu',$(element)).each(function(){$(this).attr('data-attr-menu-index',i);++i;});$('> .menu',$(element)).each(function(){buildMenuThing($(this),0);});});mobileNavigation();$('.mobile-menu-button');};if($('.mobile-menu-button',context).length>0){mobileNavSizeDetect();once('mobile-menu-click','.mobile-menu-button',context).forEach(function(element){$(element).click(function(e){var parent=$(this).parent();parent.toggleClass('menu-open');var calc=$(window).height();$('.menu-open .block-topmenu').css('height',calc+'px');$('body,html').toggleClass('prevent-body-scrolling');});});};$(menuDesktopBtn).mouseover(function(e){clearTimeout(timeoutId);$('.submenu-visible').removeClass('submenu-visible');e.stopPropagation();e.preventDefault();$(this).parent().toggleClass('submenu-visible');});}};}(jQuery));;
8(function($){'use strict';Drupal.behaviors.tysonAlerts={attach:function(context,settings){once('alert-setup','.node--type-alert',context).forEach(function(element){if(typeof Storage!=="undefined"){var alerts=localStorage.getItem("closed_alerts");if(alerts===null)alerts={};else alerts=JSON.parse(alerts);var id=$(this).attr('alert-id');if(typeof alerts[id]=='undefined'){var close=$('<a class="close-alert icon-close-x"></a>');close.bind('click',function(e){var parent=$(this).parent();e.preventDefault();parent.removeClass('display');var id=parent.attr('alert-id'),a=localStorage.getItem("closed_alerts");if(a===null)a={};else a=JSON.parse(a);a[id]=true;localStorage.setItem("closed_alerts",JSON.stringify(a));});$(this).append(close);$(this).addClass('display');}}});}};})(jQuery);;
9!function(a){"use strict";function b(a,b,c){"addEventListener" in window?a.addEventListener(b,c,!1):"attachEvent" in window&&a.attachEvent("on"+b,c);}function c(a,b,c){"removeEventListener" in window?a.removeEventListener(b,c,!1):"detachEvent" in window&&a.detachEvent("on"+b,c);}function d(){var a,b=["moz","webkit","o","ms"];for(a=0;a<b.length&&!O;a+=1)O=window[b[a]+"RequestAnimationFrame"];O||h("setup","RequestAnimationFrame not supported");}function e(a){var b="Host page: "+a;return window.top!==window.self&&(b=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+a:"Nested host page: "+a),b;}function f(a){return L+"["+e(a)+"]";}function g(a){return Q[a]?Q[a].log:H;}function h(a,b){k("log",a,b,g(a));}function i(a,b){k("info",a,b,g(a));}function j(a,b){k("warn",a,b,!0);}function k(a,b,c,d){!0===d&&"object"==typeof window.console&&console[a](f(b),c);}function l(a){function d(){function a(){s(U),p(V),I("resizedCallback",U);}f("Height"),f("Width"),t(a,U,"init");}function e(){var a=T.substr(M).split(":");return {iframe:Q[a[0]]&&Q[a[0]].iframe,id:a[0],height:a[1],width:a[2],type:a[3]};}
9function f(a){var b=Number(Q[V]["max"+a]),c=Number(Q[V]["min"+a]),d=a.toLowerCase(),e=Number(U[d]);h(V,"Checking "+d+" is in range "+c+"-"+b),e<c&&(e=c,h(V,"Set "+d+" to min value")),e>b&&(e=b,h(V,"Set "+d+" to max value")),U[d]=""+e;}function g(){function b(){function a(){var a=0,b=!1;for(h(V,"Checking connection is from allowed list of origins: "+d);a<d.length;a++)if(d[a]===c){b=!0;break;}return b;}function b(){var a=Q[V]&&Q[V].remoteHost;return h(V,"Checking connection is from: "+a),c===a;}return d.constructor===Array?a():b();}var c=a.origin,d=Q[V]&&Q[V].checkOrigin;if(d&&""+c!="null"&&!b())throw new Error("Unexpected message received from: "+c+" for "+U.iframe.id+". Message was: "+a.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return !0;}function k(){return L===(""+T).substr(0,M)&&T.substr(M).split(":")[0] in Q;}function l(){var a=U.type in {true:1,false:1,undefined:1};return a&&h(V,"Ignoring init message from meta parent page"),a;}function w(a){return T.substr(T.indexOf(":")+K+a);}function x(a){h(V,"MessageCallback passed: {iframe: "+U.iframe.id+", message: "+a+"}"),I("messageCallback",{iframe:U.iframe,message:JSON.parse(a)}),h(V,"--");}function z(){var a=document.body.getBoundingClientRect(),b=U.iframe.getBoundingClientRect();return JSON.stringify({iframeHeight:b.height,iframeWidth:b.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(b.top-a.top,10),offsetLeft:parseInt(b.left-a.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset});}function A(a,b){function c(){u("Send Page Info","pageInfo:"+z(),a,b);}y(c,32,b);}function B(){function a(a,b){function c(){Q[f]?A(Q[f].iframe,f):d();}["scroll","resize"].forEach(function(d){h(f,a+d+" listener for sendPageInfo"),b(window,d,c);});}function d(){a("Remove ",c);}function e(){a("Add ",b);}var f=V;e(),Q[f]&&(Q[f].stopPageInfo=d);}function C(){Q[V]&&Q[V].stopPageInfo&&(Q[V].stopPageInfo(),delete Q[V].stopPageInfo);}function D(){var a=!0;return null===U.iframe&&(j(V,"IFrame ("+U.id+") not found"),a=!1),a;}function E(a){var b=a.getBoundingClientRect();return o(V),{x:Math.floor(Number(b.left)+Number(N.x)),y:Math.floor(Number(b.top)+Number(N.y))};}function F(a){function b(){N=f,G(),h(V,"--");}function c(){return {x:Number(U.width)+e.x,y:Number(U.height)+e.y};}function d(){window.parentIFrame?window.parentIFrame["scrollTo"+(a?"Offset":"")](f.x,f.y):j(V,"Unable to scroll to requested position, window.parentIFrame not found");}var e=a?E(U.iframe):{x:0,y:0},f=c();h(V,"Reposition requested from iFrame (offset x:"+e.x+" y:"+e.y+")"),window.top!==window.self?d():b();}function G(){!1!==I("scrollCallback",N)?p(V):q();}function H(a){function b(){var a=E(f);h(V,"Moving to in page link (#"+d+") at x: "+a.x+" y: "+a.y),N={x:a.x,y:a.y},G(),h(V,"--");}function c(){window.parentIFrame?window.parentIFrame.moveToAnchor(d):h(V,"In page link #"+d+" not found and window.parentIFrame not found");}var d=a.split("#")[1]||"",e=decodeURIComponent(d),f=document.getElementById(e)||document.getElementsByName(e)[0];f?b():window.top!==window.self?c():h(V,"In page link #"+d+" not found");}function I(a,b){return m(V,a,b);}function J(){switch(Q[V]&&Q[V].firstRun&&R(),U.type){case "close":Q[V].closeRequestCallback?m(V,"closeRequestCallback",Q[V].iframe):n(U.iframe);break;case "message":x(w(6));break;case "scrollTo":F(!1);break;case "scrollToOffset":F(!0);break;case "pageInfo":A(Q[V]&&Q[V].iframe,V),B();break;case "pageInfoStop":C();break;case "inPageLink":H(w(9));break;case "reset":r(U);break;case "init":d(),I("initCallback",U.iframe);break;default:d();}}function O(a){var b=!0;return Q[a]||(b=!1,j(U.type+" No settings for "+a+". Message was: "+T)),b;}function P(){for(var a in Q)u("iFrame requested init",v(a),document.getElementById(a),a);}function R(){Q[V]&&(Q[V].firstRun=!1);}var T=a.data,U={},V=null;"[iFrameResizerChild]Ready"===T?P():k()?(U=e(),V=S=U.id,Q[V]&&(Q[V].loaded=!0),!l()&&O(V)&&(h(V,"Received: "+T),D()&&g()&&J())):i(V,"Ignored: "+T);}function m(a,b,c){var d=null,e=null;if(Q[a]){if("function"!=typeof (d=Q[a][b]))throw new TypeError(b+" on iFrame["+a+"] is not a function");e=d(c);}return e;}function n(a){var b=a.id;h(b,"Removing iFrame: "+b),a.parentNode&&a.parentNode.removeChild(a),m(b,"closedCallback",b),h(b,"--"),delete Q[b];}function o(b){null===N&&(N={x:window.pageXOffset!==a?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==a?window.pageYOffset:document.documentElement.scrollTop},h(b,"Get page position: "+N.x+","+N.y));}function p(a){null!==N&&(window.scrollTo(N.x,N.y),h(a,"Set page position: "+N.x+","+N.y),q());}function q(){N=null;}function r(a){function b(){s(a),u("reset","reset",a.iframe,a.id);}h(a.id,"Size reset requested by "+("init"===a.type?"host page":"iFrame")),o(a.id),t(b,a,"reset");}function s(a){function b(b){a.iframe.style[b]=a[b]+"px",h(a.id,"IFrame ("+e+") "+b+" set to "+a[b]+"px");}function c(b){I||"0"!==a[b]||(I=!0,h(e,"Hidden iFrame detected, creating visibility listener"),z());}function d(a){b(a),c(a);}var e=a.iframe.id;Q[e]&&(Q[e].sizeHeight&&d("height"),Q[e].sizeWidth&&d("width"));}function t(a,b,c){c!==b.type&&O?(h(b.id,"Requesting animation frame"),O(a)):a();}function u(a,b,c,d,e){function f(){var e=Q[d]&&Q[d].targetOrigin;h(d,"["+a+"] Sending msg to iframe["+d+"] ("+b+") targetOrigin: "+e),c.contentWindow.postMessage(L+b,e);}function g(){j(d,"["+a+"] IFrame("+d+") not found");}function i(){c&&"contentWindow" in c&&null!==c.contentWindow?f():g();}function k(){function a(){!Q[d]||Q[d].loaded||l||(l=!0,j(d,"IFrame has not responded within "+Q[d].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ingored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."));}e&&Q[d]&&Q[d].warningTimeout&&(Q[d].msgTimeout=setTimeout(a,Q[d].warningTimeout));}var l=!1;d=d||c.id,Q[d]&&(i(),k());}function v(a){return a+":"+Q[a].bodyMarginV1+":"+Q[a].sizeWidth+":"+Q[a].log+":"+Q[a].interval+":"+Q[a].enablePublicMethods+":"+Q[a].autoResize+":"+Q[a].bodyMargin+":"+Q[a].heightCalculationMethod+":"+Q[a].bodyBackgroun
9d+":"+Q[a].bodyPadding+":"+Q[a].tolerance+":"+Q[a].inPageLinks+":"+Q[a].resizeFrom+":"+Q[a].widthCalculationMethod;}function w(c,d){function e(){function a(a){1/0!==Q[x][a]&&0!==Q[x][a]&&(c.style[a]=Q[x][a]+"px",h(x,"Set "+a+" = "+Q[x][a]+"px"));}function b(a){if(Q[x]["min"+a]>Q[x]["max"+a])throw new Error("Value for min"+a+" can not be greater than max"+a);}b("Height"),b("Width"),a("maxHeight"),a("minHeight"),a("maxWidth"),a("minWidth");}function f(){var a=d&&d.id||T.id+G++;return null!==document.getElementById(a)&&(a+=G++),a;}function g(a){return S=a,""===a&&(c.id=a=f(),H=(d||{}).log,S=a,h(a,"Added missing iframe ID: "+a+" ("+c.src+")")),a;}function i(){switch(h(x,"IFrame scrolling "+(Q[x]&&Q[x].scrolling?"enabled":"disabled")+" for "+x),c.style.overflow=!1===(Q[x]&&Q[x].scrolling)?"hidden":"auto",Q[x]&&Q[x].scrolling){case !0:c.scrolling="yes";break;case !1:c.scrolling="no";break;default:c.scrolling=Q[x]?Q[x].scrolling:"no";}}function k(){"number"!=typeof (Q[x]&&Q[x].bodyMargin)&&"0"!==(Q[x]&&Q[x].bodyMargin)||(Q[x].bodyMarginV1=Q[x].bodyMargin,Q[x].bodyMargin=Q[x].bodyMargin+"px");}function l(){var a=Q[x]&&Q[x].firstRun,b=Q[x]&&Q[x].heightCalculationMethod in P;!a&&b&&r({iframe:c,height:0,width:0,type:"init"});}function m(){Function.prototype.bind&&Q[x]&&(Q[x].iframe.iFrameResizer={close:n.bind(null,Q[x].iframe),resize:u.bind(null,"Window resize","resize",Q[x].iframe),moveToAnchor:function(a){u("Move to anchor","moveToAnchor:"+a,Q[x].iframe,x);},sendMessage:function(a){a=JSON.stringify(a),u("Send Message","message:"+a,Q[x].iframe,x);}});}function o(d){function e(){u("iFrame.onload",d,c,a,!0),l();}b(c,"load",e),u("init",d,c,a,!0);}
9function p(a){if("object"!=typeof a)throw new TypeError("Options is not an object");}function q(a){for(var b in T)T.hasOwnProperty(b)&&(Q[x][b]=a.hasOwnProperty(b)?a[b]:T[b]);}function s(a){return ""===a||"file://"===a?"*":a;}function t(a){a=a||{},Q[x]={firstRun:!0,iframe:c,remoteHost:c.src.split("/").slice(0,3).join("/")},p(a),q(a),Q[x]&&(Q[x].targetOrigin=!0===Q[x].checkOrigin?s(Q[x].remoteHost):"*");}function w(){return x in Q&&"iFrameResizer" in c;}var x=g(c.id);w()?j(x,"Ignored iFrame, already setup."):(t(d),i(),e(),k(),o(v(x)),m());}function x(a,b){null===R&&(R=setTimeout(function(){R=null,a();},b));}function y(a,b,c){U[c]||(U[c]=setTimeout(function(){U[c]=null,a();},b));}function z(){function a(){function a(a){function b(b){return "0px"===(Q[a]&&Q[a].iframe.style[b]);}function c(a){return null!==a.offsetParent;}Q[a]&&c(Q[a].iframe)&&(b("height")||b("width"))&&u("Visibility change","resize",Q[a].iframe,a);}for(var b in Q)a(b);}function b(b){h("window","Mutation observed: "+b[0].target+" "+b[0].type),x(a,16);}function c(){var a=document.querySelector("body"),c={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};new d(b).observe(a,c);}var d=window.MutationObserver||window.WebKitMutationObserver;d&&c();}function A(a){function b(){C("Window "+a,"resize");}h("window","Trigger event: "+a),x(b,16);}function B(){function a(){C("Tab Visable","resize");}"hidden"!==document.visibilityState&&(h("document","Trigger event: Visiblity change"),x(a,16));}function C(a,b){function c(a){return Q[a]&&"parent"===Q[a].resizeFrom&&Q[a].autoResize&&!Q[a].firstRun;}for(var d in Q)c(d)&&u(a,b,document.getElementById(d),d);}function D(){b(window,"message",l),b(window,"resize",function(){A("resize");}),b(document,"visibilitychange",B),b(document,"-webkit-visibilitychange",B),b(window,"focusin",function(){A("focus");}),b(window,"focus",function(){A("focus");});}function E(){function b(a,b){function c(){if(!b.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==b.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+b.tagName+">");}b&&(c(),w(b,a),e.push(b));}function c(a){a&&a.enablePublicMethods&&j("enablePublicMethods option has been removed, public methods are now always available in the iFrame");}var e;return d(),D(),function(d,f){switch(e=[],c(d),typeof f){case "undefined":case "string":Array.prototype.forEach.call(document.querySelectorAll(f||"iframe"),b.bind(a,d));break;case "object":b(d,f);break;default:throw new TypeError("Unexpected data type ("+typeof f+")");}return e;};}function F(a){a.fn?a.fn.iFrameResize||(a.fn.iFrameResize=function(a){function b(b,c){w(c,a);}return this.filter("iframe").each(b).end();}):i("","Unable to bind to jQuery, it is not fully loaded.");}if("undefined"!=typeof window){var G=0,H=!1,I=!1,J="message",K=J.length,L="[iFrameSizer]",M=L.length,N=null,O=window.requestAnimationFrame,P={max:1,scroll:1,bodyScroll:1,documentElementScroll:1},Q={},R=null,S="Host Page",T={autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",closedCallback:function(){},initCallback:function(){},messageCallback:function(){j("MessageCallback function not defined");},resizedCallback:function(){},scrollCallback:function(){return !0;}},U={};window.jQuery&&F(window.jQuery),"function"==typeof define&&define.amd?define([],E):"object"==typeof module&&"object"==typeof module.exports?module.exports=E():window.iFrameResize=window.iFrameResize||E();}}();;
10var iframeBlock;function resizeIFrame(){if(iframeBlock.length)iframeBlock.attr('height',iframeBlock[0].contentWindow.document.body.offsetHeight);};(function($){Drupal.behaviors.iframe_block={attach:function(context,settings){var enableResizer=$('.brick-iframe_block').data('enable-resizer');if(enableResizer===true)iFrameResize({log:true},'.brick-iframe_block iframe');$('.brick-iframe_block iframe').on('load',function(){$('.brick-iframe_block iframe').addClass('ready');setTimeout(function(){$(window).scrollTop(0);},300);setTimeout($('.brick-iframe_block iframe').resize(),100);});$(window).on('resize',function(){$('.brick-iframe_block iframe').resize();});}};if(jQuery('.media--type-video'))jQuery('iframe').attr('title',jQuery('.media--type-video').find('.field--name-field-media-video-alt-text').text());}(jQuery));;
11(function($){Drupal.behaviors.tyson_modal={attach:function(context,settings){$('input').iCheck({checkboxClass:'icheckbox_flat-grey',radioClass:'iradio_flat-grey'}).on('ifChecked',function(e){$(e.target).attr('checked','checked').change();}).on('ifUnchecked',function(e){$(e.target).removeAttr('checked').change();});$('.form-select').chosen({disable_search_threshold:20});}};Drupal.behaviors.viewsFilterFixLabel={attach:function(context,settings){var form_elem=$('form.views-exposed-form'),reset_button='<input data-drupal-selector="edit-reset" type="submit" name="op" value="Reset" class="button js-form-submit form-submit">';if(form_elem.length)form_elem.once('viewsFilterFixLabel').find('.form--inline .js-form-type-select').each(function(){$(this).find('label').hide();$(this).append(reset_button);});}};}(jQuery));;
12(function(q,m){"function"===typeof define&&define.amd?define(m):"object"===typeof exports?module.exports=m():q.Blazy=m();})(this,function(){function q(b){var c=b._util;c.elements=E(b.options);c.count=c.elements.length;c.destroyed&&(c.destroyed=!1,b.options.container&&l(b.options.container,function(a){n(a,"scroll",c.validateT);}),n(window,"resize",c.saveViewportOffsetT),n(window,"resize",c.validateT),n(window,"scroll",c.validateT));m(b);}function m(b){for(var c=b._util,a=0;a<c.count;a++){var d=c.elements[a],e;a:{var g=d;e=b.options;var p=g.getBoundingClientRect();if(e.container&&y&&(g=g.closest(e.containerClass))){g=g.getBoundingClientRect();e=r(g,f)?r(p,{top:g.top-e.offset,right:g.right+e.offset,bottom:g.bottom+e.offset,left:g.left-e.offset}):!1;break a;}e=r(p,f);};if(e||t(d,b.options.successClass))b.load(d),c.elements.splice(a,1),c.count--,a--;}0===c.count&&b.destroy();}function r(b,c){return b.right>=c.left&&b.bottom>=c.top&&b.left<=c.right&&b.top<=c.bottom;}function z(b,c,a){if(!t(b,a.successClass)&&(c||a.loadInvisible||0<b.offsetWidth&&0<b.offsetHeight))if(c=b.getAttribute(u)||b.getAttribute(a.src)){c=c.split(a.separator);var d=c[A&&1<c.length?1:0],e=b.getAttribute(a.srcset),g="img"===b.nodeName.toLowerCase(),p=(c=b.parentNode)&&"picture"===c.nodeName.toLowerCase();if(g||void 0===b.src){var h=new Image(),w=function(){a.error&&a.error(b,"invali
12d");v(b,a.errorClass);k(h,"error",w);k(h,"load",f);},f=function(){g?p||B(b,d,e):b.style.backgroundImage='url("'+d+'")';x(b,a);k(h,"load",f);k(h,"error",w);};p&&(h=b,l(c.getElementsByTagName("source"),function(b){var c=a.srcset,e=b.getAttribute(c);e&&(b.setAttribute("srcset",e),b.removeAttribute(c));}));n(h,"error",w);n(h,"load",f);B(h,d,e);}else b.src=d,x(b,a);}else "video"===b.nodeName.toLowerCase()?(l(b.getElementsByTagName("source"),function(b){var c=a.src,e=b.getAttribute(c);e&&(b.setAttribute("src",e),b.removeAttribute(c));}),b.load(),x(b,a)):(a.error&&a.error(b,"missing"),v(b,a.errorClass));}function x(b,c){v(b,c.successClass);c.success&&c.success(b);b.removeAttribute(c.src);b.removeAttribute(c.srcset);l(c.breakpoints,function(a){b.removeAttribute(a.src);});}function B(b,c,a){a&&b.setAttribute("srcset",a);b.src=c;}function t(b,c){return -1!==(" "+b.className+" ").indexOf(" "+c+" ");}function v(b,c){t(b,c)||(b.className+=" "+c);}function E(b){var c=[];b=b.root.querySelectorAll(b.selector);for(var a=b.length;a--;c.unshift(b[a]));return c;}function C(b){f.bottom=(window.innerHeight||document.documentElement.clientHeight)+b;f.right=(window.innerWidth||document.documentElement.clientWidth)+b;}function n(b,c,a){b.attachEvent?b.attachEvent&&b.attachEvent("on"+c,a):b.addEventListener(c,a,{capture:!1,passive:!0});}function k(b,c,a){b.detachEvent?b.detachEvent&&b.detachEvent("on"+c,a):b.removeEventListener(c,a,{capture:!1,passive:!0});}function l(b,c){if(b&&c)for(var a=b.length,d=0;d<a&&!1!==c(b[d],d);d++);}function D(b,c,a){var d=0;return function(){var e=+new Date();e-d<c||(d=e,b.apply(a,arguments));};}var u,f,A,y;return function(b){if(!document.querySelectorAll){var c=document.createStyleSheet();document.querySelectorAll=function(a,b,d,h,f){f=document.all;b=[];a=a.replace(/\[for\b/gi,"[htmlFor").split(",");for(d=a.length;d--;){c.addRule(a[d],"k:v");for(h=f.length;h--;)f[h].currentStyle.k&&b.push(f[h]);c.removeRule(0);}return b;};}var a=this,d=a._util={};d.elements=[];d.destroyed=!0;a.options=b||{};a.options.error=a.options.error||!1;a.options.offset=a.options.offset||100;a.options.root=a.options.root||document;a.options.success=a.options.success||!1;a.options.selector=a.options.selector||".b-lazy";a.options.separator=a.options.separator||"|";a.options.containerClass=a.options.container;a.options.container=a.options.containerClass?document.querySelectorAll(a.options.containerClass):!1;a.options.errorClass=a.options.errorClass||"b-error";a.options.breakpoints=a.options.breakpoints||!1;a.options.loadInvisible=a.options.loadInvisible||!1;a.options.successClass=a.options.successClass||"b-loaded";a.options.validateDelay=a.options.validateDelay||25;a.options.saveViewportOffsetDelay=a.options.saveViewportOffsetDelay||50;a.options.srcset=a.options.srcset||"data-srcset";a.options.src=u=a.options.src||"data-src";y=Element.prototype.closest;A=1<window.devicePixelRatio;f={};f.top=0-a.options.offset;f.left=0-a.options.offset;a.revalidate=function(){q(a);};a.load=function(a,b){var c=this.options;void 0===a.length?z(a,b,c):l(a,function(a){z(a,b,c);});};a.destroy=function(){var a=this._util;this.options.container&&l(this.options.container,function(b){k(b,"scroll",a.validateT);});k(window,"scroll",a.validateT);k(window,"resize",a.validateT);k(window,"resize",a.saveViewportOffsetT);a.count=0;a.elements.length=0;a.destroyed=!0;};d.validateT=D(function(){m(a);},a.options.validateDelay,a);d.saveViewportOffsetT=D(function(){C(a.options.offset);},a.options.saveViewportOffsetDelay,a);C(a.options.offset);l(a.options.breakpoints,function(a){if(a.width>=window.screen.width)return u=a.src,!1;});setTimeout(function(){q(a);});};});;
13(function($){var openSearch=function(searchContext){searchContext.addClass('search-is-open');$('.text-box').focus();},closeSearch=function(searchContext){searchContext.removeClass('search-is-open');searchContext.removeClass('has-error');$('.text-box',searchContext).val('');};Drupal.behaviors.tyson_search={attach:function(context,settings){once('global-search-setup','.global-search-block',context).forEach(function(element){var me=$(element);$(document).keyup(function(e){if(e.keyCode===27)closeSearch(me);});$('a.icon-search',me).click(function(e){e.preventDefault();openSearch(me);});$('a.icon-close-x',me).bind('click',function(e){e.preventDefault();closeSearch(me);});$('form',me).each(function(){$('.text-box',$(this)).change(function(e){me.removeClass('has-error');});$('.text-box',$(this)).change(function(e){me.removeClass('has-error');});$(this).submit(function(e){if($('.text-box',$(this)).val().trim()===''){e.preventDefault();me.addClass('has-error');return;}else{var val=$('.text-box',$(this)).val().trim();window.location='/search?search='+encodeURIComponent(val);e.preventDefault();}});});});}};}(jQuery));;
14;(function(root,factory){if(typeof define==="function"&&define.amd)define(['./ResizeSensor.js'],factory);else if(typeof exports==="object")module.exports=factory(require('./ResizeSensor.js'));else{root.ElementQueries=factory(root.ResizeSensor);root.ElementQueries.listen();}}(typeof window!=='undefined'?window:this,function(ResizeSensor){var ElementQueries=function(){var trackingActive=false;var elements=[];function getEmSize(element){if(!element)element=document.documentElement;var fontSize=window.getComputedStyle(element,null).fontSize;return parseFloat(fontSize)||16;}function convertToPx(element,value){var numbers=value.split(/\d/);var units=numbers[numbers.length-1];value=parseFloat(value);switch(units){case "px":return value;case "em":return value*getEmSize(element);case "rem":return value*getEmSize();case "vw":return value*document.documentElement.clientWidth/100;case "vh":return value*document.documentElement.clientHeight/100;case "vmin":case "vmax":var vw=document.documentElement.clientWidth/100;var vh=document.documentElement.clientHeight/100;var chooser=Math[units==="vmin"?"min":"max"];return value*chooser(vw,vh);default:return value;}}function SetupInformation(element){this.element=element;this.options={};var key,option,width=0,height=0,value,actualValue,attrValues,attrValue,attrName;this.addOption=function(option){var idx=[option.mode,option.property,option.value].join(',');this.options[idx]=option;};var attributes=['min-width','min-height','max-width','max-height'];this.call=function(){width=this.element.offsetWidth;height=this.element.offsetHeight;attrValues={};for(key in this.options){if(!this.options.hasOwnProperty(key))continue;option=this.options[key];value=convertToPx(this.element,option.value);actualValue=option.property=='width'?width:height;attrName=option.mode+'-'+option.property;attrValue='';if(option.mode=='min'&&actualValue>=value)attrValue+=option.value;if(option.mode=='max'&&actualValue<=value)attrValue+=option.value;if(!attrValues[attrName])attrValues[attrName]='';if(attrValue&&-1===(' '+attrValues[attrName]+' ').indexOf(' '+attrValue+' '))attrValues[attrName]+=' '+attrValue;}
14for(var k in attributes){if(!attributes.hasOwnProperty(k))continue;if(attrValues[attributes[k]])this.element.setAttribute(attributes[k],attrValues[attributes[k]].substr(1));else this.element.removeAttribute(attributes[k]);}};}function setupElement(element,options){if(element.elementQueriesSetupInformation)element.elementQueriesSetupInformation.addOption(options);else{element.elementQueriesSetupInformation=new SetupInformation(element);element.elementQueriesSetupInformation.addOption(options);element.elementQueriesSensor=new ResizeSensor(element,function(){element.elementQueriesSetupInformation.call();});}element.elementQueriesSetupInformation.call();if(trackingActive&&elements.indexOf(element)<0)elements.push(element);}var allQueries={};function queueQuery(selector,mode,property,value){if(typeof (allQueries[mode])=='undefined')allQueries[mode]={};if(typeof (allQueries[mode][property])=='undefined')allQueries[mode][property]={};if(typeof (allQueries[mode][property][value])=='undefined')allQueries[mode][property][value]=selector;else allQueries[mode][property][value]+=','+selector;}function getQuery(container){var query;if(document.querySelectorAll)query=(container)?container.querySelectorAll.bind(container):document.querySelectorAll.bind(document);if(!query&&'undefined'!==typeof $$)query=$$;if(!query&&'undefined'!==typeof jQuery)query=jQuery;if(!query)throw 'No document.querySelectorAll, jQuery or Mootools\'s $$ found.';return query;}function findElementQueriesElements(container){var query=getQuery(container);for(var mode in allQueries)if(allQueries.hasOwnProperty(mode))for(var property in allQueries[mode])if(allQueries[mode].hasOwnProperty(property))for(var value in allQueries[mode][property])if(allQueries[mode][property].hasOwnProperty(value)){var elements=query(allQueries[mode][property][value],container);for(var i=0,j=elements.length;i<j;i++)setupElement(elements[i],{mode,property,value});}}function attachResponsiveImage(element){var children=[];var rules=[];var sources=[];var defaultImageId=0;var lastActiveImage=-1;var loadedImages=[];for(var i in element.children){if(!element.children.hasOwnProperty(i))continue;if(element.children[i].tagName&&element.children[i].tagName.toLowerCase()==='img'){children.push(element.children[i]);var minWidth=element.children[i].getAttribute('min-width')||element.children[i].getAttribute('data-min-width');var src=element.children[i].getAttribute('data-src')||element.children[i].getAttribute('url');sources.push(src);var rule={minWidth};rules.push(rule);if(!minWidth){defaultImageId=children.length-1;element.children[i].style.display='block';}else element.children[i].style.display='none';}}lastActiveImage=defaultImageId;function check(){var imageToDisplay=false,i;for(i in children){if(!children.hasOwnProperty(i))continue;if(rules[i].minWidth)if(element.offsetWidth>rules[i].minWidth)imageToDisplay=i;}if(!imageToDisplay)imageToDisplay=defaultImageId;if(lastActiveImage!=imageToDisplay)if(!loadedImages[imageToDisplay]){var image=new Image();image.onload=function(){children[imageToDisplay].src=sources[imageToDisplay];children[lastActiveImage].style.display='none';children[imageToDisplay].style.display='block';loadedImages[imageToDisplay]=true;lastActiveImage=imageToDisplay;};image.src=sources[imageToDisplay];}else{children[lastActiveImage].style.display='none';children[imageToDisplay].style.display='block';lastActiveImage=imageToDisplay;}else children[imageToDisplay].src=sources[imageToDisplay];}element.resizeSensor=new ResizeSensor(element,check);check();if(trackingActive)elements.push(element);}function findResponsiveImages(){var query=getQuery();var elements=query('[data-responsive-image],[responsive-image]');for(var i=0,j=elements.length;i<j;i++)attachResponsiveImage(elements[i]);}var regex=/,?[\s\t]*([^,\n]*?)((?:\[[\s\t]*?(?:min|max)-(?:width|height)[\s\t]*?[~$\^]?=[\s\t]*?"[^"]*?"[\s\t]*?])+)([^,\n\s\{]*)/mgi;var attrRegex=/\[[\s\t]*?(min|max)-(width|height)[\s\t]*?[~$\^]?=[\s\t]*?"([^"]*?)"[\s\t]*?]/mgi;function extractQuery(css){var match,smatch,attrs,attrMatch;css=css.replace(/'/g,'"');while(null!==(match=regex.exec(css))){smatch=match[1]+match[3];attrs=match[2];while(null!==(attrMatch=attrRegex.exec(attrs)))queueQuery(smatch,attrMatch[1],attrMatch[2],attrMatch[3]);}}function readRules(rules){var selector='';if(!rules)return;if('string'===typeof rules){rules=rules.toLowerCase();if(-1!==rules.indexOf('min-width')||-1!==rules.indexOf('max-width'))extractQuery(rules);}else for(var i=0,j=rules.length;i<j;i++)if(1===rules[i].type){selector=rules[i].selectorText||rules[i].cssText;if(-1!==selector.indexOf('min-height')||-1!==selector.indexOf('max-height'))extractQuery(selector);else{if(-1!==selector.indexOf('min-width')||-1!==selector.indexOf('max-width'))extractQuery(selector);}}else if(4===rules[i].type)readRules(rules[i].cssRules||rules[i].rules);else{if(3===rules[i].type)readRules(rules[i].styleSheet.cssRules);}}var defaultCssInjected=false;this.init=function(withTracking){trackingActive=typeof withTracking==='undefined'?false:withTracking;for(var i=0,j=document.styleSheets.length;i<j;i++)try{readRules(document.styleSheets[i].cssRules||document.styleSheets[i].rules||document.styleSheets[i].cssText);}catch(e){if(e.name!=='SecurityError'&&e.name!=='InvalidAccessError')throw e;}if(!defaultCssInjected){var style=document.createElement('style');style.type='text/css';style.innerHTML='[responsive-image] > img, [data-responsive-image] {overflow: hidden; padding: 0; } [responsive-image] > img, [data-responsive-image] > img { width: 100%;}';document.getElementsByTagName('head')[0].appendChild(style);defaultCssInjected=true;}findElementQueriesElements();findResponsiveImages();};this.findElementQueriesElements=function(container){findElementQueriesElements(container);};this.update=function(withTracking){this.init(withTracking);};this.detach=function(){if(!trackingActive)throw 'withTracking is not enabled. We can not detach elements since we don not store it.'+'Use ElementQueries.withTracking = true; before domready or call ElementQueryes.update(true).';var element;while(element=elements.pop())ElementQueries.detach(element);elements=[];};};ElementQueries.update=function(withTracking){ElementQueries.instance.update(withTracking);};ElementQueries.detach=function(element){if(element.elementQueriesSetupInformation){element.elementQueriesSensor.detach();delete element.elementQueriesSetupInformation;delete element.elementQueriesSensor;}else if(element.resizeSensor){element.resizeSensor.detach();delete element.resizeSensor;}else{}};ElementQueries.withTracking=false;ElementQueries.init=function(){if(!ElementQueries.instance)ElementQueries.instance=new ElementQueries();ElementQueries.instance.init(ElementQueries.withTracking);};var domLoaded=function(callback){if(document.addEventListener)document.addEventListener('DOMContentLoaded',callback,false);else if(/KHTML|WebKit|iCab/i.test(navigator.userAgent))var DOMLoadTimer=setInterval(function(){if(/loaded|complete/i.test(document.readyState)){callback();clearInterval(DOMLoadTimer);}},10);else window.onload=callback;};ElementQueries.findElementQueriesElements=function(container){ElementQueries.instance.findElementQueriesElements(container);};ElementQueries.listen=function(){domLoaded(ElementQueries.init);};return ElementQueries;}));;

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.