/*! For license information please see behaviour.min.js.LICENSE.txt */ (()=>{var e={712:(e,t,i)=>{!function(e){"use strict";e(document).ready((function(){e(".entry-content, .article-body").fitVids({customSelector:["iframe[src^='http://www.facebook.com/plugins/video.php']","iframe[src^='http://www.brightcove.com']","iframe[src^='http://bcove.me']","iframe[src^='http://link.brightcove.com']","iframe[src^='http://blip.tv']","iframe[src^='http://d.yimg.com']","iframe[src^='http://www.dailymotion.com']","iframe[src^='https://www.facebook.com/plugins/video.php']","iframe[src^='https://www.brightcove.com']","iframe[src^='https://bcove.me']","iframe[src^='https://link.brightcove.com']","iframe[src^='https://blip.tv']","iframe[src^='https://d.yimg.com']","iframe[src^='https://www.dailymotion.com']"].join(",")}),e(".faq-list").each((function(){var t=e(this);t.children("li").click((function(){t.addClass("running"),e(this).addClass("active").siblings().removeClass("active")}))}));var t,i=e("body");e('input[name="menu-toggle"]').on("change",(function(){clearTimeout(t),"full"===e(this).val()?t=setTimeout((function(){i.addClass("overlayed")}),250):i.removeClass("overlayed")}));var o,n=e("#sub-menu-off"),a=e(window),r=a.width();a.on("resize",window,(function(){clearTimeout(o),o=setTimeout((function(){var e=a.width();(r<768&&e>=768||r>=768&&e<768)&&(r=e,n.prop("checked",!0).trigger("change"))}),200)})),e('.article-body a[rel^="attachment"], .article-body a[rel*=" attachment"]').each((function(){var t=e(this),i=t.children("img.alignleft, img.alignright");i.length&&(i.hasClass("alignleft")?(t.addClass("alignleft"),i.removeClass("alignleft")):(t.addClass("alignright"),i.removeClass("alignright")))}));var s="function"==typeof window.history.replaceState&&(window.history.replaceState({page:1,href:location.href},document.title),!0),l=function(t){e(document).find('a[href="'+window.location.hash+'"]').first().focus(),!s||window.history.state&&1===window.history.state.page?window.location.hash="":window.history.go(-1)};e(document).on("click",".ol-close.iconned",(function(e){l(),e.preventDefault(e)})),e(document).keyup((function(e){27!==e.keyCode||"#navigation"!==window.location.hash&&"#login"!==window.location.hash&&"#search"!==window.location.hash||l()})),e(".report-content table").wrap("
")}))}(i(669))},358:(e,t,i)=>{!function(e){"use strict";e(document).ready((function(){e(".search-form").each((function(){var t,i=e(this),o=i.find(".filters select"),n=function(){var t=e(this).data("name");o.filter('[name="'+t+'"]').val(0).trigger("change")},a=function(){e("input[id=search_query_string]").val(""),console.log("ciao1"),o.val(0).trigger("change"),console.log("ciao")},r=e('
'),s=e('
Clear search
'),l=function(){var t,l,c=(t={},o.each((function(){var i=e(this),o=i.get(0).nodeName.toLowerCase();void 0!==i.attr("name")&&(t[i.attr("name")]={value:i.val()||0,text:"select"===o?i.find(":selected").text():i.text(),name:i.attr("name"),node:o})})),t);if(0!==Object.keys(c).length)for(var d in 0===i.find(r).length&&r.appendTo(i),r.find(".filter-button").off().remove(),c)!c.hasOwnProperty(d)||parseInt(c[d].value,10)<=0||(0===r.find(s).length&&s.data({name:"clear-all"}).on("click",a).appendTo(r),e('
'+(l=c[d].text,l.replace(/\s*\([0-9,]+\)$/,"")+"
")).data({name:c[d].name}).on("click",n).appendTo(r))};function c(t){0===r.find(s).length&&e("input[id=search_query_string]").val().trim()&&s.data({name:"clear-all"}).on("click",a).appendTo(r)}l(),i.on("change",".filters select, input[name=sort_results]",(function(e){l(),clearTimeout(t),e.preventDefault(),i.find(".icon-magnification").first().addClass("search-loading"),t=setTimeout((function(){i.submit()}),500)}));var d=e("input[id=search_query_string]");void 0!==d.val()&&(d.keyup(function(e,t){var i=0;return function(){var o=this,n=arguments;clearTimeout(i),i=setTimeout((function(){e.apply(o,n)}),t||0)}}(c,600)),c())}))}))}(i(669))},366:()=>{let e=0;document.addEventListener("scroll",(()=>{document.body.style.setProperty("--scroll-dir",window.scrollY-e<=0?"up":"down"),document.body.classList.remove(window.scrollY-e<=0?"scroll-down":"scroll-up"),document.body.classList.add(window.scrollY-e<=0?"scroll-up":"scroll-down"),e=window.scrollY}))},635:()=>{const e=document.querySelectorAll(".faq__question");e.forEach((t=>{t.addEventListener("toggle",(()=>{t.open&&e.forEach((e=>{e!==t&&(e.open=!1)}))}))}))},177:(e,t,i)=>{!function(e){"use strict";var t=function(e){var t={};return(e||window.location.search).replace(new RegExp("([^?=&]+)(=([^&]*))?","g"),(function(e,i,o,n){t[i]=n})),t};e.fn.extend({campaingTracking:function(i){var o=e.extend({},{get:[],host:"",time:86400,overwrite:!1},i),n=t(),a={},r=new RegExp("^.*"+o.host+".*","gi");if("function"==typeof Cookies){for(var s in o.get)o.get.hasOwnProperty(s)&&(void 0!==n[o.get[s]]&&Cookies.set(o.get[s],n[o.get[s]],{expires:o.time>0?o.time/86400:0}),Cookies.get(o.get[s])&&(a[o.get[s]]=Cookies.get(o.get[s])));return this.each((function(i,n){var s=e(n),l=s.get(0).search,c=s.get(0).hash,d=s.prop("href").replace(l,"").replace(c,"");return s.is("a")?(d.match(r)&&Object.keys(a).length&&s.on("click",(function(i){var n=a;i.preventDefault(),l.length&&(n=o.overwrite?e.extend(t(l),n):e.extend(n,t(l))),Object.keys(n).length&&(l=e.map(n,(function(e,t){return e&&t?t+"="+e:null})).join("&")),l.length&&!l.match(/^\?/)&&(l="?"+l),window.location=d+l+c})),n):n}))}console.log("js.cookie not loaded.")}})}(i(669))},170:(e,t,i)=>{var o,n;!function(a){if(void 0===(n="function"==typeof(o=a)?o.call(t,i,t,e):o)||(e.exports=n),e.exports=a(),!!0){var r=window.Cookies,s=window.Cookies=a();s.noConflict=function(){return window.Cookies=r,s}}}((function(){function e(){for(var e=0,t={};e1){if("number"==typeof(a=e({path:"/"},o.defaults,a)).expires){var s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*a.expires),a.expires=s}a.expires=a.expires?a.expires.toUTCString():"";try{r=JSON.stringify(n),/^[\{\[]/.test(r)&&(n=r)}catch(e){}n=i.write?i.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=(t=(t=encodeURIComponent(String(t))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var l="";for(var c in a)a[c]&&(l+="; "+c,!0!==a[c]&&(l+="="+a[c]));return document.cookie=t+"="+n+l}t||(r={});for(var d=document.cookie?document.cookie.split("; "):[],h=/(%[0-9A-Z]{2})+/g,u=0;u{!function(e){"use strict";e(document).ready((function(){e(document).on("click",".widget .paging-nav",(function(t){var i=e(this),o=i.parents(".widget").find(".ajax_data"),n=i.parents(".widget").hasClass("ajax-target")?i.parents(".widget"):i.parents(".widget").find(".ajax-target").last(),a=e("#icit-shown-posts").data("shown-posts"),r=o.data("query"),s=o.data("nonce"),l=o.data("start"),c=o.data("end"),d=o.data("layout"),h=o.data("site"),u=o.data("url"),f={_icit_ajax:"What did you hope to find?",action:"next_page",query:r,nonce:s,start:l,end:c,layout:d,site:h,shown:a,known:o.data("known")};i.hasClass("disabled")||(i.addClass("disabled"),e.post(u,f,(function(e,t,a){i.removeClass("disabled"),null!==e&&"object"==typeof e&&void 0!==e.start&&(o.data("start",e.start),o.data("end",e.end),e.html&&n.append(e.html),e.found<=e.end&&i.remove())}),"json"))})),e(".widget .paging-nav").on("keypress",(function(t){13==t.which&&e(this).trigger("click")}))}))}(i(669))},641:()=>{!function(e,t,i){function o(e,t){return typeof e===t}function n(e){return e.replace(/([a-z])-([a-z])/g,(function(e,t,i){return t+i.toUpperCase()})).replace(/^-/,"")}function a(e,t){return!!~(""+e).indexOf(t)}function r(){return"function"!=typeof t.createElement?t.createElement(arguments[0]):x?t.createElementNS.call(t,"http://www.w3.org/2000/svg",arguments[0]):t.createElement.apply(t,arguments)}function s(e,t){return function(){return e.apply(t,arguments)}}function l(e){return e.replace(/([A-Z])/g,(function(e,t){return"-"+t.toLowerCase()})).replace(/^ms-/,"-ms-")}function c(t,i,o){var n;if("getComputedStyle"in e){n=getComputedStyle.call(e,t,i);var a=e.console;if(null!==n)o&&(n=n.getPropertyValue(o));else if(a){a[a.error?"error":"log"].call(a,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}}else n=!i&&t.currentStyle&&t.currentStyle[o];return n}function d(e,i,o,n){var a,s,l,c,d="modernizr",h=r("div"),u=function(){var e=t.body;return e||((e=r(x?"svg":"body")).fake=!0),e}();if(parseInt(o,10))for(;o--;)(l=r("div")).id=n?n[o]:d+(o+1),h.appendChild(l);return(a=r("style")).type="text/css",a.id="s"+d,(u.fake?u:h).appendChild(a),u.appendChild(h),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(t.createTextNode(e)),h.id=d,u.fake&&(u.style.background="",u.style.overflow="hidden",c=y.style.overflow,y.style.overflow="hidden",y.appendChild(u)),s=i(h,e),u.fake?(u.parentNode.removeChild(u),y.style.overflow=c,y.offsetHeight):h.parentNode.removeChild(h),!!s}function h(t,o){var n=t.length;if("CSS"in e&&"supports"in e.CSS){for(;n--;)if(e.CSS.supports(l(t[n]),o))return!0;return!1}if("CSSSupportsRule"in e){for(var a=[];n--;)a.push("("+l(t[n])+":"+o+")");return d("@supports ("+(a=a.join(" or "))+") { #modernizr { position: absolute; } }",(function(e){return"absolute"==c(e,null,"position")}))}return i}function u(e,t,s,l){function c(){u&&(delete _.style,delete _.modElem)}if(l=!o(l,"undefined")&&l,!o(s,"undefined")){var d=h(e,s);if(!o(d,"undefined"))return d}for(var u,f,p,v,g,m=["modernizr","tspan","samp"];!_.style&&m.length;)u=!0,_.modElem=r(m.shift()),_.style=_.modElem.style;for(p=e.length,f=0;p>f;f++)if(v=e[f],g=_.style[v],a(v,"-")&&(v=n(v)),_.style[v]!==i){if(l||o(s,"undefined"))return c(),"pfx"!=t||v;try{_.style[v]=s}catch(e){}if(_.style[v]!=g)return c(),"pfx"!=t||v}return c(),!1}function f(e,t,i,n,a){var r=e.charAt(0).toUpperCase()+e.slice(1),l=(e+" "+C.join(r+" ")+r).split(" ");return o(t,"string")||o(t,"undefined")?u(l,t,n,a):function(e,t,i){var n;for(var a in e)if(e[a]in t)return!1===i?e[a]:o(n=t[e[a]],"function")?s(n,i||t):n;return!1}(l=(e+" "+j.join(r+" ")+r).split(" "),t,i)}function p(e,t,o){return f(e,i,i,t,o)}var v=[],g=[],m={_version:"3.6.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var i=this;setTimeout((function(){t(i[e])}),0)},addTest:function(e,t,i){g.push({name:e,fn:t,options:i})},addAsyncTest:function(e){g.push({name:null,fn:e})}},b=function(){};b.prototype=m,b=new b;var y=t.documentElement,x="svg"===y.nodeName.toLowerCase(),w="Moz O ms Webkit",C=m._config.usePrefixes?w.split(" "):[];m._cssomPrefixes=C;var k=function(t){var o,n=T.length,a=e.CSSRule;if(void 0===a)return i;if(!t)return!1;if((o=(t=t.replace(/^@/,"")).replace(/-/g,"_").toUpperCase()+"_RULE")in a)return"@"+t;for(var r=0;n>r;r++){var s=T[r];if(s.toUpperCase()+"_"+o in a)return"@-"+s.toLowerCase()+"-"+t}return!1};m.atRule=k;var j=m._config.usePrefixes?w.toLowerCase().split(" "):[];m._domPrefixes=j;var S={elem:r("modernizr")};b._q.push((function(){delete S.elem}));var _={style:S.elem.style};b._q.unshift((function(){delete _.style})),m.testAllProps=f,m.testAllProps=p,b.addTest("bgsizecover",p("backgroundSize","cover"));var L=m.prefixed=function(e,t,i){return 0===e.indexOf("@")?k(e):(-1!=e.indexOf("-")&&(e=n(e)),t?f(e,t,i):f(e,"pfx"))};b.addTest("objectfit",!!L("objectFit"),{aliases:["object-fit"]});var T=m._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];m._prefixes=T,b.addTest("csspositionsticky",(function(){var e="position:",t="sticky",i=r("a").style;return i.cssText=e+T.join(t+";"+e).slice(0,-9),-1!==i.position.indexOf(t)})),function(){var e,t,i,n,a,r;for(var s in g)if(g.hasOwnProperty(s)){if(e=[],(t=g[s]).name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(i=0;i{!function(e,t,i){var o="nivoLightbox",n={effect:"fade",theme:"default",keyboardNav:!0,clickImgToClose:!1,clickOverlayToClose:!0,onInit:function(){},beforeShowLightbox:function(){},afterShowLightbox:function(e){},beforeHideLightbox:function(){},afterHideLightbox:function(){},beforePrev:function(e){},onPrev:function(e){},beforeNext:function(e){},onNext:function(e){},errorMessage:"The requested content cannot be loaded. Please try again later."};function a(t,i){this.el=t,this.$el=e(this.el),this.options=e.extend({},n,i),this._defaults=n,this._name=o,this.init()}a.prototype={init:function(){var t=this;e("html").hasClass("nivo-lightbox-notouch")||e("html").addClass("nivo-lightbox-notouch"),"ontouchstart"in i&&e("html").removeClass("nivo-lightbox-notouch"),this.$el.on("click",(function(e){t.showLightbox(e)})),this.options.keyboardNav&&e("body").off("keyup").on("keyup",(function(i){var o=i.keyCode?i.keyCode:i.which;27==o&&t.destructLightbox(),37==o&&e(".nivo-lightbox-prev").trigger("click"),39==o&&e(".nivo-lightbox-next").trigger("click")})),this.options.onInit.call(this)},showLightbox:function(t){var i=this,o=this.$el;if(this.checkContent(o)){t.preventDefault(),this.options.beforeShowLightbox.call(this);var n=this.constructLightbox();if(n){var a=n.find(".nivo-lightbox-content");if(a){if(e("body").addClass("nivo-lightbox-body-effect-"+this.options.effect),this.processContent(a,o),this.$el.attr("data-lightbox-gallery")){var r=e('[data-lightbox-gallery="'+this.$el.attr("data-lightbox-gallery")+'"]');e(".nivo-lightbox-nav").show(),e(".nivo-lightbox-prev").off("click").on("click",(function(t){t.preventDefault();var n=r.index(o);o=r.eq(n-1),e(o).length||(o=r.last()),e.when(i.options.beforePrev.call(this,[o])).done((function(){i.processContent(a,o),i.options.onPrev.call(this,[o])}))})),e(".nivo-lightbox-next").off("click").on("click",(function(t){t.preventDefault();var n=r.index(o);o=r.eq(n+1),e(o).length||(o=r.first()),e.when(i.options.beforeNext.call(this,[o])).done((function(){i.processContent(a,o),i.options.onNext.call(this,[o])}))}))}setTimeout((function(){n.addClass("nivo-lightbox-open"),i.options.afterShowLightbox.call(this,[n])}),1)}}}},checkContent:function(e){var t=e.attr("href"),i=t.match(/(youtube|youtube-nocookie|youtu|vimeo)\.(com|be)\/(watch\?v=([\w-]+)|([\w-]+))/);return null!==t.match(/\.(jpeg|jpg|gif|png)$/i)||(!!i||("ajax"==e.attr("data-lightbox-type")||("#"==t.substring(0,1)&&"inline"==e.attr("data-lightbox-type")||"iframe"==e.attr("data-lightbox-type"))))},processContent:function(i,o){var n=this,a=o.attr("href"),r=a.match(/(youtube|youtube-nocookie|youtu|vimeo)\.(com|be)\/(watch\?v=([\w-]+)|([\w-]+))/);if(i.html("").addClass("nivo-lightbox-loading"),this.isHidpi()&&o.attr("data-lightbox-hidpi")&&(a=o.attr("data-lightbox-hidpi")),null!==a.match(/\.(jpeg|jpg|gif|png)$/i)){var s=e("",{src:a,class:"nivo-lightbox-image-display"});s.one("load",(function(){var o=e('
');o.append(s),i.html(o).removeClass("nivo-lightbox-loading"),o.css({"line-height":e(".nivo-lightbox-content").height()+"px",height:e(".nivo-lightbox-content").height()+"px"}),e(t).resize((function(){o.css({"line-height":e(".nivo-lightbox-content").height()+"px",height:e(".nivo-lightbox-content").height()+"px"})}))})).each((function(){this.complete&&e(this).load()})),s.error((function(){var t=e('

'+n.options.errorMessage+"

");i.html(t).removeClass("nivo-lightbox-loading")}))}else if(r){var l="",c="nivo-lightbox-video";if("youtube"==r[1]&&(l="//www.youtube.com/embed/"+r[4],c="nivo-lightbox-youtube"),"youtube-nocookie"==r[1]&&(l=a,c="nivo-lightbox-youtube"),"youtu"==r[1]&&(l="//www.youtube.com/embed/"+r[3],c="nivo-lightbox-youtube"),"vimeo"==r[1]&&(l="//player.vimeo.com/video/"+r[3],c="nivo-lightbox-vimeo"),l){var d=e("