1!function(e){var t,n,i,o,r="mmenu",a="5.6.4";e[r]&&e[r].version>a||(e[r]=function(e,t,n){this.$menu=e,this._api=["bind","init","update","setSelected","getInstance","openPanel","closePanel","closeAllPanels"],this.opts=t,this.conf=n,this.vars={},this.cbck={},"function"==typeof this.___deprecated&&this.___deprecated(),this._initMenu(),this._initAnchors();var i=this.$pnls.children();return this._initAddons(),this.init(i),"function"==typeof this.___debug&&this.___debug(),this},e[r].version=a,e[r].addons={},e[r].uniqueId=0,e[r].defaults={extensions:[],navbar:{add:!0,title:"Menu",titleLink:"panel"},onClick:{setSelected:!0},slidingSubmenus:!0},e[r].configuration={classNames:{divider:"Divider",inset:"Inset",panel:"Panel",selected:"Selected",spacer:"Spacer",vertical:"Vertical"},clone:!1,openingInterval:25,panelNodetype:"ul, ol, div",transitionDuration:400},e[r].prototype={init:function(e){e=e.not("."+t.nopanel),e=this._initPanels(e),this.trigger("init",e),this.trigger("update")},update:function(){this.trigger("update")},setSelected:function(e){this.$menu.find("."+t.listview).children().removeClass(t.selected),e.addClass(t.selected),this.trigger("setSelected",e)},openPanel:function(n){var i=n.parent(),o=this;if(i.hasClass(t.vertical)){var a=i.parents("."+t.subopened);if(a.length)return void this.openPanel(a.first());i.addClass(t.opened),this.trigger("openPanel",n),this.trigger("openingPanel",n),this.trigger("openedPanel",n)}else{if(n.hasClass(t.current))return;var s=this.$pnls.children("."+t.panel),l=s.filter("."+t.current);s.removeClass(t.highest).removeClass(t.current).not(n).not(l).not("."+t.vertical).addClass(t.hidden),e[r].support.csstransitions||l.addClass(t.hidden),n.hasClass(t.opened)?n.nextAll("."+t.opened).addClass(t.highest).removeClass(t.opened).removeClass(t.subopened):(n.addClass(t.highest),l.addClass(t.subopened)),n.removeClass(t.hidden).addClass(t.current),o.trigger("openPanel",n),setTimeout(function(){n.removeClass(t.subopened).addClass(t.opened),o.trigger("openingPanel",n),o.__transitionend(n,function(){o.trigger("openedPanel",n)},o.conf.transitionDuration)},this.conf.openingInterval)}},closePanel:function(e){var n=e.parent();n.hasClass(t.vertical)&&(n.removeClass(t.opened),this.trigger("closePanel",e),this.trigger("closingPanel",e),this.trigger("closedPanel",e))},closeAllPanels:function(){this.$menu.find("."+t.listview).children().removeClass(t.selected).filter("."+t.vertical).removeClass(t.opened);var e=this.$pnls.children("."+t.panel).first();this.$pnls.children("."+t.panel).not(e).removeClass(t.subopened).removeClass(t.opened).removeClass(t.current).removeClass(t.highest).addClass(t.hidden),this.openPanel(e)},togglePanel:function(e){var n=e.parent();n.hasClass(t.vertical)&&this[n.hasClass(t.opened)?"closePanel":"openPanel"](e)},getInstance:function(){return this},bind:function(e,t){this.cbck[e]=this.cbck[e]||[],this.cbck[e].push(t)},trigger:function(){var e=Array.prototype.slice.call(arguments),t=e.shift();if(this.cbck[t])for(var n=0,i=this.cbck[t].length;i>n;n++)this.cbck[t][n].apply(this,e)},_initMenu:function(){this.$menu.attr("id",this.$menu.attr("id")||this.__getUniqueId()),this.conf.clone&&(this.$menu=this.$menu.clone(!0),this.$menu.add(this.$menu.find("[id]")).filter("[id]").each(function(){e(this).attr("id",t.mm(e(this).attr("id")))})),this.$menu.contents().each(function(){3==e(this)[0].nodeType&&e(this).remove()}),this.$pnls=e('<div class="'+t.panels+'" />').append(this.$menu.children(this.conf.panelNodetype)).prependTo(this.$menu),this.$menu.parent().addClass(t.wrapper);var n=[t.menu];this.opts.slidingSubmenus||n.push(t.vertical),this.opts.extensions=this.opts.extensions.length?"mm-"+this.opts.extensions.join(" mm-"):"",this.opts.extensions&&n.push(this.opts.extensions),this.$menu.addClass(n.join(" "))},_initPanels:function(i){var o=this,r=this.__findAddBack(i,"ul, ol");this.__refactorClass(r,this.conf.classNames.inset,"inset").addClass(t.nolistview+" "+t.nopanel),r.not("."+t.nolistview).addClass(t.listview);var a=this.__findAddBack(i,"."+t.listview).children();this.__refactorClass(a,this.conf.classNames.selected,"selected"),this.__refactorClass(a,this.conf.classNames.divider,"divider"),this.__refactorClass(a,this.conf.classNames.spacer,"spacer"),this.__refactorClass(this.__findAddBack(i,"."+this.conf.classNames.panel),this.conf.classNames.panel,"panel");var s=e(),l=i.add(i.find("."+t.panel)).add(this.__findAddBack(i,"."+t.listview).children().children(this.conf.panelNodetype)).not("."+t.nopanel);this.__refactorClass(l,this.conf.classNames.vertical,"vertical"),this.opts.slidingSubmenus||l.addClass(t.vertical),l.each(function(){var n=e(this),i=n;n.is("ul, ol")?(n.wrap('<div class="'+t.panel+'" />'),i=n.parent()):i.addClass(t.panel);var r=n.attr("id");n.removeAttr("id"),i.attr("id",r||o.__getUniqueId()),n.hasClass(t.vertical)&&(n.removeClass(o.conf.classNames.vertical),i.add(i.parent()).addClass(t.vertical)),s=s.add(i)});var c=e("."+t.panel,this.$menu);s.each(function(i){var r,a,s=e(this),l=s.parent(),c=l.children("a, span").first();if(l.is("."+t.panels)||(l.data(n.sub,s),s.data(n.parent,l)),l.children("."+t.next).length||l.parent().is("."+t.listview)&&(r=s.attr("id"),a=e('<a class="'+t.next+'" href="#'+r+'" data-target="#'+r+'" />').insertBefore(c),c.is("span")&&a.addClass(t.fullsubopen)),!s.children("."+t.navbar).length&&!l.hasClass(t.vertical)){l=l.parent().is("."+t.listview)?l.closest("."+t.panel):(c=l.closest("."+t.panel).find('a[href="#'+s.attr("id")+'"]').first()).closest("."+t.panel);
1var d=!1,h=e('<div class="'+t.navbar+'" />');if(l.length){switch(r=l.attr("id"),o.opts.navbar.titleLink){case"anchor":d=c.attr("href");break;case"panel":case"parent":d="#"+r;break;default:d=!1}h.append('<a class="'+t.btn+" "+t.prev+'" href="#'+r+'" data-target="#'+r+'" />').append(e('<a class="'+t.title+'"'+(d?' href="'+d+'"':"")+" />").text(c.text())).prependTo(s),o.opts.navbar.add&&s.addClass(t.hasnavbar)}else o.opts.navbar.title&&(h.append('<a class="'+t.title+'">'+o.opts.navbar.title+"</a>").prependTo(s),o.opts.navbar.add&&s.addClass(t.hasnavbar))}});var d=this.__findAddBack(i,"."+t.listview).children("."+t.selected).removeClass(t.selected).last().addClass(t.selected);d.add(d.parentsUntil("."+t.menu,"li")).filter("."+t.vertical).addClass(t.opened).end().each(function(){e(this).parentsUntil("."+t.menu,"."+t.panel).not("."+t.vertical).first().addClass(t.opened).parentsUntil("."+t.menu,"."+t.panel).not("."+t.vertical).first().addClass(t.opened).addClass(t.subopened)}),d.children("."+t.panel).not("."+t.vertical).addClass(t.opened).parentsUntil("."+t.menu,"."+t.panel).not("."+t.vertical).first().addClass(t.opened).addClass(t.subopened);var h=c.filter("."+t.opened);return h.length||(h=s.first()),h.addClass(t.opened).last().addClass(t.current),s.not("."+t.vertical).not(h.last(
1)).addClass(t.hidden).end().filter(function(){return!e(this).parent().hasClass(t.panels)}).appendTo(this.$pnls),s},_initAnchors:function(){var n=this;o.$body.on(i.click+"-oncanvas","a[href]",function(i){var o=e(this),a=!1,s=n.$menu.find(o).length;for(var l in e[r].addons)if(e[r].addons[l].clickAnchor.call(n,o,s)){a=!0;break}var c=o.attr("href");if(!a&&s&&c.length>1&&"#"==c.slice(0,1))try{var d=e(c,n.$menu);d.is("."+t.panel)&&(a=!0,n[o.parent().hasClass(t.vertical)?"togglePanel":"openPanel"](d))}catch(e){}if(a&&i.preventDefault(),!a&&s&&o.is("."+t.listview+" > li > a")&&!o.is('[rel="external"]')&&!o.is('[target="_blank"]')){n.__valueOrFn(n.opts.onClick.setSelected,o)&&n.setSelected(e(i.target).parent());var h=n.__valueOrFn(n.opts.onClick.preventDefault,o,"#"==c.slice(0,1));h&&i.preventDefault(),n.__valueOrFn(n.opts.onClick.close,o,h)&&n.close()}})},_initAddons:function(){var t;for(t in e[r].addons)e[r].addons[t].add.call(this),e[r].addons[t].add=function(){};for(t in e[r].addons)e[r].addons[t].setup.call(this)},_getOriginalMenuId:function(){var e=this.$menu.attr("id");return e&&e.length&&this.conf.clone&&(e=t.umm(e)),e},__api:function(){var t=this,n={};return e.each(this._api,function(e){var i=this;n[i]=function(){var e=t[i].apply(t,arguments);return void 0===e?n:e}}),n},__valueOrFn:function(e,t,n){return"function"==typeof e?e.call(t[0]):void 0===e&&void 0!==n?n:e},__refactorClass:function(e,n,i){return e.filter("."+n).removeClass(n).addClass(t[i])},__findAddBack:function(e,t){return e.find(t).add(e.filter(t))},__filterListItems:function(e){return e.not("."+t.divider).not("."+t.hidden)},__transitionend:function(e,t,n){var o=!1,r=function(){o||t.call(e[0]),o=!0};e.one(i.transitionend,r),e.one(i.webkitTransitionEnd,r),setTimeout(r,1.1*n)},__getUniqueId:function(){return t.mm(e[r].uniqueId++)}},e.fn[r]=function(a,s){return e[r].glbl||(o={$wndw:e(window),$docu:e(document),$html:e("html"),$body:e("body")},t={},n={},i={},e.each([t,n,i],function(e,t){t.add=function(e){e=e.split(" ");for(var n=0,i=e.length;i>n;n++)t[e[n]]=t.mm(e[n])}}),t.mm=function(e){return"mm-"+e},t.add("wrapper menu panels panel nopanel current highest opened subopened navbar hasnavbar title btn prev next listview nolistview inset vertical selected divider spacer hidden fullsubopen"),t.umm=function(e){return"mm-"==e.slice(0,3)&&(e=e.slice(3)),e},n.mm=function(e){return"mm-"+e},n.add("parent sub"),i.mm=function(e){return e+".mm"},i.add("transitionend webkitTransitionEnd click scroll keydown mousedown mouseup touchstart touchmove touchend orientationchange"),e[r]._c=t,e[r]._d=n,e[r]._e=i,e[r].glbl=o),a=e.extend(!0,{},e[r].defaults,a),s=e.extend(!0,{},e[r].configuration,s),this.each(function(){var t=e(this);if(!t.data(r)){var n=new e[r](t,a,s);n.$menu.data(r,n.__api())}})},e[r].support={touch:"ontouchstart"in window||navigator.msMaxTouchPoints||!1,csstransitions:function(){if("undefined"!=typeof Modernizr&&void 0!==Modernizr.csstransitions)return Modernizr.csstransitions;var e=(document.body||document.documentElement).style,t="transition";if("string"==typeof e[t])return!0;var n=["Moz","webkit","Webkit","Khtml","O","ms"];t=t.charAt(0).toUpperCase()+t.substr(1);for(var i=0;i<n.length;i++)if("string"==typeof e[n[i]+t])return!0;return!1}()})}(jQuery),function(e){var t,n,i,o,r="mmenu",a="offCanvas";e[r].addons[a]={setup:function(){if(this.opts[a]){var n=this.opts[a],i=this.conf[a
1];o=e[r].glbl,this._api=e.merge(this._api,["open","close","setPage"]),("top"==n.position||"bottom"==n.position)&&(n.zposition="front"),"string"!=typeof i.pageSelector&&(i.pageSelector="> "+i.pageNodetype),o.$allMenus=(o.$allMenus||e()).add(this.$menu),this.vars.opened=!1;var s=[t.offcanvas];"left"!=n.position&&s.push(t.mm(n.position)),"back"!=n.zposition&&s.push(t.mm(n.zposition)),this.$menu.addClass(s.join(" ")).parent().removeClass(t.wrapper),this.setPage(o.$page),this._initBlocker(),this["_initWindow_"+a](),this.$menu[i.menuInjectMethod+"To"](i.menuWrapperSelector);var l=window.location.hash;if(l){var c=this._getOriginalMenuId();c&&c==l.slice(1)&&this.open()}}},add:function(){t=e[r]._c,n=e[r]._d,i=e[r]._e,t.add("offcanvas slideout blocking modal background opening blocker page"),n.add("style"),i.add("resize")},clickAnchor:function(e,t){if(!this.opts[a])return!1;var n=this._getOriginalMenuId();return n&&e.is('[href="#'+n+'"]')?(this.open(),!0):o.$page?!!((n=o.$page.first().attr("id"))&&e.is('[href="#'+n+'"]'))&&(this.close(),!0):void 0}},e[r].defaults[a]={position:"left",zposition:"back",blockUI:!0,moveBackground:!0},e[r].configuration[a]={pageNodetype:"div",pageSelector:null,noPageSelector:[],wrapPageIfNeeded:!0,menuWrapperSelector:"body",menuInjectMethod:"prepend"},e[r].prototype.open=function(){if(!this.vars.opened){var e=this;this._openSetup(),setTimeout(function(){e._openFinish()},this.conf.openingInterval),this.trigger("open")}},e[r].prototype._openSetup=function(){var r=this,s=this.opts[a];this.closeAllOthers(),o.$page.each(function(){e(this).data(n.style,e(this).attr("style")||"")}),o.$wndw.trigger(i.resize+"-"+a,[!0]);var l=[t.opened];s.blockUI&&l.push(t.blocking),"modal"==s.blockUI&&l.push(t.modal),s.moveBackground&&l.push(t.background),"left"!=s.position&&l.push(t.mm(this.opts[a].position)),"back"!=s.zposition&&l.push(t.mm(this.opts[a].zposition)),this.opts.extensions&&l.push(this.opts.extensions),o.$html.addClass(l.join(" ")),setTimeout(function(){r.vars.opened=!0},this.conf.openingInterval),this.$menu.addClass(t.current+" "+t.opened)},e[r].prototype._openFinish=function(){var e=this;this.__transitionend(o.$page.first(),function(){e.trigger("opened")},this.conf.transitionDuration),o.$html.addClass(t.opening),this.trigger("opening")},e[r].prototype.close=function(){if(this.vars.opened){var i=this;this.__transitionend(o.$page.first(),function(){i.$menu.removeClass(t.current).removeClass(t.opened),o.$html.removeClass(t.opened).removeClass(t.blocking).removeClass(t.modal).removeClass(t.background).removeClass(t.mm(i.opts[a].position)).removeClass(t.mm(i.opts[a].zposition)),i.opts.extensions&&o.$html.removeClass(i.opts.extensions),o.$page.each(function(){e(this).attr("style",e(this).data(n.style))}),i.vars.opened=!1,i.trigger("closed")},this.conf.transitionDuration),o.$html.removeClass(t.opening),this.trigger("close"),this.trigger("closing")}},e[r].prototype.closeAllOthers=function(){o.$allMenus.not(this.$menu).each(function(){var t=e(this).data(r);t&&t.close&&t.close()})},e[r].prototype.setPage=function(n){var i=this,r=this.conf[a];n&&n.length||(n=o.$body.find(r.pageSelector),r.noPageSelector.length&&(n=n.not(r.noPageSelector.join(", "))),n.length>1&&r.wrapPageIfNeeded&&(n=n.wrapAll("<"+this.conf[a].pageNodetype+" />").parent())),n.each(function(){e(this).attr("id",e(this).attr("id")||i.__getUniqueId())}),n.addClass(t.page+" "+t.slideout),o.$page=n,this.trigger("setPage",n)},e[r].prototype["_initWindow_"+a]=function(){o.$wndw.off(i.keydown+"-"+a).on(i.keydown+"-"+a,function(e){return o.$html.hasClass(t.opened)&&9==e.keyCode?(e.preventDefault(),!1):void 0});var e=0;o.$wndw.off(i.resize+"-"+a).on(i.resize+"-"+a,function(n,i){if(1==o.$page.length&&(i||o.$html.hasClass(t.opened))){var r=o.$wndw.height();(i||r!=e)&&(e=r,o.$page.css("minHeight",r))}})},e[r].prototype._initBlocker=function(){var n=this;this.opts[a].blockUI&&(o.$blck||(o.$blck=e('<div id="'+t.blocker+'" class="'+t.slideout+'" />')),o.$blck.appendTo(o.$body).off(i.touchstart+"-"+a+" "+i.touchmove+"-"+a).on(i.touchstart+"-"+a+" "+i.touchmove+"-"+a,function(e){e.preventDefault(),e.stopPropagation(),o.$blck.trigger(i.mousedown+"-"+a)}).off(i.mousedown+"-"+a).on(i.mousedown+"-"+a,function(e){e.preventDefault(),o.$html.hasClass(t.modal)||(n.closeAllOthers(),n.close())}))}}(jQuery),function(e){var t,n,i,o="mmenu",r="scrollBugFix";e[o].addons[r]={setup:function(){var a=this,s=this.opts[r];if(this.conf[r],i=e[o].glbl,e[o].support.touch&&this.opts.offCanvas&&this.opts.offCanvas.blockUI&&("boolean"==typeof s&&(s={fix:s}),"object"!=typeof s&&(s={}),(s=this.opts[r]=e.extend(!0,{},e[o].defaults[r],s)).fix)){var l=this.$menu.attr("id"),c=!1;this.bind("opening",function(){this.$pnls.children("."+t.current).scrollTop(0)}),i.$docu.on(n.touchmove,function(e){a.vars.opened&&e.preventDefault()}),i.$body.on(n.touchstart,"#"+l+"> ."+t.panels+"> ."+t.current,function(e){a.vars.opened&&(c||(c=!0,0===e.currentTarget.scrollTop?e.currentTarget.scrollTop=1:e.currentTarget.scrollHeight===e.currentTarget.scrollTop+e.currentTarget.offsetHeight&&(e.currentTarget.scrollTop-=1),c=!1))}).on(n.touchmove,"#"+l+"> ."+t.panels+"> ."+t.current,function(t){a.vars.opened&&e(this)[0].scrollHeight>e(this).innerHeight()&&t.stopPropagation()}),i.$wndw.on(n.orientationchange,function(){a.$pnls.children("."+t.current).scrollTop(0).css({"-webkit-overflow-scrolling":"auto"}).css({"-webkit-overflow-scrolling":"touch"})})}},add:function(){t=e[o]._c,e[o]._d,n=e[o]._e},clickAnchor:function(e,t){}}
1,e[o].defaults[r]={fix:!0}}(jQuery),function(e){var t,n,i="mmenu",o="autoHeight";e[i].addons[o]={setup:function(){if(this.opts.offCanvas){var n=this.opts[o];if(this.conf[o],e[i].glbl,"boolean"==typeof n&&n&&(n={height:"auto"}),"string"==typeof n&&(n={height:n}),"object"!=typeof n&&(n={}),"auto"==(n=this.opts[o]=e.extend(!0,{},e[i].defaults[o],n)).height||"highest"==n.height){this.$menu.addClass(t.autoheight);var r=function(i){if(this.vars.opened){var o=parseInt(this.$pnls.css("top"),10)||0,r=parseInt(this.$pnls.css("bottom"),10)||0,a=0;this.$menu.addClass(t.measureheight),"auto"==n.height?((i=i||this.$pnls.children("."+t.current)).is("."+t.vertical)&&(i=i.parents("."+t.panel).not("."+t.vertical).first()),a=i.outerHeight()):"highest"==n.height&&this.$pnls.children().each(function(){var n=e(this);n.is("."+t.vertical)&&(n=n.parents("."+t.panel).not("."+t.vertical).first()),a=Math.max(a,n.outerHeight())}),this.$menu.height(a+o+r).removeClass(t.measureheight)}};this.bind("opening",r),"highest"==n.height&&this.bind("init",r),"auto"==n.height&&(this.bind("update",r),this.bind("openPanel",r),this.bind("closePanel",r))}}},add:function(){t=e[i]._c,e[i]._d,n=e[i]._e,t.add("autoheight measureheight"),n.add("resize")},clickAnchor:function(e,t){}},e[i].defaults[o]={height:"default"}}(jQuery),function(e){var t,n,i="mmenu",o="backButton";e[i].addons[o]={setup:function(){if(this.opts.offCanvas){var r=this,a=this.opts[o];if(this.conf[o],n=e[i].glbl,"boolean"==typeof a&&(a={close:a}),"object"!=typeof a&&(a={}),(a=e.extend(!0,{},e[i].defaults[o],a)).close){var s="#"+r.$menu.attr("id");this.bind("opened",function(e){location.hash!=s&&history.pushState(null,document.title,s)}),e(window).on("popstate",function(e){n.$html.hasClass(t.opened)?(e.stopPropagation(),r.close()):location.hash==s&&(e.stopPropagation(),r.open())})}}},add:function(){return window.history&&window.history.pushState?(t=e[i]._c,e[i]._d,void e[i]._e):void(e[i].addons[o].setup=function(){})},clickAnchor:function(e,t){}},e[i].defaults[o]={close:!1}}(jQuery),function(e){var t,n,i="mmenu",o="columns";e[i].addons[o]={setup:function(){var r=this.opts[o];if(this.conf[o],n=e[i].glbl,"boolean"==typeof r&&(r={add:r}),"number"==typeof r&&(r={add:!0,visible:r}),"object"!=typeof r&&(r={}),"number"==typeof r.visible&&(r.visible={min:r.visible,max:r.visible}),(r=this.opts[o]=e.extend(!0,{},e[i].defaults[o],r)).add){r.visible.min=Math.max(1,Math.min(6,r.visible.min)),r.visible.max=Math.max(r.visible.min,Math.min(6,r.visible.max)),this.$menu.addClass(t.columns);for(var a=this.opts.offCanvas?this.$menu.add(n.$html):this.$menu,s=[],l=0;l<=r.visible.max;l++)s.push(t.columns+"-"+l);s=s.join(" ");var c=function(){var e=this.$pnls.children("."+t.panel).filter("."+t.opened).length;e=Math.min(r.visible.max,Math.max(r.visible.min,e)),a.removeClass(s).addClass(t.columns+"-"+e)},d=function(n){this.$pnls.children("."+t.panel).removeClass(s).filter("."+t.subopened).removeClass(t.hidden).add(n).slice(-r.visible.max).each(function(n){e(this).addClass(t.columns+"-"+n)})};this.bind("open",c),this.bind("close",function(){this.opts.offCanvas&&n.$html.removeClass(s)}),this.bind("init",function(e){d.call(this,this.$pnls.children("."+t.current)),r.hideNavbars&&e.removeClass(t.hasnavbar)}),this.bind("openPanel",d),this.bind("openingPanel",c),this.bind("openedPanel",c),this.opts.offCanvas||c.call(this)}},add:function(){t=e[i]._c,e[i]._d,e[i]._e,t.add("columns")},clickAnchor:function(n,i){if(!this.opts[o].add)return!1;if(i){var r=n.attr("href");if(r.length>1&&"#"==r.slice(0,1))try{if(e(r,this.$menu).is("."+t.panel))for(var a=parseInt(n.closest("."+t.panel).attr("class").split(t.columns+"-")[1].split(" ")[0],10)+1;!1!==a;){var s=this.$pnls.children("."+t.columns+"-"+a);if(!s.length){a=!1;break}a++,s.removeClass(t.subopened).removeClass(t.opened).removeClass(t.current).removeClass(t.highest).addClass(t.hidden)}}catch(e){}}}},e[i].defaults[o]={add:!1,visible:{min:1,max:3},hideNavbars:!1}}(jQuery),function(e){var t,n,i="mmenu",o="counters";e[i].addons[o]={setup:function(){var r=this,a=this.opts[o];this.conf[o],e[i].glbl,"boolean"==typeof a&&(a={add:a,update:a}),"object"!=typeof a&&(a={}),a=this.opts[o]=e.extend(!0,{},e[i].defaults[o],a),this.bind("init",function(t){this.__refactorClass(e("em",t),this.conf.classNames[o].counter,"counter")}),a.add&&this.bind("init",function(i){var o;("panels"===a.addTo?i:i.filter(a.addTo)).each(function(){var i=e(this).data(n.parent);i&&(i.children("em."+t.counter).length||i.prepend(e('<em class="'+t.counter+'" />')))})}),a.update&&this.bind("update",function(){this.$pnls.children("."+t.panel).each(function(){var i=e(this),o=i.data(n.parent);if(o){var a=o.children("em."+t.counter);a.length&&(i=i.children("."+t.listview)).length&&a.html(r.__filterListItems(i.children()).length)}})})},add:function(){t=e[i]._c,n=e[i]._d,e[i]._e,t.add("counter search noresultsmsg")},clickAnchor:function(e,t){}},e[i].defaults[o]={add:!1,addTo:"panels",update:!1},e[i].configuration.classNames[o]={counter:"Counter"}}(jQuery),function(e){var t,n,i="mmenu",o="dividers";e[i].addons[o]={setup:function(){var r=this,a=this.opts[o];if(this.conf[o],e[i].glbl,"boolean"==typeof a&&(a={add:a,fixed:a}),"object"!=typeof a&&(a={}),a=this.opts[o]=e.extend(!0,{},e[i].defaults[o],a),this.bind("init",function(t){this.__refactorClass(e("li",this.$menu),this.conf.classNames[o].collapsed,"collapsed")}),a.add&&this.bind("init",function(n){var i;i="panels"===a.addTo?n:n.filter(a.addTo),e("."+t.divider,i).remove(),i.find("."+t.listview).not("."+t.vertical).each(function(){var n="";r.__filterListItems(e(this).children()).each(function(){var i=e.trim(e(this).children("a, span").text()).slice(0,1).toLowerCase();i!=n&&i.length&&(n=i,e('<li class="'+t.divider+'">'+i+"</li>").insertBefore(this))})})}),a.collapse&&this.bind("init",function(n){e("."+t.divider,n).each(function(){var n=e(this);n.nextUntil("."+t.divider,"."+t.collapsed).length&&(n.children("."+t.subopen).length||(n.wrapInner("<span />"),n.prepend('<a href="#" class="'+t.subopen+" "+t.fullsubopen+'" />')))})}),a.fixed){var s=function(n){if((n=n||this.$pnls.children("."+t.current)).find("."+t.divider).not("."+t.hidden).length){this.$menu.addClass(t.hasdividers);var i=n.scrollTop()||0,o="";n.is(":visible")&&n.find("."+t.divider).not("."+t.hidden).each(function(){e(this).position().top+i<i+1&&(o=e(this).text())}),this.$fixeddivider.text(o)}else this.$menu.removeClass(t.hasdividers)};this.$fixeddivider=e('<ul class="'+t.listview+" "+t.fixeddivider+'"><li class="'+t.divider+'"></li></ul>').prependTo(this.$pnls).children(),this.bind("openPanel",s),this.bind("update",s),this.bind("init",function(t){t.off(n.scroll+"-dividers "+n.touchmove+"-dividers").on(n.scroll+"-dividers "+n.touchmove+"-dividers",function(t){s.call(r,e(this))})})}},add:function(){t=e[i]._c,e[i]._d,n=e[i]._e,t.add("collapsed uncollapsed fixeddivider hasdividers"),n.add("scroll")},clickAnchor:function(e,n){if(this.opts[o].collapse&&n){var i=e.parent();if(i.is("."+t.divider)){var r=i.nextUntil("."+t.divider,"."+t.collapsed);
1return i.toggleClass(t.opened),r[i.hasClass(t.opened)?"addClass":"removeClass"](t.uncollapsed),!0}}return!1}},e[i].defaults[o]={add:!1,addTo:"panels",fixed:!1,collapse:!1},e[i].configuration.classNames[o]={collapsed:"Collapsed"}}(jQuery),function(e){function t(e,t,n){return t>e&&(e=t),e>n&&(e=n),e}var n,i,o="mmenu",r="dragOpen";e[o].addons[r]={setup:function(){if(this.opts.offCanvas){var a=this,s=this.opts[r],l=this.conf[r];if(i=e[o].glbl,"boolean"==typeof s&&(s={open:s}),"object"!=typeof s&&(s={}),(s=this.opts[r]=e.extend(!0,{},e[o].defaults[r],s)).open){var c,d,h,u,p,f={},m=0,g=!1,v=!1,y=0,b=0;switch(this.opts.offCanvas.position){case"left":case"right":f.events="panleft panright",f.typeLower="x",f.typeUpper="X",v="width";break;case"top":case"bottom":f.events="panup pandown",f.typeLower="y",f.typeUpper="Y",v="height"}switch(this.opts.offCanvas.position){case"right":case"bottom":f.negative=!0,u=function(e){e>=i.$wndw[v]()-s.maxStartPos&&(m=1)};break;default:f.negative=!1,u=function(e){e<=s.maxStartPos&&(m=1)}}switch(this.opts.offCanvas.position){case"left":f.open_dir="right",f.close_dir="left";break;case"right":f.open_dir="left",f.close_dir="right";break;case"top":f.open_dir="down",f.close_dir="up";break;case"bottom":f.open_dir="up",f.close_dir="down"}p="front"===this.opts.offCanvas.zposition?function(){return this.$menu}:function(){return e("."+n.slideout)};var w=this.__valueOrFn(s.pageNode,this.$menu,i.$page);"string"==typeof w&&(w=e(w)),new Hammer(w[0],s.vendors.hammer).on("panstart",function(e){u(e.center[f.typeLower]),i.$slideOutNodes=p(),g=f.open_dir}).on(f.events+" panend",function(e){m>0&&e.preventDefault()}).on(f.events,function(e){if(c=e["delta"+f.typeUpper],f.negative&&(c=-c),c!=y&&(g=c>=y?f.open_dir:f.close_dir),(y=c)>s.threshold&&1==m){if(i.$html.hasClass(n.opened))return;m=2,a._openSetup(),a.trigger("opening"),i.$html.addClass(n.dragging),b=t(i.$wndw[v]()*l[v].perc,l[v].min,l[v].max)}2==m&&(d=t(y,10,b)-("front"==a.opts.offCanvas.zposition?b:0),f.negative&&(d=-d),h="translate"+f.typeUpper+"("+d+"px )",i.$slideOutNodes.css({"-webkit-transform":"-webkit-"+h,transform:h}))}).on("panend",function(e){2==m&&(i.$html.removeClass(n.dragging),i.$slideOutNodes.css("transform",""),a[g==f.open_dir?"_openFinish":"close"]()),m=0})}}},add:function(){return"function"!=typeof Hammer||Hammer.VERSION<2?void(e[o].addons[r].setup=function(){}):(n=e[o]._c,e[o]._d,e[o]._e,void n.add("dragging"))},clickAnchor:function(e,t){}},e[o].defaults[r]={open:!1,maxStartPos:100,threshold:50,vendors:{hammer:{}}},e[o].configuration[r]={width:{perc:.8,min:140,max:440},height:{perc:.8,min:140,max:880}}}(jQuery),function(e){var t,n,i,o,r="mmenu",a="dropdown";e[r].addons[a]={setup:function(){if(this.opts.offCanvas){var s=this,l=this.opts[a],c=this.conf[a
1];if(o=e[r].glbl,"boolean"==typeof l&&l&&(l={drop:l}),"object"!=typeof l&&(l={}),"string"==typeof l.position&&(l.position={of:l.position}),(l=this.opts[a]=e.extend(!0,{},e[r].defaults[a],l)).drop){if("string"!=typeof l.position.of){var d=this.$menu.attr("id");d&&d.length&&(this.conf.clone&&(d=t.umm(d)),l.position.of='[href="#'+d+'"]')}if("string"==typeof l.position.of){var h=e(l.position.of);if(h.length){this.$menu.addClass(t.dropdown),l.tip&&this.$menu.addClass(t.tip),l.event=l.event.split(" "),1==l.event.length&&(l.event[1]=l.event[0]),"hover"==l.event[0]&&h.on(i.mouseenter+"-dropdown",function(){s.open()}),"hover"==l.event[1]&&this.$menu.on(i.mouseleave+"-dropdown",function(){s.close()}),this.bind("opening",function(){this.$menu.data(n.style,this.$menu.attr("style")||""),o.$html.addClass(t.dropdown)}),this.bind("closed",function(){this.$menu.attr("style",this.$menu.data(n.style)),o.$html.removeClass(t.dropdown)});var u=function(n,i){var s,d,u=i[0],p=i[1],f="x"==n?"left":"top",m="x"==n?"right":"bottom",g="x"==n?"width":"height",v=null,y=o.$wndw["x"==n?"scrollLeft":"scrollTop"](),b=h.offset()[f]-=y,w=b+h["x"==n?"outerWidth":"outerHeight"](),x=o.$wndw[g](),C=c.offset.button[n]+c.offset.viewport[n];if(l.position[n])switch(l.position[n]){case"left":case"bottom":v="after";break;case"right":case"top":v="before"}return null===v&&(v=x/2>b+(w-b)/2?"after":"before"),"after"==v?(d=x-((s="x"==n?b:w)+C),u[f]=s+c.offset.button[n],u[m]="auto",p.push(t["x"==n?"tipleft":"tiptop"])):(d=(s="x"==n?w:b)-C,u[m]="calc( 100% - "+(s-c.offset.button[n])+"px )",u[f]="auto",p.push(t["x"==n?"tipright":"tipbottom"])),u["x"==n?"maxWidth":"maxHeight"]=Math.min(e[r].configuration[a][g].max,d),[u,p]},p=function(e){if(this.vars.opened){this.$menu.attr("style",this.$menu.data(n.style));var i=[{},[]];i=u.call(this,"y",i),i=u.call(this,"x",i),this.$menu.css(i[0]),l.tip&&this.$menu.removeClass(t.tipleft+" "+t.tipright+" "+t.tiptop+" "+t.tipbottom).addClass(i[1].join(" "))}};this.bind("opening",p),o.$wndw.on(i.resize+"-dropdown",function(e){p.call(s)}),this.opts.offCanvas.blockUI||o.$wndw.on(i.scroll+"-dropdown",function(e){p.call(s)})}}}}},add:function(){t=e[r]._c,n=e[r]._d,i=e[r]._e,t.add("dropdown tip tipleft tipright tiptop tipbottom"),i.add("mouseenter mouseleave resize scroll")},clickAnchor:function(e,t){}},e[r].defaults[a]={drop:!1,event:"click",position:{},tip:!0},e[r].configuration[a]={offset:{button:{x:-10,y:10},viewport:{x:20,y:20}},height:{max:880},width:{max:440}}}(jQuery),function(e){var t,n,i="mmenu",o="fixedElements";e[i].addons[o]={setup:function(){if(this.opts.offCanvas){var t=this.opts[o];this.conf[o],n=e[i].glbl,t=this.opts[o]=e.extend(!0,{},e[i].defaults[o],t);var r=function(e){var t=this.conf.classNames[o].fixed;this.__refactorClass(e.find("."+t),t,"slideout").appendTo(n.$body)};r.call(this,n.$page),this.bind("setPage",r)}},add:function(){t=e[i]._c,e[i]._d,e[i]._e,t.add("fixed")},clickAnchor:function(e,t){}},e[i].configuration.classNames[o]={fixed:"Fixed"}}(jQuery),function(e){var t,n="mmenu",i="iconPanels";e[n].addons[i]={setup:function(){var o=this,r=this.opts[i];if(this.conf[i],e[n].glbl,"boolean"==typeof r&&(r={add:r}),"number"==typeof r&&(r={add:!0,visible:r}),"object"!=typeof r&&(r={}),r=this.opts[i]=e.extend(!0,{},e[n].defaults[i],r),r.visible++,r.add){this.$menu.addClass(t.iconpanel);for(var a=[],s=0;s<=r.visible;s++)a.push(t.iconpanel+"-"+s);a=a.join(" ");var l=function(n){n.hasClass(t.vertical)||o.$pnls.children("."+t.panel).removeClass(a).filter("."+t.subopened).removeClass(t.hidden).add(n).not("."+t.vertical).slice(-r.visible).each(function(n){e(this).addClass(t.iconpanel+"-"+n)})};this.bind("openPanel",l),this.bind("init",function(n){l.call(o,o.$pnls.children("."+t.current)),r.hideNavbars&&n.removeClass(t.hasnavbar),n.not("."+t.vertical).each(function(){e(this).children("."+t.subblocker).length||e(this).prepend('<a href="#'+e(this).closest("."+t.panel).attr("id")+'" class="'+t.subblocker+'" />')})})}},add:function(){t=e[n]._c,e[n]._d,e[n]._e,t.add("iconpanel subblocker")},clickAnchor:function(e,t){}},e[n].defaults[i]={add:!1,visible:3,hideNavbars:!1}}(jQuery),function(e){var t,n="mmenu",i="navbars";e[n].addons[i]={setup:function(){var o=this,r=this.opts[i],a=this.conf[i];if(e[n].glbl,void 0!==r){r instanceof Array||(r=[r]);var s={};for(var l in e.each(r,function(l){var c=r[l];"boolean"==typeof c&&c&&(c={}),"object"!=typeof c&&(c={}),void 0===c.content&&(c.content=["prev","title"]),c.content instanceof Array||(c.content=[c.content]);var d=(c=e.extend(!0,{},o.opts.navbar,c)).position,h=c.height;"number"!=typeof h&&(h=1),h=Math.min(4,Math.max(1,h)),"bottom"!=d&&(d="top"),s[d]||(s[d]=0),s[d]++;
1var u=e("<div />").addClass(t.navbar+" "+t.navbar+"-"+d+" "+t.navbar+"-"+d+"-"+s[d]+" "+t.navbar+"-size-"+h);s[d]+=h-1;for(var p=0,f=0,m=c.content.length;m>f;f++){var g=e[n].addons[i][c.content[f]]||!1;g?p+=g.call(o,u,c,a):((g=c.content[f])instanceof e||(g=e(c.content[f])),u.append(g))}(p+=Math.ceil(u.children().not("."+t.btn).not("."+t.title+"-prev").length/h))>1&&u.addClass(t.navbar+"-content-"+p),u.children("."+t.btn).length&&u.addClass(t.hasbtns),u.prependTo(o.$menu)}),s)o.$menu.addClass(t.hasnavbar+"-"+l+"-"+s[l])}},add:function(){t=e[n]._c,e[n]._d,e[n]._e,t.add("close hasbtns")},clickAnchor:function(e,t){}},e[n].configuration[i]={breadcrumbSeparator:"/"},e[n].configuration.classNames[i]={}}(jQuery),function(e){var t="mmenu";e[t].addons.navbars.breadcrumbs=function(n,i,o){var r=e[t]._c,a=e[t]._d;r.add("breadcrumbs separator");var s=e('<span class="'+r.breadcrumbs+'" />').appendTo(n);this.bind("init",function(t){t.removeClass(r.hasnavbar).each(function(){for(var t=[],n=e(this),i=e('<span class="'+r.breadcrumbs+'"></span>'),s=e(this).children().first(),l=!0;s&&s.length;){s.is("."+r.panel)||(s=s.closest("."+r.panel));var c=s.children("."+r.navbar).children("."+r.title).text();t.unshift(l?"<span>"+c+"</span>":'<a href="#'+s.attr("id")+'">'+c+"</a>"),l=!1,s=s.data(a.parent)}i.append(t.join('<span class="'+r.separator+'">'+o.breadcrumbSeparator+"</span>")).appendTo(n.children("."+r.navbar))})});var l=function(){s.html(this.$pnls.children("."+r.current).children("."+r.navbar).children("."+r.breadcrumbs).html())};return this.bind("openPanel",l),this.bind("init",l),0}}(jQuery),function(e){var t="mmenu";e[t].addons.navbars.close=function(n,i){var o=e[t]._c,r=e[t].glbl,a=e('<a class="'+o.close+" "+o.btn+'" href="#" />').appendTo(n),s=function(e){a.attr("href","#"+e.attr("id"))};return s.call(this,r.$page),this.bind("setPage",s),-1}}(jQuery),function(e){var t="mmenu",n="navbars";e[t].addons[n].next=function(i,o){var r,a,s=e[t]._c,l=e('<a class="'+s.next+" "+s.btn+'" href="#" />').appendTo(i),c=function(e){var t=(e=e||this.$pnls.children("."+s.current)).find("."+this.conf.classNames[n].panelNext);r=t.attr("href"),a=t.html(),l[r?"attr":"removeAttr"]("href",r),l[r||a?"removeClass":"addClass"](s.hidden),l.html(a)};return this.bind("openPanel",c),this.bind("init",function(){c.call(this)}),-1},e[t].configuration.classNames[n].panelNext="Next"}(jQuery),function(e){var t="mmenu",n="navbars";e[t].addons[n].prev=function(i,o){var r=e[t]._c,a=e('<a class="'+r.prev+" "+r.btn+'" href="#" />').appendTo(i);this.bind("init",function(e){e.removeClass(r.hasnavbar).children("."+r.navbar).addClass(r.hidden)});var s,l,c=function(e){if(!(e=e||this.$pnls.children("."+r.current)).hasClass(r.vertical)){var t=e.find("."+this.conf.classNames[n].panelPrev);t.length||(t=e.children("."+r.navbar).children("."+r.prev)),s=t.attr("href"),l=t.html(),a[s?"attr":"removeAttr"]("href",s),a[s||l?"removeClass":"addClass"](r.hidden),a.html(l)}};return this.bind("openPanel",c),this.bind("init",function(){c.call(this)}),-1},e[t].configuration.classNames[n].panelPrev="Prev"}(jQuery),function(e){var t="mmenu";e[t].addons.navbars.searchfield=function(n,i){var o=e[t]._c,r=e('<div class="'+o.search+'" />').appendTo(n);return"object"!=typeof this.opts.searchfield&&(this.opts.searchfield={}),this.opts.searchfield.add=!0,this.opts.searchfield.addTo=r,0}}(jQuery),function(e){var t="mmenu",n="navbars";e[t].addons[n].title=function(i,o){var r,a,s=e[t]._c,l=e('<a class="'+s.title+'" />').appendTo(i),c=function(e){if(!(e=e||this.$pnls.children("."+s.current)).hasClass(s.vertical)){var t=e.find("."+this.conf.classNames[n].panelTitle);t.length||(t=e.children("."+s.navbar).children("."+s.title)),r=t.attr("href"),a=t.html()||o.title,l[r?"attr":"removeAttr"]("href",r),l[r||a?"removeClass":"addClass"](s.hidden),l.html(a)}};return this.bind("openPanel",c),this.bind("init",function(e){c.call(this)}),0},e[t].configuration.classNames[n].panelTitle="Title"}(jQuery),function(e){function t(e,t,n){e.prop("aria-"+t,n)[n?"attr":"removeAttr"]("aria-"+t,"true")}function n(e){return'<span class="'+i.sronly+'">'+e+"</span>"}var i,o="mmenu",r="screenReader";e[o].addons[r]={setup:function(){var a=this.opts[r],s=this.conf[r];if(e[o].glbl,"boolean"==typeof a&&(a={aria:a,text:a}),"object"!=typeof a&&(a={}),(a=this.opts[r]=e.extend(!0,{},e[o].defaults[r],a)).aria){if(this.opts.offCanvas){var l=function(){t(this.$menu,"hidden",!0)};this.bind("open",function(){t(this.$menu,"hidden",!1)}),this.bind("close",l),l.call(this)}var c=function(){t(this.$menu.find("."+i.hidden),"hidden",!0),t(this.$menu.find('[aria-hidden="true"]').not("."+i.hidden),"hidden",!1)};this.bind("update",c),this.bind("openPanel",c),this.bind("openPanel",function(e){t(this.$pnls.children("."+i.panel).not(e).not("."+i.hidden),"hidden",!0),t(e,"hidden",!1)});var d=function(e){t(e.find("."+i.prev+", ."+i.next),"haspopup",!0)};this.bind("init",d),d.call(this,this.$menu.children("."+i.navbar))}if(a.text){var h=function(t){t.children("."+i.navbar).children("."+i.prev).html(n(s.text.closeSubmenu)).end().children("."+i.next).html(n(s.text.o
1penSubmenu)).end().children("."+i.close).html(n(s.text.closeMenu)),t.is("."+i.panel)&&t.find("."+i.listview).find("."+i.next).each(function(){e(this).html(n(s.text[e(this).parent().is("."+i.vertical)?"toggleSubmenu":"openSubmenu"]))})};this.bind("init",h),h.call(this,this.$menu)}},add:function(){i=e[o]._c,e[o]._d,e[o]._e,i.add("sronly")},clickAnchor:function(e,t){}},e[o].defaults[r]={aria:!1,text:!1},e[o].configuration[r]={text:{closeMenu:"Close menu",closeSubmenu:"Close submenu",openSubmenu:"Open submenu",toggleSubmenu:"Toggle submenu"}}}(jQuery),function(e){var t,n,i,o="mmenu",r="searchfield";e[o].addons[r]={setup:function(){var a=this,s=this.opts[r],l=this.conf[r];e[o].glbl,"boolean"==typeof s&&(s={add:s}),"object"!=typeof s&&(s={}),"boolean"==typeof s.resultsPanel&&(s.resultsPanel={add:s.resultsPanel}),s=this.opts[r]=e.extend(!0,{},e[o].defaults[r],s),l=this.conf[r]=e.extend(!0,{},e[o].configuration[r],l),this.bind("close",function(){this.$menu.find("."+t.search).find("input").blur()}),this.bind("init",function(o){if(s.add){var c;if(("panels"===s.addTo?o:this.$menu.find(s.addTo)).each(function(){var n=e(this);if(!n.is("."+t.panel)||!n.is("."+t.vertical)){if(!n.children("."+t.search).length){var o,r=a.__valueOrFn(l.clear,n),c=a.__valueOrFn(l.form,n),d=a.__valueOrFn(l.input,n),h=a.__valueOrFn(l.submit,n),u=e("
1<"+(c?"form":"div")+' class="'+t.search+'" />'),p=e('<input placeholder="'+s.placeholder+'" type="text" autocomplete="off" />');if(u.append(p),d)for(o in d)p.attr(o,d[o]);if(r&&e('<a class="'+t.btn+" "+t.clear+'" href="#" />').appendTo(u).on(i.click+"-searchfield",function(e){e.preventDefault(),p.val("").trigger(i.keyup+"-searchfield")}),c){for(o in c)u.attr(o,c[o]);h&&!r&&e('<a class="'+t.btn+" "+t.next+'" href="#" />').appendTo(u).on(i.click+"-searchfield",function(e){e.preventDefault(),u.submit()})}n.hasClass(t.search)?n.replaceWith(u):n.prepend(u).addClass(t.hassearch)}if(s.noResults&&(n.closest("."+t.panel).length||(n=a.$pnls.children("."+t.panel).first()),!n.children("."+t.noresultsmsg).length)){var f=n.children("."+t.listview).first();e('<div class="'+t.noresultsmsg+" "+t.hidden+'" />').append(s.noResults)[f.length?"insertAfter":"prependTo"](f.length?f:n)}}}),s.search){if(s.resultsPanel.add){s.showSubPanels=!1;var d=this.$pnls.children("."+t.resultspanel);d.length||(d=e('<div class="'+t.panel+" "+t.resultspanel+" "+t.hidden+'" />').appendTo(this.$pnls).append('<div class="'+t.navbar+" "+t.hidden+'"><a class="'+t.title+'">'+s.resultsPanel.title+"</a></div>").append('<ul class="'+t.listview+'" />').append(this.$pnls.find("."+t.noresultsmsg).first().clone()),this.init(d))}this.$menu.find("."+t.search).each(function(){var o,l,c=e(this),h=c.closest("."+t.panel).length;h?l=o=c.closest("."+t.panel):(o=e("."+t.panel,a.$menu),l=a.$menu),s.resultsPanel.add&&(o=o.not(d));var u=c.children("input"),p=a.__findAddBack(o,"."+t.listview).children("li"),f=p.filter("."+t.divider),m=a.__filterListItems(p),g="",v=function(){var i=u.val().toLowerCase();if(i!=g){if(g=i,s.resultsPanel.add&&d.children("."+t.listview).empty(),o.scrollTop(0),m.add(f).addClass(t.hidden).find("."+t.fullsubopensearch).removeClass(t.fullsubopen+" "+t.fullsubopensearch),m.each(function(){var i=e(this),o="a";(s.showTextItems||s.showSubPanels&&i.find("."+t.next))&&(o="a, span"),(i.data(n.searchtext)||i.children(o).text()).toLowerCase().indexOf(g)>-1&&i.add(i.prevAll("."+t.divider).first()).removeClass(t.hidden)}),s.showSubPanels&&o.each(function(i){var o=e(this);a.__filterListItems(o.find("."+t.listview).children()).each(function(){var i=e(this),o=i.data(n.sub);i.removeClass(t.nosubresults),o&&o.find("."+t.listview).children().removeClass(t.hidden)})}),s.resultsPanel.add){if(""===g)this.closeAllPanels(),this.openPanel(this.$pnls.children("."+t.subopened).last());else{var r=e();o.each(function(){var n=a.__filterListItems(e(this).find("."+t.listview).children()).not("."+t.hidden).clone(!0);n.length&&(s.resultsPanel.dividers&&(r=r.add('<li class="'+t.divider+'">'+e(this).children("."+t.navbar).text()+"</li>")),r=r.add(n))}),r.find("."+t.next).remove(),d.children("."+t.listview).append(r),this.openPanel(d)}}else e(o.get().reverse()).each(function(i){var o=e(this),r=o.data(n.parent);r&&(a.__filterListItems(o.find("."+t.listview).children()).length?(r.hasClass(t.hidden)&&r.children("."+t.next).not("."+t.fullsubopen).addClass(t.fullsubopen).addClass(t.fullsubopensearch),r.removeClass(t.hidden).removeClass(t.nosubresults).prevAll("."+t.divider).first().removeClass(t.hidden)):h||(o.hasClass(t.opened)&&setTimeout(function(){a.openPanel(r.closest("."+t.panel))},(i+1)*(1.5*a.conf.openingInterval)),r.addClass(t.nosubresults)))});l.find("."+t.noresultsmsg)[m.not("."+t.hidden).length?"addClass":"removeClass"](t.hidden),this.update()}};u.off(i.keyup+"-"+r+" "+i.change+"-"+r).on(i.keyup+"-"+r,function(e){(function(e){switch(e){case 9:case 16:case 17:case 18:case 37:case 38:case 39:case 40:return!0}return!1})(e.keyCode)||v.call(a)}).on(i.change+"-"+r,function(e){v.call(a)});var y=c.children("."+t.btn);y.length&&u.on(i.keyup+"-"+r,function(e){y[u.val().length?"removeClass":"addClass"](t.hidden)}),u.trigger(i.keyup+"-"+r)})}}})},add:function(){t=e[o]._c,n=e[o]._d,i=e[o]._e,t.add("clear search hassearch resultspanel noresultsmsg noresults nosubresults fullsubopensearch"),n.add("searchtext"),i.add("change keyup")},clickAnchor:function(e,t){}},e[o].defaults[r]={add:!1,addTo:"panels",placeholder:"Search",noResults:"No results found.",resultsPanel:{add:!1,dividers:!0,title:"Search results"},search:!0,showTextItems:!1,showSubPanels:!0},e[o].configuration[r]={clear:!1,form:!1,input:!1,submit:!1}}(jQuery),function(e){var t,n,i="mmenu",o="sectionIndexer";e[i].addons[o]={setup:function(){var r=this,a=this.opts[o];this.conf[o],e[i].glbl,"boolean"==typeof a&&(a={add:a}),"object"!=typeof a&&(a={}),a=this.opts[o]=e.extend(!0,{},e[i].defaults[o],a),this.bind("init",function(i){if(a.add){var o;("panels"===a.addTo?i:e(a.addTo,this.$menu).filter("."+t.panel)).find("."+t.divider).closest("."+t.panel).addClass(t.hasindexer)}if(!this.$indexer&&this.$pnls.children("."+t.hasindexer).length){this.$indexer=e('<div class="'+t.indexer+'" />').prependTo(this.$pnls).append('<a href="#a">a</a><a href="#b">b</a><a href="#c">c</a><a href="#d">d</a><a href="#e">e</a><a href="#f">f</a><a href="#g">g</a><a href="#h">h</a><a href="#i">i</a><a href="#j">j</a><a href="#k">k</a><a href="#l">l</a><a href="#m">m</a><a href="#n">n</a><a href="#o">o</a><a href="#p">p</a><a href="#q">q</a><a href="#r">r</a><a href="#s">s</a><a href="#t">t</a><a href="#u">u</a><a href="#v">v</a><a href="#w">w</a><a href="#x">x</a><a href="#y">y</a><a href="#z">z</a>
1'),this.$indexer.children().on(n.mouseover+"-sectionindexer "+t.touchstart+"-sectionindexer",function(n){var i=e(this).attr("href").slice(1),o=r.$pnls.children("."+t.current),a=o.find("."+t.listview),s=!1,l=o.scrollTop();o.scrollTop(0),a.children("."+t.divider).not("."+t.hidden).each(function(){!1===s&&i==e(this).text().slice(0,1).toLowerCase()&&(s=e(this).position().top)}),o.scrollTop(!1!==s?s:l)});var s=function(e){r.$menu[(e.hasClass(t.hasindexer)?"add":"remove")+"Class"](t.hasindexer)};this.bind("openPanel",s),s.call(this,this.$pnls.children("."+t.current))}})},add:function(){t=e[i]._c,e[i]._d,n=e[i]._e,t.add("indexer hasindexer"),n.add("mouseover touchstart")},clickAnchor:function(e,n){return!!e.parent().is("."+t.indexer)||void 0}},e[i].defaults[o]={add:!1,addTo:"panels"}}(jQuery),function(e){var t,n,i="mmenu",o="setSelected";e[i].addons[o]={setup:function(){var r=this.opts[o];if(this.conf[o],e[i].glbl,"boolean"==typeof r&&(r={hover:r,parent:r}),"object"!=typeof r&&(r={}),(r=this.opts[o]=e.extend(!0,{},e[i].defaults[o],r)).current||this.bind("init",function(e){e.find("."+t.listview).children("."+t.selected).removeClass(t.selected)}),r.hover&&this.$menu.addClass(t.hoverselected),r.parent){this.$menu.addClass(t.parentselected);var a=function(e){this.$pnls.find("."+t.listview).find("."+t.next).removeClass(t.selected);for(var i=e.data(n.parent);i&&i.length;)i=i.children("."+t.next).addClass(t.selected).closest("."+t.panel).data(n.parent)};this.bind("openedPanel",a),this.bind("init",function(e){a.call(this,this.$pnls.children("."+t.current))})}},add:function(){t=e[i]._c,n=e[i]._d,e[i]._e,t.add("hoverselected parentselected")},clickAnchor:function(e,t){}},e[i].defaults[o]={current:!0,hover:!1,parent:!1}}(jQuery),function(e){var t,n="mmenu",i="toggles";e[n].addons[i]={setup:function(){var o=this;this.opts[i],this.conf[i],e[n].glbl,this.bind("init",function(n){this.__refactorClass(e("input",n),this.conf.classNames[i].toggle,"toggle"),this.__refactorClass(e("input",n),this.conf.classNames[i].check,"check"),e("input."+t.toggle+", input."+t.check,n).each(function(){var n=e(this),i=n.closest("li"),r=n.hasClass(t.toggle)?"toggle":"check",a=n.attr("id")||o.__getUniqueId();i.children('label[for="'+a+'"]').length||(n.attr("id",a),i.prepend(n),e('<label for="'+a+'" class="'+t[r]+'"></label>').insertBefore(i.children("a, span").last()))})})},add:function(){t=e[n]._c,e[n]._d,e[n]._e,t.add("toggle check")},clickAnchor:function(e,t){}},e[n].configuration.classNames[i]={toggle:"Toggle",check:"Check"}}(jQuery),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=e(require("jquery")):e(jQuery)}(function(e){var t=Array.prototype.slice,n=Array.prototype.splice,i={topSpacing:0,bottomSpacing:0,className:"is-sticky",wrapperClassName:"sticky-wrapper",center:!1,getWidthFrom:"",widthFromWrapper:!0,responsiveWidth:!1,zIndex:1e3},o=e(window),r=e(document),a=[],s=o.height(),l=function(){for(var t=o.scrollTop(),n=r.height(),i=n-s,l=t>i?i-t:0,c=0,d=a.length;c<d;c++){var h=a[c],u=h.stickyWrapper.offset().top-h.topSpacing-l;if(h.stickyWrapper.css("height",h.stickyElement.outerHeight()),t<=u)null!==h.currentTop&&(h.stickyElement.css({width:"",position:"",top:"","z-index":""}),h.stickyElement.parent().removeClass(h.className),h.stickyElement.trigger("sticky-end",[h]),h.currentTop=null);else{var p,f=n-h.stickyElement.outerHeight()-h.topSpacing-h.bottomSpacing-t-l;f<0?f+=h.topSpacing:f=h.topSpacing,h.currentTop!==f&&(h.getWidthFrom?p=e(h.getWidthFrom).width()||null:h.widthFromWrapper&&(p=h.stickyWrapper.width()),null==p&&(p=h.stickyElement.width()),h.stickyElement.css("width",p).css("position","fixed").css("top",f).css("z-index",h.zIndex),h.stickyElement.parent().addClass(h.className),null===h.currentTop?h.stickyElement.trigger("sticky-start",[h]):h.stickyElement.trigger("sticky-update",[h]),h.currentTop===h.topSpacing&&h.currentTop>f||null===h.currentTop&&f<h.topSpacing?h.stickyElement.trigger("sticky-bottom-reached",[h]):null!==h.currentTop&&f===h.topSpacing&&h.currentTop<f&&h.stickyElement.trigger("sticky-bottom-unreached",[h]),h.currentTop=f);var m=h.stickyWrapper.parent();h.stickyElement.offset().top+h.stickyElement.outerHeight()>=m.offset().top+m.outerHeight()&&h.stickyElement.offset().top<=h.topSpacing?h.stickyElement.css("position","absolute").css("top","").css("bottom",0).css("z-index",""):h.stickyElement.css("position","fixed").css("top",f).css("bottom","").css("z-index",h.zIndex)}}},c=function(){s=o.height();for(var t=0,n=a.length;t<n;t++){var i=a[t],r=null;i.getWidthFrom?i.responsiveWidth&&(r=e(i.getWidthFrom).width()):i.widthFromWrapper&&(r=i.stickyWrapper.width()),null!=r&&i.stickyElement.css("width",r)}},d={init:function(t){var n=e.extend({},i,t);return this.each(function(){var t=e(this),o=t.attr("id"),r=o?o+"-"+i.wrapperClassName:i.wrapperClassName,s=e("<div></div>").attr("id",r).addClass(n.wrapperClassName);t.wrapAll(function(){if(0==e(this).parent("#"+r).length)return s});var l=t.parent();n.center&&l.css({width:t.outerWidth(),marginLeft:"auto",marginRight:"auto"}),"right"===t.css("float")&&t.css({float:"none"}).parent().css({float:"right"}),n.stickyElement=t,n.stickyWrapper=l,n.currentTop=null,a.push(n),d.setWrapperHeight(this),d.setupChangeListeners(this)})},setWrapperHeight:function(t){var n=e(t),i=n.parent();i&&i.css("height",n.outerHeight())},setupChangeListeners:function(e){window.MutationObserver?new window.MutationObserver(function(t){(t[0].addedNodes.length||t[0].removedNodes.length)&&d.setWrapperHeight(e)}).observe(e,{subtree:!0,childList:!0}):window.addEventListener?(e.addEventListener("DOMNodeInserted",function(){d.setWrapperHeight(e)},!1),e.addEventListener("DOMNodeRemoved",function(){d.setWrapperHeight(e)},!1)):window.attachEvent&&(e.attachEvent("onDOMNodeInserted",function(){d.setWrapperHeight(e)}),e.attachEvent("onDOMNodeRemoved",function(){d.setWrapperHeight(e)}))},update:l,unstick:function(t){return this.each(function(){for(var t=e(this),i=-1,o=a.length;o-- >0;)a[o].stickyElement.get(0)===this&&(n.call(a,o,1),i=o);-1!==i&&(t.unwrap(),t.css({width:"",position:"",top:"",float:"","z-index":""}))})}};window.addEventListener?(window.addEventListener("scroll",l,!1),window.addEventListener("resize",c,!1)):window.attachEvent&&(window.attachEvent("onscroll",l),window.attachEvent("onresize",c)),e.fn.sticky=function(n){return d[n]?d[n].apply(this,t.call(arguments,1
1)):"object"!=typeof n&&n?void e.error("Method "+n+" does not exist on jQuery.sticky"):d.init.apply(this,arguments)},e.fn.unstick=function(n){return d[n]?d[n].apply(this,t.call(arguments,1)):"object"!=typeof n&&n?void e.error("Method "+n+" does not exist on jQuery.sticky"):d.unstick.apply(this,arguments)},e(function(){setTimeout(l,0)})}),function(e){e.fn.desktopDropNav=function(t){var n=e.extend({openCloseClass:"open-close",openerClass:"opener",slideClass:"slide"},t);return this.each(function(){e(this).find("ul").length&&e(this).find("ul").each(function(){var t=e(this).closest("li");t.addClass(n.openCloseClass).children("div").addClass(n.slideClass),function(t,n,i){e(t).addClass(n).appendTo(i)}("<span>",n.openerClass,t.children("a"))})})}}(jQuery),function(e){function t(t){this.options=e.extend({dropDown:">li>ul",fitClass:"set-right"},t),this.init()}t.prototype={init:function(){this.findElements(),this.detectOffset()},findElements:function(){this.holder=e(this.options.holder),this.dropdown=this.holder.find(this.options.dropDown),this.dropdownParent=this.dropdown.parents("li")},detectOffset:function(){var t=this,n=t.holder.width(),i=t.holder.offset().left;t.dropdownParent.each(function(){Math.round(e(this).offset().left)>=i&&n<=Math.round(e(this).offset().left)-i+t.dropdown.width()&&e(this).addClass(t.options.fitClass)})},destroy:function(){this.dropdownParent.removeClass(this.options.fitClass),this.holder.removeData("dropdownFit")}},e.fn.dropdownFit=function(n){return this.each(function(){e(this).data("dropdownFit",new t(e.extend(n,{holder:this})))})}}(jQuery),function(e,t){"use strict";var n="ontouchstart"in t||t.DocumentTouch&&document instanceof DocumentTouch||/Windows Phone/.test(navigator.userAgent);function i(t){this.options=e.extend({fixedActiveClass:"fixed-position",slideBlock:"[data-scroll-block]",positionType:"auto",fixedOnlyIfFits:!0,container:null,animDelay:100,animSpeed:200,extraBottom:0,extraTop:0},t),this.initStructure(),this.attachEvents()}i.prototype={initStructure:function(){this.win=e(t),this.container=e(this.options.container),this.slideBlock=this.container.find(this.options.slideBlock),"auto"===this.options.positionType&&(this.options.positionType=n?"absolute":"fixed")},attachEvents:function(){var e=this;this.onResize=function(){e.resizeHandler()},this.onScroll=function(){e.scrollHandler()},this.win.on({resize:this.onResize,scroll:this.onScroll}),this.resizeHandler()},recalculateOffsets:function(){var e=this.slideBlock.offset(),t=this.slideBlock.position(),n=this.container.offset();this.win.height(),this.data={windowHeight:this.win.height(),windowWidth:this.win.width(),blockPositionLeft:t.left,blockPositionTop:t.top,blockOffsetLeft:e.left,blockOffsetTop:e.top,blockHeight:this.slideBlock.innerHeight(),holderOffsetLeft:n.left,holderOffsetTop:n.top,holderHeight:this.container.innerHeight()}},isVisible:function(){return this.slideBlock.prop("offsetHeight")},fitsInViewport:function(){return!this.options.fixedOnlyIfFits||!this.data||this.data.blockHeight+this.options.extraTop<=this.data.windowHeight},resizeHandler:function(){!this.destroyed&&this.isVisible()&&(i.stickyMethods[this.options.positionType].onResize.apply(this,arguments),this.scrollHandler())},scrollHandler:function(){if(!this.destroyed&&this.isVisible()){if(!this.data){this.resizeHandler();return}this.currentScrollTop=this.win.scrollTop(),this.currentScrollLeft=this.win.scrollLeft(),i.stickyMethods[this.options.positionType].onScroll.apply(this,arguments)}},refresh:function(){this.data&&(this.data.holderHeight=this.container.innerHeight(),this.data.blockHeight=this.slideBlock.innerHeight(),this.scrollHandler())},destroy:function(){this.destroyed=!0,this.slideBlock.removeAttr("style").removeClass(this.options.fixedActiveClass),this.win.off({resize:this.onResize,scroll:this.onScroll})}},i.stickyMethods={fixed:{onResize:function(){this.slideBlock.removeAttr("style"),this.recalculateOffsets()},onScroll:function(){this.fitsInViewport()&&this.currentScrollTop+this.options.extraTop>this.data.blockOffsetTop?(this.currentScrollTop+this.options.extraTop+this.data.blockHeight>this.data.holderOffsetTop+this.data.holderHeight-this.options.extraBottom?this.slideBlock.css({position:"absolute",top:this.data.blockPositionTop+this.data.holderHeight-this.data.blockHeight-this.options.extraBottom-(this.data.blockOffsetTop-this.data.holderOffsetTop),left
1:this.data.blockPositionLeft}):this.slideBlock.css({position:"fixed",top:this.options.extraTop,left:this.data.blockOffsetLeft-this.currentScrollLeft}),this.slideBlock.addClass(this.options.fixedActiveClass)):this.slideBlock.removeClass(this.options.fixedActiveClass).removeAttr("style")}},absolute:{onResize:function(){this.slideBlock.removeAttr("style"),this.recalculateOffsets(),this.slideBlock.css({position:"absolute",top:this.data.blockPositionTop,left:this.data.blockPositionLeft}),this.slideBlock.addClass(this.options.fixedActiveClass)},onScroll:function(){var e=this;clearTimeout(this.animTimer),this.animTimer=setTimeout(function(){var t=e.currentScrollTop+e.options.extraTop,n=e.data.blockPositionTop-(e.data.blockOffsetTop-e.data.holderOffsetTop),i=e.data.holderHeight-e.data.blockHeight-e.options.extraBottom,o=n+Math.min(t-e.data.holderOffsetTop,i),r=e.fitsInViewport()&&t>e.data.blockOffsetTop?o:e.data.blockPositionTop;e.slideBlock.stop().animate({top:r},e.options.animSpeed)},this.options.animDelay)}}},e.fn.fixedScrollBlock=function(t){return this.each(function(){var n=e.extend({},t,{container:this}),o=new i(n);e.data(this,"FixedScrollBlock",o)})},t.FixedScrollBlock=i}(jQuery,this),function(e){function t(t){this.options=e.extend({commentClass:".form-input-comments",commonLayoutWrapper:'<div class="contact-form-columns">',inputHolder:".form__group"},t),this.init()}t.prototype={init:function(){this.findElements(),this.wrapElements()},findElements:function(){this.holder=e(this.options.holder),this.comments=this.holder.find(this.options.commentClass),this.inputHolder=this.holder.find(this.options.inputHolder)},wrapElements:function(){this.comments.length&&(this.inputHolder.wrapAll(this.options.commonLayoutWrapper),this.comments.find("textarea").css({width:"",height:""}))},destroy:function(){this.comments.length&&this.inputHolder.unwrap(this.options.commonLayoutWrapper),this.holder.removeData("layoutContactForm")}},e.fn.layoutContactForm=function(n){return this.each(function(){void 0===e(this).data("layoutContactForm")&&e(this).data("layoutContactForm",new t(e.extend(n,{holder:this})))})}}(jQuery);var mql=window.matchMedia("(orientation: portrait)");function moreNav(){var e=$(".navigation").find("ul"),t="sublevel-";if(e.length&&e.children(".more").find("ul").parent().is("div")){var n=e.children(".more").find("ul");
1n.parent("div").children().unwrap(),n.each(function(){var e=$(this),n=e.parents("ul").length;n>0&&e.wrap(function(){return'<div class="'+t+n+'"></div>'})})}else e.length&&!e.children(".more").find("ul").parent().is("div")&&e.children(".more").find("ul").each(function(){var e=$(this),n=e.parents("ul").length;n>0&&e.wrap(function(){return'<div class="'+t+n+'"></div>'})});e.children(".more").on("click","> a",function(e){e.preventDefault()})}function navigationSublevelWrap(e,t){e.each(function(){var e=$(this),n=e.parents("ul").length;n>0&&e.wrap(function(){return'<div class="'+t+n+'"></div>'})})}function menuPrepare(){origMenuContent.length||(origMenuContent=menu.html()),menuHolder.css("width",menuHolderMaxWidth),allMenus.push([currentMenu.html(),Math.round(calcTotalMenuItemsWidth())]);for(var e=0;e<=menuChildrenCount;e++){moreButton.length&&moreButton.remove();var t=currentMenu.children("li:last").remove();currentMenu.append(moreButton);var n=calcTotalMenuItemsWidth();moreButton.children("ul").prepend($(t)),allMenus.push([currentMenu.html(),Math.round(n)])}menuHolder.css("width","")}function calcTotalMenuItemsWidth(){var e=0;return currentMenu.children().each(function(){e+=$(this)[0].getBoundingClientRect().width}),e}function addMoreButton(){for(var e=0;e<=menuChildrenCount;e++){if(currentMenuWidth<=allMenus[0][1]&¤tMenuWidth>=allMenus[e][1]){currentMenu.empty(),currentMenu.append(allMenus[e][0]);return}if(currentMenuWidth>allMenus[0][1]){currentMenu.empty(),currentMenu.append(origMenuContent);return}}}function styleInnerPageStaff(){var e=$(".staff-layout .wrap__main");e.append('<div class="staff-member-extended-wrapper"><div class="wrap-staff--inner"></div></div>');var t=e.find(".staff-member-extended-wrapper");t.insertAfter($(".wrap__container")),e.find(".staff-member--extended").appendTo(t.children(".wrap-staff--inner"))}function disableLinks(e){$(e).each(function(){("#"===$(this).attr("href")||"javascript.void(0)"===$(this).attr("href"))&&$(this).click(function(e){e.preventDefault()})})}mql&&mql.addListener(function(e){$(window).trigger("resize")}),function(e){function t(t){this.options=e.extend({place:"",move:"inside",setClass:!1},t),this.init()}t.prototype={init:function(){this.options.holder&&(this.findElements(),this.setAnchor(),this.move(),this.setClass())},findElements:function(){this.elements={holder:e(this.options.holder),place:e(this.options.place)}},setAnchor:function(){this.anchorElem=e("<span>"),this.anchorElem.attr("data-anchor-id",this.elements.holder.data("moved-id")).insertBefore(this.elements.holder).css("display","none")},move:function(){var e=this,t={after:function(){e.elements.holder.insertAfter(e.elements.place)},before:function(){e.elements.holder.insertBefore(e.elements.place)},inside:function(){e.elements.place.prepend(e.elements.holder)}};void 0!==t[this.options.move]?t[this.options.move]():t.inside()},setClass:function(){this.options.setClass&&this.elements.holder.addClass(this.options.setClass)},destroy:function(){this.elements.holder.insertAfter(this.anchorElem).removeClass(this.options.setClass).removeData("moveElement"),this.anchorElem.remove(),n=[]}},e.fn.moveElement=function(i){return this.each(function(){n.push(this),e.each(n,function(t,i){t===n.length-1&&e(i).attr("data-moved-id",t+1)}),e(this).data("moveElement",new t(e.extend(i,{holder:this})))})};var n=[]}(jQuery),ResponsiveHelper=function(e){var t,n=[],i=e(window),o=!1;function r(){var o=i.width();o!==t&&(t=o,e.each(n,function(t,n){e.each(n.data,function(e,t){t.currentActive&&!a(t.range[0],t.range[1])&&(t.currentActive=!1,"function"==typeof t.disableCallback&&t.disableCallback())}),e.each(n.data,function(e,t){!t.currentActive&&a(t.range[0],t.range[1])&&(t.currentActive=!0,"function"==typeof t.enableCallback&&t.enableCallback())})}))}function a(e,n){var i,r="";return e>0&&(r+="(min-width: "+e+"px)"),n<1/0&&(r+=(r?" and ":"")+"(max-width: "+n+"px)"),i=r,window.matchMedia&&o?matchMedia(i).matches:window.styleMedia?styleMedia.matchMedium(i):window.media?media.matchMedium(i):t>=e&&t<=n}return window.matchMedia&&(window.Window&&window.matchMedia===Window.prototype.matchMedia?o=!0:window.matchMedia.toString().indexOf("native")>-1&&(o=!0)),i.bind("load resize orientationchange",r),{addRange:function(i){var o={data:{}};e.each(i,function(e,t){var n;o.data[e]={range:[parseInt((n=e.split(".."))[0],10)||-1/0,parseInt(n[1],10)||1/0].sort(function(e,t){return e-t}),enableCallback:t.on,disableCallback:t.off}}),n.push(o),t=null,r()}}}(jQuery),function(e){var t=/Windows Phone/.test(navigator.userAgent)||"ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch;function n(t){this.options=e.extend({heightProp:"height",recalcOnPageScroll:!1,setScrollTo:"",extraSpacing:0},t),this.init()}n.prototype={init:function(){for(var e,t=["height","max-height","maxHeight"],n=0;n<t.length;n++)t[n]===this.options.heightProp&&(e=!0);this.options.holder&&void 0!==e&&(this.findElements(),this.attachEvents(),this.setHeight())},findElements:function(){this.scrollAreaWrapper=e(this.options.holder),this.scrollArea=this.options.setScrollTo?this.scrollAreaWrapper.find(this.options.setScrollTo):this.scrollAreaWrapper},attachEvents:function(){if(!this.destroyed){var n=this,i=null;this.onResize=function(){n.setHeight()},this.onScroll=function(){clearTimeout(i),i=setTimeout(function(){n.setHeight()},2e3)},t?(e(window).on("orientationchange",this.onResize),e(window).on("touchend",this.onScroll)):(e(window).on("resize",this.onResize),this.options.recalcOnPageScroll&&e(window).on("scroll",this.onScroll))}},calcHeight:function(){var t=e(window),n=Math.round(this.scrollAreaWrapper.offset().top),i=(window.innerHeight,window.innerHeight),o=t.scrollTop();this.scrollAreaWrapperHeight=0,n>=o?this.scrollAreaWrapperHeight=i-(n-o)-this.options.extraSpacing:this.scrollAreaWrapperHeight=i-(n-this.options.extraSpacing)},setHeight:function(){this.destroyed||(this.calcHeight(),this.scrollArea.css(this.options.heightProp,this.scrollAreaWrapperHeight),this.scrollArea.css("overflow","auto"))},destroy:function(){var n=this;n.destroyed=!0,t?(e(window).off("orientationchange",this.onResize),e(window).off("touchend",this.onScroll)):(e(window).off("resize",this.onResize),this.options.recalcOnPageScroll&&e(window).off("scroll",this.onScroll)),this.scrollArea.css(this.options.heightProp,""),this.scrollArea.css("overflow",""),this.scrollAreaWrapper.removeData("scrollArea")}},e.fn.scrollArea=function(t){return this.each(function(){e(this).data("scrollArea",new n(e.extend(t,{holder:this})))})}}(jQuery),function(e){e.fn.slideAccordion=function(i){var o=e.extend({addClassBeforeAnimation:!1,allowClickWhenExpanded:!1,activeClass:"active",opener:".opener",slider:".slide",animSpeed:300,collapsible:!0,closeInactive:!1,event:"click"},i);return this.each(function(){e(this).find(":has("+o.slider+")").each(function(){var i=e(this),r=i.find(o.opener),a=i.find(o.slider);r.bind(o.event,function(e){if(!a.is(":animated")){if(i.hasClass(o.activeClass)){if(o.allowClickWhenExpanded)return;
1o.collapsible&&a.slideUp(o.animSpeed,function(){n(a),i.removeClass(o.activeClass)})}else{var r=i.siblings("."+o.activeClass),s=r.find(o.slider);i.addClass(o.activeClass),t(a).hide().slideDown(o.animSpeed),o.closeInactive&&s.slideUp(o.animSpeed,function(){r.removeClass(o.activeClass),n(s)})}}e.preventDefault()}),i.hasClass(o.activeClass)?t(a):n(a)})})};var t=function(e){return e.css({position:"",top:"",left:"",width:""})},n=function(e){return e.show().css({position:"absolute",top:-9999,left:-9999,width:e.width()})}}(jQuery),function(e){function t(t){this.options=e.extend({takeSizeFrom:".element",takeSize:"height",spacingProp:"padding-top",flexible:!0},t),this.init()}t.prototype={init:function(){for(var e,t=["left","right","top","bottom","margin","margin-top","margin-bottom","margin-left","margin-right","padding","padding-top","padding-bottom","padding-left","padding-right"],n=0;n<t.length;n++)t[n]===this.options.spacingProp&&(e=!0);if(this.options.holder&&void 0!==e&&(this.findElements(),this.setElemSpacing(),this.options.flexible))return this.attachEvents()},findElements:function(){this.elements={holder:e(this.options.holder),takeSizeFrom:e(this.options.takeSizeFrom)}},attachEvents:function(){this.bindHandlers(["onWindowResize"]),e(window).bind("resize orientationchange",this.onWindowResize)},onWindowResize:function(){this.destroyed||this.setElemSpacing()},bindHandlers:function(t){var n=this;e.each(t,function(e,t){var i=n[t];n[t]=function(){return i.apply(n,arguments)}})},setElemSpacing:function(){"width"===this.options.takeSize?this.elements.holder.css(this.options.spacingProp,this.elements.takeSizeFrom.outerWidth()):"height"===this.options.takeSize&&this.elements.holder.css(this.options.spacingProp,this.elements.takeSizeFrom.outerHeight())},destroy:function(){var t=this;t.options.flexible&&(t.destroyed=!0,e(window).unbind("resize orientationchange",t.onWindowResize)),t.elements.holder.css(this.options.spacingProp,""),t.elements.holder.removeData("setSpacing")}},e.fn.setSpacing=function(n){return this.each(function(){e(this).data("setSpacing",new t(e.extend(n,{holder:this})))})}}(jQuery),function(e,t,n,i){"use strict";var o=n("html"),r=n(e),a=n(t),s=n.fancybox=function(){s.open.apply(this,arguments)},l=navigator.userAgent.match(/msie/i),c=null,d=i!==t.createTouch,h=function(e){return e&&e.hasOwnProperty&&e instanceof n},u=function(e){return e&&"string"===n.type(e)},p=function(e){return u(e)&&e.indexOf("%")>0},f=function(e,t){var n=parseInt(e,10)||0;return t&&p(e)&&(n=s.getViewport()[t]/100*n),Math.ceil(n)},m=function(e,t){return f(e,t)+"px"};n.extend(s,{version:"2.1.5",defaults:{padding:15,margin:20,width:800,height:600,minWidth:100,minHeight:100,maxWidth:9999,maxHeight:9999,pixelRatio:1,autoSize:!0,autoHeight:!1,autoWidth:!1,autoResize:!0,autoCenter:!d,fitToView:!0,aspectRatio:!1,topRatio:.5,leftRatio:.5,scrolling:"auto",wrapCSS:"",arrows:!0,closeBtn:!0,closeClick:!1,nextClick:!1,mouseWheel:!0,autoPlay:!1,playSpeed:3e3,preload:3,modal:!1,loop:!0,ajax:{dataType:"html",headers:{"X-fancyBox":!0}},iframe:{scrolling:"auto",preload:!0},swf:{wmode:"transparent",allowfullscreen:"true",allowscriptaccess:"always"},keys:{next:{13:"left",34:"up",39:"left",40:"up"},prev:{8:"right",33:"down",37:"right",38:"down"},close:[27],play:[32],toggle:[70]},direction:{next:"left",prev:"right"},scrollOutside:!0,index:0,type:null,href:null,content:null,title:null,tpl:{wrap:'<div class="fancybox-wrap" tabIndex="-1"><div class="fancybox-skin"><div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',image:'<img class="fancybox-image" src="{href}" alt="" />',iframe:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" frameborder="0" vspace="0" hspace="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen'+(l?' allowtransparency="true"':"")+"></iframe>",error:'<p class="fancybox-error">The requested content cannot be loaded.<br/>Please try again later.</p>',closeBtn:'<a title="Close" class="fancybox-item fancybox-close" href="javascript:;"></a>',next:'<a title="Next" class="fancybox-nav fancybox-next" href="javascript:;"><span></span></a>',prev:'<a title="Previous" class="fancybox-nav fancybox-prev" href="javascript:;"><span></span></a>'},openEffect:"fade",openSpeed:250,openEasing:"swing",openOpacity:!0,openMethod:"zoomIn",closeEffect:"fade",closeSpeed:250,closeEasing:"swing",closeOpacity:!0,closeMethod:"zoomOut",nextEffect:"elastic",nextSpeed:250,nextEasing:"swing",nextMethod:"changeIn",prevEffect:"elastic",prevSpeed:250,prevEasing:"swing",prevMethod:"changeOut",helpers:{overlay:!0,title:!0},onCancel:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeChange:n.noop,beforeClose:n.noop,afterClose:n.noop},group:{},opts:{},previous:null,coming:null,current:null,isActive:!1,isOpen:!1,isOpened:!1,wrap:null,
1skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(e,t){if(e&&(n.isPlainObject(t)||(t={}),!1!==s.close(!0)))return n.isArray(e)||(e=h(e)?n(e).get():[e]),n.each(e,function(o,r){var a,l,c,d,p,f,m,g={};"object"===n.type(r)&&(r.nodeType&&(r=n(r)),h(r)?(g={href:r.data("fancybox-href")||r.attr("href"),title:r.data("fancybox-title")||r.attr("title"),isDom:!0,element:r},n.metadata&&n.extend(!0,g,r.metadata())):g=r),a=t.href||g.href||(u(r)?r:null),l=i!==t.title?t.title:g.title||"",(d=(c=t.content||g.content)?"html":t.type||g.type)||!g.isDom||(d=r.data("fancybox-type"))||(d=(p=r.prop("class").match(/fancybox\.(\w+)/))?p[1]:null),u(a)&&(!d&&(s.isImage(a)?d="image":s.isSWF(a)?d="swf":"#"===a.charAt(0)?d="inline":u(r)&&(d="html",c=r)),"ajax"===d&&(a=(f=a.split(/\s+/,2)).shift(),m=f.shift())),c||("inline"===d?a?c=n(u(a)?a.replace(/.*(?=#[^\s]+$)/,""):a):g.isDom&&(c=r):"html"===d?c=a:d||a||!g.isDom||(d="inline",c=r)),n.extend(g,{href:a,type:d,content:c,title:l,selector:m}),e[o]=g}),s.opts=n.extend(!0,{},s.defaults,t),i!==t.keys&&(s.opts.keys=!!t.keys&&n.extend({},s.defaults.keys,t.keys)),s.group=e,s._start(s.opts.index)},cancel:function(){var e=s.coming;e&&!1!==s.trigger("onCancel")&&(s.hideLoading(),s.ajaxLoad&&s.ajaxLoad.abort(),s.ajaxLoad=null,s.imgPreload&&(s.imgPreload.onload=s.imgPreload.onerror=null),e.wrap&&e.wrap.stop(!0,!0).trigger("onReset").remove(),s.coming=null,s.current||s._afterZoomOut(e))},close:function(e){s.cancel(),!1!==s.trigger("beforeClose")&&(s.unbindEvents(),s.isActive&&(s.isOpen&&!0!==e?(s.isOpen=s.isOpened=!1,s.isClosing=!0,n(".fancybox-item, .fancybox-nav").remove(),s.wrap.stop(!0,!0).removeClass("fancybox-opened"),s.transitions[s.current.closeMethod]()):(n(".fancybox-wrap").stop(!0).trigger("onReset").remove(),s._afterZoomOut())))},play:function(e){var t=function(){clearTimeout(s.player.timer)},n=function(){t(),s.current&&s.player.isActive&&(s.player.timer=setTimeout(s.next,s.current.playSpeed))},i=function(){t(),a.unbind(".player"),s.player.isActive=!1,s.trigger("onPlayEnd")};!0!==e&&(s.player.isActive||!1===e)?i():s.current&&(s.current.loop||s.current.index<s.group.length-1)&&(s.player.isActive=!0,a.bind({"onCancel.player beforeClose.player":i,"onUpdate.player":n,"beforeLoad.player":t}),n(),s.trigger("onPlayStart"))},next:function(e){var t=s.current;t&&(u(e)||(e=t.direction.next),s.jumpto(t.index+1,e,"next"))},prev:function(e){var t=s.current;t&&(u(e)||(e=t.direction.prev),s.jumpto(t.index-1,e,"prev"))},jumpto:function(e,t,n){var o=s.current;o&&(e=f(e),s.direction=t||o.direction[e>=o.index?"next":"prev"],s.router=n||"jumpto",o.loop&&(e<0&&(e=o.group.length+e%o.group.length),e%=o.group.length),i!==o.group[e]&&(s.cancel(),s._start(e)))},reposition:function(e,t){var i,o=s.current,r=o?o.wrap:null;r&&(i=s._getPosition(t),e&&"scroll"===e.type?(delete i.position,r.stop(!0,!0).animate(i,200)):(r.css(i),o.pos=n.extend({},o.dim,i)))},update:function(e){var t=e&&e.type,n=!t||"orientationchange"===t;n&&(clearTimeout(c),c=null),s.isOpen&&!c&&(c=setTimeout(function(){var i=s.current;i&&!s.isClosing&&(s.wrap.removeClass("fancybox-tmp"),(n||"load"===t||"resize"===t&&i.autoResize)&&s._setDimension(),"scroll"===t&&i.canShrink||s.reposition(e),s.trigger("onUpdate"),c=null)},n&&!d?0:300))},toggle:function(e){s.isOpen&&(s.current.fitToView="boolean"===n.type(e)?e:!s.current.fitToView,d&&(s.wrap.removeAttr("style").addClass("fancybox-tmp"),s.trigger("onUpdate")),s.update())},hideLoading:function(){a.unbind(".loading"),n("#fancybox-loading").remove()},showLoading:function(){var e,t;s.hideLoading(),e=n('<div id="fancybox-loading"><div></div></div>').click(s.cancel).appendTo("body"),a.bind("keydown.loading",function(e){27===(e.which||e.keyCode)&&(e.preventDefault(),s.cancel())}),s.defaults.fixed||(t=s.getViewport(),e.css({position:"absolute",top:.5*t.h+t.y,left:.5*t.w+t.x}))},getViewport:function(){var t=s.current&&s.current.locked||!1,n={x:r.scrollLeft(),y:r.scrollTop()};return t?(n.w=t[0].clientWidth,n.h=t[0].clientHeight):(n.w=d&&e.innerWidth?e.innerWidth:r.width(),n.h=d&&e.innerHe
1ight?e.innerHeight:r.height()),n},unbindEvents:function(){s.wrap&&h(s.wrap)&&s.wrap.unbind(".fb"),a.unbind(".fb"),r.unbind(".fb")},bindEvents:function(){var e,t=s.current;t&&(r.bind("orientationchange.fb"+(d?"":" resize.fb")+(t.autoCenter&&!t.locked?" scroll.fb":""),s.update),(e=t.keys)&&a.bind("keydown.fb",function(o){var r=o.which||o.keyCode,a=o.target||o.srcElement;if(27===r&&s.coming)return!1;o.ctrlKey||o.altKey||o.shiftKey||o.metaKey||a&&(a.type||n(a).is("[contenteditable]"))||n.each(e,function(e,a){return t.group.length>1&&i!==a[r]?(s[e](a[r]),o.preventDefault(),!1):n.inArray(r,a)>-1?(s[e](),o.preventDefault(),!1):void 0})}),n.fn.mousewheel&&t.mouseWheel&&s.wrap.bind("mousewheel.fb",function(e,i,o,r){for(var a,l=n(e.target||null),c=!1;l.length&&!(c||l.is(".fancybox-skin")||l.is(".fancybox-wrap"));)c=(a=l[0])&&!(a.style.overflow&&"hidden"===a.style.overflow)&&(a.clientWidth&&a.scrollWidth>a.clientWidth||a.clientHeight&&a.scrollHeight>a.clientHeight),l=n(l).parent();0===i||c||!(s.group.length>1)||t.canShrink||(r>0||o>0?s.prev(r>0?"down":"left"):(r<0||o<0)&&s.next(r<0?"up":"right"),e.preventDefault())}))},trigger:function(e,t){var i,o=t||s.coming||s.current;if(o){if(n.isFunction(o[e])&&(i=o[e].apply(o,Array.prototype.slice.call(arguments,1))),!1===i)return!1;o.helpers&&n.each(o.helpers,function(t,i){i&&s.helpers[t]&&n.isFunction(s.helpers[t][e])&&s.helpers[t][e](n.extend(!0,{},s.helpers[t].defaults,i),o)}),a.trigger(e)}},isImage:function(e){return u(e)&&e.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(e){return u(e)&&e.match(/\.(swf)((\?|#).*)?$/i)},_start:function(e){var t,i,o,r,a,l={};if(e=f(e),!(t=s.group[e]||null))return!1;if(r=(l=n.extend(!0,{},s.opts,t)).margin,a=l.padding,"number"===n.type(r)&&(l.margin=[r,r,r,r]),"number"===n.type(a)&&(l.padding=[a,a,a,a]),l.modal&&n.extend(!0,l,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}}),l.autoSize&&(l.autoWidth=l.autoHeight=!0),"auto"===l.width&&(l.autoWidth=!0),"auto"===l.height&&(l.autoHeight=!0),l.group=s.group,l.index=e,s.coming=l,!1===s.trigger("beforeLoad")){s.coming=null;return}if(o=l.type,i=l.href,!o)return s.coming=null,!!s.current&&!!s.router&&"jumpto"!==s.router&&(s.current.index=e,s[s.router](s.direction));if(s.isActive=!0,("image"===o||"swf"===o)&&(l.autoHeight=l.autoWidth=!1,l.scrolling="visible"),"image"===o&&(l.aspectRatio=!0),"iframe"===o&&d&&(l.scrolling="scroll"),l.wrap=n(l.tpl.wrap).addClass("fancybox-"+(d?"mobile":"desktop")+" fancybox-type-"+o+" fancybox-tmp "+l.wrapCSS).appendTo(l.parent||"body"),n.extend(l,{skin:n(".fancybox-skin",l.wrap),outer:n(".fancybox-outer",l.wrap),inner:n(".fancybox-inner",l.wrap)}),n.each(["Top","Right","Bottom","Left"],function(e,t){l.skin.css("padding"+t,m(l.padding[e]))}),s.trigger("onReady"),"inline"===o||"html"===o){if(!l.content||!l.content.length)return s._error("content")}else if(!i)return s._error("href");"image"===o?s._loadImage():"ajax"===o?s._loadAjax():"iframe"===o?s._loadIframe():s._afterLoad()},_error:function(e){n.extend(s.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:e,content:s.coming.tpl.error}),s._afterLoad()},_loadImage:function(){var e=s.imgPreload=new Image;e.onload=function(){this.onload=this.onerror=null,s.coming.width=this.width/s.opts.pixelRatio,s.coming.height=this.height/s.opts.pixelRatio,s._afterLoad()},e.onerror=function(){this.onload=this.onerror=null,s._error("image")},e.src=s.coming.href,!0!==e.complete&&s.showLoading()},_loadAjax:function(){var e=s.coming;s.showLoading(),s.ajaxLoad=n.ajax(n.extend({},e.ajax,{url:e.href,error:function(e,t){s.coming&&"abort"!==t?s._error("ajax",e):s.hideLoading()},success:function(t,n){"success"===n&&(e.content=t,s._afterLoad())}}))},_loadIframe:function(){var e=s.coming,t=n(e.tpl.iframe.replace(/\{rnd\}/g,new Date().getTime())).attr("scrolling",d?"auto":e.iframe.scrolling).attr("src",e.href);n(e.wrap).bind("onReset",function(){try{n(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(e){}}),e.iframe.preload&&(s.showLoading(),t.one("load",function(){n(this).data("ready",1),d||n(this).bind("load.fb",s.update),n(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show(),s._afterLoad()})),e.content=t.appendTo(e.inner),e.iframe.preload||s._afterLoad()},_preloadImages:function(){var e,t,n=s.group,i=s.current,o=n.length,r=i.preload?Math.min(i.preload,o-1):0;for(t=1;t<=r;t+=1)"image"===(e=n[(i.index+t)%o]).type&&e.href&&(new Image().src=e.href)},_afterLoad:function(){var e,t,i,o,r,a=s.coming,l=s.current,c="fancybox-placeholder";if(s.hideLoading(),a&&!1!==s.isActive){if(!1===s.trigger("afterLoad",a,l)){a.wrap.stop(!0).trigger("onReset").remove(),s.coming=null;return}switch(l&&(s.trigger("beforeChange",l),l.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove()),s.unbindEvents(),e=a.content,t=a.type,i=a.scrolling,n.extend(s,{wrap:a.wrap,skin:a.skin,outer:a.outer,inner:
1a.inner,current:a,previous:l}),o=a.href,t){case"inline":case"ajax":case"html":a.selector?e=n("<div>").html(e).find(a.selector):h(e)&&(e.data(c)||e.data(c,n('<div class="'+c+'"></div>').insertAfter(e).hide()),e=e.show().detach(),a.wrap.bind("onReset",function(){n(this).find(e).length&&e.hide().replaceAll(e.data(c)).data(c,!1)}));break;case"image":e=a.tpl.image.replace("{href}",o);break;case"swf":e='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+o+'"></param>',r="",n.each(a.swf,function(t,n){e+='<param name="'+t+'" value="'+n+'"></param>',r+=" "+t+'="'+n+'"'}),e+='<embed src="'+o+'" type="application/x-shockwave-flash" width="100%" height="100%"'+r+"></embed></object>"}h(e)&&e.parent().is(a.inner)||a.inner.append(e),s.trigger("beforeShow"),a.inner.css("overflow","yes"===i?"scroll":"no"===i?"hidden":i),s._setDimension(),s.reposition(),s.isOpen=!1,s.coming=null,s.bindEvents(),s.isOpened?l.prevMethod&&s.transitions[l.prevMethod]():n(".fancybox-wrap").not(a.wrap).stop(!0).trigger("onReset").remove(),s.transitions[s.isOpened?a.nextMethod:a.openMethod](),s._preloadImages()}},_setDimension:function(){var e,t,i,o,r,a,l,c,d,h,u,g,v,y,b,w=s.getViewport(),x=0,C=!1,_=!1,k=s.wrap,T=s.skin,S=s.inner,E=s.current,O=E.width,I=E.height,M=E.minWidth,A=E.minHeight,P=E.maxWidth,j=E.maxHeight,L=E.scrolling,W=E.scrollOutside?E.scrollbarWidth:0,H=E.margin,D=f(H[1]+H[3]),z=f(H[0]+H[2]);if(k.add(T).add(S).width("auto").height("auto").removeClass("fancybox-tmp"),e=f(T.outerWidth(!0)-T.width()),t=f(T.outerHeight(!0)-T.height()),i=D+e,o=z+t,r=p(O)?(w.w-i)*f(O)/100:O,a=p(I)?(w.h-o)*f(I)/100:I,"iframe"===E.type){if(y=E.content,E.autoHeight&&1===y.data("ready"))try{y[0].contentWindow.document.location&&(S.width(r).height(9999),b=y.contents().find("body"),W&&b.css("overflow-x","hidden"),a=b.outerHeight(!0))}catch(e){}}else(E.autoWidth||E.autoHeight)&&(S.addClass("fancybox-tmp"),E.autoWidth||S.width(r),E.autoHeight||S.height(a),E.autoWidth&&(r=S.width()),E.autoHeight&&(a=S.height()),S.removeClass("fancybox-tmp"));if(O=f(r),I=f(a),d=r/a,M=f(p(M)?f(M,"w")-i:M),P=f(p(P)?f(P,"w")-i:P),A=f(p(A)?f(A,"h")-o:A),j=f(p(j)?f(j,"h")-o:j),l=P,c=j,E.fitToView&&
1(P=Math.min(w.w-i,P),j=Math.min(w.h-o,j)),g=w.w-D,v=w.h-z,E.aspectRatio?(O>P&&(I=f((O=P)/d)),I>j&&(O=f((I=j)*d)),O<M&&(I=f((O=M)/d)),I<A&&(O=f((I=A)*d))):(O=Math.max(M,Math.min(O,P)),E.autoHeight&&"iframe"!==E.type&&(S.width(O),I=S.height()),I=Math.max(A,Math.min(I,j))),E.fitToView){if(S.width(O).height(I),k.width(O+e),h=k.width(),u=k.height(),E.aspectRatio)for(;(h>g||u>v)&&O>M&&I>A&&!(x++>19);)(O=f((I=Math.max(A,Math.min(j,I-10)))*d))<M&&(I=f((O=M)/d)),O>P&&(I=f((O=P)/d)),S.width(O).height(I),k.width(O+e),h=k.width(),u=k.height();else O=Math.max(M,Math.min(O,O-(h-g))),I=Math.max(A,Math.min(I,I-(u-v)))}W&&"auto"===L&&I<a&&O+e+W<g&&(O+=W),S.width(O).height(I),k.width(O+e),h=k.width(),u=k.height(),C=(h>g||u>v)&&O>M&&I>A,_=E.aspectRatio?O<l&&I<c&&O<r&&I<a:(O<l||I<c)&&(O<r||I<a),n.extend(E,{dim:{width:m(h),height:m(u)},origWidth:r,origHeight:a,canShrink:C,canExpand:_,wPadding:e,hPadding:t,wrapSpace:u-T.outerHeight(!0),skinSpace:T.height()-I}),!y&&E.autoHeight&&I>A&&I<j&&!_&&S.height("auto")},_getPosition:function(e){var t=s.current,n=s.getViewport(),i=t.margin,o=s.wrap.width()+i[1]+i[3],r=s.wrap.height()+i[0]+i[2],a={position:"absolute",top:i[0],left:i[3]};return t.autoCenter&&t.fixed&&!e&&r<=n.h&&o<=n.w?a.position="fixed":t.locked||(a.top+=n.y,a.left+=n.x),a.top=m(Math.max(a.top,a.top+(n.h-r)*t.topRatio)),a.left=m(Math.max(a.left,a.left+(n.w-o)*t.leftRatio)),a},_afterZoomIn:function(){var e=s.current;e&&(s.isOpen=s.isOpened=!0,s.wrap.css("overflow","visible").addClass("fancybox-opened"),s.update(),(e.closeClick||e.nextClick&&s.group.length>1)&&s.inner.css("cursor","pointer").bind("click.fb",function(t){n(t.target).is("a")||n(t.target).parent().is("a")||(t.preventDefault(),s[e.closeClick?"close":"next"]())}),e.closeBtn&&n(e.tpl.closeBtn).appendTo(s.skin).bind("click.fb",function(e){e.preventDefault(),s.close()}),e.arrows&&s.group.length>1&&((e.loop||e.index>0)&&n(e.tpl.prev).appendTo(s.outer).bind("click.fb",s.prev),(e.loop||e.index<s.group.length-1)&&n(e.tpl.next).appendTo(s.outer).bind("click.fb",s.next)),s.trigger("afterShow"),e.loop||e.index!==e.group.length-1?s.opts.autoPlay&&!s.player.isActive&&(s.opts.autoPlay=!1,s.play()):s.play(!1))},_afterZoomOut:function(e){e=e||s.current,n(".fancybox-wrap").trigger("onReset").remove(),n.extend(s,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,skin:null,outer:null,inner:null}),s.trigger("afterClose",e)}}),s.transitions={getOrigPosition:function(){var e=s.current,t=e.element,n=e.orig,i={},o=50,r=50,a=e.hPadding,l=e.wPadding,c=s.getViewport();return!n&&e.isDom&&t.is(":visible")&&!(n=t.find("img:first")).length&&(n=t),h(n)?(i=n.offset(),n.is("img")&&(o=n.outerWidth(),r=n.outerHeight())):(i.top=c.y+(c.h-r)*e.topRatio,i.left=c.x+(c.w-o)*e.leftRatio),("fixed"===s.wrap.css("position")||e.locked)&&(i.top-=c.y,i.left-=c.x),i={top:m(i.top-a*e.topRatio),left:m(i.left-l*e.leftRatio),width:m(o+l),height:m(r+a)}},step:function(e,t){var n,i,o=t.prop,r=s.current,a=r.wrapSpace,l=r.skinSpace;("width"===o||"height"===o)&&(n=t.end===t.start?1:(e-t.start)/(t.end-t.start),s.isClosing&&(n=1-n),i=e-("width"===o?r.wPadding:r.hPadding),s.skin[o](f("width"===o?i:i-a*n)),s.inner[o](f("width"===o?i:i-a*n-l*n)))},zoomIn:function(){var e=s.current,t=e.pos,i=e.openEffect,o="elastic"===i,r=n.extend({opacity:1},t);delete r.position,o?(t=this.getOrigPosition(),e.openOpacity&&(t.opacity=.1)):"fade"===i&&(t.opacity=.1),s.wrap.css(t).animate(r,{duration:"none"===i?0:e.openSpeed,easing:e.openEasing,step:o?this.step:null,complete:s._afterZoomIn})},zoomOut:function(){var e=s.current,t=e.closeEffect,n="elastic"===t,i={opacity:.1};n&&(i=this.getOrigPosition(),e.closeOpacity&&(i.opacity=.1)),s.wrap.animate(i,{duration:"none"===t?0:e.closeSpeed,easing:e.closeEasing,step:n?this.step:null,complete:s._afterZoomOut})},changeIn:function(){var e,t=s.current,n=t.nextEffect,i=t.pos,o={opacity:1},r=s.direction;i.opacity=.1,"elastic"===n&&(e="down"===r||"up"===r?"top":"left","down"===r||"right"===r?(i[e]=m(f(i[e])-200),o[e]="+=200px"):(i[e]=m(f(i[e])+200),o[e]="-=200px")),"none"===n?s._afterZoomIn():s.wrap.css(i).animate(o,{duration:t.nextSpeed,easing:t.nextEasing,complete:s._afterZoomIn})},changeOut:function(){var e=s.previous,t=e.prevEffect,i={opacity:.1},o=s.direction;"elastic"===t&&(i["down"===o||"up"===o?"top":"left"]=("up"===o||"left"===o?"-":"+")+"=200px"),e.wrap.animate(i,{duration:"none"===t?0:e.prevSpeed,easing:e.prevEasing,complete:function(){n(this).trigger("onReset").remove()}})}},s.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!d,fixed:!0},overlay:null,fixed:!1,el:n("html"),create:function(e){e=n.extend({},this.defaults,e),this.overlay&&this.close(),this.overlay=n('<div class="fancybox-overlay"></div>').appendTo(s.coming?s.coming.parent:e.parent),this.fixed=!1,e.fixed&&s.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(e){var t=this;e=n.extend({},this.defaults,e),this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(e),this.fixed||(r.bind("resize.overlay",n.proxy(this.update,this)),this.update()),e.closeClick&&this.overlay.bind("click.overlay",function(e){if(n(e.target).hasClass("fancybox-overlay"))return s.isActive?s.close():t.close(),!1}),this.overlay.css(e.css).show()},close:function(){var e,t;r.unbind("resize.overlay"),this.el.hasClass("fancybox-lock")&&(n(".fancybox-margin").removeClass("fancybox-margin"),e=r.scrollTop(),t=r.scrollLeft(),this.el.removeClass("fancybox-lock"),r.scrollTop(e).scrollLeft(t)),n(".fancybox-overlay").remove().hide(),n.extend(this,{overlay:null,fixed:!1})},update:function(){var e,n="100%";this.overlay.width(n).height("100%"),l?(e=Math.max(t.documentElement.offsetWidth,t.body.offsetWidth),a.width()>e&&(n=a.width())):a.width()>r.width()&&(n=a.width()),this.overlay.width(n).height(a.height())},onReady:function(e,t){var i=this.overlay;n(".fancybox-overlay").stop(!0,!0),i||this.create(e),e.locked&&this.fixed&&t.fixed&&(i||(this.margin=a.height()>r.height()&&n("html").css("margin-right").replace("px","")),t.locked=this.overlay.append(t.wrap),t.fixed=!1),!0===e.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(e,t){var i,o;t.locked&&(!1!==this.margin&&(n("*").filter(function(){return"fixed"===n(this).css("position")&&!n(this).hasClass("fancybox-overlay")&&!n(this).hasClass("fancybox-wrap")}).addClass("fancybox-margin"),this.el.addClass("fancybox-margin")),i=r.scrollTop(),o=r.scrollLeft(),this.el.addClass("fancybox-lock"),r.scrollTop(i).scrollLeft(o)),this.open(e)}
1,onUpdate:function(){this.fixed||this.update()},afterClose:function(e){this.overlay&&!s.coming&&this.overlay.fadeOut(e.speedOut,n.proxy(this.close,this))}},s.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(e){var t,i,o=s.current,r=o.title,a=e.type;if(n.isFunction(r)&&(r=r.call(o.element,o)),u(r)&&""!==n.trim(r)){switch(t=n('<div class="fancybox-title fancybox-title-'+a+'-wrap">'+r+"</div>"),a){case"inside":i=s.skin;break;case"outside":i=s.wrap;break;case"over":i=s.inner;break;default:i=s.skin,t.appendTo("body"),l&&t.width(t.width()),t.wrapInner('<span class="child"></span>'),s.current.margin[2]+=Math.abs(f(t.css("margin-bottom")))}t["top"===e.position?"prependTo":"appendTo"](i)}}},n.fn.fancybox=function(e){var t,i=n(this),o=this.selector||"",r=function(r){var a,l,c=n(this).blur(),d=t;r.ctrlKey||r.altKey||r.shiftKey||r.metaKey||c.is(".fancybox-wrap")||(a=e.groupAttr||"data-fancybox-group",(l=c.attr(a))||(a="rel",l=c.get(0)[a]),l&&""!==l&&"nofollow"!==l&&(d=(c=(c=o.length?n(o):i).filter("["+a+'="'+l+'"]')).index(this)),e.index=d,!1!==s.open(c,e)&&r.preventDefault())};return t=(e=e||{}).index||0,o&&!1!==e.live?a.undelegate(o,"click.fb-start").delegate(o+":not('.fancybox-item, .fancybox-nav')","click.fb-start",r):i.unbind("click.fb-start").bind("click.fb-start",r),this.filter("[data-fancybox-start=1]").trigger("click"),this},a.ready(function(){var t,r,a,l;i===n.scrollbarWidth&&(n.scrollbarWidth=function(){var e=n('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),t=e.children(),i=t.innerWidth()-t.height(99).innerWidth();return e.remove(),i}),i===n.support.fixedPosition&&(n.support.fixedPosition=(l=20===(a=n('<div style="position:fixed;top:20px;"></div>').appendTo("body"))[0].offsetTop||15===a[0].offsetTop,a.remove(),l)),n.extend(s.defaults,{scrollbarWidth:n.scrollbarWidth(),fixed:n.support.fixedPosition,parent:n("body")}),t=n(e).width(),o.addClass("fancybox-lock-test"),r=n(e).width(),o.removeClass("fancybox-lock-test"),n("<style type='text/css'>.fancybox-margin{margin-right:"+(r-t)+"px;}</style>").appendTo("head")})}(window,document,jQuery),/*! 2 Colorbox 1.6.4 3 license: MIT 4 http://www.jacklmoore.com/colorbox 5*/function(e,t,n){function i(n,i,o){var r=t.createElement(n);return i&&(r.id=J+i),o&&(r.style.cssText=o),e(r)}function o(){return n.innerHeight?n.innerHeight:e(n).height()}function r(t,n){n!==Object(n)&&(n={}),this.cache={},this.el=t,this.value=function(t){var i;return void 0===this.cache[t]&&(void 0!==(i=e(this.el).attr("data-cbox-"+t))?this.cache[t]=i:void 0!==n[t]?this.cache[t]=n[t]:void 0!==G[t]&&(this.cache[t]=G[t])),this.cache[t]},this.get=function(t){var n=this.value(t);return e.isFunction(n)?n.call(this.el,this):n}}function a(e){var t=_.length,n=(F+e)%t;return 0>n?t+n:n}function s(e,t){return Math.round((/%/.test(e)?("x"===t?k.width():o())/100:1)*parseInt(e,10))}function l(e,t){return e.get("photo")||e.get("photoRegex").test(t)}function c(e,t){return e.get("retinaUrl")&&n.devicePixelRatio>1?t.replace(e.get("photoRegex"),e.get("retinaSuffix")):t}function d(e){"contains"in g[0]&&!g[0].contains(e.target)&&e.target!==m[0]&&(e.stopPropagation(),g.focus())}function h(e){h.str!==e&&(g.add(m).removeClass(h.str).addClass(e),h.str=e)}function u(n){e(t).trigger(n),er.triggerHandler(n)}function p(o){var a;if(!q){if(a=e(o).data(Z),W=new r(o,a),F=0,(p=W.get("rel"))&&!1!==p&&"nofollow"!==p?-1===(F=(_=e("."+X).filter(function(){var t=e.data(this,Z);return new r(this,t).get("rel")===p})).index(W.el))&&(F=(_=_.add(W.el)).length-1):_=e(W.el),!B){B=U=!0,h(W.get("className")),g.css({visibility:"hidden",display:"block",opacity:""}),T=i(ea,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),y.css({width:"",height:""}).append(T),H=b.height()+C.height()+y.outerHeight(!0)-y.height(),D=w.width()+x.width()+y.outerWidth(!0)-y.width(),z=T.outerHeight(!0),R=T.outerWidth(!0);var p,f=s(W.get("initialWidth"),"x"),v=s(W.get("initialHeight"),"y"),k=W.get("maxWidth"),I=W.get("maxHeight");W.w=Math.max((!1!==k?Math.min(f,s(k,"x")):f)-R-D,0),W.h=Math.max((!1!==I?Math.min(v,s(I,"y")):v)-z-H,0),T.css({width:"",height:W.h}
vendor: 4,467 bytes, line 5
5),V.position(),u(Y),W.get("onOpen"),L.add(O).hide(),g.focus(),W.get("trapFocus")&&t.addEventListener&&(t.addEventListener("focus",d,!0),er.one(ei,function(){t.removeEventListener("focus",d,!0)})),W.get("returnFocus")&&er.one(ei,function(){e(W.el).focus()})}var M=parseFloat(W.get("opacity"));m.css({opacity:M==M?M:"",cursor:W.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),W.get("closeButton")?j.html(W.get("close")).appendTo(y):j.appendTo("<div/>"),function(){var t,o,r,a=V.prep,d=++es;if(U=!0,N=!1,u(eo),u(ee),W.get("onLoad"),W.h=W.get("height")?s(W.get("height"),"y")-z-H:W.get("innerHeight")&&s(W.get("innerHeight"),"y"),W.w=W.get("width")?s(W.get("width"),"x")-R-D:W.get("innerWidth")&&s(W.get("innerWidth"),"x"),W.mw=W.w,W.mh=W.h,W.get("maxWidth")&&(W.mw=s(W.get("maxWidth"),"x")-R-D,W.mw=W.w&&W.w<W.mw?W.w:W.mw),W.get("maxHeight")&&(W.mh=s(W.get("maxHeight"),"y")-z-H,W.mh=W.h&&W.h<W.mh?W.h:W.mh),t=W.get("href"),Q=setTimeout(function(){E.show()},100),W.get("inline")){var h=e(t).eq(0);r=e("<div>").hide().insertBefore(h),er.one(eo,function(){r.replaceWith(h)}),a(h)}else W.get("iframe")?a(" "):W.get("html")?a(W.get("html")):l(W,t)?(t=c(W,t),e(N=W.get("createImg")).addClass(J+"Photo").bind("error."+J,function(){a(i(ea,"Error").html(W.get("imgError")))}).one("load",function(){d===es&&setTimeout(function(){var t;W.get("retinaImage")&&n.devicePixelRatio>1&&(N.height=N.height/n.devicePixelRatio,N.width=N.width/n.devicePixelRatio),W.get("scalePhotos")&&(o=function(){N.height-=N.height*t,N.width-=N.width*t},W.mw&&N.width>W.mw&&(t=(N.width-W.mw)/N.width,o()),W.mh&&N.height>W.mh&&(t=(N.height-W.mh)/N.height,o())),W.h&&(N.style.marginTop=Math.max(W.mh-N.height,0)/2+"px"),_[1]&&(W.get("loop")||_[F+1])&&(N.style.cursor="pointer",e(N).bind("click."+J,function(){V.next()})),N.style.width=N.width+"px",N.style.height=N.height+"px",a(N)},1)}),N.src=t):t&&S.load(t,W.get("data"),function(t,n){d===es&&a("error"===n?i(ea,"Error").html(W.get("xhrError")):e(this).contents())})}()}}function f(){g||(K=!1,k=e(n),g=i(ea).attr({id:Z,class:!1===e.support.opacity?J+"IE":"",role:"dialog",tabindex:"-1"}).hide(),m=i(ea,"Overlay").hide(),E=e([i(ea,"LoadingOverlay")[0],i(ea,"LoadingGraphic")[0]]),v=i(ea,"Wrapper"),y=i(ea,"Content").append(O=i(ea,"Title"),I=i(ea,"Current"),P=e('<button type="button"/>').attr({id:J+"Previous"}),A=e('<button type="button"/>').attr({id:J+"Next"}),M=e('<button type="button"/>').attr({id:J+"Slideshow"}),E),j=e('<button type="button"/>').attr({id:J+"Close"}),v.append(i(ea).append(i(ea,"TopLeft"),b=i(ea,"TopCenter"),i(ea,"TopRight")),i(ea,!1,"clear:left").append(w=i(ea,"MiddleLeft"),y,x=i(ea,"MiddleRight")),i(ea,!1,"clear:left").append(i(ea,"BottomLeft"),C=i(ea,"BottomCenter"),i(ea,"BottomRight"))).find("div div").css({float:"left"}),S=i(ea,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),L=A.add(P).add(I).add(M)),t.body&&!g.parent().length&&e(t.body).append(m,g.append(v,S))}var m,g,v,y,b,w,x,C,_,k,T,S,E,O,I,M,A,P,j,L,W,H,D,z,R,F,N,B,U,q,Q,V,K,G={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHeight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return e(this).attr("href")},title:function(){return this.title},createImg:function(){var t=new Image,n=e(this).data("cbox-img-attrs");return"object"==typeof n&&e.each(n,function(e,n){t[e]=n}),t},createIframe:function(){var n=t.createElement("iframe"),i=e(this).data("cbox-iframe-attrs");return"object"==typeof i&&e.each(i,function(e,t){n[e]=t}),"frameBorder"in n&&(n.frameBorder=0),"allowTransparency"in n&&(n.allowTransparency="true"),n.name=(new Date).getTime(),n.allowFullscreen=!0,n}}
5,Z="colorbox",J="cbox",X=J+"Element",Y=J+"_open",ee=J+"_load",et=J+"_complete",en=J+"_cleanup",ei=J+"_closed",eo=J+"_purge",er=e("<a/>"),ea="div",es=0,el={},ec=function(){function e(){clearTimeout(a)}function t(){(W.get("loop")||_[F+1])&&(e(),a=setTimeout(V.next,W.get("slideshowSpeed")))}function n(){M.html(W.get("slideshowStop")).unbind(l).one(l,i),er.bind(et,t).bind(ee,e),g.removeClass(s+"off").addClass(s+"on")}function i(){e(),er.unbind(et,t).unbind(ee,e),M.html(W.get("slideshowStart")).unbind(l).one(l,function(){V.next(),n()}),g.removeClass(s+"on").addClass(s+"off")}function o(){r=!1,M.hide(),e(),er.unbind(et,t).unbind(ee,e),g.removeClass(s+"off "+s+"on")}var r,a,s=J+"Slideshow_",l="click."+J;return function(){r?W.get("slideshow")||(er.unbind(en,o),o()):W.get("slideshow")&&_[1]&&(r=!0,er.one(en,o),W.get("slideshowAuto")?n():i(),M.show())}}();e[Z]||(e(f),(V=e.fn[Z]=e[Z]=function(n,i){var o=this;return n=n||{},e.isFunction(o)&&(o=e("<a/>"),n.open=!0),o[0]&&(f(),function(){function n(e){e.which>1||e.shiftKey||e.altKey||e.metaKey||e.ctrlKey||(e.preventDefault(),p(this))}return!!g&&(K||(K=!0,A.click(function(){V.next()}),P.click(function(){V.prev()}),j.click(function(){V.close()}),m.click(function(){W.get("overlayClose")&&V.close()}),e(t).bind("keydown."+J,function(e){var t=e.keyCode;B&&W.get("escKey")&&27===t&&(e.preventDefault(),V.close()),B&&W.get("arrowKey")&&_[1]&&!e.altKey&&(37===t?(e.preventDefault(),P.click()):39===t&&(e.preventDefault(),A.click()))}),e.isFunction(e.fn.on)?e(t).on("click."+J,"."+X,n):e("."+X).live("click."+J,n)),!0)}()&&(i&&(n.onComplete=i),o.each(function(){var t=e.data(this,Z)||{};e.data(this,Z,e.extend(t,n))}).addClass(X),new r(o[0],n).get("open")&&p(o[0]))),o}).position=function(t,n){function i(){b[0].style.width=C[0].style.width=y[0].style.width=parseInt(g[0].style.width,10)-D+"px",y[0].style.height=w[0].style.height=x[0].style.height=parseInt(g[0].style.height,10)-H+"px"}var r,a,l,c=0,d=0,h=g.offset();if(k.unbind("resize."+J),g.css({top:-9e4,left:-9e4}),a=k.scrollTop(),l=k.scrollLeft(),W.get("fixed")?(h.top-=a,h.left-=l,g.css({position:"fixed"})):(c=a,d=l,g.css({position:"absolute"})),d+=!1!==W.get("right")?Math.max(k.width()-W.w-R-D-s(W.get("right"),"x"),0):!1!==W.get("left")?s(W.get("left"),"x"):Math.round(Math.max(k.width()-W.w-R-D,0)/2),c+=!1!==W.get("bottom")?Math.max(o()-W.h-z-H-s(W.get("bottom"),"y"),0):!1!==W.get("top")?s(W.get("top"),"y"):Math.round(Math.max(o()-W.h-z-H,0)/2),g.css({top:h.top,left:h.left,visibility:"visible"}),v[0].style.width=v[0].style.height="9999px",r={width:W.w+R+D,height:W.h+z+H,top:c,left:d},t){var u=0;e.each(r,function(e){return r[e]!==el[e]?void(u=t):void 0}),t=u}el=r,t||g.css(r),g.dequeue().animate(r,{duration:t||0,complete:function(){i(),U=!1,v[0].style.width=W.w+R+D+"px",v[0].style.height=W.h+z+H+"px",W.get("reposition")&&setTimeout(function(){k.bind("resize."+J,V.position)},1),e.isFunction(n)&&n()},step:i})},V.resize=function(e){var t;B&&((e=e||{}).width&&(W.w=s(e.width,"x")-R-D),e.innerWidth&&(W.w=s(e.innerWidth,"x")),T.css({width:W.w}),e.height&&(W.h=s(e.height,"y")-z-H),e.innerHeight&&(W.h=s(e.innerHeight,"y")),e.innerHeight||e.height||(t=T.scrollTop(),T.css({height:"auto"}),W.h=T.height()),T.css({height:W.h}),t&&T.scrollTop(t),V.position("none"===W.get("transition")?0:W.get("speed")))},V.prep=function(n){if(B){var o,s="none"===W.get("transition")?0:W.get("speed");T.remove(),(T=i(ea,"LoadedContent").append(n)).hide().appendTo(S.show()).css({width:(W.w=W.w||T.width(),W.w=W.mw&&W.mw<W.w?W.mw:W.w,W.w),overflow:W.get("scrolling")?"auto":"hidden"}).css({height:(W.h=W.h||T.height(),W.h=W.mh&&W.mh<W.h?W.mh:W.h,W.h)}).prependTo(y),S.hide(),e(N).css({float:"none"}),h(W.get("className")),o=function(){function n(){!1===e.support.opacity&&g[0].style.removeAttribute("filter")}var i,o,d=_.length;B&&(o=function(){clearTimeout(Q),E.hide(),u(et),W.get("onComplete")},O.html(W.get("title")).show(),T.show(),d>1?("string"==typeof W.get("current")&&I.html(W.get("current").replace("{current}",F+1).replace("{total}",d)).show(),A[W.get("loop")||d-1>F?"show":"hide"]().html(W.get("next")),P[W.get("loop")||F?"show":"hide"]().html(W.get("previous")),ec(),W.get("preloading")&&e.each([a(-1),a(1)],function(){var n=_[this],i=new r(n,e.data(n,Z)),o=i.get("href");o&&l(i,o)&&(o=c(i,o),t.createElement("img").src=o)})):L.hide(),W.get("iframe")?(i=W.get("createIframe"),W.get("scrolling")||(i.scrolling="no"),e(i).attr({src:W.get("href"),class:J+"Iframe"}).one("load",o).appendTo(T),er.one(eo,function(){i.src="//about:blank"}),W.get("fastIframe")&&e(i).trigger("load")):o(),"fade"===W.get("transition")?g.fadeTo(s,1,n):n())},"fade"===W.get("transition")?g.fadeTo(s,0,function(){V.position(0,o)}):V.position(s,o)}},V.next=function(){!U&&_[1]&&(W.get("loop")||_[F+1])&&p(_[F=a(1)])},V.prev=function(){!U&&_[1]&&(W.get("loop")||F)&&p(_[F=a(-1)])},V.close=function(){B&&!q&&(q=!0,B=!1,u(en),W.get("onCleanup"),k.unbind("."+J),m.fadeTo(W.get("fadeOut")||0,0),g.stop().fadeTo(W.get("fadeOut")||0,0,function(){g.hide(),m.hide(),u(eo),T.remove(),setTimeout(function(){q=!1,u(ei),W.get("onClosed")},1)}))}
5,V.remove=function(){g&&(g.stop(),e[Z].close(),g.stop(!1,!0).remove(),m.remove(),q=!1,g=null,e("."+X).removeData(Z).removeClass(X),e(t).unbind("click."+J).unbind("keydown."+J))},V.element=function(){return e(W.el)},V.settings=G)}(jQuery,document,window),function(e){"use strict";let t=e('<style type="text/css">.mm-menu.mm-offcanvas { display: none; }</style>');function n(){e("nav.mm-menu a.mm-prev").each(function(){let t=e(this).parent().find("a.mm-title").text();e(this).attr("title",t)}),e("nav.mm-menu a.mm-next").each(function(){let t=e("> a[data-title]",e(this).parent()).data("title");e(this).attr("title",t)}),e("nav.mm-menu a.mm-close").length>0&&e("nav.mm-menu a.mm-close").attr("title","Close"),function(){let t=e(".navigation-a");t.length&&e(".navigation-a > .navigation__list > .navigation__item.has-drop-down").on("mouseenter mouseleave",function(t){let n=e(this),i=n.find("> .navigation__list--sub"),o=i.find("> .navigation__item.has-drop-down > .navigation__list--sub"),r=o.find("> .navigation__item.has-drop-down > .navigation__list--sub"),a=i.outerWidth(!0),s=n.offset().left,l=0,c=0;e(o).each(function(){let t=e(this).outerWidth(!0);t>c&&(c=t)});let d=0;e(r).each(function(){let t=e(this).outerWidth(!0);t>d&&(d=t)}),l=a+c+d-n.outerWidth(!0);let h=e(document).width()-(s+n.outerWidth(!0)+60),u=h>l;u?n.removeClass("near-edge"):n.addClass("near-edge")})}()}e("html > head").append(t),e(document).ready(function(){e("[data-sticky-header]").closest(".js-sticky-nav").sticky({topSpacing:0}),e(".navigation__item.more").click(function(e){e.preventDefault()}),e(".more_nav--loading").removeClass("more_nav--loading"),n()}),e(window).load(function(){n()})}(window.jQuery),function(e){var t=function(t,n){this.$el=e(t),this.inputAttributes=n.attributes,this.options=n||{},this.config={fail:'<span class="error"><i class="la-cicon-exclamation" aria-hidden="true"></i>Oops! Upload failed</span>',notSupported:'<span class="error"><i class="la-cicon-exclamation" aria-hidden="true"></i>File type not supported</span>',maxSize:'<span class="error"><i class="la-cicon-exclamation" aria-hidden="true"></i>File exceeds max size</span>',fileSize:10485760,fileTypes:n.fileTypes,defaultLabel:""==this.options.label?this.options.label:this.options.helpText},this.itemInfo={},this.insertHTML(this.inputAttributes),this.$uploadFieldInput=this.$el.find(":file"),this.$label=this.$el.find(".labelHolder"),this.$close=this.$el.find(".la-cicon-close"),this.init(this.$el)};t.prototype.init=function(e){this.attachEvents()},t.prototype.attachEvents=function(){var t=this;t.$el.on("change",":file",function(){var t=e(this),n=t.get(0).files?t.get(0).files.length:1,i=t.val().replace(/\\/g,"/").replace(/.*\//,""),o=document.getElementById(t.attr("id")).files[0];o&&t.trigger("fileselect",[n,i,o])}),t.$uploadFieldInput.on("fileselect",function(e,n,i,o){t.validateFiles(e,n,i,o)}),t.$uploadFieldInput.on("focus",function(){t.$uploadFieldInput.addClass("has-focus")}).on("blur",function(){t.$uploadFieldInput.removeClass("has-focus")}),t.$close.on("click",function(e){e.preventDefault(),t.toggleInputState("reset"),t.uploadItems("removeLastUploaded"),t.$uploadFieldInput.val("")})},t.prototype.uploadItems=function(e){"object"!=typeof e?this.$uploadFieldInput.data("item",""):(this.$uploadFieldInput.data("item",JSON.stringify(e)),this.toggleInputState("close"))},t.prototype.toggleInputState=function(e){"reset"===e&&(e="upload",this.$label.html(this.config.defaultLabel)),this.$el.find(".la-cicon-"+e).show(),this.$el.find(".la-cicon-"+e).siblings("i").hide(),"upload"===e?this.$el.find(".status-label").show():this.$el.find(".status-label").hide()},t.prototype.encodeBaseSF=function(e,t,n){var i=this,o=new FileReader,r={};o.readAsDataURL(e),o.onload=function(){return r.id=t,r.string=o.result,r.size=e.size,r.extension=i.itemInfo.extension,r.icon=i.itemInfo.icon,n(r)},o.onerror=function(e){}},t.prototype.insertHTML=function(t){this.options.required;var n='<label for="'+t.id+'"><span class="labelHolder">'+this.config.defaultLabel+'</span><span class="btnS"><span class=""><i class="la-cicon-spinner icon-pulse icon-fw icon-load" style="display:none;"></i><i class="la-cicon-upload"></i><i class="la-cicon-close" style="display:none;"></i><span class="status-label"> Browse</span></span></span></label><span class="form-input-info">Maximum file size allowed: 10MB</label>',i=e("<input>",t).addClass("fileUpload");this.$el.append(i).append(n)},t.prototype.validateFiles=function(t,n,i,o){var r=this,a=r.$label.html(),s="",l=!1;e("label",r.$el).removeClass("has-error"),e(".error_container",r.$el.parent().parent()).remove(),r.itemInfo.extension=o.name.split(".").pop().toUpperCase(),r.itemInfo.icon="other",e.each(r.options.fileTypes,function(e,t){t.ext===r.itemInfo.extension&&(l=!0,r.itemInfo.icon=t.icon)}),t.target.value&&(s=t.target.value.split("\\").pop());var c='<span class="success"><i class="la-cicon-file-'+r.itemInfo.icon+'"></i>'+s+"</span>";s?(o.size>r.config.fileSize?r.updateLabel(r.config.maxSize):l?r.encodeBaseSF(o,s,function(e){r.uploadItems(e),r.updateLabel(c)}):r.updateLabel(r.config.notSupported),r.toggleInputState("close")):(r.$label.html(a),r.toggleInputState("load"))},t.prototype.updateLabel=function(e){void 0!==e&&this.$label.html(e)};var n=e.fn.uploadField;e.fn.uploadField=function(n){n=e.extend({},e(this).data(),"object"==typeof n&&n),new t(this,n)},e.fn.uploadField.Constructor=t,e.fn.uploadField.noConflict=function(){return e.fn.uploadField=n,this}}(jQuery),function(e){"use strict";e(document).ready(function(){e("body").on("SMBLeadsFormReady",function(){var t=e('[data-control
5="form"]');if(t.length){t.each(function(){""!=e(this).data("mhorgid")&&(e("<input>").attr({type:"hidden",name:"mh_orgId",value:e(this).data("mhorgid")}).appendTo(e("form",e(this))),e("<input>").attr({type:"hidden",name:"mh_template_id",value:e(this).data("templateId")}).appendTo(e("form",e(this))))});var n=t.find("form");n.find("input[type=submit]").on("click",function(t){var i=n.serializeArray(),o={};e.each(i,function(e,t){o[t.name]=t.value});let r=document.getElementById("error-form-dialog"),a=document.getElementById("p-error-message"),s=document.getElementById("close-dialog");s.addEventListener("click",()=>{r.close(),document.body.style.overflow="auto"}),function(e){if(!("comments"in e))return!1;var t=RegExp("((https?|ftp):\\/\\/)?([a-z0-9+!*(),;?&=$_.-]+(:[a-z0-9+!*(),;?&=$_.-]+)?@)?([a-z0-9-.]*)\\.([a-z]{2,3})(:[0-9]{2,5})?(\\/([a-z0-9+$_-]\\.?)+)*\\/?(\\?[a-z+&$_.-][a-z0-9;:@&%=+\\/$_.-]*)?(#[a-z_.-][a-z0-9+$_.-]*)?","i");return!!e.comments.match(t)}(o)&&(a.innerHTML="Error: Your message could not be delivered because it contains a link to an external website. Please review your message and try again.",r.showModal(),document.body.style.overflow="hidden",r.style.display="block",t.preventDefault())})}e(".leadForm .hasDatepicker").each(function(){e(this).attr({type:"text",readonly:"readonly"})})});var t=e(".form.isPleForm");t.length&&t.each(function(){var t=e(this).closest(".section");t.hasClass("section-form")||t.addClass("section-form")});var n=e(".section-form:not(.newsletter-2-fields):not(.newsletter-3-fields):not(.contact-us-im):not(.appointment-request):not(.exclusive-offer):not(.pet-memorial):not(.form-default)");n.length&&t.length&&n.each(function(){e(this).find(t).addClass("form-themeExtras"),e("body").on("SMBLeadsFormReady",function(){var n=e(".forms--2col-textarea:not(.newsletter-2-fields):not(.newsletter-3-fields):not(.contact-us-im):not(.appointment-request):not(.exclusive-offer):not(.pet-memorial):not(.form-default)"),i=e(".forms-option--b .leadForm .form__group:not(.checkbox__group):not(.radio__group)");n.find(t).each(function(){e(this).find(".form__group").not(".form-input-comments").wrapAll("<div class='groupWrap' />")}),i.each(function(){e(this).hasClass("hasLabel")&&e(this).addClass("optionB-enabled")})})})})}(window.jQuery),function(e){"use strict";String.prototype.endsWith||(String.prototype.endsWith=function(e,t){return(void 0===t||t>this.length)&&(t=this.length),this.substring(t-e.length,t)===e}),e(".searchbarform").submit(function(t){var n=e(this).find('[name="query"]').val(),i=e(this).find('[name="baseUrl"]').val();if(!e.trim(n))return!1;var o=(i+=i.endsWith("/")?"":"/")+n;e(this).attr("action",o)})}
5(window.jQuery),$(document).ready(function(){var e=$(".editable__container");e.length&&e.each(function(){var e=$(this),t=e.find(".contentExpandWrap"),n=e.find("#readMoreLink");n.length&&("SPAN"==n[0].nodeName&&(n.attr("href","#editableAnimateShowLess"),function(e,t){$(e).each(function(){var e=$(t,{html:$(this).html()});$.each(this.attributes,function(){e.attr(this.name,this.value)}),$(this).replaceWith(e)})}(n,"<a></a>")),t.add(n).removeClass("expand"),t.hide(),n.text("Show More"),e.on("click","#readMoreLink",function(n){n.preventDefault();var i=$(this),o=$("body .redactor-link-tooltip .redactor-link-tooltip-action:first-child");o.length&&o.parent().css("visibility","hidden"),"Show More"===i.text()?(e.removeAttr("id"),i.text("Show Less")):(e.attr("id","editableAnimateShowLess"),i.text("Show More")),t.add(i).toggleClass("expand")}))})}),(e=>{"use strict";class t{constructor(e){this.$el=e,this.init()}init(){this.bindToOffsetToAnchors()}bindToOffsetToAnchors(){this.$el.on("click",'a[href^="#"]',t=>{let n=t.target;if(!n)return;let i=decodeURI(n.hash).slice(1);if(!i)return;let o=document.getElementById(i);o&&this.animateToAnchor(e(o))})}animateToAnchor(t,n){n??=this.getStickySectionsHeight(),e("html, body").animate({scrollTop:t.offset().top-n},"slow")}getStickySectionsHeight(){return PLEStickyState?.getStickySectionsHeight()??0}static dataAttribute="linkToSection"}e(()=>{for(let n of document.querySelectorAll(".editable__container")){let i=e(n);i.data(t.dataAttribute,new t(i))}})})(window.jQuery),function(e,t){var n,i,o,r,a,s,l,c,d,h,u,p,f,m,g,v,y,b,w,x;function C(e){if(1/e==-1/0&&(e=0),e>4294967295)throw RangeError("Invalid array length");var t=[];return t.length=e,t}function _(e,t){var n=arguments.length>2?arguments[2]:[];if(!1===T(e))throw TypeError(Object.prototype.toString.call(e)+"is not a function.");return e.apply(t,n)}function k(e){return"[object Array]"===Object.prototype.toString.call(e)}function T(e){return"function"==typeof e}function S(e){if(null==e)throw TypeError();return Object(e)}function E(t){switch(typeof t){case"undefined":return"undefined";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";default:return null===t?"null":"Symbol"in e&&(t instanceof e.Symbol||t.constructor===e.Symbol)?"symbol":"object"}}function O(e){return"object"===E(e)&&"function"==typeof e&&!!e.prototype}function I(e){if("symbol"===E(e))throw TypeError("Cannot convert a Symbol value to a number");var t=Number(e);return isNaN(t)?0:1/t==1/0||1/t==-1/0||t===1/0||t===-1/0?t:(t<0?-1:1)*Math.floor(Math.abs(t))}function M(e){var t=I(e);return t<=0?0:Math.min(t,9007199254740991)}function A(n){var i=arguments.length>1?arguments[1]:t;if("object"===E(n)){if(arguments.length<2)var o="default";else i===String?o="string":i===Number&&(o="number");var r="function"==typeof e.Symbol&&"symbol"==typeof e.Symbol.toPrimitive?function(e,t){var n=S(e)[t];if(null!=n){if(!1===T(n))throw TypeError("Method not callable: "+t);return n}}(n,e.Symbol.toPrimitive):t;if(t!==r){var a=_(r,n,[o]);if("object"!==E(a))return a;throw TypeError("Cannot convert exotic object to primitive.")}return"default"===o&&(o="number"),function(e,t){if("string"===t)var n=["toString","valueOf"];else n=["valueOf","toString"];for(var i=0;i<n.length;++i){var o=e[n[i]];if(T(o)){var r=_(o,e);if("object"!==E(r))return r}}throw TypeError("Cannot convert to primitive.")}(n,o)}return n}function P(e){switch(E(e)){case"symbol":throw TypeError("Cannot convert a Symbol value to a string");case"object":return P(A(e,String));default:return String(e)}}function j(e,t,n){var i=function(e,t,n){try{return Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0}),!0}catch(e){return!1}}(e,t,n);if(!i)throw TypeError("Cannot assign value `"+Object.prototype.toString.call(n)+"` to property `"+Object.prototype.toString.call(t)+"` on object `"+Object.prototype.toString.call(e)+"`");return i}function L(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!1,configurable:!0})}function W(n,i){if(0===i&&1/i==-1/0&&(i=0),!1===k(n))return C(i);var o=n.constructor;if("object"===E(o)&&null===(o="Symbol"in e&&"species"in e.Symbol?o[e.Symbol.species]:t)&&(o=t),t===o)return C(i);if(!O(o))throw TypeError("C must be a constructor");return function(e){var t=arguments.length>2?arguments[2]:e,n=arguments.length>1?arguments[1]:[];if(!O(e))throw TypeError("F must be a constructor.");if(!O(t))throw TypeError("newTarget must be a constructor.");if(t===e)return new(Function.prototype.bind.apply(e,[null].concat(n)));var i=function(e,t){var n,i=arguments[2]||{},o=Object.create(("object"!==E(n=e.prototype)&&(n=t),n));for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&Object.defineProperty(o,r,{configurable:!0,enumerable:!1,writable:!0,value:i[r]});return o}(t,Object.prototype);return _(e,i,n)}(o,[i])}"Date"in e&&"now"in e.Date&&"getTime"in e.Date.prototype||(Date.now=function(){return(new Date).getTime()}),"document"in e||"undefined"!=typeof WorkerGlobalScope||"function"==typeof importScripts||(e.HTMLDocument?e.Document=e.HTMLDocument:(e.Document=e.HTMLDocument=document.constructor=Function("return function Document() {}")(),e.Document.prototype=document)),"Element"in e&&"HTMLElement"in e||function(){function t(){return d--||clearTimeout(n),!(!document.body||document.body.prototype||!/(complete|interactive)/.test(document.readyState))&&(s(document,!0),n&&document.body.prototype&&clearTimeout(n),!!document.body.prototype)}if(!("Element"in e&&"HTMLElement"in e)){if(window.Element&&!window.HTMLElement)return void(window.HTMLElement=window.Element);window.Element=window.HTMLElement=Function("return function Element() {}")();var n,i=document.appendChild(document.createElement("body")),o=i.appendChild(document.createElement("iframe")).contentWindow.document,r=Element.prototype=o.appendChild(o.createElement("*")),a={},s=function(e,t){var n,i,o,r=e.childNodes||[],l=-1;if(1===e.nodeType&&e.constructor!==Element)for(n in e.constructor=Element,a)i=a[n],e[n]=i;for(;o=t&&r[++l];)s(o,t);return e}
5,l=document.getElementsByTagName("*"),c=document.createElement,d=100;r.attachEvent("onpropertychange",function(e){for(var t,n=e.propertyName,i=!Object.prototype.hasOwnProperty.call(a,n),o=r[n],s=a[n],c=-1;t=l[++c];)1===t.nodeType&&(i||t[n]===s)&&(t[n]=o);a[n]=o}),r.constructor=Element,r.hasAttribute||(r.hasAttribute=function(e){return null!==this.getAttribute(e)}),t()||(document.onreadystatechange=t,n=setInterval(t,25)),document.createElement=function(e){return s(c(String(e).toLowerCase()))},document.removeChild(i)}}(),"defineProperty"in Object&&function(){try{return Object.defineProperty({},"test",{value:42}),!0}catch(e){return!1}}()||(n=Object.defineProperty,i=Object.prototype.hasOwnProperty.call(Object.prototype,"__defineGetter__"),o="A property cannot both have accessors and be writable or have a value",Object.defineProperty=function(e,r,a){if(n&&(e===window||e===document||e===Element.prototype||e instanceof Element))return n(e,r,a);if(null===e||!(e instanceof Object||"object"==typeof e))throw TypeError("Object.defineProperty called on non-object");if(!(a instanceof Object))throw TypeError("Property description must be an object");var s=String(r),l="value"in a||"writable"in a,c="get"in a&&typeof a.get,d="set"in a&&typeof a.set;if(c){if(t===c)return e;if("function"!==c)throw TypeError("Getter must be a function");if(!i)throw TypeError("Getters & setters cannot be defined on this javascript engine");if(l)throw TypeError(o);Object.__defineGetter__.call(e,s,a.get)}else e[s]=a.value;if(d){if(t===d)return e;if("function"!==d)throw TypeError("Setter must be a function");if(!i)throw TypeError("Getters & setters cannot be defined on this javascript engine");if(l)throw TypeError(o);Object.__defineSetter__.call(e,s,a.set)}return"value"in a&&(e[s]=a.value),e}),"isArray"in Array||L(Array,"isArray",function(e){return k(e)}),"forEach"in Array.prototype||L(Array.prototype,"forEach",function(e){var n=S(this),i=n instanceof String?n.split(""):n,o=M(n.length);if(!1===T(e))throw TypeError(e+" is not a function");for(var r=arguments.length>1?arguments[1]:t,a=0;a<o;){var s=P(a);s in i&&_(e,r,[i[s],a,n]),a+=1}}),"includes"in Array.prototype||L(Array.prototype,"includes",function(e){"use strict";var t,n=S(this),i=M(n.length);if(0===i)return!1;var o=I(arguments[1]);if(o>=0)var r=o;else(r=i+o)<0&&(r=0);for(;r<i;){if(t=n[P(r)],E(e)===E(t)&&("number"===E(e)&&(!(!isNaN(e)||!isNaN(t))||1/e==1/0&&1/t==-1/0||1/e==-1/0&&1/t==1/0)||e===t))return!0;r+=1}return!1}),"indexOf"in Array.prototype||L(Array.prototype,"indexOf",function(e){var t=S(this),n=M(t.length);if(0===n)return -1;var i=I(arguments[1]);if(i>=n)return -1;if(i>=0)var o=1/i==-1/0?0:i;else(o=n+i)<0&&(o=0);for(;o<n;){if(P(o) in t&&e===t[P(o)])return o;o+=1}return -1}),"some"in Array.prototype||L(Array.prototype,"some",function(e){var n=S(this),i=M(n.length);if(!1===T(e))throw TypeError(e+" is not a function");for(var o=arguments.length>1?arguments[1]:t,r=0;r<i;){var a=P(r);if(a in n&&_(e,o,[n[a],r,n]))return!0;r+=1}return!1}),"bind"in Function.prototype||L(Function.prototype,"bind",function(e){var t=Object,n=Array.prototype,i=function(){},o=n.slice,r=n.concat,a=n.push,s=this;if(!T(s))throw TypeError("Function.prototype.bind called on incompatible "+s);for(var l,c=o.call(arguments,1),d=(0,Math.max)(0,s.length-c.length),h=[],u=0;u<d;u++)a.call(h,"$"+u);return l=Function("binder","return function ("+h.join(",")+"){ return binder.apply(this, arguments); }")(function(){if(this instanceof l){var n=s.apply(this,r.call(c,o.call(arguments)));return t(n)===n?n:this}return s.apply(e,r.call(c,o.call(arguments)))}),s.prototype&&(i.prototype=s.prototype,l.prototype=new i,i.prototype=null),l}),"getOwnPropertyDescriptor"in Object&&"function"==typeof Object.getOwnPropertyDescriptor&&function(){try{return"3"===Object.getOwnPropertyDescriptor("13.7",1).value}catch(e){return!1}}()||(r=Object.getOwnPropertyDescriptor,a=function(){try{return 1===Object.defineProperty(document.createElement("div"),"one",{get:function(){return 1}}).one}catch(e){return!1}},s=({}).toString,l="".split,L(Object,"getOwnPropertyDescriptor",function(e,t){var n,i,o=S(e);o=("string"===E(o)||o instanceof String)&&"[object String]"==s.call(e)?l.call(e,""):Object(e);var c="symbol"===E(n=A(t,String))?n:P(n);if(a)try{return r(o,c)}catch(e){}if(i=o,Object.prototype.hasOwnProperty.call(i,c))return{enumerable:!0,configurable:!0,writable:!0,value:o[c]}})),"getPrototypeOf"in Object||L(Object,"getPrototypeOf",function(e){if(e!==Object(e))throw TypeError("Object.getPrototypeOf called on non-object");var t=e.__proto__;return t||null===t?t:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Object.prototype:null}),"keys"in Object&&function(){return 2===Object.keys(arguments).length}(1,2)&&function(){try{return Object.keys(""),!0}catch(e){return!1}}()||L(Object,"keys",(c=Object.prototype.hasOwnProperty,d=Object.prototype.toString,u=!(h=Object.prototype.propertyIsEnumerable).call({toString:null},"toString"),p=h.call(function(){}
5,"prototype"),f=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],m=function(e){var t=e.constructor;return t&&t.prototype===e},g={$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},v=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!g["$"+e]&&c.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{m(window[e])}catch(e){return!0}}catch(e){return!0}return!1}(),y=function(e){if("undefined"==typeof window||!v)return m(e);try{return m(e)}catch(e){return!1}},function(e){var t,n,i="[object Function]"===d.call(e),o=((n="[object Arguments]"===(t=d.call(e)))||(n="[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===d.call(e.callee)),n),r="[object String]"===d.call(e),a=[];if(null==e)throw TypeError("Cannot convert undefined or null to object");var s=p&&i;if(r&&e.length>0&&!c.call(e,0))for(var l=0;l<e.length;++l)a.push(String(l));if(o&&e.length>0)for(var m=0;m<e.length;++m)a.push(String(m));else for(var g in e)(function(){var e;try{e=Object.create({})}catch(e){return!0}return h.call(e,"__proto__")})()&&"__proto__"===g||s&&"prototype"===g||!c.call(e,g)||a.push(String(g));if(u)for(var v=y(e),b=0;b<f.length;++b)v&&"constructor"===f[b]||!c.call(e,f[b])||a.push(f[b]);return a})),"defineProperties"in Object||L(Object,"defineProperties",function(e,n){if("object"!==E(e))throw TypeError("Object.defineProperties called on non-object");for(var i=S(n),o=Object.keys(i),r=[],a=0;a<o.length;a++){var s=o[a],l=Object.getOwnPropertyDescriptor(i,s);if(t!==l&&l.enumerable){var c=i[s];r.push([s,c])}}for(var d=0;d<r.length;d++)Object.defineProperty(e,r[d][0],c=r[d][1]);return e}),"create"in Object||function(){var e;function t(){}e=function(){var t=document.createElement("iframe");t.style.display="none";var n=document.body||document.documentElement;n.appendChild(t),t.src="javascript:";var i=t.contentWindow.Object.prototype;n.removeChild(t),t=null,delete i.constructor,delete i.hasOwnProperty,delete i.propertyIsEnumerable,delete i.isPrototypeOf,delete i.toLocaleString,delete i.toString,delete i.valueOf;var o=function(){};return o.prototype=i,e=function(){return new o},new o},L(Object,"create",function(n,i){if("object"!==E(n)&&"null"!==E(n))throw TypeError("Object prototype may only be an Object or null");if("null"===E(n))var o=e();else t.prototype=n,(o=new t).__proto__=n,o.constructor.prototype=n,o.__proto__=n;return 1 in arguments?Object.defineProperties(o,i):o})}(),"filter"in Array.prototype||L(Array.prototype,"filter",function(e){var n=S(this),i=M(n.length);if(!1===T(e))throw TypeError(e+" is not a function");for(var o=arguments.length>1?arguments[1]:t,r=W(n,0),a=0,s=0;a<i;){var l=P(a);if(l in n){var c=n[l];_(e,o,[c,a,n])&&(j(r,P(s),c),s+=1)}a+=1}return r}),"map"in Array.prototype||L(Array.prototype,"map",function(e){var n=S(this),i=M(n.length);if(!1===T(e))throw TypeError(e+" is not a function");for(var o=arguments.length>1?arguments[1]:t,r=W(n,i),a=0;a<i;){var s=P(a);if(s in n){var l=_(e,o,[n[s],a,n]);j(r,s,l)}a+=1}return r}),"performance"in e&&"now"in e.performance||(b=e,w=Date.now(),b.performance||(b.performance={}),b.performance.now=function(){return Date.now()-w}),"Window"in e||"undefined"!=typeof WorkerGlobalScope||"function"==typeof importScripts||((x=e).constructor?x.Window=x.constructor:(x.Window=x.constructor=Function("return function Window() {}")()).prototype=e),!function(e){if(!("Event"in e))return!1;try{return new Event("click"),!0}catch(e){return!1}}(e)&&function(){function e(e,n){if(!e)throw Error("Not enough arguments");if("createEvent"in document){i=document.createEvent("Event");var i,o=!(!n||t===n.bubbles)&&n.bubbles,r=!(!n||t===n.cancelable)&&n.cancelable;return i.initEvent(e,o,r),i}return(i=document.createEventObject()).type=e,i.bubbles=!(!n||t===n.bubbles)&&n.bubbles,i.cancelable=!(!n||t===n.cancelable)&&n.cancelable,i}
5var n={click:1,dblclick:1,keyup:1,keypress:1,keydown:1,mousedown:1,mouseup:1,mousemove:1,mouseover:1,mouseenter:1,mouseleave:1,mouseout:1,storage:1,storagecommit:1,textinput:1};if("undefined"!=typeof document&&"undefined"!=typeof window){var i=window.Event&&window.Event.prototype||null;e.NONE=0,e.CAPTURING_PHASE=1,e.AT_TARGET=2,e.BUBBLING_PHASE=3,window.Event=Window.prototype.Event=e,i&&Object.defineProperty(window.Event,"prototype",{configurable:!1,enumerable:!1,writable:!0,value:i}),"createEvent"in document||(window.addEventListener=Window.prototype.addEventListener=Document.prototype.addEventListener=Element.prototype.addEventListener=function(){var e=this,t=arguments[0],i=arguments[1];if(e===window&&t in n)throw Error("In IE8 the event: "+t+" is not available on the window object. Please see https://github.com/Financial-Times/polyfill-service/issues/317 for more information.");e._events||(e._events={}),e._events[t]||(e._events[t]=function(t){var n,i=e._events[t.type].list,o=i.slice(),r=-1,a=o.length;for(t.preventDefault=function(){!1!==t.cancelable&&(t.returnValue=!1)},t.stopPropagation=function(){t.cancelBubble=!0},t.stopImmediatePropagation=function(){t.cancelBubble=!0,t.cancelImmediate=!0},t.currentTarget=e,t.relatedTarget=t.fromElement||null,t.target=t.target||t.srcElement||e,t.timeStamp=(new Date).getTime(),t.clientX&&(t.pageX=t.clientX+document.documentElement.scrollLeft,t.pageY=t.clientY+document.documentElement.scrollTop);++r<a&&!t.cancelImmediate;)r in o&&(n=o[r],i.includes(n)&&"function"==typeof n&&n.call(e,t))},e._events[t].list=[],e.attachEvent&&e.attachEvent("on"+t,e._events[t])),e._events[t].list.push(i)},window.removeEventListener=Window.prototype.removeEventListener=Document.prototype.removeEventListener=Element.prototype.removeEventListener=function(){var e,t=arguments[0],n=arguments[1];this._events&&this._events[t]&&this._events[t].list&&-1!==(e=this._events[t].list.indexOf(n))&&(this._events[t].list.splice(e,1),this._events[t].list.length||(this.detachEvent&&this.detachEvent("on"+t,this._events[t]),delete this._events[t]))},window.dispatchEvent=Window.prototype.dispatchEvent=Document.prototype.dispatchEvent=Element.prototype.dispatchEvent=function(e){if(!arguments.length)throw Error("Not enough arguments");if(!e||"string"!=typeof e.type)throw Error("DOM Events Exception 0");var t=this,n=e.type;try{if(!e.bubbles){e.cancelBubble=!0;var i=function(e){e.cancelBubble=!0,(t||window).detachEvent("on"+n,i)};this.attachEvent("on"+n,i)}this.fireEvent("on"+n,e)}catch(i){e.target=t;do e.currentTarget=t,"_events"in t&&"function"==typeof t._events[n]&&t._events[n].call(t,e),"function"==typeof t["on"+n]&&t["on"+n].call(t,e),t=9===t.nodeType?t.parentWindow:t.parentNode;while(t&&!e.cancelBubble)}return!0},document.attachEvent("onreadystatechange",function(){"complete"===document.readyState&&document.dispatchEvent(new e("DOMContentLoaded",{bubbles:!0}))}))}}(),"getComputedStyle"in e||function(e){function t(e,n,i){var o,r=e.document&&e.currentStyle[n].match(/([\d.]+)(%|cm|em|in|mm|pc|pt|)/)||[0,0,""],a=r[1],s=r[2];return i=i?/%|em/.test(s)&&e.parentElement?t(e.parentElement,"fontSize",null):16:i,o="fontSize"==n?i:/width/i.test(n)?e.clientWidth:e.clientHeight,"%"==s?a/100*o:"cm"==s?.3937*a*96:"em"==s?a*i:"in"==s?96*a:"mm"==s?.3937*a*96/10:"pc"==s?12*a*96/72:"pt"==s?96*a/72:a}function n(e,t){var n="border"==t?"Width":"",i=t+"Top"+n,o=t+"Right"+n,r=t+"Bottom"+n,a=t+"Left"+n;e[t]=(e[i]==e[o]&&e[i]==e[r]&&e[i]==e[a]?[e[i]]:e[i]==e[r]&&e[a]==e[o]?[e[i],e[o]]:e[a]==e[o]?[e[i],e[o],e[r]]:[e[i],e[o],e[r],e[a]]).join(" ")}function i(e){var i,o=this,r=e.currentStyle,a=t(e,"fontSize"),s=function(e){return"-"+e.toLowerCase()};for(i in r)if(Array.prototype.push.call(o,"styleFloat"==i?"float":i.replace(/[A-Z]/,s)),"width"==i)o[i]=e.offsetWidth+"px";else if("height"==i)o[i]=e.offsetHeight+"px";else if("styleFloat"==i)o.float=r[i];else if(/margin.|padding.|border.+W/.test(i)&&"auto"!=o[i])o[i]=Math.round(t(e,i,a))+"px";else if(/^outline/.test(i))try{o[i]=r[i]}catch(e){o.outlineColor=r.color,o.outlineStyle=o.outlineStyle||"none",o.outlineWidth=o.outlineWidth||"0px",o.outline=[o.outlineColor,o.outlineWidth,o.outlineStyle].join(" ")}else o[i]=r[i];n(o,"margin"),n(o,"padding"),n(o,"border"),o.fontSize=Math.round(a)+"px"}i.prototype={constructor:i,getPropertyPriority:function(){throw Error("NotSupportedError: DOM Exception 9")},getPropertyValue:function(e){return this[e.replace(/-\w/g,function(e){return e[1].toUpperCase()})]},item:function(e){return this[e]},removeProperty:function(){throw Error("NoModificationAllowedError: DOM Exception 7")},setProperty:function(){throw Error("NoModificationAllowedError: DOM Exception 7")},getPropertyCSSValue:function(){throw Error("NotSupportedError: DOM Exception 9")}},e.getComputedStyle=function(e){return new i(e)}}(e),"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype||function(e,t){"use strict";function n(e){this.time=e.time,this.target=e.target,this.rootBounds=e.rootBounds,this.boundingClientRect=e.boundingClientRect,this.intersectionRect=e.intersectionRect||s();try{this.isIntersecting=!!e.intersectionRect}catch(e){}var t=this.boundingClientRect,n=t.width*t.height,i=this.intersectionRect,o=i.width*i.height;this.intersectionRatio=n?Number((o/n).toFixed(4)):this.isIntersecting?1:0}function i(e,t){var n,i,o,r=t||{};if("function"!=typeof e)throw Error("callback must be a function");if(r.root&&1!=r.root.nodeType)throw Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),i=this.THROTTLE_TIMEOUT,o=null,function(){o||(o=setTimeout(function(){n(),o=null},i))}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(r.rootMargin),this.thresholds=this._initThresholds(r.threshold),this.root=r.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" ")}function o(e,t,n,i){"function"==typeof e.addEventListener?e.addEventListener(t,n,i||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function r(e,t,n,i){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,i||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function a(e){var t;try{t=e.getBoundingClientRect()}catch(e){}
5return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):s()}function s(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function l(e,t){for(var n=t;n;){if(n==e)return!0;n=c(n)}return!1}function c(e){var t=e.parentNode;return t&&11==t.nodeType&&t.host?t.host:t&&t.assignedSlot?t.assignedSlot.parentNode:t}var d=[];i.prototype.THROTTLE_TIMEOUT=100,i.prototype.POLL_INTERVAL=null,i.prototype.USE_MUTATION_OBSERVER=!0,i.prototype.observe=function(e){if(!this._observationTargets.some(function(t){return t.element==e})){if(!e||1!=e.nodeType)throw Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},i.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!=e}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},i.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},i.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},i.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},i.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},i.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(o(e,"resize",this._checkForIntersections,!0),o(t,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in e&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},i.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,r(e,"resize",this._checkForIntersections,!0),r(t,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},i.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),i=t?this._getRootRect():s();this._observationTargets.forEach(function(o){var r=o.element,s=a(r),l=this._rootContainsTarget(r),c=o.entry,d=t&&l&&this._computeTargetAndRootIntersection(r,i),h=o.entry=new n({time:e.performance&&performance.now&&performance.now(),target:r,boundingClientRect:s,rootBounds:i,intersectionRect:d});c?t&&l?this._hasCrossedThreshold(c,h)&&this._queuedEntries.push(h):c&&c.isIntersecting&&this._queuedEntries.push(h):this._queuedEntries.push(h)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},i.prototype._computeTargetAndRootIntersection=function(n,i){if("none"!=e.getComputedStyle(n).display){for(var o=a(n),r=o,s=c(n),l=!1;!l;){var d=null,h=1==s.nodeType?e.getComputedStyle(s):{};if("none"==h.display)return;if(s==this.root||s==t?(l=!0,d=i):s!=t.body&&s!=t.documentElement&&"visible"!=h.overflow&&(d=a(s)),d&&!(r=function(e,t){var n=Math.max(e.top,t.top),i=Math.min(e.bottom,t.bottom),o=Math.max(e.left,t.left),r=Math.min(e.right,t.right),a=r-o,s=i-n;return a>=0&&s>=0&&{top:n,bottom:i,left:o,right:r,width:a,height:s}}(d,r)))break;s=c(s)}return r}},i.prototype._getRootRect=function(){var e;if(this.root)e=a(this.root);else{var n=t.documentElement,i=t.body;e={top:0,left:0,right:n.clientWidth||i.clientWidth,width:n.clientWidth||i.clientWidth,bottom:n.clientHeight||i.clientHeight,height:n.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(e)},i.prototype._expandRectByRootMargin=function(e){var t=this._rootMarginValues.map(function(t,n){return"px"==t.unit?t.value:t.value*(n%2?e.width:e.height)/100}),n={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},i.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,i=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==i)for(var o=0;o<this.thresholds.length;o++){var r=this.thresholds[o];if(r==n||r==i||r<n!=r<i)return!0}},i.prototype._rootIsInDom=function(){return!this.root||l(t,this.root)},i.prototype._rootContainsTarget=function(e){return l(this.root||t,e)}
5,i.prototype._registerInstance=function(){0>d.indexOf(this)&&d.push(this)},i.prototype._unregisterInstance=function(){var e=d.indexOf(this);-1!=e&&d.splice(e,1)},e.IntersectionObserver=i,e.IntersectionObserverEntry=n}(window,document)}("object"==typeof window&&window||"object"==typeof self&&self||"object"==typeof global&&global||{}),function(e){"use strict";var t=function(){this.confData={},this.counters=[],this.mapCenter={},this.mapMarkers={},this.initialize()};t.prototype.initialize=function(){var t=this;new google.maps.LatLng(0,0),e(".js-mapComponent").each(function(){var n=e(this).closest("[data-component-name]").data("componentName"),i=JSON.parse(e(this).closest("[data-component-name]").find("input[type=hidden]").val()),o=i.locations;t.confData=i,t.mapSize(this,i),t.counters[n]=0,t.mapMarkers[n]=[];var r=new google.maps.Map(this,{zoom:parseInt(i.zoom),center:t.latlng,mapTypeId:google.maps.MapTypeId.ROADMAP,scaleControl:!0,zoomControl:i.zoomControl,scrollwheel:i.zoomControl,streetViewControl:i.streetViewControl,mapTypeControl:i.mapTypeControl,mapTypeControlOptions:{style:google.maps.MapTypeControlStyle.DEFAULT,mapTypeIds:[google.maps.MapTypeId.ROADMAP,google.maps.MapTypeId.SATELLITE,"map_style"]}});t.applyMapStyle(r,i),t.geoCodeMap(r,o,n),t.attachEvents(r,i,n)})},t.prototype.mapSize=function(t,n){var i=e(t).parent();if(n.autoFit){var o=i.children(".component__title-caption-wrap").outerHeight(!0),r=i.height();i.css("height","100%"),null!==o&&(r-=o),e(t).css({width:i.width(),height:r}),e(t).trigger("map.resize"),e(window).resize(function(){e(t).css({width:i.width(),height:r}),e(t).trigger("map.resize")})}else e(t).css({width:n.width,height:n.height})},t.prototype.geoCodeMap=function(e,t,n){var i=this,o=new google.maps.Geocoder;if(i.counters[n]>=t.length)return i.confData.alwaysShowInfoWindow&&i.openLastWindow(n),i.centerMap(e,n),!0;var r=null;if(null!=t[i.counters[n]].latitude&&null!=t[i.counters[n]].longitude)r=new google.maps.LatLng(t[i.counters[n]].latitude,t[i.counters[n]].longitude),i.setMarker(e,t,n,r);else{var a={address:t[i.counters[n]].address};o.geocode(a,function(o,s){s==google.maps.GeocoderStatus.OK?(r=void 0!=a.latLng?a.latLng:o[0].geometry.location,i.setMarker(e,t,n,r)):s==google.maps.GeocoderStatus.OVER_QUERY_LIMIT&&(console.error("ERROR GMAPS"),setTimeout(this.geoCodeMap(e,t,n),500))})}},t.prototype.setMarker=function(e,t,n,i){var o=this;o.mapCenter[n]=i;var r={scaledSize:new google.maps.Size(20,27),origin:new google.maps.Point(0,0),anchor:new google.maps.Point(0,0)};""!==o.confData.iconUrl?r.url=o.confData.iconUrl:r="";var a={map:e,position:i,icon:r};o.confData.showAddressOnHover&&(a.title=t[o.counters[n]].title);var s=new google.maps.Marker(a);o.mapMarkers[n].push(s);var l=new google.maps.InfoWindow({content:o.getInfoWindowContent(t,o.counters[n])});o.confData.showAddressOnHover?s.addListener("click",function(){l.open(e,s)}):o.confData.alwaysShowInfoWindow&&l.open(e,s),o.counters[n]++,setTimeout(o.geoCodeMap(e,t,n),500)},t.prototype.applyMapStyle=function(e,t){var n=[t.hue],i=new google.maps.StyledMapType(n,{name:"Styled Map"});e.mapTypes.set("map_style",i),e.setMapTypeId("map_style")},t.prototype.attachEvents=function(t,n,i){var o,r=this,a=e(".js-mapComponent");setTimeout(function(){a.children().css({"pointer-events":"none"})},500),a.on("mouseleave",function(){e(this).children().css({"pointer-events":"none"})}),a.on("click touchstart",function(){e(this).children().css({"pointer-events":"auto"})}),google.maps.event.addDomListener(window,"resize",function(){clearTimeout(o),o=setTimeout(function(){r.centerMap(t,i),r.confData.alwaysShowInfoWindow&&1==r.mapMarkers[i].length&&r.openLastWindow(i)},250)}),google.maps.event.addListener(t,"tilesloaded",function(t){e(this.getDiv()).find("img").each(function(e,t){t.alt&&""!==t.alt||(t.alt="Google Maps Image")})}),google.maps.event.addListenerOnce(t,"idle",function(){r.confData.alwaysShowInfoWindow&&1==r.mapMarkers[i].length&&r.openLastWindow(i)})},t.prototype.getInfoWindowContent=function(e,t){return"<h2>"+e[t].address+"</h2>"},t.prototype.openLastWindow=function(e){if(void 0!=e){var t=this.mapMarkers[e].length;google.maps.event.trigger(this.mapMarkers[e][t-1],"click")}},t.prototype.centerMap=function(t,n){if(1==this.mapMarkers[n].length)t.setCenter(this.mapCenter[n]);else{var i=new google.maps.LatLngBounds;e.each(this.mapMarkers[n],function(e,t){i.extend(t.position)}),t.fitBounds(i)}},e(window).on("load",function(){var e,n;function i(e){window.googleMaps=new t}null!=(n=document.getElementById("gmap"))&&(e=n.offsetParent?n.offsetParent:n),null!=e&&(IntersectionObserver?new IntersectionObserver(function(e,t){e.forEach(function(e){(e.isIntersecting||0!==e.intersectionRatio)&&(t.unobserve(e.target),i(e.target))})},{rootMargin:"0px 0px 100% 0px"}).observe(e):i(e))})}(window.jQuery),function(e){"use strict";e(".blog__categories").mmenu({offCanvas:!1,autoHeight:!0,navbar:{title:"Categories"},extensions:["fullscreen"]},{}),e(".mm-next").addClass("mm-fullsubopen")}(window.jQuery),function(e){function t(t){this.options=e.extend({list:null,levelIndentHTML:" • ",defaultOptionAttr:"title",defaultOptionText:"...",selectClass:"nav-select",activeClass:"nav-active",defaultOptionClass:"opt-default",hasDropClass:"opt-sublevel",levelPrefixClass:"opt-level-",useDefaultOption:!0},t),this.options.list&&(this.createSelect(),this.attachEvents())}t.prototype={createSelect:function(){this.startIndex=0,this.navigation=e(this.options.list),this.select=e("<select>").addClass(this.options.selectClass),this.createDefaultOption(),this.createList(this.navigation,0),this.select.insertBefore(this.navigation)},createDefaultOption:function(){if(this.options.useDefaultOption){var t=this.navigation.attr(this.options.defaultOptionAttr),n=e("<option>").addClass(this.options.defaultOptionClass).text(t||this.options.defaultOptionText);this.navigation.removeAttr(this.options.defaultOptionAttr),this.select.append(n),this.startIndex=1}},createList:function(t,n){var i=this;t.children().each(function(t,o){var r=e(this),a=r.find("a").eq(0),s=r.find("ul").eq(0),l=s.length>0;a.length&&i.select.append(i.createOption(a,l,n,a.hasClass(i.options.activeClass))),l&&i.createList(s,n+1)})},createOption:function(t,n,i,o){var r=this.getLevelIndent(i)+t.html();return e("<option>").html(r).addClass(this.options.levelPrefixClass+(i+1)).toggleClass(this.options.hasDropClass,n).val(t.attr("href")).attr("selected",!!o&&"selected")},getLevelIndent:function(e){return Array(e+1).join(this.options.levelIndentHTML)},attachEvents:function(){var e=this;this.select.change(function(){this.selectedIndex>=e.startIndex&&(location.href=this.value)})}},e.fn.navigationSelect=function(n){return this.each(function(){new t(e.extend({list:this},n))})}}(jQuery),jQuery(function(){jQuery(".pagination--mobile .pagination-list").navigationSelect({useDefaultOption:!1,selectClass:"pagination-select",activeClass:"active"}),jQuery(".blog__pagination-item--link").each(function(){"#"===$(this).attr("href")&&$(this).click(function(e){e.preventDefault()})})}),function(e){"use strict";
5var t=function(e,t){this.$el=e,this.$containers=e.find(".pagination--device"),this.options=t,this.showDevice(),this.attachEvents()};t.prototype.attachEvents=function(){var t=this;e(window).resize(function(){t.showDevice()})},t.prototype.showDevice=function(){this.$containers.hide();var e=this.getDevice();this.$el.find(".pagination--"+e).show()},t.prototype.getDevice=function(){var t=e(window).width();return t<768?"mobile":t<1024?"tablet":"desktop"};var n=e.fn.PaginationDevicePreview;e.fn.paginationDevicePreview=function(n){var i;return arguments,this.each(function(){var o=e(this),r=e.extend({},o.data(),"object"==typeof n&&n);if(o.data("PaginationDevicePreview",new t(o,r)),void 0!==i)return!1}),i||this},e.fn.paginationDevicePreview.Constructor=t,e.fn.paginationDevicePreview.noConflict=function(){return e.fn.paginationDevicePreview=n,this},e(function(){e('[data-control="pagination-device-preview"]').paginationDevicePreview()})}(window.jQuery),$(document).ready(function(){$(".blog__pagination .fancy-pagination .current-page").click(function(){$(this).next().toggleClass("active")})}),function(e){"use strict";var t=function(e,t){this.$el=e,this.$parent=e.closest(".cta"),this.options=t,this.ctaVideo="",this.initColorbox()};t.prototype.initColorbox=function(){this.$parent.find(".lb-class").each(function(){e(this).colorbox(e.extend(t.defaults,e(e(this).attr("href")).data()))}),e(document).bind("cbox_complete",{context:this},this.cboxOpenCallBack),e(document).bind("cbox_closed",{context:this},this.cboxClosedCallBack)},t.prototype.cboxOpenCallBack=function(e){e.data.context.formSizeHandler(e),e.data.context.videoLoadHandler(e)},t.prototype.cboxClosedCallBack=function(t){var n=e.colorbox.element().attr("href");e(n+" [data-setup-run]").each(function(){e(this).remove()})},t.prototype.formSizeHandler=function(t){var n=e.colorbox.element().attr("href"),i=e(n).find("form"),o=new MutationObserver(function(t){e.colorbox.resize()}),r=document.querySelector(i.selector);null!=r&&o.observe(r,{attributes:!0})},t.prototype.videoLoadHandler=function(t){var n=e.colorbox.element().attr("href");if(e(n+" [data-setup-run]").length&&(t.data.context.ctaVideo=e(n+" [data-setup-run]")[0].outerHTML,e(n+" [data-setup-run]").remove()),t.data.context.ctaVideo){e(n+" .video").append(e(t.data.context.ctaVideo));var i=e(n+" [data-setup-run]");videojs(i[0],i.data("setupRun"),function(){})}},t.defaults={inline:!0,width:"50%",transition:"fade",returnFocus:!1,className:"ctaColorBox"},e.fn.colorBoxModal=function(n){var i;return arguments,this.each(function(){var o=e(this),r=e.extend({},o.data(),"object"==typeof n&&n);if(o.data("ColorBoxModal",new t(o,r)),void 0!==i)return!1}),i||this},e.fn.colorBoxModal.Constructor=t,e.fn.colorBoxModal.noConflict=function(){return e.fn.colorBoxModal=old,this},e(document).ready(function(){e('[data-control="colorbox-modal"]').colorBoxModal({})})}(window.jQuery),function(e){"use strict";var t,n,i,o,r,a,s,l=!0,c="",d=0,h="",u=null,p="",f=!1,m={resize:1,click:1},g=!0,v=1,y="bodyOffset",b=y,w=!0,x="",C={},_=32,k=null,T=!1,S="[iFrameSizer]",E=S.length,O="",I={max:1,min:1,bodyScroll:1,documentElementScroll:1},M="child",A=!0,P=e.parent,j="*",L=0,W=!1,H=null,D=16,z=1,R="scroll",F=R,N=e,B=function(){X("MessageCallback function not defined")},U=function(){},q=function(){};function Q(t,n,i){"addEventListener"in e?t.addEventListener(n,i,!1):"attachEvent"in e&&t.attachEvent("on"+n,i)}function V(t,n,i){"removeEventListener"in e?t.removeEventListener(n,i,!1):"detachEvent"in e&&t.detachEvent("on"+n,i)}function K(e){return e.charAt(0).toUpperCase()+e.slice(1)}var G=Date.now||function(){return new Date().getTime()};function Z(e){return S+"["+O+"] "+e}function J(t){T&&"object"==typeof e.console&&console.log(Z(t))}function X(t){"object"==typeof e.console&&console.warn(Z(t))}function Y(e,t){void 0!==t&&""!==t&&"null"!==t&&(document.body.style[e]=t,J("Body "+e+' set to "'+t+'"'))}function ee(t){function n(){eg(t.eventName,t.eventType)}var i={add:function(t){Q(e,t,n)}
5,remove:function(t){V(e,t,n)}};t.eventNames&&Array.prototype.map?(t.eventName=t.eventNames[0],t.eventNames.map(i[t.method])):i[t.method](t.eventName),J(K(t.method)+" event listener: "+t.eventType)}function et(e){ee({method:e,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),ee({method:e,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),ee({method:e,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),ee({method:e,eventType:"Input",eventName:"input"}),ee({method:e,eventType:"Mouse Up",eventName:"mouseup"}),ee({method:e,eventType:"Mouse Down",eventName:"mousedown"}),ee({method:e,eventType:"Orientation Change",eventName:"orientationchange"}),ee({method:e,eventType:"Print",eventName:["afterprint","beforeprint"]}),ee({method:e,eventType:"Ready State Change",eventName:"readystatechange"}),ee({method:e,eventType:"Touch Start",eventName:"touchstart"}),ee({method:e,eventType:"Touch End",eventName:"touchend"}),ee({method:e,eventType:"Touch Cancel",eventName:"touchcancel"}),ee({method:e,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),ee({method:e,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),ee({method:e,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===M&&ee({method:e,eventType:"IFrame Resized",eventName:"resize"})}function en(e,t,n,i){return t!==e&&(e in n||(X(e+" is not a valid option for "+i+"CalculationMethod."),e=t),J(i+' calculation method set to "'+e+'"')),e}function ei(){b=en(b,y,ep,"height")}function eo(){F=en(F,R,ef,"width")}function er(){var t;!0===l?(et("add"),t=0>_,e.MutationObserver||e.WebKitMutationObserver?t?es():u=function(){function t(e){function t(e){!1===e.complete&&(J("Attach listeners to "+e.src),e.addEventListener("load",o,!1),e.addEventListener("error",r,!1),s.push(e))}"attributes"===e.type&&"src"===e.attributeName?t(e.target):"childList"===e.type&&Array.prototype.forEach.call(e.target.querySelectorAll("img"),t)}function n(e){J("Remove listeners from "+e.src),e.removeEventListener("load",o,!1),e.removeEventListener("error",r,!1),s.splice(s.indexOf(e),1)}function i(e,t,i){n(e.target),eg(t,i+": "+e.target.src,void 0,void 0)}function o(e){i(e,"imageLoad","Image loaded")}function r(e){i(e,"imageLoadFailed","Image load failed")}var a,s=[],l=e.MutationObserver||e.WebKitMutationObserver,c=(a=document.querySelector("body"),c=new l(function(e){eg("mutationObserver","mutationObserver: "+e[0].target+" "+e[0].type),e.forEach(t)}),J("Create body MutationObserver"),c.observe(a,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}),c);return{disconnect:function(){"disconnect"in c&&(J("Disconnect body MutationObserver"),c.disconnect(),s.forEach(n))}}}():(J("MutationObserver not supported in this browser!"),es())):J("Auto Resize disabled")}function ea(){et("remove"),null!==u&&u.disconnect(),clearInterval(k)}function es(){0!==_&&(J("setInterval: "+_+"ms"),k=setInterval(function(){eg("interval","setInterval: "+_)},Math.abs(_)))}function el(e,t){var n=0;return t=t||document.body,parseInt(n="defaultView"in document&&"getComputedStyle"in document.defaultView?null!==(n=document.defaultView.getComputedStyle(t,null))?n[e]:0:function(e){if(/^\d+(px)?$/i.test(e))return parseInt(e,10);var n=t.style.left,i=t.runtimeStyle.left;return t.runtimeStyle.left=t.currentStyle.left,t.style.left=e||0,e=t.style.pixelLeft,t.style.left=n,t.runtimeStyle.left=i,e}(t.currentStyle[e]),10)}function ec(e,t){for(var n,i=t.length,o=0,r=0,a=K(e),s=G(),l=0;l<i;l++)(o=t[l].getBoundingClientRect()[e]+el("margin"+a,t[l]))>r&&(r=o);return s=G()-s,J("Parsed "+i+" HTML elements"),J("Element position calculated in "+s+"ms"),(n=s)>D/2&&J("Event throttle increased to "+(D=2*n)+"ms"),r}function ed(e){return[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll()]}function eh(e,t){var n=document.querySelectorAll("["+t+"]");return 0===n.length?(X("No tagged elements ("+t+") found on page"),v):ec(e,n
5)}function eu(){return document.querySelectorAll("body *")}var ep={bodyOffset:function(){return document.body.offsetHeight+el("marginTop")+el("marginBottom")},offset:function(){return ep.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,ed(ep))},min:function(){return Math.min.apply(null,ed(ep))},grow:function(){return ep.max()},lowestElement:function(){return Math.max(ep.bodyOffset(),ec("bottom",eu()))},taggedElement:function(){return eh("bottom","data-iframe-height")}},ef={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(ef.bodyScroll(),ef.documentElementScroll())},max:function(){return Math.max.apply(null,ed(ef))},min:function(){return Math.min.apply(null,ed(ef))},rightMostElement:function(){return ec("right",eu())},taggedElement:function(){return eh("right","data-iframe-width")}},em=(t=function(e,t,n,i){var o,r;(function(){function e(e,t){return!(Math.abs(e-t)<=L)}return o=void 0!==n?n:ep[b](),r=void 0!==i?i:ef[F](),e(v,o)||f&&e(z,r)})()||"init"===e?(ev(),ew(v=o,z=r,e)):!(e in{init:1,interval:1,size:1})&&(b in I||f&&F in I)?eb(t):e in{interval:1}||J("No change in size detected")},r=null,a=0,s=function(){a=G(),r=null,o=t.apply(n,i),r||(n=i=null)},function(){var e=G();a||(a=e);var l=D-(e-a);return n=this,i=arguments,l<=0||l>D?(r&&(clearTimeout(r),r=null),a=e,o=t.apply(n,i),r||(n=i=null)):r||(r=setTimeout(s,l)),o});function eg(e,t,n,i){W&&e in m?J("Trigger event cancelled: "+e):(e in{reset:1,resetPage:1,init:1}||J("Trigger event: "+t),em(e,t,n,i))}function ev(){W||(W=!0,J("Trigger event lock on")),clearTimeout(H),H=setTimeout(function(){W=!1,J("Trigger event lock off"),J("--")},128)}function ey(e){v=ep[b](),z=ef[F](),ew(v,z,e)}function eb(e){var t=b;b=y,J("Reset trigger event: "+e),ev(),ey("reset"),b=t}function ew(e,t,n,i,o){if(!0===A){var r;void 0===o?o=j:J("Message targetOrigin: "+o),J("Sending message to host page ("+(r=O+":"+e+":"+t+":"+n+(void 0!==i?":"+i:""))+")"),P.postMessage(S+r,o)}}Q(e,"message",function t(n){var i,o;function r(){return n.data.split("]")[1].split(":")[0]}function a(){return n.data.substr(n.data.indexOf(":")+1)}function s(){return n.data.split(":")[2]in{true:1,false:1}}S===(""+n.data).substr(0,E)&&(!1===g?function(){var t,i,o;switch(r()){case"reset":w?J("Page reset ignored by init"):(J("Page size reset by host page"),ey("resetPage"));break;case"resize":eg("resizeParent","Parent window requested size check");break;case"moveToAnchor":t=a(),C.findTarget(t);break;case"message":J("MessageCallback called from parent: "+(i=a())),B(JSON.parse(i)),J(" --");break;case"pageInfo":J("PageInfoFromParent called from parent: "+(o=a())),q(JSON.parse(o)),J(" --");break;default:"iFrameResize"in e||s()||X("Unexpected message ("+n.data+")")}}():s()?(x=n.data,P=n.source,function(){function e(e){return"true"===e}var t=x.substr(E).split(":");O=t[0],d=void 0!==t[1]?Number(t[1]):d,f=void 0!==t[2]?e(t[2]):f,T=void 0!==t[3]?e(t[3]):T,_=void 0!==t[4]?Number(t[4]):_,l=void 0!==t[6]?e(t[6]):l,h=t[7],b=void 0!==t[8]?t[8]:b,c=t[9],p=t[10],L=void 0!==t[11]?Number(t[11]):L,C.enable=void 0!==t[12]&&e(t[12]),M=void 0!==t[13]?t[13]:M,F=void 0!==t[14]?t[14]:F}(),J("Initialising iFrame ("+location.href+")"),function(){if("iFrameResizer"in e&&Object===e.iFrameResizer.constructor){var t;J("Reading data from page: "+JSON.stringify(t=e.iFrameResizer)),B="messageCallback"in t?t.messageCallback:B,U="readyCallback"in t?t.readyCallback:U,j="targetOrigin"in t?t.targetOrigin:j,b="heightCalculationMethod"in t?t.heightCalculationMethod:b,F="widthCalculationMethod"in t?t.widthCalculationMethod:F}J("TargetOrigin for parent set to: "+j)}(),void 0===h&&(h=d+"px"),Y("margin",(-1!==(i=h).indexOf("-")&&(X("Negative CSS value ignored for margin"),i=""),i)),Y("background",c),Y
5("padding",p),(o=document.createElement("div")).style.clear="both",o.style.display="block",document.body.appendChild(o),ei(),eo(),document.documentElement.style.height="",document.body.style.height="",J('HTML & body height set to "auto"'),J("Enable public methods"),N.parentIFrame={autoResize:function(e){return!0===e&&!1===l?(l=!0,er()):!1===e&&!0===l&&(l=!1,ea()),l},close:function(){ew(0,0,"close"),J("Disable outgoing messages"),A=!1,J("Remove event listener: Message"),V(e,"message",t),!0===l&&ea()},getId:function(){return O},getPageInfo:function(e){"function"==typeof e?(q=e,ew(0,0,"pageInfo")):(q=function(){},ew(0,0,"pageInfoStop"))},moveToAnchor:function(e){C.findTarget(e)},reset:function(){eb("parentIFrame.reset")},scrollTo:function(e,t){ew(t,e,"scrollTo")},scrollToOffset:function(e,t){ew(t,e,"scrollToOffset")},sendMessage:function(e,t){ew(0,0,"message",JSON.stringify(e),t)},setHeightCalculationMethod:function(e){b=e,ei()},setWidthCalculationMethod:function(e){F=e,eo()},setTargetOrigin:function(e){J("Set targetOrigin: "+e),j=e},size:function(e,t){eg("size","parentIFrame.size("+(e||"")+(t?","+t:"")+")",e,t)}},er(),C=function(){function t(t){var n,i,o,r=t.split("#")[1]||t,a=decodeURIComponent(r),s=document.getElementById(a)||document.getElementsByName(a)[0];void 0!==s?(n=s.getBoundingClientRect(),i={x:void 0!==e.pageXOffset?e.pageXOffset:document.documentElement.scrollLeft,y:void 0!==e.pageYOffset?e.pageYOffset:document.documentElement.scrollTop},J("Moving to in page link (#"+r+") at x: "+(o={x:parseInt(n.left,10)+parseInt(i.x,10),y:parseInt(n.top,10)+parseInt(i.y,10)}).x+" y: "+o.y),ew(o.y,o.x,"scrollToOffset")):(J("In page link (#"+r+") not found in iFrame, so sending to parent"),ew(0,0,"inPageLink","#"+r))}function n(){""!==location.hash&&"#"!==location.hash&&t(location.href)}return C.enable?Array.prototype.forEach&&document.querySelectorAll?(J("Setting up location.hash handlers"),Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),function(e){"#"!==e.getAttribute("href")&&Q(e,"click",function(e){e.preventDefault(),t(this.getAttribute("href"))})}),Q(e,"hashchange",n),setTimeout(n,128)):X("In page linking not fully supported in this browser! (See README.md for IE8 workaround)"):J("In page linking not enabled"),{findTarget:t}}(),eg("init","Init message from host page"),U(),g=!1,setTimeout(function(){w=!1},128)):J('Ignored message of type "'+r()+'". Received before initialization.'))}),"loading"!==document.readyState&&e.parent.postMessage("[iFrameResizerChild]Ready","*")}(window||{}),$(document).ready(function(){window.menuHolder=$(".navigation").not(".mm-menu"),window.menuHolderMaxWidth=100,window.menu=$(".more_nav").not(".mm-listview"),window.currentMenu=menu,window.currentMenuWidth=window.menuHolder.outerWidth(),window.menuChildrenCount=currentMenu.children().length,window.origMenuContent="",window.moreButton=$('<li class="navigation__item has-child more"> <a href="#">More</a> <ul class="navigation__list--sub"></ul> </li>'),window.allMenus=[]}),function(e){var t=!1;if("function"==typeof define&&define.amd&&(define(e),t=!0),"object"==typeof exports&&(module.exports=e(),t=!0),!t){var n=window.Cookies,i=window.Cookies=e();i.noConflict=function(){return window.Cookies=n,i}}}(function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var i in n)t[i]=n[i]}return t}return function t(n){function i(t,o,r){if("undefined"!=typeof document){if(arguments.length>1){if("number"==typeof(r=e({path:"/"},i.defaults,r)).expires){var a,s=new Date;s.setMilliseconds(s.getMilliseconds()+864e5*r.expires),r.expires=s}try{a=JSON.stringify(o),/^[\{\[]/.test(a)&&(o=a)}catch(e){}return o=n.write?n.write(o,t):encodeURIComponent(String(o)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=(t=(t=encodeURIComponent(String(t))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape),document.cookie=[t,"=",o,r.expires?"; expires="+r.expires.toUTCString():"",r.path?"; path="+r.path:"",r.domain?"; domain="+r.domain:"",r.secure?"; secure":""].join("")}t||(a={});for(var l=document.cookie?document.cookie.split("; "):[],c=/(%[0-9A-Z]{2})+/g,d=0;d<l.length;d++){var h=l[d].split("="),u=h.slice(1).join("=");'"'===u.charAt(0)&&(u=u.slice(1,-1));try{var p=h[0].replace(c,decodeURIComponent);if(u=n.read?n.read(u,p):n(u,p)||u.replace(c,decodeURIComponent),this.json)try{u=JSON.parse(u)}catch(e){}if(t===p){a=u;break}t||(a[p]=u)}catch(e){}}return a}}return i.set=i,i.get=function(e){return i.call(i,e)},i.getJSON=function(){return i.apply({json:!0},[].slice.call(arguments))},i.defaults={},i.remove=function(t,n){i(t,"",e(n,{expires:-1}))},i.withConverter=t,i}(function(){})}),$(()=>{"use strict";let e=document.querySelectorAll("#shapePnl a"),t=({currentTarget:e})=>{let t=e.classList.item(0),n=e.parentElement.querySelectorAll(":scope > .selected");for(let e of n)e.classList.remove("selected");e.classList.add("selected");let i=document.querySelectorAll("#facePnl");for(let e of i)e.setAttribute("class",t);let o=document.querySelectorAll(`#infoPnl div.${t}`);for(let e of o)for(let t of e.parentElement.children)t.style.display=t===e?"block":"none"};for(let n of e)n.addEventListener("click",t);let n=document.querySelectorAll('#framePnl span[class*="frm"]'),i=({currentTarget:e})=>{let t=e.getAttribute("class"),n=document.querySelectorAll("#framePnl a.selected");for(let e of n)e.classList.remove("selected");e.parentElement.classList.add("selected");let i=document.querySelectorAll("#lrgFrame");for(let e of i)e.setAttribute("class",t)};for(let e of n)e.addEventListener("click",i);let o=1,r=document.querySelectorAll("ul#frameSets li").length,a=document.querySelectorAll("a.prvSet"),s=e=>{e.stopPropagation(),e.preventDefault();let t=$("ul#frameSets li");if(o>1){t.animate({left:"+=720px"},500),o-=1;return}t.animate({left:`-${(r-1)*720}px`},500),o=r};
5for(let e of a)e.addEventListener("click",s);let l=document.querySelectorAll("a.nxtSet"),c=e=>{e.stopPropagation(),e.preventDefault();let t=$("ul#frameSets li");if(o<r){t.animate({left:"-=720px"},500),o+=1;return}t.animate({left:"0px"},500),o=1};for(let e of l)e.addEventListener("click",c);let d=document.querySelectorAll("a.lnchFrmSlctr"),h=e=>{e.preventDefault(),e.stopPropagation(),$.fancybox({autoSize:!1,speedIn:600,speedOut:200,transitionIn:"elastic",type:"inline",href:"#frameSelector",width:"815",height:"508"})};for(let e of d)e.addEventListener("click",h);let u=document.querySelectorAll("button.lnch3dspine"),p=e=>{e.stopPropagation(),e.preventDefault(),$.fancybox({autoSize:!1,speedIn:600,speedOut:200,transitionIn:"elastic",type:"inline",href:"#frameSelector",width:"902",height:"833"})};for(let e of u)e.addEventListener("click",p);let f=document.querySelectorAll("button.lnchpetselector"),m=e=>{e.preventDefault(),e.stopPropagation(),$.fancybox({autoSize:!1,speedIn:600,speedOut:200,transitionIn:"elastic",type:"inline",href:"#frameSelector",width:"940",height:"750"})};for(let e of f)e.addEventListener("click",m)}),$(document).ready(function(){$(".preview_iframe").height($(window).height());var e=$("#navigation_header"),t=e.parent(),n=e.find("ul");if(navigationSublevelWrap(n,"sublevel-"),e.clone().attr("id","navigation--mobile").mmenu({extensions:["multiline","border-full","pagedim-black"],offCanvas:{zposition:"front"}}),$("#hamburger").moveElement({place:t}),1===$(".navigation").not(".mm-menu").data("more-button")){var i=$(".navigation").not(".mm-menu").find(".navigation__list").eq(0),o="more_nav--active";i.hasClass(o)?i.removeClass(o):i.addClass(o)}function r(){window.currentMenuWidth=window.menuHolder.outerWidth(),addMoreButton(),moreNav(),$(".navigation:not(.mm-menu) .navigation__list>li>div>ul").desktopDropNav(),$(".navigation:not(.mm-menu)").slideAccordion({activeClass:"open-close--active",opener:">a span.opener",slider:">div.slide",animSpeed:300}),$(".navigation:not(.mm-menu) > ul").dropdownFit({dropDown:">li>div>ul"}),$(".navigation:not(.mm-menu) .sublevel-1").each(function(){$(this).scrollArea({heightProp:"maxHeight",setScrollTo:"> .navigation__list--sub",extraSpacing:parseInt($(".navigation:not(.mm-menu) .sublevel-1").css("padding-top"))})})}$(".wrap__image .image, .wrap__layout_form .image, .wrap__container-alt .image, .wrap__side_image_content .image").each(function(){var e=$
5(this),t=e.find("img"),n=t.attr("src");e.length&&t.length&&n&&(e.css({backgroundImage:"url("+n+")",backgroundSize:"cover",backgroundPosition:"50% 50%",backgroundRepeat:"no-repeat"}),t.remove())}),ResponsiveHelper.addRange({"1025..":{on:function(){1===$(".navigation").not(".mm-menu").data("more-button")&&(menuPrepare(),window.currentMenuWidth=window.menuHolder.outerWidth(),addMoreButton(),moreNav(),$(window).on("resize orientationchange",r)),$(".wrap__layout").setSpacing({takeSizeFrom:".wrap__header--inner",flexible:!1}),$("body").fixedScrollBlock({fixedActiveClass:"fixed-on-scroll",slideBlock:".wrap__header",fixedOnlyIfFits:!1,positionType:"fixed"}),$(".wrap__header--inner").length&&$(".wrap__header--inner").addClass("positioned"),$(".navigation:not(.mm-menu) .navigation__list>li>div>ul").desktopDropNav(),$(".navigation:not(.mm-menu)").slideAccordion({activeClass:"open-close--active",opener:">a span.opener",slider:">div.slide",animSpeed:300}),$(".navigation:not(.mm-menu) > ul").dropdownFit({dropDown:">li>div>ul"}),$(".navigation:not(.mm-menu) .sublevel-1").each(function(){$(this).scrollArea({heightProp:"maxHeight",setScrollTo:"> .navigation__list--sub",extraSpacing:parseInt($(".navigation:not(.mm-menu) .sublevel-1").css("padding-top"))})}),void 0!==$("#navigation--mobile").data("mmenu")&&$("#navigation--mobile").data("mmenu").close(),$(".map__display").setSpacing({takeSizeFrom:".map .component__title-caption-wrap",takeSize:"height",spacingProp:"top"}),$(".form").length&&($("body").on("SMBLeadsFormReady",function(){$(".wrap__form.contact .leadForm, .wrap__form.appointment .leadForm").layoutContactForm()}),$(".wrap__form.contact .leadForm, .wrap__form.appointment .leadForm").layoutContactForm())},off:function(){1===$(".navigation").not(".mm-menu").data("more-button")&&$(window).off("resize orientationchange",r),void 0!==$(".wrap__layout").data("setSpacing")&&$(".wrap__layout").data("setSpacing").destroy(),$("body").data("FixedScrollBlock").destroy(),$(".wrap__header--inner").removeClass("positioned"),$(".navigation:not(.mm-menu) > ul").data("dropdownFit").destroy(),setTimeout(function(){$(".navigation:not(.mm-menu) .sublevel-1").each(function(){void 0!==$(this).data("scrollArea")&&$(this).data("scrollArea").destroy()})},100),void 0!==$(".map__display").data("setSpacing")&&$(".map__display").data("setSpacing").destroy(),$(".wrap__form.contact .leadForm, .wrap__form.appointment .leadForm").each(function(){void 0!==$(this).data("layoutContactForm")&&$(this).data("layoutContactForm").destroy()})}},"..1024":{on:function(){$(".wrap__additional-components .location").makeAddressMapLink()},off:function(){$(".wrap__additional-components .location").each(function(){void 0!==$(this).data("makeAddressMapLink")&&$(this).data("makeAddressMapLink").destroy()})}}}),styleInnerPageStaff()}),function(e){function t(t){this.options=e.extend({addressItemHolder:".location__address"},t),this.init()}t.prototype={init:function(){this.findElements(),this.makeAddress()},findElements:function(){this.addressHolder=e(this.options.holder),this.addressItem=this.addressHolder.find(e(this.options.addressItemHolder))},makeAddress:function(){this.addressItem.wrapInner("<a class='mapLink' href='http://maps.google.com/maps?q="+encodeURIComponent(this.addressItem.text())+"' target='_blank'></a>")},destroy:function(){e(".mapLink").contents().unwrap(),this.addressItem.removeData("makeAddressMapLink")}},e.fn.makeAddressMapLink=function(n){return this.each(function(){e(this).data("makeAddressMapLink",new t(e.extend(n,{holder:this})))})}}(jQuery),$(document).ready(function(){disableLinks(".wrap__page-content a, .wrap__editable-content a"),$(".form").length&&$("body").on("SMBLeadsFormReady",function(){void 0!==$("body").data("FixedScrollBlock")&&$("body").data("FixedScrollBlock").refresh()}),setTimeout(function(){$("body").removeClass("mm-slideout mm-page")},1e3),$("a.dd-lightbox").fancybox()});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.