This repository has been archived by the owner on May 20, 2022. It is now read-only.
/
IWT.min.js
20 lines (20 loc) · 91.8 KB
/
IWT.min.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("jQuery")):"function"==typeof define&&define.amd?define("IWT",["jQuery"],t):"object"==typeof exports?exports.IWT=t(require("jQuery")):e.IWT=t(e.jQuery)}("undefined"!=typeof self?self:this,function(e){return function(e){function t(n){if(i[n])return i[n].exports;var o=i[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n=window.webpackJsonpIWT;window.webpackJsonpIWT=function(t,i,r){for(var a,s,l=0,u=[];l<t.length;l++)s=t[l],o[s]&&u.push(o[s][0]),o[s]=0;for(a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a]);for(n&&n(t,i,r);u.length;)u.shift()()};var i={},o={3:0};return t.e=function(e){function n(){s.onerror=s.onload=null,clearTimeout(l);var t=o[e];0!==t&&(t&&t[1](new Error("Loading chunk "+e+" failed.")),o[e]=void 0)}var i=o[e];if(0===i)return new Promise(function(e){e()});if(i)return i[2];var r=new Promise(function(t,n){i=o[e]=[t,n]});i[2]=r;var a=document.getElementsByTagName("head")[0],s=document.createElement("script");s.type="text/javascript",s.charset="utf-8",s.async=!0,s.timeout=12e4,t.nc&&s.setAttribute("nonce",t.nc),s.src=t.p+""+({}[e]||e)+".chunk.js";var l=setTimeout(n,12e4);return s.onerror=s.onload=n,a.appendChild(s),r},t.m=e,t.c=i,t.d=function(e,n,i){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:i})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t.oe=function(e){throw console.error(e),e},t(t.s=43)}([function(t,n){t.exports=e},function(e,t,n){"use strict";var i,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"==typeof window?"undefined":o(window))&&(i=window)}e.exports=i},function(e,t,n){"use strict";(function(n){function i(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}function o(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},pe))}}function r(e){var t={};return e&&"[object Function]"===t.toString.call(e)}function a(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView,i=n.getComputedStyle(e,null);return t?i[t]:i}function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function l(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=a(e),n=t.overflow,i=t.overflowX;return/(auto|scroll|overlay)/.test(n+t.overflowY+i)?e:l(s(e))}function u(e){return 11===e?ge:10===e?be:ge||be}function c(e){if(!e)return document.documentElement;for(var t=u(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===a(n,"position")?c(n):n:e?e.ownerDocument.documentElement:document.documentElement}function d(e){var t=e.nodeName;return"BODY"!==t&&("HTML"===t||c(e.firstElementChild)===e)}function f(e){return null!==e.parentNode?f(e.parentNode):e}function p(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?e:t,o=n?t:e,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var a=r.commonAncestorContainer;if(e!==a&&t!==a||i.contains(o))return d(a)?a:c(a);var s=f(e);return s.host?p(s.host,t):p(e,f(t).host)}function h(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",i=e.nodeName;if("BODY"===i||"HTML"===i){var o=e.ownerDocument.documentElement;return(e.ownerDocument.scrollingElement||o)[n]}return e[n]}function m(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=h(t,"top"),o=h(t,"left"),r=n?-1:1;return e.top+=i*r,e.bottom+=i*r,e.left+=o*r,e.right+=o*r,e}function v(e,t){var n="x"===t?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"],10)+parseFloat(e["border"+i+"Width"],10)}function g(e,t,n,i){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],u(10)?parseInt(n["offset"+e])+parseInt(i["margin"+("Height"===e?"Top":"Left")])+parseInt(i["margin"+("Height"===e?"Bottom":"Right")]):0)}function b(e){var t=e.body,n=e.documentElement,i=u(10)&&getComputedStyle(n);return{height:g("Height",t,n,i),width:g("Width",t,n,i)}}function y(e){return Ce({},e,{right:e.left+e.width,bottom:e.top+e.height})}function w(e){var t={};try{if(u(10)){t=e.getBoundingClientRect();var n=h(e,"top"),i=h(e,"left");t.top+=n,t.left+=i,t.bottom+=n,t.right+=i}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},r="HTML"===e.nodeName?b(e.ownerDocument):{},s=r.width||e.clientWidth||o.right-o.left,l=r.height||e.clientHeight||o.bottom-o.top,c=e.offsetWidth-s,d=e.offsetHeight-l;if(c||d){var f=a(e);c-=v(f,"x"),d-=v(f,"y"),o.width-=c,o.height-=d}return y(o)}function x(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=u(10),o="HTML"===t.nodeName,r=w(e),s=w(t),c=l(e),d=a(t),f=parseFloat(d.borderTopWidth,10),p=parseFloat(d.borderLeftWidth,10);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var h=y({top:r.top-s.top-f,left:r.left-s.left-p,width:r.width,height:r.height});if(h.marginTop=0,h.marginLeft=0,!i&&o){var v=parseFloat(d.marginTop,10),g=parseFloat(d.marginLeft,10);h.top-=f-v,h.bottom-=f-v,h.left-=p-g,h.right-=p-g,h.marginTop=v,h.marginLeft=g}return(i&&!n?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(h=m(h,t)),h}function C(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,i=x(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:h(n),s=t?0:h(n,"left");return y({top:a-i.top+i.marginTop,left:s-i.left+i.marginLeft,width:o,height:r})}function E(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===a(e,"position"))return!0;var n=s(e);return!!n&&E(n)}function T(e){if(!e||!e.parentElement||u())return document.documentElement;for(var t=e.parentElement;t&&"none"===a(t,"transform");)t=t.parentElement;return t||document.documentElement}function k(e,t,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},a=o?T(e):p(e,t);if("viewport"===i)r=C(a,o);else{var u=void 0;"scrollParent"===i?(u=l(s(t)),"BODY"===u.nodeName&&(u=e.ownerDocument.documentElement)):u="window"===i?e.ownerDocument.documentElement:i;var c=x(u,a,o);if("HTML"!==u.nodeName||E(a))r=c;else{var d=b(e.ownerDocument),f=d.height,h=d.width;r.top+=c.top-c.marginTop,r.bottom=f+c.top,r.left+=c.left-c.marginLeft,r.right=h+c.left}}n=n||0;var m="number"==typeof n;return r.left+=m?n:n.left||0,r.top+=m?n:n.top||0,r.right-=m?n:n.right||0,r.bottom-=m?n:n.bottom||0,r}function A(e){return e.width*e.height}function M(e,t,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=k(n,i,r,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map(function(e){return Ce({key:e},s[e],{area:A(s[e])})}).sort(function(e,t){return t.area-e.area}),u=l.filter(function(e){var t=e.width,i=e.height;return t>=n.clientWidth&&i>=n.clientHeight}),c=u.length>0?u[0].key:l[0].key,d=e.split("-")[1];return c+(d?"-"+d:"")}function _(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return x(n,i?T(t):p(t,n),i)}function S(e){var t=e.ownerDocument.defaultView,n=t.getComputedStyle(e),i=parseFloat(n.marginTop||0)+parseFloat(n.marginBottom||0),o=parseFloat(n.marginLeft||0)+parseFloat(n.marginRight||0);return{width:e.offsetWidth+o,height:e.offsetHeight+i}}function j(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function O(e,t,n){n=n.split("-")[0];var i=S(e),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),a=r?"top":"left",s=r?"left":"top",l=r?"height":"width",u=r?"width":"height";return o[a]=t[a]+t[l]/2-i[l]/2,o[s]=n===s?t[s]-i[u]:t[j(s)],o}function L(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function I(e,t,n){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===n});var i=L(e,function(e){return e[t]===n});return e.indexOf(i)}function P(e,t,n){return(void 0===n?e:e.slice(0,I(e,"name",n))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&r(n)&&(t.offsets.popper=y(t.offsets.popper),t.offsets.reference=y(t.offsets.reference),t=n(t,e))}),t}function D(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=_(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=M(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=O(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=P(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function F(e,t){return e.some(function(e){var n=e.name;return e.enabled&&n===t})}function N(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),i=0;i<t.length;i++){var o=t[i],r=o?""+o+n:e;if(void 0!==document.body.style[r])return r}return null}function H(){return this.state.isDestroyed=!0,F(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[N("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function $(e){var t=e.ownerDocument;return t?t.defaultView:window}function B(e,t,n,i){var o="BODY"===e.nodeName,r=o?e.ownerDocument.defaultView:e;r.addEventListener(t,n,{passive:!0}),o||B(l(r.parentNode),t,n,i),i.push(r)}function q(e,t,n,i){n.updateBound=i,$(e).addEventListener("resize",n.updateBound,{passive:!0});var o=l(e);return B(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function R(){this.state.eventsEnabled||(this.state=q(this.reference,this.options,this.state,this.scheduleUpdate))}function K(e,t){return $(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function W(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=K(this.reference,this.state))}function U(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function Y(e,t){Object.keys(t).forEach(function(n){var i="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&U(t[n])&&(i="px"),e.style[n]=t[n]+i})}function G(e,t){Object.keys(t).forEach(function(n){!1!==t[n]?e.setAttribute(n,t[n]):e.removeAttribute(n)})}function z(e){return Y(e.instance.popper,e.styles),G(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&Y(e.arrowElement,e.arrowStyles),e}function Q(e,t,n,i,o){var r=_(o,t,e,n.positionFixed),a=M(n.placement,r,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),Y(t,{position:n.positionFixed?"fixed":"absolute"}),n}function V(e,t){var n=e.offsets,i=n.popper,o=n.reference,r=Math.round,a=Math.floor,s=function(e){return e},l=r(o.width),u=r(i.width),c=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),f=l%2==u%2,p=l%2==1&&u%2==1,h=t?c||d||f?r:a:s,m=t?r:s;return{left:h(p&&!d&&t?i.left-1:i.left),top:m(i.top),bottom:m(i.bottom),right:h(i.right)}}function J(e,t){var n=t.x,i=t.y,o=e.offsets.popper,r=L(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration;void 0!==r&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==r?r:t.gpuAcceleration,s=c(e.instance.popper),l=w(s),u={position:o.position},d=V(e,window.devicePixelRatio<2||!Ee),f="bottom"===n?"top":"bottom",p="right"===i?"left":"right",h=N("transform"),m=void 0,v=void 0;if(v="bottom"===f?"HTML"===s.nodeName?-s.clientHeight+d.bottom:-l.height+d.bottom:d.top,m="right"===p?"HTML"===s.nodeName?-s.clientWidth+d.right:-l.width+d.right:d.left,a&&h)u[h]="translate3d("+m+"px, "+v+"px, 0)",u[f]=0,u[p]=0,u.willChange="transform";else{var g="bottom"===f?-1:1,b="right"===p?-1:1;u[f]=v*g,u[p]=m*b,u.willChange=f+", "+p}var y={"x-placement":e.placement};return e.attributes=Ce({},y,e.attributes),e.styles=Ce({},u,e.styles),e.arrowStyles=Ce({},e.offsets.arrow,e.arrowStyles),e}function X(e,t,n){var i=L(e,function(e){return e.name===t}),o=!!i&&e.some(function(e){return e.name===n&&e.enabled&&e.order<i.order});if(!o){var r="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+r+" modifier in order to work, be sure to include it before "+r+"!")}return o}function Z(e,t){var n;if(!X(e.instance.modifiers,"arrow","keepTogether"))return e;var i=t.element;if("string"==typeof i){if(!(i=e.instance.popper.querySelector(i)))return e}else if(!e.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],r=e.offsets,s=r.popper,l=r.reference,u=-1!==["left","right"].indexOf(o),c=u?"height":"width",d=u?"Top":"Left",f=d.toLowerCase(),p=u?"left":"top",h=u?"bottom":"right",m=S(i)[c];l[h]-m<s[f]&&(e.offsets.popper[f]-=s[f]-(l[h]-m)),l[f]+m>s[h]&&(e.offsets.popper[f]+=l[f]+m-s[h]),e.offsets.popper=y(e.offsets.popper);var v=l[f]+l[c]/2-m/2,g=a(e.instance.popper),b=parseFloat(g["margin"+d],10),w=parseFloat(g["border"+d+"Width"],10),x=v-e.offsets.popper[f]-b-w;return x=Math.max(Math.min(s[c]-m,x),0),e.arrowElement=i,e.offsets.arrow=(n={},xe(n,f,Math.round(x)),xe(n,p,""),n),e}function ee(e){return"end"===e?"start":"start"===e?"end":e}function te(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=ke.indexOf(e),i=ke.slice(n+1).concat(ke.slice(0,n));return t?i.reverse():i}function ne(e,t){if(F(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=k(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),i=e.placement.split("-")[0],o=j(i),r=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case Ae.FLIP:a=[i,o];break;case Ae.CLOCKWISE:a=te(i);break;case Ae.COUNTERCLOCKWISE:a=te(i,!0);break;default:a=t.behavior}return a.forEach(function(s,l){if(i!==s||a.length===l+1)return e;i=e.placement.split("-")[0],o=j(i);var u=e.offsets.popper,c=e.offsets.reference,d=Math.floor,f="left"===i&&d(u.right)>d(c.left)||"right"===i&&d(u.left)<d(c.right)||"top"===i&&d(u.bottom)>d(c.top)||"bottom"===i&&d(u.top)<d(c.bottom),p=d(u.left)<d(n.left),h=d(u.right)>d(n.right),m=d(u.top)<d(n.top),v=d(u.bottom)>d(n.bottom),g="left"===i&&p||"right"===i&&h||"top"===i&&m||"bottom"===i&&v,b=-1!==["top","bottom"].indexOf(i),y=!!t.flipVariations&&(b&&"start"===r&&p||b&&"end"===r&&h||!b&&"start"===r&&m||!b&&"end"===r&&v);(f||g||y)&&(e.flipped=!0,(f||g)&&(i=a[l+1]),y&&(r=ee(r)),e.placement=i+(r?"-"+r:""),e.offsets.popper=Ce({},e.offsets.popper,O(e.instance.popper,e.offsets.reference,e.placement)),e=P(e.instance.modifiers,e,"flip"))}),e}function ie(e){var t=e.offsets,n=t.popper,i=t.reference,o=e.placement.split("-")[0],r=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return n[s]<r(i[l])&&(e.offsets.popper[l]=r(i[l])-n[u]),n[l]>r(i[s])&&(e.offsets.popper[l]=r(i[s])),e}function oe(e,t,n,i){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],a=o[2];if(!r)return e;if(0===a.indexOf("%")){var s=void 0;switch(a){case"%p":s=n;break;case"%":case"%r":default:s=i}return y(s)[t]/100*r}if("vh"===a||"vw"===a){return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r}return r}function re(e,t,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),a=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=a.indexOf(L(a,function(e){return-1!==e.search(/,|\s/)}));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return u=u.map(function(e,i){var o=(1===i?!r:r)?"height":"width",a=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)},[]).map(function(e){return oe(e,o,t,n)})}),u.forEach(function(e,t){e.forEach(function(n,i){U(n)&&(o[t]+=n*("-"===e[i-1]?-1:1))})}),o}function ae(e,t){var n=t.offset,i=e.placement,o=e.offsets,r=o.popper,a=o.reference,s=i.split("-")[0],l=void 0;return l=U(+n)?[+n,0]:re(n,r,a,s),"left"===s?(r.top+=l[0],r.left-=l[1]):"right"===s?(r.top+=l[0],r.left+=l[1]):"top"===s?(r.left+=l[0],r.top-=l[1]):"bottom"===s&&(r.left+=l[0],r.top+=l[1]),e.popper=r,e}function se(e,t){var n=t.boundariesElement||c(e.instance.popper);e.instance.reference===n&&(n=c(n));var i=N("transform"),o=e.instance.popper.style,r=o.top,a=o.left,s=o[i];o.top="",o.left="",o[i]="";var l=k(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=r,o.left=a,o[i]=s,t.boundaries=l;var u=t.priority,d=e.offsets.popper,f={primary:function(e){var n=d[e];return d[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(d[e],l[e])),xe({},e,n)},secondary:function(e){var n="right"===e?"left":"top",i=d[n];return d[e]>l[e]&&!t.escapeWithReference&&(i=Math.min(d[n],l[e]-("right"===e?d.width:d.height))),xe({},n,i)}};return u.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";d=Ce({},d,f[t](e))}),e.offsets.popper=d,e}function le(e){var t=e.placement,n=t.split("-")[0],i=t.split("-")[1];if(i){var o=e.offsets,r=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",u=s?"width":"height",c={start:xe({},l,r[l]),end:xe({},l,r[l]+r[u]-a[u])};e.offsets.popper=Ce({},a,c[i])}return e}function ue(e){if(!X(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=L(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}function ce(e){var t=e.placement,n=t.split("-")[0],i=e.offsets,o=i.popper,r=i.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=r[n]-(s?o[a?"width":"height"]:0),e.placement=j(t),e.offsets.popper=y(o),e}Object.defineProperty(t,"__esModule",{value:!0});for(var de="undefined"!=typeof window&&"undefined"!=typeof document,fe=["Edge","Trident","Firefox"],pe=0,he=0;he<fe.length;he+=1)if(de&&navigator.userAgent.indexOf(fe[he])>=0){pe=1;break}var me=de&&window.Promise,ve=me?i:o,ge=de&&!(!window.MSInputMethodContext||!document.documentMode),be=de&&/MSIE 10/.test(navigator.userAgent),ye=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},we=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),xe=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},Ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Ee=de&&/Firefox/i.test(navigator.userAgent),Te=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],ke=Te.slice(3),Ae={FLIP:"flip",CLOCKWISE:"clockwise",COUNTERCLOCKWISE:"counterclockwise"},Me={shift:{order:100,enabled:!0,fn:le},offset:{order:200,enabled:!0,fn:ae,offset:0},preventOverflow:{order:300,enabled:!0,fn:se,priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:ie},arrow:{order:500,enabled:!0,fn:Z,element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:ne,behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:ce},hide:{order:800,enabled:!0,fn:ue},computeStyle:{order:850,enabled:!0,fn:J,gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:z,onLoad:Q,gpuAcceleration:void 0}},_e={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:Me},Se=function(){function e(t,n){var i=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ye(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=ve(this.update.bind(this)),this.options=Ce({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(Ce({},e.Defaults.modifiers,o.modifiers)).forEach(function(t){i.options.modifiers[t]=Ce({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return Ce({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&r(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)}),this.update();var a=this.options.eventsEnabled;a&&this.enableEventListeners(),this.state.eventsEnabled=a}return we(e,[{key:"update",value:function(){return D.call(this)}},{key:"destroy",value:function(){return H.call(this)}},{key:"enableEventListeners",value:function(){return R.call(this)}},{key:"disableEventListeners",value:function(){return W.call(this)}}]),e}();Se.Utils=("undefined"!=typeof window?window:n).PopperUtils,Se.placements=Te,Se.Defaults=_e,t.default=Se,e.exports=t.default}).call(t,n(1))},function(e,t,n){"use strict";e.exports=function(e,t,n,i){function o(){function o(){a=Number(new Date),n.apply(l,c)}function s(){r=void 0}var l=this,u=Number(new Date)-a,c=arguments;i&&!r&&o(),r&&clearTimeout(r),void 0===i&&u>e?o():!0!==t&&(r=setTimeout(i?s:o,void 0===i?e-u:e))}var r,a=0;return"boolean"!=typeof t&&(i=n,n=t,t=void 0),o}},function(e,t,n){function i(e){return n(o(e))}function o(e){var t=r[e];if(!(t+1))throw new Error("Cannot find module '"+e+"'.");return t}var r={"./components/accordion/index.js":5,"./components/carousel/index.js":7,"./components/cookiebar/index.js":8,"./components/datepicker/index.js":11,"./components/dialog/index.js":12,"./components/dropdown/index.js":14,"./components/form/index.js":16,"./components/masonry/index.js":17,"./components/megamenu/index.js":19,"./components/offcanvas/index.js":21,"./components/random/index.js":23,"./components/scrolltop/index.js":24,"./components/skiplinks/index.js":25,"./components/table/index.js":27,"./components/treeview/index.js":28,"./modules/header/index.js":29,"./scripts/index.js":31};i.keys=function(){return Object.keys(r)},i.resolve=o,e.exports=i,i.id=4},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(6),o=function(e){return e&&e.__esModule?e:{default:e}}(i),r=(0,o.default)({headerIdPrefix:"accordion-header",panelIdPrefix:"accordion-panel",firstPanelsOpenByDefault:!1,multiselectable:!0,readyClass:"fr-accordion--is-ready"});t.default={accordion:r,Fraccordion:o.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e){var t=N(w,e),n=N(T,e);e.setAttribute("role","tablist"),e.setAttribute("aria-multiselectable",j),t.forEach(function(e){e.setAttribute("role","tab"),e.setAttribute("aria-controls",e.id.replace(C,A)),e.setAttribute("tabindex",0)}),n.forEach(function(e){e.setAttribute("role","tabpanel"),e.setAttribute("aria-labelledby",e.id.replace(A,C)),e.setAttribute("tabindex",0)})}function t(e){var t=N(w,e),n=N(T,e);e.removeAttribute("role"),e.removeAttribute("aria-multiselectable"),t.forEach(function(e){e.removeAttribute("role"),e.removeAttribute("aria-controls"),e.removeAttribute("aria-selected"),e.removeAttribute("aria-expanded"),e.removeAttribute("tabindex")}),n.forEach(function(e){e.removeAttribute("role"),e.removeAttribute("aria-labelledby"),e.removeAttribute("aria-hidden"),e.removeAttribute("tabindex")})}function n(e){e.style.height="auto";var t=e.offsetHeight;return e.style.height="",t}function i(e){var t=n(e);e.getBoundingClientRect(),e.style.height=t+"px",setTimeout(function(){e.style.transition="none",e.style.height="auto",e.getBoundingClientRect(),e.style.transition=""},P)}function o(e){var t=n(e);e.style.height=t+"px",e.getBoundingClientRect(),e.style.height=0}function r(e){var t=N(w,e),n=N(T,e);t.forEach(function(e){e.setAttribute("tabindex",-1),e.setAttribute("aria-selected","false"),e.setAttribute("aria-expanded","false")}),n.forEach(function(e){"false"===e.getAttribute("aria-hidden")&&o(e),e.setAttribute("aria-hidden","true")})}function a(e){var t=D.getElementById(e.getAttribute("aria-controls"));e.setAttribute("aria-selected","false"),e.setAttribute("aria-expanded","false"),o(t),t.setAttribute("aria-hidden","true")}function s(e){var t=D.getElementById(e.getAttribute("aria-controls"));e.setAttribute("tabindex",0),e.setAttribute("aria-selected","true"),e.setAttribute("aria-expanded","true"),i(t),t.setAttribute("aria-hidden","false"),setTimeout(function(){return f(e.parentNode)},P)}function l(e){var t=e.parentNode;if("true"===e.getAttribute("aria-selected"))return void a(e);j||r(t),s(e),P>0&&p(t)}function u(e,t){e.forEach(function(e){e.setAttribute("tabindex",-1)}),e[t].setAttribute("tabindex",0),e[t].focus()}function c(e){l(e.currentTarget)}function d(e){var t=e.currentTarget,n=e.metaKey||e.altKey,i=t.parentNode,o=N(w,i),r=[].indexOf.call(o,t);if(!n)switch(e.keyCode){case 13:case 32:l(t),e.preventDefault();break;case 37:case 38:u(o,0===r?o.length-1:r-1),e.preventDefault();break;case 39:case 40:u(o,r<o.length-1?r+1:0),e.preventDefault()}}function f(e){N(w,e).forEach(function(e){e.addEventListener("click",c),e.addEventListener("keydown",d)})}function p(e){N(w,e).forEach(function(e){e.removeEventListener("click",c),e.removeEventListener("keydown",d)})}function h(){H.forEach(function(e){t(e),p(e),e.classList.remove(L)})}function m(){H.length&&H.forEach(function(t){e(t),f(t),r(t),_?l(t.querySelector(w)):t.querySelector(w).setAttribute("tabindex",0),t.classList.add(L)})}var v=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},g=v.selector,b=void 0===g?".js-fr-accordion":g,y=v.headerSelector,w=void 0===y?".js-fr-accordion__header":y,x=v.headerIdPrefix,C=void 0===x?"accordion-header":x,E=v.panelSelector,T=void 0===E?".js-fr-accordion__panel":E,k=v.panelIdPrefix,A=void 0===k?"accordion-panel":k,M=v.firstPanelsOpenByDefault,_=void 0===M||M,S=v.multiselectable,j=void 0===S||S,O=v.readyClass,L=void 0===O?"fr-accordion--is-ready":O,I=v.transitionLength,P=void 0===I?250:I,D=document,F=D.documentElement,N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:D;return[].slice.call(t.querySelectorAll(e))};if("querySelector"in D&&"addEventListener"in window&&F.classList){var H=N(b);return m(),{init:m,destroy:h}}};t.default=i,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(i),r={owlPrev:".owl-prev",owlNext:".owl-next",owlItem:".owl-item",jsSelector:".owl-carousel",owlOpts:{nav:!1,items:3,dots:!1,loop:!1,margin:16,mouseDrag:!0,URLhashListener:!0,startPosition:"URLHash",responsive:{0:{items:1},768:{items:2},992:{items:3}}}},a=function(e){var t=(0,o.default)(e);n.e(0).then(function(){var e=[n(37),n(38),n(39)];(function(){t.on("changed.owl.carousel refreshed.owl.carousel",function(e){if(e.namespace){var t=e.relatedTarget,n=e.target,i=t.current();(0,o.default)(r.owlNext+"[aria-controls='"+n.id+"']").toggleClass("u-visibilityHidden",i===t.maximum()).click(function(){return t.trigger("next.owl.carousel")}),(0,o.default)(r.owlPrev+"[aria-controls='"+n.id+"']").toggleClass("u-visibilityHidden",i===t.minimum())}}),t.on("initialized.owl.carousel",function(e){if(e.namespace){var t=e.target;(0,o.default)(r.owlNext+"[aria-controls='"+t.id+"']").click(function(){return(0,o.default)("#"+t.id).trigger("next.owl.carousel")}),(0,o.default)(r.owlPrev+"[aria-controls='"+t.id+"']").click(function(){return(0,o.default)("#"+t.id).trigger("prev.owl.carousel")})}});var e=o.default.extend({},r.owlOpts||{},t.data("carouselOptions"));t.owlCarousel(e)}).apply(null,e)}).catch(n.oe)},s=function(){var e=(0,o.default)(r.jsSelector);e.length<=0||e.each(function(e,t){a(t)})};(0,o.default)(document).ready(s),t.default={opts:r,init:s},e.exports=t.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=i(o),a=n(9),s=(i(a),n(10)),l=(i(s),{acceptButton:".js-cookieBarAccept",secure:!1,path:"/",domain:""});(0,r.default)(document).ready(function(){(0,r.default)(".js-CookieBar").cookieBar(l)}),t.default={opts:l},e.exports=t.default},function(e,t,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol.iterator;/*!
* jQuery Cookie Plugin v1.4.1
* https://github.com/carhartl/jquery-cookie
*
* Copyright 2013 Klaus Hartl
* Released under the MIT license
*/
!function(a){o=[n(0)],i=a,void 0!==(r="function"==typeof i?i.apply(t,o):i)&&(e.exports=r)}(function(e){function t(e){return s.raw?e:encodeURIComponent(e)}function n(e){return s.raw?e:decodeURIComponent(e)}function i(e){return t(s.json?JSON.stringify(e):String(e))}function o(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(a," ")),s.json?JSON.parse(e):e}catch(e){}}function r(t,n){var i=s.raw?t:o(t);return e.isFunction(n)?n(i):i}var a=/\+/g,s=e.cookie=function(o,a,l){if(void 0!==a&&!e.isFunction(a)){if(l=e.extend({},s.defaults,l),"number"==typeof l.expires){var u=l.expires,c=l.expires=new Date;c.setTime(+c+864e5*u)}return document.cookie=[t(o),"=",i(a),l.expires?"; expires="+l.expires.toUTCString():"",l.path?"; path="+l.path:"",l.domain?"; domain="+l.domain:"",l.secure?"; secure":""].join("")}for(var d=o?void 0:{},f=document.cookie?document.cookie.split("; "):[],p=0,h=f.length;p<h;p++){var m=f[p].split("="),v=n(m.shift()),g=m.join("=");if(o&&o===v){d=r(g,a);break}o||void 0===(g=r(g))||(d[v]=g)}return d};s.defaults={},e.removeCookie=function(t,n){return void 0!==e.cookie(t)&&(e.cookie(t,"",e.extend({},n,{expires:-1})),!e.cookie(t))}})},function(e,t,n){"use strict";var i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(i);o.default.fn.cookieBar=function(e){var t=o.default.extend({acceptButton:".js-cookieBarAccept",secure:!1,path:"/",domain:"",threshold:500},e),n=function(e){e.attr("aria-hidden","true").attr("aria-live","off").hide()},i=function(e){e.attr("aria-hidden","false").attr("aria-live","polite").show()},r=function(e){o.default.cookie("cookiebar","hide",{path:t.path,secure:t.secure,domain:t.domain,expires:30}),(0,o.default)(document).trigger("accept.cookiebar",[e])};return(0,o.default)(document).on("accept.cookiebar",function(e,t){n(t)}),o.default.cookieBar=o.default.cookieBar||{},o.default.cookieBar.isAccepted=function(){return"hide"===o.default.cookie("cookiebar")},this.each(function(){var e=(0,o.default)(this);o.default.cookieBar.isAccepted()||(t.threshold>0&&(0,o.default)(window).on("scroll.cookiebar",function(){(0,o.default)(window).scrollTop()>t.threshold&&((0,o.default)(window).unbind("scroll.cookiebar"),r(e))}),i(e)),e.find(t.acceptButton).click(function(){return r(e),!1})})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(i),r=function(e){return n.e(1).then(function(){var t=[n(36),n(40)];e.apply(null,t)}.bind(this)).catch(n.oe)},a=(0,o.default)(".js-Datepicker");a.length>0&&r(function(e,t){a.each(function(e,n){(0,o.default)(n).attr("type","text"),new t({field:(0,o.default)(n)[0],trigger:(0,o.default)("[aria-controls='"+n.id+"']")[0],format:"DD/MM/YYYY",i18n:{previousMonth:"Mese precedente",nextMonth:"Mese successivo",months:["Gennaio","Febbraio","Marzo","Aprile","Maggio","Giugno","Luglio","Agosto","Settembre","Ottobre","Novembre","Dicembre"],weekdays:["Domenica","Lunedì","Martedì","Mercoledì","Giovedì","Venerdì","Sabato"],weekdaysShort:["Dom","Lun","Mar","Mer","Gio","Ven","Sab"]}})})}),t.default={datepickerInit:r},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(13),o=function(e){return e&&e.__esModule?e:{default:e}}(i),r=(0,o.default)({selector:".js-fr-dialogmodal",modalSelector:".js-fr-dialogmodal-modal",openSelector:".js-fr-dialogmodal-open",closeSelector:".js-fr-dialogmodal-close",isAlert:!1,readyClass:"fr-dialogmodal--is-ready",activeClass:"fr-dialogmodal--is-active"});t.default={dialog:r,Frdialogmodal:o.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e){"function"==typeof e&&setTimeout(e,0)}function t(e){var t=N(T,e)[0],n=j?"alertdialog":"dialog";e.setAttribute("aria-hidden",!0),t.setAttribute("role",n)}function n(e){var t=N(T,e)[0];e.removeAttribute("aria-hidden"),t.removeAttribute("role")}function i(t,n){t.setAttribute("aria-hidden",!1),n.setAttribute("tabindex",-1),R=N($.join(),n),R.length?R[0].focus():n.focus(),e(p),e(d),j||e(f),n.scrollTop=0,t.classList.add(P)}function o(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e.parentElement;n.setAttribute("aria-hidden",!0),e.removeAttribute("tabindex"),g(),m(),j||v(),n.classList.remove(P),t&&(B.focus(),B=null)}function r(e){var t=R.indexOf(D.activeElement);!e.shiftKey||0!==t&&-1!==t?e.shiftKey||t!==R.length-1||(R[0].focus(),e.preventDefault()):(R[R.length-1].focus(),e.preventDefault())}function a(e){var t=e.currentTarget,n=D.getElementById(t.getAttribute("aria-controls")),o=N(T,n)[0];B=t,q=o,i(n,o)}function s(){o(q)}function l(e){var t=q.parentElement;e.target===t&&o(q)}function u(e){27===e.keyCode&&o(q),9===e.keyCode&&r(e)}function c(e){var t=e.getAttribute("id");N(A+'[aria-controls="'+t+'"]').forEach(function(e){return e.addEventListener("click",a)})}function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:q;N(_,e)[0].addEventListener("click",s)}function f(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:q).parentElement.addEventListener("click",l)}function p(){D.addEventListener("keydown",u)}function h(e){var t=e.getAttribute("id");D.querySelectorAll(A+'[aria-controls="'+t+'"]').forEach(function(e){return e.removeEventListener("click",a)})}function m(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:q;N(_,e)[0].removeEventListener("click",s)}function v(){q.parentElement.removeEventListener("click",l)}function g(){D.removeEventListener("keydown",u)}function b(){H.forEach(function(e){var t=N(T,e)[0];t.removeAttribute("tabindex"),n(e),h(e),m(t),v(t),e.classList.remove(L,P)}),g()}function y(){H.length&&H.forEach(function(e){t(e),c(e),e.classList.add(L)})}var w=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},x=w.selector,C=void 0===x?".js-fr-dialogmodal":x,E=w.modalSelector,T=void 0===E?".js-fr-dialogmodal-modal":E,k=w.openSelector,A=void 0===k?".js-fr-dialogmodal-open":k,M=w.closeSelector,_=void 0===M?".js-fr-dialogmodal-close":M,S=w.isAlert,j=void 0!==S&&S,O=w.readyClass,L=void 0===O?"fr-dialogmodal--is-ready":O,I=w.activeClass,P=void 0===I?"fr-dialogmodal--is-active":I,D=document,F=D.documentElement,N=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:D;return[].slice.call(t.querySelectorAll(e))};if("querySelector"in D&&"addEventListener"in window&&F.classList){var H=N(C),$=["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","iframe","object","embed","[contenteditable]",'[tabindex]:not([tabindex^="-"])'],B=null,q=null,R=null;return y(),{init:y,destroy:b}}};t.default=i,e.exports=t.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=i(o),a=n(2),s=i(a),l=n(15);r.default.fn.menu=function(){return this.each(function(){new l.Menu(this).init()})},r.default.fn["menu-trigger"]=function(){return this.each(function(){new l.Menutrigger(this).init()})},(0,r.default)(document).bind("enhance",function(e){(0,r.default)("[data-menu]",e.target).menu(),(0,r.default)("[data-menu-trigger]",e.target)["menu-trigger"]()}),(0,r.default)("[data-menu-trigger]").not("[data-menu-inline]").each(function(e,t){var n=(0,r.default)("#"+(0,r.default)(t).attr("data-menu-trigger"));t&&n.length>0&&new s.default(t,n,{placement:"bottom",modifiers:{arrow:{element:".Dropdown-arrow"},flip:{behavior:["left","right"],boundariesElement:"scrollParent"}}})}),t.default={Menu:l.Menu,Menutrigger:l.Menutrigger},e.exports=t.default},function(e,t,n){"use strict";function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),r=n(0),a=function(e){return e&&e.__esModule?e:{default:e}}(r),s={ariaHidden:"aria-hidden"},l=function(){function e(t){if(i(this,e),!t)throw new Error("Element required to initialize object");this.element=t,this.$element=(0,a.default)(t),this.opened=!0,this.componentName="Menu",this.keycodes={38:function(e){this.moveSelected("prev"),e.preventDefault()},40:function(e){this.moveSelected("next"),e.preventDefault()},37:function(e){this.moveSelected("prev"),e.preventDefault()},39:function(e){this.moveSelected("next"),e.preventDefault()},13:function(){return this.selectActive()},9:function(e){this.moveSelected(e.shiftKey?"prev":"next"),e.preventDefault()},27:function(){this.close()}}}return o(e,[{key:"moveSelected",value:function(e,t){var n,i=this.$element.find("li"),o=i.filter(".is-selected");if(o.length&&"start"!==e?"next"===e?(n=o.next(),n.length||(n=i.eq(0))):(n=o.prev(),n.length||(n=i.eq(i.length-1))):n=i.eq(0),o.removeClass("is-selected"),n.addClass("is-selected"),t||(0,a.default)(window.document.activeElement).closest(o).length)if(n.is("a,input,[tabindex]"))n[0].focus();else{var r=n.find("a,input,[tabindex]");r.length&&r[0].focus()}}},{key:"getSelectedElement",value:function(){return this.$element.find("li.is-selected")}},{key:"selectActive",value:function(){var e=this.$element.data(this.componentName+"-trigger"),t=this.getSelectedElement();return e&&(0,a.default)(e).is("input")&&(e.value=t.text()),t.trigger(this.componentName+":select"),this.close(),t.text()}},{key:"keyDown",value:function(e){return(this.keycodes[e.keyCode]||function(){}).call(this,e)}},{key:"_bindKeyHandling",value:function(){var e=this;this.$element.bind("keydown",function(t){e.keyDown(t)}).bind("mouseover",function(t){e.$element.find(".is-selected").removeClass("is-selected"),(0,a.default)(t.target).closest("li").addClass("is-selected")}).bind("mouseleave",function(e){(0,a.default)(e.target).closest("li").removeClass("is-selected")}).bind("click",function(){e.selectActive()})}},{key:"open",value:function(e,t){this.opened||(this.$element.attr(s.ariaHidden,!1),this.$element.data(this.componentName+"-trigger",e),this.opened=!0,this.moveSelected("start",t),this.$element.trigger(this.componentName+":open"))}},{key:"close",value:function(){if(this.opened){this.$element.attr(s.ariaHidden,!0),this.opened=!1;var e=this.$element.data(this.componentName+"-trigger");e&&e.focus(),this.$element.trigger(this.componentName+":close")}}},{key:"toggle",value:function(e,t){this[this.opened?"close":"open"](e,t)}},{key:"init",value:function(){if(!this.$element.data(this.componentName)){this.$element.data(this.componentName,this),this.$element.attr("role","menu").find("li").attr("role","menuitem"),this.close();var e=this;(0,a.default)(document).bind("mouseup",function(){e.close()}),this._bindKeyHandling(),this.$element.trigger(this.componentName+":init")}}}]),e}(),u=function(){function e(t){if(i(this,e),!t)throw new Error("Element required to initialize object");this.element=t,this.$element=(0,a.default)(t),this.$menu=(0,a.default)("#"+this.$element.attr("data-menu-trigger")),this.menu=this.$menu.data("Menu"),this.componentName="Menutrigger"}return o(e,[{key:"_bindbehavior",value:function(){var e=this;this.$element.is("a")?this.$element.attr("role","button").bind("click",function(t){t.preventDefault(),e.menu.toggle(this,!0)}):this.$element.is("button")?this.$element.bind("click",function(t){t.preventDefault(),e.menu.toggle(this,!0)}):this.$element.is("input")&&this.$element.bind("input keyup",function(){""===this.value?e.menu.close():e.menu.open(this,!1)}).bind("input keydown",function(t){e.menu.keyDown(t)}).bind("focus click",function(){""!==this.value&&e.menu.open()}).bind("blur",function(){e.menu.close()})}},{key:"init",value:function(){this.$element.data(this.componentName)||(this.$element.data(this.componentName,this),this.$element.attr("aria-controls",this.$menu.attr("id")),this.$element.attr("aria-haspopup","true"),this._bindbehavior(),this.$element.trigger(this.componentName+":init"))}}]),e}();t.default={Menu:l,Menutrigger:u},e.exports=t.default},function(e,t,n){"use strict";var i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(i);(0,o.default)(document).ready(function(){(0,o.default)(":radio, :checkbox").on("change",function(){(0,o.default)(this).is(":radio")&&(0,o.default)(this).closest(".Form-field").find(".Form-label.is-checked").removeClass("is-checked"),(0,o.default)(this).is(":checked")?(0,o.default)(this).closest(".Form-label").addClass("is-checked"):(0,o.default)(this).closest(".Form-label").removeClass("is-checked")})})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(i),r=null;(0,o.default)(function(){if((0,o.default)(".js-Masonry-container").length>0)try{r=n(18)}catch(e){}}),t.default={Masonry:r},e.exports=t.default},function(e,t,n){"use strict";var i,o,r;"function"==typeof Symbol&&Symbol.iterator;/*!
* Salvattore 1.0.9 by @rnmp and @ppold
* https://github.com/rnmp/salvattore
*/
!function(n,a){o=[],i=a,void 0!==(r="function"==typeof i?i.apply(t,o):i)&&(e.exports=r)}(0,function(){/*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas, David Knight. Dual MIT/BSD license */
/*! matchMedia() polyfill addListener/removeListener extension. Author & copyright (c) 2012: Scott Jehl. Dual MIT/BSD license */
return window.matchMedia||(window.matchMedia=function(){var e=window.styleMedia||window.media;if(!e){var t=document.createElement("style"),n=document.getElementsByTagName("script")[0],i=null;t.type="text/css",t.id="matchmediajs-test",n.parentNode.insertBefore(t,n),i="getComputedStyle"in window&&window.getComputedStyle(t,null)||t.currentStyle,e={matchMedium:function(e){var n="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return t.styleSheet?t.styleSheet.cssText=n:t.textContent=n,"1px"===i.width}}}return function(t){return{matches:e.matchMedium(t||"all"),media:t||"all"}}}()),function(){if(window.matchMedia&&window.matchMedia("all").addListener)return!1;var e=window.matchMedia,t=e("only all").matches,n=!1,i=0,o=[],r=function(t){clearTimeout(i),i=setTimeout(function(){for(var t=0,n=o.length;t<n;t++){var i=o[t].mql,r=o[t].listeners||[],a=e(i.media).matches;if(a!==i.matches){i.matches=a;for(var s=0,l=r.length;s<l;s++)r[s].call(window,i)}}},30)};window.matchMedia=function(i){var a=e(i),s=[],l=0;return a.addListener=function(e){t&&(n||(n=!0,window.addEventListener("resize",r,!0)),0===l&&(l=o.push({mql:a,listeners:s})),s.push(e))},a.removeListener=function(e){for(var t=0,n=s.length;t<n;t++)s[t]===e&&s.splice(t,1)},a}}(),function(){for(var e=0,t=["ms","moz","webkit","o"],n=0;n<t.length&&!window.requestAnimationFrame;++n)window.requestAnimationFrame=window[t[n]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t[n]+"CancelAnimationFrame"]||window[t[n]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t,n){var i=(new Date).getTime(),o=Math.max(0,16-(i-e)),r=window.setTimeout(function(){t(i+o)},o);return e=i+o,r}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})}(),"function"!=typeof window.CustomEvent&&function(){function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}e.prototype=window.Event.prototype,window.CustomEvent=e}(),function(e,t,n){var i={},o=[],r=[],a=[],s=function(e,t,n){e.dataset?e.dataset[t]=n:e.setAttribute("data-"+t,n)};return i.obtainGridSettings=function(t){var n=e.getComputedStyle(t,":before"),i=n.getPropertyValue("content").slice(1,-1),o=i.match(/^\s*(\d+)(?:\s?\.(.+))?\s*$/),r=1,a=[];return o?(r=o[1],a=o[2],a=a?a.split("."):["column"]):(o=i.match(/^\s*\.(.+)\s+(\d+)\s*$/))&&(a=o[1],(r=o[2])&&(r=r.split("."))),{numberOfColumns:r,columnClasses:a}},i.addColumns=function(e,n){for(var o,r=i.obtainGridSettings(e),a=r.numberOfColumns,l=r.columnClasses,u=new Array(+a),c=t.createDocumentFragment(),d=a;0!=d--;)o="[data-columns] > *:nth-child("+a+"n-"+d+")",u.push(n.querySelectorAll(o));u.forEach(function(e){var n=t.createElement("div"),i=t.createDocumentFragment();n.className=l.join(" "),Array.prototype.forEach.call(e,function(e){i.appendChild(e)}),n.appendChild(i),c.appendChild(n)}),e.appendChild(c),s(e,"columns",a)},i.removeColumns=function(n){var i=t.createRange();i.selectNodeContents(n);var o=Array.prototype.filter.call(i.extractContents().childNodes,function(t){return t instanceof e.HTMLElement}),r=o.length,a=o[0].childNodes.length,l=new Array(a*r);Array.prototype.forEach.call(o,function(e,t){Array.prototype.forEach.call(e.children,function(e,n){l[n*r+t]=e})});var u=t.createElement("div");return s(u,"columns",0),l.filter(function(e){return!!e}).forEach(function(e){u.appendChild(e)}),u},i.recreateColumns=function(t){e.requestAnimationFrame(function(){i.addColumns(t,i.removeColumns(t));var e=new CustomEvent("columnsChange");t.dispatchEvent(e)})},i.mediaQueryChange=function(e){e.matches&&Array.prototype.forEach.call(o,i.recreateColumns)},i.getCSSRules=function(e){var t;try{t=e.sheet.cssRules||e.sheet.rules}catch(e){return[]}return t||[]},i.getStylesheets=function(){var e=Array.prototype.slice.call(t.querySelectorAll("style"));return e.forEach(function(t,n){"text/css"!==t.type&&""!==t.type&&e.splice(n,1)}),Array.prototype.concat.call(e,Array.prototype.slice.call(t.querySelectorAll("link[rel='stylesheet']")))},i.mediaRuleHasColumnsSelector=function(e){var t,n;try{t=e.length}catch(e){t=0}for(;t--;)if(n=e[t],n.selectorText&&n.selectorText.match(/\[data-columns\](.*)::?before$/))return!0;return!1},i.scanMediaQueries=function(){var t=[];if(e.matchMedia){i.getStylesheets().forEach(function(e){Array.prototype.forEach.call(i.getCSSRules(e),function(e){try{e.media&&e.cssRules&&i.mediaRuleHasColumnsSelector(e.cssRules)&&t.push(e)}catch(e){}})});var n=r.filter(function(e){return-1===t.indexOf(e)});a.filter(function(e){return-1!==n.indexOf(e.rule)}).forEach(function(e){e.mql.removeListener(i.mediaQueryChange)}),a=a.filter(function(e){return-1===n.indexOf(e.rule)}),t.filter(function(e){return-1==r.indexOf(e)}).forEach(function(t){var n=e.matchMedia(t.media.mediaText);n.addListener(i.mediaQueryChange),a.push({rule:t,mql:n})}),r.length=0,r=t}},i.rescanMediaQueries=function(){i.scanMediaQueries(),Array.prototype.forEach.call(o,i.recreateColumns)},i.nextElementColumnIndex=function(e,t){var n,i,o,r=e.children,a=r.length,s=0,l=0;for(o=0;o<a;o++)n=r[o],i=n.children.length+(t[o].children||t[o].childNodes).length,0===s&&(s=i),i<s&&(l=o,s=i);return l},i.createFragmentsList=function(e){for(var n=new Array(e),i=0;i!==e;)n[i]=t.createDocumentFragment(),i++;return n},i.appendElements=function(e,t){var n=e.children,o=n.length,r=i.createFragmentsList(o);Array.prototype.forEach.call(t,function(t){var n=i.nextElementColumnIndex(e,r);r[n].appendChild(t)}),Array.prototype.forEach.call(n,function(e,t){e.appendChild(r[t])})},i.prependElements=function(e,n){var o=e.children,r=o.length,a=i.createFragmentsList(r),s=r-1;n.forEach(function(e){var t=a[s];t.insertBefore(e,t.firstChild),0===s?s=r-1:s--}),Array.prototype.forEach.call(o,function(e,t){e.insertBefore(a[t],e.firstChild)});for(var l=t.createDocumentFragment(),u=n.length%r;0!=u--;)l.appendChild(e.lastChild);e.insertBefore(l,e.firstChild)},i.registerGrid=function(n){if("none"!==e.getComputedStyle(n).display){var r=t.createRange();r.selectNodeContents(n);var a=t.createElement("div");a.appendChild(r.extractContents()),s(a,"columns",0),i.addColumns(n,a),o.push(n)}},i.init=function(){var e=t.createElement("style");e.innerHTML="[data-columns]::before{display:block;visibility:hidden;position:absolute;font-size:1px;}",t.head.appendChild(e);var n=t.querySelectorAll("[data-columns]");Array.prototype.forEach.call(n,i.registerGrid),i.scanMediaQueries()},i.init(),{appendElements:i.appendElements,prependElements:i.prependElements,registerGrid:i.registerGrid,recreateColumns:i.recreateColumns,rescanMediaQueries:i.rescanMediaQueries,init:i.init,append_elements:i.appendElements,prepend_elements:i.prependElements,register_grid:i.registerGrid,recreate_columns:i.recreateColumns,rescan_media_queries:i.rescanMediaQueries}}(window,window.document)})},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=i(o),a=n(2),s=i(a),l=n(20),u=i(l);(0,r.default)(".js-megamenu").addClass("is-ready");var c={addCloseButton:!1,closeButtonClass:"js-Megamenu-close",closeButtonTemplate:'<button title="chiudi il menu" class="Megamenu-close js-Megamenu-close">\n <span class="Icon Icon-close"></span><span class="u-hiddenVisually">chiudi</span></button>',openOnClick:!0,uuidPrefix:"megamenu",menuClass:"Megamenu",menuListClass:"Megamenu-list",topNavItemClass:"Megamenu-item",panelClass:"Megamenu-subnav",panelGroupClass:"Megamenu-subnavGroup",hoverClass:"is-hover",focusClass:"is-focus",openClass:"is-open"},d=function(e,t){var n="class aria-expanded aria-hidden role tabindex";return e.clone().removeAttr(n).addClass(t.menuListClass).find("*").removeAttr(n).end().find("> li").each(function(e,n){(0,r.default)(n).addClass(function(){var e=(0,r.default)(this).data("megamenu-class");return e||t.topNavItemClass}).find("[data-megamenu-class]").addClass(function(){return(0,r.default)(this).data("megamenu-class")}).end().find("a").end().find("> ul > li").unwrap().wrap('<ul class="'+t.panelGroupClass+'" />').end().find("> ul").wrapAll('<div class="'+t.panelClass+'" />')}).end()};(0,r.default)(document).ready(function(){(0,r.default)(".js-megamenu").each(function(e,t){var n=(0,r.default)(t),i=(0,r.default)(t).data("rel");if(0===n.find("ul").length&&i&&(0,r.default)(i).length>0){var o=d((0,r.default)(i),c);n.append(o),"fixed"===(0,r.default)("header").css("position")&&(0,r.default)("body").css({paddingTop:"+="+n.height()+"px"})}n.find("."+c.panelClass).append('<span class="Icon-drop-down Dropdown-arrow u-color-white"></span>'),n.accessibleMegaMenu(c),c.addCloseButton&&(0,r.default)(c.closeButtonTemplate).appendTo((0,r.default)("."+c.panelClass)),(0,r.default)("."+c.closeButtonClass).on("click",function(){var e=r.default.Event("keydown");return e.which=27,(0,r.default)("."+c.menuClass).trigger(e),!1})}),(0,r.default)("."+c.topNavItemClass+" > a").each(function(e,t){var n=(0,r.default)(t),i=n.closest(".js-megamenu").attr("data-placement"),o=(0,r.default)(t).parent().find("."+c.panelClass).not(t);t&&o.length>0&&(new s.default(t,o,{placement:i||"bottom",modifiers:{arrow:{element:".Dropdown-arrow"},flip:{enabled:!1},preventOverflow:{padding:8,priority:["right","left"],boundariesElement:"scrollParent"}}}),n.click(function(e){e.preventDefault()}))})}),t.default={opts:c,listToMegaMenu:d,Megamenu:u.default},e.exports=t.default},function(e,t,n){"use strict";!function(e,t,n){function i(t,n){this.element=t,this.settings=e.extend({},s,n),this._defaults=s,this._name=a,this.mouseTimeoutID=null,this.focusTimeoutID=null,this.mouseFocused=!1,this.justFocused=!1,this.init()}function o(t){return e.expr.filters.visible(t)&&!e(t).parents().addBack().filter(function(){return"hidden"===e.css(this,"visibility")}).length}function r(t,n){var i,r,a,s=t.nodeName.toLowerCase();return"area"===s?(i=t.parentNode,r=i.name,!(!t.href||!r||"map"!==i.nodeName.toLowerCase())&&(!!(a=e("img[usemap=#"+r+"]")[0])&&o(a))):(/input|select|textarea|button|object/.test(s)?!t.disabled:"a"===s?t.href||n:n)&&o(t)}var a="accessibleMegaMenu",s={openOnClick:!1,uuidPrefix:"accessible-megamenu",menuClass:"accessible-megamenu",topNavItemClass:"accessible-megamenu-top-nav-item",panelClass:"accessible-megamenu-panel",panelGroupClass:"accessible-megamenu-panel-group",hoverClass:"hover",focusClass:"focus",openClass:"open"},l={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38,keyMap:{48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:"",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",190:"."}};i.prototype=function(){var o,r,s,u,c,d,f,p,h,m,v,g,b,y=0,w="",x="function"==typeof t.hasOwnProperty&&!!t.hasOwnProperty("ontouchstart");return o=function(t){return e(t).closest(":data(plugin_"+a+")").data("plugin_"+a)},r=function(t){t=e(t);var n=this.settings;t.attr("id")||t.attr("id",n.uuidPrefix+"-"+(new Date).getTime()+"-"+ ++y)},s=function(t,i){var o,r=e(t.target),a=this,s=this.settings,u=this.menu,c=r.closest("."+s.topNavItemClass),d=r.hasClass(s.panelClass)?r:r.closest("."+s.panelClass);if(b.call(this,!0),i)if(c=u.find("."+s.topNavItemClass+" ."+s.openClass+":first").closest("."+s.topNavItemClass),c.is(t.relatedTarget)||c.has(t.relatedTarget).length>0)0===c.length&&u.find("[aria-expanded=true]").attr("aria-expanded","false").removeClass(s.openClass).filter("."+s.panelClass).attr("aria-hidden","true");else{if(("mouseout"===t.type||"focusout"===t.type)&&c.has(n.activeElement).length>0)return;c.find("[aria-expanded]").attr("aria-expanded","false").removeClass(s.openClass).filter("."+s.panelClass).attr("aria-hidden","true"),("keydown"===t.type&&t.keyCode===l.ESCAPE||"DOMAttrModified"===t.type)&&(o=c.find(":tabbable:first"),setTimeout(function(){u.find("[aria-expanded]."+a.settings.panelClass).off("DOMAttrModified.accessible-megamenu"),o.focus(),a.justFocused=!1},99))}else clearTimeout(a.focusTimeoutID),c.siblings().find("[aria-expanded]").attr("aria-expanded","false").removeClass(s.openClass).filter("."+s.panelClass).attr("aria-hidden","true"),c.find("[aria-expanded]").attr("aria-expanded","true").addClass(s.openClass).filter("."+s.panelClass).attr("aria-hidden","false"),"mouseover"===t.type&&r.is(":tabbable")&&1===c.length&&0===d.length&&u.has(n.activeElement).length>0&&(r.focus(),a.justFocused=!1),b.call(a)},u=function(t){var n=e(t.currentTarget),i=n.closest("."+this.settings.topNavItemClass),o=n.closest("."+this.settings.panelClass);1===i.length&&0===o.length&&1===i.find("."+this.settings.panelClass).length&&(n.hasClass(this.settings.openClass)?this.justFocused?(t.preventDefault(),t.stopPropagation(),this.justFocused=!1):(x||this.mouseFocused)&&(t.preventDefault(),t.stopPropagation(),s.call(this,t,n.hasClass(this.settings.openClass))):(t.preventDefault(),t.stopPropagation(),s.call(this,t),this.justFocused=!1))},c=function(t){0===e(t.target).closest(this.menu).length&&(t.preventDefault(),t.stopPropagation(),s.call(this,t,!0))},d=function(t){"aria-expanded"===t.originalEvent.attrName&&"false"===t.originalEvent.newValue&&e(t.target).hasClass(this.settings.openClass)&&(t.preventDefault(),t.stopPropagation(),s.call(this,t,!0))},f=function(t){clearTimeout(this.focusTimeoutID);var n=e(t.target),i=n.closest("."+this.settings.panelClass);n.addClass(this.settings.focusClass).on("click.accessible-megamenu",e.proxy(u,this)),this.justFocused=!this.mouseFocused,this.mouseFocused=!1,this.panels.not(i).filter("."+this.settings.openClass).length&&s.call(this,t)},p=function(n){this.justFocused=!1;var i=this,o=e(n.target),r=o.closest("."+this.settings.topNavItemClass);o.off("click.accessible-megamenu"),t.cvox?i.focusTimeoutID=setTimeout(function(){t.cvox.Api.getCurrentNode(function(e){r.has(e).length?clearTimeout(i.focusTimeoutID):i.focusTimeoutID=setTimeout(function(e,t,n){s.call(e,t,n)},275,i,n,!0)})},25):i.focusTimeoutID=setTimeout(function(){s.call(i,n,!0)},300)},h=function(n){var r,a,c,d,f,p,h=this.constructor===i?this:o(this),m=h.settings,v=e(e(this).is("."+m.hoverClass+":tabbable")?this:n.target),g=h.menu,b=h.topnavitems,y=v.closest("."+m.topNavItemClass),x=g.find(":tabbable"),C=v.hasClass(m.panelClass)?v:v.closest("."+m.panelClass),E=C.find("."+m.panelGroupClass),T=v.closest("."+m.panelGroupClass),k=n.keyCode||n.which,A=!1,M=l.keyMap[n.keyCode]||"",_=1===y.length&&0===C.length;if(!v.is("input:focus, select:focus, textarea:focus, button:focus")){switch(v.is("."+m.hoverClass+":tabbable")&&e("html").off("keydown.accessible-megamenu"),k){case l.ESCAPE:s.call(h,n,!0);break;case l.DOWN:n.preventDefault(),_?(s.call(h,n),A=1===y.find("."+m.panelClass+" :tabbable:first").focus().length):A=1===x.filter(":gt("+x.index(v)+"):first").focus().length,!A&&t.opera&&"[object Opera]"===opera.toString()&&(n.ctrlKey||n.metaKey)&&(x=e(":tabbable"),c=x.index(v),A=1===e(":tabbable:gt("+e(":tabbable").index(v)+"):first").focus().length);break;case l.UP:n.preventDefault(),_&&v.hasClass(m.openClass)?(s.call(h,n,!0),r=b.filter(":lt("+b.index(y)+"):last"),r.children("."+m.panelClass).length&&(A=1===r.children().attr("aria-expanded","true").addClass(m.openClass).filter("."+m.panelClass).attr("aria-hidden","false").find(":tabbable:last").focus())):_||(A=1===x.filter(":lt("+x.index(v)+"):last").focus().length),!A&&t.opera&&"[object Opera]"===opera.toString()&&(n.ctrlKey||n.metaKey)&&(x=e(":tabbable"),c=x.index(v),A=1===e(":tabbable:lt("+e(":tabbable").index(v)+"):first").focus().length);break;case l.RIGHT:n.preventDefault(),_?A=1===b.filter(":gt("+b.index(y)+"):first").find(":tabbable:first").focus().length:(E.length&&T.length&&(A=1===E.filter(":gt("+E.index(T)+"):first").find(":tabbable:first").focus().length),A||(A=1===y.find(":tabbable:first").focus().length));break;case l.LEFT:n.preventDefault(),_?A=1===b.filter(":lt("+b.index(y)+"):last").find(":tabbable:first").focus().length:(E.length&&T.length&&(A=1===E.filter(":lt("+E.index(T)+"):last").find(":tabbable:first").focus().length),A||(A=1===y.find(":tabbable:first").focus().length));break;case l.TAB:c=x.index(v),n.shiftKey&&_&&v.hasClass(m.openClass)?(s.call(h,n,!0),r=b.filter(":lt("+b.index(y)+"):last"),r.children("."+m.panelClass).length&&(A=r.children().attr("aria-expanded","true").addClass(m.openClass).filter("."+m.panelClass).attr("aria-hidden","false").find(":tabbable:last").focus())):n.shiftKey&&c>0?A=1===x.filter(":lt("+c+"):last").focus().length:!n.shiftKey&&c<x.length-1?A=1===x.filter(":gt("+c+"):first").focus().length:t.opera&&"[object Opera]"===opera.toString()&&(x=e(":tabbable"),c=x.index(v),A=n.shiftKey?1===e(":tabbable:lt("+e(":tabbable").index(v)+"):last").focus().length:1===e(":tabbable:gt("+e(":tabbable").index(v)+"):first").focus().length),A&&n.preventDefault();break;case l.SPACE:if(!_)return;n.preventDefault(),u.call(h,n);break;case l.ENTER:return;default:if(clearTimeout(this.keydownTimeoutID),w+=M!==w?M:"",0===w.length)return;for(this.keydownTimeoutID=setTimeout(function(){w=""},1e3),x=_&&!v.hasClass(m.openClass)?x.filter(":not(."+m.panelClass+" :tabbable)"):y.find(":tabbable"),n.shiftKey&&(x=e(x.get().reverse())),c=0;c<x.length;c++)if(d=x.eq(c),d.is(v)){a=1===w.length?c+1:c;break}for(p=new RegExp("^"+w.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),"i"),c=a;c<x.length;c++)if(d=x.eq(c),f=e.trim(d.text()),p.test(f)){A=!0,d.focus();break}if(!A)for(c=0;c<a;c++)if(d=x.eq(c),f=e.trim(d.text()),p.test(f)){d.focus();break}}h.justFocused=!1}},m=function(t){(e(t.target).is(this.settings.panelClass)||e(t.target).closest(":focusable").length)&&(this.mouseFocused=!0),this.mouseTimeoutID=setTimeout(function(){clearTimeout(this.focusTimeoutID)},1)},v=function(t){clearTimeout(this.mouseTimeoutID),e(t.target).addClass(this.settings.hoverClass),s.call(this,t),e(t.target).is(":tabbable")&&e("html").on("keydown.accessible-megamenu",e.proxy(h,t.target))},g=function(t){var n=this;e(t.target).removeClass(n.settings.hoverClass),n.mouseTimeoutID=setTimeout(function(){s.call(n,t,!0)},250),e(t.target).is(":tabbable")&&e("html").off("keydown.accessible-megamenu")},b=function(t){var n=this.menu;t?(e("html").off("mouseup.outside-accessible-megamenu, touchend.outside-accessible-megamenu, mspointerup.outside-accessible-megamenu, pointerup.outside-accessible-megamenu"),n.find("[aria-expanded]."+this.settings.panelClass).off("DOMAttrModified.accessible-megamenu")):(e("html").on("mouseup.outside-accessible-megamenu, touchend.outside-accessible-megamenu, mspointerup.outside-accessible-megamenu, pointerup.outside-accessible-megamenu",e.proxy(c,this)),n.find("[aria-expanded=true]."+this.settings.panelClass).on("DOMAttrModified.accessible-megamenu",e.proxy(d,this)))},{constructor:i,init:function(){var t=this.settings,n=e(this.element),i=n.children().first(),o=this.settings.topNavItems?i.children(this.settings.topNavItems):i.children();this.start(t,n,i,o)},start:function(t,i,o,a){var s=this;this.settings=t,this.menu=o,this.topnavitems=a,i.attr("role","navigation"),o.addClass(t.menuClass),a.each(function(n,i){var o,a;i=e(i),o=i.find(":tabbable:first"),a=i.children(":not(:tabbable):last"),r.call(s,o),a.length&&(r.call(s,a),o.attr({"aria-haspopup":!0,"aria-controls":a.attr("id"),"aria-expanded":!1}),a.attr({role:"group","aria-expanded":!1,"aria-hidden":!0}).addClass(t.panelClass).not("[aria-labelledby]").attr("aria-labelledby",o.attr("id")))}),this.panels=o.find("."+t.panelClass),o.on("focusin.accessible-megamenu",":focusable, ."+t.panelClass,e.proxy(f,this)).on("focusout.accessible-megamenu",":focusable, ."+t.panelClass,e.proxy(p,this)).on("keydown.accessible-megamenu",e.proxy(h,this)).on("mousedown.accessible-megamenu",e.proxy(m,this)),t.openOnClick?o.on("click.accessible-megamenu",e.proxy(v,this)):o.on("mouseover.accessible-megamenu",e.proxy(v,this)).on("mouseout.accessible-megamenu",e.proxy(g,this)),x&&o.on("touchstart.accessible-megamenu",e.proxy(u,this)),o.find("hr").attr("role","separator"),e(n.activeElement).closest(o).length&&e(n.activeElement).trigger("focusin.accessible-megamenu")},getDefaults:function(){return this._defaults},getOption:function(e){return this.settings[e]},getAllOptions:function(){return this.settings},setOption:function(e,t,n){this.settings[e]=t,n&&this.init()}}}(),e.fn[a]=function(t){return this.each(function(){e.data(this,"plugin_"+a)||e.data(this,"plugin_"+a,new e.fn[a].AccessibleMegaMenu(this,t))})},e.fn[a].AccessibleMegaMenu=i,e.extend(e.expr[":"],{data:e.expr.createPseudo?e.expr.createPseudo(function(t){return function(n){return!!e.data(n,t)}}):function(t,n,i){return!!e.data(t,i[3])},focusable:function(t){return r(t,!isNaN(e.attr(t,"tabindex")))},tabbable:function(t){var n=e.attr(t,"tabindex"),i=isNaN(n);return(i||n>=0)&&r(t,!i)}})}(jQuery,window,document)},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=i(o),a=n(22),s=i(a),l={panelSelector:".Offcanvas",contentSelector:".Offcanvas-content",modalSelector:".Offcanvas--modal",jsSelector:".js-fr-offcanvas-open",openSelector:".js-fr-offcanvas-open",closeSelector:".js-fr-offcanvas-close",readyClass:"is-ready",activeClass:"is-active"},u=function(){(0,r.default)(l.contentSelector).on("transitionend",function(){if((0,r.default)(l.panelSelector).hasClass(l.activeClass)){var e=(0,r.default)(window).scrollTop();(0,r.default)(window).on("scroll.offcanvas",function(){return(0,r.default)(window).scrollTop(e)}),(0,r.default)(document).on("touchmove.offcanvas",function(){return(0,r.default)(window).scrollTop(e)})}else(0,r.default)(window).off("scroll.offcanvas"),(0,r.default)(document).off("touchmove.offcanvas")})},c=function e(t){t&&(0,r.default)(l.panelSelector).hasClass(l.activeClass)&&!(0,r.default)(t.target).is(l.contentSelector)&&(0,r.default)(t.target).find(l.closeSelector).get(0).click(),(0,r.default)(l.modalSelector).one("click",e)},d={Froffcanvas:s.default,opts:l};(0,r.default)(document).ready(function(){var e=(0,r.default)(window).scrollTop();(0,r.default)(l.openSelector).add((0,r.default)(l.closeSelector)).click(function(t){e=(0,r.default)(window).scrollTop(),t.preventDefault()}),(0,r.default)(l.panelSelector).on("focus",function(){(0,r.default)(window).scrollTop(e)}),c(),u(),d.offcanvas=(0,s.default)(l)}),t.default=d,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Element.prototype.matches=Element.prototype.matches||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector;var i=function(){function e(e){"function"==typeof e&&setTimeout(e,0)}function t(e,t){for(;e&&!e.matches(t);)e=e.parentElement;return e}function n(e){return e.getAttribute("id")}function i(e){e.setAttribute("aria-hidden",!0)}function o(e){e.removeAttribute("aria-hidden")}function r(t){t.style.visibility="visible",t.setAttribute("aria-hidden",!1),t.setAttribute("tabindex",-1),t.focus(),e(v),e(m),e(h),e(p),t.scrollTop=0,t.classList.add(O)}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:N,t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];e.setAttribute("aria-hidden",!0),e.removeAttribute("tabindex"),e.blur(),e.style.visibility="hidden",g(e),y(),b(),f(e),e.classList.remove(O),t&&(F.focus(),F=null)}function s(){D.forEach(function(e){o(e),v(e),g(e),e.classList.remove(S),e.classList.remove(O),e.style.visibility=""}),b(),y(),F=null,N=null}function l(e){var t=e.currentTarget.getAttribute("aria-controls"),n=L.getElementById(t);N&&a(N,!1),F=e.currentTarget,N=n,r(n)}function u(){a()}function c(e){var n=e.target===N,i=t(e.target,E);n||i||a()}function d(e){27===e.keyCode&&a()}function f(e){P(k+'[aria-controls="'+n(e)+'"]').forEach(function(e){return e.addEventListener("click",l)})}function p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:N;P(M,e)[0].addEventListener("click",u)}function h(){L.addEventListener("click",c)}function m(){L.addEventListener("keydown",d)}function v(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:N;P(k+'[aria-controls="'+n(e)+'"]').forEach(function(e){return e.removeEventListener("click",l)})}function g(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:N;P(M,e)[0].removeEventListener("click",u)}function b(){L.removeEventListener("click",c)}function y(){L.removeEventListener("keydown",d)}function w(){D&&D.forEach(function(e){i(e),f(e),e.classList.add(S)})}var x=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},C=x.selector,E=void 0===C?".js-fr-offcanvas":C,T=x.openSelector,k=void 0===T?".js-fr-offcanvas-open":T,A=x.closeSelector,M=void 0===A?".js-fr-offcanvas-close":A,_=x.readyClass,S=void 0===_?"fr-offcanvas--is-ready":_,j=x.activeClass,O=void 0===j?"fr-offcanvas--is-active":j,L=document,I=L.documentElement,P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:L;return[].slice.call(t.querySelectorAll(e))};if("querySelector"in L&&"addEventListener"in window&&I.classList){var D=P(E),F=null,N=null;return w(),{init:w,destroy:s}}};t.default=i,e.exports=t.default},function(e,t,n){"use strict";var i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(i);(0,o.default)(function(){function e(e){for(var t,n,i=e.length;i;t=parseInt(Math.random()*i),n=e[--i],e[i]=e[t],e[t]=n);return e}(0,o.default)(".js-randomize").each(function(t,n){var i=(0,o.default)(n);i.html(e(i.children().not(".js-randomize-exclude").get()))})})},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=i(o),a=n(3),s=i(a),l=function(){(0,r.default)(window).scrollTop()>100?(0,r.default)(".js-scrollTop").show():(0,r.default)(".js-scrollTop").hide()};(0,r.default)(window).scroll((0,s.default)(500,l)),(0,r.default)(document).ready(l),t.default={threshold:100},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(26),o=function(e){return e&&e.__esModule?e:{default:e}}(i),r=(0,o.default)({selector:".js-fr-bypasslinks"});t.default={bypassLinks:r,Frbypasslinks:o.default},e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e){var t=e.getAttribute("href").slice(1),n=p.getElementById(t);n&&n.setAttribute("tabindex",-1)}function t(e){var t=e.getAttribute("href").slice(1),n=p.getElementById(t);n&&n.removeAttribute("tabindex")}function n(){h("a",m).forEach(function(t){s(t),e(t)}),v&&l(v)}function i(e){var t=e.target.getAttribute("href").slice(1),n=p.getElementById(t);n&&(n.setAttribute("tabindex",-1),n.focus(),v=n,a(n))}function o(e){e.target.removeAttribute("tabindex"),v=null,l(e.target)}function r(e){e.addEventListener("click",i)}function a(e){e.addEventListener("blur",o)}function s(e){e.removeEventListener("click",i)}function l(e){e.removeEventListener("blur",o)}function u(){m&&h("a",m).forEach(function(e){r(e),t(e)})}var c=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},d=c.selector,f=void 0===d?".js-fr-bypasslinks":d,p=document,h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:p;return[].slice.call(t.querySelectorAll(e))};if("querySelector"in p&&"addEventListener"in window){var m=h(f)[0],v=null;return u(),{init:u,destroy:n}}};t.default=i,e.exports=t.default},function(e,t,n){"use strict";var i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(i),r={responsiveTableSelector:".js-TableResponsive"};(0,o.default)(document).ready(function(){(0,o.default)(r.responsiveTableSelector).length>0&&n.e(2).then(function(){var e=[n(41),n(42)];(function(){(0,o.default)(document).trigger("enhance.tablesaw")}).apply(null,e)}).catch(n.oe)})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(i),r=function(){function e(e){e.$parents.each(function(){"false"==(0,o.default)(this).attr("aria-expanded")&&(0,o.default)(this).children("ul").attr("aria-hidden","true")}),e.$visibleItems=e.$el.find("li:visible")}function t(e,t){var n=t.children("ul");n.slideDown(L,function(){n.attr("aria-hidden","false"),t.attr("aria-expanded","true"),e.$visibleItems=e.$el.find("li:visible")})}function n(e,t){var n=t.children("ul");n.slideUp(L,function(){n.attr("aria-hidden","true"),t.attr("aria-expanded","false"),e.$visibleItems=e.$el.find("li:visible")})}function i(e,t){t.closest("ul").find("> ."+w).not(t).each(function(t,i){n(e,(0,o.default)(i))})}function r(e,o){j||i(e,o),"true"==o.attr("aria-expanded")?n(e,o):t(e,o)}function a(e,t){e.$items.removeClass(b),t.addClass(b)}function s(e,i,a){var s=e.$visibleItems.index(i);if(a.altKey||a.ctrlKey||a.shiftKey&&a.keyCode!=I.tab)return!0;switch(a.keyCode){case I.tab:return e.$activeItem=null,i.removeClass(b),!0;case I.home:return e.$activeItem=e.$parents.first(),e.$activeItem.find(":focusable:first").focus(),a.stopPropagation(),!1;case I.end:return e.$activeItem=e.$visibleItems.last(),e.$activeItem.find(":focusable:first").focus(),a.stopPropagation(),!1;case I.enter:case I.space:return!(0,o.default)(a.currentTarget).is("."+C)||(r(e,i),a.stopPropagation(),!1);case I.left:if(i.is("."+w)&&"true"==i.attr("aria-expanded"))n(e,i);else{var l=i.parent(),u=l.parent();e.$activeItem=u,e.$activeItem.find(":focusable:first").focus()}return a.stopPropagation(),!1;case I.right:return i.is("."+w)&&("false"==i.attr("aria-expanded")?t(e,i):(e.$activeItem=i.children("ul").children("li").first(),e.$activeItem.find(":focusable:first").focus())),a.stopPropagation(),!1;case I.up:if(s>0){var c=e.$visibleItems.eq(s-1);e.$activeItem=c,c.find(":focusable:first").focus()}return a.stopPropagation(),!1;case I.down:if(s<e.$visibleItems.length-1){var d=e.$visibleItems.eq(s+1);e.$activeItem=d,d.find(":focusable:first").focus()}return a.stopPropagation(),!1;case I.asterisk:return e.$parents.each(function(){t(e,(0,o.default)(this))}),a.stopPropagation(),!1}return!0}function l(e,t,n){if(n.altKey||n.ctrlKey||n.shiftKey)return!0;switch(n.keyCode){case I.tab:return!0;case I.enter:case I.home:case I.end:case I.left:case I.right:case I.up:case I.down:return n.stopPropagation(),!1;default:var i=String.fromCharCode(n.which),o=!1,r=e.$visibleItems.index(t),a=e.$visibleItems.length,s=r+1;for(s==a&&(s=0);s!=r;){var l=e.$visibleItems.eq(s),u=l.text().charAt(0);if(l.is("."+w)&&(u=l.find("span").text().charAt(0)),u.toLowerCase()==i){o=!0;break}s+=1,s==a&&(s=0)}return 1==o&&(e.$activeItem=e.$visibleItems.eq(s),e.$activeItem.find(":focusable:first").focus()),n.stopPropagation(),!1}return!0}function u(e,t,n){if(n.altKey||n.ctrlKey||n.shiftKey)return!0;var i=t.closest("li");return e.$activeItem=i,a(e,i),r(e,i),n.stopPropagation(),!1}function c(e){e.$handlers.click(function(t){return u(e,(0,o.default)(this),t)}),e.$items.keydown(function(t){return s(e,(0,o.default)(this),t)}),e.$items.keypress(function(t){return l(e,(0,o.default)(this),t)}),e.$handlers.keydown(function(t){return s(e,(0,o.default)(this).closest("li"),t)}),e.$handlers.keypress(function(t){return l(e,(0,o.default)(this).closest("li"),t)}),(0,o.default)(document).click(function(){return null!=e.$activeItem&&(e.$activeItem.removeClass(b),e.$activeItem=null),!0})}function d(){}function f(e){e.attr("role","tree"),e.find("li").each(function(e,t){var n=(0,o.default)(t);if(n.attr("role","treeitem"),0!==n.find("ul").length){n.children("a").not("[href='#']").append('<span class="'+C+" "+A+'"\n aria-label="'+_+'" role="button" tabindex="0"></span>'),n.children("a[href='#']").addClass(C).addClass(T).attr("aria-label",_).attr("role","button");var i=n.find("[aria-expanded=true]").length>0||n.find(".is-current").length>0;t.hasAttribute("aria-expanded")||i?i&&n.attr("aria-expanded","true"):n.attr("aria-expanded","false"),n.addClass(w)}}),e.find("ul").attr("role","group")}function p(){(0,o.default)(v).each(function(t,n){var i=(0,o.default)(n);f(i);var r={$el:i,$items:i.find("li"),$parents:i.find("."+w),$handlers:i.find("."+C),$visibleItems:null,$activeItem:null};e(r),c(r)})}var h=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},m=h.selector,v=void 0===m?".js-Treeview":m,g=h.classFocused,b=void 0===g?"hasFocus":g,y=h.classParent,w=void 0===y?"Treeview-parent":y,x=h.classMenuHandler,C=void 0===x?"js-Treeview-handler":x,E=h.styleMenuHandler,T=void 0===E?"Treeview-handler--default":E,k=h.styleMenuHandlerStandalone,A=void 0===k?"Treeview-handler--standalone":k,M=h.ariaLabelHandler,_=void 0===M?"expand":M,S=h.multiselectable,j=void 0===S||S,O=h.animationMs,L=void 0===O?100:O,I={tab:9,enter:13,space:32,pageup:33,pagedown:34,end:35,home:36,left:37,up:38,right:39,down:40,asterisk:106};return p(),{init:p,destroy:d}};new r,t.default={Treeview:r},e.exports=t.default},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),r=i(o),a=n(30),s=i(a),l=n(3),u=i(l),c=document.querySelector(".js-Headroom"),d={offset:0,tolerance:{up:20,down:10},classes:{initial:"Headroom",pinned:"Headroom--pinned",unpinned:"Headroom--unpinned",top:"Headroom--top",notTop:"Headroom--not-top",bottom:"Headroom--bottom",notBottom:"Headroom--not-bottom"},scroller:window,onPin:function(){},onUnpin:function(){},onTop:function(){},onNotTop:function(){},onBottom:function(){},onNotBottom:function(){}},f=null;c&&(f=new s.default(c,d),f.init());if((0,r.default)("."+d.classes.initial).is(".Headroom--fixed")){var p=(0,r.default)(window).width(),h=(0,r.default)(".Headroom--fixed").height(),m=function(){var e=h;(0,r.default)("body").css({paddingTop:e+"px"})};(0,r.default)(document).ready(function(){(0,r.default)(".Headroom--fixed").css({position:"fixed",top:0}),h=(0,r.default)(".Headroom--fixed").height(),m()}),(0,r.default)(window).resize((0,u.default)(250,function(){var e=(0,r.default)(window).width(),t=(0,r.default)(".Headroom--fixed").height();e!==p&&(p=e,h=t,setTimeout(m,250))})),(0,r.default)(".Headroom--fixed").on("transitionend",(0,u.default)(250,function(){var e=(0,r.default)(this).height();h<e&&(h=e,m())}))}(0,r.default)(".js-Header-search-trigger").click(function(e){(0,r.default)(".js-Header-search-trigger").each(function(e,t){var n=(0,r.default)(t);"true"===n.attr("aria-hidden")?(n.attr("aria-hidden","false"),n.removeClass("u-hidden")):(n.attr("aria-hidden","true"),n.addClass("u-hidden"))});var t=(0,r.default)("#"+(0,r.default)(e.target).attr("aria-controls"));t.toggleClass("is-active"),t.parent().toggle()}),t.default={Headroom:s.default,headroom:f},e.exports=t.default},function(e,t,n){"use strict";var i,o,r,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};/*!
* headroom.js v0.9.4 - Give your page some headroom. Hide your header until you need it
* Copyright (c) 2017 Nick Williams - http://wicky.nillia.ms/headroom.js
* License: MIT
*/
!function(n,a){o=[],i=a,void 0!==(r="function"==typeof i?i.apply(t,o):i)&&(e.exports=r)}(0,function(){function e(e){this.callback=e,this.ticking=!1}function t(e){return e&&"undefined"!=typeof window&&(e===window||e.nodeType)}function n(e){if(arguments.length<=0)throw new Error("Missing arguments in extend function");var i,o,r=e||{};for(o=1;o<arguments.length;o++){var s=arguments[o]||{};for(i in s)"object"!==a(r[i])||t(r[i])?r[i]=r[i]||s[i]:r[i]=n(r[i],s[i])}return r}function i(e){return e===Object(e)?e:{down:e,up:e}}function o(e,t){t=n(t,o.options),this.lastKnownScrollY=0,this.elem=e,this.tolerance=i(t.tolerance),this.classes=t.classes,this.offset=t.offset,this.scroller=t.scroller,this.initialised=!1,this.onPin=t.onPin,this.onUnpin=t.onUnpin,this.onTop=t.onTop,this.onNotTop=t.onNotTop,this.onBottom=t.onBottom,this.onNotBottom=t.onNotBottom}var r={bind:!!function(){}.bind,classList:"classList"in document.documentElement,rAF:!!(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame)};return window.requestAnimationFrame=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame,e.prototype={constructor:e,update:function(){this.callback&&this.callback(),this.ticking=!1},requestTick:function(){this.ticking||(requestAnimationFrame(this.rafCallback||(this.rafCallback=this.update.bind(this))),this.ticking=!0)},handleEvent:function(){this.requestTick()}},o.prototype={constructor:o,init:function(){if(o.cutsTheMustard)return this.debouncer=new e(this.update.bind(this)),this.elem.classList.add(this.classes.initial),setTimeout(this.attachEvent.bind(this),100),this},destroy:function(){var e=this.classes;this.initialised=!1;for(var t in e)e.hasOwnProperty(t)&&this.elem.classList.remove(e[t]);this.scroller.removeEventListener("scroll",this.debouncer,!1)},attachEvent:function(){this.initialised||(this.lastKnownScrollY=this.getScrollY(),this.initialised=!0,this.scroller.addEventListener("scroll",this.debouncer,!1),this.debouncer.handleEvent())},unpin:function(){var e=this.elem.classList,t=this.classes;!e.contains(t.pinned)&&e.contains(t.unpinned)||(e.add(t.unpinned),e.remove(t.pinned),this.onUnpin&&this.onUnpin.call(this))},pin:function(){var e=this.elem.classList,t=this.classes;e.contains(t.unpinned)&&(e.remove(t.unpinned),e.add(t.pinned),this.onPin&&this.onPin.call(this))},top:function(){var e=this.elem.classList,t=this.classes;e.contains(t.top)||(e.add(t.top),e.remove(t.notTop),this.onTop&&this.onTop.call(this))},notTop:function(){var e=this.elem.classList,t=this.classes;e.contains(t.notTop)||(e.add(t.notTop),e.remove(t.top),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){var e=this.elem.classList,t=this.classes;e.contains(t.bottom)||(e.add(t.bottom),e.remove(t.notBottom),this.onBottom&&this.onBottom.call(this))},notBottom:function(){var e=this.elem.classList,t=this.classes;e.contains(t.notBottom)||(e.add(t.notBottom),e.remove(t.bottom),this.onNotBottom&&this.onNotBottom.call(this))},getScrollY:function(){return void 0!==this.scroller.pageYOffset?this.scroller.pageYOffset:void 0!==this.scroller.scrollTop?this.scroller.scrollTop:(document.documentElement||document.body.parentNode||document.body).scrollTop},getViewportHeight:function(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},getElementPhysicalHeight:function(e){return Math.max(e.offsetHeight,e.clientHeight)},getScrollerPhysicalHeight:function(){return this.scroller===window||this.scroller===document.body?this.getViewportHeight():this.getElementPhysicalHeight(this.scroller)},getDocumentHeight:function(){var e=document.body,t=document.documentElement;return Math.max(e.scrollHeight,t.scrollHeight,e.offsetHeight,t.offsetHeight,e.clientHeight,t.clientHeight)},getElementHeight:function(e){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight)},getScrollerHeight:function(){return this.scroller===window||this.scroller===document.body?this.getDocumentHeight():this.getElementHeight(this.scroller)},isOutOfBounds:function(e){var t=e<0,n=e+this.getScrollerPhysicalHeight()>this.getScrollerHeight();return t||n},toleranceExceeded:function(e,t){return Math.abs(e-this.lastKnownScrollY)>=this.tolerance[t]},shouldUnpin:function(e,t){var n=e>this.lastKnownScrollY,i=e>=this.offset;return n&&i&&t},shouldPin:function(e,t){var n=e<this.lastKnownScrollY,i=e<=this.offset;return n&&t||i},update:function(){var e=this.getScrollY(),t=e>this.lastKnownScrollY?"down":"up",n=this.toleranceExceeded(e,t);this.isOutOfBounds(e)||(e<=this.offset?this.top():this.notTop(),e+this.getViewportHeight()>=this.getScrollerHeight()?this.bottom():this.notBottom(),this.shouldUnpin(e,n)?this.unpin():this.shouldPin(e,n)&&this.pin(),this.lastKnownScrollY=e)}},o.options={tolerance:{up:0,down:0},offset:0,scroller:window,classes:{pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},o.cutsTheMustard=void 0!==r&&r.rAF&&r.bind&&r.classList,o})},function(e,t,n){"use strict";n(32),n(33),n(34),n(35)},function(e,t,n){"use strict";for(var i=null,o=function(){},r=["assert","clear","count","debug","dir","dirxml","error","exception","group","groupCollapsed","groupEnd","info","log","markTimeline","profile","profileEnd","table","time","timeEnd","timeStamp","trace","warn"],a=r.length,s=window.console=window.console||{};a--;)i=r[a],s[i]||(s[i]=o)},function(e,t,n){"use strict";var i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(i);(0,o.default)(function(){(0,o.default)(document).bind("enhance",function(){(0,o.default)("body").addClass("enhanced")}),(0,o.default)(document).trigger("enhance")})},function(e,t,n){"use strict";var i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(i);(0,o.default)(document).ready(function(){var e=(0,o.default)("header");(0,o.default)(".js-scrollTo").on("click",function(){var t=o.default.attr(this,"href"),n="#"===t?0:(0,o.default)(t).offset();(0,o.default)("html, body").animate({scrollTop:(n?n.top:0)-(e.length&&"fixed"===e.css("position")?e.height():0)},250)})})},function(e,t,n){"use strict";var i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(i);(0,o.default)(document).on("keydown",function(e){9===e.keyCode&&(0,o.default)("html").removeClass("c-hideFocus")}),(0,o.default)(document).on("click",function(){return(0,o.default)("html").addClass("c-hideFocus")}),(0,o.default)("html").addClass("c-hideFocus")},,,,,,,,function(e,t,n){"use strict";function i(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1}Object.defineProperty(t,"__esModule",{value:!0});var o=n(44),r=function(e){return e&&e.__esModule?e:{default:e}}(o),a=n(48);window.Promise||(window.Promise=r.default),window.__PUBLIC_PATH__&&(n.p=window.__PUBLIC_PATH__),t.default=function(e){var t=[];return e.keys().forEach(function(e){var n=e.replace(/\\/g,"/").replace(/\/[^\/]*$/,"");!(-1!==i(a.excludes,function(e){return null!==n.match(new RegExp(e))}))&&(0===a.includes.length||-1!==i(a.includes,function(e){return null!==n.match(new RegExp(e))}))&&t.push(e)}),t.map(e)}(n(4)),e.exports=t.default},function(e,t,n){"use strict";(function(t){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};!function(i){function o(){}function r(e,t){return function(){e.apply(t,arguments)}}function a(e){if(!(this instanceof a))throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],f(e,this)}function s(e,t){for(;3===e._state;)e=e._value;if(0===e._state)return void e._deferreds.push(t);e._handled=!0,a._immediateFn(function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null===n)return void(1===e._state?l:u)(t.promise,e._value);var i;try{i=n(e._value)}catch(e){return void u(t.promise,e)}l(t.promise,i)})}function l(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"===(void 0===t?"undefined":n(t))||"function"==typeof t)){var i=t.then;if(t instanceof a)return e._state=3,e._value=t,void c(e);if("function"==typeof i)return void f(r(i,t),e)}e._state=1,e._value=t,c(e)}catch(t){u(e,t)}}function u(e,t){e._state=2,e._value=t,c(e)}function c(e){2===e._state&&0===e._deferreds.length&&a._immediateFn(function(){e._handled||a._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;t<n;t++)s(e,e._deferreds[t]);e._deferreds=null}function d(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function f(e,t){var n=!1;try{e(function(e){n||(n=!0,l(t,e))},function(e){n||(n=!0,u(t,e))})}catch(e){if(n)return;n=!0,u(t,e)}}var p=setTimeout;a.prototype.catch=function(e){return this.then(null,e)},a.prototype.then=function(e,t){var n=new this.constructor(o);return s(this,new d(e,t,n)),n},a.all=function(e){return new a(function(t,i){function o(e,s){try{if(s&&("object"===(void 0===s?"undefined":n(s))||"function"==typeof s)){var l=s.then;if("function"==typeof l)return void l.call(s,function(t){o(e,t)},i)}r[e]=s,0==--a&&t(r)}catch(e){i(e)}}if(!e||void 0===e.length)throw new TypeError("Promise.all accepts an array");var r=Array.prototype.slice.call(e);if(0===r.length)return t([]);for(var a=r.length,s=0;s<r.length;s++)o(s,r[s])})},a.resolve=function(e){return e&&"object"===(void 0===e?"undefined":n(e))&&e.constructor===a?e:new a(function(t){t(e)})},a.reject=function(e){return new a(function(t,n){n(e)})},a.race=function(e){return new a(function(t,n){for(var i=0,o=e.length;i<o;i++)e[i].then(t,n)})},a._immediateFn="function"==typeof t&&function(e){t(e)}||function(e){p(e,0)},a._unhandledRejectionFn=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)},a._setImmediateFn=function(e){a._immediateFn=e},a._setUnhandledRejectionFn=function(e){a._unhandledRejectionFn=e},void 0!==e&&e.exports?e.exports=a:i.Promise||(i.Promise=a)}(void 0)}).call(t,n(45).setImmediate)},function(e,t,n){"use strict";(function(e){function i(e,t){this._id=e,this._clearFn=t}var o=void 0!==e&&e||"undefined"!=typeof self&&self||window,r=Function.prototype.apply;t.setTimeout=function(){return new i(r.call(setTimeout,o,arguments),clearTimeout)},t.setInterval=function(){return new i(r.call(setInterval,o,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(o,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(46),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||void 0,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||void 0}).call(t,n(1))},function(e,t,n){"use strict";(function(e,t){!function(e,n){function i(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var i={callback:e,args:t};return u[l]=i,s(l),l++}function o(e){delete u[e]}function r(e){var t=e.callback,i=e.args;switch(i.length){case 0:t();break;case 1:t(i[0]);break;case 2:t(i[0],i[1]);break;case 3:t(i[0],i[1],i[2]);break;default:t.apply(n,i)}}function a(e){if(c)setTimeout(a,0,e);else{var t=u[e];if(t){c=!0;try{r(t)}finally{o(e),c=!1}}}}if(!e.setImmediate){var s,l=1,u={},c=!1,d=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?function(){s=function(e){t.nextTick(function(){a(e)})}}():function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?function(){var t="setImmediate$"+Math.random()+"$",n=function(n){n.source===e&&"string"==typeof n.data&&0===n.data.indexOf(t)&&a(+n.data.slice(t.length))};e.addEventListener?e.addEventListener("message",n,!1):e.attachEvent("onmessage",n),s=function(n){e.postMessage(t+n,"*")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){a(e.data)},s=function(t){e.port2.postMessage(t)}}():d&&"onreadystatechange"in d.createElement("script")?function(){var e=d.documentElement;s=function(t){var n=d.createElement("script");n.onreadystatechange=function(){a(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():function(){s=function(e){setTimeout(a,0,e)}}(),f.setImmediate=i,f.clearImmediate=o}}("undefined"==typeof self?void 0===e?void 0:e:self)}).call(t,n(1),n(47))},function(e,t,n){"use strict";function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function r(e){if(d===setTimeout)return setTimeout(e,0);if((d===i||!d)&&setTimeout)return d=setTimeout,setTimeout(e,0);try{return d(e,0)}catch(t){try{return d.call(null,e,0)}catch(t){return d.call(this,e,0)}}}function a(e){if(f===clearTimeout)return clearTimeout(e);if((f===o||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function s(){v&&h&&(v=!1,h.length?m=h.concat(m):g=-1,m.length&&l())}function l(){if(!v){var e=r(s);v=!0;for(var t=m.length;t;){for(h=m,m=[];++g<t;)h&&h[g].run();g=-1,t=m.length}h=null,v=!1,a(e)}}function u(e,t){this.fun=e,this.array=t}function c(){}var d,f,p=e.exports={};!function(){try{d="function"==typeof setTimeout?setTimeout:i}catch(e){d=i}try{f="function"==typeof clearTimeout?clearTimeout:o}catch(e){f=o}}();var h,m=[],v=!1,g=-1;p.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];m.push(new u(e,t)),1!==m.length||v||r(l)},u.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=c,p.addListener=c,p.once=c,p.off=c,p.removeListener=c,p.removeAllListeners=c,p.emit=c,p.prependListener=c,p.prependOnceListener=c,p.listeners=function(e){return[]},p.binding=function(e){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(e){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}},function(e,t,n){"use strict";var i={};i.includes=[],i.excludes=[],e.exports=i}])});
//# sourceMappingURL=IWT.min.js.map