1!function(t){var e,n,o,s,a="mmenu",r="5.6.4";t[a]&&t[a].version>r||(t[a]=function(t,e,n){this.$menu=t,this._api=["bind","init","update","setSelected","getInstance","openPanel","closePanel","closeAllPanels"],this.opts=e,this.conf=n,this.vars={},this.cbck={},"function"==typeof this.___deprecated&&this.___deprecated(),this._initMenu(),this._initAnchors();var o=this.$pnls.children();return this._initAddons(),this.init(o),"function"==typeof this.___debug&&this.___debug(),this},t[a].version=r,t[a].addons={},t[a].uniqueId=0,t[a].defaults={extensions:[],navbar:{add:!0,title:"Menu",titleLink:"panel"},onClick:{setSelected:!0},slidingSubmenus:!0},t[a].configuration={classNames:{divider:"Divider",inset:"Inset",panel:"Panel",selected:"Selected",spacer:"Spacer",vertical:"Vertical"},clone:!1,openingInterval:25,panelNodetype:"ul, ol, div",transitionDuration:400},t[a].prototype={init:function(t){t=t.not("."+e.nopanel),t=this._initPanels(t),this.trigger("init",t),this.trigger("update")},update:function(){this.trigger("update")},setSelected:function(t){this.$menu.find("."+e.listview).children().removeClass(e.selected),t.addClass(e.selected),this.trigger("setSelected",t)},openPanel:function(n){var o=n.parent(),s=this;if(o.hasClass(e.vertical)){var r=o.parents("."+e.subopened);if(r.length)return void this.openPanel(r.first());o.addClass(e.opened),this.trigger("openPanel",n),this.trigger("openingPanel",n),this.trigger("openedPanel",n)}else{if(n.hasClass(e.current))return;var l=this.$pnls.children("."+e.panel),h=l.filter("."+e.current);l.removeClass(e.highest).removeClass(e.current).not(n).not(h).not("."+e.vertical).addClass(e.hidden),t[a].support.csstransitions||h.addClass(e.hidden),n.hasClass(e.opened)?n.nextAll("."+e.opened).addClass(e.highest).removeClass(e.opened).removeClass(e.subopened):(n.addClass(e.highest),h.addClass(e.subopened)),n.removeClass(e.hidden).addClass(e.current),s.trigger("openPanel",n),setTimeout(function(){n.removeClass(e.subopened).addClass(e.opened),s.trigger("openingPanel",n),s.__transitionend(n,function(){s.trigger("openedPanel",n)},s.conf.transitionDuration)},this.conf.openingInterval)}},closePanel:function(t){var n=t.parent();n.hasClass(e.vertical)&&(n.removeClass(e.opened),this.trigger("closePanel",t),this.trigger("closingPanel",t),this.trigger("closedPanel",t))},closeAllPanels:function(){this.$menu.find("."+e.listview).children().removeClass(e.selected).filter("."+e.vertical).removeClass(e.opened);var t=this.$pnls.children("."+e.panel).first();this.$pnls.children("."+e.panel).not(t).removeClass(e.subopened).removeClass(e.opened).removeClass(e.current).removeClass(e.highest).addClass(e.hidden),this.openPanel(t)},togglePanel:function(t){var n=t.parent();n.hasClass(e.vertical)&&this[n.hasClass(e.opened)?"closePanel":"openPanel"](t)},getInstance:function(){return this},bind:function(t,e){this.cbck[t]=this.cbck[t]||[],this.cbck[t].push(e)},trigger:function(){var t=Array.prototype.slice.call(arguments),e=t.shift();if(this.cbck[e])for(var n=0,o=this.cbck[e].length;o>n;n++)this.cbck[e][n].apply(this,t)},_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(){t(this).attr("id",e.mm(t(this).attr("id")))})),this.$menu.contents().each(function(){3==t(this)[0].nodeType&&t(this).remove()}),this.$pnls=t('<div class="'+e.panels+'" />').append(this.$menu.children(this.conf.panelNodetype)).prependTo(this.$menu),this.$menu.parent().addClass(e.wrapper);var n=[e.menu];this.opts.slidingSubmenus||n.push(e.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(o){var s=this,a=this.__findAddBack(o,"ul, ol");this.__refactorClass(a,this.conf.classNames.inset,"inset").addClass(e.nolistview+" "+e.nopanel),a.not("."+e.nolistview).addClass(e.listview);var r=this.__findAddBack(o,"."+e.listview).children();this.__refactorClass(r,this.conf.classNames.selected,"selected"),this.__refactorClass(r,this.conf.classNames.divider,"divider"),this.__refactorClass(r,this.conf.classNames.spacer,"spacer"),this.__refactorClass(this.__findAddBack(o,"."+this.conf.classNames.panel),this.conf.classNames.panel,"panel");
1var l=t(),h=o.add(o.find("."+e.panel)).add(this.__findAddBack(o,"."+e.listview).children().children(this.conf.panelNodetype)).not("."+e.nopanel);this.__refactorClass(h,this.conf.classNames.vertical,"vertical"),this.opts.slidingSubmenus||h.addClass(e.vertical),h.each(function(){var n=t(this),o=n;n.is("ul, ol")?(n.wrap('<div class="'+e.panel+'" />'),o=n.parent()):o.addClass(e.panel);var a=n.attr("id");n.removeAttr("id"),o.attr("id",a||s.__getUniqueId()),n.hasClass(e.vertical)&&(n.removeClass(s.conf.classNames.vertical),o.add(o.parent()).addClass(e.vertical)),l=l.add(o)});var c=t("."+e.panel,this.$menu);l.each(function(o){var a,r,l=t(this),h=l.parent(),c=h.children("a, span").first();if(h.is("."+e.panels)||(h.data(n.sub,l),l.data(n.parent,h)),h.children("."+e.next).length||h.parent().is("."+e.listview)&&(a=l.attr("id"),r=t('<a class="'+e.next+'" href="#'+a+'" data-target="#'+a+'" />').insertBefore(c),c.is("span")&&r.addClass(e.fullsubopen)),!l.children("."+e.navbar).length&&!h.hasClass(e.vertical)){h=h.parent().is("."+e.listview)?h.closest("."+e.panel):(c=h.closest("."+e.panel).find('a[href="#'+l.attr("id")+'"]').first()).closest("."+e.panel);var d=!1,u=t('<div class="'+e.navbar+'" />');if(h.length){switch(a=h.attr("id"),s.opts.navbar.titleLink){case"anchor":d=c.attr("href");break;case"panel":case"parent":d="#"+a;break;default:d=!1}u.append('<a class="'+e.btn+" "+e.prev+'" href="#'+a+'" data-target="#'+a+'" />').append(t('<a class="'+e.title+'"'+(d?' href="'+d+'"':"")+" />").text(c.text())).prependTo(l),s.opts.navbar.add&&l.addClass(e.hasnavbar)}else s.opts.navbar.title&&(u.append('<a class="'+e.title+'">'+s.opts.navbar.title+"</a>").prependTo(l),s.opts.navbar.add&&l.addClass(e.hasnavbar))}});var d=this.__findAddBack(o,"."+e.listview).children("."+e.selected).removeClass(e.selected).last().addClass(e.selected);d.add(d.parentsUntil("."+e.menu,"li")).filter("."+e.vertical).addClass(e.opened).end().each(function(){t(this).parentsUntil("."+e.menu,"."+e.panel).not("."+e.vertical).first().addClass(e.opened).parentsUntil("."+e.menu,"."+e.panel).not("."+e.vertical).first().addClass(e.opened).addClass(e.subopened)}),d.children("."+e.panel).not("."+e.vertical).addClass(e.opened).parentsUntil("."+e.menu,"."+e.panel).not("."+e.vertical).first().addClass(e.opened).addClass(e.subopened);var u=c.filter("."+e.opened);return u.length||(u=l.first()),u.addClass(e.opened).last().addClass(e.current),l.not("."+e.vertical).not(u.last()).addClass(e.hidden).end().filter(function(){return!t(this).parent().hasClass(e.panels)}).appendTo(this.$pnls),l},_initAnchors:function(){var n=this;s.$body.on(o.click+"-oncanvas","a[href]",function(o){var s=t(this),r=!1,l=n.$menu.find(s).length;for(var h in t[a].addons)if(t[a].addons[h].clickAnchor.call(n,s,l)){r=!0;break}var c=s.attr("href");if(!r&&l&&c.length>1&&"#"==c.slice(0,1))try{var d=t(c,n.$menu);d.is("."+e.panel)&&(r=!0,n[s.parent().hasClass(e.vertical)?"togglePanel":"openPanel"](d))}catch(t){}if(r&&o.preventDefault(),!r&&l&&s.is("."+e.listview+" > li > a")&&!s.is('[rel="external"]')&&!s.is('[target="_blank"]')){n.__valueOrFn(n.opts.onClick.setSelected,s)&&n.setSelected(t(o.target).parent());var u=n.__valueOrFn(n.opts.onClick.preventDefault,s,"#"==c.slice(0,1));u&&o.preventDefault(),n.__valueOrFn(n.opts.onClick.close,s,u)&&n.close()}})},_initAddons:function(){var e;for(e in t[a].addons)t[a].addons[e].add.call(this),t[a].addons[e].add=function(){};for(e in t[a].addons)t[a].addons[e].setup.call(this)},_getOriginalMenuId:function(){var t=this.$menu.attr("id");return t&&t.length&&this.conf.clone&&(t=e.umm(t)),t},__api:function(){var e=this,n={};return t.each(this._api,function(t){var o=this;n[o]=function(){var t=e[o].apply(e,arguments);return void 0===t?n:t}}),n},__valueOrFn:function(t,e,n){return"function"==typeof t?t.call(e[0]):void 0===t&&void 0!==n?n:t},__refactorClass:function(t,n,o){return t.filter("."+n).removeClass(n).addClass(e[o])},__findAddBack:function(t,e){return t.find(e).add(t.filter(e))},__filterListItems:function(t){return t.not("."+e.divider).not("."+e.hidden)},__transitionend:function(t,e,n){var s=!1,a=function(){s||e.call(t[0]),s=!0};t.one(o.transitionend,a),t.one(o.webkitTransitionEnd,a),setTimeout(a,1.1*n)},__getUniqueId:function(){return e.mm(t[a].uniqueId++)}},t.fn[a]=function(r,l){return t[a].glbl||(s={$wndw:t(window),$docu:t(document),$html:t("html"),$body:t("body")},e={},n={},o={},t.each([e,n,o],function(t,e){e.add=function(t){t=t.split(" ");for(var n=0,o=t.length;o>n;n++)e[t[n]]=e.mm(t[n])}}),e.mm=function(t){return"mm-"+t},e.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"),e.umm=function(t){return"mm-"==t.slice(0,3)&&(t=t.
1slice(3)),t},n.mm=function(t){return"mm-"+t},n.add("parent sub"),o.mm=function(t){return t+".mm"},o.add("transitionend webkitTransitionEnd click scroll keydown mousedown mouseup touchstart touchmove touchend orientationchange"),t[a]._c=e,t[a]._d=n,t[a]._e=o,t[a].glbl=s),r=t.extend(!0,{},t[a].defaults,r),l=t.extend(!0,{},t[a].configuration,l),this.each(function(){var e=t(this);if(!e.data(a)){var n=new t[a](e,r,l);n.$menu.data(a,n.__api())}})},t[a].support={touch:"ontouchstart"in window||navigator.msMaxTouchPoints||!1,csstransitions:function(){if("undefined"!=typeof Modernizr&&void 0!==Modernizr.csstransitions)return Modernizr.csstransitions;var t=(document.body||document.documentElement).style,e="transition";if("string"==typeof t[e])return!0;var n=["Moz","webkit","Webkit","Khtml","O","ms"];e=e.charAt(0).toUpperCase()+e.substr(1);for(var o=0;o<n.length;o++)if("string"==typeof t[n[o]+e])return!0;return!1}()})}(jQuery),function(t){var e,n,o,s,a="mmenu",r="offCanvas";t[a].addons[r]={setup:function(){if(this.opts[r]){var n=this.opts[r],o=this.conf[r];s=t[a].glbl,this._api=t.merge(this._api,["open","close","setPage"]),("top"==n.position||"bottom"==n.position)&&(n.zposition="front"),"string"!=typeof o.pageSelector&&(o.pageSelector="> "+o.pageNodetype),s.$allMenus=(s.$allMenus||t()).add(this.$menu),this.vars.opened=!1;var l=[e.offcanvas];"left"!=n.position&&l.push(e.mm(n.position)),"back"!=n.zposition&&l.push(e.mm(n.zposition)),this.$menu.addClass(l.join(" ")).parent().removeClass(e.wrapper),this.setPage(s.$page),this._initBlocker(),this["_initWindow_"+r](),this.$menu[o.menuInjectMethod+"To"](o.menuWrapperSelector);var h=window.location.hash;if(h){var c=this._getOriginalMenuId();c&&c==h.slice(1)&&this.open()}}},add:function(){e=t[a]._c,n=t[a]._d,o=t[a]._e,e.add("offcanvas slideout blocking modal background opening blocker page"),n.add("style"),o.add("resize")},clickAnchor:function(t,e){if(!this.opts[r])return!1;var n=this._getOriginalMenuId();return n&&t.is('[href="#'+n+'"]')?(this.open(),!0):s.$page?!!((n=s.$page.first().attr("id"))&&t.is('[href="#'+n+'"]'))&&(this.close(),!0):void 0}},t[a].defaults[r]={position:"left",zposition:"back",blockUI:!0,moveBackground:!0},t[a].configuration[r]={pageNodetype:"div",pageSelector:null,noPageSelector:[],wrapPageIfNeeded:!0,menuWrapperSelector:"body",menuInjectMethod:"prepend"},t[a].prototype.open=function(){if(!this.vars.opened){var t=this;this._openSetup(),setTimeout(function(){t._openFinish()},this.conf.openingInterval),this.trigger("open")}},t[a].prototype._openSetup=function(){var a=this,l=this.opts[r];this.closeAllOthers(),s.$page.each(function(){t(this).data(n.style,t(this).attr("style")||"")}),s.$wndw.trigger(o.resize+"-"+r,[!0]);var h=[e.opened];l.blockUI&&h.push(e.blocking),"modal"==l.blockUI&&h.push(e.modal),l.moveBackground&&h.push(e.background),"left"!=l.position&&h.push(e.mm(this.opts[r].position)),"back"!=l.zposition&&h.push(e.mm(this.opts[r].zposition)),this.opts.extensions&&h.push(this.opts.extensions),s.$html.addClass(h.join(" ")),setTimeout(function(){a.vars.opened=!0},this.conf.openingInterval),this.$menu.addClass(e.current+" "+e.opened)},t[a].prototype._openFinish=function(){var t=this;this.__transitionend(s.$page.first(),function(){t.trigger("opened")},this.conf.transitionDuration),s.$html.addClass(e.opening),this.trigger("opening")},t[a].prototype.close=function(){if(this.vars.opened){var o=this;this.__transitionend(s.$page.first(),function(){o.$menu.removeClass(e.current).removeClass(e.opened),s.$html.removeClass(e.opened).removeClass(e.blocking).removeClass(e.modal).removeClass(e.background).removeClass(e.mm(o.opts[r].position)).removeClass(e.mm(o.opts[r].zposition)),o.opts.extensions&&s.$html.removeClass(o.opts.extensions),s.$page.each(function(){t(this).attr("style",t(this).data(n.style))}),o.vars.opened=!1,o.trigger("closed")},this.conf.transitionDuration),s.$html.removeClass(e.opening),this.trigger("close"),this.trigger("closing")}},t[a].prototype.closeAllOthers=function(){s.$allMenus.not(this.$menu).each(function(){var e=t(this).data(a);e&&e.close&&e.close()})},t[a].prototype.setPage=function(n){var o=this,a=this.conf[r];n&&n.length||(n=s.$body.find(a.pageSelector),a.noPageSelector.length&&(n=n.not(a.noPageSelector.join(", "))),n.length>1&&a.wrapPageIfNeeded&&(n=n.wrapAll("<"+this.conf[r].pageNodetype+" />").parent())),n.each(function(){t(this).attr("id",t(this).attr("id")||o.__getUniqueId())}),n.addClass(e.page+" "+e.slideout),s.$page=n,this.trigger("setPage",n)},t[a].prototype["_initWindow_"+r]=function(){s.$wndw.off(o.keydown+"-"+r).on(o.keydown+"-"+r,function(t){return s.$html.hasClass(e.opened)&&9==t.keyCode?(t.preventDefault(),!1):void 0});var t=0;s.$wndw.off(o.resize+"-"+r).on(o.resize+"-"+r,function(n,o){if(1==s.$page.length&&(o||s.$html.hasClass(e.opened))){var a=s.$wndw.height();(o||a!=t)&&(t=a,s.$page.css("minHeight",a))}})},t[a].prototype._initBlocker=function(){var n=this;this.opts[r].blockUI&&(s.$blck||(s.$blck=t('<div id="'+e.blocker+'" class="'+e.slideout+'" />')),s.$blck.appendTo(s.$body).off(o.touchstart+"-"+r+" "+o.touchmove+"-"+r).on(o.touchstart+"-"+r+" "+o.touchmove+"-"+r,function(t){t.preventDefault(),t.stopPropagation(),s.$blck.trigger(o.mousedown+"-"+r)}).off(o.mousedown+"-"+r).on(o.mousedown+"-"+r,function(t){t.preventDefault(),s.$html.hasClass(e.modal)||(n.closeAllOthers(),n.close())}))}}(jQuery),function(t){var e,n,o,s="mmenu",a="scrollBugFix";t[s].addons[a]={setup:function(){var r=this,l=this.opts[a];
1if(this.conf[a],o=t[s].glbl,t[s].support.touch&&this.opts.offCanvas&&this.opts.offCanvas.blockUI&&("boolean"==typeof l&&(l={fix:l}),"object"!=typeof l&&(l={}),(l=this.opts[a]=t.extend(!0,{},t[s].defaults[a],l)).fix)){var h=this.$menu.attr("id"),c=!1;this.bind("opening",function(){this.$pnls.children("."+e.current).scrollTop(0)}),o.$docu.on(n.touchmove,function(t){r.vars.opened&&t.preventDefault()}),o.$body.on(n.touchstart,"#"+h+"> ."+e.panels+"> ."+e.current,function(t){r.vars.opened&&(c||(c=!0,0===t.currentTarget.scrollTop?t.currentTarget.scrollTop=1:t.currentTarget.scrollHeight===t.currentTarget.scrollTop+t.currentTarget.offsetHeight&&(t.currentTarget.scrollTop-=1),c=!1))}).on(n.touchmove,"#"+h+"> ."+e.panels+"> ."+e.current,function(e){r.vars.opened&&t(this)[0].scrollHeight>t(this).innerHeight()&&e.stopPropagation()}),o.$wndw.on(n.orientationchange,function(){r.$pnls.children("."+e.current).scrollTop(0).css({"-webkit-overflow-scrolling":"auto"}).css({"-webkit-overflow-scrolling":"touch"})})}},add:function(){e=t[s]._c,t[s]._d,n=t[s]._e},clickAnchor:function(t,e){}},t[s].defaults[a]={fix:!0}}(jQuery),function(t){var e,n,o="mmenu",s="autoHeight";t[o].addons[s]={setup:function(){if(this.opts.offCanvas){var n=this.opts[s];if(this.conf[s],t[o].glbl,"boolean"==typeof n&&n&&(n={height:"auto"}),"string"==typeof n&&(n={height:n}),"object"!=typeof n&&(n={}),"auto"==(n=this.opts[s]=t.extend(!0,{},t[o].defaults[s],n)).height||"highest"==n.height){this.$menu.addClass(e.autoheight);var a=function(o){if(this.vars.opened){var s=parseInt(this.$pnls.css("top"),10)||0,a=parseInt(this.$pnls.css("bottom"),10)||0,r=0;this.$menu.addClass(e.measureheight),"auto"==n.height?((o=o||this.$pnls.children("."+e.current)).is("."+e.vertical)&&(o=o.parents("."+e.panel).not("."+e.vertical).first()),r=o.outerHeight()):"highest"==n.height&&this.$pnls.children().each(function(){var n=t(this);n.is("."+e.vertical)&&(n=n.parents("."+e.panel).not("."+e.vertical).first()),r=Math.max(r,n.outerHeight())}),this.$menu.height(r+s+a).removeClass(e.measureheight)}};this.bind("opening",a),"highest"==n.height&&this.bind("init",a),"auto"==n.height&&(this.bind("update",a),this.bind("openPanel",a),this.bind("closePanel",a))}}},add:function(){e=t[o]._c,t[o]._d,n=t[o]._e,e.add("autoheight measureheight"),n.add("resize")},clickAnchor:function(t,e){}},t[o].defaults[s]={height:"default"}}(jQuery),function(t){var e,n,o="mmenu",s="backButton";t[o].addons[s]={setup:function(){if(this.opts.offCanvas){var a=this,r=this.opts[s];if(this.conf[s],n=t[o].glbl,"boolean"==typeof r&&(r={close:r}),"object"!=typeof r&&(r={}),(r=t.extend(!0,{},t[o].defaults[s],r)).close){var l="#"+a.$menu.attr("id");this.bind("opened",function(t){location.hash!=l&&history.pushState(null,document.title,l)}),t(window).on("popstate",function(t){n.$html.hasClass(e.opened)?(t.stopPropagation(),a.close()):location.hash==l&&(t.stopPropagation(),a.open())})}}},add:function(){return window.history&&window.history.pushState?(e=t[o]._c,t[o]._d,void t[o]._e):void(t[o].addons[s].setup=function(){})},clickAnchor:function(t,e){}},t[o].defaults[s]={close:!1}}(jQuery),function(t){var e,n,o="mmenu",s="columns";t[o].addons[s]={setup:function(){var a=this.opts[s];if(this.conf[s],n=t[o].glbl,"boolean"==typeof a&&(a={add:a}),"number"==typeof a&&(a={add:!0,visible:a}),"object"!=typeof a&&(a={}),"number"==typeof a.visible&&(a.visible={min:a.visible,max:a.visible}),(a=this.opts[s]=t.extend(!0,{},t[o].defaults[s],a)).add){a.visible.min=Math.max(1,Math.min(6,a.visible.min)),a.visible.max=Math.max(a.visible.min,Math.min(6,a.visible.max)),this.$menu.addClass(e.columns);for(var r=this.opts.offCanvas?this.$menu.add(n.$html):this.$menu,l=[],h=0;h<=a.visible.max;h++)l.push(e.columns+"-"+h);l=l.join(" ");var c=function(){var t=this.$pnls.children("."+e.panel).filter("."+e.opened).length;t=Math.min(a.visible.max,Math.max(a.visible.min,t)),r.removeClass(l).addClass(e.columns+"-"+t)},d=function(n){this.$pnls.children("."+e.panel).removeClass(l).filter("."+e.subopened).removeClass(e.hidden).add(n).slice(-a.visible.max).each(function(n){t(this).addClass(e.columns+"-"+n)})};this.bind("open",c),this.bind("close",function(){this.opts.offCanvas&&n.$html.removeClass(l)}),this.bind("init",function(t){d.call(this,this.$pnls.children("."+e.current)),a.hideNavbars&&t.removeClass(e.hasnavbar)}),this.bind("openPanel",d),this.bind("openingPanel",c),this.bind("openedPanel",c),this.opts.offCanvas||c.call(this)}},add:function(){e=t[o]._c,t[o]._d,t[o]._e,e.add("columns")},clickAnchor:function(n,o){if(!this.opts[s].add)return!1;if(o){var a=n.attr("href");if(a.length>
11&&"#"==a.slice(0,1))try{if(t(a,this.$menu).is("."+e.panel))for(var r=parseInt(n.closest("."+e.panel).attr("class").split(e.columns+"-")[1].split(" ")[0],10)+1;!1!==r;){var l=this.$pnls.children("."+e.columns+"-"+r);if(!l.length){r=!1;break}r++,l.removeClass(e.subopened).removeClass(e.opened).removeClass(e.current).removeClass(e.highest).addClass(e.hidden)}}catch(t){}}}},t[o].defaults[s]={add:!1,visible:{min:1,max:3},hideNavbars:!1}}(jQuery),function(t){var e,n,o="mmenu",s="counters";t[o].addons[s]={setup:function(){var a=this,r=this.opts[s];this.conf[s],t[o].glbl,"boolean"==typeof r&&(r={add:r,update:r}),"object"!=typeof r&&(r={}),r=this.opts[s]=t.extend(!0,{},t[o].defaults[s],r),this.bind("init",function(e){this.__refactorClass(t("em",e),this.conf.classNames[s].counter,"counter")}),r.add&&this.bind("init",function(o){var s;("panels"===r.addTo?o:o.filter(r.addTo)).each(function(){var o=t(this).data(n.parent);o&&(o.children("em."+e.counter).length||o.prepend(t('<em class="'+e.counter+'" />')))})}),r.update&&this.bind("update",function(){this.$pnls.children("."+e.panel).each(function(){var o=t(this),s=o.data(n.parent);if(s){var r=s.children("em."+e.counter);r.length&&(o=o.children("."+e.listview)).length&&r.html(a.__filterListItems(o.children()).length)}})})},add:function(){e=t[o]._c,n=t[o]._d,t[o]._e,e.add("counter search noresultsmsg")},clickAnchor:function(t,e){}},t[o].defaults[s]={add:!1,addTo:"panels",update:!1},t[o].configuration.classNames[s]={counter:"Counter"}}(jQuery),function(t){var e,n,o="mmenu",s="dividers";t[o].addons[s]={setup:function(){var a=this,r=this.opts[s];if(this.conf[s],t[o].glbl,"boolean"==typeof r&&(r={add:r,fixed:r}),"object"!=typeof r&&(r={}),r=this.opts[s]=t.extend(!0,{},t[o].defaults[s],r),this.bind("init",function(e){this.__refactorClass(t("li",this.$menu),this.conf.classNames[s].collapsed,"collapsed")}),r.add&&this.bind("init",function(n){var o;o="panels"===r.addTo?n:n.filter(r.addTo),t("."+e.divider,o).remove(),o.find("."+e.listview).not("."+e.vertical).each(function(){var n="";a.__filterListItems(t(this).children()).each(function(){var o=t.trim(t(this).children("a, span").text()).slice(0,1).toLowerCase();o!=n&&o.length&&(n=o,t('<li class="'+e.divider+'">'+o+"</li>").insertBefore(this))})})}),r.collapse&&this.bind("init",function(n){t("."+e.divider,n).each(function(){var n=t(this);n.nextUntil("."+e.divider,"."+e.collapsed).length&&(n.children("."+e.subopen).length||(n.wrapInner("<span />"),n.prepend('<a href="#" class="'+e.subopen+" "+e.fullsubopen+'" />')))})}),r.fixed){var l=function(n){if((n=n||this.$pnls.children("."+e.current)).find("."+e.divider).not("."+e.hidden).length){this.$menu.addClass(e.hasdividers);var o=n.scrollTop()||0,s="";n.is(":visible")&&n.find("."+e.divider).not("."+e.hidden).each(function(){t(this).position().top+o<o+1&&(s=t(this).text())}),this.$fixeddivider.text(s)}else this.$menu.removeClass(e.hasdividers)};this.$fixeddivider=t('<ul class="'+e.listview+" "+e.fixeddivider+'"><li class="'+e.divider+'"></li></ul>').prependTo(this.$pnls).children(),this.bind("openPanel",l),this.bind("update",l),this.bind("init",function(e){e.off(n.scroll+"-dividers "+n.touchmove+"-dividers").on(n.scroll+"-dividers "+n.touchmove+"-dividers",function(e){l.call(a,t(this))})})}},add:function(){e=t[o]._c,t[o]._d,n=t[o]._e,e.add("collapsed uncollapsed fixeddivider hasdividers"),n.add("scroll")},clickAnchor:function(t,n){if(this.opts[s].collapse&&n){var o=t.parent();if(o.is("."+e.divider)){var a=o.nextUntil("."+e.divider,"."+e.collapsed);return o.toggleClass(e.opened),a[o.hasClass(e.opened)?"addClass":"removeClass"](e.uncollapsed),!0}}return!1}},t[o].defaults[s]={add:!1,addTo:"panels",fixed:!1,collapse:!1},t[o].configuration.classNames[s]={collapsed:"Collapsed"}}(jQuery),function(t){function e(t,e,n){return e>t&&(t=e),t>n&&(t=n),t}var n,o,s="mmenu",a="dragOpen";t[s].addons[a]={setup:function(){if(this.opts.offCanvas){var r=this,l=this.opts[a],h=this.conf[a
1];if(o=t[s].glbl,"boolean"==typeof l&&(l={open:l}),"object"!=typeof l&&(l={}),(l=this.opts[a]=t.extend(!0,{},t[s].defaults[a],l)).open){var c,d,u,p,f,m={},g=0,_=!1,v=!1,y=0,b=0;switch(this.opts.offCanvas.position){case"left":case"right":m.events="panleft panright",m.typeLower="x",m.typeUpper="X",v="width";break;case"top":case"bottom":m.events="panup pandown",m.typeLower="y",m.typeUpper="Y",v="height"}switch(this.opts.offCanvas.position){case"right":case"bottom":m.negative=!0,p=function(t){t>=o.$wndw[v]()-l.maxStartPos&&(g=1)};break;default:m.negative=!1,p=function(t){t<=l.maxStartPos&&(g=1)}}switch(this.opts.offCanvas.position){case"left":m.open_dir="right",m.close_dir="left";break;case"right":m.open_dir="left",m.close_dir="right";break;case"top":m.open_dir="down",m.close_dir="up";break;case"bottom":m.open_dir="up",m.close_dir="down"}f="front"===this.opts.offCanvas.zposition?function(){return this.$menu}:function(){return t("."+n.slideout)};var x=this.__valueOrFn(l.pageNode,this.$menu,o.$page);"string"==typeof x&&(x=t(x)),new Hammer(x[0],l.vendors.hammer).on("panstart",function(t){p(t.center[m.typeLower]),o.$slideOutNodes=f(),_=m.open_dir}).on(m.events+" panend",function(t){g>0&&t.preventDefault()}).on(m.events,function(t){if(c=t["delta"+m.typeUpper],m.negative&&(c=-c),c!=y&&(_=c>=y?m.open_dir:m.close_dir),(y=c)>l.threshold&&1==g){if(o.$html.hasClass(n.opened))return;g=2,r._openSetup(),r.trigger("opening"),o.$html.addClass(n.dragging),b=e(o.$wndw[v]()*h[v].perc,h[v].min,h[v].max)}2==g&&(d=e(y,10,b)-("front"==r.opts.offCanvas.zposition?b:0),m.negative&&(d=-d),u="translate"+m.typeUpper+"("+d+"px )",o.$slideOutNodes.css({"-webkit-transform":"-webkit-"+u,transform:u}))}).on("panend",function(t){2==g&&(o.$html.removeClass(n.dragging),o.$slideOutNodes.css("transform",""),r[_==m.open_dir?"_openFinish":"close"]()),g=0})}}},add:function(){return"function"!=typeof Hammer||Hammer.VERSION<2?void(t[s].addons[a].setup=function(){}):(n=t[s]._c,t[s]._d,t[s]._e,void n.add("dragging"))},clickAnchor:function(t,e){}},t[s].defaults[a]={open:!1,maxStartPos:100,threshold:50,vendors:{hammer:{}}},t[s].configuration[a]={width:{perc:.8,min:140,max:440},height:{perc:.8,min:140,max:880}}}(jQuery),function(t){var e,n,o,s,a="mmenu",r="dropdown";t[a].addons[r]={setup:function(){if(this.opts.offCanvas){var l=this,h=this.opts[r],c=this.conf[r];if(s=t[a].glbl,"boolean"==typeof h&&h&&(h={drop:h}),"object"!=typeof h&&(h={}),"string"==typeof h.position&&(h.position={of:h.position}),(h=this.opts[r]=t.extend(!0,{},t[a].defaults[r],h)).drop){if("string"!=typeof h.position.of){var d=this.$menu.attr("id");d&&d.length&&(this.conf.clone&&(d=e.umm(d)),h.position.of='[href="#'+d+'"]')}if("string"==typeof h.position.of){var u=t(h.position.of);if(u.length){this.$menu.addClass(e.dropdown),h.tip&&this.$menu.addClass(e.tip),h.event=h.event.split(" "),1==h.event.length&&(h.event[1]=h.event[0]),"hover"==h.event[0]&&u.on(o.mouseenter+"-dropdown",function(){l.open()}),"hover"==h.event[1]&&this.$menu.on(o.mouseleave+"-dropdown",function(){l.close()}),this.bind("opening",function(){this.$menu.data(n.style,this.$menu.attr("style")||""),s.$html.addClass(e.dropdown)}),this.bind("closed",function(){this.$menu.attr("style",this.$menu.data(n.style)),s.$html.removeClass(e.dropdown)});var p=function(n,o){var l,d,p=o[0],f=o[1],m="x"==n?"left":"top",g="x"==n?"right":"bottom",_="x"==n?"width":"height",v=null,y=s.$wndw["x"==n?"scrollLeft":"scrollTop"](),b=u.offset()[m]-=y,x=b+u["x"==n?"outerWidth":"outerHeight"](),w=s.$wndw[_](),P=c.offset.button[n]+c.offset.viewport[n];if(h.position[n])switch(h.position[n]){case"left":case"bottom":v="after";break;case"right":case"top":v="before"}return null===v&&(v=w/2>b+(x-b)/2?"after":"before"),"after"==v?(d=w-((l="x"==n?b:x)+P),p[m]=l+c.offset.button[n],p[g]="auto",f.push(e["x"==n?"tipleft":"tiptop"])):(d=(l="x"==n?x:b)-P,p[g]="calc( 100% - "+(l-c.offset.button[n])+"px )",p[m]="auto",f.push(e["x"==n?"tipright":"tipbottom"])),p["x"==n?"maxWidth":"maxHeight"]=Math.min(t[a].configuration[r][_].max,d),[p,f]},f=function(t){if(this.vars.opened){this.$menu.attr("style",this.$menu.data(n.style));var o=[{},[]];o=p.call(this,"y",o),o=p.call(this,"x",o),this.$menu.css(o[0]),h.tip&&this.$menu.removeClass(e.tipleft+" "+e.tipright+" "+e.tiptop+" "+e.tipbottom).addClass(o[1].join(" "))}};this.bind("opening",f),s.$wndw.on(o.resize+"-dropdown",function(t){f.call(l)}),this.opts.offCanvas.blockUI||s.$wndw.on(o.scroll+"-dropdown",function(t){f.call(l)})}}}}},add:function(){e=t[a]._c,n=t[a]._d,o=t[a]._e,e.add("dropdown tip tipleft tipright tiptop tipbottom"),o.add("mouseenter mouseleave resize scroll")},clickAnchor:function(t,e){}},t[a].defaults[r]={drop:!1,event:"click",position:{},tip:!0},t[a].configuration[r]={offset:{button:{x:-10,y:10},viewport:{x:20,y:20}},height:{max:880},width:{max:440}}}(jQuery),function(t){var e,n,o="mmenu",s="fixedElements";t[o].addons[s]={setup:function(){if(this.opts.offCanvas){var e=this.opts[s];this.conf[s],n=t[o].glbl,e=this.opts[s]=t.extend(!0,{},t[o].defaults[s],e);var a=function(t){var e=this.conf.classNames[s].fixed;this.__refactorClass(t.find("."+e),e,"slideout").appendTo(n.$body)};a.call(this,n.$page),this.bind("setPage",a)}},add:function(){e=t[o]._c,t[o]._d,t[o]._e,e.add("fixed")},clickAnchor:function(t,e){}},t[o].configuration.classNames[s]={fixed:"Fixed"}}(jQuery),function(t){var e,n="mmenu",o="iconPanels";t[n].addons[o]={setup:function(){var s=this,a=this.opts[o];if(this.conf[o],t[n].glbl,"boolean"==typeof a&&(a={add:a}),"number"==typeof a&&(a={add:!0,visible:a}),"object"!=typeof a&&(a={}),a=this.opts[o]=t.extend(!0,{}
1,t[n].defaults[o],a),a.visible++,a.add){this.$menu.addClass(e.iconpanel);for(var r=[],l=0;l<=a.visible;l++)r.push(e.iconpanel+"-"+l);r=r.join(" ");var h=function(n){n.hasClass(e.vertical)||s.$pnls.children("."+e.panel).removeClass(r).filter("."+e.subopened).removeClass(e.hidden).add(n).not("."+e.vertical).slice(-a.visible).each(function(n){t(this).addClass(e.iconpanel+"-"+n)})};this.bind("openPanel",h),this.bind("init",function(n){h.call(s,s.$pnls.children("."+e.current)),a.hideNavbars&&n.removeClass(e.hasnavbar),n.not("."+e.vertical).each(function(){t(this).children("."+e.subblocker).length||t(this).prepend('<a href="#'+t(this).closest("."+e.panel).attr("id")+'" class="'+e.subblocker+'" />')})})}},add:function(){e=t[n]._c,t[n]._d,t[n]._e,e.add("iconpanel subblocker")},clickAnchor:function(t,e){}},t[n].defaults[o]={add:!1,visible:3,hideNavbars:!1}}(jQuery),function(t){var e,n="mmenu",o="navbars";t[n].addons[o]={setup:function(){var s=this,a=this.opts[o],r=this.conf[o];if(t[n].glbl,void 0!==a){a instanceof Array||(a=[a]);var l={};for(var h in t.each(a,function(h){var c=a[h];"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=t.extend(!0,{},s.opts.navbar,c)).position,u=c.height;"number"!=typeof u&&(u=1),u=Math.min(4,Math.max(1,u)),"bottom"!=d&&(d="top"),l[d]||(l[d]=0),l[d]++;var p=t("<div />").addClass(e.navbar+" "+e.navbar+"-"+d+" "+e.navbar+"-"+d+"-"+l[d]+" "+e.navbar+"-size-"+u);l[d]+=u-1;for(var f=0,m=0,g=c.content.length;g>m;m++){var _=t[n].addons[o][c.content[m]]||!1;_?f+=_.call(s,p,c,r):((_=c.content[m])instanceof t||(_=t(c.content[m])),p.append(_))}(f+=Math.ceil(p.children().not("."+e.btn).not("."+e.title+"-prev").length/u))>1&&p.addClass(e.navbar+"-content-"+f),p.children("."+e.btn).length&&p.addClass(e.hasbtns),p.prependTo(s.$menu)}),l)s.$menu.addClass(e.hasnavbar+"-"+h+"-"+l[h])}},add:function(){e=t[n]._c,t[n]._d,t[n]._e,e.add("close hasbtns")},clickAnchor:function(t,e){}},t[n].configuration[o]={breadcrumbSeparator:"/"},t[n].configuration.classNames[o]={}}(jQuery),function(t){var e="mmenu";t[e].addons.navbars.breadcrumbs=function(n,o,s){var a=t[e]._c,r=t[e]._d;a.add("breadcrumbs separator");var l=t('<span class="'+a.breadcrumbs+'" />').appendTo(n);this.bind("init",function(e){e.removeClass(a.hasnavbar).each(function(){for(var e=[],n=t(this),o=t('<span class="'+a.breadcrumbs+'"></span>'),l=t(this).children().first(),h=!0;l&&l.length;){l.is("."+a.panel)||(l=l.closest("."+a.panel));var c=l.children("."+a.navbar).children("."+a.title).text();e.unshift(h?"<span>"+c+"</span>":'<a href="#'+l.attr("id")+'">'+c+"</a>"),h=!1,l=l.data(r.parent)}o.append(e.join('<span class="'+a.separator+'">'+s.breadcrumbSeparator+"</span>")).appendTo(n.children("."+a.navbar))})});var h=function(){l.html(this.$pnls.children("."+a.current).children("."+a.navbar).children("."+a.breadcrumbs).html())};return this.bind("openPanel",h),this.bind("init",h),0}}(jQuery),function(t){var e="mmenu";t[e].addons.navbars.close=function(n,o){var s=t[e]._c,a=t[e].glbl,r=t('<a class="'+s.close+" "+s.btn+'" href="#" />').appendTo(n),l=function(t){r.attr("href","#"+t.attr("id"))};return l.call(this,a.$page),this.bind("setPage",l),-1}}(jQuery),function(t){var e="mmenu",n="navbars";t[e].addons[n].next=function(o,s){var a,r,l=t[e]._c,h=t('<a class="'+l.next+" "+l.btn+'" href="#" />').appendTo(o),c=function(t){var e=(t=t||this.$pnls.children("."+l.current)).find("."+this.conf.classNames[n].panelNext);a=e.attr("href"),r=e.html(),h[a?"attr":"removeAttr"]("href",a),h[a||r?"removeClass":"addClass"](l.hidden),h.html(r)};return this.bind("openPanel",c),this.bind("init",function(){c.call(this)}),-1},t[e].configuration.classNames[n].panelNext="Next"}(jQuery),function(t){var e="mmenu",n="navbars";t[e].addons[n].prev=function(o,s){var a=t[e]._c,r=t('<a class="'+a.prev+" "+a.btn+'" href="#" />').appendTo(o);this.bind("init",function(t){t.removeClass(a.hasnavbar).children("."+a.navbar).addClass(a.hidden)});var l,h,c=function(t){if(!(t=t||this.$pnls.children("."+a.current)).hasClass(a.vertical)){var e=t.find("."+this.conf.classNames[n].panelPrev);e.length||(e=t.children("."+a.navbar).children("."+a.prev)),l=e.attr("href"),h=e.html(),r[l?"attr":"removeAttr"]("href",l),r[l||h?"removeClass":"addClass"](a.hidden),r.html(h)}};return this.bind("openPanel",c),this.bind("init",function(){c.call(this)}),-1},t[e].configuration.classNames[n].panelPrev="Prev"}(jQuery),function(t){var e="mmenu";t[e].addons.navbars.searchfield=function(n,o){var s=t[e]._c,a=t('<div class="'+s.search+'" />').appendTo(n);return"object"!=typeof this.opts.searchfield&&(this.opts.searchfield={}),this.opts.searchfield.add=!0,this.opts.searchfield.addTo=a,0}}(jQuery),function(t){var e="mmenu",n="navbars";t[e].addons[n].title=function(o,s){var a,r,l=t[e]._c,h=t('<a class="'+l.title+'" />').appendTo(o),c=function(t){if(!(t=t||this.$pnls.children("."+l.current)).hasClass(l.vertical)){var e=t.find("."+this.conf.classNames[n].panelTitle);e.length||(e=t.children("."+l.navbar).children("."+l.title)),a=e.attr("href"),r=e.html()||s.title,h[a?"attr":"removeAttr"]("href",a),h[a||r?"removeClass":"addClass"](l.hidden),h.html(r)}};return this.bind("openPanel",c),this.bind("init",function(t){c.call(this)}),0},t[e].configuration.classNames[n].panelTitle="Title"}(jQuery),function(t){function e(t,e,n){t.prop("aria-"+e,n)[n?"attr":"removeAttr"]("aria-"+e,"true")}function n(t){return'<span class="'+o.sronly+'">'+t+"</span>"}var o,s="mmenu",a="screenReader";t[s].addons[a]={setup:function(){var r=this.opts[a],l=this.conf[a
1];if(t[s].glbl,"boolean"==typeof r&&(r={aria:r,text:r}),"object"!=typeof r&&(r={}),(r=this.opts[a]=t.extend(!0,{},t[s].defaults[a],r)).aria){if(this.opts.offCanvas){var h=function(){e(this.$menu,"hidden",!0)};this.bind("open",function(){e(this.$menu,"hidden",!1)}),this.bind("close",h),h.call(this)}var c=function(){e(this.$menu.find("."+o.hidden),"hidden",!0),e(this.$menu.find('[aria-hidden="true"]').not("."+o.hidden),"hidden",!1)};this.bind("update",c),this.bind("openPanel",c),this.bind("openPanel",function(t){e(this.$pnls.children("."+o.panel).not(t).not("."+o.hidden),"hidden",!0),e(t,"hidden",!1)});var d=function(t){e(t.find("."+o.prev+", ."+o.next),"haspopup",!0)};this.bind("init",d),d.call(this,this.$menu.children("."+o.navbar))}if(r.text){var u=function(e){e.children("."+o.navbar).children("."+o.prev).html(n(l.text.closeSubmenu)).end().children("."+o.next).html(n(l.text.openSubmenu)).end().children("."+o.close).html(n(l.text.closeMenu)),e.is("."+o.panel)&&e.find("."+o.listview).find("."+o.next).each(function(){t(this).html(n(l.text[t(this).parent().is("."+o.vertical)?"toggleSubmenu":"openSubmenu"]))})};this.bind("init",u),u.call(this,this.$menu)}},add:function(){o=t[s]._c,t[s]._d,t[s]._e,o.add("sronly")},clickAnchor:function(t,e){}},t[s].defaults[a]={aria:!1,text:!1},t[s].configuration[a]={text:{closeMenu:"Close menu",closeSubmenu:"Close submenu",openSubmenu:"Open submenu",toggleSubmenu:"Toggle submenu"}}}(jQuery),function(t){var e,n,o,s="mmenu",a="searchfield";t[s].addons[a]={setup:function(){var r=this,l=this.opts[a],h=this.conf[a
1];t[s].glbl,"boolean"==typeof l&&(l={add:l}),"object"!=typeof l&&(l={}),"boolean"==typeof l.resultsPanel&&(l.resultsPanel={add:l.resultsPanel}),l=this.opts[a]=t.extend(!0,{},t[s].defaults[a],l),h=this.conf[a]=t.extend(!0,{},t[s].configuration[a],h),this.bind("close",function(){this.$menu.find("."+e.search).find("input").blur()}),this.bind("init",function(s){if(l.add){var c;if(("panels"===l.addTo?s:this.$menu.find(l.addTo)).each(function(){var n=t(this);if(!n.is("."+e.panel)||!n.is("."+e.vertical)){if(!n.children("."+e.search).length){var s,a=r.__valueOrFn(h.clear,n),c=r.__valueOrFn(h.form,n),d=r.__valueOrFn(h.input,n),u=r.__valueOrFn(h.submit,n),p=t("<"+(c?"form":"div")+' class="'+e.search+'" />'),f=t('<input placeholder="'+l.placeholder+'" type="text" autocomplete="off" />');if(p.append(f),d)for(s in d)f.attr(s,d[s]);if(a&&t('<a class="'+e.btn+" "+e.clear+'" href="#" />').appendTo(p).on(o.click+"-searchfield",function(t){t.preventDefault(),f.val("").trigger(o.keyup+"-searchfield")}),c){for(s in c)p.attr(s,c[s]);u&&!a&&t('<a class="'+e.btn+" "+e.next+'" href="#" />').appendTo(p).on(o.click+"-searchfield",function(t){t.preventDefault(),p.submit()})}n.hasClass(e.search)?n.replaceWith(p):n.prepend(p).addClass(e.hassearch)}if(l.noResults&&(n.closest("."+e.panel).length||(n=r.$pnls.children("."+e.panel).first()),!n.children("."+e.noresultsmsg).length)){var m=n.children("."+e.listview).first();t('<div class="'+e.noresultsmsg+" "+e.hidden+'" />').append(l.noResults)[m.length?"insertAfter":"prependTo"](m.length?m:n)}}}),l.search){if(l.resultsPanel.add){l.showSubPanels=!1;var d=this.$pnls.children("."+e.resultspanel);d.length||(d=t('<div class="'+e.panel+" "+e.resultspanel+" "+e.hidden+'" />').appendTo(this.$pnls).append('<div class="'+e.navbar+" "+e.hidden+'"><a class="'+e.title+'">'+l.resultsPanel.title+"</a></div>").append('<ul class="'+e.listview+'" />').append(this.$pnls.find("."+e.noresultsmsg).first().clone()),this.init(d))}this.$menu.find("."+e.search).each(function(){var s,h,c=t(this),u=c.closest("."+e.panel).length;u?h=s=c.closest("."+e.panel):(s=t("."+e.panel,r.$menu),h=r.$menu),l.resultsPanel.add&&(s=s.not(d));var p=c.children("input"),f=r.__findAddBack(s,"."+e.listview).children("li"),m=f.filter("."+e.divider),g=r.__filterListItems(f),_="",v=function(){var o=p.val().toLowerCase();if(o!=_){if(_=o,l.resultsPanel.add&&d.children("."+e.listview).empty(),s.scrollTop(0),g.add(m).addClass(e.hidden).find("."+e.fullsubopensearch).removeClass(e.fullsubopen+" "+e.fullsubopensearch),g.each(function(){var o=t(this),s="a";(l.showTextItems||l.showSubPanels&&o.find("."+e.next))&&(s="a, span"),(o.data(n.searchtext)||o.children(s).text()).toLowerCase().indexOf(_)>-1&&o.add(o.prevAll("."+e.divider).first()).removeClass(e.hidden)}),l.showSubPanels&&s.each(function(o){var s=t(this);r.__filterListItems(s.find("."+e.listview).children()).each(function(){var o=t(this),s=o.data(n.sub);o.removeClass(e.nosubresults),s&&s.find("."+e.listview).children().removeClass(e.hidden)})}),l.resultsPanel.add){if(""===_)this.closeAllPanels(),this.openPanel(this.$pnls.children("."+e.subopened).last());else{var a=t();s.each(function(){var n=r.__filterListItems(t(this).find("."+e.listview).children()).not("."+e.hidden).clone(!0);n.length&&(l.resultsPanel.dividers&&(a=a.add('<li class="'+e.divider+'">'+t(this).children("."+e.navbar).text()+"</li>")),a=a.add(n))}),a.find("."+e.next).remove(),d.children("."+e.listview).append(a),this.openPanel(d)}}else t(s.get().reverse()).each(function(o){var s=t(this),a=s.data(n.parent);a&&(r.__filterListItems(s.find("."+e.listview).children()).length?(a.hasClass(e.hidden)&&a.children("."+e.next).not("."+e.fullsubopen).addClass(e.fullsubopen).addClass(e.fullsubopensearch),a.removeClass(e.hidden).removeClass(e.nosubresults).prevAll("."+e.divider).first().removeClass(e.hidden)):u||(s.hasClass(e.opened)&&setTimeout(function(){r.openPanel(a.closest("."+e.panel))},(o+1)*(1.5*r.conf.openingInterval)),a.addClass(e.nosubresults)))});h.find("."+e.noresultsmsg)[g.not("."+e.hidden).length?"addClass":"removeClass"](e.hidden),this.update()}};p.off(o.keyup+"-"+a+" "+o.change+"-"+a).on(o.keyup+"-"+a,function(t){(function(t){switch(t){case 9:case 16:case 17:case 18:case 37:case 38:case 39:case 40:return!0}return!1})(t.keyCode)||v.call(r)}).on(o.change+"-"+a,function(t){v.call(r)});var y=c.children("."+e.btn);y.length&&p.on(o.keyup+"-"+a,function(t){y[p.val().length?"removeClass":"addClass"](e.hidden)}),p.trigger(o.keyup+"-"+a)})}}})},add:function(){e=t[s]._c,n=t[s]._d,o=t[s]._e,e.add("clear search hassearch resultspanel noresultsmsg noresults nosubresults fullsubopensearch"),n.add("searchtext"),o.add("change keyup")},clickAnchor:function(t,e){}},t[s].defaults[a]={add:!1,addTo:"panels",placeholder:"Search",noResults:"No results found.",resultsPanel:{add:!1,dividers:!0,title:"Search results"},search:!0,showTextItems:!1,showSubPanels:!0},t[s].configuration[a]={clear:!1,form:!1,input:!1,submit:!1}}(jQuery),function(t){var e,n,o="mmenu",s="sectionIndexer";t[o].addons[s]={setup:function(){var a=this,r=this.opts[s];this.conf[s],t[o].glbl,"boolean"==typeof r&&(r={add:r}),"object"!=typeof r&&(r={}),r=this.opts[s]=t.extend(!0,{}
1,t[o].defaults[s],r),this.bind("init",function(o){if(r.add){var s;("panels"===r.addTo?o:t(r.addTo,this.$menu).filter("."+e.panel)).find("."+e.divider).closest("."+e.panel).addClass(e.hasindexer)}if(!this.$indexer&&this.$pnls.children("."+e.hasindexer).length){this.$indexer=t('<div class="'+e.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>'),this.$indexer.children().on(n.mouseover+"-sectionindexer "+e.touchstart+"-sectionindexer",function(n){var o=t(this).attr("href").slice(1),s=a.$pnls.children("."+e.current),r=s.find("."+e.listview),l=!1,h=s.scrollTop();s.scrollTop(0),r.children("."+e.divider).not("."+e.hidden).each(function(){!1===l&&o==t(this).text().slice(0,1).toLowerCase()&&(l=t(this).position().top)}),s.scrollTop(!1!==l?l:h)});var l=function(t){a.$menu[(t.hasClass(e.hasindexer)?"add":"remove")+"Class"](e.hasindexer)};this.bind("openPanel",l),l.call(this,this.$pnls.children("."+e.current))}})},add:function(){e=t[o]._c,t[o]._d,n=t[o]._e,e.add("indexer hasindexer"),n.add("mouseover touchstart")},clickAnchor:function(t,n){return!!t.parent().is("."+e.indexer)||void 0}},t[o].defaults[s]={add:!1,addTo:"panels"}}(jQuery),function(t){var e,n,o="mmenu",s="setSelected";t[o].addons[s]={setup:function(){var a=this.opts[s];if(this.conf[s],t[o].glbl,"boolean"==typeof a&&(a={hover:a,parent:a}),"object"!=typeof a&&(a={}),(a=this.opts[s]=t.extend(!0,{},t[o].defaults[s],a)).current||this.bind("init",function(t){t.find("."+e.listview).children("."+e.selected).removeClass(e.selected)}),a.hover&&this.$menu.addClass(e.hoverselected),a.parent){this.$menu.addClass(e.parentselected);var r=function(t){this.$pnls.find("."+e.listview).find("."+e.next).removeClass(e.selected);for(var o=t.data(n.parent);o&&o.length;)o=o.children("."+e.next).addClass(e.selected).closest("."+e.panel).data(n.parent)};this.bind("openedPanel",r),this.bind("init",function(t){r.call(this,this.$pnls.children("."+e.current))})}},add:function(){e=t[o]._c,n=t[o]._d,t[o]._e,e.add("hoverselected parentselected")},clickAnchor:function(t,e){}},t[o].defaults[s]={current:!0,hover:!1,parent:!1}}(jQuery),function(t){var e,n="mmenu",o="toggles";t[n].addons[o]={setup:function(){var s=this;this.opts[o],this.conf[o],t[n].glbl,this.bind("init",function(n){this.__refactorClass(t("input",n),this.conf.classNames[o].toggle,"toggle"),this.__refactorClass(t("input",n),this.conf.classNames[o].check,"check"),t("input."+e.toggle+", input."+e.check,n).each(function(){var n=t(this),o=n.closest("li"),a=n.hasClass(e.toggle)?"toggle":"check",r=n.attr("id")||s.__getUniqueId();o.children('label[for="'+r+'"]').length||(n.attr("id",r),o.prepend(n),t('<label for="'+r+'" class="'+e[a]+'"></label>').insertBefore(o.children("a, span").last()))})})},add:function(){e=t[n]._c,t[n]._d,t[n]._e,e.add("toggle check")},clickAnchor:function(t,e){}},t[n].configuration.classNames[o]={toggle:"Toggle",check:"Check"}}(jQuery),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){var e=Array.prototype.slice,n=Array.prototype.splice,o={topSpacing:0,bottomSpacing:0,className:"is-sticky",wrapperClassName:"sticky-wrapper",center:!1,getWidthFrom:"",widthFromWrapper:!0,responsiveWidth:!1,zIndex:1e3},s=t(window),a=t(document),r=[],l=s.height(),h=function(){for(var e=s.scrollTop(),n=a.height(),o=n-l,h=e>o?o-e:0,c=0,d=r.length;c<d;c++){var u=r[c],p=u.stickyWrapper.offset().top-u.topSpacing-h;if(u.stickyWrapper.css("height",u.stickyElement.outerHeight()),e<=p)null!==u.currentTop&&(u.stickyElement.css({width:"",position:"",top:"","z-index":""}),u.stickyElement.parent().removeClass(u.className),u.stickyElement.trigger("sticky-end",[u]),u.currentTop=null);else{var f,m=n-u.stickyElement.outerHeight()-u.topSpacing-u.bottomSpacing-e-h;m<0?m+=u.topSpacing:m=u.topSpacing,u.currentTop!==m&&(u.getWidthFrom?f=t(u.getWidthFrom).width()||null:u.widthFromWrapper&&(f=u.stickyWrapper.width()),null==f&&(f=u.stickyElement.width()),u.stickyElement.css("width",f).css("position","fixed").css("top",m).css("z-index",u.zIndex),u.stickyElement.parent().addClass(u.className),null===u.currentTop?u.stickyElement.trigger("sticky-start",[u]):u.stickyElement.trigger("sticky-update",[u]),u.currentTop===u.topSpacing&&u.currentTop>m||null===u.currentTop&&m<u.topSpacing?u.stickyElement.trigger("sticky-bottom-reached",[u]):null!==u.currentTop&&m===u.topSpacing&&u.currentTop<m&&u.stickyElement.trigger("sticky-bottom-unreached",[u]),u.currentTop=m);var g=u.stickyWrapper.parent();u.stickyElement.offset().top+u.stickyElement.outerHeight()>=g.offset().top+g.outerHeight()&&u.stickyElement.offset().top<=u.topSpacing?u.stickyElement.css("position","absolute").css("top","").css("bottom",0).css("z-index",""):u.stickyElement.css("position","fixed").css("top",m).css("bottom","").css("z-index",u.zIndex)}}},c=function(){l=s.height();for(var e=0,n=r.length;e<n;e++){var o=r[e],a=null;o.getWidthFrom?o.responsiveWidth&&(a=t(o.getWidthFrom).width()):o.widthFromWrapper&&(a=o.stickyWrapper.width()),null!=a&&o.stickyElement.css("width",a)}},d={init:function(e){var n=t.extend({},o,e);return this.each(function(){var e=t(this),s=e.attr("id"),a=s?s+"-"+o.wrapperClassName:o.wrapperClassName,l=t("<div></div>").attr("id",a).addClass(n.wrapperClassName);e.wrapAll(function(){if(0==t(this).parent("#"+a).length)return l});var h=e.parent();n.center&&h.css({width:e.outerWidth(),marginLeft:"auto",marginRight:"auto"}),"right"===e.css("float")&&e.css({float:"none"}).parent().css({float:"right"}),n.stickyElement=e,n.stickyWrapper=h,n.currentTop=null,r.push(n),d.setWrapperHeight(this),d.setupChangeListeners(this)})},setWrapperHeight:function(e){var n=t(e),o=n.parent();o&&o.css("height",n.outerHeight())},setupChangeListeners:function(t){window.MutationObserver?new window.MutationObserver(function(e){(e[0].addedNodes.length||e[0].removedNodes.length)&&d.setWrapperHeight(t)}).observe(t,{subtree:!0,childList:!0}):window.addEventListener?(t.addEventListener("DOMNodeInserted",function(){d.setWrapperHeight(t)},!1),t.addEventListener("DOMNodeRemoved",function(){d.setWrapperHeight(t)},!1)):window.attachEvent&&(t.attachEvent("onDOMNodeInserted",function(){d.setWrapperHeight(t)}),t.attachEvent("onDOMNodeRemoved",function(){d.setWrapperHeight(t)}))},update:h,unstick:function(e){return this.each(function(){for(var e=t
1(this),o=-1,s=r.length;s-- >0;)r[s].stickyElement.get(0)===this&&(n.call(r,s,1),o=s);-1!==o&&(e.unwrap(),e.css({width:"",position:"",top:"",float:"","z-index":""}))})}};window.addEventListener?(window.addEventListener("scroll",h,!1),window.addEventListener("resize",c,!1)):window.attachEvent&&(window.attachEvent("onscroll",h),window.attachEvent("onresize",c)),t.fn.sticky=function(n){return d[n]?d[n].apply(this,e.call(arguments,1)):"object"!=typeof n&&n?void t.error("Method "+n+" does not exist on jQuery.sticky"):d.init.apply(this,arguments)},t.fn.unstick=function(n){return d[n]?d[n].apply(this,e.call(arguments,1)):"object"!=typeof n&&n?void t.error("Method "+n+" does not exist on jQuery.sticky"):d.unstick.apply(this,arguments)},t(function(){setTimeout(h,0)})}),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(t,e,n,o,s){return jQuery.easing[jQuery.easing.def](t,e,n,o,s)},easeInQuad:function(t,e,n,o,s){return o*(e/=s)*e+n},easeOutQuad:function(t,e,n,o,s){return-o*(e/=s)*(e-2)+n},easeInOutQuad:function(t,e,n,o,s){return(e/=s/2)<1?o/2*e*e+n:-o/2*(--e*(e-2)-1)+n},easeInCubic:function(t,e,n,o,s){return o*(e/=s)*e*e+n},easeOutCubic:function(t,e,n,o,s){return o*((e=e/s-1)*e*e+1)+n},easeInOutCubic:function(t,e,n,o,s){return(e/=s/2)<1?o/2*e*e*e+n:o/2*((e-=2)*e*e+2)+n},easeInQuart:function(t,e,n,o,s){return o*(e/=s)*e*e*e+n},easeOutQuart:function(t,e,n,o,s){return-o*((e=e/s-1)*e*e*e-1)+n},easeInOutQuart:function(t,e,n,o,s){return(e/=s/2)<1?o/2*e*e*e*e+n:-o/2*((e-=2)*e*e*e-2)+n},easeInQuint:function(t,e,n,o,s){return o*(e/=s)*e*e*e*e+n},easeOutQuint:function(t,e,n,o,s){return o*((e=e/s-1)*e*e*e*e+1)+n},easeInOutQuint:function(t,e,n,o,s){return(e/=s/2)<1?o/2*e*e*e*e*e+n:o/2*((e-=2)*e*e*e*e+2)+n},easeInSine:function(t,e,n,o,s){return-o*Math.cos(e/s*(Math.PI/2))+o+n},easeOutSine:function(t,e,n,o,s){return o*Math.sin(e/s*(Math.PI/2))+n},easeInOutSine:function(t,e,n,o,s){return-o/2*(Math.cos(Math.PI*e/s)-1)+n},easeInExpo:function(t,e,n,o,s){return 0==e?n:o*Math.pow(2,10*(e/s-1))+n},easeOutExpo:function(t,e,n,o,s){return e==s?n+o:o*(-Math.pow(2,-10*e/s)+1)+n},easeInOutExpo:function(t,e,n,o,s){return 0==e?n:e==s?n+o:(e/=s/2)<1?o/2*Math.pow(2,10*(e-1))+n:o/2*(-Math.pow(2,-10*--e)+2)+n},easeInCirc:function(t,e,n,o,s){return-o*(Math.sqrt(1-(e/=s)*e)-1)+n},easeOutCirc:function(t,e,n,o,s){return o*Math.sqrt(1-(e=e/s-1)*e)+n},easeInOutCirc:function(t,e,n,o,s){return(e/=s/2)<1?-o/2*(Math.sqrt(1-e*e)-1)+n:o/2*(Math.sqrt(1-(e-=2)*e)+1)+n},easeInElastic:function(t,e,n,o,s){var a=1.70158,r=0,l=o;if(0==e)return n;if(1==(e/=s))return n+o;if(r||(r=.3*s),l<Math.abs(o)){l=o;var a=r/4}else var a=r/(2*Math.PI)*Math.asin(o/l);return-(l*Math.pow(2,10*(e-=1))*Math.sin((e*s-a)*(2*Math.PI)/r))+n},easeOutElastic:function(t,e,n,o,s){var a=1.70158,r=0,l=o;if(0==e)return n;if(1==(e/=s))return n+o;if(r||(r=.3*s),l<Math.abs(o)){l=o;var a=r/4}else var a=r/(2*Math.PI)*Math.asin(o/l);return l*Math.pow(2,-10*e)*Math.sin((e*s-a)*(2*Math.PI)/r)+o+n},easeInOutElastic:function(t,e,n,o,s){var a=1.70158,r=0,l=o;if(0==e)return n;if(2==(e/=s/2))return n+o;if(r||(r=s*(.3*1.5)),l<Math.abs(o)){l=o;var a=r/4}else var a=r/(2*Math.PI)*Math.asin(o/l);return e<1?-.5*(l*Math.pow(2,10*(e-=1))*Math.sin((e*s-a)*(2*Math.PI)/r))+n:l*Math.pow(2,-10*(e-=1))*Math.sin((e*s-a)*(2*Math.PI)/r)*.5+o+n},easeInBack:function(t,e,n,o,s,a){return void 0==a&&(a=1.70158),o*(e/=s)*e*((a+1)*e-a)+n},easeOutBack:function(t,e,n,o,s,a){return void 0==a&&(a=1.70158),o*((e=e/s-1)*e*((a+1)*e+a)+1)+n},easeInOutBack:function(t,e,n,o,s,a){return(void 0==a&&(a=1.70158),(e/=s/2)<1)?o/2*(e*e*(((a*=1.525)+1)*e-a))+n:o/2*((e-=2)*e*(((a*=1.525)+1)*e+a)+2)+n},easeInBounce:function(t,e,n,o,s){return o-jQuery.easing.easeOutBounce(t,s-e,0,o,s)+n},easeOutBounce:function(t,e,n,o,s){return(e/=s)<1/2.75?o*(7.5625*e*e)+n:e<2/2.75?o*(7.5625*(e-=1.5/2.75)*e+.75)+n:e<2.5/2.75?o*(7.5625*(e-=2.25/2.75)*e+.9375)+n:o*(7.5625*(e-=2.625/2.75)*e+.984375)+n},easeInOutBounce:function(t,e,n,o,s){return e<s/2?.5*jQuery.easing.easeInBounce(t,2*e,0,o,s)+n:.5*jQuery.easing.easeOutBounce(t,2*e-s,0,o,s)+.5*o+n}}),function(t){var e={},n={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",responsive:!0,slideZIndex:50,wrapperClass:"bx-wrapper",touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Next",prevText:"Prev",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",autoHover:!1,autoDelay:0,autoSlideForOnePage:!1,minSli
1des:1,maxSlides:1,moveSlides:0,slideWidth:0,onSliderLoad:function(){},onSlideBefore:function(){},onSlideAfter:function(){},onSlideNext:function(){},onSlidePrev:function(){},onSliderResize:function(){}};t.fn.bxSlider=function(o){if(0==this.length)return this;if(this.length>1)return this.each(function(){t(this).bxSlider(o)}),this;var s={},a=this;e.el=this;var r=t(window).width(),l=t(window).height(),h=function(){s.settings=t.extend({},n,o),s.settings.slideWidth=parseInt(s.settings.slideWidth),s.children=a.children(s.settings.slideSelector),s.children.length<s.settings.minSlides&&(s.settings.minSlides=s.children.length),s.children.length<s.settings.maxSlides&&(s.settings.maxSlides=s.children.length),s.settings.randomStart&&(s.settings.startSlide=Math.floor(Math.random()*s.children.length)),s.active={index:s.settings.startSlide},s.carousel=s.settings.minSlides>1||s.settings.maxSlides>1,s.carousel&&(s.settings.preloadImages="all"),s.minThreshold=s.settings.minSlides*s.settings.slideWidth+(s.settings.minSlides-1)*s.settings.slideMargin,s.maxThreshold=s.settings.maxSlides*s.settings.slideWidth+(s.settings.maxSlides-1)*s.settings.slideMargin,s.working=!1,s.controls={},s.interval=null,s.animProp="vertical"==s.settings.mode?"top":"left",s.usingCSS=s.settings.useCSS&&"fade"!=s.settings.mode&&function(){var t=document.createElement("div"),e=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var n in e)if(void 0!==t.style[e[n]])return s.cssPrefix=e[n].replace("Perspective","").toLowerCase(),s.animProp="-"+s.cssPrefix+"-transform",!0;return!1}(),"vertical"==s.settings.mode&&(s.settings.maxSlides=s.settings.minSlides),a.data("origStyle",a.attr("style")),a.children(s.settings.slideSelector).each(function(){t(this).data("origStyle",t(this).attr("style"))}),c()},c=function(){a.wrap('<div class="'+s.settings.wrapperClass+'"><div class="bx-viewport"></div></div>'),s.viewport=a.parent(),s.loader=t('<div class="bx-loading" />'),s.viewport.prepend(s.loader),a.css({width:"horizontal"==s.settings.mode?100*s.children.length+215+"%":"auto",position:"relative"}),s.usingCSS&&s.settings.easing?a.css("-"+s.cssPrefix+"-transition-timing-function",s.settings.easing):s.settings.easing||(s.settings.easing="swing"),g(),s.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),s.viewport.parent().css({maxWidth:f()}),s.settings.pager||s.viewport.parent().css({margin:"0 auto 0px"}),s.children.css({float:"horizontal"==s.settings.mode?"left":"none",listStyle:"none",position:"relative"}),s.children.css("width",m()),"horizontal"==s.settings.mode&&s.settings.slideMargin>0&&s.children.css("marginRight",s.settings.slideMargin),"vertical"==s.settings.mode&&s.settings.slideMargin>0&&s.children.css("marginBottom",s.settings.slideMargin),"fade"==s.settings.mode&&(s.children.css({position:"absolute",zIndex:0,display:"none"}),s.children.eq(s.settings.startSlide).css({zIndex:s.settings.slideZIndex,display:"block"})),s.controls.el=t('<div class="bx-controls" />'),s.settings.captions&&C(),s.active.last=s.settings.startSlide==_()-1,s.settings.video&&a.fitVids();var e=s.children.eq(s.settings.startSlide);"all"==s.settings.preloadImages&&(e=s.children),s.settings.ticker?s.settings.pager=!1:(s.settings.pager&&w(),s.settings.controls&&P(),s.settings.auto&&s.settings.autoControls&&T(),(s.settings.controls||s.settings.autoControls||s.settings.pager)&&s.viewport.after(s.controls.el)),d(e,u)},d=function(e,n){var o=e.find("img, iframe").length;if(0==o){n();return}var s=0;e.find("img, iframe").each(function(){t(this).one("load",function(){++s==o&&n()}).each(function(){this.complete&&t(this).load()})})},u=function(){if(s.settings.infiniteLoop&&"fade"!=s.settings.mode&&!s.settings.ticker){var e="vertical"==s.settings.mode?s.settings.minSlides:s.settings.maxSlides,n=s.children.slice(0,e).clone().addClass("bx-clone"),o=s.children.slice(-e).clone().addClass("bx-clone");a.append(n).prepend(o)}s.loader.remove(),y(),"vertical"==s.settings.mode&&(s.settings.adaptiveHeight=!0),s.viewport.height(p()),a.redrawSlider(),s.settings.onSliderLoad(s.active.index),s.initialized=!0,s.settings.responsive&&t(window).bind("resize",F),s.settings.auto&&s.settings.autoStart&&(_()>1||s.settings.autoSlideForOnePage)&&Z(),s.settings.ticker&&N(),s.settings.pager&&I(s.settings.startSlide),s.settings.controls&&B(),s.settings.touchEnabled&&!s.settings.ticker&&D()},p=function(){var e=0,n=t();if("vertical"==s.settings.mode||s.settings.adaptiveHeight){if(s.carousel){var o=1==s.settings.moveSlides?s.active.index:s.active.index*v();for(i=1,n=s.children.eq(o);i<=s.settings.maxSlides-1;i++)n=o+i>=s.children.length?n.add(s.children.eq(i-1)):n.add(s.children.eq(o+i))}else n=s.children.eq(s.active.index)}else n=s.children;return"vertical"==s.settings.mode?(n.each(function(n){e+=t(this).outerHeight()}),s.settings.slideMargin>0&&(e+=s.settings.slideMargin*(s.settings.minSlides-1))):e=Math.max.apply(Math,n.map(function(){return t(this).outerHeight(!1)}).get()),"border-box"==s.viewport.css("box-sizing")?e+=parseFloat(s.viewport.css("padding-top"))+parseFloat(s.viewport.css("padding-bottom"))+parseFloat(s.viewport.css("border-top-width"))+parseFloat(s.viewport.css("border-bottom-width")):"padding-box"==s.viewport.css("box-sizing")&&(e+=parseFloat(s.viewport.css("padding-top"))+parseFloat(s.viewport.css("padding-bottom"))),e},f=function(){var t="100%";return s.settings.slideWidth>0&&(t="horizontal"==s.settings.mode?s.settings.maxSlides*s.settings.slideWidth+(s.settings.maxSlides-1)*s.settings.slideMargin:s.settings.slideWidth),t},m=function(){var t=s.settings.slideWidth,e=s.viewport.width();return 0==s.settings.slideWidth||s.settings.slideWidth>e&&!s.carousel||"vertical"==s.settings.mode?t=e:s.settings.maxSlides>1&&"horizontal"==s.settings.mode&&(e>s.maxThreshold||e<s.minThreshold&&(t=(e-s.settings.slideMargin*(s.settings.minSlides-1))/s.settings.minSlides)),t},g=function(){var t=1;if("horizontal"==s.settings.mode&&s.settings.slideWidth>0){if(s.viewport.width()<s.minThreshold)t=s.settings.minSlides;else if(s.viewport.width()>s.maxThreshold)t=s.settings.maxSlides;else{var e=s.children.first().width()+s.settings.slideMargin;t=Math.floor((s.viewport.width()+s.settings.slideMargin)/e)}}else"vertical"==s.settings.mode&&(t=s.settings.minSlides);return t},_=function(){var t=0;if(s.settings.moveSlides>0){if(s.settings.infiniteLoop)t=Math.ceil(s.children.length/v());else for(var e=0,n=0;e<s.children.length;)++t,e=n+g(),n+=s.settings.moveSlides<=g()?s.settings.moveSlides:g()}else t=Math.ceil(s.children.length/g());return t},v=function(){return s.settings.moveSlides>0&&s.settings.moveSlides<=g()?s.settings.moveSlides:g()},y=function(){if(s.children.length>s.settings.maxSlides&&s.active.last&&!s.settings.infiniteLoop){if("horizontal"==s.settings.mode){var t=s.children.last(
1),e=t.position();b(-(e.left-(s.viewport.width()-t.outerWidth())),"reset",0)}else if("vertical"==s.settings.mode){var n=s.children.length-s.settings.minSlides,e=s.children.eq(n).position();b(-e.top,"reset",0)}}else{var e=s.children.eq(s.active.index*v()).position();s.active.index==_()-1&&(s.active.last=!0),void 0!=e&&("horizontal"==s.settings.mode?b(-e.left,"reset",0):"vertical"==s.settings.mode&&b(-e.top,"reset",0))}},b=function(t,e,n,o){if(s.usingCSS){var r="vertical"==s.settings.mode?"translate3d(0, "+t+"px, 0)":"translate3d("+t+"px, 0, 0)";a.css("-"+s.cssPrefix+"-transition-duration",n/1e3+"s"),"slide"==e?(a.css(s.animProp,r),a.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){a.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),A()})):"reset"==e?a.css(s.animProp,r):"ticker"==e&&(a.css("-"+s.cssPrefix+"-transition-timing-function","linear"),a.css(s.animProp,r),a.bind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(){a.unbind("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),b(o.resetValue,"reset",0),j()}))}else{var l={};l[s.animProp]=t,"slide"==e?a.animate(l,n,s.settings.easing,function(){A()}):"reset"==e?a.css(s.animProp,t):"ticker"==e&&a.animate(l,speed,"linear",function(){b(o.resetValue,"reset",0),j()})}},x=function(){for(var e="",n=_(),o=0;o<n;o++){var a="";s.settings.buildPager&&t.isFunction(s.settings.buildPager)?(a=s.settings.buildPager(o),s.pagerEl.addClass("bx-custom-pager")):(a=o+1,s.pagerEl.addClass("bx-default-pager")),e+='<div class="bx-pager-item"><a href="" data-slide-index="'+o+'" class="bx-pager-link">'+a+"</a></div>"}s.pagerEl.html(e)},w=function(){s.settings.pagerCustom?s.pagerEl=t(s.settings.pagerCustom):(s.pagerEl=t('<div class="bx-pager" />'),s.settings.pagerSelector?t(s.settings.pagerSelector).html(s.pagerEl):s.controls.el.addClass("bx-has-pager").append(s.pagerEl),x()),s.pagerEl.on("click","a",E)},P=function(){s.controls.next=t('<a class="bx-next" href="">'+s.settings.nextText+"</a>"),s.controls.prev=t('<a class="bx-prev" href="">'+s.settings.prevText+"</a>"),s.controls.next.bind("click",S),s.controls.prev.bind("click",k),s.settings.nextSelector&&t(s.settings.nextSelector).append(s.controls.next),s.settings.prevSelector&&t(s.settings.prevSelector).append(s.controls.prev),s.settings.nextSelector||s.settings.prevSelector||(s.controls.directionEl=t('<div class="bx-controls-direction" />'),s.controls.directionEl.append(s.controls.prev).append(s.controls.next),s.controls.el.addClass("bx-has-controls-direction").append(s.controls.directionEl))},T=function(){s.controls.start=t('<div class="bx-controls-auto-item"><a class="bx-start" href="">'+s.settings.startText+"</a></div>"),s.controls.stop=t('<div class="bx-controls-auto-item"><a class="bx-stop" href="">'+s.settings.stopText+"</a></div>"),s.controls.autoEl=t('<div class="bx-controls-auto" />'),s.controls.autoEl.on("click",".bx-start",M),s.controls.autoEl.on("click",".bx-stop",z),s.settings.autoControlsCombine?s.controls.autoEl.append(s.controls.start):s.controls.autoEl.append(s.controls.start).append(s.controls.stop),s.settings.autoControlsSelector?t(s.settings.autoControlsSelector).html(s.controls.autoEl):s.controls.el.addClass("bx-has-controls-auto").append(s.controls.autoEl),O(s.settings.autoStart?"stop":"start")},C=function(){s.children.each(function(e){var n=t(this).find("img:first").attr("title");void 0!=n&&(""+n).length&&t(this).append('<div class="bx-caption"><span>'+n+"</span></div>")})},S=function(t){s.settings.auto&&a.stopAuto(),a.goToNextSlide(),t.preventDefault()},k=function(t){s.settings.auto&&a.stopAuto(),a.goToPrevSlide(),t.preventDefault()},M=function(t){a.startAuto(),t.preventDefault()},z=function(t){a.stopAuto(),t.preventDefault()},E=function(e){s.settings.auto&&a.stopAuto();var n=t(e.currentTarget);if(void 0!==n.attr("data-slide-index")){var o=parseInt(n.attr("data-slide-index"));o!=s.active.index&&a.goToSlide(o),e.preventDefault()}},I=function(e){var n=s.children.length;if("short"==s.settings.pagerType){s.settings.maxSlides>1&&(n=Math.ceil(s.children.length/s.settings.maxSlides)),s.pagerEl.html(e+1+s.settings.pagerShortSeparator+n);return}s.pagerEl.find("a").removeClass("active"),s.pagerEl.each(function(n,o){t(o).find("a").eq(e).addClass("active")})},A=function(){if(s.settings.infiniteLoop){var t="";0==s.active.index?t=s.children.eq(0).position():s.active.index==_()-1&&s.carousel?t=s.children.eq((_()-1)*v()).position():s.active.index==s.children.length-1&&(t=s.children.eq(s.children.length-1).position()),t&&("horizontal"==s.settings.mode?b(-t.left,"reset",0):"vertical"==s.settings.mode&&b(-t.top,"reset",0))}s.working=!1,s.settings.onSlideAfter(s.children.eq(s.active.index),s.oldIndex,s.active.index)}
1,O=function(t){s.settings.autoControlsCombine?s.controls.autoEl.html(s.controls[t]):(s.controls.autoEl.find("a").removeClass("active"),s.controls.autoEl.find("a:not(.bx-"+t+")").addClass("active"))},B=function(){1==_()?(s.controls.prev.addClass("disabled"),s.controls.next.addClass("disabled")):!s.settings.infiniteLoop&&s.settings.hideControlOnEnd&&(0==s.active.index?(s.controls.prev.addClass("disabled"),s.controls.next.removeClass("disabled")):s.active.index==_()-1?(s.controls.next.addClass("disabled"),s.controls.prev.removeClass("disabled")):(s.controls.prev.removeClass("disabled"),s.controls.next.removeClass("disabled")))},Z=function(){s.settings.autoDelay>0?setTimeout(a.startAuto,s.settings.autoDelay):a.startAuto(),s.settings.autoHover&&a.hover(function(){s.interval&&(a.stopAuto(!0),s.autoPaused=!0)},function(){s.autoPaused&&(a.startAuto(!0),s.autoPaused=null)})},N=function(){var e=0;if("next"==s.settings.autoDirection)a.append(s.children.clone().addClass("bx-clone"));else{a.prepend(s.children.clone().addClass("bx-clone"));var n=s.children.first().position();e="horizontal"==s.settings.mode?-n.left:-n.top}b(e,"reset",0),s.settings.pager=!1,s.settings.controls=!1,s.settings.autoControls=!1,s.settings.tickerHover&&!s.usingCSS&&s.viewport.hover(function(){a.stop()},function(){var e=0;s.children.each(function(n){e+="horizontal"==s.settings.mode?t(this).outerWidth(!0):t(this).outerHeight(!0)});var n=s.settings.speed/e,o="horizontal"==s.settings.mode?"left":"top",r=n*(e-Math.abs(parseInt(a.css(o))));j(r)}),j()},j=function(t){speed=t||s.settings.speed;var e={left:0,top:0},n={left:0,top:0};"next"==s.settings.autoDirection?e=a.find(".bx-clone").first().position():n=s.children.first().position();var o="horizontal"==s.settings.mode?-e.left:-e.top,r="horizontal"==s.settings.mode?-n.left:-n.top;b(o,"ticker",speed,{resetValue:r})},D=function(){s.touch={start:{x:0,y:0},end:{x:0,y:0}},s.viewport.bind("touchstart",R)},R=function(t){if(s.working)t.preventDefault();else{s.touch.originalPos=a.position();var e=t.originalEvent;s.touch.start.x=e.changedTouches[0].pageX,s.touch.start.y=e.changedTouches[0].pageY,s.viewport.bind("touchmove",H),s.viewport.bind("touchend",W)}},H=function(t){var e=t.originalEvent,n=Math.abs(e.changedTouches[0].pageX-s.touch.start.x),o=Math.abs(e.changedTouches[0].pageY-s.touch.start.y);if(3*n>o&&s.settings.preventDefaultSwipeX?t.preventDefault():3*o>n&&s.settings.preventDefaultSwipeY&&t.preventDefault(),"fade"!=s.settings.mode&&s.settings.oneToOneTouch){var a=0;if("horizontal"==s.settings.mode){var r=e.changedTouches[0].pageX-s.touch.start.x;a=s.touch.originalPos.left+r}else{var r=e.changedTouches[0].pageY-s.touch.start.y;a=s.touch.originalPos.top+r}b(a,"reset",0)}},W=function(t){s.viewport.unbind("touchmove",H);var e=t.originalEvent,n=0;if(s.touch.end.x=e.changedTouches[0].pageX,s.touch.end.y=e.changedTouches[0].pageY,"fade"==s.settings.mode){var o=Math.abs(s.touch.start.x-s.touch.end.x);o>=s.settings.swipeThreshold&&(s.touch.start.x>s.touch.end.x?a.goToNextSlide():a.goToPrevSlide(),a.stopAuto())}else{var o=0;"horizontal"==s.settings.mode?(o=s.touch.end.x-s.touch.start.x,n=s.touch.originalPos.left):(o=s.touch.end.y-s.touch.start.y,n=s.touch.originalPos.top),!s.settings.infiniteLoop&&(0==s.active.index&&o>0||s.active.last&&o<0)?b(n,"reset",200):Math.abs(o)>=s.settings.swipeThreshold?(o<0?a.goToNextSlide():a.goToPrevSlide(),a.stopAuto()):b(n,"reset",200)}s.viewport.unbind("touchend",W)},F=function(e){if(s.initialized){var n=t(window).width(),o=t(window).height();(r!=n||l!=o)&&(r=n,l=o,a.redrawSlider(),s.settings.onSliderResize.call(a,s.active.index))}};return a.goToSlide=function(e,n){if(!s.working&&s.active.index!=e){if(s.working=!0,s.oldIndex=s.active.index,e<0?s.active.index=_()-1:e>=_()?s.active.index=0:s.active.index=e,s.settings.onSlideBefore(s.children.eq(s.active.index),s.oldIndex,s.active.index),"next"==n?s.settings.onSlideNext(s.children.eq(s.active.index),s.oldIndex,s.active.index):"prev"==n&&s.settings.onSlidePrev(s.children.eq(s.active.index),s.oldIndex,s.active.index),s.active.last=s.active.index>=_()-1,s.settings.pager&&I(s.active.index),s.settings.controls&&B(),"fade"==s.settings.mode)s.settings.adaptiveHeight&&s.viewport.height()!=
1p()&&s.viewport.animate({height:p()},s.settings.adaptiveHeightSpeed),s.children.filter(":visible").fadeOut(s.settings.speed).css({zIndex:0}),s.children.eq(s.active.index).css("zIndex",s.settings.slideZIndex+1).fadeIn(s.settings.speed,function(){t(this).css("zIndex",s.settings.slideZIndex),A()});else{s.settings.adaptiveHeight&&s.viewport.height()!=p()&&s.viewport.animate({height:p()},s.settings.adaptiveHeightSpeed);var o=0,r={left:0,top:0};if(!s.settings.infiniteLoop&&s.carousel&&s.active.last){if("horizontal"==s.settings.mode){var l=s.children.eq(s.children.length-1);r=l.position(),o=s.viewport.width()-l.outerWidth()}else{var h=s.children.length-s.settings.minSlides;r=s.children.eq(h).position()}}else if(s.carousel&&s.active.last&&"prev"==n){var c=1==s.settings.moveSlides?s.settings.maxSlides-v():(_()-1)*v()-(s.children.length-s.settings.maxSlides),l=a.children(".bx-clone").eq(c);r=l.position()}else if("next"==n&&0==s.active.index)r=a.find("> .bx-clone").eq(s.settings.maxSlides).position(),s.active.last=!1;else if(e>=0){var d=e*v();r=s.children.eq(d).position()}void 0!==r&&b("horizontal"==s.settings.mode?-(r.left-o):-r.top,"slide",s.settings.speed)}}},a.goToNextSlide=function(){if(s.settings.infiniteLoop||!s.active.last){var t=parseInt(s.active.index)+1;a.goToSlide(t,"next")}},a.goToPrevSlide=function(){if(s.settings.infiniteLoop||0!=s.active.index){var t=parseInt(s.active.index)-1;a.goToSlide(t,"prev")}},a.startAuto=function(t){!s.interval&&(s.interval=setInterval(function(){"next"==s.settings.autoDirection?a.goToNextSlide():a.goToPrevSlide()},s.settings.pause),s.settings.autoControls&&!0!=t&&O("stop"))},a.stopAuto=function(t){s.interval&&(clearInterval(s.interval),s.interval=null,s.settings.autoControls&&!0!=t&&O("start"))},a.getCurrentSlide=function(){return s.active.index},a.getCurrentSlideElement=function(){return s.children.eq(s.active.index)},a.getSlideCount=function(){return s.children.length},a.redrawSlider=function(){s.children.add(a.find(".bx-clone")).width(m()),s.viewport.css("height",p()),s.settings.ticker||y(),s.active.last&&(s.active.index=_()-1),s.active.index>=_()&&(s.active.last=!0),s.settings.pager&&!s.settings.pagerCustom&&(x(),I(s.active.index))},a.destroySlider=function(){s.initialized&&(s.initialized=!1,t(".bx-clone",this).remove(),s.children.each(function(){void 0!=t(this).data("origStyle")?t(this).attr("style",t(this).data("origStyle")):t(this).removeAttr("style")}),void 0!=t(this).data("origStyle")?this.attr("style",t(this).data("origStyle")):t(this).removeAttr("style"),t(this).unwrap().unwrap(),s.controls.el&&s.controls.el.remove(),s.controls.next&&s.controls.next.remove(),s.controls.prev&&s.controls.prev.remove(),s.pagerEl&&s.settings.controls&&s.pagerEl.remove(),t(".bx-caption",this).remove(),s.controls.autoEl&&s.controls.autoEl.remove(),clearInterval(s.interval),s.settings.responsive&&t(window).unbind("resize",F))},a.reloadSlider=function(t){void 0!=t&&(o=t),a.destroySlider(),h()},h(),this}}(jQuery),/*! 2* FitVids 1.0 3* 4* Copyright 2011, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com 5* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/ 6* Released under the WTFPL license - http://sam.zoy.org/wtfpl/ 7* 8* Date: Thu Sept 01 18:00:00 2011 -0500 9*/function(t){"use strict";t.fn.fitVids=function(e){var n={customSelector:null},o=document.createElement("div"),s=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];return o.className="fit-vids-style",o.innerHTML="­<style> .fluid-width-video-wrapper { width: 100%; position: relative; padding: 0; } .fluid-width-video-wrapper iframe, .fluid-width-video-wrapper object, .fluid-width-video-wrapper embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } </style>",s.parentNode.insertBefore(o,s),e&&t.extend(n,e),this.each(function(){var e=["iframe[src*='player.vimeo.com']","iframe[src*='www.youtube.com']","iframe[src*='www.kickstarter.com']","object","embed"];n.customSelector&&e.push(n.customSelector),t(this).find(e.join(",")).each(function(){var e=t(this);if(("embed"!==this.tagName.toLowerCase()||!e.parent("object").length)&&!e.parent(".fluid-width-video-wrapper").length){var n="object"===this.tagName.toLowerCase()||e.attr("height")&&!isNaN(parseInt(e.attr("height"),10))?parseInt(e.attr("height"),10):e.height(),o=isNaN(parseInt(e.attr("width"),10))?e.width():parseInt(e.attr("width"),10);e.attr("id")||e.attr("id","fitvid"+Math.floor(999999*Math.random())),e.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*(n/o)+"%"),e.removeAttr("height").removeAttr("width")}})})}}(jQuery),function(t){t.fn.sameHeight=function(s){var a=t.extend({skipClass:"same-height-ignore",leftEdgeClass:"same-height-left",rightEdgeClass:"same-height-right",elements:">*",flexible:!1,multiLine:!1,useMinHeight:!1,biggestHeight:!1},s);return this.each(function(){var s,r,l=t(this),h=l.find(a.elements).not("."+a.skipClass);if(h.length){d();var c=function(){r||(r=!0,d(),clearTimeout(s),s=setTimeout(function(){d(),setTimeout(function(){r=!1},10)},100))};a.flexible&&t(window).bind("resize orientationchange fontresize",c),t(window).bind("load",c)}function d(){var s,r,c,d;h.css(a.useMinHeight&&e?"minHeight":"height",""),a.multiLine?(r=t(),c=0,d=h.eq(0).offset().top,h.each(function(e){var l=t
9(this);l.offset().top===d?r=r.add(this):(s=n(r),c=Math.max(c,o(r,s,a)),r=l,d=l.offset().top)}),r.length&&(s=n(r),c=Math.max(c,o(r,s,a))),a.biggestHeight&&h.css(a.useMinHeight&&e?"minHeight":"height",c)):o(h,l,a)}})};var e=void 0!==document.documentElement.style.maxHeight;function n(e){var n=0;return e.each(function(){n=Math.max(n,t(this).outerHeight())}),n}function o(n,o,s){var a,r="number"==typeof o?o:o.height();return n.removeClass(s.leftEdgeClass).removeClass(s.rightEdgeClass).each(function(n){var l=t(this),h=0,c="border-box"===l.css("boxSizing")||"border-box"===l.css("-moz-box-sizing")||"border-box"===l.css("-webkit-box-sizing");"number"!=typeof o&&l.parents().each(function(){var e=t(this);if(o.is(this))return!1;h+=e.outerHeight()-e.height()}),(a=r-h-(c?0:l.outerHeight()-l.height()))>0&&l.css(s.useMinHeight&&e?"minHeight":"height",a)}),n.filter(":first").addClass(s.leftEdgeClass),n.filter(":last").addClass(s.rightEdgeClass),a}}(jQuery),jQuery.onFontResize=function(t){var e={trigger:function(e){t(window).trigger("fontresize",[e])}};return t(function(){var n="font-resize-frame-"+Math.floor(1e3*Math.random()),o=t("<iframe>").attr("id",n).addClass("font-resize-helper");if(o.css({width:"100em",height:"10px",position:"absolute",borderWidth:0,top:"-9999px",left:"-9999px"}).appendTo("body"),window.attachEvent&&!window.addEventListener)o.bind("resize",function(){t.onFontResize.trigger(o[0].offsetWidth/100)});else{var s=o[0].contentWindow.document;s.open(),s.write('<script>window.onload = function(){var em = parent.jQuery("#'+n+'")[0];window.onresize = function(){if(parent.jQuery.onFontResize){parent.jQuery.onFontResize.trigger(em.offsetWidth / 100);}}};</script>'),s.close()}e.initialSize=o[0].offsetWidth/100}),e}(jQuery),function(t){function e(e){this.options=t.extend({takeSizeFrom:".element",takeSize:"height",spacingProp:"padding-top",flexible:!0},e),this.init()}e.prototype={init:function(){for(var t,e=["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<e.length;n++)e[n]===this.options.spacingProp&&(t=!0);if(this.options.holder&&void 0!==t&&(this.findElements(),this.setElemSpacing(),this.options.flexible))return this.attachEvents()},findElements:function(){this.elements={holder:t(this.options.holder),takeSizeFrom:t(this.options.takeSizeFrom)}},attachEvents:function(){this.bindHandlers(["onWindowResize"]),t(window).bind("resize orientationchange",this.onWindowResize)},onWindowResize:function(){this.destroyed||this.setElemSpacing()},bindHandlers:function(e){var n=this;t.each(e,function(t,e){var o=n[e];n[e]=function(){return o.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 e=this;e.options.flexible&&(e.destroyed=!0,t(window).unbind("resize orientationchange",e.onWindowResize)),e.elements.holder.css(this.options.spacingProp,""),e.elements.holder.removeData("setSpacing")}},t.fn.setSpacing=function(n){return this.each(function(){t(this).data("setSpacing",new e(t.extend(n,{holder:this})))})}}(jQuery),function(t,e,n,o){"use strict";var s=n("html"),a=n(t),r=n(e),l=n.fancybox=function(){l.open.apply(this,arguments)},h=navigator.userAgent.match(/msie/i),c=null,d=o!==e.createTouch,u=function(t){return t&&t.hasOwnProperty&&t instanceof n},p=function(t){return t&&"string"===n.type(t)},f=function(t){return p(t)&&t.indexOf("%")>0},m=function(t,e){var n=parseInt(t,10)||0;return e&&f(t)&&(n=l.getViewport()[e]/100*n),Math.ceil(n)},g=function(t,e){return m(t,e)+"px"};n.extend(l,{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'+(h?' 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,
9skin:null,outer:null,inner:null,player:{timer:null,isActive:!1},ajaxLoad:null,imgPreload:null,transitions:{},helpers:{},open:function(t,e){if(t&&(n.isPlainObject(e)||(e={}),!1!==l.close(!0)))return n.isArray(t)||(t=u(t)?n(t).get():[t]),n.each(t,function(s,a){var r,h,c,d,f,m,g,_={};"object"===n.type(a)&&(a.nodeType&&(a=n(a)),u(a)?(_={href:a.data("fancybox-href")||a.attr("href"),title:a.data("fancybox-title")||a.attr("title"),isDom:!0,element:a},n.metadata&&n.extend(!0,_,a.metadata())):_=a),r=e.href||_.href||(p(a)?a:null),h=o!==e.title?e.title:_.title||"",(d=(c=e.content||_.content)?"html":e.type||_.type)||!_.isDom||(d=a.data("fancybox-type"))||(d=(f=a.prop("class").match(/fancybox\.(\w+)/))?f[1]:null),p(r)&&(!d&&(l.isImage(r)?d="image":l.isSWF(r)?d="swf":"#"===r.charAt(0)?d="inline":p(a)&&(d="html",c=a)),"ajax"===d&&(r=(m=r.split(/\s+/,2)).shift(),g=m.shift())),c||("inline"===d?r?c=n(p(r)?r.replace(/.*(?=#[^\s]+$)/,""):r):_.isDom&&(c=a):"html"===d?c=r:d||r||!_.isDom||(d="inline",c=a)),n.extend(_,{href:r,type:d,content:c,title:h,selector:g}),t[s]=_}),l.opts=n.extend(!0,{},l.defaults,e),o!==e.keys&&(l.opts.keys=!!e.keys&&n.extend({},l.defaults.keys,e.keys)),l.group=t,l._start(l.opts.index)},cancel:function(){var t=l.coming;t&&!1!==l.trigger("onCancel")&&(l.hideLoading(),l.ajaxLoad&&l.ajaxLoad.abort(),l.ajaxLoad=null,l.imgPreload&&(l.imgPreload.onload=l.imgPreload.onerror=null),t.wrap&&t.wrap.stop(!0,!0).trigger("onReset").remove(),l.coming=null,l.current||l._afterZoomOut(t))},close:function(t){l.cancel(),!1!==l.trigger("beforeClose")&&(l.unbindEvents(),l.isActive&&(l.isOpen&&!0!==t?(l.isOpen=l.isOpened=!1,l.isClosing=!0,n(".fancybox-item, .fancybox-nav").remove(),l.wrap.stop(!0,!0).removeClass("fancybox-opened"),l.transitions[l.current.closeMethod]()):(n(".fancybox-wrap").stop(!0).trigger("onReset").remove(),l._afterZoomOut())))},play:function(t){var e=function(){clearTimeout(l.player.timer)},n=function(){e(),l.current&&l.player.isActive&&(l.player.timer=setTimeout(l.next,l.current.playSpeed))},o=function(){e(),r.unbind(".player"),l.player.isActive=!1,l.trigger("onPlayEnd")};!0!==t&&(l.player.isActive||!1===t)?o():l.current&&(l.current.loop||l.current.index<l.group.length-1)&&(l.player.isActive=!0,r.bind({"onCancel.player beforeClose.player":o,"onUpdate.player":n,"beforeLoad.player":e}),n(),l.trigger("onPlayStart"))},next:function(t){var e=l.current;e&&(p(t)||(t=e.direction.next),l.jumpto(e.index+1,t,"next"))},prev:function(t){var e=l.current;e&&(p(t)||(t=e.direction.prev),l.jumpto(e.index-1,t,"prev"))},jumpto:function(t,e,n){var s=l.current;s&&(t=m(t),l.direction=e||s.direction[t>=s.index?"next":"prev"],l.router=n||"jumpto",s.loop&&(t<0&&(t=s.group.length+t%s.group.length),t%=s.group.length),o!==s.group[t]&&(l.cancel(),l._start(t)))},reposition:function(t,e){var o,s=l.current,a=s?s.wrap:null;a&&(o=l._getPosition(e),t&&"scroll"===t.type?(delete o.position,a.stop(!0,!0).animate(o,200)):(a.css(o),s.pos=n.extend({},s.dim,o)))},update:function(t){var e=t&&t.type,n=!e||"orientationchange"===e;n&&(clearTimeout(c),c=null),l.isOpen&&!c&&(c=setTimeout(function(){var o=l.current;o&&!l.isClosing&&(l.wrap.removeClass("fancybox-tmp"),(n||"load"===e||"resize"===e&&o.autoResize)&&l._setDimension(),"scroll"===e&&o.canShrink||l.reposition(t),l.trigger("onUpdate"),c=null)},n&&!d?0:300))},toggle:function(t){l.isOpen&&(l.current.fitToView="boolean"===n.type(t)?t:!l.current.fitToView,d&&(l.wrap.removeAttr("style").addClass("fancybox-tmp"),l.trigger("onUpdate")),l.update())},hideLoading:function(){r.unbind(".loading"),n("#fancybox-loading").remove()},showLoading:function(){var t,e;l.hideLoading(),t=n('<div id="fancybox-loading"><div></div></div>').click(l.cancel).appendTo("body"),r.bind("keydown.loading",function(t){27===(t.which||t.keyCode)&&(t.preventDefault(),l.cancel())}),l.defaults.fixed||(e=l.getViewport(),t.css({position:"absolute",top:.5*e.h+e.y,left:.5*e.w+e.x}))},getViewport:function(){var e=l.current&&l.current.locked||!1,n={x:a.scrollLeft(),y:a.scrollTop()};return e?(n.w=e[0].clientWidth,n.h=e[0].clientHeight):(n.w=d&&t.innerWidth?t.innerWidth:a.width(),n.h=d&&t.innerHe
9ight?t.innerHeight:a.height()),n},unbindEvents:function(){l.wrap&&u(l.wrap)&&l.wrap.unbind(".fb"),r.unbind(".fb"),a.unbind(".fb")},bindEvents:function(){var t,e=l.current;e&&(a.bind("orientationchange.fb"+(d?"":" resize.fb")+(e.autoCenter&&!e.locked?" scroll.fb":""),l.update),(t=e.keys)&&r.bind("keydown.fb",function(s){var a=s.which||s.keyCode,r=s.target||s.srcElement;if(27===a&&l.coming)return!1;s.ctrlKey||s.altKey||s.shiftKey||s.metaKey||r&&(r.type||n(r).is("[contenteditable]"))||n.each(t,function(t,r){return e.group.length>1&&o!==r[a]?(l[t](r[a]),s.preventDefault(),!1):n.inArray(a,r)>-1?(l[t](),s.preventDefault(),!1):void 0})}),n.fn.mousewheel&&e.mouseWheel&&l.wrap.bind("mousewheel.fb",function(t,o,s,a){for(var r,h=n(t.target||null),c=!1;h.length&&!(c||h.is(".fancybox-skin")||h.is(".fancybox-wrap"));)c=(r=h[0])&&!(r.style.overflow&&"hidden"===r.style.overflow)&&(r.clientWidth&&r.scrollWidth>r.clientWidth||r.clientHeight&&r.scrollHeight>r.clientHeight),h=n(h).parent();0===o||c||!(l.group.length>1)||e.canShrink||(a>0||s>0?l.prev(a>0?"down":"left"):(a<0||s<0)&&l.next(a<0?"up":"right"),t.preventDefault())}))},trigger:function(t,e){var o,s=e||l.coming||l.current;if(s){if(n.isFunction(s[t])&&(o=s[t].apply(s,Array.prototype.slice.call(arguments,1))),!1===o)return!1;s.helpers&&n.each(s.helpers,function(e,o){o&&l.helpers[e]&&n.isFunction(l.helpers[e][t])&&l.helpers[e][t](n.extend(!0,{},l.helpers[e].defaults,o),s)}),r.trigger(t)}},isImage:function(t){return p(t)&&t.match(/(^data:image\/.*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg)((\?|#).*)?$)/i)},isSWF:function(t){return p(t)&&t.match(/\.(swf)((\?|#).*)?$/i)},_start:function(t){var e,o,s,a,r,h={};if(t=m(t),!(e=l.group[t]||null))return!1;if(a=(h=n.extend(!0,{},l.opts,e)).margin,r=h.padding,"number"===n.type(a)&&(h.margin=[a,a,a,a]),"number"===n.type(r)&&(h.padding=[r,r,r,r]),h.modal&&n.extend(!0,h,{closeBtn:!1,closeClick:!1,nextClick:!1,arrows:!1,mouseWheel:!1,keys:null,helpers:{overlay:{closeClick:!1}}}),h.autoSize&&(h.autoWidth=h.autoHeight=!0),"auto"===h.width&&(h.autoWidth=!0),"auto"===h.height&&(h.autoHeight=!0),h.group=l.group,h.index=t,l.coming=h,!1===l.trigger("beforeLoad")){l.coming=null;return}if(s=h.type,o=h.href,!s)return l.coming=null,!!l.current&&!!l.router&&"jumpto"!==l.router&&(l.current.index=t,l[l.router](l.direction));if(l.isActive=!0,("image"===s||"swf"===s)&&(h.autoHeight=h.autoWidth=!1,h.scrolling="visible"),"image"===s&&(h.aspectRatio=!0),"iframe"===s&&d&&(h.scrolling="scroll"),h.wrap=n(h.tpl.wrap).addClass("fancybox-"+(d?"mobile":"desktop")+" fancybox-type-"+s+" fancybox-tmp "+h.wrapCSS).appendTo(h.parent||"body"),n.extend(h,{skin:n(".fancybox-skin",h.wrap),outer:n(".fancybox-outer",h.wrap),inner:n(".fancybox-inner",h.wrap)}),n.each(["Top","Right","Bottom","Left"],function(t,e){h.skin.css("padding"+e,g(h.padding[t]))}),l.trigger("onReady"),"inline"===s||"html"===s){if(!h.content||!h.content.length)return l._error("content")}else if(!o)return l._error("href");"image"===s?l._loadImage():"ajax"===s?l._loadAjax():"iframe"===s?l._loadIframe():l._afterLoad()},_error:function(t){n.extend(l.coming,{type:"html",autoWidth:!0,autoHeight:!0,minWidth:0,minHeight:0,scrolling:"no",hasError:t,content:l.coming.tpl.error}),l._afterLoad()},_loadImage:function(){var t=l.imgPreload=new Image;t.onload=function(){this.onload=this.onerror=null,l.coming.width=this.width/l.opts.pixelRatio,l.coming.height=this.height/l.opts.pixelRatio,l._afterLoad()},t.onerror=function(){this.onload=this.onerror=null,l._error("image")},t.src=l.coming.href,!0!==t.complete&&l.showLoading()},_loadAjax:function(){var t=l.coming;l.showLoading(),l.ajaxLoad=n.ajax(n.extend({},t.ajax,{url:t.href,error:function(t,e){l.coming&&"abort"!==e?l._error("ajax",t):l.hideLoading()},success:function(e,n){"success"===n&&(t.content=e,l._afterLoad())}}))},_loadIframe:function(){var t=l.coming,e=n(t.tpl.iframe.replace(/\{rnd\}/g,new Date().getTime())).attr("scrolling",d?"auto":t.iframe.scrolling).attr("src",t.href);n(t.wrap).bind("onReset",function(){try{n(this).find("iframe").hide().attr("src","//about:blank").end().empty()}catch(t){}}),t.iframe.preload&&(l.showLoading(),e.one("load",function(){n(this).data("ready",1),d||n(this).bind("load.fb",l.update),n(this).parents(".fancybox-wrap").width("100%").removeClass("fancybox-tmp").show(),l._afterLoad()})),t.content=e.appendTo(t.inner),t.iframe.preload||l._afterLoad()},_preloadImages:function(){var t,e,n=l.group,o=l.current,s=n.length,a=o.preload?Math.min(o.preload,s-1):0;for(e=1;e<=a;e+=1)"image"===(t=n[(o.index+e)%s]).type&&t.href&&(new Image().src=t.href)},_afterLoad:function(){var t,e,o,s,a,r=l.coming,h=l.current,c="fancybox-placeholder";if(l.hideLoading(),r&&!1!==l.isActive){if(!1===l.trigger("afterLoad",r,h)){r.wrap.stop(!0).trigger("onReset").remove(),l.coming=null;return}switch(h&&(l.trigger("beforeChange",h),h.wrap.stop(!0).removeClass("fancybox-opened").find(".fancybox-item, .fancybox-nav").remove()),l.unbindEvents(),t=r.content,e=r.type,o=r.scrolling,n.extend(l,{wrap:r.wrap,skin:r.skin,outer:r.outer,inner:r.inner,current:r,previous:h}),s=r.href,e){case"inline":case"ajax":case"html":r.selector?t=n("<div>").html(t).find(r.selector):u(t)&&(t.data(c)||t.data(c,n('<div class="'+c+'"></div>').insertAfter(t).hide()),t=t.show().detach(),r.wrap.bind("onReset",function(){n(this).find(t).length&&t.hide().replaceAll(t.data(c)).data(c,!1)}));break;case"image":t=r.tpl.image.replace("{href}",s);break;case"swf":t='<object id="fancybox-swf" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%"><param name="movie" value="'+s+'"></param>',a="",n.each(r.swf,function(e,n){t+='<param name="'+e+'" value="'+n+'"></param>',a+=" "+e+'="'+n+'"'}),t+='<embed src="'+s+'" type="application/x-shockwave-flash" width="100%" height="100%"'+a+"></embed></object>"}u(t)&&t.parent().is(r.inner)||r.inner.append(t),l.trigger("beforeShow"),r.inner.css("overflow","yes"===o?"scroll":"no"===o?"hidden":o),l._setDimension(),l.reposition(),l.isOpen=!1,l.coming=null,l.bindEvents(),l.isOpened?h.prevMethod&&l.transitions[h.prevMethod]():n(".fancybox-wrap").not(r.wrap).stop(!0).trigger("onReset").remove(),l.transitions[l.isOpened?r.nextMethod:r.openMethod](),l._preloadImages()}},_setDimension:function(){var t,e,o,s,a,r,h,c,d,u,p,_,v,y,b,x=l.getViewport(),w=0,P=!1,T=!1,C=l.wrap,S=l.skin,k=l.inner,M=l.current,z=M.width,E=M.height,I=M.minWidth,A=M.minHeight,O=M.maxWidth,B=M.maxHeight,Z=M.scrolling,N=M.scrollOutside?M.scrollbarWidth:0,j=M.margin,D=m(j[1]+j[3]),R=m(j[0]+j[2]);if(C.add(S).add(k).width("auto").height("auto").removeClass("fancybox-tmp"),t=m(S.outerWidth(!0)-S.width()),e=m(S.outerHeight(!0)-S.height()),o=D+t,s=R+e,a=f(z)?(x.w-o)*m(z)/100:z,r=f(E)?(x.h-s)*m(E)/100:E,"iframe"===M.type){if(y=M.content,M.autoHeight&&1===y.data("ready"))try{y[0].c
vendor: 7,741 bytes, line 9
9ontentWindow.document.location&&(k.width(a).height(9999),b=y.contents().find("body"),N&&b.css("overflow-x","hidden"),r=b.outerHeight(!0))}catch(t){}}else(M.autoWidth||M.autoHeight)&&(k.addClass("fancybox-tmp"),M.autoWidth||k.width(a),M.autoHeight||k.height(r),M.autoWidth&&(a=k.width()),M.autoHeight&&(r=k.height()),k.removeClass("fancybox-tmp"));if(z=m(a),E=m(r),d=a/r,I=m(f(I)?m(I,"w")-o:I),O=m(f(O)?m(O,"w")-o:O),A=m(f(A)?m(A,"h")-s:A),B=m(f(B)?m(B,"h")-s:B),h=O,c=B,M.fitToView&&(O=Math.min(x.w-o,O),B=Math.min(x.h-s,B)),_=x.w-D,v=x.h-R,M.aspectRatio?(z>O&&(E=m((z=O)/d)),E>B&&(z=m((E=B)*d)),z<I&&(E=m((z=I)/d)),E<A&&(z=m((E=A)*d))):(z=Math.max(I,Math.min(z,O)),M.autoHeight&&"iframe"!==M.type&&(k.width(z),E=k.height()),E=Math.max(A,Math.min(E,B))),M.fitToView){if(k.width(z).height(E),C.width(z+t),u=C.width(),p=C.height(),M.aspectRatio)for(;(u>_||p>v)&&z>I&&E>A&&!(w++>19);)(z=m((E=Math.max(A,Math.min(B,E-10)))*d))<I&&(E=m((z=I)/d)),z>O&&(E=m((z=O)/d)),k.width(z).height(E),C.width(z+t),u=C.width(),p=C.height();else z=Math.max(I,Math.min(z,z-(u-_))),E=Math.max(A,Math.min(E,E-(p-v)))}N&&"auto"===Z&&E<r&&z+t+N<_&&(z+=N),k.width(z).height(E),C.width(z+t),u=C.width(),p=C.height(),P=(u>_||p>v)&&z>I&&E>A,T=M.aspectRatio?z<h&&E<c&&z<a&&E<r:(z<h||E<c)&&(z<a||E<r),n.extend(M,{dim:{width:g(u),height:g(p)},origWidth:a,origHeight:r,canShrink:P,canExpand:T,wPadding:t,hPadding:e,wrapSpace:p-S.outerHeight(!0),skinSpace:S.height()-E}),!y&&M.autoHeight&&E>A&&E<B&&!T&&k.height("auto")},_getPosition:function(t){var e=l.current,n=l.getViewport(),o=e.margin,s=l.wrap.width()+o[1]+o[3],a=l.wrap.height()+o[0]+o[2],r={position:"absolute",top:o[0],left:o[3]};return e.autoCenter&&e.fixed&&!t&&a<=n.h&&s<=n.w?r.position="fixed":e.locked||(r.top+=n.y,r.left+=n.x),r.top=g(Math.max(r.top,r.top+(n.h-a)*e.topRatio)),r.left=g(Math.max(r.left,r.left+(n.w-s)*e.leftRatio)),r},_afterZoomIn:function(){var t=l.current;t&&(l.isOpen=l.isOpened=!0,l.wrap.css("overflow","visible").addClass("fancybox-opened"),l.update(),(t.closeClick||t.nextClick&&l.group.length>1)&&l.inner.css("cursor","pointer").bind("click.fb",function(e){n(e.target).is("a")||n(e.target).parent().is("a")||(e.preventDefault(),l[t.closeClick?"close":"next"]())}),t.closeBtn&&n(t.tpl.closeBtn).appendTo(l.skin).bind("click.fb",function(t){t.preventDefault(),l.close()}),t.arrows&&l.group.length>1&&((t.loop||t.index>0)&&n(t.tpl.prev).appendTo(l.outer).bind("click.fb",l.prev),(t.loop||t.index<l.group.length-1)&&n(t.tpl.next).appendTo(l.outer).bind("click.fb",l.next)),l.trigger("afterShow"),t.loop||t.index!==t.group.length-1?l.opts.autoPlay&&!l.player.isActive&&(l.opts.autoPlay=!1,l.play()):l.play(!1))},_afterZoomOut:function(t){t=t||l.current,n(".fancybox-wrap").trigger("onReset").remove(),n.extend(l,{group:{},opts:{},router:!1,current:null,isActive:!1,isOpened:!1,isOpen:!1,isClosing:!1,wrap:null,skin:null,outer:null,inner:null}),l.trigger("afterClose",t)}}),l.transitions={getOrigPosition:function(){var t=l.current,e=t.element,n=t.orig,o={},s=50,a=50,r=t.hPadding,h=t.wPadding,c=l.getViewport();return!n&&t.isDom&&e.is(":visible")&&!(n=e.find("img:first")).length&&(n=e),u(n)?(o=n.offset(),n.is("img")&&(s=n.outerWidth(),a=n.outerHeight())):(o.top=c.y+(c.h-a)*t.topRatio,o.left=c.x+(c.w-s)*t.leftRatio),("fixed"===l.wrap.css("position")||t.locked)&&(o.top-=c.y,o.left-=c.x),o={top:g(o.top-r*t.topRatio),left:g(o.left-h*t.leftRatio),width:g(s+h),height:g(a+r)}},step:function(t,e){var n,o,s=e.prop,a=l.current,r=a.wrapSpace,h=a.skinSpace;("width"===s||"height"===s)&&(n=e.end===e.start?1:(t-e.start)/(e.end-e.start),l.isClosing&&(n=1-n),o=t-("width"===s?a.wPadding:a.hPadding),l.skin[s](m("width"===s?o:o-r*n)),l.inner[s](m("width"===s?o:o-r*n-h*n)))},zoomIn:function(){var t=l.current,e=t.pos,o=t.openEffect,s="elastic"===o,a=n.extend({opacity:1},e);delete a.position,s?(e=this.getOrigPosition(),t.openOpacity&&(e.opacity=.1)):"fade"===o&&(e.opacity=.1),l.wrap.css(e).animate(a,{duration:"none"===o?0:t.openSpeed,easing:t.openEasing,step:s?this.step:null,complete:l._afterZoomIn})},zoomOut:function(){var t=l.current,e=t.closeEffect,n="elastic"===e,o={opacity:.1};n&&(o=this.getOrigPosition(),t.closeOpacity&&(o.opacity=.1)),l.wrap.animate(o,{duration:"none"===e?0:t.closeSpeed,easing:t.closeEasing,step:n?this.step:null,complete:l._afterZoomOut})},changeIn:function(){var t,e=l.current,n=e.nextEffect,o=e.pos,s={opacity:1},a=l.direction;o.opacity=.1,"elastic"===n&&(t="down"===a||"up"===a?"top":"left","down"===a||"right"===a?(o[t]=g(m(o[t])-200),s[t]="+=200px"):(o[t]=g(m(o[t])+200),s[t]="-=200px")),"none"===n?l._afterZoomIn():l.wrap.css(o).animate(s,{duration:e.nextSpeed,easing:e.nextEasing,complete:l._afterZoomIn})},changeOut:function(){var t=l.previous,e=t.prevEffect,o={opacity:.1},s=l.direction;"elastic"===e&&(o["down"===s||"up"===s?"top":"left"]=("up"===s||"left"===s?"-":"+")+"=200px"),t.wrap.animate(o,{duration:"none"===e?0:t.prevSpeed,easing:t.prevEasing,complete:function(){n(this).trigger("onReset").remove()}})}},l.helpers.overlay={defaults:{closeClick:!0,speedOut:200,showEarly:!0,css:{},locked:!d,fixed:!0},overlay:null,fixed:!1,el:n("html"),create:function(t){t=n.extend({},this.defaults,t),this.overlay&&this.close(),this.overlay=n('<div class="fancybox-overlay"></div>').appendTo(l.coming?l.coming.parent:t.parent),this.fixed=!1,t.fixed&&l.defaults.fixed&&(this.overlay.addClass("fancybox-overlay-fixed"),this.fixed=!0)},open:function(t){var e=this;t=n.extend({},this.defaults,t),this.overlay?this.overlay.unbind(".overlay").width("auto").height("auto"):this.create(t),this.fixed||(a.bind("resize.overlay",n.proxy(this.update,this)),this.update()),t.closeClick&&this.overlay.bind("click.overlay",function(t){if(n(t.target).hasClass("fancybox-overlay"))return l.isActive?l.close():e.close(),!1}),this.overlay.css(t.css).show()},close:function(){var t,e;a.unbind("resize.overlay"),this.el.hasClass("fancybox-lock")&&(n(".fancybox-margin").removeClass("fancybox-margin"),t=a.scrollTop(),e=a.scrollLeft(),this.el.removeClass("fancybox-lock"),a.scrollTop(t).scrollLeft(e)),n(".fancybox-overlay").remove().hide(),n.extend(this,{overlay:null,fixed:!1})},update:function(){var t,n="100%";this.overlay.width(n).height("100%"),h?(t=Math.max(e.documentElement.offsetWidth,e.body.offsetWidth),r.width()>t&&(n=r.width())):r.width()>a.width()&&(n=r.width()),this.overlay.width(n).height(r.height())},onReady:function(t,e){var o=this.overlay;n(".fancybox-overlay").stop(!0,!0),o||this.create(t),t.locked&&this.fixed&&e.fixed&&(o||(this.margin=r.height()>a.height()&&n("html").css("margin-right").replace("px","")),e.locked=this.overlay.append(e.wrap),e.fixed=!1),!0===t.showEarly&&this.beforeShow.apply(this,arguments)},beforeShow:function(t,e){var o,s;e.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")),o=a.scrollTop(),s=a.scrollLeft(),this.el.addClass("fancybox-lock"),a.scrollTop(o).scrollLeft(s)),this.open(t)},onUpdate:function(){this.fixed||this.update()},afterClose:function(t){this.overlay&&!l.coming&&this.overlay.fadeOut(t.speedOut,n.proxy(this.close,this))}},l.helpers.title={defaults:{type:"float",position:"bottom"},beforeShow:function(t){var e,o,s=l.current,a=s.title,r=t.type;if(n.isFunction(a)&&(a=a.call(s.element,s)),p(a)&&""!==n.trim(a)){switch(e=n('<div class="fancybox-title fancybox-title-'+r+'-wrap">'+a+"</div>"),r){case"inside":o=l.skin;break;case"outside":o=l.wrap;break;case"over":o=l.inner;break;default:o=l.skin,e.appendTo("body"),h&&e.width(e.width()),e.wrapInner('<span class="child"></span>'),l.current.margin[2]+=Math.abs(m(e.css("margin-bottom")))}
9e["top"===t.position?"prependTo":"appendTo"](o)}}},n.fn.fancybox=function(t){var e,o=n(this),s=this.selector||"",a=function(a){var r,h,c=n(this).blur(),d=e;a.ctrlKey||a.altKey||a.shiftKey||a.metaKey||c.is(".fancybox-wrap")||(r=t.groupAttr||"data-fancybox-group",(h=c.attr(r))||(r="rel",h=c.get(0)[r]),h&&""!==h&&"nofollow"!==h&&(d=(c=(c=s.length?n(s):o).filter("["+r+'="'+h+'"]')).index(this)),t.index=d,!1!==l.open(c,t)&&a.preventDefault())};return e=(t=t||{}).index||0,s&&!1!==t.live?r.undelegate(s,"click.fb-start").delegate(s+":not('.fancybox-item, .fancybox-nav')","click.fb-start",a):o.unbind("click.fb-start").bind("click.fb-start",a),this.filter("[data-fancybox-start=1]").trigger("click"),this},r.ready(function(){var e,a,r,h;o===n.scrollbarWidth&&(n.scrollbarWidth=function(){var t=n('<div style="width:50px;height:50px;overflow:auto"><div/></div>').appendTo("body"),e=t.children(),o=e.innerWidth()-e.height(99).innerWidth();return t.remove(),o}),o===n.support.fixedPosition&&(n.support.fixedPosition=(h=20===(r=n('<div style="position:fixed;top:20px;"></div>').appendTo("body"))[0].offsetTop||15===r[0].offsetTop,r.remove(),h)),n.extend(l.defaults,{scrollbarWidth:n.scrollbarWidth(),fixed:n.support.fixedPosition,parent:n("body")}),e=n(t).width(),s.addClass("fancybox-lock-test"),a=n(t).width(),s.removeClass("fancybox-lock-test"),n("<style type='text/css'>.fancybox-margin{margin-right:"+(a-e)+"px;}</style>").appendTo("head")})}(window,document,jQuery),function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).leaflet={})}(this,function(t){"use strict";function e(t){for(var e,n,o=1,s=arguments.length;o<s;o++)for(e in n=arguments[o])t[e]=n[e];return t}var n=Object.create||function(t){return o.prototype=t,new o};function o(){}function s(t,e){var n,o=Array.prototype.slice;return t.bind?t.bind.apply(t,o.call(arguments,1)):(n=o.call(arguments,2),function(){return t.apply(e,n.length?n.concat(o.call(arguments)):arguments)})}var a=0;function r(t){return"_leaflet_id"in t||(t._leaflet_id=++a),t._leaflet_id}function l(t,e,n){var o,s,a=function(){o=!1,s&&(r.apply(n,s),s=!1)},r=function(){o?s=arguments:(t.apply(n,arguments),setTimeout(a,e),o=!0)};return r}function h(t,e,n){var o=e[1],e=e[0],s=o-e;return t===o&&n?t:((t-e)%s+s)%s+e}function c(){return!1}function d(t,e){return!1===e?t:Math.round(t*(e=Math.pow(10,void 0===e?6:e)))/e}function u(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}function p(t){return u(t).split(/\s+/)}function f(t,e){for(var o in Object.prototype.hasOwnProperty.call(t,"options")||(t.options=t.options?n(t.options):{}),e)t.options[o]=e[o];return t.options}function m(t,e,n){var o,s=[];for(o in t)s.push(encodeURIComponent(n?o.toUpperCase():o)+"="+encodeURIComponent(t[o]));return(e&&-1!==e.indexOf("?")?"&":"?")+s.join("&")}var g=/\{ *([\w_ -]+) *\}/g;function _(t,e){return t.replace(g,function(t,n){if(void 0===(n=e[n]))throw Error("No value provided for variable "+t);return n="function"==typeof n?n(e):n})}var v=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function y(t,e){for(var n=0;n<t.length;n++)if(t[n]===e)return n;return -1}var b="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function x(t){return window["webkit"+t]||window["moz"+t]||window["ms"+t]}var w=0;function P(t){var e=+new Date,n=Math.max(0,16-(e-w));return w=e+n,window.setTimeout(t,n)}var T=window.requestAnimationFrame||x("RequestAnimationFrame")||P,C=window.cancelAnimationFrame||x("CancelAnimationFrame")||x("CancelRequestAnimationFrame")||function(t){window.clearTimeout(t)};function S(t,e,n){if(!n||T!==P)return T.call(window,s(t,e));t.call(e)}function k(t){t&&C.call(window,t)}var M={__proto__:null,extend:e,create:n,bind:s,get lastId(){return a},stamp:r,throttle:l,wrapNum:h,falseFn:c,formatNum:d,trim:u,splitWords:p,setOptions:f,getParamString:m,template:_,isArray:v,indexOf:y,emptyImageUrl:b,requestFn:T,cancelFn:C,requestAnimFrame:S,cancelAnimFrame:k};function z(){}z.extend=function(t){function o(){f(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()}var s,a=o.__super__=this.prototype,r=n(a);for(s in(r.constructor=o).prototype=r,this)Object.prototype.hasOwnProperty.call(this,s)&&"prototype"!==s&&"__super__"!==s&&(o[s]=this[s]);if(t.statics&&e(o,t.statics),t.includes){var l=t.includes;if("undefined"!=typeof L&&L&&L.Mixin){l=v(l)?l:[l];for(var h=0;h<l.length;
vendor: 8,428 bytes, line 9
9h++)l[h]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",Error().stack)}e.apply(null,[r].concat(t.includes))}return e(r,t),delete r.statics,delete r.includes,r.options&&(r.options=a.options?n(a.options):{},e(r.options,t.options)),r._initHooks=[],r.callInitHooks=function(){if(!this._initHooksCalled){a.callInitHooks&&a.callInitHooks.call(this),this._initHooksCalled=!0;for(var t=0,e=r._initHooks.length;t<e;t++)r._initHooks[t].call(this)}},o},z.include=function(t){var n=this.prototype.options;return e(this.prototype,t),t.options&&(this.prototype.options=n,this.mergeOptions(t.options)),this},z.mergeOptions=function(t){return e(this.prototype.options,t),this},z.addInitHook=function(t){var e=Array.prototype.slice.call(arguments,1);return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push("function"==typeof t?t:function(){this[t].apply(this,e)}),this};var E={on:function(t,e,n){if("object"==typeof t)for(var o in t)this._on(o,t[o],e);else for(var s=0,a=(t=p(t)).length;s<a;s++)this._on(t[s],e,n);return this},off:function(t,e,n){if(arguments.length){if("object"==typeof t)for(var o in t)this._off(o,t[o],e);else{t=p(t);for(var s=1==arguments.length,a=0,r=t.length;a<r;a++)s?this._off(t[a]):this._off(t[a],e,n)}}else delete this._events;return this},_on:function(t,e,n,o){"function"!=typeof e?console.warn("wrong listener type: "+typeof e):!1===this._listens(t,e,n)&&(e={fn:e,ctx:n=n===this?void 0:n},o&&(e.once=!0),this._events=this._events||{},this._events[t]=this._events[t]||[],this._events[t].push(e))},_off:function(t,e,n){var o,s,a;if(this._events&&(o=this._events[t])){if(1==arguments.length){if(this._firingCount)for(s=0,a=o.length;s<a;s++)o[s].fn=c;delete this._events[t]}else"function"!=typeof e?console.warn("wrong listener type: "+typeof e):!1!==(e=this._listens(t,e,n))&&(n=o[e],this._firingCount&&(n.fn=c,this._events[t]=o=o.slice()),o.splice(e,1))}},fire:function(t,n,o){if(this.listens(t,o)){var s=e({},n,{type:t,target:this,sourceTarget:n&&n.sourceTarget||this});if(this._events){var a=this._events[t];if(a){this._firingCount=this._firingCount+1||1;for(var r=0,l=a.length;r<l;r++){var h=a[r],c=h.fn;h.once&&this.off(t,c,h.ctx),c.call(h.ctx||this,s)}this._firingCount--}}o&&this._propagateEvent(s)}return this},listens:function(t,e,n,o){"string"!=typeof t&&console.warn('"string" type argument expected');var s=e,a=("function"!=typeof e&&(o=!!e,n=s=void 0),this._events&&this._events[t]);if(a&&a.length&&!1!==this._listens(t,s,n))return!0;if(o){for(var r in this._eventParents)if(this._eventParents[r].listens(t,e,n,o))return!0}return!1},_listens:function(t,e,n){if(this._events){var o=this._events[t]||[];if(!e)return!!o.length;n===this&&(n=void 0);for(var s=0,a=o.length;s<a;s++)if(o[s].fn===e&&o[s].ctx===n)return s}return!1},once:function(t,e,n){if("object"==typeof t)for(var o in t)this._on(o,t[o],e,!0);else for(var s=0,a=(t=p(t)).length;s<a;s++)this._on(t[s],e,n,!0);return this},addEventParent:function(t){return this._eventParents=this._eventParents||{},this._eventParents[r(t)]=t,this},removeEventParent:function(t){return this._eventParents&&delete this._eventParents[r(t)],this},_propagateEvent:function(t){for(var n in this._eventParents)this._eventParents[n].fire(t.type,e({layer:t.target,propagatedFrom:t.target},t),!0)}},I=(E.addEventListener=E.on,E.removeEventListener=E.clearAllEventListeners=E.off,E.addOneTimeEventListener=E.once,E.fireEvent=E.fire,E.hasEventListeners=E.listens,z.extend(E));function A(t,e,n){this.x=n?Math.round(t):t,this.y=n?Math.round(e):e}var O=Math.trunc||function(t){return 0<t?Math.floor(t):Math.ceil(t)};function B(t,e,n){return t instanceof A?t:v(t)?new A(t[0],t[1]):null==t?t:"object"==typeof t&&"x"in t&&"y"in t?new A(t.x,t.y):new A(t,e,n)}function Z(t,e){if(t)for(var n=e?[t,e]:t,o=0,s=n.length;o<s;o++)this.extend(n[o])}function N(t,e){return!t||t instanceof Z?t:new Z(t,e)}function j(t,e){if(t)for(var n=e?[t,e]:t,o=0,s=n.length;o<s;o++)this.extend(n[o])}function D(t,e){return t instanceof j?t:new j(t,e)}function R(t,e,n){if(isNaN(t)||isNaN(e))throw Error("Invalid LatLng object: ("+t+", "+e+")");this.lat=+t,this.lng=+e,void 0!==n&&(this.alt=+n)}function H(t,e,n){return t instanceof R?t:v(t)&&"object"!=typeof t[0]?3===t.length?new R(t[0],t[1],t[2]):2===t.length?new R(t[0],t[1]):null:null==t?t:"object"==typeof t&&"lat"in t?new R(t.lat,"lng"in t?t.lng:t.lon,t.alt):void 0===e?null:new R(t,e,n)}A.prototype={clone:function(){return new A(this.x,this.y)},add:function(t){return this.clone()._add(B(t))},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(B(t))},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t){return this.clone()._divideBy(t)},_divideBy:function(t){return this.x/=t,this.y/=t,this},multiplyBy:function(t){return this.clone()._multiplyBy(t)},_multiplyBy:function(t){return this.x*=t,this.y*=t,this},scaleBy:function(t){return new A(this.x*t.x,this.y*t.y)},unscaleBy:function(t){return new A(this.x/t.x,this.y/t.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=O(this.x),this.y=O(this.y),this},distanceTo:function(t){var e=(t=B(t)).x-this.x,t=t.y-this.y;return Math.sqrt(e*e+t*t)},equals:function(t){return(t=B(t)).x===this.x&&t.y===this.y},contains:function(t){return Math.abs((t=B(t)).x)<=Math.abs(this.x)&&Math.abs(t.y)<=Math.abs(this.y)},toString:function(){return"Point("+d(this.x)+", "+d(this.y)+")"}},Z.prototype={extend:function(t){var e,n;if(t){if(t instanceof A||"number"==typeof t[0]||"x"in t)e=n=B(t);else if(e=(t=N(t)).min,n=t.max,!e||!n)return this;this.min||this.max?(this.min.x=Math.min(e.x,this.min.x),this.max.x=Math.max(n.x,this.max.x),this.min.y=Math.min(e.y,this.min.y),this.max.y=Math.max(n.y,this.max.y)):(this.min=e.clone(),this.max=n.clone())}return this},getCenter:function(t){return B((this.min.x+this.max.x)/2,(this.min.y+this.max.y)/2,t)},getBottomLeft:function(){return B(this.min.x,this.max.y)},getTopRight:function(){return B(this.max.x,this.min.y)},getTopLeft:function(){return this.min},getBottomRight:function(){return this.max},getSize:function(){return this.max.subtract(this.min)},contains:function(t){var e,n;return(t=("number"==typeof t[0]||t instanceof A?B:N)(t))instanceof Z?(e=t.min,n=t.max):e=n=t,e.x>=this.min.x&&n.x<=this.max.x&&e.y>=this.min.y&&n.y<=this.max.y},intersects:function(t){t=N(t);var e=this.min,n=this.max,o=t.min,t=t.max,s=t.x>=e.x&&o.x<=n.x,t=t.y>=e.y&&o.y<=n.y;return s&&t},overlaps:function(t){t=N(t);var e=this.min,n=this.max,o=t.min,t=t.max,s=t.x>e.x&&o.x<n.x,t=t.y>e.y&&o.y<n.y;return s&&t},isValid:function(){return!(!this.min||!this.max)},pad:function(t){var e=this.min,n=this.max,o=Math.abs(e.x-n.x)*t,t=Math.abs(e.y-n.y)*t;return N(B(e.x-o,e.y-t),B(n.x+o,n.y+t))},equals:function(t){return!!t&&(t=N(t),this.min.equals(t.getTopLeft())&&this.max.equals(t.getBottomRight()))}},j.prototype={extend:function(t){var e,n,o=this._southWest,s=this._northEast;if(t instanceof R)n=e=t;else{if(!(t instanceof j))return t?this.extend(H(t)||D(t)):this;if(e=t._southWest,n=t._northEast,!e||!n)return this}return o||s?(o.lat=Math.min(e.lat,o.lat),o.lng=Math.min(e.lng,o.lng),s.lat=Math.max(n.lat,s.lat),s.lng=Math.max(n.lng,s.lng)):(this._southWest=new R(e.lat,e.lng),this._northEast=new R(n.lat,n.lng)),this},pad:function(t){var e=this._southWest,n=this._northEast,o=Math.abs(e.lat-n.lat)*t,t=Math.abs(e.lng-n.lng)*t;return new j(new R(e.lat-o,e.lng-t),new R(n.lat+o,n.lng+t))},getCenter:function(){return new R((this._southWest.lat+this._northEast.lat)/2,(this._southWest.lng+this._northEast.lng)/2)},getSouthWest:function(){return this._southWest},getNorthEast:function(){return this._northEast},getNorthWest:function(){return new R(this.getNorth(),this.getWest())},getSouthEast:function(){return new R(this.getSouth(),this.getEast())},getWest:function(){return this._southWest.lng},getSouth:function(){return this._southWest.lat}
vendor: 2,395 bytes, line 9
9,getEast:function(){return this._northEast.lng},getNorth:function(){return this._northEast.lat},contains:function(t){t=("number"==typeof t[0]||t instanceof R||"lat"in t?H:D)(t);var e,n,o=this._southWest,s=this._northEast;return t instanceof j?(e=t.getSouthWest(),n=t.getNorthEast()):e=n=t,e.lat>=o.lat&&n.lat<=s.lat&&e.lng>=o.lng&&n.lng<=s.lng},intersects:function(t){t=D(t);var e=this._southWest,n=this._northEast,o=t.getSouthWest(),t=t.getNorthEast(),s=t.lat>=e.lat&&o.lat<=n.lat,t=t.lng>=e.lng&&o.lng<=n.lng;return s&&t},overlaps:function(t){t=D(t);var e=this._southWest,n=this._northEast,o=t.getSouthWest(),t=t.getNorthEast(),s=t.lat>e.lat&&o.lat<n.lat,t=t.lng>e.lng&&o.lng<n.lng;return s&&t},toBBoxString:function(){return[this.getWest(),this.getSouth(),this.getEast(),this.getNorth()].join(",")},equals:function(t,e){return!!t&&(t=D(t),this._southWest.equals(t.getSouthWest(),e)&&this._northEast.equals(t.getNorthEast(),e))},isValid:function(){return!(!this._southWest||!this._northEast)}};var W={latLngToPoint:function(t,e){return t=this.projection.project(t),e=this.scale(e),this.transformation._transform(t,e)},pointToLatLng:function(t,e){return e=this.scale(e),t=this.transformation.untransform(t,e),this.projection.unproject(t)},project:function(t){return this.projection.project(t)},unproject:function(t){return this.projection.unproject(t)},scale:function(t){return 256*Math.pow(2,t)},zoom:function(t){return Math.log(t/256)/Math.LN2},getProjectedBounds:function(t){var e;return this.infinite?null:(e=this.projection.bounds,t=this.scale(t),new Z(this.transformation.transform(e.min,t),this.transformation.transform(e.max,t)))},infinite:(R.prototype={equals:function(t,e){return!!t&&(t=H(t),Math.max(Math.abs(this.lat-t.lat),Math.abs(this.lng-t.lng))<=(void 0===e?1e-9:e))},toString:function(t){return"LatLng("+d(this.lat,t)+", "+d(this.lng,t)+")"},distanceTo:function(t){return F.distance(this,H(t))},wrap:function(){return F.wrapLatLng(this)},toBounds:function(t){var t=180*t/40075017,e=t/Math.cos(Math.PI/180*this.lat);return D([this.lat-t,this.lng-e],[this.lat+t,this.lng+e])},clone:function(){return new R(this.lat,this.lng,this.alt)}},!1),wrapLatLng:function(t){var e=this.wrapLng?h(t.lng,this.wrapLng,!0):t.lng;return new R(this.wrapLat?h(t.lat,this.wrapLat,!0):t.lat,e,t.alt)},wrapLatLngBounds:function(t){var e=t.getCenter(),n=this.wrapLatLng(e),o=e.lat-n.lat,e=e.lng-n.lng;
vendor: 7,055 bytes, line 9
9return 0==o&&0==e?t:(n=t.getSouthWest(),t=t.getNorthEast(),new j(new R(n.lat-o,n.lng-e),new R(t.lat-o,t.lng-e)))}},F=e({},W,{wrapLng:[-180,180],R:6371e3,distance:function(t,e){var n=Math.PI/180,o=t.lat*n,s=e.lat*n,a=Math.sin((e.lat-t.lat)*n/2),e=Math.sin((e.lng-t.lng)*n/2),t=a*a+Math.cos(o)*Math.cos(s)*e*e,n=2*Math.atan2(Math.sqrt(t),Math.sqrt(1-t));return this.R*n}}),q=6378137,q={R:q,MAX_LATITUDE:85.0511287798,project:function(t){var e=Math.PI/180,n=this.MAX_LATITUDE,n=Math.max(Math.min(n,t.lat),-n),n=Math.sin(n*e);return new A(this.R*t.lng*e,this.R*Math.log((1+n)/(1-n))/2)},unproject:function(t){var e=180/Math.PI;return new R((2*Math.atan(Math.exp(t.y/this.R))-Math.PI/2)*e,t.x*e/this.R)},bounds:new Z([-(q*=Math.PI),-q],[q,q])};function U(t,e,n,o){v(t)?(this._a=t[0],this._b=t[1],this._c=t[2],this._d=t[3]):(this._a=t,this._b=e,this._c=n,this._d=o)}function V(t,e,n,o){return new U(t,e,n,o)}U.prototype={transform:function(t,e){return this._transform(t.clone(),e)},_transform:function(t,e){return t.x=(e=e||1)*(this._a*t.x+this._b),t.y=e*(this._c*t.y+this._d),t},untransform:function(t,e){return new A((t.x/(e=e||1)-this._b)/this._a,(t.y/e-this._d)/this._c)}};var Q=e({},F,{code:"EPSG:3857",projection:q,transformation:V(Q=.5/(Math.PI*q.R),.5,-Q,.5)}),G=e({},Q,{code:"EPSG:900913"});function K(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Y(t,e){for(var n,o,s,a,r="",l=0,h=t.length;l<h;l++){for(n=0,o=(s=t[l]).length;n<o;n++)r+=(n?"L":"M")+(a=s[n]).x+" "+a.y;r+=e?tE.svg?"z":"x":""}return r||"M0 0"}var X=document.documentElement.style,J="ActiveXObject"in window,tt=J&&!document.addEventListener,te="msLaunchUri"in navigator&&!("documentMode"in document),ti=tz("webkit"),tn=tz("android"),to=tz("android 2")||tz("android 3"),ts=parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1],10),ts=tn&&tz("Google")&&ts<537&&!("AudioNode"in window),ta=!!window.opera,tr=!te&&tz("chrome"),tl=tz("gecko")&&!ti&&!ta&&!J,th=!tr&&tz("safari"),tc=tz("phantom"),td="OTransition"in X,tu=0===navigator.platform.indexOf("Win"),tp=J&&"transition"in X,tf="WebKitCSSMatrix"in window&&"m11"in new window.WebKitCSSMatrix&&!to,X="MozPerspective"in X,tm=!window.L_DISABLE_3D&&(tp||tf||X)&&!td&&!tc,tg="undefined"!=typeof orientation||tz("mobile"),t_=tg&&ti,tv=tg&&tf,ty=!window.PointerEvent&&window.MSPointerEvent,tb=!(!window.PointerEvent&&!ty),tx="ontouchstart"in window||!!window.TouchEvent,tw=!window.L_NO_TOUCH&&(tx||tb),tP=tg&&ta,tT=tg&&tl,tC=1<(window.devicePixelRatio||window.screen.deviceXDPI/window.screen.logicalXDPI),tS=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveEventSupport",c,e),window.removeEventListener("testPassiveEventSupport",c,e)}catch(t){}return t}(),tL=!!document.createElement("canvas").getContext,tk=!(!document.createElementNS||!K("svg").createSVGRect),tM=!!tk&&((tM=document.createElement("div")).innerHTML="<svg/>","http://www.w3.org/2000/svg"===(tM.firstChild&&tM.firstChild.namespaceURI));function tz(t){return 0<=navigator.userAgent.toLowerCase().indexOf(t)}var tE={ie:J,ielt9:tt,edge:te,webkit:ti,android:tn,android23:to,androidStock:ts,opera:ta,chrome:tr,gecko:tl,safari:th,phantom:tc,opera12:td,win:tu,ie3d:tp,webkit3d:tf,gecko3d:X,any3d:tm,mobile:tg,mobileWebkit:t_,mobileWebkit3d:tv,msPointer:ty,pointer:tb,touch:tw,touchNative:tx,mobileOpera:tP,mobileGecko:tT,retina:tC,passiveEvents:tS,canvas:tL,svg:tk,vml:!tk&&function(){try{var t=document.createElement("div"),e=(t.innerHTML='<v:shape adj="1"/>',t.firstChild);return e.style.behavior="url(#default#VML)",e&&"object"==typeof e.adj}catch(t){return!1}}(),inlineSvg:tM,mac:0===navigator.platform.indexOf("Mac"),linux:0===navigator.platform.indexOf("Linux")},tI=tE.msPointer?"MSPointerDown":"pointerdown",tA=tE.msPointer?"MSPointerMove":"pointermove",tO=tE.msPointer?"MSPointerUp":"pointerup",tB=tE.msPointer?"MSPointerCancel":"pointercancel",tZ={touchstart:tI,touchmove:tA,touchend:tO,touchcancel:tB},tN={touchstart:function(t,e){e.MSPOINTER_TYPE_TOUCH&&e.pointerType===e.MSPOINTER_TYPE_TOUCH&&ew(e),tW(t,e)},touchmove:tW,touchend:tW,touchcancel:tW},tj={},t$=!1;function tD(t){tj[t.pointerId]=t}function tR(t){tj[t.pointerId]&&(tj[t.pointerId]=t)}function tH(t){delete tj[t.pointerId]}function tW(t,e){if(e.pointerType!==(e.MSPOINTER_TYPE_MOUSE||"mouse")){for(var n in e.touches=[],tj)e.touches.push(tj[n]);e.changedTouches=[e],t(e)}}var tF,tq,tU,tV,tQ,tG,tK=ei(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),tY=ei(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),tX="webkitTransition"===tY||"OTransition"===tY?tY+"End":"transitionend";function tJ(t){return"string"==typeof t?document.getElementById(t):t}function t0(t,e){var n=t.style[e]||t.currentStyle&&t.currentStyle[e];return"auto"===(n=n&&"auto"!==n||!document.defaultView?n:(t=document.defaultView.getComputedStyle(t,null))?t[e]:null)?null:n}function t1(t,e,n){return(t=document.createElement(t)).className=e||"",n&&n.appendChild(t),t}function t2(t){var e=t.parentNode;e&&e.removeChild(t)}function t3(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function t5(t){var e=t.parentNode;e&&e.lastChild!==t&&e.appendChild(t)}function t8(t){var e=t.parentNode;e&&e.firstChild!==t&&e.insertBefore(t,e.firstChild)}function t9(t,e){return void 0!==t.classList?t.classList.contains(e):0<(t=et(t)).length&&RegExp("(^|\\s)"+e+"(\\s|$)").test(t)}function t4(t,e){var n;if(void 0!==t.classList)for(var o=p(e),s=0,a=o.length;s<a;s++)t.classList.add(o[s]);else t9(t,e)||t6(t,((n=et(t))?n+" ":"")+e)}function t7(t,e){void 0!==t.classList?t.classList.remove(e):t6(t,u((" "+et(t)+" ").replace(" "+e+" "," ")))}function t6(t,e){void 0===t.className.baseVal?t.className=e:t.className.baseVal=e}function et(t){return void 0===(t=t.correspondingElement?t.correspondingElement:t).className.baseVal?t.className:t.className.baseVal}function ee(t,e){if("opacity"in t.style)t.style.opacity=e;else if("filter"in t.style){var n=!1,o="DXImageTransform.Microsoft.Alpha";try{n=t.filters.item(o)}catch(t){if(1===e)return}e=Math.round(100*e),n?(n.Enabled=100!==e,n.Opacity=e):t.style.filter+=" progid:"+o+"(opacity="+e+")"}}function ei(t){for(var e=document.documentElement.style,n=0;n<t.length;n++)if(t[n]in e)return t[n];return!1}function en(t,e,n){e=e||new A(0,0),t.style[tK]=(tE.ie3d?"translate("+e.x+"px,"+e.y+"px)":"translate3d("+e.x+"px,"+e.y+"px,0)")+(n?" scale("+n+")":"")}function eo(t,e){t._leaflet_pos=e,tE.any3d?en(t,e):(t.style.left=e.x+"px",t.style.top=e.y+"px")}function es(t){return t._leaflet_pos||new A(0,0)}function ea(){eu(window,"dragstart",ew)}function er(){ef(window,"dragstart",ew)}function el(t){for(;-1===t.tabIndex;)t=t.parentNode;t.style&&(eh(),tG=(tQ=t).style.outlineStyle,t.style.outlineStyle="none",eu(window,"keydown",eh))}function eh(){tQ&&(tQ.style.outlineStyle=tG,tG=tQ=void 0,ef(window,"keydown",eh))}function ec(t){for(;!((t=t.parentNode).offsetWidth&&t.offsetHeight||t===document.body););return t}function ed(t){var e=t.getBoundingClientRect();
9return{x:e.width/t.offsetWidth||1,y:e.height/t.offsetHeight||1,boundingClientRect:e}}function eu(t,e,n,o){if(e&&"object"==typeof e)for(var s in e)e_(t,s,e[s],n);else for(var a=0,r=(e=p(e)).length;a<r;a++)e_(t,e[a],n,o);return this}tV="onselectstart"in document?(tU=function(){eu(window,"selectstart",ew)},function(){ef(window,"selectstart",ew)}):(tq=ei(["userSelect","WebkitUserSelect","OUserSelect","MozUserSelect","msUserSelect"]),tU=function(){var t;tq&&(tF=(t=document.documentElement.style)[tq],t[tq]="none")},function(){tq&&(document.documentElement.style[tq]=tF,tF=void 0)}),J={__proto__:null,TRANSFORM:tK,TRANSITION:tY,TRANSITION_END:tX,get:tJ,getStyle:t0,create:t1,remove:t2,empty:t3,toFront:t5,toBack:t8,hasClass:t9,addClass:t4,removeClass:t7,setClass:t6,getClass:et,setOpacity:ee,testProp:ei,setTransform:en,setPosition:eo,getPosition:es,get disableTextSelection(){return tU},get enableTextSelection(){return tV},disableImageDrag:ea,enableImageDrag:er,preventOutline:el,restoreOutline:eh,getSizedParentNode:ec,getScale:ed};var ep="_leaflet_events";function ef(t,e,n,o){if(1==arguments.length)em(t),delete t[ep];else if(e&&"object"==typeof e)for(var s in e)ev(t,s,e[s],n);else if(e=p(e),2==arguments.length)em(t,function(t){return -1!==y(e,t)});else for(var a=0,r=e.length;a<r;a++)ev(t,e[a],n,o);return this}function em(t,e){for(var n in t[ep]){var o=n.split(/\d/)[0];e&&!e(o)||ev(t,o,null,null,n)}}
9var eg={mouseenter:"mouseover",mouseleave:"mouseout",wheel:!("onwheel"in window)&&"mousewheel"};function e_(t,e,n,o){var s,a,l=e+r(n)+(o?"_"+r(o):"");t[ep]&&t[ep][l]||(a=s=function(e){return n.call(o||t,e||window.event)},!tE.touchNative&&tE.pointer&&0===e.indexOf("touch")?s=function(t,e,n){return"touchstart"!==e||t$||(document.addEventListener(tI,tD,!0),document.addEventListener(tA,tR,!0),document.addEventListener(tO,tH,!0),document.addEventListener(tB,tH,!0),t$=!0),tN[e]?(n=tN[e].bind(this,n),t.addEventListener(tZ[e],n,!1),n):(console.warn("wrong event specified:",e),c)}(t,e,s):tE.touch&&"dblclick"===e?s=function(t,e){t.addEventListener("dblclick",e);var n,o=0;function s(t){var s;1!==t.detail?n=t.detail:"mouse"===t.pointerType||t.sourceCapabilities&&!t.sourceCapabilities.firesTouchEvents||(s=eT(t)).some(function(t){return t instanceof HTMLLabelElement&&t.attributes.for})&&!s.some(function(t){return t instanceof HTMLInputElement||t instanceof HTMLSelectElement})||((s=Date.now())-o<=200?2==++n&&e(function(t){var e,n,o={};for(n in t)e=t[n],o[n]=e&&e.bind?e.bind(t):e;return(t=o).type="dblclick",o.detail=2,o.isTrusted=!1,o._simulated=!0,o}(t)):n=1,o=s)}return t.addEventListener("click",s),{dblclick:e,simDblclick:s}}(t,s):"addEventListener"in t?"touchstart"===e||"touchmove"===e||"wheel"===e||"mousewheel"===e?t.addEventListener(eg[e]||e,s,!!tE.passiveEvents&&{passive:!1}):"mouseenter"===e||"mouseleave"===e?t.addEventListener(eg[e],s=function(e){e=e||window.event,ek(t,e)&&a(e)},!1):t.addEventListener(e,a,!1):t.attachEvent("on"+e,s),t[ep]=t[ep]||{},t[ep][l]=s)}function ev(t,e,n,o,s){s=s||e+r(n)+(o?"_"+r(o):"");var a,n=t[ep]&&t[ep][s];n&&(!tE.touchNative&&tE.pointer&&0===e.indexOf("touch")?(o=t,a=n,tZ[e]?o.removeEventListener(tZ[e],a,!1):console.warn("wrong event specified:",e)):tE.touch&&"dblclick"===e?(o=n,(a=t).removeEventListener("dblclick",o.dblclick),a.removeEventListener("click",o.simDblclick)):"removeEventListener"in t?t.removeEventListener(eg[e]||e,n,!1):t.detachEvent("on"+e,n),t[ep][s]=null)}function ey(t){return t.stopPropagation?t.stopPropagation():t.originalEvent?t.originalEvent._stopped=!0:t.cancelBubble=!0,this}function eb(t){return e_(t,"wheel",ey),this}function ex(t){return eu(t,"mousedown touchstart dblclick contextmenu",ey),t._leaflet_disable_click=!0,this}function ew(t){return t.preventDefault?t.preventDefault():t.returnValue=!1,this}function eP(t){return ew(t),ey(t),this}function eT(t){if(t.composedPath)return t.composedPath();for(var e=[],n=t.target;n;)e.push(n),n=n.parentNode;return e}function eC(t,e){var n,o;return e?(o=(n=ed(e)).boundingClientRect,new A((t.clientX-o.left)/n.x-e.clientLeft,(t.clientY-o.top)/n.y-e.clientTop)):new A(t.clientX,t.clientY)}var eS=tE.linux&&tE.chrome?window.devicePixelRatio:tE.mac?3*window.devicePixelRatio:0<window.devicePixelRatio?2*window.devicePixelRatio:1;function eL(t){return tE.edge?t.wheelDeltaY/2:t.deltaY&&0===t.deltaMode?-t.deltaY/eS:t.deltaY&&1===t.deltaMode?-(20*t.deltaY):t.deltaY&&2===t.deltaMode?-(60*t.deltaY):t.deltaX||t.deltaZ?0:t.wheelDelta?(t.wheelDeltaY||t.wheelDelta)/2:t.detail&&32765>Math.abs(t.detail)?-(20*t.detail):t.detail?-(60*(t.detail/32765)):0}function ek(t,e){var n=e.relatedTarget;if(!n)return!0;try{for(;n&&n!==t;)n=n.parentNode}catch(t){return!1}return n!==t}var tt={__proto__:null,on:eu,off:ef,stopPropagation:ey,disableScrollPropagation:eb,disableClickPropagation:ex,preventDefault:ew,stop:eP,getPropagationPath:eT,getMousePosition:eC,getWheelDelta:eL,isExternalTarget:ek,addListener:eu,removeListener:ef},eM=I.extend({run:function(t,e,n,o){this.stop(),this._el=t,this._inProgress=!0,this._duration=n||.25,this._easeOutPower=1/Math.max(o||.5,.2),this._startPos=es(t),this._offset=e.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=S(this._animate,this),this._step()},_step:function(t){var e=+new Date-this._startTime,n=1e3*this._duration;e<n?this._runFrame(this._easeOut(e/n),t):(this._runFrame(1),this._complete())},_runFrame:function(t,e){t=this._startPos.add(this._offset.multiplyBy(t)),e&&t._round(),eo(this._el,t),this.fire("step")},_complete:function(){k(this._animId),this._inProgress=!1,this.fire("end")},_easeOut:function(t){return 1-Math.pow(1-t,this._easeOutPower)}}),ez=I.extend({options:{crs:Q,center:void 0,zoom:void 0,minZoom:void 0,maxZoom:void 0,layers:[],maxBounds:void 0,renderer:void 0,zoomAnimation:!0,zoomAnimationThreshold:4,fadeAnimation:!0,markerZoomAnimation:!0,transform3DLimit:8388608,zoomSnap:1,zoomDelta:1,trackResize:!0},initialize:function(t,e){e=f(this,e),this._handlers=[],this._layers={},this._zoomBoundLayers={},this._sizeChanged=!0,this._initContainer(t),this._initLayout(),this._onResize=s(this._onResize,this),this._initEvents(),e.maxBounds&&this.setMaxBounds(e.maxBounds),void 0!==e.zoom&&(this._zoom=this._limitZoom(e.zoom)),e.center&&void 0!==e.zoom&&this.setView(H(e.center),e.zoom,{reset:!0}),this.callInitHooks(),this._zoomAnimated=tY&&tE.any3d&&!tE.mobileOpera&&this.options.zoomAnimation,this._zoomAnimated&&(this._createAnimProxy(),eu(this._proxy,tX,this._catchTransitionEnd,this)),this._addLayers(this.options.layers)}
vendor: 1,332 bytes, line 9
9,setView:function(t,n,o){return(n=void 0===n?this._zoom:this._limitZoom(n),t=this._limitCenter(H(t),n,this.options.maxBounds),o=o||{},this._stop(),this._loaded&&!o.reset&&!0!==o&&(void 0!==o.animate&&(o.zoom=e({animate:o.animate},o.zoom),o.pan=e({animate:o.animate,duration:o.duration},o.pan)),this._zoom!==n?this._tryAnimatedZoom&&this._tryAnimatedZoom(t,n,o.zoom):this._tryAnimatedPan(t,o.pan)))?(clearTimeout(this._sizeTimer),this):(this._resetView(t,n,o.pan&&o.pan.noMoveStart),this)},setZoom:function(t,e){return this._loaded?this.setView(this.getCenter(),t,{zoom:e}):(this._zoom=t,this)},zoomIn:function(t,e){return t=t||(tE.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom+t,e)},zoomOut:function(t,e){return t=t||(tE.any3d?this.options.zoomDelta:1),this.setZoom(this._zoom-t,e)},setZoomAround:function(t,e,n){var o=this.getZoomScale(e),s=this.getSize().divideBy(2),t=(t instanceof A?t:this.latLngToContainerPoint(t)).subtract(s).multiplyBy(1-1/o),o=this.containerPointToLatLng(s.add(t));return this.setView(o,e,{zoom:n})},_getBoundsCenterZoom:function(t,e){e=e||{},t=t.getBounds?t.getBounds():D(t);var n=B(e.paddingTopLeft||e.padding||[0,0]),o=B(e.paddingBottomRight||e.padding||[0,0]),s=this.getBoundsZoom(t,!1,n.add(o));return(s="number"==typeof e.maxZoom?Math.min(e.maxZoom,s):s)===1/0?{center:t.getCenter(),zoom:s}
9:(e=o.subtract(n).divideBy(2),o=this.project(t.getSouthWest(),s),n=this.project(t.getNorthEast(),s),{center:this.unproject(o.add(n).divideBy(2).add(e),s),zoom:s})},fitBounds:function(t,e){if((t=D(t)).isValid())return t=this._getBoundsCenterZoom(t,e),this.setView(t.center,t.zoom,e);throw Error("Bounds are not valid.")},fitWorld:function(t){return this.fitBounds([[-90,-180],[90,180]],t)},panTo:function(t,e){return this.setView(t,this._zoom,{pan:e})},panBy:function(t,e){var n;return e=e||{},(t=B(t).round()).x||t.y?(!0===e.animate||this.getSize().contains(t)?(this._panAnim||(this._panAnim=new eM,this._panAnim.on({step:this._onPanTransitionStep,end:this._onPanTransitionEnd},this)),e.noMoveStart||this.fire("movestart"),!1!==e.animate?(t4(this._mapPane,"leaflet-pan-anim"),n=this._getMapPanePos().subtract(t).round(),this._panAnim.run(this._mapPane,n,e.duration||.25,e.easeLinearity)):(this._rawPanBy(t),this.fire("move").fire("moveend"))):this._resetView(this.unproject(this.project(this.getCenter()).add(t)),this.getZoom()),this):this.fire("moveend")},flyTo:function(t,e,n){if(!1===(n=n||{}).animate||!tE.any3d)return this.setView(t,e,n);this._stop();var o=this.project(this.getCenter()),s=this.project(t),a=this.getSize(),r=this._zoom,l=(t=H(t),e=void 0===e?r:e,Math.max(a.x,a.y)),h=l*this.getZoomScale(r,e),c=s.distanceTo(o)||1;function d(t){return(t=Math.sqrt((t=(h*h-l*l+(t?-1:1)*2.0164*2.0164*c*c)/(2*(t?h:l)*2.0164*c))*t+1)-t)<1e-9?-18:Math.log(t)}function u(t){return(Math.exp(t)-Math.exp(-t))/2}function p(t){return(Math.exp(t)+Math.exp(-t))/2}var f=d(0),m=Date.now(),g=(d(1)-f)/1.42,_=n.duration?1e3*n.duration:1e3*g*.8;return this._moveStart(!0,n.noMoveStart),(function n(){var a,h=(Date.now()-m)/_,d=(1-Math.pow(1-h,1.5))*g;h<=1?(this._flyToFrame=S(n,this),this._move(this.unproject(o.add(s.subtract(o).multiplyBy((a=d,l*(p(f)*(u(a=f+1.42*a)/p(a))-u(f))/2.0164/c))),r),this.getScaleZoom(l/(h=d,l*(p(f)/p(f+1.42*h))),r),{flyTo:!0})):this._move(t,e)._moveEnd(!0)}).call(this),this},flyToBounds:function(t,e){return t=this._getBoundsCenterZoom(t,e),this.flyTo(t.center,t.zoom,e)},setMaxBounds:function(t){return t=D(t),this.listens("moveend",this._panInsideMaxBounds)&&this.off("moveend",this._panInsideMaxBounds),t.isValid()?(this.options.maxBounds=t,this._loaded&&this._panInsideMaxBounds(),this.on("moveend",this._panInsideMaxBounds)):(this.options.maxBounds=null,this)},setMinZoom:function(t){var e=this.options.minZoom;return this.options.minZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()<this.options.minZoom)?this.setZoom(t):this},setMaxZoom:function(t){var e=this.options.maxZoom;return this.options.maxZoom=t,this._loaded&&e!==t&&(this.fire("zoomlevelschange"),this.getZoom()>this.options.maxZoom)?this.setZoom(t):this},panInsideBounds:function(t,e){this._enforcingBounds=!0;var n=this.getCenter(),t=this._limitCenter(n,this._zoom,D(t));return n.equals(t)||this.panTo(t,e),this._enforcingBounds=!1,this},panInside:function(t,e){var n=B((e=e||{}).paddingTopLeft||e.padding||[0,0]),o=B(e.paddingBottomRight||e.padding||[0,0]),s=this.project(this.getCenter()),t=this.project(t),a=this.getPixelBounds(),n=N([a.min.add(n),a.max.subtract(o)]),a=n.getSize();return n.contains(t)||(this._enforcingBounds=!0,o=t.subtract(n.getCenter()),n=n.extend(t).getSize().subtract(a),s.x+=o.x<0?-n.x:n.x,s.y+=o.y<0?-n.y:n.y,this.panTo(this.unproject(s),e),this._enforcingBounds=!1),this},invalidateSize:function(t){if(!this._loaded)return this;t=e({animate:!1,pan:!0},!0===t?{animate:!0}:t);var n=this.getSize(),o=(this._sizeChanged=!0,this._lastCenter=null,this.getSize()),a=n.divideBy(2).round(),r=o.divideBy(2).round(),a=a.subtract(r);return a.x||a.y?(t.animate&&t.pan?this.panBy(a):(t.pan&&this._rawPanBy(a),this.fire("move"),t.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(s(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:n,newSize:o})):this},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(t){var n,o;
vendor: 9,044 bytes, line 9
9return t=this._locateOptions=e({timeout:1e4,watch:!1},t),"geolocation"in navigator?(n=s(this._handleGeolocationResponse,this),o=s(this._handleGeolocationError,this),t.watch?this._locationWatchId=navigator.geolocation.watchPosition(n,o,t):navigator.geolocation.getCurrentPosition(n,o,t)):this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(t){var e;this._container._leaflet_id&&(e=t.code,t=t.message||(1===e?"permission denied":2===e?"position unavailable":"timeout"),this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:e,message:"Geolocation error: "+t+"."}))},_handleGeolocationResponse:function(t){if(this._container._leaflet_id){var e,n,o=new R(t.coords.latitude,t.coords.longitude),s=o.toBounds(2*t.coords.accuracy),a=this._locateOptions,r=(a.setView&&(e=this.getBoundsZoom(s),this.setView(o,a.maxZoom?Math.min(e,a.maxZoom):e)),{latlng:o,bounds:s,timestamp:t.timestamp});for(n in t.coords)"number"==typeof t.coords[n]&&(r[n]=t.coords[n]);this.fire("locationfound",r)}},addHandler:function(t,e){return e&&(e=this[t]=new e(this),this._handlers.push(e),this.options[t]&&e.enable()),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch(t){this._container._leaflet_id=void 0,this._containerId=void 0}for(var e in void 0!==this._locationWatchId&&this.stopLocate(),this._stop(),t2(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(k(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload"),this._layers)this._layers[e].remove();for(t in this._panes)t2(this._panes[t]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(t,e){return e=t1("div","leaflet-pane"+(t?" leaflet-"+t.replace("Pane","")+"-pane":""),e||this._mapPane),t&&(this._panes[t]=e),e},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var t=this.getPixelBounds();return new j(this.unproject(t.getBottomLeft()),this.unproject(t.getTopRight()))},getMinZoom:function(){return void 0===this.options.minZoom?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return void 0===this.options.maxZoom?void 0===this._layersMaxZoom?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(t,e,n){t=D(t),n=B(n||[0,0]);var o=this.getZoom()||0,s=this.getMinZoom(),a=this.getMaxZoom(),r=t.getNorthWest(),t=t.getSouthEast(),n=this.getSize().subtract(n),t=N(this.project(t,o),this.project(r,o)).getSize(),r=tE.any3d?this.options.zoomSnap:1,l=n.x/t.x,n=n.y/t.y,t=e?Math.max(l,n):Math.min(l,n),o=this.getScaleZoom(t,o);return r&&(o=Math.round(o/(r/100))*(r/100),o=e?Math.ceil(o/r)*r:Math.floor(o/r)*r),Math.max(s,Math.min(a,o))},getSize:function(){return this._size&&!this._sizeChanged||(this._size=new A(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(t,e){return t=this._getTopLeftPoint(t,e),new Z(t,t.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(t){return this.options.crs.getProjectedBounds(void 0===t?this.getZoom():t)},getPane:function(t){return"string"==typeof t?this._panes[t]:t},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(t,e){var n=this.options.crs;return e=void 0===e?this._zoom:e,n.scale(t)/n.scale(e)},getScaleZoom:function(t,e){var n=this.options.crs,t=(e=void 0===e?this._zoom:e,n.zoom(t*n.scale(e)));return isNaN(t)?1/0:t},project:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.latLngToPoint(H(t),e)},unproject:function(t,e){return e=void 0===e?this._zoom:e,this.options.crs.pointToLatLng(B(t),e)},layerPointToLatLng:function(t){return t=B(t).add(this.getPixelOrigin()),this.unproject(t)},latLngToLayerPoint:function(t){return this.project(H(t))._round()._subtract(this.getPixelOrigin())},wrapLatLng:function(t){return this.options.crs.wrapLatLng(H(t))},wrapLatLngBounds:function(t){return this.options.crs.wrapLatLngBounds(D(t))},distance:function(t,e){return this.options.crs.distance(H(t),H(e))},containerPointToLayerPoint:function(t){return B(t).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(t){return B(t).add(this._getMapPanePos())},containerPointToLatLng:function(t){return t=this.containerPointToLayerPoint(B(t)),this.layerPointToLatLng(t)},latLngToContainerPoint:function(t){return this.layerPointToContainerPoint(this.latLngToLayerPoint(H(t)))},mouseEventToContainerPoint:function(t){return eC(t,this._container)},mouseEventToLayerPoint:function(t){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(t))},mouseEventToLatLng:function(t){return this.layerPointToLatLng(this.mouseEventToLayerPoint(t))},_initContainer:function(t){if(!(t=this._container=tJ(t)))throw Error("Map container not found.");if(t._leaflet_id)throw Error("Map container is already initialized.");eu(t,"scroll",this._onScroll,this),this._containerId=r(t)},_initLayout:function(){var t=this._container,e=(this._fadeAnimated=this.options.fadeAnimation&&tE.any3d,t4(t,"leaflet-container"+(tE.touch?" leaflet-touch":"")+(tE.retina?" leaflet-retina":"")+(tE.ielt9?" leaflet-oldie":"")+(tE.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":"")),t0(t,"position"));"absolute"!==e&&"relative"!==e&&"fixed"!==e&&"sticky"!==e&&(t.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var t=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),eo(this._mapPane,new A(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(t4(t.markerPane,"leaflet-zoom-hide"),t4(t.shadowPane,"leaflet-zoom-hide"))},_resetView:function(t,e,n){eo(this._mapPane,new A(0,0));var o=!this._loaded,s=(this._loaded=!0,e=this._limitZoom(e),this.fire("viewprereset"),this._zoom!==e);this._moveStart(s,n)._move(t,e)._moveEnd(s),this.fire("viewreset"),o&&this.fire("load")},_moveStart:function(t,e){return t&&this.fire("zoomstart"),e||this.fire("movestart"),this},_move:function(t,e,n,o){void 0===e&&(e=this._zoom);var s=this._zoom!==e;return this._zoom=e,this._lastCenter=t,this._pixelOrigin=this._getNewPixelOrigin(t),o?n&&n.pinch&&this.fire("zoom",n):((s||n&&n.pinch)&&this.fire("zoom",n),this.fire("move",n)),this},_moveEnd:function(t){return t&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return k(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(t){eo(this._mapPane,this._getMapPanePos().subtract(t))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw Error("Set map center and zoom first.")},_initEvents:function(t){this._targets={};var e=t?ef:eu;e((this._targets[r(this._container)]=this)._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&e(window,"resize",this._onResize,this),tE.any3d&&this.options.transform3DLimit&&(t?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){k(this._resizeRequest),this._resizeRequest=S(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var t=this._getMapPanePos();Math.max(Math.abs(t.x),Math.abs(t.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(t,e){for(var n,o=[],s="mouseout"===e||"mouseover"===e,a=t.target||t.srcElement,l=!1;a;){if((n=this._targets[r(a)])&&("click"===e||"preclick"===e)&&this._draggableMoved(n)){l=!0;break}if(n&&n.listens(e,!0)&&(s&&!ek(a,t)||(o.push(n),s))||a===this._container)break;a=a.parentNode}return o.length||l||s||!this.listens(e,!0)?o:[this]},_isClickDisabled:function(t){for(;t&&t!==this._container;){if(t._leaflet_disable_click)return!0;t=t.parentNode}},_handleDOMEvent:function(t){var e,n=t.target||t.srcElement;!this._loaded||n._leaflet_disable_events||"click"===t.type&&this._isCl
vendor: 6,430 bytes, line 9
9ickDisabled(n)||("mousedown"===(e=t.type)&&el(n),this._fireDOMEvent(t,e))},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(t,n,o){"click"===t.type&&((h=e({},t)).type="preclick",this._fireDOMEvent(h,h.type,o));var s=this._findEventTargets(t,n);if(o){for(var a=[],r=0;r<o.length;r++)o[r].listens(n,!0)&&a.push(o[r]);s=a.concat(s)}if(s.length){"contextmenu"===n&&ew(t);var l,h=s[0],c={originalEvent:t};for("keypress"!==t.type&&"keydown"!==t.type&&"keyup"!==t.type&&(l=h.getLatLng&&(!h._radius||h._radius<=10),c.containerPoint=l?this.latLngToContainerPoint(h.getLatLng()):this.mouseEventToContainerPoint(t),c.layerPoint=this.containerPointToLayerPoint(c.containerPoint),c.latlng=l?h.getLatLng():this.layerPointToLatLng(c.layerPoint)),r=0;r<s.length;r++)if(s[r].fire(n,c,!0),c.originalEvent._stopped||!1===s[r].options.bubblingMouseEvents&&-1!==y(this._mouseEvents,n))return}},_draggableMoved:function(t){return(t=t.dragging&&t.dragging.enabled()?t:this).dragging&&t.dragging.moved()||this.boxZoom&&this.boxZoom.moved()},_clearHandlers:function(){for(var t=0,e=this._handlers.length;t<e;t++)this._handlers[t].disable()},whenReady:function(t,e){return this._loaded?t.call(e||this,{target:this}):this.on("load",t,e),this},_getMapPanePos:function(){return es(this._mapPane)||new A(0,0)},_moved:function(){var t=this._getMapPanePos();return t&&!t.equals([0,0])},_getTopLeftPoint:function(t,e){return(t&&void 0!==e?this._getNewPixelOrigin(t,e):this.getPixelOrigin()).subtract(this._getMapPanePos())},_getNewPixelOrigin:function(t,e){var n=this.getSize()._divideBy(2);return this.project(t,e)._subtract(n)._add(this._getMapPanePos())._round()},_latLngToNewLayerPoint:function(t,e,n){return n=this._getNewPixelOrigin(n,e),this.project(t,e)._subtract(n)},_latLngBoundsToNewLayerBounds:function(t,e,n){return n=this._getNewPixelOrigin(n,e),N([this.project(t.getSouthWest(),e)._subtract(n),this.project(t.getNorthWest(),e)._subtract(n),this.project(t.getSouthEast(),e)._subtract(n),this.project(t.getNorthEast(),e)._subtract(n)])},_getCenterLayerPoint:function(){return this.containerPointToLayerPoint(this.getSize()._divideBy(2))},_getCenterOffset:function(t){return this.latLngToLayerPoint(t).subtract(this._getCenterLayerPoint())},_limitCenter:function(t,e,n){var o,s;return!n||(o=this.project(t,e),s=this.getSize().divideBy(2),s=new Z(o.subtract(s),o.add(s)),1>=Math.abs((s=this._getBoundsOffset(s,n,e)).x)&&1>=Math.abs(s.y))?t:this.unproject(o.add(s),e)},_limitOffset:function(t,e){var n;return e?(n=new Z((n=this.getPixelBounds()).min.add(t),n.max.add(t)),t.add(this._getBoundsOffset(n,e))):t},_getBoundsOffset:function(t,e,n){return n=(e=N(this.project(e.getNorthEast(),n),this.project(e.getSouthWest(),n))).min.subtract(t.min),e=e.max.subtract(t.max),new A(this._rebound(n.x,-e.x),this._rebound(n.y,-e.y))},_rebound:function(t,e){return 0<t+e?Math.round(t-e)/2:Math.max(0,Math.ceil(t))-Math.max(0,Math.floor(e))},_limitZoom:function(t){var e=this.getMinZoom(),n=this.getMaxZoom(),o=tE.any3d?this.options.zoomSnap:1;return o&&(t=Math.round(t/o)*o),Math.max(e,Math.min(n,t))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){t7(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(t,e){return t=this._getCenterOffset(t)._trunc(),!(!0!==(e&&e.animate)&&!this.getSize().contains(t))&&(this.panBy(t,e),!0)},_createAnimProxy:function(){var t=this._proxy=t1("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(t),this.on("zoomanim",function(t){var e=this._proxy.style[tK];en(this._proxy,this.project(t.center,t.zoom),this.getZoomScale(t.zoom,1)),e===this._proxy.style[tK]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){t2(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var t=this.getCenter(),e=this.getZoom();en(this._proxy,this.project(t,e),this.getZoomScale(e,1))},_catchTransitionEnd:function(t){this._animatingZoom&&0<=t.propertyName.indexOf("transform")&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(t,e,n){if(!this._animatingZoom){if(n=n||{},!this._zoomAnimated||!1===n.animate||this._nothingToAnimate()||Math.abs(e-this._zoom)>this.options.zoomAnimationThreshold)return!1;var o=this.getZoomScale(e),o=this._getCenterOffset(t)._divideBy(1-1/o);if(!0!==n.animate&&!this.getSize().contains(o))return!1;S(function(){this._moveStart(!0,n.noMoveStart||!1)._animateZoom(t,e,!0)},this)}return!0},_animateZoom:function(t,e,n,o){this._mapPane&&(n&&(this._animatingZoom=!0,this._animateToCenter=t,this._animateToZoom=e,t4(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:t,zoom:e,noUpdate:o}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(s(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&t7(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function eE(t){return new eI(t)}var eI=z.extend({options:{position:"topright"},initialize:function(t){f(this,t)},getPosition:function(){return this.options.position},setPosition:function(t){var e=this._map;return e&&e.removeControl(this),this.options.position=t,e&&e.addControl(this),this},getContainer:function(){return this._container},addTo:function(t){this.remove(),this._map=t;var e=this._container=this.onAdd(t),n=this.getPosition(),t=t._controlCorners[n];return t4(e,"leaflet-control"),-1!==n.indexOf("bottom")?t.insertBefore(e,t.firstChild):t.appendChild(e),this._map.on("unload",this.remove,this),this},remove:function(){return this._map&&(t2(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null),this},_refocusOnMap:function(t){this._map&&t&&0<t.screenX&&0<t.screenY&&this._map.getContainer().focus()}}),eA=(ez.include({addControl:function(t){return t.addTo(this),this},removeControl:function(t){return t.remove(),this}
vendor: 14,312 bytes, line 9
9,_initControlPos:function(){var t=this._controlCorners={},e="leaflet-",n=this._controlContainer=t1("div",e+"control-container",this._container);function o(o,s){t[o+s]=t1("div",e+o+" "+e+s,n)}o("top","left"),o("top","right"),o("bottom","left"),o("bottom","right")},_clearControlPos:function(){for(var t in this._controlCorners)t2(this._controlCorners[t]);t2(this._controlContainer),delete this._controlCorners,delete this._controlContainer}}),eI.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(t,e,n,o){return n<o?-1:o<n?1:0}},initialize:function(t,e,n){for(var o in f(this,n),this._layerControlInputs=[],this._layers=[],this._lastZIndex=0,this._handlingClick=!1,this._preventClick=!1,t)this._addLayer(t[o],o);for(o in e)this._addLayer(e[o],o,!0)},onAdd:function(t){this._initLayout(),this._update(),(this._map=t).on("zoomend",this._checkDisabledLayers,this);for(var e=0;e<this._layers.length;e++)this._layers[e].layer.on("add remove",this._onLayerChange,this);return this._container},addTo:function(t){return eI.prototype.addTo.call(this,t),this._expandIfNotCollapsed()},onRemove:function(){this._map.off("zoomend",this._checkDisabledLayers,this);for(var t=0;t<this._layers.length;t++)this._layers[t].layer.off("add remove",this._onLayerChange,this)},addBaseLayer:function(t,e){return this._addLayer(t,e),this._map?this._update():this},addOverlay:function(t,e){return this._addLayer(t,e,!0),this._map?this._update():this},removeLayer:function(t){return t.off("add remove",this._onLayerChange,this),(t=this._getLayer(r(t)))&&this._layers.splice(this._layers.indexOf(t),1),this._map?this._update():this},expand:function(){t4(this._container,"leaflet-control-layers-expanded"),this._section.style.height=null;var t=this._map.getSize().y-(this._container.offsetTop+50);return t<this._section.clientHeight?(t4(this._section,"leaflet-control-layers-scrollbar"),this._section.style.height=t+"px"):t7(this._section,"leaflet-control-layers-scrollbar"),this._checkDisabledLayers(),this},collapse:function(){return t7(this._container,"leaflet-control-layers-expanded"),this},_initLayout:function(){var t="leaflet-control-layers",e=this._container=t1("div",t),n=this.options.collapsed,o=(e.setAttribute("aria-haspopup",!0),ex(e),eb(e),this._section=t1("section",t+"-list")),s=(n&&(this._map.on("click",this.collapse,this),eu(e,{mouseenter:this._expandSafely,mouseleave:this.collapse},this)),this._layersLink=t1("a",t+"-toggle",e));s.href="#",s.title="Layers",s.setAttribute("role","button"),eu(s,{keydown:function(t){13===t.keyCode&&this._expandSafely()},click:function(t){ew(t),this._expandSafely()}},this),n||this.expand(),this._baseLayersList=t1("div",t+"-base",o),this._separator=t1("div",t+"-separator",o),this._overlaysList=t1("div",t+"-overlays",o),e.appendChild(o)},_getLayer:function(t){for(var e=0;e<this._layers.length;e++)if(this._layers[e]&&r(this._layers[e].layer)===t)return this._layers[e]},_addLayer:function(t,e,n){this._map&&t.on("add remove",this._onLayerChange,this),this._layers.push({layer:t,name:e,overlay:n}),this.options.sortLayers&&this._layers.sort(s(function(t,e){return this.options.sortFunction(t.layer,e.layer,t.name,e.name)},this)),this.options.autoZIndex&&t.setZIndex&&(this._lastZIndex++,t.setZIndex(this._lastZIndex)),this._expandIfNotCollapsed()},_update:function(){if(this._container){t3(this._baseLayersList),t3(this._overlaysList),this._layerControlInputs=[];for(var t,e,n,o=0,s=0;s<this._layers.length;s++)n=this._layers[s],this._addItem(n),e=e||n.overlay,t=t||!n.overlay,o+=n.overlay?0:1;this.options.hideSingleBase&&(this._baseLayersList.style.display=(t=t&&1<o)?"":"none"),this._separator.style.display=e&&t?"":"none"}return this},_onLayerChange:function(t){this._handlingClick||this._update();var e=this._getLayer(r(t.target)),t=e.overlay?"add"===t.type?"overlayadd":"overlayremove":"add"===t.type?"baselayerchange":null;t&&this._map.fire(t,e)},_createRadioElement:function(t,e){return t='<input type="radio" class="leaflet-control-layers-selector" name="'+t+'"'+(e?' checked="checked"':"")+"/>",(e=document.createElement("div")).innerHTML=t,e.firstChild},_addItem:function(t){var e,n=document.createElement("label"),o=this._map.hasLayer(t.layer),o=(t.overlay?((e=document.createElement("input")).type="checkbox",e.className="leaflet-control-layers-selector",e.defaultChecked=o):e=this._createRadioElement("leaflet-base-layers_"+r(this),o),this._layerControlInputs.push(e),e.layerId=r(t.layer),eu(e,"click",this._onInputClick,this),document.createElement("span")),s=(o.innerHTML=" "+t.name,document.createElement("span"));return n.appendChild(s),s.appendChild(e),s.appendChild(o),(t.overlay?this._overlaysList:this._baseLayersList).appendChild(n),this._checkDisabledLayers(),n},_onInputClick:function(){if(!this._preventClick){var t,e,n=this._layerControlInputs,o=[],s=[];this._handlingClick=!0;for(var a=n.length-1;0<=a;a--)t=n[a],e=this._getLayer(t.layerId).layer,t.checked?o.push(e):t.checked||s.push(e);for(a=0;a<s.length;a++)this._map.hasLayer(s[a])&&this._map.removeLayer(s[a]);for(a=0;a<o.length;a++)this._map.hasLayer(o[a])||this._map.addLayer(o[a]);this._handlingClick=!1,this._refocusOnMap()}},_checkDisabledLayers:function(){for(var t,e,n=this._layerControlInputs,o=this._map.getZoom(),s=n.length-1;0<=s;s--)t=n[s],e=this._getLayer(t.layerId).layer,t.disabled=void 0!==e.options.minZoom&&o<e.options.minZoom||void 0!==e.options.maxZoom&&o>e.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var t=this._section,e=(this._preventClick=!0,eu(t,"click",ew),this.expand(),this);setTimeout(function(){ef(t,"click",ew),e._preventClick=!1})}})),eO=eI.extend({options:{position:"topleft",zoomInText:'<span aria-hidden="true">+</span>',zoomInTitle:"Zoom in",zoomOutText:'<span aria-hidden="true">−</span>',zoomOutTitle:"Zoom out"},onAdd:function(t){var e="leaflet-control-zoom",n=t1("div",e+" leaflet-bar"),o=this.options;return this._zoomInButton=this._createButton(o.zoomInText,o.zoomInTitle,e+"-in",n,this._zoomIn),this._zoomOutButton=this._createButton(o.zoomOutText,o.zoomOutTitle,e+"-out",n,this._zoomOut),this._updateDisabled(),t.on("zoomend zoomlevelschange",this._updateDisabled,this),n},onRemove:function(t){t.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(t){!this._disabled&&this._map._zoom<this._map.getMaxZoom()&&this._map.zoomIn(this._map.options.zoomDelta*(t.shiftKey?3:1))},_zoomOut:function(t){!this._disabled&&this._map._zoom>this._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(t.shiftKey?3:1))},_createButton:function(t,e,n,o,s){return(n=t1("a",n,o)).innerHTML=t,n.href="#",n.title=e,n.setAttribute("role","button"),n.setAttribute("aria-label",e),ex(n),eu(n,"click",eP),eu(n,"click",s,this),eu(n,"click",this._refocusOnMap,this),n},_updateDisabled:function(){var t=this._map,e="leaflet-disabled";t7(this._zoomInButton,e),t7(this._zoomOutButton,e),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||t._zoom===t.getMinZoom())&&(t4(this._zoomOutButton,e),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||t._zoom===t.getMaxZoom())&&(t4(this._zoomInButton,e),this._zoomInButton.setAttribute("aria-disabled","true"))}}),eB=(ez.mergeOptions({zoomControl:!0}),ez.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new eO,this.addControl(this.zoomControl))}),eI.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(t){var e="leaflet-control-scale",n=t1("div",e),o=this.options;return this._addScales(o,e+"-line",n),t.on(o.updateWhenIdle?"moveend":"move",this._update,this),t.whenReady(this._update,this),n},onRemove:function(t){t.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(t,e,n){t.metric&&(this._mScale=t1("div",e,n)),t.imperial&&(this._iScale=t1("div",e,n))},_update:function(){var t=this._map,e=t.getSize().y/2,t=t.distance(t.containerPointToLatLng([0,e]),t.containerPointToLatLng([this.options.maxWidth,e]));this._updateScales(t)},_updateScales:function(t){this.options.metric&&t&&this._updateMetric(t),this.options.imperial&&t&&this._updateImperial(t)},_updateMetric:function(t){var e=this._getRoundNum(t);this._updateScale(this._mScale,e<1e3?e+" m":e/1e3+" km",e/t)},_updateImperial:function(t){var e,n,t=3.2808399*t;5280<t?(n=this._getRoundNum(e=t/5280),this._updateScale(this._iScale,n+" mi",n/e)):(n=this._getRoundNum(t),this._updateScale(this._iScale,n+" ft",n/t))},_updateScale:function(t,e,n){t.style.width=Math.round(this.options.maxWidth*n)+"px",t.innerHTML=e},_getRoundNum:function(t){var e=Math.pow(10,(Math.floor(t)+"").length-1),t=t/e;return e*(t=10<=t?10:5<=t?5:3<=t?3:2<=t?2:1)}})),eZ=eI.extend({options:{position:"bottomright",prefix:'<a href="https://leafletjs.com" title="A JavaScript library for interactive maps">'+(tE.inlineSvg?'<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8" class="leaflet-attribution-flag"><path fill="#4C7BE1" d="M0 0h12v4H0z"/><path fill="#FFD500" d="M0 4h12v3H0z"/><path fill="#E0BC00" d="M0 7h12v1H0z"/></svg> ':"")+"Leaflet</a>"},initialize:function(t){f(this,t),this._attributions={}},onAdd:function(t){for(var e in(t.attributionControl=this)._container=t1("div","leaflet-control-attribution"),ex(this._container),t._layers)t._layers[e].getAttribution&&this.addAttribution(t._layers[e].getAttribution());return this._update(),t.on("layeradd",this._addAttribution,this),this._container},onRemove:function(t){t.off("layeradd",this._addAttribution,this)},_addAttribution:function(t){t.layer.getAttribution&&(this.addAttribution(t.layer.getAttribution()),t.layer.once("remove",function(){this.removeAttribution(t.layer.getAttribution())},this))},setPrefix:function(t){return this.options.prefix=t,this._update(),this},addAttribution:function(t){return t&&(this._attributions[t]||(this._attributions[t]=0),this._attributions[t]++,this._update()),this},removeAttribution:function(t){return t&&this._attributions[t]&&(this._attributions[t]--,this._update()),this},_update:function(){if(this._map){var t,e=[];for(t in this._attributions)this._attributions[t]&&e.push(t);var n=[];this.options.prefix&&n.push(this.options.prefix),e.length&&n.push(e.join(", ")),this._container.innerHTML=n.join(' <span aria-hidden="true">|</span> ')}}}),te=(ez.mergeOptions({attributionControl:!0}),ez.addInitHook(function(){this.options.attributionControl&&(new eZ).addTo(this)}),eI.Layers=eA,eI.Zoom=eO,eI.Scale=eB,eI.Attribution=eZ,eE.layers=function(t,e,n){return new eA(t,e,n)},eE.zoom=function(t){return new eO(t)},eE.scale=function(t){return new eB(t)},eE.attribution=function(t){return new eZ(t)},z.extend({initialize:function(t){this._map=t},enable:function(){return this._enabled||(this._enabled=!0,this.addHooks()),this},disable:function(){return this._enabled&&(this._enabled=!1,this.removeHooks()),this},enabled:function(){return!!this._enabled}})),ti=(te.addTo=function(t,e){return t.addHandler(e,this),this},{Events:E}),eN=tE.touch?"touchstart mousedown":"mousedown",ej=I.extend({options:{clickTolerance:3},initialize:function(t,e,n,o){f(this,o),this._element=t,this._dragStartTarget=e||t,this._preventOutline=n},enable:function(){this._enabled||(eu(this._dragStartTarget,eN,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(ej._dragging===this&&this.finishDrag(!0),ef(this._dragStartTarget,eN,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(t){var e,n;this._enabled&&(this._moved=!1,t9(this._element,"leaflet-zoom-anim")||(t.touches&&1!==t.touches.length?ej._dragging===this&&this.finishDrag():ej._dragging||t.shiftKey||1!==t.which&&1!==t.button&&!t.touches||((ej._dragging=this)._preventOutline&&el(this._element),ea(),tU(),this._moving||(this.fire("down"),n=t.touches?t.touches[0]:t,e=ec(this._element),this._startPoint=new A(n.clientX,n.clientY),this._startPos=es(this._element),this._parentScale=ed(e),n="mousedown"===t.type,eu(document,n?"mousemove":"touchmove",this._onMove,this),eu(document,n?"mouseup":"touchend touchcancel",this._onUp,this)))))},_onMove:function(t){var e;this._enabled&&(t.touches&&1<t.touches.length?this._moved=!0:!(e=new A((e=t.touches&&1===t.touches.length?t.touches[0]:t).clientX,e.clientY)._subtract(this._startPoint)).x&&!e.y||Math.abs(e.x)+Math.abs(e.y)<this.options.clickTolerance||(e.x/=this._parentScale.x,e.y/=this._parentScale.y,ew(t),this._moved||(this.fire("dragstart"),this._moved=!0,t4(document.body,"leaflet-dragging"),this._lastTarget=t.target||t.srcElement,window.SVGElementInstance&&this._lastTarget instanceof window.SVGElementInstance&&(this._lastTarget=this._lastTarget.correspondingUseElement),t4(this._lastTarget,"leaflet-drag-target")),this._newPos=this._startPos.add(e),this._moving=!0,this._lastEvent=t,this._updatePosition()))},_updatePosition:function(){var t={originalEvent:this._lastEvent};this.fire("predrag",t),eo(this._element,this._newPos),this.fire("drag",t)},_onUp:function(){this._enabled&&this.finishDrag()},finishDrag:function(t){t7(document.body,"leaflet-dragging"),this._lastTarget&&(t7(this._lastTarget,"leaflet-drag-target"),this._lastTarget=null),ef(document,"mousemove touchmove",this._onMove,this),ef(document,"mouseup touchend touchcancel",this._onUp,this),er(),tV();var e=this._moved&&this._moving;this._moving=!1,ej._dragging=!1,e&&this.fire("dragend",{noInertia:t,distance:this._newPos.distanceTo(this._startPos)})}});function e$(t,e,n){for(var o,s,a,r,l,h,c,d=[1,4,2,8],u=0,p=t.length;u<p;u++)t[u]._code=eV(t[u],e);for(a=0;a<4;a++){for(h=d[a],o=[],u=0,s=(p=t.length)-1;u<p;s=u++)r=t[u],l=t[s],r._code&h?l._code&h||((c=eU(l,r,h,e,n))._code=eV(c,e),o.push(c)):(l._code&h&&((c=eU(l,r,h,e,n))._code=eV(c,e),o.push(c)),o.push(r));t=o}return t}function eD(t,e){var n,o,s,a,r,l,h;if(!t||0===t.length)throw Error("latlngs not passed");eG(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);for(var c=H([0,0]),d=D(t),u=(d.getNorthWest().distanceTo(d.getSouthWest
9())*d.getNorthEast().distanceTo(d.getNorthWest())<1700&&(c=eR(t)),t.length),p=[],f=0;f<u;f++){var m=H(t[f]);p.push(e.project(H([m.lat-c.lat,m.lng-c.lng])))}for(f=r=l=h=0,n=u-1;f<u;n=f++)o=p[f],s=p[n],a=o.y*s.x-s.y*o.x,l+=(o.x+s.x)*a,h+=(o.y+s.y)*a,r+=3*a;return d=0===r?p[0]:[l/r,h/r],H([(d=e.unproject(B(d))).lat+c.lat,d.lng+c.lng])}function eR(t){for(var e=0,n=0,o=0,s=0;s<t.length;s++){var a=H(t[s]);e+=a.lat,n+=a.lng,o++}return H([e/o,n/o])}var eH,tn={__proto__:null,clipPolygon:e$,polygonCenter:eD,centroid:eR};function eW(t,e){if(e&&t.length){var n=t=function(t,e){for(var n=[t[0]],o=1,s=0,a=t.length;o<a;o++)(function(t,e){var n=e.x-t.x,e=e.y-t.y;return n*n+e*e})(t[o],t[s])>e&&(n.push(t[o]),s=o);return s<a-1&&n.push(t[a-1]),n}(t,e*=e),o=n.length,s=new("undefined"!=typeof Uint8Array?Uint8Array:Array)(o);s[0]=s[o-1]=1,function t(e,n,o,s,a){var r,l,h,c=0;for(l=s+1;l<=a-1;l++)c<(h=eQ(e[l],e[s],e[a],!0))&&(r=l,c=h);o<c&&(n[r]=1,t(e,n,o,s,r),t(e,n,o,r,a))}(n,s,e,0,o-1);var a,r=[];for(a=0;a<o;a++)s[a]&&r.push(n[a]);return r}return t.slice()}function eF(t,e,n){return Math.sqrt(eQ(t,e,n,!0))}
vendor: 28,365 bytes, line 9
9function eq(t,e,n,o,s){var a,r,l,h=o?eH:eV(t,n),c=eV(e,n);for(eH=c;;){if(!(h|c))return[t,e];if(h&c)return!1;l=eV(r=eU(t,e,a=h||c,n,s),n),a===h?(t=r,h=l):(e=r,c=l)}}function eU(t,e,n,o,s){var a,r,l=e.x-t.x,e=e.y-t.y,h=o.min,o=o.max;return 8&n?(a=t.x+l*(o.y-t.y)/e,r=o.y):4&n?(a=t.x+l*(h.y-t.y)/e,r=h.y):2&n?(a=o.x,r=t.y+e*(o.x-t.x)/l):1&n&&(a=h.x,r=t.y+e*(h.x-t.x)/l),new A(a,r,s)}function eV(t,e){var n=0;return t.x<e.min.x?n|=1:t.x>e.max.x&&(n|=2),t.y<e.min.y?n|=4:t.y>e.max.y&&(n|=8),n}function eQ(t,e,n,o){var s=e.x,e=e.y,a=n.x-s,r=n.y-e,l=a*a+r*r;return 0<l&&(1<(l=((t.x-s)*a+(t.y-e)*r)/l)?(s=n.x,e=n.y):0<l&&(s+=a*l,e+=r*l)),a=t.x-s,r=t.y-e,o?a*a+r*r:new A(s,e)}function eG(t){return!v(t[0])||"object"!=typeof t[0][0]&&void 0!==t[0][0]}function eK(t){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),eG(t)}function eY(t,e){var n,o,s,a,r,l;if(!t||0===t.length)throw Error("latlngs not passed");eG(t)||(console.warn("latlngs are not flat! Only the first ring will be used"),t=t[0]);for(var h=H([0,0]),c=D(t),d=(c.getNorthWest().distanceTo(c.getSouthWest())*c.getNorthEast().distanceTo(c.getNorthWest())<1700&&(h=eR(t)),t.length),u=[],p=0;p<d;p++){var f=H(t[p]);u.push(e.project(H([f.lat-h.lat,f.lng-h.lng])))}for(n=p=0;p<d-1;p++)n+=u[p].distanceTo(u[p+1])/2;if(0===n)l=u[0];else for(o=p=0;p<d-1;p++)if(s=u[p],a=u[p+1],n<(o+=r=s.distanceTo(a))){l=[a.x-(r=(o-n)/r)*(a.x-s.x),a.y-r*(a.y-s.y)];break}return H([(c=e.unproject(B(l))).lat+h.lat,c.lng+h.lng])}var to={__proto__:null,simplify:eW,pointToSegmentDistance:eF,closestPointOnSegment:function(t,e,n){return eQ(t,e,n)},clipSegment:eq,_getEdgeIntersection:eU,_getBitCode:eV,_sqClosestPointOnSegment:eQ,isFlat:eG,_flat:eK,polylineCenter:eY},ts={project:function(t){return new A(t.lng,t.lat)},unproject:function(t){return new R(t.y,t.x)},bounds:new Z([-180,-90],[180,90])},ta={R:6378137,R_MINOR:6356752.314245179,bounds:new Z([-20037508.34279,-15496570.73972],[20037508.34279,18764656.23138]),project:function(t){var e=Math.PI/180,n=this.R,o=t.lat*e,s=this.R_MINOR/n,s=Math.sqrt(1-s*s),a=s*Math.sin(o),a=Math.tan(Math.PI/4-o/2)/Math.pow((1-a)/(1+a),s/2),o=-n*Math.log(Math.max(a,1e-10));return new A(t.lng*e*n,o)},unproject:function(t){for(var e,n=180/Math.PI,o=this.R,s=this.R_MINOR/o,a=Math.sqrt(1-s*s),r=Math.exp(-t.y/o),l=Math.PI/2-2*Math.atan(r),h=0,c=.1;h<15&&1e-7<Math.abs(c);h++)e=Math.pow((1-(e=a*Math.sin(l)))/(1+e),a/2),l+=c=Math.PI/2-2*Math.atan(r*e)-l;return new R(l*n,t.x*n/o)}},tr={__proto__:null,LonLat:ts,Mercator:ta,SphericalMercator:q},th=e({},F,{code:"EPSG:3395",projection:ta,transformation:V(tl=.5/(Math.PI*ta.R),.5,-tl,.5)}),eX=e({},F,{code:"EPSG:4326",projection:ts,transformation:V(1/180,1,-1/180,.5)}),tc=e({},W,{projection:ts,transformation:V(1,0,-1,0),scale:function(t){return Math.pow(2,t)},zoom:function(t){return Math.log(t)/Math.LN2},distance:function(t,e){var n=e.lng-t.lng,e=e.lat-t.lat;return Math.sqrt(n*n+e*e)},infinite:!0}),td=(W.Earth=F,W.EPSG3395=th,W.EPSG3857=Q,W.EPSG900913=G,W.EPSG4326=eX,W.Simple=tc,I.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(t){return t.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(t){return t&&t.removeLayer(this),this},getPane:function(t){return this._map.getPane(t?this.options[t]||t:this.options.pane)},addInteractiveTarget:function(t){return this._map._targets[r(t)]=this},removeInteractiveTarget:function(t){return delete this._map._targets[r(t)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(t){var e,n=t.target;n.hasLayer(this)&&(this._map=n,this._zoomAnimated=n._zoomAnimated,this.getEvents&&(e=this.getEvents(),n.on(e,this),this.once("remove",function(){n.off(e,this)},this)),this.onAdd(n),this.fire("add"),n.fire("layeradd",{layer:this}))}})),eJ=(ez.include({addLayer:function(t){var e;if(t._layerAdd)return e=r(t),this._layers[e]||((this._layers[e]=t)._mapToAdd=this,t.beforeAdd&&t.beforeAdd(this),this.whenReady(t._layerAdd,t)),this;throw Error("The provided object is not a Layer.")},removeLayer:function(t){var e=r(t);return this._layers[e]&&(this._loaded&&t.onRemove(this),delete this._layers[e],this._loaded&&(this.fire("layerremove",{layer:t}),t.fire("remove")),t._map=t._mapToAdd=null),this},hasLayer:function(t){return r(t) in this._layers},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},_addLayers:function(t){for(var e=0,n=(t=t?v(t)?t:[t]:[]).length;e<n;e++)this.addLayer(t[e])},_addZoomLimit:function(t){isNaN(t.options.maxZoom)&&isNaN(t.options.minZoom)||(this._zoomBoundLayers[r(t)]=t,this._updateZoomLevels())},_removeZoomLimit:function(t){t=r(t),this._zoomBoundLayers[t]&&(delete this._zoomBoundLayers[t],this._updateZoomLevels())},_updateZoomLevels:function(){var t,e=1/0,n=-1/0,o=this._getZoomSpan();for(t in this._zoomBoundLayers)var s=this._zoomBoundLayers[t].options,e=void 0===s.minZoom?e:Math.min(e,s.minZoom),n=void 0===s.maxZoom?n:Math.max(n,s.maxZoom);this._layersMaxZoom=n===-1/0?void 0:n,this._layersMinZoom=e===1/0?void 0:e,o!==this._getZoomSpan()&&this.fire("zoomlevelschange"),void 0===this.options.maxZoom&&this._layersMaxZoom&&this.getZoom()>this._layersMaxZoom&&this.setZoom(this._layersMaxZoom),void 0===this.options.minZoom&&this._layersMinZoom&&this.getZoom()<this._layersMinZoom&&this.setZoom(this._layersMinZoom)}}),td.extend({initialize:function(t,e){var n,o;if(f(this,e),this._layers={},t)for(n=0,o=t.length;n<o;n++)this.addLayer(t[n])},addLayer:function(t){var e=this.getLayerId(t);return this._layers[e]=t,this._map&&this._map.addLayer(t),this},removeLayer:function(t){return t=t in this._layers?t:this.getLayerId(t),this._map&&this._layers[t]&&this._map.removeLayer(this._layers[t]),delete this._layers[t],this},hasLayer:function(t){return("number"==typeof t?t:this.getLayerId(t))in this._layers},clearLayers:function(){return this.eachLayer(this.removeLayer,this)},invoke:function(t){var e,n,o=Array.prototype.slice.call(arguments,1);for(e in this._layers)(n=this._layers[e])[t]&&n[t].apply(n,o);return this},onAdd:function(t){this.eachLayer(t.addLayer,t)},onRemove:function(t){this.eachLayer(t.removeLayer,t)},eachLayer:function(t,e){for(var n in this._layers)t.call(e,this._layers[n]);return this},getLayer:function(t){return this._layers[t]},getLayers:function(){var t=[];return this.eachLayer(t.push,t),t},setZIndex:function(t){return this.invoke("setZIndex",t)},getLayerId:r})),e0=eJ.extend({addLayer:function(t){return this.hasLayer(t)?this:(t.addEventParent(this),eJ.prototype.addLayer.call(this,t),this.fire("layeradd",{layer:t}))},removeLayer:function(t){return this.hasLayer(t)?((t=t in this._layers?this._layers[t]:t).removeEventParent(this),eJ.prototype.removeLayer.call(this,t),this.fire("layerremove",{layer:t})):this},setStyle:function(t){return this.invoke("setStyle",t)},bringToFront:function(){return this.invoke("bringToFront")},bringToBack:function(){return this.invoke("bringToBack")},getBounds:function(){var t,e=new j;for(t in this._layers){var n=this._layers[t];e.extend(n.getBounds?n.getBounds():n.getLatLng())}return e}}),e1=z.extend({options:{popupAnchor:[0,0],tooltipAnchor:[0,0],crossOrigin:!1},initialize:function(t){f(this,t)},createIcon:function(t){return this._createIcon("icon",t)},createShadow:function(t){return this._createIcon("shadow",t)},_createIcon:function(t,e){var n=this._getIconUrl(t);if(n)return n=this._createImg(n,e&&"IMG"===e.tagName?e:null),this._setIconStyles(n,t),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),n;if("icon"===t)throw Error("iconUrl not set in Icon options (see the docs).");return null},_setIconStyles:function(t,e){var n=this.options,o=n[e+"Size"],o=B(o="number"==typeof o?[o,o]:o),s=B("shadow"===e&&n.shadowAnchor||n.iconAnchor||o&&o.divideBy(2,!0));t.className="leaflet-marker-"+e+" "+(n.className||""),s&&(t.style.marginLeft=-s.x+"px",t.style.marginTop=-s.y+"px"),o&&(t.style.width=o.x+"px",t.style.height=o.y+"px")},_createImg:function(t,e){return(e=e||document.createElement("img")).src=t,e},_getIconUrl:function(t){return tE.retina&&this.options[t+"RetinaUrl"]||this.options[t+"Url"]}}),e2=e1.extend({options:{iconUrl:"marker-icon.png",iconRetinaUrl:"marker-icon-2x.png",shadowUrl:"marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]},_getIconUrl:function(t){return"string"!=typeof e2.imagePath&&(e2.imagePath=this._detectIconPath()),(this.options.imagePath||e2.imagePath)+e1.prototype._getIconUrl.call(this,t)},_stripUrl:function(t){function e(t,e,n){return(e=e.exec(t))&&e[n]}return(t=e(t,/^url\((['"])?(.+)\1\)$/,2))&&e(t,/^(.*)marker-icon\.png$/,1)},_detectIconPath:function(){var t=t1("div","leaflet-default-icon-path",document.body),e=t0(t,"background-image")||t0(t,"backgroundImage");return document.body.removeChild(t),(e=this._stripUrl(e))?e:(t=document.querySelector('link[href$="leaflet.css"]'))?t.href.substring(0,t.href.length-11-1):""}}),e3=te.extend({initialize:function(t){this._marker=t},addHooks:function(){var t=this._marker._icon;this._draggable||(this._draggable=new ej(t,t,!0)),this._draggable.on({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).enable(),t4(t,"leaflet-marker-draggable")},removeHooks:function(){this._draggable.off({dragstart:this._onDragStart,predrag:this._onPreDrag,drag:this._onDrag,dragend:this._onDragEnd},this).disable(),this._marker._icon&&t7(this._marker._icon,"leaflet-marker-draggable")},moved:function(){return this._draggable&&this._draggable._moved},_adjustPan:function(t){var e=this._marker,n=e._map,o=this._marker.options.autoPanSpeed,s=this._marker.options.autoPanPadding,a=es(e._icon),r=n.getPixelBounds(),l=n.getPixelOrigin(),l=N(r.min._subtract(l).add(s),r.max._subtract(l).subtract(s));l.contains(a)||(s=B((Math.max(l.max.x,a.x)-l.max.x)/(r.max.x-l.max.x)-(Math.min(l.min.x,a.x)-l.min.x)/(r.min.x-l.min.x),(Math.max(l.max.y,a.y)-l.max.y)/(r.max.y-l.max.y)-(Math.min(l.min.y,a.y)-l.min.y)/(r.min.y-l.min.y)).multiplyBy(o),n.panBy(s,{animate:!1}),this._draggable._newPos._add(s),this._draggable._startPos._add(s),eo(e._icon,this._draggable._newPos),this._onDrag(t),this._panRequest=S(this._adjustPan.bind(this,t)))},_onDragStart:function(){this._oldLatLng=this._marker.getLatLng(),this._marker.closePopup&&this._marker.closePopup(),this._marker.fire("movestart").fire("dragstart")},_onPreDrag:function(t){this._marker.options.autoPan&&(k(this._panRequest),this._panRequest=S(this._adjustPan.bind(this,t)))},_onDrag:function(t){var e=this._marker,n=e._shadow,o=es(e._icon),s=e._map.layerPointToLatLng(o);n&&eo(n,o),e._latlng=s,t.latlng=s,t.oldLatLng=this._oldLatLng,e.fire("move",t).fire("drag",t)},_onDragEnd:function(t){k(this._panRequest),delete this._oldLatLng,this._marker.fire("moveend").fire("dragend",t)}}),e5=td.extend({options:{icon:new e2,interactive:!0,keyboard:!0,title:"",alt:"Marker",zIndexOffset:0,opacity:1,riseOnHover:!1,riseOffset:250,pane:"markerPane",shadowPane:"shadowPane",bubblingMouseEvents:!1,autoPanOnFocus:!0,draggable:!1,autoPan:!1,autoPanPadding:[50,50],autoPanSpeed:10},initialize:function(t,e){f(this,e),this._latlng=H(t)},onAdd:function(t){this._zoomAnimated=this._zoomAnimated&&t.options.markerZoomAnimation,this._zoomAnimated&&t.on("zoomanim",this._animateZoom,this),this._initIcon(),this.update()},onRemove:function(t){this.dragging&&this.dragging.enabled()&&(this.options.draggable=!0,this.dragging.removeHooks()),delete this.dragging,this._zoomAnimated&&t.off("zoomanim",this._animateZoom,this),this._removeIcon(),this._removeShadow()},getEvents:function(){return{zoom:this.update,viewreset:this.update}},getLatLng:function(){return this._latlng},setLatLng:function(t){var e=this._latlng;return this._latlng=H(t),this.update(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},setZIndexOffset:function(t){return this.options.zIndexOffset=t,this.update()},getIcon:function(){return this.options.icon},setIcon:function(t){return this.options.icon=t,this._map&&(this._initIcon(),this.update()),this._popup&&this.bindPopup(this._popup,this._popup.options),this},getElement:function(){return this._icon},update:function(){var t;return this._icon&&this._map&&(t=this._map.latLngToLayerPoint(this._latlng).round(),this._setPos(t)),this},_initIcon:function(){var t=this.options,e="leaflet-zoom-"+(this._zoomAnimated?"animated":"hide"),n=t.icon.createIcon(this._icon),o=!1,n=(n!==this._icon&&(this._icon&&this._removeIcon(),o=!0,t.title&&(n.title=t.title),"IMG"===n.tagName&&(n.alt=t.alt||"")),t4(n,e),t.keyboard&&(n.tabIndex="0",n.setAttribute("role","button")),this._icon=n,t.riseOnHover&&this.on({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&eu(n,"focus",this._panOnFocus,this),t.icon.createShadow(this._shadow)),s=!1;n!==this._shadow&&(this._removeShadow(),s=!0),n&&(t4(n,e),n.alt=""),this._shadow=n,t.opacity<1&&this._updateOpacity(),o&&this.getPane().appendChild(this._icon),this._initInteraction(),n&&s&&this.getPane(t.shadowPane).appendChild(this._shadow)},_removeIcon:function(){this.options.riseOnHover&&this.off({mouseover:this._bringToFront,mouseout:this._resetZIndex}),this.options.autoPanOnFocus&&ef(this._icon,"focus",this._panOnFocus,this),t2(this._icon),this.removeInteractiveTarget(this._icon),this._icon=null},_removeShadow:function(){this._shadow&&t2(this._shadow),this._shadow=null},_setPos:function(t){this._icon&&eo(this._icon,t),this._shadow&&eo(this._shadow,t),this._zIndex=t.y+this.options.zIndexOffset,this._resetZIndex()},_updateZIndex:function(t){this._icon&&(this._icon.style.zIndex=this._zIndex+t)},_animateZoom:function(t){t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center).round(),this._setPos(t)},_initInteraction:function(){var t;this.options.interactive&&(t4(this._icon,"leaflet-interactive"),this.addInteractiveTarget(this._icon),e3&&(t=this.options.draggable,this.dragging&&(t=this.dragging.enabled(),this.dragging.disable()),this.dragging=new e3(this),t&&this.dragging.enable()))},setOpacity:function(t){return this.options.opacity=t,this._map&&this._updateOpacity(),this},_updateOpacity:function(){var t=this.options.opacity;this._icon&&ee(this._icon,t),this._shadow&&ee(this._shadow,t)},_bringToFront:function(){this._updateZIndex(this.options.riseOffset)},_resetZIndex:function(){this._updateZIndex(0)},_panOnFocus:function(){var t,e,n=this._map;n&&(t=(e=this.options.icon.options).iconSize?B(e.iconSize):B(0,0),e=e.iconAnchor?B(e.iconAnchor):B(0,0),n.panInside(this._latlng,{paddingTopLeft:e,paddingBottomRight:t.subtract(e)}))},_getPopupAnchor:function(){return this.options.icon.options.popupAnchor},_getTooltipAnchor:function(){return this.options.icon.options.tooltipAnchor}}),e8=td.extend({options:{stroke:!0,color:"#3388ff",weight:3,opacity:1,lineCap:"round",lineJoin:"round",dashArray:null,dashOffset:null,fill:!1,fillColor:null,fillOpacity:.2,fillRule:"evenodd",interactive:!0,bubblingMouseEvents:!0},beforeAdd:function(t){this._renderer=t.getRenderer(this)},onAdd:function(){this._renderer._initPath(this),this._reset(),this._renderer._addPath(this)},onRemove:function(){this._renderer._removePath(this)},redraw:function(){return this._map&&this._renderer._updatePath(this),this},setStyle:function(t){return f(this,t),this._renderer&&(this._renderer._updateStyle(this),this.options.stroke&&t&&Object.prototype.hasOwnProperty.call(t,"weight")&&this._updateBounds()),this},bringToFront:function(){return this._renderer&&this._renderer._bringToFront(this),this},bringToBack:function(){return this._renderer&&this._renderer._bringToBack(this),this},getElement:function(){return this._path},_reset:function(){this._project(),this._update()},_clickTolerance:function(){return(this.options.stroke?this.options.weight/2:0)+(this._renderer.options.tolerance||0)}}),e9=e8.extend({options:{fill:!0,radius:10},initialize:function(t,e){f(this,e),this._latlng=H(t),this._radius=this.options.radius},setLatLng:function(t){var e=this._latlng;return this._latlng=H(t),this.redraw(),this.fire("move",{oldLatLng:e,latlng:this._latlng})},getLatLng:function(){return this._latlng},setRadius:function(t){return this.options.radius=this._radius=t,this.redraw()},getRadius:function(){return this._radius},setStyle:function(t){var e=t&&t.radius||this._radius;return e8.prototype.setStyle.call(this,t),this.setRadius(e),this},_project:function(){this._point=this._map.latLngToLayerPoint(this._latlng),this._updateBounds()},_updateBounds:function(){var t=this._radius,e=this._radiusY||t,n=this._clickTolerance(),t=[t+n,e+n];this._pxBounds=new Z(this._point.subtract(t),this._point.add(t))},_update:function(){this._map&&this._updatePath()},_updatePath:function(){this._renderer._updateCircle(this)},_empty:function(){return this._radius&&!this._renderer._bounds.intersects(this._pxBounds)},_containsPoint:function(t){return t.distanceTo(this._point)<=this._radius+this._clickTolerance()}}),e4=e9.extend({initialize:function(t,n,o){if(f(this,n="number"==typeof n?e({},o,{radius:n}):n),this._latlng=H(t),isNaN(this.options.radius))throw Error("Circle radius cannot be NaN");this._mRadius=this.options.radius},setRadius:function(t){return this._mRadius=t,this.redraw()},getRadius:function(){return this._mRadius},getBounds:function(){var t=[this._radius,this._radiusY||this._radius];return new j(this._map.layerPointToLatLng(this._point.subtract(t)),this._map.layerPointToLatLng(this._point.add(t)))},setStyle:e8.prototype.setStyle,_project:function(){var t,e,n,o,s,a=this._latlng.lng,r=this._latlng.lat,l=this._map,h=l.options.crs;h.distance===F.distance?(o=Math.PI/180,s=this._mRadius/F.R/o,t=l.project([r+s,a]),e=l.project([r-s,a]),e=t.add(e).divideBy(2),(isNaN(o=Math.acos((Math.cos(s*o)-Math.sin(r*o)*Math.sin((n=l.unproject(e).lat)*o))/(Math.cos(r*o)*Math.cos(n*o)))/o)||0===o)&&(o=s/Math.cos(Math.PI/180*r)),this._point=e.subtract(l.getPixelOrigin()),this._radius=isNaN(o)?0:e.x-l.project([n,a-o]).x,this._radiusY=e.y-t.y):(s=h.unproject(h.project(this._latlng).subtract([this._mRadius,0])),this._point=l.latLngToLayerPoint(this._latlng),this._radius=this._point.x-l.latLngToLayerPoint(s).x),this._updateBounds()}}),e7=e8.extend({options:{smoothFactor:1,noClip:!1},initialize:function(t,e){f(this,e),this._setLatLngs(t)},getLatLngs:function(){return this._latlngs},setLatLngs:function(t){return this._setLatLngs(t),this.redraw()},isEmpty:function(){return!this._latlngs.length},closestLayerPoint:function(t){for(var e=1/0,n=null,o=eQ,s=0,a=this._parts.length;s<a;s++)for(var r=this._parts[s],l=1,h=r.length;l<h;l++){var c,d,u=o(t,c=r[l-1],d=r[l],!0);u<e&&(e=u,n=o(t,c,d))}return n&&(n.distance=Math.sqrt(e)),n},getCenter:function(){if(this._map)return eY(this._defaultShape(),this._map.options.crs);throw Error("Must add layer to map before using getCenter()")},getBounds:function(){return this._bounds},addLatLng:function(t,e){return e=e||this._defaultShape(),t=H(t),e.push(t),this._bounds.extend(t),this.redraw()},_setLatLngs:function(t){this._bounds=new j,this._latlngs=this._convertLatLngs(t)},_defaultShape:function(){return eG(this._latlngs)?this._latlngs:this._latlngs[0]},_convertLatLngs:function(t){for(var e=[],n=eG(t),o=0,s=t.length;o<s;o++)n?(e[o]=H(t[o]),this._bounds.extend(e[o])):e[o]=this._convertLatLngs(t[o]);return e},_project:function(){var t=new Z;this._rings=[],this._projectLatlngs(this._latlngs,this._rings,t),this._bounds.isValid()&&t.isValid()&&(this._rawPxBounds=t,this._updateBounds())},_updateBounds:function(){var t=this._clickTolerance(),t=new A(t,t);this._rawPxBounds&&(this._pxBounds=new Z([this._rawPxBounds.min.subtract(t),this._rawPxBounds.max.add(t)]))},_projectLatlngs:function(t,e,n){var o,s,a=t[0]instanceof R,r=t.length;if(a){for(s=[],o=0;o<r;o++)s[o]=this._map.latLngToLayerPoint(t[o]),n.extend(s[o]);e.push(s)}else for(o=0;o<r;o++)this._projectLatlngs(t[o],e,n)},_clipPoints:function(){var t=this._renderer._bounds;if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t)){if(this.options.noClip)this._parts=this._rings;else for(var e,n,o,s,a=this._parts,r=0,l=0,h=this._rings.length;r<h;r++)for(e=0,n=(s=this._rings[r]).length;e<n-1;e++)(o=eq(s[e],s[e+1],t,e,!0))&&(a[l]=a[l]||[],a[l].push(o[0]),o[1]===s[e+1]&&e!==n-2||(a[l].push(o[1]),l++))}},_simplifyPoints:function(){for(var t=this._parts,e=this.options.smoothFactor,n=0,o=t.length;n<o;n++)t[n]=eW(t[n],e)},_update:function(){this._map&&(this._clipPoints(),this._simplifyPoints(),this._updatePath())},_updatePath:function(){this._renderer._updatePoly(this)},_containsPoint:function(t,e){var n,o,s,a,r,l,h=this._clickTolerance();if(this._pxBounds&&this._pxBounds.contains(t)){for(n=0,a=this._parts.length;n<a;n++)for(o=0,s=(r=(l=this._parts[n]).length)-1;o<r;s=o++)if((e||0!==o)&&eF(t,l[s],l[o])<=h)return!0}return!1}});e7._flat=eK;var e6=e7.extend({options:{fill:!0},isEmpty:function(){return!this._latlngs.length||!this._latlngs[0].length},getCenter:function(){if(this._map)return eD(this._defaultShape(),this._map.options.crs);throw Error("Must add layer to map before using getCenter()")},_convertLatLngs:function(t){var t=e7.prototype._convertLatLngs.call(this,t),e=t.length;return 2<=e&&t[0]instanceof R&&t[0].equals(t[e-1])&&t.pop(),t},_setLatLngs:function(t){e7.prototype._setLatLngs.call(this,t),eG(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return(eG(this._latlngs[0])?this._latlngs:this._latlngs[0])[0]},_clipPoints:function(){var t=this._renderer._bounds,e=this.options.weight,e=new A(e,e),t=new Z(t.min.subtract(e),t.max.add(e));if(this._parts=[],this._pxBounds&&this._pxBounds.intersects(t)){if(this.options.noClip)this._parts=this._rings;else for(var n,o=0,s=this._rings.length;o<s;o++)(n=e$(this._rings[o],t,!0)).length&&this._parts.push(n)}},_updatePath:function(){this._renderer._updatePoly(this,!0)},_containsPoint:function(t){var e,n,o,s,a,r,l,h,c=!1;if(!this._pxBounds||!this._pxBounds.contains(t))return!1;for(s=0,l=this._parts.length;s<l;s++)for(a=0,r=(h=(e=this._parts[s]).length)-1;a<h;r=a++)n=e[a],o=e[r],n.y>t.y!=o.y>t.y&&t.x<(o.x-n.x)*(t.y-n.y)/(o.y-n.y)+n.x&&(c=!c);return c||e7.prototype._containsPoint.call(this,t,!0)}}),it=e0.extend({initialize:function(t,e){f(this,e),this._layers={},t&&this.addData(t)},addData:function(t){var e,n,o,s=v(t)?t:t.features;if(s){for(e=0,n=s.length;e<n;e++)((o=s[e]).geometries||o.geometry||o.features||o.coordinates)&&this.addData(o);return this}var a,r=this.options;return(!r.filter||r.filter(t))&&(a=ie(t,r))?(a.feature=ih(t),a.defaultOptions=a.options,this.resetStyle(a),r.onEachFeature&&r.onEachFeature(t,a),this.addLayer(a)):this},resetStyle:function(t){return void 0===t?this.eachLayer(this.resetStyle,this):(t.options=e({},t.defaultOptions),this._setLayerStyle(t,this.options.style),this)},setStyle:function(t){return this.eachLayer(function(e){this._setLayerStyle(e,t)},this)},_setLayerStyle:function(t,e){t.setStyle&&("function"==typeof e&&(e=e(t.feature)),t.setStyle(e))}});function ie(t,e){var n,o,s,a,r="Feature"===t.type?t.geometry:t,l=r?r.coordinates:null,h=[],c=e&&e.pointToLayer,d=e&&e.coordsToLatLng||io;if(!l&&!r)return null;switch(r.type){case"Point":return ii(c,t,n=d(l),e);case"MultiPoint":for(s=0,a=l.length;s<a;s++)n=d(l[s]),h.push(ii(c,t,n,e));return new e0(h);case"LineString":case"MultiLineString":return o=is(l,"LineString"===r.type?0:1,d),new e7(o,e);case"Polygon":case"MultiPolygon":return o=is(l,"Polygon"===r.type?1:2,d),new e6(o,e);case"GeometryCollection":for(s=0,a=r.geometries.length;s<a;s++){var u=ie({geometry:r.geometries[s],type:"Feature",properties:t.properties},e);u&&h.push(u)}return new e0(h);case"FeatureCollection":for(s=0,a=r.features.length;s<a;s++){var p=ie(r.features[s],e);p&&h.push(p)}return new e0(h);default:throw Error("Invalid GeoJSON object.")}}function ii(t,e,n,o){return t?t(e,n):new e5(n,o&&o.markersInheritOptions&&o)}function io(t){return new R(t[1],t[0],t[2])}function is(t,e,n){for(var o=[],s=0,a=t.length;s<a;s++)o.push(e?is(t[s],e-1,n):(n||io)(t[s]));return o}function ia(t,e){return void 0!==(t=H(t)).alt?[d(t.lng,e),d(t.lat,e),d(t.alt,e)]:[d(t.lng,e),d(t.lat,e)]}function ir(t,e,n,o){for(var s=[],a=0,r=t.length;a<r;a++)s.push(e?ir(t[a],eG(t[a])?0:e-1,n,o):ia(t[a],o));return!e&&n&&0<s.length&&s.push(s[0].slice()),s}function il(t,n){return t.feature?e({},t.feature,{geometry:n}):ih(n)}function ih(t){return"Feature"===t.type||"FeatureCollection"===t.type?t:{type:"Feature",properties:{},geometry:t}}function ic(t,e){return new it(t,e)}tu={toGeoJSON:function(t){return il(this,{type:"Point",coordinates:ia(this.getLatLng(),t)})}},e5.include(tu),e4.include(tu),e9.include(tu),e7.include({toGeoJSON:function(t){var e=!eG(this._latlngs);return il(this,{type:(e?"Multi":"")+"LineString",coordinates:ir(this._latlngs,e?1:0,!1,t)})}}),e6.include({toGeoJSON:function(t){var e=!eG(this._latlngs),n=e&&!eG(this._latlngs[0]),t=ir(this._latlngs,n?2:e?1:0,!0,t);return il(this,{type:(n?"Multi":"")+"Polygon",coordinates:t=e?t:[t]})}}),eJ.include({toMultiPoint:function(t){var e=[];return this.eachLayer(function(n){e.push(n.toGeoJSON(t).geometry.coordinates)}),il(this,{type:"MultiPoint",coordinates:e})},toGeoJSON:function(t){var e,n,o=this.feature&&this.feature.geometry&&this.feature.geometry.type;return"MultiPoint"===o?this.toMultiPoint(t):(e="GeometryCollection"===o,n=[],this.eachLayer(function(o){o.toGeoJSON&&(o=o.toGeoJSON(t),e?n.push(o.geometry):"FeatureCollection"===(o=ih(o)).type?n.push.apply(n,o.features):n.push(o))}),e?il(this,{geometries:n,type:"GeometryCollection"}):{type:"FeatureCollection",features:n})}});var tp=ic,id=td.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(t,e,n){this._url=t,this._bounds=D(e),f(this,n)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(t4(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){t2(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(t){return this.options.opacity=t,this._image&&this._updateOpacity(),this},setStyle:function(t){return t.opacity&&this.setOpacity(t.opacity),this},bringToFront:function(){return this._map&&t5(this._image),this},bringToBack:function(){return this._map&&t8(this._image),this},setUrl:function(t){return this._url=t,this._image&&(this._image.src=t),this},setBounds:function(t){return this._bounds=D(t),this._map&&this._reset(),this},getEvents:function(){var t={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var t="IMG"===this._url.tagName,e=this._image=t?this._url:t1("img");t4(e,"leaflet-image-layer"),this._zoomAnimated&&t4(e,"leaflet-zoom-animated"),this.options.className&&t4(e,this.options.className),e.onselectstart=c,e.onmousemove=c,e.onload=s(this.fire,this,"load"),e.onerror=s(this._overlayOnError,this,"error"),(this.options.crossOrigin||""===this.options.crossOrigin)&&(e.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),t?this._url=e.src:(e.src=this._url,e.alt=this.options.alt)},_animateZoom:function(t){var e=this._map.getZoomScale(t.zoom),t=this._map._latLngBoundsToNewLayerBounds(this._bounds,t.zoom,t.center).min;en(this._image,t,e)},_reset:function(){var t=this._image,e=new Z(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),n=e.getSize();eo(t,e.min),t.style.width=n.x+"px",t.style.height=n.y+"px"},_updateOpacity:function(){ee(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var t=this.options.errorOverlayUrl;t&&this._url!==t&&(this._url=t,this._image.src=t)},getCenter:function(){return this._bounds.getCenter()}}),iu=id.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInl
vendor: 5,585 bytes, line 9
9ine:!0},_initImage:function(){var t="VIDEO"===this._url.tagName,e=this._image=t?this._url:t1("video");if(t4(e,"leaflet-image-layer"),this._zoomAnimated&&t4(e,"leaflet-zoom-animated"),this.options.className&&t4(e,this.options.className),e.onselectstart=c,e.onmousemove=c,e.onloadeddata=s(this.fire,this,"load"),t){for(var n=e.getElementsByTagName("source"),o=[],a=0;a<n.length;a++)o.push(n[a].src);this._url=0<n.length?o:[e.src]}else{v(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(e.style,"objectFit")&&(e.style.objectFit="fill"),e.autoplay=!!this.options.autoplay,e.loop=!!this.options.loop,e.muted=!!this.options.muted,e.playsInline=!!this.options.playsInline;for(var r=0;r<this._url.length;r++){var l=t1("source");l.src=this._url[r],e.appendChild(l)}}}}),ip=id.extend({_initImage:function(){var t=this._image=this._url;t4(t,"leaflet-image-layer"),this._zoomAnimated&&t4(t,"leaflet-zoom-animated"),this.options.className&&t4(t,this.options.className),t.onselectstart=c,t.onmousemove=c}}),im=td.extend({options:{interactive:!1,offset:[0,0],className:"",pane:void 0,content:""},initialize:function(t,e){t&&(t instanceof R||v(t))?(this._latlng=H(t),f(this,e)):(f(this,t),this._source=e),this.options.content&&(this._content=this.options.content)},openOn:function(t){return(t=arguments.length?t:this._source._map).hasLayer(this)||t.addLayer(this),this},close:function(){return this._map&&this._map.removeLayer(this),this},toggle:function(t){return this._map?this.close():(arguments.length?this._source=t:t=this._source,this._prepareOpen(),this.openOn(t._map)),this},onAdd:function(t){this._zoomAnimated=t._zoomAnimated,this._container||this._initLayout(),t._fadeAnimated&&ee(this._container,0),clearTimeout(this._removeTimeout),this.getPane().appendChild(this._container),this.update(),t._fadeAnimated&&ee(this._container,1),this.bringToFront(),this.options.interactive&&(t4(this._container,"leaflet-interactive"),this.addInteractiveTarget(this._container))},onRemove:function(t){t._fadeAnimated?(ee(this._container,0),this._removeTimeout=setTimeout(s(t2,void 0,this._container),200)):t2(this._container),this.options.interactive&&(t7(this._container,"leaflet-interactive"),this.removeInteractiveTarget(this._container))},getLatLng:function(){return this._latlng},setLatLng:function(t){return this._latlng=H(t),this._map&&(this._updatePosition(),this._adjustPan()),this},getContent:function(){return this._content},setContent:function(t){return this._content=t,this.update(),this},getElement:function(){return this._container},update:function(){this._map&&(this._container.style.visibility="hidden",this._updateContent(),this._updateLayout(),this._updatePosition(),this._container.style.visibility="",this._adjustPan())},getEvents:function(){var t={zoom:this._updatePosition,viewreset:this._updatePosition};return this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},isOpen:function(){return!!this._map&&this._map.hasLayer(this)},bringToFront:function(){return this._map&&t5(this._container),this},bringToBack:function(){return this._map&&t8(this._container),this},_prepareOpen:function(t){if(!(n=this._source)._map)return!1;if(n instanceof e0){var e,n=null,o=this._source._layers;for(e in o)if(o[e]._map){n=o[e];break}if(!n)return!1;this._source=n}if(!t){if(n.getCenter)t=n.getCenter();else if(n.getLatLng)t=n.getLatLng();else{if(!n.getBounds)throw Error("Unable to get source layer LatLng.");t=n.getBounds().getCenter()}}return this.setLatLng(t),this._map&&this.update(),!0},_updateContent:function(){if(this._content){var t=this._contentNode,e="function"==typeof this._content?this._content(this._source||this):this._content;if("string"==typeof e)t.innerHTML=e;else{for(;t.hasChildNodes();)t.removeChild(t.firstChild);t.appendChild(e)}this.fire("contentupdate")}},_updatePosition:function(){var t,e,n;this._map&&(e=this._map.latLngToLayerPoint(this._latlng),t=B(this.options.offset),n=this._getAnchor(),this._zoomAnimated?eo(this._container,e.add(n)):t=t.add(e).add(n),e=this._containerBottom=-t.y,n=this._containerLeft=-Math.round(this._containerWidth/2)+t.x,this._container.style.bottom=e+"px",this._container.style.left=n+"px")},_getAnchor:function(){return[0,0]}}),ig=(ez.include({_initOverlay:function(t,e,n,o){var s=e;return s instanceof t||(s=new t(o).setContent(e)),n&&s.setLatLng(n),s}}),td.include({_initOverlay:function(t,e,n,o){var s=n;return s instanceof t?(f(s,o),s._source=this):(s=e&&!o?e:new t(o,this)).setContent(n),s}}),im.extend({options:{pane:"popupPane",offset:[0,7],maxWidth:300,minWidth:50,maxHeight:null,autoPan:!0,autoPanPaddingTopLeft:null,autoPanPaddingBottomRight:null,autoPanPadding:[5,5],keepInView:!1,closeButton:!0,autoClose:!0,closeOnEscapeKey:!0,className:""},openOn:function(t){return!(t=arguments.length?t:this._source._map).hasLayer(this)&&t._popup&&t._popup.options.autoClose&&t.removeLayer(t._popup),t._popup=this,im.prototype.openOn.call(this,t)},onAdd:function(t){im.prototype.onAdd.call(this,t),t.fire("popupopen",{popup:this}),this._source&&(this._source.fire("popupopen",{popup:this},!0),this._source instanceof e8||this._source.on("preclick",ey))},onRemove:function(t){im.prototype.onRemove.call(this,t),t.fire("popupclose",{popup:this}),this._source&&(this._source.fire("popupclose",{popup:this},!0),this._source instanceof e8||this._source.off("preclick",ey))},getEvents:function(){var t=im.prototype.getEvents.call(this);return(void 0!==this.options.closeOnClick?this.options.closeOnClick:this._map.options.closePopupOnClick)&&(t.preclick=this.close),this.options.keepInView&&
vendor: 33,639 bytes, line 9
9(t.moveend=this._adjustPan),t},_initLayout:function(){var t="leaflet-popup",e=this._container=t1("div",t+" "+(this.options.className||"")+" leaflet-zoom-animated"),n=this._wrapper=t1("div",t+"-content-wrapper",e);this._contentNode=t1("div",t+"-content",n),ex(e),eb(this._contentNode),eu(e,"contextmenu",ey),this._tipContainer=t1("div",t+"-tip-container",e),this._tip=t1("div",t+"-tip",this._tipContainer),this.options.closeButton&&((n=this._closeButton=t1("a",t+"-close-button",e)).setAttribute("role","button"),n.setAttribute("aria-label","Close popup"),n.href="#close",n.innerHTML='<span aria-hidden="true">×</span>',eu(n,"click",function(t){ew(t),this.close()},this))},_updateLayout:function(){var t=this._contentNode,e=t.style,n=(e.width="",e.whiteSpace="nowrap",t.offsetWidth),n=Math.min(n,this.options.maxWidth),n=(n=Math.max(n,this.options.minWidth),e.width=n+1+"px",e.whiteSpace="",e.height="",t.offsetHeight),o=this.options.maxHeight;(o&&o<n?(e.height=o+"px",t4):t7)(t,"leaflet-popup-scrolled"),this._containerWidth=this._container.offsetWidth},_animateZoom:function(t){var t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),e=this._getAnchor();eo(this._container,t.add(e))},_adjustPan:function(){var t,e,n,o,s,a,r,l;this.options.autoPan&&(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning?this._autopanning=!1:(t=this._map,e=parseInt(t0(this._container,"marginBottom"),10)||0,e=this._container.offsetHeight+e,l=this._containerWidth,(n=new A(this._containerLeft,-e-this._containerBottom))._add(es(this._container)),n=t.layerPointToContainerPoint(n),s=B(this.options.autoPanPadding),o=B(this.options.autoPanPaddingTopLeft||s),s=B(this.options.autoPanPaddingBottomRight||s),a=t.getSize(),r=0,n.x+l+s.x>a.x&&(r=n.x+l-a.x+s.x),n.x-r-o.x<(l=0)&&(r=n.x-o.x),n.y+e+s.y>a.y&&(l=n.y+e-a.y+s.y),n.y-l-o.y<0&&(l=n.y-o.y),(r||l)&&(this.options.keepInView&&(this._autopanning=!0),t.fire("autopanstart").panBy([r,l]))))},_getAnchor:function(){return B(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}})),i_=(ez.mergeOptions({closePopupOnClick:!0}),ez.include({openPopup:function(t,e,n){return this._initOverlay(ig,t,e,n).openOn(this),this},closePopup:function(t){return(t=arguments.length?t:this._popup)&&t.close(),this}}),td.include({bindPopup:function(t,e){return this._popup=this._initOverlay(ig,this._popup,t,e),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(t){return this._popup&&(this instanceof e0||(this._popup._source=this),this._popup._prepareOpen(t||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return!!this._popup&&this._popup.isOpen()},setPopupContent:function(t){return this._popup&&this._popup.setContent(t),this},getPopup:function(){return this._popup},_openPopup:function(t){var e;this._popup&&this._map&&(eP(t),e=t.layer||t.target,this._popup._source!==e||e instanceof e8?(this._popup._source=e,this.openPopup(t.latlng)):this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(t.latlng))},_movePopup:function(t){this._popup.setLatLng(t.latlng)},_onKeyPress:function(t){13===t.originalEvent.keyCode&&this._openPopup(t)}}),im.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(t){im.prototype.onAdd.call(this,t),this.setOpacity(this.options.opacity),t.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(t){im.prototype.onRemove.call(this,t),t.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var t=im.prototype.getEvents.call(this);return this.options.permanent||(t.preclick=this.close),t},_initLayout:function(){var t="leaflet-tooltip "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=t1("div",t),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+r(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(t){var e,n=this._map,o=this._container,s=n.latLngToContainerPoint(n.getCenter()),n=n.layerPointToContainerPoint(t),a=this.options.direction,r=o.offsetWidth,l=o.offsetHeight,h=B(this.options.offset),c=this._getAnchor(),n="top"===a?(e=r/2,l):"bottom"===a?(e=r/2,0):(e="center"===a?r/2:"right"===a?0:"left"===a?r:n.x<s.x?(a="right",0):(a="left",r+2*(h.x+c.x)),l/2);t=t.subtract(B(e,n,!0)).add(h).add(c),t7(o,"leaflet-tooltip-right"),t7(o,"leaflet-tooltip-left"),t7(o,"leaflet-tooltip-top"),t7(o,"leaflet-tooltip-bottom"),t4(o,"leaflet-tooltip-"+a),eo(o,t)},_updatePosition:function(){var t=this._map.latLngToLayerPoint(this._latlng);this._setPosition(t)},setOpacity:function(t){this.options.opacity=t,this._container&&ee(this._container,t)},_animateZoom:function(t){t=this._map._latLngToNewLayerPoint(this._latlng,t.zoom,t.center),this._setPosition(t)},_getAnchor:function(){return B(this._source&&this._source._getTooltipAnchor&&!this.options.sticky?this._source._getTooltipAnchor():[0,0])}})),iv=(ez.include({openTooltip:function(t,e,n){return this._initOverlay(i_,t,e,n).openOn(this),this},closeTooltip:function(t){return t.close(),this}}),td.include({bindTooltip:function(t,e){return this._tooltip&&this.isTooltipOpen()&&this.unbindTooltip(),this._tooltip=this._initOverlay(i_,this._tooltip,t,e),this._initTooltipInteractions(),this._tooltip.options.permanent&&this._map&&this._map.hasLayer(this)&&this.openTooltip(),this},unbindTooltip:function(){return this._tooltip&&(this._initTooltipInteractions(!0),this.closeTooltip(),this._tooltip=null),this},_initTooltipInteractions:function(t){var e;!t&&this._tooltipHandlersAdded||(e={remove:this.closeTooltip,move:this._moveTooltip},this._tooltip.options.permanent?e.add=this._openTooltip:(e.mouseover=this._openTooltip,e.mouseout=this.closeTooltip,e.click=this._openTooltip,this._map?this._addFocusListeners():e.add=this._addFocusListeners),this._tooltip.options.sticky&&(e.mousemove=this._moveTooltip),this[t?"off":"on"](e),this._tooltipHandlersAdded=!t)},openTooltip:function(t){return this._tooltip&&(this instanceof e0||(this._tooltip._source=this),this._tooltip._prepareOpen(t)&&(this._tooltip.openOn(this._map),this.getElement?this._setAriaDescribedByOnLayer(this):this.eachLayer&&this.eachLayer(this._setAriaDescribedByOnLayer,this))),this},closeTooltip:function(){if(this._tooltip)return this._tooltip.close()},toggleTooltip:function(){return this._tooltip&&this._tooltip.toggle(this),this},isTooltipOpen:function(){return this._tooltip.isOpen()},setTooltipContent:function(t){return this._tooltip&&this._tooltip.setContent(t),this},getTooltip:function(){return this._tooltip},_addFocusListeners:function(){this.getElement?this._addFocusListenersOnLayer(this):this.eachLayer&&this.eachLayer(this._addFocusListenersOnLayer,this)},_addFocusListenersOnLayer:function(t){var e="function"==typeof t.getElement&&t.getElement();e&&(eu(e,"focus",function(){this._tooltip._source=t,this.openTooltip()},this),eu(e,"blur",this.closeTooltip,this))},_setAriaDescribedByOnLayer:function(t){(t="function"==typeof t.getElement&&t.getElement())&&t.setAttribute("aria-describedby",this._tooltip._container.id)},_openTooltip:function(t){var e;this._tooltip&&this._map&&(this._map.dragging&&this._map.dragging.moving()&&!this._openOnceFlag?(this._openOnceFlag=!0,(e=this)._map.once("moveend",function(){e._openOnceFlag=!1,e._openTooltip(t)})):(this._tooltip._source=t.layer||t.target,this.openTooltip(this._tooltip.options.sticky?t.latlng:void 0)))},_moveTooltip:function(t){var e=t.latlng;this._tooltip.options.sticky&&t.originalEvent&&(t=this._map.mouseEventToContainerPoint(t.originalEvent),t=this._map.containerPointToLayerPoint(t),e=this._map.layerPointToLatLng(t)),this._tooltip.setLatLng(e)}}),e1.extend({options:{iconSize:[12,12],html:!1,bgPos:null,className:"leaflet-div-icon"},createIcon:function(t){var t=t&&"DIV"===t.tagName?t:document.createElement("div"),e=this.options;return e.html instanceof Element?(t3(t),t.appendChild(e.html)):t.innerHTML=!1!==e.html?e.html:"",e.bgPos&&(e=B(e.bgPos),t.style.backgroundPosition=-e.x+"px "+-e.y+"px"),this._setIconStyles(t,"icon"),t},createShadow:function(){return null}}));e1.Default=e2;var iy=td.extend({options:{tileSize:256,opacity:1,updateWhenIdle:tE.mobile,updateWhenZooming:!0,updateInterval:200,zIndex:1,bounds:null,minZoom:0,maxZoom:void 0,maxNativeZoom:void 0,minNativeZoom:void 0,noWrap:!1,pane:"tilePane",className:"",keepBuffer:2},initialize:function(t){f(this,t)},onAdd:function(){this._initContainer(),this._levels={},this._tiles={},this._resetView()},beforeAdd:function(t){t._addZoomLimit(this)},onRemove:function(t){this._removeAllTiles(),t2(this._container),t._removeZoomLimit(this),this._container=null,this._tileZoom=void 0},bringToFront:function(){return this._map&&(t5(this._container),this._setAutoZIndex(Math.max)),this},bringToBack:function(){return this._map&&(t8(this._container),this._setAutoZIndex(Math.min)),this},getContainer:function(){return this._container},setOpacity:function(t){return this.options.opacity=t,this._updateOpacity(),this},setZIndex:function(t){return this.options.zIndex=t,this._updateZIndex(),this},isLoading:function(){return this._loading},redraw:function(){var t;return this._map&&(this._removeAllTiles(),(t=this._clampZoom(this._map.getZoom()))!==this._tileZoom&&(this._tileZoom=t,this._updateLevels()),this._update()),this},getEvents:function(){var t={viewprereset:this._invalidateAll,viewreset:this._resetView,zoom:this._resetView,moveend:this._onMoveEnd};return this.options.updateWhenIdle||(this._onMove||(this._onMove=l(this._onMoveEnd,this.options.updateInterval,this)),t.move=this._onMove),this._zoomAnimated&&(t.zoomanim=this._animateZoom),t},createTile:function(){return document.createElement("div")},getTileSize:function(){var t=this.options.tileSize;return t instanceof A?t:new A(t,t)},_updateZIndex:function(){this._container&&void 0!==this.options.zIndex&&null!==this.options.zIndex&&(this._container.style.zIndex=this.options.zIndex)},_setAutoZIndex:function(t){for(var e,n=this.getPane().children,o=-t(-1/0,1/0),s=0,a=n.length;s<a;s++)e=n[s].style.zIndex,n[s]!==this._container&&e&&(o=t(o,+e));isFinite(o)&&(this.options.zIndex=o+t(-1,1),this._updateZIndex())},_updateOpacity:function(){if(this._map&&!tE.ielt9){ee(this._container,this.options.opacity);var t,e=+new Date,n=!1,o=!1;for(t in this._tiles){var s,a=this._tiles[t];a.current&&a.loaded&&(s=Math.min(1,(e-a.loaded)/200),ee(a.el,s),s<1?n=!0:(a.active?o=!0:this._onOpaqueTile(a),a.active=!0))}o&&!this._noPrune&&this._pruneTiles(),n&&(k(this._fadeFrame),this._fadeFrame=S(this._updateOpacity,this))}},_onOpaqueTile:c,_initContainer:function(){this._container||(this._container=t1("div","leaflet-layer "+(this.options.className||"")),this._updateZIndex(),this.options.opacity<1&&this._updateOpacity(),this.getPane().appendChild(this._container))},_updateLevels:function(){var t=this._tileZoom,e=this.options.maxZoom;if(void 0!==t){for(var n in this._levels)n=Number(n),this._levels[n].el.children.length||n===t?(this._levels[n].el.style.zIndex=e-Math.abs(t-n),this._onUpdateLevel(n)):(t2(this._levels[n].el),this._removeTilesAtZoom(n),this._onRemoveLevel(n),delete this._levels[n]);var o=this._levels[t],s=this._map;return o||((o=this._levels[t]={}).el=t1("div","leaflet-tile-container leaflet-zoom-animated",this._container),o.el.style.zIndex=e,o.origin=s.project(s.unproject(s.getPixelOrigin()),t).round(),o.zoom=t,this._setZoomTransform(o,s.getCenter(),s.getZoom()),c(o.el.offsetWidth),this._onCreateLevel(o)),this._level=o}},_onUpdateLevel:c,_onRemoveLevel:c,_onCreateLevel:c,_pruneTiles:function(){if(this._map){var t,e,n,o=this._map.getZoom();if(o>this.options.maxZoom||o<this.options.minZoom)this._removeAllTiles();else{for(t in this._tiles)(n=this._tiles[t]).retain=n.current;for(t in this._tiles)(n=this._tiles[t]).current&&!n.active&&(e=n.coords,this._retainParent(e.x,e.y,e.z,e.z-5)||this._retainChildren(e.x,e.y,e.z,e.z+2));for(t in this._tiles)this._tiles[t].retain||this._removeTile(t)}}},_removeTilesAtZoom:function(t){for(var e in this._tiles)this._tiles[e].coords.z===t&&this._removeTile(e)},_removeAllTiles:function(){for(var t in this._tiles)this._removeTile(t)},_invalidateAll:function(){for(var t in this._levels)t2(this._levels[t].el),this._onRemoveLevel(Number(t)),delete this._levels[t];this._removeAllTiles(),this._tileZoom=void 0},_retainParent:function(t,e,n,o){var t=Math.floor(t/2),e=Math.floor(e/2),n=n-1,s=new A(+t,+e),s=(s.z=n,this._tileCoordsToKey(s)),s=this._tiles[s];return s&&s.active?s.retain=!0:(s&&s.loaded&&(s.retain=!0),o<n&&this._retainParent(t,e,n,o))},_retainChildren:function(t,e,n,o){for(var s=2*t;s<2*t+2;s++)for(var a=2*e;a<2*e+2;a++){var r=new A(s,a),r=(r.z=n+1,this._tileCoordsToKey(r)),r=this._tiles[r];r&&r.active?r.retain=!0:(r&&r.loaded&&(r.retain=!0),n+1<o&&this._retainChildren(s,a,n+1,o))}},_resetView:function(t){t=t&&(t.pinch||t.flyTo),this._setView(this._map.getCenter(),this._map.getZoom(),t,t)},_animateZoom:function(t){this._setView(t.center,t.zoom,!0,t.noUpdate)},_clampZoom:function(t){var e=this.options;return void 0!==e.minNativeZoom&&t<e.minNativeZoom?e.minNativeZoom:void 0!==e.maxNativeZoom&&e.maxNativeZoom<t?e.maxNativeZoom:t},_setView:function(t,e,n,o){var s=Math.round(e),s=void 0!==this.options.maxZoom&&s>this.options.maxZoom||void 0!==this.options.minZoom&&s<this.options.minZoom?void 0:this._clampZoom(s),a=this.options.updateWhenZooming&&s!==this._tileZoom;o&&!a||(this._tileZoom=s,this._abortLoading&&this._abortLoading(),this._updateLevels(),this._resetGrid(),void 0!==s&&this._update(t),n||this._pruneTiles(),this._noPrune=!!n),this._setZoomTransforms(t,e)},_setZoomTransforms:function(t,e){for(var n in this._levels)this._setZoomTransform(this._levels[n],t,e)},_setZoomTransform:function(t,e,n){var o=this._map.getZoomScale(n,t.zoom),e=t.origin.multiplyBy(o).subtract(this._map._getNewPixelOrigin(e,n)).round();tE.any3d?en(t.el,e,o):eo(t.el,e)},_resetGrid:function(){var t=this._map,e=t.options.crs,n=this._tileSize=this.getTileSize(),o=this._tileZoom,s=this._map.getPixelWorldBounds(this._tileZoom);s&&(this._globalTileRange=this._pxBoundsToTileRange(s)),this._wrapX=e.wrapLng&&!this.options.noWrap&&[Math.floor(t.project([0,e.wrapLng[0]],o).x/n.x),Math.ceil(t.project([0,e.wrapLng[1]],o).x/n.y)],this._wrapY=e.wrapLat&&!this.options.noWrap&&[Math.floor(t.project([e.wrapLat[0],0],o).y/n.x),Math.ceil(t.project([e.wrapLat[1],0],o).y/n.y)]},_onMoveEnd:function(){this._map&&!this._map._animatingZoom&&this._update()},_getTiledPixelBounds:function(t){var e=this._map,n=e._animatingZoom?Math.max(e._animateToZoom,e.getZoom()):e.getZoom(),n=e.getZoomScale(n,this._tileZoom),t=e.project(t,this._tileZoom).floor(),e=e.getSize().divideBy(2*n);return new Z(t.subtract(e),t.add(e))},_update:function(t){var e=this._map;if(e){var n=this._clampZoom(e.getZoom());if(void 0===t&&(t=e.getCenter()),void 0!==this._tileZoom){var o,e=this._getTiledPixelBounds(t),s=this._pxBoundsToTileRange(e),a=s.getCenter(),r=[],e=this.options.keepBuffer,l=new Z(s.getBottomLeft().subtract([e,-e]),s.getTopRight().add([e,-e]));if(!(isFinite(s.min.x)&&isFinite(s.min.y)&&isFinite(s.max.x)&&isFinite(s.max.y)))throw Error("Attempted to load an infinite number of tiles");for(o in this._tiles){var h=this._tiles[o].coords;h.z===this._tileZoom&&l.contains(new A(h.x,h.y))||(this._tiles[o].current=!1)}if(1<Math.abs(n-this._tileZoom))this._setView(t,n);else{for(var c=s.min.y;c<=s.max.y;c++)for(var d=s.min.x;d<=s.max.x;d++){var u,p=new A(d,c);p.z=this._tileZoom,this._isValidTile(p)&&((u=this._tiles[this._tileCoordsToKey(p)])?u.current=!0:r.push(p))}if(r.sort(function(t,e){return t.distanceTo(a)-e.distanceTo(a)}),0!==r.length){this._loading||(this._loading=!0,this.fire("loading"));for(var f=document.createDocumentFragment(),d=0;d<r.length;d++)this._addTile(r[d],f);this._level.el.appendChild(f)}}}}},_isValidTile:function(t){var e=this._map.options.crs;if(!e.infinite){var n=this._globalTileRange;if(!e.wrapLng&&(t.x<n.min.x||t.x>n.max.x)||!e.wrapLat&&(t.y<n.min.y||t.y>n.max.y))return!1}return!this.options.bounds||(e=this._tileCoordsToBounds(t),D(this.options.bounds).overlaps(e))},_keyToBounds:function(t){return this._tileCoordsToBounds(this._keyToTileCoords(t))},_tileCoordsToNwSe:function(t){var e=this._map,n=this.getTileSize(),o=t.scaleBy(n),n=o.add(n);return[e.unproject(o,t.z),e.unproject(n,t.z)]},_tileCoordsToBounds:function(t){return t=this._tileCoordsToNwSe(t),t=new j(t[0],t[1]),t=this.options.noWrap?t:this._map.wrapLatLngBounds(t)},_tileCoordsToKey:function(t){return t.x+":"+t.y+":"+t.z},_keyToTileCoords:function(t){var t=t.split(":"),e=new A(+t[0],+t[1]);return e.z=+t[2],e},_removeTile:function(t){var e=this._tiles[t];e&&(t2(e.el),delete this._tiles[t],this.fire("tileunload",{tile:e.el,coords:this._keyToTileCoords(t)}))},_initTile:function(t){t4(t,"leaflet-tile");var e=this.getTileSize();t.style.width=e.x+"px",t.style.height=e.y+"px",t.onselectstart=c,t.onmousemove=c,tE.ielt9&&this.options.opacity<1&&ee(t,this.options.opacity)},_addTile:function(t,e){var n=this._getTilePos(t),o=this._tileCoordsToKey(t),a=this.createTile(this._wrapCoords(t),s(this._tileReady,this,t));this._initTile(a),this.createTile.length<2&&S(s(this._tileReady,this,t,null,a)),eo(a,n),this._tiles[o]={el:a,coords:t,current:!0},e.appendChild(a),this.fire("tileloadstart",{tile:a,coords:t})},_tileReady:function(t,e,n){e&&this.fire("tileerror",{error:e,tile:n,coords:t});var o=this._tileCoordsToKey(t);(n=this._tiles[o])&&(n.loaded=+new Date,this._map._fadeAnimated?(ee(n.el,0),k(this._fadeFrame),this._fadeFrame=S(this._updateOpacity,this)):(n.active=!0,this._pruneTiles()),e||(t4(n.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:n.el,coords:t})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),tE.ielt9||!this._map._fadeAnimated?S(this._pruneTiles,this):setTimeout(s(this._pruneTiles,this),250)))},_getTilePos:function(t){return t.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(t){var e=new A(this._wrapX?h(t.x,this._wrapX):t.x,this._wrapY?h(t.y,this._wrapY):t.y);return e.z=t.z,e},_pxBoundsToTileRange:function(t){var e=this.getTileSize();return new Z(t.min.unscaleBy(e).floor(),t.max.unscaleBy(e).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var t in this._tiles)if(!this._tiles[t].loaded)return!1;return!0}}),ib=iy.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(t,e){this._url=t,(e=f(this,e)).detectRetina&&tE.retina&&0<e.maxZoom?(e.tileSize=Math.floor(e.tileSize/2),e.zoomReverse?(e.zoomOffset--,e.minZoom=Math.min(e.maxZoom,e.minZoom+1)):(e.zoomOffset++,e.maxZoom=Math.max(e.minZoom,e.maxZoom-1)),e.minZoom=Math.max(0,e.minZoom)):e.zoomReverse?e.minZoom=Math.min(e.maxZoom,e.minZoom):e.maxZoom=Math.max(e.minZoom,e.maxZoom),"string"==typeof e.subdomains&&(e.subdomains=e.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(t,e){return this._url===t&&void 0===e&&(e=!0),this._url=t,e||this.redraw(),this},createTile:function(t,e){var n=document.createElement("img");return eu(n,"load",s(this._tileOnLoad,this,e,n)),eu(n,"error",s(this._tileOnError,this,e,n)),(this.options.crossOrigin||""===this.options.crossOrigin)&&(n.crossOrigin=!0===this.options.crossOrigin?"":this.options.crossOrigin),"string"==typeof this.options.referrerPolicy&&(n.referrerPolicy=this.options.referrerPolicy),n.alt="",n.src=this.getTileUrl(t),n},getTileUrl:function(t){var n={r:tE.retina?"@2x":"",s:this._getSubdomain(t),x:t.x,y:t.y,z:this._getZoomForUrl()};return this._map&&!this._map.options.crs.infinite&&(t=this._globalTileRange.max.y-t.y,this.options.tms&&(n.y=t),n["-y"]=t),_(this._url,e(n,this.options))},_tileOnLoad:function(t,e){tE.ielt9?setTimeout(s(t,this,null,e),0):t(null,e)},_tileOnError:function(t,e,n){var o=this.options.errorTileUrl;o&&e.getAttribute("src")!==o&&(e.src=o),t(n,e)},_onTileRemove:function(t){t.tile.onload=null},_getZoomForUrl:function(){var t=this._tileZoom,e=this.options.maxZoom;return(t=this.options.zoomReverse?e-t:t)+this.options.zoomOffset},_getSubdomain:function(t){return t=Math.abs(t.x+t.y)%this.options.subdomains.length,this.options.subdomains[t]},_abortLoading:function(){var t,e,n;for(t in this._tiles)this._tiles[t].coords.z!==this._tileZoom&&((n=this._tiles[t].el).onload=c,n.onerror=c,n.complete||(n.src=b,e=this._tiles[t].coords,t2(n),delete this._tiles[t],this.fire("tileabort",{tile:n,coords:e})))},_removeTile:function(t){var e=this._tiles[t];if(e)return e.el.setAttribute("src",b),iy.prototype._removeTile.call(this,t)},_tileReady:function(t,e,n){if(this._map&&(!n||n.getAttribute("src")!==b))return iy.prototype._tileReady.call(this,t,e,n)}});function ix(t,e){return new ib(t,e)}var iw=ib.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(t,n){this._url=t;var o,s=e({},this.defaultWmsParams);for(o in n)o in this.options||(s[o]=n[o]);var t=(n=f(this,n)).detectRetina&&tE.retina?2:1,a=this.getTileSize();s.width=a.x*t,s.height=a.y*t,this.wmsParams=s},onAdd:function(t){this._crs=this.options.crs||t.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var e=1.3<=this._wmsVersion?"crs":"srs";this.wmsParams[e]=this._crs.code,ib.prototype.onAdd.call(this,t)},getTileUrl:function(t){var e=this._tileCoordsToNwSe(t),n=this._crs,n=N(n.project(e[0]),n.project(e[1])),e=n.min,n=n.max,e=(1.3<=this._wmsVersion&&this._crs===eX?[e.y,e.x,n.y,n.x]:[e.x,e.y,n.x,n.y]).join(","),n=ib.prototype.getTileUrl.call(this,t);return n+m(this.wmsParams,n,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+e},setParams:function(t,n){return e(this.wmsParams,t),n||this.redraw(),this}});ib.WMS=iw,ix.wms=function(t,e){return new iw(t,e)};var iP=td.extend({options:{padding:.1},initialize:function(t){f(this,t),r(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),t4(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var t={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(t.zoomanim=this._onAnimZoom),t},_onAnimZoom:function(t){this._updateTransform(t.center,t.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(t,e){var n=this._map.getZoomScale(e,this._zoom),o=this._map.getSize().multiplyBy(.5+this.options.padding),s=this._map.project(this._center,e),o=o.multiplyBy(-n).add(s).subtract(this._map._getNewPixelOrigin(t,e));tE.any3d?en(this._container,o,n):eo(this._container,o)},_reset:function(){for(var t in this._update(),this._updateTransform(this._center,this._zoom),this._layers)this._layers[t]._reset()},_onZoomEnd:function(){for(var t in this._layers)this._layers[t]._project()},_updatePaths:function(){for(var t in this._layers)this._layers[t]._update()},_update:function(){var t=this.options.padding,e=this._map.getSize(),n=this._map.containerPointToLayerPoint(e.multiplyBy(-t)).round();this._bounds=new Z(n,n.add(e.multiplyBy(1+2*t)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),iT=iP.extend({options:{tolerance:0},getEvents:function(){var t=iP.prototype.getEvents.call(this);return t.viewprereset=this._onViewPreReset,t},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){iP.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var t=this._container=document.createElement("canvas");eu(t,"mousemove",this._onMouseMove,this),eu(t,"click dblclick mousedown mouseup contextmenu",this._onClick,this),eu(t,"mouseout",this._handleMouseOut,this),t._leaflet_disable_events=!0,this._ctx=t.getContext("2d")},_destroyContainer:function(){k(this._redrawRequest),delete this._ctx,t2(this._container),ef(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){for(var t in this._redrawBounds=null,this._layers)this._layers[t]._update();this._redraw()}},_update:function(){var t,e,n,o;this._map._animatingZoom&&this._bounds||(iP.prototype._update.call(this),t=this._bounds,e=this._container,n=t.getSize(),o=tE.retina?2:1,eo(e,t.min),e.width=o*n.x,e.height=o*n.y,e.style.width=n.x+"px",e.style.height=n.y+"px",tE.retina&&this._ctx.scale(2,2),this._ctx.translate(-t.min.x,-t.min.y),this.fire("update"))},_reset:function(){iP.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(t){this._updateDashArray(t),t=(this._layers[r(t)]=t)._order={layer:t,prev:this._drawLast,next:null},this._drawLast&&(this._drawLast.next=t),this._drawLast=t,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(t){this._requestRedraw(t)},_removePath:function(t){var e=t._order,n=e.next,e=e.prev;n?n.prev=e:this._drawLast=e,e?e.next=n:this._drawFirst=n,delete t._order,delete this._layers[r(t)],this._requestRedraw(t)},_updatePath:function(t){this._extendRedrawBounds(t),t._project(),t._update(),this._requestRedraw(t)},_updateStyle:function(t){this._updateDashArray(t),this._requestRedraw(t)},_updateDashArray:function(t){if("string"==typeof t.options.dashArray){for(var e,n=t.options.dashArray.split(/[, ]+/),o=[],s=0;s<n.length;s++){if(isNaN(e=Number(n[s])))return;o.push(e)}t.options._dashArray=o}else t.options._dashArray=t.options.dashArray},_requestRedraw:function(t){this._map&&(this._extendRedrawBounds(t),this._redrawRequest=this._redrawRequest||S(this._redraw,this))},_extendRedrawBounds:function(t){var e;t._pxBounds&&(e=(t.options.weight||0)+1,this._redrawBounds=this._redrawBounds||new Z,this._redrawBounds.extend(t._pxBounds.min.subtract([e,e])),this._redrawBounds.extend(t._pxBounds.max.add([e,e])))},_redraw:function(){this._redrawRequest=null,this._redrawBounds&&(this._redrawBounds.min._floor(),this._redrawBounds.max._ceil()),this._clear(),this._draw(),this._redrawBounds=null},_clear:function(){var t,e=this._redrawBounds;e?(t=e.getSize(),this._ctx.clearRect(e.min.x,e.min.y,t.x,t.y)):(this._ctx.save(),this._ctx.setTransform(1,0,0,1,0,0),this._ctx.clearRect(0,0,this._container.width,this._container.height),this._ctx.restore())},_draw:function(){var t,e,n=this._redrawBounds;this._ctx.save(),n&&(e=n.getSize(),this._ctx.beginPath(),this._ctx.rect(n.min.x,n.min.y,e.x,e.y),this._ctx.clip()),this._drawing=!0;for(var o=this._drawFirst;o;o=o.next)t=o.layer,(!n||t._pxBounds&&t._pxBounds.intersects(n))&&t._updatePath();this._drawing=!1,this._ctx.restore()},_updatePoly:function(t,e){if(this._drawing){var n,o,s,a,r=t._parts,l=r.length,h=this._ctx;if(l){for(h.beginPath(),n=0;n<l;n++){for(o=0,s=r[n].length;o<s;o++)a=r[n][o],h[o?"lineTo":"moveTo"](a.x,a.y);e&&h.closePath()}this._fillStroke(h,t)}}},_updateCircle:function(t){var e,n,o,s;this._drawing&&!t._empty()&&(e=t._point,n=this._ctx,o=Math.max(Math.round(t._radius),1),1!=(s=(Math.max(Math.round(t._radiusY),1)||o)/o)&&(n.save(),n.scale(1,s)),n.beginPath(),n.arc(e.x,e.y/s,o,0,2*Math.PI,!1),1!=s&&n.restore(),this._fillStroke(n,t))},_fillStroke:function(t,e){var n=e.options;n.fill&&(t.globalAlpha=n.fillOpacity,t.fillStyle=n.fillColor||n.color,t.fill(n.fillRule||"evenodd")),n.stroke&&0!==n.weight&&(t.setLineDash&&t.setLineDash(e.options&&e.options._dashArray||[]),t.globalAlpha=n.opacity,t.lineWidth=n.weight,t.strokeStyle=n.color,t.lineCap=n.lineCap,t.lineJoin=n.lineJoin,t.stroke())},_onClick:function(t){for(var e,n,o=this._map.mouseEventToLayerPoint(t),s=this._drawFirst;s;s=s.next)(e=s.layer).options.interactive&&e._containsPoint(o)&&(("click"===t.type||"preclick"===t.type)&&this._map._draggableMoved(e)||(n=e));this._fireEvent(!!n&&[n],t)},_onMouseMove:function(t){var e;!this._map||this._map.dragging.moving()||this._map._animatingZoom||(e=this._map.mouseEventToLayerPoint(t),this._handleMouseHover(t,e))},_handleMouseOut:function(t){var e=this._hoveredLayer;e&&(t7(this._container,"leaflet-interactive"),this._fireEvent([e],t,"mouseout"),this._hoveredLayer=null,this._mouseHoverThrottled=!1)},_handleMouseHover:function(t,e){if(!this._mouseHoverThrottled){for(var n,o,a=this._drawFirst;a;a=a.next)(n=a.layer).options.interactive&&n._containsPoint(e)&&(o=n);o!==this._hoveredLayer&&(this._handleMouseOut(t),o&&(t4(this._container,"leaflet-interactive"),this._fireEvent([o],t,"mouseover"),this._hoveredLayer=o)),this._fireEvent(!!this._hoveredLayer&&[this._hoveredLayer],t),this._mouseHoverThrottled=!0,setTimeout(s(function(){this._mouseHoverThrottled=!1},this),32)}},_fireEvent:function(t,e,n){this._map._fireDOMEvent(e,n||e.type,t)},_bringToFront:function(t){var e,n,o=t._order;o&&(e=o.next,n=o.prev,e&&((e.prev=n)?n.next=e:e&&(this._drawFirst=e),o.prev=this._drawLast,(this._drawLast.next=o).next=null,this._drawLast=o,this._requestRedraw(t)))},_bringToBack:function(t){var e,n,o=t._order;o&&(e=o.next,(n=o.prev)&&((n.next=e)?e.prev=n:n&&(this._drawLast=n),o.prev=null,o.next=this._drawFirst,this._drawFirst.prev=o,this._drawFirst=o,this._requestRedraw(t)))}});function iC(t){return tE.canvas?new iT(t):null}var iS=function(){try{return document.namespaces.add("lvml","urn:schemas-microsoft-com:vml"),function(t){return document.createElement("<lvml:"+t+' class="lvml">')}}catch(t){}return function(t){return document.createElement("<"+t+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),tf={_initContainer:function(){this._container=t1("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(iP.prototype._update.call(this),this.fire("update"))},_initPath:function(t){var e=t._container=iS("shape");t4(e,"leaflet-vml-shape "+(this.options.className||"")),e.coordsize="1 1",t._path=iS("path"),e.appendChild(t._path),this._updateStyle(t),this._layers[r(t)]=t},_addPath:function(t){var e=t._container;this._container.appendChild(e),t.options.interactive&&t.addInteractiveTarget(e)},_removePath:function(t){var e=t._container;t2(e),t.removeInteractiveTarget(e),delete this._layers[r(t)]},_updateStyle:function(t){var e=t._stroke,n=t._fill,o=t.options,s=t._container;s.stroked=!!o.stroke,s.filled=!!o.fill,o.stroke?(e=e||(t._stroke=iS("stroke")),s.appendChild(e),e.weight=o.weight+"px",e.color=o.color,e.opacity=o.opacity,o.dashArray?e.dashStyle=v(o.dashArray)?o.dashArray.join(" "):o.dashArray.replace(/( *, *)/g," "):e.dashStyle="",e.endcap=o.lineCap.replace("butt","flat"),e.joinstyle=o.lineJoin):e&&(s.removeChild(e),t._stroke=null),o.fill?(n=n||(t._fill=iS("fill")),s.appendChild(n),n.color=o.fillColor||o.color,n.opacity=o.fillOpacity):n&&(s.removeChild(n),t._fill=null)},_updateCircle:function(t){var e=t._point.round(),n=Math.round(t._radius),o=Math.round(t._radiusY||n);this._setPath(t,t._empty()?"M0 0":"AL "+e.x+","+e.y+" "+n+","+o+" 0,23592600")},_setPath:function(t,e){t._path.v=e},_bringToFront:function(t){t5(t._container)},_bringToBack:function(t){t8(t._container)}},iL=tE.vml?iS:K,ik=iP.extend({_initContainer:function(){this._container=iL("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=iL("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){t2(this._container),ef(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){var t,e,n;this._map._animatingZoom&&this._bounds||(iP.prototype._update.call(this),e=(t=this._bounds).getSize(),n=this._container,this._svgSize&&this._svgSize.equals(e)||(this._svgSize=e,n.setAttribute("width",e.x),n.setAttribute("height",e.y)),eo(n,t.min),n.setAttribute("viewBox",[t.min.x,t.min.y,e.x,e.y].join(" ")),this.fire("update"))},_initPath:function(t){var e=t._path=iL("path");t.options.className&&t4(e,t.options.className),t.options.interactive&&t4(e,"leaflet-interactive"),this._updateStyle(t),this._layers[r(t)]=t},_addPath:function(t){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(t._path),t.addInteractiveTarget(t._path)},_removePath:function(t){t2(t._path),t.removeInteractiveTarget(t._path),delete this._layers[r(t)]},_updatePath:function(t){t._project(),t._update()},_updateStyle:function(t){var e=t._path,t=t.options;e&&(t.stroke?(e.setAttribute("stroke",t.color),e.setAttribute("stroke-opacity",t.opacity),e.setAttribute("stroke-width",t.weight),e.setAttribute("stroke-linecap",t.lineCap),e.setAttribute("stroke-linejoin",t.lineJoin),t.dashArray?e.setAttribute("stroke-dasharray",t.dashArray):e.removeAttribute("stroke-dasharray"),t.dashOffset?e.setAttribute("stroke-dashoffset",t.dashOffset):e.removeAttribute("stroke-dashoffset")):e.setAttribute("stroke","none"),t.fill?(e.setAttribute("fill",t.fillColor||t.color),e.setAttribute("fill-opacity",t.fillOpacity),e.setAttribute("fill-rule",t.fillRule||"evenodd")):e.setAttribute("fill","none"))},_updatePoly:function(t,e){this._setPath(t,Y(t._parts,e))}
vendor: 1,087 bytes, line 9
9,_updateCircle:function(t){var e=t._point,n=Math.max(Math.round(t._radius),1),o="a"+n+","+(Math.max(Math.round(t._radiusY),1)||n)+" 0 1,0 ",e=t._empty()?"M0 0":"M"+(e.x-n)+","+e.y+o+2*n+",0 "+o+-(2*n)+",0 ";this._setPath(t,e)},_setPath:function(t,e){t._path.setAttribute("d",e)},_bringToFront:function(t){t5(t._path)},_bringToBack:function(t){t8(t._path)}});function iM(t){return tE.svg||tE.vml?new ik(t):null}tE.vml&&ik.include(tf),ez.include({getRenderer:function(t){return t=(t=t.options.renderer||this._getPaneRenderer(t.options.pane)||this.options.renderer||this._renderer)||(this._renderer=this._createRenderer()),this.hasLayer(t)||this.addLayer(t),t},_getPaneRenderer:function(t){var e;return"overlayPane"!==t&&void 0!==t&&(void 0===(e=this._paneRenderers[t])&&(e=this._createRenderer({pane:t}),this._paneRenderers[t]=e),e)},_createRenderer:function(t){return this.options.preferCanvas&&iC(t)||iM(t)}});var iz=e6.extend({initialize:function(t,e){e6.prototype.initialize.call(this,this._boundsToLatLngs(t),e)},setBounds:function(t){return this.setLatLngs(this._boundsToLatLngs(t))}
vendor: 6,134 bytes, line 9
9,_boundsToLatLngs:function(t){return[(t=D(t)).getSouthWest(),t.getNorthWest(),t.getNorthEast(),t.getSouthEast()]}});ik.create=iL,ik.pointsToPath=Y,it.geometryToLayer=ie,it.coordsToLatLng=io,it.coordsToLatLngs=is,it.latLngToCoords=ia,it.latLngsToCoords=ir,it.getFeature=il,it.asFeature=ih,ez.mergeOptions({boxZoom:!0});var X=te.extend({initialize:function(t){this._map=t,this._container=t._container,this._pane=t._panes.overlayPane,this._resetStateTimeout=0,t.on("unload",this._destroy,this)},addHooks:function(){eu(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){ef(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){t2(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){0!==this._resetStateTimeout&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(t){if(!t.shiftKey||1!==t.which&&1!==t.button)return!1;this._clearDeferredResetState(),this._resetState(),tU(),ea(),this._startPoint=this._map.mouseEventToContainerPoint(t),eu(document,{contextmenu:eP,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(t){this._moved||(this._moved=!0,this._box=t1("div","leaflet-zoom-box",this._container),t4(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(t);var t=new Z(this._point,this._startPoint),e=t.getSize();eo(this._box,t.min),this._box.style.width=e.x+"px",this._box.style.height=e.y+"px"},_finish:function(){this._moved&&(t2(this._box),t7(this._container,"leaflet-crosshair")),tV(),er(),ef(document,{contextmenu:eP,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(t){1!==t.which&&1!==t.button||(this._finish(),this._moved&&(this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(s(this._resetState,this),0),t=new j(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point)),this._map.fitBounds(t).fire("boxzoomend",{boxZoomBounds:t})))},_onKeyDown:function(t){27===t.keyCode&&(this._finish(),this._clearDeferredResetState(),this._resetState())}}),tm=(ez.addInitHook("addHandler","boxZoom",X),ez.mergeOptions({doubleClickZoom:!0}),te.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(t){var e=this._map,n=e.getZoom(),o=e.options.zoomDelta,n=t.originalEvent.shiftKey?n-o:n+o;"center"===e.options.doubleClickZoom?e.setZoom(n):e.setZoomAround(t.containerPoint,n)}})),tg=(ez.addInitHook("addHandler","doubleClickZoom",tm),ez.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0}),te.extend({addHooks:function(){var t;this._draggable||(t=this._map,this._draggable=new ej(t._mapPane,t._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),t.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),t.on("zoomend",this._onZoomEnd,this),t.whenReady(this._onZoomEnd,this))),t4(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){t7(this._map._container,"leaflet-grab"),t7(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var t,e=this._map;e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity?(t=D(this._map.options.maxBounds),this._offsetLimit=N(this._map.latLngToContainerPoint(t.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(t.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))):this._offsetLimit=null,e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(t){var e,n;this._map.options.inertia&&(e=this._lastTime=+new Date,n=this._lastPos=this._draggable._absPos||this._draggable._newPos,this._positions.push(n),this._times.push(e),this._prunePositions(e)),this._map.fire("move",t).fire("drag",t)},_prunePositions:function(t){for(;1<this._positions.length&&50<t-this._times[0];)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var t=this._map.getSize().divideBy(2),e=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=e.subtract(t).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(t,e){return t-(t-e)*this._viscosity},_onPreDragLimit:function(){var t,e;this._viscosity&&this._offsetLimit&&(t=this._draggable._newPos.subtract(this._draggable._startPos),e=this._offsetLimit,t.x<e.min.x&&(t.x=this._viscousLimit(t.x,e.min.x)),t.y<e.min.y&&(t.y=this._viscousLimit(t.y,e.min.y)),t.x>e.max.x&&(t.x=this._viscousLimit(t.x,e.max.x)),t.y>e.max.y&&(t.y=this._viscousLimit(t.y,e.max.y)),this._draggable._newPos=this._draggable._startPos.add(t))},_onPreDragWrap:function(){var t=this._worldWidth,e=Math.round(t/2),n=this._initialWorldOffset,o=this._draggable._newPos.x,s=(o-e+n)%t+e-n,o=(o+e+n)%t-e-n,t=Math.abs(s+n)<Math.abs(o+n)?s:o;this._draggable._absPos=this._draggable._newPos.clone(),this._draggable._newPos.x=t},_onDragEnd:function(t){var e,n,o,s,a=this._map,r=a.options,l=!r.inertia||t.noInertia||this._times.length<2;a.fire("dragend",t),!l&&(this._prunePositions(+new Date),t=this._lastPos.subtract(this._positions[0]),l=(this._lastTime-this._times[0])/1e3,e=r.easeLinearity,l=(t=t.multiplyBy(e/l)).distanceTo([0,0]),n=Math.min(r.inertiaMaxSpeed,l),t=t.multiplyBy(n/l),o=n/(r.inertiaDeceleration*e),(s=t.multiplyBy(-o/2).round()).x||s.y)?(s=a._limitOffset(s,a.options.maxBounds),S(function(){a.panBy(s,{duration:o,easeLinearity:e,noMoveStart:!0,animate:!0})}
vendor: 6,049 bytes, line 9
9)):a.fire("moveend")}})),t_=(ez.addInitHook("addHandler","dragging",tg),ez.mergeOptions({keyboard:!0,keyboardPanDelta:80}),te.extend({keyCodes:{left:[37],right:[39],down:[40],up:[38],zoomIn:[187,107,61,171],zoomOut:[189,109,54,173]},initialize:function(t){this._map=t,this._setPanDelta(t.options.keyboardPanDelta),this._setZoomDelta(t.options.zoomDelta)},addHooks:function(){var t=this._map._container;t.tabIndex<=0&&(t.tabIndex="0"),eu(t,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.on({focus:this._addHooks,blur:this._removeHooks},this)},removeHooks:function(){this._removeHooks(),ef(this._map._container,{focus:this._onFocus,blur:this._onBlur,mousedown:this._onMouseDown},this),this._map.off({focus:this._addHooks,blur:this._removeHooks},this)},_onMouseDown:function(){var t,e,n;this._focused||(n=document.body,t=document.documentElement,e=n.scrollTop||t.scrollTop,n=n.scrollLeft||t.scrollLeft,this._map._container.focus(),window.scrollTo(n,e))},_onFocus:function(){this._focused=!0,this._map.fire("focus")},_onBlur:function(){this._focused=!1,this._map.fire("blur")},_setPanDelta:function(t){for(var e=this._panKeys={},n=this.keyCodes,o=0,s=n.left.length;o<s;o++)e[n.left[o]]=[-1*t,0];for(o=0,s=n.right.length;o<s;o++)e[n.right[o]]=[t,0];for(o=0,s=n.down.length;o<s;o++)e[n.down[o]]=[0,t];for(o=0,s=n.up.length;o<s;o++)e[n.up[o]]=[0,-1*t]},_setZoomDelta:function(t){for(var e=this._zoomKeys={},n=this.keyCodes,o=0,s=n.zoomIn.length;o<s;o++)e[n.zoomIn[o]]=t;for(o=0,s=n.zoomOut.length;o<s;o++)e[n.zoomOut[o]]=-t},_addHooks:function(){eu(document,"keydown",this._onKeyDown,this)},_removeHooks:function(){ef(document,"keydown",this._onKeyDown,this)},_onKeyDown:function(t){if(!(t.altKey||t.ctrlKey||t.metaKey)){var e,n,o=t.keyCode,s=this._map;if(o in this._panKeys)s._panAnim&&s._panAnim._inProgress||(n=this._panKeys[o],t.shiftKey&&(n=B(n).multiplyBy(3)),s.options.maxBounds&&(n=s._limitOffset(B(n),s.options.maxBounds)),s.options.worldCopyJump?(e=s.wrapLatLng(s.unproject(s.project(s.getCenter()).add(n))),s.panTo(e)):s.panBy(n));else if(o in this._zoomKeys)s.setZoom(s.getZoom()+(t.shiftKey?3:1)*this._zoomKeys[o]);else{if(27!==o||!s._popup||!s._popup.options.closeOnEscapeKey)return;s.closePopup()}eP(t)}}})),tv=(ez.addInitHook("addHandler","keyboard",t_),ez.mergeOptions({scrollWheelZoom:!0,wheelDebounceTime:40,wheelPxPerZoomLevel:60}),te.extend({addHooks:function(){eu(this._map._container,"wheel",this._onWheelScroll,this),this._delta=0},removeHooks:function(){ef(this._map._container,"wheel",this._onWheelScroll,this)},_onWheelScroll:function(t){var e=eL(t),n=this._map.options.wheelDebounceTime,e=(this._delta+=e,this._lastMousePos=this._map.mouseEventToContainerPoint(t),this._startTime||(this._startTime=+new Date),Math.max(n-(+new Date-this._startTime),0));clearTimeout(this._timer),this._timer=setTimeout(s(this._performZoom,this),e),eP(t)},_performZoom:function(){var t=this._map,e=t.getZoom(),n=this._map.options.zoomSnap||0,o=(t._stop(),this._delta/(4*this._map.options.wheelPxPerZoomLevel)),o=4*Math.log(2/(1+Math.exp(-Math.abs(o))))/Math.LN2,n=n?Math.ceil(o/n)*n:o,o=t._limitZoom(e+(0<this._delta?n:-n))-e;this._delta=0,this._startTime=null,o&&("center"===t.options.scrollWheelZoom?t.setZoom(e+o):t.setZoomAround(this._lastMousePos,e+o))}})),ty=(ez.addInitHook("addHandler","scrollWheelZoom",tv),ez.mergeOptions({tapHold:tE.touchNative&&tE.safari&&tE.mobile,tapTolerance:15}),te.extend({addHooks:function(){eu(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){ef(this._map._container,"touchstart",this._onDown,this)},_onDown:function(t){var e;clearTimeout(this._holdTimeout),1===t.touches.length&&(e=t.touches[0],this._startPos=this._newPos=new A(e.clientX,e.clientY),this._holdTimeout=setTimeout(s(function(){this._cancel(),this._isTapValid()&&(eu(document,"touchend",ew),eu(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",e))},this),600),eu(document,"touchend touchcancel contextmenu",this._cancel,this),eu(document,"touchmove",this._onMove,this))},_cancelClickPrevent:function t(){ef(document,"touchend",ew),ef(document,"touchend touchcancel",t)},_cancel:function(){clearTimeout(this._holdTimeout),ef(document,"touchend touchcancel contextmenu",this._cancel,this),ef(document,"touchmove",this._onMove,this)},_onMove:function(t){t=t.touches[0],this._newPos=new A(t.clientX,t.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(t,e){(t=new MouseEvent(t,{bubbles:!0,cancelable:!0,view:window,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY}))._simulated=!0,e.target.dispatchEvent(t)}})),tb=(ez.addInitHook("addHandler","tapHold",ty),ez.mergeOptions({touchZoom:tE.touch,bounceAtZoomLimits:!0}),te.extend({addHooks:function(){t4(this._map._container,"leaflet-touch-zoom"),eu(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){t7(this._map._container,"leaflet-touch-zoom"),ef(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(t){var e,n,o=this._map;!t.touches||2!==t.touches.length||o._animatingZoom||this._zooming||(e=o.mouseEventToContainerPoint(t.touches[0]),n=o.mouseEventToContainerPoint(t.touches[1]),this._centerPoint=o.getSize()._divideBy(2),this._startLatLng=o.containerPointToLatLng(this._centerPoint),"center"!==o.options.touchZoom&&(this._pinchStartLatLng=o.containerPointToLatLng(e.add(n)._divideBy(2))),this._startDist=e.distanceTo(n),this._startZoom=o.getZoom(),this._moved=!1,this._zooming=!0,o._stop(),eu(document,"touchmove",this._onTouchMove,this),eu(document,"touchend touchcancel",this._onTouchEnd,this),ew(t))},_onTouchMove:function(t){if(t.touches&&2===t.touches.length&&this._zooming){var e=this._map,n=e.mouseEventToContainerPoint(t.touches[0]),o=e.mouseEventToContainerPoint(t.touches[1]),a=n.distanceTo(o)/this._startDist;if(this._zoom=e.getScaleZoom(a,this._startZoom),!e.options.bounceAtZoomLimits&&(this._zoom<e.getMin
9Zoom()&&a<1||this._zoom>e.getMaxZoom()&&1<a)&&(this._zoom=e._limitZoom(this._zoom)),"center"===e.options.touchZoom){if(this._center=this._startLatLng,1==a)return}else{if(n=n._add(o)._divideBy(2)._subtract(this._centerPoint),1==a&&0===n.x&&0===n.y)return;this._center=e.unproject(e.project(this._pinchStartLatLng,this._zoom).subtract(n),this._zoom)}this._moved||(e._moveStart(!0,!1),this._moved=!0),k(this._animRequest),o=s(e._move,e,this._center,this._zoom,{pinch:!0,round:!1},void 0),this._animRequest=S(o,this,!0),ew(t)}},_onTouchEnd:function(){this._moved&&this._zooming?(this._zooming=!1,k(this._animRequest),ef(document,"touchmove",this._onTouchMove,this),ef(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))):this._zooming=!1}})),iE=(ez.addInitHook("addHandler","touchZoom",tb),ez.BoxZoom=X,ez.DoubleClickZoom=tm,ez.Drag=tg,ez.Keyboard=t_,ez.ScrollWheelZoom=tv,ez.TapHold=ty,ez.TouchZoom=tb,t.Bounds=Z,t.Browser=tE,t.CRS=W,t.Canvas=iT,t.Circle=e4,t.CircleMarker=e9,t.Class=z,t.Control=eI,t.DivIcon=iv,t.DivOverlay=im,t.DomEvent=tt,t.DomUtil=J,t.Draggable=ej,t.Evented=I,t.FeatureGroup=e0,t.GeoJSON=it,t.GridLayer=iy,t.Handler=te,t.Icon=e1,t.ImageOverlay=id,t.LatLng=R,t.LatLngBounds=j,t.Layer=td,t.LayerGroup=eJ,t.LineUtil=to,t.Map=ez,t.Marker=e5,t.Mixin=ti,t.Path=e8,t.Point=A,t.PolyUtil=tn,t.Polygon=e6,t.Polyline=e7,t.Popup=ig,t.PosAnimation=eM,t.Projection=tr,t.Rectangle=iz,t.Renderer=iP,t.SVG=ik,t.SVGOverlay=ip,t.TileLayer=ib,t.Tooltip=i_,t.Transformation=U,t.Util=M,t.VideoOverlay=iu,t.bind=s,t.bounds=N,t.canvas=iC,t.circle=function(t,e,n){return new e4(t,e,n)},t.circleMarker=function(t,e){return new e9(t,e)},t.control=eE,t.divIcon=function(t){return new iv(t)},t.extend=e,t.featureGroup=function(t,e){return new e0(t,e)},t.geoJSON=ic,t.geoJson=tp,t.gridLayer=function(t){return new iy(t)},t.icon=function(t){return new e1(t)},t.imageOverlay=function(t,e,n){return new id(t,e,n)},t.latLng=H,t.latLngBounds=D,t.layerGroup=function(t,e){return new eJ(t,e)},t.map=function(t,e){return new ez(t,e)},t.marker=function(t,e){return new e5(t,e)},t.point=B,t.polygon=function(t,e){return new e6(t,e)},t.polyline=function(t,e){return new e7(t,e)},t.popup=function(t,e){return new ig(t,e)},t.rectangle=function(t,e){return new iz(t,e)},t.setOptions=f,t.stamp=r,t.svg=iM,t.svgOverlay=function(t,e,n){return new ip(t,e,n)},t.tileLayer=ix,t.tooltip=function(t,e){return new i_(t,e)},t.transformation=V,t.version="1.9.4",t.videoOverlay=function(t,e,n){return new iu(t,e,n)},window.L);t.noConflict=function(){return window.L=iE,this},window.L=t}),function(t){"use strict";let e=t('<style type="text/css">.mm-menu.mm-offcanvas { display: none; }</style>');function n(){t("nav.mm-menu a.mm-prev").each(function(){let e=t(this).parent().find("a.mm-title").text();t(this).attr("title",e)}),t("nav.mm-menu a.mm-next").each(function(){let e=t("> a[data-title]",t(this).parent()).data("title");t(this).attr("title",e)}),t("nav.mm-menu a.mm-close").length>0&&t("nav.mm-menu a.mm-close").attr("title","Close"),function(){let e=t(".navigation-a");e.length&&t(".navigation-a > .navigation__list > .navigation__item.has-drop-down").on("mouseenter mouseleave",function(e){let n=t(this),o=n.find("> .navigation__list--sub"),s=o.find("> .navigation__item.has-drop-down > .navigation__list--sub"),a=s.find("> .navigation__item.has-drop-down > .navigation__list--sub"),r=o.outerWidth(!0),l=n.offset().left,h=0,c=0;t(s).each(function(){let e=t(this).outerWidth(!0);e>c&&(c=e)});let d=0;t(a).each(function(){let e=t(this).outerWidth(!0);e>d&&(d=e)}),h=r+c+d-n.outerWidth(!0);let u=t(document).width()-(l+n.outerWidth(!0)+60),p=u>h;p?n.removeClass("near-edge"):n.addClass("near-edge")})}()}t("html > head").append(e),t(document).ready(function(){t("[data-sticky-header]").closest(".js-sticky-nav").sticky({topSpacing:0}),t(".navigation__item.more").click(function(t){t.preventDefault()}),t(".more_nav--loading").removeClass("more_nav--loading"),n()}),t(window).load(function(){n()})}(window.jQuery),function(t){var e=function(e,n){this.$el=t(e),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)};e.prototype.init=function(t){this.attachEvents()},e.prototype.attachEvents=function(){var e=this;e.$el.on("change",":file",function(){var e=t(this),n=e.get(0).files?e.get(0).files.length:1,o=e.val().replace(/\\/g,"/").replace(/.*\//,""),s=document.getElementById(e.attr("id")).files[0];s&&e.trigger("fileselect",[n,o,s])}),e.$uploadFieldInput.on("fileselect",function(t,n,o,s){e.validateFiles(t,n,o,s)}),e.$uploadFieldInput.on("focus",function(){e.$uploadFieldInput.addClass("has-focus")}).on("blur",function(){e.$uploadFieldInput.removeClass("has-focus")}),e.$close.on("click",function(t){t.preventDefault(),e.toggleInputState("reset"),e.uploadItems("removeLastUploaded"),e.$uploadFieldInput.val("")}
9)},e.prototype.uploadItems=function(t){"object"!=typeof t?this.$uploadFieldInput.data("item",""):(this.$uploadFieldInput.data("item",JSON.stringify(t)),this.toggleInputState("close"))},e.prototype.toggleInputState=function(t){"reset"===t&&(t="upload",this.$label.html(this.config.defaultLabel)),this.$el.find(".la-cicon-"+t).show(),this.$el.find(".la-cicon-"+t).siblings("i").hide(),"upload"===t?this.$el.find(".status-label").show():this.$el.find(".status-label").hide()},e.prototype.encodeBaseSF=function(t,e,n){var o=this,s=new FileReader,a={};s.readAsDataURL(t),s.onload=function(){return a.id=e,a.string=s.result,a.size=t.size,a.extension=o.itemInfo.extension,a.icon=o.itemInfo.icon,n(a)},s.onerror=function(t){}},e.prototype.insertHTML=function(e){this.options.required;var n='<label for="'+e.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>',o=t("<input>",e).addClass("fileUpload");this.$el.append(o).append(n)},e.prototype.validateFiles=function(e,n,o,s){var a=this,r=a.$label.html(),l="",h=!1;t("label",a.$el).removeClass("has-error"),t(".error_container",a.$el.parent().parent()).remove(),a.itemInfo.extension=s.name.split(".").pop().toUpperCase(),a.itemInfo.icon="other",t.each(a.options.fileTypes,function(t,e){e.ext===a.itemInfo.extension&&(h=!0,a.itemInfo.icon=e.icon)}),e.target.value&&(l=e.target.value.split("\\").pop());var c='<span class="success"><i class="la-cicon-file-'+a.itemInfo.icon+'"></i>'+l+"</span>";l?(s.size>a.config.fileSize?a.updateLabel(a.config.maxSize):h?a.encodeBaseSF(s,l,function(t){a.uploadItems(t),a.updateLabel(c)}):a.updateLabel(a.config.notSupported),a.toggleInputState("close")):(a.$label.html(r),a.toggleInputState("load"))},e.prototype.updateLabel=function(t){void 0!==t&&this.$label.html(t)}
9;var n=t.fn.uploadField;t.fn.uploadField=function(n){n=t.extend({},t(this).data(),"object"==typeof n&&n),new e(this,n)},t.fn.uploadField.Constructor=e,t.fn.uploadField.noConflict=function(){return t.fn.uploadField=n,this}}(jQuery),function(t){"use strict";t(document).ready(function(){t("body").on("SMBLeadsFormReady",function(){var e=t('[data-control="form"]');if(e.length){e.each(function(){""!=t(this).data("mhorgid")&&(t("<input>").attr({type:"hidden",name:"mh_orgId",value:t(this).data("mhorgid")}).appendTo(t("form",t(this))),t("<input>").attr({type:"hidden",name:"mh_template_id",value:t(this).data("templateId")}).appendTo(t("form",t(this))))});var n=e.find("form");n.find("input[type=submit]").on("click",function(e){var o=n.serializeArray(),s={};t.each(o,function(t,e){s[e.name]=e.value}),function(t){if(!("comments"in t))return!1;var e=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!!t.comments.match(e)}(s)&&(Sweetalert2({title:"Error!",text:"Error: Your message could not be delivered because it contains a link to an external website. Please review your message and try again.",type:"error"}).done(),e.preventDefault())})}t(".leadForm .hasDatepicker").each(function(){t(this).attr({type:"text",readonly:"readonly"})})});var e=t(".form.isPleForm");e.length&&e.each(function(){var e=t(this).closest(".section");e.hasClass("section-form")||e.addClass("section-form")});var n=t(".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&&e.length&&n.each(function(){t(this).find(e).addClass("form-themeExtras"),t("body").on("SMBLeadsFormReady",function(){var n=t(".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)"),o=t(".forms-option--b .leadForm .form__group:not(.checkbox__group):not(.radio__group)");n.find(e).each(function(){t(this).find(".form__group").not(".form-input-comments").wrapAll("<div class='groupWrap' />")}),o.each(function(){t(this).hasClass("hasLabel")&&t(this).addClass("optionB-enabled")})})})})}(window.jQuery),$(document).ready(function(){var t=$(".editable__container");t.length&&t.each(function(){var t=$(this),e=t.find(".contentExpandWrap"),n=t.find("#readMoreLink");n.length&&("SPAN"==n[0].nodeName&&(n.attr("href","#editableAnimateShowLess"),function(t,e){$(t).each(function(){var t=$(e,{html:$(this).html()});$.each(this.attributes,function(){t.attr(this.name,this.value)}),$(this).replaceWith(t)})}(n,"<a></a>")),e.add(n).removeClass("expand"),e.hide(),n.text("Show More"),t.on("click","#readMoreLink",function(n){n.preventDefault();var o=$(this),s=$("body .redactor-link-tooltip .redactor-link-tooltip-action:first-child");s.length&&s.parent().css("visibility","hidden"),"Show More"===o.text()?(t.removeAttr("id"),o.text("Show Less")):(t.attr("id","editableAnimateShowLess"),o.text("Show More")),e.add(o).toggleClass("expand")}))})}),(t=>{"use strict";class e{constructor(t){this.$el=t,this.init()}init(){this.bindToOffsetToAnchors()}bindToOffsetToAnchors(){this.$el.on("click",'a[href^="#"]',e=>{let n=e.target;if(!n)return;let o=decodeURI(n.hash).slice(1);if(!o)return;let s=document.getElementById(o);s&&this.animateToAnchor(t(s))})}animateToAnchor(e,n){n??=this.getStickySectionsHeight(),t("html, body").animate({scrollTop:e.offset().top-n},"slow")}getStickySectionsHeight(){return PLEStickyState?.getStickySectionsHeight()??0}static dataAttribute="linkToSection"}t(()=>{for(let n of document.querySelectorAll(".editable__container")){let o=t(n);o.data(e.dataAttribute,new e(o))}})})(window.jQuery),function(t){"use strict";var e=function(){this.confData={},this.selfCount={},this.mapInstance={},this.mapMarkers={},this.activeMap=null,t(".js-mapComponent").length&&this.initialize()};e.prototype.getAddressForPostcode=function(t,e,n){for(var o="",s=this.confData[t].locations,a=0;a<s.length;a++)if(-1!==s[a].address.indexOf(e)){if(null!==n){if(-1!==s[a].address.indexOf(n)){o=s[a].address;break}}else{o=s[a].address;break}}return o},e.prototype.initialize=function(){var e=this,n=t(".js-mapComponent");window.mapPopupTriggered=!1,n.each(function(){var n=t(this).closest("[data-component-name]").data("c
9omponentName");e.mapInstance[n]=L.map(this),L.tileLayer("//smbmaps.ibsrv.net/world_tiles/{z}/{x}/{y}.png",{attribution:'Map data provided by <a href="http://www.internetbrands.com/">Internet Brands</a>',maxZoom:18}).addTo(e.mapInstance[n]),e.mapInstance[n].scrollWheelZoom.disable(),e.confData[n]=JSON.parse(t(this).closest("[data-component-name]").find("input[type=hidden]").val()),e.setupMap(e.mapInstance[n],e.confData[n]),e.mapSize(this,e.confData[n],n),e.attachEvents(this,e.confData[n],n),e.searchByZipCode(this,e.confData[n],e.mapInstance[n],n,!1);var o=e.confData[n].locations;o.length>1&&!e.confData[n].fitBounds&&(o=o.reverse());for(var s=0;s<o.length;s++)if(null!=o[s].cta&&(2==o[s].cta.buttonStyle&&(o[s].cta.iconHtm='\n<span aria-label="'+o[s].cta.iconClass.replace(/-/g," ")+'">\n<span class="'+o[s].cta.iconClass+' icon" aria-hidden="true"></span>\n</span>\n'),3==o[s].cta.buttonStyle&&(o[s].cta.iconHtm='\n<span class="'+o[s].cta.iconClass+' icon" aria-hidden="true"></span>\n'+o[s].cta.buttonText+"\n")),null!=o[s].latitude&&null!=o[s].longitude){var a=[{lat:o[s].latitude,lon:o[s].longitude,address:{name:o[s].address}}];e.applyData(a,n,this,s)}else e.geolocateLocation(o[s],n,this);var r=e.confData[n].xaxis,l=e.confData[n].yaxis;t(window).width()>768&&(0!=r||0!=l)&&e.mapInstance[n].panBy([r,l])}),t("body").click(function(n){if(t(n.target).hasClass("js-mapComponent")){var o=t(n.target).closest("[data-component-name]").data("componentName");null!==e.activeMap&&e.mapInstance[e.activeMap].scrollWheelZoom.disable(),e.activeMap=o,e.confData[o].zoomControl&&e.mapInstance[o].scrollWheelZoom.enable()}else null!==e.activeMap&&(e.mapInstance[e.activeMap].scrollWheelZoom.disable(),e.activeMap=null)})},e.prototype.attachEvents=function(e,n,o){var s,a=this;t(window).resize(function(){a.mapSize(e,n,o),clearTimeout(s),s=setTimeout(function(){if(a.mapMarkers[o].length>1&&a.confData[o].fitBounds){var t=L.featureGroup(a.mapMarkers[o]);a.mapCenter(o,t)}},250)})}
9,e.prototype.setupMap=function(e,n){n.zoomControl||(e.boxZoom.disable(),e.doubleClickZoom.disable(),e.keyboard.disable(),e.scrollWheelZoom.disable(),e.tap&&e.tap.disable(),e.touchZoom.disable(),t(".leaflet-control-zoom").css("visibility","hidden"))},e.prototype.mapCenter=function(t,e){this.mapInstance[t].fitBounds(e.getBounds().pad(.5)),this.confData[t].alwaysShowInfoWindow&&this.mapMarkers[t][this.mapMarkers[t].length-1].isPopupOpen()&&!window.mapPopupTriggered&&(this.mapMarkers[t][this.mapMarkers[t].length-1].closePopup(),this.mapMarkers[t][this.mapMarkers[t].length-1].openPopup(),window.mapPopupTriggered=!0)},e.prototype.mapSize=function(e,n,o){var s=t(e).parent();if(n.autoFit){this.confData[o].isPle?r=s.find(".map__wrap").outerHeight(!0):a=s.children(".component__title-caption-wrap").outerHeight(!0),s.css("height","100%");var a,r,l=s.height();this.confData[o].isPle||null===a?768>=t(window).width()&&null!==r&&(l-=r):l-=a,t(e).css({width:s.width(),height:l}),t(e).trigger("map.resize")}else t(e).css({width:n.width,height:n.height})},e.prototype.geocodeURL="https://nominatim.openstreetmap.org/search?[QUERY]&format=json&polygon=1&addressdetails=1&limit=1",e.prototype.geolocateLocation=function(e,n,o){var s=this,a=this.geocodeURL;a=a.replace("[QUERY]",e.query),t.ajax({url:a,dataType:"jsonp",jsonp:"json_callback",success:function(t){s.applyData(t,n,o)}})},e.prototype.searchByZipCode=function(e,n,o,s,a){var r=this,l=this.geocodeURL;t("#location-zip").submit(function(e){e.preventDefault();var h=t("#location-search").val();if(!h||"Enter your zip code and state"==h){alert("Please enter your current city or ZIP code.");return}l="https://nominatim.openstreetmap.org/search?q="+h+"&format=json",t.ajax({url:l,dataType:"jsonp",jsonp:"json_callback",success:function(t){r.getDistance(t,n,o,s,a)}})})},e.prototype.getDistance=function(e,n,o,s,a){var r=this;if(r.markerTemp,0!==Object.keys(e).length){var l=n.locations,h=e[0].lat,c=e[0].lon,d=new L.Icon({iconUrl:n.assetsPath+"css/images/marker-icon-green.png",shadowUrl:n.assetsPath+"images/marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],shadowSize:[41,41]}),u=new L.marker([h,c],{icon:d});u.addTo(o),void 0!==r.markerTemp&&(r.markerTemp.removeFrom(o),this.mapMarkers[s].pop(u)),null!=u&&(r.markerTemp=u),this.mapMarkers[s].push(u),o.closePopup();var p=L.featureGroup(this.mapMarkers[s]).addTo(o);o.fitBounds(p.getBounds().pad(.5));for(var f=0;f<l.length;f++)if(null!=l[f].latitude&&null!=l[f].longitude)for(var m=Math.round(621371e-9*L.latLng([l[f].latitude,l[f].longitude]).distanceTo([h,c])),g=t(".gmap-location b"),_=t(".gmap-location .gmap-distance"),v=0;v<g.length;v++)-1!==g[v].innerText.indexOf(l[f].title)&&(t(g[v]).closest(".gmap-location").data("distanceMiles",m),m=m.toLocaleString(),_.show(),_[v].innerHTML=m+" mi");t(".gmap-location-list li").sort(function(e,n){return t(n).data("distanceMiles")<t(e).data("distanceMiles")?1:-1}).appendTo(".gmap-location-list"),a=!0,t(".gmap-location-list li").first().children().trigger("click",[a])}else{for(var g=t(".gmap-location b"),y=t(".map-search__location-distance > b"),_=t(".gmap-location .gmap-distance"),f=0;f<_.length;f++)_.show(),_[f].innerHTML=" -- mi";for(var f=0;f<y.length;f++)y.show(),y[f].innerHTML=" -- mi";for(var f=0;f<g.length;f++)t(g[f]).closest(".gmap-location").data("distanceMiles","--")}},e.prototype.applyData=function(e,n,o,s){var a=this;if(e.length>0){a.selfCount[n]=a.selfCount[n]||0;var r=e[0],l=r.lat,h=r.lon;a.mapInstance[n].setView([l,h],a.confData[n].zoom,{animation:!0}),a.selfCount[n]++;var c=[];c.alt="Map Marker";var d=a.confData[n].assetsPath;if(a.confData[n].iconUrl){var u=a.confData[n].iconUrl,p=new L.Icon({iconUrl:u,shadowUrl:d+"images/marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],shadowSize:[41,41]});c.icon=p}var f=L.marker([l,h],c);if(a.confData[n].alwaysShowInfoWindow||a.confData[n].showAddressOnHover){var m=r.display_name||null,g=null;if("postcode"in r.address){var _="house_number"in r.address?r.address.house_number:null;m=""!=(g=a.getAddressForPostcode(n,r.address.postcode,_))?g:m}else r.address.name&&(m=r.address.name);m&&f.bindPopup(m)}if(a.mapMarkers[n]=a.mapMarkers[n]||[],a.mapMarkers[n].push(f),a.confData[n].hue){var v=a.confData[n].hue.stylers,y=(v[0].gama,v[1].lightness,v[2].hue);"none"!==y&&(t(o).css("background-color",y),t("div.leaflet-tile-pane",o).css("opacity","0.9"))}if(a.selfCount[n]>=a.confData[n].locations.length){var b=L.featureGroup(a.mapMarkers[n]).addTo(a.mapInstance[n]);a.mapMarkers[n].length>1&&a.confData[n].fitBounds&&a.mapCenter(n,b),a.confData[n].alwaysShowInfoWindow&&(a.mapMarkers[n][a.mapMarkers[n].length-1].closePopup(),a.mapMarkers[n][a.mapMarkers[n].length-1].openPopup())}}else console.log("No data found.")},t(document).ready(function(){if(window.webManagerMap=new e,t(".map-a").length>0){var n;n=[{selector:".map-search__location-distance h3 b",property:"title",type:"text"},{selector:".map-search__location-address p",property:"address_format",type:"text"},{selector:".map-search__location-phone",property:"phone",type:"text"},{selector:".map-search__location-phone2",property:"phone2",type:"text"},{selector:".map-search__location-fax",property:"fax",type:"text"},{selector:".map-search__location-directions a",property:["cta","buttonText"],type:"text"},{selector:".map-search__location-directions a",property:["cta","linkPage"],type:"href"},{selector:".map-search__email",property:"email",type:"text"}],t("#gmap-location-list").on("click",".gmap-location a",function(e,o){e.preventDefault();
9var s=t(this).closest("[data-component-name]").data("componentName"),a=window.webManagerMap.confData[s].locations,r=t(this).parent().attr("id"),l=a.find(function(t){return t.ID===r}),h=window.webManagerMap.mapMarkers[s].find(function(t){return t._latlng.lat==l.latitude&&t._latlng.lng==l.longitude}),c=window.webManagerMap.mapInstance[s],d=window.webManagerMap.confData[s];void 0===o&&(c.setView([l.latitude,l.longitude],d.zoom,{animation:!0}),void 0!==h&&h.openPopup());var u=t(this).closest(".gmap-location").data("distanceMiles"),p=t(".map-search__location-distance > b");void 0!==u?(p.show(),u=u.toLocaleString(),p[0].innerHTML=u+" mi"):p[0].innerHTML=" -- mi",n.forEach(function(e,n){var o={},s=e.property;if(".map-search__location-directions a"==e.selector){for(var a="",n=0;n<=3;n++)if(l.cta.buttonStyle==n){switch(l.cta.buttonStyle){case"0":a="cta__link component__link--";break;case"1":a="cta__button component__button--";break;case"2":a="cta__link--icon ";break;case"3":a="cta__button--icon component__button--"}2==l.cta.buttonStyle||3==l.cta.buttonStyle?t(e.selector).html(l.cta.iconHtm):t(e.selector).text(l.cta.buttonText),t(e.selector).removeClass().addClass(a+l.cta.displayStyle),2==l.cta.linkType?t(e.selector).attr("href","#"):1==l.cta.linkType?t(e.selector).attr("href",l.cta.linkUrl):t(e.selector).attr("href",l.cta.linkPage),l.cta.openInNew?t(e.selector).attr("target","_blank"):t(e.selector).attr("target",""),l.cta.openInNew&&1==l.cta.linkType?t(e.selector).attr("rel","noopener"):t(e.selector).attr("rel","")}}else{if("string"==typeof s||s instanceof String)o=l[s];else{var r=l;s.forEach(function(t){r=r[t]}),o=r}if("string"==typeof o||o instanceof String)"text"===e.type?(t(e.selector).text(o),(".map-search__location-phone"==e.selector||".map-search__location-phone2"==e.selector)&&t(e.selector).attr("href","tel:"+o)):"href"===e.type&&t(e.selector).attr("href",o),o.length>0?t(e.selector).show():t(e.selector).hide();else{var h=Object.values(Object.keys(l[s]).map(function(t){return l[s][t]}));t(e.selector).html(h.join("<br>"))}}})})}})}(window.jQuery),function(t){"use strict";var e=function(e,n){var o=this;this.$element=t(e),this.$ul=this.$element,this.$videos=t(".video-js-slider",e),this.$videoOverlays=t(".video-overlay",this.$element),this.players=[],this.clones=[],this.prevDevice=null,this.loaded=0,this.tempArrVidsPause=[],this.vidsPauseClicked=[],this.lastDevice="",this.hadInteraction=!1,this.firstPlayerRef=null,window.addEventListener("wm-defer-js",()=>{o.hadInteraction=!0,o.firstPlayerRef&&o.firstPlayerRef.paused()&&(o.$element.stopAuto(),o.firstPlayerRef.muted(!0),o.firstPlayerRef.play(),o.firstPlayerRef=null)}),this.groupSlidesByDevice(),this.options=this.parseTrueFalseOptions(n),this.auto=this.options.auto,this.muted=!1,this.options.autoplayvideo&&(this.muted=!0),this.startPaused=-1!==location.href.indexOf("slide_show_pause=1")||-1!==location.href.indexOf("screenshot_mode=1"),this.startPaused&&(this.options.auto=!1),this.options.auto&&this.options.firstSlideVideo&&this.options.autoplayvideo&&(this.change=!0,this.options.auto=!1),o.attachEvents(),o.runSlider()};e.prototype.runSlider=function(){var e,n,o=this,s=o.getDevice();if(""!=o.lastDevice){if(s==o.lastDevice)return;if(JSON.stringify(o[s+"Items"])==JSON.stringify(o[o.lastDevice+"Items"])){o.lastDevice=s;return}}o.lastDevice=s,o.destroySlider(),e=s+"Items",o.options.count=o[e].length,0!=o.options.count&&(o[e].forEach(function(t){o.$ul.append(t)}),1==o.options.count&&(o.options.infiniteLoop=!1),n=o.generateBxSliderData(),t.extend(n,o.options),o.$bxSlider=o.$ul.bxSlider(n))},e.prototype.generateBxSliderData=function(){var e=this;return{onSlideAfter:function(t,n,o){if(e.players.forEach(function(t){t.paused()||(-1==e.tempArrVidsPause.indexOf(t.id_)&&e.tempArrVidsPause.push(t.id_),t.pause())}),t.hasClass("slider__video_type")){var s=t.find("[data-item-id]").data("itemId"),a=e.findPlayerByItemId(s);a||(a=e.returnPlayer(t.find(".video-js"))),e.options.autoplayvideo&&1>a.currentTime()&&(e.$element.stopAuto(),e.hadInteraction?(a.muted(!0),a.play()):e.firstPlayerRef=a),e.muted&&a.muted(!0)}e.options.stopSlideshowAfterOneLoop&&e.options.count-1==o&&e.$element.stopAuto()},onSliderLoad:function(n){e.$element.css("visibility","visible"),e.$wrapper=e.$element.closest(".bx-wrapper"),""==e.options.easing&&(e.options.easing=null),e.options.controlsHover&&(t(".bx-controls-direction",e.$wrapper).hide(),e.$wrapper.hover(function(){t(".bx-controls-direction",t(this)).fadeIn(300)},function(){t(".bx-controls-direction",t(this)).fadeOut(300)})),e.options.autoHoverModified&&e.$wrapper.hover(function(){e.options.auto&&e.$element.stopAuto()},function(){e.options.auto&&!e.isVideoPlaying()&&(e.$element.stopAuto(),e.$element.startAuto())}),e.change&&(e.options.auto=!0),null!=e.options.easing&&(e.options.useCSS=!1),e.auto&&e.makePauseSlideshowButton(),o=e.options.count>1&&"fade"!=e.options.mode?1:0;var o,s=t("#slider").find(".bx-viewport").find("ul").children().eq(o);if(s.hasClass("slider__video_type")){var a=e.returnPlayer(s.find(".video-js"));e.options.autoplayvideo&&(e.$element.stopAuto(),e.hadInteraction?(a.muted(!0),a.play()):e.firstPlayerRef
9=a),e.muted&&a.muted(!0)}e.initializeClones(),e.initializeOverlays(),e.$element.closest(".bx-wrapper").find(".bx-controls").wrapAll("<div class='wrap__bx-controls' />"),e.$element.closest(".bx-wrapper").find(".wrap_on-off, .wrap_pause-play, .bx-pager ").wrapAll("<div class='bx-controls-buttons' />")}}},e.prototype.destroySlider=function(){this.$bxSlider&&this.$bxSlider.destroySlider(),this.$ul.html("")},e.prototype.attachEvents=function(){var e,n,o=this;t("#slider").on("click",".pause-slideshow",function(n,s){t(this).hide(),o.$element.stopAuto(),o.options.auto=!1,t("#slider .play-slideshow").fadeIn("slow",function(){void 0!==s&&t(this).focus()}),(e=o.isVideoPlaying())&&e.pause()}),t("#slider").on("click",".play-slideshow",function(e,n){t(this).hide(),o.$element.startAuto(),o.options.auto=!0,t("#slider .pause-slideshow").fadeIn("slow",function(){void 0!==n&&t(this).focus()})}),t("body").keypress(function(e){13==e.which&&(t("#slider").find(".play-slideshow").is(":focus")&&t("#slider").find(".play-slideshow").trigger("click",{kb:!0}),t("#slider").find(".pause-slideshow").is(":focus")&&t("#slider").find(".pause-slideshow").trigger("click",{kb:!0}),t("#slider").find(".sound-off").is(":focus")&&t("#slider").find(".sound-off").trigger("click",{kb:!0}),t("#slider").find(".sound-on").is(":focus")&&t("#slider").find(".sound-on").trigger("click",{kb:!0}))}),t(window).resize(function(){clearTimeout(n),n=setTimeout(function(){o.runSlider()},250)})},e.prototype.returnPlayer=function(t){var e=this,n=t.data("setupRun");return void 0!=n.techOrder&&"vimeo"==n.techOrder[0]&&(n.controls=!1),void 0!=n.techOrder&&"youtube"==n.techOrder[0]&&(n.youtube={ytControls:2},n.controls=!1),videojs(t.attr("id"),n,function(){var t,n=this;e.players.push(n),n.on("play",function(){e.showCaptionWhilePlay(this.id_,!1),e.options.auto&&e.$element.stopAuto()}),n.on("pause",function(o){e.showCaptionWhilePlay(this.id_,!0),e.options.auto&&(e.$element.stopAuto(),e.$element.startAuto()),(t=e.hasClone(n))&&(t.poster(""),t.bigPlayButton.hide(),t.currentTime(n.currentTime()))}),n.on("ended",function(){e.showCaptionWhilePlay(this.id_,!0),e.options.auto&&(e.$element.stopAuto(),e.$element.startAuto())})})},e.prototype.parseTrueFalseOptions=function(t,n){for(var o in t)t.hasOwnProperty(o)&&-1!=e.BOOLEANS.indexOf(o)&&(t[o]=!!t[o]);return t},e.prototype.isVideoPlaying=function(){var t=!1;return this.players.forEach(function(e){e.paused()||(t=e)}),t},e.prototype.initializeOverlays=function(){var e=this;e.$videoOverlays.length&&e.$videoOverlays.on("click",function(){var n=e.findPlayerByItemId(t(this).data("itemId"));n.paused()?(n.muted(!1),n.play()):n.pause()})},e.prototype.findPlayerByItemId=function(e){for(var n=0;n<this.players.length;n++){var o=this.players[n];if(t(o.el_).data("itemId")==e)return o}return!1},e.prototype.groupSlidesByDevice=function(){var e,n=this;n.desktopItems=[],n.tabletItems=[],n.mobileItems=[];var o=navigator.userAgent.indexOf("Trident")>-1||navigator.userAgent.indexOf("MSIE")>-1;n.$ul.find("li").each(function(){e=o?t(this).clone(!0,!0):t(this),t(this).data("desktop")&&n.desktopItems.push(e),t(this).data("tablet")&&n.tabletItems.push(e),t(this).data("mobile")&&n.mobileItems.push(e)})},e.prototype.makePauseSlideshowButton=function(){var e="",n="";this.options.auto?e='style="display:none"':n='style="display:none"';var o='<div class="wrap_pause-play"><div class="pause-slideshow" aria-label="icon pause" '+n+' title="Pause slideshow" tabindex="0"><span class="icon icon-pause"></span></div><div class="play-slideshow" aria-label="icon play" '+e+' title="Play slideshow" tabindex="0"><span class="icon icon-play"></span></div></div>';t("#slider").find(".bx-wrapper .bx-controls").prepend(o)},e.prototype.initializeClones=function(){var e,n=this;n.$element.find(".bx-clone").each(function(o){if((e=t(this).find("video")).attr("id",e.attr("id")+"_clone"),e.length){var s=t(e[0]).data("setupRun")?t(e[0]).data("setupRun"):t(e[0]).data("setup");void 0!=s.techOrder&&"vimeo"==s.techOrder[0]&&(s.controls=!1),void 0!=s.techOrder&&"youtube"==s.techOrder[0]&&(s.youtube={ytControls:2},s.controls=!1),videojs(e[0],s,function(){this.muted(!0),n.clones.push(this)})}})},e.prototype.hasClone=function(e){for(var n=0;n<this.clones.length;n++){var o=this.clones[n];if(t(o.el_).attr("id")==t(e.el_).attr("id")+"_clone")return o}return!1},e.prototype.showCaptionWhilePlay=function(e,n){var o=t("#"+e).parents(".slider__item").find("[data-vi
9dplay]"),s=o.data("vidplay");n&&(s=1),this.$element.find(o).css({opacity:s})},e.prototype.getDevice=function(){var t=window.innerWidth;return t<768?"mobile":t<1025?"tablet":"desktop"},e.DEFAULTS={video:!0,pager:!0,controls:!0,autoControls:!1,autoHoverModified:!1,autoHover:!1,auto:!0,infiniteLoop:!0,randomStart:!1,controlsHover:!1,responsive:!1,mode:"horizontal",speed:500,pause:4e3,autoDelay:0,easing:null,useCSS:!1,isEditor:!1},e.BOOLEANS=["pager","controls","autoControls","auto","infiniteLoop","randomStart","controlsHover","responsive","autoHoverModified"];var n=t.fn.Slider;t.fn.Slider=function(n){var o;return arguments,this.each(function(){var s=t(this),a=t.extend({},e.DEFAULTS,s.data(),"object"==typeof n&&n);if(s.data("bxslider",new e(this,a)),void 0!==o)return!1}),o||this},t.fn.Slider.Constructor=e,t.fn.Slider.noConflict=function(){return t.fn.Slider=n,this},t(function(){t('[data-control="slider"]').Slider()})}(window.jQuery),function(t){"use strict";function e(e){e.each(function(){t(this).find(".expander").each(function(){t(this).click(function(){"true"==t(this).attr("aria-expanded")?t(this).attr("aria-expanded","false"):t(this).attr("aria-expanded","true"),t(this).closest(".featuredblock__wrap").find("ul").slideToggle()})})})}t(document).ready(function(){t(".fbF_ShowMoreLess").click(function(){t(this).fadeOut(0).toggleClass("showMore").fadeIn(800),t(this).parent().find(".featuredblock.row").toggleClass("showMore")}),t(".featuredblock__description.nonPle p").addClass("featuredblock__description")}),t(window).load(function(){e(t(".featuredblocks-flyup-a")),e(t(".featuredblocks-flyup-b")),e(t(".featuredblocks-flyup-c"))})}(window.jQuery),function(t){"use strict";var e,n,o,s,a,r,l,h=!0,c="",d=0,u="",p=null,f="",m=!1,g={resize:1,click:1},_=!0,v=1,y="bodyOffset",b=y,x=!0,w="",P={},T=32,C=null,S=!1,k="[iFrameSizer]",M=k.length,z="",E={max:1,min:1,bodyScroll:1,documentElementScroll:1},I="child",A=!0,O=t.parent,B="*",Z=0,N=!1,j=null,D=16,R=1,H="scroll",W=H,F=t,q=function(){tt("MessageCallback function not defined")},U=function(){},V=function(){};function Q(e,n,o){"addEventListener"in t?e.addEventListener(n,o,!1):"attachEvent"in t&&e.attachEvent("on"+n,o)}function G(e,n,o){"removeEventListener"in t?e.removeEventListener(n,o,!1):"detachEvent"in t&&e.detachEvent("on"+n,o)}function K(t){return t.charAt(0).toUpperCase()+t.slice(1)}var Y=Date.now||function(){return new Date().getTime()};function X(t){return k+"["+z+"] "+t}function J(e){S&&"object"==typeof t.console&&console.log(X(e))}function tt(e){"object"==typeof t.console&&console.warn(X(e))}function te(t,e){void 0!==e&&""!==e&&"null"!==e&&(document.body.style[t]=e,J("Body "+t+' set to "'+e+'"'))}function ti(e){function n(){tv(e.eventName,e.eventType)}var o={add:function(e){Q(t,e,n)},remove:function(e){G(t,e,n)}};e.eventNames&&Array.prototype.map?(e.eventName=e.eventNames[0],e.eventNames.map(o[e.method])):o[e.method](e.eventName),J(K(e.method)+" event listener: "+e.eventType)}function tn(t){ti({method:t,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),ti({method:t,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),ti({method:t,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),ti({method:t,eventType:"Input",eventName:"input"}),ti({method:t,eventType:"Mouse Up",eventName:"mouseup"}),ti({method:t,eventType:"Mouse Down",eventName:"mousedown"}),ti({method:t,eventType:"Orientation Change",eventName:"orientationchange"}),ti({method:t,eventType:"Print",eventName:["afterprint","beforeprint"]}),ti({method:t,eventType:"Ready State Change",eventName:"readystatechange"}),ti({method:t,eventType:"Touch Start",eventName:"touchstart"}),ti({method:t,eventType:"Touch End",eventName:"touchend"}),ti({method:t,eventType:"Touch Cancel",eventName:"touchcancel"}),ti({method:t,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),ti({method:t,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),ti({method:t,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}
9),"child"===I&&ti({method:t,eventType:"IFrame Resized",eventName:"resize"})}function to(t,e,n,o){return e!==t&&(t in n||(tt(t+" is not a valid option for "+o+"CalculationMethod."),t=e),J(o+' calculation method set to "'+t+'"')),t}function ts(){b=to(b,y,tm,"height")}function ta(){W=to(W,H,tg,"width")}function tr(){var e;!0===h?(tn("add"),e=0>T,t.MutationObserver||t.WebKitMutationObserver?e?th():p=function(){function e(t){function e(t){!1===t.complete&&(J("Attach listeners to "+t.src),t.addEventListener("load",s,!1),t.addEventListener("error",a,!1),l.push(t))}"attributes"===t.type&&"src"===t.attributeName?e(t.target):"childList"===t.type&&Array.prototype.forEach.call(t.target.querySelectorAll("img"),e)}function n(t){J("Remove listeners from "+t.src),t.removeEventListener("load",s,!1),t.removeEventListener("error",a,!1),l.splice(l.indexOf(t),1)}function o(t,e,o){n(t.target),tv(e,o+": "+t.target.src,void 0,void 0)}function s(t){o(t,"imageLoad","Image loaded")}function a(t){o(t,"imageLoadFailed","Image load failed")}var r,l=[],h=t.MutationObserver||t.WebKitMutationObserver,c=(r=document.querySelector("body"),c=new h(function(t){tv("mutationObserver","mutationObserver: "+t[0].target+" "+t[0].type),t.forEach(e)}),J("Create body MutationObserver"),c.observe(r,{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(),l.forEach(n))}}}():(J("MutationObserver not supported in this browser!"),th())):J("Auto Resize disabled")}function tl(){tn("remove"),null!==p&&p.disconnect(),clearInterval(C)}function th(){0!==T&&(J("setInterval: "+T+"ms"),C=setInterval(function(){tv("interval","setInterval: "+T)},Math.abs(T)))}function tc(t,e){var n=0;return e=e||document.body,parseInt(n="defaultView"in document&&"getComputedStyle"in document.defaultView?null!==(n=document.defaultView.getComputedStyle(e,null))?n[t]:0:function(t){if(/^\d+(px)?$/i.test(t))return parseInt(t,10);var n=e.style.left,o=e.runtimeStyle.left;return e.runtimeStyle.left=e.currentStyle.left,e.style.left=t||0,t=e.style.pixelLeft,e.style.left=n,e.runtimeStyle.left=o,t}(e.currentStyle[t]),10)}function td(t,e){for(var n,o=e.length,s=0,a=0,r=K(t),l=Y(),h=0;h<o;h++)(s=e[h].getBoundingClientRect()[t]+tc("margin"+r,e[h]))>a&&(a=s);return l=Y()-l,J("Parsed "+o+" HTML elements"),J("Element position calculated in "+l+"ms"),(n=l)>D/2&&J("Event throttle increased to "+(D=2*n)+"ms"),a}function tu(t){return[t.bodyOffset(),t.bodyScroll(),t.documentElementOffset(),t.documentElementScroll()]}function tp(t,e){var n=document.querySelectorAll("["+e+"]");return 0===n.length?(tt("No tagged elements ("+e+") found on page"),v):td(t,n)}function tf(){return document.querySelectorAll("body *")}var tm={bodyOffset:function(){return document.body.offsetHeight+tc("marginTop")+tc("marginBottom")},offset:function(){return tm.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,tu(tm))},min:function(){return Math.min.apply(null,tu(tm))},grow:function(){return tm.max()},lowestElement:function(){return Math.max(tm.bodyOffset(),td("bottom",tf()))},taggedElement:function(){return tp("bottom","data-iframe-height")}},tg={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(tg.bodyScroll(),tg.documentElementScroll())},max:function(){return Math.max.apply(null,tu(tg))},min:function(){return Math.min.apply(null,tu(tg))},rightMostElement:function(){return td("right",tf())},taggedElement:function(){return tp("right","data-iframe-width")}},t_=(e=function(t,e,n,o){var s,a;(function(){function t(t,e){return!(Math.abs(t-e)<=Z)}return s=void 0!==n?n:tm[b](),a=void 0!==o?o:tg[W](),t(v,s)||m&&t(R,a)})()||"init"===t?(ty(),tw(v=s,R=a,t)):!(t in{init:1,interval:1,size:1})&&(b in E||m&&W in E)?tx(e):t in{interval:1}||J("No change in size detected")},a=null,r=0,l=function(){r=Y(),a=null,s=e.apply(n,o),a||(n=o=null)},function(){var t=Y();r||(r=t);var h=D-(t-r);return n=this,o=arguments,h<=0||h>D?(a&&(clearTimeout(a),a=null),r=t,s=e.apply(n,o),a||(n=o=null)):a||(a=setTimeout(l,h)),s});function tv(t,e,n,o){N&&t in g?J("Trigger event cancelled: "+t):(t in{reset:1,resetPage:1,init:1}||J("Trigger event: "+e),t_(t,e,n,o))}function ty(){N||(N=!0,J("Trigger event lock on")),clearTimeout(j),j=setTimeout(function(){N=!1,J("Trigger event lock off"),J("--")},128)}function tb(t){v=tm[b](),R=tg[W](),tw(v,R,t)}function tx(t){var e=b;
9b=y,J("Reset trigger event: "+t),ty(),tb("reset"),b=e}function tw(t,e,n,o,s){if(!0===A){var a;void 0===s?s=B:J("Message targetOrigin: "+s),J("Sending message to host page ("+(a=z+":"+t+":"+e+":"+n+(void 0!==o?":"+o:""))+")"),O.postMessage(k+a,s)}}Q(t,"message",function e(n){var o,s;function a(){return n.data.split("]")[1].split(":")[0]}function r(){return n.data.substr(n.data.indexOf(":")+1)}function l(){return n.data.split(":")[2]in{true:1,false:1}}k===(""+n.data).substr(0,M)&&(!1===_?function(){var e,o,s;switch(a()){case"reset":x?J("Page reset ignored by init"):(J("Page size reset by host page"),tb("resetPage"));break;case"resize":tv("resizeParent","Parent window requested size check");break;case"moveToAnchor":e=r(),P.findTarget(e);break;case"message":J("MessageCallback called from parent: "+(o=r())),q(JSON.parse(o)),J(" --");break;case"pageInfo":J("PageInfoFromParent called from parent: "+(s=r())),V(JSON.parse(s)),J(" --");break;default:"iFrameResize"in t||l()||tt("Unexpected message ("+n.data+")")}}():l()?(w=n.data,O=n.source,function(){function t(t){return"true"===t}var e=w.substr(M).split(":");z=e[0],d=void 0!==e[1]?Number(e[1]):d,m=void 0!==e[2]?t(e[2]):m,S=void 0!==e[3]?t(e[3]):S,T=void 0!==e[4]?Number(e[4]):T,h=void 0!==e[6]?t(e[6]):h,u=e[7],b=void 0!==e[8]?e[8]:b,c=e[9],f=e[10],Z=void 0!==e[11]?Number(e[11]):Z,P.enable=void 0!==e[12]&&t(e[12]),I=void 0!==e[13]?e[13]:I,W=void 0!==e[14]?e[14]:W}(),J("Initialising iFrame ("+location.href+")"),function(){if("iFrameResizer"in t&&Object===t.iFrameResizer.constructor){var e;J("Reading data from page: "+JSON.stringify(e=t.iFrameResizer)),q="messageCallback"in e?e.messageCallback:q,U="readyCallback"in e?e.readyCallback:U,B="targetOrigin"in e?e.targetOrigin:B,b="heightCalculationMethod"in e?e.heightCalculationMethod:b,W="widthCalculationMethod"in e?e.widthCalculationMethod:W}J("TargetOrigin for parent set to: "+B)}(),void 0===u&&(u=d+"px"),te("margin",(-1!==(o=u).indexOf("-")&&(tt("Negative CSS value ignored for margin"),o=""),o)),te("background",c),te("padding",f),(s=document.createElement("div")).style.clear="both",s.style.display="block",document.body.appendChild(s),ts(),ta(),document.documentElement.style.height="",document.body.style.height="",J('HTML & body height set to "auto"'),J("Enable public methods"),F.parentIFrame={autoResize:function(t){return!0===t&&!1===h?(h=!0,tr()):!1===t&&!0===h&&(h=!1,tl()),h},close:function(){tw(0,0,"close"),J("Disable outgoing messages"),A=!1,J("Remove event listener: Message"),G(t,"message",e),!0===h&&tl()},getId:function(){return z},getPageInfo:function(t){"function"==typeof t?(V=t,tw(0,0,"pageInfo")):(V=function(){},tw(0,0,"pageInfoStop"))},moveToAnchor:function(t){P.findTarget(t)},reset:function(){tx("parentIFrame.reset")},scrollTo:function(t,e){tw(e,t,"scrollTo")},scrollToOffset:function(t,e){tw(e,t,"scrollToOffset")},sendMessage:function(t,e){tw(0,0,"message",JSON.stringify(t),e)},setHeightCalculationMethod:function(t){b=t,ts()},setWidthCalculationMethod:function(t){W=t,ta()},setTargetOrigin:function(t){J("Set targetOrigin: "+t),B=t},size:function(t,e){tv("size","parentIFrame.size("+(t||"")+(e?","+e:"")+")",t,e)}},tr(),P=function(){function e(e){var n,o,s,a=e.split("#")[1]||e,r=decodeURIComponent(a),l=document.getElementById(r)||document.getElementsByName(r)[0];void 0!==l?(n=l.getBoundingClientRect(),o={x:void 0!==t.pageXOffset?t.pageXOffset:document.documentElement.scrollLeft,y:void 0!==t.pageYOffset?t.pageYOffset:document.documentElement.scrollTop},J("Moving to in page link (#"+a+") at x: "+(s={x:parseInt(n.left,10)+parseInt(o.x,10),y:parseInt(n.top,10)+parseInt(o.y,10)}).x+" y: "+s.y),tw(s.y,s.x,"scrollToOffset")):(J("In page link (#"+a+") not found in iFrame, so sending to parent"),tw(0,0,"inPageLink","#"+a))}function n(){""!==location.hash&&"#"!==location.hash&&e(location.href)}return P.enable?Array.prototype.forEach&&document.querySelectorAll?(J("Setting up location.hash handlers"),Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),function(t){"#"!==t.getAttribute("href")&&Q(t,"click",function(t){t.preventDefault(),e(this.getAttribute("href"))})}),Q(t,"hashchange",n),setTimeout(n,128)):tt("In page linking not fully supported in this browser! (See README.md for IE8 workaround)"):J("In page linking not enabled"),{findTarget:e}}(),tv("init","Init message from host page"),U(),_=!1,setTimeout(function(){x=!1},128)):J('Ignored message of type "'+a()+'". Received before initialization.'))}),"loading"!==document.readyState&&t.parent.postMessage("[iFrameResizerChild]Ready","*")}(window||{}),$(()=>{"use strict";let t=document.querySelectorAll("#shapePnl a"),e=({currentTarget:t})=>{let e=t.classList.item(0),n=t.parentElement.querySelectorAll(":scope > .selected");for(let t of n)t.classList.remove("selected");t.classList.add("selected");let o=document.querySelectorAll("#facePnl");for(let t of o)t.setAttribute("class",e);let s=document.querySelectorAll(`#infoPnl div.${e}`);for(let t of s)for(let e of t.parentElement.children)e.style.display=e===t?"block":"none"};for(let n of t)n.addEventListener("click",e);let n=document.querySelectorAll('#framePnl span[class*="frm"]'),o=({currentTarget:t})=>{let e=t.getAttribute("class"),n=document.querySelectorAll("#framePnl a.selected");for(let t of n)t.classList.remove("selected");t.parentElement.classList.add("selected");let o=document.querySelectorAll("#lrgFrame");for(let t of o)t.setAttribute("class",e)};for(let t of n)t.addEventListener("click",o);let s=1,a=document.querySelectorAll("ul#frameSets li").length,r=document.querySelectorAll("a.prvSet"),l=t=>{t.stopPropagation(),t.preventDefault();let e=$("ul#frameSets li");if(s>1){e.animate({left:"+=720px"},500),s-=1;return}e.animate({left:`-${(a-1)*720}px`},500),s=a};for(let t of r)t.addEventListener("click",l);let h=document.querySelectorAll("a.nxtSet"),c=t=>{t.stopPropagation(),t.preventDefault();let e=$("ul#frameSets li");if(s<a){e.animate({left:"-=720px"},500),s+=1;return}e.animate({left:"0px"},500),s=1};for(let t of h)t.addEventListener("click",c);let d=document.querySelectorAll("a.lnchFrmSlctr"),u=t=>{t.preventDefault(),t.stopPropagation(),$.fancybox({autoSize:!1,speedIn:600,speedOut:200,transitionIn:"elastic",type:"inline",href:"#frameSelector",width:"815",height:"508"})};for(let t of d)t.addEventListener("click",u);let p=document.querySelectorAll("button.lnch3dspine"),f=t=>{t.stopPropagation(),t.preventDefault(),$.fancybox({autoSize:!1,speedIn:600,speedOut:200,transitionIn:"elastic",type:"inline",href:"#frameSelector",width:"902",height:"833"})};for(let t of p)t.addEventListener("click",f);let m=document.querySelectorAll("button.lnchpetselector"),g=t=>{t.preventDefault(),t.stopPropagation(),$.fancybox({autoSize:!1,speedIn:600,speedOut:200,transitionIn:"elastic",type:"inline",href:"#frameSelector",width:"940",height:"750"})};for(let t of m)t.addEventListener("click",g)});var $,siteApp=siteApp||{};function disableLinks(t){$(t).each(function(){("#"===$(this).attr("href")||"javascript.void(0)"===$(this).attr("href"))&&$(this).click(function(t){t.preventDefault()})})}jQuery(function(){jQuery(".preview_iframe").height(jQuery(window).height()),siteApp.win=jQuery(window),siteApp.screenMedium=1199,siteApp.navHeader=jQuery("#navigation_header"),siteApp.initNavigation.init(),siteApp.featuredBlockEllipsis()}),jQuery(window).load(function(){siteApp.mmPanels=jQuery("#navigation_header .mm-panels"),siteApp.setNavigationTopOffset(),siteApp.moveC
9ontactsToNavigation(),siteApp.cloneHeaderNavComponentWrapper(),siteApp.setNavigationVisible(),siteApp.contactInfoHeadings(),!$(".wrap__slider").hasClass("text-only")&&$(".slider__image").length&&$(".slider__image").css("background-image").length&&!$(".slider__image--fixed").length&&$(".slider__image").each(function(){var t=$(this),e=t.css("background-image").replace(/(url\(|\)|'|")/gi,"");$(this).css("background-image","none"),t.prepend('<div class="slider__image--fixed" style="background-image: url('+e+')">')})}),siteApp.contactInfoHeadings=function(){var t,e,n,o;t=jQuery,n=".component__title-caption-wrap",(o=t(e=".wrap__contact-info")).length&&(o.sameHeight({elements:n,useMinHeight:!0,flexible:!0,multiLine:!0}),o.find(".map__display").setSpacing({takeSizeFrom:e+" .map "+n,takeSize:"height",spacingProp:"top"}))},siteApp.featuredBlockEllipsis=function(){!function(t){t(".featuredblock__description").each(function(){var e=t(this),n="featuredblock__link";e.parent("."+n).addClass(n+"--description"),e.dotdotdot({tolerance:10,watch:!0,ellipsis:"..."})})}(jQuery)},$=jQuery,siteApp.initNavigation={options:{hasChildName:".has-child",itemLevelPrefix:"navigation__item--level-"},init:function(){this.findElements(),this.navStart(),this.setItemsLevelClass(),this.navHide()},findElements:function(){this.nav=siteApp.navHeader,this.hasChildItems=this.nav.find(this.options.hasChildName)},navStart:function(){this.nav.mmenu({extensions:["widescreen","multiline","border-none"],slidingSubmenus:!1,offCanvas:{zposition:"next"},navbar:{title:!1},navbars:[{position:"top",content:["close"]}]})},setItemsLevelClass:function(){var t=this;this.hasChildItems.each(function(e,n){var o=$(n),s=o.parents(t.options.hasChildName).length+1;o.addClass(t.options.itemLevelPrefix+s)})},navHide:function(){this.nav.hide()}},siteApp.cloneHeaderNavComponentWrapper=function(){!function(t){var e,n='[data-component-name="navigation_header"]',o=t(n),s=siteApp.navHeader,a=siteApp.mmPanels,r=siteApp.screenMedium,l=siteApp.win;function h(){window.innerWidth>r?e.css({top:a.css("top")}):e.css({top:""})}s.wrap(o),(e=s.parent(n)).addClass("nav-wrapper"),h(),l.on("resize orientationchange",h)}(jQuery)},siteApp.setNavigationTopOffset=function(){!function(t){var e=t(".wrap__logoHeader"),n=siteApp.mmPanels,o=siteApp.screenMedium,s=siteApp.win;function a(){window.innerWidth>o?n.css({top:e.outerHeight()}):n.css({top:""})}a(),s.on("resize orientationchange",a)}(jQuery)},siteApp.setNavigationVisible=function(){jQuery,(0,siteApp.navHeader).css({opacity:1}).fadeIn(700)},siteApp.moveContactsToNavigation=function(){var t,e;t=jQuery(".js-move-contacts"),e=siteApp.mmPanels.find("> .mm-panel"),t.length&&e.length&&(t.appendTo(e),t.on("click",function(t){t.stopPropagation()}))},$(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.