/**handles:jquery-mobile,magnific-popup,easypiechart,salvattore**/
((t,o,n)=&gt;{"function"==typeof define&amp;&amp;define.amd?define(["jquery"],function(e){return n(e,t,o),e.mobile}):n(t.jQuery,t,o)})(this,document,function(e,t,o,j){var l=e,z=t,t=o,F=void 0;function p(e){for(;e&amp;&amp;void 0!==e.originalEvent;)e=e.originalEvent;return e}function H(e,t){var o=e.type,n,i,t,s,t,a,r,c,u;if((e=l.Event(e)).type=t,n=e.originalEvent,i=[],-1&lt;o.search(/^(mouse|click)/)&amp;&amp;(i=Z),n)for(r=i.length;r;)e[s=i[--r]]=n[s];if(-1&lt;o.search(/mouse(down|up)|click/)&amp;&amp;!e.which&amp;&amp;(e.which=1),-1!==o.search(/^touch/)&amp;&amp;(o=(t=p(n)).touches,t=t.changedTouches,a=o&amp;&amp;o.length?o[0]:t&amp;&amp;t.length?t[0]:F))for(c=0,u=U.length;c<u>n||Math.abs(t.pageY-_)&gt;n)&amp;&amp;!o&amp;&amp;r("vmousecancel",e,i),r("vmousemove",e,i),a())}function G(e){var t,o,o;b||(n(),r("vmouseup",e,t=s(e.target)),w||(o=r("vclick",e,t))&amp;&amp;o.isDefaultPrevented()&amp;&amp;(o=p(e).changedTouches[0],T.push({touchID:P,x:o.clientX,y:o.clientY}),D=!0),r("vmouseout",e,t),w=!1,a())}function J(e){var t=l.data(e,v),o;if(t)for(o in t)if(t[o])return 1}function K(){}function R(o){var n=o.substr(1);return{setup:function(){var e;J(this)||l.data(this,v,{}),l.data(this,v)[o]=!0,m[o]=(m[o]||0)+1,1===m[o]&amp;&amp;E.on(n,c),l(this).on(n,K),y&amp;&amp;(m.touchstart=(m.touchstart||0)+1,1===m.touchstart)&amp;&amp;E.on("touchstart",u).on("touchend",G).on("touchmove",C).on("scroll",h)},teardown:function(){--m[o],m[o]||E.off(n,c),y&amp;&amp;(--m.touchstart,m.touchstart||E.off("touchstart",u).off("touchmove",C).off("touchend",G).off("scroll",h));var e=l(this),t=l.data(this,v);t&amp;&amp;(t[o]=!1),e.off(n,K),J(this)||e.removeData(v)}}}var v="virtualMouseBindings",f="virtualTouchID",d="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),U="clientX clientY pageX pageY screenX screenY".split(" "),W=l.event.mouseHooks?l.event.mouseHooks.props:[],Z=[],m={},g=0,$=0,_=0,w=!1,T=[],D=!1,b=!1,y="addEventListener"in t,E=l(t),ee=1,P=0,X,Y,k,M,te,I,t,x,S,L,O,t,oe,B;for(l.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500},Y=0;Y&lt;d.length;Y++)l.event.special[d[Y]]=R(d[Y]);function N(e,t,o,n){var i=o.type;o.type=t,n?k.event.trigger(o,te,e):k.event.dispatch.call(e,o),o.type=i}y&amp;&amp;t.addEventListener(&quot;click&quot;,function(e){var t=T.length,o=e.target,n,i,s,a,r,c;if(t)for(n=e.clientX,i=e.clientY,X=l.vmouse.clickDistanceThreshold,s=o;s;){for(a=0;a&lt;t;a++)if(r=T[a],s===o&amp;&amp;Math.abs(r.x-n)&lt;X&amp;&amp;Math.abs(r.y-i)Math.floor(e.pageY)||0===e.pageX&amp;&amp;Math.floor(n)&gt;Math.floor(e.pageX)?(n-=t,i-=o):(i&lt;e.pageY-o||n&lt;e.pageX-t)&amp;&amp;(n=e.pageX-t,i=e.pageY-o),{x:n,y:i}},start:function(e){var t=e.originalEvent.touches?e.originalEvent.touches[0]:e,t=k.event.special.swipe.getLocation(t);return{time:(new Date).getTime(),coords:[t.x,t.y],origin:k(e.target)}},stop:function(e){var e=e.originalEvent.touches?e.originalEvent.touches[0]:e,e=k.event.special.swipe.getLocation(e);return{time:(new Date).getTime(),coords:[e.x,e.y]}},handleSwipe:function(e,t,o,n){var i;return t.time-e.timek.event.special.swipe.horizontalDistanceThreshold&amp;&amp;Math.abs(e.coords[1]-t.coords[1])t.coords[0]?"swipeleft":"swiperight",N(o,"swipe",k.Event("swipe",{target:n,swipestart:e,swipestop:t}),!0),N(o,i,k.Event(i,{target:n,swipestart:e,swipestop:t}),!0),!0)},eventInProgress:!1,setup:function(){var e,s=this,t=k(s),a={},e=k.data(this,"mobile-events");e||k.data(this,"mobile-events",e={length:0}),e.length++,(e.swipe=a).start=function(e){var t,o,n,i;k.event.special.swipe.eventInProgress||(k.event.special.swipe.eventInProgress=!0,o=k.event.special.swipe.start(e),n=e.target,i=!1,a.move=function(e){o&amp;&amp;!e.isDefaultPrevented()&amp;&amp;(t=k.event.special.swipe.stop(e),i||(i=k.event.special.swipe.handleSwipe(o,t,s,n))&amp;&amp;(k.event.special.swipe.eventInProgress=!1),Math.abs(o.coords[0]-t.coords[0])&gt;k.event.special.swipe.scrollSupressionThreshold)&amp;&amp;e.preventDefault()},a.stop=function(){i=!0,k.event.special.swipe.eventInProgress=!1,I.off(O,a.move),a.move=null},I.on(O,a.move).one(L,a.stop))},t.on(S,a.start)},teardown:function(){var e,t,e=k.data(this,"mobile-events");e&amp;&amp;(t=e.swipe,delete e.swipe,e.length--,0===e.length)&amp;&amp;k.removeData(this,"mobile-events"),t&amp;&amp;(t.start&amp;&amp;k(this).off(S,t.start),t.move&amp;&amp;I.off(O,t.move),t.stop)&amp;&amp;I.off(L,t.stop)}},k.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe.left",swiperight:"swipe.right"},function(e,t){k.event.special[e]={setup:function(){k(this).on(t,k.noop)},teardown:function(){k(this).off(t)}}})});
(e=&gt;{"function"==typeof define&amp;&amp;define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):window.jQuery||window.Zepto)})(function(l){var d,o,u,i,p,A,c="Close",H="BeforeClose",j="AfterClose",N="BeforeAppend",f="MarkupParse",m="Open",W="Change",n="mfp",g="."+n,h="mfp-ready",R="mfp-removing",a="mfp-prevent-close",e=function(){},r=!!window.jQuery,v=l(window),y=function(e,t){d.ev.on(n+e+g,t)},C=function(e,t,n,o){var i=document.createElement("div");return i.className="mfp-"+e,n&amp;&amp;(i.innerHTML=n),o?t&amp;&amp;t.appendChild(i):(i=l(i),t&amp;&amp;i.appendTo(t)),i},w=function(e,t){d.ev.triggerHandler(n+e,t),d.st.callbacks&amp;&amp;(e=e.charAt(0).toLowerCase()+e.slice(1),d.st.callbacks[e])&amp;&amp;d.st.callbacks[e].apply(d,Array.isArray(t)?t:[t])},b=function(e){return e===A&amp;&amp;d.currTemplate.closeBtn||(d.currTemplate.closeBtn=l(d.st.closeMarkup.replace("%title%",d.st.tClose)),A=e),d.currTemplate.closeBtn},s=function(){l.magnificPopup.instance||((d=new e).init(),l.magnificPopup.instance=d)},Z=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1};l.magnificPopup={instance:null,proto:e.prototype={constructor:e,init:function(){var e=navigator.appVersion;d.isIE7=-1!==e.indexOf("MSIE 7."),d.isIE8=-1!==e.indexOf("MSIE 8."),d.isLowIE=d.isIE7||d.isIE8,d.isAndroid=/android/gi.test(e),d.isIOS=/iphone|ipad|ipod/gi.test(e),d.supportsTransition=Z(),d.probablyMobile=d.isAndroid||d.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),u=l(document),d.popupsCache={}},open:function(e){var t;if(!1===e.isObj){d.items=e.items.toArray(),d.index=0;for(var n,o=e.items,t=0;t&lt;o.length;t++)if((n=(n=o[t]).parsed?n.el[0]:n)===e.el[0]){d.index=t;break}}else d.items=Array.isArray(e.items)?e.items:[e.items],d.index=e.index||0;if(!d.isOpen){d.types=[],p=&quot;&quot;,e.mainEl&amp;&amp;e.mainEl.length?d.ev=e.mainEl.eq(0):d.ev=u,e.key?(d.popupsCache[e.key]||(d.popupsCache[e.key]={}),d.currTemplate=d.popupsCache[e.key]):d.currTemplate={},d.st=l.extend(!0,{},l.magnificPopup.defaults,e),d.fixedContentPos=&quot;auto&quot;===d.st.fixedContentPos?!d.probablyMobile:d.st.fixedContentPos,d.st.modal&amp;&amp;(d.st.closeOnContentClick=!1,d.st.closeOnBgClick=!1,d.st.showCloseBtn=!1,d.st.enableEscapeKey=!1),d.bgOverlay||(d.bgOverlay=C(&quot;bg&quot;).on(&quot;click&quot;+g,function(){d.close()}),d.wrap=C(&quot;wrap&quot;).attr(&quot;tabindex&quot;,-1).on(&quot;click&quot;+g,function(e){d._checkIfClose(e.target)&amp;&amp;d.close()}),d.container=C(&quot;container&quot;,d.wrap)),d.contentContainer=C(&quot;content&quot;),d.st.preloader&amp;&amp;(d.preloader=C(&quot;preloader&quot;,d.container,d.st.tLoading));var i=l.magnificPopup.modules;for(t=0;t&lt;i.length;t++){var r,r=(r=i[t]).charAt(0).toUpperCase()+r.slice(1);d[&quot;init&quot;+r].call(d)}w(&quot;BeforeOpen&quot;),d.st.showCloseBtn&amp;&amp;(d.st.closeBtnInside?(y(f,function(e,t,n,o){n.close_replaceWith=b(o.type)}),p+=&quot; mfp-close-btn-in&quot;):d.wrap.append(b())),d.st.alignTop&amp;&amp;(p+=&quot; mfp-align-top&quot;),d.fixedContentPos?d.wrap.css({overflow:d.st.overflowY,overflowX:&quot;hidden&quot;,overflowY:d.st.overflowY}):d.wrap.css({top:v.scrollTop()+&quot;px&quot;,position:&quot;absolute&quot;}),!1!==d.st.fixedBgPos&amp;&amp;(&quot;auto&quot;!==d.st.fixedBgPos||d.fixedContentPos)||d.bgOverlay.css({height:u.height()+&quot;px&quot;,position:&quot;absolute&quot;}),d.st.enableEscapeKey&amp;&amp;u.on(&quot;keyup&quot;+g,function(e){27===e.keyCode&amp;&amp;d.close()}),v.on(&quot;resize&quot;+g,function(){d.updateSize()}),d.st.closeOnContentClick||(p+=&quot; mfp-auto-cursor&quot;),p&amp;&amp;d.wrap.addClass(p);var a=d.wH=v.height(),s={},c,c=(d.fixedContentPos&amp;&amp;d._hasScrollBar(a)&amp;&amp;(c=d._getScrollbarSize())&amp;&amp;(s.marginRight=c),d.fixedContentPos&amp;&amp;(d.isIE7?l(&quot;body, html&quot;).css(&quot;overflow&quot;,&quot;hidden&quot;):s.overflow=&quot;hidden&quot;),d.st.mainClass);return d.isIE7&amp;&amp;(c+=&quot; mfp-ie7&quot;),c&amp;&amp;d._addClassToMFP(c),d.updateItemHTML(),w(&quot;BuildControls&quot;),l(&quot;html&quot;).css(s),d.bgOverlay.add(d.wrap).prependTo(d.st.prependTo||l(document.body)),d._lastFocusedEl=document.activeElement,setTimeout(function(){d.content?(d._addClassToMFP(h),d._setFocus()):d.bgOverlay.addClass(h),u.on(&quot;focusin&quot;+g,d._onFocusIn)},16),d.isOpen=!0,d.updateSize(a),w(m),e}d.updateItemHTML()},close:function(){d.isOpen&amp;&amp;(w(H),d.isOpen=!1,d.st.removalDelay&amp;&amp;!d.isLowIE&amp;&amp;d.supportsTransition?(d._addClassToMFP(R),setTimeout(function(){d._close()},d.st.removalDelay)):d._close())},_close:function(){w(c);var e=R+&quot; &quot;+h+&quot; &quot;,e;d.bgOverlay.detach(),d.wrap.detach(),d.container.empty(),d.st.mainClass&amp;&amp;(e+=d.st.mainClass+&quot; &quot;),d._removeClassFromMFP(e),d.fixedContentPos&amp;&amp;(e={marginRight:&quot;&quot;},d.isIE7?l(&quot;body, html&quot;).css(&quot;overflow&quot;,&quot;&quot;):e.overflow=&quot;&quot;,l(&quot;html&quot;).css(e)),u.off(&quot;keyup.mfp focusin&quot;+g),d.ev.off(g),d.wrap.attr(&quot;class&quot;,&quot;mfp-wrap&quot;).removeAttr(&quot;style&quot;),d.bgOverlay.attr(&quot;class&quot;,&quot;mfp-bg&quot;),d.container.attr(&quot;class&quot;,&quot;mfp-container&quot;),!d.st.showCloseBtn||d.st.closeBtnInside&amp;&amp;!0!==d.currTemplate[d.currItem.type]||d.currTemplate.closeBtn&amp;&amp;d.currTemplate.closeBtn.detach(),d.st.autoFocusLast&amp;&amp;d._lastFocusedEl&amp;&amp;l(d._lastFocusedEl).trigger(&quot;focus&quot;),d.currItem=null,d.content=null,d.currTemplate=null,d.prevHeight=0,w(j)},updateSize:function(e){var t,t;d.isIOS?(t=document.documentElement.clientWidth/window.innerWidth,d.wrap.css(&quot;height&quot;,(t=window.innerHeight*t)+&quot;px&quot;),d.wH=t):d.wH=e||v.height(),d.fixedContentPos||d.wrap.css(&quot;height&quot;,d.wH+&quot;px&quot;),w(&quot;Resize&quot;)},updateItemHTML:function(){var e=d.items[d.index],t=(d.contentContainer.detach(),d.content&amp;&amp;d.content.detach(),(e=e.parsed?e:d.parseEl(d.index)).type),n,n=(w(&quot;BeforeChange&quot;,[d.currItem?d.currItem.type:&quot;&quot;,t]),d.currItem=e,d.currTemplate[t]||(n=!!d.st[t]&amp;&amp;d.st[t].markup,w(&quot;FirstMarkupParse&quot;,n),d.currTemplate[t]=!n||l(n)),i&amp;&amp;i!==e.type&amp;&amp;d.container.removeClass(&quot;mfp-&quot;+i+&quot;-holder&quot;),d[&quot;get&quot;+t.charAt(0).toUpperCase()+t.slice(1)](e,d.currTemplate[t]));d.appendContent(n,t),e.preloaded=!0,w(W,e),i=e.type,d.container.prepend(d.contentContainer),w(&quot;AfterChange&quot;)},appendContent:function(e,t){(d.content=e)?d.st.showCloseBtn&amp;&amp;d.st.closeBtnInside&amp;&amp;!0===d.currTemplate[t]?d.content.find(&quot;.mfp-close&quot;).length||d.content.append(b()):d.content=e:d.content=&quot;&quot;,w(N),d.container.addClass(&quot;mfp-&quot;+t+&quot;-holder&quot;),d.contentContainer.append(d.content)},parseEl:function(e){var t,n=d.items[e],n;if((n=n.tagName?{el:l(n)}:(t=n.type,{data:n,src:n.src})).el){for(var o=d.types,i=0;i&lt;o.length;i++)if(n.el.hasClass(&quot;mfp-&quot;+o[i])){t=o[i];break}n.src=n.el.attr(&quot;data-mfp-src&quot;),n.src||(n.src=n.el.attr(&quot;href&quot;))}return n.type=t||d.st.type||&quot;inline&quot;,n.index=e,n.parsed=!0,d.items[e]=n,w(&quot;ElementParse&quot;,n),d.items[e]},addGroup:function(t,n){var e=function(e){e.mfpEl=this,d._openClick(e,t,n)},o=&quot;click.magnificPopup&quot;;(n=n||{}).mainEl=t,n.items?(n.isObj=!0,t.off(o).on(o,e)):(n.isObj=!1,n.delegate?t.off(o).on(o,n.delegate,e):(n.items=t).off(o).on(o,e))},_openClick:function(e,t,n){var o;if((void 0!==n.midClick?n:l.magnificPopup.defaults).midClick||!(2===e.which||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey)){var i=(void 0!==n.disableOn?n:l.magnificPopup.defaults).disableOn;if(i)if(&quot;function&quot;==typeof i){if(!i.call(d))return!0}else if(v.width()<i>(e||v.height())},_setFocus:function(){(d.st.focus?d.content.find(d.st.focus).eq(0):d.wrap).trigger("focus")},_onFocusIn:function(e){return e.target===d.wrap[0]||l.contains(d.wrap[0],e.target)?void 0:(d._setFocus(),!1)},_parseMarkup:function(i,e,t){var r;t.data&amp;&amp;(e=l.extend(t.data,e)),w(f,[i,e,t]),l.each(e,function(e,t){if(void 0===t||!1===t)return!0;var n,o;1&lt;(r=e.split(&quot;_&quot;)).length?0&lt;(n=i.find(g+&quot;-&quot;+r[0])).length&amp;&amp;(&quot;replaceWith&quot;===(o=r[1])?n[0]!==t[0]&amp;&amp;n.replaceWith(t):&quot;img&quot;===o?n.is(&quot;img&quot;)?n.attr(&quot;src&quot;,t):n.replaceWith(&#039;<img src="'+t+'" />'):n.attr(r[1],t)):i.find(g+"-"+e).html(t)})},_getScrollbarSize:function(){var e;return void 0===d.scrollbarSize&amp;&amp;((e=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),d.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)),d.scrollbarSize}},modules:[],open:function(e,t){return s(),(e=e?l.extend(!0,{},e):{}).isObj=!0,e.index=t||0,this.instance.open(e)},close:function(){return l.magnificPopup.instance&amp;&amp;l.magnificPopup.instance.close()},registerModule:function(e,t){t.options&amp;&amp;(l.magnificPopup.defaults[e]=t.options),l.extend(this.proto,t.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&#215;</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},l.fn.magnificPopup=function(e){s();var t=l(this),n,o,i,n;return"string"==typeof e?"open"===e?(o=r?t.data("magnificPopup"):t[0].magnificPopup,i=parseInt(arguments[1],10)||0,n=o.items?o.items[i]:(n=t,(n=o.delegate?n.find(o.delegate):n).eq(i)),d._openClick({mfpEl:n},t,o)):d.isOpen&amp;&amp;d[e].apply(d,Array.prototype.slice.call(arguments,1)):(e=l.extend(!0,{},e),r?t.data("magnificPopup",e):t[0].magnificPopup=e,d.addGroup(t,e)),t};var I,x,k,t="inline",q=function(){k&amp;&amp;(x.after(k.addClass(I)).detach(),k=null)};l.magnificPopup.registerModule(t,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){d.types.push(t),y(c+"."+t,function(){q()})},getInline:function(e,t){var n,o,i;return q(),e.src?(n=d.st.inline,(o=l(e.src)).length?((i=o[0].parentNode)&amp;&amp;i.tagName&amp;&amp;(x||(I=n.hiddenClass,x=C(I),I="mfp-"+I),k=o.after(x).detach().removeClass(I)),d.updateStatus("ready")):(d.updateStatus("error",n.tNotFound),o=l("<div>")),e.inlineElement=o):(d.updateStatus("ready"),d._parseMarkup(t,{},e),t)}}});var T,_="ajax",E=function(){T&amp;&amp;l(document.body).removeClass(T)},K=function(){E(),d.req&amp;&amp;d.req.abort()};l.magnificPopup.registerModule(_,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){d.types.push(_),T=d.st.ajax.cursor,y(c+"."+_,K),y("BeforeChange."+_,K)},getAjax:function(o){T&amp;&amp;l(document.body).addClass(T),d.updateStatus("loading");var e=l.extend({url:o.src,success:function(e,t,n){var e={data:e,xhr:n};w("ParseAjax",e),d.appendContent(l(e.data),_),o.finished=!0,E(),d._setFocus(),setTimeout(function(){d.wrap.addClass(h)},16),d.updateStatus("ready"),w("AjaxContentAdded")},error:function(){E(),o.finished=o.loadError=!0,d.updateStatus("error",d.st.ajax.tError.replace("%url%",o.src))}},d.st.ajax.settings);return d.req=l.ajax(e),""}}});var S,D=function(e){if(e.data&amp;&amp;void 0!==e.data.title)return e.data.title;var t=d.st.image.titleSrc;if(t){if("function"==typeof t)return t.call(d,e);if(e.el)return e.el.attr(t)||""}return""};l.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var e=d.st.image,t=".image";d.types.push("image"),y(m+t,function(){"image"===d.currItem.type&amp;&amp;e.cursor&amp;&amp;l(document.body).addClass(e.cursor)}),y(c+t,function(){e.cursor&amp;&amp;l(document.body).removeClass(e.cursor),v.off("resize"+g)}),y("Resize"+t,d.resizeImage),d.isLowIE&amp;&amp;y("AfterChange",d.resizeImage)},resizeImage:function(){var e=d.currItem,t;e&amp;&amp;e.img&amp;&amp;d.st.image.verticalFit&amp;&amp;(t=0,d.isLowIE&amp;&amp;(t=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",d.wH-t+"px"))},_onImageHasSize:function(e){e.img&amp;&amp;(e.hasSize=!0,S&amp;&amp;clearInterval(S),e.isCheckingImgSize=!1,w("ImageHasSize",e),e.imgHidden)&amp;&amp;(d.content&amp;&amp;d.content.removeClass("mfp-loading"),e.imgHidden=!1)},findImageSize:function(t){var n=0,o=t.img[0],i=function(e){S&amp;&amp;clearInterval(S),S=setInterval(function(){return 0&lt;o.naturalWidth?void d._onImageHasSize(t):(200&lt;n&amp;&amp;clearInterval(S),void(3===++n?i(10):40===n?i(50):100===n&amp;&amp;i(500)))},e)};i(1)},getImage:function(e,t){var n=0,o=function(){e&amp;&amp;(e.img[0].complete?(e.img.off(&quot;.mfploader&quot;),e===d.currItem&amp;&amp;(d._onImageHasSize(e),d.updateStatus(&quot;ready&quot;)),e.hasSize=!0,e.loaded=!0,w(&quot;ImageLoadComplete&quot;)):++n&lt;200?setTimeout(o,100):i())},i=function(){e&amp;&amp;(e.img.off(&quot;.mfploader&quot;),e===d.currItem&amp;&amp;(d._onImageHasSize(e),d.updateStatus(&quot;error&quot;,r.tError.replace(&quot;%url%&quot;,e.src))),e.hasSize=!0,e.loaded=!0,e.loadError=!0)},r=d.st.image,a=t.find(&quot;.mfp-img&quot;),s;return a.length&amp;&amp;((s=document.createElement(&quot;img&quot;)).className=&quot;mfp-img&quot;,e.el&amp;&amp;e.el.find(&quot;img&quot;).length&amp;&amp;(s.alt=e.el.find(&quot;img&quot;).attr(&quot;alt&quot;)),e.img=l(s).on(&quot;load.mfploader&quot;,o).on(&quot;error.mfploader&quot;,i),s.src=e.src,a.is(&quot;img&quot;)&amp;&amp;(e.img=e.img.clone()),0&lt;(s=e.img[0]).naturalWidth?e.hasSize=!0:s.width||(e.hasSize=!1)),d._parseMarkup(t,{title:D(e),img_replaceWith:e.img},e),d.resizeImage(),e.hasSize?(S&amp;&amp;clearInterval(S),e.loadError?(t.addClass(&quot;mfp-loading&quot;),d.updateStatus(&quot;error&quot;,r.tError.replace(&quot;%url%&quot;,e.src))):(t.removeClass(&quot;mfp-loading&quot;),d.updateStatus(&quot;ready&quot;))):(d.updateStatus(&quot;loading&quot;),e.loading=!0,e.hasSize||(e.imgHidden=!0,t.addClass(&quot;mfp-loading&quot;),d.findImageSize(e))),t}}});var P,Y=function(){return P=void 0===P?void 0!==document.createElement(&quot;p&quot;).style.MozTransform:P},z=(l.magnificPopup.registerModule(&quot;zoom&quot;,{options:{enabled:!1,easing:&quot;ease-in-out&quot;,duration:300,opener:function(e){return e.is(&quot;img&quot;)?e:e.find(&quot;img&quot;)}},proto:{initZoom:function(){var e,i=d.st.zoom,t=&quot;.zoom&quot;,n,o,r,a,s;i.enabled&amp;&amp;d.supportsTransition&amp;&amp;(r=i.duration,a=function(e){var e=e.clone().removeAttr(&quot;style&quot;).removeAttr(&quot;class&quot;).addClass(&quot;mfp-animated-image&quot;),t=&quot;all &quot;+i.duration/1e3+&quot;s &quot;+i.easing,n={position:&quot;fixed&quot;,zIndex:9999,left:0,top:0,&quot;-webkit-backface-visibility&quot;:&quot;hidden&quot;},o=&quot;transition&quot;;return n[&quot;-webkit-&quot;+o]=n[&quot;-moz-&quot;+o]=n[&quot;-o-&quot;+o]=n[o]=t,e.css(n),e},s=function(){d.content.css(&quot;visibility&quot;,&quot;visible&quot;)},y(&quot;BuildControls&quot;+t,function(){d._allowZoom()&amp;&amp;(clearTimeout(n),d.content.css(&quot;visibility&quot;,&quot;hidden&quot;),(e=d._getItemToZoom())?((o=a(e)).css(d._getOffset()),d.wrap.append(o),n=setTimeout(function(){o.css(d._getOffset(!0)),n=setTimeout(function(){s(),setTimeout(function(){o.remove(),e=o=null,w(&quot;ZoomAnimationEnded&quot;)},16)},r)},16)):s())}),y(H+t,function(){if(d._allowZoom()){if(clearTimeout(n),d.st.removalDelay=r,!e){if(!(e=d._getItemToZoom()))return;o=a(e)}o.css(d._getOffset(!0)),d.wrap.append(o),d.content.css(&quot;visibility&quot;,&quot;hidden&quot;),setTimeout(function(){o.css(d._getOffset())},16)}}),y(c+t,function(){d._allowZoom()&amp;&amp;(s(),o&amp;&amp;o.remove(),e=null)}))},_allowZoom:function(){return&quot;image&quot;===d.currItem.type},_getItemToZoom:function(){return!!d.currItem.hasSize&amp;&amp;d.currItem.img},_getOffset:function(e){var e,e=e?d.currItem.img:d.st.zoom.opener(d.currItem.el||d.currItem),t=e.offset(),n=parseInt(e.css(&quot;padding-top&quot;),10),o=parseInt(e.css(&quot;padding-bottom&quot;),10),e=(t.top-=l(window).scrollTop()-n,{width:e.width()+&quot;px&quot;,height:(r?e.innerHeight():e[0].offsetHeight)-o-n+&quot;px&quot;});return Y()?e[&quot;-moz-transform&quot;]=e.transform=&quot;translate(&quot;+t.left+&quot;px,&quot;+t.top+&quot;px)&quot;:(e.left=t.left,e.top=t.top),e}}}),&quot;iframe&quot;),U=&quot;//about:blank&quot;,O=function(e){var t;d.currTemplate[z]&amp;&amp;(t=d.currTemplate[z].find(&quot;iframe&quot;)).length&amp;&amp;(e||(t[0].src=U),d.isIE8)&amp;&amp;t.css(&quot;display&quot;,e?&quot;block&quot;:&quot;none&quot;)},M=(l.magnificPopup.registerModule(z,{options:{markup:&#039;<div class="mfp-iframe-scaler"><div class="mfp-close"></div></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&amp;output=embed"}}},proto:{initIframe:function(){d.types.push(z),y("BeforeChange",function(e,t,n){t!==n&amp;&amp;(t===z?O():n===z&amp;&amp;O(!0))}),y(c+"."+z,function(){O()})},getIframe:function(e,t){var n=e.src,o=d.st.iframe,i=(l.each(o.patterns,function(){return-1&lt;n.indexOf(this.index)?(this.id&amp;&amp;(n=&quot;string&quot;==typeof this.id?n.substr(n.lastIndexOf(this.id)+this.id.length,n.length):this.id.call(this,n)),n=this.src.replace(&quot;%id%&quot;,n),!1):void 0}),{});return o.srcAction&amp;&amp;(i[o.srcAction]=n),d._parseMarkup(t,i,e),d.updateStatus(&quot;ready&quot;),t}}}),function(e){var t=d.items.length;return t-1&lt;e?e-t:e&lt;0?t+e:e}),G=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)},B=(l.magnificPopup.registerModule(&quot;gallery&quot;,{options:{enabled:!1,arrowMarkup:&#039;<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var r=d.st.gallery,e=".mfp-gallery",o=Boolean(l.fn.mfpFastClick);return d.direction=!0,!(!r||!r.enabled)&amp;&amp;(p+=" mfp-gallery",y(m+e,function(){r.navigateByImgClick&amp;&amp;d.wrap.on("click"+e,".mfp-img",function(){return 1&lt;d.items.length?(d.next(),!1):void 0}),u.on(&quot;keydown&quot;+e,function(e){37===e.keyCode?d.prev():39===e.keyCode&amp;&amp;d.next()})}),y(&quot;UpdateStatus&quot;+e,function(e,t){t.text&amp;&amp;(t.text=G(t.text,d.currItem.index,d.items.length))}),y(f+e,function(e,t,n,o){var i=d.items.length;n.counter=1&lt;i?G(r.tCounter,o.index,i):&quot;&quot;}),y(&quot;BuildControls&quot;+e,function(){var e,t,e,n;1=d.index,d.index=e,d.updateItemHTML()},preloadNearbyImages:function(){for(var e,t=d.st.gallery.preload,n=Math.min(t[0],d.items.length),o=Math.min(t[1],d.items.length),e=1;e&lt;=(d.direction?o:n);e++)d._preloadItem(d.index+e);for(e=1;e&lt;=(d.direction?n:o);e++)d._preloadItem(d.index-e)},_preloadItem:function(e){var t;e=M(e),d.items[e].preloaded||((t=d.items[e]).parsed||(t=d.parseEl(e)),w(&quot;LazyLoad&quot;,t),&quot;image&quot;===t.type&amp;&amp;(t.img=l(&#039;<img class="mfp-img" />').on("load.mfploader",function(){t.hasSize=!0}).on("error.mfploader",function(){t.hasSize=!0,t.loadError=!0,w("LazyLoadError",t)}).attr("src",t.src)),t.preloaded=!0)}}}),"retina"),X,F,Q,V,L;l.magnificPopup.registerModule(B,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){var n,o,o;1&lt;window.devicePixelRatio&amp;&amp;(n=d.st.retina,o=n.ratio,1&lt;(o=isNaN(o)?o():o))&amp;&amp;(y(&quot;ImageHasSize.&quot;+B,function(e,t){t.img.css({&quot;max-width&quot;:t.img[0].naturalWidth/o+&quot;px&quot;,width:&quot;100%&quot;})}),y(&quot;ElementParse.&quot;+B,function(e,t){t.src=n.replaceSrc(t,o)}))}}}),X=1e3,F=&quot;ontouchstart&quot;in window,Q=function(){v.off(&quot;touchmove&quot;+L+&quot; touchend&quot;+L)},L=&quot;.&quot;+&quot;mfpFastClick&quot;,l.fn.mfpFastClick=function(c){return l(this).each(function(){var t,e=l(this),n,o,i,r,a,s;F&amp;&amp;e.on(&quot;touchstart&quot;+L,function(e){r=!1,s=1,a=(e.originalEvent||e).touches[0],o=a.clientX,i=a.clientY,v.on(&quot;touchmove&quot;+L,function(e){a=(e.originalEvent||e).touches,s=a.length,a=a[0],(10&lt;Math.abs(a.clientX-o)||10&lt;Math.abs(a.clientY-i))&amp;&amp;(r=!0,Q())}).on(&quot;touchend&quot;+L,function(e){Q(),r||1<s>{"object"==typeof exports?module.exports=t(require("jquery")):"function"==typeof define&amp;&amp;define.amd?define(["jquery"],t):t(e.jQuery)})(this,function(a){var o=function(e,o){var a,t=document.createElement("canvas"),r=(e.appendChild(t),"undefined"!=typeof G_vmlCanvasManager&amp;&amp;G_vmlCanvasManager.initElement(t),t.getContext("2d")),n=(t.width=t.height=o.size,1),s=(1&lt;window.devicePixelRatio&amp;&amp;(n=window.devicePixelRatio,t.style.width=t.style.height=[o.size,&quot;px&quot;].join(&quot;&quot;),t.width=t.height=o.size*n,r.scale(n,n)),r.translate(o.size/2,o.size/2),r.rotate((o.rotate/180-.5)*Math.PI),(o.size-o.lineWidth)/2),i=(o.scaleColor&amp;&amp;o.scaleLength&amp;&amp;(s-=o.scaleLength+2),Date.now=Date.now||function(){return+new Date},function(e,t,a,n){var i=(a=Math.min(Math.max(-1,a||0),1))&lt;=0;r.beginPath(),r.arc(0,0,s,0,2*Math.PI*a,i),r.strokeStyle=e,r.globalAlpha=n,r.lineWidth=t,r.stroke()}),d=function(){var e,t;r.lineWidth=1,r.fillStyle=o.scaleColor,r.save();for(var a=24;0<a>=o.animate.duration?o.onStop(a,n):h(r)}.bind(this));h(r)}.bind(this)},n=function(t,a){var n={barColor:"#ef1e25",barAlpha:1,trackColor:"#f9f9f9",trackAlpha:1,scaleColor:"#dfe0e0",scaleLength:5,lineCap:"round",lineWidth:3,size:110,rotate:0,render:!0,animate:{duration:1e3,enabled:!0},easing:function(e,t,a,n,i){return(t/=i/2){"function"==typeof define&amp;&amp;define.amd?define([],t):"object"==typeof exports?module.exports=t():e.salvattore=t()})(this,function(){window.matchMedia||(window.matchMedia=((r=window.styleMedia||window.media)||(u=document.createElement("style"),d=document.getElementsByTagName("script")[0],m=null,u.type="text/css",u.id="matchmediajs-test",d.parentNode.insertBefore(u,d),m="getComputedStyle"in window&amp;&amp;window.getComputedStyle(u,null)||u.currentStyle,r={matchMedium:function(e){var e="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return u.styleSheet?u.styleSheet.cssText=e:u.textContent=e,"1px"===m.width}}),function(e){return{matches:r.matchMedium(e||"all"),media:e||"all"}})),window.matchMedia&amp;&amp;window.matchMedia("all").addListener||(i=(l=window.matchMedia)("only all").matches,o=!1,n=0,c=[],s=function(){clearTimeout(n),n=setTimeout(function(){for(var e=0,t=c.length;e&lt;t;e++){var n=c[e].mql,r=c[e].listeners||[],a=l(n.media).matches;if(a!==n.matches){n.matches=a;for(var i=0,o=r.length;i&lt;o;i++)r[i].call(window,n)}}},30)},window.matchMedia=function(e){var t=l(e),r=[],n=0;return t.addListener=function(e){i&amp;&amp;(o||(o=!0,window.addEventListener(&quot;resize&quot;,s,!0)),0===n&amp;&amp;(n=c.push({mql:t,listeners:r})),r.push(e))},t.removeListener=function(e){for(var t=0,n=r.length;t&lt;n;t++)r[t]===e&amp;&amp;r.splice(t,1)},t});for(var a=0,e=[&quot;ms&quot;,&quot;moz&quot;,&quot;webkit&quot;,&quot;o&quot;],t=0,l,i,o,n,c,s,r,u,d,m,f,h,p,y,w,C,g,v;t *:nth-child("+a+"n-"+c+")"));o.forEach(function(e){var t=p.createElement("div"),n=p.createDocumentFragment();t.className=i.join(" "),Array.prototype.forEach.call(e,function(e){n.appendChild(e)}),t.appendChild(n),l.appendChild(t)}),e.appendChild(l),v(e,"columns",a)},removeColumns:function(e){var t=p.createRange(),e=(t.selectNodeContents(e),Array.prototype.filter.call(t.extractContents().childNodes,function(e){return e instanceof h.HTMLElement})),r=e.length,t=e[0].childNodes.length,a=new Array(t*r),n=(Array.prototype.forEach.call(e,function(e,n){Array.prototype.forEach.call(e.children,function(e,t){a[t*r+n]=e})}),p.createElement("div"));return v(n,"columns",0),a.filter(function(e){return!!e}).forEach(function(e){n.appendChild(e)}),n},recreateColumns:function(t){h.requestAnimationFrame(function(){y.addColumns(t,y.removeColumns(t));var e=new CustomEvent("columnsChange");t.dispatchEvent(e)})},mediaQueryChange:function(e){e.matches&amp;&amp;Array.prototype.forEach.call(w,y.recreateColumns)},getCSSRules:function(e){var t;try{t=e.sheet.cssRules||e.sheet.rules}catch(e){return[]}return t||[]},getStylesheets:function(){return Array.prototype.concat.call(Array.prototype.slice.call(p.querySelectorAll("style[type='text/css']")),Array.prototype.slice.call(p.querySelectorAll("link[rel='stylesheet']")))},mediaRuleHasColumnsSelector:function(e){var t,n;try{t=e.length}catch(e){t=0}for(;t--;)if((n=e[t]).selectorText&amp;&amp;n.selectorText.match(/\[data-columns\](.*)::?before$/))return!0;return!1},scanMediaQueries:function(){var t=[],n;h.matchMedia&amp;&amp;(y.getStylesheets().forEach(function(e){Array.prototype.forEach.call(y.getCSSRules(e),function(e){e.media&amp;&amp;e.cssRules&amp;&amp;y.mediaRuleHasColumnsSelector(e.cssRules)&amp;&amp;t.push(e)})}),n=C.filter(function(e){return-1===t.indexOf(e)}),g.filter(function(e){return-1!==n.indexOf(e.rule)}).forEach(function(e){e.mql.removeListener(y.mediaQueryChange)}),g=g.filter(function(e){return-1===n.indexOf(e.rule)}),t.filter(function(e){return-1==C.indexOf(e)}).forEach(function(e){var t=h.matchMedia(e.media.mediaText);t.addListener(y.mediaQueryChange),g.push({rule:e,mql:t})}),C.length=0,C=t)},rescanMediaQueries:function(){y.scanMediaQueries(),Array.prototype.forEach.call(w,y.recreateColumns)},nextElementColumnIndex:function(e,t){for(var n,r,a,i=e.children,o=i.length,l=0,c=0,a=0;a&lt;o;a++)(r=(n=i[a]).children.length+(t[a].children||t[a].childNodes).length)&lt;(l=0===l?r:l)&amp;&amp;(c=a,l=r);return c},createFragmentsList:function(e){for(var t=new Array(e),n=0;n!==e;)t[n]=p.createDocumentFragment(),n++;return t},appendElements:function(n,e){var t=n.children,r=t.length,a=y.createFragmentsList(r);Array.prototype.forEach.call(e,function(e){var t=y.nextElementColumnIndex(n,a);a[t].appendChild(e)}),Array.prototype.forEach.call(t,function(e,t){e.appendChild(a[t])})},prependElements:function(e,t){var n=e.children,r=n.length,a=y.createFragmentsList(r),i=r-1;t.forEach(function(e){var t=a[i];t.insertBefore(e,t.firstChild),0===i?i=r-1:i--}),Array.prototype.forEach.call(n,function(e,t){e.insertBefore(a[t],e.firstChild)});for(var o=p.createDocumentFragment(),l=t.length%r;0!=l--;)o.appendChild(e.lastChild);e.insertBefore(o,e.firstChild)},registerGrid:function(e){var t,n;&quot;none&quot;===h.getComputedStyle(e).display||0&lt;jQuery(e).children(&quot;.column&quot;).length||((t=p.createRange()).selectNodeContents(e),(n=p.createElement(&quot;div&quot;)).appendChild(t.extractContents()),v(n,&quot;columns&quot;,0),y.addColumns(e,n),w.push(e))},init:function(){var e=p.createElement(&quot;style&quot;),e=(e.innerHTML=&quot;[data-columns]::before{visibility:hidden;position:absolute;font-size:1px;}&quot;,p.head.appendChild(e),p.querySelectorAll(&quot;[data-columns]&quot;));Array.prototype.forEach.call(e,y.registerGrid),y.scanMediaQueries()}}).init(),{appendElements:y.appendElements,prependElements:y.prependElements,registerGrid:y.registerGrid,recreateColumns:y.recreateColumns,rescanMediaQueries:y.rescanMediaQueries,append_elements:y.appendElements,prepend_elements:y.prependElements,register_grid:y.registerGrid,recreate_columns:y.recreateColumns,rescan_media_queries:y.rescanMediaQueries}});