1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 2(function(Drupal){'use strict';Drupal.behaviors.addToAny={attach:function(context,settings){if(context!==document&&window.a2a)a2a.init_all();}};})(Drupal);; 3/* @license MIT https://github.com/js-cookie/js-cookie/blob/main/LICENSE */ 4/*! js-cookie v3.0.5 | MIT */ 5!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self,function(){var n=e.Cookies,o=e.Cookies=t();o.noConflict=function(){return e.Cookies=n,o}}())}(this,(function(){"use strict";function e(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)e[o]=n[o]}return e}var t=function t(n,o){function r(t,r,i){if("undefined"!=typeof document){"number"==typeof(i=e({},o,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var c="";for(var u in i)i[u]&&(c+="; "+u,!0!==i[u]&&(c+="="+i[u].split(";")[0]));return document.cookie=t+"="+n.write(r,t)+c}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var t=document.cookie?document.cookie.split("; "):[],o={},r=0;r<t.length;r++){var i=t[r].split("="),c=i.slice(1).join("=");try{var u=decodeURIComponent(i[0]);if(o[u]=n.read(c,u),e===u)break}catch(e){}}return e?o[e]:o}},remove:function(t,n){r(t,"",e({},n,{expires:-1}))},withAttributes:function(n){return t(this.converter,e({},this.attributes,n))},withConverter:function(n){return t(e({},this.converter,n),this.attributes)}},{attributes:{value:Object.freeze(o)},converter:{value:Object.freeze(n)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});return t})); 6; 7/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */ 8(function($,Drupal,window,document,cookies,once){'use strict';var $window=$(window);var $document=$(document);var consentGivenEventName='cookieContentBlockerConsentGiven';var consentChangedEventName='cookieContentBlockerChangeConsent';var cookieContentBlockerSettings=null;var specialEventSelectors={window:$window,document:$document};var consentChangeCallback=function(event){event.preventDefault();$window.trigger(consentChangedEventName);var triggerEvent=function(event){var $specialTarget=specialEventSelectors[event.selector];if($specialTarget===void (0)){$(event.selector).trigger(event.name);return;}$specialTarget.trigger(event.name);};$.each(cookieContentBlockerSettings.categories,function(id,category){triggerEvent(category.consentAwareness.change.event);});triggerEvent(cookieContentBlockerSettings.consentAwareness.change.event);};var matchCookieValue=function(cookieMatch){if(typeof cookieMatch.name!=='string'||typeof cookieMatch.value!=='string')return false;var currentValue=cookies.get(cookieMatch.name);if(currentValue===null||currentValue===void (0))return cookieMatch.operator==='!e';var matchMap={'e':function(){return true;},'===':function(v){return currentValue===v;},'>':function(v){return currentValue>v;},'<':function(v){return currentValue<v;},'c':function(v){return currentValue.indexOf(v)>=0;},'!c':function(v){return currentValue.indexOf(v)===-1;}};return (matchMap[cookieMatch.operator]!==void (0)&&matchMap[cookieMatch.operator](cookieMatch.value)||false);};Drupal.behaviors.cookieContentBlocker={initialized:false,getConsent:function(){var consent={categories:{},general:false};const queryString=window.location.search;const params=new URLSearchParams(queryString);$.each(cookieContentBlockerSettings.categories,function(id,category){consent.categories[id]=params.has("CookieContentBlockerCookieAccepted")||params.has("CookieContentBlockerCookieAccepted"+id.charAt(0).toUpperCase()+id.slice(1))||matchCookieValue(category.consentAwareness.accepted.cookie);});if(params.has("CookieContentBlockerCookieAccepted")||matchCookieValue(cookieContentBlockerSettings.consentAwareness.accepted.cookie)){consent.general=true;return consent;}if(matchCookieValue(cookieContentBlockerSettings.consentAwareness.declined.cookie))consent.general=false;return consent;},attachConsentEventListeners:function(context){$.each(cookieContentBlockerSettings.categories,function(id,category){Drupal.behaviors.cookieContentBlocker.attachConsentEventListener(context,category.consentAwareness.accepted.event);});Drupal.behaviors.cookieContentBlocker.attachConsentEventListener(context,cookieContentBlockerSettings.consentAwareness.accepted.event);if(Drupal.behaviors.cookieContentBlocker.initialized)return;$window.on(consentGivenEventName,function(){Drupal.behaviors.cookieContentBlocker.handleConsent();});},attachConsentEventListener:function(context,event){var $specialTarget=specialEventSelectors[event.selector];var isSpecialTarget=$specialTarget!==void (0);
8if(!isSpecialTarget)$(event.selector).on(event.name,function(){Drupal.behaviors.cookieContentBlocker.handleConsent(context);});if(Drupal.behaviors.cookieContentBlocker.initialized||!isSpecialTarget)return;$specialTarget.on(event.name,function(){Drupal.behaviors.cookieContentBlocker.handleConsent();});},attachConsentEventTriggers:function(context){once('cookie-content-blocker','.js-cookie-content-blocker-consent-change-button, .js-cookie-content-blocker-click-consent-change',context).forEach(function(button){$(button).on('click',consentChangeCallback);});},attach:function(context,settings){if(cookieContentBlockerSettings===null)cookieContentBlockerSettings=settings.cookieContentBlocker;Drupal.behaviors.cookieContentBlocker.handleConsent(context);Drupal.behaviors.cookieContentBlocker.attachConsentEventListeners(context);Drupal.behaviors.cookieContentBlocker.attachConsentEventTriggers(context);Drupal.behaviors.cookieContentBlocker.initialized=true;},handleConsent:function(context){if(context===void (0))context=document;var consent=Drupal.behaviors.cookieContentBlocker.getConsent();if(consent.general===true){Drupal.behaviors.cookieContentBlocker.loadBlockedContent(context);Drupal.behaviors.cookieContentBlocker.loadBlockedAssets();}for(var category in consent.categories){if(!consent.categories.hasOwnProperty(category)||consent.categories[category]!==true)continue;Drupal.behaviors.cookieContentBlocker.loadBlockedContent(context,category);Drupal.behaviors.cookieContentBlocker.loadBlockedAssets(category);}},handleCookieAccepted:function(context){Drupal.behaviors.cookieContentBlocker.handleConsent(context);},loadBlockedContent:function(context,category){var selector=category?".js-cookie-content-blocker-content[data-category='"+category+"']":'.js-cookie-content-blocker-content:not([data-category])';$(selector,context).each(function(){var $originalContentWrapperScript=$(this);var $blocker=$originalContentWrapperScript.closest('.js-cookie-content-blocker');var originalContent=$originalContentWrapperScript.text();originalContent=originalContent.replace(/(<[/]?script)fake/g,'$1');originalContent=originalContent.replace('//<![CDATA[','').replace('//]]>','');var replaceContent=function($wrapper){var parent=$wrapper.parent().get(0);$wrapper.replaceWith(originalContent);Drupal.attachBehaviors(parent);};replaceContent($blocker.length?$blocker:$originalContentWrapperScript);});},loadBlockedAssets:function(category){if(cookieContentBlockerSettings.blockedAssets===void (0))return;var originalBehaviors=$.extend(true,{},Drupal.behaviors);var selector=category?"[data-cookie-content-blocker-asset-id][data-categories]":'[data-cookie-content-blocker-asset-id]:not([data-categories])';$(selector).each(function(){var $blockedAsset=$(this);var id=$blockedAsset.data('cookie-content-blocker-asset-id');if(!(id in cookieContentBlockerSettings.blockedAssets))return;if(category&&!$blockedAsset.data('categories').includes(category))return;$blockedAsset.replaceWith(cookieContentBlockerSettings.blockedAssets[id]);});$.each(Drupal.behaviors,function(name,behavior){if(!originalBehaviors[name]&&$.isFunction(behavior.attach))behavior.attach(document,window.drupalSettings);});}};})(jQuery,Drupal,window,document,window.Cookies,once);; 9Drupal.behaviors.euccRocketshipReopenLink={attach:function(context,settings){(function($,once){function show_eucc_popup(){var popup=$('#sliding-popup');if(!popup.length){if(window.matchMedia('(max-width: '+settings.eu_cookie_compliance.mobile_breakpoint+'px)').matches&&settings.eu_cookie_compliance.use_mobile_message)Drupal.eu_cookie_compliance.createPopup(settings.eu_cookie_compliance.mobile_popup_html_info,false);else Drupal.eu_cookie_compliance.createPopup(settings.eu_cookie_compliance.popup_html_info,false);Drupal.eu_cookie_compliance.initPopup();}else{popup.css({top:0});popup.trigger('eu_cookie_compliance_popup_open');$('body').addClass('eu-cookie-compliance-popup-open');}}once('euccRocketshipReopenLink','a.eucc-open, a[href$="#eucc-open"], button[data-eucc-open]').forEach(function(element){element.addEventListener('click',(e)=>{e.preventDefault();show_eucc_popup();});});$(window).on('cookieContentBlockerChangeConsent',function(){show_eucc_popup();});}(jQuery,once));}};;
vendor: 17,909 bytes, lines 10-19
10/** 11 * @file postscribe 12 * @description Asynchronously write javascript, even with document.write. 13 * @version v2.0.8 14 * @see {@link https://krux.github.io/postscribe} 15 * @license MIT 16 * @author Derek Brans 17 * @copyright 2016 Krux Digital, Inc 18 */ 19!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports["postscribe"]=e():t["postscribe"]=e()}(this,function(){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={"exports":{},"id":n,"loaded":!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}var o=r(1),i=n(o);t.exports=i["default"]},function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e["default"]=t,e}function o(t){return t&&t.__esModule?t:{"default":t}}function i(){}function a(){var t=m.shift();if(t){var e=h.last(t);e.afterDequeue(),t.stream=s.apply(void 0,t),e.afterStreamStart()}}function s(t,e,r){function n(t){t=r.beforeWrite(t),g.write(t),r.afterWrite(t)}g=new p["default"](t,r),g.id=y++,g.name=r.name||g.id,u.streams[g.name]=g;var o=t.ownerDocument,s={"close":o.close,"open":o.open,"write":o.write,"writeln":o.writeln};c(o,{"close":i,"open":i,"write":function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return n(e.join(""))},"writeln":function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return n(e.join("")+"\n")}});var l=g.win.onerror||i;return g.win.onerror=function(t,e,n){r.error({"msg":t+" - "+e+": "+n}),l.apply(g.win,[t,e,n])},g.write(e,function(){c(o,s),g.win.onerror=l,r.done(),g=null,a()}),g}function u(t,e,r){if(h.isFunction(r))r={"done":r};else if("clear"===r)return m=[],g=null,void(y=0);r=h.defaults(r,d),t=/^#/.test(t)?window.document.getElementById(t.substr(1)):t.jquery?t[0]:t;var n=[t,e,r];return t.postscribe={"cancel":function(){n.stream?n.stream.abort():n[1]=i}},r.beforeEnqueue(n),m.push(n),g||a(),t.postscribe}e.__esModule=!0;var c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e["default"]=u;var l=r(2),p=o(l),f=r(4),h=n(f),d={"afterAsync":i,"afterDequeue":i,"afterStreamStart":i,"afterWrite":i,"autoFix":!0,"beforeEnqueue":i,"beforeWriteToken":function(t){return t},"beforeWrite":function(t){return t},"done":i,"error":function(t){throw new Error(t.msg)},"releaseAsync":!1},y=0,m=[],g=null;c(u,{"streams":{},"queue":m,"WriteStream":p["default"]})},function(t,e,r){"use strict";function n(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e["default"]=t,e}function o(t){return t&&t.__esModule?t:{"default":t}}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){var r=d+e,n=t.getAttribute(r);return f.existy(n)?String(n):n}function s(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=d+e;f.existy(r)&&""!==r?t.setAttribute(n,r):t.removeAttribute(n)}e.__esModule=!0;var u=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},c=r(3),l=o(c),p=r(4),f=n(p),h=!1,d="data-ps-",y="ps-style",m="ps-script",g=function(){function t(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,t),this.root=e,this.options=r,this.doc=e.ownerDocument,this.win=this.doc.defaultView||this.doc.parentWindow,this.parser=new l["default"]("",{"autoFix":r.autoFix}),this.actuals=[e],this.proxyHistory="",this.proxyRoot=this.doc.createElement(e.nodeName),this.scriptStack=[],this.writeQueue=[],s(this.proxyRoot,"proxyof",0)}return t.prototype.write=function(){var t;for((t=this.writeQueue).push.apply(t,arguments);!this.deferredRemote&&this.writeQueue.length;){var e=this.writeQueue.shift();f.isFunction(e)?this._callFunction(e):this._writeImpl(e)}},t.prototype._callFunction=function(t){var e={"type":"function","value":t.name||t.toString()};this._onScriptStart(e),t.call(this.win,this.doc),this._onScriptDone(e)},t.prototype._writeImpl=function(t){this.parser.append(t);for(var e=void 0,r=void 0,n=void 0,o=[];(e=this.parser.readToken())&&!(r=f.isScript(e))&&!(n=f.isStyle(e));)e=this.options.beforeWriteToken(e),e&&o.push(e);o.length>0&&this._writeStaticTokens(o),r&&this._handleScriptToken(e),n&&this._handleStyleToken(e)},t.prototype._writeStaticTokens=function(t){var e=this._buildChunk(t);return e.actual?(e.html=this.proxyHistory+e.actual,this.proxyHistory+=e.proxy,this.proxyRoot.innerHTML=e.html,h&&(e.proxyInnerHTML=this.proxyRoot.innerHTML),this._walkChunk(),h&&(e.actualInnerHTML=this.root.innerHTML),e):null},t.prototype._buildChunk=function(t){for(var e=this.actuals.length,r=[],n=[],o=[],i=t.length,a=0;a<i;a++){var s=t[a],u=s.toString();if(r.push(u),s.attrs){if(!/^noscript$/i.test(s.tagName)){var c=e++;n.push(u.replace(/(\/?>)/," "+d+"id="+c+" $1")),s.attrs.id!==m&&s.attrs.id!==y&&o.push("atomicTag"===s.type?"":"<"+s.tagName+" "+d+"proxyof="+c+(s.unary?" />":">"))}}else n.push(u),o.push("endTag"===s.type?u:"")}return{"tokens":t,"raw":r.join(""),"actual":n.join(""),"proxy":o.join("")}},t.prototype._walkChunk=function(){for(var t=void 0,e=[this.proxyRoot];f.existy(t=e.shift());){var r=1===t.nodeType,n=r&&a(t,"proxyof");if(!n){r&&(this.actuals[a(t,"id")]=t,s(t,"id"));var o=t.parentNode&&a(t.parentNode,"proxyof");o&&this.actuals[o].appendChild(t)}e.unshift.apply(e,f.toArray(t.childNodes))}},t.prototype._handleScriptToken=function(t){var e=this,r=this.parser.clear();r&&this.writeQueue.unshift(r),t.src=t.attrs.src||t.attrs.SRC,t=this.options.beforeWriteToken(t),t&&(t.src&&this.scriptStack.length?this.deferredRemote=t:this._onScriptStart(t),this._writeScriptToken(t,function(){e._onScriptDone(t)}))},t.prototype._handleStyleToken=function(t){var e=this.parser.clear();e&&this.writeQueue.unshift(e),t.type=t.attrs.type||t.attrs.TYPE||"text/css",t=this.options.beforeWriteToken(t),t&&this._writeStyleToken(t),e&&this.write()},t.prototype._writeStyleToken=function(t){var e=this._buildStyle(t);this._insertCursor(e,y),t.content&&(e.styleSheet&&!e.sheet?e.styleSheet.cssText=t.content:e.appendChild(this.doc.createTextNode(t.content)))},t.prototype._buildStyle=function(t){var e=this.doc.createElement(t.tagName);return e.setAttribute("type",t.type),f.eachKey(t.attrs,function(t,r){e.setAttribute(t,r)}),e},t.prototype._insertCursor=function(t,e){this._writeImpl('<span id="'+e+'"/>');var r=this.doc.getElementById(e);r&&r.parentNode.replaceChild(t,r)},t.prototype._onScriptStart=function(t){t.outerWrites=this.writeQueue,this.writeQueue=[],this.scriptStack.unshift(t)},t.prototype._onScriptDone=function(t){return t!==this.scriptStack[0]?void this.options.error({"msg":"Bad script nesting or script finished twice"}):(this.scriptStack.shift(),this.write.apply(this,t.outerWrites),void(!this.scriptStack.length&&this.deferredRemote&&(this._onScriptStart(this.deferredRemote),this.deferredRemote=null)))},t.prototype._writeScriptToken=function(t,e){var r=this._buildScript(t),n=this._shouldRelease(r),o=this.options.afterAsync;t.src&&(r.src=t.src,this._scriptLoadHandler(r,n?o:function(){e(),o()}));try{this._insertCursor(r,m),r.src&&!n||e()}catch(t){this.options.error(t),e()}},t.prototype._buildScript=function(t){var e=this.doc.createElement(t.tagName);return f.eachKey(t.attrs,function(t,r){e.setAttribute(t,r)}),t.content&&(e.text=t.content),e},t.prototype._scriptLoadHandler=function(t,e){function r(){t=t.onload=t.onreadystatechange=t.onerror=null}function n(){r(),null!=e&&e(),e=null}function o(t){r(),a(t),null!=e&&e(),e=null}function i(t,e){var r=t["on"+e];null!=r&&(t["_on"+e]=r)}var a=this.options.error;i(t,"load"),i(t,"error"),u(t,{"onload":function(){if(t._onload)try{t._onload.apply(this,Array.prototype.slice.call(arguments,0))}catch(e){o({"msg":"onload handler failed "+e+" @ "+t.src})}n()},"onerror":function(){if(t._onerror)try{t._onerror.apply(this,Array.prototype.slice.call(arguments,0))}catch(e){return void o({"msg":"onerror handler failed "+e+" @ "+t.src})}o({"msg":"remote script failed "+t.src})},"onreadystatechange":function(){/^(loaded|complete)$/.test(t.readyState)&&n()}})},t.prototype._shouldRelease=function(t){var e=/^script$/i.test(t.nodeName);return!e||!!(this.options.releaseAsync&&t.src&&t.hasAttribute("async"))},t}();e["default"]=g},function(t,e,r){!function(e,r){t.exports=r()}(this,function(){return function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={"exports":{},"id":n,"loaded":!1};return t[n].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}var o=r(1),i=n(o);t.exports=i["default"]},function(t,e,r){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e["default"]=t,e}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0;var a=r(2),s=o(a),u=r(3),c=o(u),l=r(6),p=n(l),f=r(5),h={"comment":/^<!--/,"endTag":/^<\//,"atomicTag":/^<\s*(script|style|noscript|iframe|textarea)[\s\/>]/i,"startTag":/^</,"chars":/^[^<]/},d=function(){function t(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i(this,t),this.stream=r;var o=!1,a={};for(var u in s)s.hasOwnProperty(u)&&(n.autoFix&&(a[u+"Fix"]=!0),o=o||a[u+"Fix"]);o?(this._readToken=(0,p["default"])(this,a,function(){return e._readTokenImpl()}),this._peekToken=(0,p["default"])(this,a,function(){return e._peekTokenImpl()})):(this._readToken=this._readTokenImpl,this._peekToken=this._peekTokenImpl)}return t.prototype.append=function(t){this.stream+=t},t.prototype.prepend=function(t){this.stream=t+this.stream},t.prototype._readTokenImpl=function(){var t=this._peekTokenImpl();if(t)return this.stream=this.stream.slice(t.length),t},t.prototype._peekTokenImpl=function(){for(var t in h)if(h.hasOwnProperty(t)&&h[t].test(this.stream)){var e=c[t](this.stream);if(e)return"startTag"===e.type&&/script|style/i.test(e.tagName)?null:(e.text=this.stream.substr(0,e.length),e)}},t.prototype.peekToken=function(){return this._peekToken()},t.prototype.readToken=function(){return this._readToken()},t.prototype.readTokens=function(t){for(var e=void 0;e=this.readToken();)if(t[e.type]&&t[e.type](e)===!1)return},t.prototype.clear=function(){var t=this.stream;return this.stream="",t},t.prototype.rest=function(){return this.stream},t}();e["default"]=d,d.tokenToString=function(t){return t.toString()},d.escapeAttributes=function(t){var e={};for(var r in t)t.hasOwnProperty(r)&&(e[r]=(0,f.escapeQuotes)(t[r],null));return e},d.supports=s;for(var y in s)s.hasOwnProperty(y)&&(d.browserHasFlaw=d.browserHasFlaw||!s[y]&&y)},function(t,e){"use strict";e.__esModule=!0;var r=!1,n=!1,o=window.document.createElement("div");try{var i="<P><I></P></I>";o.innerHTML=i,e.tagSoup=r=o.innerHTML!==i}catch(t){e.tagSoup=r=!1}try{o.innerHTML="<P><i><P></P></i></P>",e.selfClose=n=2===o.childNodes.length}catch(t){e.selfClose=n=!1}o=null,e.tagSoup=r,e.selfClose=n},function(t,e,r){"use strict";function n(t){var e=t.indexOf("-->");if(e>=0)return new c.CommentToken(t.substr(4,e-1),e+3)}function o(t){var e=t.indexOf("<");return new c.CharsToken(e>=0?e:t.length)}function i(t){var e=t.indexOf(">");if(e!==-1){var r=t.match(l.startTag);if(r){var n=function(){var t={},e={},n=r[2];return r[2].replace(l.attr,function(r,o){arguments[2]||arguments[3]||arguments[4]||arguments[5]?arguments[5]?(t[arguments[5]]="",e[arguments[5]]=!0):t[o]=arguments[2]||arguments[3]||arguments[4]||l.fillAttr.test(o)&&o||"":t[o]="",n=n.replace(r,"")}),{"v":new c.StartTagToken(r[1],r[0].length,t,e,(!!r[3]),n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""))}}();if("object"===("undefined"==typeof n?"undefined":u(n)))return n.v}}}function a(t){var e=i(t);if(e){var r=t.slice(e.length);if(r.match(new RegExp("</\\s*"+e.tagName+"\\s*>","i"))){var n=r.match(new RegExp("([\\s\\S]*?)</\\s*"+e.tagName+"\\s*>","i"));if(n)return new c.AtomicTagToken(e.tagName,n[0].length+e.length,e.attrs,e.booleanAttrs,n[1])}}}function s(t){var e=t.match(l.endTag);if(e)return new c.EndTagToken(e[1],e[0].length)}e.__esModule=!0;var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.comment=n,e.chars=o,e.startTag=i,e.atomicTag=a,e.endTag=s;var c=r(4),l={"startTag":/^<([\-A-Za-z0-9_]+)((?:\s+[\w\-]+(?:\s*=?\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/,"endTag":/^<\/([\-A-Za-z0-9_]+)[^>]*>/,"attr":/(?:([\-A-Za-z0-9_]+)\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|([^>\s]+)))|(?:([\-A-Za-z0-9_]+)(\s|$)+)/g,"fillAttr":/^(checked|compact|declare|defer|disabled|ismap|multiple|nohref|noresize|noshade|nowrap|readonly|selected)$/i}},function(t,e,r){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}e.__esModule=!0,e.EndTagToken=e.AtomicTagToken=e.StartTagToken=e.TagToken=e.CharsToken=e.CommentToken=e.Token=void 0;var o=r(5),i=(e.Token=function t(e,r){n(this,t),this.type=e,this.length=r,this.text=""},e.CommentToken=function(){function t(e,r){n(this,t),this.type="comment",this.length=r||(e?e.length:0),this.text="",this.content=e}return t.prototype.toString=function(){return"<!--"+this.content},t}(),e.CharsToken=function(){function t(e){n(this,t),this.type="chars",this.length=e,this.text=""}return t.prototype.toString=function(){return this.text},t}(),e.TagToken=function(){function t(e,r,o,i,a){n(this,t),this.type=e,this.length=o,this.text="",this.tagName=r,this.attrs=i,this.booleanAttrs=a,this.unary=!1,this.html5Unary=!1}return t.formatTag=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r="<"+t.tagName;for(var n in t.attrs)if(t.attrs.hasOwnProperty(n)){r+=" "+n;var i=t.attrs[n];"undefined"!=typeof t.booleanAttrs&&"undefined"!=typeof t.booleanAttrs[n]||(r+='="'+(0,o.escapeQuotes)(i)+'"')}return t.rest&&(r+=" "+t.rest),r+=t.unary&&!t.html5Unary?"/>":">",void 0!==e&&null!==e&&(r+=e+"</"+t.tagName+">"),r},t}());e.StartTagToken=function(){function t(e,r,o,i,a,s){n(this,t),this.type="startTag",this.length=r,this.text="",this.tagName=e,this.attrs=o,this.booleanAttrs=i,this.html5Unary=!1,this.unary=a,this.rest=s}return t.prototype.toString=function(){return i.formatTag(this)},t}(),e.AtomicTagToken=function(){function t(e,r,o,i,a){n(this,t),this.type="atomicTag",this.length=r,this.text="",this.tagName=e,this.attrs=o,this.booleanAttrs=i,this.unary=!1,this.html5Unary=!1,this.content=a}return t.prototype.toString=function(){return i.formatTag(this,this.content)},t}(),e.EndTagToken=function(){function t(e,r){n(this,t),this.type="endTag",this.length=r,this.text="",this.tagName=e}return t.prototype.toString=function(){return"</"+this.tagName+">"},t}()},function(t,e){"use strict";function r(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t?t.replace(/([^"]*)"/g,function(t,e){return/\\/.test(e)?e+'"':e+'\\"'}):e}e.__esModule=!0,e.escapeQuotes=r},function(t,e){"use strict";function r(t){return t&&"startTag"===t.type&&(t.unary=s.test(t.tagName)||t.unary,t.html5Unary=!/\/>$/.test(t.text)),t}function n(t,e){var n=t.stream,o=r(e());return t.stream=n,o}function o(t,e){var r=e.pop();t.prepend("</"+r.tagName+">")}function i(){var t=[];return t.last=function(){return this[this.length-1]},t.lastTagNameEq=function(t){var e=this.last();return e&&e.tagName&&e.tagName.toUpperCase()===t.toUpperCase()},t.containsTagName=function(t){for(var e,r=0;e=this[r];r++)if(e.tagName===t)return!0;return!1},t}function a(t,e,a){function s(){var e=n(t,a);e&&l[e.type]&&l[e.type](e)}var c=i(),l={"startTag":function(r){var n=r.tagName;"TR"===n.toUpperCase()&&c.lastTagNameEq("TABLE")?(t.prepend("<TBODY>"),s()):e.selfCloseFix&&u.test(n)&&c.containsTagName(n)?c.lastTagNameEq(n)?o(t,c):(t.prepend("</"+r.tagName+">"),s()):r.unary||c.push(r)},"endTag":function(r){var n=c.last();n?e.tagSoupFix&&!c.lastTagNameEq(r.tagName)?o(t,c):c.pop():e.tagSoupFix&&(a(),s())}};return function(){return s(),r(a())}}e.__esModule=!0,e["default"]=a;var s=/^(AREA|BASE|BASEFONT|BR|COL|FRAME|HR|IMG|INPUT|ISINDEX|LINK|META|PARAM|EMBED)$/i,u=/^(COLGROUP|DD|DT|LI|OPTIONS|P|TD|TFOOT|TH|THEAD|TR)$/i}])})},function(t,e){"use strict";function r(t){return void 0!==t&&null!==t}function n(t){return"function"==typeof t}function o(t,e,r){var n=void 0,o=t&&t.length||0;for(n=0;n<o;n++)e.call(r,t[n],n)}function i(t,e,r){for(var n in t)t.hasOwnProperty(n)&&e.call(r,n,t[n])}function a(t,e){return t=t||{},i(e,function(e,n){r(t[e])||(t[e]=n)}),t}function s(t){try{return Array.prototype.slice.call(t)}catch(r){var e=function(){var e=[];return o(t,function(t){e.push(t)}),{"v":e}}();if("object"===("undefined"==typeof e?"undefined":f(e)))return e.v}}function u(t){return t[t.length-1]}function c(t,e){return!(!t||"startTag"!==t.type&&"atomicTag"!==t.type||!("tagName"in t))&&!!~t.tagName.toLowerCase().indexOf(e)}function l(t){return c(t,"script")}function p(t){return c(t,"style")}e.__esModule=!0;var f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};e.existy=r,e.isFunction=n,e.each=o,e.eachKey=i,e.defaults=a,e.toArray=s,e.last=u,e.isTag=c,e.isScript=l,e.isStyle=p}])});;
19 20(function($,Drupal,drupalSettings){'use strict';Drupal.behaviors.ios_press_journalsite_ads={attach:function(context,settings){$(once("ioscom-block-processed",".ioscom-block")).each(function(){let block=this;let region=$(this).data('region');let limit=$(this).data('limit');let apiKey=drupalSettings.ads.api_key;let currentPath=drupalSettings.path.baseUrl+drupalSettings.path.currentPath;let routeParams=JSON.stringify(drupalSettings.ads.route_params);let endpoint=''.concat('\/api\/ios\/fetch\/',region,'\/',limit,'?key=',apiKey,'¤t_path=',currentPath,'&route_params=',routeParams);$.get(endpoint,function(data){var placeholder=$(block).find(".image-placeholder");postscribe(placeholder,data.markup,{done:function(){$(placeholder).find('.placeholder-text').hide();}});var body=document.body;body.classList.add("has-ioscom-blocks");const event=new Event('iosComBlocksLoaded');body.dispatchEvent(event);for(const region in drupalSettings.ads.regions)body.classList.add('ioscom-regions-'+region);});});}};})(jQuery,Drupal,drupalSettings);; 21(function($,Drupal,window,document){"use strict";if(typeof window.rocketshipUI==='undefined')window.rocketshipUI={};var self=window.rocketshipUI;Drupal.behaviors.rocketshipUI_p={attach:function(context,settings){var groupedParagraphs=$('.group--paragraphs__item',context);if(groupedParagraphs.length)self.group(groupedParagraphs);}};self.group=function(paragraphItems){once('js-once-paragraphsGroup',paragraphItems).forEach(function(paragraphItemElement){var paragraphItem=$(paragraphItemElement);once('js-once-groupedParagraph',paragraphItem).forEach(function(pItEl){var pIt=$(pItEl),p=pIt.find('.paragraph').first(),pItNext=pIt.next(),pNext=pItNext.find('.paragraph').first();var paragraphsHandler=function(){if(pNext.length&&typeof pNext[0]!=='undefined'&&typeof pNext[0].classList!=='undefined'&&pNext[0].classList.length){var pMarginTop=parseInt(p.css('marginTop').replace('px',''),10);if(!p.hasClass('p--layout--image_stretched')&&!p.hasClass('p--layout--video_stretched')&&(!p.hasClass('has-bg-image')&&!pNext.hasClass('has-bg-image'))&&(p.hasClass('has-bg')&&pNext.hasClass('has-bg')||!p.hasClass('has-bg')&&!pNext.hasClass('has-bg'))&&(pMarginTop<1)){var pClassList=p[0].className.split(/\s+/);var pNextClassList=pNext[0].className.split(/\s+/);if(!p.hasClass('has-bg')&&!pNext.hasClass('has-bg')){pIt.addClass('has-matching-bg').addClass('has-matching-bg-first');pItNext.addClass('has-matching-bg').addClass('has-matching-bg-last');}else{for(var i=0;i<pClassList.length;++i)for(var j=0;j<pNextClassList.length;++j)if(pClassList[i]===pNextClassList[j])if(pClassList[i].indexOf('bg--')!==-1){pIt.addClass('has-matching-bg').addClass('has-matching-bg-first');pItNext.addClass('has-matching-bg').addClass('has-matching-bg-last');}}}}};paragraphsHandler();rocketshipUI.optimizedResize().add(function(){paragraphsHandler();});});});};self.optimizedResize=function(){var callbacks=[],running=false;function resize(){if(!running){running=true;if(window.requestAnimationFrame)window.requestAnimationFrame(runCallbacks);else setTimeout(runCallbacks,250);}}function runCallbacks(){callbacks.forEach(function(callback){callback();});running=false;}function addCallback(callback){if(callback)callbacks.push(callback);}return {add:function(callback){if(!callbacks.length)window.addEventListener('resize',resize);addCallback(callback);}};};self.imgLoaded=function(el,callback){var img=el.find('img'),iLength=img.length,iCount=0;
21if(iLength)img.each(function(){var img=$(this);img.on('load',function(){iCount=iCount+1;if(iCount==iLength)callback();}).each(function(){if(this.complete){var url=img.attr('src');$(this).load(url);iCount=iCount+1;if(iCount==iLength)callback();}});});else return callback();};self.cardLink=function(elements,linkSelector,fallbackSelector){var newTab=false,preventTabReset=false;once('js-once-cardlink',elements).forEach(function(element){var el=$(element),link,hrefProp,targetProp,down,up;if(typeof linkSelector!=='undefined'&&linkSelector.length)link=el.find(linkSelector).last();if(typeof link==='undefined'||link.length<1)link=el.find(fallbackSelector).last();if(typeof link==='undefined'||link.length<1)link=self.getCardLink(el).link;if(typeof link!=='undefined'&&link!==null&&link.length){hrefProp=link.attr('href'),targetProp=link.attr('target');el.css({cursor:'pointer'});once('js-once-cardlink-mousedown',el).forEach(function(el){$(el).on('mousedown',function(e){down=+new Date();if(e.ctrlKey||e.metaKey||(typeof targetProp!=='undefined'&&targetProp==='_blank'))newTab=true;});});once('js-once-cardlink-mouseup',el).forEach(function(el){$(el).on('mouseup',function(e){up=+new Date();if((up-down)<250){var myEl=$(this);if(!myEl.is(e.target)||myEl.has(e.target).length===0)if($(e.target).is('a, a *')){}else if(newTab)window.open(hrefProp,'_blank');else window.location.href=hrefProp;}newTab=false;});});}});};self.getCardLink=function(el){var link;link=el.find('.field--name-node-link a').first();if(link.length)return {link};link=el.find('.field--buttons a');if(link.length===1)return {link};link=el.find('[class*="field--name-field-link-"] a').last();if(link.length)return {link};return {link:null};};})(jQuery,Drupal,window,document);; 22(function($,Drupal,window,document){"use strict";if(typeof window.rocketshipUI=='undefined')window.rocketshipUI={};var self=window.rocketshipUI;Drupal.behaviors.rocketshipUI_p008={attach:function(context,settings){var p008=$('.paragraph--type-p-008',context);if(p008.length)self.cardLink(p008);}};})(jQuery,Drupal,window,document);; 23(function($,Drupal,window,document){"use strict";if(typeof window.rocketshipUI=='undefined')window.rocketshipUI={};var self=window.rocketshipUI;Drupal.behaviors.rocketshipUIForms={attach:function(context,settings){var input=$('input',context),select=$('select',context),textarea=$('textarea',context);if(input.length||textarea.length)self.focusFields(input,textarea,select);if(select.length)self.customSelect(select);if(textarea.length)self.textareaScroll(textarea);self.stateCheck();}};self.focusFields=function(input,textarea,select){if(input.length)once('js-once-input',input).forEach(function(inputElement){var input=$(inputElement);var wrapper='.form__element';if(input.closest(wrapper).length<1)wrapper='.form-wrapper';input.focus(function(e){var input=$(this);input.closest(wrapper).addClass('is-active').find('label').addClass('is-active');if(input.attr('name')=='search_block_form')input.parent().addClass('is-active').find('label').addClass('is-active');}).blur(function(e){var input=$(this);input.closest(wrapper).removeClass('is-active').find('label').removeClass('is-active');if(input.attr('name')=='search_block_form')input.parent().removeClass('is-active').find('label').removeClass('is-active');if(input.val()){input.closest(wrapper).addClass('has-value').find('label').addClass('has-value');if(input.attr('name')=='search_block_form')input.parent().addClass('has-value').find('label').addClass('has-value');}else{input.closest(wrapper).removeClass('has-value').find('label').removeClass('has-value');if(input.attr('name')=='search_block_form')input.parent().removeClass('has-value').find('label').removeClass('has-value');}});if(input.val()){input.closest(wrapper).addClass('has-value').find('label').addClass('has-value');if(input.attr('name')=='search_block_form')input.parent().addClass('has-value').find('label').addClass('has-value');}});if(textarea.length)once('js-once-textarea',textarea).forEach(function(textareaElement){var textarea=$(textareaElement);var wrapper='.form__element';if(textarea.closest(wrapper).length<1)wrapper='.form-wrapper';textarea.focus(function(e){var textarea=$(this);textarea.closest(wrapper).addClass('is-active').find('label').addClass('is-active');}).blur(function(e){var textarea=$(this);textarea.closest(wrapper).removeClass('is-active').find('label').removeClass('is-active');if(textarea.val())textarea.closest(wrapper).addClass('has-value').find('label').addClass('has-value');else textarea.closest(wrapper).removeClass('has-value').find('label').removeClass('has-value');});if(textarea.val())textarea.closest(wrapper).addClass('has-value').find('label').addClass('has-value');});if(select.length)once('js-once-select',select).forEach(function(selectElement){var select=$(selectElement);var wrapper='.form__element';if(select.closest(wrapper).length<1)wrapper='.form-wrapper';select.focus(function(e){var select=$(this);select.parent().parent().find('label').addClass('is-active');}).blur(function(e){var select=$(this);select.closest(wrapper).removeClass('is-active').find('label').removeClass('is-active');if(select.val())select.closest(wrapper).addClass('has-value').find('label').addClass('has-value');else select.closest(wrapper).removeClass('has-value').find('label').removeClass('has-value');});if(select.val()){if((typeof select.val()==='object'&&select.val().length)>0)select.closest(wrapper).addClass('has-value').find('label').addClass('has-value');
23if(typeof select.val()!=='object')select.closest(wrapper).addClass('has-value').find('label').addClass('has-value');}});};self.customSelect=function(select){once('js-once-select-wrap',select).forEach(function(selectElement){if($(selectElement).closest('.form__dropdown').length<1)$(selectElement).wrap('<div class="form__dropdown"></div>');});};self.textareaScroll=function(textarea){once('js-once-textarea-scroll',textarea).forEach(function(textareaElement){var myTextarea=$(textareaElement);var checkScrollPosition=function(self){if(self.scrollTop>0)myTextarea.closest('.form__element').addClass('js-scrolling');else myTextarea.closest('.form__element').removeClass('js-scrolling');};checkScrollPosition(myTextarea[0]);myTextarea.on('scroll',function(){checkScrollPosition(this);});});};self.stateCheck=function(){$(document).on('state:required',function(e){if(e.trigger&&typeof $(e.target).isWebform==='function'&&$(e.target).isWebform()){var target=$(e.target),label=target.parent('.form-item').find('.form__label'),requiredEl=label.find('.form__label__required'),optionalEl=label.find('.form__label__not-required');if(e.value){if(typeof requiredEl!=='undefined')requiredEl.removeAttr('aria-hidden');if(typeof optionalEl!=='undefined')optionalEl.attr('aria-hidden',true);}else{if(typeof optionalEl!=='undefined')optionalEl.removeAttr('aria-hidden');if(typeof requiredEl!=='undefined')requiredEl.attr('aria-hidden',true);}}});};})(jQuery,Drupal,window,document);; 24(function($,Drupal,window,document){"use strict";if(typeof window.rocketshipUI=='undefined')window.rocketshipUI={};var self=window.rocketshipUI;Drupal.behaviors.rocketshipUIMobileMenu={attach:function(context,settings){var navWrapper=$('.wrapper--navigation',context),hamburger=navWrapper.find('.navigation__toggle-expand',context);if(hamburger.length&&navWrapper.length)self.mobileMenu(hamburger,navWrapper);}};self.mobileMenu=function(trigger,wrapper){once('js-once-mobilemenu',trigger).forEach(function(triggerElement){$(triggerElement).click(function(e){if(self.screen=='xs')if(wrapper.hasClass('js-open'))wrapper.removeClass('js-open');else wrapper.addClass('js-open');e.preventDefault();});});$(window).on('resize',function(){if(self.screen!='xs')if(wrapper.hasClass('js-open'))wrapper.removeClass('js-open');});};})(jQuery,Drupal,window,document);; 25(function($,Drupal,window,document){"use strict";if(typeof window.rocketshipUI=='undefined')window.rocketshipUI={};var self=window.rocketshipUI;Drupal.behaviors.rocketshipUIDropdown={attach:function(context,settings){var navWrapper=$('.wrapper--navigation',context),myNav=$('.nav--main, .nav--secondary',context);if(myNav.length){var navParams={nav:myNav,interaction:'hover',hasIcon:true};self.dropdownMenu(navParams);}}};self.dropdownMenu=function(params){once('js-once-dropdown',params.nav).forEach(function(navElement){var nav=$(navElement),interaction=params.interaction,menu=nav.children('ul'),firstLevel=menu.children('li'),sum=0;once('js-once-dropdown-item',firstLevel).forEach(function(itemElement,index){var item=$(itemElement),itemLink=item.children('a, span').first(),icon=item.find('.expand-sub'),touchTrigger,target;if(item.hasClass('has-sub')){if(typeof icon!=='undefined'&&icon.length)touchTrigger=icon;else touchTrigger=item;if(touchTrigger!==item||interaction=='click'){item.on('touchstart',function(){self.touch=true;});item.on('touchend',function(){setTimeout(function(){self.touch=false;},500);});}if(itemLink.is('span'))item.on('touchstart',function(e){self.touch=true;if(params.megamenu&&(self.screen!=='xs'&&self.screen!=='sm'))target=nav;else target=item;if(target.hasClass('js-open'))self.navPrimaryClose(target);else self.navPrimaryOpen(target);});else touchTrigger.on('touchstart',function(e){self.touch=true;if(params.megamenu&&(self.screen!=='xs'&&self.screen!=='sm'))target=nav;else target=item;if(target.hasClass('js-open'))self.navPrimaryClose(target);else self.navPrimaryOpen(target);e.preventDefault();});touchTrigger.on('touchend',function(e){setTimeout(function(){self.touch=false;},500);e.preventDefault();});if(interaction=='hover'){item.on('mouseenter',function(e){target=item;if(!self.touch){self.navPrimaryOpen(target);e.preventDefault();}});item.on('mouseleave',function(e){target=item;self.navPrimaryClose(target);e.preventDefault();});}else{if(itemLink.is('span'))item.on('click',function(e){if((self.screen==='xs'||self.screen==='sm')){target=item;if(!self.touch){if(target.hasClass('js-open'))self.navPrimaryClose(target);else self.navPrimaryOpen(target);e.preventDefault();}}});else touchTrigger.on('click',function(e){if((self.screen==='xs'||self.screen==='sm')){target=item;if(!self.touch){if(target.hasClass('js-open'))self.navPrimaryClose(target);else self.navPrimaryOpen(target);e.preventDefault();}}});$(document).mouseup(function(e){target=item;if(item.hasClass('expanded'))if(target.hasClass('js-open'))if(!item.is(e.target)&&item.has(e.target).length===0)self.navPrimaryClose(target);});}}});var updateLayout=function(e){firstLevel.each(function(){var firstLevel=$(this);self.navPrimaryClose(firstLevel);});};window.addEventListener('resize',updateLayout,false);});};self.navHeight=function(nav){var items=nav.find('li.expanded'),height=0;for(var i=0;i<items.length;++i){var iHeight=items.eq(i).find('ul').outerHeight(true);if(iHeight>height)height+=iHeight;}return height;};self.navPrimaryOpen=function(target){target.addClass('js-open');};self.navPrimaryClose=function(target){target.removeClass('js-open');};})(jQuery,Drupal,window,document);; 26(function($,Drupal,window,document){"use strict";if(typeof window.rocketshipUI=='undefined')window.rocketshipUI={};var self=window.rocketshipUI;Drupal.behaviors.rocketshipUISearchBlock={attach:function(context,settings){var searchBlock=$('.block--region-
26header-top.block--search-redirect-block'),trigger=searchBlock.find('h2');if(trigger.length&&searchBlock.length)self.search(trigger,searchBlock);}};self.search=function(trigger,wrapper){once('js-once-search',trigger).forEach(function(triggerElement){$(triggerElement).click(function(e){if(wrapper.hasClass('js-open'))wrapper.removeClass('js-open');else wrapper.addClass('js-open');e.preventDefault();});});};})(jQuery,Drupal,window,document);; 27(function($,Drupal,window,document){"use strict";if(typeof window.rocketshipUI=='undefined')window.rocketshipUI={};var self=window.rocketshipUI;Drupal.behaviors.rocketshipUITables={attach:function(context,settings){var tables=$('table',context);if(tables.length)self.setresponsiveTables(tables);}};self.setresponsiveTables=function(tables){var ckeClass='.cke_show_borders, .text-long';once('js-once-set-responsive-tables',tables).forEach(function(tableElement){var table=$(tableElement);var pageTable=table.closest('.page').length;if(!pageTable)pageTable=table.closest('.sb-show-main').length;if(pageTable)if(table.closest(ckeClass).length){self.tableSetAttributes(table);if(table.hasClass('table--reformatted')){if(!table.closest('div').hasClass('table-responsive'))table.wrap('<div class="table-responsive is-reformatted"></div>');}else{if(!table.closest('div').hasClass('table-responsive'))table.wrap('<div class="table-responsive has-scroll"></div>');self.tableScroll(table,table.closest('.table-responsive'));}}else if(!table.closest('div').hasClass('table-responsive')){table.wrap('<div class="table-responsive has-scroll"></div>');self.tableScroll(table,table.closest('.table-responsive'));}else{if(table.closest('.table-responsive').hasClass('has-scroll'))self.tableScroll(table,table.closest('.table-responsive'));}});};self.tableScroll=function(table,wrapper){var caption=table.find('caption');caption.insertBefore(wrapper);var trs=table.find('tr'),thRow=false,thHead=false,thFoot=false,thCol=false,thLeft=false,thRight=false,heightMax=0;once('js-once-check-th-position',trs).forEach(function(trElement,i){var tr=$(trElement);var ths=table.find('th');once('js-once-check-th-position',ths).forEach(function(thElement,j){var th=$(thElement);if(j===0&&th.parent('tr').parent('tbody').length){thCol=true;thLeft=true;}if(j===(ths.length-1)&&th.parent('tr').parent('tbody').length){thCol=true;thRight=true;}if(th.closest('thead').length){thRow=true;thHead=true;}if(th.closest('tfoot').length){thRow=true;thFoot=true;}});});if(thRow){wrapper.addClass('js-table--th-row');if(thHead)wrapper.addClass('js-table--th-top');else wrapper.addClass('js-table--th-bottom');sizeCells(table);window.rocketshipUI.optimizedResize().add(function(){sizeCells(table);});}else if(thCol){wrapper.addClass('js-table--th-col');if(thLeft)wrapper.addClass('js-table--th-left');else wrapper.addClass('js-table--th-right');var ths=table.find('th');ths.each(function(){var th=$(this),thHtml=th.html();th.wrapInner('<div class="th__content"></div>');});sizeTh(ths);window.rocketshipUI.optimizedResize().add(function(){sizeTh(ths);});}else wrapper.addClass('js-table--no-th');function sizeCells(table){var ths=table.find('th'),cells=table.find('th, td');for(var i=0;i<cells.length;i++){var cell=cells[i];$(cell).css('height','auto');$(cell).css('min-height','0');var cellHeight=$(cell).outerHeight();if(cellHeight>heightMax)heightMax=cellHeight;}cells.each(function(){$(this).css('min-height',heightMax+'px');});}function sizeTh(ths){ths.each(function(){var th=$(this);var thContent=th.find('.th__content');thContent.css('min-height',th.closest('tr').outerHeight()+'px');});}};self.tableSetAttributes=function(table){var tableHead=table.find('thead');if(tableHead.length){tableHead.attr('tabindex','0');var headings=[];table.find('th').each(function(){headings.push($(this).text());});var count=0;table.find('tr').each(function(){count=0;$(this).find('td').each(function(){$(this).attr('data-title',headings[count]);++count;});});}else{var tableBody=table.find('tbody');if(tableBody.length)tableBody.attr('tabindex','0');if(table.find('th').length)table.find('tr').each(function(){var heading=$(this).find('th').text();table.find('td').each(function(){$(this).attr('data-title',heading);});});else table.addClass('no-th');}};})(jQuery,Drupal,window,document);; 28(function($,Drupal,window,document){"use strict";if(typeof window.rocketshipUI=='undefined')window.rocketshipUI={};var self=window.rocketshipUI;self.html=$('html');self.body=$('body');self.page=$('html, body');self.touch=false;self.screen='';self.scrollStop=false;Drupal.behaviors.rocketshipUIHelpers={attach:function(context,settings){self.checkScreenSize();window.rocketshipUI.optimizedResize().add(function(){self.checkScreenSize();});if(typeof Modernizr!='undefined')Modernizr.addTest('flexboxtweener',Modernizr.testAllProps('flexAlign','end',true));self.checkPassiveSupported();}};self.checkPassiveSupported=function(){self.passiveSupported=false;
28try{var options={get passive(){self.passiveSupported=true;}};window.addEventListener("test",options,options);window.removeEventListener("test",options,options);}catch(err){self.passiveSupported=false;}};self.checkScreenSize=function(){var currentBreakpoint=self.getBreakpoint();if(currentBreakpoint=='bp-xs')self.screen='xs';if(currentBreakpoint=='bp-sm')self.screen='sm';if(currentBreakpoint=='bp-md')self.screen='md';if(currentBreakpoint=='bp-lg')self.screen='lg';};self.getBreakpoint=function(){var tag=window.getComputedStyle(document.body,'::after').getPropertyValue('content');tag=tag.replace(/"/g,'');return tag.replace(/'/g,'');};self.debounce=function(func,wait,immediate){var timeout;return function(){var context=this,args=arguments;var later=function(){timeout=null;if(!immediate)func.apply(context,args);};var callNow=immediate&&!timeout;clearTimeout(timeout);timeout=setTimeout(later,wait);if(callNow)func.apply(context,args);};};self.optimizedResize=function(){var callbacks=[],running=false;function resize(){if(!running){running=true;if(window.requestAnimationFrame)window.requestAnimationFrame(runCallbacks);else setTimeout(runCallbacks,250);}}function runCallbacks(){callbacks.forEach(function(callback){callback();});running=false;}function addCallback(callback){if(callback)callbacks.push(callback);}return {add:function(callback){if(!callbacks.length)window.addEventListener('resize',resize);addCallback(callback);}};};self.scrollTo=function(params){params.pos=params.el.offset().top;if(typeof params.offset==='undefined')params.offset=0;if(params.offset==='bottom')params.pos=params.el.offset().top+params.el.outerHeight();if(typeof params.speed==='undefined')params.speed=1000;if(typeof params.callback==='undefined')params.callback=function(){};self.page.on('scroll mousedown wheel DOMMouseScroll mousewheel keyup touchmove',function(e){self.scrollStop();});self.page.stop().animate({scrollTop:params.pos+params.offset},params.speed,function(){params.callback();self.page.off('scroll mousedown wheel DOMMouseScroll mousewheel keyup touchmove');});};self.scrollStop=function(){self.page.stop(true,false);};self.getScrollTop=function(){var scrollTop;if(Modernizr.touch)scrollTop=window.pageYOffset;else scrollTop=$(window).scrollTop();return scrollTop;};self.imgLoaded=function(el,callback){var img=el.find('img'),iLength=img.length,iCount=0;
28if(iLength)img.each(function(){var img=$(this);img.on('load',function(){iCount=iCount+1;if(iCount==iLength)callback();}).each(function(){if(this.complete){var url=img.attr('src');$(this).load(url);iCount=iCount+1;if(iCount==iLength)callback();}});});else return callback();};self.round=function(value,decimals){return Number(Math.round(value+'e'+decimals)+'e-'+decimals);};})(jQuery,Drupal,window,document);(function($,Drupal,window,document){"use strict";if(typeof window.rocketshipUI=='undefined')window.rocketshipUI={};var self=window.rocketshipUI;Drupal.behaviors.rocketshipUIBase={attach:function(context,settings){var tabs=$('.tabs__nav',context).first();if(tabs.length)self.body.addClass('has-tabs');self.scrollToAnchor(0);var skipLink=$('a[href="#main-content"]'),content=$('#main-content');if(skipLink.length&&content.length)once('js-once-skip-link',skipLink).forEach(function(linkElement){$(linkElement).on('click',function(e){content.trigger('focus');e.preventDefault();});});}};self.cardLink=function(elements,linkSelector,fallbackSelector){var newTab=false,preventTabReset=false;once('js-once-cardlink',elements).forEach(function(element){var el=$(element),link,hrefProp,targetProp,down,up;if(typeof linkSelector!=='undefined'&&linkSelector.length)link=el.find(linkSelector).last();if(typeof link==='undefined'||link.length<1)link=el.find(fallbackSelector).last();if(typeof link==='undefined'||link.length<1)link=self.getCardLink(el).link;if(typeof link!=='undefined'&&link!==null&&link.length){hrefProp=link.attr('href');targetProp=link.attr('target');el.css({cursor:'pointer'});once('js-once-cardlink-mousedown',el).forEach(function(el){$(el).on('mousedown',function(e){down=+new Date();if(e.ctrlKey||e.metaKey)newTab=true;});});once('js-once-cardlink-mouseup',el).forEach(function(el){$(el).on('mouseup',function(e){up=+new Date();if((up-down)<250){var myEl=$(this);if(!myEl.is(e.target)||myEl.has(e.target).length===0)if($(e.target).is('a, a *')){}else if(newTab)window.open(hrefProp,'_blank');else if(typeof targetProp!=='undefined')window.open(hrefProp,targetProp);else window.location.href=hrefProp;}newTab=false;});});}});};self.getCardLink=function(el){var link;link=el.find('.field--name-node-link a').first();if(link.length)return {link};link=el.find('.field--buttons a');if(link.length===1)return {link};link=el.find('[class*="field--name-field-link-"] a').last();if(link.length)return {link};return {link:null};};self.scrollToAnchor=function(offset){var animatedScrolling=false;var exceptions=null;if(typeof drupalSettings!=='undefined'&&drupalSettings!==null)if(typeof drupalSettings.theme_settings!=='undefined'&&drupalSettings.theme_settings!==null){if(typeof drupalSettings.theme_settings.scroll_to!=='undefined'&&drupalSettings.theme_settings.scroll_to!==null&&drupalSettings.theme_settings.scroll_to)animatedScrolling=true;if(typeof drupalSettings.theme_settings.scroll_to_exceptions!=='undefined'&&drupalSettings.theme_settings.scroll_to_exceptions!==null&&drupalSettings.theme_settings.scroll_to_exceptions.length)exceptions=drupalSettings.theme_settings.scroll_to_exceptions;}if(animatedScrolling){var newOffset,tabs=$('.tabs'),tabsHeight=0,adminHeight=0,header=$('.sticky-top');if($('body').hasClass('toolbar-fixed')){adminHeight=$('#toolbar-bar').outerHeight();if(tabs.length)tabsHeight=tabs.outerHeight();}if(typeof offset=='undefined')offset=0;var calcOffset=function(){if(header.css('position')==='fixed'){offset=header.outerHeight()+offset+adminHeight+tabsHeight;newOffset=header.outerHeight();if(newOffset>offset)offset=newOffset;}else offset=15+offset+adminHeight+tabsHeight;offset=-(offset);return offset;};var urlHash=window.location.hash;if($(urlHash).length){var myAnchorLinks=$('a[href$="'+urlHash+'"]');if(myAnchorLinks.length<1){offset=calcOffset();var scrollParams={el:$(urlHash),offset,speed:1000};self.scrollTo(scrollParams);}once('js-once-scrollable-anchors-active',myAnchorLinks).forEach(function(linkElement){var myLink=$(linkElement);if(exceptions===null||!myLink.is(exceptions)){offset=calcOffset();var scrollParams={el:$(urlHash),offset,speed:1000};
28self.scrollTo(scrollParams);myLink.addClass('js-active-anchor');}});}var anchorLinks=$('a[href*="#"]').not('a[href="#"]');once('js-once-scrollable-anchors',anchorLinks).forEach(function(linkElement){var anchorLink=$(linkElement);if(exceptions===null||!anchorLink.is(exceptions))anchorLink.removeClass('active').removeClass('active-trail');once('js-once-scrollable-anchor-click',anchorLink).forEach(function(linkElement){$(linkElement).click(function(e){if(exceptions===null||!anchorLink.is(exceptions)){var path=this.href,id,hash,target;if(typeof e.target.href!=='undefined')id=e.target.href.split('#')[1];else{if(typeof e.currentTarget.href!=='undefined')id=e.currentTarget.href.split('#')[1];}hash='#'+id;target=$(hash);offset=calcOffset();if(target.length){anchorLink.addClass('js-active-anchor');var scrollParamsForTarget={el:target,offset,speed:1000,callback:function(){document.location.hash=hash;}};self.scrollTo(scrollParamsForTarget);if(window.history&&window.history.pushState)history.pushState("",document.title,hash);}else{var newTarget=$('a[name="'+id+'"]');if(newTarget.length){anchorLink.addClass('js-active-anchor');var scrollParamsForNewTarget={el:newTarget,offset,speed:1000,callback:function(){document.location.hash=hash;}};self.scrollTo(scrollParamsForNewTarget);}}var currentUrl=window.location.href.split(/[?#]/)[0];var pathBase=path.split(/[?#]/)[0];if(currentUrl.replace(/\/$/,"")!==pathBase.replace(/\/$/,""))return true;e.preventDefault();}});});});window.onpopstate=function(event){once('js-once-scrollable-anchors-popstate',anchorLinks).forEach(function(linkElement){var anchorLink=$(linkElement);if(exceptions===null||!anchorLink.is(exceptions)){var path=this.href;var urlHash=window.location.hash;var linkHash=path.substring(path.indexOf("#"));offset=calcOffset();if($(linkHash).length)if(urlHash==linkHash)if(exceptions===null||!anchorLink.is(exceptions)){anchorLink.addClass('js-active-anchor');var scrollParams={el:$(linkHash),offset,speed:1000};self.scrollTo(scrollParams);}}});};}};})(jQuery,Drupal,window,document);(function($,Drupal,window,document){"use strict";Drupal.behaviors.overviewSidebar={attach:function(context,settings){$(once('sidebar-xs-collapse','.paragraph--type-overview')).each(function(){var sidebar=$(this).find('.paragraph__sidebar');if(sidebar.length>0){var currentBreakpoint=window.rocketshipUI.getBreakpoint();if(currentBreakpoint==='bp-xs')sidebar.removeAttr('open');}});}};})(jQuery,Drupal,window,document);;
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.