try{jQuery.cookie=function(e,t,r){if(arguments.length>1&&"[object Object]"!==String(t)){if(r=jQuery.extend({},r),(null===t||void 0===t)&&(r.expires=-1),"number"==typeof r.expires){var n=r.expires,i=r.expires=new Date;i.setDate(i.getDate()+n)}return t=String(t),document.cookie=[encodeURIComponent(e),"=",r.raw?t:encodeURIComponent(t),r.expires?"; expires="+r.expires.toUTCString():"",r.path?"; path="+r.path:"",r.domain?"; domain="+r.domain:"",r.secure?"; secure":""].join("")}r=t||{};var s,a=r.raw?function(e){return e}:decodeURIComponent;return(s=new RegExp("(?:^|; )"+encodeURIComponent(e)+"=([^;]*)").exec(document.cookie))?a(s[1]):null},!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):jQuery)}(function(e){function t(t){var r,n,i,s=arguments.length,a=window[t],o=arguments,c=o[1];if(2>s)throw Error("Minimum 2 arguments must be given");if(e.isArray(c)){n={};for(var l in c){r=c[l];try{n[r]=JSON.parse(a.getItem(r))}catch(u){n[r]=a.getItem(r)}}return n}if(2!=s){try{n=JSON.parse(a.getItem(c))}catch(u){throw new ReferenceError(c+" is not defined in this storage")}for(var l=2;s-1>l;l++)if(n=n[o[l]],void 0===n)throw new ReferenceError([].slice.call(o,1,l+1).join(".")+" is not defined in this storage");if(e.isArray(o[l])){i=n,n={};for(var d in o[l])n[o[l][d]]=i[o[l][d]];return n}return n[o[l]]}try{return JSON.parse(a.getItem(c))}catch(u){return a.getItem(c)}}function r(t){var r,n,i=arguments.length,s=window[t],a=arguments,o=a[1],c=a[2],l={};if(2>i||!e.isPlainObject(o)&&3>i)throw Error("Minimum 3 arguments must be given or second parameter must be an object");if(e.isPlainObject(o)){for(var u in o)r=o[u],e.isPlainObject(r)?s.setItem(u,JSON.stringify(r)):s.setItem(u,r);return o}if(3==i)return"object"==typeof c?s.setItem(o,JSON.stringify(c)):s.setItem(o,c),c;try{n=s.getItem(o),null!=n&&(l=JSON.parse(n))}catch(d){}n=l;for(var u=2;i-2>u;u++)r=a[u],n[r]&&e.isPlainObject(n[r])||(n[r]={}),n=n[r];return n[a[u]]=a[u+1],s.setItem(o,JSON.stringify(l)),l}function n(t){var r,n,i=arguments.length,s=window[t],a=arguments,o=a[1];if(2>i)throw Error("Minimum 2 arguments must be given");if(e.isArray(o)){for(var c in o)s.removeItem(o[c]);return!0}if(2==i)return s.removeItem(o),!0;try{r=n=JSON.parse(s.getItem(o))}catch(l){throw new ReferenceError(o+" is not defined in this storage")}for(var c=2;i-1>c;c++)if(n=n[a[c]],void 0===n)throw new ReferenceError([].slice.call(a,1,c).join(".")+" is not defined in this storage");if(e.isArray(a[c]))for(var u in a[c])delete n[a[c][u]];else delete n[a[c]];return s.setItem(o,JSON.stringify(r)),!0}function i(t,r){var i=o(t);for(var s in i)n(t,i[s]);if(r)for(var s in e.namespaceStorages)c(s)}function s(r){var n=arguments.length,i=arguments,a=(window[r],i[1]);if(1==n)return 0==o(r).length;if(e.isArray(a)){for(var c=0;cn)throw Error("Minimum 2 arguments must be given");if(e.isArray(s)){for(var o=0;o1?t.apply(this,s):i,o._cookie)for(var c in e.cookie())""!=c&&a.push(c.replace(o._prefix,""));else for(var l in o)a.push(l);return a}function c(t){if(!t||"string"!=typeof t)throw Error("First parameter must be a string");f?(window.localStorage.getItem(t)||window.localStorage.setItem(t,"{}"),window.sessionStorage.getItem(t)||window.sessionStorage.setItem(t,"{}")):(window.localCookieStorage.getItem(t)||window.localCookieStorage.setItem(t,"{}"),window.sessionCookieStorage.getItem(t)||window.sessionCookieStorage.setItem(t,"{}"));var r={localStorage:e.extend({},e.localStorage,{_ns:t}),sessionStorage:e.extend({},e.sessionStorage,{_ns:t})};return e.cookie&&(window.cookieStorage.getItem(t)||window.cookieStorage.setItem(t,"{}"),r.cookieStorage=e.extend({},e.cookieStorage,{_ns:t})),e.namespaceStorages[t]=r,r}function l(e){if(!window[e])return!1;var t="jsapi";try{return window[e].setItem(t,t),window[e].removeItem(t),!0}catch(r){return!1}}var u="ls_",d="ss_",f=l("localStorage"),m={_type:"",_ns:"",_callMethod:function(e,t){var r=[this._type],t=Array.prototype.slice.call(t),n=t[0];return this._ns&&r.push(this._ns),"string"==typeof n&&-1!==n.indexOf(".")&&(t.shift(),[].unshift.apply(t,n.split("."))),[].push.apply(r,t),e.apply(this,r)},get:function(){return this._callMethod(t,arguments)},set:function(){var t=arguments.length,n=arguments,i=n[0];if(1>t||!e.isPlainObject(i)&&2>t)throw Error("Minimum 2 arguments must be given or first parameter must be an object");if(e.isPlainObject(i)&&this._ns){for(var s in i)r(this._type,this._ns,s,i[s]);return i}var a=this._callMethod(r,n);return this._ns?a[i.split(".")[0]]:a},remove:function(){if(arguments.length<1)throw Error("Minimum 1 argument must be given");return this._callMethod(n,arguments)},removeAll:function(e){return this._ns?(r(this._type,this._ns,{}),!0):i(this._type,e)},isEmpty:function(){return this._callMethod(s,arguments)},isSet:function(){if(arguments.length<1)throw Error("Minimum 1 argument must be given");return this._callMethod(a,arguments)},keys:function(){return this._callMethod(o,arguments)}};if(e.cookie){window.name||(window.name=Math.floor(1e8*Math.random()));var g={_cookie:!0,_prefix:"",_expires:null,_path:null,_domain:null,setItem:function(t,r){e.cookie(this._prefix+t,r,{expires:this._expires,path:this._path,domain:this._domain})},getItem:function(t){return e.cookie(this._prefix+t)},removeItem:function(t){return e.removeCookie(this._prefix+t)},clear:function(){for(var t in e.cookie())""!=t&&(!this._prefix&&-1===t.indexOf(u)&&-1===t.indexOf(d)||this._prefix&&0===t.indexOf(this._prefix))&&e.removeCookie(t)},setExpires:function(e){return this._expires=e,this},setPath:function(e){return this._path=e,this},setDomain:function(e){return this._domain=e,this},setConf:function(e){return e.path&&(this._path=e.path),e.domain&&(this._domain=e.domain),e.expires&&(this._expires=e.expires),this},setDefaultConf:function(){this._path=this._domain=this._expires=null}};f||(window.localCookieStorage=e.extend({},g,{_prefix:u,_expires:3650}),window.sessionCookieStorage=e.extend({},g,{_prefix:d+window.name+"_"})),window.cookieStorage=e.extend({},g),e.cookieStorage=e.extend({},m,{_type:"cookieStorage",setExpires:function(e){return window.cookieStorage.setExpires(e),this},setPath:function(e){return window.cookieStorage.setPath(e),this},setDomain:function(e){return window.cookieStorage.setDomain(e),this},setConf:function(e){return window.cookieStorage.setConf(e),this},setDefaultConf:function(){return window.cookieStorage.setDefaultConf(),this}})}e.initNamespaceStorage=function(e){return c(e)},f?(e.localStorage=e.extend({},m,{_type:"localStorage"}),e.sessionStorage=e.extend({},m,{_type:"sessionStorage"})):(e.localStorage=e.extend({},m,{_type:"localCookieStorage"}),e.sessionStorage=e.extend({},m,{_type:"sessionCookieStorage"})),e.namespaceStorages={},e.removeAllStorages=function(t){e.localStorage.removeAll(t),e.sessionStorage.removeAll(t),e.cookieStorage&&e.cookieStorage.removeAll(t),t||(e.namespaceStorages={})}})}catch(e){}!function(e,t,r){e.fn.dropdownHover=function(n){var i,s,a,o,n=e.extend({},e.fn.dropdownHover.options,n);return this.each(function(){e(this).parent().addClass(n.hoverClass.replace(".","")).attr("data-intent",e(this).data("hover-delay")).attr("data-delay",e(this).data("delay"))}),e(r).on({mouseenter:function(r){if(o)return i=this,!0;r.stopPropagation(),t.clearTimeout(a);var c=e(this),l=e(this).data("intent");e(c).hasClass("open")||e(c).is(i)||(s=setTimeout(function(){e(i).removeClass("open"),i=c,e(i).addClass("open")},l?l:n.hoverDelay))},mouseleave:function(r){if(o)return e(".dropdown-menu").removeClass("bs-hover-sub-clickable"),!0;if(r.stopPropagation(),t.clearTimeout(s),i){var c=(e(this),e(this).data("delay"));a=setTimeout(function(){e(i).removeClass("open"),e(i).find(".dropdown-toggle").blur(),i=!1},c?c:n.delay)}}},n.hoverClass),e(n.hoverClass).on("click",".dropdown-menu",function(e){e.stopPropagation()}),e(n.hoverClass+" a").on("click",function(r){if(r.preventDefault(),o&&e(this).data("nested")&&!e(this).next(".dropdown-menu").hasClass("bs-hover-sub-clickable"))return e(this).next(".dropdown-menu").addClass("bs-hover-sub-clickable"),!1;if(e(i).hasClass("open")){var n=e(this).attr("href"),s=e(this).attr("target");n&&"_blank"==s?t.open(n,"_blank"):n&&"#"!==n&&(t.location.href=n)}return o?!0:!1}),e(r).one("touchstart",function(){t.clearTimeout(a),t.clearTimeout(s),o=!0}),this},e.fn.dropdownHover.options={hoverClass:".bs-hover-enabled",delay:500,hoverDelay:0},e(r).ready(function(){e('[data-hover="dropdown"]').dropdownHover()})}(jQuery,window,document);var originalLeave=$.fn.popover.Constructor.prototype.leave;$.fn.popover.Constructor.prototype.leave=function(e){var t,r,n=e instanceof this.constructor?e:$(e.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);originalLeave.call(this,e),e.currentTarget&&(t=$(e.currentTarget).siblings(".popover"),r=n.timeout,t.one("mouseenter",function(){clearTimeout(r),t.one("mouseleave",function(){$.fn.popover.Constructor.prototype.leave.call(n,n)})}))},function(e){function t(){if(a){var e=[];if(i.querySelectorAll)e=i.querySelectorAll("[data-squery]");else for(var t=i.getElementsByTagName("*"),r=0,n=t.length;n>r;++r)t[r].getAttribute("data-squery")&&e.push(t[r]);for(r=0,n=e.length;n>r;++r){for(var t=e[r],o=[],c=t.getAttribute("data-squery").split(" "),l=0,u=c.length;u>l;++l){var d=/(.*):([0-9]*)(px|em)=(.*)/.exec(c[l]);d&&o.push(d)}t.cq_rules=t.cq_rules||[],t.cq_rules=t.cq_rules.concat(o),s.push(t)}}}function r(){for(var e=0,t=s.length;t>e;++e){el=s[e];for(var r=0,n=el.cq_rules.length;n>r;++r){var i=el.cq_rules[r],a=parseInt(i[2]);"em"===i[3]&&(a=l(parseFloat(i[2]),el));var o=el,u=i[4],d=o.cloneNode(!0);d.className=(" "+d.className+" ").replace(" "+u+" "," "),d.style.height=0,d.style.visibility="hidden",d.style.overflow="hidden",d.style.clear="both",u=o.parentNode,u.insertBefore(d,o),o=d.offsetWidth,u.removeChild(d),c[i[1]](o,a)?0>el.className.indexOf(i[4])&&(el.className+=" "+i[4]):(i=el.className.replace(RegExp("(^| )"+i[4]+"( |$)"),"$1"),i=i.replace(/ $/,""),el.className=i)}}}function n(){if(!o){o=!0,t(),r(),e.addEventListener&&e.addEventListener("resize",r,!1);var n=l(1,i.body);e.setInterval(function(){var e=l(1,i.body);e!==n&&(r(),n=e)},100)}}var i=e.document,s=[],a=!0,o=!1,c={"min-width":function(e,t){return e>t},"max-width":function(e,t){return t>e}},l=function(e){return function(){var t=Array.prototype.slice.call(arguments);return e.memoize=e.memoize||{},t in e.memoize?e.memoize[t]:e.memoize[t]=e.apply(this,t)}}(function(e,t){var r=i.createElement("div");r.style.fontSize="1em",r.style.margin="0",r.style.padding="0",r.style.border="none",r.style.width="1em",t.appendChild(r);var n=r.offsetWidth;return t.removeChild(r),Math.round(n*e)});i.addEventListener?(i.addEventListener("DOMContentLoaded",n,!1),e.addEventListener("load",n,!1)):i.attachEvent&&(i.attachEvent("onreadystatechange",n),e.attachEvent("onload",n)),e.SelectorQueries={add:function(e,t,n,i){for(var n=/([0-9]*)(px|em)/.exec(n),a=0,c=e.length;c>a;++a){var l=e[a];l.cq_rules=l.cq_rules||[],l.cq_rules.push([null,t,n[1],n[2],i]),s.push(l)}o&&r()},ignoreDataAttributes:function(){a=!1}}}(this),!function(e){var t=navigator.userAgent;e.HTMLPictureElement&&/ecko/.test(t)&&t.match(/rv\:(\d+)/)&&RegExp.$1<45&&addEventListener("resize",function(){var t,r=document.createElement("source"),n=function(e){var t,n,i=e.parentNode;"PICTURE"===i.nodeName.toUpperCase()?(t=r.cloneNode(),i.insertBefore(t,i.firstElementChild),setTimeout(function(){i.removeChild(t)})):(!e._pfLastSize||e.offsetWidth>e._pfLastSize)&&(e._pfLastSize=e.offsetWidth,n=e.sizes,e.sizes+=",100vw",setTimeout(function(){e.sizes=n}))},i=function(){var e,t=document.querySelectorAll("picture > img, img[srcset][sizes]");for(e=0;e2.7?o=r+1:(s=t-r,i=Math.pow(e-.6,1.5),a=s*i,n&&(a+=.1*i),o=e+a):o=r>1?Math.sqrt(e*t):e,o>r}function o(e){var t,r=y.getSet(e),n=!1;"pending"!==r&&(n=v,r&&(t=y.setRes(r),y.applySetCandidate(t,e))),e[y.ns].evaled=n}function c(e,t){return e.res-t.res}function l(e,t,r){var n;return!r&&t&&(r=e[y.ns].sets,r=r&&r[r.length-1]),n=u(t,r),n&&(t=y.makeUrl(t),e[y.ns].curSrc=t,e[y.ns].curCan=n,n.res||ee(n,n.set.sizes)),n}function u(e,t){var r,n,i;if(e&&t)for(i=y.parseSet(t),e=y.makeUrl(e),r=0;rr;r++)i=a[r],i[y.ns]=!0,s=i.getAttribute("srcset"),s&&t.push({srcset:s,media:i.getAttribute("media"),type:i.getAttribute("type"),sizes:i.getAttribute("sizes")})}function f(e,t){function r(t){var r,n=t.exec(e.substring(f));return n?(r=n[0],f+=r.length,r):void 0}function i(){var e,r,n,i,s,c,l,u,d,f=!1,g={};for(i=0;id?f=!0:r=d):V.test(l)&&"h"===c?((n||r)&&(f=!0),0===u?f=!0:n=u):f=!0;f||(g.url=a,e&&(g.w=e),r&&(g.d=r),n&&(g.h=n),n||r||e||(g.d=1),1===g.d&&(t.has1x=!0),g.set=t,m.push(g))}function s(){for(r(U),c="",l="in descriptor";;){if(u=e.charAt(f),"in descriptor"===l)if(n(u))c&&(o.push(c),c="",l="after descriptor");else{if(","===u)return f+=1,c&&o.push(c),void i();if("("===u)c+=u,l="in parens";else{if(""===u)return c&&o.push(c),void i();c+=u}}else if("in parens"===l)if(")"===u)c+=u,l="in descriptor";else{if(""===u)return o.push(c),void i();c+=u}else if("after descriptor"===l)if(n(u));else{if(""===u)return void i();l="in descriptor",f-=1}f+=1}}for(var a,o,c,l,u,d=e.length,f=0,m=[];;){if(r(Q),f>=d)return m;a=r(J),o=[],","===a.slice(-1)?(a=a.replace(G,""),i()):s()}}function m(e){function t(e){function t(){s&&(a.push(s),s="")}function r(){a[0]&&(o.push(a),a=[])}for(var i,s="",a=[],o=[],c=0,l=0,u=!1;;){if(i=e.charAt(l),""===i)return t(),r(),o;if(u){if("*"===i&&"/"===e[l+1]){u=!1,l+=2,t();continue}l+=1}else{if(n(i)){if(e.charAt(l-1)&&n(e.charAt(l-1))||!s){l+=1;continue}if(0===c){t(),l+=1;continue}i=" "}else if("("===i)c+=1;else if(")"===i)c-=1;else{if(","===i){t(),r(),l+=1;continue}if("/"===i&&"*"===e.charAt(l+1)){u=!0,l+=2;continue}}s+=i,l+=1}}}function r(e){return u.test(e)&&parseFloat(e)>=0?!0:d.test(e)?!0:"0"===e||"-0"===e||"+0"===e?!0:!1}var i,s,a,o,c,l,u=/^(?:[+-]?[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?(?:ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmin|vmax|vw)$/i,d=/^calc\((?:[0-9a-z \.\+\-\*\/\(\)]+)\)$/i;for(s=t(e),a=s.length,i=0;a>i;i++)if(o=s[i],c=o[o.length-1],r(c)){if(l=c,o.pop(),0===o.length)return l;if(o=o.join(" "),y.matchesMedia(o))return l}return"100vw"}t.createElement("picture");var g,p,h,v,y={},A=!1,b=function(){},z=t.createElement("img"),w=z.getAttribute,S=z.setAttribute,C=z.removeAttribute,E=t.documentElement,x={},_={algorithm:""},k="data-pfsrc",I=k+"set",L=navigator.userAgent,T=/rident/.test(L)||/ecko/.test(L)&&L.match(/rv\:(\d+)/)&&RegExp.$1>35,M="currentSrc",j=/\s+\+?\d+(e\d+)?w/,P=/(\([^)]+\))?\s*(.+)/,N=e.picturefillCFG,O="position:absolute;left:0;visibility:hidden;display:block;padding:0;border:none;font-size:1em;width:1em;overflow:hidden;clip:rect(0px, 0px, 0px, 0px)",R="font-size:100%!important;",F=!0,D={},W={},$=e.devicePixelRatio,B={px:1,"in":96},q=t.createElement("a"),H=!1,U=/^[ \t\n\r\u000c]+/,Q=/^[, \t\n\r\u000c]+/,J=/^[^ \t\n\r\u000c]+/,G=/[,]+$/,V=/^\d+$/,K=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,X=function(e,t,r,n){e.addEventListener?e.addEventListener(t,r,n||!1):e.attachEvent&&e.attachEvent("on"+t,r)},Y=function(e){var t={};return function(r){return r in t||(t[r]=e(r)),t[r]}},Z=function(){var e=/^([\d\.]+)(em|vw|px)$/,t=function(){for(var e=arguments,t=0,r=e[0];++t in e;)r=r.replace(e[t],e[++t]);return r},r=Y(function(e){return"return "+t((e||"").toLowerCase(),/\band\b/g,"&&",/,/g,"||",/min-([a-z-\s]+):/g,"e.$1>=",/max-([a-z-\s]+):/g,"e.$1<=",/calc([^)]+)/g,"($1)",/(\d+[\.]*[\d]*)([a-z]+)/g,"($1 * e.$2)",/^(?!(e.[a-z]|[0-9\.&=|><\+\-\*\(\)\/])).*/gi,"")+";"});return function(t,n){var i;if(!(t in D))if(D[t]=!1,n&&(i=t.match(e)))D[t]=i[1]*B[i[2]];else try{D[t]=new Function("e",r(t))(B)}catch(s){}return D[t]}}(),ee=function(e,t){return e.w?(e.cWidth=y.calcListLength(t||"100vw"),e.res=e.w/e.cWidth):e.res=e.d,e},te=function(e){if(A){var r,n,i,s=e||{};if(s.elements&&1===s.elements.nodeType&&("IMG"===s.elements.nodeName.toUpperCase()?s.elements=[s.elements]:(s.context=s.elements,s.elements=null)),r=s.elements||y.qsa(s.context||t,s.reevaluate||s.reselect?y.sel:y.selShort),i=r.length){for(y.setupRun(s),H=!0,n=0;i>n;n++)y.fillImg(r[n],s);y.teardownRun(s)}}};g=e.console&&console.warn?function(e){console.warn(e)}:b,M in z||(M="src"),x["image/jpeg"]=!0,x["image/gif"]=!0,x["image/png"]=!0,x["image/svg+xml"]=t.implementation.hasFeature("https://www.w3.org/TR/SVG11/feature#Image","1.1"),y.ns=("pf"+(new Date).getTime()).substr(0,9),y.supSrcset="srcset"in z,y.supSizes="sizes"in z,y.supPicture=!!e.HTMLPictureElement,y.supSrcset&&y.supPicture&&!y.supSizes&&!function(e){z.srcset="data:,a",e.src="data:,a",y.supSrcset=z.complete===e.complete,y.supPicture=y.supSrcset&&y.supPicture}(t.createElement("img")),y.supSrcset&&!y.supSizes?!function(){var e="data:image/gif;base64,R0lGODlhAgABAPAAAP///wAAACH5BAAAAAAALAAAAAACAAEAAAICBAoAOw==",r="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",n=t.createElement("img"),i=function(){var e=n.width;2===e&&(y.supSizes=!0),h=y.supSrcset&&!y.supSizes,A=!0,setTimeout(te)};n.onload=i,n.onerror=i,n.setAttribute("sizes","9px"),n.srcset=r+" 1w,"+e+" 9w",n.src=r}():A=!0,y.selShort="picture>img,img[srcset]",y.sel=y.selShort,y.cfg=_,y.DPR=$||1,y.u=B,y.types=x,y.setSize=b,y.makeUrl=Y(function(e){return q.href=e,q.href}),y.qsa=function(e,t){return"querySelector"in e?e.querySelectorAll(t):[]},y.matchesMedia=function(){return y.matchesMedia=e.matchMedia&&(matchMedia("(min-width: 0.1em)")||{}).matches?function(e){return!e||matchMedia(e).matches}:y.mMQ,y.matchesMedia.apply(this,arguments)},y.mMQ=function(e){return e?Z(e):!0},y.calcLength=function(e){var t=Z(e,!0)||!1;return 0>t&&(t=!1),t},y.supportsType=function(e){return e?x[e]:!0},y.parseSize=Y(function(e){var t=(e||"").match(P);return{media:t&&t[1],length:t&&t[2]}}),y.parseSet=function(e){return e.cands||(e.cands=f(e.srcset,e)),e.cands},y.getEmValue=function(){var e;if(!p&&(e=t.body)){var r=t.createElement("div"),n=E.style.cssText,i=e.style.cssText;r.style.cssText=O,E.style.cssText=R,e.style.cssText=R,e.appendChild(r),p=r.offsetWidth,e.removeChild(r),p=parseFloat(p,10),E.style.cssText=n,e.style.cssText=i}return p||16},y.calcListLength=function(e){if(!(e in W)||_.uT){var t=y.calcLength(m(e));W[e]=t?t:B.width}return W[e]},y.setRes=function(e){var t;if(e){t=y.parseSet(e);for(var r=0,n=t.length;n>r;r++)ee(t[r],e.sizes)}return t},y.setRes.res=ee,y.applySetCandidate=function(e,t){if(e.length){var r,n,i,s,o,u,d,f,m,g=t[y.ns],p=y.DPR;if(u=g.curSrc||t[M],d=g.curCan||l(t,u,e[0].set),d&&d.set===e[0].set&&(m=T&&!t.complete&&d.res-.1>p,m||(d.cached=!0,d.res>=p&&(o=d))),!o)for(e.sort(c),s=e.length,o=e[s-1],n=0;s>n;n++)if(r=e[n],r.res>=p){i=n-1,o=e[i]&&(m||u!==y.makeUrl(r.url))&&a(e[i].res,r.res,p,e[i].cached)?e[i]:r;break}o&&(f=y.makeUrl(o.url),g.curSrc=f,g.curCan=o,f!==u&&y.setSrc(t,o),y.setSize(t))}},y.setSrc=function(e,t){var r;e.src=t.url,"image/svg+xml"===t.set.type&&(r=e.style.width,e.style.width=e.offsetWidth+1+"px",e.offsetWidth+1&&(e.style.width=r))},y.getSet=function(e){var t,r,n,i=!1,s=e[y.ns].sets;for(t=0;ts?r=setTimeout(i,t-s):(r=null,e())};return function(){n=new Date,r||(r=setTimeout(i,t))}},o=E.clientHeight,c=function(){F=Math.max(e.innerWidth||0,E.clientWidth)!==B.width||E.clientHeight!==o,o=E.clientHeight,F&&y.fillImgs()};X(e,"resize",a(c,99)),X(t,"readystatechange",i)}(),y.picturefill=te,y.fillImgs=te,y.teardownRun=b,te._=y,e.picturefillCFG={pf:y,push:function(e){var t=e.shift();"function"==typeof y[t]?y[t].apply(y,e):(_[t]=e[0],H&&y.fillImgs({reselect:!0}))}};for(;N&&N.length;)e.picturefillCFG.push(N.shift());e.picturefill=te,"object"==typeof module&&"object"==typeof module.exports?module.exports=te:"function"==typeof define&&define.amd&&define("picturefill",function(){return te}),y.supPicture||(x["image/webp"]=i("image/webp","data:image/webp;base64,UklGRkoAAABXRUJQVlA4WAoAAAAQAAAAAAAAAAAAQUxQSAwAAAABBxAR/Q9ERP8DAABWUDggGAAAADABAJ0BKgEAAQADADQlpAADcAD++/1QAA=="))}(window,document),!function(e,t){var r=function(){t(e.lazySizes),e.removeEventListener("lazyunveilread",r,!0)};t=t.bind(null,e,e.document),"object"==typeof module&&module.exports?t(require("lazysizes")):e.lazySizes?r():e.addEventListener("lazyunveilread",r,!0)}(window,function(e,t,r){"use strict";if(e.addEventListener){var n=/\s+(\d+)(w|h)\s+(\d+)(w|h)/,i=/parent-fit["']*\s*:\s*["']*(contain|cover|width)/,s=/parent-container["']*\s*:\s*["']*(.+?)(?=(\s|$|,|'|"|;))/,a=/^picture$/i,o=function(e){return getComputedStyle(e,null)||{}},c={getParent:function(t,r){var n=t,i=t.parentNode;return r&&"prev"!=r||!i||!a.test(i.nodeName||"")||(i=i.parentNode),"self"!=r&&(n="prev"==r?t.previousElementSibling:r&&(i.closest||e.jQuery)?(i.closest?i.closest(r):jQuery(i).closest(r)[0])||i:i),n},getFit:function(e){var t,r,n=o(e),a=n.content||n.fontFamily,l={fit:e._lazysizesParentFit||e.getAttribute("data-parent-fit")};return!l.fit&&a&&(t=a.match(i))&&(l.fit=t[1]),l.fit?(r=e._lazysizesParentContainer||e.getAttribute("data-parent-container"),!r&&a&&(t=a.match(s))&&(r=t[1]),l.parent=c.getParent(e,r)):l.fit=n.objectFit,l},getImageRatio:function(t){var r,i,s,o,c,l=t.parentNode,u=l&&a.test(l.nodeName||"")?l.querySelectorAll("source, img"):[t];for(r=0;r40&&(r=t/n)&&("cover"==o&&i>r||"contain"==o&&r>i)&&(s=t*(i/r))),s):t}};r.parentFit=c,t.addEventListener("lazybeforesizes",function(e){if(!e.defaultPrevented&&e.detail.instance==r){var t=e.target;e.detail.width=c.calculateSize(t,e.detail.width)}})}}),!function(e,t){var r=function(){t(e.lazySizes),e.removeEventListener("lazyunveilread",r,!0)};t=t.bind(null,e,e.document),"object"==typeof module&&module.exports?t(require("lazysizes")):e.lazySizes?r():e.addEventListener("lazyunveilread",r,!0)}(window,function(e,t,r){"use strict";if(e.addEventListener){var n=/\s+/g,i=/\s*\|\s+|\s+\|\s*/g,s=/^(.+?)(?:\s+\[\s*(.+?)\s*\])(?:\s+\[\s*(.+?)\s*\])?$/,a=/^\s*\(*\s*type\s*:\s*(.+?)\s*\)*\s*$/,o=/\(|\)|'/,c={contain:1,cover:1},l=function(e){var t=r.gW(e,e.parentNode);return(!e._lazysizesWidth||t>e._lazysizesWidth)&&(e._lazysizesWidth=t),e._lazysizesWidth},u=function(e){var t;return t=(getComputedStyle(e)||{getPropertyValue:function(){}}).getPropertyValue("background-size"),!c[t]&&c[e.style.backgroundSize]&&(t=e.style.backgroundSize),t},d=function(e,t){if(t){var r=t.match(a);r&&r[1]?e.setAttribute("type",r[1]):e.setAttribute("media",lazySizesConfig.customMedia[t]||t)}},f=function(e,r,a){var o=t.createElement("picture"),c=r.getAttribute(lazySizesConfig.sizesAttr),l=r.getAttribute("data-ratio"),u=r.getAttribute("data-optimumx");r._lazybgset&&r._lazybgset.parentNode==r&&r.removeChild(r._lazybgset),Object.defineProperty(a,"_lazybgset",{value:r,writable:!0}),Object.defineProperty(r,"_lazybgset",{value:o,writable:!0}),e=e.replace(n," ").split(i),o.style.display="none",a.className=lazySizesConfig.lazyClass,1!=e.length||c||(c="auto"),e.forEach(function(e){var r,n=t.createElement("source");c&&"auto"!=c&&n.setAttribute("sizes",c),(r=e.match(s))?(n.setAttribute(lazySizesConfig.srcsetAttr,r[1]),d(n,r[2]),d(n,r[3])):n.setAttribute(lazySizesConfig.srcsetAttr,e),o.appendChild(n)}),c&&(a.setAttribute(lazySizesConfig.sizesAttr,c),r.removeAttribute(lazySizesConfig.sizesAttr),r.removeAttribute("sizes")),u&&a.setAttribute("data-optimumx",u),l&&a.setAttribute("data-ratio",l),o.appendChild(a),r.appendChild(o)},m=function(e){if(e.target._lazybgset){var t=e.target,n=t._lazybgset,i=t.currentSrc||t.src;if(i){var s=r.fire(n,"bgsetproxy",{src:i,useSrc:o.test(i)?JSON.stringify(i):i});s.defaultPrevented||(n.style.backgroundImage="url("+s.detail.useSrc+")")}t._lazybgsetLoading&&(r.fire(n,"_lazyloaded",{},!1,!0),delete t._lazybgsetLoading)}};addEventListener("lazybeforeunveil",function(e){var n,i,s;!e.defaultPrevented&&(n=e.target.getAttribute("data-bgset"))&&(s=e.target,i=t.createElement("img"),i.alt="",i._lazybgsetLoading=!0,e.detail.firesLoad=!0,f(n,s,i),setTimeout(function(){r.loader.unveil(i),r.rAF(function(){r.fire(i,"_lazyloaded",{},!0,!0),i.complete&&m({target:i})})}))}),t.addEventListener("load",m,!0),e.addEventListener("lazybeforesizes",function(e){if(e.detail.instance==r&&e.target._lazybgset&&e.detail.dataAttr){var t=e.target._lazybgset,n=u(t);c[n]&&(e.target._lazysizesParentFit=n,r.rAF(function(){e.target.setAttribute("data-parent-fit",n),e.target._lazysizesParentFit&&delete e.target._lazysizesParentFit}))}},!0),t.documentElement.addEventListener("lazybeforesizes",function(e){!e.defaultPrevented&&e.target._lazybgset&&e.detail.instance==r&&(e.detail.width=l(e.target._lazybgset))})}}),!function(e,t){var r=function(n){t(e.lazySizes,n),e.removeEventListener("lazyunveilread",r,!0)};t=t.bind(null,e,e.document),"object"==typeof module&&module.exports?t(require("lazysizes")):e.lazySizes?r():e.addEventListener("lazyunveilread",r,!0)}(window,function(e,t,r,n){"use strict";function i(e){var t=getComputedStyle(e,null)||{},r=t.fontFamily||"",n=r.match(l)||"",i=n&&r.match(u)||"";return i&&(i=i[1]),{fit:n&&n[1]||"",position:m[i]||i||"center"}}function s(e,t){var n,i,s=r.cfg,a=e.cloneNode(!1),o=a.style,c=function(){var t=e.currentSrc||e.src;t&&i!==t&&(i=t,o.backgroundImage="url("+(f.test(t)?JSON.stringify(t):t)+")",n||(n=!0,r.rC(a,s.loadingClass),r.aC(a,s.loadedClass)))},l=function(){r.rAF(c)};e._lazysizesParentFit=t.fit,e.addEventListener("lazyloaded",l,!0),e.addEventListener("load",l,!0),a.addEventListener("load",function(){var e=a.currentSrc||a.src;e&&e!=d&&(a.src=d,a.srcset="")}),r.rAF(function(){var n=e,i=e.parentNode;"PICTURE"==i.nodeName.toUpperCase()&&(n=i,i=i.parentNode),r.rC(a,s.loadedClass),r.rC(a,s.lazyClass),r.aC(a,s.loadingClass),r.aC(a,s.objectFitClass||"lazysizes-display-clone"),a.getAttribute(s.srcsetAttr)&&a.setAttribute(s.srcsetAttr,""),a.getAttribute(s.srcAttr)&&a.setAttribute(s.srcAttr,""),a.src=d,a.srcset="",o.backgroundRepeat="no-repeat",o.backgroundPosition=t.position,o.backgroundSize=t.fit,n.style.display="none",e.setAttribute("data-parent-fit",t.fit),e.setAttribute("data-parent-container","prev"),i.insertBefore(a,n),e._lazysizesParentFit&&delete e._lazysizesParentFit,e.complete&&c()})}var a=t.createElement("a").style,o="objectFit"in a,c=o&&"objectPosition"in a,l=/object-fit["']*\s*:\s*["']*(contain|cover)/,u=/object-position["']*\s*:\s*["']*(.+?)(?=($|,|'|"|;))/,d="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==",f=/\(|\)|'/,m={center:"center","50% 50%":"center"};if(!o||!c){var g=function(e){if(e.detail.instance==r){var t=e.target,n=i(t);!n.fit||o&&"center"==n.position||s(t,n)}};e.addEventListener("lazyunveilread",g,!0),n&&n.detail&&g(n)}}),!function(e,t){var r=function(){t(e.lazySizes),e.removeEventListener("lazyunveilread",r,!0)};t=t.bind(null,e,e.document),"object"==typeof module&&module.exports?t(require("lazysizes")):e.lazySizes?r():e.addEventListener("lazyunveilread",r,!0)}(window,function(e,t,r){"use strict";var n,i,s,a;e.addEventListener&&(n=r&&r.cfg||e.lazySizesConfig||{},i=n.lazyClass||"lazyload",s=function(){var e,n;if("string"==typeof i&&(i=t.getElementsByClassName(i)),r)for(e=0,n=i.length;n>e;e++)r.loader.unveil(i[e])},addEventListener("beforeprint",s,!1),!("onbeforeprint"in e)&&e.matchMedia&&(a=matchMedia("print"))&&a.addListener&&a.addListener(function(){a.matches&&s()}))}),!function(e,t){var r=t(e,e.document);e.lazySizes=r,"object"==typeof module&&module.exports&&(module.exports=r)}(window,function(e,t){"use strict";if(t.getElementsByClassName){var r,n,i=t.documentElement,s=e.Date,a=e.HTMLPictureElement,o="addEventListener",c="getAttribute",l=e[o],u=e.setTimeout,d=e.requestAnimationFrame||u,f=e.requestIdleCallback,m=/^picture$/i,g=["load","error","lazyincluded","_lazyloaded"],p={},h=Array.prototype.forEach,v=function(e,t){return p[t]||(p[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),p[t].test(e[c]("class")||"")&&p[t]},y=function(e,t){v(e,t)||e.setAttribute("class",(e[c]("class")||"").trim()+" "+t)},A=function(e,t){var r;(r=v(e,t))&&e.setAttribute("class",(e[c]("class")||"").replace(r," "))},b=function(e,t,r){var n=r?o:"removeEventListener";r&&b(e,t),g.forEach(function(r){ e[n](r,t)})},z=function(e,n,i,s,a){var o=t.createEvent("CustomEvent");return i||(i={}),i.instance=r,o.initCustomEvent(n,!s,!a,i),e.dispatchEvent(o),o},w=function(t,r){var i;!a&&(i=e.picturefill||n.pf)?(r&&r.src&&!t[c]("srcset")&&t.setAttribute("srcset",r.src),i({reevaluate:!0,elements:[t]})):r&&r.src&&(t.src=r.src)},S=function(e,t){return(getComputedStyle(e,null)||{})[t]},C=function(e,t,r){for(r=r||e.offsetWidth;r49?function(){f(o,{timeout:a}),a!==n.ricTimeout&&(a=n.ricTimeout)}:x(function(){u(o)},!0);return function(e){var n;(e=e===!0)&&(a=33),t||(t=!0,n=i-(s.now()-r),0>n&&(n=0),e||9>n?c():u(c,n))}},k=function(e){var t,r,n=99,i=function(){t=null,e()},a=function(){var e=s.now()-r;n>e?u(a,n-e):(f||i)(i)};return function(){r=s.now(),t||(t=u(a,n))}};!function(){var t,r={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};n=e.lazySizesConfig||e.lazysizesConfig||{};for(t in r)t in n||(n[t]=r[t]);e.lazySizesConfig=n,u(function(){n.init&&T()})}();var I=function(){var a,d,f,g,p,C,I,T,M,j,P,N,O,R,F=/^img$/i,D=/^iframe$/i,W="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),$=0,B=0,q=0,H=-1,U=function(e){q--,e&&e.target&&b(e.target,U),(!e||0>q||!e.target)&&(q=0)},Q=function(e,r){var n,s=e,a="hidden"==S(t.body,"visibility")||"hidden"!=S(e.parentNode,"visibility")&&"hidden"!=S(e,"visibility");for(T-=r,P+=r,M-=r,j+=r;a&&(s=s.offsetParent)&&s!=t.body&&s!=i;)a=(S(s,"opacity")||1)>0,a&&"visible"!=S(s,"overflow")&&(n=s.getBoundingClientRect(),a=j>n.left&&Mn.top-1&&Tq&&(e=v.length)){s=0,H++,null==O&&("expand"in n||(n.expand=i.clientHeight>500&&i.clientWidth>500?500:370),N=n.expand,O=N*n.expFactor),O>B&&1>q&&H>2&&g>2&&!t.hidden?(B=O,H=0):B=g>1&&H>1&&6>q?N:$;for(;e>s;s++)if(v[s]&&!v[s]._lazyRace)if(W)if((p=v[s][c]("data-expand"))&&(f=1*p)||(f=B),h!==f&&(C=innerWidth+f*R,I=innerHeight+f,m=-1*f,h=f),o=v[s].getBoundingClientRect(),(P=o.bottom)>=m&&(T=o.top)<=I&&(j=o.right)>=m*R&&(M=o.left)<=C&&(P||j||M||T)&&(n.loadHidden||"hidden"!=S(v[s],"visibility"))&&(d&&3>q&&!p&&(3>g||4>H)||Q(v[s],f))){if(te(v[s]),u=!0,q>9)break}else!u&&d&&!l&&4>q&&4>H&&g>2&&(a[0]||n.preloadAfterLoad)&&(a[0]||!p&&(P||j||M||T||"auto"!=v[s][c](n.sizesAttr)))&&(l=a[0]||v[s]);else te(v[s]);l&&!u&&te(l)}},G=_(J),V=function(e){y(e.target,n.loadedClass),A(e.target,n.loadingClass),b(e.target,X),z(e.target,"lazyloaded")},K=x(V),X=function(e){K({target:e.target})},Y=function(e,t){try{e.contentWindow.location.replace(t)}catch(r){e.src=t}},Z=function(e){var t,r=e[c](n.srcsetAttr);(t=n.customMedia[e[c]("data-media")||e[c]("media")])&&e.setAttribute("media",t),r&&e.setAttribute("srcset",r)},ee=x(function(e,t,r,i,s){var a,o,l,d,g,p;(g=z(e,"lazybeforeunveil",t)).defaultPrevented||(i&&(r?y(e,n.autosizesClass):e.setAttribute("sizes",i)),o=e[c](n.srcsetAttr),a=e[c](n.srcAttr),s&&(l=e.parentNode,d=l&&m.test(l.nodeName||"")),p=t.firesLoad||"src"in e&&(o||a||d),g={target:e},p&&(b(e,U,!0),clearTimeout(f),f=u(U,2500),y(e,n.loadingClass),b(e,X,!0)),d&&h.call(l.getElementsByTagName("source"),Z),o?e.setAttribute("srcset",o):a&&!d&&(D.test(e.nodeName)?Y(e,a):e.src=a),s&&(o||d)&&w(e,{src:a})),e._lazyRace&&delete e._lazyRace,A(e,n.lazyClass),E(function(){(!p||e.complete&&e.naturalWidth>1)&&(p?U(g):q--,V(g))},!0)}),te=function(e){var t,r=F.test(e.nodeName),i=r&&(e[c](n.sizesAttr)||e[c]("sizes")),s="auto"==i;(!s&&d||!r||!e[c]("src")&&!e.srcset||e.complete||v(e,n.errorClass)||!v(e,n.lazyClass))&&(t=z(e,"lazyunveilread").detail,s&&L.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,q++,ee(e,t,s,i,r))},re=function(){if(!d){if(s.now()-p<999)return void u(re,999);var e=k(function(){n.loadMode=3,G()});d=!0,n.loadMode=3,G(),l("scroll",function(){3==n.loadMode&&(n.loadMode=2),e()},!0)}};return{_:function(){p=s.now(),r.elements=t.getElementsByClassName(n.lazyClass),a=t.getElementsByClassName(n.lazyClass+" "+n.preloadClass),R=n.hFac,l("scroll",G,!0),l("resize",G,!0),e.MutationObserver?new MutationObserver(G).observe(i,{childList:!0,subtree:!0,attributes:!0}):(i[o]("DOMNodeInserted",G,!0),i[o]("DOMAttrModified",G,!0),setInterval(G,999)),l("hashchange",G,!0),["focus","mouseover","click","load","transitionend","animationend","webkitAnimationEnd"].forEach(function(e){t[o](e,G,!0)}),/d$|^c/.test(t.readyState)?re():(l("load",re),t[o]("DOMContentLoaded",G),u(re,2e4)),r.elements.length?(J(),E._lsFlush()):G()},checkElems:G,unveil:te}}(),L=function(){var e,r=x(function(e,t,r,n){var i,s,a;if(e._lazysizesWidth=n,n+="px",e.setAttribute("sizes",n),m.test(t.nodeName||""))for(i=t.getElementsByTagName("source"),s=0,a=i.length;a>s;s++)i[s].setAttribute("sizes",n);r.detail.dataAttr||w(e,r.detail)}),i=function(e,t,n){var i,s=e.parentNode;s&&(n=C(e,s,n),i=z(e,"lazybeforesizes",{width:n,dataAttr:!!t}),i.defaultPrevented||(n=i.detail.width,n&&n!==e._lazysizesWidth&&r(e,s,i,n)))},s=function(){var t,r=e.length;if(r)for(t=0;r>t;t++)i(e[t])},a=k(s);return{_:function(){e=t.getElementsByClassName(n.autosizesClass),l("resize",a)},checkElems:a,updateElem:i}}(),T=function(){T.i||(T.i=!0,L._(),I._())};return r={cfg:n,autoSizer:L,loader:I,init:T,uP:w,aC:y,rC:A,hC:v,fire:z,gW:C,rAF:E}}});var objectFitImages=function(){"use strict";function e(e,t){return"data:image/svg+xml,%3Csvg xmlns='https://www.w3.org/2000/svg' width='"+e+"' height='"+t+"'%3E%3C/svg%3E"}function t(e){if(e.srcset&&!g&&window.picturefill){var t=window.picturefill._;e[t.ns]&&e[t.ns].evaled||t.fillImg(e,{reselect:!0}),e[t.ns].curSrc||(e[t.ns].supported=!1,t.fillImg(e,{reselect:!0})),e.currentSrc=e[t.ns].curSrc||e.src}}function r(e){for(var t,r=getComputedStyle(e).fontFamily,n={};null!==(t=l.exec(r));)n[t[1]]=t[2];return n}function n(t,r,n){var i=e(r||1,n||0);p.call(t,"src")!==i&&h.call(t,"src",i)}function i(e,t){e.naturalWidth?t(e):setTimeout(i,100,e,t)}function s(e){var s=r(e),o=e[c];if(s["object-fit"]=s["object-fit"]||"fill",!o.img){if("fill"===s["object-fit"])return;if(!o.skipTest&&d&&!s["object-position"])return}if(!o.img){o.img=new Image(e.width,e.height),o.img.srcset=p.call(e,"data-ofi-srcset")||e.srcset,o.img.src=p.call(e,"data-ofi-src")||e.src,h.call(e,"data-ofi-src",e.src),e.srcset&&h.call(e,"data-ofi-srcset",e.srcset),n(e,e.naturalWidth||e.width,e.naturalHeight||e.height),e.srcset&&(e.srcset="");try{a(e)}catch(e){window.console&&console.warn("https://bit.ly/ofi-old-browser")}}t(o.img),e.style.backgroundImage='url("'+(o.img.currentSrc||o.img.src).replace(/"/g,'\\"')+'")',e.style.backgroundPosition=s["object-position"]||"center",e.style.backgroundRepeat="no-repeat",e.style.backgroundOrigin="content-box",/scale-down/.test(s["object-fit"])?i(o.img,function(){e.style.backgroundSize=o.img.naturalWidth>e.width||o.img.naturalHeight>e.height?"contain":"auto"}):e.style.backgroundSize=s["object-fit"].replace("none","auto").replace("fill","100% 100%"),i(o.img,function(t){n(e,t.naturalWidth,t.naturalHeight)})}function a(e){var t={get:function(t){return e[c].img[t||"src"]},set:function(t,r){return e[c].img[r||"src"]=t,h.call(e,"data-ofi-"+r,t),s(e),t}};Object.defineProperty(e,"src",t),Object.defineProperty(e,"currentSrc",{get:function(){return t.get("currentSrc")}}),Object.defineProperty(e,"srcset",{get:function(){return t.get("srcset")},set:function(e){return t.set(e,"srcset")}})}function o(e,t){var r=!v&&!e;if(t=t||{},e=e||"img",f&&!t.skipTest||!m)return!1;"img"===e?e=document.getElementsByTagName("img"):"string"==typeof e?e=document.querySelectorAll(e):"length"in e||(e=[e]);for(var n=0;n